@everymatrix/casino-lobby 1.62.0 → 1.62.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-B4GcXKnc.cjs +22 -0
- package/components/{CasinoCalendar-Ds_auLbt.js → CasinoCalendar-CinFtvuW.js} +1099 -1078
- package/components/{CasinoCalendar-DwNK-Krf.js → CasinoCalendar-zRo_9Za0.js} +873 -852
- package/components/{CasinoCalendarDailyDetails-CfPB55Pq.cjs → CasinoCalendarDailyDetails-Cn37GUIj.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-C_XI9wqh.js → CasinoCalendarDailyDetails-DL8uHwSN.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-Bsp_M9tm.js → CasinoCalendarDailyDetails-qkwXMyxI.js} +49 -49
- package/components/{CasinoCalendarDailyItem-DKNNV9h9.cjs → CasinoCalendarDailyItem-Bo9evLEj.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DX4mmW--.js → CasinoCalendarDailyItem-DcqDKyz5.js} +33 -33
- package/components/{CasinoCalendarDailyItem-BZFRiT1-.js → CasinoCalendarDailyItem-DoK3veTp.js} +33 -33
- package/components/{CasinoCategoriesSlider-3nT06xt_.js → CasinoCategoriesSlider-BBVXEukg.js} +70 -70
- package/components/{CasinoCategoriesSlider-BpGXCaMb.js → CasinoCategoriesSlider-YxbN9BpC.js} +71 -71
- package/components/CasinoCategoriesSlider-n2yKGzdi.cjs +1 -0
- package/components/{CasinoCollectionsProviders-Dk4psn1e.js → CasinoCollectionsProviders-BvaxV9cb.js} +77 -77
- package/components/CasinoCollectionsProviders-CPX65G1M.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BGPURFbw.js → CasinoCollectionsProviders-Q0qcn7b_.js} +58 -58
- package/components/{CasinoFavoritesSection-vRmZpBaX.cjs → CasinoFavoritesSection-B1f0uSCY.cjs} +1 -1
- package/components/{CasinoFavoritesSection-C0CsEcw_.js → CasinoFavoritesSection-CR--CUNF.js} +23 -23
- package/components/{CasinoFavoritesSection-Bc0fMYjF.js → CasinoFavoritesSection-DG1Vt4HX.js} +23 -23
- package/components/CasinoFilter-ChsEa9Bx.js +645 -0
- package/components/CasinoFilter-DbcntrTg.js +644 -0
- package/components/CasinoFilter-DhiwjMr2.cjs +1 -0
- package/components/{CasinoGamePage-JBZLEvnG.js → CasinoGamePage-C7LOIY6s.js} +783 -783
- package/components/{CasinoGamePage-ChuDdD-6.cjs → CasinoGamePage-CmF8v1Cv.cjs} +6 -6
- package/components/{CasinoGamePage-DJvIg2Lf.js → CasinoGamePage-DccB7M76.js} +746 -746
- package/components/CasinoGameThumbnail-BtO5lRYS.cjs +38 -0
- package/components/CasinoGameThumbnail-CZYWQzTY.js +1836 -0
- package/components/CasinoGameThumbnail-DZFIn3jP.js +1852 -0
- package/components/{CasinoGamesCategorySection-GOjPf7-0.cjs → CasinoGamesCategorySection-CQaK0CN3.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-foSq_Gr6.js → CasinoGamesCategorySection-CujQbdKb.js} +249 -249
- package/components/{CasinoGamesCategorySection-Ch0WIANe.js → CasinoGamesCategorySection-DFNU_Gsz.js} +332 -332
- package/components/{CasinoJackpotBanner-Iq9Ey3dk.js → CasinoJackpotBanner-BhgV3UvA.js} +131 -131
- package/components/{CasinoJackpotBanner-B2CksgLI.js → CasinoJackpotBanner-CkVmxLVH.js} +163 -163
- package/components/CasinoJackpotBanner-D5DqHlAR.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DbANdFuL.js → CasinoLastPlayedSection-CE97lSQ6.js} +46 -46
- package/components/{CasinoLastPlayedSection-Bp4Lsv3s.js → CasinoLastPlayedSection-CTorwEQu.js} +46 -46
- package/components/{CasinoLastPlayedSection-cmf92qRb.cjs → CasinoLastPlayedSection-U57Y5miR.cjs} +1 -1
- package/components/{CasinoLobby-siRHhGuy.js → CasinoLobby-80EyIh80.js} +74 -74
- package/components/{CasinoLobby-CAeLQ5BE.cjs → CasinoLobby-C1-TdZOS.cjs} +1 -1
- package/components/{CasinoLobby-B8ucHOFp.js → CasinoLobby-hiqWHHHg.js} +73 -73
- package/components/{CasinoModal-DGa_AIvk.cjs → CasinoModal-7GCtnm_K.cjs} +1 -1
- package/components/{CasinoModal-Pt4nHM76.js → CasinoModal-DRoX6zuP.js} +43 -43
- package/components/{CasinoModal-e0s3ToYA.js → CasinoModal-DTJpGGWW.js} +43 -43
- package/components/{CasinoMostPlayedSection-Dk8rng9q.js → CasinoMostPlayedSection-CKuVf-En.js} +44 -44
- package/components/{CasinoMostPlayedSection-Cxmg0Bai.cjs → CasinoMostPlayedSection-Cptq1E56.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DuO2XrE8.js → CasinoMostPlayedSection-oxfCPIeN.js} +44 -44
- package/components/{CasinoMyGames-BXV5DJsV.cjs → CasinoMyGames-DhHqogUJ.cjs} +1 -1
- package/components/{CasinoMyGames-ZgZazIms.js → CasinoMyGames-gq_8VbcF.js} +47 -47
- package/components/{CasinoMyGames-DDhJiodD.js → CasinoMyGames-sC9ouRW_.js} +51 -51
- package/components/{CasinoPage-BfG57-mo.js → CasinoPage-BCAEtuBw.js} +77 -77
- package/components/{CasinoPage-DlenCL5e.js → CasinoPage-Bh2MrJ1P.js} +77 -77
- package/components/{CasinoPage-QkYfyrIK.cjs → CasinoPage-BzbZtzqt.cjs} +1 -1
- package/components/{CasinoRandomGame-CFxey-Hj.js → CasinoRandomGame-CbQvQHMi.js} +165 -166
- package/components/CasinoRandomGame-D4bGW7wH.cjs +2 -0
- package/components/{CasinoRandomGame-C-KByRhW.js → CasinoRandomGame-neIdOgUC.js} +201 -202
- package/components/{CasinoSearch-BjnGir-z.js → CasinoSearch-B65DzQEn.js} +69 -69
- package/components/{CasinoSearch-Ci-NvpMW.cjs → CasinoSearch-BYuM1VFZ.cjs} +1 -1
- package/components/{CasinoSearch-Cwi_srKc.js → CasinoSearch-d7Y-IpLr.js} +69 -69
- package/components/CasinoSlider-CotyciEv.cjs +1 -0
- package/components/{CasinoSlider-39QtmWWi.js → CasinoSlider-DGETBGTm.js} +177 -178
- package/components/{CasinoSlider-C7tccz8y.js → CasinoSlider-TfFHBss2.js} +228 -229
- package/components/{CasinoSort-DgtkEGDb.js → CasinoSort-B-2h6Htw.js} +110 -111
- package/components/{CasinoSort-BvuV6OEx.js → CasinoSort-Cmgp5JM5.js} +104 -103
- package/components/{CasinoSort-Big21575.cjs → CasinoSort-X6V8pABW.cjs} +1 -1
- package/components/{CasinoWinners-CAaxaJlt.js → CasinoWinners-BSQs3S54.js} +151 -151
- package/components/{CasinoWinners-YGc-x05i.cjs → CasinoWinners-CuaTZjz4.cjs} +1 -1
- package/components/{CasinoWinners-CUHNrZzd.js → CasinoWinners-CyDC7j5x.js} +138 -138
- package/components/{GeneralAnimationLoading-DgYbDns-.js → GeneralAnimationLoading-B1-7gNLR.js} +18 -18
- package/components/{GeneralAnimationLoading-GRiNTyhV.js → GeneralAnimationLoading-BV3DII71.js} +18 -18
- package/components/{GeneralAnimationLoading-DS00gkfg.cjs → GeneralAnimationLoading-DasE8cAb.cjs} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-C7EJAFXg.js → casino-play-random-game-6EpPs13y.js} +2 -2
- package/stencil/{casino-play-random-game-BXqbLgi6.js → casino-play-random-game-BUvMKyaw.js} +2 -2
- package/stencil/{casino-play-random-game-DjzHFI4S.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
- package/stencil/index-97d17652-B8yQdy7J.js +542 -0
- package/stencil/index-97d17652-C616IYj2.js +558 -0
- package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
- package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
- package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
- package/stencil/index-ab3202d6-c7Vf1NJ1.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-7da92f1f-26DzsVFt.js +39 -0
- package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
- package/stencil/ui-image-BSTP7sZO.js +7 -0
- package/stencil/ui-image-C3XzpHRB.cjs +1 -0
- package/stencil/ui-image-CYB9UUHg.js +25 -0
- package/stencil/ui-image_2-BXgptLvl.js +154 -0
- package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
- package/stencil/ui-image_2-Cyqb4u7k.js +154 -0
- package/stencil/{ui-skeleton-6d1c12ae-CrQ3Yom_.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-C2t65ZQ6.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-D9cBvSa8.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
- package/stencil/{ui-skeleton-BEBLuDwu.js → ui-skeleton-CDhNSEbX.js} +2 -2
- package/stencil/{ui-skeleton-D595e_7Y.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
- package/stencil/{ui-skeleton-Z7IcB7dJ.js → ui-skeleton-D5ACyLBl.js} +2 -2
- package/components/CasinoCalendar-mfnJr7FR.cjs +0 -22
- package/components/CasinoCategoriesSlider-BcnId76H.cjs +0 -1
- package/components/CasinoCollectionsProviders-By4Ga1uR.cjs +0 -1
- package/components/CasinoFilter-CAtpk4a4.js +0 -645
- package/components/CasinoFilter-CtjgbEie.js +0 -646
- package/components/CasinoFilter-dn8i37bN.cjs +0 -1
- package/components/CasinoGameThumbnail-DjAdZZBA.js +0 -1883
- package/components/CasinoGameThumbnail-DrQpg0EE.js +0 -1867
- package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +0 -38
- package/components/CasinoJackpotBanner-B_eZxp_D.cjs +0 -1
- package/components/CasinoRandomGame-Cs9kjDxc.cjs +0 -2
- package/components/CasinoSlider-DrdLTNh9.cjs +0 -1
- package/stencil/index-ab3202d6-CMLJROQf.cjs +0 -1
- package/stencil/index-ab3202d6-CqQYxn8J.js +0 -575
- package/stencil/index-ab3202d6-D5caeC50.js +0 -559
- package/stencil/index-b2193545-CJX9lIo2.js +0 -519
- package/stencil/index-b2193545-CbB5TWd2.js +0 -503
- package/stencil/index-b2193545-DQd_Uk3t.cjs +0 -1
- package/stencil/index-b7bbd57e-BO976FKE.js +0 -534
- package/stencil/index-b7bbd57e-CRts68dn.cjs +0 -1
- package/stencil/index-b7bbd57e-ChiHMF5W.js +0 -550
- package/stencil/ui-image-38c3c15f-C4x7O9FA.js +0 -39
- package/stencil/ui-image-38c3c15f-DQqFo7p2.cjs +0 -1
- package/stencil/ui-image-38c3c15f-DY2A0QkK.js +0 -39
- package/stencil/ui-image-CzWACXX6.js +0 -11
- package/stencil/ui-image-c5YAxRRi.cjs +0 -1
- package/stencil/ui-image-shmNN3yX.js +0 -29
package/components/{CasinoCollectionsProviders-Dk4psn1e.js → CasinoCollectionsProviders-BvaxV9cb.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as _e, $ as Ce, S as ye, i as we,
|
|
2
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { a as _e, $ as Ce, S as ye, i as we, s as Se, f as M, b as ke, n as O, d as j, h as T, j as _, k as Ge, o as Pe, l as Le, C as Y, r as y, v as B, w as re, m as I, p as v, q as U, B as F, R as Me, A as H, I as R, D as z, E as x, T as xe, J as je, K as Te, L as Fe, M as Oe, N as Be } from "./CasinoCalendar-CinFtvuW.js";
|
|
2
|
+
import "../stencil/ui-image-BSTP7sZO.js";
|
|
3
3
|
function Q(t, e) {
|
|
4
4
|
_e(t, e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function He(t) {
|
|
7
7
|
Ce.set(t);
|
|
8
8
|
}
|
|
9
9
|
const $ = {
|
|
@@ -103,8 +103,8 @@ const $ = {
|
|
|
103
103
|
loading: "Loading, please wait ..."
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
|
-
function
|
|
107
|
-
|
|
106
|
+
function ze(t) {
|
|
107
|
+
ke(t, "svelte-ci1i8", '*,*::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: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: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: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, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
108
108
|
}
|
|
109
109
|
function ee(t, e, i) {
|
|
110
110
|
const n = t.slice();
|
|
@@ -114,7 +114,7 @@ function te(t, e, i) {
|
|
|
114
114
|
const n = t.slice();
|
|
115
115
|
return n[44] = e[i], n;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Ae(t) {
|
|
118
118
|
let e, i, n, l = (
|
|
119
119
|
/*type*/
|
|
120
120
|
(t[0] === "vendor" ? (
|
|
@@ -128,7 +128,7 @@ function Be(t) {
|
|
|
128
128
|
/*numberOfSlides*/
|
|
129
129
|
t[7] > /*numberOfVisibleSlides*/
|
|
130
130
|
t[8] && ie(t)
|
|
131
|
-
), m =
|
|
131
|
+
), m = B(
|
|
132
132
|
/*gameCategories*/
|
|
133
133
|
t[3]
|
|
134
134
|
), a = [];
|
|
@@ -136,7 +136,7 @@ function Be(t) {
|
|
|
136
136
|
a[c] = ne(ee(t, m, c));
|
|
137
137
|
return {
|
|
138
138
|
c() {
|
|
139
|
-
e = _("div"), i = _("div"), n = _("p"), r =
|
|
139
|
+
e = _("div"), i = _("div"), n = _("p"), r = U(l), d = F(), s && s.c(), C = F(), b = _("div");
|
|
140
140
|
for (let c = 0; c < a.length; c += 1)
|
|
141
141
|
a[c].c();
|
|
142
142
|
y(n, "class", "Title"), y(i, "class", "CategoriesHeader"), y(b, "class", "CategoriesSlider"), y(e, "class", S = "CasinoCollectionsProviders " + /*mobile*/
|
|
@@ -144,7 +144,7 @@ function Be(t) {
|
|
|
144
144
|
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
145
145
|
},
|
|
146
146
|
m(c, g) {
|
|
147
|
-
|
|
147
|
+
T(c, e, g), v(e, i), v(i, n), v(n, r), v(i, d), s && s.m(i, null), v(e, C), v(e, b);
|
|
148
148
|
for (let p = 0; p < a.length; p += 1)
|
|
149
149
|
a[p] && a[p].m(b, null);
|
|
150
150
|
t[25](b);
|
|
@@ -158,11 +158,11 @@ function Be(t) {
|
|
|
158
158
|
) : (
|
|
159
159
|
/*$_*/
|
|
160
160
|
c[10]("collections")
|
|
161
|
-
)) + "") &&
|
|
161
|
+
)) + "") && I(r, l), /*numberOfSlides*/
|
|
162
162
|
c[7] > /*numberOfVisibleSlides*/
|
|
163
163
|
c[8] ? s ? s.p(c, g) : (s = ie(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
164
164
|
24590) {
|
|
165
|
-
m =
|
|
165
|
+
m = B(
|
|
166
166
|
/*gameCategories*/
|
|
167
167
|
c[3]
|
|
168
168
|
);
|
|
@@ -181,7 +181,7 @@ function Be(t) {
|
|
|
181
181
|
(c[0] === "vendor" ? "Providers" : "Collections")) && y(e, "class", S);
|
|
182
182
|
},
|
|
183
183
|
d(c) {
|
|
184
|
-
c &&
|
|
184
|
+
c && j(e), s && s.d(), re(a, c), t[25](null);
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
}
|
|
@@ -192,11 +192,11 @@ function Ne(t) {
|
|
|
192
192
|
e = _("div"), y(e, "class", "LoadingSpinner");
|
|
193
193
|
},
|
|
194
194
|
m(i, n) {
|
|
195
|
-
|
|
195
|
+
T(i, e, n);
|
|
196
196
|
},
|
|
197
|
-
p:
|
|
197
|
+
p: O,
|
|
198
198
|
d(i) {
|
|
199
|
-
i &&
|
|
199
|
+
i && j(e);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
}
|
|
@@ -204,17 +204,17 @@ function ie(t) {
|
|
|
204
204
|
let e, i, n, l, r, d;
|
|
205
205
|
return {
|
|
206
206
|
c() {
|
|
207
|
-
e = _("div"), i = _("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n =
|
|
207
|
+
e = _("div"), i = _("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = F(), l = _("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', y(e, "class", "ButtonsContainer");
|
|
208
208
|
},
|
|
209
209
|
m(C, b) {
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
T(C, e, b), v(e, i), v(e, n), v(e, l), r || (d = [
|
|
211
|
+
H(
|
|
212
212
|
i,
|
|
213
213
|
"click",
|
|
214
214
|
/*sliderScrollLeft*/
|
|
215
215
|
t[11]
|
|
216
216
|
),
|
|
217
|
-
|
|
217
|
+
H(
|
|
218
218
|
l,
|
|
219
219
|
"click",
|
|
220
220
|
/*sliderScrollRight*/
|
|
@@ -222,9 +222,9 @@ function ie(t) {
|
|
|
222
222
|
)
|
|
223
223
|
], r = !0);
|
|
224
224
|
},
|
|
225
|
-
p:
|
|
225
|
+
p: O,
|
|
226
226
|
d(C) {
|
|
227
|
-
C &&
|
|
227
|
+
C && j(e), r = !1, Me(d);
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
}
|
|
@@ -235,18 +235,18 @@ function Ee(t) {
|
|
|
235
235
|
), n;
|
|
236
236
|
return {
|
|
237
237
|
c() {
|
|
238
|
-
e = _("p"), n =
|
|
238
|
+
e = _("p"), n = U(i), y(e, "class", "CategorySlideTitle");
|
|
239
239
|
},
|
|
240
240
|
m(l, r) {
|
|
241
|
-
|
|
241
|
+
T(l, e, r), v(e, n);
|
|
242
242
|
},
|
|
243
243
|
p(l, r) {
|
|
244
244
|
r[0] & /*gameCategories*/
|
|
245
245
|
8 && i !== (i = /*category*/
|
|
246
|
-
l[41].name + "") &&
|
|
246
|
+
l[41].name + "") && I(n, i);
|
|
247
247
|
},
|
|
248
248
|
d(l) {
|
|
249
|
-
l &&
|
|
249
|
+
l && j(e);
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
}
|
|
@@ -254,22 +254,22 @@ function Re(t) {
|
|
|
254
254
|
let e, i, n;
|
|
255
255
|
return {
|
|
256
256
|
c() {
|
|
257
|
-
e = _("ui-image"),
|
|
258
|
-
t[41].icon) ||
|
|
257
|
+
e = _("ui-image"), x(e, "class", "CategorySlideLogo"), z(e.src, i = /*category*/
|
|
258
|
+
t[41].icon) || x(e, "src", i), x(e, "alt", n = /*category*/
|
|
259
259
|
t[41].name + " icon");
|
|
260
260
|
},
|
|
261
261
|
m(l, r) {
|
|
262
|
-
|
|
262
|
+
T(l, e, r);
|
|
263
263
|
},
|
|
264
264
|
p(l, r) {
|
|
265
265
|
r[0] & /*gameCategories*/
|
|
266
|
-
8 && !
|
|
267
|
-
l[41].icon) &&
|
|
266
|
+
8 && !z(e.src, i = /*category*/
|
|
267
|
+
l[41].icon) && x(e, "src", i), r[0] & /*gameCategories*/
|
|
268
268
|
8 && n !== (n = /*category*/
|
|
269
|
-
l[41].name + " icon") &&
|
|
269
|
+
l[41].name + " icon") && x(e, "alt", n);
|
|
270
270
|
},
|
|
271
271
|
d(l) {
|
|
272
|
-
l &&
|
|
272
|
+
l && j(e);
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
}
|
|
@@ -280,21 +280,21 @@ function oe(t) {
|
|
|
280
280
|
), n, l;
|
|
281
281
|
return {
|
|
282
282
|
c() {
|
|
283
|
-
e = _("p"), n =
|
|
283
|
+
e = _("p"), n = U(i), y(e, "title", l = /*game*/
|
|
284
284
|
t[44].name);
|
|
285
285
|
},
|
|
286
286
|
m(r, d) {
|
|
287
|
-
|
|
287
|
+
T(r, e, d), v(e, n);
|
|
288
288
|
},
|
|
289
289
|
p(r, d) {
|
|
290
290
|
d[0] & /*gameCategories*/
|
|
291
291
|
8 && i !== (i = /*game*/
|
|
292
|
-
r[44].name + "") &&
|
|
292
|
+
r[44].name + "") && I(n, i), d[0] & /*gameCategories*/
|
|
293
293
|
8 && l !== (l = /*game*/
|
|
294
294
|
r[44].name) && y(e, "title", l);
|
|
295
295
|
},
|
|
296
296
|
d(r) {
|
|
297
|
-
r &&
|
|
297
|
+
r && j(e);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
@@ -315,23 +315,23 @@ function le(t) {
|
|
|
315
315
|
);
|
|
316
316
|
return {
|
|
317
317
|
c() {
|
|
318
|
-
e = _("div"), i = _("ui-image"), r =
|
|
319
|
-
t[44].defaultThumbnail) ||
|
|
318
|
+
e = _("div"), i = _("ui-image"), r = F(), s && s.c(), d = F(), x(i, "class", "CategorySlideGameImage"), z(i.src, n = /*game*/
|
|
319
|
+
t[44].defaultThumbnail) || x(i, "src", n), x(i, "alt", l = /*game*/
|
|
320
320
|
t[44].name), y(e, "class", "CategorySlideGames");
|
|
321
321
|
},
|
|
322
322
|
m(m, a) {
|
|
323
|
-
|
|
323
|
+
T(m, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, d), C || (b = H(i, "click", xe(S)), C = !0);
|
|
324
324
|
},
|
|
325
325
|
p(m, a) {
|
|
326
326
|
t = m, a[0] & /*gameCategories*/
|
|
327
|
-
8 && !
|
|
328
|
-
t[44].defaultThumbnail) &&
|
|
327
|
+
8 && !z(i.src, n = /*game*/
|
|
328
|
+
t[44].defaultThumbnail) && x(i, "src", n), a[0] & /*gameCategories*/
|
|
329
329
|
8 && l !== (l = /*game*/
|
|
330
|
-
t[44].name) &&
|
|
330
|
+
t[44].name) && x(i, "alt", l), /*collectionprovidersgamenames*/
|
|
331
331
|
t[2] == "true" ? s ? s.p(t, a) : (s = oe(t), s.c(), s.m(e, d)) : s && (s.d(1), s = null);
|
|
332
332
|
},
|
|
333
333
|
d(m) {
|
|
334
|
-
m &&
|
|
334
|
+
m && j(e), s && s.d(), C = !1, b();
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
}
|
|
@@ -349,7 +349,7 @@ function ne(t) {
|
|
|
349
349
|
)
|
|
350
350
|
return Ee;
|
|
351
351
|
}
|
|
352
|
-
let m = s(t), a = m && m(t), c =
|
|
352
|
+
let m = s(t), a = m && m(t), c = B(
|
|
353
353
|
/*category*/
|
|
354
354
|
t[41].games
|
|
355
355
|
), g = [];
|
|
@@ -366,23 +366,23 @@ function ne(t) {
|
|
|
366
366
|
}
|
|
367
367
|
return {
|
|
368
368
|
c() {
|
|
369
|
-
e = _("div"), i = _("div"), n = _("div"), a && a.c(), l =
|
|
369
|
+
e = _("div"), i = _("div"), n = _("div"), a && a.c(), l = F(), r = _("div");
|
|
370
370
|
for (let u = 0; u < g.length; u += 1)
|
|
371
371
|
g[u].c();
|
|
372
|
-
C =
|
|
372
|
+
C = F(), y(n, "class", "CategorySlideTopContainer"), y(r, "class", "CategorySlideGameContainer"), y(i, "class", d = "CategorySlide " + /*category*/
|
|
373
373
|
(t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), R(i, "background-image", "url(" + /*category*/
|
|
374
374
|
t[41]?.background + ")"), R(i, "background-size", "cover"), y(e, "class", "CategoriesSliderWrapper Animation");
|
|
375
375
|
},
|
|
376
376
|
m(u, h) {
|
|
377
|
-
|
|
377
|
+
T(u, e, h), v(e, i), v(i, n), a && a.m(n, null), v(i, l), v(i, r);
|
|
378
378
|
for (let f = 0; f < g.length; f += 1)
|
|
379
379
|
g[f] && g[f].m(r, null);
|
|
380
|
-
v(e, C), b || (S =
|
|
380
|
+
v(e, C), b || (S = H(i, "click", p), b = !0);
|
|
381
381
|
},
|
|
382
382
|
p(u, h) {
|
|
383
383
|
if (t = u, m === (m = s(t)) && a ? a.p(t, h) : (a && a.d(1), a = m && m(t), a && (a.c(), a.m(n, null))), h[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
384
384
|
8204) {
|
|
385
|
-
c =
|
|
385
|
+
c = B(
|
|
386
386
|
/*category*/
|
|
387
387
|
t[41].games
|
|
388
388
|
);
|
|
@@ -402,7 +402,7 @@ function ne(t) {
|
|
|
402
402
|
t[41]?.background + ")");
|
|
403
403
|
},
|
|
404
404
|
d(u) {
|
|
405
|
-
u &&
|
|
405
|
+
u && j(e), a && a.d(), re(g, u), b = !1, S();
|
|
406
406
|
}
|
|
407
407
|
};
|
|
408
408
|
}
|
|
@@ -411,7 +411,7 @@ function Ie(t) {
|
|
|
411
411
|
function i(r, d) {
|
|
412
412
|
return (
|
|
413
413
|
/*isLoading*/
|
|
414
|
-
r[6] ? Ne :
|
|
414
|
+
r[6] ? Ne : Ae
|
|
415
415
|
);
|
|
416
416
|
}
|
|
417
417
|
let n = i(t), l = n(t);
|
|
@@ -420,22 +420,22 @@ function Ie(t) {
|
|
|
420
420
|
e = _("div"), l.c();
|
|
421
421
|
},
|
|
422
422
|
m(r, d) {
|
|
423
|
-
|
|
423
|
+
T(r, e, d), l.m(e, null), t[26](e);
|
|
424
424
|
},
|
|
425
425
|
p(r, d) {
|
|
426
426
|
n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
|
|
427
427
|
},
|
|
428
|
-
i:
|
|
429
|
-
o:
|
|
428
|
+
i: O,
|
|
429
|
+
o: O,
|
|
430
430
|
d(r) {
|
|
431
|
-
r &&
|
|
431
|
+
r && j(e), l.d(), t[26](null);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function Ue(t, e, i) {
|
|
436
436
|
let n;
|
|
437
|
-
|
|
438
|
-
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: b = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, h = 0, f = 0, k = 0,
|
|
437
|
+
Ge(t, Be, (o) => i(10, n = o));
|
|
438
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: b = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, h = 0, f = 0, k = 0, q, A, V = 0, N = 50, E = !1, G, ae = window.navigator.userAgent, W;
|
|
439
439
|
const se = () => {
|
|
440
440
|
fetch(m).then((w) => w.json()).then((w) => {
|
|
441
441
|
Object.keys(w).forEach((P) => {
|
|
@@ -465,18 +465,18 @@ function qe(t, e, i) {
|
|
|
465
465
|
}, ce = () => {
|
|
466
466
|
const o = G.getRootNode().host;
|
|
467
467
|
o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
|
|
468
|
-
},
|
|
469
|
-
|
|
468
|
+
}, K = (o) => {
|
|
469
|
+
A = [...u.children], A.forEach((w, P) => {
|
|
470
470
|
w.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
|
|
471
|
-
}),
|
|
471
|
+
}), q = A[0]?.getBoundingClientRect().width, de();
|
|
472
472
|
}, de = () => {
|
|
473
|
-
i(8, k = Math.floor(u.clientWidth /
|
|
474
|
-
},
|
|
475
|
-
|
|
473
|
+
i(8, k = Math.floor(u.clientWidth / q));
|
|
474
|
+
}, J = () => {
|
|
475
|
+
K(h);
|
|
476
476
|
}, ge = () => {
|
|
477
|
-
h === 0 ? h = f - k : h - k < -1 ? h = 0 : h--,
|
|
477
|
+
h === 0 ? h = f - k : h - k < -1 ? h = 0 : h--, J();
|
|
478
478
|
}, ue = () => {
|
|
479
|
-
h === f - k ? h = 0 : f - k < h + 1 ? h = f - k : h++,
|
|
479
|
+
h === f - k ? h = 0 : f - k < h + 1 ? h = f - k : h++, J();
|
|
480
480
|
}, Z = (o, w, P, L) => {
|
|
481
481
|
window.postMessage(
|
|
482
482
|
{
|
|
@@ -500,9 +500,9 @@ function qe(t, e, i) {
|
|
|
500
500
|
window.location.href
|
|
501
501
|
);
|
|
502
502
|
}, me = () => {
|
|
503
|
-
|
|
503
|
+
He(d);
|
|
504
504
|
};
|
|
505
|
-
|
|
505
|
+
Pe(() => (i(9, W = Le(ae)), () => {
|
|
506
506
|
}));
|
|
507
507
|
const fe = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), pe = (o) => X(o.id);
|
|
508
508
|
function he(o) {
|
|
@@ -520,10 +520,10 @@ function qe(t, e, i) {
|
|
|
520
520
|
}, t.$$.update = () => {
|
|
521
521
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
522
522
|
229376 && l && r && d && D(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
523
|
-
24 && g && u &&
|
|
523
|
+
24 && g && u && K(), t.$$.dirty[0] & /*lang*/
|
|
524
524
|
131072 && d && me(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
525
|
-
262176 && S && G &&
|
|
526
|
-
524320 && s && G &&
|
|
525
|
+
262176 && S && G && je(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
526
|
+
524320 && s && G && Te(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
527
527
|
2097184 && G && Fe(G, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
528
528
|
1048576 && m && se(), t.$$.dirty[0] & /*paginationrequired*/
|
|
529
529
|
4194304 && E && D();
|
|
@@ -557,14 +557,14 @@ function qe(t, e, i) {
|
|
|
557
557
|
ve
|
|
558
558
|
];
|
|
559
559
|
}
|
|
560
|
-
class
|
|
560
|
+
class qe extends ye {
|
|
561
561
|
constructor(e) {
|
|
562
562
|
super(), we(
|
|
563
563
|
this,
|
|
564
564
|
e,
|
|
565
|
-
|
|
565
|
+
Ue,
|
|
566
566
|
Ie,
|
|
567
|
-
|
|
567
|
+
Se,
|
|
568
568
|
{
|
|
569
569
|
endpoint: 15,
|
|
570
570
|
datasource: 16,
|
|
@@ -577,7 +577,7 @@ class Ue extends ye {
|
|
|
577
577
|
collectionprovidersgamenames: 2,
|
|
578
578
|
mbsource: 21
|
|
579
579
|
},
|
|
580
|
-
|
|
580
|
+
ze,
|
|
581
581
|
[-1, -1]
|
|
582
582
|
);
|
|
583
583
|
}
|
|
@@ -642,7 +642,7 @@ class Ue extends ye {
|
|
|
642
642
|
this.$$set({ mbsource: e }), M();
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
|
-
|
|
645
|
+
Oe(qe, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
646
646
|
export {
|
|
647
|
-
|
|
647
|
+
qe as default
|
|
648
648
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B4GcXKnc.cjs");require("../stencil/ui-image-C3XzpHRB.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-ci1i8",'*,*::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: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: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: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, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,_,w,d=i[7]>i[8]&&V(i),p=e.ensure_array_like(i[3]),s=[];for(let c=0;c<p.length;c+=1)s[c]=K(I(i,p,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),_=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(_,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,_);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(_,null);i[25](_)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){p=e.ensure_array_like(c[3]);let h;for(h=0;h<p.length;h+=1){const m=I(c,p,h);s[h]?s[h].p(m,u):(s[h]=K(m),s[h].c(),s[h].m(_,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=p.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,_){e.insert(b,t,_),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("ui-image"),e.set_custom_element_data(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.set_custom_element_data(t,"src",l),e.set_custom_element_data(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.set_custom_element_data(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.set_custom_element_data(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,_;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("ui-image"),a=e.space(),d&&d.c(),g=e.space(),e.set_custom_element_data(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(p,s){e.insert(p,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(_=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(p,s){i=p,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.set_custom_element_data(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.set_custom_element_data(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(p){p&&e.detach(t),d&&d.d(),b=!1,_()}}}function K(i){let t,l,r,o,a,g,b,_,w;function d(m,f){if(m[1]==="logo")return ue;if(m[1]==="title")return ge}let p=d(i),s=p&&p(i),c=e.ensure_array_like(i[41].games),u=[];for(let m=0;m<c.length;m+=1)u[m]=D(U(i,c,m));function h(){return i[24](i[41])}return{c(){var m,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let v=0;v<u.length;v+=1)u[v].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((m=i[41])==null?void 0:m.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(m,f){e.insert(m,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let v=0;v<u.length;v+=1)u[v]&&u[v].m(a,null);e.append(t,b),_||(w=e.listen(l,"click",h),_=!0)},p(m,f){var v,k;if(i=m,p===(p=d(i))&&s?s.p(i,f):(s&&s.d(1),s=p&&p(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=D(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((v=i[41])==null?void 0:v.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(m){m&&e.detach(t),s&&s.d(),e.destroy_each(u,m),_=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function pe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:_=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:p=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,m,f=0,v=0,k=0,C,L,j=0,M=50,x=!1,G,J=window.navigator.userAgent,T;const X=()=>{fetch(p).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{E(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var q,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(q=S.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,v=u.length),Y()})},Y=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{var y;L=[...m.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,Q()},Q=()=>{l(8,k=Math.floor(m.clientWidth/C))},H=()=>{O(f)},$=()=>{f===0?f=v-k:f-k<-1?f=0:f--,H()},ee=()=>{f===v-k?f=0:v-k<f+1?f=v-k:f++,H()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>B(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,l(4,m)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,_=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,p=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&m&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&p&&X(),i.$$.dirty[0]&4194304&&x&&F()},[b,_,s,u,m,G,h,v,k,T,r,$,ee,z,B,o,a,g,w,d,p,c,x,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,pe,me,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-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 type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
|