@everymatrix/casino-tournaments-thumbnail-controller 1.86.1 → 1.86.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 (48) hide show
  1. package/components/{CasinoTournamentsThumbnail-J7Of-3j4.js → CasinoTournamentsThumbnail-BQPDlD-6.js} +665 -633
  2. package/components/CasinoTournamentsThumbnail-CSDNBS1u.cjs +18 -0
  3. package/components/{CasinoTournamentsThumbnail-Cm8ygS_j.js → CasinoTournamentsThumbnail-b84P5LC-.js} +668 -636
  4. package/components/CasinoTournamentsThumbnailController-B5oA7xOB.cjs +3 -0
  5. package/components/{CasinoTournamentsThumbnailController-yXv_8aa_.js → CasinoTournamentsThumbnailController-CHXnZMEK.js} +566 -615
  6. package/components/{CasinoTournamentsThumbnailController-DGTv-6Vg.js → CasinoTournamentsThumbnailController-Dk5ObYFQ.js} +522 -571
  7. package/components/{CasinoTournamentsThumbnailDuration-DMSfakAi.js → CasinoTournamentsThumbnailDuration-BRCX2YcD.js} +65 -65
  8. package/components/{CasinoTournamentsThumbnailDuration-IvKEkgj7.cjs → CasinoTournamentsThumbnailDuration-BmsYPOji.cjs} +1 -1
  9. package/components/{CasinoTournamentsThumbnailDuration-ShCMXlPG.js → CasinoTournamentsThumbnailDuration-DesoRPY7.js} +65 -65
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-l7mPDvzQ.js → CasinoTournamentsThumbnailGamesSlider-BumjreGL.js} +88 -88
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-C9n0GZT3.js → CasinoTournamentsThumbnailGamesSlider-CuFhSsUz.js} +88 -88
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-HEUEl0MK.cjs → CasinoTournamentsThumbnailGamesSlider-DsUSEf8W.cjs} +1 -1
  13. package/components/{CasinoTournamentsThumbnailPrizes-CEvbFf9m.js → CasinoTournamentsThumbnailPrizes-BrDPw5rZ.js} +85 -85
  14. package/components/{CasinoTournamentsThumbnailPrizes-Ctx2j7e2.js → CasinoTournamentsThumbnailPrizes-CReAnTE_.js} +85 -85
  15. package/components/{CasinoTournamentsThumbnailPrizes-BRbgsA4Y.cjs → CasinoTournamentsThumbnailPrizes-DMD910A-.cjs} +1 -1
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  21. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  22. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  23. package/stencil/index-b2193545-RI3PckwN.js +503 -0
  24. package/stencil/index-b2193545-qC7jkIQW.cjs +1 -0
  25. package/stencil/index-b2193545-w9rTFozR.js +519 -0
  26. package/stencil/{ui-image-O0NdjWCu.js → ui-image-2Wo8bNh1.js} +1 -1
  27. package/stencil/{ui-image-DUHLTRXs.cjs → ui-image-83gG286t.cjs} +1 -1
  28. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DLoBAw4w.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  32. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  33. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  34. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  35. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-BOZjVV7m.js} +2 -2
  36. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-Czz99elh.js} +2 -2
  37. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-DTd-f9E3.js} +1 -1
  38. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-DiR5y84l.cjs} +1 -1
  39. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-F5Pn7BxE.js} +1 -1
  40. package/stencil/{ui-skeleton-B0E7XBJC.cjs → ui-skeleton-hbyf6ZV-.cjs} +1 -1
  41. package/components/CasinoTournamentsThumbnail-DgXXegVa.cjs +0 -5
  42. package/components/CasinoTournamentsThumbnailController-DD3a1bpc.cjs +0 -16
  43. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  44. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  45. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  46. package/stencil/index-b2193545-BpG2toSK.js +0 -503
  47. package/stencil/index-b2193545-DfeVnolx.cjs +0 -1
  48. package/stencil/index-b2193545-DuA2iMSm.js +0 -519
