@everymatrix/casino-tournaments-controller 1.65.0 → 1.65.1
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.
- package/components/{CasinoTournamentsController-B-3KvRFg.js → CasinoTournamentsController-B0OzPCku.js} +1179 -1158
- package/components/CasinoTournamentsController-BWrEQTp7.cjs +27 -0
- package/components/{CasinoTournamentsController-CWaYayO5.js → CasinoTournamentsController-BXeJ6peR.js} +1054 -1033
- package/components/{CasinoTournamentsFilterController-DAQ8lD4F.js → CasinoTournamentsFilterController-CRbcIdR8.js} +20 -20
- package/components/{CasinoTournamentsFilterController-DoTBrefG.js → CasinoTournamentsFilterController-Cqy5NLeZ.js} +22 -22
- package/components/{CasinoTournamentsFilterController-CFZXXvdI.cjs → CasinoTournamentsFilterController-CwPoNf3E.cjs} +1 -1
- package/components/{CasinoTournamentsListController-C_ssOmZ0.js → CasinoTournamentsListController-BWO5gGZc.js} +21 -21
- package/components/{CasinoTournamentsListController-DGb2Vxf4.js → CasinoTournamentsListController-DSmX3w4z.js} +21 -21
- package/components/{CasinoTournamentsListController-CkLe4wOF.cjs → CasinoTournamentsListController-F1noSUOm.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-BGjJFXJ4.cjs → CasinoTournamentsThumbnail-Bsp-5WN-.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-rGM6du0q.js → CasinoTournamentsThumbnail-CtmmnGnQ.js} +30 -30
- package/components/{CasinoTournamentsThumbnail-D2kJPkRh.js → CasinoTournamentsThumbnail-DozFqlDO.js} +30 -30
- package/components/{CasinoTournamentsThumbnailController-Dp0x8sF0.cjs → CasinoTournamentsThumbnailController-BoCcPw0R.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-C8sZ89TB.js → CasinoTournamentsThumbnailController-CBplV0eU.js} +54 -54
- package/components/{CasinoTournamentsThumbnailController-BNr36snI.js → CasinoTournamentsThumbnailController-DGnfCZVH.js} +53 -53
- package/components/{CasinoTournamentsThumbnailDuration-CzVBGv1j.js → CasinoTournamentsThumbnailDuration-Bxwt9SDq.js} +40 -40
- package/components/{CasinoTournamentsThumbnailDuration-4Vc-Z6lV.cjs → CasinoTournamentsThumbnailDuration-CVw8hY88.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-PfDdm056.js → CasinoTournamentsThumbnailDuration-CsDvrHv5.js} +46 -46
- package/components/{CasinoTournamentsThumbnailGamesSlider-B0lgG4Gf.js → CasinoTournamentsThumbnailGamesSlider-CGTo4T10.js} +37 -37
- package/components/{CasinoTournamentsThumbnailGamesSlider-B6vtyr9U.js → CasinoTournamentsThumbnailGamesSlider-DT65cqlv.js} +54 -54
- package/components/{CasinoTournamentsThumbnailGamesSlider-D_KQWVhW.cjs → CasinoTournamentsThumbnailGamesSlider-DZw8vFWh.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-OfLWNQL9.js → CasinoTournamentsThumbnailPrizes-Bsqu7QI0.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-Dv0zCdov.cjs → CasinoTournamentsThumbnailPrizes-DY5e6Uyd.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-Czh7jFho.js → CasinoTournamentsThumbnailPrizes-KvarqmH6.js} +15 -15
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BEnqZAxL.js +558 -0
- package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
- package/stencil/index-97d17652-WK_DbPS4.js +542 -0
- package/stencil/index-b2193545-BOMvxBzV.js +519 -0
- package/stencil/index-b2193545-CFn9dM-v.js +503 -0
- package/stencil/index-b2193545-DPygl1Qn.cjs +1 -0
- package/stencil/{ui-image-BdKD9mn4.js → ui-image-3hy4ZvUC.js} +1 -1
- package/stencil/{ui-image-Brhx0VeQ.js → ui-image-D0wxuPze.js} +1 -1
- package/stencil/{ui-image-DEQHOm9Q.cjs → ui-image-DE8MJHCZ.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
- package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-DwCQPKmJ.js → ui-skeleton-1cb75d00-B-R8GbLJ.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-HdJyBz6W.cjs → ui-skeleton-1cb75d00-BTnhspbc.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-CoUSUuCH.js → ui-skeleton-1cb75d00-Dy30RNE6.js} +1 -1
- package/stencil/{ui-skeleton-DdjXy3Vl.js → ui-skeleton-CVBjRUvi.js} +2 -2
- package/stencil/{ui-skeleton-BhWinivj.js → ui-skeleton-RkXNxPG1.js} +2 -2
- package/stencil/{ui-skeleton-06DDwuG9.cjs → ui-skeleton-se83zfWh.cjs} +1 -1
- package/components/CasinoTournamentsController-hMroYCVq.cjs +0 -27
- package/stencil/index-97d17652-BzQXAkmg.js +0 -558
- package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
- package/stencil/index-97d17652-mbOyENH9.js +0 -542
- package/stencil/index-b2193545-C2pLoBGJ.js +0 -503
- package/stencil/index-b2193545-CoXVDra7.js +0 -519
- package/stencil/index-b2193545-CwpolrjE.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as A, S as Z, i as
|
|
1
|
+
import { a as A, S as Z, i as I, s as R, f as T, b as j, n as M, d as k, o as v, e as F, p as f, g, q as b, t as _, h as u, k as B, w as O, l as N, m as U, r as q, c as V, $ as W } from "./CasinoTournamentsController-B0OzPCku.js";
|
|
2
2
|
function H(l, e) {
|
|
3
3
|
A(l, e);
|
|
4
4
|
}
|
|
@@ -60,7 +60,7 @@ const S = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
function D(l) {
|
|
63
|
-
|
|
63
|
+
j(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
65
|
function E(l, e, t) {
|
|
66
66
|
const n = l.slice();
|
|
@@ -82,7 +82,7 @@ function L(l) {
|
|
|
82
82
|
r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(i, c) {
|
|
85
|
-
|
|
85
|
+
F(i, e, c);
|
|
86
86
|
for (let s = 0; s < n.length; s += 1)
|
|
87
87
|
n[s] && n[s].m(e, null);
|
|
88
88
|
r && r.m(e, null);
|
|
@@ -105,7 +105,7 @@ function L(l) {
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(i) {
|
|
108
|
-
i &&
|
|
108
|
+
i && k(e), U(n, i), r && r.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -119,7 +119,7 @@ function C(l) {
|
|
|
119
119
|
e = g("p"), n = _(t);
|
|
120
120
|
},
|
|
121
121
|
m(r, i) {
|
|
122
|
-
|
|
122
|
+
F(r, e, i), f(e, n);
|
|
123
123
|
},
|
|
124
124
|
p(r, i) {
|
|
125
125
|
i & /*$_*/
|
|
@@ -127,7 +127,7 @@ function C(l) {
|
|
|
127
127
|
r[2]("noprizes") + "") && v(n, t);
|
|
128
128
|
},
|
|
129
129
|
d(r) {
|
|
130
|
-
r &&
|
|
130
|
+
r && k(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
@@ -155,7 +155,7 @@ function x(l) {
|
|
|
155
155
|
l[15]);
|
|
156
156
|
},
|
|
157
157
|
m(h, y) {
|
|
158
|
-
|
|
158
|
+
F(h, e, y), f(e, t), f(t, n), f(n, i), f(t, c), f(t, p), f(t, o), f(t, z), f(e, w);
|
|
159
159
|
},
|
|
160
160
|
p(h, y) {
|
|
161
161
|
y & /*prizes*/
|
|
@@ -173,7 +173,7 @@ function x(l) {
|
|
|
173
173
|
h[13].name + "") && v(z, d);
|
|
174
174
|
},
|
|
175
175
|
d(h) {
|
|
176
|
-
h &&
|
|
176
|
+
h && k(e);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
@@ -190,7 +190,7 @@ function G(l) {
|
|
|
190
190
|
e = g("div"), t = g("div"), n = g("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = b(), i = g("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
192
|
m(d, z) {
|
|
193
|
-
|
|
193
|
+
F(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, p), o && o.m(e, null), l[7](e);
|
|
194
194
|
},
|
|
195
195
|
p(d, [z]) {
|
|
196
196
|
z & /*$_*/
|
|
@@ -201,13 +201,13 @@ function G(l) {
|
|
|
201
201
|
i: M,
|
|
202
202
|
o: M,
|
|
203
203
|
d(d) {
|
|
204
|
-
d &&
|
|
204
|
+
d && k(e), o && o.d(), l[7](null);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
208
|
function J(l, e, t) {
|
|
209
209
|
let n;
|
|
210
|
-
|
|
210
|
+
B(l, W, (a) => t(2, n = a));
|
|
211
211
|
let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
|
|
212
212
|
const d = () => {
|
|
213
213
|
fetch(s).then((m) => m.json()).then((m) => {
|
|
@@ -241,11 +241,11 @@ function J(l, e, t) {
|
|
|
241
241
|
);
|
|
242
242
|
});
|
|
243
243
|
};
|
|
244
|
-
|
|
244
|
+
O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
245
245
|
window.removeEventListener("message", z);
|
|
246
246
|
}));
|
|
247
247
|
function y(a) {
|
|
248
|
-
|
|
248
|
+
q[a ? "unshift" : "push"](() => {
|
|
249
249
|
p = a, t(0, p);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
@@ -269,7 +269,7 @@ function J(l, e, t) {
|
|
|
269
269
|
}
|
|
270
270
|
class K extends Z {
|
|
271
271
|
constructor(e) {
|
|
272
|
-
super(),
|
|
272
|
+
super(), I(
|
|
273
273
|
this,
|
|
274
274
|
e,
|
|
275
275
|
J,
|
|
@@ -309,7 +309,7 @@ class K extends Z {
|
|
|
309
309
|
this.$$set({ translationurl: e }), T();
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
|
|
312
|
+
V(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
313
313
|
export {
|
|
314
314
|
K as default
|
|
315
315
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-BWrEQTp7.cjs");function y(r,t){e.addMessages(r,t)}const P={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function F(r){e.append_styles(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)}")}function v(r,t,n){const i=r.slice();return i[13]=t[n],i[15]=n,i}function T(r){let t,n=e.ensure_array_like(r[1]),i=[];for(let l=0;l<n.length;l+=1)i[l]=w(v(r,n,l));let a=null;return n.length||(a=b(r)),{c(){t=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(l,c){e.insert(l,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(l,c){if(c&6){n=e.ensure_array_like(l[1]);let s;for(s=0;s<n.length;s+=1){const u=v(l,n,s);i[s]?i[s].p(u,c):(i[s]=w(u),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(l,c):n.length?a&&(a.d(1),a=null):(a=b(l),a.c(),a.m(t,null))}},d(l){l&&e.detach(t),e.destroy_each(i,l),a&&a.d()}}}function b(r){let t,n=r[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,l){e.insert(a,t,l),e.append(t,i)},p(a,l){l&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function w(r){let t,n,i,a=(r[13].count>1?`${r[13].rank}~${r[13].rank+r[13].count-1}`:r[13].rank)+"",l,c,s=r[2]("place")+"",u,p,d=r[13].name+"",f,_;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),l=e.text(a),c=e.space(),u=e.text(s),p=e.text(": "),f=e.text(d),_=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+r[15]),e.attr(t,"part","Prize Prize"+r[15])},m(h,z){e.insert(h,t,z),e.append(t,n),e.append(n,i),e.append(i,l),e.append(n,c),e.append(n,u),e.append(n,p),e.append(n,f),e.append(t,_)},p(h,z){z&2&&a!==(a=(h[13].count>1?`${h[13].rank}~${h[13].rank+h[13].count-1}`:h[13].rank)+"")&&e.set_data(l,a),z&4&&s!==(s=h[2]("place")+"")&&e.set_data(u,s),z&2&&d!==(d=h[13].name+"")&&e.set_data(f,d)},d(h){h&&e.detach(t)}}}function M(r){let t,n,i,a,l,c=r[2]("prizes")+"",s,u,p=r[1]&&T(r);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(),l=e.element("p"),s=e.text(c),u=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(l,"class","PrizesTitle"),e.attr(l,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(d,f){e.insert(d,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,l),e.append(l,s),e.append(t,u),p&&p.m(t,null),r[7](t)},p(d,[f]){f&4&&c!==(c=d[2]("prizes")+"")&&e.set_data(s,c),d[1]?p?p.p(d,f):(p=T(d),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),p&&p.d(),r[7](null)}}}function N(r,t,n){let i;e.component_subscribe(r,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,u,p;const d=()=>{fetch(s).then(m=>m.json()).then(m=>{Object.keys(m).forEach(g=>{y(g,m[g])})}).catch(m=>{console.log(m)})};Object.keys(P).forEach(o=>{y(o,P[o])});const f=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,p=o.data.prizes)},_=()=>{let o=document.createElement("style");o.innerHTML=l,u.appendChild(o)},h=()=>{let o=new URL(c),m=document.createElement("style");fetch(o.href).then(g=>g.text()).then(g=>{m.innerHTML=g,setTimeout(()=>{u.appendChild(m)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)}));function z(o){e.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}return r.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,l=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl)},r.$$.update=()=>{r.$$.dirty&17&&u&&l&&_(),r.$$.dirty&33&&u&&c&&h(),r.$$.dirty&64&&s&&d()},[u,p,i,a,l,c,s,z]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,M,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6},F)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(k,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=k;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as A, S as Z, i as j,
|
|
1
|
+
import { a as A, S as Z, i as j, s as I, f as T, b as R, n as M, d as k, m as v, c as F, o as f, e as g, p as b, t as _, g as u, j as B, w as O, k as N, l as U, q, v as V, $ as W } from "./CasinoTournamentsController-BXeJ6peR.js";
|
|
2
2
|
function H(l, e) {
|
|
3
3
|
A(l, e);
|
|
4
4
|
}
|
|
@@ -60,7 +60,7 @@ const S = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
function D(l) {
|
|
63
|
-
|
|
63
|
+
R(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
65
|
function E(l, e, t) {
|
|
66
66
|
const n = l.slice();
|
|
@@ -82,7 +82,7 @@ function L(l) {
|
|
|
82
82
|
r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(i, c) {
|
|
85
|
-
|
|
85
|
+
F(i, e, c);
|
|
86
86
|
for (let s = 0; s < n.length; s += 1)
|
|
87
87
|
n[s] && n[s].m(e, null);
|
|
88
88
|
r && r.m(e, null);
|
|
@@ -105,7 +105,7 @@ function L(l) {
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(i) {
|
|
108
|
-
i &&
|
|
108
|
+
i && k(e), U(n, i), r && r.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -119,7 +119,7 @@ function C(l) {
|
|
|
119
119
|
e = g("p"), n = _(t);
|
|
120
120
|
},
|
|
121
121
|
m(r, i) {
|
|
122
|
-
|
|
122
|
+
F(r, e, i), f(e, n);
|
|
123
123
|
},
|
|
124
124
|
p(r, i) {
|
|
125
125
|
i & /*$_*/
|
|
@@ -127,7 +127,7 @@ function C(l) {
|
|
|
127
127
|
r[2]("noprizes") + "") && v(n, t);
|
|
128
128
|
},
|
|
129
129
|
d(r) {
|
|
130
|
-
r &&
|
|
130
|
+
r && k(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
@@ -155,7 +155,7 @@ function x(l) {
|
|
|
155
155
|
l[15]);
|
|
156
156
|
},
|
|
157
157
|
m(h, y) {
|
|
158
|
-
|
|
158
|
+
F(h, e, y), f(e, t), f(t, n), f(n, i), f(t, c), f(t, p), f(t, o), f(t, z), f(e, w);
|
|
159
159
|
},
|
|
160
160
|
p(h, y) {
|
|
161
161
|
y & /*prizes*/
|
|
@@ -173,7 +173,7 @@ function x(l) {
|
|
|
173
173
|
h[13].name + "") && v(z, d);
|
|
174
174
|
},
|
|
175
175
|
d(h) {
|
|
176
|
-
h &&
|
|
176
|
+
h && k(e);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
@@ -190,7 +190,7 @@ function G(l) {
|
|
|
190
190
|
e = g("div"), t = g("div"), n = g("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = b(), i = g("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
192
|
m(d, z) {
|
|
193
|
-
|
|
193
|
+
F(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, p), o && o.m(e, null), l[7](e);
|
|
194
194
|
},
|
|
195
195
|
p(d, [z]) {
|
|
196
196
|
z & /*$_*/
|
|
@@ -201,13 +201,13 @@ function G(l) {
|
|
|
201
201
|
i: M,
|
|
202
202
|
o: M,
|
|
203
203
|
d(d) {
|
|
204
|
-
d &&
|
|
204
|
+
d && k(e), o && o.d(), l[7](null);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
208
|
function J(l, e, t) {
|
|
209
209
|
let n;
|
|
210
|
-
|
|
210
|
+
B(l, W, (a) => t(2, n = a));
|
|
211
211
|
let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
|
|
212
212
|
const d = () => {
|
|
213
213
|
fetch(s).then((m) => m.json()).then((m) => {
|
|
@@ -241,11 +241,11 @@ function J(l, e, t) {
|
|
|
241
241
|
);
|
|
242
242
|
});
|
|
243
243
|
};
|
|
244
|
-
|
|
244
|
+
O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
245
245
|
window.removeEventListener("message", z);
|
|
246
246
|
}));
|
|
247
247
|
function y(a) {
|
|
248
|
-
|
|
248
|
+
q[a ? "unshift" : "push"](() => {
|
|
249
249
|
p = a, t(0, p);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
@@ -274,7 +274,7 @@ class K extends Z {
|
|
|
274
274
|
e,
|
|
275
275
|
J,
|
|
276
276
|
G,
|
|
277
|
-
|
|
277
|
+
I,
|
|
278
278
|
{
|
|
279
279
|
tourid: 3,
|
|
280
280
|
clientstyling: 4,
|
|
@@ -309,7 +309,7 @@ class K extends Z {
|
|
|
309
309
|
this.$$set({ translationurl: e }), T();
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
|
|
312
|
+
V(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
313
313
|
export {
|
|
314
314
|
K as default
|
|
315
315
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsController-BWrEQTp7.cjs")).then(e=>e.CasinoTournamentsController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-controller")&&customElements.define("casino-tournaments-controller",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsController-BXeJ6peR.js").then((e) => e.K).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-controller") && customElements.define("casino-tournaments-controller", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|