@everymatrix/casino-tournaments-controller 1.94.4 → 1.94.6

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.
Files changed (19) hide show
  1. package/components/{CasinoTournamentsController-B2QtW6Gb.js → CasinoTournamentsController-CNsVUnfN.js} +43 -43
  2. package/components/{CasinoTournamentsController-Cmk_sscD.js → CasinoTournamentsController-lJfLLRnq.js} +41 -41
  3. package/components/{CasinoTournamentsFilterController-D4G5Nvqd.js → CasinoTournamentsFilterController-1wIYqpNu.js} +28 -28
  4. package/components/{CasinoTournamentsFilterController-noCwPzUX.js → CasinoTournamentsFilterController-C1zYpGsR.js} +28 -28
  5. package/components/{CasinoTournamentsListController-Cnnw83ZW.js → CasinoTournamentsListController-DJD_bSY7.js} +2 -2
  6. package/components/{CasinoTournamentsListController-mRJE3n3d.js → CasinoTournamentsListController-Zz588CUs.js} +2 -2
  7. package/components/{CasinoTournamentsThumbnail-CnVglTq3.js → CasinoTournamentsThumbnail-CnDoX1-O.js} +1 -1
  8. package/components/{CasinoTournamentsThumbnail-CAhPDUeT.js → CasinoTournamentsThumbnail-D87z-Own.js} +17 -17
  9. package/components/{CasinoTournamentsThumbnailController-B2ham2Wm.js → CasinoTournamentsThumbnailController-CIuSxiRT.js} +45 -45
  10. package/components/{CasinoTournamentsThumbnailController-BStQU4lj.js → CasinoTournamentsThumbnailController-DVRmnfIu.js} +47 -47
  11. package/components/{CasinoTournamentsThumbnailDuration-s2cjZAtL.js → CasinoTournamentsThumbnailDuration-B2Y3C4cx.js} +21 -21
  12. package/components/{CasinoTournamentsThumbnailDuration-khP6Eyhg.js → CasinoTournamentsThumbnailDuration-DiJ5pIi_.js} +23 -23
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-xGXCOrtm.js → CasinoTournamentsThumbnailGamesSlider-CFPpuIBF.js} +52 -52
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-CBtsc19f.js → CasinoTournamentsThumbnailGamesSlider-COj5bcj7.js} +57 -57
  15. package/components/{CasinoTournamentsThumbnailPrizes-CbvllG0_.js → CasinoTournamentsThumbnailPrizes-B3wYNh9f.js} +20 -20
  16. package/components/{CasinoTournamentsThumbnailPrizes-CuSSpsU9.js → CasinoTournamentsThumbnailPrizes-CPgEr0rk.js} +21 -21
  17. package/es2015/casino-tournaments-controller.js +1 -1
  18. package/esnext/casino-tournaments-controller.js +1 -1
  19. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { a as be, S as ve, i as ke, s as Ne, f as T, b as Se, n as Y, d as W, c as q, e as N, j as Te, o as Fe, k as K, l as Me, G as le, K as C, J as Z, p as v, L as Pe, u as z, q as I, g as o, M as Be, E as Ee, r as G, m as je, I as Q, t as Le, w as ze, x as Ae, y as He, z as Ce, $ as Ie } from "./CasinoTournamentsController-B2QtW6Gb.js";
1
+ import { d as be, S as ve, t as ke, B as Ne, r as T, h as Se, y as Y, n as q, u as G, o as N, k as Te, z as Fe, q as K, m as Be, A as le, N as C, I as Z, g as v, e as Me, x as A, J as D, i as o, f as Pe, s as Ee, j as W, H as je, K as Q, M as ze, D as Ae, E as He, F as Le, l as Ce, a as De } from "./CasinoTournamentsController-CNsVUnfN.js";
2
2
  function V(e, n) {
3
3
  be(e, n);
4
4
  }
@@ -34,7 +34,7 @@ const $ = {
34
34
  playNow: "Play now"
35
35
  }
