@everymatrix/casino-tournaments-list-controller 1.76.14 → 1.77.1

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 (51) hide show
  1. package/components/CasinoTournamentsListController-D4YOiTIa.cjs +15 -0
  2. package/components/{CasinoTournamentsListController-CLKCao8h.js → CasinoTournamentsListController-Du1UkG8C.js} +1020 -1052
  3. package/components/{CasinoTournamentsListController-IEs7A4RA.js → CasinoTournamentsListController-pLKmxum4.js} +1631 -1663
  4. package/components/{CasinoTournamentsThumbnail-CszzSuqC.js → CasinoTournamentsThumbnail-BYq9gq37.js} +34 -34
  5. package/components/{CasinoTournamentsThumbnail-BPYJVSQu.js → CasinoTournamentsThumbnail-BqspUBOU.js} +34 -34
  6. package/components/{CasinoTournamentsThumbnail-C7rrcp0_.cjs → CasinoTournamentsThumbnail-CB-3ewd4.cjs} +1 -1
  7. package/components/{CasinoTournamentsThumbnailController-CUKKL8-o.js → CasinoTournamentsThumbnailController-C3_X7-Hs.js} +269 -220
  8. package/components/CasinoTournamentsThumbnailController-CWn-lIkX.cjs +16 -0
  9. package/components/{CasinoTournamentsThumbnailController-CNFiViil.js → CasinoTournamentsThumbnailController-ML_EG9rJ.js} +267 -218
  10. package/components/{CasinoTournamentsThumbnailDuration-CQlsdbtK.cjs → CasinoTournamentsThumbnailDuration-DNzoTmtR.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailDuration-B2GzC3Vx.js → CasinoTournamentsThumbnailDuration-DlrY8oUQ.js} +55 -55
  12. package/components/{CasinoTournamentsThumbnailDuration-DJKWghQj.js → CasinoTournamentsThumbnailDuration-d96msaqo.js} +55 -55
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-BRgyMlUS.cjs → CasinoTournamentsThumbnailGamesSlider-BcgPYZ3x.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-ly8BEdNK.js → CasinoTournamentsThumbnailGamesSlider-CXgxiW-q.js} +49 -49
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-QdEAkfkK.js → CasinoTournamentsThumbnailGamesSlider-DppNl8Wy.js} +49 -49
  16. package/components/{CasinoTournamentsThumbnailPrizes-L7N5uSPS.cjs → CasinoTournamentsThumbnailPrizes-CeP1aBpF.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailPrizes-CiiSr6sT.js → CasinoTournamentsThumbnailPrizes-CgbMdMY6.js} +21 -21
  18. package/components/{CasinoTournamentsThumbnailPrizes-D7MGA_Lh.js → CasinoTournamentsThumbnailPrizes-D8s7Cqhl.js} +21 -21
  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 +1 -1
  23. package/stencil/index-242ac81a-BqeIndhr.js +554 -0
  24. package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
  25. package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
  26. package/stencil/index-b2193545-BS7xFIk4.js +503 -0
  27. package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
  28. package/stencil/index-b2193545-rfNAj6ri.js +519 -0
  29. package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BHGIWJop.cjs} +1 -1
  30. package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-D0rXudCW.js} +1 -1
  31. package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-DCLQ0SIO.js} +1 -1
  32. package/stencil/{ui-image-CuqYoTW7.js → ui-image-CGQNKTif.js} +1 -1
  33. package/stencil/{ui-image-zZU_KZOy.cjs → ui-image-CYCsgzdt.cjs} +1 -1
  34. package/stencil/{ui-image-xymWfIBJ.js → ui-image-D4MrqmCW.js} +1 -1
  35. package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-B21W_djK.js} +2 -2
  36. package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  37. package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-VgK3B8gQ.js} +2 -2
  38. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
  39. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
  40. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
  41. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
  42. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
  43. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
  44. package/components/CasinoTournamentsListController-CYB8hngn.cjs +0 -28
  45. package/components/CasinoTournamentsThumbnailController-DI3HgTFC.cjs +0 -3
  46. package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
  47. package/stencil/index-242ac81a-Czg480dJ.js +0 -554
  48. package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
  49. package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
  50. package/stencil/index-b2193545-OH6E7v51.js +0 -519
  51. package/stencil/index-b2193545-eoIiLcDl.js +0 -503
