@everymatrix/casino-lobby 1.60.2 → 1.61.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/{CasinoCalendar-DqS7aKva.cjs → CasinoCalendar-BaQd3tuL.cjs} +6 -6
- package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-C4nbeq1g.js} +276 -270
- package/components/{CasinoCalendar-CI-C6zUY.js → CasinoCalendar-WuTw9Z8d.js} +276 -270
- package/components/CasinoCalendarDailyDetails-BAGuydyF.js +694 -0
- package/components/CasinoCalendarDailyDetails-CHONyOB5.js +694 -0
- package/components/CasinoCalendarDailyDetails-DrcJ9qsj.cjs +1 -0
- package/components/CasinoCalendarDailyItem-B3npUDyl.cjs +1 -0
- package/components/CasinoCalendarDailyItem-CPM6-0C8.js +307 -0
- package/components/CasinoCalendarDailyItem-eOgZSp2O.js +307 -0
- package/components/{CasinoCategoriesSlider-i9BCUm8R.cjs → CasinoCategoriesSlider-CWcGEpfR.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-DZX7fAxD.js → CasinoCategoriesSlider-DgQayYzE.js} +15 -15
- package/components/{CasinoCategoriesSlider-C2jbyhRF.js → CasinoCategoriesSlider-DyNiM5Xn.js} +14 -14
- package/components/{CasinoCollectionsProviders-Fw278mB3.js → CasinoCollectionsProviders-5PJh4coY.js} +174 -173
- package/components/CasinoCollectionsProviders-BMFI1FD2.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BRhnxud8.js → CasinoCollectionsProviders-DvICMch1.js} +187 -186
- package/components/{CasinoFavoritesSection-QS8imHGS.js → CasinoFavoritesSection-BLswksE3.js} +14 -14
- package/components/{CasinoFavoritesSection-D32Mbv-O.js → CasinoFavoritesSection-D57jT5yq.js} +14 -14
- package/components/{CasinoFavoritesSection-D1GhXv3a.cjs → CasinoFavoritesSection-DXEM7KtA.cjs} +1 -1
- package/components/CasinoFilter-B9G8cs2A.cjs +1 -0
- package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-BH7-Laxf.js} +50 -50
- package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-COinUQ6E.js} +96 -94
- package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-D4oYftHp.js} +1364 -1363
- package/components/CasinoGamePage-DhNoxzWb.cjs +18 -0
- package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-NTjXPK0_.js} +1320 -1319
- package/components/CasinoGameThumbnail-C_F6ViBB.js +1068 -0
- package/components/CasinoGameThumbnail-DWRrHNvN.cjs +30 -0
- package/components/CasinoGameThumbnail-pajQYCwc.js +1084 -0
- package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +1 -0
- package/components/{CasinoGamesCategorySection-Bw_6-a2H.js → CasinoGamesCategorySection-Br-ZBeEp.js} +1181 -1111
- package/components/{CasinoGamesCategorySection-DdJnZPgm.js → CasinoGamesCategorySection-DrL01BnG.js} +742 -673
- package/components/CasinoJackpotBanner-BoWCKFIJ.cjs +1 -0
- package/components/CasinoJackpotBanner-CG4fFV2M.js +694 -0
- package/components/CasinoJackpotBanner-Yo5HGzmD.js +698 -0
- package/components/{CasinoLastPlayedSection-DF1qIy7A.js → CasinoLastPlayedSection-BUIc0ZEt.js} +9 -9
- package/components/{CasinoLastPlayedSection-CnwiqEWd.cjs → CasinoLastPlayedSection-CFEzl7GR.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-D8w8f1qu.js → CasinoLastPlayedSection-DjRKGJ8F.js} +9 -9
- package/components/{CasinoLobby-Anq70pxB.js → CasinoLobby-CQVjJ22J.js} +284 -245
- package/components/CasinoLobby-DnBSVJ5P.cjs +1 -0
- package/components/{CasinoLobby-Br00KMpi.js → CasinoLobby-L5w-S2-2.js} +284 -245
- package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-CeEDc631.cjs} +1 -1
- package/components/{CasinoModal-BaV1FE12.js → CasinoModal-Cx4skobD.js} +8 -8
- package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-DrALs71O.js} +8 -8
- package/components/{CasinoMostPlayedSection-4nc9NISY.js → CasinoMostPlayedSection-BrjuU2ad.js} +14 -14
- package/components/{CasinoMostPlayedSection-CleRvEGW.cjs → CasinoMostPlayedSection-D72Posxa.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DEpCntHU.js → CasinoMostPlayedSection-Dru8l_gX.js} +14 -14
- package/components/{CasinoMyGames-Cqgayk3N.js → CasinoMyGames-Cc8aQUy5.js} +17 -17
- package/components/{CasinoMyGames-BeNdYI48.cjs → CasinoMyGames-DP5VtRtX.cjs} +1 -1
- package/components/{CasinoMyGames-Ls6PjVLx.js → CasinoMyGames-Eco1Z13t.js} +16 -16
- package/components/{CasinoPage-B_ulErY-.js → CasinoPage-BvKvwzQq.js} +1023 -881
- package/components/CasinoPage-DAptP7ZQ.cjs +1 -0
- package/components/{CasinoPage-vykaQto-.js → CasinoPage-mARxTyiZ.js} +1002 -844
- package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-5kYiDYSm.js} +155 -154
- package/components/CasinoRandomGame-BJiVFaRb.cjs +2 -0
- package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-RYfnY5_c.js} +195 -194
- package/components/{CasinoSearch-CyctCdxx.js → CasinoSearch-CnWoNOtX.js} +27 -27
- package/components/{CasinoSearch-jq6HJhjW.cjs → CasinoSearch-D-hwTHcV.cjs} +1 -1
- package/components/{CasinoSearch-DcjbpUq_.js → CasinoSearch-Nqv4h_zq.js} +27 -27
- package/components/CasinoSlider-B3dV89iI.cjs +1 -0
- package/components/{CasinoSlider-BmXppZ63.js → CasinoSlider-Cr-fAktO.js} +224 -223
- package/components/{CasinoSlider-DbK0-rGh.js → CasinoSlider-D1JzP31y.js} +155 -154
- package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-ByAjtAxn.cjs} +1 -1
- package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-D51DNHxk.js} +1 -1
- package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-DXiP4dA5.js} +1 -1
- package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-B1BXrca1.js} +99 -98
- package/components/CasinoWinners-CEq9st2v.cjs +1 -0
- package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-pzI08CdT.js} +102 -101
- package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-CI4qqgO_.js} +6 -6
- package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-CIaY2Gvf.js} +6 -6
- package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-DiZmxxRF.cjs} +1 -1
- 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/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
- package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-6EpPs13y.js} +3 -8
- package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BUvMKyaw.js} +6 -11
- package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
- package/stencil/{index-ab3202d6-OPh7hJp9.js → index-ab3202d6-9zuW-dLG.js} +1 -1
- package/stencil/{index-ab3202d6-hGs51skN.js → index-ab3202d6-CGVciVSL.js} +1 -1
- package/stencil/{index-ab3202d6-C1hgKWrC.cjs → index-ab3202d6-c7Vf1NJ1.cjs} +1 -1
- package/stencil/{index-b2193545-MPc38oBt.js → index-b2193545-CGYrx6SV.js} +1 -1
- package/stencil/{index-b2193545-DCd44oUP.cjs → index-b2193545-DU7jU8hT.cjs} +1 -1
- package/stencil/{index-b2193545-lFMF9wMV.js → index-b2193545-k_uiu1dU.js} +1 -1
- package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
- package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
- package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
- package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
- package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
- package/stencil/ui-image-CV8AJ9cY.js +29 -0
- package/stencil/ui-image-DG3xEaHN.js +11 -0
- package/stencil/ui-image-LuWVcxjH.cjs +1 -0
- package/stencil/{ui-skeleton-0M0DsgcH.js → ui-skeleton-22AocHRT.js} +8 -8
- package/stencil/{ui-skeleton-ea659b95-Denrk3xZ.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-DoJviCLo.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
- package/stencil/{ui-skeleton-ea659b95-Doo7piTc.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
- package/stencil/{ui-skeleton-DGBcSK-r.js → ui-skeleton-CMD3xF0X.js} +5 -5
- package/stencil/{ui-skeleton-Dt8jS6rz.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-DQB9Y3_Q.js +0 -693
- package/components/CasinoCalendarDailyDetails-DUQWFLJJ.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-Xi-Uo8v-.js +0 -693
- package/components/CasinoCalendarDailyItem-CVt2FFo1.cjs +0 -1
- package/components/CasinoCalendarDailyItem-CjRZKnnD.js +0 -306
- package/components/CasinoCalendarDailyItem-DC91__VM.js +0 -306
- package/components/CasinoCollectionsProviders-Beuct27Z.cjs +0 -1
- package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
- package/components/CasinoGamePage-BmgERtPr.cjs +0 -18
- package/components/CasinoGameThumbnail-B9OLAJDP.js +0 -1882
- package/components/CasinoGameThumbnail-C-_VEhfz.cjs +0 -38
- package/components/CasinoGameThumbnail-w6gElzrs.js +0 -1866
- package/components/CasinoGamesCategorySection-B_kw0cnt.cjs +0 -1
- package/components/CasinoJackpotBanner-B_CnR3Kj.cjs +0 -1
- package/components/CasinoJackpotBanner-Dxq2Y_-S.js +0 -697
- package/components/CasinoJackpotBanner-UQaC63Zv.js +0 -693
- package/components/CasinoLobby-Da8EvOPn.cjs +0 -1
- package/components/CasinoPage-86frPbmB.cjs +0 -1
- package/components/CasinoRandomGame-BO7BqLXA.cjs +0 -2
- package/components/CasinoSlider-Bo4dCvJT.cjs +0 -1
- package/components/CasinoWinners-KEY7dD3z.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
package/components/{CasinoFavoritesSection-QS8imHGS.js → CasinoFavoritesSection-BLswksE3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, U as
|
|
1
|
+
import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-WuTw9Z8d.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,23 +11,23 @@ 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-Br-ZBeEp.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
18
|
function N({ withLocale: n, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
|
-
t == null && (
|
|
20
|
+
t == null && (O.set(e), E.set(n));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
function P(n) {
|
|
24
24
|
z(n, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function M(n) {
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
30
|
-
e =
|
|
30
|
+
e = D("casino-games-category-section"), s(
|
|
31
31
|
e,
|
|
32
32
|
"session",
|
|
33
33
|
/*session*/
|
|
@@ -120,7 +120,7 @@ function I(n) {
|
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
122
|
m(t, a) {
|
|
123
|
-
|
|
123
|
+
A(t, e, a);
|
|
124
124
|
},
|
|
125
125
|
p(t, a) {
|
|
126
126
|
a & /*session*/
|
|
@@ -234,30 +234,30 @@ function I(n) {
|
|
|
234
234
|
);
|
|
235
235
|
},
|
|
236
236
|
d(t) {
|
|
237
|
-
t &&
|
|
237
|
+
t && q(e);
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
function Q(n) {
|
|
242
242
|
let e, t = (
|
|
243
243
|
/*session*/
|
|
244
|
-
n[4] &&
|
|
244
|
+
n[4] && M(n)
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
248
|
-
e =
|
|
248
|
+
e = D("div"), t && t.c(), J(e, "class", "CasinoFavoritesSectionContainer");
|
|
249
249
|
},
|
|
250
250
|
m(a, g) {
|
|
251
|
-
|
|
251
|
+
A(a, e, g), t && t.m(e, null), n[19](e);
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
255
|
-
a[4] ? t ? t.p(a, g) : (t =
|
|
255
|
+
a[4] ? t ? t.p(a, g) : (t = M(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
256
256
|
},
|
|
257
257
|
i: L,
|
|
258
258
|
o: L,
|
|
259
259
|
d(a) {
|
|
260
|
-
a &&
|
|
260
|
+
a && q(e), t && t.d(), n[19](null);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
@@ -265,7 +265,7 @@ 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
|
N({ withLocale: "en", translations: {} }), K(() => () => {
|
|
267
267
|
});
|
|
268
|
-
function
|
|
268
|
+
function I(i) {
|
|
269
269
|
T[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
@@ -297,7 +297,7 @@ function W(n, e, t) {
|
|
|
297
297
|
F,
|
|
298
298
|
c,
|
|
299
299
|
m,
|
|
300
|
-
|
|
300
|
+
I
|
|
301
301
|
];
|
|
302
302
|
}
|
|
303
303
|
class X extends R {
|
package/components/{CasinoFavoritesSection-D32Mbv-O.js → CasinoFavoritesSection-D57jT5yq.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, U as
|
|
1
|
+
import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,23 +11,23 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-DrL01BnG.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
18
|
function N({ withLocale: n, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
|
-
t == null && (
|
|
20
|
+
t == null && (O.set(e), E.set(n));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
function P(n) {
|
|
24
24
|
z(n, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function M(n) {
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
30
|
-
e =
|
|
30
|
+
e = D("casino-games-category-section"), s(
|
|
31
31
|
e,
|
|
32
32
|
"session",
|
|
33
33
|
/*session*/
|
|
@@ -120,7 +120,7 @@ function I(n) {
|
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
122
|
m(t, a) {
|
|
123
|
-
|
|
123
|
+
A(t, e, a);
|
|
124
124
|
},
|
|
125
125
|
p(t, a) {
|
|
126
126
|
a & /*session*/
|
|
@@ -234,30 +234,30 @@ function I(n) {
|
|
|
234
234
|
);
|
|
235
235
|
},
|
|
236
236
|
d(t) {
|
|
237
|
-
t &&
|
|
237
|
+
t && q(e);
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
function Q(n) {
|
|
242
242
|
let e, t = (
|
|
243
243
|
/*session*/
|
|
244
|
-
n[4] &&
|
|
244
|
+
n[4] && M(n)
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
248
|
-
e =
|
|
248
|
+
e = D("div"), t && t.c(), J(e, "class", "CasinoFavoritesSectionContainer");
|
|
249
249
|
},
|
|
250
250
|
m(a, g) {
|
|
251
|
-
|
|
251
|
+
A(a, e, g), t && t.m(e, null), n[19](e);
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
255
|
-
a[4] ? t ? t.p(a, g) : (t =
|
|
255
|
+
a[4] ? t ? t.p(a, g) : (t = M(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
256
256
|
},
|
|
257
257
|
i: L,
|
|
258
258
|
o: L,
|
|
259
259
|
d(a) {
|
|
260
|
-
a &&
|
|
260
|
+
a && q(e), t && t.d(), n[19](null);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
@@ -265,7 +265,7 @@ 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
|
N({ withLocale: "en", translations: {} }), K(() => () => {
|
|
267
267
|
});
|
|
268
|
-
function
|
|
268
|
+
function I(i) {
|
|
269
269
|
T[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
@@ -297,7 +297,7 @@ function W(n, e, t) {
|
|
|
297
297
|
F,
|
|
298
298
|
c,
|
|
299
299
|
m,
|
|
300
|
-
|
|
300
|
+
I
|
|
301
301
|
];
|
|
302
302
|
}
|
|
303
303
|
class X extends R {
|
package/components/{CasinoFavoritesSection-D1GhXv3a.cjs → CasinoFavoritesSection-DXEM7KtA.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BaQd3tuL.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-BXWd7Cck.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"svelte-nazqps",".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"fetchviaevent",a[16]),t.set_custom_element_data(e,"mbsource",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[13]),t.set_custom_element_data(e,"gamepagemodalurl",a[12]),t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),t.set_custom_element_data(e,"integratedgameframemobile",a[9]),t.set_custom_element_data(e,"casinomygames",a[15])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&16384&&t.set_custom_element_data(e,"favorites",s[14]),i&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i&131072&&t.set_custom_element_data(e,"mbsource",s[17]),i&2048&&t.set_custom_element_data(e,"showgamename",s[11]),i&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i&256&&t.set_custom_element_data(e,"livecasino",s[8]),i&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),i&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,{mbsource:c}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,u=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,b=n.showgamename),"gamepagemodalurl"in n&&s(12,v=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,k=n.favorites),"casinomygames"in n&&s(15,C=n.casinomygames),"fetchviaevent"in n&&s(16,S=n.fetchviaevent),"mbsource"in n&&s(17,c=n.mbsource)},a.$$.update=()=>{a.$$.dirty&262208&&o&&m&&t.setClientStyling(m,o),a.$$.dirty&262272&&u&&m&&t.setClientStylingURL(m,u),a.$$.dirty&393216&&m&&t.setStreamStyling(m,`${c}.Style`)},[i,l,g,r,f,_,o,u,d,h,y,b,v,w,k,C,S,c,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16,mbsource:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BaQd3tuL.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function X({withLocale:r,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(r))})}function U(r,t){e.addMessages(r,t)}const Z={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 Y(r){e.append_styles(r,"svelte-rcu873",':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:16}.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, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.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 ui-image 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, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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 G(r,t,l){const a=r.slice();return a[36]=t[l],a[37]=t,a[38]=l,a}function $(r){let t,l,a,n,s,g,y,v,F=r[11]("filterby")+"",p,_,b,P,S=r[11]("providers")+"",w,k,f,d,m,I,D,O,C,L,T,W,A,N=r[11]("clear")+"",z,B,M,E,q,J;function H(o,u){return o[7]?le:te}let V=H(r),x=V(r),i=e.ensure_array_like(r[5]),c=[];for(let o=0;o<i.length;o+=1)c[o]=K(G(r,i,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),g=e.space(),y=e.element("div"),v=e.element("span"),p=e.text(F),_=e.space(),b=e.element("div"),P=e.element("span"),w=e.text(S),k=e.space(),x.c(),f=e.space(),d=e.element("span"),m=e.svg_element("svg"),I=e.svg_element("path"),C=e.space(),L=e.element("div"),T=e.element("ul");for(let o=0;o<c.length;o+=1)c[o].c();W=e.space(),A=e.element("button"),z=e.text(N),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(v,"class","FilterName"),e.attr(b,"class","FilterValueContainer"),e.attr(y,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(I,"id","arrow"),e.attr(I,"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(I,"transform","translate(-274.511 -441.088)"),e.attr(I,"fill","#d1d1d1"),e.attr(m,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"width","14"),e.attr(m,"height","6.835"),e.attr(m,"viewBox","0 0 14 6.835"),e.attr(d,"class",D="TriangleInactive "+(r[4]?"TriangleActive":"")),e.attr(l,"class",O="FilterSelector "+(r[4]?"FilterSelectorOpen":"")),e.attr(T,"class","FilterDropdown"),e.attr(A,"class","ClearFilters"),A.disabled=B=r[7]&&r[6].length!=r[5].length,e.attr(L,"class",M="FilterDropdownContainer "+(r[4]?"FilterOpen":"")),e.attr(t,"class",E="FilterContainer "+(r[0]=="true"&&r[1]=="true"?"FilerContainerSplit":""))},m(o,u){e.insert(o,t,u),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,g),e.append(a,y),e.append(y,v),e.append(v,p),e.append(y,_),e.append(y,b),e.append(b,P),e.append(P,w),e.append(b,k),x.m(b,null),e.append(l,f),e.append(l,d),e.append(d,m),e.append(m,I),e.append(t,C),e.append(t,L),e.append(L,T);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(T,null);e.append(L,W),e.append(L,A),e.append(A,z),q||(J=[e.listen(l,"click",r[23]),e.listen(A,"click",r[26])],q=!0)},p(o,u){if(u[0]&2048&&F!==(F=o[11]("filterby")+"")&&e.set_data(p,F),u[0]&2048&&S!==(S=o[11]("providers")+"")&&e.set_data(w,S),V===(V=H(o))&&x?x.p(o,u):(x.d(1),x=V(o),x&&(x.c(),x.m(b,null))),u[0]&16&&D!==(D="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(d,"class",D),u[0]&16&&O!==(O="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",O),u[0]&8228){i=e.ensure_array_like(o[5]);let h;for(h=0;h<i.length;h+=1){const j=G(o,i,h);c[h]?c[h].p(j,u):(c[h]=K(j),c[h].c(),c[h].m(T,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=i.length}u[0]&2048&&N!==(N=o[11]("clear")+"")&&e.set_data(z,N),u[0]&224&&B!==(B=o[7]&&o[6].length!=o[5].length)&&(A.disabled=B),u[0]&16&&M!==(M="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(L,"class",M),u[0]&3&&E!==(E="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",E)},d(o){o&&e.detach(t),x.d(),e.destroy_each(c,o),q=!1,e.run_all(J)}}}function ee(r){let t,l=r[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function te(r){let t,l;return{c(){t=e.element("span"),l=e.text(r[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function le(r){let t,l=r[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function re(r){let t,l;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,l=r[36].logo)||e.set_custom_element_data(t,"src",l),e.set_custom_element_data(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,l=a[36].logo)&&e.set_custom_element_data(t,"src",l)},d(a){a&&e.detach(t)}}}function ie(r){let t,l,a=r[36].name+"",n,s,g,y,v=r[36].games.total+"",F,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),g=e.element("span"),y=e.text("("),F=e.text(v),p=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(_,b){e.insert(_,t,b),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,g),e.append(g,y),e.append(g,F),e.append(g,p)},p(_,b){b[0]&32&&a!==(a=_[36].name+"")&&e.set_data(n,a),b[0]&32&&v!==(v=_[36].games.total+"")&&e.set_data(F,v)},d(_){_&&e.detach(t)}}}function K(r){let t,l,a,n,s,g,y,v,F,p,_,b;function P(){r[24].call(a,r[37],r[38])}function S(){return r[25](r[36])}function w(d,m){if(d[2]==="false")return ie;if(d[2]==="true")return re}let k=w(r),f=k&&k(r);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),g=e.element("span"),y=e.space(),f&&f.c(),v=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=r[36].name,e.set_input_value(a,a.__value),e.attr(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",F="FilterItem "+(r[2]==="true"?"FilterItemWithLogos":"")),t.value=p=r[36].name},m(d,m){e.insert(d,t,m),e.append(t,l),e.append(l,a),a.checked=r[36].isFilterSelected,e.append(l,s),e.append(l,g),e.append(l,y),f&&f.m(l,null),e.append(t,v),_||(b=[e.listen(a,"change",P),e.listen(a,"click",S)],_=!0)},p(d,m){r=d,m[0]&32&&n!==(n=r[36].name)&&(a.__value=n,e.set_input_value(a,a.__value)),m[0]&32&&(a.checked=r[36].isFilterSelected),k===(k=w(r))&&f?f.p(r,m):(f&&f.d(1),f=k&&k(r),f&&(f.c(),f.m(l,null))),m[0]&4&&F!==(F="FilterItem "+(r[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",F),m[0]&32&&p!==(p=r[36].name)&&(t.value=p)},d(d){d&&e.detach(t),f&&f.d(),_=!1,e.run_all(b)}}}function ae(r){let t;function l(s,g){if(s[10])return ee;if(!s[9])return $}let a=l(r),n=a&&a(r);return{c(){t=e.element("div"),n&&n.c()},m(s,g){e.insert(s,t,g),n&&n.m(t,null),r[27](t)},p(s,g){a===(a=l(s))&&n?n.p(s,g):(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(),r[27](null)}}}function ne(r,t,l){let a;e.component_subscribe(r,e.$format,i=>l(11,a=i));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:g=""}=t,{translationurl:y=""}=t,{clientstyling:v=""}=t,{clientstylingurl:F=""}=t,{categoryid:p=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:b="false"}=t,{filterbylogo:P="false"}=t,{mbsource:S}=t,w=!1,k=window.navigator.userAgent,f=[],d=[],m={},I=!1,D=0,O=!0,C,L=!1;X({withLocale:"en",translations:{}});const T=()=>{fetch(y).then(c=>c.json()).then(c=>{Object.keys(c).forEach(o=>{U(o,c[o])})}).catch(c=>{console.log(c)})};Object.keys(Z).forEach(i=>{U(i,Z[i])}),m[p]&&(m={[p]:[]});const W=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},A=i=>(l(9,O=!0),new Promise((c,o)=>{fetch(i).then(u=>u.json()).then(u=>{u=u.items,c(u.items),l(6,d=[]);let h=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));u.forEach(j=>{var R;h||(h={currentCategoryId:[]}),((R=h[p])==null?void 0:R.indexOf(j.id))>=0?(j.isFilterSelected=!0,d.push(j)):j.isFilterSelected=!1}),l(5,f=u),z()}).catch(u=>{console.error(u),l(10,L=!0),o(u)}).finally(()=>{l(9,O=!1)})})),N=i=>{let c=localStorage.getItem("vendorFiltersByCategory");i.isFilterSelected=!i.isFilterSelected,!d.length||d.filter(o=>o.name===i.name).length==0?d.push(i):l(6,d=d.filter(o=>o.name!==i.name)),c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[p]:d.map(o=>o.id)})):(c=JSON.parse(c),c[p]=d.map(o=>o.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),z()},z=()=>{l(7,I=d.length===f.length||d.length==0),l(8,D=d.length)},B=()=>{const i=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),i.searchParams.append("fields","id,name,logo,subVendors,games"),i.searchParams.append("language",g),i.searchParams.append("datasource",s),i.searchParams.append("platform",e.getDevice(k)),(p.match(/\$/g)||[]).length>1?(i.searchParams.append("filter",`games(subGroups=${p})`),i.searchParams.append("subVendors",`games(subGroups=${p})`)):i.searchParams.append("filter",`games(groups=${p})`),A(i)},M=()=>{l(6,d=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[p]:d.map(i=>i.id)})),f.forEach(i=>i.isFilterSelected=!1),l(5,f),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,I=!0),l(4,w=!1)},E=i=>{i.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const q=()=>W();function J(i,c){i[c].isFilterSelected=this.checked,l(5,f)}const H=i=>N(i),V=()=>M();function x(i){e.binding_callbacks[i?"unshift":"push"](()=>{C=i,l(3,C)})}return r.$$set=i=>{"endpoint"in i&&l(15,n=i.endpoint),"datasource"in i&&l(16,s=i.datasource),"lang"in i&&l(17,g=i.lang),"translationurl"in i&&l(18,y=i.translationurl),"clientstyling"in i&&l(19,v=i.clientstyling),"clientstylingurl"in i&&l(20,F=i.clientstylingurl),"categoryid"in i&&l(21,p=i.categoryid),"addfilterselector"in i&&l(0,_=i.addfilterselector),"addsortingselector"in i&&l(1,b=i.addsortingselector),"filterbylogo"in i&&l(2,P=i.filterbylogo),"mbsource"in i&&l(22,S=i.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&2195460&&n&&s&&p&&P&&B(),r.$$.dirty[0]&524296&&v&&C&&e.setClientStyling(C,v),r.$$.dirty[0]&1048584&&F&&C&&e.setClientStylingURL(C,F),r.$$.dirty[0]&4194312&&C&&e.setStreamStyling(C,`${S}.Style`),r.$$.dirty[0]&262144&&y&&T()},[_,b,P,C,w,f,d,I,D,O,L,a,W,N,M,n,s,g,y,v,F,p,S,q,J,H,V,x]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ne,ae,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},Y,[-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()}}e.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{}},[],[],!0);exports.default=Q;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { $ as le, U as fe, a as
|
|
1
|
+
import { $ as le, U as fe, a as ue, S as ge, i as me, s as he, f as L, b as Fe, n as re, d as z, h as B, j as m, k as be, o as ye, O as ve, C as we, m as j, p as s, q as N, r as o, v as ie, w as _e, R as pe, A as ee, F as $, B as D, V as ae, D as ne, E as te, J as Ce, K as ke, L as xe, M as Se, N as Ie } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
|
+
import "../stencil/ui-image-DG3xEaHN.js";
|
|
2
3
|
function Le({ withLocale: l, translations: e }) {
|
|
3
4
|
le.subscribe((t) => {
|
|
4
5
|
t == null && (fe.set(e), le.set(l));
|
|
5
6
|
});
|
|
6
7
|
}
|
|
7
8
|
function oe(l, e) {
|
|
8
|
-
|
|
9
|
+
ue(l, e);
|
|
9
10
|
}
|
|
10
11
|
const se = {
|
|
11
12
|
en: {
|
|
@@ -118,7 +119,7 @@ const se = {
|
|
|
118
119
|
}
|
|
119
120
|
};
|
|
120
121
|
function Pe(l) {
|
|
121
|
-
Fe(l, "svelte-
|
|
122
|
+
Fe(l, "svelte-rcu873", ':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:16}.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, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.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 ui-image 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, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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%}}');
|
|
122
123
|
}
|
|
123
124
|
function ce(l, e, t) {
|
|
124
125
|
const i = l.slice();
|
|
@@ -131,14 +132,14 @@ function Ae(l) {
|
|
|
131
132
|
), f, C, v, T, P = (
|
|
132
133
|
/*$_*/
|
|
133
134
|
l[11]("providers") + ""
|
|
134
|
-
), k, I,
|
|
135
|
+
), k, I, g, p, F, A, V, M, x, O, W, K, E, J = (
|
|
135
136
|
/*$_*/
|
|
136
137
|
l[11]("clear") + ""
|
|
137
138
|
), q, Z, H, R, Q, X;
|
|
138
|
-
function Y(n,
|
|
139
|
+
function Y(n, u) {
|
|
139
140
|
return (
|
|
140
141
|
/*fullSelection*/
|
|
141
|
-
n[7] ? Ne :
|
|
142
|
+
n[7] ? Ne : De
|
|
142
143
|
);
|
|
143
144
|
}
|
|
144
145
|
let G = Y(l), S = G(l), r = ie(
|
|
@@ -149,24 +150,24 @@ function Ae(l) {
|
|
|
149
150
|
d[n] = de(ce(l, r, n));
|
|
150
151
|
return {
|
|
151
152
|
c() {
|
|
152
|
-
e = m("div"), t = m("div"), i = m("div"), a = $("svg"), c = $("path"), h =
|
|
153
|
+
e = m("div"), t = m("div"), i = m("div"), a = $("svg"), c = $("path"), h = D(), w = m("div"), _ = m("span"), f = N(y), C = D(), v = m("div"), T = m("span"), k = N(P), I = D(), S.c(), g = D(), p = m("span"), F = $("svg"), A = $("path"), x = D(), O = m("div"), W = m("ul");
|
|
153
154
|
for (let n = 0; n < d.length; n += 1)
|
|
154
155
|
d[n].c();
|
|
155
|
-
K =
|
|
156
|
+
K = D(), E = m("button"), q = N(J), o(c, "id", "noun_filter_736223"), o(c, "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"), o(c, "transform", "translate(-5 -6.2)"), o(c, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(_, "class", "FilterName"), o(v, "class", "FilterValueContainer"), o(w, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(A, "id", "arrow"), o(A, "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"), o(A, "transform", "translate(-274.511 -441.088)"), o(A, "fill", "#d1d1d1"), o(F, "xmlns", "http://www.w3.org/2000/svg"), o(F, "width", "14"), o(F, "height", "6.835"), o(F, "viewBox", "0 0 14 6.835"), o(p, "class", V = "TriangleInactive " + /*isFilterActive*/
|
|
156
157
|
(l[4] ? "TriangleActive" : "")), o(t, "class", M = "FilterSelector " + /*isFilterActive*/
|
|
157
158
|
(l[4] ? "FilterSelectorOpen" : "")), o(W, "class", "FilterDropdown"), o(E, "class", "ClearFilters"), E.disabled = Z = /*fullSelection*/
|
|
158
159
|
l[7] && /*selectedVendorArray*/
|
|
159
160
|
l[6].length != /*vendorArray*/
|
|
160
|
-
l[5].length, o(
|
|
161
|
+
l[5].length, o(O, "class", H = "FilterDropdownContainer " + /*isFilterActive*/
|
|
161
162
|
(l[4] ? "FilterOpen" : "")), o(e, "class", R = "FilterContainer " + /*addfilterselector*/
|
|
162
163
|
(l[0] == "true" && /*addsortingselector*/
|
|
163
164
|
l[1] == "true" ? "FilerContainerSplit" : ""));
|
|
164
165
|
},
|
|
165
|
-
m(n,
|
|
166
|
-
B(n, e,
|
|
166
|
+
m(n, u) {
|
|
167
|
+
B(n, e, u), s(e, t), s(t, i), s(i, a), s(a, c), s(i, h), s(i, w), s(w, _), s(_, f), s(w, C), s(w, v), s(v, T), s(T, k), s(v, I), S.m(v, null), s(t, g), s(t, p), s(p, F), s(F, A), s(e, x), s(e, O), s(O, W);
|
|
167
168
|
for (let b = 0; b < d.length; b += 1)
|
|
168
169
|
d[b] && d[b].m(W, null);
|
|
169
|
-
s(
|
|
170
|
+
s(O, K), s(O, E), s(E, q), Q || (X = [
|
|
170
171
|
ee(
|
|
171
172
|
t,
|
|
172
173
|
"click",
|
|
@@ -181,16 +182,16 @@ function Ae(l) {
|
|
|
181
182
|
)
|
|
182
183
|
], Q = !0);
|
|
183
184
|
},
|
|
184
|
-
p(n,
|
|
185
|
-
if (
|
|
185
|
+
p(n, u) {
|
|
186
|
+
if (u[0] & /*$_*/
|
|
186
187
|
2048 && y !== (y = /*$_*/
|
|
187
|
-
n[11]("filterby") + "") && j(f, y),
|
|
188
|
+
n[11]("filterby") + "") && j(f, y), u[0] & /*$_*/
|
|
188
189
|
2048 && P !== (P = /*$_*/
|
|
189
|
-
n[11]("providers") + "") && j(k, P), G === (G = Y(n)) && S ? S.p(n,
|
|
190
|
+
n[11]("providers") + "") && j(k, P), G === (G = Y(n)) && S ? S.p(n, u) : (S.d(1), S = G(n), S && (S.c(), S.m(v, null))), u[0] & /*isFilterActive*/
|
|
190
191
|
16 && V !== (V = "TriangleInactive " + /*isFilterActive*/
|
|
191
|
-
(n[4] ? "TriangleActive" : "")) && o(p, "class", V),
|
|
192
|
+
(n[4] ? "TriangleActive" : "")) && o(p, "class", V), u[0] & /*isFilterActive*/
|
|
192
193
|
16 && M !== (M = "FilterSelector " + /*isFilterActive*/
|
|
193
|
-
(n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", M),
|
|
194
|
+
(n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", M), u[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
194
195
|
8228) {
|
|
195
196
|
r = ie(
|
|
196
197
|
/*vendorArray*/
|
|
@@ -199,21 +200,21 @@ function Ae(l) {
|
|
|
199
200
|
let b;
|
|
200
201
|
for (b = 0; b < r.length; b += 1) {
|
|
201
202
|
const U = ce(n, r, b);
|
|
202
|
-
d[b] ? d[b].p(U,
|
|
203
|
+
d[b] ? d[b].p(U, u) : (d[b] = de(U), d[b].c(), d[b].m(W, null));
|
|
203
204
|
}
|
|
204
205
|
for (; b < d.length; b += 1)
|
|
205
206
|
d[b].d(1);
|
|
206
207
|
d.length = r.length;
|
|
207
208
|
}
|
|
208
|
-
|
|
209
|
+
u[0] & /*$_*/
|
|
209
210
|
2048 && J !== (J = /*$_*/
|
|
210
|
-
n[11]("clear") + "") && j(q, J),
|
|
211
|
+
n[11]("clear") + "") && j(q, J), u[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
211
212
|
224 && Z !== (Z = /*fullSelection*/
|
|
212
213
|
n[7] && /*selectedVendorArray*/
|
|
213
214
|
n[6].length != /*vendorArray*/
|
|
214
|
-
n[5].length) && (E.disabled = Z),
|
|
215
|
+
n[5].length) && (E.disabled = Z), u[0] & /*isFilterActive*/
|
|
215
216
|
16 && H !== (H = "FilterDropdownContainer " + /*isFilterActive*/
|
|
216
|
-
(n[4] ? "FilterOpen" : "")) && o(
|
|
217
|
+
(n[4] ? "FilterOpen" : "")) && o(O, "class", H), u[0] & /*addfilterselector, addsortingselector*/
|
|
217
218
|
3 && R !== (R = "FilterContainer " + /*addfilterselector*/
|
|
218
219
|
(n[0] == "true" && /*addsortingselector*/
|
|
219
220
|
n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", R);
|
|
@@ -223,7 +224,7 @@ function Ae(l) {
|
|
|
223
224
|
}
|
|
224
225
|
};
|
|
225
226
|
}
|
|
226
|
-
function
|
|
227
|
+
function Oe(l) {
|
|
227
228
|
let e, t = (
|
|
228
229
|
/*$_*/
|
|
229
230
|
l[11]("500") + ""
|
|
@@ -245,7 +246,7 @@ function De(l) {
|
|
|
245
246
|
}
|
|
246
247
|
};
|
|
247
248
|
}
|
|
248
|
-
function
|
|
249
|
+
function De(l) {
|
|
249
250
|
let e, t;
|
|
250
251
|
return {
|
|
251
252
|
c() {
|
|
@@ -296,8 +297,8 @@ function Te(l) {
|
|
|
296
297
|
let e, t;
|
|
297
298
|
return {
|
|
298
299
|
c() {
|
|
299
|
-
e = m("
|
|
300
|
-
l[36].logo) ||
|
|
300
|
+
e = m("ui-image"), ne(e.src, t = /*vendor*/
|
|
301
|
+
l[36].logo) || te(e, "src", t), te(e, "alt", "vendor logo");
|
|
301
302
|
},
|
|
302
303
|
m(i, a) {
|
|
303
304
|
B(i, e, a);
|
|
@@ -305,7 +306,7 @@ function Te(l) {
|
|
|
305
306
|
p(i, a) {
|
|
306
307
|
a[0] & /*vendorArray*/
|
|
307
308
|
32 && !ne(e.src, t = /*vendor*/
|
|
308
|
-
i[36].logo) &&
|
|
309
|
+
i[36].logo) && te(e, "src", t);
|
|
309
310
|
},
|
|
310
311
|
d(i) {
|
|
311
312
|
i && z(e);
|
|
@@ -322,7 +323,7 @@ function Ee(l) {
|
|
|
322
323
|
), y, f;
|
|
323
324
|
return {
|
|
324
325
|
c() {
|
|
325
|
-
e = m("div"), t = m("span"), a = N(i), c =
|
|
326
|
+
e = m("div"), t = m("span"), a = N(i), c = D(), h = m("span"), w = N("("), y = N(_), f = N(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
|
|
326
327
|
},
|
|
327
328
|
m(C, v) {
|
|
328
329
|
B(C, e, v), s(e, t), s(t, a), s(e, c), s(e, h), s(h, w), s(h, y), s(h, f);
|
|
@@ -371,17 +372,17 @@ function de(l) {
|
|
|
371
372
|
)
|
|
372
373
|
return Te;
|
|
373
374
|
}
|
|
374
|
-
let I = k(l),
|
|
375
|
+
let I = k(l), g = I && I(l);
|
|
375
376
|
return {
|
|
376
377
|
c() {
|
|
377
|
-
e = m("li"), t = m("label"), i = m("input"), c =
|
|
378
|
+
e = m("li"), t = m("label"), i = m("input"), c = D(), h = m("span"), w = D(), g && g.c(), _ = D(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
|
|
378
379
|
l[36].name, ae(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", y = "FilterItem " + /*filterbylogo*/
|
|
379
380
|
(l[2] === "true" ? "FilterItemWithLogos" : "")), e.value = f = /*vendor*/
|
|
380
381
|
l[36].name;
|
|
381
382
|
},
|
|
382
383
|
m(p, F) {
|
|
383
384
|
B(p, e, F), s(e, t), s(t, i), i.checked = /*vendor*/
|
|
384
|
-
l[36].isFilterSelected, s(t, c), s(t, h), s(t, w),
|
|
385
|
+
l[36].isFilterSelected, s(t, c), s(t, h), s(t, w), g && g.m(t, null), s(e, _), C || (v = [
|
|
385
386
|
ee(i, "change", T),
|
|
386
387
|
ee(i, "click", P)
|
|
387
388
|
], C = !0);
|
|
@@ -391,14 +392,14 @@ function de(l) {
|
|
|
391
392
|
32 && a !== (a = /*vendor*/
|
|
392
393
|
l[36].name) && (i.__value = a, ae(i, i.__value)), F[0] & /*vendorArray*/
|
|
393
394
|
32 && (i.checked = /*vendor*/
|
|
394
|
-
l[36].isFilterSelected), I === (I = k(l)) &&
|
|
395
|
+
l[36].isFilterSelected), I === (I = k(l)) && g ? g.p(l, F) : (g && g.d(1), g = I && I(l), g && (g.c(), g.m(t, null))), F[0] & /*filterbylogo*/
|
|
395
396
|
4 && y !== (y = "FilterItem " + /*filterbylogo*/
|
|
396
397
|
(l[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", y), F[0] & /*vendorArray*/
|
|
397
398
|
32 && f !== (f = /*vendor*/
|
|
398
399
|
l[36].name) && (e.value = f);
|
|
399
400
|
},
|
|
400
401
|
d(p) {
|
|
401
|
-
p && z(e),
|
|
402
|
+
p && z(e), g && g.d(), C = !1, pe(v);
|
|
402
403
|
}
|
|
403
404
|
};
|
|
404
405
|
}
|
|
@@ -409,7 +410,7 @@ function Me(l) {
|
|
|
409
410
|
/*hasErrors*/
|
|
410
411
|
c[10]
|
|
411
412
|
)
|
|
412
|
-
return
|
|
413
|
+
return Oe;
|
|
413
414
|
if (!/*isLoading*/
|
|
414
415
|
c[9])
|
|
415
416
|
return Ae;
|
|
@@ -435,7 +436,7 @@ function Me(l) {
|
|
|
435
436
|
function je(l, e, t) {
|
|
436
437
|
let i;
|
|
437
438
|
be(l, Ie, (r) => t(11, i = r));
|
|
438
|
-
let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: w = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: y = "" } = e, { categoryid: f = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: v = "false" } = e, { filterbylogo: T = "false" } = e, { mbsource: P } = e, k = !1, I = window.navigator.userAgent,
|
|
439
|
+
let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: w = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: y = "" } = e, { categoryid: f = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: v = "false" } = e, { filterbylogo: T = "false" } = e, { mbsource: P } = e, k = !1, I = window.navigator.userAgent, g = [], p = [], F = {}, A = !1, V = 0, M = !0, x, O = !1;
|
|
439
440
|
Le({ withLocale: "en", translations: {} });
|
|
440
441
|
const W = () => {
|
|
441
442
|
fetch(w).then((d) => d.json()).then((d) => {
|
|
@@ -452,15 +453,14 @@ function je(l, e, t) {
|
|
|
452
453
|
const K = () => {
|
|
453
454
|
t(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
454
455
|
}, E = (r) => (t(9, M = !0), new Promise((d, n) => {
|
|
455
|
-
fetch(r).then((
|
|
456
|
-
|
|
456
|
+
fetch(r).then((u) => u.json()).then((u) => {
|
|
457
|
+
u = u.items, d(u.items), t(6, p = []);
|
|
457
458
|
let b = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
console.error(g), t(10, D = !0), n(g);
|
|
459
|
+
u.forEach((U) => {
|
|
460
|
+
b || (b = { currentCategoryId: [] }), b[f]?.indexOf(U.id) >= 0 ? (U.isFilterSelected = !0, p.push(U)) : U.isFilterSelected = !1;
|
|
461
|
+
}), t(5, g = u), q();
|
|
462
|
+
}).catch((u) => {
|
|
463
|
+
console.error(u), t(10, O = !0), n(u);
|
|
464
464
|
}).finally(() => {
|
|
465
465
|
t(9, M = !1);
|
|
466
466
|
});
|
|
@@ -470,14 +470,14 @@ function je(l, e, t) {
|
|
|
470
470
|
[f]: p.map((n) => n.id)
|
|
471
471
|
})) : (d = JSON.parse(d), d[f] = p.map((n) => n.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), q();
|
|
472
472
|
}, q = () => {
|
|
473
|
-
t(7, A = p.length ===
|
|
473
|
+
t(7, A = p.length === g.length || p.length == 0), t(8, V = p.length);
|
|
474
474
|
}, Z = () => {
|
|
475
475
|
const r = new URL(`${a}/v1/casino/vendors`);
|
|
476
476
|
t(4, k = !1), r.searchParams.append("fields", "id,name,logo,subVendors,games"), r.searchParams.append("language", h), r.searchParams.append("datasource", c), r.searchParams.append("platform", ve(I)), (f.match(/\$/g) || []).length > 1 ? (r.searchParams.append("filter", `games(subGroups=${f})`), r.searchParams.append("subVendors", `games(subGroups=${f})`)) : r.searchParams.append("filter", `games(groups=${f})`), E(r);
|
|
477
477
|
}, H = () => {
|
|
478
478
|
t(6, p = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
|
|
479
479
|
[f]: p.map((r) => r.id)
|
|
480
|
-
})),
|
|
480
|
+
})), g.forEach((r) => r.isFilterSelected = !1), t(5, g), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, A = !0), t(4, k = !1);
|
|
481
481
|
}, R = (r) => {
|
|
482
482
|
r.data.type == "SortingOpened" && t(4, k = !1);
|
|
483
483
|
};
|
|
@@ -486,7 +486,7 @@ function je(l, e, t) {
|
|
|
486
486
|
}));
|
|
487
487
|
const Q = () => K();
|
|
488
488
|
function X(r, d) {
|
|
489
|
-
r[d].isFilterSelected = this.checked, t(5,
|
|
489
|
+
r[d].isFilterSelected = this.checked, t(5, g);
|
|
490
490
|
}
|
|
491
491
|
const Y = (r) => J(r), G = () => H();
|
|
492
492
|
function S(r) {
|
|
@@ -509,12 +509,12 @@ function je(l, e, t) {
|
|
|
509
509
|
T,
|
|
510
510
|
x,
|
|
511
511
|
k,
|
|
512
|
-
|
|
512
|
+
g,
|
|
513
513
|
p,
|
|
514
514
|
A,
|
|
515
515
|
V,
|
|
516
516
|
M,
|
|
517
|
-
|
|
517
|
+
O,
|
|
518
518
|
i,
|
|
519
519
|
K,
|
|
520
520
|
J,
|
|
@@ -534,7 +534,7 @@ function je(l, e, t) {
|
|
|
534
534
|
S
|
|
535
535
|
];
|
|
536
536
|
}
|
|
537
|
-
class ze extends
|
|
537
|
+
class ze extends ge {
|
|
538
538
|
constructor(e) {
|
|
539
539
|
super(), me(
|
|
540
540
|
this,
|