@everymatrix/casino-tournaments-list-controller 1.59.2 → 1.59.3

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 (24) hide show
  1. package/components/{CasinoTournamentsListController-DKc3JGbs.js → CasinoTournamentsListController-CV7C0iYB.js} +911 -913
  2. package/components/CasinoTournamentsListController-DCJkVcxx.cjs +28 -0
  3. package/components/{CasinoTournamentsListController-ClNoaguG.js → CasinoTournamentsListController-Do178yhc.js} +926 -928
  4. package/components/{CasinoTournamentsThumbnail-CdyLHB3q.cjs → CasinoTournamentsThumbnail-BD6U5l0E.cjs} +1 -1
  5. package/components/{CasinoTournamentsThumbnail-D8e-nXOD.js → CasinoTournamentsThumbnail-D7aLpi92.js} +26 -26
  6. package/components/{CasinoTournamentsThumbnail-IxiD4b-e.js → CasinoTournamentsThumbnail-ZS6Pk_Gd.js} +26 -26
  7. package/components/CasinoTournamentsThumbnailController-BWoEu9kJ.cjs +3 -0
  8. package/components/{CasinoTournamentsThumbnailController-D49NZQP2.js → CasinoTournamentsThumbnailController-BaOGgh4X.js} +409 -429
  9. package/components/{CasinoTournamentsThumbnailController-BcYNLikE.js → CasinoTournamentsThumbnailController-BjZ4ZCHV.js} +330 -350
  10. package/components/{CasinoTournamentsThumbnailDuration-BLgft2Tq.js → CasinoTournamentsThumbnailDuration-B4jXXZOM.js} +35 -35
  11. package/components/{CasinoTournamentsThumbnailDuration-uc0cz4mz.js → CasinoTournamentsThumbnailDuration-D2ZeJVM1.js} +35 -35
  12. package/components/{CasinoTournamentsThumbnailDuration-DAU985Oj.cjs → CasinoTournamentsThumbnailDuration-_u24YH6u.cjs} +1 -1
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-BYiStSlZ.cjs → CasinoTournamentsThumbnailGamesSlider-BkZunRYx.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-CMh0bAxQ.js → CasinoTournamentsThumbnailGamesSlider-C72zYLeI.js} +38 -38
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-DyN75Aab.js → CasinoTournamentsThumbnailGamesSlider-DUnU6UYd.js} +38 -38
  16. package/components/{CasinoTournamentsThumbnailPrizes-BP5XEe6I.js → CasinoTournamentsThumbnailPrizes-BAEmj1Rc.js} +43 -43
  17. package/components/{CasinoTournamentsThumbnailPrizes-DbXoL6RT.js → CasinoTournamentsThumbnailPrizes-BL23c6qp.js} +43 -43
  18. package/components/{CasinoTournamentsThumbnailPrizes-DqgnwAS4.cjs → CasinoTournamentsThumbnailPrizes-D6J-29Xt.cjs} +1 -1
  19. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  20. package/es2015/casino-tournaments-list-controller.js +1 -1
  21. package/esnext/casino-tournaments-list-controller.js +1 -1
  22. package/package.json +2 -2
  23. package/components/CasinoTournamentsListController-C-bVKhDo.cjs +0 -28
  24. package/components/CasinoTournamentsThumbnailController-DY-Ayiwy.cjs +0 -3
@@ -1,5 +1,5 @@
1
- import { a as be, S as ve, i as ke, f as M, c as Ne, s as Se, b as Te, e as S, h as D, n as R, l as G, m as Fe, o as Me, F as X, d as z, g as c, G as C, x as Y, H as Pe, j as v, I as Be, u as L, J as Ee, v as te, t as Le, K, k as He, w as I, y as je } from "./CasinoTournamentsListController-ClNoaguG.js";
2
- import { g as Ce } from "./CasinoTournamentsThumbnailController-BcYNLikE.js";
1
+ import { a as be, S as ve, i as ke, s as Ne, f as M, b as Se, n as R, d as D, e as G, h as S, l as Te, o as Fe, F as X, G as Me, r as te, H as C, v as Y, g as v, I as Pe, q as L, j as z, k as c, J as Be, u as I, c as Ee, K, t as Le, x as He, y as je } from "./CasinoTournamentsListController-Do178yhc.js";
2
+ import { g as Ce } from "./CasinoTournamentsThumbnailController-BjZ4ZCHV.js";
3
3
  function Z(e, l) {
4
4
  be(e, l);
5
5
  }
