@everymatrix/casino-lobby 1.54.6 → 1.54.8
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-Ic3lq1UY.js → CasinoCalendar-B6zL0TaE.js} +506 -514
- package/components/CasinoCalendar-BMfA7KN3.cjs +9 -0
- package/components/CasinoCalendar-yoWAbEkY.js +5197 -0
- package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-CHjjPOPl.js} +90 -90
- package/components/CasinoCalendarDailyDetails-CfDJdZRl.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-D3u4HZe8.js +701 -0
- package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-C0cqN7uc.js} +46 -46
- package/components/CasinoCalendarDailyItem-CUUQD6LO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DMCRSt77.js +315 -0
- package/components/CasinoCategoriesSlider-BcJr5qw4.js +606 -0
- package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-ClyY2tVk.js} +29 -29
- package/components/CasinoCategoriesSlider-Du23Vwbe.cjs +1 -0
- package/components/CasinoCollectionsProviders-D_RrWmcu.js +664 -0
- package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-DfPQERZb.js} +58 -58
- package/components/CasinoCollectionsProviders-okanqqGb.cjs +1 -0
- package/components/CasinoFavoritesSection-6Sdpq5gN.cjs +1 -0
- package/components/CasinoFavoritesSection-B73CXUAy.js +439 -0
- package/components/{CasinoFavoritesSection-D4Du3N5n.js → CasinoFavoritesSection-Bueg3sTp.js} +16 -16
- package/components/CasinoFilter-CLgilXuM.js +634 -0
- package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Ck2-RKNG.js} +55 -55
- package/components/CasinoFilter-d5NvPsIU.cjs +1 -0
- package/components/{CasinoGamePage-C0VvUfCV.js → CasinoGamePage-B9T32UnC.js} +90 -90
- package/components/CasinoGamePage-BvAh0DGO.js +4300 -0
- package/components/CasinoGamePage-C99GYj8V.cjs +18 -0
- package/components/{CasinoGameThumbnail-C-zG9Jn9.js → CasinoGameThumbnail-Bl2lRTS5.js} +63 -63
- package/components/CasinoGameThumbnail-Cnth3w2v.js +1850 -0
- package/components/CasinoGameThumbnail-DFxPFhew.cjs +38 -0
- package/components/CasinoGamesCategorySection-Cy8ehDrS.cjs +1 -0
- package/components/{CasinoGamesCategorySection-DVd_DDkc.js → CasinoGamesCategorySection-DU23YHrX.js} +125 -125
- package/components/CasinoGamesCategorySection-Vx-6j2_y.js +3032 -0
- package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-CwBo5Mul.js} +68 -68
- package/components/CasinoJackpotBanner-D8mirkf9.js +618 -0
- package/components/CasinoJackpotBanner-pF19c3bB.cjs +1 -0
- package/components/CasinoLastPlayedSection-CTeLaz5e.cjs +1 -0
- package/components/{CasinoLastPlayedSection-VbQH2qG2.js → CasinoLastPlayedSection-D2i1KYd6.js} +29 -29
- package/components/CasinoLastPlayedSection-DeHKMRjb.js +566 -0
- package/components/{CasinoLobby-CSsnpzSn.js → CasinoLobby-DIuXNBMc.js} +49 -49
- package/components/CasinoLobby-DjqoKJ_Z.cjs +1 -0
- package/components/CasinoLobby-Ds8nok67.js +2337 -0
- package/components/{CasinoModal-z0xixUlG.js → CasinoModal-CdxckMSF.js} +69 -69
- package/components/CasinoModal-Cj4CFSu2.cjs +1 -0
- package/components/CasinoModal-_ukjEJqy.js +372 -0
- package/components/CasinoMostPlayedSection-BRG_Uq6C.cjs +1 -0
- package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-BvIjl5pV.js} +32 -32
- package/components/CasinoMostPlayedSection-C9ey8EVj.js +583 -0
- package/components/CasinoMyGames-BH19YGDz.js +1318 -0
- package/components/{CasinoMyGames-DqRPb7fX.js → CasinoMyGames-CO15Aytm.js} +52 -52
- package/components/CasinoMyGames-DNs8c3Rb.cjs +1 -0
- package/components/CasinoPage-BEFfjziT.js +3550 -0
- package/components/{CasinoPage-Cm-vD67m.js → CasinoPage-DXue0b0t.js} +123 -123
- package/components/CasinoPage-sSUBPWhS.cjs +1 -0
- package/components/CasinoRandomGame-C57JuHHz.cjs +2 -0
- package/components/CasinoRandomGame-r6ZN573_.js +668 -0
- package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-z14CxLuC.js} +51 -51
- package/components/CasinoSearch-C5_rhVBG.js +1072 -0
- package/components/{CasinoSearch-BEXK-fFP.js → CasinoSearch-Cbyb3s0J.js} +83 -83
- package/components/CasinoSearch-D1uEkiG3.cjs +1 -0
- package/components/CasinoSlider-C7bHIIsP.js +806 -0
- package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-C90aPXd2.js} +78 -78
- package/components/CasinoSlider-D1u-7DmV.cjs +1 -0
- package/components/CasinoSort-5a6WYp-y.cjs +1 -0
- package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-B9ucfWgD.js} +16 -16
- package/components/CasinoSort-DWu-WSlc.js +432 -0
- package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-BFkE1Nu3.js} +62 -62
- package/components/CasinoWinners-D-KQ7v4o.cjs +1 -0
- package/components/CasinoWinners-fPZD2C86.js +971 -0
- package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-BCUksgAT.js} +8 -8
- package/components/GeneralAnimationLoading-BtZxU34J.cjs +1 -0
- package/components/GeneralAnimationLoading-DSCrLTeR.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/esnext/casino-lobby.js +1 -1
- package/package.json +4 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
- package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
- package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
- package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
- package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
- package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { a0 as ie, S as ne, i as se, s as oe, f as g, b as le, d as v, t as B, c as L, g as ae, e as re, h as R, F as de, o as ue, l as H, u as j, a1 as O, P, x as A, y as T, z as U, r, p as F, O as ce, A as fe, j as W, B as ge, W as me, C as q, n as he, E as x, I as we } from "./CasinoCalendar-B6zL0TaE.js";
|
|
2
|
+
function N(n, { delay: e = 0, duration: i = 400, easing: s = ie } = {}) {
|
|
3
|
+
const o = +getComputedStyle(n).opacity;
|
|
4
|
+
return {
|
|
5
|
+
delay: e,
|
|
6
|
+
duration: i,
|
|
7
|
+
easing: s,
|
|
8
|
+
css: (a) => `opacity: ${a * o}`
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function _e(n) {
|
|
12
|
+
le(n, "svelte-n85m9z", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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
|
+
}
|
|
14
|
+
const pe = (n) => ({}), V = (n) => ({});
|
|
15
|
+
function J(n) {
|
|
16
|
+
let e, i, s, o, a, w, k, c, u, p, y;
|
|
17
|
+
const C = (
|
|
18
|
+
/*#slots*/
|
|
19
|
+
n[19].default
|
|
20
|
+
), d = j(
|
|
21
|
+
C,
|
|
22
|
+
n,
|
|
23
|
+
/*$$scope*/
|
|
24
|
+
n[18],
|
|
25
|
+
null
|
|
26
|
+
), M = (
|
|
27
|
+
/*#slots*/
|
|
28
|
+
n[19].close
|
|
29
|
+
), m = j(
|
|
30
|
+
M,
|
|
31
|
+
n,
|
|
32
|
+
/*$$scope*/
|
|
33
|
+
n[18],
|
|
34
|
+
V
|
|
35
|
+
), f = m || ye();
|
|
36
|
+
return {
|
|
37
|
+
c() {
|
|
38
|
+
e = W("div"), i = W("div"), s = W("div"), d && d.c(), o = ge(), a = W("span"), f && f.c(), r(s, "class", "ModalContainer"), r(s, "part", "ModalContainer"), r(a, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
|
|
39
|
+
(n[1] == "true" && /*mobileView*/
|
|
40
|
+
n[3] ? "ModalPanicCloseButton" : "")), r(a, "role", "button"), r(i, "class", "ModalWindow"), r(i, "part", "ModalWindow"), r(i, "id", "Modal"), P(() => (
|
|
41
|
+
/*div1_elementresize_handler*/
|
|
42
|
+
n[21].call(i)
|
|
43
|
+
)), r(e, "part", "CustomStylingContainer");
|
|
44
|
+
},
|
|
45
|
+
m(l, h) {
|
|
46
|
+
R(l, e, h), F(e, i), F(i, s), d && d.m(s, null), F(i, o), F(i, a), f && f.m(a, null), n[20](i), k = ce(
|
|
47
|
+
i,
|
|
48
|
+
/*div1_elementresize_handler*/
|
|
49
|
+
n[21].bind(i)
|
|
50
|
+
), n[22](e), u = !0, p || (y = fe(
|
|
51
|
+
a,
|
|
52
|
+
"click",
|
|
53
|
+
/*close*/
|
|
54
|
+
n[8]
|
|
55
|
+
), p = !0);
|
|
56
|
+
},
|
|
57
|
+
p(l, h) {
|
|
58
|
+
n = l, d && d.p && (!u || h[0] & /*$$scope*/
|
|
59
|
+
262144) && A(
|
|
60
|
+
d,
|
|
61
|
+
C,
|
|
62
|
+
n,
|
|
63
|
+
/*$$scope*/
|
|
64
|
+
n[18],
|
|
65
|
+
u ? U(
|
|
66
|
+
C,
|
|
67
|
+
/*$$scope*/
|
|
68
|
+
n[18],
|
|
69
|
+
h,
|
|
70
|
+
null
|
|
71
|
+
) : T(
|
|
72
|
+
/*$$scope*/
|
|
73
|
+
n[18]
|
|
74
|
+
),
|
|
75
|
+
null
|
|
76
|
+
), m && m.p && (!u || h[0] & /*$$scope*/
|
|
77
|
+
262144) && A(
|
|
78
|
+
m,
|
|
79
|
+
M,
|
|
80
|
+
n,
|
|
81
|
+
/*$$scope*/
|
|
82
|
+
n[18],
|
|
83
|
+
u ? U(
|
|
84
|
+
M,
|
|
85
|
+
/*$$scope*/
|
|
86
|
+
n[18],
|
|
87
|
+
h,
|
|
88
|
+
pe
|
|
89
|
+
) : T(
|
|
90
|
+
/*$$scope*/
|
|
91
|
+
n[18]
|
|
92
|
+
),
|
|
93
|
+
V
|
|
94
|
+
), (!u || h[0] & /*haspanicbutton, mobileView*/
|
|
95
|
+
10 && w !== (w = "ModalCloseBtn " + /*haspanicbutton*/
|
|
96
|
+
(n[1] == "true" && /*mobileView*/
|
|
97
|
+
n[3] ? "ModalPanicCloseButton" : ""))) && r(a, "class", w);
|
|
98
|
+
},
|
|
99
|
+
i(l) {
|
|
100
|
+
u || (L(d, l), L(f, l), l && P(() => {
|
|
101
|
+
u && (c || (c = O(i, N, { transitionDuration: (
|
|
102
|
+
/*duration*/
|
|
103
|
+
n[0]
|
|
104
|
+
) }, !0)), c.run(1));
|
|
105
|
+
}), u = !0);
|
|
106
|
+
},
|
|
107
|
+
o(l) {
|
|
108
|
+
B(d, l), B(f, l), l && (c || (c = O(i, N, { transitionDuration: (
|
|
109
|
+
/*duration*/
|
|
110
|
+
n[0]
|
|
111
|
+
) }, !1)), c.run(0)), u = !1;
|
|
112
|
+
},
|
|
113
|
+
d(l) {
|
|
114
|
+
l && v(e), d && d.d(l), f && f.d(l), n[20](null), k(), l && c && c.end(), n[22](null), p = !1, y();
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
function ye(n) {
|
|
119
|
+
let e, i;
|
|
120
|
+
return {
|
|
121
|
+
c() {
|
|
122
|
+
e = x("svg"), i = x("path"), r(i, "stroke-linecap", "round"), r(i, "stroke-linejoin", "round"), r(i, "stroke-width", "2"), r(i, "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
|
+
},
|
|
124
|
+
m(s, o) {
|
|
125
|
+
R(s, e, o), F(e, i);
|
|
126
|
+
},
|
|
127
|
+
p: he,
|
|
128
|
+
d(s) {
|
|
129
|
+
s && v(e);
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function Me(n) {
|
|
134
|
+
let e, i, s = (
|
|
135
|
+
/*show*/
|
|
136
|
+
n[7] && J(n)
|
|
137
|
+
);
|
|
138
|
+
return {
|
|
139
|
+
c() {
|
|
140
|
+
s && s.c(), e = de();
|
|
141
|
+
},
|
|
142
|
+
m(o, a) {
|
|
143
|
+
s && s.m(o, a), R(o, e, a), i = !0;
|
|
144
|
+
},
|
|
145
|
+
p(o, a) {
|
|
146
|
+
/*show*/
|
|
147
|
+
o[7] ? s ? (s.p(o, a), a[0] & /*show*/
|
|
148
|
+
128 && L(s, 1)) : (s = J(o), s.c(), L(s, 1), s.m(e.parentNode, e)) : s && (ae(), B(s, 1, 1, () => {
|
|
149
|
+
s = null;
|
|
150
|
+
}), re());
|
|
151
|
+
},
|
|
152
|
+
i(o) {
|
|
153
|
+
i || (L(s), i = !0);
|
|
154
|
+
},
|
|
155
|
+
o(o) {
|
|
156
|
+
B(s), i = !1;
|
|
157
|
+
},
|
|
158
|
+
d(o) {
|
|
159
|
+
o && v(e), s && s.d(o);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
function be(n, e, i) {
|
|
164
|
+
let { $$slots: s = {}, $$scope: o } = e, { duration: a = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: p = "" } = e, { endpoint: y = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: m = "false" } = e, f = window.navigator.userAgent, l = !1, h = !1, _, b, D, E, S = !1;
|
|
165
|
+
const K = () => {
|
|
166
|
+
i(7, S = !1), i(3, l = H(f)), window.postMessage(
|
|
167
|
+
{
|
|
168
|
+
type: "ModalClosed",
|
|
169
|
+
gamepagemodalurl: d,
|
|
170
|
+
mobileView: l,
|
|
171
|
+
closeIntegratedGameFrameDesktop: !0
|
|
172
|
+
},
|
|
173
|
+
window.location.href
|
|
174
|
+
);
|
|
175
|
+
}, I = (t) => {
|
|
176
|
+
if (t.data.type == "ShowModal" && u == t.data.identifier && (i(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type == "ModalClosed" && (m === "true" || H(f)) && i(7, S = !1), t.data.type === "ShowGameModal" && (i(7, S = !0), window.postMessage(
|
|
177
|
+
{
|
|
178
|
+
type: "GameLaunchID",
|
|
179
|
+
gameId: t.data.gameId
|
|
180
|
+
},
|
|
181
|
+
window.location.href
|
|
182
|
+
), m === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type === "OpenGameFrameModal" && (i(7, S = !0), window.postMessage(
|
|
183
|
+
{
|
|
184
|
+
type: "LaunchGameFrame",
|
|
185
|
+
gameId: t.data.gameId,
|
|
186
|
+
gameFunMode: t.data.gamefunmode
|
|
187
|
+
},
|
|
188
|
+
window.location.href
|
|
189
|
+
), m === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type === "RequestModalSize") {
|
|
190
|
+
let z = {
|
|
191
|
+
modalWidth: _ ? getComputedStyle(_).width : null,
|
|
192
|
+
modalHeight: _ ? getComputedStyle(_).height : null
|
|
193
|
+
};
|
|
194
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: z }, window.location.href);
|
|
195
|
+
}
|
|
196
|
+
t.data.type === "GameStateOnResize" && (h = t.data.detailsObtained);
|
|
197
|
+
}, Q = (t) => {
|
|
198
|
+
if (h) {
|
|
199
|
+
let z = {
|
|
200
|
+
modalWidth: getComputedStyle(_).width,
|
|
201
|
+
modalHeight: getComputedStyle(_).height
|
|
202
|
+
};
|
|
203
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: z }, window.location.href);
|
|
204
|
+
}
|
|
205
|
+
}, X = () => {
|
|
206
|
+
M == "true" && me(y, w).then(
|
|
207
|
+
(t) => {
|
|
208
|
+
t.Guid, t.UserID;
|
|
209
|
+
},
|
|
210
|
+
(t) => {
|
|
211
|
+
console.error("err on session", t);
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
}, Y = () => {
|
|
215
|
+
let t = document.createElement("style");
|
|
216
|
+
t.innerHTML = c, b.appendChild(t);
|
|
217
|
+
}, Z = () => {
|
|
218
|
+
let t = new URL(p), z = document.createElement("style");
|
|
219
|
+
fetch(t.href).then((G) => G.text()).then((G) => {
|
|
220
|
+
z.innerHTML = G, setTimeout(
|
|
221
|
+
() => {
|
|
222
|
+
b.appendChild(z);
|
|
223
|
+
},
|
|
224
|
+
1
|
|
225
|
+
);
|
|
226
|
+
});
|
|
227
|
+
};
|
|
228
|
+
ue(() => (i(3, l = H(f)), window.addEventListener("message", I, !1), window.addEventListener("resize", Q, !1), () => {
|
|
229
|
+
window.removeEventListener("message", I), window.removeEventListener("resize", I);
|
|
230
|
+
}));
|
|
231
|
+
function $(t) {
|
|
232
|
+
q[t ? "unshift" : "push"](() => {
|
|
233
|
+
_ = t, i(4, _);
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
function ee() {
|
|
237
|
+
D = this.clientWidth, E = this.clientHeight, i(5, D), i(6, E);
|
|
238
|
+
}
|
|
239
|
+
function te(t) {
|
|
240
|
+
q[t ? "unshift" : "push"](() => {
|
|
241
|
+
b = t, i(2, b);
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
return n.$$set = (t) => {
|
|
245
|
+
"duration" in t && i(0, a = t.duration), "session" in t && i(9, w = t.session), "userid" in t && i(10, k = t.userid), "clientstyling" in t && i(11, c = t.clientstyling), "identifier" in t && i(12, u = t.identifier), "clientstylingurl" in t && i(13, p = t.clientstylingurl), "endpoint" in t && i(14, y = t.endpoint), "haspanicbutton" in t && i(1, C = t.haspanicbutton), "gamepagemodalurl" in t && i(15, d = t.gamepagemodalurl), "sessioncheck" in t && i(16, M = t.sessioncheck), "integratedgameframedesktop" in t && i(17, m = t.integratedgameframedesktop), "$$scope" in t && i(18, o = t.$$scope);
|
|
246
|
+
}, n.$$.update = () => {
|
|
247
|
+
n.$$.dirty[0] & /*session, userid, endpoint*/
|
|
248
|
+
17920 && w && k && y && X(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
249
|
+
2052 && c && b && Y(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
250
|
+
8196 && p && b && Z();
|
|
251
|
+
}, [
|
|
252
|
+
a,
|
|
253
|
+
C,
|
|
254
|
+
b,
|
|
255
|
+
l,
|
|
256
|
+
_,
|
|
257
|
+
D,
|
|
258
|
+
E,
|
|
259
|
+
S,
|
|
260
|
+
K,
|
|
261
|
+
w,
|
|
262
|
+
k,
|
|
263
|
+
c,
|
|
264
|
+
u,
|
|
265
|
+
p,
|
|
266
|
+
y,
|
|
267
|
+
d,
|
|
268
|
+
M,
|
|
269
|
+
m,
|
|
270
|
+
o,
|
|
271
|
+
s,
|
|
272
|
+
$,
|
|
273
|
+
ee,
|
|
274
|
+
te
|
|
275
|
+
];
|
|
276
|
+
}
|
|
277
|
+
class ke extends ne {
|
|
278
|
+
constructor(e) {
|
|
279
|
+
super(), se(
|
|
280
|
+
this,
|
|
281
|
+
e,
|
|
282
|
+
be,
|
|
283
|
+
Me,
|
|
284
|
+
oe,
|
|
285
|
+
{
|
|
286
|
+
duration: 0,
|
|
287
|
+
session: 9,
|
|
288
|
+
userid: 10,
|
|
289
|
+
clientstyling: 11,
|
|
290
|
+
identifier: 12,
|
|
291
|
+
clientstylingurl: 13,
|
|
292
|
+
endpoint: 14,
|
|
293
|
+
haspanicbutton: 1,
|
|
294
|
+
gamepagemodalurl: 15,
|
|
295
|
+
sessioncheck: 16,
|
|
296
|
+
integratedgameframedesktop: 17
|
|
297
|
+
},
|
|
298
|
+
_e,
|
|
299
|
+
[-1, -1]
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
get duration() {
|
|
303
|
+
return this.$$.ctx[0];
|
|
304
|
+
}
|
|
305
|
+
set duration(e) {
|
|
306
|
+
this.$$set({ duration: e }), g();
|
|
307
|
+
}
|
|
308
|
+
get session() {
|
|
309
|
+
return this.$$.ctx[9];
|
|
310
|
+
}
|
|
311
|
+
set session(e) {
|
|
312
|
+
this.$$set({ session: e }), g();
|
|
313
|
+
}
|
|
314
|
+
get userid() {
|
|
315
|
+
return this.$$.ctx[10];
|
|
316
|
+
}
|
|
317
|
+
set userid(e) {
|
|
318
|
+
this.$$set({ userid: e }), g();
|
|
319
|
+
}
|
|
320
|
+
get clientstyling() {
|
|
321
|
+
return this.$$.ctx[11];
|
|
322
|
+
}
|
|
323
|
+
set clientstyling(e) {
|
|
324
|
+
this.$$set({ clientstyling: e }), g();
|
|
325
|
+
}
|
|
326
|
+
get identifier() {
|
|
327
|
+
return this.$$.ctx[12];
|
|
328
|
+
}
|
|
329
|
+
set identifier(e) {
|
|
330
|
+
this.$$set({ identifier: e }), g();
|
|
331
|
+
}
|
|
332
|
+
get clientstylingurl() {
|
|
333
|
+
return this.$$.ctx[13];
|
|
334
|
+
}
|
|
335
|
+
set clientstylingurl(e) {
|
|
336
|
+
this.$$set({ clientstylingurl: e }), g();
|
|
337
|
+
}
|
|
338
|
+
get endpoint() {
|
|
339
|
+
return this.$$.ctx[14];
|
|
340
|
+
}
|
|
341
|
+
set endpoint(e) {
|
|
342
|
+
this.$$set({ endpoint: e }), g();
|
|
343
|
+
}
|
|
344
|
+
get haspanicbutton() {
|
|
345
|
+
return this.$$.ctx[1];
|
|
346
|
+
}
|
|
347
|
+
set haspanicbutton(e) {
|
|
348
|
+
this.$$set({ haspanicbutton: e }), g();
|
|
349
|
+
}
|
|
350
|
+
get gamepagemodalurl() {
|
|
351
|
+
return this.$$.ctx[15];
|
|
352
|
+
}
|
|
353
|
+
set gamepagemodalurl(e) {
|
|
354
|
+
this.$$set({ gamepagemodalurl: e }), g();
|
|
355
|
+
}
|
|
356
|
+
get sessioncheck() {
|
|
357
|
+
return this.$$.ctx[16];
|
|
358
|
+
}
|
|
359
|
+
set sessioncheck(e) {
|
|
360
|
+
this.$$set({ sessioncheck: e }), g();
|
|
361
|
+
}
|
|
362
|
+
get integratedgameframedesktop() {
|
|
363
|
+
return this.$$.ctx[17];
|
|
364
|
+
}
|
|
365
|
+
set integratedgameframedesktop(e) {
|
|
366
|
+
this.$$set({ integratedgameframedesktop: e }), g();
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
we(ke, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {} }, ["default", "close"], [], !0);
|
|
370
|
+
export {
|
|
371
|
+
ke as default
|
|
372
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BMfA7KN3.cjs");require("./CasinoFavoritesSection-6Sdpq5gN.cjs");function D(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const R={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-14zqglz","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),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[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},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]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[19]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,m){t.insert(o,e,m),t.append(e,i)},p(o,m){m[0]&524288&&a!==(a=o[19]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(r,c){return r[18]?Z:X}let o=i(n),m=o(n);return{c(){e=t.element("div"),a=t.element("div"),m.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,c){t.insert(r,e,c),t.append(e,a),m.m(a,null),n[23](e)},p(r,c){o===(o=i(r))&&m?m.p(r,c):(m.d(1),m=o(r),m&&(m.c(),m.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),m.d(),n[23](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(19,i=s));let{endpoint:o=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:j=""}=e,{userid:h=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{livecasino:b="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:S="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:A=""}=e,{visiblegames:k}=e,{favorites:E=""}=e,{translationurl:w=""}=e,{casinomygames:N="false"}=e,{mostplayedperiod:P="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:T="true"}=e,q=window.navigator.userAgent;const z=()=>{fetch(w).then(l=>l.json()).then(l=>{Object.keys(l).forEach(u=>{D(u,l[u])})}).catch(l=>{console.log(l)})};Object.keys(R).forEach(s=>{D(s,R[s])});let G=[],F,O=!1,f;const H=s=>{let l=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&l.searchParams.append("limit",s.limit),s.order&&l.searchParams.append("order",s.order),l.searchParams.append("expand","games"),l.searchParams.append("period",P);let u=s.device;return u?u==="PC"?l.searchParams.append("device","Desktop"):l.searchParams.append("device","Mobile"):l.searchParams.append("device","All"),s.rounds&&l.searchParams.append("rounds",s.rounds),F=b?l:l.href,new Promise((d,_)=>{fetch(F).then(g=>g.json()).then(g=>{g.items=g.items.filter(Q=>{let p=!0;return Q.gameCode=="OddsMatrix2"&&(g.count--,p=!1),p}),d(g)}).catch(g=>{console.error(g),_(g)})})},I=()=>{H({limit:100,device:t.getDevice(q),rounds:C}).then(s=>{if(s.count>0){let l=[];s.items.forEach(u=>{let d=new URL(`${o}/v1/casino/games/${u.gameId}`);d.searchParams.append("datasource",m),b?l.push(fetch(d.href).then(_=>_.json())):l.push(fetch(d.href).then(_=>_.json()))}),Promise.all(l).then(u=>{G=u.filter(d=>!("error"in d)).map(d=>d[0]),N==="true"&&(G=G.slice(0,JSON.parse(k))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)})}else a(18,O=!0)})},J=()=>{V(c)},Y=()=>{let s=document.createElement("style");s.innerHTML=y,f.appendChild(s)},B=()=>{let s=document.createElement("style");fetch(new URL(v)).then(l=>l.text()).then(l=>{s.innerHTML=l,setTimeout(()=>{f.appendChild(s)},1)})};function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,a(17,f)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,m=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,c=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"clientstyling"in s&&a(6,y=s.clientstyling),"clientstylingurl"in s&&a(7,v=s.clientstylingurl),"livecasino"in s&&a(8,b=s.livecasino),"integratedgameframemobile"in s&&a(9,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,S=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,A=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"translationurl"in s&&a(20,w=s.translationurl),"casinomygames"in s&&a(15,N=s.casinomygames),"mostplayedperiod"in s&&a(21,P=s.mostplayedperiod),"mostplayedrounds"in s&&a(22,C=s.mostplayedrounds),"fetchviaevent"in s&&a(16,T=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&c&&I(),n.$$.dirty[0]&131136&&y&&f&&Y(),n.$$.dirty[0]&131200&&v&&f&&B(),n.$$.dirty[0]&1048576&&w&&z(),n.$$.dirty[0]&8&&c&&J()},[o,m,r,c,j,h,y,v,b,L,S,M,A,k,E,N,T,f,O,i,w,P,C,K]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=U;
|
package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-BvIjl5pV.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as se, i as ae,
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as se, i as ae, s as ne, f as l, b as ie, n as I, d as M, h as A, p as K, j as N, r as S, k as oe, K as le, C as me, m as re, q as ge, L as n, I as ce, J as de } from "./CasinoCalendar-yoWAbEkY.js";
|
|
2
|
+
import "./CasinoFavoritesSection-B73CXUAy.js";
|
|
3
|
+
function H(a, e) {
|
|
4
4
|
ee(a, e);
|
|
5
5
|
}
|
|
6
6
|
function ue(a) {
|
|
7
7
|
te.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const J = {
|
|
10
10
|
en: {
|
|
11
11
|
noGames: "No games in most played"
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@ const B = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function fe(a) {
|
|
66
|
-
|
|
66
|
+
ie(a, "svelte-14zqglz", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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))}");
|
|
67
67
|
}
|
|
68
68
|
function he(a) {
|
|
69
69
|
let e;
|
|
@@ -157,7 +157,7 @@ function he(a) {
|
|
|
157
157
|
);
|
|
158
158
|
},
|
|
159
159
|
m(s, i) {
|
|
160
|
-
|
|
160
|
+
A(s, e, i);
|
|
161
161
|
},
|
|
162
162
|
p(s, i) {
|
|
163
163
|
i[0] & /*session*/
|
|
@@ -265,7 +265,7 @@ function he(a) {
|
|
|
265
265
|
);
|
|
266
266
|
},
|
|
267
267
|
d(s) {
|
|
268
|
-
s &&
|
|
268
|
+
s && M(e);
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
@@ -279,15 +279,15 @@ function ye(a) {
|
|
|
279
279
|
e = N("p"), i = ge(s), S(e, "class", "SearchLoading");
|
|
280
280
|
},
|
|
281
281
|
m(r, m) {
|
|
282
|
-
|
|
282
|
+
A(r, e, m), K(e, i);
|
|
283
283
|
},
|
|
284
284
|
p(r, m) {
|
|
285
285
|
m[0] & /*$_*/
|
|
286
286
|
524288 && s !== (s = /*$_*/
|
|
287
|
-
r[19]("noGames") + "") &&
|
|
287
|
+
r[19]("noGames") + "") && re(i, s);
|
|
288
288
|
},
|
|
289
289
|
d(r) {
|
|
290
|
-
r &&
|
|
290
|
+
r && M(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -305,41 +305,41 @@ function ve(a) {
|
|
|
305
305
|
e = N("div"), s = N("div"), m.c(), S(s, "class", "casino-most-played-section"), S(e, "class", "CasinoGamesCategorySectionContainer");
|
|
306
306
|
},
|
|
307
307
|
m(g, c) {
|
|
308
|
-
|
|
308
|
+
A(g, e, c), K(e, s), m.m(s, null), a[23](e);
|
|
309
309
|
},
|
|
310
310
|
p(g, c) {
|
|
311
311
|
r === (r = i(g)) && m ? m.p(g, c) : (m.d(1), m = r(g), m && (m.c(), m.m(s, null)));
|
|
312
312
|
},
|
|
313
|
-
i:
|
|
314
|
-
o:
|
|
313
|
+
i: I,
|
|
314
|
+
o: I,
|
|
315
315
|
d(g) {
|
|
316
|
-
g &&
|
|
316
|
+
g && M(e), m.d(), a[23](null);
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
320
|
function be(a, e, s) {
|
|
321
321
|
let i;
|
|
322
|
-
|
|
323
|
-
let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl:
|
|
324
|
-
const
|
|
322
|
+
oe(a, de, (t) => s(19, i = t));
|
|
323
|
+
let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: D = "" } = e, { visiblegames: P } = e, { favorites: R = "" } = e, { translationurl: k = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: U = "true" } = e, Y = window.navigator.userAgent;
|
|
324
|
+
const B = () => {
|
|
325
325
|
fetch(k).then((o) => o.json()).then((o) => {
|
|
326
326
|
Object.keys(o).forEach((d) => {
|
|
327
|
-
|
|
327
|
+
H(d, o[d]);
|
|
328
328
|
});
|
|
329
329
|
}).catch((o) => {
|
|
330
330
|
console.log(o);
|
|
331
331
|
});
|
|
332
332
|
};
|
|
333
|
-
Object.keys(
|
|
334
|
-
|
|
333
|
+
Object.keys(J).forEach((t) => {
|
|
334
|
+
H(t, J[t]);
|
|
335
335
|
});
|
|
336
|
-
let G = [],
|
|
336
|
+
let G = [], p, z = !1, h;
|
|
337
337
|
const Q = (t) => {
|
|
338
338
|
let o = new URL(`${r}/v1/player/${v}/games/most-played`);
|
|
339
339
|
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
|
|
340
340
|
let d = t.device;
|
|
341
|
-
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds),
|
|
342
|
-
fetch(
|
|
341
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), p = w ? o : o.href, new Promise((u, y) => {
|
|
342
|
+
fetch(p).then((f) => f.json()).then((f) => {
|
|
343
343
|
f.items = f.items.filter(($) => {
|
|
344
344
|
let q = !0;
|
|
345
345
|
return $.gameCode == "OddsMatrix2" && (f.count--, q = !1), q;
|
|
@@ -351,7 +351,7 @@ function be(a, e, s) {
|
|
|
351
351
|
}, V = () => {
|
|
352
352
|
Q({
|
|
353
353
|
limit: 100,
|
|
354
|
-
device:
|
|
354
|
+
device: le(Y),
|
|
355
355
|
rounds: L
|
|
356
356
|
}).then((t) => {
|
|
357
357
|
if (t.count > 0) {
|
|
@@ -363,7 +363,7 @@ function be(a, e, s) {
|
|
|
363
363
|
G = d.filter((u) => !("error" in u)).map((u) => u[0]), C === "true" && (G = G.slice(0, JSON.parse(P))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: G }, window.location.href);
|
|
364
364
|
});
|
|
365
365
|
} else
|
|
366
|
-
s(18,
|
|
366
|
+
s(18, z = !0);
|
|
367
367
|
});
|
|
368
368
|
}, W = () => {
|
|
369
369
|
ue(c);
|
|
@@ -382,18 +382,18 @@ function be(a, e, s) {
|
|
|
382
382
|
});
|
|
383
383
|
};
|
|
384
384
|
function x(t) {
|
|
385
|
-
|
|
385
|
+
me[t ? "unshift" : "push"](() => {
|
|
386
386
|
h = t, s(17, h);
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
389
|
return a.$$set = (t) => {
|
|
390
|
-
"endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11,
|
|
390
|
+
"endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, O = t.gamepagemodalurl), "showgamename" in t && s(12, D = t.showgamename), "visiblegames" in t && s(13, P = t.visiblegames), "favorites" in t && s(14, R = t.favorites), "translationurl" in t && s(20, k = t.translationurl), "casinomygames" in t && s(15, C = t.casinomygames), "mostplayedperiod" in t && s(21, j = t.mostplayedperiod), "mostplayedrounds" in t && s(22, L = t.mostplayedrounds), "fetchviaevent" in t && s(16, U = t.fetchviaevent);
|
|
391
391
|
}, a.$$.update = () => {
|
|
392
392
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
393
393
|
41 && r && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
394
394
|
131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
395
|
131200 && _ && h && Z(), a.$$.dirty[0] & /*translationurl*/
|
|
396
|
-
1048576 && k &&
|
|
396
|
+
1048576 && k && B(), a.$$.dirty[0] & /*lang*/
|
|
397
397
|
8 && c && W();
|
|
398
398
|
}, [
|
|
399
399
|
r,
|
|
@@ -407,14 +407,14 @@ function be(a, e, s) {
|
|
|
407
407
|
w,
|
|
408
408
|
F,
|
|
409
409
|
T,
|
|
410
|
-
D,
|
|
411
410
|
O,
|
|
411
|
+
D,
|
|
412
412
|
P,
|
|
413
413
|
R,
|
|
414
414
|
C,
|
|
415
415
|
U,
|
|
416
416
|
h,
|
|
417
|
-
|
|
417
|
+
z,
|
|
418
418
|
i,
|
|
419
419
|
k,
|
|
420
420
|
j,
|
|
@@ -429,7 +429,7 @@ class _e extends se {
|
|
|
429
429
|
e,
|
|
430
430
|
be,
|
|
431
431
|
ve,
|
|
432
|
-
|
|
432
|
+
ne,
|
|
433
433
|
{
|
|
434
434
|
endpoint: 0,
|
|
435
435
|
datasource: 1,
|
|
@@ -577,7 +577,7 @@ class _e extends se {
|
|
|
577
577
|
this.$$set({ fetchviaevent: e }), l();
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
|
|
580
|
+
ce(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
581
581
|
export {
|
|
582
582
|
_e as default
|
|
583
583
|
};
|