@everymatrix/casino-page-nd 1.86.4 → 1.86.5
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-Bm4Lrrtm.js → CasinoCalendar-BELrT2lA.js} +839 -818
- package/components/{CasinoCalendar-ByWHfhRn.js → CasinoCalendar-BpwU4Nrb.js} +1008 -987
- package/components/CasinoCalendar-DrrajltR.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-n6jBlg2T.js → CasinoCalendarDailyDetails-B9Svmn08.js} +37 -37
- package/components/{CasinoCalendarDailyDetails-BVfLOa4A.js → CasinoCalendarDailyDetails-BzANjMYK.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-BrGRzv2U.cjs → CasinoCalendarDailyDetails-lmz3Ug1c.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-qOEc-G6f.js → CasinoCalendarDailyItem-Csh2ZNEb.js} +39 -39
- package/components/{CasinoCalendarDailyItem-iUB7PzIf.js → CasinoCalendarDailyItem-Ddwevbwg.js} +36 -36
- package/components/{CasinoCalendarDailyItem-WjewL2ob.cjs → CasinoCalendarDailyItem-DmRnSMf5.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-Dx4zCq2K.js → CasinoCollectionsProviders-B-rxzUHS.js} +65 -65
- package/components/{CasinoCollectionsProviders-DgcP1agN.js → CasinoCollectionsProviders-Bz4Qwgcy.js} +68 -68
- package/components/{CasinoCollectionsProviders-CE_OqghK.cjs → CasinoCollectionsProviders-C5rH3HrT.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-VVi6dhHR.js → CasinoFavoritesSectionNd-BG6pm2Zc.js} +34 -34
- package/components/{CasinoFavoritesSectionNd-CBwBAifE.cjs → CasinoFavoritesSectionNd-BLXqyURj.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-BcrN5yYg.js → CasinoFavoritesSectionNd-BSBUjl98.js} +29 -29
- package/components/{CasinoFilter-GODsv8MA.js → CasinoFilter-BOPSPGn4.js} +236 -235
- package/components/CasinoFilter-BkWQ4KgW.cjs +1 -0
- package/components/{CasinoFilter-BPNzF2-9.js → CasinoFilter-F9z7t5pe.js} +253 -254
- package/components/{CasinoGameThumbnailNd-CDh3o3Px.js → CasinoGameThumbnailNd-BJOwb878.js} +85 -87
- package/components/{CasinoGameThumbnailNd-4EguqFH3.js → CasinoGameThumbnailNd-BhMXUEuY.js} +86 -88
- package/components/CasinoGameThumbnailNd-C7-a2gFP.cjs +30 -0
- package/components/{CasinoGamesCategorySectionNd-Bitnf3Pu.js → CasinoGamesCategorySectionNd-4Y9j2CTp.js} +195 -195
- package/components/{CasinoGamesCategorySectionNd-B4fdeIY9.js → CasinoGamesCategorySectionNd-CcIA7A2_.js} +148 -148
- package/components/{CasinoGamesCategorySectionNd-B3T9EqGO.cjs → CasinoGamesCategorySectionNd-DFjizJHZ.cjs} +1 -1
- package/components/{CasinoJackpotBanner-_CDv0aAO.js → CasinoJackpotBanner-D-liS_Me.js} +58 -58
- package/components/{CasinoJackpotBanner-CpY0RIAN.cjs → CasinoJackpotBanner-DKGuifD8.cjs} +1 -1
- package/components/{CasinoJackpotBanner-DxI1Soob.js → CasinoJackpotBanner-Djh5d5I0.js} +103 -103
- package/components/{CasinoLastPlayedSectionNd-ZjEf9Lub.js → CasinoLastPlayedSectionNd-B-qpM121.js} +41 -41
- package/components/{CasinoLastPlayedSectionNd-DILnGtUX.js → CasinoLastPlayedSectionNd-C2_p1XnX.js} +34 -34
- package/components/{CasinoLastPlayedSectionNd-D6WgYR0j.cjs → CasinoLastPlayedSectionNd-vCZFhZlA.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-BFsRD6rg.js → CasinoMostPlayedSectionNd-BPgmDns2.js} +36 -36
- package/components/{CasinoMostPlayedSectionNd-DCkQETsB.js → CasinoMostPlayedSectionNd-CzImrQ3h.js} +42 -42
- package/components/{CasinoMostPlayedSectionNd-Dcah-s5J.cjs → CasinoMostPlayedSectionNd-uB4-C_na.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DakvkCd4.js → CasinoMyGamesNd-Bop6WAH3.js} +51 -51
- package/components/{CasinoMyGamesNd-Dr1esI6B.cjs → CasinoMyGamesNd-C-1cL3yu.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DVztrMUD.js → CasinoMyGamesNd-CKRn9fvF.js} +53 -53
- package/components/{CasinoPageNd-CtsRxoGA.cjs → CasinoPageNd-AVCfA1IM.cjs} +1 -1
- package/components/{CasinoPageNd-DIDp5-by.js → CasinoPageNd-C6N29yee.js} +114 -114
- package/components/{CasinoPageNd-CAmff4ks.js → CasinoPageNd-DwyUEhz5.js} +114 -114
- package/components/{CasinoRandomGame-DupyUmXZ.js → CasinoRandomGame-BqY01xC4.js} +49 -49
- package/components/{CasinoRandomGame-Cx-bJyHF.cjs → CasinoRandomGame-BqszKIRI.cjs} +1 -1
- package/components/{CasinoRandomGame-Ya0-kjW3.js → CasinoRandomGame-OSVl6dyi.js} +58 -58
- package/components/{CasinoSearchNd-_IxI7aTr.js → CasinoSearchNd-Bkbd55Uy.js} +93 -93
- package/components/{CasinoSearchNd-CzKi_y0F.js → CasinoSearchNd-KS2rbEcX.js} +68 -68
- package/components/{CasinoSearchNd-DBINiuQe.cjs → CasinoSearchNd-ik5X5b1Y.cjs} +1 -1
- package/components/{CasinoSort-Dz1RRrMf.js → CasinoSort-ChNfSlPO.js} +108 -107
- package/components/{CasinoSort-Caqiz1jb.cjs → CasinoSort-D9yqS_K_.cjs} +1 -1
- package/components/{CasinoSort-D4-79NkE.js → CasinoSort-gHx_6Htf.js} +116 -117
- package/components/{CasinoWinners-S62TcwVW.js → CasinoWinners--Sn5RpG3.js} +150 -150
- package/components/{CasinoWinners-Dj8YtrUs.js → CasinoWinners-BXqKa3QL.js} +159 -159
- package/components/{CasinoWinners-DSBGPuPN.cjs → CasinoWinners-DGEdj61G.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CtToe_XL.js → GeneralAnimationLoading-DrJIjWen.js} +10 -10
- package/components/{GeneralAnimationLoading-I-XkjtJ7.cjs → GeneralAnimationLoading-dlrAfGeC.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BKRrPWfZ.js → GeneralAnimationLoading-khf0HKjf.js} +8 -8
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-calendar-BVsUqaIU.js → casino-calendar-BQ3kWu0l.js} +1 -1
- package/lazy/{casino-calendar-BzvJgsBA.cjs → casino-calendar-C-GiLu3p.cjs} +1 -1
- package/lazy/{casino-calendar-CkOgn3Ly.js → casino-calendar-W25gPujL.js} +1 -1
- package/lazy/{casino-calendar-daily-details-C74_KqKf.js → casino-calendar-daily-details-Bs78gyMV.js} +1 -1
- package/lazy/{casino-calendar-daily-details-Cp4G0xrK.js → casino-calendar-daily-details-DbdU0n9_.js} +1 -1
- package/lazy/{casino-calendar-daily-details-C-yZwYqm.cjs → casino-calendar-daily-details-DgAlT_Jk.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-COsZF3LN.js → casino-calendar-daily-item-BZGfz8IW.js} +1 -1
- package/lazy/{casino-calendar-daily-item-De_8-g2U.js → casino-calendar-daily-item-BzQVDuqP.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CM76g2hB.cjs → casino-calendar-daily-item-UAvUvm5x.cjs} +1 -1
- package/lazy/{casino-collections-providers-_udE1nic.cjs → casino-collections-providers-DEpXDWUW.cjs} +1 -1
- package/lazy/{casino-collections-providers-C-oWXqvx.js → casino-collections-providers-DHPnDwqI.js} +1 -1
- package/lazy/{casino-collections-providers-GSAJHZfo.js → casino-collections-providers-__jGk8Bi.js} +1 -1
- package/lazy/{casino-favorites-section-nd-CNAQsPSR.cjs → casino-favorites-section-nd-BhI8Zirm.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-Wut-nWn_.js → casino-favorites-section-nd-CA-sShLT.js} +1 -1
- package/lazy/{casino-favorites-section-nd-Bu97BsFO.js → casino-favorites-section-nd-DgsE3inV.js} +1 -1
- package/lazy/{casino-filter-p8s4Ev-q.js → casino-filter-947plBW0.js} +1 -1
- package/lazy/{casino-filter-Cu8mCz8z.cjs → casino-filter-D_OJZ711.cjs} +1 -1
- package/lazy/{casino-filter-BbM4e8Z-.js → casino-filter-sujGI1Sw.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-Hk8Brx71.js → casino-game-thumbnail-nd-BRX8CtFL.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CIBMBNg-.cjs → casino-game-thumbnail-nd-BxXa51lv.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-XQcgV7Rq.js → casino-game-thumbnail-nd-N5nWpTDy.js} +1 -1
- package/lazy/{casino-games-category-section-nd-6V6kudTB.cjs → casino-games-category-section-nd-BmDDmO6k.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-D7xpZr13.js → casino-games-category-section-nd-CbFAe4SQ.js} +1 -1
- package/lazy/{casino-games-category-section-nd-CS-rV9vA.js → casino-games-category-section-nd-CoFLpfgi.js} +1 -1
- package/lazy/{casino-jackpot-banner-CO3pGOGN.js → casino-jackpot-banner-C6PN_r6L.js} +1 -1
- package/lazy/{casino-jackpot-banner-qnL_8tIe.js → casino-jackpot-banner-CUQV4cSc.js} +1 -1
- package/lazy/{casino-jackpot-banner-BupiG5Nh.cjs → casino-jackpot-banner-aWzFMQtT.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-DFjTSSJn.js → casino-last-played-section-nd-C8Muv-kQ.js} +1 -1
- package/lazy/{casino-last-played-section-nd-Dmkrm8ZK.js → casino-last-played-section-nd-DRDk-3RU.js} +1 -1
- package/lazy/{casino-last-played-section-nd-CUScRJ-x.cjs → casino-last-played-section-nd-s6pPWeNP.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-Cp17yThr.cjs → casino-most-played-section-nd-B5XtMtEZ.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-hH18ouWZ.js → casino-most-played-section-nd-CDI47ytS.js} +1 -1
- package/lazy/{casino-most-played-section-nd-Ci70TBbw.js → casino-most-played-section-nd-CFFQjWF1.js} +1 -1
- package/lazy/{casino-my-games-nd-CzPnr9l7.cjs → casino-my-games-nd-2gWCduhh.cjs} +1 -1
- package/lazy/{casino-my-games-nd-DRZweCta.js → casino-my-games-nd-C38wNBeh.js} +1 -1
- package/lazy/{casino-my-games-nd-hvX2eLRh.js → casino-my-games-nd-DA1cUHJd.js} +1 -1
- package/lazy/casino-play-random-game-BgvQt_9c.js +577 -0
- package/lazy/casino-play-random-game-BlG2E9dd.cjs +1 -0
- package/lazy/casino-play-random-game-CWiaE6SD.js +561 -0
- package/lazy/{casino-random-game-r-wQst_d.js → casino-random-game-C8MfHXaa.js} +1 -1
- package/lazy/{casino-random-game-CyBJhSH7.js → casino-random-game-DFRc-OVf.js} +1 -1
- package/lazy/{casino-random-game-BmMXqcbM.cjs → casino-random-game-eOSEDGdT.cjs} +1 -1
- package/lazy/{casino-search-nd-CNAcfg2r.js → casino-search-nd-1gebmJnT.js} +1 -1
- package/lazy/{casino-search-nd-gg0w4vux.js → casino-search-nd-D2pb2tim.js} +1 -1
- package/lazy/{casino-search-nd-DKaUj1i2.cjs → casino-search-nd-D8GPyMVJ.cjs} +1 -1
- package/lazy/{casino-sort-Bx2aQuUK.js → casino-sort-DCo8rI3E.js} +1 -1
- package/lazy/{casino-sort-BKklUPDo.js → casino-sort-DHWqDjlb.js} +1 -1
- package/lazy/{casino-sort-CCno3ipr.cjs → casino-sort-DnvZL0xh.cjs} +1 -1
- package/lazy/{casino-winners-B0n34FoS.js → casino-winners-CDoQxoRf.js} +1 -1
- package/lazy/{casino-winners-458Tv1RX.cjs → casino-winners-DwTj0vSa.cjs} +1 -1
- package/lazy/{casino-winners-CE-uhZFG.js → casino-winners-qCV1DXuS.js} +1 -1
- package/lazy/{general-animation-loading-D6M6KKYv.js → general-animation-loading-B3lvSOkP.js} +1 -1
- package/lazy/{general-animation-loading-Cwhkcowg.js → general-animation-loading-BEnsNW2g.js} +1 -1
- package/lazy/{general-animation-loading-Dy_gOrpe.cjs → general-animation-loading-D03DfjDc.cjs} +1 -1
- package/lazy/ui-image-B7I7ijf1.cjs +1 -0
- package/lazy/ui-image-CbDOUZoh.js +558 -0
- package/lazy/ui-image-Cg1Yec7y.js +542 -0
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BPHg-wwI.js → casino-play-random-game-BgPgrR13.js} +2 -2
- package/stencil/{casino-play-random-game-wpfDaw4g.js → casino-play-random-game-BiGMkSw_.js} +2 -2
- package/stencil/{casino-play-random-game-BcohHg_0.cjs → casino-play-random-game-Cy_f5K43.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-Dv6kzWTc.cjs → casino-play-random-game_2-BZDqAOHM.cjs} +2 -2
- package/stencil/{casino-play-random-game_2-BUw70A1i.js → casino-play-random-game_2-D-e9crBu.js} +2 -2
- package/stencil/{casino-play-random-game_2-bikyjIaX.js → casino-play-random-game_2-NeDOlhPe.js} +2 -2
- package/stencil/{ui-image-CSuy5bpN.js → ui-image-CeUOY7QN.js} +1 -1
- package/stencil/{ui-image-CQWGNNGc.cjs → ui-image-D9jjPnnA.cjs} +1 -1
- package/stencil/{ui-image-Zbm_3sxB.js → ui-image-Da7NRAu7.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CywcOOGm.cjs → ui-image-b7b48fe5-BdId4SMU.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-Fgk1PZOw.js → ui-image-b7b48fe5-CMO5mvIM.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-Ky03rONE.js → ui-image-b7b48fe5-ClSc4k9k.js} +1 -1
- package/stencil/{ui-image_2-CeB6oMH1.js → ui-image_2-Be-VuTP3.js} +2 -2
- package/stencil/{ui-image_2-C8RZBimL.cjs → ui-image_2-CgvJomOn.cjs} +1 -1
- package/stencil/{ui-image_2-CRHieNTj.js → ui-image_2-FUyfOVWg.js} +2 -2
- package/components/CasinoCalendar-QdrtgbVd.cjs +0 -19
- package/components/CasinoFilter-DS84IIIS.cjs +0 -1
- package/components/CasinoGameThumbnailNd--Aw1dM5B.cjs +0 -30
- package/lazy/casino-play-random-game-B946wSUG.cjs +0 -1
- package/lazy/casino-play-random-game-B9d_FNr8.js +0 -577
- package/lazy/casino-play-random-game-DZRO0wGO.js +0 -561
- package/lazy/ui-image-BF1pPO3W.cjs +0 -1
- package/lazy/ui-image-BccypVCC.js +0 -542
- package/lazy/ui-image-DKuCd_RQ.js +0 -558
package/components/{CasinoCollectionsProviders-DgcP1agN.js → CasinoCollectionsProviders-Bz4Qwgcy.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as be, $ as Ce, S as ye, i as _e, s as we, f as M,
|
|
2
|
-
function
|
|
1
|
+
import { a as be, $ as Ce, S as ye, i as _e, s as we, f as M, b as Se, n as T, d as x, h as j, j as y, k as ke, l as Ge, o as Pe, m as Le, D as Y, u as m, w as B, x as ne, p as I, q as b, r as R, C as F, M as Me, B as H, H as A, E as O, N as xe, I as je, J as Fe, K as Te, L as Be } from "./CasinoCalendar-BELrT2lA.js";
|
|
2
|
+
function D(t, e) {
|
|
3
3
|
be(t, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function He(t) {
|
|
6
6
|
Ce.set(t);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const Q = {
|
|
9
9
|
en: {
|
|
10
10
|
collections: "Game Collections",
|
|
11
11
|
providers: "Game Providers",
|
|
@@ -102,8 +102,8 @@ const D = {
|
|
|
102
102
|
loading: "Loading, please wait ..."
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
function
|
|
106
|
-
|
|
105
|
+
function Oe(t) {
|
|
106
|
+
Se(t, "svelte-nnjza6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
107
|
}
|
|
108
108
|
function $(t, e, i) {
|
|
109
109
|
const n = t.slice();
|
|
@@ -113,7 +113,7 @@ function ee(t, e, i) {
|
|
|
113
113
|
const n = t.slice();
|
|
114
114
|
return n[44] = e[i], n;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function ze(t) {
|
|
117
117
|
let e, i, n, l = (
|
|
118
118
|
/*type*/
|
|
119
119
|
(t[0] === "vendor" ? (
|
|
@@ -143,7 +143,7 @@ function Oe(t) {
|
|
|
143
143
|
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
144
144
|
},
|
|
145
145
|
m(d, g) {
|
|
146
|
-
|
|
146
|
+
j(d, e, g), b(e, i), b(i, n), b(n, r), b(i, c), s && s.m(i, null), b(e, _), b(e, C);
|
|
147
147
|
for (let h = 0; h < a.length; h += 1)
|
|
148
148
|
a[h] && a[h].m(C, null);
|
|
149
149
|
t[25](C);
|
|
@@ -180,22 +180,22 @@ function Oe(t) {
|
|
|
180
180
|
(d[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", S);
|
|
181
181
|
},
|
|
182
182
|
d(d) {
|
|
183
|
-
d &&
|
|
183
|
+
d && x(e), s && s.d(), ne(a, d), t[25](null);
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Ee(t) {
|
|
188
188
|
let e;
|
|
189
189
|
return {
|
|
190
190
|
c() {
|
|
191
191
|
e = y("div"), m(e, "class", "LoadingSpinner");
|
|
192
192
|
},
|
|
193
193
|
m(i, n) {
|
|
194
|
-
|
|
194
|
+
j(i, e, n);
|
|
195
195
|
},
|
|
196
196
|
p: T,
|
|
197
197
|
d(i) {
|
|
198
|
-
i &&
|
|
198
|
+
i && x(e);
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
}
|
|
@@ -206,14 +206,14 @@ function te(t) {
|
|
|
206
206
|
e = y("div"), i = y("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 = y("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>', m(e, "class", "ButtonsContainer");
|
|
207
207
|
},
|
|
208
208
|
m(_, C) {
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
j(_, e, C), b(e, i), b(e, n), b(e, l), r || (c = [
|
|
210
|
+
H(
|
|
211
211
|
i,
|
|
212
212
|
"click",
|
|
213
213
|
/*sliderScrollLeft*/
|
|
214
214
|
t[11]
|
|
215
215
|
),
|
|
216
|
-
|
|
216
|
+
H(
|
|
217
217
|
l,
|
|
218
218
|
"click",
|
|
219
219
|
/*sliderScrollRight*/
|
|
@@ -223,11 +223,11 @@ function te(t) {
|
|
|
223
223
|
},
|
|
224
224
|
p: T,
|
|
225
225
|
d(_) {
|
|
226
|
-
_ &&
|
|
226
|
+
_ && x(e), r = !1, Me(c);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ne(t) {
|
|
231
231
|
let e, i = (
|
|
232
232
|
/*category*/
|
|
233
233
|
t[41].name + ""
|
|
@@ -237,7 +237,7 @@ function Ee(t) {
|
|
|
237
237
|
e = y("p"), n = R(i), m(e, "class", "CategorySlideTitle");
|
|
238
238
|
},
|
|
239
239
|
m(l, r) {
|
|
240
|
-
|
|
240
|
+
j(l, e, r), b(e, n);
|
|
241
241
|
},
|
|
242
242
|
p(l, r) {
|
|
243
243
|
r[0] & /*gameCategories*/
|
|
@@ -245,30 +245,30 @@ function Ee(t) {
|
|
|
245
245
|
l[41].name + "") && I(n, i);
|
|
246
246
|
},
|
|
247
247
|
d(l) {
|
|
248
|
-
l &&
|
|
248
|
+
l && x(e);
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Ae(t) {
|
|
253
253
|
let e, i, n;
|
|
254
254
|
return {
|
|
255
255
|
c() {
|
|
256
|
-
e = y("img"), m(e, "class", "CategorySlideLogo"),
|
|
256
|
+
e = y("img"), m(e, "class", "CategorySlideLogo"), O(e.src, i = /*category*/
|
|
257
257
|
t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
|
|
258
258
|
t[41].name + " icon");
|
|
259
259
|
},
|
|
260
260
|
m(l, r) {
|
|
261
|
-
|
|
261
|
+
j(l, e, r);
|
|
262
262
|
},
|
|
263
263
|
p(l, r) {
|
|
264
264
|
r[0] & /*gameCategories*/
|
|
265
|
-
8 && !
|
|
265
|
+
8 && !O(e.src, i = /*category*/
|
|
266
266
|
l[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
|
|
267
267
|
8 && n !== (n = /*category*/
|
|
268
268
|
l[41].name + " icon") && m(e, "alt", n);
|
|
269
269
|
},
|
|
270
270
|
d(l) {
|
|
271
|
-
l &&
|
|
271
|
+
l && x(e);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -283,7 +283,7 @@ function ie(t) {
|
|
|
283
283
|
t[44].name);
|
|
284
284
|
},
|
|
285
285
|
m(r, c) {
|
|
286
|
-
|
|
286
|
+
j(r, e, c), b(e, n);
|
|
287
287
|
},
|
|
288
288
|
p(r, c) {
|
|
289
289
|
c[0] & /*gameCategories*/
|
|
@@ -293,7 +293,7 @@ function ie(t) {
|
|
|
293
293
|
r[44].name) && m(e, "title", l);
|
|
294
294
|
},
|
|
295
295
|
d(r) {
|
|
296
|
-
r &&
|
|
296
|
+
r && x(e);
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
299
|
}
|
|
@@ -314,23 +314,23 @@ function oe(t) {
|
|
|
314
314
|
);
|
|
315
315
|
return {
|
|
316
316
|
c() {
|
|
317
|
-
e = y("div"), i = y("img"), r = F(), s && s.c(), c = F(), m(i, "class", "CategorySlideGameImage"),
|
|
317
|
+
e = y("div"), i = y("img"), r = F(), s && s.c(), c = F(), m(i, "class", "CategorySlideGameImage"), O(i.src, n = /*game*/
|
|
318
318
|
t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
|
|
319
319
|
t[44].name), m(e, "class", "CategorySlideGames");
|
|
320
320
|
},
|
|
321
321
|
m(f, a) {
|
|
322
|
-
|
|
322
|
+
j(f, e, a), b(e, i), b(e, r), s && s.m(e, null), b(e, c), _ || (C = H(i, "click", xe(S)), _ = !0);
|
|
323
323
|
},
|
|
324
324
|
p(f, a) {
|
|
325
325
|
t = f, a[0] & /*gameCategories*/
|
|
326
|
-
8 && !
|
|
326
|
+
8 && !O(i.src, n = /*game*/
|
|
327
327
|
t[44].defaultThumbnail) && m(i, "src", n), a[0] & /*gameCategories*/
|
|
328
328
|
8 && l !== (l = /*game*/
|
|
329
329
|
t[44].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
|
|
330
330
|
t[2] == "true" ? s ? s.p(t, a) : (s = ie(t), s.c(), s.m(e, c)) : s && (s.d(1), s = null);
|
|
331
331
|
},
|
|
332
332
|
d(f) {
|
|
333
|
-
f &&
|
|
333
|
+
f && x(e), s && s.d(), _ = !1, C();
|
|
334
334
|
}
|
|
335
335
|
};
|
|
336
336
|
}
|
|
@@ -341,12 +341,12 @@ function le(t) {
|
|
|
341
341
|
/*titletype*/
|
|
342
342
|
u[1] === "logo"
|
|
343
343
|
)
|
|
344
|
-
return
|
|
344
|
+
return Ae;
|
|
345
345
|
if (
|
|
346
346
|
/*titletype*/
|
|
347
347
|
u[1] === "title"
|
|
348
348
|
)
|
|
349
|
-
return
|
|
349
|
+
return Ne;
|
|
350
350
|
}
|
|
351
351
|
let f = s(t), a = f && f(t), d = B(
|
|
352
352
|
/*category*/
|
|
@@ -369,14 +369,14 @@ function le(t) {
|
|
|
369
369
|
for (let u = 0; u < g.length; u += 1)
|
|
370
370
|
g[u].c();
|
|
371
371
|
_ = F(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", c = "CategorySlide " + /*category*/
|
|
372
|
-
(t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")),
|
|
373
|
-
t[41]?.background + ")"),
|
|
372
|
+
(t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), A(i, "background-image", "url(" + /*category*/
|
|
373
|
+
t[41]?.background + ")"), A(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
|
|
374
374
|
},
|
|
375
375
|
m(u, v) {
|
|
376
|
-
|
|
376
|
+
j(u, e, v), b(e, i), b(i, n), a && a.m(n, null), b(i, l), b(i, r);
|
|
377
377
|
for (let p = 0; p < g.length; p += 1)
|
|
378
378
|
g[p] && g[p].m(r, null);
|
|
379
|
-
b(e, _), C || (S =
|
|
379
|
+
b(e, _), C || (S = H(i, "click", h), C = !0);
|
|
380
380
|
},
|
|
381
381
|
p(u, v) {
|
|
382
382
|
if (t = u, f === (f = s(t)) && a ? a.p(t, v) : (a && a.d(1), a = f && f(t), a && (a.c(), a.m(n, null))), v[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
@@ -397,20 +397,20 @@ function le(t) {
|
|
|
397
397
|
v[0] & /*gameCategories*/
|
|
398
398
|
8 && c !== (c = "CategorySlide " + /*category*/
|
|
399
399
|
(t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", c), v[0] & /*gameCategories*/
|
|
400
|
-
8 &&
|
|
400
|
+
8 && A(i, "background-image", "url(" + /*category*/
|
|
401
401
|
t[41]?.background + ")");
|
|
402
402
|
},
|
|
403
403
|
d(u) {
|
|
404
|
-
u &&
|
|
404
|
+
u && x(e), a && a.d(), ne(g, u), C = !1, S();
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Ie(t) {
|
|
409
409
|
let e;
|
|
410
410
|
function i(r, c) {
|
|
411
411
|
return (
|
|
412
412
|
/*isLoading*/
|
|
413
|
-
r[6] ?
|
|
413
|
+
r[6] ? Ee : ze
|
|
414
414
|
);
|
|
415
415
|
}
|
|
416
416
|
let n = i(t), l = n(t);
|
|
@@ -419,7 +419,7 @@ function Re(t) {
|
|
|
419
419
|
e = y("div"), l.c();
|
|
420
420
|
},
|
|
421
421
|
m(r, c) {
|
|
422
|
-
|
|
422
|
+
j(r, e, c), l.m(e, null), t[26](e);
|
|
423
423
|
},
|
|
424
424
|
p(r, c) {
|
|
425
425
|
n === (n = i(r)) && l ? l.p(r, c) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
|
|
@@ -427,30 +427,30 @@ function Re(t) {
|
|
|
427
427
|
i: T,
|
|
428
428
|
o: T,
|
|
429
429
|
d(r) {
|
|
430
|
-
r &&
|
|
430
|
+
r && x(e), l.d(), t[26](null);
|
|
431
431
|
}
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function Re(t, e, i) {
|
|
435
435
|
let n;
|
|
436
|
-
|
|
437
|
-
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, U,
|
|
436
|
+
ke(t, Ge, (o) => i(10, n = o));
|
|
437
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, U, z, q = 0, E = 50, N = !1, G, re = window.navigator.userAgent, V;
|
|
438
438
|
const ae = () => {
|
|
439
439
|
fetch(f).then((w) => w.json()).then((w) => {
|
|
440
440
|
Object.keys(w).forEach((P) => {
|
|
441
|
-
|
|
441
|
+
D(P, w[P]);
|
|
442
442
|
});
|
|
443
443
|
}).catch((w) => {
|
|
444
444
|
console.log(w);
|
|
445
445
|
});
|
|
446
446
|
};
|
|
447
|
-
Object.keys(
|
|
448
|
-
|
|
447
|
+
Object.keys(Q).forEach((o) => {
|
|
448
|
+
D(o, Q[o]);
|
|
449
449
|
});
|
|
450
450
|
const W = () => {
|
|
451
451
|
const o = new URL(`${l}/v2/casino/groups/${r}`);
|
|
452
|
-
o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${
|
|
453
|
-
i(6, h = !1), w.total >
|
|
452
|
+
o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${E}`), fetch(o.href).then((w) => w.json()).then((w) => {
|
|
453
|
+
i(6, h = !1), w.total > E && (q += 50, E += 50, i(22, N = !0));
|
|
454
454
|
let P = w.items.map((L) => ({
|
|
455
455
|
id: L.id,
|
|
456
456
|
name: L.name,
|
|
@@ -464,18 +464,18 @@ function Ie(t, e, i) {
|
|
|
464
464
|
}, se = () => {
|
|
465
465
|
const o = G.getRootNode().host;
|
|
466
466
|
o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
|
|
467
|
-
},
|
|
468
|
-
|
|
467
|
+
}, K = (o) => {
|
|
468
|
+
z = [...u.children], z.forEach((w, P) => {
|
|
469
469
|
w.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
|
|
470
|
-
}), U =
|
|
470
|
+
}), U = z[0]?.getBoundingClientRect().width, de();
|
|
471
471
|
}, de = () => {
|
|
472
472
|
i(8, k = Math.floor(u.clientWidth / U));
|
|
473
|
-
},
|
|
474
|
-
|
|
473
|
+
}, J = () => {
|
|
474
|
+
K(v);
|
|
475
475
|
}, ce = () => {
|
|
476
|
-
v === 0 ? v = p - k : v - k < -1 ? v = 0 : v--,
|
|
476
|
+
v === 0 ? v = p - k : v - k < -1 ? v = 0 : v--, J();
|
|
477
477
|
}, ge = () => {
|
|
478
|
-
v === p - k ? v = 0 : p - k < v + 1 ? v = p - k : v++,
|
|
478
|
+
v === p - k ? v = 0 : p - k < v + 1 ? v = p - k : v++, J();
|
|
479
479
|
}, Z = (o, w, P, L) => {
|
|
480
480
|
window.postMessage(
|
|
481
481
|
{
|
|
@@ -499,9 +499,9 @@ function Ie(t, e, i) {
|
|
|
499
499
|
window.location.href
|
|
500
500
|
);
|
|
501
501
|
}, ue = () => {
|
|
502
|
-
|
|
502
|
+
He(c);
|
|
503
503
|
};
|
|
504
|
-
|
|
504
|
+
Pe(() => (i(9, V = Le(re)), () => {
|
|
505
505
|
}));
|
|
506
506
|
const me = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), fe = (o) => X(o.id);
|
|
507
507
|
function pe(o) {
|
|
@@ -519,13 +519,13 @@ function Ie(t, e, i) {
|
|
|
519
519
|
}, t.$$.update = () => {
|
|
520
520
|
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
521
521
|
229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
522
|
-
24 && g && u &&
|
|
522
|
+
24 && g && u && K(), t.$$.dirty[0] & /*lang*/
|
|
523
523
|
131072 && c && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
524
|
-
262176 && S && G &&
|
|
525
|
-
524320 && s && G &&
|
|
526
|
-
2097184 && G &&
|
|
524
|
+
262176 && S && G && je(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
525
|
+
524320 && s && G && Fe(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
526
|
+
2097184 && G && Te(G, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
527
527
|
1048576 && f && ae(), t.$$.dirty[0] & /*paginationrequired*/
|
|
528
|
-
4194304 &&
|
|
528
|
+
4194304 && N && W();
|
|
529
529
|
}, [
|
|
530
530
|
_,
|
|
531
531
|
C,
|
|
@@ -549,7 +549,7 @@ function Ie(t, e, i) {
|
|
|
549
549
|
s,
|
|
550
550
|
f,
|
|
551
551
|
d,
|
|
552
|
-
|
|
552
|
+
N,
|
|
553
553
|
me,
|
|
554
554
|
fe,
|
|
555
555
|
pe,
|
|
@@ -561,8 +561,8 @@ class Ue extends ye {
|
|
|
561
561
|
super(), _e(
|
|
562
562
|
this,
|
|
563
563
|
e,
|
|
564
|
-
Ie,
|
|
565
564
|
Re,
|
|
565
|
+
Ie,
|
|
566
566
|
we,
|
|
567
567
|
{
|
|
568
568
|
endpoint: 15,
|
|
@@ -576,7 +576,7 @@ class Ue extends ye {
|
|
|
576
576
|
collectionprovidersgamenames: 2,
|
|
577
577
|
mbsource: 21
|
|
578
578
|
},
|
|
579
|
-
|
|
579
|
+
Oe,
|
|
580
580
|
[-1, -1]
|
|
581
581
|
);
|
|
582
582
|
}
|
|
@@ -641,7 +641,7 @@ class Ue extends ye {
|
|
|
641
641
|
this.$$set({ mbsource: e }), M();
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
Be(Ue, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
645
645
|
export {
|
|
646
646
|
Ue as default
|
|
647
647
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-QdrtgbVd.cjs");function q(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-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 de(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 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(_,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 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("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 ue;if(p[1]==="title")return ge}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 pe(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 me(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;const Y=()=>{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,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.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,b=u.length),Q()})},Q=()=>{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,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{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)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}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,_=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&&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&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,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(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("./CasinoCalendar-DrrajltR.cjs");function q(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-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 de(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 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(_,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 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("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 ue;if(p[1]==="title")return ge}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 pe(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 me(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;const Y=()=>{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,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.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,b=u.length),Q()})},Q=()=>{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,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{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)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}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,_=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&&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&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,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(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
|
package/components/{CasinoFavoritesSectionNd-VVi6dhHR.js → CasinoFavoritesSectionNd-BG6pm2Zc.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { $ as I, O as
|
|
2
|
-
import "../lazy/casino-games-category-section-nd-
|
|
1
|
+
import { $ as I, O as D, S as E, i as J, s as K, f as l, b as M, n as q, d as O, h as R, j, u as N, o as T, F as n, D as U, I as V, J as B, K as G, L as H } from "./CasinoCalendar-BELrT2lA.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-CbFAe4SQ.js";
|
|
3
3
|
function P({ withLocale: s, translations: e }) {
|
|
4
4
|
I.subscribe((t) => {
|
|
5
|
-
t == null && (
|
|
5
|
+
t == null && (D.set(e), I.set(s));
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
8
|
function Q(s) {
|
|
9
|
-
|
|
9
|
+
M(s, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function A(s) {
|
|
12
12
|
let e;
|
|
13
13
|
return {
|
|
14
14
|
c() {
|
|
15
|
-
e =
|
|
15
|
+
e = j("casino-games-category-section-nd"), n(
|
|
16
16
|
e,
|
|
17
17
|
"session",
|
|
18
18
|
/*session*/
|
|
@@ -110,7 +110,7 @@ function z(s) {
|
|
|
110
110
|
);
|
|
111
111
|
},
|
|
112
112
|
m(t, a) {
|
|
113
|
-
|
|
113
|
+
R(t, e, a);
|
|
114
114
|
},
|
|
115
115
|
p(t, a) {
|
|
116
116
|
a & /*session*/
|
|
@@ -230,52 +230,52 @@ function z(s) {
|
|
|
230
230
|
);
|
|
231
231
|
},
|
|
232
232
|
d(t) {
|
|
233
|
-
t &&
|
|
233
|
+
t && O(e);
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
function W(s) {
|
|
238
238
|
let e, t = (
|
|
239
239
|
/*session*/
|
|
240
|
-
s[4] &&
|
|
240
|
+
s[4] && A(s)
|
|
241
241
|
);
|
|
242
242
|
return {
|
|
243
243
|
c() {
|
|
244
|
-
e =
|
|
244
|
+
e = j("div"), t && t.c(), N(e, "class", "CasinoFavoritesSectionContainer");
|
|
245
245
|
},
|
|
246
|
-
m(a,
|
|
247
|
-
|
|
246
|
+
m(a, r) {
|
|
247
|
+
R(a, e, r), t && t.m(e, null), s[20](e);
|
|
248
248
|
},
|
|
249
|
-
p(a, [
|
|
249
|
+
p(a, [r]) {
|
|
250
250
|
/*session*/
|
|
251
|
-
a[4] ? t ? t.p(a,
|
|
251
|
+
a[4] ? t ? t.p(a, r) : (t = A(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
252
252
|
},
|
|
253
|
-
i:
|
|
254
|
-
o:
|
|
253
|
+
i: q,
|
|
254
|
+
o: q,
|
|
255
255
|
d(a) {
|
|
256
|
-
a &&
|
|
256
|
+
a && O(e), t && t.d(), s[20](null);
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
function X(s, e, t) {
|
|
261
|
-
let { endpoint: a = "" } = e, { datasource:
|
|
262
|
-
P({ withLocale: "en", translations: {} }),
|
|
261
|
+
let { endpoint: a = "" } = e, { datasource: r = "" } = e, { currency: c = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { mbsource: m } = e, { clientstyling: o = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: b = "" } = e, { livecasino: v = "false" } = e, { integratedgameframemobile: y = "false" } = e, { integratedgameframedesktop: _ = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: k = "false" } = e, { visiblegames: S = "" } = e, { favorites: C = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: L = "true" } = e, g;
|
|
262
|
+
P({ withLocale: "en", translations: {} }), T(() => () => {
|
|
263
263
|
});
|
|
264
|
-
function
|
|
265
|
-
|
|
266
|
-
|
|
264
|
+
function z(i) {
|
|
265
|
+
U[i ? "unshift" : "push"](() => {
|
|
266
|
+
g = i, t(19, g);
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
return s.$$set = (i) => {
|
|
270
|
-
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1,
|
|
270
|
+
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, r = i.datasource), "currency" in i && t(2, c = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "mbsource" in i && t(6, m = i.mbsource), "clientstyling" in i && t(7, o = i.clientstyling), "clientstylingurl" in i && t(8, u = i.clientstylingurl), "translationurl" in i && t(9, b = i.translationurl), "livecasino" in i && t(10, v = i.livecasino), "integratedgameframemobile" in i && t(11, y = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(12, _ = i.integratedgameframedesktop), "showgamename" in i && t(13, w = i.showgamename), "gamepagemodalurl" in i && t(14, k = i.gamepagemodalurl), "visiblegames" in i && t(15, S = i.visiblegames), "favorites" in i && t(16, C = i.favorites), "casinomygames" in i && t(17, F = i.casinomygames), "fetchviaevent" in i && t(18, L = i.fetchviaevent);
|
|
271
271
|
}, s.$$.update = () => {
|
|
272
272
|
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
273
|
-
524416 && o &&
|
|
274
|
-
524544 && u &&
|
|
275
|
-
524352 && m &&
|
|
273
|
+
524416 && o && g && V(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
274
|
+
524544 && u && g && B(g, u), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
275
|
+
524352 && m && g && G(g, `${m}.Style`);
|
|
276
276
|
}, [
|
|
277
277
|
a,
|
|
278
|
-
|
|
278
|
+
r,
|
|
279
279
|
c,
|
|
280
280
|
f,
|
|
281
281
|
h,
|
|
@@ -292,19 +292,19 @@ function X(s, e, t) {
|
|
|
292
292
|
S,
|
|
293
293
|
C,
|
|
294
294
|
F,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
L,
|
|
296
|
+
g,
|
|
297
|
+
z
|
|
298
298
|
];
|
|
299
299
|
}
|
|
300
|
-
class Y extends
|
|
300
|
+
class Y extends E {
|
|
301
301
|
constructor(e) {
|
|
302
|
-
super(),
|
|
302
|
+
super(), J(
|
|
303
303
|
this,
|
|
304
304
|
e,
|
|
305
305
|
X,
|
|
306
306
|
W,
|
|
307
|
-
|
|
307
|
+
K,
|
|
308
308
|
{
|
|
309
309
|
endpoint: 0,
|
|
310
310
|
datasource: 1,
|
|
@@ -444,7 +444,7 @@ class Y extends M {
|
|
|
444
444
|
this.$$set({ fetchviaevent: e }), l();
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
|
|
447
|
+
H(Y, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
448
448
|
export {
|
|
449
449
|
Y as default
|
|
450
450
|
};
|