@everymatrix/casino-tournaments-page-controller 1.65.0 → 1.65.2

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 (61) hide show
  1. package/components/{CasinoTournamentsDetails-CrZw9MZh.js → CasinoTournamentsDetails-CFQUWbvj.js} +19 -19
  2. package/components/{CasinoTournamentsDetails-T8-0o9g0.js → CasinoTournamentsDetails-zOHDVY45.js} +19 -19
  3. package/components/{CasinoTournamentsPageController-DaqJVUzu.cjs → CasinoTournamentsPageController-BsbNFCug.cjs} +16 -16
  4. package/components/{CasinoTournamentsPageController-Cc5ERZfi.js → CasinoTournamentsPageController-CvIRnvOF.js} +1832 -1811
  5. package/components/{CasinoTournamentsPageController-Duaz3MBD.js → CasinoTournamentsPageController-DditZoZN.js} +1817 -1796
  6. package/components/{CasinoTournamentsRank-CVD6o_A-.js → CasinoTournamentsRank-COQkFUQW.js} +53 -53
  7. package/components/{CasinoTournamentsRank-Bge6VCcn.js → CasinoTournamentsRank-D48ge-V-.js} +53 -53
  8. package/components/{CasinoTournamentsTab-3_iy76Op.js → CasinoTournamentsTab-DQFmnoNK.js} +39 -39
  9. package/components/{CasinoTournamentsTab-CJVQX8ov.js → CasinoTournamentsTab-Fliuqza4.js} +32 -32
  10. package/components/{CasinoTournamentsTable-8bE-CO-E.cjs → CasinoTournamentsTable-B8y6CW60.cjs} +1 -1
  11. package/components/{CasinoTournamentsTable-0POhhnV1.js → CasinoTournamentsTable-BzrJtXiW.js} +81 -81
  12. package/components/{CasinoTournamentsTable-BUZu6L7E.js → CasinoTournamentsTable-D7UMQT7l.js} +81 -81
  13. package/components/{CasinoTournamentsThumbnail-Bjrv7yav.js → CasinoTournamentsThumbnail-D6gvraDN.js} +49 -49
  14. package/components/{CasinoTournamentsThumbnail-BO4wUnJz.js → CasinoTournamentsThumbnail-DNf2afeh.js} +49 -49
  15. package/components/{CasinoTournamentsThumbnail-DaS1BWvL.cjs → CasinoTournamentsThumbnail-cgfDLswI.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnailController-B0zPBHTx.js → CasinoTournamentsThumbnailController-BMELxEo5.js} +45 -45
  17. package/components/{CasinoTournamentsThumbnailController-C2_FFCKZ.cjs → CasinoTournamentsThumbnailController-D-l6DdPx.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnailController-D5qJH-fz.js → CasinoTournamentsThumbnailController-Pxp0gqob.js} +45 -45
  19. package/components/{CasinoTournamentsThumbnailDuration-DLyTPzlL.js → CasinoTournamentsThumbnailDuration-BnLEOvMZ.js} +50 -50
  20. package/components/{CasinoTournamentsThumbnailDuration-CNUbvOzq.cjs → CasinoTournamentsThumbnailDuration-DkEXX81i.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailDuration-D7_UIggy.js → CasinoTournamentsThumbnailDuration-DyywmubN.js} +50 -50
  22. package/components/{CasinoTournamentsThumbnailGamesSlider-BBMHne0S.js → CasinoTournamentsThumbnailGamesSlider-BUFYKK5e.js} +27 -27
  23. package/components/{CasinoTournamentsThumbnailGamesSlider-CNqm22fI.cjs → CasinoTournamentsThumbnailGamesSlider-CegmcJ5s.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailGamesSlider-CCQOrQfd.js → CasinoTournamentsThumbnailGamesSlider-quCoqaaj.js} +27 -27
  25. package/components/{CasinoTournamentsThumbnailPrizes-Bnrn33dD.js → CasinoTournamentsThumbnailPrizes-BX-g86WS.js} +35 -35
  26. package/components/{CasinoTournamentsThumbnailPrizes-F0aA2PLD.cjs → CasinoTournamentsThumbnailPrizes-DiHRdSPR.cjs} +1 -1
  27. package/components/{CasinoTournamentsThumbnailPrizes-DGF5sCXa.js → CasinoTournamentsThumbnailPrizes-WRaq3I_R.js} +35 -35
  28. package/components/{CasinoTournamentsThumbnailRule-CsWL7Ngu.js → CasinoTournamentsThumbnailRule-BjSWRQqE.js} +61 -61
  29. package/components/{CasinoTournamentsThumbnailRule-BU4HQy1J.cjs → CasinoTournamentsThumbnailRule-CFXCboYr.cjs} +1 -1
  30. package/components/{CasinoTournamentsThumbnailRule-Ocbm2BYX.js → CasinoTournamentsThumbnailRule-Ctb5ZR83.js} +61 -61
  31. package/es2015/casino-tournaments-page-controller.cjs +1 -1
  32. package/es2015/casino-tournaments-page-controller.js +1 -1
  33. package/esnext/casino-tournaments-page-controller.js +1 -1
  34. package/package.json +1 -1
  35. package/stencil/index-97d17652-BEnqZAxL.js +558 -0
  36. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  37. package/stencil/index-97d17652-WK_DbPS4.js +542 -0
  38. package/stencil/index-b2193545-BOMvxBzV.js +519 -0
  39. package/stencil/index-b2193545-CFn9dM-v.js +503 -0
  40. package/stencil/index-b2193545-DPygl1Qn.cjs +1 -0
  41. package/stencil/{ui-image-BdKD9mn4.js → ui-image-3hy4ZvUC.js} +1 -1
  42. package/stencil/{ui-image-Brhx0VeQ.js → ui-image-D0wxuPze.js} +1 -1
  43. package/stencil/{ui-image-DEQHOm9Q.cjs → ui-image-DE8MJHCZ.cjs} +1 -1
  44. package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  45. package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  46. package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  47. package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-B56t6kXT.js} +2 -2
  48. package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-BncuYpLi.js} +2 -2
  49. package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  50. package/stencil/{ui-skeleton-1cb75d00-CoUSUuCH.js → ui-skeleton-1cb75d00-B-R8GbLJ.js} +1 -1
  51. package/stencil/{ui-skeleton-1cb75d00-HdJyBz6W.cjs → ui-skeleton-1cb75d00-BTnhspbc.cjs} +1 -1
  52. package/stencil/{ui-skeleton-1cb75d00-DwCQPKmJ.js → ui-skeleton-1cb75d00-Dy30RNE6.js} +1 -1
  53. package/stencil/{ui-skeleton-DdjXy3Vl.js → ui-skeleton-CVBjRUvi.js} +2 -2
  54. package/stencil/{ui-skeleton-BhWinivj.js → ui-skeleton-RkXNxPG1.js} +2 -2
  55. package/stencil/{ui-skeleton-06DDwuG9.cjs → ui-skeleton-se83zfWh.cjs} +1 -1
  56. package/stencil/index-97d17652-BzQXAkmg.js +0 -558
  57. package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
  58. package/stencil/index-97d17652-mbOyENH9.js +0 -542
  59. package/stencil/index-b2193545-C2pLoBGJ.js +0 -503
  60. package/stencil/index-b2193545-CoXVDra7.js +0 -519
  61. package/stencil/index-b2193545-CwpolrjE.cjs +0 -1
