@everymatrix/casino-tournaments-controller 1.67.0 → 1.67.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/components/{CasinoTournamentsController-BULZ_y4b.js → CasinoTournamentsController-7AKjDr-2.js} +1051 -1086
  2. package/components/{CasinoTournamentsController-2bTwgvFF.js → CasinoTournamentsController-CVqp7a_8.js} +1073 -1108
  3. package/components/CasinoTournamentsController-Coh7cPDO.cjs +27 -0
  4. package/components/{CasinoTournamentsFilterController-DjLEXDTC.cjs → CasinoTournamentsFilterController-BsmnMKtv.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-DXDkdo0S.js → CasinoTournamentsFilterController-DgpPT6gm.js} +20 -20
  6. package/components/{CasinoTournamentsFilterController-CoqpuR3P.js → CasinoTournamentsFilterController-rPR6a4OA.js} +22 -22
  7. package/components/{CasinoTournamentsListController-DuHpRjLq.js → CasinoTournamentsListController-DMd3vYND.js} +21 -21
  8. package/components/{CasinoTournamentsListController-DT6zQNpY.js → CasinoTournamentsListController-oZgCph3g.js} +21 -21
  9. package/components/{CasinoTournamentsListController-DWgmnfOc.cjs → CasinoTournamentsListController-zT0eUIB7.cjs} +2 -2
  10. package/components/{CasinoTournamentsThumbnail-lBi843NX.js → CasinoTournamentsThumbnail-BJ9-GP8X.js} +30 -30
  11. package/components/{CasinoTournamentsThumbnail-BWfbNcYT.cjs → CasinoTournamentsThumbnail-BfhLke2H.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnail-CueG5cos.js → CasinoTournamentsThumbnail-O3FpkA6K.js} +30 -30
  13. package/components/{CasinoTournamentsThumbnailController-eBnrMpwv.js → CasinoTournamentsThumbnailController-8tUPae_-.js} +73 -73
  14. package/components/{CasinoTournamentsThumbnailController-CE8cLaj5.cjs → CasinoTournamentsThumbnailController-BEMM0P7L.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-CBp3ylH6.js → CasinoTournamentsThumbnailController-zdo20CEm.js} +74 -74
  16. package/components/{CasinoTournamentsThumbnailDuration-DYI4yj5n.cjs → CasinoTournamentsThumbnailDuration-C9R9OaYe.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailDuration-B87YJ1nA.js → CasinoTournamentsThumbnailDuration-CMlv4ox4.js} +43 -43
  18. package/components/{CasinoTournamentsThumbnailDuration-CEChJpk4.js → CasinoTournamentsThumbnailDuration-QeZBsYjk.js} +49 -49
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-LtmE1Ho2.js → CasinoTournamentsThumbnailGamesSlider-DC9AU0N8.js} +35 -35
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-DODIM4Fk.js → CasinoTournamentsThumbnailGamesSlider-KexMuwyu.js} +52 -52
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-DWAgOpLA.cjs → CasinoTournamentsThumbnailGamesSlider-O0SVU50O.cjs} +1 -1
  22. package/components/{CasinoTournamentsThumbnailPrizes-DBsFGpAH.js → CasinoTournamentsThumbnailPrizes-B4Am-AyF.js} +15 -15
  23. package/components/{CasinoTournamentsThumbnailPrizes-CWqeOB0q.js → CasinoTournamentsThumbnailPrizes-DuHPFshm.js} +15 -15
  24. package/components/{CasinoTournamentsThumbnailPrizes-BpQPVoHy.cjs → CasinoTournamentsThumbnailPrizes-DwsTRQPD.cjs} +1 -1
  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-BEnqZAxL.js → index-97d17652-ChRvzjAp.js} +186 -186
  30. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-DKsTmN3Z.js} +175 -175
  31. package/stencil/index-97d17652-qWThG1U9.cjs +1 -0
  32. package/stencil/index-b2193545-C1ayEiG4.js +503 -0
  33. package/stencil/index-b2193545-CyidmLE0.cjs +1 -0
  34. package/stencil/index-b2193545-s3PsNboB.js +519 -0
  35. package/stencil/{ui-image-3hy4ZvUC.js → ui-image-ClXqMGwp.js} +1 -1
  36. package/stencil/{ui-image-DE8MJHCZ.cjs → ui-image-Db5QCSmt.cjs} +1 -1
  37. package/stencil/{ui-image-D0wxuPze.js → ui-image-YphrYZtA.js} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-B43lELFk.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-CRQDt62Z.cjs} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-DVcK_myk.js} +1 -1
  41. package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CyHaM9Na.cjs} +1 -1
  42. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-Df0q0jE8.js} +2 -2
  43. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-EP2dwjfi.js} +2 -2
  44. package/stencil/{ui-skeleton-1cb75d00-B-R8GbLJ.js → ui-skeleton-1cb75d00-U47XWOV2.js} +1 -1
  45. package/stencil/{ui-skeleton-1cb75d00-Dy30RNE6.js → ui-skeleton-1cb75d00-bf7NJcVF.js} +1 -1
  46. package/stencil/{ui-skeleton-1cb75d00-BTnhspbc.cjs → ui-skeleton-1cb75d00-nmwFu55Y.cjs} +1 -1
  47. package/stencil/{ui-skeleton-CVBjRUvi.js → ui-skeleton-DSlZCsjK.js} +2 -2
  48. package/stencil/{ui-skeleton-se83zfWh.cjs → ui-skeleton-DXCQ8Yoq.cjs} +1 -1
  49. package/stencil/{ui-skeleton-RkXNxPG1.js → ui-skeleton-P9Vv-0Vy.js} +2 -2
  50. package/components/CasinoTournamentsController-CYyTUNIz.cjs +0 -27
  51. package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
  52. package/stencil/index-b2193545-BOMvxBzV.js +0 -519
  53. package/stencil/index-b2193545-CFn9dM-v.js +0 -503
  54. package/stencil/index-b2193545-DPygl1Qn.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { a as K, S as Y, i as Z, s as J, f as C, b as Q, n as U, d as T, e as B, g as v, h as l, k as V, w as X, o as E, p as m, B as $, t as M, q as L, r as tt, G as N, c as et, $ as nt } from "./CasinoTournamentsController-BULZ_y4b.js";
