@everymatrix/casino-tournaments-page-controller 1.94.20 → 1.94.21

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 (27) hide show
  1. package/components/{CasinoTournamentsDetails-C93ESoLW.js → CasinoTournamentsDetails-BR4Lw1_e.js} +20 -20
  2. package/components/{CasinoTournamentsDetails-B3eezSw9.js → CasinoTournamentsDetails-PFnJ_OdE.js} +20 -20
  3. package/components/{CasinoTournamentsPageController-BEoxppZY.js → CasinoTournamentsPageController-BaLiSneC.js} +50 -50
  4. package/components/{CasinoTournamentsPageController-BkeYysYH.js → CasinoTournamentsPageController-DpQc24NO.js} +50 -50
  5. package/components/{CasinoTournamentsRank-BwROkRzo.js → CasinoTournamentsRank-Cnt0bXtG.js} +37 -37
  6. package/components/{CasinoTournamentsRank-DlNqXtgb.js → CasinoTournamentsRank-DNYbLNzE.js} +42 -42
  7. package/components/{CasinoTournamentsTab-C4v_nyLi.js → CasinoTournamentsTab-Cd3M_jtS.js} +27 -27
  8. package/components/{CasinoTournamentsTab-Bh1ztbzS.js → CasinoTournamentsTab-Ce6HOaFR.js} +35 -35
  9. package/components/{CasinoTournamentsTable-BZEGLZKU.js → CasinoTournamentsTable-BZcvhH96.js} +22 -22
  10. package/components/{CasinoTournamentsTable-BgTfrZ2t.js → CasinoTournamentsTable-CxR42Ea4.js} +22 -22
  11. package/components/{CasinoTournamentsThumbnail-yHEAdNZf.js → CasinoTournamentsThumbnail-AMu-mAA5.js} +24 -24
  12. package/components/{CasinoTournamentsThumbnail-D99txAC8.js → CasinoTournamentsThumbnail-APr-Vv-a.js} +29 -29
  13. package/components/{CasinoTournamentsThumbnailController-Cl115kQZ.js → CasinoTournamentsThumbnailController-BJw8XdmQ.js} +40 -40
  14. package/components/{CasinoTournamentsThumbnailController-DifMHtOP.js → CasinoTournamentsThumbnailController-C8OHBkEV.js} +41 -41
  15. package/components/{CasinoTournamentsThumbnailDuration-abUbEVWP.js → CasinoTournamentsThumbnailDuration-Csc9NvUB.js} +28 -28
  16. package/components/{CasinoTournamentsThumbnailDuration-wvtd8mff.js → CasinoTournamentsThumbnailDuration-DBcYG30e.js} +33 -33
  17. package/components/{CasinoTournamentsThumbnailGames-B2GsgYmM.js → CasinoTournamentsThumbnailGames-Bo0RfRKf.js} +31 -31
  18. package/components/{CasinoTournamentsThumbnailGames-Coq0eSw2.js → CasinoTournamentsThumbnailGames-DEnpWA5U.js} +51 -51
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-DM0StDVK.js → CasinoTournamentsThumbnailGamesSlider-BGcSN7aa.js} +46 -46
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-BHZ2ZM8D.js → CasinoTournamentsThumbnailGamesSlider-BlwqKAP6.js} +61 -61
  21. package/components/{CasinoTournamentsThumbnailPrizes-Dfm8hYbg.js → CasinoTournamentsThumbnailPrizes-BMfnYSZO.js} +78 -78
  22. package/components/{CasinoTournamentsThumbnailPrizes-CUmxyz9i.js → CasinoTournamentsThumbnailPrizes-BrzBc2fg.js} +100 -100
  23. package/components/{CasinoTournamentsThumbnailRule-TybIx7pC.js → CasinoTournamentsThumbnailRule-fwP9WVC9.js} +10 -10
  24. package/components/{CasinoTournamentsThumbnailRule-B----bW3.js → CasinoTournamentsThumbnailRule-iEMZ-j7T.js} +10 -10
  25. package/es2015/casino-tournaments-page-controller.js +1 -1
  26. package/esnext/casino-tournaments-page-controller.js +1 -1
  27. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { d as C, S as Z, t as j, D as I, r as _, h as B, y as F, n as T, J as b, u as k, g as d, o as g, L as w, O as P, i as u, k as O, A as R, q as N, m as q, j as D, E as U, F as V, G as W, l as G, a as J } from "./CasinoTournamentsPageController-BkeYysYH.js";
