@everymatrix/casino-lobby 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-_T8fa3tA.js → CasinoCalendar-8h5qdaaJ.js} +1018 -956
- package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-D9zXfDS4.js} +988 -926
- package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-D0Kx4qhT.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-DFwCqTfY.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-C62RswBp.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DTqfqF2k.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BhsSLM-H.js} +66 -66
- package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-CCCss88T.js} +65 -65
- package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-8BCzbgO7.js} +72 -70
- package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-B7jL1xWi.js} +70 -68
- package/components/{CasinoCollectionsProviders-fHbyEo_l.cjs → CasinoCollectionsProviders-DdI8afJV.cjs} +1 -1
- package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-8fm71dF4.js} +28 -28
- package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-C0iLu9Sw.js} +28 -28
- package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-DrmyxOK7.cjs} +1 -1
- package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-BTgsR3X2.js} +241 -238
- package/components/CasinoFilter-D06f7IqM.cjs +1 -0
- package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-m6_88uQv.js} +252 -247
- package/components/CasinoGamePage-CkvljoIb.js +4249 -0
- package/components/CasinoGamePage-DAH5L6F5.cjs +18 -0
- package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-DAv8OZV8.js} +1645 -1692
- package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-B4KIog_7.js} +275 -286
- package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-BMm5Xl4k.js} +374 -353
- package/components/CasinoGameThumbnail-XF-v3tEC.cjs +38 -0
- package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-BSklauO4.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-DUDDLFW2.js} +255 -248
- package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-XWxil8vo.js} +334 -327
- package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-6WZPbIyJ.js} +79 -79
- package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-Bu16yaAe.js} +72 -72
- package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-BT4kxVP1.js} +43 -43
- package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-DFUMCS3n.js} +43 -43
- package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-cjUgoZnI.cjs} +1 -1
- package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-CRIb8E4f.cjs} +1 -1
- package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-Di0-vjQH.js} +45 -45
- package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-DrBFK5gG.js} +47 -47
- package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
- package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-Ce9u8B9n.js} +41 -41
- package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-DMOewty4.js} +41 -41
- package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-C1K-DGkZ.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection-CXWjhKax.js} +50 -50
- package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-DAuM-1cc.js} +50 -50
- package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-0CUDyeW1.js} +53 -49
- package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-DQaVeSFh.cjs} +1 -1
- package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-DTWGCs0t.js} +54 -50
- package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-BFAkKTIr.js} +90 -86
- package/components/{CasinoPage-BnrghJel.js → CasinoPage-CYfqznpn.js} +90 -86
- package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-Dn8IgsJW.cjs} +1 -1
- package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-CwNUHn-I.js} +66 -64
- package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
- package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-qSedkhdM.js} +66 -64
- package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-58Bbs2ly.js} +78 -75
- package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-DgenhLcJ.cjs} +1 -1
- package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-Itb9Lu5Z.js} +78 -75
- package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BBo1-Yix.js} +65 -65
- package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BLhtuqXM.js} +74 -74
- package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
- package/components/{CasinoSort-BnarJSWg.js → CasinoSort-CBEUIj6Q.js} +105 -105
- package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
- package/components/{CasinoSort-DltZUpda.js → CasinoSort-DDFUPoRE.js} +113 -111
- package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-C9LcOp1b.js} +155 -153
- package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
- package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-wjNHmiu9.js} +160 -158
- package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-D4V5ml6G.js} +16 -16
- package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-DXg7Sgve.js} +16 -16
- package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
- package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
- package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
- package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
- package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
- package/components/CasinoCalendar-CFPK0TM5.cjs +0 -9
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
- package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
- package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
- package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
- package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
- package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
- package/stencil/index-29915e18-MPiqo7vY.js +0 -646
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as ee, S as te, i as ie,
|
|
1
|
+
import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j as R, o as re, l as de, u as v, e as B, w as ue, y as r, R as q, z, T as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, Z as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-D9zXfDS4.js";
|
|
2
2
|
function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
|
|
3
3
|
const o = +getComputedStyle(s).opacity;
|
|
4
4
|
return {
|
|
@@ -9,7 +9,7 @@ function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function ye(s) {
|
|
12
|
-
|
|
12
|
+
oe(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
|
|
13
13
|
}
|
|
14
14
|
const be = (s) => ({}), N = (s) => ({});
|
|
15
15
|
function T(s) {
|
|
@@ -35,19 +35,19 @@ function T(s) {
|
|
|
35
35
|
), f = h || pe();
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
e = B("div"), t = B("div"), n = B("div"), d && d.c(), o =
|
|
38
|
+
e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ue(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
|
|
39
39
|
(s[1] == "true" && /*mobileView*/
|
|
40
|
-
s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"),
|
|
40
|
+
s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), q(() => (
|
|
41
41
|
/*div1_elementresize_handler*/
|
|
42
42
|
s[22].call(t)
|
|
43
43
|
)), r(e, "part", "CustomStylingContainer");
|
|
44
44
|
},
|
|
45
45
|
m(a, g) {
|
|
46
|
-
|
|
46
|
+
H(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
|
|
47
47
|
t,
|
|
48
48
|
/*div1_elementresize_handler*/
|
|
49
49
|
s[22].bind(t)
|
|
50
|
-
), s[23](e), u = !0, b || (p =
|
|
50
|
+
), s[23](e), u = !0, b || (p = fe(
|
|
51
51
|
l,
|
|
52
52
|
"click",
|
|
53
53
|
/*close*/
|
|
@@ -56,37 +56,37 @@ function T(s) {
|
|
|
56
56
|
},
|
|
57
57
|
p(a, g) {
|
|
58
58
|
s = a, d && d.p && (!u || g[0] & /*$$scope*/
|
|
59
|
-
524288) &&
|
|
59
|
+
524288) && A(
|
|
60
60
|
d,
|
|
61
61
|
C,
|
|
62
62
|
s,
|
|
63
63
|
/*$$scope*/
|
|
64
64
|
s[19],
|
|
65
|
-
u ?
|
|
65
|
+
u ? P(
|
|
66
66
|
C,
|
|
67
67
|
/*$$scope*/
|
|
68
68
|
s[19],
|
|
69
69
|
g,
|
|
70
70
|
null
|
|
71
|
-
) :
|
|
71
|
+
) : O(
|
|
72
72
|
/*$$scope*/
|
|
73
73
|
s[19]
|
|
74
74
|
),
|
|
75
75
|
null
|
|
76
76
|
), h && h.p && (!u || g[0] & /*$$scope*/
|
|
77
|
-
524288) &&
|
|
77
|
+
524288) && A(
|
|
78
78
|
h,
|
|
79
79
|
M,
|
|
80
80
|
s,
|
|
81
81
|
/*$$scope*/
|
|
82
82
|
s[19],
|
|
83
|
-
u ?
|
|
83
|
+
u ? P(
|
|
84
84
|
M,
|
|
85
85
|
/*$$scope*/
|
|
86
86
|
s[19],
|
|
87
87
|
g,
|
|
88
88
|
be
|
|
89
|
-
) :
|
|
89
|
+
) : O(
|
|
90
90
|
/*$$scope*/
|
|
91
91
|
s[19]
|
|
92
92
|
),
|
|
@@ -97,21 +97,21 @@ function T(s) {
|
|
|
97
97
|
s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
|
|
98
98
|
},
|
|
99
99
|
i(a) {
|
|
100
|
-
u || (F(d, a), F(f, a), a &&
|
|
101
|
-
u && (c || (c =
|
|
100
|
+
u || (F(d, a), F(f, a), a && q(() => {
|
|
101
|
+
u && (c || (c = U(t, K, { transitionDuration: (
|
|
102
102
|
/*duration*/
|
|
103
103
|
s[0]
|
|
104
104
|
) }, !0)), c.run(1));
|
|
105
105
|
}), u = !0);
|
|
106
106
|
},
|
|
107
107
|
o(a) {
|
|
108
|
-
W(d, a), W(f, a), a && (c || (c =
|
|
108
|
+
W(d, a), W(f, a), a && (c || (c = U(t, K, { transitionDuration: (
|
|
109
109
|
/*duration*/
|
|
110
110
|
s[0]
|
|
111
111
|
) }, !1)), c.run(0)), u = !1;
|
|
112
112
|
},
|
|
113
113
|
d(a) {
|
|
114
|
-
a &&
|
|
114
|
+
a && R(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
}
|
|
@@ -122,11 +122,11 @@ function pe(s) {
|
|
|
122
122
|
e = J("svg"), t = J("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
123
123
|
},
|
|
124
124
|
m(n, o) {
|
|
125
|
-
|
|
125
|
+
H(n, e, o), z(e, t);
|
|
126
126
|
},
|
|
127
|
-
p:
|
|
127
|
+
p: _e,
|
|
128
128
|
d(n) {
|
|
129
|
-
n &&
|
|
129
|
+
n && R(e);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
}
|
|
@@ -137,17 +137,17 @@ function Me(s) {
|
|
|
137
137
|
);
|
|
138
138
|
return {
|
|
139
139
|
c() {
|
|
140
|
-
n && n.c(), e =
|
|
140
|
+
n && n.c(), e = ae();
|
|
141
141
|
},
|
|
142
142
|
m(o, l) {
|
|
143
|
-
n && n.m(o, l),
|
|
143
|
+
n && n.m(o, l), H(o, e, l), t = !0;
|
|
144
144
|
},
|
|
145
145
|
p(o, l) {
|
|
146
146
|
/*show*/
|
|
147
147
|
o[7] ? n ? (n.p(o, l), l[0] & /*show*/
|
|
148
|
-
128 && F(n, 1)) : (n = T(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (
|
|
148
|
+
128 && F(n, 1)) : (n = T(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
|
|
149
149
|
n = null;
|
|
150
|
-
}),
|
|
150
|
+
}), le());
|
|
151
151
|
},
|
|
152
152
|
i(o) {
|
|
153
153
|
t || (F(n), t = !0);
|
|
@@ -156,12 +156,12 @@ function Me(s) {
|
|
|
156
156
|
W(n), t = !1;
|
|
157
157
|
},
|
|
158
158
|
d(o) {
|
|
159
|
-
o &&
|
|
159
|
+
o && R(e), n && n.d(o);
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function ke(s, e, t) {
|
|
164
|
-
let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, j = !1, _, y,
|
|
164
|
+
let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, j = !1, _, y, D, G, S = !1;
|
|
165
165
|
const V = () => {
|
|
166
166
|
t(7, S = !1), t(3, g = E(a)), window.postMessage(
|
|
167
167
|
{
|
|
@@ -172,7 +172,7 @@ function ke(s, e, t) {
|
|
|
172
172
|
},
|
|
173
173
|
window.location.href
|
|
174
174
|
);
|
|
175
|
-
},
|
|
175
|
+
}, L = (i) => {
|
|
176
176
|
if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
|
|
177
177
|
{
|
|
178
178
|
type: "GameLaunchID",
|
|
@@ -187,23 +187,23 @@ function ke(s, e, t) {
|
|
|
187
187
|
},
|
|
188
188
|
window.location.href
|
|
189
189
|
), h === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "RequestModalSize") {
|
|
190
|
-
let
|
|
190
|
+
let I = {
|
|
191
191
|
modalWidth: _ ? getComputedStyle(_).width : null,
|
|
192
192
|
modalHeight: _ ? getComputedStyle(_).height : null
|
|
193
193
|
};
|
|
194
|
-
window.postMessage({ type: "ModalSize", modalContainerSize:
|
|
194
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
|
|
195
195
|
}
|
|
196
196
|
i.data.type === "GameStateOnResize" && (j = i.data.detailsObtained);
|
|
197
197
|
}, Z = (i) => {
|
|
198
198
|
if (j) {
|
|
199
|
-
let
|
|
199
|
+
let I = {
|
|
200
200
|
modalWidth: getComputedStyle(_).width,
|
|
201
201
|
modalHeight: getComputedStyle(_).height
|
|
202
202
|
};
|
|
203
|
-
window.postMessage({ type: "ModalSize", modalContainerSize:
|
|
203
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
|
|
204
204
|
}
|
|
205
205
|
}, Q = () => {
|
|
206
|
-
M == "true" &&
|
|
206
|
+
M == "true" && me(p, w).then(
|
|
207
207
|
(i) => {
|
|
208
208
|
i.Guid, i.UserID;
|
|
209
209
|
},
|
|
@@ -212,19 +212,19 @@ function ke(s, e, t) {
|
|
|
212
212
|
}
|
|
213
213
|
);
|
|
214
214
|
};
|
|
215
|
-
re(() => (t(3, g = E(a)), window.addEventListener("message",
|
|
216
|
-
window.removeEventListener("message",
|
|
215
|
+
re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Z, !1), () => {
|
|
216
|
+
window.removeEventListener("message", L), window.removeEventListener("resize", L);
|
|
217
217
|
}));
|
|
218
218
|
function X(i) {
|
|
219
|
-
|
|
219
|
+
x[i ? "unshift" : "push"](() => {
|
|
220
220
|
_ = i, t(4, _);
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
223
|
function Y() {
|
|
224
|
-
|
|
224
|
+
D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
|
|
225
225
|
}
|
|
226
226
|
function $(i) {
|
|
227
|
-
|
|
227
|
+
x[i ? "unshift" : "push"](() => {
|
|
228
228
|
y = i, t(2, y);
|
|
229
229
|
});
|
|
230
230
|
}
|
|
@@ -233,8 +233,8 @@ function ke(s, e, t) {
|
|
|
233
233
|
}, s.$$.update = () => {
|
|
234
234
|
s.$$.dirty[0] & /*session, userid, endpoint*/
|
|
235
235
|
17920 && w && k && p && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
236
|
-
2052 && c && y &&
|
|
237
|
-
8196 && b && y &&
|
|
236
|
+
2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
237
|
+
8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
238
238
|
262148 && y && we(y, `${f}.Style`);
|
|
239
239
|
}, [
|
|
240
240
|
l,
|
|
@@ -242,8 +242,8 @@ function ke(s, e, t) {
|
|
|
242
242
|
y,
|
|
243
243
|
g,
|
|
244
244
|
_,
|
|
245
|
-
L,
|
|
246
245
|
D,
|
|
246
|
+
G,
|
|
247
247
|
S,
|
|
248
248
|
V,
|
|
249
249
|
w,
|
|
@@ -270,7 +270,7 @@ class Ce extends te {
|
|
|
270
270
|
e,
|
|
271
271
|
ke,
|
|
272
272
|
Me,
|
|
273
|
-
|
|
273
|
+
ne,
|
|
274
274
|
{
|
|
275
275
|
duration: 0,
|
|
276
276
|
session: 9,
|
|
@@ -362,7 +362,7 @@ class Ce extends te {
|
|
|
362
362
|
this.$$set({ mbsource: e }), m();
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
|
|
365
|
+
se(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
|
|
366
366
|
export {
|
|
367
367
|
Ce as default
|
|
368
368
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as ee, S as te, i as ie,
|
|
1
|
+
import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j as R, o as re, l as de, u as v, e as B, w as ue, y as r, R as q, z, T as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, Z as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-8h5qdaaJ.js";
|
|
2
2
|
function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
|
|
3
3
|
const o = +getComputedStyle(s).opacity;
|
|
4
4
|
return {
|
|
@@ -9,7 +9,7 @@ function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function ye(s) {
|
|
12
|
-
|
|
12
|
+
oe(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
|
|
13
13
|
}
|
|
14
14
|
const be = (s) => ({}), N = (s) => ({});
|
|
15
15
|
function T(s) {
|
|
@@ -35,19 +35,19 @@ function T(s) {
|
|
|
35
35
|
), f = h || pe();
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
e = B("div"), t = B("div"), n = B("div"), d && d.c(), o =
|
|
38
|
+
e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ue(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
|
|
39
39
|
(s[1] == "true" && /*mobileView*/
|
|
40
|
-
s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"),
|
|
40
|
+
s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), q(() => (
|
|
41
41
|
/*div1_elementresize_handler*/
|
|
42
42
|
s[22].call(t)
|
|
43
43
|
)), r(e, "part", "CustomStylingContainer");
|
|
44
44
|
},
|
|
45
45
|
m(a, g) {
|
|
46
|
-
|
|
46
|
+
H(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
|
|
47
47
|
t,
|
|
48
48
|
/*div1_elementresize_handler*/
|
|
49
49
|
s[22].bind(t)
|
|
50
|
-
), s[23](e), u = !0, b || (p =
|
|
50
|
+
), s[23](e), u = !0, b || (p = fe(
|
|
51
51
|
l,
|
|
52
52
|
"click",
|
|
53
53
|
/*close*/
|
|
@@ -56,37 +56,37 @@ function T(s) {
|
|
|
56
56
|
},
|
|
57
57
|
p(a, g) {
|
|
58
58
|
s = a, d && d.p && (!u || g[0] & /*$$scope*/
|
|
59
|
-
524288) &&
|
|
59
|
+
524288) && A(
|
|
60
60
|
d,
|
|
61
61
|
C,
|
|
62
62
|
s,
|
|
63
63
|
/*$$scope*/
|
|
64
64
|
s[19],
|
|
65
|
-
u ?
|
|
65
|
+
u ? P(
|
|
66
66
|
C,
|
|
67
67
|
/*$$scope*/
|
|
68
68
|
s[19],
|
|
69
69
|
g,
|
|
70
70
|
null
|
|
71
|
-
) :
|
|
71
|
+
) : O(
|
|
72
72
|
/*$$scope*/
|
|
73
73
|
s[19]
|
|
74
74
|
),
|
|
75
75
|
null
|
|
76
76
|
), h && h.p && (!u || g[0] & /*$$scope*/
|
|
77
|
-
524288) &&
|
|
77
|
+
524288) && A(
|
|
78
78
|
h,
|
|
79
79
|
M,
|
|
80
80
|
s,
|
|
81
81
|
/*$$scope*/
|
|
82
82
|
s[19],
|
|
83
|
-
u ?
|
|
83
|
+
u ? P(
|
|
84
84
|
M,
|
|
85
85
|
/*$$scope*/
|
|
86
86
|
s[19],
|
|
87
87
|
g,
|
|
88
88
|
be
|
|
89
|
-
) :
|
|
89
|
+
) : O(
|
|
90
90
|
/*$$scope*/
|
|
91
91
|
s[19]
|
|
92
92
|
),
|
|
@@ -97,21 +97,21 @@ function T(s) {
|
|
|
97
97
|
s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
|
|
98
98
|
},
|
|
99
99
|
i(a) {
|
|
100
|
-
u || (F(d, a), F(f, a), a &&
|
|
101
|
-
u && (c || (c =
|
|
100
|
+
u || (F(d, a), F(f, a), a && q(() => {
|
|
101
|
+
u && (c || (c = U(t, K, { transitionDuration: (
|
|
102
102
|
/*duration*/
|
|
103
103
|
s[0]
|
|
104
104
|
) }, !0)), c.run(1));
|
|
105
105
|
}), u = !0);
|
|
106
106
|
},
|
|
107
107
|
o(a) {
|
|
108
|
-
W(d, a), W(f, a), a && (c || (c =
|
|
108
|
+
W(d, a), W(f, a), a && (c || (c = U(t, K, { transitionDuration: (
|
|
109
109
|
/*duration*/
|
|
110
110
|
s[0]
|
|
111
111
|
) }, !1)), c.run(0)), u = !1;
|
|
112
112
|
},
|
|
113
113
|
d(a) {
|
|
114
|
-
a &&
|
|
114
|
+
a && R(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
}
|
|
@@ -122,11 +122,11 @@ function pe(s) {
|
|
|
122
122
|
e = J("svg"), t = J("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
123
123
|
},
|
|
124
124
|
m(n, o) {
|
|
125
|
-
|
|
125
|
+
H(n, e, o), z(e, t);
|
|
126
126
|
},
|
|
127
|
-
p:
|
|
127
|
+
p: _e,
|
|
128
128
|
d(n) {
|
|
129
|
-
n &&
|
|
129
|
+
n && R(e);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
}
|
|
@@ -137,17 +137,17 @@ function Me(s) {
|
|
|
137
137
|
);
|
|
138
138
|
return {
|
|
139
139
|
c() {
|
|
140
|
-
n && n.c(), e =
|
|
140
|
+
n && n.c(), e = ae();
|
|
141
141
|
},
|
|
142
142
|
m(o, l) {
|
|
143
|
-
n && n.m(o, l),
|
|
143
|
+
n && n.m(o, l), H(o, e, l), t = !0;
|
|
144
144
|
},
|
|
145
145
|
p(o, l) {
|
|
146
146
|
/*show*/
|
|
147
147
|
o[7] ? n ? (n.p(o, l), l[0] & /*show*/
|
|
148
|
-
128 && F(n, 1)) : (n = T(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (
|
|
148
|
+
128 && F(n, 1)) : (n = T(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
|
|
149
149
|
n = null;
|
|
150
|
-
}),
|
|
150
|
+
}), le());
|
|
151
151
|
},
|
|
152
152
|
i(o) {
|
|
153
153
|
t || (F(n), t = !0);
|
|
@@ -156,12 +156,12 @@ function Me(s) {
|
|
|
156
156
|
W(n), t = !1;
|
|
157
157
|
},
|
|
158
158
|
d(o) {
|
|
159
|
-
o &&
|
|
159
|
+
o && R(e), n && n.d(o);
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
function ke(s, e, t) {
|
|
164
|
-
let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, j = !1, _, y,
|
|
164
|
+
let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, j = !1, _, y, D, G, S = !1;
|
|
165
165
|
const V = () => {
|
|
166
166
|
t(7, S = !1), t(3, g = E(a)), window.postMessage(
|
|
167
167
|
{
|
|
@@ -172,7 +172,7 @@ function ke(s, e, t) {
|
|
|
172
172
|
},
|
|
173
173
|
window.location.href
|
|
174
174
|
);
|
|
175
|
-
},
|
|
175
|
+
}, L = (i) => {
|
|
176
176
|
if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
|
|
177
177
|
{
|
|
178
178
|
type: "GameLaunchID",
|
|
@@ -187,23 +187,23 @@ function ke(s, e, t) {
|
|
|
187
187
|
},
|
|
188
188
|
window.location.href
|
|
189
189
|
), h === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "RequestModalSize") {
|
|
190
|
-
let
|
|
190
|
+
let I = {
|
|
191
191
|
modalWidth: _ ? getComputedStyle(_).width : null,
|
|
192
192
|
modalHeight: _ ? getComputedStyle(_).height : null
|
|
193
193
|
};
|
|
194
|
-
window.postMessage({ type: "ModalSize", modalContainerSize:
|
|
194
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
|
|
195
195
|
}
|
|
196
196
|
i.data.type === "GameStateOnResize" && (j = i.data.detailsObtained);
|
|
197
197
|
}, Z = (i) => {
|
|
198
198
|
if (j) {
|
|
199
|
-
let
|
|
199
|
+
let I = {
|
|
200
200
|
modalWidth: getComputedStyle(_).width,
|
|
201
201
|
modalHeight: getComputedStyle(_).height
|
|
202
202
|
};
|
|
203
|
-
window.postMessage({ type: "ModalSize", modalContainerSize:
|
|
203
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
|
|
204
204
|
}
|
|
205
205
|
}, Q = () => {
|
|
206
|
-
M == "true" &&
|
|
206
|
+
M == "true" && me(p, w).then(
|
|
207
207
|
(i) => {
|
|
208
208
|
i.Guid, i.UserID;
|
|
209
209
|
},
|
|
@@ -212,19 +212,19 @@ function ke(s, e, t) {
|
|
|
212
212
|
}
|
|
213
213
|
);
|
|
214
214
|
};
|
|
215
|
-
re(() => (t(3, g = E(a)), window.addEventListener("message",
|
|
216
|
-
window.removeEventListener("message",
|
|
215
|
+
re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Z, !1), () => {
|
|
216
|
+
window.removeEventListener("message", L), window.removeEventListener("resize", L);
|
|
217
217
|
}));
|
|
218
218
|
function X(i) {
|
|
219
|
-
|
|
219
|
+
x[i ? "unshift" : "push"](() => {
|
|
220
220
|
_ = i, t(4, _);
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
223
|
function Y() {
|
|
224
|
-
|
|
224
|
+
D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
|
|
225
225
|
}
|
|
226
226
|
function $(i) {
|
|
227
|
-
|
|
227
|
+
x[i ? "unshift" : "push"](() => {
|
|
228
228
|
y = i, t(2, y);
|
|
229
229
|
});
|
|
230
230
|
}
|
|
@@ -233,8 +233,8 @@ function ke(s, e, t) {
|
|
|
233
233
|
}, s.$$.update = () => {
|
|
234
234
|
s.$$.dirty[0] & /*session, userid, endpoint*/
|
|
235
235
|
17920 && w && k && p && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
236
|
-
2052 && c && y &&
|
|
237
|
-
8196 && b && y &&
|
|
236
|
+
2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
237
|
+
8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
238
238
|
262148 && y && we(y, `${f}.Style`);
|
|
239
239
|
}, [
|
|
240
240
|
l,
|
|
@@ -242,8 +242,8 @@ function ke(s, e, t) {
|
|
|
242
242
|
y,
|
|
243
243
|
g,
|
|
244
244
|
_,
|
|
245
|
-
L,
|
|
246
245
|
D,
|
|
246
|
+
G,
|
|
247
247
|
S,
|
|
248
248
|
V,
|
|
249
249
|
w,
|
|
@@ -270,7 +270,7 @@ class Ce extends te {
|
|
|
270
270
|
e,
|
|
271
271
|
ke,
|
|
272
272
|
Me,
|
|
273
|
-
|
|
273
|
+
ne,
|
|
274
274
|
{
|
|
275
275
|
duration: 0,
|
|
276
276
|
session: 9,
|
|
@@ -362,7 +362,7 @@ class Ce extends te {
|
|
|
362
362
|
this.$$set({ mbsource: e }), m();
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
|
|
365
|
+
se(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
|
|
366
366
|
export {
|
|
367
367
|
Ce as default
|
|
368
368
|
};
|
package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-C1K-DGkZ.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CFPK0TM5.cjs");require("./CasinoFavoritesSection-DAfQZFKH.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-pDYRKcjG.cjs");require("./CasinoFavoritesSection-DrmyxOK7.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|