@everymatrix/general-navigation-bar 1.66.2 → 1.67.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  function R() {
2
2
  }
3
- function qr(e, t) {
3
+ function Zr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,29 +8,29 @@ function qr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function or(e) {
11
+ function tr(e) {
12
12
  return e();
13
13
  }
14
- function Nt() {
14
+ function _t() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function oe(e) {
18
- e.forEach(or);
17
+ function ae(e) {
18
+ e.forEach(tr);
19
19
  }
20
- function pt(e) {
20
+ function ht(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function ar(e, t) {
23
+ function rr(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let _e;
27
- function ee(e, t) {
27
+ function te(e, t) {
28
28
  return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
29
29
  }
30
- function Kr(e) {
30
+ function Qr(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function sr(e, ...t) {
33
+ function nr(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
@@ -39,19 +39,19 @@ function sr(e, ...t) {
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function en(e, t, r) {
43
- e.$$.on_destroy.push(sr(t, r));
42
+ function Yr(e, t, r) {
43
+ e.$$.on_destroy.push(nr(t, r));
44
44
  }
45
- function tn(e, t, r, n) {
45
+ function Jr(e, t, r, n) {
46
46
  if (e) {
47
- const i = lr(e, t, r, n);
47
+ const i = ir(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function lr(e, t, r, n) {
52
- return e[1] && n ? qr(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function ir(e, t, r, n) {
52
+ return e[1] && n ? Zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function rn(e, t, r, n) {
54
+ function qr(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 rn(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function nn(e, t, r, n, i, o) {
69
+ function Kr(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = lr(t, r, n, o);
71
+ const a = ir(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function on(e) {
75
+ function en(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 on(e) {
84
84
  function y(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
- function an(e, t, r) {
88
- const n = sn(e);
87
+ function tn(e, t, r) {
88
+ const n = rn(e);
89
89
  if (!n.getElementById(t)) {
90
- const i = I("style");
91
- i.id = t, i.textContent = r, ln(n, i);
90
+ const i = B("style");
91
+ i.id = t, i.textContent = r, nn(n, i);
92
92
  }
93
93
  }
94
- function sn(e) {
94
+ function rn(e) {
95
95
  if (!e)
96
96
  return document;
97
97
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -101,7 +101,7 @@ function sn(e) {
101
101
  t
102
102
  ) : e.ownerDocument;
103
103
  }
104
- function ln(e, t) {
104
+ function nn(e, t) {
105
105
  return y(
106
106
  /** @type {Document} */
107
107
  e.head || e,
@@ -114,39 +114,39 @@ function L(e, t, r) {
114
114
  function O(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
- function ur(e, t) {
117
+ function or(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 B(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 ge(e) {
127
+ function be(e) {
128
128
  return document.createTextNode(e);
129
129
  }
130
- function k() {
131
- return ge(" ");
130
+ function $() {
131
+ return be(" ");
132
132
  }
133
- function un() {
134
- return ge("");
133
+ function on() {
134
+ return be("");
135
135
  }
136
- function Me(e, t, r, n) {
136
+ function Pe(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 hn(e) {
142
+ function an(e) {
143
143
  return Array.from(e.childNodes);
144
144
  }
145
- function gt(e, t) {
145
+ function ct(e, t) {
146
146
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
147
147
  t);
148
148
  }
149
- function cn(e) {
149
+ function sn(e) {
150
150
  const t = {};
151
151
  return e.childNodes.forEach(
152
152
  /** @param {Element} node */
@@ -155,69 +155,69 @@ function cn(e) {
155
155
  }
156
156
  ), t;
157
157
  }
158
- let fe;
159
- function ce(e) {
160
- fe = e;
158
+ let de;
159
+ function fe(e) {
160
+ de = e;
161
161
  }
162
- function fn() {
163
- if (!fe)
162
+ function ln() {
163
+ if (!de)
164
164
  throw new Error("Function called outside component initialization");
165
- return fe;
165
+ return de;
166
166
  }
167
- function dn(e) {
168
- fn().$$.on_mount.push(e);
167
+ function un(e) {
168
+ ln().$$.on_mount.push(e);
169
169
  }
170
- const q = [], Je = [];
170
+ const q = [], Ze = [];
171
171
  let K = [];
172
- const St = [], mn = /* @__PURE__ */ Promise.resolve();
173
- let qe = !1;
174
- function pn() {
175
- qe || (qe = !0, mn.then(F));
172
+ const xt = [], hn = /* @__PURE__ */ Promise.resolve();
173
+ let Qe = !1;
174
+ function cn() {
175
+ Qe || (Qe = !0, hn.then(F));
176
176
  }
177
- function Ke(e) {
177
+ function Ye(e) {
178
178
  K.push(e);
179
179
  }
180
- const je = /* @__PURE__ */ new Set();
180
+ const $e = /* @__PURE__ */ new Set();
181
181
  let Y = 0;
182
182
  function F() {
183
183
  if (Y !== 0)
184
184
  return;
185
- const e = fe;
185
+ const e = de;
186
186
  do {
187
187
  try {
188
188
  for (; Y < q.length; ) {
189
189
  const t = q[Y];
190
- Y++, ce(t), gn(t.$$);
190
+ Y++, fe(t), fn(t.$$);
191
191
  }
192
192
  } catch (t) {
193
193
  throw q.length = 0, Y = 0, t;
194
194
  }
195
- for (ce(null), q.length = 0, Y = 0; Je.length; )
196
- Je.pop()();
195
+ for (fe(null), q.length = 0, Y = 0; Ze.length; )
196
+ Ze.pop()();
197
197
  for (let t = 0; t < K.length; t += 1) {
198
198
  const r = K[t];
199
- je.has(r) || (je.add(r), r());
199
+ $e.has(r) || ($e.add(r), r());
200
200
  }
201
201
  K.length = 0;
202
202
  } while (q.length);
203
- for (; St.length; )
204
- St.pop()();
205
- qe = !1, je.clear(), ce(e);
203
+ for (; xt.length; )
204
+ xt.pop()();
205
+ Qe = !1, $e.clear(), fe(e);
206
206
  }
207
- function gn(e) {
207
+ function fn(e) {
208
208
  if (e.fragment !== null) {
209
- e.update(), oe(e.before_update);
209
+ e.update(), ae(e.before_update);
210
210
  const t = e.dirty;
211
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
211
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
212
212
  }
213
213
  }
214
- function vn(e) {
214
+ function dn(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 Ee = /* @__PURE__ */ new Set();
219
219
  let z;
220
- function hr() {
220
+ function ar() {
221
221
  z = {
222
222
  r: 0,
223
223
  c: [],
@@ -225,13 +225,13 @@ function hr() {
225
225
  // parent group
226
226
  };
227
227
  }
228
- function cr() {
229
- z.r || oe(z.c), z = z.p;
228
+ function sr() {
229
+ z.r || ae(z.c), z = z.p;
230
230
  }
231
231
  function V(e, t) {
232
232
  e && e.i && (Ee.delete(e), e.i(t));
233
233
  }
234
- function de(e, t, r, n) {
234
+ function me(e, t, r, n) {
235
235
  if (e && e.o) {
236
236
  if (Ee.has(e))
237
237
  return;
@@ -244,23 +244,23 @@ function de(e, t, r, n) {
244
244
  function Ae(e) {
245
245
  return e?.length !== void 0 ? e : Array.from(e);
246
246
  }
247
- function bn(e, t, r) {
247
+ function mn(e, t, r) {
248
248
  const { fragment: n, after_update: i } = e.$$;
249
- n && n.m(t, r), Ke(() => {
250
- const o = e.$$.on_mount.map(or).filter(pt);
251
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
252
- }), i.forEach(Ke);
249
+ n && n.m(t, r), Ye(() => {
250
+ const o = e.$$.on_mount.map(tr).filter(ht);
251
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
252
+ }), i.forEach(Ye);
253
253
  }
254
- function yn(e, t) {
254
+ function pn(e, t) {
255
255
  const r = e.$$;
256
- r.fragment !== null && (vn(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
256
+ r.fragment !== null && (dn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
257
257
  }
258
- function _n(e, t) {
259
- e.$$.dirty[0] === -1 && (q.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
258
+ function gn(e, t) {
259
+ e.$$.dirty[0] === -1 && (q.push(e), cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
260
260
  }
261
- function xn(e, t, r, n, i, o, a = null, s = [-1]) {
262
- const l = fe;
263
- ce(e);
261
+ function bn(e, t, r, n, i, o, a = null, s = [-1]) {
262
+ const l = de;
263
+ fe(e);
264
264
  const u = e.$$ = {
265
265
  fragment: null,
266
266
  ctx: [],
@@ -268,7 +268,7 @@ function xn(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: Nt(),
271
+ bound: _t(),
272
272
  // lifecycle
273
273
  on_mount: [],
274
274
  on_destroy: [],
@@ -277,28 +277,28 @@ function xn(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: Nt(),
280
+ callbacks: _t(),
281
281
  dirty: s,
282
282
  skip_bound: !1,
283
283
  root: t.target || l.$$.root
284
284
  };
285
285
  a && a(u.root);
286
286
  let h = !1;
287
- if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
287
+ if (u.ctx = r(e, t.props || {}, (d, f, ...p) => {
288
288
  const g = p.length ? p[0] : f;
289
- return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && _n(e, d)), f;
290
- }) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
289
+ return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && gn(e, d)), f;
290
+ }), u.update(), h = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
291
291
  if (t.hydrate) {
292
- const d = hn(t.target);
292
+ const d = an(t.target);
293
293
  u.fragment && u.fragment.l(d), d.forEach(O);
294
294
  } else
295
295
  u.fragment && u.fragment.c();
296
- t.intro && V(e.$$.fragment), bn(e, t.target, t.anchor), F();
296
+ t.intro && V(e.$$.fragment), mn(e, t.target, t.anchor), F();
297
297
  }
298
- ce(l);
298
+ fe(l);
299
299
  }
300
- let fr;
301
- typeof HTMLElement == "function" && (fr = class extends HTMLElement {
300
+ let lr;
301
+ typeof HTMLElement == "function" && (lr = class extends HTMLElement {
302
302
  /** The Svelte component constructor */
303
303
  $$ctor;
304
304
  /** Slots */
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (fr = 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 = B("slot"), i !== "default" && c(o, "name", i);
344
344
  },
345
345
  /**
346
346
  * @param {HTMLElement} target
@@ -357,7 +357,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
357
357
  };
358
358
  if (await Promise.resolve(), !this.$$cn || this.$$c)
359
359
  return;
360
- const t = {}, r = cn(this);
360
+ const t = {}, r = sn(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 Ne(e, t, r, n) {
444
444
  return t;
445
445
  }
446
446
  }
447
- function wn(e, t, r, n, i, o) {
448
- let a = class extends fr {
447
+ function vn(e, t, r, n, i, o) {
448
+ let a = class extends lr {
449
449
  constructor() {
450
450
  super(e, r, i), this.$$p_d = t;
451
451
  }
@@ -473,7 +473,7 @@ function wn(e, t, r, n, i, o) {
473
473
  }), e.element = /** @type {any} */
474
474
  a, a;
475
475
  }
476
- class En {
476
+ class yn {
477
477
  /**
478
478
  * ### PRIVATE API
479
479
  *
@@ -492,7 +492,7 @@ class En {
492
492
  $$set = void 0;
493
493
  /** @returns {void} */
494
494
  $destroy() {
495
- yn(this, 1), this.$destroy = R;
495
+ pn(this, 1), this.$destroy = R;
496
496
  }
497
497
  /**
498
498
  * @template {Extract<keyof Events, string>} K
@@ -501,7 +501,7 @@ class En {
501
501
  * @returns {() => void}
502
502
  */
503
503
  $on(t, r) {
504
- if (!pt(r))
504
+ if (!ht(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 En {
514
514
  * @returns {void}
515
515
  */
516
516
  $set(t) {
517
- this.$$set && !Kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
517
+ this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
518
  }
519
519
  }
520
- const Nn = "4";
521
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nn);
520
+ const _n = "4";
521
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
522
522
  /*! *****************************************************************************
523
523
  Copyright (c) Microsoft Corporation.
524
524
 
@@ -533,24 +533,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
533
533
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
534
534
  PERFORMANCE OF THIS SOFTWARE.
535
535
  ***************************************************************************** */
536
- var et = function(e, t) {
537
- return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
536
+ var Je = function(e, t) {
537
+ return Je = 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
- }, et(e, t);
542
+ }, Je(e, t);
543
543
  };
544
- function ve(e, t) {
544
+ function k(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
- et(e, t);
547
+ Je(e, t);
548
548
  function r() {
549
549
  this.constructor = e;
550
550
  }
551
551
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
552
552
  }
553
- function tt(e) {
553
+ var w = function() {
554
+ return w = Object.assign || function(t) {
555
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
556
+ r = arguments[n];
557
+ for (var o in r)
558
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
559
+ }
560
+ return t;
561
+ }, w.apply(this, arguments);
562
+ };
563
+ function xn(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 qe(e) {
554
573
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
555
574
  if (r)
556
575
  return r.call(e);
@@ -562,7 +581,7 @@ function tt(e) {
562
581
  };
563
582
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
564
583
  }
565
- function rt(e, t) {
584
+ function Ke(e, t) {
566
585
  var r = typeof Symbol == "function" && e[Symbol.iterator];
567
586
  if (!r)
568
587
  return e;
@@ -582,22 +601,22 @@ function rt(e, t) {
582
601
  }
583
602
  return o;
584
603
  }
585
- function nt(e, t, r) {
586
- if (arguments.length === 2)
604
+ function ee(e, t, r) {
605
+ if (r || arguments.length === 2)
587
606
  for (var n = 0, i = t.length, o; n < i; n++)
588
607
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
589
608
  return e.concat(o || t);
590
609
  }
591
- function $(e) {
610
+ function G(e) {
592
611
  return typeof e == "function";
593
612
  }
594
- function dr(e) {
613
+ function ur(e) {
595
614
  var t = function(n) {
596
615
  Error.call(n), n.stack = new Error().stack;
597
616
  }, r = e(t);
598
617
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
599
618
  }
600
- var We = dr(function(e) {
619
+ var ke = ur(function(e) {
601
620
  return function(r) {
602
621
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
603
622
  ` + r.map(function(n, i) {
@@ -606,13 +625,13 @@ var We = dr(function(e) {
606
625
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
607
626
  };
608
627
  });
609
- function it(e, t) {
628
+ function et(e, t) {
610
629
  if (e) {
611
630
  var r = e.indexOf(t);
612
631
  0 <= r && e.splice(r, 1);
613
632
  }
614
633
  }
615
- var Oe = function() {
634
+ var Me = function() {
616
635
  function e(t) {
617
636
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
618
637
  }
@@ -624,12 +643,12 @@ var Oe = function() {
624
643
  if (a)
625
644
  if (this._parentage = null, Array.isArray(a))
626
645
  try {
627
- for (var s = tt(a), l = s.next(); !l.done; l = s.next()) {
646
+ for (var s = qe(a), l = s.next(); !l.done; l = s.next()) {
628
647
  var u = l.value;
629
648
  u.remove(this);
630
649
  }
631
- } catch (v) {
632
- t = { error: v };
650
+ } catch (b) {
651
+ t = { error: b };
633
652
  } finally {
634
653
  try {
635
654
  l && !l.done && (r = s.return) && r.call(s);
@@ -641,26 +660,26 @@ var Oe = function() {
641
660
  else
642
661
  a.remove(this);
643
662
  var h = this.initialTeardown;
644
- if ($(h))
663
+ if (G(h))
645
664
  try {
646
665
  h();
647
- } catch (v) {
648
- o = v instanceof We ? v.errors : [v];
666
+ } catch (b) {
667
+ o = b instanceof ke ? b.errors : [b];
649
668
  }
650
669
  var d = this._finalizers;
651
670
  if (d) {
652
671
  this._finalizers = null;
653
672
  try {
654
- for (var f = tt(d), p = f.next(); !p.done; p = f.next()) {
673
+ for (var f = qe(d), p = f.next(); !p.done; p = f.next()) {
655
674
  var g = p.value;
656
675
  try {
657
- It(g);
658
- } catch (v) {
659
- o = o ?? [], v instanceof We ? o = nt(nt([], rt(o)), rt(v.errors)) : o.push(v);
676
+ wt(g);
677
+ } catch (b) {
678
+ o = o ?? [], b instanceof ke ? o = ee(ee([], Ke(o)), Ke(b.errors)) : o.push(b);
660
679
  }
661
680
  }
662
- } catch (v) {
663
- n = { error: v };
681
+ } catch (b) {
682
+ n = { error: b };
664
683
  } finally {
665
684
  try {
666
685
  p && !p.done && (i = f.return) && i.call(f);
@@ -671,13 +690,13 @@ var Oe = function() {
671
690
  }
672
691
  }
673
692
  if (o)
674
- throw new We(o);
693
+ throw new ke(o);
675
694
  }
676
695
  }, e.prototype.add = function(t) {
677
696
  var r;
678
697
  if (t && t !== this)
679
698
  if (this.closed)
680
- It(t);
699
+ wt(t);
681
700
  else {
682
701
  if (t instanceof e) {
683
702
  if (t.closed || t._hasParent(this))
@@ -694,52 +713,56 @@ var Oe = function() {
694
713
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
695
714
  }, e.prototype._removeParent = function(t) {
696
715
  var r = this._parentage;
697
- r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
716
+ r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
698
717
  }, e.prototype.remove = function(t) {
699
718
  var r = this._finalizers;
700
- r && it(r, t), t instanceof e && t._removeParent(this);
719
+ r && et(r, t), t instanceof e && t._removeParent(this);
701
720
  }, e.EMPTY = function() {
702
721
  var t = new e();
703
722
  return t.closed = !0, t;
704
723
  }(), e;
705
- }(), mr = Oe.EMPTY;
706
- function pr(e) {
707
- return e instanceof Oe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
708
- }
709
- function It(e) {
710
- $(e) ? e() : e.unsubscribe();
711
- }
712
- var Sn = {
713
- Promise: void 0
714
- }, In = {
724
+ }(), hr = Me.EMPTY;
725
+ function cr(e) {
726
+ return e instanceof Me || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
727
+ }
728
+ function wt(e) {
729
+ G(e) ? e() : e.unsubscribe();
730
+ }
731
+ var wn = {
732
+ onUnhandledError: null,
733
+ onStoppedNotification: null,
734
+ Promise: void 0,
735
+ useDeprecatedSynchronousErrorHandling: !1,
736
+ useDeprecatedNextContext: !1
737
+ }, En = {
715
738
  setTimeout: function(e, t) {
716
739
  for (var r = [], n = 2; n < arguments.length; n++)
717
740
  r[n - 2] = arguments[n];
718
- return setTimeout.apply(void 0, nt([e, t], rt(r)));
741
+ return setTimeout.apply(void 0, ee([e, t], Ke(r)));
719
742
  },
720
743
  clearTimeout: function(e) {
721
744
  return clearTimeout(e);
722
745
  },
723
746
  delegate: void 0
724
747
  };
725
- function Bn(e) {
726
- In.setTimeout(function() {
748
+ function Nn(e) {
749
+ En.setTimeout(function() {
727
750
  throw e;
728
751
  });
729
752
  }
730
- function Bt() {
753
+ function Et() {
731
754
  }
732
755
  function Se(e) {
733
756
  e();
734
757
  }
735
- var gr = function(e) {
736
- ve(t, e);
758
+ var fr = function(e) {
759
+ k(t, e);
737
760
  function t(r) {
738
761
  var n = e.call(this) || this;
739
- return n.isStopped = !1, r ? (n.destination = r, pr(r) && r.add(n)) : n.destination = Pn, n;
762
+ return n.isStopped = !1, r ? (n.destination = r, cr(r) && r.add(n)) : n.destination = Bn, n;
740
763
  }
741
764
  return t.create = function(r, n, i) {
742
- return new ot(r, n, i);
765
+ return new tt(r, n, i);
743
766
  }, t.prototype.next = function(r) {
744
767
  this.isStopped || this._next(r);
745
768
  }, t.prototype.error = function(r) {
@@ -763,7 +786,7 @@ var gr = function(e) {
763
786
  this.unsubscribe();
764
787
  }
765
788
  }, t;
766
- }(Oe), An = function() {
789
+ }(Me), Sn = function() {
767
790
  function e(t) {
768
791
  this.partialObserver = t;
769
792
  }
@@ -794,43 +817,43 @@ var gr = function(e) {
794
817
  xe(r);
795
818
  }
796
819
  }, e;
797
- }(), ot = function(e) {
798
- ve(t, e);
820
+ }(), tt = function(e) {
821
+ k(t, e);
799
822
  function t(r, n, i) {
800
823
  var o = e.call(this) || this, a;
801
- return $(r) || !r ? a = {
824
+ return G(r) || !r ? a = {
802
825
  next: r ?? void 0,
803
826
  error: n ?? void 0,
804
827
  complete: i ?? void 0
805
- } : a = r, o.destination = new An(a), o;
828
+ } : a = r, o.destination = new Sn(a), o;
806
829
  }
807
830
  return t;
808
- }(gr);
831
+ }(fr);
809
832
  function xe(e) {
810
- Bn(e);
833
+ Nn(e);
811
834
  }
812
- function Tn(e) {
835
+ function In(e) {
813
836
  throw e;
814
837
  }
815
- var Pn = {
838
+ var Bn = {
816
839
  closed: !0,
817
- next: Bt,
818
- error: Tn,
819
- complete: Bt
820
- }, Hn = function() {
840
+ next: Et,
841
+ error: In,
842
+ complete: Et
843
+ }, An = function() {
821
844
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
822
845
  }();
823
- function Mn(e) {
846
+ function Tn(e) {
824
847
  return e;
825
848
  }
826
- function On(e) {
827
- return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
849
+ function Hn(e) {
850
+ return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
828
851
  return e.reduce(function(n, i) {
829
852
  return i(n);
830
853
  }, r);
831
854
  };
832
855
  }
833
- var At = function() {
856
+ var Nt = function() {
834
857
  function e(t) {
835
858
  t && (this._subscribe = t);
836
859
  }
@@ -838,7 +861,7 @@ var At = function() {
838
861
  var r = new e();
839
862
  return r.source = this, r.operator = t, r;
840
863
  }, e.prototype.subscribe = function(t, r, n) {
841
- var i = this, o = Cn(t) ? t : new ot(t, r, n);
864
+ var i = this, o = Mn(t) ? t : new tt(t, r, n);
842
865
  return Se(function() {
843
866
  var a = i, s = a.operator, l = a.source;
844
867
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -851,8 +874,8 @@ var At = function() {
851
874
  }
852
875
  }, e.prototype.forEach = function(t, r) {
853
876
  var n = this;
854
- return r = Tt(r), new r(function(i, o) {
855
- var a = new ot({
877
+ return r = St(r), new r(function(i, o) {
878
+ var a = new tt({
856
879
  next: function(s) {
857
880
  try {
858
881
  t(s);
@@ -868,15 +891,15 @@ var At = function() {
868
891
  }, e.prototype._subscribe = function(t) {
869
892
  var r;
870
893
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
871
- }, e.prototype[Hn] = function() {
894
+ }, e.prototype[An] = function() {
872
895
  return this;
873
896
  }, e.prototype.pipe = function() {
874
897
  for (var t = [], r = 0; r < arguments.length; r++)
875
898
  t[r] = arguments[r];
876
- return On(t)(this);
899
+ return Hn(t)(this);
877
900
  }, e.prototype.toPromise = function(t) {
878
901
  var r = this;
879
- return t = Tt(t), new t(function(n, i) {
902
+ return t = St(t), new t(function(n, i) {
880
903
  var o;
881
904
  r.subscribe(function(a) {
882
905
  return o = a;
@@ -890,32 +913,32 @@ var At = function() {
890
913
  return new e(t);
891
914
  }, e;
892
915
  }();
893
- function Tt(e) {
916
+ function St(e) {
894
917
  var t;
895
- return (t = e ?? Sn.Promise) !== null && t !== void 0 ? t : Promise;
918
+ return (t = e ?? wn.Promise) !== null && t !== void 0 ? t : Promise;
896
919
  }
897
- function Ln(e) {
898
- return e && $(e.next) && $(e.error) && $(e.complete);
920
+ function Pn(e) {
921
+ return e && G(e.next) && G(e.error) && G(e.complete);
899
922
  }
900
- function Cn(e) {
901
- return e && e instanceof gr || Ln(e) && pr(e);
923
+ function Mn(e) {
924
+ return e && e instanceof fr || Pn(e) && cr(e);
902
925
  }
903
- var Fn = dr(function(e) {
926
+ var On = ur(function(e) {
904
927
  return function() {
905
928
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
906
929
  };
907
- }), vr = function(e) {
908
- ve(t, e);
930
+ }), dr = function(e) {
931
+ k(t, e);
909
932
  function t() {
910
933
  var r = e.call(this) || this;
911
934
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
912
935
  }
913
936
  return t.prototype.lift = function(r) {
914
- var n = new Pt(this, this);
937
+ var n = new It(this, this);
915
938
  return n.operator = r, n;
916
939
  }, t.prototype._throwIfClosed = function() {
917
940
  if (this.closed)
918
- throw new Fn();
941
+ throw new On();
919
942
  }, t.prototype.next = function(r) {
920
943
  var n = this;
921
944
  Se(function() {
@@ -923,7 +946,7 @@ var Fn = dr(function(e) {
923
946
  if (n._throwIfClosed(), !n.isStopped) {
924
947
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
925
948
  try {
926
- for (var a = tt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
949
+ for (var a = qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
927
950
  var l = s.value;
928
951
  l.next(r);
929
952
  }
@@ -972,20 +995,20 @@ var Fn = dr(function(e) {
972
995
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
973
996
  }, t.prototype._innerSubscribe = function(r) {
974
997
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
975
- return o || a ? mr : (this.currentObservers = null, s.push(r), new Oe(function() {
976
- n.currentObservers = null, it(s, r);
998
+ return o || a ? hr : (this.currentObservers = null, s.push(r), new Me(function() {
999
+ n.currentObservers = null, et(s, r);
977
1000
  }));
978
1001
  }, t.prototype._checkFinalizedStatuses = function(r) {
979
1002
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
980
1003
  i ? r.error(o) : a && r.complete();
981
1004
  }, t.prototype.asObservable = function() {
982
- var r = new At();
1005
+ var r = new Nt();
983
1006
  return r.source = this, r;
984
1007
  }, t.create = function(r, n) {
985
- return new Pt(r, n);
1008
+ return new It(r, n);
986
1009
  }, t;
987
- }(At), Pt = function(e) {
988
- ve(t, e);
1010
+ }(Nt), It = function(e) {
1011
+ k(t, e);
989
1012
  function t(r, n) {
990
1013
  var i = e.call(this) || this;
991
1014
  return i.destination = r, i.source = n, i;
@@ -1001,17 +1024,17 @@ var Fn = dr(function(e) {
1001
1024
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1002
1025
  }, t.prototype._subscribe = function(r) {
1003
1026
  var n, i;
1004
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : mr;
1027
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : hr;
1005
1028
  }, t;
1006
- }(vr), br = {
1029
+ }(dr), mr = {
1007
1030
  now: function() {
1008
- return (br.delegate || Date).now();
1031
+ return (mr.delegate || Date).now();
1009
1032
  },
1010
1033
  delegate: void 0
1011
- }, Rn = function(e) {
1012
- ve(t, e);
1034
+ }, Ln = function(e) {
1035
+ k(t, e);
1013
1036
  function t(r, n, i) {
1014
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = br);
1037
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = mr);
1015
1038
  var o = e.call(this) || this;
1016
1039
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1017
1040
  }
@@ -1031,24 +1054,24 @@ var Fn = dr(function(e) {
1031
1054
  u && o.splice(0, u + 1);
1032
1055
  }
1033
1056
  }, t;
1034
- }(vr);
1035
- const Ht = [], Mt = {}, Un = (e, t = 0) => {
1036
- if (Ht.indexOf(e) == -1) {
1037
- const r = new Rn(t);
1038
- Mt[e] = r, Ht.push(e);
1057
+ }(dr);
1058
+ const Bt = [], At = {}, Cn = (e, t = 0) => {
1059
+ if (Bt.indexOf(e) == -1) {
1060
+ const r = new Ln(t);
1061
+ At[e] = r, Bt.push(e);
1039
1062
  }
1040
- return Mt[e];
1063
+ return At[e];
1041
1064
  }, J = [];
1042
- function Dn(e, t) {
1065
+ function Fn(e, t) {
1043
1066
  return {
1044
- subscribe: Le(e, t).subscribe
1067
+ subscribe: Oe(e, t).subscribe
1045
1068
  };
1046
1069
  }
1047
- function Le(e, t = R) {
1070
+ function Oe(e, t = R) {
1048
1071
  let r;
1049
1072
  const n = /* @__PURE__ */ new Set();
1050
1073
  function i(s) {
1051
- if (ar(e, s) && (e = s, r)) {
1074
+ if (rr(e, s) && (e = s, r)) {
1052
1075
  const l = !J.length;
1053
1076
  for (const u of n)
1054
1077
  u[1](), J.push(u, e);
@@ -1070,12 +1093,12 @@ function Le(e, t = R) {
1070
1093
  }
1071
1094
  return { set: i, update: o, subscribe: a };
1072
1095
  }
1073
- function ae(e, t, r) {
1096
+ function se(e, t, r) {
1074
1097
  const n = !Array.isArray(e), i = n ? [e] : e;
1075
1098
  if (!i.every(Boolean))
1076
1099
  throw new Error("derived() expects stores as input, got a falsy value");
1077
1100
  const o = t.length < 2;
1078
- return Dn(r, (a, s) => {
1101
+ return Fn(r, (a, s) => {
1079
1102
  let l = !1;
1080
1103
  const u = [];
1081
1104
  let h = 0, d = R;
@@ -1084,170 +1107,131 @@ function ae(e, t, r) {
1084
1107
  return;
1085
1108
  d();
1086
1109
  const g = t(n ? u[0] : u, a, s);
1087
- o ? a(g) : d = pt(g) ? g : R;
1110
+ o ? a(g) : d = ht(g) ? g : R;
1088
1111
  }, p = i.map(
1089
- (g, v) => sr(
1112
+ (g, b) => nr(
1090
1113
  g,
1091
- (B) => {
1092
- u[v] = B, h &= ~(1 << v), l && f();
1114
+ (A) => {
1115
+ u[b] = A, h &= ~(1 << b), l && f();
1093
1116
  },
1094
1117
  () => {
1095
- h |= 1 << v;
1118
+ h |= 1 << b;
1096
1119
  }
1097
1120
  )
1098
1121
  );
1099
1122
  return l = !0, f(), function() {
1100
- oe(p), d(), l = !1;
1123
+ ae(p), d(), l = !1;
1101
1124
  };
1102
1125
  });
1103
1126
  }
1104
- function Gn(e) {
1105
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1127
+ function Rn(e) {
1128
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1106
1129
  }
1107
- var $n = function(t) {
1108
- return kn(t) && !jn(t);
1130
+ var Un = function(t) {
1131
+ return Dn(t) && !Gn(t);
1109
1132
  };
1110
- function kn(e) {
1133
+ function Dn(e) {
1111
1134
  return !!e && typeof e == "object";
1112
1135
  }
1113
- function jn(e) {
1136
+ function Gn(e) {
1114
1137
  var t = Object.prototype.toString.call(e);
1115
- return t === "[object RegExp]" || t === "[object Date]" || Xn(e);
1138
+ return t === "[object RegExp]" || t === "[object Date]" || jn(e);
1116
1139
  }
1117
- var Wn = typeof Symbol == "function" && Symbol.for, Vn = Wn ? Symbol.for("react.element") : 60103;
1118
- function Xn(e) {
1119
- return e.$$typeof === Vn;
1140
+ var $n = typeof Symbol == "function" && Symbol.for, kn = $n ? Symbol.for("react.element") : 60103;
1141
+ function jn(e) {
1142
+ return e.$$typeof === kn;
1120
1143
  }
1121
- function zn(e) {
1144
+ function Wn(e) {
1122
1145
  return Array.isArray(e) ? [] : {};
1123
1146
  }
1124
- function me(e, t) {
1125
- return t.clone !== !1 && t.isMergeableObject(e) ? te(zn(e), e, t) : e;
1147
+ function pe(e, t) {
1148
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(Wn(e), e, t) : e;
1126
1149
  }
1127
- function Zn(e, t, r) {
1150
+ function Vn(e, t, r) {
1128
1151
  return e.concat(t).map(function(n) {
1129
- return me(n, r);
1152
+ return pe(n, r);
1130
1153
  });
1131
1154
  }
1132
- function Qn(e, t) {
1155
+ function Xn(e, t) {
1133
1156
  if (!t.customMerge)
1134
- return te;
1157
+ return re;
1135
1158
  var r = t.customMerge(e);
1136
- return typeof r == "function" ? r : te;
1159
+ return typeof r == "function" ? r : re;
1137
1160
  }
1138
- function Yn(e) {
1161
+ function zn(e) {
1139
1162
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1140
1163
  return Object.propertyIsEnumerable.call(e, t);
1141
1164
  }) : [];
1142
1165
  }
1143
- function Ot(e) {
1144
- return Object.keys(e).concat(Yn(e));
1166
+ function Tt(e) {
1167
+ return Object.keys(e).concat(zn(e));
1145
1168
  }
1146
- function yr(e, t) {
1169
+ function pr(e, t) {
1147
1170
  try {
1148
1171
  return t in e;
1149
1172
  } catch {
1150
1173
  return !1;
1151
1174
  }
1152
1175
  }
1153
- function Jn(e, t) {
1154
- return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1176
+ function Zn(e, t) {
1177
+ return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
1178
  }
1156
- function qn(e, t, r) {
1179
+ function Qn(e, t, r) {
1157
1180
  var n = {};
1158
- return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
1159
- n[i] = me(e[i], r);
1160
- }), Ot(t).forEach(function(i) {
1161
- Jn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1181
+ return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1182
+ n[i] = pe(e[i], r);
1183
+ }), Tt(t).forEach(function(i) {
1184
+ Zn(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
1162
1185
  }), n;
1163
1186
  }
1164
- function te(e, t, r) {
1165
- r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = me;
1187
+ function re(e, t, r) {
1188
+ r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = pe;
1166
1189
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1167
- return o ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : me(t, r);
1190
+ return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : pe(t, r);
1168
1191
  }
1169
- te.all = function(t, r) {
1192
+ re.all = function(t, r) {
1170
1193
  if (!Array.isArray(t))
1171
1194
  throw new Error("first argument should be an array");
1172
1195
  return t.reduce(function(n, i) {
1173
- return te(n, i, r);
1196
+ return re(n, i, r);
1174
1197
  }, {});
1175
1198
  };
1176
- var Kn = te, ei = Kn;
1177
- const ti = /* @__PURE__ */ Gn(ei);
1178
- var at = function(e, t) {
1179
- return at = 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
- }, at(e, t);
1185
- };
1186
- function Ce(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
- at(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 D = function() {
1196
- return D = 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
- }, D.apply(this, arguments);
1204
- };
1205
- function ri(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 Ve(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 Xe(e, t) {
1221
- var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : oi;
1199
+ var Yn = re, Jn = Yn;
1200
+ const qn = /* @__PURE__ */ Rn(Jn);
1201
+ function je(e, t) {
1202
+ var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ei;
1222
1203
  return i(e, {
1223
1204
  cache: r,
1224
1205
  serializer: n
1225
1206
  });
1226
1207
  }
1227
- function ni(e) {
1208
+ function Kn(e) {
1228
1209
  return e == null || typeof e == "number" || typeof e == "boolean";
1229
1210
  }
1230
- function ii(e, t, r, n) {
1231
- var i = ni(n) ? n : r(n), o = t.get(i);
1211
+ function gr(e, t, r, n) {
1212
+ var i = Kn(n) ? n : r(n), o = t.get(i);
1232
1213
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1233
1214
  }
1234
- function _r(e, t, r) {
1215
+ function br(e, t, r) {
1235
1216
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1236
1217
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1237
1218
  }
1238
- function xr(e, t, r, n, i) {
1219
+ function ft(e, t, r, n, i) {
1239
1220
  return r.bind(t, e, n, i);
1240
1221
  }
1241
- function oi(e, t) {
1242
- var r = e.length === 1 ? ii : _r;
1243
- return xr(e, this, r, t.cache.create(), t.serializer);
1222
+ function ei(e, t) {
1223
+ var r = e.length === 1 ? gr : br;
1224
+ return ft(e, this, r, t.cache.create(), t.serializer);
1244
1225
  }
1245
- function ai(e, t) {
1246
- return xr(e, this, _r, t.cache.create(), t.serializer);
1226
+ function ti(e, t) {
1227
+ return ft(e, this, br, t.cache.create(), t.serializer);
1247
1228
  }
1248
- var si = function() {
1229
+ function ri(e, t) {
1230
+ return ft(e, this, gr, t.cache.create(), t.serializer);
1231
+ }
1232
+ var ni = function() {
1249
1233
  return JSON.stringify(arguments);
1250
- }, li = (
1234
+ }, ii = (
1251
1235
  /** @class */
1252
1236
  function() {
1253
1237
  function e() {
@@ -1259,71 +1243,62 @@ var si = function() {
1259
1243
  this.cache[t] = r;
1260
1244
  }, e;
1261
1245
  }()
1262
- ), ui = {
1246
+ ), oi = {
1263
1247
  create: function() {
1264
- return new li();
1248
+ return new ii();
1265
1249
  }
1266
- }, ze = {
1267
- variadic: ai
1268
- }, Te = function() {
1269
- return Te = 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
- }, Te.apply(this, arguments);
1277
- };
1278
- var _;
1250
+ }, We = {
1251
+ variadic: ti,
1252
+ monadic: ri
1253
+ }, _;
1279
1254
  (function(e) {
1280
1255
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1281
1256
  })(_ || (_ = {}));
1282
- var S;
1257
+ var I;
1283
1258
  (function(e) {
1284
1259
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1285
- })(S || (S = {}));
1286
- var re;
1260
+ })(I || (I = {}));
1261
+ var ne;
1287
1262
  (function(e) {
1288
1263
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1289
- })(re || (re = {}));
1290
- function Lt(e) {
1291
- return e.type === S.literal;
1264
+ })(ne || (ne = {}));
1265
+ function Ht(e) {
1266
+ return e.type === I.literal;
1292
1267
  }
1293
- function hi(e) {
1294
- return e.type === S.argument;
1268
+ function ai(e) {
1269
+ return e.type === I.argument;
1295
1270
  }
1296
- function wr(e) {
1297
- return e.type === S.number;
1271
+ function vr(e) {
1272
+ return e.type === I.number;
1298
1273
  }
1299
- function Er(e) {
1300
- return e.type === S.date;
1274
+ function yr(e) {
1275
+ return e.type === I.date;
1301
1276
  }
1302
- function Nr(e) {
1303
- return e.type === S.time;
1277
+ function _r(e) {
1278
+ return e.type === I.time;
1304
1279
  }
1305
- function Sr(e) {
1306
- return e.type === S.select;
1280
+ function xr(e) {
1281
+ return e.type === I.select;
1307
1282
  }
1308
- function Ir(e) {
1309
- return e.type === S.plural;
1283
+ function wr(e) {
1284
+ return e.type === I.plural;
1310
1285
  }
1311
- function ci(e) {
1312
- return e.type === S.pound;
1286
+ function si(e) {
1287
+ return e.type === I.pound;
1313
1288
  }
1314
- function Br(e) {
1315
- return e.type === S.tag;
1289
+ function Er(e) {
1290
+ return e.type === I.tag;
1316
1291
  }
1317
- function Ar(e) {
1318
- return !!(e && typeof e == "object" && e.type === re.number);
1292
+ function Nr(e) {
1293
+ return !!(e && typeof e == "object" && e.type === ne.number);
1319
1294
  }
1320
- function st(e) {
1321
- return !!(e && typeof e == "object" && e.type === re.dateTime);
1295
+ function rt(e) {
1296
+ return !!(e && typeof e == "object" && e.type === ne.dateTime);
1322
1297
  }
1323
- var Tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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 di(e) {
1298
+ var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
1299
+ function ui(e) {
1325
1300
  var t = {};
1326
- return e.replace(fi, function(r) {
1301
+ return e.replace(li, function(r) {
1327
1302
  var n = r.length;
1328
1303
  switch (r[0]) {
1329
1304
  case "G":
@@ -1412,21 +1387,11 @@ function di(e) {
1412
1387
  return "";
1413
1388
  }), t;
1414
1389
  }
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 mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1426
- function pi(e) {
1390
+ var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1391
+ function ci(e) {
1427
1392
  if (e.length === 0)
1428
1393
  throw new Error("Number skeleton cannot be empty");
1429
- for (var t = e.split(mi).filter(function(f) {
1394
+ for (var t = e.split(hi).filter(function(f) {
1430
1395
  return f.length > 0;
1431
1396
  }), r = [], n = 0, i = t; n < i.length; n++) {
1432
1397
  var o = i[n], a = o.split("/");
@@ -1441,17 +1406,17 @@ function pi(e) {
1441
1406
  }
1442
1407
  return r;
1443
1408
  }
1444
- function gi(e) {
1409
+ function fi(e) {
1445
1410
  return e.replace(/^(.*?)-/, "");
1446
1411
  }
1447
- var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pr = /^(@+)?(\+|#+)?[rs]?$/g, vi = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1448
- function Ft(e) {
1412
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ir = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, Br = /^(0+)$/;
1413
+ function Mt(e) {
1449
1414
  var t = {};
1450
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pr, function(r, n, i) {
1415
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ir, function(r, n, i) {
1451
1416
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1452
1417
  }), t;
1453
1418
  }
1454
- function Mr(e) {
1419
+ function Ar(e) {
1455
1420
  switch (e) {
1456
1421
  case "sign-auto":
1457
1422
  return {
@@ -1491,7 +1456,7 @@ function Mr(e) {
1491
1456
  };
1492
1457
  }
1493
1458
  }
1494
- function bi(e) {
1459
+ function mi(e) {
1495
1460
  var t;
1496
1461
  if (e[0] === "E" && e[1] === "E" ? (t = {
1497
1462
  notation: "engineering"
@@ -1499,17 +1464,17 @@ function bi(e) {
1499
1464
  notation: "scientific"
1500
1465
  }, e = e.slice(1)), t) {
1501
1466
  var r = e.slice(0, 2);
1502
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Hr.test(e))
1467
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Br.test(e))
1503
1468
  throw new Error("Malformed concise eng/scientific notation");
1504
1469
  t.minimumIntegerDigits = e.length;
1505
1470
  }
1506
1471
  return t;
1507
1472
  }
1508
- function Rt(e) {
1509
- var t = {}, r = Mr(e);
1473
+ function Ot(e) {
1474
+ var t = {}, r = Ar(e);
1510
1475
  return r || t;
1511
1476
  }
1512
- function yi(e) {
1477
+ function pi(e) {
1513
1478
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1514
1479
  var i = n[r];
1515
1480
  switch (i.stem) {
@@ -1533,7 +1498,7 @@ function yi(e) {
1533
1498
  continue;
1534
1499
  case "measure-unit":
1535
1500
  case "unit":
1536
- t.style = "unit", t.unit = gi(i.options[0]);
1501
+ t.style = "unit", t.unit = fi(i.options[0]);
1537
1502
  continue;
1538
1503
  case "compact-short":
1539
1504
  case "K":
@@ -1544,13 +1509,13 @@ function yi(e) {
1544
1509
  t.notation = "compact", t.compactDisplay = "long";
1545
1510
  continue;
1546
1511
  case "scientific":
1547
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1548
- return A(A({}, l), Rt(u));
1512
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1513
+ return w(w({}, l), Ot(u));
1549
1514
  }, {}));
1550
1515
  continue;
1551
1516
  case "engineering":
1552
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1553
- return A(A({}, l), Rt(u));
1517
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1518
+ return w(w({}, l), Ot(u));
1554
1519
  }, {}));
1555
1520
  continue;
1556
1521
  case "notation-simple":
@@ -1595,7 +1560,7 @@ function yi(e) {
1595
1560
  case "integer-width":
1596
1561
  if (i.options.length > 1)
1597
1562
  throw new RangeError("integer-width stems only accept a single optional option");
1598
- i.options[0].replace(vi, function(l, u, h, d, f, p) {
1563
+ i.options[0].replace(di, function(l, u, h, d, f, p) {
1599
1564
  if (u)
1600
1565
  t.minimumIntegerDigits = h.length;
1601
1566
  else {
@@ -1608,28 +1573,28 @@ function yi(e) {
1608
1573
  });
1609
1574
  continue;
1610
1575
  }
1611
- if (Hr.test(i.stem)) {
1576
+ if (Br.test(i.stem)) {
1612
1577
  t.minimumIntegerDigits = i.stem.length;
1613
1578
  continue;
1614
1579
  }
1615
- if (Ct.test(i.stem)) {
1580
+ if (Pt.test(i.stem)) {
1616
1581
  if (i.options.length > 1)
1617
1582
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1618
- i.stem.replace(Ct, function(l, u, h, d, f, p) {
1583
+ i.stem.replace(Pt, function(l, u, h, d, f, p) {
1619
1584
  return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1620
1585
  });
1621
1586
  var o = i.options[0];
1622
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Ft(o)));
1587
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Mt(o)));
1623
1588
  continue;
1624
1589
  }
1625
- if (Pr.test(i.stem)) {
1626
- t = A(A({}, t), Ft(i.stem));
1590
+ if (Ir.test(i.stem)) {
1591
+ t = w(w({}, t), Mt(i.stem));
1627
1592
  continue;
1628
1593
  }
1629
- var a = Mr(i.stem);
1630
- a && (t = A(A({}, t), a));
1631
- var s = bi(i.stem);
1632
- s && (t = A(A({}, t), s));
1594
+ var a = Ar(i.stem);
1595
+ a && (t = w(w({}, t), a));
1596
+ var s = mi(i.stem);
1597
+ s && (t = w(w({}, t), s));
1633
1598
  }
1634
1599
  return t;
1635
1600
  }
@@ -3048,13 +3013,13 @@ var we = {
3048
3013
  "h"
3049
3014
  ]
3050
3015
  };
3051
- function _i(e, t) {
3016
+ function gi(e, t) {
3052
3017
  for (var r = "", n = 0; n < e.length; n++) {
3053
3018
  var i = e.charAt(n);
3054
3019
  if (i === "j") {
3055
3020
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3056
3021
  o++, n++;
3057
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = xi(t);
3022
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = bi(t);
3058
3023
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3059
3024
  r += l;
3060
3025
  for (; a-- > 0; )
@@ -3064,7 +3029,7 @@ function _i(e, t) {
3064
3029
  }
3065
3030
  return r;
3066
3031
  }
3067
- function xi(e) {
3032
+ function bi(e) {
3068
3033
  var t = e.hourCycle;
3069
3034
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3070
3035
  e.hourCycles && // @ts-ignore
@@ -3086,20 +3051,20 @@ function xi(e) {
3086
3051
  var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
3087
3052
  return i[0];
3088
3053
  }
3089
- var Ze, wi = new RegExp("^".concat(Tr.source, "*")), Ei = new RegExp("".concat(Tr.source, "*$"));
3054
+ var Ve, vi = new RegExp("^".concat(Sr.source, "*")), yi = new RegExp("".concat(Sr.source, "*$"));
3090
3055
  function x(e, t) {
3091
3056
  return { start: e, end: t };
3092
3057
  }
3093
- var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Si = !!String.fromCodePoint, Ii = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Pi = !!Number.isSafeInteger, Hi = Pi ? Number.isSafeInteger : function(e) {
3058
+ var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, wi = !!Object.fromEntries, Ei = !!String.prototype.codePointAt, Ni = !!String.prototype.trimStart, Si = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Bi = Ii ? Number.isSafeInteger : function(e) {
3094
3059
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3095
- }, lt = !0;
3060
+ }, nt = !0;
3096
3061
  try {
3097
- var Mi = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3098
- lt = ((Ze = Mi.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
3062
+ var Ai = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3063
+ nt = ((Ve = Ai.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3099
3064
  } catch {
3100
- lt = !1;
3065
+ nt = !1;
3101
3066
  }
3102
- var Ut = Ni ? (
3067
+ var Lt = _i ? (
3103
3068
  // Native
3104
3069
  function(t, r, n) {
3105
3070
  return t.startsWith(r, n);
@@ -3109,7 +3074,7 @@ var Ut = Ni ? (
3109
3074
  function(t, r, n) {
3110
3075
  return t.slice(n, n + r.length) === r;
3111
3076
  }
3112
- ), ut = Si ? String.fromCodePoint : (
3077
+ ), it = xi ? String.fromCodePoint : (
3113
3078
  // IE11
3114
3079
  function() {
3115
3080
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3121,9 +3086,9 @@ var Ut = Ni ? (
3121
3086
  }
3122
3087
  return n;
3123
3088
  }
3124
- ), Dt = (
3089
+ ), Ct = (
3125
3090
  // native
3126
- Ii ? Object.fromEntries : (
3091
+ wi ? Object.fromEntries : (
3127
3092
  // Ponyfill
3128
3093
  function(t) {
3129
3094
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3133,7 +3098,7 @@ var Ut = Ni ? (
3133
3098
  return r;
3134
3099
  }
3135
3100
  )
3136
- ), Or = Bi ? (
3101
+ ), Tr = Ei ? (
3137
3102
  // Native
3138
3103
  function(t, r) {
3139
3104
  return t.codePointAt(r);
@@ -3147,7 +3112,7 @@ var Ut = Ni ? (
3147
3112
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3148
3113
  }
3149
3114
  }
3150
- ), Oi = Ai ? (
3115
+ ), Ti = Ni ? (
3151
3116
  // Native
3152
3117
  function(t) {
3153
3118
  return t.trimStart();
@@ -3155,9 +3120,9 @@ var Ut = Ni ? (
3155
3120
  ) : (
3156
3121
  // Ponyfill
3157
3122
  function(t) {
3158
- return t.replace(wi, "");
3123
+ return t.replace(vi, "");
3159
3124
  }
3160
- ), Li = Ti ? (
3125
+ ), Hi = Si ? (
3161
3126
  // Native
3162
3127
  function(t) {
3163
3128
  return t.trimEnd();
@@ -3165,32 +3130,32 @@ var Ut = Ni ? (
3165
3130
  ) : (
3166
3131
  // Ponyfill
3167
3132
  function(t) {
3168
- return t.replace(Ei, "");
3133
+ return t.replace(yi, "");
3169
3134
  }
3170
3135
  );
3171
- function Lr(e, t) {
3136
+ function Hr(e, t) {
3172
3137
  return new RegExp(e, t);
3173
3138
  }
3174
- var ht;
3175
- if (lt) {
3176
- var Gt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3177
- ht = function(t, r) {
3139
+ var ot;
3140
+ if (nt) {
3141
+ var Ft = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3142
+ ot = function(t, r) {
3178
3143
  var n;
3179
- Gt.lastIndex = r;
3180
- var i = Gt.exec(t);
3144
+ Ft.lastIndex = r;
3145
+ var i = Ft.exec(t);
3181
3146
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3182
3147
  };
3183
3148
  } else
3184
- ht = function(t, r) {
3149
+ ot = function(t, r) {
3185
3150
  for (var n = []; ; ) {
3186
- var i = Or(t, r);
3187
- if (i === void 0 || Cr(i) || Ui(i))
3151
+ var i = Tr(t, r);
3152
+ if (i === void 0 || Pr(i) || Li(i))
3188
3153
  break;
3189
3154
  n.push(i), r += i >= 65536 ? 2 : 1;
3190
3155
  }
3191
- return ut.apply(void 0, n);
3156
+ return it.apply(void 0, n);
3192
3157
  };
3193
- var Ci = (
3158
+ var Pi = (
3194
3159
  /** @class */
3195
3160
  function() {
3196
3161
  function e(t, r) {
@@ -3214,14 +3179,14 @@ var Ci = (
3214
3179
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3215
3180
  var s = this.clonePosition();
3216
3181
  this.bump(), i.push({
3217
- type: S.pound,
3182
+ type: I.pound,
3218
3183
  location: x(s, this.clonePosition())
3219
3184
  });
3220
3185
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3221
3186
  if (n)
3222
3187
  break;
3223
3188
  return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
3224
- } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3189
+ } else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
3225
3190
  var a = this.parseTag(t, r);
3226
3191
  if (a.err)
3227
3192
  return a;
@@ -3242,7 +3207,7 @@ var Ci = (
3242
3207
  if (this.bumpSpace(), this.bumpIf("/>"))
3243
3208
  return {
3244
3209
  val: {
3245
- type: S.literal,
3210
+ type: I.literal,
3246
3211
  value: "<".concat(i, "/>"),
3247
3212
  location: x(n, this.clonePosition())
3248
3213
  },
@@ -3254,12 +3219,12 @@ var Ci = (
3254
3219
  return o;
3255
3220
  var a = o.val, s = this.clonePosition();
3256
3221
  if (this.bumpIf("</")) {
3257
- if (this.isEOF() || !ct(this.char()))
3222
+ if (this.isEOF() || !at(this.char()))
3258
3223
  return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
3259
3224
  var l = this.clonePosition(), u = this.parseTagName();
3260
3225
  return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3261
3226
  val: {
3262
- type: S.tag,
3227
+ type: I.tag,
3263
3228
  value: i,
3264
3229
  children: a,
3265
3230
  location: x(n, this.clonePosition())
@@ -3272,7 +3237,7 @@ var Ci = (
3272
3237
  return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
3273
3238
  }, e.prototype.parseTagName = function() {
3274
3239
  var t = this.offset();
3275
- for (this.bump(); !this.isEOF() && Ri(this.char()); )
3240
+ for (this.bump(); !this.isEOF() && Oi(this.char()); )
3276
3241
  this.bump();
3277
3242
  return this.message.slice(t, this.offset());
3278
3243
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3296,12 +3261,12 @@ var Ci = (
3296
3261
  }
3297
3262
  var l = x(n, this.clonePosition());
3298
3263
  return {
3299
- val: { type: S.literal, value: i, location: l },
3264
+ val: { type: I.literal, value: i, location: l },
3300
3265
  err: null
3301
3266
  };
3302
3267
  }, e.prototype.tryParseLeftAngleBracket = function() {
3303
3268
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3304
- !Fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3269
+ !Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
3305
3270
  }, e.prototype.tryParseQuote = function(t) {
3306
3271
  if (this.isEOF() || this.char() !== 39)
3307
3272
  return null;
@@ -3335,12 +3300,12 @@ var Ci = (
3335
3300
  r.push(n);
3336
3301
  this.bump();
3337
3302
  }
3338
- return ut.apply(void 0, r);
3303
+ return it.apply(void 0, r);
3339
3304
  }, e.prototype.tryParseUnquoted = function(t, r) {
3340
3305
  if (this.isEOF())
3341
3306
  return null;
3342
3307
  var n = this.char();
3343
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ut(n));
3308
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
3344
3309
  }, e.prototype.parseArgument = function(t, r) {
3345
3310
  var n = this.clonePosition();
3346
3311
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3356,7 +3321,7 @@ var Ci = (
3356
3321
  case 125:
3357
3322
  return this.bump(), {
3358
3323
  val: {
3359
- type: S.argument,
3324
+ type: I.argument,
3360
3325
  // value does not include the opening and closing braces.
3361
3326
  value: i,
3362
3327
  location: x(n, this.clonePosition())
@@ -3369,7 +3334,7 @@ var Ci = (
3369
3334
  return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
3370
3335
  }
3371
3336
  }, e.prototype.parseIdentifierIfPossible = function() {
3372
- var t = this.clonePosition(), r = this.offset(), n = ht(this.message, r), i = r + n.length;
3337
+ var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
3373
3338
  this.bumpTo(i);
3374
3339
  var o = this.clonePosition(), a = x(t, o);
3375
3340
  return { value: n, location: a };
@@ -3388,7 +3353,7 @@ var Ci = (
3388
3353
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3389
3354
  if (d.err)
3390
3355
  return d;
3391
- var f = Li(d.val);
3356
+ var f = Hi(d.val);
3392
3357
  if (f.length === 0)
3393
3358
  return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
3394
3359
  var p = x(h, this.clonePosition());
@@ -3397,37 +3362,37 @@ var Ci = (
3397
3362
  var g = this.tryParseArgumentClose(i);
3398
3363
  if (g.err)
3399
3364
  return g;
3400
- var v = x(i, this.clonePosition());
3401
- if (u && Ut(u?.style, "::", 0)) {
3402
- var B = Oi(u.style.slice(2));
3365
+ var b = x(i, this.clonePosition());
3366
+ if (u && Lt(u?.style, "::", 0)) {
3367
+ var A = Ti(u.style.slice(2));
3403
3368
  if (s === "number") {
3404
- var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
3369
+ var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
3405
3370
  return d.err ? d : {
3406
- val: { type: S.number, value: n, location: v, style: d.val },
3371
+ val: { type: I.number, value: n, location: b, style: d.val },
3407
3372
  err: null
3408
3373
  };
3409
3374
  } else {
3410
- if (B.length === 0)
3411
- return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
3412
- var N = B;
3413
- this.locale && (N = _i(B, this.locale));
3375
+ if (A.length === 0)
3376
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3377
+ var S = A;
3378
+ this.locale && (S = gi(A, this.locale));
3414
3379
  var f = {
3415
- type: re.dateTime,
3416
- pattern: N,
3380
+ type: ne.dateTime,
3381
+ pattern: S,
3417
3382
  location: u.styleLocation,
3418
- parsedOptions: this.shouldParseSkeletons ? di(N) : {}
3419
- }, b = s === "date" ? S.date : S.time;
3383
+ parsedOptions: this.shouldParseSkeletons ? ui(S) : {}
3384
+ }, v = s === "date" ? I.date : I.time;
3420
3385
  return {
3421
- val: { type: b, value: n, location: v, style: f },
3386
+ val: { type: v, value: n, location: b, style: f },
3422
3387
  err: null
3423
3388
  };
3424
3389
  }
3425
3390
  }
3426
3391
  return {
3427
3392
  val: {
3428
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3393
+ type: s === "number" ? I.number : s === "date" ? I.date : I.time,
3429
3394
  value: n,
3430
- location: v,
3395
+ location: b,
3431
3396
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3432
3397
  },
3433
3398
  err: null
@@ -3436,21 +3401,21 @@ var Ci = (
3436
3401
  case "plural":
3437
3402
  case "selectordinal":
3438
3403
  case "select": {
3439
- var E = this.clonePosition();
3404
+ var N = this.clonePosition();
3440
3405
  if (this.bumpSpace(), !this.bumpIf(","))
3441
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(E, Te({}, E)));
3406
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
3442
3407
  this.bumpSpace();
3443
- var w = this.parseIdentifierIfPossible(), T = 0;
3444
- if (s !== "select" && w.value === "offset") {
3408
+ var E = this.parseIdentifierIfPossible(), T = 0;
3409
+ if (s !== "select" && E.value === "offset") {
3445
3410
  if (!this.bumpIf(":"))
3446
3411
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
3447
3412
  this.bumpSpace();
3448
3413
  var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3449
3414
  if (d.err)
3450
3415
  return d;
3451
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), T = d.val;
3416
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), T = d.val;
3452
3417
  }
3453
- var X = this.tryParsePluralOrSelectOptions(t, s, r, w);
3418
+ var X = this.tryParsePluralOrSelectOptions(t, s, r, E);
3454
3419
  if (X.err)
3455
3420
  return X;
3456
3421
  var g = this.tryParseArgumentClose(i);
@@ -3459,17 +3424,17 @@ var Ci = (
3459
3424
  var Q = x(i, this.clonePosition());
3460
3425
  return s === "select" ? {
3461
3426
  val: {
3462
- type: S.select,
3427
+ type: I.select,
3463
3428
  value: n,
3464
- options: Dt(X.val),
3429
+ options: Ct(X.val),
3465
3430
  location: Q
3466
3431
  },
3467
3432
  err: null
3468
3433
  } : {
3469
3434
  val: {
3470
- type: S.plural,
3435
+ type: I.plural,
3471
3436
  value: n,
3472
- options: Dt(X.val),
3437
+ options: Ct(X.val),
3473
3438
  offset: T,
3474
3439
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3475
3440
  location: Q
@@ -3520,16 +3485,16 @@ var Ci = (
3520
3485
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3521
3486
  var n = [];
3522
3487
  try {
3523
- n = pi(t);
3488
+ n = ci(t);
3524
3489
  } catch {
3525
3490
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3526
3491
  }
3527
3492
  return {
3528
3493
  val: {
3529
- type: re.number,
3494
+ type: ne.number,
3530
3495
  tokens: n,
3531
3496
  location: r,
3532
- parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
3497
+ parsedOptions: this.shouldParseSkeletons ? pi(n) : {}
3533
3498
  },
3534
3499
  err: null
3535
3500
  };
@@ -3554,9 +3519,9 @@ var Ci = (
3554
3519
  var g = this.parseMessage(t + 1, r, n);
3555
3520
  if (g.err)
3556
3521
  return g;
3557
- var v = this.tryParseArgumentClose(p);
3558
- if (v.err)
3559
- return v;
3522
+ var b = this.tryParseArgumentClose(p);
3523
+ if (b.err)
3524
+ return b;
3560
3525
  s.push([
3561
3526
  u,
3562
3527
  {
@@ -3577,7 +3542,7 @@ var Ci = (
3577
3542
  break;
3578
3543
  }
3579
3544
  var l = x(i, this.clonePosition());
3580
- return o ? (a *= n, Hi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3545
+ return o ? (a *= n, Bi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3581
3546
  }, e.prototype.offset = function() {
3582
3547
  return this.position.offset;
3583
3548
  }, e.prototype.isEOF = function() {
@@ -3592,7 +3557,7 @@ var Ci = (
3592
3557
  var t = this.position.offset;
3593
3558
  if (t >= this.message.length)
3594
3559
  throw Error("out of bound");
3595
- var r = Or(this.message, t);
3560
+ var r = Tr(this.message, t);
3596
3561
  if (r === void 0)
3597
3562
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3598
3563
  return r;
@@ -3611,7 +3576,7 @@ var Ci = (
3611
3576
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3612
3577
  }
3613
3578
  }, e.prototype.bumpIf = function(t) {
3614
- if (Ut(this.message, t, this.offset())) {
3579
+ if (Lt(this.message, t, this.offset())) {
3615
3580
  for (var r = 0; r < t.length; r++)
3616
3581
  this.bump();
3617
3582
  return !0;
@@ -3633,7 +3598,7 @@ var Ci = (
3633
3598
  break;
3634
3599
  }
3635
3600
  }, e.prototype.bumpSpace = function() {
3636
- for (; !this.isEOF() && Cr(this.char()); )
3601
+ for (; !this.isEOF() && Pr(this.char()); )
3637
3602
  this.bump();
3638
3603
  }, e.prototype.peek = function() {
3639
3604
  if (this.isEOF())
@@ -3643,47 +3608,47 @@ var Ci = (
3643
3608
  }, e;
3644
3609
  }()
3645
3610
  );
3646
- function ct(e) {
3611
+ function at(e) {
3647
3612
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3648
3613
  }
3649
- function Fi(e) {
3650
- return ct(e) || e === 47;
3614
+ function Mi(e) {
3615
+ return at(e) || e === 47;
3651
3616
  }
3652
- function Ri(e) {
3617
+ function Oi(e) {
3653
3618
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3654
3619
  }
3655
- function Cr(e) {
3620
+ function Pr(e) {
3656
3621
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3657
3622
  }
3658
- function Ui(e) {
3623
+ function Li(e) {
3659
3624
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3660
3625
  }
3661
- function ft(e) {
3626
+ function st(e) {
3662
3627
  e.forEach(function(t) {
3663
- if (delete t.location, Sr(t) || Ir(t))
3628
+ if (delete t.location, xr(t) || wr(t))
3664
3629
  for (var r in t.options)
3665
- delete t.options[r].location, ft(t.options[r].value);
3630
+ delete t.options[r].location, st(t.options[r].value);
3666
3631
  else
3667
- wr(t) && Ar(t.style) || (Er(t) || Nr(t)) && st(t.style) ? delete t.style.location : Br(t) && ft(t.children);
3632
+ vr(t) && Nr(t.style) || (yr(t) || _r(t)) && rt(t.style) ? delete t.style.location : Er(t) && st(t.children);
3668
3633
  });
3669
3634
  }
3670
- function Di(e, t) {
3671
- t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3672
- var r = new Ci(e, t).parse();
3635
+ function Ci(e, t) {
3636
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3637
+ var r = new Pi(e, t).parse();
3673
3638
  if (r.err) {
3674
3639
  var n = SyntaxError(_[r.err.kind]);
3675
3640
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3676
3641
  }
3677
- return t?.captureLocation || ft(r.val), r.val;
3642
+ return t?.captureLocation || st(r.val), r.val;
3678
3643
  }
3679
- var ne;
3644
+ var ie;
3680
3645
  (function(e) {
3681
3646
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3682
- })(ne || (ne = {}));
3683
- var Fe = (
3647
+ })(ie || (ie = {}));
3648
+ var Le = (
3684
3649
  /** @class */
3685
3650
  function(e) {
3686
- Ce(t, e);
3651
+ k(t, e);
3687
3652
  function t(r, n, i) {
3688
3653
  var o = e.call(this, r) || this;
3689
3654
  return o.code = n, o.originalMessage = i, o;
@@ -3692,48 +3657,48 @@ var Fe = (
3692
3657
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3693
3658
  }, t;
3694
3659
  }(Error)
3695
- ), $t = (
3660
+ ), Rt = (
3696
3661
  /** @class */
3697
3662
  function(e) {
3698
- Ce(t, e);
3663
+ k(t, e);
3699
3664
  function t(r, n, i, o) {
3700
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3665
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3701
3666
  }
3702
3667
  return t;
3703
- }(Fe)
3704
- ), Gi = (
3668
+ }(Le)
3669
+ ), Fi = (
3705
3670
  /** @class */
3706
3671
  function(e) {
3707
- Ce(t, e);
3672
+ k(t, e);
3708
3673
  function t(r, n, i) {
3709
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3674
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3710
3675
  }
3711
3676
  return t;
3712
- }(Fe)
3713
- ), $i = (
3677
+ }(Le)
3678
+ ), Ri = (
3714
3679
  /** @class */
3715
3680
  function(e) {
3716
- Ce(t, e);
3681
+ k(t, e);
3717
3682
  function t(r, n) {
3718
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3683
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3719
3684
  }
3720
3685
  return t;
3721
- }(Fe)
3686
+ }(Le)
3722
3687
  ), M;
3723
3688
  (function(e) {
3724
3689
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3725
3690
  })(M || (M = {}));
3726
- function ki(e) {
3691
+ function Ui(e) {
3727
3692
  return e.length < 2 ? e : e.reduce(function(t, r) {
3728
3693
  var n = t[t.length - 1];
3729
3694
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3730
3695
  }, []);
3731
3696
  }
3732
- function ji(e) {
3697
+ function Di(e) {
3733
3698
  return typeof e == "function";
3734
3699
  }
3735
3700
  function Ie(e, t, r, n, i, o, a) {
3736
- if (e.length === 1 && Lt(e[0]))
3701
+ if (e.length === 1 && Ht(e[0]))
3737
3702
  return [
3738
3703
  {
3739
3704
  type: M.literal,
@@ -3742,14 +3707,14 @@ function Ie(e, t, r, n, i, o, a) {
3742
3707
  ];
3743
3708
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3744
3709
  var h = u[l];
3745
- if (Lt(h)) {
3710
+ if (Ht(h)) {
3746
3711
  s.push({
3747
3712
  type: M.literal,
3748
3713
  value: h.value
3749
3714
  });
3750
3715
  continue;
3751
3716
  }
3752
- if (ci(h)) {
3717
+ if (si(h)) {
3753
3718
  typeof o == "number" && s.push({
3754
3719
  type: M.literal,
3755
3720
  value: r.getNumberFormat(t).format(o)
@@ -3758,89 +3723,89 @@ function Ie(e, t, r, n, i, o, a) {
3758
3723
  }
3759
3724
  var d = h.value;
3760
3725
  if (!(i && d in i))
3761
- throw new $i(d, a);
3726
+ throw new Ri(d, a);
3762
3727
  var f = i[d];
3763
- if (hi(h)) {
3728
+ if (ai(h)) {
3764
3729
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3765
3730
  type: typeof f == "string" ? M.literal : M.object,
3766
3731
  value: f
3767
3732
  });
3768
3733
  continue;
3769
3734
  }
3770
- if (Er(h)) {
3771
- var p = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
3735
+ if (yr(h)) {
3736
+ var p = typeof h.style == "string" ? n.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
3772
3737
  s.push({
3773
3738
  type: M.literal,
3774
3739
  value: r.getDateTimeFormat(t, p).format(f)
3775
3740
  });
3776
3741
  continue;
3777
3742
  }
3778
- if (Nr(h)) {
3779
- var p = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
3743
+ if (_r(h)) {
3744
+ var p = typeof h.style == "string" ? n.time[h.style] : rt(h.style) ? h.style.parsedOptions : n.time.medium;
3780
3745
  s.push({
3781
3746
  type: M.literal,
3782
3747
  value: r.getDateTimeFormat(t, p).format(f)
3783
3748
  });
3784
3749
  continue;
3785
3750
  }
3786
- if (wr(h)) {
3787
- var p = typeof h.style == "string" ? n.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
3751
+ if (vr(h)) {
3752
+ var p = typeof h.style == "string" ? n.number[h.style] : Nr(h.style) ? h.style.parsedOptions : void 0;
3788
3753
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3789
3754
  type: M.literal,
3790
3755
  value: r.getNumberFormat(t, p).format(f)
3791
3756
  });
3792
3757
  continue;
3793
3758
  }
3794
- if (Br(h)) {
3795
- var g = h.children, v = h.value, B = i[v];
3796
- if (!ji(B))
3797
- throw new Gi(v, "function", a);
3798
- var N = Ie(g, t, r, n, i, o), b = B(N.map(function(T) {
3759
+ if (Er(h)) {
3760
+ var g = h.children, b = h.value, A = i[b];
3761
+ if (!Di(A))
3762
+ throw new Fi(b, "function", a);
3763
+ var S = Ie(g, t, r, n, i, o), v = A(S.map(function(T) {
3799
3764
  return T.value;
3800
3765
  }));
3801
- Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(T) {
3766
+ Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(T) {
3802
3767
  return {
3803
3768
  type: typeof T == "string" ? M.literal : M.object,
3804
3769
  value: T
3805
3770
  };
3806
3771
  }));
3807
3772
  }
3808
- if (Sr(h)) {
3809
- var E = h.options[f] || h.options.other;
3810
- if (!E)
3811
- throw new $t(h.value, f, Object.keys(h.options), a);
3812
- s.push.apply(s, Ie(E.value, t, r, n, i));
3773
+ if (xr(h)) {
3774
+ var N = h.options[f] || h.options.other;
3775
+ if (!N)
3776
+ throw new Rt(h.value, f, Object.keys(h.options), a);
3777
+ s.push.apply(s, Ie(N.value, t, r, n, i));
3813
3778
  continue;
3814
3779
  }
3815
- if (Ir(h)) {
3816
- var E = h.options["=".concat(f)];
3817
- if (!E) {
3780
+ if (wr(h)) {
3781
+ var N = h.options["=".concat(f)];
3782
+ if (!N) {
3818
3783
  if (!Intl.PluralRules)
3819
- throw new Fe(`Intl.PluralRules is not available in this environment.
3784
+ throw new Le(`Intl.PluralRules is not available in this environment.
3820
3785
  Try polyfilling it using "@formatjs/intl-pluralrules"
3821
- `, ne.MISSING_INTL_API, a);
3822
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3823
- E = h.options[w] || h.options.other;
3786
+ `, ie.MISSING_INTL_API, a);
3787
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3788
+ N = h.options[E] || h.options.other;
3824
3789
  }
3825
- if (!E)
3826
- throw new $t(h.value, f, Object.keys(h.options), a);
3827
- s.push.apply(s, Ie(E.value, t, r, n, i, f - (h.offset || 0)));
3790
+ if (!N)
3791
+ throw new Rt(h.value, f, Object.keys(h.options), a);
3792
+ s.push.apply(s, Ie(N.value, t, r, n, i, f - (h.offset || 0)));
3828
3793
  continue;
3829
3794
  }
3830
3795
  }
3831
- return ki(s);
3796
+ return Ui(s);
3832
3797
  }
3833
- function Wi(e, t) {
3834
- return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3835
- return r[n] = D(D({}, e[n]), t[n] || {}), r;
3798
+ function Gi(e, t) {
3799
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3800
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3836
3801
  }, {})) : e;
3837
3802
  }
3838
- function Vi(e, t) {
3803
+ function $i(e, t) {
3839
3804
  return t ? Object.keys(e).reduce(function(r, n) {
3840
- return r[n] = Wi(e[n], t[n]), r;
3841
- }, D({}, e)) : e;
3805
+ return r[n] = Gi(e[n], t[n]), r;
3806
+ }, w({}, e)) : e;
3842
3807
  }
3843
- function Qe(e) {
3808
+ function Xe(e) {
3844
3809
  return {
3845
3810
  create: function() {
3846
3811
  return {
@@ -3854,39 +3819,39 @@ function Qe(e) {
3854
3819
  }
3855
3820
  };
3856
3821
  }
3857
- function Xi(e) {
3822
+ function ki(e) {
3858
3823
  return e === void 0 && (e = {
3859
3824
  number: {},
3860
3825
  dateTime: {},
3861
3826
  pluralRules: {}
3862
3827
  }), {
3863
- getNumberFormat: Xe(function() {
3828
+ getNumberFormat: je(function() {
3864
3829
  for (var t, r = [], n = 0; n < arguments.length; n++)
3865
3830
  r[n] = arguments[n];
3866
- return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3831
+ return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3867
3832
  }, {
3868
- cache: Qe(e.number),
3869
- strategy: ze.variadic
3833
+ cache: Xe(e.number),
3834
+ strategy: We.variadic
3870
3835
  }),
3871
- getDateTimeFormat: Xe(function() {
3836
+ getDateTimeFormat: je(function() {
3872
3837
  for (var t, r = [], n = 0; n < arguments.length; n++)
3873
3838
  r[n] = arguments[n];
3874
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3839
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3875
3840
  }, {
3876
- cache: Qe(e.dateTime),
3877
- strategy: ze.variadic
3841
+ cache: Xe(e.dateTime),
3842
+ strategy: We.variadic
3878
3843
  }),
3879
- getPluralRules: Xe(function() {
3844
+ getPluralRules: je(function() {
3880
3845
  for (var t, r = [], n = 0; n < arguments.length; n++)
3881
3846
  r[n] = arguments[n];
3882
- return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3847
+ return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3883
3848
  }, {
3884
- cache: Qe(e.pluralRules),
3885
- strategy: ze.variadic
3849
+ cache: Xe(e.pluralRules),
3850
+ strategy: We.variadic
3886
3851
  })
3887
3852
  };
3888
3853
  }
3889
- var zi = (
3854
+ var ji = (
3890
3855
  /** @class */
3891
3856
  function() {
3892
3857
  function e(t, r, n, i) {
@@ -3918,13 +3883,13 @@ var zi = (
3918
3883
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3919
3884
  var a = i || {};
3920
3885
  a.formatters;
3921
- var s = ri(a, ["formatters"]);
3922
- this.ast = e.__parse(t, D(D({}, s), { locale: this.resolvedLocale }));
3886
+ var s = xn(a, ["formatters"]);
3887
+ this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
3923
3888
  } else
3924
3889
  this.ast = t;
3925
3890
  if (!Array.isArray(this.ast))
3926
3891
  throw new TypeError("A message must be provided as a String or AST.");
3927
- this.formats = Vi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3892
+ this.formats = $i(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
3928
3893
  }
3929
3894
  return Object.defineProperty(e, "defaultLocale", {
3930
3895
  get: function() {
@@ -3937,7 +3902,7 @@ var zi = (
3937
3902
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3938
3903
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3939
3904
  }
3940
- }, e.__parse = Di, e.formats = {
3905
+ }, e.__parse = Ci, e.formats = {
3941
3906
  number: {
3942
3907
  integer: {
3943
3908
  maximumFractionDigits: 0
@@ -3998,7 +3963,7 @@ var zi = (
3998
3963
  }, e;
3999
3964
  }()
4000
3965
  );
4001
- function Zi(e, t) {
3966
+ function Wi(e, t) {
4002
3967
  if (t == null)
4003
3968
  return;
4004
3969
  if (t in e)
@@ -4019,92 +3984,92 @@ function Zi(e, t) {
4019
3984
  n = void 0;
4020
3985
  return n;
4021
3986
  }
4022
- const W = {}, Qi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Fr = (e, t) => {
3987
+ const W = {}, Vi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Mr = (e, t) => {
4023
3988
  if (t == null)
4024
3989
  return;
4025
3990
  if (t in W && e in W[t])
4026
3991
  return W[t][e];
4027
- const r = Re(t);
3992
+ const r = Ce(t);
4028
3993
  for (let n = 0; n < r.length; n++) {
4029
- const i = r[n], o = Ji(i, e);
3994
+ const i = r[n], o = zi(i, e);
4030
3995
  if (o)
4031
- return Qi(e, t, o);
3996
+ return Vi(e, t, o);
4032
3997
  }
4033
3998
  };
4034
- let vt;
4035
- const be = Le({});
4036
- function Yi(e) {
4037
- return vt[e] || null;
3999
+ let dt;
4000
+ const ve = Oe({});
4001
+ function Xi(e) {
4002
+ return dt[e] || null;
4038
4003
  }
4039
- function Rr(e) {
4040
- return e in vt;
4004
+ function Or(e) {
4005
+ return e in dt;
4041
4006
  }
4042
- function Ji(e, t) {
4043
- if (!Rr(e))
4007
+ function zi(e, t) {
4008
+ if (!Or(e))
4044
4009
  return null;
4045
- const r = Yi(e);
4046
- return Zi(r, t);
4010
+ const r = Xi(e);
4011
+ return Wi(r, t);
4047
4012
  }
4048
- function qi(e) {
4013
+ function Zi(e) {
4049
4014
  if (e == null)
4050
4015
  return;
4051
- const t = Re(e);
4016
+ const t = Ce(e);
4052
4017
  for (let r = 0; r < t.length; r++) {
4053
4018
  const n = t[r];
4054
- if (Rr(n))
4019
+ if (Or(n))
4055
4020
  return n;
4056
4021
  }
4057
4022
  }
4058
- function Ur(e, ...t) {
4059
- delete W[e], be.update((r) => (r[e] = ti.all([r[e] || {}, ...t]), r));
4023
+ function Lr(e, ...t) {
4024
+ delete W[e], ve.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
4060
4025
  }
4061
- ae(
4062
- [be],
4026
+ se(
4027
+ [ve],
4063
4028
  ([e]) => Object.keys(e)
4064
4029
  );
4065
- be.subscribe((e) => vt = e);
4030
+ ve.subscribe((e) => dt = e);
4066
4031
  const Be = {};
4067
- function Ki(e, t) {
4032
+ function Qi(e, t) {
4068
4033
  Be[e].delete(t), Be[e].size === 0 && delete Be[e];
4069
4034
  }
4070
- function Dr(e) {
4035
+ function Cr(e) {
4071
4036
  return Be[e];
4072
4037
  }
4073
- function eo(e) {
4074
- return Re(e).map((t) => {
4075
- const r = Dr(t);
4038
+ function Yi(e) {
4039
+ return Ce(e).map((t) => {
4040
+ const r = Cr(t);
4076
4041
  return [t, r ? [...r] : []];
4077
4042
  }).filter(([, t]) => t.length > 0);
4078
4043
  }
4079
- function dt(e) {
4080
- return e == null ? !1 : Re(e).some(
4044
+ function lt(e) {
4045
+ return e == null ? !1 : Ce(e).some(
4081
4046
  (t) => {
4082
4047
  var r;
4083
- return (r = Dr(t)) == null ? void 0 : r.size;
4048
+ return (r = Cr(t)) == null ? void 0 : r.size;
4084
4049
  }
4085
4050
  );
4086
4051
  }
4087
- function to(e, t) {
4052
+ function Ji(e, t) {
4088
4053
  return Promise.all(
4089
- t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
4090
- ).then((n) => Ur(e, ...n));
4091
- }
4092
- const he = {};
4093
- function Gr(e) {
4094
- if (!dt(e))
4095
- return e in he ? he[e] : Promise.resolve();
4096
- const t = eo(e);
4097
- return he[e] = Promise.all(
4054
+ t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
4055
+ ).then((n) => Lr(e, ...n));
4056
+ }
4057
+ const ce = {};
4058
+ function Fr(e) {
4059
+ if (!lt(e))
4060
+ return e in ce ? ce[e] : Promise.resolve();
4061
+ const t = Yi(e);
4062
+ return ce[e] = Promise.all(
4098
4063
  t.map(
4099
- ([r, n]) => to(r, n)
4064
+ ([r, n]) => Ji(r, n)
4100
4065
  )
4101
4066
  ).then(() => {
4102
- if (dt(e))
4103
- return Gr(e);
4104
- delete he[e];
4105
- }), he[e];
4067
+ if (lt(e))
4068
+ return Fr(e);
4069
+ delete ce[e];
4070
+ }), ce[e];
4106
4071
  }
4107
- const ro = {
4072
+ const qi = {
4108
4073
  number: {
4109
4074
  scientific: { notation: "scientific" },
4110
4075
  engineering: { notation: "engineering" },
@@ -4133,135 +4098,135 @@ const ro = {
4133
4098
  timeZoneName: "short"
4134
4099
  }
4135
4100
  }
4136
- }, no = {
4101
+ }, Ki = {
4137
4102
  fallbackLocale: null,
4138
4103
  loadingDelay: 200,
4139
- formats: ro,
4104
+ formats: qi,
4140
4105
  warnOnMissingMessages: !0,
4141
4106
  handleMissingMessage: void 0,
4142
4107
  ignoreTag: !0
4143
- }, io = no;
4144
- function ie() {
4145
- return io;
4146
- }
4147
- const Ye = Le(!1);
4148
- var oo = Object.defineProperty, ao = Object.defineProperties, so = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, uo = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ho = (e, t) => {
4149
- for (var r in t || (t = {}))
4150
- lo.call(t, r) && jt(e, r, t[r]);
4151
- if (kt)
4152
- for (var r of kt(t))
4153
- uo.call(t, r) && jt(e, r, t[r]);
4108
+ }, eo = Ki;
4109
+ function oe() {
4110
+ return eo;
4111
+ }
4112
+ const ze = Oe(!1);
4113
+ var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ao = (e, t) => {
4114
+ for (var r in t)
4115
+ io.call(t, r) && Dt(e, r, t[r]);
4116
+ if (Ut)
4117
+ for (var r of Ut(t))
4118
+ oo.call(t, r) && Dt(e, r, t[r]);
4154
4119
  return e;
4155
- }, co = (e, t) => ao(e, so(t));
4156
- let mt;
4157
- const Pe = Le(null);
4158
- function Wt(e) {
4120
+ }, so = (e, t) => ro(e, no(t));
4121
+ let ut;
4122
+ const Te = Oe(null);
4123
+ function Gt(e) {
4159
4124
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4160
4125
  }
4161
- function Re(e, t = ie().fallbackLocale) {
4162
- const r = Wt(e);
4163
- return t ? [.../* @__PURE__ */ new Set([...r, ...Wt(t)])] : r;
4126
+ function Ce(e, t = oe().fallbackLocale) {
4127
+ const r = Gt(e);
4128
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4164
4129
  }
4165
4130
  function Z() {
4166
- return mt ?? void 0;
4131
+ return ut ?? void 0;
4167
4132
  }
4168
- Pe.subscribe((e) => {
4169
- mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4133
+ Te.subscribe((e) => {
4134
+ ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4170
4135
  });
4171
- const fo = (e) => {
4172
- if (e && qi(e) && dt(e)) {
4173
- const { loadingDelay: t } = ie();
4136
+ const lo = (e) => {
4137
+ if (e && Zi(e) && lt(e)) {
4138
+ const { loadingDelay: t } = oe();
4174
4139
  let r;
4175
4140
  return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
4176
- () => Ye.set(!0),
4141
+ () => ze.set(!0),
4177
4142
  t
4178
- ) : Ye.set(!0), Gr(e).then(() => {
4179
- Pe.set(e);
4143
+ ) : ze.set(!0), Fr(e).then(() => {
4144
+ Te.set(e);
4180
4145
  }).finally(() => {
4181
- clearTimeout(r), Ye.set(!1);
4146
+ clearTimeout(r), ze.set(!1);
4182
4147
  });
4183
4148
  }
4184
- return Pe.set(e);
4185
- }, se = co(ho({}, Pe), {
4186
- set: fo
4187
- }), Ue = (e) => {
4149
+ return Te.set(e);
4150
+ }, le = so(ao({}, Te), {
4151
+ set: lo
4152
+ }), Fe = (e) => {
4188
4153
  const t = /* @__PURE__ */ Object.create(null);
4189
4154
  return (n) => {
4190
4155
  const i = JSON.stringify(n);
4191
4156
  return i in t ? t[i] : t[i] = e(n);
4192
4157
  };
4193
4158
  };
4194
- var mo = Object.defineProperty, He = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4159
+ var uo = Object.defineProperty, He = Object.getOwnPropertySymbols, Rr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4195
4160
  for (var r in t || (t = {}))
4196
- $r.call(t, r) && Vt(e, r, t[r]);
4161
+ Rr.call(t, r) && $t(e, r, t[r]);
4197
4162
  if (He)
4198
4163
  for (var r of He(t))
4199
- kr.call(t, r) && Vt(e, r, t[r]);
4164
+ Ur.call(t, r) && $t(e, r, t[r]);
4200
4165
  return e;
4201
- }, le = (e, t) => {
4166
+ }, ue = (e, t) => {
4202
4167
  var r = {};
4203
4168
  for (var n in e)
4204
- $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4169
+ Rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4205
4170
  if (e != null && He)
4206
4171
  for (var n of He(e))
4207
- t.indexOf(n) < 0 && kr.call(e, n) && (r[n] = e[n]);
4172
+ t.indexOf(n) < 0 && Ur.call(e, n) && (r[n] = e[n]);
4208
4173
  return r;
4209
4174
  };
4210
- const pe = (e, t) => {
4211
- const { formats: r } = ie();
4175
+ const ge = (e, t) => {
4176
+ const { formats: r } = oe();
4212
4177
  if (e in r && t in r[e])
4213
4178
  return r[e][t];
4214
4179
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4215
- }, po = Ue(
4180
+ }, ho = Fe(
4216
4181
  (e) => {
4217
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4182
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4218
4183
  if (r == null)
4219
4184
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4220
- return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4185
+ return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
4221
4186
  }
4222
- ), go = Ue(
4187
+ ), co = Fe(
4223
4188
  (e) => {
4224
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4189
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4225
4190
  if (r == null)
4226
4191
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4227
- return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4192
+ return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
4228
4193
  }
4229
- ), vo = Ue(
4194
+ ), fo = Fe(
4230
4195
  (e) => {
4231
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4196
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4232
4197
  if (r == null)
4233
4198
  throw new Error(
4234
4199
  '[svelte-i18n] A "locale" must be set to format time values'
4235
4200
  );
4236
- return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4201
+ return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
4237
4202
  }
4238
- ), bo = (e = {}) => {
4203
+ ), mo = (e = {}) => {
4239
4204
  var t = e, {
4240
4205
  locale: r = Z()
4241
- } = t, n = le(t, [
4206
+ } = t, n = ue(t, [
4242
4207
  "locale"
4243
4208
  ]);
4244
- return po(bt({ locale: r }, n));
4245
- }, yo = (e = {}) => {
4209
+ return ho(mt({ locale: r }, n));
4210
+ }, po = (e = {}) => {
4246
4211
  var t = e, {
4247
4212
  locale: r = Z()
4248
- } = t, n = le(t, [
4213
+ } = t, n = ue(t, [
4249
4214
  "locale"
4250
4215
  ]);
4251
- return go(bt({ locale: r }, n));
4252
- }, _o = (e = {}) => {
4216
+ return co(mt({ locale: r }, n));
4217
+ }, go = (e = {}) => {
4253
4218
  var t = e, {
4254
4219
  locale: r = Z()
4255
- } = t, n = le(t, [
4220
+ } = t, n = ue(t, [
4256
4221
  "locale"
4257
4222
  ]);
4258
- return vo(bt({ locale: r }, n));
4259
- }, xo = Ue(
4223
+ return fo(mt({ locale: r }, n));
4224
+ }, bo = Fe(
4260
4225
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4261
- (e, t = Z()) => new zi(e, t, ie().formats, {
4262
- ignoreTag: ie().ignoreTag
4226
+ (e, t = Z()) => new ji(e, t, oe().formats, {
4227
+ ignoreTag: oe().ignoreTag
4263
4228
  })
4264
- ), wo = (e, t = {}) => {
4229
+ ), vo = (e, t = {}) => {
4265
4230
  var r, n, i, o;
4266
4231
  let a = t;
4267
4232
  typeof e == "object" && (a = e, e = a.id);
@@ -4274,9 +4239,9 @@ const pe = (e, t) => {
4274
4239
  throw new Error(
4275
4240
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4276
4241
  );
4277
- let h = Fr(e, l);
4242
+ let h = Mr(e, l);
4278
4243
  if (!h)
4279
- h = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4244
+ h = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4280
4245
  else if (typeof h != "string")
4281
4246
  return console.warn(
4282
4247
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4285,7 +4250,7 @@ const pe = (e, t) => {
4285
4250
  return h;
4286
4251
  let d = h;
4287
4252
  try {
4288
- d = xo(h, l).format(s);
4253
+ d = bo(h, l).format(s);
4289
4254
  } catch (f) {
4290
4255
  f instanceof Error && console.warn(
4291
4256
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4293,20 +4258,20 @@ const pe = (e, t) => {
4293
4258
  );
4294
4259
  }
4295
4260
  return d;
4296
- }, Eo = (e, t) => _o(t).format(e), No = (e, t) => yo(t).format(e), So = (e, t) => bo(t).format(e), Io = (e, t = Z()) => Fr(e, t), Bo = ae([se, be], () => wo);
4297
- ae([se], () => Eo);
4298
- ae([se], () => No);
4299
- ae([se], () => So);
4300
- ae([se, be], () => Io);
4301
- window.emWidgets = { topic: Un };
4302
- const Xt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4303
- function zt(e, t) {
4304
- Ur(e, t);
4305
- }
4306
- function Ao(e) {
4307
- se.set(e);
4308
- }
4309
- const Zt = {
4261
+ }, yo = (e, t) => go(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), wo = (e, t = Z()) => Mr(e, t), Eo = se([le, ve], () => vo);
4262
+ se([le], () => yo);
4263
+ se([le], () => _o);
4264
+ se([le], () => xo);
4265
+ se([le, ve], () => wo);
4266
+ window.emWidgets = { topic: Cn };
4267
+ const kt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4268
+ function jt(e, t) {
4269
+ Lr(e, t);
4270
+ }
4271
+ function No(e) {
4272
+ le.set(e);
4273
+ }
4274
+ const Wt = {
4310
4275
  en: {
4311
4276
  secondaryMenuTitle: "Categories"
4312
4277
  },
@@ -4341,13 +4306,13 @@ const Zt = {
4341
4306
  secondaryMenuTitle: "Categories"
4342
4307
  }
4343
4308
  };
4344
- function To(e, t) {
4309
+ function So(e, t) {
4345
4310
  if (e) {
4346
4311
  const r = document.createElement("style");
4347
4312
  r.innerHTML = t, e.appendChild(r);
4348
4313
  }
4349
4314
  }
4350
- function Po(e, t) {
4315
+ function Io(e, t) {
4351
4316
  const r = new URL(t);
4352
4317
  fetch(r.href).then((n) => n.text()).then((n) => {
4353
4318
  const i = document.createElement("style");
@@ -4356,7 +4321,7 @@ function Po(e, t) {
4356
4321
  console.error("There was an error while trying to load client styling from URL", n);
4357
4322
  });
4358
4323
  }
4359
- function Ho(e, t, r) {
4324
+ function Bo(e, t, r) {
4360
4325
  if (window.emMessageBus) {
4361
4326
  const n = document.createElement("style");
4362
4327
  window.emMessageBus.subscribe(t, (i) => {
@@ -4364,34 +4329,34 @@ function Ho(e, t, r) {
4364
4329
  });
4365
4330
  }
4366
4331
  }
4367
- function Mo(e) {
4368
- an(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
4332
+ function Ao(e) {
4333
+ tn(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #22B04E);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
4369
4334
  }
4370
- function Qt(e, t, r) {
4335
+ function Vt(e, t, r) {
4371
4336
  const n = e.slice();
4372
4337
  return n[44] = t[r], n[46] = r, n;
4373
4338
  }
4374
- function Yt(e, t, r) {
4339
+ function Xt(e, t, r) {
4375
4340
  const n = e.slice();
4376
4341
  return n[44] = t[r], n;
4377
4342
  }
4378
- const Oo = (e) => ({}), Jt = (e) => ({});
4379
- function qt(e) {
4343
+ const To = (e) => ({}), zt = (e) => ({});
4344
+ function Zt(e) {
4380
4345
  let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
4381
- e[6] && Kt(e), u = Ae(
4346
+ e[6] && Qt(e), u = Ae(
4382
4347
  /*primaryMenuSpliced*/
4383
4348
  e[7]
4384
4349
  ), h = [];
4385
4350
  for (let f = 0; f < u.length; f += 1)
4386
- h[f] = nr(Qt(e, u, f));
4351
+ h[f] = Kt(Vt(e, u, f));
4387
4352
  let d = !/*navigationBarSimple*/
4388
- e[6] && ir(e);
4353
+ e[6] && er(e);
4389
4354
  return {
4390
4355
  c() {
4391
- t = I("div"), l && l.c(), r = k(), n = I("div");
4356
+ t = B("div"), l && l.c(), r = $(), n = B("div");
4392
4357
  for (let f = 0; f < h.length; f += 1)
4393
4358
  h[f].c();
4394
- i = k(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
4359
+ i = $(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
4395
4360
  (e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4396
4361
  (e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
4397
4362
  (e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
@@ -4405,10 +4370,10 @@ function qt(e) {
4405
4370
  },
4406
4371
  p(f, p) {
4407
4372
  if (/*navigationBarSimple*/
4408
- f[6] ? l && (hr(), de(l, 1, 1, () => {
4373
+ f[6] ? l && (ar(), me(l, 1, 1, () => {
4409
4374
  l = null;
4410
- }), cr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4411
- 64 && V(l, 1)) : (l = Kt(f), l.c(), V(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
4375
+ }), sr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
4376
+ 64 && V(l, 1)) : (l = Qt(f), l.c(), V(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
4412
4377
  32928) {
4413
4378
  u = Ae(
4414
4379
  /*primaryMenuSpliced*/
@@ -4416,15 +4381,15 @@ function qt(e) {
4416
4381
  );
4417
4382
  let g;
4418
4383
  for (g = 0; g < u.length; g += 1) {
4419
- const v = Qt(f, u, g);
4420
- h[g] ? h[g].p(v, p) : (h[g] = nr(v), h[g].c(), h[g].m(n, i));
4384
+ const b = Vt(f, u, g);
4385
+ h[g] ? h[g].p(b, p) : (h[g] = Kt(b), h[g].c(), h[g].m(n, i));
4421
4386
  }
4422
4387
  for (; g < h.length; g += 1)
4423
4388
  h[g].d(1);
4424
4389
  h.length = u.length;
4425
4390
  }
4426
4391
  /*navigationBarSimple*/
4427
- f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = ir(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
4392
+ f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = er(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
4428
4393
  80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
4429
4394
  (f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
4430
4395
  (f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
@@ -4436,14 +4401,14 @@ function qt(e) {
4436
4401
  s || (V(l), s = !0);
4437
4402
  },
4438
4403
  o(f) {
4439
- de(l), s = !1;
4404
+ me(l), s = !1;
4440
4405
  },
4441
4406
  d(f) {
4442
- f && O(t), l && l.d(), ur(h, f), d && d.d();
4407
+ f && O(t), l && l.d(), or(h, f), d && d.d();
4443
4408
  }
4444
4409
  };
4445
4410
  }
4446
- function Kt(e) {
4411
+ function Qt(e) {
4447
4412
  let t, r, n, i, o = (
4448
4413
  /*secondarymenutitle*/
4449
4414
  (e[0] || /*$_*/
@@ -4452,95 +4417,95 @@ function Kt(e) {
4452
4417
  const p = (
4453
4418
  /*#slots*/
4454
4419
  e[27].close
4455
- ), g = tn(
4420
+ ), g = Jr(
4456
4421
  p,
4457
4422
  e,
4458
4423
  /*$$scope*/
4459
4424
  e[26],
4460
- Jt
4461
- ), v = g || Lo();
4462
- let B = Ae(
4425
+ zt
4426
+ ), b = g || Ho();
4427
+ let A = Ae(
4463
4428
  /*secondaryMenu*/
4464
4429
  e[8]
4465
- ), N = [];
4466
- for (let b = 0; b < B.length; b += 1)
4467
- N[b] = tr(Yt(e, B, b));
4430
+ ), S = [];
4431
+ for (let v = 0; v < A.length; v += 1)
4432
+ S[v] = Jt(Xt(e, A, v));
4468
4433
  return {
4469
4434
  c() {
4470
- t = I("div"), r = I("span"), v && v.c(), n = k(), i = I("h3"), a = ge(o), s = k(), l = I("div");
4471
- for (let b = 0; b < N.length; b += 1)
4472
- N[b].c();
4435
+ t = B("div"), r = B("span"), b.c(), n = $(), i = B("h3"), a = be(o), s = $(), l = B("div");
4436
+ for (let v = 0; v < S.length; v += 1)
4437
+ S[v].c();
4473
4438
  c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
4474
4439
  (e[4] ? "NavigationWindowOpened" : ""));
4475
4440
  },
4476
- m(b, E) {
4477
- L(b, t, E), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
4478
- for (let w = 0; w < N.length; w += 1)
4479
- N[w] && N[w].m(l, null);
4480
- h = !0, d || (f = Me(
4441
+ m(v, N) {
4442
+ L(v, t, N), y(t, r), b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
4443
+ for (let E = 0; E < S.length; E += 1)
4444
+ S[E] && S[E].m(l, null);
4445
+ h = !0, d || (f = Pe(
4481
4446
  r,
4482
4447
  "click",
4483
4448
  /*navigationWindowToggle*/
4484
4449
  e[14]
4485
4450
  ), d = !0);
4486
4451
  },
4487
- p(b, E) {
4488
- if (g && g.p && (!h || E[0] & /*$$scope*/
4489
- 67108864) && nn(
4452
+ p(v, N) {
4453
+ if (g && g.p && (!h || N[0] & /*$$scope*/
4454
+ 67108864) && Kr(
4490
4455
  g,
4491
4456
  p,
4492
- b,
4457
+ v,
4493
4458
  /*$$scope*/
4494
- b[26],
4495
- h ? rn(
4459
+ v[26],
4460
+ h ? qr(
4496
4461
  p,
4497
4462
  /*$$scope*/
4498
- b[26],
4499
- E,
4500
- Oo
4501
- ) : on(
4463
+ v[26],
4464
+ N,
4465
+ To
4466
+ ) : en(
4502
4467
  /*$$scope*/
4503
- b[26]
4468
+ v[26]
4504
4469
  ),
4505
- Jt
4506
- ), (!h || E[0] & /*secondarymenutitle, $_*/
4470
+ zt
4471
+ ), (!h || N[0] & /*secondarymenutitle, $_*/
4507
4472
  4097) && o !== (o = /*secondarymenutitle*/
4508
- (b[0] || /*$_*/
4509
- b[12]("secondaryMenuTitle")) + "") && gt(a, o), E[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4473
+ (v[0] || /*$_*/
4474
+ v[12]("secondaryMenuTitle")) + "") && ct(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
4510
4475
  33056) {
4511
- B = Ae(
4476
+ A = Ae(
4512
4477
  /*secondaryMenu*/
4513
- b[8]
4478
+ v[8]
4514
4479
  );
4515
- let w;
4516
- for (w = 0; w < B.length; w += 1) {
4517
- const T = Yt(b, B, w);
4518
- N[w] ? N[w].p(T, E) : (N[w] = tr(T), N[w].c(), N[w].m(l, null));
4480
+ let E;
4481
+ for (E = 0; E < A.length; E += 1) {
4482
+ const T = Xt(v, A, E);
4483
+ S[E] ? S[E].p(T, N) : (S[E] = Jt(T), S[E].c(), S[E].m(l, null));
4519
4484
  }
4520
- for (; w < N.length; w += 1)
4521
- N[w].d(1);
4522
- N.length = B.length;
4485
+ for (; E < S.length; E += 1)
4486
+ S[E].d(1);
4487
+ S.length = A.length;
4523
4488
  }
4524
- (!h || E[0] & /*navigationWindowOpened*/
4489
+ (!h || N[0] & /*navigationWindowOpened*/
4525
4490
  16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
4526
- (b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
4491
+ (v[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
4527
4492
  },
4528
- i(b) {
4529
- h || (V(v, b), h = !0);
4493
+ i(v) {
4494
+ h || (V(b, v), h = !0);
4530
4495
  },
4531
- o(b) {
4532
- de(v, b), h = !1;
4496
+ o(v) {
4497
+ me(b, v), h = !1;
4533
4498
  },
4534
- d(b) {
4535
- b && O(t), v && v.d(b), ur(N, b), d = !1, f();
4499
+ d(v) {
4500
+ v && O(t), b.d(v), or(S, v), d = !1, f();
4536
4501
  }
4537
4502
  };
4538
4503
  }
4539
- function Lo(e) {
4504
+ function Ho(e) {
4540
4505
  let t, r;
4541
4506
  return {
4542
4507
  c() {
4543
- 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");
4508
+ 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");
4544
4509
  },
4545
4510
  m(n, i) {
4546
4511
  L(n, t, i), y(t, r);
@@ -4551,11 +4516,11 @@ function Lo(e) {
4551
4516
  }
4552
4517
  };
4553
4518
  }
4554
- function er(e) {
4519
+ function Yt(e) {
4555
4520
  let t, r, n, i;
4556
4521
  return {
4557
4522
  c() {
4558
- t = I("div"), r = I("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), ee(r.src, n = /*item*/
4523
+ t = B("div"), r = B("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
4559
4524
  e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
4560
4525
  e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
4561
4526
  },
@@ -4564,7 +4529,7 @@ function er(e) {
4564
4529
  },
4565
4530
  p(o, a) {
4566
4531
  a[0] & /*secondaryMenu*/
4567
- 256 && !ee(r.src, n = /*item*/
4532
+ 256 && !te(r.src, n = /*item*/
4568
4533
  o[44].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
4569
4534
  256 && i !== (i = /*item*/
4570
4535
  o[44].label) && c(r, "alt", i);
@@ -4574,13 +4539,13 @@ function er(e) {
4574
4539
  }
4575
4540
  };
4576
4541
  }
4577
- function tr(e) {
4542
+ function Jt(e) {
4578
4543
  let t, r, n, i = (
4579
4544
  /*item*/
4580
4545
  e[44].label + ""
4581
4546
  ), o, a, s, l, u, h = (
4582
4547
  /*item*/
4583
- e[44].img && er(e)
4548
+ e[44].img && Yt(e)
4584
4549
  );
4585
4550
  function d() {
4586
4551
  return (
@@ -4593,18 +4558,18 @@ function tr(e) {
4593
4558
  }
4594
4559
  return {
4595
4560
  c() {
4596
- t = I("div"), h && h.c(), r = k(), n = I("p"), o = ge(i), a = k(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4561
+ t = B("div"), h && h.c(), r = $(), n = B("p"), o = be(i), a = $(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4597
4562
  (e[5] === /*item*/
4598
4563
  e[44].id ? "ActiveItem" : ""));
4599
4564
  },
4600
4565
  m(f, p) {
4601
- L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Me(t, "click", d), l = !0);
4566
+ L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Pe(t, "click", d), l = !0);
4602
4567
  },
4603
4568
  p(f, p) {
4604
4569
  e = f, /*item*/
4605
- e[44].img ? h ? h.p(e, p) : (h = er(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
4570
+ e[44].img ? h ? h.p(e, p) : (h = Yt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
4606
4571
  256 && i !== (i = /*item*/
4607
- e[44].label + "") && gt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4572
+ e[44].label + "") && ct(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
4608
4573
  288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
4609
4574
  (e[5] === /*item*/
4610
4575
  e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
@@ -4614,11 +4579,11 @@ function tr(e) {
4614
4579
  }
4615
4580
  };
4616
4581
  }
4617
- function rr(e) {
4582
+ function qt(e) {
4618
4583
  let t, r, n, i;
4619
4584
  return {
4620
4585
  c() {
4621
- t = I("div"), r = I("img"), c(r, "class", "NavigationPrimaryItemImg"), ee(r.src, n = /*item*/
4586
+ t = B("div"), r = B("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
4622
4587
  e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
4623
4588
  e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
4624
4589
  },
@@ -4627,7 +4592,7 @@ function rr(e) {
4627
4592
  },
4628
4593
  p(o, a) {
4629
4594
  a[0] & /*primaryMenuSpliced*/
4630
- 128 && !ee(r.src, n = /*item*/
4595
+ 128 && !te(r.src, n = /*item*/
4631
4596
  o[44].img) && c(r, "src", n), a[0] & /*primaryMenuSpliced*/
4632
4597
  128 && i !== (i = /*item*/
4633
4598
  o[44].label) && c(r, "alt", i);
@@ -4637,13 +4602,13 @@ function rr(e) {
4637
4602
  }
4638
4603
  };
4639
4604
  }
4640
- function nr(e) {
4605
+ function Kt(e) {
4641
4606
  let t, r, n, i = (
4642
4607
  /*item*/
4643
4608
  e[44].label + ""
4644
4609
  ), o, a, s, l, u = (
4645
4610
  /*item*/
4646
- e[44].img && rr(e)
4611
+ e[44].img && qt(e)
4647
4612
  );
4648
4613
  function h() {
4649
4614
  return (
@@ -4656,19 +4621,19 @@ function nr(e) {
4656
4621
  }
4657
4622
  return {
4658
4623
  c() {
4659
- t = I("div"), u && u.c(), r = k(), n = I("p"), o = ge(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4624
+ t = B("div"), u && u.c(), r = $(), n = B("p"), o = be(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4660
4625
  e[46] + " " + /*activeMenuItemId*/
4661
4626
  (e[5] === /*item*/
4662
4627
  e[44].id ? "ActiveItem" : ""));
4663
4628
  },
4664
4629
  m(d, f) {
4665
- L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Me(t, "click", h), s = !0);
4630
+ L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Pe(t, "click", h), s = !0);
4666
4631
  },
4667
4632
  p(d, f) {
4668
4633
  e = d, /*item*/
4669
- e[44].img ? u ? u.p(e, f) : (u = rr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
4634
+ e[44].img ? u ? u.p(e, f) : (u = qt(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
4670
4635
  128 && i !== (i = /*item*/
4671
- e[44].label + "") && gt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
4636
+ e[44].label + "") && ct(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
4672
4637
  160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
4673
4638
  e[46] + " " + /*activeMenuItemId*/
4674
4639
  (e[5] === /*item*/
@@ -4679,22 +4644,22 @@ function nr(e) {
4679
4644
  }
4680
4645
  };
4681
4646
  }
4682
- function ir(e) {
4647
+ function er(e) {
4683
4648
  let t, r, n, i, o;
4684
4649
  function a(u, h) {
4685
4650
  return (
4686
4651
  /*isFlowerMenu*/
4687
- u[11] ? Co : Fo
4652
+ u[11] ? Po : Mo
4688
4653
  );
4689
4654
  }
4690
4655
  let s = a(e), l = s(e);
4691
4656
  return {
4692
4657
  c() {
4693
- t = I("button"), r = I("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
4658
+ t = B("button"), r = B("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
4694
4659
  (e[4] ? "NavigationButtonActive" : ""));
4695
4660
  },
4696
4661
  m(u, h) {
4697
- L(u, t, h), y(t, r), l.m(r, null), i || (o = Me(
4662
+ L(u, t, h), y(t, r), l.m(r, null), i || (o = Pe(
4698
4663
  t,
4699
4664
  "click",
4700
4665
  /*navigationWindowToggle*/
@@ -4711,11 +4676,11 @@ function ir(e) {
4711
4676
  }
4712
4677
  };
4713
4678
  }
4714
- function Co(e) {
4679
+ function Po(e) {
4715
4680
  let t, r, n, i, o, a, s;
4716
4681
  return {
4717
4682
  c() {
4718
- 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*/
4683
+ t = B("div"), r = B("span"), n = $(), i = B("span"), o = $(), a = B("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
4719
4684
  (e[4] ? "labelMiddleIconActive" : ""));
4720
4685
  },
4721
4686
  m(l, u) {
@@ -4731,18 +4696,18 @@ function Co(e) {
4731
4696
  }
4732
4697
  };
4733
4698
  }
4734
- function Fo(e) {
4699
+ function Mo(e) {
4735
4700
  let t;
4736
4701
  function r(o, a) {
4737
4702
  return (
4738
4703
  /*imageIconUrl*/
4739
- o[9] ? Uo : Ro
4704
+ o[9] ? Lo : Oo
4740
4705
  );
4741
4706
  }
4742
4707
  let n = r(e), i = n(e);
4743
4708
  return {
4744
4709
  c() {
4745
- i.c(), t = un();
4710
+ i.c(), t = on();
4746
4711
  },
4747
4712
  m(o, a) {
4748
4713
  i.m(o, a), L(o, t, a);
@@ -4755,26 +4720,26 @@ function Fo(e) {
4755
4720
  }
4756
4721
  };
4757
4722
  }
4758
- function Ro(e) {
4723
+ function Oo(e) {
4759
4724
  let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
4760
4725
  return {
4761
4726
  c() {
4762
- t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), u = H("g"), h = 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(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
4727
+ t = P("svg"), r = P("g"), n = P("g"), i = P("rect"), o = P("rect"), a = P("g"), s = P("rect"), l = P("rect"), u = P("g"), h = 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(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
4763
4728
  },
4764
- m(v, B) {
4765
- L(v, t, B), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
4729
+ m(b, A) {
4730
+ L(b, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
4766
4731
  },
4767
4732
  p: R,
4768
- d(v) {
4769
- v && O(t);
4733
+ d(b) {
4734
+ b && O(t);
4770
4735
  }
4771
4736
  };
4772
4737
  }
4773
- function Uo(e) {
4738
+ function Lo(e) {
4774
4739
  let t, r;
4775
4740
  return {
4776
4741
  c() {
4777
- t = I("img"), ee(t.src, r = /*imageIconUrl*/
4742
+ t = B("img"), te(t.src, r = /*imageIconUrl*/
4778
4743
  e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
4779
4744
  t,
4780
4745
  "alt",
@@ -4787,7 +4752,7 @@ function Uo(e) {
4787
4752
  },
4788
4753
  p(n, i) {
4789
4754
  i[0] & /*imageIconUrl*/
4790
- 512 && !ee(t.src, r = /*imageIconUrl*/
4755
+ 512 && !te(t.src, r = /*imageIconUrl*/
4791
4756
  n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
4792
4757
  512 && c(
4793
4758
  t,
@@ -4801,14 +4766,14 @@ function Uo(e) {
4801
4766
  }
4802
4767
  };
4803
4768
  }
4804
- function Do(e) {
4769
+ function Co(e) {
4805
4770
  let t, r, n, i = !/*isLoading*/
4806
4771
  e[1] && /*isMobile*/
4807
4772
  e[13] && /*showNavigation*/
4808
- e[3] && qt(e);
4773
+ e[3] && Zt(e);
4809
4774
  return {
4810
4775
  c() {
4811
- t = I("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
4776
+ t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
4812
4777
  (e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4813
4778
  (e[10] ? "NavigationWrapperLandScape" : ""));
4814
4779
  },
@@ -4820,9 +4785,9 @@ function Do(e) {
4820
4785
  o[1] && /*isMobile*/
4821
4786
  o[13] && /*showNavigation*/
4822
4787
  o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
4823
- 10 && V(i, 1)) : (i = qt(o), i.c(), V(i, 1), i.m(t, null)) : i && (hr(), de(i, 1, 1, () => {
4788
+ 10 && V(i, 1)) : (i = Zt(o), i.c(), V(i, 1), i.m(t, null)) : i && (ar(), me(i, 1, 1, () => {
4824
4789
  i = null;
4825
- }), cr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4790
+ }), sr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
4826
4791
  3072 && r !== (r = /*isFlowerMenu*/
4827
4792
  (o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
4828
4793
  (o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
@@ -4831,30 +4796,30 @@ function Do(e) {
4831
4796
  n || (V(i), n = !0);
4832
4797
  },
4833
4798
  o(o) {
4834
- de(i), n = !1;
4799
+ me(i), n = !1;
4835
4800
  },
4836
4801
  d(o) {
4837
4802
  o && O(t), i && i.d(), e[30](null);
4838
4803
  }
4839
4804
  };
4840
4805
  }
4841
- function Go(e, t, r) {
4806
+ function Fo(e, t, r) {
4842
4807
  let n;
4843
- en(e, Bo, (m) => r(12, n = m));
4844
- let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: B = "false" } = t, N = window.navigator.userAgent, b = Xt(N) !== "PC", E = !0, w = !1, T = !1, X = "", Q = !1, De = [], ye = [], j = [], G, yt = "", Ge = {}, _t, $e = !1;
4845
- const jr = () => {
4846
- fetch(g).then((P) => P.json()).then((P) => {
4847
- Object.keys(P).forEach((C) => {
4848
- zt(C, P[C]);
4808
+ Yr(e, Eo, (m) => r(12, n = m));
4809
+ let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: b = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, v = kt(S) !== "PC", N = !0, E = !1, T = !1, X = "", Q = !1, Re = [], ye = [], j = [], D, pt = "", Ue = {}, gt, De = !1;
4810
+ const Dr = () => {
4811
+ fetch(g).then((H) => H.json()).then((H) => {
4812
+ Object.keys(H).forEach((C) => {
4813
+ jt(C, H[C]);
4849
4814
  });
4850
- }).catch((P) => {
4851
- console.log(P);
4815
+ }).catch((H) => {
4816
+ console.log(H);
4852
4817
  });
4853
4818
  };
4854
- Object.keys(Zt).forEach((m) => {
4855
- zt(m, Zt[m]);
4819
+ Object.keys(Wt).forEach((m) => {
4820
+ jt(m, Wt[m]);
4856
4821
  });
4857
- const xt = (m) => {
4822
+ const bt = (m) => {
4858
4823
  if (m.data)
4859
4824
  switch (m.data.type) {
4860
4825
  case "PlayerAccountMenuActive":
@@ -4867,9 +4832,9 @@ function Go(e, t, r) {
4867
4832
  r(4, T = !1);
4868
4833
  break;
4869
4834
  }
4870
- }, Wr = () => {
4871
- r(11, $e = B.toLowerCase() === "true");
4872
- }, Vr = () => {
4835
+ }, Gr = () => {
4836
+ r(11, De = A.toLowerCase() === "true");
4837
+ }, $r = () => {
4873
4838
  r(4, T = !T), window.postMessage(
4874
4839
  {
4875
4840
  type: "MobileBottomNav",
@@ -4877,33 +4842,33 @@ function Go(e, t, r) {
4877
4842
  },
4878
4843
  window.location.href
4879
4844
  );
4880
- }, Xr = (m) => {
4881
- r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), v && wt();
4882
- }, zr = () => {
4883
- ke(), r(1, E = !0);
4884
- let m = Xt(N), P = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
4885
- P.searchParams.append("userRoles", h), m && P.searchParams.append("device", "mtWeb"), fetch(P.href).then((C) => C.json()).then((C) => {
4886
- De = [], r(8, j = []), r(3, w = C.length > 0), C.forEach((U) => {
4887
- Ge[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, yt = U?.img), r(8, j = U.children)) : De.push(U);
4888
- }), r(6, Q = j.length == 0), j.length >= 5 && $e && r(8, j = j.splice(0, 5)), Xr(De), r(1, E = !1);
4845
+ }, kr = (m) => {
4846
+ r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), b && vt();
4847
+ }, jr = () => {
4848
+ Ge(), r(1, N = !0);
4849
+ let m = kt(S), H = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
4850
+ H.searchParams.append("userRoles", h), m && H.searchParams.append("device", "mtWeb"), fetch(H.href).then((C) => C.json()).then((C) => {
4851
+ Re = [], r(8, j = []), r(3, E = C.length > 0), C.forEach((U) => {
4852
+ Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, pt = U?.img), r(8, j = U.children)) : Re.push(U);
4853
+ }), r(6, Q = j.length == 0), j.length >= 5 && De && r(8, j = j.splice(0, 5)), kr(Re), r(1, N = !1);
4889
4854
  }).catch((C) => {
4890
- r(1, E = !1), console.error(C);
4855
+ r(1, N = !1), console.error(C);
4891
4856
  });
4892
- }, wt = () => {
4893
- const P = ye.concat(j).find((C) => C.path.includes(v));
4894
- P && r(5, X = P.id);
4895
- }, ue = (m, P, C, U) => {
4896
- Ge[U] ? window.postMessage(
4857
+ }, vt = () => {
4858
+ const H = ye.concat(j).find((C) => C.path.includes(b));
4859
+ H && r(5, X = H.id);
4860
+ }, he = (m, H, C, U) => {
4861
+ Ue[U] ? window.postMessage(
4897
4862
  {
4898
4863
  type: "MobileBottomNavigationEvent",
4899
- event: Ge[U]
4864
+ event: Ue[U]
4900
4865
  },
4901
4866
  window.location.href
4902
4867
  ) : window.postMessage(
4903
4868
  {
4904
4869
  type: "NavigateTo",
4905
4870
  path: m,
4906
- target: P || null,
4871
+ target: H || null,
4907
4872
  externalLink: C || !1
4908
4873
  },
4909
4874
  window.location.href
@@ -4911,55 +4876,55 @@ function Go(e, t, r) {
4911
4876
  context: "MobileBottomNavigation",
4912
4877
  menuItem: `${m}`
4913
4878
  });
4914
- }, Zr = () => {
4915
- Ao(s);
4916
- }, ke = () => {
4917
- r(10, _t = b && window.innerHeight / window.innerWidth < 1);
4918
- }, Et = () => {
4879
+ }, Wr = () => {
4880
+ No(s);
4881
+ }, Ge = () => {
4882
+ r(10, gt = v && window.innerHeight / window.innerWidth < 1);
4883
+ }, yt = () => {
4919
4884
  T && r(4, T = !1);
4920
4885
  };
4921
- dn(() => (window.addEventListener("message", xt, !1), document.addEventListener("focusin", Et), b && window.screen.orientation.addEventListener("change", ke), () => {
4922
- window.removeEventListener("message", xt), document.removeEventListener("focusin", Et), b && window.screen.orientation.removeEventListener("change", ke);
4886
+ un(() => (window.addEventListener("message", bt, !1), document.addEventListener("focusin", yt), v && window.screen.orientation.addEventListener("change", Ge), () => {
4887
+ window.removeEventListener("message", bt), document.removeEventListener("focusin", yt), v && window.screen.orientation.removeEventListener("change", Ge);
4923
4888
  }));
4924
- const Qr = (m) => {
4925
- m.attrs?.target ? ue(m.path, m.attrs?.target, m?.externalLink, m.label) : ue(m.path, null, m?.externalLink, m.label);
4926
- }, Yr = (m) => {
4927
- m.attrs?.target ? ue(m.path, m.attrs?.target, m?.externalLink, m.label) : ue(m.path, null, m?.externalLink, m.label);
4889
+ const Vr = (m) => {
4890
+ m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
4891
+ }, Xr = (m) => {
4892
+ m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
4928
4893
  };
4929
- function Jr(m) {
4930
- Je[m ? "unshift" : "push"](() => {
4931
- G = m, r(2, G);
4894
+ function zr(m) {
4895
+ Ze[m ? "unshift" : "push"](() => {
4896
+ D = m, r(2, D);
4932
4897
  });
4933
4898
  }
4934
4899
  return e.$$set = (m) => {
4935
- "cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, v = m.activecategory), "flowermenustyle" in m && r(25, B = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
4900
+ "cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, b = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
4936
4901
  }, e.$$.update = () => {
4937
4902
  e.$$.dirty[0] & /*flowermenustyle*/
4938
- 33554432 && B && Wr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4939
- 16777218 && v && !E && wt(), e.$$.dirty[0] & /*lang*/
4940
- 131072 && s && Zr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4941
- 983040 && a && s && l && h && zr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4942
- 2097156 && f && G && To(G, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4943
- 4194308 && p && G && Po(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4944
- 1048580 && d && G && Ho(G, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4945
- 8388608 && g && jr();
4903
+ 33554432 && A && Gr(), e.$$.dirty[0] & /*activecategory, isLoading*/
4904
+ 16777218 && b && !N && vt(), e.$$.dirty[0] & /*lang*/
4905
+ 131072 && s && Wr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
4906
+ 983040 && a && s && l && h && jr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4907
+ 2097156 && f && D && So(D, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4908
+ 4194308 && p && D && Io(D, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4909
+ 1048580 && d && D && Bo(D, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4910
+ 8388608 && g && Dr();
4946
4911
  }, [
4947
4912
  u,
4913
+ N,
4914
+ D,
4948
4915
  E,
4949
- G,
4950
- w,
4951
4916
  T,
4952
4917
  X,
4953
4918
  Q,
4954
4919
  ye,
4955
4920
  j,
4956
- yt,
4957
- _t,
4958
- $e,
4921
+ pt,
4922
+ gt,
4923
+ De,
4959
4924
  n,
4960
- b,
4961
- Vr,
4962
- ue,
4925
+ v,
4926
+ $r,
4927
+ he,
4963
4928
  a,
4964
4929
  s,
4965
4930
  l,
@@ -4968,23 +4933,23 @@ function Go(e, t, r) {
4968
4933
  f,
4969
4934
  p,
4970
4935
  g,
4971
- v,
4972
- B,
4936
+ b,
4937
+ A,
4973
4938
  o,
4974
4939
  i,
4975
- Qr,
4976
- Yr,
4977
- Jr
4940
+ Vr,
4941
+ Xr,
4942
+ zr
4978
4943
  ];
4979
4944
  }
4980
- class $o extends En {
4945
+ class Ro extends yn {
4981
4946
  constructor(t) {
4982
- super(), xn(
4947
+ super(), bn(
4983
4948
  this,
4984
4949
  t,
4985
- Go,
4986
- Do,
4987
- ar,
4950
+ Fo,
4951
+ Co,
4952
+ rr,
4988
4953
  {
4989
4954
  cmsendpoint: 16,
4990
4955
  lang: 17,
@@ -4998,7 +4963,7 @@ class $o extends En {
4998
4963
  activecategory: 24,
4999
4964
  flowermenustyle: 25
5000
4965
  },
5001
- Mo,
4966
+ Ao,
5002
4967
  [-1, -1]
5003
4968
  );
5004
4969
  }
@@ -5069,7 +5034,7 @@ class $o extends En {
5069
5034
  this.$$set({ flowermenustyle: t }), F();
5070
5035
  }
5071
5036
  }
5072
- wn($o, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
5037
+ vn(Ro, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
5073
5038
  export {
5074
- $o as G
5039
+ Ro as G
5075
5040
  };