@everymatrix/casino-categories-providers 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Kt = Object.defineProperty, er = Object.defineProperties;
2
- var tr = Object.getOwnPropertyDescriptors;
3
- var Qe = Object.getOwnPropertySymbols;
4
- var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
5
- var Ce = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
1
+ var tr = Object.defineProperty, rr = Object.defineProperties;
2
+ var nr = Object.getOwnPropertyDescriptors;
3
+ var Je = Object.getOwnPropertySymbols;
4
+ var ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
5
+ var Ce = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- rr.call(t, r) && Ce(e, r, t[r]);
8
- if (Qe)
9
- for (var r of Qe(t))
10
- nr.call(t, r) && Ce(e, r, t[r]);
7
+ ir.call(t, r) && Ce(e, r, t[r]);
8
+ if (Je)
9
+ for (var r of Je(t))
10
+ sr.call(t, r) && Ce(e, r, t[r]);
11
11
  return e;
12
- }, Je = (e, t) => er(e, tr(t));
13
- var L = (e, t, r) => Ce(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Ye = (e, t, r) => new Promise((n, i) => {
12
+ }, Ke = (e, t) => rr(e, nr(t));
13
+ var L = (e, t, r) => (Ce(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var et = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -29,29 +29,29 @@ var Ye = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function xt(e) {
32
+ function Tt(e) {
33
33
  return e();
34
34
  }
35
- function Ke() {
35
+ function tt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(xt);
39
+ e.forEach(Tt);
40
40
  }
41
41
  function Ve(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function vt(e, t) {
44
+ function Ct(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let le;
48
48
  function de(e, t) {
49
49
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
50
50
  }
51
- function ir(e) {
51
+ function or(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Tt(e, ...t) {
54
+ function Ht(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,21 +60,22 @@ function Tt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function sr(e, t, r) {
64
- e.$$.on_destroy.push(Tt(t, r));
63
+ function ar(e, t, r) {
64
+ e.$$.on_destroy.push(Ht(t, r));
65
65
  }
66
66
  function v(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function or(e, t, r) {
70
- const n = ar(e);
69
+ function ur(e, t, r) {
70
+ const n = hr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = w("style");
73
- i.id = t, i.textContent = r, ur(n, i);
73
+ i.id = t, i.textContent = r, lr(n, i);
74
74
  }
75
75
  }
76
- function ar(e) {
77
- if (!e) return document;
76
+ function hr(e) {
77
+ if (!e)
78
+ return document;
78
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
80
  return t && /** @type {ShadowRoot} */
80
81
  t.host ? (
@@ -82,7 +83,7 @@ function ar(e) {
82
83
  t
83
84
  ) : e.ownerDocument;
84
85
  }
85
- function ur(e, t) {
86
+ function lr(e, t) {
86
87
  return v(
87
88
  /** @type {Document} */
88
89
  e.head || e,
@@ -95,7 +96,7 @@ function Y(e, t, r) {
95
96
  function j(e) {
96
97
  e.parentNode && e.parentNode.removeChild(e);
97
98
  }
98
- function et(e, t) {
99
+ function rt(e, t) {
99
100
  for (let r = 0; r < e.length; r += 1)
100
101
  e[r] && e[r].d(t);
101
102
  }
@@ -108,27 +109,27 @@ function U(e) {
108
109
  function R() {
109
110
  return U(" ");
110
111
  }
111
- function Hi() {
112
+ function Ai() {
112
113
  return U("");
113
114
  }
114
- function Ct(e, t, r, n) {
115
+ function At(e, t, r, n) {
115
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
117
  }
117
118
  function H(e, t, r) {
118
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
120
  }
120
- function Ai(e, t, r) {
121
+ function Bi(e, t, r) {
121
122
  const n = t.toLowerCase();
122
123
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
123
124
  }
124
- function hr(e) {
125
+ function cr(e) {
125
126
  return Array.from(e.childNodes);
126
127
  }
127
128
  function G(e, t) {
128
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
129
130
  t);
130
131
  }
131
- function lr(e) {
132
+ function fr(e) {
132
133
  const t = {};
133
134
  return e.childNodes.forEach(
134
135
  /** @param {Element} node */
@@ -141,19 +142,20 @@ let ie;
141
142
  function ne(e) {
142
143
  ie = e;
143
144
  }
144
- function fr() {
145
- if (!ie) throw new Error("Function called outside component initialization");
145
+ function gr() {
146
+ if (!ie)
147
+ throw new Error("Function called outside component initialization");
146
148
  return ie;
147
149
  }
148
- function cr(e) {
149
- fr().$$.on_mount.push(e);
150
+ function mr(e) {
151
+ gr().$$.on_mount.push(e);
150
152
  }
151
153
  const z = [], Ne = [];
152
154
  let W = [];
153
- const tt = [], gr = /* @__PURE__ */ Promise.resolve();
155
+ const nt = [], pr = /* @__PURE__ */ Promise.resolve();
154
156
  let Le = !1;
155
- function mr() {
156
- Le || (Le = !0, gr.then(M));
157
+ function dr() {
158
+ Le || (Le = !0, pr.then(M));
157
159
  }
158
160
  function Ie(e) {
159
161
  W.push(e);
@@ -168,55 +170,56 @@ function M() {
168
170
  try {
169
171
  for (; V < z.length; ) {
170
172
  const t = z[V];
171
- V++, ne(t), pr(t.$$);
173
+ V++, ne(t), br(t.$$);
172
174
  }
173
175
  } catch (t) {
174
176
  throw z.length = 0, V = 0, t;
175
177
  }
176
- for (ne(null), z.length = 0, V = 0; Ne.length; ) Ne.pop()();
178
+ for (ne(null), z.length = 0, V = 0; Ne.length; )
179
+ Ne.pop()();
177
180
  for (let t = 0; t < W.length; t += 1) {
178
181
  const r = W[t];
179
182
  He.has(r) || (He.add(r), r());
180
183
  }
181
184
  W.length = 0;
182
185
  } while (z.length);
183
- for (; tt.length; )
184
- tt.pop()();
186
+ for (; nt.length; )
187
+ nt.pop()();
185
188
  Le = !1, He.clear(), ne(e);
186
189
  }
187
- function pr(e) {
190
+ function br(e) {
188
191
  if (e.fragment !== null) {
189
192
  e.update(), ae(e.before_update);
190
193
  const t = e.dirty;
191
194
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
192
195
  }
193
196
  }
194
- function dr(e) {
197
+ function yr(e) {
195
198
  const t = [], r = [];
196
199
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
197
200
  }
198
- const br = /* @__PURE__ */ new Set();
199
- function yr(e, t) {
200
- e && e.i && (br.delete(e), e.i(t));
201
+ const _r = /* @__PURE__ */ new Set();
202
+ function xr(e, t) {
203
+ e && e.i && (_r.delete(e), e.i(t));
201
204
  }
202
- function fe(e) {
205
+ function ce(e) {
203
206
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
204
207
  }
205
- function _r(e, t, r) {
208
+ function Er(e, t, r) {
206
209
  const { fragment: n, after_update: i } = e.$$;
207
210
  n && n.m(t, r), Ie(() => {
208
- const s = e.$$.on_mount.map(xt).filter(Ve);
211
+ const s = e.$$.on_mount.map(Tt).filter(Ve);
209
212
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
210
213
  }), i.forEach(Ie);
211
214
  }
212
- function Er(e, t) {
215
+ function vr(e, t) {
213
216
  const r = e.$$;
214
- r.fragment !== null && (dr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
+ r.fragment !== null && (yr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
218
  }
216
- function xr(e, t) {
217
- e.$$.dirty[0] === -1 && (z.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
+ function Tr(e, t) {
220
+ e.$$.dirty[0] === -1 && (z.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
221
  }
219
- function vr(e, t, r, n, i, s, o = null, u = [-1]) {
222
+ function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
220
223
  const h = ie;
221
224
  ne(e);
222
225
  const a = e.$$ = {
@@ -226,7 +229,7 @@ function vr(e, t, r, n, i, s, o = null, u = [-1]) {
226
229
  props: s,
227
230
  update: I,
228
231
  not_equal: i,
229
- bound: Ke(),
232
+ bound: tt(),
230
233
  // lifecycle
231
234
  on_mount: [],
232
235
  on_destroy: [],
@@ -235,28 +238,28 @@ function vr(e, t, r, n, i, s, o = null, u = [-1]) {
235
238
  after_update: [],
236
239
  context: new Map(t.context || (h ? h.$$.context : [])),
237
240
  // everything else
238
- callbacks: Ke(),
241
+ callbacks: tt(),
239
242
  dirty: u,
240
243
  skip_bound: !1,
241
244
  root: t.target || h.$$.root
242
245
  };
243
246
  o && o(a.root);
244
247
  let l = !1;
245
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
246
- const d = p.length ? p[0] : f;
247
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && xr(e, c)), f;
248
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
249
+ const d = p.length ? p[0] : c;
250
+ return a.ctx && i(a.ctx[f], a.ctx[f] = d) && (!a.skip_bound && a.bound[f] && a.bound[f](d), l && Tr(e, f)), c;
248
251
  }) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
249
252
  if (t.hydrate) {
250
- const c = hr(t.target);
251
- a.fragment && a.fragment.l(c), c.forEach(j);
253
+ const f = cr(t.target);
254
+ a.fragment && a.fragment.l(f), f.forEach(j);
252
255
  } else
253
256
  a.fragment && a.fragment.c();
254
- t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor), M();
257
+ t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), M();
255
258
  }
256
259
  ne(h);
257
260
  }
258
- let Ht;
259
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
261
+ let Bt;
262
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
260
263
  constructor(t, r, n) {
261
264
  super();
262
265
  /** The Svelte component constructor */
@@ -293,7 +296,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
293
296
  }
294
297
  }
295
298
  connectedCallback() {
296
- return Ye(this, null, function* () {
299
+ return et(this, null, function* () {
297
300
  if (this.$$cn = !0, !this.$$c) {
298
301
  let t = function(s) {
299
302
  return () => {
@@ -317,7 +320,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
317
320
  };
318
321
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
319
322
  return;
320
- const r = {}, n = lr(this);
323
+ const r = {}, n = fr(this);
321
324
  for (const s of this.$$s)
322
325
  s in n && (r[s] = [t(s)]);
323
326
  for (const s of this.attributes) {
@@ -328,7 +331,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
328
331
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
329
332
  this.$$c = new this.$$ctor({
330
333
  target: this.shadowRoot || this,
331
- props: Je(qe({}, this.$$d), {
334
+ props: Ke(Ye({}, this.$$d), {
332
335
  $$slots: r,
333
336
  $$scope: {
334
337
  ctx: []
@@ -406,8 +409,8 @@ function ge(e, t, r, n) {
406
409
  return t;
407
410
  }
408
411
  }
409
- function Tr(e, t, r, n, i, s) {
410
- let o = class extends Ht {
412
+ function Hr(e, t, r, n, i, s) {
413
+ let o = class extends Bt {
411
414
  constructor() {
412
415
  super(e, r, i), this.$$p_d = t;
413
416
  }
@@ -437,7 +440,7 @@ function Tr(e, t, r, n, i, s) {
437
440
  }), e.element = /** @type {any} */
438
441
  o, o;
439
442
  }
440
- class Cr {
443
+ class Ar {
441
444
  constructor() {
442
445
  /**
443
446
  * ### PRIVATE API
@@ -458,7 +461,7 @@ class Cr {
458
461
  }
459
462
  /** @returns {void} */
460
463
  $destroy() {
461
- Er(this, 1), this.$destroy = I;
464
+ vr(this, 1), this.$destroy = I;
462
465
  }
463
466
  /**
464
467
  * @template {Extract<keyof Events, string>} K
@@ -480,13 +483,13 @@ class Cr {
480
483
  * @returns {void}
481
484
  */
482
485
  $set(t) {
483
- this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
+ this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
487
  }
485
488
  }
486
- const Hr = "4";
487
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
489
+ const Br = "4";
490
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
488
491
  const X = [];
489
- function Ar(e, t) {
492
+ function Sr(e, t) {
490
493
  return {
491
494
  subscribe: _e(e, t).subscribe
492
495
  };
@@ -495,7 +498,7 @@ function _e(e, t = I) {
495
498
  let r;
496
499
  const n = /* @__PURE__ */ new Set();
497
500
  function i(u) {
498
- if (vt(e, u) && (e = u, r)) {
501
+ if (Ct(e, u) && (e = u, r)) {
499
502
  const h = !X.length;
500
503
  for (const a of n)
501
504
  a[1](), X.push(a, e);
@@ -522,96 +525,96 @@ function K(e, t, r) {
522
525
  if (!i.every(Boolean))
523
526
  throw new Error("derived() expects stores as input, got a falsy value");
524
527
  const s = t.length < 2;
525
- return Ar(r, (o, u) => {
528
+ return Sr(r, (o, u) => {
526
529
  let h = !1;
527
530
  const a = [];
528
- let l = 0, c = I;
529
- const f = () => {
531
+ let l = 0, f = I;
532
+ const c = () => {
530
533
  if (l)
531
534
  return;
532
- c();
535
+ f();
533
536
  const d = t(n ? a[0] : a, o, u);
534
- s ? o(d) : c = Ve(d) ? d : I;
537
+ s ? o(d) : f = Ve(d) ? d : I;
535
538
  }, p = i.map(
536
- (d, g) => Tt(
539
+ (d, g) => Ht(
537
540
  d,
538
- (x) => {
539
- a[g] = x, l &= ~(1 << g), h && f();
541
+ (E) => {
542
+ a[g] = E, l &= ~(1 << g), h && c();
540
543
  },
541
544
  () => {
542
545
  l |= 1 << g;
543
546
  }
544
547
  )
545
548
  );
546
- return h = !0, f(), function() {
547
- ae(p), c(), h = !1;
549
+ return h = !0, c(), function() {
550
+ ae(p), f(), h = !1;
548
551
  };
549
552
  });
550
553
  }
551
- function Sr(e) {
554
+ function wr(e) {
552
555
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
553
556
  }
554
- var Br = function(t) {
555
- return wr(t) && !Or(t);
557
+ var Or = function(t) {
558
+ return Pr(t) && !Nr(t);
556
559
  };
557
- function wr(e) {
560
+ function Pr(e) {
558
561
  return !!e && typeof e == "object";
559
562
  }
560
- function Or(e) {
563
+ function Nr(e) {
561
564
  var t = Object.prototype.toString.call(e);
562
- return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
565
+ return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
563
566
  }
564
- var Pr = typeof Symbol == "function" && Symbol.for, Nr = Pr ? Symbol.for("react.element") : 60103;
565
- function Lr(e) {
566
- return e.$$typeof === Nr;
567
+ var Lr = typeof Symbol == "function" && Symbol.for, Ir = Lr ? Symbol.for("react.element") : 60103;
568
+ function Mr(e) {
569
+ return e.$$typeof === Ir;
567
570
  }
568
- function Ir(e) {
571
+ function $r(e) {
569
572
  return Array.isArray(e) ? [] : {};
570
573
  }
571
574
  function se(e, t) {
572
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Ir(e), e, t) : e;
575
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z($r(e), e, t) : e;
573
576
  }
574
- function Mr(e, t, r) {
577
+ function Rr(e, t, r) {
575
578
  return e.concat(t).map(function(n) {
576
579
  return se(n, r);
577
580
  });
578
581
  }
579
- function $r(e, t) {
582
+ function Ur(e, t) {
580
583
  if (!t.customMerge)
581
584
  return Z;
582
585
  var r = t.customMerge(e);
583
586
  return typeof r == "function" ? r : Z;
584
587
  }
585
- function Rr(e) {
588
+ function Dr(e) {
586
589
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
587
590
  return Object.propertyIsEnumerable.call(e, t);
588
591
  }) : [];
589
592
  }
590
- function rt(e) {
591
- return Object.keys(e).concat(Rr(e));
593
+ function it(e) {
594
+ return Object.keys(e).concat(Dr(e));
592
595
  }
593
- function At(e, t) {
596
+ function St(e, t) {
594
597
  try {
595
598
  return t in e;
596
599
  } catch (r) {
597
600
  return !1;
598
601
  }
599
602
  }
600
- function Ur(e, t) {
601
- return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
603
+ function Gr(e, t) {
604
+ return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
602
605
  }
603
- function Dr(e, t, r) {
606
+ function Fr(e, t, r) {
604
607
  var n = {};
605
- return r.isMergeableObject(e) && rt(e).forEach(function(i) {
608
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
606
609
  n[i] = se(e[i], r);
607
- }), rt(t).forEach(function(i) {
608
- Ur(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
610
+ }), it(t).forEach(function(i) {
611
+ Gr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
609
612
  }), n;
610
613
  }
611
614
  function Z(e, t, r) {
612
- r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = se;
615
+ r = r || {}, r.arrayMerge = r.arrayMerge || Rr, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = se;
613
616
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
614
- return s ? n ? r.arrayMerge(e, t, r) : Dr(e, t, r) : se(t, r);
617
+ return s ? n ? r.arrayMerge(e, t, r) : Fr(e, t, r) : se(t, r);
615
618
  }
616
619
  Z.all = function(t, r) {
617
620
  if (!Array.isArray(t))
@@ -620,16 +623,31 @@ Z.all = function(t, r) {
620
623
  return Z(n, i, r);
621
624
  }, {});
622
625
  };
623
- var Gr = Z, Fr = Gr;
624
- const jr = /* @__PURE__ */ Sr(Fr);
626
+ var jr = Z, kr = jr;
627
+ const Vr = /* @__PURE__ */ wr(kr);
628
+ /*! *****************************************************************************
629
+ Copyright (c) Microsoft Corporation.
630
+
631
+ Permission to use, copy, modify, and/or distribute this software for any
632
+ purpose with or without fee is hereby granted.
633
+
634
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
635
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
636
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
637
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
638
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
639
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
640
+ PERFORMANCE OF THIS SOFTWARE.
641
+ ***************************************************************************** */
625
642
  var Me = function(e, t) {
626
643
  return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
627
644
  r.__proto__ = n;
628
645
  } || function(r, n) {
629
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
646
+ for (var i in n)
647
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
630
648
  }, Me(e, t);
631
649
  };
632
- function Ee(e, t) {
650
+ function xe(e, t) {
633
651
  if (typeof t != "function" && t !== null)
634
652
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
635
653
  Me(e, t);
@@ -638,76 +656,81 @@ function Ee(e, t) {
638
656
  }
639
657
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
640
658
  }
641
- var E = function() {
642
- return E = Object.assign || function(t) {
659
+ var x = function() {
660
+ return x = Object.assign || function(t) {
643
661
  for (var r, n = 1, i = arguments.length; n < i; n++) {
644
662
  r = arguments[n];
645
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
663
+ for (var s in r)
664
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
646
665
  }
647
666
  return t;
648
- }, E.apply(this, arguments);
667
+ }, x.apply(this, arguments);
649
668
  };
650
- function kr(e, t) {
669
+ function Xr(e, t) {
651
670
  var r = {};
652
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
671
+ for (var n in e)
672
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
653
673
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
654
674
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
655
675
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
656
676
  return r;
657
677
  }
658
678
  function Ae(e, t, r) {
659
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
660
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
661
- return e.concat(s || Array.prototype.slice.call(t));
679
+ if (arguments.length === 2)
680
+ for (var n = 0, i = t.length, s; n < i; n++)
681
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
682
+ return e.concat(s || t);
662
683
  }
663
- function Se(e, t) {
664
- var r = t && t.cache ? t.cache : qr, n = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : zr;
684
+ function Be(e, t) {
685
+ var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : qr, i = t && t.strategy ? t.strategy : Wr;
665
686
  return i(e, {
666
687
  cache: r,
667
688
  serializer: n
668
689
  });
669
690
  }
670
- function Vr(e) {
691
+ function zr(e) {
671
692
  return e == null || typeof e == "number" || typeof e == "boolean";
672
693
  }
673
- function Xr(e, t, r, n) {
674
- var i = Vr(n) ? n : r(n), s = t.get(i);
694
+ function wt(e, t, r, n) {
695
+ var i = zr(n) ? n : r(n), s = t.get(i);
675
696
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
676
697
  }
677
- function St(e, t, r) {
698
+ function Ot(e, t, r) {
678
699
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
679
700
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
680
701
  }
681
- function Bt(e, t, r, n, i) {
702
+ function Xe(e, t, r, n, i) {
682
703
  return r.bind(t, e, n, i);
683
704
  }
684
- function zr(e, t) {
685
- var r = e.length === 1 ? Xr : St;
686
- return Bt(e, this, r, t.cache.create(), t.serializer);
687
- }
688
705
  function Wr(e, t) {
689
- return Bt(e, this, St, t.cache.create(), t.serializer);
706
+ var r = e.length === 1 ? wt : Ot;
707
+ return Xe(e, this, r, t.cache.create(), t.serializer);
708
+ }
709
+ function Zr(e, t) {
710
+ return Xe(e, this, Ot, t.cache.create(), t.serializer);
690
711
  }
691
- var Zr = function() {
712
+ function Qr(e, t) {
713
+ return Xe(e, this, wt, t.cache.create(), t.serializer);
714
+ }
715
+ var qr = function() {
692
716
  return JSON.stringify(arguments);
693
- }, Qr = (
694
- /** @class */
695
- function() {
696
- function e() {
697
- this.cache = /* @__PURE__ */ Object.create(null);
698
- }
699
- return e.prototype.get = function(t) {
700
- return this.cache[t];
701
- }, e.prototype.set = function(t, r) {
702
- this.cache[t] = r;
703
- }, e;
704
- }()
705
- ), qr = {
717
+ };
718
+ function ze() {
719
+ this.cache = /* @__PURE__ */ Object.create(null);
720
+ }
721
+ ze.prototype.get = function(e) {
722
+ return this.cache[e];
723
+ };
724
+ ze.prototype.set = function(e, t) {
725
+ this.cache[e] = t;
726
+ };
727
+ var Jr = {
706
728
  create: function() {
707
- return new Qr();
729
+ return new ze();
708
730
  }
709
- }, Be = {
710
- variadic: Wr
731
+ }, Se = {
732
+ variadic: Zr,
733
+ monadic: Qr
711
734
  }, y;
712
735
  (function(e) {
713
736
  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";
@@ -720,43 +743,43 @@ var Q;
720
743
  (function(e) {
721
744
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
722
745
  })(Q || (Q = {}));
723
- function nt(e) {
746
+ function st(e) {
724
747
  return e.type === T.literal;
725
748
  }
726
- function Jr(e) {
749
+ function Yr(e) {
727
750
  return e.type === T.argument;
728
751
  }
729
- function wt(e) {
752
+ function Pt(e) {
730
753
  return e.type === T.number;
731
754
  }
732
- function Ot(e) {
755
+ function Nt(e) {
733
756
  return e.type === T.date;
734
757
  }
735
- function Pt(e) {
758
+ function Lt(e) {
736
759
  return e.type === T.time;
737
760
  }
738
- function Nt(e) {
761
+ function It(e) {
739
762
  return e.type === T.select;
740
763
  }
741
- function Lt(e) {
764
+ function Mt(e) {
742
765
  return e.type === T.plural;
743
766
  }
744
- function Yr(e) {
767
+ function Kr(e) {
745
768
  return e.type === T.pound;
746
769
  }
747
- function It(e) {
770
+ function $t(e) {
748
771
  return e.type === T.tag;
749
772
  }
750
- function Mt(e) {
773
+ function Rt(e) {
751
774
  return !!(e && typeof e == "object" && e.type === Q.number);
752
775
  }
753
776
  function $e(e) {
754
777
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
755
778
  }
756
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
757
- function en(e) {
779
+ var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
780
+ function tn(e) {
758
781
  var t = {};
759
- return e.replace(Kr, function(r) {
782
+ return e.replace(en, function(r) {
760
783
  var n = r.length;
761
784
  switch (r[0]) {
762
785
  case "G":
@@ -845,36 +868,36 @@ function en(e) {
845
868
  return "";
846
869
  }), t;
847
870
  }
848
- var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
849
- function rn(e) {
871
+ var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
872
+ function nn(e) {
850
873
  if (e.length === 0)
851
874
  throw new Error("Number skeleton cannot be empty");
852
- for (var t = e.split(tn).filter(function(f) {
853
- return f.length > 0;
875
+ for (var t = e.split(rn).filter(function(c) {
876
+ return c.length > 0;
854
877
  }), r = [], n = 0, i = t; n < i.length; n++) {
855
878
  var s = i[n], o = s.split("/");
856
879
  if (o.length === 0)
857
880
  throw new Error("Invalid number skeleton");
858
881
  for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
859
- var c = l[a];
860
- if (c.length === 0)
882
+ var f = l[a];
883
+ if (f.length === 0)
861
884
  throw new Error("Invalid number skeleton");
862
885
  }
863
886
  r.push({ stem: u, options: h });
864
887
  }
865
888
  return r;
866
889
  }
867
- function nn(e) {
890
+ function sn(e) {
868
891
  return e.replace(/^(.*?)-/, "");
869
892
  }
870
- var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
871
- function st(e) {
893
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
894
+ function at(e) {
872
895
  var t = {};
873
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
896
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
874
897
  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)), "";
875
898
  }), t;
876
899
  }
877
- function Dt(e) {
900
+ function Ft(e) {
878
901
  switch (e) {
879
902
  case "sign-auto":
880
903
  return {
@@ -914,7 +937,7 @@ function Dt(e) {
914
937
  };
915
938
  }
916
939
  }
917
- function on(e) {
940
+ function an(e) {
918
941
  var t;
919
942
  if (e[0] === "E" && e[1] === "E" ? (t = {
920
943
  notation: "engineering"
@@ -922,17 +945,17 @@ function on(e) {
922
945
  notation: "scientific"
923
946
  }, e = e.slice(1)), t) {
924
947
  var r = e.slice(0, 2);
925
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
948
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
926
949
  throw new Error("Malformed concise eng/scientific notation");
927
950
  t.minimumIntegerDigits = e.length;
928
951
  }
929
952
  return t;
930
953
  }
931
- function ot(e) {
932
- var t = {}, r = Dt(e);
954
+ function ut(e) {
955
+ var t = {}, r = Ft(e);
933
956
  return r || t;
934
957
  }
935
- function an(e) {
958
+ function un(e) {
936
959
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
937
960
  var i = n[r];
938
961
  switch (i.stem) {
@@ -956,7 +979,7 @@ function an(e) {
956
979
  continue;
957
980
  case "measure-unit":
958
981
  case "unit":
959
- t.style = "unit", t.unit = nn(i.options[0]);
982
+ t.style = "unit", t.unit = sn(i.options[0]);
960
983
  continue;
961
984
  case "compact-short":
962
985
  case "K":
@@ -967,13 +990,13 @@ function an(e) {
967
990
  t.notation = "compact", t.compactDisplay = "long";
968
991
  continue;
969
992
  case "scientific":
970
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
971
- return E(E({}, h), ot(a));
993
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
994
+ return x(x({}, h), ut(a));
972
995
  }, {}));
973
996
  continue;
974
997
  case "engineering":
975
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
976
- return E(E({}, h), ot(a));
998
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
999
+ return x(x({}, h), ut(a));
977
1000
  }, {}));
978
1001
  continue;
979
1002
  case "notation-simple":
@@ -1018,11 +1041,11 @@ function an(e) {
1018
1041
  case "integer-width":
1019
1042
  if (i.options.length > 1)
1020
1043
  throw new RangeError("integer-width stems only accept a single optional option");
1021
- i.options[0].replace(sn, function(h, a, l, c, f, p) {
1044
+ i.options[0].replace(on, function(h, a, l, f, c, p) {
1022
1045
  if (a)
1023
1046
  t.minimumIntegerDigits = l.length;
1024
1047
  else {
1025
- if (c && f)
1048
+ if (f && c)
1026
1049
  throw new Error("We currently do not support maximum integer digits");
1027
1050
  if (p)
1028
1051
  throw new Error("We currently do not support exact integer digits");
@@ -1031,32 +1054,32 @@ function an(e) {
1031
1054
  });
1032
1055
  continue;
1033
1056
  }
1034
- if (Ut.test(i.stem)) {
1057
+ if (Gt.test(i.stem)) {
1035
1058
  t.minimumIntegerDigits = i.stem.length;
1036
1059
  continue;
1037
1060
  }
1038
- if (it.test(i.stem)) {
1061
+ if (ot.test(i.stem)) {
1039
1062
  if (i.options.length > 1)
1040
1063
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1041
- i.stem.replace(it, function(h, a, l, c, f, p) {
1042
- return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1064
+ i.stem.replace(ot, function(h, a, l, f, c, p) {
1065
+ return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1043
1066
  });
1044
1067
  var s = i.options[0];
1045
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), st(s)));
1068
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), at(s)));
1046
1069
  continue;
1047
1070
  }
1048
- if (Rt.test(i.stem)) {
1049
- t = E(E({}, t), st(i.stem));
1071
+ if (Dt.test(i.stem)) {
1072
+ t = x(x({}, t), at(i.stem));
1050
1073
  continue;
1051
1074
  }
1052
- var o = Dt(i.stem);
1053
- o && (t = E(E({}, t), o));
1054
- var u = on(i.stem);
1055
- u && (t = E(E({}, t), u));
1075
+ var o = Ft(i.stem);
1076
+ o && (t = x(x({}, t), o));
1077
+ var u = an(i.stem);
1078
+ u && (t = x(x({}, t), u));
1056
1079
  }
1057
1080
  return t;
1058
1081
  }
1059
- var ce = {
1082
+ var fe = {
1060
1083
  "001": [
1061
1084
  "H",
1062
1085
  "h"
@@ -2471,22 +2494,23 @@ var ce = {
2471
2494
  "h"
2472
2495
  ]
2473
2496
  };
2474
- function un(e, t) {
2497
+ function hn(e, t) {
2475
2498
  for (var r = "", n = 0; n < e.length; n++) {
2476
2499
  var i = e.charAt(n);
2477
2500
  if (i === "j") {
2478
2501
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2479
2502
  s++, n++;
2480
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = hn(t);
2503
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = ln(t);
2481
2504
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2482
2505
  r += h;
2483
2506
  for (; o-- > 0; )
2484
2507
  r = a + r;
2485
- } else i === "J" ? r += "H" : r += i;
2508
+ } else
2509
+ i === "J" ? r += "H" : r += i;
2486
2510
  }
2487
2511
  return r;
2488
2512
  }
2489
- function hn(e) {
2513
+ function ln(e) {
2490
2514
  var t = e.hourCycle;
2491
2515
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2492
2516
  e.hourCycles && // @ts-ignore
@@ -2505,23 +2529,23 @@ function hn(e) {
2505
2529
  }
2506
2530
  var r = e.language, n;
2507
2531
  r !== "root" && (n = e.maximize().region);
2508
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2532
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2509
2533
  return i[0];
2510
2534
  }
2511
- var we, ln = new RegExp("^".concat($t.source, "*")), fn = new RegExp("".concat($t.source, "*$"));
2535
+ var we, cn = new RegExp("^".concat(Ut.source, "*")), fn = new RegExp("".concat(Ut.source, "*$"));
2512
2536
  function _(e, t) {
2513
2537
  return { start: e, end: t };
2514
2538
  }
2515
- var cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, _n = yn ? Number.isSafeInteger : function(e) {
2539
+ var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, pn = !!Object.fromEntries, dn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, yn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
2516
2540
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2517
2541
  }, Re = !0;
2518
2542
  try {
2519
- var En = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2543
+ var En = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2520
2544
  Re = ((we = En.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2521
2545
  } catch (e) {
2522
2546
  Re = !1;
2523
2547
  }
2524
- var at = cn ? (
2548
+ var ht = gn ? (
2525
2549
  // Native
2526
2550
  function(t, r, n) {
2527
2551
  return t.startsWith(r, n);
@@ -2531,7 +2555,7 @@ var at = cn ? (
2531
2555
  function(t, r, n) {
2532
2556
  return t.slice(n, n + r.length) === r;
2533
2557
  }
2534
- ), Ue = gn ? String.fromCodePoint : (
2558
+ ), Ue = mn ? String.fromCodePoint : (
2535
2559
  // IE11
2536
2560
  function() {
2537
2561
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2543,9 +2567,9 @@ var at = cn ? (
2543
2567
  }
2544
2568
  return n;
2545
2569
  }
2546
- ), ut = (
2570
+ ), lt = (
2547
2571
  // native
2548
- mn ? Object.fromEntries : (
2572
+ pn ? Object.fromEntries : (
2549
2573
  // Ponyfill
2550
2574
  function(t) {
2551
2575
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2555,7 +2579,7 @@ var at = cn ? (
2555
2579
  return r;
2556
2580
  }
2557
2581
  )
2558
- ), Gt = pn ? (
2582
+ ), jt = dn ? (
2559
2583
  // Native
2560
2584
  function(t, r) {
2561
2585
  return t.codePointAt(r);
@@ -2569,7 +2593,7 @@ var at = cn ? (
2569
2593
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2570
2594
  }
2571
2595
  }
2572
- ), xn = dn ? (
2596
+ ), vn = bn ? (
2573
2597
  // Native
2574
2598
  function(t) {
2575
2599
  return t.trimStart();
@@ -2577,9 +2601,9 @@ var at = cn ? (
2577
2601
  ) : (
2578
2602
  // Ponyfill
2579
2603
  function(t) {
2580
- return t.replace(ln, "");
2604
+ return t.replace(cn, "");
2581
2605
  }
2582
- ), vn = bn ? (
2606
+ ), Tn = yn ? (
2583
2607
  // Native
2584
2608
  function(t) {
2585
2609
  return t.trimEnd();
@@ -2590,29 +2614,29 @@ var at = cn ? (
2590
2614
  return t.replace(fn, "");
2591
2615
  }
2592
2616
  );
2593
- function Ft(e, t) {
2617
+ function kt(e, t) {
2594
2618
  return new RegExp(e, t);
2595
2619
  }
2596
2620
  var De;
2597
2621
  if (Re) {
2598
- var ht = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2622
+ var ct = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2599
2623
  De = function(t, r) {
2600
2624
  var n;
2601
- ht.lastIndex = r;
2602
- var i = ht.exec(t);
2625
+ ct.lastIndex = r;
2626
+ var i = ct.exec(t);
2603
2627
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2604
2628
  };
2605
2629
  } else
2606
2630
  De = function(t, r) {
2607
2631
  for (var n = []; ; ) {
2608
- var i = Gt(t, r);
2609
- if (i === void 0 || jt(i) || An(i))
2632
+ var i = jt(t, r);
2633
+ if (i === void 0 || Vt(i) || Bn(i))
2610
2634
  break;
2611
2635
  n.push(i), r += i >= 65536 ? 2 : 1;
2612
2636
  }
2613
2637
  return Ue.apply(void 0, n);
2614
2638
  };
2615
- var Tn = (
2639
+ var Cn = (
2616
2640
  /** @class */
2617
2641
  function() {
2618
2642
  function e(t, r) {
@@ -2694,7 +2718,7 @@ var Tn = (
2694
2718
  return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2695
2719
  }, e.prototype.parseTagName = function() {
2696
2720
  var t = this.offset();
2697
- for (this.bump(); !this.isEOF() && Hn(this.char()); )
2721
+ for (this.bump(); !this.isEOF() && An(this.char()); )
2698
2722
  this.bump();
2699
2723
  return this.message.slice(t, this.offset());
2700
2724
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2723,7 +2747,7 @@ var Tn = (
2723
2747
  };
2724
2748
  }, e.prototype.tryParseLeftAngleBracket = function() {
2725
2749
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2726
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2750
+ !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2727
2751
  }, e.prototype.tryParseQuote = function(t) {
2728
2752
  if (this.isEOF() || this.char() !== 39)
2729
2753
  return null;
@@ -2807,40 +2831,40 @@ var Tn = (
2807
2831
  var a = null;
2808
2832
  if (this.bumpIf(",")) {
2809
2833
  this.bumpSpace();
2810
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2811
- if (c.err)
2812
- return c;
2813
- var f = vn(c.val);
2814
- if (f.length === 0)
2834
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2835
+ if (f.err)
2836
+ return f;
2837
+ var c = Tn(f.val);
2838
+ if (c.length === 0)
2815
2839
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2816
2840
  var p = _(l, this.clonePosition());
2817
- a = { style: f, styleLocation: p };
2841
+ a = { style: c, styleLocation: p };
2818
2842
  }
2819
2843
  var d = this.tryParseArgumentClose(i);
2820
2844
  if (d.err)
2821
2845
  return d;
2822
2846
  var g = _(i, this.clonePosition());
2823
- if (a && at(a == null ? void 0 : a.style, "::", 0)) {
2824
- var x = xn(a.style.slice(2));
2847
+ if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
2848
+ var E = vn(a.style.slice(2));
2825
2849
  if (u === "number") {
2826
- var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
2827
- return c.err ? c : {
2828
- val: { type: T.number, value: n, location: g, style: c.val },
2850
+ var f = this.parseNumberSkeletonFromString(E, a.styleLocation);
2851
+ return f.err ? f : {
2852
+ val: { type: T.number, value: n, location: g, style: f.val },
2829
2853
  err: null
2830
2854
  };
2831
2855
  } else {
2832
- if (x.length === 0)
2856
+ if (E.length === 0)
2833
2857
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2834
- var m = x;
2835
- this.locale && (m = un(x, this.locale));
2836
- var f = {
2858
+ var m = E;
2859
+ this.locale && (m = hn(E, this.locale));
2860
+ var c = {
2837
2861
  type: Q.dateTime,
2838
2862
  pattern: m,
2839
2863
  location: a.styleLocation,
2840
- parsedOptions: this.shouldParseSkeletons ? en(m) : {}
2864
+ parsedOptions: this.shouldParseSkeletons ? tn(m) : {}
2841
2865
  }, C = u === "date" ? T.date : T.time;
2842
2866
  return {
2843
- val: { type: C, value: n, location: g, style: f },
2867
+ val: { type: C, value: n, location: g, style: c },
2844
2868
  err: null
2845
2869
  };
2846
2870
  }
@@ -2858,19 +2882,19 @@ var Tn = (
2858
2882
  case "plural":
2859
2883
  case "selectordinal":
2860
2884
  case "select": {
2861
- var S = this.clonePosition();
2885
+ var B = this.clonePosition();
2862
2886
  if (this.bumpSpace(), !this.bumpIf(","))
2863
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, E({}, S)));
2887
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(B, x({}, B)));
2864
2888
  this.bumpSpace();
2865
- var P = this.parseIdentifierIfPossible(), B = 0;
2889
+ var P = this.parseIdentifierIfPossible(), S = 0;
2866
2890
  if (u !== "select" && P.value === "offset") {
2867
2891
  if (!this.bumpIf(":"))
2868
2892
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2869
2893
  this.bumpSpace();
2870
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2871
- if (c.err)
2872
- return c;
2873
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), B = c.val;
2894
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2895
+ if (f.err)
2896
+ return f;
2897
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), S = f.val;
2874
2898
  }
2875
2899
  var A = this.tryParsePluralOrSelectOptions(t, u, r, P);
2876
2900
  if (A.err)
@@ -2883,7 +2907,7 @@ var Tn = (
2883
2907
  val: {
2884
2908
  type: T.select,
2885
2909
  value: n,
2886
- options: ut(A.val),
2910
+ options: lt(A.val),
2887
2911
  location: N
2888
2912
  },
2889
2913
  err: null
@@ -2891,8 +2915,8 @@ var Tn = (
2891
2915
  val: {
2892
2916
  type: T.plural,
2893
2917
  value: n,
2894
- options: ut(A.val),
2895
- offset: B,
2918
+ options: lt(A.val),
2919
+ offset: S,
2896
2920
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2897
2921
  location: N
2898
2922
  },
@@ -2942,7 +2966,7 @@ var Tn = (
2942
2966
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2943
2967
  var n = [];
2944
2968
  try {
2945
- n = rn(t);
2969
+ n = nn(t);
2946
2970
  } catch (i) {
2947
2971
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2948
2972
  }
@@ -2951,19 +2975,19 @@ var Tn = (
2951
2975
  type: Q.number,
2952
2976
  tokens: n,
2953
2977
  location: r,
2954
- parsedOptions: this.shouldParseSkeletons ? an(n) : {}
2978
+ parsedOptions: this.shouldParseSkeletons ? un(n) : {}
2955
2979
  },
2956
2980
  err: null
2957
2981
  };
2958
2982
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2959
2983
  for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2960
2984
  if (a.length === 0) {
2961
- var c = this.clonePosition();
2985
+ var f = this.clonePosition();
2962
2986
  if (r !== "select" && this.bumpIf("=")) {
2963
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2964
- if (f.err)
2965
- return f;
2966
- l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2987
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2988
+ if (c.err)
2989
+ return c;
2990
+ l = _(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2967
2991
  } else
2968
2992
  break;
2969
2993
  }
@@ -2999,7 +3023,7 @@ var Tn = (
2999
3023
  break;
3000
3024
  }
3001
3025
  var h = _(i, this.clonePosition());
3002
- return s ? (o *= n, _n(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3026
+ return s ? (o *= n, xn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3003
3027
  }, e.prototype.offset = function() {
3004
3028
  return this.position.offset;
3005
3029
  }, e.prototype.isEOF = function() {
@@ -3014,7 +3038,7 @@ var Tn = (
3014
3038
  var t = this.position.offset;
3015
3039
  if (t >= this.message.length)
3016
3040
  throw Error("out of bound");
3017
- var r = Gt(this.message, t);
3041
+ var r = jt(this.message, t);
3018
3042
  if (r === void 0)
3019
3043
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3020
3044
  return r;
@@ -3033,7 +3057,7 @@ var Tn = (
3033
3057
  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);
3034
3058
  }
3035
3059
  }, e.prototype.bumpIf = function(t) {
3036
- if (at(this.message, t, this.offset())) {
3060
+ if (ht(this.message, t, this.offset())) {
3037
3061
  for (var r = 0; r < t.length; r++)
3038
3062
  this.bump();
3039
3063
  return !0;
@@ -3055,7 +3079,7 @@ var Tn = (
3055
3079
  break;
3056
3080
  }
3057
3081
  }, e.prototype.bumpSpace = function() {
3058
- for (; !this.isEOF() && jt(this.char()); )
3082
+ for (; !this.isEOF() && Vt(this.char()); )
3059
3083
  this.bump();
3060
3084
  }, e.prototype.peek = function() {
3061
3085
  if (this.isEOF())
@@ -3068,29 +3092,30 @@ var Tn = (
3068
3092
  function Ge(e) {
3069
3093
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3070
3094
  }
3071
- function Cn(e) {
3095
+ function Hn(e) {
3072
3096
  return Ge(e) || e === 47;
3073
3097
  }
3074
- function Hn(e) {
3098
+ function An(e) {
3075
3099
  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;
3076
3100
  }
3077
- function jt(e) {
3101
+ function Vt(e) {
3078
3102
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3079
3103
  }
3080
- function An(e) {
3104
+ function Bn(e) {
3081
3105
  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;
3082
3106
  }
3083
3107
  function Fe(e) {
3084
3108
  e.forEach(function(t) {
3085
- if (delete t.location, Nt(t) || Lt(t))
3109
+ if (delete t.location, It(t) || Mt(t))
3086
3110
  for (var r in t.options)
3087
3111
  delete t.options[r].location, Fe(t.options[r].value);
3088
- else wt(t) && Mt(t.style) || (Ot(t) || Pt(t)) && $e(t.style) ? delete t.style.location : It(t) && Fe(t.children);
3112
+ else
3113
+ Pt(t) && Rt(t.style) || (Nt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : $t(t) && Fe(t.children);
3089
3114
  });
3090
3115
  }
3091
3116
  function Sn(e, t) {
3092
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3093
- var r = new Tn(e, t).parse();
3117
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3118
+ var r = new Cn(e, t).parse();
3094
3119
  if (r.err) {
3095
3120
  var n = SyntaxError(y[r.err.kind]);
3096
3121
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3101,10 +3126,10 @@ var q;
3101
3126
  (function(e) {
3102
3127
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3103
3128
  })(q || (q = {}));
3104
- var xe = (
3129
+ var Ee = (
3105
3130
  /** @class */
3106
3131
  function(e) {
3107
- Ee(t, e);
3132
+ xe(t, e);
3108
3133
  function t(r, n, i) {
3109
3134
  var s = e.call(this, r) || this;
3110
3135
  return s.code = n, s.originalMessage = i, s;
@@ -3113,48 +3138,48 @@ var xe = (
3113
3138
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3114
3139
  }, t;
3115
3140
  }(Error)
3116
- ), lt = (
3141
+ ), ft = (
3117
3142
  /** @class */
3118
3143
  function(e) {
3119
- Ee(t, e);
3144
+ xe(t, e);
3120
3145
  function t(r, n, i, s) {
3121
3146
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3122
3147
  }
3123
3148
  return t;
3124
- }(xe)
3125
- ), Bn = (
3149
+ }(Ee)
3150
+ ), wn = (
3126
3151
  /** @class */
3127
3152
  function(e) {
3128
- Ee(t, e);
3153
+ xe(t, e);
3129
3154
  function t(r, n, i) {
3130
3155
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3131
3156
  }
3132
3157
  return t;
3133
- }(xe)
3134
- ), wn = (
3158
+ }(Ee)
3159
+ ), On = (
3135
3160
  /** @class */
3136
3161
  function(e) {
3137
- Ee(t, e);
3162
+ xe(t, e);
3138
3163
  function t(r, n) {
3139
3164
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3140
3165
  }
3141
3166
  return t;
3142
- }(xe)
3167
+ }(Ee)
3143
3168
  ), O;
3144
3169
  (function(e) {
3145
3170
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3146
3171
  })(O || (O = {}));
3147
- function On(e) {
3172
+ function Pn(e) {
3148
3173
  return e.length < 2 ? e : e.reduce(function(t, r) {
3149
3174
  var n = t[t.length - 1];
3150
3175
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3151
3176
  }, []);
3152
3177
  }
3153
- function Pn(e) {
3178
+ function Nn(e) {
3154
3179
  return typeof e == "function";
3155
3180
  }
3156
3181
  function me(e, t, r, n, i, s, o) {
3157
- if (e.length === 1 && nt(e[0]))
3182
+ if (e.length === 1 && st(e[0]))
3158
3183
  return [
3159
3184
  {
3160
3185
  type: O.literal,
@@ -3163,103 +3188,103 @@ function me(e, t, r, n, i, s, o) {
3163
3188
  ];
3164
3189
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3165
3190
  var l = a[h];
3166
- if (nt(l)) {
3191
+ if (st(l)) {
3167
3192
  u.push({
3168
3193
  type: O.literal,
3169
3194
  value: l.value
3170
3195
  });
3171
3196
  continue;
3172
3197
  }
3173
- if (Yr(l)) {
3198
+ if (Kr(l)) {
3174
3199
  typeof s == "number" && u.push({
3175
3200
  type: O.literal,
3176
3201
  value: r.getNumberFormat(t).format(s)
3177
3202
  });
3178
3203
  continue;
3179
3204
  }
3180
- var c = l.value;
3181
- if (!(i && c in i))
3182
- throw new wn(c, o);
3183
- var f = i[c];
3184
- if (Jr(l)) {
3185
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3186
- type: typeof f == "string" ? O.literal : O.object,
3187
- value: f
3205
+ var f = l.value;
3206
+ if (!(i && f in i))
3207
+ throw new On(f, o);
3208
+ var c = i[f];
3209
+ if (Yr(l)) {
3210
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3211
+ type: typeof c == "string" ? O.literal : O.object,
3212
+ value: c
3188
3213
  });
3189
3214
  continue;
3190
3215
  }
3191
- if (Ot(l)) {
3216
+ if (Nt(l)) {
3192
3217
  var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3193
3218
  u.push({
3194
3219
  type: O.literal,
3195
- value: r.getDateTimeFormat(t, p).format(f)
3220
+ value: r.getDateTimeFormat(t, p).format(c)
3196
3221
  });
3197
3222
  continue;
3198
3223
  }
3199
- if (Pt(l)) {
3224
+ if (Lt(l)) {
3200
3225
  var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3201
3226
  u.push({
3202
3227
  type: O.literal,
3203
- value: r.getDateTimeFormat(t, p).format(f)
3228
+ value: r.getDateTimeFormat(t, p).format(c)
3204
3229
  });
3205
3230
  continue;
3206
3231
  }
3207
- if (wt(l)) {
3208
- var p = typeof l.style == "string" ? n.number[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
3209
- p && p.scale && (f = f * (p.scale || 1)), u.push({
3232
+ if (Pt(l)) {
3233
+ var p = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
3234
+ p && p.scale && (c = c * (p.scale || 1)), u.push({
3210
3235
  type: O.literal,
3211
- value: r.getNumberFormat(t, p).format(f)
3236
+ value: r.getNumberFormat(t, p).format(c)
3212
3237
  });
3213
3238
  continue;
3214
3239
  }
3215
- if (It(l)) {
3216
- var d = l.children, g = l.value, x = i[g];
3217
- if (!Pn(x))
3218
- throw new Bn(g, "function", o);
3219
- var m = me(d, t, r, n, i, s), C = x(m.map(function(B) {
3220
- return B.value;
3240
+ if ($t(l)) {
3241
+ var d = l.children, g = l.value, E = i[g];
3242
+ if (!Nn(E))
3243
+ throw new wn(g, "function", o);
3244
+ var m = me(d, t, r, n, i, s), C = E(m.map(function(S) {
3245
+ return S.value;
3221
3246
  }));
3222
- Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3247
+ Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(S) {
3223
3248
  return {
3224
- type: typeof B == "string" ? O.literal : O.object,
3225
- value: B
3249
+ type: typeof S == "string" ? O.literal : O.object,
3250
+ value: S
3226
3251
  };
3227
3252
  }));
3228
3253
  }
3229
- if (Nt(l)) {
3230
- var S = l.options[f] || l.options.other;
3231
- if (!S)
3232
- throw new lt(l.value, f, Object.keys(l.options), o);
3233
- u.push.apply(u, me(S.value, t, r, n, i));
3254
+ if (It(l)) {
3255
+ var B = l.options[c] || l.options.other;
3256
+ if (!B)
3257
+ throw new ft(l.value, c, Object.keys(l.options), o);
3258
+ u.push.apply(u, me(B.value, t, r, n, i));
3234
3259
  continue;
3235
3260
  }
3236
- if (Lt(l)) {
3237
- var S = l.options["=".concat(f)];
3238
- if (!S) {
3261
+ if (Mt(l)) {
3262
+ var B = l.options["=".concat(c)];
3263
+ if (!B) {
3239
3264
  if (!Intl.PluralRules)
3240
- throw new xe(`Intl.PluralRules is not available in this environment.
3265
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3241
3266
  Try polyfilling it using "@formatjs/intl-pluralrules"
3242
3267
  `, q.MISSING_INTL_API, o);
3243
- var P = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3244
- S = l.options[P] || l.options.other;
3268
+ var P = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3269
+ B = l.options[P] || l.options.other;
3245
3270
  }
3246
- if (!S)
3247
- throw new lt(l.value, f, Object.keys(l.options), o);
3248
- u.push.apply(u, me(S.value, t, r, n, i, f - (l.offset || 0)));
3271
+ if (!B)
3272
+ throw new ft(l.value, c, Object.keys(l.options), o);
3273
+ u.push.apply(u, me(B.value, t, r, n, i, c - (l.offset || 0)));
3249
3274
  continue;
3250
3275
  }
3251
3276
  }
3252
- return On(u);
3277
+ return Pn(u);
3253
3278
  }
3254
- function Nn(e, t) {
3255
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3256
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3279
+ function Ln(e, t) {
3280
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3281
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3257
3282
  }, {})) : e;
3258
3283
  }
3259
- function Ln(e, t) {
3284
+ function In(e, t) {
3260
3285
  return t ? Object.keys(e).reduce(function(r, n) {
3261
- return r[n] = Nn(e[n], t[n]), r;
3262
- }, E({}, e)) : e;
3286
+ return r[n] = Ln(e[n], t[n]), r;
3287
+ }, x({}, e)) : e;
3263
3288
  }
3264
3289
  function Oe(e) {
3265
3290
  return {
@@ -3275,39 +3300,39 @@ function Oe(e) {
3275
3300
  }
3276
3301
  };
3277
3302
  }
3278
- function In(e) {
3303
+ function Mn(e) {
3279
3304
  return e === void 0 && (e = {
3280
3305
  number: {},
3281
3306
  dateTime: {},
3282
3307
  pluralRules: {}
3283
3308
  }), {
3284
- getNumberFormat: Se(function() {
3309
+ getNumberFormat: Be(function() {
3285
3310
  for (var t, r = [], n = 0; n < arguments.length; n++)
3286
3311
  r[n] = arguments[n];
3287
3312
  return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3288
3313
  }, {
3289
3314
  cache: Oe(e.number),
3290
- strategy: Be.variadic
3315
+ strategy: Se.variadic
3291
3316
  }),
3292
- getDateTimeFormat: Se(function() {
3317
+ getDateTimeFormat: Be(function() {
3293
3318
  for (var t, r = [], n = 0; n < arguments.length; n++)
3294
3319
  r[n] = arguments[n];
3295
3320
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3296
3321
  }, {
3297
3322
  cache: Oe(e.dateTime),
3298
- strategy: Be.variadic
3323
+ strategy: Se.variadic
3299
3324
  }),
3300
- getPluralRules: Se(function() {
3325
+ getPluralRules: Be(function() {
3301
3326
  for (var t, r = [], n = 0; n < arguments.length; n++)
3302
3327
  r[n] = arguments[n];
3303
3328
  return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3304
3329
  }, {
3305
3330
  cache: Oe(e.pluralRules),
3306
- strategy: Be.variadic
3331
+ strategy: Se.variadic
3307
3332
  })
3308
3333
  };
3309
3334
  }
3310
- var Mn = (
3335
+ var $n = (
3311
3336
  /** @class */
3312
3337
  function() {
3313
3338
  function e(t, r, n, i) {
@@ -3321,8 +3346,8 @@ var Mn = (
3321
3346
  var a = s.formatToParts(h);
3322
3347
  if (a.length === 1)
3323
3348
  return a[0].value;
3324
- var l = a.reduce(function(c, f) {
3325
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3349
+ var l = a.reduce(function(f, c) {
3350
+ return !f.length || c.type !== O.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3326
3351
  }, []);
3327
3352
  return l.length <= 1 ? l[0] || "" : l;
3328
3353
  }, this.formatToParts = function(h) {
@@ -3339,13 +3364,13 @@ var Mn = (
3339
3364
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3340
3365
  var o = i || {};
3341
3366
  o.formatters;
3342
- var u = kr(o, ["formatters"]);
3343
- this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3367
+ var u = Xr(o, ["formatters"]);
3368
+ this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3344
3369
  } else
3345
3370
  this.ast = t;
3346
3371
  if (!Array.isArray(this.ast))
3347
3372
  throw new TypeError("A message must be provided as a String or AST.");
3348
- this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || In(this.formatterCache);
3373
+ this.formats = In(e.formats, n), this.formatters = i && i.formatters || Mn(this.formatterCache);
3349
3374
  }
3350
3375
  return Object.defineProperty(e, "defaultLocale", {
3351
3376
  get: function() {
@@ -3419,7 +3444,7 @@ var Mn = (
3419
3444
  }, e;
3420
3445
  }()
3421
3446
  );
3422
- function $n(e, t) {
3447
+ function Rn(e, t) {
3423
3448
  if (t == null)
3424
3449
  return;
3425
3450
  if (t in e)
@@ -3440,60 +3465,60 @@ function $n(e, t) {
3440
3465
  n = void 0;
3441
3466
  return n;
3442
3467
  }
3443
- const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), kt = (e, t) => {
3468
+ const D = {}, Un = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Xt = (e, t) => {
3444
3469
  if (t == null)
3445
3470
  return;
3446
3471
  if (t in D && e in D[t])
3447
3472
  return D[t][e];
3448
3473
  const r = ve(t);
3449
3474
  for (let n = 0; n < r.length; n++) {
3450
- const i = r[n], s = Dn(i, e);
3475
+ const i = r[n], s = Gn(i, e);
3451
3476
  if (s)
3452
- return Rn(e, t, s);
3477
+ return Un(e, t, s);
3453
3478
  }
3454
3479
  };
3455
- let Xe;
3480
+ let We;
3456
3481
  const ue = _e({});
3457
- function Un(e) {
3458
- return Xe[e] || null;
3482
+ function Dn(e) {
3483
+ return We[e] || null;
3459
3484
  }
3460
- function Vt(e) {
3461
- return e in Xe;
3485
+ function zt(e) {
3486
+ return e in We;
3462
3487
  }
3463
- function Dn(e, t) {
3464
- if (!Vt(e))
3488
+ function Gn(e, t) {
3489
+ if (!zt(e))
3465
3490
  return null;
3466
- const r = Un(e);
3467
- return $n(r, t);
3491
+ const r = Dn(e);
3492
+ return Rn(r, t);
3468
3493
  }
3469
- function Gn(e) {
3494
+ function Fn(e) {
3470
3495
  if (e == null)
3471
3496
  return;
3472
3497
  const t = ve(e);
3473
3498
  for (let r = 0; r < t.length; r++) {
3474
3499
  const n = t[r];
3475
- if (Vt(n))
3500
+ if (zt(n))
3476
3501
  return n;
3477
3502
  }
3478
3503
  }
3479
- function Xt(e, ...t) {
3480
- delete D[e], ue.update((r) => (r[e] = jr.all([r[e] || {}, ...t]), r));
3504
+ function Wt(e, ...t) {
3505
+ delete D[e], ue.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
3481
3506
  }
3482
3507
  K(
3483
3508
  [ue],
3484
3509
  ([e]) => Object.keys(e)
3485
3510
  );
3486
- ue.subscribe((e) => Xe = e);
3511
+ ue.subscribe((e) => We = e);
3487
3512
  const pe = {};
3488
- function Fn(e, t) {
3513
+ function jn(e, t) {
3489
3514
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3490
3515
  }
3491
- function zt(e) {
3516
+ function Zt(e) {
3492
3517
  return pe[e];
3493
3518
  }
3494
- function jn(e) {
3519
+ function kn(e) {
3495
3520
  return ve(e).map((t) => {
3496
- const r = zt(t);
3521
+ const r = Zt(t);
3497
3522
  return [t, r ? [...r] : []];
3498
3523
  }).filter(([, t]) => t.length > 0);
3499
3524
  }
@@ -3501,31 +3526,31 @@ function je(e) {
3501
3526
  return e == null ? !1 : ve(e).some(
3502
3527
  (t) => {
3503
3528
  var r;
3504
- return (r = zt(t)) == null ? void 0 : r.size;
3529
+ return (r = Zt(t)) == null ? void 0 : r.size;
3505
3530
  }
3506
3531
  );
3507
3532
  }
3508
- function kn(e, t) {
3533
+ function Vn(e, t) {
3509
3534
  return Promise.all(
3510
- t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
3511
- ).then((n) => Xt(e, ...n));
3535
+ t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
3536
+ ).then((n) => Wt(e, ...n));
3512
3537
  }
3513
3538
  const re = {};
3514
- function Wt(e) {
3539
+ function Qt(e) {
3515
3540
  if (!je(e))
3516
3541
  return e in re ? re[e] : Promise.resolve();
3517
- const t = jn(e);
3542
+ const t = kn(e);
3518
3543
  return re[e] = Promise.all(
3519
3544
  t.map(
3520
- ([r, n]) => kn(r, n)
3545
+ ([r, n]) => Vn(r, n)
3521
3546
  )
3522
3547
  ).then(() => {
3523
3548
  if (je(e))
3524
- return Wt(e);
3549
+ return Qt(e);
3525
3550
  delete re[e];
3526
3551
  }), re[e];
3527
3552
  }
3528
- const Vn = {
3553
+ const Xn = {
3529
3554
  number: {
3530
3555
  scientific: { notation: "scientific" },
3531
3556
  engineering: { notation: "engineering" },
@@ -3554,34 +3579,34 @@ const Vn = {
3554
3579
  timeZoneName: "short"
3555
3580
  }
3556
3581
  }
3557
- }, Xn = {
3582
+ }, zn = {
3558
3583
  fallbackLocale: null,
3559
3584
  loadingDelay: 200,
3560
- formats: Vn,
3585
+ formats: Xn,
3561
3586
  warnOnMissingMessages: !0,
3562
3587
  handleMissingMessage: void 0,
3563
3588
  ignoreTag: !0
3564
- }, zn = Xn;
3589
+ }, Wn = zn;
3565
3590
  function J() {
3566
- return zn;
3591
+ return Wn;
3567
3592
  }
3568
3593
  const Pe = _e(!1);
3569
- var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3594
+ var Zn = Object.defineProperty, Qn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kn = (e, t) => {
3570
3595
  for (var r in t || (t = {}))
3571
- qn.call(t, r) && ct(e, r, t[r]);
3572
- if (ft)
3573
- for (var r of ft(t))
3574
- Jn.call(t, r) && ct(e, r, t[r]);
3596
+ Jn.call(t, r) && mt(e, r, t[r]);
3597
+ if (gt)
3598
+ for (var r of gt(t))
3599
+ Yn.call(t, r) && mt(e, r, t[r]);
3575
3600
  return e;
3576
- }, Kn = (e, t) => Zn(e, Qn(t));
3601
+ }, ei = (e, t) => Qn(e, qn(t));
3577
3602
  let ke;
3578
3603
  const be = _e(null);
3579
- function gt(e) {
3604
+ function pt(e) {
3580
3605
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3581
3606
  }
3582
3607
  function ve(e, t = J().fallbackLocale) {
3583
- const r = gt(e);
3584
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3608
+ const r = pt(e);
3609
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3585
3610
  }
3586
3611
  function k() {
3587
3612
  return ke != null ? ke : void 0;
@@ -3589,22 +3614,22 @@ function k() {
3589
3614
  be.subscribe((e) => {
3590
3615
  ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3591
3616
  });
3592
- const ei = (e) => {
3593
- if (e && Gn(e) && je(e)) {
3617
+ const ti = (e) => {
3618
+ if (e && Fn(e) && je(e)) {
3594
3619
  const { loadingDelay: t } = J();
3595
3620
  let r;
3596
3621
  return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
3597
3622
  () => Pe.set(!0),
3598
3623
  t
3599
- ) : Pe.set(!0), Wt(e).then(() => {
3624
+ ) : Pe.set(!0), Qt(e).then(() => {
3600
3625
  be.set(e);
3601
3626
  }).finally(() => {
3602
3627
  clearTimeout(r), Pe.set(!1);
3603
3628
  });
3604
3629
  }
3605
3630
  return be.set(e);
3606
- }, ee = Kn(Yn({}, be), {
3607
- set: ei
3631
+ }, ee = ei(Kn({}, be), {
3632
+ set: ti
3608
3633
  }), Te = (e) => {
3609
3634
  const t = /* @__PURE__ */ Object.create(null);
3610
3635
  return (n) => {
@@ -3612,20 +3637,20 @@ const ei = (e) => {
3612
3637
  return i in t ? t[i] : t[i] = e(n);
3613
3638
  };
3614
3639
  };
3615
- var ti = Object.defineProperty, ye = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3640
+ var ri = Object.defineProperty, ye = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3616
3641
  for (var r in t || (t = {}))
3617
- Zt.call(t, r) && mt(e, r, t[r]);
3642
+ qt.call(t, r) && dt(e, r, t[r]);
3618
3643
  if (ye)
3619
3644
  for (var r of ye(t))
3620
- Qt.call(t, r) && mt(e, r, t[r]);
3645
+ Jt.call(t, r) && dt(e, r, t[r]);
3621
3646
  return e;
3622
3647
  }, te = (e, t) => {
3623
3648
  var r = {};
3624
3649
  for (var n in e)
3625
- Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3650
+ qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3626
3651
  if (e != null && ye)
3627
3652
  for (var n of ye(e))
3628
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3653
+ t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3629
3654
  return r;
3630
3655
  };
3631
3656
  const oe = (e, t) => {
@@ -3633,21 +3658,21 @@ const oe = (e, t) => {
3633
3658
  if (e in r && t in r[e])
3634
3659
  return r[e][t];
3635
3660
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3636
- }, ri = Te(
3661
+ }, ni = Te(
3637
3662
  (e) => {
3638
3663
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3639
3664
  if (r == null)
3640
3665
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3641
3666
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3642
3667
  }
3643
- ), ni = Te(
3668
+ ), ii = Te(
3644
3669
  (e) => {
3645
3670
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3646
3671
  if (r == null)
3647
3672
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3648
3673
  return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3649
3674
  }
3650
- ), ii = Te(
3675
+ ), si = Te(
3651
3676
  (e) => {
3652
3677
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3653
3678
  if (r == null)
@@ -3656,33 +3681,33 @@ const oe = (e, t) => {
3656
3681
  );
3657
3682
  return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3658
3683
  }
3659
- ), si = (e = {}) => {
3684
+ ), oi = (e = {}) => {
3660
3685
  var t = e, {
3661
3686
  locale: r = k()
3662
3687
  } = t, n = te(t, [
3663
3688
  "locale"
3664
3689
  ]);
3665
- return ri(ze({ locale: r }, n));
3666
- }, oi = (e = {}) => {
3690
+ return ni(Ze({ locale: r }, n));
3691
+ }, ai = (e = {}) => {
3667
3692
  var t = e, {
3668
3693
  locale: r = k()
3669
3694
  } = t, n = te(t, [
3670
3695
  "locale"
3671
3696
  ]);
3672
- return ni(ze({ locale: r }, n));
3673
- }, ai = (e = {}) => {
3697
+ return ii(Ze({ locale: r }, n));
3698
+ }, ui = (e = {}) => {
3674
3699
  var t = e, {
3675
3700
  locale: r = k()
3676
3701
  } = t, n = te(t, [
3677
3702
  "locale"
3678
3703
  ]);
3679
- return ii(ze({ locale: r }, n));
3680
- }, ui = Te(
3704
+ return si(Ze({ locale: r }, n));
3705
+ }, hi = Te(
3681
3706
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3682
- (e, t = k()) => new Mn(e, t, J().formats, {
3707
+ (e, t = k()) => new $n(e, t, J().formats, {
3683
3708
  ignoreTag: J().ignoreTag
3684
3709
  })
3685
- ), hi = (e, t = {}) => {
3710
+ ), li = (e, t = {}) => {
3686
3711
  var r, n, i, s;
3687
3712
  let o = t;
3688
3713
  typeof e == "object" && (o = e, e = o.id);
@@ -3695,7 +3720,7 @@ const oe = (e, t) => {
3695
3720
  throw new Error(
3696
3721
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3697
3722
  );
3698
- let l = kt(e, h);
3723
+ let l = Xt(e, h);
3699
3724
  if (!l)
3700
3725
  l = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3701
3726
  else if (typeof l != "string")
@@ -3704,28 +3729,28 @@ const oe = (e, t) => {
3704
3729
  ), l;
3705
3730
  if (!u)
3706
3731
  return l;
3707
- let c = l;
3732
+ let f = l;
3708
3733
  try {
3709
- c = ui(l, h).format(u);
3710
- } catch (f) {
3711
- f instanceof Error && console.warn(
3734
+ f = hi(l, h).format(u);
3735
+ } catch (c) {
3736
+ c instanceof Error && console.warn(
3712
3737
  `[svelte-i18n] Message "${e}" has syntax error:`,
3713
- f.message
3738
+ c.message
3714
3739
  );
3715
3740
  }
3716
- return c;
3717
- }, li = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), ci = (e, t) => si(t).format(e), gi = (e, t = k()) => kt(e, t), mi = K([ee, ue], () => hi);
3718
- K([ee], () => li);
3719
- K([ee], () => fi);
3741
+ return f;
3742
+ }, ci = (e, t) => ui(t).format(e), fi = (e, t) => ai(t).format(e), gi = (e, t) => oi(t).format(e), mi = (e, t = k()) => Xt(e, t), pi = K([ee, ue], () => li);
3720
3743
  K([ee], () => ci);
3721
- K([ee, ue], () => gi);
3722
- function pi(e, t) {
3744
+ K([ee], () => fi);
3745
+ K([ee], () => gi);
3746
+ K([ee, ue], () => mi);
3747
+ function di(e, t) {
3723
3748
  if (e) {
3724
3749
  const r = document.createElement("style");
3725
3750
  r.innerHTML = t, e.appendChild(r);
3726
3751
  }
3727
3752
  }
3728
- function di(e, t) {
3753
+ function bi(e, t) {
3729
3754
  const r = new URL(t);
3730
3755
  fetch(r.href).then((n) => n.text()).then((n) => {
3731
3756
  const i = document.createElement("style");
@@ -3734,7 +3759,7 @@ function di(e, t) {
3734
3759
  console.error("There was an error while trying to load client styling from URL", n);
3735
3760
  });
3736
3761
  }
3737
- function bi(e, t, r) {
3762
+ function yi(e, t, r) {
3738
3763
  if (window.emMessageBus) {
3739
3764
  const n = document.createElement("style");
3740
3765
  window.emMessageBus.subscribe(t, (i) => {
@@ -3742,13 +3767,13 @@ function bi(e, t, r) {
3742
3767
  });
3743
3768
  }
3744
3769
  }
3745
- function pt(e, t) {
3746
- Xt(e, t);
3770
+ function bt(e, t) {
3771
+ Wt(e, t);
3747
3772
  }
3748
- function yi(e) {
3773
+ function _i(e) {
3749
3774
  ee.set(e);
3750
3775
  }
3751
- const dt = {
3776
+ const yt = {
3752
3777
  en: {
3753
3778
  topCategories: "Top Categories",
3754
3779
  otherCategories: "Other Categories",
@@ -3858,14 +3883,14 @@ const dt = {
3858
3883
  games: "games"
3859
3884
  }
3860
3885
  };
3861
- function _i(e) {
3862
- or(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3886
+ function xi(e) {
3887
+ ur(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3863
3888
  }
3864
- function bt(e, t, r) {
3889
+ function _t(e, t, r) {
3865
3890
  const n = e.slice();
3866
3891
  return n[23] = t[r], n;
3867
3892
  }
3868
- function yt(e, t, r) {
3893
+ function xt(e, t, r) {
3869
3894
  const n = e.slice();
3870
3895
  return n[23] = t[r], n;
3871
3896
  }
@@ -3876,66 +3901,66 @@ function Ei(e) {
3876
3901
  ), i, s, o, u, h = (
3877
3902
  /*$_*/
3878
3903
  e[5]("otherCategories") + ""
3879
- ), a, l, c = fe(
3904
+ ), a, l, f = ce(
3880
3905
  /*topCategories*/
3881
3906
  e[3]
3882
- ), f = [];
3883
- for (let g = 0; g < c.length; g += 1)
3884
- f[g] = _t(yt(e, c, g));
3885
- let p = fe(
3907
+ ), c = [];
3908
+ for (let g = 0; g < f.length; g += 1)
3909
+ c[g] = Et(xt(e, f, g));
3910
+ let p = ce(
3886
3911
  /*otherCategories*/
3887
3912
  e[4]
3888
3913
  ), d = [];
3889
3914
  for (let g = 0; g < p.length; g += 1)
3890
- d[g] = Et(bt(e, p, g));
3915
+ d[g] = vt(_t(e, p, g));
3891
3916
  return {
3892
3917
  c() {
3893
3918
  t = w("div"), r = w("h4"), i = U(n), s = R();
3894
- for (let g = 0; g < f.length; g += 1)
3895
- f[g].c();
3919
+ for (let g = 0; g < c.length; g += 1)
3920
+ c[g].c();
3896
3921
  o = R(), u = w("h4"), a = U(h), l = R();
3897
3922
  for (let g = 0; g < d.length; g += 1)
3898
3923
  d[g].c();
3899
3924
  H(r, "class", "CategoryTitle"), H(u, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
3900
3925
  },
3901
- m(g, x) {
3902
- Y(g, t, x), v(t, r), v(r, i), v(t, s);
3903
- for (let m = 0; m < f.length; m += 1)
3904
- f[m] && f[m].m(t, null);
3926
+ m(g, E) {
3927
+ Y(g, t, E), v(t, r), v(r, i), v(t, s);
3928
+ for (let m = 0; m < c.length; m += 1)
3929
+ c[m] && c[m].m(t, null);
3905
3930
  v(t, o), v(t, u), v(u, a), v(t, l);
3906
3931
  for (let m = 0; m < d.length; m += 1)
3907
3932
  d[m] && d[m].m(t, null);
3908
3933
  },
3909
- p(g, x) {
3910
- if (x & /*$_*/
3934
+ p(g, E) {
3935
+ if (E & /*$_*/
3911
3936
  32 && n !== (n = /*$_*/
3912
- g[5]("topCategories") + "") && G(i, n), x & /*activecategory, topCategories, openGameCategory, $_*/
3937
+ g[5]("topCategories") + "") && G(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3913
3938
  105) {
3914
- c = fe(
3939
+ f = ce(
3915
3940
  /*topCategories*/
3916
3941
  g[3]
3917
3942
  );
3918
3943
  let m;
3919
- for (m = 0; m < c.length; m += 1) {
3920
- const C = yt(g, c, m);
3921
- f[m] ? f[m].p(C, x) : (f[m] = _t(C), f[m].c(), f[m].m(t, o));
3944
+ for (m = 0; m < f.length; m += 1) {
3945
+ const C = xt(g, f, m);
3946
+ c[m] ? c[m].p(C, E) : (c[m] = Et(C), c[m].c(), c[m].m(t, o));
3922
3947
  }
3923
- for (; m < f.length; m += 1)
3924
- f[m].d(1);
3925
- f.length = c.length;
3948
+ for (; m < c.length; m += 1)
3949
+ c[m].d(1);
3950
+ c.length = f.length;
3926
3951
  }
3927
- if (x & /*$_*/
3952
+ if (E & /*$_*/
3928
3953
  32 && h !== (h = /*$_*/
3929
- g[5]("otherCategories") + "") && G(a, h), x & /*activecategory, otherCategories, openGameCategory, $_*/
3954
+ g[5]("otherCategories") + "") && G(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
3930
3955
  113) {
3931
- p = fe(
3956
+ p = ce(
3932
3957
  /*otherCategories*/
3933
3958
  g[4]
3934
3959
  );
3935
3960
  let m;
3936
3961
  for (m = 0; m < p.length; m += 1) {
3937
- const C = bt(g, p, m);
3938
- d[m] ? d[m].p(C, x) : (d[m] = Et(C), d[m].c(), d[m].m(t, null));
3962
+ const C = _t(g, p, m);
3963
+ d[m] ? d[m].p(C, E) : (d[m] = vt(C), d[m].c(), d[m].m(t, null));
3939
3964
  }
3940
3965
  for (; m < d.length; m += 1)
3941
3966
  d[m].d(1);
@@ -3943,11 +3968,11 @@ function Ei(e) {
3943
3968
  }
3944
3969
  },
3945
3970
  d(g) {
3946
- g && j(t), et(f, g), et(d, g);
3971
+ g && j(t), rt(c, g), rt(d, g);
3947
3972
  }
3948
3973
  };
3949
3974
  }
3950
- function xi(e) {
3975
+ function vi(e) {
3951
3976
  let t;
3952
3977
  return {
3953
3978
  c() {
@@ -3962,17 +3987,17 @@ function xi(e) {
3962
3987
  }
3963
3988
  };
3964
3989
  }
3965
- function _t(e) {
3990
+ function Et(e) {
3966
3991
  let t, r, n, i, s, o, u, h = (
3967
3992
  /*category*/
3968
3993
  e[23].name + ""
3969
- ), a, l, c, f = (
3994
+ ), a, l, f, c = (
3970
3995
  /*category*/
3971
3996
  e[23].games.count + ""
3972
3997
  ), p, d, g = (
3973
3998
  /*$_*/
3974
3999
  e[5]("games") + ""
3975
- ), x, m, C, S;
4000
+ ), E, m, C, B;
3976
4001
  function P() {
3977
4002
  return (
3978
4003
  /*click_handler*/
@@ -3984,48 +4009,48 @@ function _t(e) {
3984
4009
  }
3985
4010
  return {
3986
4011
  c() {
3987
- t = w("div"), r = w("img"), s = R(), o = w("div"), u = w("p"), a = U(h), l = R(), c = w("p"), p = U(f), d = R(), x = U(g), de(r.src, n = /*category*/
4012
+ t = w("div"), r = w("img"), s = R(), o = w("div"), u = w("p"), a = U(h), l = R(), f = w("p"), p = U(c), d = R(), E = U(g), de(r.src, n = /*category*/
3988
4013
  e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
3989
4014
  e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
3990
4015
  (e[0] === /*category*/
3991
4016
  e[23].id ? "Active" : ""));
3992
4017
  },
3993
- m(B, A) {
3994
- Y(B, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, x), C || (S = Ct(t, "click", P), C = !0);
4018
+ m(S, A) {
4019
+ Y(S, t, A), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, E), C || (B = At(t, "click", P), C = !0);
3995
4020
  },
3996
- p(B, A) {
3997
- e = B, A & /*topCategories*/
4021
+ p(S, A) {
4022
+ e = S, A & /*topCategories*/
3998
4023
  8 && !de(r.src, n = /*category*/
3999
4024
  e[23].icon) && H(r, "src", n), A & /*topCategories*/
4000
4025
  8 && i !== (i = /*category*/
4001
4026
  e[23].name) && H(r, "alt", i), A & /*topCategories*/
4002
4027
  8 && h !== (h = /*category*/
4003
4028
  e[23].name + "") && G(a, h), A & /*topCategories*/
4004
- 8 && f !== (f = /*category*/
4005
- e[23].games.count + "") && G(p, f), A & /*$_*/
4029
+ 8 && c !== (c = /*category*/
4030
+ e[23].games.count + "") && G(p, c), A & /*$_*/
4006
4031
  32 && g !== (g = /*$_*/
4007
- e[5]("games") + "") && G(x, g), A & /*activecategory, topCategories*/
4032
+ e[5]("games") + "") && G(E, g), A & /*activecategory, topCategories*/
4008
4033
  9 && m !== (m = "Category " + /*activecategory*/
4009
4034
  (e[0] === /*category*/
4010
4035
  e[23].id ? "Active" : "")) && H(t, "class", m);
4011
4036
  },
4012
- d(B) {
4013
- B && j(t), C = !1, S();
4037
+ d(S) {
4038
+ S && j(t), C = !1, B();
4014
4039
  }
4015
4040
  };
4016
4041
  }
4017
- function Et(e) {
4042
+ function vt(e) {
4018
4043
  let t, r, n, i, s, o, u, h = (
4019
4044
  /*category*/
4020
4045
  e[23].name + ""
4021
- ), a, l, c, f = (
4046
+ ), a, l, f, c = (
4022
4047
  /*category*/
4023
4048
  e[23].games.count + ""
4024
4049
  ), p, d, g = (
4025
4050
  /*$_*/
4026
4051
  e[5]("games") + ""
4027
- ), x, m, C, S, P;
4028
- function B() {
4052
+ ), E, m, C, B, P;
4053
+ function S() {
4029
4054
  return (
4030
4055
  /*click_handler_1*/
4031
4056
  e[16](
@@ -4036,14 +4061,14 @@ function Et(e) {
4036
4061
  }
4037
4062
  return {
4038
4063
  c() {
4039
- t = w("div"), r = w("img"), s = R(), o = w("div"), u = w("p"), a = U(h), l = R(), c = w("p"), p = U(f), d = R(), x = U(g), m = R(), de(r.src, n = /*category*/
4064
+ t = w("div"), r = w("img"), s = R(), o = w("div"), u = w("p"), a = U(h), l = R(), f = w("p"), p = U(c), d = R(), E = U(g), m = R(), de(r.src, n = /*category*/
4040
4065
  e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
4041
4066
  e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", C = "Category " + /*activecategory*/
4042
4067
  (e[0] === /*category*/
4043
4068
  e[23].id ? "Active" : ""));
4044
4069
  },
4045
4070
  m(A, N) {
4046
- Y(A, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, x), v(t, m), S || (P = Ct(t, "click", B), S = !0);
4071
+ Y(A, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, E), v(t, m), B || (P = At(t, "click", S), B = !0);
4047
4072
  },
4048
4073
  p(A, N) {
4049
4074
  e = A, N & /*otherCategories*/
@@ -4053,25 +4078,25 @@ function Et(e) {
4053
4078
  e[23].name) && H(r, "alt", i), N & /*otherCategories*/
4054
4079
  16 && h !== (h = /*category*/
4055
4080
  e[23].name + "") && G(a, h), N & /*otherCategories*/
4056
- 16 && f !== (f = /*category*/
4057
- e[23].games.count + "") && G(p, f), N & /*$_*/
4081
+ 16 && c !== (c = /*category*/
4082
+ e[23].games.count + "") && G(p, c), N & /*$_*/
4058
4083
  32 && g !== (g = /*$_*/
4059
- e[5]("games") + "") && G(x, g), N & /*activecategory, otherCategories*/
4084
+ e[5]("games") + "") && G(E, g), N & /*activecategory, otherCategories*/
4060
4085
  17 && C !== (C = "Category " + /*activecategory*/
4061
4086
  (e[0] === /*category*/
4062
4087
  e[23].id ? "Active" : "")) && H(t, "class", C);
4063
4088
  },
4064
4089
  d(A) {
4065
- A && j(t), S = !1, P();
4090
+ A && j(t), B = !1, P();
4066
4091
  }
4067
4092
  };
4068
4093
  }
4069
- function vi(e) {
4094
+ function Ti(e) {
4070
4095
  let t;
4071
4096
  function r(s, o) {
4072
4097
  return (
4073
4098
  /*isLoading*/
4074
- s[2] ? xi : Ei
4099
+ s[2] ? vi : Ei
4075
4100
  );
4076
4101
  }
4077
4102
  let n = r(e), i = n(e);
@@ -4092,64 +4117,64 @@ function vi(e) {
4092
4117
  }
4093
4118
  };
4094
4119
  }
4095
- function Ti(e, t, r) {
4120
+ function Ci(e, t, r) {
4096
4121
  let n;
4097
- sr(e, mi, (b) => r(5, n = b));
4098
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4122
+ ar(e, pi, (b) => r(5, n = b));
4123
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, p, d = !1;
4099
4124
  const g = [];
4100
- let x = [], m = [];
4101
- Object.keys(dt).forEach((b) => {
4102
- pt(b, dt[b]);
4125
+ let E = [], m = [];
4126
+ Object.keys(yt).forEach((b) => {
4127
+ bt(b, yt[b]);
4103
4128
  });
4104
4129
  const C = () => {
4105
- fetch(c).then(($) => $.json()).then(($) => {
4130
+ fetch(f).then(($) => $.json()).then(($) => {
4106
4131
  Object.keys($).forEach((he) => {
4107
- pt(he, $[he]);
4132
+ bt(he, $[he]);
4108
4133
  });
4109
4134
  }).catch(($) => {
4110
4135
  console.log($);
4111
4136
  });
4112
- }, S = () => {
4137
+ }, B = () => {
4113
4138
  r(2, d = !0);
4114
4139
  const b = new URL(`${i}/v1/casino/groups/${s}`);
4115
4140
  b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
4116
4141
  r(2, d = !1);
4117
4142
  const he = h.split(",").map((F) => F.trim());
4118
4143
  g.push(...$.items);
4119
- const We = g.filter((F) => !he.some((Yt) => {
4120
- var Ze;
4121
- return ((Ze = F.flags) == null ? void 0 : Ze.indexOf(Yt)) >= 0;
4144
+ const Qe = g.filter((F) => !he.some((er) => {
4145
+ var qe;
4146
+ return ((qe = F.flags) == null ? void 0 : qe.indexOf(er)) >= 0;
4122
4147
  }));
4123
- r(3, x = We.filter((F) => F.isTopCategory === !0)), r(4, m = We.filter((F) => F.isTopCategory === !1));
4148
+ r(3, E = Qe.filter((F) => F.isTopCategory === !0)), r(4, m = Qe.filter((F) => F.isTopCategory === !1));
4124
4149
  });
4125
4150
  }, P = (b) => {
4126
4151
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4127
- }, B = () => {
4128
- yi(o);
4152
+ }, S = () => {
4153
+ _i(o);
4129
4154
  };
4130
- cr(() => () => {
4155
+ mr(() => () => {
4131
4156
  });
4132
4157
  const A = (b) => P(b.id), N = (b) => P(b.id);
4133
- function Jt(b) {
4158
+ function Kt(b) {
4134
4159
  Ne[b ? "unshift" : "push"](() => {
4135
4160
  p = b, r(1, p);
4136
4161
  });
4137
4162
  }
4138
4163
  return e.$$set = (b) => {
4139
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4164
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, f = b.translationurl), "mbsource" in b && r(14, c = b.mbsource);
4140
4165
  }, e.$$.update = () => {
4141
4166
  e.$$.dirty & /*endpoint, datasource*/
4142
- 384 && i && s && S(), e.$$.dirty & /*translationurl*/
4143
- 8192 && c && C(), e.$$.dirty & /*lang*/
4144
- 512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4145
- 2050 && a && p && pi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4146
- 4098 && l && p && di(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4147
- 16386 && f && p && bi(p, `${f}.Style`);
4167
+ 384 && i && s && B(), e.$$.dirty & /*translationurl*/
4168
+ 8192 && f && C(), e.$$.dirty & /*lang*/
4169
+ 512 && o && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4170
+ 2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4171
+ 4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4172
+ 16386 && c && p && yi(p, `${c}.Style`);
4148
4173
  }, [
4149
4174
  u,
4150
4175
  p,
4151
4176
  d,
4152
- x,
4177
+ E,
4153
4178
  m,
4154
4179
  n,
4155
4180
  P,
@@ -4159,21 +4184,21 @@ function Ti(e, t, r) {
4159
4184
  h,
4160
4185
  a,
4161
4186
  l,
4162
- c,
4163
4187
  f,
4188
+ c,
4164
4189
  A,
4165
4190
  N,
4166
- Jt
4191
+ Kt
4167
4192
  ];
4168
4193
  }
4169
- class qt extends Cr {
4194
+ class Yt extends Ar {
4170
4195
  constructor(t) {
4171
- super(), vr(
4196
+ super(), Cr(
4172
4197
  this,
4173
4198
  t,
4199
+ Ci,
4174
4200
  Ti,
4175
- vi,
4176
- vt,
4201
+ Ct,
4177
4202
  {
4178
4203
  endpoint: 7,
4179
4204
  datasource: 8,
@@ -4185,7 +4210,7 @@ class qt extends Cr {
4185
4210
  translationurl: 13,
4186
4211
  mbsource: 14
4187
4212
  },
4188
- _i
4213
+ xi
4189
4214
  );
4190
4215
  }
4191
4216
  get endpoint() {
@@ -4243,42 +4268,42 @@ class qt extends Cr {
4243
4268
  this.$$set({ mbsource: t }), M();
4244
4269
  }
4245
4270
  }
4246
- Tr(qt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4271
+ Hr(Yt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4247
4272
  const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4248
4273
  __proto__: null,
4249
- default: qt
4274
+ default: Yt
4250
4275
  }, Symbol.toStringTag, { value: "Module" }));
4251
4276
  export {
4252
4277
  ee as $,
4253
- et as A,
4254
- Hi as B,
4278
+ Ai as A,
4279
+ rt as B,
4255
4280
  de as C,
4256
4281
  Si as D,
4257
- Cr as S,
4258
- Xt as a,
4259
- or as b,
4260
- Tr as c,
4261
- j as d,
4262
- G as e,
4282
+ Ar as S,
4283
+ Wt as a,
4284
+ ur as b,
4285
+ Hr as c,
4286
+ R as d,
4287
+ w as e,
4263
4288
  M as f,
4264
4289
  H as g,
4265
- Ai as h,
4266
- vr as i,
4290
+ Bi as h,
4291
+ Cr as i,
4267
4292
  Y as j,
4268
4293
  v as k,
4269
- Ct as l,
4270
- w as m,
4294
+ At as l,
4295
+ G as m,
4271
4296
  I as n,
4272
- R as o,
4273
- sr as p,
4274
- cr as q,
4297
+ j as o,
4298
+ ar as p,
4299
+ mr as q,
4275
4300
  ae as r,
4276
- vt as s,
4301
+ Ct as s,
4277
4302
  U as t,
4278
- Ne as u,
4279
- mi as v,
4280
- pi as w,
4303
+ bi as u,
4304
+ yi as v,
4305
+ Ne as w,
4281
4306
  di as x,
4282
- bi as y,
4283
- fe as z
4307
+ pi as y,
4308
+ ce as z
4284
4309
  };