@everymatrix/casino-header-controller 1.75.0 → 1.76.0

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-BhQwqDES.js → CasinoHamburgerMenu-BXmoYELH.js} +920 -899
  2. package/components/{CasinoHamburgerMenu-B2MD3MtF.js → CasinoHamburgerMenu-DFge6wNk.js} +867 -846
  3. package/components/CasinoHamburgerMenu-DzBitsDo.cjs +21 -0
  4. package/components/{CasinoHeaderController-DrNUWr21.js → CasinoHeaderController-CqJEUFU1.js} +72 -72
  5. package/components/{CasinoHeaderController-0F58MhJD.js → CasinoHeaderController-DqCbdev2.js} +74 -74
  6. package/components/{CasinoHeaderController-D3CRMDJO.cjs → CasinoHeaderController-tklzcbLB.cjs} +1 -1
  7. package/components/{CasinoSlider-CeIar2zF.js → CasinoSlider-5zRk3Nyr.js} +57 -57
  8. package/components/{CasinoSlider-DmHACRGm.js → CasinoSlider-sjpfJOOy.js} +55 -55
  9. package/components/{CasinoSlider-BFndmQiW.cjs → CasinoSlider-wXw8RHQe.cjs} +1 -1
  10. package/components/PlayerAccountBalanceModal-B9zCQZQg.js +1409 -0
  11. package/components/PlayerAccountBalanceModal-Cq-1fTb6.js +1380 -0
  12. package/components/PlayerAccountBalanceModal-ECuzDR7V.cjs +7 -0
  13. package/components/PlayerDeposit-BJEnlNvH.cjs +1 -0
  14. package/components/{PlayerDeposit-Blf-kZ4t.js → PlayerDeposit-CwH_m-vi.js} +71 -71
  15. package/components/{PlayerDeposit-DS6sQJMo.js → PlayerDeposit-gnIH-WO7.js} +71 -71
  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-drtHPn9c.js → gamification-dropdown-0FYjENuC.js} +1 -1
  21. package/stencil/{gamification-dropdown-60536faa-fBm4KcQa.js → gamification-dropdown-60536faa-ByoQkowS.js} +1 -1
  22. package/stencil/{gamification-dropdown-60536faa-b2-gKj-C.js → gamification-dropdown-60536faa-CdoDh_iS.js} +1 -1
  23. package/stencil/{gamification-dropdown-60536faa-CkmaCt3Q.cjs → gamification-dropdown-60536faa-jADsXxs4.cjs} +1 -1
  24. package/stencil/{gamification-dropdown-edMbhxDe.cjs → gamification-dropdown-BEAgTdVm.cjs} +1 -1
  25. package/stencil/{gamification-dropdown-D5c135Qe.js → gamification-dropdown-BYwIF9Gl.js} +1 -1
  26. package/stencil/{gamification-dropdown_4-C-ULhaax.js → gamification-dropdown_4-0STJmTu3.js} +5 -5
  27. package/stencil/{gamification-dropdown_4-vZb_TDYi.js → gamification-dropdown_4-Cn2nDa12.js} +5 -5
  28. package/stencil/gamification-dropdown_4-wVf8PnId.cjs +192 -0
  29. package/stencil/index-1ef3a64c-B8rbe1el.cjs +1 -0
  30. package/stencil/index-1ef3a64c-BEUZTO5_.js +556 -0
  31. package/stencil/index-1ef3a64c-CbJ3YCKZ.js +572 -0
  32. package/stencil/{index-71b1bdfa-BwU-ZobY.js → index-71b1bdfa-CqsRB5Zq.js} +264 -268
  33. package/stencil/index-71b1bdfa-DWJfvSms.js +753 -0
  34. package/stencil/index-71b1bdfa-aT2URAOG.cjs +1 -0
  35. package/stencil/{player-elevate-card-DouGzeSQ.cjs → player-elevate-card-C_bGjWZ4.cjs} +1 -1
  36. package/stencil/{player-elevate-card-D2SUJfQQ.js → player-elevate-card-DV79k_97.js} +2 -2
  37. package/stencil/{player-elevate-card-BjqJ00gW.js → player-elevate-card-D_AqKh09.js} +2 -2
  38. package/stencil/{player-elevate-card-items-08c6fbd8-Xsq6w4LE.js → player-elevate-card-items-08c6fbd8-CKjKj8rt.js} +235 -237
  39. package/stencil/player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs +102 -0
  40. package/stencil/{player-elevate-card-items-08c6fbd8-DCezar0T.js → player-elevate-card-items-08c6fbd8-DDaPFpxz.js} +235 -237
  41. package/stencil/{player-elevate-pointcard-B1bT9eUy.js → player-elevate-pointcard-BAE3Vgzi.js} +2 -2
  42. package/stencil/{player-elevate-pointcard-Dh7dRbip.js → player-elevate-pointcard-BXLJdcos.js} +2 -2
  43. package/stencil/{player-elevate-pointcard-CGFluXIm.cjs → player-elevate-pointcard-vC-WI2he.cjs} +1 -1
  44. package/stencil/{player-rakeback-card-DRZs6TNO.js → player-rakeback-card-Ca3Pjwd4.js} +1 -1
  45. package/stencil/{player-rakeback-card-BfD7gcGR.js → player-rakeback-card-Cj3yH6EJ.js} +1 -1
  46. package/stencil/{player-rakeback-card-Dm2Xwe4V.cjs → player-rakeback-card-DZVQyKwK.cjs} +1 -1
  47. package/stencil/{user-deposit-withdrawal-BMH0p3pP.cjs → user-deposit-withdrawal-6OV5s5L0.cjs} +2 -2
  48. package/stencil/{user-deposit-withdrawal-MEriFskJ.js → user-deposit-withdrawal-BhBUsaq0.js} +1 -1
  49. package/stencil/{user-deposit-withdrawal-C0pUSCwu.js → user-deposit-withdrawal-BmCnXlz0.js} +1 -1
  50. package/components/CasinoHamburgerMenu-ClkbM37n.cjs +0 -21
  51. package/components/PlayerAccountBalanceModal-Cyd68GUD.js +0 -1380
  52. package/components/PlayerAccountBalanceModal-DF1D9Qn4.js +0 -1409
  53. package/components/PlayerAccountBalanceModal-DLnlf4pO.cjs +0 -7
  54. package/components/PlayerDeposit-qG_kO2Rh.cjs +0 -1
  55. package/stencil/gamification-dropdown_4-CNSh1h1d.cjs +0 -192
  56. package/stencil/index-1ef3a64c-BC8-LWK-.js +0 -572
  57. package/stencil/index-1ef3a64c-BTHG-6MK.js +0 -556
  58. package/stencil/index-1ef3a64c-DWSAxGlI.cjs +0 -1
  59. package/stencil/index-71b1bdfa-3q2dUmkJ.js +0 -757
  60. package/stencil/index-71b1bdfa-S-HUlbq9.cjs +0 -1
  61. package/stencil/player-elevate-card-items-08c6fbd8-B17ziILA.cjs +0 -102
