@everymatrix/casino-lobby 1.60.1 → 1.61.0
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-CR3NqEmo.cjs +22 -0
- package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-DoAbSivX.js} +690 -712
- package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-m598e8c0.js} +696 -718
- package/components/CasinoCalendarDailyDetails-B-xYqIE0.js +694 -0
- package/components/CasinoCalendarDailyDetails-DwcDf4x5.js +694 -0
- package/components/CasinoCalendarDailyDetails-ihh2Fdl-.cjs +1 -0
- package/components/CasinoCalendarDailyItem-CVcykkiO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DD1zORXJ.js +307 -0
- package/components/CasinoCalendarDailyItem-Jx2wAoY3.js +307 -0
- package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DRIsr69C.js → CasinoCategoriesSlider-DE0uzQfF.js} +68 -68
- package/components/{CasinoCategoriesSlider-DYab11Z3.js → CasinoCategoriesSlider-DW81y1el.js} +69 -69
- package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-CkxoIQMQ.js} +205 -203
- package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-FTsSIZe7.js} +161 -160
- package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
- package/components/{CasinoFavoritesSection-a8e9F8Ga.js → CasinoFavoritesSection-CKWkFYb4.js} +26 -26
- package/components/{CasinoFavoritesSection-51a03OgV.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
- package/components/{CasinoFavoritesSection-uCNlSq84.js → CasinoFavoritesSection-MnxoGd6P.js} +26 -26
- package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
- package/components/CasinoFilter-Cs9ZMDdP.js +633 -0
- package/components/CasinoFilter-D80YfaXW.js +632 -0
- package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-B8-ifO-z.js} +898 -897
- package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
- package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-CLMVY2d0.js} +972 -971
- package/components/CasinoGameThumbnail-C3GiNGVC.js +1084 -0
- package/components/CasinoGameThumbnail-D6vWUaB6.js +1068 -0
- package/components/CasinoGameThumbnail-p0ydxgWU.cjs +30 -0
- package/components/{CasinoGamesCategorySection-CYKXSIYS.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-BGemjnwH.js → CasinoGamesCategorySection-CIfBLzjC.js} +247 -247
- package/components/{CasinoGamesCategorySection-CHynVnZ8.js → CasinoGamesCategorySection-o-CZJ4iD.js} +247 -247
- package/components/CasinoJackpotBanner-B3ZF9rcH.js +698 -0
- package/components/CasinoJackpotBanner-C8HGJTlE.cjs +1 -0
- package/components/CasinoJackpotBanner-CdD_15mU.js +694 -0
- package/components/{CasinoLastPlayedSection-B64b2eJF.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CyKppEbZ.js → CasinoLastPlayedSection-BPD5poPp.js} +44 -44
- package/components/{CasinoLastPlayedSection-BGk4k--h.js → CasinoLastPlayedSection-Dxbzb-4o.js} +44 -44
- package/components/{CasinoLobby-PcRgXAeR.js → CasinoLobby-6kkVRa0v.js} +54 -54
- package/components/{CasinoLobby-DddN7Gev.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
- package/components/{CasinoLobby-CN5AmC5K.js → CasinoLobby-Bntp7e5i.js} +56 -56
- package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
- package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-QtSV_GhN.js} +37 -37
- package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-bTxbu9d4.js} +37 -37
- package/components/{CasinoMostPlayedSection-C-D6CJKY.js → CasinoMostPlayedSection-B9_yeLMk.js} +49 -49
- package/components/{CasinoMostPlayedSection-qIiZdQQG.js → CasinoMostPlayedSection-D-VpqDyh.js} +49 -49
- package/components/{CasinoMostPlayedSection-QIdWMIjm.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
- package/components/{CasinoMyGames-DjXz5K51.js → CasinoMyGames-BEUz5puH.js} +46 -46
- package/components/{CasinoMyGames-Wpdq0oL6.js → CasinoMyGames-BQtk1EEq.js} +49 -49
- package/components/{CasinoMyGames-Dy1sj15h.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
- package/components/{CasinoPage-DhSkte5y.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
- package/components/{CasinoPage-DMCyJTE2.js → CasinoPage-CiONVvV8.js} +85 -85
- package/components/{CasinoPage-D1fSPDEj.js → CasinoPage-DOSD686t.js} +93 -93
- package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
- package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
- package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DQXmOLue.js} +157 -156
- package/components/{CasinoSearch-BgD0xvTa.js → CasinoSearch-CTxffz7Z.js} +65 -65
- package/components/{CasinoSearch-CRhnd9Yq.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
- package/components/{CasinoSearch-DOguc7Dt.js → CasinoSearch-DTglx2jN.js} +65 -65
- package/components/CasinoSlider-BU163_5n.cjs +1 -0
- package/components/{CasinoSlider---x4M_hm.js → CasinoSlider-CGpDul3G.js} +221 -220
- package/components/{CasinoSlider-PeKujgAE.js → CasinoSlider-pPfml1-U.js} +166 -165
- package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-BSaxbC32.js} +110 -111
- package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
- package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DGdM4QXv.js} +104 -103
- package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-BwwKfUuN.js} +176 -175
- package/components/CasinoWinners-CtwqFnag.cjs +1 -0
- package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-i5RqXY4N.js} +185 -184
- package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-BszAoL3H.js} +18 -18
- package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
- package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Xq-D41Fg.js} +18 -18
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
- package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-6EpPs13y.js} +4 -9
- package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-BUvMKyaw.js} +7 -12
- package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
- package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
- package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
- package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
- package/stencil/index-b2193545-CGYrx6SV.js +503 -0
- package/stencil/index-b2193545-DU7jU8hT.cjs +1 -0
- package/stencil/index-b2193545-k_uiu1dU.js +519 -0
- package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
- package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
- package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
- package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
- package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
- package/stencil/ui-image-CV8AJ9cY.js +29 -0
- package/stencil/ui-image-DG3xEaHN.js +11 -0
- package/stencil/ui-image-LuWVcxjH.cjs +1 -0
- package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-22AocHRT.js} +8 -8
- package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
- package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
- package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-CMD3xF0X.js} +5 -5
- package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
- package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
- package/components/CasinoCalendarDailyDetails-CAbwFBvZ.js +0 -693
- package/components/CasinoCalendarDailyDetails-CGaAU2gc.js +0 -693
- package/components/CasinoCalendarDailyDetails-CsEZhtVE.cjs +0 -1
- package/components/CasinoCalendarDailyItem-5aqnKIMr.js +0 -306
- package/components/CasinoCalendarDailyItem-DSlC0F3s.cjs +0 -1
- package/components/CasinoCalendarDailyItem-D_MTrKed.js +0 -306
- package/components/CasinoCategoriesSlider-_X531XfJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-B6occ8TF.cjs +0 -1
- package/components/CasinoFilter-BTof425X.js +0 -632
- package/components/CasinoFilter-BWjq7W1e.js +0 -631
- package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
- package/components/CasinoGamePage-D2huRBJX.cjs +0 -18
- package/components/CasinoGameThumbnail-CrrXNmw1.js +0 -1882
- package/components/CasinoGameThumbnail-Dq26TPSU.cjs +0 -38
- package/components/CasinoGameThumbnail-GBvTkmL8.js +0 -1866
- package/components/CasinoJackpotBanner-CuP8WP5Q.js +0 -697
- package/components/CasinoJackpotBanner-Dl2rX6vI.js +0 -693
- package/components/CasinoJackpotBanner-DredUN6K.cjs +0 -1
- package/components/CasinoRandomGame-CBcSHzZL.cjs +0 -2
- package/components/CasinoSlider-BsszznrS.cjs +0 -1
- package/components/CasinoWinners-Cp1yMlzb.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
- package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
- package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
- package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
- package/stencil/index-b2193545-BDVBrmNo.js +0 -503
- package/stencil/index-b2193545-CY979_sp.js +0 -519
- package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
import { a as H, $ as N, S as U, i as G, f as y, c as V, s as J, b as K, e as u, w as B, x as D, y as o, H as R, L as F, d as Q, z as r, A as X, E as A, G as O, j as Y, k as Z, o as $, l as ee, m as te, p as ae, q as W, r as ie, I as ne } from "./CasinoCalendar-6ncpIgng.js";
|
|
2
|
-
function P(a, t) {
|
|
3
|
-
H(a, t);
|
|
4
|
-
}
|
|
5
|
-
function re(a) {
|
|
6
|
-
N.set(a);
|
|
7
|
-
}
|
|
8
|
-
const q = {
|
|
9
|
-
en: {
|
|
10
|
-
error: "500 Error - Internal Server Error",
|
|
11
|
-
loading: "Loading ...",
|
|
12
|
-
monday: "Monday",
|
|
13
|
-
tuesday: "Tuesday",
|
|
14
|
-
wednesday: "Wednesday",
|
|
15
|
-
thursday: "Thursday",
|
|
16
|
-
friday: "Friday",
|
|
17
|
-
saturday: "Saturday",
|
|
18
|
-
sunday: "Sunday"
|
|
19
|
-
},
|
|
20
|
-
hr: {
|
|
21
|
-
error: "500 Error - Internal Server Error",
|
|
22
|
-
loading: "Loading ...",
|
|
23
|
-
monday: "ponedjeljak",
|
|
24
|
-
tuesday: "utorak",
|
|
25
|
-
wednesday: "srijeda",
|
|
26
|
-
thursday: "četvrtak",
|
|
27
|
-
friday: "petak",
|
|
28
|
-
saturday: "subota",
|
|
29
|
-
sunday: "nedjelja"
|
|
30
|
-
},
|
|
31
|
-
"pt-br": {
|
|
32
|
-
error: "500 Error - Internal Server Error",
|
|
33
|
-
loading: "Loading ...",
|
|
34
|
-
monday: "Monday",
|
|
35
|
-
tuesday: "Tuesday",
|
|
36
|
-
wednesday: "Wednesday",
|
|
37
|
-
thursday: "Thursday",
|
|
38
|
-
friday: "Friday",
|
|
39
|
-
saturday: "Saturday",
|
|
40
|
-
sunday: "Sunday"
|
|
41
|
-
},
|
|
42
|
-
"es-mx": {
|
|
43
|
-
error: "500 Error - Internal Server Error",
|
|
44
|
-
loading: "Loading ...",
|
|
45
|
-
monday: "Monday",
|
|
46
|
-
tuesday: "Tuesday",
|
|
47
|
-
wednesday: "Wednesday",
|
|
48
|
-
thursday: "Thursday",
|
|
49
|
-
friday: "Friday",
|
|
50
|
-
saturday: "Saturday",
|
|
51
|
-
sunday: "Sunday"
|
|
52
|
-
},
|
|
53
|
-
tr: {
|
|
54
|
-
error: "500 Error - Internal Server Error",
|
|
55
|
-
loading: "Loading ...",
|
|
56
|
-
monday: "Monday",
|
|
57
|
-
tuesday: "Tuesday",
|
|
58
|
-
wednesday: "Wednesday",
|
|
59
|
-
thursday: "Thursday",
|
|
60
|
-
friday: "Friday",
|
|
61
|
-
saturday: "Saturday",
|
|
62
|
-
sunday: "Sunday"
|
|
63
|
-
},
|
|
64
|
-
"en-us": {
|
|
65
|
-
error: "500 Error - Internal Server Error",
|
|
66
|
-
loading: "Loading ...",
|
|
67
|
-
monday: "Monday",
|
|
68
|
-
tuesday: "Tuesday",
|
|
69
|
-
wednesday: "Wednesday",
|
|
70
|
-
thursday: "Thursday",
|
|
71
|
-
friday: "Friday",
|
|
72
|
-
saturday: "Saturday",
|
|
73
|
-
sunday: "Sunday"
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
function oe(a) {
|
|
77
|
-
K(a, "svelte-15mlcfp", '*,*::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:20px;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: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:20px;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: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:var(--emw--color-gray-300, #58586B);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;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon 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, 20px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
78
|
-
}
|
|
79
|
-
function de(a) {
|
|
80
|
-
let t, n, w, s, h, S, i, g, c, x, C, b, f = (
|
|
81
|
-
/*$_*/
|
|
82
|
-
a[8](`${/*dailyday*/
|
|
83
|
-
a[2]}`) + ""
|
|
84
|
-
), p, m, d, T, I, v, E, _, k, M, L;
|
|
85
|
-
return {
|
|
86
|
-
c() {
|
|
87
|
-
t = u("div"), n = u("div"), w = u("div"), s = u("div"), h = u("div"), h.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', S = B(), i = u("div"), g = u("div"), c = u("img"), C = B(), b = u("div"), p = D(f), m = B(), d = u("div"), T = B(), I = u("div"), v = u("button"), E = D(
|
|
88
|
-
/*dailybuttontitle*/
|
|
89
|
-
a[3]
|
|
90
|
-
), o(h, "class", "CalendarBar"), R(c.src, x = /*dailyicon*/
|
|
91
|
-
a[1]) || o(c, "src", x), o(
|
|
92
|
-
c,
|
|
93
|
-
"alt",
|
|
94
|
-
/*dailyicon*/
|
|
95
|
-
a[1]
|
|
96
|
-
), o(g, "class", "CasinoCalendarDailyIcon"), o(b, "class", "CasinoCalendarDailyTitle"), o(d, "class", "CasinoCalendarDailyItemDescription"), o(v, "class", "MoreInfoButton"), o(I, "class", "CasinoCalendarDailyItemButton"), o(i, "class", _ = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
97
|
-
a[4] == "OpenCalendarModal" ? "Tear" : "")), F(i, "background-image", "url('" + /*dailybackground*/
|
|
98
|
-
a[0] + "')"), F(i, "background-size", "cover"), F(i, "background-position", "center"), F(i, "-webkit-background-size", "cover"), F(i, "-moz-background-size", "cover"), F(i, "-o-background-size", "cover"), o(s, "class", "CalendarCard"), o(w, "class", "CasinoCalendarItems"), o(n, "class", k = "Container " + /*mobileView*/
|
|
99
|
-
(a[7] ? "Mobile" : ""));
|
|
100
|
-
},
|
|
101
|
-
m(l, e) {
|
|
102
|
-
Q(l, t, e), r(t, n), r(n, w), r(w, s), r(s, h), r(s, S), r(s, i), r(i, g), r(g, c), r(i, C), r(i, b), r(b, p), r(i, m), r(i, d), a[16](d), r(i, T), r(i, I), r(I, v), r(v, E), a[18](t), M || (L = X(
|
|
103
|
-
v,
|
|
104
|
-
"click",
|
|
105
|
-
/*click_handler*/
|
|
106
|
-
a[17]
|
|
107
|
-
), M = !0);
|
|
108
|
-
},
|
|
109
|
-
p(l, [e]) {
|
|
110
|
-
e & /*dailyicon*/
|
|
111
|
-
2 && !R(c.src, x = /*dailyicon*/
|
|
112
|
-
l[1]) && o(c, "src", x), e & /*dailyicon*/
|
|
113
|
-
2 && o(
|
|
114
|
-
c,
|
|
115
|
-
"alt",
|
|
116
|
-
/*dailyicon*/
|
|
117
|
-
l[1]
|
|
118
|
-
), e & /*$_, dailyday*/
|
|
119
|
-
260 && f !== (f = /*$_*/
|
|
120
|
-
l[8](`${/*dailyday*/
|
|
121
|
-
l[2]}`) + "") && A(p, f), e & /*dailybuttontitle*/
|
|
122
|
-
8 && A(
|
|
123
|
-
E,
|
|
124
|
-
/*dailybuttontitle*/
|
|
125
|
-
l[3]
|
|
126
|
-
), e & /*index*/
|
|
127
|
-
16 && _ !== (_ = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
128
|
-
l[4] == "OpenCalendarModal" ? "Tear" : "")) && o(i, "class", _), e & /*dailybackground*/
|
|
129
|
-
1 && F(i, "background-image", "url('" + /*dailybackground*/
|
|
130
|
-
l[0] + "')"), e & /*mobileView*/
|
|
131
|
-
128 && k !== (k = "Container " + /*mobileView*/
|
|
132
|
-
(l[7] ? "Mobile" : "")) && o(n, "class", k);
|
|
133
|
-
},
|
|
134
|
-
i: O,
|
|
135
|
-
o: O,
|
|
136
|
-
d(l) {
|
|
137
|
-
l && Y(t), a[16](null), a[18](null), M = !1, L();
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
function le(a, t, n) {
|
|
142
|
-
let w;
|
|
143
|
-
Z(a, ne, (e) => n(8, w = e));
|
|
144
|
-
let { lang: s = "" } = t, { dailybackground: h = "" } = t, { dailyicon: S = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: c = "" } = t, { index: x = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, m, d, T = !1, I = window.navigator.userAgent;
|
|
145
|
-
const v = () => {
|
|
146
|
-
re(s);
|
|
147
|
-
};
|
|
148
|
-
Object.keys(q).forEach((e) => {
|
|
149
|
-
P(e, q[e]);
|
|
150
|
-
});
|
|
151
|
-
const E = () => {
|
|
152
|
-
let e = p;
|
|
153
|
-
if (e)
|
|
154
|
-
return fetch(e).then((z) => z.json()).then((z) => {
|
|
155
|
-
Object.keys(z).forEach((j) => {
|
|
156
|
-
P(j, z[j]);
|
|
157
|
-
});
|
|
158
|
-
}).catch((z) => {
|
|
159
|
-
console.log(z);
|
|
160
|
-
});
|
|
161
|
-
}, _ = () => {
|
|
162
|
-
let e = document.createElement("div");
|
|
163
|
-
e.innerHTML = g, m && m.append(e);
|
|
164
|
-
}, k = () => {
|
|
165
|
-
window.postMessage({ type: "OpenCalendar", index: x }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
166
|
-
};
|
|
167
|
-
$(() => (ae(I) && n(7, T = !0), () => {
|
|
168
|
-
}));
|
|
169
|
-
function M(e) {
|
|
170
|
-
W[e ? "unshift" : "push"](() => {
|
|
171
|
-
m = e, n(6, m);
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
const L = () => k();
|
|
175
|
-
function l(e) {
|
|
176
|
-
W[e ? "unshift" : "push"](() => {
|
|
177
|
-
d = e, n(5, d);
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
return a.$$set = (e) => {
|
|
181
|
-
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, h = e.dailybackground), "dailyicon" in e && n(1, S = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, c = e.dailybuttontitle), "index" in e && n(4, x = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, f = e.clientstylingurl), "translationurl" in e && n(15, p = e.translationurl);
|
|
182
|
-
}, a.$$.update = () => {
|
|
183
|
-
a.$$.dirty & /*lang*/
|
|
184
|
-
1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
|
|
185
|
-
33792 && s && p && E(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
186
|
-
2063 && S && i && g && c && h && _(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
187
|
-
8224 && b && d && ie(d, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
188
|
-
16416 && f && d && ee(d, f), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
189
|
-
4128 && C && d && te(d, `${C}.Style`);
|
|
190
|
-
}, [
|
|
191
|
-
h,
|
|
192
|
-
S,
|
|
193
|
-
i,
|
|
194
|
-
c,
|
|
195
|
-
x,
|
|
196
|
-
d,
|
|
197
|
-
m,
|
|
198
|
-
T,
|
|
199
|
-
w,
|
|
200
|
-
k,
|
|
201
|
-
s,
|
|
202
|
-
g,
|
|
203
|
-
C,
|
|
204
|
-
b,
|
|
205
|
-
f,
|
|
206
|
-
p,
|
|
207
|
-
M,
|
|
208
|
-
L,
|
|
209
|
-
l
|
|
210
|
-
];
|
|
211
|
-
}
|
|
212
|
-
class se extends U {
|
|
213
|
-
constructor(t) {
|
|
214
|
-
super(), G(
|
|
215
|
-
this,
|
|
216
|
-
t,
|
|
217
|
-
le,
|
|
218
|
-
de,
|
|
219
|
-
J,
|
|
220
|
-
{
|
|
221
|
-
lang: 10,
|
|
222
|
-
dailybackground: 0,
|
|
223
|
-
dailyicon: 1,
|
|
224
|
-
dailyday: 2,
|
|
225
|
-
dailydescription: 11,
|
|
226
|
-
dailybuttontitle: 3,
|
|
227
|
-
index: 4,
|
|
228
|
-
mbsource: 12,
|
|
229
|
-
clientstyling: 13,
|
|
230
|
-
clientstylingurl: 14,
|
|
231
|
-
translationurl: 15
|
|
232
|
-
},
|
|
233
|
-
oe
|
|
234
|
-
);
|
|
235
|
-
}
|
|
236
|
-
get lang() {
|
|
237
|
-
return this.$$.ctx[10];
|
|
238
|
-
}
|
|
239
|
-
set lang(t) {
|
|
240
|
-
this.$$set({ lang: t }), y();
|
|
241
|
-
}
|
|
242
|
-
get dailybackground() {
|
|
243
|
-
return this.$$.ctx[0];
|
|
244
|
-
}
|
|
245
|
-
set dailybackground(t) {
|
|
246
|
-
this.$$set({ dailybackground: t }), y();
|
|
247
|
-
}
|
|
248
|
-
get dailyicon() {
|
|
249
|
-
return this.$$.ctx[1];
|
|
250
|
-
}
|
|
251
|
-
set dailyicon(t) {
|
|
252
|
-
this.$$set({ dailyicon: t }), y();
|
|
253
|
-
}
|
|
254
|
-
get dailyday() {
|
|
255
|
-
return this.$$.ctx[2];
|
|
256
|
-
}
|
|
257
|
-
set dailyday(t) {
|
|
258
|
-
this.$$set({ dailyday: t }), y();
|
|
259
|
-
}
|
|
260
|
-
get dailydescription() {
|
|
261
|
-
return this.$$.ctx[11];
|
|
262
|
-
}
|
|
263
|
-
set dailydescription(t) {
|
|
264
|
-
this.$$set({ dailydescription: t }), y();
|
|
265
|
-
}
|
|
266
|
-
get dailybuttontitle() {
|
|
267
|
-
return this.$$.ctx[3];
|
|
268
|
-
}
|
|
269
|
-
set dailybuttontitle(t) {
|
|
270
|
-
this.$$set({ dailybuttontitle: t }), y();
|
|
271
|
-
}
|
|
272
|
-
get index() {
|
|
273
|
-
return this.$$.ctx[4];
|
|
274
|
-
}
|
|
275
|
-
set index(t) {
|
|
276
|
-
this.$$set({ index: t }), y();
|
|
277
|
-
}
|
|
278
|
-
get mbsource() {
|
|
279
|
-
return this.$$.ctx[12];
|
|
280
|
-
}
|
|
281
|
-
set mbsource(t) {
|
|
282
|
-
this.$$set({ mbsource: t }), y();
|
|
283
|
-
}
|
|
284
|
-
get clientstyling() {
|
|
285
|
-
return this.$$.ctx[13];
|
|
286
|
-
}
|
|
287
|
-
set clientstyling(t) {
|
|
288
|
-
this.$$set({ clientstyling: t }), y();
|
|
289
|
-
}
|
|
290
|
-
get clientstylingurl() {
|
|
291
|
-
return this.$$.ctx[14];
|
|
292
|
-
}
|
|
293
|
-
set clientstylingurl(t) {
|
|
294
|
-
this.$$set({ clientstylingurl: t }), y();
|
|
295
|
-
}
|
|
296
|
-
get translationurl() {
|
|
297
|
-
return this.$$.ctx[15];
|
|
298
|
-
}
|
|
299
|
-
set translationurl(t) {
|
|
300
|
-
this.$$set({ translationurl: t }), y();
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
V(se, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
304
|
-
export {
|
|
305
|
-
se as default
|
|
306
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CkNAiTx8.cjs");function K(i,e){t.addMessages(i,e)}const Q={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-BsszznrS.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function ae(i){t.append_styles(i,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ie(i){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",i[3]),t.set_custom_element_data(s,"datasource",i[2]),t.set_custom_element_data(s,"endpoint",i[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",i[16]),t.set_custom_element_data(s,"showsubgroups",i[8]),t.set_custom_element_data(s,"clientstyling",i[4]),t.set_custom_element_data(s,"clientstylingurl",i[5]),t.set_custom_element_data(s,"mbsource",i[12]),t.set_custom_element_data(s,"activeindex",i[0]),t.set_custom_element_data(s,"actionevent",i[6]),t.set_custom_element_data(s,"location",i[7]),t.set_custom_element_data(s,"categoriesicon",i[9]),t.set_custom_element_data(s,"lobbyiconimage",i[10]),t.set_custom_element_data(s,"mygamesiconimage",i[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg")},m(n,o){t.insert(n,e,o),t.append(e,s),l||(r=t.action_destroyer(i[17].call(null,s)),l=!0)},p(n,o){o[0]&8&&t.set_custom_element_data(s,"lang",n[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",n[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",n[1]),o[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",n[16]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",n[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",n[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",n[5]),o[0]&4096&&t.set_custom_element_data(s,"mbsource",n[12]),o[0]&1&&t.set_custom_element_data(s,"activeindex",n[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",n[6]),o[0]&128&&t.set_custom_element_data(s,"location",n[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",n[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",n[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",n[11])},d(n){n&&t.detach(e),l=!1,r()}}}function ne(i){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(i){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function le(i){let e;function s(n,o){return n[13]||re||ce?oe:n[15]?ne:ie}let l=s(i),r=l(i);return{c(){e=t.element("div"),r.c()},m(n,o){t.insert(n,e,o),r.m(e,null),i[27](e)},p(n,o){l===(l=s(n))&&r?r.p(n,o):(r.d(1),r=l(n),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(n){n&&t.detach(e),r.d(),i[27](null)}}}let j="CasinoSliderData",re=!1,ce=!1;function me(i,e,s){let l;t.component_subscribe(i,t.$format,a=>s(33,l=a));let{endpoint:r=""}=e,{datasource:n=""}=e,{lang:o=""}=e,{userid:P=""}=e,{session:h=""}=e,{mostplayed:b=""}=e,{lastplayed:_="false"}=e,{favorites:w=""}=e,{clientstyling:N=""}=e,{clientstylingurl:L=""}=e,{activecategory:u=""}=e,{actionevent:F=""}=e,{sessioncheck:A=""}=e,{location:D="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:T=""}=e,{lobbyiconimage:R=""}=e,{mygamesiconimage:U=""}=e,{mbsource:G}=e,q,B,I,g=!0,f,y=[],d=!1,W=window.navigator.userAgent,m,Y,z=!1,S=!1;const X=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(C=>{K(C,c[C])})}).catch(c=>{console.log(c)})};Object.keys(Q).forEach(a=>{K(a,Q[a])});const Z=()=>{z==!1&&(w=="true"||b=="true"||_=="true")&&y.splice(1,0,{id:"MYGAMES",name:B,href:"",games:[]}),t.tick(),z=!0,s(26,S=!0),k()},x=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(15,d=!0),s(13,g=!1),console.error(f)),n||(f="Datasource is missing! Please provide a valid datasource.",s(15,d=!0),s(13,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(15,d=!0),s(13,g=!1),console.error(f)),d),p=()=>{if(B=l("myGamesName"),I=l("lobbyName"),!x()){let a=new URL(`${r}/v1/casino/groups/${n}`);a.searchParams.append("datasource",n),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(W)),fetch(a).then(c=>c.json()).then(c=>{let C=M.split(","),te=c.items.filter(J=>{let E=!1;if(J.games.total>0&&(E=!0,M))for(let se of C)J.flags==se&&(E=!1);return E});y=[],y=y.concat(te),y.unshift({id:"LOBBY",name:I,href:"",games:[]}),s(13,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)})}},$=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},k=()=>{window.postMessage({type:"SliderData",identity:j,data:y},window.location.href)},H=a=>{a.data&&a.data.type=="SliderLoaded"&&j==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.emMessageBus&&q&&q.unsubscribe(),window.removeEventListener("message",H)}));function ee(a){t.binding_callbacks[a?"unshift":"push"](()=>{m=a,s(14,m)})}return i.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,n=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(18,P=a.userid),"session"in a&&s(19,h=a.session),"mostplayed"in a&&s(20,b=a.mostplayed),"lastplayed"in a&&s(21,_=a.lastplayed),"favorites"in a&&s(22,w=a.favorites),"clientstyling"in a&&s(4,N=a.clientstyling),"clientstylingurl"in a&&s(5,L=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,F=a.actionevent),"sessioncheck"in a&&s(23,A=a.sessioncheck),"location"in a&&s(7,D=a.location),"showsubgroups"in a&&s(8,O=a.showsubgroups),"filteredcategories"in a&&s(24,M=a.filteredcategories),"translationurl"in a&&s(25,v=a.translationurl),"categoriesicon"in a&&s(9,T=a.categoriesicon),"lobbyiconimage"in a&&s(10,R=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,U=a.mygamesiconimage),"mbsource"in a&&s(12,G=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&14&&r&&n&&o&&p(),i.$$.dirty[0]&7872514&&r&&h&&(b||_||w)&&!g&&Z(),i.$$.dirty[0]&67641345&&!g&&u&&(!h||S)&&$(),i.$$.dirty[0]&33554432&&v&&X(),i.$$.dirty[0]&16400&&N&&m&&t.setClientStyling(m,N),i.$$.dirty[0]&16416&&L&&m&&t.setClientStylingURL(m,L),i.$$.dirty[0]&20480&&m&&t.setStreamStyling(m,`${G}.Style`)},s(16,Y=0),[u,r,n,o,N,L,F,D,O,T,R,U,G,g,m,d,Y,k,P,h,b,_,w,A,M,v,S,ee]}class V extends t.SvelteComponent{constructor(e){super(),t.init(this,e,me,le,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24,translationurl:25,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11,mbsource:12},ae,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(V,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=V;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CkNAiTx8.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-3oqkg3",'*,*::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));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,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]=K(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(),b=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,b),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]=K(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(b,v){e.insert(b,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(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("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 D(i){let t,l,r,o,a,g,b,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),b||(v=e.listen(l,"click",e.stop_propagation(w)),b=!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(),b=!1,v()}}}function K(i){let t,l,r,o,a,g,b,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]=D(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 _=0;_<u.length;_+=1)u[_].c();b=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 _=0;_<u.length;_+=1)u[_]&&u[_].m(a,null);e.append(t,b),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var _,S;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 y;for(y=0;y<c.length;y+=1){const L=U(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((S=i[41])==null?void 0:S.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:b=""}=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,_=0,S=0,y,L,x=0,M=50,j=!1,k,J=window.navigator.userAgent,T;const X=()=>{fetch(m).then(C=>C.json()).then(C=>{Object.keys(C).forEach(G=>{E(G,C[G])})}).catch(C=>{console.log(C)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let G=C.items.map(P=>{var q,A,N;return{id:P.id,name:P.name,icon:P.icon?P.icon:(N=(A=(q=P.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:P.games.items.slice(0,4).map(re=>re),background:P.background,flag:P.flags}});l(3,u=[...u,...G]),l(7,_=u.length),Y()})},Y=()=>{const n=k.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{L=[...p.children],L.forEach((C,G)=>{C.style.transform=`translateX(${100*(n?G-n:G)}%)`}),y=L[0].getBoundingClientRect().width,Q()},Q=()=>{l(8,S=Math.floor(p.clientWidth/y))},H=()=>{O(f)},$=()=>{f===0?f=_-S:f-S<-1?f=0:f--,H()},ee=()=>{f===_-S?f=0:_-S<f+1?f=_-S:f++,H()},z=(n,C,G,P)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:G,subVendor:P},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${G}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>B(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{k=n,l(5,k)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,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&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&k&&e.setClientStyling(k,w),i.$$.dirty[0]&524320&&d&&k&&e.setClientStylingURL(k,d),i.$$.dirty[0]&2097184&&k&&e.setStreamStyling(k,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&X(),i.$$.dirty[0]&4194304&&j&&F()},[b,v,s,u,p,k,h,_,S,T,r,$,ee,z,B,o,a,g,w,d,m,c,j,ie,le,ne,oe]}class Z 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(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
|