@everymatrix/casino-page-nd 1.76.13 → 1.76.14
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-DDXo_sLW.js → CasinoCalendar-BpmBQMqg.js} +835 -856
- package/components/CasinoCalendar-CzrlHwD6.cjs +19 -0
- package/components/{CasinoCalendar-DdCnnpAB.js → CasinoCalendar-DIKM6-FX.js} +992 -1013
- package/components/{CasinoCalendarDailyDetails-CY7B1lxS.js → CasinoCalendarDailyDetails-B2rPnr-r.js} +37 -37
- package/components/{CasinoCalendarDailyDetails-CQZJ4CVD.js → CasinoCalendarDailyDetails-CR3HaDXZ.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-C27NHVH_.cjs → CasinoCalendarDailyDetails-Db4V8lzv.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BqL5H57o.cjs → CasinoCalendarDailyItem-BYf0S582.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CwQkhLDC.js → CasinoCalendarDailyItem-BtpO8qS-.js} +36 -36
- package/components/{CasinoCalendarDailyItem-DGbWXxCR.js → CasinoCalendarDailyItem-EtfFPL69.js} +39 -39
- package/components/{CasinoCollectionsProviders-BoWCBksj.js → CasinoCollectionsProviders-CGHuHGKJ.js} +68 -68
- package/components/{CasinoCollectionsProviders-D9evjksc.js → CasinoCollectionsProviders-DRvdCXk8.js} +65 -65
- package/components/{CasinoCollectionsProviders-DuN6pZVH.cjs → CasinoCollectionsProviders-zDF0lel_.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-CGOlvGdM.js → CasinoFavoritesSectionNd-D_iRqzx7.js} +24 -24
- package/components/{CasinoFavoritesSectionNd-H7nx1r94.js → CasinoFavoritesSectionNd-Vth9qKYe.js} +27 -27
- package/components/{CasinoFavoritesSectionNd-CvXJsyAP.cjs → CasinoFavoritesSectionNd-wD4aGs9L.cjs} +1 -1
- package/components/CasinoFilter-BVW1b78L.cjs +1 -0
- package/components/{CasinoFilter-KfWVyYe3.js → CasinoFilter-DzWurkh4.js} +235 -236
- package/components/{CasinoFilter-DnMTdTn9.js → CasinoFilter-PMuyKrfM.js} +254 -253
- package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-NR9WwTZ6.js → CasinoGameThumbnailNd-Bew7sNHs.js} +64 -62
- package/components/{CasinoGameThumbnailNd-Bzu_4Oxw.js → CasinoGameThumbnailNd-a3JP2Y65.js} +66 -64
- package/components/{CasinoGamesCategorySectionNd-CblCav-m.js → CasinoGamesCategorySectionNd-BViAsj82.js} +162 -162
- package/components/{CasinoGamesCategorySectionNd-CIcaCq68.cjs → CasinoGamesCategorySectionNd-BxnBPZSN.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-Rm6DYIBP.js → CasinoGamesCategorySectionNd-Dmc0zltf.js} +136 -136
- package/components/{CasinoJackpotBanner-C6wXEguN.js → CasinoJackpotBanner-BqnIz0Jh.js} +58 -58
- package/components/{CasinoJackpotBanner-MCIBXYea.js → CasinoJackpotBanner-BvlsWFl7.js} +103 -103
- package/components/{CasinoJackpotBanner-BwX1dP1o.cjs → CasinoJackpotBanner-DVQ8suFI.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-CN3yKI9-.js → CasinoLastPlayedSectionNd-DP2wNqqR.js} +34 -34
- package/components/{CasinoLastPlayedSectionNd-fAiSSaIh.js → CasinoLastPlayedSectionNd-DgT1mzLh.js} +41 -41
- package/components/{CasinoLastPlayedSectionNd-Bxs8eYQG.cjs → CasinoLastPlayedSectionNd-jre5mCnw.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-B1at83la.js → CasinoMostPlayedSectionNd-B60c74Nx.js} +36 -36
- package/components/{CasinoMostPlayedSectionNd-G7f4yFDo.js → CasinoMostPlayedSectionNd-BDbP0dVK.js} +42 -42
- package/components/{CasinoMostPlayedSectionNd-C-cloax-.cjs → CasinoMostPlayedSectionNd-C9EPOuC_.cjs} +1 -1
- package/components/{CasinoMyGamesNd-CxF3mFQs.cjs → CasinoMyGamesNd-Bhufp11n.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DwAtzu1i.js → CasinoMyGamesNd-DMqZrYBo.js} +37 -37
- package/components/{CasinoMyGamesNd-Bj2okvQP.js → CasinoMyGamesNd-VCvq-Ujh.js} +28 -28
- package/components/{CasinoPageNd-Bo7ns-k8.js → CasinoPageNd-BvQvfzbo.js} +113 -113
- package/components/{CasinoPageNd-DxVmo3F5.cjs → CasinoPageNd-D34CwHfP.cjs} +1 -1
- package/components/{CasinoPageNd-B6pJElK0.js → CasinoPageNd-DA7qMS-l.js} +109 -109
- package/components/{CasinoRandomGame-DlzNumMI.js → CasinoRandomGame-BPjl3Vyt.js} +49 -49
- package/components/{CasinoRandomGame-8L_f477H.js → CasinoRandomGame-Dbm27S1o.js} +58 -58
- package/components/{CasinoRandomGame-CxZ9BOdC.cjs → CasinoRandomGame-Er_WDp3Q.cjs} +1 -1
- package/components/{CasinoSearchNd-BGNGhn3i.cjs → CasinoSearchNd-CNcdxlUR.cjs} +1 -1
- package/components/{CasinoSearchNd-DlBxnUCa.js → CasinoSearchNd-DW1Pw7-Q.js} +69 -69
- package/components/{CasinoSearchNd-DHWo9Sq0.js → CasinoSearchNd-Dk2PKhWq.js} +82 -82
- package/components/{CasinoSort-DNllDxl4.js → CasinoSort-CkIWjxkg.js} +117 -116
- package/components/{CasinoSort-BXkq0BBq.cjs → CasinoSort-T5gzvKTb.cjs} +1 -1
- package/components/{CasinoSort-D-B4gJyW.js → CasinoSort-zIeABc70.js} +107 -108
- package/components/{CasinoWinners-BXurlLis.js → CasinoWinners-BdPKRRdb.js} +162 -162
- package/components/{CasinoWinners-eDycJCzQ.cjs → CasinoWinners-DSywKe-Y.cjs} +1 -1
- package/components/{CasinoWinners-Gp8fceSt.js → CasinoWinners-iRjkvip2.js} +155 -155
- package/components/{GeneralAnimationLoading-CGEL9clS.cjs → GeneralAnimationLoading-BxgOtrDA.cjs} +1 -1
- package/components/{GeneralAnimationLoading-vgt-l_aE.js → GeneralAnimationLoading-D0OVj1dQ.js} +8 -8
- package/components/{GeneralAnimationLoading-DZ1wrvtM.js → GeneralAnimationLoading-DzWSt2Rd.js} +10 -10
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/casino-play-random-game-CUpRDmsd.js +29 -0
- package/stencil/casino-play-random-game-Cn7_43lQ.js +11 -0
- package/stencil/casino-play-random-game-fvC6k6u_.cjs +1 -0
- package/stencil/{casino-play-random-game_2-C2bZyPjR.js → casino-play-random-game_3-B7x6w4BA.js} +155 -66
- package/stencil/{casino-play-random-game_2-BdD78js8.js → casino-play-random-game_3-D2RbqU-v.js} +155 -66
- package/stencil/casino-play-random-game_3-y8iURQaW.cjs +432 -0
- package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
- package/stencil/index-242ac81a-Czg480dJ.js +554 -0
- package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
- package/stencil/index-27b314b8-9-rvsddy.js +566 -0
- package/stencil/index-27b314b8-CCprWmCo.js +582 -0
- package/stencil/index-27b314b8-DoR1KfK8.cjs +1 -0
- package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
- package/stencil/{ui-image-Bj3y-YhF.js → ui-image-BqbNkjGg.js} +1 -1
- package/stencil/{ui-image-SXcjABMO.cjs → ui-image-CNN86Aho.cjs} +1 -1
- package/stencil/{ui-image-BTT8PTe6.js → ui-image-_f0XGSO2.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-ID_1Oi3k.js} +2 -2
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-exO7RXKL.js} +2 -2
- package/components/CasinoCalendar-1EiuG4ja.cjs +0 -19
- package/components/CasinoFilter-Da1iRlYf.cjs +0 -1
- package/components/CasinoGameThumbnailNd-CZW4Modc.cjs +0 -30
- package/stencil/casino-play-random-game-BpDaQ8lr.js +0 -29
- package/stencil/casino-play-random-game-BtyKwZuB.cjs +0 -1
- package/stencil/casino-play-random-game-DkvncoWi.js +0 -11
- package/stencil/casino-play-random-game_2-CYSobUaR.cjs +0 -432
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
- package/stencil/index-328e660d-B9ooleuJ.js +0 -561
- package/stencil/index-328e660d-C6jlVqfy.js +0 -577
- package/stencil/index-328e660d-D9ZPPQF8.cjs +0 -1
package/components/{CasinoFavoritesSectionNd-H7nx1r94.js → CasinoFavoritesSectionNd-Vth9qKYe.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as E, O as A, S as D, i as N, s as P, f as l, c as R, b as H, e as M, z as U, d as q, H as j, k as I, o as V, p as B, q as G, r as J, I as n, u as K } from "./CasinoCalendar-DIKM6-FX.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let s = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
14
|
+
customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-Dmc0zltf.js").then((e) => e.C).then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -19,18 +19,18 @@ const x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19
19
|
__proto__: null
|
|
20
20
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
21
21
|
function Q({ withLocale: s, translations: e }) {
|
|
22
|
-
|
|
23
|
-
t == null && (A.set(e),
|
|
22
|
+
E.subscribe((t) => {
|
|
23
|
+
t == null && (A.set(e), E.set(s));
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
function W(s) {
|
|
27
|
-
|
|
27
|
+
H(s, "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))}");
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function z(s) {
|
|
30
30
|
let e;
|
|
31
31
|
return {
|
|
32
32
|
c() {
|
|
33
|
-
e =
|
|
33
|
+
e = M("casino-games-category-section-nd"), n(
|
|
34
34
|
e,
|
|
35
35
|
"session",
|
|
36
36
|
/*session*/
|
|
@@ -128,7 +128,7 @@ function M(s) {
|
|
|
128
128
|
);
|
|
129
129
|
},
|
|
130
130
|
m(t, a) {
|
|
131
|
-
|
|
131
|
+
q(t, e, a);
|
|
132
132
|
},
|
|
133
133
|
p(t, a) {
|
|
134
134
|
a & /*session*/
|
|
@@ -248,49 +248,49 @@ function M(s) {
|
|
|
248
248
|
);
|
|
249
249
|
},
|
|
250
250
|
d(t) {
|
|
251
|
-
t &&
|
|
251
|
+
t && I(e);
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
function X(s) {
|
|
256
256
|
let e, t = (
|
|
257
257
|
/*session*/
|
|
258
|
-
s[4] &&
|
|
258
|
+
s[4] && z(s)
|
|
259
259
|
);
|
|
260
260
|
return {
|
|
261
261
|
c() {
|
|
262
|
-
e =
|
|
262
|
+
e = M("div"), t && t.c(), U(e, "class", "CasinoFavoritesSectionContainer");
|
|
263
263
|
},
|
|
264
264
|
m(a, m) {
|
|
265
|
-
|
|
265
|
+
q(a, e, m), t && t.m(e, null), s[20](e);
|
|
266
266
|
},
|
|
267
267
|
p(a, [m]) {
|
|
268
268
|
/*session*/
|
|
269
|
-
a[4] ? t ? t.p(a, m) : (t =
|
|
269
|
+
a[4] ? t ? t.p(a, m) : (t = z(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
270
270
|
},
|
|
271
271
|
i: j,
|
|
272
272
|
o: j,
|
|
273
273
|
d(a) {
|
|
274
|
-
a &&
|
|
274
|
+
a && I(e), t && t.d(), s[20](null);
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
function Y(s, e, t) {
|
|
279
|
-
let { endpoint: a = "" } = e, { datasource: m = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { mbsource: o } = e, { clientstyling: g = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: y = "" } = e, { livecasino: b = "false" } = e, { integratedgameframemobile: v = "false" } = e, { integratedgameframedesktop: _ = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: S = "false" } = e, { visiblegames:
|
|
280
|
-
Q({ withLocale: "en", translations: {} }),
|
|
279
|
+
let { endpoint: a = "" } = e, { datasource: m = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { mbsource: o } = e, { clientstyling: g = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: y = "" } = e, { livecasino: b = "false" } = e, { integratedgameframemobile: v = "false" } = e, { integratedgameframedesktop: _ = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: S = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: O = "true" } = e, r;
|
|
280
|
+
Q({ withLocale: "en", translations: {} }), V(() => () => {
|
|
281
281
|
});
|
|
282
|
-
function
|
|
282
|
+
function T(i) {
|
|
283
283
|
K[i ? "unshift" : "push"](() => {
|
|
284
284
|
r = i, t(19, r);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
287
|
return s.$$set = (i) => {
|
|
288
|
-
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, m = 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), "mbsource" in i && t(6, o = i.mbsource), "clientstyling" in i && t(7, g = i.clientstyling), "clientstylingurl" in i && t(8, c = i.clientstylingurl), "translationurl" in i && t(9, y = i.translationurl), "livecasino" in i && t(10, b = i.livecasino), "integratedgameframemobile" in i && t(11, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(12, _ = i.integratedgameframedesktop), "showgamename" in i && t(13, w = i.showgamename), "gamepagemodalurl" in i && t(14, S = i.gamepagemodalurl), "visiblegames" in i && t(15,
|
|
288
|
+
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, m = 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), "mbsource" in i && t(6, o = i.mbsource), "clientstyling" in i && t(7, g = i.clientstyling), "clientstylingurl" in i && t(8, c = i.clientstylingurl), "translationurl" in i && t(9, y = i.translationurl), "livecasino" in i && t(10, b = i.livecasino), "integratedgameframemobile" in i && t(11, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(12, _ = i.integratedgameframedesktop), "showgamename" in i && t(13, w = i.showgamename), "gamepagemodalurl" in i && t(14, S = i.gamepagemodalurl), "visiblegames" in i && t(15, k = i.visiblegames), "favorites" in i && t(16, C = i.favorites), "casinomygames" in i && t(17, F = i.casinomygames), "fetchviaevent" in i && t(18, O = i.fetchviaevent);
|
|
289
289
|
}, s.$$.update = () => {
|
|
290
290
|
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
291
|
-
524416 && g && r &&
|
|
292
|
-
524544 && c && r &&
|
|
293
|
-
524352 && o && r &&
|
|
291
|
+
524416 && g && r && B(r, g), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
292
|
+
524544 && c && r && G(r, c), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
293
|
+
524352 && o && r && J(r, `${o}.Style`);
|
|
294
294
|
}, [
|
|
295
295
|
a,
|
|
296
296
|
m,
|
|
@@ -307,15 +307,15 @@ function Y(s, e, t) {
|
|
|
307
307
|
_,
|
|
308
308
|
w,
|
|
309
309
|
S,
|
|
310
|
-
C,
|
|
311
310
|
k,
|
|
311
|
+
C,
|
|
312
312
|
F,
|
|
313
|
-
|
|
313
|
+
O,
|
|
314
314
|
r,
|
|
315
|
-
|
|
315
|
+
T
|
|
316
316
|
];
|
|
317
317
|
}
|
|
318
|
-
class
|
|
318
|
+
class L extends D {
|
|
319
319
|
constructor(e) {
|
|
320
320
|
super(), N(
|
|
321
321
|
this,
|
|
@@ -462,10 +462,10 @@ class T extends D {
|
|
|
462
462
|
this.$$set({ fetchviaevent: e }), l();
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
R(L, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
466
466
|
const p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
467
467
|
__proto__: null,
|
|
468
|
-
default:
|
|
468
|
+
default: L
|
|
469
469
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
470
470
|
export {
|
|
471
471
|
p as C,
|
package/components/{CasinoFavoritesSectionNd-CvXJsyAP.cjs → CasinoFavoritesSectionNd-wD4aGs9L.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./CasinoCalendar-
|
|
1
|
+
"use strict";const t=require("./CasinoCalendar-CzrlHwD6.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("./CasinoGamesCategorySectionNd-BxnBPZSN.cjs")).then(e=>e.CasinoGamesCategorySectionNd_ce).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}const q=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));function M({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function N(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 E(a){let e;return{c(){e=t.element("casino-games-category-section-nd"),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[16]),t.set_custom_element_data(e,"fetchviaevent",a[18]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[13]),t.set_custom_element_data(e,"clientstyling",a[7]),t.set_custom_element_data(e,"clientstylingurl",a[8]),t.set_custom_element_data(e,"translationurl",a[9]),t.set_custom_element_data(e,"livecasino",a[10]),t.set_custom_element_data(e,"visiblegames",a[15]),t.set_custom_element_data(e,"gamepagemodalurl",a[14]),t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),t.set_custom_element_data(e,"integratedgameframemobile",a[11]),t.set_custom_element_data(e,"casinomygames",a[17]),t.set_custom_element_data(e,"mbsource",a[6])},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&65536&&t.set_custom_element_data(e,"favorites",s[16]),i&262144&&t.set_custom_element_data(e,"fetchviaevent",s[18]),i&8192&&t.set_custom_element_data(e,"showgamename",s[13]),i&128&&t.set_custom_element_data(e,"clientstyling",s[7]),i&256&&t.set_custom_element_data(e,"clientstylingurl",s[8]),i&512&&t.set_custom_element_data(e,"translationurl",s[9]),i&1024&&t.set_custom_element_data(e,"livecasino",s[10]),i&32768&&t.set_custom_element_data(e,"visiblegames",s[15]),i&16384&&t.set_custom_element_data(e,"gamepagemodalurl",s[14]),i&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),i&2048&&t.set_custom_element_data(e,"integratedgameframemobile",s[11]),i&131072&&t.set_custom_element_data(e,"casinomygames",s[17]),i&64&&t.set_custom_element_data(e,"mbsource",s[6])},d(s){s&&t.detach(e)}}}function z(a){let e,s=a[4]&&E(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,m){t.insert(i,e,m),s&&s.m(e,null),a[20](e)},p(i,[m]){i[4]?s?s.p(i,m):(s=E(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[20](null)}}}function L(a,e,s){let{endpoint:i=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:g=""}=e,{session:_=""}=e,{userid:f=""}=e,{mbsource:o}=e,{clientstyling:u=""}=e,{clientstylingurl:c=""}=e,{translationurl:d=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:y="false"}=e,{integratedgameframedesktop:b="false"}=e,{showgamename:v=""}=e,{gamepagemodalurl:w="false"}=e,{visiblegames:C=""}=e,{favorites:S=""}=e,{casinomygames:k="false"}=e,{fetchviaevent:F="true"}=e,l;M({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function j(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(19,l)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,m=n.datasource),"currency"in n&&s(2,r=n.currency),"lang"in n&&s(3,g=n.lang),"session"in n&&s(4,_=n.session),"userid"in n&&s(5,f=n.userid),"mbsource"in n&&s(6,o=n.mbsource),"clientstyling"in n&&s(7,u=n.clientstyling),"clientstylingurl"in n&&s(8,c=n.clientstylingurl),"translationurl"in n&&s(9,d=n.translationurl),"livecasino"in n&&s(10,h=n.livecasino),"integratedgameframemobile"in n&&s(11,y=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(12,b=n.integratedgameframedesktop),"showgamename"in n&&s(13,v=n.showgamename),"gamepagemodalurl"in n&&s(14,w=n.gamepagemodalurl),"visiblegames"in n&&s(15,C=n.visiblegames),"favorites"in n&&s(16,S=n.favorites),"casinomygames"in n&&s(17,k=n.casinomygames),"fetchviaevent"in n&&s(18,F=n.fetchviaevent)},a.$$.update=()=>{a.$$.dirty&524416&&u&&l&&t.setClientStyling(l,u),a.$$.dirty&524544&&c&&l&&t.setClientStylingURL(l,c),a.$$.dirty&524352&&o&&l&&t.setStreamStyling(l,`${o}.Style`)},[i,m,r,g,_,f,o,u,c,d,h,y,b,v,w,C,S,k,F,l,j]}class O extends t.SvelteComponent{constructor(e){super(),t.init(this,e,L,z,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,showgamename:13,gamepagemodalurl:14,visiblegames:15,favorites:16,casinomygames:17,fetchviaevent:18},N)}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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(O,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);const P=Object.freeze(Object.defineProperty({__proto__:null,default:O},Symbol.toStringTag,{value:"Module"}));exports.CasinoFavoritesSectionNd_ce=P;exports.index=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CzrlHwD6.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-14m0j7n",':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 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,E,j,v,O,H,P,B=i[11]("clear")+"",D,M,N,z,V,J;function q(l,c){return l[7]?ae:ie}let W=q(i),C=W(i),T=e.ensure_array_like(i[5]),_=[];for(let l=0;l<T.length;l+=1)_[l]=X(Q(i,T,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"),j=e.space(),v=e.element("div"),O=e.element("ul");for(let l=0;l<_.length;l+=1)_[l].c();H=e.space(),P=e.element("button"),D=e.text(B),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",E="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,j),e.append(t,v),e.append(v,O);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(O,null);e.append(v,H),e.append(v,P),e.append(P,D),V||(J=[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=q(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&&E!==(E="FilterSelector "+(l[4]?"FilterSelectorOpen":""))&&e.attr(r,"class",E),c[0]&8228){T=e.ensure_array_like(l[5]);let d;for(d=0;d<T.length;d+=1){const g=Q(l,T,d);_[d]?_[d].p(g,c):(_[d]=X(g),_[d].c(),_[d].m(O,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=T.length}c[0]&2048&&B!==(B=l[11]("clear")+"")&&e.set_data(D,B),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(J)}}}function re(i){let t,r=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=r},p(a,n){n[0]&2048&&r!==(r=a[11]("500")+"")&&(t.innerHTML=r)},d(a){a&&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,E=0,j=!0,v,O=!1,H;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 B=()=>{r(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},D=l=>(r(9,j=!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,j=!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,E=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})`)),D(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)},J=l=>{l.data.type=="SortingOpened"&&r(4,x=!1)};e.onMount(()=>(window.addEventListener("message",J,!1),()=>{window.emMessageBus!=null&&H&&H.unsubscribe(),window.removeEventListener("message",J)}));const q=()=>B();function W(l,c){l[c].isFilterSelected=this.checked,r(5,u)}const C=l=>M(l),T=()=>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,E,j,O,a,B,M,V,n,s,f,b,y,h,p,I,k,q,W,C,T,_]}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;
|