@everymatrix/casino-header-controller-nd 1.75.0 → 1.75.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/components/{CasinoHamburgerMenuNd-B3kzqSeI.js → CasinoHamburgerMenuNd-A1rbyIlh.js} +1092 -1071
  2. package/components/{CasinoHamburgerMenuNd-CRjQ2_wf.js → CasinoHamburgerMenuNd-BbLVzDLA.js} +1114 -1093
  3. package/components/CasinoHamburgerMenuNd-DAYnP-8N.cjs +18 -0
  4. package/components/CasinoHeaderControllerNd-BZ4hl5VU.cjs +1 -0
  5. package/components/{CasinoHeaderControllerNd-tp0o3Gr9.js → CasinoHeaderControllerNd-DIWidaLF.js} +640 -592
  6. package/components/{CasinoHeaderControllerNd-D2mObND5.js → CasinoHeaderControllerNd-Y0iH2fty.js} +875 -827
  7. package/components/PlayerAccountBalanceModalNd-Cygfal3S.js +1459 -0
  8. package/components/PlayerAccountBalanceModalNd-DUPCtK5p.cjs +7 -0
  9. package/components/PlayerAccountBalanceModalNd-ggP_eQuJ.js +1430 -0
  10. package/components/{PlayerDeposit-B6zBCCUy.js → PlayerDeposit-BPhFbd8a.js} +80 -80
  11. package/components/PlayerDeposit-DCiULSav.cjs +1 -0
  12. package/components/{PlayerDeposit-BaE0GWl1.js → PlayerDeposit-DcwySzWb.js} +80 -80
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/{gamification-dropdown-60536faa-fBm4KcQa.js → gamification-dropdown-60536faa-ByoQkowS.js} +1 -1
  18. package/stencil/{gamification-dropdown-60536faa-b2-gKj-C.js → gamification-dropdown-60536faa-CdoDh_iS.js} +1 -1
  19. package/stencil/{gamification-dropdown-60536faa-CkmaCt3Q.cjs → gamification-dropdown-60536faa-jADsXxs4.cjs} +1 -1
  20. package/stencil/{gamification-dropdown-DCbrhONR.js → gamification-dropdown-CMVnOpVS.js} +1 -1
  21. package/stencil/{gamification-dropdown-C_RDYH6X.js → gamification-dropdown-DSqqyaTZ.js} +1 -1
  22. package/stencil/{gamification-dropdown-DVpJIyrY.cjs → gamification-dropdown-aHzwtOKn.cjs} +1 -1
  23. package/stencil/{gamification-dropdown_4-C-ULhaax.js → gamification-dropdown_4-0STJmTu3.js} +5 -5
  24. package/stencil/{gamification-dropdown_4-vZb_TDYi.js → gamification-dropdown_4-Cn2nDa12.js} +5 -5
  25. package/stencil/gamification-dropdown_4-wVf8PnId.cjs +192 -0
  26. package/stencil/{index-71b1bdfa-BwU-ZobY.js → index-71b1bdfa-CqsRB5Zq.js} +264 -268
  27. package/stencil/index-71b1bdfa-DWJfvSms.js +753 -0
  28. package/stencil/index-71b1bdfa-aT2URAOG.cjs +1 -0
  29. package/stencil/{player-elevate-card-DouGzeSQ.cjs → player-elevate-card-C_bGjWZ4.cjs} +1 -1
  30. package/stencil/{player-elevate-card-D2SUJfQQ.js → player-elevate-card-DV79k_97.js} +2 -2
  31. package/stencil/{player-elevate-card-BjqJ00gW.js → player-elevate-card-D_AqKh09.js} +2 -2
  32. package/stencil/{player-elevate-card-items-08c6fbd8-Xsq6w4LE.js → player-elevate-card-items-08c6fbd8-CKjKj8rt.js} +235 -237
  33. package/stencil/player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs +102 -0
  34. package/stencil/{player-elevate-card-items-08c6fbd8-DCezar0T.js → player-elevate-card-items-08c6fbd8-DDaPFpxz.js} +235 -237
  35. package/stencil/{player-elevate-pointcard-B1bT9eUy.js → player-elevate-pointcard-BAE3Vgzi.js} +2 -2
  36. package/stencil/{player-elevate-pointcard-Dh7dRbip.js → player-elevate-pointcard-BXLJdcos.js} +2 -2
  37. package/stencil/{player-elevate-pointcard-CGFluXIm.cjs → player-elevate-pointcard-vC-WI2he.cjs} +1 -1
  38. package/stencil/{player-rakeback-card-DRZs6TNO.js → player-rakeback-card-Ca3Pjwd4.js} +1 -1
  39. package/stencil/{player-rakeback-card-BfD7gcGR.js → player-rakeback-card-Cj3yH6EJ.js} +1 -1
  40. package/stencil/{player-rakeback-card-Dm2Xwe4V.cjs → player-rakeback-card-DZVQyKwK.cjs} +1 -1
  41. package/components/CasinoHamburgerMenuNd-DdmjydJw.cjs +0 -18
  42. package/components/CasinoHeaderControllerNd-BNN9MJZ4.cjs +0 -1
  43. package/components/PlayerAccountBalanceModalNd-B-Jgjgws.js +0 -1459
  44. package/components/PlayerAccountBalanceModalNd-Bgxwmzji.cjs +0 -7
  45. package/components/PlayerAccountBalanceModalNd-DgV97DUx.js +0 -1430
  46. package/components/PlayerDeposit-Wsc-kD3R.cjs +0 -1
  47. package/stencil/gamification-dropdown_4-CNSh1h1d.cjs +0 -192
  48. package/stencil/index-71b1bdfa-3q2dUmkJ.js +0 -757
  49. package/stencil/index-71b1bdfa-S-HUlbq9.cjs +0 -1
  50. package/stencil/player-elevate-card-items-08c6fbd8-B17ziILA.cjs +0 -102
