@everymatrix/casino-hamburger-menu-nd 1.77.21 → 1.77.23

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.
@@ -1,28 +1,36 @@
1
1
  function $() {
2
2
  }
3
- function dr(e) {
3
+ function On(e, t) {
4
+ for (const r in t)
5
+ e[r] = t[r];
6
+ return (
7
+ /** @type {T & S} */
8
+ e
9
+ );
10
+ }
11
+ function Ar(e) {
4
12
  return e();
5
13
  }
6
- function At() {
14
+ function Ft() {
7
15
  return /* @__PURE__ */ Object.create(null);
8
16
  }
9
- function fe(e) {
10
- e.forEach(dr);
17
+ function ce(e) {
18
+ e.forEach(Ar);
11
19
  }
12
- function vt(e) {
20
+ function Lt(e) {
13
21
  return typeof e == "function";
14
22
  }
15
- function mr(e, t) {
23
+ function Lr(e, t) {
16
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
25
  }
18
- let Te;
26
+ let ke;
19
27
  function K(e, t) {
20
- return e === t ? !0 : (Te || (Te = document.createElement("a")), Te.href = t, e === Te.href);
28
+ return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
21
29
  }
22
- function un(e) {
30
+ function Mn(e) {
23
31
  return Object.keys(e).length === 0;
24
32
  }
25
- function gr(e, ...t) {
33
+ function Pr(e, ...t) {
26
34
  if (e == null) {
27
35
  for (const n of t)
28
36
  n(void 0);
@@ -31,20 +39,59 @@ function gr(e, ...t) {
31
39
  const r = e.subscribe(...t);
32
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
41
  }
34
- function ln(e, t, r) {
35
- e.$$.on_destroy.push(gr(t, r));
42
+ function An(e, t, r) {
43
+ e.$$.on_destroy.push(Pr(t, r));
44
+ }
45
+ function Ln(e, t, r, n) {
46
+ if (e) {
47
+ const i = Br(e, t, r, n);
48
+ return e[0](i);
49
+ }
50
+ }
51
+ function Br(e, t, r, n) {
52
+ return e[1] && n ? On(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
+ }
54
+ function Pn(e, t, r, n) {
55
+ if (e[2] && n) {
56
+ const i = e[2](n(r));
57
+ if (t.dirty === void 0)
58
+ return i;
59
+ if (typeof i == "object") {
60
+ const o = [], a = Math.max(t.dirty.length, i.length);
61
+ for (let s = 0; s < a; s += 1)
62
+ o[s] = t.dirty[s] | i[s];
63
+ return o;
64
+ }
65
+ return t.dirty | i;
66
+ }
67
+ return t.dirty;
68
+ }
69
+ function Bn(e, t, r, n, i, o) {
70
+ if (i) {
71
+ const a = Br(t, r, n, o);
72
+ e.p(a, i);
73
+ }
74
+ }
75
+ function In(e) {
76
+ if (e.ctx.length > 32) {
77
+ const t = [], r = e.ctx.length / 32;
78
+ for (let n = 0; n < r; n++)
79
+ t[n] = -1;
80
+ return t;
81
+ }
82
+ return -1;
36
83
  }
37
84
  function b(e, t) {
38
85
  e.appendChild(t);
39
86
  }
40
- function hn(e, t, r) {
41
- const n = cn(e);
87
+ function Cn(e, t, r) {
88
+ const n = Nn(e);
42
89
  if (!n.getElementById(t)) {
43
90
  const i = y("style");
44
- i.id = t, i.textContent = r, fn(n, i);
91
+ i.id = t, i.textContent = r, Rn(n, i);
45
92
  }
46
93
  }
47
- function cn(e) {
94
+ function Nn(e) {
48
95
  if (!e)
49
96
  return document;
50
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,55 +101,55 @@ function cn(e) {
54
101
  t
55
102
  ) : e.ownerDocument;
56
103
  }
57
- function fn(e, t) {
104
+ function Rn(e, t) {
58
105
  return b(
59
106
  /** @type {Document} */
60
107
  e.head || e,
61
108
  t
62
109
  ), t.sheet;
63
110
  }
64
- function k(e, t, r) {
111
+ function B(e, t, r) {
65
112
  e.insertBefore(t, r || null);
66
113
  }
67
- function I(e) {
114
+ function P(e) {
68
115
  e.parentNode && e.parentNode.removeChild(e);
69
116
  }
70
- function Ee(e, t) {
117
+ function Ce(e, t) {
71
118
  for (let r = 0; r < e.length; r += 1)
72
119
  e[r] && e[r].d(t);
73
120
  }
74
121
  function y(e) {
75
122
  return document.createElement(e);
76
123
  }
77
- function Mt(e) {
124
+ function Dt(e) {
78
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
126
  }
80
- function ee(e) {
127
+ function Q(e) {
81
128
  return document.createTextNode(e);
82
129
  }
83
- function U() {
84
- return ee(" ");
130
+ function N() {
131
+ return Q(" ");
85
132
  }
86
- function br() {
87
- return ee("");
133
+ function Ir() {
134
+ return Q("");
88
135
  }
89
- function te(e, t, r, n) {
136
+ function oe(e, t, r, n) {
90
137
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
138
  }
92
- function m(e, t, r) {
139
+ function d(e, t, r) {
93
140
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
141
  }
95
- function pn(e) {
142
+ function kn(e) {
96
143
  return Array.from(e.childNodes);
97
144
  }
98
- function pe(e, t) {
145
+ function ae(e, t) {
99
146
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
100
147
  t);
101
148
  }
102
- function Pt(e, t) {
149
+ function Gt(e, t) {
103
150
  e.value = t ?? "";
104
151
  }
105
- function Lt(e, t, r) {
152
+ function jt(e, t, r) {
106
153
  for (let n = 0; n < e.options.length; n += 1) {
107
154
  const i = e.options[n];
108
155
  if (i.__value === t) {
@@ -112,11 +159,14 @@ function Lt(e, t, r) {
112
159
  }
113
160
  (!r || t !== void 0) && (e.selectedIndex = -1);
114
161
  }
115
- function dn(e) {
162
+ function Un(e) {
116
163
  const t = e.querySelector(":checked");
117
164
  return t && t.__value;
118
165
  }
119
- function mn(e) {
166
+ function $t(e, t, r) {
167
+ e.classList.toggle(t, !!r);
168
+ }
169
+ function Fn(e) {
120
170
  const t = {};
121
171
  return e.childNodes.forEach(
122
172
  /** @param {Element} node */
@@ -125,90 +175,112 @@ function mn(e) {
125
175
  }
126
176
  ), t;
127
177
  }
128
- let ye;
129
- function ve(e) {
130
- ye = e;
178
+ let Le;
179
+ function Ae(e) {
180
+ Le = e;
131
181
  }
132
- function gn() {
133
- if (!ye)
182
+ function Dn() {
183
+ if (!Le)
134
184
  throw new Error("Function called outside component initialization");
135
- return ye;
136
- }
137
- function bn(e) {
138
- gn().$$.on_mount.push(e);
139
- }
140
- const ae = [], Ie = [];
141
- let se = [];
142
- const Bt = [], vn = /* @__PURE__ */ Promise.resolve();
143
- let rt = !1;
144
- function yn() {
145
- rt || (rt = !0, vn.then(F));
146
- }
147
- function Ce(e) {
148
- se.push(e);
185
+ return Le;
149
186
  }
150
- const Ze = /* @__PURE__ */ new Set();
151
- let ie = 0;
152
- function F() {
153
- if (ie !== 0)
187
+ function Gn(e) {
188
+ Dn().$$.on_mount.push(e);
189
+ }
190
+ const ve = [], Ve = [];
191
+ let ye = [];
192
+ const Wt = [], jn = /* @__PURE__ */ Promise.resolve();
193
+ let dt = !1;
194
+ function $n() {
195
+ dt || (dt = !0, jn.then(k));
196
+ }
197
+ function Xe(e) {
198
+ ye.push(e);
199
+ }
200
+ const at = /* @__PURE__ */ new Set();
201
+ let be = 0;
202
+ function k() {
203
+ if (be !== 0)
154
204
  return;
155
- const e = ye;
205
+ const e = Le;
156
206
  do {
157
207
  try {
158
- for (; ie < ae.length; ) {
159
- const t = ae[ie];
160
- ie++, ve(t), _n(t.$$);
208
+ for (; be < ve.length; ) {
209
+ const t = ve[be];
210
+ be++, Ae(t), Wn(t.$$);
161
211
  }
162
212
  } catch (t) {
163
- throw ae.length = 0, ie = 0, t;
213
+ throw ve.length = 0, be = 0, t;
164
214
  }
165
- for (ve(null), ae.length = 0, ie = 0; Ie.length; )
166
- Ie.pop()();
167
- for (let t = 0; t < se.length; t += 1) {
168
- const r = se[t];
169
- Ze.has(r) || (Ze.add(r), r());
215
+ for (Ae(null), ve.length = 0, be = 0; Ve.length; )
216
+ Ve.pop()();
217
+ for (let t = 0; t < ye.length; t += 1) {
218
+ const r = ye[t];
219
+ at.has(r) || (at.add(r), r());
170
220
  }
171
- se.length = 0;
172
- } while (ae.length);
173
- for (; Bt.length; )
174
- Bt.pop()();
175
- rt = !1, Ze.clear(), ve(e);
221
+ ye.length = 0;
222
+ } while (ve.length);
223
+ for (; Wt.length; )
224
+ Wt.pop()();
225
+ dt = !1, at.clear(), Ae(e);
176
226
  }
177
- function _n(e) {
227
+ function Wn(e) {
178
228
  if (e.fragment !== null) {
179
- e.update(), fe(e.before_update);
229
+ e.update(), ce(e.before_update);
180
230
  const t = e.dirty;
181
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
231
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
182
232
  }
183
233
  }
184
- function xn(e) {
234
+ function Vn(e) {
185
235
  const t = [], r = [];
186
- se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
236
+ ye.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ye = t;
237
+ }
238
+ const De = /* @__PURE__ */ new Set();
239
+ let le;
240
+ function Cr() {
241
+ le = {
242
+ r: 0,
243
+ c: [],
244
+ p: le
245
+ // parent group
246
+ };
187
247
  }
188
- const En = /* @__PURE__ */ new Set();
189
- function wn(e, t) {
190
- e && e.i && (En.delete(e), e.i(t));
248
+ function Nr() {
249
+ le.r || ce(le.c), le = le.p;
191
250
  }
192
- function Y(e) {
251
+ function ue(e, t) {
252
+ e && e.i && (De.delete(e), e.i(t));
253
+ }
254
+ function Pe(e, t, r, n) {
255
+ if (e && e.o) {
256
+ if (De.has(e))
257
+ return;
258
+ De.add(e), le.c.push(() => {
259
+ De.delete(e), n && (r && e.d(1), n());
260
+ }), e.o(t);
261
+ } else
262
+ n && n();
263
+ }
264
+ function te(e) {
193
265
  return e?.length !== void 0 ? e : Array.from(e);
194
266
  }
195
- function Sn(e, t, r) {
267
+ function Xn(e, t, r) {
196
268
  const { fragment: n, after_update: i } = e.$$;
197
- n && n.m(t, r), Ce(() => {
198
- const o = e.$$.on_mount.map(dr).filter(vt);
199
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
200
- }), i.forEach(Ce);
269
+ n && n.m(t, r), Xe(() => {
270
+ const o = e.$$.on_mount.map(Ar).filter(Lt);
271
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
272
+ }), i.forEach(Xe);
201
273
  }
202
- function Hn(e, t) {
274
+ function zn(e, t) {
203
275
  const r = e.$$;
204
- r.fragment !== null && (xn(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
276
+ r.fragment !== null && (Vn(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
277
  }
206
- function Tn(e, t) {
207
- e.$$.dirty[0] === -1 && (ae.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
278
+ function Zn(e, t) {
279
+ e.$$.dirty[0] === -1 && (ve.push(e), $n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
280
  }
209
- function On(e, t, r, n, i, o, a = null, s = [-1]) {
210
- const u = ye;
211
- ve(e);
281
+ function Qn(e, t, r, n, i, o, a = null, s = [-1]) {
282
+ const u = Le;
283
+ Ae(e);
212
284
  const l = e.$$ = {
213
285
  fragment: null,
214
286
  ctx: [],
@@ -216,7 +288,7 @@ function On(e, t, r, n, i, o, a = null, s = [-1]) {
216
288
  props: o,
217
289
  update: $,
218
290
  not_equal: i,
219
- bound: At(),
291
+ bound: Ft(),
220
292
  // lifecycle
221
293
  on_mount: [],
222
294
  on_destroy: [],
@@ -225,28 +297,28 @@ function On(e, t, r, n, i, o, a = null, s = [-1]) {
225
297
  after_update: [],
226
298
  context: new Map(t.context || (u ? u.$$.context : [])),
227
299
  // everything else
228
- callbacks: At(),
300
+ callbacks: Ft(),
229
301
  dirty: s,
230
302
  skip_bound: !1,
231
303
  root: t.target || u.$$.root
232
304
  };
233
305
  a && a(l.root);
234
- let h = !1;
235
- if (l.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
236
- const g = d.length ? d[0] : f;
237
- return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h && Tn(e, c)), f;
238
- }) : [], l.update(), h = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
306
+ let c = !1;
307
+ if (l.ctx = r ? r(e, t.props || {}, (h, g, ...p) => {
308
+ const m = p.length ? p[0] : g;
309
+ return l.ctx && i(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && Zn(e, h)), g;
310
+ }) : [], l.update(), c = !0, ce(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
239
311
  if (t.hydrate) {
240
- const c = pn(t.target);
241
- l.fragment && l.fragment.l(c), c.forEach(I);
312
+ const h = kn(t.target);
313
+ l.fragment && l.fragment.l(h), h.forEach(P);
242
314
  } else
243
315
  l.fragment && l.fragment.c();
244
- t.intro && wn(e.$$.fragment), Sn(e, t.target, t.anchor), F();
316
+ t.intro && ue(e.$$.fragment), Xn(e, t.target, t.anchor), k();
245
317
  }
246
- ve(u);
318
+ Ae(u);
247
319
  }
248
- let vr;
249
- typeof HTMLElement == "function" && (vr = class extends HTMLElement {
320
+ let Rr;
321
+ typeof HTMLElement == "function" && (Rr = class extends HTMLElement {
250
322
  /** The Svelte component constructor */
251
323
  $$ctor;
252
324
  /** Slots */
@@ -288,29 +360,29 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
288
360
  let o;
289
361
  return {
290
362
  c: function() {
291
- o = y("slot"), i !== "default" && m(o, "name", i);
363
+ o = y("slot"), i !== "default" && d(o, "name", i);
292
364
  },
293
365
  /**
294
366
  * @param {HTMLElement} target
295
367
  * @param {HTMLElement} [anchor]
296
368
  */
297
369
  m: function(u, l) {
298
- k(u, o, l);
370
+ B(u, o, l);
299
371
  },
300
372
  d: function(u) {
301
- u && I(o);
373
+ u && P(o);
302
374
  }
303
375
  };
304
376
  };
305
377
  };
306
378
  if (await Promise.resolve(), !this.$$cn || this.$$c)
307
379
  return;
308
- const t = {}, r = mn(this);
380
+ const t = {}, r = Fn(this);
309
381
  for (const i of this.$$s)
310
382
  i in r && (t[i] = [e(i)]);
311
383
  for (const i of this.attributes) {
312
384
  const o = this.$$g_p(i.name);
313
- o in this.$$d || (this.$$d[o] = Me(o, i.value, this.$$p_d, "toProp"));
385
+ o in this.$$d || (this.$$d[o] = Ge(o, i.value, this.$$p_d, "toProp"));
314
386
  }
315
387
  for (const i in this.$$p_d)
316
388
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -328,7 +400,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
328
400
  this.$$r = !0;
329
401
  for (const i in this.$$p_d)
330
402
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
331
- const o = Me(
403
+ const o = Ge(
332
404
  i,
333
405
  this.$$d[i],
334
406
  this.$$p_d,
@@ -350,7 +422,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
350
422
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
351
423
  // and setting attributes through setAttribute etc, this is helpful
352
424
  attributeChangedCallback(e, t, r) {
353
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
425
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
354
426
  }
355
427
  disconnectedCallback() {
356
428
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -363,7 +435,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
363
435
  ) || e;
364
436
  }
365
437
  });
366
- function Me(e, t, r, n) {
438
+ function Ge(e, t, r, n) {
367
439
  const i = r[e]?.type;
368
440
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
369
441
  return t;
@@ -392,8 +464,8 @@ function Me(e, t, r, n) {
392
464
  return t;
393
465
  }
394
466
  }
395
- function An(e, t, r, n, i, o) {
396
- let a = class extends vr {
467
+ function qn(e, t, r, n, i, o) {
468
+ let a = class extends Rr {
397
469
  constructor() {
398
470
  super(e, r, i), this.$$p_d = t;
399
471
  }
@@ -409,7 +481,7 @@ function An(e, t, r, n, i, o) {
409
481
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
410
482
  },
411
483
  set(u) {
412
- u = Me(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
484
+ u = Ge(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
413
485
  }
414
486
  });
415
487
  }), n.forEach((s) => {
@@ -421,7 +493,7 @@ function An(e, t, r, n, i, o) {
421
493
  }), e.element = /** @type {any} */
422
494
  a, a;
423
495
  }
424
- class Mn {
496
+ class Yn {
425
497
  /**
426
498
  * ### PRIVATE API
427
499
  *
@@ -440,7 +512,7 @@ class Mn {
440
512
  $$set = void 0;
441
513
  /** @returns {void} */
442
514
  $destroy() {
443
- Hn(this, 1), this.$destroy = $;
515
+ zn(this, 1), this.$destroy = $;
444
516
  }
445
517
  /**
446
518
  * @template {Extract<keyof Events, string>} K
@@ -449,7 +521,7 @@ class Mn {
449
521
  * @returns {() => void}
450
522
  */
451
523
  $on(t, r) {
452
- if (!vt(r))
524
+ if (!Lt(r))
453
525
  return $;
454
526
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
455
527
  return n.push(r), () => {
@@ -462,11 +534,11 @@ class Mn {
462
534
  * @returns {void}
463
535
  */
464
536
  $set(t) {
465
- this.$$set && !un(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
537
+ this.$$set && !Mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
466
538
  }
467
539
  }
468
- const Pn = "4";
469
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
540
+ const Jn = "4";
541
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jn);
470
542
  /*! *****************************************************************************
471
543
  Copyright (c) Microsoft Corporation.
472
544
 
@@ -481,24 +553,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
481
553
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
482
554
  PERFORMANCE OF THIS SOFTWARE.
483
555
  ***************************************************************************** */
484
- var nt = function(e, t) {
485
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
556
+ var pt = function(e, t) {
557
+ return pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
486
558
  r.__proto__ = n;
487
559
  } || function(r, n) {
488
560
  for (var i in n)
489
561
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
490
- }, nt(e, t);
562
+ }, pt(e, t);
491
563
  };
492
- function we(e, t) {
564
+ function Ne(e, t) {
493
565
  if (typeof t != "function" && t !== null)
494
566
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
495
- nt(e, t);
567
+ pt(e, t);
496
568
  function r() {
497
569
  this.constructor = e;
498
570
  }
499
571
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
500
572
  }
501
- function it(e) {
573
+ function mt(e) {
502
574
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
503
575
  if (r)
504
576
  return r.call(e);
@@ -510,7 +582,7 @@ function it(e) {
510
582
  };
511
583
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
512
584
  }
513
- function ot(e, t) {
585
+ function bt(e, t) {
514
586
  var r = typeof Symbol == "function" && e[Symbol.iterator];
515
587
  if (!r)
516
588
  return e;
@@ -530,22 +602,22 @@ function ot(e, t) {
530
602
  }
531
603
  return o;
532
604
  }
533
- function at(e, t, r) {
605
+ function _t(e, t, r) {
534
606
  if (arguments.length === 2)
535
607
  for (var n = 0, i = t.length, o; n < i; n++)
536
608
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
537
609
  return e.concat(o || t);
538
610
  }
539
- function Q(e) {
611
+ function ee(e) {
540
612
  return typeof e == "function";
541
613
  }
542
- function yr(e) {
614
+ function kr(e) {
543
615
  var t = function(n) {
544
616
  Error.call(n), n.stack = new Error().stack;
545
617
  }, r = e(t);
546
618
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
547
619
  }
548
- var Qe = yr(function(e) {
620
+ var st = kr(function(e) {
549
621
  return function(r) {
550
622
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
551
623
  ` + r.map(function(n, i) {
@@ -554,13 +626,13 @@ var Qe = yr(function(e) {
554
626
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
555
627
  };
556
628
  });
557
- function st(e, t) {
629
+ function vt(e, t) {
558
630
  if (e) {
559
631
  var r = e.indexOf(t);
560
632
  0 <= r && e.splice(r, 1);
561
633
  }
562
634
  }
563
- var ke = function() {
635
+ var qe = function() {
564
636
  function e(t) {
565
637
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
566
638
  }
@@ -572,12 +644,12 @@ var ke = function() {
572
644
  if (a)
573
645
  if (this._parentage = null, Array.isArray(a))
574
646
  try {
575
- for (var s = it(a), u = s.next(); !u.done; u = s.next()) {
647
+ for (var s = mt(a), u = s.next(); !u.done; u = s.next()) {
576
648
  var l = u.value;
577
649
  l.remove(this);
578
650
  }
579
- } catch (v) {
580
- t = { error: v };
651
+ } catch (_) {
652
+ t = { error: _ };
581
653
  } finally {
582
654
  try {
583
655
  u && !u.done && (r = s.return) && r.call(s);
@@ -588,30 +660,30 @@ var ke = function() {
588
660
  }
589
661
  else
590
662
  a.remove(this);
591
- var h = this.initialTeardown;
592
- if (Q(h))
663
+ var c = this.initialTeardown;
664
+ if (ee(c))
593
665
  try {
594
- h();
595
- } catch (v) {
596
- o = v instanceof Qe ? v.errors : [v];
666
+ c();
667
+ } catch (_) {
668
+ o = _ instanceof st ? _.errors : [_];
597
669
  }
598
- var c = this._finalizers;
599
- if (c) {
670
+ var h = this._finalizers;
671
+ if (h) {
600
672
  this._finalizers = null;
601
673
  try {
602
- for (var f = it(c), d = f.next(); !d.done; d = f.next()) {
603
- var g = d.value;
674
+ for (var g = mt(h), p = g.next(); !p.done; p = g.next()) {
675
+ var m = p.value;
604
676
  try {
605
- It(g);
606
- } catch (v) {
607
- o = o ?? [], v instanceof Qe ? o = at(at([], ot(o)), ot(v.errors)) : o.push(v);
677
+ Vt(m);
678
+ } catch (_) {
679
+ o = o ?? [], _ instanceof st ? o = _t(_t([], bt(o)), bt(_.errors)) : o.push(_);
608
680
  }
609
681
  }
610
- } catch (v) {
611
- n = { error: v };
682
+ } catch (_) {
683
+ n = { error: _ };
612
684
  } finally {
613
685
  try {
614
- d && !d.done && (i = f.return) && i.call(f);
686
+ p && !p.done && (i = g.return) && i.call(g);
615
687
  } finally {
616
688
  if (n)
617
689
  throw n.error;
@@ -619,13 +691,13 @@ var ke = function() {
619
691
  }
620
692
  }
621
693
  if (o)
622
- throw new Qe(o);
694
+ throw new st(o);
623
695
  }
624
696
  }, e.prototype.add = function(t) {
625
697
  var r;
626
698
  if (t && t !== this)
627
699
  if (this.closed)
628
- It(t);
700
+ Vt(t);
629
701
  else {
630
702
  if (t instanceof e) {
631
703
  if (t.closed || t._hasParent(this))
@@ -642,52 +714,52 @@ var ke = function() {
642
714
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
643
715
  }, e.prototype._removeParent = function(t) {
644
716
  var r = this._parentage;
645
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
717
+ r === t ? this._parentage = null : Array.isArray(r) && vt(r, t);
646
718
  }, e.prototype.remove = function(t) {
647
719
  var r = this._finalizers;
648
- r && st(r, t), t instanceof e && t._removeParent(this);
720
+ r && vt(r, t), t instanceof e && t._removeParent(this);
649
721
  }, e.EMPTY = function() {
650
722
  var t = new e();
651
723
  return t.closed = !0, t;
652
724
  }(), e;
653
- }(), _r = ke.EMPTY;
654
- function xr(e) {
655
- return e instanceof ke || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
725
+ }(), Ur = qe.EMPTY;
726
+ function Fr(e) {
727
+ return e instanceof qe || e && "closed" in e && ee(e.remove) && ee(e.add) && ee(e.unsubscribe);
656
728
  }
657
- function It(e) {
658
- Q(e) ? e() : e.unsubscribe();
729
+ function Vt(e) {
730
+ ee(e) ? e() : e.unsubscribe();
659
731
  }
660
- var Ln = {
732
+ var Kn = {
661
733
  Promise: void 0
662
- }, Bn = {
734
+ }, ei = {
663
735
  setTimeout: function(e, t) {
664
736
  for (var r = [], n = 2; n < arguments.length; n++)
665
737
  r[n - 2] = arguments[n];
666
- return setTimeout.apply(void 0, at([e, t], ot(r)));
738
+ return setTimeout.apply(void 0, _t([e, t], bt(r)));
667
739
  },
668
740
  clearTimeout: function(e) {
669
741
  return clearTimeout(e);
670
742
  },
671
743
  delegate: void 0
672
744
  };
673
- function In(e) {
674
- Bn.setTimeout(function() {
745
+ function ti(e) {
746
+ ei.setTimeout(function() {
675
747
  throw e;
676
748
  });
677
749
  }
678
- function Ct() {
750
+ function Xt() {
679
751
  }
680
- function Pe(e) {
752
+ function je(e) {
681
753
  e();
682
754
  }
683
- var Er = function(e) {
684
- we(t, e);
755
+ var Dr = function(e) {
756
+ Ne(t, e);
685
757
  function t(r) {
686
758
  var n = e.call(this) || this;
687
- return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = Rn, n;
759
+ return n.isStopped = !1, r ? (n.destination = r, Fr(r) && r.add(n)) : n.destination = ii, n;
688
760
  }
689
761
  return t.create = function(r, n, i) {
690
- return new ut(r, n, i);
762
+ return new yt(r, n, i);
691
763
  }, t.prototype.next = function(r) {
692
764
  this.isStopped || this._next(r);
693
765
  }, t.prototype.error = function(r) {
@@ -711,7 +783,7 @@ var Er = function(e) {
711
783
  this.unsubscribe();
712
784
  }
713
785
  }, t;
714
- }(ke), Cn = function() {
786
+ }(qe), ri = function() {
715
787
  function e(t) {
716
788
  this.partialObserver = t;
717
789
  }
@@ -721,7 +793,7 @@ var Er = function(e) {
721
793
  try {
722
794
  r.next(t);
723
795
  } catch (n) {
724
- Oe(n);
796
+ Ue(n);
725
797
  }
726
798
  }, e.prototype.error = function(t) {
727
799
  var r = this.partialObserver;
@@ -729,56 +801,56 @@ var Er = function(e) {
729
801
  try {
730
802
  r.error(t);
731
803
  } catch (n) {
732
- Oe(n);
804
+ Ue(n);
733
805
  }
734
806
  else
735
- Oe(t);
807
+ Ue(t);
736
808
  }, e.prototype.complete = function() {
737
809
  var t = this.partialObserver;
738
810
  if (t.complete)
739
811
  try {
740
812
  t.complete();
741
813
  } catch (r) {
742
- Oe(r);
814
+ Ue(r);
743
815
  }
744
816
  }, e;
745
- }(), ut = function(e) {
746
- we(t, e);
817
+ }(), yt = function(e) {
818
+ Ne(t, e);
747
819
  function t(r, n, i) {
748
820
  var o = e.call(this) || this, a;
749
- return Q(r) || !r ? a = {
821
+ return ee(r) || !r ? a = {
750
822
  next: r ?? void 0,
751
823
  error: n ?? void 0,
752
824
  complete: i ?? void 0
753
- } : a = r, o.destination = new Cn(a), o;
825
+ } : a = r, o.destination = new ri(a), o;
754
826
  }
755
827
  return t;
756
- }(Er);
757
- function Oe(e) {
758
- In(e);
828
+ }(Dr);
829
+ function Ue(e) {
830
+ ti(e);
759
831
  }
760
- function Nn(e) {
832
+ function ni(e) {
761
833
  throw e;
762
834
  }
763
- var Rn = {
835
+ var ii = {
764
836
  closed: !0,
765
- next: Ct,
766
- error: Nn,
767
- complete: Ct
768
- }, Un = function() {
837
+ next: Xt,
838
+ error: ni,
839
+ complete: Xt
840
+ }, oi = function() {
769
841
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
770
842
  }();
771
- function kn(e) {
843
+ function ai(e) {
772
844
  return e;
773
845
  }
774
- function Fn(e) {
775
- return e.length === 0 ? kn : e.length === 1 ? e[0] : function(r) {
846
+ function si(e) {
847
+ return e.length === 0 ? ai : e.length === 1 ? e[0] : function(r) {
776
848
  return e.reduce(function(n, i) {
777
849
  return i(n);
778
850
  }, r);
779
851
  };
780
852
  }
781
- var Nt = function() {
853
+ var zt = function() {
782
854
  function e(t) {
783
855
  t && (this._subscribe = t);
784
856
  }
@@ -786,8 +858,8 @@ var Nt = function() {
786
858
  var r = new e();
787
859
  return r.source = this, r.operator = t, r;
788
860
  }, e.prototype.subscribe = function(t, r, n) {
789
- var i = this, o = Gn(t) ? t : new ut(t, r, n);
790
- return Pe(function() {
861
+ var i = this, o = ui(t) ? t : new yt(t, r, n);
862
+ return je(function() {
791
863
  var a = i, s = a.operator, u = a.source;
792
864
  o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
793
865
  }), o;
@@ -799,8 +871,8 @@ var Nt = function() {
799
871
  }
800
872
  }, e.prototype.forEach = function(t, r) {
801
873
  var n = this;
802
- return r = Rt(r), new r(function(i, o) {
803
- var a = new ut({
874
+ return r = Zt(r), new r(function(i, o) {
875
+ var a = new yt({
804
876
  next: function(s) {
805
877
  try {
806
878
  t(s);
@@ -816,15 +888,15 @@ var Nt = function() {
816
888
  }, e.prototype._subscribe = function(t) {
817
889
  var r;
818
890
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
819
- }, e.prototype[Un] = function() {
891
+ }, e.prototype[oi] = function() {
820
892
  return this;
821
893
  }, e.prototype.pipe = function() {
822
894
  for (var t = [], r = 0; r < arguments.length; r++)
823
895
  t[r] = arguments[r];
824
- return Fn(t)(this);
896
+ return si(t)(this);
825
897
  }, e.prototype.toPromise = function(t) {
826
898
  var r = this;
827
- return t = Rt(t), new t(function(n, i) {
899
+ return t = Zt(t), new t(function(n, i) {
828
900
  var o;
829
901
  r.subscribe(function(a) {
830
902
  return o = a;
@@ -838,40 +910,40 @@ var Nt = function() {
838
910
  return new e(t);
839
911
  }, e;
840
912
  }();
841
- function Rt(e) {
913
+ function Zt(e) {
842
914
  var t;
843
- return (t = e ?? Ln.Promise) !== null && t !== void 0 ? t : Promise;
915
+ return (t = e ?? Kn.Promise) !== null && t !== void 0 ? t : Promise;
844
916
  }
845
- function Dn(e) {
846
- return e && Q(e.next) && Q(e.error) && Q(e.complete);
917
+ function li(e) {
918
+ return e && ee(e.next) && ee(e.error) && ee(e.complete);
847
919
  }
848
- function Gn(e) {
849
- return e && e instanceof Er || Dn(e) && xr(e);
920
+ function ui(e) {
921
+ return e && e instanceof Dr || li(e) && Fr(e);
850
922
  }
851
- var $n = yr(function(e) {
923
+ var ci = kr(function(e) {
852
924
  return function() {
853
925
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
854
926
  };
855
- }), wr = function(e) {
856
- we(t, e);
927
+ }), Gr = function(e) {
928
+ Ne(t, e);
857
929
  function t() {
858
930
  var r = e.call(this) || this;
859
931
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
860
932
  }
861
933
  return t.prototype.lift = function(r) {
862
- var n = new Ut(this, this);
934
+ var n = new Qt(this, this);
863
935
  return n.operator = r, n;
864
936
  }, t.prototype._throwIfClosed = function() {
865
937
  if (this.closed)
866
- throw new $n();
938
+ throw new ci();
867
939
  }, t.prototype.next = function(r) {
868
940
  var n = this;
869
- Pe(function() {
941
+ je(function() {
870
942
  var i, o;
871
943
  if (n._throwIfClosed(), !n.isStopped) {
872
944
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
873
945
  try {
874
- for (var a = it(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
946
+ for (var a = mt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
875
947
  var u = s.value;
876
948
  u.next(r);
877
949
  }
@@ -889,7 +961,7 @@ var $n = yr(function(e) {
889
961
  });
890
962
  }, t.prototype.error = function(r) {
891
963
  var n = this;
892
- Pe(function() {
964
+ je(function() {
893
965
  if (n._throwIfClosed(), !n.isStopped) {
894
966
  n.hasError = n.isStopped = !0, n.thrownError = r;
895
967
  for (var i = n.observers; i.length; )
@@ -898,7 +970,7 @@ var $n = yr(function(e) {
898
970
  });
899
971
  }, t.prototype.complete = function() {
900
972
  var r = this;
901
- Pe(function() {
973
+ je(function() {
902
974
  if (r._throwIfClosed(), !r.isStopped) {
903
975
  r.isStopped = !0;
904
976
  for (var n = r.observers; n.length; )
@@ -920,20 +992,20 @@ var $n = yr(function(e) {
920
992
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
921
993
  }, t.prototype._innerSubscribe = function(r) {
922
994
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
923
- return o || a ? _r : (this.currentObservers = null, s.push(r), new ke(function() {
924
- n.currentObservers = null, st(s, r);
995
+ return o || a ? Ur : (this.currentObservers = null, s.push(r), new qe(function() {
996
+ n.currentObservers = null, vt(s, r);
925
997
  }));
926
998
  }, t.prototype._checkFinalizedStatuses = function(r) {
927
999
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
928
1000
  i ? r.error(o) : a && r.complete();
929
1001
  }, t.prototype.asObservable = function() {
930
- var r = new Nt();
1002
+ var r = new zt();
931
1003
  return r.source = this, r;
932
1004
  }, t.create = function(r, n) {
933
- return new Ut(r, n);
1005
+ return new Qt(r, n);
934
1006
  }, t;
935
- }(Nt), Ut = function(e) {
936
- we(t, e);
1007
+ }(zt), Qt = function(e) {
1008
+ Ne(t, e);
937
1009
  function t(r, n) {
938
1010
  var i = e.call(this) || this;
939
1011
  return i.destination = r, i.source = n, i;
@@ -949,17 +1021,17 @@ var $n = yr(function(e) {
949
1021
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
950
1022
  }, t.prototype._subscribe = function(r) {
951
1023
  var n, i;
952
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _r;
1024
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
953
1025
  }, t;
954
- }(wr), Sr = {
1026
+ }(Gr), jr = {
955
1027
  now: function() {
956
- return (Sr.delegate || Date).now();
1028
+ return (jr.delegate || Date).now();
957
1029
  },
958
1030
  delegate: void 0
959
- }, jn = function(e) {
960
- we(t, e);
1031
+ }, hi = function(e) {
1032
+ Ne(t, e);
961
1033
  function t(r, n, i) {
962
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Sr);
1034
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
963
1035
  var o = e.call(this) || this;
964
1036
  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;
965
1037
  }
@@ -974,36 +1046,36 @@ var $n = yr(function(e) {
974
1046
  }, t.prototype._trimBuffer = function() {
975
1047
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
976
1048
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
977
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
978
- l = h;
1049
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
1050
+ l = c;
979
1051
  l && o.splice(0, l + 1);
980
1052
  }
981
1053
  }, t;
982
- }(wr);
983
- const kt = [], Ft = {}, Wn = (e, t = 0) => {
984
- if (kt.indexOf(e) == -1) {
985
- const r = new jn(t);
986
- Ft[e] = r, kt.push(e);
1054
+ }(Gr);
1055
+ const qt = [], Yt = {}, fi = (e, t = 0) => {
1056
+ if (qt.indexOf(e) == -1) {
1057
+ const r = new hi(t);
1058
+ Yt[e] = r, qt.push(e);
987
1059
  }
988
- return Ft[e];
989
- }, oe = [];
990
- function Vn(e, t) {
1060
+ return Yt[e];
1061
+ }, _e = [];
1062
+ function gi(e, t) {
991
1063
  return {
992
- subscribe: Fe(e, t).subscribe
1064
+ subscribe: Ye(e, t).subscribe
993
1065
  };
994
1066
  }
995
- function Fe(e, t = $) {
1067
+ function Ye(e, t = $) {
996
1068
  let r;
997
1069
  const n = /* @__PURE__ */ new Set();
998
1070
  function i(s) {
999
- if (mr(e, s) && (e = s, r)) {
1000
- const u = !oe.length;
1071
+ if (Lr(e, s) && (e = s, r)) {
1072
+ const u = !_e.length;
1001
1073
  for (const l of n)
1002
- l[1](), oe.push(l, e);
1074
+ l[1](), _e.push(l, e);
1003
1075
  if (u) {
1004
- for (let l = 0; l < oe.length; l += 2)
1005
- oe[l][0](oe[l + 1]);
1006
- oe.length = 0;
1076
+ for (let l = 0; l < _e.length; l += 2)
1077
+ _e[l][0](_e[l + 1]);
1078
+ _e.length = 0;
1007
1079
  }
1008
1080
  }
1009
1081
  }
@@ -1018,139 +1090,139 @@ function Fe(e, t = $) {
1018
1090
  }
1019
1091
  return { set: i, update: o, subscribe: a };
1020
1092
  }
1021
- function de(e, t, r) {
1093
+ function Se(e, t, r) {
1022
1094
  const n = !Array.isArray(e), i = n ? [e] : e;
1023
1095
  if (!i.every(Boolean))
1024
1096
  throw new Error("derived() expects stores as input, got a falsy value");
1025
1097
  const o = t.length < 2;
1026
- return Vn(r, (a, s) => {
1098
+ return gi(r, (a, s) => {
1027
1099
  let u = !1;
1028
1100
  const l = [];
1029
- let h = 0, c = $;
1030
- const f = () => {
1031
- if (h)
1101
+ let c = 0, h = $;
1102
+ const g = () => {
1103
+ if (c)
1032
1104
  return;
1033
- c();
1034
- const g = t(n ? l[0] : l, a, s);
1035
- o ? a(g) : c = vt(g) ? g : $;
1036
- }, d = i.map(
1037
- (g, v) => gr(
1038
- g,
1039
- (w) => {
1040
- l[v] = w, h &= ~(1 << v), u && f();
1105
+ h();
1106
+ const m = t(n ? l[0] : l, a, s);
1107
+ o ? a(m) : h = Lt(m) ? m : $;
1108
+ }, p = i.map(
1109
+ (m, _) => Pr(
1110
+ m,
1111
+ (x) => {
1112
+ l[_] = x, c &= ~(1 << _), u && g();
1041
1113
  },
1042
1114
  () => {
1043
- h |= 1 << v;
1115
+ c |= 1 << _;
1044
1116
  }
1045
1117
  )
1046
1118
  );
1047
- return u = !0, f(), function() {
1048
- fe(d), c(), u = !1;
1119
+ return u = !0, g(), function() {
1120
+ ce(p), h(), u = !1;
1049
1121
  };
1050
1122
  });
1051
1123
  }
1052
- function Xn(e) {
1124
+ function di(e) {
1053
1125
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1054
1126
  }
1055
- var zn = function(t) {
1056
- return Zn(t) && !Qn(t);
1127
+ var pi = function(t) {
1128
+ return mi(t) && !bi(t);
1057
1129
  };
1058
- function Zn(e) {
1130
+ function mi(e) {
1059
1131
  return !!e && typeof e == "object";
1060
1132
  }
1061
- function Qn(e) {
1133
+ function bi(e) {
1062
1134
  var t = Object.prototype.toString.call(e);
1063
- return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
1135
+ return t === "[object RegExp]" || t === "[object Date]" || yi(e);
1064
1136
  }
1065
- var Yn = typeof Symbol == "function" && Symbol.for, qn = Yn ? Symbol.for("react.element") : 60103;
1066
- function Jn(e) {
1067
- return e.$$typeof === qn;
1137
+ var _i = typeof Symbol == "function" && Symbol.for, vi = _i ? Symbol.for("react.element") : 60103;
1138
+ function yi(e) {
1139
+ return e.$$typeof === vi;
1068
1140
  }
1069
- function Kn(e) {
1141
+ function xi(e) {
1070
1142
  return Array.isArray(e) ? [] : {};
1071
1143
  }
1072
- function _e(e, t) {
1073
- return t.clone !== !1 && t.isMergeableObject(e) ? ue(Kn(e), e, t) : e;
1144
+ function Be(e, t) {
1145
+ return t.clone !== !1 && t.isMergeableObject(e) ? xe(xi(e), e, t) : e;
1074
1146
  }
1075
- function ei(e, t, r) {
1147
+ function Ei(e, t, r) {
1076
1148
  return e.concat(t).map(function(n) {
1077
- return _e(n, r);
1149
+ return Be(n, r);
1078
1150
  });
1079
1151
  }
1080
- function ti(e, t) {
1152
+ function wi(e, t) {
1081
1153
  if (!t.customMerge)
1082
- return ue;
1154
+ return xe;
1083
1155
  var r = t.customMerge(e);
1084
- return typeof r == "function" ? r : ue;
1156
+ return typeof r == "function" ? r : xe;
1085
1157
  }
1086
- function ri(e) {
1158
+ function Hi(e) {
1087
1159
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1088
1160
  return Object.propertyIsEnumerable.call(e, t);
1089
1161
  }) : [];
1090
1162
  }
1091
- function Dt(e) {
1092
- return Object.keys(e).concat(ri(e));
1163
+ function Jt(e) {
1164
+ return Object.keys(e).concat(Hi(e));
1093
1165
  }
1094
- function Hr(e, t) {
1166
+ function $r(e, t) {
1095
1167
  try {
1096
1168
  return t in e;
1097
1169
  } catch {
1098
1170
  return !1;
1099
1171
  }
1100
1172
  }
1101
- function ni(e, t) {
1102
- return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1173
+ function Si(e, t) {
1174
+ return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1103
1175
  }
1104
- function ii(e, t, r) {
1176
+ function Ti(e, t, r) {
1105
1177
  var n = {};
1106
- return r.isMergeableObject(e) && Dt(e).forEach(function(i) {
1107
- n[i] = _e(e[i], r);
1108
- }), Dt(t).forEach(function(i) {
1109
- ni(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ti(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
1178
+ return r.isMergeableObject(e) && Jt(e).forEach(function(i) {
1179
+ n[i] = Be(e[i], r);
1180
+ }), Jt(t).forEach(function(i) {
1181
+ Si(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = wi(i, r)(e[i], t[i], r) : n[i] = Be(t[i], r));
1110
1182
  }), n;
1111
1183
  }
1112
- function ue(e, t, r) {
1113
- r = r || {}, r.arrayMerge = r.arrayMerge || ei, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = _e;
1184
+ function xe(e, t, r) {
1185
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ei, r.isMergeableObject = r.isMergeableObject || pi, r.cloneUnlessOtherwiseSpecified = Be;
1114
1186
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1115
- return o ? n ? r.arrayMerge(e, t, r) : ii(e, t, r) : _e(t, r);
1187
+ return o ? n ? r.arrayMerge(e, t, r) : Ti(e, t, r) : Be(t, r);
1116
1188
  }
1117
- ue.all = function(t, r) {
1189
+ xe.all = function(t, r) {
1118
1190
  if (!Array.isArray(t))
1119
1191
  throw new Error("first argument should be an array");
1120
1192
  return t.reduce(function(n, i) {
1121
- return ue(n, i, r);
1193
+ return xe(n, i, r);
1122
1194
  }, {});
1123
1195
  };
1124
- var oi = ue, ai = oi;
1125
- const si = /* @__PURE__ */ Xn(ai);
1126
- var lt = function(e, t) {
1127
- return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1196
+ var Oi = xe, Mi = Oi;
1197
+ const Ai = /* @__PURE__ */ di(Mi);
1198
+ var xt = function(e, t) {
1199
+ return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1128
1200
  r.__proto__ = n;
1129
1201
  } || function(r, n) {
1130
1202
  for (var i in n)
1131
1203
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1132
- }, lt(e, t);
1204
+ }, xt(e, t);
1133
1205
  };
1134
- function De(e, t) {
1206
+ function Je(e, t) {
1135
1207
  if (typeof t != "function" && t !== null)
1136
1208
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1137
- lt(e, t);
1209
+ xt(e, t);
1138
1210
  function r() {
1139
1211
  this.constructor = e;
1140
1212
  }
1141
1213
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1142
1214
  }
1143
- var X = function() {
1144
- return X = Object.assign || function(t) {
1215
+ var J = function() {
1216
+ return J = Object.assign || function(t) {
1145
1217
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1146
1218
  r = arguments[n];
1147
1219
  for (var o in r)
1148
1220
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1149
1221
  }
1150
1222
  return t;
1151
- }, X.apply(this, arguments);
1223
+ }, J.apply(this, arguments);
1152
1224
  };
1153
- function ui(e, t) {
1225
+ function Li(e, t) {
1154
1226
  var r = {};
1155
1227
  for (var n in e)
1156
1228
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1159,43 +1231,43 @@ function ui(e, t) {
1159
1231
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1160
1232
  return r;
1161
1233
  }
1162
- function Ye(e, t, r) {
1234
+ function lt(e, t, r) {
1163
1235
  if (r || arguments.length === 2)
1164
1236
  for (var n = 0, i = t.length, o; n < i; n++)
1165
1237
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1166
1238
  return e.concat(o || Array.prototype.slice.call(t));
1167
1239
  }
1168
- function qe(e, t) {
1169
- var r = t && t.cache ? t.cache : mi, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : ci;
1240
+ function ut(e, t) {
1241
+ var r = t && t.cache ? t.cache : ki, n = t && t.serializer ? t.serializer : Ni, i = t && t.strategy ? t.strategy : Ii;
1170
1242
  return i(e, {
1171
1243
  cache: r,
1172
1244
  serializer: n
1173
1245
  });
1174
1246
  }
1175
- function li(e) {
1247
+ function Pi(e) {
1176
1248
  return e == null || typeof e == "number" || typeof e == "boolean";
1177
1249
  }
1178
- function hi(e, t, r, n) {
1179
- var i = li(n) ? n : r(n), o = t.get(i);
1250
+ function Bi(e, t, r, n) {
1251
+ var i = Pi(n) ? n : r(n), o = t.get(i);
1180
1252
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1181
1253
  }
1182
- function Tr(e, t, r) {
1254
+ function Wr(e, t, r) {
1183
1255
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1184
1256
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1185
1257
  }
1186
- function Or(e, t, r, n, i) {
1258
+ function Vr(e, t, r, n, i) {
1187
1259
  return r.bind(t, e, n, i);
1188
1260
  }
1189
- function ci(e, t) {
1190
- var r = e.length === 1 ? hi : Tr;
1191
- return Or(e, this, r, t.cache.create(), t.serializer);
1261
+ function Ii(e, t) {
1262
+ var r = e.length === 1 ? Bi : Wr;
1263
+ return Vr(e, this, r, t.cache.create(), t.serializer);
1192
1264
  }
1193
- function fi(e, t) {
1194
- return Or(e, this, Tr, t.cache.create(), t.serializer);
1265
+ function Ci(e, t) {
1266
+ return Vr(e, this, Wr, t.cache.create(), t.serializer);
1195
1267
  }
1196
- var pi = function() {
1268
+ var Ni = function() {
1197
1269
  return JSON.stringify(arguments);
1198
- }, di = (
1270
+ }, Ri = (
1199
1271
  /** @class */
1200
1272
  function() {
1201
1273
  function e() {
@@ -1207,71 +1279,71 @@ var pi = function() {
1207
1279
  this.cache[t] = r;
1208
1280
  }, e;
1209
1281
  }()
1210
- ), mi = {
1282
+ ), ki = {
1211
1283
  create: function() {
1212
- return new di();
1284
+ return new Ri();
1213
1285
  }
1214
- }, Je = {
1215
- variadic: fi
1216
- }, Ne = function() {
1217
- return Ne = Object.assign || function(t) {
1286
+ }, ct = {
1287
+ variadic: Ci
1288
+ }, ze = function() {
1289
+ return ze = Object.assign || function(t) {
1218
1290
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1219
1291
  r = arguments[n];
1220
1292
  for (var o in r)
1221
1293
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1222
1294
  }
1223
1295
  return t;
1224
- }, Ne.apply(this, arguments);
1296
+ }, ze.apply(this, arguments);
1225
1297
  };
1226
- var _;
1298
+ var w;
1227
1299
  (function(e) {
1228
1300
  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";
1229
- })(_ || (_ = {}));
1230
- var T;
1301
+ })(w || (w = {}));
1302
+ var M;
1231
1303
  (function(e) {
1232
1304
  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";
1233
- })(T || (T = {}));
1234
- var le;
1305
+ })(M || (M = {}));
1306
+ var Ee;
1235
1307
  (function(e) {
1236
1308
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1237
- })(le || (le = {}));
1238
- function Gt(e) {
1239
- return e.type === T.literal;
1309
+ })(Ee || (Ee = {}));
1310
+ function Kt(e) {
1311
+ return e.type === M.literal;
1240
1312
  }
1241
- function gi(e) {
1242
- return e.type === T.argument;
1313
+ function Ui(e) {
1314
+ return e.type === M.argument;
1243
1315
  }
1244
- function Ar(e) {
1245
- return e.type === T.number;
1316
+ function Xr(e) {
1317
+ return e.type === M.number;
1246
1318
  }
1247
- function Mr(e) {
1248
- return e.type === T.date;
1319
+ function zr(e) {
1320
+ return e.type === M.date;
1249
1321
  }
1250
- function Pr(e) {
1251
- return e.type === T.time;
1322
+ function Zr(e) {
1323
+ return e.type === M.time;
1252
1324
  }
1253
- function Lr(e) {
1254
- return e.type === T.select;
1325
+ function Qr(e) {
1326
+ return e.type === M.select;
1255
1327
  }
1256
- function Br(e) {
1257
- return e.type === T.plural;
1328
+ function qr(e) {
1329
+ return e.type === M.plural;
1258
1330
  }
1259
- function bi(e) {
1260
- return e.type === T.pound;
1331
+ function Fi(e) {
1332
+ return e.type === M.pound;
1261
1333
  }
1262
- function Ir(e) {
1263
- return e.type === T.tag;
1334
+ function Yr(e) {
1335
+ return e.type === M.tag;
1264
1336
  }
1265
- function Cr(e) {
1266
- return !!(e && typeof e == "object" && e.type === le.number);
1337
+ function Jr(e) {
1338
+ return !!(e && typeof e == "object" && e.type === Ee.number);
1267
1339
  }
1268
- function ht(e) {
1269
- return !!(e && typeof e == "object" && e.type === le.dateTime);
1340
+ function Et(e) {
1341
+ return !!(e && typeof e == "object" && e.type === Ee.dateTime);
1270
1342
  }
1271
- 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;
1272
- function yi(e) {
1343
+ var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[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;
1344
+ function Gi(e) {
1273
1345
  var t = {};
1274
- return e.replace(vi, function(r) {
1346
+ return e.replace(Di, function(r) {
1275
1347
  var n = r.length;
1276
1348
  switch (r[0]) {
1277
1349
  case "G":
@@ -1360,46 +1432,46 @@ function yi(e) {
1360
1432
  return "";
1361
1433
  }), t;
1362
1434
  }
1363
- var M = function() {
1364
- return M = Object.assign || function(t) {
1435
+ var A = function() {
1436
+ return A = Object.assign || function(t) {
1365
1437
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1366
1438
  r = arguments[n];
1367
1439
  for (var o in r)
1368
1440
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1369
1441
  }
1370
1442
  return t;
1371
- }, M.apply(this, arguments);
1443
+ }, A.apply(this, arguments);
1372
1444
  };
1373
- var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1374
- function xi(e) {
1445
+ var ji = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1446
+ function $i(e) {
1375
1447
  if (e.length === 0)
1376
1448
  throw new Error("Number skeleton cannot be empty");
1377
- for (var t = e.split(_i).filter(function(f) {
1378
- return f.length > 0;
1449
+ for (var t = e.split(ji).filter(function(g) {
1450
+ return g.length > 0;
1379
1451
  }), r = [], n = 0, i = t; n < i.length; n++) {
1380
1452
  var o = i[n], a = o.split("/");
1381
1453
  if (a.length === 0)
1382
1454
  throw new Error("Invalid number skeleton");
1383
- for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1384
- var c = h[l];
1385
- if (c.length === 0)
1455
+ for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1456
+ var h = c[l];
1457
+ if (h.length === 0)
1386
1458
  throw new Error("Invalid number skeleton");
1387
1459
  }
1388
1460
  r.push({ stem: s, options: u });
1389
1461
  }
1390
1462
  return r;
1391
1463
  }
1392
- function Ei(e) {
1464
+ function Wi(e) {
1393
1465
  return e.replace(/^(.*?)-/, "");
1394
1466
  }
1395
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, wi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
1396
- function jt(e) {
1467
+ var er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, en = /^(@+)?(\+|#+)?[rs]?$/g, Vi = /(\*)(0+)|(#+)(0+)|(0+)/g, tn = /^(0+)$/;
1468
+ function tr(e) {
1397
1469
  var t = {};
1398
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
1470
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(en, function(r, n, i) {
1399
1471
  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)), "";
1400
1472
  }), t;
1401
1473
  }
1402
- function kr(e) {
1474
+ function rn(e) {
1403
1475
  switch (e) {
1404
1476
  case "sign-auto":
1405
1477
  return {
@@ -1439,7 +1511,7 @@ function kr(e) {
1439
1511
  };
1440
1512
  }
1441
1513
  }
1442
- function Si(e) {
1514
+ function Xi(e) {
1443
1515
  var t;
1444
1516
  if (e[0] === "E" && e[1] === "E" ? (t = {
1445
1517
  notation: "engineering"
@@ -1447,17 +1519,17 @@ function Si(e) {
1447
1519
  notation: "scientific"
1448
1520
  }, e = e.slice(1)), t) {
1449
1521
  var r = e.slice(0, 2);
1450
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.test(e))
1522
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tn.test(e))
1451
1523
  throw new Error("Malformed concise eng/scientific notation");
1452
1524
  t.minimumIntegerDigits = e.length;
1453
1525
  }
1454
1526
  return t;
1455
1527
  }
1456
- function Wt(e) {
1457
- var t = {}, r = kr(e);
1528
+ function rr(e) {
1529
+ var t = {}, r = rn(e);
1458
1530
  return r || t;
1459
1531
  }
1460
- function Hi(e) {
1532
+ function zi(e) {
1461
1533
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1462
1534
  var i = n[r];
1463
1535
  switch (i.stem) {
@@ -1481,7 +1553,7 @@ function Hi(e) {
1481
1553
  continue;
1482
1554
  case "measure-unit":
1483
1555
  case "unit":
1484
- t.style = "unit", t.unit = Ei(i.options[0]);
1556
+ t.style = "unit", t.unit = Wi(i.options[0]);
1485
1557
  continue;
1486
1558
  case "compact-short":
1487
1559
  case "K":
@@ -1492,13 +1564,13 @@ function Hi(e) {
1492
1564
  t.notation = "compact", t.compactDisplay = "long";
1493
1565
  continue;
1494
1566
  case "scientific":
1495
- t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1496
- return M(M({}, u), Wt(l));
1567
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1568
+ return A(A({}, u), rr(l));
1497
1569
  }, {}));
1498
1570
  continue;
1499
1571
  case "engineering":
1500
- t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1501
- return M(M({}, u), Wt(l));
1572
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1573
+ return A(A({}, u), rr(l));
1502
1574
  }, {}));
1503
1575
  continue;
1504
1576
  case "notation-simple":
@@ -1543,45 +1615,45 @@ function Hi(e) {
1543
1615
  case "integer-width":
1544
1616
  if (i.options.length > 1)
1545
1617
  throw new RangeError("integer-width stems only accept a single optional option");
1546
- i.options[0].replace(wi, function(u, l, h, c, f, d) {
1618
+ i.options[0].replace(Vi, function(u, l, c, h, g, p) {
1547
1619
  if (l)
1548
- t.minimumIntegerDigits = h.length;
1620
+ t.minimumIntegerDigits = c.length;
1549
1621
  else {
1550
- if (c && f)
1622
+ if (h && g)
1551
1623
  throw new Error("We currently do not support maximum integer digits");
1552
- if (d)
1624
+ if (p)
1553
1625
  throw new Error("We currently do not support exact integer digits");
1554
1626
  }
1555
1627
  return "";
1556
1628
  });
1557
1629
  continue;
1558
1630
  }
1559
- if (Ur.test(i.stem)) {
1631
+ if (tn.test(i.stem)) {
1560
1632
  t.minimumIntegerDigits = i.stem.length;
1561
1633
  continue;
1562
1634
  }
1563
- if ($t.test(i.stem)) {
1635
+ if (er.test(i.stem)) {
1564
1636
  if (i.options.length > 1)
1565
1637
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1566
- i.stem.replace($t, function(u, l, h, c, f, d) {
1567
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1638
+ i.stem.replace(er, function(u, l, c, h, g, p) {
1639
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : g && p ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1568
1640
  });
1569
1641
  var o = i.options[0];
1570
- o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), jt(o)));
1642
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), tr(o)));
1571
1643
  continue;
1572
1644
  }
1573
- if (Rr.test(i.stem)) {
1574
- t = M(M({}, t), jt(i.stem));
1645
+ if (en.test(i.stem)) {
1646
+ t = A(A({}, t), tr(i.stem));
1575
1647
  continue;
1576
1648
  }
1577
- var a = kr(i.stem);
1578
- a && (t = M(M({}, t), a));
1579
- var s = Si(i.stem);
1580
- s && (t = M(M({}, t), s));
1649
+ var a = rn(i.stem);
1650
+ a && (t = A(A({}, t), a));
1651
+ var s = Xi(i.stem);
1652
+ s && (t = A(A({}, t), s));
1581
1653
  }
1582
1654
  return t;
1583
1655
  }
1584
- var Ae = {
1656
+ var Fe = {
1585
1657
  "001": [
1586
1658
  "H",
1587
1659
  "h"
@@ -2996,13 +3068,13 @@ var Ae = {
2996
3068
  "h"
2997
3069
  ]
2998
3070
  };
2999
- function Ti(e, t) {
3071
+ function Zi(e, t) {
3000
3072
  for (var r = "", n = 0; n < e.length; n++) {
3001
3073
  var i = e.charAt(n);
3002
3074
  if (i === "j") {
3003
3075
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3004
3076
  o++, n++;
3005
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Oi(t);
3077
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Qi(t);
3006
3078
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3007
3079
  r += u;
3008
3080
  for (; a-- > 0; )
@@ -3012,7 +3084,7 @@ function Ti(e, t) {
3012
3084
  }
3013
3085
  return r;
3014
3086
  }
3015
- function Oi(e) {
3087
+ function Qi(e) {
3016
3088
  var t = e.hourCycle;
3017
3089
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3018
3090
  e.hourCycles && // @ts-ignore
@@ -3031,23 +3103,23 @@ function Oi(e) {
3031
3103
  }
3032
3104
  var r = e.language, n;
3033
3105
  r !== "root" && (n = e.maximize().region);
3034
- var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
3106
+ var i = Fe[n || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
3035
3107
  return i[0];
3036
3108
  }
3037
- var Ke, Ai = new RegExp("^".concat(Nr.source, "*")), Mi = new RegExp("".concat(Nr.source, "*$"));
3038
- function E(e, t) {
3109
+ var ht, qi = new RegExp("^".concat(Kr.source, "*")), Yi = new RegExp("".concat(Kr.source, "*$"));
3110
+ function H(e, t) {
3039
3111
  return { start: e, end: t };
3040
3112
  }
3041
- var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Bi = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ui = Ri ? Number.isSafeInteger : function(e) {
3113
+ var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ki = !!String.fromCodePoint, eo = !!Object.fromEntries, to = !!String.prototype.codePointAt, ro = !!String.prototype.trimStart, no = !!String.prototype.trimEnd, io = !!Number.isSafeInteger, oo = io ? Number.isSafeInteger : function(e) {
3042
3114
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3043
- }, ct = !0;
3115
+ }, wt = !0;
3044
3116
  try {
3045
- var ki = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3046
- ct = ((Ke = ki.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3117
+ var ao = on("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3118
+ wt = ((ht = ao.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
3047
3119
  } catch {
3048
- ct = !1;
3120
+ wt = !1;
3049
3121
  }
3050
- var Vt = Pi ? (
3122
+ var nr = Ji ? (
3051
3123
  // Native
3052
3124
  function(t, r, n) {
3053
3125
  return t.startsWith(r, n);
@@ -3057,7 +3129,7 @@ var Vt = Pi ? (
3057
3129
  function(t, r, n) {
3058
3130
  return t.slice(n, n + r.length) === r;
3059
3131
  }
3060
- ), ft = Li ? String.fromCodePoint : (
3132
+ ), Ht = Ki ? String.fromCodePoint : (
3061
3133
  // IE11
3062
3134
  function() {
3063
3135
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3069,9 +3141,9 @@ var Vt = Pi ? (
3069
3141
  }
3070
3142
  return n;
3071
3143
  }
3072
- ), Xt = (
3144
+ ), ir = (
3073
3145
  // native
3074
- Bi ? Object.fromEntries : (
3146
+ eo ? Object.fromEntries : (
3075
3147
  // Ponyfill
3076
3148
  function(t) {
3077
3149
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3081,7 +3153,7 @@ var Vt = Pi ? (
3081
3153
  return r;
3082
3154
  }
3083
3155
  )
3084
- ), Fr = Ii ? (
3156
+ ), nn = to ? (
3085
3157
  // Native
3086
3158
  function(t, r) {
3087
3159
  return t.codePointAt(r);
@@ -3095,7 +3167,7 @@ var Vt = Pi ? (
3095
3167
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3096
3168
  }
3097
3169
  }
3098
- ), Fi = Ci ? (
3170
+ ), so = ro ? (
3099
3171
  // Native
3100
3172
  function(t) {
3101
3173
  return t.trimStart();
@@ -3103,9 +3175,9 @@ var Vt = Pi ? (
3103
3175
  ) : (
3104
3176
  // Ponyfill
3105
3177
  function(t) {
3106
- return t.replace(Ai, "");
3178
+ return t.replace(qi, "");
3107
3179
  }
3108
- ), Di = Ni ? (
3180
+ ), lo = no ? (
3109
3181
  // Native
3110
3182
  function(t) {
3111
3183
  return t.trimEnd();
@@ -3113,32 +3185,32 @@ var Vt = Pi ? (
3113
3185
  ) : (
3114
3186
  // Ponyfill
3115
3187
  function(t) {
3116
- return t.replace(Mi, "");
3188
+ return t.replace(Yi, "");
3117
3189
  }
3118
3190
  );
3119
- function Dr(e, t) {
3191
+ function on(e, t) {
3120
3192
  return new RegExp(e, t);
3121
3193
  }
3122
- var pt;
3123
- if (ct) {
3124
- var zt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3125
- pt = function(t, r) {
3194
+ var St;
3195
+ if (wt) {
3196
+ var or = on("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3197
+ St = function(t, r) {
3126
3198
  var n;
3127
- zt.lastIndex = r;
3128
- var i = zt.exec(t);
3199
+ or.lastIndex = r;
3200
+ var i = or.exec(t);
3129
3201
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3130
3202
  };
3131
3203
  } else
3132
- pt = function(t, r) {
3204
+ St = function(t, r) {
3133
3205
  for (var n = []; ; ) {
3134
- var i = Fr(t, r);
3135
- if (i === void 0 || Gr(i) || Wi(i))
3206
+ var i = nn(t, r);
3207
+ if (i === void 0 || an(i) || fo(i))
3136
3208
  break;
3137
3209
  n.push(i), r += i >= 65536 ? 2 : 1;
3138
3210
  }
3139
- return ft.apply(void 0, n);
3211
+ return Ht.apply(void 0, n);
3140
3212
  };
3141
- var Gi = (
3213
+ var uo = (
3142
3214
  /** @class */
3143
3215
  function() {
3144
3216
  function e(t, r) {
@@ -3162,14 +3234,14 @@ var Gi = (
3162
3234
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3163
3235
  var s = this.clonePosition();
3164
3236
  this.bump(), i.push({
3165
- type: T.pound,
3166
- location: E(s, this.clonePosition())
3237
+ type: M.pound,
3238
+ location: H(s, this.clonePosition())
3167
3239
  });
3168
3240
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3169
3241
  if (n)
3170
3242
  break;
3171
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3172
- } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
3243
+ return this.error(w.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
3244
+ } else if (o === 60 && !this.ignoreTag && Tt(this.peek() || 0)) {
3173
3245
  var a = this.parseTag(t, r);
3174
3246
  if (a.err)
3175
3247
  return a;
@@ -3190,9 +3262,9 @@ var Gi = (
3190
3262
  if (this.bumpSpace(), this.bumpIf("/>"))
3191
3263
  return {
3192
3264
  val: {
3193
- type: T.literal,
3265
+ type: M.literal,
3194
3266
  value: "<".concat(i, "/>"),
3195
- location: E(n, this.clonePosition())
3267
+ location: H(n, this.clonePosition())
3196
3268
  },
3197
3269
  err: null
3198
3270
  };
@@ -3202,25 +3274,25 @@ var Gi = (
3202
3274
  return o;
3203
3275
  var a = o.val, s = this.clonePosition();
3204
3276
  if (this.bumpIf("</")) {
3205
- if (this.isEOF() || !dt(this.char()))
3206
- return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
3277
+ if (this.isEOF() || !Tt(this.char()))
3278
+ return this.error(w.INVALID_TAG, H(s, this.clonePosition()));
3207
3279
  var u = this.clonePosition(), l = this.parseTagName();
3208
- return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3280
+ return i !== l ? this.error(w.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3209
3281
  val: {
3210
- type: T.tag,
3282
+ type: M.tag,
3211
3283
  value: i,
3212
3284
  children: a,
3213
- location: E(n, this.clonePosition())
3285
+ location: H(n, this.clonePosition())
3214
3286
  },
3215
3287
  err: null
3216
- } : this.error(_.INVALID_TAG, E(s, this.clonePosition())));
3288
+ } : this.error(w.INVALID_TAG, H(s, this.clonePosition())));
3217
3289
  } else
3218
- return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
3290
+ return this.error(w.UNCLOSED_TAG, H(n, this.clonePosition()));
3219
3291
  } else
3220
- return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3292
+ return this.error(w.INVALID_TAG, H(n, this.clonePosition()));
3221
3293
  }, e.prototype.parseTagName = function() {
3222
3294
  var t = this.offset();
3223
- for (this.bump(); !this.isEOF() && ji(this.char()); )
3295
+ for (this.bump(); !this.isEOF() && ho(this.char()); )
3224
3296
  this.bump();
3225
3297
  return this.message.slice(t, this.offset());
3226
3298
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3242,14 +3314,14 @@ var Gi = (
3242
3314
  }
3243
3315
  break;
3244
3316
  }
3245
- var u = E(n, this.clonePosition());
3317
+ var u = H(n, this.clonePosition());
3246
3318
  return {
3247
- val: { type: T.literal, value: i, location: u },
3319
+ val: { type: M.literal, value: i, location: u },
3248
3320
  err: null
3249
3321
  };
3250
3322
  }, e.prototype.tryParseLeftAngleBracket = function() {
3251
3323
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3252
- !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3324
+ !co(this.peek() || 0)) ? (this.bump(), "<") : null;
3253
3325
  }, e.prototype.tryParseQuote = function(t) {
3254
3326
  if (this.isEOF() || this.char() !== 39)
3255
3327
  return null;
@@ -3283,49 +3355,49 @@ var Gi = (
3283
3355
  r.push(n);
3284
3356
  this.bump();
3285
3357
  }
3286
- return ft.apply(void 0, r);
3358
+ return Ht.apply(void 0, r);
3287
3359
  }, e.prototype.tryParseUnquoted = function(t, r) {
3288
3360
  if (this.isEOF())
3289
3361
  return null;
3290
3362
  var n = this.char();
3291
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
3363
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ht(n));
3292
3364
  }, e.prototype.parseArgument = function(t, r) {
3293
3365
  var n = this.clonePosition();
3294
3366
  if (this.bump(), this.bumpSpace(), this.isEOF())
3295
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3367
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
3296
3368
  if (this.char() === 125)
3297
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3369
+ return this.bump(), this.error(w.EMPTY_ARGUMENT, H(n, this.clonePosition()));
3298
3370
  var i = this.parseIdentifierIfPossible().value;
3299
3371
  if (!i)
3300
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3372
+ return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3301
3373
  if (this.bumpSpace(), this.isEOF())
3302
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3374
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
3303
3375
  switch (this.char()) {
3304
3376
  case 125:
3305
3377
  return this.bump(), {
3306
3378
  val: {
3307
- type: T.argument,
3379
+ type: M.argument,
3308
3380
  // value does not include the opening and closing braces.
3309
3381
  value: i,
3310
- location: E(n, this.clonePosition())
3382
+ location: H(n, this.clonePosition())
3311
3383
  },
3312
3384
  err: null
3313
3385
  };
3314
3386
  case 44:
3315
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3387
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3316
3388
  default:
3317
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3389
+ return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3318
3390
  }
3319
3391
  }, e.prototype.parseIdentifierIfPossible = function() {
3320
- var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
3392
+ var t = this.clonePosition(), r = this.offset(), n = St(this.message, r), i = r + n.length;
3321
3393
  this.bumpTo(i);
3322
- var o = this.clonePosition(), a = E(t, o);
3394
+ var o = this.clonePosition(), a = H(t, o);
3323
3395
  return { value: n, location: a };
3324
3396
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3325
3397
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3326
3398
  switch (s) {
3327
3399
  case "":
3328
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
3400
+ return this.error(w.EXPECT_ARGUMENT_TYPE, H(a, u));
3329
3401
  case "number":
3330
3402
  case "date":
3331
3403
  case "time": {
@@ -3333,49 +3405,49 @@ var Gi = (
3333
3405
  var l = null;
3334
3406
  if (this.bumpIf(",")) {
3335
3407
  this.bumpSpace();
3336
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3337
- if (c.err)
3338
- return c;
3339
- var f = Di(c.val);
3340
- if (f.length === 0)
3341
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3342
- var d = E(h, this.clonePosition());
3343
- l = { style: f, styleLocation: d };
3408
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3409
+ if (h.err)
3410
+ return h;
3411
+ var g = lo(h.val);
3412
+ if (g.length === 0)
3413
+ return this.error(w.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3414
+ var p = H(c, this.clonePosition());
3415
+ l = { style: g, styleLocation: p };
3344
3416
  }
3345
- var g = this.tryParseArgumentClose(i);
3346
- if (g.err)
3347
- return g;
3348
- var v = E(i, this.clonePosition());
3349
- if (l && Vt(l?.style, "::", 0)) {
3350
- var w = Fi(l.style.slice(2));
3417
+ var m = this.tryParseArgumentClose(i);
3418
+ if (m.err)
3419
+ return m;
3420
+ var _ = H(i, this.clonePosition());
3421
+ if (l && nr(l?.style, "::", 0)) {
3422
+ var x = so(l.style.slice(2));
3351
3423
  if (s === "number") {
3352
- var c = this.parseNumberSkeletonFromString(w, l.styleLocation);
3353
- return c.err ? c : {
3354
- val: { type: T.number, value: n, location: v, style: c.val },
3424
+ var h = this.parseNumberSkeletonFromString(x, l.styleLocation);
3425
+ return h.err ? h : {
3426
+ val: { type: M.number, value: n, location: _, style: h.val },
3355
3427
  err: null
3356
3428
  };
3357
3429
  } else {
3358
- if (w.length === 0)
3359
- return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
3360
- var H = w;
3361
- this.locale && (H = Ti(w, this.locale));
3362
- var f = {
3363
- type: le.dateTime,
3364
- pattern: H,
3430
+ if (x.length === 0)
3431
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, _);
3432
+ var E = x;
3433
+ this.locale && (E = Zi(x, this.locale));
3434
+ var g = {
3435
+ type: Ee.dateTime,
3436
+ pattern: E,
3365
3437
  location: l.styleLocation,
3366
- parsedOptions: this.shouldParseSkeletons ? yi(H) : {}
3367
- }, B = s === "date" ? T.date : T.time;
3438
+ parsedOptions: this.shouldParseSkeletons ? Gi(E) : {}
3439
+ }, L = s === "date" ? M.date : M.time;
3368
3440
  return {
3369
- val: { type: B, value: n, location: v, style: f },
3441
+ val: { type: L, value: n, location: _, style: g },
3370
3442
  err: null
3371
3443
  };
3372
3444
  }
3373
3445
  }
3374
3446
  return {
3375
3447
  val: {
3376
- type: s === "number" ? T.number : s === "date" ? T.date : T.time,
3448
+ type: s === "number" ? M.number : s === "date" ? M.date : M.time,
3377
3449
  value: n,
3378
- location: v,
3450
+ location: _,
3379
3451
  style: (o = l?.style) !== null && o !== void 0 ? o : null
3380
3452
  },
3381
3453
  err: null
@@ -3384,41 +3456,41 @@ var Gi = (
3384
3456
  case "plural":
3385
3457
  case "selectordinal":
3386
3458
  case "select": {
3387
- var P = this.clonePosition();
3459
+ var I = this.clonePosition();
3388
3460
  if (this.bumpSpace(), !this.bumpIf(","))
3389
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P, Ne({}, P)));
3461
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(I, ze({}, I)));
3390
3462
  this.bumpSpace();
3391
- var G = this.parseIdentifierIfPossible(), C = 0;
3392
- if (s !== "select" && G.value === "offset") {
3463
+ var V = this.parseIdentifierIfPossible(), j = 0;
3464
+ if (s !== "select" && V.value === "offset") {
3393
3465
  if (!this.bumpIf(":"))
3394
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3466
+ return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
3395
3467
  this.bumpSpace();
3396
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3397
- if (c.err)
3398
- return c;
3399
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = c.val;
3468
+ var h = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3469
+ if (h.err)
3470
+ return h;
3471
+ this.bumpSpace(), V = this.parseIdentifierIfPossible(), j = h.val;
3400
3472
  }
3401
- var V = this.tryParsePluralOrSelectOptions(t, s, r, G);
3402
- if (V.err)
3403
- return V;
3404
- var g = this.tryParseArgumentClose(i);
3405
- if (g.err)
3406
- return g;
3407
- var z = E(i, this.clonePosition());
3473
+ var X = this.tryParsePluralOrSelectOptions(t, s, r, V);
3474
+ if (X.err)
3475
+ return X;
3476
+ var m = this.tryParseArgumentClose(i);
3477
+ if (m.err)
3478
+ return m;
3479
+ var z = H(i, this.clonePosition());
3408
3480
  return s === "select" ? {
3409
3481
  val: {
3410
- type: T.select,
3482
+ type: M.select,
3411
3483
  value: n,
3412
- options: Xt(V.val),
3484
+ options: ir(X.val),
3413
3485
  location: z
3414
3486
  },
3415
3487
  err: null
3416
3488
  } : {
3417
3489
  val: {
3418
- type: T.plural,
3490
+ type: M.plural,
3419
3491
  value: n,
3420
- options: Xt(V.val),
3421
- offset: C,
3492
+ options: ir(X.val),
3493
+ offset: j,
3422
3494
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3423
3495
  location: z
3424
3496
  },
@@ -3426,10 +3498,10 @@ var Gi = (
3426
3498
  };
3427
3499
  }
3428
3500
  default:
3429
- return this.error(_.INVALID_ARGUMENT_TYPE, E(a, u));
3501
+ return this.error(w.INVALID_ARGUMENT_TYPE, H(a, u));
3430
3502
  }
3431
3503
  }, e.prototype.tryParseArgumentClose = function(t) {
3432
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3504
+ return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3433
3505
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3434
3506
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3435
3507
  var n = this.char();
@@ -3438,7 +3510,7 @@ var Gi = (
3438
3510
  this.bump();
3439
3511
  var i = this.clonePosition();
3440
3512
  if (!this.bumpUntil("'"))
3441
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3513
+ return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
3442
3514
  this.bump();
3443
3515
  break;
3444
3516
  }
@@ -3468,52 +3540,52 @@ var Gi = (
3468
3540
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3469
3541
  var n = [];
3470
3542
  try {
3471
- n = xi(t);
3543
+ n = $i(t);
3472
3544
  } catch {
3473
- return this.error(_.INVALID_NUMBER_SKELETON, r);
3545
+ return this.error(w.INVALID_NUMBER_SKELETON, r);
3474
3546
  }
3475
3547
  return {
3476
3548
  val: {
3477
- type: le.number,
3549
+ type: Ee.number,
3478
3550
  tokens: n,
3479
3551
  location: r,
3480
- parsedOptions: this.shouldParseSkeletons ? Hi(n) : {}
3552
+ parsedOptions: this.shouldParseSkeletons ? zi(n) : {}
3481
3553
  },
3482
3554
  err: null
3483
3555
  };
3484
3556
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3485
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3557
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3486
3558
  if (l.length === 0) {
3487
- var c = this.clonePosition();
3559
+ var h = this.clonePosition();
3488
3560
  if (r !== "select" && this.bumpIf("=")) {
3489
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3490
- if (f.err)
3491
- return f;
3492
- h = E(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3561
+ var g = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3562
+ if (g.err)
3563
+ return g;
3564
+ c = H(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3493
3565
  } else
3494
3566
  break;
3495
3567
  }
3496
3568
  if (u.has(l))
3497
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3569
+ return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3498
3570
  l === "other" && (a = !0), this.bumpSpace();
3499
- var d = this.clonePosition();
3571
+ var p = this.clonePosition();
3500
3572
  if (!this.bumpIf("{"))
3501
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3502
- var g = this.parseMessage(t + 1, r, n);
3503
- if (g.err)
3504
- return g;
3505
- var v = this.tryParseArgumentClose(d);
3506
- if (v.err)
3507
- return v;
3573
+ return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
3574
+ var m = this.parseMessage(t + 1, r, n);
3575
+ if (m.err)
3576
+ return m;
3577
+ var _ = this.tryParseArgumentClose(p);
3578
+ if (_.err)
3579
+ return _;
3508
3580
  s.push([
3509
3581
  l,
3510
3582
  {
3511
- value: g.val,
3512
- location: E(d, this.clonePosition())
3583
+ value: m.val,
3584
+ location: H(p, this.clonePosition())
3513
3585
  }
3514
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3586
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3515
3587
  }
3516
- 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 };
3588
+ return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3517
3589
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3518
3590
  var n = 1, i = this.clonePosition();
3519
3591
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3524,8 +3596,8 @@ var Gi = (
3524
3596
  else
3525
3597
  break;
3526
3598
  }
3527
- var u = E(i, this.clonePosition());
3528
- return o ? (a *= n, Ui(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3599
+ var u = H(i, this.clonePosition());
3600
+ return o ? (a *= n, oo(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3529
3601
  }, e.prototype.offset = function() {
3530
3602
  return this.position.offset;
3531
3603
  }, e.prototype.isEOF = function() {
@@ -3540,7 +3612,7 @@ var Gi = (
3540
3612
  var t = this.position.offset;
3541
3613
  if (t >= this.message.length)
3542
3614
  throw Error("out of bound");
3543
- var r = Fr(this.message, t);
3615
+ var r = nn(this.message, t);
3544
3616
  if (r === void 0)
3545
3617
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3546
3618
  return r;
@@ -3559,7 +3631,7 @@ var Gi = (
3559
3631
  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);
3560
3632
  }
3561
3633
  }, e.prototype.bumpIf = function(t) {
3562
- if (Vt(this.message, t, this.offset())) {
3634
+ if (nr(this.message, t, this.offset())) {
3563
3635
  for (var r = 0; r < t.length; r++)
3564
3636
  this.bump();
3565
3637
  return !0;
@@ -3581,7 +3653,7 @@ var Gi = (
3581
3653
  break;
3582
3654
  }
3583
3655
  }, e.prototype.bumpSpace = function() {
3584
- for (; !this.isEOF() && Gr(this.char()); )
3656
+ for (; !this.isEOF() && an(this.char()); )
3585
3657
  this.bump();
3586
3658
  }, e.prototype.peek = function() {
3587
3659
  if (this.isEOF())
@@ -3591,47 +3663,47 @@ var Gi = (
3591
3663
  }, e;
3592
3664
  }()
3593
3665
  );
3594
- function dt(e) {
3666
+ function Tt(e) {
3595
3667
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3596
3668
  }
3597
- function $i(e) {
3598
- return dt(e) || e === 47;
3669
+ function co(e) {
3670
+ return Tt(e) || e === 47;
3599
3671
  }
3600
- function ji(e) {
3672
+ function ho(e) {
3601
3673
  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;
3602
3674
  }
3603
- function Gr(e) {
3675
+ function an(e) {
3604
3676
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3605
3677
  }
3606
- function Wi(e) {
3678
+ function fo(e) {
3607
3679
  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;
3608
3680
  }
3609
- function mt(e) {
3681
+ function Ot(e) {
3610
3682
  e.forEach(function(t) {
3611
- if (delete t.location, Lr(t) || Br(t))
3683
+ if (delete t.location, Qr(t) || qr(t))
3612
3684
  for (var r in t.options)
3613
- delete t.options[r].location, mt(t.options[r].value);
3685
+ delete t.options[r].location, Ot(t.options[r].value);
3614
3686
  else
3615
- Ar(t) && Cr(t.style) || (Mr(t) || Pr(t)) && ht(t.style) ? delete t.style.location : Ir(t) && mt(t.children);
3687
+ Xr(t) && Jr(t.style) || (zr(t) || Zr(t)) && Et(t.style) ? delete t.style.location : Yr(t) && Ot(t.children);
3616
3688
  });
3617
3689
  }
3618
- function Vi(e, t) {
3619
- t === void 0 && (t = {}), t = Ne({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3620
- var r = new Gi(e, t).parse();
3690
+ function go(e, t) {
3691
+ t === void 0 && (t = {}), t = ze({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3692
+ var r = new uo(e, t).parse();
3621
3693
  if (r.err) {
3622
- var n = SyntaxError(_[r.err.kind]);
3694
+ var n = SyntaxError(w[r.err.kind]);
3623
3695
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3624
3696
  }
3625
- return t?.captureLocation || mt(r.val), r.val;
3697
+ return t?.captureLocation || Ot(r.val), r.val;
3626
3698
  }
3627
- var he;
3699
+ var we;
3628
3700
  (function(e) {
3629
3701
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3630
- })(he || (he = {}));
3631
- var Ge = (
3702
+ })(we || (we = {}));
3703
+ var Ke = (
3632
3704
  /** @class */
3633
3705
  function(e) {
3634
- De(t, e);
3706
+ Je(t, e);
3635
3707
  function t(r, n, i) {
3636
3708
  var o = e.call(this, r) || this;
3637
3709
  return o.code = n, o.originalMessage = i, o;
@@ -3640,155 +3712,155 @@ var Ge = (
3640
3712
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3641
3713
  }, t;
3642
3714
  }(Error)
3643
- ), Zt = (
3715
+ ), ar = (
3644
3716
  /** @class */
3645
3717
  function(e) {
3646
- De(t, e);
3718
+ Je(t, e);
3647
3719
  function t(r, n, i, o) {
3648
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3720
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), we.INVALID_VALUE, o) || this;
3649
3721
  }
3650
3722
  return t;
3651
- }(Ge)
3652
- ), Xi = (
3723
+ }(Ke)
3724
+ ), po = (
3653
3725
  /** @class */
3654
3726
  function(e) {
3655
- De(t, e);
3727
+ Je(t, e);
3656
3728
  function t(r, n, i) {
3657
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3729
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), we.INVALID_VALUE, i) || this;
3658
3730
  }
3659
3731
  return t;
3660
- }(Ge)
3661
- ), zi = (
3732
+ }(Ke)
3733
+ ), mo = (
3662
3734
  /** @class */
3663
3735
  function(e) {
3664
- De(t, e);
3736
+ Je(t, e);
3665
3737
  function t(r, n) {
3666
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3738
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), we.MISSING_VALUE, n) || this;
3667
3739
  }
3668
3740
  return t;
3669
- }(Ge)
3670
- ), D;
3741
+ }(Ke)
3742
+ ), F;
3671
3743
  (function(e) {
3672
3744
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3673
- })(D || (D = {}));
3674
- function Zi(e) {
3745
+ })(F || (F = {}));
3746
+ function bo(e) {
3675
3747
  return e.length < 2 ? e : e.reduce(function(t, r) {
3676
3748
  var n = t[t.length - 1];
3677
- return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3749
+ return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3678
3750
  }, []);
3679
3751
  }
3680
- function Qi(e) {
3752
+ function _o(e) {
3681
3753
  return typeof e == "function";
3682
3754
  }
3683
- function Le(e, t, r, n, i, o, a) {
3684
- if (e.length === 1 && Gt(e[0]))
3755
+ function $e(e, t, r, n, i, o, a) {
3756
+ if (e.length === 1 && Kt(e[0]))
3685
3757
  return [
3686
3758
  {
3687
- type: D.literal,
3759
+ type: F.literal,
3688
3760
  value: e[0].value
3689
3761
  }
3690
3762
  ];
3691
3763
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3692
- var h = l[u];
3693
- if (Gt(h)) {
3764
+ var c = l[u];
3765
+ if (Kt(c)) {
3694
3766
  s.push({
3695
- type: D.literal,
3696
- value: h.value
3767
+ type: F.literal,
3768
+ value: c.value
3697
3769
  });
3698
3770
  continue;
3699
3771
  }
3700
- if (bi(h)) {
3772
+ if (Fi(c)) {
3701
3773
  typeof o == "number" && s.push({
3702
- type: D.literal,
3774
+ type: F.literal,
3703
3775
  value: r.getNumberFormat(t).format(o)
3704
3776
  });
3705
3777
  continue;
3706
3778
  }
3707
- var c = h.value;
3708
- if (!(i && c in i))
3709
- throw new zi(c, a);
3710
- var f = i[c];
3711
- if (gi(h)) {
3712
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3713
- type: typeof f == "string" ? D.literal : D.object,
3714
- value: f
3779
+ var h = c.value;
3780
+ if (!(i && h in i))
3781
+ throw new mo(h, a);
3782
+ var g = i[h];
3783
+ if (Ui(c)) {
3784
+ (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
3785
+ type: typeof g == "string" ? F.literal : F.object,
3786
+ value: g
3715
3787
  });
3716
3788
  continue;
3717
3789
  }
3718
- if (Mr(h)) {
3719
- var d = typeof h.style == "string" ? n.date[h.style] : ht(h.style) ? h.style.parsedOptions : void 0;
3790
+ if (zr(c)) {
3791
+ var p = typeof c.style == "string" ? n.date[c.style] : Et(c.style) ? c.style.parsedOptions : void 0;
3720
3792
  s.push({
3721
- type: D.literal,
3722
- value: r.getDateTimeFormat(t, d).format(f)
3793
+ type: F.literal,
3794
+ value: r.getDateTimeFormat(t, p).format(g)
3723
3795
  });
3724
3796
  continue;
3725
3797
  }
3726
- if (Pr(h)) {
3727
- var d = typeof h.style == "string" ? n.time[h.style] : ht(h.style) ? h.style.parsedOptions : n.time.medium;
3798
+ if (Zr(c)) {
3799
+ var p = typeof c.style == "string" ? n.time[c.style] : Et(c.style) ? c.style.parsedOptions : n.time.medium;
3728
3800
  s.push({
3729
- type: D.literal,
3730
- value: r.getDateTimeFormat(t, d).format(f)
3801
+ type: F.literal,
3802
+ value: r.getDateTimeFormat(t, p).format(g)
3731
3803
  });
3732
3804
  continue;
3733
3805
  }
3734
- if (Ar(h)) {
3735
- var d = typeof h.style == "string" ? n.number[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
3736
- d && d.scale && (f = f * (d.scale || 1)), s.push({
3737
- type: D.literal,
3738
- value: r.getNumberFormat(t, d).format(f)
3806
+ if (Xr(c)) {
3807
+ var p = typeof c.style == "string" ? n.number[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
3808
+ p && p.scale && (g = g * (p.scale || 1)), s.push({
3809
+ type: F.literal,
3810
+ value: r.getNumberFormat(t, p).format(g)
3739
3811
  });
3740
3812
  continue;
3741
3813
  }
3742
- if (Ir(h)) {
3743
- var g = h.children, v = h.value, w = i[v];
3744
- if (!Qi(w))
3745
- throw new Xi(v, "function", a);
3746
- var H = Le(g, t, r, n, i, o), B = w(H.map(function(C) {
3747
- return C.value;
3814
+ if (Yr(c)) {
3815
+ var m = c.children, _ = c.value, x = i[_];
3816
+ if (!_o(x))
3817
+ throw new po(_, "function", a);
3818
+ var E = $e(m, t, r, n, i, o), L = x(E.map(function(j) {
3819
+ return j.value;
3748
3820
  }));
3749
- Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(C) {
3821
+ Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(j) {
3750
3822
  return {
3751
- type: typeof C == "string" ? D.literal : D.object,
3752
- value: C
3823
+ type: typeof j == "string" ? F.literal : F.object,
3824
+ value: j
3753
3825
  };
3754
3826
  }));
3755
3827
  }
3756
- if (Lr(h)) {
3757
- var P = h.options[f] || h.options.other;
3758
- if (!P)
3759
- throw new Zt(h.value, f, Object.keys(h.options), a);
3760
- s.push.apply(s, Le(P.value, t, r, n, i));
3828
+ if (Qr(c)) {
3829
+ var I = c.options[g] || c.options.other;
3830
+ if (!I)
3831
+ throw new ar(c.value, g, Object.keys(c.options), a);
3832
+ s.push.apply(s, $e(I.value, t, r, n, i));
3761
3833
  continue;
3762
3834
  }
3763
- if (Br(h)) {
3764
- var P = h.options["=".concat(f)];
3765
- if (!P) {
3835
+ if (qr(c)) {
3836
+ var I = c.options["=".concat(g)];
3837
+ if (!I) {
3766
3838
  if (!Intl.PluralRules)
3767
- throw new Ge(`Intl.PluralRules is not available in this environment.
3839
+ throw new Ke(`Intl.PluralRules is not available in this environment.
3768
3840
  Try polyfilling it using "@formatjs/intl-pluralrules"
3769
- `, he.MISSING_INTL_API, a);
3770
- var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3771
- P = h.options[G] || h.options.other;
3841
+ `, we.MISSING_INTL_API, a);
3842
+ var V = r.getPluralRules(t, { type: c.pluralType }).select(g - (c.offset || 0));
3843
+ I = c.options[V] || c.options.other;
3772
3844
  }
3773
- if (!P)
3774
- throw new Zt(h.value, f, Object.keys(h.options), a);
3775
- s.push.apply(s, Le(P.value, t, r, n, i, f - (h.offset || 0)));
3845
+ if (!I)
3846
+ throw new ar(c.value, g, Object.keys(c.options), a);
3847
+ s.push.apply(s, $e(I.value, t, r, n, i, g - (c.offset || 0)));
3776
3848
  continue;
3777
3849
  }
3778
3850
  }
3779
- return Zi(s);
3851
+ return bo(s);
3780
3852
  }
3781
- function Yi(e, t) {
3782
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3783
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
3853
+ function vo(e, t) {
3854
+ return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3855
+ return r[n] = J(J({}, e[n]), t[n] || {}), r;
3784
3856
  }, {})) : e;
3785
3857
  }
3786
- function qi(e, t) {
3858
+ function yo(e, t) {
3787
3859
  return t ? Object.keys(e).reduce(function(r, n) {
3788
- return r[n] = Yi(e[n], t[n]), r;
3789
- }, X({}, e)) : e;
3860
+ return r[n] = vo(e[n], t[n]), r;
3861
+ }, J({}, e)) : e;
3790
3862
  }
3791
- function et(e) {
3863
+ function ft(e) {
3792
3864
  return {
3793
3865
  create: function() {
3794
3866
  return {
@@ -3802,39 +3874,39 @@ function et(e) {
3802
3874
  }
3803
3875
  };
3804
3876
  }
3805
- function Ji(e) {
3877
+ function xo(e) {
3806
3878
  return e === void 0 && (e = {
3807
3879
  number: {},
3808
3880
  dateTime: {},
3809
3881
  pluralRules: {}
3810
3882
  }), {
3811
- getNumberFormat: qe(function() {
3883
+ getNumberFormat: ut(function() {
3812
3884
  for (var t, r = [], n = 0; n < arguments.length; n++)
3813
3885
  r[n] = arguments[n];
3814
- return new ((t = Intl.NumberFormat).bind.apply(t, Ye([void 0], r, !1)))();
3886
+ return new ((t = Intl.NumberFormat).bind.apply(t, lt([void 0], r, !1)))();
3815
3887
  }, {
3816
- cache: et(e.number),
3817
- strategy: Je.variadic
3888
+ cache: ft(e.number),
3889
+ strategy: ct.variadic
3818
3890
  }),
3819
- getDateTimeFormat: qe(function() {
3891
+ getDateTimeFormat: ut(function() {
3820
3892
  for (var t, r = [], n = 0; n < arguments.length; n++)
3821
3893
  r[n] = arguments[n];
3822
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ye([void 0], r, !1)))();
3894
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, lt([void 0], r, !1)))();
3823
3895
  }, {
3824
- cache: et(e.dateTime),
3825
- strategy: Je.variadic
3896
+ cache: ft(e.dateTime),
3897
+ strategy: ct.variadic
3826
3898
  }),
3827
- getPluralRules: qe(function() {
3899
+ getPluralRules: ut(function() {
3828
3900
  for (var t, r = [], n = 0; n < arguments.length; n++)
3829
3901
  r[n] = arguments[n];
3830
- return new ((t = Intl.PluralRules).bind.apply(t, Ye([void 0], r, !1)))();
3902
+ return new ((t = Intl.PluralRules).bind.apply(t, lt([void 0], r, !1)))();
3831
3903
  }, {
3832
- cache: et(e.pluralRules),
3833
- strategy: Je.variadic
3904
+ cache: ft(e.pluralRules),
3905
+ strategy: ct.variadic
3834
3906
  })
3835
3907
  };
3836
3908
  }
3837
- var Ki = (
3909
+ var Eo = (
3838
3910
  /** @class */
3839
3911
  function() {
3840
3912
  function e(t, r, n, i) {
@@ -3848,12 +3920,12 @@ var Ki = (
3848
3920
  var l = o.formatToParts(u);
3849
3921
  if (l.length === 1)
3850
3922
  return l[0].value;
3851
- var h = l.reduce(function(c, f) {
3852
- return !c.length || f.type !== D.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3923
+ var c = l.reduce(function(h, g) {
3924
+ return !h.length || g.type !== F.literal || typeof h[h.length - 1] != "string" ? h.push(g.value) : h[h.length - 1] += g.value, h;
3853
3925
  }, []);
3854
- return h.length <= 1 ? h[0] || "" : h;
3926
+ return c.length <= 1 ? c[0] || "" : c;
3855
3927
  }, this.formatToParts = function(u) {
3856
- return Le(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3928
+ return $e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3857
3929
  }, this.resolvedOptions = function() {
3858
3930
  var u;
3859
3931
  return {
@@ -3866,13 +3938,13 @@ var Ki = (
3866
3938
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3867
3939
  var a = i || {};
3868
3940
  a.formatters;
3869
- var s = ui(a, ["formatters"]);
3870
- this.ast = e.__parse(t, X(X({}, s), { locale: this.resolvedLocale }));
3941
+ var s = Li(a, ["formatters"]);
3942
+ this.ast = e.__parse(t, J(J({}, s), { locale: this.resolvedLocale }));
3871
3943
  } else
3872
3944
  this.ast = t;
3873
3945
  if (!Array.isArray(this.ast))
3874
3946
  throw new TypeError("A message must be provided as a String or AST.");
3875
- this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ji(this.formatterCache);
3947
+ this.formats = yo(e.formats, n), this.formatters = i && i.formatters || xo(this.formatterCache);
3876
3948
  }
3877
3949
  return Object.defineProperty(e, "defaultLocale", {
3878
3950
  get: function() {
@@ -3885,7 +3957,7 @@ var Ki = (
3885
3957
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3886
3958
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3887
3959
  }
3888
- }, e.__parse = Vi, e.formats = {
3960
+ }, e.__parse = go, e.formats = {
3889
3961
  number: {
3890
3962
  integer: {
3891
3963
  maximumFractionDigits: 0
@@ -3946,7 +4018,7 @@ var Ki = (
3946
4018
  }, e;
3947
4019
  }()
3948
4020
  );
3949
- function eo(e, t) {
4021
+ function wo(e, t) {
3950
4022
  if (t == null)
3951
4023
  return;
3952
4024
  if (t in e)
@@ -3967,92 +4039,92 @@ function eo(e, t) {
3967
4039
  n = void 0;
3968
4040
  return n;
3969
4041
  }
3970
- const J = {}, to = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), $r = (e, t) => {
4042
+ const ie = {}, Ho = (e, t, r) => r && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = r), r), sn = (e, t) => {
3971
4043
  if (t == null)
3972
4044
  return;
3973
- if (t in J && e in J[t])
3974
- return J[t][e];
3975
- const r = $e(t);
4045
+ if (t in ie && e in ie[t])
4046
+ return ie[t][e];
4047
+ const r = et(t);
3976
4048
  for (let n = 0; n < r.length; n++) {
3977
- const i = r[n], o = no(i, e);
4049
+ const i = r[n], o = To(i, e);
3978
4050
  if (o)
3979
- return to(e, t, o);
4051
+ return Ho(e, t, o);
3980
4052
  }
3981
4053
  };
3982
- let yt;
3983
- const Se = Fe({});
3984
- function ro(e) {
3985
- return yt[e] || null;
4054
+ let Pt;
4055
+ const Re = Ye({});
4056
+ function So(e) {
4057
+ return Pt[e] || null;
3986
4058
  }
3987
- function jr(e) {
3988
- return e in yt;
4059
+ function ln(e) {
4060
+ return e in Pt;
3989
4061
  }
3990
- function no(e, t) {
3991
- if (!jr(e))
4062
+ function To(e, t) {
4063
+ if (!ln(e))
3992
4064
  return null;
3993
- const r = ro(e);
3994
- return eo(r, t);
4065
+ const r = So(e);
4066
+ return wo(r, t);
3995
4067
  }
3996
- function io(e) {
4068
+ function Oo(e) {
3997
4069
  if (e == null)
3998
4070
  return;
3999
- const t = $e(e);
4071
+ const t = et(e);
4000
4072
  for (let r = 0; r < t.length; r++) {
4001
4073
  const n = t[r];
4002
- if (jr(n))
4074
+ if (ln(n))
4003
4075
  return n;
4004
4076
  }
4005
4077
  }
4006
- function Wr(e, ...t) {
4007
- delete J[e], Se.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
4078
+ function un(e, ...t) {
4079
+ delete ie[e], Re.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
4008
4080
  }
4009
- de(
4010
- [Se],
4081
+ Se(
4082
+ [Re],
4011
4083
  ([e]) => Object.keys(e)
4012
4084
  );
4013
- Se.subscribe((e) => yt = e);
4014
- const Be = {};
4015
- function oo(e, t) {
4016
- Be[e].delete(t), Be[e].size === 0 && delete Be[e];
4085
+ Re.subscribe((e) => Pt = e);
4086
+ const We = {};
4087
+ function Mo(e, t) {
4088
+ We[e].delete(t), We[e].size === 0 && delete We[e];
4017
4089
  }
4018
- function Vr(e) {
4019
- return Be[e];
4090
+ function cn(e) {
4091
+ return We[e];
4020
4092
  }
4021
- function ao(e) {
4022
- return $e(e).map((t) => {
4023
- const r = Vr(t);
4093
+ function Ao(e) {
4094
+ return et(e).map((t) => {
4095
+ const r = cn(t);
4024
4096
  return [t, r ? [...r] : []];
4025
4097
  }).filter(([, t]) => t.length > 0);
4026
4098
  }
4027
- function gt(e) {
4028
- return e == null ? !1 : $e(e).some(
4099
+ function Mt(e) {
4100
+ return e == null ? !1 : et(e).some(
4029
4101
  (t) => {
4030
4102
  var r;
4031
- return (r = Vr(t)) == null ? void 0 : r.size;
4103
+ return (r = cn(t)) == null ? void 0 : r.size;
4032
4104
  }
4033
4105
  );
4034
4106
  }
4035
- function so(e, t) {
4107
+ function Lo(e, t) {
4036
4108
  return Promise.all(
4037
- t.map((n) => (oo(e, n), n().then((i) => i.default || i)))
4038
- ).then((n) => Wr(e, ...n));
4039
- }
4040
- const be = {};
4041
- function Xr(e) {
4042
- if (!gt(e))
4043
- return e in be ? be[e] : Promise.resolve();
4044
- const t = ao(e);
4045
- return be[e] = Promise.all(
4109
+ t.map((n) => (Mo(e, n), n().then((i) => i.default || i)))
4110
+ ).then((n) => un(e, ...n));
4111
+ }
4112
+ const Me = {};
4113
+ function hn(e) {
4114
+ if (!Mt(e))
4115
+ return e in Me ? Me[e] : Promise.resolve();
4116
+ const t = Ao(e);
4117
+ return Me[e] = Promise.all(
4046
4118
  t.map(
4047
- ([r, n]) => so(r, n)
4119
+ ([r, n]) => Lo(r, n)
4048
4120
  )
4049
4121
  ).then(() => {
4050
- if (gt(e))
4051
- return Xr(e);
4052
- delete be[e];
4053
- }), be[e];
4122
+ if (Mt(e))
4123
+ return hn(e);
4124
+ delete Me[e];
4125
+ }), Me[e];
4054
4126
  }
4055
- const uo = {
4127
+ const Po = {
4056
4128
  number: {
4057
4129
  scientific: { notation: "scientific" },
4058
4130
  engineering: { notation: "engineering" },
@@ -4081,180 +4153,180 @@ const uo = {
4081
4153
  timeZoneName: "short"
4082
4154
  }
4083
4155
  }
4084
- }, lo = {
4156
+ }, Bo = {
4085
4157
  fallbackLocale: null,
4086
4158
  loadingDelay: 200,
4087
- formats: uo,
4159
+ formats: Po,
4088
4160
  warnOnMissingMessages: !0,
4089
4161
  handleMissingMessage: void 0,
4090
4162
  ignoreTag: !0
4091
- }, ho = lo;
4092
- function ce() {
4093
- return ho;
4163
+ }, Io = Bo;
4164
+ function He() {
4165
+ return Io;
4094
4166
  }
4095
- const tt = Fe(!1);
4096
- var co = Object.defineProperty, fo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, go = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
4167
+ const gt = Ye(!1);
4168
+ var Co = Object.defineProperty, No = Object.defineProperties, Ro = Object.getOwnPropertyDescriptors, sr = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, Uo = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fo = (e, t) => {
4097
4169
  for (var r in t || (t = {}))
4098
- mo.call(t, r) && Yt(e, r, t[r]);
4099
- if (Qt)
4100
- for (var r of Qt(t))
4101
- go.call(t, r) && Yt(e, r, t[r]);
4170
+ ko.call(t, r) && lr(e, r, t[r]);
4171
+ if (sr)
4172
+ for (var r of sr(t))
4173
+ Uo.call(t, r) && lr(e, r, t[r]);
4102
4174
  return e;
4103
- }, vo = (e, t) => fo(e, po(t));
4104
- let bt;
4105
- const Re = Fe(null);
4106
- function qt(e) {
4175
+ }, Do = (e, t) => No(e, Ro(t));
4176
+ let At;
4177
+ const Ze = Ye(null);
4178
+ function ur(e) {
4107
4179
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4108
4180
  }
4109
- function $e(e, t = ce().fallbackLocale) {
4110
- const r = qt(e);
4111
- return t ? [.../* @__PURE__ */ new Set([...r, ...qt(t)])] : r;
4181
+ function et(e, t = He().fallbackLocale) {
4182
+ const r = ur(e);
4183
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
4112
4184
  }
4113
- function re() {
4114
- return bt ?? void 0;
4185
+ function he() {
4186
+ return At ?? void 0;
4115
4187
  }
4116
- Re.subscribe((e) => {
4117
- bt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4188
+ Ze.subscribe((e) => {
4189
+ At = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4118
4190
  });
4119
- const yo = (e) => {
4120
- if (e && io(e) && gt(e)) {
4121
- const { loadingDelay: t } = ce();
4191
+ const Go = (e) => {
4192
+ if (e && Oo(e) && Mt(e)) {
4193
+ const { loadingDelay: t } = He();
4122
4194
  let r;
4123
- return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4124
- () => tt.set(!0),
4195
+ return typeof window < "u" && he() != null && t ? r = window.setTimeout(
4196
+ () => gt.set(!0),
4125
4197
  t
4126
- ) : tt.set(!0), Xr(e).then(() => {
4127
- Re.set(e);
4198
+ ) : gt.set(!0), hn(e).then(() => {
4199
+ Ze.set(e);
4128
4200
  }).finally(() => {
4129
- clearTimeout(r), tt.set(!1);
4201
+ clearTimeout(r), gt.set(!1);
4130
4202
  });
4131
4203
  }
4132
- return Re.set(e);
4133
- }, me = vo(bo({}, Re), {
4134
- set: yo
4135
- }), je = (e) => {
4204
+ return Ze.set(e);
4205
+ }, Te = Do(Fo({}, Ze), {
4206
+ set: Go
4207
+ }), tt = (e) => {
4136
4208
  const t = /* @__PURE__ */ Object.create(null);
4137
4209
  return (n) => {
4138
4210
  const i = JSON.stringify(n);
4139
4211
  return i in t ? t[i] : t[i] = e(n);
4140
4212
  };
4141
4213
  };
4142
- var _o = Object.defineProperty, Ue = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
4214
+ var jo = Object.defineProperty, Qe = Object.getOwnPropertySymbols, fn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
4143
4215
  for (var r in t || (t = {}))
4144
- zr.call(t, r) && Jt(e, r, t[r]);
4145
- if (Ue)
4146
- for (var r of Ue(t))
4147
- Zr.call(t, r) && Jt(e, r, t[r]);
4216
+ fn.call(t, r) && cr(e, r, t[r]);
4217
+ if (Qe)
4218
+ for (var r of Qe(t))
4219
+ gn.call(t, r) && cr(e, r, t[r]);
4148
4220
  return e;
4149
- }, ge = (e, t) => {
4221
+ }, Oe = (e, t) => {
4150
4222
  var r = {};
4151
4223
  for (var n in e)
4152
- zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4153
- if (e != null && Ue)
4154
- for (var n of Ue(e))
4155
- t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
4224
+ fn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4225
+ if (e != null && Qe)
4226
+ for (var n of Qe(e))
4227
+ t.indexOf(n) < 0 && gn.call(e, n) && (r[n] = e[n]);
4156
4228
  return r;
4157
4229
  };
4158
- const xe = (e, t) => {
4159
- const { formats: r } = ce();
4230
+ const Ie = (e, t) => {
4231
+ const { formats: r } = He();
4160
4232
  if (e in r && t in r[e])
4161
4233
  return r[e][t];
4162
4234
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4163
- }, xo = je(
4235
+ }, $o = tt(
4164
4236
  (e) => {
4165
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4237
+ var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
4166
4238
  if (r == null)
4167
4239
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4168
- return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
4240
+ return n && (i = Ie("number", n)), new Intl.NumberFormat(r, i);
4169
4241
  }
4170
- ), Eo = je(
4242
+ ), Wo = tt(
4171
4243
  (e) => {
4172
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4244
+ var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
4173
4245
  if (r == null)
4174
4246
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4175
- return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
4247
+ return n ? i = Ie("date", n) : Object.keys(i).length === 0 && (i = Ie("date", "short")), new Intl.DateTimeFormat(r, i);
4176
4248
  }
4177
- ), wo = je(
4249
+ ), Vo = tt(
4178
4250
  (e) => {
4179
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4251
+ var t = e, { locale: r, format: n } = t, i = Oe(t, ["locale", "format"]);
4180
4252
  if (r == null)
4181
4253
  throw new Error(
4182
4254
  '[svelte-i18n] A "locale" must be set to format time values'
4183
4255
  );
4184
- return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
4256
+ return n ? i = Ie("time", n) : Object.keys(i).length === 0 && (i = Ie("time", "short")), new Intl.DateTimeFormat(r, i);
4185
4257
  }
4186
- ), So = (e = {}) => {
4258
+ ), Xo = (e = {}) => {
4187
4259
  var t = e, {
4188
- locale: r = re()
4189
- } = t, n = ge(t, [
4260
+ locale: r = he()
4261
+ } = t, n = Oe(t, [
4190
4262
  "locale"
4191
4263
  ]);
4192
- return xo(_t({ locale: r }, n));
4193
- }, Ho = (e = {}) => {
4264
+ return $o(Bt({ locale: r }, n));
4265
+ }, zo = (e = {}) => {
4194
4266
  var t = e, {
4195
- locale: r = re()
4196
- } = t, n = ge(t, [
4267
+ locale: r = he()
4268
+ } = t, n = Oe(t, [
4197
4269
  "locale"
4198
4270
  ]);
4199
- return Eo(_t({ locale: r }, n));
4200
- }, To = (e = {}) => {
4271
+ return Wo(Bt({ locale: r }, n));
4272
+ }, Zo = (e = {}) => {
4201
4273
  var t = e, {
4202
- locale: r = re()
4203
- } = t, n = ge(t, [
4274
+ locale: r = he()
4275
+ } = t, n = Oe(t, [
4204
4276
  "locale"
4205
4277
  ]);
4206
- return wo(_t({ locale: r }, n));
4207
- }, Oo = je(
4278
+ return Vo(Bt({ locale: r }, n));
4279
+ }, Qo = tt(
4208
4280
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4209
- (e, t = re()) => new Ki(e, t, ce().formats, {
4210
- ignoreTag: ce().ignoreTag
4281
+ (e, t = he()) => new Eo(e, t, He().formats, {
4282
+ ignoreTag: He().ignoreTag
4211
4283
  })
4212
- ), Ao = (e, t = {}) => {
4284
+ ), qo = (e, t = {}) => {
4213
4285
  var r, n, i, o;
4214
4286
  let a = t;
4215
4287
  typeof e == "object" && (a = e, e = a.id);
4216
4288
  const {
4217
4289
  values: s,
4218
- locale: u = re(),
4290
+ locale: u = he(),
4219
4291
  default: l
4220
4292
  } = a;
4221
4293
  if (u == null)
4222
4294
  throw new Error(
4223
4295
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4224
4296
  );
4225
- let h = $r(e, u);
4226
- if (!h)
4227
- h = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4228
- else if (typeof h != "string")
4297
+ let c = sn(e, u);
4298
+ if (!c)
4299
+ 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;
4300
+ else if (typeof c != "string")
4229
4301
  return console.warn(
4230
- `[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.`
4231
- ), h;
4302
+ `[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.`
4303
+ ), c;
4232
4304
  if (!s)
4233
- return h;
4234
- let c = h;
4305
+ return c;
4306
+ let h = c;
4235
4307
  try {
4236
- c = Oo(h, u).format(s);
4237
- } catch (f) {
4238
- f instanceof Error && console.warn(
4308
+ h = Qo(c, u).format(s);
4309
+ } catch (g) {
4310
+ g instanceof Error && console.warn(
4239
4311
  `[svelte-i18n] Message "${e}" has syntax error:`,
4240
- f.message
4312
+ g.message
4241
4313
  );
4242
4314
  }
4243
- return c;
4244
- }, Mo = (e, t) => To(t).format(e), Po = (e, t) => Ho(t).format(e), Lo = (e, t) => So(t).format(e), Bo = (e, t = re()) => $r(e, t), Io = de([me, Se], () => Ao);
4245
- de([me], () => Mo);
4246
- de([me], () => Po);
4247
- de([me], () => Lo);
4248
- de([me, Se], () => Bo);
4249
- window.emWidgets = { topic: Wn };
4250
- const Co = (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)), No = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4251
- function Ro(e, t) {
4315
+ return h;
4316
+ }, Yo = (e, t) => Zo(t).format(e), Jo = (e, t) => zo(t).format(e), Ko = (e, t) => Xo(t).format(e), ea = (e, t = he()) => sn(e, t), ta = Se([Te, Re], () => qo);
4317
+ Se([Te], () => Yo);
4318
+ Se([Te], () => Jo);
4319
+ Se([Te], () => Ko);
4320
+ Se([Te, Re], () => ea);
4321
+ window.emWidgets = { topic: fi };
4322
+ const hr = (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)), ra = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4323
+ function na(e, t) {
4252
4324
  if (e) {
4253
4325
  const r = document.createElement("style");
4254
4326
  r.innerHTML = t, e.appendChild(r);
4255
4327
  }
4256
4328
  }
4257
- function Uo(e, t) {
4329
+ function ia(e, t) {
4258
4330
  const r = new URL(t);
4259
4331
  fetch(r.href).then((n) => n.text()).then((n) => {
4260
4332
  const i = document.createElement("style");
@@ -4263,7 +4335,7 @@ function Uo(e, t) {
4263
4335
  console.error("There was an error while trying to load client styling from URL", n);
4264
4336
  });
4265
4337
  }
4266
- function ko(e, t, r) {
4338
+ function oa(e, t, r) {
4267
4339
  if (window.emMessageBus) {
4268
4340
  const n = document.createElement("style");
4269
4341
  window.emMessageBus.subscribe(t, (i) => {
@@ -4271,13 +4343,13 @@ function ko(e, t, r) {
4271
4343
  });
4272
4344
  }
4273
4345
  }
4274
- function Kt(e, t) {
4275
- Wr(e, t);
4346
+ function fr(e, t) {
4347
+ un(e, t);
4276
4348
  }
4277
- function Fo(e) {
4278
- me.set(e);
4349
+ function aa(e) {
4350
+ Te.set(e);
4279
4351
  }
4280
- const er = {
4352
+ const gr = {
4281
4353
  en: {
4282
4354
  language: "Select Language"
4283
4355
  },
@@ -4312,156 +4384,295 @@ const er = {
4312
4384
  language: "Select Language"
4313
4385
  }
4314
4386
  };
4315
- function Do(e) {
4316
- hn(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4387
+ function sa(e) {
4388
+ Cn(e, "svelte-oktqut", "*,*::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 .HamburgerModalContainer .HamburgerHeader{display:none}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader .Logo{max-width:90%}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader .UserProfileWrapper{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:flex;align-items:center;gap:0.5rem;cursor:pointer;text-decoration:none;width:100%}.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 .ItemButton{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:block;width:100%;cursor:pointer}.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 .HamburgerPrimaryMenu .HamburgerItemContainer .HamburgerItemTag{display:none;font-size:10px;padding:2px 4px}.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}");
4317
4389
  }
4318
- function tr(e, t, r) {
4390
+ function dr(e, t, r) {
4319
4391
  const n = e.slice();
4320
- return n[58] = t[r], n;
4392
+ return n[68] = t[r], n;
4321
4393
  }
4322
- function rr(e, t, r) {
4394
+ function pr(e, t, r) {
4323
4395
  const n = e.slice();
4324
- return n[1] = t[r], n;
4396
+ return n[3] = t[r], n;
4325
4397
  }
4326
- function nr(e, t, r) {
4398
+ function mr(e, t, r) {
4327
4399
  const n = e.slice();
4328
- return n[61] = t[r], n;
4400
+ return n[71] = t[r], n;
4329
4401
  }
4330
- function Go(e, t, r) {
4402
+ function la(e, t, r) {
4331
4403
  const n = e.slice();
4332
- return n[67] = t[r], n;
4404
+ return n[77] = t[r], n;
4333
4405
  }
4334
- function ir(e, t, r) {
4406
+ function br(e, t, r) {
4335
4407
  const n = e.slice();
4336
- return n[64] = t[r], n;
4408
+ return n[74] = t[r], n;
4337
4409
  }
4338
- function or(e) {
4339
- let t, r, n, i, o, a, s, u, l, h, c, f, d, g, v, w, H, B, P, G, C, V, z;
4340
- function ne(x, R) {
4410
+ const ua = (e) => ({}), _r = (e) => ({});
4411
+ function vr(e) {
4412
+ let t, r, n, i, o, a, s, u, l, c, h, g, p, m, _, x, E, L, I, V, j, X, z, q, se, D, fe, ge;
4413
+ const de = [ha, ca], W = [];
4414
+ function re(v, S) {
4415
+ return (
4416
+ /*isLoggedIn*/
4417
+ v[16] ? 0 : 1
4418
+ );
4419
+ }
4420
+ i = re(e), o = W[i] = de[i](e);
4421
+ function ne(v, S) {
4341
4422
  return (
4342
4423
  /*HamburgerMenuItems*/
4343
- x[4].length > 0 ? jo : $o
4424
+ v[6].length > 0 ? da : ga
4344
4425
  );
4345
4426
  }
4346
- let q = ne(e), N = q(e), j = Y(
4427
+ let Z = ne(e), U = Z(e), Y = te(
4347
4428
  /*activeMenuItemChildren*/
4348
- e[6]
4349
- ), O = [];
4350
- for (let x = 0; x < j.length; x += 1)
4351
- O[x] = lr(nr(e, j, x));
4352
- let L = (
4429
+ e[8]
4430
+ ), C = [];
4431
+ for (let v = 0; v < Y.length; v += 1)
4432
+ C[v] = Hr(mr(e, Y, v));
4433
+ let T = (
4353
4434
  /*languagesArray*/
4354
- e[9].length > 1 && hr(e)
4435
+ e[11].length > 1 && Sr(e)
4355
4436
  );
4356
4437
  return {
4357
4438
  c() {
4358
- t = y("div"), r = y("div"), n = y("ul"), N.c(), i = U(), o = y("div"), a = U(), s = y("ul");
4359
- for (let x = 0; x < O.length; x += 1)
4360
- O[x].c();
4361
- l = U(), L && L.c(), c = U(), f = y("span"), d = y("div"), g = y("span"), v = U(), w = y("span"), H = U(), B = y("span"), m(n, "class", "HamburgerPrimaryMenu"), m(o, "class", "Separator"), m(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4362
- (e[10] ? "Overlay" : "")), m(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
4363
- (e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4364
- (e[12] ? "Closing" : "")), m(d, "class", P = "NavIcon " + (/*navIconClosing*/
4365
- e[13] ? "" : "Open")), m(f, "class", G = /*modalIsOpen*/
4366
- e[7] ? "ModalCloseBtn" : ""), m(f, "role", "button"), m(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4367
- (e[12] ? " Closing" : ""));
4439
+ t = y("div"), r = y("div"), n = y("div"), o.c(), a = N(), s = y("ul"), U.c(), u = N(), l = y("div"), c = N(), h = y("ul");
4440
+ for (let v = 0; v < C.length; v += 1)
4441
+ C[v].c();
4442
+ p = N(), T && T.c(), _ = N(), x = y("span"), E = y("div"), L = y("span"), I = N(), V = y("span"), j = N(), X = y("span"), d(n, "class", "HamburgerHeader"), $t(
4443
+ n,
4444
+ "LoggedIn",
4445
+ /*isLoggedIn*/
4446
+ e[16]
4447
+ ), d(s, "class", "HamburgerPrimaryMenu"), d(l, "class", "Separator"), d(h, "class", g = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4448
+ (e[12] ? "Overlay" : "")), d(r, "class", m = "HamburgerModalContainer " + /*modalIsOpen*/
4449
+ (e[9] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4450
+ (e[14] ? "Closing" : "")), d(E, "class", z = "NavIcon " + (/*navIconClosing*/
4451
+ e[15] ? "" : "Open")), d(x, "class", q = /*modalIsOpen*/
4452
+ e[9] ? "ModalCloseBtn" : ""), d(x, "role", "button"), d(t, "class", se = "HamburgerModalWindow " + /*isClosing*/
4453
+ (e[14] ? " Closing" : ""));
4368
4454
  },
4369
- m(x, R) {
4370
- k(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);
4371
- for (let S = 0; S < O.length; S += 1)
4372
- O[S] && O[S].m(s, null);
4373
- b(r, l), L && L.m(r, null), b(t, c), b(t, f), b(f, d), b(d, g), b(d, v), b(d, w), b(d, H), b(d, B), e[40](t), V || (z = te(
4374
- f,
4455
+ m(v, S) {
4456
+ B(v, t, S), b(t, r), b(r, n), W[i].m(n, null), b(r, a), b(r, s), U.m(s, null), b(r, u), b(r, l), b(r, c), b(r, h);
4457
+ for (let R = 0; R < C.length; R += 1)
4458
+ C[R] && C[R].m(h, null);
4459
+ b(r, p), T && T.m(r, null), b(t, _), b(t, x), b(x, E), b(E, L), b(E, I), b(E, V), b(E, j), b(E, X), e[47](t), D = !0, fe || (ge = oe(
4460
+ x,
4375
4461
  "click",
4376
4462
  /*close*/
4377
- e[16]
4378
- ), V = !0);
4463
+ e[19]
4464
+ ), fe = !0);
4379
4465
  },
4380
- p(x, R) {
4381
- if (q === (q = ne(x)) && N ? N.p(x, R) : (N.d(1), N = q(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
4382
- 262208) {
4383
- j = Y(
4466
+ p(v, S) {
4467
+ let R = i;
4468
+ if (i = re(v), i === R ? W[i].p(v, S) : (Cr(), Pe(W[R], 1, 1, () => {
4469
+ W[R] = null;
4470
+ }), Nr(), o = W[i], o ? o.p(v, S) : (o = W[i] = de[i](v), o.c()), ue(o, 1), o.m(n, null)), (!D || S[0] & /*isLoggedIn*/
4471
+ 65536) && $t(
4472
+ n,
4473
+ "LoggedIn",
4474
+ /*isLoggedIn*/
4475
+ v[16]
4476
+ ), Z === (Z = ne(v)) && U ? U.p(v, S) : (U.d(1), U = Z(v), U && (U.c(), U.m(s, null))), S[0] & /*handleClick, activeMenuItemChildren*/
4477
+ 2097408) {
4478
+ Y = te(
4384
4479
  /*activeMenuItemChildren*/
4385
- x[6]
4480
+ v[8]
4386
4481
  );
4387
- let S;
4388
- for (S = 0; S < j.length; S += 1) {
4389
- const W = nr(x, j, S);
4390
- O[S] ? O[S].p(W, R) : (O[S] = lr(W), O[S].c(), O[S].m(s, null));
4482
+ let G;
4483
+ for (G = 0; G < Y.length; G += 1) {
4484
+ const pe = mr(v, Y, G);
4485
+ C[G] ? C[G].p(pe, S) : (C[G] = Hr(pe), C[G].c(), C[G].m(h, null));
4391
4486
  }
4392
- for (; S < O.length; S += 1)
4393
- O[S].d(1);
4394
- O.length = j.length;
4487
+ for (; G < C.length; G += 1)
4488
+ C[G].d(1);
4489
+ C.length = Y.length;
4395
4490
  }
4396
- R[0] & /*isOptionsListVisible*/
4397
- 1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4398
- (x[10] ? "Overlay" : "")) && m(s, "class", u), /*languagesArray*/
4399
- x[9].length > 1 ? L ? L.p(x, R) : (L = hr(x), L.c(), L.m(r, null)) : L && (L.d(1), L = null), R[0] & /*modalIsOpen, isClosing*/
4400
- 4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
4401
- (x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4402
- (x[12] ? "Closing" : "")) && m(r, "class", h), R[0] & /*navIconClosing*/
4403
- 8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
4404
- x[13] ? "" : "Open")) && m(d, "class", P), R[0] & /*modalIsOpen*/
4405
- 128 && G !== (G = /*modalIsOpen*/
4406
- x[7] ? "ModalCloseBtn" : "") && m(f, "class", G), R[0] & /*isClosing*/
4407
- 4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
4408
- (x[12] ? " Closing" : "")) && m(t, "class", C);
4491
+ (!D || S[0] & /*isOptionsListVisible*/
4492
+ 4096 && g !== (g = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4493
+ (v[12] ? "Overlay" : ""))) && d(h, "class", g), /*languagesArray*/
4494
+ v[11].length > 1 ? T ? T.p(v, S) : (T = Sr(v), T.c(), T.m(r, null)) : T && (T.d(1), T = null), (!D || S[0] & /*modalIsOpen, isClosing*/
4495
+ 16896 && m !== (m = "HamburgerModalContainer " + /*modalIsOpen*/
4496
+ (v[9] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4497
+ (v[14] ? "Closing" : ""))) && d(r, "class", m), (!D || S[0] & /*navIconClosing*/
4498
+ 32768 && z !== (z = "NavIcon " + (/*navIconClosing*/
4499
+ v[15] ? "" : "Open"))) && d(E, "class", z), (!D || S[0] & /*modalIsOpen*/
4500
+ 512 && q !== (q = /*modalIsOpen*/
4501
+ v[9] ? "ModalCloseBtn" : "")) && d(x, "class", q), (!D || S[0] & /*isClosing*/
4502
+ 16384 && se !== (se = "HamburgerModalWindow " + /*isClosing*/
4503
+ (v[14] ? " Closing" : ""))) && d(t, "class", se);
4409
4504
  },
4410
- d(x) {
4411
- x && I(t), N.d(), Ee(O, x), L && L.d(), e[40](null), V = !1, z();
4505
+ i(v) {
4506
+ D || (ue(o), D = !0);
4507
+ },
4508
+ o(v) {
4509
+ Pe(o), D = !1;
4510
+ },
4511
+ d(v) {
4512
+ v && P(t), W[i].d(), U.d(), Ce(C, v), T && T.d(), e[47](null), fe = !1, ge();
4513
+ }
4514
+ };
4515
+ }
4516
+ function ca(e) {
4517
+ let t, r;
4518
+ const n = (
4519
+ /*#slots*/
4520
+ e[41].logo
4521
+ ), i = Ln(
4522
+ n,
4523
+ e,
4524
+ /*$$scope*/
4525
+ e[40],
4526
+ _r
4527
+ ), o = i || fa(e);
4528
+ return {
4529
+ c() {
4530
+ t = y("div"), o && o.c(), d(t, "class", "Logo");
4531
+ },
4532
+ m(a, s) {
4533
+ B(a, t, s), o && o.m(t, null), r = !0;
4534
+ },
4535
+ p(a, s) {
4536
+ i ? i.p && (!r || s[1] & /*$$scope*/
4537
+ 512) && Bn(
4538
+ i,
4539
+ n,
4540
+ a,
4541
+ /*$$scope*/
4542
+ a[40],
4543
+ r ? Pn(
4544
+ n,
4545
+ /*$$scope*/
4546
+ a[40],
4547
+ s,
4548
+ ua
4549
+ ) : In(
4550
+ /*$$scope*/
4551
+ a[40]
4552
+ ),
4553
+ _r
4554
+ ) : o && o.p && (!r || s[0] & /*customlogourl*/
4555
+ 4) && o.p(a, r ? s : [-1, -1, -1]);
4556
+ },
4557
+ i(a) {
4558
+ r || (ue(o, a), r = !0);
4559
+ },
4560
+ o(a) {
4561
+ Pe(o, a), r = !1;
4562
+ },
4563
+ d(a) {
4564
+ a && P(t), o && o.d(a);
4565
+ }
4566
+ };
4567
+ }
4568
+ function ha(e) {
4569
+ let t, r, n, i, o, a, s, u, l;
4570
+ return {
4571
+ c() {
4572
+ t = y("button"), r = y("span"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 16.429"><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>', n = N(), i = y("span"), o = Q("Hello, player "), a = Q(
4573
+ /*userid*/
4574
+ e[0]
4575
+ ), d(r, "class", "UserIcon"), d(r, "aria-hidden", "true"), d(i, "class", "UserFullName"), d(i, "title", s = `Hello, player ${/*userid*/
4576
+ e[0]}`), d(t, "type", "button"), d(t, "class", "UserProfileWrapper");
4577
+ },
4578
+ m(c, h) {
4579
+ B(c, t, h), b(t, r), b(t, n), b(t, i), b(i, o), b(i, a), u || (l = oe(
4580
+ t,
4581
+ "click",
4582
+ /*goToMyAccount*/
4583
+ e[26]
4584
+ ), u = !0);
4585
+ },
4586
+ p(c, h) {
4587
+ h[0] & /*userid*/
4588
+ 1 && ae(
4589
+ a,
4590
+ /*userid*/
4591
+ c[0]
4592
+ ), h[0] & /*userid*/
4593
+ 1 && s !== (s = `Hello, player ${/*userid*/
4594
+ c[0]}`) && d(i, "title", s);
4595
+ },
4596
+ i: $,
4597
+ o: $,
4598
+ d(c) {
4599
+ c && P(t), u = !1, l();
4412
4600
  }
4413
4601
  };
4414
4602
  }
4415
- function $o(e) {
4416
- let t, r = Y(new Array(5)), n = [];
4603
+ function fa(e) {
4604
+ let t, r, n;
4605
+ return {
4606
+ c() {
4607
+ t = y("img"), K(t.src, r = /*customlogourl*/
4608
+ e[2]) || d(t, "src", r), d(t, "alt", n = `Logo ${/*customlogourl*/
4609
+ e[2]}`);
4610
+ },
4611
+ m(i, o) {
4612
+ B(i, t, o);
4613
+ },
4614
+ p(i, o) {
4615
+ o[0] & /*customlogourl*/
4616
+ 4 && !K(t.src, r = /*customlogourl*/
4617
+ i[2]) && d(t, "src", r), o[0] & /*customlogourl*/
4618
+ 4 && n !== (n = `Logo ${/*customlogourl*/
4619
+ i[2]}`) && d(t, "alt", n);
4620
+ },
4621
+ d(i) {
4622
+ i && P(t);
4623
+ }
4624
+ };
4625
+ }
4626
+ function ga(e) {
4627
+ let t, r = te(new Array(5)), n = [];
4417
4628
  for (let i = 0; i < r.length; i += 1)
4418
- n[i] = Wo(Go(e, r, i));
4629
+ n[i] = pa(la(e, r, i));
4419
4630
  return {
4420
4631
  c() {
4421
4632
  for (let i = 0; i < n.length; i += 1)
4422
4633
  n[i].c();
4423
- t = br();
4634
+ t = Ir();
4424
4635
  },
4425
4636
  m(i, o) {
4426
4637
  for (let a = 0; a < n.length; a += 1)
4427
4638
  n[a] && n[a].m(i, o);
4428
- k(i, t, o);
4639
+ B(i, t, o);
4429
4640
  },
4430
4641
  p: $,
4431
4642
  d(i) {
4432
- i && I(t), Ee(n, i);
4643
+ i && P(t), Ce(n, i);
4433
4644
  }
4434
4645
  };
4435
4646
  }
4436
- function jo(e) {
4437
- let t, r = Y(
4647
+ function da(e) {
4648
+ let t, r = te(
4438
4649
  /*HamburgerMenuItems*/
4439
- e[4]
4650
+ e[6]
4440
4651
  ), n = [];
4441
4652
  for (let i = 0; i < r.length; i += 1)
4442
- n[i] = sr(ir(e, r, i));
4653
+ n[i] = Er(br(e, r, i));
4443
4654
  return {
4444
4655
  c() {
4445
4656
  for (let i = 0; i < n.length; i += 1)
4446
4657
  n[i].c();
4447
- t = br();
4658
+ t = Ir();
4448
4659
  },
4449
4660
  m(i, o) {
4450
4661
  for (let a = 0; a < n.length; a += 1)
4451
4662
  n[a] && n[a].m(i, o);
4452
- k(i, t, o);
4663
+ B(i, t, o);
4453
4664
  },
4454
4665
  p(i, o) {
4455
4666
  if (o[0] & /*activeMenuItemId, HamburgerMenuItems, handlePrimaryMenuClick*/
4456
- 131120) {
4457
- r = Y(
4667
+ 1048768) {
4668
+ r = te(
4458
4669
  /*HamburgerMenuItems*/
4459
- i[4]
4670
+ i[6]
4460
4671
  );
4461
4672
  let a;
4462
4673
  for (a = 0; a < r.length; a += 1) {
4463
- const s = ir(i, r, a);
4464
- n[a] ? n[a].p(s, o) : (n[a] = sr(s), n[a].c(), n[a].m(t.parentNode, t));
4674
+ const s = br(i, r, a);
4675
+ n[a] ? n[a].p(s, o) : (n[a] = Er(s), n[a].c(), n[a].m(t.parentNode, t));
4465
4676
  }
4466
4677
  for (; a < n.length; a += 1)
4467
4678
  n[a].d(1);
@@ -4469,446 +4680,482 @@ function jo(e) {
4469
4680
  }
4470
4681
  },
4471
4682
  d(i) {
4472
- i && I(t), Ee(n, i);
4683
+ i && P(t), Ce(n, i);
4473
4684
  }
4474
4685
  };
4475
4686
  }
4476
- function Wo(e) {
4687
+ function pa(e) {
4477
4688
  let t;
4478
4689
  return {
4479
4690
  c() {
4480
- t = y("div"), t.innerHTML = "", m(t, "class", "Loading Skeleton");
4691
+ t = y("div"), t.innerHTML = "", d(t, "class", "Loading Skeleton");
4481
4692
  },
4482
4693
  m(r, n) {
4483
- k(r, t, n);
4694
+ B(r, t, n);
4484
4695
  },
4485
4696
  p: $,
4486
4697
  d(r) {
4487
- r && I(t);
4698
+ r && P(t);
4488
4699
  }
4489
4700
  };
4490
4701
  }
4491
- function ar(e) {
4702
+ function yr(e) {
4492
4703
  let t, r;
4493
4704
  return {
4494
4705
  c() {
4495
4706
  t = y("img"), K(t.src, r = /*mainItem*/
4496
- e[64].img) || m(t, "src", r), m(t, "alt", "menu icon");
4707
+ e[74].img) || d(t, "src", r), d(t, "alt", "menu icon");
4497
4708
  },
4498
4709
  m(n, i) {
4499
- k(n, t, i);
4710
+ B(n, t, i);
4500
4711
  },
4501
4712
  p(n, i) {
4502
4713
  i[0] & /*HamburgerMenuItems*/
4503
- 16 && !K(t.src, r = /*mainItem*/
4504
- n[64].img) && m(t, "src", r);
4714
+ 64 && !K(t.src, r = /*mainItem*/
4715
+ n[74].img) && d(t, "src", r);
4505
4716
  },
4506
4717
  d(n) {
4507
- n && I(t);
4718
+ n && P(t);
4719
+ }
4720
+ };
4721
+ }
4722
+ function xr(e) {
4723
+ let t, r = (
4724
+ /*mainItem*/
4725
+ e[74].tag + ""
4726
+ ), n, i;
4727
+ return {
4728
+ c() {
4729
+ t = y("span"), n = Q(r), d(t, "title", i = /*mainItem*/
4730
+ e[74].tag), d(t, "class", "HamburgerItemTag");
4731
+ },
4732
+ m(o, a) {
4733
+ B(o, t, a), b(t, n);
4734
+ },
4735
+ p(o, a) {
4736
+ a[0] & /*HamburgerMenuItems*/
4737
+ 64 && r !== (r = /*mainItem*/
4738
+ o[74].tag + "") && ae(n, r), a[0] & /*HamburgerMenuItems*/
4739
+ 64 && i !== (i = /*mainItem*/
4740
+ o[74].tag) && d(t, "title", i);
4741
+ },
4742
+ d(o) {
4743
+ o && P(t);
4508
4744
  }
4509
4745
  };
4510
4746
  }
4511
- function sr(e) {
4512
- let t, r, n, i, o = (
4747
+ function Er(e) {
4748
+ let t, r, n, i, o, a = (
4749
+ /*mainItem*/
4750
+ e[74].label + ""
4751
+ ), s, u, l, c, h, g, p = (
4513
4752
  /*mainItem*/
4514
- e[64].label + ""
4515
- ), a, s, u, l, h, c = (
4753
+ e[74]?.img && yr(e)
4754
+ ), m = (
4516
4755
  /*mainItem*/
4517
- e[64]?.img && ar(e)
4756
+ e[74]?.tag && xr(e)
4518
4757
  );
4519
- function f() {
4758
+ function _() {
4520
4759
  return (
4521
4760
  /*click_handler*/
4522
- e[35](
4761
+ e[42](
4523
4762
  /*mainItem*/
4524
- e[64]
4763
+ e[74]
4525
4764
  )
4526
4765
  );
4527
4766
  }
4528
4767
  return {
4529
4768
  c() {
4530
- t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = ee(o), s = U(), m(r, "class", "HamburgerItemContainer"), m(t, "class", u = /*activeMenuItemId*/
4531
- e[5] === /*mainItem*/
4532
- e[64].id ? "ActiveItem" : "");
4769
+ t = y("li"), r = y("button"), n = y("div"), p && p.c(), i = N(), o = y("p"), s = Q(a), u = N(), m && m.c(), l = N(), d(n, "class", "HamburgerItemContainer"), d(r, "type", "button"), d(r, "class", "ItemButton"), d(t, "class", c = /*activeMenuItemId*/
4770
+ e[7] === /*mainItem*/
4771
+ e[74].id ? "ActiveItem" : "");
4533
4772
  },
4534
- m(d, g) {
4535
- k(d, t, g), b(t, r), c && c.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), l || (h = te(t, "click", f), l = !0);
4773
+ m(x, E) {
4774
+ B(x, t, E), b(t, r), b(r, n), p && p.m(n, null), b(n, i), b(n, o), b(o, s), b(n, u), m && m.m(n, null), b(t, l), h || (g = oe(r, "click", _), h = !0);
4536
4775
  },
4537
- p(d, g) {
4538
- e = d, /*mainItem*/
4539
- e[64]?.img ? c ? c.p(e, g) : (c = ar(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), g[0] & /*HamburgerMenuItems*/
4540
- 16 && o !== (o = /*mainItem*/
4541
- e[64].label + "") && pe(a, o), g[0] & /*activeMenuItemId, HamburgerMenuItems*/
4542
- 48 && u !== (u = /*activeMenuItemId*/
4543
- e[5] === /*mainItem*/
4544
- e[64].id ? "ActiveItem" : "") && m(t, "class", u);
4776
+ p(x, E) {
4777
+ e = x, /*mainItem*/
4778
+ e[74]?.img ? p ? p.p(e, E) : (p = yr(e), p.c(), p.m(n, i)) : p && (p.d(1), p = null), E[0] & /*HamburgerMenuItems*/
4779
+ 64 && a !== (a = /*mainItem*/
4780
+ e[74].label + "") && ae(s, a), /*mainItem*/
4781
+ e[74]?.tag ? m ? m.p(e, E) : (m = xr(e), m.c(), m.m(n, null)) : m && (m.d(1), m = null), E[0] & /*activeMenuItemId, HamburgerMenuItems*/
4782
+ 192 && c !== (c = /*activeMenuItemId*/
4783
+ e[7] === /*mainItem*/
4784
+ e[74].id ? "ActiveItem" : "") && d(t, "class", c);
4545
4785
  },
4546
- d(d) {
4547
- d && I(t), c && c.d(), l = !1, h();
4786
+ d(x) {
4787
+ x && P(t), p && p.d(), m && m.d(), h = !1, g();
4548
4788
  }
4549
4789
  };
4550
4790
  }
4551
- function ur(e) {
4791
+ function wr(e) {
4552
4792
  let t, r;
4553
4793
  return {
4554
4794
  c() {
4555
4795
  t = y("img"), K(t.src, r = /*secondaryItem*/
4556
- e[61].img) || m(t, "src", r), m(t, "alt", "menu icon");
4796
+ e[71].img) || d(t, "src", r), d(t, "alt", "menu icon");
4557
4797
  },
4558
4798
  m(n, i) {
4559
- k(n, t, i);
4799
+ B(n, t, i);
4560
4800
  },
4561
4801
  p(n, i) {
4562
4802
  i[0] & /*activeMenuItemChildren*/
4563
- 64 && !K(t.src, r = /*secondaryItem*/
4564
- n[61].img) && m(t, "src", r);
4803
+ 256 && !K(t.src, r = /*secondaryItem*/
4804
+ n[71].img) && d(t, "src", r);
4565
4805
  },
4566
4806
  d(n) {
4567
- n && I(t);
4807
+ n && P(t);
4568
4808
  }
4569
4809
  };
4570
4810
  }
4571
- function lr(e) {
4811
+ function Hr(e) {
4572
4812
  let t, r, n, i = (
4573
4813
  /*secondaryItem*/
4574
- e[61].label + ""
4814
+ e[71].label + ""
4575
4815
  ), o, a, s, u, l = (
4576
4816
  /*secondaryItem*/
4577
- e[61]?.img && ur(e)
4817
+ e[71]?.img && wr(e)
4578
4818
  );
4579
- function h(...c) {
4819
+ function c(...h) {
4580
4820
  return (
4581
4821
  /*click_handler_1*/
4582
- e[36](
4822
+ e[43](
4583
4823
  /*secondaryItem*/
4584
- e[61],
4585
- ...c
4824
+ e[71],
4825
+ ...h
4586
4826
  )
4587
4827
  );
4588
4828
  }
4589
4829
  return {
4590
4830
  c() {
4591
- t = y("li"), l && l.c(), r = U(), n = y("p"), o = ee(i), a = U();
4831
+ t = y("li"), l && l.c(), r = N(), n = y("p"), o = Q(i), a = N();
4592
4832
  },
4593
- m(c, f) {
4594
- k(c, t, f), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = te(t, "click", h), s = !0);
4833
+ m(h, g) {
4834
+ B(h, t, g), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = oe(t, "click", c), s = !0);
4595
4835
  },
4596
- p(c, f) {
4597
- e = c, /*secondaryItem*/
4598
- e[61]?.img ? l ? l.p(e, f) : (l = ur(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), f[0] & /*activeMenuItemChildren*/
4599
- 64 && i !== (i = /*secondaryItem*/
4600
- e[61].label + "") && pe(o, i);
4836
+ p(h, g) {
4837
+ e = h, /*secondaryItem*/
4838
+ e[71]?.img ? l ? l.p(e, g) : (l = wr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), g[0] & /*activeMenuItemChildren*/
4839
+ 256 && i !== (i = /*secondaryItem*/
4840
+ e[71].label + "") && ae(o, i);
4601
4841
  },
4602
- d(c) {
4603
- c && I(t), l && l.d(), s = !1, u();
4842
+ d(h) {
4843
+ h && P(t), l && l.d(), s = !1, u();
4604
4844
  }
4605
4845
  };
4606
4846
  }
4607
- function hr(e) {
4847
+ function Sr(e) {
4608
4848
  let t, r, n = (
4609
4849
  /*$_*/
4610
- e[15]("language") + ""
4850
+ e[18]("language") + ""
4611
4851
  ), i, o, a, s, u;
4612
- function l(f, d) {
4852
+ function l(g, p) {
4613
4853
  return (
4614
4854
  /*countryflaghamburger*/
4615
- f[0] !== "true" ? Xo : Vo
4855
+ g[1] !== "true" ? ba : ma
4616
4856
  );
4617
4857
  }
4618
- let h = l(e), c = h(e);
4858
+ let c = l(e), h = c(e);
4619
4859
  return {
4620
4860
  c() {
4621
- t = y("div"), r = y("span"), i = ee(n), o = U(), c.c(), m(r, "class", "LanguageSelectorTitle"), m(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4622
- (e[10] ? "Open" : ""));
4861
+ t = y("div"), r = y("span"), i = Q(n), o = N(), h.c(), d(r, "class", "LanguageSelectorTitle"), d(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4862
+ (e[12] ? "Open" : ""));
4623
4863
  },
4624
- m(f, d) {
4625
- k(f, t, d), b(t, r), b(r, i), b(t, o), c.m(t, null), s || (u = te(
4864
+ m(g, p) {
4865
+ B(g, t, p), b(t, r), b(r, i), b(t, o), h.m(t, null), s || (u = oe(
4626
4866
  t,
4627
4867
  "click",
4628
4868
  /*toggleLanguageDropdown*/
4629
- e[21]
4869
+ e[24]
4630
4870
  ), s = !0);
4631
4871
  },
4632
- p(f, d) {
4633
- d[0] & /*$_*/
4634
- 32768 && n !== (n = /*$_*/
4635
- f[15]("language") + "") && pe(i, n), h === (h = l(f)) && c ? c.p(f, d) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), d[0] & /*isOptionsListVisible*/
4636
- 1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4637
- (f[10] ? "Open" : "")) && m(t, "class", a);
4872
+ p(g, p) {
4873
+ p[0] & /*$_*/
4874
+ 262144 && n !== (n = /*$_*/
4875
+ g[18]("language") + "") && ae(i, n), c === (c = l(g)) && h ? h.p(g, p) : (h.d(1), h = c(g), h && (h.c(), h.m(t, null))), p[0] & /*isOptionsListVisible*/
4876
+ 4096 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4877
+ (g[12] ? "Open" : "")) && d(t, "class", a);
4638
4878
  },
4639
- d(f) {
4640
- f && I(t), c.d(), s = !1, u();
4879
+ d(g) {
4880
+ g && P(t), h.d(), s = !1, u();
4641
4881
  }
4642
4882
  };
4643
4883
  }
4644
- function Vo(e) {
4884
+ function ma(e) {
4645
4885
  let t, r, n, i, o, a, s, u = (
4646
4886
  /*selectedLanguage*/
4647
- e[14].slice(-2) + ""
4648
- ), l, h, c, f, d, g, v, w = (
4887
+ e[17].slice(-2) + ""
4888
+ ), l, c, h, g, p, m, _, x = (
4649
4889
  /*isOptionsListVisible*/
4650
- e[10] && cr(e)
4890
+ e[12] && Tr(e)
4651
4891
  );
4652
4892
  return {
4653
4893
  c() {
4654
- t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = ee(u), h = U(), c = y("span"), f = Mt("svg"), d = Mt("path"), v = U(), w && w.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4655
- e[22](
4894
+ t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = N(), s = y("span"), l = Q(u), c = N(), h = y("span"), g = Dt("svg"), p = Dt("path"), _ = N(), x && x.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4895
+ e[25](
4656
4896
  /*selectedLanguage*/
4657
- e[14]
4658
- )}.svg`) || m(i, "src", o), m(n, "class", "FlagIcon"), m(s, "class", "LanguageName"), m(d, "id", "arrow"), m(d, "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(d, "transform", "translate(-274.511 -441.088)"), m(d, "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(c, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
4659
- (e[10] ? "TriangleActive" : "")), m(r, "class", "SelectedOption Item ItemLanguage"), m(t, "class", "LanguageDropdown");
4897
+ e[17]
4898
+ )}.svg`) || d(i, "src", o), d(n, "class", "FlagIcon"), d(s, "class", "LanguageName"), d(p, "id", "arrow"), d(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"), d(p, "transform", "translate(-274.511 -441.088)"), d(p, "fill", "#d1d1d1"), d(g, "xmlns", "http://www.w3.org/2000/svg"), d(g, "width", "14"), d(g, "height", "6.835"), d(g, "viewBox", "0 0 14 6.835"), d(h, "class", m = "TriangleInactive " + /*isOptionsListVisible*/
4899
+ (e[12] ? "TriangleActive" : "")), d(r, "class", "SelectedOption Item ItemLanguage"), d(t, "class", "LanguageDropdown");
4660
4900
  },
4661
- m(H, B) {
4662
- k(H, t, B), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, h), b(r, c), b(c, f), b(f, d), b(t, v), w && w.m(t, null);
4901
+ m(E, L) {
4902
+ B(E, t, L), 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, g), b(g, p), b(t, _), x && x.m(t, null);
4663
4903
  },
4664
- p(H, B) {
4665
- B[0] & /*selectedLanguage, languagesArray*/
4666
- 16896 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4667
- H[22](
4904
+ p(E, L) {
4905
+ L[0] & /*selectedLanguage, languagesArray*/
4906
+ 133120 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4907
+ E[25](
4668
4908
  /*selectedLanguage*/
4669
- H[14]
4670
- )}.svg`) && m(i, "src", o), B[0] & /*selectedLanguage*/
4671
- 16384 && u !== (u = /*selectedLanguage*/
4672
- H[14].slice(-2) + "") && pe(l, u), B[0] & /*isOptionsListVisible*/
4673
- 1024 && g !== (g = "TriangleInactive " + /*isOptionsListVisible*/
4674
- (H[10] ? "TriangleActive" : "")) && m(c, "class", g), /*isOptionsListVisible*/
4675
- H[10] ? w ? w.p(H, B) : (w = cr(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4909
+ E[17]
4910
+ )}.svg`) && d(i, "src", o), L[0] & /*selectedLanguage*/
4911
+ 131072 && u !== (u = /*selectedLanguage*/
4912
+ E[17].slice(-2) + "") && ae(l, u), L[0] & /*isOptionsListVisible*/
4913
+ 4096 && m !== (m = "TriangleInactive " + /*isOptionsListVisible*/
4914
+ (E[12] ? "TriangleActive" : "")) && d(h, "class", m), /*isOptionsListVisible*/
4915
+ E[12] ? x ? x.p(E, L) : (x = Tr(E), x.c(), x.m(t, null)) : x && (x.d(1), x = null);
4676
4916
  },
4677
- d(H) {
4678
- H && I(t), w && w.d();
4917
+ d(E) {
4918
+ E && P(t), x && x.d();
4679
4919
  }
4680
4920
  };
4681
4921
  }
4682
- function Xo(e) {
4683
- let t, r, n, i = Y(
4922
+ function ba(e) {
4923
+ let t, r, n, i = te(
4684
4924
  /*languagesArray*/
4685
- e[9]
4925
+ e[11]
4686
4926
  ), o = [];
4687
4927
  for (let a = 0; a < i.length; a += 1)
4688
- o[a] = pr(rr(e, i, a));
4928
+ o[a] = Mr(pr(e, i, a));
4689
4929
  return {
4690
4930
  c() {
4691
4931
  t = y("select");
4692
4932
  for (let a = 0; a < o.length; a += 1)
4693
4933
  o[a].c();
4694
- m(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4695
- e[14] === void 0 && Ce(() => (
4934
+ d(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4935
+ e[17] === void 0 && Xe(() => (
4696
4936
  /*select_change_handler*/
4697
- e[37].call(t)
4937
+ e[44].call(t)
4698
4938
  ));
4699
4939
  },
4700
4940
  m(a, s) {
4701
- k(a, t, s);
4941
+ B(a, t, s);
4702
4942
  for (let u = 0; u < o.length; u += 1)
4703
4943
  o[u] && o[u].m(t, null);
4704
- Lt(
4944
+ jt(
4705
4945
  t,
4706
4946
  /*selectedLanguage*/
4707
- e[14],
4947
+ e[17],
4708
4948
  !0
4709
4949
  ), r || (n = [
4710
- te(
4950
+ oe(
4711
4951
  t,
4712
4952
  "change",
4713
4953
  /*select_change_handler*/
4714
- e[37]
4954
+ e[44]
4715
4955
  ),
4716
- te(
4956
+ oe(
4717
4957
  t,
4718
4958
  "change",
4719
4959
  /*change_handler*/
4720
- e[38]
4960
+ e[45]
4721
4961
  )
4722
4962
  ], r = !0);
4723
4963
  },
4724
4964
  p(a, s) {
4725
4965
  if (s[0] & /*languagesArray*/
4726
- 512) {
4727
- i = Y(
4966
+ 2048) {
4967
+ i = te(
4728
4968
  /*languagesArray*/
4729
- a[9]
4969
+ a[11]
4730
4970
  );
4731
4971
  let u;
4732
4972
  for (u = 0; u < i.length; u += 1) {
4733
- const l = rr(a, i, u);
4734
- o[u] ? o[u].p(l, s) : (o[u] = pr(l), o[u].c(), o[u].m(t, null));
4973
+ const l = pr(a, i, u);
4974
+ o[u] ? o[u].p(l, s) : (o[u] = Mr(l), o[u].c(), o[u].m(t, null));
4735
4975
  }
4736
4976
  for (; u < o.length; u += 1)
4737
4977
  o[u].d(1);
4738
4978
  o.length = i.length;
4739
4979
  }
4740
4980
  s[0] & /*selectedLanguage, languagesArray*/
4741
- 16896 && Lt(
4981
+ 133120 && jt(
4742
4982
  t,
4743
4983
  /*selectedLanguage*/
4744
- a[14]
4984
+ a[17]
4745
4985
  );
4746
4986
  },
4747
4987
  d(a) {
4748
- a && I(t), Ee(o, a), r = !1, fe(n);
4988
+ a && P(t), Ce(o, a), r = !1, ce(n);
4749
4989
  }
4750
4990
  };
4751
4991
  }
4752
- function cr(e) {
4753
- let t, r, n = Y(
4992
+ function Tr(e) {
4993
+ let t, r, n = te(
4754
4994
  /*languagesArray*/
4755
- e[9]
4995
+ e[11]
4756
4996
  ), i = [];
4757
4997
  for (let o = 0; o < n.length; o += 1)
4758
- i[o] = fr(tr(e, n, o));
4998
+ i[o] = Or(dr(e, n, o));
4759
4999
  return {
4760
5000
  c() {
4761
5001
  t = y("div");
4762
5002
  for (let o = 0; o < i.length; o += 1)
4763
5003
  i[o].c();
4764
- m(t, "class", r = "OptionList " + /*languageListOpen*/
4765
- (e[11] ? "Open" : ""));
5004
+ d(t, "class", r = "OptionList " + /*languageListOpen*/
5005
+ (e[13] ? "Open" : ""));
4766
5006
  },
4767
5007
  m(o, a) {
4768
- k(o, t, a);
5008
+ B(o, t, a);
4769
5009
  for (let s = 0; s < i.length; s += 1)
4770
5010
  i[s] && i[s].m(t, null);
4771
5011
  },
4772
5012
  p(o, a) {
4773
5013
  if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
4774
- 5245440) {
4775
- n = Y(
5014
+ 41953280) {
5015
+ n = te(
4776
5016
  /*languagesArray*/
4777
- o[9]
5017
+ o[11]
4778
5018
  );
4779
5019
  let s;
4780
5020
  for (s = 0; s < n.length; s += 1) {
4781
- const u = tr(o, n, s);
4782
- i[s] ? i[s].p(u, a) : (i[s] = fr(u), i[s].c(), i[s].m(t, null));
5021
+ const u = dr(o, n, s);
5022
+ i[s] ? i[s].p(u, a) : (i[s] = Or(u), i[s].c(), i[s].m(t, null));
4783
5023
  }
4784
5024
  for (; s < i.length; s += 1)
4785
5025
  i[s].d(1);
4786
5026
  i.length = n.length;
4787
5027
  }
4788
5028
  a[0] & /*languageListOpen*/
4789
- 2048 && r !== (r = "OptionList " + /*languageListOpen*/
4790
- (o[11] ? "Open" : "")) && m(t, "class", r);
5029
+ 8192 && r !== (r = "OptionList " + /*languageListOpen*/
5030
+ (o[13] ? "Open" : "")) && d(t, "class", r);
4791
5031
  },
4792
5032
  d(o) {
4793
- o && I(t), Ee(i, o);
5033
+ o && P(t), Ce(i, o);
4794
5034
  }
4795
5035
  };
4796
5036
  }
4797
- function fr(e) {
5037
+ function Or(e) {
4798
5038
  let t, r, n, i, o, a, s = (
4799
5039
  /*operatorLanguage*/
4800
- e[58] + ""
4801
- ), u, l, h, c, f;
4802
- function d() {
5040
+ e[68] + ""
5041
+ ), u, l, c, h, g;
5042
+ function p() {
4803
5043
  return (
4804
5044
  /*click_handler_2*/
4805
- e[39](
5045
+ e[46](
4806
5046
  /*operatorLanguage*/
4807
- e[58]
5047
+ e[68]
4808
5048
  )
4809
5049
  );
4810
5050
  }
4811
5051
  return {
4812
5052
  c() {
4813
- t = y("div"), r = y("span"), n = y("img"), o = U(), a = y("span"), u = ee(s), l = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4814
- e[22](
5053
+ t = y("div"), r = y("span"), n = y("img"), o = N(), a = y("span"), u = Q(s), l = N(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5054
+ e[25](
4815
5055
  /*operatorLanguage*/
4816
- e[58]
4817
- )}.svg`) || m(n, "src", i), m(r, "class", "FlagIcon"), m(a, "class", "LanguageName"), m(t, "class", h = "LanguageOption " + /*languageListOpen*/
4818
- (e[11] ? "Open" : ""));
5056
+ e[68]
5057
+ )}.svg`) || d(n, "src", i), d(r, "class", "FlagIcon"), d(a, "class", "LanguageName"), d(t, "class", c = "LanguageOption " + /*languageListOpen*/
5058
+ (e[13] ? "Open" : ""));
4819
5059
  },
4820
- m(g, v) {
4821
- k(g, t, v), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), c || (f = te(t, "click", d), c = !0);
5060
+ m(m, _) {
5061
+ B(m, t, _), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), h || (g = oe(t, "click", p), h = !0);
4822
5062
  },
4823
- p(g, v) {
4824
- e = g, v[0] & /*languagesArray*/
4825
- 512 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4826
- e[22](
5063
+ p(m, _) {
5064
+ e = m, _[0] & /*languagesArray*/
5065
+ 2048 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5066
+ e[25](
4827
5067
  /*operatorLanguage*/
4828
- e[58]
4829
- )}.svg`) && m(n, "src", i), v[0] & /*languagesArray*/
4830
- 512 && s !== (s = /*operatorLanguage*/
4831
- e[58] + "") && pe(u, s), v[0] & /*languageListOpen*/
4832
- 2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
4833
- (e[11] ? "Open" : "")) && m(t, "class", h);
5068
+ e[68]
5069
+ )}.svg`) && d(n, "src", i), _[0] & /*languagesArray*/
5070
+ 2048 && s !== (s = /*operatorLanguage*/
5071
+ e[68] + "") && ae(u, s), _[0] & /*languageListOpen*/
5072
+ 8192 && c !== (c = "LanguageOption " + /*languageListOpen*/
5073
+ (e[13] ? "Open" : "")) && d(t, "class", c);
4834
5074
  },
4835
- d(g) {
4836
- g && I(t), c = !1, f();
5075
+ d(m) {
5076
+ m && P(t), h = !1, g();
4837
5077
  }
4838
5078
  };
4839
5079
  }
4840
- function pr(e) {
5080
+ function Mr(e) {
4841
5081
  let t, r = (
4842
5082
  /*lang*/
4843
- e[1].slice(-2) + ""
5083
+ e[3].slice(-2) + ""
4844
5084
  ), n, i;
4845
5085
  return {
4846
5086
  c() {
4847
- t = y("option"), n = ee(r), t.__value = i = /*lang*/
4848
- e[1], Pt(t, t.__value), t.selected = !0;
5087
+ t = y("option"), n = Q(r), t.__value = i = /*lang*/
5088
+ e[3], Gt(t, t.__value), t.selected = !0;
4849
5089
  },
4850
5090
  m(o, a) {
4851
- k(o, t, a), b(t, n);
5091
+ B(o, t, a), b(t, n);
4852
5092
  },
4853
5093
  p(o, a) {
4854
5094
  a[0] & /*languagesArray*/
4855
- 512 && r !== (r = /*lang*/
4856
- o[1].slice(-2) + "") && pe(n, r), a[0] & /*languagesArray*/
4857
- 512 && i !== (i = /*lang*/
4858
- o[1]) && (t.__value = i, Pt(t, t.__value));
5095
+ 2048 && r !== (r = /*lang*/
5096
+ o[3].slice(-2) + "") && ae(n, r), a[0] & /*languagesArray*/
5097
+ 2048 && i !== (i = /*lang*/
5098
+ o[3]) && (t.__value = i, Gt(t, t.__value));
4859
5099
  },
4860
5100
  d(o) {
4861
- o && I(t);
5101
+ o && P(t);
4862
5102
  }
4863
5103
  };
4864
5104
  }
4865
- function zo(e) {
4866
- let t, r = (
5105
+ function _a(e) {
5106
+ let t, r, n = (
4867
5107
  /*show*/
4868
- e[8] === !0 && or(e)
5108
+ e[10] === !0 && vr(e)
4869
5109
  );
4870
5110
  return {
4871
5111
  c() {
4872
- t = y("div"), r && r.c();
5112
+ t = y("div"), n && n.c();
4873
5113
  },
4874
- m(n, i) {
4875
- k(n, t, i), r && r.m(t, null), e[41](t);
5114
+ m(i, o) {
5115
+ B(i, t, o), n && n.m(t, null), e[48](t), r = !0;
4876
5116
  },
4877
- p(n, i) {
5117
+ p(i, o) {
4878
5118
  /*show*/
4879
- n[8] === !0 ? r ? r.p(n, i) : (r = or(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
5119
+ i[10] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5120
+ 1024 && ue(n, 1)) : (n = vr(i), n.c(), ue(n, 1), n.m(t, null)) : n && (Cr(), Pe(n, 1, 1, () => {
5121
+ n = null;
5122
+ }), Nr());
4880
5123
  },
4881
- i: $,
4882
- o: $,
4883
- d(n) {
4884
- n && I(t), r && r.d(), e[41](null);
5124
+ i(i) {
5125
+ r || (ue(n), r = !0);
5126
+ },
5127
+ o(i) {
5128
+ Pe(n), r = !1;
5129
+ },
5130
+ d(i) {
5131
+ i && P(t), n && n.d(), e[48](null);
4885
5132
  }
4886
5133
  };
4887
5134
  }
4888
- function Zo(e, t, r) {
5135
+ function va(e, t, r) {
4889
5136
  let n;
4890
- ln(e, Io, (p) => r(15, n = p));
4891
- let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: d = "" } = t, { clientstylingurl: g = "" } = t, { customlocaleidentifier: v = "" } = t, { countryflaghamburger: w = "" } = t, H, B = window.navigator.userAgent, P = [], G, C = "", V = [], z = !1, ne = !1, q = !0, N = [], j = !1, O = !1, L = !1, x = !1, R = !0, S, W = "", Z;
4892
- const Qr = () => {
4893
- fetch(c).then((p) => p.json()).then((p) => {
4894
- Object.keys(p).forEach((A) => {
4895
- Kt(A, p[A]);
5137
+ An(e, ta, (f) => r(18, n = f));
5138
+ let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: a = "" } = t, { session: s = "" } = t, { userid: u = "" } = t, { cmsendpoint: l } = t, { cmsenv: c = "stage" } = t, { userroles: h } = t, { lang: g = "en" } = t, { activecategory: p = "" } = t, { languageslist: m = "" } = t, { translationurl: _ = "" } = t, { mbsource: x } = t, { clientstyling: E = "" } = t, { clientstylingurl: L = "" } = t, { customlocaleidentifier: I = "" } = t, { countryflaghamburger: V = "" } = t, { customlogourl: j } = t, X, z = window.navigator.userAgent, q = [], se, D = "", fe = [], ge = !1, de = !1, W = !0, re = [], ne = !1, Z = !1, U = !1, Y = !1, C = !0, T, v = !1, S = "", R;
5139
+ const G = () => {
5140
+ fetch(_).then((f) => f.json()).then((f) => {
5141
+ Object.keys(f).forEach((O) => {
5142
+ fr(O, f[O]);
4896
5143
  });
4897
- }).catch((p) => {
4898
- console.log(p);
5144
+ }).catch((f) => {
5145
+ console.log(f);
4899
5146
  });
4900
5147
  };
4901
- Object.keys(er).forEach((p) => {
4902
- Kt(p, er[p]);
5148
+ Object.keys(gr).forEach((f) => {
5149
+ fr(f, gr[f]);
4903
5150
  });
4904
- const We = () => {
4905
- S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4906
- let p = No(B);
4907
- p && (p === "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);
4908
- }, xt = () => {
4909
- r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, L = !1), setTimeout(
5151
+ const pe = () => {
5152
+ T = new URL(`${l}/${S.toLowerCase()}/hamburger-menu`);
5153
+ let f = ra(z);
5154
+ f && (f === "PC" ? T.searchParams.append("device", "dk") : T.searchParams.append("device", "mtWeb")), T.searchParams.append("env", c), T.searchParams.append("language", S.toLowerCase()), T.searchParams.append("userRoles", h);
5155
+ }, rt = () => {
5156
+ r(14, Y = !0), r(15, C = !0), r(12, Z = !1), r(13, U = !1), setTimeout(
4910
5157
  () => {
4911
- r(8, ne = !1), r(7, z = !1);
5158
+ r(10, de = !1), r(9, ge = !1);
4912
5159
  },
4913
5160
  200
4914
5161
  ), window.postMessage(
@@ -4918,274 +5165,331 @@ function Zo(e, t, r) {
4918
5165
  },
4919
5166
  window.location.href
4920
5167
  );
4921
- }, Et = (p) => {
4922
- p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
4923
- () => {
4924
- r(13, R = !1);
4925
- },
4926
- 125
4927
- ), r(8, ne = !0), r(7, z = !0), We(), Ht(S)), p.data.type === "LanguageChanged" && (j = !0, We(), Ht(S));
4928
- }, Ve = (p, A) => {
4929
- r(5, C = p), r(6, V = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5168
+ }, It = (f) => {
5169
+ if (!(!f || !f.data || typeof f.data != "object" || !("type" in f.data)))
5170
+ switch (f.data.type) {
5171
+ case "OpenHamburgerMenuModal": {
5172
+ window.postMessage({ type: "DisableScroll" }, window.location.href), r(14, Y = !1), setTimeout(
5173
+ () => {
5174
+ r(15, C = !1);
5175
+ },
5176
+ 125
5177
+ ), r(10, de = !0), r(9, ge = !0), pe(), Rt(T);
5178
+ break;
5179
+ }
5180
+ case "LanguageChanged": {
5181
+ ne = !0, pe(), Rt(T);
5182
+ break;
5183
+ }
5184
+ case "UserSessionID":
5185
+ f.data.userid, f.data.session, r(16, v = !0);
5186
+ break;
5187
+ case "LogoutSuccessfull":
5188
+ r(16, v = !1);
5189
+ break;
5190
+ }
5191
+ }, nt = (f, O) => {
5192
+ r(7, D = f), r(8, fe = O || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4930
5193
  context: "HamburgerMenu",
4931
- menuItem: `${C}`
5194
+ menuItem: `${D}`
4932
5195
  });
4933
- }, wt = (p) => {
4934
- !p?.children && p?.path && p?.keyword?.includes("InternalLink") && Xe(p), Ve(p.id, p.children);
4935
- }, St = () => {
4936
- let p = P.filter((A) => {
4937
- let He = !1;
4938
- return A.children?.forEach((sn) => {
4939
- sn.path.includes(l) && (He = !0);
4940
- }), He;
5196
+ }, Ct = (f) => {
5197
+ const O = f?.children?.length > 0, me = f?.path && f?.keyword?.includes("InternalLink");
5198
+ !O && me && it(f), nt(f.id, f.children);
5199
+ }, Nt = () => {
5200
+ let f = q.filter((O) => {
5201
+ let me = !1;
5202
+ return O.children?.forEach((Tn) => {
5203
+ Tn.path.includes(p) && (me = !0);
5204
+ }), me;
4941
5205
  });
4942
- p.length > 0 ? Ve(p[0].id, p[0].children) : Ve(P[0].id, P[0].children);
4943
- }, Ht = (p) => {
4944
- G && !j || Tt(p);
4945
- }, Tt = (p) => {
4946
- fetch(p).then((A) => A.json()).then(
4947
- (A) => {
4948
- r(4, P = A.filter((He) => He?.type !== "banner")), St(), r(34, q = !1), G = A, j = !1;
5206
+ f.length > 0 ? nt(f[0].id, f[0].children) : nt(q[0].id, q[0].children);
5207
+ }, Rt = (f) => {
5208
+ se && !ne || kt(f);
5209
+ }, kt = (f) => {
5210
+ fetch(f).then((O) => O.json()).then(
5211
+ (O) => {
5212
+ r(6, q = O.filter((me) => me?.type !== "banner")), Nt(), r(39, W = !1), se = O, ne = !1;
4949
5213
  },
4950
- (A) => {
4951
- console.error(A);
5214
+ (O) => {
5215
+ console.error(O);
4952
5216
  }
4953
5217
  );
4954
5218
  };
4955
- let Xe = (p) => {
5219
+ let it = (f) => {
4956
5220
  window.postMessage(
4957
5221
  {
4958
5222
  type: "NavigateTo",
4959
- path: p.path,
4960
- externalLink: p.externalLink || !1,
4961
- target: p.attrs.target || null
5223
+ path: f.path,
5224
+ externalLink: f.externalLink || !1,
5225
+ target: f.attrs.target || null
4962
5226
  },
4963
5227
  window.location.href
4964
- ), xt();
5228
+ ), rt();
4965
5229
  };
4966
- const ze = () => {
4967
- j = !0, window.postMessage(
5230
+ const ot = () => {
5231
+ ne = !0, window.postMessage(
4968
5232
  {
4969
5233
  type: "LanguageChanged",
4970
- selectedLanguage: W
5234
+ selectedLanguage: S
4971
5235
  },
4972
5236
  window.location.href
4973
5237
  );
4974
- }, Yr = () => {
4975
- Fo(u), We(), j && Tt(S), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((p) => p.toUpperCase())), r(14, W = u.toUpperCase());
4976
- }, Ot = (p) => {
4977
- r(14, W = p), setTimeout(
5238
+ }, dn = () => {
5239
+ aa(g), pe(), ne && kt(T), r(11, re = m.replace(/ /g, "").split(",")), r(11, re = re.map((f) => f.toUpperCase())), r(17, S = g.toUpperCase());
5240
+ }, Ut = (f) => {
5241
+ r(17, S = f), setTimeout(
4978
5242
  () => {
4979
- r(11, L = !1);
5243
+ r(13, U = !1);
4980
5244
  },
4981
5245
  250
4982
5246
  ), setTimeout(
4983
5247
  () => {
4984
- r(10, O = !1);
5248
+ r(12, Z = !1);
4985
5249
  },
4986
5250
  500
4987
- ), ze();
4988
- }, qr = () => {
4989
- O ? (setTimeout(
5251
+ ), ot();
5252
+ }, pn = () => {
5253
+ Z ? (setTimeout(
4990
5254
  () => {
4991
- r(10, O = !1);
5255
+ r(12, Z = !1);
4992
5256
  },
4993
5257
  250
4994
- ), r(11, L = !1)) : (r(10, O = !0), setTimeout(
5258
+ ), r(13, U = !1)) : (r(12, Z = !0), setTimeout(
4995
5259
  () => {
4996
- r(11, L = !0);
5260
+ r(13, U = !0);
4997
5261
  },
4998
5262
  300
4999
5263
  ));
5000
- }, Jr = (p) => {
5001
- let A = p ? p.slice(-2) : W.slice(-2);
5002
- return v && (A = v.includes(A.toLowerCase()) ? v.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
5264
+ }, mn = (f) => {
5265
+ let O = f ? f.slice(-2) : S.slice(-2);
5266
+ return I && (O = I.includes(O.toLowerCase()) ? I.slice(-2) : O), O == "EN" ? "GB" : O.toUpperCase();
5267
+ }, bn = () => {
5268
+ r(16, v = !0);
5269
+ }, _n = () => {
5270
+ window.postMessage(
5271
+ {
5272
+ type: "PlayerAccountMenuActive",
5273
+ isMobile: hr(z)
5274
+ },
5275
+ window.location.href
5276
+ ), rt(), typeof gtag == "function" && gtag("event", "GoToMyAccount", { context: "HamburgerMenu" });
5003
5277
  };
5004
- bn(() => (window.addEventListener("message", Et, !1), Co(B), () => {
5005
- window.removeEventListener("message", Et);
5278
+ Gn(() => (window.addEventListener("message", It, !1), hr(z), () => {
5279
+ window.removeEventListener("message", It);
5006
5280
  }));
5007
- const Kr = (p) => wt(p), en = (p, A) => {
5008
- Xe(p), A.preventDefault();
5281
+ const vn = (f) => Ct(f), yn = (f, O) => {
5282
+ it(f), O.preventDefault();
5009
5283
  };
5010
- function tn() {
5011
- W = dn(this), r(14, W), r(9, N);
5284
+ function xn() {
5285
+ S = Un(this), r(17, S), r(11, re);
5012
5286
  }
5013
- const rn = () => ze(), nn = (p) => Ot(p);
5014
- function on(p) {
5015
- Ie[p ? "unshift" : "push"](() => {
5016
- H = p, r(3, H);
5287
+ const En = () => ot(), wn = (f) => Ut(f);
5288
+ function Hn(f) {
5289
+ Ve[f ? "unshift" : "push"](() => {
5290
+ X = f, r(5, X);
5017
5291
  });
5018
5292
  }
5019
- function an(p) {
5020
- Ie[p ? "unshift" : "push"](() => {
5021
- Z = p, r(2, Z);
5293
+ function Sn(f) {
5294
+ Ve[f ? "unshift" : "push"](() => {
5295
+ R = f, r(4, R);
5022
5296
  });
5023
5297
  }
5024
- return e.$$set = (p) => {
5025
- "menuitemsurl" in p && r(23, i = p.menuitemsurl), "cmsendpoint" in p && r(24, o = p.cmsendpoint), "cmsenv" in p && r(25, a = p.cmsenv), "userroles" in p && r(26, s = p.userroles), "lang" in p && r(1, u = p.lang), "activecategory" in p && r(27, l = p.activecategory), "languageslist" in p && r(28, h = p.languageslist), "translationurl" in p && r(29, c = p.translationurl), "mbsource" in p && r(30, f = p.mbsource), "clientstyling" in p && r(31, d = p.clientstyling), "clientstylingurl" in p && r(32, g = p.clientstylingurl), "customlocaleidentifier" in p && r(33, v = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, w = p.countryflaghamburger);
5298
+ return e.$$set = (f) => {
5299
+ "menuitemsurl" in f && r(27, a = f.menuitemsurl), "session" in f && r(28, s = f.session), "userid" in f && r(0, u = f.userid), "cmsendpoint" in f && r(29, l = f.cmsendpoint), "cmsenv" in f && r(30, c = f.cmsenv), "userroles" in f && r(31, h = f.userroles), "lang" in f && r(3, g = f.lang), "activecategory" in f && r(32, p = f.activecategory), "languageslist" in f && r(33, m = f.languageslist), "translationurl" in f && r(34, _ = f.translationurl), "mbsource" in f && r(35, x = f.mbsource), "clientstyling" in f && r(36, E = f.clientstyling), "clientstylingurl" in f && r(37, L = f.clientstylingurl), "customlocaleidentifier" in f && r(38, I = f.customlocaleidentifier), "countryflaghamburger" in f && r(1, V = f.countryflaghamburger), "customlogourl" in f && r(2, j = f.customlogourl), "$$scope" in f && r(40, o = f.$$scope);
5026
5300
  }, e.$$.update = () => {
5027
- e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
5028
- 318767106 && o && a && u && h && Yr(), e.$$.dirty[0] & /*activecategory*/
5029
- 134217728 | e.$$.dirty[1] & /*isLoading*/
5030
- 8 && l && !q && St(), e.$$.dirty[0] & /*translationurl*/
5031
- 536870912 && c && Qr(), e.$$.dirty[0] & /*customStylingContainer*/
5032
- 4 | e.$$.dirty[1] & /*clientstyling*/
5033
- 1 && d && Z && Ro(Z, d), e.$$.dirty[0] & /*customStylingContainer*/
5034
- 4 | e.$$.dirty[1] & /*clientstylingurl*/
5035
- 2 && g && Z && Uo(Z, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5036
- 1073741828 && f && Z && ko(Z, `${f}.Style`);
5301
+ e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang*/
5302
+ 1610612744 | e.$$.dirty[1] & /*languageslist*/
5303
+ 4 && l && c && g && m && dn(), e.$$.dirty[1] & /*activecategory, isLoading*/
5304
+ 258 && p && !W && Nt(), e.$$.dirty[1] & /*translationurl*/
5305
+ 8 && _ && G(), e.$$.dirty[0] & /*session*/
5306
+ 268435456 && s && bn(), e.$$.dirty[0] & /*customStylingContainer*/
5307
+ 16 | e.$$.dirty[1] & /*clientstyling*/
5308
+ 32 && E && R && na(R, E), e.$$.dirty[0] & /*customStylingContainer*/
5309
+ 16 | e.$$.dirty[1] & /*clientstylingurl*/
5310
+ 64 && L && R && ia(R, L), e.$$.dirty[0] & /*customStylingContainer*/
5311
+ 16 | e.$$.dirty[1] & /*mbsource*/
5312
+ 16 && x && R && oa(R, `${x}.Style`);
5037
5313
  }, [
5038
- w,
5039
5314
  u,
5040
- Z,
5041
- H,
5042
- P,
5043
- C,
5044
5315
  V,
5045
- z,
5046
- ne,
5047
- N,
5048
- O,
5049
- L,
5050
- x,
5316
+ j,
5317
+ g,
5051
5318
  R,
5052
- W,
5319
+ X,
5320
+ q,
5321
+ D,
5322
+ fe,
5323
+ ge,
5324
+ de,
5325
+ re,
5326
+ Z,
5327
+ U,
5328
+ Y,
5329
+ C,
5330
+ v,
5331
+ S,
5053
5332
  n,
5054
- xt,
5055
- wt,
5056
- Xe,
5057
- ze,
5058
- Ot,
5059
- qr,
5060
- Jr,
5061
- i,
5062
- o,
5333
+ rt,
5334
+ Ct,
5335
+ it,
5336
+ ot,
5337
+ Ut,
5338
+ pn,
5339
+ mn,
5340
+ _n,
5063
5341
  a,
5064
5342
  s,
5065
5343
  l,
5066
- h,
5067
5344
  c,
5068
- f,
5069
- d,
5070
- g,
5071
- v,
5072
- q,
5073
- Kr,
5074
- en,
5075
- tn,
5076
- rn,
5077
- nn,
5078
- on,
5079
- an
5345
+ h,
5346
+ p,
5347
+ m,
5348
+ _,
5349
+ x,
5350
+ E,
5351
+ L,
5352
+ I,
5353
+ W,
5354
+ o,
5355
+ i,
5356
+ vn,
5357
+ yn,
5358
+ xn,
5359
+ En,
5360
+ wn,
5361
+ Hn,
5362
+ Sn
5080
5363
  ];
5081
5364
  }
5082
- class Qo extends Mn {
5365
+ class ya extends Yn {
5083
5366
  constructor(t) {
5084
- super(), On(
5367
+ super(), Qn(
5085
5368
  this,
5086
5369
  t,
5087
- Zo,
5088
- zo,
5089
- mr,
5370
+ va,
5371
+ _a,
5372
+ Lr,
5090
5373
  {
5091
- menuitemsurl: 23,
5092
- cmsendpoint: 24,
5093
- cmsenv: 25,
5094
- userroles: 26,
5095
- lang: 1,
5096
- activecategory: 27,
5097
- languageslist: 28,
5098
- translationurl: 29,
5099
- mbsource: 30,
5100
- clientstyling: 31,
5101
- clientstylingurl: 32,
5102
- customlocaleidentifier: 33,
5103
- countryflaghamburger: 0
5374
+ menuitemsurl: 27,
5375
+ session: 28,
5376
+ userid: 0,
5377
+ cmsendpoint: 29,
5378
+ cmsenv: 30,
5379
+ userroles: 31,
5380
+ lang: 3,
5381
+ activecategory: 32,
5382
+ languageslist: 33,
5383
+ translationurl: 34,
5384
+ mbsource: 35,
5385
+ clientstyling: 36,
5386
+ clientstylingurl: 37,
5387
+ customlocaleidentifier: 38,
5388
+ countryflaghamburger: 1,
5389
+ customlogourl: 2
5104
5390
  },
5105
- Do,
5391
+ sa,
5106
5392
  [-1, -1, -1]
5107
5393
  );
5108
5394
  }
5109
5395
  get menuitemsurl() {
5110
- return this.$$.ctx[23];
5396
+ return this.$$.ctx[27];
5111
5397
  }
5112
5398
  set menuitemsurl(t) {
5113
- this.$$set({ menuitemsurl: t }), F();
5399
+ this.$$set({ menuitemsurl: t }), k();
5400
+ }
5401
+ get session() {
5402
+ return this.$$.ctx[28];
5403
+ }
5404
+ set session(t) {
5405
+ this.$$set({ session: t }), k();
5406
+ }
5407
+ get userid() {
5408
+ return this.$$.ctx[0];
5409
+ }
5410
+ set userid(t) {
5411
+ this.$$set({ userid: t }), k();
5114
5412
  }
5115
5413
  get cmsendpoint() {
5116
- return this.$$.ctx[24];
5414
+ return this.$$.ctx[29];
5117
5415
  }
5118
5416
  set cmsendpoint(t) {
5119
- this.$$set({ cmsendpoint: t }), F();
5417
+ this.$$set({ cmsendpoint: t }), k();
5120
5418
  }
5121
5419
  get cmsenv() {
5122
- return this.$$.ctx[25];
5420
+ return this.$$.ctx[30];
5123
5421
  }
5124
5422
  set cmsenv(t) {
5125
- this.$$set({ cmsenv: t }), F();
5423
+ this.$$set({ cmsenv: t }), k();
5126
5424
  }
5127
5425
  get userroles() {
5128
- return this.$$.ctx[26];
5426
+ return this.$$.ctx[31];
5129
5427
  }
5130
5428
  set userroles(t) {
5131
- this.$$set({ userroles: t }), F();
5429
+ this.$$set({ userroles: t }), k();
5132
5430
  }
5133
5431
  get lang() {
5134
- return this.$$.ctx[1];
5432
+ return this.$$.ctx[3];
5135
5433
  }
5136
5434
  set lang(t) {
5137
- this.$$set({ lang: t }), F();
5435
+ this.$$set({ lang: t }), k();
5138
5436
  }
5139
5437
  get activecategory() {
5140
- return this.$$.ctx[27];
5438
+ return this.$$.ctx[32];
5141
5439
  }
5142
5440
  set activecategory(t) {
5143
- this.$$set({ activecategory: t }), F();
5441
+ this.$$set({ activecategory: t }), k();
5144
5442
  }
5145
5443
  get languageslist() {
5146
- return this.$$.ctx[28];
5444
+ return this.$$.ctx[33];
5147
5445
  }
5148
5446
  set languageslist(t) {
5149
- this.$$set({ languageslist: t }), F();
5447
+ this.$$set({ languageslist: t }), k();
5150
5448
  }
5151
5449
  get translationurl() {
5152
- return this.$$.ctx[29];
5450
+ return this.$$.ctx[34];
5153
5451
  }
5154
5452
  set translationurl(t) {
5155
- this.$$set({ translationurl: t }), F();
5453
+ this.$$set({ translationurl: t }), k();
5156
5454
  }
5157
5455
  get mbsource() {
5158
- return this.$$.ctx[30];
5456
+ return this.$$.ctx[35];
5159
5457
  }
5160
5458
  set mbsource(t) {
5161
- this.$$set({ mbsource: t }), F();
5459
+ this.$$set({ mbsource: t }), k();
5162
5460
  }
5163
5461
  get clientstyling() {
5164
- return this.$$.ctx[31];
5462
+ return this.$$.ctx[36];
5165
5463
  }
5166
5464
  set clientstyling(t) {
5167
- this.$$set({ clientstyling: t }), F();
5465
+ this.$$set({ clientstyling: t }), k();
5168
5466
  }
5169
5467
  get clientstylingurl() {
5170
- return this.$$.ctx[32];
5468
+ return this.$$.ctx[37];
5171
5469
  }
5172
5470
  set clientstylingurl(t) {
5173
- this.$$set({ clientstylingurl: t }), F();
5471
+ this.$$set({ clientstylingurl: t }), k();
5174
5472
  }
5175
5473
  get customlocaleidentifier() {
5176
- return this.$$.ctx[33];
5474
+ return this.$$.ctx[38];
5177
5475
  }
5178
5476
  set customlocaleidentifier(t) {
5179
- this.$$set({ customlocaleidentifier: t }), F();
5477
+ this.$$set({ customlocaleidentifier: t }), k();
5180
5478
  }
5181
5479
  get countryflaghamburger() {
5182
- return this.$$.ctx[0];
5480
+ return this.$$.ctx[1];
5183
5481
  }
5184
5482
  set countryflaghamburger(t) {
5185
- this.$$set({ countryflaghamburger: t }), F();
5483
+ this.$$set({ countryflaghamburger: t }), k();
5484
+ }
5485
+ get customlogourl() {
5486
+ return this.$$.ctx[2];
5487
+ }
5488
+ set customlogourl(t) {
5489
+ this.$$set({ customlogourl: t }), k();
5186
5490
  }
5187
5491
  }
5188
- An(Qo, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5492
+ qn(ya, { menuitemsurl: {}, session: {}, userid: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, customlogourl: {} }, ["logo"], [], !0);
5189
5493
  export {
5190
- Qo as C
5494
+ ya as C
5191
5495
  };