@everymatrix/casino-lobby-nd 1.91.0 → 1.91.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-BwneImQ1.js → CasinoCalendar-BPcMFgNd.js} +3 -3
- package/components/{CasinoCalendar-CPc_nGFU.cjs → CasinoCalendar-CZ6SqVud.cjs} +1 -1
- package/components/{CasinoCalendar-pFR1UiyW.js → CasinoCalendar-CqO4AIsB.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-Dl2lCHc6.js → CasinoCalendarDailyDetails-42lNyJrs.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-UkrKgqvW.js → CasinoCalendarDailyDetails-D8kLpNMV.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-DohJWzpS.cjs → CasinoCalendarDailyDetails-DhfYVv2D.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-ByGqz6lG.js → CasinoCalendarDailyItem-CB1JuK9H.js} +1 -1
- package/components/{CasinoCalendarDailyItem-csUg0xk3.cjs → CasinoCalendarDailyItem-DfgXeMcF.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DkAOp2kO.js → CasinoCalendarDailyItem-uenjc0DK.js} +1 -1
- package/components/CasinoCategoriesSliderNd-BjKlZ7yV.js +667 -0
- package/components/CasinoCategoriesSliderNd-Dsph6Hxw.cjs +1 -0
- package/components/{CasinoCategoriesSliderNd-L-fJRvBT.js → CasinoCategoriesSliderNd-v73jZ75J.js} +175 -150
- package/components/{CasinoCollectionsProviders-olNTznO8.js → CasinoCollectionsProviders-BkucxKca.js} +1 -1
- package/components/{CasinoCollectionsProviders-CEdwngKT.cjs → CasinoCollectionsProviders-dk7p2ttr.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-DFr7fT4X.js → CasinoCollectionsProviders-j40pwO7K.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-DKwDsLRo.cjs → CasinoFavoritesSectionNd-BEbCn4QR.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-D0BE5ylC.js → CasinoFavoritesSectionNd-CbtIdUHT.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-CPLGK1h8.js → CasinoFavoritesSectionNd-loMpT_s2.js} +2 -2
- package/components/{CasinoFilter-SxxgItLU.js → CasinoFilter-BSYfKnfu.js} +1 -1
- package/components/{CasinoFilter-6tLD_n0v.cjs → CasinoFilter-BwW9UM-g.cjs} +1 -1
- package/components/{CasinoFilter-Br5RRO7T.js → CasinoFilter-CClun-th.js} +1 -1
- package/components/{CasinoGameThumbnailNd-CWwE6yTn.cjs → CasinoGameThumbnailNd-5fAr7awv.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-DVXyq_bj.js → CasinoGameThumbnailNd-CaW65T18.js} +3 -3
- package/components/{CasinoGameThumbnailNd-D4ztOQVz.js → CasinoGameThumbnailNd-Vwi3_peb.js} +3 -3
- package/components/{CasinoGamesCategorySectionNd-CQSUwBfm.js → CasinoGamesCategorySectionNd-BHd3EAum.js} +5 -5
- package/components/{CasinoGamesCategorySectionNd-BYwf0ZzC.js → CasinoGamesCategorySectionNd-CQ_uM3H6.js} +5 -5
- package/components/{CasinoGamesCategorySectionNd-CznZuil1.cjs → CasinoGamesCategorySectionNd-DzrIbaWO.cjs} +1 -1
- package/components/{CasinoJackpotBanner-BREbIw3K.cjs → CasinoJackpotBanner-BpASYMlO.cjs} +1 -1
- package/components/{CasinoJackpotBanner-aYEy4Kyl.js → CasinoJackpotBanner-CZX0DIgG.js} +1 -1
- package/components/{CasinoJackpotBanner-mAt4lKU-.js → CasinoJackpotBanner-rA9YRxri.js} +1 -1
- package/components/{CasinoLastPlayedSectionNd-BRD4bqwg.js → CasinoLastPlayedSectionNd-7Y4PA8oA.js} +3 -3
- package/components/{CasinoLastPlayedSectionNd-Dh-uKa19.cjs → CasinoLastPlayedSectionNd-B4QZN568.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-ClujrUqA.js → CasinoLastPlayedSectionNd-CTYNtNPX.js} +3 -3
- package/components/{CasinoLobbyNd-DxldwI_g.js → CasinoLobbyNd-8wmWQuuM.js} +2 -2
- package/components/{CasinoLobbyNd-C_9G9_g5.cjs → CasinoLobbyNd-ByfltJlD.cjs} +1 -1
- package/components/{CasinoLobbyNd-bbR93r1z.js → CasinoLobbyNd-XZW290tF.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-CEoHKdml.js → CasinoMostPlayedSectionNd-B-1vTpOO.js} +3 -3
- package/components/{CasinoMostPlayedSectionNd-CxyY4Lf6.js → CasinoMostPlayedSectionNd-D0Q9cdUl.js} +3 -3
- package/components/{CasinoMostPlayedSectionNd-CCZDqJ-V.cjs → CasinoMostPlayedSectionNd-qX46o9qu.cjs} +1 -1
- package/components/{CasinoMyGamesNd-BJ95nvHG.cjs → CasinoMyGamesNd-BnQztCVN.cjs} +1 -1
- package/components/{CasinoMyGamesNd-Ccb7r6z9.js → CasinoMyGamesNd-CzvJgQD9.js} +5 -5
- package/components/{CasinoMyGamesNd-B2oh92d3.js → CasinoMyGamesNd-DtOi0CM8.js} +5 -5
- package/components/{CasinoPageNd-Bhy-0sYf.js → CasinoPageNd-DcffI7-B.js} +381 -378
- package/components/{CasinoPageNd-DC68SkdX.js → CasinoPageNd-_q4-sNdL.js} +366 -363
- package/components/{CasinoPageNd-B_P13DSW.cjs → CasinoPageNd-ihFBeiP3.cjs} +1 -1
- package/components/{CasinoRandomGame-CH-eukMA.js → CasinoRandomGame-B_CduD9L.js} +1 -1
- package/components/{CasinoRandomGame-VtthH6fZ.cjs → CasinoRandomGame-CizKh9L_.cjs} +1 -1
- package/components/{CasinoRandomGame-xS7vlZYb.js → CasinoRandomGame-xOlt8fJf.js} +1 -1
- package/components/{CasinoSearchNd-DfBSL_NV.cjs → CasinoSearchNd-CJfURNmQ.cjs} +1 -1
- package/components/{CasinoSearchNd-av9rdeoE.js → CasinoSearchNd-CmGHZRNS.js} +4 -4
- package/components/{CasinoSearchNd-CY-xf4b7.js → CasinoSearchNd-NUQEWJ3V.js} +4 -4
- package/components/CasinoSliderNd-DCRB6r1D.cjs +1 -0
- package/components/CasinoSliderNd-Y8zK0g8N.js +1251 -0
- package/components/CasinoSliderNd-ittiGYeQ.js +1285 -0
- package/components/{CasinoSort-B0_2kCnL.cjs → CasinoSort-DHfTc4o2.cjs} +1 -1
- package/components/{CasinoSort-CLnj8P9G.js → CasinoSort-DSS6l9wT.js} +1 -1
- package/components/{CasinoSort-C1X1akxl.js → CasinoSort-VrXH8BFj.js} +1 -1
- package/components/{CasinoWinners-C1u2KsQJ.js → CasinoWinners-BnE4z2W-.js} +3 -3
- package/components/{CasinoWinners-DJQLnW-d.js → CasinoWinners-D9j1Xnpc.js} +3 -3
- package/components/{CasinoWinners-DsC_LMLf.cjs → CasinoWinners-qLK9YUoI.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BBEJjc5H.js → GeneralAnimationLoading-CA-H6SgS.js} +1 -1
- package/components/{GeneralAnimationLoading-Ct_wY7ZB.cjs → GeneralAnimationLoading-DKQF2gOQ.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CQp4jtm8.js → GeneralAnimationLoading-lvt_3Hec.js} +1 -1
- package/es2015/casino-lobby-nd.cjs +1 -1
- package/es2015/casino-lobby-nd.js +1 -1
- package/esnext/casino-lobby-nd.js +1 -1
- package/lazy/{casino-calendar-CYFgtit5.js → casino-calendar-Cd5zyNax.js} +1 -1
- package/lazy/{casino-calendar-Bd0aUcnv.cjs → casino-calendar-Om4TEXwY.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-ChbVeHo8.cjs → casino-calendar-daily-details-BmbriwCq.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-MGEm6LI6.js → casino-calendar-daily-details-BmoaC8uF.js} +1 -1
- package/lazy/{casino-calendar-daily-details-BOY0JVdX.js → casino-calendar-daily-details-CMS4cbCl.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CisuEzga.cjs → casino-calendar-daily-item-8ldGaO65.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-S0mPBhPv.js → casino-calendar-daily-item-BDoY6vMQ.js} +1 -1
- package/lazy/{casino-calendar-daily-item-DHG1BwW2.js → casino-calendar-daily-item-BaopCnFD.js} +1 -1
- package/lazy/{casino-calendar-Cwn_6u7d.js → casino-calendar-lvx4QAud.js} +1 -1
- package/lazy/{casino-categories-slider-nd-Bve57ebZ.js → casino-categories-slider-nd-CGgejOwS.js} +1 -1
- package/lazy/{casino-categories-slider-nd-D2OP9T4q.js → casino-categories-slider-nd-DzdUH17J.js} +1 -1
- package/lazy/{casino-categories-slider-nd-C1NxkCyw.cjs → casino-categories-slider-nd-UkxUJxsa.cjs} +1 -1
- package/lazy/{casino-collections-providers-Dm3pbO8O.js → casino-collections-providers-CgqFcebj.js} +1 -1
- package/lazy/{casino-collections-providers-B69TwWUd.js → casino-collections-providers-PSYMINnA.js} +1 -1
- package/lazy/{casino-collections-providers-C7wJns3B.cjs → casino-collections-providers-SFPT-wjH.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-DFdZuP0B.js → casino-favorites-section-nd-B1zsSvdo.js} +1 -1
- package/lazy/{casino-favorites-section-nd-FnYsmsja.js → casino-favorites-section-nd-BTMU_7cg.js} +1 -1
- package/lazy/{casino-favorites-section-nd-BMTqWiP6.cjs → casino-favorites-section-nd-CMqPG8sI.cjs} +1 -1
- package/lazy/{casino-filter-fvQuljTB.cjs → casino-filter-BaeANekd.cjs} +1 -1
- package/lazy/{casino-filter-CxKYjz8d.js → casino-filter-BewvnsvO.js} +1 -1
- package/lazy/{casino-filter-CAcBvtFH.js → casino-filter-D9IyVCPI.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-DZjv9Ur1.js → casino-game-thumbnail-nd-Biqcos9Z.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-Bk97vWXT.cjs → casino-game-thumbnail-nd-CaI17XbG.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-DGUYSZL5.js → casino-game-thumbnail-nd-CfejtZN7.js} +1 -1
- package/lazy/{casino-games-category-section-nd-CtSKk9pk.cjs → casino-games-category-section-nd-Bfp3mOj_.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-f9EkLQe8.js → casino-games-category-section-nd-CHBK_XW1.js} +1 -1
- package/lazy/{casino-games-category-section-nd-AoBtBdFG.js → casino-games-category-section-nd-Debx7Z32.js} +1 -1
- package/lazy/{casino-jackpot-banner-DmTqMIqr.js → casino-jackpot-banner-2JuJ9x3T.js} +1 -1
- package/lazy/{casino-jackpot-banner-BaZzUj4y.js → casino-jackpot-banner-Cc8O_qbp.js} +1 -1
- package/lazy/{casino-jackpot-banner-C46y-l3p.cjs → casino-jackpot-banner-DGTsgO7k.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-PyOsinBF.cjs → casino-last-played-section-nd-D6DQTEAn.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-CNXE869m.js → casino-last-played-section-nd-DRfmKdzq.js} +1 -1
- package/lazy/{casino-last-played-section-nd-D0CwP5on.js → casino-last-played-section-nd-vrzSlc45.js} +1 -1
- package/lazy/{casino-most-played-section-nd-qAn5qtFJ.js → casino-most-played-section-nd-BkPE8FVS.js} +1 -1
- package/lazy/{casino-most-played-section-nd-m8oWcvAX.js → casino-most-played-section-nd-C4gjKxri.js} +1 -1
- package/lazy/{casino-most-played-section-nd-DAe_Aop7.cjs → casino-most-played-section-nd-D_NnW1VJ.cjs} +1 -1
- package/lazy/{casino-my-games-nd-Rud_7CaP.cjs → casino-my-games-nd-8M8JnazH.cjs} +1 -1
- package/lazy/{casino-my-games-nd-DtG96vEH.js → casino-my-games-nd-BWOGwd4Y.js} +1 -1
- package/lazy/{casino-my-games-nd-JlXF7Yqj.js → casino-my-games-nd-CoSnUh5P.js} +1 -1
- package/lazy/{casino-page-nd-BLD1yykk.js → casino-page-nd-C6lgTU4j.js} +1 -1
- package/lazy/{casino-page-nd-D_3V2g9k.cjs → casino-page-nd-CzQMoUsW.cjs} +1 -1
- package/lazy/{casino-page-nd-B0UeOHdZ.js → casino-page-nd-DgOGPr7B.js} +1 -1
- package/lazy/{casino-random-game-D0t_lWsf.cjs → casino-random-game-C4cBxYFF.cjs} +1 -1
- package/lazy/{casino-random-game-Di_1JYAA.js → casino-random-game-CTc1dtR9.js} +1 -1
- package/lazy/{casino-random-game-DEUBCvfL.js → casino-random-game-CilaaT6o.js} +1 -1
- package/lazy/{casino-search-nd-aINujef6.cjs → casino-search-nd-BxRPu318.cjs} +1 -1
- package/lazy/{casino-search-nd-4ETz-9KT.js → casino-search-nd-CeWW8s23.js} +1 -1
- package/lazy/{casino-search-nd-CZeOfvJM.js → casino-search-nd-IJkshl1_.js} +1 -1
- package/lazy/{casino-slider-nd-DR9YVN6H.cjs → casino-slider-nd--A3HsaGh.cjs} +1 -1
- package/lazy/{casino-slider-nd-CG2E0B6P.js → casino-slider-nd-4WmDb_Lv.js} +1 -1
- package/lazy/{casino-slider-nd-B2XkQQZX.js → casino-slider-nd-D-2v2VvS.js} +1 -1
- package/lazy/{casino-sort-zvE8Kmt7.cjs → casino-sort-Dls_qYMV.cjs} +1 -1
- package/lazy/{casino-sort-BbRWquG9.js → casino-sort-dwbN73ru.js} +1 -1
- package/lazy/{casino-sort-DL9cNYB9.js → casino-sort-lHt0tT7R.js} +1 -1
- package/lazy/{casino-winners-DaW2OCUA.cjs → casino-winners-BbwiVhmT.cjs} +1 -1
- package/lazy/{casino-winners-8jD44L9m.js → casino-winners-DET-WDs0.js} +1 -1
- package/lazy/{casino-winners-CRNp9Lln.js → casino-winners-Di2HfkLT.js} +1 -1
- package/lazy/{general-animation-loading-JrvTTH8W.js → general-animation-loading-BZ3KRZMG.js} +1 -1
- package/lazy/{general-animation-loading-VpVgJjyZ.cjs → general-animation-loading-Bcy_MaDJ.cjs} +1 -1
- package/lazy/{general-animation-loading-XRTnl_1h.js → general-animation-loading-CIF0GqX1.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSliderNd-CZnT_tZ8.cjs +0 -1
- package/components/CasinoCategoriesSliderNd-saQRkCiz.js +0 -613
- package/components/CasinoSliderNd-C4HgSY3d.js +0 -1101
- package/components/CasinoSliderNd-Cl9HlK-D.js +0 -1082
- package/components/CasinoSliderNd-OVONYmzK.cjs +0 -1
package/components/{CasinoCategoriesSliderNd-L-fJRvBT.js → CasinoCategoriesSliderNd-v73jZ75J.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../lazy/casino-slider-nd-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as Ne, S as Ge, i as _e, f as r, s as Le, c as we, b as ve, n as j, d as F, e as P, g as w, h as z, j as Me, o as Se, k as Ce, l as ke, m as o, p as Te, $ as Ae, q as qe, r as je, t as Fe, u as Pe } from "./CasinoLobbyNd-XZW290tF.js";
|
|
2
|
+
import "../lazy/casino-slider-nd-4WmDb_Lv.js";
|
|
3
|
+
function ze(i, e) {
|
|
4
|
+
Ne(i, e);
|
|
5
5
|
}
|
|
6
|
-
const
|
|
6
|
+
const Ee = {
|
|
7
7
|
en: {
|
|
8
8
|
lobbyName: "Lobby",
|
|
9
9
|
myGamesName: "My games"
|
|
@@ -77,17 +77,17 @@ const qe = {
|
|
|
77
77
|
myGamesName: "My games"
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
-
function
|
|
80
|
+
function Oe(i, e, t) {
|
|
81
81
|
return window.emMessageBus && (e = window.emMessageBus.subscribe(i, t)), e;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
|
|
83
|
+
function Be(i) {
|
|
84
|
+
ve(i, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function De(i) {
|
|
87
87
|
let e, t;
|
|
88
88
|
return {
|
|
89
89
|
c() {
|
|
90
|
-
e =
|
|
90
|
+
e = w("div"), t = w("casino-slider-nd"), o(
|
|
91
91
|
t,
|
|
92
92
|
"lang",
|
|
93
93
|
/*lang*/
|
|
@@ -102,7 +102,7 @@ function Pe(i) {
|
|
|
102
102
|
"endpoint",
|
|
103
103
|
/*endpoint*/
|
|
104
104
|
i[1]
|
|
105
|
-
), o(t, "identity",
|
|
105
|
+
), o(t, "identity", I), o(
|
|
106
106
|
t,
|
|
107
107
|
"favoritesnumber",
|
|
108
108
|
/*numberOfFavoredGames*/
|
|
@@ -122,6 +122,11 @@ function Pe(i) {
|
|
|
122
122
|
"clientstylingurl",
|
|
123
123
|
/*clientstylingurl*/
|
|
124
124
|
i[6]
|
|
125
|
+
), o(
|
|
126
|
+
t,
|
|
127
|
+
"initialactivecategory",
|
|
128
|
+
/*initialactivecategory*/
|
|
129
|
+
i[17]
|
|
125
130
|
), o(
|
|
126
131
|
t,
|
|
127
132
|
"activeindex",
|
|
@@ -157,10 +162,10 @@ function Pe(i) {
|
|
|
157
162
|
"mbsource",
|
|
158
163
|
/*mbsource*/
|
|
159
164
|
i[4]
|
|
160
|
-
), o(t, "class", "svelte-ciaihq"),
|
|
165
|
+
), o(t, "class", "svelte-ciaihq"), z(e, "class", "CasinoCategoriesContainer svelte-ciaihq");
|
|
161
166
|
},
|
|
162
167
|
m(n, a) {
|
|
163
|
-
|
|
168
|
+
P(n, e, a), Te(e, t);
|
|
164
169
|
},
|
|
165
170
|
p(n, a) {
|
|
166
171
|
a[0] & /*lang*/
|
|
@@ -250,222 +255,242 @@ function Pe(i) {
|
|
|
250
255
|
);
|
|
251
256
|
},
|
|
252
257
|
d(n) {
|
|
253
|
-
n &&
|
|
258
|
+
n && F(e);
|
|
254
259
|
}
|
|
255
260
|
};
|
|
256
261
|
}
|
|
257
|
-
function
|
|
262
|
+
function Re(i) {
|
|
258
263
|
let e;
|
|
259
264
|
return {
|
|
260
265
|
c() {
|
|
261
|
-
e =
|
|
266
|
+
e = w("p"), e.textContent = "500 Error - Internal Server Error.", z(e, "class", "SearchLoading svelte-ciaihq");
|
|
262
267
|
},
|
|
263
268
|
m(t, n) {
|
|
264
|
-
|
|
269
|
+
P(t, e, n);
|
|
265
270
|
},
|
|
266
|
-
p:
|
|
271
|
+
p: j,
|
|
267
272
|
d(t) {
|
|
268
|
-
t &&
|
|
273
|
+
t && F(e);
|
|
269
274
|
}
|
|
270
275
|
};
|
|
271
276
|
}
|
|
272
|
-
function
|
|
277
|
+
function Ue(i) {
|
|
273
278
|
let e;
|
|
274
279
|
return {
|
|
275
280
|
c() {
|
|
276
|
-
e =
|
|
281
|
+
e = w("div"), z(e, "class", "CasinoCategoriesLoading svelte-ciaihq");
|
|
277
282
|
},
|
|
278
283
|
m(t, n) {
|
|
279
|
-
|
|
284
|
+
P(t, e, n);
|
|
280
285
|
},
|
|
281
|
-
p:
|
|
286
|
+
p: j,
|
|
282
287
|
d(t) {
|
|
283
|
-
t &&
|
|
288
|
+
t && F(e);
|
|
284
289
|
}
|
|
285
290
|
};
|
|
286
291
|
}
|
|
287
|
-
function
|
|
292
|
+
function Ie(i) {
|
|
288
293
|
let e;
|
|
289
|
-
function t(
|
|
294
|
+
function t(m, u) {
|
|
290
295
|
return (
|
|
291
296
|
/*isLoading*/
|
|
292
|
-
|
|
297
|
+
m[13] || He || Ye ? Ue : (
|
|
293
298
|
/*hasErrors*/
|
|
294
|
-
|
|
299
|
+
m[15] ? Re : De
|
|
295
300
|
)
|
|
296
301
|
);
|
|
297
302
|
}
|
|
298
303
|
let n = t(i), a = n(i);
|
|
299
304
|
return {
|
|
300
305
|
c() {
|
|
301
|
-
e =
|
|
306
|
+
e = w("div"), a.c(), z(e, "class", "svelte-ciaihq");
|
|
302
307
|
},
|
|
303
|
-
m(
|
|
304
|
-
|
|
308
|
+
m(m, u) {
|
|
309
|
+
P(m, e, u), a.m(e, null), i[28](e);
|
|
305
310
|
},
|
|
306
|
-
p(
|
|
307
|
-
n === (n = t(
|
|
311
|
+
p(m, u) {
|
|
312
|
+
n === (n = t(m)) && a ? a.p(m, u) : (a.d(1), a = n(m), a && (a.c(), a.m(e, null)));
|
|
308
313
|
},
|
|
309
|
-
i:
|
|
310
|
-
o:
|
|
311
|
-
d(
|
|
312
|
-
|
|
314
|
+
i: j,
|
|
315
|
+
o: j,
|
|
316
|
+
d(m) {
|
|
317
|
+
m && F(e), a.d(), i[28](null);
|
|
313
318
|
}
|
|
314
319
|
};
|
|
315
320
|
}
|
|
316
|
-
let
|
|
317
|
-
function
|
|
321
|
+
let I = "CasinoSliderData", He = !1, Ye = !1;
|
|
322
|
+
function xe(i, e, t) {
|
|
318
323
|
let n;
|
|
319
|
-
|
|
320
|
-
let { endpoint: a = "" } = e, { datasource:
|
|
321
|
-
const
|
|
322
|
-
Object.keys(s).forEach((
|
|
323
|
-
|
|
324
|
+
Me(i, Ae, (s) => t(34, n = s));
|
|
325
|
+
let { endpoint: a = "" } = e, { datasource: m = "" } = e, { lang: u = "" } = e, { userid: H = "" } = e, { session: v = "" } = e, { mostplayed: M = "" } = e, { lastplayed: S = "false" } = e, { favorites: C = "" } = e, { mbsource: d } = e, { clientstyling: k = "" } = e, { clientstylingurl: T = "" } = e, { activecategory: b = "" } = e, { actionevent: Y = "" } = e, { sessioncheck: x = "" } = e, { location: W = "secondaryMenu" } = e, { showsubgroups: E = "false" } = e, { filteredcategories: A = "" } = e, { translationurl: _ = "" } = e, { categoriesicon: J = "" } = e, { lobbyiconimage: K = "" } = e, { mygamesiconimage: Q = "" } = e, { customizecategoryicon: O = "false" } = e, V, X, f = !0, N, G = [], h = !1, te = window.navigator.userAgent, y, se, ie, Z, p = !1, B = !1, ae = b;
|
|
326
|
+
const D = (s) => {
|
|
327
|
+
Object.keys(s).forEach((l) => {
|
|
328
|
+
ze(l, s[l]);
|
|
324
329
|
});
|
|
325
|
-
},
|
|
326
|
-
fetch(
|
|
327
|
-
|
|
328
|
-
}).catch((
|
|
329
|
-
console.log(
|
|
330
|
+
}, ne = () => {
|
|
331
|
+
fetch(_).then((l) => l.json()).then((l) => {
|
|
332
|
+
D(l);
|
|
333
|
+
}).catch((l) => {
|
|
334
|
+
console.log(l);
|
|
330
335
|
});
|
|
331
336
|
};
|
|
332
|
-
|
|
333
|
-
const
|
|
334
|
-
|
|
337
|
+
D(Ee);
|
|
338
|
+
const oe = () => {
|
|
339
|
+
p == !1 && (C == "true" || M == "true" || S == "true") && G.splice(1, 0, {
|
|
335
340
|
// @ts-ignore
|
|
336
341
|
id: "MYGAMES",
|
|
337
|
-
name:
|
|
342
|
+
name: V,
|
|
338
343
|
href: "",
|
|
339
344
|
games: []
|
|
340
|
-
}),
|
|
341
|
-
},
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
345
|
+
}), Pe(), p = !0, t(27, B = !0), R();
|
|
346
|
+
}, re = () => (a || (N = "Endpoint is missing! Please provide a valid endpointURL.", t(15, h = !0), t(13, f = !1), console.error(N)), m || (N = "Datasource is missing! Please provide a valid datasource.", t(15, h = !0), t(13, f = !1), console.error(N)), (!u || u.length < 2) && (N = "Language is missing! Please provide a valid language (alpha2code)", t(15, h = !0), t(13, f = !1), console.error(N)), h), le = (s) => (s?.gamesTotal ?? 0) > 0, ce = (s) => Array.isArray(s?.subGroups?.items) && s.subGroups.items.some((l) => (l?.gamesTotal ?? 0) > 0), me = (s) => le(s) || ce(s), ge = (s) => {
|
|
347
|
+
const l = s?.subGroups?.items ?? null;
|
|
348
|
+
if (!Array.isArray(l))
|
|
349
|
+
return s;
|
|
350
|
+
const g = l.filter((U) => (U?.gamesTotal ?? 0) > 0);
|
|
351
|
+
return g.length === l.length ? s : {
|
|
352
|
+
...s,
|
|
353
|
+
subGroups: {
|
|
354
|
+
...s.subGroups,
|
|
355
|
+
items: g,
|
|
356
|
+
count: g.length,
|
|
357
|
+
total: g.length
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
}, ue = () => {
|
|
361
|
+
if (V = n("myGamesName"), X = n("lobbyName"), !re()) {
|
|
362
|
+
let s = new URL(`${a}/v2/casino/groups/${m}`);
|
|
363
|
+
s.searchParams.append("language", u), s.searchParams.append("platform", Ce(te));
|
|
364
|
+
let l = "id,name,games(href),flags";
|
|
365
|
+
O === "true" && (l += ",icon"), s.searchParams.append("fields", l), fetch(s).then((g) => g.json()).then(
|
|
366
|
+
(g) => {
|
|
367
|
+
const U = new Set(A ? A.split(",").map((c) => c.trim()).filter(Boolean) : []), fe = (c) => c ? Array.isArray(c) ? c : [c] : [], he = (c) => !fe(c.flags).some((de) => U.has(de));
|
|
368
|
+
let L = g.items.filter(he).map((c) => ({
|
|
369
|
+
...c,
|
|
370
|
+
gamesTotal: c?.games?.total ?? c?.gamesTotal ?? 0,
|
|
371
|
+
subGroups: c?.subGroups ? {
|
|
372
|
+
...c.subGroups,
|
|
373
|
+
items: (c.subGroups.items ?? []).map((q) => ({
|
|
374
|
+
...q,
|
|
375
|
+
gamesTotal: q?.games?.total ?? q?.gamesTotal ?? 0
|
|
376
|
+
}))
|
|
377
|
+
} : void 0
|
|
378
|
+
}));
|
|
379
|
+
E === "true" ? L = L.map(ge).filter(me) : L = L.filter((c) => (c?.gamesTotal ?? 0) > 0), G = [], G = G.concat(L), G.unshift({
|
|
356
380
|
// @ts-ignore
|
|
357
381
|
id: "LOBBY",
|
|
358
|
-
name:
|
|
382
|
+
name: X,
|
|
359
383
|
href: "",
|
|
360
384
|
games: []
|
|
361
|
-
}), t(13,
|
|
385
|
+
}), R(), t(13, f = !1);
|
|
362
386
|
},
|
|
363
|
-
(
|
|
364
|
-
t(15,
|
|
387
|
+
(g) => {
|
|
388
|
+
t(15, h = !0), console.error("There was an error while fetching the categories", g);
|
|
365
389
|
}
|
|
366
|
-
).catch((
|
|
367
|
-
t(15,
|
|
390
|
+
).catch((g) => {
|
|
391
|
+
t(15, h = !0), console.error("There was an error while fetching the categories", g);
|
|
368
392
|
});
|
|
369
393
|
}
|
|
370
|
-
},
|
|
371
|
-
let s =
|
|
372
|
-
t(0,
|
|
373
|
-
},
|
|
394
|
+
}, ye = () => {
|
|
395
|
+
let s = b.split("$");
|
|
396
|
+
t(0, b = s.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
397
|
+
}, R = () => {
|
|
374
398
|
window.postMessage(
|
|
375
399
|
{
|
|
376
400
|
type: "SliderData",
|
|
377
|
-
identity:
|
|
378
|
-
data:
|
|
401
|
+
identity: I,
|
|
402
|
+
data: G
|
|
379
403
|
},
|
|
380
404
|
window.location.href
|
|
381
405
|
);
|
|
382
|
-
},
|
|
383
|
-
s.data && s.data.type == "SliderMounted" && s.data.identity ==
|
|
406
|
+
}, $ = (s) => {
|
|
407
|
+
s.data && s.data.type == "SliderMounted" && s.data.identity == I && R();
|
|
384
408
|
};
|
|
385
|
-
|
|
386
|
-
window.removeEventListener("message",
|
|
409
|
+
Se(() => (window.addEventListener("message", $), () => {
|
|
410
|
+
window.removeEventListener("message", $);
|
|
387
411
|
}));
|
|
388
|
-
function
|
|
389
|
-
|
|
390
|
-
|
|
412
|
+
function be(s) {
|
|
413
|
+
ke[s ? "unshift" : "push"](() => {
|
|
414
|
+
y = s, t(14, y);
|
|
391
415
|
});
|
|
392
416
|
}
|
|
393
417
|
return i.$$set = (s) => {
|
|
394
|
-
"endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2,
|
|
418
|
+
"endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2, m = s.datasource), "lang" in s && t(3, u = s.lang), "userid" in s && t(18, H = s.userid), "session" in s && t(19, v = s.session), "mostplayed" in s && t(20, M = s.mostplayed), "lastplayed" in s && t(21, S = s.lastplayed), "favorites" in s && t(22, C = s.favorites), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, k = s.clientstyling), "clientstylingurl" in s && t(6, T = s.clientstylingurl), "activecategory" in s && t(0, b = s.activecategory), "actionevent" in s && t(7, Y = s.actionevent), "sessioncheck" in s && t(23, x = s.sessioncheck), "location" in s && t(8, W = s.location), "showsubgroups" in s && t(9, E = s.showsubgroups), "filteredcategories" in s && t(24, A = s.filteredcategories), "translationurl" in s && t(25, _ = s.translationurl), "categoriesicon" in s && t(10, J = s.categoriesicon), "lobbyiconimage" in s && t(11, K = s.lobbyiconimage), "mygamesiconimage" in s && t(12, Q = s.mygamesiconimage), "customizecategoryicon" in s && t(26, O = s.customizecategoryicon);
|
|
395
419
|
}, i.$$.update = () => {
|
|
396
420
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
397
|
-
14 && a &&
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
16416 &&
|
|
402
|
-
16448 &&
|
|
403
|
-
16400 &&
|
|
404
|
-
|
|
405
|
-
}, t(16,
|
|
406
|
-
|
|
421
|
+
14 && a && m && u && ue(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
422
|
+
7872514 && a && v && (M || S || C) && !f && oe(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
423
|
+
134750209 && !f && b && (!v || B) && ye(), i.$$.dirty[0] & /*translationurl*/
|
|
424
|
+
33554432 && _ && ne(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
425
|
+
16416 && k && y && qe(y, k), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
426
|
+
16448 && T && y && je(y, T), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
427
|
+
16400 && d && y && Fe(y, `${d}.Style`, se), i.$$.dirty[0] & /*mbsource, translationurl*/
|
|
428
|
+
33554448 && d && !_ && Oe(`${d}.Translation`, ie, D);
|
|
429
|
+
}, t(16, Z = 0), [
|
|
430
|
+
b,
|
|
407
431
|
a,
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
D,
|
|
414
|
-
U,
|
|
415
|
-
I,
|
|
416
|
-
x,
|
|
432
|
+
m,
|
|
433
|
+
u,
|
|
434
|
+
d,
|
|
435
|
+
k,
|
|
436
|
+
T,
|
|
417
437
|
Y,
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
438
|
+
W,
|
|
439
|
+
E,
|
|
440
|
+
J,
|
|
441
|
+
K,
|
|
422
442
|
Q,
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
443
|
+
f,
|
|
444
|
+
y,
|
|
445
|
+
h,
|
|
446
|
+
Z,
|
|
447
|
+
ae,
|
|
448
|
+
H,
|
|
426
449
|
v,
|
|
450
|
+
M,
|
|
427
451
|
S,
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
452
|
+
C,
|
|
453
|
+
x,
|
|
454
|
+
A,
|
|
455
|
+
_,
|
|
456
|
+
O,
|
|
457
|
+
B,
|
|
458
|
+
be
|
|
434
459
|
];
|
|
435
460
|
}
|
|
436
|
-
class
|
|
461
|
+
class ee extends Ge {
|
|
437
462
|
constructor(e) {
|
|
438
|
-
super(),
|
|
463
|
+
super(), _e(
|
|
439
464
|
this,
|
|
440
465
|
e,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
466
|
+
xe,
|
|
467
|
+
Ie,
|
|
468
|
+
Le,
|
|
444
469
|
{
|
|
445
470
|
endpoint: 1,
|
|
446
471
|
datasource: 2,
|
|
447
472
|
lang: 3,
|
|
448
|
-
userid:
|
|
449
|
-
session:
|
|
450
|
-
mostplayed:
|
|
451
|
-
lastplayed:
|
|
452
|
-
favorites:
|
|
473
|
+
userid: 18,
|
|
474
|
+
session: 19,
|
|
475
|
+
mostplayed: 20,
|
|
476
|
+
lastplayed: 21,
|
|
477
|
+
favorites: 22,
|
|
453
478
|
mbsource: 4,
|
|
454
479
|
clientstyling: 5,
|
|
455
480
|
clientstylingurl: 6,
|
|
456
481
|
activecategory: 0,
|
|
457
482
|
actionevent: 7,
|
|
458
|
-
sessioncheck:
|
|
483
|
+
sessioncheck: 23,
|
|
459
484
|
location: 8,
|
|
460
485
|
showsubgroups: 9,
|
|
461
|
-
filteredcategories:
|
|
462
|
-
translationurl:
|
|
486
|
+
filteredcategories: 24,
|
|
487
|
+
translationurl: 25,
|
|
463
488
|
categoriesicon: 10,
|
|
464
489
|
lobbyiconimage: 11,
|
|
465
490
|
mygamesiconimage: 12,
|
|
466
|
-
customizecategoryicon:
|
|
491
|
+
customizecategoryicon: 26
|
|
467
492
|
},
|
|
468
|
-
|
|
493
|
+
Be,
|
|
469
494
|
[-1, -1]
|
|
470
495
|
);
|
|
471
496
|
}
|
|
@@ -488,31 +513,31 @@ class p extends ue {
|
|
|
488
513
|
this.$$set({ lang: e }), r();
|
|
489
514
|
}
|
|
490
515
|
get userid() {
|
|
491
|
-
return this.$$.ctx[
|
|
516
|
+
return this.$$.ctx[18];
|
|
492
517
|
}
|
|
493
518
|
set userid(e) {
|
|
494
519
|
this.$$set({ userid: e }), r();
|
|
495
520
|
}
|
|
496
521
|
get session() {
|
|
497
|
-
return this.$$.ctx[
|
|
522
|
+
return this.$$.ctx[19];
|
|
498
523
|
}
|
|
499
524
|
set session(e) {
|
|
500
525
|
this.$$set({ session: e }), r();
|
|
501
526
|
}
|
|
502
527
|
get mostplayed() {
|
|
503
|
-
return this.$$.ctx[
|
|
528
|
+
return this.$$.ctx[20];
|
|
504
529
|
}
|
|
505
530
|
set mostplayed(e) {
|
|
506
531
|
this.$$set({ mostplayed: e }), r();
|
|
507
532
|
}
|
|
508
533
|
get lastplayed() {
|
|
509
|
-
return this.$$.ctx[
|
|
534
|
+
return this.$$.ctx[21];
|
|
510
535
|
}
|
|
511
536
|
set lastplayed(e) {
|
|
512
537
|
this.$$set({ lastplayed: e }), r();
|
|
513
538
|
}
|
|
514
539
|
get favorites() {
|
|
515
|
-
return this.$$.ctx[
|
|
540
|
+
return this.$$.ctx[22];
|
|
516
541
|
}
|
|
517
542
|
set favorites(e) {
|
|
518
543
|
this.$$set({ favorites: e }), r();
|
|
@@ -548,7 +573,7 @@ class p extends ue {
|
|
|
548
573
|
this.$$set({ actionevent: e }), r();
|
|
549
574
|
}
|
|
550
575
|
get sessioncheck() {
|
|
551
|
-
return this.$$.ctx[
|
|
576
|
+
return this.$$.ctx[23];
|
|
552
577
|
}
|
|
553
578
|
set sessioncheck(e) {
|
|
554
579
|
this.$$set({ sessioncheck: e }), r();
|
|
@@ -566,13 +591,13 @@ class p extends ue {
|
|
|
566
591
|
this.$$set({ showsubgroups: e }), r();
|
|
567
592
|
}
|
|
568
593
|
get filteredcategories() {
|
|
569
|
-
return this.$$.ctx[
|
|
594
|
+
return this.$$.ctx[24];
|
|
570
595
|
}
|
|
571
596
|
set filteredcategories(e) {
|
|
572
597
|
this.$$set({ filteredcategories: e }), r();
|
|
573
598
|
}
|
|
574
599
|
get translationurl() {
|
|
575
|
-
return this.$$.ctx[
|
|
600
|
+
return this.$$.ctx[25];
|
|
576
601
|
}
|
|
577
602
|
set translationurl(e) {
|
|
578
603
|
this.$$set({ translationurl: e }), r();
|
|
@@ -596,18 +621,18 @@ class p extends ue {
|
|
|
596
621
|
this.$$set({ mygamesiconimage: e }), r();
|
|
597
622
|
}
|
|
598
623
|
get customizecategoryicon() {
|
|
599
|
-
return this.$$.ctx[
|
|
624
|
+
return this.$$.ctx[26];
|
|
600
625
|
}
|
|
601
626
|
set customizecategoryicon(e) {
|
|
602
627
|
this.$$set({ customizecategoryicon: e }), r();
|
|
603
628
|
}
|
|
604
629
|
}
|
|
605
|
-
|
|
606
|
-
const
|
|
630
|
+
we(ee, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
|
|
631
|
+
const Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
607
632
|
__proto__: null,
|
|
608
|
-
default:
|
|
633
|
+
default: ee
|
|
609
634
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
610
635
|
export {
|
|
611
|
-
|
|
612
|
-
|
|
636
|
+
Ke as C,
|
|
637
|
+
Oe as g
|
|
613
638
|
};
|
package/components/{CasinoCollectionsProviders-olNTznO8.js → CasinoCollectionsProviders-BkucxKca.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as we, v as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as O, d as j, c as F, e as y, h as Me, o as xe, A as je, k as $, g as m, J as z, W as se, C as R, m as v, D as U, E as T, L as Fe, I as E, M as I, Y as H, _ as Te, p as Be, q as Oe, r as ze, t as Ee, $ as He } from "./CasinoLobbyNd-
|
|
1
|
+
import { a as we, v as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as O, d as j, c as F, e as y, h as Me, o as xe, A as je, k as $, g as m, J as z, W as se, C as R, m as v, D as U, E as T, L as Fe, I as E, M as I, Y as H, _ as Te, p as Be, q as Oe, r as ze, t as Ee, $ as He } from "./CasinoLobbyNd-8wmWQuuM.js";
|
|
2
2
|
function ee(t, e) {
|
|
3
3
|
we(t, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-C_9G9_g5.cjs");function q(i,t){e.addMessages(i,t)}function se(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 de(i){e.append_styles(i,"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)}}')}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 ce(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,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(),_=e.space(),v=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(v,"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,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},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){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.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 ge(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(_,v){e.insert(_,t,v),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(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ue(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 pe(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(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.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(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 K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(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(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return pe;if(p[1]==="title")return ue}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,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 b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.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(p,f){e.insert(p,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 b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(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]=K(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 "+(((b=i[41])==null?void 0:b.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(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ge:ce}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 fe(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:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T,Y;const Q=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(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=${_})`),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 E,N,A;return{id:S.id,name:S.name,icon:S.icon?S.icon:(A=(N=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:N.subVendors[0])==null?void 0:A.logo,games:S.games.items.slice(0,4).map(ae=>ae),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),D()})},D=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,$()},$=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},ee=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},te=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},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}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},ie=()=>{se(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const le=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),ne=n=>H(n.id);function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function re(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,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=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&&p&&B(),i.$$.dirty[0]&131072&&g&&ie(),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`,Y),i.$$.dirty[0]&1048576&&m&&Q(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,ee,te,z,H,o,a,g,w,d,m,c,x,le,ne,oe,re]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,fe,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},de,[-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(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-ByfltJlD.cjs");function q(i,t){e.addMessages(i,t)}function se(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 de(i){e.append_styles(i,"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)}}')}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 ce(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,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(),_=e.space(),v=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(v,"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,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},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){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.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 ge(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(_,v){e.insert(_,t,v),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(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ue(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 pe(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(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.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(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 K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(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(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return pe;if(p[1]==="title")return ue}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,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 b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.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(p,f){e.insert(p,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 b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(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]=K(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 "+(((b=i[41])==null?void 0:b.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(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ge:ce}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 fe(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:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T,Y;const Q=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(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=${_})`),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 E,N,A;return{id:S.id,name:S.name,icon:S.icon?S.icon:(A=(N=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:N.subVendors[0])==null?void 0:A.logo,games:S.games.items.slice(0,4).map(ae=>ae),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),D()})},D=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,$()},$=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},ee=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},te=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},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}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},ie=()=>{se(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const le=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),ne=n=>H(n.id);function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function re(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,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=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&&p&&B(),i.$$.dirty[0]&131072&&g&&ie(),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`,Y),i.$$.dirty[0]&1048576&&m&&Q(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,ee,te,z,H,o,a,g,w,d,m,c,x,le,ne,oe,re]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,fe,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},de,[-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(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
|
package/components/{CasinoCollectionsProviders-DFr7fT4X.js → CasinoCollectionsProviders-j40pwO7K.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Ce, v as ye, S as _e, i as we, s as Se, f as M, b as ke, n as T, d as j, e as x, g as y, j as Ge, o as Pe, A as Le, l as Y, h as m, K as B, X as ne, D as R, p as b, E as I, F, M as Me, J as O, N, Z as z, a0 as je, q as xe, r as Fe, t as Te, c as Be, $ as Oe } from "./CasinoLobbyNd-
|
|
1
|
+
import { a as Ce, v as ye, S as _e, i as we, s as Se, f as M, b as ke, n as T, d as j, e as x, g as y, j as Ge, o as Pe, A as Le, l as Y, h as m, K as B, X as ne, D as R, p as b, E as I, F, M as Me, J as O, N, Z as z, a0 as je, q as xe, r as Fe, t as Te, c as Be, $ as Oe } from "./CasinoLobbyNd-XZW290tF.js";
|
|
2
2
|
function D(t, e) {
|
|
3
3
|
Ce(t, e);
|
|
4
4
|
}
|