1
+ import { a as K, S as Y, i as Z, f as C, c as J, s as Q, b as V, e as v, d as l, h as T, n as U, j as B, k as X, w as $, t as E, m as L, o as m, B as tt, p as M, u as et, G as N, $ as nt } from "./CasinoTournamentsController-CVqp7a_8.js";
2
2
  function O(i, t) {
3
3
  K(i, t);
4
4
  }
5
- const q = {
5
+ const A = {
6
6
  en: {
7
7
  finished: "Finished",
8
8
  starting: "Starting in ",
@@ -93,9 +93,9 @@ const q = {
93
93
  }
94
94
  };
95
95
  function it(i) {
96
- Q(i, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
96
+ V(i, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
97
97
  }
98
- function A(i) {
98
+ function H(i) {
99
99
  let t, e, s = (
100
100
  /*formatDate*/
101
101
  i[10](
@@ -143,10 +143,10 @@ function A(i) {
143
143
  let k = R(i), f = k && k(i);
144
144
  return {
145
145
  c() {
146
- t = v("div"), e = v("div"), a = M(s), u = L(), o = v("div"), g = M(d), S = L(), p = v("div"), h = v("div"), y.c(), D = L(), f && f.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(h, "class", "ProgressBar"), l(h, "part", "ProgressBar"), l(p, "class", "ProgressBarWrapper"), l(p, "part", "ProgressBarWrapper");
146
+ t = v("div"), e = v("div"), a = E(s), u = L(), o = v("div"), g = E(d), S = L(), p = v("div"), h = v("div"), y.c(), D = L(), f && f.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(h, "class", "ProgressBar"), l(h, "part", "ProgressBar"), l(p, "class", "ProgressBarWrapper"), l(p, "part", "ProgressBarWrapper");
147
147
  },
148
148
  m(r, b) {
149
- B(r, t, b), m(t, e), m(e, a), m(t, u), m(t, o), m(o, g), B(r, S, b), B(r, p, b), m(p, h), y.m(h, null), m(h, D), f && f.m(h, null), F || (j = $(
149
+ T(r, t, b), m(t, e), m(e, a), m(t, u), m(t, o), m(o, g), T(r, S, b), T(r, p, b), m(p, h), y.m(h, null), m(h, D), f && f.m(h, null), F || (j = tt(
150
150
  /*getDuration*/
151
151
  i[9].call(null, p)
152
152
  ), F = !0);
@@ -157,15 +157,15 @@ function A(i) {
157
157
  r[10](
158
158
  /*startdate*/
159
159
  r[0]
160
- ) + "") && E(a, s), b & /*enddate*/
160
+ ) + "") && M(a, s), b & /*enddate*/
161
161
  2 && d !== (d = /*formatDate*/
162
162
  r[10](
163
163
  /*enddate*/
164
164
  r[1]
165
- ) + "") && E(g, d), z === (z = I(r)) && y ? y.p(r, b) : (y.d(1), y = z(r), y && (y.c(), y.m(h, D))), k === (k = R(r)) && f ? f.p(r, b) : (f && f.d(1), f = k && k(r), f && (f.c(), f.m(h, null)));
165
+ ) + "") && M(g, d), z === (z = I(r)) && y ? y.p(r, b) : (y.d(1), y = z(r), y && (y.c(), y.m(h, D))), k === (k = R(r)) && f ? f.p(r, b) : (f && f.d(1), f = k && k(r), f && (f.c(), f.m(h, null)));
166
166
  },
167
167
  d(r) {
168
- r && (T(t), T(S), T(p)), y.d(), f && f.d(), F = !1, j();
168
+ r && (B(t), B(S), B(p)), y.d(), f && f.d(), F = !1, j();
169
169
  }
170
170
  };
171
171
  }
@@ -181,7 +181,7 @@ function st(i) {
181
181
  );
182
182
  },
183
183
  m(e, s) {
184
- B(e, t, s);
184
+ T(e, t, s);
185
185
  },
186
186
  p(e, s) {
187
187
  s & /*getProgress*/
@@ -193,7 +193,7 @@ function st(i) {
193
193
  );
194
194
  },
195
195
  d(e) {
196
- e && T(t);
196
+ e && B(t);
197
197
  }
198
198
  };
199
199
  }
@@ -204,11 +204,11 @@ function rt(i) {
204
204
  t = v("div"), l(t, "class", "ProgressBarFillStarting"), l(t, "part", "ProgressBarFillStarting");
205
205
  },
206
206
  m(e, s) {
207
- B(e, t, s);
207
+ T(e, t, s);
208
208
  },
209
209
  p: U,
210
210
  d(e) {
211
- e && T(t);
211
+ e && B(t);
212
212
  }
213
213
  };
214
214
  }
@@ -219,11 +219,11 @@ function at(i) {
219
219
  t = v("div"), l(t, "class", "ProgressBarFillEnd"), l(t, "part", "ProgressBarFillEnd");
220
220
  },
221
221
  m(e, s) {
222
- B(e, t, s);
222
+ T(e, t, s);
223
223
  },
224
224
  p: U,
225
225
  d(e) {
226
- e && T(t);
226
+ e && B(t);
227
227
  }
228
228
  };
