@everymatrix/casino-page 1.87.26 → 1.87.27
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-Bk2VWsYP.js +572 -0
- package/components/CasinoCalendar-CuMdPVUL.js +574 -0
- package/components/CasinoCalendar-NysJ_MQc.cjs +2 -0
- package/components/{CasinoCalendarDailyDetails-C9QkDeeW.js → CasinoCalendarDailyDetails-BMRyShgB.js} +84 -84
- package/components/CasinoCalendarDailyDetails-Ctd7GG23.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-DG8jTkOb.js → CasinoCalendarDailyDetails-DpRL4rZD.js} +84 -84
- package/components/CasinoCalendarDailyItem-Bwv-TV7n.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-H9bFOk6V.js → CasinoCalendarDailyItem-O-m4LUQU.js} +118 -118
- package/components/{CasinoCalendarDailyItem-77QxCgOg.js → CasinoCalendarDailyItem-kbMnL8LX.js} +118 -118
- package/components/CasinoCollectionsProviders-DxCAKrxO.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BRaAIVvV.js → CasinoCollectionsProviders-I8uaw4CX.js} +65 -65
- package/components/{CasinoCollectionsProviders-DOGIidgs.js → CasinoCollectionsProviders-bBtLlyhP.js} +93 -93
- package/components/CasinoFavoritesSection-BKpylL-E.cjs +1 -0
- package/components/{CasinoFavoritesSection-C-WTpxpq.js → CasinoFavoritesSection-D1NR_VbM.js} +47 -63
- package/components/{CasinoFavoritesSection-CZ-q50oD.js → CasinoFavoritesSection-DVEeqd8t.js} +44 -60
- package/components/CasinoFilter-BuCRML3F.cjs +1 -0
- package/components/{CasinoFilter-Dd_ByQUb.js → CasinoFilter-C-8LktQ9.js} +223 -224
- package/components/{CasinoFilter-BqfBTs3X.js → CasinoFilter-JysfGnIT.js} +251 -250
- package/components/CasinoGameThumbnail-CTIJhcZN.js +1847 -0
- package/components/CasinoGameThumbnail-MpCIIvr2.cjs +38 -0
- package/components/CasinoGameThumbnail-vCdzZgSQ.js +1831 -0
- package/components/CasinoGamesCategorySection-CQTfYAer.cjs +10 -0
- package/components/CasinoGamesCategorySection-C_uyd_r_.js +5729 -0
- package/components/CasinoGamesCategorySection-Cavp2XcF.js +5697 -0
- package/components/{CasinoJackpotBanner-BuCeq-FN.js → CasinoJackpotBanner-C6568dXk.js} +176 -176
- package/components/{CasinoJackpotBanner-Ba0HSy7J.js → CasinoJackpotBanner-CLADRgxD.js} +154 -154
- package/components/CasinoJackpotBanner-C_Gf1vLe.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DJ9HO253.js → CasinoLastPlayedSection-Daix__De.js} +71 -72
- package/components/{CasinoLastPlayedSection-C5vsXbz8.js → CasinoLastPlayedSection-fA_Nko5c.js} +68 -69
- package/components/CasinoLastPlayedSection-i9eM46ud.cjs +1 -0
- package/components/CasinoMostPlayedSection-7F-BgAlY.cjs +1 -0
- package/components/{CasinoMostPlayedSection-_rcZwydD.js → CasinoMostPlayedSection-BG98a19d.js} +64 -65
- package/components/{CasinoMostPlayedSection-Cj9P1O_g.js → CasinoMostPlayedSection-DjDWyNmN.js} +66 -67
- package/components/{CasinoMyGames-BCWaO0Ph.js → CasinoMyGames-DbWMDQDz.js} +46 -46
- package/components/CasinoMyGames-FxQZFPn1.cjs +1 -0
- package/components/{CasinoMyGames-DA-mPnwJ.js → CasinoMyGames-fh1A5kRZ.js} +46 -46
- package/components/CasinoPage-CEwUBRwz.js +8914 -0
- package/components/CasinoPage-D1gCtQ9f.cjs +18 -0
- package/components/CasinoPage-DuLO92lO.js +8959 -0
- package/components/CasinoRandomGame-B6nMcOFW.cjs +2 -0
- package/components/{CasinoRandomGame-Dicpdv5N.js → CasinoRandomGame-BXeDL44i.js} +118 -118
- package/components/{CasinoRandomGame-Mzhi_geU.js → CasinoRandomGame-fp8-6pxV.js} +116 -116
- package/components/{CasinoSearch-BkcRkT-Z.js → CasinoSearch-CT_Q7Eg2.js} +75 -75
- package/components/{CasinoSearch-CFh1KpPL.js → CasinoSearch-D25EUsHS.js} +75 -75
- package/components/CasinoSearch-DSNlggOc.cjs +1 -0
- package/components/CasinoSort-5sOVz1es.cjs +1 -0
- package/components/{CasinoSort-DuvD0KkH.js → CasinoSort-CoBXSITn.js} +102 -102
- package/components/{CasinoSort-DHqu-YG-.js → CasinoSort-l3IilL10.js} +116 -116
- package/components/{CasinoWinners-C0aKkeDL.js → CasinoWinners-BeLObVW8.js} +105 -105
- package/components/{CasinoWinners-DdSjlEaj.js → CasinoWinners-mCHa7x4u.js} +108 -108
- package/components/CasinoWinners-pE3a77v3.cjs +1 -0
- package/components/GeneralAnimationLoading-BJ87LnuC.cjs +1 -0
- package/components/{GeneralAnimationLoading-DhrziAD2.js → GeneralAnimationLoading-BaLCQhkc.js} +23 -23
- package/components/{GeneralAnimationLoading-B00sPlMG.js → GeneralAnimationLoading-SLNmfkn9.js} +22 -22
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +7 -7
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{app-globals-0f993ce5-4b17CI_n.cjs → app-globals-0f993ce5-3HCMFTIi.cjs} +1 -1
- package/stencil/{app-globals-0f993ce5-DfNOCk8l.js → app-globals-0f993ce5-DYjuqKIH.js} +2 -2
- package/stencil/{casino-play-random-game-rhXCh2EW.js → casino-play-random-game-BnjM-0qi.js} +2 -2
- package/stencil/{casino-play-random-game-CSy8nXT0.js → casino-play-random-game-DRQxeH3W.js} +2 -2
- package/stencil/{casino-play-random-game-PuRF3mXV.cjs → casino-play-random-game-dt2t2wAq.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-CZQxP9GA.js → casino-play-random-game_2-BvZbjHRJ.js} +92 -64
- package/stencil/{casino-play-random-game_2-CBAgufN5.cjs → casino-play-random-game_2-ZYQBmsCp.cjs} +3 -3
- package/stencil/{casino-play-random-game_2-BBgMV3ws.js → casino-play-random-game_2-aWmRrJVX.js} +91 -64
- package/stencil/{index-328e660d-BLQrzwBv.cjs → index-328e660d-BN7c7sEP.cjs} +1 -1
- package/stencil/{index-328e660d-Belout2l.js → index-328e660d-CJOt0Yr_.js} +1 -1
- package/stencil/{index-328e660d-BqUO7ccV.js → index-328e660d-CZwFIIV5.js} +1 -1
- package/stencil/{index-b2193545-DuCTLpV-.cjs → index-b2193545-BYDm8FOU.cjs} +1 -1
- package/stencil/{index-b2193545-DG7pnr-7.js → index-b2193545-CVvOSay7.js} +1 -1
- package/stencil/{index-b2193545-BZAG_Jnw.js → index-b2193545-DkSkdO8p.js} +1 -1
- package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-BNLichPz.cjs} +1 -1
- package/stencil/{ui-image-DDulMZDF.js → ui-image-D8_P6p7o.js} +1 -1
- package/stencil/{ui-image-DwWgscwP.js → ui-image-KAOdlRk_.js} +1 -1
- package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-CbcQXFpx.js} +3 -3
- package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-DgkQtSrH.js} +3 -3
- package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-TOJItxHv.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-BD9hI4Jz.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-CGu6WFdq.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CaxkPCnR.js} +1 -1
- package/components/CasinoCalendar-4k288rHh.cjs +0 -19
- package/components/CasinoCalendar-BNbVJJdG.js +0 -5140
- package/components/CasinoCalendar-DAKxxPPx.js +0 -5101
- package/components/CasinoCalendarDailyDetails-CerVlpW4.cjs +0 -1
- package/components/CasinoCalendarDailyItem-B7YANGR4.cjs +0 -1
- package/components/CasinoCollectionsProviders-OZw09qnR.cjs +0 -1
- package/components/CasinoFavoritesSection-DYzKNVZJ.cjs +0 -1
- package/components/CasinoFilter-BP97bmoQ.cjs +0 -1
- package/components/CasinoGameThumbnail-CySg8Qzs.js +0 -4359
- package/components/CasinoGameThumbnail-W0nETKCH.cjs +0 -47
- package/components/CasinoGameThumbnail-ge_yVb-v.js +0 -4375
- package/components/CasinoGamesCategorySection-B2CXUJ-V.js +0 -3217
- package/components/CasinoGamesCategorySection-B8IjpDwj.js +0 -3185
- package/components/CasinoGamesCategorySection-DCjn0aiz.cjs +0 -1
- package/components/CasinoJackpotBanner-DRtiH_Mn.cjs +0 -1
- package/components/CasinoLastPlayedSection-CP4YzhAu.cjs +0 -1
- package/components/CasinoMostPlayedSection-DPG3YsM6.cjs +0 -1
- package/components/CasinoMyGames-Bqyyy2Me.cjs +0 -1
- package/components/CasinoPage-BNU69s1m.js +0 -4353
- package/components/CasinoPage-BRSRsp5F.js +0 -4334
- package/components/CasinoPage-D-FENg4m.cjs +0 -1
- package/components/CasinoRandomGame-DRGWOXO6.cjs +0 -2
- package/components/CasinoSearch-D14Ak2E9.cjs +0 -1
- package/components/CasinoSort-BVyHskml.cjs +0 -1
- package/components/CasinoWinners-5S4Rqt23.cjs +0 -1
- package/components/GeneralAnimationLoading-wnzFPEVd.cjs +0 -1
package/components/{CasinoCalendarDailyItem-77QxCgOg.js → CasinoCalendarDailyItem-kbMnL8LX.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as U, $ as V, S as G, i as J, s as K, f as g, b as Q, n as R, d as X, R as A, A as B, v as O, h as u, V as W, e as Y, q as r, C as Z, g as c, r as j, w as P, j as $, k as ee, t as te, l as q, F as ae, G as ie, H as ne, c as re, E as oe } from "./CasinoPage-CEwUBRwz.js";
|
|
2
|
+
import "../stencil/ui-image-KAOdlRk_.js";
|
|
3
|
+
function H(a, e) {
|
|
4
|
+
U(a, e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
6
|
+
function de(a) {
|
|
7
|
+
V.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const N = {
|
|
10
10
|
en: {
|
|
11
11
|
error: "500 Error - Internal Server Error",
|
|
12
12
|
loading: "Loading ...",
|
|
@@ -74,149 +74,149 @@ const H = {
|
|
|
74
74
|
sunday: "Sunday"
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
function de(a) {
|
|
78
|
-
V(a, "svelte-l9b1y7", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
79
|
-
}
|
|
80
77
|
function le(a) {
|
|
81
|
-
|
|
78
|
+
Q(a, "svelte-l9b1y7", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
79
|
+
}
|
|
80
|
+
function se(a) {
|
|
81
|
+
let e, i, v, l, m, _, n, b, s, x, C, h, f = (
|
|
82
82
|
/*$_*/
|
|
83
83
|
a[8](`${/*dailyday*/
|
|
84
84
|
a[2]}`) + ""
|
|
85
|
-
),
|
|
85
|
+
), p, w, o, M, k, F, E, S, I, T, L;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
88
|
-
|
|
88
|
+
e = c("div"), i = c("div"), v = c("div"), l = c("div"), m = c("div"), m.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = j(), n = c("div"), b = c("div"), s = c("ui-image"), C = j(), h = c("div"), p = P(f), w = j(), o = c("div"), M = j(), k = c("div"), F = c("button"), E = P(
|
|
89
89
|
/*dailybuttontitle*/
|
|
90
90
|
a[3]
|
|
91
|
-
), u(
|
|
92
|
-
a[1]) ||
|
|
91
|
+
), u(m, "class", "CalendarBar"), A(s.src, x = /*dailyicon*/
|
|
92
|
+
a[1]) || B(s, "src", x), B(
|
|
93
93
|
s,
|
|
94
94
|
"alt",
|
|
95
95
|
/*dailyicon*/
|
|
96
96
|
a[1]
|
|
97
|
-
), u(
|
|
98
|
-
a[4] == "OpenCalendarModal" ? "Tear" : "")),
|
|
99
|
-
a[0] + "')"), u(l, "class", "CalendarCard"), u(
|
|
97
|
+
), u(b, "class", "CasinoCalendarDailyIcon"), u(h, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(F, "class", "MoreInfoButton"), u(k, "class", "CasinoCalendarDailyItemButton"), u(n, "class", S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
98
|
+
a[4] == "OpenCalendarModal" ? "Tear" : "")), W(n, "--background-image-url", "url('" + /*dailybackground*/
|
|
99
|
+
a[0] + "')"), u(l, "class", "CalendarCard"), u(v, "class", "CasinoCalendarItems"), u(i, "class", I = "Container " + /*mobileView*/
|
|
100
100
|
(a[7] ? "Mobile" : ""));
|
|
101
101
|
},
|
|
102
|
-
m(d,
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
m(d, y) {
|
|
103
|
+
Y(d, e, y), r(e, i), r(i, v), r(v, l), r(l, m), r(l, _), r(l, n), r(n, b), r(b, s), r(n, C), r(n, h), r(h, p), r(n, w), r(n, o), a[16](o), r(n, M), r(n, k), r(k, F), r(F, E), a[18](e), T || (L = Z(
|
|
104
|
+
F,
|
|
105
105
|
"click",
|
|
106
106
|
/*click_handler*/
|
|
107
107
|
a[17]
|
|
108
|
-
),
|
|
108
|
+
), T = !0);
|
|
109
109
|
},
|
|
110
|
-
p(d, [
|
|
111
|
-
|
|
112
|
-
2 && !
|
|
113
|
-
d[1]) &&
|
|
114
|
-
2 &&
|
|
110
|
+
p(d, [y]) {
|
|
111
|
+
y & /*dailyicon*/
|
|
112
|
+
2 && !A(s.src, x = /*dailyicon*/
|
|
113
|
+
d[1]) && B(s, "src", x), y & /*dailyicon*/
|
|
114
|
+
2 && B(
|
|
115
115
|
s,
|
|
116
116
|
"alt",
|
|
117
117
|
/*dailyicon*/
|
|
118
118
|
d[1]
|
|
119
|
-
),
|
|
120
|
-
260 &&
|
|
119
|
+
), y & /*$_, dailyday*/
|
|
120
|
+
260 && f !== (f = /*$_*/
|
|
121
121
|
d[8](`${/*dailyday*/
|
|
122
|
-
d[2]}`) + "") &&
|
|
123
|
-
8 &&
|
|
124
|
-
|
|
122
|
+
d[2]}`) + "") && O(p, f), y & /*dailybuttontitle*/
|
|
123
|
+
8 && O(
|
|
124
|
+
E,
|
|
125
125
|
/*dailybuttontitle*/
|
|
126
126
|
d[3]
|
|
127
|
-
),
|
|
127
|
+
), y & /*index*/
|
|
128
128
|
16 && S !== (S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
129
|
-
d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(n, "class", S),
|
|
130
|
-
1 &&
|
|
131
|
-
d[0] + "')"),
|
|
132
|
-
128 &&
|
|
133
|
-
(d[7] ? "Mobile" : "")) && u(i, "class",
|
|
129
|
+
d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(n, "class", S), y & /*dailybackground*/
|
|
130
|
+
1 && W(n, "--background-image-url", "url('" + /*dailybackground*/
|
|
131
|
+
d[0] + "')"), y & /*mobileView*/
|
|
132
|
+
128 && I !== (I = "Container " + /*mobileView*/
|
|
133
|
+
(d[7] ? "Mobile" : "")) && u(i, "class", I);
|
|
134
134
|
},
|
|
135
|
-
i:
|
|
136
|
-
o:
|
|
135
|
+
i: R,
|
|
136
|
+
o: R,
|
|
137
137
|
d(d) {
|
|
138
|
-
d &&
|
|
138
|
+
d && X(e), a[16](null), a[18](null), T = !1, L();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
function
|
|
143
|
-
let
|
|
144
|
-
|
|
145
|
-
let { lang: l = "" } =
|
|
146
|
-
const
|
|
147
|
-
|
|
142
|
+
function ue(a, e, i) {
|
|
143
|
+
let v;
|
|
144
|
+
$(a, oe, (t) => i(8, v = t));
|
|
145
|
+
let { lang: l = "" } = e, { dailybackground: m = "" } = e, { dailyicon: _ = "" } = e, { dailyday: n = "" } = e, { dailydescription: b = "<p></p>" } = e, { dailybuttontitle: s = "" } = e, { index: x = "0" } = e, { mbsource: C } = e, { clientstyling: h = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: p = "" } = e, w, o, M, k = !1, F = window.navigator.userAgent;
|
|
146
|
+
const E = () => {
|
|
147
|
+
de(l);
|
|
148
148
|
};
|
|
149
|
-
Object.keys(
|
|
150
|
-
|
|
149
|
+
Object.keys(N).forEach((t) => {
|
|
150
|
+
H(t, N[t]);
|
|
151
151
|
});
|
|
152
|
-
const
|
|
153
|
-
let
|
|
154
|
-
if (
|
|
155
|
-
return fetch(
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
152
|
+
const S = () => {
|
|
153
|
+
let t = p;
|
|
154
|
+
if (t)
|
|
155
|
+
return fetch(t).then((z) => z.json()).then((z) => {
|
|
156
|
+
Object.keys(z).forEach((D) => {
|
|
157
|
+
H(D, z[D]);
|
|
158
158
|
});
|
|
159
|
-
}).catch((
|
|
160
|
-
console.log(
|
|
159
|
+
}).catch((z) => {
|
|
160
|
+
console.log(z);
|
|
161
161
|
});
|
|
162
|
-
},
|
|
163
|
-
let
|
|
164
|
-
|
|
165
|
-
},
|
|
166
|
-
window.postMessage({ type: "OpenCalendar", index:
|
|
162
|
+
}, I = () => {
|
|
163
|
+
let t = document.createElement("div");
|
|
164
|
+
t.innerHTML = b, w && w.append(t);
|
|
165
|
+
}, T = () => {
|
|
166
|
+
window.postMessage({ type: "OpenCalendar", index: x }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
167
167
|
};
|
|
168
|
-
|
|
168
|
+
ee(() => (te(F) && i(7, k = !0), () => {
|
|
169
169
|
}));
|
|
170
|
-
function
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
function L(t) {
|
|
171
|
+
q[t ? "unshift" : "push"](() => {
|
|
172
|
+
w = t, i(6, w);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
const
|
|
176
|
-
function
|
|
177
|
-
|
|
178
|
-
o =
|
|
175
|
+
const d = () => T();
|
|
176
|
+
function y(t) {
|
|
177
|
+
q[t ? "unshift" : "push"](() => {
|
|
178
|
+
o = t, i(5, o);
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
|
-
return a.$$set = (
|
|
182
|
-
"lang" in
|
|
181
|
+
return a.$$set = (t) => {
|
|
182
|
+
"lang" in t && i(10, l = t.lang), "dailybackground" in t && i(0, m = t.dailybackground), "dailyicon" in t && i(1, _ = t.dailyicon), "dailyday" in t && i(2, n = t.dailyday), "dailydescription" in t && i(11, b = t.dailydescription), "dailybuttontitle" in t && i(3, s = t.dailybuttontitle), "index" in t && i(4, x = t.index), "mbsource" in t && i(12, C = t.mbsource), "clientstyling" in t && i(13, h = t.clientstyling), "clientstylingurl" in t && i(14, f = t.clientstylingurl), "translationurl" in t && i(15, p = t.translationurl);
|
|
183
183
|
}, a.$$.update = () => {
|
|
184
184
|
a.$$.dirty & /*lang*/
|
|
185
|
-
1024 && l &&
|
|
186
|
-
33792 && l &&
|
|
187
|
-
2063 &&
|
|
188
|
-
8224 &&
|
|
189
|
-
16416 &&
|
|
190
|
-
4128 &&
|
|
185
|
+
1024 && l && E(), a.$$.dirty & /*lang, translationurl*/
|
|
186
|
+
33792 && l && p && S(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
187
|
+
2063 && _ && n && b && s && m && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
188
|
+
8224 && h && o && ae(o, h), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
189
|
+
16416 && f && o && ie(o, f), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
190
|
+
4128 && C && o && ne(o, `${C}.Style`, M);
|
|
191
191
|
}, [
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
m,
|
|
193
|
+
_,
|
|
194
194
|
n,
|
|
195
195
|
s,
|
|
196
|
-
|
|
196
|
+
x,
|
|
197
197
|
o,
|
|
198
|
-
p,
|
|
199
|
-
T,
|
|
200
198
|
w,
|
|
201
199
|
k,
|
|
202
|
-
l,
|
|
203
|
-
g,
|
|
204
200
|
v,
|
|
201
|
+
T,
|
|
202
|
+
l,
|
|
205
203
|
b,
|
|
204
|
+
C,
|
|
206
205
|
h,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
d
|
|
206
|
+
f,
|
|
207
|
+
p,
|
|
208
|
+
L,
|
|
209
|
+
d,
|
|
210
|
+
y
|
|
211
211
|
];
|
|
212
212
|
}
|
|
213
|
-
class
|
|
214
|
-
constructor(
|
|
213
|
+
class ce extends G {
|
|
214
|
+
constructor(e) {
|
|
215
215
|
super(), J(
|
|
216
216
|
this,
|
|
217
|
-
|
|
217
|
+
e,
|
|
218
|
+
ue,
|
|
218
219
|
se,
|
|
219
|
-
le,
|
|
220
220
|
K,
|
|
221
221
|
{
|
|
222
222
|
lang: 10,
|
|
@@ -231,77 +231,77 @@ class ue extends G {
|
|
|
231
231
|
clientstylingurl: 14,
|
|
232
232
|
translationurl: 15
|
|
233
233
|
},
|
|
234
|
-
|
|
234
|
+
le
|
|
235
235
|
);
|
|
236
236
|
}
|
|
237
237
|
get lang() {
|
|
238
238
|
return this.$$.ctx[10];
|
|
239
239
|
}
|
|
240
|
-
set lang(
|
|
241
|
-
this.$$set({ lang:
|
|
240
|
+
set lang(e) {
|
|
241
|
+
this.$$set({ lang: e }), g();
|
|
242
242
|
}
|
|
243
243
|
get dailybackground() {
|
|
244
244
|
return this.$$.ctx[0];
|
|
245
245
|
}
|
|
246
|
-
set dailybackground(
|
|
247
|
-
this.$$set({ dailybackground:
|
|
246
|
+
set dailybackground(e) {
|
|
247
|
+
this.$$set({ dailybackground: e }), g();
|
|
248
248
|
}
|
|
249
249
|
get dailyicon() {
|
|
250
250
|
return this.$$.ctx[1];
|
|
251
251
|
}
|
|
252
|
-
set dailyicon(
|
|
253
|
-
this.$$set({ dailyicon:
|
|
252
|
+
set dailyicon(e) {
|
|
253
|
+
this.$$set({ dailyicon: e }), g();
|
|
254
254
|
}
|
|
255
255
|
get dailyday() {
|
|
256
256
|
return this.$$.ctx[2];
|
|
257
257
|
}
|
|
258
|
-
set dailyday(
|
|
259
|
-
this.$$set({ dailyday:
|
|
258
|
+
set dailyday(e) {
|
|
259
|
+
this.$$set({ dailyday: e }), g();
|
|
260
260
|
}
|
|
261
261
|
get dailydescription() {
|
|
262
262
|
return this.$$.ctx[11];
|
|
263
263
|
}
|
|
264
|
-
set dailydescription(
|
|
265
|
-
this.$$set({ dailydescription:
|
|
264
|
+
set dailydescription(e) {
|
|
265
|
+
this.$$set({ dailydescription: e }), g();
|
|
266
266
|
}
|
|
267
267
|
get dailybuttontitle() {
|
|
268
268
|
return this.$$.ctx[3];
|
|
269
269
|
}
|
|
270
|
-
set dailybuttontitle(
|
|
271
|
-
this.$$set({ dailybuttontitle:
|
|
270
|
+
set dailybuttontitle(e) {
|
|
271
|
+
this.$$set({ dailybuttontitle: e }), g();
|
|
272
272
|
}
|
|
273
273
|
get index() {
|
|
274
274
|
return this.$$.ctx[4];
|
|
275
275
|
}
|
|
276
|
-
set index(
|
|
277
|
-
this.$$set({ index:
|
|
276
|
+
set index(e) {
|
|
277
|
+
this.$$set({ index: e }), g();
|
|
278
278
|
}
|
|
279
279
|
get mbsource() {
|
|
280
280
|
return this.$$.ctx[12];
|
|
281
281
|
}
|
|
282
|
-
set mbsource(
|
|
283
|
-
this.$$set({ mbsource:
|
|
282
|
+
set mbsource(e) {
|
|
283
|
+
this.$$set({ mbsource: e }), g();
|
|
284
284
|
}
|
|
285
285
|
get clientstyling() {
|
|
286
286
|
return this.$$.ctx[13];
|
|
287
287
|
}
|
|
288
|
-
set clientstyling(
|
|
289
|
-
this.$$set({ clientstyling:
|
|
288
|
+
set clientstyling(e) {
|
|
289
|
+
this.$$set({ clientstyling: e }), g();
|
|
290
290
|
}
|
|
291
291
|
get clientstylingurl() {
|
|
292
292
|
return this.$$.ctx[14];
|
|
293
293
|
}
|
|
294
|
-
set clientstylingurl(
|
|
295
|
-
this.$$set({ clientstylingurl:
|
|
294
|
+
set clientstylingurl(e) {
|
|
295
|
+
this.$$set({ clientstylingurl: e }), g();
|
|
296
296
|
}
|
|
297
297
|
get translationurl() {
|
|
298
298
|
return this.$$.ctx[15];
|
|
299
299
|
}
|
|
300
|
-
set translationurl(
|
|
301
|
-
this.$$set({ translationurl:
|
|
300
|
+
set translationurl(e) {
|
|
301
|
+
this.$$set({ translationurl: e }), g();
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
re(ce, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
305
305
|
export {
|
|
306
|
-
|
|
306
|
+
ce as default
|
|
307
307
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPage-D1gCtQ9f.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,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(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;
|