@@ -1,5 +1,5 @@
1
- import { b as _e, S as be, i as ve, f as T, c as ke, s as Ne, d as Se, e as N, j as W, n as R, l as q, m as Te, o as Be, p as Fe, q as Me, J as Y, g as C, h as c, K as H, I as K, L as Pe, k as b, M as Ee, r as L, N as je, y as ne, t as Le, B as Z, u as ze, z as U, A as Ae, D as He } from "./CasinoTournamentsListController-IEs7A4RA.js";
2
- import { g as Ce } from "./CasinoTournamentsThumbnailController-CNFiViil.js";
1
+ import { b as _e, S as be, i as ve, s as ke, f as T, c as Ne, n as R, d as G, g as W, j as N, l as Se, o as Te, G as Y, H as Fe, v as ne, I as L, F as K, h as b, J as Be, p as z, k as C, e as c, K as Pe, q as U, m as Me, w as Z, t as Ee, z as je, A as ze, B as Ae, C as He, D as Le } from "./CasinoTournamentsListController-Du1UkG8C.js";
2
+ import { g as Ce } from "./CasinoTournamentsThumbnailController-C3_X7-Hs.js";
3
3
  function Q(e, n) {
4
4
  _e(e, n);
5
5
  }
@@ -36,7 +36,7 @@ const V = {
36
36
  }
37
37
  };
38
38
  function De(e) {
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}");
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}");
40
40
  }