1
+ import { z as C, S as Z, i as j, s as B, f as _, a as I, n as F, d as T, l as b, b as k, e as d, g as m, h as w, t as P, j as u, B as R, o as O, G as N, H as q, q as U, v as V, w as W, x as D, c as G, F as J } from "./CasinoTournamentsPageController-BaLiSneC.js";
2
2
  function M(l, e) {
3
3
  C(l, e);
4
4
  }
5
- const E = {
5
+ const H = {
6
6
  en: {
7
7
  prizes: "Prizes",
8
8
  noprizes: "No available prizes",
@@ -60,32 +60,32 @@ const E = {
60
60
  }
61
61
  };
62
62
  function K(l) {
63
- B(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)}");
63
+ I(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)}");
64
64
  }
65
- function H(l, e, t) {
65
+ function x(l, e, t) {
66
66
  const i = l.slice();
67
67
  return i[12] = e[t], i[14] = t, i;
68
68
  }
69
- function A(l) {
69
+ function E(l) {
70
70
  let e, t = N(
71
71
  /*prizes*/
72
72
  l[1]
73
73
  ), i = [];
74
74
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = x(H(l, t, n));
76
- let r = null;
77
- return t.length || (r = L(l)), {
75
+ i[n] = L(x(l, t, n));
76
+ let s = null;
77
+ return t.length || (s = A(l)), {
78
78
  c() {
79
- e = g("div");
79
+ e = m("div");
80
80
  for (let n = 0; n < i.length; n += 1)
81
81
  i[n].c();
82
- r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
82
+ s && s.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
83
83
  },
84
84
  m(n, c) {
85
85
  k(n, e, c);
86
- for (let s = 0; s < i.length; s += 1)
87
- i[s] && i[s].m(e, null);
88
- r && r.m(e, null);
86
+ for (let r = 0; r < i.length; r += 1)
87
+ i[r] && i[r].m(e, null);
88
+ s && s.m(e, null);
89
89
  },
90
90
  p(n, c) {
91
91
  if (c & /*prizes, $_*/
@@ -94,45 +94,45 @@ function A(l) {
94
94
  /*prizes*/
95
95
  n[1]
96
96
  );
97
- let s;
98
- for (s = 0; s < t.length; s += 1) {
99
- const f = H(n, t, s);
100
- i[s] ? i[s].p(f, c) : (i[s] = x(f), i[s].c(), i[s].m(e, null));
97
+ let r;
98
+ for (r = 0; r < t.length; r += 1) {
99
+ const f = x(n, t, r);
100
+ i[r] ? i[r].p(f, c) : (i[r] = L(f), i[r].c(), i[r].m(e, null));
101
101
  }
102
- for (; s < i.length; s += 1)
103
- i[s].d(1);
104
- i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = L(n), r.c(), r.m(e, null));
102
+ for (; r < i.length; r += 1)
103
+ i[r].d(1);
104
+ i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = A(n), s.c(), s.m(e, null));
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && T(e), q(i, n), r && r.d();
108
+ n && T(e), q(i, n), s && s.d();
109
109
  }
110
110
  };
111
111
  }
112
- function L(l) {
112
+ function A(l) {
113
113
  let e, t = (
114
114
  /*$_*/
115
115
  l[2]("noprizes") + ""
116
116
  ), i;
117
117
  return {
118
118
  c() {
119
- e = g("p"), i = P(t);
119
+ e = m("p"), i = P(t);
120
120
  },
121
- m(r, n) {
122
- k(r, e, n), d(e, i);
121
+ m(s, n) {
122
+ k(s, e, n), d(e, i);
123
123
  },
124
- p(r, n) {
124
+ p(s, n) {
125
125
  n & /*$_*/
126
126
  4 && t !== (t = /*$_*/
127
- r[2]("noprizes") + "") && b(i, t);
127
+ s[2]("noprizes") + "") && b(i, t);
128
128
  },
129
- d(r) {
130
- r && T(e);
129
+ d(s) {
130
+ s && T(e);
131
131
  }
132
132
  };
133
133
  }
134
- function x(l) {
135
- let e, t, i, r = (
134
+ function L(l) {
135
+ let e, t, i, s = (
136
136
  /*prize*/
137
137
  (l[12].count > 1 ? `${/*prize*/
138
138
  l[12].rank}~${/*prize*/
@@ -141,62 +141,62 @@ function x(l) {
141
141
  /*prize*/
142
142
  l[12].rank
143
143
  )) + ""
144
- ), n, c, s = (
144
+ ), n, c, r = (
145
145
  /*$_*/
146
146
  l[2]("place") + ""
147
147
  ), f, a, p = (
148
148
  /*prize*/
149
149
  l[12].name + ""
150
- ), z, v;
150
+ ), g, v;
151
151
  return {
152
152
  c() {
153
- e = g("div"), t = g("p"), i = g("span"), n = P(r), c = w(), f = P(s), a = P(": "), z = P(p), v = w(), u(i, "class", "PrizeRank"), u(i, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
153
+ e = m("div"), t = m("p"), i = m("span"), n = P(s), c = w(), f = P(r), a = P(": "), g = P(p), v = w(), u(i, "class", "PrizeRank"), u(i, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
154
154
  l[14]), u(e, "part", "Prize Prize" + /*index*/
155
155
  l[14]);
156
156
  },
157
- m(m, h) {
158
- k(m, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, z), d(e, v);
157
+ m(z, h) {
158
+ k(z, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, g), d(e, v);
159
159
  },
160
- p(m, h) {
160
+ p(z, h) {
161
161
  h & /*prizes*/
162
- 2 && r !== (r = /*prize*/
163
- (m[12].count > 1 ? `${/*prize*/
164
- m[12].rank}~${/*prize*/
165
- m[12].rank + /*prize*/
166
- m[12].count - 1}` : (
162
+ 2 && s !== (s = /*prize*/
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
169
- )) + "") && b(n, r), h & /*$_*/
170
- 4 && s !== (s = /*$_*/
171
- m[2]("place") + "") && b(f, s), h & /*prizes*/
168
+ z[12].rank
169
+ )) + "") && b(n, s), h & /*$_*/
170
+ 4 && r !== (r = /*$_*/
171
+ z[2]("place") + "") && b(f, r), h & /*prizes*/
172
172
  2 && p !== (p = /*prize*/
173
- m[12].name + "") && b(z, p);
173
+ z[12].name + "") && b(g, p);
174
174
  },
175
- d(m) {
176
- m && T(e);
175
+ d(z) {
176
+ z && T(e);
177
177
  }
178
178
  };
179
179
  }
180
180
  function Q(l) {
181
- let e, t, i, r, n, c = (
181
+ let e, t, i, s, n, c = (
182
182
  /*$_*/
183
183
  l[2]("prizes") + ""
184
- ), s, f, a = (
184
+ ), r, f, a = (
185
185
  /*prizes*/
186
- l[1] && A(l)
186
+ l[1] && E(l)
187
187
  );
188
188
  return {
189
189
  c() {
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>', r = w(), n = g("p"), s = P(c), f = w(), a && a.c(), u(i, "class", "TournamentPrizesIconWrapper"), u(i, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
190
+ e = m("div"), t = m("div"), i = m("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>', s = w(), n = m("p"), r = P(c), f = w(), a && a.c(), u(i, "class", "TournamentPrizesIconWrapper"), u(i, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
191
191
  },
192
- m(p, z) {
193
- k(p, e, z), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), a && a.m(e, null), l[8](e);
192
+ m(p, g) {
193
+ k(p, e, g), d(e, t), d(t, i), d(t, s), d(t, n), d(n, r), d(e, f), a && a.m(e, null), l[8](e);
194
194
  },
195
- p(p, [z]) {
196
- z & /*$_*/
195
+ p(p, [g]) {
196
+ g & /*$_*/
197
197
  4 && c !== (c = /*$_*/
198
- p[2]("prizes") + "") && b(s, c), /*prizes*/
199
- p[1] ? a ? a.p(p, z) : (a = A(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
198
+ p[2]("prizes") + "") && b(r, c), /*prizes*/
199
+ p[1] ? a ? a.p(p, g) : (a = E(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
200
200
  },
201
201
  i: F,
202
202
  o: F,
@@ -207,10 +207,10 @@ function Q(l) {
207
207
  }
208
208
  function X(l, e, t) {
209
209
  let i;
210
- O(l, J, (o) => t(2, i = o));
211
- let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, a, p, z;
210
+ R(l, J, (o) => t(2, i = o));
211
+ let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: r = "" } = e, { mbsource: f } = e, a, p, g;
212
212
  const v = () => {
213
- fetch(s).then((y) => y.json()).then((y) => {
213
+ fetch(r).then((y) => y.json()).then((y) => {
214
214
  Object.keys(y).forEach((S) => {
215
215
  M(S, y[S]);
216
216
  });
@@ -218,36 +218,36 @@ function X(l, e, t) {
218
218
  console.log(y);
219
219
  });
220
220
  };
221
- Object.keys(E).forEach((o) => {
222
- M(o, E[o]);
221
+ Object.keys(H).forEach((o) => {
222
+ M(o, H[o]);
223
223
  });
224
- const m = (o) => {
225
- o.data && o.data.type == `TournamentPrizes_${r}` && t(1, z = o.data.prizes);
224
+ const z = (o) => {
225
+ o.data && o.data.type == `TournamentPrizes_${s}` && t(1, g = o.data.prizes);
226
226
  };
227
- R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", m, !1), () => {
228
- window.removeEventListener("message", m);
227
+ O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
228
+ window.removeEventListener("message", z);
229
229
  }));
230
230
  function h(o) {
231
- D[o ? "unshift" : "push"](() => {
231
+ U[o ? "unshift" : "push"](() => {
232
232
  a = o, t(0, a);
233
233
  });
234
234
  }
235
235
  return l.$$set = (o) => {
236
- "tourid" in o && t(3, r = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, s = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
236
+ "tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, r = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
237
237
  }, l.$$.update = () => {
238
238
  l.$$.dirty & /*clientstyling, customStylingContainer*/
239
- 17 && n && a && U(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && a && V(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && a && W(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
242
- 64 && s && v();
239
+ 17 && n && a && V(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
+ 33 && c && a && W(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
+ 129 && f && a && D(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
242
+ 64 && r && v();
243
243
  }, [
244
244
  a,
245
- z,
245
+ g,
246
246
  i,
247
- r,
247
+ s,
248
248
  n,
249
249
  c,
250
- s,
250
+ r,
251
251
  f,
252
252
  h
253
253
  ];
@@ -259,7 +259,7 @@ class Y extends Z {
259
259
  e,
260
260
  X,
261
261
  Q,
262
- I,
262
+ B,
263
263
  {
264
264
  tourid: 3,
265
265
  clientstyling: 4,
@@ -1,8 +1,8 @@
1
- import { d as C, S as Z, t as j, D as I, r as _, h as B, y as F, n as T, J as b, u as k, g as d, o as g, L as w, O as P, i as u, k as O, A as R, q as N, m as q, j as D, E as U, F as V, G as W, l as G, a as J } from "./CasinoTournamentsPageController-BEoxppZY.js";
2
- function M(l, e) {
3
- C(l, e);
1
+ import { z as C, S as Z, i as B, s as I, f as _, a as j, n as F, d as T, k as b, b as k, c as d, e as m, g as w, t as P, h as u, B as R, o as O, G as N, H as U, p as V, u as W, v as q, w as D, x as G, F as J } from "./CasinoTournamentsPageController-DpQc24NO.js";
2
+ function M(s, e) {
3
+ C(s, e);
4
4
  }
5
- const E = {
5
+ const H = {
6
6
  en: {
7
7
  prizes: "Prizes",
8
8
  noprizes: "No available prizes",
@@ -59,33 +59,33 @@ const E = {
59
59
  place: "place"
60
60
  }
61
61
  };
62
- function K(l) {
63
- B(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)}");
62
+ function K(s) {
63
+ j(s, "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
- function H(l, e, t) {
66
- const i = l.slice();
65
+ function x(s, e, t) {
66
+ const i = s.slice();
67
67
  return i[12] = e[t], i[14] = t, i;
68
68
  }
69
- function A(l) {
69
+ function E(s) {
70
70
  let e, t = N(
71
71
  /*prizes*/
72
- l[1]
72
+ s[1]
73
73
  ), i = [];
74
74
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = x(H(l, t, n));
76
- let r = null;
77
- return t.length || (r = L(l)), {
75
+ i[n] = L(x(s, t, n));
76
+ let l = null;
77
+ return t.length || (l = A(s)), {
78
78
  c() {
79
- e = g("div");
79
+ e = m("div");
80
80
  for (let n = 0; n < i.length; n += 1)
81
81
  i[n].c();
82
- r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
82
+ l && l.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
83
83
  },
84
84
  m(n, c) {
85
85
  k(n, e, c);
86
- for (let s = 0; s < i.length; s += 1)
87
- i[s] && i[s].m(e, null);
88
- r && r.m(e, null);
86
+ for (let r = 0; r < i.length; r += 1)
87
+ i[r] && i[r].m(e, null);
88
+ l && l.m(e, null);
89
89
  },
90
90
  p(n, c) {
91
91
  if (c & /*prizes, $_*/
@@ -94,123 +94,123 @@ function A(l) {
94
94
  /*prizes*/
95
95
  n[1]
96
96
  );
97
- let s;
98
- for (s = 0; s < t.length; s += 1) {
99
- const f = H(n, t, s);
100
- i[s] ? i[s].p(f, c) : (i[s] = x(f), i[s].c(), i[s].m(e, null));
97
+ let r;
98
+ for (r = 0; r < t.length; r += 1) {
99
+ const f = x(n, t, r);
100
+ i[r] ? i[r].p(f, c) : (i[r] = L(f), i[r].c(), i[r].m(e, null));
101
101
  }
102
- for (; s < i.length; s += 1)
103
- i[s].d(1);
104
- i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = L(n), r.c(), r.m(e, null));
102
+ for (; r < i.length; r += 1)
103
+ i[r].d(1);
104
+ i.length = t.length, !t.length && l ? l.p(n, c) : t.length ? l && (l.d(1), l = null) : (l = A(n), l.c(), l.m(e, null));
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && T(e), q(i, n), r && r.d();
108
+ n && T(e), U(i, n), l && l.d();
109
109
  }
110
110
  };
111
111
  }
112
- function L(l) {
112
+ function A(s) {
113
113
  let e, t = (
114
114
  /*$_*/
115
- l[2]("noprizes") + ""
115
+ s[2]("noprizes") + ""
116
116
  ), i;
117
117
  return {
118
118
  c() {
119
- e = g("p"), i = P(t);
119
+ e = m("p"), i = P(t);
120
120
  },
121
- m(r, n) {
122
- k(r, e, n), d(e, i);
121
+ m(l, n) {
122
+ k(l, e, n), d(e, i);
123
123
  },
124
- p(r, n) {
124
+ p(l, n) {
125
125
  n & /*$_*/
126
126
  4 && t !== (t = /*$_*/
127
- r[2]("noprizes") + "") && b(i, t);
127
+ l[2]("noprizes") + "") && b(i, t);
128
128
  },
129
- d(r) {
130
- r && T(e);
129
+ d(l) {
130
+ l && T(e);
131
131
  }
132
132
  };
133
133
  }
134
- function x(l) {
135
- let e, t, i, r = (
134
+ function L(s) {
135
+ let e, t, i, l = (
136
136
  /*prize*/
137
- (l[12].count > 1 ? `${/*prize*/
138
- l[12].rank}~${/*prize*/
139
- l[12].rank + /*prize*/
140
- l[12].count - 1}` : (
137
+ (s[12].count > 1 ? `${/*prize*/
138
+ s[12].rank}~${/*prize*/
139
+ s[12].rank + /*prize*/
140
+ s[12].count - 1}` : (
141
141
  /*prize*/
142
- l[12].rank
142
+ s[12].rank
143
143
  )) + ""
144
- ), n, c, s = (
144
+ ), n, c, r = (
145
145
  /*$_*/
146
- l[2]("place") + ""
146
+ s[2]("place") + ""
147
147
  ), f, a, p = (
148
148
  /*prize*/
149
- l[12].name + ""
150
- ), z, v;
149
+ s[12].name + ""
150
+ ), g, v;
151
151
  return {
152
152
  c() {
153
- e = g("div"), t = g("p"), i = g("span"), n = P(r), c = w(), f = P(s), a = P(": "), z = P(p), v = w(), u(i, "class", "PrizeRank"), u(i, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
154
- l[14]), u(e, "part", "Prize Prize" + /*index*/
155
- l[14]);
153
+ e = m("div"), t = m("p"), i = m("span"), n = P(l), c = w(), f = P(r), a = P(": "), g = P(p), v = w(), u(i, "class", "PrizeRank"), u(i, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
154
+ s[14]), u(e, "part", "Prize Prize" + /*index*/
155
+ s[14]);
156
156
  },
157
- m(m, h) {
158
- k(m, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, z), d(e, v);
157
+ m(z, h) {
158
+ k(z, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, g), d(e, v);
159
159
  },
160
- p(m, h) {
160
+ p(z, h) {
161
161
  h & /*prizes*/
162
- 2 && r !== (r = /*prize*/
163
- (m[12].count > 1 ? `${/*prize*/
164
- m[12].rank}~${/*prize*/
165
- m[12].rank + /*prize*/
166
- m[12].count - 1}` : (
162
+ 2 && l !== (l = /*prize*/
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
169
- )) + "") && b(n, r), h & /*$_*/
170
- 4 && s !== (s = /*$_*/
171
- m[2]("place") + "") && b(f, s), h & /*prizes*/
168
+ z[12].rank
169
+ )) + "") && b(n, l), h & /*$_*/
170
+ 4 && r !== (r = /*$_*/
171
+ z[2]("place") + "") && b(f, r), h & /*prizes*/
172
172
  2 && p !== (p = /*prize*/
173
- m[12].name + "") && b(z, p);
173
+ z[12].name + "") && b(g, p);
174
174
  },
175
- d(m) {
176
- m && T(e);
175
+ d(z) {
176
+ z && T(e);
177
177
  }
178
178
  };
179
179
  }
180
- function Q(l) {
181
- let e, t, i, r, n, c = (
180
+ function Q(s) {
181
+ let e, t, i, l, n, c = (
182
182
  /*$_*/
183
- l[2]("prizes") + ""
184
- ), s, f, a = (
183
+ s[2]("prizes") + ""
184
+ ), r, f, a = (
185
185
  /*prizes*/
186
- l[1] && A(l)
186
+ s[1] && E(s)
187
187
  );
188
188
  return {
189
189
  c() {
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>', r = w(), n = g("p"), s = P(c), f = w(), a && a.c(), u(i, "class", "TournamentPrizesIconWrapper"), u(i, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
190
+ e = m("div"), t = m("div"), i = m("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 = w(), n = m("p"), r = P(c), f = w(), a && a.c(), u(i, "class", "TournamentPrizesIconWrapper"), u(i, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
191
191
  },
192
- m(p, z) {
193
- k(p, e, z), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), a && a.m(e, null), l[8](e);
192
+ m(p, g) {
193
+ k(p, e, g), d(e, t), d(t, i), d(t, l), d(t, n), d(n, r), d(e, f), a && a.m(e, null), s[8](e);
194
194
  },
195
- p(p, [z]) {
196
- z & /*$_*/
195
+ p(p, [g]) {
196
+ g & /*$_*/
197
197
  4 && c !== (c = /*$_*/
198
- p[2]("prizes") + "") && b(s, c), /*prizes*/
199
- p[1] ? a ? a.p(p, z) : (a = A(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
198
+ p[2]("prizes") + "") && b(r, c), /*prizes*/
199
+ p[1] ? a ? a.p(p, g) : (a = E(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
200
200
  },
201
201
  i: F,
202
202
  o: F,
203
203
  d(p) {
204
- p && T(e), a && a.d(), l[8](null);
204
+ p && T(e), a && a.d(), s[8](null);
205
205
  }
206
206
  };
207
207
  }
208
- function X(l, e, t) {
208
+ function X(s, e, t) {
209
209
  let i;
210
- O(l, J, (o) => t(2, i = o));
211
- let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, a, p, z;
210
+ R(s, J, (o) => t(2, i = o));
211
+ let { tourid: l = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: r = "" } = e, { mbsource: f } = e, a, p, g;
212
212
  const v = () => {
213
- fetch(s).then((y) => y.json()).then((y) => {
213
+ fetch(r).then((y) => y.json()).then((y) => {
214
214
  Object.keys(y).forEach((S) => {
215
215
  M(S, y[S]);
216
216
  });
@@ -218,43 +218,43 @@ function X(l, e, t) {
218
218
  console.log(y);
219
219
  });
220
220
  };
221
- Object.keys(E).forEach((o) => {
222
- M(o, E[o]);
221
+ Object.keys(H).forEach((o) => {
222
+ M(o, H[o]);
223
223
  });
224
- const m = (o) => {
225
- o.data && o.data.type == `TournamentPrizes_${r}` && t(1, z = o.data.prizes);
224
+ const z = (o) => {
225
+ o.data && o.data.type == `TournamentPrizes_${l}` && t(1, g = o.data.prizes);
226
226
  };
227
- R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", m, !1), () => {
228
- window.removeEventListener("message", m);
227
+ O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
228
+ window.removeEventListener("message", z);
229
229
  }));
230
230
  function h(o) {
231
- D[o ? "unshift" : "push"](() => {
231
+ V[o ? "unshift" : "push"](() => {
232
232
  a = o, t(0, a);
233
233
  });
234
234
  }
235
- return l.$$set = (o) => {
236
- "tourid" in o && t(3, r = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, s = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
237
- }, l.$$.update = () => {
238
- l.$$.dirty & /*clientstyling, customStylingContainer*/
239
- 17 && n && a && U(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && a && V(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && a && W(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
242
- 64 && s && v();
235
+ return s.$$set = (o) => {
236
+ "tourid" in o && t(3, l = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, r = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
237
+ }, s.$$.update = () => {
238
+ s.$$.dirty & /*clientstyling, customStylingContainer*/
239
+ 17 && n && a && W(a, n), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
+ 33 && c && a && q(a, c), s.$$.dirty & /*mbsource, customStylingContainer*/
241
+ 129 && f && a && D(a, `${f}.Style`, p), s.$$.dirty & /*translationurl*/
242
+ 64 && r && v();
243
243
  }, [
244
244
  a,
245
- z,
245
+ g,
246
246
  i,
247
- r,
247
+ l,
248
248
  n,
249
249
  c,
250
- s,
250
+ r,
251
251
  f,
252
252
  h
253
253
  ];
254
254
  }
255
255
  class Y extends Z {
256
256
  constructor(e) {
257
- super(), j(
257
+ super(), B(
258
258
  this,
259
259
  e,
260
260
  X,