@everymatrix/casino-tournaments-controller 1.77.26 → 1.77.28

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 (56) hide show
  1. package/components/{CasinoTournamentsController-C0FF_73d.js → CasinoTournamentsController-4NKECleo.js} +1040 -1019
  2. package/components/{CasinoTournamentsController-r2__8NnX.js → CasinoTournamentsController-BzIkU4gG.js} +1133 -1112
  3. package/components/CasinoTournamentsController-CrJx0DPU.cjs +27 -0
  4. package/components/{CasinoTournamentsFilterController-C8xCBoW1.js → CasinoTournamentsFilterController-BJXo5lw5.js} +24 -24
  5. package/components/{CasinoTournamentsFilterController-D5J5YSd3.cjs → CasinoTournamentsFilterController-BXjEmlhu.cjs} +1 -1
  6. package/components/{CasinoTournamentsFilterController-BRdMVqnq.js → CasinoTournamentsFilterController-DysKLY6Z.js} +26 -26
  7. package/components/{CasinoTournamentsListController-dDb1r5RO.js → CasinoTournamentsListController-MrwaY3wY.js} +24 -24
  8. package/components/{CasinoTournamentsListController-CjosXm8y.cjs → CasinoTournamentsListController-Uk8QxEgk.cjs} +2 -2
  9. package/components/{CasinoTournamentsListController-C8qEbH_h.js → CasinoTournamentsListController-wNHGuTtf.js} +24 -24
  10. package/components/{CasinoTournamentsThumbnail-CY3bHA6V.js → CasinoTournamentsThumbnail-4wDa9P2j.js} +50 -50
  11. package/components/{CasinoTournamentsThumbnail-IzQdl2z_.js → CasinoTournamentsThumbnail-DmKiqEFq.js} +50 -50
  12. package/components/{CasinoTournamentsThumbnail-DVXhaI87.cjs → CasinoTournamentsThumbnail-o6xGY9Hg.cjs} +1 -1
  13. package/components/{CasinoTournamentsThumbnailController-39EXur7e.js → CasinoTournamentsThumbnailController-BfRaVAGD.js} +63 -63
  14. package/components/{CasinoTournamentsThumbnailController-CvrguUk6.cjs → CasinoTournamentsThumbnailController-BljsiLuu.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-D5dMwBIp.js → CasinoTournamentsThumbnailController-CnPLSoTa.js} +62 -62
  16. package/components/{CasinoTournamentsThumbnailDuration-fWJJJEG-.js → CasinoTournamentsThumbnailDuration-AVw5FRJW.js} +56 -56
  17. package/components/{CasinoTournamentsThumbnailDuration-BR3W7l9Q.js → CasinoTournamentsThumbnailDuration-DLvmvlHx.js} +58 -58
  18. package/components/{CasinoTournamentsThumbnailDuration-Bq-UCQ0o.cjs → CasinoTournamentsThumbnailDuration-cimzh7sh.cjs} +1 -1
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-CcEiIzwA.js → CasinoTournamentsThumbnailGamesSlider-Cx97lciL.js} +56 -56
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-DqYn0GTs.cjs → CasinoTournamentsThumbnailGamesSlider-P-Oevb1q.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-CrH9TJGf.js → CasinoTournamentsThumbnailGamesSlider-YvcZWj2f.js} +60 -60
  22. package/components/{CasinoTournamentsThumbnailPrizes-DK_nbsIT.cjs → CasinoTournamentsThumbnailPrizes-C2JT80WO.cjs} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-C7G0zqzv.js → CasinoTournamentsThumbnailPrizes-CTD53TLN.js} +38 -38
  24. package/components/{CasinoTournamentsThumbnailPrizes-BfBSjosy.js → CasinoTournamentsThumbnailPrizes-CtV_9-Sf.js} +37 -37
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  30. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  31. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  32. package/stencil/index-b2193545-BS7xFIk4.js +503 -0
  33. package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
  34. package/stencil/index-b2193545-rfNAj6ri.js +519 -0
  35. package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  36. package/stencil/{ui-image-CNrnXPP3.js → ui-image-CXqPvnQ2.js} +1 -1
  37. package/stencil/{ui-image-CDGN3Ekj.js → ui-image-DgbODkuX.js} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  41. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  42. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  43. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  44. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
  45. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
  46. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
  47. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
  48. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
  49. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
  50. package/components/CasinoTournamentsController-Co_0SmUO.cjs +0 -27
  51. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  52. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  53. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  54. package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
  55. package/stencil/index-b2193545-OH6E7v51.js +0 -519
  56. package/stencil/index-b2193545-eoIiLcDl.js +0 -503