@@ -36,14 +36,14 @@ const Q = {
36
36
  }
37
37
  };
38
38
  function ze(e) {
39
- Te(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
+ 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}");
40
40
  }
41
41
  function V(e, l, t) {
42
42
  const a = e.slice();
43
43
  return a[50] = l[t], a[52] = t, a;
44
44
  }
45
45
  function $(e) {
46
- let l, t, a, m, d, p, y, r, w, _, f = X(
46
+ let l, t, a, d, m, p, y, r, w, _, f = X(
47
47
  /*games*/
48
48
  e[1]
49
49
  ), o = [];
@@ -51,7 +51,7 @@ function $(e) {
51
51
  o[s] = ee(V(e, f, s));
52
52
  return {
53
53
  c() {
54
- l = S("div"), t = S("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 = z(), m = S("main"), d = S("div");
54
+ l = S("div"), t = S("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 = z(), d = S("main"), m = S("div");
55
55
  for (let s = 0; s < o.length; s += 1)
56
56
  o[s].c();
57
57
  y = z(), r = S("div"), r.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>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"), C(
@@ -59,10 +59,10 @@ function $(e) {
59
59
  "disabled",
60
60
  /*atStart*/
61
61
  e[8]
62
- ), c(d, "class", "items"), c(d, "part", "items"), Y(d, "transform", "translateX(" + /*offset*/
63
- e[2] + "px)"), Pe(() => (
62
+ ), c(m, "class", "items"), c(m, "part", "items"), Y(m, "transform", "translateX(" + /*offset*/
63
+ e[2] + "px)"), Be(() => (
64
64
  /*main_elementresize_handler*/
65
- e[28].call(m)
65
+ e[28].call(d)
66
66
  )), c(r, "class", "SliderNavButton"), c(r, "part", "SliderNavButton"), C(
67
67
  r,
68
68
  "disabled",
@@ -71,13 +71,13 @@ function $(e) {
71
71
  ), c(l, "class", "TournamentsGamesSlider"), c(l, "part", "TournamentsGamesSlider");
72
72
  },
73
73
  m(s, b) {
74
- D(s, l, b), v(l, t), v(l, a), v(l, m), v(m, d);
74
+ G(s, l, b), v(l, t), v(l, a), v(l, d), v(d, m);
75
75
  for (let i = 0; i < o.length; i += 1)
76
- o[i] && o[i].m(d, null);
77
- e[27](d), p = Be(
78
- m,
76
+ o[i] && o[i].m(m, null);
77
+ e[27](m), p = Pe(
78
+ d,
79
79
  /*main_elementresize_handler*/
80
- e[28].bind(m)
80
+ e[28].bind(d)
81
81
  ), v(l, y), v(l, r), e[30](l), w || (_ = [
82
82
  L(
83
83
  t,
@@ -109,14 +109,14 @@ function $(e) {
109
109
  let i;
110
110
  for (i = 0; i < f.length; i += 1) {
111
111
  const k = V(s, f, i);
112
- o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(d, null));
112
+ o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(m, null));
113
113
  }
114
114
  for (; i < o.length; i += 1)
115
115
  o[i].d(1);
116
116
  o.length = f.length;
117
117
  }
118
118
  b[0] & /*offset*/
119
- 4 && Y(d, "transform", "translateX(" + /*offset*/
119
+ 4 && Y(m, "transform", "translateX(" + /*offset*/
120
120
  s[2] + "px)"), b[0] & /*atEnd*/
121
121
  512 && C(
122
122
  r,
@@ -126,7 +126,7 @@ function $(e) {
126
126
  );
127
127
  },
128
128
  d(s) {
129
- s && G(l), Ee(o, s), e[27](null), p(), e[30](null), w = !1, te(_);
129
+ s && D(l), Me(o, s), e[27](null), p(), e[30](null), w = !1, te(_);
130
130
  }
131
131
  };
132
132
  }
@@ -134,7 +134,7 @@ function ee(e) {
134
134
  let l, t, a = (
135
135
  /*$_*/
136
136
  e[10]("playNow") + ""
137
- ), m, d, p, y, r, w, _, f, o, s, b;
137
+ ), d, m, p, y, r, w, _, f, o, s, b;
138
138
  function i() {
139
139
  return (
140
140
  /*click_handler_1*/
@@ -155,7 +155,7 @@ function ee(e) {
155
155
  }
156
156
  return {
157
157
  c() {
158
- l = S("div"), t = S("span"), m = Le(a), y = z(), r = S("img"), o = z(), c(t, "class", d = "PlayNowButton " + /*hover*/
158
+ l = S("div"), t = S("span"), d = Le(a), y = z(), r = S("img"), o = z(), c(t, "class", m = "PlayNowButton " + /*hover*/
159
159
  (e[5] && /*hoverIndex*/
160
160
  e[6] == /*i*/
161
161
  e[52] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
@@ -167,7 +167,7 @@ function ee(e) {
167
167
  e[50].name), c(l, "class", "item"), c(l, "part", "item");
168
168
  },
169
169
  m(u, h) {
170
- D(u, l, h), v(l, t), v(t, m), v(l, y), v(l, r), v(l, o), s || (b = [
170
+ G(u, l, h), v(l, t), v(t, d), v(l, y), v(l, r), v(l, o), s || (b = [
171
171
  L(l, "click", i),
172
172
  L(l, "mouseenter", k),
173
173
  L(
@@ -181,11 +181,11 @@ function ee(e) {
181
181
  p(u, h) {
182
182
  e = u, h[0] & /*$_*/
183
183
  1024 && a !== (a = /*$_*/
184
- e[10]("playNow") + "") && He(m, a), h[0] & /*hover, hoverIndex*/
185
- 96 && d !== (d = "PlayNowButton " + /*hover*/
184
+ e[10]("playNow") + "") && Ee(d, a), h[0] & /*hover, hoverIndex*/
185
+ 96 && m !== (m = "PlayNowButton " + /*hover*/
186
186
  (e[5] && /*hoverIndex*/
187
187
  e[6] == /*i*/
188
- e[52] ? "itemHover" : "")) && c(t, "class", d), h[0] & /*hover, hoverIndex*/
188
+ e[52] ? "itemHover" : "")) && c(t, "class", m), h[0] & /*hover, hoverIndex*/
189
189
  96 && p !== (p = "PlayNowButton " + /*hover*/
190
190
  (e[5] && /*hoverIndex*/
191
191
  e[6] == /*i*/
@@ -198,7 +198,7 @@ function ee(e) {
198
198
  e[50].name) && c(r, "title", f);
199
199
  },
200
200
  d(u) {
201
- u && G(l), s = !1, te(b);
201
+ u && D(l), s = !1, te(b);
202
202
  }
203
203
  };
204
204
  }
@@ -212,25 +212,25 @@ function Ae(e) {
212
212
  c() {
213
213
  l = S("div"), t && t.c();
214
214
  },
215
- m(a, m) {
216
- D(a, l, m), t && t.m(l, null), e[31](l);
215
+ m(a, d) {
216
+ G(a, l, d), t && t.m(l, null), e[31](l);
217
217
  },
218
- p(a, m) {
218
+ p(a, d) {
219
219
  /*games*/
220
220
  a[1] && /*games*/
221
- a[1].length > 0 ? t ? t.p(a, m) : (t = $(a), t.c(), t.m(l, null)) : t && (t.d(1), t = null);
221
+ a[1].length > 0 ? t ? t.p(a, d) : (t = $(a), t.c(), t.m(l, null)) : t && (t.d(1), t = null);
222
222
  },
223
223
  i: R,
224
224
  o: R,
225
225
  d(a) {
226
- a && G(l), t && t.d(), e[31](null);
226
+ a && D(l), t && t.d(), e[31](null);
227
227
  }
228
228
  };
229
229
  }
230
230
  let Ue = 30;
231
231
  function Ie(e, l, t) {
232
- let a, m, d;
233
- Fe(e, je, (n) => t(10, d = n));
232
+ let a, d, m;
233
+ Te(e, je, (n) => t(10, m = n));
234
234
  let { tournamenturl: p = "" } = l, { scrollby: y = "3" } = l, { pagfactor: r = "175" } = l, { lang: w = "" } = l, { translationurl: _ = "" } = l, { clientstyling: f = "" } = l, { clientstylingurl: o = "" } = l, s, b = window.navigator.userAgent, i, k = [], u = 0, h, H = null, j = null, A = !1, U, P, B = 0, T;
235
235
  const ne = () => {
236
236
  fetch(_).then((g) => g.json()).then((g) => {
@@ -257,7 +257,7 @@ function Ie(e, l, t) {
257
257
  let g = n.touches[0].clientX, N = n.touches[0].clientY, F = H - g, _e = j - N;
258
258
  Math.abs(F) > Math.abs(_e) && (F > 0 ? E(1) : E(-1)), H = null, j = null;
259
259
  }, E = (n) => {
260
- n > 0 && !m ? (t(2, u -= i), t(2, u = u < B ? B : u)) : n < 0 && !a && (t(2, u += i), t(2, u = u > 0 ? 0 : u));
260
+ n > 0 && !d ? (t(2, u -= i), t(2, u = u < B ? B : u)) : n < 0 && !a && (t(2, u += i), t(2, u = u > 0 ? 0 : u));
261
261
  }, O = (n) => {
262
262
  window.postMessage(
263
263
  {
@@ -302,10 +302,10 @@ function Ie(e, l, t) {
302
302
  }, ce = () => {
303
303
  T > 0 && T < Math.floor((parseInt(y) + 1) * r) && t(15, y = Math.ceil(T / r).toString());
304
304
  };
305
- Me(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
305
+ Fe(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
306
306
  h.removeEventListener("touchstart", x), h.removeEventListener("touchmove", J);
307
307
  }));
308
- const ue = () => E(-1), me = (n) => O(n), de = (n) => W(n), he = () => q();
308
+ const ue = () => E(-1), de = (n) => O(n), me = (n) => W(n), he = () => q();
309
309
  function fe(n) {
310
310
  I[n ? "unshift" : "push"](() => {
311
311
  P = n, t(7, P);
@@ -330,7 +330,7 @@ function Ie(e, l, t) {
330
330
  }, e.$$.update = () => {
331
331
  e.$$.dirty[0] & /*offset*/
332
332
  4 && t(8, a = u === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
333
- 4194308 && t(9, m = u <= B), e.$$.dirty[0] & /*sliderMainWidth*/
333
+ 4194308 && t(9, d = u <= B), e.$$.dirty[0] & /*sliderMainWidth*/
334
334
  16 && T && ce(), e.$$.dirty[0] & /*tournamenturl*/
335
335
  131072 && p && se(), e.$$.dirty[0] & /*slider*/
336
336
  8 && h && re(), e.$$.dirty[0] & /*translationurl*/
@@ -348,8 +348,8 @@ function Ie(e, l, t) {
348
348
  U,
349
349
  P,
350
350
  a,
351
- m,
352
351
  d,
352
+ m,
353
353
  W,
354
354
  q,
355
355
  E,
@@ -363,8 +363,8 @@ function Ie(e, l, t) {
363
363
  o,
364
364
  B,
365
365
  ue,
366
- me,
367
366
  de,
367
+ me,
368
368
  he,
369
369
  fe,
370
370
  ge,
@@ -380,7 +380,7 @@ class De extends ve {
380
380
  l,
381
381
  Ie,
382
382
  Ae,
383
- Se,
383
+ Ne,
384
384
  {
385
385
  tournamenturl: 17,
386
386
  scrollby: 15,
@@ -437,7 +437,7 @@ class De extends ve {
437
437
  this.$$set({ clientstylingurl: l }), M();
438
438
  }
439
439
  }
440
- Ne(De, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
440
+ He(De, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
441
441
  export {
442
442
  De as default
443
443
  };
@@ -1,5 +1,5 @@
1
- import { a as be, S as ve, i as ke, f as M, c as Ne, s as Se, b as Te, e as S, h as D, n as R, l as G, m as Fe, o as Me, F as X, d as z, g as c, G as C, x as Y, H as Pe, j as v, I as Be, u as L, J as Ee, v as te, t as Le, K, k as He, w as I, y as je } from "./CasinoTournamentsListController-DKc3JGbs.js";
2
- import { g as Ce } from "./CasinoTournamentsThumbnailController-D49NZQP2.js";
1
+ import { a as be, S as ve, i as ke, s as Ne, f as M, b as Se, n as R, d as D, e as G, h as S, l as Te, o as Fe, F as X, G as Me, r as te, H as C, v as Y, g as v, I as Pe, q as L, j as z, k as c, J as Be, u as I, c as Ee, K, t as Le, x as He, y as je } from "./CasinoTournamentsListController-CV7C0iYB.js";
2
+ import { g as Ce } from "./CasinoTournamentsThumbnailController-BaOGgh4X.js";
3
3
  function Z(e, l) {
4
4
  be(e, l);
5
5
  }
@@ -36,14 +36,14 @@ const Q = {
36
36
  }
37
37
  };
38
38
  function ze(e) {
39
- Te(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
+ 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}");
40
40
  }
41
41
  function V(e, l, t) {
42
42
  const a = e.slice();
43
43
  return a[50] = l[t], a[52] = t, a;
44
44
  }
45
45
  function $(e) {
46
- let l, t, a, m, d, p, y, r, w, _, f = X(
46
+ let l, t, a, d, m, p, y, r, w, _, f = X(
47
47
  /*games*/
48
48
  e[1]
49
49
  ), o = [];
@@ -51,7 +51,7 @@ function $(e) {
51
51
  o[s] = ee(V(e, f, s));
52
52
  return {
53
53
  c() {
54
- l = S("div"), t = S("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 = z(), m = S("main"), d = S("div");
54
+ l = S("div"), t = S("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 = z(), d = S("main"), m = S("div");
55
55
  for (let s = 0; s < o.length; s += 1)
56
56
  o[s].c();
57
57
  y = z(), r = S("div"), r.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>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"), C(
@@ -59,10 +59,10 @@ function $(e) {
59
59
  "disabled",
60
60
  /*atStart*/
61
61
  e[8]
62
- ), c(d, "class", "items"), c(d, "part", "items"), Y(d, "transform", "translateX(" + /*offset*/
63
- e[2] + "px)"), Pe(() => (
62
+ ), c(m, "class", "items"), c(m, "part", "items"), Y(m, "transform", "translateX(" + /*offset*/
63
+ e[2] + "px)"), Be(() => (
64
64
  /*main_elementresize_handler*/
65
- e[28].call(m)
65
+ e[28].call(d)
66
66
  )), c(r, "class", "SliderNavButton"), c(r, "part", "SliderNavButton"), C(
67
67
  r,
68
68
  "disabled",
@@ -71,13 +71,13 @@ function $(e) {
71
71
  ), c(l, "class", "TournamentsGamesSlider"), c(l, "part", "TournamentsGamesSlider");
72
72
  },
73
73
  m(s, b) {
74
- D(s, l, b), v(l, t), v(l, a), v(l, m), v(m, d);
74
+ G(s, l, b), v(l, t), v(l, a), v(l, d), v(d, m);
75
75
  for (let i = 0; i < o.length; i += 1)
76
- o[i] && o[i].m(d, null);
77
- e[27](d), p = Be(
78
- m,
76
+ o[i] && o[i].m(m, null);
77
+ e[27](m), p = Pe(
78
+ d,
79
79
  /*main_elementresize_handler*/
80
- e[28].bind(m)
80
+ e[28].bind(d)
81
81
  ), v(l, y), v(l, r), e[30](l), w || (_ = [
82
82
  L(
83
83
  t,
@@ -109,14 +109,14 @@ function $(e) {
109
109
  let i;
110
110
  for (i = 0; i < f.length; i += 1) {
111
111
  const k = V(s, f, i);
112
- o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(d, null));
112
+ o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(m, null));
113
113
  }
114
114
  for (; i < o.length; i += 1)
115
115
  o[i].d(1);
116
116
  o.length = f.length;
117
117
  }
118
118
  b[0] & /*offset*/
119
- 4 && Y(d, "transform", "translateX(" + /*offset*/
119
+ 4 && Y(m, "transform", "translateX(" + /*offset*/
120
120
  s[2] + "px)"), b[0] & /*atEnd*/
121
121
  512 && C(
122
122
  r,
@@ -126,7 +126,7 @@ function $(e) {
126
126
  );
127
127
  },
128
128
  d(s) {
129
- s && G(l), Ee(o, s), e[27](null), p(), e[30](null), w = !1, te(_);
129
+ s && D(l), Me(o, s), e[27](null), p(), e[30](null), w = !1, te(_);
130
130
  }
131
131
  };
132
132
  }
@@ -134,7 +134,7 @@ function ee(e) {
134
134
  let l, t, a = (
135
135
  /*$_*/
136
136
  e[10]("playNow") + ""
137
- ), m, d, p, y, r, w, _, f, o, s, b;
137
+ ), d, m, p, y, r, w, _, f, o, s, b;
138
138
  function i() {
139
139
  return (
140
140
  /*click_handler_1*/
@@ -155,7 +155,7 @@ function ee(e) {
155
155
  }
156
156
  return {
157
157
  c() {
158
- l = S("div"), t = S("span"), m = Le(a), y = z(), r = S("img"), o = z(), c(t, "class", d = "PlayNowButton " + /*hover*/
158
+ l = S("div"), t = S("span"), d = Le(a), y = z(), r = S("img"), o = z(), c(t, "class", m = "PlayNowButton " + /*hover*/
159
159
  (e[5] && /*hoverIndex*/
160
160
  e[6] == /*i*/
161
161
  e[52] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
@@ -167,7 +167,7 @@ function ee(e) {
167
167
  e[50].name), c(l, "class", "item"), c(l, "part", "item");
168
168
  },
169
169
  m(u, h) {
170
- D(u, l, h), v(l, t), v(t, m), v(l, y), v(l, r), v(l, o), s || (b = [
170
+ G(u, l, h), v(l, t), v(t, d), v(l, y), v(l, r), v(l, o), s || (b = [
171
171
  L(l, "click", i),
172
172
  L(l, "mouseenter", k),
173
173
  L(
@@ -181,11 +181,11 @@ function ee(e) {
181
181
  p(u, h) {
182
182
  e = u, h[0] & /*$_*/
183
183
  1024 && a !== (a = /*$_*/
184
- e[10]("playNow") + "") && He(m, a), h[0] & /*hover, hoverIndex*/
185
- 96 && d !== (d = "PlayNowButton " + /*hover*/
184
+ e[10]("playNow") + "") && Ee(d, a), h[0] & /*hover, hoverIndex*/
185
+ 96 && m !== (m = "PlayNowButton " + /*hover*/
186
186
  (e[5] && /*hoverIndex*/
187
187
  e[6] == /*i*/
188
- e[52] ? "itemHover" : "")) && c(t, "class", d), h[0] & /*hover, hoverIndex*/
188
+ e[52] ? "itemHover" : "")) && c(t, "class", m), h[0] & /*hover, hoverIndex*/
189
189
  96 && p !== (p = "PlayNowButton " + /*hover*/
190
190
  (e[5] && /*hoverIndex*/
191
191
  e[6] == /*i*/
@@ -198,7 +198,7 @@ function ee(e) {
198
198
  e[50].name) && c(r, "title", f);
199
199
  },
200
200
  d(u) {
201
- u && G(l), s = !1, te(b);
201
+ u && D(l), s = !1, te(b);
202
202
  }
203
203
  };
204
204
  }
@@ -212,25 +212,25 @@ function Ae(e) {
212
212
  c() {
213
213
  l = S("div"), t && t.c();
214
214
  },
215
- m(a, m) {
216
- D(a, l, m), t && t.m(l, null), e[31](l);
215
+ m(a, d) {
216
+ G(a, l, d), t && t.m(l, null), e[31](l);
217
217
  },
218
- p(a, m) {
218
+ p(a, d) {
219
219
  /*games*/
220
220
  a[1] && /*games*/
221
- a[1].length > 0 ? t ? t.p(a, m) : (t = $(a), t.c(), t.m(l, null)) : t && (t.d(1), t = null);
221
+ a[1].length > 0 ? t ? t.p(a, d) : (t = $(a), t.c(), t.m(l, null)) : t && (t.d(1), t = null);
222
222
  },
223
223
  i: R,
224
224
  o: R,
225
225
  d(a) {
226
- a && G(l), t && t.d(), e[31](null);
226
+ a && D(l), t && t.d(), e[31](null);
227
227
  }
228
228
  };
229
229
  }
230
230
  let Ue = 30;
231
231
  function Ie(e, l, t) {
232
- let a, m, d;
233
- Fe(e, je, (n) => t(10, d = n));
232
+ let a, d, m;
233
+ Te(e, je, (n) => t(10, m = n));
234
234
  let { tournamenturl: p = "" } = l, { scrollby: y = "3" } = l, { pagfactor: r = "175" } = l, { lang: w = "" } = l, { translationurl: _ = "" } = l, { clientstyling: f = "" } = l, { clientstylingurl: o = "" } = l, s, b = window.navigator.userAgent, i, k = [], u = 0, h, H = null, j = null, A = !1, U, P, B = 0, T;
235
235
  const ne = () => {
236
236
  fetch(_).then((g) => g.json()).then((g) => {
@@ -257,7 +257,7 @@ function Ie(e, l, t) {
257
257
  let g = n.touches[0].clientX, N = n.touches[0].clientY, F = H - g, _e = j - N;
258
258
  Math.abs(F) > Math.abs(_e) && (F > 0 ? E(1) : E(-1)), H = null, j = null;
259
259
  }, E = (n) => {
260
- n > 0 && !m ? (t(2, u -= i), t(2, u = u < B ? B : u)) : n < 0 && !a && (t(2, u += i), t(2, u = u > 0 ? 0 : u));
260
+ n > 0 && !d ? (t(2, u -= i), t(2, u = u < B ? B : u)) : n < 0 && !a && (t(2, u += i), t(2, u = u > 0 ? 0 : u));
261
261
  }, O = (n) => {
262
262
  window.postMessage(
263
263
  {
@@ -302,10 +302,10 @@ function Ie(e, l, t) {
302
302
  }, ce = () => {
303
303
  T > 0 && T < Math.floor((parseInt(y) + 1) * r) && t(15, y = Math.ceil(T / r).toString());
304
304
  };
305
- Me(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
305
+ Fe(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
306
306
  h.removeEventListener("touchstart", x), h.removeEventListener("touchmove", J);
307
307
  }));
308
- const ue = () => E(-1), me = (n) => O(n), de = (n) => W(n), he = () => q();
308
+ const ue = () => E(-1), de = (n) => O(n), me = (n) => W(n), he = () => q();
309
309
  function fe(n) {
310
310
  I[n ? "unshift" : "push"](() => {
311
311
  P = n, t(7, P);
@@ -330,7 +330,7 @@ function Ie(e, l, t) {
330
330
  }, e.$$.update = () => {
331
331
  e.$$.dirty[0] & /*offset*/
332
332
  4 && t(8, a = u === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
333
- 4194308 && t(9, m = u <= B), e.$$.dirty[0] & /*sliderMainWidth*/
333
+ 4194308 && t(9, d = u <= B), e.$$.dirty[0] & /*sliderMainWidth*/
334
334
  16 && T && ce(), e.$$.dirty[0] & /*tournamenturl*/
335
335
  131072 && p && se(), e.$$.dirty[0] & /*slider*/
336
336
  8 && h && re(), e.$$.dirty[0] & /*translationurl*/
@@ -348,8 +348,8 @@ function Ie(e, l, t) {
348
348
  U,
349
349
  P,
350
350
  a,
351
- m,
352
351
  d,
352
+ m,
353
353
  W,
354
354
  q,
355
355
  E,
@@ -363,8 +363,8 @@ function Ie(e, l, t) {
363
363
  o,
364
364
  B,
365
365
  ue,
366
- me,
367
366
  de,
367
+ me,
368
368
  he,
369
369
  fe,
370
370
  ge,
@@ -380,7 +380,7 @@ class De extends ve {
380
380
  l,
381
381
  Ie,
382
382
  Ae,
383
- Se,
383
+ Ne,
384
384
  {
385
385
  tournamenturl: 17,
386
386
  scrollby: 15,
@@ -437,7 +437,7 @@ class De extends ve {
437
437
  this.$$set({ clientstylingurl: l }), M();
438
438
  }
439
439
  }
440
- Ne(De, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
440
+ He(De, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
441
441
  export {
442
442
  De as default
443
443
  };