@everymatrix/casino-header-controller-nd 1.75.1 → 1.76.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 (49) hide show
  1. package/components/{CasinoHamburgerMenuNd-A1rbyIlh.js → CasinoHamburgerMenuNd-CUjwLQnR.js} +1072 -1093
  2. package/components/CasinoHamburgerMenuNd-DdmjydJw.cjs +18 -0
  3. package/components/{CasinoHamburgerMenuNd-BbLVzDLA.js → CasinoHamburgerMenuNd-ep4H-dpZ.js} +1093 -1114
  4. package/components/{CasinoHeaderControllerNd-Y0iH2fty.js → CasinoHeaderControllerNd-D38KITGL.js} +94 -94
  5. package/components/{CasinoHeaderControllerNd-DIWidaLF.js → CasinoHeaderControllerNd-D4_LkoEc.js} +96 -96
  6. package/components/{CasinoHeaderControllerNd-BZ4hl5VU.cjs → CasinoHeaderControllerNd-Dm40UqJH.cjs} +1 -1
  7. package/components/PlayerAccountBalanceModalNd-Bgxwmzji.cjs +7 -0
  8. package/components/PlayerAccountBalanceModalNd-CAOi5kwi.js +1459 -0
  9. package/components/PlayerAccountBalanceModalNd-CXu7_baq.js +1430 -0
  10. package/components/{PlayerDeposit-BPhFbd8a.js → PlayerDeposit-B6q03W8S.js} +79 -79
  11. package/components/{PlayerDeposit-DcwySzWb.js → PlayerDeposit-DHz1Js3-.js} +79 -79
  12. package/components/PlayerDeposit-Wsc-kD3R.cjs +1 -0
  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-jADsXxs4.cjs → gamification-dropdown-60536faa-CkmaCt3Q.cjs} +1 -1
  18. package/stencil/{gamification-dropdown-60536faa-CdoDh_iS.js → gamification-dropdown-60536faa-b2-gKj-C.js} +1 -1
  19. package/stencil/{gamification-dropdown-60536faa-ByoQkowS.js → gamification-dropdown-60536faa-fBm4KcQa.js} +1 -1
  20. package/stencil/{gamification-dropdown-DSqqyaTZ.js → gamification-dropdown-C_RDYH6X.js} +1 -1
  21. package/stencil/{gamification-dropdown-CMVnOpVS.js → gamification-dropdown-DCbrhONR.js} +1 -1
  22. package/stencil/{gamification-dropdown-aHzwtOKn.cjs → gamification-dropdown-DVpJIyrY.cjs} +1 -1
  23. package/stencil/{gamification-dropdown_4-0STJmTu3.js → gamification-dropdown_4-C-ULhaax.js} +5 -5
  24. package/stencil/gamification-dropdown_4-CNSh1h1d.cjs +192 -0
  25. package/stencil/{gamification-dropdown_4-Cn2nDa12.js → gamification-dropdown_4-vZb_TDYi.js} +5 -5
  26. package/stencil/index-71b1bdfa-3q2dUmkJ.js +757 -0
  27. package/stencil/{index-71b1bdfa-CqsRB5Zq.js → index-71b1bdfa-BwU-ZobY.js} +268 -264
  28. package/stencil/index-71b1bdfa-S-HUlbq9.cjs +1 -0
  29. package/stencil/{player-elevate-card-D_AqKh09.js → player-elevate-card-BjqJ00gW.js} +2 -2
  30. package/stencil/{player-elevate-card-DV79k_97.js → player-elevate-card-D2SUJfQQ.js} +2 -2
  31. package/stencil/{player-elevate-card-C_bGjWZ4.cjs → player-elevate-card-DouGzeSQ.cjs} +1 -1
  32. package/stencil/player-elevate-card-items-08c6fbd8-B17ziILA.cjs +102 -0
  33. package/stencil/{player-elevate-card-items-08c6fbd8-DDaPFpxz.js → player-elevate-card-items-08c6fbd8-DCezar0T.js} +237 -235
  34. package/stencil/{player-elevate-card-items-08c6fbd8-CKjKj8rt.js → player-elevate-card-items-08c6fbd8-Xsq6w4LE.js} +237 -235
  35. package/stencil/{player-elevate-pointcard-BXLJdcos.js → player-elevate-pointcard-B1bT9eUy.js} +2 -2
  36. package/stencil/{player-elevate-pointcard-vC-WI2he.cjs → player-elevate-pointcard-CGFluXIm.cjs} +1 -1
  37. package/stencil/{player-elevate-pointcard-BAE3Vgzi.js → player-elevate-pointcard-Dh7dRbip.js} +2 -2
  38. package/stencil/{player-rakeback-card-Cj3yH6EJ.js → player-rakeback-card-BfD7gcGR.js} +1 -1
  39. package/stencil/{player-rakeback-card-Ca3Pjwd4.js → player-rakeback-card-DRZs6TNO.js} +1 -1
  40. package/stencil/{player-rakeback-card-DZVQyKwK.cjs → player-rakeback-card-Dm2Xwe4V.cjs} +1 -1
  41. package/components/CasinoHamburgerMenuNd-DAYnP-8N.cjs +0 -18
  42. package/components/PlayerAccountBalanceModalNd-Cygfal3S.js +0 -1459
  43. package/components/PlayerAccountBalanceModalNd-DUPCtK5p.cjs +0 -7
  44. package/components/PlayerAccountBalanceModalNd-ggP_eQuJ.js +0 -1430
  45. package/components/PlayerDeposit-DCiULSav.cjs +0 -1
  46. package/stencil/gamification-dropdown_4-wVf8PnId.cjs +0 -192
  47. package/stencil/index-71b1bdfa-DWJfvSms.js +0 -753
  48. package/stencil/index-71b1bdfa-aT2URAOG.cjs +0 -1
  49. package/stencil/player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs +0 -102
@@ -1,6 +1,6 @@
1
1
  function $() {
2
2
  }