36
36
  };
37
- function Ue(e) {
37
+ function Ie(e) {
38
38
  Se(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
39
39
  }
40
40
  function ee(e, n, t) {
@@ -50,16 +50,16 @@ function te(e) {
50
50
  i[r] = ne(ee(e, h, r));
51
51
  return {
52
52
  c() {
53
- n = N("div"), t = N("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = I(), m = N("main"), d = N("div");
53
+ n = N("div"), t = N("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = D(), m = N("main"), d = N("div");
54
54
  for (let r = 0; r < i.length; r += 1)
55
55
  i[r].c();
56
- w = I(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', o(t, "class", "SliderNavButton"), o(t, "part", "SliderNavButton"), C(
56
+ w = D(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', o(t, "class", "SliderNavButton"), o(t, "part", "SliderNavButton"), C(
57
57
  t,
58
58
  "disabled",
59
59
  /*atStart*/
60
60
  e[8]
61
61
  ), o(d, "class", "items"), o(d, "part", "items"), Z(d, "transform", "translateX(" + /*offset*/
62
- e[2] + "px)"), Be(() => (
62
+ e[2] + "px)"), Pe(() => (
63
63
  /*main_elementresize_handler*/
64
64
  e[29].call(m)
65
65
  )), o(s, "class", "SliderNavButton"), o(s, "part", "SliderNavButton"), C(
@@ -70,21 +70,21 @@ function te(e) {
70
70
  ), o(n, "class", "TournamentsGamesSlider"), o(n, "part", "TournamentsGamesSlider");
71
71
  },
72
72
  m(r, u) {
73
- q(r, n, u), v(n, t), v(n, a), v(n, m), v(m, d);
73
+ G(r, n, u), v(n, t), v(n, a), v(n, m), v(m, d);
74
74
  for (let c = 0; c < i.length; c += 1)
75
75
  i[c] && i[c].m(d, null);
76
- e[28](d), y = Pe(
76
+ e[28](d), y = Me(
77
77
  m,
78
78
  /*main_elementresize_handler*/
79
79
  e[29].bind(m)
80
80
  ), v(n, w), v(n, s), e[31](n), _ || (b = [
81
- z(
81
+ A(
82
82
  t,
83
83
  "click",
84
84
  /*click_handler*/
85
85
  e[24]
86
86
  ),
87
- z(
87
+ A(
88
88
  s,
89
89
  "click",
90
90
  /*click_handler_2*/
@@ -107,8 +107,8 @@ function te(e) {
107
107
  );
108
108
  let c;
109
109
  for (c = 0; c < h.length; c += 1) {
110
- const P = ee(r, h, c);
111
- i[c] ? i[c].p(P, u) : (i[c] = ne(P), i[c].c(), i[c].m(d, null));
110
+ const M = ee(r, h, c);
111
+ i[c] ? i[c].p(M, u) : (i[c] = ne(M), i[c].c(), i[c].m(d, null));
112
112
  }
113
113
  for (; c < i.length; c += 1)
114
114
  i[c].d(1);
@@ -125,7 +125,7 @@ function te(e) {
125
125
  );
126
126
  },
127
127
  d(r) {
128
- r && W(n), Me(i, r), e[28](null), y(), e[31](null), _ = !1, le(b);
128
+ r && q(n), Be(i, r), e[28](null), y(), e[31](null), _ = !1, le(b);
129
129
  }
130
130
  };
131
131
  }
@@ -143,7 +143,7 @@ function ne(e) {
143
143
  )
144
144
  );
145
145
  }
146
- function P() {
146
+ function M() {
147
147
  return (
148
148
  /*mouseenter_handler*/
149
149
  e[26](
@@ -154,7 +154,7 @@ function ne(e) {
154
154
  }
155
155
  return {
156
156
  c() {
157
- n = N("div"), t = N("span"), m = Le(a), w = I(), s = N("img"), i = I(), o(t, "class", d = "PlayNowButton " + /*hover*/
157
+ n = N("div"), t = N("span"), m = ze(a), w = D(), s = N("img"), i = D(), o(t, "class", d = "PlayNowButton " + /*hover*/
158
158
  (e[5] && /*hoverIndex*/
159
159
  e[6] == /*i*/
160
160
  e[51] ? "itemHover" : "")), o(t, "part", y = "PlayNowButton " + /*hover*/
@@ -166,10 +166,10 @@ function ne(e) {
166
166
  e[49].name), o(n, "class", "item"), o(n, "part", "item");
167
167
  },
168
168
  m(k, g) {
169
- q(k, n, g), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
170
- z(n, "click", c),
171
- z(n, "mouseenter", P),
172
- z(
169
+ G(k, n, g), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
170
+ A(n, "click", c),
171
+ A(n, "mouseenter", M),
172
+ A(
173
173
  n,
174
174
  "mouseleave",
175
175
  /*mouseleave_handler*/
@@ -197,11 +197,11 @@ function ne(e) {
197
197
  e[49].name) && o(s, "title", h);
198
198
  },
199
199
  d(k) {
200
- k && W(n), r = !1, le(u);
200
+ k && q(n), r = !1, le(u);
201
201
  }
202
202
  };
203
203
  }
204
- function De(e) {
204
+ function Ue(e) {
205
205
  let n, t = (
206
206
  /*games*/
207
207
  e[1] && /*games*/
@@ -212,7 +212,7 @@ function De(e) {
212
212
  n = N("div"), t && t.c();
213
213
  },
214
214
  m(a, m) {
215
- q(a, n, m), t && t.m(n, null), e[32](n);
215
+ G(a, n, m), t && t.m(n, null), e[32](n);
216
216
  },
217
217
  p(a, m) {
218
218
  /*games*/
@@ -222,19 +222,19 @@ function De(e) {
222
222
  i: Y,
223
223
  o: Y,
224
224
  d(a) {
225
- a && W(n), t && t.d(), e[32](null);
225
+ a && q(n), t && t.d(), e[32](null);
226
226
  }
227
227
  };
228
228
  }
229
- let Ge = 30;
230
- function We(e, n, t) {
229
+ let We = 30;
230
+ function qe(e, n, t) {
231
231
  let a, m, d;
232
- Te(e, Ie, (l) => t(10, d = l));
233
- let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S, A = null, H = null, U = !1, D, B, E = 0, F;
232
+ Te(e, De, (l) => t(10, d = l));
233
+ let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, M = window.navigator.userAgent, k, g = [], f = 0, S, H = null, L = null, I = !1, U, P, E = 0, F;
234
234
  const se = () => {
235
235
  fetch(b).then((p) => p.json()).then((p) => {
236
- Object.keys(p).forEach((L) => {
237
- V(L, p[L]);
236
+ Object.keys(p).forEach((z) => {
237
+ V(z, p[z]);
238
238
  });
239
239
  }).catch((p) => {
240
240
  console.log(p);
@@ -244,17 +244,17 @@ function We(e, n, t) {
244
244
  V(l, $[l]);
245
245
  });
246
246
  const x = (l) => {
247
- t(5, U = !0), t(6, D = l);
247
+ t(5, I = !0), t(6, U = l);
248
248
  }, J = () => {
249
- t(5, U = !1), t(6, D = -1);
249
+ t(5, I = !1), t(6, U = -1);
250
250
  }, re = (l) => l.touches || l.originalEvent.touches, O = (l) => {
251
251
  const p = re(l)[0];
252
- A = p.clientX, H = p.clientY;
252
+ H = p.clientX, L = p.clientY;
253
253
  }, X = (l) => {
254
- if (!A || !H)
254
+ if (!H || !L)
255
255
  return;
256
- let p = l.touches[0].clientX, L = l.touches[0].clientY, M = A - p, _e = H - L;
257
- Math.abs(M) > Math.abs(_e) && (M > 0 ? j(1) : j(-1)), A = null, H = null;
256
+ let p = l.touches[0].clientX, z = l.touches[0].clientY, B = H - p, _e = L - z;
257
+ Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), H = null, L = null;
258
258
  }, j = (l) => {
259
259
  l > 0 && !m ? (t(2, f -= k), t(2, f = f < E ? E : f)) : l < 0 && !a && (t(2, f += k), t(2, f = f > 0 ? 0 : f));
260
260
  }, R = (l) => {
@@ -269,15 +269,15 @@ function We(e, n, t) {
269
269
  );
270
270
  }, ae = () => {
271
271
  let l = new URL(y), p = new Headers();
272
- l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ge},offset=${f})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", _), l.searchParams.append("platform", Ee(P)), fetch(l, { method: "GET", headers: p }).then((M) => M.json()).then((M) => {
273
- t(1, g = M.item.games.items), M.item.games.total;
272
+ l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${We},offset=${f})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", _), l.searchParams.append("platform", Ee(M)), fetch(l, { method: "GET", headers: p }).then((B) => B.json()).then((B) => {
273
+ t(1, g = B.item.games.items), B.item.games.total;
274
274
  });
275
275
  }, ie = () => {
276
276
  S.addEventListener("touchstart", O, { passive: !0 }), S.addEventListener("touchmove", X, { passive: !0 });
277
277
  }, oe = () => {
278
278
  setTimeout(
279
279
  () => {
280
- t(23, E = (B.scrollWidth - B.clientWidth) * -1), t(16, s = new String(B.scrollWidth / g.length)), k = parseInt(w, 10) * parseFloat(s, 2).toFixed(2);
280
+ t(23, E = (P.scrollWidth - P.clientWidth) * -1), t(16, s = new String(P.scrollWidth / g.length)), k = parseInt(w, 10) * parseFloat(s, 2).toFixed(2);
281
281
  },
282
282
  1e3
283
283
  );
@@ -289,8 +289,8 @@ function We(e, n, t) {
289
289
  }));
290
290
  const ue = () => j(-1), me = (l) => R(l), de = (l) => x(l), he = () => J();
291
291
  function ge(l) {
292
- G[l ? "unshift" : "push"](() => {
293
- B = l, t(7, B);
292
+ W[l ? "unshift" : "push"](() => {
293
+ P = l, t(7, P);
294
294
  });
295
295
  }
296
296
  function fe() {
@@ -298,12 +298,12 @@ function We(e, n, t) {
298
298
  }
299
299
  const pe = () => j(1);
300
300
  function ye(l) {
301
- G[l ? "unshift" : "push"](() => {
301
+ W[l ? "unshift" : "push"](() => {
302
302
  S = l, t(3, S);
303
303
  });
304
304
  }
305
305
  function we(l) {
306
- G[l ? "unshift" : "push"](() => {
306
+ W[l ? "unshift" : "push"](() => {
307
307
  u = l, t(0, u);
308
308
  });
309
309
  }
@@ -318,18 +318,18 @@ function We(e, n, t) {
318
318
  8 && S && ie(), e.$$.dirty[0] & /*translationurl*/
319
319
  524288 && b && se(), e.$$.dirty[0] & /*games*/
320
320
  2 && g.length && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
321
- 1048577 && h && u && ze(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
322
- 2097153 && i && u && Ae(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
323
- 4194305 && r && u && He(u, `${r}.Style`, c);
321
+ 1048577 && h && u && Ae(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
322
+ 2097153 && i && u && He(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
323
+ 4194305 && r && u && Le(u, `${r}.Style`, c);
324
324
  }, t(2, f = 0), [
325
325
  u,
326
326
  g,
327
327
  f,
328
328
  S,
329
329
  F,
330
+ I,
330
331
  U,
331
- D,
332
- B,
332
+ P,
333
333
  a,
334
334
  m,
335
335
  d,
@@ -357,13 +357,13 @@ function We(e, n, t) {
357
357
  we
358
358
  ];
359
359
  }
360
- class qe extends ve {
360
+ class Ge extends ve {
361
361
  constructor(n) {
362
362
  super(), ke(
363
363
  this,
364
364
  n,
365
- We,
366
- De,
365
+ qe,
366
+ Ue,
367
367
  Ne,
368
368
  {
369
369
  tournamenturl: 17,
@@ -375,7 +375,7 @@ class qe extends ve {
375
375
  clientstylingurl: 21,
376
376
  mbsource: 22
377
377
  },
378
- Ue,
378
+ Ie,
379
379
  [-1, -1]
380
380
  );
381
381
  }
@@ -428,7 +428,7 @@ class qe extends ve {
428
428
  this.$$set({ mbsource: n }), T();
429
429
  }
430
430
  }
431
- Ce(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
431
+ Ce(Ge, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
432
432
  export {
433
- qe as default
433
+ Ge as default
434
434
  };
@@ -1,4 +1,4 @@
1
- import { a as be, S as ve, i as ke, s as Ne, f as T, b as Se, n as Y, d as W, e as q, g as N, k as Te, o as Fe, l as K, m as Me, G as le, K as C, J as Z, q as v, L as Pe, v as z, r as I, h as o, M as Be, E as Ee, u as G, p as Le, I as Q, t as je, x as ze, y as Ae, z as He, c as Ce, $ as Ie } from "./CasinoTournamentsController-Cmk_sscD.js";
1
+ import { d as be, S as ve, t as ke, B as Ne, r as T, h as Se, y as Y, n as q, u as G, o as N, k as Te, z as Fe, q as K, m as Be, A as le, N as C, I as Z, g as v, e as Me, x as A, J as D, i as o, f as Pe, s as Ee, j as W, H as je, K as Q, M as ze, D as Ae, E as He, F as Le, l as Ce, a as De } from "./CasinoTournamentsController-lJfLLRnq.js";
2
2
  function V(e, n) {
3
3
  be(e, n);
4
4
  }
@@ -34,7 +34,7 @@ const $ = {
34
34
  playNow: "Play now"
35
35
  }
36
36
  };
37
- function Ue(e) {
37
+ function Ie(e) {
38
38
  Se(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
39
39
  }
40
40
  function ee(e, n, t) {
@@ -50,16 +50,16 @@ function te(e) {
50
50
  i[r] = ne(ee(e, h, r));
51
51
  return {
52
52
  c() {
53
- n = N("div"), t = N("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = I(), m = N("main"), d = N("div");
53
+ n = N("div"), t = N("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = D(), m = N("main"), d = N("div");
54
54
  for (let r = 0; r < i.length; r += 1)
55
55
  i[r].c();
56
- w = I(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', o(t, "class", "SliderNavButton"), o(t, "part", "SliderNavButton"), C(
56
+ w = D(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', o(t, "class", "SliderNavButton"), o(t, "part", "SliderNavButton"), C(
57
57
  t,
58
58
  "disabled",
59
59
  /*atStart*/
60
60
  e[8]
61
61
  ), o(d, "class", "items"), o(d, "part", "items"), Z(d, "transform", "translateX(" + /*offset*/
62
- e[2] + "px)"), Be(() => (
62
+ e[2] + "px)"), Pe(() => (
63
63
  /*main_elementresize_handler*/
64
64
  e[29].call(m)
65
65
  )), o(s, "class", "SliderNavButton"), o(s, "part", "SliderNavButton"), C(
@@ -70,21 +70,21 @@ function te(e) {
70
70
  ), o(n, "class", "TournamentsGamesSlider"), o(n, "part", "TournamentsGamesSlider");
71
71
  },
72
72
  m(r, u) {
73
- q(r, n, u), v(n, t), v(n, a), v(n, m), v(m, d);
73
+ G(r, n, u), v(n, t), v(n, a), v(n, m), v(m, d);
74
74
  for (let c = 0; c < i.length; c += 1)
75
75
  i[c] && i[c].m(d, null);
76
- e[28](d), y = Pe(
76
+ e[28](d), y = Me(
77
77
  m,
78
78
  /*main_elementresize_handler*/
79
79
  e[29].bind(m)
80
80
  ), v(n, w), v(n, s), e[31](n), _ || (b = [
81
- z(
81
+ A(
82
82
  t,
83
83
  "click",
84
84
  /*click_handler*/
85
85
  e[24]
86
86
  ),
87
- z(
87
+ A(
88
88
  s,
89
89
  "click",
90
90
  /*click_handler_2*/
@@ -107,8 +107,8 @@ function te(e) {
107
107
  );
108
108
  let c;
109
109
  for (c = 0; c < h.length; c += 1) {
110
- const P = ee(r, h, c);
111
- i[c] ? i[c].p(P, u) : (i[c] = ne(P), i[c].c(), i[c].m(d, null));
110
+ const M = ee(r, h, c);
111
+ i[c] ? i[c].p(M, u) : (i[c] = ne(M), i[c].c(), i[c].m(d, null));
112
112
  }
113
113
  for (; c < i.length; c += 1)
114
114
  i[c].d(1);
@@ -125,7 +125,7 @@ function te(e) {
125
125
  );
126
126
  },
127
127
  d(r) {
128
- r && W(n), Me(i, r), e[28](null), y(), e[31](null), _ = !1, le(b);
128
+ r && q(n), Be(i, r), e[28](null), y(), e[31](null), _ = !1, le(b);
129
129
  }
130
130
  };
131
131
  }
@@ -143,7 +143,7 @@ function ne(e) {
143
143
  )
144
144
  );
145
145
  }
146
- function P() {
146
+ function M() {
147
147
  return (
148
148
  /*mouseenter_handler*/
149
149
  e[26](
@@ -154,7 +154,7 @@ function ne(e) {
154
154
  }
155
155
  return {
156
156
  c() {
157
- n = N("div"), t = N("span"), m = je(a), w = I(), s = N("img"), i = I(), o(t, "class", d = "PlayNowButton " + /*hover*/
157
+ n = N("div"), t = N("span"), m = ze(a), w = D(), s = N("img"), i = D(), o(t, "class", d = "PlayNowButton " + /*hover*/
158
158
  (e[5] && /*hoverIndex*/
159
159
  e[6] == /*i*/
160
160
  e[51] ? "itemHover" : "")), o(t, "part", y = "PlayNowButton " + /*hover*/
@@ -166,10 +166,10 @@ function ne(e) {
166
166
  e[49].name), o(n, "class", "item"), o(n, "part", "item");
167
167
  },
168
168
  m(k, g) {
169
- q(k, n, g), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
170
- z(n, "click", c),
171
- z(n, "mouseenter", P),
172
- z(
169
+ G(k, n, g), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
170
+ A(n, "click", c),
171
+ A(n, "mouseenter", M),
172
+ A(
173
173
  n,
174
174
  "mouseleave",
175
175
  /*mouseleave_handler*/
@@ -180,7 +180,7 @@ function ne(e) {
180
180
  p(k, g) {
181
181
  e = k, g[0] & /*$_*/
182
182
  1024 && a !== (a = /*$_*/
183
- e[10]("playNow") + "") && Le(m, a), g[0] & /*hover, hoverIndex*/
183
+ e[10]("playNow") + "") && je(m, a), g[0] & /*hover, hoverIndex*/
184
184
  96 && d !== (d = "PlayNowButton " + /*hover*/
185
185
  (e[5] && /*hoverIndex*/
186
186
  e[6] == /*i*/
@@ -197,11 +197,11 @@ function ne(e) {
197
197
  e[49].name) && o(s, "title", h);
198
198
  },
199
199
  d(k) {
200
- k && W(n), r = !1, le(u);
200
+ k && q(n), r = !1, le(u);
201
201
  }
202
202
  };
203
203
  }
204
- function De(e) {
204
+ function Ue(e) {
205
205
  let n, t = (
206
206
  /*games*/
207
207
  e[1] && /*games*/
@@ -212,7 +212,7 @@ function De(e) {
212
212
  n = N("div"), t && t.c();
213
213
  },
214
214
  m(a, m) {
215
- q(a, n, m), t && t.m(n, null), e[32](n);
215
+ G(a, n, m), t && t.m(n, null), e[32](n);
216
216
  },
217
217
  p(a, m) {
218
218
  /*games*/
@@ -222,19 +222,19 @@ function De(e) {
222
222
  i: Y,
223
223
  o: Y,
224
224
  d(a) {
225
- a && W(n), t && t.d(), e[32](null);
225
+ a && q(n), t && t.d(), e[32](null);
226
226
  }
227
227
  };
228
228
  }
229
- let Ge = 30;
230
- function We(e, n, t) {
229
+ let We = 30;
230
+ function qe(e, n, t) {
231
231
  let a, m, d;
232
- Te(e, Ie, (l) => t(10, d = l));
233
- let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S, A = null, H = null, U = !1, D, B, E = 0, F;
232
+ Te(e, De, (l) => t(10, d = l));
233
+ let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, M = window.navigator.userAgent, k, g = [], f = 0, S, H = null, L = null, I = !1, U, P, E = 0, F;
234
234
  const se = () => {
235
235
  fetch(b).then((p) => p.json()).then((p) => {
236
- Object.keys(p).forEach((j) => {
237
- V(j, p[j]);
236
+ Object.keys(p).forEach((z) => {
237
+ V(z, p[z]);
238
238
  });
239
239
  }).catch((p) => {
240
240
  console.log(p);
@@ -244,18 +244,18 @@ function We(e, n, t) {
244
244
  V(l, $[l]);
245
245
  });
246
246
  const x = (l) => {
247
- t(5, U = !0), t(6, D = l);
247
+ t(5, I = !0), t(6, U = l);
248
248
  }, J = () => {
249
- t(5, U = !1), t(6, D = -1);
249
+ t(5, I = !1), t(6, U = -1);
250
250
  }, re = (l) => l.touches || l.originalEvent.touches, O = (l) => {
251
251
  const p = re(l)[0];
252
- A = p.clientX, H = p.clientY;
252
+ H = p.clientX, L = p.clientY;
253
253
  }, X = (l) => {
254
- if (!A || !H)
254
+ if (!H || !L)
255
255
  return;
256
- let p = l.touches[0].clientX, j = l.touches[0].clientY, M = A - p, _e = H - j;
257
- Math.abs(M) > Math.abs(_e) && (M > 0 ? L(1) : L(-1)), A = null, H = null;
258
- }, L = (l) => {
256
+ let p = l.touches[0].clientX, z = l.touches[0].clientY, B = H - p, _e = L - z;
257
+ Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), H = null, L = null;
258
+ }, j = (l) => {
259
259
  l > 0 && !m ? (t(2, f -= k), t(2, f = f < E ? E : f)) : l < 0 && !a && (t(2, f += k), t(2, f = f > 0 ? 0 : f));
260
260
  }, R = (l) => {
261
261
  window.postMessage(
@@ -269,15 +269,15 @@ function We(e, n, t) {
269
269
  );
270
270
  }, ae = () => {
271
271
  let l = new URL(y), p = new Headers();
272
- l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ge},offset=${f})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", _), l.searchParams.append("platform", Ee(P)), fetch(l, { method: "GET", headers: p }).then((M) => M.json()).then((M) => {
273
- t(1, g = M.item.games.items), M.item.games.total;
272
+ l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${We},offset=${f})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", _), l.searchParams.append("platform", Ee(M)), fetch(l, { method: "GET", headers: p }).then((B) => B.json()).then((B) => {
273
+ t(1, g = B.item.games.items), B.item.games.total;
274
274
  });
275
275
  }, ie = () => {
276
276
  S.addEventListener("touchstart", O, { passive: !0 }), S.addEventListener("touchmove", X, { passive: !0 });
277
277
  }, oe = () => {
278
278
  setTimeout(
279
279
  () => {
280
- t(23, E = (B.scrollWidth - B.clientWidth) * -1), t(16, s = new String(B.scrollWidth / g.length)), k = parseInt(w, 10) * parseFloat(s, 2).toFixed(2);
280
+ t(23, E = (P.scrollWidth - P.clientWidth) * -1), t(16, s = new String(P.scrollWidth / g.length)), k = parseInt(w, 10) * parseFloat(s, 2).toFixed(2);
281
281
  },
282
282
  1e3
283
283
  );
@@ -287,23 +287,23 @@ function We(e, n, t) {
287
287
  Fe(() => (k = parseInt(w, 10) * parseInt(s, 10), () => {
288
288
  S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
289
289
  }));
290
- const ue = () => L(-1), me = (l) => R(l), de = (l) => x(l), he = () => J();
290
+ const ue = () => j(-1), me = (l) => R(l), de = (l) => x(l), he = () => J();
291
291
  function ge(l) {
292
- G[l ? "unshift" : "push"](() => {
293
- B = l, t(7, B);
292
+ W[l ? "unshift" : "push"](() => {
293
+ P = l, t(7, P);
294
294
  });
295
295
  }
296
296
  function fe() {
297
297
  F = this.clientWidth, t(4, F);
298
298
  }
299
- const pe = () => L(1);
299
+ const pe = () => j(1);
300
300
  function ye(l) {
301
- G[l ? "unshift" : "push"](() => {
301
+ W[l ? "unshift" : "push"](() => {
302
302
  S = l, t(3, S);
303
303
  });
304
304
  }
305
305
  function we(l) {
306
- G[l ? "unshift" : "push"](() => {
306
+ W[l ? "unshift" : "push"](() => {
307
307
  u = l, t(0, u);
308
308
  });
309
309
  }
@@ -318,24 +318,24 @@ function We(e, n, t) {
318
318
  8 && S && ie(), e.$$.dirty[0] & /*translationurl*/
319
319
  524288 && b && se(), e.$$.dirty[0] & /*games*/
320
320
  2 && g.length && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
321
- 1048577 && h && u && ze(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
322
- 2097153 && i && u && Ae(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
323
- 4194305 && r && u && He(u, `${r}.Style`, c);
321
+ 1048577 && h && u && Ae(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
322
+ 2097153 && i && u && He(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
323
+ 4194305 && r && u && Le(u, `${r}.Style`, c);
324
324
  }, t(2, f = 0), [
325
325
  u,
326
326
  g,
327
327
  f,
328
328
  S,
329
329
  F,
330
+ I,
330
331
  U,
331
- D,
332
- B,
332
+ P,
333
333
  a,
334
334
  m,
335
335
  d,
336
336
  x,
337
337
  J,
338
- L,
338
+ j,
339
339
  R,
340
340
  w,
341
341
  s,
@@ -357,13 +357,13 @@ function We(e, n, t) {
357
357
  we
358
358
  ];
359
359
  }
360
- class qe extends ve {
360
+ class Ge extends ve {
361
361
  constructor(n) {
362
362
  super(), ke(
363
363
  this,
364
364
  n,
365
- We,
366
- De,
365
+ qe,
366
+ Ue,
367
367
  Ne,
368
368
  {
369
369
  tournamenturl: 17,
@@ -375,7 +375,7 @@ class qe extends ve {
375
375
  clientstylingurl: 21,
376
376
  mbsource: 22
377
377
  },
378
- Ue,
378
+ Ie,
379
379
  [-1, -1]
380
380
  );
381
381
  }
@@ -428,7 +428,7 @@ class qe extends ve {
428
428
  this.$$set({ mbsource: n }), T();
429
429
  }
430
430
  }
431
- Ce(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
431
+ Ce(Ge, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
432
432
  export {
433
- qe as default
433
+ Ge as default
434
434
  };