@everymatrix/casino-collections-providers 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Vr = Object.defineProperty, Xr = Object.defineProperties;
2
- var Wr = Object.getOwnPropertyDescriptors;
3
- var mt = Object.getOwnPropertySymbols;
4
- var zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
1
+ var Wr = Object.defineProperty, Zr = Object.defineProperties;
2
+ var Qr = Object.getOwnPropertyDescriptors;
3
+ var yt = Object.getOwnPropertySymbols;
4
+ var Jr = Object.prototype.hasOwnProperty, Yr = 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, _t = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- zr.call(t, r) && Le(e, r, t[r]);
8
- if (mt)
9
- for (var r of mt(t))
10
- Zr.call(t, r) && Le(e, r, t[r]);
7
+ Jr.call(t, r) && Le(e, r, t[r]);
8
+ if (yt)
9
+ for (var r of yt(t))
10
+ Yr.call(t, r) && Le(e, r, t[r]);
11
11
  return e;
12
- }, gt = (e, t) => Xr(e, Wr(t));
12
+ }, Et = (e, t) => Zr(e, Qr(t));
13
13
  var M = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
14
- var vt = (e, t, r) => new Promise((n, i) => {
14
+ var xt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,29 +29,29 @@ var vt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function L() {
31
31
  }
32
- function Qt(e) {
32
+ function Kt(e) {
33
33
  return e();
34
34
  }
35
- function yt() {
35
+ function St() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function te(e) {
39
- e.forEach(Qt);
39
+ e.forEach(Kt);
40
40
  }
41
- function rt(e) {
41
+ function nt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Jt(e, t) {
44
+ function er(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let de;
48
- function xe(e, t) {
48
+ function Ee(e, t) {
49
49
  return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
50
50
  }
51
- function Qr(e) {
51
+ function qr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Yt(e, ...t) {
54
+ function tr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Yt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Jr(e, t, r) {
64
- e.$$.on_destroy.push(Yt(t, r));
63
+ function Kr(e, t, r) {
64
+ e.$$.on_destroy.push(tr(t, r));
65
65
  }
66
- function H(e, t) {
66
+ function C(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Yr(e, t, r) {
70
- const n = qr(e);
69
+ function en(e, t, r) {
70
+ const n = tn(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = C("style");
73
- i.id = t, i.textContent = r, Kr(n, i);
72
+ const i = P("style");
73
+ i.id = t, i.textContent = r, rn(n, i);
74
74
  }
75
75
  }
76
- function qr(e) {
76
+ function tn(e) {
77
77
  if (!e) return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
79
  return t && /** @type {ShadowRoot} */
@@ -82,47 +82,47 @@ function qr(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function Kr(e, t) {
86
- return H(
85
+ function rn(e, t) {
86
+ return C(
87
87
  /** @type {Document} */
88
88
  e.head || e,
89
89
  t
90
90
  ), t.sheet;
91
91
  }
92
- function G(e, t, r) {
92
+ function U(e, t, r) {
93
93
  e.insertBefore(t, r || null);
94
94
  }
95
- function R(e) {
95
+ function $(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function qt(e, t) {
98
+ function rr(e, t) {
99
99
  for (let r = 0; r < e.length; r += 1)
100
100
  e[r] && e[r].d(t);
101
101
  }
102
- function C(e) {
102
+ function P(e) {
103
103
  return document.createElement(e);
104
104
  }
105
105
  function Ce(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function j() {
108
+ function k() {
109
109
  return Ce(" ");
110
110
  }
111
111
  function J(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
- function en(e) {
114
+ function nn(e) {
115
115
  return function(t) {
116
116
  return t.stopPropagation(), e.call(this, t);
117
117
  };
118
118
  }
119
- function E(e, t, r) {
119
+ function x(e, t, r) {
120
120
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
121
121
  }
122
- function tn(e) {
122
+ function on(e) {
123
123
  return Array.from(e.childNodes);
124
124
  }
125
- function nt(e, t) {
125
+ function it(e, t) {
126
126
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
127
127
  t);
128
128
  }
@@ -130,7 +130,7 @@ function Ne(e, t, r, n) {
130
130
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
131
131
  }
132
132
  let pe;
133
- function rn() {
133
+ function sn() {
134
134
  if (pe === void 0) {
135
135
  pe = !1;
136
136
  try {
@@ -141,14 +141,14 @@ function rn() {
141
141
  }
142
142
  return pe;
143
143
  }
144
- function nn(e, t) {
144
+ function an(e, t) {
145
145
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
146
- const n = C("iframe");
146
+ const n = P("iframe");
147
147
  n.setAttribute(
148
148
  "style",
149
149
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
150
150
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
151
- const i = rn();
151
+ const i = sn();
152
152
  let o;
153
153
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = J(
154
154
  window,
@@ -159,11 +159,11 @@ function nn(e, t) {
159
159
  }
160
160
  )) : (n.src = "about:blank", n.onload = () => {
161
161
  o = J(n.contentWindow, "resize", t), t();
162
- }), H(e, n), () => {
163
- (i || o && n.contentWindow) && o(), R(n);
162
+ }), C(e, n), () => {
163
+ (i || o && n.contentWindow) && o(), $(n);
164
164
  };
165
165
  }
166
- function on(e) {
166
+ function ln(e) {
167
167
  const t = {};
168
168
  return e.childNodes.forEach(
169
169
  /** @param {Element} node */
@@ -172,88 +172,88 @@ function on(e) {
172
172
  }
173
173
  ), t;
174
174
  }
175
- let ue;
176
- function le(e) {
177
- ue = e;
175
+ let le;
176
+ function ae(e) {
177
+ le = e;
178
178
  }
179
- function sn() {
180
- if (!ue) throw new Error("Function called outside component initialization");
181
- return ue;
179
+ function un() {
180
+ if (!le) throw new Error("Function called outside component initialization");
181
+ return le;
182
182
  }
183
- function an(e) {
184
- sn().$$.on_mount.push(e);
183
+ function hn(e) {
184
+ un().$$.on_mount.push(e);
185
185
  }
186
- const z = [], Ee = [];
186
+ const W = [], xe = [];
187
187
  let Z = [];
188
- const _t = [], ln = /* @__PURE__ */ Promise.resolve();
189
- let je = !1;
190
- function un() {
191
- je || (je = !0, ln.then($));
188
+ const wt = [], cn = /* @__PURE__ */ Promise.resolve();
189
+ let ke = !1;
190
+ function fn() {
191
+ ke || (ke = !0, cn.then(R));
192
192
  }
193
193
  function Se(e) {
194
194
  Z.push(e);
195
195
  }
196
196
  const Me = /* @__PURE__ */ new Set();
197
197
  let X = 0;
198
- function $() {
198
+ function R() {
199
199
  if (X !== 0)
200
200
  return;
201
- const e = ue;
201
+ const e = le;
202
202
  do {
203
203
  try {
204
- for (; X < z.length; ) {
205
- const t = z[X];
206
- X++, le(t), hn(t.$$);
204
+ for (; X < W.length; ) {
205
+ const t = W[X];
206
+ X++, ae(t), dn(t.$$);
207
207
  }
208
208
  } catch (t) {
209
- throw z.length = 0, X = 0, t;
209
+ throw W.length = 0, X = 0, t;
210
210
  }
211
- for (le(null), z.length = 0, X = 0; Ee.length; ) Ee.pop()();
211
+ for (ae(null), W.length = 0, X = 0; xe.length; ) xe.pop()();
212
212
  for (let t = 0; t < Z.length; t += 1) {
213
213
  const r = Z[t];
214
214
  Me.has(r) || (Me.add(r), r());
215
215
  }
216
216
  Z.length = 0;
217
- } while (z.length);
218
- for (; _t.length; )
219
- _t.pop()();
220
- je = !1, Me.clear(), le(e);
217
+ } while (W.length);
218
+ for (; wt.length; )
219
+ wt.pop()();
220
+ ke = !1, Me.clear(), ae(e);
221
221
  }
222
- function hn(e) {
222
+ function dn(e) {
223
223
  if (e.fragment !== null) {
224
224
  e.update(), te(e.before_update);
225
225
  const t = e.dirty;
226
226
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
227
227
  }
228
228
  }
229
- function cn(e) {
229
+ function pn(e) {
230
230
  const t = [], r = [];
231
231
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
232
232
  }
233
- const fn = /* @__PURE__ */ new Set();
234
- function dn(e, t) {
235
- e && e.i && (fn.delete(e), e.i(t));
233
+ const mn = /* @__PURE__ */ new Set();
234
+ function bn(e, t) {
235
+ e && e.i && (mn.delete(e), e.i(t));
236
236
  }
237
237
  function we(e) {
238
238
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
239
239
  }
240
- function pn(e, t, r) {
240
+ function gn(e, t, r) {
241
241
  const { fragment: n, after_update: i } = e.$$;
242
242
  n && n.m(t, r), Se(() => {
243
- const o = e.$$.on_mount.map(Qt).filter(rt);
243
+ const o = e.$$.on_mount.map(Kt).filter(nt);
244
244
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
245
245
  }), i.forEach(Se);
246
246
  }
247
- function mn(e, t) {
247
+ function vn(e, t) {
248
248
  const r = e.$$;
249
- r.fragment !== null && (cn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
249
+ r.fragment !== null && (pn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
250
250
  }
251
- function bn(e, t) {
252
- e.$$.dirty[0] === -1 && (z.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
251
+ function yn(e, t) {
252
+ e.$$.dirty[0] === -1 && (W.push(e), fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
253
  }
254
- function gn(e, t, r, n, i, o, s = null, a = [-1]) {
255
- const l = ue;
256
- le(e);
254
+ function _n(e, t, r, n, i, o, s = null, a = [-1]) {
255
+ const l = le;
256
+ ae(e);
257
257
  const u = e.$$ = {
258
258
  fragment: null,
259
259
  ctx: [],
@@ -261,7 +261,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
261
261
  props: o,
262
262
  update: L,
263
263
  not_equal: i,
264
- bound: yt(),
264
+ bound: St(),
265
265
  // lifecycle
266
266
  on_mount: [],
267
267
  on_destroy: [],
@@ -270,7 +270,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
270
270
  after_update: [],
271
271
  context: new Map(t.context || (l ? l.$$.context : [])),
272
272
  // everything else
273
- callbacks: yt(),
273
+ callbacks: St(),
274
274
  dirty: a,
275
275
  skip_bound: !1,
276
276
  root: t.target || l.$$.root
@@ -279,19 +279,19 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
279
279
  let h = !1;
280
280
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
281
281
  const d = p.length ? p[0] : f;
282
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && bn(e, c)), f;
282
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && yn(e, c)), f;
283
283
  }) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
284
284
  if (t.hydrate) {
285
- const c = tn(t.target);
286
- u.fragment && u.fragment.l(c), c.forEach(R);
285
+ const c = on(t.target);
286
+ u.fragment && u.fragment.l(c), c.forEach($);
287
287
  } else
288
288
  u.fragment && u.fragment.c();
289
- t.intro && dn(e.$$.fragment), pn(e, t.target, t.anchor), $();
289
+ t.intro && bn(e.$$.fragment), gn(e, t.target, t.anchor), R();
290
290
  }
291
- le(l);
291
+ ae(l);
292
292
  }
293
- let Kt;
294
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
293
+ let nr;
294
+ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
295
295
  constructor(t, r, n) {
296
296
  super();
297
297
  /** The Svelte component constructor */
@@ -328,31 +328,31 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
328
328
  }
329
329
  }
330
330
  connectedCallback() {
331
- return vt(this, null, function* () {
331
+ return xt(this, null, function* () {
332
332
  if (this.$$cn = !0, !this.$$c) {
333
333
  let t = function(o) {
334
334
  return () => {
335
335
  let s;
336
336
  return {
337
337
  c: function() {
338
- s = C("slot"), o !== "default" && E(s, "name", o);
338
+ s = P("slot"), o !== "default" && x(s, "name", o);
339
339
  },
340
340
  /**
341
341
  * @param {HTMLElement} target
342
342
  * @param {HTMLElement} [anchor]
343
343
  */
344
344
  m: function(u, h) {
345
- G(u, s, h);
345
+ U(u, s, h);
346
346
  },
347
347
  d: function(u) {
348
- u && R(s);
348
+ u && $(s);
349
349
  }
350
350
  };
351
351
  };
352
352
  };
353
353
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
354
354
  return;
355
- const r = {}, n = on(this);
355
+ const r = {}, n = ln(this);
356
356
  for (const o of this.$$s)
357
357
  o in n && (r[o] = [t(o)]);
358
358
  for (const o of this.attributes) {
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
363
363
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
364
364
  this.$$c = new this.$$ctor({
365
365
  target: this.shadowRoot || this,
366
- props: gt(bt({}, this.$$d), {
366
+ props: Et(_t({}, this.$$d), {
367
367
  $$slots: r,
368
368
  $$scope: {
369
369
  ctx: []
@@ -441,8 +441,8 @@ function ge(e, t, r, n) {
441
441
  return t;
442
442
  }
443
443
  }
444
- function vn(e, t, r, n, i, o) {
445
- let s = class extends Kt {
444
+ function En(e, t, r, n, i, o) {
445
+ let s = class extends nr {
446
446
  constructor() {
447
447
  super(e, r, i), this.$$p_d = t;
448
448
  }
@@ -472,7 +472,7 @@ function vn(e, t, r, n, i, o) {
472
472
  }), e.element = /** @type {any} */
473
473
  s, s;
474
474
  }
475
- class yn {
475
+ class xn {
476
476
  constructor() {
477
477
  /**
478
478
  * ### PRIVATE API
@@ -493,7 +493,7 @@ class yn {
493
493
  }
494
494
  /** @returns {void} */
495
495
  $destroy() {
496
- mn(this, 1), this.$destroy = L;
496
+ vn(this, 1), this.$destroy = L;
497
497
  }
498
498
  /**
499
499
  * @template {Extract<keyof Events, string>} K
@@ -502,7 +502,7 @@ class yn {
502
502
  * @returns {() => void}
503
503
  */
504
504
  $on(t, r) {
505
- if (!rt(r))
505
+ if (!nt(r))
506
506
  return L;
507
507
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
508
508
  return n.push(r), () => {
@@ -515,13 +515,13 @@ class yn {
515
515
  * @returns {void}
516
516
  */
517
517
  $set(t) {
518
- this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
+ this.$$set && !qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
519
519
  }
520
520
  }
521
- const _n = "4";
522
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
523
- const W = [];
524
- function xn(e, t) {
521
+ const Sn = "4";
522
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
523
+ const z = [];
524
+ function wn(e, t) {
525
525
  return {
526
526
  subscribe: Pe(e, t).subscribe
527
527
  };
@@ -530,14 +530,14 @@ function Pe(e, t = L) {
530
530
  let r;
531
531
  const n = /* @__PURE__ */ new Set();
532
532
  function i(a) {
533
- if (Jt(e, a) && (e = a, r)) {
534
- const l = !W.length;
533
+ if (er(e, a) && (e = a, r)) {
534
+ const l = !z.length;
535
535
  for (const u of n)
536
- u[1](), W.push(u, e);
536
+ u[1](), z.push(u, e);
537
537
  if (l) {
538
- for (let u = 0; u < W.length; u += 2)
539
- W[u][0](W[u + 1]);
540
- W.length = 0;
538
+ for (let u = 0; u < z.length; u += 2)
539
+ z[u][0](z[u + 1]);
540
+ z.length = 0;
541
541
  }
542
542
  }
543
543
  }
@@ -557,7 +557,7 @@ function re(e, t, r) {
557
557
  if (!i.every(Boolean))
558
558
  throw new Error("derived() expects stores as input, got a falsy value");
559
559
  const o = t.length < 2;
560
- return xn(r, (s, a) => {
560
+ return wn(r, (s, a) => {
561
561
  let l = !1;
562
562
  const u = [];
563
563
  let h = 0, c = L;
@@ -566,9 +566,9 @@ function re(e, t, r) {
566
566
  return;
567
567
  c();
568
568
  const d = t(n ? u[0] : u, s, a);
569
- o ? s(d) : c = rt(d) ? d : L;
569
+ o ? s(d) : c = nt(d) ? d : L;
570
570
  }, p = i.map(
571
- (d, g) => Yt(
571
+ (d, g) => tr(
572
572
  d,
573
573
  (m) => {
574
574
  u[g] = m, h &= ~(1 << g), l && f();
@@ -583,70 +583,70 @@ function re(e, t, r) {
583
583
  };
584
584
  });
585
585
  }
586
- function En(e) {
586
+ function Tn(e) {
587
587
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
588
588
  }
589
- var Sn = function(t) {
590
- return wn(t) && !Tn(t);
589
+ var Hn = function(t) {
590
+ return Cn(t) && !Pn(t);
591
591
  };
592
- function wn(e) {
592
+ function Cn(e) {
593
593
  return !!e && typeof e == "object";
594
594
  }
595
- function Tn(e) {
595
+ function Pn(e) {
596
596
  var t = Object.prototype.toString.call(e);
597
- return t === "[object RegExp]" || t === "[object Date]" || Pn(e);
597
+ return t === "[object RegExp]" || t === "[object Date]" || On(e);
598
598
  }
599
- var Hn = typeof Symbol == "function" && Symbol.for, Cn = Hn ? Symbol.for("react.element") : 60103;
600
- function Pn(e) {
601
- return e.$$typeof === Cn;
599
+ var Bn = typeof Symbol == "function" && Symbol.for, An = Bn ? Symbol.for("react.element") : 60103;
600
+ function On(e) {
601
+ return e.$$typeof === An;
602
602
  }
603
- function Bn(e) {
603
+ function In(e) {
604
604
  return Array.isArray(e) ? [] : {};
605
605
  }
606
- function he(e, t) {
607
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(Bn(e), e, t) : e;
606
+ function ue(e, t) {
607
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(In(e), e, t) : e;
608
608
  }
609
- function An(e, t, r) {
609
+ function Ln(e, t, r) {
610
610
  return e.concat(t).map(function(n) {
611
- return he(n, r);
611
+ return ue(n, r);
612
612
  });
613
613
  }
614
- function On(e, t) {
614
+ function Nn(e, t) {
615
615
  if (!t.customMerge)
616
616
  return Y;
617
617
  var r = t.customMerge(e);
618
618
  return typeof r == "function" ? r : Y;
619
619
  }
620
- function In(e) {
620
+ function Mn(e) {
621
621
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
622
622
  return Object.propertyIsEnumerable.call(e, t);
623
623
  }) : [];
624
624
  }
625
- function xt(e) {
626
- return Object.keys(e).concat(In(e));
625
+ function Tt(e) {
626
+ return Object.keys(e).concat(Mn(e));
627
627
  }
628
- function er(e, t) {
628
+ function ir(e, t) {
629
629
  try {
630
630
  return t in e;
631
631
  } catch (r) {
632
632
  return !1;
633
633
  }
634
634
  }
635
- function Ln(e, t) {
636
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
635
+ function Rn(e, t) {
636
+ return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
637
637
  }
638
- function Nn(e, t, r) {
638
+ function $n(e, t, r) {
639
639
  var n = {};
640
- return r.isMergeableObject(e) && xt(e).forEach(function(i) {
641
- n[i] = he(e[i], r);
642
- }), xt(t).forEach(function(i) {
643
- Ln(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
640
+ return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
641
+ n[i] = ue(e[i], r);
642
+ }), Tt(t).forEach(function(i) {
643
+ Rn(e, i) || (ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
644
644
  }), n;
645
645
  }
646
646
  function Y(e, t, r) {
647
- r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = he;
647
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = ue;
648
648
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
649
- return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : he(t, r);
649
+ return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : ue(t, r);
650
650
  }
651
651
  Y.all = function(t, r) {
652
652
  if (!Array.isArray(t))
@@ -655,34 +655,34 @@ Y.all = function(t, r) {
655
655
  return Y(n, i, r);
656
656
  }, {});
657
657
  };
658
- var Mn = Y, Rn = Mn;
659
- const $n = /* @__PURE__ */ En(Rn);
660
- var ke = function(e, t) {
661
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
658
+ var Gn = Y, Un = Gn;
659
+ const Dn = /* @__PURE__ */ Tn(Un);
660
+ var Ve = function(e, t) {
661
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
662
662
  r.__proto__ = n;
663
663
  } || function(r, n) {
664
664
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
665
- }, ke(e, t);
665
+ }, Ve(e, t);
666
666
  };
667
- function D(e, t) {
667
+ function F(e, t) {
668
668
  if (typeof t != "function" && t !== null)
669
669
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
670
- ke(e, t);
670
+ Ve(e, t);
671
671
  function r() {
672
672
  this.constructor = e;
673
673
  }
674
674
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
675
675
  }
676
- var _ = function() {
677
- return _ = Object.assign || function(t) {
676
+ var E = function() {
677
+ return E = Object.assign || function(t) {
678
678
  for (var r, n = 1, i = arguments.length; n < i; n++) {
679
679
  r = arguments[n];
680
680
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
681
681
  }
682
682
  return t;
683
- }, _.apply(this, arguments);
683
+ }, E.apply(this, arguments);
684
684
  };
685
- function Gn(e, t) {
685
+ function Fn(e, t) {
686
686
  var r = {};
687
687
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
688
688
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -690,7 +690,7 @@ function Gn(e, t) {
690
690
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
691
691
  return r;
692
692
  }
693
- function Ve(e) {
693
+ function Xe(e) {
694
694
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
695
695
  if (r) return r.call(e);
696
696
  if (e && typeof e.length == "number") return {
@@ -700,7 +700,7 @@ function Ve(e) {
700
700
  };
701
701
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
702
702
  }
703
- function Xe(e, t) {
703
+ function ze(e, t) {
704
704
  var r = typeof Symbol == "function" && e[Symbol.iterator];
705
705
  if (!r) return e;
706
706
  var n = r.call(e), i, o = [], s;
@@ -723,53 +723,55 @@ function Q(e, t, r) {
723
723
  return e.concat(o || Array.prototype.slice.call(t));
724
724
  }
725
725
  function Re(e, t) {
726
- var r = t && t.cache ? t.cache : Xn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Fn;
726
+ var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : kn;
727
727
  return i(e, {
728
728
  cache: r,
729
729
  serializer: n
730
730
  });
731
731
  }
732
- function Un(e) {
732
+ function jn(e) {
733
733
  return e == null || typeof e == "number" || typeof e == "boolean";
734
734
  }
735
- function Dn(e, t, r, n) {
736
- var i = Un(n) ? n : r(n), o = t.get(i);
735
+ function or(e, t, r, n) {
736
+ var i = jn(n) ? n : r(n), o = t.get(i);
737
737
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
738
738
  }
739
- function tr(e, t, r) {
739
+ function sr(e, t, r) {
740
740
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
741
741
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
742
742
  }
743
- function rr(e, t, r, n, i) {
743
+ function ot(e, t, r, n, i) {
744
744
  return r.bind(t, e, n, i);
745
745
  }
746
- function Fn(e, t) {
747
- var r = e.length === 1 ? Dn : tr;
748
- return rr(e, this, r, t.cache.create(), t.serializer);
746
+ function kn(e, t) {
747
+ var r = e.length === 1 ? or : sr;
748
+ return ot(e, this, r, t.cache.create(), t.serializer);
749
+ }
750
+ function Vn(e, t) {
751
+ return ot(e, this, sr, t.cache.create(), t.serializer);
749
752
  }
750
- function jn(e, t) {
751
- return rr(e, this, tr, t.cache.create(), t.serializer);
753
+ function Xn(e, t) {
754
+ return ot(e, this, or, t.cache.create(), t.serializer);
752
755
  }
753
- var kn = function() {
756
+ var zn = function() {
754
757
  return JSON.stringify(arguments);
755
- }, Vn = (
756
- /** @class */
757
- function() {
758
- function e() {
759
- this.cache = /* @__PURE__ */ Object.create(null);
760
- }
761
- return e.prototype.get = function(t) {
762
- return this.cache[t];
763
- }, e.prototype.set = function(t, r) {
764
- this.cache[t] = r;
765
- }, e;
766
- }()
767
- ), Xn = {
758
+ };
759
+ function st() {
760
+ this.cache = /* @__PURE__ */ Object.create(null);
761
+ }
762
+ st.prototype.get = function(e) {
763
+ return this.cache[e];
764
+ };
765
+ st.prototype.set = function(e, t) {
766
+ this.cache[e] = t;
767
+ };
768
+ var Wn = {
768
769
  create: function() {
769
- return new Vn();
770
+ return new st();
770
771
  }
771
772
  }, $e = {
772
- variadic: jn
773
+ variadic: Vn,
774
+ monadic: Xn
773
775
  }, v;
774
776
  (function(e) {
775
777
  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";
@@ -782,43 +784,43 @@ var q;
782
784
  (function(e) {
783
785
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
784
786
  })(q || (q = {}));
785
- function Et(e) {
787
+ function Ht(e) {
786
788
  return e.type === w.literal;
787
789
  }
788
- function Wn(e) {
790
+ function Zn(e) {
789
791
  return e.type === w.argument;
790
792
  }
791
- function nr(e) {
793
+ function ar(e) {
792
794
  return e.type === w.number;
793
795
  }
794
- function ir(e) {
796
+ function lr(e) {
795
797
  return e.type === w.date;
796
798
  }
797
- function or(e) {
799
+ function ur(e) {
798
800
  return e.type === w.time;
799
801
  }
800
- function sr(e) {
802
+ function hr(e) {
801
803
  return e.type === w.select;
802
804
  }
803
- function ar(e) {
805
+ function cr(e) {
804
806
  return e.type === w.plural;
805
807
  }
806
- function zn(e) {
808
+ function Qn(e) {
807
809
  return e.type === w.pound;
808
810
  }
809
- function lr(e) {
811
+ function fr(e) {
810
812
  return e.type === w.tag;
811
813
  }
812
- function ur(e) {
814
+ function dr(e) {
813
815
  return !!(e && typeof e == "object" && e.type === q.number);
814
816
  }
815
817
  function We(e) {
816
818
  return !!(e && typeof e == "object" && e.type === q.dateTime);
817
819
  }
818
- var hr = /[ \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;
819
- function Qn(e) {
820
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
821
+ function Yn(e) {
820
822
  var t = {};
821
- return e.replace(Zn, function(r) {
823
+ return e.replace(Jn, function(r) {
822
824
  var n = r.length;
823
825
  switch (r[0]) {
824
826
  case "G":
@@ -907,11 +909,11 @@ function Qn(e) {
907
909
  return "";
908
910
  }), t;
909
911
  }
910
- var Jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
911
- function Yn(e) {
912
+ var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
913
+ function Kn(e) {
912
914
  if (e.length === 0)
913
915
  throw new Error("Number skeleton cannot be empty");
914
- for (var t = e.split(Jn).filter(function(f) {
916
+ for (var t = e.split(qn).filter(function(f) {
915
917
  return f.length > 0;
916
918
  }), r = [], n = 0, i = t; n < i.length; n++) {
917
919
  var o = i[n], s = o.split("/");
@@ -926,17 +928,17 @@ function Yn(e) {
926
928
  }
927
929
  return r;
928
930
  }
929
- function qn(e) {
931
+ function ei(e) {
930
932
  return e.replace(/^(.*?)-/, "");
931
933
  }
932
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Kn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
933
- function wt(e) {
934
+ var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
935
+ function Pt(e) {
934
936
  var t = {};
935
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
937
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
936
938
  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)), "";
937
939
  }), t;
938
940
  }
939
- function dr(e) {
941
+ function gr(e) {
940
942
  switch (e) {
941
943
  case "sign-auto":
942
944
  return {
@@ -976,7 +978,7 @@ function dr(e) {
976
978
  };
977
979
  }
978
980
  }
979
- function ei(e) {
981
+ function ri(e) {
980
982
  var t;
981
983
  if (e[0] === "E" && e[1] === "E" ? (t = {
982
984
  notation: "engineering"
@@ -984,17 +986,17 @@ function ei(e) {
984
986
  notation: "scientific"
985
987
  }, e = e.slice(1)), t) {
986
988
  var r = e.slice(0, 2);
987
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
989
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
988
990
  throw new Error("Malformed concise eng/scientific notation");
989
991
  t.minimumIntegerDigits = e.length;
990
992
  }
991
993
  return t;
992
994
  }
993
- function Tt(e) {
994
- var t = {}, r = dr(e);
995
+ function Bt(e) {
996
+ var t = {}, r = gr(e);
995
997
  return r || t;
996
998
  }
997
- function ti(e) {
999
+ function ni(e) {
998
1000
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
999
1001
  var i = n[r];
1000
1002
  switch (i.stem) {
@@ -1018,7 +1020,7 @@ function ti(e) {
1018
1020
  continue;
1019
1021
  case "measure-unit":
1020
1022
  case "unit":
1021
- t.style = "unit", t.unit = qn(i.options[0]);
1023
+ t.style = "unit", t.unit = ei(i.options[0]);
1022
1024
  continue;
1023
1025
  case "compact-short":
1024
1026
  case "K":
@@ -1029,13 +1031,13 @@ function ti(e) {
1029
1031
  t.notation = "compact", t.compactDisplay = "long";
1030
1032
  continue;
1031
1033
  case "scientific":
1032
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1033
- return _(_({}, l), Tt(u));
1034
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1035
+ return E(E({}, l), Bt(u));
1034
1036
  }, {}));
1035
1037
  continue;
1036
1038
  case "engineering":
1037
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1038
- return _(_({}, l), Tt(u));
1039
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1040
+ return E(E({}, l), Bt(u));
1039
1041
  }, {}));
1040
1042
  continue;
1041
1043
  case "notation-simple":
@@ -1080,7 +1082,7 @@ function ti(e) {
1080
1082
  case "integer-width":
1081
1083
  if (i.options.length > 1)
1082
1084
  throw new RangeError("integer-width stems only accept a single optional option");
1083
- i.options[0].replace(Kn, function(l, u, h, c, f, p) {
1085
+ i.options[0].replace(ti, function(l, u, h, c, f, p) {
1084
1086
  if (u)
1085
1087
  t.minimumIntegerDigits = h.length;
1086
1088
  else {
@@ -1093,28 +1095,28 @@ function ti(e) {
1093
1095
  });
1094
1096
  continue;
1095
1097
  }
1096
- if (fr.test(i.stem)) {
1098
+ if (br.test(i.stem)) {
1097
1099
  t.minimumIntegerDigits = i.stem.length;
1098
1100
  continue;
1099
1101
  }
1100
- if (St.test(i.stem)) {
1102
+ if (Ct.test(i.stem)) {
1101
1103
  if (i.options.length > 1)
1102
1104
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1103
- i.stem.replace(St, function(l, u, h, c, f, p) {
1105
+ i.stem.replace(Ct, function(l, u, h, c, f, p) {
1104
1106
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1105
1107
  });
1106
1108
  var o = i.options[0];
1107
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), wt(o)));
1109
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
1108
1110
  continue;
1109
1111
  }
1110
- if (cr.test(i.stem)) {
1111
- t = _(_({}, t), wt(i.stem));
1112
+ if (mr.test(i.stem)) {
1113
+ t = E(E({}, t), Pt(i.stem));
1112
1114
  continue;
1113
1115
  }
1114
- var s = dr(i.stem);
1115
- s && (t = _(_({}, t), s));
1116
- var a = ei(i.stem);
1117
- a && (t = _(_({}, t), a));
1116
+ var s = gr(i.stem);
1117
+ s && (t = E(E({}, t), s));
1118
+ var a = ri(i.stem);
1119
+ a && (t = E(E({}, t), a));
1118
1120
  }
1119
1121
  return t;
1120
1122
  }
@@ -2533,13 +2535,13 @@ var me = {
2533
2535
  "h"
2534
2536
  ]
2535
2537
  };
2536
- function ri(e, t) {
2538
+ function ii(e, t) {
2537
2539
  for (var r = "", n = 0; n < e.length; n++) {
2538
2540
  var i = e.charAt(n);
2539
2541
  if (i === "j") {
2540
2542
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2541
2543
  o++, n++;
2542
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ni(t);
2544
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = oi(t);
2543
2545
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2544
2546
  r += l;
2545
2547
  for (; s-- > 0; )
@@ -2548,7 +2550,7 @@ function ri(e, t) {
2548
2550
  }
2549
2551
  return r;
2550
2552
  }
2551
- function ni(e) {
2553
+ function oi(e) {
2552
2554
  var t = e.hourCycle;
2553
2555
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2554
2556
  e.hourCycles && // @ts-ignore
@@ -2570,20 +2572,20 @@ function ni(e) {
2570
2572
  var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2571
2573
  return i[0];
2572
2574
  }
2573
- var Ge, ii = new RegExp("^".concat(hr.source, "*")), oi = new RegExp("".concat(hr.source, "*$"));
2575
+ var Ge, si = new RegExp("^".concat(pr.source, "*")), ai = new RegExp("".concat(pr.source, "*$"));
2574
2576
  function y(e, t) {
2575
2577
  return { start: e, end: t };
2576
2578
  }
2577
- var si = !!String.prototype.startsWith && "_a".startsWith("a", 1), ai = !!String.fromCodePoint, li = !!Object.fromEntries, ui = !!String.prototype.codePointAt, hi = !!String.prototype.trimStart, ci = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, di = fi ? Number.isSafeInteger : function(e) {
2579
+ var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, mi = pi ? Number.isSafeInteger : function(e) {
2578
2580
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2579
- }, ze = !0;
2581
+ }, Ze = !0;
2580
2582
  try {
2581
- var pi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2582
- ze = ((Ge = pi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2583
+ var bi = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2584
+ Ze = ((Ge = bi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2583
2585
  } catch (e) {
2584
- ze = !1;
2586
+ Ze = !1;
2585
2587
  }
2586
- var Ht = si ? (
2588
+ var At = li ? (
2587
2589
  // Native
2588
2590
  function(t, r, n) {
2589
2591
  return t.startsWith(r, n);
@@ -2593,7 +2595,7 @@ var Ht = si ? (
2593
2595
  function(t, r, n) {
2594
2596
  return t.slice(n, n + r.length) === r;
2595
2597
  }
2596
- ), Ze = ai ? String.fromCodePoint : (
2598
+ ), Qe = ui ? String.fromCodePoint : (
2597
2599
  // IE11
2598
2600
  function() {
2599
2601
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2605,9 +2607,9 @@ var Ht = si ? (
2605
2607
  }
2606
2608
  return n;
2607
2609
  }
2608
- ), Ct = (
2610
+ ), Ot = (
2609
2611
  // native
2610
- li ? Object.fromEntries : (
2612
+ hi ? Object.fromEntries : (
2611
2613
  // Ponyfill
2612
2614
  function(t) {
2613
2615
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2617,7 +2619,7 @@ var Ht = si ? (
2617
2619
  return r;
2618
2620
  }
2619
2621
  )
2620
- ), pr = ui ? (
2622
+ ), vr = ci ? (
2621
2623
  // Native
2622
2624
  function(t, r) {
2623
2625
  return t.codePointAt(r);
@@ -2631,7 +2633,7 @@ var Ht = si ? (
2631
2633
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2632
2634
  }
2633
2635
  }
2634
- ), mi = hi ? (
2636
+ ), gi = fi ? (
2635
2637
  // Native
2636
2638
  function(t) {
2637
2639
  return t.trimStart();
@@ -2639,9 +2641,9 @@ var Ht = si ? (
2639
2641
  ) : (
2640
2642
  // Ponyfill
2641
2643
  function(t) {
2642
- return t.replace(ii, "");
2644
+ return t.replace(si, "");
2643
2645
  }
2644
- ), bi = ci ? (
2646
+ ), vi = di ? (
2645
2647
  // Native
2646
2648
  function(t) {
2647
2649
  return t.trimEnd();
@@ -2649,32 +2651,32 @@ var Ht = si ? (
2649
2651
  ) : (
2650
2652
  // Ponyfill
2651
2653
  function(t) {
2652
- return t.replace(oi, "");
2654
+ return t.replace(ai, "");
2653
2655
  }
2654
2656
  );
2655
- function mr(e, t) {
2657
+ function yr(e, t) {
2656
2658
  return new RegExp(e, t);
2657
2659
  }
2658
- var Qe;
2659
- if (ze) {
2660
- var Pt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2661
- Qe = function(t, r) {
2660
+ var Je;
2661
+ if (Ze) {
2662
+ var It = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2663
+ Je = function(t, r) {
2662
2664
  var n;
2663
- Pt.lastIndex = r;
2664
- var i = Pt.exec(t);
2665
+ It.lastIndex = r;
2666
+ var i = It.exec(t);
2665
2667
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2666
2668
  };
2667
2669
  } else
2668
- Qe = function(t, r) {
2670
+ Je = function(t, r) {
2669
2671
  for (var n = []; ; ) {
2670
- var i = pr(t, r);
2671
- if (i === void 0 || br(i) || _i(i))
2672
+ var i = vr(t, r);
2673
+ if (i === void 0 || _r(i) || xi(i))
2672
2674
  break;
2673
2675
  n.push(i), r += i >= 65536 ? 2 : 1;
2674
2676
  }
2675
- return Ze.apply(void 0, n);
2677
+ return Qe.apply(void 0, n);
2676
2678
  };
2677
- var gi = (
2679
+ var yi = (
2678
2680
  /** @class */
2679
2681
  function() {
2680
2682
  function e(t, r) {
@@ -2705,7 +2707,7 @@ var gi = (
2705
2707
  if (n)
2706
2708
  break;
2707
2709
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2708
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2710
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
2709
2711
  var s = this.parseTag(t, r);
2710
2712
  if (s.err)
2711
2713
  return s;
@@ -2738,7 +2740,7 @@ var gi = (
2738
2740
  return o;
2739
2741
  var s = o.val, a = this.clonePosition();
2740
2742
  if (this.bumpIf("</")) {
2741
- if (this.isEOF() || !Je(this.char()))
2743
+ if (this.isEOF() || !Ye(this.char()))
2742
2744
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2743
2745
  var l = this.clonePosition(), u = this.parseTagName();
2744
2746
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2756,7 +2758,7 @@ var gi = (
2756
2758
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2757
2759
  }, e.prototype.parseTagName = function() {
2758
2760
  var t = this.offset();
2759
- for (this.bump(); !this.isEOF() && yi(this.char()); )
2761
+ for (this.bump(); !this.isEOF() && Ei(this.char()); )
2760
2762
  this.bump();
2761
2763
  return this.message.slice(t, this.offset());
2762
2764
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2785,7 +2787,7 @@ var gi = (
2785
2787
  };
2786
2788
  }, e.prototype.tryParseLeftAngleBracket = function() {
2787
2789
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2788
- !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
2790
+ !_i(this.peek() || 0)) ? (this.bump(), "<") : null;
2789
2791
  }, e.prototype.tryParseQuote = function(t) {
2790
2792
  if (this.isEOF() || this.char() !== 39)
2791
2793
  return null;
@@ -2819,12 +2821,12 @@ var gi = (
2819
2821
  r.push(n);
2820
2822
  this.bump();
2821
2823
  }
2822
- return Ze.apply(void 0, r);
2824
+ return Qe.apply(void 0, r);
2823
2825
  }, e.prototype.tryParseUnquoted = function(t, r) {
2824
2826
  if (this.isEOF())
2825
2827
  return null;
2826
2828
  var n = this.char();
2827
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2829
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2828
2830
  }, e.prototype.parseArgument = function(t, r) {
2829
2831
  var n = this.clonePosition();
2830
2832
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2853,7 +2855,7 @@ var gi = (
2853
2855
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2854
2856
  }
2855
2857
  }, e.prototype.parseIdentifierIfPossible = function() {
2856
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2858
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2857
2859
  this.bumpTo(i);
2858
2860
  var o = this.clonePosition(), s = y(t, o);
2859
2861
  return { value: n, location: s };
@@ -2872,7 +2874,7 @@ var gi = (
2872
2874
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2873
2875
  if (c.err)
2874
2876
  return c;
2875
- var f = bi(c.val);
2877
+ var f = vi(c.val);
2876
2878
  if (f.length === 0)
2877
2879
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2878
2880
  var p = y(h, this.clonePosition());
@@ -2882,8 +2884,8 @@ var gi = (
2882
2884
  if (d.err)
2883
2885
  return d;
2884
2886
  var g = y(i, this.clonePosition());
2885
- if (u && Ht(u == null ? void 0 : u.style, "::", 0)) {
2886
- var m = mi(u.style.slice(2));
2887
+ if (u && At(u == null ? void 0 : u.style, "::", 0)) {
2888
+ var m = gi(u.style.slice(2));
2887
2889
  if (a === "number") {
2888
2890
  var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
2889
2891
  return c.err ? c : {
@@ -2893,13 +2895,13 @@ var gi = (
2893
2895
  } else {
2894
2896
  if (m.length === 0)
2895
2897
  return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
2896
- var x = m;
2897
- this.locale && (x = ri(m, this.locale));
2898
+ var _ = m;
2899
+ this.locale && (_ = ii(m, this.locale));
2898
2900
  var f = {
2899
2901
  type: q.dateTime,
2900
- pattern: x,
2902
+ pattern: _,
2901
2903
  location: u.styleLocation,
2902
- parsedOptions: this.shouldParseSkeletons ? Qn(x) : {}
2904
+ parsedOptions: this.shouldParseSkeletons ? Yn(_) : {}
2903
2905
  }, S = a === "date" ? w.date : w.time;
2904
2906
  return {
2905
2907
  val: { type: S, value: n, location: g, style: f },
@@ -2920,43 +2922,43 @@ var gi = (
2920
2922
  case "plural":
2921
2923
  case "selectordinal":
2922
2924
  case "select": {
2923
- var A = this.clonePosition();
2925
+ var T = this.clonePosition();
2924
2926
  if (this.bumpSpace(), !this.bumpIf(","))
2925
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, _({}, A)));
2927
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, E({}, T)));
2926
2928
  this.bumpSpace();
2927
- var T = this.parseIdentifierIfPossible(), P = 0;
2928
- if (a !== "select" && T.value === "offset") {
2929
+ var H = this.parseIdentifierIfPossible(), A = 0;
2930
+ if (a !== "select" && H.value === "offset") {
2929
2931
  if (!this.bumpIf(":"))
2930
2932
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2931
2933
  this.bumpSpace();
2932
2934
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2933
2935
  if (c.err)
2934
2936
  return c;
2935
- this.bumpSpace(), T = this.parseIdentifierIfPossible(), P = c.val;
2937
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = c.val;
2936
2938
  }
2937
- var V = this.tryParsePluralOrSelectOptions(t, a, r, T);
2938
- if (V.err)
2939
- return V;
2939
+ var O = this.tryParsePluralOrSelectOptions(t, a, r, H);
2940
+ if (O.err)
2941
+ return O;
2940
2942
  var d = this.tryParseArgumentClose(i);
2941
2943
  if (d.err)
2942
2944
  return d;
2943
- var oe = y(i, this.clonePosition());
2945
+ var fe = y(i, this.clonePosition());
2944
2946
  return a === "select" ? {
2945
2947
  val: {
2946
2948
  type: w.select,
2947
2949
  value: n,
2948
- options: Ct(V.val),
2949
- location: oe
2950
+ options: Ot(O.val),
2951
+ location: fe
2950
2952
  },
2951
2953
  err: null
2952
2954
  } : {
2953
2955
  val: {
2954
2956
  type: w.plural,
2955
2957
  value: n,
2956
- options: Ct(V.val),
2957
- offset: P,
2958
+ options: Ot(O.val),
2959
+ offset: A,
2958
2960
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2959
- location: oe
2961
+ location: fe
2960
2962
  },
2961
2963
  err: null
2962
2964
  };
@@ -3004,7 +3006,7 @@ var gi = (
3004
3006
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3005
3007
  var n = [];
3006
3008
  try {
3007
- n = Yn(t);
3009
+ n = Kn(t);
3008
3010
  } catch (i) {
3009
3011
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3010
3012
  }
@@ -3013,7 +3015,7 @@ var gi = (
3013
3015
  type: q.number,
3014
3016
  tokens: n,
3015
3017
  location: r,
3016
- parsedOptions: this.shouldParseSkeletons ? ti(n) : {}
3018
+ parsedOptions: this.shouldParseSkeletons ? ni(n) : {}
3017
3019
  },
3018
3020
  err: null
3019
3021
  };
@@ -3061,7 +3063,7 @@ var gi = (
3061
3063
  break;
3062
3064
  }
3063
3065
  var l = y(i, this.clonePosition());
3064
- return o ? (s *= n, di(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3066
+ return o ? (s *= n, mi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3065
3067
  }, e.prototype.offset = function() {
3066
3068
  return this.position.offset;
3067
3069
  }, e.prototype.isEOF = function() {
@@ -3076,7 +3078,7 @@ var gi = (
3076
3078
  var t = this.position.offset;
3077
3079
  if (t >= this.message.length)
3078
3080
  throw Error("out of bound");
3079
- var r = pr(this.message, t);
3081
+ var r = vr(this.message, t);
3080
3082
  if (r === void 0)
3081
3083
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3082
3084
  return r;
@@ -3095,7 +3097,7 @@ var gi = (
3095
3097
  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);
3096
3098
  }
3097
3099
  }, e.prototype.bumpIf = function(t) {
3098
- if (Ht(this.message, t, this.offset())) {
3100
+ if (At(this.message, t, this.offset())) {
3099
3101
  for (var r = 0; r < t.length; r++)
3100
3102
  this.bump();
3101
3103
  return !0;
@@ -3117,7 +3119,7 @@ var gi = (
3117
3119
  break;
3118
3120
  }
3119
3121
  }, e.prototype.bumpSpace = function() {
3120
- for (; !this.isEOF() && br(this.char()); )
3122
+ for (; !this.isEOF() && _r(this.char()); )
3121
3123
  this.bump();
3122
3124
  }, e.prototype.peek = function() {
3123
3125
  if (this.isEOF())
@@ -3127,37 +3129,37 @@ var gi = (
3127
3129
  }, e;
3128
3130
  }()
3129
3131
  );
3130
- function Je(e) {
3132
+ function Ye(e) {
3131
3133
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3132
3134
  }
3133
- function vi(e) {
3134
- return Je(e) || e === 47;
3135
+ function _i(e) {
3136
+ return Ye(e) || e === 47;
3135
3137
  }
3136
- function yi(e) {
3138
+ function Ei(e) {
3137
3139
  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;
3138
3140
  }
3139
- function br(e) {
3141
+ function _r(e) {
3140
3142
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3141
3143
  }
3142
- function _i(e) {
3144
+ function xi(e) {
3143
3145
  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;
3144
3146
  }
3145
- function Ye(e) {
3147
+ function qe(e) {
3146
3148
  e.forEach(function(t) {
3147
- if (delete t.location, sr(t) || ar(t))
3149
+ if (delete t.location, hr(t) || cr(t))
3148
3150
  for (var r in t.options)
3149
- delete t.options[r].location, Ye(t.options[r].value);
3150
- else nr(t) && ur(t.style) || (ir(t) || or(t)) && We(t.style) ? delete t.style.location : lr(t) && Ye(t.children);
3151
+ delete t.options[r].location, qe(t.options[r].value);
3152
+ else ar(t) && dr(t.style) || (lr(t) || ur(t)) && We(t.style) ? delete t.style.location : fr(t) && qe(t.children);
3151
3153
  });
3152
3154
  }
3153
- function xi(e, t) {
3154
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3155
- var r = new gi(e, t).parse();
3155
+ function Si(e, t) {
3156
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3157
+ var r = new yi(e, t).parse();
3156
3158
  if (r.err) {
3157
3159
  var n = SyntaxError(v[r.err.kind]);
3158
3160
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3159
3161
  }
3160
- return t != null && t.captureLocation || Ye(r.val), r.val;
3162
+ return t != null && t.captureLocation || qe(r.val), r.val;
3161
3163
  }
3162
3164
  var K;
3163
3165
  (function(e) {
@@ -3166,7 +3168,7 @@ var K;
3166
3168
  var Be = (
3167
3169
  /** @class */
3168
3170
  function(e) {
3169
- D(t, e);
3171
+ F(t, e);
3170
3172
  function t(r, n, i) {
3171
3173
  var o = e.call(this, r) || this;
3172
3174
  return o.code = n, o.originalMessage = i, o;
@@ -3175,153 +3177,153 @@ var Be = (
3175
3177
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3176
3178
  }, t;
3177
3179
  }(Error)
3178
- ), Bt = (
3180
+ ), Lt = (
3179
3181
  /** @class */
3180
3182
  function(e) {
3181
- D(t, e);
3183
+ F(t, e);
3182
3184
  function t(r, n, i, o) {
3183
3185
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3184
3186
  }
3185
3187
  return t;
3186
3188
  }(Be)
3187
- ), Ei = (
3189
+ ), wi = (
3188
3190
  /** @class */
3189
3191
  function(e) {
3190
- D(t, e);
3192
+ F(t, e);
3191
3193
  function t(r, n, i) {
3192
3194
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3193
3195
  }
3194
3196
  return t;
3195
3197
  }(Be)
3196
- ), Si = (
3198
+ ), Ti = (
3197
3199
  /** @class */
3198
3200
  function(e) {
3199
- D(t, e);
3201
+ F(t, e);
3200
3202
  function t(r, n) {
3201
3203
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3202
3204
  }
3203
3205
  return t;
3204
3206
  }(Be)
3205
- ), O;
3207
+ ), B;
3206
3208
  (function(e) {
3207
3209
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3208
- })(O || (O = {}));
3209
- function wi(e) {
3210
+ })(B || (B = {}));
3211
+ function Hi(e) {
3210
3212
  return e.length < 2 ? e : e.reduce(function(t, r) {
3211
3213
  var n = t[t.length - 1];
3212
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3214
+ return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3213
3215
  }, []);
3214
3216
  }
3215
- function Ti(e) {
3217
+ function Ci(e) {
3216
3218
  return typeof e == "function";
3217
3219
  }
3218
3220
  function ve(e, t, r, n, i, o, s) {
3219
- if (e.length === 1 && Et(e[0]))
3221
+ if (e.length === 1 && Ht(e[0]))
3220
3222
  return [
3221
3223
  {
3222
- type: O.literal,
3224
+ type: B.literal,
3223
3225
  value: e[0].value
3224
3226
  }
3225
3227
  ];
3226
3228
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3227
3229
  var h = u[l];
3228
- if (Et(h)) {
3230
+ if (Ht(h)) {
3229
3231
  a.push({
3230
- type: O.literal,
3232
+ type: B.literal,
3231
3233
  value: h.value
3232
3234
  });
3233
3235
  continue;
3234
3236
  }
3235
- if (zn(h)) {
3237
+ if (Qn(h)) {
3236
3238
  typeof o == "number" && a.push({
3237
- type: O.literal,
3239
+ type: B.literal,
3238
3240
  value: r.getNumberFormat(t).format(o)
3239
3241
  });
3240
3242
  continue;
3241
3243
  }
3242
3244
  var c = h.value;
3243
3245
  if (!(i && c in i))
3244
- throw new Si(c, s);
3246
+ throw new Ti(c, s);
3245
3247
  var f = i[c];
3246
- if (Wn(h)) {
3248
+ if (Zn(h)) {
3247
3249
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3248
- type: typeof f == "string" ? O.literal : O.object,
3250
+ type: typeof f == "string" ? B.literal : B.object,
3249
3251
  value: f
3250
3252
  });
3251
3253
  continue;
3252
3254
  }
3253
- if (ir(h)) {
3255
+ if (lr(h)) {
3254
3256
  var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3255
3257
  a.push({
3256
- type: O.literal,
3258
+ type: B.literal,
3257
3259
  value: r.getDateTimeFormat(t, p).format(f)
3258
3260
  });
3259
3261
  continue;
3260
3262
  }
3261
- if (or(h)) {
3263
+ if (ur(h)) {
3262
3264
  var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3263
3265
  a.push({
3264
- type: O.literal,
3266
+ type: B.literal,
3265
3267
  value: r.getDateTimeFormat(t, p).format(f)
3266
3268
  });
3267
3269
  continue;
3268
3270
  }
3269
- if (nr(h)) {
3270
- var p = typeof h.style == "string" ? n.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
3271
+ if (ar(h)) {
3272
+ var p = typeof h.style == "string" ? n.number[h.style] : dr(h.style) ? h.style.parsedOptions : void 0;
3271
3273
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3272
- type: O.literal,
3274
+ type: B.literal,
3273
3275
  value: r.getNumberFormat(t, p).format(f)
3274
3276
  });
3275
3277
  continue;
3276
3278
  }
3277
- if (lr(h)) {
3279
+ if (fr(h)) {
3278
3280
  var d = h.children, g = h.value, m = i[g];
3279
- if (!Ti(m))
3280
- throw new Ei(g, "function", s);
3281
- var x = ve(d, t, r, n, i, o), S = m(x.map(function(P) {
3282
- return P.value;
3281
+ if (!Ci(m))
3282
+ throw new wi(g, "function", s);
3283
+ var _ = ve(d, t, r, n, i, o), S = m(_.map(function(A) {
3284
+ return A.value;
3283
3285
  }));
3284
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(P) {
3286
+ Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(A) {
3285
3287
  return {
3286
- type: typeof P == "string" ? O.literal : O.object,
3287
- value: P
3288
+ type: typeof A == "string" ? B.literal : B.object,
3289
+ value: A
3288
3290
  };
3289
3291
  }));
3290
3292
  }
3291
- if (sr(h)) {
3292
- var A = h.options[f] || h.options.other;
3293
- if (!A)
3294
- throw new Bt(h.value, f, Object.keys(h.options), s);
3295
- a.push.apply(a, ve(A.value, t, r, n, i));
3293
+ if (hr(h)) {
3294
+ var T = h.options[f] || h.options.other;
3295
+ if (!T)
3296
+ throw new Lt(h.value, f, Object.keys(h.options), s);
3297
+ a.push.apply(a, ve(T.value, t, r, n, i));
3296
3298
  continue;
3297
3299
  }
3298
- if (ar(h)) {
3299
- var A = h.options["=".concat(f)];
3300
- if (!A) {
3300
+ if (cr(h)) {
3301
+ var T = h.options["=".concat(f)];
3302
+ if (!T) {
3301
3303
  if (!Intl.PluralRules)
3302
3304
  throw new Be(`Intl.PluralRules is not available in this environment.
3303
3305
  Try polyfilling it using "@formatjs/intl-pluralrules"
3304
3306
  `, K.MISSING_INTL_API, s);
3305
- var T = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3306
- A = h.options[T] || h.options.other;
3307
+ var H = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3308
+ T = h.options[H] || h.options.other;
3307
3309
  }
3308
- if (!A)
3309
- throw new Bt(h.value, f, Object.keys(h.options), s);
3310
- a.push.apply(a, ve(A.value, t, r, n, i, f - (h.offset || 0)));
3310
+ if (!T)
3311
+ throw new Lt(h.value, f, Object.keys(h.options), s);
3312
+ a.push.apply(a, ve(T.value, t, r, n, i, f - (h.offset || 0)));
3311
3313
  continue;
3312
3314
  }
3313
3315
  }
3314
- return wi(a);
3316
+ return Hi(a);
3315
3317
  }
3316
- function Hi(e, t) {
3317
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3318
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3318
+ function Pi(e, t) {
3319
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3320
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3319
3321
  }, {})) : e;
3320
3322
  }
3321
- function Ci(e, t) {
3323
+ function Bi(e, t) {
3322
3324
  return t ? Object.keys(e).reduce(function(r, n) {
3323
- return r[n] = Hi(e[n], t[n]), r;
3324
- }, _({}, e)) : e;
3325
+ return r[n] = Pi(e[n], t[n]), r;
3326
+ }, E({}, e)) : e;
3325
3327
  }
3326
3328
  function Ue(e) {
3327
3329
  return {
@@ -3337,7 +3339,7 @@ function Ue(e) {
3337
3339
  }
3338
3340
  };
3339
3341
  }
3340
- function Pi(e) {
3342
+ function Ai(e) {
3341
3343
  return e === void 0 && (e = {
3342
3344
  number: {},
3343
3345
  dateTime: {},
@@ -3369,7 +3371,7 @@ function Pi(e) {
3369
3371
  })
3370
3372
  };
3371
3373
  }
3372
- var Bi = (
3374
+ var Oi = (
3373
3375
  /** @class */
3374
3376
  function() {
3375
3377
  function e(t, r, n, i) {
@@ -3384,7 +3386,7 @@ var Bi = (
3384
3386
  if (u.length === 1)
3385
3387
  return u[0].value;
3386
3388
  var h = u.reduce(function(c, f) {
3387
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3389
+ return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3388
3390
  }, []);
3389
3391
  return h.length <= 1 ? h[0] || "" : h;
3390
3392
  }, this.formatToParts = function(l) {
@@ -3401,13 +3403,13 @@ var Bi = (
3401
3403
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3402
3404
  var s = i || {};
3403
3405
  s.formatters;
3404
- var a = Gn(s, ["formatters"]);
3405
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3406
+ var a = Fn(s, ["formatters"]);
3407
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3406
3408
  } else
3407
3409
  this.ast = t;
3408
3410
  if (!Array.isArray(this.ast))
3409
3411
  throw new TypeError("A message must be provided as a String or AST.");
3410
- this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
3412
+ this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
3411
3413
  }
3412
3414
  return Object.defineProperty(e, "defaultLocale", {
3413
3415
  get: function() {
@@ -3420,7 +3422,7 @@ var Bi = (
3420
3422
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3421
3423
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3422
3424
  }
3423
- }, e.__parse = xi, e.formats = {
3425
+ }, e.__parse = Si, e.formats = {
3424
3426
  number: {
3425
3427
  integer: {
3426
3428
  maximumFractionDigits: 0
@@ -3481,7 +3483,7 @@ var Bi = (
3481
3483
  }, e;
3482
3484
  }()
3483
3485
  );
3484
- function Ai(e, t) {
3486
+ function Ii(e, t) {
3485
3487
  if (t == null)
3486
3488
  return;
3487
3489
  if (t in e)
@@ -3502,92 +3504,92 @@ function Ai(e, t) {
3502
3504
  n = void 0;
3503
3505
  return n;
3504
3506
  }
3505
- const F = {}, Oi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), gr = (e, t) => {
3507
+ const j = {}, Li = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Er = (e, t) => {
3506
3508
  if (t == null)
3507
3509
  return;
3508
- if (t in F && e in F[t])
3509
- return F[t][e];
3510
+ if (t in j && e in j[t])
3511
+ return j[t][e];
3510
3512
  const r = Ae(t);
3511
3513
  for (let n = 0; n < r.length; n++) {
3512
- const i = r[n], o = Li(i, e);
3514
+ const i = r[n], o = Mi(i, e);
3513
3515
  if (o)
3514
- return Oi(e, t, o);
3516
+ return Li(e, t, o);
3515
3517
  }
3516
3518
  };
3517
- let it;
3518
- const fe = Pe({});
3519
- function Ii(e) {
3520
- return it[e] || null;
3519
+ let at;
3520
+ const ce = Pe({});
3521
+ function Ni(e) {
3522
+ return at[e] || null;
3521
3523
  }
3522
- function vr(e) {
3523
- return e in it;
3524
+ function xr(e) {
3525
+ return e in at;
3524
3526
  }
3525
- function Li(e, t) {
3526
- if (!vr(e))
3527
+ function Mi(e, t) {
3528
+ if (!xr(e))
3527
3529
  return null;
3528
- const r = Ii(e);
3529
- return Ai(r, t);
3530
+ const r = Ni(e);
3531
+ return Ii(r, t);
3530
3532
  }
3531
- function Ni(e) {
3533
+ function Ri(e) {
3532
3534
  if (e == null)
3533
3535
  return;
3534
3536
  const t = Ae(e);
3535
3537
  for (let r = 0; r < t.length; r++) {
3536
3538
  const n = t[r];
3537
- if (vr(n))
3539
+ if (xr(n))
3538
3540
  return n;
3539
3541
  }
3540
3542
  }
3541
- function yr(e, ...t) {
3542
- delete F[e], fe.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
3543
+ function Sr(e, ...t) {
3544
+ delete j[e], ce.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
3543
3545
  }
3544
3546
  re(
3545
- [fe],
3547
+ [ce],
3546
3548
  ([e]) => Object.keys(e)
3547
3549
  );
3548
- fe.subscribe((e) => it = e);
3550
+ ce.subscribe((e) => at = e);
3549
3551
  const ye = {};
3550
- function Mi(e, t) {
3552
+ function $i(e, t) {
3551
3553
  ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3552
3554
  }
3553
- function _r(e) {
3555
+ function wr(e) {
3554
3556
  return ye[e];
3555
3557
  }
3556
- function Ri(e) {
3558
+ function Gi(e) {
3557
3559
  return Ae(e).map((t) => {
3558
- const r = _r(t);
3560
+ const r = wr(t);
3559
3561
  return [t, r ? [...r] : []];
3560
3562
  }).filter(([, t]) => t.length > 0);
3561
3563
  }
3562
- function qe(e) {
3564
+ function Ke(e) {
3563
3565
  return e == null ? !1 : Ae(e).some(
3564
3566
  (t) => {
3565
3567
  var r;
3566
- return (r = _r(t)) == null ? void 0 : r.size;
3568
+ return (r = wr(t)) == null ? void 0 : r.size;
3567
3569
  }
3568
3570
  );
3569
3571
  }
3570
- function $i(e, t) {
3572
+ function Ui(e, t) {
3571
3573
  return Promise.all(
3572
- t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
3573
- ).then((n) => yr(e, ...n));
3574
- }
3575
- const ae = {};
3576
- function xr(e) {
3577
- if (!qe(e))
3578
- return e in ae ? ae[e] : Promise.resolve();
3579
- const t = Ri(e);
3580
- return ae[e] = Promise.all(
3574
+ t.map((n) => ($i(e, n), n().then((i) => i.default || i)))
3575
+ ).then((n) => Sr(e, ...n));
3576
+ }
3577
+ const se = {};
3578
+ function Tr(e) {
3579
+ if (!Ke(e))
3580
+ return e in se ? se[e] : Promise.resolve();
3581
+ const t = Gi(e);
3582
+ return se[e] = Promise.all(
3581
3583
  t.map(
3582
- ([r, n]) => $i(r, n)
3584
+ ([r, n]) => Ui(r, n)
3583
3585
  )
3584
3586
  ).then(() => {
3585
- if (qe(e))
3586
- return xr(e);
3587
- delete ae[e];
3588
- }), ae[e];
3587
+ if (Ke(e))
3588
+ return Tr(e);
3589
+ delete se[e];
3590
+ }), se[e];
3589
3591
  }
3590
- const Gi = {
3592
+ const Di = {
3591
3593
  number: {
3592
3594
  scientific: { notation: "scientific" },
3593
3595
  engineering: { notation: "engineering" },
@@ -3616,57 +3618,57 @@ const Gi = {
3616
3618
  timeZoneName: "short"
3617
3619
  }
3618
3620
  }
3619
- }, Ui = {
3621
+ }, Fi = {
3620
3622
  fallbackLocale: null,
3621
3623
  loadingDelay: 200,
3622
- formats: Gi,
3624
+ formats: Di,
3623
3625
  warnOnMissingMessages: !0,
3624
3626
  handleMissingMessage: void 0,
3625
3627
  ignoreTag: !0
3626
- }, Di = Ui;
3628
+ }, ji = Fi;
3627
3629
  function ee() {
3628
- return Di;
3630
+ return ji;
3629
3631
  }
3630
3632
  const De = Pe(!1);
3631
- var Fi = Object.defineProperty, ji = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Vi = Object.prototype.hasOwnProperty, Xi = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wi = (e, t) => {
3633
+ var ki = Object.defineProperty, Vi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
3632
3634
  for (var r in t || (t = {}))
3633
- Vi.call(t, r) && Ot(e, r, t[r]);
3634
- if (At)
3635
- for (var r of At(t))
3636
- Xi.call(t, r) && Ot(e, r, t[r]);
3635
+ zi.call(t, r) && Mt(e, r, t[r]);
3636
+ if (Nt)
3637
+ for (var r of Nt(t))
3638
+ Wi.call(t, r) && Mt(e, r, t[r]);
3637
3639
  return e;
3638
- }, zi = (e, t) => ji(e, ki(t));
3639
- let Ke;
3640
+ }, Qi = (e, t) => Vi(e, Xi(t));
3641
+ let et;
3640
3642
  const Te = Pe(null);
3641
- function It(e) {
3643
+ function Rt(e) {
3642
3644
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3643
3645
  }
3644
3646
  function Ae(e, t = ee().fallbackLocale) {
3645
- const r = It(e);
3646
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3647
+ const r = Rt(e);
3648
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
3647
3649
  }
3648
- function k() {
3649
- return Ke != null ? Ke : void 0;
3650
+ function V() {
3651
+ return et != null ? et : void 0;
3650
3652
  }
3651
3653
  Te.subscribe((e) => {
3652
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3654
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3653
3655
  });
3654
- const Zi = (e) => {
3655
- if (e && Ni(e) && qe(e)) {
3656
+ const Ji = (e) => {
3657
+ if (e && Ri(e) && Ke(e)) {
3656
3658
  const { loadingDelay: t } = ee();
3657
3659
  let r;
3658
- return typeof window != "undefined" && k() != null && t ? r = window.setTimeout(
3660
+ return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3659
3661
  () => De.set(!0),
3660
3662
  t
3661
- ) : De.set(!0), xr(e).then(() => {
3663
+ ) : De.set(!0), Tr(e).then(() => {
3662
3664
  Te.set(e);
3663
3665
  }).finally(() => {
3664
3666
  clearTimeout(r), De.set(!1);
3665
3667
  });
3666
3668
  }
3667
3669
  return Te.set(e);
3668
- }, ne = zi(Wi({}, Te), {
3669
- set: Zi
3670
+ }, ne = Qi(Zi({}, Te), {
3671
+ set: Ji
3670
3672
  }), Oe = (e) => {
3671
3673
  const t = /* @__PURE__ */ Object.create(null);
3672
3674
  return (n) => {
@@ -3674,90 +3676,90 @@ const Zi = (e) => {
3674
3676
  return i in t ? t[i] : t[i] = e(n);
3675
3677
  };
3676
3678
  };
3677
- var Qi = Object.defineProperty, He = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3679
+ var Yi = Object.defineProperty, He = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3678
3680
  for (var r in t || (t = {}))
3679
- Er.call(t, r) && Lt(e, r, t[r]);
3681
+ Hr.call(t, r) && $t(e, r, t[r]);
3680
3682
  if (He)
3681
3683
  for (var r of He(t))
3682
- Sr.call(t, r) && Lt(e, r, t[r]);
3684
+ Cr.call(t, r) && $t(e, r, t[r]);
3683
3685
  return e;
3684
3686
  }, ie = (e, t) => {
3685
3687
  var r = {};
3686
3688
  for (var n in e)
3687
- Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3689
+ Hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3688
3690
  if (e != null && He)
3689
3691
  for (var n of He(e))
3690
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
3692
+ t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
3691
3693
  return r;
3692
3694
  };
3693
- const ce = (e, t) => {
3695
+ const he = (e, t) => {
3694
3696
  const { formats: r } = ee();
3695
3697
  if (e in r && t in r[e])
3696
3698
  return r[e][t];
3697
3699
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3698
- }, Ji = Oe(
3700
+ }, qi = Oe(
3699
3701
  (e) => {
3700
3702
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3701
3703
  if (r == null)
3702
3704
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3703
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3705
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3704
3706
  }
3705
- ), Yi = Oe(
3707
+ ), Ki = Oe(
3706
3708
  (e) => {
3707
3709
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3708
3710
  if (r == null)
3709
3711
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3710
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3712
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3711
3713
  }
3712
- ), qi = Oe(
3714
+ ), eo = Oe(
3713
3715
  (e) => {
3714
3716
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3715
3717
  if (r == null)
3716
3718
  throw new Error(
3717
3719
  '[svelte-i18n] A "locale" must be set to format time values'
3718
3720
  );
3719
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3721
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3720
3722
  }
3721
- ), Ki = (e = {}) => {
3723
+ ), to = (e = {}) => {
3722
3724
  var t = e, {
3723
- locale: r = k()
3725
+ locale: r = V()
3724
3726
  } = t, n = ie(t, [
3725
3727
  "locale"
3726
3728
  ]);
3727
- return Ji(ot({ locale: r }, n));
3728
- }, eo = (e = {}) => {
3729
+ return qi(lt({ locale: r }, n));
3730
+ }, ro = (e = {}) => {
3729
3731
  var t = e, {
3730
- locale: r = k()
3732
+ locale: r = V()
3731
3733
  } = t, n = ie(t, [
3732
3734
  "locale"
3733
3735
  ]);
3734
- return Yi(ot({ locale: r }, n));
3735
- }, to = (e = {}) => {
3736
+ return Ki(lt({ locale: r }, n));
3737
+ }, no = (e = {}) => {
3736
3738
  var t = e, {
3737
- locale: r = k()
3739
+ locale: r = V()
3738
3740
  } = t, n = ie(t, [
3739
3741
  "locale"
3740
3742
  ]);
3741
- return qi(ot({ locale: r }, n));
3742
- }, ro = Oe(
3743
+ return eo(lt({ locale: r }, n));
3744
+ }, io = Oe(
3743
3745
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3744
- (e, t = k()) => new Bi(e, t, ee().formats, {
3746
+ (e, t = V()) => new Oi(e, t, ee().formats, {
3745
3747
  ignoreTag: ee().ignoreTag
3746
3748
  })
3747
- ), no = (e, t = {}) => {
3749
+ ), oo = (e, t = {}) => {
3748
3750
  var r, n, i, o;
3749
3751
  let s = t;
3750
3752
  typeof e == "object" && (s = e, e = s.id);
3751
3753
  const {
3752
3754
  values: a,
3753
- locale: l = k(),
3755
+ locale: l = V(),
3754
3756
  default: u
3755
3757
  } = s;
3756
3758
  if (l == null)
3757
3759
  throw new Error(
3758
3760
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3759
3761
  );
3760
- let h = gr(e, l);
3762
+ let h = Er(e, l);
3761
3763
  if (!h)
3762
3764
  h = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3763
3765
  else if (typeof h != "string")
@@ -3768,7 +3770,7 @@ const ce = (e, t) => {
3768
3770
  return h;
3769
3771
  let c = h;
3770
3772
  try {
3771
- c = ro(h, l).format(a);
3773
+ c = io(h, l).format(a);
3772
3774
  } catch (f) {
3773
3775
  f instanceof Error && console.warn(
3774
3776
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3776,18 +3778,18 @@ const ce = (e, t) => {
3776
3778
  );
3777
3779
  }
3778
3780
  return c;
3779
- }, io = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Ki(t).format(e), ao = (e, t = k()) => gr(e, t), lo = re([ne, fe], () => no);
3780
- re([ne], () => io);
3781
- re([ne], () => oo);
3781
+ }, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = V()) => Er(e, t), ho = re([ne, ce], () => oo);
3782
3782
  re([ne], () => so);
3783
- re([ne, fe], () => ao);
3784
- function Nt(e, t) {
3785
- yr(e, t);
3783
+ re([ne], () => ao);
3784
+ re([ne], () => lo);
3785
+ re([ne, ce], () => uo);
3786
+ function Gt(e, t) {
3787
+ Sr(e, t);
3786
3788
  }
3787
- function uo(e) {
3789
+ function co(e) {
3788
3790
  ne.set(e);
3789
3791
  }
3790
- const Mt = {
3792
+ const Ut = {
3791
3793
  en: {
3792
3794
  collections: "Game Collections",
3793
3795
  providers: "Game Providers",
@@ -3884,16 +3886,16 @@ const Mt = {
3884
3886
  loading: "Loading, please wait ..."
3885
3887
  }
3886
3888
  };
3887
- function U(e) {
3889
+ function D(e) {
3888
3890
  return typeof e == "function";
3889
3891
  }
3890
- function wr(e) {
3892
+ function Pr(e) {
3891
3893
  var t = function(n) {
3892
3894
  Error.call(n), n.stack = new Error().stack;
3893
3895
  }, r = e(t);
3894
3896
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3895
3897
  }
3896
- var Fe = wr(function(e) {
3898
+ var Fe = Pr(function(e) {
3897
3899
  return function(r) {
3898
3900
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3899
3901
  ` + r.map(function(n, i) {
@@ -3902,7 +3904,7 @@ var Fe = wr(function(e) {
3902
3904
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3903
3905
  };
3904
3906
  });
3905
- function et(e, t) {
3907
+ function tt(e, t) {
3906
3908
  if (e) {
3907
3909
  var r = e.indexOf(t);
3908
3910
  0 <= r && e.splice(r, 1);
@@ -3920,7 +3922,7 @@ var Ie = function() {
3920
3922
  if (s)
3921
3923
  if (this._parentage = null, Array.isArray(s))
3922
3924
  try {
3923
- for (var a = Ve(s), l = a.next(); !l.done; l = a.next()) {
3925
+ for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
3924
3926
  var u = l.value;
3925
3927
  u.remove(this);
3926
3928
  }
@@ -3936,7 +3938,7 @@ var Ie = function() {
3936
3938
  else
3937
3939
  s.remove(this);
3938
3940
  var h = this.initialTeardown;
3939
- if (U(h))
3941
+ if (D(h))
3940
3942
  try {
3941
3943
  h();
3942
3944
  } catch (g) {
@@ -3946,12 +3948,12 @@ var Ie = function() {
3946
3948
  if (c) {
3947
3949
  this._finalizers = null;
3948
3950
  try {
3949
- for (var f = Ve(c), p = f.next(); !p.done; p = f.next()) {
3951
+ for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
3950
3952
  var d = p.value;
3951
3953
  try {
3952
- Rt(d);
3954
+ Dt(d);
3953
3955
  } catch (g) {
3954
- o = o != null ? o : [], g instanceof Fe ? o = Q(Q([], Xe(o)), Xe(g.errors)) : o.push(g);
3956
+ o = o != null ? o : [], g instanceof Fe ? o = Q(Q([], ze(o)), ze(g.errors)) : o.push(g);
3955
3957
  }
3956
3958
  }
3957
3959
  } catch (g) {
@@ -3971,7 +3973,7 @@ var Ie = function() {
3971
3973
  var r;
3972
3974
  if (t && t !== this)
3973
3975
  if (this.closed)
3974
- Rt(t);
3976
+ Dt(t);
3975
3977
  else {
3976
3978
  if (t instanceof e) {
3977
3979
  if (t.closed || t._hasParent(this))
@@ -3988,52 +3990,56 @@ var Ie = function() {
3988
3990
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3989
3991
  }, e.prototype._removeParent = function(t) {
3990
3992
  var r = this._parentage;
3991
- r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
3993
+ r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
3992
3994
  }, e.prototype.remove = function(t) {
3993
3995
  var r = this._finalizers;
3994
- r && et(r, t), t instanceof e && t._removeParent(this);
3996
+ r && tt(r, t), t instanceof e && t._removeParent(this);
3995
3997
  }, e.EMPTY = function() {
3996
3998
  var t = new e();
3997
3999
  return t.closed = !0, t;
3998
4000
  }(), e;
3999
- }(), Tr = Ie.EMPTY;
4000
- function Hr(e) {
4001
- return e instanceof Ie || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
4002
- }
4003
- function Rt(e) {
4004
- U(e) ? e() : e.unsubscribe();
4005
- }
4006
- var ho = {
4007
- Promise: void 0
4008
- }, co = {
4001
+ }(), Br = Ie.EMPTY;
4002
+ function Ar(e) {
4003
+ return e instanceof Ie || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
4004
+ }
4005
+ function Dt(e) {
4006
+ D(e) ? e() : e.unsubscribe();
4007
+ }
4008
+ var Or = {
4009
+ onUnhandledError: null,
4010
+ onStoppedNotification: null,
4011
+ Promise: void 0,
4012
+ useDeprecatedSynchronousErrorHandling: !1,
4013
+ useDeprecatedNextContext: !1
4014
+ }, fo = {
4009
4015
  setTimeout: function(e, t) {
4010
4016
  for (var r = [], n = 2; n < arguments.length; n++)
4011
4017
  r[n - 2] = arguments[n];
4012
- return setTimeout.apply(void 0, Q([e, t], Xe(r)));
4018
+ return setTimeout.apply(void 0, Q([e, t], ze(r)));
4013
4019
  },
4014
4020
  clearTimeout: function(e) {
4015
4021
  return clearTimeout(e);
4016
4022
  },
4017
4023
  delegate: void 0
4018
4024
  };
4019
- function fo(e) {
4020
- co.setTimeout(function() {
4025
+ function po(e) {
4026
+ fo.setTimeout(function() {
4021
4027
  throw e;
4022
4028
  });
4023
4029
  }
4024
- function $t() {
4030
+ function Ft() {
4025
4031
  }
4026
4032
  function _e(e) {
4027
4033
  e();
4028
4034
  }
4029
- var Cr = function(e) {
4030
- D(t, e);
4035
+ var Ir = function(e) {
4036
+ F(t, e);
4031
4037
  function t(r) {
4032
4038
  var n = e.call(this) || this;
4033
- return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = bo, n;
4039
+ return n.isStopped = !1, r ? (n.destination = r, Ar(r) && r.add(n)) : n.destination = vo, n;
4034
4040
  }
4035
4041
  return t.create = function(r, n, i) {
4036
- return new tt(r, n, i);
4042
+ return new rt(r, n, i);
4037
4043
  }, t.prototype.next = function(r) {
4038
4044
  this.isStopped || this._next(r);
4039
4045
  }, t.prototype.error = function(r) {
@@ -4057,7 +4063,11 @@ var Cr = function(e) {
4057
4063
  this.unsubscribe();
4058
4064
  }
4059
4065
  }, t;
4060
- }(Ie), po = function() {
4066
+ }(Ie), mo = Function.prototype.bind;
4067
+ function je(e, t) {
4068
+ return mo.call(e, t);
4069
+ }
4070
+ var bo = function() {
4061
4071
  function e(t) {
4062
4072
  this.partialObserver = t;
4063
4073
  }
@@ -4088,43 +4098,55 @@ var Cr = function(e) {
4088
4098
  be(r);
4089
4099
  }
4090
4100
  }, e;
4091
- }(), tt = function(e) {
4092
- D(t, e);
4101
+ }(), rt = function(e) {
4102
+ F(t, e);
4093
4103
  function t(r, n, i) {
4094
4104
  var o = e.call(this) || this, s;
4095
- return U(r) || !r ? s = {
4096
- next: r != null ? r : void 0,
4097
- error: n != null ? n : void 0,
4098
- complete: i != null ? i : void 0
4099
- } : s = r, o.destination = new po(s), o;
4105
+ if (D(r) || !r)
4106
+ s = {
4107
+ next: r != null ? r : void 0,
4108
+ error: n != null ? n : void 0,
4109
+ complete: i != null ? i : void 0
4110
+ };
4111
+ else {
4112
+ var a;
4113
+ o && Or.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4114
+ return o.unsubscribe();
4115
+ }, s = {
4116
+ next: r.next && je(r.next, a),
4117
+ error: r.error && je(r.error, a),
4118
+ complete: r.complete && je(r.complete, a)
4119
+ }) : s = r;
4120
+ }
4121
+ return o.destination = new bo(s), o;
4100
4122
  }
4101
4123
  return t;
4102
- }(Cr);
4124
+ }(Ir);
4103
4125
  function be(e) {
4104
- fo(e);
4126
+ po(e);
4105
4127
  }
4106
- function mo(e) {
4128
+ function go(e) {
4107
4129
  throw e;
4108
4130
  }
4109
- var bo = {
4131
+ var vo = {
4110
4132
  closed: !0,
4111
- next: $t,
4112
- error: mo,
4113
- complete: $t
4114
- }, go = function() {
4133
+ next: Ft,
4134
+ error: go,
4135
+ complete: Ft
4136
+ }, yo = function() {
4115
4137
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4116
4138
  }();
4117
- function vo(e) {
4139
+ function _o(e) {
4118
4140
  return e;
4119
4141
  }
4120
- function yo(e) {
4121
- return e.length === 0 ? vo : e.length === 1 ? e[0] : function(r) {
4142
+ function Eo(e) {
4143
+ return e.length === 0 ? _o : e.length === 1 ? e[0] : function(r) {
4122
4144
  return e.reduce(function(n, i) {
4123
4145
  return i(n);
4124
4146
  }, r);
4125
4147
  };
4126
4148
  }
4127
- var Gt = function() {
4149
+ var jt = function() {
4128
4150
  function e(t) {
4129
4151
  t && (this._subscribe = t);
4130
4152
  }
@@ -4132,7 +4154,7 @@ var Gt = function() {
4132
4154
  var r = new e();
4133
4155
  return r.source = this, r.operator = t, r;
4134
4156
  }, e.prototype.subscribe = function(t, r, n) {
4135
- var i = this, o = xo(t) ? t : new tt(t, r, n);
4157
+ var i = this, o = So(t) ? t : new rt(t, r, n);
4136
4158
  return _e(function() {
4137
4159
  var s = i, a = s.operator, l = s.source;
4138
4160
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -4145,8 +4167,8 @@ var Gt = function() {
4145
4167
  }
4146
4168
  }, e.prototype.forEach = function(t, r) {
4147
4169
  var n = this;
4148
- return r = Ut(r), new r(function(i, o) {
4149
- var s = new tt({
4170
+ return r = kt(r), new r(function(i, o) {
4171
+ var s = new rt({
4150
4172
  next: function(a) {
4151
4173
  try {
4152
4174
  t(a);
@@ -4162,15 +4184,15 @@ var Gt = function() {
4162
4184
  }, e.prototype._subscribe = function(t) {
4163
4185
  var r;
4164
4186
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4165
- }, e.prototype[go] = function() {
4187
+ }, e.prototype[yo] = function() {
4166
4188
  return this;
4167
4189
  }, e.prototype.pipe = function() {
4168
4190
  for (var t = [], r = 0; r < arguments.length; r++)
4169
4191
  t[r] = arguments[r];
4170
- return yo(t)(this);
4192
+ return Eo(t)(this);
4171
4193
  }, e.prototype.toPromise = function(t) {
4172
4194
  var r = this;
4173
- return t = Ut(t), new t(function(n, i) {
4195
+ return t = kt(t), new t(function(n, i) {
4174
4196
  var o;
4175
4197
  r.subscribe(function(s) {
4176
4198
  return o = s;
@@ -4184,32 +4206,32 @@ var Gt = function() {
4184
4206
  return new e(t);
4185
4207
  }, e;
4186
4208
  }();
4187
- function Ut(e) {
4209
+ function kt(e) {
4188
4210
  var t;
4189
- return (t = e != null ? e : ho.Promise) !== null && t !== void 0 ? t : Promise;
4190
- }
4191
- function _o(e) {
4192
- return e && U(e.next) && U(e.error) && U(e.complete);
4211
+ return (t = e != null ? e : Or.Promise) !== null && t !== void 0 ? t : Promise;
4193
4212
  }
4194
4213
  function xo(e) {
4195
- return e && e instanceof Cr || _o(e) && Hr(e);
4214
+ return e && D(e.next) && D(e.error) && D(e.complete);
4196
4215
  }
4197
- var Eo = wr(function(e) {
4216
+ function So(e) {
4217
+ return e && e instanceof Ir || xo(e) && Ar(e);
4218
+ }
4219
+ var wo = Pr(function(e) {
4198
4220
  return function() {
4199
4221
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4200
4222
  };
4201
- }), Pr = function(e) {
4202
- D(t, e);
4223
+ }), Lr = function(e) {
4224
+ F(t, e);
4203
4225
  function t() {
4204
4226
  var r = e.call(this) || this;
4205
4227
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4206
4228
  }
4207
4229
  return t.prototype.lift = function(r) {
4208
- var n = new Dt(this, this);
4230
+ var n = new Vt(this, this);
4209
4231
  return n.operator = r, n;
4210
4232
  }, t.prototype._throwIfClosed = function() {
4211
4233
  if (this.closed)
4212
- throw new Eo();
4234
+ throw new wo();
4213
4235
  }, t.prototype.next = function(r) {
4214
4236
  var n = this;
4215
4237
  _e(function() {
@@ -4217,7 +4239,7 @@ var Eo = wr(function(e) {
4217
4239
  if (n._throwIfClosed(), !n.isStopped) {
4218
4240
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4219
4241
  try {
4220
- for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4242
+ for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4221
4243
  var l = a.value;
4222
4244
  l.next(r);
4223
4245
  }
@@ -4265,20 +4287,20 @@ var Eo = wr(function(e) {
4265
4287
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4266
4288
  }, t.prototype._innerSubscribe = function(r) {
4267
4289
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4268
- return o || s ? Tr : (this.currentObservers = null, a.push(r), new Ie(function() {
4269
- n.currentObservers = null, et(a, r);
4290
+ return o || s ? Br : (this.currentObservers = null, a.push(r), new Ie(function() {
4291
+ n.currentObservers = null, tt(a, r);
4270
4292
  }));
4271
4293
  }, t.prototype._checkFinalizedStatuses = function(r) {
4272
4294
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4273
4295
  i ? r.error(o) : s && r.complete();
4274
4296
  }, t.prototype.asObservable = function() {
4275
- var r = new Gt();
4297
+ var r = new jt();
4276
4298
  return r.source = this, r;
4277
4299
  }, t.create = function(r, n) {
4278
- return new Dt(r, n);
4300
+ return new Vt(r, n);
4279
4301
  }, t;
4280
- }(Gt), Dt = function(e) {
4281
- D(t, e);
4302
+ }(jt), Vt = function(e) {
4303
+ F(t, e);
4282
4304
  function t(r, n) {
4283
4305
  var i = e.call(this) || this;
4284
4306
  return i.destination = r, i.source = n, i;
@@ -4294,17 +4316,17 @@ var Eo = wr(function(e) {
4294
4316
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4295
4317
  }, t.prototype._subscribe = function(r) {
4296
4318
  var n, i;
4297
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
4319
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Br;
4298
4320
  }, t;
4299
- }(Pr), Br = {
4321
+ }(Lr), Nr = {
4300
4322
  now: function() {
4301
- return (Br.delegate || Date).now();
4323
+ return (Nr.delegate || Date).now();
4302
4324
  },
4303
4325
  delegate: void 0
4304
- }, So = function(e) {
4305
- D(t, e);
4326
+ }, To = function(e) {
4327
+ F(t, e);
4306
4328
  function t(r, n, i) {
4307
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
4329
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
4308
4330
  var o = e.call(this) || this;
4309
4331
  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;
4310
4332
  }
@@ -4324,28 +4346,51 @@ var Eo = wr(function(e) {
4324
4346
  u && o.splice(0, u + 1);
4325
4347
  }
4326
4348
  }, t;
4327
- }(Pr);
4328
- const Ft = [], jt = {}, wo = (e, t = 0) => {
4329
- if (Ft.indexOf(e) == -1) {
4330
- const r = new So(t);
4331
- jt[e] = r, Ft.push(e);
4349
+ }(Lr);
4350
+ const Xt = [], zt = {}, Ho = (e, t = 0) => {
4351
+ if (Xt.indexOf(e) == -1) {
4352
+ const r = new To(t);
4353
+ zt[e] = r, Xt.push(e);
4332
4354
  }
4333
- return jt[e];
4355
+ return zt[e];
4334
4356
  };
4335
- window.emWidgets = { topic: wo };
4336
- const To = (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));
4337
- function Ho(e) {
4338
- Yr(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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));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: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:10px;width:auto;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:10px;width:auto;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, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4357
+ window.emWidgets = { topic: Ho };
4358
+ const Co = (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));
4359
+ function Po(e, t) {
4360
+ if (e) {
4361
+ const r = document.createElement("style");
4362
+ r.innerHTML = t, e.appendChild(r);
4363
+ }
4339
4364
  }
4340
- function kt(e, t, r) {
4365
+ function Bo(e, t) {
4366
+ const r = new URL(t);
4367
+ fetch(r.href).then((n) => n.text()).then((n) => {
4368
+ const i = document.createElement("style");
4369
+ i.innerHTML = n, e && e.appendChild(i);
4370
+ }).catch((n) => {
4371
+ console.error("There was an error while trying to load client styling from URL", n);
4372
+ });
4373
+ }
4374
+ function Ao(e, t, r) {
4375
+ if (window.emMessageBus) {
4376
+ const n = document.createElement("style");
4377
+ window.emMessageBus.subscribe(t, (i) => {
4378
+ n.innerHTML = i, e && e.appendChild(n);
4379
+ });
4380
+ }
4381
+ }
4382
+ function Oo(e) {
4383
+ en(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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));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: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:10px;width:auto;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:10px;width:auto;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, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4384
+ }
4385
+ function Wt(e, t, r) {
4341
4386
  const n = e.slice();
4342
4387
  return n[41] = t[r], n;
4343
4388
  }
4344
- function Vt(e, t, r) {
4389
+ function Zt(e, t, r) {
4345
4390
  const n = e.slice();
4346
4391
  return n[44] = t[r], n;
4347
4392
  }
4348
- function Co(e) {
4393
+ function Io(e) {
4349
4394
  let t, r, n, i = (
4350
4395
  /*type*/
4351
4396
  (e[0] == "vendor" ? (
@@ -4358,33 +4403,33 @@ function Co(e) {
4358
4403
  ), o, s, a, l, u, h, c = (
4359
4404
  /*numberOfSlides*/
4360
4405
  e[8] > /*numberOfVisibleSlides*/
4361
- e[9] && Xt(e)
4406
+ e[9] && Qt(e)
4362
4407
  ), f = we(
4363
4408
  /*gameCategories*/
4364
4409
  e[3]
4365
4410
  ), p = [];
4366
4411
  for (let d = 0; d < f.length; d += 1)
4367
- p[d] = Zt(kt(e, f, d));
4412
+ p[d] = qt(Wt(e, f, d));
4368
4413
  return {
4369
4414
  c() {
4370
- t = C("div"), r = C("div"), n = C("p"), o = Ce(i), s = j(), c && c.c(), a = j(), l = C("div");
4415
+ t = P("div"), r = P("div"), n = P("p"), o = Ce(i), s = k(), c && c.c(), a = k(), l = P("div");
4371
4416
  for (let d = 0; d < p.length; d += 1)
4372
4417
  p[d].c();
4373
- E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(l, "class", "CategoriesSlider"), Se(() => (
4418
+ x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(l, "class", "CategoriesSlider"), Se(() => (
4374
4419
  /*div1_elementresize_handler*/
4375
- e[27].call(l)
4376
- )), E(t, "class", h = "CasinoCollectionsProviders " + /*mobile*/
4420
+ e[28].call(l)
4421
+ )), x(t, "class", h = "CasinoCollectionsProviders " + /*mobile*/
4377
4422
  (e[10] ? "Mobile" : "") + " " + /*type*/
4378
4423
  (e[0] === "vendor" ? "Providers" : "Collections"));
4379
4424
  },
4380
4425
  m(d, g) {
4381
- G(d, t, g), H(t, r), H(r, n), H(n, o), H(r, s), c && c.m(r, null), H(t, a), H(t, l);
4426
+ U(d, t, g), C(t, r), C(r, n), C(n, o), C(r, s), c && c.m(r, null), C(t, a), C(t, l);
4382
4427
  for (let m = 0; m < p.length; m += 1)
4383
4428
  p[m] && p[m].m(l, null);
4384
- e[26](l), u = nn(
4429
+ e[27](l), u = an(
4385
4430
  l,
4386
4431
  /*div1_elementresize_handler*/
4387
- e[27].bind(l)
4432
+ e[28].bind(l)
4388
4433
  );
4389
4434
  },
4390
4435
  p(d, g) {
@@ -4396,9 +4441,9 @@ function Co(e) {
4396
4441
  ) : (
4397
4442
  /*$_*/
4398
4443
  d[11]("collections")
4399
- )) + "") && nt(o, i), /*numberOfSlides*/
4444
+ )) + "") && it(o, i), /*numberOfSlides*/
4400
4445
  d[8] > /*numberOfVisibleSlides*/
4401
- d[9] ? c ? c.p(d, g) : (c = Xt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4446
+ d[9] ? c ? c.p(d, g) : (c = Qt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4402
4447
  49166) {
4403
4448
  f = we(
4404
4449
  /*gameCategories*/
@@ -4406,8 +4451,8 @@ function Co(e) {
4406
4451
  );
4407
4452
  let m;
4408
4453
  for (m = 0; m < f.length; m += 1) {
4409
- const x = kt(d, f, m);
4410
- p[m] ? p[m].p(x, g) : (p[m] = Zt(x), p[m].c(), p[m].m(l, null));
4454
+ const _ = Wt(d, f, m);
4455
+ p[m] ? p[m].p(_, g) : (p[m] = qt(_), p[m].c(), p[m].m(l, null));
4411
4456
  }
4412
4457
  for (; m < p.length; m += 1)
4413
4458
  p[m].d(1);
@@ -4416,132 +4461,132 @@ function Co(e) {
4416
4461
  g[0] & /*mobile, type*/
4417
4462
  1025 && h !== (h = "CasinoCollectionsProviders " + /*mobile*/
4418
4463
  (d[10] ? "Mobile" : "") + " " + /*type*/
4419
- (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", h);
4464
+ (d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", h);
4420
4465
  },
4421
4466
  d(d) {
4422
- d && R(t), c && c.d(), qt(p, d), e[26](null), u();
4467
+ d && $(t), c && c.d(), rr(p, d), e[27](null), u();
4423
4468
  }
4424
4469
  };
4425
4470
  }
4426
- function Po(e) {
4471
+ function Lo(e) {
4427
4472
  let t;
4428
4473
  return {
4429
4474
  c() {
4430
- t = C("div"), E(t, "class", "LoadingSpinner");
4475
+ t = P("div"), x(t, "class", "LoadingSpinner");
4431
4476
  },
4432
4477
  m(r, n) {
4433
- G(r, t, n);
4478
+ U(r, t, n);
4434
4479
  },
4435
4480
  p: L,
4436
4481
  d(r) {
4437
- r && R(t);
4482
+ r && $(t);
4438
4483
  }
4439
4484
  };
4440
4485
  }
4441
- function Xt(e) {
4486
+ function Qt(e) {
4442
4487
  let t, r, n, i, o, s;
4443
4488
  return {
4444
4489
  c() {
4445
- t = C("div"), r = C("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 = j(), i = C("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");
4490
+ 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 = k(), 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");
4446
4491
  },
4447
4492
  m(a, l) {
4448
- G(a, t, l), H(t, r), H(t, n), H(t, i), o || (s = [
4493
+ U(a, t, l), C(t, r), C(t, n), C(t, i), o || (s = [
4449
4494
  J(
4450
4495
  r,
4451
4496
  "click",
4452
4497
  /*click_handler*/
4453
- e[22]
4498
+ e[23]
4454
4499
  ),
4455
4500
  J(
4456
4501
  i,
4457
4502
  "click",
4458
4503
  /*click_handler_1*/
4459
- e[23]
4504
+ e[24]
4460
4505
  )
4461
4506
  ], o = !0);
4462
4507
  },
4463
4508
  p: L,
4464
4509
  d(a) {
4465
- a && R(t), o = !1, te(s);
4510
+ a && $(t), o = !1, te(s);
4466
4511
  }
4467
4512
  };
4468
4513
  }
4469
- function Bo(e) {
4514
+ function No(e) {
4470
4515
  let t, r = (
4471
4516
  /*category*/
4472
4517
  e[41].name + ""
4473
4518
  ), n;
4474
4519
  return {
4475
4520
  c() {
4476
- t = C("p"), n = Ce(r), E(t, "class", "CategorySlideTitle");
4521
+ t = P("p"), n = Ce(r), x(t, "class", "CategorySlideTitle");
4477
4522
  },
4478
4523
  m(i, o) {
4479
- G(i, t, o), H(t, n);
4524
+ U(i, t, o), C(t, n);
4480
4525
  },
4481
4526
  p(i, o) {
4482
4527
  o[0] & /*gameCategories*/
4483
4528
  8 && r !== (r = /*category*/
4484
- i[41].name + "") && nt(n, r);
4529
+ i[41].name + "") && it(n, r);
4485
4530
  },
4486
4531
  d(i) {
4487
- i && R(t);
4532
+ i && $(t);
4488
4533
  }
4489
4534
  };
4490
4535
  }
4491
- function Ao(e) {
4536
+ function Mo(e) {
4492
4537
  let t, r, n;
4493
4538
  return {
4494
4539
  c() {
4495
- t = C("img"), E(t, "class", "CategorySlideLogo"), xe(t.src, r = /*category*/
4496
- e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4540
+ t = P("img"), x(t, "class", "CategorySlideLogo"), Ee(t.src, r = /*category*/
4541
+ e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
4497
4542
  e[41].name + " icon");
4498
4543
  },
4499
4544
  m(i, o) {
4500
- G(i, t, o);
4545
+ U(i, t, o);
4501
4546
  },
4502
4547
  p(i, o) {
4503
4548
  o[0] & /*gameCategories*/
4504
- 8 && !xe(t.src, r = /*category*/
4505
- i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4549
+ 8 && !Ee(t.src, r = /*category*/
4550
+ i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
4506
4551
  8 && n !== (n = /*category*/
4507
- i[41].name + " icon") && E(t, "alt", n);
4552
+ i[41].name + " icon") && x(t, "alt", n);
4508
4553
  },
4509
4554
  d(i) {
4510
- i && R(t);
4555
+ i && $(t);
4511
4556
  }
4512
4557
  };
4513
4558
  }
4514
- function Wt(e) {
4559
+ function Jt(e) {
4515
4560
  let t, r = (
4516
4561
  /*game*/
4517
4562
  e[44].name + ""
4518
4563
  ), n, i;
4519
4564
  return {
4520
4565
  c() {
4521
- t = C("p"), n = Ce(r), E(t, "title", i = /*game*/
4566
+ t = P("p"), n = Ce(r), x(t, "title", i = /*game*/
4522
4567
  e[44].name);
4523
4568
  },
4524
4569
  m(o, s) {
4525
- G(o, t, s), H(t, n);
4570
+ U(o, t, s), C(t, n);
4526
4571
  },
4527
4572
  p(o, s) {
4528
4573
  s[0] & /*gameCategories*/
4529
4574
  8 && r !== (r = /*game*/
4530
- o[44].name + "") && nt(n, r), s[0] & /*gameCategories*/
4575
+ o[44].name + "") && it(n, r), s[0] & /*gameCategories*/
4531
4576
  8 && i !== (i = /*game*/
4532
- o[44].name) && E(t, "title", i);
4577
+ o[44].name) && x(t, "title", i);
4533
4578
  },
4534
4579
  d(o) {
4535
- o && R(t);
4580
+ o && $(t);
4536
4581
  }
4537
4582
  };
4538
4583
  }
4539
- function zt(e) {
4584
+ function Yt(e) {
4540
4585
  let t, r, n, i, o, s, a, l;
4541
4586
  function u() {
4542
4587
  return (
4543
4588
  /*click_handler_2*/
4544
- e[24](
4589
+ e[25](
4545
4590
  /*game*/
4546
4591
  e[44]
4547
4592
  )
@@ -4549,52 +4594,52 @@ function zt(e) {
4549
4594
  }
4550
4595
  let h = (
4551
4596
  /*collectionprovidersgamenames*/
4552
- e[2] == "true" && Wt(e)
4597
+ e[2] == "true" && Jt(e)
4553
4598
  );
4554
4599
  return {
4555
4600
  c() {
4556
- t = C("div"), r = C("img"), o = j(), h && h.c(), s = j(), E(r, "class", "CategorySlideGameImage"), xe(r.src, n = /*game*/
4557
- e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4558
- e[44].name), E(t, "class", "CategorySlideGames");
4601
+ t = P("div"), r = P("img"), o = k(), h && h.c(), s = k(), x(r, "class", "CategorySlideGameImage"), Ee(r.src, n = /*game*/
4602
+ e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
4603
+ e[44].name), x(t, "class", "CategorySlideGames");
4559
4604
  },
4560
4605
  m(c, f) {
4561
- G(c, t, f), H(t, r), H(t, o), h && h.m(t, null), H(t, s), a || (l = J(r, "click", en(u)), a = !0);
4606
+ U(c, t, f), C(t, r), C(t, o), h && h.m(t, null), C(t, s), a || (l = J(r, "click", nn(u)), a = !0);
4562
4607
  },
4563
4608
  p(c, f) {
4564
4609
  e = c, f[0] & /*gameCategories*/
4565
- 8 && !xe(r.src, n = /*game*/
4566
- e[44].defaultThumbnail) && E(r, "src", n), f[0] & /*gameCategories*/
4610
+ 8 && !Ee(r.src, n = /*game*/
4611
+ e[44].defaultThumbnail) && x(r, "src", n), f[0] & /*gameCategories*/
4567
4612
  8 && i !== (i = /*game*/
4568
- e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4569
- e[2] == "true" ? h ? h.p(e, f) : (h = Wt(e), h.c(), h.m(t, s)) : h && (h.d(1), h = null);
4613
+ e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
4614
+ e[2] == "true" ? h ? h.p(e, f) : (h = Jt(e), h.c(), h.m(t, s)) : h && (h.d(1), h = null);
4570
4615
  },
4571
4616
  d(c) {
4572
- c && R(t), h && h.d(), a = !1, l();
4617
+ c && $(t), h && h.d(), a = !1, l();
4573
4618
  }
4574
4619
  };
4575
4620
  }
4576
- function Zt(e) {
4621
+ function qt(e) {
4577
4622
  let t, r, n, i, o, s, a, l, u;
4578
- function h(m, x) {
4623
+ function h(m, _) {
4579
4624
  if (
4580
4625
  /*titletype*/
4581
4626
  m[1] == "logo"
4582
- ) return Ao;
4627
+ ) return Mo;
4583
4628
  if (
4584
4629
  /*titletype*/
4585
4630
  m[1] == "title"
4586
- ) return Bo;
4631
+ ) return No;
4587
4632
  }
4588
4633
  let c = h(e), f = c && c(e), p = we(
4589
4634
  /*category*/
4590
4635
  e[41].games
4591
4636
  ), d = [];
4592
4637
  for (let m = 0; m < p.length; m += 1)
4593
- d[m] = zt(Vt(e, p, m));
4638
+ d[m] = Yt(Zt(e, p, m));
4594
4639
  function g() {
4595
4640
  return (
4596
4641
  /*click_handler_3*/
4597
- e[25](
4642
+ e[26](
4598
4643
  /*category*/
4599
4644
  e[41]
4600
4645
  )
@@ -4602,63 +4647,63 @@ function Zt(e) {
4602
4647
  }
4603
4648
  return {
4604
4649
  c() {
4605
- var m, x;
4606
- t = C("div"), r = C("div"), n = C("div"), f && f.c(), i = j(), o = C("div");
4650
+ var m, _;
4651
+ t = P("div"), r = P("div"), n = P("div"), f && f.c(), i = k(), o = P("div");
4607
4652
  for (let S = 0; S < d.length; S += 1)
4608
4653
  d[S].c();
4609
- a = j(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4654
+ a = k(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
4610
4655
  (((m = e[41]) == null ? void 0 : m.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
4611
- ((x = e[41]) == null ? void 0 : x.background) + ")"), Ne(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4656
+ ((_ = e[41]) == null ? void 0 : _.background) + ")"), Ne(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
4612
4657
  },
4613
- m(m, x) {
4614
- G(m, t, x), H(t, r), H(r, n), f && f.m(n, null), H(r, i), H(r, o);
4658
+ m(m, _) {
4659
+ U(m, t, _), C(t, r), C(r, n), f && f.m(n, null), C(r, i), C(r, o);
4615
4660
  for (let S = 0; S < d.length; S += 1)
4616
4661
  d[S] && d[S].m(o, null);
4617
- H(t, a), l || (u = J(r, "click", g), l = !0);
4662
+ C(t, a), l || (u = J(r, "click", g), l = !0);
4618
4663
  },
4619
- p(m, x) {
4620
- var S, A;
4621
- if (e = m, c === (c = h(e)) && f ? f.p(e, x) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4664
+ p(m, _) {
4665
+ var S, T;
4666
+ if (e = m, c === (c = h(e)) && f ? f.p(e, _) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), _[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4622
4667
  16396) {
4623
4668
  p = we(
4624
4669
  /*category*/
4625
4670
  e[41].games
4626
4671
  );
4627
- let T;
4628
- for (T = 0; T < p.length; T += 1) {
4629
- const P = Vt(e, p, T);
4630
- d[T] ? d[T].p(P, x) : (d[T] = zt(P), d[T].c(), d[T].m(o, null));
4672
+ let H;
4673
+ for (H = 0; H < p.length; H += 1) {
4674
+ const A = Zt(e, p, H);
4675
+ d[H] ? d[H].p(A, _) : (d[H] = Yt(A), d[H].c(), d[H].m(o, null));
4631
4676
  }
4632
- for (; T < d.length; T += 1)
4633
- d[T].d(1);
4677
+ for (; H < d.length; H += 1)
4678
+ d[H].d(1);
4634
4679
  d.length = p.length;
4635
4680
  }
4636
- x[0] & /*gameCategories*/
4681
+ _[0] & /*gameCategories*/
4637
4682
  8 && s !== (s = "CategorySlide " + /*category*/
4638
- (((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), x[0] & /*gameCategories*/
4683
+ (((S = e[41]) == null ? void 0 : S.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), _[0] & /*gameCategories*/
4639
4684
  8 && Ne(r, "background-image", "url(" + /*category*/
4640
- ((A = e[41]) == null ? void 0 : A.background) + ")");
4685
+ ((T = e[41]) == null ? void 0 : T.background) + ")");
4641
4686
  },
4642
4687
  d(m) {
4643
- m && R(t), f && f.d(), qt(d, m), l = !1, u();
4688
+ m && $(t), f && f.d(), rr(d, m), l = !1, u();
4644
4689
  }
4645
4690
  };
4646
4691
  }
4647
- function Oo(e) {
4692
+ function Ro(e) {
4648
4693
  let t;
4649
4694
  function r(o, s) {
4650
4695
  return (
4651
4696
  /*isLoading*/
4652
- o[7] ? Po : Co
4697
+ o[7] ? Lo : Io
4653
4698
  );
4654
4699
  }
4655
4700
  let n = r(e), i = n(e);
4656
4701
  return {
4657
4702
  c() {
4658
- t = C("div"), i.c();
4703
+ t = P("div"), i.c();
4659
4704
  },
4660
4705
  m(o, s) {
4661
- G(o, t, s), i.m(t, null), e[28](t);
4706
+ U(o, t, s), i.m(t, null), e[29](t);
4662
4707
  },
4663
4708
  p(o, s) {
4664
4709
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4666,70 +4711,70 @@ function Oo(e) {
4666
4711
  i: L,
4667
4712
  o: L,
4668
4713
  d(o) {
4669
- o && R(t), i.d(), e[28](null);
4714
+ o && $(t), i.d(), e[29](null);
4670
4715
  }
4671
4716
  };
4672
4717
  }
4673
- function Io(e, t, r) {
4718
+ function $o(e, t, r) {
4674
4719
  let n;
4675
- Jr(e, lo, (b) => r(11, n = b));
4676
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, p = [], d = !0, g, m = 0, x = 0, S = 0, A, T, P, V = window.navigator.userAgent, oe, se = 0;
4677
- const Ar = () => {
4678
- fetch(c).then((B) => B.json()).then((B) => {
4679
- Object.keys(B).forEach((I) => {
4680
- Nt(I, B[I]);
4720
+ Kr(e, ho, (b) => r(11, n = b));
4721
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, _ = 0, S = 0, T = 0, H, A, O, fe = window.navigator.userAgent, ut, oe = 0;
4722
+ const Mr = () => {
4723
+ fetch(c).then((I) => I.json()).then((I) => {
4724
+ Object.keys(I).forEach((G) => {
4725
+ Gt(G, I[G]);
4681
4726
  });
4682
- }).catch((B) => {
4683
- console.log(B);
4727
+ }).catch((I) => {
4728
+ console.log(I);
4684
4729
  });
4685
4730
  };
4686
- Object.keys(Mt).forEach((b) => {
4687
- Nt(b, Mt[b]);
4731
+ Object.keys(Ut).forEach((b) => {
4732
+ Gt(b, Ut[b]);
4688
4733
  });
4689
- const Or = () => {
4734
+ const Rr = () => {
4690
4735
  const b = new URL(`${i}/v2/casino/groups/${o}`);
4691
- b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((B) => B.json()).then((B) => {
4692
- r(7, d = !1);
4693
- let I = B.items.filter((N) => N.flags == a);
4694
- r(3, p = I.map((N) => {
4695
- var ft, dt, pt;
4736
+ b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((I) => I.json()).then((I) => {
4737
+ r(7, g = !1);
4738
+ let G = I.items.filter((N) => N.flags == a);
4739
+ r(3, d = G.map((N) => {
4740
+ var bt, gt, vt;
4696
4741
  return {
4697
4742
  id: N.id,
4698
4743
  name: N.name,
4699
- icon: N.icon ? N.icon : (pt = (dt = (ft = N.vendors) == null ? void 0 : ft.items[0]) == null ? void 0 : dt.subVendors[0]) == null ? void 0 : pt.logo,
4700
- games: N.games.items.slice(0, 4).map((kr) => kr),
4744
+ icon: N.icon ? N.icon : (vt = (gt = (bt = N.vendors) == null ? void 0 : bt.items[0]) == null ? void 0 : gt.subVendors[0]) == null ? void 0 : vt.logo,
4745
+ games: N.games.items.slice(0, 4).map((zr) => zr),
4701
4746
  background: N.background,
4702
4747
  flag: N.flags
4703
4748
  };
4704
- })), r(8, x = p.length);
4749
+ })), r(8, S = d.length);
4705
4750
  });
4706
- }, st = (b) => {
4707
- T = [...g.children], T.forEach((B, I) => {
4708
- B.style.transform = `translateX(${100 * (b ? I - b : I)}%)`;
4709
- }), A = T[0].getBoundingClientRect().width, Ir();
4710
- }, Ir = () => {
4711
- r(9, S = Math.floor(se / A));
4712
- }, at = () => {
4713
- st(m);
4714
- }, lt = () => {
4715
- m === 0 ? m = x - S : m - S < -1 ? m = 0 : m--, at();
4716
- }, ut = () => {
4717
- m === x - S ? m = 0 : x - S < m + 1 ? m = x - S : m++, at();
4718
- }, ht = (b, B, I, N) => {
4751
+ }, ht = (b) => {
4752
+ A = [...m.children], A.forEach((I, G) => {
4753
+ I.style.transform = `translateX(${100 * (b ? G - b : G)}%)`;
4754
+ }), H = A[0].getBoundingClientRect().width, $r();
4755
+ }, $r = () => {
4756
+ r(9, T = Math.floor(oe / H));
4757
+ }, ct = () => {
4758
+ ht(_);
4759
+ }, ft = () => {
4760
+ _ === 0 ? _ = S - T : _ - T < -1 ? _ = 0 : _--, ct();
4761
+ }, dt = () => {
4762
+ _ === S - T ? _ = 0 : S - T < _ + 1 ? _ = S - T : _++, ct();
4763
+ }, pt = (b, I, G, N) => {
4719
4764
  window.postMessage(
4720
4765
  {
4721
4766
  type: "OpenCollectionsProvidersGame",
4722
4767
  gameId: b,
4723
- launchUrl: B,
4724
- gameName: I,
4768
+ launchUrl: I,
4769
+ gameName: G,
4725
4770
  subVendor: N
4726
4771
  },
4727
4772
  window.location.href
4728
4773
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4729
4774
  context: "CollectionsProviders",
4730
- gameName: `${I}`
4775
+ gameName: `${G}`
4731
4776
  });
4732
- }, ct = (b) => {
4777
+ }, mt = (b) => {
4733
4778
  window.postMessage(
4734
4779
  {
4735
4780
  type: "OpenCollectionsProvidersCategory",
@@ -4737,89 +4782,77 @@ function Io(e, t, r) {
4737
4782
  },
4738
4783
  window.location.href
4739
4784
  );
4740
- }, Lr = () => {
4741
- uo(s);
4742
- }, Nr = () => {
4743
- let b = document.createElement("style");
4744
- b.innerHTML = u, P.appendChild(b);
4745
- }, Mr = () => {
4746
- let b = new URL(h), B = document.createElement("style");
4747
- fetch(b.href).then((I) => I.text()).then((I) => {
4748
- B.innerHTML = I, setTimeout(
4749
- () => {
4750
- P.appendChild(B);
4751
- },
4752
- 1
4753
- );
4754
- });
4785
+ }, Gr = () => {
4786
+ co(s);
4755
4787
  };
4756
- an(() => {
4757
- r(10, oe = To(V));
4758
- });
4759
- const Rr = () => lt(), $r = () => ut(), Gr = (b) => ht(b.gameId, b.launchUrl, b.name, b.subVendor), Ur = (b) => ct(b.id);
4760
- function Dr(b) {
4761
- Ee[b ? "unshift" : "push"](() => {
4762
- g = b, r(4, g);
4788
+ hn(() => (r(10, ut = Co(fe)), () => {
4789
+ }));
4790
+ const Ur = () => ft(), Dr = () => dt(), Fr = (b) => pt(b.gameId, b.launchUrl, b.name, b.subVendor), jr = (b) => mt(b.id);
4791
+ function kr(b) {
4792
+ xe[b ? "unshift" : "push"](() => {
4793
+ m = b, r(4, m);
4763
4794
  });
4764
4795
  }
4765
- function Fr() {
4766
- se = this.clientWidth, r(6, se);
4796
+ function Vr() {
4797
+ oe = this.clientWidth, r(6, oe);
4767
4798
  }
4768
- function jr(b) {
4769
- Ee[b ? "unshift" : "push"](() => {
4770
- P = b, r(5, P);
4799
+ function Xr(b) {
4800
+ xe[b ? "unshift" : "push"](() => {
4801
+ O = b, r(5, O);
4771
4802
  });
4772
4803
  }
4773
4804
  return e.$$set = (b) => {
4774
- "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, u = b.clientstyling), "clientstylingurl" in b && r(20, h = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames);
4805
+ "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, l = b.titletype), "clientstyling" in b && r(19, u = b.clientstyling), "clientstylingurl" in b && r(20, h = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames), "mbsource" in b && r(22, p = b.mbsource);
4775
4806
  }, e.$$.update = () => {
4776
4807
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4777
- 458752 && i && o && s && Or(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4778
- 88 && se && p && g && st(), e.$$.dirty[0] & /*lang*/
4779
- 262144 && s && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4780
- 524320 && u && P && Nr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4781
- 1048608 && h && P && Mr(), e.$$.dirty[0] & /*translationurl*/
4782
- 2097152 && c && Ar();
4808
+ 458752 && i && o && s && Rr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4809
+ 88 && oe && d && m && ht(), e.$$.dirty[0] & /*lang*/
4810
+ 262144 && s && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4811
+ 524320 && u && O && Po(O, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4812
+ 1048608 && h && O && Bo(O, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4813
+ 4194336 && O && Ao(O, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
4814
+ 2097152 && c && Mr();
4783
4815
  }, [
4784
4816
  a,
4785
4817
  l,
4786
4818
  f,
4787
- p,
4788
- g,
4789
- P,
4790
- se,
4791
4819
  d,
4792
- x,
4793
- S,
4820
+ m,
4821
+ O,
4794
4822
  oe,
4795
- n,
4796
- lt,
4823
+ g,
4824
+ S,
4825
+ T,
4797
4826
  ut,
4798
- ht,
4799
- ct,
4827
+ n,
4828
+ ft,
4829
+ dt,
4830
+ pt,
4831
+ mt,
4800
4832
  i,
4801
4833
  o,
4802
4834
  s,
4803
4835
  u,
4804
4836
  h,
4805
4837
  c,
4806
- Rr,
4807
- $r,
4808
- Gr,
4838
+ p,
4809
4839
  Ur,
4810
4840
  Dr,
4811
4841
  Fr,
4812
- jr
4842
+ jr,
4843
+ kr,
4844
+ Vr,
4845
+ Xr
4813
4846
  ];
4814
4847
  }
4815
- class Lo extends yn {
4848
+ class Go extends xn {
4816
4849
  constructor(t) {
4817
- super(), gn(
4850
+ super(), _n(
4818
4851
  this,
4819
4852
  t,
4820
- Io,
4821
- Oo,
4822
- Jt,
4853
+ $o,
4854
+ Ro,
4855
+ er,
4823
4856
  {
4824
4857
  endpoint: 16,
4825
4858
  datasource: 17,
@@ -4829,9 +4862,10 @@ class Lo extends yn {
4829
4862
  clientstyling: 19,
4830
4863
  clientstylingurl: 20,
4831
4864
  translationurl: 21,
4832
- collectionprovidersgamenames: 2
4865
+ collectionprovidersgamenames: 2,
4866
+ mbsource: 22
4833
4867
  },
4834
- Ho,
4868
+ Oo,
4835
4869
  [-1, -1]
4836
4870
  );
4837
4871
  }
@@ -4839,58 +4873,64 @@ class Lo extends yn {
4839
4873
  return this.$$.ctx[16];
4840
4874
  }
4841
4875
  set endpoint(t) {
4842
- this.$$set({ endpoint: t }), $();
4876
+ this.$$set({ endpoint: t }), R();
4843
4877
  }
4844
4878
  get datasource() {
4845
4879
  return this.$$.ctx[17];
4846
4880
  }
4847
4881
  set datasource(t) {
4848
- this.$$set({ datasource: t }), $();
4882
+ this.$$set({ datasource: t }), R();
4849
4883
  }
4850
4884
  get lang() {
4851
4885
  return this.$$.ctx[18];
4852
4886
  }
4853
4887
  set lang(t) {
4854
- this.$$set({ lang: t }), $();
4888
+ this.$$set({ lang: t }), R();
4855
4889
  }
4856
4890
  get type() {
4857
4891
  return this.$$.ctx[0];
4858
4892
  }
4859
4893
  set type(t) {
4860
- this.$$set({ type: t }), $();
4894
+ this.$$set({ type: t }), R();
4861
4895
  }
4862
4896
  get titletype() {
4863
4897
  return this.$$.ctx[1];
4864
4898
  }
4865
4899
  set titletype(t) {
4866
- this.$$set({ titletype: t }), $();
4900
+ this.$$set({ titletype: t }), R();
4867
4901
  }
4868
4902
  get clientstyling() {
4869
4903
  return this.$$.ctx[19];
4870
4904
  }
4871
4905
  set clientstyling(t) {
4872
- this.$$set({ clientstyling: t }), $();
4906
+ this.$$set({ clientstyling: t }), R();
4873
4907
  }
4874
4908
  get clientstylingurl() {
4875
4909
  return this.$$.ctx[20];
4876
4910
  }
4877
4911
  set clientstylingurl(t) {
4878
- this.$$set({ clientstylingurl: t }), $();
4912
+ this.$$set({ clientstylingurl: t }), R();
4879
4913
  }
4880
4914
  get translationurl() {
4881
4915
  return this.$$.ctx[21];
4882
4916
  }
4883
4917
  set translationurl(t) {
4884
- this.$$set({ translationurl: t }), $();
4918
+ this.$$set({ translationurl: t }), R();
4885
4919
  }
4886
4920
  get collectionprovidersgamenames() {
4887
4921
  return this.$$.ctx[2];
4888
4922
  }
4889
4923
  set collectionprovidersgamenames(t) {
4890
- this.$$set({ collectionprovidersgamenames: t }), $();
4924
+ this.$$set({ collectionprovidersgamenames: t }), R();
4925
+ }
4926
+ get mbsource() {
4927
+ return this.$$.ctx[22];
4928
+ }
4929
+ set mbsource(t) {
4930
+ this.$$set({ mbsource: t }), R();
4891
4931
  }
4892
4932
  }
4893
- vn(Lo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
4933
+ En(Go, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4894
4934
  export {
4895
- Lo as default
4935
+ Go as default
4896
4936
  };