@@ -1,5 +1,5 @@
1
- import { b as _e, S as be, i as ve, s as ke, f as T, d as Ne, n as R, e as G, j as W, l as N, o as Se, p as Te, F as Y, G as Fe, w as ne, H as z, E as K, k as b, I as Be, x as A, m as C, h as c, J as Pe, q as U, u as Me, K as Z, v as Ee, B as je, C as Ae, D as He, c as Le, A as ze } from "./CasinoTournamentsThumbnail-Cm8ygS_j.js";
2
- import { g as Ce } from "./CasinoTournamentsThumbnailController-yXv_8aa_.js";
1
+ import { e as _e, S as be, i as ve, f as T, g as ke, s as Ne, h as Se, j as N, n as W, p as R, q, r as Te, t as Fe, u as Be, I as Y, k as C, m as c, J as A, H as K, K as Me, o as b, L as Pe, E as L, M as Ee, F as ne, B as je, N as Z, C as Le, v as U, w as He, x as ze, D as Ae } from "./CasinoTournamentsThumbnail-b84P5LC-.js";
2
+ import { g as Ce } from "./CasinoTournamentsThumbnailController-CHXnZMEK.js";
3
3
  function Q(e, n) {
4
4
  _e(e, n);
5
5
  }
@@ -36,34 +36,34 @@ const V = {
36
36
  }
37
37
  };