@@ -1,6 +1,6 @@
1
- function D() {
1
+ function U() {
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 U;
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 : U;
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) : U;
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(
@@ -138,14 +138,14 @@ function Br(e, t) {
138
138
  function k(e, t, r) {
139
139
  e.insertBefore(t, r || null);
140
140
  }
141
- function U(e) {
141
+ function $(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
144
  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,16 +154,16 @@ 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) {
164
164
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
165
165
  }
166
- function vs(e) {
166
+ function xs(e) {
167
167
  return function(t) {
168
168
  return t.preventDefault(), e.call(this, t);
169
169
  };
@@ -171,24 +171,24 @@ function vs(e) {
171
171
  function g(e, t, r) {
172
172
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
173
173
  }
174
- function xs(e, t, r) {
174
+ function Es(e, t, r) {
175
175
  const n = t.toLowerCase();
176
176
  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);
177
177
  }
178
178
  function Ln(e) {
179
179
  return Array.from(e.childNodes);
180
180
  }
181
- function ge(e, t) {
181
+ function pe(e, t) {
182
182
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
183
183
  t);
184
184
  }
185
- function Ct(e, t) {
185
+ function Nt(e, t) {
186
186
  e.value = t ?? "";
187
187
  }
188
- function Es(e, t, r, n) {
188
+ function ws(e, t, r, n) {
189
189
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
190
190
  }
191
- function Nt(e, t, r) {
191
+ function Rt(e, t, r) {
192
192
  for (let n = 0; n < e.options.length; n += 1) {
193
193
  const i = e.options[n];
194
194
  if (i.__value === t) {
@@ -214,19 +214,19 @@ function Rn(e) {
214
214
  }
215
215
  ), t;
216
216
  }
217
- const Ue = /* @__PURE__ */ new Map();
218
- let De = 0;
217
+ const $e = /* @__PURE__ */ new Map();
218
+ let Ue = 0;
219
219
  function Fn(e) {
220
220
  let t = 5381, r = e.length;
221
221
  for (; r--; )
222
222
  t = (t << 5) - t ^ e.charCodeAt(r);
223
223
  return t >>> 0;
224
224
  }
225
- function Un(e, t) {
226
- const r = { stylesheet: On(t), rules: {} };
227
- return Ue.set(e, r), r;
225
+ function $n(e, t) {
226
+ const r = { stylesheet: In(t), rules: {} };
227
+ return $e.set(e, r), r;
228
228
  }
229
- function Rt(e, t, r, n, i, o, s, a = 0) {
229
+ function Ft(e, t, r, n, i, o, s, a = 0) {
230
230
  const u = 16.666 / n;
231
231
  let l = `{
232
232
  `;
@@ -236,121 +236,121 @@ function Rt(e, t, r, n, i, o, s, a = 0) {
236
236
  `;
237
237
  }
238
238
  const h = l + `100% {${s(r, 1 - r)}}
239
- }`, f = `__svelte_${Fn(h)}_${a}`, c = vt(e), { stylesheet: m, rules: d } = Ue.get(c) || Un(c, e);
239
+ }`, f = `__svelte_${Fn(h)}_${a}`, c = St(e), { stylesheet: m, rules: d } = $e.get(c) || $n(c, e);
240
240
  d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
241
241
  const b = e.style.animation || "";
242
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, De += 1, f;
242
+ return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ue += 1, f;
243
243
  }
244
- function Dn(e, t) {
244
+ function Un(e, t) {
245
245
  const r = (e.style.animation || "").split(", "), n = r.filter(
246
246
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
247
247
  // remove all Svelte animations
248
248
  ), i = r.length - n.length;
249
- i && (e.style.animation = n.join(", "), De -= i, De || $n());
249
+ i && (e.style.animation = n.join(", "), Ue -= i, Ue || Dn());
250
250
  }
251
- function $n() {
252
- _t(() => {
253
- De || (Ue.forEach((e) => {
251
+ function Dn() {
252
+ wt(() => {
253
+ Ue || ($e.forEach((e) => {
254
254
  const { ownerNode: t } = e.stylesheet;
255
- t && U(t);
256
- }), Ue.clear());
255
+ t && $(t);
256
+ }), $e.clear());
257
257
  });
258
258
  }
259
- let we;
260
- function Ee(e) {
261
- we = e;
259
+ let Ee;
260
+ function xe(e) {
261
+ Ee = e;
262
262
  }
263
263
  function Gn() {
264
- if (!we)
264
+ if (!Ee)
265
265
  throw new Error("Function called outside component initialization");
266
- return we;
266
+ return Ee;
267
267
  }
268
268
  function kn(e) {
269
269
  Gn().$$.on_mount.push(e);
270
270
  }
271
- function ws(e, t) {
271
+ function Ss(e, t) {
272
272
  const r = e.$$.callbacks[t.type];
273
273
  r && r.slice().forEach((n) => n.call(this, t));
274
274
  }
275
- const se = [], $e = [];
275
+ const se = [], De = [];
276
276
  let ue = [];
277
- const Ft = [], jn = /* @__PURE__ */ Promise.resolve();
278
- let it = !1;
277
+ const $t = [], jn = /* @__PURE__ */ Promise.resolve();
278
+ let st = !1;
279
279
  function Vn() {
280
- it || (it = !0, jn.then(G));
280
+ st || (st = !0, jn.then(G));
281
281
  }
282
- function ce(e) {
282
+ function he(e) {
283
283
  ue.push(e);
284
284
  }
285
- const qe = /* @__PURE__ */ new Set();
285
+ const Je = /* @__PURE__ */ new Set();
286
286
  let ie = 0;
287
287
  function G() {
288
288
  if (ie !== 0)
289
289
  return;
290
- const e = we;
290
+ const e = Ee;
291
291
  do {
292
292
  try {
293
293
  for (; ie < se.length; ) {
294
294
  const t = se[ie];
295
- ie++, Ee(t), Wn(t.$$);
295
+ ie++, xe(t), Wn(t.$$);
296
296
  }
297
297
  } catch (t) {
298
298
  throw se.length = 0, ie = 0, t;
299
299
  }
300
- for (Ee(null), se.length = 0, ie = 0; $e.length; )
301
- $e.pop()();
300
+ for (xe(null), se.length = 0, ie = 0; De.length; )
301
+ De.pop()();
302
302
  for (let t = 0; t < ue.length; t += 1) {
303
303
  const r = ue[t];
304
- qe.has(r) || (qe.add(r), r());
304
+ Je.has(r) || (Je.add(r), r());
305
305
  }
306
306
  ue.length = 0;
307
307
  } while (se.length);
308
- for (; Ft.length; )
309
- Ft.pop()();
310
- it = !1, qe.clear(), Ee(e);
308
+ for (; $t.length; )
309
+ $t.pop()();
310
+ st = !1, Je.clear(), xe(e);
311
311
  }
312
312
  function Wn(e) {
313
313
  if (e.fragment !== null) {
314
- e.update(), z(e.before_update);
314
+ e.update(), Z(e.before_update);
315
315
  const t = e.dirty;
316
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ce);
316
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
317
317
  }
318
318
  }
319
319
  function Xn(e) {
320
320
  const t = [], r = [];
321
321
  ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
322
322
  }
323
- let ve;
323
+ let _e;
324
324
  function zn() {
325
- return ve || (ve = Promise.resolve(), ve.then(() => {
326
- ve = null;
327
- })), ve;
325
+ return _e || (_e = Promise.resolve(), _e.then(() => {
326
+ _e = null;
327
+ })), _e;
328
328
  }
329
- function Qe(e, t, r) {
329
+ function Ye(e, t, r) {
330
330
  e.dispatchEvent(Nn(`${t ? "intro" : "outro"}${r}`));
331
331
  }
332
- const Oe = /* @__PURE__ */ new Set();
333
- let W;
332
+ const Ie = /* @__PURE__ */ new Set();
333
+ let X;
334
334
  function Zn() {
335
- W = {
335
+ X = {
336
336
  r: 0,
337
337
  c: [],
338
- p: W
338
+ p: X
339
339
  // parent group
340
340
  };
341
341
  }
342
342
  function qn() {
343
- W.r || z(W.c), W = W.p;
343
+ X.r || Z(X.c), X = X.p;
344
344
  }
345
345
  function le(e, t) {
346
- e && e.i && (Oe.delete(e), e.i(t));
346
+ e && e.i && (Ie.delete(e), e.i(t));
347
347
  }
348
- function ot(e, t, r, n) {
348
+ function at(e, t, r, n) {
349
349
  if (e && e.o) {
350
- if (Oe.has(e))
350
+ if (Ie.has(e))
351
351
  return;
352
- Oe.add(e), W.c.push(() => {
353
- Oe.delete(e), n && (r && e.d(1), n());
352
+ Ie.add(e), X.c.push(() => {
353
+ Ie.delete(e), n && (r && e.d(1), n());
354
354
  }), e.o(t);
355
355
  } else
356
356
  n && n();
@@ -359,7 +359,7 @@ const Qn = { duration: 0 };
359
359
  function Ut(e, t, r, n) {
360
360
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
361
361
  function f() {
362
- l && Dn(e, l);
362
+ l && Un(e, l);
363
363
  }
364
364
  function c(d, b) {
365
365
  const w = (
@@ -380,16 +380,16 @@ function Ut(e, t, r, n) {
380
380
  const {
381
381
  delay: b = 0,
382
382
  duration: w = 300,
383
- easing: O = xr,
384
- tick: I = D,
385
- css: S
386
- } = o || Qn, L = {
387
- start: An() + b,
383
+ easing: O = Er,
384
+ tick: P = U,
385
+ css: H
386
+ } = o || Qn, I = {
387
+ start: Bn() + b,
388
388
  b: d
389
389
  };
390
- d || (L.group = W, W.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
391
- e.inert, e.inert = !0)), a || u ? u = L : (S && (f(), l = Rt(e, s, d, w, b, O, S)), d && I(0, 1), a = c(L, w), ce(() => Qe(e, d, "start")), Pn((y) => {
392
- if (u && y > u.start && (a = c(u, w), u = null, Qe(e, a.b, "start"), S && (f(), l = Rt(
390
+ d || (I.group = X, X.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
391
+ e.inert, e.inert = !0)), a || u ? u = I : (H && (f(), l = Ft(e, s, d, w, b, O, H)), d && P(0, 1), a = c(I, w), he(() => Ye(e, d, "start")), Pn((y) => {
392
+ if (u && y > u.start && (a = c(u, w), u = null, Ye(e, a.b, "start"), H && (f(), l = Ft(
393
393
  e,
394
394
  s,
395
395
  a.b,
@@ -399,10 +399,10 @@ function Ut(e, t, r, n) {
399
399
  o.css
400
400
  ))), a) {
401
401
  if (y >= a.end)
402
- I(s = a.b, 1 - s), Qe(e, a.b, "end"), u || (a.b ? f() : --a.group.r || z(a.group.c)), a = null;
402
+ P(s = a.b, 1 - s), Ye(e, a.b, "end"), u || (a.b ? f() : --a.group.r || Z(a.group.c)), a = null;
403
403
  else if (y >= a.start) {
404
404
  const M = y - a.start;
405
- s = a.a + a.d * O(M / a.duration), I(s, 1 - s);
405
+ s = a.a + a.d * O(M / a.duration), P(s, 1 - s);
406
406
  }
407
407
  }
408
408
  return !!(a || u);
@@ -410,7 +410,7 @@ function Ut(e, t, r, n) {
410
410
  }
411
411
  return {
412
412
  run(d) {
413
- Te(o) ? zn().then(() => {
413
+ He(o) ? zn().then(() => {
414
414
  o = o({ direction: d ? "in" : "out" }), m(d);
415
415
  }) : m(d);
416
416
  },
@@ -425,24 +425,24 @@ function Q(e) {
425
425
  function Hs(e, t) {
426
426
  e.d(1), t.delete(e.key);
427
427
  }
428
- function Ss(e, t, r, n, i, o, s, a, u, l, h, f) {
428
+ function Ts(e, t, r, n, i, o, s, a, u, l, h, f) {
429
429
  let c = e.length, m = o.length, d = c;
430
430
  const b = {};
431
431
  for (; d--; )
432
432
  b[e[d].key] = d;
433
- const w = [], O = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), S = [];
433
+ const w = [], O = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), H = [];
434
434
  for (d = m; d--; ) {
435
435
  const _ = f(i, o, d), A = r(_);
436
436
  let v = s.get(A);
437
- v ? S.push(() => v.p(_, t)) : (v = l(A, _), v.c()), O.set(A, w[d] = v), A in b && I.set(A, Math.abs(d - b[A]));
437
+ v ? H.push(() => v.p(_, t)) : (v = l(A, _), v.c()), O.set(A, w[d] = v), A in b && P.set(A, Math.abs(d - b[A]));
438
438
  }
439
- const L = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
439
+ const I = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
440
440
  function M(_) {
441
441
  le(_, 1), _.m(a, h), s.set(_.key, _), h = _.first, m--;
442
442
  }
443
443
  for (; c && m; ) {
444
- const _ = w[m - 1], A = e[c - 1], v = _.key, C = A.key;
445
- _ === A ? (h = _.first, c--, m--) : 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--);
444
+ const _ = w[m - 1], A = e[c - 1], v = _.key, L = A.key;
445
+ _ === A ? (h = _.first, c--, m--) : 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--);
446
446
  }
447
447
  for (; c--; ) {
448
448
  const _ = e[c];
@@ -450,33 +450,33 @@ function Ss(e, t, r, n, i, o, s, a, u, l, h, f) {
450
450
  }
451
451
  for (; m; )
452
452
  M(w[m - 1]);
453
- return z(S), w;
453
+ return Z(H), w;
454
454
  }
455
455
  function Jn(e, t, r) {
456
456
  const { fragment: n, after_update: i } = e.$$;
457
- n && n.m(t, r), ce(() => {
458
- const o = e.$$.on_mount.map(Er).filter(Te);
459
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
460
- }), i.forEach(ce);
457
+ n && n.m(t, r), he(() => {
458
+ const o = e.$$.on_mount.map(wr).filter(He);
459
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
460
+ }), i.forEach(he);
461
461
  }
462
462
  function Yn(e, t) {
463
463
  const r = e.$$;
464
- 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 = []);
464
+ 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 = []);
465
465
  }
466
466
  function Kn(e, t) {
467
467
  e.$$.dirty[0] === -1 && (se.push(e), Vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
468
468
  }
469
469
  function ei(e, t, r, n, i, o, s = null, a = [-1]) {
470
- const u = we;
471
- Ee(e);
470
+ const u = Ee;
471
+ xe(e);
472
472
  const l = e.$$ = {
473
473
  fragment: null,
474
474
  ctx: [],
475
475
  // state
476
476
  props: o,
477
- update: D,
477
+ update: U,
478
478
  not_equal: i,
479
- bound: Lt(),
479
+ bound: Ct(),
480
480
  // lifecycle
481
481
  on_mount: [],
482
482
  on_destroy: [],
@@ -485,7 +485,7 @@ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
485
485
  after_update: [],
486
486
  context: new Map(t.context || (u ? u.$$.context : [])),
487
487
  // everything else
488
- callbacks: Lt(),
488
+ callbacks: Ct(),
489
489
  dirty: a,
490
490
  skip_bound: !1,
491
491
  root: t.target || u.$$.root
@@ -495,18 +495,18 @@ function ei(e, t, r, n, i, o, s = null, a = [-1]) {
495
495
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
496
496
  const d = m.length ? m[0] : c;
497
497
  return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), h && Kn(e, f)), c;
498
- }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
498
+ }) : [], l.update(), h = !0, Z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
499
499
  if (t.hydrate) {
500
500
  const f = Ln(t.target);
501
- l.fragment && l.fragment.l(f), f.forEach(U);
501
+ l.fragment && l.fragment.l(f), f.forEach($);
502
502
  } else
503
503
  l.fragment && l.fragment.c();
504
504
  t.intro && le(e.$$.fragment), Jn(e, t.target, t.anchor), G();
505
505
  }
506
- Ee(u);
506
+ xe(u);
507
507
  }
508
- let Ar;
509
- typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
508
+ let Pr;
509
+ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
510
510
  /** The Svelte component constructor */
511
511
  $$ctor;
512
512
  /** Slots */
@@ -548,7 +548,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
548
548
  let o;
549
549
  return {
550
550
  c: function() {
551
- o = P("slot"), i !== "default" && g(o, "name", i);
551
+ o = B("slot"), i !== "default" && g(o, "name", i);
552
552
  },
553
553
  /**
554
554
  * @param {HTMLElement} target
@@ -558,7 +558,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
558
558
  k(u, o, l);
559
559
  },
560
560
  d: function(u) {
561
- u && U(o);
561
+ u && $(o);
562
562
  }
563
563
  };
564
564
  };
@@ -653,7 +653,7 @@ function Le(e, t, r, n) {
653
653
  }
654
654
  }
655
655
  function ti(e, t, r, n, i, o) {
656
- let s = class extends Ar {
656
+ let s = class extends Pr {
657
657
  constructor() {
658
658
  super(e, r, i), this.$$p_d = t;
659
659
  }
@@ -700,7 +700,7 @@ class ri {
700
700
  $$set = void 0;
701
701
  /** @returns {void} */
702
702
  $destroy() {
703
- Yn(this, 1), this.$destroy = D;
703
+ Yn(this, 1), this.$destroy = U;
704
704
  }
705
705
  /**
706
706
  * @template {Extract<keyof Events, string>} K
@@ -709,8 +709,8 @@ class ri {
709
709
  * @returns {() => void}
710
710
  */
711
711
  $on(t, r) {
712
- if (!Te(r))
713
- return D;
712
+ if (!He(r))
713
+ return U;
714
714
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
715
715
  return n.push(r), () => {
716
716
  const i = n.indexOf(r);
@@ -741,43 +741,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
741
741
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
742
742
  PERFORMANCE OF THIS SOFTWARE.
743
743
  ***************************************************************************** */
744
- var st = function(e, t) {
745
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
744
+ var ut = function(e, t) {
745
+ return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
746
746
  r.__proto__ = n;
747
747
  } || function(r, n) {
748
748
  for (var i in n)
749
749
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
750
- }, st(e, t);
750
+ }, ut(e, t);
751
751
  };
752
- function Z(e, t) {
752
+ function Te(e, t) {
753
753
  if (typeof t != "function" && t !== null)
754
754
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
755
- st(e, t);
755
+ ut(e, t);
756
756
  function r() {
757
757
  this.constructor = e;
758
758
  }
759
759
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
760
760
  }
761
- var B = function() {
762
- return B = Object.assign || function(t) {
763
- for (var r, n = 1, i = arguments.length; n < i; n++) {
764
- r = arguments[n];
765
- for (var o in r)
766
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
767
- }
768
- return t;
769
- }, B.apply(this, arguments);
770
- };
771
- function ii(e, t) {
772
- var r = {};
773
- for (var n in e)
774
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
775
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
776
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
777
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
778
- return r;
779
- }
780
- function at(e) {
761
+ function lt(e) {
781
762
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
782
763
  if (r)
783
764
  return r.call(e);
@@ -789,7 +770,7 @@ function at(e) {
789
770
  };
790
771
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
791
772
  }
792
- function ut(e, t) {
773
+ function ht(e, t) {
793
774
  var r = typeof Symbol == "function" && e[Symbol.iterator];
794
775
  if (!r)
795
776
  return e;
@@ -809,22 +790,22 @@ function ut(e, t) {
809
790
  }
810
791
  return o;
811
792
  }
812
- function he(e, t, r) {
813
- if (r || arguments.length === 2)
793
+ function ct(e, t, r) {
794
+ if (arguments.length === 2)
814
795
  for (var n = 0, i = t.length, o; n < i; n++)
815
796
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
816
797
  return e.concat(o || t);
817
798
  }
818
- function X(e) {
799
+ function z(e) {
819
800
  return typeof e == "function";
820
801
  }
821
- function Pr(e) {
802
+ function Or(e) {
822
803
  var t = function(n) {
823
804
  Error.call(n), n.stack = new Error().stack;
824
805
  }, r = e(t);
825
806
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
826
807
  }
827
- var Je = Pr(function(e) {
808
+ var Ke = Or(function(e) {
828
809
  return function(r) {
829
810
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
830
811
  ` + r.map(function(n, i) {
@@ -833,13 +814,13 @@ var Je = Pr(function(e) {
833
814
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
834
815
  };
835
816
  });
836
- function lt(e, t) {
817
+ function ft(e, t) {
837
818
  if (e) {
838
819
  var r = e.indexOf(t);
839
820
  0 <= r && e.splice(r, 1);
840
821
  }
841
822
  }
842
- var je = function() {
823
+ var Ve = function() {
843
824
  function e(t) {
844
825
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
845
826
  }
@@ -851,7 +832,7 @@ var je = function() {
851
832
  if (s)
852
833
  if (this._parentage = null, Array.isArray(s))
853
834
  try {
854
- for (var a = at(s), u = a.next(); !u.done; u = a.next()) {
835
+ for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
855
836
  var l = u.value;
856
837
  l.remove(this);
857
838
  }
@@ -868,22 +849,22 @@ var je = function() {
868
849
  else
869
850
  s.remove(this);
870
851
  var h = this.initialTeardown;
871
- if (X(h))
852
+ if (z(h))
872
853
  try {
873
854
  h();
874
855
  } catch (b) {
875
- o = b instanceof Je ? b.errors : [b];
856
+ o = b instanceof Ke ? b.errors : [b];
876
857
  }
877
858
  var f = this._finalizers;
878
859
  if (f) {
879
860
  this._finalizers = null;
880
861
  try {
881
- for (var c = at(f), m = c.next(); !m.done; m = c.next()) {
862
+ for (var c = lt(f), m = c.next(); !m.done; m = c.next()) {
882
863
  var d = m.value;
883
864
  try {
884
865
  Dt(d);
885
866
  } catch (b) {
886
- o = o ?? [], b instanceof Je ? o = he(he([], ut(o)), ut(b.errors)) : o.push(b);
867
+ o = o ?? [], b instanceof Ke ? o = ct(ct([], ht(o)), ht(b.errors)) : o.push(b);
887
868
  }
888
869
  }
889
870
  } catch (b) {
@@ -898,7 +879,7 @@ var je = function() {
898
879
  }
899
880
  }
900
881
  if (o)
901
- throw new Je(o);
882
+ throw new Ke(o);
902
883
  }
903
884
  }, e.prototype.add = function(t) {
904
885
  var r;
@@ -921,32 +902,28 @@ var je = function() {
921
902
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
922
903
  }, e.prototype._removeParent = function(t) {
923
904
  var r = this._parentage;
924
- r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
905
+ r === t ? this._parentage = null : Array.isArray(r) && ft(r, t);
925
906
  }, e.prototype.remove = function(t) {
926
907
  var r = this._finalizers;
927
- r && lt(r, t), t instanceof e && t._removeParent(this);
908
+ r && ft(r, t), t instanceof e && t._removeParent(this);
928
909
  }, e.EMPTY = function() {
929
910
  var t = new e();
930
911
  return t.closed = !0, t;
931
912
  }(), e;
932
- }(), Ir = je.EMPTY;
933
- function Or(e) {
934
- return e instanceof je || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
913
+ }(), Ir = Ve.EMPTY;
914
+ function Lr(e) {
915
+ return e instanceof Ve || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
935
916
  }
936
917
  function Dt(e) {
937
- X(e) ? e() : e.unsubscribe();
938
- }
939
- var Lr = {
940
- onUnhandledError: null,
941
- onStoppedNotification: null,
942
- Promise: void 0,
943
- useDeprecatedSynchronousErrorHandling: !1,
944
- useDeprecatedNextContext: !1
918
+ z(e) ? e() : e.unsubscribe();
919
+ }
920
+ var ii = {
921
+ Promise: void 0
945
922
  }, oi = {
946
923
  setTimeout: function(e, t) {
947
924
  for (var r = [], n = 2; n < arguments.length; n++)
948
925
  r[n - 2] = arguments[n];
949
- return setTimeout.apply(void 0, he([e, t], ut(r)));
926
+ return setTimeout.apply(void 0, ct([e, t], ht(r)));
950
927
  },
951
928
  clearTimeout: function(e) {
952
929
  return clearTimeout(e);
@@ -958,19 +935,19 @@ function si(e) {
958
935
  throw e;
959
936
  });
960
937
  }
961
- function $t() {
938
+ function Gt() {
962
939
  }
963
940
  function Ce(e) {
964
941
  e();
965
942
  }
966
943
  var Cr = function(e) {
967
- Z(t, e);
944
+ Te(t, e);
968
945
  function t(r) {
969
946
  var n = e.call(this) || this;
970
- return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = hi, n;
947
+ return n.isStopped = !1, r ? (n.destination = r, Lr(r) && r.add(n)) : n.destination = li, n;
971
948
  }
972
949
  return t.create = function(r, n, i) {
973
- return new ht(r, n, i);
950
+ return new dt(r, n, i);
974
951
  }, t.prototype.next = function(r) {
975
952
  this.isStopped || this._next(r);
976
953
  }, t.prototype.error = function(r) {
@@ -994,11 +971,7 @@ var Cr = function(e) {
994
971
  this.unsubscribe();
995
972
  }
996
973
  }, t;
997
- }(je), ai = Function.prototype.bind;
998
- function Ye(e, t) {
999
- return ai.call(e, t);
1000
- }
1001
- var ui = function() {
974
+ }(Ve), ai = function() {
1002
975
  function e(t) {
1003
976
  this.partialObserver = t;
1004
977
  }
@@ -1029,55 +1002,43 @@ var ui = function() {
1029
1002
  Pe(r);
1030
1003
  }
1031
1004
  }, e;
1032
- }(), ht = function(e) {
1033
- Z(t, e);
1005
+ }(), dt = function(e) {
1006
+ Te(t, e);
1034
1007
  function t(r, n, i) {
1035
1008
  var o = e.call(this) || this, s;
1036
- if (X(r) || !r)
1037
- s = {
1038
- next: r ?? void 0,
1039
- error: n ?? void 0,
1040
- complete: i ?? void 0
1041
- };
1042
- else {
1043
- var a;
1044
- o && Lr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1045
- return o.unsubscribe();
1046
- }, s = {
1047
- next: r.next && Ye(r.next, a),
1048
- error: r.error && Ye(r.error, a),
1049
- complete: r.complete && Ye(r.complete, a)
1050
- }) : s = r;
1051
- }
1052
- return o.destination = new ui(s), o;
1009
+ return z(r) || !r ? s = {
1010
+ next: r ?? void 0,
1011
+ error: n ?? void 0,
1012
+ complete: i ?? void 0
1013
+ } : s = r, o.destination = new ai(s), o;
1053
1014
  }
1054
1015
  return t;
1055
1016
  }(Cr);
1056
1017
  function Pe(e) {
1057
1018
  si(e);
1058
1019
  }
1059
- function li(e) {
1020
+ function ui(e) {
1060
1021
  throw e;
1061
1022
  }
1062
- var hi = {
1023
+ var li = {
1063
1024
  closed: !0,
1064
- next: $t,
1065
- error: li,
1066
- complete: $t
1067
- }, ci = function() {
1025
+ next: Gt,
1026
+ error: ui,
1027
+ complete: Gt
1028
+ }, hi = function() {
1068
1029
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1069
1030
  }();
1070
- function fi(e) {
1031
+ function ci(e) {
1071
1032
  return e;
1072
1033
  }
1073
- function di(e) {
1074
- return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
1034
+ function fi(e) {
1035
+ return e.length === 0 ? ci : e.length === 1 ? e[0] : function(r) {
1075
1036
  return e.reduce(function(n, i) {
1076
1037
  return i(n);
1077
1038
  }, r);
1078
1039
  };
1079
1040
  }
1080
- var Gt = function() {
1041
+ var kt = function() {
1081
1042
  function e(t) {
1082
1043
  t && (this._subscribe = t);
1083
1044
  }
@@ -1085,7 +1046,7 @@ var Gt = function() {
1085
1046
  var r = new e();
1086
1047
  return r.source = this, r.operator = t, r;
1087
1048
  }, e.prototype.subscribe = function(t, r, n) {
1088
- var i = this, o = pi(t) ? t : new ht(t, r, n);
1049
+ var i = this, o = mi(t) ? t : new dt(t, r, n);
1089
1050
  return Ce(function() {
1090
1051
  var s = i, a = s.operator, u = s.source;
1091
1052
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -1098,8 +1059,8 @@ var Gt = function() {
1098
1059
  }
1099
1060
  }, e.prototype.forEach = function(t, r) {
1100
1061
  var n = this;
1101
- return r = kt(r), new r(function(i, o) {
1102
- var s = new ht({
1062
+ return r = jt(r), new r(function(i, o) {
1063
+ var s = new dt({
1103
1064
  next: function(a) {
1104
1065
  try {
1105
1066
  t(a);
@@ -1115,15 +1076,15 @@ var Gt = function() {
1115
1076
  }, e.prototype._subscribe = function(t) {
1116
1077
  var r;
1117
1078
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1118
- }, e.prototype[ci] = function() {
1079
+ }, e.prototype[hi] = function() {
1119
1080
  return this;
1120
1081
  }, e.prototype.pipe = function() {
1121
1082
  for (var t = [], r = 0; r < arguments.length; r++)
1122
1083
  t[r] = arguments[r];
1123
- return di(t)(this);
1084
+ return fi(t)(this);
1124
1085
  }, e.prototype.toPromise = function(t) {
1125
1086
  var r = this;
1126
- return t = kt(t), new t(function(n, i) {
1087
+ return t = jt(t), new t(function(n, i) {
1127
1088
  var o;
1128
1089
  r.subscribe(function(s) {
1129
1090
  return o = s;
@@ -1137,32 +1098,32 @@ var Gt = function() {
1137
1098
  return new e(t);
1138
1099
  }, e;
1139
1100
  }();
1140
- function kt(e) {
1101
+ function jt(e) {
1141
1102
  var t;
1142
- return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
1103
+ return (t = e ?? ii.Promise) !== null && t !== void 0 ? t : Promise;
1143
1104
  }
1144
- function mi(e) {
1145
- return e && X(e.next) && X(e.error) && X(e.complete);
1105
+ function di(e) {
1106
+ return e && z(e.next) && z(e.error) && z(e.complete);
1146
1107
  }
1147
- function pi(e) {
1148
- return e && e instanceof Cr || mi(e) && Or(e);
1108
+ function mi(e) {
1109
+ return e && e instanceof Cr || di(e) && Lr(e);
1149
1110
  }
1150
- var gi = Pr(function(e) {
1111
+ var pi = Or(function(e) {
1151
1112
  return function() {
1152
1113
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1153
1114
  };
1154
1115
  }), Nr = function(e) {
1155
- Z(t, e);
1116
+ Te(t, e);
1156
1117
  function t() {
1157
1118
  var r = e.call(this) || this;
1158
1119
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1159
1120
  }
1160
1121
  return t.prototype.lift = function(r) {
1161
- var n = new jt(this, this);
1122
+ var n = new Vt(this, this);
1162
1123
  return n.operator = r, n;
1163
1124
  }, t.prototype._throwIfClosed = function() {
1164
1125
  if (this.closed)
1165
- throw new gi();
1126
+ throw new pi();
1166
1127
  }, t.prototype.next = function(r) {
1167
1128
  var n = this;
1168
1129
  Ce(function() {
@@ -1170,7 +1131,7 @@ var gi = Pr(function(e) {
1170
1131
  if (n._throwIfClosed(), !n.isStopped) {
1171
1132
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1172
1133
  try {
1173
- for (var s = at(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1134
+ for (var s = lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1174
1135
  var u = a.value;
1175
1136
  u.next(r);
1176
1137
  }
@@ -1219,20 +1180,20 @@ var gi = Pr(function(e) {
1219
1180
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1220
1181
  }, t.prototype._innerSubscribe = function(r) {
1221
1182
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1222
- return o || s ? Ir : (this.currentObservers = null, a.push(r), new je(function() {
1223
- n.currentObservers = null, lt(a, r);
1183
+ return o || s ? Ir : (this.currentObservers = null, a.push(r), new Ve(function() {
1184
+ n.currentObservers = null, ft(a, r);
1224
1185
  }));
1225
1186
  }, t.prototype._checkFinalizedStatuses = function(r) {
1226
1187
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1227
1188
  i ? r.error(o) : s && r.complete();
1228
1189
  }, t.prototype.asObservable = function() {
1229
- var r = new Gt();
1190
+ var r = new kt();
1230
1191
  return r.source = this, r;
1231
1192
  }, t.create = function(r, n) {
1232
- return new jt(r, n);
1193
+ return new Vt(r, n);
1233
1194
  }, t;
1234
- }(Gt), jt = function(e) {
1235
- Z(t, e);
1195
+ }(kt), Vt = function(e) {
1196
+ Te(t, e);
1236
1197
  function t(r, n) {
1237
1198
  var i = e.call(this) || this;
1238
1199
  return i.destination = r, i.source = n, i;
@@ -1255,8 +1216,8 @@ var gi = Pr(function(e) {
1255
1216
  return (Rr.delegate || Date).now();
1256
1217
  },
1257
1218
  delegate: void 0
1258
- }, bi = function(e) {
1259
- Z(t, e);
1219
+ }, gi = function(e) {
1220
+ Te(t, e);
1260
1221
  function t(r, n, i) {
1261
1222
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rr);
1262
1223
  var o = e.call(this) || this;
@@ -1279,23 +1240,23 @@ var gi = Pr(function(e) {
1279
1240
  }
1280
1241
  }, t;
1281
1242
  }(Nr);
1282
- const Vt = [], Wt = {}, yi = (e, t = 0) => {
1283
- if (Vt.indexOf(e) == -1) {
1284
- const r = new bi(t);
1285
- Wt[e] = r, Vt.push(e);
1243
+ const Wt = [], Xt = {}, bi = (e, t = 0) => {
1244
+ if (Wt.indexOf(e) == -1) {
1245
+ const r = new gi(t);
1246
+ Xt[e] = r, Wt.push(e);
1286
1247
  }
1287
- return Wt[e];
1248
+ return Xt[e];
1288
1249
  }, oe = [];
1289
- function _i(e, t) {
1250
+ function yi(e, t) {
1290
1251
  return {
1291
- subscribe: Ve(e, t).subscribe
1252
+ subscribe: We(e, t).subscribe
1292
1253
  };
1293
1254
  }
1294
- function Ve(e, t = D) {
1255
+ function We(e, t = U) {
1295
1256
  let r;
1296
1257
  const n = /* @__PURE__ */ new Set();
1297
1258
  function i(a) {
1298
- if (wr(e, a) && (e = a, r)) {
1259
+ if (Sr(e, a) && (e = a, r)) {
1299
1260
  const u = !oe.length;
1300
1261
  for (const l of n)
1301
1262
  l[1](), oe.push(l, e);
@@ -1309,29 +1270,29 @@ function Ve(e, t = D) {
1309
1270
  function o(a) {
1310
1271
  i(a(e));
1311
1272
  }
1312
- function s(a, u = D) {
1273
+ function s(a, u = U) {
1313
1274
  const l = [a, u];
1314
- return n.add(l), n.size === 1 && (r = t(i, o) || D), a(e), () => {
1275
+ return n.add(l), n.size === 1 && (r = t(i, o) || U), a(e), () => {
1315
1276
  n.delete(l), n.size === 0 && r && (r(), r = null);
1316
1277
  };
1317
1278
  }
1318
1279
  return { set: i, update: o, subscribe: s };
1319
1280
  }
1320
- function be(e, t, r) {
1281
+ function ge(e, t, r) {
1321
1282
  const n = !Array.isArray(e), i = n ? [e] : e;
1322
1283
  if (!i.every(Boolean))
1323
1284
  throw new Error("derived() expects stores as input, got a falsy value");
1324
1285
  const o = t.length < 2;
1325
- return _i(r, (s, a) => {
1286
+ return yi(r, (s, a) => {
1326
1287
  let u = !1;
1327
1288
  const l = [];
1328
- let h = 0, f = D;
1289
+ let h = 0, f = U;
1329
1290
  const c = () => {
1330
1291
  if (h)
1331
1292
  return;
1332
1293
  f();
1333
1294
  const d = t(n ? l[0] : l, s, a);
1334
- o ? s(d) : f = Te(d) ? d : D;
1295
+ o ? s(d) : f = He(d) ? d : U;
1335
1296
  }, m = i.map(
1336
1297
  (d, b) => Hr(
1337
1298
  d,
@@ -1344,52 +1305,52 @@ function be(e, t, r) {
1344
1305
  )
1345
1306
  );
1346
1307
  return u = !0, c(), function() {
1347
- z(m), f(), u = !1;
1308
+ Z(m), f(), u = !1;
1348
1309
  };
1349
1310
  });
1350
1311
  }
1351
- var Ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1352
- function vi(e) {
1312
+ var Ms = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1313
+ function _i(e) {
1353
1314
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1354
1315
  }
1355
- var xi = function(t) {
1356
- return Ei(t) && !wi(t);
1316
+ var vi = function(t) {
1317
+ return xi(t) && !Ei(t);
1357
1318
  };
1358
- function Ei(e) {
1319
+ function xi(e) {
1359
1320
  return !!e && typeof e == "object";
1360
1321
  }
1361
- function wi(e) {
1322
+ function Ei(e) {
1362
1323
  var t = Object.prototype.toString.call(e);
1363
- return t === "[object RegExp]" || t === "[object Date]" || Ti(e);
1324
+ return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
1364
1325
  }
1365
- var Hi = typeof Symbol == "function" && Symbol.for, Si = Hi ? Symbol.for("react.element") : 60103;
1366
- function Ti(e) {
1326
+ var wi = typeof Symbol == "function" && Symbol.for, Si = wi ? Symbol.for("react.element") : 60103;
1327
+ function Hi(e) {
1367
1328
  return e.$$typeof === Si;
1368
1329
  }
1369
- function Mi(e) {
1330
+ function Ti(e) {
1370
1331
  return Array.isArray(e) ? [] : {};
1371
1332
  }
1372
- function He(e, t) {
1373
- return t.clone !== !1 && t.isMergeableObject(e) ? fe(Mi(e), e, t) : e;
1333
+ function we(e, t) {
1334
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Ti(e), e, t) : e;
1374
1335
  }
1375
- function Bi(e, t, r) {
1336
+ function Mi(e, t, r) {
1376
1337
  return e.concat(t).map(function(n) {
1377
- return He(n, r);
1338
+ return we(n, r);
1378
1339
  });
1379
1340
  }
1380
1341
  function Ai(e, t) {
1381
1342
  if (!t.customMerge)
1382
- return fe;
1343
+ return ce;
1383
1344
  var r = t.customMerge(e);
1384
- return typeof r == "function" ? r : fe;
1345
+ return typeof r == "function" ? r : ce;
1385
1346
  }
1386
- function Pi(e) {
1347
+ function Bi(e) {
1387
1348
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1388
1349
  return Object.propertyIsEnumerable.call(e, t);
1389
1350
  }) : [];
1390
1351
  }
1391
- function Xt(e) {
1392
- return Object.keys(e).concat(Pi(e));
1352
+ function zt(e) {
1353
+ return Object.keys(e).concat(Bi(e));
1393
1354
  }
1394
1355
  function Fr(e, t) {
1395
1356
  try {
@@ -1398,33 +1359,75 @@ function Fr(e, t) {
1398
1359
  return !1;
1399
1360
  }
1400
1361
  }
1401
- function Ii(e, t) {
1362
+ function Pi(e, t) {
1402
1363
  return Fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1403
1364
  }
1404
1365
  function Oi(e, t, r) {
1405
1366
  var n = {};
1406
- return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1407
- n[i] = He(e[i], r);
1408
- }), Xt(t).forEach(function(i) {
1409
- 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));
1367
+ return r.isMergeableObject(e) && zt(e).forEach(function(i) {
1368
+ n[i] = we(e[i], r);
1369
+ }), zt(t).forEach(function(i) {
1370
+ 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));
1410
1371
  }), n;
1411
1372
  }
1412
- function fe(e, t, r) {
1413
- r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = He;
1373
+ function ce(e, t, r) {
1374
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mi, r.isMergeableObject = r.isMergeableObject || vi, r.cloneUnlessOtherwiseSpecified = we;
1414
1375
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1415
- return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : He(t, r);
1376
+ return o ? n ? r.arrayMerge(e, t, r) : Oi(e, t, r) : we(t, r);
1416
1377
  }
1417
- fe.all = function(t, r) {
1378
+ ce.all = function(t, r) {
1418
1379
  if (!Array.isArray(t))
1419
1380
  throw new Error("first argument should be an array");
1420
1381
  return t.reduce(function(n, i) {
1421
- return fe(n, i, r);
1382
+ return ce(n, i, r);
1422
1383
  }, {});
1423
1384
  };
1424
- var Li = fe, Ci = Li;
1425
- const Ni = /* @__PURE__ */ vi(Ci);
1426
- function Ke(e, t) {
1427
- var r = t && t.cache ? t.cache : Gi, n = t && t.serializer ? t.serializer : $i, i = t && t.strategy ? t.strategy : Fi;
1385
+ var Ii = ce, Li = Ii;
1386
+ const Ci = /* @__PURE__ */ _i(Li);
1387
+ var mt = function(e, t) {
1388
+ return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1389
+ r.__proto__ = n;
1390
+ } || function(r, n) {
1391
+ for (var i in n)
1392
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1393
+ }, mt(e, t);
1394
+ };
1395
+ function Xe(e, t) {
1396
+ if (typeof t != "function" && t !== null)
1397
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1398
+ mt(e, t);
1399
+ function r() {
1400
+ this.constructor = e;
1401
+ }
1402
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1403
+ }
1404
+ var V = function() {
1405
+ return V = Object.assign || function(t) {
1406
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1407
+ r = arguments[n];
1408
+ for (var o in r)
1409
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1410
+ }
1411
+ return t;
1412
+ }, V.apply(this, arguments);
1413
+ };
1414
+ function Ni(e, t) {
1415
+ var r = {};
1416
+ for (var n in e)
1417
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1418
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1419
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1420
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1421
+ return r;
1422
+ }
1423
+ function et(e, t, r) {
1424
+ if (r || arguments.length === 2)
1425
+ for (var n = 0, i = t.length, o; n < i; n++)
1426
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1427
+ return e.concat(o || Array.prototype.slice.call(t));
1428
+ }
1429
+ function tt(e, t) {
1430
+ var r = t && t.cache ? t.cache : ki, n = t && t.serializer ? t.serializer : Di, i = t && t.strategy ? t.strategy : $i;
1428
1431
  return i(e, {
1429
1432
  cache: r,
1430
1433
  serializer: n
@@ -1433,95 +1436,103 @@ function Ke(e, t) {
1433
1436
  function Ri(e) {
1434
1437
  return e == null || typeof e == "number" || typeof e == "boolean";
1435
1438
  }
1436
- function Ur(e, t, r, n) {
1439
+ function Fi(e, t, r, n) {
1437
1440
  var i = Ri(n) ? n : r(n), o = t.get(i);
1438
1441
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1439
1442
  }
1440
- function Dr(e, t, r) {
1443
+ function $r(e, t, r) {
1441
1444
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1442
1445
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1443
1446
  }
1444
- function xt(e, t, r, n, i) {
1447
+ function Ur(e, t, r, n, i) {
1445
1448
  return r.bind(t, e, n, i);
1446
1449
  }
1447
- function Fi(e, t) {
1448
- var r = e.length === 1 ? Ur : Dr;
1449
- return xt(e, this, r, t.cache.create(), t.serializer);
1450
+ function $i(e, t) {
1451
+ var r = e.length === 1 ? Fi : $r;
1452
+ return Ur(e, this, r, t.cache.create(), t.serializer);
1450
1453
  }
1451
1454
  function Ui(e, t) {
1452
- return xt(e, this, Dr, t.cache.create(), t.serializer);
1455
+ return Ur(e, this, $r, t.cache.create(), t.serializer);
1453
1456
  }
1454
- function Di(e, t) {
1455
- return xt(e, this, Ur, t.cache.create(), t.serializer);
1456
- }
1457
- var $i = function() {
1457
+ var Di = function() {
1458
1458
  return JSON.stringify(arguments);
1459
- };
1460
- function Et() {
1461
- this.cache = /* @__PURE__ */ Object.create(null);
1462
- }
1463
- Et.prototype.get = function(e) {
1464
- return this.cache[e];
1465
- };
1466
- Et.prototype.set = function(e, t) {
1467
- this.cache[e] = t;
1468
- };
1469
- var Gi = {
1459
+ }, Gi = (
1460
+ /** @class */
1461
+ function() {
1462
+ function e() {
1463
+ this.cache = /* @__PURE__ */ Object.create(null);
1464
+ }
1465
+ return e.prototype.get = function(t) {
1466
+ return this.cache[t];
1467
+ }, e.prototype.set = function(t, r) {
1468
+ this.cache[t] = r;
1469
+ }, e;
1470
+ }()
1471
+ ), ki = {
1470
1472
  create: function() {
1471
- return new Et();
1473
+ return new Gi();
1472
1474
  }
1473
- }, et = {
1474
- variadic: Ui,
1475
- monadic: Di
1476
- }, H;
1475
+ }, rt = {
1476
+ variadic: Ui
1477
+ }, Ge = function() {
1478
+ return Ge = Object.assign || function(t) {
1479
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1480
+ r = arguments[n];
1481
+ for (var o in r)
1482
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1483
+ }
1484
+ return t;
1485
+ }, Ge.apply(this, arguments);
1486
+ };
1487
+ var S;
1477
1488
  (function(e) {
1478
1489
  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";
1479
- })(H || (H = {}));
1480
- var N;
1490
+ })(S || (S = {}));
1491
+ var C;
1481
1492
  (function(e) {
1482
1493
  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";
1483
- })(N || (N = {}));
1484
- var de;
1494
+ })(C || (C = {}));
1495
+ var fe;
1485
1496
  (function(e) {
1486
1497
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1487
- })(de || (de = {}));
1488
- function zt(e) {
1489
- return e.type === N.literal;
1498
+ })(fe || (fe = {}));
1499
+ function Zt(e) {
1500
+ return e.type === C.literal;
1490
1501
  }
1491
- function ki(e) {
1492
- return e.type === N.argument;
1502
+ function ji(e) {
1503
+ return e.type === C.argument;
1493
1504
  }
1494
- function $r(e) {
1495
- return e.type === N.number;
1505
+ function Dr(e) {
1506
+ return e.type === C.number;
1496
1507
  }
1497
1508
  function Gr(e) {
1498
- return e.type === N.date;
1509
+ return e.type === C.date;
1499
1510
  }
1500
1511
  function kr(e) {
1501
- return e.type === N.time;
1512
+ return e.type === C.time;
1502
1513
  }
1503
1514
  function jr(e) {
1504
- return e.type === N.select;
1515
+ return e.type === C.select;
1505
1516
  }
1506
1517
  function Vr(e) {
1507
- return e.type === N.plural;
1518
+ return e.type === C.plural;
1508
1519
  }
1509
- function ji(e) {
1510
- return e.type === N.pound;
1520
+ function Vi(e) {
1521
+ return e.type === C.pound;
1511
1522
  }
1512
1523
  function Wr(e) {
1513
- return e.type === N.tag;
1524
+ return e.type === C.tag;
1514
1525
  }
1515
1526
  function Xr(e) {
1516
- return !!(e && typeof e == "object" && e.type === de.number);
1527
+ return !!(e && typeof e == "object" && e.type === fe.number);
1517
1528
  }
1518
- function ct(e) {
1519
- return !!(e && typeof e == "object" && e.type === de.dateTime);
1529
+ function pt(e) {
1530
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
1520
1531
  }
1521
- 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;
1522
- function Wi(e) {
1532
+ 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;
1533
+ function Xi(e) {
1523
1534
  var t = {};
1524
- return e.replace(Vi, function(r) {
1535
+ return e.replace(Wi, function(r) {
1525
1536
  var n = r.length;
1526
1537
  switch (r[0]) {
1527
1538
  case "G":
@@ -1610,11 +1621,21 @@ function Wi(e) {
1610
1621
  return "";
1611
1622
  }), t;
1612
1623
  }
1613
- var Xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1614
- function zi(e) {
1624
+ var R = function() {
1625
+ return R = Object.assign || function(t) {
1626
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1627
+ r = arguments[n];
1628
+ for (var o in r)
1629
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1630
+ }
1631
+ return t;
1632
+ }, R.apply(this, arguments);
1633
+ };
1634
+ var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1635
+ function Zi(e) {
1615
1636
  if (e.length === 0)
1616
1637
  throw new Error("Number skeleton cannot be empty");
1617
- for (var t = e.split(Xi).filter(function(c) {
1638
+ for (var t = e.split(zi).filter(function(c) {
1618
1639
  return c.length > 0;
1619
1640
  }), r = [], n = 0, i = t; n < i.length; n++) {
1620
1641
  var o = i[n], s = o.split("/");
@@ -1629,11 +1650,11 @@ function zi(e) {
1629
1650
  }
1630
1651
  return r;
1631
1652
  }
1632
- function Zi(e) {
1653
+ function qi(e) {
1633
1654
  return e.replace(/^(.*?)-/, "");
1634
1655
  }
1635
- var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1636
- function qt(e) {
1656
+ var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, Qi = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1657
+ function Qt(e) {
1637
1658
  var t = {};
1638
1659
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zr, function(r, n, i) {
1639
1660
  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)), "";
@@ -1679,7 +1700,7 @@ function Qr(e) {
1679
1700
  };
1680
1701
  }
1681
1702
  }
1682
- function Qi(e) {
1703
+ function Ji(e) {
1683
1704
  var t;
1684
1705
  if (e[0] === "E" && e[1] === "E" ? (t = {
1685
1706
  notation: "engineering"
@@ -1693,11 +1714,11 @@ function Qi(e) {
1693
1714
  }
1694
1715
  return t;
1695
1716
  }
1696
- function Qt(e) {
1717
+ function Jt(e) {
1697
1718
  var t = {}, r = Qr(e);
1698
1719
  return r || t;
1699
1720
  }
1700
- function Ji(e) {
1721
+ function Yi(e) {
1701
1722
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1702
1723
  var i = n[r];
1703
1724
  switch (i.stem) {
@@ -1721,7 +1742,7 @@ function Ji(e) {
1721
1742
  continue;
1722
1743
  case "measure-unit":
1723
1744
  case "unit":
1724
- t.style = "unit", t.unit = Zi(i.options[0]);
1745
+ t.style = "unit", t.unit = qi(i.options[0]);
1725
1746
  continue;
1726
1747
  case "compact-short":
1727
1748
  case "K":
@@ -1732,13 +1753,13 @@ function Ji(e) {
1732
1753
  t.notation = "compact", t.compactDisplay = "long";
1733
1754
  continue;
1734
1755
  case "scientific":
1735
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1736
- return B(B({}, u), Qt(l));
1756
+ t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1757
+ return R(R({}, u), Jt(l));
1737
1758
  }, {}));
1738
1759
  continue;
1739
1760
  case "engineering":
1740
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1741
- return B(B({}, u), Qt(l));
1761
+ t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1762
+ return R(R({}, u), Jt(l));
1742
1763
  }, {}));
1743
1764
  continue;
1744
1765
  case "notation-simple":
@@ -1783,7 +1804,7 @@ function Ji(e) {
1783
1804
  case "integer-width":
1784
1805
  if (i.options.length > 1)
1785
1806
  throw new RangeError("integer-width stems only accept a single optional option");
1786
- i.options[0].replace(qi, function(u, l, h, f, c, m) {
1807
+ i.options[0].replace(Qi, function(u, l, h, f, c, m) {
1787
1808
  if (l)
1788
1809
  t.minimumIntegerDigits = h.length;
1789
1810
  else {
@@ -1800,28 +1821,28 @@ function Ji(e) {
1800
1821
  t.minimumIntegerDigits = i.stem.length;
1801
1822
  continue;
1802
1823
  }
1803
- if (Zt.test(i.stem)) {
1824
+ if (qt.test(i.stem)) {
1804
1825
  if (i.options.length > 1)
1805
1826
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1806
- i.stem.replace(Zt, function(u, l, h, f, c, m) {
1827
+ i.stem.replace(qt, function(u, l, h, f, c, m) {
1807
1828
  return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1808
1829
  });
1809
1830
  var o = i.options[0];
1810
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), qt(o)));
1831
+ o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Qt(o)));
1811
1832
  continue;
1812
1833
  }
1813
1834
  if (Zr.test(i.stem)) {
1814
- t = B(B({}, t), qt(i.stem));
1835
+ t = R(R({}, t), Qt(i.stem));
1815
1836
  continue;
1816
1837
  }
1817
1838
  var s = Qr(i.stem);
1818
- s && (t = B(B({}, t), s));
1819
- var a = Qi(i.stem);
1820
- a && (t = B(B({}, t), a));
1839
+ s && (t = R(R({}, t), s));
1840
+ var a = Ji(i.stem);
1841
+ a && (t = R(R({}, t), a));
1821
1842
  }
1822
1843
  return t;
1823
1844
  }
1824
- var Ie = {
1845
+ var Oe = {
1825
1846
  "001": [
1826
1847
  "H",
1827
1848
  "h"
@@ -3236,13 +3257,13 @@ var Ie = {
3236
3257
  "h"
3237
3258
  ]
3238
3259
  };
3239
- function Yi(e, t) {
3260
+ function Ki(e, t) {
3240
3261
  for (var r = "", n = 0; n < e.length; n++) {
3241
3262
  var i = e.charAt(n);
3242
3263
  if (i === "j") {
3243
3264
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3244
3265
  o++, n++;
3245
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ki(t);
3266
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = eo(t);
3246
3267
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3247
3268
  r += u;
3248
3269
  for (; s-- > 0; )
@@ -3252,7 +3273,7 @@ function Yi(e, t) {
3252
3273
  }
3253
3274
  return r;
3254
3275
  }
3255
- function Ki(e) {
3276
+ function eo(e) {
3256
3277
  var t = e.hourCycle;
3257
3278
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3258
3279
  e.hourCycles && // @ts-ignore
@@ -3271,23 +3292,23 @@ function Ki(e) {
3271
3292
  }
3272
3293
  var r = e.language, n;
3273
3294
  r !== "root" && (n = e.maximize().region);
3274
- var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
3295
+ var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3275
3296
  return i[0];
3276
3297
  }
3277
- var tt, eo = new RegExp("^".concat(zr.source, "*")), to = new RegExp("".concat(zr.source, "*$"));
3298
+ var nt, to = new RegExp("^".concat(zr.source, "*")), ro = new RegExp("".concat(zr.source, "*$"));
3278
3299
  function T(e, t) {
3279
3300
  return { start: e, end: t };
3280
3301
  }
3281
- 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) {
3302
+ 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) {
3282
3303
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3283
- }, ft = !0;
3304
+ }, gt = !0;
3284
3305
  try {
3285
- var ho = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3286
- ft = ((tt = ho.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3306
+ var co = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3307
+ gt = ((nt = co.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
3287
3308
  } catch {
3288
- ft = !1;
3309
+ gt = !1;
3289
3310
  }
3290
- var Jt = ro ? (
3311
+ var Yt = no ? (
3291
3312
  // Native
3292
3313
  function(t, r, n) {
3293
3314
  return t.startsWith(r, n);
@@ -3297,7 +3318,7 @@ var Jt = ro ? (
3297
3318
  function(t, r, n) {
3298
3319
  return t.slice(n, n + r.length) === r;
3299
3320
  }
3300
- ), dt = no ? String.fromCodePoint : (
3321
+ ), bt = io ? String.fromCodePoint : (
3301
3322
  // IE11
3302
3323
  function() {
3303
3324
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3309,9 +3330,9 @@ var Jt = ro ? (
3309
3330
  }
3310
3331
  return n;
3311
3332
  }
3312
- ), Yt = (
3333
+ ), Kt = (
3313
3334
  // native
3314
- io ? Object.fromEntries : (
3335
+ oo ? Object.fromEntries : (
3315
3336
  // Ponyfill
3316
3337
  function(t) {
3317
3338
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3321,7 +3342,7 @@ var Jt = ro ? (
3321
3342
  return r;
3322
3343
  }
3323
3344
  )
3324
- ), Jr = oo ? (
3345
+ ), Jr = so ? (
3325
3346
  // Native
3326
3347
  function(t, r) {
3327
3348
  return t.codePointAt(r);
@@ -3335,7 +3356,7 @@ var Jt = ro ? (
3335
3356
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3336
3357
  }
3337
3358
  }
3338
- ), co = so ? (
3359
+ ), fo = ao ? (
3339
3360
  // Native
3340
3361
  function(t) {
3341
3362
  return t.trimStart();
@@ -3343,9 +3364,9 @@ var Jt = ro ? (
3343
3364
  ) : (
3344
3365
  // Ponyfill
3345
3366
  function(t) {
3346
- return t.replace(eo, "");
3367
+ return t.replace(to, "");
3347
3368
  }
3348
- ), fo = ao ? (
3369
+ ), mo = uo ? (
3349
3370
  // Native
3350
3371
  function(t) {
3351
3372
  return t.trimEnd();
@@ -3353,32 +3374,32 @@ var Jt = ro ? (
3353
3374
  ) : (
3354
3375
  // Ponyfill
3355
3376
  function(t) {
3356
- return t.replace(to, "");
3377
+ return t.replace(ro, "");
3357
3378
  }
3358
3379
  );
3359
3380
  function Yr(e, t) {
3360
3381
  return new RegExp(e, t);
3361
3382
  }
3362
- var mt;
3363
- if (ft) {
3364
- var Kt = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3365
- mt = function(t, r) {
3383
+ var yt;
3384
+ if (gt) {
3385
+ var er = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3386
+ yt = function(t, r) {
3366
3387
  var n;
3367
- Kt.lastIndex = r;
3368
- var i = Kt.exec(t);
3388
+ er.lastIndex = r;
3389
+ var i = er.exec(t);
3369
3390
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3370
3391
  };
3371
3392
  } else
3372
- mt = function(t, r) {
3393
+ yt = function(t, r) {
3373
3394
  for (var n = []; ; ) {
3374
3395
  var i = Jr(t, r);
3375
- if (i === void 0 || Kr(i) || bo(i))
3396
+ if (i === void 0 || Kr(i) || yo(i))
3376
3397
  break;
3377
3398
  n.push(i), r += i >= 65536 ? 2 : 1;
3378
3399
  }
3379
- return dt.apply(void 0, n);
3400
+ return bt.apply(void 0, n);
3380
3401
  };
3381
- var mo = (
3402
+ var po = (
3382
3403
  /** @class */
3383
3404
  function() {
3384
3405
  function e(t, r) {
@@ -3402,14 +3423,14 @@ var mo = (
3402
3423
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3403
3424
  var a = this.clonePosition();
3404
3425
  this.bump(), i.push({
3405
- type: N.pound,
3426
+ type: C.pound,
3406
3427
  location: T(a, this.clonePosition())
3407
3428
  });
3408
3429
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3409
3430
  if (n)
3410
3431
  break;
3411
- return this.error(H.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3412
- } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3432
+ return this.error(S.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
3433
+ } else if (o === 60 && !this.ignoreTag && _t(this.peek() || 0)) {
3413
3434
  var s = this.parseTag(t, r);
3414
3435
  if (s.err)
3415
3436
  return s;
@@ -3430,7 +3451,7 @@ var mo = (
3430
3451
  if (this.bumpSpace(), this.bumpIf("/>"))
3431
3452
  return {
3432
3453
  val: {
3433
- type: N.literal,
3454
+ type: C.literal,
3434
3455
  value: "<".concat(i, "/>"),
3435
3456
  location: T(n, this.clonePosition())
3436
3457
  },
@@ -3442,25 +3463,25 @@ var mo = (
3442
3463
  return o;
3443
3464
  var s = o.val, a = this.clonePosition();
3444
3465
  if (this.bumpIf("</")) {
3445
- if (this.isEOF() || !pt(this.char()))
3446
- return this.error(H.INVALID_TAG, T(a, this.clonePosition()));
3466
+ if (this.isEOF() || !_t(this.char()))
3467
+ return this.error(S.INVALID_TAG, T(a, this.clonePosition()));
3447
3468
  var u = this.clonePosition(), l = this.parseTagName();
3448
- return i !== l ? this.error(H.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3469
+ return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3449
3470
  val: {
3450
- type: N.tag,
3471
+ type: C.tag,
3451
3472
  value: i,
3452
3473
  children: s,
3453
3474
  location: T(n, this.clonePosition())
3454
3475
  },
3455
3476
  err: null
3456
- } : this.error(H.INVALID_TAG, T(a, this.clonePosition())));
3477
+ } : this.error(S.INVALID_TAG, T(a, this.clonePosition())));
3457
3478
  } else
3458
- return this.error(H.UNCLOSED_TAG, T(n, this.clonePosition()));
3479
+ return this.error(S.UNCLOSED_TAG, T(n, this.clonePosition()));
3459
3480
  } else
3460
- return this.error(H.INVALID_TAG, T(n, this.clonePosition()));
3481
+ return this.error(S.INVALID_TAG, T(n, this.clonePosition()));
3461
3482
  }, e.prototype.parseTagName = function() {
3462
3483
  var t = this.offset();
3463
- for (this.bump(); !this.isEOF() && go(this.char()); )
3484
+ for (this.bump(); !this.isEOF() && bo(this.char()); )
3464
3485
  this.bump();
3465
3486
  return this.message.slice(t, this.offset());
3466
3487
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3484,12 +3505,12 @@ var mo = (
3484
3505
  }
3485
3506
  var u = T(n, this.clonePosition());
3486
3507
  return {
3487
- val: { type: N.literal, value: i, location: u },
3508
+ val: { type: C.literal, value: i, location: u },
3488
3509
  err: null
3489
3510
  };
3490
3511
  }, e.prototype.tryParseLeftAngleBracket = function() {
3491
3512
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3492
- !po(this.peek() || 0)) ? (this.bump(), "<") : null;
3513
+ !go(this.peek() || 0)) ? (this.bump(), "<") : null;
3493
3514
  }, e.prototype.tryParseQuote = function(t) {
3494
3515
  if (this.isEOF() || this.char() !== 39)
3495
3516
  return null;
@@ -3523,28 +3544,28 @@ var mo = (
3523
3544
  r.push(n);
3524
3545
  this.bump();
3525
3546
  }
3526
- return dt.apply(void 0, r);
3547
+ return bt.apply(void 0, r);
3527
3548
  }, e.prototype.tryParseUnquoted = function(t, r) {
3528
3549
  if (this.isEOF())
3529
3550
  return null;
3530
3551
  var n = this.char();
3531
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
3552
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), bt(n));
3532
3553
  }, e.prototype.parseArgument = function(t, r) {
3533
3554
  var n = this.clonePosition();
3534
3555
  if (this.bump(), this.bumpSpace(), this.isEOF())
3535
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3556
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3536
3557
  if (this.char() === 125)
3537
- return this.bump(), this.error(H.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3558
+ return this.bump(), this.error(S.EMPTY_ARGUMENT, T(n, this.clonePosition()));
3538
3559
  var i = this.parseIdentifierIfPossible().value;
3539
3560
  if (!i)
3540
- return this.error(H.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3561
+ return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3541
3562
  if (this.bumpSpace(), this.isEOF())
3542
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3563
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
3543
3564
  switch (this.char()) {
3544
3565
  case 125:
3545
3566
  return this.bump(), {
3546
3567
  val: {
3547
- type: N.argument,
3568
+ type: C.argument,
3548
3569
  // value does not include the opening and closing braces.
3549
3570
  value: i,
3550
3571
  location: T(n, this.clonePosition())
@@ -3552,12 +3573,12 @@ var mo = (
3552
3573
  err: null
3553
3574
  };
3554
3575
  case 44:
3555
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3576
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3556
3577
  default:
3557
- return this.error(H.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3578
+ return this.error(S.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
3558
3579
  }
3559
3580
  }, e.prototype.parseIdentifierIfPossible = function() {
3560
- var t = this.clonePosition(), r = this.offset(), n = mt(this.message, r), i = r + n.length;
3581
+ var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
3561
3582
  this.bumpTo(i);
3562
3583
  var o = this.clonePosition(), s = T(t, o);
3563
3584
  return { value: n, location: s };
@@ -3565,7 +3586,7 @@ var mo = (
3565
3586
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3566
3587
  switch (a) {
3567
3588
  case "":
3568
- return this.error(H.EXPECT_ARGUMENT_TYPE, T(s, u));
3589
+ return this.error(S.EXPECT_ARGUMENT_TYPE, T(s, u));
3569
3590
  case "number":
3570
3591
  case "date":
3571
3592
  case "time": {
@@ -3576,9 +3597,9 @@ var mo = (
3576
3597
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3577
3598
  if (f.err)
3578
3599
  return f;
3579
- var c = fo(f.val);
3600
+ var c = mo(f.val);
3580
3601
  if (c.length === 0)
3581
- return this.error(H.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3602
+ return this.error(S.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
3582
3603
  var m = T(h, this.clonePosition());
3583
3604
  l = { style: c, styleLocation: m };
3584
3605
  }
@@ -3586,34 +3607,34 @@ var mo = (
3586
3607
  if (d.err)
3587
3608
  return d;
3588
3609
  var b = T(i, this.clonePosition());
3589
- if (l && Jt(l?.style, "::", 0)) {
3590
- var w = co(l.style.slice(2));
3610
+ if (l && Yt(l?.style, "::", 0)) {
3611
+ var w = fo(l.style.slice(2));
3591
3612
  if (a === "number") {
3592
3613
  var f = this.parseNumberSkeletonFromString(w, l.styleLocation);
3593
3614
  return f.err ? f : {
3594
- val: { type: N.number, value: n, location: b, style: f.val },
3615
+ val: { type: C.number, value: n, location: b, style: f.val },
3595
3616
  err: null
3596
3617
  };
3597
3618
  } else {
3598
3619
  if (w.length === 0)
3599
- return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
3620
+ return this.error(S.EXPECT_DATE_TIME_SKELETON, b);
3600
3621
  var O = w;
3601
- this.locale && (O = Yi(w, this.locale));
3622
+ this.locale && (O = Ki(w, this.locale));
3602
3623
  var c = {
3603
- type: de.dateTime,
3624
+ type: fe.dateTime,
3604
3625
  pattern: O,
3605
3626
  location: l.styleLocation,
3606
- parsedOptions: this.shouldParseSkeletons ? Wi(O) : {}
3607
- }, I = a === "date" ? N.date : N.time;
3627
+ parsedOptions: this.shouldParseSkeletons ? Xi(O) : {}
3628
+ }, P = a === "date" ? C.date : C.time;
3608
3629
  return {
3609
- val: { type: I, value: n, location: b, style: c },
3630
+ val: { type: P, value: n, location: b, style: c },
3610
3631
  err: null
3611
3632
  };
3612
3633
  }
3613
3634
  }
3614
3635
  return {
3615
3636
  val: {
3616
- type: a === "number" ? N.number : a === "date" ? N.date : N.time,
3637
+ type: a === "number" ? C.number : a === "date" ? C.date : C.time,
3617
3638
  value: n,
3618
3639
  location: b,
3619
3640
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -3624,21 +3645,21 @@ var mo = (
3624
3645
  case "plural":
3625
3646
  case "selectordinal":
3626
3647
  case "select": {
3627
- var S = this.clonePosition();
3648
+ var H = this.clonePosition();
3628
3649
  if (this.bumpSpace(), !this.bumpIf(","))
3629
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, T(S, B({}, S)));
3650
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, T(H, Ge({}, H)));
3630
3651
  this.bumpSpace();
3631
- var L = this.parseIdentifierIfPossible(), y = 0;
3632
- if (a !== "select" && L.value === "offset") {
3652
+ var I = this.parseIdentifierIfPossible(), y = 0;
3653
+ if (a !== "select" && I.value === "offset") {
3633
3654
  if (!this.bumpIf(":"))
3634
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3655
+ return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3635
3656
  this.bumpSpace();
3636
- var f = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3657
+ var f = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3637
3658
  if (f.err)
3638
3659
  return f;
3639
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), y = f.val;
3660
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), y = f.val;
3640
3661
  }
3641
- var M = this.tryParsePluralOrSelectOptions(t, a, r, L);
3662
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, I);
3642
3663
  if (M.err)
3643
3664
  return M;
3644
3665
  var d = this.tryParseArgumentClose(i);
@@ -3647,17 +3668,17 @@ var mo = (
3647
3668
  var _ = T(i, this.clonePosition());
3648
3669
  return a === "select" ? {
3649
3670
  val: {
3650
- type: N.select,
3671
+ type: C.select,
3651
3672
  value: n,
3652
- options: Yt(M.val),
3673
+ options: Kt(M.val),
3653
3674
  location: _
3654
3675
  },
3655
3676
  err: null
3656
3677
  } : {
3657
3678
  val: {
3658
- type: N.plural,
3679
+ type: C.plural,
3659
3680
  value: n,
3660
- options: Yt(M.val),
3681
+ options: Kt(M.val),
3661
3682
  offset: y,
3662
3683
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3663
3684
  location: _
@@ -3666,10 +3687,10 @@ var mo = (
3666
3687
  };
3667
3688
  }
3668
3689
  default:
3669
- return this.error(H.INVALID_ARGUMENT_TYPE, T(s, u));
3690
+ return this.error(S.INVALID_ARGUMENT_TYPE, T(s, u));
3670
3691
  }
3671
3692
  }, e.prototype.tryParseArgumentClose = function(t) {
3672
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3693
+ return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3673
3694
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3674
3695
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3675
3696
  var n = this.char();
@@ -3678,7 +3699,7 @@ var mo = (
3678
3699
  this.bump();
3679
3700
  var i = this.clonePosition();
3680
3701
  if (!this.bumpUntil("'"))
3681
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3702
+ return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
3682
3703
  this.bump();
3683
3704
  break;
3684
3705
  }
@@ -3708,16 +3729,16 @@ var mo = (
3708
3729
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3709
3730
  var n = [];
3710
3731
  try {
3711
- n = zi(t);
3732
+ n = Zi(t);
3712
3733
  } catch {
3713
- return this.error(H.INVALID_NUMBER_SKELETON, r);
3734
+ return this.error(S.INVALID_NUMBER_SKELETON, r);
3714
3735
  }
3715
3736
  return {
3716
3737
  val: {
3717
- type: de.number,
3738
+ type: fe.number,
3718
3739
  tokens: n,
3719
3740
  location: r,
3720
- parsedOptions: this.shouldParseSkeletons ? Ji(n) : {}
3741
+ parsedOptions: this.shouldParseSkeletons ? Yi(n) : {}
3721
3742
  },
3722
3743
  err: null
3723
3744
  };
@@ -3726,7 +3747,7 @@ var mo = (
3726
3747
  if (l.length === 0) {
3727
3748
  var f = this.clonePosition();
3728
3749
  if (r !== "select" && this.bumpIf("=")) {
3729
- var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3750
+ var c = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3730
3751
  if (c.err)
3731
3752
  return c;
3732
3753
  h = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
@@ -3734,11 +3755,11 @@ var mo = (
3734
3755
  break;
3735
3756
  }
3736
3757
  if (u.has(l))
3737
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3758
+ return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3738
3759
  l === "other" && (s = !0), this.bumpSpace();
3739
3760
  var m = this.clonePosition();
3740
3761
  if (!this.bumpIf("{"))
3741
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3762
+ return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3742
3763
  var d = this.parseMessage(t + 1, r, n);
3743
3764
  if (d.err)
3744
3765
  return d;
@@ -3753,7 +3774,7 @@ var mo = (
3753
3774
  }
3754
3775
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3755
3776
  }
3756
- 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 };
3777
+ 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 };
3757
3778
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3758
3779
  var n = 1, i = this.clonePosition();
3759
3780
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3765,7 +3786,7 @@ var mo = (
3765
3786
  break;
3766
3787
  }
3767
3788
  var u = T(i, this.clonePosition());
3768
- return o ? (s *= n, lo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3789
+ return o ? (s *= n, ho(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3769
3790
  }, e.prototype.offset = function() {
3770
3791
  return this.position.offset;
3771
3792
  }, e.prototype.isEOF = function() {
@@ -3799,7 +3820,7 @@ var mo = (
3799
3820
  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);
3800
3821
  }
3801
3822
  }, e.prototype.bumpIf = function(t) {
3802
- if (Jt(this.message, t, this.offset())) {
3823
+ if (Yt(this.message, t, this.offset())) {
3803
3824
  for (var r = 0; r < t.length; r++)
3804
3825
  this.bump();
3805
3826
  return !0;
@@ -3831,47 +3852,47 @@ var mo = (
3831
3852
  }, e;
3832
3853
  }()
3833
3854
  );
3834
- function pt(e) {
3855
+ function _t(e) {
3835
3856
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3836
3857
  }
3837
- function po(e) {
3838
- return pt(e) || e === 47;
3839
- }
3840
3858
  function go(e) {
3859
+ return _t(e) || e === 47;
3860
+ }
3861
+ function bo(e) {
3841
3862
  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;
3842
3863
  }
3843
3864
  function Kr(e) {
3844
3865
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3845
3866
  }
3846
- function bo(e) {
3867
+ function yo(e) {
3847
3868
  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;
3848
3869
  }
3849
- function gt(e) {
3870
+ function vt(e) {
3850
3871
  e.forEach(function(t) {
3851
3872
  if (delete t.location, jr(t) || Vr(t))
3852
3873
  for (var r in t.options)
3853
- delete t.options[r].location, gt(t.options[r].value);
3874
+ delete t.options[r].location, vt(t.options[r].value);
3854
3875
  else
3855
- $r(t) && Xr(t.style) || (Gr(t) || kr(t)) && ct(t.style) ? delete t.style.location : Wr(t) && gt(t.children);
3876
+ Dr(t) && Xr(t.style) || (Gr(t) || kr(t)) && pt(t.style) ? delete t.style.location : Wr(t) && vt(t.children);
3856
3877
  });
3857
3878
  }
3858
- function yo(e, t) {
3859
- t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3860
- var r = new mo(e, t).parse();
3879
+ function _o(e, t) {
3880
+ t === void 0 && (t = {}), t = Ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3881
+ var r = new po(e, t).parse();
3861
3882
  if (r.err) {
3862
- var n = SyntaxError(H[r.err.kind]);
3883
+ var n = SyntaxError(S[r.err.kind]);
3863
3884
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3864
3885
  }
3865
- return t?.captureLocation || gt(r.val), r.val;
3886
+ return t?.captureLocation || vt(r.val), r.val;
3866
3887
  }
3867
- var me;
3888
+ var de;
3868
3889
  (function(e) {
3869
3890
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3870
- })(me || (me = {}));
3871
- var We = (
3891
+ })(de || (de = {}));
3892
+ var ze = (
3872
3893
  /** @class */
3873
3894
  function(e) {
3874
- Z(t, e);
3895
+ Xe(t, e);
3875
3896
  function t(r, n, i) {
3876
3897
  var o = e.call(this, r) || this;
3877
3898
  return o.code = n, o.originalMessage = i, o;
@@ -3880,48 +3901,48 @@ var We = (
3880
3901
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3881
3902
  }, t;
3882
3903
  }(Error)
3883
- ), er = (
3904
+ ), tr = (
3884
3905
  /** @class */
3885
3906
  function(e) {
3886
- Z(t, e);
3907
+ Xe(t, e);
3887
3908
  function t(r, n, i, o) {
3888
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, o) || this;
3909
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3889
3910
  }
3890
3911
  return t;
3891
- }(We)
3892
- ), _o = (
3912
+ }(ze)
3913
+ ), vo = (
3893
3914
  /** @class */
3894
3915
  function(e) {
3895
- Z(t, e);
3916
+ Xe(t, e);
3896
3917
  function t(r, n, i) {
3897
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3918
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3898
3919
  }
3899
3920
  return t;
3900
- }(We)
3901
- ), vo = (
3921
+ }(ze)
3922
+ ), xo = (
3902
3923
  /** @class */
3903
3924
  function(e) {
3904
- Z(t, e);
3925
+ Xe(t, e);
3905
3926
  function t(r, n) {
3906
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3927
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3907
3928
  }
3908
3929
  return t;
3909
- }(We)
3930
+ }(ze)
3910
3931
  ), F;
3911
3932
  (function(e) {
3912
3933
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3913
3934
  })(F || (F = {}));
3914
- function xo(e) {
3935
+ function Eo(e) {
3915
3936
  return e.length < 2 ? e : e.reduce(function(t, r) {
3916
3937
  var n = t[t.length - 1];
3917
3938
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3918
3939
  }, []);
3919
3940
  }
3920
- function Eo(e) {
3941
+ function wo(e) {
3921
3942
  return typeof e == "function";
3922
3943
  }
3923
3944
  function Ne(e, t, r, n, i, o, s) {
3924
- if (e.length === 1 && zt(e[0]))
3945
+ if (e.length === 1 && Zt(e[0]))
3925
3946
  return [
3926
3947
  {
3927
3948
  type: F.literal,
@@ -3930,14 +3951,14 @@ function Ne(e, t, r, n, i, o, s) {
3930
3951
  ];
3931
3952
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3932
3953
  var h = l[u];
3933
- if (zt(h)) {
3954
+ if (Zt(h)) {
3934
3955
  a.push({
3935
3956
  type: F.literal,
3936
3957
  value: h.value
3937
3958
  });
3938
3959
  continue;
3939
3960
  }
3940
- if (ji(h)) {
3961
+ if (Vi(h)) {
3941
3962
  typeof o == "number" && a.push({
3942
3963
  type: F.literal,
3943
3964
  value: r.getNumberFormat(t).format(o)
@@ -3946,9 +3967,9 @@ function Ne(e, t, r, n, i, o, s) {
3946
3967
  }
3947
3968
  var f = h.value;
3948
3969
  if (!(i && f in i))
3949
- throw new vo(f, s);
3970
+ throw new xo(f, s);
3950
3971
  var c = i[f];
3951
- if (ki(h)) {
3972
+ if (ji(h)) {
3952
3973
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3953
3974
  type: typeof c == "string" ? F.literal : F.object,
3954
3975
  value: c
@@ -3956,7 +3977,7 @@ function Ne(e, t, r, n, i, o, s) {
3956
3977
  continue;
3957
3978
  }
3958
3979
  if (Gr(h)) {
3959
- var m = typeof h.style == "string" ? n.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
3980
+ var m = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
3960
3981
  a.push({
3961
3982
  type: F.literal,
3962
3983
  value: r.getDateTimeFormat(t, m).format(c)
@@ -3964,14 +3985,14 @@ function Ne(e, t, r, n, i, o, s) {
3964
3985
  continue;
3965
3986
  }
3966
3987
  if (kr(h)) {
3967
- var m = typeof h.style == "string" ? n.time[h.style] : ct(h.style) ? h.style.parsedOptions : n.time.medium;
3988
+ var m = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
3968
3989
  a.push({
3969
3990
  type: F.literal,
3970
3991
  value: r.getDateTimeFormat(t, m).format(c)
3971
3992
  });
3972
3993
  continue;
3973
3994
  }
3974
- if ($r(h)) {
3995
+ if (Dr(h)) {
3975
3996
  var m = typeof h.style == "string" ? n.number[h.style] : Xr(h.style) ? h.style.parsedOptions : void 0;
3976
3997
  m && m.scale && (c = c * (m.scale || 1)), a.push({
3977
3998
  type: F.literal,
@@ -3981,12 +4002,12 @@ function Ne(e, t, r, n, i, o, s) {
3981
4002
  }
3982
4003
  if (Wr(h)) {
3983
4004
  var d = h.children, b = h.value, w = i[b];
3984
- if (!Eo(w))
3985
- throw new _o(b, "function", s);
3986
- var O = Ne(d, t, r, n, i, o), I = w(O.map(function(y) {
4005
+ if (!wo(w))
4006
+ throw new vo(b, "function", s);
4007
+ var O = Ne(d, t, r, n, i, o), P = w(O.map(function(y) {
3987
4008
  return y.value;
3988
4009
  }));
3989
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(y) {
4010
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(y) {
3990
4011
  return {
3991
4012
  type: typeof y == "string" ? F.literal : F.object,
3992
4013
  value: y
@@ -3994,41 +4015,41 @@ function Ne(e, t, r, n, i, o, s) {
3994
4015
  }));
3995
4016
  }
3996
4017
  if (jr(h)) {
3997
- var S = h.options[c] || h.options.other;
3998
- if (!S)
3999
- throw new er(h.value, c, Object.keys(h.options), s);
4000
- a.push.apply(a, Ne(S.value, t, r, n, i));
4018
+ var H = h.options[c] || h.options.other;
4019
+ if (!H)
4020
+ throw new tr(h.value, c, Object.keys(h.options), s);
4021
+ a.push.apply(a, Ne(H.value, t, r, n, i));
4001
4022
  continue;
4002
4023
  }
4003
4024
  if (Vr(h)) {
4004
- var S = h.options["=".concat(c)];
4005
- if (!S) {
4025
+ var H = h.options["=".concat(c)];
4026
+ if (!H) {
4006
4027
  if (!Intl.PluralRules)
4007
- throw new We(`Intl.PluralRules is not available in this environment.
4028
+ throw new ze(`Intl.PluralRules is not available in this environment.
4008
4029
  Try polyfilling it using "@formatjs/intl-pluralrules"
4009
- `, me.MISSING_INTL_API, s);
4010
- var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4011
- S = h.options[L] || h.options.other;
4030
+ `, de.MISSING_INTL_API, s);
4031
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4032
+ H = h.options[I] || h.options.other;
4012
4033
  }
4013
- if (!S)
4014
- throw new er(h.value, c, Object.keys(h.options), s);
4015
- a.push.apply(a, Ne(S.value, t, r, n, i, c - (h.offset || 0)));
4034
+ if (!H)
4035
+ throw new tr(h.value, c, Object.keys(h.options), s);
4036
+ a.push.apply(a, Ne(H.value, t, r, n, i, c - (h.offset || 0)));
4016
4037
  continue;
4017
4038
  }
4018
4039
  }
4019
- return xo(a);
4040
+ return Eo(a);
4020
4041
  }
4021
- function wo(e, t) {
4022
- return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4023
- return r[n] = B(B({}, e[n]), t[n] || {}), r;
4042
+ function So(e, t) {
4043
+ return t ? V(V(V({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4044
+ return r[n] = V(V({}, e[n]), t[n] || {}), r;
4024
4045
  }, {})) : e;
4025
4046
  }
4026
4047
  function Ho(e, t) {
4027
4048
  return t ? Object.keys(e).reduce(function(r, n) {
4028
- return r[n] = wo(e[n], t[n]), r;
4029
- }, B({}, e)) : e;
4049
+ return r[n] = So(e[n], t[n]), r;
4050
+ }, V({}, e)) : e;
4030
4051
  }
4031
- function rt(e) {
4052
+ function it(e) {
4032
4053
  return {
4033
4054
  create: function() {
4034
4055
  return {
@@ -4042,39 +4063,39 @@ function rt(e) {
4042
4063
  }
4043
4064
  };
4044
4065
  }
4045
- function So(e) {
4066
+ function To(e) {
4046
4067
  return e === void 0 && (e = {
4047
4068
  number: {},
4048
4069
  dateTime: {},
4049
4070
  pluralRules: {}
4050
4071
  }), {
4051
- getNumberFormat: Ke(function() {
4072
+ getNumberFormat: tt(function() {
4052
4073
  for (var t, r = [], n = 0; n < arguments.length; n++)
4053
4074
  r[n] = arguments[n];
4054
- return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
4075
+ return new ((t = Intl.NumberFormat).bind.apply(t, et([void 0], r, !1)))();
4055
4076
  }, {
4056
- cache: rt(e.number),
4057
- strategy: et.variadic
4077
+ cache: it(e.number),
4078
+ strategy: rt.variadic
4058
4079
  }),
4059
- getDateTimeFormat: Ke(function() {
4080
+ getDateTimeFormat: tt(function() {
4060
4081
  for (var t, r = [], n = 0; n < arguments.length; n++)
4061
4082
  r[n] = arguments[n];
4062
- return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
4083
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, et([void 0], r, !1)))();
4063
4084
  }, {
4064
- cache: rt(e.dateTime),
4065
- strategy: et.variadic
4085
+ cache: it(e.dateTime),
4086
+ strategy: rt.variadic
4066
4087
  }),
4067
- getPluralRules: Ke(function() {
4088
+ getPluralRules: tt(function() {
4068
4089
  for (var t, r = [], n = 0; n < arguments.length; n++)
4069
4090
  r[n] = arguments[n];
4070
- return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
4091
+ return new ((t = Intl.PluralRules).bind.apply(t, et([void 0], r, !1)))();
4071
4092
  }, {
4072
- cache: rt(e.pluralRules),
4073
- strategy: et.variadic
4093
+ cache: it(e.pluralRules),
4094
+ strategy: rt.variadic
4074
4095
  })
4075
4096
  };
4076
4097
  }
4077
- var To = (
4098
+ var Mo = (
4078
4099
  /** @class */
4079
4100
  function() {
4080
4101
  function e(t, r, n, i) {
@@ -4106,13 +4127,13 @@ var To = (
4106
4127
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4107
4128
  var s = i || {};
4108
4129
  s.formatters;
4109
- var a = ii(s, ["formatters"]);
4110
- this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
4130
+ var a = Ni(s, ["formatters"]);
4131
+ this.ast = e.__parse(t, V(V({}, a), { locale: this.resolvedLocale }));
4111
4132
  } else
4112
4133
  this.ast = t;
4113
4134
  if (!Array.isArray(this.ast))
4114
4135
  throw new TypeError("A message must be provided as a String or AST.");
4115
- this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || So(this.formatterCache);
4136
+ this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || To(this.formatterCache);
4116
4137
  }
4117
4138
  return Object.defineProperty(e, "defaultLocale", {
4118
4139
  get: function() {
@@ -4125,7 +4146,7 @@ var To = (
4125
4146
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4126
4147
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4127
4148
  }
4128
- }, e.__parse = yo, e.formats = {
4149
+ }, e.__parse = _o, e.formats = {
4129
4150
  number: {
4130
4151
  integer: {
4131
4152
  maximumFractionDigits: 0
@@ -4186,7 +4207,7 @@ var To = (
4186
4207
  }, e;
4187
4208
  }()
4188
4209
  );
4189
- function Mo(e, t) {
4210
+ function Ao(e, t) {
4190
4211
  if (t == null)
4191
4212
  return;
4192
4213
  if (t in e)
@@ -4212,31 +4233,31 @@ const J = {}, Bo = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
4212
4233
  return;
4213
4234
  if (t in J && e in J[t])
4214
4235
  return J[t][e];
4215
- const r = Xe(t);
4236
+ const r = Ze(t);
4216
4237
  for (let n = 0; n < r.length; n++) {
4217
- const i = r[n], o = Po(i, e);
4238
+ const i = r[n], o = Oo(i, e);
4218
4239
  if (o)
4219
4240
  return Bo(e, t, o);
4220
4241
  }
4221
4242
  };
4222
- let wt;
4223
- const Me = Ve({});
4224
- function Ao(e) {
4225
- return wt[e] || null;
4243
+ let Ht;
4244
+ const Me = We({});
4245
+ function Po(e) {
4246
+ return Ht[e] || null;
4226
4247
  }
4227
4248
  function tn(e) {
4228
- return e in wt;
4249
+ return e in Ht;
4229
4250
  }
4230
- function Po(e, t) {
4251
+ function Oo(e, t) {
4231
4252
  if (!tn(e))
4232
4253
  return null;
4233
- const r = Ao(e);
4234
- return Mo(r, t);
4254
+ const r = Po(e);
4255
+ return Ao(r, t);
4235
4256
  }
4236
4257
  function Io(e) {
4237
4258
  if (e == null)
4238
4259
  return;
4239
- const t = Xe(e);
4260
+ const t = Ze(e);
4240
4261
  for (let r = 0; r < t.length; r++) {
4241
4262
  const n = t[r];
4242
4263
  if (tn(n))
@@ -4244,55 +4265,55 @@ function Io(e) {
4244
4265
  }
4245
4266
  }
4246
4267
  function rn(e, ...t) {
4247
- delete J[e], Me.update((r) => (r[e] = Ni.all([r[e] || {}, ...t]), r));
4268
+ delete J[e], Me.update((r) => (r[e] = Ci.all([r[e] || {}, ...t]), r));
4248
4269
  }
4249
- be(
4270
+ ge(
4250
4271
  [Me],
4251
4272
  ([e]) => Object.keys(e)
4252
4273
  );
4253
- Me.subscribe((e) => wt = e);
4274
+ Me.subscribe((e) => Ht = e);
4254
4275
  const Re = {};
4255
- function Oo(e, t) {
4276
+ function Lo(e, t) {
4256
4277
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4257
4278
  }
4258
4279
  function nn(e) {
4259
4280
  return Re[e];
4260
4281
  }
4261
- function Lo(e) {
4262
- return Xe(e).map((t) => {
4282
+ function Co(e) {
4283
+ return Ze(e).map((t) => {
4263
4284
  const r = nn(t);
4264
4285
  return [t, r ? [...r] : []];
4265
4286
  }).filter(([, t]) => t.length > 0);
4266
4287
  }
4267
- function bt(e) {
4268
- return e == null ? !1 : Xe(e).some(
4288
+ function xt(e) {
4289
+ return e == null ? !1 : Ze(e).some(
4269
4290
  (t) => {
4270
4291
  var r;
4271
4292
  return (r = nn(t)) == null ? void 0 : r.size;
4272
4293
  }
4273
4294
  );
4274
4295
  }
4275
- function Co(e, t) {
4296
+ function No(e, t) {
4276
4297
  return Promise.all(
4277
- t.map((n) => (Oo(e, n), n().then((i) => i.default || i)))
4298
+ t.map((n) => (Lo(e, n), n().then((i) => i.default || i)))
4278
4299
  ).then((n) => rn(e, ...n));
4279
4300
  }
4280
- const xe = {};
4301
+ const ve = {};
4281
4302
  function on(e) {
4282
- if (!bt(e))
4283
- return e in xe ? xe[e] : Promise.resolve();
4284
- const t = Lo(e);
4285
- return xe[e] = Promise.all(
4303
+ if (!xt(e))
4304
+ return e in ve ? ve[e] : Promise.resolve();
4305
+ const t = Co(e);
4306
+ return ve[e] = Promise.all(
4286
4307
  t.map(
4287
- ([r, n]) => Co(r, n)
4308
+ ([r, n]) => No(r, n)
4288
4309
  )
4289
4310
  ).then(() => {
4290
- if (bt(e))
4311
+ if (xt(e))
4291
4312
  return on(e);
4292
- delete xe[e];
4293
- }), xe[e];
4313
+ delete ve[e];
4314
+ }), ve[e];
4294
4315
  }
4295
- const No = {
4316
+ const Ro = {
4296
4317
  number: {
4297
4318
  scientific: { notation: "scientific" },
4298
4319
  engineering: { notation: "engineering" },
@@ -4321,135 +4342,135 @@ const No = {
4321
4342
  timeZoneName: "short"
4322
4343
  }
4323
4344
  }
4324
- }, Ro = {
4345
+ }, Fo = {
4325
4346
  fallbackLocale: null,
4326
4347
  loadingDelay: 200,
4327
- formats: No,
4348
+ formats: Ro,
4328
4349
  warnOnMissingMessages: !0,
4329
4350
  handleMissingMessage: void 0,
4330
4351
  ignoreTag: !0
4331
- }, Fo = Ro;
4332
- function pe() {
4333
- return Fo;
4352
+ }, $o = Fo;
4353
+ function me() {
4354
+ return $o;
4334
4355
  }
4335
- const nt = Ve(!1);
4336
- 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) => {
4356
+ const ot = We(!1);
4357
+ var Uo = 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 ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vo = (e, t) => {
4337
4358
  for (var r in t || (t = {}))
4338
- Go.call(t, r) && rr(e, r, t[r]);
4339
- if (tr)
4340
- for (var r of tr(t))
4341
- ko.call(t, r) && rr(e, r, t[r]);
4359
+ ko.call(t, r) && nr(e, r, t[r]);
4360
+ if (rr)
4361
+ for (var r of rr(t))
4362
+ jo.call(t, r) && nr(e, r, t[r]);
4342
4363
  return e;
4343
- }, Vo = (e, t) => Do(e, $o(t));
4344
- let yt;
4345
- const Ge = Ve(null);
4346
- function nr(e) {
4364
+ }, Wo = (e, t) => Do(e, Go(t));
4365
+ let Et;
4366
+ const ke = We(null);
4367
+ function ir(e) {
4347
4368
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4348
4369
  }
4349
- function Xe(e, t = pe().fallbackLocale) {
4350
- const r = nr(e);
4351
- return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
4370
+ function Ze(e, t = me().fallbackLocale) {
4371
+ const r = ir(e);
4372
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4352
4373
  }
4353
4374
  function re() {
4354
- return yt ?? void 0;
4375
+ return Et ?? void 0;
4355
4376
  }
4356
- Ge.subscribe((e) => {
4357
- yt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4377
+ ke.subscribe((e) => {
4378
+ Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4358
4379
  });
4359
- const Wo = (e) => {
4360
- if (e && Io(e) && bt(e)) {
4361
- const { loadingDelay: t } = pe();
4380
+ const Xo = (e) => {
4381
+ if (e && Io(e) && xt(e)) {
4382
+ const { loadingDelay: t } = me();
4362
4383
  let r;
4363
4384
  return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4364
- () => nt.set(!0),
4385
+ () => ot.set(!0),
4365
4386
  t
4366
- ) : nt.set(!0), on(e).then(() => {
4367
- Ge.set(e);
4387
+ ) : ot.set(!0), on(e).then(() => {
4388
+ ke.set(e);
4368
4389
  }).finally(() => {
4369
- clearTimeout(r), nt.set(!1);
4390
+ clearTimeout(r), ot.set(!1);
4370
4391
  });
4371
4392
  }
4372
- return Ge.set(e);
4373
- }, ye = Vo(jo({}, Ge), {
4374
- set: Wo
4375
- }), ze = (e) => {
4393
+ return ke.set(e);
4394
+ }, be = Wo(Vo({}, ke), {
4395
+ set: Xo
4396
+ }), qe = (e) => {
4376
4397
  const t = /* @__PURE__ */ Object.create(null);
4377
4398
  return (n) => {
4378
4399
  const i = JSON.stringify(n);
4379
4400
  return i in t ? t[i] : t[i] = e(n);
4380
4401
  };
4381
4402
  };
4382
- 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) => {
4403
+ 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) => {
4383
4404
  for (var r in t || (t = {}))
4384
- sn.call(t, r) && ir(e, r, t[r]);
4385
- if (ke)
4386
- for (var r of ke(t))
4387
- an.call(t, r) && ir(e, r, t[r]);
4405
+ sn.call(t, r) && or(e, r, t[r]);
4406
+ if (je)
4407
+ for (var r of je(t))
4408
+ an.call(t, r) && or(e, r, t[r]);
4388
4409
  return e;
4389
- }, _e = (e, t) => {
4410
+ }, ye = (e, t) => {
4390
4411
  var r = {};
4391
4412
  for (var n in e)
4392
4413
  sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4393
- if (e != null && ke)
4394
- for (var n of ke(e))
4414
+ if (e != null && je)
4415
+ for (var n of je(e))
4395
4416
  t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4396
4417
  return r;
4397
4418
  };
4398
4419
  const Se = (e, t) => {
4399
- const { formats: r } = pe();
4420
+ const { formats: r } = me();
4400
4421
  if (e in r && t in r[e])
4401
4422
  return r[e][t];
4402
4423
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4403
- }, zo = ze(
4424
+ }, Zo = qe(
4404
4425
  (e) => {
4405
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4426
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4406
4427
  if (r == null)
4407
4428
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4408
4429
  return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4409
4430
  }
4410
- ), Zo = ze(
4431
+ ), qo = qe(
4411
4432
  (e) => {
4412
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4433
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4413
4434
  if (r == null)
4414
4435
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4415
4436
  return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4416
4437
  }
4417
- ), qo = ze(
4438
+ ), Qo = qe(
4418
4439
  (e) => {
4419
- var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
4440
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4420
4441
  if (r == null)
4421
4442
  throw new Error(
4422
4443
  '[svelte-i18n] A "locale" must be set to format time values'
4423
4444
  );
4424
4445
  return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4425
4446
  }
4426
- ), Qo = (e = {}) => {
4447
+ ), Jo = (e = {}) => {
4427
4448
  var t = e, {
4428
4449
  locale: r = re()
4429
- } = t, n = _e(t, [
4450
+ } = t, n = ye(t, [
4430
4451
  "locale"
4431
4452
  ]);
4432
- return zo(Ht({ locale: r }, n));
4433
- }, Jo = (e = {}) => {
4453
+ return Zo(Tt({ locale: r }, n));
4454
+ }, Yo = (e = {}) => {
4434
4455
  var t = e, {
4435
4456
  locale: r = re()
4436
- } = t, n = _e(t, [
4457
+ } = t, n = ye(t, [
4437
4458
  "locale"
4438
4459
  ]);
4439
- return Zo(Ht({ locale: r }, n));
4440
- }, Yo = (e = {}) => {
4460
+ return qo(Tt({ locale: r }, n));
4461
+ }, Ko = (e = {}) => {
4441
4462
  var t = e, {
4442
4463
  locale: r = re()
4443
- } = t, n = _e(t, [
4464
+ } = t, n = ye(t, [
4444
4465
  "locale"
4445
4466
  ]);
4446
- return qo(Ht({ locale: r }, n));
4447
- }, Ko = ze(
4467
+ return Qo(Tt({ locale: r }, n));
4468
+ }, es = qe(
4448
4469
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4449
- (e, t = re()) => new To(e, t, pe().formats, {
4450
- ignoreTag: pe().ignoreTag
4470
+ (e, t = re()) => new Mo(e, t, me().formats, {
4471
+ ignoreTag: me().ignoreTag
4451
4472
  })
4452
- ), es = (e, t = {}) => {
4473
+ ), ts = (e, t = {}) => {
4453
4474
  var r, n, i, o;
4454
4475
  let s = t;
4455
4476
  typeof e == "object" && (s = e, e = s.id);
@@ -4464,7 +4485,7 @@ const Se = (e, t) => {
4464
4485
  );
4465
4486
  let h = en(e, u);
4466
4487
  if (!h)
4467
- 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;
4488
+ h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4468
4489
  else if (typeof h != "string")
4469
4490
  return console.warn(
4470
4491
  `[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.`
@@ -4473,7 +4494,7 @@ const Se = (e, t) => {
4473
4494
  return h;
4474
4495
  let f = h;
4475
4496
  try {
4476
- f = Ko(h, u).format(a);
4497
+ f = es(h, u).format(a);
4477
4498
  } catch (c) {
4478
4499
  c instanceof Error && console.warn(
4479
4500
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4481,20 +4502,20 @@ const Se = (e, t) => {
4481
4502
  );
4482
4503
  }
4483
4504
  return f;
4484
- }, 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);
4485
- be([ye], () => ts);
4486
- be([ye], () => rs);
4487
- be([ye], () => ns);
4488
- be([ye, Me], () => is);
4489
- window.emWidgets = { topic: yi };
4490
- 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)), Ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4491
- function as(e, t) {
4505
+ }, 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);
4506
+ ge([be], () => rs);
4507
+ ge([be], () => ns);
4508
+ ge([be], () => is);
4509
+ ge([be, Me], () => os);
4510
+ window.emWidgets = { topic: bi };
4511
+ 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)), As = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4512
+ function us(e, t) {
4492
4513
  if (e) {
4493
4514
  const r = document.createElement("style");
4494
4515
  r.innerHTML = t, e.appendChild(r);
4495
4516
  }
4496
4517
  }
4497
- function us(e, t) {
4518
+ function ls(e, t) {
4498
4519
  const r = new URL(t);
4499
4520
  fetch(r.href).then((n) => n.text()).then((n) => {
4500
4521
  const i = document.createElement("style");
@@ -4503,7 +4524,7 @@ function us(e, t) {
4503
4524
  console.error("There was an error while trying to load client styling from URL", n);
4504
4525
  });
4505
4526
  }
4506
- function ls(e, t, r) {
4527
+ function hs(e, t, r) {
4507
4528
  if (window.emMessageBus) {
4508
4529
  const n = document.createElement("style");
4509
4530
  window.emMessageBus.subscribe(t, (i) => {
@@ -4511,7 +4532,7 @@ function ls(e, t, r) {
4511
4532
  });
4512
4533
  }
4513
4534
  }
4514
- function or(e, { delay: t = 0, duration: r = 400, easing: n = xr } = {}) {
4535
+ function sr(e, { delay: t = 0, duration: r = 400, easing: n = Er } = {}) {
4515
4536
  const i = +getComputedStyle(e).opacity;
4516
4537
  return {
4517
4538
  delay: t,
@@ -4520,13 +4541,13 @@ function or(e, { delay: t = 0, duration: r = 400, easing: n = xr } = {}) {
4520
4541
  css: (o) => `opacity: ${o * i}`
4521
4542
  };
4522
4543
  }
4523
- function sr(e, t) {
4544
+ function ar(e, t) {
4524
4545
  rn(e, t);
4525
4546
  }
4526
- function hs(e) {
4527
- ye.set(e);
4547
+ function cs(e) {
4548
+ be.set(e);
4528
4549
  }
4529
- const ar = {
4550
+ const ur = {
4530
4551
  en: {
4531
4552
  language: "Select Language"
4532
4553
  },
@@ -4561,70 +4582,70 @@ const ar = {
4561
4582
  language: "Select Language"
4562
4583
  }
4563
4584
  };
4564
- function cs(e) {
4565
- 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}");
4585
+ function fs(e) {
4586
+ 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}");
4566
4587
  }
4567
- function ur(e, t, r) {
4588
+ function lr(e, t, r) {
4568
4589
  const n = e.slice();
4569
4590
  return n[53] = t[r], n;
4570
4591
  }
4571
- function lr(e, t, r) {
4592
+ function hr(e, t, r) {
4572
4593
  const n = e.slice();
4573
4594
  return n[1] = t[r], n;
4574
4595
  }
4575
- function hr(e, t, r) {
4596
+ function cr(e, t, r) {
4576
4597
  const n = e.slice();
4577
4598
  return n[56] = t[r], n;
4578
4599
  }
4579
- function cr(e, t, r) {
4600
+ function fr(e, t, r) {
4580
4601
  const n = e.slice();
4581
4602
  return n[59] = t[r], n;
4582
4603
  }
4583
- const fs = (e) => ({}), fr = (e) => ({});
4584
- function dr(e) {
4604
+ const ds = (e) => ({}), dr = (e) => ({});
4605
+ function mr(e) {
4585
4606
  let t, r, n, i, o, s, a, u, l, h, f, c, m, d, b, w;
4586
4607
  const O = (
4587
4608
  /*#slots*/
4588
4609
  e[31].close
4589
- ), I = Sn(
4610
+ ), P = Hn(
4590
4611
  O,
4591
4612
  e,
4592
4613
  /*$$scope*/
4593
4614
  e[30],
4594
- fr
4595
- ), S = I || ds();
4596
- let L = Q(
4615
+ dr
4616
+ ), H = P || ms();
4617
+ let I = Q(
4597
4618
  /*HamburgerMenuItems*/
4598
4619
  e[4]
4599
4620
  ), y = [];
4600
- for (let v = 0; v < L.length; v += 1)
4601
- y[v] = mr(cr(e, L, v));
4621
+ for (let v = 0; v < I.length; v += 1)
4622
+ y[v] = pr(fr(e, I, v));
4602
4623
  let M = Q(
4603
4624
  /*activeMenuItemChildren*/
4604
4625
  e[6]
4605
4626
  ), _ = [];
4606
4627
  for (let v = 0; v < M.length; v += 1)
4607
- _[v] = pr(hr(e, M, v));
4628
+ _[v] = gr(cr(e, M, v));
4608
4629
  let A = (
4609
4630
  /*languagesArray*/
4610
- e[10].length > 1 && gr(e)
4631
+ e[10].length > 1 && br(e)
4611
4632
  );
4612
4633
  return {
4613
4634
  c() {
4614
- t = P("div"), r = P("span"), S && S.c(), i = $(), o = P("div"), s = P("ul");
4635
+ t = B("div"), r = B("span"), H && H.c(), i = D(), o = B("div"), s = B("ul");
4615
4636
  for (let v = 0; v < y.length; v += 1)
4616
4637
  y[v].c();
4617
- u = $(), l = P("ul");
4638
+ u = D(), l = B("ul");
4618
4639
  for (let v = 0; v < _.length; v += 1)
4619
4640
  _[v].c();
4620
- f = $(), A && A.c(), g(r, "class", n = /*modalIsOpen*/
4641
+ f = D(), A && A.c(), g(r, "class", n = /*modalIsOpen*/
4621
4642
  e[7] ? "ModalCloseBtn" : ""), g(r, "role", "button"), g(s, "class", a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4622
4643
  (e[8] ? "HamburgerPrimaryMenuFixed" : "")), g(l, "class", h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4623
4644
  (e[8] ? "HamburgerSecondaryMenuFixed" : "")), g(o, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4624
4645
  (e[7] ? "ActiveHamburgerMenu" : "")), g(t, "class", "HamburgerModalWindow");
4625
4646
  },
4626
- m(v, C) {
4627
- k(v, t, C), x(t, r), S && S.m(r, null), x(t, i), x(t, o), x(o, s);
4647
+ m(v, L) {
4648
+ k(v, t, L), x(t, r), H && H.m(r, null), x(t, i), x(t, o), x(o, s);
4628
4649
  for (let E = 0; E < y.length; E += 1)
4629
4650
  y[E] && y[E].m(s, null);
4630
4651
  x(o, u), x(o, l);
@@ -4637,10 +4658,10 @@ function dr(e) {
4637
4658
  e[14]
4638
4659
  ), b = !0);
4639
4660
  },
4640
- p(v, C) {
4641
- if (e = v, I && I.p && (!d || C[0] & /*$$scope*/
4661
+ p(v, L) {
4662
+ if (e = v, P && P.p && (!d || L[0] & /*$$scope*/
4642
4663
  1073741824) && Mn(
4643
- I,
4664
+ P,
4644
4665
  O,
4645
4666
  e,
4646
4667
  /*$$scope*/
@@ -4649,33 +4670,33 @@ function dr(e) {
4649
4670
  O,
4650
4671
  /*$$scope*/
4651
4672
  e[30],
4652
- C,
4653
- fs
4654
- ) : Bn(
4673
+ L,
4674
+ ds
4675
+ ) : An(
4655
4676
  /*$$scope*/
4656
4677
  e[30]
4657
4678
  ),
4658
- fr
4659
- ), (!d || C[0] & /*modalIsOpen*/
4679
+ dr
4680
+ ), (!d || L[0] & /*modalIsOpen*/
4660
4681
  128 && n !== (n = /*modalIsOpen*/
4661
- e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), C[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4682
+ e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), L[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4662
4683
  32816) {
4663
- L = Q(
4684
+ I = Q(
4664
4685
  /*HamburgerMenuItems*/
4665
4686
  e[4]
4666
4687
  );
4667
4688
  let E;
4668
- for (E = 0; E < L.length; E += 1) {
4669
- const j = cr(e, L, E);
4670
- y[E] ? y[E].p(j, C) : (y[E] = mr(j), y[E].c(), y[E].m(s, null));
4689
+ for (E = 0; E < I.length; E += 1) {
4690
+ const j = fr(e, I, E);
4691
+ y[E] ? y[E].p(j, L) : (y[E] = pr(j), y[E].c(), y[E].m(s, null));
4671
4692
  }
4672
4693
  for (; E < y.length; E += 1)
4673
4694
  y[E].d(1);
4674
- y.length = L.length;
4695
+ y.length = I.length;
4675
4696
  }
4676
- if ((!d || C[0] & /*menuIsFixed*/
4697
+ if ((!d || L[0] & /*menuIsFixed*/
4677
4698
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4678
- (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), C[0] & /*handleClick, activeMenuItemChildren*/
4699
+ (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), L[0] & /*handleClick, activeMenuItemChildren*/
4679
4700
  65600) {
4680
4701
  M = Q(
4681
4702
  /*activeMenuItemChildren*/
@@ -4683,34 +4704,34 @@ function dr(e) {
4683
4704
  );
4684
4705
  let E;
4685
4706
  for (E = 0; E < M.length; E += 1) {
4686
- const j = hr(e, M, E);
4687
- _[E] ? _[E].p(j, C) : (_[E] = pr(j), _[E].c(), _[E].m(l, null));
4707
+ const j = cr(e, M, E);
4708
+ _[E] ? _[E].p(j, L) : (_[E] = gr(j), _[E].c(), _[E].m(l, null));
4688
4709
  }
4689
4710
  for (; E < _.length; E += 1)
4690
4711
  _[E].d(1);
4691
4712
  _.length = M.length;
4692
4713
  }
4693
- (!d || C[0] & /*menuIsFixed*/
4714
+ (!d || L[0] & /*menuIsFixed*/
4694
4715
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4695
4716
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && g(l, "class", h), /*languagesArray*/
4696
- e[10].length > 1 ? A ? A.p(e, C) : (A = gr(e), A.c(), A.m(o, null)) : A && (A.d(1), A = null), (!d || C[0] & /*modalIsOpen*/
4717
+ e[10].length > 1 ? A ? A.p(e, L) : (A = br(e), A.c(), A.m(o, null)) : A && (A.d(1), A = null), (!d || L[0] & /*modalIsOpen*/
4697
4718
  128 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4698
4719
  (e[7] ? "ActiveHamburgerMenu" : ""))) && g(o, "class", c);
4699
4720
  },
4700
4721
  i(v) {
4701
- d || (le(S, v), v && ce(() => {
4702
- d && (m || (m = Ut(t, or, { transitionDuration: vr }, !0)), m.run(1));
4722
+ d || (le(H, v), v && he(() => {
4723
+ d && (m || (m = Ut(t, sr, { transitionDuration: xr }, !0)), m.run(1));
4703
4724
  }), d = !0);
4704
4725
  },
4705
4726
  o(v) {
4706
- ot(S, v), v && (m || (m = Ut(t, or, { transitionDuration: vr }, !1)), m.run(0)), d = !1;
4727
+ at(H, v), v && (m || (m = Ut(t, sr, { transitionDuration: xr }, !1)), m.run(0)), d = !1;
4707
4728
  },
4708
4729
  d(v) {
4709
- v && U(t), S && S.d(v), Fe(y, v), Fe(_, v), A && A.d(), e[38](null), v && m && m.end(), b = !1, w();
4730
+ v && $(t), H && H.d(v), Fe(y, v), Fe(_, v), A && A.d(), e[38](null), v && m && m.end(), b = !1, w();
4710
4731
  }
4711
4732
  };
4712
4733
  }
4713
- function ds(e) {
4734
+ function ms(e) {
4714
4735
  let t, r;
4715
4736
  return {
4716
4737
  c() {
@@ -4719,13 +4740,13 @@ function ds(e) {
4719
4740
  m(n, i) {
4720
4741
  k(n, t, i), x(t, r);
4721
4742
  },
4722
- p: D,
4743
+ p: U,
4723
4744
  d(n) {
4724
- n && U(t);
4745
+ n && $(t);
4725
4746
  }
4726
4747
  };
4727
4748
  }
4728
- function mr(e) {
4749
+ function pr(e) {
4729
4750
  let t, r, n, i, o, s = (
4730
4751
  /*mainItem*/
4731
4752
  e[59].label + ""
@@ -4741,7 +4762,7 @@ function mr(e) {
4741
4762
  }
4742
4763
  return {
4743
4764
  c() {
4744
- t = P("li"), r = P("div"), n = P("img"), o = $(), a = K(s), u = $(), Y(n.src, i = /*mainItem*/
4765
+ t = B("li"), r = B("div"), n = B("img"), o = D(), a = K(s), u = D(), Y(n.src, i = /*mainItem*/
4745
4766
  e[59].img) || g(n, "src", i), g(n, "alt", "menu icon"), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4746
4767
  e[5] === /*mainItem*/
4747
4768
  e[59].id ? "ActiveItem" : "");
@@ -4754,17 +4775,17 @@ function mr(e) {
4754
4775
  16 && !Y(n.src, i = /*mainItem*/
4755
4776
  e[59].img) && g(n, "src", i), d[0] & /*HamburgerMenuItems*/
4756
4777
  16 && s !== (s = /*mainItem*/
4757
- e[59].label + "") && ge(a, s), d[0] & /*activeMenuItemId, HamburgerMenuItems*/
4778
+ e[59].label + "") && pe(a, s), d[0] & /*activeMenuItemId, HamburgerMenuItems*/
4758
4779
  48 && l !== (l = /*activeMenuItemId*/
4759
4780
  e[5] === /*mainItem*/
4760
4781
  e[59].id ? "ActiveItem" : "") && g(t, "class", l);
4761
4782
  },
4762
4783
  d(m) {
4763
- m && U(t), h = !1, f();
4784
+ m && $(t), h = !1, f();
4764
4785
  }
4765
4786
  };
4766
4787
  }
4767
- function pr(e) {
4788
+ function gr(e) {
4768
4789
  let t, r, n, i, o = (
4769
4790
  /*secondaryItem*/
4770
4791
  e[56].label + ""
@@ -4781,7 +4802,7 @@ function pr(e) {
4781
4802
  }
4782
4803
  return {
4783
4804
  c() {
4784
- t = P("li"), r = P("img"), i = $(), s = K(o), a = $(), Y(r.src, n = /*secondaryItem*/
4805
+ t = B("li"), r = B("img"), i = D(), s = K(o), a = D(), Y(r.src, n = /*secondaryItem*/
4785
4806
  e[56].img) || g(r, "src", n), g(r, "alt", "menu icon");
4786
4807
  },
4787
4808
  m(f, c) {
@@ -4792,14 +4813,14 @@ function pr(e) {
4792
4813
  64 && !Y(r.src, n = /*secondaryItem*/
4793
4814
  e[56].img) && g(r, "src", n), c[0] & /*activeMenuItemChildren*/
4794
4815
  64 && o !== (o = /*secondaryItem*/
4795
- e[56].label + "") && ge(s, o);
4816
+ e[56].label + "") && pe(s, o);
4796
4817
  },
4797
4818
  d(f) {
4798
- f && U(t), u = !1, l();
4819
+ f && $(t), u = !1, l();
4799
4820
  }
4800
4821
  };
4801
4822
  }
4802
- function gr(e) {
4823
+ function br(e) {
4803
4824
  let t, r, n = (
4804
4825
  /*$_*/
4805
4826
  e[13]("language") + ""
@@ -4807,13 +4828,13 @@ function gr(e) {
4807
4828
  function s(l, h) {
4808
4829
  return (
4809
4830
  /*countryflaghamburger*/
4810
- l[0] !== "true" ? ps : ms
4831
+ l[0] !== "true" ? gs : ps
4811
4832
  );
4812
4833
  }
4813
4834
  let a = s(e), u = a(e);
4814
4835
  return {
4815
4836
  c() {
4816
- t = P("div"), r = P("span"), i = K(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4837
+ t = B("div"), r = B("span"), i = K(n), o = D(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4817
4838
  },
4818
4839
  m(l, h) {
4819
4840
  k(l, t, h), x(t, r), x(r, i), x(t, o), u.m(t, null);
@@ -4821,24 +4842,24 @@ function gr(e) {
4821
4842
  p(l, h) {
4822
4843
  h[0] & /*$_*/
4823
4844
  8192 && n !== (n = /*$_*/
4824
- 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)));
4845
+ 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)));
4825
4846
  },
4826
4847
  d(l) {
4827
- l && U(t), u.d();
4848
+ l && $(t), u.d();
4828
4849
  }
4829
4850
  };
4830
4851
  }
4831
- function ms(e) {
4852
+ function ps(e) {
4832
4853
  let t, r, n, i, o, s, a, u = (
4833
4854
  /*selectedLanguage*/
4834
4855
  e[12].slice(-2) + ""
4835
- ), l, h, f, c, m, d, b, w, O, I, S, L, y = (
4856
+ ), l, h, f, c, m, d, b, w, O, P, H, I, y = (
4836
4857
  /*isOptionsListVisible*/
4837
- e[11] && br(e)
4858
+ e[11] && yr(e)
4838
4859
  );
4839
4860
  return {
4840
4861
  c() {
4841
- 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"), m = ee("g"), d = 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*/
4862
+ 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"), m = ee("g"), d = 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*/
4842
4863
  e[20](
4843
4864
  /*selectedLanguage*/
4844
4865
  e[12].slice(-2)
@@ -4846,12 +4867,12 @@ function ms(e) {
4846
4867
  (e[11] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4847
4868
  },
4848
4869
  m(M, _) {
4849
- 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, m), x(m, d), x(d, b), x(b, w), x(t, I), y && y.m(t, null), S || (L = te(
4870
+ 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, m), x(m, d), x(d, b), x(b, w), x(t, P), y && y.m(t, null), H || (I = te(
4850
4871
  r,
4851
4872
  "click",
4852
4873
  /*click_handler_2*/
4853
4874
  e[36]
4854
- ), S = !0);
4875
+ ), H = !0);
4855
4876
  },
4856
4877
  p(M, _) {
4857
4878
  _[0] & /*selectedLanguage, languagesArray*/
@@ -4861,30 +4882,30 @@ function ms(e) {
4861
4882
  M[12].slice(-2)
4862
4883
  )}.svg`) && g(i, "src", o), _[0] & /*selectedLanguage*/
4863
4884
  4096 && u !== (u = /*selectedLanguage*/
4864
- M[12].slice(-2) + "") && ge(l, u), _[0] & /*isOptionsListVisible*/
4885
+ M[12].slice(-2) + "") && pe(l, u), _[0] & /*isOptionsListVisible*/
4865
4886
  2048 && O !== (O = "TriangleInactive " + /*isOptionsListVisible*/
4866
4887
  (M[11] ? "TriangleActive" : "")) && g(f, "class", O), /*isOptionsListVisible*/
4867
- M[11] ? y ? y.p(M, _) : (y = br(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4888
+ M[11] ? y ? y.p(M, _) : (y = yr(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4868
4889
  },
4869
4890
  d(M) {
4870
- M && U(t), y && y.d(), S = !1, L();
4891
+ M && $(t), y && y.d(), H = !1, I();
4871
4892
  }
4872
4893
  };
4873
4894
  }
4874
- function ps(e) {
4895
+ function gs(e) {
4875
4896
  let t, r, n, i = Q(
4876
4897
  /*languagesArray*/
4877
4898
  e[10]
4878
4899
  ), o = [];
4879
4900
  for (let s = 0; s < i.length; s += 1)
4880
- o[s] = _r(lr(e, i, s));
4901
+ o[s] = vr(hr(e, i, s));
4881
4902
  return {
4882
4903
  c() {
4883
- t = P("select");
4904
+ t = B("select");
4884
4905
  for (let s = 0; s < o.length; s += 1)
4885
4906
  o[s].c();
4886
4907
  g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4887
- e[12] === void 0 && ce(() => (
4908
+ e[12] === void 0 && he(() => (
4888
4909
  /*select_change_handler*/
4889
4910
  e[34].call(t)
4890
4911
  ));
@@ -4893,7 +4914,7 @@ function ps(e) {
4893
4914
  k(s, t, a);
4894
4915
  for (let u = 0; u < o.length; u += 1)
4895
4916
  o[u] && o[u].m(t, null);
4896
- Nt(
4917
+ Rt(
4897
4918
  t,
4898
4919
  /*selectedLanguage*/
4899
4920
  e[12],
@@ -4922,35 +4943,35 @@ function ps(e) {
4922
4943
  );
4923
4944
  let u;
4924
4945
  for (u = 0; u < i.length; u += 1) {
4925
- const l = lr(s, i, u);
4926
- o[u] ? o[u].p(l, a) : (o[u] = _r(l), o[u].c(), o[u].m(t, null));
4946
+ const l = hr(s, i, u);
4947
+ o[u] ? o[u].p(l, a) : (o[u] = vr(l), o[u].c(), o[u].m(t, null));
4927
4948
  }
4928
4949
  for (; u < o.length; u += 1)
4929
4950
  o[u].d(1);
4930
4951
  o.length = i.length;
4931
4952
  }
4932
4953
  a[0] & /*selectedLanguage, languagesArray*/
4933
- 5120 && Nt(
4954
+ 5120 && Rt(
4934
4955
  t,
4935
4956
  /*selectedLanguage*/
4936
4957
  s[12]
4937
4958
  );
4938
4959
  },
4939
4960
  d(s) {
4940
- s && U(t), Fe(o, s), r = !1, z(n);
4961
+ s && $(t), Fe(o, s), r = !1, Z(n);
4941
4962
  }
4942
4963
  };
4943
4964
  }
4944
- function br(e) {
4965
+ function yr(e) {
4945
4966
  let t, r = Q(
4946
4967
  /*languagesArray*/
4947
4968
  e[10]
4948
4969
  ), n = [];
4949
4970
  for (let i = 0; i < r.length; i += 1)
4950
- n[i] = yr(ur(e, r, i));
4971
+ n[i] = _r(lr(e, r, i));
4951
4972
  return {
4952
4973
  c() {
4953
- t = P("div");
4974
+ t = B("div");
4954
4975
  for (let i = 0; i < n.length; i += 1)
4955
4976
  n[i].c();
4956
4977
  g(t, "class", "OptionList");
@@ -4969,8 +4990,8 @@ function br(e) {
4969
4990
  );
4970
4991
  let s;
4971
4992
  for (s = 0; s < r.length; s += 1) {
4972
- const a = ur(i, r, s);
4973
- n[s] ? n[s].p(a, o) : (n[s] = yr(a), n[s].c(), n[s].m(t, null));
4993
+ const a = lr(i, r, s);
4994
+ n[s] ? n[s].p(a, o) : (n[s] = _r(a), n[s].c(), n[s].m(t, null));
4974
4995
  }
4975
4996
  for (; s < n.length; s += 1)
4976
4997
  n[s].d(1);
@@ -4978,11 +4999,11 @@ function br(e) {
4978
4999
  }
4979
5000
  },
4980
5001
  d(i) {
4981
- i && U(t), Fe(n, i);
5002
+ i && $(t), Fe(n, i);
4982
5003
  }
4983
5004
  };
4984
5005
  }
4985
- function yr(e) {
5006
+ function _r(e) {
4986
5007
  let t, r, n, i, o, s, a = (
4987
5008
  /*operatorLanguage*/
4988
5009
  e[53] + ""
@@ -4998,7 +5019,7 @@ function yr(e) {
4998
5019
  }
4999
5020
  return {
5000
5021
  c() {
5001
- 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*/
5022
+ 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*/
5002
5023
  e[20](
5003
5024
  /*operatorLanguage*/
5004
5025
  e[53]
@@ -5015,22 +5036,22 @@ function yr(e) {
5015
5036
  e[53]
5016
5037
  )}.svg`) && g(n, "src", i), d[0] & /*languagesArray*/
5017
5038
  1024 && a !== (a = /*operatorLanguage*/
5018
- e[53] + "") && ge(u, a);
5039
+ e[53] + "") && pe(u, a);
5019
5040
  },
5020
5041
  d(m) {
5021
- m && U(t), h = !1, f();
5042
+ m && $(t), h = !1, f();
5022
5043
  }
5023
5044
  };
5024
5045
  }
5025
- function _r(e) {
5046
+ function vr(e) {
5026
5047
  let t, r = (
5027
5048
  /*lang*/
5028
5049
  e[1].slice(-2) + ""
5029
5050
  ), n, i;
5030
5051
  return {
5031
5052
  c() {
5032
- t = P("option"), n = K(r), t.__value = i = /*lang*/
5033
- e[1], Ct(t, t.__value), t.selected = !0;
5053
+ t = B("option"), n = K(r), t.__value = i = /*lang*/
5054
+ e[1], Nt(t, t.__value), t.selected = !0;
5034
5055
  },
5035
5056
  m(o, s) {
5036
5057
  k(o, t, s), x(t, n);
@@ -5038,23 +5059,23 @@ function _r(e) {
5038
5059
  p(o, s) {
5039
5060
  s[0] & /*languagesArray*/
5040
5061
  1024 && r !== (r = /*lang*/
5041
- o[1].slice(-2) + "") && ge(n, r), s[0] & /*languagesArray*/
5062
+ o[1].slice(-2) + "") && pe(n, r), s[0] & /*languagesArray*/
5042
5063
  1024 && i !== (i = /*lang*/
5043
- o[1]) && (t.__value = i, Ct(t, t.__value));
5064
+ o[1]) && (t.__value = i, Nt(t, t.__value));
5044
5065
  },
5045
5066
  d(o) {
5046
- o && U(t);
5067
+ o && $(t);
5047
5068
  }
5048
5069
  };
5049
5070
  }
5050
- function gs(e) {
5071
+ function bs(e) {
5051
5072
  let t, r, n = (
5052
5073
  /*show*/
5053
- e[9] === !0 && dr(e)
5074
+ e[9] === !0 && mr(e)
5054
5075
  );
5055
5076
  return {
5056
5077
  c() {
5057
- t = P("div"), n && n.c();
5078
+ t = B("div"), n && n.c();
5058
5079
  },
5059
5080
  m(i, o) {
5060
5081
  k(i, t, o), n && n.m(t, null), e[39](t), r = !0;
@@ -5062,7 +5083,7 @@ function gs(e) {
5062
5083
  p(i, o) {
5063
5084
  /*show*/
5064
5085
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5065
- 512 && le(n, 1)) : (n = dr(i), n.c(), le(n, 1), n.m(t, null)) : n && (Zn(), ot(n, 1, 1, () => {
5086
+ 512 && le(n, 1)) : (n = mr(i), n.c(), le(n, 1), n.m(t, null)) : n && (Zn(), at(n, 1, 1, () => {
5066
5087
  n = null;
5067
5088
  }), qn());
5068
5089
  },
@@ -5070,31 +5091,31 @@ function gs(e) {
5070
5091
  r || (le(n), r = !0);
5071
5092
  },
5072
5093
  o(i) {
5073
- ot(n), r = !1;
5094
+ at(n), r = !1;
5074
5095
  },
5075
5096
  d(i) {
5076
- i && U(t), n && n.d(), e[39](null);
5097
+ i && $(t), n && n.d(), e[39](null);
5077
5098
  }
5078
5099
  };
5079
5100
  }
5080
- let vr = 350;
5081
- function bs(e, t, r) {
5101
+ let xr = 350;
5102
+ function ys(e, t, r) {
5082
5103
  let n;
5083
- Hn(e, os, (p) => r(13, n = p));
5084
- 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: m = "" } = t, { countryflaghamburger: d = "" } = 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;
5104
+ Sn(e, ss, (p) => r(13, n = p));
5105
+ 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: m = "" } = t, { countryflaghamburger: d = "" } = 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;
5085
5106
  const ln = () => {
5086
- fetch(h).then((R) => R.json()).then((R) => {
5087
- Object.keys(R).forEach((q) => {
5088
- sr(q, R[q]);
5107
+ fetch(h).then((N) => N.json()).then((N) => {
5108
+ Object.keys(N).forEach((q) => {
5109
+ ar(q, N[q]);
5089
5110
  });
5090
- }).catch((R) => {
5091
- console.log(R);
5111
+ }).catch((N) => {
5112
+ console.log(N);
5092
5113
  });
5093
5114
  };
5094
- Object.keys(ar).forEach((p) => {
5095
- sr(p, ar[p]);
5115
+ Object.keys(ur).forEach((p) => {
5116
+ ar(p, ur[p]);
5096
5117
  });
5097
- const Tt = () => {
5118
+ const Mt = () => {
5098
5119
  r(9, A = !1), r(7, M = !1), r(8, _ = !1), r(11, j = !1), window.postMessage(
5099
5120
  {
5100
5121
  type: "CloseHamburgerMenu",
@@ -5102,7 +5123,7 @@ function bs(e, t, r) {
5102
5123
  },
5103
5124
  window.location.href
5104
5125
  );
5105
- }, Mt = (p) => {
5126
+ }, At = (p) => {
5106
5127
  p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, A = !0), setTimeout(
5107
5128
  () => {
5108
5129
  r(7, M = !0);
@@ -5114,32 +5135,32 @@ function bs(e, t, r) {
5114
5135
  },
5115
5136
  1500
5116
5137
  ), hn(s));
5117
- }, Be = (p, R) => {
5118
- r(5, L = p), r(6, y = R || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5138
+ }, Ae = (p, N) => {
5139
+ r(5, I = p), r(6, y = N || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5119
5140
  context: "HamburgerMenu",
5120
- menuItem: `${L}`
5141
+ menuItem: `${I}`
5121
5142
  });
5122
5143
  }, Bt = () => {
5123
- let p = I.filter((R) => {
5144
+ let p = P.filter((N) => {
5124
5145
  let q = !1;
5125
- return R.children?.forEach((xn) => {
5146
+ return N.children?.forEach((xn) => {
5126
5147
  xn.path.includes(u) && (q = !0);
5127
5148
  }), q;
5128
5149
  });
5129
- p.length > 0 ? Be(p[0].id, p[0].children) : Be(I[0].id, I[0].children);
5130
- }, hn = (p) => new Promise((R, q) => {
5131
- S && !E ? R(S) : At(p);
5132
- }), At = (p) => {
5133
- fetch(p).then((R) => R.json()).then(
5134
- (R) => {
5135
- r(4, I = R.filter((q) => q?.type !== "banner")), Bt(), r(29, v = !1), S = R, E = !1;
5150
+ p.length > 0 ? Ae(p[0].id, p[0].children) : Ae(P[0].id, P[0].children);
5151
+ }, hn = (p) => new Promise((N, q) => {
5152
+ H && !E ? N(H) : Pt(p);
5153
+ }), Pt = (p) => {
5154
+ fetch(p).then((N) => N.json()).then(
5155
+ (N) => {
5156
+ r(4, P = N.filter((q) => q?.type !== "banner")), Bt(), r(29, v = !1), H = N, E = !1;
5136
5157
  },
5137
- (R) => {
5138
- console.error(R);
5158
+ (N) => {
5159
+ console.error(N);
5139
5160
  }
5140
5161
  );
5141
5162
  };
5142
- let Pt = (p) => {
5163
+ let Ot = (p) => {
5143
5164
  window.postMessage(
5144
5165
  {
5145
5166
  type: "NavigateTo",
@@ -5148,9 +5169,9 @@ function bs(e, t, r) {
5148
5169
  target: p.attrs.target || null
5149
5170
  },
5150
5171
  window.location.href
5151
- ), Tt();
5172
+ ), Mt();
5152
5173
  };
5153
- const Ze = () => {
5174
+ const Qe = () => {
5154
5175
  E = !0, window.postMessage(
5155
5176
  {
5156
5177
  type: "LanguageChanged",
@@ -5159,30 +5180,30 @@ function bs(e, t, r) {
5159
5180
  window.location.href
5160
5181
  );
5161
5182
  }, cn = () => {
5162
- 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());
5183
+ 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());
5163
5184
  }, It = (p) => {
5164
- r(12, ne = p), r(11, j = !1), Ze();
5165
- }, Ot = () => {
5185
+ r(12, ne = p), r(11, j = !1), Qe();
5186
+ }, Lt = () => {
5166
5187
  r(11, j = !j);
5167
5188
  }, fn = (p) => (m && (p = m.includes(p.toLowerCase()) ? m.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5168
- kn(() => (window.addEventListener("message", Mt, !1), ss(O), () => {
5169
- window.emMessageBus && St && St.unsubscribe(), window.removeEventListener("message", Mt);
5189
+ kn(() => (window.addEventListener("message", At, !1), as(O), () => {
5190
+ window.removeEventListener("message", At);
5170
5191
  }));
5171
- const dn = (p) => Be(p.id, p.children), mn = (p, R) => {
5172
- Pt(p), R.preventDefault();
5192
+ const dn = (p) => Ae(p.id, p.children), mn = (p, N) => {
5193
+ Ot(p), N.preventDefault();
5173
5194
  };
5174
5195
  function pn() {
5175
- ne = Cn(this), r(12, ne), r(10, C);
5196
+ ne = Cn(this), r(12, ne), r(10, L);
5176
5197
  }
5177
- const gn = () => Ze(), bn = () => Ot(), yn = (p) => It(p);
5198
+ const gn = () => Qe(), bn = () => Lt(), yn = (p) => It(p);
5178
5199
  function _n(p) {
5179
- $e[p ? "unshift" : "push"](() => {
5200
+ De[p ? "unshift" : "push"](() => {
5180
5201
  w = p, r(3, w);
5181
5202
  });
5182
5203
  }
5183
5204
  function vn(p) {
5184
- $e[p ? "unshift" : "push"](() => {
5185
- V = p, r(2, V);
5205
+ De[p ? "unshift" : "push"](() => {
5206
+ W = p, r(2, W);
5186
5207
  });
5187
5208
  }
5188
5209
  return e.$$set = (p) => {
@@ -5192,30 +5213,30 @@ function bs(e, t, r) {
5192
5213
  8388610 && a && l && cn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5193
5214
  541065216 && u && !v && Bt(), e.$$.dirty[0] & /*translationurl*/
5194
5215
  16777216 && h && ln(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5195
- 33554436 && f && V && as(V, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5196
- 67108868 && c && V && us(V, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5197
- 268435460 && V && ls(V, `${b}.Style`);
5216
+ 33554436 && f && W && us(W, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5217
+ 67108868 && c && W && ls(W, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5218
+ 268435460 && W && hs(W, `${b}.Style`);
5198
5219
  }, [
5199
5220
  d,
5200
5221
  a,
5201
- V,
5222
+ W,
5202
5223
  w,
5224
+ P,
5203
5225
  I,
5204
- L,
5205
5226
  y,
5206
5227
  M,
5207
5228
  _,
5208
5229
  A,
5209
- C,
5230
+ L,
5210
5231
  j,
5211
5232
  ne,
5212
5233
  n,
5213
- Tt,
5214
- Be,
5215
- Pt,
5216
- Ze,
5217
- It,
5234
+ Mt,
5235
+ Ae,
5218
5236
  Ot,
5237
+ Qe,
5238
+ It,
5239
+ Lt,
5219
5240
  fn,
5220
5241
  s,
5221
5242
  u,
@@ -5243,9 +5264,9 @@ class un extends ri {
5243
5264
  super(), ei(
5244
5265
  this,
5245
5266
  t,
5267
+ ys,
5246
5268
  bs,
5247
- gs,
5248
- wr,
5269
+ Sr,
5249
5270
  {
5250
5271
  menuitemsurl: 21,
5251
5272
  lang: 1,
@@ -5258,7 +5279,7 @@ class un extends ri {
5258
5279
  countryflaghamburger: 0,
5259
5280
  mbsource: 28
5260
5281
  },
5261
- cs,
5282
+ fs,
5262
5283
  [-1, -1]
5263
5284
  );
5264
5285
  }
@@ -5329,51 +5350,51 @@ const Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5329
5350
  default: un
5330
5351
  }, Symbol.toStringTag, { value: "Module" }));
5331
5352
  export {
5332
- ye as $,
5333
- te as A,
5334
- ge as B,
5353
+ be as $,
5354
+ K as A,
5355
+ Q as B,
5335
5356
  Fe as C,
5336
- z as D,
5337
- ee as E,
5338
- _s as F,
5339
- ys as G,
5340
- os as H,
5341
- Ms as I,
5342
- ce as J,
5343
- Nt as K,
5344
- Ct as L,
5345
- vs as M,
5346
- Ss as N,
5347
- ws as O,
5357
+ As as D,
5358
+ _s as E,
5359
+ Rt as F,
5360
+ he as G,
5361
+ Nt as H,
5362
+ ss as I,
5363
+ us as J,
5364
+ ls as K,
5365
+ hs as L,
5366
+ xs as M,
5367
+ Ts as N,
5368
+ Ss as O,
5348
5369
  Hs as P,
5349
- Ts as Q,
5350
- Es as R,
5370
+ Ms as Q,
5371
+ ws as R,
5351
5372
  ri as S,
5352
5373
  Bs as T,
5353
5374
  Me as a,
5354
5375
  rn as b,
5355
5376
  ti as c,
5356
- In as d,
5377
+ On as d,
5357
5378
  $ as e,
5358
5379
  G as f,
5359
- P as g,
5360
- xs as h,
5380
+ Es as g,
5381
+ k as h,
5361
5382
  ei as i,
5362
- k as j,
5363
- U as k,
5364
- Hn as l,
5365
- us as m,
5366
- D as n,
5383
+ D as j,
5384
+ B as k,
5385
+ Sn as l,
5386
+ as as m,
5387
+ U as n,
5367
5388
  kn as o,
5368
- ss as p,
5369
- $e as q,
5370
- Cn as r,
5371
- wr as s,
5372
- as as t,
5373
- ls as u,
5374
- Q as v,
5375
- K as w,
5376
- Y as x,
5377
- g as y,
5378
- x as z
5389
+ De as p,
5390
+ Cn as q,
5391
+ vs as r,
5392
+ Sr as s,
5393
+ Z as t,
5394
+ Y as u,
5395
+ g as v,
5396
+ pe as w,
5397
+ x,
5398
+ te as y,
5399
+ ee as z
5379
5400
  };