@everymatrix/general-navigation-bar 1.86.1 → 1.86.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,6 +1,6 @@
1
1
  function R() {
2
2
  }
3
- function sn(e, t) {
3
+ function an(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,29 +8,29 @@ function sn(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function cr(e) {
11
+ function ur(e) {
12
12
  return e();
13
13
  }
14
- function Tt() {
14
+ function Bt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function oe(e) {
18
- e.forEach(cr);
17
+ function ae(e) {
18
+ e.forEach(ur);
19
19
  }
20
- function wt(e) {
20
+ function bt(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function fr(e, t) {
23
+ function hr(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let Se;
27
- function ee(e, t) {
27
+ function te(e, t) {
28
28
  return e === t ? !0 : (Se || (Se = document.createElement("a")), Se.href = t, e === Se.href);
29
29
  }
30
- function ln(e) {
30
+ function sn(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function dr(e, ...t) {
33
+ function cr(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
@@ -39,19 +39,19 @@ function dr(e, ...t) {
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function un(e, t, r) {
43
- e.$$.on_destroy.push(dr(t, r));
42
+ function ln(e, t, r) {
43
+ e.$$.on_destroy.push(cr(t, r));
44
44
  }
45
- function hn(e, t, r, n) {
45
+ function un(e, t, r, n) {
46
46
  if (e) {
47
- const i = mr(e, t, r, n);
47
+ const i = fr(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function mr(e, t, r, n) {
52
- return e[1] && n ? sn(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function fr(e, t, r, n) {
52
+ return e[1] && n ? an(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function cn(e, t, r, n) {
54
+ function hn(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function cn(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function fn(e, t, r, n, i, o) {
69
+ function cn(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = mr(t, r, n, o);
71
+ const a = fr(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function dn(e) {
75
+ function fn(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -84,14 +84,14 @@ function dn(e) {
84
84
  function b(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
- function mn(e, t, r) {
88
- const n = pn(e);
87
+ function dn(e, t, r) {
88
+ const n = mn(e);
89
89
  if (!n.getElementById(t)) {
90
- const i = S("style");
91
- i.id = t, i.textContent = r, gn(n, i);
90
+ const i = I("style");
91
+ i.id = t, i.textContent = r, pn(n, i);
92
92
  }
93
93
  }
94
- function pn(e) {
94
+ function mn(e) {
95
95
  if (!e)
96
96
  return document;
97
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -101,7 +101,7 @@ function pn(e) {
101
101
  t
102
102
  ) : e.ownerDocument;
103
103
  }
104
- function gn(e, t) {
104
+ function pn(e, t) {
105
105
  return b(
106
106
  /** @type {Document} */
107
107
  e.head || e,
@@ -111,42 +111,42 @@ function gn(e, t) {
111
111
  function C(e, t, r) {
112
112
  e.insertBefore(t, r || null);
113
113
  }
114
- function H(e) {
114
+ function P(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
- function pr(e, t) {
117
+ function dr(e, t) {
118
118
  for (let r = 0; r < e.length; r += 1)
119
119
  e[r] && e[r].d(t);
120
120
  }
121
- function S(e) {
121
+ function I(e) {
122
122
  return document.createElement(e);
123
123
  }
124
- function P(e) {
124
+ function H(e) {
125
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
126
126
  }
127
- function ae(e) {
127
+ function se(e) {
128
128
  return document.createTextNode(e);
129
129
  }
130
- function $() {
131
- return ae(" ");
130
+ function k() {
131
+ return se(" ");
132
132
  }
133
- function vn() {
134
- return ae("");
133
+ function gn() {
134
+ return se("");
135
135
  }
136
- function Re(e, t, r, n) {
136
+ function Fe(e, t, r, n) {
137
137
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
138
138
  }
139
139
  function c(e, t, r) {
140
140
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
141
141
  }
142
- function bn(e) {
142
+ function vn(e) {
143
143
  return Array.from(e.childNodes);
144
144
  }
145
- function Ue(e, t) {
145
+ function Re(e, t) {
146
146
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
147
147
  t);
148
148
  }
149
- function yn(e) {
149
+ function bn(e) {
150
150
  const t = {};
151
151
  return e.childNodes.forEach(
152
152
  /** @param {Element} node */
@@ -155,69 +155,69 @@ function yn(e) {
155
155
  }
156
156
  ), t;
157
157
  }
158
- let ve;
159
- function ge(e) {
160
- ve = e;
158
+ let be;
159
+ function ve(e) {
160
+ be = e;
161
161
  }
162
- function _n() {
163
- if (!ve)
162
+ function yn() {
163
+ if (!be)
164
164
  throw new Error("Function called outside component initialization");
165
- return ve;
165
+ return be;
166
166
  }
167
- function xn(e) {
168
- _n().$$.on_mount.push(e);
167
+ function _n(e) {
168
+ yn().$$.on_mount.push(e);
169
169
  }
170
- const q = [], it = [];
170
+ const q = [], rt = [];
171
171
  let K = [];
172
- const Pt = [], wn = /* @__PURE__ */ Promise.resolve();
173
- let ot = !1;
174
- function En() {
175
- ot || (ot = !0, wn.then(O));
172
+ const At = [], xn = /* @__PURE__ */ Promise.resolve();
173
+ let nt = !1;
174
+ function wn() {
175
+ nt || (nt = !0, xn.then(L));
176
176
  }
177
- function at(e) {
177
+ function it(e) {
178
178
  K.push(e);
179
179
  }
180
- const Ye = /* @__PURE__ */ new Set();
180
+ const Ze = /* @__PURE__ */ new Set();
181
181
  let Y = 0;
182
- function O() {
182
+ function L() {
183
183
  if (Y !== 0)
184
184
  return;
185
- const e = ve;
185
+ const e = be;
186
186
  do {
187
187
  try {
188
188
  for (; Y < q.length; ) {
189
189
  const t = q[Y];
190
- Y++, ge(t), Nn(t.$$);
190
+ Y++, ve(t), En(t.$$);
191
191
  }
192
192
  } catch (t) {
193
193
  throw q.length = 0, Y = 0, t;
194
194
  }
195
- for (ge(null), q.length = 0, Y = 0; it.length; )
196
- it.pop()();
195
+ for (ve(null), q.length = 0, Y = 0; rt.length; )
196
+ rt.pop()();
197
197
  for (let t = 0; t < K.length; t += 1) {
198
198
  const r = K[t];
199
- Ye.has(r) || (Ye.add(r), r());
199
+ Ze.has(r) || (Ze.add(r), r());
200
200
  }
201
201
  K.length = 0;
202
202
  } while (q.length);
203
- for (; Pt.length; )
204
- Pt.pop()();
205
- ot = !1, Ye.clear(), ge(e);
203
+ for (; At.length; )
204
+ At.pop()();
205
+ nt = !1, Ze.clear(), ve(e);
206
206
  }
207
- function Nn(e) {
207
+ function En(e) {
208
208
  if (e.fragment !== null) {
209
- e.update(), oe(e.before_update);
209
+ e.update(), ae(e.before_update);
210
210
  const t = e.dirty;
211
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
211
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(it);
212
212
  }
213
213
  }
214
- function Sn(e) {
214
+ function Nn(e) {
215
215
  const t = [], r = [];
216
216
  K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
217
217
  }
218
218
  const Ae = /* @__PURE__ */ new Set();
219
219
  let Z;
220
- function gr() {
220
+ function mr() {
221
221
  Z = {
222
222
  r: 0,
223
223
  c: [],
@@ -225,13 +225,13 @@ function gr() {
225
225
  // parent group
226
226
  };
227
227
  }
228
- function vr() {
229
- Z.r || oe(Z.c), Z = Z.p;
228
+ function pr() {
229
+ Z.r || ae(Z.c), Z = Z.p;
230
230
  }
231
231
  function z(e, t) {
232
232
  e && e.i && (Ae.delete(e), e.i(t));
233
233
  }
234
- function be(e, t, r, n) {
234
+ function ye(e, t, r, n) {
235
235
  if (e && e.o) {
236
236
  if (Ae.has(e))
237
237
  return;
@@ -241,26 +241,26 @@ function be(e, t, r, n) {
241
241
  } else
242
242
  n && n();
243
243
  }
244
- function Oe(e) {
244
+ function Le(e) {
245
245
  return e?.length !== void 0 ? e : Array.from(e);
246
246
  }
247
- function In(e, t, r) {
247
+ function Sn(e, t, r) {
248
248
  const { fragment: n, after_update: i } = e.$$;
249
- n && n.m(t, r), at(() => {
250
- const o = e.$$.on_mount.map(cr).filter(wt);
251
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
252
- }), i.forEach(at);
249
+ n && n.m(t, r), it(() => {
250
+ const o = e.$$.on_mount.map(ur).filter(bt);
251
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
252
+ }), i.forEach(it);
253
253
  }
254
- function Bn(e, t) {
254
+ function In(e, t) {
255
255
  const r = e.$$;
256
- r.fragment !== null && (Sn(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
256
+ r.fragment !== null && (Nn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
257
257
  }
258
- function An(e, t) {
259
- e.$$.dirty[0] === -1 && (q.push(e), En(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
258
+ function Bn(e, t) {
259
+ e.$$.dirty[0] === -1 && (q.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
260
260
  }
261
- function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
262
- const l = ve;
263
- ge(e);
261
+ function An(e, t, r, n, i, o, a = null, s = [-1]) {
262
+ const l = be;
263
+ ve(e);
264
264
  const h = e.$$ = {
265
265
  fragment: null,
266
266
  ctx: [],
@@ -268,7 +268,7 @@ function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
268
268
  props: o,
269
269
  update: R,
270
270
  not_equal: i,
271
- bound: Tt(),
271
+ bound: Bt(),
272
272
  // lifecycle
273
273
  on_mount: [],
274
274
  on_destroy: [],
@@ -277,7 +277,7 @@ function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
277
277
  after_update: [],
278
278
  context: new Map(t.context || (l ? l.$$.context : [])),
279
279
  // everything else
280
- callbacks: Tt(),
280
+ callbacks: Bt(),
281
281
  dirty: s,
282
282
  skip_bound: !1,
283
283
  root: t.target || l.$$.root
@@ -286,19 +286,19 @@ function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
286
286
  let u = !1;
287
287
  if (h.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
288
288
  const g = p.length ? p[0] : f;
289
- return h.ctx && i(h.ctx[d], h.ctx[d] = g) && (!h.skip_bound && h.bound[d] && h.bound[d](g), u && An(e, d)), f;
290
- }) : [], h.update(), u = !0, oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
289
+ return h.ctx && i(h.ctx[d], h.ctx[d] = g) && (!h.skip_bound && h.bound[d] && h.bound[d](g), u && Bn(e, d)), f;
290
+ }) : [], h.update(), u = !0, ae(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
291
291
  if (t.hydrate) {
292
- const d = bn(t.target);
293
- h.fragment && h.fragment.l(d), d.forEach(H);
292
+ const d = vn(t.target);
293
+ h.fragment && h.fragment.l(d), d.forEach(P);
294
294
  } else
295
295
  h.fragment && h.fragment.c();
296
- t.intro && z(e.$$.fragment), In(e, t.target, t.anchor), O();
296
+ t.intro && z(e.$$.fragment), Sn(e, t.target, t.anchor), L();
297
297
  }
298
- ge(l);
298
+ ve(l);
299
299
  }
300
- let br;
301
- typeof HTMLElement == "function" && (br = class extends HTMLElement {
300
+ let gr;
301
+ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
302
302
  /** The Svelte component constructor */
303
303
  $$ctor;
304
304
  /** Slots */
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
340
340
  let o;
341
341
  return {
342
342
  c: function() {
343
- o = S("slot"), i !== "default" && c(o, "name", i);
343
+ o = I("slot"), i !== "default" && c(o, "name", i);
344
344
  },
345
345
  /**
346
346
  * @param {HTMLElement} target
@@ -350,14 +350,14 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
350
350
  C(l, o, h);
351
351
  },
352
352
  d: function(l) {
353
- l && H(o);
353
+ l && P(o);
354
354
  }
355
355
  };
356
356
  };
357
357
  };
358
358
  if (await Promise.resolve(), !this.$$cn || this.$$c)
359
359
  return;
360
- const t = {}, r = yn(this);
360
+ const t = {}, r = bn(this);
361
361
  for (const i of this.$$s)
362
362
  i in r && (t[i] = [e(i)]);
363
363
  for (const i of this.attributes) {
@@ -444,8 +444,8 @@ function Te(e, t, r, n) {
444
444
  return t;
445
445
  }
446
446
  }
447
- function Pn(e, t, r, n, i, o) {
448
- let a = class extends br {
447
+ function Tn(e, t, r, n, i, o) {
448
+ let a = class extends gr {
449
449
  constructor() {
450
450
  super(e, r, i), this.$$p_d = t;
451
451
  }
@@ -492,7 +492,7 @@ class Hn {
492
492
  $$set = void 0;
493
493
  /** @returns {void} */
494
494
  $destroy() {
495
- Bn(this, 1), this.$destroy = R;
495
+ In(this, 1), this.$destroy = R;
496
496
  }
497
497
  /**
498
498
  * @template {Extract<keyof Events, string>} K
@@ -501,7 +501,7 @@ class Hn {
501
501
  * @returns {() => void}
502
502
  */
503
503
  $on(t, r) {
504
- if (!wt(r))
504
+ if (!bt(r))
505
505
  return R;
506
506
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
507
507
  return n.push(r), () => {
@@ -514,11 +514,11 @@ class Hn {
514
514
  * @returns {void}
515
515
  */
516
516
  $set(t) {
517
- this.$$set && !ln(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
+ this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
518
  }
519
519
  }
520
- const Mn = "4";
521
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mn);
520
+ const Pn = "4";
521
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
522
522
  /*! *****************************************************************************
523
523
  Copyright (c) Microsoft Corporation.
524
524
 
@@ -533,24 +533,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
533
533
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
534
534
  PERFORMANCE OF THIS SOFTWARE.
535
535
  ***************************************************************************** */
536
- var st = function(e, t) {
537
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
536
+ var ot = function(e, t) {
537
+ return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
538
538
  r.__proto__ = n;
539
539
  } || function(r, n) {
540
540
  for (var i in n)
541
541
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
542
- }, st(e, t);
542
+ }, ot(e, t);
543
543
  };
544
- function xe(e, t) {
544
+ function V(e, t) {
545
545
  if (typeof t != "function" && t !== null)
546
546
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
547
- st(e, t);
547
+ ot(e, t);
548
548
  function r() {
549
549
  this.constructor = e;
550
550
  }
551
551
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
552
552
  }
553
- function lt(e) {
553
+ var w = function() {
554
+ return w = Object.assign || function(t) {
555
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
556
+ r = arguments[n];
557
+ for (var o in r)
558
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
559
+ }
560
+ return t;
561
+ }, w.apply(this, arguments);
562
+ };
563
+ function Mn(e, t) {
564
+ var r = {};
565
+ for (var n in e)
566
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
567
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
568
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
569
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
570
+ return r;
571
+ }
572
+ function at(e) {
554
573
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
555
574
  if (r)
556
575
  return r.call(e);
@@ -562,7 +581,7 @@ function lt(e) {
562
581
  };
563
582
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
564
583
  }
565
- function ut(e, t) {
584
+ function st(e, t) {
566
585
  var r = typeof Symbol == "function" && e[Symbol.iterator];
567
586
  if (!r)
568
587
  return e;
@@ -582,22 +601,22 @@ function ut(e, t) {
582
601
  }
583
602
  return o;
584
603
  }
585
- function ht(e, t, r) {
586
- if (arguments.length === 2)
604
+ function ee(e, t, r) {
605
+ if (r || arguments.length === 2)
587
606
  for (var n = 0, i = t.length, o; n < i; n++)
588
607
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
589
608
  return e.concat(o || t);
590
609
  }
591
- function V(e) {
610
+ function W(e) {
592
611
  return typeof e == "function";
593
612
  }
594
- function yr(e) {
613
+ function vr(e) {
595
614
  var t = function(n) {
596
615
  Error.call(n), n.stack = new Error().stack;
597
616
  }, r = e(t);
598
617
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
599
618
  }
600
- var Je = yr(function(e) {
619
+ var Qe = vr(function(e) {
601
620
  return function(r) {
602
621
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
603
622
  ` + r.map(function(n, i) {
@@ -606,13 +625,13 @@ var Je = yr(function(e) {
606
625
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
607
626
  };
608
627
  });
609
- function ct(e, t) {
628
+ function lt(e, t) {
610
629
  if (e) {
611
630
  var r = e.indexOf(t);
612
631
  0 <= r && e.splice(r, 1);
613
632
  }
614
633
  }
615
- var Ge = function() {
634
+ var Ue = function() {
616
635
  function e(t) {
617
636
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
618
637
  }
@@ -624,7 +643,7 @@ var Ge = function() {
624
643
  if (a)
625
644
  if (this._parentage = null, Array.isArray(a))
626
645
  try {
627
- for (var s = lt(a), l = s.next(); !l.done; l = s.next()) {
646
+ for (var s = at(a), l = s.next(); !l.done; l = s.next()) {
628
647
  var h = l.value;
629
648
  h.remove(this);
630
649
  }
@@ -641,22 +660,22 @@ var Ge = function() {
641
660
  else
642
661
  a.remove(this);
643
662
  var u = this.initialTeardown;
644
- if (V(u))
663
+ if (W(u))
645
664
  try {
646
665
  u();
647
666
  } catch (v) {
648
- o = v instanceof Je ? v.errors : [v];
667
+ o = v instanceof Qe ? v.errors : [v];
649
668
  }
650
669
  var d = this._finalizers;
651
670
  if (d) {
652
671
  this._finalizers = null;
653
672
  try {
654
- for (var f = lt(d), p = f.next(); !p.done; p = f.next()) {
673
+ for (var f = at(d), p = f.next(); !p.done; p = f.next()) {
655
674
  var g = p.value;
656
675
  try {
657
- Ht(g);
676
+ Tt(g);
658
677
  } catch (v) {
659
- o = o ?? [], v instanceof Je ? o = ht(ht([], ut(o)), ut(v.errors)) : o.push(v);
678
+ o = o ?? [], v instanceof Qe ? o = ee(ee([], st(o)), st(v.errors)) : o.push(v);
660
679
  }
661
680
  }
662
681
  } catch (v) {
@@ -671,13 +690,13 @@ var Ge = function() {
671
690
  }
672
691
  }
673
692
  if (o)
674
- throw new Je(o);
693
+ throw new Qe(o);
675
694
  }
676
695
  }, e.prototype.add = function(t) {
677
696
  var r;
678
697
  if (t && t !== this)
679
698
  if (this.closed)
680
- Ht(t);
699
+ Tt(t);
681
700
  else {
682
701
  if (t instanceof e) {
683
702
  if (t.closed || t._hasParent(this))
@@ -694,52 +713,56 @@ var Ge = function() {
694
713
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
695
714
  }, e.prototype._removeParent = function(t) {
696
715
  var r = this._parentage;
697
- r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
716
+ r === t ? this._parentage = null : Array.isArray(r) && lt(r, t);
698
717
  }, e.prototype.remove = function(t) {
699
718
  var r = this._finalizers;
700
- r && ct(r, t), t instanceof e && t._removeParent(this);
719
+ r && lt(r, t), t instanceof e && t._removeParent(this);
701
720
  }, e.EMPTY = function() {
702
721
  var t = new e();
703
722
  return t.closed = !0, t;
704
723
  }(), e;
705
- }(), _r = Ge.EMPTY;
706
- function xr(e) {
707
- return e instanceof Ge || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
724
+ }(), br = Ue.EMPTY;
725
+ function yr(e) {
726
+ return e instanceof Ue || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
708
727
  }
709
- function Ht(e) {
710
- V(e) ? e() : e.unsubscribe();
728
+ function Tt(e) {
729
+ W(e) ? e() : e.unsubscribe();
711
730
  }
712
- var On = {
713
- Promise: void 0
731
+ var _r = {
732
+ onUnhandledError: null,
733
+ onStoppedNotification: null,
734
+ Promise: void 0,
735
+ useDeprecatedSynchronousErrorHandling: !1,
736
+ useDeprecatedNextContext: !1
714
737
  }, Ln = {
715
738
  setTimeout: function(e, t) {
716
739
  for (var r = [], n = 2; n < arguments.length; n++)
717
740
  r[n - 2] = arguments[n];
718
- return setTimeout.apply(void 0, ht([e, t], ut(r)));
741
+ return setTimeout.apply(void 0, ee([e, t], st(r)));
719
742
  },
720
743
  clearTimeout: function(e) {
721
744
  return clearTimeout(e);
722
745
  },
723
746
  delegate: void 0
724
747
  };
725
- function Cn(e) {
748
+ function On(e) {
726
749
  Ln.setTimeout(function() {
727
750
  throw e;
728
751
  });
729
752
  }
730
- function Mt() {
753
+ function Ht() {
731
754
  }
732
- function Pe(e) {
755
+ function He(e) {
733
756
  e();
734
757
  }
735
- var wr = function(e) {
736
- xe(t, e);
758
+ var xr = function(e) {
759
+ V(t, e);
737
760
  function t(r) {
738
761
  var n = e.call(this) || this;
739
- return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = Un, n;
762
+ return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = Un, n;
740
763
  }
741
764
  return t.create = function(r, n, i) {
742
- return new ft(r, n, i);
765
+ return new ut(r, n, i);
743
766
  }, t.prototype.next = function(r) {
744
767
  this.isStopped || this._next(r);
745
768
  }, t.prototype.error = function(r) {
@@ -763,7 +786,11 @@ var wr = function(e) {
763
786
  this.unsubscribe();
764
787
  }
765
788
  }, t;
766
- }(Ge), Fn = function() {
789
+ }(Ue), Cn = Function.prototype.bind;
790
+ function Ye(e, t) {
791
+ return Cn.call(e, t);
792
+ }
793
+ var Fn = function() {
767
794
  function e(t) {
768
795
  this.partialObserver = t;
769
796
  }
@@ -794,43 +821,55 @@ var wr = function(e) {
794
821
  Ie(r);
795
822
  }
796
823
  }, e;
797
- }(), ft = function(e) {
798
- xe(t, e);
824
+ }(), ut = function(e) {
825
+ V(t, e);
799
826
  function t(r, n, i) {
800
827
  var o = e.call(this) || this, a;
801
- return V(r) || !r ? a = {
802
- next: r ?? void 0,
803
- error: n ?? void 0,
804
- complete: i ?? void 0
805
- } : a = r, o.destination = new Fn(a), o;
828
+ if (W(r) || !r)
829
+ a = {
830
+ next: r ?? void 0,
831
+ error: n ?? void 0,
832
+ complete: i ?? void 0
833
+ };
834
+ else {
835
+ var s;
836
+ o && _r.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
837
+ return o.unsubscribe();
838
+ }, a = {
839
+ next: r.next && Ye(r.next, s),
840
+ error: r.error && Ye(r.error, s),
841
+ complete: r.complete && Ye(r.complete, s)
842
+ }) : a = r;
843
+ }
844
+ return o.destination = new Fn(a), o;
806
845
  }
807
846
  return t;
808
- }(wr);
847
+ }(xr);
809
848
  function Ie(e) {
810
- Cn(e);
849
+ On(e);
811
850
  }
812
851
  function Rn(e) {
813
852
  throw e;
814
853
  }
815
854
  var Un = {
816
855
  closed: !0,
817
- next: Mt,
856
+ next: Ht,
818
857
  error: Rn,
819
- complete: Mt
820
- }, Gn = function() {
858
+ complete: Ht
859
+ }, Dn = function() {
821
860
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
822
861
  }();
823
- function Dn(e) {
862
+ function Gn(e) {
824
863
  return e;
825
864
  }
826
865
  function kn(e) {
827
- return e.length === 0 ? Dn : e.length === 1 ? e[0] : function(r) {
866
+ return e.length === 0 ? Gn : e.length === 1 ? e[0] : function(r) {
828
867
  return e.reduce(function(n, i) {
829
868
  return i(n);
830
869
  }, r);
831
870
  };
832
871
  }
833
- var Ot = function() {
872
+ var Pt = function() {
834
873
  function e(t) {
835
874
  t && (this._subscribe = t);
836
875
  }
@@ -838,8 +877,8 @@ var Ot = function() {
838
877
  var r = new e();
839
878
  return r.source = this, r.operator = t, r;
840
879
  }, e.prototype.subscribe = function(t, r, n) {
841
- var i = this, o = jn(t) ? t : new ft(t, r, n);
842
- return Pe(function() {
880
+ var i = this, o = jn(t) ? t : new ut(t, r, n);
881
+ return He(function() {
843
882
  var a = i, s = a.operator, l = a.source;
844
883
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
845
884
  }), o;
@@ -851,8 +890,8 @@ var Ot = function() {
851
890
  }
852
891
  }, e.prototype.forEach = function(t, r) {
853
892
  var n = this;
854
- return r = Lt(r), new r(function(i, o) {
855
- var a = new ft({
893
+ return r = Mt(r), new r(function(i, o) {
894
+ var a = new ut({
856
895
  next: function(s) {
857
896
  try {
858
897
  t(s);
@@ -868,7 +907,7 @@ var Ot = function() {
868
907
  }, e.prototype._subscribe = function(t) {
869
908
  var r;
870
909
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
871
- }, e.prototype[Gn] = function() {
910
+ }, e.prototype[Dn] = function() {
872
911
  return this;
873
912
  }, e.prototype.pipe = function() {
874
913
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -876,7 +915,7 @@ var Ot = function() {
876
915
  return kn(t)(this);
877
916
  }, e.prototype.toPromise = function(t) {
878
917
  var r = this;
879
- return t = Lt(t), new t(function(n, i) {
918
+ return t = Mt(t), new t(function(n, i) {
880
919
  var o;
881
920
  r.subscribe(function(a) {
882
921
  return o = a;
@@ -890,40 +929,40 @@ var Ot = function() {
890
929
  return new e(t);
891
930
  }, e;
892
931
  }();
893
- function Lt(e) {
932
+ function Mt(e) {
894
933
  var t;
895
- return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
934
+ return (t = e ?? _r.Promise) !== null && t !== void 0 ? t : Promise;
896
935
  }
897
936
  function $n(e) {
898
- return e && V(e.next) && V(e.error) && V(e.complete);
937
+ return e && W(e.next) && W(e.error) && W(e.complete);
899
938
  }
900
939
  function jn(e) {
901
- return e && e instanceof wr || $n(e) && xr(e);
940
+ return e && e instanceof xr || $n(e) && yr(e);
902
941
  }
903
- var Wn = yr(function(e) {
942
+ var Wn = vr(function(e) {
904
943
  return function() {
905
944
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
906
945
  };
907
- }), Er = function(e) {
908
- xe(t, e);
946
+ }), wr = function(e) {
947
+ V(t, e);
909
948
  function t() {
910
949
  var r = e.call(this) || this;
911
950
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
912
951
  }
913
952
  return t.prototype.lift = function(r) {
914
- var n = new Ct(this, this);
953
+ var n = new Lt(this, this);
915
954
  return n.operator = r, n;
916
955
  }, t.prototype._throwIfClosed = function() {
917
956
  if (this.closed)
918
957
  throw new Wn();
919
958
  }, t.prototype.next = function(r) {
920
959
  var n = this;
921
- Pe(function() {
960
+ He(function() {
922
961
  var i, o;
923
962
  if (n._throwIfClosed(), !n.isStopped) {
924
963
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
925
964
  try {
926
- for (var a = lt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
965
+ for (var a = at(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
927
966
  var l = s.value;
928
967
  l.next(r);
929
968
  }
@@ -941,7 +980,7 @@ var Wn = yr(function(e) {
941
980
  });
942
981
  }, t.prototype.error = function(r) {
943
982
  var n = this;
944
- Pe(function() {
983
+ He(function() {
945
984
  if (n._throwIfClosed(), !n.isStopped) {
946
985
  n.hasError = n.isStopped = !0, n.thrownError = r;
947
986
  for (var i = n.observers; i.length; )
@@ -950,7 +989,7 @@ var Wn = yr(function(e) {
950
989
  });
951
990
  }, t.prototype.complete = function() {
952
991
  var r = this;
953
- Pe(function() {
992
+ He(function() {
954
993
  if (r._throwIfClosed(), !r.isStopped) {
955
994
  r.isStopped = !0;
956
995
  for (var n = r.observers; n.length; )
@@ -972,20 +1011,20 @@ var Wn = yr(function(e) {
972
1011
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
973
1012
  }, t.prototype._innerSubscribe = function(r) {
974
1013
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
975
- return o || a ? _r : (this.currentObservers = null, s.push(r), new Ge(function() {
976
- n.currentObservers = null, ct(s, r);
1014
+ return o || a ? br : (this.currentObservers = null, s.push(r), new Ue(function() {
1015
+ n.currentObservers = null, lt(s, r);
977
1016
  }));
978
1017
  }, t.prototype._checkFinalizedStatuses = function(r) {
979
1018
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
980
1019
  i ? r.error(o) : a && r.complete();
981
1020
  }, t.prototype.asObservable = function() {
982
- var r = new Ot();
1021
+ var r = new Pt();
983
1022
  return r.source = this, r;
984
1023
  }, t.create = function(r, n) {
985
- return new Ct(r, n);
1024
+ return new Lt(r, n);
986
1025
  }, t;
987
- }(Ot), Ct = function(e) {
988
- xe(t, e);
1026
+ }(Pt), Lt = function(e) {
1027
+ V(t, e);
989
1028
  function t(r, n) {
990
1029
  var i = e.call(this) || this;
991
1030
  return i.destination = r, i.source = n, i;
@@ -1001,17 +1040,17 @@ var Wn = yr(function(e) {
1001
1040
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1002
1041
  }, t.prototype._subscribe = function(r) {
1003
1042
  var n, i;
1004
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _r;
1043
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
1005
1044
  }, t;
1006
- }(Er), Nr = {
1045
+ }(wr), Er = {
1007
1046
  now: function() {
1008
- return (Nr.delegate || Date).now();
1047
+ return (Er.delegate || Date).now();
1009
1048
  },
1010
1049
  delegate: void 0
1011
1050
  }, Vn = function(e) {
1012
- xe(t, e);
1051
+ V(t, e);
1013
1052
  function t(r, n, i) {
1014
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
1053
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Er);
1015
1054
  var o = e.call(this) || this;
1016
1055
  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;
1017
1056
  }
@@ -1031,13 +1070,13 @@ var Wn = yr(function(e) {
1031
1070
  h && o.splice(0, h + 1);
1032
1071
  }
1033
1072
  }, t;
1034
- }(Er);
1035
- const Ft = [], Rt = {}, Xn = (e, t = 0) => {
1036
- if (Ft.indexOf(e) == -1) {
1073
+ }(wr);
1074
+ const Ot = [], Ct = {}, Xn = (e, t = 0) => {
1075
+ if (Ot.indexOf(e) == -1) {
1037
1076
  const r = new Vn(t);
1038
- Rt[e] = r, Ft.push(e);
1077
+ Ct[e] = r, Ot.push(e);
1039
1078
  }
1040
- return Rt[e];
1079
+ return Ct[e];
1041
1080
  }, J = [];
1042
1081
  function zn(e, t) {
1043
1082
  return {
@@ -1048,7 +1087,7 @@ function De(e, t = R) {
1048
1087
  let r;
1049
1088
  const n = /* @__PURE__ */ new Set();
1050
1089
  function i(s) {
1051
- if (fr(e, s) && (e = s, r)) {
1090
+ if (hr(e, s) && (e = s, r)) {
1052
1091
  const l = !J.length;
1053
1092
  for (const h of n)
1054
1093
  h[1](), J.push(h, e);
@@ -1070,7 +1109,7 @@ function De(e, t = R) {
1070
1109
  }
1071
1110
  return { set: i, update: o, subscribe: a };
1072
1111
  }
1073
- function se(e, t, r) {
1112
+ function le(e, t, r) {
1074
1113
  const n = !Array.isArray(e), i = n ? [e] : e;
1075
1114
  if (!i.every(Boolean))
1076
1115
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1084,12 +1123,12 @@ function se(e, t, r) {
1084
1123
  return;
1085
1124
  d();
1086
1125
  const g = t(n ? h[0] : h, a, s);
1087
- o ? a(g) : d = wt(g) ? g : R;
1126
+ o ? a(g) : d = bt(g) ? g : R;
1088
1127
  }, p = i.map(
1089
- (g, v) => dr(
1128
+ (g, v) => cr(
1090
1129
  g,
1091
- (N) => {
1092
- h[v] = N, u &= ~(1 << v), l && f();
1130
+ (S) => {
1131
+ h[v] = S, u &= ~(1 << v), l && f();
1093
1132
  },
1094
1133
  () => {
1095
1134
  u |= 1 << v;
@@ -1097,7 +1136,7 @@ function se(e, t, r) {
1097
1136
  )
1098
1137
  );
1099
1138
  return l = !0, f(), function() {
1100
- oe(p), d(), l = !1;
1139
+ ae(p), d(), l = !1;
1101
1140
  };
1102
1141
  });
1103
1142
  }
@@ -1121,29 +1160,29 @@ function ei(e) {
1121
1160
  function ti(e) {
1122
1161
  return Array.isArray(e) ? [] : {};
1123
1162
  }
1124
- function ye(e, t) {
1125
- return t.clone !== !1 && t.isMergeableObject(e) ? te(ti(e), e, t) : e;
1163
+ function _e(e, t) {
1164
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(ti(e), e, t) : e;
1126
1165
  }
1127
1166
  function ri(e, t, r) {
1128
1167
  return e.concat(t).map(function(n) {
1129
- return ye(n, r);
1168
+ return _e(n, r);
1130
1169
  });
1131
1170
  }
1132
1171
  function ni(e, t) {
1133
1172
  if (!t.customMerge)
1134
- return te;
1173
+ return re;
1135
1174
  var r = t.customMerge(e);
1136
- return typeof r == "function" ? r : te;
1175
+ return typeof r == "function" ? r : re;
1137
1176
  }
1138
1177
  function ii(e) {
1139
1178
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1140
1179
  return Object.propertyIsEnumerable.call(e, t);
1141
1180
  }) : [];
1142
1181
  }
1143
- function Ut(e) {
1182
+ function Ft(e) {
1144
1183
  return Object.keys(e).concat(ii(e));
1145
1184
  }
1146
- function Sr(e, t) {
1185
+ function Nr(e, t) {
1147
1186
  try {
1148
1187
  return t in e;
1149
1188
  } catch {
@@ -1151,179 +1190,129 @@ function Sr(e, t) {
1151
1190
  }
1152
1191
  }
1153
1192
  function oi(e, t) {
1154
- return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1193
+ return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
1194
  }
1156
1195
  function ai(e, t, r) {
1157
1196
  var n = {};
1158
- return r.isMergeableObject(e) && Ut(e).forEach(function(i) {
1159
- n[i] = ye(e[i], r);
1160
- }), Ut(t).forEach(function(i) {
1161
- oi(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ni(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
1197
+ return r.isMergeableObject(e) && Ft(e).forEach(function(i) {
1198
+ n[i] = _e(e[i], r);
1199
+ }), Ft(t).forEach(function(i) {
1200
+ oi(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ni(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
1162
1201
  }), n;
1163
1202
  }
1164
- function te(e, t, r) {
1165
- r = r || {}, r.arrayMerge = r.arrayMerge || ri, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = ye;
1203
+ function re(e, t, r) {
1204
+ r = r || {}, r.arrayMerge = r.arrayMerge || ri, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = _e;
1166
1205
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1167
- return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : ye(t, r);
1206
+ return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : _e(t, r);
1168
1207
  }
1169
- te.all = function(t, r) {
1208
+ re.all = function(t, r) {
1170
1209
  if (!Array.isArray(t))
1171
1210
  throw new Error("first argument should be an array");
1172
1211
  return t.reduce(function(n, i) {
1173
- return te(n, i, r);
1212
+ return re(n, i, r);
1174
1213
  }, {});
1175
1214
  };
1176
- var si = te, li = si;
1215
+ var si = re, li = si;
1177
1216
  const ui = /* @__PURE__ */ Zn(li);
1178
- var dt = function(e, t) {
1179
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1180
- r.__proto__ = n;
1181
- } || function(r, n) {
1182
- for (var i in n)
1183
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1184
- }, dt(e, t);
1185
- };
1186
- function ke(e, t) {
1187
- if (typeof t != "function" && t !== null)
1188
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1189
- dt(e, t);
1190
- function r() {
1191
- this.constructor = e;
1192
- }
1193
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1194
- }
1195
- var k = function() {
1196
- return k = Object.assign || function(t) {
1197
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1198
- r = arguments[n];
1199
- for (var o in r)
1200
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1201
- }
1202
- return t;
1203
- }, k.apply(this, arguments);
1204
- };
1205
- function hi(e, t) {
1206
- var r = {};
1207
- for (var n in e)
1208
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1209
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1210
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1211
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1212
- return r;
1213
- }
1214
- function qe(e, t, r) {
1215
- if (r || arguments.length === 2)
1216
- for (var n = 0, i = t.length, o; n < i; n++)
1217
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1218
- return e.concat(o || Array.prototype.slice.call(t));
1219
- }
1220
- function Ke(e, t) {
1221
- var r = t && t.cache ? t.cache : vi, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : di;
1217
+ function Je(e, t) {
1218
+ var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : mi, i = t && t.strategy ? t.strategy : ci;
1222
1219
  return i(e, {
1223
1220
  cache: r,
1224
1221
  serializer: n
1225
1222
  });
1226
1223
  }
1227
- function ci(e) {
1224
+ function hi(e) {
1228
1225
  return e == null || typeof e == "number" || typeof e == "boolean";
1229
1226
  }
1230
- function fi(e, t, r, n) {
1231
- var i = ci(n) ? n : r(n), o = t.get(i);
1227
+ function Sr(e, t, r, n) {
1228
+ var i = hi(n) ? n : r(n), o = t.get(i);
1232
1229
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1233
1230
  }
1234
1231
  function Ir(e, t, r) {
1235
1232
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1236
1233
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1237
1234
  }
1238
- function Br(e, t, r, n, i) {
1235
+ function yt(e, t, r, n, i) {
1239
1236
  return r.bind(t, e, n, i);
1240
1237
  }
1241
- function di(e, t) {
1242
- var r = e.length === 1 ? fi : Ir;
1243
- return Br(e, this, r, t.cache.create(), t.serializer);
1238
+ function ci(e, t) {
1239
+ var r = e.length === 1 ? Sr : Ir;
1240
+ return yt(e, this, r, t.cache.create(), t.serializer);
1241
+ }
1242
+ function fi(e, t) {
1243
+ return yt(e, this, Ir, t.cache.create(), t.serializer);
1244
1244
  }
1245
- function mi(e, t) {
1246
- return Br(e, this, Ir, t.cache.create(), t.serializer);
1245
+ function di(e, t) {
1246
+ return yt(e, this, Sr, t.cache.create(), t.serializer);
1247
1247
  }
1248
- var pi = function() {
1248
+ var mi = function() {
1249
1249
  return JSON.stringify(arguments);
1250
- }, gi = (
1251
- /** @class */
1252
- function() {
1253
- function e() {
1254
- this.cache = /* @__PURE__ */ Object.create(null);
1255
- }
1256
- return e.prototype.get = function(t) {
1257
- return this.cache[t];
1258
- }, e.prototype.set = function(t, r) {
1259
- this.cache[t] = r;
1260
- }, e;
1261
- }()
1262
- ), vi = {
1250
+ };
1251
+ function _t() {
1252
+ this.cache = /* @__PURE__ */ Object.create(null);
1253
+ }
1254
+ _t.prototype.get = function(e) {
1255
+ return this.cache[e];
1256
+ };
1257
+ _t.prototype.set = function(e, t) {
1258
+ this.cache[e] = t;
1259
+ };
1260
+ var pi = {
1263
1261
  create: function() {
1264
- return new gi();
1262
+ return new _t();
1265
1263
  }
1266
- }, et = {
1267
- variadic: mi
1268
- }, Le = function() {
1269
- return Le = Object.assign || function(t) {
1270
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1271
- r = arguments[n];
1272
- for (var o in r)
1273
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1274
- }
1275
- return t;
1276
- }, Le.apply(this, arguments);
1277
- };
1278
- var _;
1264
+ }, qe = {
1265
+ variadic: fi,
1266
+ monadic: di
1267
+ }, _;
1279
1268
  (function(e) {
1280
1269
  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";
1281
1270
  })(_ || (_ = {}));
1282
- var I;
1271
+ var B;
1283
1272
  (function(e) {
1284
1273
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1285
- })(I || (I = {}));
1286
- var re;
1274
+ })(B || (B = {}));
1275
+ var ne;
1287
1276
  (function(e) {
1288
1277
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1289
- })(re || (re = {}));
1290
- function Gt(e) {
1291
- return e.type === I.literal;
1278
+ })(ne || (ne = {}));
1279
+ function Rt(e) {
1280
+ return e.type === B.literal;
1292
1281
  }
1293
- function bi(e) {
1294
- return e.type === I.argument;
1282
+ function gi(e) {
1283
+ return e.type === B.argument;
1284
+ }
1285
+ function Br(e) {
1286
+ return e.type === B.number;
1295
1287
  }
1296
1288
  function Ar(e) {
1297
- return e.type === I.number;
1289
+ return e.type === B.date;
1298
1290
  }
1299
1291
  function Tr(e) {
1300
- return e.type === I.date;
1301
- }
1302
- function Pr(e) {
1303
- return e.type === I.time;
1292
+ return e.type === B.time;
1304
1293
  }
1305
1294
  function Hr(e) {
1306
- return e.type === I.select;
1295
+ return e.type === B.select;
1307
1296
  }
1308
- function Mr(e) {
1309
- return e.type === I.plural;
1297
+ function Pr(e) {
1298
+ return e.type === B.plural;
1310
1299
  }
1311
- function yi(e) {
1312
- return e.type === I.pound;
1300
+ function vi(e) {
1301
+ return e.type === B.pound;
1313
1302
  }
1314
- function Or(e) {
1315
- return e.type === I.tag;
1303
+ function Mr(e) {
1304
+ return e.type === B.tag;
1316
1305
  }
1317
1306
  function Lr(e) {
1318
- return !!(e && typeof e == "object" && e.type === re.number);
1307
+ return !!(e && typeof e == "object" && e.type === ne.number);
1319
1308
  }
1320
- function mt(e) {
1321
- return !!(e && typeof e == "object" && e.type === re.dateTime);
1309
+ function ht(e) {
1310
+ return !!(e && typeof e == "object" && e.type === ne.dateTime);
1322
1311
  }
1323
- var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _i = /(?:[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;
1324
- function xi(e) {
1312
+ var Or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
1313
+ function yi(e) {
1325
1314
  var t = {};
1326
- return e.replace(_i, function(r) {
1315
+ return e.replace(bi, function(r) {
1327
1316
  var n = r.length;
1328
1317
  switch (r[0]) {
1329
1318
  case "G":
@@ -1412,21 +1401,11 @@ function xi(e) {
1412
1401
  return "";
1413
1402
  }), t;
1414
1403
  }
1415
- var A = function() {
1416
- return A = Object.assign || function(t) {
1417
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1418
- r = arguments[n];
1419
- for (var o in r)
1420
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1421
- }
1422
- return t;
1423
- }, A.apply(this, arguments);
1424
- };
1425
- var wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1426
- function Ei(e) {
1404
+ var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1405
+ function xi(e) {
1427
1406
  if (e.length === 0)
1428
1407
  throw new Error("Number skeleton cannot be empty");
1429
- for (var t = e.split(wi).filter(function(f) {
1408
+ for (var t = e.split(_i).filter(function(f) {
1430
1409
  return f.length > 0;
1431
1410
  }), r = [], n = 0, i = t; n < i.length; n++) {
1432
1411
  var o = i[n], a = o.split("/");
@@ -1441,17 +1420,17 @@ function Ei(e) {
1441
1420
  }
1442
1421
  return r;
1443
1422
  }
1444
- function Ni(e) {
1423
+ function wi(e) {
1445
1424
  return e.replace(/^(.*?)-/, "");
1446
1425
  }
1447
- var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
1448
- function kt(e) {
1426
+ var Ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
1427
+ function Dt(e) {
1449
1428
  var t = {};
1450
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1429
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
1451
1430
  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)), "";
1452
1431
  }), t;
1453
1432
  }
1454
- function Ur(e) {
1433
+ function Rr(e) {
1455
1434
  switch (e) {
1456
1435
  case "sign-auto":
1457
1436
  return {
@@ -1491,7 +1470,7 @@ function Ur(e) {
1491
1470
  };
1492
1471
  }
1493
1472
  }
1494
- function Ii(e) {
1473
+ function Ni(e) {
1495
1474
  var t;
1496
1475
  if (e[0] === "E" && e[1] === "E" ? (t = {
1497
1476
  notation: "engineering"
@@ -1499,17 +1478,17 @@ function Ii(e) {
1499
1478
  notation: "scientific"
1500
1479
  }, e = e.slice(1)), t) {
1501
1480
  var r = e.slice(0, 2);
1502
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
1481
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
1503
1482
  throw new Error("Malformed concise eng/scientific notation");
1504
1483
  t.minimumIntegerDigits = e.length;
1505
1484
  }
1506
1485
  return t;
1507
1486
  }
1508
- function $t(e) {
1509
- var t = {}, r = Ur(e);
1487
+ function Gt(e) {
1488
+ var t = {}, r = Rr(e);
1510
1489
  return r || t;
1511
1490
  }
1512
- function Bi(e) {
1491
+ function Si(e) {
1513
1492
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1514
1493
  var i = n[r];
1515
1494
  switch (i.stem) {
@@ -1533,7 +1512,7 @@ function Bi(e) {
1533
1512
  continue;
1534
1513
  case "measure-unit":
1535
1514
  case "unit":
1536
- t.style = "unit", t.unit = Ni(i.options[0]);
1515
+ t.style = "unit", t.unit = wi(i.options[0]);
1537
1516
  continue;
1538
1517
  case "compact-short":
1539
1518
  case "K":
@@ -1544,13 +1523,13 @@ function Bi(e) {
1544
1523
  t.notation = "compact", t.compactDisplay = "long";
1545
1524
  continue;
1546
1525
  case "scientific":
1547
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1548
- return A(A({}, l), $t(h));
1526
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1527
+ return w(w({}, l), Gt(h));
1549
1528
  }, {}));
1550
1529
  continue;
1551
1530
  case "engineering":
1552
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1553
- return A(A({}, l), $t(h));
1531
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1532
+ return w(w({}, l), Gt(h));
1554
1533
  }, {}));
1555
1534
  continue;
1556
1535
  case "notation-simple":
@@ -1595,7 +1574,7 @@ function Bi(e) {
1595
1574
  case "integer-width":
1596
1575
  if (i.options.length > 1)
1597
1576
  throw new RangeError("integer-width stems only accept a single optional option");
1598
- i.options[0].replace(Si, function(l, h, u, d, f, p) {
1577
+ i.options[0].replace(Ei, function(l, h, u, d, f, p) {
1599
1578
  if (h)
1600
1579
  t.minimumIntegerDigits = u.length;
1601
1580
  else {
@@ -1608,28 +1587,28 @@ function Bi(e) {
1608
1587
  });
1609
1588
  continue;
1610
1589
  }
1611
- if (Rr.test(i.stem)) {
1590
+ if (Fr.test(i.stem)) {
1612
1591
  t.minimumIntegerDigits = i.stem.length;
1613
1592
  continue;
1614
1593
  }
1615
- if (Dt.test(i.stem)) {
1594
+ if (Ut.test(i.stem)) {
1616
1595
  if (i.options.length > 1)
1617
1596
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1618
- i.stem.replace(Dt, function(l, h, u, d, f, p) {
1597
+ i.stem.replace(Ut, function(l, h, u, d, f, p) {
1619
1598
  return u === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1620
1599
  });
1621
1600
  var o = i.options[0];
1622
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), kt(o)));
1601
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Dt(o)));
1623
1602
  continue;
1624
1603
  }
1625
- if (Fr.test(i.stem)) {
1626
- t = A(A({}, t), kt(i.stem));
1604
+ if (Cr.test(i.stem)) {
1605
+ t = w(w({}, t), Dt(i.stem));
1627
1606
  continue;
1628
1607
  }
1629
- var a = Ur(i.stem);
1630
- a && (t = A(A({}, t), a));
1631
- var s = Ii(i.stem);
1632
- s && (t = A(A({}, t), s));
1608
+ var a = Rr(i.stem);
1609
+ a && (t = w(w({}, t), a));
1610
+ var s = Ni(i.stem);
1611
+ s && (t = w(w({}, t), s));
1633
1612
  }
1634
1613
  return t;
1635
1614
  }
@@ -3048,13 +3027,13 @@ var Be = {
3048
3027
  "h"
3049
3028
  ]
3050
3029
  };
3051
- function Ai(e, t) {
3030
+ function Ii(e, t) {
3052
3031
  for (var r = "", n = 0; n < e.length; n++) {
3053
3032
  var i = e.charAt(n);
3054
3033
  if (i === "j") {
3055
3034
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3056
3035
  o++, n++;
3057
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Ti(t);
3036
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Bi(t);
3058
3037
  for ((h == "H" || h == "k") && (s = 0); s-- > 0; )
3059
3038
  r += l;
3060
3039
  for (; a-- > 0; )
@@ -3064,7 +3043,7 @@ function Ai(e, t) {
3064
3043
  }
3065
3044
  return r;
3066
3045
  }
3067
- function Ti(e) {
3046
+ function Bi(e) {
3068
3047
  var t = e.hourCycle;
3069
3048
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3070
3049
  e.hourCycles && // @ts-ignore
@@ -3086,20 +3065,20 @@ function Ti(e) {
3086
3065
  var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
3087
3066
  return i[0];
3088
3067
  }
3089
- var tt, Pi = new RegExp("^".concat(Cr.source, "*")), Hi = new RegExp("".concat(Cr.source, "*$"));
3068
+ var Ke, Ai = new RegExp("^".concat(Or.source, "*")), Ti = new RegExp("".concat(Or.source, "*$"));
3090
3069
  function x(e, t) {
3091
3070
  return { start: e, end: t };
3092
3071
  }
3093
- var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Ri = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Gi = Ui ? Number.isSafeInteger : function(e) {
3072
+ var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Mi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Oi = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Ri = Fi ? Number.isSafeInteger : function(e) {
3094
3073
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3095
- }, pt = !0;
3074
+ }, ct = !0;
3096
3075
  try {
3097
- var Di = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3098
- pt = ((tt = Di.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
3076
+ var Ui = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3077
+ ct = ((Ke = Ui.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3099
3078
  } catch {
3100
- pt = !1;
3079
+ ct = !1;
3101
3080
  }
3102
- var jt = Mi ? (
3081
+ var kt = Hi ? (
3103
3082
  // Native
3104
3083
  function(t, r, n) {
3105
3084
  return t.startsWith(r, n);
@@ -3109,7 +3088,7 @@ var jt = Mi ? (
3109
3088
  function(t, r, n) {
3110
3089
  return t.slice(n, n + r.length) === r;
3111
3090
  }
3112
- ), gt = Oi ? String.fromCodePoint : (
3091
+ ), ft = Pi ? String.fromCodePoint : (
3113
3092
  // IE11
3114
3093
  function() {
3115
3094
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3121,9 +3100,9 @@ var jt = Mi ? (
3121
3100
  }
3122
3101
  return n;
3123
3102
  }
3124
- ), Wt = (
3103
+ ), $t = (
3125
3104
  // native
3126
- Li ? Object.fromEntries : (
3105
+ Mi ? Object.fromEntries : (
3127
3106
  // Ponyfill
3128
3107
  function(t) {
3129
3108
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3133,7 +3112,7 @@ var jt = Mi ? (
3133
3112
  return r;
3134
3113
  }
3135
3114
  )
3136
- ), Gr = Ci ? (
3115
+ ), Ur = Li ? (
3137
3116
  // Native
3138
3117
  function(t, r) {
3139
3118
  return t.codePointAt(r);
@@ -3147,7 +3126,7 @@ var jt = Mi ? (
3147
3126
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3148
3127
  }
3149
3128
  }
3150
- ), ki = Fi ? (
3129
+ ), Di = Oi ? (
3151
3130
  // Native
3152
3131
  function(t) {
3153
3132
  return t.trimStart();
@@ -3155,9 +3134,9 @@ var jt = Mi ? (
3155
3134
  ) : (
3156
3135
  // Ponyfill
3157
3136
  function(t) {
3158
- return t.replace(Pi, "");
3137
+ return t.replace(Ai, "");
3159
3138
  }
3160
- ), $i = Ri ? (
3139
+ ), Gi = Ci ? (
3161
3140
  // Native
3162
3141
  function(t) {
3163
3142
  return t.trimEnd();
@@ -3165,32 +3144,32 @@ var jt = Mi ? (
3165
3144
  ) : (
3166
3145
  // Ponyfill
3167
3146
  function(t) {
3168
- return t.replace(Hi, "");
3147
+ return t.replace(Ti, "");
3169
3148
  }
3170
3149
  );
3171
3150
  function Dr(e, t) {
3172
3151
  return new RegExp(e, t);
3173
3152
  }
3174
- var vt;
3175
- if (pt) {
3176
- var Vt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3177
- vt = function(t, r) {
3153
+ var dt;
3154
+ if (ct) {
3155
+ var jt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3156
+ dt = function(t, r) {
3178
3157
  var n;
3179
- Vt.lastIndex = r;
3180
- var i = Vt.exec(t);
3158
+ jt.lastIndex = r;
3159
+ var i = jt.exec(t);
3181
3160
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3182
3161
  };
3183
3162
  } else
3184
- vt = function(t, r) {
3163
+ dt = function(t, r) {
3185
3164
  for (var n = []; ; ) {
3186
- var i = Gr(t, r);
3187
- if (i === void 0 || kr(i) || Xi(i))
3165
+ var i = Ur(t, r);
3166
+ if (i === void 0 || Gr(i) || Wi(i))
3188
3167
  break;
3189
3168
  n.push(i), r += i >= 65536 ? 2 : 1;
3190
3169
  }
3191
- return gt.apply(void 0, n);
3170
+ return ft.apply(void 0, n);
3192
3171
  };
3193
- var ji = (
3172
+ var ki = (
3194
3173
  /** @class */
3195
3174
  function() {
3196
3175
  function e(t, r) {
@@ -3214,14 +3193,14 @@ var ji = (
3214
3193
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3215
3194
  var s = this.clonePosition();
3216
3195
  this.bump(), i.push({
3217
- type: I.pound,
3196
+ type: B.pound,
3218
3197
  location: x(s, this.clonePosition())
3219
3198
  });
3220
3199
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3221
3200
  if (n)
3222
3201
  break;
3223
3202
  return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3224
- } else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
3203
+ } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3225
3204
  var a = this.parseTag(t, r);
3226
3205
  if (a.err)
3227
3206
  return a;
@@ -3242,7 +3221,7 @@ var ji = (
3242
3221
  if (this.bumpSpace(), this.bumpIf("/>"))
3243
3222
  return {
3244
3223
  val: {
3245
- type: I.literal,
3224
+ type: B.literal,
3246
3225
  value: "<".concat(i, "/>"),
3247
3226
  location: x(n, this.clonePosition())
3248
3227
  },
@@ -3254,12 +3233,12 @@ var ji = (
3254
3233
  return o;
3255
3234
  var a = o.val, s = this.clonePosition();
3256
3235
  if (this.bumpIf("</")) {
3257
- if (this.isEOF() || !bt(this.char()))
3236
+ if (this.isEOF() || !mt(this.char()))
3258
3237
  return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
3259
3238
  var l = this.clonePosition(), h = this.parseTagName();
3260
3239
  return i !== h ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3261
3240
  val: {
3262
- type: I.tag,
3241
+ type: B.tag,
3263
3242
  value: i,
3264
3243
  children: a,
3265
3244
  location: x(n, this.clonePosition())
@@ -3272,7 +3251,7 @@ var ji = (
3272
3251
  return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3273
3252
  }, e.prototype.parseTagName = function() {
3274
3253
  var t = this.offset();
3275
- for (this.bump(); !this.isEOF() && Vi(this.char()); )
3254
+ for (this.bump(); !this.isEOF() && ji(this.char()); )
3276
3255
  this.bump();
3277
3256
  return this.message.slice(t, this.offset());
3278
3257
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3296,12 +3275,12 @@ var ji = (
3296
3275
  }
3297
3276
  var l = x(n, this.clonePosition());
3298
3277
  return {
3299
- val: { type: I.literal, value: i, location: l },
3278
+ val: { type: B.literal, value: i, location: l },
3300
3279
  err: null
3301
3280
  };
3302
3281
  }, e.prototype.tryParseLeftAngleBracket = function() {
3303
3282
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3304
- !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3283
+ !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3305
3284
  }, e.prototype.tryParseQuote = function(t) {
3306
3285
  if (this.isEOF() || this.char() !== 39)
3307
3286
  return null;
@@ -3335,12 +3314,12 @@ var ji = (
3335
3314
  r.push(n);
3336
3315
  this.bump();
3337
3316
  }
3338
- return gt.apply(void 0, r);
3317
+ return ft.apply(void 0, r);
3339
3318
  }, e.prototype.tryParseUnquoted = function(t, r) {
3340
3319
  if (this.isEOF())
3341
3320
  return null;
3342
3321
  var n = this.char();
3343
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), gt(n));
3322
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
3344
3323
  }, e.prototype.parseArgument = function(t, r) {
3345
3324
  var n = this.clonePosition();
3346
3325
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3356,7 +3335,7 @@ var ji = (
3356
3335
  case 125:
3357
3336
  return this.bump(), {
3358
3337
  val: {
3359
- type: I.argument,
3338
+ type: B.argument,
3360
3339
  // value does not include the opening and closing braces.
3361
3340
  value: i,
3362
3341
  location: x(n, this.clonePosition())
@@ -3369,7 +3348,7 @@ var ji = (
3369
3348
  return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3370
3349
  }
3371
3350
  }, e.prototype.parseIdentifierIfPossible = function() {
3372
- var t = this.clonePosition(), r = this.offset(), n = vt(this.message, r), i = r + n.length;
3351
+ var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3373
3352
  this.bumpTo(i);
3374
3353
  var o = this.clonePosition(), a = x(t, o);
3375
3354
  return { value: n, location: a };
@@ -3388,7 +3367,7 @@ var ji = (
3388
3367
  var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3389
3368
  if (d.err)
3390
3369
  return d;
3391
- var f = $i(d.val);
3370
+ var f = Gi(d.val);
3392
3371
  if (f.length === 0)
3393
3372
  return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3394
3373
  var p = x(u, this.clonePosition());
@@ -3398,25 +3377,25 @@ var ji = (
3398
3377
  if (g.err)
3399
3378
  return g;
3400
3379
  var v = x(i, this.clonePosition());
3401
- if (h && jt(h?.style, "::", 0)) {
3402
- var N = ki(h.style.slice(2));
3380
+ if (h && kt(h?.style, "::", 0)) {
3381
+ var S = Di(h.style.slice(2));
3403
3382
  if (s === "number") {
3404
- var d = this.parseNumberSkeletonFromString(N, h.styleLocation);
3383
+ var d = this.parseNumberSkeletonFromString(S, h.styleLocation);
3405
3384
  return d.err ? d : {
3406
- val: { type: I.number, value: n, location: v, style: d.val },
3385
+ val: { type: B.number, value: n, location: v, style: d.val },
3407
3386
  err: null
3408
3387
  };
3409
3388
  } else {
3410
- if (N.length === 0)
3389
+ if (S.length === 0)
3411
3390
  return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
3412
- var w = N;
3413
- this.locale && (w = Ai(N, this.locale));
3391
+ var E = S;
3392
+ this.locale && (E = Ii(S, this.locale));
3414
3393
  var f = {
3415
- type: re.dateTime,
3416
- pattern: w,
3394
+ type: ne.dateTime,
3395
+ pattern: E,
3417
3396
  location: h.styleLocation,
3418
- parsedOptions: this.shouldParseSkeletons ? xi(w) : {}
3419
- }, y = s === "date" ? I.date : I.time;
3397
+ parsedOptions: this.shouldParseSkeletons ? yi(E) : {}
3398
+ }, y = s === "date" ? B.date : B.time;
3420
3399
  return {
3421
3400
  val: { type: y, value: n, location: v, style: f },
3422
3401
  err: null
@@ -3425,7 +3404,7 @@ var ji = (
3425
3404
  }
3426
3405
  return {
3427
3406
  val: {
3428
- type: s === "number" ? I.number : s === "date" ? I.date : I.time,
3407
+ type: s === "number" ? B.number : s === "date" ? B.date : B.time,
3429
3408
  value: n,
3430
3409
  location: v,
3431
3410
  style: (o = h?.style) !== null && o !== void 0 ? o : null
@@ -3436,43 +3415,43 @@ var ji = (
3436
3415
  case "plural":
3437
3416
  case "selectordinal":
3438
3417
  case "select": {
3439
- var B = this.clonePosition();
3418
+ var A = this.clonePosition();
3440
3419
  if (this.bumpSpace(), !this.bumpIf(","))
3441
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(B, Le({}, B)));
3420
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(A, w({}, A)));
3442
3421
  this.bumpSpace();
3443
- var E = this.parseIdentifierIfPossible(), M = 0;
3444
- if (s !== "select" && E.value === "offset") {
3422
+ var N = this.parseIdentifierIfPossible(), M = 0;
3423
+ if (s !== "select" && N.value === "offset") {
3445
3424
  if (!this.bumpIf(":"))
3446
3425
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3447
3426
  this.bumpSpace();
3448
3427
  var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3449
3428
  if (d.err)
3450
3429
  return d;
3451
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), M = d.val;
3430
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), M = d.val;
3452
3431
  }
3453
- var U = this.tryParsePluralOrSelectOptions(t, s, r, E);
3432
+ var U = this.tryParsePluralOrSelectOptions(t, s, r, N);
3454
3433
  if (U.err)
3455
3434
  return U;
3456
3435
  var g = this.tryParseArgumentClose(i);
3457
3436
  if (g.err)
3458
3437
  return g;
3459
- var he = x(i, this.clonePosition());
3438
+ var ce = x(i, this.clonePosition());
3460
3439
  return s === "select" ? {
3461
3440
  val: {
3462
- type: I.select,
3441
+ type: B.select,
3463
3442
  value: n,
3464
- options: Wt(U.val),
3465
- location: he
3443
+ options: $t(U.val),
3444
+ location: ce
3466
3445
  },
3467
3446
  err: null
3468
3447
  } : {
3469
3448
  val: {
3470
- type: I.plural,
3449
+ type: B.plural,
3471
3450
  value: n,
3472
- options: Wt(U.val),
3451
+ options: $t(U.val),
3473
3452
  offset: M,
3474
3453
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3475
- location: he
3454
+ location: ce
3476
3455
  },
3477
3456
  err: null
3478
3457
  };
@@ -3520,16 +3499,16 @@ var ji = (
3520
3499
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3521
3500
  var n = [];
3522
3501
  try {
3523
- n = Ei(t);
3502
+ n = xi(t);
3524
3503
  } catch {
3525
3504
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3526
3505
  }
3527
3506
  return {
3528
3507
  val: {
3529
- type: re.number,
3508
+ type: ne.number,
3530
3509
  tokens: n,
3531
3510
  location: r,
3532
- parsedOptions: this.shouldParseSkeletons ? Bi(n) : {}
3511
+ parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
3533
3512
  },
3534
3513
  err: null
3535
3514
  };
@@ -3577,7 +3556,7 @@ var ji = (
3577
3556
  break;
3578
3557
  }
3579
3558
  var l = x(i, this.clonePosition());
3580
- return o ? (a *= n, Gi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3559
+ return o ? (a *= n, Ri(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3581
3560
  }, e.prototype.offset = function() {
3582
3561
  return this.position.offset;
3583
3562
  }, e.prototype.isEOF = function() {
@@ -3592,7 +3571,7 @@ var ji = (
3592
3571
  var t = this.position.offset;
3593
3572
  if (t >= this.message.length)
3594
3573
  throw Error("out of bound");
3595
- var r = Gr(this.message, t);
3574
+ var r = Ur(this.message, t);
3596
3575
  if (r === void 0)
3597
3576
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3598
3577
  return r;
@@ -3611,7 +3590,7 @@ var ji = (
3611
3590
  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);
3612
3591
  }
3613
3592
  }, e.prototype.bumpIf = function(t) {
3614
- if (jt(this.message, t, this.offset())) {
3593
+ if (kt(this.message, t, this.offset())) {
3615
3594
  for (var r = 0; r < t.length; r++)
3616
3595
  this.bump();
3617
3596
  return !0;
@@ -3633,7 +3612,7 @@ var ji = (
3633
3612
  break;
3634
3613
  }
3635
3614
  }, e.prototype.bumpSpace = function() {
3636
- for (; !this.isEOF() && kr(this.char()); )
3615
+ for (; !this.isEOF() && Gr(this.char()); )
3637
3616
  this.bump();
3638
3617
  }, e.prototype.peek = function() {
3639
3618
  if (this.isEOF())
@@ -3643,47 +3622,47 @@ var ji = (
3643
3622
  }, e;
3644
3623
  }()
3645
3624
  );
3646
- function bt(e) {
3625
+ function mt(e) {
3647
3626
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3648
3627
  }
3649
- function Wi(e) {
3650
- return bt(e) || e === 47;
3628
+ function $i(e) {
3629
+ return mt(e) || e === 47;
3651
3630
  }
3652
- function Vi(e) {
3631
+ function ji(e) {
3653
3632
  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;
3654
3633
  }
3655
- function kr(e) {
3634
+ function Gr(e) {
3656
3635
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3657
3636
  }
3658
- function Xi(e) {
3637
+ function Wi(e) {
3659
3638
  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;
3660
3639
  }
3661
- function yt(e) {
3640
+ function pt(e) {
3662
3641
  e.forEach(function(t) {
3663
- if (delete t.location, Hr(t) || Mr(t))
3642
+ if (delete t.location, Hr(t) || Pr(t))
3664
3643
  for (var r in t.options)
3665
- delete t.options[r].location, yt(t.options[r].value);
3644
+ delete t.options[r].location, pt(t.options[r].value);
3666
3645
  else
3667
- Ar(t) && Lr(t.style) || (Tr(t) || Pr(t)) && mt(t.style) ? delete t.style.location : Or(t) && yt(t.children);
3646
+ Br(t) && Lr(t.style) || (Ar(t) || Tr(t)) && ht(t.style) ? delete t.style.location : Mr(t) && pt(t.children);
3668
3647
  });
3669
3648
  }
3670
- function zi(e, t) {
3671
- t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3672
- var r = new ji(e, t).parse();
3649
+ function Vi(e, t) {
3650
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3651
+ var r = new ki(e, t).parse();
3673
3652
  if (r.err) {
3674
3653
  var n = SyntaxError(_[r.err.kind]);
3675
3654
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3676
3655
  }
3677
- return t?.captureLocation || yt(r.val), r.val;
3656
+ return t?.captureLocation || pt(r.val), r.val;
3678
3657
  }
3679
- var ne;
3658
+ var ie;
3680
3659
  (function(e) {
3681
3660
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3682
- })(ne || (ne = {}));
3683
- var $e = (
3661
+ })(ie || (ie = {}));
3662
+ var Ge = (
3684
3663
  /** @class */
3685
3664
  function(e) {
3686
- ke(t, e);
3665
+ V(t, e);
3687
3666
  function t(r, n, i) {
3688
3667
  var o = e.call(this, r) || this;
3689
3668
  return o.code = n, o.originalMessage = i, o;
@@ -3692,155 +3671,155 @@ var $e = (
3692
3671
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3693
3672
  }, t;
3694
3673
  }(Error)
3695
- ), Xt = (
3674
+ ), Wt = (
3696
3675
  /** @class */
3697
3676
  function(e) {
3698
- ke(t, e);
3677
+ V(t, e);
3699
3678
  function t(r, n, i, o) {
3700
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3679
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3701
3680
  }
3702
3681
  return t;
3703
- }($e)
3704
- ), Zi = (
3682
+ }(Ge)
3683
+ ), Xi = (
3705
3684
  /** @class */
3706
3685
  function(e) {
3707
- ke(t, e);
3686
+ V(t, e);
3708
3687
  function t(r, n, i) {
3709
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3688
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3710
3689
  }
3711
3690
  return t;
3712
- }($e)
3713
- ), Qi = (
3691
+ }(Ge)
3692
+ ), zi = (
3714
3693
  /** @class */
3715
3694
  function(e) {
3716
- ke(t, e);
3695
+ V(t, e);
3717
3696
  function t(r, n) {
3718
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3697
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3719
3698
  }
3720
3699
  return t;
3721
- }($e)
3722
- ), L;
3700
+ }(Ge)
3701
+ ), O;
3723
3702
  (function(e) {
3724
3703
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3725
- })(L || (L = {}));
3726
- function Yi(e) {
3704
+ })(O || (O = {}));
3705
+ function Zi(e) {
3727
3706
  return e.length < 2 ? e : e.reduce(function(t, r) {
3728
3707
  var n = t[t.length - 1];
3729
- return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3708
+ return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3730
3709
  }, []);
3731
3710
  }
3732
- function Ji(e) {
3711
+ function Qi(e) {
3733
3712
  return typeof e == "function";
3734
3713
  }
3735
- function He(e, t, r, n, i, o, a) {
3736
- if (e.length === 1 && Gt(e[0]))
3714
+ function Pe(e, t, r, n, i, o, a) {
3715
+ if (e.length === 1 && Rt(e[0]))
3737
3716
  return [
3738
3717
  {
3739
- type: L.literal,
3718
+ type: O.literal,
3740
3719
  value: e[0].value
3741
3720
  }
3742
3721
  ];
3743
3722
  for (var s = [], l = 0, h = e; l < h.length; l++) {
3744
3723
  var u = h[l];
3745
- if (Gt(u)) {
3724
+ if (Rt(u)) {
3746
3725
  s.push({
3747
- type: L.literal,
3726
+ type: O.literal,
3748
3727
  value: u.value
3749
3728
  });
3750
3729
  continue;
3751
3730
  }
3752
- if (yi(u)) {
3731
+ if (vi(u)) {
3753
3732
  typeof o == "number" && s.push({
3754
- type: L.literal,
3733
+ type: O.literal,
3755
3734
  value: r.getNumberFormat(t).format(o)
3756
3735
  });
3757
3736
  continue;
3758
3737
  }
3759
3738
  var d = u.value;
3760
3739
  if (!(i && d in i))
3761
- throw new Qi(d, a);
3740
+ throw new zi(d, a);
3762
3741
  var f = i[d];
3763
- if (bi(u)) {
3742
+ if (gi(u)) {
3764
3743
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3765
- type: typeof f == "string" ? L.literal : L.object,
3744
+ type: typeof f == "string" ? O.literal : O.object,
3766
3745
  value: f
3767
3746
  });
3768
3747
  continue;
3769
3748
  }
3770
- if (Tr(u)) {
3771
- var p = typeof u.style == "string" ? n.date[u.style] : mt(u.style) ? u.style.parsedOptions : void 0;
3749
+ if (Ar(u)) {
3750
+ var p = typeof u.style == "string" ? n.date[u.style] : ht(u.style) ? u.style.parsedOptions : void 0;
3772
3751
  s.push({
3773
- type: L.literal,
3752
+ type: O.literal,
3774
3753
  value: r.getDateTimeFormat(t, p).format(f)
3775
3754
  });
3776
3755
  continue;
3777
3756
  }
3778
- if (Pr(u)) {
3779
- var p = typeof u.style == "string" ? n.time[u.style] : mt(u.style) ? u.style.parsedOptions : n.time.medium;
3757
+ if (Tr(u)) {
3758
+ var p = typeof u.style == "string" ? n.time[u.style] : ht(u.style) ? u.style.parsedOptions : n.time.medium;
3780
3759
  s.push({
3781
- type: L.literal,
3760
+ type: O.literal,
3782
3761
  value: r.getDateTimeFormat(t, p).format(f)
3783
3762
  });
3784
3763
  continue;
3785
3764
  }
3786
- if (Ar(u)) {
3765
+ if (Br(u)) {
3787
3766
  var p = typeof u.style == "string" ? n.number[u.style] : Lr(u.style) ? u.style.parsedOptions : void 0;
3788
3767
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3789
- type: L.literal,
3768
+ type: O.literal,
3790
3769
  value: r.getNumberFormat(t, p).format(f)
3791
3770
  });
3792
3771
  continue;
3793
3772
  }
3794
- if (Or(u)) {
3795
- var g = u.children, v = u.value, N = i[v];
3796
- if (!Ji(N))
3797
- throw new Zi(v, "function", a);
3798
- var w = He(g, t, r, n, i, o), y = N(w.map(function(M) {
3773
+ if (Mr(u)) {
3774
+ var g = u.children, v = u.value, S = i[v];
3775
+ if (!Qi(S))
3776
+ throw new Xi(v, "function", a);
3777
+ var E = Pe(g, t, r, n, i, o), y = S(E.map(function(M) {
3799
3778
  return M.value;
3800
3779
  }));
3801
3780
  Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(M) {
3802
3781
  return {
3803
- type: typeof M == "string" ? L.literal : L.object,
3782
+ type: typeof M == "string" ? O.literal : O.object,
3804
3783
  value: M
3805
3784
  };
3806
3785
  }));
3807
3786
  }
3808
3787
  if (Hr(u)) {
3809
- var B = u.options[f] || u.options.other;
3810
- if (!B)
3811
- throw new Xt(u.value, f, Object.keys(u.options), a);
3812
- s.push.apply(s, He(B.value, t, r, n, i));
3788
+ var A = u.options[f] || u.options.other;
3789
+ if (!A)
3790
+ throw new Wt(u.value, f, Object.keys(u.options), a);
3791
+ s.push.apply(s, Pe(A.value, t, r, n, i));
3813
3792
  continue;
3814
3793
  }
3815
- if (Mr(u)) {
3816
- var B = u.options["=".concat(f)];
3817
- if (!B) {
3794
+ if (Pr(u)) {
3795
+ var A = u.options["=".concat(f)];
3796
+ if (!A) {
3818
3797
  if (!Intl.PluralRules)
3819
- throw new $e(`Intl.PluralRules is not available in this environment.
3798
+ throw new Ge(`Intl.PluralRules is not available in this environment.
3820
3799
  Try polyfilling it using "@formatjs/intl-pluralrules"
3821
- `, ne.MISSING_INTL_API, a);
3822
- var E = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3823
- B = u.options[E] || u.options.other;
3800
+ `, ie.MISSING_INTL_API, a);
3801
+ var N = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3802
+ A = u.options[N] || u.options.other;
3824
3803
  }
3825
- if (!B)
3826
- throw new Xt(u.value, f, Object.keys(u.options), a);
3827
- s.push.apply(s, He(B.value, t, r, n, i, f - (u.offset || 0)));
3804
+ if (!A)
3805
+ throw new Wt(u.value, f, Object.keys(u.options), a);
3806
+ s.push.apply(s, Pe(A.value, t, r, n, i, f - (u.offset || 0)));
3828
3807
  continue;
3829
3808
  }
3830
3809
  }
3831
- return Yi(s);
3810
+ return Zi(s);
3832
3811
  }
3833
- function qi(e, t) {
3834
- return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3835
- return r[n] = k(k({}, e[n]), t[n] || {}), r;
3812
+ function Yi(e, t) {
3813
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3814
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3836
3815
  }, {})) : e;
3837
3816
  }
3838
- function Ki(e, t) {
3817
+ function Ji(e, t) {
3839
3818
  return t ? Object.keys(e).reduce(function(r, n) {
3840
- return r[n] = qi(e[n], t[n]), r;
3841
- }, k({}, e)) : e;
3819
+ return r[n] = Yi(e[n], t[n]), r;
3820
+ }, w({}, e)) : e;
3842
3821
  }
3843
- function rt(e) {
3822
+ function et(e) {
3844
3823
  return {
3845
3824
  create: function() {
3846
3825
  return {
@@ -3854,39 +3833,39 @@ function rt(e) {
3854
3833
  }
3855
3834
  };
3856
3835
  }
3857
- function eo(e) {
3836
+ function qi(e) {
3858
3837
  return e === void 0 && (e = {
3859
3838
  number: {},
3860
3839
  dateTime: {},
3861
3840
  pluralRules: {}
3862
3841
  }), {
3863
- getNumberFormat: Ke(function() {
3842
+ getNumberFormat: Je(function() {
3864
3843
  for (var t, r = [], n = 0; n < arguments.length; n++)
3865
3844
  r[n] = arguments[n];
3866
- return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
3845
+ return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3867
3846
  }, {
3868
- cache: rt(e.number),
3869
- strategy: et.variadic
3847
+ cache: et(e.number),
3848
+ strategy: qe.variadic
3870
3849
  }),
3871
- getDateTimeFormat: Ke(function() {
3850
+ getDateTimeFormat: Je(function() {
3872
3851
  for (var t, r = [], n = 0; n < arguments.length; n++)
3873
3852
  r[n] = arguments[n];
3874
- return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
3853
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3875
3854
  }, {
3876
- cache: rt(e.dateTime),
3877
- strategy: et.variadic
3855
+ cache: et(e.dateTime),
3856
+ strategy: qe.variadic
3878
3857
  }),
3879
- getPluralRules: Ke(function() {
3858
+ getPluralRules: Je(function() {
3880
3859
  for (var t, r = [], n = 0; n < arguments.length; n++)
3881
3860
  r[n] = arguments[n];
3882
- return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
3861
+ return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3883
3862
  }, {
3884
- cache: rt(e.pluralRules),
3885
- strategy: et.variadic
3863
+ cache: et(e.pluralRules),
3864
+ strategy: qe.variadic
3886
3865
  })
3887
3866
  };
3888
3867
  }
3889
- var to = (
3868
+ var Ki = (
3890
3869
  /** @class */
3891
3870
  function() {
3892
3871
  function e(t, r, n, i) {
@@ -3901,11 +3880,11 @@ var to = (
3901
3880
  if (h.length === 1)
3902
3881
  return h[0].value;
3903
3882
  var u = h.reduce(function(d, f) {
3904
- return !d.length || f.type !== L.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3883
+ return !d.length || f.type !== O.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3905
3884
  }, []);
3906
3885
  return u.length <= 1 ? u[0] || "" : u;
3907
3886
  }, this.formatToParts = function(l) {
3908
- return He(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3887
+ return Pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3909
3888
  }, this.resolvedOptions = function() {
3910
3889
  var l;
3911
3890
  return {
@@ -3918,13 +3897,13 @@ var to = (
3918
3897
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3919
3898
  var a = i || {};
3920
3899
  a.formatters;
3921
- var s = hi(a, ["formatters"]);
3922
- this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
3900
+ var s = Mn(a, ["formatters"]);
3901
+ this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
3923
3902
  } else
3924
3903
  this.ast = t;
3925
3904
  if (!Array.isArray(this.ast))
3926
3905
  throw new TypeError("A message must be provided as a String or AST.");
3927
- this.formats = Ki(e.formats, n), this.formatters = i && i.formatters || eo(this.formatterCache);
3906
+ this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
3928
3907
  }
3929
3908
  return Object.defineProperty(e, "defaultLocale", {
3930
3909
  get: function() {
@@ -3937,7 +3916,7 @@ var to = (
3937
3916
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3938
3917
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3939
3918
  }
3940
- }, e.__parse = zi, e.formats = {
3919
+ }, e.__parse = Vi, e.formats = {
3941
3920
  number: {
3942
3921
  integer: {
3943
3922
  maximumFractionDigits: 0
@@ -3998,7 +3977,7 @@ var to = (
3998
3977
  }, e;
3999
3978
  }()
4000
3979
  );
4001
- function ro(e, t) {
3980
+ function eo(e, t) {
4002
3981
  if (t == null)
4003
3982
  return;
4004
3983
  if (t in e)
@@ -4019,92 +3998,92 @@ function ro(e, t) {
4019
3998
  n = void 0;
4020
3999
  return n;
4021
4000
  }
4022
- const X = {}, no = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), $r = (e, t) => {
4001
+ const X = {}, to = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), kr = (e, t) => {
4023
4002
  if (t == null)
4024
4003
  return;
4025
4004
  if (t in X && e in X[t])
4026
4005
  return X[t][e];
4027
- const r = je(t);
4006
+ const r = ke(t);
4028
4007
  for (let n = 0; n < r.length; n++) {
4029
- const i = r[n], o = oo(i, e);
4008
+ const i = r[n], o = no(i, e);
4030
4009
  if (o)
4031
- return no(e, t, o);
4010
+ return to(e, t, o);
4032
4011
  }
4033
4012
  };
4034
- let Et;
4013
+ let xt;
4035
4014
  const we = De({});
4036
- function io(e) {
4037
- return Et[e] || null;
4015
+ function ro(e) {
4016
+ return xt[e] || null;
4038
4017
  }
4039
- function jr(e) {
4040
- return e in Et;
4018
+ function $r(e) {
4019
+ return e in xt;
4041
4020
  }
4042
- function oo(e, t) {
4043
- if (!jr(e))
4021
+ function no(e, t) {
4022
+ if (!$r(e))
4044
4023
  return null;
4045
- const r = io(e);
4046
- return ro(r, t);
4024
+ const r = ro(e);
4025
+ return eo(r, t);
4047
4026
  }
4048
- function ao(e) {
4027
+ function io(e) {
4049
4028
  if (e == null)
4050
4029
  return;
4051
- const t = je(e);
4030
+ const t = ke(e);
4052
4031
  for (let r = 0; r < t.length; r++) {
4053
4032
  const n = t[r];
4054
- if (jr(n))
4033
+ if ($r(n))
4055
4034
  return n;
4056
4035
  }
4057
4036
  }
4058
- function Wr(e, ...t) {
4037
+ function jr(e, ...t) {
4059
4038
  delete X[e], we.update((r) => (r[e] = ui.all([r[e] || {}, ...t]), r));
4060
4039
  }
4061
- se(
4040
+ le(
4062
4041
  [we],
4063
4042
  ([e]) => Object.keys(e)
4064
4043
  );
4065
- we.subscribe((e) => Et = e);
4044
+ we.subscribe((e) => xt = e);
4066
4045
  const Me = {};
4067
- function so(e, t) {
4046
+ function oo(e, t) {
4068
4047
  Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4069
4048
  }
4070
- function Vr(e) {
4049
+ function Wr(e) {
4071
4050
  return Me[e];
4072
4051
  }
4073
- function lo(e) {
4074
- return je(e).map((t) => {
4075
- const r = Vr(t);
4052
+ function ao(e) {
4053
+ return ke(e).map((t) => {
4054
+ const r = Wr(t);
4076
4055
  return [t, r ? [...r] : []];
4077
4056
  }).filter(([, t]) => t.length > 0);
4078
4057
  }
4079
- function _t(e) {
4080
- return e == null ? !1 : je(e).some(
4058
+ function gt(e) {
4059
+ return e == null ? !1 : ke(e).some(
4081
4060
  (t) => {
4082
4061
  var r;
4083
- return (r = Vr(t)) == null ? void 0 : r.size;
4062
+ return (r = Wr(t)) == null ? void 0 : r.size;
4084
4063
  }
4085
4064
  );
4086
4065
  }
4087
- function uo(e, t) {
4066
+ function so(e, t) {
4088
4067
  return Promise.all(
4089
- t.map((n) => (so(e, n), n().then((i) => i.default || i)))
4090
- ).then((n) => Wr(e, ...n));
4091
- }
4092
- const pe = {};
4093
- function Xr(e) {
4094
- if (!_t(e))
4095
- return e in pe ? pe[e] : Promise.resolve();
4096
- const t = lo(e);
4097
- return pe[e] = Promise.all(
4068
+ t.map((n) => (oo(e, n), n().then((i) => i.default || i)))
4069
+ ).then((n) => jr(e, ...n));
4070
+ }
4071
+ const ge = {};
4072
+ function Vr(e) {
4073
+ if (!gt(e))
4074
+ return e in ge ? ge[e] : Promise.resolve();
4075
+ const t = ao(e);
4076
+ return ge[e] = Promise.all(
4098
4077
  t.map(
4099
- ([r, n]) => uo(r, n)
4078
+ ([r, n]) => so(r, n)
4100
4079
  )
4101
4080
  ).then(() => {
4102
- if (_t(e))
4103
- return Xr(e);
4104
- delete pe[e];
4105
- }), pe[e];
4081
+ if (gt(e))
4082
+ return Vr(e);
4083
+ delete ge[e];
4084
+ }), ge[e];
4106
4085
  }
4107
- const ho = {
4086
+ const lo = {
4108
4087
  number: {
4109
4088
  scientific: { notation: "scientific" },
4110
4089
  engineering: { notation: "engineering" },
@@ -4133,135 +4112,135 @@ const ho = {
4133
4112
  timeZoneName: "short"
4134
4113
  }
4135
4114
  }
4136
- }, co = {
4115
+ }, uo = {
4137
4116
  fallbackLocale: null,
4138
4117
  loadingDelay: 200,
4139
- formats: ho,
4118
+ formats: lo,
4140
4119
  warnOnMissingMessages: !0,
4141
4120
  handleMissingMessage: void 0,
4142
4121
  ignoreTag: !0
4143
- }, fo = co;
4144
- function ie() {
4145
- return fo;
4122
+ }, ho = uo;
4123
+ function oe() {
4124
+ return ho;
4146
4125
  }
4147
- const nt = De(!1);
4148
- var mo = Object.defineProperty, po = Object.defineProperties, go = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, vo = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yo = (e, t) => {
4126
+ const tt = De(!1);
4127
+ var co = Object.defineProperty, fo = Object.defineProperties, mo = Object.getOwnPropertyDescriptors, Vt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, go = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vo = (e, t) => {
4149
4128
  for (var r in t || (t = {}))
4150
- vo.call(t, r) && Zt(e, r, t[r]);
4151
- if (zt)
4152
- for (var r of zt(t))
4153
- bo.call(t, r) && Zt(e, r, t[r]);
4129
+ po.call(t, r) && Xt(e, r, t[r]);
4130
+ if (Vt)
4131
+ for (var r of Vt(t))
4132
+ go.call(t, r) && Xt(e, r, t[r]);
4154
4133
  return e;
4155
- }, _o = (e, t) => po(e, go(t));
4156
- let xt;
4157
- const Ce = De(null);
4158
- function Qt(e) {
4134
+ }, bo = (e, t) => fo(e, mo(t));
4135
+ let vt;
4136
+ const Oe = De(null);
4137
+ function zt(e) {
4159
4138
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4160
4139
  }
4161
- function je(e, t = ie().fallbackLocale) {
4162
- const r = Qt(e);
4163
- return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
4140
+ function ke(e, t = oe().fallbackLocale) {
4141
+ const r = zt(e);
4142
+ return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
4164
4143
  }
4165
4144
  function Q() {
4166
- return xt ?? void 0;
4145
+ return vt ?? void 0;
4167
4146
  }
4168
- Ce.subscribe((e) => {
4169
- xt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4147
+ Oe.subscribe((e) => {
4148
+ vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4170
4149
  });
4171
- const xo = (e) => {
4172
- if (e && ao(e) && _t(e)) {
4173
- const { loadingDelay: t } = ie();
4150
+ const yo = (e) => {
4151
+ if (e && io(e) && gt(e)) {
4152
+ const { loadingDelay: t } = oe();
4174
4153
  let r;
4175
4154
  return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
4176
- () => nt.set(!0),
4155
+ () => tt.set(!0),
4177
4156
  t
4178
- ) : nt.set(!0), Xr(e).then(() => {
4179
- Ce.set(e);
4157
+ ) : tt.set(!0), Vr(e).then(() => {
4158
+ Oe.set(e);
4180
4159
  }).finally(() => {
4181
- clearTimeout(r), nt.set(!1);
4160
+ clearTimeout(r), tt.set(!1);
4182
4161
  });
4183
4162
  }
4184
- return Ce.set(e);
4185
- }, le = _o(yo({}, Ce), {
4186
- set: xo
4187
- }), We = (e) => {
4163
+ return Oe.set(e);
4164
+ }, ue = bo(vo({}, Oe), {
4165
+ set: yo
4166
+ }), $e = (e) => {
4188
4167
  const t = /* @__PURE__ */ Object.create(null);
4189
4168
  return (n) => {
4190
4169
  const i = JSON.stringify(n);
4191
4170
  return i in t ? t[i] : t[i] = e(n);
4192
4171
  };
4193
4172
  };
4194
- var wo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
4173
+ var _o = Object.defineProperty, Ce = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
4195
4174
  for (var r in t || (t = {}))
4196
- zr.call(t, r) && Yt(e, r, t[r]);
4197
- if (Fe)
4198
- for (var r of Fe(t))
4199
- Zr.call(t, r) && Yt(e, r, t[r]);
4175
+ Xr.call(t, r) && Zt(e, r, t[r]);
4176
+ if (Ce)
4177
+ for (var r of Ce(t))
4178
+ zr.call(t, r) && Zt(e, r, t[r]);
4200
4179
  return e;
4201
- }, ue = (e, t) => {
4180
+ }, he = (e, t) => {
4202
4181
  var r = {};
4203
4182
  for (var n in e)
4204
- zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4205
- if (e != null && Fe)
4206
- for (var n of Fe(e))
4207
- t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
4183
+ Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4184
+ if (e != null && Ce)
4185
+ for (var n of Ce(e))
4186
+ t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
4208
4187
  return r;
4209
4188
  };
4210
- const _e = (e, t) => {
4211
- const { formats: r } = ie();
4189
+ const xe = (e, t) => {
4190
+ const { formats: r } = oe();
4212
4191
  if (e in r && t in r[e])
4213
4192
  return r[e][t];
4214
4193
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4215
- }, Eo = We(
4194
+ }, xo = $e(
4216
4195
  (e) => {
4217
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4196
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4218
4197
  if (r == null)
4219
4198
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4220
- return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
4199
+ return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
4221
4200
  }
4222
- ), No = We(
4201
+ ), wo = $e(
4223
4202
  (e) => {
4224
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4203
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4225
4204
  if (r == null)
4226
4205
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4227
- return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
4206
+ return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
4228
4207
  }
4229
- ), So = We(
4208
+ ), Eo = $e(
4230
4209
  (e) => {
4231
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4210
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4232
4211
  if (r == null)
4233
4212
  throw new Error(
4234
4213
  '[svelte-i18n] A "locale" must be set to format time values'
4235
4214
  );
4236
- return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
4215
+ return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
4237
4216
  }
4238
- ), Io = (e = {}) => {
4217
+ ), No = (e = {}) => {
4239
4218
  var t = e, {
4240
4219
  locale: r = Q()
4241
- } = t, n = ue(t, [
4220
+ } = t, n = he(t, [
4242
4221
  "locale"
4243
4222
  ]);
4244
- return Eo(Nt({ locale: r }, n));
4245
- }, Bo = (e = {}) => {
4223
+ return xo(wt({ locale: r }, n));
4224
+ }, So = (e = {}) => {
4246
4225
  var t = e, {
4247
4226
  locale: r = Q()
4248
- } = t, n = ue(t, [
4227
+ } = t, n = he(t, [
4249
4228
  "locale"
4250
4229
  ]);
4251
- return No(Nt({ locale: r }, n));
4252
- }, Ao = (e = {}) => {
4230
+ return wo(wt({ locale: r }, n));
4231
+ }, Io = (e = {}) => {
4253
4232
  var t = e, {
4254
4233
  locale: r = Q()
4255
- } = t, n = ue(t, [
4234
+ } = t, n = he(t, [
4256
4235
  "locale"
4257
4236
  ]);
4258
- return So(Nt({ locale: r }, n));
4259
- }, To = We(
4237
+ return Eo(wt({ locale: r }, n));
4238
+ }, Bo = $e(
4260
4239
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4261
- (e, t = Q()) => new to(e, t, ie().formats, {
4262
- ignoreTag: ie().ignoreTag
4240
+ (e, t = Q()) => new Ki(e, t, oe().formats, {
4241
+ ignoreTag: oe().ignoreTag
4263
4242
  })
4264
- ), Po = (e, t = {}) => {
4243
+ ), Ao = (e, t = {}) => {
4265
4244
  var r, n, i, o;
4266
4245
  let a = t;
4267
4246
  typeof e == "object" && (a = e, e = a.id);
@@ -4274,9 +4253,9 @@ const _e = (e, t) => {
4274
4253
  throw new Error(
4275
4254
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4276
4255
  );
4277
- let u = $r(e, l);
4256
+ let u = kr(e, l);
4278
4257
  if (!u)
4279
- u = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4258
+ u = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4280
4259
  else if (typeof u != "string")
4281
4260
  return console.warn(
4282
4261
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4285,7 +4264,7 @@ const _e = (e, t) => {
4285
4264
  return u;
4286
4265
  let d = u;
4287
4266
  try {
4288
- d = To(u, l).format(s);
4267
+ d = Bo(u, l).format(s);
4289
4268
  } catch (f) {
4290
4269
  f instanceof Error && console.warn(
4291
4270
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4293,21 +4272,21 @@ const _e = (e, t) => {
4293
4272
  );
4294
4273
  }
4295
4274
  return d;
4296
- }, Ho = (e, t) => Ao(t).format(e), Mo = (e, t) => Bo(t).format(e), Oo = (e, t) => Io(t).format(e), Lo = (e, t = Q()) => $r(e, t), Co = se([le, we], () => Po);
4297
- se([le], () => Ho);
4298
- se([le], () => Mo);
4299
- se([le], () => Oo);
4300
- se([le, we], () => Lo);
4275
+ }, To = (e, t) => Io(t).format(e), Ho = (e, t) => So(t).format(e), Po = (e, t) => No(t).format(e), Mo = (e, t = Q()) => kr(e, t), Lo = le([ue, we], () => Ao);
4276
+ le([ue], () => To);
4277
+ le([ue], () => Ho);
4278
+ le([ue], () => Po);
4279
+ le([ue, we], () => Mo);
4301
4280
  window.emWidgets = { topic: Xn };
4302
- const Jt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4281
+ const Qt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4303
4282
  String(Number.MAX_SAFE_INTEGER).length;
4304
- function qt(e, t) {
4305
- Wr(e, t);
4283
+ function Yt(e, t) {
4284
+ jr(e, t);
4306
4285
  }
4307
- function Fo(e) {
4308
- le.set(e);
4286
+ function Oo(e) {
4287
+ ue.set(e);
4309
4288
  }
4310
- const Kt = {
4289
+ const Jt = {
4311
4290
  en: {
4312
4291
  secondaryMenuTitle: "Categories"
4313
4292
  },
@@ -4342,13 +4321,13 @@ const Kt = {
4342
4321
  secondaryMenuTitle: "Categories"
4343
4322
  }
4344
4323
  };
4345
- function Ro(e, t) {
4324
+ function Co(e, t) {
4346
4325
  if (e) {
4347
4326
  const r = document.createElement("style");
4348
4327
  r.innerHTML = t, e.appendChild(r);
4349
4328
  }
4350
4329
  }
4351
- function Uo(e, t) {
4330
+ function Fo(e, t) {
4352
4331
  if (!e || !t)
4353
4332
  return;
4354
4333
  const r = new URL(t);
@@ -4359,7 +4338,7 @@ function Uo(e, t) {
4359
4338
  console.error("There was an error while trying to load client styling from URL", n);
4360
4339
  });
4361
4340
  }
4362
- function Go(e, t, r) {
4341
+ function Ro(e, t, r) {
4363
4342
  if (window.emMessageBus) {
4364
4343
  const n = document.createElement("style");
4365
4344
  window.emMessageBus.subscribe(t, (i) => {
@@ -4367,34 +4346,34 @@ function Go(e, t, r) {
4367
4346
  });
4368
4347
  }
4369
4348
  }
4370
- function Do(e) {
4371
- mn(e, "svelte-9cvz5y", '.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.LinearBar{grid-template-columns:repeat(6, 16.6666666667%);grid-template-areas:"item0 item1 item2 item3 item4 item5"}.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}');
4349
+ function Uo(e) {
4350
+ dn(e, "svelte-9cvz5y", '.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.LinearBar{grid-template-columns:repeat(6, 16.6666666667%);grid-template-areas:"item0 item1 item2 item3 item4 item5"}.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}');
4372
4351
  }
4373
- function er(e, t, r) {
4352
+ function qt(e, t, r) {
4374
4353
  const n = e.slice();
4375
4354
  return n[51] = t[r], n[53] = r, n;
4376
4355
  }
4377
- function tr(e, t, r) {
4356
+ function Kt(e, t, r) {
4378
4357
  const n = e.slice();
4379
4358
  return n[51] = t[r], n;
4380
4359
  }
4381
- const ko = (e) => ({}), rr = (e) => ({});
4382
- function nr(e) {
4360
+ const Do = (e) => ({}), er = (e) => ({});
4361
+ function tr(e) {
4383
4362
  let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
4384
- e[7] && ir(e), h = Oe(
4363
+ e[7] && rr(e), h = Le(
4385
4364
  /*menuItems*/
4386
4365
  e[12]
4387
4366
  ), u = [];
4388
4367
  for (let f = 0; f < h.length; f += 1)
4389
- u[f] = ur(er(e, h, f));
4368
+ u[f] = sr(qt(e, h, f));
4390
4369
  let d = !/*navigationBarSimple*/
4391
- e[7] && hr(e);
4370
+ e[7] && lr(e);
4392
4371
  return {
4393
4372
  c() {
4394
- t = S("div"), l && l.c(), r = $(), n = S("div");
4373
+ t = I("div"), l && l.c(), r = k(), n = I("div");
4395
4374
  for (let f = 0; f < u.length; f += 1)
4396
4375
  u[f].c();
4397
- i = $(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
4376
+ i = k(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
4398
4377
  (e[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4399
4378
  (e[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
4400
4379
  (e[3] ? "LinearBar" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
@@ -4410,26 +4389,26 @@ function nr(e) {
4410
4389
  },
4411
4390
  p(f, p) {
4412
4391
  if (/*navigationBarSimple*/
4413
- f[7] ? l && (gr(), be(l, 1, 1, () => {
4392
+ f[7] ? l && (mr(), ye(l, 1, 1, () => {
4414
4393
  l = null;
4415
- }), vr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4416
- 128 && z(l, 1)) : (l = ir(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, menuItems, triggerNavigation*/
4394
+ }), pr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4395
+ 128 && z(l, 1)) : (l = rr(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, menuItems, triggerNavigation*/
4417
4396
  69696) {
4418
- h = Oe(
4397
+ h = Le(
4419
4398
  /*menuItems*/
4420
4399
  f[12]
4421
4400
  );
4422
4401
  let g;
4423
4402
  for (g = 0; g < h.length; g += 1) {
4424
- const v = er(f, h, g);
4425
- u[g] ? u[g].p(v, p) : (u[g] = ur(v), u[g].c(), u[g].m(n, i));
4403
+ const v = qt(f, h, g);
4404
+ u[g] ? u[g].p(v, p) : (u[g] = sr(v), u[g].c(), u[g].m(n, i));
4426
4405
  }
4427
4406
  for (; g < u.length; g += 1)
4428
4407
  u[g].d(1);
4429
4408
  u.length = h.length;
4430
4409
  }
4431
4410
  /*navigationBarSimple*/
4432
- f[7] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = hr(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
4411
+ f[7] ? 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, isLinearMenu*/
4433
4412
  168 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
4434
4413
  (f[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4435
4414
  (f[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
@@ -4443,14 +4422,14 @@ function nr(e) {
4443
4422
  s || (z(l), s = !0);
4444
4423
  },
4445
4424
  o(f) {
4446
- be(l), s = !1;
4425
+ ye(l), s = !1;
4447
4426
  },
4448
4427
  d(f) {
4449
- f && H(t), l && l.d(), pr(u, f), d && d.d();
4428
+ f && P(t), l && l.d(), dr(u, f), d && d.d();
4450
4429
  }
4451
4430
  };
4452
4431
  }
4453
- function ir(e) {
4432
+ function rr(e) {
4454
4433
  let t, r, n, i, o = (
4455
4434
  /*secondarymenutitle*/
4456
4435
  (e[0] || /*$_*/
@@ -4459,76 +4438,76 @@ function ir(e) {
4459
4438
  const p = (
4460
4439
  /*#slots*/
4461
4440
  e[32].close
4462
- ), g = hn(
4441
+ ), g = un(
4463
4442
  p,
4464
4443
  e,
4465
4444
  /*$$scope*/
4466
4445
  e[31],
4467
- rr
4468
- ), v = g || $o();
4469
- let N = Oe(
4446
+ er
4447
+ ), v = g || Go();
4448
+ let S = Le(
4470
4449
  /*secondaryMenu*/
4471
4450
  e[8]
4472
- ), w = [];
4473
- for (let y = 0; y < N.length; y += 1)
4474
- w[y] = ar(tr(e, N, y));
4451
+ ), E = [];
4452
+ for (let y = 0; y < S.length; y += 1)
4453
+ E[y] = ir(Kt(e, S, y));
4475
4454
  return {
4476
4455
  c() {
4477
- t = S("div"), r = S("span"), v && v.c(), n = $(), i = S("h3"), a = ae(o), s = $(), l = S("div");
4478
- for (let y = 0; y < w.length; y += 1)
4479
- w[y].c();
4456
+ t = I("div"), r = I("span"), v && v.c(), n = k(), i = I("h3"), a = se(o), s = k(), l = I("div");
4457
+ for (let y = 0; y < E.length; y += 1)
4458
+ E[y].c();
4480
4459
  c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", h = "NavigationWindow " + /*navigationWindowOpened*/
4481
4460
  (e[5] ? "NavigationWindowOpened" : ""));
4482
4461
  },
4483
- m(y, B) {
4484
- C(y, t, B), b(t, r), v && v.m(r, null), b(t, n), b(t, i), b(i, a), b(t, s), b(t, l);
4485
- for (let E = 0; E < w.length; E += 1)
4486
- w[E] && w[E].m(l, null);
4487
- u = !0, d || (f = Re(
4462
+ m(y, A) {
4463
+ C(y, t, A), b(t, r), v && v.m(r, null), b(t, n), b(t, i), b(i, a), b(t, s), b(t, l);
4464
+ for (let N = 0; N < E.length; N += 1)
4465
+ E[N] && E[N].m(l, null);
4466
+ u = !0, d || (f = Fe(
4488
4467
  r,
4489
4468
  "click",
4490
4469
  /*navigationWindowToggle*/
4491
4470
  e[15]
4492
4471
  ), d = !0);
4493
4472
  },
4494
- p(y, B) {
4495
- if (g && g.p && (!u || B[1] & /*$$scope*/
4496
- 1) && fn(
4473
+ p(y, A) {
4474
+ if (g && g.p && (!u || A[1] & /*$$scope*/
4475
+ 1) && cn(
4497
4476
  g,
4498
4477
  p,
4499
4478
  y,
4500
4479
  /*$$scope*/
4501
4480
  y[31],
4502
- u ? cn(
4481
+ u ? hn(
4503
4482
  p,
4504
4483
  /*$$scope*/
4505
4484
  y[31],
4506
- B,
4507
- ko
4508
- ) : dn(
4485
+ A,
4486
+ Do
4487
+ ) : fn(
4509
4488
  /*$$scope*/
4510
4489
  y[31]
4511
4490
  ),
4512
- rr
4513
- ), (!u || B[0] & /*secondarymenutitle, $_*/
4491
+ er
4492
+ ), (!u || A[0] & /*secondarymenutitle, $_*/
4514
4493
  8193) && o !== (o = /*secondarymenutitle*/
4515
4494
  (y[0] || /*$_*/
4516
- y[13]("secondaryMenuTitle")) + "") && Ue(a, o), B[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4495
+ y[13]("secondaryMenuTitle")) + "") && Re(a, o), A[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4517
4496
  65856) {
4518
- N = Oe(
4497
+ S = Le(
4519
4498
  /*secondaryMenu*/
4520
4499
  y[8]
4521
4500
  );
4522
- let E;
4523
- for (E = 0; E < N.length; E += 1) {
4524
- const M = tr(y, N, E);
4525
- w[E] ? w[E].p(M, B) : (w[E] = ar(M), w[E].c(), w[E].m(l, null));
4501
+ let N;
4502
+ for (N = 0; N < S.length; N += 1) {
4503
+ const M = Kt(y, S, N);
4504
+ E[N] ? E[N].p(M, A) : (E[N] = ir(M), E[N].c(), E[N].m(l, null));
4526
4505
  }
4527
- for (; E < w.length; E += 1)
4528
- w[E].d(1);
4529
- w.length = N.length;
4506
+ for (; N < E.length; N += 1)
4507
+ E[N].d(1);
4508
+ E.length = S.length;
4530
4509
  }
4531
- (!u || B[0] & /*navigationWindowOpened*/
4510
+ (!u || A[0] & /*navigationWindowOpened*/
4532
4511
  32 && h !== (h = "NavigationWindow " + /*navigationWindowOpened*/
4533
4512
  (y[5] ? "NavigationWindowOpened" : ""))) && c(t, "class", h);
4534
4513
  },
@@ -4536,33 +4515,33 @@ function ir(e) {
4536
4515
  u || (z(v, y), u = !0);
4537
4516
  },
4538
4517
  o(y) {
4539
- be(v, y), u = !1;
4518
+ ye(v, y), u = !1;
4540
4519
  },
4541
4520
  d(y) {
4542
- y && H(t), v && v.d(y), pr(w, y), d = !1, f();
4521
+ y && P(t), v && v.d(y), dr(E, y), d = !1, f();
4543
4522
  }
4544
4523
  };
4545
4524
  }
4546
- function $o(e) {
4525
+ function Go(e) {
4547
4526
  let t, r;
4548
4527
  return {
4549
4528
  c() {
4550
- t = P("svg"), r = P("path"), c(r, "part", "ModalCloseBtnPath"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(r, "stroke-width", "2"), c(r, "d", "M6 18L18 6M6 6l12 12"), c(t, "class", "w-6 h-6"), c(t, "part", "w-6 h-6"), c(t, "fill", "none"), c(t, "stroke", "currentColor"), c(t, "viewBox", "0 0 24 24"), c(t, "xmlns", "http://www.w3.org/2000/svg");
4529
+ t = H("svg"), r = H("path"), c(r, "part", "ModalCloseBtnPath"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(r, "stroke-width", "2"), c(r, "d", "M6 18L18 6M6 6l12 12"), c(t, "class", "w-6 h-6"), c(t, "part", "w-6 h-6"), c(t, "fill", "none"), c(t, "stroke", "currentColor"), c(t, "viewBox", "0 0 24 24"), c(t, "xmlns", "http://www.w3.org/2000/svg");
4551
4530
  },
4552
4531
  m(n, i) {
4553
4532
  C(n, t, i), b(t, r);
4554
4533
  },
4555
4534
  p: R,
4556
4535
  d(n) {
4557
- n && H(t);
4536
+ n && P(t);
4558
4537
  }
4559
4538
  };
4560
4539
  }
4561
- function or(e) {
4540
+ function nr(e) {
4562
4541
  let t, r, n, i;
4563
4542
  return {
4564
4543
  c() {
4565
- t = S("div"), r = S("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), ee(r.src, n = /*item*/
4544
+ t = I("div"), r = I("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
4566
4545
  e[51].img) || c(r, "src", n), c(r, "alt", i = /*item*/
4567
4546
  e[51].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
4568
4547
  },
@@ -4571,23 +4550,23 @@ function or(e) {
4571
4550
  },
4572
4551
  p(o, a) {
4573
4552
  a[0] & /*secondaryMenu*/
4574
- 256 && !ee(r.src, n = /*item*/
4553
+ 256 && !te(r.src, n = /*item*/
4575
4554
  o[51].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
4576
4555
  256 && i !== (i = /*item*/
4577
4556
  o[51].label) && c(r, "alt", i);
4578
4557
  },
4579
4558
  d(o) {
4580
- o && H(t);
4559
+ o && P(t);
4581
4560
  }
4582
4561
  };
4583
4562
  }
4584
- function ar(e) {
4563
+ function ir(e) {
4585
4564
  let t, r, n, i = (
4586
4565
  /*item*/
4587
4566
  e[51].label + ""
4588
4567
  ), o, a, s, l, h, u = (
4589
4568
  /*item*/
4590
- e[51].img && or(e)
4569
+ e[51].img && nr(e)
4591
4570
  );
4592
4571
  function d() {
4593
4572
  return (
@@ -4600,32 +4579,32 @@ function ar(e) {
4600
4579
  }
4601
4580
  return {
4602
4581
  c() {
4603
- t = S("div"), u && u.c(), r = $(), n = S("p"), o = ae(i), a = $(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4582
+ t = I("div"), u && u.c(), r = k(), n = I("p"), o = se(i), a = k(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4604
4583
  (e[6] === /*item*/
4605
4584
  e[51].id ? "ActiveItem" : ""));
4606
4585
  },
4607
4586
  m(f, p) {
4608
- C(f, t, p), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), l || (h = Re(t, "click", d), l = !0);
4587
+ C(f, t, p), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), l || (h = Fe(t, "click", d), l = !0);
4609
4588
  },
4610
4589
  p(f, p) {
4611
4590
  e = f, /*item*/
4612
- e[51].img ? u ? u.p(e, p) : (u = or(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), p[0] & /*secondaryMenu*/
4591
+ e[51].img ? u ? u.p(e, p) : (u = nr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), p[0] & /*secondaryMenu*/
4613
4592
  256 && i !== (i = /*item*/
4614
- e[51].label + "") && Ue(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4593
+ e[51].label + "") && Re(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4615
4594
  320 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4616
4595
  (e[6] === /*item*/
4617
4596
  e[51].id ? "ActiveItem" : "")) && c(t, "class", s);
4618
4597
  },
4619
4598
  d(f) {
4620
- f && H(t), u && u.d(), l = !1, h();
4599
+ f && P(t), u && u.d(), l = !1, h();
4621
4600
  }
4622
4601
  };
4623
4602
  }
4624
- function sr(e) {
4603
+ function or(e) {
4625
4604
  let t, r, n, i;
4626
4605
  return {
4627
4606
  c() {
4628
- t = S("div"), r = S("img"), c(r, "class", "NavigationPrimaryItemImg"), ee(r.src, n = /*item*/
4607
+ t = I("div"), r = I("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
4629
4608
  e[51].img) || c(r, "src", n), c(r, "alt", i = /*item*/
4630
4609
  e[51].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
4631
4610
  },
@@ -4634,24 +4613,24 @@ function sr(e) {
4634
4613
  },
4635
4614
  p(o, a) {
4636
4615
  a[0] & /*menuItems*/
4637
- 4096 && !ee(r.src, n = /*item*/
4616
+ 4096 && !te(r.src, n = /*item*/
4638
4617
  o[51].img) && c(r, "src", n), a[0] & /*menuItems*/
4639
4618
  4096 && i !== (i = /*item*/
4640
4619
  o[51].label) && c(r, "alt", i);
4641
4620
  },
4642
4621
  d(o) {
4643
- o && H(t);
4622
+ o && P(t);
4644
4623
  }
4645
4624
  };
4646
4625
  }
4647
- function lr(e) {
4626
+ function ar(e) {
4648
4627
  let t, r = (
4649
4628
  /*item*/
4650
4629
  e[51].tag + ""
4651
4630
  ), n, i;
4652
4631
  return {
4653
4632
  c() {
4654
- t = S("span"), n = ae(r), c(t, "title", i = /*item*/
4633
+ t = I("span"), n = se(r), c(t, "title", i = /*item*/
4655
4634
  e[51].tag), c(t, "class", "NavigationPrimaryItemTag");
4656
4635
  },
4657
4636
  m(o, a) {
@@ -4660,25 +4639,25 @@ function lr(e) {
4660
4639
  p(o, a) {
4661
4640
  a[0] & /*menuItems*/
4662
4641
  4096 && r !== (r = /*item*/
4663
- o[51].tag + "") && Ue(n, r), a[0] & /*menuItems*/
4642
+ o[51].tag + "") && Re(n, r), a[0] & /*menuItems*/
4664
4643
  4096 && i !== (i = /*item*/
4665
4644
  o[51].tag) && c(t, "title", i);
4666
4645
  },
4667
4646
  d(o) {
4668
- o && H(t);
4647
+ o && P(t);
4669
4648
  }
4670
4649
  };
4671
4650
  }
4672
- function ur(e) {
4651
+ function sr(e) {
4673
4652
  let t, r, n, i = (
4674
4653
  /*item*/
4675
4654
  e[51].label + ""
4676
4655
  ), o, a, s, l, h, u = (
4677
4656
  /*item*/
4678
- e[51]?.img && sr(e)
4657
+ e[51]?.img && or(e)
4679
4658
  ), d = (
4680
4659
  /*item*/
4681
- e[51]?.tag && lr(e)
4660
+ e[51]?.tag && ar(e)
4682
4661
  );
4683
4662
  function f() {
4684
4663
  return (
@@ -4691,46 +4670,46 @@ function ur(e) {
4691
4670
  }
4692
4671
  return {
4693
4672
  c() {
4694
- t = S("div"), u && u.c(), r = $(), n = S("p"), o = ae(i), a = $(), d && d.c(), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4673
+ t = I("div"), u && u.c(), r = k(), n = I("p"), o = se(i), a = k(), d && d.c(), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4695
4674
  e[53] + " " + /*activeMenuItemId*/
4696
4675
  (e[6] === /*item*/
4697
4676
  e[51].id ? "ActiveItem" : ""));
4698
4677
  },
4699
4678
  m(p, g) {
4700
- C(p, t, g), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), d && d.m(t, null), l || (h = Re(t, "click", f), l = !0);
4679
+ C(p, t, g), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), d && d.m(t, null), l || (h = Fe(t, "click", f), l = !0);
4701
4680
  },
4702
4681
  p(p, g) {
4703
4682
  e = p, /*item*/
4704
- e[51]?.img ? u ? u.p(e, g) : (u = sr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), g[0] & /*menuItems*/
4683
+ e[51]?.img ? u ? u.p(e, g) : (u = or(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), g[0] & /*menuItems*/
4705
4684
  4096 && i !== (i = /*item*/
4706
- e[51].label + "") && Ue(o, i), /*item*/
4707
- e[51]?.tag ? d ? d.p(e, g) : (d = lr(e), d.c(), d.m(t, null)) : d && (d.d(1), d = null), g[0] & /*activeMenuItemId, menuItems*/
4685
+ e[51].label + "") && Re(o, i), /*item*/
4686
+ e[51]?.tag ? d ? d.p(e, g) : (d = ar(e), d.c(), d.m(t, null)) : d && (d.d(1), d = null), g[0] & /*activeMenuItemId, menuItems*/
4708
4687
  4160 && s !== (s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4709
4688
  e[53] + " " + /*activeMenuItemId*/
4710
4689
  (e[6] === /*item*/
4711
4690
  e[51].id ? "ActiveItem" : "")) && c(t, "class", s);
4712
4691
  },
4713
4692
  d(p) {
4714
- p && H(t), u && u.d(), d && d.d(), l = !1, h();
4693
+ p && P(t), u && u.d(), d && d.d(), l = !1, h();
4715
4694
  }
4716
4695
  };
4717
4696
  }
4718
- function hr(e) {
4697
+ function lr(e) {
4719
4698
  let t, r, n, i, o;
4720
4699
  function a(h, u) {
4721
4700
  return (
4722
4701
  /*isFlowerMenu*/
4723
- h[11] ? jo : Wo
4702
+ h[11] ? ko : $o
4724
4703
  );
4725
4704
  }
4726
4705
  let s = a(e), l = s(e);
4727
4706
  return {
4728
4707
  c() {
4729
- t = S("button"), r = S("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
4708
+ t = I("button"), r = I("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
4730
4709
  (e[5] ? "NavigationButtonActive" : ""));
4731
4710
  },
4732
4711
  m(h, u) {
4733
- C(h, t, u), b(t, r), l.m(r, null), i || (o = Re(
4712
+ C(h, t, u), b(t, r), l.m(r, null), i || (o = Fe(
4734
4713
  t,
4735
4714
  "click",
4736
4715
  /*navigationWindowToggle*/
@@ -4743,15 +4722,15 @@ function hr(e) {
4743
4722
  (h[5] ? "NavigationButtonActive" : "")) && c(t, "class", n);
4744
4723
  },
4745
4724
  d(h) {
4746
- h && H(t), l.d(), i = !1, o();
4725
+ h && P(t), l.d(), i = !1, o();
4747
4726
  }
4748
4727
  };
4749
4728
  }
4750
- function jo(e) {
4729
+ function ko(e) {
4751
4730
  let t, r, n, i, o, a, s;
4752
4731
  return {
4753
4732
  c() {
4754
- t = S("div"), r = S("span"), n = $(), i = S("span"), o = $(), a = S("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
4733
+ t = I("div"), r = I("span"), n = k(), i = I("span"), o = k(), a = I("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
4755
4734
  (e[5] ? "labelMiddleIconActive" : ""));
4756
4735
  },
4757
4736
  m(l, h) {
@@ -4763,22 +4742,22 @@ function jo(e) {
4763
4742
  (l[5] ? "labelMiddleIconActive" : "")) && c(t, "class", s);
4764
4743
  },
4765
4744
  d(l) {
4766
- l && H(t);
4745
+ l && P(t);
4767
4746
  }
4768
4747
  };
4769
4748
  }
4770
- function Wo(e) {
4749
+ function $o(e) {
4771
4750
  let t;
4772
4751
  function r(o, a) {
4773
4752
  return (
4774
4753
  /*imageIconUrl*/
4775
- o[9] ? Xo : Vo
4754
+ o[9] ? Wo : jo
4776
4755
  );
4777
4756
  }
4778
4757
  let n = r(e), i = n(e);
4779
4758
  return {
4780
4759
  c() {
4781
- i.c(), t = vn();
4760
+ i.c(), t = gn();
4782
4761
  },
4783
4762
  m(o, a) {
4784
4763
  i.m(o, a), C(o, t, a);
@@ -4787,30 +4766,30 @@ function Wo(e) {
4787
4766
  n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
4788
4767
  },
4789
4768
  d(o) {
4790
- o && H(t), i.d(o);
4769
+ o && P(t), i.d(o);
4791
4770
  }
4792
4771
  };
4793
4772
  }
4794
- function Vo(e) {
4773
+ function jo(e) {
4795
4774
  let t, r, n, i, o, a, s, l, h, u, d, f, p, g;
4796
4775
  return {
4797
4776
  c() {
4798
- t = P("svg"), r = P("g"), n = P("g"), i = P("rect"), o = P("rect"), a = P("g"), s = P("rect"), l = P("rect"), h = P("g"), u = P("rect"), d = P("rect"), f = P("g"), p = P("rect"), g = P("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(u, "class", "b"), c(u, "part", "b"), c(u, "width", "10"), c(u, "height", "10"), c(u, "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(h, "class", "a"), c(h, "part", "a"), c(h, "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");
4777
+ t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), h = H("g"), u = H("rect"), d = H("rect"), f = H("g"), p = H("rect"), g = H("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(u, "class", "b"), c(u, "part", "b"), c(u, "width", "10"), c(u, "height", "10"), c(u, "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(h, "class", "a"), c(h, "part", "a"), c(h, "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");
4799
4778
  },
4800
- m(v, N) {
4801
- C(v, t, N), b(t, r), b(r, n), b(n, i), b(n, o), b(r, a), b(a, s), b(a, l), b(r, h), b(h, u), b(h, d), b(r, f), b(f, p), b(f, g);
4779
+ m(v, S) {
4780
+ C(v, t, S), b(t, r), b(r, n), b(n, i), b(n, o), b(r, a), b(a, s), b(a, l), b(r, h), b(h, u), b(h, d), b(r, f), b(f, p), b(f, g);
4802
4781
  },
4803
4782
  p: R,
4804
4783
  d(v) {
4805
- v && H(t);
4784
+ v && P(t);
4806
4785
  }
4807
4786
  };
4808
4787
  }
4809
- function Xo(e) {
4788
+ function Wo(e) {
4810
4789
  let t, r;
4811
4790
  return {
4812
4791
  c() {
4813
- t = S("img"), ee(t.src, r = /*imageIconUrl*/
4792
+ t = I("img"), te(t.src, r = /*imageIconUrl*/
4814
4793
  e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
4815
4794
  t,
4816
4795
  "alt",
@@ -4823,7 +4802,7 @@ function Xo(e) {
4823
4802
  },
4824
4803
  p(n, i) {
4825
4804
  i[0] & /*imageIconUrl*/
4826
- 512 && !ee(t.src, r = /*imageIconUrl*/
4805
+ 512 && !te(t.src, r = /*imageIconUrl*/
4827
4806
  n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
4828
4807
  512 && c(
4829
4808
  t,
@@ -4833,18 +4812,18 @@ function Xo(e) {
4833
4812
  );
4834
4813
  },
4835
4814
  d(n) {
4836
- n && H(t);
4815
+ n && P(t);
4837
4816
  }
4838
4817
  };
4839
4818
  }
4840
- function zo(e) {
4819
+ function Vo(e) {
4841
4820
  let t, r, n, i = !/*isLoading*/
4842
4821
  e[1] && /*isMobile*/
4843
4822
  e[14] && /*showNavigation*/
4844
- e[4] && nr(e);
4823
+ e[4] && tr(e);
4845
4824
  return {
4846
4825
  c() {
4847
- t = S("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
4826
+ t = I("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
4848
4827
  (e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4849
4828
  (e[10] ? "NavigationWrapperLandScape" : ""));
4850
4829
  },
@@ -4856,9 +4835,9 @@ function zo(e) {
4856
4835
  o[1] && /*isMobile*/
4857
4836
  o[14] && /*showNavigation*/
4858
4837
  o[4] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
4859
- 18 && z(i, 1)) : (i = nr(o), i.c(), z(i, 1), i.m(t, null)) : i && (gr(), be(i, 1, 1, () => {
4838
+ 18 && z(i, 1)) : (i = tr(o), i.c(), z(i, 1), i.m(t, null)) : i && (mr(), ye(i, 1, 1, () => {
4860
4839
  i = null;
4861
- }), vr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4840
+ }), pr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4862
4841
  3072 && r !== (r = /*isFlowerMenu*/
4863
4842
  (o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4864
4843
  (o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
@@ -4867,76 +4846,76 @@ function zo(e) {
4867
4846
  n || (z(i), n = !0);
4868
4847
  },
4869
4848
  o(o) {
4870
- be(i), n = !1;
4849
+ ye(i), n = !1;
4871
4850
  },
4872
4851
  d(o) {
4873
- o && H(t), i && i.d(), e[35](null);
4852
+ o && P(t), i && i.d(), e[35](null);
4874
4853
  }
4875
4854
  };
4876
4855
  }
4877
- function Zo(e, t, r) {
4856
+ function Xo(e, t, r) {
4878
4857
  let n, i;
4879
- un(e, Co, (m) => r(13, i = m));
4880
- let { $$slots: o = {}, $$scope: a } = t, { cmsendpoint: s = "" } = t, { lang: l = "" } = t, { env: h = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: d = "" } = t, { mbsource: f } = t, { clientstyling: p = "" } = t, { clientstylingurl: g = "" } = t, { translationurl: v = "" } = t, { activecategory: N = "" } = t, { flowermenustyle: w = "false" } = t, { linearmenustyle: y = "false" } = t, { cmsoption: B = "bottom-mobile-menu" } = t, E = window.navigator.userAgent, M = Jt(E) !== "PC", U = !0, he = !1, G = !1, Ve = "", Ee = !1, Ne = [], ce = [], fe = [], j = [], W, St = "", Xe = {}, It, ze = !1, de = !1;
4881
- const Qr = () => {
4858
+ ln(e, Lo, (m) => r(13, i = m));
4859
+ let { $$slots: o = {}, $$scope: a } = t, { cmsendpoint: s = "" } = t, { lang: l = "" } = t, { env: h = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: d = "" } = t, { mbsource: f } = t, { clientstyling: p = "" } = t, { clientstylingurl: g = "" } = t, { translationurl: v = "" } = t, { activecategory: S = "" } = t, { flowermenustyle: E = "false" } = t, { linearmenustyle: y = "false" } = t, { cmsoption: A = "bottom-mobile-menu" } = t, N = window.navigator.userAgent, M = Qt(N) !== "PC", U = !0, ce = !1, D = !1, je = "", Ee = !1, Ne = [], fe = [], de = [], $ = [], j, Et = "", We = {}, Nt, Ve = !1, me = !1;
4860
+ const Zr = () => {
4882
4861
  fetch(v).then((T) => T.json()).then((T) => {
4883
4862
  Object.keys(T).forEach((F) => {
4884
- qt(F, T[F]);
4863
+ Yt(F, T[F]);
4885
4864
  });
4886
4865
  }).catch((T) => {
4887
4866
  console.log(T);
4888
4867
  });
4889
4868
  };
4890
- Object.keys(Kt).forEach((m) => {
4891
- qt(m, Kt[m]);
4869
+ Object.keys(Jt).forEach((m) => {
4870
+ Yt(m, Jt[m]);
4892
4871
  });
4893
- const Bt = (m) => {
4872
+ const St = (m) => {
4894
4873
  if (m.data)
4895
4874
  switch (m.data.type) {
4896
4875
  case "PlayerAccountMenuActive":
4897
- r(5, G = !1);
4876
+ r(5, D = !1);
4898
4877
  break;
4899
4878
  case "OpenLoginRegisterModal":
4900
- r(5, G = !1);
4879
+ r(5, D = !1);
4901
4880
  break;
4902
4881
  case "GoToHomepage":
4903
- r(5, G = !1);
4882
+ r(5, D = !1);
4904
4883
  break;
4905
4884
  }
4885
+ }, Qr = () => {
4886
+ r(11, Ve = E.toLowerCase() === "true");
4906
4887
  }, Yr = () => {
4907
- r(11, ze = w.toLowerCase() === "true");
4888
+ r(3, me = y.toLowerCase() === "true");
4908
4889
  }, Jr = () => {
4909
- r(3, de = y.toLowerCase() === "true");
4910
- }, qr = () => {
4911
- r(5, G = !G), window.postMessage(
4890
+ r(5, D = !D), window.postMessage(
4912
4891
  {
4913
4892
  type: "MobileBottomNav",
4914
- navigationWindowOpened: G
4893
+ navigationWindowOpened: D
4915
4894
  },
4916
4895
  window.location.href
4917
4896
  );
4918
- }, Kr = (m) => {
4919
- r(30, fe = []), r(30, fe = Ee ? m.splice(0, 5) : m.splice(0, 4)), N && Ze();
4920
- }, en = (m, T) => {
4921
- r(29, ce = T ? [...m, ...T] : m), T = [], N && Ze();
4922
- }, tn = () => {
4923
- Qe(), r(1, U = !0);
4924
- let m = Jt(E), T = new URL(`${s}/${l}/${B}?env=${h}`);
4897
+ }, qr = (m) => {
4898
+ r(30, de = []), r(30, de = Ee ? m.splice(0, 5) : m.splice(0, 4)), S && Xe();
4899
+ }, Kr = (m, T) => {
4900
+ r(29, fe = T ? [...m, ...T] : m), T = [], S && Xe();
4901
+ }, en = () => {
4902
+ ze(), r(1, U = !0);
4903
+ let m = Qt(N), T = new URL(`${s}/${l}/${A}?env=${h}`);
4925
4904
  T.searchParams.append("userRoles", d), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((F) => F.json()).then((F) => {
4926
- Ne = [], r(8, j = []), r(29, ce = []), r(4, he = F.length > 0), F.forEach((D) => {
4927
- Xe[D.label] = D.eventTrigger ? D.path : null, D.path == "/menu-item" ? (r(9, St = D?.img), r(8, j = D.children)) : Ne.push(D);
4928
- }), r(7, Ee = j.length == 0), j.length >= 5 && ze && r(8, j = j.splice(0, 5)), de ? (en(Ne, j), r(7, Ee = !0)) : Kr(Ne), r(1, U = !1);
4905
+ Ne = [], r(8, $ = []), r(29, fe = []), r(4, ce = F.length > 0), F.forEach((G) => {
4906
+ We[G.label] = G.eventTrigger ? G.path : null, G.path == "/menu-item" ? (r(9, Et = G?.img), r(8, $ = G.children)) : Ne.push(G);
4907
+ }), r(7, Ee = $.length == 0), $.length >= 5 && Ve && r(8, $ = $.splice(0, 5)), me ? (Kr(Ne, $), r(7, Ee = !0)) : qr(Ne), r(1, U = !1);
4929
4908
  }).catch((F) => {
4930
4909
  r(1, U = !1), console.error(F);
4931
4910
  });
4932
- }, Ze = () => {
4933
- const T = (de ? ce : fe.concat(j)).find((F) => F.path.includes(N));
4934
- T ? r(6, Ve = T.id) : r(6, Ve = "");
4935
- }, me = (m, T, F, D) => {
4936
- Xe[D] ? window.postMessage(
4911
+ }, Xe = () => {
4912
+ const T = (me ? fe : de.concat($)).find((F) => F.path.includes(S));
4913
+ T ? r(6, je = T.id) : r(6, je = "");
4914
+ }, pe = (m, T, F, G) => {
4915
+ We[G] ? window.postMessage(
4937
4916
  {
4938
4917
  type: "MobileBottomNavigationEvent",
4939
- event: Xe[D]
4918
+ event: We[G]
4940
4919
  },
4941
4920
  window.location.href
4942
4921
  ) : window.postMessage(
@@ -4947,62 +4926,62 @@ function Zo(e, t, r) {
4947
4926
  externalLink: F || !1
4948
4927
  },
4949
4928
  window.location.href
4950
- ), r(5, G = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4929
+ ), r(5, D = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4951
4930
  context: "MobileBottomNavigation",
4952
4931
  menuItem: `${m}`
4953
4932
  });
4954
- }, rn = () => {
4955
- Fo(l);
4956
- }, Qe = () => {
4957
- r(10, It = M && window.innerHeight / window.innerWidth < 1);
4958
- }, At = () => {
4959
- G && r(5, G = !1);
4933
+ }, tn = () => {
4934
+ Oo(l);
4935
+ }, ze = () => {
4936
+ r(10, Nt = M && window.innerHeight / window.innerWidth < 1);
4937
+ }, It = () => {
4938
+ D && r(5, D = !1);
4960
4939
  };
4961
- xn(() => (window.addEventListener("message", Bt, !1), document.addEventListener("focusin", At), M && window.screen.orientation.addEventListener("change", Qe), () => {
4962
- window.removeEventListener("message", Bt), document.removeEventListener("focusin", At), M && window.screen.orientation.removeEventListener("change", Qe);
4940
+ _n(() => (window.addEventListener("message", St, !1), document.addEventListener("focusin", It), M && window.screen.orientation.addEventListener("change", ze), () => {
4941
+ window.removeEventListener("message", St), document.removeEventListener("focusin", It), M && window.screen.orientation.removeEventListener("change", ze);
4963
4942
  }));
4964
- const nn = (m) => {
4965
- m.attrs?.target ? me(m.path, m.attrs?.target, m?.externalLink, m.label) : me(m.path, null, m?.externalLink, m.label);
4966
- }, on = (m) => {
4967
- m?.attrs?.target ? me(m.path, m.attrs?.target, m?.externalLink, m.label) : me(m.path, null, m?.externalLink, m.label);
4943
+ const rn = (m) => {
4944
+ m.attrs?.target ? pe(m.path, m.attrs?.target, m?.externalLink, m.label) : pe(m.path, null, m?.externalLink, m.label);
4945
+ }, nn = (m) => {
4946
+ m?.attrs?.target ? pe(m.path, m.attrs?.target, m?.externalLink, m.label) : pe(m.path, null, m?.externalLink, m.label);
4968
4947
  };
4969
- function an(m) {
4970
- it[m ? "unshift" : "push"](() => {
4971
- W = m, r(2, W);
4948
+ function on(m) {
4949
+ rt[m ? "unshift" : "push"](() => {
4950
+ j = m, r(2, j);
4972
4951
  });
4973
4952
  }
4974
4953
  return e.$$set = (m) => {
4975
- "cmsendpoint" in m && r(17, s = m.cmsendpoint), "lang" in m && r(18, l = m.lang), "env" in m && r(19, h = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(20, d = m.userroles), "mbsource" in m && r(21, f = m.mbsource), "clientstyling" in m && r(22, p = m.clientstyling), "clientstylingurl" in m && r(23, g = m.clientstylingurl), "translationurl" in m && r(24, v = m.translationurl), "activecategory" in m && r(25, N = m.activecategory), "flowermenustyle" in m && r(26, w = m.flowermenustyle), "linearmenustyle" in m && r(27, y = m.linearmenustyle), "cmsoption" in m && r(28, B = m.cmsoption), "$$scope" in m && r(31, a = m.$$scope);
4954
+ "cmsendpoint" in m && r(17, s = m.cmsendpoint), "lang" in m && r(18, l = m.lang), "env" in m && r(19, h = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(20, d = m.userroles), "mbsource" in m && r(21, f = m.mbsource), "clientstyling" in m && r(22, p = m.clientstyling), "clientstylingurl" in m && r(23, g = m.clientstylingurl), "translationurl" in m && r(24, v = m.translationurl), "activecategory" in m && r(25, S = m.activecategory), "flowermenustyle" in m && r(26, E = m.flowermenustyle), "linearmenustyle" in m && r(27, y = m.linearmenustyle), "cmsoption" in m && r(28, A = m.cmsoption), "$$scope" in m && r(31, a = m.$$scope);
4976
4955
  }, e.$$.update = () => {
4977
4956
  e.$$.dirty[0] & /*flowermenustyle*/
4978
- 67108864 && w && Yr(), e.$$.dirty[0] & /*linearmenustyle*/
4979
- 134217728 && y && Jr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4980
- 33554434 && N && !U && Ze(), e.$$.dirty[0] & /*lang*/
4981
- 262144 && l && rn(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4982
- 1966080 && s && l && h && d && tn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4983
- 4194308 && p && W && Ro(W, p), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4984
- 8388612 && g && W && Uo(W, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4985
- 2097156 && f && W && Go(W, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
4986
- 16777216 && v && Qr(), e.$$.dirty[0] & /*isLinearMenu, linearMenu, primaryMenuSpliced*/
4987
- 1610612744 && r(12, n = de ? ce : fe);
4957
+ 67108864 && E && Qr(), e.$$.dirty[0] & /*linearmenustyle*/
4958
+ 134217728 && y && Yr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4959
+ 33554434 && S && !U && Xe(), e.$$.dirty[0] & /*lang*/
4960
+ 262144 && l && tn(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4961
+ 1966080 && s && l && h && d && en(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4962
+ 4194308 && p && j && Co(j, p), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4963
+ 8388612 && g && j && Fo(j, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4964
+ 2097156 && f && j && Ro(j, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
4965
+ 16777216 && v && Zr(), e.$$.dirty[0] & /*isLinearMenu, linearMenu, primaryMenuSpliced*/
4966
+ 1610612744 && r(12, n = me ? fe : de);
4988
4967
  }, [
4989
4968
  u,
4990
4969
  U,
4991
- W,
4992
- de,
4993
- he,
4994
- G,
4995
- Ve,
4996
- Ee,
4997
4970
  j,
4998
- St,
4999
- It,
5000
- ze,
4971
+ me,
4972
+ ce,
4973
+ D,
4974
+ je,
4975
+ Ee,
4976
+ $,
4977
+ Et,
4978
+ Nt,
4979
+ Ve,
5001
4980
  n,
5002
4981
  i,
5003
4982
  M,
5004
- qr,
5005
- me,
4983
+ Jr,
4984
+ pe,
5006
4985
  s,
5007
4986
  l,
5008
4987
  h,
@@ -5011,27 +4990,27 @@ function Zo(e, t, r) {
5011
4990
  p,
5012
4991
  g,
5013
4992
  v,
5014
- N,
5015
- w,
4993
+ S,
4994
+ E,
5016
4995
  y,
5017
- B,
5018
- ce,
4996
+ A,
5019
4997
  fe,
4998
+ de,
5020
4999
  a,
5021
5000
  o,
5001
+ rn,
5022
5002
  nn,
5023
- on,
5024
- an
5003
+ on
5025
5004
  ];
5026
5005
  }
5027
- class Qo extends Hn {
5006
+ class zo extends Hn {
5028
5007
  constructor(t) {
5029
- super(), Tn(
5008
+ super(), An(
5030
5009
  this,
5031
5010
  t,
5032
- Zo,
5033
- zo,
5034
- fr,
5011
+ Xo,
5012
+ Vo,
5013
+ hr,
5035
5014
  {
5036
5015
  cmsendpoint: 17,
5037
5016
  lang: 18,
@@ -5047,7 +5026,7 @@ class Qo extends Hn {
5047
5026
  linearmenustyle: 27,
5048
5027
  cmsoption: 28
5049
5028
  },
5050
- Do,
5029
+ Uo,
5051
5030
  [-1, -1]
5052
5031
  );
5053
5032
  }
@@ -5055,82 +5034,82 @@ class Qo extends Hn {
5055
5034
  return this.$$.ctx[17];
5056
5035
  }
5057
5036
  set cmsendpoint(t) {
5058
- this.$$set({ cmsendpoint: t }), O();
5037
+ this.$$set({ cmsendpoint: t }), L();
5059
5038
  }
5060
5039
  get lang() {
5061
5040
  return this.$$.ctx[18];
5062
5041
  }
5063
5042
  set lang(t) {
5064
- this.$$set({ lang: t }), O();
5043
+ this.$$set({ lang: t }), L();
5065
5044
  }
5066
5045
  get env() {
5067
5046
  return this.$$.ctx[19];
5068
5047
  }
5069
5048
  set env(t) {
5070
- this.$$set({ env: t }), O();
5049
+ this.$$set({ env: t }), L();
5071
5050
  }
5072
5051
  get secondarymenutitle() {
5073
5052
  return this.$$.ctx[0];
5074
5053
  }
5075
5054
  set secondarymenutitle(t) {
5076
- this.$$set({ secondarymenutitle: t }), O();
5055
+ this.$$set({ secondarymenutitle: t }), L();
5077
5056
  }
5078
5057
  get userroles() {
5079
5058
  return this.$$.ctx[20];
5080
5059
  }
5081
5060
  set userroles(t) {
5082
- this.$$set({ userroles: t }), O();
5061
+ this.$$set({ userroles: t }), L();
5083
5062
  }
5084
5063
  get mbsource() {
5085
5064
  return this.$$.ctx[21];
5086
5065
  }
5087
5066
  set mbsource(t) {
5088
- this.$$set({ mbsource: t }), O();
5067
+ this.$$set({ mbsource: t }), L();
5089
5068
  }
5090
5069
  get clientstyling() {
5091
5070
  return this.$$.ctx[22];
5092
5071
  }
5093
5072
  set clientstyling(t) {
5094
- this.$$set({ clientstyling: t }), O();
5073
+ this.$$set({ clientstyling: t }), L();
5095
5074
  }
5096
5075
  get clientstylingurl() {
5097
5076
  return this.$$.ctx[23];
5098
5077
  }
5099
5078
  set clientstylingurl(t) {
5100
- this.$$set({ clientstylingurl: t }), O();
5079
+ this.$$set({ clientstylingurl: t }), L();
5101
5080
  }
5102
5081
  get translationurl() {
5103
5082
  return this.$$.ctx[24];
5104
5083
  }
5105
5084
  set translationurl(t) {
5106
- this.$$set({ translationurl: t }), O();
5085
+ this.$$set({ translationurl: t }), L();
5107
5086
  }
5108
5087
  get activecategory() {
5109
5088
  return this.$$.ctx[25];
5110
5089
  }
5111
5090
  set activecategory(t) {
5112
- this.$$set({ activecategory: t }), O();
5091
+ this.$$set({ activecategory: t }), L();
5113
5092
  }
5114
5093
  get flowermenustyle() {
5115
5094
  return this.$$.ctx[26];
5116
5095
  }
5117
5096
  set flowermenustyle(t) {
5118
- this.$$set({ flowermenustyle: t }), O();
5097
+ this.$$set({ flowermenustyle: t }), L();
5119
5098
  }
5120
5099
  get linearmenustyle() {
5121
5100
  return this.$$.ctx[27];
5122
5101
  }
5123
5102
  set linearmenustyle(t) {
5124
- this.$$set({ linearmenustyle: t }), O();
5103
+ this.$$set({ linearmenustyle: t }), L();
5125
5104
  }
5126
5105
  get cmsoption() {
5127
5106
  return this.$$.ctx[28];
5128
5107
  }
5129
5108
  set cmsoption(t) {
5130
- this.$$set({ cmsoption: t }), O();
5109
+ this.$$set({ cmsoption: t }), L();
5131
5110
  }
5132
5111
  }
5133
- Pn(Qo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {}, linearmenustyle: {}, cmsoption: {} }, ["close"], [], !0);
5112
+ Tn(zo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {}, linearmenustyle: {}, cmsoption: {} }, ["close"], [], !0);
5134
5113
  export {
5135
- Qo as G
5114
+ zo as G
5136
5115
  };