@everymatrix/casino-header-controller 1.65.0 → 1.65.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/components/{CasinoHamburgerMenu-B1dY3jHB.js → CasinoHamburgerMenu-BMkeLxFw.js} +907 -886
  2. package/components/{CasinoHamburgerMenu-pBvrxlJy.js → CasinoHamburgerMenu-CTVc2-UF.js} +851 -830
  3. package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +21 -0
  4. package/components/{CasinoHeaderController-DOdeXoey.js → CasinoHeaderController-Bqi_UEZi.js} +88 -88
  5. package/components/{CasinoHeaderController-Bn2AwIyI.js → CasinoHeaderController-CvgFMlA6.js} +90 -90
  6. package/components/{CasinoHeaderController-B0cFJgaJ.cjs → CasinoHeaderController-DNNqI5-z.cjs} +1 -1
  7. package/components/{CasinoSlider-CKGPxibK.js → CasinoSlider-CTcAOyCp.js} +57 -57
  8. package/components/{CasinoSlider-BEx_hpVM.js → CasinoSlider-Deb0x84t.js} +88 -88
  9. package/components/{CasinoSlider-CL_Uac-c.cjs → CasinoSlider-DqTtsMWh.cjs} +1 -1
  10. package/components/PlayerAccountBalanceModal-BFDpI9Sy.cjs +13 -0
  11. package/components/PlayerAccountBalanceModal-CNXuqjqU.js +1539 -0
  12. package/components/PlayerAccountBalanceModal-DbULiu-f.js +1510 -0
  13. package/components/PlayerDeposit-BXwT7NVp.cjs +1 -0
  14. package/components/{PlayerDeposit-Byf7G3yu.js → PlayerDeposit-BZuTQSyp.js} +72 -72
  15. package/components/{PlayerDeposit-C-Fbg92q.js → PlayerDeposit-eY_YGhMJ.js} +72 -72
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{gamification-dropdown-8eb8a896-DsjvIRRh.js → gamification-dropdown-8eb8a896-B80HjrXs.js} +1 -1
  21. package/stencil/{gamification-dropdown-8eb8a896-CxTBD8Oq.js → gamification-dropdown-8eb8a896-Dpy7kYRl.js} +1 -1
  22. package/stencil/{gamification-dropdown-8eb8a896-BXV0d81L.cjs → gamification-dropdown-8eb8a896-wUq7QkNM.cjs} +1 -1
  23. package/stencil/{gamification-dropdown-DG0vAJtO.js → gamification-dropdown-BKLERBkj.js} +1 -1
  24. package/stencil/{gamification-dropdown-C_xYxEL8.js → gamification-dropdown-Ctny0vqq.js} +1 -1
  25. package/stencil/{gamification-dropdown-DUk8bbFT.cjs → gamification-dropdown-DoTceze_.cjs} +1 -1
  26. package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +192 -0
  27. package/stencil/{gamification-dropdown_4-zImC9hF9.js → gamification-dropdown_4-CcWOoutw.js} +4 -4
  28. package/stencil/{gamification-dropdown_4-Be_N4EeF.js → gamification-dropdown_4-CmDM3hBS.js} +4 -4
  29. package/stencil/index-1ef3a64c-AMSfdX4B.js +556 -0
  30. package/stencil/index-1ef3a64c-BlUWL6ud.cjs +1 -0
  31. package/stencil/index-1ef3a64c-CTdxbgr0.js +572 -0
  32. package/stencil/index-71b1bdfa-BWeAgaw2.js +753 -0
  33. package/stencil/index-71b1bdfa-BeszNvNP.cjs +1 -0
  34. package/stencil/{index-71b1bdfa-Dm7yvsrK.js → index-71b1bdfa-DBUT8z-D.js} +264 -268
  35. package/stencil/{player-elevate-card-DL6XwNnq.js → player-elevate-card-B70rn287.js} +2 -2
  36. package/stencil/{player-elevate-card-Cmxvkrge.js → player-elevate-card-DqZR4w--.js} +2 -2
  37. package/stencil/{player-elevate-card-C6V7VROS.cjs → player-elevate-card-W6LcGGe8.cjs} +1 -1
  38. package/stencil/{player-elevate-card-items-66be34fb-BUkxBwF8.js → player-elevate-card-items-66be34fb-D7zHppoa.js} +11 -13
  39. package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +1 -0
  40. package/stencil/{player-elevate-card-items-66be34fb-BjQeJ-p9.js → player-elevate-card-items-66be34fb-aPLlnN0e.js} +11 -13
  41. package/stencil/{player-elevate-pointcard-dDiPwAiV.js → player-elevate-pointcard-CBapQeNI.js} +2 -2
  42. package/stencil/{player-elevate-pointcard-DYOUbwi3.js → player-elevate-pointcard-DREgIjCm.js} +2 -2
  43. package/stencil/{player-elevate-pointcard-CbCIvh8I.cjs → player-elevate-pointcard-DwDhlXwq.cjs} +1 -1
  44. package/stencil/{player-rakeback-card-BMHeEc3P.cjs → player-rakeback-card-B0P7gHIA.cjs} +1 -1
  45. package/stencil/{player-rakeback-card-CxD8OOP-.js → player-rakeback-card-tP823Fs8.js} +1 -1
  46. package/stencil/{player-rakeback-card-CixEJCwY.js → player-rakeback-card-z_ugBu0q.js} +1 -1
  47. package/stencil/{user-deposit-withdrawal-Ck524nr-.cjs → user-deposit-withdrawal-BRpNiBnR.cjs} +1 -1
  48. package/stencil/{user-deposit-withdrawal-CXMt1MVo.js → user-deposit-withdrawal-Dy3WkB23.js} +1 -1
  49. package/stencil/{user-deposit-withdrawal-DU6VQt9M.js → user-deposit-withdrawal-c_bH3eje.js} +1 -1
  50. package/components/CasinoHamburgerMenu-CaFkIr3d.cjs +0 -21
  51. package/components/PlayerAccountBalanceModal-BKMugmnm.js +0 -1539
  52. package/components/PlayerAccountBalanceModal-CK68FRSV.js +0 -1510
  53. package/components/PlayerAccountBalanceModal-iP2HDeoz.cjs +0 -13
  54. package/components/PlayerDeposit-BsUiL_LS.cjs +0 -1
  55. package/stencil/gamification-dropdown_4-DuMaGjcI.cjs +0 -192
  56. package/stencil/index-1ef3a64c-C31PLQx3.js +0 -572
  57. package/stencil/index-1ef3a64c-CkoGfMtU.cjs +0 -1
  58. package/stencil/index-1ef3a64c-WzZ9mlMM.js +0 -556
  59. package/stencil/index-71b1bdfa-DzyepuUf.js +0 -757
  60. package/stencil/index-71b1bdfa-urw3SgKF.cjs +0 -1
  61. package/stencil/player-elevate-card-items-66be34fb-DeUY02M2.cjs +0 -1
