@everymatrix/casino-header-controller-nd 1.76.1 → 1.76.4

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