@everymatrix/general-navigation-bar 1.74.3 → 1.74.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var en = Object.defineProperty, tn = Object.defineProperties;
2
- var rn = Object.getOwnPropertyDescriptors;
3
- var wt = Object.getOwnPropertySymbols;
4
- var nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable;
5
- var ke = (e, t, r) => t in e ? en(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
1
+ var nn = Object.defineProperty, on = Object.defineProperties;
2
+ var an = Object.getOwnPropertyDescriptors;
3
+ var Nt = Object.getOwnPropertySymbols;
4
+ var sn = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable;
5
+ var ke = (e, t, r) => t in e ? nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- nn.call(t, r) && ke(e, r, t[r]);
8
- if (wt)
9
- for (var r of wt(t))
10
- on.call(t, r) && ke(e, r, t[r]);
7
+ sn.call(t, r) && ke(e, r, t[r]);
8
+ if (Nt)
9
+ for (var r of Nt(t))
10
+ ln.call(t, r) && ke(e, r, t[r]);
11
11
  return e;
12
- }, Nt = (e, t) => tn(e, rn(t));
12
+ }, It = (e, t) => on(e, an(t));
13
13
  var U = (e, t, r) => (ke(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var St = (e, t, r) => new Promise((n, i) => {
14
+ var Bt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(r.next(l));
@@ -29,7 +29,7 @@ var St = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function D() {
31
31
  }
32
- function an(e, t) {
32
+ function un(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function an(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function sr(e) {
40
+ function ur(e) {
41
41
  return e();
42
42
  }
43
- function It() {
43
+ function At() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function se(e) {
47
- e.forEach(sr);
47
+ e.forEach(ur);
48
48
  }
49
- function ft(e) {
49
+ function dt(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function lr(e, t) {
52
+ function hr(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
55
  let xe;
56
56
  function re(e, t) {
57
57
  return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
58
58
  }
59
- function sn(e) {
59
+ function hn(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function ur(e, ...t) {
62
+ function cr(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,19 +68,19 @@ function ur(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function ln(e, t, r) {
72
- e.$$.on_destroy.push(ur(t, r));
71
+ function cn(e, t, r) {
72
+ e.$$.on_destroy.push(cr(t, r));
73
73
  }
74
- function un(e, t, r, n) {
74
+ function fn(e, t, r, n) {
75
75
  if (e) {
76
- const i = hr(e, t, r, n);
76
+ const i = fr(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function hr(e, t, r, n) {
81
- return e[1] && n ? an(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function fr(e, t, r, n) {
81
+ return e[1] && n ? un(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function hn(e, t, r, n) {
83
+ function dn(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -95,13 +95,13 @@ function hn(e, t, r, n) {
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function cn(e, t, r, n, i, o) {
98
+ function mn(e, t, r, n, i, o) {
99
99
  if (i) {
100
- const a = hr(t, r, n, o);
100
+ const a = fr(t, r, n, o);
101
101
  e.p(a, i);
102
102
  }
103
103
  }
104
- function fn(e) {
104
+ function pn(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -113,14 +113,14 @@ function fn(e) {
113
113
  function y(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
- function dn(e, t, r) {
117
- const n = mn(e);
116
+ function gn(e, t, r) {
117
+ const n = vn(e);
118
118
  if (!n.getElementById(t)) {
119
119
  const i = B("style");
120
- i.id = t, i.textContent = r, pn(n, i);
120
+ i.id = t, i.textContent = r, bn(n, i);
121
121
  }
122
122
  }
123
- function mn(e) {
123
+ function vn(e) {
124
124
  if (!e)
125
125
  return document;
126
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -130,7 +130,7 @@ function mn(e) {
130
130
  t
131
131
  ) : e.ownerDocument;
132
132
  }
133
- function pn(e, t) {
133
+ function bn(e, t) {
134
134
  return y(
135
135
  /** @type {Document} */
136
136
  e.head || e,
@@ -143,7 +143,7 @@ function C(e, t, r) {
143
143
  function L(e) {
144
144
  e.parentNode && e.parentNode.removeChild(e);
145
145
  }
146
- function cr(e, t) {
146
+ function dr(e, t) {
147
147
  for (let r = 0; r < e.length; r += 1)
148
148
  e[r] && e[r].d(t);
149
149
  }
@@ -153,14 +153,14 @@ function B(e) {
153
153
  function M(e) {
154
154
  return document.createElementNS("http://www.w3.org/2000/svg", e);
155
155
  }
156
- function ve(e) {
156
+ function be(e) {
157
157
  return document.createTextNode(e);
158
158
  }
159
159
  function k() {
160
- return ve(" ");
160
+ return be(" ");
161
161
  }
162
- function gn() {
163
- return ve("");
162
+ function yn() {
163
+ return be("");
164
164
  }
165
165
  function Me(e, t, r, n) {
166
166
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -168,14 +168,14 @@ function Me(e, t, r, n) {
168
168
  function c(e, t, r) {
169
169
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
170
170
  }
171
- function bn(e) {
171
+ function _n(e) {
172
172
  return Array.from(e.childNodes);
173
173
  }
174
- function dt(e, t) {
174
+ function mt(e, t) {
175
175
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
176
176
  t);
177
177
  }
178
- function vn(e) {
178
+ function xn(e) {
179
179
  const t = {};
180
180
  return e.childNodes.forEach(
181
181
  /** @param {Element} node */
@@ -188,22 +188,22 @@ let me;
188
188
  function de(e) {
189
189
  me = e;
190
190
  }
191
- function yn() {
191
+ function wn() {
192
192
  if (!me)
193
193
  throw new Error("Function called outside component initialization");
194
194
  return me;
195
195
  }
196
- function _n(e) {
197
- yn().$$.on_mount.push(e);
196
+ function En(e) {
197
+ wn().$$.on_mount.push(e);
198
198
  }
199
- const K = [], Ye = [];
199
+ const K = [], Je = [];
200
200
  let ee = [];
201
- const Bt = [], xn = /* @__PURE__ */ Promise.resolve();
202
- let Je = !1;
203
- function wn() {
204
- Je || (Je = !0, xn.then(F));
201
+ const Tt = [], Nn = /* @__PURE__ */ Promise.resolve();
202
+ let qe = !1;
203
+ function Sn() {
204
+ qe || (qe = !0, Nn.then(F));
205
205
  }
206
- function qe(e) {
206
+ function Ke(e) {
207
207
  ee.push(e);
208
208
  }
209
209
  const je = /* @__PURE__ */ new Set();
@@ -216,37 +216,37 @@ function F() {
216
216
  try {
217
217
  for (; J < K.length; ) {
218
218
  const t = K[J];
219
- J++, de(t), En(t.$$);
219
+ J++, de(t), In(t.$$);
220
220
  }
221
221
  } catch (t) {
222
222
  throw K.length = 0, J = 0, t;
223
223
  }
224
- for (de(null), K.length = 0, J = 0; Ye.length; )
225
- Ye.pop()();
224
+ for (de(null), K.length = 0, J = 0; Je.length; )
225
+ Je.pop()();
226
226
  for (let t = 0; t < ee.length; t += 1) {
227
227
  const r = ee[t];
228
228
  je.has(r) || (je.add(r), r());
229
229
  }
230
230
  ee.length = 0;
231
231
  } while (K.length);
232
- for (; Bt.length; )
233
- Bt.pop()();
234
- Je = !1, je.clear(), de(e);
232
+ for (; Tt.length; )
233
+ Tt.pop()();
234
+ qe = !1, je.clear(), de(e);
235
235
  }
236
- function En(e) {
236
+ function In(e) {
237
237
  if (e.fragment !== null) {
238
238
  e.update(), se(e.before_update);
239
239
  const t = e.dirty;
240
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qe);
240
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
241
241
  }
242
242
  }
243
- function Nn(e) {
243
+ function Bn(e) {
244
244
  const t = [], r = [];
245
245
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
246
246
  }
247
247
  const Ne = /* @__PURE__ */ new Set();
248
248
  let Z;
249
- function fr() {
249
+ function mr() {
250
250
  Z = {
251
251
  r: 0,
252
252
  c: [],
@@ -254,7 +254,7 @@ function fr() {
254
254
  // parent group
255
255
  };
256
256
  }
257
- function dr() {
257
+ function pr() {
258
258
  Z.r || se(Z.c), Z = Z.p;
259
259
  }
260
260
  function z(e, t) {
@@ -273,21 +273,21 @@ function pe(e, t, r, n) {
273
273
  function Te(e) {
274
274
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
275
275
  }
276
- function Sn(e, t, r) {
276
+ function An(e, t, r) {
277
277
  const { fragment: n, after_update: i } = e.$$;
278
- n && n.m(t, r), qe(() => {
279
- const o = e.$$.on_mount.map(sr).filter(ft);
278
+ n && n.m(t, r), Ke(() => {
279
+ const o = e.$$.on_mount.map(ur).filter(dt);
280
280
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
281
- }), i.forEach(qe);
281
+ }), i.forEach(Ke);
282
282
  }
283
- function In(e, t) {
283
+ function Tn(e, t) {
284
284
  const r = e.$$;
285
- r.fragment !== null && (Nn(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
285
+ r.fragment !== null && (Bn(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
286
286
  }
287
- function Bn(e, t) {
288
- e.$$.dirty[0] === -1 && (K.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
287
+ function Hn(e, t) {
288
+ e.$$.dirty[0] === -1 && (K.push(e), Sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
289
289
  }
290
- function An(e, t, r, n, i, o, a = null, s = [-1]) {
290
+ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
291
291
  const l = me;
292
292
  de(e);
293
293
  const u = e.$$ = {
@@ -297,7 +297,7 @@ function An(e, t, r, n, i, o, a = null, s = [-1]) {
297
297
  props: o,
298
298
  update: D,
299
299
  not_equal: i,
300
- bound: It(),
300
+ bound: At(),
301
301
  // lifecycle
302
302
  on_mount: [],
303
303
  on_destroy: [],
@@ -306,28 +306,28 @@ function An(e, t, r, n, i, o, a = null, s = [-1]) {
306
306
  after_update: [],
307
307
  context: new Map(t.context || (l ? l.$$.context : [])),
308
308
  // everything else
309
- callbacks: It(),
309
+ callbacks: At(),
310
310
  dirty: s,
311
311
  skip_bound: !1,
312
312
  root: t.target || l.$$.root
313
313
  };
314
314
  a && a(u.root);
315
315
  let h = !1;
316
- if (u.ctx = r(e, t.props || {}, (d, f, ...p) => {
316
+ if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
317
317
  const g = p.length ? p[0] : f;
318
- return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Bn(e, d)), f;
319
- }), u.update(), h = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
318
+ return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && Hn(e, d)), f;
319
+ }) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
320
320
  if (t.hydrate) {
321
- const d = bn(t.target);
321
+ const d = _n(t.target);
322
322
  u.fragment && u.fragment.l(d), d.forEach(L);
323
323
  } else
324
324
  u.fragment && u.fragment.c();
325
- t.intro && z(e.$$.fragment), Sn(e, t.target, t.anchor), F();
325
+ t.intro && z(e.$$.fragment), An(e, t.target, t.anchor), F();
326
326
  }
327
327
  de(l);
328
328
  }
329
- let mr;
330
- typeof HTMLElement == "function" && (mr = class extends HTMLElement {
329
+ let gr;
330
+ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
331
331
  constructor(t, r, n) {
332
332
  super();
333
333
  /** The Svelte component constructor */
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
364
364
  }
365
365
  }
366
366
  connectedCallback() {
367
- return St(this, null, function* () {
367
+ return Bt(this, null, function* () {
368
368
  if (this.$$cn = !0, !this.$$c) {
369
369
  let t = function(o) {
370
370
  return () => {
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
388
388
  };
389
389
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
390
390
  return;
391
- const r = {}, n = vn(this);
391
+ const r = {}, n = xn(this);
392
392
  for (const o of this.$$s)
393
393
  o in n && (r[o] = [t(o)]);
394
394
  for (const o of this.attributes) {
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
399
399
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
400
400
  this.$$c = new this.$$ctor({
401
401
  target: this.shadowRoot || this,
402
- props: Nt(Et({}, this.$$d), {
402
+ props: It(St({}, this.$$d), {
403
403
  $$slots: r,
404
404
  $$scope: {
405
405
  ctx: []
@@ -477,8 +477,8 @@ function Se(e, t, r, n) {
477
477
  return t;
478
478
  }
479
479
  }
480
- function Tn(e, t, r, n, i, o) {
481
- let a = class extends mr {
480
+ function Mn(e, t, r, n, i, o) {
481
+ let a = class extends gr {
482
482
  constructor() {
483
483
  super(e, r, i), this.$$p_d = t;
484
484
  }
@@ -508,7 +508,7 @@ function Tn(e, t, r, n, i, o) {
508
508
  }), e.element = /** @type {any} */
509
509
  a, a;
510
510
  }
511
- class Hn {
511
+ class On {
512
512
  constructor() {
513
513
  /**
514
514
  * ### PRIVATE API
@@ -529,7 +529,7 @@ class Hn {
529
529
  }
530
530
  /** @returns {void} */
531
531
  $destroy() {
532
- In(this, 1), this.$destroy = D;
532
+ Tn(this, 1), this.$destroy = D;
533
533
  }
534
534
  /**
535
535
  * @template {Extract<keyof Events, string>} K
@@ -538,7 +538,7 @@ class Hn {
538
538
  * @returns {() => void}
539
539
  */
540
540
  $on(t, r) {
541
- if (!ft(r))
541
+ if (!dt(r))
542
542
  return D;
543
543
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
544
544
  return n.push(r), () => {
@@ -551,11 +551,11 @@ class Hn {
551
551
  * @returns {void}
552
552
  */
553
553
  $set(t) {
554
- this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
554
+ this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
555
555
  }
556
556
  }
557
- const Pn = "4";
558
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
557
+ const Ln = "4";
558
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ln);
559
559
  /*! *****************************************************************************
560
560
  Copyright (c) Microsoft Corporation.
561
561
 
@@ -570,18 +570,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
570
570
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
571
571
  PERFORMANCE OF THIS SOFTWARE.
572
572
  ***************************************************************************** */
573
- var Ke = function(e, t) {
574
- return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
573
+ var et = function(e, t) {
574
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
575
575
  r.__proto__ = n;
576
576
  } || function(r, n) {
577
577
  for (var i in n)
578
578
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
579
- }, Ke(e, t);
579
+ }, et(e, t);
580
580
  };
581
581
  function j(e, t) {
582
582
  if (typeof t != "function" && t !== null)
583
583
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
584
- Ke(e, t);
584
+ et(e, t);
585
585
  function r() {
586
586
  this.constructor = e;
587
587
  }
@@ -597,7 +597,7 @@ var w = function() {
597
597
  return t;
598
598
  }, w.apply(this, arguments);
599
599
  };
600
- function Mn(e, t) {
600
+ function Cn(e, t) {
601
601
  var r = {};
602
602
  for (var n in e)
603
603
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -606,7 +606,7 @@ function Mn(e, t) {
606
606
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
607
607
  return r;
608
608
  }
609
- function et(e) {
609
+ function tt(e) {
610
610
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
611
611
  if (r)
612
612
  return r.call(e);
@@ -618,7 +618,7 @@ function et(e) {
618
618
  };
619
619
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
620
620
  }
621
- function tt(e, t) {
621
+ function rt(e, t) {
622
622
  var r = typeof Symbol == "function" && e[Symbol.iterator];
623
623
  if (!r)
624
624
  return e;
@@ -647,13 +647,13 @@ function te(e, t, r) {
647
647
  function $(e) {
648
648
  return typeof e == "function";
649
649
  }
650
- function pr(e) {
650
+ function vr(e) {
651
651
  var t = function(n) {
652
652
  Error.call(n), n.stack = new Error().stack;
653
653
  }, r = e(t);
654
654
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
655
655
  }
656
- var We = pr(function(e) {
656
+ var We = vr(function(e) {
657
657
  return function(r) {
658
658
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
659
659
  ` + r.map(function(n, i) {
@@ -662,7 +662,7 @@ var We = pr(function(e) {
662
662
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
663
663
  };
664
664
  });
665
- function rt(e, t) {
665
+ function nt(e, t) {
666
666
  if (e) {
667
667
  var r = e.indexOf(t);
668
668
  0 <= r && e.splice(r, 1);
@@ -680,12 +680,12 @@ var Oe = function() {
680
680
  if (a)
681
681
  if (this._parentage = null, Array.isArray(a))
682
682
  try {
683
- for (var s = et(a), l = s.next(); !l.done; l = s.next()) {
683
+ for (var s = tt(a), l = s.next(); !l.done; l = s.next()) {
684
684
  var u = l.value;
685
685
  u.remove(this);
686
686
  }
687
- } catch (b) {
688
- t = { error: b };
687
+ } catch (v) {
688
+ t = { error: v };
689
689
  } finally {
690
690
  try {
691
691
  l && !l.done && (r = s.return) && r.call(s);
@@ -700,23 +700,23 @@ var Oe = function() {
700
700
  if ($(h))
701
701
  try {
702
702
  h();
703
- } catch (b) {
704
- o = b instanceof We ? b.errors : [b];
703
+ } catch (v) {
704
+ o = v instanceof We ? v.errors : [v];
705
705
  }
706
706
  var d = this._finalizers;
707
707
  if (d) {
708
708
  this._finalizers = null;
709
709
  try {
710
- for (var f = et(d), p = f.next(); !p.done; p = f.next()) {
710
+ for (var f = tt(d), p = f.next(); !p.done; p = f.next()) {
711
711
  var g = p.value;
712
712
  try {
713
- At(g);
714
- } catch (b) {
715
- o = o != null ? o : [], b instanceof We ? o = te(te([], tt(o)), tt(b.errors)) : o.push(b);
713
+ Ht(g);
714
+ } catch (v) {
715
+ o = o != null ? o : [], v instanceof We ? o = te(te([], rt(o)), rt(v.errors)) : o.push(v);
716
716
  }
717
717
  }
718
- } catch (b) {
719
- n = { error: b };
718
+ } catch (v) {
719
+ n = { error: v };
720
720
  } finally {
721
721
  try {
722
722
  p && !p.done && (i = f.return) && i.call(f);
@@ -733,7 +733,7 @@ var Oe = function() {
733
733
  var r;
734
734
  if (t && t !== this)
735
735
  if (this.closed)
736
- At(t);
736
+ Ht(t);
737
737
  else {
738
738
  if (t instanceof e) {
739
739
  if (t.closed || t._hasParent(this))
@@ -750,56 +750,56 @@ var Oe = function() {
750
750
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
751
751
  }, e.prototype._removeParent = function(t) {
752
752
  var r = this._parentage;
753
- r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
753
+ r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
754
754
  }, e.prototype.remove = function(t) {
755
755
  var r = this._finalizers;
756
- r && rt(r, t), t instanceof e && t._removeParent(this);
756
+ r && nt(r, t), t instanceof e && t._removeParent(this);
757
757
  }, e.EMPTY = function() {
758
758
  var t = new e();
759
759
  return t.closed = !0, t;
760
760
  }(), e;
761
- }(), gr = Oe.EMPTY;
762
- function br(e) {
761
+ }(), br = Oe.EMPTY;
762
+ function yr(e) {
763
763
  return e instanceof Oe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
764
764
  }
765
- function At(e) {
765
+ function Ht(e) {
766
766
  $(e) ? e() : e.unsubscribe();
767
767
  }
768
- var On = {
768
+ var _r = {
769
769
  onUnhandledError: null,
770
770
  onStoppedNotification: null,
771
771
  Promise: void 0,
772
772
  useDeprecatedSynchronousErrorHandling: !1,
773
773
  useDeprecatedNextContext: !1
774
- }, Ln = {
774
+ }, Fn = {
775
775
  setTimeout: function(e, t) {
776
776
  for (var r = [], n = 2; n < arguments.length; n++)
777
777
  r[n - 2] = arguments[n];
778
- return setTimeout.apply(void 0, te([e, t], tt(r)));
778
+ return setTimeout.apply(void 0, te([e, t], rt(r)));
779
779
  },
780
780
  clearTimeout: function(e) {
781
781
  return clearTimeout(e);
782
782
  },
783
783
  delegate: void 0
784
784
  };
785
- function Cn(e) {
786
- Ln.setTimeout(function() {
785
+ function Rn(e) {
786
+ Fn.setTimeout(function() {
787
787
  throw e;
788
788
  });
789
789
  }
790
- function Tt() {
790
+ function Pt() {
791
791
  }
792
792
  function Ie(e) {
793
793
  e();
794
794
  }
795
- var vr = function(e) {
795
+ var xr = function(e) {
796
796
  j(t, e);
797
797
  function t(r) {
798
798
  var n = e.call(this) || this;
799
- return n.isStopped = !1, r ? (n.destination = r, br(r) && r.add(n)) : n.destination = Un, n;
799
+ return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = $n, n;
800
800
  }
801
801
  return t.create = function(r, n, i) {
802
- return new nt(r, n, i);
802
+ return new it(r, n, i);
803
803
  }, t.prototype.next = function(r) {
804
804
  this.isStopped || this._next(r);
805
805
  }, t.prototype.error = function(r) {
@@ -823,7 +823,11 @@ var vr = function(e) {
823
823
  this.unsubscribe();
824
824
  }
825
825
  }, t;
826
- }(Oe), Fn = function() {
826
+ }(Oe), Un = Function.prototype.bind;
827
+ function Ve(e, t) {
828
+ return Un.call(e, t);
829
+ }
830
+ var Dn = function() {
827
831
  function e(t) {
828
832
  this.partialObserver = t;
829
833
  }
@@ -854,43 +858,55 @@ var vr = function(e) {
854
858
  we(r);
855
859
  }
856
860
  }, e;
857
- }(), nt = function(e) {
861
+ }(), it = function(e) {
858
862
  j(t, e);
859
863
  function t(r, n, i) {
860
864
  var o = e.call(this) || this, a;
861
- return $(r) || !r ? a = {
862
- next: r != null ? r : void 0,
863
- error: n != null ? n : void 0,
864
- complete: i != null ? i : void 0
865
- } : a = r, o.destination = new Fn(a), o;
865
+ if ($(r) || !r)
866
+ a = {
867
+ next: r != null ? r : void 0,
868
+ error: n != null ? n : void 0,
869
+ complete: i != null ? i : void 0
870
+ };
871
+ else {
872
+ var s;
873
+ o && _r.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
874
+ return o.unsubscribe();
875
+ }, a = {
876
+ next: r.next && Ve(r.next, s),
877
+ error: r.error && Ve(r.error, s),
878
+ complete: r.complete && Ve(r.complete, s)
879
+ }) : a = r;
880
+ }
881
+ return o.destination = new Dn(a), o;
866
882
  }
867
883
  return t;
868
- }(vr);
884
+ }(xr);
869
885
  function we(e) {
870
- Cn(e);
886
+ Rn(e);
871
887
  }
872
- function Rn(e) {
888
+ function Gn(e) {
873
889
  throw e;
874
890
  }
875
- var Un = {
891
+ var $n = {
876
892
  closed: !0,
877
- next: Tt,
878
- error: Rn,
879
- complete: Tt
880
- }, Dn = function() {
893
+ next: Pt,
894
+ error: Gn,
895
+ complete: Pt
896
+ }, kn = function() {
881
897
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
882
898
  }();
883
- function Gn(e) {
899
+ function jn(e) {
884
900
  return e;
885
901
  }
886
- function $n(e) {
887
- return e.length === 0 ? Gn : e.length === 1 ? e[0] : function(r) {
902
+ function Wn(e) {
903
+ return e.length === 0 ? jn : e.length === 1 ? e[0] : function(r) {
888
904
  return e.reduce(function(n, i) {
889
905
  return i(n);
890
906
  }, r);
891
907
  };
892
908
  }
893
- var Ht = function() {
909
+ var Mt = function() {
894
910
  function e(t) {
895
911
  t && (this._subscribe = t);
896
912
  }
@@ -898,7 +914,7 @@ var Ht = function() {
898
914
  var r = new e();
899
915
  return r.source = this, r.operator = t, r;
900
916
  }, e.prototype.subscribe = function(t, r, n) {
901
- var i = this, o = jn(t) ? t : new nt(t, r, n);
917
+ var i = this, o = Xn(t) ? t : new it(t, r, n);
902
918
  return Ie(function() {
903
919
  var a = i, s = a.operator, l = a.source;
904
920
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -911,8 +927,8 @@ var Ht = function() {
911
927
  }
912
928
  }, e.prototype.forEach = function(t, r) {
913
929
  var n = this;
914
- return r = Pt(r), new r(function(i, o) {
915
- var a = new nt({
930
+ return r = Ot(r), new r(function(i, o) {
931
+ var a = new it({
916
932
  next: function(s) {
917
933
  try {
918
934
  t(s);
@@ -928,15 +944,15 @@ var Ht = function() {
928
944
  }, e.prototype._subscribe = function(t) {
929
945
  var r;
930
946
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
931
- }, e.prototype[Dn] = function() {
947
+ }, e.prototype[kn] = function() {
932
948
  return this;
933
949
  }, e.prototype.pipe = function() {
934
950
  for (var t = [], r = 0; r < arguments.length; r++)
935
951
  t[r] = arguments[r];
936
- return $n(t)(this);
952
+ return Wn(t)(this);
937
953
  }, e.prototype.toPromise = function(t) {
938
954
  var r = this;
939
- return t = Pt(t), new t(function(n, i) {
955
+ return t = Ot(t), new t(function(n, i) {
940
956
  var o;
941
957
  r.subscribe(function(a) {
942
958
  return o = a;
@@ -950,32 +966,32 @@ var Ht = function() {
950
966
  return new e(t);
951
967
  }, e;
952
968
  }();
953
- function Pt(e) {
969
+ function Ot(e) {
954
970
  var t;
955
- return (t = e != null ? e : On.Promise) !== null && t !== void 0 ? t : Promise;
971
+ return (t = e != null ? e : _r.Promise) !== null && t !== void 0 ? t : Promise;
956
972
  }
957
- function kn(e) {
973
+ function Vn(e) {
958
974
  return e && $(e.next) && $(e.error) && $(e.complete);
959
975
  }
960
- function jn(e) {
961
- return e && e instanceof vr || kn(e) && br(e);
976
+ function Xn(e) {
977
+ return e && e instanceof xr || Vn(e) && yr(e);
962
978
  }
963
- var Wn = pr(function(e) {
979
+ var zn = vr(function(e) {
964
980
  return function() {
965
981
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
966
982
  };
967
- }), yr = function(e) {
983
+ }), wr = function(e) {
968
984
  j(t, e);
969
985
  function t() {
970
986
  var r = e.call(this) || this;
971
987
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
972
988
  }
973
989
  return t.prototype.lift = function(r) {
974
- var n = new Mt(this, this);
990
+ var n = new Lt(this, this);
975
991
  return n.operator = r, n;
976
992
  }, t.prototype._throwIfClosed = function() {
977
993
  if (this.closed)
978
- throw new Wn();
994
+ throw new zn();
979
995
  }, t.prototype.next = function(r) {
980
996
  var n = this;
981
997
  Ie(function() {
@@ -983,7 +999,7 @@ var Wn = pr(function(e) {
983
999
  if (n._throwIfClosed(), !n.isStopped) {
984
1000
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
985
1001
  try {
986
- for (var a = et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1002
+ for (var a = tt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
987
1003
  var l = s.value;
988
1004
  l.next(r);
989
1005
  }
@@ -1032,19 +1048,19 @@ var Wn = pr(function(e) {
1032
1048
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1033
1049
  }, t.prototype._innerSubscribe = function(r) {
1034
1050
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1035
- return o || a ? gr : (this.currentObservers = null, s.push(r), new Oe(function() {
1036
- n.currentObservers = null, rt(s, r);
1051
+ return o || a ? br : (this.currentObservers = null, s.push(r), new Oe(function() {
1052
+ n.currentObservers = null, nt(s, r);
1037
1053
  }));
1038
1054
  }, t.prototype._checkFinalizedStatuses = function(r) {
1039
1055
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1040
1056
  i ? r.error(o) : a && r.complete();
1041
1057
  }, t.prototype.asObservable = function() {
1042
- var r = new Ht();
1058
+ var r = new Mt();
1043
1059
  return r.source = this, r;
1044
1060
  }, t.create = function(r, n) {
1045
- return new Mt(r, n);
1061
+ return new Lt(r, n);
1046
1062
  }, t;
1047
- }(Ht), Mt = function(e) {
1063
+ }(Mt), Lt = function(e) {
1048
1064
  j(t, e);
1049
1065
  function t(r, n) {
1050
1066
  var i = e.call(this) || this;
@@ -1061,17 +1077,17 @@ var Wn = pr(function(e) {
1061
1077
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1062
1078
  }, t.prototype._subscribe = function(r) {
1063
1079
  var n, i;
1064
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
1080
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
1065
1081
  }, t;
1066
- }(yr), _r = {
1082
+ }(wr), Er = {
1067
1083
  now: function() {
1068
- return (_r.delegate || Date).now();
1084
+ return (Er.delegate || Date).now();
1069
1085
  },
1070
1086
  delegate: void 0
1071
- }, Vn = function(e) {
1087
+ }, Zn = function(e) {
1072
1088
  j(t, e);
1073
1089
  function t(r, n, i) {
1074
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
1090
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Er);
1075
1091
  var o = e.call(this) || this;
1076
1092
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1077
1093
  }
@@ -1091,15 +1107,15 @@ var Wn = pr(function(e) {
1091
1107
  u && o.splice(0, u + 1);
1092
1108
  }
1093
1109
  }, t;
1094
- }(yr);
1095
- const Ot = [], Lt = {}, Xn = (e, t = 0) => {
1096
- if (Ot.indexOf(e) == -1) {
1097
- const r = new Vn(t);
1098
- Lt[e] = r, Ot.push(e);
1110
+ }(wr);
1111
+ const Ct = [], Ft = {}, Qn = (e, t = 0) => {
1112
+ if (Ct.indexOf(e) == -1) {
1113
+ const r = new Zn(t);
1114
+ Ft[e] = r, Ct.push(e);
1099
1115
  }
1100
- return Lt[e];
1116
+ return Ft[e];
1101
1117
  }, q = [];
1102
- function zn(e, t) {
1118
+ function Yn(e, t) {
1103
1119
  return {
1104
1120
  subscribe: Le(e, t).subscribe
1105
1121
  };
@@ -1108,7 +1124,7 @@ function Le(e, t = D) {
1108
1124
  let r;
1109
1125
  const n = /* @__PURE__ */ new Set();
1110
1126
  function i(s) {
1111
- if (lr(e, s) && (e = s, r)) {
1127
+ if (hr(e, s) && (e = s, r)) {
1112
1128
  const l = !q.length;
1113
1129
  for (const u of n)
1114
1130
  u[1](), q.push(u, e);
@@ -1135,7 +1151,7 @@ function le(e, t, r) {
1135
1151
  if (!i.every(Boolean))
1136
1152
  throw new Error("derived() expects stores as input, got a falsy value");
1137
1153
  const o = t.length < 2;
1138
- return zn(r, (a, s) => {
1154
+ return Yn(r, (a, s) => {
1139
1155
  let l = !1;
1140
1156
  const u = [];
1141
1157
  let h = 0, d = D;
@@ -1144,15 +1160,15 @@ function le(e, t, r) {
1144
1160
  return;
1145
1161
  d();
1146
1162
  const g = t(n ? u[0] : u, a, s);
1147
- o ? a(g) : d = ft(g) ? g : D;
1163
+ o ? a(g) : d = dt(g) ? g : D;
1148
1164
  }, p = i.map(
1149
- (g, b) => ur(
1165
+ (g, v) => cr(
1150
1166
  g,
1151
1167
  (A) => {
1152
- u[b] = A, h &= ~(1 << b), l && f();
1168
+ u[v] = A, h &= ~(1 << v), l && f();
1153
1169
  },
1154
1170
  () => {
1155
- h |= 1 << b;
1171
+ h |= 1 << v;
1156
1172
  }
1157
1173
  )
1158
1174
  );
@@ -1161,70 +1177,70 @@ function le(e, t, r) {
1161
1177
  };
1162
1178
  });
1163
1179
  }
1164
- function Zn(e) {
1165
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1180
+ function Jn(e) {
1181
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1166
1182
  }
1167
- var Qn = function(t) {
1168
- return Yn(t) && !Jn(t);
1183
+ var qn = function(t) {
1184
+ return Kn(t) && !ei(t);
1169
1185
  };
1170
- function Yn(e) {
1186
+ function Kn(e) {
1171
1187
  return !!e && typeof e == "object";
1172
1188
  }
1173
- function Jn(e) {
1189
+ function ei(e) {
1174
1190
  var t = Object.prototype.toString.call(e);
1175
- return t === "[object RegExp]" || t === "[object Date]" || ei(e);
1191
+ return t === "[object RegExp]" || t === "[object Date]" || ni(e);
1176
1192
  }
1177
- var qn = typeof Symbol == "function" && Symbol.for, Kn = qn ? Symbol.for("react.element") : 60103;
1178
- function ei(e) {
1179
- return e.$$typeof === Kn;
1193
+ var ti = typeof Symbol == "function" && Symbol.for, ri = ti ? Symbol.for("react.element") : 60103;
1194
+ function ni(e) {
1195
+ return e.$$typeof === ri;
1180
1196
  }
1181
- function ti(e) {
1197
+ function ii(e) {
1182
1198
  return Array.isArray(e) ? [] : {};
1183
1199
  }
1184
1200
  function ge(e, t) {
1185
- return t.clone !== !1 && t.isMergeableObject(e) ? ne(ti(e), e, t) : e;
1201
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(ii(e), e, t) : e;
1186
1202
  }
1187
- function ri(e, t, r) {
1203
+ function oi(e, t, r) {
1188
1204
  return e.concat(t).map(function(n) {
1189
1205
  return ge(n, r);
1190
1206
  });
1191
1207
  }
1192
- function ni(e, t) {
1208
+ function ai(e, t) {
1193
1209
  if (!t.customMerge)
1194
1210
  return ne;
1195
1211
  var r = t.customMerge(e);
1196
1212
  return typeof r == "function" ? r : ne;
1197
1213
  }
1198
- function ii(e) {
1214
+ function si(e) {
1199
1215
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1200
1216
  return Object.propertyIsEnumerable.call(e, t);
1201
1217
  }) : [];
1202
1218
  }
1203
- function Ct(e) {
1204
- return Object.keys(e).concat(ii(e));
1219
+ function Rt(e) {
1220
+ return Object.keys(e).concat(si(e));
1205
1221
  }
1206
- function xr(e, t) {
1222
+ function Nr(e, t) {
1207
1223
  try {
1208
1224
  return t in e;
1209
1225
  } catch (r) {
1210
1226
  return !1;
1211
1227
  }
1212
1228
  }
1213
- function oi(e, t) {
1214
- return xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1229
+ function li(e, t) {
1230
+ return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1215
1231
  }
1216
- function ai(e, t, r) {
1232
+ function ui(e, t, r) {
1217
1233
  var n = {};
1218
- return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
1234
+ return r.isMergeableObject(e) && Rt(e).forEach(function(i) {
1219
1235
  n[i] = ge(e[i], r);
1220
- }), Ct(t).forEach(function(i) {
1221
- oi(e, i) || (xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ni(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
1236
+ }), Rt(t).forEach(function(i) {
1237
+ li(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ai(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
1222
1238
  }), n;
1223
1239
  }
1224
1240
  function ne(e, t, r) {
1225
- r = r || {}, r.arrayMerge = r.arrayMerge || ri, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = ge;
1241
+ r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = ge;
1226
1242
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1227
- return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : ge(t, r);
1243
+ return o ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : ge(t, r);
1228
1244
  }
1229
1245
  ne.all = function(t, r) {
1230
1246
  if (!Array.isArray(t))
@@ -1233,60 +1249,58 @@ ne.all = function(t, r) {
1233
1249
  return ne(n, i, r);
1234
1250
  }, {});
1235
1251
  };
1236
- var si = ne, li = si;
1237
- const ui = /* @__PURE__ */ Zn(li);
1238
- function Ve(e, t) {
1239
- var r = t && t.cache ? t.cache : gi, n = t && t.serializer ? t.serializer : mi, i = t && t.strategy ? t.strategy : ci;
1252
+ var hi = ne, ci = hi;
1253
+ const fi = /* @__PURE__ */ Jn(ci);
1254
+ function Xe(e, t) {
1255
+ var r = t && t.cache ? t.cache : bi, n = t && t.serializer ? t.serializer : vi, i = t && t.strategy ? t.strategy : mi;
1240
1256
  return i(e, {
1241
1257
  cache: r,
1242
1258
  serializer: n
1243
1259
  });
1244
1260
  }
1245
- function hi(e) {
1261
+ function di(e) {
1246
1262
  return e == null || typeof e == "number" || typeof e == "boolean";
1247
1263
  }
1248
- function wr(e, t, r, n) {
1249
- var i = hi(n) ? n : r(n), o = t.get(i);
1264
+ function Sr(e, t, r, n) {
1265
+ var i = di(n) ? n : r(n), o = t.get(i);
1250
1266
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1251
1267
  }
1252
- function Er(e, t, r) {
1268
+ function Ir(e, t, r) {
1253
1269
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1254
1270
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1255
1271
  }
1256
- function mt(e, t, r, n, i) {
1272
+ function pt(e, t, r, n, i) {
1257
1273
  return r.bind(t, e, n, i);
1258
1274
  }
1259
- function ci(e, t) {
1260
- var r = e.length === 1 ? wr : Er;
1261
- return mt(e, this, r, t.cache.create(), t.serializer);
1275
+ function mi(e, t) {
1276
+ var r = e.length === 1 ? Sr : Ir;
1277
+ return pt(e, this, r, t.cache.create(), t.serializer);
1262
1278
  }
1263
- function fi(e, t) {
1264
- return mt(e, this, Er, t.cache.create(), t.serializer);
1279
+ function pi(e, t) {
1280
+ return pt(e, this, Ir, t.cache.create(), t.serializer);
1265
1281
  }
1266
- function di(e, t) {
1267
- return mt(e, this, wr, t.cache.create(), t.serializer);
1282
+ function gi(e, t) {
1283
+ return pt(e, this, Sr, t.cache.create(), t.serializer);
1268
1284
  }
1269
- var mi = function() {
1285
+ var vi = function() {
1270
1286
  return JSON.stringify(arguments);
1271
- }, pi = (
1272
- /** @class */
1273
- function() {
1274
- function e() {
1275
- this.cache = /* @__PURE__ */ Object.create(null);
1276
- }
1277
- return e.prototype.get = function(t) {
1278
- return this.cache[t];
1279
- }, e.prototype.set = function(t, r) {
1280
- this.cache[t] = r;
1281
- }, e;
1282
- }()
1283
- ), gi = {
1287
+ };
1288
+ function gt() {
1289
+ this.cache = /* @__PURE__ */ Object.create(null);
1290
+ }
1291
+ gt.prototype.get = function(e) {
1292
+ return this.cache[e];
1293
+ };
1294
+ gt.prototype.set = function(e, t) {
1295
+ this.cache[e] = t;
1296
+ };
1297
+ var bi = {
1284
1298
  create: function() {
1285
- return new pi();
1299
+ return new gt();
1286
1300
  }
1287
- }, Xe = {
1288
- variadic: fi,
1289
- monadic: di
1301
+ }, ze = {
1302
+ variadic: pi,
1303
+ monadic: gi
1290
1304
  }, _;
1291
1305
  (function(e) {
1292
1306
  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";
@@ -1299,43 +1313,43 @@ var ie;
1299
1313
  (function(e) {
1300
1314
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1301
1315
  })(ie || (ie = {}));
1302
- function Ft(e) {
1316
+ function Ut(e) {
1303
1317
  return e.type === I.literal;
1304
1318
  }
1305
- function bi(e) {
1319
+ function yi(e) {
1306
1320
  return e.type === I.argument;
1307
1321
  }
1308
- function Nr(e) {
1322
+ function Br(e) {
1309
1323
  return e.type === I.number;
1310
1324
  }
1311
- function Sr(e) {
1325
+ function Ar(e) {
1312
1326
  return e.type === I.date;
1313
1327
  }
1314
- function Ir(e) {
1328
+ function Tr(e) {
1315
1329
  return e.type === I.time;
1316
1330
  }
1317
- function Br(e) {
1331
+ function Hr(e) {
1318
1332
  return e.type === I.select;
1319
1333
  }
1320
- function Ar(e) {
1334
+ function Pr(e) {
1321
1335
  return e.type === I.plural;
1322
1336
  }
1323
- function vi(e) {
1337
+ function _i(e) {
1324
1338
  return e.type === I.pound;
1325
1339
  }
1326
- function Tr(e) {
1340
+ function Mr(e) {
1327
1341
  return e.type === I.tag;
1328
1342
  }
1329
- function Hr(e) {
1343
+ function Or(e) {
1330
1344
  return !!(e && typeof e == "object" && e.type === ie.number);
1331
1345
  }
1332
- function it(e) {
1346
+ function ot(e) {
1333
1347
  return !!(e && typeof e == "object" && e.type === ie.dateTime);
1334
1348
  }
1335
- var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
1336
- function _i(e) {
1349
+ var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1350
+ function wi(e) {
1337
1351
  var t = {};
1338
- return e.replace(yi, function(r) {
1352
+ return e.replace(xi, function(r) {
1339
1353
  var n = r.length;
1340
1354
  switch (r[0]) {
1341
1355
  case "G":
@@ -1424,11 +1438,11 @@ function _i(e) {
1424
1438
  return "";
1425
1439
  }), t;
1426
1440
  }
1427
- var xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1428
- function wi(e) {
1441
+ var Ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1442
+ function Ni(e) {
1429
1443
  if (e.length === 0)
1430
1444
  throw new Error("Number skeleton cannot be empty");
1431
- for (var t = e.split(xi).filter(function(f) {
1445
+ for (var t = e.split(Ei).filter(function(f) {
1432
1446
  return f.length > 0;
1433
1447
  }), r = [], n = 0, i = t; n < i.length; n++) {
1434
1448
  var o = i[n], a = o.split("/");
@@ -1443,17 +1457,17 @@ function wi(e) {
1443
1457
  }
1444
1458
  return r;
1445
1459
  }
1446
- function Ei(e) {
1460
+ function Si(e) {
1447
1461
  return e.replace(/^(.*?)-/, "");
1448
1462
  }
1449
- var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mr = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
1450
- function Ut(e) {
1463
+ var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
1464
+ function Gt(e) {
1451
1465
  var t = {};
1452
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mr, function(r, n, i) {
1466
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
1453
1467
  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)), "";
1454
1468
  }), t;
1455
1469
  }
1456
- function Lr(e) {
1470
+ function Rr(e) {
1457
1471
  switch (e) {
1458
1472
  case "sign-auto":
1459
1473
  return {
@@ -1493,7 +1507,7 @@ function Lr(e) {
1493
1507
  };
1494
1508
  }
1495
1509
  }
1496
- function Si(e) {
1510
+ function Bi(e) {
1497
1511
  var t;
1498
1512
  if (e[0] === "E" && e[1] === "E" ? (t = {
1499
1513
  notation: "engineering"
@@ -1501,17 +1515,17 @@ function Si(e) {
1501
1515
  notation: "scientific"
1502
1516
  }, e = e.slice(1)), t) {
1503
1517
  var r = e.slice(0, 2);
1504
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
1518
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
1505
1519
  throw new Error("Malformed concise eng/scientific notation");
1506
1520
  t.minimumIntegerDigits = e.length;
1507
1521
  }
1508
1522
  return t;
1509
1523
  }
1510
- function Dt(e) {
1511
- var t = {}, r = Lr(e);
1524
+ function $t(e) {
1525
+ var t = {}, r = Rr(e);
1512
1526
  return r || t;
1513
1527
  }
1514
- function Ii(e) {
1528
+ function Ai(e) {
1515
1529
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1516
1530
  var i = n[r];
1517
1531
  switch (i.stem) {
@@ -1535,7 +1549,7 @@ function Ii(e) {
1535
1549
  continue;
1536
1550
  case "measure-unit":
1537
1551
  case "unit":
1538
- t.style = "unit", t.unit = Ei(i.options[0]);
1552
+ t.style = "unit", t.unit = Si(i.options[0]);
1539
1553
  continue;
1540
1554
  case "compact-short":
1541
1555
  case "K":
@@ -1547,12 +1561,12 @@ function Ii(e) {
1547
1561
  continue;
1548
1562
  case "scientific":
1549
1563
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1550
- return w(w({}, l), Dt(u));
1564
+ return w(w({}, l), $t(u));
1551
1565
  }, {}));
1552
1566
  continue;
1553
1567
  case "engineering":
1554
1568
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1555
- return w(w({}, l), Dt(u));
1569
+ return w(w({}, l), $t(u));
1556
1570
  }, {}));
1557
1571
  continue;
1558
1572
  case "notation-simple":
@@ -1597,7 +1611,7 @@ function Ii(e) {
1597
1611
  case "integer-width":
1598
1612
  if (i.options.length > 1)
1599
1613
  throw new RangeError("integer-width stems only accept a single optional option");
1600
- i.options[0].replace(Ni, function(l, u, h, d, f, p) {
1614
+ i.options[0].replace(Ii, function(l, u, h, d, f, p) {
1601
1615
  if (u)
1602
1616
  t.minimumIntegerDigits = h.length;
1603
1617
  else {
@@ -1610,27 +1624,27 @@ function Ii(e) {
1610
1624
  });
1611
1625
  continue;
1612
1626
  }
1613
- if (Or.test(i.stem)) {
1627
+ if (Fr.test(i.stem)) {
1614
1628
  t.minimumIntegerDigits = i.stem.length;
1615
1629
  continue;
1616
1630
  }
1617
- if (Rt.test(i.stem)) {
1631
+ if (Dt.test(i.stem)) {
1618
1632
  if (i.options.length > 1)
1619
1633
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1620
- i.stem.replace(Rt, function(l, u, h, d, f, p) {
1634
+ i.stem.replace(Dt, function(l, u, h, d, f, p) {
1621
1635
  return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1622
1636
  });
1623
1637
  var o = i.options[0];
1624
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ut(o)));
1638
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Gt(o)));
1625
1639
  continue;
1626
1640
  }
1627
- if (Mr.test(i.stem)) {
1628
- t = w(w({}, t), Ut(i.stem));
1641
+ if (Cr.test(i.stem)) {
1642
+ t = w(w({}, t), Gt(i.stem));
1629
1643
  continue;
1630
1644
  }
1631
- var a = Lr(i.stem);
1645
+ var a = Rr(i.stem);
1632
1646
  a && (t = w(w({}, t), a));
1633
- var s = Si(i.stem);
1647
+ var s = Bi(i.stem);
1634
1648
  s && (t = w(w({}, t), s));
1635
1649
  }
1636
1650
  return t;
@@ -3050,13 +3064,13 @@ var Ee = {
3050
3064
  "h"
3051
3065
  ]
3052
3066
  };
3053
- function Bi(e, t) {
3067
+ function Ti(e, t) {
3054
3068
  for (var r = "", n = 0; n < e.length; n++) {
3055
3069
  var i = e.charAt(n);
3056
3070
  if (i === "j") {
3057
3071
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3058
3072
  o++, n++;
3059
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ai(t);
3073
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
3060
3074
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3061
3075
  r += l;
3062
3076
  for (; a-- > 0; )
@@ -3066,7 +3080,7 @@ function Bi(e, t) {
3066
3080
  }
3067
3081
  return r;
3068
3082
  }
3069
- function Ai(e) {
3083
+ function Hi(e) {
3070
3084
  var t = e.hourCycle;
3071
3085
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3072
3086
  e.hourCycles && // @ts-ignore
@@ -3088,20 +3102,20 @@ function Ai(e) {
3088
3102
  var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3089
3103
  return i[0];
3090
3104
  }
3091
- var ze, Ti = new RegExp("^".concat(Pr.source, "*")), Hi = new RegExp("".concat(Pr.source, "*$"));
3105
+ var Ze, Pi = new RegExp("^".concat(Lr.source, "*")), Mi = new RegExp("".concat(Lr.source, "*$"));
3092
3106
  function x(e, t) {
3093
3107
  return { start: e, end: t };
3094
3108
  }
3095
- var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mi = !!String.fromCodePoint, Oi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ui = Ri ? Number.isSafeInteger : function(e) {
3109
+ var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ci = !!Object.fromEntries, Fi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Di = !!Number.isSafeInteger, Gi = Di ? Number.isSafeInteger : function(e) {
3096
3110
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3097
- }, ot = !0;
3111
+ }, at = !0;
3098
3112
  try {
3099
- var Di = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3100
- ot = ((ze = Di.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
3113
+ var $i = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ at = ((Ze = $i.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
3101
3115
  } catch (e) {
3102
- ot = !1;
3116
+ at = !1;
3103
3117
  }
3104
- var Gt = Pi ? (
3118
+ var kt = Oi ? (
3105
3119
  // Native
3106
3120
  function(t, r, n) {
3107
3121
  return t.startsWith(r, n);
@@ -3111,7 +3125,7 @@ var Gt = Pi ? (
3111
3125
  function(t, r, n) {
3112
3126
  return t.slice(n, n + r.length) === r;
3113
3127
  }
3114
- ), at = Mi ? String.fromCodePoint : (
3128
+ ), st = Li ? String.fromCodePoint : (
3115
3129
  // IE11
3116
3130
  function() {
3117
3131
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3123,9 +3137,9 @@ var Gt = Pi ? (
3123
3137
  }
3124
3138
  return n;
3125
3139
  }
3126
- ), $t = (
3140
+ ), jt = (
3127
3141
  // native
3128
- Oi ? Object.fromEntries : (
3142
+ Ci ? Object.fromEntries : (
3129
3143
  // Ponyfill
3130
3144
  function(t) {
3131
3145
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3135,7 +3149,7 @@ var Gt = Pi ? (
3135
3149
  return r;
3136
3150
  }
3137
3151
  )
3138
- ), Cr = Li ? (
3152
+ ), Ur = Fi ? (
3139
3153
  // Native
3140
3154
  function(t, r) {
3141
3155
  return t.codePointAt(r);
@@ -3149,7 +3163,7 @@ var Gt = Pi ? (
3149
3163
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3150
3164
  }
3151
3165
  }
3152
- ), Gi = Ci ? (
3166
+ ), ki = Ri ? (
3153
3167
  // Native
3154
3168
  function(t) {
3155
3169
  return t.trimStart();
@@ -3157,9 +3171,9 @@ var Gt = Pi ? (
3157
3171
  ) : (
3158
3172
  // Ponyfill
3159
3173
  function(t) {
3160
- return t.replace(Ti, "");
3174
+ return t.replace(Pi, "");
3161
3175
  }
3162
- ), $i = Fi ? (
3176
+ ), ji = Ui ? (
3163
3177
  // Native
3164
3178
  function(t) {
3165
3179
  return t.trimEnd();
@@ -3167,32 +3181,32 @@ var Gt = Pi ? (
3167
3181
  ) : (
3168
3182
  // Ponyfill
3169
3183
  function(t) {
3170
- return t.replace(Hi, "");
3184
+ return t.replace(Mi, "");
3171
3185
  }
3172
3186
  );
3173
- function Fr(e, t) {
3187
+ function Dr(e, t) {
3174
3188
  return new RegExp(e, t);
3175
3189
  }
3176
- var st;
3177
- if (ot) {
3178
- var kt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3179
- st = function(t, r) {
3190
+ var lt;
3191
+ if (at) {
3192
+ var Wt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3193
+ lt = function(t, r) {
3180
3194
  var n;
3181
- kt.lastIndex = r;
3182
- var i = kt.exec(t);
3195
+ Wt.lastIndex = r;
3196
+ var i = Wt.exec(t);
3183
3197
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3184
3198
  };
3185
3199
  } else
3186
- st = function(t, r) {
3200
+ lt = function(t, r) {
3187
3201
  for (var n = []; ; ) {
3188
- var i = Cr(t, r);
3189
- if (i === void 0 || Rr(i) || Vi(i))
3202
+ var i = Ur(t, r);
3203
+ if (i === void 0 || Gr(i) || zi(i))
3190
3204
  break;
3191
3205
  n.push(i), r += i >= 65536 ? 2 : 1;
3192
3206
  }
3193
- return at.apply(void 0, n);
3207
+ return st.apply(void 0, n);
3194
3208
  };
3195
- var ki = (
3209
+ var Wi = (
3196
3210
  /** @class */
3197
3211
  function() {
3198
3212
  function e(t, r) {
@@ -3223,7 +3237,7 @@ var ki = (
3223
3237
  if (n)
3224
3238
  break;
3225
3239
  return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3226
- } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
3240
+ } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
3227
3241
  var a = this.parseTag(t, r);
3228
3242
  if (a.err)
3229
3243
  return a;
@@ -3256,7 +3270,7 @@ var ki = (
3256
3270
  return o;
3257
3271
  var a = o.val, s = this.clonePosition();
3258
3272
  if (this.bumpIf("</")) {
3259
- if (this.isEOF() || !lt(this.char()))
3273
+ if (this.isEOF() || !ut(this.char()))
3260
3274
  return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
3261
3275
  var l = this.clonePosition(), u = this.parseTagName();
3262
3276
  return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3274,7 +3288,7 @@ var ki = (
3274
3288
  return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3275
3289
  }, e.prototype.parseTagName = function() {
3276
3290
  var t = this.offset();
3277
- for (this.bump(); !this.isEOF() && Wi(this.char()); )
3291
+ for (this.bump(); !this.isEOF() && Xi(this.char()); )
3278
3292
  this.bump();
3279
3293
  return this.message.slice(t, this.offset());
3280
3294
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3303,7 +3317,7 @@ var ki = (
3303
3317
  };
3304
3318
  }, e.prototype.tryParseLeftAngleBracket = function() {
3305
3319
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3306
- !ji(this.peek() || 0)) ? (this.bump(), "<") : null;
3320
+ !Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3307
3321
  }, e.prototype.tryParseQuote = function(t) {
3308
3322
  if (this.isEOF() || this.char() !== 39)
3309
3323
  return null;
@@ -3337,12 +3351,12 @@ var ki = (
3337
3351
  r.push(n);
3338
3352
  this.bump();
3339
3353
  }
3340
- return at.apply(void 0, r);
3354
+ return st.apply(void 0, r);
3341
3355
  }, e.prototype.tryParseUnquoted = function(t, r) {
3342
3356
  if (this.isEOF())
3343
3357
  return null;
3344
3358
  var n = this.char();
3345
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
3359
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
3346
3360
  }, e.prototype.parseArgument = function(t, r) {
3347
3361
  var n = this.clonePosition();
3348
3362
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3371,7 +3385,7 @@ var ki = (
3371
3385
  return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3372
3386
  }
3373
3387
  }, e.prototype.parseIdentifierIfPossible = function() {
3374
- var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
3388
+ var t = this.clonePosition(), r = this.offset(), n = lt(this.message, r), i = r + n.length;
3375
3389
  this.bumpTo(i);
3376
3390
  var o = this.clonePosition(), a = x(t, o);
3377
3391
  return { value: n, location: a };
@@ -3390,7 +3404,7 @@ var ki = (
3390
3404
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3391
3405
  if (d.err)
3392
3406
  return d;
3393
- var f = $i(d.val);
3407
+ var f = ji(d.val);
3394
3408
  if (f.length === 0)
3395
3409
  return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3396
3410
  var p = x(h, this.clonePosition());
@@ -3399,28 +3413,28 @@ var ki = (
3399
3413
  var g = this.tryParseArgumentClose(i);
3400
3414
  if (g.err)
3401
3415
  return g;
3402
- var b = x(i, this.clonePosition());
3403
- if (u && Gt(u == null ? void 0 : u.style, "::", 0)) {
3404
- var A = Gi(u.style.slice(2));
3416
+ var v = x(i, this.clonePosition());
3417
+ if (u && kt(u == null ? void 0 : u.style, "::", 0)) {
3418
+ var A = ki(u.style.slice(2));
3405
3419
  if (s === "number") {
3406
3420
  var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
3407
3421
  return d.err ? d : {
3408
- val: { type: I.number, value: n, location: b, style: d.val },
3422
+ val: { type: I.number, value: n, location: v, style: d.val },
3409
3423
  err: null
3410
3424
  };
3411
3425
  } else {
3412
3426
  if (A.length === 0)
3413
- return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3427
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
3414
3428
  var S = A;
3415
- this.locale && (S = Bi(A, this.locale));
3429
+ this.locale && (S = Ti(A, this.locale));
3416
3430
  var f = {
3417
3431
  type: ie.dateTime,
3418
3432
  pattern: S,
3419
3433
  location: u.styleLocation,
3420
- parsedOptions: this.shouldParseSkeletons ? _i(S) : {}
3421
- }, v = s === "date" ? I.date : I.time;
3434
+ parsedOptions: this.shouldParseSkeletons ? wi(S) : {}
3435
+ }, b = s === "date" ? I.date : I.time;
3422
3436
  return {
3423
- val: { type: v, value: n, location: b, style: f },
3437
+ val: { type: b, value: n, location: v, style: f },
3424
3438
  err: null
3425
3439
  };
3426
3440
  }
@@ -3429,7 +3443,7 @@ var ki = (
3429
3443
  val: {
3430
3444
  type: s === "number" ? I.number : s === "date" ? I.date : I.time,
3431
3445
  value: n,
3432
- location: b,
3446
+ location: v,
3433
3447
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3434
3448
  },
3435
3449
  err: null
@@ -3463,7 +3477,7 @@ var ki = (
3463
3477
  val: {
3464
3478
  type: I.select,
3465
3479
  value: n,
3466
- options: $t(W.val),
3480
+ options: jt(W.val),
3467
3481
  location: Y
3468
3482
  },
3469
3483
  err: null
@@ -3471,7 +3485,7 @@ var ki = (
3471
3485
  val: {
3472
3486
  type: I.plural,
3473
3487
  value: n,
3474
- options: $t(W.val),
3488
+ options: jt(W.val),
3475
3489
  offset: H,
3476
3490
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3477
3491
  location: Y
@@ -3522,7 +3536,7 @@ var ki = (
3522
3536
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3523
3537
  var n = [];
3524
3538
  try {
3525
- n = wi(t);
3539
+ n = Ni(t);
3526
3540
  } catch (i) {
3527
3541
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3528
3542
  }
@@ -3531,7 +3545,7 @@ var ki = (
3531
3545
  type: ie.number,
3532
3546
  tokens: n,
3533
3547
  location: r,
3534
- parsedOptions: this.shouldParseSkeletons ? Ii(n) : {}
3548
+ parsedOptions: this.shouldParseSkeletons ? Ai(n) : {}
3535
3549
  },
3536
3550
  err: null
3537
3551
  };
@@ -3556,9 +3570,9 @@ var ki = (
3556
3570
  var g = this.parseMessage(t + 1, r, n);
3557
3571
  if (g.err)
3558
3572
  return g;
3559
- var b = this.tryParseArgumentClose(p);
3560
- if (b.err)
3561
- return b;
3573
+ var v = this.tryParseArgumentClose(p);
3574
+ if (v.err)
3575
+ return v;
3562
3576
  s.push([
3563
3577
  u,
3564
3578
  {
@@ -3579,7 +3593,7 @@ var ki = (
3579
3593
  break;
3580
3594
  }
3581
3595
  var l = x(i, this.clonePosition());
3582
- return o ? (a *= n, Ui(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3596
+ return o ? (a *= n, Gi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3583
3597
  }, e.prototype.offset = function() {
3584
3598
  return this.position.offset;
3585
3599
  }, e.prototype.isEOF = function() {
@@ -3594,7 +3608,7 @@ var ki = (
3594
3608
  var t = this.position.offset;
3595
3609
  if (t >= this.message.length)
3596
3610
  throw Error("out of bound");
3597
- var r = Cr(this.message, t);
3611
+ var r = Ur(this.message, t);
3598
3612
  if (r === void 0)
3599
3613
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3600
3614
  return r;
@@ -3613,7 +3627,7 @@ var ki = (
3613
3627
  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);
3614
3628
  }
3615
3629
  }, e.prototype.bumpIf = function(t) {
3616
- if (Gt(this.message, t, this.offset())) {
3630
+ if (kt(this.message, t, this.offset())) {
3617
3631
  for (var r = 0; r < t.length; r++)
3618
3632
  this.bump();
3619
3633
  return !0;
@@ -3635,7 +3649,7 @@ var ki = (
3635
3649
  break;
3636
3650
  }
3637
3651
  }, e.prototype.bumpSpace = function() {
3638
- for (; !this.isEOF() && Rr(this.char()); )
3652
+ for (; !this.isEOF() && Gr(this.char()); )
3639
3653
  this.bump();
3640
3654
  }, e.prototype.peek = function() {
3641
3655
  if (this.isEOF())
@@ -3645,38 +3659,38 @@ var ki = (
3645
3659
  }, e;
3646
3660
  }()
3647
3661
  );
3648
- function lt(e) {
3662
+ function ut(e) {
3649
3663
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3650
3664
  }
3651
- function ji(e) {
3652
- return lt(e) || e === 47;
3665
+ function Vi(e) {
3666
+ return ut(e) || e === 47;
3653
3667
  }
3654
- function Wi(e) {
3668
+ function Xi(e) {
3655
3669
  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;
3656
3670
  }
3657
- function Rr(e) {
3671
+ function Gr(e) {
3658
3672
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3659
3673
  }
3660
- function Vi(e) {
3674
+ function zi(e) {
3661
3675
  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;
3662
3676
  }
3663
- function ut(e) {
3677
+ function ht(e) {
3664
3678
  e.forEach(function(t) {
3665
- if (delete t.location, Br(t) || Ar(t))
3679
+ if (delete t.location, Hr(t) || Pr(t))
3666
3680
  for (var r in t.options)
3667
- delete t.options[r].location, ut(t.options[r].value);
3681
+ delete t.options[r].location, ht(t.options[r].value);
3668
3682
  else
3669
- Nr(t) && Hr(t.style) || (Sr(t) || Ir(t)) && it(t.style) ? delete t.style.location : Tr(t) && ut(t.children);
3683
+ Br(t) && Or(t.style) || (Ar(t) || Tr(t)) && ot(t.style) ? delete t.style.location : Mr(t) && ht(t.children);
3670
3684
  });
3671
3685
  }
3672
- function Xi(e, t) {
3686
+ function Zi(e, t) {
3673
3687
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3674
- var r = new ki(e, t).parse();
3688
+ var r = new Wi(e, t).parse();
3675
3689
  if (r.err) {
3676
3690
  var n = SyntaxError(_[r.err.kind]);
3677
3691
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3678
3692
  }
3679
- return t != null && t.captureLocation || ut(r.val), r.val;
3693
+ return t != null && t.captureLocation || ht(r.val), r.val;
3680
3694
  }
3681
3695
  var oe;
3682
3696
  (function(e) {
@@ -3694,7 +3708,7 @@ var Ce = (
3694
3708
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3695
3709
  }, t;
3696
3710
  }(Error)
3697
- ), jt = (
3711
+ ), Vt = (
3698
3712
  /** @class */
3699
3713
  function(e) {
3700
3714
  j(t, e);
@@ -3703,7 +3717,7 @@ var Ce = (
3703
3717
  }
3704
3718
  return t;
3705
3719
  }(Ce)
3706
- ), zi = (
3720
+ ), Qi = (
3707
3721
  /** @class */
3708
3722
  function(e) {
3709
3723
  j(t, e);
@@ -3712,7 +3726,7 @@ var Ce = (
3712
3726
  }
3713
3727
  return t;
3714
3728
  }(Ce)
3715
- ), Zi = (
3729
+ ), Yi = (
3716
3730
  /** @class */
3717
3731
  function(e) {
3718
3732
  j(t, e);
@@ -3725,17 +3739,17 @@ var Ce = (
3725
3739
  (function(e) {
3726
3740
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3727
3741
  })(O || (O = {}));
3728
- function Qi(e) {
3742
+ function Ji(e) {
3729
3743
  return e.length < 2 ? e : e.reduce(function(t, r) {
3730
3744
  var n = t[t.length - 1];
3731
3745
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3732
3746
  }, []);
3733
3747
  }
3734
- function Yi(e) {
3748
+ function qi(e) {
3735
3749
  return typeof e == "function";
3736
3750
  }
3737
3751
  function Be(e, t, r, n, i, o, a) {
3738
- if (e.length === 1 && Ft(e[0]))
3752
+ if (e.length === 1 && Ut(e[0]))
3739
3753
  return [
3740
3754
  {
3741
3755
  type: O.literal,
@@ -3744,14 +3758,14 @@ function Be(e, t, r, n, i, o, a) {
3744
3758
  ];
3745
3759
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3746
3760
  var h = u[l];
3747
- if (Ft(h)) {
3761
+ if (Ut(h)) {
3748
3762
  s.push({
3749
3763
  type: O.literal,
3750
3764
  value: h.value
3751
3765
  });
3752
3766
  continue;
3753
3767
  }
3754
- if (vi(h)) {
3768
+ if (_i(h)) {
3755
3769
  typeof o == "number" && s.push({
3756
3770
  type: O.literal,
3757
3771
  value: r.getNumberFormat(t).format(o)
@@ -3760,61 +3774,61 @@ function Be(e, t, r, n, i, o, a) {
3760
3774
  }
3761
3775
  var d = h.value;
3762
3776
  if (!(i && d in i))
3763
- throw new Zi(d, a);
3777
+ throw new Yi(d, a);
3764
3778
  var f = i[d];
3765
- if (bi(h)) {
3779
+ if (yi(h)) {
3766
3780
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3767
3781
  type: typeof f == "string" ? O.literal : O.object,
3768
3782
  value: f
3769
3783
  });
3770
3784
  continue;
3771
3785
  }
3772
- if (Sr(h)) {
3773
- var p = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
3786
+ if (Ar(h)) {
3787
+ var p = typeof h.style == "string" ? n.date[h.style] : ot(h.style) ? h.style.parsedOptions : void 0;
3774
3788
  s.push({
3775
3789
  type: O.literal,
3776
3790
  value: r.getDateTimeFormat(t, p).format(f)
3777
3791
  });
3778
3792
  continue;
3779
3793
  }
3780
- if (Ir(h)) {
3781
- var p = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
3794
+ if (Tr(h)) {
3795
+ var p = typeof h.style == "string" ? n.time[h.style] : ot(h.style) ? h.style.parsedOptions : n.time.medium;
3782
3796
  s.push({
3783
3797
  type: O.literal,
3784
3798
  value: r.getDateTimeFormat(t, p).format(f)
3785
3799
  });
3786
3800
  continue;
3787
3801
  }
3788
- if (Nr(h)) {
3789
- var p = typeof h.style == "string" ? n.number[h.style] : Hr(h.style) ? h.style.parsedOptions : void 0;
3802
+ if (Br(h)) {
3803
+ var p = typeof h.style == "string" ? n.number[h.style] : Or(h.style) ? h.style.parsedOptions : void 0;
3790
3804
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3791
3805
  type: O.literal,
3792
3806
  value: r.getNumberFormat(t, p).format(f)
3793
3807
  });
3794
3808
  continue;
3795
3809
  }
3796
- if (Tr(h)) {
3797
- var g = h.children, b = h.value, A = i[b];
3798
- if (!Yi(A))
3799
- throw new zi(b, "function", a);
3800
- var S = Be(g, t, r, n, i, o), v = A(S.map(function(H) {
3810
+ if (Mr(h)) {
3811
+ var g = h.children, v = h.value, A = i[v];
3812
+ if (!qi(A))
3813
+ throw new Qi(v, "function", a);
3814
+ var S = Be(g, t, r, n, i, o), b = A(S.map(function(H) {
3801
3815
  return H.value;
3802
3816
  }));
3803
- Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(H) {
3817
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(H) {
3804
3818
  return {
3805
3819
  type: typeof H == "string" ? O.literal : O.object,
3806
3820
  value: H
3807
3821
  };
3808
3822
  }));
3809
3823
  }
3810
- if (Br(h)) {
3824
+ if (Hr(h)) {
3811
3825
  var N = h.options[f] || h.options.other;
3812
3826
  if (!N)
3813
- throw new jt(h.value, f, Object.keys(h.options), a);
3827
+ throw new Vt(h.value, f, Object.keys(h.options), a);
3814
3828
  s.push.apply(s, Be(N.value, t, r, n, i));
3815
3829
  continue;
3816
3830
  }
3817
- if (Ar(h)) {
3831
+ if (Pr(h)) {
3818
3832
  var N = h.options["=".concat(f)];
3819
3833
  if (!N) {
3820
3834
  if (!Intl.PluralRules)
@@ -3825,24 +3839,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3825
3839
  N = h.options[E] || h.options.other;
3826
3840
  }
3827
3841
  if (!N)
3828
- throw new jt(h.value, f, Object.keys(h.options), a);
3842
+ throw new Vt(h.value, f, Object.keys(h.options), a);
3829
3843
  s.push.apply(s, Be(N.value, t, r, n, i, f - (h.offset || 0)));
3830
3844
  continue;
3831
3845
  }
3832
3846
  }
3833
- return Qi(s);
3847
+ return Ji(s);
3834
3848
  }
3835
- function Ji(e, t) {
3849
+ function Ki(e, t) {
3836
3850
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3837
3851
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3838
3852
  }, {})) : e;
3839
3853
  }
3840
- function qi(e, t) {
3854
+ function eo(e, t) {
3841
3855
  return t ? Object.keys(e).reduce(function(r, n) {
3842
- return r[n] = Ji(e[n], t[n]), r;
3856
+ return r[n] = Ki(e[n], t[n]), r;
3843
3857
  }, w({}, e)) : e;
3844
3858
  }
3845
- function Ze(e) {
3859
+ function Qe(e) {
3846
3860
  return {
3847
3861
  create: function() {
3848
3862
  return {
@@ -3856,39 +3870,39 @@ function Ze(e) {
3856
3870
  }
3857
3871
  };
3858
3872
  }
3859
- function Ki(e) {
3873
+ function to(e) {
3860
3874
  return e === void 0 && (e = {
3861
3875
  number: {},
3862
3876
  dateTime: {},
3863
3877
  pluralRules: {}
3864
3878
  }), {
3865
- getNumberFormat: Ve(function() {
3879
+ getNumberFormat: Xe(function() {
3866
3880
  for (var t, r = [], n = 0; n < arguments.length; n++)
3867
3881
  r[n] = arguments[n];
3868
3882
  return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3869
3883
  }, {
3870
- cache: Ze(e.number),
3871
- strategy: Xe.variadic
3884
+ cache: Qe(e.number),
3885
+ strategy: ze.variadic
3872
3886
  }),
3873
- getDateTimeFormat: Ve(function() {
3887
+ getDateTimeFormat: Xe(function() {
3874
3888
  for (var t, r = [], n = 0; n < arguments.length; n++)
3875
3889
  r[n] = arguments[n];
3876
3890
  return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3877
3891
  }, {
3878
- cache: Ze(e.dateTime),
3879
- strategy: Xe.variadic
3892
+ cache: Qe(e.dateTime),
3893
+ strategy: ze.variadic
3880
3894
  }),
3881
- getPluralRules: Ve(function() {
3895
+ getPluralRules: Xe(function() {
3882
3896
  for (var t, r = [], n = 0; n < arguments.length; n++)
3883
3897
  r[n] = arguments[n];
3884
3898
  return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3885
3899
  }, {
3886
- cache: Ze(e.pluralRules),
3887
- strategy: Xe.variadic
3900
+ cache: Qe(e.pluralRules),
3901
+ strategy: ze.variadic
3888
3902
  })
3889
3903
  };
3890
3904
  }
3891
- var eo = (
3905
+ var ro = (
3892
3906
  /** @class */
3893
3907
  function() {
3894
3908
  function e(t, r, n, i) {
@@ -3920,13 +3934,13 @@ var eo = (
3920
3934
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3921
3935
  var a = i || {};
3922
3936
  a.formatters;
3923
- var s = Mn(a, ["formatters"]);
3937
+ var s = Cn(a, ["formatters"]);
3924
3938
  this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
3925
3939
  } else
3926
3940
  this.ast = t;
3927
3941
  if (!Array.isArray(this.ast))
3928
3942
  throw new TypeError("A message must be provided as a String or AST.");
3929
- this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
3943
+ this.formats = eo(e.formats, n), this.formatters = i && i.formatters || to(this.formatterCache);
3930
3944
  }
3931
3945
  return Object.defineProperty(e, "defaultLocale", {
3932
3946
  get: function() {
@@ -3939,7 +3953,7 @@ var eo = (
3939
3953
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3940
3954
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3941
3955
  }
3942
- }, e.__parse = Xi, e.formats = {
3956
+ }, e.__parse = Zi, e.formats = {
3943
3957
  number: {
3944
3958
  integer: {
3945
3959
  maximumFractionDigits: 0
@@ -4000,7 +4014,7 @@ var eo = (
4000
4014
  }, e;
4001
4015
  }()
4002
4016
  );
4003
- function to(e, t) {
4017
+ function no(e, t) {
4004
4018
  if (t == null)
4005
4019
  return;
4006
4020
  if (t in e)
@@ -4021,92 +4035,92 @@ function to(e, t) {
4021
4035
  n = void 0;
4022
4036
  return n;
4023
4037
  }
4024
- const X = {}, ro = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), Ur = (e, t) => {
4038
+ const X = {}, io = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), $r = (e, t) => {
4025
4039
  if (t == null)
4026
4040
  return;
4027
4041
  if (t in X && e in X[t])
4028
4042
  return X[t][e];
4029
4043
  const r = Fe(t);
4030
4044
  for (let n = 0; n < r.length; n++) {
4031
- const i = r[n], o = io(i, e);
4045
+ const i = r[n], o = ao(i, e);
4032
4046
  if (o)
4033
- return ro(e, t, o);
4047
+ return io(e, t, o);
4034
4048
  }
4035
4049
  };
4036
- let pt;
4050
+ let vt;
4037
4051
  const ye = Le({});
4038
- function no(e) {
4039
- return pt[e] || null;
4052
+ function oo(e) {
4053
+ return vt[e] || null;
4040
4054
  }
4041
- function Dr(e) {
4042
- return e in pt;
4055
+ function kr(e) {
4056
+ return e in vt;
4043
4057
  }
4044
- function io(e, t) {
4045
- if (!Dr(e))
4058
+ function ao(e, t) {
4059
+ if (!kr(e))
4046
4060
  return null;
4047
- const r = no(e);
4048
- return to(r, t);
4061
+ const r = oo(e);
4062
+ return no(r, t);
4049
4063
  }
4050
- function oo(e) {
4064
+ function so(e) {
4051
4065
  if (e == null)
4052
4066
  return;
4053
4067
  const t = Fe(e);
4054
4068
  for (let r = 0; r < t.length; r++) {
4055
4069
  const n = t[r];
4056
- if (Dr(n))
4070
+ if (kr(n))
4057
4071
  return n;
4058
4072
  }
4059
4073
  }
4060
- function Gr(e, ...t) {
4061
- delete X[e], ye.update((r) => (r[e] = ui.all([r[e] || {}, ...t]), r));
4074
+ function jr(e, ...t) {
4075
+ delete X[e], ye.update((r) => (r[e] = fi.all([r[e] || {}, ...t]), r));
4062
4076
  }
4063
4077
  le(
4064
4078
  [ye],
4065
4079
  ([e]) => Object.keys(e)
4066
4080
  );
4067
- ye.subscribe((e) => pt = e);
4081
+ ye.subscribe((e) => vt = e);
4068
4082
  const Ae = {};
4069
- function ao(e, t) {
4083
+ function lo(e, t) {
4070
4084
  Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
4071
4085
  }
4072
- function $r(e) {
4086
+ function Wr(e) {
4073
4087
  return Ae[e];
4074
4088
  }
4075
- function so(e) {
4089
+ function uo(e) {
4076
4090
  return Fe(e).map((t) => {
4077
- const r = $r(t);
4091
+ const r = Wr(t);
4078
4092
  return [t, r ? [...r] : []];
4079
4093
  }).filter(([, t]) => t.length > 0);
4080
4094
  }
4081
- function ht(e) {
4095
+ function ct(e) {
4082
4096
  return e == null ? !1 : Fe(e).some(
4083
4097
  (t) => {
4084
4098
  var r;
4085
- return (r = $r(t)) == null ? void 0 : r.size;
4099
+ return (r = Wr(t)) == null ? void 0 : r.size;
4086
4100
  }
4087
4101
  );
4088
4102
  }
4089
- function lo(e, t) {
4103
+ function ho(e, t) {
4090
4104
  return Promise.all(
4091
- t.map((n) => (ao(e, n), n().then((i) => i.default || i)))
4092
- ).then((n) => Gr(e, ...n));
4105
+ t.map((n) => (lo(e, n), n().then((i) => i.default || i)))
4106
+ ).then((n) => jr(e, ...n));
4093
4107
  }
4094
4108
  const fe = {};
4095
- function kr(e) {
4096
- if (!ht(e))
4109
+ function Vr(e) {
4110
+ if (!ct(e))
4097
4111
  return e in fe ? fe[e] : Promise.resolve();
4098
- const t = so(e);
4112
+ const t = uo(e);
4099
4113
  return fe[e] = Promise.all(
4100
4114
  t.map(
4101
- ([r, n]) => lo(r, n)
4115
+ ([r, n]) => ho(r, n)
4102
4116
  )
4103
4117
  ).then(() => {
4104
- if (ht(e))
4105
- return kr(e);
4118
+ if (ct(e))
4119
+ return Vr(e);
4106
4120
  delete fe[e];
4107
4121
  }), fe[e];
4108
4122
  }
4109
- const uo = {
4123
+ const co = {
4110
4124
  number: {
4111
4125
  scientific: { notation: "scientific" },
4112
4126
  engineering: { notation: "engineering" },
@@ -4135,57 +4149,57 @@ const uo = {
4135
4149
  timeZoneName: "short"
4136
4150
  }
4137
4151
  }
4138
- }, ho = {
4152
+ }, fo = {
4139
4153
  fallbackLocale: null,
4140
4154
  loadingDelay: 200,
4141
- formats: uo,
4155
+ formats: co,
4142
4156
  warnOnMissingMessages: !0,
4143
4157
  handleMissingMessage: void 0,
4144
4158
  ignoreTag: !0
4145
- }, co = ho;
4159
+ }, mo = fo;
4146
4160
  function ae() {
4147
- return co;
4148
- }
4149
- const Qe = Le(!1);
4150
- var fo = Object.defineProperty, mo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, go = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vo = (e, t) => {
4151
- for (var r in t)
4152
- go.call(t, r) && Vt(e, r, t[r]);
4153
- if (Wt)
4154
- for (var r of Wt(t))
4155
- bo.call(t, r) && Vt(e, r, t[r]);
4161
+ return mo;
4162
+ }
4163
+ const Ye = Le(!1);
4164
+ var po = Object.defineProperty, go = Object.defineProperties, vo = Object.getOwnPropertyDescriptors, Xt = Object.getOwnPropertySymbols, bo = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _o = (e, t) => {
4165
+ for (var r in t || (t = {}))
4166
+ bo.call(t, r) && zt(e, r, t[r]);
4167
+ if (Xt)
4168
+ for (var r of Xt(t))
4169
+ yo.call(t, r) && zt(e, r, t[r]);
4156
4170
  return e;
4157
- }, yo = (e, t) => mo(e, po(t));
4158
- let ct;
4171
+ }, xo = (e, t) => go(e, vo(t));
4172
+ let ft;
4159
4173
  const He = Le(null);
4160
- function Xt(e) {
4174
+ function Zt(e) {
4161
4175
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4162
4176
  }
4163
4177
  function Fe(e, t = ae().fallbackLocale) {
4164
- const r = Xt(e);
4165
- return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
4178
+ const r = Zt(e);
4179
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
4166
4180
  }
4167
4181
  function Q() {
4168
- return ct != null ? ct : void 0;
4182
+ return ft != null ? ft : void 0;
4169
4183
  }
4170
4184
  He.subscribe((e) => {
4171
- ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4185
+ ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4172
4186
  });
4173
- const _o = (e) => {
4174
- if (e && oo(e) && ht(e)) {
4187
+ const wo = (e) => {
4188
+ if (e && so(e) && ct(e)) {
4175
4189
  const { loadingDelay: t } = ae();
4176
4190
  let r;
4177
4191
  return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
4178
- () => Qe.set(!0),
4192
+ () => Ye.set(!0),
4179
4193
  t
4180
- ) : Qe.set(!0), kr(e).then(() => {
4194
+ ) : Ye.set(!0), Vr(e).then(() => {
4181
4195
  He.set(e);
4182
4196
  }).finally(() => {
4183
- clearTimeout(r), Qe.set(!1);
4197
+ clearTimeout(r), Ye.set(!1);
4184
4198
  });
4185
4199
  }
4186
4200
  return He.set(e);
4187
- }, ue = yo(vo({}, He), {
4188
- set: _o
4201
+ }, ue = xo(_o({}, He), {
4202
+ set: wo
4189
4203
  }), Re = (e) => {
4190
4204
  const t = /* @__PURE__ */ Object.create(null);
4191
4205
  return (n) => {
@@ -4193,77 +4207,77 @@ const _o = (e) => {
4193
4207
  return i in t ? t[i] : t[i] = e(n);
4194
4208
  };
4195
4209
  };
4196
- var xo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, jr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
4210
+ var Eo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4197
4211
  for (var r in t || (t = {}))
4198
- jr.call(t, r) && zt(e, r, t[r]);
4212
+ Xr.call(t, r) && Qt(e, r, t[r]);
4199
4213
  if (Pe)
4200
4214
  for (var r of Pe(t))
4201
- Wr.call(t, r) && zt(e, r, t[r]);
4215
+ zr.call(t, r) && Qt(e, r, t[r]);
4202
4216
  return e;
4203
4217
  }, he = (e, t) => {
4204
4218
  var r = {};
4205
4219
  for (var n in e)
4206
- jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4220
+ Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4207
4221
  if (e != null && Pe)
4208
4222
  for (var n of Pe(e))
4209
- t.indexOf(n) < 0 && Wr.call(e, n) && (r[n] = e[n]);
4223
+ t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
4210
4224
  return r;
4211
4225
  };
4212
- const be = (e, t) => {
4226
+ const ve = (e, t) => {
4213
4227
  const { formats: r } = ae();
4214
4228
  if (e in r && t in r[e])
4215
4229
  return r[e][t];
4216
4230
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4217
- }, wo = Re(
4231
+ }, No = Re(
4218
4232
  (e) => {
4219
4233
  var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4220
4234
  if (r == null)
4221
4235
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4222
- return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
4236
+ return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
4223
4237
  }
4224
- ), Eo = Re(
4238
+ ), So = Re(
4225
4239
  (e) => {
4226
4240
  var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4227
4241
  if (r == null)
4228
4242
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4229
- return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
4243
+ return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
4230
4244
  }
4231
- ), No = Re(
4245
+ ), Io = Re(
4232
4246
  (e) => {
4233
4247
  var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4234
4248
  if (r == null)
4235
4249
  throw new Error(
4236
4250
  '[svelte-i18n] A "locale" must be set to format time values'
4237
4251
  );
4238
- return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
4252
+ return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
4239
4253
  }
4240
- ), So = (e = {}) => {
4254
+ ), Bo = (e = {}) => {
4241
4255
  var t = e, {
4242
4256
  locale: r = Q()
4243
4257
  } = t, n = he(t, [
4244
4258
  "locale"
4245
4259
  ]);
4246
- return wo(gt({ locale: r }, n));
4247
- }, Io = (e = {}) => {
4260
+ return No(bt({ locale: r }, n));
4261
+ }, Ao = (e = {}) => {
4248
4262
  var t = e, {
4249
4263
  locale: r = Q()
4250
4264
  } = t, n = he(t, [
4251
4265
  "locale"
4252
4266
  ]);
4253
- return Eo(gt({ locale: r }, n));
4254
- }, Bo = (e = {}) => {
4267
+ return So(bt({ locale: r }, n));
4268
+ }, To = (e = {}) => {
4255
4269
  var t = e, {
4256
4270
  locale: r = Q()
4257
4271
  } = t, n = he(t, [
4258
4272
  "locale"
4259
4273
  ]);
4260
- return No(gt({ locale: r }, n));
4261
- }, Ao = Re(
4274
+ return Io(bt({ locale: r }, n));
4275
+ }, Ho = Re(
4262
4276
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4263
- (e, t = Q()) => new eo(e, t, ae().formats, {
4277
+ (e, t = Q()) => new ro(e, t, ae().formats, {
4264
4278
  ignoreTag: ae().ignoreTag
4265
4279
  })
4266
- ), To = (e, t = {}) => {
4280
+ ), Po = (e, t = {}) => {
4267
4281
  var r, n, i, o;
4268
4282
  let a = t;
4269
4283
  typeof e == "object" && (a = e, e = a.id);
@@ -4276,7 +4290,7 @@ const be = (e, t) => {
4276
4290
  throw new Error(
4277
4291
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4278
4292
  );
4279
- let h = Ur(e, l);
4293
+ let h = $r(e, l);
4280
4294
  if (!h)
4281
4295
  h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4282
4296
  else if (typeof h != "string")
@@ -4287,7 +4301,7 @@ const be = (e, t) => {
4287
4301
  return h;
4288
4302
  let d = h;
4289
4303
  try {
4290
- d = Ao(h, l).format(s);
4304
+ d = Ho(h, l).format(s);
4291
4305
  } catch (f) {
4292
4306
  f instanceof Error && console.warn(
4293
4307
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4295,20 +4309,20 @@ const be = (e, t) => {
4295
4309
  );
4296
4310
  }
4297
4311
  return d;
4298
- }, Ho = (e, t) => Bo(t).format(e), Po = (e, t) => Io(t).format(e), Mo = (e, t) => So(t).format(e), Oo = (e, t = Q()) => Ur(e, t), Lo = le([ue, ye], () => To);
4299
- le([ue], () => Ho);
4300
- le([ue], () => Po);
4312
+ }, Mo = (e, t) => To(t).format(e), Oo = (e, t) => Ao(t).format(e), Lo = (e, t) => Bo(t).format(e), Co = (e, t = Q()) => $r(e, t), Fo = le([ue, ye], () => Po);
4301
4313
  le([ue], () => Mo);
4302
- le([ue, ye], () => Oo);
4303
- window.emWidgets = { topic: Xn };
4304
- const Zt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4305
- function Qt(e, t) {
4306
- Gr(e, t);
4307
- }
4308
- function Co(e) {
4314
+ le([ue], () => Oo);
4315
+ le([ue], () => Lo);
4316
+ le([ue, ye], () => Co);
4317
+ window.emWidgets = { topic: Qn };
4318
+ const Yt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4319
+ function Jt(e, t) {
4320
+ jr(e, t);
4321
+ }
4322
+ function Ro(e) {
4309
4323
  ue.set(e);
4310
4324
  }
4311
- const Yt = {
4325
+ const qt = {
4312
4326
  en: {
4313
4327
  secondaryMenuTitle: "Categories"
4314
4328
  },
@@ -4343,13 +4357,13 @@ const Yt = {
4343
4357
  secondaryMenuTitle: "Categories"
4344
4358
  }
4345
4359
  };
4346
- function Fo(e, t) {
4360
+ function Uo(e, t) {
4347
4361
  if (e) {
4348
4362
  const r = document.createElement("style");
4349
4363
  r.innerHTML = t, e.appendChild(r);
4350
4364
  }
4351
4365
  }
4352
- function Ro(e, t) {
4366
+ function Do(e, t) {
4353
4367
  const r = new URL(t);
4354
4368
  fetch(r.href).then((n) => n.text()).then((n) => {
4355
4369
  const i = document.createElement("style");
@@ -4358,7 +4372,7 @@ function Ro(e, t) {
4358
4372
  console.error("There was an error while trying to load client styling from URL", n);
4359
4373
  });
4360
4374
  }
4361
- function Uo(e, t, r) {
4375
+ function Go(e, t, r) {
4362
4376
  if (window.emMessageBus) {
4363
4377
  const n = document.createElement("style");
4364
4378
  window.emMessageBus.subscribe(t, (i) => {
@@ -4366,28 +4380,28 @@ function Uo(e, t, r) {
4366
4380
  });
4367
4381
  }
4368
4382
  }
4369
- function Do(e) {
4370
- dn(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
4383
+ function $o(e) {
4384
+ gn(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
4371
4385
  }
4372
- function Jt(e, t, r) {
4386
+ function Kt(e, t, r) {
4373
4387
  const n = e.slice();
4374
4388
  return n[44] = t[r], n[46] = r, n;
4375
4389
  }
4376
- function qt(e, t, r) {
4390
+ function er(e, t, r) {
4377
4391
  const n = e.slice();
4378
4392
  return n[44] = t[r], n;
4379
4393
  }
4380
- const Go = (e) => ({}), Kt = (e) => ({});
4381
- function er(e) {
4394
+ const ko = (e) => ({}), tr = (e) => ({});
4395
+ function rr(e) {
4382
4396
  let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
4383
- e[6] && tr(e), u = Te(
4397
+ e[6] && nr(e), u = Te(
4384
4398
  /*primaryMenuSpliced*/
4385
4399
  e[7]
4386
4400
  ), h = [];
4387
4401
  for (let f = 0; f < u.length; f += 1)
4388
- h[f] = or(Jt(e, u, f));
4402
+ h[f] = sr(Kt(e, u, f));
4389
4403
  let d = !/*navigationBarSimple*/
4390
- e[6] && ar(e);
4404
+ e[6] && lr(e);
4391
4405
  return {
4392
4406
  c() {
4393
4407
  t = B("div"), l && l.c(), r = k(), n = B("div");
@@ -4407,10 +4421,10 @@ function er(e) {
4407
4421
  },
4408
4422
  p(f, p) {
4409
4423
  if (/*navigationBarSimple*/
4410
- f[6] ? l && (fr(), pe(l, 1, 1, () => {
4424
+ f[6] ? l && (mr(), pe(l, 1, 1, () => {
4411
4425
  l = null;
4412
- }), dr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4413
- 64 && z(l, 1)) : (l = tr(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
4426
+ }), pr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4427
+ 64 && z(l, 1)) : (l = nr(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
4414
4428
  32928) {
4415
4429
  u = Te(
4416
4430
  /*primaryMenuSpliced*/
@@ -4418,15 +4432,15 @@ function er(e) {
4418
4432
  );
4419
4433
  let g;
4420
4434
  for (g = 0; g < u.length; g += 1) {
4421
- const b = Jt(f, u, g);
4422
- h[g] ? h[g].p(b, p) : (h[g] = or(b), h[g].c(), h[g].m(n, i));
4435
+ const v = Kt(f, u, g);
4436
+ h[g] ? h[g].p(v, p) : (h[g] = sr(v), h[g].c(), h[g].m(n, i));
4423
4437
  }
4424
4438
  for (; g < h.length; g += 1)
4425
4439
  h[g].d(1);
4426
4440
  h.length = u.length;
4427
4441
  }
4428
4442
  /*navigationBarSimple*/
4429
- f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = ar(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
4443
+ f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = lr(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
4430
4444
  80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
4431
4445
  (f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4432
4446
  (f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
@@ -4441,11 +4455,11 @@ function er(e) {
4441
4455
  pe(l), s = !1;
4442
4456
  },
4443
4457
  d(f) {
4444
- f && L(t), l && l.d(), cr(h, f), d && d.d();
4458
+ f && L(t), l && l.d(), dr(h, f), d && d.d();
4445
4459
  }
4446
4460
  };
4447
4461
  }
4448
- function tr(e) {
4462
+ function nr(e) {
4449
4463
  let t, r, n, i, o = (
4450
4464
  /*secondarymenutitle*/
4451
4465
  (e[0] || /*$_*/
@@ -4454,29 +4468,29 @@ function tr(e) {
4454
4468
  const p = (
4455
4469
  /*#slots*/
4456
4470
  e[27].close
4457
- ), g = un(
4471
+ ), g = fn(
4458
4472
  p,
4459
4473
  e,
4460
4474
  /*$$scope*/
4461
4475
  e[26],
4462
- Kt
4463
- ), b = g || $o();
4476
+ tr
4477
+ ), v = g || jo();
4464
4478
  let A = Te(
4465
4479
  /*secondaryMenu*/
4466
4480
  e[8]
4467
4481
  ), S = [];
4468
- for (let v = 0; v < A.length; v += 1)
4469
- S[v] = nr(qt(e, A, v));
4482
+ for (let b = 0; b < A.length; b += 1)
4483
+ S[b] = or(er(e, A, b));
4470
4484
  return {
4471
4485
  c() {
4472
- t = B("div"), r = B("span"), b.c(), n = k(), i = B("h3"), a = ve(o), s = k(), l = B("div");
4473
- for (let v = 0; v < S.length; v += 1)
4474
- S[v].c();
4486
+ t = B("div"), r = B("span"), v && v.c(), n = k(), i = B("h3"), a = be(o), s = k(), l = B("div");
4487
+ for (let b = 0; b < S.length; b += 1)
4488
+ S[b].c();
4475
4489
  c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
4476
4490
  (e[4] ? "NavigationWindowOpened" : ""));
4477
4491
  },
4478
- m(v, N) {
4479
- C(v, t, N), y(t, r), b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
4492
+ m(b, N) {
4493
+ C(b, t, N), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
4480
4494
  for (let E = 0; E < S.length; E += 1)
4481
4495
  S[E] && S[E].m(l, null);
4482
4496
  h = !0, d || (f = Me(
@@ -4486,38 +4500,38 @@ function tr(e) {
4486
4500
  e[14]
4487
4501
  ), d = !0);
4488
4502
  },
4489
- p(v, N) {
4503
+ p(b, N) {
4490
4504
  if (g && g.p && (!h || N[0] & /*$$scope*/
4491
- 67108864) && cn(
4505
+ 67108864) && mn(
4492
4506
  g,
4493
4507
  p,
4494
- v,
4508
+ b,
4495
4509
  /*$$scope*/
4496
- v[26],
4497
- h ? hn(
4510
+ b[26],
4511
+ h ? dn(
4498
4512
  p,
4499
4513
  /*$$scope*/
4500
- v[26],
4514
+ b[26],
4501
4515
  N,
4502
- Go
4503
- ) : fn(
4516
+ ko
4517
+ ) : pn(
4504
4518
  /*$$scope*/
4505
- v[26]
4519
+ b[26]
4506
4520
  ),
4507
- Kt
4521
+ tr
4508
4522
  ), (!h || N[0] & /*secondarymenutitle, $_*/
4509
4523
  4097) && o !== (o = /*secondarymenutitle*/
4510
- (v[0] || /*$_*/
4511
- v[12]("secondaryMenuTitle")) + "") && dt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4524
+ (b[0] || /*$_*/
4525
+ b[12]("secondaryMenuTitle")) + "") && mt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4512
4526
  33056) {
4513
4527
  A = Te(
4514
4528
  /*secondaryMenu*/
4515
- v[8]
4529
+ b[8]
4516
4530
  );
4517
4531
  let E;
4518
4532
  for (E = 0; E < A.length; E += 1) {
4519
- const H = qt(v, A, E);
4520
- S[E] ? S[E].p(H, N) : (S[E] = nr(H), S[E].c(), S[E].m(l, null));
4533
+ const H = er(b, A, E);
4534
+ S[E] ? S[E].p(H, N) : (S[E] = or(H), S[E].c(), S[E].m(l, null));
4521
4535
  }
4522
4536
  for (; E < S.length; E += 1)
4523
4537
  S[E].d(1);
@@ -4525,20 +4539,20 @@ function tr(e) {
4525
4539
  }
4526
4540
  (!h || N[0] & /*navigationWindowOpened*/
4527
4541
  16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
4528
- (v[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
4542
+ (b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
4529
4543
  },
4530
- i(v) {
4531
- h || (z(b, v), h = !0);
4544
+ i(b) {
4545
+ h || (z(v, b), h = !0);
4532
4546
  },
4533
- o(v) {
4534
- pe(b, v), h = !1;
4547
+ o(b) {
4548
+ pe(v, b), h = !1;
4535
4549
  },
4536
- d(v) {
4537
- v && L(t), b.d(v), cr(S, v), d = !1, f();
4550
+ d(b) {
4551
+ b && L(t), v && v.d(b), dr(S, b), d = !1, f();
4538
4552
  }
4539
4553
  };
4540
4554
  }
4541
- function $o(e) {
4555
+ function jo(e) {
4542
4556
  let t, r;
4543
4557
  return {
4544
4558
  c() {
@@ -4553,7 +4567,7 @@ function $o(e) {
4553
4567
  }
4554
4568
  };
4555
4569
  }
4556
- function rr(e) {
4570
+ function ir(e) {
4557
4571
  let t, r, n, i;
4558
4572
  return {
4559
4573
  c() {
@@ -4576,13 +4590,13 @@ function rr(e) {
4576
4590
  }
4577
4591
  };
4578
4592
  }
4579
- function nr(e) {
4593
+ function or(e) {
4580
4594
  let t, r, n, i = (
4581
4595
  /*item*/
4582
4596
  e[44].label + ""
4583
4597
  ), o, a, s, l, u, h = (
4584
4598
  /*item*/
4585
- e[44].img && rr(e)
4599
+ e[44].img && ir(e)
4586
4600
  );
4587
4601
  function d() {
4588
4602
  return (
@@ -4595,7 +4609,7 @@ function nr(e) {
4595
4609
  }
4596
4610
  return {
4597
4611
  c() {
4598
- t = B("div"), h && h.c(), r = k(), n = B("p"), o = ve(i), a = k(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4612
+ t = B("div"), h && h.c(), r = k(), n = B("p"), o = be(i), a = k(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4599
4613
  (e[5] === /*item*/
4600
4614
  e[44].id ? "ActiveItem" : ""));
4601
4615
  },
@@ -4604,9 +4618,9 @@ function nr(e) {
4604
4618
  },
4605
4619
  p(f, p) {
4606
4620
  e = f, /*item*/
4607
- e[44].img ? h ? h.p(e, p) : (h = rr(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
4621
+ e[44].img ? h ? h.p(e, p) : (h = ir(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
4608
4622
  256 && i !== (i = /*item*/
4609
- e[44].label + "") && dt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4623
+ e[44].label + "") && mt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4610
4624
  288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4611
4625
  (e[5] === /*item*/
4612
4626
  e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
@@ -4616,7 +4630,7 @@ function nr(e) {
4616
4630
  }
4617
4631
  };
4618
4632
  }
4619
- function ir(e) {
4633
+ function ar(e) {
4620
4634
  let t, r, n, i;
4621
4635
  return {
4622
4636
  c() {
@@ -4639,13 +4653,13 @@ function ir(e) {
4639
4653
  }
4640
4654
  };
4641
4655
  }
4642
- function or(e) {
4656
+ function sr(e) {
4643
4657
  let t, r, n, i = (
4644
4658
  /*item*/
4645
4659
  e[44].label + ""
4646
4660
  ), o, a, s, l, u = (
4647
4661
  /*item*/
4648
- e[44].img && ir(e)
4662
+ e[44].img && ar(e)
4649
4663
  );
4650
4664
  function h() {
4651
4665
  return (
@@ -4658,7 +4672,7 @@ function or(e) {
4658
4672
  }
4659
4673
  return {
4660
4674
  c() {
4661
- t = B("div"), u && u.c(), r = k(), n = B("p"), o = ve(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4675
+ t = B("div"), u && u.c(), r = k(), n = B("p"), o = be(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4662
4676
  e[46] + " " + /*activeMenuItemId*/
4663
4677
  (e[5] === /*item*/
4664
4678
  e[44].id ? "ActiveItem" : ""));
@@ -4668,9 +4682,9 @@ function or(e) {
4668
4682
  },
4669
4683
  p(d, f) {
4670
4684
  e = d, /*item*/
4671
- e[44].img ? u ? u.p(e, f) : (u = ir(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
4685
+ e[44].img ? u ? u.p(e, f) : (u = ar(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
4672
4686
  128 && i !== (i = /*item*/
4673
- e[44].label + "") && dt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
4687
+ e[44].label + "") && mt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
4674
4688
  160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4675
4689
  e[46] + " " + /*activeMenuItemId*/
4676
4690
  (e[5] === /*item*/
@@ -4681,12 +4695,12 @@ function or(e) {
4681
4695
  }
4682
4696
  };
4683
4697
  }
4684
- function ar(e) {
4698
+ function lr(e) {
4685
4699
  let t, r, n, i, o;
4686
4700
  function a(u, h) {
4687
4701
  return (
4688
4702
  /*isFlowerMenu*/
4689
- u[11] ? ko : jo
4703
+ u[11] ? Wo : Vo
4690
4704
  );
4691
4705
  }
4692
4706
  let s = a(e), l = s(e);
@@ -4713,7 +4727,7 @@ function ar(e) {
4713
4727
  }
4714
4728
  };
4715
4729
  }
4716
- function ko(e) {
4730
+ function Wo(e) {
4717
4731
  let t, r, n, i, o, a, s;
4718
4732
  return {
4719
4733
  c() {
@@ -4733,18 +4747,18 @@ function ko(e) {
4733
4747
  }
4734
4748
  };
4735
4749
  }
4736
- function jo(e) {
4750
+ function Vo(e) {
4737
4751
  let t;
4738
4752
  function r(o, a) {
4739
4753
  return (
4740
4754
  /*imageIconUrl*/
4741
- o[9] ? Vo : Wo
4755
+ o[9] ? zo : Xo
4742
4756
  );
4743
4757
  }
4744
4758
  let n = r(e), i = n(e);
4745
4759
  return {
4746
4760
  c() {
4747
- i.c(), t = gn();
4761
+ i.c(), t = yn();
4748
4762
  },
4749
4763
  m(o, a) {
4750
4764
  i.m(o, a), C(o, t, a);
@@ -4757,22 +4771,22 @@ function jo(e) {
4757
4771
  }
4758
4772
  };
4759
4773
  }
4760
- function Wo(e) {
4774
+ function Xo(e) {
4761
4775
  let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
4762
4776
  return {
4763
4777
  c() {
4764
4778
  t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"), p = M("rect"), g = M("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
4765
4779
  },
4766
- m(b, A) {
4767
- C(b, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
4780
+ m(v, A) {
4781
+ C(v, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
4768
4782
  },
4769
4783
  p: D,
4770
- d(b) {
4771
- b && L(t);
4784
+ d(v) {
4785
+ v && L(t);
4772
4786
  }
4773
4787
  };
4774
4788
  }
4775
- function Vo(e) {
4789
+ function zo(e) {
4776
4790
  let t, r;
4777
4791
  return {
4778
4792
  c() {
@@ -4803,11 +4817,11 @@ function Vo(e) {
4803
4817
  }
4804
4818
  };
4805
4819
  }
4806
- function Xo(e) {
4820
+ function Zo(e) {
4807
4821
  let t, r, n, i = !/*isLoading*/
4808
4822
  e[1] && /*isMobile*/
4809
4823
  e[13] && /*showNavigation*/
4810
- e[3] && er(e);
4824
+ e[3] && rr(e);
4811
4825
  return {
4812
4826
  c() {
4813
4827
  t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
@@ -4822,9 +4836,9 @@ function Xo(e) {
4822
4836
  o[1] && /*isMobile*/
4823
4837
  o[13] && /*showNavigation*/
4824
4838
  o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
4825
- 10 && z(i, 1)) : (i = er(o), i.c(), z(i, 1), i.m(t, null)) : i && (fr(), pe(i, 1, 1, () => {
4839
+ 10 && z(i, 1)) : (i = rr(o), i.c(), z(i, 1), i.m(t, null)) : i && (mr(), pe(i, 1, 1, () => {
4826
4840
  i = null;
4827
- }), dr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4841
+ }), pr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4828
4842
  3072 && r !== (r = /*isFlowerMenu*/
4829
4843
  (o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4830
4844
  (o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
@@ -4840,23 +4854,23 @@ function Xo(e) {
4840
4854
  }
4841
4855
  };
4842
4856
  }
4843
- function zo(e, t, r) {
4857
+ function Qo(e, t, r) {
4844
4858
  let n;
4845
- ln(e, Lo, (m) => r(12, n = m));
4846
- let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: b = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, v = Zt(S) !== "PC", N = !0, E = !1, H = !1, W = "", Y = !1, Ue = [], _e = [], V = [], G, bt = "", De = {}, vt, Ge = !1;
4847
- const Vr = () => {
4859
+ cn(e, Fo, (m) => r(12, n = m));
4860
+ let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b = Yt(S) !== "PC", N = !0, E = !1, H = !1, W = "", Y = !1, Ue = [], _e = [], V = [], G, yt = "", De = {}, _t, Ge = !1;
4861
+ const Zr = () => {
4848
4862
  fetch(g).then((T) => T.json()).then((T) => {
4849
4863
  Object.keys(T).forEach((P) => {
4850
- Qt(P, T[P]);
4864
+ Jt(P, T[P]);
4851
4865
  });
4852
4866
  }).catch((T) => {
4853
4867
  console.log(T);
4854
4868
  });
4855
4869
  };
4856
- Object.keys(Yt).forEach((m) => {
4857
- Qt(m, Yt[m]);
4870
+ Object.keys(qt).forEach((m) => {
4871
+ Jt(m, qt[m]);
4858
4872
  });
4859
- const yt = (m) => {
4873
+ const xt = (m) => {
4860
4874
  if (m.data)
4861
4875
  switch (m.data.type) {
4862
4876
  case "PlayerAccountMenuActive":
@@ -4869,9 +4883,9 @@ function zo(e, t, r) {
4869
4883
  r(4, H = !1);
4870
4884
  break;
4871
4885
  }
4872
- }, Xr = () => {
4886
+ }, Qr = () => {
4873
4887
  r(11, Ge = A.toLowerCase() === "true");
4874
- }, zr = () => {
4888
+ }, Yr = () => {
4875
4889
  r(4, H = !H), window.postMessage(
4876
4890
  {
4877
4891
  type: "MobileBottomNav",
@@ -4879,20 +4893,20 @@ function zo(e, t, r) {
4879
4893
  },
4880
4894
  window.location.href
4881
4895
  );
4882
- }, Zr = (m) => {
4883
- r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), b && _t();
4884
- }, Qr = () => {
4896
+ }, Jr = (m) => {
4897
+ r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), v && wt();
4898
+ }, qr = () => {
4885
4899
  $e(), r(1, N = !0);
4886
- let m = Zt(S), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
4900
+ let m = Yt(S), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
4887
4901
  T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
4888
4902
  Ue = [], r(8, V = []), r(3, E = P.length > 0), P.forEach((R) => {
4889
- De[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, bt = R == null ? void 0 : R.img), r(8, V = R.children)) : Ue.push(R);
4890
- }), r(6, Y = V.length == 0), V.length >= 5 && Ge && r(8, V = V.splice(0, 5)), Zr(Ue), r(1, N = !1);
4903
+ De[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, yt = R == null ? void 0 : R.img), r(8, V = R.children)) : Ue.push(R);
4904
+ }), r(6, Y = V.length == 0), V.length >= 5 && Ge && r(8, V = V.splice(0, 5)), Jr(Ue), r(1, N = !1);
4891
4905
  }).catch((P) => {
4892
4906
  r(1, N = !1), console.error(P);
4893
4907
  });
4894
- }, _t = () => {
4895
- const T = _e.concat(V).find((P) => P.path.includes(b));
4908
+ }, wt = () => {
4909
+ const T = _e.concat(V).find((P) => P.path.includes(v));
4896
4910
  T ? r(5, W = T.id) : r(5, W = "");
4897
4911
  }, ce = (m, T, P, R) => {
4898
4912
  De[R] ? window.postMessage(
@@ -4913,40 +4927,40 @@ function zo(e, t, r) {
4913
4927
  context: "MobileBottomNavigation",
4914
4928
  menuItem: `${m}`
4915
4929
  });
4916
- }, Yr = () => {
4917
- Co(s);
4930
+ }, Kr = () => {
4931
+ Ro(s);
4918
4932
  }, $e = () => {
4919
- r(10, vt = v && window.innerHeight / window.innerWidth < 1);
4920
- }, xt = () => {
4933
+ r(10, _t = b && window.innerHeight / window.innerWidth < 1);
4934
+ }, Et = () => {
4921
4935
  H && r(4, H = !1);
4922
4936
  };
4923
- _n(() => (window.addEventListener("message", yt, !1), document.addEventListener("focusin", xt), v && window.screen.orientation.addEventListener("change", $e), () => {
4924
- window.removeEventListener("message", yt), document.removeEventListener("focusin", xt), v && window.screen.orientation.removeEventListener("change", $e);
4937
+ En(() => (window.addEventListener("message", xt, !1), document.addEventListener("focusin", Et), b && window.screen.orientation.addEventListener("change", $e), () => {
4938
+ window.removeEventListener("message", xt), document.removeEventListener("focusin", Et), b && window.screen.orientation.removeEventListener("change", $e);
4925
4939
  }));
4926
- const Jr = (m) => {
4940
+ const en = (m) => {
4927
4941
  var T, P;
4928
4942
  (T = m.attrs) != null && T.target ? ce(m.path, (P = m.attrs) == null ? void 0 : P.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
4929
- }, qr = (m) => {
4943
+ }, tn = (m) => {
4930
4944
  var T, P;
4931
4945
  (T = m.attrs) != null && T.target ? ce(m.path, (P = m.attrs) == null ? void 0 : P.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
4932
4946
  };
4933
- function Kr(m) {
4934
- Ye[m ? "unshift" : "push"](() => {
4947
+ function rn(m) {
4948
+ Je[m ? "unshift" : "push"](() => {
4935
4949
  G = m, r(2, G);
4936
4950
  });
4937
4951
  }
4938
4952
  return e.$$set = (m) => {
4939
- "cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, b = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
4953
+ "cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, v = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
4940
4954
  }, e.$$.update = () => {
4941
4955
  e.$$.dirty[0] & /*flowermenustyle*/
4942
- 33554432 && A && Xr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4943
- 16777218 && b && !N && _t(), e.$$.dirty[0] & /*lang*/
4944
- 131072 && s && Yr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4945
- 983040 && a && s && l && h && Qr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4946
- 2097156 && f && G && Fo(G, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4947
- 4194308 && p && G && Ro(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4948
- 1048580 && d && G && Uo(G, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4949
- 8388608 && g && Vr();
4956
+ 33554432 && A && Qr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4957
+ 16777218 && v && !N && wt(), e.$$.dirty[0] & /*lang*/
4958
+ 131072 && s && Kr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4959
+ 983040 && a && s && l && h && qr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4960
+ 2097156 && f && G && Uo(G, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4961
+ 4194308 && p && G && Do(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4962
+ 1048580 && d && G && Go(G, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4963
+ 8388608 && g && Zr();
4950
4964
  }, [
4951
4965
  u,
4952
4966
  N,
@@ -4957,12 +4971,12 @@ function zo(e, t, r) {
4957
4971
  Y,
4958
4972
  _e,
4959
4973
  V,
4960
- bt,
4961
- vt,
4974
+ yt,
4975
+ _t,
4962
4976
  Ge,
4963
4977
  n,
4964
- v,
4965
- zr,
4978
+ b,
4979
+ Yr,
4966
4980
  ce,
4967
4981
  a,
4968
4982
  s,
@@ -4972,23 +4986,23 @@ function zo(e, t, r) {
4972
4986
  f,
4973
4987
  p,
4974
4988
  g,
4975
- b,
4989
+ v,
4976
4990
  A,
4977
4991
  o,
4978
4992
  i,
4979
- Jr,
4980
- qr,
4981
- Kr
4993
+ en,
4994
+ tn,
4995
+ rn
4982
4996
  ];
4983
4997
  }
4984
- class Zo extends Hn {
4998
+ class Yo extends On {
4985
4999
  constructor(t) {
4986
- super(), An(
5000
+ super(), Pn(
4987
5001
  this,
4988
5002
  t,
4989
- zo,
4990
- Xo,
4991
- lr,
5003
+ Qo,
5004
+ Zo,
5005
+ hr,
4992
5006
  {
4993
5007
  cmsendpoint: 16,
4994
5008
  lang: 17,
@@ -5002,7 +5016,7 @@ class Zo extends Hn {
5002
5016
  activecategory: 24,
5003
5017
  flowermenustyle: 25
5004
5018
  },
5005
- Do,
5019
+ $o,
5006
5020
  [-1, -1]
5007
5021
  );
5008
5022
  }
@@ -5073,7 +5087,7 @@ class Zo extends Hn {
5073
5087
  this.$$set({ flowermenustyle: t }), F();
5074
5088
  }
5075
5089
  }
5076
- Tn(Zo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
5090
+ Mn(Yo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
5077
5091
  export {
5078
- Zo as default
5092
+ Yo as default
5079
5093
  };