@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,556 @@
|
|
|
1
|
+
import { a as $, $ as ee, S as te, i as ae, f as l, c as se, s as ie, b as ne, e as L, v as q, d as A, w as K, D as J, j as M, k as le, o as re, n as oe, L as ge, M as ue, N as ce, O as i, u as me, B as de, F as fe, K as he } from "./CasinoCalendar-C_GWg7fU.js";
|
|
2
|
+
import "./CasinoFavoritesSection-B0uLh581.js";
|
|
3
|
+
function B(s, e) {
|
|
4
|
+
$(s, e);
|
|
5
|
+
}
|
|
6
|
+
function ye(s) {
|
|
7
|
+
ee.set(s);
|
|
8
|
+
}
|
|
9
|
+
const H = {
|
|
10
|
+
en: {
|
|
11
|
+
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
|
+
},
|
|
13
|
+
de: {
|
|
14
|
+
noRecentGames: "Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."
|
|
15
|
+
},
|
|
16
|
+
es: {
|
|
17
|
+
noRecentGames: "No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."
|
|
18
|
+
},
|
|
19
|
+
hr: {
|
|
20
|
+
noRecentGames: "Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."
|
|
21
|
+
},
|
|
22
|
+
"pt-br": {
|
|
23
|
+
noRecentGames: "Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."
|
|
24
|
+
},
|
|
25
|
+
"es-mx": {
|
|
26
|
+
noRecentGames: "Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."
|
|
27
|
+
},
|
|
28
|
+
tr: {
|
|
29
|
+
noRecentGames: "Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."
|
|
30
|
+
},
|
|
31
|
+
"en-us": {
|
|
32
|
+
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
function be(s) {
|
|
36
|
+
ne(s, "svelte-w4ziup", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
|
+
}
|
|
38
|
+
function ve(s) {
|
|
39
|
+
let e;
|
|
40
|
+
return {
|
|
41
|
+
c() {
|
|
42
|
+
e = L("casino-games-category-section"), i(
|
|
43
|
+
e,
|
|
44
|
+
"session",
|
|
45
|
+
/*session*/
|
|
46
|
+
s[4]
|
|
47
|
+
), i(
|
|
48
|
+
e,
|
|
49
|
+
"userid",
|
|
50
|
+
/*userid*/
|
|
51
|
+
s[5]
|
|
52
|
+
), i(
|
|
53
|
+
e,
|
|
54
|
+
"endpoint",
|
|
55
|
+
/*endpoint*/
|
|
56
|
+
s[0]
|
|
57
|
+
), i(
|
|
58
|
+
e,
|
|
59
|
+
"datasource",
|
|
60
|
+
/*datasource*/
|
|
61
|
+
s[1]
|
|
62
|
+
), i(
|
|
63
|
+
e,
|
|
64
|
+
"lang",
|
|
65
|
+
/*lang*/
|
|
66
|
+
s[3]
|
|
67
|
+
), i(
|
|
68
|
+
e,
|
|
69
|
+
"currency",
|
|
70
|
+
/*currency*/
|
|
71
|
+
s[2]
|
|
72
|
+
), i(
|
|
73
|
+
e,
|
|
74
|
+
"favorites",
|
|
75
|
+
/*favorites*/
|
|
76
|
+
s[14]
|
|
77
|
+
), i(
|
|
78
|
+
e,
|
|
79
|
+
"fetchviaevent",
|
|
80
|
+
/*fetchviaevent*/
|
|
81
|
+
s[16]
|
|
82
|
+
), i(e, "categoryid", "LASTPLAYED"), i(e, "categoryindex", "1"), i(e, "categorygames", "9"), i(e, "class", "CategoryContainer"), i(
|
|
83
|
+
e,
|
|
84
|
+
"showgamename",
|
|
85
|
+
/*showgamename*/
|
|
86
|
+
s[12]
|
|
87
|
+
), i(
|
|
88
|
+
e,
|
|
89
|
+
"clientstyling",
|
|
90
|
+
/*clientstyling*/
|
|
91
|
+
s[6]
|
|
92
|
+
), i(
|
|
93
|
+
e,
|
|
94
|
+
"clientstylingurl",
|
|
95
|
+
/*clientstylingurl*/
|
|
96
|
+
s[7]
|
|
97
|
+
), i(
|
|
98
|
+
e,
|
|
99
|
+
"livecasino",
|
|
100
|
+
/*livecasino*/
|
|
101
|
+
s[8]
|
|
102
|
+
), i(
|
|
103
|
+
e,
|
|
104
|
+
"visiblegames",
|
|
105
|
+
/*visiblegames*/
|
|
106
|
+
s[13]
|
|
107
|
+
), i(
|
|
108
|
+
e,
|
|
109
|
+
"gamepagemodalurl",
|
|
110
|
+
/*gamepagemodalurl*/
|
|
111
|
+
s[11]
|
|
112
|
+
), i(
|
|
113
|
+
e,
|
|
114
|
+
"integratedgameframedesktop",
|
|
115
|
+
/*integratedgameframedesktop*/
|
|
116
|
+
s[10]
|
|
117
|
+
), i(
|
|
118
|
+
e,
|
|
119
|
+
"integratedgameframemobile",
|
|
120
|
+
/*integratedgameframemobile*/
|
|
121
|
+
s[9]
|
|
122
|
+
), i(
|
|
123
|
+
e,
|
|
124
|
+
"casinomygames",
|
|
125
|
+
/*casinomygames*/
|
|
126
|
+
s[15]
|
|
127
|
+
);
|
|
128
|
+
},
|
|
129
|
+
m(t, n) {
|
|
130
|
+
A(t, e, n);
|
|
131
|
+
},
|
|
132
|
+
p(t, n) {
|
|
133
|
+
n[0] & /*session*/
|
|
134
|
+
16 && i(
|
|
135
|
+
e,
|
|
136
|
+
"session",
|
|
137
|
+
/*session*/
|
|
138
|
+
t[4]
|
|
139
|
+
), n[0] & /*userid*/
|
|
140
|
+
32 && i(
|
|
141
|
+
e,
|
|
142
|
+
"userid",
|
|
143
|
+
/*userid*/
|
|
144
|
+
t[5]
|
|
145
|
+
), n[0] & /*endpoint*/
|
|
146
|
+
1 && i(
|
|
147
|
+
e,
|
|
148
|
+
"endpoint",
|
|
149
|
+
/*endpoint*/
|
|
150
|
+
t[0]
|
|
151
|
+
), n[0] & /*datasource*/
|
|
152
|
+
2 && i(
|
|
153
|
+
e,
|
|
154
|
+
"datasource",
|
|
155
|
+
/*datasource*/
|
|
156
|
+
t[1]
|
|
157
|
+
), n[0] & /*lang*/
|
|
158
|
+
8 && i(
|
|
159
|
+
e,
|
|
160
|
+
"lang",
|
|
161
|
+
/*lang*/
|
|
162
|
+
t[3]
|
|
163
|
+
), n[0] & /*currency*/
|
|
164
|
+
4 && i(
|
|
165
|
+
e,
|
|
166
|
+
"currency",
|
|
167
|
+
/*currency*/
|
|
168
|
+
t[2]
|
|
169
|
+
), n[0] & /*favorites*/
|
|
170
|
+
16384 && i(
|
|
171
|
+
e,
|
|
172
|
+
"favorites",
|
|
173
|
+
/*favorites*/
|
|
174
|
+
t[14]
|
|
175
|
+
), n[0] & /*fetchviaevent*/
|
|
176
|
+
65536 && i(
|
|
177
|
+
e,
|
|
178
|
+
"fetchviaevent",
|
|
179
|
+
/*fetchviaevent*/
|
|
180
|
+
t[16]
|
|
181
|
+
), n[0] & /*showgamename*/
|
|
182
|
+
4096 && i(
|
|
183
|
+
e,
|
|
184
|
+
"showgamename",
|
|
185
|
+
/*showgamename*/
|
|
186
|
+
t[12]
|
|
187
|
+
), n[0] & /*clientstyling*/
|
|
188
|
+
64 && i(
|
|
189
|
+
e,
|
|
190
|
+
"clientstyling",
|
|
191
|
+
/*clientstyling*/
|
|
192
|
+
t[6]
|
|
193
|
+
), n[0] & /*clientstylingurl*/
|
|
194
|
+
128 && i(
|
|
195
|
+
e,
|
|
196
|
+
"clientstylingurl",
|
|
197
|
+
/*clientstylingurl*/
|
|
198
|
+
t[7]
|
|
199
|
+
), n[0] & /*livecasino*/
|
|
200
|
+
256 && i(
|
|
201
|
+
e,
|
|
202
|
+
"livecasino",
|
|
203
|
+
/*livecasino*/
|
|
204
|
+
t[8]
|
|
205
|
+
), n[0] & /*visiblegames*/
|
|
206
|
+
8192 && i(
|
|
207
|
+
e,
|
|
208
|
+
"visiblegames",
|
|
209
|
+
/*visiblegames*/
|
|
210
|
+
t[13]
|
|
211
|
+
), n[0] & /*gamepagemodalurl*/
|
|
212
|
+
2048 && i(
|
|
213
|
+
e,
|
|
214
|
+
"gamepagemodalurl",
|
|
215
|
+
/*gamepagemodalurl*/
|
|
216
|
+
t[11]
|
|
217
|
+
), n[0] & /*integratedgameframedesktop*/
|
|
218
|
+
1024 && i(
|
|
219
|
+
e,
|
|
220
|
+
"integratedgameframedesktop",
|
|
221
|
+
/*integratedgameframedesktop*/
|
|
222
|
+
t[10]
|
|
223
|
+
), n[0] & /*integratedgameframemobile*/
|
|
224
|
+
512 && i(
|
|
225
|
+
e,
|
|
226
|
+
"integratedgameframemobile",
|
|
227
|
+
/*integratedgameframemobile*/
|
|
228
|
+
t[9]
|
|
229
|
+
), n[0] & /*casinomygames*/
|
|
230
|
+
32768 && i(
|
|
231
|
+
e,
|
|
232
|
+
"casinomygames",
|
|
233
|
+
/*casinomygames*/
|
|
234
|
+
t[15]
|
|
235
|
+
);
|
|
236
|
+
},
|
|
237
|
+
d(t) {
|
|
238
|
+
t && M(e);
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
function we(s) {
|
|
243
|
+
let e, t = (
|
|
244
|
+
/*$_*/
|
|
245
|
+
s[19]("noRecentGames") + ""
|
|
246
|
+
), n;
|
|
247
|
+
return {
|
|
248
|
+
c() {
|
|
249
|
+
e = L("p"), n = me(t), q(e, "class", "SearchLoading");
|
|
250
|
+
},
|
|
251
|
+
m(o, r) {
|
|
252
|
+
A(o, e, r), K(e, n);
|
|
253
|
+
},
|
|
254
|
+
p(o, r) {
|
|
255
|
+
r[0] & /*$_*/
|
|
256
|
+
524288 && t !== (t = /*$_*/
|
|
257
|
+
o[19]("noRecentGames") + "") && de(n, t);
|
|
258
|
+
},
|
|
259
|
+
d(o) {
|
|
260
|
+
o && M(e);
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
function _e(s) {
|
|
265
|
+
let e, t;
|
|
266
|
+
function n(c, d) {
|
|
267
|
+
return (
|
|
268
|
+
/*lastPlayedEmpty*/
|
|
269
|
+
c[18] ? we : ve
|
|
270
|
+
);
|
|
271
|
+
}
|
|
272
|
+
let o = n(s), r = o(s);
|
|
273
|
+
return {
|
|
274
|
+
c() {
|
|
275
|
+
e = L("div"), t = L("div"), r.c(), q(t, "class", "CasinoLastPlayedSection"), q(e, "class", "CasinoGamesCategorySectionContainer");
|
|
276
|
+
},
|
|
277
|
+
m(c, d) {
|
|
278
|
+
A(c, e, d), K(e, t), r.m(t, null), s[25](e);
|
|
279
|
+
},
|
|
280
|
+
p(c, d) {
|
|
281
|
+
o === (o = n(c)) && r ? r.p(c, d) : (r.d(1), r = o(c), r && (r.c(), r.m(t, null)));
|
|
282
|
+
},
|
|
283
|
+
i: J,
|
|
284
|
+
o: J,
|
|
285
|
+
d(c) {
|
|
286
|
+
c && M(e), r.d(), s[25](null);
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
function ke(s, e, t) {
|
|
291
|
+
let n;
|
|
292
|
+
le(s, fe, (a) => t(19, n = a));
|
|
293
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: c = "" } = e, { lang: d = "" } = e, { session: D = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: E = "" } = e, { visiblegames: P = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: T = "true" } = e, V = window.navigator.userAgent, U = !1, k = [], Y, f;
|
|
294
|
+
const Z = () => {
|
|
295
|
+
fetch(w).then((m) => m.json()).then((m) => {
|
|
296
|
+
Object.keys(m).forEach((g) => {
|
|
297
|
+
B(g, m[g]);
|
|
298
|
+
});
|
|
299
|
+
}).catch((m) => {
|
|
300
|
+
console.log(m);
|
|
301
|
+
});
|
|
302
|
+
};
|
|
303
|
+
Object.keys(H).forEach((a) => {
|
|
304
|
+
B(a, H[a]);
|
|
305
|
+
});
|
|
306
|
+
const Q = () => new Promise((a, m) => {
|
|
307
|
+
let g = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
308
|
+
g.searchParams.append("unique", R), g.searchParams.append("limit", j), g.searchParams.append("order", S), g.searchParams.append("period", C), he(V) === "PC" ? g.searchParams.append("device", "Desktop") : g.searchParams.append("device", "Mobile"), Y = _ ? g : g.href, fetch(Y).then((u) => u.json()).then((u) => {
|
|
309
|
+
u.items = u.items.filter((x) => {
|
|
310
|
+
let I = !0;
|
|
311
|
+
return x.gameCode == "OddsMatrix2" && (u.count--, I = !1), I;
|
|
312
|
+
}), a(u), window.postMessage(
|
|
313
|
+
{
|
|
314
|
+
type: "AddNewCategory",
|
|
315
|
+
category: { name: "Last Played", id: "LASTPLAYED" }
|
|
316
|
+
},
|
|
317
|
+
window.location.href
|
|
318
|
+
), window.postMessage({ type: "LastPlayedGames", data: u }, window.location.href);
|
|
319
|
+
}).catch((u) => {
|
|
320
|
+
console.error(u), m(u);
|
|
321
|
+
});
|
|
322
|
+
}), W = () => {
|
|
323
|
+
Q().then((a) => {
|
|
324
|
+
if (a.count > 0) {
|
|
325
|
+
let m = [];
|
|
326
|
+
a.items.forEach((g) => {
|
|
327
|
+
let h = new URL(`${o}/v1/casino/games/${g.gameId}`);
|
|
328
|
+
h.searchParams.append("datasource", r), _ ? m.push(fetch(h.href).then((u) => u.json())) : m.push(fetch(h.href).then((u) => u.json()));
|
|
329
|
+
}), Promise.all(m).then((g) => {
|
|
330
|
+
k = g.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
|
|
331
|
+
});
|
|
332
|
+
} else
|
|
333
|
+
t(18, U = !0);
|
|
334
|
+
});
|
|
335
|
+
}, X = () => {
|
|
336
|
+
ye(d);
|
|
337
|
+
};
|
|
338
|
+
re(() => () => {
|
|
339
|
+
});
|
|
340
|
+
function p(a) {
|
|
341
|
+
oe[a ? "unshift" : "push"](() => {
|
|
342
|
+
f = a, t(17, f);
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
return s.$$set = (a) => {
|
|
346
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, c = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, D = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(20, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, z = a.gamepagemodalurl), "showgamename" in a && t(12, E = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, O = a.favorites), "lastplayedperiod" in a && t(21, C = a.lastplayedperiod), "lastplayedorder" in a && t(22, S = a.lastplayedorder), "lastplayedlimit" in a && t(23, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(24, R = a.lastplayedunique), "fetchviaevent" in a && t(16, T = a.fetchviaevent);
|
|
347
|
+
}, s.$$.update = () => {
|
|
348
|
+
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
349
|
+
41 && o && y && d && W(), s.$$.dirty[0] & /*translationurl*/
|
|
350
|
+
1048576 && w && Z(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
351
|
+
131136 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
352
|
+
131200 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer*/
|
|
353
|
+
131072 && f && ce(f, "Casino.Style"), s.$$.dirty[0] & /*lang*/
|
|
354
|
+
8 && d && X();
|
|
355
|
+
}, [
|
|
356
|
+
o,
|
|
357
|
+
r,
|
|
358
|
+
c,
|
|
359
|
+
d,
|
|
360
|
+
D,
|
|
361
|
+
y,
|
|
362
|
+
b,
|
|
363
|
+
v,
|
|
364
|
+
_,
|
|
365
|
+
F,
|
|
366
|
+
N,
|
|
367
|
+
z,
|
|
368
|
+
E,
|
|
369
|
+
P,
|
|
370
|
+
O,
|
|
371
|
+
G,
|
|
372
|
+
T,
|
|
373
|
+
f,
|
|
374
|
+
U,
|
|
375
|
+
n,
|
|
376
|
+
w,
|
|
377
|
+
C,
|
|
378
|
+
S,
|
|
379
|
+
j,
|
|
380
|
+
R,
|
|
381
|
+
p
|
|
382
|
+
];
|
|
383
|
+
}
|
|
384
|
+
class Le extends te {
|
|
385
|
+
constructor(e) {
|
|
386
|
+
super(), ae(
|
|
387
|
+
this,
|
|
388
|
+
e,
|
|
389
|
+
ke,
|
|
390
|
+
_e,
|
|
391
|
+
ie,
|
|
392
|
+
{
|
|
393
|
+
endpoint: 0,
|
|
394
|
+
datasource: 1,
|
|
395
|
+
currency: 2,
|
|
396
|
+
lang: 3,
|
|
397
|
+
session: 4,
|
|
398
|
+
userid: 5,
|
|
399
|
+
clientstyling: 6,
|
|
400
|
+
clientstylingurl: 7,
|
|
401
|
+
translationurl: 20,
|
|
402
|
+
livecasino: 8,
|
|
403
|
+
integratedgameframemobile: 9,
|
|
404
|
+
integratedgameframedesktop: 10,
|
|
405
|
+
gamepagemodalurl: 11,
|
|
406
|
+
showgamename: 12,
|
|
407
|
+
visiblegames: 13,
|
|
408
|
+
favorites: 14,
|
|
409
|
+
lastplayedperiod: 21,
|
|
410
|
+
lastplayedorder: 22,
|
|
411
|
+
lastplayedlimit: 23,
|
|
412
|
+
casinomygames: 15,
|
|
413
|
+
lastplayedunique: 24,
|
|
414
|
+
fetchviaevent: 16
|
|
415
|
+
},
|
|
416
|
+
be,
|
|
417
|
+
[-1, -1]
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
get endpoint() {
|
|
421
|
+
return this.$$.ctx[0];
|
|
422
|
+
}
|
|
423
|
+
set endpoint(e) {
|
|
424
|
+
this.$$set({ endpoint: e }), l();
|
|
425
|
+
}
|
|
426
|
+
get datasource() {
|
|
427
|
+
return this.$$.ctx[1];
|
|
428
|
+
}
|
|
429
|
+
set datasource(e) {
|
|
430
|
+
this.$$set({ datasource: e }), l();
|
|
431
|
+
}
|
|
432
|
+
get currency() {
|
|
433
|
+
return this.$$.ctx[2];
|
|
434
|
+
}
|
|
435
|
+
set currency(e) {
|
|
436
|
+
this.$$set({ currency: e }), l();
|
|
437
|
+
}
|
|
438
|
+
get lang() {
|
|
439
|
+
return this.$$.ctx[3];
|
|
440
|
+
}
|
|
441
|
+
set lang(e) {
|
|
442
|
+
this.$$set({ lang: e }), l();
|
|
443
|
+
}
|
|
444
|
+
get session() {
|
|
445
|
+
return this.$$.ctx[4];
|
|
446
|
+
}
|
|
447
|
+
set session(e) {
|
|
448
|
+
this.$$set({ session: e }), l();
|
|
449
|
+
}
|
|
450
|
+
get userid() {
|
|
451
|
+
return this.$$.ctx[5];
|
|
452
|
+
}
|
|
453
|
+
set userid(e) {
|
|
454
|
+
this.$$set({ userid: e }), l();
|
|
455
|
+
}
|
|
456
|
+
get clientstyling() {
|
|
457
|
+
return this.$$.ctx[6];
|
|
458
|
+
}
|
|
459
|
+
set clientstyling(e) {
|
|
460
|
+
this.$$set({ clientstyling: e }), l();
|
|
461
|
+
}
|
|
462
|
+
get clientstylingurl() {
|
|
463
|
+
return this.$$.ctx[7];
|
|
464
|
+
}
|
|
465
|
+
set clientstylingurl(e) {
|
|
466
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
467
|
+
}
|
|
468
|
+
get translationurl() {
|
|
469
|
+
return this.$$.ctx[20];
|
|
470
|
+
}
|
|
471
|
+
set translationurl(e) {
|
|
472
|
+
this.$$set({ translationurl: e }), l();
|
|
473
|
+
}
|
|
474
|
+
get livecasino() {
|
|
475
|
+
return this.$$.ctx[8];
|
|
476
|
+
}
|
|
477
|
+
set livecasino(e) {
|
|
478
|
+
this.$$set({ livecasino: e }), l();
|
|
479
|
+
}
|
|
480
|
+
get integratedgameframemobile() {
|
|
481
|
+
return this.$$.ctx[9];
|
|
482
|
+
}
|
|
483
|
+
set integratedgameframemobile(e) {
|
|
484
|
+
this.$$set({ integratedgameframemobile: e }), l();
|
|
485
|
+
}
|
|
486
|
+
get integratedgameframedesktop() {
|
|
487
|
+
return this.$$.ctx[10];
|
|
488
|
+
}
|
|
489
|
+
set integratedgameframedesktop(e) {
|
|
490
|
+
this.$$set({ integratedgameframedesktop: e }), l();
|
|
491
|
+
}
|
|
492
|
+
get gamepagemodalurl() {
|
|
493
|
+
return this.$$.ctx[11];
|
|
494
|
+
}
|
|
495
|
+
set gamepagemodalurl(e) {
|
|
496
|
+
this.$$set({ gamepagemodalurl: e }), l();
|
|
497
|
+
}
|
|
498
|
+
get showgamename() {
|
|
499
|
+
return this.$$.ctx[12];
|
|
500
|
+
}
|
|
501
|
+
set showgamename(e) {
|
|
502
|
+
this.$$set({ showgamename: e }), l();
|
|
503
|
+
}
|
|
504
|
+
get visiblegames() {
|
|
505
|
+
return this.$$.ctx[13];
|
|
506
|
+
}
|
|
507
|
+
set visiblegames(e) {
|
|
508
|
+
this.$$set({ visiblegames: e }), l();
|
|
509
|
+
}
|
|
510
|
+
get favorites() {
|
|
511
|
+
return this.$$.ctx[14];
|
|
512
|
+
}
|
|
513
|
+
set favorites(e) {
|
|
514
|
+
this.$$set({ favorites: e }), l();
|
|
515
|
+
}
|
|
516
|
+
get lastplayedperiod() {
|
|
517
|
+
return this.$$.ctx[21];
|
|
518
|
+
}
|
|
519
|
+
set lastplayedperiod(e) {
|
|
520
|
+
this.$$set({ lastplayedperiod: e }), l();
|
|
521
|
+
}
|
|
522
|
+
get lastplayedorder() {
|
|
523
|
+
return this.$$.ctx[22];
|
|
524
|
+
}
|
|
525
|
+
set lastplayedorder(e) {
|
|
526
|
+
this.$$set({ lastplayedorder: e }), l();
|
|
527
|
+
}
|
|
528
|
+
get lastplayedlimit() {
|
|
529
|
+
return this.$$.ctx[23];
|
|
530
|
+
}
|
|
531
|
+
set lastplayedlimit(e) {
|
|
532
|
+
this.$$set({ lastplayedlimit: e }), l();
|
|
533
|
+
}
|
|
534
|
+
get casinomygames() {
|
|
535
|
+
return this.$$.ctx[15];
|
|
536
|
+
}
|
|
537
|
+
set casinomygames(e) {
|
|
538
|
+
this.$$set({ casinomygames: e }), l();
|
|
539
|
+
}
|
|
540
|
+
get lastplayedunique() {
|
|
541
|
+
return this.$$.ctx[24];
|
|
542
|
+
}
|
|
543
|
+
set lastplayedunique(e) {
|
|
544
|
+
this.$$set({ lastplayedunique: e }), l();
|
|
545
|
+
}
|
|
546
|
+
get fetchviaevent() {
|
|
547
|
+
return this.$$.ctx[16];
|
|
548
|
+
}
|
|
549
|
+
set fetchviaevent(e) {
|
|
550
|
+
this.$$set({ fetchviaevent: e }), l();
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
se(Le, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
|
|
554
|
+
export {
|
|
555
|
+
Le as default
|
|
556
|
+
};
|
|
@@ -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 O(n,e){t.addMessages(n,e)}function Z(n){t.$locale.set(n)}const T={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function K(n){t.append_styles(n,"svelte-w4ziup","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Q(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","LASTPLAYED"),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 W(n){let e,a=n[19]("noRecentGames")+"",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]&524288&&a!==(a=o[19]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function X(n){let e,a;function i(u,d){return u[18]?W:Q}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[25](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[25](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(19,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:q=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:w=""}=e,{translationurl:y=""}=e,{livecasino:b="false"}=e,{integratedgameframemobile:G="false"}=e,{integratedgameframedesktop:R="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:M=""}=e,{visiblegames:k=""}=e,{favorites:D=""}=e,{lastplayedperiod:C="Last30Days"}=e,{lastplayedorder:P=""}=e,{lastplayedlimit:L=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,Y=window.navigator.userAgent,z=!1,v=[],E,g;const I=()=>{fetch(y).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{O(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(T).forEach(s=>{O(s,T[s])});const J=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",L),r.searchParams.append("order",P),r.searchParams.append("period",C),t.getDevice(Y)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),E=b?r:r.href,fetch(E).then(m=>m.json()).then(m=>{m.items=m.items.filter(V=>{let N=!0;return V.gameCode=="OddsMatrix2"&&(m.count--,N=!1),N}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),p=()=>{J().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),b?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{v=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(v=v.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:v},window.location.href)})}else a(18,z=!0)})},B=()=>{Z(d)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(17,g)})}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,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,q=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,w=s.clientstylingurl),"translationurl"in s&&a(20,y=s.translationurl),"livecasino"in s&&a(8,b=s.livecasino),"integratedgameframemobile"in s&&a(9,G=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,R=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,A=s.gamepagemodalurl),"showgamename"in s&&a(12,M=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,D=s.favorites),"lastplayedperiod"in s&&a(21,C=s.lastplayedperiod),"lastplayedorder"in s&&a(22,P=s.lastplayedorder),"lastplayedlimit"in s&&a(23,L=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(24,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&p(),n.$$.dirty[0]&1048576&&y&&I(),n.$$.dirty[0]&131136&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&131200&&w&&g&&t.setClientStylingURL(g),n.$$.dirty[0]&131072&&g&&t.setClientStylingFromMB(g,"Casino.Style"),n.$$.dirty[0]&8&&d&&B()},[o,l,u,d,q,_,h,w,b,G,R,A,M,k,D,S,F,g,z,i,y,C,P,L,j,H]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,X,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},K,[-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 translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl: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 lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique: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:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=U;
|