@everymatrix/casino-collections-providers 1.87.25 → 1.87.27

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 zr = Object.defineProperty, Zr = Object.defineProperties;
2
- var Qr = Object.getOwnPropertyDescriptors;
3
- var _t = Object.getOwnPropertySymbols;
4
- var Jr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable;
5
- var Ne = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
1
+ var Qr = Object.defineProperty, Jr = Object.defineProperties;
2
+ var Yr = Object.getOwnPropertyDescriptors;
3
+ var Et = Object.getOwnPropertySymbols;
4
+ var qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Qr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Jr.call(t, r) && Ne(e, r, t[r]);
8
- if (_t)
9
- for (var r of _t(t))
10
- qr.call(t, r) && Ne(e, r, t[r]);
7
+ qr.call(t, r) && Me(e, r, t[r]);
8
+ if (Et)
9
+ for (var r of Et(t))
10
+ Kr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, xt = (e, t) => Zr(e, Qr(t));
13
- var N = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var St = (e, t, r) => new Promise((n, i) => {
12
+ }, St = (e, t) => Jr(e, Yr(t));
13
+ var N = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var wt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var St = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function er(e) {
32
+ function tr(e) {
33
33
  return e();
34
34
  }
35
- function wt() {
35
+ function Tt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function te(e) {
39
- e.forEach(er);
38
+ function re(e) {
39
+ e.forEach(tr);
40
40
  }
41
- function at(e) {
41
+ function ut(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function tr(e, t) {
44
+ function rr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let fe;
48
- function ye(e, t) {
49
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
47
+ let de;
48
+ function _e(e, t) {
49
+ return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
50
50
  }
51
- function Yr(e) {
51
+ function en(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function rr(e, ...t) {
54
+ function nr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function rr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Kr(e, t, r) {
64
- e.$$.on_destroy.push(rr(t, r));
63
+ function tn(e, t, r) {
64
+ e.$$.on_destroy.push(nr(t, r));
65
65
  }
66
66
  function C(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function en(e, t, r) {
70
- const n = tn(e);
69
+ function rn(e, t, r) {
70
+ const n = nn(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = P("style");
73
- i.id = t, i.textContent = r, rn(n, i);
73
+ i.id = t, i.textContent = r, on(n, i);
74
74
  }
75
75
  }
76
- function tn(e) {
76
+ function nn(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function tn(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function rn(e, t) {
86
+ function on(e, t) {
87
87
  return C(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,23 +96,23 @@ function U(e, t, r) {
96
96
  function R(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function nr(e, t) {
99
+ function ir(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
103
  function P(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function He(e) {
106
+ function Ce(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
109
  function V() {
110
- return He(" ");
110
+ return Ce(" ");
111
111
  }
112
- function _e(e, t, r, n) {
112
+ function Ee(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function nn(e) {
115
+ function sn(e) {
116
116
  return function(t) {
117
117
  return t.stopPropagation(), e.call(this, t);
118
118
  };
@@ -120,17 +120,17 @@ function nn(e) {
120
120
  function E(e, t, r) {
121
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
122
  }
123
- function on(e) {
123
+ function an(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
- function ut(e, t) {
126
+ function lt(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function Me(e, t, r, n) {
130
+ function Re(e, t, r, n) {
131
131
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
132
132
  }
133
- function sn(e) {
133
+ function un(e) {
134
134
  const t = {};
135
135
  return e.childNodes.forEach(
136
136
  /** @param {Element} node */
@@ -139,90 +139,90 @@ function sn(e) {
139
139
  }
140
140
  ), t;
141
141
  }
142
- let ae;
143
- function se(e) {
144
- ae = e;
142
+ let ue;
143
+ function ae(e) {
144
+ ue = e;
145
145
  }
146
- function an() {
147
- if (!ae)
146
+ function ln() {
147
+ if (!ue)
148
148
  throw new Error("Function called outside component initialization");
149
- return ae;
149
+ return ue;
150
150
  }
151
- function un(e) {
152
- an().$$.on_mount.push(e);
151
+ function hn(e) {
152
+ ln().$$.on_mount.push(e);
153
153
  }
154
- const Q = [], Ee = [];
155
- let J = [];
156
- const Tt = [], ln = /* @__PURE__ */ Promise.resolve();
157
- let Ve = !1;
158
- function hn() {
159
- Ve || (Ve = !0, ln.then(M));
154
+ const Q = [], xe = [];
155
+ let Y = [];
156
+ const Ht = [], cn = /* @__PURE__ */ Promise.resolve();
157
+ let Xe = !1;
158
+ function fn() {
159
+ Xe || (Xe = !0, cn.then(M));
160
160
  }
161
- function Xe(e) {
162
- J.push(e);
161
+ function We(e) {
162
+ Y.push(e);
163
163
  }
164
- const Re = /* @__PURE__ */ new Set();
164
+ const $e = /* @__PURE__ */ new Set();
165
165
  let z = 0;
166
166
  function M() {
167
167
  if (z !== 0)
168
168
  return;
169
- const e = ae;
169
+ const e = ue;
170
170
  do {
171
171
  try {
172
172
  for (; z < Q.length; ) {
173
173
  const t = Q[z];
174
- z++, se(t), cn(t.$$);
174
+ z++, ae(t), dn(t.$$);
175
175
  }
176
176
  } catch (t) {
177
177
  throw Q.length = 0, z = 0, t;
178
178
  }
179
- for (se(null), Q.length = 0, z = 0; Ee.length; )
180
- Ee.pop()();
181
- for (let t = 0; t < J.length; t += 1) {
182
- const r = J[t];
183
- Re.has(r) || (Re.add(r), r());
179
+ for (ae(null), Q.length = 0, z = 0; xe.length; )
180
+ xe.pop()();
181
+ for (let t = 0; t < Y.length; t += 1) {
182
+ const r = Y[t];
183
+ $e.has(r) || ($e.add(r), r());
184
184
  }
185
- J.length = 0;
185
+ Y.length = 0;
186
186
  } while (Q.length);
187
- for (; Tt.length; )
188
- Tt.pop()();
189
- Ve = !1, Re.clear(), se(e);
187
+ for (; Ht.length; )
188
+ Ht.pop()();
189
+ Xe = !1, $e.clear(), ae(e);
190
190
  }
191
- function cn(e) {
191
+ function dn(e) {
192
192
  if (e.fragment !== null) {
193
- e.update(), te(e.before_update);
193
+ e.update(), re(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
196
196
  }
197
197
  }
198
- function fn(e) {
198
+ function pn(e) {
199
199
  const t = [], r = [];
200
- J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
200
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
201
201
  }
202
- const dn = /* @__PURE__ */ new Set();
203
- function pn(e, t) {
204
- e && e.i && (dn.delete(e), e.i(t));
202
+ const mn = /* @__PURE__ */ new Set();
203
+ function bn(e, t) {
204
+ e && e.i && (mn.delete(e), e.i(t));
205
205
  }
206
- function xe(e) {
206
+ function Se(e) {
207
207
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
208
208
  }
209
- function mn(e, t, r) {
209
+ function gn(e, t, r) {
210
210
  const { fragment: n, after_update: i } = e.$$;
211
- n && n.m(t, r), Xe(() => {
212
- const o = e.$$.on_mount.map(er).filter(at);
213
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
214
- }), i.forEach(Xe);
211
+ n && n.m(t, r), We(() => {
212
+ const o = e.$$.on_mount.map(tr).filter(ut);
213
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
214
+ }), i.forEach(We);
215
215
  }
216
- function bn(e, t) {
216
+ function vn(e, t) {
217
217
  const r = e.$$;
218
- r.fragment !== null && (fn(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
+ r.fragment !== null && (pn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
219
  }
220
- function gn(e, t) {
221
- e.$$.dirty[0] === -1 && (Q.push(e), hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
+ function yn(e, t) {
221
+ e.$$.dirty[0] === -1 && (Q.push(e), fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
222
  }
223
- function vn(e, t, r, n, i, o, s = null, a = [-1]) {
224
- const h = ae;
225
- se(e);
223
+ function _n(e, t, r, n, i, o, s = null, a = [-1]) {
224
+ const h = ue;
225
+ ae(e);
226
226
  const l = e.$$ = {
227
227
  fragment: null,
228
228
  ctx: [],
@@ -230,7 +230,7 @@ function vn(e, t, r, n, i, o, s = null, a = [-1]) {
230
230
  props: o,
231
231
  update: I,
232
232
  not_equal: i,
233
- bound: wt(),
233
+ bound: Tt(),
234
234
  // lifecycle
235
235
  on_mount: [],
236
236
  on_destroy: [],
@@ -239,7 +239,7 @@ function vn(e, t, r, n, i, o, s = null, a = [-1]) {
239
239
  after_update: [],
240
240
  context: new Map(t.context || (h ? h.$$.context : [])),
241
241
  // everything else
242
- callbacks: wt(),
242
+ callbacks: Tt(),
243
243
  dirty: a,
244
244
  skip_bound: !1,
245
245
  root: t.target || h.$$.root
@@ -248,19 +248,19 @@ function vn(e, t, r, n, i, o, s = null, a = [-1]) {
248
248
  let u = !1;
249
249
  if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
250
250
  const m = d.length ? d[0] : c;
251
- return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && gn(e, f)), c;
252
- }) : [], l.update(), u = !0, te(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
251
+ return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && yn(e, f)), c;
252
+ }) : [], l.update(), u = !0, re(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
253
253
  if (t.hydrate) {
254
- const f = on(t.target);
254
+ const f = an(t.target);
255
255
  l.fragment && l.fragment.l(f), f.forEach(R);
256
256
  } else
257
257
  l.fragment && l.fragment.c();
258
- t.intro && pn(e.$$.fragment), mn(e, t.target, t.anchor), M();
258
+ t.intro && bn(e.$$.fragment), gn(e, t.target, t.anchor), M();
259
259
  }
260
- se(h);
260
+ ae(h);
261
261
  }
262
- let ir;
263
- typeof HTMLElement == "function" && (ir = class extends HTMLElement {
262
+ let or;
263
+ typeof HTMLElement == "function" && (or = class extends HTMLElement {
264
264
  constructor(t, r, n) {
265
265
  super();
266
266
  /** The Svelte component constructor */
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
297
297
  }
298
298
  }
299
299
  connectedCallback() {
300
- return St(this, null, function* () {
300
+ return wt(this, null, function* () {
301
301
  if (this.$$cn = !0, !this.$$c) {
302
302
  let t = function(o) {
303
303
  return () => {
@@ -321,18 +321,18 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
321
321
  };
322
322
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const r = {}, n = sn(this);
324
+ const r = {}, n = un(this);
325
325
  for (const o of this.$$s)
326
326
  o in n && (r[o] = [t(o)]);
327
327
  for (const o of this.attributes) {
328
328
  const s = this.$$g_p(o.name);
329
- s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
329
+ s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
330
330
  }
331
331
  for (const o in this.$$p_d)
332
332
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
333
333
  this.$$c = new this.$$ctor({
334
334
  target: this.shadowRoot || this,
335
- props: xt(Et({}, this.$$d), {
335
+ props: St(xt({}, this.$$d), {
336
336
  $$slots: r,
337
337
  $$scope: {
338
338
  ctx: []
@@ -343,7 +343,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
343
343
  this.$$r = !0;
344
344
  for (const o in this.$$p_d)
345
345
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
346
- const s = me(
346
+ const s = be(
347
347
  o,
348
348
  this.$$d[o],
349
349
  this.$$p_d,
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
367
367
  // and setting attributes through setAttribute etc, this is helpful
368
368
  attributeChangedCallback(t, r, n) {
369
369
  var i;
370
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
370
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
371
371
  }
372
372
  disconnectedCallback() {
373
373
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -380,7 +380,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
380
380
  ) || t;
381
381
  }
382
382
  });
383
- function me(e, t, r, n) {
383
+ function be(e, t, r, n) {
384
384
  var o;
385
385
  const i = (o = r[e]) == null ? void 0 : o.type;
386
386
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -410,8 +410,8 @@ function me(e, t, r, n) {
410
410
  return t;
411
411
  }
412
412
  }
413
- function yn(e, t, r, n, i, o) {
414
- let s = class extends ir {
413
+ function En(e, t, r, n, i, o) {
414
+ let s = class extends or {
415
415
  constructor() {
416
416
  super(e, r, i), this.$$p_d = t;
417
417
  }
@@ -428,7 +428,7 @@ function yn(e, t, r, n, i, o) {
428
428
  },
429
429
  set(h) {
430
430
  var l;
431
- h = me(a, h, t), this.$$d[a] = h, (l = this.$$c) == null || l.$set({ [a]: h });
431
+ h = be(a, h, t), this.$$d[a] = h, (l = this.$$c) == null || l.$set({ [a]: h });
432
432
  }
433
433
  });
434
434
  }), n.forEach((a) => {
@@ -441,7 +441,7 @@ function yn(e, t, r, n, i, o) {
441
441
  }), e.element = /** @type {any} */
442
442
  s, s;
443
443
  }
444
- class _n {
444
+ class xn {
445
445
  constructor() {
446
446
  /**
447
447
  * ### PRIVATE API
@@ -462,7 +462,7 @@ class _n {
462
462
  }
463
463
  /** @returns {void} */
464
464
  $destroy() {
465
- bn(this, 1), this.$destroy = I;
465
+ vn(this, 1), this.$destroy = I;
466
466
  }
467
467
  /**
468
468
  * @template {Extract<keyof Events, string>} K
@@ -471,7 +471,7 @@ class _n {
471
471
  * @returns {() => void}
472
472
  */
473
473
  $on(t, r) {
474
- if (!at(r))
474
+ if (!ut(r))
475
475
  return I;
476
476
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
477
477
  return n.push(r), () => {
@@ -484,22 +484,22 @@ class _n {
484
484
  * @returns {void}
485
485
  */
486
486
  $set(t) {
487
- this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !en(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
488
  }
489
489
  }
490
- const En = "4";
491
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
490
+ const Sn = "4";
491
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
492
492
  const Z = [];
493
- function xn(e, t) {
493
+ function wn(e, t) {
494
494
  return {
495
- subscribe: Ce(e, t).subscribe
495
+ subscribe: Pe(e, t).subscribe
496
496
  };
497
497
  }
498
- function Ce(e, t = I) {
498
+ function Pe(e, t = I) {
499
499
  let r;
500
500
  const n = /* @__PURE__ */ new Set();
501
501
  function i(a) {
502
- if (tr(e, a) && (e = a, r)) {
502
+ if (rr(e, a) && (e = a, r)) {
503
503
  const h = !Z.length;
504
504
  for (const l of n)
505
505
  l[1](), Z.push(l, e);
@@ -521,12 +521,12 @@ function Ce(e, t = I) {
521
521
  }
522
522
  return { set: i, update: o, subscribe: s };
523
523
  }
524
- function re(e, t, r) {
524
+ function ne(e, t, r) {
525
525
  const n = !Array.isArray(e), i = n ? [e] : e;
526
526
  if (!i.every(Boolean))
527
527
  throw new Error("derived() expects stores as input, got a falsy value");
528
528
  const o = t.length < 2;
529
- return xn(r, (s, a) => {
529
+ return wn(r, (s, a) => {
530
530
  let h = !1;
531
531
  const l = [];
532
532
  let u = 0, f = I;
@@ -535,9 +535,9 @@ function re(e, t, r) {
535
535
  return;
536
536
  f();
537
537
  const m = t(n ? l[0] : l, s, a);
538
- o ? s(m) : f = at(m) ? m : I;
538
+ o ? s(m) : f = ut(m) ? m : I;
539
539
  }, d = i.map(
540
- (m, b) => rr(
540
+ (m, b) => nr(
541
541
  m,
542
542
  (g) => {
543
543
  l[b] = g, u &= ~(1 << b), h && c();
@@ -548,74 +548,74 @@ function re(e, t, r) {
548
548
  )
549
549
  );
550
550
  return h = !0, c(), function() {
551
- te(d), f(), h = !1;
551
+ re(d), f(), h = !1;
552
552
  };
553
553
  });
554
554
  }
555
- function Sn(e) {
555
+ function Tn(e) {
556
556
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
557
  }
558
- var wn = function(t) {
559
- return Tn(t) && !Hn(t);
558
+ var Hn = function(t) {
559
+ return Cn(t) && !Pn(t);
560
560
  };
561
- function Tn(e) {
561
+ function Cn(e) {
562
562
  return !!e && typeof e == "object";
563
563
  }
564
- function Hn(e) {
564
+ function Pn(e) {
565
565
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
566
+ return t === "[object RegExp]" || t === "[object Date]" || On(e);
567
567
  }
568
- var Cn = typeof Symbol == "function" && Symbol.for, Pn = Cn ? Symbol.for("react.element") : 60103;
569
- function Bn(e) {
570
- return e.$$typeof === Pn;
568
+ var Bn = typeof Symbol == "function" && Symbol.for, An = Bn ? Symbol.for("react.element") : 60103;
569
+ function On(e) {
570
+ return e.$$typeof === An;
571
571
  }
572
- function An(e) {
572
+ function Ln(e) {
573
573
  return Array.isArray(e) ? [] : {};
574
574
  }
575
- function ue(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? q(An(e), e, t) : e;
575
+ function le(e, t) {
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(Ln(e), e, t) : e;
577
577
  }
578
- function On(e, t, r) {
578
+ function In(e, t, r) {
579
579
  return e.concat(t).map(function(n) {
580
- return ue(n, r);
580
+ return le(n, r);
581
581
  });
582
582
  }
583
- function Ln(e, t) {
583
+ function Nn(e, t) {
584
584
  if (!t.customMerge)
585
585
  return q;
586
586
  var r = t.customMerge(e);
587
587
  return typeof r == "function" ? r : q;
588
588
  }
589
- function In(e) {
589
+ function Mn(e) {
590
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
591
  return Object.propertyIsEnumerable.call(e, t);
592
592
  }) : [];
593
593
  }
594
- function Ht(e) {
595
- return Object.keys(e).concat(In(e));
594
+ function Ct(e) {
595
+ return Object.keys(e).concat(Mn(e));
596
596
  }
597
- function or(e, t) {
597
+ function sr(e, t) {
598
598
  try {
599
599
  return t in e;
600
600
  } catch (r) {
601
601
  return !1;
602
602
  }
603
603
  }
604
- function Nn(e, t) {
605
- return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ function Rn(e, t) {
605
+ return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
606
  }
607
- function Mn(e, t, r) {
607
+ function $n(e, t, r) {
608
608
  var n = {};
609
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
610
- n[i] = ue(e[i], r);
611
- }), Ht(t).forEach(function(i) {
612
- Nn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
609
+ return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
610
+ n[i] = le(e[i], r);
611
+ }), Ct(t).forEach(function(i) {
612
+ Rn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
613
613
  }), n;
614
614
  }
615
615
  function q(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = ue;
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || In, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = le;
617
617
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
618
- return o ? n ? r.arrayMerge(e, t, r) : Mn(e, t, r) : ue(t, r);
618
+ return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : le(t, r);
619
619
  }
620
620
  q.all = function(t, r) {
621
621
  if (!Array.isArray(t))
@@ -624,20 +624,20 @@ q.all = function(t, r) {
624
624
  return q(n, i, r);
625
625
  }, {});
626
626
  };
627
- var Rn = q, $n = Rn;
628
- const Gn = /* @__PURE__ */ Sn($n);
629
- var We = function(e, t) {
630
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
627
+ var Gn = q, Un = Gn;
628
+ const Dn = /* @__PURE__ */ Tn(Un);
629
+ var ze = function(e, t) {
630
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
631
  r.__proto__ = n;
632
632
  } || function(r, n) {
633
633
  for (var i in n)
634
634
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
635
- }, We(e, t);
635
+ }, ze(e, t);
636
636
  };
637
- function Pe(e, t) {
637
+ function Be(e, t) {
638
638
  if (typeof t != "function" && t !== null)
639
639
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
640
- We(e, t);
640
+ ze(e, t);
641
641
  function r() {
642
642
  this.constructor = e;
643
643
  }
@@ -653,7 +653,7 @@ var G = function() {
653
653
  return t;
654
654
  }, G.apply(this, arguments);
655
655
  };
656
- function Un(e, t) {
656
+ function Fn(e, t) {
657
657
  var r = {};
658
658
  for (var n in e)
659
659
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -662,43 +662,43 @@ function Un(e, t) {
662
662
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
663
663
  return r;
664
664
  }
665
- function $e(e, t, r) {
665
+ function Ge(e, t, r) {
666
666
  if (r || arguments.length === 2)
667
667
  for (var n = 0, i = t.length, o; n < i; n++)
668
668
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
669
669
  return e.concat(o || Array.prototype.slice.call(t));
670
670
  }
671
- function Ge(e, t) {
672
- var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
671
+ function Ue(e, t) {
672
+ var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : Vn;
673
673
  return i(e, {
674
674
  cache: r,
675
675
  serializer: n
676
676
  });
677
677
  }
678
- function Dn(e) {
678
+ function jn(e) {
679
679
  return e == null || typeof e == "number" || typeof e == "boolean";
680
680
  }
681
- function Fn(e, t, r, n) {
682
- var i = Dn(n) ? n : r(n), o = t.get(i);
681
+ function kn(e, t, r, n) {
682
+ var i = jn(n) ? n : r(n), o = t.get(i);
683
683
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
684
684
  }
685
- function sr(e, t, r) {
685
+ function ar(e, t, r) {
686
686
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
687
687
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
688
688
  }
689
- function ar(e, t, r, n, i) {
689
+ function ur(e, t, r, n, i) {
690
690
  return r.bind(t, e, n, i);
691
691
  }
692
- function jn(e, t) {
693
- var r = e.length === 1 ? Fn : sr;
694
- return ar(e, this, r, t.cache.create(), t.serializer);
692
+ function Vn(e, t) {
693
+ var r = e.length === 1 ? kn : ar;
694
+ return ur(e, this, r, t.cache.create(), t.serializer);
695
695
  }
696
- function kn(e, t) {
697
- return ar(e, this, sr, t.cache.create(), t.serializer);
696
+ function Xn(e, t) {
697
+ return ur(e, this, ar, t.cache.create(), t.serializer);
698
698
  }
699
- var Vn = function() {
699
+ var Wn = function() {
700
700
  return JSON.stringify(arguments);
701
- }, Xn = (
701
+ }, zn = (
702
702
  /** @class */
703
703
  function() {
704
704
  function e() {
@@ -710,21 +710,21 @@ var Vn = function() {
710
710
  this.cache[t] = r;
711
711
  }, e;
712
712
  }()
713
- ), Wn = {
713
+ ), Zn = {
714
714
  create: function() {
715
- return new Xn();
715
+ return new zn();
716
716
  }
717
- }, Ue = {
718
- variadic: kn
719
- }, Se = function() {
720
- return Se = Object.assign || function(t) {
717
+ }, De = {
718
+ variadic: Xn
719
+ }, we = function() {
720
+ return we = Object.assign || function(t) {
721
721
  for (var r, n = 1, i = arguments.length; n < i; n++) {
722
722
  r = arguments[n];
723
723
  for (var o in r)
724
724
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
725
725
  }
726
726
  return t;
727
- }, Se.apply(this, arguments);
727
+ }, we.apply(this, arguments);
728
728
  };
729
729
  var v;
730
730
  (function(e) {
@@ -734,47 +734,47 @@ var S;
734
734
  (function(e) {
735
735
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
736
736
  })(S || (S = {}));
737
- var Y;
737
+ var K;
738
738
  (function(e) {
739
739
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
740
- })(Y || (Y = {}));
741
- function Ct(e) {
740
+ })(K || (K = {}));
741
+ function Pt(e) {
742
742
  return e.type === S.literal;
743
743
  }
744
- function zn(e) {
744
+ function Qn(e) {
745
745
  return e.type === S.argument;
746
746
  }
747
- function ur(e) {
747
+ function lr(e) {
748
748
  return e.type === S.number;
749
749
  }
750
- function lr(e) {
750
+ function hr(e) {
751
751
  return e.type === S.date;
752
752
  }
753
- function hr(e) {
753
+ function cr(e) {
754
754
  return e.type === S.time;
755
755
  }
756
- function cr(e) {
756
+ function fr(e) {
757
757
  return e.type === S.select;
758
758
  }
759
- function fr(e) {
759
+ function dr(e) {
760
760
  return e.type === S.plural;
761
761
  }
762
- function Zn(e) {
762
+ function Jn(e) {
763
763
  return e.type === S.pound;
764
764
  }
765
- function dr(e) {
765
+ function pr(e) {
766
766
  return e.type === S.tag;
767
767
  }
768
- function pr(e) {
769
- return !!(e && typeof e == "object" && e.type === Y.number);
768
+ function mr(e) {
769
+ return !!(e && typeof e == "object" && e.type === K.number);
770
770
  }
771
- function ze(e) {
772
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
771
+ function Ze(e) {
772
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
773
773
  }
774
- var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
775
- function Jn(e) {
774
+ var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
775
+ function qn(e) {
776
776
  var t = {};
777
- return e.replace(Qn, function(r) {
777
+ return e.replace(Yn, function(r) {
778
778
  var n = r.length;
779
779
  switch (r[0]) {
780
780
  case "G":
@@ -873,11 +873,11 @@ var w = function() {
873
873
  return t;
874
874
  }, w.apply(this, arguments);
875
875
  };
876
- var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
- function Yn(e) {
876
+ var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
+ function ei(e) {
878
878
  if (e.length === 0)
879
879
  throw new Error("Number skeleton cannot be empty");
880
- for (var t = e.split(qn).filter(function(c) {
880
+ for (var t = e.split(Kn).filter(function(c) {
881
881
  return c.length > 0;
882
882
  }), r = [], n = 0, i = t; n < i.length; n++) {
883
883
  var o = i[n], s = o.split("/");
@@ -892,17 +892,17 @@ function Yn(e) {
892
892
  }
893
893
  return r;
894
894
  }
895
- function Kn(e) {
895
+ function ti(e) {
896
896
  return e.replace(/^(.*?)-/, "");
897
897
  }
898
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
899
- function Bt(e) {
898
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
899
+ function At(e) {
900
900
  var t = {};
901
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
901
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
902
902
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
903
903
  }), t;
904
904
  }
905
- function vr(e) {
905
+ function yr(e) {
906
906
  switch (e) {
907
907
  case "sign-auto":
908
908
  return {
@@ -942,7 +942,7 @@ function vr(e) {
942
942
  };
943
943
  }
944
944
  }
945
- function ti(e) {
945
+ function ni(e) {
946
946
  var t;
947
947
  if (e[0] === "E" && e[1] === "E" ? (t = {
948
948
  notation: "engineering"
@@ -950,17 +950,17 @@ function ti(e) {
950
950
  notation: "scientific"
951
951
  }, e = e.slice(1)), t) {
952
952
  var r = e.slice(0, 2);
953
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
953
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
954
954
  throw new Error("Malformed concise eng/scientific notation");
955
955
  t.minimumIntegerDigits = e.length;
956
956
  }
957
957
  return t;
958
958
  }
959
- function At(e) {
960
- var t = {}, r = vr(e);
959
+ function Ot(e) {
960
+ var t = {}, r = yr(e);
961
961
  return r || t;
962
962
  }
963
- function ri(e) {
963
+ function ii(e) {
964
964
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
965
965
  var i = n[r];
966
966
  switch (i.stem) {
@@ -984,7 +984,7 @@ function ri(e) {
984
984
  continue;
985
985
  case "measure-unit":
986
986
  case "unit":
987
- t.style = "unit", t.unit = Kn(i.options[0]);
987
+ t.style = "unit", t.unit = ti(i.options[0]);
988
988
  continue;
989
989
  case "compact-short":
990
990
  case "K":
@@ -996,12 +996,12 @@ function ri(e) {
996
996
  continue;
997
997
  case "scientific":
998
998
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
999
- return w(w({}, h), At(l));
999
+ return w(w({}, h), Ot(l));
1000
1000
  }, {}));
1001
1001
  continue;
1002
1002
  case "engineering":
1003
1003
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1004
- return w(w({}, h), At(l));
1004
+ return w(w({}, h), Ot(l));
1005
1005
  }, {}));
1006
1006
  continue;
1007
1007
  case "notation-simple":
@@ -1046,7 +1046,7 @@ function ri(e) {
1046
1046
  case "integer-width":
1047
1047
  if (i.options.length > 1)
1048
1048
  throw new RangeError("integer-width stems only accept a single optional option");
1049
- i.options[0].replace(ei, function(h, l, u, f, c, d) {
1049
+ i.options[0].replace(ri, function(h, l, u, f, c, d) {
1050
1050
  if (l)
1051
1051
  t.minimumIntegerDigits = u.length;
1052
1052
  else {
@@ -1059,32 +1059,32 @@ function ri(e) {
1059
1059
  });
1060
1060
  continue;
1061
1061
  }
1062
- if (gr.test(i.stem)) {
1062
+ if (vr.test(i.stem)) {
1063
1063
  t.minimumIntegerDigits = i.stem.length;
1064
1064
  continue;
1065
1065
  }
1066
- if (Pt.test(i.stem)) {
1066
+ if (Bt.test(i.stem)) {
1067
1067
  if (i.options.length > 1)
1068
1068
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1069
- i.stem.replace(Pt, function(h, l, u, f, c, d) {
1069
+ i.stem.replace(Bt, function(h, l, u, f, c, d) {
1070
1070
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1071
1071
  });
1072
1072
  var o = i.options[0];
1073
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Bt(o)));
1073
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), At(o)));
1074
1074
  continue;
1075
1075
  }
1076
- if (br.test(i.stem)) {
1077
- t = w(w({}, t), Bt(i.stem));
1076
+ if (gr.test(i.stem)) {
1077
+ t = w(w({}, t), At(i.stem));
1078
1078
  continue;
1079
1079
  }
1080
- var s = vr(i.stem);
1080
+ var s = yr(i.stem);
1081
1081
  s && (t = w(w({}, t), s));
1082
- var a = ti(i.stem);
1082
+ var a = ni(i.stem);
1083
1083
  a && (t = w(w({}, t), a));
1084
1084
  }
1085
1085
  return t;
1086
1086
  }
1087
- var de = {
1087
+ var pe = {
1088
1088
  "001": [
1089
1089
  "H",
1090
1090
  "h"
@@ -2499,13 +2499,13 @@ var de = {
2499
2499
  "h"
2500
2500
  ]
2501
2501
  };
2502
- function ni(e, t) {
2502
+ function oi(e, t) {
2503
2503
  for (var r = "", n = 0; n < e.length; n++) {
2504
2504
  var i = e.charAt(n);
2505
2505
  if (i === "j") {
2506
2506
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2507
2507
  o++, n++;
2508
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ii(t);
2508
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = si(t);
2509
2509
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2510
2510
  r += h;
2511
2511
  for (; s-- > 0; )
@@ -2515,7 +2515,7 @@ function ni(e, t) {
2515
2515
  }
2516
2516
  return r;
2517
2517
  }
2518
- function ii(e) {
2518
+ function si(e) {
2519
2519
  var t = e.hourCycle;
2520
2520
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2521
2521
  e.hourCycles && // @ts-ignore
@@ -2534,23 +2534,23 @@ function ii(e) {
2534
2534
  }
2535
2535
  var r = e.language, n;
2536
2536
  r !== "root" && (n = e.maximize().region);
2537
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2537
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2538
2538
  return i[0];
2539
2539
  }
2540
- var De, oi = new RegExp("^".concat(mr.source, "*")), si = new RegExp("".concat(mr.source, "*$"));
2540
+ var Fe, ai = new RegExp("^".concat(br.source, "*")), ui = new RegExp("".concat(br.source, "*$"));
2541
2541
  function y(e, t) {
2542
2542
  return { start: e, end: t };
2543
2543
  }
2544
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, pi = di ? Number.isSafeInteger : function(e) {
2544
+ var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, bi = mi ? Number.isSafeInteger : function(e) {
2545
2545
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2546
- }, Ze = !0;
2546
+ }, Qe = !0;
2547
2547
  try {
2548
- var mi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
- Ze = ((De = mi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2548
+ var gi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
+ Qe = ((Fe = gi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2550
2550
  } catch (e) {
2551
- Ze = !1;
2551
+ Qe = !1;
2552
2552
  }
2553
- var Ot = ai ? (
2553
+ var Lt = li ? (
2554
2554
  // Native
2555
2555
  function(t, r, n) {
2556
2556
  return t.startsWith(r, n);
@@ -2560,7 +2560,7 @@ var Ot = ai ? (
2560
2560
  function(t, r, n) {
2561
2561
  return t.slice(n, n + r.length) === r;
2562
2562
  }
2563
- ), Qe = ui ? String.fromCodePoint : (
2563
+ ), Je = hi ? String.fromCodePoint : (
2564
2564
  // IE11
2565
2565
  function() {
2566
2566
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2572,9 +2572,9 @@ var Ot = ai ? (
2572
2572
  }
2573
2573
  return n;
2574
2574
  }
2575
- ), Lt = (
2575
+ ), It = (
2576
2576
  // native
2577
- li ? Object.fromEntries : (
2577
+ ci ? Object.fromEntries : (
2578
2578
  // Ponyfill
2579
2579
  function(t) {
2580
2580
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2584,7 +2584,7 @@ var Ot = ai ? (
2584
2584
  return r;
2585
2585
  }
2586
2586
  )
2587
- ), yr = hi ? (
2587
+ ), _r = fi ? (
2588
2588
  // Native
2589
2589
  function(t, r) {
2590
2590
  return t.codePointAt(r);
@@ -2598,7 +2598,7 @@ var Ot = ai ? (
2598
2598
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2599
2599
  }
2600
2600
  }
2601
- ), bi = ci ? (
2601
+ ), vi = di ? (
2602
2602
  // Native
2603
2603
  function(t) {
2604
2604
  return t.trimStart();
@@ -2606,9 +2606,9 @@ var Ot = ai ? (
2606
2606
  ) : (
2607
2607
  // Ponyfill
2608
2608
  function(t) {
2609
- return t.replace(oi, "");
2609
+ return t.replace(ai, "");
2610
2610
  }
2611
- ), gi = fi ? (
2611
+ ), yi = pi ? (
2612
2612
  // Native
2613
2613
  function(t) {
2614
2614
  return t.trimEnd();
@@ -2616,32 +2616,32 @@ var Ot = ai ? (
2616
2616
  ) : (
2617
2617
  // Ponyfill
2618
2618
  function(t) {
2619
- return t.replace(si, "");
2619
+ return t.replace(ui, "");
2620
2620
  }
2621
2621
  );
2622
- function _r(e, t) {
2622
+ function Er(e, t) {
2623
2623
  return new RegExp(e, t);
2624
2624
  }
2625
- var Je;
2626
- if (Ze) {
2627
- var It = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
- Je = function(t, r) {
2625
+ var Ye;
2626
+ if (Qe) {
2627
+ var Nt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
+ Ye = function(t, r) {
2629
2629
  var n;
2630
- It.lastIndex = r;
2631
- var i = It.exec(t);
2630
+ Nt.lastIndex = r;
2631
+ var i = Nt.exec(t);
2632
2632
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2633
2633
  };
2634
2634
  } else
2635
- Je = function(t, r) {
2635
+ Ye = function(t, r) {
2636
2636
  for (var n = []; ; ) {
2637
- var i = yr(t, r);
2638
- if (i === void 0 || Er(i) || Ei(i))
2637
+ var i = _r(t, r);
2638
+ if (i === void 0 || xr(i) || Si(i))
2639
2639
  break;
2640
2640
  n.push(i), r += i >= 65536 ? 2 : 1;
2641
2641
  }
2642
- return Qe.apply(void 0, n);
2642
+ return Je.apply(void 0, n);
2643
2643
  };
2644
- var vi = (
2644
+ var _i = (
2645
2645
  /** @class */
2646
2646
  function() {
2647
2647
  function e(t, r) {
@@ -2723,7 +2723,7 @@ var vi = (
2723
2723
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2724
2724
  }, e.prototype.parseTagName = function() {
2725
2725
  var t = this.offset();
2726
- for (this.bump(); !this.isEOF() && _i(this.char()); )
2726
+ for (this.bump(); !this.isEOF() && xi(this.char()); )
2727
2727
  this.bump();
2728
2728
  return this.message.slice(t, this.offset());
2729
2729
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2752,7 +2752,7 @@ var vi = (
2752
2752
  };
2753
2753
  }, e.prototype.tryParseLeftAngleBracket = function() {
2754
2754
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2755
- !yi(this.peek() || 0)) ? (this.bump(), "<") : null;
2755
+ !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
2756
2756
  }, e.prototype.tryParseQuote = function(t) {
2757
2757
  if (this.isEOF() || this.char() !== 39)
2758
2758
  return null;
@@ -2786,12 +2786,12 @@ var vi = (
2786
2786
  r.push(n);
2787
2787
  this.bump();
2788
2788
  }
2789
- return Qe.apply(void 0, r);
2789
+ return Je.apply(void 0, r);
2790
2790
  }, e.prototype.tryParseUnquoted = function(t, r) {
2791
2791
  if (this.isEOF())
2792
2792
  return null;
2793
2793
  var n = this.char();
2794
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2794
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
2795
2795
  }, e.prototype.parseArgument = function(t, r) {
2796
2796
  var n = this.clonePosition();
2797
2797
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2820,7 +2820,7 @@ var vi = (
2820
2820
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2821
2821
  }
2822
2822
  }, e.prototype.parseIdentifierIfPossible = function() {
2823
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2823
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
2824
2824
  this.bumpTo(i);
2825
2825
  var o = this.clonePosition(), s = y(t, o);
2826
2826
  return { value: n, location: s };
@@ -2839,7 +2839,7 @@ var vi = (
2839
2839
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2840
2840
  if (f.err)
2841
2841
  return f;
2842
- var c = gi(f.val);
2842
+ var c = yi(f.val);
2843
2843
  if (c.length === 0)
2844
2844
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2845
2845
  var d = y(u, this.clonePosition());
@@ -2849,8 +2849,8 @@ var vi = (
2849
2849
  if (m.err)
2850
2850
  return m;
2851
2851
  var b = y(i, this.clonePosition());
2852
- if (l && Ot(l == null ? void 0 : l.style, "::", 0)) {
2853
- var g = bi(l.style.slice(2));
2852
+ if (l && Lt(l == null ? void 0 : l.style, "::", 0)) {
2853
+ var g = vi(l.style.slice(2));
2854
2854
  if (a === "number") {
2855
2855
  var f = this.parseNumberSkeletonFromString(g, l.styleLocation);
2856
2856
  return f.err ? f : {
@@ -2861,12 +2861,12 @@ var vi = (
2861
2861
  if (g.length === 0)
2862
2862
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2863
2863
  var _ = g;
2864
- this.locale && (_ = ni(g, this.locale));
2864
+ this.locale && (_ = oi(g, this.locale));
2865
2865
  var c = {
2866
- type: Y.dateTime,
2866
+ type: K.dateTime,
2867
2867
  pattern: _,
2868
2868
  location: l.styleLocation,
2869
- parsedOptions: this.shouldParseSkeletons ? Jn(_) : {}
2869
+ parsedOptions: this.shouldParseSkeletons ? qn(_) : {}
2870
2870
  }, x = a === "date" ? S.date : S.time;
2871
2871
  return {
2872
2872
  val: { type: x, value: n, location: b, style: c },
@@ -2889,7 +2889,7 @@ var vi = (
2889
2889
  case "select": {
2890
2890
  var T = this.clonePosition();
2891
2891
  if (this.bumpSpace(), !this.bumpIf(","))
2892
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, Se({}, T)));
2892
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, we({}, T)));
2893
2893
  this.bumpSpace();
2894
2894
  var H = this.parseIdentifierIfPossible(), O = 0;
2895
2895
  if (a !== "select" && H.value === "offset") {
@@ -2912,7 +2912,7 @@ var vi = (
2912
2912
  val: {
2913
2913
  type: S.select,
2914
2914
  value: n,
2915
- options: Lt(k.val),
2915
+ options: It(k.val),
2916
2916
  location: W
2917
2917
  },
2918
2918
  err: null
@@ -2920,7 +2920,7 @@ var vi = (
2920
2920
  val: {
2921
2921
  type: S.plural,
2922
2922
  value: n,
2923
- options: Lt(k.val),
2923
+ options: It(k.val),
2924
2924
  offset: O,
2925
2925
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2926
2926
  location: W
@@ -2971,16 +2971,16 @@ var vi = (
2971
2971
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2972
2972
  var n = [];
2973
2973
  try {
2974
- n = Yn(t);
2974
+ n = ei(t);
2975
2975
  } catch (i) {
2976
2976
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2977
2977
  }
2978
2978
  return {
2979
2979
  val: {
2980
- type: Y.number,
2980
+ type: K.number,
2981
2981
  tokens: n,
2982
2982
  location: r,
2983
- parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
2983
+ parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
2984
2984
  },
2985
2985
  err: null
2986
2986
  };
@@ -3028,7 +3028,7 @@ var vi = (
3028
3028
  break;
3029
3029
  }
3030
3030
  var h = y(i, this.clonePosition());
3031
- return o ? (s *= n, pi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3031
+ return o ? (s *= n, bi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3032
3032
  }, e.prototype.offset = function() {
3033
3033
  return this.position.offset;
3034
3034
  }, e.prototype.isEOF = function() {
@@ -3043,7 +3043,7 @@ var vi = (
3043
3043
  var t = this.position.offset;
3044
3044
  if (t >= this.message.length)
3045
3045
  throw Error("out of bound");
3046
- var r = yr(this.message, t);
3046
+ var r = _r(this.message, t);
3047
3047
  if (r === void 0)
3048
3048
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3049
3049
  return r;
@@ -3062,7 +3062,7 @@ var vi = (
3062
3062
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3063
3063
  }
3064
3064
  }, e.prototype.bumpIf = function(t) {
3065
- if (Ot(this.message, t, this.offset())) {
3065
+ if (Lt(this.message, t, this.offset())) {
3066
3066
  for (var r = 0; r < t.length; r++)
3067
3067
  this.bump();
3068
3068
  return !0;
@@ -3084,7 +3084,7 @@ var vi = (
3084
3084
  break;
3085
3085
  }
3086
3086
  }, e.prototype.bumpSpace = function() {
3087
- for (; !this.isEOF() && Er(this.char()); )
3087
+ for (; !this.isEOF() && xr(this.char()); )
3088
3088
  this.bump();
3089
3089
  }, e.prototype.peek = function() {
3090
3090
  if (this.isEOF())
@@ -3097,44 +3097,44 @@ var vi = (
3097
3097
  function qe(e) {
3098
3098
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3099
3099
  }
3100
- function yi(e) {
3100
+ function Ei(e) {
3101
3101
  return qe(e) || e === 47;
3102
3102
  }
3103
- function _i(e) {
3103
+ function xi(e) {
3104
3104
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3105
3105
  }
3106
- function Er(e) {
3106
+ function xr(e) {
3107
3107
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3108
3108
  }
3109
- function Ei(e) {
3109
+ function Si(e) {
3110
3110
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3111
3111
  }
3112
- function Ye(e) {
3112
+ function Ke(e) {
3113
3113
  e.forEach(function(t) {
3114
- if (delete t.location, cr(t) || fr(t))
3114
+ if (delete t.location, fr(t) || dr(t))
3115
3115
  for (var r in t.options)
3116
- delete t.options[r].location, Ye(t.options[r].value);
3116
+ delete t.options[r].location, Ke(t.options[r].value);
3117
3117
  else
3118
- ur(t) && pr(t.style) || (lr(t) || hr(t)) && ze(t.style) ? delete t.style.location : dr(t) && Ye(t.children);
3118
+ lr(t) && mr(t.style) || (hr(t) || cr(t)) && Ze(t.style) ? delete t.style.location : pr(t) && Ke(t.children);
3119
3119
  });
3120
3120
  }
3121
- function xi(e, t) {
3122
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
- var r = new vi(e, t).parse();
3121
+ function wi(e, t) {
3122
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
+ var r = new _i(e, t).parse();
3124
3124
  if (r.err) {
3125
3125
  var n = SyntaxError(v[r.err.kind]);
3126
3126
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3127
3127
  }
3128
- return t != null && t.captureLocation || Ye(r.val), r.val;
3128
+ return t != null && t.captureLocation || Ke(r.val), r.val;
3129
3129
  }
3130
- var K;
3130
+ var ee;
3131
3131
  (function(e) {
3132
3132
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3133
- })(K || (K = {}));
3134
- var Be = (
3133
+ })(ee || (ee = {}));
3134
+ var Ae = (
3135
3135
  /** @class */
3136
3136
  function(e) {
3137
- Pe(t, e);
3137
+ Be(t, e);
3138
3138
  function t(r, n, i) {
3139
3139
  var o = e.call(this, r) || this;
3140
3140
  return o.code = n, o.originalMessage = i, o;
@@ -3143,48 +3143,48 @@ var Be = (
3143
3143
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3144
3144
  }, t;
3145
3145
  }(Error)
3146
- ), Nt = (
3146
+ ), Mt = (
3147
3147
  /** @class */
3148
3148
  function(e) {
3149
- Pe(t, e);
3149
+ Be(t, e);
3150
3150
  function t(r, n, i, o) {
3151
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3151
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3152
3152
  }
3153
3153
  return t;
3154
- }(Be)
3155
- ), Si = (
3154
+ }(Ae)
3155
+ ), Ti = (
3156
3156
  /** @class */
3157
3157
  function(e) {
3158
- Pe(t, e);
3158
+ Be(t, e);
3159
3159
  function t(r, n, i) {
3160
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3160
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3161
3161
  }
3162
3162
  return t;
3163
- }(Be)
3164
- ), wi = (
3163
+ }(Ae)
3164
+ ), Hi = (
3165
3165
  /** @class */
3166
3166
  function(e) {
3167
- Pe(t, e);
3167
+ Be(t, e);
3168
3168
  function t(r, n) {
3169
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3169
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3170
3170
  }
3171
3171
  return t;
3172
- }(Be)
3172
+ }(Ae)
3173
3173
  ), A;
3174
3174
  (function(e) {
3175
3175
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3176
3176
  })(A || (A = {}));
3177
- function Ti(e) {
3177
+ function Ci(e) {
3178
3178
  return e.length < 2 ? e : e.reduce(function(t, r) {
3179
3179
  var n = t[t.length - 1];
3180
3180
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3181
3181
  }, []);
3182
3182
  }
3183
- function Hi(e) {
3183
+ function Pi(e) {
3184
3184
  return typeof e == "function";
3185
3185
  }
3186
- function be(e, t, r, n, i, o, s) {
3187
- if (e.length === 1 && Ct(e[0]))
3186
+ function ge(e, t, r, n, i, o, s) {
3187
+ if (e.length === 1 && Pt(e[0]))
3188
3188
  return [
3189
3189
  {
3190
3190
  type: A.literal,
@@ -3193,14 +3193,14 @@ function be(e, t, r, n, i, o, s) {
3193
3193
  ];
3194
3194
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3195
3195
  var u = l[h];
3196
- if (Ct(u)) {
3196
+ if (Pt(u)) {
3197
3197
  a.push({
3198
3198
  type: A.literal,
3199
3199
  value: u.value
3200
3200
  });
3201
3201
  continue;
3202
3202
  }
3203
- if (Zn(u)) {
3203
+ if (Jn(u)) {
3204
3204
  typeof o == "number" && a.push({
3205
3205
  type: A.literal,
3206
3206
  value: r.getNumberFormat(t).format(o)
@@ -3209,44 +3209,44 @@ function be(e, t, r, n, i, o, s) {
3209
3209
  }
3210
3210
  var f = u.value;
3211
3211
  if (!(i && f in i))
3212
- throw new wi(f, s);
3212
+ throw new Hi(f, s);
3213
3213
  var c = i[f];
3214
- if (zn(u)) {
3214
+ if (Qn(u)) {
3215
3215
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3216
3216
  type: typeof c == "string" ? A.literal : A.object,
3217
3217
  value: c
3218
3218
  });
3219
3219
  continue;
3220
3220
  }
3221
- if (lr(u)) {
3222
- var d = typeof u.style == "string" ? n.date[u.style] : ze(u.style) ? u.style.parsedOptions : void 0;
3221
+ if (hr(u)) {
3222
+ var d = typeof u.style == "string" ? n.date[u.style] : Ze(u.style) ? u.style.parsedOptions : void 0;
3223
3223
  a.push({
3224
3224
  type: A.literal,
3225
3225
  value: r.getDateTimeFormat(t, d).format(c)
3226
3226
  });
3227
3227
  continue;
3228
3228
  }
3229
- if (hr(u)) {
3230
- var d = typeof u.style == "string" ? n.time[u.style] : ze(u.style) ? u.style.parsedOptions : n.time.medium;
3229
+ if (cr(u)) {
3230
+ var d = typeof u.style == "string" ? n.time[u.style] : Ze(u.style) ? u.style.parsedOptions : n.time.medium;
3231
3231
  a.push({
3232
3232
  type: A.literal,
3233
3233
  value: r.getDateTimeFormat(t, d).format(c)
3234
3234
  });
3235
3235
  continue;
3236
3236
  }
3237
- if (ur(u)) {
3238
- var d = typeof u.style == "string" ? n.number[u.style] : pr(u.style) ? u.style.parsedOptions : void 0;
3237
+ if (lr(u)) {
3238
+ var d = typeof u.style == "string" ? n.number[u.style] : mr(u.style) ? u.style.parsedOptions : void 0;
3239
3239
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3240
3240
  type: A.literal,
3241
3241
  value: r.getNumberFormat(t, d).format(c)
3242
3242
  });
3243
3243
  continue;
3244
3244
  }
3245
- if (dr(u)) {
3245
+ if (pr(u)) {
3246
3246
  var m = u.children, b = u.value, g = i[b];
3247
- if (!Hi(g))
3248
- throw new Si(b, "function", s);
3249
- var _ = be(m, t, r, n, i, o), x = g(_.map(function(O) {
3247
+ if (!Pi(g))
3248
+ throw new Ti(b, "function", s);
3249
+ var _ = ge(m, t, r, n, i, o), x = g(_.map(function(O) {
3250
3250
  return O.value;
3251
3251
  }));
3252
3252
  Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(O) {
@@ -3256,42 +3256,42 @@ function be(e, t, r, n, i, o, s) {
3256
3256
  };
3257
3257
  }));
3258
3258
  }
3259
- if (cr(u)) {
3259
+ if (fr(u)) {
3260
3260
  var T = u.options[c] || u.options.other;
3261
3261
  if (!T)
3262
- throw new Nt(u.value, c, Object.keys(u.options), s);
3263
- a.push.apply(a, be(T.value, t, r, n, i));
3262
+ throw new Mt(u.value, c, Object.keys(u.options), s);
3263
+ a.push.apply(a, ge(T.value, t, r, n, i));
3264
3264
  continue;
3265
3265
  }
3266
- if (fr(u)) {
3266
+ if (dr(u)) {
3267
3267
  var T = u.options["=".concat(c)];
3268
3268
  if (!T) {
3269
3269
  if (!Intl.PluralRules)
3270
- throw new Be(`Intl.PluralRules is not available in this environment.
3270
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3271
3271
  Try polyfilling it using "@formatjs/intl-pluralrules"
3272
- `, K.MISSING_INTL_API, s);
3272
+ `, ee.MISSING_INTL_API, s);
3273
3273
  var H = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3274
3274
  T = u.options[H] || u.options.other;
3275
3275
  }
3276
3276
  if (!T)
3277
- throw new Nt(u.value, c, Object.keys(u.options), s);
3278
- a.push.apply(a, be(T.value, t, r, n, i, c - (u.offset || 0)));
3277
+ throw new Mt(u.value, c, Object.keys(u.options), s);
3278
+ a.push.apply(a, ge(T.value, t, r, n, i, c - (u.offset || 0)));
3279
3279
  continue;
3280
3280
  }
3281
3281
  }
3282
- return Ti(a);
3282
+ return Ci(a);
3283
3283
  }
3284
- function Ci(e, t) {
3284
+ function Bi(e, t) {
3285
3285
  return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3286
3286
  return r[n] = G(G({}, e[n]), t[n] || {}), r;
3287
3287
  }, {})) : e;
3288
3288
  }
3289
- function Pi(e, t) {
3289
+ function Ai(e, t) {
3290
3290
  return t ? Object.keys(e).reduce(function(r, n) {
3291
- return r[n] = Ci(e[n], t[n]), r;
3291
+ return r[n] = Bi(e[n], t[n]), r;
3292
3292
  }, G({}, e)) : e;
3293
3293
  }
3294
- function Fe(e) {
3294
+ function je(e) {
3295
3295
  return {
3296
3296
  create: function() {
3297
3297
  return {
@@ -3305,39 +3305,39 @@ function Fe(e) {
3305
3305
  }
3306
3306
  };
3307
3307
  }
3308
- function Bi(e) {
3308
+ function Oi(e) {
3309
3309
  return e === void 0 && (e = {
3310
3310
  number: {},
3311
3311
  dateTime: {},
3312
3312
  pluralRules: {}
3313
3313
  }), {
3314
- getNumberFormat: Ge(function() {
3314
+ getNumberFormat: Ue(function() {
3315
3315
  for (var t, r = [], n = 0; n < arguments.length; n++)
3316
3316
  r[n] = arguments[n];
3317
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3317
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3318
3318
  }, {
3319
- cache: Fe(e.number),
3320
- strategy: Ue.variadic
3319
+ cache: je(e.number),
3320
+ strategy: De.variadic
3321
3321
  }),
3322
- getDateTimeFormat: Ge(function() {
3322
+ getDateTimeFormat: Ue(function() {
3323
3323
  for (var t, r = [], n = 0; n < arguments.length; n++)
3324
3324
  r[n] = arguments[n];
3325
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3325
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3326
3326
  }, {
3327
- cache: Fe(e.dateTime),
3328
- strategy: Ue.variadic
3327
+ cache: je(e.dateTime),
3328
+ strategy: De.variadic
3329
3329
  }),
3330
- getPluralRules: Ge(function() {
3330
+ getPluralRules: Ue(function() {
3331
3331
  for (var t, r = [], n = 0; n < arguments.length; n++)
3332
3332
  r[n] = arguments[n];
3333
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3333
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3334
3334
  }, {
3335
- cache: Fe(e.pluralRules),
3336
- strategy: Ue.variadic
3335
+ cache: je(e.pluralRules),
3336
+ strategy: De.variadic
3337
3337
  })
3338
3338
  };
3339
3339
  }
3340
- var Ai = (
3340
+ var Li = (
3341
3341
  /** @class */
3342
3342
  function() {
3343
3343
  function e(t, r, n, i) {
@@ -3356,7 +3356,7 @@ var Ai = (
3356
3356
  }, []);
3357
3357
  return u.length <= 1 ? u[0] || "" : u;
3358
3358
  }, this.formatToParts = function(h) {
3359
- return be(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3359
+ return ge(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3360
3360
  }, this.resolvedOptions = function() {
3361
3361
  var h;
3362
3362
  return {
@@ -3369,13 +3369,13 @@ var Ai = (
3369
3369
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3370
3370
  var s = i || {};
3371
3371
  s.formatters;
3372
- var a = Un(s, ["formatters"]);
3372
+ var a = Fn(s, ["formatters"]);
3373
3373
  this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3374
3374
  } else
3375
3375
  this.ast = t;
3376
3376
  if (!Array.isArray(this.ast))
3377
3377
  throw new TypeError("A message must be provided as a String or AST.");
3378
- this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
3378
+ this.formats = Ai(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
3379
3379
  }
3380
3380
  return Object.defineProperty(e, "defaultLocale", {
3381
3381
  get: function() {
@@ -3388,7 +3388,7 @@ var Ai = (
3388
3388
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3389
3389
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3390
3390
  }
3391
- }, e.__parse = xi, e.formats = {
3391
+ }, e.__parse = wi, e.formats = {
3392
3392
  number: {
3393
3393
  integer: {
3394
3394
  maximumFractionDigits: 0
@@ -3449,7 +3449,7 @@ var Ai = (
3449
3449
  }, e;
3450
3450
  }()
3451
3451
  );
3452
- function Oi(e, t) {
3452
+ function Ii(e, t) {
3453
3453
  if (t == null)
3454
3454
  return;
3455
3455
  if (t in e)
@@ -3470,92 +3470,92 @@ function Oi(e, t) {
3470
3470
  n = void 0;
3471
3471
  return n;
3472
3472
  }
3473
- const j = {}, Li = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), xr = (e, t) => {
3473
+ const j = {}, Ni = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Sr = (e, t) => {
3474
3474
  if (t == null)
3475
3475
  return;
3476
3476
  if (t in j && e in j[t])
3477
3477
  return j[t][e];
3478
- const r = Ae(t);
3478
+ const r = Oe(t);
3479
3479
  for (let n = 0; n < r.length; n++) {
3480
- const i = r[n], o = Ni(i, e);
3480
+ const i = r[n], o = Ri(i, e);
3481
3481
  if (o)
3482
- return Li(e, t, o);
3482
+ return Ni(e, t, o);
3483
3483
  }
3484
3484
  };
3485
- let lt;
3486
- const he = Ce({});
3487
- function Ii(e) {
3488
- return lt[e] || null;
3485
+ let ht;
3486
+ const ce = Pe({});
3487
+ function Mi(e) {
3488
+ return ht[e] || null;
3489
3489
  }
3490
- function Sr(e) {
3491
- return e in lt;
3490
+ function wr(e) {
3491
+ return e in ht;
3492
3492
  }
3493
- function Ni(e, t) {
3494
- if (!Sr(e))
3493
+ function Ri(e, t) {
3494
+ if (!wr(e))
3495
3495
  return null;
3496
- const r = Ii(e);
3497
- return Oi(r, t);
3496
+ const r = Mi(e);
3497
+ return Ii(r, t);
3498
3498
  }
3499
- function Mi(e) {
3499
+ function $i(e) {
3500
3500
  if (e == null)
3501
3501
  return;
3502
- const t = Ae(e);
3502
+ const t = Oe(e);
3503
3503
  for (let r = 0; r < t.length; r++) {
3504
3504
  const n = t[r];
3505
- if (Sr(n))
3505
+ if (wr(n))
3506
3506
  return n;
3507
3507
  }
3508
3508
  }
3509
- function wr(e, ...t) {
3510
- delete j[e], he.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
3509
+ function Tr(e, ...t) {
3510
+ delete j[e], ce.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
3511
3511
  }
3512
- re(
3513
- [he],
3512
+ ne(
3513
+ [ce],
3514
3514
  ([e]) => Object.keys(e)
3515
3515
  );
3516
- he.subscribe((e) => lt = e);
3517
- const ge = {};
3518
- function Ri(e, t) {
3519
- ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3516
+ ce.subscribe((e) => ht = e);
3517
+ const ve = {};
3518
+ function Gi(e, t) {
3519
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3520
3520
  }
3521
- function Tr(e) {
3522
- return ge[e];
3521
+ function Hr(e) {
3522
+ return ve[e];
3523
3523
  }
3524
- function $i(e) {
3525
- return Ae(e).map((t) => {
3526
- const r = Tr(t);
3524
+ function Ui(e) {
3525
+ return Oe(e).map((t) => {
3526
+ const r = Hr(t);
3527
3527
  return [t, r ? [...r] : []];
3528
3528
  }).filter(([, t]) => t.length > 0);
3529
3529
  }
3530
- function Ke(e) {
3531
- return e == null ? !1 : Ae(e).some(
3530
+ function et(e) {
3531
+ return e == null ? !1 : Oe(e).some(
3532
3532
  (t) => {
3533
3533
  var r;
3534
- return (r = Tr(t)) == null ? void 0 : r.size;
3534
+ return (r = Hr(t)) == null ? void 0 : r.size;
3535
3535
  }
3536
3536
  );
3537
3537
  }
3538
- function Gi(e, t) {
3538
+ function Di(e, t) {
3539
3539
  return Promise.all(
3540
- t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
3541
- ).then((n) => wr(e, ...n));
3542
- }
3543
- const oe = {};
3544
- function Hr(e) {
3545
- if (!Ke(e))
3546
- return e in oe ? oe[e] : Promise.resolve();
3547
- const t = $i(e);
3548
- return oe[e] = Promise.all(
3540
+ t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
3541
+ ).then((n) => Tr(e, ...n));
3542
+ }
3543
+ const se = {};
3544
+ function Cr(e) {
3545
+ if (!et(e))
3546
+ return e in se ? se[e] : Promise.resolve();
3547
+ const t = Ui(e);
3548
+ return se[e] = Promise.all(
3549
3549
  t.map(
3550
- ([r, n]) => Gi(r, n)
3550
+ ([r, n]) => Di(r, n)
3551
3551
  )
3552
3552
  ).then(() => {
3553
- if (Ke(e))
3554
- return Hr(e);
3555
- delete oe[e];
3556
- }), oe[e];
3553
+ if (et(e))
3554
+ return Cr(e);
3555
+ delete se[e];
3556
+ }), se[e];
3557
3557
  }
3558
- const Ui = {
3558
+ const Fi = {
3559
3559
  number: {
3560
3560
  scientific: { notation: "scientific" },
3561
3561
  engineering: { notation: "engineering" },
@@ -3584,135 +3584,135 @@ const Ui = {
3584
3584
  timeZoneName: "short"
3585
3585
  }
3586
3586
  }
3587
- }, Di = {
3587
+ }, ji = {
3588
3588
  fallbackLocale: null,
3589
3589
  loadingDelay: 200,
3590
- formats: Ui,
3590
+ formats: Fi,
3591
3591
  warnOnMissingMessages: !0,
3592
3592
  handleMissingMessage: void 0,
3593
3593
  ignoreTag: !0
3594
- }, Fi = Di;
3595
- function ee() {
3596
- return Fi;
3594
+ }, ki = ji;
3595
+ function te() {
3596
+ return ki;
3597
3597
  }
3598
- const je = Ce(!1);
3599
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
3598
+ const ke = Pe(!1);
3599
+ var Vi = Object.defineProperty, Xi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
3600
3600
  for (var r in t || (t = {}))
3601
- Xi.call(t, r) && Rt(e, r, t[r]);
3602
- if (Mt)
3603
- for (var r of Mt(t))
3604
- Wi.call(t, r) && Rt(e, r, t[r]);
3601
+ zi.call(t, r) && $t(e, r, t[r]);
3602
+ if (Rt)
3603
+ for (var r of Rt(t))
3604
+ Zi.call(t, r) && $t(e, r, t[r]);
3605
3605
  return e;
3606
- }, Zi = (e, t) => ki(e, Vi(t));
3607
- let et;
3608
- const we = Ce(null);
3609
- function $t(e) {
3606
+ }, Ji = (e, t) => Xi(e, Wi(t));
3607
+ let tt;
3608
+ const Te = Pe(null);
3609
+ function Gt(e) {
3610
3610
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3611
3611
  }
3612
- function Ae(e, t = ee().fallbackLocale) {
3613
- const r = $t(e);
3614
- return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
3612
+ function Oe(e, t = te().fallbackLocale) {
3613
+ const r = Gt(e);
3614
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
3615
3615
  }
3616
3616
  function X() {
3617
- return et != null ? et : void 0;
3617
+ return tt != null ? tt : void 0;
3618
3618
  }
3619
- we.subscribe((e) => {
3620
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3619
+ Te.subscribe((e) => {
3620
+ tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3621
3621
  });
3622
- const Qi = (e) => {
3623
- if (e && Mi(e) && Ke(e)) {
3624
- const { loadingDelay: t } = ee();
3622
+ const Yi = (e) => {
3623
+ if (e && $i(e) && et(e)) {
3624
+ const { loadingDelay: t } = te();
3625
3625
  let r;
3626
3626
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3627
- () => je.set(!0),
3627
+ () => ke.set(!0),
3628
3628
  t
3629
- ) : je.set(!0), Hr(e).then(() => {
3630
- we.set(e);
3629
+ ) : ke.set(!0), Cr(e).then(() => {
3630
+ Te.set(e);
3631
3631
  }).finally(() => {
3632
- clearTimeout(r), je.set(!1);
3632
+ clearTimeout(r), ke.set(!1);
3633
3633
  });
3634
3634
  }
3635
- return we.set(e);
3636
- }, ne = Zi(zi({}, we), {
3637
- set: Qi
3638
- }), Oe = (e) => {
3635
+ return Te.set(e);
3636
+ }, ie = Ji(Qi({}, Te), {
3637
+ set: Yi
3638
+ }), Le = (e) => {
3639
3639
  const t = /* @__PURE__ */ Object.create(null);
3640
3640
  return (n) => {
3641
3641
  const i = JSON.stringify(n);
3642
3642
  return i in t ? t[i] : t[i] = e(n);
3643
3643
  };
3644
3644
  };
3645
- var Ji = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3645
+ var qi = Object.defineProperty, He = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
3646
3646
  for (var r in t || (t = {}))
3647
- Cr.call(t, r) && Gt(e, r, t[r]);
3648
- if (Te)
3649
- for (var r of Te(t))
3650
- Pr.call(t, r) && Gt(e, r, t[r]);
3647
+ Pr.call(t, r) && Ut(e, r, t[r]);
3648
+ if (He)
3649
+ for (var r of He(t))
3650
+ Br.call(t, r) && Ut(e, r, t[r]);
3651
3651
  return e;
3652
- }, ie = (e, t) => {
3652
+ }, oe = (e, t) => {
3653
3653
  var r = {};
3654
3654
  for (var n in e)
3655
- Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3656
- if (e != null && Te)
3657
- for (var n of Te(e))
3658
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
3655
+ Pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3656
+ if (e != null && He)
3657
+ for (var n of He(e))
3658
+ t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
3659
3659
  return r;
3660
3660
  };
3661
- const le = (e, t) => {
3662
- const { formats: r } = ee();
3661
+ const he = (e, t) => {
3662
+ const { formats: r } = te();
3663
3663
  if (e in r && t in r[e])
3664
3664
  return r[e][t];
3665
3665
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3666
- }, qi = Oe(
3666
+ }, Ki = Le(
3667
3667
  (e) => {
3668
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3668
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3669
3669
  if (r == null)
3670
3670
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3671
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
3671
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3672
3672
  }
3673
- ), Yi = Oe(
3673
+ ), eo = Le(
3674
3674
  (e) => {
3675
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3675
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3676
3676
  if (r == null)
3677
3677
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3678
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
3678
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3679
3679
  }
3680
- ), Ki = Oe(
3680
+ ), to = Le(
3681
3681
  (e) => {
3682
- var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3682
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3683
3683
  if (r == null)
3684
3684
  throw new Error(
3685
3685
  '[svelte-i18n] A "locale" must be set to format time values'
3686
3686
  );
3687
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
3687
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3688
3688
  }
3689
- ), eo = (e = {}) => {
3689
+ ), ro = (e = {}) => {
3690
3690
  var t = e, {
3691
3691
  locale: r = X()
3692
- } = t, n = ie(t, [
3692
+ } = t, n = oe(t, [
3693
3693
  "locale"
3694
3694
  ]);
3695
- return qi(ht({ locale: r }, n));
3696
- }, to = (e = {}) => {
3695
+ return Ki(ct({ locale: r }, n));
3696
+ }, no = (e = {}) => {
3697
3697
  var t = e, {
3698
3698
  locale: r = X()
3699
- } = t, n = ie(t, [
3699
+ } = t, n = oe(t, [
3700
3700
  "locale"
3701
3701
  ]);
3702
- return Yi(ht({ locale: r }, n));
3703
- }, ro = (e = {}) => {
3702
+ return eo(ct({ locale: r }, n));
3703
+ }, io = (e = {}) => {
3704
3704
  var t = e, {
3705
3705
  locale: r = X()
3706
- } = t, n = ie(t, [
3706
+ } = t, n = oe(t, [
3707
3707
  "locale"
3708
3708
  ]);
3709
- return Ki(ht({ locale: r }, n));
3710
- }, no = Oe(
3709
+ return to(ct({ locale: r }, n));
3710
+ }, oo = Le(
3711
3711
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3712
- (e, t = X()) => new Ai(e, t, ee().formats, {
3713
- ignoreTag: ee().ignoreTag
3712
+ (e, t = X()) => new Li(e, t, te().formats, {
3713
+ ignoreTag: te().ignoreTag
3714
3714
  })
3715
- ), io = (e, t = {}) => {
3715
+ ), so = (e, t = {}) => {
3716
3716
  var r, n, i, o;
3717
3717
  let s = t;
3718
3718
  typeof e == "object" && (s = e, e = s.id);
@@ -3725,9 +3725,9 @@ const le = (e, t) => {
3725
3725
  throw new Error(
3726
3726
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3727
3727
  );
3728
- let u = xr(e, h);
3728
+ let u = Sr(e, h);
3729
3729
  if (!u)
3730
- u = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3730
+ u = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3731
3731
  else if (typeof u != "string")
3732
3732
  return console.warn(
3733
3733
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3736,7 +3736,7 @@ const le = (e, t) => {
3736
3736
  return u;
3737
3737
  let f = u;
3738
3738
  try {
3739
- f = no(u, h).format(a);
3739
+ f = oo(u, h).format(a);
3740
3740
  } catch (c) {
3741
3741
  c instanceof Error && console.warn(
3742
3742
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3744,18 +3744,18 @@ const le = (e, t) => {
3744
3744
  );
3745
3745
  }
3746
3746
  return f;
3747
- }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = X()) => xr(e, t), lo = re([ne, he], () => io);
3748
- re([ne], () => oo);
3749
- re([ne], () => so);
3750
- re([ne], () => ao);
3751
- re([ne, he], () => uo);
3752
- function Ut(e, t) {
3753
- wr(e, t);
3754
- }
3755
- function ho(e) {
3756
- ne.set(e);
3757
- }
3758
- const Dt = {
3747
+ }, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = X()) => Sr(e, t), co = ne([ie, ce], () => so);
3748
+ ne([ie], () => ao);
3749
+ ne([ie], () => uo);
3750
+ ne([ie], () => lo);
3751
+ ne([ie, ce], () => ho);
3752
+ function Dt(e, t) {
3753
+ Tr(e, t);
3754
+ }
3755
+ function fo(e) {
3756
+ ie.set(e);
3757
+ }
3758
+ const Ft = {
3759
3759
  en: {
3760
3760
  collections: "Game Collections",
3761
3761
  providers: "Game Providers",
@@ -3866,24 +3866,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3866
3866
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3867
3867
  PERFORMANCE OF THIS SOFTWARE.
3868
3868
  ***************************************************************************** */
3869
- var tt = function(e, t) {
3870
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3869
+ var rt = function(e, t) {
3870
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3871
3871
  r.__proto__ = n;
3872
3872
  } || function(r, n) {
3873
3873
  for (var i in n)
3874
3874
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3875
- }, tt(e, t);
3875
+ }, rt(e, t);
3876
3876
  };
3877
- function ce(e, t) {
3877
+ function fe(e, t) {
3878
3878
  if (typeof t != "function" && t !== null)
3879
3879
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3880
- tt(e, t);
3880
+ rt(e, t);
3881
3881
  function r() {
3882
3882
  this.constructor = e;
3883
3883
  }
3884
3884
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3885
3885
  }
3886
- function rt(e) {
3886
+ function nt(e) {
3887
3887
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3888
3888
  if (r)
3889
3889
  return r.call(e);
@@ -3895,7 +3895,7 @@ function rt(e) {
3895
3895
  };
3896
3896
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3897
3897
  }
3898
- function nt(e, t) {
3898
+ function it(e, t) {
3899
3899
  var r = typeof Symbol == "function" && e[Symbol.iterator];
3900
3900
  if (!r)
3901
3901
  return e;
@@ -3915,7 +3915,7 @@ function nt(e, t) {
3915
3915
  }
3916
3916
  return o;
3917
3917
  }
3918
- function it(e, t, r) {
3918
+ function ot(e, t, r) {
3919
3919
  if (arguments.length === 2)
3920
3920
  for (var n = 0, i = t.length, o; n < i; n++)
3921
3921
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -3924,13 +3924,13 @@ function it(e, t, r) {
3924
3924
  function F(e) {
3925
3925
  return typeof e == "function";
3926
3926
  }
3927
- function Br(e) {
3927
+ function Ar(e) {
3928
3928
  var t = function(n) {
3929
3929
  Error.call(n), n.stack = new Error().stack;
3930
3930
  }, r = e(t);
3931
3931
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3932
3932
  }
3933
- var ke = Br(function(e) {
3933
+ var Ve = Ar(function(e) {
3934
3934
  return function(r) {
3935
3935
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3936
3936
  ` + r.map(function(n, i) {
@@ -3939,13 +3939,13 @@ var ke = Br(function(e) {
3939
3939
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3940
3940
  };
3941
3941
  });
3942
- function ot(e, t) {
3942
+ function st(e, t) {
3943
3943
  if (e) {
3944
3944
  var r = e.indexOf(t);
3945
3945
  0 <= r && e.splice(r, 1);
3946
3946
  }
3947
3947
  }
3948
- var Le = function() {
3948
+ var Ie = function() {
3949
3949
  function e(t) {
3950
3950
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3951
3951
  }
@@ -3957,7 +3957,7 @@ var Le = function() {
3957
3957
  if (s)
3958
3958
  if (this._parentage = null, Array.isArray(s))
3959
3959
  try {
3960
- for (var a = rt(s), h = a.next(); !h.done; h = a.next()) {
3960
+ for (var a = nt(s), h = a.next(); !h.done; h = a.next()) {
3961
3961
  var l = h.value;
3962
3962
  l.remove(this);
3963
3963
  }
@@ -3978,18 +3978,18 @@ var Le = function() {
3978
3978
  try {
3979
3979
  u();
3980
3980
  } catch (b) {
3981
- o = b instanceof ke ? b.errors : [b];
3981
+ o = b instanceof Ve ? b.errors : [b];
3982
3982
  }
3983
3983
  var f = this._finalizers;
3984
3984
  if (f) {
3985
3985
  this._finalizers = null;
3986
3986
  try {
3987
- for (var c = rt(f), d = c.next(); !d.done; d = c.next()) {
3987
+ for (var c = nt(f), d = c.next(); !d.done; d = c.next()) {
3988
3988
  var m = d.value;
3989
3989
  try {
3990
- Ft(m);
3990
+ jt(m);
3991
3991
  } catch (b) {
3992
- o = o != null ? o : [], b instanceof ke ? o = it(it([], nt(o)), nt(b.errors)) : o.push(b);
3992
+ o = o != null ? o : [], b instanceof Ve ? o = ot(ot([], it(o)), it(b.errors)) : o.push(b);
3993
3993
  }
3994
3994
  }
3995
3995
  } catch (b) {
@@ -4004,13 +4004,13 @@ var Le = function() {
4004
4004
  }
4005
4005
  }
4006
4006
  if (o)
4007
- throw new ke(o);
4007
+ throw new Ve(o);
4008
4008
  }
4009
4009
  }, e.prototype.add = function(t) {
4010
4010
  var r;
4011
4011
  if (t && t !== this)
4012
4012
  if (this.closed)
4013
- Ft(t);
4013
+ jt(t);
4014
4014
  else {
4015
4015
  if (t instanceof e) {
4016
4016
  if (t.closed || t._hasParent(this))
@@ -4027,52 +4027,52 @@ var Le = function() {
4027
4027
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4028
4028
  }, e.prototype._removeParent = function(t) {
4029
4029
  var r = this._parentage;
4030
- r === t ? this._parentage = null : Array.isArray(r) && ot(r, t);
4030
+ r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
4031
4031
  }, e.prototype.remove = function(t) {
4032
4032
  var r = this._finalizers;
4033
- r && ot(r, t), t instanceof e && t._removeParent(this);
4033
+ r && st(r, t), t instanceof e && t._removeParent(this);
4034
4034
  }, e.EMPTY = function() {
4035
4035
  var t = new e();
4036
4036
  return t.closed = !0, t;
4037
4037
  }(), e;
4038
- }(), Ar = Le.EMPTY;
4039
- function Or(e) {
4040
- return e instanceof Le || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
4038
+ }(), Or = Ie.EMPTY;
4039
+ function Lr(e) {
4040
+ return e instanceof Ie || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
4041
4041
  }
4042
- function Ft(e) {
4042
+ function jt(e) {
4043
4043
  F(e) ? e() : e.unsubscribe();
4044
4044
  }
4045
- var co = {
4045
+ var po = {
4046
4046
  Promise: void 0
4047
- }, fo = {
4047
+ }, mo = {
4048
4048
  setTimeout: function(e, t) {
4049
4049
  for (var r = [], n = 2; n < arguments.length; n++)
4050
4050
  r[n - 2] = arguments[n];
4051
- return setTimeout.apply(void 0, it([e, t], nt(r)));
4051
+ return setTimeout.apply(void 0, ot([e, t], it(r)));
4052
4052
  },
4053
4053
  clearTimeout: function(e) {
4054
4054
  return clearTimeout(e);
4055
4055
  },
4056
4056
  delegate: void 0
4057
4057
  };
4058
- function po(e) {
4059
- fo.setTimeout(function() {
4058
+ function bo(e) {
4059
+ mo.setTimeout(function() {
4060
4060
  throw e;
4061
4061
  });
4062
4062
  }
4063
- function jt() {
4063
+ function kt() {
4064
4064
  }
4065
- function ve(e) {
4065
+ function ye(e) {
4066
4066
  e();
4067
4067
  }
4068
- var Lr = function(e) {
4069
- ce(t, e);
4068
+ var Ir = function(e) {
4069
+ fe(t, e);
4070
4070
  function t(r) {
4071
4071
  var n = e.call(this) || this;
4072
- return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = go, n;
4072
+ return n.isStopped = !1, r ? (n.destination = r, Lr(r) && r.add(n)) : n.destination = yo, n;
4073
4073
  }
4074
4074
  return t.create = function(r, n, i) {
4075
- return new st(r, n, i);
4075
+ return new at(r, n, i);
4076
4076
  }, t.prototype.next = function(r) {
4077
4077
  this.isStopped || this._next(r);
4078
4078
  }, t.prototype.error = function(r) {
@@ -4096,7 +4096,7 @@ var Lr = function(e) {
4096
4096
  this.unsubscribe();
4097
4097
  }
4098
4098
  }, t;
4099
- }(Le), mo = function() {
4099
+ }(Ie), go = function() {
4100
4100
  function e(t) {
4101
4101
  this.partialObserver = t;
4102
4102
  }
@@ -4106,7 +4106,7 @@ var Lr = function(e) {
4106
4106
  try {
4107
4107
  r.next(t);
4108
4108
  } catch (n) {
4109
- pe(n);
4109
+ me(n);
4110
4110
  }
4111
4111
  }, e.prototype.error = function(t) {
4112
4112
  var r = this.partialObserver;
@@ -4114,56 +4114,56 @@ var Lr = function(e) {
4114
4114
  try {
4115
4115
  r.error(t);
4116
4116
  } catch (n) {
4117
- pe(n);
4117
+ me(n);
4118
4118
  }
4119
4119
  else
4120
- pe(t);
4120
+ me(t);
4121
4121
  }, e.prototype.complete = function() {
4122
4122
  var t = this.partialObserver;
4123
4123
  if (t.complete)
4124
4124
  try {
4125
4125
  t.complete();
4126
4126
  } catch (r) {
4127
- pe(r);
4127
+ me(r);
4128
4128
  }
4129
4129
  }, e;
4130
- }(), st = function(e) {
4131
- ce(t, e);
4130
+ }(), at = function(e) {
4131
+ fe(t, e);
4132
4132
  function t(r, n, i) {
4133
4133
  var o = e.call(this) || this, s;
4134
4134
  return F(r) || !r ? s = {
4135
4135
  next: r != null ? r : void 0,
4136
4136
  error: n != null ? n : void 0,
4137
4137
  complete: i != null ? i : void 0
4138
- } : s = r, o.destination = new mo(s), o;
4138
+ } : s = r, o.destination = new go(s), o;
4139
4139
  }
4140
4140
  return t;
4141
- }(Lr);
4142
- function pe(e) {
4143
- po(e);
4141
+ }(Ir);
4142
+ function me(e) {
4143
+ bo(e);
4144
4144
  }
4145
- function bo(e) {
4145
+ function vo(e) {
4146
4146
  throw e;
4147
4147
  }
4148
- var go = {
4148
+ var yo = {
4149
4149
  closed: !0,
4150
- next: jt,
4151
- error: bo,
4152
- complete: jt
4153
- }, vo = function() {
4150
+ next: kt,
4151
+ error: vo,
4152
+ complete: kt
4153
+ }, _o = function() {
4154
4154
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4155
4155
  }();
4156
- function yo(e) {
4156
+ function Eo(e) {
4157
4157
  return e;
4158
4158
  }
4159
- function _o(e) {
4160
- return e.length === 0 ? yo : e.length === 1 ? e[0] : function(r) {
4159
+ function xo(e) {
4160
+ return e.length === 0 ? Eo : e.length === 1 ? e[0] : function(r) {
4161
4161
  return e.reduce(function(n, i) {
4162
4162
  return i(n);
4163
4163
  }, r);
4164
4164
  };
4165
4165
  }
4166
- var kt = function() {
4166
+ var Vt = function() {
4167
4167
  function e(t) {
4168
4168
  t && (this._subscribe = t);
4169
4169
  }
@@ -4171,8 +4171,8 @@ var kt = function() {
4171
4171
  var r = new e();
4172
4172
  return r.source = this, r.operator = t, r;
4173
4173
  }, e.prototype.subscribe = function(t, r, n) {
4174
- var i = this, o = xo(t) ? t : new st(t, r, n);
4175
- return ve(function() {
4174
+ var i = this, o = wo(t) ? t : new at(t, r, n);
4175
+ return ye(function() {
4176
4176
  var s = i, a = s.operator, h = s.source;
4177
4177
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
4178
4178
  }), o;
@@ -4184,8 +4184,8 @@ var kt = function() {
4184
4184
  }
4185
4185
  }, e.prototype.forEach = function(t, r) {
4186
4186
  var n = this;
4187
- return r = Vt(r), new r(function(i, o) {
4188
- var s = new st({
4187
+ return r = Xt(r), new r(function(i, o) {
4188
+ var s = new at({
4189
4189
  next: function(a) {
4190
4190
  try {
4191
4191
  t(a);
@@ -4201,15 +4201,15 @@ var kt = function() {
4201
4201
  }, e.prototype._subscribe = function(t) {
4202
4202
  var r;
4203
4203
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4204
- }, e.prototype[vo] = function() {
4204
+ }, e.prototype[_o] = function() {
4205
4205
  return this;
4206
4206
  }, e.prototype.pipe = function() {
4207
4207
  for (var t = [], r = 0; r < arguments.length; r++)
4208
4208
  t[r] = arguments[r];
4209
- return _o(t)(this);
4209
+ return xo(t)(this);
4210
4210
  }, e.prototype.toPromise = function(t) {
4211
4211
  var r = this;
4212
- return t = Vt(t), new t(function(n, i) {
4212
+ return t = Xt(t), new t(function(n, i) {
4213
4213
  var o;
4214
4214
  r.subscribe(function(s) {
4215
4215
  return o = s;
@@ -4223,40 +4223,40 @@ var kt = function() {
4223
4223
  return new e(t);
4224
4224
  }, e;
4225
4225
  }();
4226
- function Vt(e) {
4226
+ function Xt(e) {
4227
4227
  var t;
4228
- return (t = e != null ? e : co.Promise) !== null && t !== void 0 ? t : Promise;
4228
+ return (t = e != null ? e : po.Promise) !== null && t !== void 0 ? t : Promise;
4229
4229
  }
4230
- function Eo(e) {
4230
+ function So(e) {
4231
4231
  return e && F(e.next) && F(e.error) && F(e.complete);
4232
4232
  }
4233
- function xo(e) {
4234
- return e && e instanceof Lr || Eo(e) && Or(e);
4233
+ function wo(e) {
4234
+ return e && e instanceof Ir || So(e) && Lr(e);
4235
4235
  }
4236
- var So = Br(function(e) {
4236
+ var To = Ar(function(e) {
4237
4237
  return function() {
4238
4238
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4239
4239
  };
4240
- }), Ir = function(e) {
4241
- ce(t, e);
4240
+ }), Nr = function(e) {
4241
+ fe(t, e);
4242
4242
  function t() {
4243
4243
  var r = e.call(this) || this;
4244
4244
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4245
4245
  }
4246
4246
  return t.prototype.lift = function(r) {
4247
- var n = new Xt(this, this);
4247
+ var n = new Wt(this, this);
4248
4248
  return n.operator = r, n;
4249
4249
  }, t.prototype._throwIfClosed = function() {
4250
4250
  if (this.closed)
4251
- throw new So();
4251
+ throw new To();
4252
4252
  }, t.prototype.next = function(r) {
4253
4253
  var n = this;
4254
- ve(function() {
4254
+ ye(function() {
4255
4255
  var i, o;
4256
4256
  if (n._throwIfClosed(), !n.isStopped) {
4257
4257
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4258
4258
  try {
4259
- for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4259
+ for (var s = nt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4260
4260
  var h = a.value;
4261
4261
  h.next(r);
4262
4262
  }
@@ -4274,7 +4274,7 @@ var So = Br(function(e) {
4274
4274
  });
4275
4275
  }, t.prototype.error = function(r) {
4276
4276
  var n = this;
4277
- ve(function() {
4277
+ ye(function() {
4278
4278
  if (n._throwIfClosed(), !n.isStopped) {
4279
4279
  n.hasError = n.isStopped = !0, n.thrownError = r;
4280
4280
  for (var i = n.observers; i.length; )
@@ -4283,7 +4283,7 @@ var So = Br(function(e) {
4283
4283
  });
4284
4284
  }, t.prototype.complete = function() {
4285
4285
  var r = this;
4286
- ve(function() {
4286
+ ye(function() {
4287
4287
  if (r._throwIfClosed(), !r.isStopped) {
4288
4288
  r.isStopped = !0;
4289
4289
  for (var n = r.observers; n.length; )
@@ -4305,20 +4305,20 @@ var So = Br(function(e) {
4305
4305
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4306
4306
  }, t.prototype._innerSubscribe = function(r) {
4307
4307
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4308
- return o || s ? Ar : (this.currentObservers = null, a.push(r), new Le(function() {
4309
- n.currentObservers = null, ot(a, r);
4308
+ return o || s ? Or : (this.currentObservers = null, a.push(r), new Ie(function() {
4309
+ n.currentObservers = null, st(a, r);
4310
4310
  }));
4311
4311
  }, t.prototype._checkFinalizedStatuses = function(r) {
4312
4312
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4313
4313
  i ? r.error(o) : s && r.complete();
4314
4314
  }, t.prototype.asObservable = function() {
4315
- var r = new kt();
4315
+ var r = new Vt();
4316
4316
  return r.source = this, r;
4317
4317
  }, t.create = function(r, n) {
4318
- return new Xt(r, n);
4318
+ return new Wt(r, n);
4319
4319
  }, t;
4320
- }(kt), Xt = function(e) {
4321
- ce(t, e);
4320
+ }(Vt), Wt = function(e) {
4321
+ fe(t, e);
4322
4322
  function t(r, n) {
4323
4323
  var i = e.call(this) || this;
4324
4324
  return i.destination = r, i.source = n, i;
@@ -4334,17 +4334,17 @@ var So = Br(function(e) {
4334
4334
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4335
4335
  }, t.prototype._subscribe = function(r) {
4336
4336
  var n, i;
4337
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
4337
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Or;
4338
4338
  }, t;
4339
- }(Ir), Nr = {
4339
+ }(Nr), Mr = {
4340
4340
  now: function() {
4341
- return (Nr.delegate || Date).now();
4341
+ return (Mr.delegate || Date).now();
4342
4342
  },
4343
4343
  delegate: void 0
4344
- }, wo = function(e) {
4345
- ce(t, e);
4344
+ }, Ho = function(e) {
4345
+ fe(t, e);
4346
4346
  function t(r, n, i) {
4347
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
4347
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mr);
4348
4348
  var o = e.call(this) || this;
4349
4349
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4350
4350
  }
@@ -4364,24 +4364,25 @@ var So = Br(function(e) {
4364
4364
  l && o.splice(0, l + 1);
4365
4365
  }
4366
4366
  }, t;
4367
- }(Ir);
4368
- const Wt = [], zt = {}, To = (e, t = 0) => {
4369
- if (Wt.indexOf(e) == -1) {
4370
- const r = new wo(t);
4371
- zt[e] = r, Wt.push(e);
4367
+ }(Nr);
4368
+ const zt = [], Zt = {}, Co = (e, t = 0) => {
4369
+ if (zt.indexOf(e) == -1) {
4370
+ const r = new Ho(t);
4371
+ Zt[e] = r, zt.push(e);
4372
4372
  }
4373
- return zt[e];
4373
+ return Zt[e];
4374
4374
  };
4375
- window.emWidgets = { topic: To };
4376
- const Ho = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4375
+ window.emWidgets = { topic: Co };
4376
+ const Po = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4377
4377
  String(Number.MAX_SAFE_INTEGER).length;
4378
- function Co(e, t) {
4378
+ const J = "__WIDGET_GLOBAL_STYLE_CACHE__";
4379
+ function Bo(e, t) {
4379
4380
  if (e) {
4380
4381
  const r = document.createElement("style");
4381
4382
  r.innerHTML = t, e.appendChild(r);
4382
4383
  }
4383
4384
  }
4384
- function Po(e, t) {
4385
+ function Ao(e, t) {
4385
4386
  if (!e || !t)
4386
4387
  return;
4387
4388
  const r = new URL(t);
@@ -4392,26 +4393,54 @@ function Po(e, t) {
4392
4393
  console.error("There was an error while trying to load client styling from URL", n);
4393
4394
  });
4394
4395
  }
4395
- function Bo(e, t, r) {
4396
- if (window.emMessageBus) {
4397
- const n = document.createElement("style");
4398
- window.emMessageBus.subscribe(t, (i) => {
4399
- n.innerHTML = i, e && e.appendChild(n);
4396
+ function Oo(e, t, r, n = !1) {
4397
+ if (!window.emMessageBus)
4398
+ return;
4399
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4400
+ return r = Lo(e, t), r;
4401
+ window[J] || (window[J] = {}), r = Io(e, t);
4402
+ const o = r.unsubscribe.bind(r), s = () => {
4403
+ if (window[J][t]) {
4404
+ const a = window[J][t];
4405
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[J][t];
4406
+ }
4407
+ o();
4408
+ };
4409
+ return r.unsubscribe = s, r;
4410
+ }
4411
+ function Lo(e, t) {
4412
+ const r = document.createElement("style");
4413
+ return window.emMessageBus.subscribe(t, (n) => {
4414
+ e && (r.innerHTML = n, e.appendChild(r));
4415
+ });
4416
+ }
4417
+ function Io(e, t) {
4418
+ return window.emMessageBus.subscribe(t, (r) => {
4419
+ var a;
4420
+ if (!e)
4421
+ return;
4422
+ const n = e.getRootNode(), i = window[J];
4423
+ let o = (a = i[t]) == null ? void 0 : a.sheet;
4424
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4425
+ sheet: o,
4426
+ refCount: 1
4400
4427
  });
4401
- }
4428
+ const s = n.adoptedStyleSheets || [];
4429
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4430
+ });
4402
4431
  }
4403
- function Ao(e) {
4404
- en(e, "svelte-nnjza6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4432
+ function No(e) {
4433
+ rn(e, "svelte-nnjza6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4405
4434
  }
4406
- function Zt(e, t, r) {
4435
+ function Qt(e, t, r) {
4407
4436
  const n = e.slice();
4408
4437
  return n[41] = t[r], n;
4409
4438
  }
4410
- function Qt(e, t, r) {
4439
+ function Jt(e, t, r) {
4411
4440
  const n = e.slice();
4412
4441
  return n[44] = t[r], n;
4413
4442
  }
4414
- function Oo(e) {
4443
+ function Mo(e) {
4415
4444
  let t, r, n, i = (
4416
4445
  /*type*/
4417
4446
  (e[0] === "vendor" ? (
@@ -4424,16 +4453,16 @@ function Oo(e) {
4424
4453
  ), o, s, a, h, l, u = (
4425
4454
  /*numberOfSlides*/
4426
4455
  e[7] > /*numberOfVisibleSlides*/
4427
- e[8] && Jt(e)
4428
- ), f = xe(
4456
+ e[8] && Yt(e)
4457
+ ), f = Se(
4429
4458
  /*gameCategories*/
4430
4459
  e[3]
4431
4460
  ), c = [];
4432
4461
  for (let d = 0; d < f.length; d += 1)
4433
- c[d] = Kt(Zt(e, f, d));
4462
+ c[d] = er(Qt(e, f, d));
4434
4463
  return {
4435
4464
  c() {
4436
- t = P("div"), r = P("div"), n = P("p"), o = He(i), s = V(), u && u.c(), a = V(), h = P("div");
4465
+ t = P("div"), r = P("div"), n = P("p"), o = Ce(i), s = V(), u && u.c(), a = V(), h = P("div");
4437
4466
  for (let d = 0; d < c.length; d += 1)
4438
4467
  c[d].c();
4439
4468
  E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(h, "class", "CategoriesSlider"), E(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
@@ -4455,18 +4484,18 @@ function Oo(e) {
4455
4484
  ) : (
4456
4485
  /*$_*/
4457
4486
  d[10]("collections")
4458
- )) + "") && ut(o, i), /*numberOfSlides*/
4487
+ )) + "") && lt(o, i), /*numberOfSlides*/
4459
4488
  d[7] > /*numberOfVisibleSlides*/
4460
- d[8] ? u ? u.p(d, m) : (u = Jt(d), u.c(), u.m(r, null)) : u && (u.d(1), u = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4489
+ d[8] ? u ? u.p(d, m) : (u = Yt(d), u.c(), u.m(r, null)) : u && (u.d(1), u = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4461
4490
  24590) {
4462
- f = xe(
4491
+ f = Se(
4463
4492
  /*gameCategories*/
4464
4493
  d[3]
4465
4494
  );
4466
4495
  let b;
4467
4496
  for (b = 0; b < f.length; b += 1) {
4468
- const g = Zt(d, f, b);
4469
- c[b] ? c[b].p(g, m) : (c[b] = Kt(g), c[b].c(), c[b].m(h, null));
4497
+ const g = Qt(d, f, b);
4498
+ c[b] ? c[b].p(g, m) : (c[b] = er(g), c[b].c(), c[b].m(h, null));
4470
4499
  }
4471
4500
  for (; b < c.length; b += 1)
4472
4501
  c[b].d(1);
@@ -4478,11 +4507,11 @@ function Oo(e) {
4478
4507
  (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", l);
4479
4508
  },
4480
4509
  d(d) {
4481
- d && R(t), u && u.d(), nr(c, d), e[25](null);
4510
+ d && R(t), u && u.d(), ir(c, d), e[25](null);
4482
4511
  }
4483
4512
  };
4484
4513
  }
4485
- function Lo(e) {
4514
+ function Ro(e) {
4486
4515
  let t;
4487
4516
  return {
4488
4517
  c() {
@@ -4497,7 +4526,7 @@ function Lo(e) {
4497
4526
  }
4498
4527
  };
4499
4528
  }
4500
- function Jt(e) {
4529
+ function Yt(e) {
4501
4530
  let t, r, n, i, o, s;
4502
4531
  return {
4503
4532
  c() {
@@ -4505,13 +4534,13 @@ function Jt(e) {
4505
4534
  },
4506
4535
  m(a, h) {
4507
4536
  U(a, t, h), C(t, r), C(t, n), C(t, i), o || (s = [
4508
- _e(
4537
+ Ee(
4509
4538
  r,
4510
4539
  "click",
4511
4540
  /*sliderScrollLeft*/
4512
4541
  e[11]
4513
4542
  ),
4514
- _e(
4543
+ Ee(
4515
4544
  i,
4516
4545
  "click",
4517
4546
  /*sliderScrollRight*/
@@ -4521,18 +4550,18 @@ function Jt(e) {
4521
4550
  },
4522
4551
  p: I,
4523
4552
  d(a) {
4524
- a && R(t), o = !1, te(s);
4553
+ a && R(t), o = !1, re(s);
4525
4554
  }
4526
4555
  };
4527
4556
  }
4528
- function Io(e) {
4557
+ function $o(e) {
4529
4558
  let t, r = (
4530
4559
  /*category*/
4531
4560
  e[41].name + ""
4532
4561
  ), n;
4533
4562
  return {
4534
4563
  c() {
4535
- t = P("p"), n = He(r), E(t, "class", "CategorySlideTitle");
4564
+ t = P("p"), n = Ce(r), E(t, "class", "CategorySlideTitle");
4536
4565
  },
4537
4566
  m(i, o) {
4538
4567
  U(i, t, o), C(t, n);
@@ -4540,18 +4569,18 @@ function Io(e) {
4540
4569
  p(i, o) {
4541
4570
  o[0] & /*gameCategories*/
4542
4571
  8 && r !== (r = /*category*/
4543
- i[41].name + "") && ut(n, r);
4572
+ i[41].name + "") && lt(n, r);
4544
4573
  },
4545
4574
  d(i) {
4546
4575
  i && R(t);
4547
4576
  }
4548
4577
  };
4549
4578
  }
4550
- function No(e) {
4579
+ function Go(e) {
4551
4580
  let t, r, n;
4552
4581
  return {
4553
4582
  c() {
4554
- t = P("img"), E(t, "class", "CategorySlideLogo"), ye(t.src, r = /*category*/
4583
+ t = P("img"), E(t, "class", "CategorySlideLogo"), _e(t.src, r = /*category*/
4555
4584
  e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4556
4585
  e[41].name + " icon");
4557
4586
  },
@@ -4560,7 +4589,7 @@ function No(e) {
4560
4589
  },
4561
4590
  p(i, o) {
4562
4591
  o[0] & /*gameCategories*/
4563
- 8 && !ye(t.src, r = /*category*/
4592
+ 8 && !_e(t.src, r = /*category*/
4564
4593
  i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4565
4594
  8 && n !== (n = /*category*/
4566
4595
  i[41].name + " icon") && E(t, "alt", n);
@@ -4577,7 +4606,7 @@ function qt(e) {
4577
4606
  ), n, i;
4578
4607
  return {
4579
4608
  c() {
4580
- t = P("p"), n = He(r), E(t, "title", i = /*game*/
4609
+ t = P("p"), n = Ce(r), E(t, "title", i = /*game*/
4581
4610
  e[44].name);
4582
4611
  },
4583
4612
  m(o, s) {
@@ -4586,7 +4615,7 @@ function qt(e) {
4586
4615
  p(o, s) {
4587
4616
  s[0] & /*gameCategories*/
4588
4617
  8 && r !== (r = /*game*/
4589
- o[44].name + "") && ut(n, r), s[0] & /*gameCategories*/
4618
+ o[44].name + "") && lt(n, r), s[0] & /*gameCategories*/
4590
4619
  8 && i !== (i = /*game*/
4591
4620
  o[44].name) && E(t, "title", i);
4592
4621
  },
@@ -4595,7 +4624,7 @@ function qt(e) {
4595
4624
  }
4596
4625
  };
4597
4626
  }
4598
- function Yt(e) {
4627
+ function Kt(e) {
4599
4628
  let t, r, n, i, o, s, a, h;
4600
4629
  function l() {
4601
4630
  return (
@@ -4612,16 +4641,16 @@ function Yt(e) {
4612
4641
  );
4613
4642
  return {
4614
4643
  c() {
4615
- t = P("div"), r = P("img"), o = V(), u && u.c(), s = V(), E(r, "class", "CategorySlideGameImage"), ye(r.src, n = /*game*/
4644
+ t = P("div"), r = P("img"), o = V(), u && u.c(), s = V(), E(r, "class", "CategorySlideGameImage"), _e(r.src, n = /*game*/
4616
4645
  e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4617
4646
  e[44].name), E(t, "class", "CategorySlideGames");
4618
4647
  },
4619
4648
  m(f, c) {
4620
- U(f, t, c), C(t, r), C(t, o), u && u.m(t, null), C(t, s), a || (h = _e(r, "click", nn(l)), a = !0);
4649
+ U(f, t, c), C(t, r), C(t, o), u && u.m(t, null), C(t, s), a || (h = Ee(r, "click", sn(l)), a = !0);
4621
4650
  },
4622
4651
  p(f, c) {
4623
4652
  e = f, c[0] & /*gameCategories*/
4624
- 8 && !ye(r.src, n = /*game*/
4653
+ 8 && !_e(r.src, n = /*game*/
4625
4654
  e[44].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
4626
4655
  8 && i !== (i = /*game*/
4627
4656
  e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
@@ -4632,26 +4661,26 @@ function Yt(e) {
4632
4661
  }
4633
4662
  };
4634
4663
  }
4635
- function Kt(e) {
4664
+ function er(e) {
4636
4665
  let t, r, n, i, o, s, a, h, l;
4637
4666
  function u(g, _) {
4638
4667
  if (
4639
4668
  /*titletype*/
4640
4669
  g[1] === "logo"
4641
4670
  )
4642
- return No;
4671
+ return Go;
4643
4672
  if (
4644
4673
  /*titletype*/
4645
4674
  g[1] === "title"
4646
4675
  )
4647
- return Io;
4676
+ return $o;
4648
4677
  }
4649
- let f = u(e), c = f && f(e), d = xe(
4678
+ let f = u(e), c = f && f(e), d = Se(
4650
4679
  /*category*/
4651
4680
  e[41].games
4652
4681
  ), m = [];
4653
4682
  for (let g = 0; g < d.length; g += 1)
4654
- m[g] = Yt(Qt(e, d, g));
4683
+ m[g] = Kt(Jt(e, d, g));
4655
4684
  function b() {
4656
4685
  return (
4657
4686
  /*click_handler_1*/
@@ -4668,27 +4697,27 @@ function Kt(e) {
4668
4697
  for (let x = 0; x < m.length; x += 1)
4669
4698
  m[x].c();
4670
4699
  a = V(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4671
- (((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Me(r, "background-image", "url(" + /*category*/
4672
- ((_ = e[41]) == null ? void 0 : _.background) + ")"), Me(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4700
+ (((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Re(r, "background-image", "url(" + /*category*/
4701
+ ((_ = e[41]) == null ? void 0 : _.background) + ")"), Re(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4673
4702
  },
4674
4703
  m(g, _) {
4675
4704
  U(g, t, _), C(t, r), C(r, n), c && c.m(n, null), C(r, i), C(r, o);
4676
4705
  for (let x = 0; x < m.length; x += 1)
4677
4706
  m[x] && m[x].m(o, null);
4678
- C(t, a), h || (l = _e(r, "click", b), h = !0);
4707
+ C(t, a), h || (l = Ee(r, "click", b), h = !0);
4679
4708
  },
4680
4709
  p(g, _) {
4681
4710
  var x, T;
4682
4711
  if (e = g, f === (f = u(e)) && c ? c.p(e, _) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), _[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4683
4712
  8204) {
4684
- d = xe(
4713
+ d = Se(
4685
4714
  /*category*/
4686
4715
  e[41].games
4687
4716
  );
4688
4717
  let H;
4689
4718
  for (H = 0; H < d.length; H += 1) {
4690
- const O = Qt(e, d, H);
4691
- m[H] ? m[H].p(O, _) : (m[H] = Yt(O), m[H].c(), m[H].m(o, null));
4719
+ const O = Jt(e, d, H);
4720
+ m[H] ? m[H].p(O, _) : (m[H] = Kt(O), m[H].c(), m[H].m(o, null));
4692
4721
  }
4693
4722
  for (; H < m.length; H += 1)
4694
4723
  m[H].d(1);
@@ -4697,20 +4726,20 @@ function Kt(e) {
4697
4726
  _[0] & /*gameCategories*/
4698
4727
  8 && s !== (s = "CategorySlide " + /*category*/
4699
4728
  (((x = e[41]) == null ? void 0 : x.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), _[0] & /*gameCategories*/
4700
- 8 && Me(r, "background-image", "url(" + /*category*/
4729
+ 8 && Re(r, "background-image", "url(" + /*category*/
4701
4730
  ((T = e[41]) == null ? void 0 : T.background) + ")");
4702
4731
  },
4703
4732
  d(g) {
4704
- g && R(t), c && c.d(), nr(m, g), h = !1, l();
4733
+ g && R(t), c && c.d(), ir(m, g), h = !1, l();
4705
4734
  }
4706
4735
  };
4707
4736
  }
4708
- function Mo(e) {
4737
+ function Uo(e) {
4709
4738
  let t;
4710
4739
  function r(o, s) {
4711
4740
  return (
4712
4741
  /*isLoading*/
4713
- o[6] ? Lo : Oo
4742
+ o[6] ? Ro : Mo
4714
4743
  );
4715
4744
  }
4716
4745
  let n = r(e), i = n(e);
@@ -4731,56 +4760,56 @@ function Mo(e) {
4731
4760
  }
4732
4761
  };
4733
4762
  }
4734
- function Ro(e, t, r) {
4763
+ function Do(e, t, r) {
4735
4764
  let n;
4736
- Kr(e, lo, (p) => r(10, n = p));
4737
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, _ = 0, x = 0, T = 0, H, O, k = 0, W = 50, Ie = !1, $, Mr = window.navigator.userAgent, ct;
4738
- const Rr = () => {
4765
+ tn(e, co, (p) => r(10, n = p));
4766
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, _ = 0, x = 0, T = 0, H, O, k = 0, W = 50, Ne = !1, $, Rr = window.navigator.userAgent, ft, $r;
4767
+ const Gr = () => {
4739
4768
  fetch(f).then((B) => B.json()).then((B) => {
4740
4769
  Object.keys(B).forEach((D) => {
4741
- Ut(D, B[D]);
4770
+ Dt(D, B[D]);
4742
4771
  });
4743
4772
  }).catch((B) => {
4744
4773
  console.log(B);
4745
4774
  });
4746
4775
  };
4747
- Object.keys(Dt).forEach((p) => {
4748
- Ut(p, Dt[p]);
4776
+ Object.keys(Ft).forEach((p) => {
4777
+ Dt(p, Ft[p]);
4749
4778
  });
4750
- const ft = () => {
4779
+ const dt = () => {
4751
4780
  const p = new URL(`${i}/v2/casino/groups/${o}`);
4752
4781
  p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${k},limit=${W}`), fetch(p.href).then((B) => B.json()).then((B) => {
4753
- r(6, b = !1), B.total > W && (k += 50, W += 50, r(22, Ie = !0));
4782
+ r(6, b = !1), B.total > W && (k += 50, W += 50, r(22, Ne = !0));
4754
4783
  let D = B.items.map((L) => {
4755
- var gt, vt, yt;
4784
+ var vt, yt, _t;
4756
4785
  return {
4757
4786
  id: L.id,
4758
4787
  name: L.name,
4759
- icon: L.icon ? L.icon : (yt = (vt = (gt = L.vendors) == null ? void 0 : gt.items[0]) == null ? void 0 : vt.subVendors[0]) == null ? void 0 : yt.logo,
4760
- games: L.games.items.slice(0, 4).map((Wr) => Wr),
4788
+ icon: L.icon ? L.icon : (_t = (yt = (vt = L.vendors) == null ? void 0 : vt.items[0]) == null ? void 0 : yt.subVendors[0]) == null ? void 0 : _t.logo,
4789
+ games: L.games.items.slice(0, 4).map((Zr) => Zr),
4761
4790
  background: L.background,
4762
4791
  flag: L.flags
4763
4792
  };
4764
4793
  });
4765
- r(3, m = [...m, ...D]), r(7, x = m.length), $r();
4794
+ r(3, m = [...m, ...D]), r(7, x = m.length), Ur();
4766
4795
  });
4767
- }, $r = () => {
4796
+ }, Ur = () => {
4768
4797
  const p = $.getRootNode().host;
4769
4798
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4770
- }, dt = (p) => {
4799
+ }, pt = (p) => {
4771
4800
  var B;
4772
4801
  O = [...g.children], O.forEach((D, L) => {
4773
4802
  D.style.transform = `translateX(${100 * (p ? L - p : L)}%)`;
4774
- }), H = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, Gr();
4775
- }, Gr = () => {
4776
- r(8, T = Math.floor(g.clientWidth / H));
4777
- }, pt = () => {
4778
- dt(_);
4779
- }, Ur = () => {
4780
- _ === 0 ? _ = x - T : _ - T < -1 ? _ = 0 : _--, pt();
4803
+ }), H = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, Dr();
4781
4804
  }, Dr = () => {
4782
- _ === x - T ? _ = 0 : x - T < _ + 1 ? _ = x - T : _++, pt();
4783
- }, mt = (p, B, D, L) => {
4805
+ r(8, T = Math.floor(g.clientWidth / H));
4806
+ }, mt = () => {
4807
+ pt(_);
4808
+ }, Fr = () => {
4809
+ _ === 0 ? _ = x - T : _ - T < -1 ? _ = 0 : _--, mt();
4810
+ }, jr = () => {
4811
+ _ === x - T ? _ = 0 : x - T < _ + 1 ? _ = x - T : _++, mt();
4812
+ }, bt = (p, B, D, L) => {
4784
4813
  window.postMessage(
4785
4814
  {
4786
4815
  type: "OpenCollectionsProvidersGame",
@@ -4794,7 +4823,7 @@ function Ro(e, t, r) {
4794
4823
  context: "CollectionsProviders",
4795
4824
  gameName: `${D}`
4796
4825
  });
4797
- }, bt = (p) => {
4826
+ }, gt = (p) => {
4798
4827
  window.postMessage(
4799
4828
  {
4800
4829
  type: "OpenCollectionsProvidersCategory",
@@ -4802,19 +4831,19 @@ function Ro(e, t, r) {
4802
4831
  },
4803
4832
  window.location.href
4804
4833
  );
4805
- }, Fr = () => {
4806
- ho(s);
4834
+ }, kr = () => {
4835
+ fo(s);
4807
4836
  };
4808
- un(() => (r(9, ct = Ho(Mr)), () => {
4837
+ hn(() => (r(9, ft = Po(Rr)), () => {
4809
4838
  }));
4810
- const jr = (p) => mt(p.gameId, p.launchUrl, p.name, p.subVendor), kr = (p) => bt(p.id);
4811
- function Vr(p) {
4812
- Ee[p ? "unshift" : "push"](() => {
4839
+ const Vr = (p) => bt(p.gameId, p.launchUrl, p.name, p.subVendor), Xr = (p) => gt(p.id);
4840
+ function Wr(p) {
4841
+ xe[p ? "unshift" : "push"](() => {
4813
4842
  g = p, r(4, g);
4814
4843
  });
4815
4844
  }
4816
- function Xr(p) {
4817
- Ee[p ? "unshift" : "push"](() => {
4845
+ function zr(p) {
4846
+ xe[p ? "unshift" : "push"](() => {
4818
4847
  $ = p, r(5, $);
4819
4848
  });
4820
4849
  }
@@ -4822,14 +4851,14 @@ function Ro(e, t, r) {
4822
4851
  "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, l = p.clientstyling), "clientstylingurl" in p && r(19, u = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4823
4852
  }, e.$$.update = () => {
4824
4853
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4825
- 229376 && i && o && s && ft(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4826
- 24 && m && g && dt(), e.$$.dirty[0] & /*lang*/
4827
- 131072 && s && Fr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4828
- 262176 && l && $ && Co($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4829
- 524320 && u && $ && Po($, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4830
- 2097184 && $ && Bo($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4831
- 1048576 && f && Rr(), e.$$.dirty[0] & /*paginationrequired*/
4832
- 4194304 && Ie && ft();
4854
+ 229376 && i && o && s && dt(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4855
+ 24 && m && g && pt(), e.$$.dirty[0] & /*lang*/
4856
+ 131072 && s && kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4857
+ 262176 && l && $ && Bo($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4858
+ 524320 && u && $ && Ao($, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4859
+ 2097184 && $ && Oo($, `${d}.Style`, $r), e.$$.dirty[0] & /*translationurl*/
4860
+ 1048576 && f && Gr(), e.$$.dirty[0] & /*paginationrequired*/
4861
+ 4194304 && Ne && dt();
4833
4862
  }, [
4834
4863
  a,
4835
4864
  h,
@@ -4840,12 +4869,12 @@ function Ro(e, t, r) {
4840
4869
  b,
4841
4870
  x,
4842
4871
  T,
4843
- ct,
4872
+ ft,
4844
4873
  n,
4845
- Ur,
4846
- Dr,
4847
- mt,
4874
+ Fr,
4875
+ jr,
4848
4876
  bt,
4877
+ gt,
4849
4878
  i,
4850
4879
  o,
4851
4880
  s,
@@ -4853,21 +4882,21 @@ function Ro(e, t, r) {
4853
4882
  u,
4854
4883
  f,
4855
4884
  d,
4856
- Ie,
4857
- jr,
4858
- kr,
4885
+ Ne,
4859
4886
  Vr,
4860
- Xr
4887
+ Xr,
4888
+ Wr,
4889
+ zr
4861
4890
  ];
4862
4891
  }
4863
- class $o extends _n {
4892
+ class Fo extends xn {
4864
4893
  constructor(t) {
4865
- super(), vn(
4894
+ super(), _n(
4866
4895
  this,
4867
4896
  t,
4868
- Ro,
4869
- Mo,
4870
- tr,
4897
+ Do,
4898
+ Uo,
4899
+ rr,
4871
4900
  {
4872
4901
  endpoint: 15,
4873
4902
  datasource: 16,
@@ -4880,7 +4909,7 @@ class $o extends _n {
4880
4909
  collectionprovidersgamenames: 2,
4881
4910
  mbsource: 21
4882
4911
  },
4883
- Ao,
4912
+ No,
4884
4913
  [-1, -1]
4885
4914
  );
4886
4915
  }
@@ -4945,7 +4974,7 @@ class $o extends _n {
4945
4974
  this.$$set({ mbsource: t }), M();
4946
4975
  }
4947
4976
  }
4948
- yn($o, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4977
+ En(Fo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4949
4978
  export {
4950
- $o as default
4979
+ Fo as default
4951
4980
  };