@@ -1,4 +1,4 @@
1
- import { a as _e, S as be, i as ve, f as T, c as ke, s as Ne, b as Se, e as N, h as W, n as R, j as q, k as Te, o as Fe, l as Me, m as Pe, p as Y, q as C, d as c, K as A, J as K, L as Be, r as b, M as Ee, w as L, v as je, F as ne, t as Le, H as Z, u as He, I as ze, x as D, y as Ae, $ as Ce } from "./CasinoTournamentsController-r2__8NnX.js";
1
+ import { a as _e, S as be, i as ve, s as ke, f as T, b as Ne, n as R, d as G, e as W, g as N, k as Se, o as Te, l as Y, m as Fe, E as ne, K as H, J as K, q as b, L as Me, v as j, r as C, h as c, M as Pe, I as Be, u as D, p as Ee, G as Z, t as Le, x as je, y as ze, z as Ae, c as He, $ as Ce } from "./CasinoTournamentsController-BzIkU4gG.js";
2
2
  function Q(e, n) {
3
3
  _e(e, n);
4
4
  }
@@ -35,34 +35,34 @@ const V = {
35
35
  }
36
36
  };
37
37
  function Ie(e) {
38
- Se(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
38
+ Ne(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
39
39
  }
40
40
  function $(e, n, t) {
41
41
  const a = e.slice();
42
42
  return a[49] = n[t], a[51] = t, a;
43
43
  }
44
44
  function ee(e) {
45
- let n, t, a, d, h, p, y, s, w, _, f = Y(
45
+ let n, t, a, d, h, p, y, s, w, _, g = Y(
46
46
  /*games*/
47
47
  e[1]
48
48
  ), i = [];
49
- for (let r = 0; r < f.length; r += 1)
50
- i[r] = te($(e, f, r));
49
+ for (let r = 0; r < g.length; r += 1)
50
+ i[r] = te($(e, g, r));
51
51
  return {
52
52
  c() {
53
53
  n = N("div"), t = N("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = C(), d = N("main"), h = N("div");
54
54
  for (let r = 0; r < i.length; r += 1)
55
55
  i[r].c();
56
- y = C(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"), A(
56
+ 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
57
  t,
58
58
  "disabled",
59
59
  /*atStart*/
60
60
  e[8]
61
61
  ), c(h, "class", "items"), c(h, "part", "items"), K(h, "transform", "translateX(" + /*offset*/
62
- e[2] + "px)"), Be(() => (
62
+ e[2] + "px)"), Pe(() => (
63
63
  /*main_elementresize_handler*/
64
64
  e[29].call(d)
65
- )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), A(
65
+ )), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), H(
66
66
  s,
67
67
  "disabled",
68
68
  /*atEnd*/
@@ -73,18 +73,18 @@ function ee(e) {
73
73
  W(r, n, m), b(n, t), b(n, a), b(n, d), b(d, h);
74
74
  for (let u = 0; u < i.length; u += 1)
75
75
  i[u] && i[u].m(h, null);
76
- e[28](h), p = Ee(
76
+ e[28](h), p = Me(
77
77
  d,
78
78
  /*main_elementresize_handler*/
79
79
  e[29].bind(d)
80
80
  ), b(n, y), b(n, s), e[31](n), w || (_ = [
81
- L(
81
+ j(
82
82
  t,
83
83
  "click",
84
84
  /*click_handler*/
85
85
  e[24]
86
86
  ),
87
- L(
87
+ j(
88
88
  s,
89
89
  "click",
90
90
  /*click_handler_2*/
@@ -94,30 +94,30 @@ function ee(e) {
94
94
  },
95
95
  p(r, m) {
96
96
  if (m[0] & /*atStart*/
97
- 256 && A(
97
+ 256 && H(
98
98
  t,
99
99
  "disabled",
100
100
  /*atStart*/
101
101
  r[8]
102
102
  ), m[0] & /*gameClicked, games, enter, leave, hover, hoverIndex, $_*/
103
103
  23650) {
104
- f = Y(
104
+ g = Y(
105
105
  /*games*/
106
106
  r[1]
107
107
  );
108
108
  let u;
109
- for (u = 0; u < f.length; u += 1) {
110
- const k = $(r, f, u);
109
+ for (u = 0; u < g.length; u += 1) {
110
+ const k = $(r, g, u);
111
111
  i[u] ? i[u].p(k, m) : (i[u] = te(k), i[u].c(), i[u].m(h, null));
112
112
  }
113
113
  for (; u < i.length; u += 1)
114
114
  i[u].d(1);
115
- i.length = f.length;
115
+ i.length = g.length;
116
116
  }
117
117
  m[0] & /*offset*/
118
118
  4 && K(h, "transform", "translateX(" + /*offset*/
119
119
  r[2] + "px)"), m[0] & /*atEnd*/
120
- 512 && A(
120
+ 512 && H(
121
121
  s,
122
122
  "disabled",
123
123
  /*atEnd*/
@@ -125,7 +125,7 @@ function ee(e) {
125
125
  );
126
126
  },
127
127
  d(r) {
128
- r && q(n), je(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
128
+ r && G(n), Fe(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
129
129
  }
130
130
  };
131
131
  }
@@ -133,7 +133,7 @@ function te(e) {
133
133
  let n, t, a = (
134
134
  /*$_*/
135
135
  e[10]("playNow") + ""
136
- ), d, h, p, y, s, w, _, f, i, r, m;
136
+ ), d, h, p, y, s, w, _, g, i, r, m;
137
137
  function u() {
138
138
  return (
139
139
  /*click_handler_1*/
@@ -162,14 +162,14 @@ function te(e) {
162
162
  e[6] == /*i*/
163
163
  e[51] ? "itemHover" : "")), Z(s.src, w = /*game*/
164
164
  e[49].thumbnail) || c(s, "src", w), c(s, "width", "132px"), c(s, "height", "100px"), c(s, "alt", _ = /*game*/
165
- e[49].name), c(s, "title", f = /*game*/
165
+ e[49].name), c(s, "title", g = /*game*/
166
166
  e[49].name), c(n, "class", "item"), c(n, "part", "item");
167
167
  },
168
168
  m(v, o) {
169
169
  W(v, n, o), b(n, t), b(t, d), b(n, y), b(n, s), b(n, i), r || (m = [
170
- L(n, "click", u),
171
- L(n, "mouseenter", k),
172
- L(
170
+ j(n, "click", u),
171
+ j(n, "mouseenter", k),
172
+ j(
173
173
  n,
174
174
  "mouseleave",
175
175
  /*mouseleave_handler*/
@@ -180,7 +180,7 @@ function te(e) {
180
180
  p(v, o) {
181
181
  e = v, o[0] & /*$_*/
182
182
  1024 && a !== (a = /*$_*/
183
- e[10]("playNow") + "") && He(d, a), o[0] & /*hover, hoverIndex*/
183
+ e[10]("playNow") + "") && Ee(d, a), o[0] & /*hover, hoverIndex*/
184
184
  96 && h !== (h = "PlayNowButton " + /*hover*/
185
185
  (e[5] && /*hoverIndex*/
186
186
  e[6] == /*i*/
@@ -193,11 +193,11 @@ function te(e) {
193
193
  e[49].thumbnail) && c(s, "src", w), o[0] & /*games*/
194
194
  2 && _ !== (_ = /*game*/
195
195
  e[49].name) && c(s, "alt", _), o[0] & /*games*/
196
- 2 && f !== (f = /*game*/
197
- e[49].name) && c(s, "title", f);
196
+ 2 && g !== (g = /*game*/
197
+ e[49].name) && c(s, "title", g);
198
198
  },
199
199
  d(v) {
200
- v && q(n), r = !1, ne(m);
200
+ v && G(n), r = !1, ne(m);
201
201
  }
202
202
  };
203
203
  }
@@ -222,39 +222,39 @@ function Ue(e) {
222
222
  i: R,
223
223
  o: R,
224
224
  d(a) {
225
- a && q(n), t && t.d(), e[32](null);
225
+ a && G(n), t && t.d(), e[32](null);
226
226
  }
227
227
  };
228
228
  }
229
229
  let De = 30;
230
- function We(e, n, t) {
230
+ function Ge(e, n, t) {
231
231
  let a, d, h;
232
- Te(e, Ce, (l) => t(10, h = l));
233
- let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: f = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S, H = null, z = null, I = !1, U, P, B = 0, F;
232
+ Se(e, Ce, (l) => t(10, h = l));
233
+ 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, I = !1, U, P, B = 0, F;
234
234
  const le = () => {
235
- fetch(_).then((g) => g.json()).then((g) => {
236
- Object.keys(g).forEach((j) => {
237
- Q(j, g[j]);
235
+ fetch(_).then((f) => f.json()).then((f) => {
236
+ Object.keys(f).forEach((L) => {
237
+ Q(L, f[L]);
238
238
  });
239
- }).catch((g) => {
240
- console.log(g);
239
+ }).catch((f) => {
240
+ console.log(f);
241
241
  });
242
242
  };
243
243
  Object.keys(V).forEach((l) => {
244
244
  Q(l, V[l]);
245
245
  });
246
- const G = (l) => {
246
+ const q = (l) => {
247
247
  t(5, I = !0), t(6, U = l);
248
248
  }, x = () => {
249
249
  t(5, I = !1), t(6, U = -1);
250
250
  }, se = (l) => l.touches || l.originalEvent.touches, J = (l) => {
251
- const g = se(l)[0];
252
- H = g.clientX, z = g.clientY;
251
+ const f = se(l)[0];
252
+ z = f.clientX, A = f.clientY;
253
253
  }, O = (l) => {
254
- if (!H || !z)
254
+ if (!z || !A)
255
255
  return;
256
- let g = l.touches[0].clientX, j = l.touches[0].clientY, M = H - g, we = z - j;
257
- Math.abs(M) > Math.abs(we) && (M > 0 ? E(1) : E(-1)), H = null, z = null;
256
+ let f = l.touches[0].clientX, L = l.touches[0].clientY, M = z - f, we = A - L;
257
+ Math.abs(M) > Math.abs(we) && (M > 0 ? E(1) : E(-1)), z = null, A = null;
258
258
  }, E = (l) => {
259
259
  l > 0 && !d ? (t(2, o -= k), t(2, o = o < B ? B : o)) : l < 0 && !a && (t(2, o += k), t(2, o = o > 0 ? 0 : o));
260
260
  }, X = (l) => {
@@ -268,8 +268,8 @@ function We(e, n, t) {
268
268
  window.location.href
269
269
  );
270
270
  }, re = () => {
271
- let l = new URL(p), g = new Headers();
272
- l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${De},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform", ze(u)), fetch(l, { method: "GET", headers: g }).then((M) => M.json()).then((M) => {
271
+ let l = new URL(p), f = new Headers();
272
+ l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${De},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform", Be(u)), fetch(l, { method: "GET", headers: f }).then((M) => M.json()).then((M) => {
273
273
  t(1, v = M.item.games.items), M.item.games.total;
274
274
  });
275
275
  }, ae = () => {
@@ -284,19 +284,19 @@ function We(e, n, t) {
284
284
  }, oe = () => {
285
285
  F > 0 && F < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(F / s).toString());
286
286
  };
287
- Fe(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
287
+ Te(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
288
288
  S.removeEventListener("touchstart", J), S.removeEventListener("touchmove", O);
289
289
  }));
290
- const ce = () => E(-1), ue = (l) => X(l), me = (l) => G(l), de = () => x();
290
+ const ce = () => E(-1), ue = (l) => X(l), me = (l) => q(l), de = () => x();
291
291
  function he(l) {
292
292
  D[l ? "unshift" : "push"](() => {
293
293
  P = l, t(7, P);
294
294
  });
295
295
  }
296
- function fe() {
296
+ function ge() {
297
297
  F = this.clientWidth, t(4, F);
298
298
  }
299
- const ge = () => E(1);
299
+ const fe = () => E(1);
300
300
  function pe(l) {
301
301
  D[l ? "unshift" : "push"](() => {
302
302
  S = l, t(3, S);
@@ -308,7 +308,7 @@ function We(e, n, t) {
308
308
  });
309
309
  }
310
310
  return e.$$set = (l) => {
311
- "tournamenturl" in l && t(17, p = l.tournamenturl), "scrollby" in l && t(15, y = l.scrollby), "pagfactor" in l && t(16, s = l.pagfactor), "lang" in l && t(18, w = l.lang), "translationurl" in l && t(19, _ = l.translationurl), "clientstyling" in l && t(20, f = l.clientstyling), "clientstylingurl" in l && t(21, i = l.clientstylingurl), "mbsource" in l && t(22, r = l.mbsource);
311
+ "tournamenturl" in l && t(17, p = l.tournamenturl), "scrollby" in l && t(15, y = l.scrollby), "pagfactor" in l && t(16, s = l.pagfactor), "lang" in l && t(18, w = l.lang), "translationurl" in l && t(19, _ = l.translationurl), "clientstyling" in l && t(20, g = l.clientstyling), "clientstylingurl" in l && t(21, i = l.clientstylingurl), "mbsource" in l && t(22, r = l.mbsource);
312
312
  }, e.$$.update = () => {
313
313
  e.$$.dirty[0] & /*offset*/
314
314
  4 && t(8, a = o === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
@@ -318,9 +318,9 @@ function We(e, n, t) {
318
318
  8 && S && ae(), e.$$.dirty[0] & /*translationurl*/
319
319
  524288 && _ && le(), e.$$.dirty[0] & /*games*/
320
320
  2 && v.length && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
321
- 1048577 && f && m && Ae(m, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
322
- 2097153 && i && m && Me(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
323
- 4194305 && r && m && Pe(m, `${r}.Style`);
321
+ 1048577 && g && m && je(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
322
+ 2097153 && i && m && ze(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
323
+ 4194305 && r && m && Ae(m, `${r}.Style`);
324
324
  }, t(2, o = 0), [
325
325
  m,
326
326
  v,
@@ -333,7 +333,7 @@ function We(e, n, t) {
333
333
  a,
334
334
  d,
335
335
  h,
336
- G,
336
+ q,
337
337
  x,
338
338
  E,
339
339
  X,
@@ -342,7 +342,7 @@ function We(e, n, t) {
342
342
  p,
343
343
  w,
344
344
  _,
345
- f,
345
+ g,
346
346
  i,
347
347
  r,
348
348
  B,
@@ -351,20 +351,20 @@ function We(e, n, t) {
351
351
  me,
352
352
  de,
353
353
  he,
354
- fe,
355
354
  ge,
355
+ fe,
356
356
  pe,
357
357
  ye
358
358
  ];
359
359
  }
360
- class qe extends be {
360
+ class We extends be {
361
361
  constructor(n) {
362
362
  super(), ve(
363
363
  this,
364
364
  n,
365
- We,
365
+ Ge,
366
366
  Ue,
367
- Ne,
367
+ ke,
368
368
  {
369
369
  tournamenturl: 17,
370
370
  scrollby: 15,
@@ -428,7 +428,7 @@ class qe extends be {
428
428
  this.$$set({ mbsource: n }), T();
429
429
  }
430
430
  }
431
- ke(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
431
+ He(We, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
432
432
  export {
433
- qe as default
433
+ We as default
434
434
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-Co_0SmUO.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("./CasinoTournamentsController-CrJx0DPU.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,4 +1,4 @@
1
- import { a as L, S as C, i as Z, f as _, c as j, s as I, b as B, e as g, q as v, t as y, d as p, h as w, r as d, u as b, n as F, j as T, k as R, o as O, l as q, m as U, p as S, v as V, x as W, y as D, $ as G } from "./CasinoTournamentsController-C0FF_73d.js";
1
+ import { a as L, S as C, i as Z, s as j, f as _, b as I, n as F, d as w, m as b, c as T, p as d, e as g, q as v, t as y, g as p, j as B, o as R, k as S, l as O, r as q, w as U, x as V, y as W, z as D, $ as G } from "./CasinoTournamentsController-4NKECleo.js";
2
2
  function N(r, e) {
3
3
  L(r, e);
4
4
  }
@@ -60,7 +60,7 @@ const M = {
60
60
  }
61
61
  };
62
62
  function J(r) {
63
- B(r, "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)}");
63
+ I(r, "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)}");
64
64
  }
65
65
  function H(r, e, t) {
66
66
  const i = r.slice();
@@ -82,7 +82,7 @@ function x(r) {
82
82
  l && l.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
83
83
  },
84
84
  m(n, c) {
85
- w(n, e, c);
85
+ T(n, e, c);
86
86
  for (let s = 0; s < i.length; s += 1)
87
87
  i[s] && i[s].m(e, null);
88
88
  l && l.m(e, null);
@@ -105,7 +105,7 @@ function x(r) {
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && T(e), V(i, n), l && l.d();
108
+ n && w(e), O(i, n), l && l.d();
109
109
  }
110
110
  };
111
111
  }
@@ -119,7 +119,7 @@ function E(r) {
119
119
  e = g("p"), i = y(t);
120
120
  },
121
121
  m(l, n) {
122
- w(l, e, n), d(e, i);
122
+ T(l, e, n), d(e, i);
123
123
  },
124
124
  p(l, n) {
125
125
  n & /*$_*/
@@ -127,7 +127,7 @@ function E(r) {
127
127
  l[2]("noprizes") + "") && b(i, t);
128
128
  },
129
129
  d(l) {
130
- l && T(e);
130
+ l && w(e);
131
131
  }
132
132
  };
133
133
  }
@@ -147,33 +147,33 @@ function A(r) {
147
147
  ), f, o, u = (
148
148
  /*prize*/
149
149
  r[12].name + ""
150
- ), z, P;
150
+ ), m, P;
151
151
  return {
152
152
  c() {
153
- e = g("div"), t = g("p"), i = g("span"), n = y(l), c = v(), f = y(s), o = y(": "), z = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
153
+ e = g("div"), t = g("p"), i = g("span"), n = y(l), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
154
154
  r[14]), p(e, "part", "Prize Prize" + /*index*/
155
155
  r[14]);
156
156
  },
157
- m(m, a) {
158
- w(m, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, z), d(e, P);
157
+ m(z, a) {
158
+ T(z, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, m), d(e, P);
159
159
  },
160
- p(m, a) {
160
+ p(z, a) {
161
161
  a & /*prizes*/
162
162
  2 && l !== (l = /*prize*/
163
- (m[12].count > 1 ? `${/*prize*/
164
- m[12].rank}~${/*prize*/
165
- m[12].rank + /*prize*/
166
- m[12].count - 1}` : (
163
+ (z[12].count > 1 ? `${/*prize*/
164
+ z[12].rank}~${/*prize*/
165
+ z[12].rank + /*prize*/
166
+ z[12].count - 1}` : (
167
167
  /*prize*/
168
- m[12].rank
168
+ z[12].rank
169
169
  )) + "") && b(n, l), a & /*$_*/
170
170
  4 && s !== (s = /*$_*/
171
- m[2]("place") + "") && b(f, s), a & /*prizes*/
171
+ z[2]("place") + "") && b(f, s), a & /*prizes*/
172
172
  2 && u !== (u = /*prize*/
173
- m[12].name + "") && b(z, u);
173
+ z[12].name + "") && b(m, u);
174
174
  },
175
- d(m) {
176
- m && T(e);
175
+ d(z) {
176
+ z && w(e);
177
177
  }
178
178
  };
179
179
  }
@@ -189,27 +189,27 @@ function K(r) {
189
189
  c() {
190
190
  e = g("div"), t = g("div"), i = g("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>', l = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
191
191
  },
192
- m(u, z) {
193
- w(u, e, z), d(e, t), d(t, i), d(t, l), d(t, n), d(n, s), d(e, f), o && o.m(e, null), r[8](e);
192
+ m(u, m) {
193
+ T(u, e, m), d(e, t), d(t, i), d(t, l), d(t, n), d(n, s), d(e, f), o && o.m(e, null), r[8](e);
194
194
  },
195
- p(u, [z]) {
196
- z & /*$_*/
195
+ p(u, [m]) {
196
+ m & /*$_*/
197
197
  4 && c !== (c = /*$_*/
198
198
  u[2]("prizes") + "") && b(s, c), /*prizes*/
199
- u[1] ? o ? o.p(u, z) : (o = x(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
199
+ u[1] ? o ? o.p(u, m) : (o = x(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
200
200
  },
201
201
  i: F,
202
202
  o: F,
203
203
  d(u) {
204
- u && T(e), o && o.d(), r[8](null);
204
+ u && w(e), o && o.d(), r[8](null);
205
205
  }
206
206
  };
207
207
  }
208
208
  function Q(r, e, t) {
209
209
  let i;
210
- R(r, G, (a) => t(2, i = a));
210
+ B(r, G, (a) => t(2, i = a));
211
211
  let { tourid: l = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
212
- const z = () => {
212
+ const m = () => {
213
213
  fetch(s).then((h) => h.json()).then((h) => {
214
214
  Object.keys(h).forEach((k) => {
215
215
  N(k, h[k]);
@@ -224,11 +224,11 @@ function Q(r, e, t) {
224
224
  const P = (a) => {
225
225
  a.data && a.data.type == `TournamentPrizes_${l}` && t(1, u = a.data.prizes);
226
226
  };
227
- O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
227
+ R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
228
228
  window.removeEventListener("message", P);
229
229
  }));
230
- function m(a) {
231
- W[a ? "unshift" : "push"](() => {
230
+ function z(a) {
231
+ q[a ? "unshift" : "push"](() => {
232
232
  o = a, t(0, o);
233
233
  });
234
234
  }
@@ -236,10 +236,10 @@ function Q(r, e, t) {
236
236
  "tourid" in a && t(3, l = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
237
237
  }, r.$$.update = () => {
238
238
  r.$$.dirty & /*clientstyling, customStylingContainer*/
239
- 17 && n && o && D(o, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && o && q(o, c), r.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && o && U(o, `${f}.Style`), r.$$.dirty & /*translationurl*/
242
- 64 && s && z();
239
+ 17 && n && o && U(o, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
+ 33 && c && o && V(o, c), r.$$.dirty & /*mbsource, customStylingContainer*/
241
+ 129 && f && o && W(o, `${f}.Style`), r.$$.dirty & /*translationurl*/
242
+ 64 && s && m();
243
243
  }, [
244
244
  o,
245
245
  u,
@@ -249,7 +249,7 @@ function Q(r, e, t) {
249
249
  c,
250
250
  s,
251
251
  f,
252
- m
252
+ z
253
253
  ];
254
254
  }
255
255
  class X extends C {
@@ -259,7 +259,7 @@ class X extends C {
259
259
  e,
260
260
  Q,
261
261
  K,
262
- I,
262
+ j,
263
263
  {
264
264
  tourid: 3,
265
265
  clientstyling: 4,
@@ -301,7 +301,7 @@ class X extends C {
301
301
  this.$$set({ mbsource: e }), _();
302
302
  }
303
303
  }
304
- j(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
304
+ D(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
305
305
  export {
306
306
  X as default
307
307
  };