@@ -1,7 +1,7 @@
1
- import { S as be, b as ve, f as M, c as ke, a as Ne, d as Se, l as S, h as I, n as X, j as W, k as Te, o as Fe, x as J, e as z, m as c, D as H, C as Y, E as Me, p as v, F as Ee, w as L, y as Pe, r as te, t as Be, z as Z, q as Le, A as D } from "./CasinoTournamentsDetails-CrZw9MZh.js";
2
- import { a as je, g as Ce, b as He } from "./CasinoTournamentsPageController-Duaz3MBD.js";
1
+ import { S as be, b as ve, s as ke, f as M, d as Ne, n as X, e as I, g as W, p as S, k as Se, o as Te, y as J, z as Fe, r as te, D as j, C as Y, m as v, E as Me, v as L, h as z, q as c, F as Ee, x as D, l as Pe, A as Z, t as Be, c as Le } from "./CasinoTournamentsDetails-CFQUWbvj.js";
2
+ import { a as Ce, g as He, b as je } from "./CasinoTournamentsPageController-DditZoZN.js";
3
3
  function K(e, l) {
4
- je(e, l);
4
+ Ce(e, l);
5
5
  }
6
6
  const Q = {
7
7
  en: {
@@ -36,7 +36,7 @@ const Q = {
36
36
  }
37
37
  };
38
38
  function ze(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 V(e, l, t) {
42
42
  const a = e.slice();
@@ -54,16 +54,16 @@ function $(e) {
54
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");
55
55
  for (let s = 0; s < o.length; s += 1)
56
56
  o[s].c();
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"), H(
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"), j(
58
58
  t,
59
59
  "disabled",
60
60
  /*atStart*/
61
61
  e[8]
62
62
  ), c(d, "class", "items"), c(d, "part", "items"), Y(d, "transform", "translateX(" + /*offset*/
63
- e[2] + "px)"), Me(() => (
63
+ e[2] + "px)"), Ee(() => (
64
64
  /*main_elementresize_handler*/
65
65
  e[28].call(m)
66
- )), c(r, "class", "SliderNavButton"), c(r, "part", "SliderNavButton"), H(
66
+ )), c(r, "class", "SliderNavButton"), c(r, "part", "SliderNavButton"), j(
67
67
  r,
68
68
  "disabled",
69
69
  /*atEnd*/
@@ -71,10 +71,10 @@ function $(e) {
71
71
  ), c(l, "class", "TournamentsGamesSlider"), c(l, "part", "TournamentsGamesSlider");
72
72
  },
73
73
  m(s, b) {
74
- I(s, l, b), v(l, t), v(l, a), v(l, m), v(m, d);
74
+ W(s, l, b), v(l, t), v(l, a), v(l, m), v(m, d);
75
75
  for (let i = 0; i < o.length; i += 1)
76
76
  o[i] && o[i].m(d, null);
77
- e[27](d), p = Ee(
77
+ e[27](d), p = Me(
78
78
  m,
79
79
  /*main_elementresize_handler*/
80
80
  e[28].bind(m)
@@ -95,7 +95,7 @@ function $(e) {
95
95
  },
96
96
  p(s, b) {
97
97
  if (b[0] & /*atStart*/
98
- 256 && H(
98
+ 256 && j(
99
99
  t,
100
100
  "disabled",
101
101
  /*atStart*/
@@ -118,7 +118,7 @@ function $(e) {
118
118
  b[0] & /*offset*/
119
119
  4 && Y(d, "transform", "translateX(" + /*offset*/
120
120
  s[2] + "px)"), b[0] & /*atEnd*/
121
- 512 && H(
121
+ 512 && j(
122
122
  r,
123
123
  "disabled",
124
124
  /*atEnd*/
@@ -126,7 +126,7 @@ function $(e) {
126
126
  );
127
127
  },
128
128
  d(s) {
129
- s && W(l), Pe(o, s), e[27](null), p(), e[30](null), w = !1, te(_);
129
+ s && I(l), Fe(o, s), e[27](null), p(), e[30](null), w = !1, te(_);
130
130
  }
131
131
  };
132
132
  }
@@ -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
- I(u, l, h), v(l, t), v(t, m), v(l, y), v(l, r), v(l, o), s || (b = [
170
+ W(u, l, h), v(l, t), v(t, m), 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,7 +181,7 @@ function ee(e) {
181
181
  p(u, h) {
182
182
  e = u, h[0] & /*$_*/
183
183
  1024 && a !== (a = /*$_*/
184
- e[10]("playNow") + "") && Le(m, a), h[0] & /*hover, hoverIndex*/
184
+ e[10]("playNow") + "") && Pe(m, a), h[0] & /*hover, hoverIndex*/
185
185
  96 && d !== (d = "PlayNowButton " + /*hover*/
186
186
  (e[5] && /*hoverIndex*/
187
187
  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 && W(l), s = !1, te(b);
201
+ u && I(l), s = !1, te(b);
202
202
  }
203
203
  };
204
204
  }
@@ -213,7 +213,7 @@ function Ae(e) {
213
213
  l = S("div"), t && t.c();
214
214
  },
215
215
  m(a, m) {
216
- I(a, l, m), t && t.m(l, null), e[31](l);
216
+ W(a, l, m), t && t.m(l, null), e[31](l);
217
217
  },
218
218
  p(a, m) {
219
219
  /*games*/
@@ -223,15 +223,15 @@ function Ae(e) {
223
223
  i: X,
224
224
  o: X,
225
225
  d(a) {
226
- a && W(l), t && t.d(), e[31](null);
226
+ a && I(l), t && t.d(), e[31](null);
227
227
  }
228
228
  };
229
229
  }
230
230
  let Ue = 30;
231
231
  function De(e, l, t) {
232
232
  let a, m, d;
233
- Te(e, He, (n) => t(10, d = n));
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, j = null, C = null, A = !1, U, E, P = 0, T;
233
+ Se(e, je, (n) => t(10, d = n));
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, C = null, H = null, A = !1, U, E, P = 0, T;
235
235
  const ne = () => {
236
236
  fetch(_).then((g) => g.json()).then((g) => {
237
237
  Object.keys(g).forEach((N) => {
@@ -250,12 +250,12 @@ function De(e, l, t) {
250
250
  t(5, A = !1), t(6, U = -1);
251
251
  }, le = (n) => n.touches || n.originalEvent.touches, x = (n) => {
252
252
  const g = le(n)[0];
253
- j = g.clientX, C = g.clientY;
253
+ C = g.clientX, H = g.clientY;
254
254
  }, O = (n) => {
255
- if (!j || !C)
255
+ if (!C || !H)
256
256
  return;
257
- let g = n.touches[0].clientX, N = n.touches[0].clientY, F = j - g, _e = C - N;
258
- Math.abs(F) > Math.abs(_e) && (F > 0 ? B(1) : B(-1)), j = null, C = null;
257
+ let g = n.touches[0].clientX, N = n.touches[0].clientY, F = C - g, _e = H - N;
258
+ Math.abs(F) > Math.abs(_e) && (F > 0 ? B(1) : B(-1)), C = null, H = null;
259
259
  }, B = (n) => {
260
260
  n > 0 && !m ? (t(2, u -= i), t(2, u = u < P ? P : u)) : n < 0 && !a && (t(2, u += i), t(2, u = u > 0 ? 0 : u));
261
261
  }, R = (n) => {
@@ -270,7 +270,7 @@ function De(e, l, t) {
270
270
  );
271
271
  }, se = () => {
272
272
  let n = new URL(p), g = new Headers();
273
- n.searchParams.append("expand", "games"), n.searchParams.append("pagination", `games(limit=${Ue},offset=${u})`), n.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), n.searchParams.append("language", w), n.searchParams.append("platform", Ce(b)), fetch(n, { method: "GET", headers: g }).then((F) => F.json()).then((F) => {
273
+ n.searchParams.append("expand", "games"), n.searchParams.append("pagination", `games(limit=${Ue},offset=${u})`), n.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), n.searchParams.append("language", w), n.searchParams.append("platform", He(b)), fetch(n, { method: "GET", headers: g }).then((F) => F.json()).then((F) => {
274
274
  t(1, k = F.item.games.items), F.item.games.total;
275
275
  });
276
276
  }, re = () => {
@@ -302,7 +302,7 @@ function De(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
- Fe(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
305
+ Te(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
306
306
  h.removeEventListener("touchstart", x), h.removeEventListener("touchmove", O);
307
307
  }));
308
308
  const ue = () => B(-1), me = (n) => R(n), de = (n) => q(n), he = () => G();
@@ -380,7 +380,7 @@ class Ie extends be {
380
380
  l,
381
381
  De,
382
382
  Ae,
383
- Ne,
383
+ ke,
384
384
  {
385
385
  tournamenturl: 17,
386
386
  scrollby: 15,
@@ -437,7 +437,7 @@ class Ie extends be {
437
437
  this.$$set({ clientstylingurl: l }), M();
438
438
  }
439
439
  }
440
- ke(Ie, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
440
+ Le(Ie, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
441
441
  export {
442
442
  Ie as default
443
443
  };
@@ -1,5 +1,5 @@
1
- import { S as C, b as Z, f as b, c as j, a as I, d as R, l as g, e as w, t as _, m as u, h as k, p as f, q as v, n as M, j as F, k as B, o as O, x as N, y as U, A as q } from "./CasinoTournamentsDetails-T8-0o9g0.js";
2
- import { a as V, b as W } from "./CasinoTournamentsPageController-Cc5ERZfi.js";
1
+ import { S as A, b as Z, s as I, f as b, d as R, n as M, e as k, l as v, g as F, m as f, p as g, h as w, t as _, q as u, k as j, o as B, y as N, z as O, x as U, c as q } from "./CasinoTournamentsDetails-CFQUWbvj.js";
2
+ import { a as V, b as W } from "./CasinoTournamentsPageController-DditZoZN.js";
3
3
  function H(l, e) {
4
4
  V(l, e);
5
5
  }
@@ -73,7 +73,7 @@ function L(l) {
73
73
  l[1]
74
74
  ), n = [];
75
75
  for (let i = 0; i < t.length; i += 1)
76
- n[i] = A(E(l, t, i));
76
+ n[i] = C(E(l, t, i));
77
77
  let r = null;
78
78
  return t.length || (r = x(l)), {
79
79
  c() {
@@ -83,7 +83,7 @@ function L(l) {
83
83
  r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
84
84
  },
85
85
  m(i, p) {
86
- k(i, e, p);
86
+ F(i, e, p);
87
87
  for (let s = 0; s < n.length; s += 1)
88
88
  n[s] && n[s].m(e, null);
89
89
  r && r.m(e, null);
@@ -98,7 +98,7 @@ function L(l) {
98
98
  let s;
99
99
  for (s = 0; s < t.length; s += 1) {
100
100
  const c = E(i, t, s);
101
- n[s] ? n[s].p(c, p) : (n[s] = A(c), n[s].c(), n[s].m(e, null));
101
+ n[s] ? n[s].p(c, p) : (n[s] = C(c), n[s].c(), n[s].m(e, null));
102
102
  }
103
103
  for (; s < n.length; s += 1)
104
104
  n[s].d(1);
@@ -106,7 +106,7 @@ function L(l) {
106
106
  }
107
107
  },
108
108
  d(i) {
109
- i && F(e), U(n, i), r && r.d();
109
+ i && k(e), O(n, i), r && r.d();
110
110
  }
111
111
  };
112
112
  }
@@ -120,7 +120,7 @@ function x(l) {
120
120
  e = g("p"), n = _(t);
121
121
  },
122
122
  m(r, i) {
123
- k(r, e, i), f(e, n);
123
+ F(r, e, i), f(e, n);
124
124
  },
125
125
  p(r, i) {
126
126
  i & /*$_*/
@@ -128,11 +128,11 @@ function x(l) {
128
128
  r[2]("noprizes") + "") && v(n, t);
129
129
  },
130
130
  d(r) {
131
- r && F(e);
131
+ r && k(e);
132
132
  }
133
133
  };
134
134
  }
135
- function A(l) {
135
+ function C(l) {
136
136
  let e, t, n, r = (
137
137
  /*prize*/
138
138
  (l[13].count > 1 ? `${/*prize*/
@@ -148,15 +148,15 @@ function A(l) {
148
148
  ), c, o, d = (
149
149
  /*prize*/
150
150
  l[13].name + ""
151
- ), m, T;
151
+ ), z, T;
152
152
  return {
153
153
  c() {
154
- e = g("div"), t = g("p"), n = g("span"), i = _(r), p = w(), c = _(s), o = _(": "), m = _(d), T = w(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
154
+ e = g("div"), t = g("p"), n = g("span"), i = _(r), p = w(), c = _(s), o = _(": "), z = _(d), T = w(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
155
155
  l[15]), u(e, "part", "Prize Prize" + /*index*/
156
156
  l[15]);
157
157
  },
158
158
  m(h, y) {
159
- k(h, e, y), f(e, t), f(t, n), f(n, i), f(t, p), f(t, c), f(t, o), f(t, m), f(e, T);
159
+ F(h, e, y), f(e, t), f(t, n), f(n, i), f(t, p), f(t, c), f(t, o), f(t, z), f(e, T);
160
160
  },
161
161
  p(h, y) {
162
162
  y & /*prizes*/
@@ -171,10 +171,10 @@ function A(l) {
171
171
  4 && s !== (s = /*$_*/
172
172
  h[2]("place") + "") && v(c, s), y & /*prizes*/
173
173
  2 && d !== (d = /*prize*/
174
- h[13].name + "") && v(m, d);
174
+ h[13].name + "") && v(z, d);
175
175
  },
176
176
  d(h) {
177
- h && F(e);
177
+ h && k(e);
178
178
  }
179
179
  };
180
180
  }
@@ -190,49 +190,49 @@ function G(l) {
190
190
  c() {
191
191
  e = g("div"), t = g("div"), n = g("span"), n.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>', r = w(), i = g("p"), s = _(p), c = w(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
192
192
  },
193
- m(d, m) {
194
- k(d, e, m), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, c), o && o.m(e, null), l[7](e);
193
+ m(d, z) {
194
+ F(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, c), o && o.m(e, null), l[7](e);
195
195
  },
196
- p(d, [m]) {
197
- m & /*$_*/
196
+ p(d, [z]) {
197
+ z & /*$_*/
198
198
  4 && p !== (p = /*$_*/
199
199
  d[2]("prizes") + "") && v(s, p), /*prizes*/
200
- d[1] ? o ? o.p(d, m) : (o = L(d), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
200
+ d[1] ? o ? o.p(d, z) : (o = L(d), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
201
201
  },
202
202
  i: M,
203
203
  o: M,
204
204
  d(d) {
205
- d && F(e), o && o.d(), l[7](null);
205
+ d && k(e), o && o.d(), l[7](null);
206
206
  }
207
207
  };
208
208
  }
209
209
  function J(l, e, t) {
210
210
  let n;
211
- B(l, W, (a) => t(2, n = a));
211
+ j(l, W, (a) => t(2, n = a));
212
212
  let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: s = "" } = e, c, o;
213
213
  const d = () => {
214
- fetch(s).then((z) => z.json()).then((z) => {
215
- Object.keys(z).forEach((P) => {
216
- H(P, z[P]);
214
+ fetch(s).then((m) => m.json()).then((m) => {
215
+ Object.keys(m).forEach((P) => {
216
+ H(P, m[P]);
217
217
  });
218
- }).catch((z) => {
219
- console.log(z);
218
+ }).catch((m) => {
219
+ console.log(m);
220
220
  });
221
221
  };
222
222
  Object.keys(S).forEach((a) => {
223
223
  H(a, S[a]);
224
224
  });
225
- const m = (a) => {
225
+ const z = (a) => {
226
226
  a.data && a.data.type == `TournamentPrizes_${r}` && t(1, o = a.data.prizes);
227
227
  }, T = () => {
228
228
  let a = document.createElement("style");
229
229
  a.innerHTML = i, c.appendChild(a);
230
230
  }, h = () => {
231
- let a = new URL(p), z = document.createElement("style");
231
+ let a = new URL(p), m = document.createElement("style");
232
232
  fetch(a.href).then((P) => P.text()).then((P) => {
233
- z.innerHTML = P, setTimeout(
233
+ m.innerHTML = P, setTimeout(
234
234
  () => {
235
- c.appendChild(z);
235
+ c.appendChild(m);
236
236
  },
237
237
  1
238
238
  ), setTimeout(
@@ -242,11 +242,11 @@ function J(l, e, t) {
242
242
  );
243
243
  });
244
244
  };
245
- O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", m, !1), () => {
246
- window.removeEventListener("message", m);
245
+ B(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
246
+ window.removeEventListener("message", z);
247
247
  }));
248
248
  function y(a) {
249
- q[a ? "unshift" : "push"](() => {
249
+ U[a ? "unshift" : "push"](() => {
250
250
  c = a, t(0, c);
251
251
  });
252
252
  }
@@ -268,7 +268,7 @@ function J(l, e, t) {
268
268
  y
269
269
  ];
270
270
  }
271
- class K extends C {
271
+ class K extends A {
272
272
  constructor(e) {
273
273
  super(), Z(
274
274
  this,
@@ -310,7 +310,7 @@ class K extends C {
310
310
  this.$$set({ translationurl: e }), b();
311
311
  }
312
312
  }
313
- j(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
313
+ q(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
314
314
  export {
315
315
  K as default
316
316
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-Cfdgdrwr.cjs"),k=require("./CasinoTournamentsPageController-DaqJVUzu.cjs");function y(l,t){k.addMessages(l,t)}const P={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 M(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 T(l,t,n){const i=l.slice();return i[13]=t[n],i[15]=n,i}function v(l){let t,n=e.ensure_array_like(l[1]),i=[];for(let r=0;r<n.length;r+=1)i[r]=w(T(l,n,r));let a=null;return n.length||(a=b(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 u=T(r,n,s);i[s]?i[s].p(u,c):(i[s]=w(u),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=b(r),a.c(),a.m(t,null))}},d(r){r&&e.detach(t),e.destroy_each(i,r),a&&a.d()}}}function b(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[13].count>1?`${l[13].rank}~${l[13].rank+l[13].count-1}`:l[13].rank)+"",r,c,s=l[2]("place")+"",u,p,d=l[13].name+"",m,_;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),r=e.text(a),c=e.space(),u=e.text(s),p=e.text(": "),m=e.text(d),_=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[15]),e.attr(t,"part","Prize Prize"+l[15])},m(h,z){e.insert(h,t,z),e.append(t,n),e.append(n,i),e.append(i,r),e.append(n,c),e.append(n,u),e.append(n,p),e.append(n,m),e.append(t,_)},p(h,z){z&2&&a!==(a=(h[13].count>1?`${h[13].rank}~${h[13].rank+h[13].count-1}`:h[13].rank)+"")&&e.set_data(r,a),z&4&&s!==(s=h[2]("place")+"")&&e.set_data(u,s),z&2&&d!==(d=h[13].name+"")&&e.set_data(m,d)},d(h){h&&e.detach(t)}}}function N(l){let t,n,i,a,r,c=l[2]("prizes")+"",s,u,p=l[1]&&v(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),u=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(d,m){e.insert(d,t,m),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,r),e.append(r,s),e.append(t,u),p&&p.m(t,null),l[7](t)},p(d,[m]){m&4&&c!==(c=d[2]("prizes")+"")&&e.set_data(s,c),d[1]?p?p.p(d,m):(p=v(d),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),p&&p.d(),l[7](null)}}}function S(l,t,n){let i;e.component_subscribe(l,k.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,u,p;const d=()=>{fetch(s).then(f=>f.json()).then(f=>{Object.keys(f).forEach(g=>{y(g,f[g])})}).catch(f=>{console.log(f)})};Object.keys(P).forEach(o=>{y(o,P[o])});const m=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,p=o.data.prizes)},_=()=>{let o=document.createElement("style");o.innerHTML=r,u.appendChild(o)},h=()=>{let o=new URL(c),f=document.createElement("style");fetch(o.href).then(g=>g.text()).then(g=>{f.innerHTML=g,setTimeout(()=>{u.appendChild(f)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));function z(o){e.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}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)},l.$$.update=()=>{l.$$.dirty&17&&u&&r&&_(),l.$$.dirty&33&&u&&c&&h(),l.$$.dirty&64&&s&&d()},[u,p,i,a,r,c,s,z]}class F extends e.SvelteComponent{constructor(t){super(),e.init(this,t,S,N,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6},M)}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()}}e.create_custom_element(F,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-Cfdgdrwr.cjs"),k=require("./CasinoTournamentsPageController-BsbNFCug.cjs");function y(l,t){k.addMessages(l,t)}const P={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 M(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 T(l,t,n){const i=l.slice();return i[13]=t[n],i[15]=n,i}function v(l){let t,n=e.ensure_array_like(l[1]),i=[];for(let r=0;r<n.length;r+=1)i[r]=w(T(l,n,r));let a=null;return n.length||(a=b(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 u=T(r,n,s);i[s]?i[s].p(u,c):(i[s]=w(u),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=b(r),a.c(),a.m(t,null))}},d(r){r&&e.detach(t),e.destroy_each(i,r),a&&a.d()}}}function b(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[13].count>1?`${l[13].rank}~${l[13].rank+l[13].count-1}`:l[13].rank)+"",r,c,s=l[2]("place")+"",u,p,d=l[13].name+"",m,_;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),r=e.text(a),c=e.space(),u=e.text(s),p=e.text(": "),m=e.text(d),_=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[15]),e.attr(t,"part","Prize Prize"+l[15])},m(h,z){e.insert(h,t,z),e.append(t,n),e.append(n,i),e.append(i,r),e.append(n,c),e.append(n,u),e.append(n,p),e.append(n,m),e.append(t,_)},p(h,z){z&2&&a!==(a=(h[13].count>1?`${h[13].rank}~${h[13].rank+h[13].count-1}`:h[13].rank)+"")&&e.set_data(r,a),z&4&&s!==(s=h[2]("place")+"")&&e.set_data(u,s),z&2&&d!==(d=h[13].name+"")&&e.set_data(m,d)},d(h){h&&e.detach(t)}}}function N(l){let t,n,i,a,r,c=l[2]("prizes")+"",s,u,p=l[1]&&v(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),u=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(d,m){e.insert(d,t,m),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,r),e.append(r,s),e.append(t,u),p&&p.m(t,null),l[7](t)},p(d,[m]){m&4&&c!==(c=d[2]("prizes")+"")&&e.set_data(s,c),d[1]?p?p.p(d,m):(p=v(d),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),p&&p.d(),l[7](null)}}}function S(l,t,n){let i;e.component_subscribe(l,k.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,u,p;const d=()=>{fetch(s).then(f=>f.json()).then(f=>{Object.keys(f).forEach(g=>{y(g,f[g])})}).catch(f=>{console.log(f)})};Object.keys(P).forEach(o=>{y(o,P[o])});const m=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,p=o.data.prizes)},_=()=>{let o=document.createElement("style");o.innerHTML=r,u.appendChild(o)},h=()=>{let o=new URL(c),f=document.createElement("style");fetch(o.href).then(g=>g.text()).then(g=>{f.innerHTML=g,setTimeout(()=>{u.appendChild(f)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));function z(o){e.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}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)},l.$$.update=()=>{l.$$.dirty&17&&u&&r&&_(),l.$$.dirty&33&&u&&c&&h(),l.$$.dirty&64&&s&&d()},[u,p,i,a,r,c,s,z]}class F extends e.SvelteComponent{constructor(t){super(),e.init(this,t,S,N,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6},M)}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()}}e.create_custom_element(F,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=F;
@@ -1,5 +1,5 @@
1
- import { S as C, b as Z, f as b, c as j, a as I, d as R, l as g, e as w, t as _, m as u, h as k, p as f, q as v, n as M, j as F, k as B, o as O, x as N, y as U, A as q } from "./CasinoTournamentsDetails-CrZw9MZh.js";
2
- import { a as V, b as W } from "./CasinoTournamentsPageController-Duaz3MBD.js";
1
+ import { S as A, b as Z, s as I, f as b, d as R, n as M, e as k, l as v, g as F, m as f, p as g, h as w, t as _, q as u, k as j, o as B, y as N, z as O, x as U, c as q } from "./CasinoTournamentsDetails-zOHDVY45.js";
2
+ import { a as V, b as W } from "./CasinoTournamentsPageController-CvIRnvOF.js";
3
3
  function H(l, e) {
4
4
  V(l, e);
5
5
  }
@@ -73,7 +73,7 @@ function L(l) {
73
73
  l[1]
74
74
  ), n = [];
75
75
  for (let i = 0; i < t.length; i += 1)
76
- n[i] = A(E(l, t, i));
76
+ n[i] = C(E(l, t, i));
77
77
  let r = null;
78
78
  return t.length || (r = x(l)), {
79
79
  c() {
@@ -83,7 +83,7 @@ function L(l) {
83
83
  r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
84
84
  },
85
85
  m(i, p) {
86
- k(i, e, p);
86
+ F(i, e, p);
87
87
  for (let s = 0; s < n.length; s += 1)
88
88
  n[s] && n[s].m(e, null);
89
89
  r && r.m(e, null);
@@ -98,7 +98,7 @@ function L(l) {
98
98
  let s;
99
99
  for (s = 0; s < t.length; s += 1) {
100
100
  const c = E(i, t, s);
101
- n[s] ? n[s].p(c, p) : (n[s] = A(c), n[s].c(), n[s].m(e, null));
101
+ n[s] ? n[s].p(c, p) : (n[s] = C(c), n[s].c(), n[s].m(e, null));
102
102
  }
103
103
  for (; s < n.length; s += 1)
104
104
  n[s].d(1);
@@ -106,7 +106,7 @@ function L(l) {
106
106
  }
107
107
  },
108
108
  d(i) {
109
- i && F(e), U(n, i), r && r.d();
109
+ i && k(e), O(n, i), r && r.d();
110
110
  }
111
111
  };
112
112
  }
@@ -120,7 +120,7 @@ function x(l) {
120
120
  e = g("p"), n = _(t);
121
121
  },
122
122
  m(r, i) {
123
- k(r, e, i), f(e, n);
123
+ F(r, e, i), f(e, n);
124
124
  },
125
125
  p(r, i) {
126
126
  i & /*$_*/
@@ -128,11 +128,11 @@ function x(l) {
128
128
  r[2]("noprizes") + "") && v(n, t);
129
129
  },
130
130
  d(r) {
131
- r && F(e);
131
+ r && k(e);
132
132
  }
133
133
  };
134
134
  }
135
- function A(l) {
135
+ function C(l) {
136
136
  let e, t, n, r = (
137
137
  /*prize*/
138
138
  (l[13].count > 1 ? `${/*prize*/
@@ -148,15 +148,15 @@ function A(l) {
148
148
  ), c, o, d = (
149
149
  /*prize*/
150
150
  l[13].name + ""
151
- ), m, T;
151
+ ), z, T;
152
152
  return {
153
153
  c() {
154
- e = g("div"), t = g("p"), n = g("span"), i = _(r), p = w(), c = _(s), o = _(": "), m = _(d), T = w(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
154
+ e = g("div"), t = g("p"), n = g("span"), i = _(r), p = w(), c = _(s), o = _(": "), z = _(d), T = w(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
155
155
  l[15]), u(e, "part", "Prize Prize" + /*index*/
156
156
  l[15]);
157
157
  },
158
158
  m(h, y) {
159
- k(h, e, y), f(e, t), f(t, n), f(n, i), f(t, p), f(t, c), f(t, o), f(t, m), f(e, T);
159
+ F(h, e, y), f(e, t), f(t, n), f(n, i), f(t, p), f(t, c), f(t, o), f(t, z), f(e, T);
160
160
  },
161
161
  p(h, y) {
162
162
  y & /*prizes*/
@@ -171,10 +171,10 @@ function A(l) {
171
171
  4 && s !== (s = /*$_*/
172
172
  h[2]("place") + "") && v(c, s), y & /*prizes*/
173
173
  2 && d !== (d = /*prize*/
174
- h[13].name + "") && v(m, d);
174
+ h[13].name + "") && v(z, d);
175
175
  },
176
176
  d(h) {
177
- h && F(e);
177
+ h && k(e);
178
178
  }
179
179
  };
180
180
  }
@@ -190,49 +190,49 @@ function G(l) {
190
190
  c() {
191
191
  e = g("div"), t = g("div"), n = g("span"), n.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>', r = w(), i = g("p"), s = _(p), c = w(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
192
192
  },
193
- m(d, m) {
194
- k(d, e, m), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, c), o && o.m(e, null), l[7](e);
193
+ m(d, z) {
194
+ F(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, c), o && o.m(e, null), l[7](e);
195
195
  },
196
- p(d, [m]) {
197
- m & /*$_*/
196
+ p(d, [z]) {
197
+ z & /*$_*/
198
198
  4 && p !== (p = /*$_*/
199
199
  d[2]("prizes") + "") && v(s, p), /*prizes*/
200
- d[1] ? o ? o.p(d, m) : (o = L(d), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
200
+ d[1] ? o ? o.p(d, z) : (o = L(d), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
201
201
  },
202
202
  i: M,
203
203
  o: M,
204
204
  d(d) {
205
- d && F(e), o && o.d(), l[7](null);
205
+ d && k(e), o && o.d(), l[7](null);
206
206
  }
207
207
  };
208
208
  }
209
209
  function J(l, e, t) {
210
210
  let n;
211
- B(l, W, (a) => t(2, n = a));
211
+ j(l, W, (a) => t(2, n = a));
212
212
  let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: s = "" } = e, c, o;
213
213
  const d = () => {
214
- fetch(s).then((z) => z.json()).then((z) => {
215
- Object.keys(z).forEach((P) => {
216
- H(P, z[P]);
214
+ fetch(s).then((m) => m.json()).then((m) => {
215
+ Object.keys(m).forEach((P) => {
216
+ H(P, m[P]);
217
217
  });
218
- }).catch((z) => {
219
- console.log(z);
218
+ }).catch((m) => {
219
+ console.log(m);
220
220
  });
221
221
  };
222
222
  Object.keys(S).forEach((a) => {
223
223
  H(a, S[a]);
224
224
  });
225
- const m = (a) => {
225
+ const z = (a) => {
226
226
  a.data && a.data.type == `TournamentPrizes_${r}` && t(1, o = a.data.prizes);
227
227
  }, T = () => {
228
228
  let a = document.createElement("style");
229
229
  a.innerHTML = i, c.appendChild(a);
230
230
  }, h = () => {
231
- let a = new URL(p), z = document.createElement("style");
231
+ let a = new URL(p), m = document.createElement("style");
232
232
  fetch(a.href).then((P) => P.text()).then((P) => {
233
- z.innerHTML = P, setTimeout(
233
+ m.innerHTML = P, setTimeout(
234
234
  () => {
235
- c.appendChild(z);
235
+ c.appendChild(m);
236
236
  },
237
237
  1
238
238
  ), setTimeout(
@@ -242,11 +242,11 @@ function J(l, e, t) {
242
242
  );
243
243
  });
244
244
  };
245
- O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", m, !1), () => {
246
- window.removeEventListener("message", m);
245
+ B(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
246
+ window.removeEventListener("message", z);
247
247
  }));
248
248
  function y(a) {
249
- q[a ? "unshift" : "push"](() => {
249
+ U[a ? "unshift" : "push"](() => {
250
250
  c = a, t(0, c);
251
251
  });
252
252
  }
@@ -268,7 +268,7 @@ function J(l, e, t) {
268
268
  y
269
269
  ];
270
270
  }
271
- class K extends C {
271
+ class K extends A {
272
272
  constructor(e) {
273
273
  super(), Z(
274
274
  this,
@@ -310,7 +310,7 @@ class K extends C {
310
310
  this.$$set({ translationurl: e }), b();
311
311
  }
312
312
  }
313
- j(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
313
+ q(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
314
314
  export {
315
315
  K as default
316
316
  };