@everymatrix/general-navigation-bar 1.86.4 → 1.86.5

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