38
38
  function De(e) {
39
- Ne(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 $(e, n, t) {
42
42
  const a = e.slice();
43
43
  return a[49] = n[t], a[51] = t, a;
44
44
  }
45
45
  function ee(e) {
46
- let n, t, a, d, h, p, y, s, w, _, f = Y(
46
+ let n, t, a, h, d, p, y, s, w, _, g = Y(
47
47
  /*games*/
48
48
  e[1]
49
49
  ), i = [];
50
- for (let r = 0; r < f.length; r += 1)
51
- i[r] = te($(e, f, r));
50
+ for (let r = 0; r < g.length; r += 1)
51
+ i[r] = te($(e, g, r));
52
52
  return {
53
53
  c() {
54
- 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 = C(), d = N("main"), h = N("div");
54
+ 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 = C(), h = N("main"), d = N("div");
55
55
  for (let r = 0; r < i.length; r += 1)
56
56
  i[r].c();
57
- y = C(), 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>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"), z(
57
+ y = C(), 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>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"), A(
58
58
  t,
59
59
  "disabled",
60
60
  /*atStart*/
61
61
  e[8]
62
- ), c(h, "class", "items"), c(h, "part", "items"), K(h, "transform", "translateX(" + /*offset*/
63
- e[2] + "px)"), Pe(() => (
62
+ ), c(d, "class", "items"), c(d, "part", "items"), K(d, "transform", "translateX(" + /*offset*/
63
+ e[2] + "px)"), Me(() => (
64
64
  /*main_elementresize_handler*/
65
- e[29].call(d)
66
- )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), z(
65
+ e[29].call(h)
66
+ )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), A(
67
67
  s,
68
68
  "disabled",
69
69
  /*atEnd*/
@@ -71,21 +71,21 @@ function ee(e) {
71
71
  ), c(n, "class", "TournamentsGamesSlider"), c(n, "part", "TournamentsGamesSlider");
72
72
  },
73
73
  m(r, m) {
74
- W(r, n, m), b(n, t), b(n, a), b(n, d), b(d, h);
74
+ W(r, n, m), b(n, t), b(n, a), b(n, h), b(h, d);
75
75
  for (let u = 0; u < i.length; u += 1)
76
- i[u] && i[u].m(h, null);
77
- e[28](h), p = Be(
78
- d,
76
+ i[u] && i[u].m(d, null);
77
+ e[28](d), p = Pe(
78
+ h,
79
79
  /*main_elementresize_handler*/
80
- e[29].bind(d)
80
+ e[29].bind(h)
81
81
  ), b(n, y), b(n, s), e[31](n), w || (_ = [
82
- A(
82
+ L(
83
83
  t,
84
84
  "click",
85
85
  /*click_handler*/
86
86
  e[24]
87
87
  ),
88
- A(
88
+ L(
89
89
  s,
90
90
  "click",
91
91
  /*click_handler_2*/
@@ -95,30 +95,30 @@ function ee(e) {
95
95
  },
96
96
  p(r, m) {
97
97
  if (m[0] & /*atStart*/
98
- 256 && z(
98
+ 256 && A(
99
99
  t,
100
100
  "disabled",
101
101
  /*atStart*/
102
102
  r[8]
103
103
  ), m[0] & /*gameClicked, games, enter, leave, hover, hoverIndex, $_*/
104
104
  23650) {
105
- f = Y(
105
+ g = Y(
106
106
  /*games*/
107
107
  r[1]
108
108
  );
109
109
  let u;
110
- for (u = 0; u < f.length; u += 1) {
111
- const k = $(r, f, u);
112
- i[u] ? i[u].p(k, m) : (i[u] = te(k), i[u].c(), i[u].m(h, null));
110
+ for (u = 0; u < g.length; u += 1) {
111
+ const k = $(r, g, u);
112
+ i[u] ? i[u].p(k, m) : (i[u] = te(k), i[u].c(), i[u].m(d, null));
113
113
  }
114
114
  for (; u < i.length; u += 1)
115
115
  i[u].d(1);
116
- i.length = f.length;
116
+ i.length = g.length;
117
117
  }
118
118
  m[0] & /*offset*/
119
- 4 && K(h, "transform", "translateX(" + /*offset*/
119
+ 4 && K(d, "transform", "translateX(" + /*offset*/
120
120
  r[2] + "px)"), m[0] & /*atEnd*/
121
- 512 && z(
121
+ 512 && A(
122
122
  s,
123
123
  "disabled",
124
124
  /*atEnd*/
@@ -126,7 +126,7 @@ function ee(e) {
126
126
  );
127
127
  },
128
128
  d(r) {
129
- r && G(n), Fe(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
129
+ r && q(n), Ee(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
130
130
  }
131
131
  };
132
132
  }
@@ -134,7 +134,7 @@ function te(e) {
134
134
  let n, t, a = (
135
135
  /*$_*/
136
136
  e[10]("playNow") + ""
137
- ), d, h, p, y, s, w, _, f, i, r, m;
137
+ ), h, d, p, y, s, w, _, g, i, r, m;
138
138
  function u() {
139
139
  return (
140
140
  /*click_handler_1*/
@@ -155,7 +155,7 @@ function te(e) {
155
155
  }
156
156
  return {
157
157
  c() {
158
- n = N("div"), t = N("span"), d = Ee(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
158
+ n = N("div"), t = N("span"), h = je(a), y = C(), s = N("img"), i = C(), c(t, "class", d = "PlayNowButton " + /*hover*/
159
159
  (e[5] && /*hoverIndex*/
160
160
  e[6] == /*i*/
161
161
  e[51] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
@@ -163,14 +163,14 @@ function te(e) {
163
163
  e[6] == /*i*/
164
164
  e[51] ? "itemHover" : "")), Z(s.src, w = /*game*/
165
165
  e[49].thumbnail) || c(s, "src", w), c(s, "width", "132px"), c(s, "height", "100px"), c(s, "alt", _ = /*game*/
166
- e[49].name), c(s, "title", f = /*game*/
166
+ e[49].name), c(s, "title", g = /*game*/
167
167
  e[49].name), c(n, "class", "item"), c(n, "part", "item");
168
168
  },
169
169
  m(v, o) {
170
- W(v, n, o), b(n, t), b(t, d), b(n, y), b(n, s), b(n, i), r || (m = [
171
- A(n, "click", u),
172
- A(n, "mouseenter", k),
173
- A(
170
+ W(v, n, o), b(n, t), b(t, h), b(n, y), b(n, s), b(n, i), r || (m = [
171
+ L(n, "click", u),
172
+ L(n, "mouseenter", k),
173
+ L(
174
174
  n,
175
175
  "mouseleave",
176
176
  /*mouseleave_handler*/
@@ -181,11 +181,11 @@ function te(e) {
181
181
  p(v, o) {
182
182
  e = v, o[0] & /*$_*/
183
183
  1024 && a !== (a = /*$_*/
184
- e[10]("playNow") + "") && Me(d, a), o[0] & /*hover, hoverIndex*/
185
- 96 && h !== (h = "PlayNowButton " + /*hover*/
184
+ e[10]("playNow") + "") && Le(h, a), o[0] & /*hover, hoverIndex*/
185
+ 96 && d !== (d = "PlayNowButton " + /*hover*/
186
186
  (e[5] && /*hoverIndex*/
187
187
  e[6] == /*i*/
188
- e[51] ? "itemHover" : "")) && c(t, "class", h), o[0] & /*hover, hoverIndex*/
188
+ e[51] ? "itemHover" : "")) && c(t, "class", d), o[0] & /*hover, hoverIndex*/
189
189
  96 && p !== (p = "PlayNowButton " + /*hover*/
190
190
  (e[5] && /*hoverIndex*/
191
191
  e[6] == /*i*/
@@ -194,11 +194,11 @@ function te(e) {
194
194
  e[49].thumbnail) && c(s, "src", w), o[0] & /*games*/
195
195
  2 && _ !== (_ = /*game*/
196
196
  e[49].name) && c(s, "alt", _), o[0] & /*games*/
197
- 2 && f !== (f = /*game*/
198
- e[49].name) && c(s, "title", f);
197
+ 2 && g !== (g = /*game*/
198
+ e[49].name) && c(s, "title", g);
199
199
  },
200
200
  d(v) {
201
- v && G(n), r = !1, ne(m);
201
+ v && q(n), r = !1, ne(m);
202
202
  }
203
203
  };
204
204
  }
@@ -212,52 +212,52 @@ function Ie(e) {
212
212
  c() {
213
213
  n = N("div"), t && t.c();
214
214
  },
215
- m(a, d) {
216
- W(a, n, d), t && t.m(n, null), e[32](n);
215
+ m(a, h) {
216
+ W(a, n, h), t && t.m(n, null), e[32](n);
217
217
  },
218
- p(a, d) {
218
+ p(a, h) {
219
219
  /*games*/
220
220
  a[1] && /*games*/
221
- a[1].length > 0 ? t ? t.p(a, d) : (t = ee(a), t.c(), t.m(n, null)) : t && (t.d(1), t = null);
221
+ a[1].length > 0 ? t ? t.p(a, h) : (t = ee(a), t.c(), t.m(n, null)) : t && (t.d(1), t = null);
222
222
  },
223
223
  i: R,
224
224
  o: R,
225
225
  d(a) {
226
- a && G(n), t && t.d(), e[32](null);
226
+ a && q(n), t && t.d(), e[32](null);
227
227
  }
228
228
  };
229
229
  }
230
230
  let Ue = 30;
231
- function Ge(e, n, t) {
232
- let a, d, h;
233
- Se(e, ze, (l) => t(10, h = l));
234
- let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: f = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S, H = null, L = null, D = !1, I, P, M = 0, F;
231
+ function We(e, n, t) {
232
+ let a, h, d;
233
+ Te(e, Ae, (l) => t(10, d = l));
234
+ let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: g = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S, H = null, z = null, D = !1, I, M, P = 0, F;
235
235
  const le = () => {
236
- fetch(_).then((g) => g.json()).then((g) => {
237
- Object.keys(g).forEach((j) => {
238
- Q(j, g[j]);
236
+ fetch(_).then((f) => f.json()).then((f) => {
237
+ Object.keys(f).forEach((j) => {
238
+ Q(j, f[j]);
239
239
  });
240
- }).catch((g) => {
241
- console.log(g);
240
+ }).catch((f) => {
241
+ console.log(f);
242
242
  });
243
243
  };
244
244
  Object.keys(V).forEach((l) => {
245
245
  Q(l, V[l]);
246
246
  });
247
- const q = (l) => {
247
+ const G = (l) => {
248
248
  t(5, D = !0), t(6, I = l);
249
249
  }, x = () => {
250
250
  t(5, D = !1), t(6, I = -1);
251
251
  }, se = (l) => l.touches || l.originalEvent.touches, J = (l) => {
252
- const g = se(l)[0];
253
- H = g.clientX, L = g.clientY;
252
+ const f = se(l)[0];
253
+ H = f.clientX, z = f.clientY;
254
254
  }, O = (l) => {
255
- if (!H || !L)
255
+ if (!H || !z)
256
256
  return;
257
- let g = l.touches[0].clientX, j = l.touches[0].clientY, B = H - g, we = L - j;
258
- Math.abs(B) > Math.abs(we) && (B > 0 ? E(1) : E(-1)), H = null, L = null;
257
+ let f = l.touches[0].clientX, j = l.touches[0].clientY, B = H - f, we = z - j;
258
+ Math.abs(B) > Math.abs(we) && (B > 0 ? E(1) : E(-1)), H = null, z = null;
259
259
  }, E = (l) => {
260
- l > 0 && !d ? (t(2, o -= k), t(2, o = o < M ? M : o)) : l < 0 && !a && (t(2, o += k), t(2, o = o > 0 ? 0 : o));
260
+ l > 0 && !h ? (t(2, o -= k), t(2, o = o < P ? P : o)) : l < 0 && !a && (t(2, o += k), t(2, o = o > 0 ? 0 : o));
261
261
  }, X = (l) => {
262
262
  window.postMessage(
263
263
  {
@@ -269,8 +269,8 @@ function Ge(e, n, t) {
269
269
  window.location.href
270
270
  );
271
271
  }, re = () => {
272
- let l = new URL(p), g = new Headers();
273
- l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ue},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform", Ce(u)), fetch(l, { method: "GET", headers: g }).then((B) => B.json()).then((B) => {
272
+ let l = new URL(p), f = new Headers();
273
+ l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ue},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform", Ce(u)), fetch(l, { method: "GET", headers: f }).then((B) => B.json()).then((B) => {
274
274
  t(1, v = B.item.games.items), B.item.games.total;
275
275
  });
276
276
  }, ae = () => {
@@ -278,26 +278,26 @@ function Ge(e, n, t) {
278
278
  }, ie = () => {
279
279
  setTimeout(
280
280
  () => {
281
- t(23, M = (P.scrollWidth - P.clientWidth) * -1), t(16, s = new String(P.scrollWidth / v.length)), k = parseInt(y, 10) * parseFloat(s, 2).toFixed(2);
281
+ t(23, P = (M.scrollWidth - M.clientWidth) * -1), t(16, s = new String(M.scrollWidth / v.length)), k = parseInt(y, 10) * parseFloat(s, 2).toFixed(2);
282
282
  },
283
283
  1e3
284
284
  );
285
285
  }, oe = () => {
286
286
  F > 0 && F < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(F / s).toString());
287
287
  };
288
- Te(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
288
+ Fe(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
289
289
  S.removeEventListener("touchstart", J), S.removeEventListener("touchmove", O);
290
290
  }));
291
- const ce = () => E(-1), ue = (l) => X(l), me = (l) => q(l), de = () => x();
292
- function he(l) {
291
+ const ce = () => E(-1), ue = (l) => X(l), me = (l) => G(l), he = () => x();
292
+ function de(l) {
293
293
  U[l ? "unshift" : "push"](() => {
294
- P = l, t(7, P);
294
+ M = l, t(7, M);
295
295
  });
296
296
  }
297
- function fe() {
297
+ function ge() {
298
298
  F = this.clientWidth, t(4, F);
299
299
  }
300
- const ge = () => E(1);
300
+ const fe = () => E(1);
301
301
  function pe(l) {
302
302
  U[l ? "unshift" : "push"](() => {
303
303
  S = l, t(3, S);
@@ -309,19 +309,19 @@ function Ge(e, n, t) {
309
309
  });
310
310
  }
311
311
  return e.$$set = (l) => {
312
- "tournamenturl" in l && t(17, p = l.tournamenturl), "scrollby" in l && t(15, y = l.scrollby), "pagfactor" in l && t(16, s = l.pagfactor), "lang" in l && t(18, w = l.lang), "translationurl" in l && t(19, _ = l.translationurl), "clientstyling" in l && t(20, f = l.clientstyling), "clientstylingurl" in l && t(21, i = l.clientstylingurl), "mbsource" in l && t(22, r = l.mbsource);
312
+ "tournamenturl" in l && t(17, p = l.tournamenturl), "scrollby" in l && t(15, y = l.scrollby), "pagfactor" in l && t(16, s = l.pagfactor), "lang" in l && t(18, w = l.lang), "translationurl" in l && t(19, _ = l.translationurl), "clientstyling" in l && t(20, g = l.clientstyling), "clientstylingurl" in l && t(21, i = l.clientstylingurl), "mbsource" in l && t(22, r = l.mbsource);
313
313
  }, e.$$.update = () => {
314
314
  e.$$.dirty[0] & /*offset*/
315
315
  4 && t(8, a = o === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
316
- 8388612 && t(9, d = o <= M), e.$$.dirty[0] & /*sliderMainWidth*/
316
+ 8388612 && t(9, h = o <= P), e.$$.dirty[0] & /*sliderMainWidth*/
317
317
  16 && F && oe(), e.$$.dirty[0] & /*tournamenturl*/
318
318
  131072 && p && re(), e.$$.dirty[0] & /*slider*/
319
319
  8 && S && ae(), e.$$.dirty[0] & /*translationurl*/
320
320
  524288 && _ && le(), e.$$.dirty[0] & /*games*/
321
321
  2 && v.length && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
322
- 1048577 && f && m && je(m, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
- 2097153 && i && m && Ae(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
- 4194305 && r && m && He(m, `${r}.Style`);
322
+ 1048577 && g && m && He(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
+ 2097153 && i && m && ze(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
+ 4194305 && r && m && Be(m, `${r}.Style`);
325
325
  }, t(2, o = 0), [
326
326
  m,
327
327
  v,
@@ -330,11 +330,11 @@ function Ge(e, n, t) {
330
330
  F,
331
331
  D,
332
332
  I,
333
- P,
333
+ M,
334
334
  a,
335
- d,
336
335
  h,
337
- q,
336
+ d,
337
+ G,
338
338
  x,
339
339
  E,
340
340
  X,
@@ -343,29 +343,29 @@ function Ge(e, n, t) {
343
343
  p,
344
344
  w,
345
345
  _,
346
- f,
346
+ g,
347
347
  i,
348
348
  r,
349
- M,
349
+ P,
350
350
  ce,
351
351
  ue,
352
352
  me,
353
- de,
354
353
  he,
355
- fe,
354
+ de,
356
355
  ge,
356
+ fe,
357
357
  pe,
358
358
  ye
359
359
  ];
360
360
  }
361
- class We extends be {
361
+ class qe extends be {
362
362
  constructor(n) {
363
363
  super(), ve(
364
364
  this,
365
365
  n,
366
- Ge,
366
+ We,
367
367
  Ie,
368
- ke,
368
+ Ne,
369
369
  {
370
370
  tournamenturl: 17,
371
371
  scrollby: 15,
@@ -429,7 +429,7 @@ class We extends be {
429
429
  this.$$set({ mbsource: n }), T();
430
430
  }
431
431
  }
432
- Le(We, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
432
+ ke(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
433
433
  export {
434
- We as default
434
+ qe as default
435
435
  };