@everymatrix/casino-collections-providers 1.70.1 → 1.71.1

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,57 +1,57 @@
1
- var zr = Object.defineProperty, Zr = Object.defineProperties;
2
- var Qr = Object.getOwnPropertyDescriptors;
3
- var _t = Object.getOwnPropertySymbols;
4
- var Jr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable;
5
- var Ne = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
1
+ var Wr = Object.defineProperty, zr = Object.defineProperties;
2
+ var Zr = Object.getOwnPropertyDescriptors;
3
+ var vt = Object.getOwnPropertySymbols;
4
+ var Qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
5
+ var Le = (e, t, r) => t in e ? Wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Jr.call(t, r) && Ne(e, r, t[r]);
8
- if (_t)
9
- for (var r of _t(t))
10
- qr.call(t, r) && Ne(e, r, t[r]);
7
+ Qr.call(t, r) && Le(e, r, t[r]);
8
+ if (vt)
9
+ for (var r of vt(t))
10
+ Jr.call(t, r) && Le(e, r, t[r]);
11
11
  return e;
12
- }, xt = (e, t) => Zr(e, Qr(t));
13
- var N = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var St = (e, t, r) => new Promise((n, i) => {
12
+ }, _t = (e, t) => zr(e, Zr(t));
13
+ var N = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Et = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
18
- } catch (l) {
19
- i(l);
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
21
  }, s = (h) => {
22
22
  try {
23
23
  a(r.throw(h));
24
- } catch (l) {
25
- i(l);
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function I() {
31
31
  }
32
- function er(e) {
32
+ function Yt(e) {
33
33
  return e();
34
34
  }
35
- function wt() {
35
+ function xt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function te(e) {
39
- e.forEach(er);
38
+ function re(e) {
39
+ e.forEach(Yt);
40
40
  }
41
- function at(e) {
41
+ function nt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function tr(e, t) {
44
+ function Kt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let fe;
48
48
  function ye(e, t) {
49
49
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
50
50
  }
51
- function Yr(e) {
51
+ function qr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function rr(e, ...t) {
54
+ function er(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function rr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Kr(e, t, r) {
64
- e.$$.on_destroy.push(rr(t, r));
63
+ function Yr(e, t, r) {
64
+ e.$$.on_destroy.push(er(t, r));
65
65
  }
66
66
  function C(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function en(e, t, r) {
70
- const n = tn(e);
69
+ function Kr(e, t, r) {
70
+ const n = en(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = P("style");
73
- i.id = t, i.textContent = r, rn(n, i);
73
+ i.id = t, i.textContent = r, tn(n, i);
74
74
  }
75
75
  }
76
- function tn(e) {
76
+ function en(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,54 +83,54 @@ function tn(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function rn(e, t) {
86
+ function tn(e, t) {
87
87
  return C(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function U(e, t, r) {
93
+ function G(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
96
  function R(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function nr(e, t) {
99
+ function tr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
103
  function P(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function He(e) {
106
+ function Te(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
109
  function V() {
110
- return He(" ");
110
+ return Te(" ");
111
111
  }
112
112
  function _e(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function nn(e) {
115
+ function rn(e) {
116
116
  return function(t) {
117
117
  return t.stopPropagation(), e.call(this, t);
118
118
  };
119
119
  }
120
- function E(e, t, r) {
120
+ function x(e, t, r) {
121
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
122
  }
123
- function on(e) {
123
+ function nn(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
- function ut(e, t) {
126
+ function it(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function Me(e, t, r, n) {
130
+ function Ie(e, t, r, n) {
131
131
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
132
132
  }
133
- function sn(e) {
133
+ function on(e) {
134
134
  const t = {};
135
135
  return e.childNodes.forEach(
136
136
  /** @param {Element} node */
@@ -139,98 +139,98 @@ function sn(e) {
139
139
  }
140
140
  ), t;
141
141
  }
142
- let ae;
143
- function se(e) {
144
- ae = e;
142
+ let le;
143
+ function ae(e) {
144
+ le = e;
145
145
  }
146
- function an() {
147
- if (!ae)
146
+ function sn() {
147
+ if (!le)
148
148
  throw new Error("Function called outside component initialization");
149
- return ae;
149
+ return le;
150
150
  }
151
- function un(e) {
152
- an().$$.on_mount.push(e);
151
+ function an(e) {
152
+ sn().$$.on_mount.push(e);
153
153
  }
154
154
  const Q = [], Ee = [];
155
155
  let J = [];
156
- const Tt = [], ln = /* @__PURE__ */ Promise.resolve();
157
- let Ve = !1;
158
- function hn() {
159
- Ve || (Ve = !0, ln.then(M));
156
+ const St = [], ln = /* @__PURE__ */ Promise.resolve();
157
+ let je = !1;
158
+ function un() {
159
+ je || (je = !0, ln.then(M));
160
160
  }
161
- function Xe(e) {
161
+ function ke(e) {
162
162
  J.push(e);
163
163
  }
164
- const Re = /* @__PURE__ */ new Set();
164
+ const Ne = /* @__PURE__ */ new Set();
165
165
  let z = 0;
166
166
  function M() {
167
167
  if (z !== 0)
168
168
  return;
169
- const e = ae;
169
+ const e = le;
170
170
  do {
171
171
  try {
172
172
  for (; z < Q.length; ) {
173
173
  const t = Q[z];
174
- z++, se(t), cn(t.$$);
174
+ z++, ae(t), hn(t.$$);
175
175
  }
176
176
  } catch (t) {
177
177
  throw Q.length = 0, z = 0, t;
178
178
  }
179
- for (se(null), Q.length = 0, z = 0; Ee.length; )
179
+ for (ae(null), Q.length = 0, z = 0; Ee.length; )
180
180
  Ee.pop()();
181
181
  for (let t = 0; t < J.length; t += 1) {
182
182
  const r = J[t];
183
- Re.has(r) || (Re.add(r), r());
183
+ Ne.has(r) || (Ne.add(r), r());
184
184
  }
185
185
  J.length = 0;
186
186
  } while (Q.length);
187
- for (; Tt.length; )
188
- Tt.pop()();
189
- Ve = !1, Re.clear(), se(e);
187
+ for (; St.length; )
188
+ St.pop()();
189
+ je = !1, Ne.clear(), ae(e);
190
190
  }
191
- function cn(e) {
191
+ function hn(e) {
192
192
  if (e.fragment !== null) {
193
- e.update(), te(e.before_update);
193
+ e.update(), re(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
196
196
  }
197
197
  }
198
- function fn(e) {
198
+ function cn(e) {
199
199
  const t = [], r = [];
200
200
  J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
201
201
  }
202
- const dn = /* @__PURE__ */ new Set();
203
- function pn(e, t) {
204
- e && e.i && (dn.delete(e), e.i(t));
202
+ const fn = /* @__PURE__ */ new Set();
203
+ function dn(e, t) {
204
+ e && e.i && (fn.delete(e), e.i(t));
205
205
  }
206
206
  function xe(e) {
207
207
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
208
208
  }
209
- function mn(e, t, r) {
209
+ function pn(e, t, r) {
210
210
  const { fragment: n, after_update: i } = e.$$;
211
- n && n.m(t, r), Xe(() => {
212
- const o = e.$$.on_mount.map(er).filter(at);
213
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
214
- }), i.forEach(Xe);
211
+ n && n.m(t, r), ke(() => {
212
+ const o = e.$$.on_mount.map(Yt).filter(nt);
213
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
214
+ }), i.forEach(ke);
215
215
  }
216
- function bn(e, t) {
216
+ function mn(e, t) {
217
217
  const r = e.$$;
218
- r.fragment !== null && (fn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
+ r.fragment !== null && (cn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
219
  }
220
- function gn(e, t) {
221
- e.$$.dirty[0] === -1 && (Q.push(e), hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
+ function bn(e, t) {
221
+ e.$$.dirty[0] === -1 && (Q.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
222
  }
223
- function vn(e, t, r, n, i, o, s = null, a = [-1]) {
224
- const h = ae;
225
- se(e);
226
- const l = e.$$ = {
223
+ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
224
+ const h = le;
225
+ ae(e);
226
+ const u = e.$$ = {
227
227
  fragment: null,
228
228
  ctx: [],
229
229
  // state
230
230
  props: o,
231
231
  update: I,
232
232
  not_equal: i,
233
- bound: wt(),
233
+ bound: xt(),
234
234
  // lifecycle
235
235
  on_mount: [],
236
236
  on_destroy: [],
@@ -239,28 +239,28 @@ function vn(e, t, r, n, i, o, s = null, a = [-1]) {
239
239
  after_update: [],
240
240
  context: new Map(t.context || (h ? h.$$.context : [])),
241
241
  // everything else
242
- callbacks: wt(),
242
+ callbacks: xt(),
243
243
  dirty: a,
244
244
  skip_bound: !1,
245
245
  root: t.target || h.$$.root
246
246
  };
247
- s && s(l.root);
248
- let u = !1;
249
- if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
247
+ s && s(u.root);
248
+ let l = !1;
249
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
250
250
  const m = d.length ? d[0] : c;
251
- return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && gn(e, f)), c;
252
- }) : [], l.update(), u = !0, te(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
251
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && bn(e, f)), c;
252
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
253
253
  if (t.hydrate) {
254
- const f = on(t.target);
255
- l.fragment && l.fragment.l(f), f.forEach(R);
254
+ const f = nn(t.target);
255
+ u.fragment && u.fragment.l(f), f.forEach(R);
256
256
  } else
257
- l.fragment && l.fragment.c();
258
- t.intro && pn(e.$$.fragment), mn(e, t.target, t.anchor), M();
257
+ u.fragment && u.fragment.c();
258
+ t.intro && dn(e.$$.fragment), pn(e, t.target, t.anchor), M();
259
259
  }
260
- se(h);
260
+ ae(h);
261
261
  }
262
- let ir;
263
- typeof HTMLElement == "function" && (ir = class extends HTMLElement {
262
+ let rr;
263
+ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
264
264
  constructor(t, r, n) {
265
265
  super();
266
266
  /** The Svelte component constructor */
@@ -297,31 +297,31 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
297
297
  }
298
298
  }
299
299
  connectedCallback() {
300
- return St(this, null, function* () {
300
+ return Et(this, null, function* () {
301
301
  if (this.$$cn = !0, !this.$$c) {
302
302
  let t = function(o) {
303
303
  return () => {
304
304
  let s;
305
305
  return {
306
306
  c: function() {
307
- s = P("slot"), o !== "default" && E(s, "name", o);
307
+ s = P("slot"), o !== "default" && x(s, "name", o);
308
308
  },
309
309
  /**
310
310
  * @param {HTMLElement} target
311
311
  * @param {HTMLElement} [anchor]
312
312
  */
313
- m: function(l, u) {
314
- U(l, s, u);
313
+ m: function(u, l) {
314
+ G(u, s, l);
315
315
  },
316
- d: function(l) {
317
- l && R(s);
316
+ d: function(u) {
317
+ u && R(s);
318
318
  }
319
319
  };
320
320
  };
321
321
  };
322
322
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const r = {}, n = sn(this);
324
+ const r = {}, n = on(this);
325
325
  for (const o of this.$$s)
326
326
  o in n && (r[o] = [t(o)]);
327
327
  for (const o of this.attributes) {
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
332
332
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
333
333
  this.$$c = new this.$$ctor({
334
334
  target: this.shadowRoot || this,
335
- props: xt(Et({}, this.$$d), {
335
+ props: _t(yt({}, this.$$d), {
336
336
  $$slots: r,
337
337
  $$scope: {
338
338
  ctx: []
@@ -410,8 +410,8 @@ function me(e, t, r, n) {
410
410
  return t;
411
411
  }
412
412
  }
413
- function yn(e, t, r, n, i, o) {
414
- let s = class extends ir {
413
+ function vn(e, t, r, n, i, o) {
414
+ let s = class extends rr {
415
415
  constructor() {
416
416
  super(e, r, i), this.$$p_d = t;
417
417
  }
@@ -427,8 +427,8 @@ function yn(e, t, r, n, i, o) {
427
427
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
428
428
  },
429
429
  set(h) {
430
- var l;
431
- h = me(a, h, t), this.$$d[a] = h, (l = this.$$c) == null || l.$set({ [a]: h });
430
+ var u;
431
+ h = me(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
432
432
  }
433
433
  });
434
434
  }), n.forEach((a) => {
@@ -441,7 +441,7 @@ function yn(e, t, r, n, i, o) {
441
441
  }), e.element = /** @type {any} */
442
442
  s, s;
443
443
  }
444
- class _n {
444
+ class yn {
445
445
  constructor() {
446
446
  /**
447
447
  * ### PRIVATE API
@@ -462,7 +462,7 @@ class _n {
462
462
  }
463
463
  /** @returns {void} */
464
464
  $destroy() {
465
- bn(this, 1), this.$destroy = I;
465
+ mn(this, 1), this.$destroy = I;
466
466
  }
467
467
  /**
468
468
  * @template {Extract<keyof Events, string>} K
@@ -471,7 +471,7 @@ class _n {
471
471
  * @returns {() => void}
472
472
  */
473
473
  $on(t, r) {
474
- if (!at(r))
474
+ if (!nt(r))
475
475
  return I;
476
476
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
477
477
  return n.push(r), () => {
@@ -484,28 +484,28 @@ class _n {
484
484
  * @returns {void}
485
485
  */
486
486
  $set(t) {
487
- this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
488
  }
489
489
  }
490
- const En = "4";
491
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
490
+ const _n = "4";
491
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
492
492
  const Z = [];
493
- function xn(e, t) {
493
+ function En(e, t) {
494
494
  return {
495
- subscribe: Ce(e, t).subscribe
495
+ subscribe: He(e, t).subscribe
496
496
  };
497
497
  }
498
- function Ce(e, t = I) {
498
+ function He(e, t = I) {
499
499
  let r;
500
500
  const n = /* @__PURE__ */ new Set();
501
501
  function i(a) {
502
- if (tr(e, a) && (e = a, r)) {
502
+ if (Kt(e, a) && (e = a, r)) {
503
503
  const h = !Z.length;
504
- for (const l of n)
505
- l[1](), Z.push(l, e);
504
+ for (const u of n)
505
+ u[1](), Z.push(u, e);
506
506
  if (h) {
507
- for (let l = 0; l < Z.length; l += 2)
508
- Z[l][0](Z[l + 1]);
507
+ for (let u = 0; u < Z.length; u += 2)
508
+ Z[u][0](Z[u + 1]);
509
509
  Z.length = 0;
510
510
  }
511
511
  }
@@ -514,146 +514,160 @@ function Ce(e, t = I) {
514
514
  i(a(e));
515
515
  }
516
516
  function s(a, h = I) {
517
- const l = [a, h];
518
- return n.add(l), n.size === 1 && (r = t(i, o) || I), a(e), () => {
519
- n.delete(l), n.size === 0 && r && (r(), r = null);
517
+ const u = [a, h];
518
+ return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
519
+ n.delete(u), n.size === 0 && r && (r(), r = null);
520
520
  };
521
521
  }
522
522
  return { set: i, update: o, subscribe: s };
523
523
  }
524
- function re(e, t, r) {
524
+ function ne(e, t, r) {
525
525
  const n = !Array.isArray(e), i = n ? [e] : e;
526
526
  if (!i.every(Boolean))
527
527
  throw new Error("derived() expects stores as input, got a falsy value");
528
528
  const o = t.length < 2;
529
- return xn(r, (s, a) => {
529
+ return En(r, (s, a) => {
530
530
  let h = !1;
531
- const l = [];
532
- let u = 0, f = I;
531
+ const u = [];
532
+ let l = 0, f = I;
533
533
  const c = () => {
534
- if (u)
534
+ if (l)
535
535
  return;
536
536
  f();
537
- const m = t(n ? l[0] : l, s, a);
538
- o ? s(m) : f = at(m) ? m : I;
537
+ const m = t(n ? u[0] : u, s, a);
538
+ o ? s(m) : f = nt(m) ? m : I;
539
539
  }, d = i.map(
540
- (m, b) => rr(
540
+ (m, b) => er(
541
541
  m,
542
542
  (g) => {
543
- l[b] = g, u &= ~(1 << b), h && c();
543
+ u[b] = g, l &= ~(1 << b), h && c();
544
544
  },
545
545
  () => {
546
- u |= 1 << b;
546
+ l |= 1 << b;
547
547
  }
548
548
  )
549
549
  );
550
550
  return h = !0, c(), function() {
551
- te(d), f(), h = !1;
551
+ re(d), f(), h = !1;
552
552
  };
553
553
  });
554
554
  }
555
- function Sn(e) {
555
+ function xn(e) {
556
556
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
557
  }
558
- var wn = function(t) {
559
- return Tn(t) && !Hn(t);
558
+ var Sn = function(t) {
559
+ return wn(t) && !Tn(t);
560
560
  };
561
- function Tn(e) {
561
+ function wn(e) {
562
562
  return !!e && typeof e == "object";
563
563
  }
564
- function Hn(e) {
564
+ function Tn(e) {
565
565
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
566
+ return t === "[object RegExp]" || t === "[object Date]" || Pn(e);
567
567
  }
568
- var Cn = typeof Symbol == "function" && Symbol.for, Pn = Cn ? Symbol.for("react.element") : 60103;
569
- function Bn(e) {
570
- return e.$$typeof === Pn;
568
+ var Hn = typeof Symbol == "function" && Symbol.for, Cn = Hn ? Symbol.for("react.element") : 60103;
569
+ function Pn(e) {
570
+ return e.$$typeof === Cn;
571
571
  }
572
- function An(e) {
572
+ function Bn(e) {
573
573
  return Array.isArray(e) ? [] : {};
574
574
  }
575
575
  function ue(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? q(An(e), e, t) : e;
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(Bn(e), e, t) : e;
577
577
  }
578
- function On(e, t, r) {
578
+ function An(e, t, r) {
579
579
  return e.concat(t).map(function(n) {
580
580
  return ue(n, r);
581
581
  });
582
582
  }
583
- function Ln(e, t) {
583
+ function On(e, t) {
584
584
  if (!t.customMerge)
585
- return q;
585
+ return Y;
586
586
  var r = t.customMerge(e);
587
- return typeof r == "function" ? r : q;
587
+ return typeof r == "function" ? r : Y;
588
588
  }
589
- function In(e) {
589
+ function Ln(e) {
590
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
591
  return Object.propertyIsEnumerable.call(e, t);
592
592
  }) : [];
593
593
  }
594
- function Ht(e) {
595
- return Object.keys(e).concat(In(e));
594
+ function wt(e) {
595
+ return Object.keys(e).concat(Ln(e));
596
596
  }
597
- function or(e, t) {
597
+ function nr(e, t) {
598
598
  try {
599
599
  return t in e;
600
600
  } catch (r) {
601
601
  return !1;
602
602
  }
603
603
  }
604
- function Nn(e, t) {
605
- return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ function In(e, t) {
605
+ return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
606
  }
607
- function Mn(e, t, r) {
607
+ function Nn(e, t, r) {
608
608
  var n = {};
609
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
609
+ return r.isMergeableObject(e) && wt(e).forEach(function(i) {
610
610
  n[i] = ue(e[i], r);
611
- }), Ht(t).forEach(function(i) {
612
- Nn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
611
+ }), wt(t).forEach(function(i) {
612
+ In(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
613
613
  }), n;
614
614
  }
615
- function q(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = ue;
615
+ function Y(e, t, r) {
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = ue;
617
617
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
618
- return o ? n ? r.arrayMerge(e, t, r) : Mn(e, t, r) : ue(t, r);
618
+ return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : ue(t, r);
619
619
  }
620
- q.all = function(t, r) {
620
+ Y.all = function(t, r) {
621
621
  if (!Array.isArray(t))
622
622
  throw new Error("first argument should be an array");
623
623
  return t.reduce(function(n, i) {
624
- return q(n, i, r);
624
+ return Y(n, i, r);
625
625
  }, {});
626
626
  };
627
- var Rn = q, $n = Rn;
628
- const Gn = /* @__PURE__ */ Sn($n);
629
- var We = function(e, t) {
630
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
627
+ var Mn = Y, Rn = Mn;
628
+ const $n = /* @__PURE__ */ xn(Rn);
629
+ /*! *****************************************************************************
630
+ Copyright (c) Microsoft Corporation.
631
+
632
+ Permission to use, copy, modify, and/or distribute this software for any
633
+ purpose with or without fee is hereby granted.
634
+
635
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
636
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
637
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
638
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
639
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
640
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
641
+ PERFORMANCE OF THIS SOFTWARE.
642
+ ***************************************************************************** */
643
+ var Ve = function(e, t) {
644
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
645
  r.__proto__ = n;
632
646
  } || function(r, n) {
633
647
  for (var i in n)
634
648
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
635
- }, We(e, t);
649
+ }, Ve(e, t);
636
650
  };
637
- function Pe(e, t) {
651
+ function F(e, t) {
638
652
  if (typeof t != "function" && t !== null)
639
653
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
640
- We(e, t);
654
+ Ve(e, t);
641
655
  function r() {
642
656
  this.constructor = e;
643
657
  }
644
658
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
645
659
  }
646
- var G = function() {
647
- return G = Object.assign || function(t) {
660
+ var _ = function() {
661
+ return _ = Object.assign || function(t) {
648
662
  for (var r, n = 1, i = arguments.length; n < i; n++) {
649
663
  r = arguments[n];
650
664
  for (var o in r)
651
665
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
652
666
  }
653
667
  return t;
654
- }, G.apply(this, arguments);
668
+ }, _.apply(this, arguments);
655
669
  };
656
- function Un(e, t) {
670
+ function Gn(e, t) {
657
671
  var r = {};
658
672
  for (var n in e)
659
673
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -662,119 +676,143 @@ function Un(e, t) {
662
676
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
663
677
  return r;
664
678
  }
665
- function $e(e, t, r) {
679
+ function Xe(e) {
680
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
681
+ if (r)
682
+ return r.call(e);
683
+ if (e && typeof e.length == "number")
684
+ return {
685
+ next: function() {
686
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
687
+ }
688
+ };
689
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
690
+ }
691
+ function We(e, t) {
692
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
693
+ if (!r)
694
+ return e;
695
+ var n = r.call(e), i, o = [], s;
696
+ try {
697
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
698
+ o.push(i.value);
699
+ } catch (a) {
700
+ s = { error: a };
701
+ } finally {
702
+ try {
703
+ i && !i.done && (r = n.return) && r.call(n);
704
+ } finally {
705
+ if (s)
706
+ throw s.error;
707
+ }
708
+ }
709
+ return o;
710
+ }
711
+ function q(e, t, r) {
666
712
  if (r || arguments.length === 2)
667
713
  for (var n = 0, i = t.length, o; n < i; n++)
668
714
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
669
- return e.concat(o || Array.prototype.slice.call(t));
715
+ return e.concat(o || t);
670
716
  }
671
- function Ge(e, t) {
672
- var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
717
+ function Me(e, t) {
718
+ var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
673
719
  return i(e, {
674
720
  cache: r,
675
721
  serializer: n
676
722
  });
677
723
  }
678
- function Dn(e) {
724
+ function Un(e) {
679
725
  return e == null || typeof e == "number" || typeof e == "boolean";
680
726
  }
681
- function Fn(e, t, r, n) {
682
- var i = Dn(n) ? n : r(n), o = t.get(i);
727
+ function ir(e, t, r, n) {
728
+ var i = Un(n) ? n : r(n), o = t.get(i);
683
729
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
684
730
  }
685
- function sr(e, t, r) {
731
+ function or(e, t, r) {
686
732
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
687
733
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
688
734
  }
689
- function ar(e, t, r, n, i) {
735
+ function ot(e, t, r, n, i) {
690
736
  return r.bind(t, e, n, i);
691
737
  }
692
- function jn(e, t) {
693
- var r = e.length === 1 ? Fn : sr;
694
- return ar(e, this, r, t.cache.create(), t.serializer);
738
+ function Dn(e, t) {
739
+ var r = e.length === 1 ? ir : or;
740
+ return ot(e, this, r, t.cache.create(), t.serializer);
695
741
  }
696
- function kn(e, t) {
697
- return ar(e, this, sr, t.cache.create(), t.serializer);
742
+ function Fn(e, t) {
743
+ return ot(e, this, or, t.cache.create(), t.serializer);
744
+ }
745
+ function jn(e, t) {
746
+ return ot(e, this, ir, t.cache.create(), t.serializer);
698
747
  }
699
- var Vn = function() {
748
+ var kn = function() {
700
749
  return JSON.stringify(arguments);
701
- }, Xn = (
702
- /** @class */
703
- function() {
704
- function e() {
705
- this.cache = /* @__PURE__ */ Object.create(null);
706
- }
707
- return e.prototype.get = function(t) {
708
- return this.cache[t];
709
- }, e.prototype.set = function(t, r) {
710
- this.cache[t] = r;
711
- }, e;
712
- }()
713
- ), Wn = {
750
+ };
751
+ function st() {
752
+ this.cache = /* @__PURE__ */ Object.create(null);
753
+ }
754
+ st.prototype.get = function(e) {
755
+ return this.cache[e];
756
+ };
757
+ st.prototype.set = function(e, t) {
758
+ this.cache[e] = t;
759
+ };
760
+ var Vn = {
714
761
  create: function() {
715
- return new Xn();
762
+ return new st();
716
763
  }
717
- }, Ue = {
718
- variadic: kn
719
- }, Se = function() {
720
- return Se = Object.assign || function(t) {
721
- for (var r, n = 1, i = arguments.length; n < i; n++) {
722
- r = arguments[n];
723
- for (var o in r)
724
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
725
- }
726
- return t;
727
- }, Se.apply(this, arguments);
728
- };
729
- var v;
764
+ }, Re = {
765
+ variadic: Fn,
766
+ monadic: jn
767
+ }, v;
730
768
  (function(e) {
731
769
  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";
732
770
  })(v || (v = {}));
733
- var S;
771
+ var w;
734
772
  (function(e) {
735
773
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
736
- })(S || (S = {}));
737
- var Y;
774
+ })(w || (w = {}));
775
+ var K;
738
776
  (function(e) {
739
777
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
740
- })(Y || (Y = {}));
741
- function Ct(e) {
742
- return e.type === S.literal;
778
+ })(K || (K = {}));
779
+ function Tt(e) {
780
+ return e.type === w.literal;
743
781
  }
744
- function zn(e) {
745
- return e.type === S.argument;
782
+ function Xn(e) {
783
+ return e.type === w.argument;
746
784
  }
747
- function ur(e) {
748
- return e.type === S.number;
785
+ function sr(e) {
786
+ return e.type === w.number;
787
+ }
788
+ function ar(e) {
789
+ return e.type === w.date;
749
790
  }
750
791
  function lr(e) {
751
- return e.type === S.date;
792
+ return e.type === w.time;
793
+ }
794
+ function ur(e) {
795
+ return e.type === w.select;
752
796
  }
753
797
  function hr(e) {
754
- return e.type === S.time;
798
+ return e.type === w.plural;
799
+ }
800
+ function Wn(e) {
801
+ return e.type === w.pound;
755
802
  }
756
803
  function cr(e) {
757
- return e.type === S.select;
804
+ return e.type === w.tag;
758
805
  }
759
806
  function fr(e) {
760
- return e.type === S.plural;
761
- }
762
- function Zn(e) {
763
- return e.type === S.pound;
764
- }
765
- function dr(e) {
766
- return e.type === S.tag;
767
- }
768
- function pr(e) {
769
- return !!(e && typeof e == "object" && e.type === Y.number);
807
+ return !!(e && typeof e == "object" && e.type === K.number);
770
808
  }
771
809
  function ze(e) {
772
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
810
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
773
811
  }
774
- var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[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;
775
- function Jn(e) {
812
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
813
+ function Zn(e) {
776
814
  var t = {};
777
- return e.replace(Qn, function(r) {
815
+ return e.replace(zn, function(r) {
778
816
  var n = r.length;
779
817
  switch (r[0]) {
780
818
  case "G":
@@ -863,28 +901,18 @@ function Jn(e) {
863
901
  return "";
864
902
  }), t;
865
903
  }
866
- var w = function() {
867
- return w = Object.assign || function(t) {
868
- for (var r, n = 1, i = arguments.length; n < i; n++) {
869
- r = arguments[n];
870
- for (var o in r)
871
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
872
- }
873
- return t;
874
- }, w.apply(this, arguments);
875
- };
876
- var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
- function Yn(e) {
904
+ var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
905
+ function Jn(e) {
878
906
  if (e.length === 0)
879
907
  throw new Error("Number skeleton cannot be empty");
880
- for (var t = e.split(qn).filter(function(c) {
908
+ for (var t = e.split(Qn).filter(function(c) {
881
909
  return c.length > 0;
882
910
  }), r = [], n = 0, i = t; n < i.length; n++) {
883
911
  var o = i[n], s = o.split("/");
884
912
  if (s.length === 0)
885
913
  throw new Error("Invalid number skeleton");
886
- for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
887
- var f = u[l];
914
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
915
+ var f = l[u];
888
916
  if (f.length === 0)
889
917
  throw new Error("Invalid number skeleton");
890
918
  }
@@ -892,17 +920,17 @@ function Yn(e) {
892
920
  }
893
921
  return r;
894
922
  }
895
- function Kn(e) {
923
+ function qn(e) {
896
924
  return e.replace(/^(.*?)-/, "");
897
925
  }
898
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
899
- function Bt(e) {
926
+ var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
927
+ function Ct(e) {
900
928
  var t = {};
901
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
929
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
902
930
  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)), "";
903
931
  }), t;
904
932
  }
905
- function vr(e) {
933
+ function br(e) {
906
934
  switch (e) {
907
935
  case "sign-auto":
908
936
  return {
@@ -942,7 +970,7 @@ function vr(e) {
942
970
  };
943
971
  }
944
972
  }
945
- function ti(e) {
973
+ function Kn(e) {
946
974
  var t;
947
975
  if (e[0] === "E" && e[1] === "E" ? (t = {
948
976
  notation: "engineering"
@@ -950,17 +978,17 @@ function ti(e) {
950
978
  notation: "scientific"
951
979
  }, e = e.slice(1)), t) {
952
980
  var r = e.slice(0, 2);
953
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
981
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
954
982
  throw new Error("Malformed concise eng/scientific notation");
955
983
  t.minimumIntegerDigits = e.length;
956
984
  }
957
985
  return t;
958
986
  }
959
- function At(e) {
960
- var t = {}, r = vr(e);
987
+ function Pt(e) {
988
+ var t = {}, r = br(e);
961
989
  return r || t;
962
990
  }
963
- function ri(e) {
991
+ function ei(e) {
964
992
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
965
993
  var i = n[r];
966
994
  switch (i.stem) {
@@ -984,7 +1012,7 @@ function ri(e) {
984
1012
  continue;
985
1013
  case "measure-unit":
986
1014
  case "unit":
987
- t.style = "unit", t.unit = Kn(i.options[0]);
1015
+ t.style = "unit", t.unit = qn(i.options[0]);
988
1016
  continue;
989
1017
  case "compact-short":
990
1018
  case "K":
@@ -995,13 +1023,13 @@ function ri(e) {
995
1023
  t.notation = "compact", t.compactDisplay = "long";
996
1024
  continue;
997
1025
  case "scientific":
998
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
999
- return w(w({}, h), At(l));
1026
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1027
+ return _(_({}, h), Pt(u));
1000
1028
  }, {}));
1001
1029
  continue;
1002
1030
  case "engineering":
1003
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1004
- return w(w({}, h), At(l));
1031
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1032
+ return _(_({}, h), Pt(u));
1005
1033
  }, {}));
1006
1034
  continue;
1007
1035
  case "notation-simple":
@@ -1046,9 +1074,9 @@ function ri(e) {
1046
1074
  case "integer-width":
1047
1075
  if (i.options.length > 1)
1048
1076
  throw new RangeError("integer-width stems only accept a single optional option");
1049
- i.options[0].replace(ei, function(h, l, u, f, c, d) {
1050
- if (l)
1051
- t.minimumIntegerDigits = u.length;
1077
+ i.options[0].replace(Yn, function(h, u, l, f, c, d) {
1078
+ if (u)
1079
+ t.minimumIntegerDigits = l.length;
1052
1080
  else {
1053
1081
  if (f && c)
1054
1082
  throw new Error("We currently do not support maximum integer digits");
@@ -1059,28 +1087,28 @@ function ri(e) {
1059
1087
  });
1060
1088
  continue;
1061
1089
  }
1062
- if (gr.test(i.stem)) {
1090
+ if (mr.test(i.stem)) {
1063
1091
  t.minimumIntegerDigits = i.stem.length;
1064
1092
  continue;
1065
1093
  }
1066
- if (Pt.test(i.stem)) {
1094
+ if (Ht.test(i.stem)) {
1067
1095
  if (i.options.length > 1)
1068
1096
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1069
- i.stem.replace(Pt, function(h, l, u, f, c, d) {
1070
- return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1097
+ i.stem.replace(Ht, function(h, u, l, f, c, d) {
1098
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1071
1099
  });
1072
1100
  var o = i.options[0];
1073
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Bt(o)));
1101
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ct(o)));
1074
1102
  continue;
1075
1103
  }
1076
- if (br.test(i.stem)) {
1077
- t = w(w({}, t), Bt(i.stem));
1104
+ if (pr.test(i.stem)) {
1105
+ t = _(_({}, t), Ct(i.stem));
1078
1106
  continue;
1079
1107
  }
1080
- var s = vr(i.stem);
1081
- s && (t = w(w({}, t), s));
1082
- var a = ti(i.stem);
1083
- a && (t = w(w({}, t), a));
1108
+ var s = br(i.stem);
1109
+ s && (t = _(_({}, t), s));
1110
+ var a = Kn(i.stem);
1111
+ a && (t = _(_({}, t), a));
1084
1112
  }
1085
1113
  return t;
1086
1114
  }
@@ -2499,23 +2527,23 @@ var de = {
2499
2527
  "h"
2500
2528
  ]
2501
2529
  };
2502
- function ni(e, t) {
2530
+ function ti(e, t) {
2503
2531
  for (var r = "", n = 0; n < e.length; n++) {
2504
2532
  var i = e.charAt(n);
2505
2533
  if (i === "j") {
2506
2534
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2507
2535
  o++, n++;
2508
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ii(t);
2509
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2536
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ri(t);
2537
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2510
2538
  r += h;
2511
2539
  for (; s-- > 0; )
2512
- r = l + r;
2540
+ r = u + r;
2513
2541
  } else
2514
2542
  i === "J" ? r += "H" : r += i;
2515
2543
  }
2516
2544
  return r;
2517
2545
  }
2518
- function ii(e) {
2546
+ function ri(e) {
2519
2547
  var t = e.hourCycle;
2520
2548
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2521
2549
  e.hourCycles && // @ts-ignore
@@ -2537,20 +2565,20 @@ function ii(e) {
2537
2565
  var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2538
2566
  return i[0];
2539
2567
  }
2540
- var De, oi = new RegExp("^".concat(mr.source, "*")), si = new RegExp("".concat(mr.source, "*$"));
2568
+ var $e, ni = new RegExp("^".concat(dr.source, "*")), ii = new RegExp("".concat(dr.source, "*$"));
2541
2569
  function y(e, t) {
2542
2570
  return { start: e, end: t };
2543
2571
  }
2544
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, pi = di ? Number.isSafeInteger : function(e) {
2572
+ var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, li = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
2545
2573
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2546
2574
  }, Ze = !0;
2547
2575
  try {
2548
- var mi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
- Ze = ((De = mi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2576
+ var di = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2577
+ Ze = (($e = di.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2550
2578
  } catch (e) {
2551
2579
  Ze = !1;
2552
2580
  }
2553
- var Ot = ai ? (
2581
+ var Bt = oi ? (
2554
2582
  // Native
2555
2583
  function(t, r, n) {
2556
2584
  return t.startsWith(r, n);
@@ -2560,7 +2588,7 @@ var Ot = ai ? (
2560
2588
  function(t, r, n) {
2561
2589
  return t.slice(n, n + r.length) === r;
2562
2590
  }
2563
- ), Qe = ui ? String.fromCodePoint : (
2591
+ ), Qe = si ? String.fromCodePoint : (
2564
2592
  // IE11
2565
2593
  function() {
2566
2594
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2572,9 +2600,9 @@ var Ot = ai ? (
2572
2600
  }
2573
2601
  return n;
2574
2602
  }
2575
- ), Lt = (
2603
+ ), At = (
2576
2604
  // native
2577
- li ? Object.fromEntries : (
2605
+ ai ? Object.fromEntries : (
2578
2606
  // Ponyfill
2579
2607
  function(t) {
2580
2608
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2584,7 +2612,7 @@ var Ot = ai ? (
2584
2612
  return r;
2585
2613
  }
2586
2614
  )
2587
- ), yr = hi ? (
2615
+ ), gr = li ? (
2588
2616
  // Native
2589
2617
  function(t, r) {
2590
2618
  return t.codePointAt(r);
@@ -2598,7 +2626,7 @@ var Ot = ai ? (
2598
2626
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2599
2627
  }
2600
2628
  }
2601
- ), bi = ci ? (
2629
+ ), pi = ui ? (
2602
2630
  // Native
2603
2631
  function(t) {
2604
2632
  return t.trimStart();
@@ -2606,9 +2634,9 @@ var Ot = ai ? (
2606
2634
  ) : (
2607
2635
  // Ponyfill
2608
2636
  function(t) {
2609
- return t.replace(oi, "");
2637
+ return t.replace(ni, "");
2610
2638
  }
2611
- ), gi = fi ? (
2639
+ ), mi = hi ? (
2612
2640
  // Native
2613
2641
  function(t) {
2614
2642
  return t.trimEnd();
@@ -2616,32 +2644,32 @@ var Ot = ai ? (
2616
2644
  ) : (
2617
2645
  // Ponyfill
2618
2646
  function(t) {
2619
- return t.replace(si, "");
2647
+ return t.replace(ii, "");
2620
2648
  }
2621
2649
  );
2622
- function _r(e, t) {
2650
+ function vr(e, t) {
2623
2651
  return new RegExp(e, t);
2624
2652
  }
2625
2653
  var Je;
2626
2654
  if (Ze) {
2627
- var It = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2655
+ var Ot = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
2656
  Je = function(t, r) {
2629
2657
  var n;
2630
- It.lastIndex = r;
2631
- var i = It.exec(t);
2658
+ Ot.lastIndex = r;
2659
+ var i = Ot.exec(t);
2632
2660
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2633
2661
  };
2634
2662
  } else
2635
2663
  Je = function(t, r) {
2636
2664
  for (var n = []; ; ) {
2637
- var i = yr(t, r);
2638
- if (i === void 0 || Er(i) || Ei(i))
2665
+ var i = gr(t, r);
2666
+ if (i === void 0 || yr(i) || yi(i))
2639
2667
  break;
2640
2668
  n.push(i), r += i >= 65536 ? 2 : 1;
2641
2669
  }
2642
2670
  return Qe.apply(void 0, n);
2643
2671
  };
2644
- var vi = (
2672
+ var bi = (
2645
2673
  /** @class */
2646
2674
  function() {
2647
2675
  function e(t, r) {
@@ -2665,7 +2693,7 @@ var vi = (
2665
2693
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2666
2694
  var a = this.clonePosition();
2667
2695
  this.bump(), i.push({
2668
- type: S.pound,
2696
+ type: w.pound,
2669
2697
  location: y(a, this.clonePosition())
2670
2698
  });
2671
2699
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2693,7 +2721,7 @@ var vi = (
2693
2721
  if (this.bumpSpace(), this.bumpIf("/>"))
2694
2722
  return {
2695
2723
  val: {
2696
- type: S.literal,
2724
+ type: w.literal,
2697
2725
  value: "<".concat(i, "/>"),
2698
2726
  location: y(n, this.clonePosition())
2699
2727
  },
@@ -2707,10 +2735,10 @@ var vi = (
2707
2735
  if (this.bumpIf("</")) {
2708
2736
  if (this.isEOF() || !qe(this.char()))
2709
2737
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2710
- var h = this.clonePosition(), l = this.parseTagName();
2711
- return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2738
+ var h = this.clonePosition(), u = this.parseTagName();
2739
+ return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2712
2740
  val: {
2713
- type: S.tag,
2741
+ type: w.tag,
2714
2742
  value: i,
2715
2743
  children: s,
2716
2744
  location: y(n, this.clonePosition())
@@ -2723,7 +2751,7 @@ var vi = (
2723
2751
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2724
2752
  }, e.prototype.parseTagName = function() {
2725
2753
  var t = this.offset();
2726
- for (this.bump(); !this.isEOF() && _i(this.char()); )
2754
+ for (this.bump(); !this.isEOF() && vi(this.char()); )
2727
2755
  this.bump();
2728
2756
  return this.message.slice(t, this.offset());
2729
2757
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2747,12 +2775,12 @@ var vi = (
2747
2775
  }
2748
2776
  var h = y(n, this.clonePosition());
2749
2777
  return {
2750
- val: { type: S.literal, value: i, location: h },
2778
+ val: { type: w.literal, value: i, location: h },
2751
2779
  err: null
2752
2780
  };
2753
2781
  }, e.prototype.tryParseLeftAngleBracket = function() {
2754
2782
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2755
- !yi(this.peek() || 0)) ? (this.bump(), "<") : null;
2783
+ !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
2756
2784
  }, e.prototype.tryParseQuote = function(t) {
2757
2785
  if (this.isEOF() || this.char() !== 39)
2758
2786
  return null;
@@ -2807,7 +2835,7 @@ var vi = (
2807
2835
  case 125:
2808
2836
  return this.bump(), {
2809
2837
  val: {
2810
- type: S.argument,
2838
+ type: w.argument,
2811
2839
  // value does not include the opening and closing braces.
2812
2840
  value: i,
2813
2841
  location: y(n, this.clonePosition())
@@ -2833,53 +2861,53 @@ var vi = (
2833
2861
  case "date":
2834
2862
  case "time": {
2835
2863
  this.bumpSpace();
2836
- var l = null;
2864
+ var u = null;
2837
2865
  if (this.bumpIf(",")) {
2838
2866
  this.bumpSpace();
2839
- var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2867
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2840
2868
  if (f.err)
2841
2869
  return f;
2842
- var c = gi(f.val);
2870
+ var c = mi(f.val);
2843
2871
  if (c.length === 0)
2844
2872
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2845
- var d = y(u, this.clonePosition());
2846
- l = { style: c, styleLocation: d };
2873
+ var d = y(l, this.clonePosition());
2874
+ u = { style: c, styleLocation: d };
2847
2875
  }
2848
2876
  var m = this.tryParseArgumentClose(i);
2849
2877
  if (m.err)
2850
2878
  return m;
2851
2879
  var b = y(i, this.clonePosition());
2852
- if (l && Ot(l == null ? void 0 : l.style, "::", 0)) {
2853
- var g = bi(l.style.slice(2));
2880
+ if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
2881
+ var g = pi(u.style.slice(2));
2854
2882
  if (a === "number") {
2855
- var f = this.parseNumberSkeletonFromString(g, l.styleLocation);
2883
+ var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2856
2884
  return f.err ? f : {
2857
- val: { type: S.number, value: n, location: b, style: f.val },
2885
+ val: { type: w.number, value: n, location: b, style: f.val },
2858
2886
  err: null
2859
2887
  };
2860
2888
  } else {
2861
2889
  if (g.length === 0)
2862
2890
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2863
- var _ = g;
2864
- this.locale && (_ = ni(g, this.locale));
2891
+ var E = g;
2892
+ this.locale && (E = ti(g, this.locale));
2865
2893
  var c = {
2866
- type: Y.dateTime,
2867
- pattern: _,
2868
- location: l.styleLocation,
2869
- parsedOptions: this.shouldParseSkeletons ? Jn(_) : {}
2870
- }, x = a === "date" ? S.date : S.time;
2894
+ type: K.dateTime,
2895
+ pattern: E,
2896
+ location: u.styleLocation,
2897
+ parsedOptions: this.shouldParseSkeletons ? Zn(E) : {}
2898
+ }, S = a === "date" ? w.date : w.time;
2871
2899
  return {
2872
- val: { type: x, value: n, location: b, style: c },
2900
+ val: { type: S, value: n, location: b, style: c },
2873
2901
  err: null
2874
2902
  };
2875
2903
  }
2876
2904
  }
2877
2905
  return {
2878
2906
  val: {
2879
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2907
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2880
2908
  value: n,
2881
2909
  location: b,
2882
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2910
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2883
2911
  },
2884
2912
  err: null
2885
2913
  };
@@ -2889,7 +2917,7 @@ var vi = (
2889
2917
  case "select": {
2890
2918
  var T = this.clonePosition();
2891
2919
  if (this.bumpSpace(), !this.bumpIf(","))
2892
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, Se({}, T)));
2920
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, _({}, T)));
2893
2921
  this.bumpSpace();
2894
2922
  var H = this.parseIdentifierIfPossible(), O = 0;
2895
2923
  if (a !== "select" && H.value === "offset") {
@@ -2910,17 +2938,17 @@ var vi = (
2910
2938
  var W = y(i, this.clonePosition());
2911
2939
  return a === "select" ? {
2912
2940
  val: {
2913
- type: S.select,
2941
+ type: w.select,
2914
2942
  value: n,
2915
- options: Lt(k.val),
2943
+ options: At(k.val),
2916
2944
  location: W
2917
2945
  },
2918
2946
  err: null
2919
2947
  } : {
2920
2948
  val: {
2921
- type: S.plural,
2949
+ type: w.plural,
2922
2950
  value: n,
2923
- options: Lt(k.val),
2951
+ options: At(k.val),
2924
2952
  offset: O,
2925
2953
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2926
2954
  location: W
@@ -2971,34 +2999,34 @@ var vi = (
2971
2999
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2972
3000
  var n = [];
2973
3001
  try {
2974
- n = Yn(t);
3002
+ n = Jn(t);
2975
3003
  } catch (i) {
2976
3004
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2977
3005
  }
2978
3006
  return {
2979
3007
  val: {
2980
- type: Y.number,
3008
+ type: K.number,
2981
3009
  tokens: n,
2982
3010
  location: r,
2983
- parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3011
+ parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
2984
3012
  },
2985
3013
  err: null
2986
3014
  };
2987
3015
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2988
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
2989
- if (l.length === 0) {
3016
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3017
+ if (u.length === 0) {
2990
3018
  var f = this.clonePosition();
2991
3019
  if (r !== "select" && this.bumpIf("=")) {
2992
3020
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
2993
3021
  if (c.err)
2994
3022
  return c;
2995
- u = y(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3023
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2996
3024
  } else
2997
3025
  break;
2998
3026
  }
2999
- if (h.has(l))
3000
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3001
- l === "other" && (s = !0), this.bumpSpace();
3027
+ if (h.has(u))
3028
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3029
+ u === "other" && (s = !0), this.bumpSpace();
3002
3030
  var d = this.clonePosition();
3003
3031
  if (!this.bumpIf("{"))
3004
3032
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
@@ -3009,12 +3037,12 @@ var vi = (
3009
3037
  if (b.err)
3010
3038
  return b;
3011
3039
  a.push([
3012
- l,
3040
+ u,
3013
3041
  {
3014
3042
  value: m.val,
3015
3043
  location: y(d, this.clonePosition())
3016
3044
  }
3017
- ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3045
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3018
3046
  }
3019
3047
  return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3020
3048
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3028,7 +3056,7 @@ var vi = (
3028
3056
  break;
3029
3057
  }
3030
3058
  var h = y(i, this.clonePosition());
3031
- return o ? (s *= n, pi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3059
+ return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3032
3060
  }, e.prototype.offset = function() {
3033
3061
  return this.position.offset;
3034
3062
  }, e.prototype.isEOF = function() {
@@ -3043,7 +3071,7 @@ var vi = (
3043
3071
  var t = this.position.offset;
3044
3072
  if (t >= this.message.length)
3045
3073
  throw Error("out of bound");
3046
- var r = yr(this.message, t);
3074
+ var r = gr(this.message, t);
3047
3075
  if (r === void 0)
3048
3076
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3049
3077
  return r;
@@ -3062,7 +3090,7 @@ var vi = (
3062
3090
  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);
3063
3091
  }
3064
3092
  }, e.prototype.bumpIf = function(t) {
3065
- if (Ot(this.message, t, this.offset())) {
3093
+ if (Bt(this.message, t, this.offset())) {
3066
3094
  for (var r = 0; r < t.length; r++)
3067
3095
  this.bump();
3068
3096
  return !0;
@@ -3084,7 +3112,7 @@ var vi = (
3084
3112
  break;
3085
3113
  }
3086
3114
  }, e.prototype.bumpSpace = function() {
3087
- for (; !this.isEOF() && Er(this.char()); )
3115
+ for (; !this.isEOF() && yr(this.char()); )
3088
3116
  this.bump();
3089
3117
  }, e.prototype.peek = function() {
3090
3118
  if (this.isEOF())
@@ -3097,44 +3125,44 @@ var vi = (
3097
3125
  function qe(e) {
3098
3126
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3099
3127
  }
3100
- function yi(e) {
3128
+ function gi(e) {
3101
3129
  return qe(e) || e === 47;
3102
3130
  }
3103
- function _i(e) {
3131
+ function vi(e) {
3104
3132
  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;
3105
3133
  }
3106
- function Er(e) {
3134
+ function yr(e) {
3107
3135
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3108
3136
  }
3109
- function Ei(e) {
3137
+ function yi(e) {
3110
3138
  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;
3111
3139
  }
3112
3140
  function Ye(e) {
3113
3141
  e.forEach(function(t) {
3114
- if (delete t.location, cr(t) || fr(t))
3142
+ if (delete t.location, ur(t) || hr(t))
3115
3143
  for (var r in t.options)
3116
3144
  delete t.options[r].location, Ye(t.options[r].value);
3117
3145
  else
3118
- ur(t) && pr(t.style) || (lr(t) || hr(t)) && ze(t.style) ? delete t.style.location : dr(t) && Ye(t.children);
3146
+ sr(t) && fr(t.style) || (ar(t) || lr(t)) && ze(t.style) ? delete t.style.location : cr(t) && Ye(t.children);
3119
3147
  });
3120
3148
  }
3121
- function xi(e, t) {
3122
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
- var r = new vi(e, t).parse();
3149
+ function _i(e, t) {
3150
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3151
+ var r = new bi(e, t).parse();
3124
3152
  if (r.err) {
3125
3153
  var n = SyntaxError(v[r.err.kind]);
3126
3154
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3127
3155
  }
3128
3156
  return t != null && t.captureLocation || Ye(r.val), r.val;
3129
3157
  }
3130
- var K;
3158
+ var ee;
3131
3159
  (function(e) {
3132
3160
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3133
- })(K || (K = {}));
3134
- var Be = (
3161
+ })(ee || (ee = {}));
3162
+ var Ce = (
3135
3163
  /** @class */
3136
3164
  function(e) {
3137
- Pe(t, e);
3165
+ F(t, e);
3138
3166
  function t(r, n, i) {
3139
3167
  var o = e.call(this, r) || this;
3140
3168
  return o.code = n, o.originalMessage = i, o;
@@ -3143,155 +3171,155 @@ var Be = (
3143
3171
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3144
3172
  }, t;
3145
3173
  }(Error)
3146
- ), Nt = (
3174
+ ), Lt = (
3147
3175
  /** @class */
3148
3176
  function(e) {
3149
- Pe(t, e);
3177
+ F(t, e);
3150
3178
  function t(r, n, i, o) {
3151
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3179
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3152
3180
  }
3153
3181
  return t;
3154
- }(Be)
3155
- ), Si = (
3182
+ }(Ce)
3183
+ ), Ei = (
3156
3184
  /** @class */
3157
3185
  function(e) {
3158
- Pe(t, e);
3186
+ F(t, e);
3159
3187
  function t(r, n, i) {
3160
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3188
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3161
3189
  }
3162
3190
  return t;
3163
- }(Be)
3164
- ), wi = (
3191
+ }(Ce)
3192
+ ), xi = (
3165
3193
  /** @class */
3166
3194
  function(e) {
3167
- Pe(t, e);
3195
+ F(t, e);
3168
3196
  function t(r, n) {
3169
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3197
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3170
3198
  }
3171
3199
  return t;
3172
- }(Be)
3200
+ }(Ce)
3173
3201
  ), A;
3174
3202
  (function(e) {
3175
3203
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3176
3204
  })(A || (A = {}));
3177
- function Ti(e) {
3205
+ function Si(e) {
3178
3206
  return e.length < 2 ? e : e.reduce(function(t, r) {
3179
3207
  var n = t[t.length - 1];
3180
3208
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3181
3209
  }, []);
3182
3210
  }
3183
- function Hi(e) {
3211
+ function wi(e) {
3184
3212
  return typeof e == "function";
3185
3213
  }
3186
3214
  function be(e, t, r, n, i, o, s) {
3187
- if (e.length === 1 && Ct(e[0]))
3215
+ if (e.length === 1 && Tt(e[0]))
3188
3216
  return [
3189
3217
  {
3190
3218
  type: A.literal,
3191
3219
  value: e[0].value
3192
3220
  }
3193
3221
  ];
3194
- for (var a = [], h = 0, l = e; h < l.length; h++) {
3195
- var u = l[h];
3196
- if (Ct(u)) {
3222
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3223
+ var l = u[h];
3224
+ if (Tt(l)) {
3197
3225
  a.push({
3198
3226
  type: A.literal,
3199
- value: u.value
3227
+ value: l.value
3200
3228
  });
3201
3229
  continue;
3202
3230
  }
3203
- if (Zn(u)) {
3231
+ if (Wn(l)) {
3204
3232
  typeof o == "number" && a.push({
3205
3233
  type: A.literal,
3206
3234
  value: r.getNumberFormat(t).format(o)
3207
3235
  });
3208
3236
  continue;
3209
3237
  }
3210
- var f = u.value;
3238
+ var f = l.value;
3211
3239
  if (!(i && f in i))
3212
- throw new wi(f, s);
3240
+ throw new xi(f, s);
3213
3241
  var c = i[f];
3214
- if (zn(u)) {
3242
+ if (Xn(l)) {
3215
3243
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3216
3244
  type: typeof c == "string" ? A.literal : A.object,
3217
3245
  value: c
3218
3246
  });
3219
3247
  continue;
3220
3248
  }
3221
- if (lr(u)) {
3222
- var d = typeof u.style == "string" ? n.date[u.style] : ze(u.style) ? u.style.parsedOptions : void 0;
3249
+ if (ar(l)) {
3250
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3223
3251
  a.push({
3224
3252
  type: A.literal,
3225
3253
  value: r.getDateTimeFormat(t, d).format(c)
3226
3254
  });
3227
3255
  continue;
3228
3256
  }
3229
- if (hr(u)) {
3230
- var d = typeof u.style == "string" ? n.time[u.style] : ze(u.style) ? u.style.parsedOptions : n.time.medium;
3257
+ if (lr(l)) {
3258
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3231
3259
  a.push({
3232
3260
  type: A.literal,
3233
3261
  value: r.getDateTimeFormat(t, d).format(c)
3234
3262
  });
3235
3263
  continue;
3236
3264
  }
3237
- if (ur(u)) {
3238
- var d = typeof u.style == "string" ? n.number[u.style] : pr(u.style) ? u.style.parsedOptions : void 0;
3265
+ if (sr(l)) {
3266
+ var d = typeof l.style == "string" ? n.number[l.style] : fr(l.style) ? l.style.parsedOptions : void 0;
3239
3267
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3240
3268
  type: A.literal,
3241
3269
  value: r.getNumberFormat(t, d).format(c)
3242
3270
  });
3243
3271
  continue;
3244
3272
  }
3245
- if (dr(u)) {
3246
- var m = u.children, b = u.value, g = i[b];
3247
- if (!Hi(g))
3248
- throw new Si(b, "function", s);
3249
- var _ = be(m, t, r, n, i, o), x = g(_.map(function(O) {
3273
+ if (cr(l)) {
3274
+ var m = l.children, b = l.value, g = i[b];
3275
+ if (!wi(g))
3276
+ throw new Ei(b, "function", s);
3277
+ var E = be(m, t, r, n, i, o), S = g(E.map(function(O) {
3250
3278
  return O.value;
3251
3279
  }));
3252
- Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(O) {
3280
+ Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(O) {
3253
3281
  return {
3254
3282
  type: typeof O == "string" ? A.literal : A.object,
3255
3283
  value: O
3256
3284
  };
3257
3285
  }));
3258
3286
  }
3259
- if (cr(u)) {
3260
- var T = u.options[c] || u.options.other;
3287
+ if (ur(l)) {
3288
+ var T = l.options[c] || l.options.other;
3261
3289
  if (!T)
3262
- throw new Nt(u.value, c, Object.keys(u.options), s);
3290
+ throw new Lt(l.value, c, Object.keys(l.options), s);
3263
3291
  a.push.apply(a, be(T.value, t, r, n, i));
3264
3292
  continue;
3265
3293
  }
3266
- if (fr(u)) {
3267
- var T = u.options["=".concat(c)];
3294
+ if (hr(l)) {
3295
+ var T = l.options["=".concat(c)];
3268
3296
  if (!T) {
3269
3297
  if (!Intl.PluralRules)
3270
- throw new Be(`Intl.PluralRules is not available in this environment.
3298
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3271
3299
  Try polyfilling it using "@formatjs/intl-pluralrules"
3272
- `, K.MISSING_INTL_API, s);
3273
- var H = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3274
- T = u.options[H] || u.options.other;
3300
+ `, ee.MISSING_INTL_API, s);
3301
+ var H = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3302
+ T = l.options[H] || l.options.other;
3275
3303
  }
3276
3304
  if (!T)
3277
- throw new Nt(u.value, c, Object.keys(u.options), s);
3278
- a.push.apply(a, be(T.value, t, r, n, i, c - (u.offset || 0)));
3305
+ throw new Lt(l.value, c, Object.keys(l.options), s);
3306
+ a.push.apply(a, be(T.value, t, r, n, i, c - (l.offset || 0)));
3279
3307
  continue;
3280
3308
  }
3281
3309
  }
3282
- return Ti(a);
3310
+ return Si(a);
3283
3311
  }
3284
- function Ci(e, t) {
3285
- return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3286
- return r[n] = G(G({}, e[n]), t[n] || {}), r;
3312
+ function Ti(e, t) {
3313
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3314
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3287
3315
  }, {})) : e;
3288
3316
  }
3289
- function Pi(e, t) {
3317
+ function Hi(e, t) {
3290
3318
  return t ? Object.keys(e).reduce(function(r, n) {
3291
- return r[n] = Ci(e[n], t[n]), r;
3292
- }, G({}, e)) : e;
3319
+ return r[n] = Ti(e[n], t[n]), r;
3320
+ }, _({}, e)) : e;
3293
3321
  }
3294
- function Fe(e) {
3322
+ function Ge(e) {
3295
3323
  return {
3296
3324
  create: function() {
3297
3325
  return {
@@ -3305,39 +3333,39 @@ function Fe(e) {
3305
3333
  }
3306
3334
  };
3307
3335
  }
3308
- function Bi(e) {
3336
+ function Ci(e) {
3309
3337
  return e === void 0 && (e = {
3310
3338
  number: {},
3311
3339
  dateTime: {},
3312
3340
  pluralRules: {}
3313
3341
  }), {
3314
- getNumberFormat: Ge(function() {
3342
+ getNumberFormat: Me(function() {
3315
3343
  for (var t, r = [], n = 0; n < arguments.length; n++)
3316
3344
  r[n] = arguments[n];
3317
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3345
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3318
3346
  }, {
3319
- cache: Fe(e.number),
3320
- strategy: Ue.variadic
3347
+ cache: Ge(e.number),
3348
+ strategy: Re.variadic
3321
3349
  }),
3322
- getDateTimeFormat: Ge(function() {
3350
+ getDateTimeFormat: Me(function() {
3323
3351
  for (var t, r = [], n = 0; n < arguments.length; n++)
3324
3352
  r[n] = arguments[n];
3325
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3353
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3326
3354
  }, {
3327
- cache: Fe(e.dateTime),
3328
- strategy: Ue.variadic
3355
+ cache: Ge(e.dateTime),
3356
+ strategy: Re.variadic
3329
3357
  }),
3330
- getPluralRules: Ge(function() {
3358
+ getPluralRules: Me(function() {
3331
3359
  for (var t, r = [], n = 0; n < arguments.length; n++)
3332
3360
  r[n] = arguments[n];
3333
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3361
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3334
3362
  }, {
3335
- cache: Fe(e.pluralRules),
3336
- strategy: Ue.variadic
3363
+ cache: Ge(e.pluralRules),
3364
+ strategy: Re.variadic
3337
3365
  })
3338
3366
  };
3339
3367
  }
3340
- var Ai = (
3368
+ var Pi = (
3341
3369
  /** @class */
3342
3370
  function() {
3343
3371
  function e(t, r, n, i) {
@@ -3348,13 +3376,13 @@ var Ai = (
3348
3376
  dateTime: {},
3349
3377
  pluralRules: {}
3350
3378
  }, this.format = function(h) {
3351
- var l = o.formatToParts(h);
3352
- if (l.length === 1)
3353
- return l[0].value;
3354
- var u = l.reduce(function(f, c) {
3379
+ var u = o.formatToParts(h);
3380
+ if (u.length === 1)
3381
+ return u[0].value;
3382
+ var l = u.reduce(function(f, c) {
3355
3383
  return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3356
3384
  }, []);
3357
- return u.length <= 1 ? u[0] || "" : u;
3385
+ return l.length <= 1 ? l[0] || "" : l;
3358
3386
  }, this.formatToParts = function(h) {
3359
3387
  return be(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3360
3388
  }, this.resolvedOptions = function() {
@@ -3369,13 +3397,13 @@ var Ai = (
3369
3397
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3370
3398
  var s = i || {};
3371
3399
  s.formatters;
3372
- var a = Un(s, ["formatters"]);
3373
- this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3400
+ var a = Gn(s, ["formatters"]);
3401
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3374
3402
  } else
3375
3403
  this.ast = t;
3376
3404
  if (!Array.isArray(this.ast))
3377
3405
  throw new TypeError("A message must be provided as a String or AST.");
3378
- this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
3406
+ this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
3379
3407
  }
3380
3408
  return Object.defineProperty(e, "defaultLocale", {
3381
3409
  get: function() {
@@ -3388,7 +3416,7 @@ var Ai = (
3388
3416
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3389
3417
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3390
3418
  }
3391
- }, e.__parse = xi, e.formats = {
3419
+ }, e.__parse = _i, e.formats = {
3392
3420
  number: {
3393
3421
  integer: {
3394
3422
  maximumFractionDigits: 0
@@ -3449,7 +3477,7 @@ var Ai = (
3449
3477
  }, e;
3450
3478
  }()
3451
3479
  );
3452
- function Oi(e, t) {
3480
+ function Bi(e, t) {
3453
3481
  if (t == null)
3454
3482
  return;
3455
3483
  if (t in e)
@@ -3470,92 +3498,92 @@ function Oi(e, t) {
3470
3498
  n = void 0;
3471
3499
  return n;
3472
3500
  }
3473
- const j = {}, Li = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), xr = (e, t) => {
3501
+ const j = {}, Ai = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), _r = (e, t) => {
3474
3502
  if (t == null)
3475
3503
  return;
3476
3504
  if (t in j && e in j[t])
3477
3505
  return j[t][e];
3478
- const r = Ae(t);
3506
+ const r = Pe(t);
3479
3507
  for (let n = 0; n < r.length; n++) {
3480
- const i = r[n], o = Ni(i, e);
3508
+ const i = r[n], o = Li(i, e);
3481
3509
  if (o)
3482
- return Li(e, t, o);
3510
+ return Ai(e, t, o);
3483
3511
  }
3484
3512
  };
3485
- let lt;
3486
- const he = Ce({});
3487
- function Ii(e) {
3488
- return lt[e] || null;
3513
+ let at;
3514
+ const ce = He({});
3515
+ function Oi(e) {
3516
+ return at[e] || null;
3489
3517
  }
3490
- function Sr(e) {
3491
- return e in lt;
3518
+ function Er(e) {
3519
+ return e in at;
3492
3520
  }
3493
- function Ni(e, t) {
3494
- if (!Sr(e))
3521
+ function Li(e, t) {
3522
+ if (!Er(e))
3495
3523
  return null;
3496
- const r = Ii(e);
3497
- return Oi(r, t);
3524
+ const r = Oi(e);
3525
+ return Bi(r, t);
3498
3526
  }
3499
- function Mi(e) {
3527
+ function Ii(e) {
3500
3528
  if (e == null)
3501
3529
  return;
3502
- const t = Ae(e);
3530
+ const t = Pe(e);
3503
3531
  for (let r = 0; r < t.length; r++) {
3504
3532
  const n = t[r];
3505
- if (Sr(n))
3533
+ if (Er(n))
3506
3534
  return n;
3507
3535
  }
3508
3536
  }
3509
- function wr(e, ...t) {
3510
- delete j[e], he.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
3537
+ function xr(e, ...t) {
3538
+ delete j[e], ce.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
3511
3539
  }
3512
- re(
3513
- [he],
3540
+ ne(
3541
+ [ce],
3514
3542
  ([e]) => Object.keys(e)
3515
3543
  );
3516
- he.subscribe((e) => lt = e);
3544
+ ce.subscribe((e) => at = e);
3517
3545
  const ge = {};
3518
- function Ri(e, t) {
3546
+ function Ni(e, t) {
3519
3547
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3520
3548
  }
3521
- function Tr(e) {
3549
+ function Sr(e) {
3522
3550
  return ge[e];
3523
3551
  }
3524
- function $i(e) {
3525
- return Ae(e).map((t) => {
3526
- const r = Tr(t);
3552
+ function Mi(e) {
3553
+ return Pe(e).map((t) => {
3554
+ const r = Sr(t);
3527
3555
  return [t, r ? [...r] : []];
3528
3556
  }).filter(([, t]) => t.length > 0);
3529
3557
  }
3530
3558
  function Ke(e) {
3531
- return e == null ? !1 : Ae(e).some(
3559
+ return e == null ? !1 : Pe(e).some(
3532
3560
  (t) => {
3533
3561
  var r;
3534
- return (r = Tr(t)) == null ? void 0 : r.size;
3562
+ return (r = Sr(t)) == null ? void 0 : r.size;
3535
3563
  }
3536
3564
  );
3537
3565
  }
3538
- function Gi(e, t) {
3566
+ function Ri(e, t) {
3539
3567
  return Promise.all(
3540
- t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
3541
- ).then((n) => wr(e, ...n));
3568
+ t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
3569
+ ).then((n) => xr(e, ...n));
3542
3570
  }
3543
- const oe = {};
3544
- function Hr(e) {
3571
+ const se = {};
3572
+ function wr(e) {
3545
3573
  if (!Ke(e))
3546
- return e in oe ? oe[e] : Promise.resolve();
3547
- const t = $i(e);
3548
- return oe[e] = Promise.all(
3574
+ return e in se ? se[e] : Promise.resolve();
3575
+ const t = Mi(e);
3576
+ return se[e] = Promise.all(
3549
3577
  t.map(
3550
- ([r, n]) => Gi(r, n)
3578
+ ([r, n]) => Ri(r, n)
3551
3579
  )
3552
3580
  ).then(() => {
3553
3581
  if (Ke(e))
3554
- return Hr(e);
3555
- delete oe[e];
3556
- }), oe[e];
3582
+ return wr(e);
3583
+ delete se[e];
3584
+ }), se[e];
3557
3585
  }
3558
- const Ui = {
3586
+ const $i = {
3559
3587
  number: {
3560
3588
  scientific: { notation: "scientific" },
3561
3589
  engineering: { notation: "engineering" },
@@ -3584,159 +3612,159 @@ const Ui = {
3584
3612
  timeZoneName: "short"
3585
3613
  }
3586
3614
  }
3587
- }, Di = {
3615
+ }, Gi = {
3588
3616
  fallbackLocale: null,
3589
3617
  loadingDelay: 200,
3590
- formats: Ui,
3618
+ formats: $i,
3591
3619
  warnOnMissingMessages: !0,
3592
3620
  handleMissingMessage: void 0,
3593
3621
  ignoreTag: !0
3594
- }, Fi = Di;
3595
- function ee() {
3596
- return Fi;
3622
+ }, Ui = Gi;
3623
+ function te() {
3624
+ return Ui;
3597
3625
  }
3598
- const je = Ce(!1);
3599
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
3626
+ const Ue = He(!1);
3627
+ var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
3600
3628
  for (var r in t || (t = {}))
3601
- Xi.call(t, r) && Rt(e, r, t[r]);
3602
- if (Mt)
3603
- for (var r of Mt(t))
3604
- Wi.call(t, r) && Rt(e, r, t[r]);
3629
+ ki.call(t, r) && Nt(e, r, t[r]);
3630
+ if (It)
3631
+ for (var r of It(t))
3632
+ Vi.call(t, r) && Nt(e, r, t[r]);
3605
3633
  return e;
3606
- }, Zi = (e, t) => ki(e, Vi(t));
3634
+ }, Wi = (e, t) => Fi(e, ji(t));
3607
3635
  let et;
3608
- const we = Ce(null);
3609
- function $t(e) {
3636
+ const Se = He(null);
3637
+ function Mt(e) {
3610
3638
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3611
3639
  }
3612
- function Ae(e, t = ee().fallbackLocale) {
3613
- const r = $t(e);
3614
- return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
3640
+ function Pe(e, t = te().fallbackLocale) {
3641
+ const r = Mt(e);
3642
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
3615
3643
  }
3616
3644
  function X() {
3617
3645
  return et != null ? et : void 0;
3618
3646
  }
3619
- we.subscribe((e) => {
3647
+ Se.subscribe((e) => {
3620
3648
  et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3621
3649
  });
3622
- const Qi = (e) => {
3623
- if (e && Mi(e) && Ke(e)) {
3624
- const { loadingDelay: t } = ee();
3650
+ const zi = (e) => {
3651
+ if (e && Ii(e) && Ke(e)) {
3652
+ const { loadingDelay: t } = te();
3625
3653
  let r;
3626
3654
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3627
- () => je.set(!0),
3655
+ () => Ue.set(!0),
3628
3656
  t
3629
- ) : je.set(!0), Hr(e).then(() => {
3630
- we.set(e);
3657
+ ) : Ue.set(!0), wr(e).then(() => {
3658
+ Se.set(e);
3631
3659
  }).finally(() => {
3632
- clearTimeout(r), je.set(!1);
3660
+ clearTimeout(r), Ue.set(!1);
3633
3661
  });
3634
3662
  }
3635
- return we.set(e);
3636
- }, ne = Zi(zi({}, we), {
3637
- set: Qi
3638
- }), Oe = (e) => {
3663
+ return Se.set(e);
3664
+ }, ie = Wi(Xi({}, Se), {
3665
+ set: zi
3666
+ }), Be = (e) => {
3639
3667
  const t = /* @__PURE__ */ Object.create(null);
3640
3668
  return (n) => {
3641
3669
  const i = JSON.stringify(n);
3642
3670
  return i in t ? t[i] : t[i] = e(n);
3643
3671
  };
3644
3672
  };
3645
- var Ji = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3673
+ var Zi = Object.defineProperty, we = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3646
3674
  for (var r in t || (t = {}))
3647
- Cr.call(t, r) && Gt(e, r, t[r]);
3648
- if (Te)
3649
- for (var r of Te(t))
3650
- Pr.call(t, r) && Gt(e, r, t[r]);
3675
+ Tr.call(t, r) && Rt(e, r, t[r]);
3676
+ if (we)
3677
+ for (var r of we(t))
3678
+ Hr.call(t, r) && Rt(e, r, t[r]);
3651
3679
  return e;
3652
- }, ie = (e, t) => {
3680
+ }, oe = (e, t) => {
3653
3681
  var r = {};
3654
3682
  for (var n in e)
3655
- Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3656
- if (e != null && Te)
3657
- for (var n of Te(e))
3658
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
3683
+ Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3684
+ if (e != null && we)
3685
+ for (var n of we(e))
3686
+ t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
3659
3687
  return r;
3660
3688
  };
3661
- const le = (e, t) => {
3662
- const { formats: r } = ee();
3689
+ const he = (e, t) => {
3690
+ const { formats: r } = te();
3663
3691
  if (e in r && t in r[e])
3664
3692
  return r[e][t];
3665
3693
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3666
- }, qi = Oe(
3694
+ }, Qi = Be(
3667
3695
  (e) => {
3668
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3696
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3669
3697
  if (r == null)
3670
3698
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3671
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
3699
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3672
3700
  }
3673
- ), Yi = Oe(
3701
+ ), Ji = Be(
3674
3702
  (e) => {
3675
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3703
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3676
3704
  if (r == null)
3677
3705
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3678
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
3706
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3679
3707
  }
3680
- ), Ki = Oe(
3708
+ ), qi = Be(
3681
3709
  (e) => {
3682
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3710
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3683
3711
  if (r == null)
3684
3712
  throw new Error(
3685
3713
  '[svelte-i18n] A "locale" must be set to format time values'
3686
3714
  );
3687
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
3715
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3688
3716
  }
3689
- ), eo = (e = {}) => {
3717
+ ), Yi = (e = {}) => {
3690
3718
  var t = e, {
3691
3719
  locale: r = X()
3692
- } = t, n = ie(t, [
3720
+ } = t, n = oe(t, [
3693
3721
  "locale"
3694
3722
  ]);
3695
- return qi(ht({ locale: r }, n));
3696
- }, to = (e = {}) => {
3723
+ return Qi(lt({ locale: r }, n));
3724
+ }, Ki = (e = {}) => {
3697
3725
  var t = e, {
3698
3726
  locale: r = X()
3699
- } = t, n = ie(t, [
3727
+ } = t, n = oe(t, [
3700
3728
  "locale"
3701
3729
  ]);
3702
- return Yi(ht({ locale: r }, n));
3703
- }, ro = (e = {}) => {
3730
+ return Ji(lt({ locale: r }, n));
3731
+ }, eo = (e = {}) => {
3704
3732
  var t = e, {
3705
3733
  locale: r = X()
3706
- } = t, n = ie(t, [
3734
+ } = t, n = oe(t, [
3707
3735
  "locale"
3708
3736
  ]);
3709
- return Ki(ht({ locale: r }, n));
3710
- }, no = Oe(
3737
+ return qi(lt({ locale: r }, n));
3738
+ }, to = Be(
3711
3739
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3712
- (e, t = X()) => new Ai(e, t, ee().formats, {
3713
- ignoreTag: ee().ignoreTag
3740
+ (e, t = X()) => new Pi(e, t, te().formats, {
3741
+ ignoreTag: te().ignoreTag
3714
3742
  })
3715
- ), io = (e, t = {}) => {
3743
+ ), ro = (e, t = {}) => {
3716
3744
  var r, n, i, o;
3717
3745
  let s = t;
3718
3746
  typeof e == "object" && (s = e, e = s.id);
3719
3747
  const {
3720
3748
  values: a,
3721
3749
  locale: h = X(),
3722
- default: l
3750
+ default: u
3723
3751
  } = s;
3724
3752
  if (h == null)
3725
3753
  throw new Error(
3726
3754
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3727
3755
  );
3728
- let u = xr(e, h);
3729
- if (!u)
3730
- u = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3731
- else if (typeof u != "string")
3756
+ let l = _r(e, h);
3757
+ if (!l)
3758
+ l = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3759
+ else if (typeof l != "string")
3732
3760
  return console.warn(
3733
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3734
- ), u;
3761
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3762
+ ), l;
3735
3763
  if (!a)
3736
- return u;
3737
- let f = u;
3764
+ return l;
3765
+ let f = l;
3738
3766
  try {
3739
- f = no(u, h).format(a);
3767
+ f = to(l, h).format(a);
3740
3768
  } catch (c) {
3741
3769
  c instanceof Error && console.warn(
3742
3770
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3744,18 +3772,18 @@ const le = (e, t) => {
3744
3772
  );
3745
3773
  }
3746
3774
  return f;
3747
- }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = X()) => xr(e, t), lo = re([ne, he], () => io);
3748
- re([ne], () => oo);
3749
- re([ne], () => so);
3750
- re([ne], () => ao);
3751
- re([ne, he], () => uo);
3752
- function Ut(e, t) {
3753
- wr(e, t);
3754
- }
3755
- function ho(e) {
3756
- ne.set(e);
3757
- }
3758
- const Dt = {
3775
+ }, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = X()) => _r(e, t), ao = ne([ie, ce], () => ro);
3776
+ ne([ie], () => no);
3777
+ ne([ie], () => io);
3778
+ ne([ie], () => oo);
3779
+ ne([ie, ce], () => so);
3780
+ function $t(e, t) {
3781
+ xr(e, t);
3782
+ }
3783
+ function lo(e) {
3784
+ ie.set(e);
3785
+ }
3786
+ const Gt = {
3759
3787
  en: {
3760
3788
  collections: "Game Collections",
3761
3789
  providers: "Game Providers",
@@ -3852,85 +3880,16 @@ const Dt = {
3852
3880
  loading: "Loading, please wait ..."
3853
3881
  }
3854
3882
  };
3855
- /*! *****************************************************************************
3856
- Copyright (c) Microsoft Corporation.
3857
-
3858
- Permission to use, copy, modify, and/or distribute this software for any
3859
- purpose with or without fee is hereby granted.
3860
-
3861
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3862
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3863
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3864
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3865
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3866
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3867
- PERFORMANCE OF THIS SOFTWARE.
3868
- ***************************************************************************** */
3869
- var tt = function(e, t) {
3870
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3871
- r.__proto__ = n;
3872
- } || function(r, n) {
3873
- for (var i in n)
3874
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3875
- }, tt(e, t);
3876
- };
3877
- function ce(e, t) {
3878
- if (typeof t != "function" && t !== null)
3879
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3880
- tt(e, t);
3881
- function r() {
3882
- this.constructor = e;
3883
- }
3884
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3885
- }
3886
- function rt(e) {
3887
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3888
- if (r)
3889
- return r.call(e);
3890
- if (e && typeof e.length == "number")
3891
- return {
3892
- next: function() {
3893
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3894
- }
3895
- };
3896
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3897
- }
3898
- function nt(e, t) {
3899
- var r = typeof Symbol == "function" && e[Symbol.iterator];
3900
- if (!r)
3901
- return e;
3902
- var n = r.call(e), i, o = [], s;
3903
- try {
3904
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3905
- o.push(i.value);
3906
- } catch (a) {
3907
- s = { error: a };
3908
- } finally {
3909
- try {
3910
- i && !i.done && (r = n.return) && r.call(n);
3911
- } finally {
3912
- if (s)
3913
- throw s.error;
3914
- }
3915
- }
3916
- return o;
3917
- }
3918
- function it(e, t, r) {
3919
- if (arguments.length === 2)
3920
- for (var n = 0, i = t.length, o; n < i; n++)
3921
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3922
- return e.concat(o || t);
3923
- }
3924
- function F(e) {
3883
+ function D(e) {
3925
3884
  return typeof e == "function";
3926
3885
  }
3927
- function Br(e) {
3886
+ function Cr(e) {
3928
3887
  var t = function(n) {
3929
3888
  Error.call(n), n.stack = new Error().stack;
3930
3889
  }, r = e(t);
3931
3890
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3932
3891
  }
3933
- var ke = Br(function(e) {
3892
+ var De = Cr(function(e) {
3934
3893
  return function(r) {
3935
3894
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3936
3895
  ` + r.map(function(n, i) {
@@ -3939,13 +3898,13 @@ var ke = Br(function(e) {
3939
3898
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3940
3899
  };
3941
3900
  });
3942
- function ot(e, t) {
3901
+ function tt(e, t) {
3943
3902
  if (e) {
3944
3903
  var r = e.indexOf(t);
3945
3904
  0 <= r && e.splice(r, 1);
3946
3905
  }
3947
3906
  }
3948
- var Le = function() {
3907
+ var Ae = function() {
3949
3908
  function e(t) {
3950
3909
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3951
3910
  }
@@ -3957,9 +3916,9 @@ var Le = function() {
3957
3916
  if (s)
3958
3917
  if (this._parentage = null, Array.isArray(s))
3959
3918
  try {
3960
- for (var a = rt(s), h = a.next(); !h.done; h = a.next()) {
3961
- var l = h.value;
3962
- l.remove(this);
3919
+ for (var a = Xe(s), h = a.next(); !h.done; h = a.next()) {
3920
+ var u = h.value;
3921
+ u.remove(this);
3963
3922
  }
3964
3923
  } catch (b) {
3965
3924
  t = { error: b };
@@ -3973,23 +3932,23 @@ var Le = function() {
3973
3932
  }
3974
3933
  else
3975
3934
  s.remove(this);
3976
- var u = this.initialTeardown;
3977
- if (F(u))
3935
+ var l = this.initialTeardown;
3936
+ if (D(l))
3978
3937
  try {
3979
- u();
3938
+ l();
3980
3939
  } catch (b) {
3981
- o = b instanceof ke ? b.errors : [b];
3940
+ o = b instanceof De ? b.errors : [b];
3982
3941
  }
3983
3942
  var f = this._finalizers;
3984
3943
  if (f) {
3985
3944
  this._finalizers = null;
3986
3945
  try {
3987
- for (var c = rt(f), d = c.next(); !d.done; d = c.next()) {
3946
+ for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
3988
3947
  var m = d.value;
3989
3948
  try {
3990
- Ft(m);
3949
+ Ut(m);
3991
3950
  } catch (b) {
3992
- o = o != null ? o : [], b instanceof ke ? o = it(it([], nt(o)), nt(b.errors)) : o.push(b);
3951
+ o = o != null ? o : [], b instanceof De ? o = q(q([], We(o)), We(b.errors)) : o.push(b);
3993
3952
  }
3994
3953
  }
3995
3954
  } catch (b) {
@@ -4004,13 +3963,13 @@ var Le = function() {
4004
3963
  }
4005
3964
  }
4006
3965
  if (o)
4007
- throw new ke(o);
3966
+ throw new De(o);
4008
3967
  }
4009
3968
  }, e.prototype.add = function(t) {
4010
3969
  var r;
4011
3970
  if (t && t !== this)
4012
3971
  if (this.closed)
4013
- Ft(t);
3972
+ Ut(t);
4014
3973
  else {
4015
3974
  if (t instanceof e) {
4016
3975
  if (t.closed || t._hasParent(this))
@@ -4027,52 +3986,56 @@ var Le = function() {
4027
3986
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4028
3987
  }, e.prototype._removeParent = function(t) {
4029
3988
  var r = this._parentage;
4030
- r === t ? this._parentage = null : Array.isArray(r) && ot(r, t);
3989
+ r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
4031
3990
  }, e.prototype.remove = function(t) {
4032
3991
  var r = this._finalizers;
4033
- r && ot(r, t), t instanceof e && t._removeParent(this);
3992
+ r && tt(r, t), t instanceof e && t._removeParent(this);
4034
3993
  }, e.EMPTY = function() {
4035
3994
  var t = new e();
4036
3995
  return t.closed = !0, t;
4037
3996
  }(), e;
4038
- }(), Ar = Le.EMPTY;
4039
- function Or(e) {
4040
- return e instanceof Le || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
4041
- }
4042
- function Ft(e) {
4043
- F(e) ? e() : e.unsubscribe();
4044
- }
4045
- var co = {
4046
- Promise: void 0
4047
- }, fo = {
3997
+ }(), Pr = Ae.EMPTY;
3998
+ function Br(e) {
3999
+ return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
4000
+ }
4001
+ function Ut(e) {
4002
+ D(e) ? e() : e.unsubscribe();
4003
+ }
4004
+ var Ar = {
4005
+ onUnhandledError: null,
4006
+ onStoppedNotification: null,
4007
+ Promise: void 0,
4008
+ useDeprecatedSynchronousErrorHandling: !1,
4009
+ useDeprecatedNextContext: !1
4010
+ }, uo = {
4048
4011
  setTimeout: function(e, t) {
4049
4012
  for (var r = [], n = 2; n < arguments.length; n++)
4050
4013
  r[n - 2] = arguments[n];
4051
- return setTimeout.apply(void 0, it([e, t], nt(r)));
4014
+ return setTimeout.apply(void 0, q([e, t], We(r)));
4052
4015
  },
4053
4016
  clearTimeout: function(e) {
4054
4017
  return clearTimeout(e);
4055
4018
  },
4056
4019
  delegate: void 0
4057
4020
  };
4058
- function po(e) {
4059
- fo.setTimeout(function() {
4021
+ function ho(e) {
4022
+ uo.setTimeout(function() {
4060
4023
  throw e;
4061
4024
  });
4062
4025
  }
4063
- function jt() {
4026
+ function Dt() {
4064
4027
  }
4065
4028
  function ve(e) {
4066
4029
  e();
4067
4030
  }
4068
- var Lr = function(e) {
4069
- ce(t, e);
4031
+ var Or = function(e) {
4032
+ F(t, e);
4070
4033
  function t(r) {
4071
4034
  var n = e.call(this) || this;
4072
- return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = go, n;
4035
+ return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = mo, n;
4073
4036
  }
4074
4037
  return t.create = function(r, n, i) {
4075
- return new st(r, n, i);
4038
+ return new rt(r, n, i);
4076
4039
  }, t.prototype.next = function(r) {
4077
4040
  this.isStopped || this._next(r);
4078
4041
  }, t.prototype.error = function(r) {
@@ -4096,7 +4059,11 @@ var Lr = function(e) {
4096
4059
  this.unsubscribe();
4097
4060
  }
4098
4061
  }, t;
4099
- }(Le), mo = function() {
4062
+ }(Ae), co = Function.prototype.bind;
4063
+ function Fe(e, t) {
4064
+ return co.call(e, t);
4065
+ }
4066
+ var fo = function() {
4100
4067
  function e(t) {
4101
4068
  this.partialObserver = t;
4102
4069
  }
@@ -4127,43 +4094,55 @@ var Lr = function(e) {
4127
4094
  pe(r);
4128
4095
  }
4129
4096
  }, e;
4130
- }(), st = function(e) {
4131
- ce(t, e);
4097
+ }(), rt = function(e) {
4098
+ F(t, e);
4132
4099
  function t(r, n, i) {
4133
4100
  var o = e.call(this) || this, s;
4134
- return F(r) || !r ? s = {
4135
- next: r != null ? r : void 0,
4136
- error: n != null ? n : void 0,
4137
- complete: i != null ? i : void 0
4138
- } : s = r, o.destination = new mo(s), o;
4101
+ if (D(r) || !r)
4102
+ s = {
4103
+ next: r != null ? r : void 0,
4104
+ error: n != null ? n : void 0,
4105
+ complete: i != null ? i : void 0
4106
+ };
4107
+ else {
4108
+ var a;
4109
+ o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4110
+ return o.unsubscribe();
4111
+ }, s = {
4112
+ next: r.next && Fe(r.next, a),
4113
+ error: r.error && Fe(r.error, a),
4114
+ complete: r.complete && Fe(r.complete, a)
4115
+ }) : s = r;
4116
+ }
4117
+ return o.destination = new fo(s), o;
4139
4118
  }
4140
4119
  return t;
4141
- }(Lr);
4120
+ }(Or);
4142
4121
  function pe(e) {
4143
- po(e);
4122
+ ho(e);
4144
4123
  }
4145
- function bo(e) {
4124
+ function po(e) {
4146
4125
  throw e;
4147
4126
  }
4148
- var go = {
4127
+ var mo = {
4149
4128
  closed: !0,
4150
- next: jt,
4151
- error: bo,
4152
- complete: jt
4153
- }, vo = function() {
4129
+ next: Dt,
4130
+ error: po,
4131
+ complete: Dt
4132
+ }, bo = function() {
4154
4133
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4155
4134
  }();
4156
- function yo(e) {
4135
+ function go(e) {
4157
4136
  return e;
4158
4137
  }
4159
- function _o(e) {
4160
- return e.length === 0 ? yo : e.length === 1 ? e[0] : function(r) {
4138
+ function vo(e) {
4139
+ return e.length === 0 ? go : e.length === 1 ? e[0] : function(r) {
4161
4140
  return e.reduce(function(n, i) {
4162
4141
  return i(n);
4163
4142
  }, r);
4164
4143
  };
4165
4144
  }
4166
- var kt = function() {
4145
+ var Ft = function() {
4167
4146
  function e(t) {
4168
4147
  t && (this._subscribe = t);
4169
4148
  }
@@ -4171,7 +4150,7 @@ var kt = function() {
4171
4150
  var r = new e();
4172
4151
  return r.source = this, r.operator = t, r;
4173
4152
  }, e.prototype.subscribe = function(t, r, n) {
4174
- var i = this, o = xo(t) ? t : new st(t, r, n);
4153
+ var i = this, o = _o(t) ? t : new rt(t, r, n);
4175
4154
  return ve(function() {
4176
4155
  var s = i, a = s.operator, h = s.source;
4177
4156
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -4184,8 +4163,8 @@ var kt = function() {
4184
4163
  }
4185
4164
  }, e.prototype.forEach = function(t, r) {
4186
4165
  var n = this;
4187
- return r = Vt(r), new r(function(i, o) {
4188
- var s = new st({
4166
+ return r = jt(r), new r(function(i, o) {
4167
+ var s = new rt({
4189
4168
  next: function(a) {
4190
4169
  try {
4191
4170
  t(a);
@@ -4201,15 +4180,15 @@ var kt = function() {
4201
4180
  }, e.prototype._subscribe = function(t) {
4202
4181
  var r;
4203
4182
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4204
- }, e.prototype[vo] = function() {
4183
+ }, e.prototype[bo] = function() {
4205
4184
  return this;
4206
4185
  }, e.prototype.pipe = function() {
4207
4186
  for (var t = [], r = 0; r < arguments.length; r++)
4208
4187
  t[r] = arguments[r];
4209
- return _o(t)(this);
4188
+ return vo(t)(this);
4210
4189
  }, e.prototype.toPromise = function(t) {
4211
4190
  var r = this;
4212
- return t = Vt(t), new t(function(n, i) {
4191
+ return t = jt(t), new t(function(n, i) {
4213
4192
  var o;
4214
4193
  r.subscribe(function(s) {
4215
4194
  return o = s;
@@ -4223,32 +4202,32 @@ var kt = function() {
4223
4202
  return new e(t);
4224
4203
  }, e;
4225
4204
  }();
4226
- function Vt(e) {
4205
+ function jt(e) {
4227
4206
  var t;
4228
- return (t = e != null ? e : co.Promise) !== null && t !== void 0 ? t : Promise;
4207
+ return (t = e != null ? e : Ar.Promise) !== null && t !== void 0 ? t : Promise;
4229
4208
  }
4230
- function Eo(e) {
4231
- return e && F(e.next) && F(e.error) && F(e.complete);
4209
+ function yo(e) {
4210
+ return e && D(e.next) && D(e.error) && D(e.complete);
4232
4211
  }
4233
- function xo(e) {
4234
- return e && e instanceof Lr || Eo(e) && Or(e);
4212
+ function _o(e) {
4213
+ return e && e instanceof Or || yo(e) && Br(e);
4235
4214
  }
4236
- var So = Br(function(e) {
4215
+ var Eo = Cr(function(e) {
4237
4216
  return function() {
4238
4217
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4239
4218
  };
4240
- }), Ir = function(e) {
4241
- ce(t, e);
4219
+ }), Lr = function(e) {
4220
+ F(t, e);
4242
4221
  function t() {
4243
4222
  var r = e.call(this) || this;
4244
4223
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4245
4224
  }
4246
4225
  return t.prototype.lift = function(r) {
4247
- var n = new Xt(this, this);
4226
+ var n = new kt(this, this);
4248
4227
  return n.operator = r, n;
4249
4228
  }, t.prototype._throwIfClosed = function() {
4250
4229
  if (this.closed)
4251
- throw new So();
4230
+ throw new Eo();
4252
4231
  }, t.prototype.next = function(r) {
4253
4232
  var n = this;
4254
4233
  ve(function() {
@@ -4256,12 +4235,12 @@ var So = Br(function(e) {
4256
4235
  if (n._throwIfClosed(), !n.isStopped) {
4257
4236
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4258
4237
  try {
4259
- for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4238
+ for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4260
4239
  var h = a.value;
4261
4240
  h.next(r);
4262
4241
  }
4263
- } catch (l) {
4264
- i = { error: l };
4242
+ } catch (u) {
4243
+ i = { error: u };
4265
4244
  } finally {
4266
4245
  try {
4267
4246
  a && !a.done && (o = s.return) && o.call(s);
@@ -4305,20 +4284,20 @@ var So = Br(function(e) {
4305
4284
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4306
4285
  }, t.prototype._innerSubscribe = function(r) {
4307
4286
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4308
- return o || s ? Ar : (this.currentObservers = null, a.push(r), new Le(function() {
4309
- n.currentObservers = null, ot(a, r);
4287
+ return o || s ? Pr : (this.currentObservers = null, a.push(r), new Ae(function() {
4288
+ n.currentObservers = null, tt(a, r);
4310
4289
  }));
4311
4290
  }, t.prototype._checkFinalizedStatuses = function(r) {
4312
4291
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4313
4292
  i ? r.error(o) : s && r.complete();
4314
4293
  }, t.prototype.asObservable = function() {
4315
- var r = new kt();
4294
+ var r = new Ft();
4316
4295
  return r.source = this, r;
4317
4296
  }, t.create = function(r, n) {
4318
- return new Xt(r, n);
4297
+ return new kt(r, n);
4319
4298
  }, t;
4320
- }(kt), Xt = function(e) {
4321
- ce(t, e);
4299
+ }(Ft), kt = function(e) {
4300
+ F(t, e);
4322
4301
  function t(r, n) {
4323
4302
  var i = e.call(this) || this;
4324
4303
  return i.destination = r, i.source = n, i;
@@ -4334,17 +4313,17 @@ var So = Br(function(e) {
4334
4313
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4335
4314
  }, t.prototype._subscribe = function(r) {
4336
4315
  var n, i;
4337
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
4316
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
4338
4317
  }, t;
4339
- }(Ir), Nr = {
4318
+ }(Lr), Ir = {
4340
4319
  now: function() {
4341
- return (Nr.delegate || Date).now();
4320
+ return (Ir.delegate || Date).now();
4342
4321
  },
4343
4322
  delegate: void 0
4344
- }, wo = function(e) {
4345
- ce(t, e);
4323
+ }, xo = function(e) {
4324
+ F(t, e);
4346
4325
  function t(r, n, i) {
4347
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
4326
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
4348
4327
  var o = e.call(this) || this;
4349
4328
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4350
4329
  }
@@ -4359,28 +4338,28 @@ var So = Br(function(e) {
4359
4338
  }, t.prototype._trimBuffer = function() {
4360
4339
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4361
4340
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4362
- for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
4363
- l = u;
4364
- l && o.splice(0, l + 1);
4341
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
4342
+ u = l;
4343
+ u && o.splice(0, u + 1);
4365
4344
  }
4366
4345
  }, t;
4367
- }(Ir);
4368
- const Wt = [], zt = {}, To = (e, t = 0) => {
4369
- if (Wt.indexOf(e) == -1) {
4370
- const r = new wo(t);
4371
- zt[e] = r, Wt.push(e);
4346
+ }(Lr);
4347
+ const Vt = [], Xt = {}, So = (e, t = 0) => {
4348
+ if (Vt.indexOf(e) == -1) {
4349
+ const r = new xo(t);
4350
+ Xt[e] = r, Vt.push(e);
4372
4351
  }
4373
- return zt[e];
4352
+ return Xt[e];
4374
4353
  };
4375
- window.emWidgets = { topic: To };
4376
- const Ho = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4377
- function Co(e, t) {
4354
+ window.emWidgets = { topic: So };
4355
+ const wo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4356
+ function To(e, t) {
4378
4357
  if (e) {
4379
4358
  const r = document.createElement("style");
4380
4359
  r.innerHTML = t, e.appendChild(r);
4381
4360
  }
4382
4361
  }
4383
- function Po(e, t) {
4362
+ function Ho(e, t) {
4384
4363
  const r = new URL(t);
4385
4364
  fetch(r.href).then((n) => n.text()).then((n) => {
4386
4365
  const i = document.createElement("style");
@@ -4389,7 +4368,7 @@ function Po(e, t) {
4389
4368
  console.error("There was an error while trying to load client styling from URL", n);
4390
4369
  });
4391
4370
  }
4392
- function Bo(e, t, r) {
4371
+ function Co(e, t, r) {
4393
4372
  if (window.emMessageBus) {
4394
4373
  const n = document.createElement("style");
4395
4374
  window.emMessageBus.subscribe(t, (i) => {
@@ -4397,18 +4376,18 @@ function Bo(e, t, r) {
4397
4376
  });
4398
4377
  }
4399
4378
  }
4400
- function Ao(e) {
4401
- en(e, "svelte-nnjza6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4379
+ function Po(e) {
4380
+ Kr(e, "svelte-nnjza6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4402
4381
  }
4403
- function Zt(e, t, r) {
4382
+ function Wt(e, t, r) {
4404
4383
  const n = e.slice();
4405
4384
  return n[41] = t[r], n;
4406
4385
  }
4407
- function Qt(e, t, r) {
4386
+ function zt(e, t, r) {
4408
4387
  const n = e.slice();
4409
4388
  return n[44] = t[r], n;
4410
4389
  }
4411
- function Oo(e) {
4390
+ function Bo(e) {
4412
4391
  let t, r, n, i = (
4413
4392
  /*type*/
4414
4393
  (e[0] === "vendor" ? (
@@ -4418,27 +4397,27 @@ function Oo(e) {
4418
4397
  /*$_*/
4419
4398
  e[10]("collections")
4420
4399
  )) + ""
4421
- ), o, s, a, h, l, u = (
4400
+ ), o, s, a, h, u, l = (
4422
4401
  /*numberOfSlides*/
4423
4402
  e[7] > /*numberOfVisibleSlides*/
4424
- e[8] && Jt(e)
4403
+ e[8] && Zt(e)
4425
4404
  ), f = xe(
4426
4405
  /*gameCategories*/
4427
4406
  e[3]
4428
4407
  ), c = [];
4429
4408
  for (let d = 0; d < f.length; d += 1)
4430
- c[d] = Kt(Zt(e, f, d));
4409
+ c[d] = qt(Wt(e, f, d));
4431
4410
  return {
4432
4411
  c() {
4433
- t = P("div"), r = P("div"), n = P("p"), o = He(i), s = V(), u && u.c(), a = V(), h = P("div");
4412
+ t = P("div"), r = P("div"), n = P("p"), o = Te(i), s = V(), l && l.c(), a = V(), h = P("div");
4434
4413
  for (let d = 0; d < c.length; d += 1)
4435
4414
  c[d].c();
4436
- E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(h, "class", "CategoriesSlider"), E(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
4415
+ x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(h, "class", "CategoriesSlider"), x(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4437
4416
  (e[9] ? "Mobile" : "") + " " + /*type*/
4438
4417
  (e[0] === "vendor" ? "Providers" : "Collections"));
4439
4418
  },
4440
4419
  m(d, m) {
4441
- U(d, t, m), C(t, r), C(r, n), C(n, o), C(r, s), u && u.m(r, null), C(t, a), C(t, h);
4420
+ G(d, t, m), C(t, r), C(r, n), C(n, o), C(r, s), l && l.m(r, null), C(t, a), C(t, h);
4442
4421
  for (let b = 0; b < c.length; b += 1)
4443
4422
  c[b] && c[b].m(h, null);
4444
4423
  e[25](h);
@@ -4452,9 +4431,9 @@ function Oo(e) {
4452
4431
  ) : (
4453
4432
  /*$_*/
4454
4433
  d[10]("collections")
4455
- )) + "") && ut(o, i), /*numberOfSlides*/
4434
+ )) + "") && it(o, i), /*numberOfSlides*/
4456
4435
  d[7] > /*numberOfVisibleSlides*/
4457
- d[8] ? u ? u.p(d, m) : (u = Jt(d), u.c(), u.m(r, null)) : u && (u.d(1), u = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4436
+ d[8] ? l ? l.p(d, m) : (l = Zt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4458
4437
  24590) {
4459
4438
  f = xe(
4460
4439
  /*gameCategories*/
@@ -4462,31 +4441,31 @@ function Oo(e) {
4462
4441
  );
4463
4442
  let b;
4464
4443
  for (b = 0; b < f.length; b += 1) {
4465
- const g = Zt(d, f, b);
4466
- c[b] ? c[b].p(g, m) : (c[b] = Kt(g), c[b].c(), c[b].m(h, null));
4444
+ const g = Wt(d, f, b);
4445
+ c[b] ? c[b].p(g, m) : (c[b] = qt(g), c[b].c(), c[b].m(h, null));
4467
4446
  }
4468
4447
  for (; b < c.length; b += 1)
4469
4448
  c[b].d(1);
4470
4449
  c.length = f.length;
4471
4450
  }
4472
4451
  m[0] & /*mobile, type*/
4473
- 513 && l !== (l = "CasinoCollectionsProviders " + /*mobile*/
4452
+ 513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4474
4453
  (d[9] ? "Mobile" : "") + " " + /*type*/
4475
- (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", l);
4454
+ (d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", u);
4476
4455
  },
4477
4456
  d(d) {
4478
- d && R(t), u && u.d(), nr(c, d), e[25](null);
4457
+ d && R(t), l && l.d(), tr(c, d), e[25](null);
4479
4458
  }
4480
4459
  };
4481
4460
  }
4482
- function Lo(e) {
4461
+ function Ao(e) {
4483
4462
  let t;
4484
4463
  return {
4485
4464
  c() {
4486
- t = P("div"), E(t, "class", "LoadingSpinner");
4465
+ t = P("div"), x(t, "class", "LoadingSpinner");
4487
4466
  },
4488
4467
  m(r, n) {
4489
- U(r, t, n);
4468
+ G(r, t, n);
4490
4469
  },
4491
4470
  p: I,
4492
4471
  d(r) {
@@ -4494,14 +4473,14 @@ function Lo(e) {
4494
4473
  }
4495
4474
  };
4496
4475
  }
4497
- function Jt(e) {
4476
+ function Zt(e) {
4498
4477
  let t, r, n, i, o, s;
4499
4478
  return {
4500
4479
  c() {
4501
- t = P("div"), r = P("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = V(), i = P("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4480
+ t = P("div"), r = P("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = V(), i = P("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', x(t, "class", "ButtonsContainer");
4502
4481
  },
4503
4482
  m(a, h) {
4504
- U(a, t, h), C(t, r), C(t, n), C(t, i), o || (s = [
4483
+ G(a, t, h), C(t, r), C(t, n), C(t, i), o || (s = [
4505
4484
  _e(
4506
4485
  r,
4507
4486
  "click",
@@ -4518,83 +4497,83 @@ function Jt(e) {
4518
4497
  },
4519
4498
  p: I,
4520
4499
  d(a) {
4521
- a && R(t), o = !1, te(s);
4500
+ a && R(t), o = !1, re(s);
4522
4501
  }
4523
4502
  };
4524
4503
  }
4525
- function Io(e) {
4504
+ function Oo(e) {
4526
4505
  let t, r = (
4527
4506
  /*category*/
4528
4507
  e[41].name + ""
4529
4508
  ), n;
4530
4509
  return {
4531
4510
  c() {
4532
- t = P("p"), n = He(r), E(t, "class", "CategorySlideTitle");
4511
+ t = P("p"), n = Te(r), x(t, "class", "CategorySlideTitle");
4533
4512
  },
4534
4513
  m(i, o) {
4535
- U(i, t, o), C(t, n);
4514
+ G(i, t, o), C(t, n);
4536
4515
  },
4537
4516
  p(i, o) {
4538
4517
  o[0] & /*gameCategories*/
4539
4518
  8 && r !== (r = /*category*/
4540
- i[41].name + "") && ut(n, r);
4519
+ i[41].name + "") && it(n, r);
4541
4520
  },
4542
4521
  d(i) {
4543
4522
  i && R(t);
4544
4523
  }
4545
4524
  };
4546
4525
  }
4547
- function No(e) {
4526
+ function Lo(e) {
4548
4527
  let t, r, n;
4549
4528
  return {
4550
4529
  c() {
4551
- t = P("img"), E(t, "class", "CategorySlideLogo"), ye(t.src, r = /*category*/
4552
- e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4530
+ t = P("img"), x(t, "class", "CategorySlideLogo"), ye(t.src, r = /*category*/
4531
+ e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
4553
4532
  e[41].name + " icon");
4554
4533
  },
4555
4534
  m(i, o) {
4556
- U(i, t, o);
4535
+ G(i, t, o);
4557
4536
  },
4558
4537
  p(i, o) {
4559
4538
  o[0] & /*gameCategories*/
4560
4539
  8 && !ye(t.src, r = /*category*/
4561
- i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4540
+ i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
4562
4541
  8 && n !== (n = /*category*/
4563
- i[41].name + " icon") && E(t, "alt", n);
4542
+ i[41].name + " icon") && x(t, "alt", n);
4564
4543
  },
4565
4544
  d(i) {
4566
4545
  i && R(t);
4567
4546
  }
4568
4547
  };
4569
4548
  }
4570
- function qt(e) {
4549
+ function Qt(e) {
4571
4550
  let t, r = (
4572
4551
  /*game*/
4573
4552
  e[44].name + ""
4574
4553
  ), n, i;
4575
4554
  return {
4576
4555
  c() {
4577
- t = P("p"), n = He(r), E(t, "title", i = /*game*/
4556
+ t = P("p"), n = Te(r), x(t, "title", i = /*game*/
4578
4557
  e[44].name);
4579
4558
  },
4580
4559
  m(o, s) {
4581
- U(o, t, s), C(t, n);
4560
+ G(o, t, s), C(t, n);
4582
4561
  },
4583
4562
  p(o, s) {
4584
4563
  s[0] & /*gameCategories*/
4585
4564
  8 && r !== (r = /*game*/
4586
- o[44].name + "") && ut(n, r), s[0] & /*gameCategories*/
4565
+ o[44].name + "") && it(n, r), s[0] & /*gameCategories*/
4587
4566
  8 && i !== (i = /*game*/
4588
- o[44].name) && E(t, "title", i);
4567
+ o[44].name) && x(t, "title", i);
4589
4568
  },
4590
4569
  d(o) {
4591
4570
  o && R(t);
4592
4571
  }
4593
4572
  };
4594
4573
  }
4595
- function Yt(e) {
4574
+ function Jt(e) {
4596
4575
  let t, r, n, i, o, s, a, h;
4597
- function l() {
4576
+ function u() {
4598
4577
  return (
4599
4578
  /*click_handler*/
4600
4579
  e[23](
@@ -4603,52 +4582,52 @@ function Yt(e) {
4603
4582
  )
4604
4583
  );
4605
4584
  }
4606
- let u = (
4585
+ let l = (
4607
4586
  /*collectionprovidersgamenames*/
4608
- e[2] == "true" && qt(e)
4587
+ e[2] == "true" && Qt(e)
4609
4588
  );
4610
4589
  return {
4611
4590
  c() {
4612
- t = P("div"), r = P("img"), o = V(), u && u.c(), s = V(), E(r, "class", "CategorySlideGameImage"), ye(r.src, n = /*game*/
4613
- e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4614
- e[44].name), E(t, "class", "CategorySlideGames");
4591
+ t = P("div"), r = P("img"), o = V(), l && l.c(), s = V(), x(r, "class", "CategorySlideGameImage"), ye(r.src, n = /*game*/
4592
+ e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
4593
+ e[44].name), x(t, "class", "CategorySlideGames");
4615
4594
  },
4616
4595
  m(f, c) {
4617
- U(f, t, c), C(t, r), C(t, o), u && u.m(t, null), C(t, s), a || (h = _e(r, "click", nn(l)), a = !0);
4596
+ G(f, t, c), C(t, r), C(t, o), l && l.m(t, null), C(t, s), a || (h = _e(r, "click", rn(u)), a = !0);
4618
4597
  },
4619
4598
  p(f, c) {
4620
4599
  e = f, c[0] & /*gameCategories*/
4621
4600
  8 && !ye(r.src, n = /*game*/
4622
- e[44].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
4601
+ e[44].defaultThumbnail) && x(r, "src", n), c[0] & /*gameCategories*/
4623
4602
  8 && i !== (i = /*game*/
4624
- e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4625
- e[2] == "true" ? u ? u.p(e, c) : (u = qt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
4603
+ e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
4604
+ e[2] == "true" ? l ? l.p(e, c) : (l = Qt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4626
4605
  },
4627
4606
  d(f) {
4628
- f && R(t), u && u.d(), a = !1, h();
4607
+ f && R(t), l && l.d(), a = !1, h();
4629
4608
  }
4630
4609
  };
4631
4610
  }
4632
- function Kt(e) {
4633
- let t, r, n, i, o, s, a, h, l;
4634
- function u(g, _) {
4611
+ function qt(e) {
4612
+ let t, r, n, i, o, s, a, h, u;
4613
+ function l(g, E) {
4635
4614
  if (
4636
4615
  /*titletype*/
4637
4616
  g[1] === "logo"
4638
4617
  )
4639
- return No;
4618
+ return Lo;
4640
4619
  if (
4641
4620
  /*titletype*/
4642
4621
  g[1] === "title"
4643
4622
  )
4644
- return Io;
4623
+ return Oo;
4645
4624
  }
4646
- let f = u(e), c = f && f(e), d = xe(
4625
+ let f = l(e), c = f && f(e), d = xe(
4647
4626
  /*category*/
4648
4627
  e[41].games
4649
4628
  ), m = [];
4650
4629
  for (let g = 0; g < d.length; g += 1)
4651
- m[g] = Yt(Qt(e, d, g));
4630
+ m[g] = Jt(zt(e, d, g));
4652
4631
  function b() {
4653
4632
  return (
4654
4633
  /*click_handler_1*/
@@ -4660,23 +4639,23 @@ function Kt(e) {
4660
4639
  }
4661
4640
  return {
4662
4641
  c() {
4663
- var g, _;
4642
+ var g, E;
4664
4643
  t = P("div"), r = P("div"), n = P("div"), c && c.c(), i = V(), o = P("div");
4665
- for (let x = 0; x < m.length; x += 1)
4666
- m[x].c();
4667
- a = V(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4668
- (((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Me(r, "background-image", "url(" + /*category*/
4669
- ((_ = e[41]) == null ? void 0 : _.background) + ")"), Me(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4644
+ for (let S = 0; S < m.length; S += 1)
4645
+ m[S].c();
4646
+ a = V(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
4647
+ (((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
4648
+ ((E = e[41]) == null ? void 0 : E.background) + ")"), Ie(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
4670
4649
  },
4671
- m(g, _) {
4672
- U(g, t, _), C(t, r), C(r, n), c && c.m(n, null), C(r, i), C(r, o);
4673
- for (let x = 0; x < m.length; x += 1)
4674
- m[x] && m[x].m(o, null);
4675
- C(t, a), h || (l = _e(r, "click", b), h = !0);
4650
+ m(g, E) {
4651
+ G(g, t, E), C(t, r), C(r, n), c && c.m(n, null), C(r, i), C(r, o);
4652
+ for (let S = 0; S < m.length; S += 1)
4653
+ m[S] && m[S].m(o, null);
4654
+ C(t, a), h || (u = _e(r, "click", b), h = !0);
4676
4655
  },
4677
- p(g, _) {
4678
- var x, T;
4679
- if (e = g, f === (f = u(e)) && c ? c.p(e, _) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), _[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4656
+ p(g, E) {
4657
+ var S, T;
4658
+ if (e = g, f === (f = l(e)) && c ? c.p(e, E) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4680
4659
  8204) {
4681
4660
  d = xe(
4682
4661
  /*category*/
@@ -4684,30 +4663,30 @@ function Kt(e) {
4684
4663
  );
4685
4664
  let H;
4686
4665
  for (H = 0; H < d.length; H += 1) {
4687
- const O = Qt(e, d, H);
4688
- m[H] ? m[H].p(O, _) : (m[H] = Yt(O), m[H].c(), m[H].m(o, null));
4666
+ const O = zt(e, d, H);
4667
+ m[H] ? m[H].p(O, E) : (m[H] = Jt(O), m[H].c(), m[H].m(o, null));
4689
4668
  }
4690
4669
  for (; H < m.length; H += 1)
4691
4670
  m[H].d(1);
4692
4671
  m.length = d.length;
4693
4672
  }
4694
- _[0] & /*gameCategories*/
4673
+ E[0] & /*gameCategories*/
4695
4674
  8 && s !== (s = "CategorySlide " + /*category*/
4696
- (((x = e[41]) == null ? void 0 : x.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), _[0] & /*gameCategories*/
4697
- 8 && Me(r, "background-image", "url(" + /*category*/
4675
+ (((S = e[41]) == null ? void 0 : S.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), E[0] & /*gameCategories*/
4676
+ 8 && Ie(r, "background-image", "url(" + /*category*/
4698
4677
  ((T = e[41]) == null ? void 0 : T.background) + ")");
4699
4678
  },
4700
4679
  d(g) {
4701
- g && R(t), c && c.d(), nr(m, g), h = !1, l();
4680
+ g && R(t), c && c.d(), tr(m, g), h = !1, u();
4702
4681
  }
4703
4682
  };
4704
4683
  }
4705
- function Mo(e) {
4684
+ function Io(e) {
4706
4685
  let t;
4707
4686
  function r(o, s) {
4708
4687
  return (
4709
4688
  /*isLoading*/
4710
- o[6] ? Lo : Oo
4689
+ o[6] ? Ao : Bo
4711
4690
  );
4712
4691
  }
4713
4692
  let n = r(e), i = n(e);
@@ -4716,7 +4695,7 @@ function Mo(e) {
4716
4695
  t = P("div"), i.c();
4717
4696
  },
4718
4697
  m(o, s) {
4719
- U(o, t, s), i.m(t, null), e[26](t);
4698
+ G(o, t, s), i.m(t, null), e[26](t);
4720
4699
  },
4721
4700
  p(o, s) {
4722
4701
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4728,70 +4707,70 @@ function Mo(e) {
4728
4707
  }
4729
4708
  };
4730
4709
  }
4731
- function Ro(e, t, r) {
4710
+ function No(e, t, r) {
4732
4711
  let n;
4733
- Kr(e, lo, (p) => r(10, n = p));
4734
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, _ = 0, x = 0, T = 0, H, O, k = 0, W = 50, Ie = !1, $, Mr = window.navigator.userAgent, ct;
4735
- const Rr = () => {
4712
+ Yr(e, ao, (p) => r(10, n = p));
4713
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, E = 0, S = 0, T = 0, H, O, k = 0, W = 50, Oe = !1, $, Nr = window.navigator.userAgent, ut;
4714
+ const Mr = () => {
4736
4715
  fetch(f).then((B) => B.json()).then((B) => {
4737
- Object.keys(B).forEach((D) => {
4738
- Ut(D, B[D]);
4716
+ Object.keys(B).forEach((U) => {
4717
+ $t(U, B[U]);
4739
4718
  });
4740
4719
  }).catch((B) => {
4741
4720
  console.log(B);
4742
4721
  });
4743
4722
  };
4744
- Object.keys(Dt).forEach((p) => {
4745
- Ut(p, Dt[p]);
4723
+ Object.keys(Gt).forEach((p) => {
4724
+ $t(p, Gt[p]);
4746
4725
  });
4747
- const ft = () => {
4726
+ const ht = () => {
4748
4727
  const p = new URL(`${i}/v2/casino/groups/${o}`);
4749
4728
  p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${k},limit=${W}`), fetch(p.href).then((B) => B.json()).then((B) => {
4750
- r(6, b = !1), B.total > W && (k += 50, W += 50, r(22, Ie = !0));
4751
- let D = B.items.map((L) => {
4752
- var gt, vt, yt;
4729
+ r(6, b = !1), B.total > W && (k += 50, W += 50, r(22, Oe = !0));
4730
+ let U = B.items.map((L) => {
4731
+ var mt, bt, gt;
4753
4732
  return {
4754
4733
  id: L.id,
4755
4734
  name: L.name,
4756
- icon: L.icon ? L.icon : (yt = (vt = (gt = L.vendors) == null ? void 0 : gt.items[0]) == null ? void 0 : vt.subVendors[0]) == null ? void 0 : yt.logo,
4757
- games: L.games.items.slice(0, 4).map((Wr) => Wr),
4735
+ icon: L.icon ? L.icon : (gt = (bt = (mt = L.vendors) == null ? void 0 : mt.items[0]) == null ? void 0 : bt.subVendors[0]) == null ? void 0 : gt.logo,
4736
+ games: L.games.items.slice(0, 4).map((Xr) => Xr),
4758
4737
  background: L.background,
4759
4738
  flag: L.flags
4760
4739
  };
4761
4740
  });
4762
- r(3, m = [...m, ...D]), r(7, x = m.length), $r();
4741
+ r(3, m = [...m, ...U]), r(7, S = m.length), Rr();
4763
4742
  });
4764
- }, $r = () => {
4743
+ }, Rr = () => {
4765
4744
  const p = $.getRootNode().host;
4766
4745
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4767
- }, dt = (p) => {
4746
+ }, ct = (p) => {
4768
4747
  var B;
4769
- O = [...g.children], O.forEach((D, L) => {
4770
- D.style.transform = `translateX(${100 * (p ? L - p : L)}%)`;
4771
- }), H = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, Gr();
4772
- }, Gr = () => {
4748
+ O = [...g.children], O.forEach((U, L) => {
4749
+ U.style.transform = `translateX(${100 * (p ? L - p : L)}%)`;
4750
+ }), H = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, $r();
4751
+ }, $r = () => {
4773
4752
  r(8, T = Math.floor(g.clientWidth / H));
4774
- }, pt = () => {
4775
- dt(_);
4753
+ }, ft = () => {
4754
+ ct(E);
4755
+ }, Gr = () => {
4756
+ E === 0 ? E = S - T : E - T < -1 ? E = 0 : E--, ft();
4776
4757
  }, Ur = () => {
4777
- _ === 0 ? _ = x - T : _ - T < -1 ? _ = 0 : _--, pt();
4778
- }, Dr = () => {
4779
- _ === x - T ? _ = 0 : x - T < _ + 1 ? _ = x - T : _++, pt();
4780
- }, mt = (p, B, D, L) => {
4758
+ E === S - T ? E = 0 : S - T < E + 1 ? E = S - T : E++, ft();
4759
+ }, dt = (p, B, U, L) => {
4781
4760
  window.postMessage(
4782
4761
  {
4783
4762
  type: "OpenCollectionsProvidersGame",
4784
4763
  gameId: p,
4785
4764
  launchUrl: B,
4786
- gameName: D,
4765
+ gameName: U,
4787
4766
  subVendor: L
4788
4767
  },
4789
4768
  window.location.href
4790
4769
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4791
4770
  context: "CollectionsProviders",
4792
- gameName: `${D}`
4771
+ gameName: `${U}`
4793
4772
  });
4794
- }, bt = (p) => {
4773
+ }, pt = (p) => {
4795
4774
  window.postMessage(
4796
4775
  {
4797
4776
  type: "OpenCollectionsProvidersCategory",
@@ -4799,34 +4778,34 @@ function Ro(e, t, r) {
4799
4778
  },
4800
4779
  window.location.href
4801
4780
  );
4802
- }, Fr = () => {
4803
- ho(s);
4781
+ }, Dr = () => {
4782
+ lo(s);
4804
4783
  };
4805
- un(() => (r(9, ct = Ho(Mr)), () => {
4784
+ an(() => (r(9, ut = wo(Nr)), () => {
4806
4785
  }));
4807
- const jr = (p) => mt(p.gameId, p.launchUrl, p.name, p.subVendor), kr = (p) => bt(p.id);
4808
- function Vr(p) {
4786
+ const Fr = (p) => dt(p.gameId, p.launchUrl, p.name, p.subVendor), jr = (p) => pt(p.id);
4787
+ function kr(p) {
4809
4788
  Ee[p ? "unshift" : "push"](() => {
4810
4789
  g = p, r(4, g);
4811
4790
  });
4812
4791
  }
4813
- function Xr(p) {
4792
+ function Vr(p) {
4814
4793
  Ee[p ? "unshift" : "push"](() => {
4815
4794
  $ = p, r(5, $);
4816
4795
  });
4817
4796
  }
4818
4797
  return e.$$set = (p) => {
4819
- "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, l = p.clientstyling), "clientstylingurl" in p && r(19, u = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4798
+ "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4820
4799
  }, e.$$.update = () => {
4821
4800
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4822
- 229376 && i && o && s && ft(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4823
- 24 && m && g && dt(), e.$$.dirty[0] & /*lang*/
4824
- 131072 && s && Fr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4825
- 262176 && l && $ && Co($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4826
- 524320 && u && $ && Po($, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4827
- 2097184 && $ && Bo($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4828
- 1048576 && f && Rr(), e.$$.dirty[0] & /*paginationrequired*/
4829
- 4194304 && Ie && ft();
4801
+ 229376 && i && o && s && ht(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4802
+ 24 && m && g && ct(), e.$$.dirty[0] & /*lang*/
4803
+ 131072 && s && Dr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4804
+ 262176 && u && $ && To($, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4805
+ 524320 && l && $ && Ho($, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4806
+ 2097184 && $ && Co($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4807
+ 1048576 && f && Mr(), e.$$.dirty[0] & /*paginationrequired*/
4808
+ 4194304 && Oe && ht();
4830
4809
  }, [
4831
4810
  a,
4832
4811
  h,
@@ -4835,36 +4814,36 @@ function Ro(e, t, r) {
4835
4814
  g,
4836
4815
  $,
4837
4816
  b,
4838
- x,
4817
+ S,
4839
4818
  T,
4840
- ct,
4819
+ ut,
4841
4820
  n,
4821
+ Gr,
4842
4822
  Ur,
4843
- Dr,
4844
- mt,
4845
- bt,
4823
+ dt,
4824
+ pt,
4846
4825
  i,
4847
4826
  o,
4848
4827
  s,
4849
- l,
4850
4828
  u,
4829
+ l,
4851
4830
  f,
4852
4831
  d,
4853
- Ie,
4832
+ Oe,
4833
+ Fr,
4854
4834
  jr,
4855
4835
  kr,
4856
- Vr,
4857
- Xr
4836
+ Vr
4858
4837
  ];
4859
4838
  }
4860
- class $o extends _n {
4839
+ class Mo extends yn {
4861
4840
  constructor(t) {
4862
- super(), vn(
4841
+ super(), gn(
4863
4842
  this,
4864
4843
  t,
4865
- Ro,
4866
- Mo,
4867
- tr,
4844
+ No,
4845
+ Io,
4846
+ Kt,
4868
4847
  {
4869
4848
  endpoint: 15,
4870
4849
  datasource: 16,
@@ -4877,7 +4856,7 @@ class $o extends _n {
4877
4856
  collectionprovidersgamenames: 2,
4878
4857
  mbsource: 21
4879
4858
  },
4880
- Ao,
4859
+ Po,
4881
4860
  [-1, -1]
4882
4861
  );
4883
4862
  }
@@ -4942,7 +4921,7 @@ class $o extends _n {
4942
4921
  this.$$set({ mbsource: t }), M();
4943
4922
  }
4944
4923
  }
4945
- yn($o, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4924
+ vn(Mo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4946
4925
  export {
4947
- $o as default
4926
+ Mo as default
4948
4927
  };