@everymatrix/casino-lobby 1.41.0 → 1.42.69
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-BQx5-rlk.cjs +9 -0
- package/components/CasinoCalendar-CGBzMgQt.cjs +9 -0
- package/components/CasinoCalendar-C_GWg7fU.js +5215 -0
- package/components/CasinoCalendar-D8A7V_p_.js +5176 -0
- package/components/CasinoCalendar-T2eu_ijJ.js +5213 -0
- package/components/CasinoCalendar-wabXB62Y.js +5174 -0
- package/components/CasinoCalendarDailyDetails-BsuvGAH5.js +701 -0
- package/components/CasinoCalendarDailyDetails-CXJQEBiD.js +701 -0
- package/components/CasinoCalendarDailyDetails-DD9ivry_.js +701 -0
- package/components/CasinoCalendarDailyDetails-DuTGv4cR.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-DxoETvny.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-HgqSzjsm.js +701 -0
- package/components/CasinoCalendarDailyItem-9ZdOdWc1.js +315 -0
- package/components/CasinoCalendarDailyItem-BQH_cu-K.cjs +1 -0
- package/components/CasinoCalendarDailyItem-Cij4qSkW.js +315 -0
- package/components/CasinoCalendarDailyItem-DieqmO8j.js +315 -0
- package/components/CasinoCalendarDailyItem-DynzkhlT.js +315 -0
- package/components/CasinoCalendarDailyItem-W6jJ8Vef.cjs +1 -0
- package/components/CasinoCategoriesSlider-CCBzNNkz.cjs +1 -0
- package/components/CasinoCategoriesSlider-Dg6UQ05U.js +594 -0
- package/components/CasinoCategoriesSlider-DqNp_BOt.js +594 -0
- package/components/CasinoCategoriesSlider-GrF0HXC7.cjs +1 -0
- package/components/CasinoCategoriesSlider-_w_55gG7.js +594 -0
- package/components/CasinoCategoriesSlider-pHVM7RZL.js +594 -0
- package/components/CasinoCollectionsProviders-BIcovGJ8.js +646 -0
- package/components/CasinoCollectionsProviders-CH2GAKzC.cjs +1 -0
- package/components/CasinoCollectionsProviders-D45_hU-I.js +646 -0
- package/components/CasinoCollectionsProviders-DMj_7QBU.cjs +1 -0
- package/components/CasinoCollectionsProviders-DfgvvOqL.js +651 -0
- package/components/CasinoCollectionsProviders-N_n3oOYS.js +651 -0
- package/components/CasinoFavoritesSection-B0uLh581.js +426 -0
- package/components/CasinoFavoritesSection-BD3Pecym.cjs +1 -0
- package/components/CasinoFavoritesSection-BMVarhje.cjs +1 -0
- package/components/CasinoFavoritesSection-B_tSVGIY.js +426 -0
- package/components/CasinoFavoritesSection-Da-NSsar.js +426 -0
- package/components/CasinoFavoritesSection-Dm0HviHl.js +426 -0
- package/components/CasinoFilter-B9sKxzVS.js +620 -0
- package/components/CasinoFilter-CMVqOmbG.js +619 -0
- package/components/CasinoFilter-Cf00T9dk.js +620 -0
- package/components/CasinoFilter-D3HxH1PB.cjs +1 -0
- package/components/CasinoFilter-DD3HMkSy.js +619 -0
- package/components/CasinoFilter-c8_bvC4c.cjs +1 -0
- package/components/CasinoGamePage-BundiLLb.js +4266 -0
- package/components/CasinoGamePage-C10RyyZp.cjs +18 -0
- package/components/CasinoGamePage-CfbBY5CU.cjs +18 -0
- package/components/CasinoGamePage-DC-LoQTc.js +4266 -0
- package/components/CasinoGamePage-OZnVr_Bg.js +4287 -0
- package/components/CasinoGamePage-yVND0I7w.js +4287 -0
- package/components/CasinoGameThumbnail-B1NNWJ0K.js +1820 -0
- package/components/CasinoGameThumbnail-Bc66QenW.cjs +38 -0
- package/components/CasinoGameThumbnail-CIGOC4uM.js +1820 -0
- package/components/CasinoGameThumbnail-DA3jcFAi.js +1836 -0
- package/components/CasinoGameThumbnail-DT9ORm8q.js +1836 -0
- package/components/CasinoGameThumbnail-DcqwhTjb.cjs +38 -0
- package/components/CasinoGamesCategorySection-BNYOO745.cjs +1 -0
- package/components/CasinoGamesCategorySection-C78ehK4U.js +2991 -0
- package/components/CasinoGamesCategorySection-Cagm02Ih.js +3020 -0
- package/components/CasinoGamesCategorySection-DBr4EIfz.js +2991 -0
- package/components/CasinoGamesCategorySection-Kzwpz7w5.js +3020 -0
- package/components/CasinoGamesCategorySection-_vABwskz.cjs +1 -0
- package/components/CasinoJackpotBanner-5cCB-mh2.js +592 -0
- package/components/CasinoJackpotBanner-Agfg0mZ0.js +592 -0
- package/components/CasinoJackpotBanner-BAhiOMZp.cjs +1 -0
- package/components/CasinoJackpotBanner-D7ZMZfDV.cjs +1 -0
- package/components/CasinoJackpotBanner-DR-ZzHCR.js +596 -0
- package/components/CasinoJackpotBanner-QB6MSrF4.js +596 -0
- package/components/CasinoLastPlayedSection-BjhQKUSK.js +556 -0
- package/components/CasinoLastPlayedSection-BxzCwcL-.js +556 -0
- package/components/CasinoLastPlayedSection-D4vCeonE.js +556 -0
- package/components/CasinoLastPlayedSection-Dwe4Td9f.cjs +1 -0
- package/components/CasinoLastPlayedSection-XK5dzsj-.js +556 -0
- package/components/CasinoLastPlayedSection-v0aQnExT.cjs +1 -0
- package/components/CasinoLobby-AFKKESbR.cjs +1 -0
- package/components/CasinoLobby-CHvuexFs.js +2315 -0
- package/components/CasinoLobby-ClhYpfUU.js +2315 -0
- package/components/CasinoLobby-DALY2Dhs.cjs +1 -0
- package/components/CasinoLobby-hrKaH7qN.js +2315 -0
- package/components/CasinoLobby-ouSesgdC.js +2315 -0
- package/components/CasinoModal-BIVMlWQX.js +359 -0
- package/components/CasinoModal-BYKM2vRV.cjs +1 -0
- package/components/CasinoModal-C3wpERtX.js +359 -0
- package/components/CasinoModal-Cabai4o3.js +359 -0
- package/components/CasinoModal-DRyqJh1Q.cjs +1 -0
- package/components/CasinoModal-Dw_y4THL.js +359 -0
- package/components/CasinoMostPlayedSection-C3K0hu8_.js +583 -0
- package/components/CasinoMostPlayedSection-CJYMI9VB.js +583 -0
- package/components/CasinoMostPlayedSection-DJQuOa6_.js +583 -0
- package/components/CasinoMostPlayedSection-DmUpsWqs.cjs +1 -0
- package/components/CasinoMostPlayedSection-OUtCsU0t.cjs +1 -0
- package/components/CasinoMostPlayedSection-Y5er9Bjh.js +583 -0
- package/components/CasinoMyGames-BIxyEUtK.js +1306 -0
- package/components/CasinoMyGames-D5rJT74m.cjs +1 -0
- package/components/CasinoMyGames-DI1lwYc8.js +1305 -0
- package/components/CasinoMyGames-DTHVNaKn.cjs +1 -0
- package/components/CasinoMyGames-DwUV6CBn.js +1305 -0
- package/components/CasinoMyGames-ctBoKyAg.js +1306 -0
- package/components/CasinoPage-BGO7Qjz8.js +3535 -0
- package/components/CasinoPage-Bw9pVfhj.cjs +1 -0
- package/components/CasinoPage-Ccz2mt9L.js +3535 -0
- package/components/CasinoPage-D4SKFGBe.cjs +1 -0
- package/components/CasinoPage-DLYXRAgH.js +3538 -0
- package/components/CasinoPage-OtILzfbb.js +3538 -0
- package/components/CasinoRandomGame-CtZOIJcN.js +658 -0
- package/components/CasinoRandomGame-Cveyjhn1.js +642 -0
- package/components/CasinoRandomGame-DALiyns2.cjs +2 -0
- package/components/CasinoRandomGame-DVoXDVJK.cjs +2 -0
- package/components/CasinoRandomGame-DbeS8lnM.js +642 -0
- package/components/CasinoRandomGame-HLWP49DK.js +658 -0
- package/components/CasinoSearch-B8OpEZBN.cjs +1 -0
- package/components/CasinoSearch-BMZWS8yv.js +1058 -0
- package/components/CasinoSearch-BQe9Q-5N.js +1060 -0
- package/components/CasinoSearch-B_Yrv4Uo.cjs +1 -0
- package/components/CasinoSearch-CbqN_jyR.js +1058 -0
- package/components/CasinoSearch-D9U7Yh_K.js +1060 -0
- package/components/CasinoSlider-BOVT94iB.js +794 -0
- package/components/CasinoSlider-BSHGeAYd.js +788 -0
- package/components/CasinoSlider-BvS3IBvk.cjs +1 -0
- package/components/CasinoSlider-CF-wUwQR.cjs +1 -0
- package/components/CasinoSlider-CrHKe4Xk.js +803 -0
- package/components/CasinoSlider-Cxh3sOkP.js +797 -0
- package/components/CasinoSort-BOWrHLh_.js +420 -0
- package/components/CasinoSort-BwnNTnFA.js +420 -0
- package/components/CasinoSort-DTw1r10v.js +419 -0
- package/components/CasinoSort-DWtBvm9D.cjs +1 -0
- package/components/CasinoSort-LblMuLP4.js +419 -0
- package/components/CasinoSort-hnzXlXWX.cjs +1 -0
- package/components/CasinoWinners-C9izX5Hz.js +955 -0
- package/components/CasinoWinners-CO3x7y86.js +955 -0
- package/components/CasinoWinners-CZWuAxEs.js +953 -0
- package/components/CasinoWinners-CjaKY4pX.cjs +1 -0
- package/components/CasinoWinners-DOucg2Bq.js +953 -0
- package/components/CasinoWinners-xdJkyzy9.cjs +1 -0
- package/components/GeneralAnimationLoading-C4-n6eKC.cjs +1 -0
- package/components/GeneralAnimationLoading-CGGvPAzb.js +75 -0
- package/components/GeneralAnimationLoading-Ch_RgnSg.js +75 -0
- package/components/GeneralAnimationLoading-DBrwarIl.js +75 -0
- package/components/GeneralAnimationLoading-YY_Qislb.cjs +1 -0
- package/components/GeneralAnimationLoading-qKrL3K2W.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/esnext/casino-lobby.js +14 -0
- package/package.json +19 -34
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/casino-play-random-game-CE7d8ftV.js +559 -0
- package/stencil/casino-play-random-game-JlSgoZ7I.js +577 -0
- package/stencil/casino-play-random-game-fmski7eY.cjs +371 -0
- package/stencil/index-bc02f5d1-CGWk9tpa.js +609 -0
- package/stencil/index-bc02f5d1-Cfiraoh4.js +625 -0
- package/stencil/index-bc02f5d1-zY9WEQOW.cjs +1 -0
- package/CHANGELOG.md +0 -39
- package/README.md +0 -0
- package/dist/casino-lobby.js +0 -33
- package/dist/casino-lobby.js.map +0 -1
- package/documentation.md +0 -176
- package/index.html +0 -50
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoLobby.svelte +0 -454
- package/src/i18n.js +0 -25
- package/src/index.ts +0 -4
- package/stories/CasinoLobby.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
import { a as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, v as S, d as M, w as J, D as H, j as A, k as le, K as me, n as re, O as n, u as ge, B as ce, F as de } from "./CasinoCalendar-wabXB62Y.js";
|
|
2
|
+
import "./CasinoFavoritesSection-Da-NSsar.js";
|
|
3
|
+
function I(a, e) {
|
|
4
|
+
ee(a, e);
|
|
5
|
+
}
|
|
6
|
+
function ue(a) {
|
|
7
|
+
te.set(a);
|
|
8
|
+
}
|
|
9
|
+
const B = {
|
|
10
|
+
en: {
|
|
11
|
+
noGames: "No games in most played"
|
|
12
|
+
},
|
|
13
|
+
"zh-hk": {
|
|
14
|
+
noGames: "No games in most played"
|
|
15
|
+
},
|
|
16
|
+
de: {
|
|
17
|
+
noGames: "No games in most played"
|
|
18
|
+
},
|
|
19
|
+
it: {
|
|
20
|
+
noGames: "No games in most played"
|
|
21
|
+
},
|
|
22
|
+
fr: {
|
|
23
|
+
noGames: "No games in most played"
|
|
24
|
+
},
|
|
25
|
+
es: {
|
|
26
|
+
noGames: "No hay juegos en más jugados."
|
|
27
|
+
},
|
|
28
|
+
tr: {
|
|
29
|
+
noGames: "En çok oynananlarda oyun yok"
|
|
30
|
+
},
|
|
31
|
+
ru: {
|
|
32
|
+
noGames: "No games in most played"
|
|
33
|
+
},
|
|
34
|
+
ro: {
|
|
35
|
+
noGames: "No games in most played"
|
|
36
|
+
},
|
|
37
|
+
hr: {
|
|
38
|
+
noGames: "Nema igara u najigranijim"
|
|
39
|
+
},
|
|
40
|
+
hu: {
|
|
41
|
+
noGames: "No games in most played"
|
|
42
|
+
},
|
|
43
|
+
pl: {
|
|
44
|
+
noGames: "No games in most played"
|
|
45
|
+
},
|
|
46
|
+
pt: {
|
|
47
|
+
noGames: "No games in most played"
|
|
48
|
+
},
|
|
49
|
+
sl: {
|
|
50
|
+
noGames: "No games in most played"
|
|
51
|
+
},
|
|
52
|
+
sr: {
|
|
53
|
+
noGames: "No games in most played"
|
|
54
|
+
},
|
|
55
|
+
"pt-br": {
|
|
56
|
+
noGames: "Não há jogos nos mais jogados"
|
|
57
|
+
},
|
|
58
|
+
"es-mx": {
|
|
59
|
+
noGames: "No hay juegos en los más jugados"
|
|
60
|
+
},
|
|
61
|
+
"en-us": {
|
|
62
|
+
noGames: "No games in most played"
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
function fe(a) {
|
|
66
|
+
oe(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
|
+
}
|
|
68
|
+
function he(a) {
|
|
69
|
+
let e;
|
|
70
|
+
return {
|
|
71
|
+
c() {
|
|
72
|
+
e = N("casino-games-category-section"), n(
|
|
73
|
+
e,
|
|
74
|
+
"session",
|
|
75
|
+
/*session*/
|
|
76
|
+
a[4]
|
|
77
|
+
), n(
|
|
78
|
+
e,
|
|
79
|
+
"userid",
|
|
80
|
+
/*userid*/
|
|
81
|
+
a[5]
|
|
82
|
+
), n(
|
|
83
|
+
e,
|
|
84
|
+
"endpoint",
|
|
85
|
+
/*endpoint*/
|
|
86
|
+
a[0]
|
|
87
|
+
), n(
|
|
88
|
+
e,
|
|
89
|
+
"datasource",
|
|
90
|
+
/*datasource*/
|
|
91
|
+
a[1]
|
|
92
|
+
), n(
|
|
93
|
+
e,
|
|
94
|
+
"lang",
|
|
95
|
+
/*lang*/
|
|
96
|
+
a[3]
|
|
97
|
+
), n(
|
|
98
|
+
e,
|
|
99
|
+
"currency",
|
|
100
|
+
/*currency*/
|
|
101
|
+
a[2]
|
|
102
|
+
), n(
|
|
103
|
+
e,
|
|
104
|
+
"favorites",
|
|
105
|
+
/*favorites*/
|
|
106
|
+
a[14]
|
|
107
|
+
), n(
|
|
108
|
+
e,
|
|
109
|
+
"fetchviaevent",
|
|
110
|
+
/*fetchviaevent*/
|
|
111
|
+
a[16]
|
|
112
|
+
), n(e, "categoryid", "MOSTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
|
|
113
|
+
e,
|
|
114
|
+
"showgamename",
|
|
115
|
+
/*showgamename*/
|
|
116
|
+
a[12]
|
|
117
|
+
), n(
|
|
118
|
+
e,
|
|
119
|
+
"clientstyling",
|
|
120
|
+
/*clientstyling*/
|
|
121
|
+
a[6]
|
|
122
|
+
), n(
|
|
123
|
+
e,
|
|
124
|
+
"clientstylingurl",
|
|
125
|
+
/*clientstylingurl*/
|
|
126
|
+
a[7]
|
|
127
|
+
), n(
|
|
128
|
+
e,
|
|
129
|
+
"livecasino",
|
|
130
|
+
/*livecasino*/
|
|
131
|
+
a[8]
|
|
132
|
+
), n(
|
|
133
|
+
e,
|
|
134
|
+
"visiblegames",
|
|
135
|
+
/*visiblegames*/
|
|
136
|
+
a[13]
|
|
137
|
+
), n(
|
|
138
|
+
e,
|
|
139
|
+
"gamepagemodalurl",
|
|
140
|
+
/*gamepagemodalurl*/
|
|
141
|
+
a[11]
|
|
142
|
+
), n(
|
|
143
|
+
e,
|
|
144
|
+
"integratedgameframedesktop",
|
|
145
|
+
/*integratedgameframedesktop*/
|
|
146
|
+
a[10]
|
|
147
|
+
), n(
|
|
148
|
+
e,
|
|
149
|
+
"integratedgameframemobile",
|
|
150
|
+
/*integratedgameframemobile*/
|
|
151
|
+
a[9]
|
|
152
|
+
), n(
|
|
153
|
+
e,
|
|
154
|
+
"casinomygames",
|
|
155
|
+
/*casinomygames*/
|
|
156
|
+
a[15]
|
|
157
|
+
);
|
|
158
|
+
},
|
|
159
|
+
m(s, i) {
|
|
160
|
+
M(s, e, i);
|
|
161
|
+
},
|
|
162
|
+
p(s, i) {
|
|
163
|
+
i[0] & /*session*/
|
|
164
|
+
16 && n(
|
|
165
|
+
e,
|
|
166
|
+
"session",
|
|
167
|
+
/*session*/
|
|
168
|
+
s[4]
|
|
169
|
+
), i[0] & /*userid*/
|
|
170
|
+
32 && n(
|
|
171
|
+
e,
|
|
172
|
+
"userid",
|
|
173
|
+
/*userid*/
|
|
174
|
+
s[5]
|
|
175
|
+
), i[0] & /*endpoint*/
|
|
176
|
+
1 && n(
|
|
177
|
+
e,
|
|
178
|
+
"endpoint",
|
|
179
|
+
/*endpoint*/
|
|
180
|
+
s[0]
|
|
181
|
+
), i[0] & /*datasource*/
|
|
182
|
+
2 && n(
|
|
183
|
+
e,
|
|
184
|
+
"datasource",
|
|
185
|
+
/*datasource*/
|
|
186
|
+
s[1]
|
|
187
|
+
), i[0] & /*lang*/
|
|
188
|
+
8 && n(
|
|
189
|
+
e,
|
|
190
|
+
"lang",
|
|
191
|
+
/*lang*/
|
|
192
|
+
s[3]
|
|
193
|
+
), i[0] & /*currency*/
|
|
194
|
+
4 && n(
|
|
195
|
+
e,
|
|
196
|
+
"currency",
|
|
197
|
+
/*currency*/
|
|
198
|
+
s[2]
|
|
199
|
+
), i[0] & /*favorites*/
|
|
200
|
+
16384 && n(
|
|
201
|
+
e,
|
|
202
|
+
"favorites",
|
|
203
|
+
/*favorites*/
|
|
204
|
+
s[14]
|
|
205
|
+
), i[0] & /*fetchviaevent*/
|
|
206
|
+
65536 && n(
|
|
207
|
+
e,
|
|
208
|
+
"fetchviaevent",
|
|
209
|
+
/*fetchviaevent*/
|
|
210
|
+
s[16]
|
|
211
|
+
), i[0] & /*showgamename*/
|
|
212
|
+
4096 && n(
|
|
213
|
+
e,
|
|
214
|
+
"showgamename",
|
|
215
|
+
/*showgamename*/
|
|
216
|
+
s[12]
|
|
217
|
+
), i[0] & /*clientstyling*/
|
|
218
|
+
64 && n(
|
|
219
|
+
e,
|
|
220
|
+
"clientstyling",
|
|
221
|
+
/*clientstyling*/
|
|
222
|
+
s[6]
|
|
223
|
+
), i[0] & /*clientstylingurl*/
|
|
224
|
+
128 && n(
|
|
225
|
+
e,
|
|
226
|
+
"clientstylingurl",
|
|
227
|
+
/*clientstylingurl*/
|
|
228
|
+
s[7]
|
|
229
|
+
), i[0] & /*livecasino*/
|
|
230
|
+
256 && n(
|
|
231
|
+
e,
|
|
232
|
+
"livecasino",
|
|
233
|
+
/*livecasino*/
|
|
234
|
+
s[8]
|
|
235
|
+
), i[0] & /*visiblegames*/
|
|
236
|
+
8192 && n(
|
|
237
|
+
e,
|
|
238
|
+
"visiblegames",
|
|
239
|
+
/*visiblegames*/
|
|
240
|
+
s[13]
|
|
241
|
+
), i[0] & /*gamepagemodalurl*/
|
|
242
|
+
2048 && n(
|
|
243
|
+
e,
|
|
244
|
+
"gamepagemodalurl",
|
|
245
|
+
/*gamepagemodalurl*/
|
|
246
|
+
s[11]
|
|
247
|
+
), i[0] & /*integratedgameframedesktop*/
|
|
248
|
+
1024 && n(
|
|
249
|
+
e,
|
|
250
|
+
"integratedgameframedesktop",
|
|
251
|
+
/*integratedgameframedesktop*/
|
|
252
|
+
s[10]
|
|
253
|
+
), i[0] & /*integratedgameframemobile*/
|
|
254
|
+
512 && n(
|
|
255
|
+
e,
|
|
256
|
+
"integratedgameframemobile",
|
|
257
|
+
/*integratedgameframemobile*/
|
|
258
|
+
s[9]
|
|
259
|
+
), i[0] & /*casinomygames*/
|
|
260
|
+
32768 && n(
|
|
261
|
+
e,
|
|
262
|
+
"casinomygames",
|
|
263
|
+
/*casinomygames*/
|
|
264
|
+
s[15]
|
|
265
|
+
);
|
|
266
|
+
},
|
|
267
|
+
d(s) {
|
|
268
|
+
s && A(e);
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
function ye(a) {
|
|
273
|
+
let e, s = (
|
|
274
|
+
/*$_*/
|
|
275
|
+
a[19]("noGames") + ""
|
|
276
|
+
), i;
|
|
277
|
+
return {
|
|
278
|
+
c() {
|
|
279
|
+
e = N("p"), i = ge(s), S(e, "class", "SearchLoading");
|
|
280
|
+
},
|
|
281
|
+
m(r, m) {
|
|
282
|
+
M(r, e, m), J(e, i);
|
|
283
|
+
},
|
|
284
|
+
p(r, m) {
|
|
285
|
+
m[0] & /*$_*/
|
|
286
|
+
524288 && s !== (s = /*$_*/
|
|
287
|
+
r[19]("noGames") + "") && ce(i, s);
|
|
288
|
+
},
|
|
289
|
+
d(r) {
|
|
290
|
+
r && A(e);
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
function ve(a) {
|
|
295
|
+
let e, s;
|
|
296
|
+
function i(g, c) {
|
|
297
|
+
return (
|
|
298
|
+
/*mostPlayedEmpty*/
|
|
299
|
+
g[18] ? ye : he
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
let r = i(a), m = r(a);
|
|
303
|
+
return {
|
|
304
|
+
c() {
|
|
305
|
+
e = N("div"), s = N("div"), m.c(), S(s, "class", "casino-most-played-section"), S(e, "class", "CasinoGamesCategorySectionContainer");
|
|
306
|
+
},
|
|
307
|
+
m(g, c) {
|
|
308
|
+
M(g, e, c), J(e, s), m.m(s, null), a[23](e);
|
|
309
|
+
},
|
|
310
|
+
p(g, c) {
|
|
311
|
+
r === (r = i(g)) && m ? m.p(g, c) : (m.d(1), m = r(g), m && (m.c(), m.m(s, null)));
|
|
312
|
+
},
|
|
313
|
+
i: H,
|
|
314
|
+
o: H,
|
|
315
|
+
d(g) {
|
|
316
|
+
g && A(e), m.d(), a[23](null);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
function be(a, e, s) {
|
|
321
|
+
let i;
|
|
322
|
+
le(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: O = "false" } = e, { gamepagemodalurl: T = "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, K = window.navigator.userAgent;
|
|
324
|
+
const Y = () => {
|
|
325
|
+
fetch(k).then((o) => o.json()).then((o) => {
|
|
326
|
+
Object.keys(o).forEach((d) => {
|
|
327
|
+
I(d, o[d]);
|
|
328
|
+
});
|
|
329
|
+
}).catch((o) => {
|
|
330
|
+
console.log(o);
|
|
331
|
+
});
|
|
332
|
+
};
|
|
333
|
+
Object.keys(B).forEach((t) => {
|
|
334
|
+
I(t, B[t]);
|
|
335
|
+
});
|
|
336
|
+
let G = [], z, p = !1, h;
|
|
337
|
+
const Q = (t) => {
|
|
338
|
+
let o = new URL(`${r}/v1/player/${v}/games/most-played`);
|
|
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
|
+
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), z = w ? o : o.href, new Promise((u, y) => {
|
|
342
|
+
fetch(z).then((f) => f.json()).then((f) => {
|
|
343
|
+
f.items = f.items.filter(($) => {
|
|
344
|
+
let q = !0;
|
|
345
|
+
return $.gameCode == "OddsMatrix2" && (f.count--, q = !1), q;
|
|
346
|
+
}), u(f);
|
|
347
|
+
}).catch((f) => {
|
|
348
|
+
console.error(f), y(f);
|
|
349
|
+
});
|
|
350
|
+
});
|
|
351
|
+
}, V = () => {
|
|
352
|
+
Q({
|
|
353
|
+
limit: 100,
|
|
354
|
+
device: me(K),
|
|
355
|
+
rounds: L
|
|
356
|
+
}).then((t) => {
|
|
357
|
+
if (t.count > 0) {
|
|
358
|
+
let o = [];
|
|
359
|
+
t.items.forEach((d) => {
|
|
360
|
+
let u = new URL(`${r}/v1/casino/games/${d.gameId}`);
|
|
361
|
+
u.searchParams.append("datasource", m), w ? o.push(fetch(u.href).then((y) => y.json())) : o.push(fetch(u.href).then((y) => y.json()));
|
|
362
|
+
}), Promise.all(o).then((d) => {
|
|
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
|
+
});
|
|
365
|
+
} else
|
|
366
|
+
s(18, p = !0);
|
|
367
|
+
});
|
|
368
|
+
}, W = () => {
|
|
369
|
+
ue(c);
|
|
370
|
+
}, X = () => {
|
|
371
|
+
let t = document.createElement("style");
|
|
372
|
+
t.innerHTML = b, h.appendChild(t);
|
|
373
|
+
}, Z = () => {
|
|
374
|
+
let t = document.createElement("style");
|
|
375
|
+
fetch(new URL(_)).then((o) => o.text()).then((o) => {
|
|
376
|
+
t.innerHTML = o, setTimeout(
|
|
377
|
+
() => {
|
|
378
|
+
h.appendChild(t);
|
|
379
|
+
},
|
|
380
|
+
1
|
|
381
|
+
);
|
|
382
|
+
});
|
|
383
|
+
};
|
|
384
|
+
function x(t) {
|
|
385
|
+
re[t ? "unshift" : "push"](() => {
|
|
386
|
+
h = t, s(17, h);
|
|
387
|
+
});
|
|
388
|
+
}
|
|
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, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, T = 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
|
+
}, a.$$.update = () => {
|
|
392
|
+
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
393
|
+
41 && r && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
394
|
+
131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
|
+
131200 && _ && h && Z(), a.$$.dirty[0] & /*translationurl*/
|
|
396
|
+
1048576 && k && Y(), a.$$.dirty[0] & /*lang*/
|
|
397
|
+
8 && c && W();
|
|
398
|
+
}, [
|
|
399
|
+
r,
|
|
400
|
+
m,
|
|
401
|
+
g,
|
|
402
|
+
c,
|
|
403
|
+
E,
|
|
404
|
+
v,
|
|
405
|
+
b,
|
|
406
|
+
_,
|
|
407
|
+
w,
|
|
408
|
+
F,
|
|
409
|
+
O,
|
|
410
|
+
T,
|
|
411
|
+
D,
|
|
412
|
+
P,
|
|
413
|
+
R,
|
|
414
|
+
C,
|
|
415
|
+
U,
|
|
416
|
+
h,
|
|
417
|
+
p,
|
|
418
|
+
i,
|
|
419
|
+
k,
|
|
420
|
+
j,
|
|
421
|
+
L,
|
|
422
|
+
x
|
|
423
|
+
];
|
|
424
|
+
}
|
|
425
|
+
class _e extends se {
|
|
426
|
+
constructor(e) {
|
|
427
|
+
super(), ae(
|
|
428
|
+
this,
|
|
429
|
+
e,
|
|
430
|
+
be,
|
|
431
|
+
ve,
|
|
432
|
+
ie,
|
|
433
|
+
{
|
|
434
|
+
endpoint: 0,
|
|
435
|
+
datasource: 1,
|
|
436
|
+
currency: 2,
|
|
437
|
+
lang: 3,
|
|
438
|
+
session: 4,
|
|
439
|
+
userid: 5,
|
|
440
|
+
clientstyling: 6,
|
|
441
|
+
clientstylingurl: 7,
|
|
442
|
+
livecasino: 8,
|
|
443
|
+
integratedgameframemobile: 9,
|
|
444
|
+
integratedgameframedesktop: 10,
|
|
445
|
+
gamepagemodalurl: 11,
|
|
446
|
+
showgamename: 12,
|
|
447
|
+
visiblegames: 13,
|
|
448
|
+
favorites: 14,
|
|
449
|
+
translationurl: 20,
|
|
450
|
+
casinomygames: 15,
|
|
451
|
+
mostplayedperiod: 21,
|
|
452
|
+
mostplayedrounds: 22,
|
|
453
|
+
fetchviaevent: 16
|
|
454
|
+
},
|
|
455
|
+
fe,
|
|
456
|
+
[-1, -1]
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
get endpoint() {
|
|
460
|
+
return this.$$.ctx[0];
|
|
461
|
+
}
|
|
462
|
+
set endpoint(e) {
|
|
463
|
+
this.$$set({ endpoint: e }), l();
|
|
464
|
+
}
|
|
465
|
+
get datasource() {
|
|
466
|
+
return this.$$.ctx[1];
|
|
467
|
+
}
|
|
468
|
+
set datasource(e) {
|
|
469
|
+
this.$$set({ datasource: e }), l();
|
|
470
|
+
}
|
|
471
|
+
get currency() {
|
|
472
|
+
return this.$$.ctx[2];
|
|
473
|
+
}
|
|
474
|
+
set currency(e) {
|
|
475
|
+
this.$$set({ currency: e }), l();
|
|
476
|
+
}
|
|
477
|
+
get lang() {
|
|
478
|
+
return this.$$.ctx[3];
|
|
479
|
+
}
|
|
480
|
+
set lang(e) {
|
|
481
|
+
this.$$set({ lang: e }), l();
|
|
482
|
+
}
|
|
483
|
+
get session() {
|
|
484
|
+
return this.$$.ctx[4];
|
|
485
|
+
}
|
|
486
|
+
set session(e) {
|
|
487
|
+
this.$$set({ session: e }), l();
|
|
488
|
+
}
|
|
489
|
+
get userid() {
|
|
490
|
+
return this.$$.ctx[5];
|
|
491
|
+
}
|
|
492
|
+
set userid(e) {
|
|
493
|
+
this.$$set({ userid: e }), l();
|
|
494
|
+
}
|
|
495
|
+
get clientstyling() {
|
|
496
|
+
return this.$$.ctx[6];
|
|
497
|
+
}
|
|
498
|
+
set clientstyling(e) {
|
|
499
|
+
this.$$set({ clientstyling: e }), l();
|
|
500
|
+
}
|
|
501
|
+
get clientstylingurl() {
|
|
502
|
+
return this.$$.ctx[7];
|
|
503
|
+
}
|
|
504
|
+
set clientstylingurl(e) {
|
|
505
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
506
|
+
}
|
|
507
|
+
get livecasino() {
|
|
508
|
+
return this.$$.ctx[8];
|
|
509
|
+
}
|
|
510
|
+
set livecasino(e) {
|
|
511
|
+
this.$$set({ livecasino: e }), l();
|
|
512
|
+
}
|
|
513
|
+
get integratedgameframemobile() {
|
|
514
|
+
return this.$$.ctx[9];
|
|
515
|
+
}
|
|
516
|
+
set integratedgameframemobile(e) {
|
|
517
|
+
this.$$set({ integratedgameframemobile: e }), l();
|
|
518
|
+
}
|
|
519
|
+
get integratedgameframedesktop() {
|
|
520
|
+
return this.$$.ctx[10];
|
|
521
|
+
}
|
|
522
|
+
set integratedgameframedesktop(e) {
|
|
523
|
+
this.$$set({ integratedgameframedesktop: e }), l();
|
|
524
|
+
}
|
|
525
|
+
get gamepagemodalurl() {
|
|
526
|
+
return this.$$.ctx[11];
|
|
527
|
+
}
|
|
528
|
+
set gamepagemodalurl(e) {
|
|
529
|
+
this.$$set({ gamepagemodalurl: e }), l();
|
|
530
|
+
}
|
|
531
|
+
get showgamename() {
|
|
532
|
+
return this.$$.ctx[12];
|
|
533
|
+
}
|
|
534
|
+
set showgamename(e) {
|
|
535
|
+
this.$$set({ showgamename: e }), l();
|
|
536
|
+
}
|
|
537
|
+
get visiblegames() {
|
|
538
|
+
return this.$$.ctx[13];
|
|
539
|
+
}
|
|
540
|
+
set visiblegames(e) {
|
|
541
|
+
this.$$set({ visiblegames: e }), l();
|
|
542
|
+
}
|
|
543
|
+
get favorites() {
|
|
544
|
+
return this.$$.ctx[14];
|
|
545
|
+
}
|
|
546
|
+
set favorites(e) {
|
|
547
|
+
this.$$set({ favorites: e }), l();
|
|
548
|
+
}
|
|
549
|
+
get translationurl() {
|
|
550
|
+
return this.$$.ctx[20];
|
|
551
|
+
}
|
|
552
|
+
set translationurl(e) {
|
|
553
|
+
this.$$set({ translationurl: e }), l();
|
|
554
|
+
}
|
|
555
|
+
get casinomygames() {
|
|
556
|
+
return this.$$.ctx[15];
|
|
557
|
+
}
|
|
558
|
+
set casinomygames(e) {
|
|
559
|
+
this.$$set({ casinomygames: e }), l();
|
|
560
|
+
}
|
|
561
|
+
get mostplayedperiod() {
|
|
562
|
+
return this.$$.ctx[21];
|
|
563
|
+
}
|
|
564
|
+
set mostplayedperiod(e) {
|
|
565
|
+
this.$$set({ mostplayedperiod: e }), l();
|
|
566
|
+
}
|
|
567
|
+
get mostplayedrounds() {
|
|
568
|
+
return this.$$.ctx[22];
|
|
569
|
+
}
|
|
570
|
+
set mostplayedrounds(e) {
|
|
571
|
+
this.$$set({ mostplayedrounds: e }), l();
|
|
572
|
+
}
|
|
573
|
+
get fetchviaevent() {
|
|
574
|
+
return this.$$.ctx[16];
|
|
575
|
+
}
|
|
576
|
+
set fetchviaevent(e) {
|
|
577
|
+
this.$$set({ fetchviaevent: e }), l();
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
ne(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
581
|
+
export {
|
|
582
|
+
_e as default
|
|
583
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BQx5-rlk.cjs");require("./CasinoFavoritesSection-BD3Pecym.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CGBzMgQt.cjs");require("./CasinoFavoritesSection-BMVarhje.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;
|