229
229
  }
@@ -234,26 +234,26 @@ function lt(i) {
234
234
  ), u;
235
235
  return {
236
236
  c() {
237
- t = v("div"), e = M(
237
+ t = v("div"), e = E(
238
238
  /*showRemain*/
239
239
  i[6]
240
- ), s = L(), u = M(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
240
+ ), s = L(), u = E(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
241
241
  },
242
242
  m(o, d) {
243
- B(o, t, d), m(t, e), m(t, s), m(t, u);
243
+ T(o, t, d), m(t, e), m(t, s), m(t, u);
244
244
  },
245
245
  p(o, d) {
246
246
  d & /*showRemain*/
247
- 64 && E(
247
+ 64 && M(
248
248
  e,
249
249
  /*showRemain*/
250
250
  o[6]
251
251
  ), d & /*$_*/
252
252
  256 && a !== (a = /*$_*/
253
- o[8]("left") + "") && E(u, a);
253
+ o[8]("left") + "") && M(u, a);
254
254
  },
255
255
  d(o) {
256
- o && T(t);
256
+ o && B(t);
257
257
  }
258
258
  };
259
259
  }
@@ -270,23 +270,23 @@ function ot(i) {
270
270
  ), o;
271
271
  return {
272
272
  c() {
273
- t = v("div"), s = M(e), a = L(), o = M(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
273
+ t = v("div"), s = E(e), a = L(), o = E(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
274
274
  },
275
275
  m(d, g) {
276
- B(d, t, g), m(t, s), m(t, a), m(t, o);
276
+ T(d, t, g), m(t, s), m(t, a), m(t, o);
277
277
  },
278
278
  p(d, g) {
279
279
  g & /*$_*/
280
280
  256 && e !== (e = /*$_*/
281
- d[8]("starting") + "") && E(s, e), g & /*tournamentUntilStartDays*/
281
+ d[8]("starting") + "") && M(s, e), g & /*tournamentUntilStartDays*/
282
282
  32 && u !== (u = /*getTextByDiff*/
283
283
  d[11](
284
284
  /*tournamentUntilStartDays*/
285
285
  d[5]
286
- ) + "") && E(o, u);
286
+ ) + "") && M(o, u);
287
287
  },
288
288
  d(d) {
289
- d && T(t);
289
+ d && B(t);
290
290
  }
291
291
  };
