@everymatrix/casino-tournaments-list-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 (15) hide show
  1. package/components/{CasinoTournamentsListController-QPsSVren.js → CasinoTournamentsListController-BSNYZkzo.js} +40 -40
  2. package/components/{CasinoTournamentsListController-sSEDyx5h.js → CasinoTournamentsListController-Cc1Egq3m.js} +39 -39
  3. package/components/{CasinoTournamentsThumbnail-MQq7xbjX.js → CasinoTournamentsThumbnail-BpWTrxlm.js} +15 -15
  4. package/components/{CasinoTournamentsThumbnail-DU2GGtiz.js → CasinoTournamentsThumbnail-g5Qt76nt.js} +15 -15
  5. package/components/{CasinoTournamentsThumbnailController-BOJJzGs9.js → CasinoTournamentsThumbnailController-CBvU8A_6.js} +61 -61
  6. package/components/{CasinoTournamentsThumbnailController-CA-Gs8YT.js → CasinoTournamentsThumbnailController-CdIivVd2.js} +64 -64
  7. package/components/{CasinoTournamentsThumbnailDuration-D_ALPI0h.js → CasinoTournamentsThumbnailDuration-C2G0rdfr.js} +12 -12
  8. package/components/{CasinoTournamentsThumbnailDuration-rUw_tcrU.js → CasinoTournamentsThumbnailDuration-ChJd5hA7.js} +25 -25
  9. package/components/{CasinoTournamentsThumbnailGamesSlider-CK2lY45V.js → CasinoTournamentsThumbnailGamesSlider-DCAIiZYm.js} +24 -24
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-CbHNb7Dv.js → CasinoTournamentsThumbnailGamesSlider-TiclIE7g.js} +46 -46
  11. package/components/{CasinoTournamentsThumbnailPrizes-By5rqQuN.js → CasinoTournamentsThumbnailPrizes-DLth7Ktj.js} +56 -56
  12. package/components/{CasinoTournamentsThumbnailPrizes-DQBL58L6.js → CasinoTournamentsThumbnailPrizes-pEfEVbHI.js} +71 -71
  13. package/es2015/casino-tournaments-list-controller.js +1 -1
  14. package/esnext/casino-tournaments-list-controller.js +1 -1
  15. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { d as C, S as Z, s as j, z as B, r as _, h as I, w as F, n as T, F as b, t as k, g as d, o as g, H as w, K as P, i as u, k as R, x as O, q as N, m as q, j as D, A as U, B as V, D as W, l as K, a as G } from "./CasinoTournamentsListController-QPsSVren.js";
1
+ import { b as L, S as Z, i as j, s as B, f as _, d as I, n as F, e as T, u as b, j as k, k as d, l as g, m as w, v as P, h as u, o as R, p as O, G as N, H as q, q as D, B as U, C as V, D as W, c as G, A as J } from "./CasinoTournamentsListController-Cc1Egq3m.js";
2
2
  function M(l, e) {
3
- C(l, e);
3
+ L(l, e);
4
4
  }
