@everymatrix/casino-lobby 1.64.7 → 1.65.0
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/{CasinoCalendar-BF8mewVC.js → CasinoCalendar-D1AUOXyn.js} +1010 -1031
- package/components/CasinoCalendar-DbHZR6ez.cjs +19 -0
- package/components/{CasinoCalendar-D4LpPl-1.js → CasinoCalendar-YrUEBUY4.js} +837 -858
- package/components/{CasinoCalendarDailyDetails-MqRoHEO5.cjs → CasinoCalendarDailyDetails-BC3c4Ia8.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-Ch6e1NT3.js → CasinoCalendarDailyDetails-DDW-a4F_.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-CYbfeCHU.js → CasinoCalendarDailyDetails-_m-1YVDA.js} +38 -38
- package/components/{CasinoCalendarDailyItem-C_Ebrn-V.js → CasinoCalendarDailyItem-CGof-9ma.js} +36 -36
- package/components/{CasinoCalendarDailyItem-Cc3LUybT.js → CasinoCalendarDailyItem-Znb-fMJL.js} +36 -36
- package/components/{CasinoCalendarDailyItem-DLR65l5h.cjs → CasinoCalendarDailyItem-wZEP8G_N.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-pZ0RE09Y.js → CasinoCategoriesSlider-BB6r-Xzx.js} +72 -72
- package/components/CasinoCategoriesSlider-DI4EMOTW.cjs +1 -0
- package/components/{CasinoCategoriesSlider-4PyZgVN4.js → CasinoCategoriesSlider-Dh-tJf3t.js} +73 -73
- package/components/{CasinoCollectionsProviders-B_huGyx5.cjs → CasinoCollectionsProviders-B5ctBNJe.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-BiELxvLs.js → CasinoCollectionsProviders-CpNnResd.js} +77 -77
- package/components/{CasinoCollectionsProviders-CxSXiBRw.js → CasinoCollectionsProviders-DFBM-13x.js} +64 -64
- package/components/{CasinoFavoritesSection-DNhx0TCJ.js → CasinoFavoritesSection-CAXsHTzQ.js} +17 -17
- package/components/{CasinoFavoritesSection-D-UkXryn.cjs → CasinoFavoritesSection-CbsnEovL.cjs} +1 -1
- package/components/{CasinoFavoritesSection-CKG08mvP.js → CasinoFavoritesSection-DQMwKJAN.js} +17 -17
- package/components/CasinoFilter-DWiol0Ro.cjs +1 -0
- package/components/{CasinoFilter-wmIw9PNN.js → CasinoFilter-Dc-tlu0I.js} +228 -229
- package/components/{CasinoFilter-B59lvHq7.js → CasinoFilter-yNFRGKt6.js} +244 -243
- package/components/{CasinoGameThumbnail-DOvhLlXz.js → CasinoGameThumbnail-B8JysEEd.js} +1269 -1253
- package/components/{CasinoGameThumbnail-CXkY0QzT.js → CasinoGameThumbnail-DPeMfUKg.js} +762 -778
- package/components/CasinoGameThumbnail-h3Va47TR.cjs +47 -0
- package/components/{CasinoGamesCategorySection-CKD6dg5N.cjs → CasinoGamesCategorySection-CVHn3paK.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-rpR_Dlk6.js → CasinoGamesCategorySection-CdITKyD1.js} +246 -246
- package/components/{CasinoGamesCategorySection-2zBxYA-B.js → CasinoGamesCategorySection-Dkv93rzn.js} +249 -249
- package/components/{CasinoJackpotBanner-C24srJSt.js → CasinoJackpotBanner-BlapZCat.js} +119 -119
- package/components/{CasinoJackpotBanner-DhRXbZof.cjs → CasinoJackpotBanner-CYVgb4Wn.cjs} +1 -1
- package/components/{CasinoJackpotBanner-dNXFQJTj.js → CasinoJackpotBanner-DoQyxMkB.js} +113 -113
- package/components/{CasinoLastPlayedSection-B8TsQxh7.js → CasinoLastPlayedSection-CCIsUm56.js} +37 -37
- package/components/{CasinoLastPlayedSection-r9eIV0bz.cjs → CasinoLastPlayedSection-CFarDqV_.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-nLvu1XOl.js → CasinoLastPlayedSection-XjcZaej-.js} +37 -37
- package/components/{CasinoLobby-CUTlLNLq.cjs → CasinoLobby-DTHPo09P.cjs} +1 -1
- package/components/{CasinoLobby-em3qGb9e.js → CasinoLobby-DbF9AW_F.js} +56 -56
- package/components/{CasinoLobby-Dq0Zd_zo.js → CasinoLobby-DivGX7kI.js} +57 -57
- package/components/{CasinoMostPlayedSection-B3_v0VjE.js → CasinoMostPlayedSection-BnNeeeot.js} +46 -46
- package/components/{CasinoMostPlayedSection-DHJlSbiK.js → CasinoMostPlayedSection-DitrlrrR.js} +46 -46
- package/components/{CasinoMostPlayedSection-CYbsPd70.cjs → CasinoMostPlayedSection-s6yEkBeV.cjs} +1 -1
- package/components/{CasinoMyGames-eMDesVa1.js → CasinoMyGames-BgdXo84N.js} +39 -39
- package/components/{CasinoMyGames-BYorv67w.cjs → CasinoMyGames-Do9lAwf0.cjs} +1 -1
- package/components/{CasinoMyGames-Q6tW8LIZ.js → CasinoMyGames-SjkE2WO0.js} +42 -42
- package/components/{CasinoPage-KQBGS5al.cjs → CasinoPage-BVFchmX9.cjs} +1 -1
- package/components/{CasinoPage-CW3QiTN3.js → CasinoPage-CJk1lNYs.js} +75 -75
- package/components/{CasinoPage-EZ6VIuIu.js → CasinoPage-Dm4cKsv_.js} +75 -75
- package/components/{CasinoRandomGame-B1u3odwX.js → CasinoRandomGame-BpKC9vM0.js} +56 -56
- package/components/{CasinoRandomGame-mZ24kU0C.cjs → CasinoRandomGame-Ot5iO2OM.cjs} +1 -1
- package/components/{CasinoRandomGame-BXlhl8EV.js → CasinoRandomGame-R73PoF3D.js} +57 -57
- package/components/{CasinoSearch-CPihxFbt.js → CasinoSearch-BgyUstQj.js} +95 -95
- package/components/{CasinoSearch-DUQJhn3X.cjs → CasinoSearch-CHVkiyX9.cjs} +1 -1
- package/components/{CasinoSearch-8z57Xz_K.js → CasinoSearch-DoEGCo0i.js} +98 -98
- package/components/{CasinoSlider-D7t8_zfr.js → CasinoSlider-MH7Zi6Q5.js} +68 -68
- package/components/{CasinoSlider-DKBg_L_0.js → CasinoSlider-ZZWJI_lt.js} +95 -95
- package/components/{CasinoSlider-e9OjOUTr.cjs → CasinoSlider-ncZ2n4tY.cjs} +1 -1
- package/components/{CasinoSort-D50Gqwov.js → CasinoSort-B7mekEmr.js} +112 -111
- package/components/{CasinoSort-BPTDI9TW.js → CasinoSort-B_FuX_V_.js} +102 -103
- package/components/{CasinoSort-CWyjQZ3C.cjs → CasinoSort-Cq5Z-R7j.cjs} +1 -1
- package/components/{CasinoWinners-DgXBOTeI.cjs → CasinoWinners-B5G-Ujht.cjs} +1 -1
- package/components/{CasinoWinners-LbQOS6Ei.js → CasinoWinners-BmPVVIj0.js} +145 -145
- package/components/{CasinoWinners-d939bnNo.js → CasinoWinners-jc_H8QI8.js} +152 -152
- package/components/{GeneralAnimationLoading-Bgob1QKM.cjs → GeneralAnimationLoading-CAvt6n4d.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BOE-CFcO.js → GeneralAnimationLoading-D7ff7oyx.js} +16 -16
- package/components/{GeneralAnimationLoading-DtX9qyd8.js → GeneralAnimationLoading-Dl0-ubex.js} +16 -16
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-Dkk0BTsb.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
- package/stencil/{casino-play-random-game-C0BJMsSD.js → casino-play-random-game-qroM0e64.js} +2 -2
- package/stencil/{casino-play-random-game-BLl4u8GF.js → casino-play-random-game-uBjWXXLi.js} +2 -2
- package/stencil/index-97d17652-BzQXAkmg.js +558 -0
- package/stencil/index-97d17652-DYGS0vqJ.cjs +1 -0
- package/stencil/index-97d17652-mbOyENH9.js +542 -0
- package/stencil/index-ab3202d6-CSUArOSv.js +559 -0
- package/stencil/index-ab3202d6-CoRS04SH.js +575 -0
- package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
- package/stencil/index-b2193545-1xr0QZqh.js +519 -0
- package/stencil/index-b2193545-CBbhLYGf.js +503 -0
- package/stencil/index-b2193545-Cb0KmSjH.cjs +1 -0
- package/stencil/{ui-image-YGEFo8L0.js → ui-image-3GJmZGc5.js} +1 -1
- package/stencil/{ui-image-w38Eao2h.js → ui-image-DWftG2wP.js} +1 -1
- package/stencil/{ui-image-DLXwOzO2.cjs → ui-image-DYk0yoSW.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-7wF4sIlr.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DQE3WxuL.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-kIlLPkYB.js} +1 -1
- package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CJHJWEhi.cjs} +1 -1
- package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Db7N7hzA.js} +2 -2
- package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-oohpKuRS.js} +2 -2
- package/stencil/{ui-skeleton-1cb75d00-D5AevndQ.js → ui-skeleton-1cb75d00-CLDhpYil.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-C9ZtbYpX.cjs → ui-skeleton-1cb75d00-CxoWdhdz.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BWUmrSx4.js → ui-skeleton-1cb75d00-DdX5kLxg.js} +1 -1
- package/stencil/{ui-skeleton-CUmVjhrn.cjs → ui-skeleton-3ETvO3HA.cjs} +1 -1
- package/stencil/{ui-skeleton-D5ACyLBl.js → ui-skeleton-BaRKsizw.js} +2 -2
- package/stencil/{ui-skeleton-CDhNSEbX.js → ui-skeleton-Dcy_5g4O.js} +2 -2
- package/components/CasinoCalendar-DglR4hXB.cjs +0 -19
- package/components/CasinoCategoriesSlider--HeFAg7z.cjs +0 -1
- package/components/CasinoFilter-1GsfPr4q.cjs +0 -1
- package/components/CasinoGameThumbnail-BvOIlOOi.cjs +0 -47
- package/stencil/index-97d17652-BEnqZAxL.js +0 -558
- package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
- package/stencil/index-97d17652-WK_DbPS4.js +0 -542
- package/stencil/index-ab3202d6-CZKlrnZf.js +0 -559
- package/stencil/index-ab3202d6-ClDKsCJv.js +0 -575
- package/stencil/index-ab3202d6-DFbwTHas.cjs +0 -1
- package/stencil/index-b2193545-60VR4wV3.js +0 -519
- package/stencil/index-b2193545-LYFajSbf.js +0 -503
- package/stencil/index-b2193545-nJb2J-aJ.cjs +0 -1
package/components/{CasinoFavoritesSection-CKG08mvP.js → CasinoFavoritesSection-DQMwKJAN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, Q as O, S as R, i as j,
|
|
1
|
+
import { $ as E, Q as O, S as R, i as j, f as l, c as z, s as G, b as H, e as A, y as Q, d as D, G as q, j as I, o as T, l as U, H as s, q as V, r as B, m as J } from "./CasinoCalendar-D1AUOXyn.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,11 +11,11 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-CdITKyD1.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function K({ withLocale: n, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
20
|
t == null && (O.set(e), E.set(n));
|
|
21
21
|
});
|
|
@@ -27,7 +27,7 @@ function L(n) {
|
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
30
|
-
e =
|
|
30
|
+
e = A("casino-games-category-section"), s(
|
|
31
31
|
e,
|
|
32
32
|
"session",
|
|
33
33
|
/*session*/
|
|
@@ -120,7 +120,7 @@ function L(n) {
|
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
122
|
m(t, a) {
|
|
123
|
-
|
|
123
|
+
D(t, e, a);
|
|
124
124
|
},
|
|
125
125
|
p(t, a) {
|
|
126
126
|
a & /*session*/
|
|
@@ -234,7 +234,7 @@ function L(n) {
|
|
|
234
234
|
);
|
|
235
235
|
},
|
|
236
236
|
d(t) {
|
|
237
|
-
t &&
|
|
237
|
+
t && I(e);
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
@@ -245,28 +245,28 @@ function P(n) {
|
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
248
|
-
e =
|
|
248
|
+
e = A("div"), t && t.c(), Q(e, "class", "CasinoFavoritesSectionContainer");
|
|
249
249
|
},
|
|
250
250
|
m(a, g) {
|
|
251
|
-
|
|
251
|
+
D(a, e, g), t && t.m(e, null), n[19](e);
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
255
255
|
a[4] ? t ? t.p(a, g) : (t = L(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
256
256
|
},
|
|
257
|
-
i:
|
|
258
|
-
o:
|
|
257
|
+
i: q,
|
|
258
|
+
o: q,
|
|
259
259
|
d(a) {
|
|
260
|
-
a &&
|
|
260
|
+
a && I(e), t && t.d(), n[19](null);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
264
|
function W(n, e, t) {
|
|
265
265
|
let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: r = "" } = e, { clientstylingurl: o = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, { mbsource: c } = e, m;
|
|
266
|
-
|
|
266
|
+
K({ withLocale: "en", translations: {} }), T(() => () => {
|
|
267
267
|
});
|
|
268
268
|
function M(i) {
|
|
269
|
-
|
|
269
|
+
V[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -274,9 +274,9 @@ function W(n, e, t) {
|
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, v = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, S = i.casinomygames), "fetchviaevent" in i && t(16, F = i.fetchviaevent), "mbsource" in i && t(17, c = i.mbsource);
|
|
275
275
|
}, n.$$.update = () => {
|
|
276
276
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
-
262208 && r && m &&
|
|
277
|
+
262208 && r && m && B(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
278
|
262272 && o && m && U(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
|
|
279
|
-
393216 && m &&
|
|
279
|
+
393216 && m && J(m, `${c}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
|
282
282
|
g,
|
|
@@ -307,7 +307,7 @@ class X extends R {
|
|
|
307
307
|
e,
|
|
308
308
|
W,
|
|
309
309
|
P,
|
|
310
|
-
|
|
310
|
+
G,
|
|
311
311
|
{
|
|
312
312
|
endpoint: 0,
|
|
313
313
|
datasource: 1,
|
|
@@ -440,7 +440,7 @@ class X extends R {
|
|
|
440
440
|
this.$$set({ mbsource: e }), l();
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
z(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
444
444
|
export {
|
|
445
445
|
X as default
|
|
446
446
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DbHZR6ez.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(r=>{r==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function G(i,t){e.addMessages(i,t)}const K={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function te(i){e.append_styles(i,"svelte-1rlsu2u",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function Q(i,t,r){const a=i.slice();return a[37]=t[r],a[38]=t,a[39]=r,a}function le(i){let t,r,a,n,s,f,b,y,h=i[11]("filterby")+"",p,w,F,L,I=i[11]("providers")+"",k,x,m,u,o,S,A,B,D,v,O,J,P,T=i[11]("clear")+"",j,M,N,z,V,q;function H(l,c){return l[7]?ae:ie}let W=H(i),C=W(i),E=e.ensure_array_like(i[5]),_=[];for(let l=0;l<E.length;l+=1)_[l]=X(Q(i,E,l));return{c(){t=e.element("div"),r=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),w=e.space(),F=e.element("div"),L=e.element("span"),k=e.text(I),x=e.space(),C.c(),m=e.space(),u=e.element("span"),o=e.svg_element("svg"),S=e.svg_element("path"),D=e.space(),v=e.element("div"),O=e.element("ul");for(let l=0;l<_.length;l+=1)_[l].c();J=e.space(),P=e.element("button"),j=e.text(T),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(S,"id","arrow"),e.attr(S,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(S,"transform","translate(-274.511 -441.088)"),e.attr(S,"fill","#d1d1d1"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","14"),e.attr(o,"height","6.835"),e.attr(o,"viewBox","0 0 14 6.835"),e.attr(u,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(r,"class",B="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(O,"class","FilterDropdown"),e.attr(P,"class","ClearFilters"),P.disabled=M=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",N="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",z="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(l,c){e.insert(l,t,c),e.append(t,r),e.append(r,a),e.append(a,n),e.append(n,s),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,w),e.append(b,F),e.append(F,L),e.append(L,k),e.append(F,x),C.m(F,null),e.append(r,m),e.append(r,u),e.append(u,o),e.append(o,S),e.append(t,D),e.append(t,v),e.append(v,O);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(O,null);e.append(v,J),e.append(v,P),e.append(P,j),V||(q=[e.listen(r,"click",i[24]),e.listen(P,"click",i[27])],V=!0)},p(l,c){if(c[0]&2048&&h!==(h=l[11]("filterby")+"")&&e.set_data(p,h),c[0]&2048&&I!==(I=l[11]("providers")+"")&&e.set_data(k,I),W===(W=H(l))&&C?C.p(l,c):(C.d(1),C=W(l),C&&(C.c(),C.m(F,null))),c[0]&16&&A!==(A="TriangleInactive "+(l[4]?"TriangleActive":""))&&e.attr(u,"class",A),c[0]&16&&B!==(B="FilterSelector "+(l[4]?"FilterSelectorOpen":""))&&e.attr(r,"class",B),c[0]&8228){E=e.ensure_array_like(l[5]);let d;for(d=0;d<E.length;d+=1){const g=Q(l,E,d);_[d]?_[d].p(g,c):(_[d]=X(g),_[d].c(),_[d].m(O,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=E.length}c[0]&2048&&T!==(T=l[11]("clear")+"")&&e.set_data(j,T),c[0]&224&&M!==(M=l[7]&&l[6].length!=l[5].length)&&(P.disabled=M),c[0]&16&&N!==(N="FilterDropdownContainer "+(l[4]?"FilterOpen":""))&&e.attr(v,"class",N),c[0]&3&&z!==(z="FilterContainer "+(l[0]=="true"&&l[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",z)},d(l){l&&e.detach(t),C.d(),e.destroy_each(_,l),V=!1,e.run_all(q)}}}function re(i){let t,r=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(r),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&r!==(r=n[11]("500")+"")&&e.set_data(a,r)},d(n){n&&e.detach(t)}}}function ie(i){let t,r;return{c(){t=e.element("span"),r=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,r)},p(a,n){n[0]&256&&e.set_data(r,a[8])},d(a){a&&e.detach(t)}}}function ae(i){let t,r=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(r),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&r!==(r=n[11]("all")+"")&&e.set_data(a,r)},d(n){n&&e.detach(t)}}}function ne(i){let t,r;return{c(){t=e.element("img"),e.src_url_equal(t.src,r=i[37].logo)||e.attr(t,"src",r),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,r=a[37].logo)&&e.attr(t,"src",r)},d(a){a&&e.detach(t)}}}function se(i){let t,r,a=i[37].name+"",n,s,f,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),r=e.element("span"),n=e.text(a),s=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(r,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(w,F){e.insert(w,t,F),e.append(t,r),e.append(r,n),e.append(t,s),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,p)},p(w,F){F[0]&32&&a!==(a=w[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=w[37].games.total+"")&&e.set_data(h,y)},d(w){w&&e.detach(t)}}}function X(i){let t,r,a,n,s,f,b,y,h,p,w,F;function L(){i[25].call(a,i[38],i[39])}function I(){return i[26](i[37])}function k(u,o){if(u[2]==="false")return se;if(u[2]==="true")return ne}let x=k(i),m=x&&x(i);return{c(){t=e.element("li"),r=e.element("label"),a=e.element("input"),s=e.space(),f=e.element("span"),b=e.space(),m&&m.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[37].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(r,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,o){e.insert(u,t,o),e.append(t,r),e.append(r,a),a.checked=i[37].isFilterSelected,e.append(r,s),e.append(r,f),e.append(r,b),m&&m.m(r,null),e.append(t,y),w||(F=[e.listen(a,"change",L),e.listen(a,"click",I)],w=!0)},p(u,o){i=u,o[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),o[0]&32&&(a.checked=i[37].isFilterSelected),x===(x=k(i))&&m?m.p(i,o):(m&&m.d(1),m=x&&x(i),m&&(m.c(),m.m(r,null))),o[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),o[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),w=!1,e.run_all(F)}}}function oe(i){let t;function r(s,f){if(s[10])return re;if(!s[9])return le}let a=r(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,f){e.insert(s,t,f),n&&n.m(t,null),i[28](t)},p(s,f){a===(a=r(s))&&n?n.p(s,f):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[28](null)}}}function ce(i,t,r){let a;e.component_subscribe(i,e.$format,l=>r(11,a=l));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:w="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:I}=t,{usesinglevendorfilter:k="false"}=t,x=!1,m=window.navigator.userAgent,u=[],o=[],S={},A=!1,B=0,D=!0,v,O=!1,J;ee({withLocale:"en",translations:{}});const P=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(d=>{G(d,c[d])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(l=>{G(l,K[l])}),S[p]&&(S={[p]:[]});const T=()=>{r(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},j=l=>(r(9,D=!0),new Promise((c,d)=>{fetch(l).then(g=>g.json()).then(g=>{g=g.items,c(g.items),r(6,o=[]);let U=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const $=k==="true"?"*":p;g.forEach(R=>{var Z;U||(U={currentCategoryId:[]}),((Z=U[$])==null?void 0:Z.indexOf(R.id))>=0?(R.isFilterSelected=!0,o.push(R)):R.isFilterSelected=!1}),r(5,u=g),N()}).catch(g=>{console.error(g),r(10,O=!0),d(g)}).finally(()=>{r(9,D=!1)})})),M=l=>{let c=localStorage.getItem("vendorFiltersByCategory");l.isFilterSelected=!l.isFilterSelected,!o.length||o.filter(g=>g.name===l.name).length==0?o.push(l):r(6,o=o.filter(g=>g.name!==l.name));const d=k==="true"?"*":p;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(S={[d]:o.map(g=>g.id)})):(c=JSON.parse(c),c[d]=o.map(g=>g.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),N()},N=()=>{r(7,A=o.length===u.length||o.length==0),r(8,B=o.length)},z=()=>{if(u.length&&k==="true")return;const l=new URL(`${n}/v1/casino/vendors`);r(4,x=!1),l.searchParams.append("fields","id,name,logo,subVendors,games"),l.searchParams.append("language",f),l.searchParams.append("datasource",s),l.searchParams.append("platform",e.getDevice(m)),k==="true"||((p.match(/\$/g)||[]).length>1?(l.searchParams.append("filter",`games(subGroups=${p})`),l.searchParams.append("subVendors",`games(subGroups=${p})`)):l.searchParams.append("filter",`games(groups=${p})`)),j(l)},V=()=>{r(6,o=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(S={[k==="true"?"*":p]:o.map(l=>l.id)})),u.forEach(l=>l.isFilterSelected=!1),r(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,A=!0),r(4,x=!1)},q=l=>{l.data.type=="SortingOpened"&&r(4,x=!1)};e.onMount(()=>(window.addEventListener("message",q,!1),()=>{window.emMessageBus!=null&&J&&J.unsubscribe(),window.removeEventListener("message",q)}));const H=()=>T();function W(l,c){l[c].isFilterSelected=this.checked,r(5,u)}const C=l=>M(l),E=()=>V();function _(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,r(3,v)})}return i.$$set=l=>{"endpoint"in l&&r(15,n=l.endpoint),"datasource"in l&&r(16,s=l.datasource),"lang"in l&&r(17,f=l.lang),"translationurl"in l&&r(18,b=l.translationurl),"clientstyling"in l&&r(19,y=l.clientstyling),"clientstylingurl"in l&&r(20,h=l.clientstylingurl),"categoryid"in l&&r(21,p=l.categoryid),"addfilterselector"in l&&r(0,w=l.addfilterselector),"addsortingselector"in l&&r(1,F=l.addsortingselector),"filterbylogo"in l&&r(2,L=l.filterbylogo),"mbsource"in l&&r(22,I=l.mbsource),"usesinglevendorfilter"in l&&r(23,k=l.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&p&&L&&z(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&4194312&&v&&e.setStreamStyling(v,`${I}.Style`),i.$$.dirty[0]&262144&&b&&P()},[w,F,L,v,x,u,o,A,B,D,O,a,T,M,V,n,s,f,b,y,h,p,I,k,H,W,C,E,_]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,oe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},te,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}}e.create_custom_element(Y,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=Y;
|