@everymatrix/general-navigation-bar 1.76.1 → 1.76.3

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