5
5
  const H = {
6
6
  en: {
@@ -59,33 +59,33 @@ const H = {
59
59
  place: "place"
60
60
  }
61
61
  };
62
- function J(l) {
62
+ function K(l) {
63
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 x(l, e, t) {
65
+ function A(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] = L(x(l, t, n));
76
- let r = null;
77
- return t.length || (r = E(l)), {
75
+ i[n] = C(A(l, t, n));
76
+ let s = null;
77
+ return t.length || (s = x(l)), {
78
78
  c() {
79
79
  e = g("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,22 +94,22 @@ 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 = x(n, t, s);
100
- i[s] ? i[s].p(f, c) : (i[s] = L(f), i[s].c(), i[s].m(e, null));
97
+ let r;
98
+ for (r = 0; r < t.length; r += 1) {
99
+ const f = A(n, t, r);
100
+ i[r] ? i[r].p(f, c) : (i[r] = C(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 = E(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 = x(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 E(l) {
112
+ function x(l) {
113
113
  let e, t = (
114
114
  /*$_*/
115
115
  l[2]("noprizes") + ""
@@ -118,21 +118,21 @@ function E(l) {
118
118
  c() {
119
119
  e = g("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 L(l) {
135
- let e, t, i, r = (
134
+ function C(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 L(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
- ), m, v;
150
+ ), z, 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(": "), m = 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 = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), f = P(r), 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
154
  l[14]), u(e, "part", "Prize Prize" + /*index*/
155
155
  l[14]);
156
156
  },
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, m), d(e, v);
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);
159
159
  },
160
- p(z, h) {
160
+ p(m, h) {
161
161
  h & /*prizes*/
162
- 2 && r !== (r = /*prize*/
163
- (z[12].count > 1 ? `${/*prize*/
164
- z[12].rank}~${/*prize*/
165
- z[12].rank + /*prize*/
166
- z[12].count - 1}` : (
162
+ 2 && s !== (s = /*prize*/
163
+ (m[12].count > 1 ? `${/*prize*/
164
+ m[12].rank}~${/*prize*/
165
+ m[12].rank + /*prize*/
166
+ m[12].count - 1}` : (
167
167
  /*prize*/
168
- z[12].rank
169
- )) + "") && b(n, r), h & /*$_*/
170
- 4 && s !== (s = /*$_*/
171
- z[2]("place") + "") && b(f, s), h & /*prizes*/
168
+ m[12].rank
169
+ )) + "") && b(n, s), h & /*$_*/
170
+ 4 && r !== (r = /*$_*/
171
+ m[2]("place") + "") && b(f, r), h & /*prizes*/
172
172
  2 && p !== (p = /*prize*/
173
- z[12].name + "") && b(m, p);
173
+ m[12].name + "") && b(z, p);
174
174
  },
175
- d(z) {
176
- z && T(e);
175
+ d(m) {
176
+ m && 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 = 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>', s = w(), n = g("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, m) {
193
- k(p, e, m), 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, z) {
193
+ k(p, e, z), 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, [m]) {
196
- m & /*$_*/
195
+ p(p, [z]) {
196
+ z & /*$_*/
197
197
  4 && c !== (c = /*$_*/
198
- p[2]("prizes") + "") && b(s, c), /*prizes*/
199
- p[1] ? a ? a.p(p, m) : (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, z) : (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
- R(l, G, (o) => t(2, i = o));
211
- let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, a, p, m;
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, z;
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
  });
@@ -221,11 +221,11 @@ function X(l, e, t) {
221
221
  Object.keys(H).forEach((o) => {
222
222
  M(o, H[o]);
223
223
  });
224
- const z = (o) => {
225
- o.data && o.data.type == `TournamentPrizes_${r}` && t(1, m = o.data.prizes);
224
+ const m = (o) => {
225
+ o.data && o.data.type == `TournamentPrizes_${s}` && t(1, z = o.data.prizes);
226
226
  };
227
- O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
228
- window.removeEventListener("message", z);
227
+ O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", m, !1), () => {
228
+ window.removeEventListener("message", m);
229
229
  }));
230
230
  function h(o) {
231
231
  D[o ? "unshift" : "push"](() => {
@@ -233,21 +233,21 @@ function X(l, e, t) {
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
239
  17 && n && a && U(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
240
  33 && c && a && V(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
241
  129 && f && a && W(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
242
- 64 && s && v();
242
+ 64 && r && v();
243
243
  }, [
244
244
  a,
245
- m,
245
+ z,
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
  ];
@@ -267,7 +267,7 @@ class Y extends Z {
267
267
  translationurl: 6,
268
268
  mbsource: 7
269
269
  },
270
- J
270
+ K
271
271
  );
272
272
  }
273
273
  get tourid() {
@@ -301,7 +301,7 @@ class Y extends Z {
301
301
  this.$$set({ mbsource: e }), _();
302
302
  }
303
303
  }
304
- K(Y, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
304
+ G(Y, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
305
305
  export {
306
306
  Y as default
307
307
  };
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-QPsSVren.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-BSNYZkzo.js").then((e) => e.L).then(({ default: e }) => {
14
14
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoTournamentsListController-sSEDyx5h.js";
1
+ import { L as s } from "../components/CasinoTournamentsListController-Cc1Egq3m.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-list-controller",
3
- "version": "1.94.20",
3
+ "version": "1.94.21",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-list-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-list-controller.js",