@everymatrix/casino-page 1.65.0 → 1.65.2
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-B7HDzCMK.cjs +19 -0
- package/components/{CasinoCalendar-Dczb8mQC.js → CasinoCalendar-CL5PkzEO.js} +856 -835
- package/components/{CasinoCalendar-CcOHZE-j.js → CasinoCalendar-Vkb-R-ZX.js} +1013 -992
- package/components/{CasinoCalendarDailyDetails-BiJ4D-CT.cjs → CasinoCalendarDailyDetails-Bc0r0Ym3.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-LLLXdKmx.js → CasinoCalendarDailyDetails-Cf_NBcOX.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-vYp6eZpm.js → CasinoCalendarDailyDetails-nHgnBEAa.js} +38 -38
- package/components/{CasinoCalendarDailyItem-B1BdPzMs.js → CasinoCalendarDailyItem-CQSuNZtl.js} +36 -36
- package/components/{CasinoCalendarDailyItem-BtDpzRql.js → CasinoCalendarDailyItem-CUbfxemR.js} +36 -36
- package/components/{CasinoCalendarDailyItem-DqY57MB3.cjs → CasinoCalendarDailyItem-DcM708OO.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-EPGsdmDV.cjs → CasinoCollectionsProviders-58EKJRFt.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CcLhfsBA.js → CasinoCollectionsProviders-C2HckLP0.js} +67 -67
- package/components/{CasinoCollectionsProviders-CD4HGozx.js → CasinoCollectionsProviders-pEu__c8l.js} +45 -45
- package/components/{CasinoFavoritesSection-mN7khGP5.js → CasinoFavoritesSection-Bxc02QvN.js} +18 -18
- package/components/{CasinoFavoritesSection-B0AebYLJ.js → CasinoFavoritesSection-CcsvkrzG.js} +18 -18
- package/components/{CasinoFavoritesSection-CSPxG2oc.cjs → CasinoFavoritesSection-W3TMRpsu.cjs} +1 -1
- package/components/CasinoFilter-Bmbi-NIl.cjs +1 -0
- package/components/{CasinoFilter-B7gl4Edz.js → CasinoFilter-DcGO-ipH.js} +229 -228
- package/components/{CasinoFilter-CCcGXUTM.js → CasinoFilter-DdOgJOoJ.js} +244 -245
- package/components/{CasinoGameThumbnail-Dwd33EF0.js → CasinoGameThumbnail-CBE1pMbX.js} +1253 -1269
- package/components/CasinoGameThumbnail-COIE0fub.cjs +47 -0
- package/components/{CasinoGameThumbnail-CHede4aL.js → CasinoGameThumbnail-DXQLodRv.js} +778 -762
- package/components/{CasinoGamesCategorySection-w5d_m8fd.js → CasinoGamesCategorySection-C71lsvsg.js} +250 -250
- package/components/{CasinoGamesCategorySection-DW1K_6jM.cjs → CasinoGamesCategorySection-D-NYfWaO.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-BwmqODc-.js → CasinoGamesCategorySection-DqEYl0Es.js} +246 -246
- package/components/{CasinoJackpotBanner-kQbS7eq1.cjs → CasinoJackpotBanner-BuVB-M1i.cjs} +1 -1
- package/components/{CasinoJackpotBanner-y5JeKtYU.js → CasinoJackpotBanner-V6O3AoyH.js} +114 -114
- package/components/{CasinoJackpotBanner-ChKxca-1.js → CasinoJackpotBanner-emlytO5A.js} +121 -121
- package/components/{CasinoLastPlayedSection-CCQy8hwM.js → CasinoLastPlayedSection-BeOw-UDm.js} +45 -45
- package/components/{CasinoLastPlayedSection-ClFHGeMO.cjs → CasinoLastPlayedSection-ESrwXqVH.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-cQ2LJnlW.js → CasinoLastPlayedSection-HNf5v3xk.js} +45 -45
- package/components/{CasinoMostPlayedSection-Dy4oNhLE.js → CasinoMostPlayedSection-Cv7_gNa_.js} +46 -46
- package/components/{CasinoMostPlayedSection-C87YEW0b.cjs → CasinoMostPlayedSection-DnCmD7jr.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-rZObWCTK.js → CasinoMostPlayedSection-ZxeqcEG3.js} +46 -46
- package/components/{CasinoMyGames-BL3go5JB.js → CasinoMyGames-B3n4oh-A.js} +42 -42
- package/components/{CasinoMyGames-C4Gw0VcD.cjs → CasinoMyGames-Ds1zAHP9.cjs} +1 -1
- package/components/{CasinoMyGames-DQIeUlQG.js → CasinoMyGames-q-Hw-yUp.js} +41 -41
- package/components/{CasinoPage-C0Mwc3ry.cjs → CasinoPage-Cb9IWIAt.cjs} +1 -1
- package/components/{CasinoPage-CudP_D10.js → CasinoPage-CoS68iHm.js} +78 -78
- package/components/{CasinoPage-C1F6j5g8.js → CasinoPage-aiERH-v5.js} +80 -80
- package/components/{CasinoRandomGame-G98k2hmn.cjs → CasinoRandomGame-Bu3vRXKq.cjs} +1 -1
- package/components/{CasinoRandomGame-CD4fZ2Eg.js → CasinoRandomGame-SWOJ-rEc.js} +59 -59
- package/components/{CasinoRandomGame-CTY3ZI6p.js → CasinoRandomGame-z09wbNE_.js} +58 -58
- package/components/{CasinoSearch-C1zXIcW9.js → CasinoSearch-CBVEB2Fu.js} +112 -112
- package/components/{CasinoSearch-CgBN5Q3b.cjs → CasinoSearch-CPSvAdm9.cjs} +1 -1
- package/components/{CasinoSearch-DeSsBwHh.js → CasinoSearch-JYJ0TOYC.js} +109 -109
- package/components/{CasinoSort-BS3c32j2.cjs → CasinoSort-DKVyUE8P.cjs} +1 -1
- package/components/{CasinoSort-BbHFVbYp.js → CasinoSort-DfH2maWJ.js} +103 -102
- package/components/{CasinoSort-Cmxruqiy.js → CasinoSort-yjF37qpC.js} +111 -112
- package/components/{CasinoWinners-gpNnGc6K.js → CasinoWinners-BOXhaOL0.js} +144 -144
- package/components/{CasinoWinners-B-JWDgIp.cjs → CasinoWinners-C9tJh4_L.cjs} +1 -1
- package/components/{CasinoWinners-BQ606d3J.js → CasinoWinners-DB-fwvGm.js} +150 -150
- package/components/{GeneralAnimationLoading-BhGccNKr.js → GeneralAnimationLoading-B2emFg0o.js} +16 -16
- package/components/{GeneralAnimationLoading-DkopWEE0.cjs → GeneralAnimationLoading-Gvq6az05.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CYLFcQiI.js → GeneralAnimationLoading-KrmvxEvx.js} +16 -16
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game-BLl4u8GF.js} +2 -2
- package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game-C0BJMsSD.js} +2 -2
- package/stencil/{casino-play-random-game-C3hhQjhn.cjs → casino-play-random-game-Dkk0BTsb.cjs} +2 -2
- package/stencil/index-97d17652-BEnqZAxL.js +558 -0
- package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
- package/stencil/index-97d17652-WK_DbPS4.js +542 -0
- package/stencil/index-ab3202d6-CZKlrnZf.js +559 -0
- package/stencil/index-ab3202d6-ClDKsCJv.js +575 -0
- package/stencil/index-ab3202d6-DFbwTHas.cjs +1 -0
- package/stencil/index-b2193545-60VR4wV3.js +519 -0
- package/stencil/index-b2193545-LYFajSbf.js +503 -0
- package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
- package/stencil/{ui-image-DYk0yoSW.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-3GJmZGc5.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
- package/stencil/{ui-image-DWftG2wP.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-DdX5kLxg.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-CxoWdhdz.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-CLDhpYil.js → ui-skeleton-1cb75d00-D5AevndQ.js} +1 -1
- package/stencil/{ui-skeleton-Dcy_5g4O.js → ui-skeleton-CDhNSEbX.js} +2 -2
- package/stencil/{ui-skeleton-3ETvO3HA.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
- package/stencil/{ui-skeleton-BaRKsizw.js → ui-skeleton-D5ACyLBl.js} +2 -2
- package/components/CasinoCalendar-w4qeWjFd.cjs +0 -19
- package/components/CasinoFilter-Bc1AKXad.cjs +0 -1
- package/components/CasinoGameThumbnail-BPXPWNGv.cjs +0 -47
- package/stencil/index-97d17652-BzQXAkmg.js +0 -558
- package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
- package/stencil/index-97d17652-mbOyENH9.js +0 -542
- package/stencil/index-ab3202d6-CSUArOSv.js +0 -559
- package/stencil/index-ab3202d6-CoRS04SH.js +0 -575
- package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
- package/stencil/index-b2193545-1xr0QZqh.js +0 -519
- package/stencil/index-b2193545-CBbhLYGf.js +0 -503
- package/stencil/index-b2193545-Cb0KmSjH.cjs +0 -1
package/components/{CasinoCollectionsProviders-CD4HGozx.js → CasinoCollectionsProviders-pEu__c8l.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as be, $ as Ce, S as ye, i as _e,
|
|
2
|
-
function
|
|
1
|
+
import { a as be, $ as Ce, S as ye, i as _e, s as we, f as M, b as Se, n as T, d as j, h as x, j as y, k as ke, o as Ge, l as Pe, C as Y, r as m, v as B, w as ne, m as I, p as b, q as R, B as F, M as Le, A as H, G as N, D as O, N as Me, H as je, I as xe, J as Fe, K as Te, L as Be } from "./CasinoCalendar-CL5PkzEO.js";
|
|
2
|
+
function D(t, e) {
|
|
3
3
|
be(t, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function He(t) {
|
|
6
6
|
Ce.set(t);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const Q = {
|
|
9
9
|
en: {
|
|
10
10
|
collections: "Game Collections",
|
|
11
11
|
providers: "Game Providers",
|
|
@@ -103,7 +103,7 @@ const D = {
|
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
function Oe(t) {
|
|
106
|
-
|
|
106
|
+
Se(t, "svelte-nnjza6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
107
|
}
|
|
108
108
|
function $(t, e, i) {
|
|
109
109
|
const n = t.slice();
|
|
@@ -113,7 +113,7 @@ function ee(t, e, i) {
|
|
|
113
113
|
const n = t.slice();
|
|
114
114
|
return n[44] = e[i], n;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function ze(t) {
|
|
117
117
|
let e, i, n, l = (
|
|
118
118
|
/*type*/
|
|
119
119
|
(t[0] === "vendor" ? (
|
|
@@ -135,7 +135,7 @@ function Ee(t) {
|
|
|
135
135
|
a[d] = le($(t, f, d));
|
|
136
136
|
return {
|
|
137
137
|
c() {
|
|
138
|
-
e = y("div"), i = y("div"), n = y("p"), r =
|
|
138
|
+
e = y("div"), i = y("div"), n = y("p"), r = R(l), c = F(), s && s.c(), _ = F(), C = y("div");
|
|
139
139
|
for (let d = 0; d < a.length; d += 1)
|
|
140
140
|
a[d].c();
|
|
141
141
|
m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(C, "class", "CategoriesSlider"), m(e, "class", S = "CasinoCollectionsProviders " + /*mobile*/
|
|
@@ -157,7 +157,7 @@ function Ee(t) {
|
|
|
157
157
|
) : (
|
|
158
158
|
/*$_*/
|
|
159
159
|
d[10]("collections")
|
|
160
|
-
)) + "") &&
|
|
160
|
+
)) + "") && I(r, l), /*numberOfSlides*/
|
|
161
161
|
d[7] > /*numberOfVisibleSlides*/
|
|
162
162
|
d[8] ? s ? s.p(d, g) : (s = te(d), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
163
163
|
24590) {
|
|
@@ -184,7 +184,7 @@ function Ee(t) {
|
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Ae(t) {
|
|
188
188
|
let e;
|
|
189
189
|
return {
|
|
190
190
|
c() {
|
|
@@ -207,13 +207,13 @@ function te(t) {
|
|
|
207
207
|
},
|
|
208
208
|
m(_, C) {
|
|
209
209
|
x(_, e, C), b(e, i), b(e, n), b(e, l), r || (c = [
|
|
210
|
-
|
|
210
|
+
H(
|
|
211
211
|
i,
|
|
212
212
|
"click",
|
|
213
213
|
/*sliderScrollLeft*/
|
|
214
214
|
t[11]
|
|
215
215
|
),
|
|
216
|
-
|
|
216
|
+
H(
|
|
217
217
|
l,
|
|
218
218
|
"click",
|
|
219
219
|
/*sliderScrollRight*/
|
|
@@ -223,18 +223,18 @@ function te(t) {
|
|
|
223
223
|
},
|
|
224
224
|
p: T,
|
|
225
225
|
d(_) {
|
|
226
|
-
_ && j(e), r = !1,
|
|
226
|
+
_ && j(e), r = !1, Le(c);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ee(t) {
|
|
231
231
|
let e, i = (
|
|
232
232
|
/*category*/
|
|
233
233
|
t[41].name + ""
|
|
234
234
|
), n;
|
|
235
235
|
return {
|
|
236
236
|
c() {
|
|
237
|
-
e = y("p"), n =
|
|
237
|
+
e = y("p"), n = R(i), m(e, "class", "CategorySlideTitle");
|
|
238
238
|
},
|
|
239
239
|
m(l, r) {
|
|
240
240
|
x(l, e, r), b(e, n);
|
|
@@ -242,7 +242,7 @@ function Ae(t) {
|
|
|
242
242
|
p(l, r) {
|
|
243
243
|
r[0] & /*gameCategories*/
|
|
244
244
|
8 && i !== (i = /*category*/
|
|
245
|
-
l[41].name + "") &&
|
|
245
|
+
l[41].name + "") && I(n, i);
|
|
246
246
|
},
|
|
247
247
|
d(l) {
|
|
248
248
|
l && j(e);
|
|
@@ -279,7 +279,7 @@ function ie(t) {
|
|
|
279
279
|
), n, l;
|
|
280
280
|
return {
|
|
281
281
|
c() {
|
|
282
|
-
e = y("p"), n =
|
|
282
|
+
e = y("p"), n = R(i), m(e, "title", l = /*game*/
|
|
283
283
|
t[44].name);
|
|
284
284
|
},
|
|
285
285
|
m(r, c) {
|
|
@@ -288,7 +288,7 @@ function ie(t) {
|
|
|
288
288
|
p(r, c) {
|
|
289
289
|
c[0] & /*gameCategories*/
|
|
290
290
|
8 && i !== (i = /*game*/
|
|
291
|
-
r[44].name + "") &&
|
|
291
|
+
r[44].name + "") && I(n, i), c[0] & /*gameCategories*/
|
|
292
292
|
8 && l !== (l = /*game*/
|
|
293
293
|
r[44].name) && m(e, "title", l);
|
|
294
294
|
},
|
|
@@ -319,7 +319,7 @@ function oe(t) {
|
|
|
319
319
|
t[44].name), m(e, "class", "CategorySlideGames");
|
|
320
320
|
},
|
|
321
321
|
m(f, a) {
|
|
322
|
-
x(f, e, a), b(e, i), b(e, r), s && s.m(e, null), b(e, c), _ || (C =
|
|
322
|
+
x(f, e, a), b(e, i), b(e, r), s && s.m(e, null), b(e, c), _ || (C = H(i, "click", Me(S)), _ = !0);
|
|
323
323
|
},
|
|
324
324
|
p(f, a) {
|
|
325
325
|
t = f, a[0] & /*gameCategories*/
|
|
@@ -346,7 +346,7 @@ function le(t) {
|
|
|
346
346
|
/*titletype*/
|
|
347
347
|
u[1] === "title"
|
|
348
348
|
)
|
|
349
|
-
return
|
|
349
|
+
return Ee;
|
|
350
350
|
}
|
|
351
351
|
let f = s(t), a = f && f(t), d = B(
|
|
352
352
|
/*category*/
|
|
@@ -376,7 +376,7 @@ function le(t) {
|
|
|
376
376
|
x(u, e, v), b(e, i), b(i, n), a && a.m(n, null), b(i, l), b(i, r);
|
|
377
377
|
for (let p = 0; p < g.length; p += 1)
|
|
378
378
|
g[p] && g[p].m(r, null);
|
|
379
|
-
b(e, _), C || (S =
|
|
379
|
+
b(e, _), C || (S = H(i, "click", h), C = !0);
|
|
380
380
|
},
|
|
381
381
|
p(u, v) {
|
|
382
382
|
if (t = u, f === (f = s(t)) && a ? a.p(t, v) : (a && a.d(1), a = f && f(t), a && (a.c(), a.m(n, null))), v[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
@@ -410,7 +410,7 @@ function Ie(t) {
|
|
|
410
410
|
function i(r, c) {
|
|
411
411
|
return (
|
|
412
412
|
/*isLoading*/
|
|
413
|
-
r[6] ?
|
|
413
|
+
r[6] ? Ae : ze
|
|
414
414
|
);
|
|
415
415
|
}
|
|
416
416
|
let n = i(t), l = n(t);
|
|
@@ -433,24 +433,24 @@ function Ie(t) {
|
|
|
433
433
|
}
|
|
434
434
|
function Re(t, e, i) {
|
|
435
435
|
let n;
|
|
436
|
-
|
|
437
|
-
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, U,
|
|
436
|
+
ke(t, Be, (o) => i(10, n = o));
|
|
437
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, U, z, q = 0, A = 50, E = !1, G, re = window.navigator.userAgent, V;
|
|
438
438
|
const ae = () => {
|
|
439
439
|
fetch(f).then((w) => w.json()).then((w) => {
|
|
440
440
|
Object.keys(w).forEach((P) => {
|
|
441
|
-
|
|
441
|
+
D(P, w[P]);
|
|
442
442
|
});
|
|
443
443
|
}).catch((w) => {
|
|
444
444
|
console.log(w);
|
|
445
445
|
});
|
|
446
446
|
};
|
|
447
|
-
Object.keys(
|
|
448
|
-
|
|
447
|
+
Object.keys(Q).forEach((o) => {
|
|
448
|
+
D(o, Q[o]);
|
|
449
449
|
});
|
|
450
450
|
const W = () => {
|
|
451
451
|
const o = new URL(`${l}/v2/casino/groups/${r}`);
|
|
452
|
-
o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${
|
|
453
|
-
i(6, h = !1), w.total >
|
|
452
|
+
o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${A}`), fetch(o.href).then((w) => w.json()).then((w) => {
|
|
453
|
+
i(6, h = !1), w.total > A && (q += 50, A += 50, i(22, E = !0));
|
|
454
454
|
let P = w.items.map((L) => ({
|
|
455
455
|
id: L.id,
|
|
456
456
|
name: L.name,
|
|
@@ -464,18 +464,18 @@ function Re(t, e, i) {
|
|
|
464
464
|
}, se = () => {
|
|
465
465
|
const o = G.getRootNode().host;
|
|
466
466
|
o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
|
|
467
|
-
},
|
|
468
|
-
|
|
467
|
+
}, K = (o) => {
|
|
468
|
+
z = [...u.children], z.forEach((w, P) => {
|
|
469
469
|
w.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
|
|
470
|
-
}), U =
|
|
470
|
+
}), U = z[0]?.getBoundingClientRect().width, de();
|
|
471
471
|
}, de = () => {
|
|
472
472
|
i(8, k = Math.floor(u.clientWidth / U));
|
|
473
|
-
},
|
|
474
|
-
|
|
473
|
+
}, J = () => {
|
|
474
|
+
K(v);
|
|
475
475
|
}, ce = () => {
|
|
476
|
-
v === 0 ? v = p - k : v - k < -1 ? v = 0 : v--,
|
|
476
|
+
v === 0 ? v = p - k : v - k < -1 ? v = 0 : v--, J();
|
|
477
477
|
}, ge = () => {
|
|
478
|
-
v === p - k ? v = 0 : p - k < v + 1 ? v = p - k : v++,
|
|
478
|
+
v === p - k ? v = 0 : p - k < v + 1 ? v = p - k : v++, J();
|
|
479
479
|
}, Z = (o, w, P, L) => {
|
|
480
480
|
window.postMessage(
|
|
481
481
|
{
|
|
@@ -499,9 +499,9 @@ function Re(t, e, i) {
|
|
|
499
499
|
window.location.href
|
|
500
500
|
);
|
|
501
501
|
}, ue = () => {
|
|
502
|
-
|
|
502
|
+
He(c);
|
|
503
503
|
};
|
|
504
|
-
|
|
504
|
+
Ge(() => (i(9, V = Pe(re)), () => {
|
|
505
505
|
}));
|
|
506
506
|
const me = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), fe = (o) => X(o.id);
|
|
507
507
|
function pe(o) {
|
|
@@ -519,13 +519,13 @@ function Re(t, e, i) {
|
|
|
519
519
|
}, t.$$.update = () => {
|
|
520
520
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
521
521
|
229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
522
|
-
24 && g && u &&
|
|
522
|
+
24 && g && u && K(), t.$$.dirty[0] & /*lang*/
|
|
523
523
|
131072 && c && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
524
|
-
262176 && S && G &&
|
|
525
|
-
524320 && s && G &&
|
|
526
|
-
2097184 && G &&
|
|
524
|
+
262176 && S && G && je(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
525
|
+
524320 && s && G && xe(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
526
|
+
2097184 && G && Fe(G, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
527
527
|
1048576 && f && ae(), t.$$.dirty[0] & /*paginationrequired*/
|
|
528
|
-
4194304 &&
|
|
528
|
+
4194304 && E && W();
|
|
529
529
|
}, [
|
|
530
530
|
_,
|
|
531
531
|
C,
|
|
@@ -549,7 +549,7 @@ function Re(t, e, i) {
|
|
|
549
549
|
s,
|
|
550
550
|
f,
|
|
551
551
|
d,
|
|
552
|
-
|
|
552
|
+
E,
|
|
553
553
|
me,
|
|
554
554
|
fe,
|
|
555
555
|
pe,
|
|
@@ -563,7 +563,7 @@ class Ue extends ye {
|
|
|
563
563
|
e,
|
|
564
564
|
Re,
|
|
565
565
|
Ie,
|
|
566
|
-
|
|
566
|
+
we,
|
|
567
567
|
{
|
|
568
568
|
endpoint: 15,
|
|
569
569
|
datasource: 16,
|
|
@@ -641,7 +641,7 @@ class Ue extends ye {
|
|
|
641
641
|
this.$$set({ mbsource: e }), M();
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
Te(Ue, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
645
645
|
export {
|
|
646
646
|
Ue as default
|
|
647
647
|
};
|
package/components/{CasinoFavoritesSection-mN7khGP5.js → CasinoFavoritesSection-Bxc02QvN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, O as M, S as R, i as j,
|
|
1
|
+
import { $ as E, O as M, S as R, i as j, s as z, f as l, b as H, n as I, d as O, h as q, j as A, r as J, o as K, E as s, C as T, H as U, I as V, J as B, K as G } from "./CasinoCalendar-CL5PkzEO.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ 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-C71lsvsg.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -27,7 +27,7 @@ function L(n) {
|
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
30
|
-
e =
|
|
30
|
+
e = A("casino-games-category-section"), s(
|
|
31
31
|
e,
|
|
32
32
|
"session",
|
|
33
33
|
/*session*/
|
|
@@ -120,7 +120,7 @@ function L(n) {
|
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
122
|
m(t, a) {
|
|
123
|
-
|
|
123
|
+
q(t, e, a);
|
|
124
124
|
},
|
|
125
125
|
p(t, a) {
|
|
126
126
|
a & /*session*/
|
|
@@ -234,7 +234,7 @@ function L(n) {
|
|
|
234
234
|
);
|
|
235
235
|
},
|
|
236
236
|
d(t) {
|
|
237
|
-
t &&
|
|
237
|
+
t && O(e);
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
@@ -245,28 +245,28 @@ function Q(n) {
|
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
248
|
-
e =
|
|
248
|
+
e = A("div"), t && t.c(), J(e, "class", "CasinoFavoritesSectionContainer");
|
|
249
249
|
},
|
|
250
250
|
m(a, g) {
|
|
251
|
-
|
|
251
|
+
q(a, e, g), t && t.m(e, null), n[19](e);
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
255
255
|
a[4] ? t ? t.p(a, g) : (t = L(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
256
256
|
},
|
|
257
|
-
i:
|
|
258
|
-
o:
|
|
257
|
+
i: I,
|
|
258
|
+
o: I,
|
|
259
259
|
d(a) {
|
|
260
|
-
a &&
|
|
260
|
+
a && O(e), t && t.d(), n[19](null);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
264
|
function W(n, e, t) {
|
|
265
265
|
let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: r = "" } = e, { clientstylingurl: o = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, { mbsource: c } = e, m;
|
|
266
|
-
N({ withLocale: "en", translations: {} }),
|
|
266
|
+
N({ withLocale: "en", translations: {} }), K(() => () => {
|
|
267
267
|
});
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
function D(i) {
|
|
269
|
+
T[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -274,9 +274,9 @@ function W(n, e, t) {
|
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, v = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, S = i.casinomygames), "fetchviaevent" in i && t(16, F = i.fetchviaevent), "mbsource" in i && t(17, c = i.mbsource);
|
|
275
275
|
}, n.$$.update = () => {
|
|
276
276
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
-
262208 && r && m &&
|
|
277
|
+
262208 && r && m && U(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
278
|
262272 && o && m && V(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
|
|
279
|
-
393216 && m &&
|
|
279
|
+
393216 && m && B(m, `${c}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
|
282
282
|
g,
|
|
@@ -297,7 +297,7 @@ function W(n, e, t) {
|
|
|
297
297
|
F,
|
|
298
298
|
c,
|
|
299
299
|
m,
|
|
300
|
-
|
|
300
|
+
D
|
|
301
301
|
];
|
|
302
302
|
}
|
|
303
303
|
class X extends R {
|
|
@@ -307,7 +307,7 @@ class X extends R {
|
|
|
307
307
|
e,
|
|
308
308
|
W,
|
|
309
309
|
Q,
|
|
310
|
-
|
|
310
|
+
z,
|
|
311
311
|
{
|
|
312
312
|
endpoint: 0,
|
|
313
313
|
datasource: 1,
|
|
@@ -440,7 +440,7 @@ class X extends R {
|
|
|
440
440
|
this.$$set({ mbsource: e }), l();
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
G(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
444
444
|
export {
|
|
445
445
|
X as default
|
|
446
446
|
};
|
package/components/{CasinoFavoritesSection-B0AebYLJ.js → CasinoFavoritesSection-CcsvkrzG.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, O as M, S as R, i as j,
|
|
1
|
+
import { $ as E, O as M, S as R, i as j, s as z, f as l, b as H, n as I, d as O, h as q, j as A, r as J, o as K, E as s, C as T, H as U, I as V, J as B, K as G } from "./CasinoCalendar-Vkb-R-ZX.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ 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-DqEYl0Es.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -27,7 +27,7 @@ function L(n) {
|
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
30
|
-
e =
|
|
30
|
+
e = A("casino-games-category-section"), s(
|
|
31
31
|
e,
|
|
32
32
|
"session",
|
|
33
33
|
/*session*/
|
|
@@ -120,7 +120,7 @@ function L(n) {
|
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
122
|
m(t, a) {
|
|
123
|
-
|
|
123
|
+
q(t, e, a);
|
|
124
124
|
},
|
|
125
125
|
p(t, a) {
|
|
126
126
|
a & /*session*/
|
|
@@ -234,7 +234,7 @@ function L(n) {
|
|
|
234
234
|
);
|
|
235
235
|
},
|
|
236
236
|
d(t) {
|
|
237
|
-
t &&
|
|
237
|
+
t && O(e);
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
@@ -245,28 +245,28 @@ function Q(n) {
|
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
248
|
-
e =
|
|
248
|
+
e = A("div"), t && t.c(), J(e, "class", "CasinoFavoritesSectionContainer");
|
|
249
249
|
},
|
|
250
250
|
m(a, g) {
|
|
251
|
-
|
|
251
|
+
q(a, e, g), t && t.m(e, null), n[19](e);
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
255
255
|
a[4] ? t ? t.p(a, g) : (t = L(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
256
256
|
},
|
|
257
|
-
i:
|
|
258
|
-
o:
|
|
257
|
+
i: I,
|
|
258
|
+
o: I,
|
|
259
259
|
d(a) {
|
|
260
|
-
a &&
|
|
260
|
+
a && O(e), t && t.d(), n[19](null);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
264
|
function W(n, e, t) {
|
|
265
265
|
let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: r = "" } = e, { clientstylingurl: o = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, { mbsource: c } = e, m;
|
|
266
|
-
N({ withLocale: "en", translations: {} }),
|
|
266
|
+
N({ withLocale: "en", translations: {} }), K(() => () => {
|
|
267
267
|
});
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
function D(i) {
|
|
269
|
+
T[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -274,9 +274,9 @@ function W(n, e, t) {
|
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, v = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, S = i.casinomygames), "fetchviaevent" in i && t(16, F = i.fetchviaevent), "mbsource" in i && t(17, c = i.mbsource);
|
|
275
275
|
}, n.$$.update = () => {
|
|
276
276
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
-
262208 && r && m &&
|
|
277
|
+
262208 && r && m && U(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
278
|
262272 && o && m && V(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
|
|
279
|
-
393216 && m &&
|
|
279
|
+
393216 && m && B(m, `${c}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
|
282
282
|
g,
|
|
@@ -297,7 +297,7 @@ function W(n, e, t) {
|
|
|
297
297
|
F,
|
|
298
298
|
c,
|
|
299
299
|
m,
|
|
300
|
-
|
|
300
|
+
D
|
|
301
301
|
];
|
|
302
302
|
}
|
|
303
303
|
class X extends R {
|
|
@@ -307,7 +307,7 @@ class X extends R {
|
|
|
307
307
|
e,
|
|
308
308
|
W,
|
|
309
309
|
Q,
|
|
310
|
-
|
|
310
|
+
z,
|
|
311
311
|
{
|
|
312
312
|
endpoint: 0,
|
|
313
313
|
datasource: 1,
|
|
@@ -440,7 +440,7 @@ class X extends R {
|
|
|
440
440
|
this.$$set({ mbsource: e }), l();
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
G(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
444
444
|
export {
|
|
445
445
|
X as default
|
|
446
446
|
};
|
package/components/{CasinoFavoritesSection-CSPxG2oc.cjs → CasinoFavoritesSection-W3TMRpsu.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-B7HDzCMK.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-D-NYfWaO.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-B7HDzCMK.cjs");function $({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={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 ee(i){e.append_styles(i,"svelte-1rlsu2u",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function K(i,t,l){const a=i.slice();return a[37]=t[l],a[38]=t,a[39]=l,a}function te(i){let t,l,a,n,o,g,b,y,h=i[11]("filterby")+"",p,_,F,L,S=i[11]("providers")+"",x,w,m,u,d,C,P,E,M,v,A,J,I,T=i[11]("clear")+"",D,B,j,N,z,q;function H(s,f){return s[7]?ie:re}let V=H(i),k=V(i),O=e.ensure_array_like(i[5]),r=[];for(let s=0;s<O.length;s+=1)r[s]=Q(K(i,O,s));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),o=e.svg_element("path"),g=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),_=e.space(),F=e.element("div"),L=e.element("span"),x=e.text(S),w=e.space(),k.c(),m=e.space(),u=e.element("span"),d=e.svg_element("svg"),C=e.svg_element("path"),M=e.space(),v=e.element("div"),A=e.element("ul");for(let s=0;s<r.length;s+=1)r[s].c();J=e.space(),I=e.element("button"),D=e.text(T),e.attr(o,"id","noun_filter_736223"),e.attr(o,"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(o,"transform","translate(-5 -6.2)"),e.attr(o,"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(C,"id","arrow"),e.attr(C,"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(C,"transform","translate(-274.511 -441.088)"),e.attr(C,"fill","#d1d1d1"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","14"),e.attr(d,"height","6.835"),e.attr(d,"viewBox","0 0 14 6.835"),e.attr(u,"class",P="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",E="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(A,"class","FilterDropdown"),e.attr(I,"class","ClearFilters"),I.disabled=B=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",N="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(s,f){e.insert(s,t,f),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,o),e.append(a,g),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,_),e.append(b,F),e.append(F,L),e.append(L,x),e.append(F,w),k.m(F,null),e.append(l,m),e.append(l,u),e.append(u,d),e.append(d,C),e.append(t,M),e.append(t,v),e.append(v,A);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(A,null);e.append(v,J),e.append(v,I),e.append(I,D),z||(q=[e.listen(l,"click",i[24]),e.listen(I,"click",i[27])],z=!0)},p(s,f){if(f[0]&2048&&h!==(h=s[11]("filterby")+"")&&e.set_data(p,h),f[0]&2048&&S!==(S=s[11]("providers")+"")&&e.set_data(x,S),V===(V=H(s))&&k?k.p(s,f):(k.d(1),k=V(s),k&&(k.c(),k.m(F,null))),f[0]&16&&P!==(P="TriangleInactive "+(s[4]?"TriangleActive":""))&&e.attr(u,"class",P),f[0]&16&&E!==(E="FilterSelector "+(s[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",E),f[0]&8228){O=e.ensure_array_like(s[5]);let c;for(c=0;c<O.length;c+=1){const W=K(s,O,c);r[c]?r[c].p(W,f):(r[c]=Q(W),r[c].c(),r[c].m(A,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=O.length}f[0]&2048&&T!==(T=s[11]("clear")+"")&&e.set_data(D,T),f[0]&224&&B!==(B=s[7]&&s[6].length!=s[5].length)&&(I.disabled=B),f[0]&16&&j!==(j="FilterDropdownContainer "+(s[4]?"FilterOpen":""))&&e.attr(v,"class",j),f[0]&3&&N!==(N="FilterContainer "+(s[0]=="true"&&s[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",N)},d(s){s&&e.detach(t),k.d(),e.destroy_each(r,s),z=!1,e.run_all(q)}}}function le(i){let t,l=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),e.append(t,a)},p(n,o){o[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function re(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[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 ie(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,o){e.insert(n,t,o),e.append(t,a)},p(n,o){o[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ae(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[37].logo)||e.attr(t,"src",l),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,l=a[37].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ne(i){let t,l,a=i[37].name+"",n,o,g,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),o=e.space(),g=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(_,F){e.insert(_,t,F),e.append(t,l),e.append(l,n),e.append(t,o),e.append(t,g),e.append(g,b),e.append(g,h),e.append(g,p)},p(_,F){F[0]&32&&a!==(a=_[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=_[37].games.total+"")&&e.set_data(h,y)},d(_){_&&e.detach(t)}}}function Q(i){let t,l,a,n,o,g,b,y,h,p,_,F;function L(){i[25].call(a,i[38],i[39])}function S(){return i[26](i[37])}function x(u,d){if(u[2]==="false")return ne;if(u[2]==="true")return ae}let w=x(i),m=w&&w(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),o=e.space(),g=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(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,d){e.insert(u,t,d),e.append(t,l),e.append(l,a),a.checked=i[37].isFilterSelected,e.append(l,o),e.append(l,g),e.append(l,b),m&&m.m(l,null),e.append(t,y),_||(F=[e.listen(a,"change",L),e.listen(a,"click",S)],_=!0)},p(u,d){i=u,d[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),d[0]&32&&(a.checked=i[37].isFilterSelected),w===(w=x(i))&&m?m.p(i,d):(m&&m.d(1),m=w&&w(i),m&&(m.c(),m.m(l,null))),d[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),d[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),_=!1,e.run_all(F)}}}function se(i){let t;function l(o,g){if(o[10])return le;if(!o[9])return te}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(o,g){e.insert(o,t,g),n&&n.m(t,null),i[28](t)},p(o,g){a===(a=l(o))&&n?n.p(o,g):(n&&n.d(1),n=a&&a(o),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),n&&n.d(),i[28](null)}}}function oe(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:o=""}=t,{lang:g=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:x="false"}=t,w=!1,m=window.navigator.userAgent,u=[],d=[],C={},P=!1,E=0,M=!0,v,A=!1;$({withLocale:"en",translations:{}});const J=()=>{fetch(b).then(s=>s.json()).then(s=>{Object.keys(s).forEach(f=>{Z(f,s[f])})}).catch(s=>{console.log(s)})};Object.keys(G).forEach(r=>{Z(r,G[r])}),C[p]&&(C={[p]:[]});const I=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},T=r=>(l(9,M=!0),new Promise((s,f)=>{fetch(r).then(c=>c.json()).then(c=>{c=c.items,s(c.items),l(6,d=[]);let W=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Y=x==="true"?"*":p;c.forEach(R=>{var U;W||(W={currentCategoryId:[]}),((U=W[Y])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,d.push(R)):R.isFilterSelected=!1}),l(5,u=c),B()}).catch(c=>{console.error(c),l(10,A=!0),f(c)}).finally(()=>{l(9,M=!1)})})),D=r=>{let s=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!d.length||d.filter(c=>c.name===r.name).length==0?d.push(r):l(6,d=d.filter(c=>c.name!==r.name));const f=x==="true"?"*":p;s==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[f]:d.map(c=>c.id)})):(s=JSON.parse(s),s[f]=d.map(c=>c.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(s))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),B()},B=()=>{l(7,P=d.length===u.length||d.length==0),l(8,E=d.length)},j=()=>{if(u.length&&x==="true")return;const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",g),r.searchParams.append("datasource",o),r.searchParams.append("platform",e.getDevice(m)),x==="true"||((p.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${p})`),r.searchParams.append("subVendors",`games(subGroups=${p})`)):r.searchParams.append("filter",`games(groups=${p})`)),T(r)},N=()=>{l(6,d=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[x==="true"?"*":p]:d.map(r=>r.id)})),u.forEach(r=>r.isFilterSelected=!1),l(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,P=!0),l(4,w=!1)},z=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const q=()=>I();function H(r,s){r[s].isFilterSelected=this.checked,l(5,u)}const V=r=>D(r),k=()=>N();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{v=r,l(3,v)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,o=r.datasource),"lang"in r&&l(17,g=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,p=r.categoryid),"addfilterselector"in r&&l(0,_=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,L=r.filterbylogo),"mbsource"in r&&l(22,S=r.mbsource),"usesinglevendorfilter"in r&&l(23,x=r.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&o&&p&&L&&j(),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,`${S}.Style`),i.$$.dirty[0]&262144&&b&&J()},[_,F,L,v,w,u,d,P,E,M,A,a,I,D,N,n,o,g,b,y,h,p,S,x,q,H,V,k,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,se,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},ee,[-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(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=X;
|