@@ -1,6 +1,6 @@
1
- function D() {
1
+ function $() {
2
2
  }
3
- const xr = (e) => e;
3
+ const Er = (e) => e;
4
4
  function En(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
@@ -9,24 +9,24 @@ function En(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function Er(e) {
12
+ function wr(e) {
13
13
  return e();
14
14
  }
15
- function Lt() {
15
+ function Ct() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function z(e) {
19
- e.forEach(Er);
18
+ function Z(e) {
19
+ e.forEach(wr);
20
20
  }
21
- function Te(e) {
21
+ function He(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function wr(e, t) {
24
+ function Sr(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let Ae;
27
+ let Be;
28
28
  function Y(e, t) {
29
- return e === t ? !0 : (Ae || (Ae = document.createElement("a")), Ae.href = t, e === Ae.href);
29
+ return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
30
30
  }
31
31
  function wn(e) {
32
32
  return Object.keys(e).length === 0;
@@ -35,21 +35,21 @@ function Hr(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return D;
38
+ return $;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Hn(e, t, r) {
43
+ function Sn(e, t, r) {
44
44
  e.$$.on_destroy.push(Hr(t, r));
45
45
  }
46
- function Sn(e, t, r, n) {
46
+ function Hn(e, t, r, n) {
47
47
  if (e) {
48
- const i = Sr(e, t, r, n);
48
+ const i = Tr(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Sr(e, t, r, n) {
52
+ function Tr(e, t, r, n) {
53
53
  return e[1] && n ? En(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function Tn(e, t, r, n) {
@@ -69,11 +69,11 @@ function Tn(e, t, r, n) {
69
69
  }
70
70
  function Mn(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const s = Sr(t, r, n, o);
72
+ const s = Tr(t, r, n, o);
73
73
  e.p(s, i);
74
74
  }
75
75
  }
76
- function Bn(e) {
76
+ function An(e) {
77
77
  if (e.ctx.length > 32) {
78
78
  const t = [], r = e.ctx.length / 32;
79
79
  for (let n = 0; n < r; n++)
@@ -82,20 +82,20 @@ function Bn(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function ys(e) {
86
- return e && Te(e.destroy) ? e.destroy : D;
85
+ function _s(e) {
86
+ return e && He(e.destroy) ? e.destroy : $;
87
87
  }
88
- const Tr = typeof window < "u";
89
- let An = Tr ? () => window.performance.now() : () => Date.now(), _t = Tr ? (e) => requestAnimationFrame(e) : D;
88
+ const Mr = typeof window < "u";
89
+ let Bn = Mr ? () => window.performance.now() : () => Date.now(), wt = Mr ? (e) => requestAnimationFrame(e) : $;
90
90
  const ae = /* @__PURE__ */ new Set();
91
- function Mr(e) {
91
+ function Ar(e) {
92
92
  ae.forEach((t) => {
93
93
  t.c(e) || (ae.delete(t), t.f());
94
- }), ae.size !== 0 && _t(Mr);
94
+ }), ae.size !== 0 && wt(Ar);
95
95
  }
96
96
  function Pn(e) {
97
97
  let t;
98
- return ae.size === 0 && _t(Mr), {
98
+ return ae.size === 0 && wt(Ar), {
99
99
  promise: new Promise((r) => {
100
100
  ae.add(t = { c: e, f: r });
101
101
  }),
@@ -107,14 +107,14 @@ function Pn(e) {
107
107
  function x(e, t) {
108
108
  e.appendChild(t);
109
109
  }
110
- function In(e, t, r) {
111
- const n = vt(e);
110
+ function On(e, t, r) {
111
+ const n = St(e);
112
112
  if (!n.getElementById(t)) {
113
- const i = P("style");
113
+ const i = B("style");
114
114
  i.id = t, i.textContent = r, Br(n, i);
115
115
  }
116
116
  }
117
- function vt(e) {
117
+ function St(e) {
118
118
  if (!e)
119
119
  return document;
120
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -124,9 +124,9 @@ function vt(e) {
124
124
  t
125
125
  ) : e.ownerDocument;
126
126
  }
127
- function On(e) {
128
- const t = P("style");
129
- return t.textContent = "/* empty */", Br(vt(e), t), t.sheet;
127
+ function In(e) {
128
+ const t = B("style");
129
+ return t.textContent = "/* empty */", Br(St(e), t), t.sheet;
130
130
  }
131
131
  function Br(e, t) {
132
132
  return x(
@@ -145,7 +145,7 @@ function Fe(e, t) {
145
145
  for (let r = 0; r < e.length; r += 1)
146
146
  e[r] && e[r].d(t);
147
147
  }
148
- function P(e) {
148
+ function B(e) {
149
149
  return document.createElement(e);
150
150
  }
151
151
  function ee(e) {
@@ -154,10 +154,10 @@ function ee(e) {
154
154
  function K(e) {
155
155
  return document.createTextNode(e);
156
156
  }
157
- function $() {
157
+ function D() {
158
158
  return K(" ");
159
159
  }
160
- function _s() {
160
+ function vs() {
161
161
  return K("");
162
162
  }
163
163
  function te(e, t, r, n) {
@@ -166,24 +166,24 @@ function te(e, t, r, n) {
166
166
  function g(e, t, r) {
167
167
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
168
168
  }
169
- function vs(e, t, r) {
169
+ function xs(e, t, r) {
170
170
  const n = t.toLowerCase();
171
171
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
172
172
  }
173
173
  function Ln(e) {
174
174
  return Array.from(e.childNodes);
175
175
  }
176
- function ge(e, t) {
176
+ function pe(e, t) {
177
177
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
178
178
  t);
179
179
  }
180
- function Ct(e, t) {
180
+ function Nt(e, t) {
181
181
  e.value = t ?? "";
182
182
  }
183
- function xs(e, t, r, n) {
183
+ function Es(e, t, r, n) {
184
184
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
185
185
  }
186
- function Nt(e, t, r) {
186
+ function Rt(e, t, r) {
187
187
  for (let n = 0; n < e.options.length; n += 1) {
188
188
  const i = e.options[n];
189
189
  if (i.__value === t) {
@@ -210,7 +210,7 @@ function Rn(e) {
210
210
  ), t;
211
211
  }
212
212
  const Ue = /* @__PURE__ */ new Map();
213
- let De = 0;
213
+ let $e = 0;
214
214
  function Fn(e) {
215
215
  let t = 5381, r = e.length;
216
216
  for (; r--; )
@@ -218,10 +218,10 @@ function Fn(e) {
218
218
  return t >>> 0;
219
219
  }
220
220
  function Un(e, t) {
221
- const r = { stylesheet: On(t), rules: {} };
221
+ const r = { stylesheet: In(t), rules: {} };
222
222
  return Ue.set(e, r), r;
223
223
  }
224
- function Rt(e, t, r, n, i, o, s, a = 0) {
224
+ function Ft(e, t, r, n, i, o, s, a = 0) {
225
225
  const u = 16.666 / n;
226
226
  let l = `{
227
227
  `;
@@ -231,126 +231,126 @@ function Rt(e, t, r, n, i, o, s, a = 0) {
231
231
  `;
232
232
  }
233
233
  const h = l + `100% {${s(r, 1 - r)}}
234
- }`, f = `__svelte_${Fn(h)}_${a}`, c = vt(e), { stylesheet: d, rules: m } = Ue.get(c) || Un(c, e);
234
+ }`, f = `__svelte_${Fn(h)}_${a}`, c = St(e), { stylesheet: d, rules: m } = Ue.get(c) || Un(c, e);
235
235
  m[f] || (m[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
236
236
  const b = e.style.animation || "";
237
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, De += 1, f;
237
+ return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, $e += 1, f;
238
238
  }
239
- function Dn(e, t) {
239
+ function $n(e, t) {
240
240
  const r = (e.style.animation || "").split(", "), n = r.filter(
241
241
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
242
242
  // remove all Svelte animations
243
243
  ), i = r.length - n.length;
244
- i && (e.style.animation = n.join(", "), De -= i, De || $n());
244
+ i && (e.style.animation = n.join(", "), $e -= i, $e || Dn());
245
245
  }
246
- function $n() {
247
- _t(() => {
248
- De || (Ue.forEach((e) => {
246
+ function Dn() {
247
+ wt(() => {
248
+ $e || (Ue.forEach((e) => {
249
249
  const { ownerNode: t } = e.stylesheet;
250
250
  t && U(t);
251
251
  }), Ue.clear());
252
252
  });
253
253
  }
254
- let we;
255
- function Ee(e) {
256
- we = e;
254
+ let Ee;
255
+ function xe(e) {
256
+ Ee = e;
257
257
  }
258
258
  function Gn() {
259
- if (!we)
259
+ if (!Ee)
260
260
  throw new Error("Function called outside component initialization");
261
- return we;
261
+ return Ee;
262
262
  }
263
263
  function kn(e) {
264
264
  Gn().$$.on_mount.push(e);
265
265
  }
266
- const se = [], $e = [];
266
+ const se = [], De = [];
267
267
  let ue = [];
268
- const Ft = [], jn = /* @__PURE__ */ Promise.resolve();
269
- let it = !1;
268
+ const Ut = [], jn = /* @__PURE__ */ Promise.resolve();
269
+ let st = !1;
270
270
  function Vn() {
271
- it || (it = !0, jn.then(G));
271
+ st || (st = !0, jn.then(G));
272
272
  }
273
- function ce(e) {
273
+ function he(e) {
274
274
  ue.push(e);
275
275
  }
276
- const qe = /* @__PURE__ */ new Set();
276
+ const Je = /* @__PURE__ */ new Set();
277
277
  let ie = 0;
278
278
  function G() {
279
279
  if (ie !== 0)
280
280
  return;
281
- const e = we;
281
+ const e = Ee;
282
282
  do {
283
283
  try {
284
284
  for (; ie < se.length; ) {
285
285
  const t = se[ie];
286
- ie++, Ee(t), Wn(t.$$);
286
+ ie++, xe(t), Wn(t.$$);
287
287
  }
288
288
  } catch (t) {
289
289
  throw se.length = 0, ie = 0, t;
290
290
  }
291
- for (Ee(null), se.length = 0, ie = 0; $e.length; )
292
- $e.pop()();
291
+ for (xe(null), se.length = 0, ie = 0; De.length; )
292
+ De.pop()();
293
293
  for (let t = 0; t < ue.length; t += 1) {
294
294
  const r = ue[t];
295
- qe.has(r) || (qe.add(r), r());
295
+ Je.has(r) || (Je.add(r), r());
296
296
  }
297
297
  ue.length = 0;
298
298
  } while (se.length);
299
- for (; Ft.length; )
300
- Ft.pop()();
301
- it = !1, qe.clear(), Ee(e);
299
+ for (; Ut.length; )
300
+ Ut.pop()();
301
+ st = !1, Je.clear(), xe(e);
302
302
  }
303
303
  function Wn(e) {
304
304
  if (e.fragment !== null) {
305
- e.update(), z(e.before_update);
305
+ e.update(), Z(e.before_update);
306
306
  const t = e.dirty;
307
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ce);
307
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
308
308
  }
309
309
  }
310
310
  function Xn(e) {
311
311
  const t = [], r = [];
312
312
  ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
313
313
  }
314
- let ve;
314
+ let _e;
315
315
  function zn() {
316
- return ve || (ve = Promise.resolve(), ve.then(() => {
317
- ve = null;
318
- })), ve;
316
+ return _e || (_e = Promise.resolve(), _e.then(() => {
317
+ _e = null;
318
+ })), _e;
319
319
  }
320
- function Qe(e, t, r) {
320
+ function Ye(e, t, r) {
321
321
  e.dispatchEvent(Nn(`${t ? "intro" : "outro"}${r}`));
322
322
  }
323
- const Oe = /* @__PURE__ */ new Set();
324
- let W;
323
+ const Ie = /* @__PURE__ */ new Set();
324
+ let X;
325
325
  function Zn() {
326
- W = {
326
+ X = {
327
327
  r: 0,
328
328
  c: [],
329
- p: W
329
+ p: X
330
330
  // parent group
331
331
  };
332
332
  }
333
333
  function qn() {
334
- W.r || z(W.c), W = W.p;
334
+ X.r || Z(X.c), X = X.p;
335
335
  }
336
336
  function le(e, t) {
337
- e && e.i && (Oe.delete(e), e.i(t));
337
+ e && e.i && (Ie.delete(e), e.i(t));
338
338
  }
339
- function ot(e, t, r, n) {
339
+ function at(e, t, r, n) {
340
340
  if (e && e.o) {
341
- if (Oe.has(e))
341
+ if (Ie.has(e))
342
342
  return;
343
- Oe.add(e), W.c.push(() => {
344
- Oe.delete(e), n && (r && e.d(1), n());
343
+ Ie.add(e), X.c.push(() => {
344
+ Ie.delete(e), n && (r && e.d(1), n());
345
345
  }), e.o(t);
346
346
  } else
347
347
  n && n();
348
348
  }
349
349
  const Qn = { duration: 0 };
350
- function Ut(e, t, r, n) {
350
+ function $t(e, t, r, n) {
351
351
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
352
352
  function f() {
353
- l && Dn(e, l);
353
+ l && $n(e, l);
354
354
  }
355
355
  function c(m, b) {
356
356
  const w = (
@@ -371,16 +371,16 @@ function Ut(e, t, r, n) {
371
371
  const {
372
372
  delay: b = 0,
373
373
  duration: w = 300,
374
- easing: O = xr,
375
- tick: I = D,
376
- css: S
377
- } = o || Qn, L = {
378
- start: An() + b,
374
+ easing: O = Er,
375
+ tick: P = $,
376
+ css: H
377
+ } = o || Qn, I = {
378
+ start: Bn() + b,
379
379
  b: m
380
380
  };
381
- m || (L.group = W, W.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
382
- e.inert, e.inert = !0)), a || u ? u = L : (S && (f(), l = Rt(e, s, m, w, b, O, S)), m && I(0, 1), a = c(L, w), ce(() => Qe(e, m, "start")), Pn((y) => {
383
- if (u && y > u.start && (a = c(u, w), u = null, Qe(e, a.b, "start"), S && (f(), l = Rt(
381
+ m || (I.group = X, X.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
382
+ e.inert, e.inert = !0)), a || u ? u = I : (H && (f(), l = Ft(e, s, m, w, b, O, H)), m && P(0, 1), a = c(I, w), he(() => Ye(e, m, "start")), Pn((y) => {
383
+ if (u && y > u.start && (a = c(u, w), u = null, Ye(e, a.b, "start"), H && (f(), l = Ft(
384
384
  e,
385
385
  s,
386
386
  a.b,
@@ -390,10 +390,10 @@ function Ut(e, t, r, n) {
390
390
  o.css
391
391
  ))), a) {
392
392
  if (y >= a.end)
393
- I(s = a.b, 1 - s), Qe(e, a.b, "end"), u || (a.b ? f() : --a.group.r || z(a.group.c)), a = null;
393
+ P(s = a.b, 1 - s), Ye(e, a.b, "end"), u || (a.b ? f() : --a.group.r || Z(a.group.c)), a = null;
394
394
  else if (y >= a.start) {
395
395
  const M = y - a.start;
396
- s = a.a + a.d * O(M / a.duration), I(s, 1 - s);
396
+ s = a.a + a.d * O(M / a.duration), P(s, 1 - s);
397
397
  }
398
398
  }
399
399
  return !!(a || u);
@@ -401,7 +401,7 @@ function Ut(e, t, r, n) {
401
401
  }
402
402
  return {
403
403
  run(m) {
404
- Te(o) ? zn().then(() => {
404
+ He(o) ? zn().then(() => {
405
405
  o = o({ direction: m ? "in" : "out" }), d(m);
406
406
  }) : d(m);
407
407
  },
@@ -413,27 +413,27 @@ function Ut(e, t, r, n) {
413
413
  function Q(e) {
414
414
  return e?.length !== void 0 ? e : Array.from(e);
415
415
  }
416
- function Es(e, t) {
416
+ function ws(e, t) {
417
417
  e.d(1), t.delete(e.key);
418
418
  }
419
- function ws(e, t, r, n, i, o, s, a, u, l, h, f) {
419
+ function Ss(e, t, r, n, i, o, s, a, u, l, h, f) {
420
420
  let c = e.length, d = o.length, m = c;
421
421
  const b = {};
422
422
  for (; m--; )
423
423
  b[e[m].key] = m;
424
- const w = [], O = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), S = [];
424
+ const w = [], O = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), H = [];
425
425
  for (m = d; m--; ) {
426
426
  const _ = f(i, o, m), A = r(_);
427
427
  let v = s.get(A);
428
- v ? S.push(() => v.p(_, t)) : (v = l(A, _), v.c()), O.set(A, w[m] = v), A in b && I.set(A, Math.abs(m - b[A]));
428
+ v ? H.push(() => v.p(_, t)) : (v = l(A, _), v.c()), O.set(A, w[m] = v), A in b && P.set(A, Math.abs(m - b[A]));
429
429
  }
430
- const L = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
430
+ const I = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
431
431
  function M(_) {
432
432
  le(_, 1), _.m(a, h), s.set(_.key, _), h = _.first, d--;
433
433
  }
434
434
  for (; c && d; ) {
435
- const _ = w[d - 1], A = e[c - 1], v = _.key, C = A.key;
436
- _ === A ? (h = _.first, c--, d--) : O.has(C) ? !s.has(v) || L.has(v) ? M(_) : y.has(C) ? c-- : I.get(v) > I.get(C) ? (y.add(v), M(_)) : (L.add(C), c--) : (u(A, s), c--);
435
+ const _ = w[d - 1], A = e[c - 1], v = _.key, L = A.key;
436
+ _ === A ? (h = _.first, c--, d--) : O.has(L) ? !s.has(v) || I.has(v) ? M(_) : y.has(L) ? c-- : P.get(v) > P.get(L) ? (y.add(v), M(_)) : (I.add(L), c--) : (u(A, s), c--);
437
437
  }
438
438
  for (; c--; ) {
439
439
  const _ = e[c];
@@ -441,33 +441,33 @@ function ws(e, t, r, n, i, o, s, a, u, l, h, f) {
441
441
  }
442
442
  for (; d; )
443
443
  M(w[d - 1]);
444
- return z(S), w;
444
+ return Z(H), w;
445
445
  }
446
446
  function Jn(e, t, r) {
447
447
  const { fragment: n, after_update: i } = e.$$;
448
- n && n.m(t, r), ce(() => {
449
- const o = e.$$.on_mount.map(Er).filter(Te);
450
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
451
- }), i.forEach(ce);
448
+ n && n.m(t, r), he(() => {
449
+ const o = e.$$.on_mount.map(wr).filter(He);
450
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
451
+ }), i.forEach(he);
452
452
  }
453
453
  function Yn(e, t) {
454
454
  const r = e.$$;
455
- r.fragment !== null && (Xn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
455
+ r.fragment !== null && (Xn(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
456
456
  }
457
457
  function Kn(e, t) {
458
458
  e.$$.dirty[0] === -1 && (se.push(e), Vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
459
459
  }
460
460
  function ei(e, t, r, n, i, o, s = null, a = [-1]) {
461
- const u = we;
462
- Ee(e);
461
+ const u = Ee;
462
+ xe(e);
463
463
  const l = e.$$ = {
464
464
  fragment: null,
465
465
  ctx: [],
466
466
  // state
467
467
  props: o,
468
- update: D,
468
+ update: $,
469
469
  not_equal: i,
470
- bound: Lt(),
470
+ bound: Ct(),
471
471
  // lifecycle
472
472
  on_mount: [],
473
473
  on_destroy: [],
@@ -476,7 +476,7 @@ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
476
476
  after_update: [],
477
477
  context: new Map(t.context || (u ? u.$$.context : [])),
478
478
  // everything else
479
- callbacks: Lt(),
479
+ callbacks: Ct(),
480
480
  dirty: a,
481
481
  skip_bound: !1,
482
482
  root: t.target || u.$$.root
@@ -486,7 +486,7 @@ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
486
486
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
487
487
  const m = d.length ? d[0] : c;
488
488
  return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), h && Kn(e, f)), c;
489
- }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
489
+ }) : [], l.update(), h = !0, Z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
490
490
  if (t.hydrate) {
491
491
  const f = Ln(t.target);
492
492
  l.fragment && l.fragment.l(f), f.forEach(U);
@@ -494,10 +494,10 @@ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
494
494
  l.fragment && l.fragment.c();
495
495
  t.intro && le(e.$$.fragment), Jn(e, t.target, t.anchor), G();
496
496
  }
497
- Ee(u);
497
+ xe(u);
498
498
  }
499
- let Ar;
500
- typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
499
+ let Pr;
500
+ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
501
501
  /** The Svelte component constructor */
502
502
  $$ctor;
503
503
  /** Slots */
@@ -539,7 +539,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
539
539
  let o;
540
540
  return {
541
541
  c: function() {
542
- o = P("slot"), i !== "default" && g(o, "name", i);
542
+ o = B("slot"), i !== "default" && g(o, "name", i);
543
543
  },
544
544
  /**
545
545
  * @param {HTMLElement} target
@@ -644,7 +644,7 @@ function Le(e, t, r, n) {
644
644
  }
645
645
  }
646
646
  function ti(e, t, r, n, i, o) {
647
- let s = class extends Ar {
647
+ let s = class extends Pr {
648
648
  constructor() {
649
649
  super(e, r, i), this.$$p_d = t;
650
650
  }
@@ -691,7 +691,7 @@ class ri {
691
691
  $$set = void 0;
692
692
  /** @returns {void} */
693
693
  $destroy() {
694
- Yn(this, 1), this.$destroy = D;
694
+ Yn(this, 1), this.$destroy = $;
695
695
  }
696
696
  /**
697
697
  * @template {Extract<keyof Events, string>} K
@@ -700,8 +700,8 @@ class ri {
700
700
  * @returns {() => void}
701
701
  */
702
702
  $on(t, r) {
703
- if (!Te(r))
704
- return D;
703
+ if (!He(r))
704
+ return $;
705
705
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
706
706
  return n.push(r), () => {
707
707
  const i = n.indexOf(r);
@@ -732,43 +732,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
732
732
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
733
733
  PERFORMANCE OF THIS SOFTWARE.
734
734
  ***************************************************************************** */
735
- var st = function(e, t) {
736
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
735
+ var ut = function(e, t) {
736
+ return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
737
737
  r.__proto__ = n;
738
738
  } || function(r, n) {
739
739
  for (var i in n)
740
740
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
741
- }, st(e, t);
741
+ }, ut(e, t);
742
742
  };
743
- function Z(e, t) {
743
+ function Te(e, t) {
744
744
  if (typeof t != "function" && t !== null)
745
745
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
746
- st(e, t);
746
+ ut(e, t);
747
747
  function r() {
748
748
  this.constructor = e;
749
749
  }
750
750
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
751
751
  }
752
- var B = function() {
753
- return B = Object.assign || function(t) {
754
- for (var r, n = 1, i = arguments.length; n < i; n++) {
755
- r = arguments[n];
756
- for (var o in r)
757
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
758
- }
759
- return t;
760
- }, B.apply(this, arguments);
761
- };
762
- function ii(e, t) {
763
- var r = {};
764
- for (var n in e)
765
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
766
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
767
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
768
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
769
- return r;
770
- }
771
- function at(e) {
752
+ function lt(e) {
772
753
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
773
754
  if (r)
774
755
  return r.call(e);
@@ -780,7 +761,7 @@ function at(e) {
780
761
  };
781
762
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
782
763
  }
783
- function ut(e, t) {
764
+ function ht(e, t) {
784
765
  var r = typeof Symbol == "function" && e[Symbol.iterator];
785
766
  if (!r)
786
767
  return e;
@@ -800,22 +781,22 @@ function ut(e, t) {
800
781
  }
801
782
  return o;
802
783
  }
803
- function he(e, t, r) {
804
- if (r || arguments.length === 2)
784
+ function ct(e, t, r) {
785
+ if (arguments.length === 2)
805
786
  for (var n = 0, i = t.length, o; n < i; n++)
806
787
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
807
788
  return e.concat(o || t);
808
789
  }
809
- function X(e) {
790
+ function z(e) {
810
791
  return typeof e == "function";
811
792
  }
812
- function Pr(e) {
793
+ function Or(e) {
813
794
  var t = function(n) {
814
795
  Error.call(n), n.stack = new Error().stack;
815
796
  }, r = e(t);
816
797
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
817
798
  }
818
- var Je = Pr(function(e) {
799
+ var Ke = Or(function(e) {
819
800
  return function(r) {
820
801
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
821
802
  ` + r.map(function(n, i) {
@@ -824,13 +805,13 @@ var Je = Pr(function(e) {
824
805
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
825
806
  };
826
807
  });
827
- function lt(e, t) {
808
+ function ft(e, t) {
828
809
  if (e) {
829
810
  var r = e.indexOf(t);
830
811
  0 <= r && e.splice(r, 1);
831
812
  }
832
813
  }
833
- var je = function() {
814
+ var Ve = function() {
834
815
  function e(t) {
835
816
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
836
817
  }
@@ -842,7 +823,7 @@ var je = function() {
842
823
  if (s)
843
824
  if (this._parentage = null, Array.isArray(s))
844
825
  try {
845
- for (var a = at(s), u = a.next(); !u.done; u = a.next()) {
826
+ for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
846
827
  var l = u.value;
847
828
  l.remove(this);
848
829
  }
@@ -859,22 +840,22 @@ var je = function() {
859
840
  else
860
841
  s.remove(this);
861
842
  var h = this.initialTeardown;
862
- if (X(h))
843
+ if (z(h))
863
844
  try {
864
845
  h();
865
846
  } catch (b) {
866
- o = b instanceof Je ? b.errors : [b];
847
+ o = b instanceof Ke ? b.errors : [b];
867
848
  }
868
849
  var f = this._finalizers;
869
850
  if (f) {
870
851
  this._finalizers = null;
871
852
  try {
872
- for (var c = at(f), d = c.next(); !d.done; d = c.next()) {
853
+ for (var c = lt(f), d = c.next(); !d.done; d = c.next()) {
873
854
  var m = d.value;
874
855
  try {
875
856
  Dt(m);
876
857
  } catch (b) {
877
- o = o ?? [], b instanceof Je ? o = he(he([], ut(o)), ut(b.errors)) : o.push(b);
858
+ o = o ?? [], b instanceof Ke ? o = ct(ct([], ht(o)), ht(b.errors)) : o.push(b);
878
859
  }
879
860
  }
880
861
  } catch (b) {
@@ -889,7 +870,7 @@ var je = function() {
889
870
  }
890
871
  }
891
872
  if (o)
892
- throw new Je(o);
873
+ throw new Ke(o);
893
874
  }
894
875
  }, e.prototype.add = function(t) {
895
876
  var r;
@@ -912,32 +893,28 @@ var je = function() {
912
893
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
913
894
  }, e.prototype._removeParent = function(t) {
914
895
  var r = this._parentage;
915
- r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
896
+ r === t ? this._parentage = null : Array.isArray(r) && ft(r, t);
916
897
  }, e.prototype.remove = function(t) {
917
898
  var r = this._finalizers;
918
- r && lt(r, t), t instanceof e && t._removeParent(this);
899
+ r && ft(r, t), t instanceof e && t._removeParent(this);
919
900
  }, e.EMPTY = function() {
920
901
  var t = new e();
921
902
  return t.closed = !0, t;
922
903
  }(), e;
923
- }(), Ir = je.EMPTY;
924
- function Or(e) {
925
- return e instanceof je || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
904
+ }(), Ir = Ve.EMPTY;
905
+ function Lr(e) {
906
+ return e instanceof Ve || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
926
907
  }
927
908
  function Dt(e) {
928
- X(e) ? e() : e.unsubscribe();
929
- }
930
- var Lr = {
931
- onUnhandledError: null,
932
- onStoppedNotification: null,
933
- Promise: void 0,
934
- useDeprecatedSynchronousErrorHandling: !1,
935
- useDeprecatedNextContext: !1
909
+ z(e) ? e() : e.unsubscribe();
910
+ }
911
+ var ii = {
912
+ Promise: void 0
936
913
  }, oi = {
937
914
  setTimeout: function(e, t) {
938
915
  for (var r = [], n = 2; n < arguments.length; n++)
939
916
  r[n - 2] = arguments[n];
940
- return setTimeout.apply(void 0, he([e, t], ut(r)));
917
+ return setTimeout.apply(void 0, ct([e, t], ht(r)));
941
918
  },
942
919
  clearTimeout: function(e) {
943
920
  return clearTimeout(e);
@@ -949,19 +926,19 @@ function si(e) {
949
926
  throw e;
950
927
  });
951
928
  }
952
- function $t() {
929
+ function Gt() {
953
930
  }
954
931
  function Ce(e) {
955
932
  e();
956
933
  }
957
934
  var Cr = function(e) {
958
- Z(t, e);
935
+ Te(t, e);
959
936
  function t(r) {
960
937
  var n = e.call(this) || this;
961
- return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = hi, n;
938
+ return n.isStopped = !1, r ? (n.destination = r, Lr(r) && r.add(n)) : n.destination = li, n;
962
939
  }
963
940
  return t.create = function(r, n, i) {
964
- return new ht(r, n, i);
941
+ return new mt(r, n, i);
965
942
  }, t.prototype.next = function(r) {
966
943
  this.isStopped || this._next(r);
967
944
  }, t.prototype.error = function(r) {
@@ -985,11 +962,7 @@ var Cr = function(e) {
985
962
  this.unsubscribe();
986
963
  }
987
964
  }, t;
988
- }(je), ai = Function.prototype.bind;
989
- function Ye(e, t) {
990
- return ai.call(e, t);
991
- }
992
- var ui = function() {
965
+ }(Ve), ai = function() {
993
966
  function e(t) {
994
967
  this.partialObserver = t;
995
968
  }
@@ -1020,55 +993,43 @@ var ui = function() {
1020
993
  Pe(r);
1021
994
  }
1022
995
  }, e;
1023
- }(), ht = function(e) {
1024
- Z(t, e);
996
+ }(), mt = function(e) {
997
+ Te(t, e);
1025
998
  function t(r, n, i) {
1026
999
  var o = e.call(this) || this, s;
1027
- if (X(r) || !r)
1028
- s = {
1029
- next: r ?? void 0,
1030
- error: n ?? void 0,
1031
- complete: i ?? void 0
1032
- };
1033
- else {
1034
- var a;
1035
- o && Lr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1036
- return o.unsubscribe();
1037
- }, s = {
1038
- next: r.next && Ye(r.next, a),
1039
- error: r.error && Ye(r.error, a),
1040
- complete: r.complete && Ye(r.complete, a)
1041
- }) : s = r;
1042
- }
1043
- return o.destination = new ui(s), o;
1000
+ return z(r) || !r ? s = {
1001
+ next: r ?? void 0,
1002
+ error: n ?? void 0,
1003
+ complete: i ?? void 0
1004
+ } : s = r, o.destination = new ai(s), o;
1044
1005
  }
1045
1006
  return t;
1046
1007
  }(Cr);
1047
1008
  function Pe(e) {
1048
1009
  si(e);
1049
1010
  }
1050
- function li(e) {
1011
+ function ui(e) {
1051
1012
  throw e;
1052
1013
  }
1053
- var hi = {
1014
+ var li = {
1054
1015
  closed: !0,
1055
- next: $t,
1056
- error: li,
1057
- complete: $t
1058
- }, ci = function() {
1016
+ next: Gt,
1017
+ error: ui,
1018
+ complete: Gt
1019
+ }, hi = function() {
1059
1020
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1060
1021
  }();
1061
- function fi(e) {
1022
+ function ci(e) {
1062
1023
  return e;
1063
1024
  }
1064
- function mi(e) {
1065
- return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
1025
+ function fi(e) {
1026
+ return e.length === 0 ? ci : e.length === 1 ? e[0] : function(r) {
1066
1027
  return e.reduce(function(n, i) {
1067
1028
  return i(n);
1068
1029
  }, r);
1069
1030
  };
1070
1031
  }
1071
- var Gt = function() {
1032
+ var kt = function() {
1072
1033
  function e(t) {
1073
1034
  t && (this._subscribe = t);
1074
1035
  }
@@ -1076,7 +1037,7 @@ var Gt = function() {
1076
1037
  var r = new e();
1077
1038
  return r.source = this, r.operator = t, r;
1078
1039
  }, e.prototype.subscribe = function(t, r, n) {
1079
- var i = this, o = pi(t) ? t : new ht(t, r, n);
1040
+ var i = this, o = di(t) ? t : new mt(t, r, n);
1080
1041
  return Ce(function() {
1081
1042
  var s = i, a = s.operator, u = s.source;
1082
1043
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -1089,8 +1050,8 @@ var Gt = function() {
1089
1050
  }
1090
1051
  }, e.prototype.forEach = function(t, r) {
1091
1052
  var n = this;
1092
- return r = kt(r), new r(function(i, o) {
1093
- var s = new ht({
1053
+ return r = jt(r), new r(function(i, o) {
1054
+ var s = new mt({
1094
1055
  next: function(a) {
1095
1056
  try {
1096
1057
  t(a);
@@ -1106,15 +1067,15 @@ var Gt = function() {
1106
1067
  }, e.prototype._subscribe = function(t) {
1107
1068
  var r;
1108
1069
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1109
- }, e.prototype[ci] = function() {
1070
+ }, e.prototype[hi] = function() {
1110
1071
  return this;
1111
1072
  }, e.prototype.pipe = function() {
1112
1073
  for (var t = [], r = 0; r < arguments.length; r++)
1113
1074
  t[r] = arguments[r];
1114
- return mi(t)(this);
1075
+ return fi(t)(this);
1115
1076
  }, e.prototype.toPromise = function(t) {
1116
1077
  var r = this;
1117
- return t = kt(t), new t(function(n, i) {
1078
+ return t = jt(t), new t(function(n, i) {
1118
1079
  var o;
1119
1080
  r.subscribe(function(s) {
1120
1081
  return o = s;
@@ -1128,32 +1089,32 @@ var Gt = function() {
1128
1089
  return new e(t);
1129
1090
  }, e;
1130
1091
  }();
1131
- function kt(e) {
1092
+ function jt(e) {
1132
1093
  var t;
1133
- return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
1094
+ return (t = e ?? ii.Promise) !== null && t !== void 0 ? t : Promise;
1134
1095
  }
1135
- function di(e) {
1136
- return e && X(e.next) && X(e.error) && X(e.complete);
1096
+ function mi(e) {
1097
+ return e && z(e.next) && z(e.error) && z(e.complete);
1137
1098
  }
1138
- function pi(e) {
1139
- return e && e instanceof Cr || di(e) && Or(e);
1099
+ function di(e) {
1100
+ return e && e instanceof Cr || mi(e) && Lr(e);
1140
1101
  }
1141
- var gi = Pr(function(e) {
1102
+ var pi = Or(function(e) {
1142
1103
  return function() {
1143
1104
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1144
1105
  };
1145
1106
  }), Nr = function(e) {
1146
- Z(t, e);
1107
+ Te(t, e);
1147
1108
  function t() {
1148
1109
  var r = e.call(this) || this;
1149
1110
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1150
1111
  }
1151
1112
  return t.prototype.lift = function(r) {
1152
- var n = new jt(this, this);
1113
+ var n = new Vt(this, this);
1153
1114
  return n.operator = r, n;
1154
1115
  }, t.prototype._throwIfClosed = function() {
1155
1116
  if (this.closed)
1156
- throw new gi();
1117
+ throw new pi();
1157
1118
  }, t.prototype.next = function(r) {
1158
1119
  var n = this;
1159
1120
  Ce(function() {
@@ -1161,7 +1122,7 @@ var gi = Pr(function(e) {
1161
1122
  if (n._throwIfClosed(), !n.isStopped) {
1162
1123
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1163
1124
  try {
1164
- for (var s = at(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1125
+ for (var s = lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1165
1126
  var u = a.value;
1166
1127
  u.next(r);
1167
1128
  }
@@ -1210,20 +1171,20 @@ var gi = Pr(function(e) {
1210
1171
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1211
1172
  }, t.prototype._innerSubscribe = function(r) {
1212
1173
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1213
- return o || s ? Ir : (this.currentObservers = null, a.push(r), new je(function() {
1214
- n.currentObservers = null, lt(a, r);
1174
+ return o || s ? Ir : (this.currentObservers = null, a.push(r), new Ve(function() {
1175
+ n.currentObservers = null, ft(a, r);
1215
1176
  }));
1216
1177
  }, t.prototype._checkFinalizedStatuses = function(r) {
1217
1178
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1218
1179
  i ? r.error(o) : s && r.complete();
1219
1180
  }, t.prototype.asObservable = function() {
1220
- var r = new Gt();
1181
+ var r = new kt();
1221
1182
  return r.source = this, r;
1222
1183
  }, t.create = function(r, n) {
1223
- return new jt(r, n);
1184
+ return new Vt(r, n);
1224
1185
  }, t;
1225
- }(Gt), jt = function(e) {
1226
- Z(t, e);
1186
+ }(kt), Vt = function(e) {
1187
+ Te(t, e);
1227
1188
  function t(r, n) {
1228
1189
  var i = e.call(this) || this;
1229
1190
  return i.destination = r, i.source = n, i;
@@ -1246,8 +1207,8 @@ var gi = Pr(function(e) {
1246
1207
  return (Rr.delegate || Date).now();
1247
1208
  },
1248
1209
  delegate: void 0
1249
- }, bi = function(e) {
1250
- Z(t, e);
1210
+ }, gi = function(e) {
1211
+ Te(t, e);
1251
1212
  function t(r, n, i) {
1252
1213
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rr);
1253
1214
  var o = e.call(this) || this;
@@ -1270,23 +1231,23 @@ var gi = Pr(function(e) {
1270
1231
  }
1271
1232
  }, t;
1272
1233
  }(Nr);
1273
- const Vt = [], Wt = {}, yi = (e, t = 0) => {
1274
- if (Vt.indexOf(e) == -1) {
1275
- const r = new bi(t);
1276
- Wt[e] = r, Vt.push(e);
1234
+ const Wt = [], Xt = {}, bi = (e, t = 0) => {
1235
+ if (Wt.indexOf(e) == -1) {
1236
+ const r = new gi(t);
1237
+ Xt[e] = r, Wt.push(e);
1277
1238
  }
1278
- return Wt[e];
1239
+ return Xt[e];
1279
1240
  }, oe = [];
1280
- function _i(e, t) {
1241
+ function yi(e, t) {
1281
1242
  return {
1282
- subscribe: Ve(e, t).subscribe
1243
+ subscribe: We(e, t).subscribe
1283
1244
  };
1284
1245
  }
1285
- function Ve(e, t = D) {
1246
+ function We(e, t = $) {
1286
1247
  let r;
1287
1248
  const n = /* @__PURE__ */ new Set();
1288
1249
  function i(a) {
1289
- if (wr(e, a) && (e = a, r)) {
1250
+ if (Sr(e, a) && (e = a, r)) {
1290
1251
  const u = !oe.length;
1291
1252
  for (const l of n)
1292
1253
  l[1](), oe.push(l, e);
@@ -1300,29 +1261,29 @@ function Ve(e, t = D) {
1300
1261
  function o(a) {
1301
1262
  i(a(e));
1302
1263
  }
1303
- function s(a, u = D) {
1264
+ function s(a, u = $) {
1304
1265
  const l = [a, u];
1305
- return n.add(l), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1266
+ return n.add(l), n.size === 1 && (r = t(i, o) || $), a(e), () => {
1306
1267
  n.delete(l), n.size === 0 && r && (r(), r = null);
1307
1268
  };
1308
1269
  }
1309
1270
  return { set: i, update: o, subscribe: s };
1310
1271
  }
1311
- function be(e, t, r) {
1272
+ function ge(e, t, r) {
1312
1273
  const n = !Array.isArray(e), i = n ? [e] : e;
1313
1274
  if (!i.every(Boolean))
1314
1275
  throw new Error("derived() expects stores as input, got a falsy value");
1315
1276
  const o = t.length < 2;
1316
- return _i(r, (s, a) => {
1277
+ return yi(r, (s, a) => {
1317
1278
  let u = !1;
1318
1279
  const l = [];
1319
- let h = 0, f = D;
1280
+ let h = 0, f = $;
1320
1281
  const c = () => {
1321
1282
  if (h)
1322
1283
  return;
1323
1284
  f();
1324
1285
  const m = t(n ? l[0] : l, s, a);
1325
- o ? s(m) : f = Te(m) ? m : D;
1286
+ o ? s(m) : f = He(m) ? m : $;
1326
1287
  }, d = i.map(
1327
1288
  (m, b) => Hr(
1328
1289
  m,
@@ -1335,52 +1296,52 @@ function be(e, t, r) {
1335
1296
  )
1336
1297
  );
1337
1298
  return u = !0, c(), function() {
1338
- z(d), f(), u = !1;
1299
+ Z(d), f(), u = !1;
1339
1300
  };
1340
1301
  });
1341
1302
  }
1342
1303
  var Hs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1343
- function vi(e) {
1304
+ function _i(e) {
1344
1305
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1345
1306
  }
1346
- var xi = function(t) {
1347
- return Ei(t) && !wi(t);
1307
+ var vi = function(t) {
1308
+ return xi(t) && !Ei(t);
1348
1309
  };
1349
- function Ei(e) {
1310
+ function xi(e) {
1350
1311
  return !!e && typeof e == "object";
1351
1312
  }
1352
- function wi(e) {
1313
+ function Ei(e) {
1353
1314
  var t = Object.prototype.toString.call(e);
1354
- return t === "[object RegExp]" || t === "[object Date]" || Ti(e);
1315
+ return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
1355
1316
  }
1356
- var Hi = typeof Symbol == "function" && Symbol.for, Si = Hi ? Symbol.for("react.element") : 60103;
1357
- function Ti(e) {
1317
+ var wi = typeof Symbol == "function" && Symbol.for, Si = wi ? Symbol.for("react.element") : 60103;
1318
+ function Hi(e) {
1358
1319
  return e.$$typeof === Si;
1359
1320
  }
1360
- function Mi(e) {
1321
+ function Ti(e) {
1361
1322
  return Array.isArray(e) ? [] : {};
1362
1323
  }
1363
- function He(e, t) {
1364
- return t.clone !== !1 && t.isMergeableObject(e) ? fe(Mi(e), e, t) : e;
1324
+ function we(e, t) {
1325
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Ti(e), e, t) : e;
1365
1326
  }
1366
- function Bi(e, t, r) {
1327
+ function Mi(e, t, r) {
1367
1328
  return e.concat(t).map(function(n) {
1368
- return He(n, r);
1329
+ return we(n, r);
1369
1330
  });
1370
1331
  }
1371
1332
  function Ai(e, t) {
1372
1333
  if (!t.customMerge)
1373
- return fe;
1334
+ return ce;
1374
1335
  var r = t.customMerge(e);
1375
- return typeof r == "function" ? r : fe;
1336
+ return typeof r == "function" ? r : ce;
1376
1337
  }
1377
- function Pi(e) {
1338
+ function Bi(e) {
1378
1339
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1379
1340
  return Object.propertyIsEnumerable.call(e, t);
1380
1341
  }) : [];
1381
1342
  }
1382
- function Xt(e) {
1383
- return Object.keys(e).concat(Pi(e));
1343
+ function zt(e) {
1344
+ return Object.keys(e).concat(Bi(e));
1384
1345
  }
1385
1346
  function Fr(e, t) {
1386
1347
  try {
@@ -1389,33 +1350,75 @@ function Fr(e, t) {
1389
1350
  return !1;
1390
1351
  }
1391
1352
  }
1392
- function Ii(e, t) {
1353
+ function Pi(e, t) {
1393
1354
  return Fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1394
1355
  }
1395
1356
  function Oi(e, t, r) {
1396
1357
  var n = {};
1397
- return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1398
- n[i] = He(e[i], r);
1399
- }), Xt(t).forEach(function(i) {
1400
- Ii(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ai(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1358
+ return r.isMergeableObject(e) && zt(e).forEach(function(i) {
1359
+ n[i] = we(e[i], r);
1360
+ }), zt(t).forEach(function(i) {
1361
+ Pi(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ai(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
1401
1362
  }), n;
1402
1363
  }
1403
- function fe(e, t, r) {
1404
- r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = He;
1364
+ function ce(e, t, r) {
1365
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mi, r.isMergeableObject = r.isMergeableObject || vi, r.cloneUnlessOtherwiseSpecified = we;
1405
1366
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1406
- return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : He(t, r);
1367
+ return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : we(t, r);
1407
1368
  }
1408
- fe.all = function(t, r) {
1369
+ ce.all = function(t, r) {
1409
1370
  if (!Array.isArray(t))
1410
1371
  throw new Error("first argument should be an array");
1411
1372
  return t.reduce(function(n, i) {
1412
- return fe(n, i, r);
1373
+ return ce(n, i, r);
1413
1374
  }, {});
1414
1375
  };
1415
- var Li = fe, Ci = Li;
1416
- const Ni = /* @__PURE__ */ vi(Ci);
1417
- function Ke(e, t) {
1418
- var r = t && t.cache ? t.cache : Gi, n = t && t.serializer ? t.serializer : $i, i = t && t.strategy ? t.strategy : Fi;
1376
+ var Ii = ce, Li = Ii;
1377
+ const Ci = /* @__PURE__ */ _i(Li);
1378
+ var dt = function(e, t) {
1379
+ return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1380
+ r.__proto__ = n;
1381
+ } || function(r, n) {
1382
+ for (var i in n)
1383
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1384
+ }, dt(e, t);
1385
+ };
1386
+ function Xe(e, t) {
1387
+ if (typeof t != "function" && t !== null)
1388
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1389
+ dt(e, t);
1390
+ function r() {
1391
+ this.constructor = e;
1392
+ }
1393
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1394
+ }
1395
+ var V = function() {
1396
+ return V = Object.assign || function(t) {
1397
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1398
+ r = arguments[n];
1399
+ for (var o in r)
1400
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1401
+ }
1402
+ return t;
1403
+ }, V.apply(this, arguments);
1404
+ };
1405
+ function Ni(e, t) {
1406
+ var r = {};
1407
+ for (var n in e)
1408
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1409
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1410
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1411
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1412
+ return r;
1413
+ }
1414
+ function et(e, t, r) {
1415
+ if (r || arguments.length === 2)
1416
+ for (var n = 0, i = t.length, o; n < i; n++)
1417
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1418
+ return e.concat(o || Array.prototype.slice.call(t));
1419
+ }
1420
+ function tt(e, t) {
1421
+ var r = t && t.cache ? t.cache : ki, n = t && t.serializer ? t.serializer : Di, i = t && t.strategy ? t.strategy : Ui;
1419
1422
  return i(e, {
1420
1423
  cache: r,
1421
1424
  serializer: n
@@ -1424,95 +1427,103 @@ function Ke(e, t) {
1424
1427
  function Ri(e) {
1425
1428
  return e == null || typeof e == "number" || typeof e == "boolean";
1426
1429
  }
1427
- function Ur(e, t, r, n) {
1430
+ function Fi(e, t, r, n) {
1428
1431
  var i = Ri(n) ? n : r(n), o = t.get(i);
1429
1432
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1430
1433
  }
1431
- function Dr(e, t, r) {
1434
+ function Ur(e, t, r) {
1432
1435
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1433
1436
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1434
1437
  }
1435
- function xt(e, t, r, n, i) {
1438
+ function $r(e, t, r, n, i) {
1436
1439
  return r.bind(t, e, n, i);
1437
1440
  }
1438
- function Fi(e, t) {
1439
- var r = e.length === 1 ? Ur : Dr;
1440
- return xt(e, this, r, t.cache.create(), t.serializer);
1441
- }
1442
1441
  function Ui(e, t) {
1443
- return xt(e, this, Dr, t.cache.create(), t.serializer);
1442
+ var r = e.length === 1 ? Fi : Ur;
1443
+ return $r(e, this, r, t.cache.create(), t.serializer);
1444
1444
  }
1445
- function Di(e, t) {
1446
- return xt(e, this, Ur, t.cache.create(), t.serializer);
1445
+ function $i(e, t) {
1446
+ return $r(e, this, Ur, t.cache.create(), t.serializer);
1447
1447
  }
1448
- var $i = function() {
1448
+ var Di = function() {
1449
1449
  return JSON.stringify(arguments);
1450
- };
1451
- function Et() {
1452
- this.cache = /* @__PURE__ */ Object.create(null);
1453
- }
1454
- Et.prototype.get = function(e) {
1455
- return this.cache[e];
1456
- };
1457
- Et.prototype.set = function(e, t) {
1458
- this.cache[e] = t;
1459
- };
1460
- var Gi = {
1450
+ }, Gi = (
1451
+ /** @class */
1452
+ function() {
1453
+ function e() {
1454
+ this.cache = /* @__PURE__ */ Object.create(null);
1455
+ }
1456
+ return e.prototype.get = function(t) {
1457
+ return this.cache[t];
1458
+ }, e.prototype.set = function(t, r) {
1459
+ this.cache[t] = r;
1460
+ }, e;
1461
+ }()
1462
+ ), ki = {
1461
1463
  create: function() {
1462
- return new Et();
1464
+ return new Gi();
1463
1465
  }
1464
- }, et = {
1465
- variadic: Ui,
1466
- monadic: Di
1467
- }, H;
1466
+ }, rt = {
1467
+ variadic: $i
1468
+ }, Ge = function() {
1469
+ return Ge = Object.assign || function(t) {
1470
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1471
+ r = arguments[n];
1472
+ for (var o in r)
1473
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1474
+ }
1475
+ return t;
1476
+ }, Ge.apply(this, arguments);
1477
+ };
1478
+ var S;
1468
1479
  (function(e) {
1469
1480
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1470
- })(H || (H = {}));
1471
- var N;
1481
+ })(S || (S = {}));
1482
+ var C;
1472
1483
  (function(e) {
1473
1484
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1474
- })(N || (N = {}));
1475
- var me;
1485
+ })(C || (C = {}));
1486
+ var fe;
1476
1487
  (function(e) {
1477
1488
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1478
- })(me || (me = {}));
1479
- function zt(e) {
1480
- return e.type === N.literal;
1489
+ })(fe || (fe = {}));
1490
+ function Zt(e) {
1491
+ return e.type === C.literal;
1481
1492
  }
1482
- function ki(e) {
1483
- return e.type === N.argument;
1493
+ function ji(e) {
1494
+ return e.type === C.argument;
1484
1495
  }
1485
- function $r(e) {
1486
- return e.type === N.number;
1496
+ function Dr(e) {
1497
+ return e.type === C.number;
1487
1498
  }
1488
1499
  function Gr(e) {
1489
- return e.type === N.date;
1500
+ return e.type === C.date;
1490
1501
  }
1491
1502
  function kr(e) {
1492
- return e.type === N.time;
1503
+ return e.type === C.time;
1493
1504
  }
1494
1505
  function jr(e) {
1495
- return e.type === N.select;
1506
+ return e.type === C.select;
1496
1507
  }
1497
1508
  function Vr(e) {
1498
- return e.type === N.plural;
1509
+ return e.type === C.plural;
1499
1510
  }
1500
- function ji(e) {
1501
- return e.type === N.pound;
1511
+ function Vi(e) {
1512
+ return e.type === C.pound;
1502
1513
  }
1503
1514
  function Wr(e) {
1504
- return e.type === N.tag;
1515
+ return e.type === C.tag;
1505
1516
  }
1506
1517
  function Xr(e) {
1507
- return !!(e && typeof e == "object" && e.type === me.number);
1518
+ return !!(e && typeof e == "object" && e.type === fe.number);
1508
1519
  }
1509
- function ct(e) {
1510
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1520
+ function pt(e) {
1521
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
1511
1522
  }
1512
- var zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1513
- function Wi(e) {
1523
+ var zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1524
+ function Xi(e) {
1514
1525
  var t = {};
1515
- return e.replace(Vi, function(r) {
1526
+ return e.replace(Wi, function(r) {
1516
1527
  var n = r.length;
1517
1528
  switch (r[0]) {
1518
1529
  case "G":
@@ -1601,11 +1612,21 @@ function Wi(e) {
1601
1612
  return "";
1602
1613
  }), t;
1603
1614
  }
1604
- var Xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1605
- function zi(e) {
1615
+ var R = function() {
1616
+ return R = Object.assign || function(t) {
1617
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1618
+ r = arguments[n];
1619
+ for (var o in r)
1620
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1621
+ }
1622
+ return t;
1623
+ }, R.apply(this, arguments);
1624
+ };
1625
+ var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1626
+ function Zi(e) {
1606
1627
  if (e.length === 0)
1607
1628
  throw new Error("Number skeleton cannot be empty");
1608
- for (var t = e.split(Xi).filter(function(c) {
1629
+ for (var t = e.split(zi).filter(function(c) {
1609
1630
  return c.length > 0;
1610
1631
  }), r = [], n = 0, i = t; n < i.length; n++) {
1611
1632
  var o = i[n], s = o.split("/");
@@ -1620,11 +1641,11 @@ function zi(e) {
1620
1641
  }
1621
1642
  return r;
1622
1643
  }
1623
- function Zi(e) {
1644
+ function qi(e) {
1624
1645
  return e.replace(/^(.*?)-/, "");
1625
1646
  }
1626
- var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1627
- function qt(e) {
1647
+ var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, Qi = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1648
+ function Qt(e) {
1628
1649
  var t = {};
1629
1650
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zr, function(r, n, i) {
1630
1651
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
@@ -1670,7 +1691,7 @@ function Qr(e) {
1670
1691
  };
1671
1692
  }
1672
1693
  }
1673
- function Qi(e) {
1694
+ function Ji(e) {
1674
1695
  var t;
1675
1696
  if (e[0] === "E" && e[1] === "E" ? (t = {
1676
1697
  notation: "engineering"
@@ -1684,11 +1705,11 @@ function Qi(e) {
1684
1705
  }
1685
1706
  return t;
1686
1707
  }
1687
- function Qt(e) {
1708
+ function Jt(e) {
1688
1709
  var t = {}, r = Qr(e);
1689
1710
  return r || t;
1690
1711
  }
1691
- function Ji(e) {
1712
+ function Yi(e) {
1692
1713
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1693
1714
  var i = n[r];
1694
1715
  switch (i.stem) {
@@ -1712,7 +1733,7 @@ function Ji(e) {
1712
1733
  continue;
1713
1734
  case "measure-unit":
1714
1735
  case "unit":
1715
- t.style = "unit", t.unit = Zi(i.options[0]);
1736
+ t.style = "unit", t.unit = qi(i.options[0]);
1716
1737
  continue;
1717
1738
  case "compact-short":
1718
1739
  case "K":
@@ -1723,13 +1744,13 @@ function Ji(e) {
1723
1744
  t.notation = "compact", t.compactDisplay = "long";
1724
1745
  continue;
1725
1746
  case "scientific":
1726
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1727
- return B(B({}, u), Qt(l));
1747
+ t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1748
+ return R(R({}, u), Jt(l));
1728
1749
  }, {}));
1729
1750
  continue;
1730
1751
  case "engineering":
1731
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1732
- return B(B({}, u), Qt(l));
1752
+ t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1753
+ return R(R({}, u), Jt(l));
1733
1754
  }, {}));
1734
1755
  continue;
1735
1756
  case "notation-simple":
@@ -1774,7 +1795,7 @@ function Ji(e) {
1774
1795
  case "integer-width":
1775
1796
  if (i.options.length > 1)
1776
1797
  throw new RangeError("integer-width stems only accept a single optional option");
1777
- i.options[0].replace(qi, function(u, l, h, f, c, d) {
1798
+ i.options[0].replace(Qi, function(u, l, h, f, c, d) {
1778
1799
  if (l)
1779
1800
  t.minimumIntegerDigits = h.length;
1780
1801
  else {
@@ -1791,28 +1812,28 @@ function Ji(e) {
1791
1812
  t.minimumIntegerDigits = i.stem.length;
1792
1813
  continue;
1793
1814
  }
1794
- if (Zt.test(i.stem)) {
1815
+ if (qt.test(i.stem)) {
1795
1816
  if (i.options.length > 1)
1796
1817
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1797
- i.stem.replace(Zt, function(u, l, h, f, c, d) {
1818
+ i.stem.replace(qt, function(u, l, h, f, c, d) {
1798
1819
  return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1799
1820
  });
1800
1821
  var o = i.options[0];
1801
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), qt(o)));
1822
+ o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Qt(o)));
1802
1823
  continue;
1803
1824
  }
1804
1825
  if (Zr.test(i.stem)) {
1805
- t = B(B({}, t), qt(i.stem));
1826
+ t = R(R({}, t), Qt(i.stem));
1806
1827
  continue;
1807
1828
  }
1808
1829
  var s = Qr(i.stem);
1809
- s && (t = B(B({}, t), s));
1810
- var a = Qi(i.stem);
1811
- a && (t = B(B({}, t), a));
1830
+ s && (t = R(R({}, t), s));
1831
+ var a = Ji(i.stem);
1832
+ a && (t = R(R({}, t), a));
1812
1833
  }
1813
1834
  return t;
1814
1835
  }
1815
- var Ie = {
1836
+ var Oe = {
1816
1837
  "001": [
1817
1838
  "H",
1818
1839
  "h"
@@ -3227,13 +3248,13 @@ var Ie = {
3227
3248
  "h"
3228
3249
  ]
3229
3250
  };
3230
- function Yi(e, t) {
3251
+ function Ki(e, t) {
3231
3252
  for (var r = "", n = 0; n < e.length; n++) {
3232
3253
  var i = e.charAt(n);
3233
3254
  if (i === "j") {
3234
3255
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3235
3256
  o++, n++;
3236
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ki(t);
3257
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = eo(t);
3237
3258
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3238
3259
  r += u;
3239
3260
  for (; s-- > 0; )
@@ -3243,7 +3264,7 @@ function Yi(e, t) {
3243
3264
  }
3244
3265
  return r;
3245
3266
  }
3246
- function Ki(e) {
3267
+ function eo(e) {
3247
3268
  var t = e.hourCycle;
3248
3269
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3249
3270
  e.hourCycles && // @ts-ignore
@@ -3262,23 +3283,23 @@ function Ki(e) {
3262
3283
  }
3263
3284
  var r = e.language, n;
3264
3285
  r !== "root" && (n = e.maximize().region);
3265
- var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3286
+ var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3266
3287
  return i[0];
3267
3288
  }
3268
- var tt, eo = new RegExp("^".concat(zr.source, "*")), to = new RegExp("".concat(zr.source, "*$"));
3289
+ var nt, to = new RegExp("^".concat(zr.source, "*")), ro = new RegExp("".concat(zr.source, "*$"));
3269
3290
  function T(e, t) {
3270
3291
  return { start: e, end: t };
3271
3292
  }
3272
- var ro = !!String.prototype.startsWith && "_a".startsWith("a", 1), no = !!String.fromCodePoint, io = !!Object.fromEntries, oo = !!String.prototype.codePointAt, so = !!String.prototype.trimStart, ao = !!String.prototype.trimEnd, uo = !!Number.isSafeInteger, lo = uo ? Number.isSafeInteger : function(e) {
3293
+ var no = !!String.prototype.startsWith && "_a".startsWith("a", 1), io = !!String.fromCodePoint, oo = !!Object.fromEntries, so = !!String.prototype.codePointAt, ao = !!String.prototype.trimStart, uo = !!String.prototype.trimEnd, lo = !!Number.isSafeInteger, ho = lo ? Number.isSafeInteger : function(e) {
3273
3294
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3274
- }, ft = !0;
3295
+ }, gt = !0;
3275
3296
  try {
3276
- var ho = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3277
- ft = ((tt = ho.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3297
+ var co = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3298
+ gt = ((nt = co.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
3278
3299
  } catch {
3279
- ft = !1;
3300
+ gt = !1;
3280
3301
  }
3281
- var Jt = ro ? (
3302
+ var Yt = no ? (
3282
3303
  // Native
3283
3304
  function(t, r, n) {
3284
3305
  return t.startsWith(r, n);
@@ -3288,7 +3309,7 @@ var Jt = ro ? (
3288
3309
  function(t, r, n) {
3289
3310
  return t.slice(n, n + r.length) === r;
3290
3311
  }
3291
- ), mt = no ? String.fromCodePoint : (
3312
+ ), bt = io ? String.fromCodePoint : (
3292
3313
  // IE11
3293
3314
  function() {
3294
3315
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3300,9 +3321,9 @@ var Jt = ro ? (
3300
3321
  }
3301
3322
  return n;
3302
3323
  }
3303
- ), Yt = (
3324
+ ), Kt = (
3304
3325
  // native
3305
- io ? Object.fromEntries : (
3326
+ oo ? Object.fromEntries : (
3306
3327
  // Ponyfill
3307
3328
  function(t) {
3308
3329
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3312,7 +3333,7 @@ var Jt = ro ? (
3312
3333
  return r;
3313
3334
  }
3314
3335
  )
3315
- ), Jr = oo ? (
3336
+ ), Jr = so ? (
3316
3337
  // Native
3317
3338
  function(t, r) {
3318
3339
  return t.codePointAt(r);
@@ -3326,7 +3347,7 @@ var Jt = ro ? (
3326
3347
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3327
3348
  }
3328
3349
  }
3329
- ), co = so ? (
3350
+ ), fo = ao ? (
3330
3351
  // Native
3331
3352
  function(t) {
3332
3353
  return t.trimStart();
@@ -3334,9 +3355,9 @@ var Jt = ro ? (
3334
3355
  ) : (
3335
3356
  // Ponyfill
3336
3357
  function(t) {
3337
- return t.replace(eo, "");
3358
+ return t.replace(to, "");
3338
3359
  }
3339
- ), fo = ao ? (
3360
+ ), mo = uo ? (
3340
3361
  // Native
3341
3362
  function(t) {
3342
3363
  return t.trimEnd();
@@ -3344,32 +3365,32 @@ var Jt = ro ? (
3344
3365
  ) : (
3345
3366
  // Ponyfill
3346
3367
  function(t) {
3347
- return t.replace(to, "");
3368
+ return t.replace(ro, "");
3348
3369
  }
3349
3370
  );
3350
3371
  function Yr(e, t) {
3351
3372
  return new RegExp(e, t);
3352
3373
  }
3353
- var dt;
3354
- if (ft) {
3355
- var Kt = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3356
- dt = function(t, r) {
3374
+ var yt;
3375
+ if (gt) {
3376
+ var er = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3377
+ yt = function(t, r) {
3357
3378
  var n;
3358
- Kt.lastIndex = r;
3359
- var i = Kt.exec(t);
3379
+ er.lastIndex = r;
3380
+ var i = er.exec(t);
3360
3381
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3361
3382
  };
3362
3383
  } else
3363
- dt = function(t, r) {
3384
+ yt = function(t, r) {
3364
3385
  for (var n = []; ; ) {
3365
3386
  var i = Jr(t, r);
3366
- if (i === void 0 || Kr(i) || bo(i))
3387
+ if (i === void 0 || Kr(i) || yo(i))
3367
3388
  break;
3368
3389
  n.push(i), r += i >= 65536 ? 2 : 1;
3369
3390
  }
3370
- return mt.apply(void 0, n);
3391
+ return bt.apply(void 0, n);
3371
3392
  };
3372
- var mo = (
3393
+ var po = (
3373
3394
  /** @class */
3374
3395
  function() {
3375
3396
  function e(t, r) {
@@ -3393,14 +3414,14 @@ var mo = (
3393
3414
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3394
3415
  var a = this.clonePosition();
3395
3416
  this.bump(), i.push({
3396
- type: N.pound,
3417
+ type: C.pound,
3397
3418
  location: T(a, this.clonePosition())
3398
3419
  });
3399
3420
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3400
3421
  if (n)
3401
3422
  break;
3402
- return this.error(H.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3403
- } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3423
+ return this.error(S.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3424
+ } else if (o === 60 && !this.ignoreTag && _t(this.peek() || 0)) {
3404
3425
  var s = this.parseTag(t, r);
3405
3426
  if (s.err)
3406
3427
  return s;
@@ -3421,7 +3442,7 @@ var mo = (
3421
3442
  if (this.bumpSpace(), this.bumpIf("/>"))
3422
3443
  return {
3423
3444
  val: {
3424
- type: N.literal,
3445
+ type: C.literal,
3425
3446
  value: "<".concat(i, "/>"),
3426
3447
  location: T(n, this.clonePosition())
3427
3448
  },
@@ -3433,25 +3454,25 @@ var mo = (
3433
3454
  return o;
3434
3455
  var s = o.val, a = this.clonePosition();
3435
3456
  if (this.bumpIf("</")) {
3436
- if (this.isEOF() || !pt(this.char()))
3437
- return this.error(H.INVALID_TAG, T(a, this.clonePosition()));
3457
+ if (this.isEOF() || !_t(this.char()))
3458
+ return this.error(S.INVALID_TAG, T(a, this.clonePosition()));
3438
3459
  var u = this.clonePosition(), l = this.parseTagName();
3439
- return i !== l ? this.error(H.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3460
+ return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3440
3461
  val: {
3441
- type: N.tag,
3462
+ type: C.tag,
3442
3463
  value: i,
3443
3464
  children: s,
3444
3465
  location: T(n, this.clonePosition())
3445
3466
  },
3446
3467
  err: null
3447
- } : this.error(H.INVALID_TAG, T(a, this.clonePosition())));
3468
+ } : this.error(S.INVALID_TAG, T(a, this.clonePosition())));
3448
3469
  } else
3449
- return this.error(H.UNCLOSED_TAG, T(n, this.clonePosition()));
3470
+ return this.error(S.UNCLOSED_TAG, T(n, this.clonePosition()));
3450
3471
  } else
3451
- return this.error(H.INVALID_TAG, T(n, this.clonePosition()));
3472
+ return this.error(S.INVALID_TAG, T(n, this.clonePosition()));
3452
3473
  }, e.prototype.parseTagName = function() {
3453
3474
  var t = this.offset();
3454
- for (this.bump(); !this.isEOF() && go(this.char()); )
3475
+ for (this.bump(); !this.isEOF() && bo(this.char()); )
3455
3476
  this.bump();
3456
3477
  return this.message.slice(t, this.offset());
3457
3478
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3475,12 +3496,12 @@ var mo = (
3475
3496
  }
3476
3497
  var u = T(n, this.clonePosition());
3477
3498
  return {
3478
- val: { type: N.literal, value: i, location: u },
3499
+ val: { type: C.literal, value: i, location: u },
3479
3500
  err: null
3480
3501
  };
3481
3502
  }, e.prototype.tryParseLeftAngleBracket = function() {
3482
3503
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3483
- !po(this.peek() || 0)) ? (this.bump(), "<") : null;
3504
+ !go(this.peek() || 0)) ? (this.bump(), "<") : null;
3484
3505
  }, e.prototype.tryParseQuote = function(t) {
3485
3506
  if (this.isEOF() || this.char() !== 39)
3486
3507
  return null;
@@ -3514,28 +3535,28 @@ var mo = (
3514
3535
  r.push(n);
3515
3536
  this.bump();
3516
3537
  }
3517
- return mt.apply(void 0, r);
3538
+ return bt.apply(void 0, r);
3518
3539
  }, e.prototype.tryParseUnquoted = function(t, r) {
3519
3540
  if (this.isEOF())
3520
3541
  return null;
3521
3542
  var n = this.char();
3522
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
3543
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), bt(n));
3523
3544
  }, e.prototype.parseArgument = function(t, r) {
3524
3545
  var n = this.clonePosition();
3525
3546
  if (this.bump(), this.bumpSpace(), this.isEOF())
3526
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3547
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3527
3548
  if (this.char() === 125)
3528
- return this.bump(), this.error(H.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3549
+ return this.bump(), this.error(S.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3529
3550
  var i = this.parseIdentifierIfPossible().value;
3530
3551
  if (!i)
3531
- return this.error(H.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3552
+ return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3532
3553
  if (this.bumpSpace(), this.isEOF())
3533
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3554
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3534
3555
  switch (this.char()) {
3535
3556
  case 125:
3536
3557
  return this.bump(), {
3537
3558
  val: {
3538
- type: N.argument,
3559
+ type: C.argument,
3539
3560
  // value does not include the opening and closing braces.
3540
3561
  value: i,
3541
3562
  location: T(n, this.clonePosition())
@@ -3543,12 +3564,12 @@ var mo = (
3543
3564
  err: null
3544
3565
  };
3545
3566
  case 44:
3546
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3567
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3547
3568
  default:
3548
- return this.error(H.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3569
+ return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3549
3570
  }
3550
3571
  }, e.prototype.parseIdentifierIfPossible = function() {
3551
- var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3572
+ var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
3552
3573
  this.bumpTo(i);
3553
3574
  var o = this.clonePosition(), s = T(t, o);
3554
3575
  return { value: n, location: s };
@@ -3556,7 +3577,7 @@ var mo = (
3556
3577
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3557
3578
  switch (a) {
3558
3579
  case "":
3559
- return this.error(H.EXPECT_ARGUMENT_TYPE, T(s, u));
3580
+ return this.error(S.EXPECT_ARGUMENT_TYPE, T(s, u));
3560
3581
  case "number":
3561
3582
  case "date":
3562
3583
  case "time": {
@@ -3567,9 +3588,9 @@ var mo = (
3567
3588
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3568
3589
  if (f.err)
3569
3590
  return f;
3570
- var c = fo(f.val);
3591
+ var c = mo(f.val);
3571
3592
  if (c.length === 0)
3572
- return this.error(H.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3593
+ return this.error(S.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3573
3594
  var d = T(h, this.clonePosition());
3574
3595
  l = { style: c, styleLocation: d };
3575
3596
  }
@@ -3577,34 +3598,34 @@ var mo = (
3577
3598
  if (m.err)
3578
3599
  return m;
3579
3600
  var b = T(i, this.clonePosition());
3580
- if (l && Jt(l?.style, "::", 0)) {
3581
- var w = co(l.style.slice(2));
3601
+ if (l && Yt(l?.style, "::", 0)) {
3602
+ var w = fo(l.style.slice(2));
3582
3603
  if (a === "number") {
3583
3604
  var f = this.parseNumberSkeletonFromString(w, l.styleLocation);
3584
3605
  return f.err ? f : {
3585
- val: { type: N.number, value: n, location: b, style: f.val },
3606
+ val: { type: C.number, value: n, location: b, style: f.val },
3586
3607
  err: null
3587
3608
  };
3588
3609
  } else {
3589
3610
  if (w.length === 0)
3590
- return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
3611
+ return this.error(S.EXPECT_DATE_TIME_SKELETON, b);
3591
3612
  var O = w;
3592
- this.locale && (O = Yi(w, this.locale));
3613
+ this.locale && (O = Ki(w, this.locale));
3593
3614
  var c = {
3594
- type: me.dateTime,
3615
+ type: fe.dateTime,
3595
3616
  pattern: O,
3596
3617
  location: l.styleLocation,
3597
- parsedOptions: this.shouldParseSkeletons ? Wi(O) : {}
3598
- }, I = a === "date" ? N.date : N.time;
3618
+ parsedOptions: this.shouldParseSkeletons ? Xi(O) : {}
3619
+ }, P = a === "date" ? C.date : C.time;
3599
3620
  return {
3600
- val: { type: I, value: n, location: b, style: c },
3621
+ val: { type: P, value: n, location: b, style: c },
3601
3622
  err: null
3602
3623
  };
3603
3624
  }
3604
3625
  }
3605
3626
  return {
3606
3627
  val: {
3607
- type: a === "number" ? N.number : a === "date" ? N.date : N.time,
3628
+ type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3608
3629
  value: n,
3609
3630
  location: b,
3610
3631
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -3615,21 +3636,21 @@ var mo = (
3615
3636
  case "plural":
3616
3637
  case "selectordinal":
3617
3638
  case "select": {
3618
- var S = this.clonePosition();
3639
+ var H = this.clonePosition();
3619
3640
  if (this.bumpSpace(), !this.bumpIf(","))
3620
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, T(S, B({}, S)));
3641
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, T(H, Ge({}, H)));
3621
3642
  this.bumpSpace();
3622
- var L = this.parseIdentifierIfPossible(), y = 0;
3623
- if (a !== "select" && L.value === "offset") {
3643
+ var I = this.parseIdentifierIfPossible(), y = 0;
3644
+ if (a !== "select" && I.value === "offset") {
3624
3645
  if (!this.bumpIf(":"))
3625
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3646
+ return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3626
3647
  this.bumpSpace();
3627
- var f = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3648
+ var f = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3628
3649
  if (f.err)
3629
3650
  return f;
3630
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), y = f.val;
3651
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), y = f.val;
3631
3652
  }
3632
- var M = this.tryParsePluralOrSelectOptions(t, a, r, L);
3653
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
3633
3654
  if (M.err)
3634
3655
  return M;
3635
3656
  var m = this.tryParseArgumentClose(i);
@@ -3638,17 +3659,17 @@ var mo = (
3638
3659
  var _ = T(i, this.clonePosition());
3639
3660
  return a === "select" ? {
3640
3661
  val: {
3641
- type: N.select,
3662
+ type: C.select,
3642
3663
  value: n,
3643
- options: Yt(M.val),
3664
+ options: Kt(M.val),
3644
3665
  location: _
3645
3666
  },
3646
3667
  err: null
3647
3668
  } : {
3648
3669
  val: {
3649
- type: N.plural,
3670
+ type: C.plural,
3650
3671
  value: n,
3651
- options: Yt(M.val),
3672
+ options: Kt(M.val),
3652
3673
  offset: y,
3653
3674
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3654
3675
  location: _
@@ -3657,10 +3678,10 @@ var mo = (
3657
3678
  };
3658
3679
  }
3659
3680
  default:
3660
- return this.error(H.INVALID_ARGUMENT_TYPE, T(s, u));
3681
+ return this.error(S.INVALID_ARGUMENT_TYPE, T(s, u));
3661
3682
  }
3662
3683
  }, e.prototype.tryParseArgumentClose = function(t) {
3663
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3684
+ return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3664
3685
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3665
3686
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3666
3687
  var n = this.char();
@@ -3669,7 +3690,7 @@ var mo = (
3669
3690
  this.bump();
3670
3691
  var i = this.clonePosition();
3671
3692
  if (!this.bumpUntil("'"))
3672
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3693
+ return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3673
3694
  this.bump();
3674
3695
  break;
3675
3696
  }
@@ -3699,16 +3720,16 @@ var mo = (
3699
3720
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3700
3721
  var n = [];
3701
3722
  try {
3702
- n = zi(t);
3723
+ n = Zi(t);
3703
3724
  } catch {
3704
- return this.error(H.INVALID_NUMBER_SKELETON, r);
3725
+ return this.error(S.INVALID_NUMBER_SKELETON, r);
3705
3726
  }
3706
3727
  return {
3707
3728
  val: {
3708
- type: me.number,
3729
+ type: fe.number,
3709
3730
  tokens: n,
3710
3731
  location: r,
3711
- parsedOptions: this.shouldParseSkeletons ? Ji(n) : {}
3732
+ parsedOptions: this.shouldParseSkeletons ? Yi(n) : {}
3712
3733
  },
3713
3734
  err: null
3714
3735
  };
@@ -3717,7 +3738,7 @@ var mo = (
3717
3738
  if (l.length === 0) {
3718
3739
  var f = this.clonePosition();
3719
3740
  if (r !== "select" && this.bumpIf("=")) {
3720
- var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3741
+ var c = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3721
3742
  if (c.err)
3722
3743
  return c;
3723
3744
  h = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
@@ -3725,11 +3746,11 @@ var mo = (
3725
3746
  break;
3726
3747
  }
3727
3748
  if (u.has(l))
3728
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3749
+ return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3729
3750
  l === "other" && (s = !0), this.bumpSpace();
3730
3751
  var d = this.clonePosition();
3731
3752
  if (!this.bumpIf("{"))
3732
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3753
+ return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3733
3754
  var m = this.parseMessage(t + 1, r, n);
3734
3755
  if (m.err)
3735
3756
  return m;
@@ -3744,7 +3765,7 @@ var mo = (
3744
3765
  }
3745
3766
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3746
3767
  }
3747
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(H.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3768
+ return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3748
3769
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3749
3770
  var n = 1, i = this.clonePosition();
3750
3771
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3756,7 +3777,7 @@ var mo = (
3756
3777
  break;
3757
3778
  }
3758
3779
  var u = T(i, this.clonePosition());
3759
- return o ? (s *= n, lo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3780
+ return o ? (s *= n, ho(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3760
3781
  }, e.prototype.offset = function() {
3761
3782
  return this.position.offset;
3762
3783
  }, e.prototype.isEOF = function() {
@@ -3790,7 +3811,7 @@ var mo = (
3790
3811
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3791
3812
  }
3792
3813
  }, e.prototype.bumpIf = function(t) {
3793
- if (Jt(this.message, t, this.offset())) {
3814
+ if (Yt(this.message, t, this.offset())) {
3794
3815
  for (var r = 0; r < t.length; r++)
3795
3816
  this.bump();
3796
3817
  return !0;
@@ -3822,47 +3843,47 @@ var mo = (
3822
3843
  }, e;
3823
3844
  }()
3824
3845
  );
3825
- function pt(e) {
3846
+ function _t(e) {
3826
3847
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3827
3848
  }
3828
- function po(e) {
3829
- return pt(e) || e === 47;
3830
- }
3831
3849
  function go(e) {
3850
+ return _t(e) || e === 47;
3851
+ }
3852
+ function bo(e) {
3832
3853
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3833
3854
  }
3834
3855
  function Kr(e) {
3835
3856
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3836
3857
  }
3837
- function bo(e) {
3858
+ function yo(e) {
3838
3859
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3839
3860
  }
3840
- function gt(e) {
3861
+ function vt(e) {
3841
3862
  e.forEach(function(t) {
3842
3863
  if (delete t.location, jr(t) || Vr(t))
3843
3864
  for (var r in t.options)
3844
- delete t.options[r].location, gt(t.options[r].value);
3865
+ delete t.options[r].location, vt(t.options[r].value);
3845
3866
  else
3846
- $r(t) && Xr(t.style) || (Gr(t) || kr(t)) && ct(t.style) ? delete t.style.location : Wr(t) && gt(t.children);
3867
+ Dr(t) && Xr(t.style) || (Gr(t) || kr(t)) && pt(t.style) ? delete t.style.location : Wr(t) && vt(t.children);
3847
3868
  });
3848
3869
  }
3849
- function yo(e, t) {
3850
- t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3851
- var r = new mo(e, t).parse();
3870
+ function _o(e, t) {
3871
+ t === void 0 && (t = {}), t = Ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3872
+ var r = new po(e, t).parse();
3852
3873
  if (r.err) {
3853
- var n = SyntaxError(H[r.err.kind]);
3874
+ var n = SyntaxError(S[r.err.kind]);
3854
3875
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3855
3876
  }
3856
- return t?.captureLocation || gt(r.val), r.val;
3877
+ return t?.captureLocation || vt(r.val), r.val;
3857
3878
  }
3858
- var de;
3879
+ var me;
3859
3880
  (function(e) {
3860
3881
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3861
- })(de || (de = {}));
3862
- var We = (
3882
+ })(me || (me = {}));
3883
+ var ze = (
3863
3884
  /** @class */
3864
3885
  function(e) {
3865
- Z(t, e);
3886
+ Xe(t, e);
3866
3887
  function t(r, n, i) {
3867
3888
  var o = e.call(this, r) || this;
3868
3889
  return o.code = n, o.originalMessage = i, o;
@@ -3871,48 +3892,48 @@ var We = (
3871
3892
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3872
3893
  }, t;
3873
3894
  }(Error)
3874
- ), er = (
3895
+ ), tr = (
3875
3896
  /** @class */
3876
3897
  function(e) {
3877
- Z(t, e);
3898
+ Xe(t, e);
3878
3899
  function t(r, n, i, o) {
3879
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3900
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3880
3901
  }
3881
3902
  return t;
3882
- }(We)
3883
- ), _o = (
3903
+ }(ze)
3904
+ ), vo = (
3884
3905
  /** @class */
3885
3906
  function(e) {
3886
- Z(t, e);
3907
+ Xe(t, e);
3887
3908
  function t(r, n, i) {
3888
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3909
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3889
3910
  }
3890
3911
  return t;
3891
- }(We)
3892
- ), vo = (
3912
+ }(ze)
3913
+ ), xo = (
3893
3914
  /** @class */
3894
3915
  function(e) {
3895
- Z(t, e);
3916
+ Xe(t, e);
3896
3917
  function t(r, n) {
3897
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3918
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3898
3919
  }
3899
3920
  return t;
3900
- }(We)
3921
+ }(ze)
3901
3922
  ), F;
3902
3923
  (function(e) {
3903
3924
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3904
3925
  })(F || (F = {}));
3905
- function xo(e) {
3926
+ function Eo(e) {
3906
3927
  return e.length < 2 ? e : e.reduce(function(t, r) {
3907
3928
  var n = t[t.length - 1];
3908
3929
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3909
3930
  }, []);
3910
3931
  }
3911
- function Eo(e) {
3932
+ function wo(e) {
3912
3933
  return typeof e == "function";
3913
3934
  }
3914
3935
  function Ne(e, t, r, n, i, o, s) {
3915
- if (e.length === 1 && zt(e[0]))
3936
+ if (e.length === 1 && Zt(e[0]))
3916
3937
  return [
3917
3938
  {
3918
3939
  type: F.literal,
@@ -3921,14 +3942,14 @@ function Ne(e, t, r, n, i, o, s) {
3921
3942
  ];
3922
3943
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3923
3944
  var h = l[u];
3924
- if (zt(h)) {
3945
+ if (Zt(h)) {
3925
3946
  a.push({
3926
3947
  type: F.literal,
3927
3948
  value: h.value
3928
3949
  });
3929
3950
  continue;
3930
3951
  }
3931
- if (ji(h)) {
3952
+ if (Vi(h)) {
3932
3953
  typeof o == "number" && a.push({
3933
3954
  type: F.literal,
3934
3955
  value: r.getNumberFormat(t).format(o)
@@ -3937,9 +3958,9 @@ function Ne(e, t, r, n, i, o, s) {
3937
3958
  }
3938
3959
  var f = h.value;
3939
3960
  if (!(i && f in i))
3940
- throw new vo(f, s);
3961
+ throw new xo(f, s);
3941
3962
  var c = i[f];
3942
- if (ki(h)) {
3963
+ if (ji(h)) {
3943
3964
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3944
3965
  type: typeof c == "string" ? F.literal : F.object,
3945
3966
  value: c
@@ -3947,7 +3968,7 @@ function Ne(e, t, r, n, i, o, s) {
3947
3968
  continue;
3948
3969
  }
3949
3970
  if (Gr(h)) {
3950
- var d = typeof h.style == "string" ? n.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
3971
+ var d = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
3951
3972
  a.push({
3952
3973
  type: F.literal,
3953
3974
  value: r.getDateTimeFormat(t, d).format(c)
@@ -3955,14 +3976,14 @@ function Ne(e, t, r, n, i, o, s) {
3955
3976
  continue;
3956
3977
  }
3957
3978
  if (kr(h)) {
3958
- var d = typeof h.style == "string" ? n.time[h.style] : ct(h.style) ? h.style.parsedOptions : n.time.medium;
3979
+ var d = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
3959
3980
  a.push({
3960
3981
  type: F.literal,
3961
3982
  value: r.getDateTimeFormat(t, d).format(c)
3962
3983
  });
3963
3984
  continue;
3964
3985
  }
3965
- if ($r(h)) {
3986
+ if (Dr(h)) {
3966
3987
  var d = typeof h.style == "string" ? n.number[h.style] : Xr(h.style) ? h.style.parsedOptions : void 0;
3967
3988
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3968
3989
  type: F.literal,
@@ -3972,12 +3993,12 @@ function Ne(e, t, r, n, i, o, s) {
3972
3993
  }
3973
3994
  if (Wr(h)) {
3974
3995
  var m = h.children, b = h.value, w = i[b];
3975
- if (!Eo(w))
3976
- throw new _o(b, "function", s);
3977
- var O = Ne(m, t, r, n, i, o), I = w(O.map(function(y) {
3996
+ if (!wo(w))
3997
+ throw new vo(b, "function", s);
3998
+ var O = Ne(m, t, r, n, i, o), P = w(O.map(function(y) {
3978
3999
  return y.value;
3979
4000
  }));
3980
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(y) {
4001
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(y) {
3981
4002
  return {
3982
4003
  type: typeof y == "string" ? F.literal : F.object,
3983
4004
  value: y
@@ -3985,41 +4006,41 @@ function Ne(e, t, r, n, i, o, s) {
3985
4006
  }));
3986
4007
  }
3987
4008
  if (jr(h)) {
3988
- var S = h.options[c] || h.options.other;
3989
- if (!S)
3990
- throw new er(h.value, c, Object.keys(h.options), s);
3991
- a.push.apply(a, Ne(S.value, t, r, n, i));
4009
+ var H = h.options[c] || h.options.other;
4010
+ if (!H)
4011
+ throw new tr(h.value, c, Object.keys(h.options), s);
4012
+ a.push.apply(a, Ne(H.value, t, r, n, i));
3992
4013
  continue;
3993
4014
  }
3994
4015
  if (Vr(h)) {
3995
- var S = h.options["=".concat(c)];
3996
- if (!S) {
4016
+ var H = h.options["=".concat(c)];
4017
+ if (!H) {
3997
4018
  if (!Intl.PluralRules)
3998
- throw new We(`Intl.PluralRules is not available in this environment.
4019
+ throw new ze(`Intl.PluralRules is not available in this environment.
3999
4020
  Try polyfilling it using "@formatjs/intl-pluralrules"
4000
- `, de.MISSING_INTL_API, s);
4001
- var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4002
- S = h.options[L] || h.options.other;
4021
+ `, me.MISSING_INTL_API, s);
4022
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4023
+ H = h.options[I] || h.options.other;
4003
4024
  }
4004
- if (!S)
4005
- throw new er(h.value, c, Object.keys(h.options), s);
4006
- a.push.apply(a, Ne(S.value, t, r, n, i, c - (h.offset || 0)));
4025
+ if (!H)
4026
+ throw new tr(h.value, c, Object.keys(h.options), s);
4027
+ a.push.apply(a, Ne(H.value, t, r, n, i, c - (h.offset || 0)));
4007
4028
  continue;
4008
4029
  }
4009
4030
  }
4010
- return xo(a);
4031
+ return Eo(a);
4011
4032
  }
4012
- function wo(e, t) {
4013
- return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4014
- return r[n] = B(B({}, e[n]), t[n] || {}), r;
4033
+ function So(e, t) {
4034
+ return t ? V(V(V({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4035
+ return r[n] = V(V({}, e[n]), t[n] || {}), r;
4015
4036
  }, {})) : e;
4016
4037
  }
4017
4038
  function Ho(e, t) {
4018
4039
  return t ? Object.keys(e).reduce(function(r, n) {
4019
- return r[n] = wo(e[n], t[n]), r;
4020
- }, B({}, e)) : e;
4040
+ return r[n] = So(e[n], t[n]), r;
4041
+ }, V({}, e)) : e;
4021
4042
  }
4022
- function rt(e) {
4043
+ function it(e) {
4023
4044
  return {
4024
4045
  create: function() {
4025
4046
  return {
@@ -4033,39 +4054,39 @@ function rt(e) {
4033
4054
  }
4034
4055
  };
4035
4056
  }
4036
- function So(e) {
4057
+ function To(e) {
4037
4058
  return e === void 0 && (e = {
4038
4059
  number: {},
4039
4060
  dateTime: {},
4040
4061
  pluralRules: {}
4041
4062
  }), {
4042
- getNumberFormat: Ke(function() {
4063
+ getNumberFormat: tt(function() {
4043
4064
  for (var t, r = [], n = 0; n < arguments.length; n++)
4044
4065
  r[n] = arguments[n];
4045
- return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
4066
+ return new ((t = Intl.NumberFormat).bind.apply(t, et([void 0], r, !1)))();
4046
4067
  }, {
4047
- cache: rt(e.number),
4048
- strategy: et.variadic
4068
+ cache: it(e.number),
4069
+ strategy: rt.variadic
4049
4070
  }),
4050
- getDateTimeFormat: Ke(function() {
4071
+ getDateTimeFormat: tt(function() {
4051
4072
  for (var t, r = [], n = 0; n < arguments.length; n++)
4052
4073
  r[n] = arguments[n];
4053
- return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
4074
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, et([void 0], r, !1)))();
4054
4075
  }, {
4055
- cache: rt(e.dateTime),
4056
- strategy: et.variadic
4076
+ cache: it(e.dateTime),
4077
+ strategy: rt.variadic
4057
4078
  }),
4058
- getPluralRules: Ke(function() {
4079
+ getPluralRules: tt(function() {
4059
4080
  for (var t, r = [], n = 0; n < arguments.length; n++)
4060
4081
  r[n] = arguments[n];
4061
- return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
4082
+ return new ((t = Intl.PluralRules).bind.apply(t, et([void 0], r, !1)))();
4062
4083
  }, {
4063
- cache: rt(e.pluralRules),
4064
- strategy: et.variadic
4084
+ cache: it(e.pluralRules),
4085
+ strategy: rt.variadic
4065
4086
  })
4066
4087
  };
4067
4088
  }
4068
- var To = (
4089
+ var Mo = (
4069
4090
  /** @class */
4070
4091
  function() {
4071
4092
  function e(t, r, n, i) {
@@ -4097,13 +4118,13 @@ var To = (
4097
4118
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4098
4119
  var s = i || {};
4099
4120
  s.formatters;
4100
- var a = ii(s, ["formatters"]);
4101
- this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
4121
+ var a = Ni(s, ["formatters"]);
4122
+ this.ast = e.__parse(t, V(V({}, a), { locale: this.resolvedLocale }));
4102
4123
  } else
4103
4124
  this.ast = t;
4104
4125
  if (!Array.isArray(this.ast))
4105
4126
  throw new TypeError("A message must be provided as a String or AST.");
4106
- this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || So(this.formatterCache);
4127
+ this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || To(this.formatterCache);
4107
4128
  }
4108
4129
  return Object.defineProperty(e, "defaultLocale", {
4109
4130
  get: function() {
@@ -4116,7 +4137,7 @@ var To = (
4116
4137
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4117
4138
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4118
4139
  }
4119
- }, e.__parse = yo, e.formats = {
4140
+ }, e.__parse = _o, e.formats = {
4120
4141
  number: {
4121
4142
  integer: {
4122
4143
  maximumFractionDigits: 0
@@ -4177,7 +4198,7 @@ var To = (
4177
4198
  }, e;
4178
4199
  }()
4179
4200
  );
4180
- function Mo(e, t) {
4201
+ function Ao(e, t) {
4181
4202
  if (t == null)
4182
4203
  return;
4183
4204
  if (t in e)
@@ -4203,31 +4224,31 @@ const J = {}, Bo = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
4203
4224
  return;
4204
4225
  if (t in J && e in J[t])
4205
4226
  return J[t][e];
4206
- const r = Xe(t);
4227
+ const r = Ze(t);
4207
4228
  for (let n = 0; n < r.length; n++) {
4208
- const i = r[n], o = Po(i, e);
4229
+ const i = r[n], o = Oo(i, e);
4209
4230
  if (o)
4210
4231
  return Bo(e, t, o);
4211
4232
  }
4212
4233
  };
4213
- let wt;
4214
- const Me = Ve({});
4215
- function Ao(e) {
4216
- return wt[e] || null;
4234
+ let Ht;
4235
+ const Me = We({});
4236
+ function Po(e) {
4237
+ return Ht[e] || null;
4217
4238
  }
4218
4239
  function tn(e) {
4219
- return e in wt;
4240
+ return e in Ht;
4220
4241
  }
4221
- function Po(e, t) {
4242
+ function Oo(e, t) {
4222
4243
  if (!tn(e))
4223
4244
  return null;
4224
- const r = Ao(e);
4225
- return Mo(r, t);
4245
+ const r = Po(e);
4246
+ return Ao(r, t);
4226
4247
  }
4227
4248
  function Io(e) {
4228
4249
  if (e == null)
4229
4250
  return;
4230
- const t = Xe(e);
4251
+ const t = Ze(e);
4231
4252
  for (let r = 0; r < t.length; r++) {
4232
4253
  const n = t[r];
4233
4254
  if (tn(n))
@@ -4235,55 +4256,55 @@ function Io(e) {
4235
4256
  }
4236
4257
  }
4237
4258
  function rn(e, ...t) {
4238
- delete J[e], Me.update((r) => (r[e] = Ni.all([r[e] || {}, ...t]), r));
4259
+ delete J[e], Me.update((r) => (r[e] = Ci.all([r[e] || {}, ...t]), r));
4239
4260
  }
4240
- be(
4261
+ ge(
4241
4262
  [Me],
4242
4263
  ([e]) => Object.keys(e)
4243
4264
  );
4244
- Me.subscribe((e) => wt = e);
4265
+ Me.subscribe((e) => Ht = e);
4245
4266
  const Re = {};
4246
- function Oo(e, t) {
4267
+ function Lo(e, t) {
4247
4268
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4248
4269
  }
4249
4270
  function nn(e) {
4250
4271
  return Re[e];
4251
4272
  }
4252
- function Lo(e) {
4253
- return Xe(e).map((t) => {
4273
+ function Co(e) {
4274
+ return Ze(e).map((t) => {
4254
4275
  const r = nn(t);
4255
4276
  return [t, r ? [...r] : []];
4256
4277
  }).filter(([, t]) => t.length > 0);
4257
4278
  }
4258
- function bt(e) {
4259
- return e == null ? !1 : Xe(e).some(
4279
+ function xt(e) {
4280
+ return e == null ? !1 : Ze(e).some(
4260
4281
  (t) => {
4261
4282
  var r;
4262
4283
  return (r = nn(t)) == null ? void 0 : r.size;
4263
4284
  }
4264
4285
  );
4265
4286
  }
4266
- function Co(e, t) {
4287
+ function No(e, t) {
4267
4288
  return Promise.all(
4268
- t.map((n) => (Oo(e, n), n().then((i) => i.default || i)))
4289
+ t.map((n) => (Lo(e, n), n().then((i) => i.default || i)))
4269
4290
  ).then((n) => rn(e, ...n));
4270
4291
  }
4271
- const xe = {};
4292
+ const ve = {};
4272
4293
  function on(e) {
4273
- if (!bt(e))
4274
- return e in xe ? xe[e] : Promise.resolve();
4275
- const t = Lo(e);
4276
- return xe[e] = Promise.all(
4294
+ if (!xt(e))
4295
+ return e in ve ? ve[e] : Promise.resolve();
4296
+ const t = Co(e);
4297
+ return ve[e] = Promise.all(
4277
4298
  t.map(
4278
- ([r, n]) => Co(r, n)
4299
+ ([r, n]) => No(r, n)
4279
4300
  )
4280
4301
  ).then(() => {
4281
- if (bt(e))
4302
+ if (xt(e))
4282
4303
  return on(e);
4283
- delete xe[e];
4284
- }), xe[e];
4304
+ delete ve[e];
4305
+ }), ve[e];
4285
4306
  }
4286
- const No = {
4307
+ const Ro = {
4287
4308
  number: {
4288
4309
  scientific: { notation: "scientific" },
4289
4310
  engineering: { notation: "engineering" },
@@ -4312,135 +4333,135 @@ const No = {
4312
4333
  timeZoneName: "short"
4313
4334
  }
4314
4335
  }
4315
- }, Ro = {
4336
+ }, Fo = {
4316
4337
  fallbackLocale: null,
4317
4338
  loadingDelay: 200,
4318
- formats: No,
4339
+ formats: Ro,
4319
4340
  warnOnMissingMessages: !0,
4320
4341
  handleMissingMessage: void 0,
4321
4342
  ignoreTag: !0
4322
- }, Fo = Ro;
4323
- function pe() {
4324
- return Fo;
4343
+ }, Uo = Fo;
4344
+ function de() {
4345
+ return Uo;
4325
4346
  }
4326
- const nt = Ve(!1);
4327
- var Uo = Object.defineProperty, Do = Object.defineProperties, $o = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, Go = Object.prototype.hasOwnProperty, ko = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jo = (e, t) => {
4347
+ const ot = We(!1);
4348
+ var $o = Object.defineProperty, Do = Object.defineProperties, Go = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, jo = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? $o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vo = (e, t) => {
4328
4349
  for (var r in t || (t = {}))
4329
- Go.call(t, r) && rr(e, r, t[r]);
4330
- if (tr)
4331
- for (var r of tr(t))
4332
- ko.call(t, r) && rr(e, r, t[r]);
4350
+ ko.call(t, r) && nr(e, r, t[r]);
4351
+ if (rr)
4352
+ for (var r of rr(t))
4353
+ jo.call(t, r) && nr(e, r, t[r]);
4333
4354
  return e;
4334
- }, Vo = (e, t) => Do(e, $o(t));
4335
- let yt;
4336
- const Ge = Ve(null);
4337
- function nr(e) {
4355
+ }, Wo = (e, t) => Do(e, Go(t));
4356
+ let Et;
4357
+ const ke = We(null);
4358
+ function ir(e) {
4338
4359
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4339
4360
  }
4340
- function Xe(e, t = pe().fallbackLocale) {
4341
- const r = nr(e);
4342
- return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
4361
+ function Ze(e, t = de().fallbackLocale) {
4362
+ const r = ir(e);
4363
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4343
4364
  }
4344
4365
  function re() {
4345
- return yt ?? void 0;
4366
+ return Et ?? void 0;
4346
4367
  }
4347
- Ge.subscribe((e) => {
4348
- yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4368
+ ke.subscribe((e) => {
4369
+ Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4349
4370
  });
4350
- const Wo = (e) => {
4351
- if (e && Io(e) && bt(e)) {
4352
- const { loadingDelay: t } = pe();
4371
+ const Xo = (e) => {
4372
+ if (e && Io(e) && xt(e)) {
4373
+ const { loadingDelay: t } = de();
4353
4374
  let r;
4354
4375
  return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4355
- () => nt.set(!0),
4376
+ () => ot.set(!0),
4356
4377
  t
4357
- ) : nt.set(!0), on(e).then(() => {
4358
- Ge.set(e);
4378
+ ) : ot.set(!0), on(e).then(() => {
4379
+ ke.set(e);
4359
4380
  }).finally(() => {
4360
- clearTimeout(r), nt.set(!1);
4381
+ clearTimeout(r), ot.set(!1);
4361
4382
  });
4362
4383
  }
4363
- return Ge.set(e);
4364
- }, ye = Vo(jo({}, Ge), {
4365
- set: Wo
4366
- }), ze = (e) => {
4384
+ return ke.set(e);
4385
+ }, be = Wo(Vo({}, ke), {
4386
+ set: Xo
4387
+ }), qe = (e) => {
4367
4388
  const t = /* @__PURE__ */ Object.create(null);
4368
4389
  return (n) => {
4369
4390
  const i = JSON.stringify(n);
4370
4391
  return i in t ? t[i] : t[i] = e(n);
4371
4392
  };
4372
4393
  };
4373
- var Xo = Object.defineProperty, ke = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? Xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
4394
+ var zo = Object.defineProperty, je = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
4374
4395
  for (var r in t || (t = {}))
4375
- sn.call(t, r) && ir(e, r, t[r]);
4376
- if (ke)
4377
- for (var r of ke(t))
4378
- an.call(t, r) && ir(e, r, t[r]);
4396
+ sn.call(t, r) && or(e, r, t[r]);
4397
+ if (je)
4398
+ for (var r of je(t))
4399
+ an.call(t, r) && or(e, r, t[r]);
4379
4400
  return e;
4380
- }, _e = (e, t) => {
4401
+ }, ye = (e, t) => {
4381
4402
  var r = {};
4382
4403
  for (var n in e)
4383
4404
  sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4384
- if (e != null && ke)
4385
- for (var n of ke(e))
4405
+ if (e != null && je)
4406
+ for (var n of je(e))
4386
4407
  t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4387
4408
  return r;
4388
4409
  };
4389
4410
  const Se = (e, t) => {
4390
- const { formats: r } = pe();
4411
+ const { formats: r } = de();
4391
4412
  if (e in r && t in r[e])
4392
4413
  return r[e][t];
4393
4414
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4394
- }, zo = ze(
4415
+ }, Zo = qe(
4395
4416
  (e) => {
4396
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4417
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4397
4418
  if (r == null)
4398
4419
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4399
4420
  return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4400
4421
  }
4401
- ), Zo = ze(
4422
+ ), qo = qe(
4402
4423
  (e) => {
4403
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4424
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4404
4425
  if (r == null)
4405
4426
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4406
4427
  return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4407
4428
  }
4408
- ), qo = ze(
4429
+ ), Qo = qe(
4409
4430
  (e) => {
4410
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4431
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4411
4432
  if (r == null)
4412
4433
  throw new Error(
4413
4434
  '[svelte-i18n] A "locale" must be set to format time values'
4414
4435
  );
4415
4436
  return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4416
4437
  }
4417
- ), Qo = (e = {}) => {
4438
+ ), Jo = (e = {}) => {
4418
4439
  var t = e, {
4419
4440
  locale: r = re()
4420
- } = t, n = _e(t, [
4441
+ } = t, n = ye(t, [
4421
4442
  "locale"
4422
4443
  ]);
4423
- return zo(Ht({ locale: r }, n));
4424
- }, Jo = (e = {}) => {
4444
+ return Zo(Tt({ locale: r }, n));
4445
+ }, Yo = (e = {}) => {
4425
4446
  var t = e, {
4426
4447
  locale: r = re()
4427
- } = t, n = _e(t, [
4448
+ } = t, n = ye(t, [
4428
4449
  "locale"
4429
4450
  ]);
4430
- return Zo(Ht({ locale: r }, n));
4431
- }, Yo = (e = {}) => {
4451
+ return qo(Tt({ locale: r }, n));
4452
+ }, Ko = (e = {}) => {
4432
4453
  var t = e, {
4433
4454
  locale: r = re()
4434
- } = t, n = _e(t, [
4455
+ } = t, n = ye(t, [
4435
4456
  "locale"
4436
4457
  ]);
4437
- return qo(Ht({ locale: r }, n));
4438
- }, Ko = ze(
4458
+ return Qo(Tt({ locale: r }, n));
4459
+ }, es = qe(
4439
4460
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4440
- (e, t = re()) => new To(e, t, pe().formats, {
4441
- ignoreTag: pe().ignoreTag
4461
+ (e, t = re()) => new Mo(e, t, de().formats, {
4462
+ ignoreTag: de().ignoreTag
4442
4463
  })
4443
- ), es = (e, t = {}) => {
4464
+ ), ts = (e, t = {}) => {
4444
4465
  var r, n, i, o;
4445
4466
  let s = t;
4446
4467
  typeof e == "object" && (s = e, e = s.id);
@@ -4455,7 +4476,7 @@ const Se = (e, t) => {
4455
4476
  );
4456
4477
  let h = en(e, u);
4457
4478
  if (!h)
4458
- h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4479
+ h = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4459
4480
  else if (typeof h != "string")
4460
4481
  return console.warn(
4461
4482
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4464,7 +4485,7 @@ const Se = (e, t) => {
4464
4485
  return h;
4465
4486
  let f = h;
4466
4487
  try {
4467
- f = Ko(h, u).format(a);
4488
+ f = es(h, u).format(a);
4468
4489
  } catch (c) {
4469
4490
  c instanceof Error && console.warn(
4470
4491
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4472,20 +4493,20 @@ const Se = (e, t) => {
4472
4493
  );
4473
4494
  }
4474
4495
  return f;
4475
- }, ts = (e, t) => Yo(t).format(e), rs = (e, t) => Jo(t).format(e), ns = (e, t) => Qo(t).format(e), is = (e, t = re()) => en(e, t), os = be([ye, Me], () => es);
4476
- be([ye], () => ts);
4477
- be([ye], () => rs);
4478
- be([ye], () => ns);
4479
- be([ye, Me], () => is);
4480
- window.emWidgets = { topic: yi };
4481
- const ss = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ss = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4482
- function as(e, t) {
4496
+ }, rs = (e, t) => Ko(t).format(e), ns = (e, t) => Yo(t).format(e), is = (e, t) => Jo(t).format(e), os = (e, t = re()) => en(e, t), ss = ge([be, Me], () => ts);
4497
+ ge([be], () => rs);
4498
+ ge([be], () => ns);
4499
+ ge([be], () => is);
4500
+ ge([be, Me], () => os);
4501
+ window.emWidgets = { topic: bi };
4502
+ const as = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ts = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4503
+ function us(e, t) {
4483
4504
  if (e) {
4484
4505
  const r = document.createElement("style");
4485
4506
  r.innerHTML = t, e.appendChild(r);
4486
4507
  }
4487
4508
  }
4488
- function us(e, t) {
4509
+ function ls(e, t) {
4489
4510
  const r = new URL(t);
4490
4511
  fetch(r.href).then((n) => n.text()).then((n) => {
4491
4512
  const i = document.createElement("style");
@@ -4494,7 +4515,7 @@ function us(e, t) {
4494
4515
  console.error("There was an error while trying to load client styling from URL", n);
4495
4516
  });
4496
4517
  }
4497
- function ls(e, t, r) {
4518
+ function hs(e, t, r) {
4498
4519
  if (window.emMessageBus) {
4499
4520
  const n = document.createElement("style");
4500
4521
  window.emMessageBus.subscribe(t, (i) => {
@@ -4502,7 +4523,7 @@ function ls(e, t, r) {
4502
4523
  });
4503
4524
  }
4504
4525
  }
4505
- function or(e, { delay: t = 0, duration: r = 400, easing: n = xr } = {}) {
4526
+ function sr(e, { delay: t = 0, duration: r = 400, easing: n = Er } = {}) {
4506
4527
  const i = +getComputedStyle(e).opacity;
4507
4528
  return {
4508
4529
  delay: t,
@@ -4511,13 +4532,13 @@ function or(e, { delay: t = 0, duration: r = 400, easing: n = xr } = {}) {
4511
4532
  css: (o) => `opacity: ${o * i}`
4512
4533
  };
4513
4534
  }
4514
- function sr(e, t) {
4535
+ function ar(e, t) {
4515
4536
  rn(e, t);
4516
4537
  }
4517
- function hs(e) {
4518
- ye.set(e);
4538
+ function cs(e) {
4539
+ be.set(e);
4519
4540
  }
4520
- const ar = {
4541
+ const ur = {
4521
4542
  en: {
4522
4543
  language: "Select Language"
4523
4544
  },
@@ -4552,70 +4573,70 @@ const ar = {
4552
4573
  language: "Select Language"
4553
4574
  }
4554
4575
  };
4555
- function cs(e) {
4556
- In(e, "svelte-1bq06b7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--color-primary);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04E)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4576
+ function fs(e) {
4577
+ On(e, "svelte-1bq06b7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--color-primary);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04E)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4557
4578
  }
4558
- function ur(e, t, r) {
4579
+ function lr(e, t, r) {
4559
4580
  const n = e.slice();
4560
4581
  return n[53] = t[r], n;
4561
4582
  }
4562
- function lr(e, t, r) {
4583
+ function hr(e, t, r) {
4563
4584
  const n = e.slice();
4564
4585
  return n[1] = t[r], n;
4565
4586
  }
4566
- function hr(e, t, r) {
4587
+ function cr(e, t, r) {
4567
4588
  const n = e.slice();
4568
4589
  return n[56] = t[r], n;
4569
4590
  }
4570
- function cr(e, t, r) {
4591
+ function fr(e, t, r) {
4571
4592
  const n = e.slice();
4572
4593
  return n[59] = t[r], n;
4573
4594
  }
4574
- const fs = (e) => ({}), fr = (e) => ({});
4575
- function mr(e) {
4595
+ const ms = (e) => ({}), mr = (e) => ({});
4596
+ function dr(e) {
4576
4597
  let t, r, n, i, o, s, a, u, l, h, f, c, d, m, b, w;
4577
4598
  const O = (
4578
4599
  /*#slots*/
4579
4600
  e[31].close
4580
- ), I = Sn(
4601
+ ), P = Hn(
4581
4602
  O,
4582
4603
  e,
4583
4604
  /*$$scope*/
4584
4605
  e[30],
4585
- fr
4586
- ), S = I || ms();
4587
- let L = Q(
4606
+ mr
4607
+ ), H = P || ds();
4608
+ let I = Q(
4588
4609
  /*HamburgerMenuItems*/
4589
4610
  e[4]
4590
4611
  ), y = [];
4591
- for (let v = 0; v < L.length; v += 1)
4592
- y[v] = dr(cr(e, L, v));
4612
+ for (let v = 0; v < I.length; v += 1)
4613
+ y[v] = pr(fr(e, I, v));
4593
4614
  let M = Q(
4594
4615
  /*activeMenuItemChildren*/
4595
4616
  e[6]
4596
4617
  ), _ = [];
4597
4618
  for (let v = 0; v < M.length; v += 1)
4598
- _[v] = pr(hr(e, M, v));
4619
+ _[v] = gr(cr(e, M, v));
4599
4620
  let A = (
4600
4621
  /*languagesArray*/
4601
- e[10].length > 1 && gr(e)
4622
+ e[10].length > 1 && br(e)
4602
4623
  );
4603
4624
  return {
4604
4625
  c() {
4605
- t = P("div"), r = P("span"), S && S.c(), i = $(), o = P("div"), s = P("ul");
4626
+ t = B("div"), r = B("span"), H && H.c(), i = D(), o = B("div"), s = B("ul");
4606
4627
  for (let v = 0; v < y.length; v += 1)
4607
4628
  y[v].c();
4608
- u = $(), l = P("ul");
4629
+ u = D(), l = B("ul");
4609
4630
  for (let v = 0; v < _.length; v += 1)
4610
4631
  _[v].c();
4611
- f = $(), A && A.c(), g(r, "class", n = /*modalIsOpen*/
4632
+ f = D(), A && A.c(), g(r, "class", n = /*modalIsOpen*/
4612
4633
  e[7] ? "ModalCloseBtn" : ""), g(r, "role", "button"), g(s, "class", a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4613
4634
  (e[8] ? "HamburgerPrimaryMenuFixed" : "")), g(l, "class", h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4614
4635
  (e[8] ? "HamburgerSecondaryMenuFixed" : "")), g(o, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4615
4636
  (e[7] ? "ActiveHamburgerMenu" : "")), g(t, "class", "HamburgerModalWindow");
4616
4637
  },
4617
- m(v, C) {
4618
- k(v, t, C), x(t, r), S && S.m(r, null), x(t, i), x(t, o), x(o, s);
4638
+ m(v, L) {
4639
+ k(v, t, L), x(t, r), H && H.m(r, null), x(t, i), x(t, o), x(o, s);
4619
4640
  for (let E = 0; E < y.length; E += 1)
4620
4641
  y[E] && y[E].m(s, null);
4621
4642
  x(o, u), x(o, l);
@@ -4628,10 +4649,10 @@ function mr(e) {
4628
4649
  e[14]
4629
4650
  ), b = !0);
4630
4651
  },
4631
- p(v, C) {
4632
- if (e = v, I && I.p && (!m || C[0] & /*$$scope*/
4652
+ p(v, L) {
4653
+ if (e = v, P && P.p && (!m || L[0] & /*$$scope*/
4633
4654
  1073741824) && Mn(
4634
- I,
4655
+ P,
4635
4656
  O,
4636
4657
  e,
4637
4658
  /*$$scope*/
@@ -4640,33 +4661,33 @@ function mr(e) {
4640
4661
  O,
4641
4662
  /*$$scope*/
4642
4663
  e[30],
4643
- C,
4644
- fs
4645
- ) : Bn(
4664
+ L,
4665
+ ms
4666
+ ) : An(
4646
4667
  /*$$scope*/
4647
4668
  e[30]
4648
4669
  ),
4649
- fr
4650
- ), (!m || C[0] & /*modalIsOpen*/
4670
+ mr
4671
+ ), (!m || L[0] & /*modalIsOpen*/
4651
4672
  128 && n !== (n = /*modalIsOpen*/
4652
- e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), C[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4673
+ e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), L[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4653
4674
  32816) {
4654
- L = Q(
4675
+ I = Q(
4655
4676
  /*HamburgerMenuItems*/
4656
4677
  e[4]
4657
4678
  );
4658
4679
  let E;
4659
- for (E = 0; E < L.length; E += 1) {
4660
- const j = cr(e, L, E);
4661
- y[E] ? y[E].p(j, C) : (y[E] = dr(j), y[E].c(), y[E].m(s, null));
4680
+ for (E = 0; E < I.length; E += 1) {
4681
+ const j = fr(e, I, E);
4682
+ y[E] ? y[E].p(j, L) : (y[E] = pr(j), y[E].c(), y[E].m(s, null));
4662
4683
  }
4663
4684
  for (; E < y.length; E += 1)
4664
4685
  y[E].d(1);
4665
- y.length = L.length;
4686
+ y.length = I.length;
4666
4687
  }
4667
- if ((!m || C[0] & /*menuIsFixed*/
4688
+ if ((!m || L[0] & /*menuIsFixed*/
4668
4689
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4669
- (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), C[0] & /*handleClick, activeMenuItemChildren*/
4690
+ (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), L[0] & /*handleClick, activeMenuItemChildren*/
4670
4691
  65600) {
4671
4692
  M = Q(
4672
4693
  /*activeMenuItemChildren*/
@@ -4674,34 +4695,34 @@ function mr(e) {
4674
4695
  );
4675
4696
  let E;
4676
4697
  for (E = 0; E < M.length; E += 1) {
4677
- const j = hr(e, M, E);
4678
- _[E] ? _[E].p(j, C) : (_[E] = pr(j), _[E].c(), _[E].m(l, null));
4698
+ const j = cr(e, M, E);
4699
+ _[E] ? _[E].p(j, L) : (_[E] = gr(j), _[E].c(), _[E].m(l, null));
4679
4700
  }
4680
4701
  for (; E < _.length; E += 1)
4681
4702
  _[E].d(1);
4682
4703
  _.length = M.length;
4683
4704
  }
4684
- (!m || C[0] & /*menuIsFixed*/
4705
+ (!m || L[0] & /*menuIsFixed*/
4685
4706
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4686
4707
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && g(l, "class", h), /*languagesArray*/
4687
- e[10].length > 1 ? A ? A.p(e, C) : (A = gr(e), A.c(), A.m(o, null)) : A && (A.d(1), A = null), (!m || C[0] & /*modalIsOpen*/
4708
+ e[10].length > 1 ? A ? A.p(e, L) : (A = br(e), A.c(), A.m(o, null)) : A && (A.d(1), A = null), (!m || L[0] & /*modalIsOpen*/
4688
4709
  128 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4689
4710
  (e[7] ? "ActiveHamburgerMenu" : ""))) && g(o, "class", c);
4690
4711
  },
4691
4712
  i(v) {
4692
- m || (le(S, v), v && ce(() => {
4693
- m && (d || (d = Ut(t, or, { transitionDuration: vr }, !0)), d.run(1));
4713
+ m || (le(H, v), v && he(() => {
4714
+ m && (d || (d = $t(t, sr, { transitionDuration: xr }, !0)), d.run(1));
4694
4715
  }), m = !0);
4695
4716
  },
4696
4717
  o(v) {
4697
- ot(S, v), v && (d || (d = Ut(t, or, { transitionDuration: vr }, !1)), d.run(0)), m = !1;
4718
+ at(H, v), v && (d || (d = $t(t, sr, { transitionDuration: xr }, !1)), d.run(0)), m = !1;
4698
4719
  },
4699
4720
  d(v) {
4700
- v && U(t), S && S.d(v), Fe(y, v), Fe(_, v), A && A.d(), e[38](null), v && d && d.end(), b = !1, w();
4721
+ v && U(t), H && H.d(v), Fe(y, v), Fe(_, v), A && A.d(), e[38](null), v && d && d.end(), b = !1, w();
4701
4722
  }
4702
4723
  };
4703
4724
  }
4704
- function ms(e) {
4725
+ function ds(e) {
4705
4726
  let t, r;
4706
4727
  return {
4707
4728
  c() {
@@ -4710,13 +4731,13 @@ function ms(e) {
4710
4731
  m(n, i) {
4711
4732
  k(n, t, i), x(t, r);
4712
4733
  },
4713
- p: D,
4734
+ p: $,
4714
4735
  d(n) {
4715
4736
  n && U(t);
4716
4737
  }
4717
4738
  };
4718
4739
  }
4719
- function dr(e) {
4740
+ function pr(e) {
4720
4741
  let t, r, n, i, o, s = (
4721
4742
  /*mainItem*/
4722
4743
  e[59].label + ""
@@ -4732,7 +4753,7 @@ function dr(e) {
4732
4753
  }
4733
4754
  return {
4734
4755
  c() {
4735
- t = P("li"), r = P("div"), n = P("img"), o = $(), a = K(s), u = $(), Y(n.src, i = /*mainItem*/
4756
+ t = B("li"), r = B("div"), n = B("img"), o = D(), a = K(s), u = D(), Y(n.src, i = /*mainItem*/
4736
4757
  e[59].img) || g(n, "src", i), g(n, "alt", "menu icon"), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4737
4758
  e[5] === /*mainItem*/
4738
4759
  e[59].id ? "ActiveItem" : "");
@@ -4745,7 +4766,7 @@ function dr(e) {
4745
4766
  16 && !Y(n.src, i = /*mainItem*/
4746
4767
  e[59].img) && g(n, "src", i), m[0] & /*HamburgerMenuItems*/
4747
4768
  16 && s !== (s = /*mainItem*/
4748
- e[59].label + "") && ge(a, s), m[0] & /*activeMenuItemId, HamburgerMenuItems*/
4769
+ e[59].label + "") && pe(a, s), m[0] & /*activeMenuItemId, HamburgerMenuItems*/
4749
4770
  48 && l !== (l = /*activeMenuItemId*/
4750
4771
  e[5] === /*mainItem*/
4751
4772
  e[59].id ? "ActiveItem" : "") && g(t, "class", l);
@@ -4755,7 +4776,7 @@ function dr(e) {
4755
4776
  }
4756
4777
  };
4757
4778
  }
4758
- function pr(e) {
4779
+ function gr(e) {
4759
4780
  let t, r, n, i, o = (
4760
4781
  /*secondaryItem*/
4761
4782
  e[56].label + ""
@@ -4772,7 +4793,7 @@ function pr(e) {
4772
4793
  }
4773
4794
  return {
4774
4795
  c() {
4775
- t = P("li"), r = P("img"), i = $(), s = K(o), a = $(), Y(r.src, n = /*secondaryItem*/
4796
+ t = B("li"), r = B("img"), i = D(), s = K(o), a = D(), Y(r.src, n = /*secondaryItem*/
4776
4797
  e[56].img) || g(r, "src", n), g(r, "alt", "menu icon");
4777
4798
  },
4778
4799
  m(f, c) {
@@ -4783,14 +4804,14 @@ function pr(e) {
4783
4804
  64 && !Y(r.src, n = /*secondaryItem*/
4784
4805
  e[56].img) && g(r, "src", n), c[0] & /*activeMenuItemChildren*/
4785
4806
  64 && o !== (o = /*secondaryItem*/
4786
- e[56].label + "") && ge(s, o);
4807
+ e[56].label + "") && pe(s, o);
4787
4808
  },
4788
4809
  d(f) {
4789
4810
  f && U(t), u = !1, l();
4790
4811
  }
4791
4812
  };
4792
4813
  }
4793
- function gr(e) {
4814
+ function br(e) {
4794
4815
  let t, r, n = (
4795
4816
  /*$_*/
4796
4817
  e[13]("language") + ""
@@ -4798,13 +4819,13 @@ function gr(e) {
4798
4819
  function s(l, h) {
4799
4820
  return (
4800
4821
  /*countryflaghamburger*/
4801
- l[0] !== "true" ? ps : ds
4822
+ l[0] !== "true" ? gs : ps
4802
4823
  );
4803
4824
  }
4804
4825
  let a = s(e), u = a(e);
4805
4826
  return {
4806
4827
  c() {
4807
- t = P("div"), r = P("span"), i = K(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4828
+ t = B("div"), r = B("span"), i = K(n), o = D(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4808
4829
  },
4809
4830
  m(l, h) {
4810
4831
  k(l, t, h), x(t, r), x(r, i), x(t, o), u.m(t, null);
@@ -4812,24 +4833,24 @@ function gr(e) {
4812
4833
  p(l, h) {
4813
4834
  h[0] & /*$_*/
4814
4835
  8192 && n !== (n = /*$_*/
4815
- l[13]("language") + "") && ge(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4836
+ l[13]("language") + "") && pe(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4816
4837
  },
4817
4838
  d(l) {
4818
4839
  l && U(t), u.d();
4819
4840
  }
4820
4841
  };
4821
4842
  }
4822
- function ds(e) {
4843
+ function ps(e) {
4823
4844
  let t, r, n, i, o, s, a, u = (
4824
4845
  /*selectedLanguage*/
4825
4846
  e[12].slice(-2) + ""
4826
- ), l, h, f, c, d, m, b, w, O, I, S, L, y = (
4847
+ ), l, h, f, c, d, m, b, w, O, P, H, I, y = (
4827
4848
  /*isOptionsListVisible*/
4828
- e[11] && br(e)
4849
+ e[11] && yr(e)
4829
4850
  );
4830
4851
  return {
4831
4852
  c() {
4832
- t = P("div"), r = P("div"), n = P("span"), i = P("img"), s = $(), a = P("span"), l = K(u), h = $(), f = P("span"), c = ee("svg"), d = ee("g"), m = ee("g"), b = ee("g"), w = ee("path"), I = $(), y && y.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4853
+ t = B("div"), r = B("div"), n = B("span"), i = B("img"), s = D(), a = B("span"), l = K(u), h = D(), f = B("span"), c = ee("svg"), d = ee("g"), m = ee("g"), b = ee("g"), w = ee("path"), P = D(), y && y.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4833
4854
  e[20](
4834
4855
  /*selectedLanguage*/
4835
4856
  e[12].slice(-2)
@@ -4837,12 +4858,12 @@ function ds(e) {
4837
4858
  (e[11] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4838
4859
  },
4839
4860
  m(M, _) {
4840
- k(M, t, _), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, l), x(r, h), x(r, f), x(f, c), x(c, d), x(d, m), x(m, b), x(b, w), x(t, I), y && y.m(t, null), S || (L = te(
4861
+ k(M, t, _), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, l), x(r, h), x(r, f), x(f, c), x(c, d), x(d, m), x(m, b), x(b, w), x(t, P), y && y.m(t, null), H || (I = te(
4841
4862
  r,
4842
4863
  "click",
4843
4864
  /*click_handler_2*/
4844
4865
  e[36]
4845
- ), S = !0);
4866
+ ), H = !0);
4846
4867
  },
4847
4868
  p(M, _) {
4848
4869
  _[0] & /*selectedLanguage, languagesArray*/
@@ -4852,30 +4873,30 @@ function ds(e) {
4852
4873
  M[12].slice(-2)
4853
4874
  )}.svg`) && g(i, "src", o), _[0] & /*selectedLanguage*/
4854
4875
  4096 && u !== (u = /*selectedLanguage*/
4855
- M[12].slice(-2) + "") && ge(l, u), _[0] & /*isOptionsListVisible*/
4876
+ M[12].slice(-2) + "") && pe(l, u), _[0] & /*isOptionsListVisible*/
4856
4877
  2048 && O !== (O = "TriangleInactive " + /*isOptionsListVisible*/
4857
4878
  (M[11] ? "TriangleActive" : "")) && g(f, "class", O), /*isOptionsListVisible*/
4858
- M[11] ? y ? y.p(M, _) : (y = br(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4879
+ M[11] ? y ? y.p(M, _) : (y = yr(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4859
4880
  },
4860
4881
  d(M) {
4861
- M && U(t), y && y.d(), S = !1, L();
4882
+ M && U(t), y && y.d(), H = !1, I();
4862
4883
  }
4863
4884
  };
4864
4885
  }
4865
- function ps(e) {
4886
+ function gs(e) {
4866
4887
  let t, r, n, i = Q(
4867
4888
  /*languagesArray*/
4868
4889
  e[10]
4869
4890
  ), o = [];
4870
4891
  for (let s = 0; s < i.length; s += 1)
4871
- o[s] = _r(lr(e, i, s));
4892
+ o[s] = vr(hr(e, i, s));
4872
4893
  return {
4873
4894
  c() {
4874
- t = P("select");
4895
+ t = B("select");
4875
4896
  for (let s = 0; s < o.length; s += 1)
4876
4897
  o[s].c();
4877
4898
  g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4878
- e[12] === void 0 && ce(() => (
4899
+ e[12] === void 0 && he(() => (
4879
4900
  /*select_change_handler*/
4880
4901
  e[34].call(t)
4881
4902
  ));
@@ -4884,7 +4905,7 @@ function ps(e) {
4884
4905
  k(s, t, a);
4885
4906
  for (let u = 0; u < o.length; u += 1)
4886
4907
  o[u] && o[u].m(t, null);
4887
- Nt(
4908
+ Rt(
4888
4909
  t,
4889
4910
  /*selectedLanguage*/
4890
4911
  e[12],
@@ -4913,35 +4934,35 @@ function ps(e) {
4913
4934
  );
4914
4935
  let u;
4915
4936
  for (u = 0; u < i.length; u += 1) {
4916
- const l = lr(s, i, u);
4917
- o[u] ? o[u].p(l, a) : (o[u] = _r(l), o[u].c(), o[u].m(t, null));
4937
+ const l = hr(s, i, u);
4938
+ o[u] ? o[u].p(l, a) : (o[u] = vr(l), o[u].c(), o[u].m(t, null));
4918
4939
  }
4919
4940
  for (; u < o.length; u += 1)
4920
4941
  o[u].d(1);
4921
4942
  o.length = i.length;
4922
4943
  }
4923
4944
  a[0] & /*selectedLanguage, languagesArray*/
4924
- 5120 && Nt(
4945
+ 5120 && Rt(
4925
4946
  t,
4926
4947
  /*selectedLanguage*/
4927
4948
  s[12]
4928
4949
  );
4929
4950
  },
4930
4951
  d(s) {
4931
- s && U(t), Fe(o, s), r = !1, z(n);
4952
+ s && U(t), Fe(o, s), r = !1, Z(n);
4932
4953
  }
4933
4954
  };
4934
4955
  }
4935
- function br(e) {
4956
+ function yr(e) {
4936
4957
  let t, r = Q(
4937
4958
  /*languagesArray*/
4938
4959
  e[10]
4939
4960
  ), n = [];
4940
4961
  for (let i = 0; i < r.length; i += 1)
4941
- n[i] = yr(ur(e, r, i));
4962
+ n[i] = _r(lr(e, r, i));
4942
4963
  return {
4943
4964
  c() {
4944
- t = P("div");
4965
+ t = B("div");
4945
4966
  for (let i = 0; i < n.length; i += 1)
4946
4967
  n[i].c();
4947
4968
  g(t, "class", "OptionList");
@@ -4960,8 +4981,8 @@ function br(e) {
4960
4981
  );
4961
4982
  let s;
4962
4983
  for (s = 0; s < r.length; s += 1) {
4963
- const a = ur(i, r, s);
4964
- n[s] ? n[s].p(a, o) : (n[s] = yr(a), n[s].c(), n[s].m(t, null));
4984
+ const a = lr(i, r, s);
4985
+ n[s] ? n[s].p(a, o) : (n[s] = _r(a), n[s].c(), n[s].m(t, null));
4965
4986
  }
4966
4987
  for (; s < n.length; s += 1)
4967
4988
  n[s].d(1);
@@ -4973,7 +4994,7 @@ function br(e) {
4973
4994
  }
4974
4995
  };
4975
4996
  }
4976
- function yr(e) {
4997
+ function _r(e) {
4977
4998
  let t, r, n, i, o, s, a = (
4978
4999
  /*operatorLanguage*/
4979
5000
  e[53] + ""
@@ -4989,7 +5010,7 @@ function yr(e) {
4989
5010
  }
4990
5011
  return {
4991
5012
  c() {
4992
- t = P("div"), r = P("span"), n = P("img"), o = $(), s = P("span"), u = K(a), l = $(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5013
+ t = B("div"), r = B("span"), n = B("img"), o = D(), s = B("span"), u = K(a), l = D(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4993
5014
  e[20](
4994
5015
  /*operatorLanguage*/
4995
5016
  e[53]
@@ -5006,22 +5027,22 @@ function yr(e) {
5006
5027
  e[53]
5007
5028
  )}.svg`) && g(n, "src", i), m[0] & /*languagesArray*/
5008
5029
  1024 && a !== (a = /*operatorLanguage*/
5009
- e[53] + "") && ge(u, a);
5030
+ e[53] + "") && pe(u, a);
5010
5031
  },
5011
5032
  d(d) {
5012
5033
  d && U(t), h = !1, f();
5013
5034
  }
5014
5035
  };
5015
5036
  }
5016
- function _r(e) {
5037
+ function vr(e) {
5017
5038
  let t, r = (
5018
5039
  /*lang*/
5019
5040
  e[1].slice(-2) + ""
5020
5041
  ), n, i;
5021
5042
  return {
5022
5043
  c() {
5023
- t = P("option"), n = K(r), t.__value = i = /*lang*/
5024
- e[1], Ct(t, t.__value), t.selected = !0;
5044
+ t = B("option"), n = K(r), t.__value = i = /*lang*/
5045
+ e[1], Nt(t, t.__value), t.selected = !0;
5025
5046
  },
5026
5047
  m(o, s) {
5027
5048
  k(o, t, s), x(t, n);
@@ -5029,23 +5050,23 @@ function _r(e) {
5029
5050
  p(o, s) {
5030
5051
  s[0] & /*languagesArray*/
5031
5052
  1024 && r !== (r = /*lang*/
5032
- o[1].slice(-2) + "") && ge(n, r), s[0] & /*languagesArray*/
5053
+ o[1].slice(-2) + "") && pe(n, r), s[0] & /*languagesArray*/
5033
5054
  1024 && i !== (i = /*lang*/
5034
- o[1]) && (t.__value = i, Ct(t, t.__value));
5055
+ o[1]) && (t.__value = i, Nt(t, t.__value));
5035
5056
  },
5036
5057
  d(o) {
5037
5058
  o && U(t);
5038
5059
  }
5039
5060
  };
5040
5061
  }
5041
- function gs(e) {
5062
+ function bs(e) {
5042
5063
  let t, r, n = (
5043
5064
  /*show*/
5044
- e[9] === !0 && mr(e)
5065
+ e[9] === !0 && dr(e)
5045
5066
  );
5046
5067
  return {
5047
5068
  c() {
5048
- t = P("div"), n && n.c();
5069
+ t = B("div"), n && n.c();
5049
5070
  },
5050
5071
  m(i, o) {
5051
5072
  k(i, t, o), n && n.m(t, null), e[39](t), r = !0;
@@ -5053,7 +5074,7 @@ function gs(e) {
5053
5074
  p(i, o) {
5054
5075
  /*show*/
5055
5076
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5056
- 512 && le(n, 1)) : (n = mr(i), n.c(), le(n, 1), n.m(t, null)) : n && (Zn(), ot(n, 1, 1, () => {
5077
+ 512 && le(n, 1)) : (n = dr(i), n.c(), le(n, 1), n.m(t, null)) : n && (Zn(), at(n, 1, 1, () => {
5057
5078
  n = null;
5058
5079
  }), qn());
5059
5080
  },
@@ -5061,31 +5082,31 @@ function gs(e) {
5061
5082
  r || (le(n), r = !0);
5062
5083
  },
5063
5084
  o(i) {
5064
- ot(n), r = !1;
5085
+ at(n), r = !1;
5065
5086
  },
5066
5087
  d(i) {
5067
5088
  i && U(t), n && n.d(), e[39](null);
5068
5089
  }
5069
5090
  };
5070
5091
  }
5071
- let vr = 350;
5072
- function bs(e, t, r) {
5092
+ let xr = 350;
5093
+ function ys(e, t, r) {
5073
5094
  let n;
5074
- Hn(e, os, (p) => r(13, n = p));
5075
- let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { customlocaleidentifier: d = "" } = t, { countryflaghamburger: m = "" } = t, { mbsource: b } = t, w, O = window.navigator.userAgent, I = [], S, L = "", y = [], M = !1, _ = !1, A = !1, v = !0, C = [], E = !1, j = !1, ne = "", V, St;
5095
+ Sn(e, ss, (p) => r(13, n = p));
5096
+ let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { customlocaleidentifier: d = "" } = t, { countryflaghamburger: m = "" } = t, { mbsource: b } = t, w, O = window.navigator.userAgent, P = [], H, I = "", y = [], M = !1, _ = !1, A = !1, v = !0, L = [], E = !1, j = !1, ne = "", W;
5076
5097
  const ln = () => {
5077
- fetch(h).then((R) => R.json()).then((R) => {
5078
- Object.keys(R).forEach((q) => {
5079
- sr(q, R[q]);
5098
+ fetch(h).then((N) => N.json()).then((N) => {
5099
+ Object.keys(N).forEach((q) => {
5100
+ ar(q, N[q]);
5080
5101
  });
5081
- }).catch((R) => {
5082
- console.log(R);
5102
+ }).catch((N) => {
5103
+ console.log(N);
5083
5104
  });
5084
5105
  };
5085
- Object.keys(ar).forEach((p) => {
5086
- sr(p, ar[p]);
5106
+ Object.keys(ur).forEach((p) => {
5107
+ ar(p, ur[p]);
5087
5108
  });
5088
- const Tt = () => {
5109
+ const Mt = () => {
5089
5110
  r(9, A = !1), r(7, M = !1), r(8, _ = !1), r(11, j = !1), window.postMessage(
5090
5111
  {
5091
5112
  type: "CloseHamburgerMenu",
@@ -5093,7 +5114,7 @@ function bs(e, t, r) {
5093
5114
  },
5094
5115
  window.location.href
5095
5116
  );
5096
- }, Mt = (p) => {
5117
+ }, At = (p) => {
5097
5118
  p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, A = !0), setTimeout(
5098
5119
  () => {
5099
5120
  r(7, M = !0);
@@ -5105,32 +5126,32 @@ function bs(e, t, r) {
5105
5126
  },
5106
5127
  1500
5107
5128
  ), hn(s));
5108
- }, Be = (p, R) => {
5109
- r(5, L = p), r(6, y = R || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5129
+ }, Ae = (p, N) => {
5130
+ r(5, I = p), r(6, y = N || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5110
5131
  context: "HamburgerMenu",
5111
- menuItem: `${L}`
5132
+ menuItem: `${I}`
5112
5133
  });
5113
5134
  }, Bt = () => {
5114
- let p = I.filter((R) => {
5135
+ let p = P.filter((N) => {
5115
5136
  let q = !1;
5116
- return R.children?.forEach((xn) => {
5137
+ return N.children?.forEach((xn) => {
5117
5138
  xn.path.includes(u) && (q = !0);
5118
5139
  }), q;
5119
5140
  });
5120
- p.length > 0 ? Be(p[0].id, p[0].children) : Be(I[0].id, I[0].children);
5121
- }, hn = (p) => new Promise((R, q) => {
5122
- S && !E ? R(S) : At(p);
5123
- }), At = (p) => {
5124
- fetch(p).then((R) => R.json()).then(
5125
- (R) => {
5126
- r(4, I = R.filter((q) => q?.type !== "banner")), Bt(), r(29, v = !1), S = R, E = !1;
5141
+ p.length > 0 ? Ae(p[0].id, p[0].children) : Ae(P[0].id, P[0].children);
5142
+ }, hn = (p) => new Promise((N, q) => {
5143
+ H && !E ? N(H) : Pt(p);
5144
+ }), Pt = (p) => {
5145
+ fetch(p).then((N) => N.json()).then(
5146
+ (N) => {
5147
+ r(4, P = N.filter((q) => q?.type !== "banner")), Bt(), r(29, v = !1), H = N, E = !1;
5127
5148
  },
5128
- (R) => {
5129
- console.error(R);
5149
+ (N) => {
5150
+ console.error(N);
5130
5151
  }
5131
5152
  );
5132
5153
  };
5133
- let Pt = (p) => {
5154
+ let Ot = (p) => {
5134
5155
  window.postMessage(
5135
5156
  {
5136
5157
  type: "NavigateTo",
@@ -5139,9 +5160,9 @@ function bs(e, t, r) {
5139
5160
  target: p.attrs.target || null
5140
5161
  },
5141
5162
  window.location.href
5142
- ), Tt();
5163
+ ), Mt();
5143
5164
  };
5144
- const Ze = () => {
5165
+ const Qe = () => {
5145
5166
  E = !0, window.postMessage(
5146
5167
  {
5147
5168
  type: "LanguageChanged",
@@ -5150,30 +5171,30 @@ function bs(e, t, r) {
5150
5171
  window.location.href
5151
5172
  );
5152
5173
  }, cn = () => {
5153
- hs(a), E && At(s), r(10, C = l.replace(/ /g, "").split(",")), r(10, C = C.map((p) => p.toUpperCase())), r(12, ne = a.toUpperCase());
5174
+ cs(a), E && Pt(s), r(10, L = l.replace(/ /g, "").split(",")), r(10, L = L.map((p) => p.toUpperCase())), r(12, ne = a.toUpperCase());
5154
5175
  }, It = (p) => {
5155
- r(12, ne = p), r(11, j = !1), Ze();
5156
- }, Ot = () => {
5176
+ r(12, ne = p), r(11, j = !1), Qe();
5177
+ }, Lt = () => {
5157
5178
  r(11, j = !j);
5158
5179
  }, fn = (p) => (d && (p = d.includes(p.toLowerCase()) ? d.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5159
- kn(() => (window.addEventListener("message", Mt, !1), ss(O), () => {
5160
- window.emMessageBus && St && St.unsubscribe(), window.removeEventListener("message", Mt);
5180
+ kn(() => (window.addEventListener("message", At, !1), as(O), () => {
5181
+ window.removeEventListener("message", At);
5161
5182
  }));
5162
- const mn = (p) => Be(p.id, p.children), dn = (p, R) => {
5163
- Pt(p), R.preventDefault();
5183
+ const mn = (p) => Ae(p.id, p.children), dn = (p, N) => {
5184
+ Ot(p), N.preventDefault();
5164
5185
  };
5165
5186
  function pn() {
5166
- ne = Cn(this), r(12, ne), r(10, C);
5187
+ ne = Cn(this), r(12, ne), r(10, L);
5167
5188
  }
5168
- const gn = () => Ze(), bn = () => Ot(), yn = (p) => It(p);
5189
+ const gn = () => Qe(), bn = () => Lt(), yn = (p) => It(p);
5169
5190
  function _n(p) {
5170
- $e[p ? "unshift" : "push"](() => {
5191
+ De[p ? "unshift" : "push"](() => {
5171
5192
  w = p, r(3, w);
5172
5193
  });
5173
5194
  }
5174
5195
  function vn(p) {
5175
- $e[p ? "unshift" : "push"](() => {
5176
- V = p, r(2, V);
5196
+ De[p ? "unshift" : "push"](() => {
5197
+ W = p, r(2, W);
5177
5198
  });
5178
5199
  }
5179
5200
  return e.$$set = (p) => {
@@ -5183,30 +5204,30 @@ function bs(e, t, r) {
5183
5204
  8388610 && a && l && cn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5184
5205
  541065216 && u && !v && Bt(), e.$$.dirty[0] & /*translationurl*/
5185
5206
  16777216 && h && ln(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5186
- 33554436 && f && V && as(V, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5187
- 67108868 && c && V && us(V, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5188
- 268435460 && V && ls(V, `${b}.Style`);
5207
+ 33554436 && f && W && us(W, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5208
+ 67108868 && c && W && ls(W, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5209
+ 268435460 && W && hs(W, `${b}.Style`);
5189
5210
  }, [
5190
5211
  m,
5191
5212
  a,
5192
- V,
5213
+ W,
5193
5214
  w,
5215
+ P,
5194
5216
  I,
5195
- L,
5196
5217
  y,
5197
5218
  M,
5198
5219
  _,
5199
5220
  A,
5200
- C,
5221
+ L,
5201
5222
  j,
5202
5223
  ne,
5203
5224
  n,
5204
- Tt,
5205
- Be,
5206
- Pt,
5207
- Ze,
5208
- It,
5225
+ Mt,
5226
+ Ae,
5209
5227
  Ot,
5228
+ Qe,
5229
+ It,
5230
+ Lt,
5210
5231
  fn,
5211
5232
  s,
5212
5233
  u,
@@ -5234,9 +5255,9 @@ class un extends ri {
5234
5255
  super(), ei(
5235
5256
  this,
5236
5257
  t,
5258
+ ys,
5237
5259
  bs,
5238
- gs,
5239
- wr,
5260
+ Sr,
5240
5261
  {
5241
5262
  menuitemsurl: 21,
5242
5263
  lang: 1,
@@ -5249,7 +5270,7 @@ class un extends ri {
5249
5270
  countryflaghamburger: 0,
5250
5271
  mbsource: 28
5251
5272
  },
5252
- cs,
5273
+ fs,
5253
5274
  [-1, -1]
5254
5275
  );
5255
5276
  }
@@ -5315,54 +5336,54 @@ class un extends ri {
5315
5336
  }
5316
5337
  }
5317
5338
  ti(un, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5318
- const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5339
+ const Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5319
5340
  __proto__: null,
5320
5341
  default: un
5321
5342
  }, Symbol.toStringTag, { value: "Module" }));
5322
5343
  export {
5323
- ye as $,
5324
- ge as A,
5344
+ be as $,
5345
+ Q as A,
5325
5346
  Fe as B,
5326
- z as C,
5327
- ee as D,
5328
- _s as E,
5329
- ys as F,
5330
- os as G,
5331
- Ss as H,
5332
- Y as I,
5333
- ce as J,
5334
- Nt as K,
5335
- Ct as L,
5336
- ws as M,
5337
- Es as N,
5347
+ Ts as C,
5348
+ _s as D,
5349
+ Y as E,
5350
+ Rt as F,
5351
+ he as G,
5352
+ Nt as H,
5353
+ ss as I,
5354
+ us as J,
5355
+ ls as K,
5356
+ hs as L,
5357
+ Ss as M,
5358
+ ws as N,
5338
5359
  Hs as O,
5339
- xs as P,
5340
- Ts as Q,
5360
+ Es as P,
5361
+ Ms as Q,
5341
5362
  ri as S,
5342
5363
  Me as a,
5343
5364
  rn as b,
5344
5365
  ti as c,
5345
- In as d,
5346
- $ as e,
5366
+ On as d,
5367
+ U as e,
5347
5368
  G as f,
5348
- P as g,
5349
- vs as h,
5369
+ xs as g,
5370
+ k as h,
5350
5371
  ei as i,
5351
- k as j,
5352
- U as k,
5353
- Hn as l,
5354
- us as m,
5355
- D as n,
5372
+ D as j,
5373
+ B as k,
5374
+ Sn as l,
5375
+ as as m,
5376
+ $ as n,
5356
5377
  kn as o,
5357
- ss as p,
5358
- $e as q,
5359
- Cn as r,
5360
- wr as s,
5361
- as as t,
5362
- ls as u,
5363
- Q as v,
5364
- K as w,
5365
- g as x,
5366
- x as y,
5367
- te as z
5378
+ De as p,
5379
+ Cn as q,
5380
+ vs as r,
5381
+ Sr as s,
5382
+ Z as t,
5383
+ pe as u,
5384
+ x as v,
5385
+ te as w,
5386
+ ee as x,
5387
+ K as y,
5388
+ g as z
5368
5389
  };