@@ -1,35 +1,35 @@
1
- var pn = Object.defineProperty, bn = Object.defineProperties;
2
- var yn = Object.getOwnPropertyDescriptors;
3
- var At = Object.getOwnPropertySymbols;
4
- var vn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable;
5
- var ze = (e, t, r) => t in e ? pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lt = (e, t) => {
1
+ var bn = Object.defineProperty, yn = Object.defineProperties;
2
+ var vn = Object.getOwnPropertyDescriptors;
3
+ var Lt = Object.getOwnPropertySymbols;
4
+ var _n = Object.prototype.hasOwnProperty, xn = Object.prototype.propertyIsEnumerable;
5
+ var Qe = (e, t, r) => t in e ? bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- vn.call(t, r) && ze(e, r, t[r]);
8
- if (At)
9
- for (var r of At(t))
10
- _n.call(t, r) && ze(e, r, t[r]);
7
+ _n.call(t, r) && Qe(e, r, t[r]);
8
+ if (Lt)
9
+ for (var r of Lt(t))
10
+ xn.call(t, r) && Qe(e, r, t[r]);
11
11
  return e;
12
- }, Bt = (e, t) => bn(e, yn(t));
13
- var V = (e, t, r) => (ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Pt = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
12
+ }, It = (e, t) => yn(e, vn(t));
13
+ var V = (e, t, r) => (Qe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ct = (e, t, r) => new Promise((n, i) => {
15
+ var o = (u) => {
16
16
  try {
17
- s(r.next(l));
18
- } catch (u) {
19
- i(u);
17
+ s(r.next(u));
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
- }, a = (l) => {
21
+ }, a = (u) => {
22
22
  try {
23
- s(r.throw(l));
24
- } catch (u) {
25
- i(u);
23
+ s(r.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
- }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
27
+ }, s = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, a);
28
28
  s((r = r.apply(e, t)).next());
29
29
  });
30
30
  function $() {
31
31
  }
32
- function xn(e, t) {
32
+ function En(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function xn(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function vr(e) {
40
+ function xr(e) {
41
41
  return e();
42
42
  }
43
- function It() {
43
+ function Nt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function ge(e) {
47
- e.forEach(vr);
46
+ function pe(e) {
47
+ e.forEach(xr);
48
48
  }
49
- function pt(e) {
49
+ function _t(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function _r(e, t) {
52
+ function Er(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
55
  let Me;
56
56
  function ee(e, t) {
57
57
  return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
58
58
  }
59
- function En(e) {
59
+ function wn(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function xr(e, ...t) {
62
+ function wr(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,19 +68,19 @@ function xr(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function wn(e, t, r) {
72
- e.$$.on_destroy.push(xr(t, r));
71
+ function Sn(e, t, r) {
72
+ e.$$.on_destroy.push(wr(t, r));
73
73
  }
74
- function ua(e, t, r, n) {
74
+ function ha(e, t, r, n) {
75
75
  if (e) {
76
- const i = Er(e, t, r, n);
76
+ const i = Sr(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function Er(e, t, r, n) {
81
- return e[1] && n ? xn(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function Sr(e, t, r, n) {
81
+ return e[1] && n ? En(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function ha(e, t, r, n) {
83
+ function fa(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -95,13 +95,13 @@ function ha(e, t, r, n) {
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function ca(e, t, r, n, i, o) {
98
+ function da(e, t, r, n, i, o) {
99
99
  if (i) {
100
- const a = Er(t, r, n, o);
100
+ const a = Sr(t, r, n, o);
101
101
  e.p(a, i);
102
102
  }
103
103
  }
104
- function fa(e) {
104
+ function pa(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -113,14 +113,14 @@ function fa(e) {
113
113
  function y(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
- function Sn(e, t, r) {
117
- const n = Hn(e);
116
+ function Hn(e, t, r) {
117
+ const n = Tn(e);
118
118
  if (!n.getElementById(t)) {
119
119
  const i = v("style");
120
- i.id = t, i.textContent = r, Tn(n, i);
120
+ i.id = t, i.textContent = r, On(n, i);
121
121
  }
122
122
  }
123
- function Hn(e) {
123
+ function Tn(e) {
124
124
  if (!e)
125
125
  return document;
126
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -130,7 +130,7 @@ function Hn(e) {
130
130
  t
131
131
  ) : e.ownerDocument;
132
132
  }
133
- function Tn(e, t) {
133
+ function On(e, t) {
134
134
  return y(
135
135
  /** @type {Document} */
136
136
  e.head || e,
@@ -143,14 +143,14 @@ function F(e, t, r) {
143
143
  function I(e) {
144
144
  e.parentNode && e.parentNode.removeChild(e);
145
145
  }
146
- function He(e, t) {
146
+ function Se(e, t) {
147
147
  for (let r = 0; r < e.length; r += 1)
148
148
  e[r] && e[r].d(t);
149
149
  }
150
150
  function v(e) {
151
151
  return document.createElement(e);
152
152
  }
153
- function Ct(e) {
153
+ function Rt(e) {
154
154
  return document.createElementNS("http://www.w3.org/2000/svg", e);
155
155
  }
156
156
  function te(e) {
@@ -159,13 +159,13 @@ function te(e) {
159
159
  function U() {
160
160
  return te(" ");
161
161
  }
162
- function wr() {
162
+ function Hr() {
163
163
  return te("");
164
164
  }
165
165
  function re(e, t, r, n) {
166
166
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
167
167
  }
168
- function da(e) {
168
+ function ga(e) {
169
169
  return function(t) {
170
170
  return t.preventDefault(), e.call(this, t);
171
171
  };
@@ -177,20 +177,20 @@ function ma(e, t, r) {
177
177
  const n = t.toLowerCase();
178
178
  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);
179
179
  }
180
- function On(e) {
180
+ function Mn(e) {
181
181
  return Array.from(e.childNodes);
182
182
  }
183
- function pe(e, t) {
183
+ function ge(e, t) {
184
184
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
185
185
  t);
186
186
  }
187
- function Nt(e, t) {
187
+ function Ut(e, t) {
188
188
  e.value = t == null ? "" : t;
189
189
  }
190
- function ga(e, t, r, n) {
190
+ function ba(e, t, r, n) {
191
191
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
192
192
  }
193
- function Rt(e, t, r) {
193
+ function Ft(e, t, r) {
194
194
  for (let n = 0; n < e.options.length; n += 1) {
195
195
  const i = e.options[n];
196
196
  if (i.__value === t) {
@@ -200,11 +200,11 @@ function Rt(e, t, r) {
200
200
  }
201
201
  (!r || t !== void 0) && (e.selectedIndex = -1);
202
202
  }
203
- function Mn(e) {
203
+ function An(e) {
204
204
  const t = e.querySelector(":checked");
205
205
  return t && t.__value;
206
206
  }
207
- function An(e) {
207
+ function Pn(e) {
208
208
  const t = {};
209
209
  return e.childNodes.forEach(
210
210
  /** @param {Element} node */
@@ -213,142 +213,142 @@ function An(e) {
213
213
  }
214
214
  ), t;
215
215
  }
216
- let Ee;
217
- function xe(e) {
218
- Ee = e;
216
+ let xe;
217
+ function _e(e) {
218
+ xe = e;
219
219
  }
220
220
  function Ln() {
221
- if (!Ee)
221
+ if (!xe)
222
222
  throw new Error("Function called outside component initialization");
223
- return Ee;
223
+ return xe;
224
224
  }
225
225
  function Bn(e) {
226
226
  Ln().$$.on_mount.push(e);
227
227
  }
228
- function pa(e, t) {
228
+ function ya(e, t) {
229
229
  const r = e.$$.callbacks[t.type];
230
230
  r && r.slice().forEach((n) => n.call(this, t));
231
231
  }
232
- const le = [], Re = [];
233
- let ue = [];
234
- const Ut = [], Pn = /* @__PURE__ */ Promise.resolve();
235
- let rt = !1;
236
- function In() {
237
- rt || (rt = !0, Pn.then(D));
232
+ const ue = [], Re = [];
233
+ let le = [];
234
+ const Dt = [], In = /* @__PURE__ */ Promise.resolve();
235
+ let it = !1;
236
+ function Cn() {
237
+ it || (it = !0, In.then(D));
238
238
  }
239
239
  function Ue(e) {
240
- ue.push(e);
240
+ le.push(e);
241
241
  }
242
- const Ze = /* @__PURE__ */ new Set();
242
+ const qe = /* @__PURE__ */ new Set();
243
243
  let ae = 0;
244
244
  function D() {
245
245
  if (ae !== 0)
246
246
  return;
247
- const e = Ee;
247
+ const e = xe;
248
248
  do {
249
249
  try {
250
- for (; ae < le.length; ) {
251
- const t = le[ae];
252
- ae++, xe(t), Cn(t.$$);
250
+ for (; ae < ue.length; ) {
251
+ const t = ue[ae];
252
+ ae++, _e(t), Nn(t.$$);
253
253
  }
254
254
  } catch (t) {
255
- throw le.length = 0, ae = 0, t;
255
+ throw ue.length = 0, ae = 0, t;
256
256
  }
257
- for (xe(null), le.length = 0, ae = 0; Re.length; )
257
+ for (_e(null), ue.length = 0, ae = 0; Re.length; )
258
258
  Re.pop()();
259
- for (let t = 0; t < ue.length; t += 1) {
260
- const r = ue[t];
261
- Ze.has(r) || (Ze.add(r), r());
259
+ for (let t = 0; t < le.length; t += 1) {
260
+ const r = le[t];
261
+ qe.has(r) || (qe.add(r), r());
262
262
  }
263
- ue.length = 0;
264
- } while (le.length);
265
- for (; Ut.length; )
266
- Ut.pop()();
267
- rt = !1, Ze.clear(), xe(e);
263
+ le.length = 0;
264
+ } while (ue.length);
265
+ for (; Dt.length; )
266
+ Dt.pop()();
267
+ it = !1, qe.clear(), _e(e);
268
268
  }
269
- function Cn(e) {
269
+ function Nn(e) {
270
270
  if (e.fragment !== null) {
271
- e.update(), ge(e.before_update);
271
+ e.update(), pe(e.before_update);
272
272
  const t = e.dirty;
273
273
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
274
274
  }
275
275
  }
276
- function Nn(e) {
276
+ function Rn(e) {
277
277
  const t = [], r = [];
278
- ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
278
+ le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
279
279
  }
280
- const Be = /* @__PURE__ */ new Set();
281
- let Rn;
282
- function Un(e, t) {
283
- e && e.i && (Be.delete(e), e.i(t));
280
+ const Le = /* @__PURE__ */ new Set();
281
+ let Un;
282
+ function Fn(e, t) {
283
+ e && e.i && (Le.delete(e), e.i(t));
284
284
  }
285
- function ba(e, t, r, n) {
285
+ function va(e, t, r, n) {
286
286
  if (e && e.o) {
287
- if (Be.has(e))
287
+ if (Le.has(e))
288
288
  return;
289
- Be.add(e), Rn.c.push(() => {
290
- Be.delete(e);
289
+ Le.add(e), Un.c.push(() => {
290
+ Le.delete(e);
291
291
  }), e.o(t);
292
292
  }
293
293
  }
294
- function q(e) {
294
+ function J(e) {
295
295
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
296
296
  }
297
- function Fn(e, t, r) {
297
+ function Dn(e, t, r) {
298
298
  const { fragment: n, after_update: i } = e.$$;
299
299
  n && n.m(t, r), Ue(() => {
300
- const o = e.$$.on_mount.map(vr).filter(pt);
301
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ge(o), e.$$.on_mount = [];
300
+ const o = e.$$.on_mount.map(xr).filter(_t);
301
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : pe(o), e.$$.on_mount = [];
302
302
  }), i.forEach(Ue);
303
303
  }
304
- function Dn(e, t) {
304
+ function kn(e, t) {
305
305
  const r = e.$$;
306
- r.fragment !== null && (Nn(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
306
+ r.fragment !== null && (Rn(r.after_update), pe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
307
307
  }
308
- function kn(e, t) {
309
- e.$$.dirty[0] === -1 && (le.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
308
+ function Gn(e, t) {
309
+ e.$$.dirty[0] === -1 && (ue.push(e), Cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
310
310
  }
311
- function Gn(e, t, r, n, i, o, a = null, s = [-1]) {
312
- const l = Ee;
313
- xe(e);
314
- const u = e.$$ = {
311
+ function $n(e, t, r, n, i, o, a = null, s = [-1]) {
312
+ const u = xe;
313
+ _e(e);
314
+ const l = e.$$ = {
315
315
  fragment: null,
316
316
  ctx: [],
317
317
  // state
318
318
  props: o,
319
319
  update: $,
320
320
  not_equal: i,
321
- bound: It(),
321
+ bound: Nt(),
322
322
  // lifecycle
323
323
  on_mount: [],
324
324
  on_destroy: [],
325
325
  on_disconnect: [],
326
326
  before_update: [],
327
327
  after_update: [],
328
- context: new Map(t.context || (l ? l.$$.context : [])),
328
+ context: new Map(t.context || (u ? u.$$.context : [])),
329
329
  // everything else
330
- callbacks: It(),
330
+ callbacks: Nt(),
331
331
  dirty: s,
332
332
  skip_bound: !1,
333
- root: t.target || l.$$.root
333
+ root: t.target || u.$$.root
334
334
  };
335
- a && a(u.root);
336
- let h = !1;
337
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
338
- const p = m.length ? m[0] : f;
339
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && kn(e, c)), f;
340
- }) : [], u.update(), h = !0, ge(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
335
+ a && a(l.root);
336
+ let c = !1;
337
+ if (l.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
338
+ const m = p.length ? p[0] : f;
339
+ return l.ctx && i(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && Gn(e, h)), f;
340
+ }) : [], l.update(), c = !0, pe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
341
341
  if (t.hydrate) {
342
- const c = On(t.target);
343
- u.fragment && u.fragment.l(c), c.forEach(I);
342
+ const h = Mn(t.target);
343
+ l.fragment && l.fragment.l(h), h.forEach(I);
344
344
  } else
345
- u.fragment && u.fragment.c();
346
- t.intro && Un(e.$$.fragment), Fn(e, t.target, t.anchor), D();
345
+ l.fragment && l.fragment.c();
346
+ t.intro && Fn(e.$$.fragment), Dn(e, t.target, t.anchor), D();
347
347
  }
348
- xe(l);
348
+ _e(u);
349
349
  }
350
- let Sr;
351
- typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
350
+ let Tr;
351
+ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
352
352
  constructor(t, r, n) {
353
353
  super();
354
354
  /** The Svelte component constructor */
@@ -385,7 +385,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
385
385
  }
386
386
  }
387
387
  connectedCallback() {
388
- return Pt(this, null, function* () {
388
+ return Ct(this, null, function* () {
389
389
  if (this.$$cn = !0, !this.$$c) {
390
390
  let t = function(o) {
391
391
  return () => {
@@ -398,29 +398,29 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
398
398
  * @param {HTMLElement} target
399
399
  * @param {HTMLElement} [anchor]
400
400
  */
401
- m: function(u, h) {
402
- F(u, a, h);
401
+ m: function(l, c) {
402
+ F(l, a, c);
403
403
  },
404
- d: function(u) {
405
- u && I(a);
404
+ d: function(l) {
405
+ l && I(a);
406
406
  }
407
407
  };
408
408
  };
409
409
  };
410
410
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
411
411
  return;
412
- const r = {}, n = An(this);
412
+ const r = {}, n = Pn(this);
413
413
  for (const o of this.$$s)
414
414
  o in n && (r[o] = [t(o)]);
415
415
  for (const o of this.attributes) {
416
416
  const a = this.$$g_p(o.name);
417
- a in this.$$d || (this.$$d[a] = Pe(a, o.value, this.$$p_d, "toProp"));
417
+ a in this.$$d || (this.$$d[a] = Be(a, o.value, this.$$p_d, "toProp"));
418
418
  }
419
419
  for (const o in this.$$p_d)
420
420
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
421
421
  this.$$c = new this.$$ctor({
422
422
  target: this.shadowRoot || this,
423
- props: Bt(Lt({}, this.$$d), {
423
+ props: It(Bt({}, this.$$d), {
424
424
  $$slots: r,
425
425
  $$scope: {
426
426
  ctx: []
@@ -431,7 +431,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
431
431
  this.$$r = !0;
432
432
  for (const o in this.$$p_d)
433
433
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
434
- const a = Pe(
434
+ const a = Be(
435
435
  o,
436
436
  this.$$d[o],
437
437
  this.$$p_d,
@@ -455,7 +455,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
455
455
  // and setting attributes through setAttribute etc, this is helpful
456
456
  attributeChangedCallback(t, r, n) {
457
457
  var i;
458
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
458
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
459
459
  }
460
460
  disconnectedCallback() {
461
461
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -468,7 +468,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
468
468
  ) || t;
469
469
  }
470
470
  });
471
- function Pe(e, t, r, n) {
471
+ function Be(e, t, r, n) {
472
472
  var o;
473
473
  const i = (o = r[e]) == null ? void 0 : o.type;
474
474
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -498,8 +498,8 @@ function Pe(e, t, r, n) {
498
498
  return t;
499
499
  }
500
500
  }
501
- function $n(e, t, r, n, i, o) {
502
- let a = class extends Sr {
501
+ function jn(e, t, r, n, i, o) {
502
+ let a = class extends Tr {
503
503
  constructor() {
504
504
  super(e, r, i), this.$$p_d = t;
505
505
  }
@@ -514,22 +514,22 @@ function $n(e, t, r, n, i, o) {
514
514
  get() {
515
515
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
516
516
  },
517
- set(l) {
518
- var u;
519
- l = Pe(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
517
+ set(u) {
518
+ var l;
519
+ u = Be(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
520
520
  }
521
521
  });
522
522
  }), n.forEach((s) => {
523
523
  Object.defineProperty(a.prototype, s, {
524
524
  get() {
525
- var l;
526
- return (l = this.$$c) == null ? void 0 : l[s];
525
+ var u;
526
+ return (u = this.$$c) == null ? void 0 : u[s];
527
527
  }
528
528
  });
529
529
  }), e.element = /** @type {any} */
530
530
  a, a;
531
531
  }
532
- class jn {
532
+ class Wn {
533
533
  constructor() {
534
534
  /**
535
535
  * ### PRIVATE API
@@ -550,7 +550,7 @@ class jn {
550
550
  }
551
551
  /** @returns {void} */
552
552
  $destroy() {
553
- Dn(this, 1), this.$destroy = $;
553
+ kn(this, 1), this.$destroy = $;
554
554
  }
555
555
  /**
556
556
  * @template {Extract<keyof Events, string>} K
@@ -559,7 +559,7 @@ class jn {
559
559
  * @returns {() => void}
560
560
  */
561
561
  $on(t, r) {
562
- if (!pt(r))
562
+ if (!_t(r))
563
563
  return $;
564
564
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
565
565
  return n.push(r), () => {
@@ -572,11 +572,11 @@ class jn {
572
572
  * @returns {void}
573
573
  */
574
574
  $set(t) {
575
- this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
575
+ this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
576
576
  }
577
577
  }
578
- const Wn = "4";
579
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wn);
578
+ const Vn = "4";
579
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vn);
580
580
  /*! *****************************************************************************
581
581
  Copyright (c) Microsoft Corporation.
582
582
 
@@ -591,43 +591,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
591
591
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
592
592
  PERFORMANCE OF THIS SOFTWARE.
593
593
  ***************************************************************************** */
594
- var nt = function(e, t) {
595
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
594
+ var ot = function(e, t) {
595
+ return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
596
596
  r.__proto__ = n;
597
597
  } || function(r, n) {
598
598
  for (var i in n)
599
599
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
600
- }, nt(e, t);
600
+ }, ot(e, t);
601
601
  };
602
- function J(e, t) {
602
+ function He(e, t) {
603
603
  if (typeof t != "function" && t !== null)
604
604
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
605
- nt(e, t);
605
+ ot(e, t);
606
606
  function r() {
607
607
  this.constructor = e;
608
608
  }
609
609
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
610
610
  }
611
- var S = function() {
612
- return S = Object.assign || function(t) {
613
- for (var r, n = 1, i = arguments.length; n < i; n++) {
614
- r = arguments[n];
615
- for (var o in r)
616
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
617
- }
618
- return t;
619
- }, S.apply(this, arguments);
620
- };
621
- function Vn(e, t) {
622
- var r = {};
623
- for (var n in e)
624
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
625
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
626
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
627
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
628
- return r;
629
- }
630
- function it(e) {
611
+ function at(e) {
631
612
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
632
613
  if (r)
633
614
  return r.call(e);
@@ -639,7 +620,7 @@ function it(e) {
639
620
  };
640
621
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
641
622
  }
642
- function ot(e, t) {
623
+ function st(e, t) {
643
624
  var r = typeof Symbol == "function" && e[Symbol.iterator];
644
625
  if (!r)
645
626
  return e;
@@ -659,22 +640,22 @@ function ot(e, t) {
659
640
  }
660
641
  return o;
661
642
  }
662
- function he(e, t, r) {
663
- if (r || arguments.length === 2)
643
+ function ut(e, t, r) {
644
+ if (arguments.length === 2)
664
645
  for (var n = 0, i = t.length, o; n < i; n++)
665
646
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
666
647
  return e.concat(o || t);
667
648
  }
668
- function Q(e) {
649
+ function q(e) {
669
650
  return typeof e == "function";
670
651
  }
671
- function Hr(e) {
652
+ function Or(e) {
672
653
  var t = function(n) {
673
654
  Error.call(n), n.stack = new Error().stack;
674
655
  }, r = e(t);
675
656
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
676
657
  }
677
- var Qe = Hr(function(e) {
658
+ var Je = Or(function(e) {
678
659
  return function(r) {
679
660
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
680
661
  ` + r.map(function(n, i) {
@@ -683,13 +664,13 @@ var Qe = Hr(function(e) {
683
664
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
684
665
  };
685
666
  });
686
- function at(e, t) {
667
+ function lt(e, t) {
687
668
  if (e) {
688
669
  var r = e.indexOf(t);
689
670
  0 <= r && e.splice(r, 1);
690
671
  }
691
672
  }
692
- var ke = function() {
673
+ var Ge = function() {
693
674
  function e(t) {
694
675
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
695
676
  }
@@ -701,15 +682,15 @@ var ke = function() {
701
682
  if (a)
702
683
  if (this._parentage = null, Array.isArray(a))
703
684
  try {
704
- for (var s = it(a), l = s.next(); !l.done; l = s.next()) {
705
- var u = l.value;
706
- u.remove(this);
685
+ for (var s = at(a), u = s.next(); !u.done; u = s.next()) {
686
+ var l = u.value;
687
+ l.remove(this);
707
688
  }
708
689
  } catch (b) {
709
690
  t = { error: b };
710
691
  } finally {
711
692
  try {
712
- l && !l.done && (r = s.return) && r.call(s);
693
+ u && !u.done && (r = s.return) && r.call(s);
713
694
  } finally {
714
695
  if (t)
715
696
  throw t.error;
@@ -717,30 +698,30 @@ var ke = function() {
717
698
  }
718
699
  else
719
700
  a.remove(this);
720
- var h = this.initialTeardown;
721
- if (Q(h))
701
+ var c = this.initialTeardown;
702
+ if (q(c))
722
703
  try {
723
- h();
704
+ c();
724
705
  } catch (b) {
725
- o = b instanceof Qe ? b.errors : [b];
706
+ o = b instanceof Je ? b.errors : [b];
726
707
  }
727
- var c = this._finalizers;
728
- if (c) {
708
+ var h = this._finalizers;
709
+ if (h) {
729
710
  this._finalizers = null;
730
711
  try {
731
- for (var f = it(c), m = f.next(); !m.done; m = f.next()) {
732
- var p = m.value;
712
+ for (var f = at(h), p = f.next(); !p.done; p = f.next()) {
713
+ var m = p.value;
733
714
  try {
734
- Ft(p);
715
+ kt(m);
735
716
  } catch (b) {
736
- o = o != null ? o : [], b instanceof Qe ? o = he(he([], ot(o)), ot(b.errors)) : o.push(b);
717
+ o = o != null ? o : [], b instanceof Je ? o = ut(ut([], st(o)), st(b.errors)) : o.push(b);
737
718
  }
738
719
  }
739
720
  } catch (b) {
740
721
  n = { error: b };
741
722
  } finally {
742
723
  try {
743
- m && !m.done && (i = f.return) && i.call(f);
724
+ p && !p.done && (i = f.return) && i.call(f);
744
725
  } finally {
745
726
  if (n)
746
727
  throw n.error;
@@ -748,13 +729,13 @@ var ke = function() {
748
729
  }
749
730
  }
750
731
  if (o)
751
- throw new Qe(o);
732
+ throw new Je(o);
752
733
  }
753
734
  }, e.prototype.add = function(t) {
754
735
  var r;
755
736
  if (t && t !== this)
756
737
  if (this.closed)
757
- Ft(t);
738
+ kt(t);
758
739
  else {
759
740
  if (t instanceof e) {
760
741
  if (t.closed || t._hasParent(this))
@@ -771,56 +752,52 @@ var ke = function() {
771
752
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
772
753
  }, e.prototype._removeParent = function(t) {
773
754
  var r = this._parentage;
774
- r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
755
+ r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
775
756
  }, e.prototype.remove = function(t) {
776
757
  var r = this._finalizers;
777
- r && at(r, t), t instanceof e && t._removeParent(this);
758
+ r && lt(r, t), t instanceof e && t._removeParent(this);
778
759
  }, e.EMPTY = function() {
779
760
  var t = new e();
780
761
  return t.closed = !0, t;
781
762
  }(), e;
782
- }(), Tr = ke.EMPTY;
783
- function Or(e) {
784
- return e instanceof ke || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
785
- }
786
- function Ft(e) {
787
- Q(e) ? e() : e.unsubscribe();
788
- }
789
- var Mr = {
790
- onUnhandledError: null,
791
- onStoppedNotification: null,
792
- Promise: void 0,
793
- useDeprecatedSynchronousErrorHandling: !1,
794
- useDeprecatedNextContext: !1
795
- }, Xn = {
763
+ }(), Mr = Ge.EMPTY;
764
+ function Ar(e) {
765
+ return e instanceof Ge || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
766
+ }
767
+ function kt(e) {
768
+ q(e) ? e() : e.unsubscribe();
769
+ }
770
+ var Xn = {
771
+ Promise: void 0
772
+ }, zn = {
796
773
  setTimeout: function(e, t) {
797
774
  for (var r = [], n = 2; n < arguments.length; n++)
798
775
  r[n - 2] = arguments[n];
799
- return setTimeout.apply(void 0, he([e, t], ot(r)));
776
+ return setTimeout.apply(void 0, ut([e, t], st(r)));
800
777
  },
801
778
  clearTimeout: function(e) {
802
779
  return clearTimeout(e);
803
780
  },
804
781
  delegate: void 0
805
782
  };
806
- function zn(e) {
807
- Xn.setTimeout(function() {
783
+ function Zn(e) {
784
+ zn.setTimeout(function() {
808
785
  throw e;
809
786
  });
810
787
  }
811
- function Dt() {
788
+ function Gt() {
812
789
  }
813
790
  function Ie(e) {
814
791
  e();
815
792
  }
816
- var Ar = function(e) {
817
- J(t, e);
793
+ var Pr = function(e) {
794
+ He(t, e);
818
795
  function t(r) {
819
796
  var n = e.call(this) || this;
820
- return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = Jn, n;
797
+ return n.isStopped = !1, r ? (n.destination = r, Ar(r) && r.add(n)) : n.destination = Jn, n;
821
798
  }
822
799
  return t.create = function(r, n, i) {
823
- return new st(r, n, i);
800
+ return new ct(r, n, i);
824
801
  }, t.prototype.next = function(r) {
825
802
  this.isStopped || this._next(r);
826
803
  }, t.prototype.error = function(r) {
@@ -844,11 +821,7 @@ var Ar = function(e) {
844
821
  this.unsubscribe();
845
822
  }
846
823
  }, t;
847
- }(ke), Zn = Function.prototype.bind;
848
- function qe(e, t) {
849
- return Zn.call(e, t);
850
- }
851
- var Qn = function() {
824
+ }(Ge), Qn = function() {
852
825
  function e(t) {
853
826
  this.partialObserver = t;
854
827
  }
@@ -879,41 +852,29 @@ var Qn = function() {
879
852
  Ae(r);
880
853
  }
881
854
  }, e;
882
- }(), st = function(e) {
883
- J(t, e);
855
+ }(), ct = function(e) {
856
+ He(t, e);
884
857
  function t(r, n, i) {
885
858
  var o = e.call(this) || this, a;
886
- if (Q(r) || !r)
887
- a = {
888
- next: r != null ? r : void 0,
889
- error: n != null ? n : void 0,
890
- complete: i != null ? i : void 0
891
- };
892
- else {
893
- var s;
894
- o && Mr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
895
- return o.unsubscribe();
896
- }, a = {
897
- next: r.next && qe(r.next, s),
898
- error: r.error && qe(r.error, s),
899
- complete: r.complete && qe(r.complete, s)
900
- }) : a = r;
901
- }
902
- return o.destination = new Qn(a), o;
859
+ return q(r) || !r ? a = {
860
+ next: r != null ? r : void 0,
861
+ error: n != null ? n : void 0,
862
+ complete: i != null ? i : void 0
863
+ } : a = r, o.destination = new Qn(a), o;
903
864
  }
904
865
  return t;
905
- }(Ar);
866
+ }(Pr);
906
867
  function Ae(e) {
907
- zn(e);
868
+ Zn(e);
908
869
  }
909
870
  function qn(e) {
910
871
  throw e;
911
872
  }
912
873
  var Jn = {
913
874
  closed: !0,
914
- next: Dt,
875
+ next: Gt,
915
876
  error: qn,
916
- complete: Dt
877
+ complete: Gt
917
878
  }, Yn = function() {
918
879
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
919
880
  }();
@@ -927,7 +888,7 @@ function ei(e) {
927
888
  }, r);
928
889
  };
929
890
  }
930
- var kt = function() {
891
+ var $t = function() {
931
892
  function e(t) {
932
893
  t && (this._subscribe = t);
933
894
  }
@@ -935,10 +896,10 @@ var kt = function() {
935
896
  var r = new e();
936
897
  return r.source = this, r.operator = t, r;
937
898
  }, e.prototype.subscribe = function(t, r, n) {
938
- var i = this, o = ri(t) ? t : new st(t, r, n);
899
+ var i = this, o = ri(t) ? t : new ct(t, r, n);
939
900
  return Ie(function() {
940
- var a = i, s = a.operator, l = a.source;
941
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
901
+ var a = i, s = a.operator, u = a.source;
902
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
942
903
  }), o;
943
904
  }, e.prototype._trySubscribe = function(t) {
944
905
  try {
@@ -948,13 +909,13 @@ var kt = function() {
948
909
  }
949
910
  }, e.prototype.forEach = function(t, r) {
950
911
  var n = this;
951
- return r = Gt(r), new r(function(i, o) {
952
- var a = new st({
912
+ return r = jt(r), new r(function(i, o) {
913
+ var a = new ct({
953
914
  next: function(s) {
954
915
  try {
955
916
  t(s);
956
- } catch (l) {
957
- o(l), a.unsubscribe();
917
+ } catch (u) {
918
+ o(u), a.unsubscribe();
958
919
  }
959
920
  },
960
921
  error: o,
@@ -973,7 +934,7 @@ var kt = function() {
973
934
  return ei(t)(this);
974
935
  }, e.prototype.toPromise = function(t) {
975
936
  var r = this;
976
- return t = Gt(t), new t(function(n, i) {
937
+ return t = jt(t), new t(function(n, i) {
977
938
  var o;
978
939
  r.subscribe(function(a) {
979
940
  return o = a;
@@ -987,28 +948,28 @@ var kt = function() {
987
948
  return new e(t);
988
949
  }, e;
989
950
  }();
990
- function Gt(e) {
951
+ function jt(e) {
991
952
  var t;
992
- return (t = e != null ? e : Mr.Promise) !== null && t !== void 0 ? t : Promise;
953
+ return (t = e != null ? e : Xn.Promise) !== null && t !== void 0 ? t : Promise;
993
954
  }
994
955
  function ti(e) {
995
- return e && Q(e.next) && Q(e.error) && Q(e.complete);
956
+ return e && q(e.next) && q(e.error) && q(e.complete);
996
957
  }
997
958
  function ri(e) {
998
- return e && e instanceof Ar || ti(e) && Or(e);
959
+ return e && e instanceof Pr || ti(e) && Ar(e);
999
960
  }
1000
- var ni = Hr(function(e) {
961
+ var ni = Or(function(e) {
1001
962
  return function() {
1002
963
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1003
964
  };
1004
965
  }), Lr = function(e) {
1005
- J(t, e);
966
+ He(t, e);
1006
967
  function t() {
1007
968
  var r = e.call(this) || this;
1008
969
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1009
970
  }
1010
971
  return t.prototype.lift = function(r) {
1011
- var n = new $t(this, this);
972
+ var n = new Wt(this, this);
1012
973
  return n.operator = r, n;
1013
974
  }, t.prototype._throwIfClosed = function() {
1014
975
  if (this.closed)
@@ -1020,12 +981,12 @@ var ni = Hr(function(e) {
1020
981
  if (n._throwIfClosed(), !n.isStopped) {
1021
982
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1022
983
  try {
1023
- for (var a = it(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1024
- var l = s.value;
1025
- l.next(r);
984
+ for (var a = at(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
985
+ var u = s.value;
986
+ u.next(r);
1026
987
  }
1027
- } catch (u) {
1028
- i = { error: u };
988
+ } catch (l) {
989
+ i = { error: l };
1029
990
  } finally {
1030
991
  try {
1031
992
  s && !s.done && (o = a.return) && o.call(a);
@@ -1069,20 +1030,20 @@ var ni = Hr(function(e) {
1069
1030
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1070
1031
  }, t.prototype._innerSubscribe = function(r) {
1071
1032
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1072
- return o || a ? Tr : (this.currentObservers = null, s.push(r), new ke(function() {
1073
- n.currentObservers = null, at(s, r);
1033
+ return o || a ? Mr : (this.currentObservers = null, s.push(r), new Ge(function() {
1034
+ n.currentObservers = null, lt(s, r);
1074
1035
  }));
1075
1036
  }, t.prototype._checkFinalizedStatuses = function(r) {
1076
1037
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1077
1038
  i ? r.error(o) : a && r.complete();
1078
1039
  }, t.prototype.asObservable = function() {
1079
- var r = new kt();
1040
+ var r = new $t();
1080
1041
  return r.source = this, r;
1081
1042
  }, t.create = function(r, n) {
1082
- return new $t(r, n);
1043
+ return new Wt(r, n);
1083
1044
  }, t;
1084
- }(kt), $t = function(e) {
1085
- J(t, e);
1045
+ }($t), Wt = function(e) {
1046
+ He(t, e);
1086
1047
  function t(r, n) {
1087
1048
  var i = e.call(this) || this;
1088
1049
  return i.destination = r, i.source = n, i;
@@ -1098,7 +1059,7 @@ var ni = Hr(function(e) {
1098
1059
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1099
1060
  }, t.prototype._subscribe = function(r) {
1100
1061
  var n, i;
1101
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
1062
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
1102
1063
  }, t;
1103
1064
  }(Lr), Br = {
1104
1065
  now: function() {
@@ -1106,52 +1067,52 @@ var ni = Hr(function(e) {
1106
1067
  },
1107
1068
  delegate: void 0
1108
1069
  }, ii = function(e) {
1109
- J(t, e);
1070
+ He(t, e);
1110
1071
  function t(r, n, i) {
1111
1072
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
1112
1073
  var o = e.call(this) || this;
1113
1074
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1114
1075
  }
1115
1076
  return t.prototype.next = function(r) {
1116
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1117
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1077
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
1078
+ i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1118
1079
  }, t.prototype._subscribe = function(r) {
1119
1080
  this._throwIfClosed(), this._trimBuffer();
1120
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1121
- r.next(s[l]);
1081
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
1082
+ r.next(s[u]);
1122
1083
  return this._checkFinalizedStatuses(r), n;
1123
1084
  }, t.prototype._trimBuffer = function() {
1124
1085
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1125
1086
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1126
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1127
- u = h;
1128
- u && o.splice(0, u + 1);
1087
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
1088
+ l = c;
1089
+ l && o.splice(0, l + 1);
1129
1090
  }
1130
1091
  }, t;
1131
1092
  }(Lr);
1132
- const jt = [], Wt = {}, oi = (e, t = 0) => {
1133
- if (jt.indexOf(e) == -1) {
1093
+ const Vt = [], Xt = {}, oi = (e, t = 0) => {
1094
+ if (Vt.indexOf(e) == -1) {
1134
1095
  const r = new ii(t);
1135
- Wt[e] = r, jt.push(e);
1096
+ Xt[e] = r, Vt.push(e);
1136
1097
  }
1137
- return Wt[e];
1098
+ return Xt[e];
1138
1099
  }, se = [];
1139
1100
  function ai(e, t) {
1140
1101
  return {
1141
- subscribe: Ge(e, t).subscribe
1102
+ subscribe: $e(e, t).subscribe
1142
1103
  };
1143
1104
  }
1144
- function Ge(e, t = $) {
1105
+ function $e(e, t = $) {
1145
1106
  let r;
1146
1107
  const n = /* @__PURE__ */ new Set();
1147
1108
  function i(s) {
1148
- if (_r(e, s) && (e = s, r)) {
1149
- const l = !se.length;
1150
- for (const u of n)
1151
- u[1](), se.push(u, e);
1152
- if (l) {
1153
- for (let u = 0; u < se.length; u += 2)
1154
- se[u][0](se[u + 1]);
1109
+ if (Er(e, s) && (e = s, r)) {
1110
+ const u = !se.length;
1111
+ for (const l of n)
1112
+ l[1](), se.push(l, e);
1113
+ if (u) {
1114
+ for (let l = 0; l < se.length; l += 2)
1115
+ se[l][0](se[l + 1]);
1155
1116
  se.length = 0;
1156
1117
  }
1157
1118
  }
@@ -1159,75 +1120,75 @@ function Ge(e, t = $) {
1159
1120
  function o(s) {
1160
1121
  i(s(e));
1161
1122
  }
1162
- function a(s, l = $) {
1163
- const u = [s, l];
1164
- return n.add(u), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1165
- n.delete(u), n.size === 0 && r && (r(), r = null);
1123
+ function a(s, u = $) {
1124
+ const l = [s, u];
1125
+ return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1126
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1166
1127
  };
1167
1128
  }
1168
1129
  return { set: i, update: o, subscribe: a };
1169
1130
  }
1170
- function be(e, t, r) {
1131
+ function me(e, t, r) {
1171
1132
  const n = !Array.isArray(e), i = n ? [e] : e;
1172
1133
  if (!i.every(Boolean))
1173
1134
  throw new Error("derived() expects stores as input, got a falsy value");
1174
1135
  const o = t.length < 2;
1175
1136
  return ai(r, (a, s) => {
1176
- let l = !1;
1177
- const u = [];
1178
- let h = 0, c = $;
1137
+ let u = !1;
1138
+ const l = [];
1139
+ let c = 0, h = $;
1179
1140
  const f = () => {
1180
- if (h)
1141
+ if (c)
1181
1142
  return;
1182
- c();
1183
- const p = t(n ? u[0] : u, a, s);
1184
- o ? a(p) : c = pt(p) ? p : $;
1185
- }, m = i.map(
1186
- (p, b) => xr(
1187
- p,
1143
+ h();
1144
+ const m = t(n ? l[0] : l, a, s);
1145
+ o ? a(m) : h = _t(m) ? m : $;
1146
+ }, p = i.map(
1147
+ (m, b) => wr(
1148
+ m,
1188
1149
  (w) => {
1189
- u[b] = w, h &= ~(1 << b), l && f();
1150
+ l[b] = w, c &= ~(1 << b), u && f();
1190
1151
  },
1191
1152
  () => {
1192
- h |= 1 << b;
1153
+ c |= 1 << b;
1193
1154
  }
1194
1155
  )
1195
1156
  );
1196
- return l = !0, f(), function() {
1197
- ge(m), c(), l = !1;
1157
+ return u = !0, f(), function() {
1158
+ pe(p), h(), u = !1;
1198
1159
  };
1199
1160
  });
1200
1161
  }
1201
- var ya = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1162
+ var _a = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1202
1163
  function si(e) {
1203
1164
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1204
1165
  }
1205
- var li = function(t) {
1206
- return ui(t) && !hi(t);
1166
+ var ui = function(t) {
1167
+ return li(t) && !ci(t);
1207
1168
  };
1208
- function ui(e) {
1169
+ function li(e) {
1209
1170
  return !!e && typeof e == "object";
1210
1171
  }
1211
- function hi(e) {
1172
+ function ci(e) {
1212
1173
  var t = Object.prototype.toString.call(e);
1213
1174
  return t === "[object RegExp]" || t === "[object Date]" || di(e);
1214
1175
  }
1215
- var ci = typeof Symbol == "function" && Symbol.for, fi = ci ? Symbol.for("react.element") : 60103;
1176
+ var hi = typeof Symbol == "function" && Symbol.for, fi = hi ? Symbol.for("react.element") : 60103;
1216
1177
  function di(e) {
1217
1178
  return e.$$typeof === fi;
1218
1179
  }
1219
- function mi(e) {
1180
+ function pi(e) {
1220
1181
  return Array.isArray(e) ? [] : {};
1221
1182
  }
1222
- function we(e, t) {
1223
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(mi(e), e, t) : e;
1183
+ function Ee(e, t) {
1184
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(pi(e), e, t) : e;
1224
1185
  }
1225
1186
  function gi(e, t, r) {
1226
1187
  return e.concat(t).map(function(n) {
1227
- return we(n, r);
1188
+ return Ee(n, r);
1228
1189
  });
1229
1190
  }
1230
- function pi(e, t) {
1191
+ function mi(e, t) {
1231
1192
  if (!t.customMerge)
1232
1193
  return ce;
1233
1194
  var r = t.customMerge(e);
@@ -1238,10 +1199,10 @@ function bi(e) {
1238
1199
  return Object.propertyIsEnumerable.call(e, t);
1239
1200
  }) : [];
1240
1201
  }
1241
- function Vt(e) {
1202
+ function zt(e) {
1242
1203
  return Object.keys(e).concat(bi(e));
1243
1204
  }
1244
- function Pr(e, t) {
1205
+ function Ir(e, t) {
1245
1206
  try {
1246
1207
  return t in e;
1247
1208
  } catch (r) {
@@ -1249,20 +1210,20 @@ function Pr(e, t) {
1249
1210
  }
1250
1211
  }
1251
1212
  function yi(e, t) {
1252
- return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1213
+ return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1253
1214
  }
1254
1215
  function vi(e, t, r) {
1255
1216
  var n = {};
1256
- return r.isMergeableObject(e) && Vt(e).forEach(function(i) {
1257
- n[i] = we(e[i], r);
1258
- }), Vt(t).forEach(function(i) {
1259
- yi(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = pi(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
1217
+ return r.isMergeableObject(e) && zt(e).forEach(function(i) {
1218
+ n[i] = Ee(e[i], r);
1219
+ }), zt(t).forEach(function(i) {
1220
+ yi(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = mi(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
1260
1221
  }), n;
1261
1222
  }
1262
1223
  function ce(e, t, r) {
1263
- r = r || {}, r.arrayMerge = r.arrayMerge || gi, r.isMergeableObject = r.isMergeableObject || li, r.cloneUnlessOtherwiseSpecified = we;
1224
+ r = r || {}, r.arrayMerge = r.arrayMerge || gi, r.isMergeableObject = r.isMergeableObject || ui, r.cloneUnlessOtherwiseSpecified = Ee;
1264
1225
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1265
- return o ? n ? r.arrayMerge(e, t, r) : vi(e, t, r) : we(t, r);
1226
+ return o ? n ? r.arrayMerge(e, t, r) : vi(e, t, r) : Ee(t, r);
1266
1227
  }
1267
1228
  ce.all = function(t, r) {
1268
1229
  if (!Array.isArray(t))
@@ -1273,105 +1234,155 @@ ce.all = function(t, r) {
1273
1234
  };
1274
1235
  var _i = ce, xi = _i;
1275
1236
  const Ei = /* @__PURE__ */ si(xi);
1276
- function Je(e, t) {
1277
- var r = t && t.cache ? t.cache : Mi, n = t && t.serializer ? t.serializer : Oi, i = t && t.strategy ? t.strategy : Si;
1237
+ var ht = function(e, t) {
1238
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1239
+ r.__proto__ = n;
1240
+ } || function(r, n) {
1241
+ for (var i in n)
1242
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1243
+ }, ht(e, t);
1244
+ };
1245
+ function je(e, t) {
1246
+ if (typeof t != "function" && t !== null)
1247
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1248
+ ht(e, t);
1249
+ function r() {
1250
+ this.constructor = e;
1251
+ }
1252
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1253
+ }
1254
+ var z = function() {
1255
+ return z = Object.assign || function(t) {
1256
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1257
+ r = arguments[n];
1258
+ for (var o in r)
1259
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1260
+ }
1261
+ return t;
1262
+ }, z.apply(this, arguments);
1263
+ };
1264
+ function wi(e, t) {
1265
+ var r = {};
1266
+ for (var n in e)
1267
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1268
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1269
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1270
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1271
+ return r;
1272
+ }
1273
+ function Ye(e, t, r) {
1274
+ if (r || arguments.length === 2)
1275
+ for (var n = 0, i = t.length, o; n < i; n++)
1276
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1277
+ return e.concat(o || Array.prototype.slice.call(t));
1278
+ }
1279
+ function Ke(e, t) {
1280
+ var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Mi, i = t && t.strategy ? t.strategy : Ti;
1278
1281
  return i(e, {
1279
1282
  cache: r,
1280
1283
  serializer: n
1281
1284
  });
1282
1285
  }
1283
- function wi(e) {
1286
+ function Si(e) {
1284
1287
  return e == null || typeof e == "number" || typeof e == "boolean";
1285
1288
  }
1286
- function Ir(e, t, r, n) {
1287
- var i = wi(n) ? n : r(n), o = t.get(i);
1289
+ function Hi(e, t, r, n) {
1290
+ var i = Si(n) ? n : r(n), o = t.get(i);
1288
1291
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1289
1292
  }
1290
1293
  function Cr(e, t, r) {
1291
1294
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1292
1295
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1293
1296
  }
1294
- function bt(e, t, r, n, i) {
1297
+ function Nr(e, t, r, n, i) {
1295
1298
  return r.bind(t, e, n, i);
1296
1299
  }
1297
- function Si(e, t) {
1298
- var r = e.length === 1 ? Ir : Cr;
1299
- return bt(e, this, r, t.cache.create(), t.serializer);
1300
- }
1301
- function Hi(e, t) {
1302
- return bt(e, this, Cr, t.cache.create(), t.serializer);
1303
- }
1304
1300
  function Ti(e, t) {
1305
- return bt(e, this, Ir, t.cache.create(), t.serializer);
1301
+ var r = e.length === 1 ? Hi : Cr;
1302
+ return Nr(e, this, r, t.cache.create(), t.serializer);
1306
1303
  }
1307
- var Oi = function() {
1308
- return JSON.stringify(arguments);
1309
- };
1310
- function yt() {
1311
- this.cache = /* @__PURE__ */ Object.create(null);
1304
+ function Oi(e, t) {
1305
+ return Nr(e, this, Cr, t.cache.create(), t.serializer);
1312
1306
  }
1313
- yt.prototype.get = function(e) {
1314
- return this.cache[e];
1315
- };
1316
- yt.prototype.set = function(e, t) {
1317
- this.cache[e] = t;
1318
- };
1319
- var Mi = {
1307
+ var Mi = function() {
1308
+ return JSON.stringify(arguments);
1309
+ }, Ai = (
1310
+ /** @class */
1311
+ function() {
1312
+ function e() {
1313
+ this.cache = /* @__PURE__ */ Object.create(null);
1314
+ }
1315
+ return e.prototype.get = function(t) {
1316
+ return this.cache[t];
1317
+ }, e.prototype.set = function(t, r) {
1318
+ this.cache[t] = r;
1319
+ }, e;
1320
+ }()
1321
+ ), Pi = {
1320
1322
  create: function() {
1321
- return new yt();
1323
+ return new Ai();
1322
1324
  }
1323
- }, Ye = {
1324
- variadic: Hi,
1325
- monadic: Ti
1326
- }, _;
1325
+ }, et = {
1326
+ variadic: Oi
1327
+ }, Fe = function() {
1328
+ return Fe = Object.assign || function(t) {
1329
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1330
+ r = arguments[n];
1331
+ for (var o in r)
1332
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1333
+ }
1334
+ return t;
1335
+ }, Fe.apply(this, arguments);
1336
+ };
1337
+ var _;
1327
1338
  (function(e) {
1328
1339
  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";
1329
1340
  })(_ || (_ = {}));
1330
- var O;
1341
+ var T;
1331
1342
  (function(e) {
1332
1343
  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";
1333
- })(O || (O = {}));
1334
- var fe;
1344
+ })(T || (T = {}));
1345
+ var he;
1335
1346
  (function(e) {
1336
1347
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1337
- })(fe || (fe = {}));
1338
- function Xt(e) {
1339
- return e.type === O.literal;
1340
- }
1341
- function Ai(e) {
1342
- return e.type === O.argument;
1348
+ })(he || (he = {}));
1349
+ function Zt(e) {
1350
+ return e.type === T.literal;
1343
1351
  }
1344
- function Nr(e) {
1345
- return e.type === O.number;
1352
+ function Li(e) {
1353
+ return e.type === T.argument;
1346
1354
  }
1347
1355
  function Rr(e) {
1348
- return e.type === O.date;
1356
+ return e.type === T.number;
1349
1357
  }
1350
1358
  function Ur(e) {
1351
- return e.type === O.time;
1359
+ return e.type === T.date;
1352
1360
  }
1353
1361
  function Fr(e) {
1354
- return e.type === O.select;
1362
+ return e.type === T.time;
1355
1363
  }
1356
1364
  function Dr(e) {
1357
- return e.type === O.plural;
1358
- }
1359
- function Li(e) {
1360
- return e.type === O.pound;
1365
+ return e.type === T.select;
1361
1366
  }
1362
1367
  function kr(e) {
1363
- return e.type === O.tag;
1368
+ return e.type === T.plural;
1369
+ }
1370
+ function Bi(e) {
1371
+ return e.type === T.pound;
1364
1372
  }
1365
1373
  function Gr(e) {
1366
- return !!(e && typeof e == "object" && e.type === fe.number);
1374
+ return e.type === T.tag;
1375
+ }
1376
+ function $r(e) {
1377
+ return !!(e && typeof e == "object" && e.type === he.number);
1367
1378
  }
1368
- function lt(e) {
1369
- return !!(e && typeof e == "object" && e.type === fe.dateTime);
1379
+ function ft(e) {
1380
+ return !!(e && typeof e == "object" && e.type === he.dateTime);
1370
1381
  }
1371
- var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[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;
1372
- function Pi(e) {
1382
+ var jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
1383
+ function Ci(e) {
1373
1384
  var t = {};
1374
- return e.replace(Bi, function(r) {
1385
+ return e.replace(Ii, function(r) {
1375
1386
  var n = r.length;
1376
1387
  switch (r[0]) {
1377
1388
  case "G":
@@ -1460,36 +1471,46 @@ function Pi(e) {
1460
1471
  return "";
1461
1472
  }), t;
1462
1473
  }
1463
- var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1464
- function Ci(e) {
1474
+ var A = function() {
1475
+ return A = Object.assign || function(t) {
1476
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1477
+ r = arguments[n];
1478
+ for (var o in r)
1479
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1480
+ }
1481
+ return t;
1482
+ }, A.apply(this, arguments);
1483
+ };
1484
+ var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1485
+ function Ri(e) {
1465
1486
  if (e.length === 0)
1466
1487
  throw new Error("Number skeleton cannot be empty");
1467
- for (var t = e.split(Ii).filter(function(f) {
1488
+ for (var t = e.split(Ni).filter(function(f) {
1468
1489
  return f.length > 0;
1469
1490
  }), r = [], n = 0, i = t; n < i.length; n++) {
1470
1491
  var o = i[n], a = o.split("/");
1471
1492
  if (a.length === 0)
1472
1493
  throw new Error("Invalid number skeleton");
1473
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1474
- var c = h[u];
1475
- if (c.length === 0)
1494
+ for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1495
+ var h = c[l];
1496
+ if (h.length === 0)
1476
1497
  throw new Error("Invalid number skeleton");
1477
1498
  }
1478
- r.push({ stem: s, options: l });
1499
+ r.push({ stem: s, options: u });
1479
1500
  }
1480
1501
  return r;
1481
1502
  }
1482
- function Ni(e) {
1503
+ function Ui(e) {
1483
1504
  return e.replace(/^(.*?)-/, "");
1484
1505
  }
1485
- var zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, Ri = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
1486
- function Zt(e) {
1506
+ var Qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, Fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Vr = /^(0+)$/;
1507
+ function qt(e) {
1487
1508
  var t = {};
1488
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, n, i) {
1509
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
1489
1510
  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)), "";
1490
1511
  }), t;
1491
1512
  }
1492
- function Vr(e) {
1513
+ function Xr(e) {
1493
1514
  switch (e) {
1494
1515
  case "sign-auto":
1495
1516
  return {
@@ -1529,7 +1550,7 @@ function Vr(e) {
1529
1550
  };
1530
1551
  }
1531
1552
  }
1532
- function Ui(e) {
1553
+ function Di(e) {
1533
1554
  var t;
1534
1555
  if (e[0] === "E" && e[1] === "E" ? (t = {
1535
1556
  notation: "engineering"
@@ -1537,17 +1558,17 @@ function Ui(e) {
1537
1558
  notation: "scientific"
1538
1559
  }, e = e.slice(1)), t) {
1539
1560
  var r = e.slice(0, 2);
1540
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
1561
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vr.test(e))
1541
1562
  throw new Error("Malformed concise eng/scientific notation");
1542
1563
  t.minimumIntegerDigits = e.length;
1543
1564
  }
1544
1565
  return t;
1545
1566
  }
1546
- function Qt(e) {
1547
- var t = {}, r = Vr(e);
1567
+ function Jt(e) {
1568
+ var t = {}, r = Xr(e);
1548
1569
  return r || t;
1549
1570
  }
1550
- function Fi(e) {
1571
+ function ki(e) {
1551
1572
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1552
1573
  var i = n[r];
1553
1574
  switch (i.stem) {
@@ -1571,7 +1592,7 @@ function Fi(e) {
1571
1592
  continue;
1572
1593
  case "measure-unit":
1573
1594
  case "unit":
1574
- t.style = "unit", t.unit = Ni(i.options[0]);
1595
+ t.style = "unit", t.unit = Ui(i.options[0]);
1575
1596
  continue;
1576
1597
  case "compact-short":
1577
1598
  case "K":
@@ -1582,13 +1603,13 @@ function Fi(e) {
1582
1603
  t.notation = "compact", t.compactDisplay = "long";
1583
1604
  continue;
1584
1605
  case "scientific":
1585
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1586
- return S(S({}, l), Qt(u));
1606
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1607
+ return A(A({}, u), Jt(l));
1587
1608
  }, {}));
1588
1609
  continue;
1589
1610
  case "engineering":
1590
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1591
- return S(S({}, l), Qt(u));
1611
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1612
+ return A(A({}, u), Jt(l));
1592
1613
  }, {}));
1593
1614
  continue;
1594
1615
  case "notation-simple":
@@ -1633,45 +1654,45 @@ function Fi(e) {
1633
1654
  case "integer-width":
1634
1655
  if (i.options.length > 1)
1635
1656
  throw new RangeError("integer-width stems only accept a single optional option");
1636
- i.options[0].replace(Ri, function(l, u, h, c, f, m) {
1637
- if (u)
1638
- t.minimumIntegerDigits = h.length;
1657
+ i.options[0].replace(Fi, function(u, l, c, h, f, p) {
1658
+ if (l)
1659
+ t.minimumIntegerDigits = c.length;
1639
1660
  else {
1640
- if (c && f)
1661
+ if (h && f)
1641
1662
  throw new Error("We currently do not support maximum integer digits");
1642
- if (m)
1663
+ if (p)
1643
1664
  throw new Error("We currently do not support exact integer digits");
1644
1665
  }
1645
1666
  return "";
1646
1667
  });
1647
1668
  continue;
1648
1669
  }
1649
- if (Wr.test(i.stem)) {
1670
+ if (Vr.test(i.stem)) {
1650
1671
  t.minimumIntegerDigits = i.stem.length;
1651
1672
  continue;
1652
1673
  }
1653
- if (zt.test(i.stem)) {
1674
+ if (Qt.test(i.stem)) {
1654
1675
  if (i.options.length > 1)
1655
1676
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1656
- i.stem.replace(zt, function(l, u, h, c, f, m) {
1657
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1677
+ i.stem.replace(Qt, function(u, l, c, h, f, p) {
1678
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1658
1679
  });
1659
1680
  var o = i.options[0];
1660
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Zt(o)));
1681
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), qt(o)));
1661
1682
  continue;
1662
1683
  }
1663
- if (jr.test(i.stem)) {
1664
- t = S(S({}, t), Zt(i.stem));
1684
+ if (Wr.test(i.stem)) {
1685
+ t = A(A({}, t), qt(i.stem));
1665
1686
  continue;
1666
1687
  }
1667
- var a = Vr(i.stem);
1668
- a && (t = S(S({}, t), a));
1669
- var s = Ui(i.stem);
1670
- s && (t = S(S({}, t), s));
1688
+ var a = Xr(i.stem);
1689
+ a && (t = A(A({}, t), a));
1690
+ var s = Di(i.stem);
1691
+ s && (t = A(A({}, t), s));
1671
1692
  }
1672
1693
  return t;
1673
1694
  }
1674
- var Le = {
1695
+ var Pe = {
1675
1696
  "001": [
1676
1697
  "H",
1677
1698
  "h"
@@ -3086,23 +3107,23 @@ var Le = {
3086
3107
  "h"
3087
3108
  ]
3088
3109
  };
3089
- function Di(e, t) {
3110
+ function Gi(e, t) {
3090
3111
  for (var r = "", n = 0; n < e.length; n++) {
3091
3112
  var i = e.charAt(n);
3092
3113
  if (i === "j") {
3093
3114
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3094
3115
  o++, n++;
3095
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ki(t);
3096
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3097
- r += l;
3116
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = $i(t);
3117
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3118
+ r += u;
3098
3119
  for (; a-- > 0; )
3099
- r = u + r;
3120
+ r = l + r;
3100
3121
  } else
3101
3122
  i === "J" ? r += "H" : r += i;
3102
3123
  }
3103
3124
  return r;
3104
3125
  }
3105
- function ki(e) {
3126
+ function $i(e) {
3106
3127
  var t = e.hourCycle;
3107
3128
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3108
3129
  e.hourCycles && // @ts-ignore
@@ -3121,23 +3142,23 @@ function ki(e) {
3121
3142
  }
3122
3143
  var r = e.language, n;
3123
3144
  r !== "root" && (n = e.maximize().region);
3124
- var i = Le[n || ""] || Le[r || ""] || Le["".concat(r, "-001")] || Le["001"];
3145
+ var i = Pe[n || ""] || Pe[r || ""] || Pe["".concat(r, "-001")] || Pe["001"];
3125
3146
  return i[0];
3126
3147
  }
3127
- var Ke, Gi = new RegExp("^".concat($r.source, "*")), $i = new RegExp("".concat($r.source, "*$"));
3148
+ var tt, ji = new RegExp("^".concat(jr.source, "*")), Wi = new RegExp("".concat(jr.source, "*$"));
3128
3149
  function E(e, t) {
3129
3150
  return { start: e, end: t };
3130
3151
  }
3131
- var ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wi = !!String.fromCodePoint, Vi = !!Object.fromEntries, Xi = !!String.prototype.codePointAt, zi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, Qi = !!Number.isSafeInteger, qi = Qi ? Number.isSafeInteger : function(e) {
3152
+ var Vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xi = !!String.fromCodePoint, zi = !!Object.fromEntries, Zi = !!String.prototype.codePointAt, Qi = !!String.prototype.trimStart, qi = !!String.prototype.trimEnd, Ji = !!Number.isSafeInteger, Yi = Ji ? Number.isSafeInteger : function(e) {
3132
3153
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3133
- }, ut = !0;
3154
+ }, dt = !0;
3134
3155
  try {
3135
- var Ji = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3136
- ut = ((Ke = Ji.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3156
+ var Ki = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3157
+ dt = ((tt = Ki.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3137
3158
  } catch (e) {
3138
- ut = !1;
3159
+ dt = !1;
3139
3160
  }
3140
- var qt = ji ? (
3161
+ var Yt = Vi ? (
3141
3162
  // Native
3142
3163
  function(t, r, n) {
3143
3164
  return t.startsWith(r, n);
@@ -3147,7 +3168,7 @@ var qt = ji ? (
3147
3168
  function(t, r, n) {
3148
3169
  return t.slice(n, n + r.length) === r;
3149
3170
  }
3150
- ), ht = Wi ? String.fromCodePoint : (
3171
+ ), pt = Xi ? String.fromCodePoint : (
3151
3172
  // IE11
3152
3173
  function() {
3153
3174
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3159,9 +3180,9 @@ var qt = ji ? (
3159
3180
  }
3160
3181
  return n;
3161
3182
  }
3162
- ), Jt = (
3183
+ ), Kt = (
3163
3184
  // native
3164
- Vi ? Object.fromEntries : (
3185
+ zi ? Object.fromEntries : (
3165
3186
  // Ponyfill
3166
3187
  function(t) {
3167
3188
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3171,7 +3192,7 @@ var qt = ji ? (
3171
3192
  return r;
3172
3193
  }
3173
3194
  )
3174
- ), Xr = Xi ? (
3195
+ ), zr = Zi ? (
3175
3196
  // Native
3176
3197
  function(t, r) {
3177
3198
  return t.codePointAt(r);
@@ -3185,7 +3206,7 @@ var qt = ji ? (
3185
3206
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3186
3207
  }
3187
3208
  }
3188
- ), Yi = zi ? (
3209
+ ), eo = Qi ? (
3189
3210
  // Native
3190
3211
  function(t) {
3191
3212
  return t.trimStart();
@@ -3193,9 +3214,9 @@ var qt = ji ? (
3193
3214
  ) : (
3194
3215
  // Ponyfill
3195
3216
  function(t) {
3196
- return t.replace(Gi, "");
3217
+ return t.replace(ji, "");
3197
3218
  }
3198
- ), Ki = Zi ? (
3219
+ ), to = qi ? (
3199
3220
  // Native
3200
3221
  function(t) {
3201
3222
  return t.trimEnd();
@@ -3203,32 +3224,32 @@ var qt = ji ? (
3203
3224
  ) : (
3204
3225
  // Ponyfill
3205
3226
  function(t) {
3206
- return t.replace($i, "");
3227
+ return t.replace(Wi, "");
3207
3228
  }
3208
3229
  );
3209
- function zr(e, t) {
3230
+ function Zr(e, t) {
3210
3231
  return new RegExp(e, t);
3211
3232
  }
3212
- var ct;
3213
- if (ut) {
3214
- var Yt = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3215
- ct = function(t, r) {
3233
+ var gt;
3234
+ if (dt) {
3235
+ var er = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3236
+ gt = function(t, r) {
3216
3237
  var n;
3217
- Yt.lastIndex = r;
3218
- var i = Yt.exec(t);
3238
+ er.lastIndex = r;
3239
+ var i = er.exec(t);
3219
3240
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3220
3241
  };
3221
3242
  } else
3222
- ct = function(t, r) {
3243
+ gt = function(t, r) {
3223
3244
  for (var n = []; ; ) {
3224
- var i = Xr(t, r);
3225
- if (i === void 0 || Zr(i) || no(i))
3245
+ var i = zr(t, r);
3246
+ if (i === void 0 || Qr(i) || oo(i))
3226
3247
  break;
3227
3248
  n.push(i), r += i >= 65536 ? 2 : 1;
3228
3249
  }
3229
- return ht.apply(void 0, n);
3250
+ return pt.apply(void 0, n);
3230
3251
  };
3231
- var eo = (
3252
+ var ro = (
3232
3253
  /** @class */
3233
3254
  function() {
3234
3255
  function e(t, r) {
@@ -3252,14 +3273,14 @@ var eo = (
3252
3273
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3253
3274
  var s = this.clonePosition();
3254
3275
  this.bump(), i.push({
3255
- type: O.pound,
3276
+ type: T.pound,
3256
3277
  location: E(s, this.clonePosition())
3257
3278
  });
3258
3279
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3259
3280
  if (n)
3260
3281
  break;
3261
3282
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3262
- } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3283
+ } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3263
3284
  var a = this.parseTag(t, r);
3264
3285
  if (a.err)
3265
3286
  return a;
@@ -3280,7 +3301,7 @@ var eo = (
3280
3301
  if (this.bumpSpace(), this.bumpIf("/>"))
3281
3302
  return {
3282
3303
  val: {
3283
- type: O.literal,
3304
+ type: T.literal,
3284
3305
  value: "<".concat(i, "/>"),
3285
3306
  location: E(n, this.clonePosition())
3286
3307
  },
@@ -3292,12 +3313,12 @@ var eo = (
3292
3313
  return o;
3293
3314
  var a = o.val, s = this.clonePosition();
3294
3315
  if (this.bumpIf("</")) {
3295
- if (this.isEOF() || !ft(this.char()))
3316
+ if (this.isEOF() || !mt(this.char()))
3296
3317
  return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
3297
- var l = this.clonePosition(), u = this.parseTagName();
3298
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3318
+ var u = this.clonePosition(), l = this.parseTagName();
3319
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3299
3320
  val: {
3300
- type: O.tag,
3321
+ type: T.tag,
3301
3322
  value: i,
3302
3323
  children: a,
3303
3324
  location: E(n, this.clonePosition())
@@ -3310,7 +3331,7 @@ var eo = (
3310
3331
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3311
3332
  }, e.prototype.parseTagName = function() {
3312
3333
  var t = this.offset();
3313
- for (this.bump(); !this.isEOF() && ro(this.char()); )
3334
+ for (this.bump(); !this.isEOF() && io(this.char()); )
3314
3335
  this.bump();
3315
3336
  return this.message.slice(t, this.offset());
3316
3337
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3332,14 +3353,14 @@ var eo = (
3332
3353
  }
3333
3354
  break;
3334
3355
  }
3335
- var l = E(n, this.clonePosition());
3356
+ var u = E(n, this.clonePosition());
3336
3357
  return {
3337
- val: { type: O.literal, value: i, location: l },
3358
+ val: { type: T.literal, value: i, location: u },
3338
3359
  err: null
3339
3360
  };
3340
3361
  }, e.prototype.tryParseLeftAngleBracket = function() {
3341
3362
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3342
- !to(this.peek() || 0)) ? (this.bump(), "<") : null;
3363
+ !no(this.peek() || 0)) ? (this.bump(), "<") : null;
3343
3364
  }, e.prototype.tryParseQuote = function(t) {
3344
3365
  if (this.isEOF() || this.char() !== 39)
3345
3366
  return null;
@@ -3373,12 +3394,12 @@ var eo = (
3373
3394
  r.push(n);
3374
3395
  this.bump();
3375
3396
  }
3376
- return ht.apply(void 0, r);
3397
+ return pt.apply(void 0, r);
3377
3398
  }, e.prototype.tryParseUnquoted = function(t, r) {
3378
3399
  if (this.isEOF())
3379
3400
  return null;
3380
3401
  var n = this.char();
3381
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ht(n));
3402
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3382
3403
  }, e.prototype.parseArgument = function(t, r) {
3383
3404
  var n = this.clonePosition();
3384
3405
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3394,7 +3415,7 @@ var eo = (
3394
3415
  case 125:
3395
3416
  return this.bump(), {
3396
3417
  val: {
3397
- type: O.argument,
3418
+ type: T.argument,
3398
3419
  // value does not include the opening and closing braces.
3399
3420
  value: i,
3400
3421
  location: E(n, this.clonePosition())
@@ -3407,66 +3428,66 @@ var eo = (
3407
3428
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3408
3429
  }
3409
3430
  }, e.prototype.parseIdentifierIfPossible = function() {
3410
- var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3431
+ var t = this.clonePosition(), r = this.offset(), n = gt(this.message, r), i = r + n.length;
3411
3432
  this.bumpTo(i);
3412
3433
  var o = this.clonePosition(), a = E(t, o);
3413
3434
  return { value: n, location: a };
3414
3435
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3415
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3436
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3416
3437
  switch (s) {
3417
3438
  case "":
3418
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
3439
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
3419
3440
  case "number":
3420
3441
  case "date":
3421
3442
  case "time": {
3422
3443
  this.bumpSpace();
3423
- var u = null;
3444
+ var l = null;
3424
3445
  if (this.bumpIf(",")) {
3425
3446
  this.bumpSpace();
3426
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3427
- if (c.err)
3428
- return c;
3429
- var f = Ki(c.val);
3447
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3448
+ if (h.err)
3449
+ return h;
3450
+ var f = to(h.val);
3430
3451
  if (f.length === 0)
3431
3452
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3432
- var m = E(h, this.clonePosition());
3433
- u = { style: f, styleLocation: m };
3453
+ var p = E(c, this.clonePosition());
3454
+ l = { style: f, styleLocation: p };
3434
3455
  }
3435
- var p = this.tryParseArgumentClose(i);
3436
- if (p.err)
3437
- return p;
3456
+ var m = this.tryParseArgumentClose(i);
3457
+ if (m.err)
3458
+ return m;
3438
3459
  var b = E(i, this.clonePosition());
3439
- if (u && qt(u == null ? void 0 : u.style, "::", 0)) {
3440
- var w = Yi(u.style.slice(2));
3460
+ if (l && Yt(l == null ? void 0 : l.style, "::", 0)) {
3461
+ var w = eo(l.style.slice(2));
3441
3462
  if (s === "number") {
3442
- var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3443
- return c.err ? c : {
3444
- val: { type: O.number, value: n, location: b, style: c.val },
3463
+ var h = this.parseNumberSkeletonFromString(w, l.styleLocation);
3464
+ return h.err ? h : {
3465
+ val: { type: T.number, value: n, location: b, style: h.val },
3445
3466
  err: null
3446
3467
  };
3447
3468
  } else {
3448
3469
  if (w.length === 0)
3449
3470
  return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3450
- var T = w;
3451
- this.locale && (T = Di(w, this.locale));
3471
+ var H = w;
3472
+ this.locale && (H = Gi(w, this.locale));
3452
3473
  var f = {
3453
- type: fe.dateTime,
3454
- pattern: T,
3455
- location: u.styleLocation,
3456
- parsedOptions: this.shouldParseSkeletons ? Pi(T) : {}
3457
- }, P = s === "date" ? O.date : O.time;
3474
+ type: he.dateTime,
3475
+ pattern: H,
3476
+ location: l.styleLocation,
3477
+ parsedOptions: this.shouldParseSkeletons ? Ci(H) : {}
3478
+ }, B = s === "date" ? T.date : T.time;
3458
3479
  return {
3459
- val: { type: P, value: n, location: b, style: f },
3480
+ val: { type: B, value: n, location: b, style: f },
3460
3481
  err: null
3461
3482
  };
3462
3483
  }
3463
3484
  }
3464
3485
  return {
3465
3486
  val: {
3466
- type: s === "number" ? O.number : s === "date" ? O.date : O.time,
3487
+ type: s === "number" ? T.number : s === "date" ? T.date : T.time,
3467
3488
  value: n,
3468
3489
  location: b,
3469
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3490
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3470
3491
  },
3471
3492
  err: null
3472
3493
  };
@@ -3474,49 +3495,49 @@ var eo = (
3474
3495
  case "plural":
3475
3496
  case "selectordinal":
3476
3497
  case "select": {
3477
- var L = this.clonePosition();
3498
+ var P = this.clonePosition();
3478
3499
  if (this.bumpSpace(), !this.bumpIf(","))
3479
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(L, S({}, L)));
3500
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P, Fe({}, P)));
3480
3501
  this.bumpSpace();
3481
3502
  var G = this.parseIdentifierIfPossible(), C = 0;
3482
3503
  if (s !== "select" && G.value === "offset") {
3483
3504
  if (!this.bumpIf(":"))
3484
3505
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3485
3506
  this.bumpSpace();
3486
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3487
- if (c.err)
3488
- return c;
3489
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = c.val;
3507
+ var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3508
+ if (h.err)
3509
+ return h;
3510
+ this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = h.val;
3490
3511
  }
3491
3512
  var X = this.tryParsePluralOrSelectOptions(t, s, r, G);
3492
3513
  if (X.err)
3493
3514
  return X;
3494
- var p = this.tryParseArgumentClose(i);
3495
- if (p.err)
3496
- return p;
3497
- var z = E(i, this.clonePosition());
3515
+ var m = this.tryParseArgumentClose(i);
3516
+ if (m.err)
3517
+ return m;
3518
+ var Z = E(i, this.clonePosition());
3498
3519
  return s === "select" ? {
3499
3520
  val: {
3500
- type: O.select,
3521
+ type: T.select,
3501
3522
  value: n,
3502
- options: Jt(X.val),
3503
- location: z
3523
+ options: Kt(X.val),
3524
+ location: Z
3504
3525
  },
3505
3526
  err: null
3506
3527
  } : {
3507
3528
  val: {
3508
- type: O.plural,
3529
+ type: T.plural,
3509
3530
  value: n,
3510
- options: Jt(X.val),
3531
+ options: Kt(X.val),
3511
3532
  offset: C,
3512
3533
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3513
- location: z
3534
+ location: Z
3514
3535
  },
3515
3536
  err: null
3516
3537
  };
3517
3538
  }
3518
3539
  default:
3519
- return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
3540
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(a, u));
3520
3541
  }
3521
3542
  }, e.prototype.tryParseArgumentClose = function(t) {
3522
3543
  return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3558,50 +3579,50 @@ var eo = (
3558
3579
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3559
3580
  var n = [];
3560
3581
  try {
3561
- n = Ci(t);
3582
+ n = Ri(t);
3562
3583
  } catch (i) {
3563
3584
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3564
3585
  }
3565
3586
  return {
3566
3587
  val: {
3567
- type: fe.number,
3588
+ type: he.number,
3568
3589
  tokens: n,
3569
3590
  location: r,
3570
- parsedOptions: this.shouldParseSkeletons ? Fi(n) : {}
3591
+ parsedOptions: this.shouldParseSkeletons ? ki(n) : {}
3571
3592
  },
3572
3593
  err: null
3573
3594
  };
3574
3595
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3575
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3576
- if (u.length === 0) {
3577
- var c = this.clonePosition();
3596
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3597
+ if (l.length === 0) {
3598
+ var h = this.clonePosition();
3578
3599
  if (r !== "select" && this.bumpIf("=")) {
3579
3600
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3580
3601
  if (f.err)
3581
3602
  return f;
3582
- h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3603
+ c = E(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3583
3604
  } else
3584
3605
  break;
3585
3606
  }
3586
- if (l.has(u))
3587
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3588
- u === "other" && (a = !0), this.bumpSpace();
3589
- var m = this.clonePosition();
3607
+ if (u.has(l))
3608
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3609
+ l === "other" && (a = !0), this.bumpSpace();
3610
+ var p = this.clonePosition();
3590
3611
  if (!this.bumpIf("{"))
3591
3612
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3592
- var p = this.parseMessage(t + 1, r, n);
3593
- if (p.err)
3594
- return p;
3595
- var b = this.tryParseArgumentClose(m);
3613
+ var m = this.parseMessage(t + 1, r, n);
3614
+ if (m.err)
3615
+ return m;
3616
+ var b = this.tryParseArgumentClose(p);
3596
3617
  if (b.err)
3597
3618
  return b;
3598
3619
  s.push([
3599
- u,
3620
+ l,
3600
3621
  {
3601
- value: p.val,
3602
- location: E(m, this.clonePosition())
3622
+ value: m.val,
3623
+ location: E(p, this.clonePosition())
3603
3624
  }
3604
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3625
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3605
3626
  }
3606
3627
  return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3607
3628
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3614,8 +3635,8 @@ var eo = (
3614
3635
  else
3615
3636
  break;
3616
3637
  }
3617
- var l = E(i, this.clonePosition());
3618
- return o ? (a *= n, qi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3638
+ var u = E(i, this.clonePosition());
3639
+ return o ? (a *= n, Yi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3619
3640
  }, e.prototype.offset = function() {
3620
3641
  return this.position.offset;
3621
3642
  }, e.prototype.isEOF = function() {
@@ -3630,7 +3651,7 @@ var eo = (
3630
3651
  var t = this.position.offset;
3631
3652
  if (t >= this.message.length)
3632
3653
  throw Error("out of bound");
3633
- var r = Xr(this.message, t);
3654
+ var r = zr(this.message, t);
3634
3655
  if (r === void 0)
3635
3656
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3636
3657
  return r;
@@ -3649,7 +3670,7 @@ var eo = (
3649
3670
  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);
3650
3671
  }
3651
3672
  }, e.prototype.bumpIf = function(t) {
3652
- if (qt(this.message, t, this.offset())) {
3673
+ if (Yt(this.message, t, this.offset())) {
3653
3674
  for (var r = 0; r < t.length; r++)
3654
3675
  this.bump();
3655
3676
  return !0;
@@ -3671,7 +3692,7 @@ var eo = (
3671
3692
  break;
3672
3693
  }
3673
3694
  }, e.prototype.bumpSpace = function() {
3674
- for (; !this.isEOF() && Zr(this.char()); )
3695
+ for (; !this.isEOF() && Qr(this.char()); )
3675
3696
  this.bump();
3676
3697
  }, e.prototype.peek = function() {
3677
3698
  if (this.isEOF())
@@ -3681,47 +3702,47 @@ var eo = (
3681
3702
  }, e;
3682
3703
  }()
3683
3704
  );
3684
- function ft(e) {
3705
+ function mt(e) {
3685
3706
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3686
3707
  }
3687
- function to(e) {
3688
- return ft(e) || e === 47;
3708
+ function no(e) {
3709
+ return mt(e) || e === 47;
3689
3710
  }
3690
- function ro(e) {
3711
+ function io(e) {
3691
3712
  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;
3692
3713
  }
3693
- function Zr(e) {
3714
+ function Qr(e) {
3694
3715
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3695
3716
  }
3696
- function no(e) {
3717
+ function oo(e) {
3697
3718
  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;
3698
3719
  }
3699
- function dt(e) {
3720
+ function bt(e) {
3700
3721
  e.forEach(function(t) {
3701
- if (delete t.location, Fr(t) || Dr(t))
3722
+ if (delete t.location, Dr(t) || kr(t))
3702
3723
  for (var r in t.options)
3703
- delete t.options[r].location, dt(t.options[r].value);
3724
+ delete t.options[r].location, bt(t.options[r].value);
3704
3725
  else
3705
- Nr(t) && Gr(t.style) || (Rr(t) || Ur(t)) && lt(t.style) ? delete t.style.location : kr(t) && dt(t.children);
3726
+ Rr(t) && $r(t.style) || (Ur(t) || Fr(t)) && ft(t.style) ? delete t.style.location : Gr(t) && bt(t.children);
3706
3727
  });
3707
3728
  }
3708
- function io(e, t) {
3709
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3710
- var r = new eo(e, t).parse();
3729
+ function ao(e, t) {
3730
+ t === void 0 && (t = {}), t = Fe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3731
+ var r = new ro(e, t).parse();
3711
3732
  if (r.err) {
3712
3733
  var n = SyntaxError(_[r.err.kind]);
3713
3734
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3714
3735
  }
3715
- return t != null && t.captureLocation || dt(r.val), r.val;
3736
+ return t != null && t.captureLocation || bt(r.val), r.val;
3716
3737
  }
3717
- var de;
3738
+ var fe;
3718
3739
  (function(e) {
3719
3740
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3720
- })(de || (de = {}));
3721
- var $e = (
3741
+ })(fe || (fe = {}));
3742
+ var We = (
3722
3743
  /** @class */
3723
3744
  function(e) {
3724
- J(t, e);
3745
+ je(t, e);
3725
3746
  function t(r, n, i) {
3726
3747
  var o = e.call(this, r) || this;
3727
3748
  return o.code = n, o.originalMessage = i, o;
@@ -3730,155 +3751,155 @@ var $e = (
3730
3751
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3731
3752
  }, t;
3732
3753
  }(Error)
3733
- ), Kt = (
3754
+ ), tr = (
3734
3755
  /** @class */
3735
3756
  function(e) {
3736
- J(t, e);
3757
+ je(t, e);
3737
3758
  function t(r, n, i, o) {
3738
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3759
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3739
3760
  }
3740
3761
  return t;
3741
- }($e)
3742
- ), oo = (
3762
+ }(We)
3763
+ ), so = (
3743
3764
  /** @class */
3744
3765
  function(e) {
3745
- J(t, e);
3766
+ je(t, e);
3746
3767
  function t(r, n, i) {
3747
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3768
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3748
3769
  }
3749
3770
  return t;
3750
- }($e)
3751
- ), ao = (
3771
+ }(We)
3772
+ ), uo = (
3752
3773
  /** @class */
3753
3774
  function(e) {
3754
- J(t, e);
3775
+ je(t, e);
3755
3776
  function t(r, n) {
3756
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3777
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3757
3778
  }
3758
3779
  return t;
3759
- }($e)
3780
+ }(We)
3760
3781
  ), k;
3761
3782
  (function(e) {
3762
3783
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3763
3784
  })(k || (k = {}));
3764
- function so(e) {
3785
+ function lo(e) {
3765
3786
  return e.length < 2 ? e : e.reduce(function(t, r) {
3766
3787
  var n = t[t.length - 1];
3767
3788
  return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
3768
3789
  }, []);
3769
3790
  }
3770
- function lo(e) {
3791
+ function co(e) {
3771
3792
  return typeof e == "function";
3772
3793
  }
3773
3794
  function Ce(e, t, r, n, i, o, a) {
3774
- if (e.length === 1 && Xt(e[0]))
3795
+ if (e.length === 1 && Zt(e[0]))
3775
3796
  return [
3776
3797
  {
3777
3798
  type: k.literal,
3778
3799
  value: e[0].value
3779
3800
  }
3780
3801
  ];
3781
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3782
- var h = u[l];
3783
- if (Xt(h)) {
3802
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3803
+ var c = l[u];
3804
+ if (Zt(c)) {
3784
3805
  s.push({
3785
3806
  type: k.literal,
3786
- value: h.value
3807
+ value: c.value
3787
3808
  });
3788
3809
  continue;
3789
3810
  }
3790
- if (Li(h)) {
3811
+ if (Bi(c)) {
3791
3812
  typeof o == "number" && s.push({
3792
3813
  type: k.literal,
3793
3814
  value: r.getNumberFormat(t).format(o)
3794
3815
  });
3795
3816
  continue;
3796
3817
  }
3797
- var c = h.value;
3798
- if (!(i && c in i))
3799
- throw new ao(c, a);
3800
- var f = i[c];
3801
- if (Ai(h)) {
3818
+ var h = c.value;
3819
+ if (!(i && h in i))
3820
+ throw new uo(h, a);
3821
+ var f = i[h];
3822
+ if (Li(c)) {
3802
3823
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3803
3824
  type: typeof f == "string" ? k.literal : k.object,
3804
3825
  value: f
3805
3826
  });
3806
3827
  continue;
3807
3828
  }
3808
- if (Rr(h)) {
3809
- var m = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3829
+ if (Ur(c)) {
3830
+ var p = typeof c.style == "string" ? n.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3810
3831
  s.push({
3811
3832
  type: k.literal,
3812
- value: r.getDateTimeFormat(t, m).format(f)
3833
+ value: r.getDateTimeFormat(t, p).format(f)
3813
3834
  });
3814
3835
  continue;
3815
3836
  }
3816
- if (Ur(h)) {
3817
- var m = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3837
+ if (Fr(c)) {
3838
+ var p = typeof c.style == "string" ? n.time[c.style] : ft(c.style) ? c.style.parsedOptions : n.time.medium;
3818
3839
  s.push({
3819
3840
  type: k.literal,
3820
- value: r.getDateTimeFormat(t, m).format(f)
3841
+ value: r.getDateTimeFormat(t, p).format(f)
3821
3842
  });
3822
3843
  continue;
3823
3844
  }
3824
- if (Nr(h)) {
3825
- var m = typeof h.style == "string" ? n.number[h.style] : Gr(h.style) ? h.style.parsedOptions : void 0;
3826
- m && m.scale && (f = f * (m.scale || 1)), s.push({
3845
+ if (Rr(c)) {
3846
+ var p = typeof c.style == "string" ? n.number[c.style] : $r(c.style) ? c.style.parsedOptions : void 0;
3847
+ p && p.scale && (f = f * (p.scale || 1)), s.push({
3827
3848
  type: k.literal,
3828
- value: r.getNumberFormat(t, m).format(f)
3849
+ value: r.getNumberFormat(t, p).format(f)
3829
3850
  });
3830
3851
  continue;
3831
3852
  }
3832
- if (kr(h)) {
3833
- var p = h.children, b = h.value, w = i[b];
3834
- if (!lo(w))
3835
- throw new oo(b, "function", a);
3836
- var T = Ce(p, t, r, n, i, o), P = w(T.map(function(C) {
3853
+ if (Gr(c)) {
3854
+ var m = c.children, b = c.value, w = i[b];
3855
+ if (!co(w))
3856
+ throw new so(b, "function", a);
3857
+ var H = Ce(m, t, r, n, i, o), B = w(H.map(function(C) {
3837
3858
  return C.value;
3838
3859
  }));
3839
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(C) {
3860
+ Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(C) {
3840
3861
  return {
3841
3862
  type: typeof C == "string" ? k.literal : k.object,
3842
3863
  value: C
3843
3864
  };
3844
3865
  }));
3845
3866
  }
3846
- if (Fr(h)) {
3847
- var L = h.options[f] || h.options.other;
3848
- if (!L)
3849
- throw new Kt(h.value, f, Object.keys(h.options), a);
3850
- s.push.apply(s, Ce(L.value, t, r, n, i));
3867
+ if (Dr(c)) {
3868
+ var P = c.options[f] || c.options.other;
3869
+ if (!P)
3870
+ throw new tr(c.value, f, Object.keys(c.options), a);
3871
+ s.push.apply(s, Ce(P.value, t, r, n, i));
3851
3872
  continue;
3852
3873
  }
3853
- if (Dr(h)) {
3854
- var L = h.options["=".concat(f)];
3855
- if (!L) {
3874
+ if (kr(c)) {
3875
+ var P = c.options["=".concat(f)];
3876
+ if (!P) {
3856
3877
  if (!Intl.PluralRules)
3857
- throw new $e(`Intl.PluralRules is not available in this environment.
3878
+ throw new We(`Intl.PluralRules is not available in this environment.
3858
3879
  Try polyfilling it using "@formatjs/intl-pluralrules"
3859
- `, de.MISSING_INTL_API, a);
3860
- var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3861
- L = h.options[G] || h.options.other;
3880
+ `, fe.MISSING_INTL_API, a);
3881
+ var G = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3882
+ P = c.options[G] || c.options.other;
3862
3883
  }
3863
- if (!L)
3864
- throw new Kt(h.value, f, Object.keys(h.options), a);
3865
- s.push.apply(s, Ce(L.value, t, r, n, i, f - (h.offset || 0)));
3884
+ if (!P)
3885
+ throw new tr(c.value, f, Object.keys(c.options), a);
3886
+ s.push.apply(s, Ce(P.value, t, r, n, i, f - (c.offset || 0)));
3866
3887
  continue;
3867
3888
  }
3868
3889
  }
3869
- return so(s);
3890
+ return lo(s);
3870
3891
  }
3871
- function uo(e, t) {
3872
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3873
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3892
+ function ho(e, t) {
3893
+ return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3894
+ return r[n] = z(z({}, e[n]), t[n] || {}), r;
3874
3895
  }, {})) : e;
3875
3896
  }
3876
- function ho(e, t) {
3897
+ function fo(e, t) {
3877
3898
  return t ? Object.keys(e).reduce(function(r, n) {
3878
- return r[n] = uo(e[n], t[n]), r;
3879
- }, S({}, e)) : e;
3899
+ return r[n] = ho(e[n], t[n]), r;
3900
+ }, z({}, e)) : e;
3880
3901
  }
3881
- function et(e) {
3902
+ function rt(e) {
3882
3903
  return {
3883
3904
  create: function() {
3884
3905
  return {
@@ -3892,39 +3913,39 @@ function et(e) {
3892
3913
  }
3893
3914
  };
3894
3915
  }
3895
- function co(e) {
3916
+ function po(e) {
3896
3917
  return e === void 0 && (e = {
3897
3918
  number: {},
3898
3919
  dateTime: {},
3899
3920
  pluralRules: {}
3900
3921
  }), {
3901
- getNumberFormat: Je(function() {
3922
+ getNumberFormat: Ke(function() {
3902
3923
  for (var t, r = [], n = 0; n < arguments.length; n++)
3903
3924
  r[n] = arguments[n];
3904
- return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
3925
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ye([void 0], r, !1)))();
3905
3926
  }, {
3906
- cache: et(e.number),
3907
- strategy: Ye.variadic
3927
+ cache: rt(e.number),
3928
+ strategy: et.variadic
3908
3929
  }),
3909
- getDateTimeFormat: Je(function() {
3930
+ getDateTimeFormat: Ke(function() {
3910
3931
  for (var t, r = [], n = 0; n < arguments.length; n++)
3911
3932
  r[n] = arguments[n];
3912
- return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
3933
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ye([void 0], r, !1)))();
3913
3934
  }, {
3914
- cache: et(e.dateTime),
3915
- strategy: Ye.variadic
3935
+ cache: rt(e.dateTime),
3936
+ strategy: et.variadic
3916
3937
  }),
3917
- getPluralRules: Je(function() {
3938
+ getPluralRules: Ke(function() {
3918
3939
  for (var t, r = [], n = 0; n < arguments.length; n++)
3919
3940
  r[n] = arguments[n];
3920
- return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
3941
+ return new ((t = Intl.PluralRules).bind.apply(t, Ye([void 0], r, !1)))();
3921
3942
  }, {
3922
- cache: et(e.pluralRules),
3923
- strategy: Ye.variadic
3943
+ cache: rt(e.pluralRules),
3944
+ strategy: et.variadic
3924
3945
  })
3925
3946
  };
3926
3947
  }
3927
- var fo = (
3948
+ var go = (
3928
3949
  /** @class */
3929
3950
  function() {
3930
3951
  function e(t, r, n, i) {
@@ -3934,20 +3955,20 @@ var fo = (
3934
3955
  number: {},
3935
3956
  dateTime: {},
3936
3957
  pluralRules: {}
3937
- }, this.format = function(l) {
3938
- var u = o.formatToParts(l);
3939
- if (u.length === 1)
3940
- return u[0].value;
3941
- var h = u.reduce(function(c, f) {
3942
- return !c.length || f.type !== k.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3958
+ }, this.format = function(u) {
3959
+ var l = o.formatToParts(u);
3960
+ if (l.length === 1)
3961
+ return l[0].value;
3962
+ var c = l.reduce(function(h, f) {
3963
+ return !h.length || f.type !== k.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
3943
3964
  }, []);
3944
- return h.length <= 1 ? h[0] || "" : h;
3945
- }, this.formatToParts = function(l) {
3946
- return Ce(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3965
+ return c.length <= 1 ? c[0] || "" : c;
3966
+ }, this.formatToParts = function(u) {
3967
+ return Ce(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3947
3968
  }, this.resolvedOptions = function() {
3948
- var l;
3969
+ var u;
3949
3970
  return {
3950
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3971
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3951
3972
  };
3952
3973
  }, this.getAst = function() {
3953
3974
  return o.ast;
@@ -3956,13 +3977,13 @@ var fo = (
3956
3977
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3957
3978
  var a = i || {};
3958
3979
  a.formatters;
3959
- var s = Vn(a, ["formatters"]);
3960
- this.ast = e.__parse(t, S(S({}, s), { locale: this.resolvedLocale }));
3980
+ var s = wi(a, ["formatters"]);
3981
+ this.ast = e.__parse(t, z(z({}, s), { locale: this.resolvedLocale }));
3961
3982
  } else
3962
3983
  this.ast = t;
3963
3984
  if (!Array.isArray(this.ast))
3964
3985
  throw new TypeError("A message must be provided as a String or AST.");
3965
- this.formats = ho(e.formats, n), this.formatters = i && i.formatters || co(this.formatterCache);
3986
+ this.formats = fo(e.formats, n), this.formatters = i && i.formatters || po(this.formatterCache);
3966
3987
  }
3967
3988
  return Object.defineProperty(e, "defaultLocale", {
3968
3989
  get: function() {
@@ -3975,7 +3996,7 @@ var fo = (
3975
3996
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3976
3997
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3977
3998
  }
3978
- }, e.__parse = io, e.formats = {
3999
+ }, e.__parse = ao, e.formats = {
3979
4000
  number: {
3980
4001
  integer: {
3981
4002
  maximumFractionDigits: 0
@@ -4057,92 +4078,92 @@ function mo(e, t) {
4057
4078
  n = void 0;
4058
4079
  return n;
4059
4080
  }
4060
- const K = {}, go = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), Qr = (e, t) => {
4081
+ const K = {}, bo = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), qr = (e, t) => {
4061
4082
  if (t == null)
4062
4083
  return;
4063
4084
  if (t in K && e in K[t])
4064
4085
  return K[t][e];
4065
- const r = je(t);
4086
+ const r = Ve(t);
4066
4087
  for (let n = 0; n < r.length; n++) {
4067
- const i = r[n], o = bo(i, e);
4088
+ const i = r[n], o = vo(i, e);
4068
4089
  if (o)
4069
- return go(e, t, o);
4090
+ return bo(e, t, o);
4070
4091
  }
4071
4092
  };
4072
- let vt;
4073
- const Te = Ge({});
4074
- function po(e) {
4075
- return vt[e] || null;
4093
+ let xt;
4094
+ const Te = $e({});
4095
+ function yo(e) {
4096
+ return xt[e] || null;
4076
4097
  }
4077
- function qr(e) {
4078
- return e in vt;
4098
+ function Jr(e) {
4099
+ return e in xt;
4079
4100
  }
4080
- function bo(e, t) {
4081
- if (!qr(e))
4101
+ function vo(e, t) {
4102
+ if (!Jr(e))
4082
4103
  return null;
4083
- const r = po(e);
4104
+ const r = yo(e);
4084
4105
  return mo(r, t);
4085
4106
  }
4086
- function yo(e) {
4107
+ function _o(e) {
4087
4108
  if (e == null)
4088
4109
  return;
4089
- const t = je(e);
4110
+ const t = Ve(e);
4090
4111
  for (let r = 0; r < t.length; r++) {
4091
4112
  const n = t[r];
4092
- if (qr(n))
4113
+ if (Jr(n))
4093
4114
  return n;
4094
4115
  }
4095
4116
  }
4096
- function Jr(e, ...t) {
4117
+ function Yr(e, ...t) {
4097
4118
  delete K[e], Te.update((r) => (r[e] = Ei.all([r[e] || {}, ...t]), r));
4098
4119
  }
4099
- be(
4120
+ me(
4100
4121
  [Te],
4101
4122
  ([e]) => Object.keys(e)
4102
4123
  );
4103
- Te.subscribe((e) => vt = e);
4124
+ Te.subscribe((e) => xt = e);
4104
4125
  const Ne = {};
4105
- function vo(e, t) {
4126
+ function xo(e, t) {
4106
4127
  Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
4107
4128
  }
4108
- function Yr(e) {
4129
+ function Kr(e) {
4109
4130
  return Ne[e];
4110
4131
  }
4111
- function _o(e) {
4112
- return je(e).map((t) => {
4113
- const r = Yr(t);
4132
+ function Eo(e) {
4133
+ return Ve(e).map((t) => {
4134
+ const r = Kr(t);
4114
4135
  return [t, r ? [...r] : []];
4115
4136
  }).filter(([, t]) => t.length > 0);
4116
4137
  }
4117
- function mt(e) {
4118
- return e == null ? !1 : je(e).some(
4138
+ function yt(e) {
4139
+ return e == null ? !1 : Ve(e).some(
4119
4140
  (t) => {
4120
4141
  var r;
4121
- return (r = Yr(t)) == null ? void 0 : r.size;
4142
+ return (r = Kr(t)) == null ? void 0 : r.size;
4122
4143
  }
4123
4144
  );
4124
4145
  }
4125
- function xo(e, t) {
4146
+ function wo(e, t) {
4126
4147
  return Promise.all(
4127
- t.map((n) => (vo(e, n), n().then((i) => i.default || i)))
4128
- ).then((n) => Jr(e, ...n));
4129
- }
4130
- const _e = {};
4131
- function Kr(e) {
4132
- if (!mt(e))
4133
- return e in _e ? _e[e] : Promise.resolve();
4134
- const t = _o(e);
4135
- return _e[e] = Promise.all(
4148
+ t.map((n) => (xo(e, n), n().then((i) => i.default || i)))
4149
+ ).then((n) => Yr(e, ...n));
4150
+ }
4151
+ const ve = {};
4152
+ function en(e) {
4153
+ if (!yt(e))
4154
+ return e in ve ? ve[e] : Promise.resolve();
4155
+ const t = Eo(e);
4156
+ return ve[e] = Promise.all(
4136
4157
  t.map(
4137
- ([r, n]) => xo(r, n)
4158
+ ([r, n]) => wo(r, n)
4138
4159
  )
4139
4160
  ).then(() => {
4140
- if (mt(e))
4141
- return Kr(e);
4142
- delete _e[e];
4143
- }), _e[e];
4161
+ if (yt(e))
4162
+ return en(e);
4163
+ delete ve[e];
4164
+ }), ve[e];
4144
4165
  }
4145
- const Eo = {
4166
+ const So = {
4146
4167
  number: {
4147
4168
  scientific: { notation: "scientific" },
4148
4169
  engineering: { notation: "engineering" },
@@ -4171,180 +4192,180 @@ const Eo = {
4171
4192
  timeZoneName: "short"
4172
4193
  }
4173
4194
  }
4174
- }, wo = {
4195
+ }, Ho = {
4175
4196
  fallbackLocale: null,
4176
4197
  loadingDelay: 200,
4177
- formats: Eo,
4198
+ formats: So,
4178
4199
  warnOnMissingMessages: !0,
4179
4200
  handleMissingMessage: void 0,
4180
4201
  ignoreTag: !0
4181
- }, So = wo;
4182
- function me() {
4183
- return So;
4202
+ }, To = Ho;
4203
+ function de() {
4204
+ return To;
4184
4205
  }
4185
- const tt = Ge(!1);
4186
- var Ho = Object.defineProperty, To = Object.defineProperties, Oo = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, Mo = Object.prototype.hasOwnProperty, Ao = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? Ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lo = (e, t) => {
4206
+ const nt = $e(!1);
4207
+ var Oo = Object.defineProperty, Mo = Object.defineProperties, Ao = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, Lo = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bo = (e, t) => {
4187
4208
  for (var r in t || (t = {}))
4188
- Mo.call(t, r) && tr(e, r, t[r]);
4189
- if (er)
4190
- for (var r of er(t))
4191
- Ao.call(t, r) && tr(e, r, t[r]);
4209
+ Po.call(t, r) && nr(e, r, t[r]);
4210
+ if (rr)
4211
+ for (var r of rr(t))
4212
+ Lo.call(t, r) && nr(e, r, t[r]);
4192
4213
  return e;
4193
- }, Bo = (e, t) => To(e, Oo(t));
4194
- let gt;
4195
- const Fe = Ge(null);
4196
- function rr(e) {
4214
+ }, Io = (e, t) => Mo(e, Ao(t));
4215
+ let vt;
4216
+ const De = $e(null);
4217
+ function ir(e) {
4197
4218
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4198
4219
  }
4199
- function je(e, t = me().fallbackLocale) {
4200
- const r = rr(e);
4201
- return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
4220
+ function Ve(e, t = de().fallbackLocale) {
4221
+ const r = ir(e);
4222
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4202
4223
  }
4203
4224
  function ne() {
4204
- return gt != null ? gt : void 0;
4225
+ return vt != null ? vt : void 0;
4205
4226
  }
4206
- Fe.subscribe((e) => {
4207
- gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4227
+ De.subscribe((e) => {
4228
+ vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4208
4229
  });
4209
- const Po = (e) => {
4210
- if (e && yo(e) && mt(e)) {
4211
- const { loadingDelay: t } = me();
4230
+ const Co = (e) => {
4231
+ if (e && _o(e) && yt(e)) {
4232
+ const { loadingDelay: t } = de();
4212
4233
  let r;
4213
4234
  return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4214
- () => tt.set(!0),
4235
+ () => nt.set(!0),
4215
4236
  t
4216
- ) : tt.set(!0), Kr(e).then(() => {
4217
- Fe.set(e);
4237
+ ) : nt.set(!0), en(e).then(() => {
4238
+ De.set(e);
4218
4239
  }).finally(() => {
4219
- clearTimeout(r), tt.set(!1);
4240
+ clearTimeout(r), nt.set(!1);
4220
4241
  });
4221
4242
  }
4222
- return Fe.set(e);
4223
- }, ye = Bo(Lo({}, Fe), {
4224
- set: Po
4225
- }), We = (e) => {
4243
+ return De.set(e);
4244
+ }, be = Io(Bo({}, De), {
4245
+ set: Co
4246
+ }), Xe = (e) => {
4226
4247
  const t = /* @__PURE__ */ Object.create(null);
4227
4248
  return (n) => {
4228
4249
  const i = JSON.stringify(n);
4229
4250
  return i in t ? t[i] : t[i] = e(n);
4230
4251
  };
4231
4252
  };
4232
- var Io = Object.defineProperty, De = Object.getOwnPropertySymbols, en = Object.prototype.hasOwnProperty, tn = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
4253
+ var No = Object.defineProperty, ke = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
4233
4254
  for (var r in t || (t = {}))
4234
- en.call(t, r) && nr(e, r, t[r]);
4235
- if (De)
4236
- for (var r of De(t))
4237
- tn.call(t, r) && nr(e, r, t[r]);
4255
+ tn.call(t, r) && or(e, r, t[r]);
4256
+ if (ke)
4257
+ for (var r of ke(t))
4258
+ rn.call(t, r) && or(e, r, t[r]);
4238
4259
  return e;
4239
- }, ve = (e, t) => {
4260
+ }, ye = (e, t) => {
4240
4261
  var r = {};
4241
4262
  for (var n in e)
4242
- en.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4243
- if (e != null && De)
4244
- for (var n of De(e))
4245
- t.indexOf(n) < 0 && tn.call(e, n) && (r[n] = e[n]);
4263
+ tn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4264
+ if (e != null && ke)
4265
+ for (var n of ke(e))
4266
+ t.indexOf(n) < 0 && rn.call(e, n) && (r[n] = e[n]);
4246
4267
  return r;
4247
4268
  };
4248
- const Se = (e, t) => {
4249
- const { formats: r } = me();
4269
+ const we = (e, t) => {
4270
+ const { formats: r } = de();
4250
4271
  if (e in r && t in r[e])
4251
4272
  return r[e][t];
4252
4273
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4253
- }, Co = We(
4274
+ }, Ro = Xe(
4254
4275
  (e) => {
4255
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4276
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4256
4277
  if (r == null)
4257
4278
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4258
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4279
+ return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
4259
4280
  }
4260
- ), No = We(
4281
+ ), Uo = Xe(
4261
4282
  (e) => {
4262
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4283
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4263
4284
  if (r == null)
4264
4285
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4265
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4286
+ return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
4266
4287
  }
4267
- ), Ro = We(
4288
+ ), Fo = Xe(
4268
4289
  (e) => {
4269
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4290
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4270
4291
  if (r == null)
4271
4292
  throw new Error(
4272
4293
  '[svelte-i18n] A "locale" must be set to format time values'
4273
4294
  );
4274
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4295
+ return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
4275
4296
  }
4276
- ), Uo = (e = {}) => {
4297
+ ), Do = (e = {}) => {
4277
4298
  var t = e, {
4278
4299
  locale: r = ne()
4279
- } = t, n = ve(t, [
4300
+ } = t, n = ye(t, [
4280
4301
  "locale"
4281
4302
  ]);
4282
- return Co(_t({ locale: r }, n));
4283
- }, Fo = (e = {}) => {
4303
+ return Ro(Et({ locale: r }, n));
4304
+ }, ko = (e = {}) => {
4284
4305
  var t = e, {
4285
4306
  locale: r = ne()
4286
- } = t, n = ve(t, [
4307
+ } = t, n = ye(t, [
4287
4308
  "locale"
4288
4309
  ]);
4289
- return No(_t({ locale: r }, n));
4290
- }, Do = (e = {}) => {
4310
+ return Uo(Et({ locale: r }, n));
4311
+ }, Go = (e = {}) => {
4291
4312
  var t = e, {
4292
4313
  locale: r = ne()
4293
- } = t, n = ve(t, [
4314
+ } = t, n = ye(t, [
4294
4315
  "locale"
4295
4316
  ]);
4296
- return Ro(_t({ locale: r }, n));
4297
- }, ko = We(
4317
+ return Fo(Et({ locale: r }, n));
4318
+ }, $o = Xe(
4298
4319
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4299
- (e, t = ne()) => new fo(e, t, me().formats, {
4300
- ignoreTag: me().ignoreTag
4320
+ (e, t = ne()) => new go(e, t, de().formats, {
4321
+ ignoreTag: de().ignoreTag
4301
4322
  })
4302
- ), Go = (e, t = {}) => {
4323
+ ), jo = (e, t = {}) => {
4303
4324
  var r, n, i, o;
4304
4325
  let a = t;
4305
4326
  typeof e == "object" && (a = e, e = a.id);
4306
4327
  const {
4307
4328
  values: s,
4308
- locale: l = ne(),
4309
- default: u
4329
+ locale: u = ne(),
4330
+ default: l
4310
4331
  } = a;
4311
- if (l == null)
4332
+ if (u == null)
4312
4333
  throw new Error(
4313
4334
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4314
4335
  );
4315
- let h = Qr(e, l);
4316
- if (!h)
4317
- h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4318
- else if (typeof h != "string")
4336
+ let c = qr(e, u);
4337
+ if (!c)
4338
+ c = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4339
+ else if (typeof c != "string")
4319
4340
  return console.warn(
4320
- `[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.`
4321
- ), h;
4341
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4342
+ ), c;
4322
4343
  if (!s)
4323
- return h;
4324
- let c = h;
4344
+ return c;
4345
+ let h = c;
4325
4346
  try {
4326
- c = ko(h, l).format(s);
4347
+ h = $o(c, u).format(s);
4327
4348
  } catch (f) {
4328
4349
  f instanceof Error && console.warn(
4329
4350
  `[svelte-i18n] Message "${e}" has syntax error:`,
4330
4351
  f.message
4331
4352
  );
4332
4353
  }
4333
- return c;
4334
- }, $o = (e, t) => Do(t).format(e), jo = (e, t) => Fo(t).format(e), Wo = (e, t) => Uo(t).format(e), Vo = (e, t = ne()) => Qr(e, t), Xo = be([ye, Te], () => Go);
4335
- be([ye], () => $o);
4336
- be([ye], () => jo);
4337
- be([ye], () => Wo);
4338
- be([ye, Te], () => Vo);
4354
+ return h;
4355
+ }, Wo = (e, t) => Go(t).format(e), Vo = (e, t) => ko(t).format(e), Xo = (e, t) => Do(t).format(e), zo = (e, t = ne()) => qr(e, t), Zo = me([be, Te], () => jo);
4356
+ me([be], () => Wo);
4357
+ me([be], () => Vo);
4358
+ me([be], () => Xo);
4359
+ me([be, Te], () => zo);
4339
4360
  window.emWidgets = { topic: oi };
4340
- const zo = (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)), Zo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4341
- function Qo(e, t) {
4361
+ const Qo = (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)), qo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4362
+ function Jo(e, t) {
4342
4363
  if (e) {
4343
4364
  const r = document.createElement("style");
4344
4365
  r.innerHTML = t, e.appendChild(r);
4345
4366
  }
4346
4367
  }
4347
- function qo(e, t) {
4368
+ function Yo(e, t) {
4348
4369
  const r = new URL(t);
4349
4370
  fetch(r.href).then((n) => n.text()).then((n) => {
4350
4371
  const i = document.createElement("style");
@@ -4353,7 +4374,7 @@ function qo(e, t) {
4353
4374
  console.error("There was an error while trying to load client styling from URL", n);
4354
4375
  });
4355
4376
  }
4356
- function Jo(e, t, r) {
4377
+ function Ko(e, t, r) {
4357
4378
  if (window.emMessageBus) {
4358
4379
  const n = document.createElement("style");
4359
4380
  window.emMessageBus.subscribe(t, (i) => {
@@ -4361,13 +4382,13 @@ function Jo(e, t, r) {
4361
4382
  });
4362
4383
  }
4363
4384
  }
4364
- function ir(e, t) {
4365
- Jr(e, t);
4385
+ function ar(e, t) {
4386
+ Yr(e, t);
4366
4387
  }
4367
- function Yo(e) {
4368
- ye.set(e);
4388
+ function ea(e) {
4389
+ be.set(e);
4369
4390
  }
4370
- const or = {
4391
+ const sr = {
4371
4392
  en: {
4372
4393
  language: "Select Language"
4373
4394
  },
@@ -4402,65 +4423,65 @@ const or = {
4402
4423
  language: "Select Language"
4403
4424
  }
4404
4425
  };
4405
- function Ko(e) {
4406
- Sn(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.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:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.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, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4426
+ function ta(e) {
4427
+ Hn(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.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:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.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, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4407
4428
  }
4408
- function ar(e, t, r) {
4429
+ function ur(e, t, r) {
4409
4430
  const n = e.slice();
4410
4431
  return n[57] = t[r], n;
4411
4432
  }
4412
- function sr(e, t, r) {
4433
+ function lr(e, t, r) {
4413
4434
  const n = e.slice();
4414
4435
  return n[1] = t[r], n;
4415
4436
  }
4416
- function lr(e, t, r) {
4437
+ function cr(e, t, r) {
4417
4438
  const n = e.slice();
4418
4439
  return n[60] = t[r], n;
4419
4440
  }
4420
- function ea(e, t, r) {
4441
+ function ra(e, t, r) {
4421
4442
  const n = e.slice();
4422
4443
  return n[66] = t[r], n;
4423
4444
  }
4424
- function ur(e, t, r) {
4445
+ function hr(e, t, r) {
4425
4446
  const n = e.slice();
4426
4447
  return n[63] = t[r], n;
4427
4448
  }
4428
- function hr(e) {
4429
- let t, r, n, i, o, a, s, l, u, h, c, f, m, p, b, w, T, P, L, G, C, X, z;
4449
+ function fr(e) {
4450
+ let t, r, n, i, o, a, s, u, l, c, h, f, p, m, b, w, H, B, P, G, C, X, Z;
4430
4451
  function ie(x, R) {
4431
4452
  return (
4432
4453
  /*HamburgerMenuItems*/
4433
- x[4].length > 0 ? ra : ta
4454
+ x[4].length > 0 ? ia : na
4434
4455
  );
4435
4456
  }
4436
- let Y = ie(e), N = Y(e), j = q(
4457
+ let Y = ie(e), N = Y(e), j = J(
4437
4458
  /*activeMenuItemChildren*/
4438
4459
  e[6]
4439
- ), M = [];
4460
+ ), O = [];
4440
4461
  for (let x = 0; x < j.length; x += 1)
4441
- M[x] = mr(lr(e, j, x));
4442
- let B = (
4462
+ O[x] = mr(cr(e, j, x));
4463
+ let L = (
4443
4464
  /*languagesArray*/
4444
- e[9].length > 1 && gr(e)
4465
+ e[9].length > 1 && br(e)
4445
4466
  );
4446
4467
  return {
4447
4468
  c() {
4448
4469
  t = v("div"), r = v("div"), n = v("ul"), N.c(), i = U(), o = v("div"), a = U(), s = v("ul");
4449
- for (let x = 0; x < M.length; x += 1)
4450
- M[x].c();
4451
- u = U(), B && B.c(), c = U(), f = v("span"), m = v("div"), p = v("span"), b = U(), w = v("span"), T = U(), P = v("span"), g(n, "class", "HamburgerPrimaryMenu"), g(o, "class", "Separator"), g(s, "class", l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4452
- (e[10] ? "Overlay" : "")), g(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
4470
+ for (let x = 0; x < O.length; x += 1)
4471
+ O[x].c();
4472
+ l = U(), L && L.c(), h = U(), f = v("span"), p = v("div"), m = v("span"), b = U(), w = v("span"), H = U(), B = v("span"), g(n, "class", "HamburgerPrimaryMenu"), g(o, "class", "Separator"), g(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4473
+ (e[10] ? "Overlay" : "")), g(r, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4453
4474
  (e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4454
- (e[12] ? "Closing" : "")), g(m, "class", L = "NavIcon " + (/*navIconClosing*/
4475
+ (e[12] ? "Closing" : "")), g(p, "class", P = "NavIcon " + (/*navIconClosing*/
4455
4476
  e[13] ? "" : "Open")), g(f, "class", G = /*modalIsOpen*/
4456
4477
  e[7] ? "ModalCloseBtn" : ""), g(f, "role", "button"), g(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4457
4478
  (e[12] ? " Closing" : ""));
4458
4479
  },
4459
4480
  m(x, R) {
4460
4481
  F(x, t, R), y(t, r), y(r, n), N.m(n, null), y(r, i), y(r, o), y(r, a), y(r, s);
4461
- for (let H = 0; H < M.length; H += 1)
4462
- M[H] && M[H].m(s, null);
4463
- y(r, u), B && B.m(r, null), y(t, c), y(t, f), y(f, m), y(m, p), y(m, b), y(m, w), y(m, T), y(m, P), e[40](t), X || (z = re(
4482
+ for (let S = 0; S < O.length; S += 1)
4483
+ O[S] && O[S].m(s, null);
4484
+ y(r, l), L && L.m(r, null), y(t, h), y(t, f), y(f, p), y(p, m), y(p, b), y(p, w), y(p, H), y(p, B), e[40](t), X || (Z = re(
4464
4485
  f,
4465
4486
  "click",
4466
4487
  /*close*/
@@ -4470,47 +4491,47 @@ function hr(e) {
4470
4491
  p(x, R) {
4471
4492
  if (Y === (Y = ie(x)) && N ? N.p(x, R) : (N.d(1), N = Y(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
4472
4493
  262208) {
4473
- j = q(
4494
+ j = J(
4474
4495
  /*activeMenuItemChildren*/
4475
4496
  x[6]
4476
4497
  );
4477
- let H;
4478
- for (H = 0; H < j.length; H += 1) {
4479
- const W = lr(x, j, H);
4480
- M[H] ? M[H].p(W, R) : (M[H] = mr(W), M[H].c(), M[H].m(s, null));
4498
+ let S;
4499
+ for (S = 0; S < j.length; S += 1) {
4500
+ const W = cr(x, j, S);
4501
+ O[S] ? O[S].p(W, R) : (O[S] = mr(W), O[S].c(), O[S].m(s, null));
4481
4502
  }
4482
- for (; H < M.length; H += 1)
4483
- M[H].d(1);
4484
- M.length = j.length;
4503
+ for (; S < O.length; S += 1)
4504
+ O[S].d(1);
4505
+ O.length = j.length;
4485
4506
  }
4486
4507
  R[0] & /*isOptionsListVisible*/
4487
- 1024 && l !== (l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4488
- (x[10] ? "Overlay" : "")) && g(s, "class", l), /*languagesArray*/
4489
- x[9].length > 1 ? B ? B.p(x, R) : (B = gr(x), B.c(), B.m(r, null)) : B && (B.d(1), B = null), R[0] & /*modalIsOpen, isClosing*/
4490
- 4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
4508
+ 1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4509
+ (x[10] ? "Overlay" : "")) && g(s, "class", u), /*languagesArray*/
4510
+ x[9].length > 1 ? L ? L.p(x, R) : (L = br(x), L.c(), L.m(r, null)) : L && (L.d(1), L = null), R[0] & /*modalIsOpen, isClosing*/
4511
+ 4224 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4491
4512
  (x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4492
- (x[12] ? "Closing" : "")) && g(r, "class", h), R[0] & /*navIconClosing*/
4493
- 8192 && L !== (L = "NavIcon " + (/*navIconClosing*/
4494
- x[13] ? "" : "Open")) && g(m, "class", L), R[0] & /*modalIsOpen*/
4513
+ (x[12] ? "Closing" : "")) && g(r, "class", c), R[0] & /*navIconClosing*/
4514
+ 8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
4515
+ x[13] ? "" : "Open")) && g(p, "class", P), R[0] & /*modalIsOpen*/
4495
4516
  128 && G !== (G = /*modalIsOpen*/
4496
4517
  x[7] ? "ModalCloseBtn" : "") && g(f, "class", G), R[0] & /*isClosing*/
4497
4518
  4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
4498
4519
  (x[12] ? " Closing" : "")) && g(t, "class", C);
4499
4520
  },
4500
4521
  d(x) {
4501
- x && I(t), N.d(), He(M, x), B && B.d(), e[40](null), X = !1, z();
4522
+ x && I(t), N.d(), Se(O, x), L && L.d(), e[40](null), X = !1, Z();
4502
4523
  }
4503
4524
  };
4504
4525
  }
4505
- function ta(e) {
4506
- let t, r = q(new Array(5)), n = [];
4526
+ function na(e) {
4527
+ let t, r = J(new Array(5)), n = [];
4507
4528
  for (let i = 0; i < r.length; i += 1)
4508
- n[i] = na(ea(e, r, i));
4529
+ n[i] = oa(ra(e, r, i));
4509
4530
  return {
4510
4531
  c() {
4511
4532
  for (let i = 0; i < n.length; i += 1)
4512
4533
  n[i].c();
4513
- t = wr();
4534
+ t = Hr();
4514
4535
  },
4515
4536
  m(i, o) {
4516
4537
  for (let a = 0; a < n.length; a += 1)
@@ -4519,22 +4540,22 @@ function ta(e) {
4519
4540
  },
4520
4541
  p: $,
4521
4542
  d(i) {
4522
- i && I(t), He(n, i);
4543
+ i && I(t), Se(n, i);
4523
4544
  }
4524
4545
  };
4525
4546
  }
4526
- function ra(e) {
4527
- let t, r = q(
4547
+ function ia(e) {
4548
+ let t, r = J(
4528
4549
  /*HamburgerMenuItems*/
4529
4550
  e[4]
4530
4551
  ), n = [];
4531
4552
  for (let i = 0; i < r.length; i += 1)
4532
- n[i] = fr(ur(e, r, i));
4553
+ n[i] = pr(hr(e, r, i));
4533
4554
  return {
4534
4555
  c() {
4535
4556
  for (let i = 0; i < n.length; i += 1)
4536
4557
  n[i].c();
4537
- t = wr();
4558
+ t = Hr();
4538
4559
  },
4539
4560
  m(i, o) {
4540
4561
  for (let a = 0; a < n.length; a += 1)
@@ -4544,14 +4565,14 @@ function ra(e) {
4544
4565
  p(i, o) {
4545
4566
  if (o[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4546
4567
  131120) {
4547
- r = q(
4568
+ r = J(
4548
4569
  /*HamburgerMenuItems*/
4549
4570
  i[4]
4550
4571
  );
4551
4572
  let a;
4552
4573
  for (a = 0; a < r.length; a += 1) {
4553
- const s = ur(i, r, a);
4554
- n[a] ? n[a].p(s, o) : (n[a] = fr(s), n[a].c(), n[a].m(t.parentNode, t));
4574
+ const s = hr(i, r, a);
4575
+ n[a] ? n[a].p(s, o) : (n[a] = pr(s), n[a].c(), n[a].m(t.parentNode, t));
4555
4576
  }
4556
4577
  for (; a < n.length; a += 1)
4557
4578
  n[a].d(1);
@@ -4559,11 +4580,11 @@ function ra(e) {
4559
4580
  }
4560
4581
  },
4561
4582
  d(i) {
4562
- i && I(t), He(n, i);
4583
+ i && I(t), Se(n, i);
4563
4584
  }
4564
4585
  };
4565
4586
  }
4566
- function na(e) {
4587
+ function oa(e) {
4567
4588
  let t;
4568
4589
  return {
4569
4590
  c() {
@@ -4578,7 +4599,7 @@ function na(e) {
4578
4599
  }
4579
4600
  };
4580
4601
  }
4581
- function cr(e) {
4602
+ function dr(e) {
4582
4603
  let t, r;
4583
4604
  return {
4584
4605
  c() {
@@ -4598,14 +4619,14 @@ function cr(e) {
4598
4619
  }
4599
4620
  };
4600
4621
  }
4601
- function fr(e) {
4602
- var m;
4622
+ function pr(e) {
4623
+ var p;
4603
4624
  let t, r, n, i, o = (
4604
4625
  /*mainItem*/
4605
4626
  e[63].label + ""
4606
- ), a, s, l, u, h, c = (
4627
+ ), a, s, u, l, c, h = (
4607
4628
  /*mainItem*/
4608
- ((m = e[63]) == null ? void 0 : m.img) && cr(e)
4629
+ ((p = e[63]) == null ? void 0 : p.img) && dr(e)
4609
4630
  );
4610
4631
  function f() {
4611
4632
  return (
@@ -4618,29 +4639,29 @@ function fr(e) {
4618
4639
  }
4619
4640
  return {
4620
4641
  c() {
4621
- t = v("li"), r = v("div"), c && c.c(), n = U(), i = v("p"), a = te(o), s = U(), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4642
+ t = v("li"), r = v("div"), h && h.c(), n = U(), i = v("p"), a = te(o), s = U(), g(r, "class", "HamburgerItemContainer"), g(t, "class", u = /*activeMenuItemId*/
4622
4643
  e[5] === /*mainItem*/
4623
4644
  e[63].id ? "ActiveItem" : "");
4624
4645
  },
4625
- m(p, b) {
4626
- F(p, t, b), y(t, r), c && c.m(r, null), y(r, n), y(r, i), y(i, a), y(t, s), u || (h = re(t, "click", f), u = !0);
4646
+ m(m, b) {
4647
+ F(m, t, b), y(t, r), h && h.m(r, null), y(r, n), y(r, i), y(i, a), y(t, s), l || (c = re(t, "click", f), l = !0);
4627
4648
  },
4628
- p(p, b) {
4649
+ p(m, b) {
4629
4650
  var w;
4630
- e = p, /*mainItem*/
4631
- (w = e[63]) != null && w.img ? c ? c.p(e, b) : (c = cr(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), b[0] & /*HamburgerMenuItems*/
4651
+ e = m, /*mainItem*/
4652
+ (w = e[63]) != null && w.img ? h ? h.p(e, b) : (h = dr(e), h.c(), h.m(r, n)) : h && (h.d(1), h = null), b[0] & /*HamburgerMenuItems*/
4632
4653
  16 && o !== (o = /*mainItem*/
4633
- e[63].label + "") && pe(a, o), b[0] & /*activeMenuItemId, HamburgerMenuItems*/
4634
- 48 && l !== (l = /*activeMenuItemId*/
4654
+ e[63].label + "") && ge(a, o), b[0] & /*activeMenuItemId, HamburgerMenuItems*/
4655
+ 48 && u !== (u = /*activeMenuItemId*/
4635
4656
  e[5] === /*mainItem*/
4636
- e[63].id ? "ActiveItem" : "") && g(t, "class", l);
4657
+ e[63].id ? "ActiveItem" : "") && g(t, "class", u);
4637
4658
  },
4638
- d(p) {
4639
- p && I(t), c && c.d(), u = !1, h();
4659
+ d(m) {
4660
+ m && I(t), h && h.d(), l = !1, c();
4640
4661
  }
4641
4662
  };
4642
4663
  }
4643
- function dr(e) {
4664
+ function gr(e) {
4644
4665
  let t, r;
4645
4666
  return {
4646
4667
  c() {
@@ -4661,15 +4682,15 @@ function dr(e) {
4661
4682
  };
4662
4683
  }
4663
4684
  function mr(e) {
4664
- var c;
4685
+ var h;
4665
4686
  let t, r, n, i = (
4666
4687
  /*secondaryItem*/
4667
4688
  e[60].label + ""
4668
- ), o, a, s, l, u = (
4689
+ ), o, a, s, u, l = (
4669
4690
  /*secondaryItem*/
4670
- ((c = e[60]) == null ? void 0 : c.img) && dr(e)
4691
+ ((h = e[60]) == null ? void 0 : h.img) && gr(e)
4671
4692
  );
4672
- function h(...f) {
4693
+ function c(...f) {
4673
4694
  return (
4674
4695
  /*click_handler_1*/
4675
4696
  e[36](
@@ -4681,105 +4702,105 @@ function mr(e) {
4681
4702
  }
4682
4703
  return {
4683
4704
  c() {
4684
- t = v("li"), u && u.c(), r = U(), n = v("p"), o = te(i), a = U();
4705
+ t = v("li"), l && l.c(), r = U(), n = v("p"), o = te(i), a = U();
4685
4706
  },
4686
- m(f, m) {
4687
- F(f, t, m), u && u.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), s || (l = re(t, "click", h), s = !0);
4707
+ m(f, p) {
4708
+ F(f, t, p), l && l.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), s || (u = re(t, "click", c), s = !0);
4688
4709
  },
4689
- p(f, m) {
4690
- var p;
4710
+ p(f, p) {
4711
+ var m;
4691
4712
  e = f, /*secondaryItem*/
4692
- (p = e[60]) != null && p.img ? u ? u.p(e, m) : (u = dr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), m[0] & /*activeMenuItemChildren*/
4713
+ (m = e[60]) != null && m.img ? l ? l.p(e, p) : (l = gr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), p[0] & /*activeMenuItemChildren*/
4693
4714
  64 && i !== (i = /*secondaryItem*/
4694
- e[60].label + "") && pe(o, i);
4715
+ e[60].label + "") && ge(o, i);
4695
4716
  },
4696
4717
  d(f) {
4697
- f && I(t), u && u.d(), s = !1, l();
4718
+ f && I(t), l && l.d(), s = !1, u();
4698
4719
  }
4699
4720
  };
4700
4721
  }
4701
- function gr(e) {
4722
+ function br(e) {
4702
4723
  let t, r, n = (
4703
4724
  /*$_*/
4704
4725
  e[15]("language") + ""
4705
- ), i, o, a, s, l;
4706
- function u(f, m) {
4726
+ ), i, o, a, s, u;
4727
+ function l(f, p) {
4707
4728
  return (
4708
4729
  /*countryflaghamburger*/
4709
- f[0] !== "true" ? oa : ia
4730
+ f[0] !== "true" ? sa : aa
4710
4731
  );
4711
4732
  }
4712
- let h = u(e), c = h(e);
4733
+ let c = l(e), h = c(e);
4713
4734
  return {
4714
4735
  c() {
4715
- t = v("div"), r = v("span"), i = te(n), o = U(), c.c(), g(r, "class", "LanguageSelectorTitle"), g(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4736
+ t = v("div"), r = v("span"), i = te(n), o = U(), h.c(), g(r, "class", "LanguageSelectorTitle"), g(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4716
4737
  (e[10] ? "Open" : ""));
4717
4738
  },
4718
- m(f, m) {
4719
- F(f, t, m), y(t, r), y(r, i), y(t, o), c.m(t, null), s || (l = re(
4739
+ m(f, p) {
4740
+ F(f, t, p), y(t, r), y(r, i), y(t, o), h.m(t, null), s || (u = re(
4720
4741
  t,
4721
4742
  "click",
4722
4743
  /*toggleLanguageDropdown*/
4723
4744
  e[21]
4724
4745
  ), s = !0);
4725
4746
  },
4726
- p(f, m) {
4727
- m[0] & /*$_*/
4747
+ p(f, p) {
4748
+ p[0] & /*$_*/
4728
4749
  32768 && n !== (n = /*$_*/
4729
- f[15]("language") + "") && pe(i, n), h === (h = u(f)) && c ? c.p(f, m) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), m[0] & /*isOptionsListVisible*/
4750
+ f[15]("language") + "") && ge(i, n), c === (c = l(f)) && h ? h.p(f, p) : (h.d(1), h = c(f), h && (h.c(), h.m(t, null))), p[0] & /*isOptionsListVisible*/
4730
4751
  1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4731
4752
  (f[10] ? "Open" : "")) && g(t, "class", a);
4732
4753
  },
4733
4754
  d(f) {
4734
- f && I(t), c.d(), s = !1, l();
4755
+ f && I(t), h.d(), s = !1, u();
4735
4756
  }
4736
4757
  };
4737
4758
  }
4738
- function ia(e) {
4739
- let t, r, n, i, o, a, s, l = (
4759
+ function aa(e) {
4760
+ let t, r, n, i, o, a, s, u = (
4740
4761
  /*selectedLanguage*/
4741
4762
  e[14].slice(-2) + ""
4742
- ), u, h, c, f, m, p, b, w = (
4763
+ ), l, c, h, f, p, m, b, w = (
4743
4764
  /*isOptionsListVisible*/
4744
- e[10] && pr(e)
4765
+ e[10] && yr(e)
4745
4766
  );
4746
4767
  return {
4747
4768
  c() {
4748
- t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), u = te(l), h = U(), c = v("span"), f = Ct("svg"), m = Ct("path"), b = U(), w && w.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4769
+ t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), l = te(u), c = U(), h = v("span"), f = Rt("svg"), p = Rt("path"), b = U(), w && w.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4749
4770
  e[22](
4750
4771
  /*selectedLanguage*/
4751
4772
  e[14]
4752
- )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(m, "id", "arrow"), g(m, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(m, "transform", "translate(-274.511 -441.088)"), g(m, "fill", "#d1d1d1"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "14"), g(f, "height", "6.835"), g(f, "viewBox", "0 0 14 6.835"), g(c, "class", p = "TriangleInactive " + /*isOptionsListVisible*/
4773
+ )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(p, "id", "arrow"), g(p, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(p, "transform", "translate(-274.511 -441.088)"), g(p, "fill", "#d1d1d1"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "14"), g(f, "height", "6.835"), g(f, "viewBox", "0 0 14 6.835"), g(h, "class", m = "TriangleInactive " + /*isOptionsListVisible*/
4753
4774
  (e[10] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4754
4775
  },
4755
- m(T, P) {
4756
- F(T, t, P), y(t, r), y(r, n), y(n, i), y(r, a), y(r, s), y(s, u), y(r, h), y(r, c), y(c, f), y(f, m), y(t, b), w && w.m(t, null);
4776
+ m(H, B) {
4777
+ F(H, t, B), y(t, r), y(r, n), y(n, i), y(r, a), y(r, s), y(s, l), y(r, c), y(r, h), y(h, f), y(f, p), y(t, b), w && w.m(t, null);
4757
4778
  },
4758
- p(T, P) {
4759
- P[0] & /*selectedLanguage, languagesArray*/
4779
+ p(H, B) {
4780
+ B[0] & /*selectedLanguage, languagesArray*/
4760
4781
  16896 && !ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4761
- T[22](
4782
+ H[22](
4762
4783
  /*selectedLanguage*/
4763
- T[14]
4764
- )}.svg`) && g(i, "src", o), P[0] & /*selectedLanguage*/
4765
- 16384 && l !== (l = /*selectedLanguage*/
4766
- T[14].slice(-2) + "") && pe(u, l), P[0] & /*isOptionsListVisible*/
4767
- 1024 && p !== (p = "TriangleInactive " + /*isOptionsListVisible*/
4768
- (T[10] ? "TriangleActive" : "")) && g(c, "class", p), /*isOptionsListVisible*/
4769
- T[10] ? w ? w.p(T, P) : (w = pr(T), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4784
+ H[14]
4785
+ )}.svg`) && g(i, "src", o), B[0] & /*selectedLanguage*/
4786
+ 16384 && u !== (u = /*selectedLanguage*/
4787
+ H[14].slice(-2) + "") && ge(l, u), B[0] & /*isOptionsListVisible*/
4788
+ 1024 && m !== (m = "TriangleInactive " + /*isOptionsListVisible*/
4789
+ (H[10] ? "TriangleActive" : "")) && g(h, "class", m), /*isOptionsListVisible*/
4790
+ H[10] ? w ? w.p(H, B) : (w = yr(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4770
4791
  },
4771
- d(T) {
4772
- T && I(t), w && w.d();
4792
+ d(H) {
4793
+ H && I(t), w && w.d();
4773
4794
  }
4774
4795
  };
4775
4796
  }
4776
- function oa(e) {
4777
- let t, r, n, i = q(
4797
+ function sa(e) {
4798
+ let t, r, n, i = J(
4778
4799
  /*languagesArray*/
4779
4800
  e[9]
4780
4801
  ), o = [];
4781
4802
  for (let a = 0; a < i.length; a += 1)
4782
- o[a] = yr(sr(e, i, a));
4803
+ o[a] = _r(lr(e, i, a));
4783
4804
  return {
4784
4805
  c() {
4785
4806
  t = v("select");
@@ -4793,9 +4814,9 @@ function oa(e) {
4793
4814
  },
4794
4815
  m(a, s) {
4795
4816
  F(a, t, s);
4796
- for (let l = 0; l < o.length; l += 1)
4797
- o[l] && o[l].m(t, null);
4798
- Rt(
4817
+ for (let u = 0; u < o.length; u += 1)
4818
+ o[u] && o[u].m(t, null);
4819
+ Ft(
4799
4820
  t,
4800
4821
  /*selectedLanguage*/
4801
4822
  e[14],
@@ -4818,38 +4839,38 @@ function oa(e) {
4818
4839
  p(a, s) {
4819
4840
  if (s[0] & /*languagesArray*/
4820
4841
  512) {
4821
- i = q(
4842
+ i = J(
4822
4843
  /*languagesArray*/
4823
4844
  a[9]
4824
4845
  );
4825
- let l;
4826
- for (l = 0; l < i.length; l += 1) {
4827
- const u = sr(a, i, l);
4828
- o[l] ? o[l].p(u, s) : (o[l] = yr(u), o[l].c(), o[l].m(t, null));
4846
+ let u;
4847
+ for (u = 0; u < i.length; u += 1) {
4848
+ const l = lr(a, i, u);
4849
+ o[u] ? o[u].p(l, s) : (o[u] = _r(l), o[u].c(), o[u].m(t, null));
4829
4850
  }
4830
- for (; l < o.length; l += 1)
4831
- o[l].d(1);
4851
+ for (; u < o.length; u += 1)
4852
+ o[u].d(1);
4832
4853
  o.length = i.length;
4833
4854
  }
4834
4855
  s[0] & /*selectedLanguage, languagesArray*/
4835
- 16896 && Rt(
4856
+ 16896 && Ft(
4836
4857
  t,
4837
4858
  /*selectedLanguage*/
4838
4859
  a[14]
4839
4860
  );
4840
4861
  },
4841
4862
  d(a) {
4842
- a && I(t), He(o, a), r = !1, ge(n);
4863
+ a && I(t), Se(o, a), r = !1, pe(n);
4843
4864
  }
4844
4865
  };
4845
4866
  }
4846
- function pr(e) {
4847
- let t, r, n = q(
4867
+ function yr(e) {
4868
+ let t, r, n = J(
4848
4869
  /*languagesArray*/
4849
4870
  e[9]
4850
4871
  ), i = [];
4851
4872
  for (let o = 0; o < n.length; o += 1)
4852
- i[o] = br(ar(e, n, o));
4873
+ i[o] = vr(ur(e, n, o));
4853
4874
  return {
4854
4875
  c() {
4855
4876
  t = v("div");
@@ -4866,14 +4887,14 @@ function pr(e) {
4866
4887
  p(o, a) {
4867
4888
  if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
4868
4889
  5245440) {
4869
- n = q(
4890
+ n = J(
4870
4891
  /*languagesArray*/
4871
4892
  o[9]
4872
4893
  );
4873
4894
  let s;
4874
4895
  for (s = 0; s < n.length; s += 1) {
4875
- const l = ar(o, n, s);
4876
- i[s] ? i[s].p(l, a) : (i[s] = br(l), i[s].c(), i[s].m(t, null));
4896
+ const u = ur(o, n, s);
4897
+ i[s] ? i[s].p(u, a) : (i[s] = vr(u), i[s].c(), i[s].m(t, null));
4877
4898
  }
4878
4899
  for (; s < i.length; s += 1)
4879
4900
  i[s].d(1);
@@ -4884,16 +4905,16 @@ function pr(e) {
4884
4905
  (o[11] ? "Open" : "")) && g(t, "class", r);
4885
4906
  },
4886
4907
  d(o) {
4887
- o && I(t), He(i, o);
4908
+ o && I(t), Se(i, o);
4888
4909
  }
4889
4910
  };
4890
4911
  }
4891
- function br(e) {
4912
+ function vr(e) {
4892
4913
  let t, r, n, i, o, a, s = (
4893
4914
  /*operatorLanguage*/
4894
4915
  e[57] + ""
4895
- ), l, u, h, c, f;
4896
- function m() {
4916
+ ), u, l, c, h, f;
4917
+ function p() {
4897
4918
  return (
4898
4919
  /*click_handler_2*/
4899
4920
  e[39](
@@ -4904,34 +4925,34 @@ function br(e) {
4904
4925
  }
4905
4926
  return {
4906
4927
  c() {
4907
- t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), l = te(s), u = U(), ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4928
+ t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), u = te(s), l = U(), ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4908
4929
  e[22](
4909
4930
  /*operatorLanguage*/
4910
4931
  e[57]
4911
- )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(t, "class", h = "LanguageOption " + /*languageListOpen*/
4932
+ )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(t, "class", c = "LanguageOption " + /*languageListOpen*/
4912
4933
  (e[11] ? "Open" : ""));
4913
4934
  },
4914
- m(p, b) {
4915
- F(p, t, b), y(t, r), y(r, n), y(t, o), y(t, a), y(a, l), y(t, u), c || (f = re(t, "click", m), c = !0);
4935
+ m(m, b) {
4936
+ F(m, t, b), y(t, r), y(r, n), y(t, o), y(t, a), y(a, u), y(t, l), h || (f = re(t, "click", p), h = !0);
4916
4937
  },
4917
- p(p, b) {
4918
- e = p, b[0] & /*languagesArray*/
4938
+ p(m, b) {
4939
+ e = m, b[0] & /*languagesArray*/
4919
4940
  512 && !ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4920
4941
  e[22](
4921
4942
  /*operatorLanguage*/
4922
4943
  e[57]
4923
4944
  )}.svg`) && g(n, "src", i), b[0] & /*languagesArray*/
4924
4945
  512 && s !== (s = /*operatorLanguage*/
4925
- e[57] + "") && pe(l, s), b[0] & /*languageListOpen*/
4926
- 2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
4927
- (e[11] ? "Open" : "")) && g(t, "class", h);
4946
+ e[57] + "") && ge(u, s), b[0] & /*languageListOpen*/
4947
+ 2048 && c !== (c = "LanguageOption " + /*languageListOpen*/
4948
+ (e[11] ? "Open" : "")) && g(t, "class", c);
4928
4949
  },
4929
- d(p) {
4930
- p && I(t), c = !1, f();
4950
+ d(m) {
4951
+ m && I(t), h = !1, f();
4931
4952
  }
4932
4953
  };
4933
4954
  }
4934
- function yr(e) {
4955
+ function _r(e) {
4935
4956
  let t, r = (
4936
4957
  /*lang*/
4937
4958
  e[1].slice(-2) + ""
@@ -4939,7 +4960,7 @@ function yr(e) {
4939
4960
  return {
4940
4961
  c() {
4941
4962
  t = v("option"), n = te(r), t.__value = i = /*lang*/
4942
- e[1], Nt(t, t.__value), t.selected = !0;
4963
+ e[1], Ut(t, t.__value), t.selected = !0;
4943
4964
  },
4944
4965
  m(o, a) {
4945
4966
  F(o, t, a), y(t, n);
@@ -4947,19 +4968,19 @@ function yr(e) {
4947
4968
  p(o, a) {
4948
4969
  a[0] & /*languagesArray*/
4949
4970
  512 && r !== (r = /*lang*/
4950
- o[1].slice(-2) + "") && pe(n, r), a[0] & /*languagesArray*/
4971
+ o[1].slice(-2) + "") && ge(n, r), a[0] & /*languagesArray*/
4951
4972
  512 && i !== (i = /*lang*/
4952
- o[1]) && (t.__value = i, Nt(t, t.__value));
4973
+ o[1]) && (t.__value = i, Ut(t, t.__value));
4953
4974
  },
4954
4975
  d(o) {
4955
4976
  o && I(t);
4956
4977
  }
4957
4978
  };
4958
4979
  }
4959
- function aa(e) {
4980
+ function ua(e) {
4960
4981
  let t, r = (
4961
4982
  /*show*/
4962
- e[8] === !0 && hr(e)
4983
+ e[8] === !0 && fr(e)
4963
4984
  );
4964
4985
  return {
4965
4986
  c() {
@@ -4970,7 +4991,7 @@ function aa(e) {
4970
4991
  },
4971
4992
  p(n, i) {
4972
4993
  /*show*/
4973
- n[8] === !0 ? r ? r.p(n, i) : (r = hr(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4994
+ n[8] === !0 ? r ? r.p(n, i) : (r = fr(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4974
4995
  },
4975
4996
  i: $,
4976
4997
  o: $,
@@ -4979,30 +5000,30 @@ function aa(e) {
4979
5000
  }
4980
5001
  };
4981
5002
  }
4982
- function sa(e, t, r) {
5003
+ function la(e, t, r) {
4983
5004
  let n;
4984
- wn(e, Xo, (d) => r(15, n = d));
4985
- let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: l = "en" } = t, { activecategory: u = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: m = "" } = t, { clientstylingurl: p = "" } = t, { customlocaleidentifier: b = "" } = t, { countryflaghamburger: w = "" } = t, T, P = window.navigator.userAgent, L = [], G, C = "", X = [], z = !1, ie = !1, Y = !0, N = [], j = !1, M = !1, B = !1, x = !1, R = !0, H, W = "", Z;
4986
- const nn = () => {
4987
- fetch(c).then((d) => d.json()).then((d) => {
4988
- Object.keys(d).forEach((A) => {
4989
- ir(A, d[A]);
5005
+ Sn(e, Zo, (d) => r(15, n = d));
5006
+ let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: c = "" } = t, { translationurl: h = "" } = t, { mbsource: f } = t, { clientstyling: p = "" } = t, { clientstylingurl: m = "" } = t, { customlocaleidentifier: b = "" } = t, { countryflaghamburger: w = "" } = t, H, B = window.navigator.userAgent, P = [], G, C = "", X = [], Z = !1, ie = !1, Y = !0, N = [], j = !1, O = !1, L = !1, x = !1, R = !0, S, W = "", Q;
5007
+ const on = () => {
5008
+ fetch(h).then((d) => d.json()).then((d) => {
5009
+ Object.keys(d).forEach((M) => {
5010
+ ar(M, d[M]);
4990
5011
  });
4991
5012
  }).catch((d) => {
4992
5013
  console.log(d);
4993
5014
  });
4994
5015
  };
4995
- Object.keys(or).forEach((d) => {
4996
- ir(d, or[d]);
5016
+ Object.keys(sr).forEach((d) => {
5017
+ ar(d, sr[d]);
4997
5018
  });
4998
- const Ve = () => {
4999
- H = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
5000
- let d = Zo(P);
5001
- d && (d === "PC" ? H.searchParams.append("device", "dk") : H.searchParams.append("device", "mtWeb")), H.searchParams.append("env", a), H.searchParams.append("language", W.toLowerCase()), H.searchParams.append("userRoles", s);
5002
- }, xt = () => {
5003
- r(12, x = !0), r(13, R = !0), r(10, M = !1), r(11, B = !1), setTimeout(
5019
+ const ze = () => {
5020
+ S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
5021
+ let d = qo(B);
5022
+ d && (d === "PC" ? S.searchParams.append("device", "dk") : S.searchParams.append("device", "mtWeb")), S.searchParams.append("env", a), S.searchParams.append("language", W.toLowerCase()), S.searchParams.append("userRoles", s);
5023
+ }, wt = () => {
5024
+ r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, L = !1), setTimeout(
5004
5025
  () => {
5005
- r(8, ie = !1), r(7, z = !1);
5026
+ r(8, ie = !1), r(7, Z = !1);
5006
5027
  },
5007
5028
  200
5008
5029
  ), window.postMessage(
@@ -5012,40 +5033,40 @@ function sa(e, t, r) {
5012
5033
  },
5013
5034
  window.location.href
5014
5035
  );
5015
- }, Et = (d) => {
5036
+ }, St = (d) => {
5016
5037
  d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
5017
5038
  () => {
5018
5039
  r(13, R = !1);
5019
5040
  },
5020
5041
  125
5021
- ), r(8, ie = !0), r(7, z = !0), Ve(), St(H)), d.data.type === "LanguageChanged" && (j = !0, Ve(), St(H));
5022
- }, Oe = (d, A) => {
5023
- r(5, C = d), r(6, X = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5042
+ ), r(8, ie = !0), r(7, Z = !0), ze(), Tt(S)), d.data.type === "LanguageChanged" && (j = !0, ze(), Tt(S));
5043
+ }, Oe = (d, M) => {
5044
+ r(5, C = d), r(6, X = M || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5024
5045
  context: "HamburgerMenu",
5025
5046
  menuItem: `${C}`
5026
5047
  });
5027
- }, wt = () => {
5028
- let d = L.filter((A) => {
5029
- var Mt;
5048
+ }, Ht = () => {
5049
+ let d = P.filter((M) => {
5050
+ var Pt;
5030
5051
  let oe = !1;
5031
- return (Mt = A.children) == null || Mt.forEach((gn) => {
5032
- gn.path.includes(u) && (oe = !0);
5052
+ return (Pt = M.children) == null || Pt.forEach((mn) => {
5053
+ mn.path.includes(l) && (oe = !0);
5033
5054
  }), oe;
5034
5055
  });
5035
- d.length > 0 ? Oe(d[0].id, d[0].children) : Oe(L[0].id, L[0].children);
5036
- }, St = (d) => {
5037
- G && !j || Ht(d);
5038
- }, Ht = (d) => {
5039
- fetch(d).then((A) => A.json()).then(
5040
- (A) => {
5041
- r(4, L = A.filter((oe) => (oe == null ? void 0 : oe.type) !== "banner")), wt(), r(34, Y = !1), G = A, j = !1;
5056
+ d.length > 0 ? Oe(d[0].id, d[0].children) : Oe(P[0].id, P[0].children);
5057
+ }, Tt = (d) => {
5058
+ G && !j || Ot(d);
5059
+ }, Ot = (d) => {
5060
+ fetch(d).then((M) => M.json()).then(
5061
+ (M) => {
5062
+ r(4, P = M.filter((oe) => (oe == null ? void 0 : oe.type) !== "banner")), Ht(), r(34, Y = !1), G = M, j = !1;
5042
5063
  },
5043
- (A) => {
5044
- console.error(A);
5064
+ (M) => {
5065
+ console.error(M);
5045
5066
  }
5046
5067
  );
5047
5068
  };
5048
- let Tt = (d) => {
5069
+ let Mt = (d) => {
5049
5070
  window.postMessage(
5050
5071
  {
5051
5072
  type: "NavigateTo",
@@ -5054,9 +5075,9 @@ function sa(e, t, r) {
5054
5075
  target: d.attrs.target || null
5055
5076
  },
5056
5077
  window.location.href
5057
- ), xt();
5078
+ ), wt();
5058
5079
  };
5059
- const Xe = () => {
5080
+ const Ze = () => {
5060
5081
  j = !0, window.postMessage(
5061
5082
  {
5062
5083
  type: "LanguageChanged",
@@ -5064,122 +5085,122 @@ function sa(e, t, r) {
5064
5085
  },
5065
5086
  window.location.href
5066
5087
  );
5067
- }, on = () => {
5068
- Yo(l), Ve(), j && Ht(H), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = l.toUpperCase());
5069
- }, Ot = (d) => {
5088
+ }, an = () => {
5089
+ ea(u), ze(), j && Ot(S), r(9, N = c.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = u.toUpperCase());
5090
+ }, At = (d) => {
5070
5091
  r(14, W = d), setTimeout(
5071
5092
  () => {
5072
- r(11, B = !1);
5093
+ r(11, L = !1);
5073
5094
  },
5074
5095
  250
5075
5096
  ), setTimeout(
5076
5097
  () => {
5077
- r(10, M = !1);
5098
+ r(10, O = !1);
5078
5099
  },
5079
5100
  500
5080
- ), Xe();
5081
- }, an = () => {
5082
- M ? (setTimeout(
5101
+ ), Ze();
5102
+ }, sn = () => {
5103
+ O ? (setTimeout(
5083
5104
  () => {
5084
- r(10, M = !1);
5105
+ r(10, O = !1);
5085
5106
  },
5086
5107
  250
5087
- ), r(11, B = !1)) : (r(10, M = !0), setTimeout(
5108
+ ), r(11, L = !1)) : (r(10, O = !0), setTimeout(
5088
5109
  () => {
5089
- r(11, B = !0);
5110
+ r(11, L = !0);
5090
5111
  },
5091
5112
  300
5092
5113
  ));
5093
- }, sn = (d) => {
5094
- let A = d ? d.slice(-2) : W.slice(-2);
5095
- return b && (A = b.includes(A.toLowerCase()) ? b.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
5114
+ }, un = (d) => {
5115
+ let M = d ? d.slice(-2) : W.slice(-2);
5116
+ return b && (M = b.includes(M.toLowerCase()) ? b.slice(-2) : M), M == "EN" ? "GB" : M.toUpperCase();
5096
5117
  };
5097
- Bn(() => (window.addEventListener("message", Et, !1), zo(P), () => {
5098
- window.removeEventListener("message", Et);
5118
+ Bn(() => (window.addEventListener("message", St, !1), Qo(B), () => {
5119
+ window.removeEventListener("message", St);
5099
5120
  }));
5100
- const ln = (d) => Oe(d.id, d.children), un = (d, A) => {
5101
- Tt(d), A.preventDefault();
5121
+ const ln = (d) => Oe(d.id, d.children), cn = (d, M) => {
5122
+ Mt(d), M.preventDefault();
5102
5123
  };
5103
5124
  function hn() {
5104
- W = Mn(this), r(14, W), r(9, N);
5125
+ W = An(this), r(14, W), r(9, N);
5105
5126
  }
5106
- const cn = () => Xe(), fn = (d) => Ot(d);
5107
- function dn(d) {
5127
+ const fn = () => Ze(), dn = (d) => At(d);
5128
+ function pn(d) {
5108
5129
  Re[d ? "unshift" : "push"](() => {
5109
- T = d, r(3, T);
5130
+ H = d, r(3, H);
5110
5131
  });
5111
5132
  }
5112
- function mn(d) {
5133
+ function gn(d) {
5113
5134
  Re[d ? "unshift" : "push"](() => {
5114
- Z = d, r(2, Z);
5135
+ Q = d, r(2, Q);
5115
5136
  });
5116
5137
  }
5117
5138
  return e.$$set = (d) => {
5118
- "menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, l = d.lang), "activecategory" in d && r(27, u = d.activecategory), "languageslist" in d && r(28, h = d.languageslist), "translationurl" in d && r(29, c = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, m = d.clientstyling), "clientstylingurl" in d && r(32, p = d.clientstylingurl), "customlocaleidentifier" in d && r(33, b = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, w = d.countryflaghamburger);
5139
+ "menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, u = d.lang), "activecategory" in d && r(27, l = d.activecategory), "languageslist" in d && r(28, c = d.languageslist), "translationurl" in d && r(29, h = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, p = d.clientstyling), "clientstylingurl" in d && r(32, m = d.clientstylingurl), "customlocaleidentifier" in d && r(33, b = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, w = d.countryflaghamburger);
5119
5140
  }, e.$$.update = () => {
5120
5141
  e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
5121
- 318767106 && o && a && l && h && on(), e.$$.dirty[0] & /*activecategory*/
5142
+ 318767106 && o && a && u && c && an(), e.$$.dirty[0] & /*activecategory*/
5122
5143
  134217728 | e.$$.dirty[1] & /*isLoading*/
5123
- 8 && u && !Y && wt(), e.$$.dirty[0] & /*translationurl*/
5124
- 536870912 && c && nn(), e.$$.dirty[0] & /*customStylingContainer*/
5144
+ 8 && l && !Y && Ht(), e.$$.dirty[0] & /*translationurl*/
5145
+ 536870912 && h && on(), e.$$.dirty[0] & /*customStylingContainer*/
5125
5146
  4 | e.$$.dirty[1] & /*clientstyling*/
5126
- 1 && m && Z && Qo(Z, m), e.$$.dirty[0] & /*customStylingContainer*/
5147
+ 1 && p && Q && Jo(Q, p), e.$$.dirty[0] & /*customStylingContainer*/
5127
5148
  4 | e.$$.dirty[1] & /*clientstylingurl*/
5128
- 2 && p && Z && qo(Z, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5129
- 1073741828 && f && Z && Jo(Z, `${f}.Style`);
5149
+ 2 && m && Q && Yo(Q, m), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5150
+ 1073741828 && f && Q && Ko(Q, `${f}.Style`);
5130
5151
  }, [
5131
5152
  w,
5132
- l,
5133
- Z,
5134
- T,
5135
- L,
5153
+ u,
5154
+ Q,
5155
+ H,
5156
+ P,
5136
5157
  C,
5137
5158
  X,
5138
- z,
5159
+ Z,
5139
5160
  ie,
5140
5161
  N,
5141
- M,
5142
- B,
5162
+ O,
5163
+ L,
5143
5164
  x,
5144
5165
  R,
5145
5166
  W,
5146
5167
  n,
5147
- xt,
5168
+ wt,
5148
5169
  Oe,
5149
- Tt,
5150
- Xe,
5151
- Ot,
5152
- an,
5170
+ Mt,
5171
+ Ze,
5172
+ At,
5153
5173
  sn,
5174
+ un,
5154
5175
  i,
5155
5176
  o,
5156
5177
  a,
5157
5178
  s,
5158
- u,
5159
- h,
5179
+ l,
5160
5180
  c,
5181
+ h,
5161
5182
  f,
5162
- m,
5163
5183
  p,
5184
+ m,
5164
5185
  b,
5165
5186
  Y,
5166
5187
  ln,
5167
- un,
5168
- hn,
5169
5188
  cn,
5189
+ hn,
5170
5190
  fn,
5171
5191
  dn,
5172
- mn
5192
+ pn,
5193
+ gn
5173
5194
  ];
5174
5195
  }
5175
- class rn extends jn {
5196
+ class nn extends Wn {
5176
5197
  constructor(t) {
5177
- super(), Gn(
5198
+ super(), $n(
5178
5199
  this,
5179
5200
  t,
5180
- sa,
5181
- aa,
5182
- _r,
5201
+ la,
5202
+ ua,
5203
+ Er,
5183
5204
  {
5184
5205
  menuitemsurl: 23,
5185
5206
  cmsendpoint: 24,
@@ -5195,7 +5216,7 @@ class rn extends jn {
5195
5216
  customlocaleidentifier: 33,
5196
5217
  countryflaghamburger: 0
5197
5218
  },
5198
- Ko,
5219
+ ta,
5199
5220
  [-1, -1, -1]
5200
5221
  );
5201
5222
  }
@@ -5278,56 +5299,56 @@ class rn extends jn {
5278
5299
  this.$$set({ countryflaghamburger: t }), D();
5279
5300
  }
5280
5301
  }
5281
- $n(rn, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5282
- const va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5302
+ jn(nn, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5303
+ const xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5283
5304
  __proto__: null,
5284
- default: rn
5305
+ default: nn
5285
5306
  }, Symbol.toStringTag, { value: "Module" }));
5286
5307
  export {
5287
- ye as $,
5288
- qo as A,
5289
- Jo as B,
5290
- wr as C,
5291
- q as D,
5292
- Ct as E,
5293
- He as F,
5308
+ be as $,
5309
+ Hr as A,
5310
+ $ as B,
5311
+ ee as C,
5312
+ ya as D,
5313
+ Re as E,
5314
+ ge as F,
5294
5315
  te as G,
5295
- pe as H,
5296
- $ as I,
5297
- zo as J,
5298
- pa as K,
5299
- Re as L,
5300
- Qo as M,
5301
- Xo as N,
5302
- Zo as O,
5303
- ya as P,
5304
- ga as Q,
5305
- va as R,
5306
- jn as S,
5316
+ Rt as H,
5317
+ J as I,
5318
+ Se as J,
5319
+ qo as K,
5320
+ Zo as L,
5321
+ Jo as M,
5322
+ Yo as N,
5323
+ Ko as O,
5324
+ _a as P,
5325
+ ba as Q,
5326
+ xa as R,
5327
+ Wn as S,
5307
5328
  Te as a,
5308
- Jr as b,
5309
- $n as c,
5310
- Sn as d,
5311
- ua as e,
5329
+ Yr as b,
5330
+ jn as c,
5331
+ Hn as d,
5332
+ ha as e,
5312
5333
  D as f,
5313
- v as g,
5314
- U as h,
5315
- Gn as i,
5316
- ee as j,
5317
- g as k,
5318
- ma as l,
5319
- F as m,
5320
- y as n,
5321
- re as o,
5322
- da as p,
5323
- fa as q,
5324
- ha as r,
5325
- _r as s,
5326
- Un as t,
5327
- ca as u,
5328
- ba as v,
5329
- I as w,
5330
- ge as x,
5331
- wn as y,
5332
- Bn as z
5334
+ I as g,
5335
+ Fn as h,
5336
+ $n as i,
5337
+ pa as j,
5338
+ fa as k,
5339
+ g as l,
5340
+ ma as m,
5341
+ F as n,
5342
+ y as o,
5343
+ re as p,
5344
+ ga as q,
5345
+ pe as r,
5346
+ Er as s,
5347
+ va as t,
5348
+ da as u,
5349
+ v,
5350
+ U as w,
5351
+ Sn as x,
5352
+ Bn as y,
5353
+ Qo as z
5333
5354
  };