41
41
  function $(e, n, t) {
42
42
  const a = e.slice();
@@ -54,7 +54,7 @@ function ee(e) {
54
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");
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"), H(
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"), L(
58
58
  t,
59
59
  "disabled",
60
60
  /*atStart*/
@@ -63,7 +63,7 @@ function ee(e) {
63
63
  e[2] + "px)"), Pe(() => (
64
64
  /*main_elementresize_handler*/
65
65
  e[29].call(d)
66
- )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), H(
66
+ )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), L(
67
67
  s,
68
68
  "disabled",
69
69
  /*atEnd*/
@@ -74,18 +74,18 @@ function ee(e) {
74
74
  W(r, n, m), b(n, t), b(n, a), b(n, d), b(d, h);
75
75
  for (let u = 0; u < i.length; u += 1)
76
76
  i[u] && i[u].m(h, null);
77
- e[28](h), p = Ee(
77
+ e[28](h), p = Be(
78
78
  d,
79
79
  /*main_elementresize_handler*/
80
80
  e[29].bind(d)
81
81
  ), b(n, y), b(n, s), e[31](n), w || (_ = [
82
- L(
82
+ z(
83
83
  t,
84
84
  "click",
85
85
  /*click_handler*/
86
86
  e[24]
87
87
  ),
88
- L(
88
+ z(
89
89
  s,
90
90
  "click",
91
91
  /*click_handler_2*/
@@ -95,7 +95,7 @@ function ee(e) {
95
95
  },
96
96
  p(r, m) {
97
97
  if (m[0] & /*atStart*/
98
- 256 && H(
98
+ 256 && L(
99
99
  t,
100
100
  "disabled",
101
101
  /*atStart*/
@@ -118,7 +118,7 @@ function ee(e) {
118
118
  m[0] & /*offset*/
119
119
  4 && K(h, "transform", "translateX(" + /*offset*/
120
120
  r[2] + "px)"), m[0] & /*atEnd*/
121
- 512 && H(
121
+ 512 && L(
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 && q(n), je(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
129
+ r && G(n), Fe(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
130
130
  }
131
131
  };
132
132
  }
@@ -155,7 +155,7 @@ function te(e) {
155
155
  }
156
156
  return {
157
157
  c() {
158
- n = N("div"), t = N("span"), d = Le(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
158
+ n = N("div"), t = N("span"), d = Ee(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
159
159
  (e[5] && /*hoverIndex*/
160
160
  e[6] == /*i*/
161
161
  e[51] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
@@ -168,9 +168,9 @@ function te(e) {
168
168
  },
169
169
  m(v, o) {
170
170
  W(v, n, o), b(n, t), b(t, d), b(n, y), b(n, s), b(n, i), r || (m = [
171
- L(n, "click", u),
172
- L(n, "mouseenter", k),
173
- L(
171
+ z(n, "click", u),
172
+ z(n, "mouseenter", k),
173
+ z(
174
174
  n,
175
175
  "mouseleave",
176
176
  /*mouseleave_handler*/
@@ -181,7 +181,7 @@ function te(e) {
181
181
  p(v, o) {
182
182
  e = v, o[0] & /*$_*/
183
183
  1024 && a !== (a = /*$_*/
184
- e[10]("playNow") + "") && ze(d, a), o[0] & /*hover, hoverIndex*/
184
+ e[10]("playNow") + "") && Me(d, a), o[0] & /*hover, hoverIndex*/
185
185
  96 && h !== (h = "PlayNowButton " + /*hover*/
186
186
  (e[5] && /*hoverIndex*/
187
187
  e[6] == /*i*/
@@ -198,7 +198,7 @@ function te(e) {
198
198
  e[49].name) && c(s, "title", g);
199
199
  },
200
200
  d(v) {
201
- v && q(n), r = !1, ne(m);
201
+ v && G(n), r = !1, ne(m);
202
202
  }
203
203
  };
204
204
  }
@@ -223,15 +223,15 @@ function Ie(e) {
223
223
  i: R,
224
224
  o: R,
225
225
  d(a) {
226
- a && q(n), t && t.d(), e[32](null);
226
+ a && G(n), t && t.d(), e[32](null);
227
227
  }
228
228
  };
229
229
  }
230
230
  let Ue = 30;
231
- function We(e, n, t) {
231
+ function Ge(e, n, t) {
232
232
  let a, d, h;
233
- Te(e, He, (l) => t(10, h = 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, z = null, A = null, D = !1, I, M, P = 0, B;
233
+ Se(e, Le, (l) => t(10, h = 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, A = null, H = null, D = !1, I, P, M = 0, F;
235
235
  const le = () => {
236
236
  fetch(_).then((f) => f.json()).then((f) => {
237
237
  Object.keys(f).forEach((j) => {
@@ -244,20 +244,20 @@ function We(e, n, t) {
244
244
  Object.keys(V).forEach((l) => {
245
245
  Q(l, V[l]);
246
246
  });
247
- const G = (l) => {
247
+ const q = (l) => {
248
248
  t(5, D = !0), t(6, I = l);
249
249
  }, J = () => {
250
250
  t(5, D = !1), t(6, I = -1);
251
251
  }, se = (l) => l.touches || l.originalEvent.touches, O = (l) => {
252
252
  const f = se(l)[0];
253
- z = f.clientX, A = f.clientY;
253
+ A = f.clientX, H = f.clientY;
254
254
  }, X = (l) => {
255
- if (!z || !A)
255
+ if (!A || !H)
256
256
  return;
257
- let f = l.touches[0].clientX, j = l.touches[0].clientY, F = z - f, we = A - j;
258
- Math.abs(F) > Math.abs(we) && (F > 0 ? E(1) : E(-1)), z = null, A = null;
257
+ let f = l.touches[0].clientX, j = l.touches[0].clientY, B = A - f, we = H - j;
258
+ Math.abs(B) > Math.abs(we) && (B > 0 ? E(1) : E(-1)), A = null, H = null;
259
259
  }, E = (l) => {
260
- l > 0 && !d ? (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));
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));
261
261
  }, x = (l) => {
262
262
  window.postMessage(
263
263
  {
@@ -270,32 +270,32 @@ function We(e, n, t) {
270
270
  );
271
271
  }, re = () => {
272
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((F) => F.json()).then((F) => {
274
- t(1, v = F.item.games.items), F.item.games.total;
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
+ t(1, v = B.item.games.items), B.item.games.total;
275
275
  });
276
276
  }, ae = () => {
277
277
  S.addEventListener("touchstart", O, { passive: !0 }), S.addEventListener("touchmove", X, { passive: !0 });
278
278
  }, ie = () => {
279
279
  setTimeout(
280
280
  () => {
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);
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);
282
282
  },
283
283
  1e3
284
284
  );
285
285
  }, oe = () => {
286
- B > 0 && B < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(B / s).toString());
286
+ F > 0 && F < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(F / s).toString());
287
287
  };
288
- Be(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
288
+ Te(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
289
289
  S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
290
290
  }));
291
- const ce = () => E(-1), ue = (l) => x(l), me = (l) => G(l), de = () => J();
291
+ const ce = () => E(-1), ue = (l) => x(l), me = (l) => q(l), de = () => J();
292
292
  function he(l) {
293
293
  U[l ? "unshift" : "push"](() => {
294
- M = l, t(7, M);
294
+ P = l, t(7, P);
295
295
  });
296
296
  }
297
297
  function ge() {
298
- B = this.clientWidth, t(4, B);
298
+ F = this.clientWidth, t(4, F);
299
299
  }
300
300
  const fe = () => E(1);
301
301
  function pe(l) {
@@ -313,28 +313,28 @@ function We(e, n, t) {
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 <= P), e.$$.dirty[0] & /*sliderMainWidth*/
317
- 16 && B && oe(), e.$$.dirty[0] & /*tournamenturl*/
316
+ 8388612 && t(9, d = o <= M), e.$$.dirty[0] & /*sliderMainWidth*/
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 && g && m && Ae(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
- 2097153 && i && m && Fe(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
- 4194305 && r && m && Me(m, `${r}.Style`);
322
+ 1048577 && g && m && je(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
+ 2097153 && i && m && ze(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
+ 4194305 && r && m && Ae(m, `${r}.Style`);
325
325
  }, t(2, o = 0), [
326
326
  m,
327
327
  v,
328
328
  o,
329
329
  S,
330
- B,
330
+ F,
331
331
  D,
332
332
  I,
333
- M,
333
+ P,
334
334
  a,
335
335
  d,
336
336
  h,
337
- G,
337
+ q,
338
338
  J,
339
339
  E,
340
340
  x,
@@ -346,7 +346,7 @@ function We(e, n, t) {
346
346
  g,
347
347
  i,
348
348
  r,
349
- P,
349
+ M,
350
350
  ce,
351
351
  ue,
352
352
  me,
@@ -358,14 +358,14 @@ function We(e, n, t) {
358
358
  ye
359
359
  ];
360
360
  }
361
- class qe extends be {
361
+ class We extends be {
362
362
  constructor(n) {
363
363
  super(), ve(
364
364
  this,
365
365
  n,
366
- We,
366
+ Ge,
367
367
  Ie,
368
- Ne,
368
+ ke,
369
369
  {
370
370
  tournamenturl: 17,
371
371
  scrollby: 15,
@@ -429,7 +429,7 @@ class qe extends be {
429
429
  this.$$set({ mbsource: n }), T();
430
430
  }
431
431
  }
432
- ke(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
432
+ He(We, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
433
433
  export {
434
- qe as default
434
+ We as default
435
435
  };
@@ -1,5 +1,5 @@
1
- import { b as _e, S as be, i as ve, f as T, c as ke, s as Ne, d as Se, e as N, j as W, n as R, l as q, m as Te, o as Be, p as Fe, q as Me, J as Y, g as C, h as c, K as H, I as K, L as Pe, k as b, M as Ee, r as L, N as je, y as ne, t as Le, B as Z, u as ze, z as U, A as Ae, D as He } from "./CasinoTournamentsListController-CLKCao8h.js";
2
- import { g as Ce } from "./CasinoTournamentsThumbnailController-CUKKL8-o.js";
1
+ import { b as _e, S as be, i as ve, s as ke, f as T, c as Ne, n as R, d as G, g as W, j as N, l as Se, o as Te, G as Y, H as Fe, v as ne, I as L, F as K, h as b, J as Be, p as z, k as C, e as c, K as Pe, q as U, m as Me, w as Z, t as Ee, z as je, A as ze, B as Ae, C as He, D as Le } from "./CasinoTournamentsListController-pLKmxum4.js";
2
+ import { g as Ce } from "./CasinoTournamentsThumbnailController-ML_EG9rJ.js";
3
3
  function Q(e, n) {
4
4
  _e(e, n);
5
5
  }
@@ -36,7 +36,7 @@ const V = {
36
36
  }
37
37
  };
38
38
  function De(e) {
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}");
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}");
40
40
  }
41
41
  function $(e, n, t) {
42
42
  const a = e.slice();
@@ -54,7 +54,7 @@ function ee(e) {
54
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");
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"), H(
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"), L(
58
58
  t,
59
59
  "disabled",
60
60
  /*atStart*/
@@ -63,7 +63,7 @@ function ee(e) {
63
63
  e[2] + "px)"), Pe(() => (
64
64
  /*main_elementresize_handler*/
65
65
  e[29].call(d)
66
- )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), H(
66
+ )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), L(
67
67
  s,
68
68
  "disabled",
69
69
  /*atEnd*/
@@ -74,18 +74,18 @@ function ee(e) {
74
74
  W(r, n, m), b(n, t), b(n, a), b(n, d), b(d, h);
75
75
  for (let u = 0; u < i.length; u += 1)
76
76
  i[u] && i[u].m(h, null);
77
- e[28](h), p = Ee(
77
+ e[28](h), p = Be(
78
78
  d,
79
79
  /*main_elementresize_handler*/
80
80
  e[29].bind(d)
81
81
  ), b(n, y), b(n, s), e[31](n), w || (_ = [
82
- L(
82
+ z(
83
83
  t,
84
84
  "click",
85
85
  /*click_handler*/
86
86
  e[24]
87
87
  ),
88
- L(
88
+ z(
89
89
  s,
90
90
  "click",
91
91
  /*click_handler_2*/
@@ -95,7 +95,7 @@ function ee(e) {
95
95
  },
96
96
  p(r, m) {
97
97
  if (m[0] & /*atStart*/
98
- 256 && H(
98
+ 256 && L(
99
99
  t,
100
100
  "disabled",
101
101
  /*atStart*/
@@ -118,7 +118,7 @@ function ee(e) {
118
118
  m[0] & /*offset*/
119
119
  4 && K(h, "transform", "translateX(" + /*offset*/
120
120
  r[2] + "px)"), m[0] & /*atEnd*/
121
- 512 && H(
121
+ 512 && L(
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 && q(n), je(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
129
+ r && G(n), Fe(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
130
130
  }
131
131
  };
132
132
  }
@@ -155,7 +155,7 @@ function te(e) {
155
155
  }
156
156
  return {
157
157
  c() {
158
- n = N("div"), t = N("span"), d = Le(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
158
+ n = N("div"), t = N("span"), d = Ee(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
159
159
  (e[5] && /*hoverIndex*/
160
160
  e[6] == /*i*/
161
161
  e[51] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
@@ -168,9 +168,9 @@ function te(e) {
168
168
  },
169
169
  m(v, o) {
170
170
  W(v, n, o), b(n, t), b(t, d), b(n, y), b(n, s), b(n, i), r || (m = [
171
- L(n, "click", u),
172
- L(n, "mouseenter", k),
173
- L(
171
+ z(n, "click", u),
172
+ z(n, "mouseenter", k),
173
+ z(
174
174
  n,
175
175
  "mouseleave",
176
176
  /*mouseleave_handler*/
@@ -181,7 +181,7 @@ function te(e) {
181
181
  p(v, o) {
182
182
  e = v, o[0] & /*$_*/
183
183
  1024 && a !== (a = /*$_*/
184
- e[10]("playNow") + "") && ze(d, a), o[0] & /*hover, hoverIndex*/
184
+ e[10]("playNow") + "") && Me(d, a), o[0] & /*hover, hoverIndex*/
185
185
  96 && h !== (h = "PlayNowButton " + /*hover*/
186
186
  (e[5] && /*hoverIndex*/
187
187
  e[6] == /*i*/
@@ -198,7 +198,7 @@ function te(e) {
198
198
  e[49].name) && c(s, "title", g);
199
199
  },
200
200
  d(v) {
201
- v && q(n), r = !1, ne(m);
201
+ v && G(n), r = !1, ne(m);
202
202
  }
203
203
  };
204
204
  }
@@ -223,15 +223,15 @@ function Ie(e) {
223
223
  i: R,
224
224
  o: R,
225
225
  d(a) {
226
- a && q(n), t && t.d(), e[32](null);
226
+ a && G(n), t && t.d(), e[32](null);
227
227
  }
228
228
  };
229
229
  }
230
230
  let Ue = 30;
231
- function We(e, n, t) {
231
+ function Ge(e, n, t) {
232
232
  let a, d, h;
233
- Te(e, He, (l) => t(10, h = 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, z = null, A = null, D = !1, I, M, P = 0, B;
233
+ Se(e, Le, (l) => t(10, h = 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, A = null, H = null, D = !1, I, P, M = 0, F;
235
235
  const le = () => {
236
236
  fetch(_).then((f) => f.json()).then((f) => {
237
237
  Object.keys(f).forEach((j) => {
@@ -244,20 +244,20 @@ function We(e, n, t) {
244
244
  Object.keys(V).forEach((l) => {
245
245
  Q(l, V[l]);
246
246
  });
247
- const G = (l) => {
247
+ const q = (l) => {
248
248
  t(5, D = !0), t(6, I = l);
249
249
  }, J = () => {
250
250
  t(5, D = !1), t(6, I = -1);
251
251
  }, se = (l) => l.touches || l.originalEvent.touches, O = (l) => {
252
252
  const f = se(l)[0];
253
- z = f.clientX, A = f.clientY;
253
+ A = f.clientX, H = f.clientY;
254
254
  }, X = (l) => {
255
- if (!z || !A)
255
+ if (!A || !H)
256
256
  return;
257
- let f = l.touches[0].clientX, j = l.touches[0].clientY, F = z - f, we = A - j;
258
- Math.abs(F) > Math.abs(we) && (F > 0 ? E(1) : E(-1)), z = null, A = null;
257
+ let f = l.touches[0].clientX, j = l.touches[0].clientY, B = A - f, we = H - j;
258
+ Math.abs(B) > Math.abs(we) && (B > 0 ? E(1) : E(-1)), A = null, H = null;
259
259
  }, E = (l) => {
260
- l > 0 && !d ? (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));
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));
261
261
  }, x = (l) => {
262
262
  window.postMessage(
263
263
  {
@@ -270,32 +270,32 @@ function We(e, n, t) {
270
270
  );
271
271
  }, re = () => {
272
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((F) => F.json()).then((F) => {
274
- t(1, v = F.item.games.items), F.item.games.total;
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
+ t(1, v = B.item.games.items), B.item.games.total;
275
275
  });
276
276
  }, ae = () => {
277
277
  S.addEventListener("touchstart", O, { passive: !0 }), S.addEventListener("touchmove", X, { passive: !0 });
278
278
  }, ie = () => {
279
279
  setTimeout(
280
280
  () => {
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);
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);
282
282
  },
283
283
  1e3
284
284
  );
285
285
  }, oe = () => {
286
- B > 0 && B < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(B / s).toString());
286
+ F > 0 && F < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(F / s).toString());
287
287
  };
288
- Be(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
288
+ Te(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
289
289
  S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
290
290
  }));
291
- const ce = () => E(-1), ue = (l) => x(l), me = (l) => G(l), de = () => J();
291
+ const ce = () => E(-1), ue = (l) => x(l), me = (l) => q(l), de = () => J();
292
292
  function he(l) {
293
293
  U[l ? "unshift" : "push"](() => {
294
- M = l, t(7, M);
294
+ P = l, t(7, P);
295
295
  });
296
296
  }
297
297
  function ge() {
298
- B = this.clientWidth, t(4, B);
298
+ F = this.clientWidth, t(4, F);
299
299
  }
300
300
  const fe = () => E(1);
301
301
  function pe(l) {
@@ -313,28 +313,28 @@ function We(e, n, t) {
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 <= P), e.$$.dirty[0] & /*sliderMainWidth*/
317
- 16 && B && oe(), e.$$.dirty[0] & /*tournamenturl*/
316
+ 8388612 && t(9, d = o <= M), e.$$.dirty[0] & /*sliderMainWidth*/
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 && g && m && Ae(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
- 2097153 && i && m && Fe(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
- 4194305 && r && m && Me(m, `${r}.Style`);
322
+ 1048577 && g && m && je(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
+ 2097153 && i && m && ze(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
+ 4194305 && r && m && Ae(m, `${r}.Style`);
325
325
  }, t(2, o = 0), [
326
326
  m,
327
327
  v,
328
328
  o,
329
329
  S,
330
- B,
330
+ F,
331
331
  D,
332
332
  I,
333
- M,
333
+ P,
334
334
  a,
335
335
  d,
336
336
  h,
337
- G,
337
+ q,
338
338
  J,
339
339
  E,
340
340
  x,
@@ -346,7 +346,7 @@ function We(e, n, t) {
346
346
  g,
347
347
  i,
348
348
  r,
349
- P,
349
+ M,
350
350
  ce,
351
351
  ue,
352
352
  me,
@@ -358,14 +358,14 @@ function We(e, n, t) {
358
358
  ye
359
359
  ];
360
360
  }
361
- class qe extends be {
361
+ class We extends be {
362
362
  constructor(n) {
363
363
  super(), ve(
364
364
  this,
365
365
  n,
366
- We,
366
+ Ge,
367
367
  Ie,
368
- Ne,
368
+ ke,
369
369
  {
370
370
  tournamenturl: 17,
371
371
  scrollby: 15,
@@ -429,7 +429,7 @@ class qe extends be {
429
429
  this.$$set({ mbsource: n }), T();
430
430
  }
431
431
  }
432
- ke(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
432
+ He(We, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
433
433
  export {
434
- qe as default
434
+ We as default
435
435
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-CYB8hngn.cjs");function _(l,t){e.addMessages(l,t)}const y={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function k(l){e.append_styles(l,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function P(l,t,n){const i=l.slice();return i[12]=t[n],i[14]=n,i}function b(l){let t,n=e.ensure_array_like(l[1]),i=[];for(let r=0;r<n.length;r+=1)i[r]=w(P(l,n,r));let a=null;return n.length||(a=v(l)),{c(){t=e.element("div");for(let r=0;r<i.length;r+=1)i[r].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(r,c){e.insert(r,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(r,c){if(c&6){n=e.ensure_array_like(r[1]);let s;for(s=0;s<n.length;s+=1){const d=P(r,n,s);i[s]?i[s].p(d,c):(i[s]=w(d),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(r,c):n.length?a&&(a.d(1),a=null):(a=v(r),a.c(),a.m(t,null))}},d(r){r&&e.detach(t),e.destroy_each(i,r),a&&a.d()}}}function v(l){let t,n=l[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,r){e.insert(a,t,r),e.append(t,i)},p(a,r){r&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function w(l){let t,n,i,a=(l[12].count>1?`${l[12].rank}~${l[12].rank+l[12].count-1}`:l[12].rank)+"",r,c,s=l[2]("place")+"",d,p,u=l[12].name+"",f,g;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),r=e.text(a),c=e.space(),d=e.text(s),p=e.text(": "),f=e.text(u),g=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+l[14]),e.attr(t,"part","Prize Prize"+l[14])},m(m,o){e.insert(m,t,o),e.append(t,n),e.append(n,i),e.append(i,r),e.append(n,c),e.append(n,d),e.append(n,p),e.append(n,f),e.append(t,g)},p(m,o){o&2&&a!==(a=(m[12].count>1?`${m[12].rank}~${m[12].rank+m[12].count-1}`:m[12].rank)+"")&&e.set_data(r,a),o&4&&s!==(s=m[2]("place")+"")&&e.set_data(d,s),o&2&&u!==(u=m[12].name+"")&&e.set_data(f,u)},d(m){m&&e.detach(t)}}}function S(l){let t,n,i,a,r,c=l[2]("prizes")+"",s,d,p=l[1]&&b(l);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),r=e.element("p"),s=e.text(c),d=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(r,"class","PrizesTitle"),e.attr(r,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(u,f){e.insert(u,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,r),e.append(r,s),e.append(t,d),p&&p.m(t,null),l[8](t)},p(u,[f]){f&4&&c!==(c=u[2]("prizes")+"")&&e.set_data(s,c),u[1]?p?p.p(u,f):(p=b(u),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),p&&p.d(),l[8](null)}}}function F(l,t,n){let i;e.component_subscribe(l,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,{mbsource:d}=t,p,u;const f=()=>{fetch(s).then(h=>h.json()).then(h=>{Object.keys(h).forEach(z=>{_(z,h[z])})}).catch(h=>{console.log(h)})};Object.keys(y).forEach(o=>{_(o,y[o])});const g=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,u=o.data.prizes)};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function m(o){e.binding_callbacks[o?"unshift":"push"](()=>{p=o,n(0,p)})}return l.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,r=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl),"mbsource"in o&&n(7,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty&17&&r&&p&&e.setClientStyling(p,r),l.$$.dirty&33&&c&&p&&e.setClientStylingURL(p,c),l.$$.dirty&129&&d&&p&&e.setStreamStyling(p,`${d}.Style`),l.$$.dirty&64&&s&&f()},[p,u,i,a,r,c,s,d,m]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,S,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6,mbsource:7},k)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(T,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-D4YOiTIa.cjs");function _(l,t){e.addMessages(l,t)}const y={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function k(l){e.append_styles(l,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function P(l,t,n){const i=l.slice();return i[12]=t[n],i[14]=n,i}function b(l){let t,n=e.ensure_array_like(l[1]),i=[];for(let r=0;r<n.length;r+=1)i[r]=w(P(l,n,r));let a=null;return n.length||(a=v(l)),{c(){t=e.element("div");for(let r=0;r<i.length;r+=1)i[r].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(r,c){e.insert(r,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(r,c){if(c&6){n=e.ensure_array_like(r[1]);let s;for(s=0;s<n.length;s+=1){const d=P(r,n,s);i[s]?i[s].p(d,c):(i[s]=w(d),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(r,c):n.length?a&&(a.d(1),a=null):(a=v(r),a.c(),a.m(t,null))}},d(r){r&&e.detach(t),e.destroy_each(i,r),a&&a.d()}}}function v(l){let t,n=l[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,r){e.insert(a,t,r),e.append(t,i)},p(a,r){r&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function w(l){let t,n,i,a=(l[12].count>1?`${l[12].rank}~${l[12].rank+l[12].count-1}`:l[12].rank)+"",r,c,s=l[2]("place")+"",d,p,u=l[12].name+"",f,g;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),r=e.text(a),c=e.space(),d=e.text(s),p=e.text(": "),f=e.text(u),g=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+l[14]),e.attr(t,"part","Prize Prize"+l[14])},m(m,o){e.insert(m,t,o),e.append(t,n),e.append(n,i),e.append(i,r),e.append(n,c),e.append(n,d),e.append(n,p),e.append(n,f),e.append(t,g)},p(m,o){o&2&&a!==(a=(m[12].count>1?`${m[12].rank}~${m[12].rank+m[12].count-1}`:m[12].rank)+"")&&e.set_data(r,a),o&4&&s!==(s=m[2]("place")+"")&&e.set_data(d,s),o&2&&u!==(u=m[12].name+"")&&e.set_data(f,u)},d(m){m&&e.detach(t)}}}function S(l){let t,n,i,a,r,c=l[2]("prizes")+"",s,d,p=l[1]&&b(l);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),r=e.element("p"),s=e.text(c),d=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(r,"class","PrizesTitle"),e.attr(r,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(u,f){e.insert(u,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,r),e.append(r,s),e.append(t,d),p&&p.m(t,null),l[8](t)},p(u,[f]){f&4&&c!==(c=u[2]("prizes")+"")&&e.set_data(s,c),u[1]?p?p.p(u,f):(p=b(u),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),p&&p.d(),l[8](null)}}}function F(l,t,n){let i;e.component_subscribe(l,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,{mbsource:d}=t,p,u;const f=()=>{fetch(s).then(h=>h.json()).then(h=>{Object.keys(h).forEach(z=>{_(z,h[z])})}).catch(h=>{console.log(h)})};Object.keys(y).forEach(o=>{_(o,y[o])});const g=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,u=o.data.prizes)};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function m(o){e.binding_callbacks[o?"unshift":"push"](()=>{p=o,n(0,p)})}return l.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,r=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl),"mbsource"in o&&n(7,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty&17&&r&&p&&e.setClientStyling(p,r),l.$$.dirty&33&&c&&p&&e.setClientStylingURL(p,c),l.$$.dirty&129&&d&&p&&e.setStreamStyling(p,`${d}.Style`),l.$$.dirty&64&&s&&f()},[p,u,i,a,r,c,s,d,m]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,S,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6,mbsource:7},k)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(T,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=T;