292
292
  }
@@ -297,18 +297,18 @@ function ut(i) {
297
297
  ), s;
298
298
  return {
299
299
  c() {
300
- t = v("div"), s = M(e), l(t, "class", "Finished"), l(t, "part", "Finished");
300
+ t = v("div"), s = E(e), l(t, "class", "Finished"), l(t, "part", "Finished");
301
301
  },
302
302
  m(a, u) {
303
- B(a, t, u), m(t, s);
303
+ T(a, t, u), m(t, s);
304
304
  },
305
305
  p(a, u) {
306
306
  u & /*$_*/
307
307
  256 && e !== (e = /*$_*/
308
- a[8]("finished") + "") && E(s, e);
308
+ a[8]("finished") + "") && M(s, e);
309
309
  },
310
310
  d(a) {
311
- a && T(t);
311
+ a && B(t);
312
312
  }
313
313
  };
314
314
  }
@@ -316,30 +316,30 @@ function dt(i) {
316
316
  let t, e = (
317
317
  /*startdate*/
318
318
  i[0] && /*enddate*/
319
- i[1] && A(i)
319
+ i[1] && H(i)
320
320
  );
321
321
  return {
322
322
  c() {
323
323
  t = v("div"), e && e.c(), l(t, "class", "TournamentDuration"), l(t, "part", "TournamentDuration");
324
324
  },
325
325
  m(s, a) {
326
- B(s, t, a), e && e.m(t, null), i[16](t);
326
+ T(s, t, a), e && e.m(t, null), i[16](t);
327
327
  },
328
328
  p(s, [a]) {
329
329
  /*startdate*/
330
330
  s[0] && /*enddate*/
331
- s[1] ? e ? e.p(s, a) : (e = A(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
331
+ s[1] ? e ? e.p(s, a) : (e = H(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
332
332
  },
333
333
  i: U,
334
334
  o: U,
335
335
  d(s) {
336
- s && T(t), e && e.d(), i[16](null);
336
+ s && B(t), e && e.d(), i[16](null);
337
337
  }
338
338
  };
339
339
  }
340
340
  function ct(i, t, e) {
341
341
  let s, a;
342
- V(i, nt, (n) => e(8, a = n));
342
+ X(i, nt, (n) => e(8, a = n));
343
343
  let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: g = "en" } = t, { clientstyling: S = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: h = "" } = t, D, F = "", j = "", I = "";
344
344
  const z = () => {
345
345
  fetch(h).then((c) => c.json()).then((c) => {
@@ -350,8 +350,8 @@ function ct(i, t, e) {
350
350
  console.log(c);
351
351
  });
352
352
  };
353
- Object.keys(q).forEach((n) => {
354
- O(n, q[n]);
353
+ Object.keys(A).forEach((n) => {
354
+ O(n, A[n]);
355
355
  });
356
356
  const y = (n) => new Date(n).getTime(), R = (n, c) => (y(c) - y(n)) / (1e3 * 60), k = () => {
357
357
  const n = /* @__PURE__ */ new Date();
@@ -373,7 +373,7 @@ function ct(i, t, e) {
373
373
  }, b = () => {
374
374
  let n = document.createElement("style");
375
375
  n.innerHTML = S, D.appendChild(n);
376
- }, H = () => {
376
+ }, q = () => {
377
377
  let n = new URL(p), c = document.createElement("style");
378
378
  fetch(n.href).then((_) => _.text()).then((_) => {
379
379
  c.innerHTML = _, setTimeout(
@@ -388,7 +388,7 @@ function ct(i, t, e) {
388
388
  );
389
389
  });
390
390
  };
391
- X(() => {
391
+ $(() => {
392
392
  window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href);
393
393
  const n = setInterval(
394
394
  () => {
@@ -399,7 +399,7 @@ function ct(i, t, e) {
399
399
  return () => clearInterval(n);
400
400
  });
401
401
  function x(n) {
402
- tt[n ? "unshift" : "push"](() => {
402
+ et[n ? "unshift" : "push"](() => {
403
403
  D = n, e(3, D);
404
404
  });
405
405
  }
@@ -418,7 +418,7 @@ function ct(i, t, e) {
418
418
  4112 && g && r(F), i.$$.dirty & /*translationurl*/
419
419
  32768 && h && z(), i.$$.dirty & /*customStylingContainer, clientstyling*/
420
420
  8200 && D && S && b(), i.$$.dirty & /*customStylingContainer, clientstylingurl*/
421
- 16392 && D && p && H();
421
+ 16392 && D && p && q();
422
422
  }, [
423
423
  u,
424
424
  o,
@@ -446,7 +446,7 @@ class ft extends Y {
446
446
  t,
447
447
  ct,
448
448
  dt,
449
- J,
449
+ Q,
450
450
  {
451
451
  startdate: 0,
452
452
  enddate: 1,
@@ -502,7 +502,7 @@ class ft extends Y {
502
502
  this.$$set({ translationurl: t }), C();
503
503
  }
504
504
  }
505
- et(ft, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
505
+ J(ft, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
506
506
  export {
507
507
  ft as default
508
508
  };
@@ -1,8 +1,8 @@
1
- import { a as K, S as Y, i as Z, s as J, f as C, b as Q, n as U, d as T, c as B, e as v, g as l, j as V, w as X, m as E, o as h, B as $, t as M, p as L, q as tt, G as N, v as et, $ as nt } from "./CasinoTournamentsController-2bTwgvFF.js";
1
+ import { a as K, S as Y, i as Z, f as C, c as J, s as Q, b as V, e as v, d as l, h as T, n as U, j as B, k as X, w as $, t as E, m as L, o as m, B as tt, p as M, u as et, G as N, $ as nt } from "./CasinoTournamentsController-7AKjDr-2.js";
2
2
  function O(i, t) {
3
3
  K(i, t);
4
4
  }
5
- const q = {
5
+ const A = {
6
6
  en: {
7
7
  finished: "Finished",
8
8
  starting: "Starting in ",
@@ -93,9 +93,9 @@ const q = {
93
93
  }
94
94
  };
95
95
  function it(i) {
96
- Q(i, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
96
+ V(i, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
97
97
  }
98
- function A(i) {
98
+ function H(i) {
99
99
  let t, e, s = (
100
100
  /*formatDate*/
101
101
  i[10](
@@ -108,7 +108,7 @@ function A(i) {
108
108
  /*enddate*/
109
109
  i[1]
110
110
  ) + ""
111
- ), g, S, p, m, D, F, j;
111
+ ), g, S, p, h, D, F, j;
112
112
  function I(r, b) {
113
113
  return (
114
114
  /*status*/
@@ -143,10 +143,10 @@ function A(i) {
143
143
  let k = R(i), f = k && k(i);
144
144
  return {
145
145
  c() {
146
- t = v("div"), e = v("div"), a = M(s), u = L(), o = v("div"), g = M(d), S = L(), p = v("div"), m = v("div"), y.c(), D = L(), f && f.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(m, "class", "ProgressBar"), l(m, "part", "ProgressBar"), l(p, "class", "ProgressBarWrapper"), l(p, "part", "ProgressBarWrapper");
146
+ t = v("div"), e = v("div"), a = E(s), u = L(), o = v("div"), g = E(d), S = L(), p = v("div"), h = v("div"), y.c(), D = L(), f && f.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(h, "class", "ProgressBar"), l(h, "part", "ProgressBar"), l(p, "class", "ProgressBarWrapper"), l(p, "part", "ProgressBarWrapper");
147
147
  },
148
148
  m(r, b) {
149
- B(r, t, b), h(t, e), h(e, a), h(t, u), h(t, o), h(o, g), B(r, S, b), B(r, p, b), h(p, m), y.m(m, null), h(m, D), f && f.m(m, null), F || (j = $(
149
+ T(r, t, b), m(t, e), m(e, a), m(t, u), m(t, o), m(o, g), T(r, S, b), T(r, p, b), m(p, h), y.m(h, null), m(h, D), f && f.m(h, null), F || (j = tt(
150
150
  /*getDuration*/
151
151
  i[9].call(null, p)
152
152
  ), F = !0);
@@ -157,15 +157,15 @@ function A(i) {
157
157
  r[10](
158
158
  /*startdate*/
159
159
  r[0]
160
- ) + "") && E(a, s), b & /*enddate*/
160
+ ) + "") && M(a, s), b & /*enddate*/
161
161
  2 && d !== (d = /*formatDate*/
162
162
  r[10](
163
163
  /*enddate*/
164
164
  r[1]
165
- ) + "") && E(g, d), z === (z = I(r)) && y ? y.p(r, b) : (y.d(1), y = z(r), y && (y.c(), y.m(m, D))), k === (k = R(r)) && f ? f.p(r, b) : (f && f.d(1), f = k && k(r), f && (f.c(), f.m(m, null)));
165
+ ) + "") && M(g, d), z === (z = I(r)) && y ? y.p(r, b) : (y.d(1), y = z(r), y && (y.c(), y.m(h, D))), k === (k = R(r)) && f ? f.p(r, b) : (f && f.d(1), f = k && k(r), f && (f.c(), f.m(h, null)));
166
166
  },
167
167
  d(r) {
168
- r && (T(t), T(S), T(p)), y.d(), f && f.d(), F = !1, j();
168
+ r && (B(t), B(S), B(p)), y.d(), f && f.d(), F = !1, j();
169
169
  }
170
170
  };
171
171
  }
@@ -181,7 +181,7 @@ function st(i) {
181
181
  );
182
182
  },
183
183
  m(e, s) {
184
- B(e, t, s);
184
+ T(e, t, s);
185
185
  },
186
186
  p(e, s) {
187
187
  s & /*getProgress*/
@@ -193,7 +193,7 @@ function st(i) {
193
193
  );
194
194
  },
195
195
  d(e) {
196
- e && T(t);
196
+ e && B(t);
197
197
  }
198
198
  };
199
199
  }
@@ -204,11 +204,11 @@ function rt(i) {
204
204
  t = v("div"), l(t, "class", "ProgressBarFillStarting"), l(t, "part", "ProgressBarFillStarting");
205
205
  },
206
206
  m(e, s) {
207
- B(e, t, s);
207
+ T(e, t, s);
208
208
  },
209
209
  p: U,
210
210
  d(e) {
211
- e && T(t);
211
+ e && B(t);
212
212
  }
213
213
  };
214
214
  }
@@ -219,11 +219,11 @@ function at(i) {
219
219
  t = v("div"), l(t, "class", "ProgressBarFillEnd"), l(t, "part", "ProgressBarFillEnd");
220
220
  },
221
221
  m(e, s) {
222
- B(e, t, s);
222
+ T(e, t, s);
223
223
  },
224
224
  p: U,
225
225
  d(e) {
226
- e && T(t);
226
+ e && B(t);
227
227
  }
228
228
  };
229
229
  }
@@ -234,26 +234,26 @@ function lt(i) {
234
234
  ), u;
235
235
  return {
236
236
  c() {
237
- t = v("div"), e = M(
237
+ t = v("div"), e = E(
238
238
  /*showRemain*/
239
239
  i[6]
240
- ), s = L(), u = M(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
240
+ ), s = L(), u = E(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
241
241
  },
242
242
  m(o, d) {
243
- B(o, t, d), h(t, e), h(t, s), h(t, u);
243
+ T(o, t, d), m(t, e), m(t, s), m(t, u);
244
244
  },
245
245
  p(o, d) {
246
246
  d & /*showRemain*/
247
- 64 && E(
247
+ 64 && M(
248
248
  e,
249
249
  /*showRemain*/
250
250
  o[6]
251
251
  ), d & /*$_*/
252
252
  256 && a !== (a = /*$_*/
253
- o[8]("left") + "") && E(u, a);
253
+ o[8]("left") + "") && M(u, a);
254
254
  },
255
255
  d(o) {
256
- o && T(t);
256
+ o && B(t);
257
257
  }
258
258
  };
259
259
  }
@@ -270,23 +270,23 @@ function ot(i) {
270
270
  ), o;
271
271
  return {
272
272
  c() {
273
- t = v("div"), s = M(e), a = L(), o = M(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
273
+ t = v("div"), s = E(e), a = L(), o = E(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
274
274
  },
275
275
  m(d, g) {
276
- B(d, t, g), h(t, s), h(t, a), h(t, o);
276
+ T(d, t, g), m(t, s), m(t, a), m(t, o);
277
277
  },
278
278
  p(d, g) {
279
279
  g & /*$_*/
280
280
  256 && e !== (e = /*$_*/
281
- d[8]("starting") + "") && E(s, e), g & /*tournamentUntilStartDays*/
281
+ d[8]("starting") + "") && M(s, e), g & /*tournamentUntilStartDays*/
282
282
  32 && u !== (u = /*getTextByDiff*/
283
283
  d[11](
284
284
  /*tournamentUntilStartDays*/
285
285
  d[5]
286
- ) + "") && E(o, u);
286
+ ) + "") && M(o, u);
287
287
  },
288
288
  d(d) {
289
- d && T(t);
289
+ d && B(t);
290
290
  }
291
291
  };
292
292
  }
@@ -297,18 +297,18 @@ function ut(i) {
297
297
  ), s;
298
298
  return {
299
299
  c() {
300
- t = v("div"), s = M(e), l(t, "class", "Finished"), l(t, "part", "Finished");
300
+ t = v("div"), s = E(e), l(t, "class", "Finished"), l(t, "part", "Finished");
301
301
  },
302
302
  m(a, u) {
303
- B(a, t, u), h(t, s);
303
+ T(a, t, u), m(t, s);
304
304
  },
305
305
  p(a, u) {
306
306
  u & /*$_*/
307
307
  256 && e !== (e = /*$_*/
308
- a[8]("finished") + "") && E(s, e);
308
+ a[8]("finished") + "") && M(s, e);
309
309
  },
310
310
  d(a) {
311
- a && T(t);
311
+ a && B(t);
312
312
  }
313
313
  };
314
314
  }
@@ -316,33 +316,33 @@ function dt(i) {
316
316
  let t, e = (
317
317
  /*startdate*/
318
318
  i[0] && /*enddate*/
319
- i[1] && A(i)
319
+ i[1] && H(i)
320
320
  );
321
321
  return {
322
322
  c() {
323
323
  t = v("div"), e && e.c(), l(t, "class", "TournamentDuration"), l(t, "part", "TournamentDuration");
324
324
  },
325
325
  m(s, a) {
326
- B(s, t, a), e && e.m(t, null), i[16](t);
326
+ T(s, t, a), e && e.m(t, null), i[16](t);
327
327
  },
328
328
  p(s, [a]) {
329
329
  /*startdate*/
330
330
  s[0] && /*enddate*/
331
- s[1] ? e ? e.p(s, a) : (e = A(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
331
+ s[1] ? e ? e.p(s, a) : (e = H(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
332
332
  },
333
333
  i: U,
334
334
  o: U,
335
335
  d(s) {
336
- s && T(t), e && e.d(), i[16](null);
336
+ s && B(t), e && e.d(), i[16](null);
337
337
  }
338
338
  };
339
339
  }
340
340
  function ct(i, t, e) {
341
341
  let s, a;
342
- V(i, nt, (n) => e(8, a = n));
343
- let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: g = "en" } = t, { clientstyling: S = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: m = "" } = t, D, F = "", j = "", I = "";
342
+ X(i, nt, (n) => e(8, a = n));
343
+ let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: g = "en" } = t, { clientstyling: S = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: h = "" } = t, D, F = "", j = "", I = "";
344
344
  const z = () => {
345
- fetch(m).then((c) => c.json()).then((c) => {
345
+ fetch(h).then((c) => c.json()).then((c) => {
346
346
  Object.keys(c).forEach((_) => {
347
347
  O(_, c[_]);
348
348
  });
@@ -350,8 +350,8 @@ function ct(i, t, e) {
350
350
  console.log(c);
351
351
  });
352
352
  };
353
- Object.keys(q).forEach((n) => {
354
- O(n, q[n]);
353
+ Object.keys(A).forEach((n) => {
354
+ O(n, A[n]);
355
355
  });
356
356
  const y = (n) => new Date(n).getTime(), R = (n, c) => (y(c) - y(n)) / (1e3 * 60), k = () => {
357
357
  const n = /* @__PURE__ */ new Date();
@@ -373,7 +373,7 @@ function ct(i, t, e) {
373
373
  }, b = () => {
374
374
  let n = document.createElement("style");
375
375
  n.innerHTML = S, D.appendChild(n);
376
- }, H = () => {
376
+ }, q = () => {
377
377
  let n = new URL(p), c = document.createElement("style");
378
378
  fetch(n.href).then((_) => _.text()).then((_) => {
379
379
  c.innerHTML = _, setTimeout(
@@ -388,7 +388,7 @@ function ct(i, t, e) {
388
388
  );
389
389
  });
390
390
  };
391
- X(() => {
391
+ $(() => {
392
392
  window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href);
393
393
  const n = setInterval(
394
394
  () => {
@@ -399,12 +399,12 @@ function ct(i, t, e) {
399
399
  return () => clearInterval(n);
400
400
  });
401
401
  function x(n) {
402
- tt[n ? "unshift" : "push"](() => {
402
+ et[n ? "unshift" : "push"](() => {
403
403
  D = n, e(3, D);
404
404
  });
405
405
  }
406
406
  return i.$$set = (n) => {
407
- "startdate" in n && e(0, u = n.startdate), "enddate" in n && e(1, o = n.enddate), "status" in n && e(2, d = n.status), "lang" in n && e(12, g = n.lang), "clientstyling" in n && e(13, S = n.clientstyling), "clientstylingurl" in n && e(14, p = n.clientstylingurl), "translationurl" in n && e(15, m = n.translationurl);
407
+ "startdate" in n && e(0, u = n.startdate), "enddate" in n && e(1, o = n.enddate), "status" in n && e(2, d = n.status), "lang" in n && e(12, g = n.lang), "clientstyling" in n && e(13, S = n.clientstyling), "clientstylingurl" in n && e(14, p = n.clientstylingurl), "translationurl" in n && e(15, h = n.translationurl);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty & /*tournamentLeftDays, startdate, enddate*/
410
410
  19 && e(7, s = () => {
@@ -416,9 +416,9 @@ function ct(i, t, e) {
416
416
  19 && u && o && k() && r(F), i.$$.dirty & /*lang*/
417
417
  4096 && g && k(), i.$$.dirty & /*lang, tournamentLeftDays*/
418
418
  4112 && g && r(F), i.$$.dirty & /*translationurl*/
419
- 32768 && m && z(), i.$$.dirty & /*customStylingContainer, clientstyling*/
419
+ 32768 && h && z(), i.$$.dirty & /*customStylingContainer, clientstyling*/
420
420
  8200 && D && S && b(), i.$$.dirty & /*customStylingContainer, clientstylingurl*/
421
- 16392 && D && p && H();
421
+ 16392 && D && p && q();
422
422
  }, [
423
423
  u,
424
424
  o,
@@ -435,7 +435,7 @@ function ct(i, t, e) {
435
435
  g,
436
436
  S,
437
437
  p,
438
- m,
438
+ h,
439
439
  x
440
440
  ];
441
441
  }
@@ -446,7 +446,7 @@ class ft extends Y {
446
446
  t,
447
447
  ct,
448
448
  dt,
449
- J,
449
+ Q,
450
450
  {
451
451
  startdate: 0,
452
452
  enddate: 1,
@@ -502,7 +502,7 @@ class ft extends Y {
502
502
  this.$$set({ translationurl: t }), C();
503
503
  }
504
504
  }
505
- et(ft, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
505
+ J(ft, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
506
506
  export {
507
507
  ft as default
508
508
  };