3
- function cn(e, t) {
3
+ function un(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,19 +8,19 @@ function cn(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function pr(e) {
11
+ function fr(e) {
12
12
  return e();
13
13
  }
14
- function Mt() {
14
+ function Tt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function fe(e) {
18
- e.forEach(pr);
17
+ function de(e) {
18
+ e.forEach(fr);
19
19
  }
20
- function yt(e) {
20
+ function mt(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function mr(e, t) {
23
+ function dr(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let Oe;
@@ -30,7 +30,7 @@ function K(e, t) {
30
30
  function hn(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function gr(e, ...t) {
33
+ function mr(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
@@ -39,19 +39,19 @@ function gr(e, ...t) {
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function fn(e, t, r) {
43
- e.$$.on_destroy.push(gr(t, r));
42
+ function cn(e, t, r) {
43
+ e.$$.on_destroy.push(mr(t, r));
44
44
  }
45
- function Yo(e, t, r, n) {
45
+ function qo(e, t, r, n) {
46
46
  if (e) {
47
- const i = br(e, t, r, n);
47
+ const i = gr(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function br(e, t, r, n) {
52
- return e[1] && n ? cn(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function gr(e, t, r, n) {
52
+ return e[1] && n ? un(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function Ko(e, t, r, n) {
54
+ function Jo(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function Ko(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function ea(e, t, r, n, i, o) {
69
+ function Yo(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = br(t, r, n, o);
71
+ const a = gr(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function ta(e) {
75
+ function Ko(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -84,14 +84,14 @@ function ta(e) {
84
84
  function b(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
- function dn(e, t, r) {
88
- const n = pn(e);
87
+ function fn(e, t, r) {
88
+ const n = dn(e);
89
89
  if (!n.getElementById(t)) {
90
90
  const i = v("style");
91
91
  i.id = t, i.textContent = r, mn(n, i);
92
92
  }
93
93
  }
94
- function pn(e) {
94
+ function dn(e) {
95
95
  if (!e)
96
96
  return document;
97
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -114,14 +114,14 @@ function F(e, t, r) {
114
114
  function I(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
- function Ee(e, t) {
117
+ function we(e, t) {
118
118
  for (let r = 0; r < e.length; r += 1)
119
119
  e[r] && e[r].d(t);
120
120
  }
121
121
  function v(e) {
122
122
  return document.createElement(e);
123
123
  }
124
- function At(e) {
124
+ function Ot(e) {
125
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
126
126
  }
127
127
  function ee(e) {
@@ -130,38 +130,38 @@ function ee(e) {
130
130
  function U() {
131
131
  return ee(" ");
132
132
  }
133
- function yr() {
133
+ function pr() {
134
134
  return ee("");
135
135
  }
136
136
  function te(e, t, r, n) {
137
137
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
138
138
  }
139
- function ra(e) {
139
+ function ea(e) {
140
140
  return function(t) {
141
141
  return t.preventDefault(), e.call(this, t);
142
142
  };
143
143
  }
144
- function m(e, t, r) {
144
+ function g(e, t, r) {
145
145
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
146
146
  }
147
- function na(e, t, r) {
147
+ function ta(e, t, r) {
148
148
  const n = t.toLowerCase();
149
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : m(e, t, r);
149
+ 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);
150
150
  }
151
151
  function gn(e) {
152
152
  return Array.from(e.childNodes);
153
153
  }
154
- function de(e, t) {
154
+ function me(e, t) {
155
155
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
156
156
  t);
157
157
  }
158
- function Pt(e, t) {
158
+ function Mt(e, t) {
159
159
  e.value = t ?? "";
160
160
  }
161
- function ia(e, t, r, n) {
161
+ function ra(e, t, r, n) {
162
162
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
163
163
  }
164
- function Lt(e, t, r) {
164
+ function At(e, t, r) {
165
165
  for (let n = 0; n < e.options.length; n += 1) {
166
166
  const i = e.options[n];
167
167
  if (i.__value === t) {
@@ -171,11 +171,11 @@ function Lt(e, t, r) {
171
171
  }
172
172
  (!r || t !== void 0) && (e.selectedIndex = -1);
173
173
  }
174
- function bn(e) {
174
+ function pn(e) {
175
175
  const t = e.querySelector(":checked");
176
176
  return t && t.__value;
177
177
  }
178
- function yn(e) {
178
+ function bn(e) {
179
179
  const t = {};
180
180
  return e.childNodes.forEach(
181
181
  /** @param {Element} node */
@@ -184,142 +184,142 @@ function yn(e) {
184
184
  }
185
185
  ), t;
186
186
  }
187
- let ve;
188
- function ye(e) {
189
- ve = e;
187
+ let _e;
188
+ function ve(e) {
189
+ _e = e;
190
190
  }
191
- function vn() {
192
- if (!ve)
191
+ function yn() {
192
+ if (!_e)
193
193
  throw new Error("Function called outside component initialization");
194
- return ve;
194
+ return _e;
195
195
  }
196
- function _n(e) {
197
- vn().$$.on_mount.push(e);
196
+ function vn(e) {
197
+ yn().$$.on_mount.push(e);
198
198
  }
199
- function oa(e, t) {
199
+ function na(e, t) {
200
200
  const r = e.$$.callbacks[t.type];
201
201
  r && r.slice().forEach((n) => n.call(this, t));
202
202
  }
203
203
  const ae = [], Ne = [];
204
204
  let se = [];
205
- const Bt = [], xn = /* @__PURE__ */ Promise.resolve();
206
- let rt = !1;
207
- function En() {
208
- rt || (rt = !0, xn.then(D));
205
+ const Lt = [], _n = /* @__PURE__ */ Promise.resolve();
206
+ let et = !1;
207
+ function xn() {
208
+ et || (et = !0, _n.then(D));
209
209
  }
210
210
  function Re(e) {
211
211
  se.push(e);
212
212
  }
213
- const Ze = /* @__PURE__ */ new Set();
213
+ const Xe = /* @__PURE__ */ new Set();
214
214
  let ie = 0;
215
215
  function D() {
216
216
  if (ie !== 0)
217
217
  return;
218
- const e = ve;
218
+ const e = _e;
219
219
  do {
220
220
  try {
221
221
  for (; ie < ae.length; ) {
222
222
  const t = ae[ie];
223
- ie++, ye(t), wn(t.$$);
223
+ ie++, ve(t), En(t.$$);
224
224
  }
225
225
  } catch (t) {
226
226
  throw ae.length = 0, ie = 0, t;
227
227
  }
228
- for (ye(null), ae.length = 0, ie = 0; Ne.length; )
228
+ for (ve(null), ae.length = 0, ie = 0; Ne.length; )
229
229
  Ne.pop()();
230
230
  for (let t = 0; t < se.length; t += 1) {
231
231
  const r = se[t];
232
- Ze.has(r) || (Ze.add(r), r());
232
+ Xe.has(r) || (Xe.add(r), r());
233
233
  }
234
234
  se.length = 0;
235
235
  } while (ae.length);
236
- for (; Bt.length; )
237
- Bt.pop()();
238
- rt = !1, Ze.clear(), ye(e);
236
+ for (; Lt.length; )
237
+ Lt.pop()();
238
+ et = !1, Xe.clear(), ve(e);
239
239
  }
240
- function wn(e) {
240
+ function En(e) {
241
241
  if (e.fragment !== null) {
242
- e.update(), fe(e.before_update);
242
+ e.update(), de(e.before_update);
243
243
  const t = e.dirty;
244
244
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
245
245
  }
246
246
  }
247
- function Sn(e) {
247
+ function wn(e) {
248
248
  const t = [], r = [];
249
249
  se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
250
250
  }
251
- const Pe = /* @__PURE__ */ new Set();
252
- let Hn;
253
- function Tn(e, t) {
254
- e && e.i && (Pe.delete(e), e.i(t));
251
+ const Le = /* @__PURE__ */ new Set();
252
+ let Sn;
253
+ function Hn(e, t) {
254
+ e && e.i && (Le.delete(e), e.i(t));
255
255
  }
256
- function aa(e, t, r, n) {
256
+ function ia(e, t, r, n) {
257
257
  if (e && e.o) {
258
- if (Pe.has(e))
258
+ if (Le.has(e))
259
259
  return;
260
- Pe.add(e), Hn.c.push(() => {
261
- Pe.delete(e);
260
+ Le.add(e), Sn.c.push(() => {
261
+ Le.delete(e);
262
262
  }), e.o(t);
263
263
  }
264
264
  }
265
- function q(e) {
265
+ function Q(e) {
266
266
  return e?.length !== void 0 ? e : Array.from(e);
267
267
  }
268
- function On(e, t, r) {
268
+ function Tn(e, t, r) {
269
269
  const { fragment: n, after_update: i } = e.$$;
270
270
  n && n.m(t, r), Re(() => {
271
- const o = e.$$.on_mount.map(pr).filter(yt);
272
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
271
+ const o = e.$$.on_mount.map(fr).filter(mt);
272
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : de(o), e.$$.on_mount = [];
273
273
  }), i.forEach(Re);
274
274
  }
275
- function Mn(e, t) {
275
+ function On(e, t) {
276
276
  const r = e.$$;
277
- r.fragment !== null && (Sn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
277
+ r.fragment !== null && (wn(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
278
278
  }
279
- function An(e, t) {
280
- e.$$.dirty[0] === -1 && (ae.push(e), En(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
279
+ function Mn(e, t) {
280
+ e.$$.dirty[0] === -1 && (ae.push(e), xn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
281
281
  }
282
- function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
283
- const u = ve;
284
- ye(e);
285
- const l = e.$$ = {
282
+ function An(e, t, r, n, i, o, a = null, s = [-1]) {
283
+ const l = _e;
284
+ ve(e);
285
+ const u = e.$$ = {
286
286
  fragment: null,
287
287
  ctx: [],
288
288
  // state
289
289
  props: o,
290
290
  update: $,
291
291
  not_equal: i,
292
- bound: Mt(),
292
+ bound: Tt(),
293
293
  // lifecycle
294
294
  on_mount: [],
295
295
  on_destroy: [],
296
296
  on_disconnect: [],
297
297
  before_update: [],
298
298
  after_update: [],
299
- context: new Map(t.context || (u ? u.$$.context : [])),
299
+ context: new Map(t.context || (l ? l.$$.context : [])),
300
300
  // everything else
301
- callbacks: Mt(),
301
+ callbacks: Tt(),
302
302
  dirty: s,
303
303
  skip_bound: !1,
304
- root: t.target || u.$$.root
304
+ root: t.target || l.$$.root
305
305
  };
306
- a && a(l.root);
307
- let c = !1;
308
- if (l.ctx = r ? r(e, t.props || {}, (h, f, ...p) => {
309
- const g = p.length ? p[0] : f;
310
- return l.ctx && i(l.ctx[h], l.ctx[h] = g) && (!l.skip_bound && l.bound[h] && l.bound[h](g), c && An(e, h)), f;
311
- }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
306
+ a && a(u.root);
307
+ let h = !1;
308
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
309
+ const p = m.length ? m[0] : f;
310
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Mn(e, c)), f;
311
+ }) : [], u.update(), h = !0, de(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
312
312
  if (t.hydrate) {
313
- const h = gn(t.target);
314
- l.fragment && l.fragment.l(h), h.forEach(I);
313
+ const c = gn(t.target);
314
+ u.fragment && u.fragment.l(c), c.forEach(I);
315
315
  } else
316
- l.fragment && l.fragment.c();
317
- t.intro && Tn(e.$$.fragment), On(e, t.target, t.anchor), D();
316
+ u.fragment && u.fragment.c();
317
+ t.intro && Hn(e.$$.fragment), Tn(e, t.target, t.anchor), D();
318
318
  }
319
- ye(u);
319
+ ve(l);
320
320
  }
321
- let vr;
322
- typeof HTMLElement == "function" && (vr = class extends HTMLElement {
321
+ let br;
322
+ typeof HTMLElement == "function" && (br = class extends HTMLElement {
323
323
  /** The Svelte component constructor */
324
324
  $$ctor;
325
325
  /** Slots */
@@ -361,29 +361,29 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
361
361
  let o;
362
362
  return {
363
363
  c: function() {
364
- o = v("slot"), i !== "default" && m(o, "name", i);
364
+ o = v("slot"), i !== "default" && g(o, "name", i);
365
365
  },
366
366
  /**
367
367
  * @param {HTMLElement} target
368
368
  * @param {HTMLElement} [anchor]
369
369
  */
370
- m: function(u, l) {
371
- F(u, o, l);
370
+ m: function(l, u) {
371
+ F(l, o, u);
372
372
  },
373
- d: function(u) {
374
- u && I(o);
373
+ d: function(l) {
374
+ l && I(o);
375
375
  }
376
376
  };
377
377
  };
378
378
  };
379
379
  if (await Promise.resolve(), !this.$$cn || this.$$c)
380
380
  return;
381
- const t = {}, r = yn(this);
381
+ const t = {}, r = bn(this);
382
382
  for (const i of this.$$s)
383
383
  i in r && (t[i] = [e(i)]);
384
384
  for (const i of this.attributes) {
385
385
  const o = this.$$g_p(i.name);
386
- o in this.$$d || (this.$$d[o] = Le(o, i.value, this.$$p_d, "toProp"));
386
+ o in this.$$d || (this.$$d[o] = Be(o, i.value, this.$$p_d, "toProp"));
387
387
  }
388
388
  for (const i in this.$$p_d)
389
389
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -401,7 +401,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
401
401
  this.$$r = !0;
402
402
  for (const i in this.$$p_d)
403
403
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
404
- const o = Le(
404
+ const o = Be(
405
405
  i,
406
406
  this.$$d[i],
407
407
  this.$$p_d,
@@ -423,7 +423,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
423
423
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
424
424
  // and setting attributes through setAttribute etc, this is helpful
425
425
  attributeChangedCallback(e, t, r) {
426
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
426
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
427
427
  }
428
428
  disconnectedCallback() {
429
429
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -436,7 +436,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
436
436
  ) || e;
437
437
  }
438
438
  });
439
- function Le(e, t, r, n) {
439
+ function Be(e, t, r, n) {
440
440
  const i = r[e]?.type;
441
441
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
442
442
  return t;
@@ -466,7 +466,7 @@ function Le(e, t, r, n) {
466
466
  }
467
467
  }
468
468
  function Ln(e, t, r, n, i, o) {
469
- let a = class extends vr {
469
+ let a = class extends br {
470
470
  constructor() {
471
471
  super(e, r, i), this.$$p_d = t;
472
472
  }
@@ -481,8 +481,8 @@ function Ln(e, t, r, n, i, o) {
481
481
  get() {
482
482
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
483
483
  },
484
- set(u) {
485
- u = Le(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
484
+ set(l) {
485
+ l = Be(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
486
486
  }
487
487
  });
488
488
  }), n.forEach((s) => {
@@ -513,7 +513,7 @@ class Bn {
513
513
  $$set = void 0;
514
514
  /** @returns {void} */
515
515
  $destroy() {
516
- Mn(this, 1), this.$destroy = $;
516
+ On(this, 1), this.$destroy = $;
517
517
  }
518
518
  /**
519
519
  * @template {Extract<keyof Events, string>} K
@@ -522,7 +522,7 @@ class Bn {
522
522
  * @returns {() => void}
523
523
  */
524
524
  $on(t, r) {
525
- if (!yt(r))
525
+ if (!mt(r))
526
526
  return $;
527
527
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
528
528
  return n.push(r), () => {
@@ -538,8 +538,8 @@ class Bn {
538
538
  this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
539
539
  }
540
540
  }
541
- const In = "4";
542
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(In);
541
+ const Pn = "4";
542
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
543
543
  /*! *****************************************************************************
544
544
  Copyright (c) Microsoft Corporation.
545
545
 
@@ -554,24 +554,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
554
554
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
555
555
  PERFORMANCE OF THIS SOFTWARE.
556
556
  ***************************************************************************** */
557
- var nt = function(e, t) {
558
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
557
+ var tt = function(e, t) {
558
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
559
559
  r.__proto__ = n;
560
560
  } || function(r, n) {
561
561
  for (var i in n)
562
562
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
563
- }, nt(e, t);
563
+ }, tt(e, t);
564
564
  };
565
- function we(e, t) {
565
+ function q(e, t) {
566
566
  if (typeof t != "function" && t !== null)
567
567
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
568
- nt(e, t);
568
+ tt(e, t);
569
569
  function r() {
570
570
  this.constructor = e;
571
571
  }
572
572
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
573
573
  }
574
- function it(e) {
574
+ var w = function() {
575
+ return w = Object.assign || function(t) {
576
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
577
+ r = arguments[n];
578
+ for (var o in r)
579
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
580
+ }
581
+ return t;
582
+ }, w.apply(this, arguments);
583
+ };
584
+ function In(e, t) {
585
+ var r = {};
586
+ for (var n in e)
587
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
588
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
589
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
590
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
591
+ return r;
592
+ }
593
+ function rt(e) {
575
594
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
576
595
  if (r)
577
596
  return r.call(e);
@@ -583,7 +602,7 @@ function it(e) {
583
602
  };
584
603
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
585
604
  }
586
- function ot(e, t) {
605
+ function nt(e, t) {
587
606
  var r = typeof Symbol == "function" && e[Symbol.iterator];
588
607
  if (!r)
589
608
  return e;
@@ -603,22 +622,22 @@ function ot(e, t) {
603
622
  }
604
623
  return o;
605
624
  }
606
- function at(e, t, r) {
607
- if (arguments.length === 2)
625
+ function le(e, t, r) {
626
+ if (r || arguments.length === 2)
608
627
  for (var n = 0, i = t.length, o; n < i; n++)
609
628
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
610
629
  return e.concat(o || t);
611
630
  }
612
- function Q(e) {
631
+ function Z(e) {
613
632
  return typeof e == "function";
614
633
  }
615
- function _r(e) {
634
+ function yr(e) {
616
635
  var t = function(n) {
617
636
  Error.call(n), n.stack = new Error().stack;
618
637
  }, r = e(t);
619
638
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
620
639
  }
621
- var Qe = _r(function(e) {
640
+ var ze = yr(function(e) {
622
641
  return function(r) {
623
642
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
624
643
  ` + r.map(function(n, i) {
@@ -627,13 +646,13 @@ var Qe = _r(function(e) {
627
646
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
628
647
  };
629
648
  });
630
- function st(e, t) {
649
+ function it(e, t) {
631
650
  if (e) {
632
651
  var r = e.indexOf(t);
633
652
  0 <= r && e.splice(r, 1);
634
653
  }
635
654
  }
636
- var ke = function() {
655
+ var De = function() {
637
656
  function e(t) {
638
657
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
639
658
  }
@@ -645,15 +664,15 @@ var ke = function() {
645
664
  if (a)
646
665
  if (this._parentage = null, Array.isArray(a))
647
666
  try {
648
- for (var s = it(a), u = s.next(); !u.done; u = s.next()) {
649
- var l = u.value;
650
- l.remove(this);
667
+ for (var s = rt(a), l = s.next(); !l.done; l = s.next()) {
668
+ var u = l.value;
669
+ u.remove(this);
651
670
  }
652
671
  } catch (y) {
653
672
  t = { error: y };
654
673
  } finally {
655
674
  try {
656
- u && !u.done && (r = s.return) && r.call(s);
675
+ l && !l.done && (r = s.return) && r.call(s);
657
676
  } finally {
658
677
  if (t)
659
678
  throw t.error;
@@ -661,30 +680,30 @@ var ke = function() {
661
680
  }
662
681
  else
663
682
  a.remove(this);
664
- var c = this.initialTeardown;
665
- if (Q(c))
683
+ var h = this.initialTeardown;
684
+ if (Z(h))
666
685
  try {
667
- c();
686
+ h();
668
687
  } catch (y) {
669
- o = y instanceof Qe ? y.errors : [y];
688
+ o = y instanceof ze ? y.errors : [y];
670
689
  }
671
- var h = this._finalizers;
672
- if (h) {
690
+ var c = this._finalizers;
691
+ if (c) {
673
692
  this._finalizers = null;
674
693
  try {
675
- for (var f = it(h), p = f.next(); !p.done; p = f.next()) {
676
- var g = p.value;
694
+ for (var f = rt(c), m = f.next(); !m.done; m = f.next()) {
695
+ var p = m.value;
677
696
  try {
678
- It(g);
697
+ Bt(p);
679
698
  } catch (y) {
680
- o = o ?? [], y instanceof Qe ? o = at(at([], ot(o)), ot(y.errors)) : o.push(y);
699
+ o = o ?? [], y instanceof ze ? o = le(le([], nt(o)), nt(y.errors)) : o.push(y);
681
700
  }
682
701
  }
683
702
  } catch (y) {
684
703
  n = { error: y };
685
704
  } finally {
686
705
  try {
687
- p && !p.done && (i = f.return) && i.call(f);
706
+ m && !m.done && (i = f.return) && i.call(f);
688
707
  } finally {
689
708
  if (n)
690
709
  throw n.error;
@@ -692,13 +711,13 @@ var ke = function() {
692
711
  }
693
712
  }
694
713
  if (o)
695
- throw new Qe(o);
714
+ throw new ze(o);
696
715
  }
697
716
  }, e.prototype.add = function(t) {
698
717
  var r;
699
718
  if (t && t !== this)
700
719
  if (this.closed)
701
- It(t);
720
+ Bt(t);
702
721
  else {
703
722
  if (t instanceof e) {
704
723
  if (t.closed || t._hasParent(this))
@@ -715,52 +734,56 @@ var ke = function() {
715
734
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
716
735
  }, e.prototype._removeParent = function(t) {
717
736
  var r = this._parentage;
718
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
737
+ r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
719
738
  }, e.prototype.remove = function(t) {
720
739
  var r = this._finalizers;
721
- r && st(r, t), t instanceof e && t._removeParent(this);
740
+ r && it(r, t), t instanceof e && t._removeParent(this);
722
741
  }, e.EMPTY = function() {
723
742
  var t = new e();
724
743
  return t.closed = !0, t;
725
744
  }(), e;
726
- }(), xr = ke.EMPTY;
727
- function Er(e) {
728
- return e instanceof ke || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
729
- }
730
- function It(e) {
731
- Q(e) ? e() : e.unsubscribe();
732
- }
733
- var Cn = {
734
- Promise: void 0
735
- }, Nn = {
745
+ }(), vr = De.EMPTY;
746
+ function _r(e) {
747
+ return e instanceof De || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
748
+ }
749
+ function Bt(e) {
750
+ Z(e) ? e() : e.unsubscribe();
751
+ }
752
+ var xr = {
753
+ onUnhandledError: null,
754
+ onStoppedNotification: null,
755
+ Promise: void 0,
756
+ useDeprecatedSynchronousErrorHandling: !1,
757
+ useDeprecatedNextContext: !1
758
+ }, Cn = {
736
759
  setTimeout: function(e, t) {
737
760
  for (var r = [], n = 2; n < arguments.length; n++)
738
761
  r[n - 2] = arguments[n];
739
- return setTimeout.apply(void 0, at([e, t], ot(r)));
762
+ return setTimeout.apply(void 0, le([e, t], nt(r)));
740
763
  },
741
764
  clearTimeout: function(e) {
742
765
  return clearTimeout(e);
743
766
  },
744
767
  delegate: void 0
745
768
  };
746
- function Rn(e) {
747
- Nn.setTimeout(function() {
769
+ function Nn(e) {
770
+ Cn.setTimeout(function() {
748
771
  throw e;
749
772
  });
750
773
  }
751
- function Ct() {
774
+ function Pt() {
752
775
  }
753
- function Be(e) {
776
+ function Pe(e) {
754
777
  e();
755
778
  }
756
- var wr = function(e) {
757
- we(t, e);
779
+ var Er = function(e) {
780
+ q(t, e);
758
781
  function t(r) {
759
782
  var n = e.call(this) || this;
760
- return n.isStopped = !1, r ? (n.destination = r, Er(r) && r.add(n)) : n.destination = Dn, n;
783
+ return n.isStopped = !1, r ? (n.destination = r, _r(r) && r.add(n)) : n.destination = Dn, n;
761
784
  }
762
785
  return t.create = function(r, n, i) {
763
- return new ut(r, n, i);
786
+ return new ot(r, n, i);
764
787
  }, t.prototype.next = function(r) {
765
788
  this.isStopped || this._next(r);
766
789
  }, t.prototype.error = function(r) {
@@ -784,7 +807,11 @@ var wr = function(e) {
784
807
  this.unsubscribe();
785
808
  }
786
809
  }, t;
787
- }(ke), Un = function() {
810
+ }(De), Rn = Function.prototype.bind;
811
+ function Ze(e, t) {
812
+ return Rn.call(e, t);
813
+ }
814
+ var Un = function() {
788
815
  function e(t) {
789
816
  this.partialObserver = t;
790
817
  }
@@ -815,29 +842,41 @@ var wr = function(e) {
815
842
  Me(r);
816
843
  }
817
844
  }, e;
818
- }(), ut = function(e) {
819
- we(t, e);
845
+ }(), ot = function(e) {
846
+ q(t, e);
820
847
  function t(r, n, i) {
821
848
  var o = e.call(this) || this, a;
822
- return Q(r) || !r ? a = {
823
- next: r ?? void 0,
824
- error: n ?? void 0,
825
- complete: i ?? void 0
826
- } : a = r, o.destination = new Un(a), o;
849
+ if (Z(r) || !r)
850
+ a = {
851
+ next: r ?? void 0,
852
+ error: n ?? void 0,
853
+ complete: i ?? void 0
854
+ };
855
+ else {
856
+ var s;
857
+ o && xr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
858
+ return o.unsubscribe();
859
+ }, a = {
860
+ next: r.next && Ze(r.next, s),
861
+ error: r.error && Ze(r.error, s),
862
+ complete: r.complete && Ze(r.complete, s)
863
+ }) : a = r;
864
+ }
865
+ return o.destination = new Un(a), o;
827
866
  }
828
867
  return t;
829
- }(wr);
868
+ }(Er);
830
869
  function Me(e) {
831
- Rn(e);
870
+ Nn(e);
832
871
  }
833
872
  function Fn(e) {
834
873
  throw e;
835
874
  }
836
875
  var Dn = {
837
876
  closed: !0,
838
- next: Ct,
877
+ next: Pt,
839
878
  error: Fn,
840
- complete: Ct
879
+ complete: Pt
841
880
  }, kn = function() {
842
881
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
843
882
  }();
@@ -851,7 +890,7 @@ function $n(e) {
851
890
  }, r);
852
891
  };
853
892
  }
854
- var Nt = function() {
893
+ var It = function() {
855
894
  function e(t) {
856
895
  t && (this._subscribe = t);
857
896
  }
@@ -859,10 +898,10 @@ var Nt = function() {
859
898
  var r = new e();
860
899
  return r.source = this, r.operator = t, r;
861
900
  }, e.prototype.subscribe = function(t, r, n) {
862
- var i = this, o = Wn(t) ? t : new ut(t, r, n);
863
- return Be(function() {
864
- var a = i, s = a.operator, u = a.source;
865
- o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
901
+ var i = this, o = Wn(t) ? t : new ot(t, r, n);
902
+ return Pe(function() {
903
+ var a = i, s = a.operator, l = a.source;
904
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
866
905
  }), o;
867
906
  }, e.prototype._trySubscribe = function(t) {
868
907
  try {
@@ -872,13 +911,13 @@ var Nt = function() {
872
911
  }
873
912
  }, e.prototype.forEach = function(t, r) {
874
913
  var n = this;
875
- return r = Rt(r), new r(function(i, o) {
876
- var a = new ut({
914
+ return r = Ct(r), new r(function(i, o) {
915
+ var a = new ot({
877
916
  next: function(s) {
878
917
  try {
879
918
  t(s);
880
- } catch (u) {
881
- o(u), a.unsubscribe();
919
+ } catch (l) {
920
+ o(l), a.unsubscribe();
882
921
  }
883
922
  },
884
923
  error: o,
@@ -897,7 +936,7 @@ var Nt = function() {
897
936
  return $n(t)(this);
898
937
  }, e.prototype.toPromise = function(t) {
899
938
  var r = this;
900
- return t = Rt(t), new t(function(n, i) {
939
+ return t = Ct(t), new t(function(n, i) {
901
940
  var o;
902
941
  r.subscribe(function(a) {
903
942
  return o = a;
@@ -911,45 +950,45 @@ var Nt = function() {
911
950
  return new e(t);
912
951
  }, e;
913
952
  }();
914
- function Rt(e) {
953
+ function Ct(e) {
915
954
  var t;
916
- return (t = e ?? Cn.Promise) !== null && t !== void 0 ? t : Promise;
955
+ return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
917
956
  }
918
957
  function jn(e) {
919
- return e && Q(e.next) && Q(e.error) && Q(e.complete);
958
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
920
959
  }
921
960
  function Wn(e) {
922
- return e && e instanceof wr || jn(e) && Er(e);
961
+ return e && e instanceof Er || jn(e) && _r(e);
923
962
  }
924
- var Vn = _r(function(e) {
963
+ var Vn = yr(function(e) {
925
964
  return function() {
926
965
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
927
966
  };
928
- }), Sr = function(e) {
929
- we(t, e);
967
+ }), wr = function(e) {
968
+ q(t, e);
930
969
  function t() {
931
970
  var r = e.call(this) || this;
932
971
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
933
972
  }
934
973
  return t.prototype.lift = function(r) {
935
- var n = new Ut(this, this);
974
+ var n = new Nt(this, this);
936
975
  return n.operator = r, n;
937
976
  }, t.prototype._throwIfClosed = function() {
938
977
  if (this.closed)
939
978
  throw new Vn();
940
979
  }, t.prototype.next = function(r) {
941
980
  var n = this;
942
- Be(function() {
981
+ Pe(function() {
943
982
  var i, o;
944
983
  if (n._throwIfClosed(), !n.isStopped) {
945
984
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
946
985
  try {
947
- for (var a = it(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
948
- var u = s.value;
949
- u.next(r);
986
+ for (var a = rt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
987
+ var l = s.value;
988
+ l.next(r);
950
989
  }
951
- } catch (l) {
952
- i = { error: l };
990
+ } catch (u) {
991
+ i = { error: u };
953
992
  } finally {
954
993
  try {
955
994
  s && !s.done && (o = a.return) && o.call(a);
@@ -962,7 +1001,7 @@ var Vn = _r(function(e) {
962
1001
  });
963
1002
  }, t.prototype.error = function(r) {
964
1003
  var n = this;
965
- Be(function() {
1004
+ Pe(function() {
966
1005
  if (n._throwIfClosed(), !n.isStopped) {
967
1006
  n.hasError = n.isStopped = !0, n.thrownError = r;
968
1007
  for (var i = n.observers; i.length; )
@@ -971,7 +1010,7 @@ var Vn = _r(function(e) {
971
1010
  });
972
1011
  }, t.prototype.complete = function() {
973
1012
  var r = this;
974
- Be(function() {
1013
+ Pe(function() {
975
1014
  if (r._throwIfClosed(), !r.isStopped) {
976
1015
  r.isStopped = !0;
977
1016
  for (var n = r.observers; n.length; )
@@ -993,20 +1032,20 @@ var Vn = _r(function(e) {
993
1032
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
994
1033
  }, t.prototype._innerSubscribe = function(r) {
995
1034
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
996
- return o || a ? xr : (this.currentObservers = null, s.push(r), new ke(function() {
997
- n.currentObservers = null, st(s, r);
1035
+ return o || a ? vr : (this.currentObservers = null, s.push(r), new De(function() {
1036
+ n.currentObservers = null, it(s, r);
998
1037
  }));
999
1038
  }, t.prototype._checkFinalizedStatuses = function(r) {
1000
1039
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1001
1040
  i ? r.error(o) : a && r.complete();
1002
1041
  }, t.prototype.asObservable = function() {
1003
- var r = new Nt();
1042
+ var r = new It();
1004
1043
  return r.source = this, r;
1005
1044
  }, t.create = function(r, n) {
1006
- return new Ut(r, n);
1045
+ return new Nt(r, n);
1007
1046
  }, t;
1008
- }(Nt), Ut = function(e) {
1009
- we(t, e);
1047
+ }(It), Nt = function(e) {
1048
+ q(t, e);
1010
1049
  function t(r, n) {
1011
1050
  var i = e.call(this) || this;
1012
1051
  return i.destination = r, i.source = n, i;
@@ -1022,60 +1061,60 @@ var Vn = _r(function(e) {
1022
1061
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1023
1062
  }, t.prototype._subscribe = function(r) {
1024
1063
  var n, i;
1025
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xr;
1064
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : vr;
1026
1065
  }, t;
1027
- }(Sr), Hr = {
1066
+ }(wr), Sr = {
1028
1067
  now: function() {
1029
- return (Hr.delegate || Date).now();
1068
+ return (Sr.delegate || Date).now();
1030
1069
  },
1031
1070
  delegate: void 0
1032
1071
  }, Xn = function(e) {
1033
- we(t, e);
1072
+ q(t, e);
1034
1073
  function t(r, n, i) {
1035
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Hr);
1074
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Sr);
1036
1075
  var o = e.call(this) || this;
1037
1076
  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;
1038
1077
  }
1039
1078
  return t.prototype.next = function(r) {
1040
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
1041
- i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1079
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1080
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1042
1081
  }, t.prototype._subscribe = function(r) {
1043
1082
  this._throwIfClosed(), this._trimBuffer();
1044
- 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)
1045
- r.next(s[u]);
1083
+ 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)
1084
+ r.next(s[l]);
1046
1085
  return this._checkFinalizedStatuses(r), n;
1047
1086
  }, t.prototype._trimBuffer = function() {
1048
1087
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1049
1088
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1050
- for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
1051
- l = c;
1052
- l && o.splice(0, l + 1);
1089
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1090
+ u = h;
1091
+ u && o.splice(0, u + 1);
1053
1092
  }
1054
1093
  }, t;
1055
- }(Sr);
1056
- const Ft = [], Dt = {}, zn = (e, t = 0) => {
1057
- if (Ft.indexOf(e) == -1) {
1094
+ }(wr);
1095
+ const Rt = [], Ut = {}, zn = (e, t = 0) => {
1096
+ if (Rt.indexOf(e) == -1) {
1058
1097
  const r = new Xn(t);
1059
- Dt[e] = r, Ft.push(e);
1098
+ Ut[e] = r, Rt.push(e);
1060
1099
  }
1061
- return Dt[e];
1100
+ return Ut[e];
1062
1101
  }, oe = [];
1063
1102
  function Zn(e, t) {
1064
1103
  return {
1065
- subscribe: Ge(e, t).subscribe
1104
+ subscribe: ke(e, t).subscribe
1066
1105
  };
1067
1106
  }
1068
- function Ge(e, t = $) {
1107
+ function ke(e, t = $) {
1069
1108
  let r;
1070
1109
  const n = /* @__PURE__ */ new Set();
1071
1110
  function i(s) {
1072
- if (mr(e, s) && (e = s, r)) {
1073
- const u = !oe.length;
1074
- for (const l of n)
1075
- l[1](), oe.push(l, e);
1076
- if (u) {
1077
- for (let l = 0; l < oe.length; l += 2)
1078
- oe[l][0](oe[l + 1]);
1111
+ if (dr(e, s) && (e = s, r)) {
1112
+ const l = !oe.length;
1113
+ for (const u of n)
1114
+ u[1](), oe.push(u, e);
1115
+ if (l) {
1116
+ for (let u = 0; u < oe.length; u += 2)
1117
+ oe[u][0](oe[u + 1]);
1079
1118
  oe.length = 0;
1080
1119
  }
1081
1120
  }
@@ -1083,46 +1122,46 @@ function Ge(e, t = $) {
1083
1122
  function o(s) {
1084
1123
  i(s(e));
1085
1124
  }
1086
- function a(s, u = $) {
1087
- const l = [s, u];
1088
- return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1089
- n.delete(l), n.size === 0 && r && (r(), r = null);
1125
+ function a(s, l = $) {
1126
+ const u = [s, l];
1127
+ return n.add(u), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1128
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1090
1129
  };
1091
1130
  }
1092
1131
  return { set: i, update: o, subscribe: a };
1093
1132
  }
1094
- function pe(e, t, r) {
1133
+ function ge(e, t, r) {
1095
1134
  const n = !Array.isArray(e), i = n ? [e] : e;
1096
1135
  if (!i.every(Boolean))
1097
1136
  throw new Error("derived() expects stores as input, got a falsy value");
1098
1137
  const o = t.length < 2;
1099
1138
  return Zn(r, (a, s) => {
1100
- let u = !1;
1101
- const l = [];
1102
- let c = 0, h = $;
1139
+ let l = !1;
1140
+ const u = [];
1141
+ let h = 0, c = $;
1103
1142
  const f = () => {
1104
- if (c)
1143
+ if (h)
1105
1144
  return;
1106
- h();
1107
- const g = t(n ? l[0] : l, a, s);
1108
- o ? a(g) : h = yt(g) ? g : $;
1109
- }, p = i.map(
1110
- (g, y) => gr(
1111
- g,
1112
- (w) => {
1113
- l[y] = w, c &= ~(1 << y), u && f();
1145
+ c();
1146
+ const p = t(n ? u[0] : u, a, s);
1147
+ o ? a(p) : c = mt(p) ? p : $;
1148
+ }, m = i.map(
1149
+ (p, y) => mr(
1150
+ p,
1151
+ (S) => {
1152
+ u[y] = S, h &= ~(1 << y), l && f();
1114
1153
  },
1115
1154
  () => {
1116
- c |= 1 << y;
1155
+ h |= 1 << y;
1117
1156
  }
1118
1157
  )
1119
1158
  );
1120
- return u = !0, f(), function() {
1121
- fe(p), h(), u = !1;
1159
+ return l = !0, f(), function() {
1160
+ de(m), c(), l = !1;
1122
1161
  };
1123
1162
  });
1124
1163
  }
1125
- var sa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1164
+ var oa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1126
1165
  function Qn(e) {
1127
1166
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1128
1167
  }
@@ -1143,12 +1182,12 @@ function ti(e) {
1143
1182
  function ri(e) {
1144
1183
  return Array.isArray(e) ? [] : {};
1145
1184
  }
1146
- function _e(e, t) {
1185
+ function xe(e, t) {
1147
1186
  return t.clone !== !1 && t.isMergeableObject(e) ? ue(ri(e), e, t) : e;
1148
1187
  }
1149
1188
  function ni(e, t, r) {
1150
1189
  return e.concat(t).map(function(n) {
1151
- return _e(n, r);
1190
+ return xe(n, r);
1152
1191
  });
1153
1192
  }
1154
1193
  function ii(e, t) {
@@ -1162,10 +1201,10 @@ function oi(e) {
1162
1201
  return Object.propertyIsEnumerable.call(e, t);
1163
1202
  }) : [];
1164
1203
  }
1165
- function kt(e) {
1204
+ function Ft(e) {
1166
1205
  return Object.keys(e).concat(oi(e));
1167
1206
  }
1168
- function Tr(e, t) {
1207
+ function Hr(e, t) {
1169
1208
  try {
1170
1209
  return t in e;
1171
1210
  } catch {
@@ -1173,20 +1212,20 @@ function Tr(e, t) {
1173
1212
  }
1174
1213
  }
1175
1214
  function ai(e, t) {
1176
- return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1215
+ return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1177
1216
  }
1178
1217
  function si(e, t, r) {
1179
1218
  var n = {};
1180
- return r.isMergeableObject(e) && kt(e).forEach(function(i) {
1181
- n[i] = _e(e[i], r);
1182
- }), kt(t).forEach(function(i) {
1183
- ai(e, i) || (Tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
1219
+ return r.isMergeableObject(e) && Ft(e).forEach(function(i) {
1220
+ n[i] = xe(e[i], r);
1221
+ }), Ft(t).forEach(function(i) {
1222
+ ai(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
1184
1223
  }), n;
1185
1224
  }
1186
1225
  function ue(e, t, r) {
1187
- r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = _e;
1226
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = xe;
1188
1227
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1189
- return o ? n ? r.arrayMerge(e, t, r) : si(e, t, r) : _e(t, r);
1228
+ return o ? n ? r.arrayMerge(e, t, r) : si(e, t, r) : xe(t, r);
1190
1229
  }
1191
1230
  ue.all = function(t, r) {
1192
1231
  if (!Array.isArray(t))
@@ -1195,157 +1234,107 @@ ue.all = function(t, r) {
1195
1234
  return ue(n, i, r);
1196
1235
  }, {});
1197
1236
  };
1198
- var ui = ue, li = ui;
1199
- const ci = /* @__PURE__ */ Qn(li);
1200
- var lt = function(e, t) {
1201
- return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1202
- r.__proto__ = n;
1203
- } || function(r, n) {
1204
- for (var i in n)
1205
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1206
- }, lt(e, t);
1207
- };
1208
- function $e(e, t) {
1209
- if (typeof t != "function" && t !== null)
1210
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1211
- lt(e, t);
1212
- function r() {
1213
- this.constructor = e;
1214
- }
1215
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1216
- }
1217
- var X = function() {
1218
- return X = Object.assign || function(t) {
1219
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1220
- r = arguments[n];
1221
- for (var o in r)
1222
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1223
- }
1224
- return t;
1225
- }, X.apply(this, arguments);
1226
- };
1227
- function hi(e, t) {
1228
- var r = {};
1229
- for (var n in e)
1230
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1231
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1232
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1233
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1234
- return r;
1235
- }
1236
- function qe(e, t, r) {
1237
- if (r || arguments.length === 2)
1238
- for (var n = 0, i = t.length, o; n < i; n++)
1239
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1240
- return e.concat(o || Array.prototype.slice.call(t));
1241
- }
1242
- function Je(e, t) {
1243
- var r = t && t.cache ? t.cache : yi, n = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : pi;
1237
+ var li = ue, ui = li;
1238
+ const hi = /* @__PURE__ */ Qn(ui);
1239
+ function Qe(e, t) {
1240
+ var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : fi;
1244
1241
  return i(e, {
1245
1242
  cache: r,
1246
1243
  serializer: n
1247
1244
  });
1248
1245
  }
1249
- function fi(e) {
1246
+ function ci(e) {
1250
1247
  return e == null || typeof e == "number" || typeof e == "boolean";
1251
1248
  }
1252
- function di(e, t, r, n) {
1253
- var i = fi(n) ? n : r(n), o = t.get(i);
1249
+ function Tr(e, t, r, n) {
1250
+ var i = ci(n) ? n : r(n), o = t.get(i);
1254
1251
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1255
1252
  }
1256
1253
  function Or(e, t, r) {
1257
1254
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1258
1255
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1259
1256
  }
1260
- function Mr(e, t, r, n, i) {
1257
+ function gt(e, t, r, n, i) {
1261
1258
  return r.bind(t, e, n, i);
1262
1259
  }
1263
- function pi(e, t) {
1264
- var r = e.length === 1 ? di : Or;
1265
- return Mr(e, this, r, t.cache.create(), t.serializer);
1260
+ function fi(e, t) {
1261
+ var r = e.length === 1 ? Tr : Or;
1262
+ return gt(e, this, r, t.cache.create(), t.serializer);
1263
+ }
1264
+ function di(e, t) {
1265
+ return gt(e, this, Or, t.cache.create(), t.serializer);
1266
1266
  }
1267
1267
  function mi(e, t) {
1268
- return Mr(e, this, Or, t.cache.create(), t.serializer);
1268
+ return gt(e, this, Tr, t.cache.create(), t.serializer);
1269
1269
  }
1270
1270
  var gi = function() {
1271
1271
  return JSON.stringify(arguments);
1272
- }, bi = (
1273
- /** @class */
1274
- function() {
1275
- function e() {
1276
- this.cache = /* @__PURE__ */ Object.create(null);
1277
- }
1278
- return e.prototype.get = function(t) {
1279
- return this.cache[t];
1280
- }, e.prototype.set = function(t, r) {
1281
- this.cache[t] = r;
1282
- }, e;
1283
- }()
1284
- ), yi = {
1272
+ };
1273
+ function pt() {
1274
+ this.cache = /* @__PURE__ */ Object.create(null);
1275
+ }
1276
+ pt.prototype.get = function(e) {
1277
+ return this.cache[e];
1278
+ };
1279
+ pt.prototype.set = function(e, t) {
1280
+ this.cache[e] = t;
1281
+ };
1282
+ var pi = {
1285
1283
  create: function() {
1286
- return new bi();
1284
+ return new pt();
1287
1285
  }
1288
- }, Ye = {
1289
- variadic: mi
1290
- }, Ue = function() {
1291
- return Ue = Object.assign || function(t) {
1292
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1293
- r = arguments[n];
1294
- for (var o in r)
1295
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1296
- }
1297
- return t;
1298
- }, Ue.apply(this, arguments);
1299
- };
1300
- var _;
1286
+ }, qe = {
1287
+ variadic: di,
1288
+ monadic: mi
1289
+ }, _;
1301
1290
  (function(e) {
1302
1291
  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";
1303
1292
  })(_ || (_ = {}));
1304
- var T;
1293
+ var O;
1305
1294
  (function(e) {
1306
1295
  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";
1307
- })(T || (T = {}));
1308
- var le;
1296
+ })(O || (O = {}));
1297
+ var he;
1309
1298
  (function(e) {
1310
1299
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1311
- })(le || (le = {}));
1312
- function Gt(e) {
1313
- return e.type === T.literal;
1300
+ })(he || (he = {}));
1301
+ function Dt(e) {
1302
+ return e.type === O.literal;
1314
1303
  }
1315
- function vi(e) {
1316
- return e.type === T.argument;
1304
+ function bi(e) {
1305
+ return e.type === O.argument;
1317
1306
  }
1318
- function Ar(e) {
1319
- return e.type === T.number;
1307
+ function Mr(e) {
1308
+ return e.type === O.number;
1320
1309
  }
1321
- function Pr(e) {
1322
- return e.type === T.date;
1310
+ function Ar(e) {
1311
+ return e.type === O.date;
1323
1312
  }
1324
1313
  function Lr(e) {
1325
- return e.type === T.time;
1314
+ return e.type === O.time;
1326
1315
  }
1327
1316
  function Br(e) {
1328
- return e.type === T.select;
1317
+ return e.type === O.select;
1329
1318
  }
1330
- function Ir(e) {
1331
- return e.type === T.plural;
1319
+ function Pr(e) {
1320
+ return e.type === O.plural;
1332
1321
  }
1333
- function _i(e) {
1334
- return e.type === T.pound;
1322
+ function yi(e) {
1323
+ return e.type === O.pound;
1335
1324
  }
1336
- function Cr(e) {
1337
- return e.type === T.tag;
1325
+ function Ir(e) {
1326
+ return e.type === O.tag;
1338
1327
  }
1339
- function Nr(e) {
1340
- return !!(e && typeof e == "object" && e.type === le.number);
1328
+ function Cr(e) {
1329
+ return !!(e && typeof e == "object" && e.type === he.number);
1341
1330
  }
1342
- function ct(e) {
1343
- return !!(e && typeof e == "object" && e.type === le.dateTime);
1331
+ function at(e) {
1332
+ return !!(e && typeof e == "object" && e.type === he.dateTime);
1344
1333
  }
1345
- var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
1346
- function Ei(e) {
1334
+ var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1335
+ function _i(e) {
1347
1336
  var t = {};
1348
- return e.replace(xi, function(r) {
1337
+ return e.replace(vi, function(r) {
1349
1338
  var n = r.length;
1350
1339
  switch (r[0]) {
1351
1340
  case "G":
@@ -1434,46 +1423,36 @@ function Ei(e) {
1434
1423
  return "";
1435
1424
  }), t;
1436
1425
  }
1437
- var A = function() {
1438
- return A = Object.assign || function(t) {
1439
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1440
- r = arguments[n];
1441
- for (var o in r)
1442
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1443
- }
1444
- return t;
1445
- }, A.apply(this, arguments);
1446
- };
1447
- var wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1448
- function Si(e) {
1426
+ var xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1427
+ function Ei(e) {
1449
1428
  if (e.length === 0)
1450
1429
  throw new Error("Number skeleton cannot be empty");
1451
- for (var t = e.split(wi).filter(function(f) {
1430
+ for (var t = e.split(xi).filter(function(f) {
1452
1431
  return f.length > 0;
1453
1432
  }), r = [], n = 0, i = t; n < i.length; n++) {
1454
1433
  var o = i[n], a = o.split("/");
1455
1434
  if (a.length === 0)
1456
1435
  throw new Error("Invalid number skeleton");
1457
- for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1458
- var h = c[l];
1459
- if (h.length === 0)
1436
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1437
+ var c = h[u];
1438
+ if (c.length === 0)
1460
1439
  throw new Error("Invalid number skeleton");
1461
1440
  }
1462
- r.push({ stem: s, options: u });
1441
+ r.push({ stem: s, options: l });
1463
1442
  }
1464
1443
  return r;
1465
1444
  }
1466
- function Hi(e) {
1445
+ function wi(e) {
1467
1446
  return e.replace(/^(.*?)-/, "");
1468
1447
  }
1469
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, Ti = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
1470
- function jt(e) {
1448
+ var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
1449
+ function Gt(e) {
1471
1450
  var t = {};
1472
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, n, i) {
1451
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
1473
1452
  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)), "";
1474
1453
  }), t;
1475
1454
  }
1476
- function Dr(e) {
1455
+ function Fr(e) {
1477
1456
  switch (e) {
1478
1457
  case "sign-auto":
1479
1458
  return {
@@ -1513,7 +1492,7 @@ function Dr(e) {
1513
1492
  };
1514
1493
  }
1515
1494
  }
1516
- function Oi(e) {
1495
+ function Hi(e) {
1517
1496
  var t;
1518
1497
  if (e[0] === "E" && e[1] === "E" ? (t = {
1519
1498
  notation: "engineering"
@@ -1521,17 +1500,17 @@ function Oi(e) {
1521
1500
  notation: "scientific"
1522
1501
  }, e = e.slice(1)), t) {
1523
1502
  var r = e.slice(0, 2);
1524
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
1503
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.test(e))
1525
1504
  throw new Error("Malformed concise eng/scientific notation");
1526
1505
  t.minimumIntegerDigits = e.length;
1527
1506
  }
1528
1507
  return t;
1529
1508
  }
1530
- function Wt(e) {
1531
- var t = {}, r = Dr(e);
1509
+ function $t(e) {
1510
+ var t = {}, r = Fr(e);
1532
1511
  return r || t;
1533
1512
  }
1534
- function Mi(e) {
1513
+ function Ti(e) {
1535
1514
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1536
1515
  var i = n[r];
1537
1516
  switch (i.stem) {
@@ -1555,7 +1534,7 @@ function Mi(e) {
1555
1534
  continue;
1556
1535
  case "measure-unit":
1557
1536
  case "unit":
1558
- t.style = "unit", t.unit = Hi(i.options[0]);
1537
+ t.style = "unit", t.unit = wi(i.options[0]);
1559
1538
  continue;
1560
1539
  case "compact-short":
1561
1540
  case "K":
@@ -1566,13 +1545,13 @@ function Mi(e) {
1566
1545
  t.notation = "compact", t.compactDisplay = "long";
1567
1546
  continue;
1568
1547
  case "scientific":
1569
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1570
- return A(A({}, u), Wt(l));
1548
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1549
+ return w(w({}, l), $t(u));
1571
1550
  }, {}));
1572
1551
  continue;
1573
1552
  case "engineering":
1574
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1575
- return A(A({}, u), Wt(l));
1553
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1554
+ return w(w({}, l), $t(u));
1576
1555
  }, {}));
1577
1556
  continue;
1578
1557
  case "notation-simple":
@@ -1617,41 +1596,41 @@ function Mi(e) {
1617
1596
  case "integer-width":
1618
1597
  if (i.options.length > 1)
1619
1598
  throw new RangeError("integer-width stems only accept a single optional option");
1620
- i.options[0].replace(Ti, function(u, l, c, h, f, p) {
1621
- if (l)
1622
- t.minimumIntegerDigits = c.length;
1599
+ i.options[0].replace(Si, function(l, u, h, c, f, m) {
1600
+ if (u)
1601
+ t.minimumIntegerDigits = h.length;
1623
1602
  else {
1624
- if (h && f)
1603
+ if (c && f)
1625
1604
  throw new Error("We currently do not support maximum integer digits");
1626
- if (p)
1605
+ if (m)
1627
1606
  throw new Error("We currently do not support exact integer digits");
1628
1607
  }
1629
1608
  return "";
1630
1609
  });
1631
1610
  continue;
1632
1611
  }
1633
- if (Fr.test(i.stem)) {
1612
+ if (Ur.test(i.stem)) {
1634
1613
  t.minimumIntegerDigits = i.stem.length;
1635
1614
  continue;
1636
1615
  }
1637
- if ($t.test(i.stem)) {
1616
+ if (kt.test(i.stem)) {
1638
1617
  if (i.options.length > 1)
1639
1618
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1640
- i.stem.replace($t, function(u, l, c, h, f, p) {
1641
- 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), "";
1619
+ i.stem.replace(kt, function(l, u, h, c, f, m) {
1620
+ 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), "";
1642
1621
  });
1643
1622
  var o = i.options[0];
1644
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), jt(o)));
1623
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Gt(o)));
1645
1624
  continue;
1646
1625
  }
1647
- if (Ur.test(i.stem)) {
1648
- t = A(A({}, t), jt(i.stem));
1626
+ if (Rr.test(i.stem)) {
1627
+ t = w(w({}, t), Gt(i.stem));
1649
1628
  continue;
1650
1629
  }
1651
- var a = Dr(i.stem);
1652
- a && (t = A(A({}, t), a));
1653
- var s = Oi(i.stem);
1654
- s && (t = A(A({}, t), s));
1630
+ var a = Fr(i.stem);
1631
+ a && (t = w(w({}, t), a));
1632
+ var s = Hi(i.stem);
1633
+ s && (t = w(w({}, t), s));
1655
1634
  }
1656
1635
  return t;
1657
1636
  }
@@ -3070,23 +3049,23 @@ var Ae = {
3070
3049
  "h"
3071
3050
  ]
3072
3051
  };
3073
- function Ai(e, t) {
3052
+ function Oi(e, t) {
3074
3053
  for (var r = "", n = 0; n < e.length; n++) {
3075
3054
  var i = e.charAt(n);
3076
3055
  if (i === "j") {
3077
3056
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3078
3057
  o++, n++;
3079
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Pi(t);
3080
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3081
- r += u;
3058
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Mi(t);
3059
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3060
+ r += l;
3082
3061
  for (; a-- > 0; )
3083
- r = l + r;
3062
+ r = u + r;
3084
3063
  } else
3085
3064
  i === "J" ? r += "H" : r += i;
3086
3065
  }
3087
3066
  return r;
3088
3067
  }
3089
- function Pi(e) {
3068
+ function Mi(e) {
3090
3069
  var t = e.hourCycle;
3091
3070
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3092
3071
  e.hourCycles && // @ts-ignore
@@ -3108,20 +3087,20 @@ function Pi(e) {
3108
3087
  var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
3109
3088
  return i[0];
3110
3089
  }
3111
- var Ke, Li = new RegExp("^".concat(Rr.source, "*")), Bi = new RegExp("".concat(Rr.source, "*$"));
3090
+ var Je, Ai = new RegExp("^".concat(Nr.source, "*")), Li = new RegExp("".concat(Nr.source, "*$"));
3112
3091
  function E(e, t) {
3113
3092
  return { start: e, end: t };
3114
3093
  }
3115
- var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Di = !!Number.isSafeInteger, ki = Di ? Number.isSafeInteger : function(e) {
3094
+ var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Ii = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ni = !!String.prototype.trimStart, Ri = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Fi = Ui ? Number.isSafeInteger : function(e) {
3116
3095
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3117
- }, ht = !0;
3096
+ }, st = !0;
3118
3097
  try {
3119
- var Gi = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3120
- ht = ((Ke = Gi.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3098
+ var Di = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3099
+ st = ((Je = Di.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3121
3100
  } catch {
3122
- ht = !1;
3101
+ st = !1;
3123
3102
  }
3124
- var Vt = Ii ? (
3103
+ var jt = Bi ? (
3125
3104
  // Native
3126
3105
  function(t, r, n) {
3127
3106
  return t.startsWith(r, n);
@@ -3131,7 +3110,7 @@ var Vt = Ii ? (
3131
3110
  function(t, r, n) {
3132
3111
  return t.slice(n, n + r.length) === r;
3133
3112
  }
3134
- ), ft = Ci ? String.fromCodePoint : (
3113
+ ), lt = Pi ? String.fromCodePoint : (
3135
3114
  // IE11
3136
3115
  function() {
3137
3116
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3143,9 +3122,9 @@ var Vt = Ii ? (
3143
3122
  }
3144
3123
  return n;
3145
3124
  }
3146
- ), Xt = (
3125
+ ), Wt = (
3147
3126
  // native
3148
- Ni ? Object.fromEntries : (
3127
+ Ii ? Object.fromEntries : (
3149
3128
  // Ponyfill
3150
3129
  function(t) {
3151
3130
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3155,7 +3134,7 @@ var Vt = Ii ? (
3155
3134
  return r;
3156
3135
  }
3157
3136
  )
3158
- ), kr = Ri ? (
3137
+ ), Dr = Ci ? (
3159
3138
  // Native
3160
3139
  function(t, r) {
3161
3140
  return t.codePointAt(r);
@@ -3169,7 +3148,7 @@ var Vt = Ii ? (
3169
3148
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3170
3149
  }
3171
3150
  }
3172
- ), $i = Ui ? (
3151
+ ), ki = Ni ? (
3173
3152
  // Native
3174
3153
  function(t) {
3175
3154
  return t.trimStart();
@@ -3177,9 +3156,9 @@ var Vt = Ii ? (
3177
3156
  ) : (
3178
3157
  // Ponyfill
3179
3158
  function(t) {
3180
- return t.replace(Li, "");
3159
+ return t.replace(Ai, "");
3181
3160
  }
3182
- ), ji = Fi ? (
3161
+ ), Gi = Ri ? (
3183
3162
  // Native
3184
3163
  function(t) {
3185
3164
  return t.trimEnd();
@@ -3187,32 +3166,32 @@ var Vt = Ii ? (
3187
3166
  ) : (
3188
3167
  // Ponyfill
3189
3168
  function(t) {
3190
- return t.replace(Bi, "");
3169
+ return t.replace(Li, "");
3191
3170
  }
3192
3171
  );
3193
- function Gr(e, t) {
3172
+ function kr(e, t) {
3194
3173
  return new RegExp(e, t);
3195
3174
  }
3196
- var dt;
3197
- if (ht) {
3198
- var zt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3199
- dt = function(t, r) {
3175
+ var ut;
3176
+ if (st) {
3177
+ var Vt = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3178
+ ut = function(t, r) {
3200
3179
  var n;
3201
- zt.lastIndex = r;
3202
- var i = zt.exec(t);
3180
+ Vt.lastIndex = r;
3181
+ var i = Vt.exec(t);
3203
3182
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3204
3183
  };
3205
3184
  } else
3206
- dt = function(t, r) {
3185
+ ut = function(t, r) {
3207
3186
  for (var n = []; ; ) {
3208
- var i = kr(t, r);
3209
- if (i === void 0 || $r(i) || zi(i))
3187
+ var i = Dr(t, r);
3188
+ if (i === void 0 || Gr(i) || Vi(i))
3210
3189
  break;
3211
3190
  n.push(i), r += i >= 65536 ? 2 : 1;
3212
3191
  }
3213
- return ft.apply(void 0, n);
3192
+ return lt.apply(void 0, n);
3214
3193
  };
3215
- var Wi = (
3194
+ var $i = (
3216
3195
  /** @class */
3217
3196
  function() {
3218
3197
  function e(t, r) {
@@ -3236,14 +3215,14 @@ var Wi = (
3236
3215
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3237
3216
  var s = this.clonePosition();
3238
3217
  this.bump(), i.push({
3239
- type: T.pound,
3218
+ type: O.pound,
3240
3219
  location: E(s, this.clonePosition())
3241
3220
  });
3242
3221
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3243
3222
  if (n)
3244
3223
  break;
3245
3224
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3246
- } else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
3225
+ } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3247
3226
  var a = this.parseTag(t, r);
3248
3227
  if (a.err)
3249
3228
  return a;
@@ -3264,7 +3243,7 @@ var Wi = (
3264
3243
  if (this.bumpSpace(), this.bumpIf("/>"))
3265
3244
  return {
3266
3245
  val: {
3267
- type: T.literal,
3246
+ type: O.literal,
3268
3247
  value: "<".concat(i, "/>"),
3269
3248
  location: E(n, this.clonePosition())
3270
3249
  },
@@ -3276,12 +3255,12 @@ var Wi = (
3276
3255
  return o;
3277
3256
  var a = o.val, s = this.clonePosition();
3278
3257
  if (this.bumpIf("</")) {
3279
- if (this.isEOF() || !pt(this.char()))
3258
+ if (this.isEOF() || !ht(this.char()))
3280
3259
  return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
3281
- var u = this.clonePosition(), l = this.parseTagName();
3282
- return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3260
+ var l = this.clonePosition(), u = this.parseTagName();
3261
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3283
3262
  val: {
3284
- type: T.tag,
3263
+ type: O.tag,
3285
3264
  value: i,
3286
3265
  children: a,
3287
3266
  location: E(n, this.clonePosition())
@@ -3294,7 +3273,7 @@ var Wi = (
3294
3273
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3295
3274
  }, e.prototype.parseTagName = function() {
3296
3275
  var t = this.offset();
3297
- for (this.bump(); !this.isEOF() && Xi(this.char()); )
3276
+ for (this.bump(); !this.isEOF() && Wi(this.char()); )
3298
3277
  this.bump();
3299
3278
  return this.message.slice(t, this.offset());
3300
3279
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3316,14 +3295,14 @@ var Wi = (
3316
3295
  }
3317
3296
  break;
3318
3297
  }
3319
- var u = E(n, this.clonePosition());
3298
+ var l = E(n, this.clonePosition());
3320
3299
  return {
3321
- val: { type: T.literal, value: i, location: u },
3300
+ val: { type: O.literal, value: i, location: l },
3322
3301
  err: null
3323
3302
  };
3324
3303
  }, e.prototype.tryParseLeftAngleBracket = function() {
3325
3304
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3326
- !Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3305
+ !ji(this.peek() || 0)) ? (this.bump(), "<") : null;
3327
3306
  }, e.prototype.tryParseQuote = function(t) {
3328
3307
  if (this.isEOF() || this.char() !== 39)
3329
3308
  return null;
@@ -3357,12 +3336,12 @@ var Wi = (
3357
3336
  r.push(n);
3358
3337
  this.bump();
3359
3338
  }
3360
- return ft.apply(void 0, r);
3339
+ return lt.apply(void 0, r);
3361
3340
  }, e.prototype.tryParseUnquoted = function(t, r) {
3362
3341
  if (this.isEOF())
3363
3342
  return null;
3364
3343
  var n = this.char();
3365
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
3344
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
3366
3345
  }, e.prototype.parseArgument = function(t, r) {
3367
3346
  var n = this.clonePosition();
3368
3347
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3378,7 +3357,7 @@ var Wi = (
3378
3357
  case 125:
3379
3358
  return this.bump(), {
3380
3359
  val: {
3381
- type: T.argument,
3360
+ type: O.argument,
3382
3361
  // value does not include the opening and closing braces.
3383
3362
  value: i,
3384
3363
  location: E(n, this.clonePosition())
@@ -3391,66 +3370,66 @@ var Wi = (
3391
3370
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3392
3371
  }
3393
3372
  }, e.prototype.parseIdentifierIfPossible = function() {
3394
- var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3373
+ var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3395
3374
  this.bumpTo(i);
3396
3375
  var o = this.clonePosition(), a = E(t, o);
3397
3376
  return { value: n, location: a };
3398
3377
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3399
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3378
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3400
3379
  switch (s) {
3401
3380
  case "":
3402
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
3381
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
3403
3382
  case "number":
3404
3383
  case "date":
3405
3384
  case "time": {
3406
3385
  this.bumpSpace();
3407
- var l = null;
3386
+ var u = null;
3408
3387
  if (this.bumpIf(",")) {
3409
3388
  this.bumpSpace();
3410
- var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3411
- if (h.err)
3412
- return h;
3413
- var f = ji(h.val);
3389
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3390
+ if (c.err)
3391
+ return c;
3392
+ var f = Gi(c.val);
3414
3393
  if (f.length === 0)
3415
3394
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3416
- var p = E(c, this.clonePosition());
3417
- l = { style: f, styleLocation: p };
3395
+ var m = E(h, this.clonePosition());
3396
+ u = { style: f, styleLocation: m };
3418
3397
  }
3419
- var g = this.tryParseArgumentClose(i);
3420
- if (g.err)
3421
- return g;
3398
+ var p = this.tryParseArgumentClose(i);
3399
+ if (p.err)
3400
+ return p;
3422
3401
  var y = E(i, this.clonePosition());
3423
- if (l && Vt(l?.style, "::", 0)) {
3424
- var w = $i(l.style.slice(2));
3402
+ if (u && jt(u?.style, "::", 0)) {
3403
+ var S = ki(u.style.slice(2));
3425
3404
  if (s === "number") {
3426
- var h = this.parseNumberSkeletonFromString(w, l.styleLocation);
3427
- return h.err ? h : {
3428
- val: { type: T.number, value: n, location: y, style: h.val },
3405
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3406
+ return c.err ? c : {
3407
+ val: { type: O.number, value: n, location: y, style: c.val },
3429
3408
  err: null
3430
3409
  };
3431
3410
  } else {
3432
- if (w.length === 0)
3411
+ if (S.length === 0)
3433
3412
  return this.error(_.EXPECT_DATE_TIME_SKELETON, y);
3434
- var H = w;
3435
- this.locale && (H = Ai(w, this.locale));
3413
+ var T = S;
3414
+ this.locale && (T = Oi(S, this.locale));
3436
3415
  var f = {
3437
- type: le.dateTime,
3438
- pattern: H,
3439
- location: l.styleLocation,
3440
- parsedOptions: this.shouldParseSkeletons ? Ei(H) : {}
3441
- }, B = s === "date" ? T.date : T.time;
3416
+ type: he.dateTime,
3417
+ pattern: T,
3418
+ location: u.styleLocation,
3419
+ parsedOptions: this.shouldParseSkeletons ? _i(T) : {}
3420
+ }, P = s === "date" ? O.date : O.time;
3442
3421
  return {
3443
- val: { type: B, value: n, location: y, style: f },
3422
+ val: { type: P, value: n, location: y, style: f },
3444
3423
  err: null
3445
3424
  };
3446
3425
  }
3447
3426
  }
3448
3427
  return {
3449
3428
  val: {
3450
- type: s === "number" ? T.number : s === "date" ? T.date : T.time,
3429
+ type: s === "number" ? O.number : s === "date" ? O.date : O.time,
3451
3430
  value: n,
3452
3431
  location: y,
3453
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3432
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3454
3433
  },
3455
3434
  err: null
3456
3435
  };
@@ -3458,49 +3437,49 @@ var Wi = (
3458
3437
  case "plural":
3459
3438
  case "selectordinal":
3460
3439
  case "select": {
3461
- var P = this.clonePosition();
3440
+ var L = this.clonePosition();
3462
3441
  if (this.bumpSpace(), !this.bumpIf(","))
3463
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P, Ue({}, P)));
3442
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(L, w({}, L)));
3464
3443
  this.bumpSpace();
3465
3444
  var G = this.parseIdentifierIfPossible(), C = 0;
3466
3445
  if (s !== "select" && G.value === "offset") {
3467
3446
  if (!this.bumpIf(":"))
3468
3447
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3469
3448
  this.bumpSpace();
3470
- var h = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3471
- if (h.err)
3472
- return h;
3473
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = h.val;
3449
+ var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3450
+ if (c.err)
3451
+ return c;
3452
+ this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = c.val;
3474
3453
  }
3475
3454
  var V = this.tryParsePluralOrSelectOptions(t, s, r, G);
3476
3455
  if (V.err)
3477
3456
  return V;
3478
- var g = this.tryParseArgumentClose(i);
3479
- if (g.err)
3480
- return g;
3481
- var z = E(i, this.clonePosition());
3457
+ var p = this.tryParseArgumentClose(i);
3458
+ if (p.err)
3459
+ return p;
3460
+ var X = E(i, this.clonePosition());
3482
3461
  return s === "select" ? {
3483
3462
  val: {
3484
- type: T.select,
3463
+ type: O.select,
3485
3464
  value: n,
3486
- options: Xt(V.val),
3487
- location: z
3465
+ options: Wt(V.val),
3466
+ location: X
3488
3467
  },
3489
3468
  err: null
3490
3469
  } : {
3491
3470
  val: {
3492
- type: T.plural,
3471
+ type: O.plural,
3493
3472
  value: n,
3494
- options: Xt(V.val),
3473
+ options: Wt(V.val),
3495
3474
  offset: C,
3496
3475
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3497
- location: z
3476
+ location: X
3498
3477
  },
3499
3478
  err: null
3500
3479
  };
3501
3480
  }
3502
3481
  default:
3503
- return this.error(_.INVALID_ARGUMENT_TYPE, E(a, u));
3482
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
3504
3483
  }
3505
3484
  }, e.prototype.tryParseArgumentClose = function(t) {
3506
3485
  return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3542,50 +3521,50 @@ var Wi = (
3542
3521
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3543
3522
  var n = [];
3544
3523
  try {
3545
- n = Si(t);
3524
+ n = Ei(t);
3546
3525
  } catch {
3547
3526
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3548
3527
  }
3549
3528
  return {
3550
3529
  val: {
3551
- type: le.number,
3530
+ type: he.number,
3552
3531
  tokens: n,
3553
3532
  location: r,
3554
- parsedOptions: this.shouldParseSkeletons ? Mi(n) : {}
3533
+ parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
3555
3534
  },
3556
3535
  err: null
3557
3536
  };
3558
3537
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3559
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3560
- if (l.length === 0) {
3561
- var h = this.clonePosition();
3538
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3539
+ if (u.length === 0) {
3540
+ var c = this.clonePosition();
3562
3541
  if (r !== "select" && this.bumpIf("=")) {
3563
3542
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3564
3543
  if (f.err)
3565
3544
  return f;
3566
- c = E(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3545
+ h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3567
3546
  } else
3568
3547
  break;
3569
3548
  }
3570
- if (u.has(l))
3571
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3572
- l === "other" && (a = !0), this.bumpSpace();
3573
- var p = this.clonePosition();
3549
+ if (l.has(u))
3550
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3551
+ u === "other" && (a = !0), this.bumpSpace();
3552
+ var m = this.clonePosition();
3574
3553
  if (!this.bumpIf("{"))
3575
3554
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3576
- var g = this.parseMessage(t + 1, r, n);
3577
- if (g.err)
3578
- return g;
3579
- var y = this.tryParseArgumentClose(p);
3555
+ var p = this.parseMessage(t + 1, r, n);
3556
+ if (p.err)
3557
+ return p;
3558
+ var y = this.tryParseArgumentClose(m);
3580
3559
  if (y.err)
3581
3560
  return y;
3582
3561
  s.push([
3583
- l,
3562
+ u,
3584
3563
  {
3585
- value: g.val,
3586
- location: E(p, this.clonePosition())
3564
+ value: p.val,
3565
+ location: E(m, this.clonePosition())
3587
3566
  }
3588
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3567
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3589
3568
  }
3590
3569
  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 };
3591
3570
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3598,8 +3577,8 @@ var Wi = (
3598
3577
  else
3599
3578
  break;
3600
3579
  }
3601
- var u = E(i, this.clonePosition());
3602
- return o ? (a *= n, ki(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3580
+ var l = E(i, this.clonePosition());
3581
+ return o ? (a *= n, Fi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3603
3582
  }, e.prototype.offset = function() {
3604
3583
  return this.position.offset;
3605
3584
  }, e.prototype.isEOF = function() {
@@ -3614,7 +3593,7 @@ var Wi = (
3614
3593
  var t = this.position.offset;
3615
3594
  if (t >= this.message.length)
3616
3595
  throw Error("out of bound");
3617
- var r = kr(this.message, t);
3596
+ var r = Dr(this.message, t);
3618
3597
  if (r === void 0)
3619
3598
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3620
3599
  return r;
@@ -3633,7 +3612,7 @@ var Wi = (
3633
3612
  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);
3634
3613
  }
3635
3614
  }, e.prototype.bumpIf = function(t) {
3636
- if (Vt(this.message, t, this.offset())) {
3615
+ if (jt(this.message, t, this.offset())) {
3637
3616
  for (var r = 0; r < t.length; r++)
3638
3617
  this.bump();
3639
3618
  return !0;
@@ -3655,7 +3634,7 @@ var Wi = (
3655
3634
  break;
3656
3635
  }
3657
3636
  }, e.prototype.bumpSpace = function() {
3658
- for (; !this.isEOF() && $r(this.char()); )
3637
+ for (; !this.isEOF() && Gr(this.char()); )
3659
3638
  this.bump();
3660
3639
  }, e.prototype.peek = function() {
3661
3640
  if (this.isEOF())
@@ -3665,47 +3644,47 @@ var Wi = (
3665
3644
  }, e;
3666
3645
  }()
3667
3646
  );
3668
- function pt(e) {
3647
+ function ht(e) {
3669
3648
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3670
3649
  }
3671
- function Vi(e) {
3672
- return pt(e) || e === 47;
3650
+ function ji(e) {
3651
+ return ht(e) || e === 47;
3673
3652
  }
3674
- function Xi(e) {
3653
+ function Wi(e) {
3675
3654
  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;
3676
3655
  }
3677
- function $r(e) {
3656
+ function Gr(e) {
3678
3657
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3679
3658
  }
3680
- function zi(e) {
3659
+ function Vi(e) {
3681
3660
  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;
3682
3661
  }
3683
- function mt(e) {
3662
+ function ct(e) {
3684
3663
  e.forEach(function(t) {
3685
- if (delete t.location, Br(t) || Ir(t))
3664
+ if (delete t.location, Br(t) || Pr(t))
3686
3665
  for (var r in t.options)
3687
- delete t.options[r].location, mt(t.options[r].value);
3666
+ delete t.options[r].location, ct(t.options[r].value);
3688
3667
  else
3689
- Ar(t) && Nr(t.style) || (Pr(t) || Lr(t)) && ct(t.style) ? delete t.style.location : Cr(t) && mt(t.children);
3668
+ Mr(t) && Cr(t.style) || (Ar(t) || Lr(t)) && at(t.style) ? delete t.style.location : Ir(t) && ct(t.children);
3690
3669
  });
3691
3670
  }
3692
- function Zi(e, t) {
3693
- t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3694
- var r = new Wi(e, t).parse();
3671
+ function Xi(e, t) {
3672
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3673
+ var r = new $i(e, t).parse();
3695
3674
  if (r.err) {
3696
3675
  var n = SyntaxError(_[r.err.kind]);
3697
3676
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3698
3677
  }
3699
- return t?.captureLocation || mt(r.val), r.val;
3678
+ return t?.captureLocation || ct(r.val), r.val;
3700
3679
  }
3701
3680
  var ce;
3702
3681
  (function(e) {
3703
3682
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3704
3683
  })(ce || (ce = {}));
3705
- var je = (
3684
+ var Ge = (
3706
3685
  /** @class */
3707
3686
  function(e) {
3708
- $e(t, e);
3687
+ q(t, e);
3709
3688
  function t(r, n, i) {
3710
3689
  var o = e.call(this, r) || this;
3711
3690
  return o.code = n, o.originalMessage = i, o;
@@ -3714,155 +3693,155 @@ var je = (
3714
3693
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3715
3694
  }, t;
3716
3695
  }(Error)
3717
- ), Zt = (
3696
+ ), Xt = (
3718
3697
  /** @class */
3719
3698
  function(e) {
3720
- $e(t, e);
3699
+ q(t, e);
3721
3700
  function t(r, n, i, o) {
3722
3701
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3723
3702
  }
3724
3703
  return t;
3725
- }(je)
3726
- ), Qi = (
3704
+ }(Ge)
3705
+ ), zi = (
3727
3706
  /** @class */
3728
3707
  function(e) {
3729
- $e(t, e);
3708
+ q(t, e);
3730
3709
  function t(r, n, i) {
3731
3710
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3732
3711
  }
3733
3712
  return t;
3734
- }(je)
3735
- ), qi = (
3713
+ }(Ge)
3714
+ ), Zi = (
3736
3715
  /** @class */
3737
3716
  function(e) {
3738
- $e(t, e);
3717
+ q(t, e);
3739
3718
  function t(r, n) {
3740
3719
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3741
3720
  }
3742
3721
  return t;
3743
- }(je)
3722
+ }(Ge)
3744
3723
  ), k;
3745
3724
  (function(e) {
3746
3725
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3747
3726
  })(k || (k = {}));
3748
- function Ji(e) {
3727
+ function Qi(e) {
3749
3728
  return e.length < 2 ? e : e.reduce(function(t, r) {
3750
3729
  var n = t[t.length - 1];
3751
3730
  return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
3752
3731
  }, []);
3753
3732
  }
3754
- function Yi(e) {
3733
+ function qi(e) {
3755
3734
  return typeof e == "function";
3756
3735
  }
3757
3736
  function Ie(e, t, r, n, i, o, a) {
3758
- if (e.length === 1 && Gt(e[0]))
3737
+ if (e.length === 1 && Dt(e[0]))
3759
3738
  return [
3760
3739
  {
3761
3740
  type: k.literal,
3762
3741
  value: e[0].value
3763
3742
  }
3764
3743
  ];
3765
- for (var s = [], u = 0, l = e; u < l.length; u++) {
3766
- var c = l[u];
3767
- if (Gt(c)) {
3744
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3745
+ var h = u[l];
3746
+ if (Dt(h)) {
3768
3747
  s.push({
3769
3748
  type: k.literal,
3770
- value: c.value
3749
+ value: h.value
3771
3750
  });
3772
3751
  continue;
3773
3752
  }
3774
- if (_i(c)) {
3753
+ if (yi(h)) {
3775
3754
  typeof o == "number" && s.push({
3776
3755
  type: k.literal,
3777
3756
  value: r.getNumberFormat(t).format(o)
3778
3757
  });
3779
3758
  continue;
3780
3759
  }
3781
- var h = c.value;
3782
- if (!(i && h in i))
3783
- throw new qi(h, a);
3784
- var f = i[h];
3785
- if (vi(c)) {
3760
+ var c = h.value;
3761
+ if (!(i && c in i))
3762
+ throw new Zi(c, a);
3763
+ var f = i[c];
3764
+ if (bi(h)) {
3786
3765
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3787
3766
  type: typeof f == "string" ? k.literal : k.object,
3788
3767
  value: f
3789
3768
  });
3790
3769
  continue;
3791
3770
  }
3792
- if (Pr(c)) {
3793
- var p = typeof c.style == "string" ? n.date[c.style] : ct(c.style) ? c.style.parsedOptions : void 0;
3771
+ if (Ar(h)) {
3772
+ var m = typeof h.style == "string" ? n.date[h.style] : at(h.style) ? h.style.parsedOptions : void 0;
3794
3773
  s.push({
3795
3774
  type: k.literal,
3796
- value: r.getDateTimeFormat(t, p).format(f)
3775
+ value: r.getDateTimeFormat(t, m).format(f)
3797
3776
  });
3798
3777
  continue;
3799
3778
  }
3800
- if (Lr(c)) {
3801
- var p = typeof c.style == "string" ? n.time[c.style] : ct(c.style) ? c.style.parsedOptions : n.time.medium;
3779
+ if (Lr(h)) {
3780
+ var m = typeof h.style == "string" ? n.time[h.style] : at(h.style) ? h.style.parsedOptions : n.time.medium;
3802
3781
  s.push({
3803
3782
  type: k.literal,
3804
- value: r.getDateTimeFormat(t, p).format(f)
3783
+ value: r.getDateTimeFormat(t, m).format(f)
3805
3784
  });
3806
3785
  continue;
3807
3786
  }
3808
- if (Ar(c)) {
3809
- var p = typeof c.style == "string" ? n.number[c.style] : Nr(c.style) ? c.style.parsedOptions : void 0;
3810
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3787
+ if (Mr(h)) {
3788
+ var m = typeof h.style == "string" ? n.number[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
3789
+ m && m.scale && (f = f * (m.scale || 1)), s.push({
3811
3790
  type: k.literal,
3812
- value: r.getNumberFormat(t, p).format(f)
3791
+ value: r.getNumberFormat(t, m).format(f)
3813
3792
  });
3814
3793
  continue;
3815
3794
  }
3816
- if (Cr(c)) {
3817
- var g = c.children, y = c.value, w = i[y];
3818
- if (!Yi(w))
3819
- throw new Qi(y, "function", a);
3820
- var H = Ie(g, t, r, n, i, o), B = w(H.map(function(C) {
3795
+ if (Ir(h)) {
3796
+ var p = h.children, y = h.value, S = i[y];
3797
+ if (!qi(S))
3798
+ throw new zi(y, "function", a);
3799
+ var T = Ie(p, t, r, n, i, o), P = S(T.map(function(C) {
3821
3800
  return C.value;
3822
3801
  }));
3823
- Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(C) {
3802
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(C) {
3824
3803
  return {
3825
3804
  type: typeof C == "string" ? k.literal : k.object,
3826
3805
  value: C
3827
3806
  };
3828
3807
  }));
3829
3808
  }
3830
- if (Br(c)) {
3831
- var P = c.options[f] || c.options.other;
3832
- if (!P)
3833
- throw new Zt(c.value, f, Object.keys(c.options), a);
3834
- s.push.apply(s, Ie(P.value, t, r, n, i));
3809
+ if (Br(h)) {
3810
+ var L = h.options[f] || h.options.other;
3811
+ if (!L)
3812
+ throw new Xt(h.value, f, Object.keys(h.options), a);
3813
+ s.push.apply(s, Ie(L.value, t, r, n, i));
3835
3814
  continue;
3836
3815
  }
3837
- if (Ir(c)) {
3838
- var P = c.options["=".concat(f)];
3839
- if (!P) {
3816
+ if (Pr(h)) {
3817
+ var L = h.options["=".concat(f)];
3818
+ if (!L) {
3840
3819
  if (!Intl.PluralRules)
3841
- throw new je(`Intl.PluralRules is not available in this environment.
3820
+ throw new Ge(`Intl.PluralRules is not available in this environment.
3842
3821
  Try polyfilling it using "@formatjs/intl-pluralrules"
3843
3822
  `, ce.MISSING_INTL_API, a);
3844
- var G = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3845
- P = c.options[G] || c.options.other;
3823
+ var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3824
+ L = h.options[G] || h.options.other;
3846
3825
  }
3847
- if (!P)
3848
- throw new Zt(c.value, f, Object.keys(c.options), a);
3849
- s.push.apply(s, Ie(P.value, t, r, n, i, f - (c.offset || 0)));
3826
+ if (!L)
3827
+ throw new Xt(h.value, f, Object.keys(h.options), a);
3828
+ s.push.apply(s, Ie(L.value, t, r, n, i, f - (h.offset || 0)));
3850
3829
  continue;
3851
3830
  }
3852
3831
  }
3853
- return Ji(s);
3832
+ return Qi(s);
3854
3833
  }
3855
- function Ki(e, t) {
3856
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3857
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
3834
+ function Ji(e, t) {
3835
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3836
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3858
3837
  }, {})) : e;
3859
3838
  }
3860
- function eo(e, t) {
3839
+ function Yi(e, t) {
3861
3840
  return t ? Object.keys(e).reduce(function(r, n) {
3862
- return r[n] = Ki(e[n], t[n]), r;
3863
- }, X({}, e)) : e;
3841
+ return r[n] = Ji(e[n], t[n]), r;
3842
+ }, w({}, e)) : e;
3864
3843
  }
3865
- function et(e) {
3844
+ function Ye(e) {
3866
3845
  return {
3867
3846
  create: function() {
3868
3847
  return {
@@ -3876,39 +3855,39 @@ function et(e) {
3876
3855
  }
3877
3856
  };
3878
3857
  }
3879
- function to(e) {
3858
+ function Ki(e) {
3880
3859
  return e === void 0 && (e = {
3881
3860
  number: {},
3882
3861
  dateTime: {},
3883
3862
  pluralRules: {}
3884
3863
  }), {
3885
- getNumberFormat: Je(function() {
3864
+ getNumberFormat: Qe(function() {
3886
3865
  for (var t, r = [], n = 0; n < arguments.length; n++)
3887
3866
  r[n] = arguments[n];
3888
- return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
3867
+ return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
3889
3868
  }, {
3890
- cache: et(e.number),
3891
- strategy: Ye.variadic
3869
+ cache: Ye(e.number),
3870
+ strategy: qe.variadic
3892
3871
  }),
3893
- getDateTimeFormat: Je(function() {
3872
+ getDateTimeFormat: Qe(function() {
3894
3873
  for (var t, r = [], n = 0; n < arguments.length; n++)
3895
3874
  r[n] = arguments[n];
3896
- return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
3875
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
3897
3876
  }, {
3898
- cache: et(e.dateTime),
3899
- strategy: Ye.variadic
3877
+ cache: Ye(e.dateTime),
3878
+ strategy: qe.variadic
3900
3879
  }),
3901
- getPluralRules: Je(function() {
3880
+ getPluralRules: Qe(function() {
3902
3881
  for (var t, r = [], n = 0; n < arguments.length; n++)
3903
3882
  r[n] = arguments[n];
3904
- return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
3883
+ return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
3905
3884
  }, {
3906
- cache: et(e.pluralRules),
3907
- strategy: Ye.variadic
3885
+ cache: Ye(e.pluralRules),
3886
+ strategy: qe.variadic
3908
3887
  })
3909
3888
  };
3910
3889
  }
3911
- var ro = (
3890
+ var eo = (
3912
3891
  /** @class */
3913
3892
  function() {
3914
3893
  function e(t, r, n, i) {
@@ -3918,20 +3897,20 @@ var ro = (
3918
3897
  number: {},
3919
3898
  dateTime: {},
3920
3899
  pluralRules: {}
3921
- }, this.format = function(u) {
3922
- var l = o.formatToParts(u);
3923
- if (l.length === 1)
3924
- return l[0].value;
3925
- var c = l.reduce(function(h, f) {
3926
- return !h.length || f.type !== k.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
3900
+ }, this.format = function(l) {
3901
+ var u = o.formatToParts(l);
3902
+ if (u.length === 1)
3903
+ return u[0].value;
3904
+ var h = u.reduce(function(c, f) {
3905
+ return !c.length || f.type !== k.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3927
3906
  }, []);
3928
- return c.length <= 1 ? c[0] || "" : c;
3929
- }, this.formatToParts = function(u) {
3930
- return Ie(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3907
+ return h.length <= 1 ? h[0] || "" : h;
3908
+ }, this.formatToParts = function(l) {
3909
+ return Ie(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3931
3910
  }, this.resolvedOptions = function() {
3932
- var u;
3911
+ var l;
3933
3912
  return {
3934
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3913
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3935
3914
  };
3936
3915
  }, this.getAst = function() {
3937
3916
  return o.ast;
@@ -3940,13 +3919,13 @@ var ro = (
3940
3919
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3941
3920
  var a = i || {};
3942
3921
  a.formatters;
3943
- var s = hi(a, ["formatters"]);
3944
- this.ast = e.__parse(t, X(X({}, s), { locale: this.resolvedLocale }));
3922
+ var s = In(a, ["formatters"]);
3923
+ this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
3945
3924
  } else
3946
3925
  this.ast = t;
3947
3926
  if (!Array.isArray(this.ast))
3948
3927
  throw new TypeError("A message must be provided as a String or AST.");
3949
- this.formats = eo(e.formats, n), this.formatters = i && i.formatters || to(this.formatterCache);
3928
+ this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
3950
3929
  }
3951
3930
  return Object.defineProperty(e, "defaultLocale", {
3952
3931
  get: function() {
@@ -3959,7 +3938,7 @@ var ro = (
3959
3938
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3960
3939
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3961
3940
  }
3962
- }, e.__parse = Zi, e.formats = {
3941
+ }, e.__parse = Xi, e.formats = {
3963
3942
  number: {
3964
3943
  integer: {
3965
3944
  maximumFractionDigits: 0
@@ -4020,7 +3999,7 @@ var ro = (
4020
3999
  }, e;
4021
4000
  }()
4022
4001
  );
4023
- function no(e, t) {
4002
+ function to(e, t) {
4024
4003
  if (t == null)
4025
4004
  return;
4026
4005
  if (t in e)
@@ -4041,92 +4020,92 @@ function no(e, t) {
4041
4020
  n = void 0;
4042
4021
  return n;
4043
4022
  }
4044
- const Y = {}, io = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), jr = (e, t) => {
4023
+ const Y = {}, ro = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), $r = (e, t) => {
4045
4024
  if (t == null)
4046
4025
  return;
4047
4026
  if (t in Y && e in Y[t])
4048
4027
  return Y[t][e];
4049
- const r = We(t);
4028
+ const r = $e(t);
4050
4029
  for (let n = 0; n < r.length; n++) {
4051
- const i = r[n], o = ao(i, e);
4030
+ const i = r[n], o = io(i, e);
4052
4031
  if (o)
4053
- return io(e, t, o);
4032
+ return ro(e, t, o);
4054
4033
  }
4055
4034
  };
4056
- let vt;
4057
- const Se = Ge({});
4058
- function oo(e) {
4059
- return vt[e] || null;
4035
+ let bt;
4036
+ const Se = ke({});
4037
+ function no(e) {
4038
+ return bt[e] || null;
4060
4039
  }
4061
- function Wr(e) {
4062
- return e in vt;
4040
+ function jr(e) {
4041
+ return e in bt;
4063
4042
  }
4064
- function ao(e, t) {
4065
- if (!Wr(e))
4043
+ function io(e, t) {
4044
+ if (!jr(e))
4066
4045
  return null;
4067
- const r = oo(e);
4068
- return no(r, t);
4046
+ const r = no(e);
4047
+ return to(r, t);
4069
4048
  }
4070
- function so(e) {
4049
+ function oo(e) {
4071
4050
  if (e == null)
4072
4051
  return;
4073
- const t = We(e);
4052
+ const t = $e(e);
4074
4053
  for (let r = 0; r < t.length; r++) {
4075
4054
  const n = t[r];
4076
- if (Wr(n))
4055
+ if (jr(n))
4077
4056
  return n;
4078
4057
  }
4079
4058
  }
4080
- function Vr(e, ...t) {
4081
- delete Y[e], Se.update((r) => (r[e] = ci.all([r[e] || {}, ...t]), r));
4059
+ function Wr(e, ...t) {
4060
+ delete Y[e], Se.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
4082
4061
  }
4083
- pe(
4062
+ ge(
4084
4063
  [Se],
4085
4064
  ([e]) => Object.keys(e)
4086
4065
  );
4087
- Se.subscribe((e) => vt = e);
4066
+ Se.subscribe((e) => bt = e);
4088
4067
  const Ce = {};
4089
- function uo(e, t) {
4068
+ function ao(e, t) {
4090
4069
  Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
4091
4070
  }
4092
- function Xr(e) {
4071
+ function Vr(e) {
4093
4072
  return Ce[e];
4094
4073
  }
4095
- function lo(e) {
4096
- return We(e).map((t) => {
4097
- const r = Xr(t);
4074
+ function so(e) {
4075
+ return $e(e).map((t) => {
4076
+ const r = Vr(t);
4098
4077
  return [t, r ? [...r] : []];
4099
4078
  }).filter(([, t]) => t.length > 0);
4100
4079
  }
4101
- function gt(e) {
4102
- return e == null ? !1 : We(e).some(
4080
+ function ft(e) {
4081
+ return e == null ? !1 : $e(e).some(
4103
4082
  (t) => {
4104
4083
  var r;
4105
- return (r = Xr(t)) == null ? void 0 : r.size;
4084
+ return (r = Vr(t)) == null ? void 0 : r.size;
4106
4085
  }
4107
4086
  );
4108
4087
  }
4109
- function co(e, t) {
4088
+ function lo(e, t) {
4110
4089
  return Promise.all(
4111
- t.map((n) => (uo(e, n), n().then((i) => i.default || i)))
4112
- ).then((n) => Vr(e, ...n));
4113
- }
4114
- const be = {};
4115
- function zr(e) {
4116
- if (!gt(e))
4117
- return e in be ? be[e] : Promise.resolve();
4118
- const t = lo(e);
4119
- return be[e] = Promise.all(
4090
+ t.map((n) => (ao(e, n), n().then((i) => i.default || i)))
4091
+ ).then((n) => Wr(e, ...n));
4092
+ }
4093
+ const ye = {};
4094
+ function Xr(e) {
4095
+ if (!ft(e))
4096
+ return e in ye ? ye[e] : Promise.resolve();
4097
+ const t = so(e);
4098
+ return ye[e] = Promise.all(
4120
4099
  t.map(
4121
- ([r, n]) => co(r, n)
4100
+ ([r, n]) => lo(r, n)
4122
4101
  )
4123
4102
  ).then(() => {
4124
- if (gt(e))
4125
- return zr(e);
4126
- delete be[e];
4127
- }), be[e];
4103
+ if (ft(e))
4104
+ return Xr(e);
4105
+ delete ye[e];
4106
+ }), ye[e];
4128
4107
  }
4129
- const ho = {
4108
+ const uo = {
4130
4109
  number: {
4131
4110
  scientific: { notation: "scientific" },
4132
4111
  engineering: { notation: "engineering" },
@@ -4155,180 +4134,180 @@ const ho = {
4155
4134
  timeZoneName: "short"
4156
4135
  }
4157
4136
  }
4158
- }, fo = {
4137
+ }, ho = {
4159
4138
  fallbackLocale: null,
4160
4139
  loadingDelay: 200,
4161
- formats: ho,
4140
+ formats: uo,
4162
4141
  warnOnMissingMessages: !0,
4163
4142
  handleMissingMessage: void 0,
4164
4143
  ignoreTag: !0
4165
- }, po = fo;
4166
- function he() {
4167
- return po;
4144
+ }, co = ho;
4145
+ function fe() {
4146
+ return co;
4168
4147
  }
4169
- const tt = Ge(!1);
4170
- var mo = Object.defineProperty, go = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, yo = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _o = (e, t) => {
4148
+ const Ke = ke(!1);
4149
+ var fo = Object.defineProperty, mo = Object.defineProperties, go = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yo = (e, t) => {
4171
4150
  for (var r in t || (t = {}))
4172
- yo.call(t, r) && qt(e, r, t[r]);
4173
- if (Qt)
4174
- for (var r of Qt(t))
4175
- vo.call(t, r) && qt(e, r, t[r]);
4151
+ po.call(t, r) && Zt(e, r, t[r]);
4152
+ if (zt)
4153
+ for (var r of zt(t))
4154
+ bo.call(t, r) && Zt(e, r, t[r]);
4176
4155
  return e;
4177
- }, xo = (e, t) => go(e, bo(t));
4178
- let bt;
4179
- const Fe = Ge(null);
4180
- function Jt(e) {
4156
+ }, vo = (e, t) => mo(e, go(t));
4157
+ let dt;
4158
+ const Ue = ke(null);
4159
+ function Qt(e) {
4181
4160
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4182
4161
  }
4183
- function We(e, t = he().fallbackLocale) {
4184
- const r = Jt(e);
4185
- return t ? [.../* @__PURE__ */ new Set([...r, ...Jt(t)])] : r;
4162
+ function $e(e, t = fe().fallbackLocale) {
4163
+ const r = Qt(e);
4164
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
4186
4165
  }
4187
4166
  function re() {
4188
- return bt ?? void 0;
4167
+ return dt ?? void 0;
4189
4168
  }
4190
- Fe.subscribe((e) => {
4191
- bt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4169
+ Ue.subscribe((e) => {
4170
+ dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4192
4171
  });
4193
- const Eo = (e) => {
4194
- if (e && so(e) && gt(e)) {
4195
- const { loadingDelay: t } = he();
4172
+ const _o = (e) => {
4173
+ if (e && oo(e) && ft(e)) {
4174
+ const { loadingDelay: t } = fe();
4196
4175
  let r;
4197
4176
  return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4198
- () => tt.set(!0),
4177
+ () => Ke.set(!0),
4199
4178
  t
4200
- ) : tt.set(!0), zr(e).then(() => {
4201
- Fe.set(e);
4179
+ ) : Ke.set(!0), Xr(e).then(() => {
4180
+ Ue.set(e);
4202
4181
  }).finally(() => {
4203
- clearTimeout(r), tt.set(!1);
4182
+ clearTimeout(r), Ke.set(!1);
4204
4183
  });
4205
4184
  }
4206
- return Fe.set(e);
4207
- }, me = xo(_o({}, Fe), {
4208
- set: Eo
4209
- }), Ve = (e) => {
4185
+ return Ue.set(e);
4186
+ }, pe = vo(yo({}, Ue), {
4187
+ set: _o
4188
+ }), je = (e) => {
4210
4189
  const t = /* @__PURE__ */ Object.create(null);
4211
4190
  return (n) => {
4212
4191
  const i = JSON.stringify(n);
4213
4192
  return i in t ? t[i] : t[i] = e(n);
4214
4193
  };
4215
4194
  };
4216
- var wo = Object.defineProperty, De = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
4195
+ var xo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
4217
4196
  for (var r in t || (t = {}))
4218
- Zr.call(t, r) && Yt(e, r, t[r]);
4219
- if (De)
4220
- for (var r of De(t))
4221
- Qr.call(t, r) && Yt(e, r, t[r]);
4197
+ zr.call(t, r) && qt(e, r, t[r]);
4198
+ if (Fe)
4199
+ for (var r of Fe(t))
4200
+ Zr.call(t, r) && qt(e, r, t[r]);
4222
4201
  return e;
4223
- }, ge = (e, t) => {
4202
+ }, be = (e, t) => {
4224
4203
  var r = {};
4225
4204
  for (var n in e)
4226
- Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4227
- if (e != null && De)
4228
- for (var n of De(e))
4229
- t.indexOf(n) < 0 && Qr.call(e, n) && (r[n] = e[n]);
4205
+ zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4206
+ if (e != null && Fe)
4207
+ for (var n of Fe(e))
4208
+ t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
4230
4209
  return r;
4231
4210
  };
4232
- const xe = (e, t) => {
4233
- const { formats: r } = he();
4211
+ const Ee = (e, t) => {
4212
+ const { formats: r } = fe();
4234
4213
  if (e in r && t in r[e])
4235
4214
  return r[e][t];
4236
4215
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4237
- }, So = Ve(
4216
+ }, Eo = je(
4238
4217
  (e) => {
4239
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4218
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4240
4219
  if (r == null)
4241
4220
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4242
- return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
4221
+ return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
4243
4222
  }
4244
- ), Ho = Ve(
4223
+ ), wo = je(
4245
4224
  (e) => {
4246
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4225
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4247
4226
  if (r == null)
4248
4227
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4249
- return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
4228
+ return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
4250
4229
  }
4251
- ), To = Ve(
4230
+ ), So = je(
4252
4231
  (e) => {
4253
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4232
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4254
4233
  if (r == null)
4255
4234
  throw new Error(
4256
4235
  '[svelte-i18n] A "locale" must be set to format time values'
4257
4236
  );
4258
- return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
4237
+ return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
4259
4238
  }
4260
- ), Oo = (e = {}) => {
4239
+ ), Ho = (e = {}) => {
4261
4240
  var t = e, {
4262
4241
  locale: r = re()
4263
- } = t, n = ge(t, [
4242
+ } = t, n = be(t, [
4264
4243
  "locale"
4265
4244
  ]);
4266
- return So(_t({ locale: r }, n));
4267
- }, Mo = (e = {}) => {
4245
+ return Eo(yt({ locale: r }, n));
4246
+ }, To = (e = {}) => {
4268
4247
  var t = e, {
4269
4248
  locale: r = re()
4270
- } = t, n = ge(t, [
4249
+ } = t, n = be(t, [
4271
4250
  "locale"
4272
4251
  ]);
4273
- return Ho(_t({ locale: r }, n));
4274
- }, Ao = (e = {}) => {
4252
+ return wo(yt({ locale: r }, n));
4253
+ }, Oo = (e = {}) => {
4275
4254
  var t = e, {
4276
4255
  locale: r = re()
4277
- } = t, n = ge(t, [
4256
+ } = t, n = be(t, [
4278
4257
  "locale"
4279
4258
  ]);
4280
- return To(_t({ locale: r }, n));
4281
- }, Po = Ve(
4259
+ return So(yt({ locale: r }, n));
4260
+ }, Mo = je(
4282
4261
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4283
- (e, t = re()) => new ro(e, t, he().formats, {
4284
- ignoreTag: he().ignoreTag
4262
+ (e, t = re()) => new eo(e, t, fe().formats, {
4263
+ ignoreTag: fe().ignoreTag
4285
4264
  })
4286
- ), Lo = (e, t = {}) => {
4265
+ ), Ao = (e, t = {}) => {
4287
4266
  var r, n, i, o;
4288
4267
  let a = t;
4289
4268
  typeof e == "object" && (a = e, e = a.id);
4290
4269
  const {
4291
4270
  values: s,
4292
- locale: u = re(),
4293
- default: l
4271
+ locale: l = re(),
4272
+ default: u
4294
4273
  } = a;
4295
- if (u == null)
4274
+ if (l == null)
4296
4275
  throw new Error(
4297
4276
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4298
4277
  );
4299
- let c = jr(e, u);
4300
- if (!c)
4301
- c = (o = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4302
- else if (typeof c != "string")
4278
+ let h = $r(e, l);
4279
+ if (!h)
4280
+ h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4281
+ else if (typeof h != "string")
4303
4282
  return console.warn(
4304
- `[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.`
4305
- ), c;
4283
+ `[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.`
4284
+ ), h;
4306
4285
  if (!s)
4307
- return c;
4308
- let h = c;
4286
+ return h;
4287
+ let c = h;
4309
4288
  try {
4310
- h = Po(c, u).format(s);
4289
+ c = Mo(h, l).format(s);
4311
4290
  } catch (f) {
4312
4291
  f instanceof Error && console.warn(
4313
4292
  `[svelte-i18n] Message "${e}" has syntax error:`,
4314
4293
  f.message
4315
4294
  );
4316
4295
  }
4317
- return h;
4318
- }, Bo = (e, t) => Ao(t).format(e), Io = (e, t) => Mo(t).format(e), Co = (e, t) => Oo(t).format(e), No = (e, t = re()) => jr(e, t), Ro = pe([me, Se], () => Lo);
4319
- pe([me], () => Bo);
4320
- pe([me], () => Io);
4321
- pe([me], () => Co);
4322
- pe([me, Se], () => No);
4296
+ return c;
4297
+ }, Lo = (e, t) => Oo(t).format(e), Bo = (e, t) => To(t).format(e), Po = (e, t) => Ho(t).format(e), Io = (e, t = re()) => $r(e, t), Co = ge([pe, Se], () => Ao);
4298
+ ge([pe], () => Lo);
4299
+ ge([pe], () => Bo);
4300
+ ge([pe], () => Po);
4301
+ ge([pe, Se], () => Io);
4323
4302
  window.emWidgets = { topic: zn };
4324
- const Uo = (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)), Fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4325
- function Do(e, t) {
4303
+ const No = (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)), Ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4304
+ function Uo(e, t) {
4326
4305
  if (e) {
4327
4306
  const r = document.createElement("style");
4328
4307
  r.innerHTML = t, e.appendChild(r);
4329
4308
  }
4330
4309
  }
4331
- function ko(e, t) {
4310
+ function Fo(e, t) {
4332
4311
  const r = new URL(t);
4333
4312
  fetch(r.href).then((n) => n.text()).then((n) => {
4334
4313
  const i = document.createElement("style");
@@ -4337,7 +4316,7 @@ function ko(e, t) {
4337
4316
  console.error("There was an error while trying to load client styling from URL", n);
4338
4317
  });
4339
4318
  }
4340
- function Go(e, t, r) {
4319
+ function Do(e, t, r) {
4341
4320
  if (window.emMessageBus) {
4342
4321
  const n = document.createElement("style");
4343
4322
  window.emMessageBus.subscribe(t, (i) => {
@@ -4345,13 +4324,13 @@ function Go(e, t, r) {
4345
4324
  });
4346
4325
  }
4347
4326
  }
4348
- function Kt(e, t) {
4349
- Vr(e, t);
4327
+ function Jt(e, t) {
4328
+ Wr(e, t);
4350
4329
  }
4351
- function $o(e) {
4352
- me.set(e);
4330
+ function ko(e) {
4331
+ pe.set(e);
4353
4332
  }
4354
- const er = {
4333
+ const Yt = {
4355
4334
  en: {
4356
4335
  language: "Select Language"
4357
4336
  },
@@ -4386,65 +4365,65 @@ const er = {
4386
4365
  language: "Select Language"
4387
4366
  }
4388
4367
  };
4389
- function jo(e) {
4390
- dn(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}");
4368
+ function Go(e) {
4369
+ fn(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}");
4391
4370
  }
4392
- function tr(e, t, r) {
4371
+ function Kt(e, t, r) {
4393
4372
  const n = e.slice();
4394
4373
  return n[57] = t[r], n;
4395
4374
  }
4396
- function rr(e, t, r) {
4375
+ function er(e, t, r) {
4397
4376
  const n = e.slice();
4398
4377
  return n[1] = t[r], n;
4399
4378
  }
4400
- function nr(e, t, r) {
4379
+ function tr(e, t, r) {
4401
4380
  const n = e.slice();
4402
4381
  return n[60] = t[r], n;
4403
4382
  }
4404
- function Wo(e, t, r) {
4383
+ function $o(e, t, r) {
4405
4384
  const n = e.slice();
4406
4385
  return n[66] = t[r], n;
4407
4386
  }
4408
- function ir(e, t, r) {
4387
+ function rr(e, t, r) {
4409
4388
  const n = e.slice();
4410
4389
  return n[63] = t[r], n;
4411
4390
  }
4412
- function or(e) {
4413
- let t, r, n, i, o, a, s, u, l, c, h, f, p, g, y, w, H, B, P, G, C, V, z;
4391
+ function nr(e) {
4392
+ let t, r, n, i, o, a, s, l, u, h, c, f, m, p, y, S, T, P, L, G, C, V, X;
4414
4393
  function ne(x, R) {
4415
4394
  return (
4416
4395
  /*HamburgerMenuItems*/
4417
- x[4].length > 0 ? Xo : Vo
4396
+ x[4].length > 0 ? Wo : jo
4418
4397
  );
4419
4398
  }
4420
- let J = ne(e), N = J(e), j = q(
4399
+ let J = ne(e), N = J(e), j = Q(
4421
4400
  /*activeMenuItemChildren*/
4422
4401
  e[6]
4423
- ), O = [];
4402
+ ), M = [];
4424
4403
  for (let x = 0; x < j.length; x += 1)
4425
- O[x] = lr(nr(e, j, x));
4426
- let L = (
4404
+ M[x] = sr(tr(e, j, x));
4405
+ let B = (
4427
4406
  /*languagesArray*/
4428
- e[9].length > 1 && cr(e)
4407
+ e[9].length > 1 && lr(e)
4429
4408
  );
4430
4409
  return {
4431
4410
  c() {
4432
4411
  t = v("div"), r = v("div"), n = v("ul"), N.c(), i = U(), o = v("div"), a = U(), s = v("ul");
4433
- for (let x = 0; x < O.length; x += 1)
4434
- O[x].c();
4435
- l = U(), L && L.c(), h = U(), f = v("span"), p = v("div"), g = v("span"), y = U(), w = v("span"), H = U(), B = v("span"), m(n, "class", "HamburgerPrimaryMenu"), m(o, "class", "Separator"), m(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4436
- (e[10] ? "Overlay" : "")), m(r, "class", c = "HamburgerModalContainer " + /*modalIsOpen*/
4412
+ for (let x = 0; x < M.length; x += 1)
4413
+ M[x].c();
4414
+ u = U(), B && B.c(), c = U(), f = v("span"), m = v("div"), p = v("span"), y = U(), S = v("span"), T = U(), P = v("span"), g(n, "class", "HamburgerPrimaryMenu"), g(o, "class", "Separator"), g(s, "class", l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4415
+ (e[10] ? "Overlay" : "")), g(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
4437
4416
  (e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4438
- (e[12] ? "Closing" : "")), m(p, "class", P = "NavIcon " + (/*navIconClosing*/
4439
- e[13] ? "" : "Open")), m(f, "class", G = /*modalIsOpen*/
4440
- e[7] ? "ModalCloseBtn" : ""), m(f, "role", "button"), m(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4417
+ (e[12] ? "Closing" : "")), g(m, "class", L = "NavIcon " + (/*navIconClosing*/
4418
+ e[13] ? "" : "Open")), g(f, "class", G = /*modalIsOpen*/
4419
+ e[7] ? "ModalCloseBtn" : ""), g(f, "role", "button"), g(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4441
4420
  (e[12] ? " Closing" : ""));
4442
4421
  },
4443
4422
  m(x, R) {
4444
4423
  F(x, t, R), b(t, r), b(r, n), N.m(n, null), b(r, i), b(r, o), b(r, a), b(r, s);
4445
- for (let S = 0; S < O.length; S += 1)
4446
- O[S] && O[S].m(s, null);
4447
- b(r, l), L && L.m(r, null), b(t, h), b(t, f), b(f, p), b(p, g), b(p, y), b(p, w), b(p, H), b(p, B), e[40](t), V || (z = te(
4424
+ for (let H = 0; H < M.length; H += 1)
4425
+ M[H] && M[H].m(s, null);
4426
+ b(r, u), B && B.m(r, null), b(t, c), b(t, f), b(f, m), b(m, p), b(m, y), b(m, S), b(m, T), b(m, P), e[40](t), V || (X = te(
4448
4427
  f,
4449
4428
  "click",
4450
4429
  /*close*/
@@ -4454,47 +4433,47 @@ function or(e) {
4454
4433
  p(x, R) {
4455
4434
  if (J === (J = ne(x)) && N ? N.p(x, R) : (N.d(1), N = J(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
4456
4435
  262208) {
4457
- j = q(
4436
+ j = Q(
4458
4437
  /*activeMenuItemChildren*/
4459
4438
  x[6]
4460
4439
  );
4461
- let S;
4462
- for (S = 0; S < j.length; S += 1) {
4463
- const W = nr(x, j, S);
4464
- O[S] ? O[S].p(W, R) : (O[S] = lr(W), O[S].c(), O[S].m(s, null));
4440
+ let H;
4441
+ for (H = 0; H < j.length; H += 1) {
4442
+ const W = tr(x, j, H);
4443
+ M[H] ? M[H].p(W, R) : (M[H] = sr(W), M[H].c(), M[H].m(s, null));
4465
4444
  }
4466
- for (; S < O.length; S += 1)
4467
- O[S].d(1);
4468
- O.length = j.length;
4445
+ for (; H < M.length; H += 1)
4446
+ M[H].d(1);
4447
+ M.length = j.length;
4469
4448
  }
4470
4449
  R[0] & /*isOptionsListVisible*/
4471
- 1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4472
- (x[10] ? "Overlay" : "")) && m(s, "class", u), /*languagesArray*/
4473
- x[9].length > 1 ? L ? L.p(x, R) : (L = cr(x), L.c(), L.m(r, null)) : L && (L.d(1), L = null), R[0] & /*modalIsOpen, isClosing*/
4474
- 4224 && c !== (c = "HamburgerModalContainer " + /*modalIsOpen*/
4450
+ 1024 && l !== (l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4451
+ (x[10] ? "Overlay" : "")) && g(s, "class", l), /*languagesArray*/
4452
+ x[9].length > 1 ? B ? B.p(x, R) : (B = lr(x), B.c(), B.m(r, null)) : B && (B.d(1), B = null), R[0] & /*modalIsOpen, isClosing*/
4453
+ 4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
4475
4454
  (x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4476
- (x[12] ? "Closing" : "")) && m(r, "class", c), R[0] & /*navIconClosing*/
4477
- 8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
4478
- x[13] ? "" : "Open")) && m(p, "class", P), R[0] & /*modalIsOpen*/
4455
+ (x[12] ? "Closing" : "")) && g(r, "class", h), R[0] & /*navIconClosing*/
4456
+ 8192 && L !== (L = "NavIcon " + (/*navIconClosing*/
4457
+ x[13] ? "" : "Open")) && g(m, "class", L), R[0] & /*modalIsOpen*/
4479
4458
  128 && G !== (G = /*modalIsOpen*/
4480
- x[7] ? "ModalCloseBtn" : "") && m(f, "class", G), R[0] & /*isClosing*/
4459
+ x[7] ? "ModalCloseBtn" : "") && g(f, "class", G), R[0] & /*isClosing*/
4481
4460
  4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
4482
- (x[12] ? " Closing" : "")) && m(t, "class", C);
4461
+ (x[12] ? " Closing" : "")) && g(t, "class", C);
4483
4462
  },
4484
4463
  d(x) {
4485
- x && I(t), N.d(), Ee(O, x), L && L.d(), e[40](null), V = !1, z();
4464
+ x && I(t), N.d(), we(M, x), B && B.d(), e[40](null), V = !1, X();
4486
4465
  }
4487
4466
  };
4488
4467
  }
4489
- function Vo(e) {
4490
- let t, r = q(new Array(5)), n = [];
4468
+ function jo(e) {
4469
+ let t, r = Q(new Array(5)), n = [];
4491
4470
  for (let i = 0; i < r.length; i += 1)
4492
- n[i] = zo(Wo(e, r, i));
4471
+ n[i] = Vo($o(e, r, i));
4493
4472
  return {
4494
4473
  c() {
4495
4474
  for (let i = 0; i < n.length; i += 1)
4496
4475
  n[i].c();
4497
- t = yr();
4476
+ t = pr();
4498
4477
  },
4499
4478
  m(i, o) {
4500
4479
  for (let a = 0; a < n.length; a += 1)
@@ -4503,22 +4482,22 @@ function Vo(e) {
4503
4482
  },
4504
4483
  p: $,
4505
4484
  d(i) {
4506
- i && I(t), Ee(n, i);
4485
+ i && I(t), we(n, i);
4507
4486
  }
4508
4487
  };
4509
4488
  }
4510
- function Xo(e) {
4511
- let t, r = q(
4489
+ function Wo(e) {
4490
+ let t, r = Q(
4512
4491
  /*HamburgerMenuItems*/
4513
4492
  e[4]
4514
4493
  ), n = [];
4515
4494
  for (let i = 0; i < r.length; i += 1)
4516
- n[i] = sr(ir(e, r, i));
4495
+ n[i] = or(rr(e, r, i));
4517
4496
  return {
4518
4497
  c() {
4519
4498
  for (let i = 0; i < n.length; i += 1)
4520
4499
  n[i].c();
4521
- t = yr();
4500
+ t = pr();
4522
4501
  },
4523
4502
  m(i, o) {
4524
4503
  for (let a = 0; a < n.length; a += 1)
@@ -4528,14 +4507,14 @@ function Xo(e) {
4528
4507
  p(i, o) {
4529
4508
  if (o[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4530
4509
  131120) {
4531
- r = q(
4510
+ r = Q(
4532
4511
  /*HamburgerMenuItems*/
4533
4512
  i[4]
4534
4513
  );
4535
4514
  let a;
4536
4515
  for (a = 0; a < r.length; a += 1) {
4537
- const s = ir(i, r, a);
4538
- n[a] ? n[a].p(s, o) : (n[a] = sr(s), n[a].c(), n[a].m(t.parentNode, t));
4516
+ const s = rr(i, r, a);
4517
+ n[a] ? n[a].p(s, o) : (n[a] = or(s), n[a].c(), n[a].m(t.parentNode, t));
4539
4518
  }
4540
4519
  for (; a < n.length; a += 1)
4541
4520
  n[a].d(1);
@@ -4543,15 +4522,15 @@ function Xo(e) {
4543
4522
  }
4544
4523
  },
4545
4524
  d(i) {
4546
- i && I(t), Ee(n, i);
4525
+ i && I(t), we(n, i);
4547
4526
  }
4548
4527
  };
4549
4528
  }
4550
- function zo(e) {
4529
+ function Vo(e) {
4551
4530
  let t;
4552
4531
  return {
4553
4532
  c() {
4554
- t = v("div"), t.innerHTML = "", m(t, "class", "Loading Skeleton");
4533
+ t = v("div"), t.innerHTML = "", g(t, "class", "Loading Skeleton");
4555
4534
  },
4556
4535
  m(r, n) {
4557
4536
  F(r, t, n);
@@ -4562,12 +4541,12 @@ function zo(e) {
4562
4541
  }
4563
4542
  };
4564
4543
  }
4565
- function ar(e) {
4544
+ function ir(e) {
4566
4545
  let t, r;
4567
4546
  return {
4568
4547
  c() {
4569
4548
  t = v("img"), K(t.src, r = /*mainItem*/
4570
- e[63].img) || m(t, "src", r), m(t, "alt", "menu icon");
4549
+ e[63].img) || g(t, "src", r), g(t, "alt", "menu icon");
4571
4550
  },
4572
4551
  m(n, i) {
4573
4552
  F(n, t, i);
@@ -4575,20 +4554,20 @@ function ar(e) {
4575
4554
  p(n, i) {
4576
4555
  i[0] & /*HamburgerMenuItems*/
4577
4556
  16 && !K(t.src, r = /*mainItem*/
4578
- n[63].img) && m(t, "src", r);
4557
+ n[63].img) && g(t, "src", r);
4579
4558
  },
4580
4559
  d(n) {
4581
4560
  n && I(t);
4582
4561
  }
4583
4562
  };
4584
4563
  }
4585
- function sr(e) {
4564
+ function or(e) {
4586
4565
  let t, r, n, i, o = (
4587
4566
  /*mainItem*/
4588
4567
  e[63].label + ""
4589
- ), a, s, u, l, c, h = (
4568
+ ), a, s, l, u, h, c = (
4590
4569
  /*mainItem*/
4591
- e[63]?.img && ar(e)
4570
+ e[63]?.img && ir(e)
4592
4571
  );
4593
4572
  function f() {
4594
4573
  return (
@@ -4601,33 +4580,33 @@ function sr(e) {
4601
4580
  }
4602
4581
  return {
4603
4582
  c() {
4604
- t = v("li"), r = v("div"), h && h.c(), n = U(), i = v("p"), a = ee(o), s = U(), m(r, "class", "HamburgerItemContainer"), m(t, "class", u = /*activeMenuItemId*/
4583
+ t = v("li"), r = v("div"), c && c.c(), n = U(), i = v("p"), a = ee(o), s = U(), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4605
4584
  e[5] === /*mainItem*/
4606
4585
  e[63].id ? "ActiveItem" : "");
4607
4586
  },
4608
- m(p, g) {
4609
- F(p, t, g), b(t, r), h && h.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), l || (c = te(t, "click", f), l = !0);
4587
+ m(m, p) {
4588
+ F(m, t, p), b(t, r), c && c.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), u || (h = te(t, "click", f), u = !0);
4610
4589
  },
4611
- p(p, g) {
4612
- e = p, /*mainItem*/
4613
- e[63]?.img ? h ? h.p(e, g) : (h = ar(e), h.c(), h.m(r, n)) : h && (h.d(1), h = null), g[0] & /*HamburgerMenuItems*/
4590
+ p(m, p) {
4591
+ e = m, /*mainItem*/
4592
+ e[63]?.img ? c ? c.p(e, p) : (c = ir(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), p[0] & /*HamburgerMenuItems*/
4614
4593
  16 && o !== (o = /*mainItem*/
4615
- e[63].label + "") && de(a, o), g[0] & /*activeMenuItemId, HamburgerMenuItems*/
4616
- 48 && u !== (u = /*activeMenuItemId*/
4594
+ e[63].label + "") && me(a, o), p[0] & /*activeMenuItemId, HamburgerMenuItems*/
4595
+ 48 && l !== (l = /*activeMenuItemId*/
4617
4596
  e[5] === /*mainItem*/
4618
- e[63].id ? "ActiveItem" : "") && m(t, "class", u);
4597
+ e[63].id ? "ActiveItem" : "") && g(t, "class", l);
4619
4598
  },
4620
- d(p) {
4621
- p && I(t), h && h.d(), l = !1, c();
4599
+ d(m) {
4600
+ m && I(t), c && c.d(), u = !1, h();
4622
4601
  }
4623
4602
  };
4624
4603
  }
4625
- function ur(e) {
4604
+ function ar(e) {
4626
4605
  let t, r;
4627
4606
  return {
4628
4607
  c() {
4629
4608
  t = v("img"), K(t.src, r = /*secondaryItem*/
4630
- e[60].img) || m(t, "src", r), m(t, "alt", "menu icon");
4609
+ e[60].img) || g(t, "src", r), g(t, "alt", "menu icon");
4631
4610
  },
4632
4611
  m(n, i) {
4633
4612
  F(n, t, i);
@@ -4635,137 +4614,137 @@ function ur(e) {
4635
4614
  p(n, i) {
4636
4615
  i[0] & /*activeMenuItemChildren*/
4637
4616
  64 && !K(t.src, r = /*secondaryItem*/
4638
- n[60].img) && m(t, "src", r);
4617
+ n[60].img) && g(t, "src", r);
4639
4618
  },
4640
4619
  d(n) {
4641
4620
  n && I(t);
4642
4621
  }
4643
4622
  };
4644
4623
  }
4645
- function lr(e) {
4624
+ function sr(e) {
4646
4625
  let t, r, n, i = (
4647
4626
  /*secondaryItem*/
4648
4627
  e[60].label + ""
4649
- ), o, a, s, u, l = (
4628
+ ), o, a, s, l, u = (
4650
4629
  /*secondaryItem*/
4651
- e[60]?.img && ur(e)
4630
+ e[60]?.img && ar(e)
4652
4631
  );
4653
- function c(...h) {
4632
+ function h(...c) {
4654
4633
  return (
4655
4634
  /*click_handler_1*/
4656
4635
  e[36](
4657
4636
  /*secondaryItem*/
4658
4637
  e[60],
4659
- ...h
4638
+ ...c
4660
4639
  )
4661
4640
  );
4662
4641
  }
4663
4642
  return {
4664
4643
  c() {
4665
- t = v("li"), l && l.c(), r = U(), n = v("p"), o = ee(i), a = U();
4644
+ t = v("li"), u && u.c(), r = U(), n = v("p"), o = ee(i), a = U();
4666
4645
  },
4667
- m(h, f) {
4668
- F(h, t, f), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = te(t, "click", c), s = !0);
4646
+ m(c, f) {
4647
+ F(c, t, f), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (l = te(t, "click", h), s = !0);
4669
4648
  },
4670
- p(h, f) {
4671
- e = h, /*secondaryItem*/
4672
- e[60]?.img ? l ? l.p(e, f) : (l = ur(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), f[0] & /*activeMenuItemChildren*/
4649
+ p(c, f) {
4650
+ e = c, /*secondaryItem*/
4651
+ e[60]?.img ? u ? u.p(e, f) : (u = ar(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*activeMenuItemChildren*/
4673
4652
  64 && i !== (i = /*secondaryItem*/
4674
- e[60].label + "") && de(o, i);
4653
+ e[60].label + "") && me(o, i);
4675
4654
  },
4676
- d(h) {
4677
- h && I(t), l && l.d(), s = !1, u();
4655
+ d(c) {
4656
+ c && I(t), u && u.d(), s = !1, l();
4678
4657
  }
4679
4658
  };
4680
4659
  }
4681
- function cr(e) {
4660
+ function lr(e) {
4682
4661
  let t, r, n = (
4683
4662
  /*$_*/
4684
4663
  e[15]("language") + ""
4685
- ), i, o, a, s, u;
4686
- function l(f, p) {
4664
+ ), i, o, a, s, l;
4665
+ function u(f, m) {
4687
4666
  return (
4688
4667
  /*countryflaghamburger*/
4689
- f[0] !== "true" ? Qo : Zo
4668
+ f[0] !== "true" ? zo : Xo
4690
4669
  );
4691
4670
  }
4692
- let c = l(e), h = c(e);
4671
+ let h = u(e), c = h(e);
4693
4672
  return {
4694
4673
  c() {
4695
- t = v("div"), r = v("span"), i = ee(n), o = U(), h.c(), m(r, "class", "LanguageSelectorTitle"), m(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4674
+ t = v("div"), r = v("span"), i = ee(n), o = U(), c.c(), g(r, "class", "LanguageSelectorTitle"), g(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4696
4675
  (e[10] ? "Open" : ""));
4697
4676
  },
4698
- m(f, p) {
4699
- F(f, t, p), b(t, r), b(r, i), b(t, o), h.m(t, null), s || (u = te(
4677
+ m(f, m) {
4678
+ F(f, t, m), b(t, r), b(r, i), b(t, o), c.m(t, null), s || (l = te(
4700
4679
  t,
4701
4680
  "click",
4702
4681
  /*toggleLanguageDropdown*/
4703
4682
  e[21]
4704
4683
  ), s = !0);
4705
4684
  },
4706
- p(f, p) {
4707
- p[0] & /*$_*/
4685
+ p(f, m) {
4686
+ m[0] & /*$_*/
4708
4687
  32768 && n !== (n = /*$_*/
4709
- f[15]("language") + "") && de(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*/
4688
+ f[15]("language") + "") && me(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*/
4710
4689
  1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4711
- (f[10] ? "Open" : "")) && m(t, "class", a);
4690
+ (f[10] ? "Open" : "")) && g(t, "class", a);
4712
4691
  },
4713
4692
  d(f) {
4714
- f && I(t), h.d(), s = !1, u();
4693
+ f && I(t), c.d(), s = !1, l();
4715
4694
  }
4716
4695
  };
4717
4696
  }
4718
- function Zo(e) {
4719
- let t, r, n, i, o, a, s, u = (
4697
+ function Xo(e) {
4698
+ let t, r, n, i, o, a, s, l = (
4720
4699
  /*selectedLanguage*/
4721
4700
  e[14].slice(-2) + ""
4722
- ), l, c, h, f, p, g, y, w = (
4701
+ ), u, h, c, f, m, p, y, S = (
4723
4702
  /*isOptionsListVisible*/
4724
- e[10] && hr(e)
4703
+ e[10] && ur(e)
4725
4704
  );
4726
4705
  return {
4727
4706
  c() {
4728
- t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), l = ee(u), c = U(), h = v("span"), f = At("svg"), p = At("path"), y = U(), w && w.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4707
+ t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), u = ee(l), h = U(), c = v("span"), f = Ot("svg"), m = Ot("path"), y = U(), S && S.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4729
4708
  e[22](
4730
4709
  /*selectedLanguage*/
4731
4710
  e[14]
4732
- )}.svg`) || m(i, "src", o), m(n, "class", "FlagIcon"), m(s, "class", "LanguageName"), m(p, "id", "arrow"), m(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"), m(p, "transform", "translate(-274.511 -441.088)"), m(p, "fill", "#d1d1d1"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "14"), m(f, "height", "6.835"), m(f, "viewBox", "0 0 14 6.835"), m(h, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
4733
- (e[10] ? "TriangleActive" : "")), m(r, "class", "SelectedOption Item ItemLanguage"), m(t, "class", "LanguageDropdown");
4711
+ )}.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*/
4712
+ (e[10] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4734
4713
  },
4735
- m(H, B) {
4736
- F(H, t, B), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, c), b(r, h), b(h, f), b(f, p), b(t, y), w && w.m(t, null);
4714
+ m(T, P) {
4715
+ F(T, t, P), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, u), b(r, h), b(r, c), b(c, f), b(f, m), b(t, y), S && S.m(t, null);
4737
4716
  },
4738
- p(H, B) {
4739
- B[0] & /*selectedLanguage, languagesArray*/
4717
+ p(T, P) {
4718
+ P[0] & /*selectedLanguage, languagesArray*/
4740
4719
  16896 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4741
- H[22](
4720
+ T[22](
4742
4721
  /*selectedLanguage*/
4743
- H[14]
4744
- )}.svg`) && m(i, "src", o), B[0] & /*selectedLanguage*/
4745
- 16384 && u !== (u = /*selectedLanguage*/
4746
- H[14].slice(-2) + "") && de(l, u), B[0] & /*isOptionsListVisible*/
4747
- 1024 && g !== (g = "TriangleInactive " + /*isOptionsListVisible*/
4748
- (H[10] ? "TriangleActive" : "")) && m(h, "class", g), /*isOptionsListVisible*/
4749
- H[10] ? w ? w.p(H, B) : (w = hr(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4722
+ T[14]
4723
+ )}.svg`) && g(i, "src", o), P[0] & /*selectedLanguage*/
4724
+ 16384 && l !== (l = /*selectedLanguage*/
4725
+ T[14].slice(-2) + "") && me(u, l), P[0] & /*isOptionsListVisible*/
4726
+ 1024 && p !== (p = "TriangleInactive " + /*isOptionsListVisible*/
4727
+ (T[10] ? "TriangleActive" : "")) && g(c, "class", p), /*isOptionsListVisible*/
4728
+ T[10] ? S ? S.p(T, P) : (S = ur(T), S.c(), S.m(t, null)) : S && (S.d(1), S = null);
4750
4729
  },
4751
- d(H) {
4752
- H && I(t), w && w.d();
4730
+ d(T) {
4731
+ T && I(t), S && S.d();
4753
4732
  }
4754
4733
  };
4755
4734
  }
4756
- function Qo(e) {
4757
- let t, r, n, i = q(
4735
+ function zo(e) {
4736
+ let t, r, n, i = Q(
4758
4737
  /*languagesArray*/
4759
4738
  e[9]
4760
4739
  ), o = [];
4761
4740
  for (let a = 0; a < i.length; a += 1)
4762
- o[a] = dr(rr(e, i, a));
4741
+ o[a] = cr(er(e, i, a));
4763
4742
  return {
4764
4743
  c() {
4765
4744
  t = v("select");
4766
4745
  for (let a = 0; a < o.length; a += 1)
4767
4746
  o[a].c();
4768
- m(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4747
+ g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4769
4748
  e[14] === void 0 && Re(() => (
4770
4749
  /*select_change_handler*/
4771
4750
  e[37].call(t)
@@ -4773,9 +4752,9 @@ function Qo(e) {
4773
4752
  },
4774
4753
  m(a, s) {
4775
4754
  F(a, t, s);
4776
- for (let u = 0; u < o.length; u += 1)
4777
- o[u] && o[u].m(t, null);
4778
- Lt(
4755
+ for (let l = 0; l < o.length; l += 1)
4756
+ o[l] && o[l].m(t, null);
4757
+ At(
4779
4758
  t,
4780
4759
  /*selectedLanguage*/
4781
4760
  e[14],
@@ -4798,44 +4777,44 @@ function Qo(e) {
4798
4777
  p(a, s) {
4799
4778
  if (s[0] & /*languagesArray*/
4800
4779
  512) {
4801
- i = q(
4780
+ i = Q(
4802
4781
  /*languagesArray*/
4803
4782
  a[9]
4804
4783
  );
4805
- let u;
4806
- for (u = 0; u < i.length; u += 1) {
4807
- const l = rr(a, i, u);
4808
- o[u] ? o[u].p(l, s) : (o[u] = dr(l), o[u].c(), o[u].m(t, null));
4784
+ let l;
4785
+ for (l = 0; l < i.length; l += 1) {
4786
+ const u = er(a, i, l);
4787
+ o[l] ? o[l].p(u, s) : (o[l] = cr(u), o[l].c(), o[l].m(t, null));
4809
4788
  }
4810
- for (; u < o.length; u += 1)
4811
- o[u].d(1);
4789
+ for (; l < o.length; l += 1)
4790
+ o[l].d(1);
4812
4791
  o.length = i.length;
4813
4792
  }
4814
4793
  s[0] & /*selectedLanguage, languagesArray*/
4815
- 16896 && Lt(
4794
+ 16896 && At(
4816
4795
  t,
4817
4796
  /*selectedLanguage*/
4818
4797
  a[14]
4819
4798
  );
4820
4799
  },
4821
4800
  d(a) {
4822
- a && I(t), Ee(o, a), r = !1, fe(n);
4801
+ a && I(t), we(o, a), r = !1, de(n);
4823
4802
  }
4824
4803
  };
4825
4804
  }
4826
- function hr(e) {
4827
- let t, r, n = q(
4805
+ function ur(e) {
4806
+ let t, r, n = Q(
4828
4807
  /*languagesArray*/
4829
4808
  e[9]
4830
4809
  ), i = [];
4831
4810
  for (let o = 0; o < n.length; o += 1)
4832
- i[o] = fr(tr(e, n, o));
4811
+ i[o] = hr(Kt(e, n, o));
4833
4812
  return {
4834
4813
  c() {
4835
4814
  t = v("div");
4836
4815
  for (let o = 0; o < i.length; o += 1)
4837
4816
  i[o].c();
4838
- m(t, "class", r = "OptionList " + /*languageListOpen*/
4817
+ g(t, "class", r = "OptionList " + /*languageListOpen*/
4839
4818
  (e[11] ? "Open" : ""));
4840
4819
  },
4841
4820
  m(o, a) {
@@ -4846,14 +4825,14 @@ function hr(e) {
4846
4825
  p(o, a) {
4847
4826
  if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
4848
4827
  5245440) {
4849
- n = q(
4828
+ n = Q(
4850
4829
  /*languagesArray*/
4851
4830
  o[9]
4852
4831
  );
4853
4832
  let s;
4854
4833
  for (s = 0; s < n.length; s += 1) {
4855
- const u = tr(o, n, s);
4856
- i[s] ? i[s].p(u, a) : (i[s] = fr(u), i[s].c(), i[s].m(t, null));
4834
+ const l = Kt(o, n, s);
4835
+ i[s] ? i[s].p(l, a) : (i[s] = hr(l), i[s].c(), i[s].m(t, null));
4857
4836
  }
4858
4837
  for (; s < i.length; s += 1)
4859
4838
  i[s].d(1);
@@ -4861,19 +4840,19 @@ function hr(e) {
4861
4840
  }
4862
4841
  a[0] & /*languageListOpen*/
4863
4842
  2048 && r !== (r = "OptionList " + /*languageListOpen*/
4864
- (o[11] ? "Open" : "")) && m(t, "class", r);
4843
+ (o[11] ? "Open" : "")) && g(t, "class", r);
4865
4844
  },
4866
4845
  d(o) {
4867
- o && I(t), Ee(i, o);
4846
+ o && I(t), we(i, o);
4868
4847
  }
4869
4848
  };
4870
4849
  }
4871
- function fr(e) {
4850
+ function hr(e) {
4872
4851
  let t, r, n, i, o, a, s = (
4873
4852
  /*operatorLanguage*/
4874
4853
  e[57] + ""
4875
- ), u, l, c, h, f;
4876
- function p() {
4854
+ ), l, u, h, c, f;
4855
+ function m() {
4877
4856
  return (
4878
4857
  /*click_handler_2*/
4879
4858
  e[39](
@@ -4884,34 +4863,34 @@ function fr(e) {
4884
4863
  }
4885
4864
  return {
4886
4865
  c() {
4887
- t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), u = ee(s), l = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4866
+ t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), l = ee(s), u = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4888
4867
  e[22](
4889
4868
  /*operatorLanguage*/
4890
4869
  e[57]
4891
- )}.svg`) || m(n, "src", i), m(r, "class", "FlagIcon"), m(a, "class", "LanguageName"), m(t, "class", c = "LanguageOption " + /*languageListOpen*/
4870
+ )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(t, "class", h = "LanguageOption " + /*languageListOpen*/
4892
4871
  (e[11] ? "Open" : ""));
4893
4872
  },
4894
- m(g, y) {
4895
- F(g, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), h || (f = te(t, "click", p), h = !0);
4873
+ m(p, y) {
4874
+ F(p, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, l), b(t, u), c || (f = te(t, "click", m), c = !0);
4896
4875
  },
4897
- p(g, y) {
4898
- e = g, y[0] & /*languagesArray*/
4876
+ p(p, y) {
4877
+ e = p, y[0] & /*languagesArray*/
4899
4878
  512 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4900
4879
  e[22](
4901
4880
  /*operatorLanguage*/
4902
4881
  e[57]
4903
- )}.svg`) && m(n, "src", i), y[0] & /*languagesArray*/
4882
+ )}.svg`) && g(n, "src", i), y[0] & /*languagesArray*/
4904
4883
  512 && s !== (s = /*operatorLanguage*/
4905
- e[57] + "") && de(u, s), y[0] & /*languageListOpen*/
4906
- 2048 && c !== (c = "LanguageOption " + /*languageListOpen*/
4907
- (e[11] ? "Open" : "")) && m(t, "class", c);
4884
+ e[57] + "") && me(l, s), y[0] & /*languageListOpen*/
4885
+ 2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
4886
+ (e[11] ? "Open" : "")) && g(t, "class", h);
4908
4887
  },
4909
- d(g) {
4910
- g && I(t), h = !1, f();
4888
+ d(p) {
4889
+ p && I(t), c = !1, f();
4911
4890
  }
4912
4891
  };
4913
4892
  }
4914
- function dr(e) {
4893
+ function cr(e) {
4915
4894
  let t, r = (
4916
4895
  /*lang*/
4917
4896
  e[1].slice(-2) + ""
@@ -4919,7 +4898,7 @@ function dr(e) {
4919
4898
  return {
4920
4899
  c() {
4921
4900
  t = v("option"), n = ee(r), t.__value = i = /*lang*/
4922
- e[1], Pt(t, t.__value), t.selected = !0;
4901
+ e[1], Mt(t, t.__value), t.selected = !0;
4923
4902
  },
4924
4903
  m(o, a) {
4925
4904
  F(o, t, a), b(t, n);
@@ -4927,19 +4906,19 @@ function dr(e) {
4927
4906
  p(o, a) {
4928
4907
  a[0] & /*languagesArray*/
4929
4908
  512 && r !== (r = /*lang*/
4930
- o[1].slice(-2) + "") && de(n, r), a[0] & /*languagesArray*/
4909
+ o[1].slice(-2) + "") && me(n, r), a[0] & /*languagesArray*/
4931
4910
  512 && i !== (i = /*lang*/
4932
- o[1]) && (t.__value = i, Pt(t, t.__value));
4911
+ o[1]) && (t.__value = i, Mt(t, t.__value));
4933
4912
  },
4934
4913
  d(o) {
4935
4914
  o && I(t);
4936
4915
  }
4937
4916
  };
4938
4917
  }
4939
- function qo(e) {
4918
+ function Zo(e) {
4940
4919
  let t, r = (
4941
4920
  /*show*/
4942
- e[8] === !0 && or(e)
4921
+ e[8] === !0 && nr(e)
4943
4922
  );
4944
4923
  return {
4945
4924
  c() {
@@ -4950,7 +4929,7 @@ function qo(e) {
4950
4929
  },
4951
4930
  p(n, i) {
4952
4931
  /*show*/
4953
- n[8] === !0 ? r ? r.p(n, i) : (r = or(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4932
+ n[8] === !0 ? r ? r.p(n, i) : (r = nr(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4954
4933
  },
4955
4934
  i: $,
4956
4935
  o: $,
@@ -4959,30 +4938,30 @@ function qo(e) {
4959
4938
  }
4960
4939
  };
4961
4940
  }
4962
- function Jo(e, t, r) {
4941
+ function Qo(e, t, r) {
4963
4942
  let n;
4964
- fn(e, Ro, (d) => r(15, n = d));
4965
- 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: g = "" } = t, { customlocaleidentifier: y = "" } = t, { countryflaghamburger: w = "" } = t, H, B = window.navigator.userAgent, P = [], G, C = "", V = [], z = !1, ne = !1, J = !0, N = [], j = !1, O = !1, L = !1, x = !1, R = !0, S, W = "", Z;
4966
- const Jr = () => {
4967
- fetch(h).then((d) => d.json()).then((d) => {
4968
- Object.keys(d).forEach((M) => {
4969
- Kt(M, d[M]);
4943
+ cn(e, Co, (d) => r(15, n = d));
4944
+ 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: y = "" } = t, { countryflaghamburger: S = "" } = t, T, P = window.navigator.userAgent, L = [], G, C = "", V = [], X = !1, ne = !1, J = !0, N = [], j = !1, M = !1, B = !1, x = !1, R = !0, H, W = "", z;
4945
+ const qr = () => {
4946
+ fetch(c).then((d) => d.json()).then((d) => {
4947
+ Object.keys(d).forEach((A) => {
4948
+ Jt(A, d[A]);
4970
4949
  });
4971
4950
  }).catch((d) => {
4972
4951
  console.log(d);
4973
4952
  });
4974
4953
  };
4975
- Object.keys(er).forEach((d) => {
4976
- Kt(d, er[d]);
4954
+ Object.keys(Yt).forEach((d) => {
4955
+ Jt(d, Yt[d]);
4977
4956
  });
4978
- const Xe = () => {
4979
- S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4980
- let d = Fo(B);
4981
- 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);
4982
- }, xt = () => {
4983
- r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, L = !1), setTimeout(
4957
+ const We = () => {
4958
+ H = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4959
+ let d = Ro(P);
4960
+ 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);
4961
+ }, vt = () => {
4962
+ r(12, x = !0), r(13, R = !0), r(10, M = !1), r(11, B = !1), setTimeout(
4984
4963
  () => {
4985
- r(8, ne = !1), r(7, z = !1);
4964
+ r(8, ne = !1), r(7, X = !1);
4986
4965
  },
4987
4966
  200
4988
4967
  ), window.postMessage(
@@ -4992,39 +4971,39 @@ function Jo(e, t, r) {
4992
4971
  },
4993
4972
  window.location.href
4994
4973
  );
4995
- }, Et = (d) => {
4974
+ }, _t = (d) => {
4996
4975
  d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
4997
4976
  () => {
4998
4977
  r(13, R = !1);
4999
4978
  },
5000
4979
  125
5001
- ), r(8, ne = !0), r(7, z = !0), Xe(), St(S)), d.data.type === "LanguageChanged" && (j = !0, Xe(), St(S));
5002
- }, He = (d, M) => {
5003
- r(5, C = d), r(6, V = M || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4980
+ ), r(8, ne = !0), r(7, X = !0), We(), Et(H)), d.data.type === "LanguageChanged" && (j = !0, We(), Et(H));
4981
+ }, He = (d, A) => {
4982
+ r(5, C = d), r(6, V = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5004
4983
  context: "HamburgerMenu",
5005
4984
  menuItem: `${C}`
5006
4985
  });
5007
- }, wt = () => {
5008
- let d = P.filter((M) => {
4986
+ }, xt = () => {
4987
+ let d = L.filter((A) => {
5009
4988
  let Te = !1;
5010
- return M.children?.forEach((ln) => {
5011
- ln.path.includes(l) && (Te = !0);
4989
+ return A.children?.forEach((ln) => {
4990
+ ln.path.includes(u) && (Te = !0);
5012
4991
  }), Te;
5013
4992
  });
5014
- d.length > 0 ? He(d[0].id, d[0].children) : He(P[0].id, P[0].children);
5015
- }, St = (d) => {
5016
- G && !j || Ht(d);
5017
- }, Ht = (d) => {
5018
- fetch(d).then((M) => M.json()).then(
5019
- (M) => {
5020
- r(4, P = M.filter((Te) => Te?.type !== "banner")), wt(), r(34, J = !1), G = M, j = !1;
4993
+ d.length > 0 ? He(d[0].id, d[0].children) : He(L[0].id, L[0].children);
4994
+ }, Et = (d) => {
4995
+ G && !j || wt(d);
4996
+ }, wt = (d) => {
4997
+ fetch(d).then((A) => A.json()).then(
4998
+ (A) => {
4999
+ r(4, L = A.filter((Te) => Te?.type !== "banner")), xt(), r(34, J = !1), G = A, j = !1;
5021
5000
  },
5022
- (M) => {
5023
- console.error(M);
5001
+ (A) => {
5002
+ console.error(A);
5024
5003
  }
5025
5004
  );
5026
5005
  };
5027
- let Tt = (d) => {
5006
+ let St = (d) => {
5028
5007
  window.postMessage(
5029
5008
  {
5030
5009
  type: "NavigateTo",
@@ -5033,9 +5012,9 @@ function Jo(e, t, r) {
5033
5012
  target: d.attrs.target || null
5034
5013
  },
5035
5014
  window.location.href
5036
- ), xt();
5015
+ ), vt();
5037
5016
  };
5038
- const ze = () => {
5017
+ const Ve = () => {
5039
5018
  j = !0, window.postMessage(
5040
5019
  {
5041
5020
  type: "LanguageChanged",
@@ -5043,122 +5022,122 @@ function Jo(e, t, r) {
5043
5022
  },
5044
5023
  window.location.href
5045
5024
  );
5046
- }, Yr = () => {
5047
- $o(u), Xe(), j && Ht(S), r(9, N = c.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = u.toUpperCase());
5048
- }, Ot = (d) => {
5025
+ }, Jr = () => {
5026
+ ko(l), We(), j && wt(H), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = l.toUpperCase());
5027
+ }, Ht = (d) => {
5049
5028
  r(14, W = d), setTimeout(
5050
5029
  () => {
5051
- r(11, L = !1);
5030
+ r(11, B = !1);
5052
5031
  },
5053
5032
  250
5054
5033
  ), setTimeout(
5055
5034
  () => {
5056
- r(10, O = !1);
5035
+ r(10, M = !1);
5057
5036
  },
5058
5037
  500
5059
- ), ze();
5060
- }, Kr = () => {
5061
- O ? (setTimeout(
5038
+ ), Ve();
5039
+ }, Yr = () => {
5040
+ M ? (setTimeout(
5062
5041
  () => {
5063
- r(10, O = !1);
5042
+ r(10, M = !1);
5064
5043
  },
5065
5044
  250
5066
- ), r(11, L = !1)) : (r(10, O = !0), setTimeout(
5045
+ ), r(11, B = !1)) : (r(10, M = !0), setTimeout(
5067
5046
  () => {
5068
- r(11, L = !0);
5047
+ r(11, B = !0);
5069
5048
  },
5070
5049
  300
5071
5050
  ));
5072
- }, en = (d) => {
5073
- let M = d ? d.slice(-2) : W.slice(-2);
5074
- return y && (M = y.includes(M.toLowerCase()) ? y.slice(-2) : M), M == "EN" ? "GB" : M.toUpperCase();
5051
+ }, Kr = (d) => {
5052
+ let A = d ? d.slice(-2) : W.slice(-2);
5053
+ return y && (A = y.includes(A.toLowerCase()) ? y.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
5075
5054
  };
5076
- _n(() => (window.addEventListener("message", Et, !1), Uo(B), () => {
5077
- window.removeEventListener("message", Et);
5055
+ vn(() => (window.addEventListener("message", _t, !1), No(P), () => {
5056
+ window.removeEventListener("message", _t);
5078
5057
  }));
5079
- const tn = (d) => He(d.id, d.children), rn = (d, M) => {
5080
- Tt(d), M.preventDefault();
5058
+ const en = (d) => He(d.id, d.children), tn = (d, A) => {
5059
+ St(d), A.preventDefault();
5081
5060
  };
5082
- function nn() {
5083
- W = bn(this), r(14, W), r(9, N);
5061
+ function rn() {
5062
+ W = pn(this), r(14, W), r(9, N);
5084
5063
  }
5085
- const on = () => ze(), an = (d) => Ot(d);
5086
- function sn(d) {
5064
+ const nn = () => Ve(), on = (d) => Ht(d);
5065
+ function an(d) {
5087
5066
  Ne[d ? "unshift" : "push"](() => {
5088
- H = d, r(3, H);
5067
+ T = d, r(3, T);
5089
5068
  });
5090
5069
  }
5091
- function un(d) {
5070
+ function sn(d) {
5092
5071
  Ne[d ? "unshift" : "push"](() => {
5093
- Z = d, r(2, Z);
5072
+ z = d, r(2, z);
5094
5073
  });
5095
5074
  }
5096
5075
  return e.$$set = (d) => {
5097
- "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, g = d.clientstylingurl), "customlocaleidentifier" in d && r(33, y = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, w = d.countryflaghamburger);
5076
+ "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, y = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, S = d.countryflaghamburger);
5098
5077
  }, e.$$.update = () => {
5099
5078
  e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
5100
- 318767106 && o && a && u && c && Yr(), e.$$.dirty[0] & /*activecategory*/
5079
+ 318767106 && o && a && l && h && Jr(), e.$$.dirty[0] & /*activecategory*/
5101
5080
  134217728 | e.$$.dirty[1] & /*isLoading*/
5102
- 8 && l && !J && wt(), e.$$.dirty[0] & /*translationurl*/
5103
- 536870912 && h && Jr(), e.$$.dirty[0] & /*customStylingContainer*/
5081
+ 8 && u && !J && xt(), e.$$.dirty[0] & /*translationurl*/
5082
+ 536870912 && c && qr(), e.$$.dirty[0] & /*customStylingContainer*/
5104
5083
  4 | e.$$.dirty[1] & /*clientstyling*/
5105
- 1 && p && Z && Do(Z, p), e.$$.dirty[0] & /*customStylingContainer*/
5084
+ 1 && m && z && Uo(z, m), e.$$.dirty[0] & /*customStylingContainer*/
5106
5085
  4 | e.$$.dirty[1] & /*clientstylingurl*/
5107
- 2 && g && Z && ko(Z, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5108
- 1073741828 && f && Z && Go(Z, `${f}.Style`);
5086
+ 2 && p && z && Fo(z, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5087
+ 1073741828 && f && z && Do(z, `${f}.Style`);
5109
5088
  }, [
5110
- w,
5111
- u,
5112
- Z,
5113
- H,
5114
- P,
5089
+ S,
5090
+ l,
5091
+ z,
5092
+ T,
5093
+ L,
5115
5094
  C,
5116
5095
  V,
5117
- z,
5096
+ X,
5118
5097
  ne,
5119
5098
  N,
5120
- O,
5121
- L,
5099
+ M,
5100
+ B,
5122
5101
  x,
5123
5102
  R,
5124
5103
  W,
5125
5104
  n,
5126
- xt,
5105
+ vt,
5127
5106
  He,
5128
- Tt,
5129
- ze,
5130
- Ot,
5107
+ St,
5108
+ Ve,
5109
+ Ht,
5110
+ Yr,
5131
5111
  Kr,
5132
- en,
5133
5112
  i,
5134
5113
  o,
5135
5114
  a,
5136
5115
  s,
5137
- l,
5138
- c,
5116
+ u,
5139
5117
  h,
5118
+ c,
5140
5119
  f,
5120
+ m,
5141
5121
  p,
5142
- g,
5143
5122
  y,
5144
5123
  J,
5124
+ en,
5145
5125
  tn,
5146
5126
  rn,
5147
5127
  nn,
5148
5128
  on,
5149
5129
  an,
5150
- sn,
5151
- un
5130
+ sn
5152
5131
  ];
5153
5132
  }
5154
- class qr extends Bn {
5133
+ class Qr extends Bn {
5155
5134
  constructor(t) {
5156
- super(), Pn(
5135
+ super(), An(
5157
5136
  this,
5158
5137
  t,
5159
- Jo,
5160
- qo,
5161
- mr,
5138
+ Qo,
5139
+ Zo,
5140
+ dr,
5162
5141
  {
5163
5142
  menuitemsurl: 23,
5164
5143
  cmsendpoint: 24,
@@ -5174,7 +5153,7 @@ class qr extends Bn {
5174
5153
  customlocaleidentifier: 33,
5175
5154
  countryflaghamburger: 0
5176
5155
  },
5177
- jo,
5156
+ Go,
5178
5157
  [-1, -1, -1]
5179
5158
  );
5180
5159
  }
@@ -5257,56 +5236,56 @@ class qr extends Bn {
5257
5236
  this.$$set({ countryflaghamburger: t }), D();
5258
5237
  }
5259
5238
  }
5260
- Ln(qr, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5261
- const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5239
+ Ln(Qr, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5240
+ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5262
5241
  __proto__: null,
5263
- default: qr
5242
+ default: Qr
5264
5243
  }, Symbol.toStringTag, { value: "Module" }));
5265
5244
  export {
5266
- me as $,
5267
- yr as A,
5268
- $ as B,
5269
- K as C,
5270
- oa as D,
5271
- Ne as E,
5272
- de as F,
5273
- ee as G,
5274
- At as H,
5275
- q as I,
5276
- Ee as J,
5277
- Fo as K,
5278
- Ro as L,
5279
- Do as M,
5280
- ko as N,
5281
- Go as O,
5282
- sa as P,
5283
- ia as Q,
5284
- ua as R,
5245
+ pe as $,
5246
+ Do as A,
5247
+ pr as B,
5248
+ Q as C,
5249
+ Ot as D,
5250
+ we as E,
5251
+ ee as F,
5252
+ me as G,
5253
+ $ as H,
5254
+ No as I,
5255
+ na as J,
5256
+ Ne as K,
5257
+ Uo as L,
5258
+ K as M,
5259
+ Co as N,
5260
+ Ro as O,
5261
+ oa as P,
5262
+ ra as Q,
5263
+ aa as R,
5285
5264
  Bn as S,
5286
5265
  Se as a,
5287
- Vr as b,
5266
+ Wr as b,
5288
5267
  Ln as c,
5289
- dn as d,
5290
- Yo as e,
5268
+ fn as d,
5269
+ qo as e,
5291
5270
  D as f,
5292
- I as g,
5293
- Tn as h,
5294
- Pn as i,
5295
- ta as j,
5296
- Ko as k,
5297
- m as l,
5298
- na as m,
5299
- F as n,
5300
- b as o,
5301
- te as p,
5302
- ra as q,
5303
- fe as r,
5304
- mr as s,
5305
- aa as t,
5306
- ea as u,
5307
- v,
5308
- U as w,
5309
- fn as x,
5310
- _n as y,
5311
- Uo as z
5271
+ v as g,
5272
+ U as h,
5273
+ An as i,
5274
+ g as j,
5275
+ ta as k,
5276
+ F as l,
5277
+ b as m,
5278
+ te as n,
5279
+ Ko as o,
5280
+ ea as p,
5281
+ Jo as q,
5282
+ ia as r,
5283
+ dr as s,
5284
+ Hn as t,
5285
+ Yo as u,
5286
+ I as v,
5287
+ de as w,
5288
+ cn as x,
5289
+ vn as y,
5290
+ Fo as z
5312
5291
  };