@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,359 @@
|
|
|
1
|
+
import { a3 as $, S as ee, i as te, f, c as ie, s as se, b as ne, H as oe, d as H, h as F, t as B, g as ae, j as E, o as le, p as R, e as W, r as re, v as r, R as j, w as z, T as de, x as ue, y as A, z as O, A as P, a4 as q, l as ce, m as v, Z as fe, n as N, L as ge, M as me, N as he, G as U, D as we } from "./CasinoCalendar-C_GWg7fU.js";
|
|
2
|
+
function x(s, { delay: e = 0, duration: t = 400, easing: n = $ } = {}) {
|
|
3
|
+
const o = +getComputedStyle(s).opacity;
|
|
4
|
+
return {
|
|
5
|
+
delay: e,
|
|
6
|
+
duration: t,
|
|
7
|
+
easing: n,
|
|
8
|
+
css: (l) => `opacity: ${l * o}`
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function _e(s) {
|
|
12
|
+
ne(s, "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 ye = (s) => ({}), T = (s) => ({});
|
|
15
|
+
function V(s) {
|
|
16
|
+
let e, t, n, o, l, h, k, c, u, p, b;
|
|
17
|
+
const C = (
|
|
18
|
+
/*#slots*/
|
|
19
|
+
s[19].default
|
|
20
|
+
), d = R(
|
|
21
|
+
C,
|
|
22
|
+
s,
|
|
23
|
+
/*$$scope*/
|
|
24
|
+
s[18],
|
|
25
|
+
null
|
|
26
|
+
), M = (
|
|
27
|
+
/*#slots*/
|
|
28
|
+
s[19].close
|
|
29
|
+
), g = R(
|
|
30
|
+
M,
|
|
31
|
+
s,
|
|
32
|
+
/*$$scope*/
|
|
33
|
+
s[18],
|
|
34
|
+
T
|
|
35
|
+
), w = g || pe();
|
|
36
|
+
return {
|
|
37
|
+
c() {
|
|
38
|
+
e = W("div"), t = W("div"), n = W("div"), d && d.c(), o = re(), l = W("span"), w.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", h = "ModalCloseBtn " + /*haspanicbutton*/
|
|
39
|
+
(s[1] == "true" && /*mobileView*/
|
|
40
|
+
s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), j(() => (
|
|
41
|
+
/*div1_elementresize_handler*/
|
|
42
|
+
s[21].call(t)
|
|
43
|
+
)), r(e, "part", "CustomStylingContainer");
|
|
44
|
+
},
|
|
45
|
+
m(a, m) {
|
|
46
|
+
H(a, e, m), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), w.m(l, null), s[20](t), k = de(
|
|
47
|
+
t,
|
|
48
|
+
/*div1_elementresize_handler*/
|
|
49
|
+
s[21].bind(t)
|
|
50
|
+
), s[22](e), u = !0, p || (b = ue(
|
|
51
|
+
l,
|
|
52
|
+
"click",
|
|
53
|
+
/*close*/
|
|
54
|
+
s[8]
|
|
55
|
+
), p = !0);
|
|
56
|
+
},
|
|
57
|
+
p(a, m) {
|
|
58
|
+
s = a, d && d.p && (!u || m & /*$$scope*/
|
|
59
|
+
262144) && A(
|
|
60
|
+
d,
|
|
61
|
+
C,
|
|
62
|
+
s,
|
|
63
|
+
/*$$scope*/
|
|
64
|
+
s[18],
|
|
65
|
+
u ? P(
|
|
66
|
+
C,
|
|
67
|
+
/*$$scope*/
|
|
68
|
+
s[18],
|
|
69
|
+
m,
|
|
70
|
+
null
|
|
71
|
+
) : O(
|
|
72
|
+
/*$$scope*/
|
|
73
|
+
s[18]
|
|
74
|
+
),
|
|
75
|
+
null
|
|
76
|
+
), g && g.p && (!u || m & /*$$scope*/
|
|
77
|
+
262144) && A(
|
|
78
|
+
g,
|
|
79
|
+
M,
|
|
80
|
+
s,
|
|
81
|
+
/*$$scope*/
|
|
82
|
+
s[18],
|
|
83
|
+
u ? P(
|
|
84
|
+
M,
|
|
85
|
+
/*$$scope*/
|
|
86
|
+
s[18],
|
|
87
|
+
m,
|
|
88
|
+
ye
|
|
89
|
+
) : O(
|
|
90
|
+
/*$$scope*/
|
|
91
|
+
s[18]
|
|
92
|
+
),
|
|
93
|
+
T
|
|
94
|
+
), (!u || m & /*haspanicbutton, mobileView*/
|
|
95
|
+
10 && h !== (h = "ModalCloseBtn " + /*haspanicbutton*/
|
|
96
|
+
(s[1] == "true" && /*mobileView*/
|
|
97
|
+
s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", h);
|
|
98
|
+
},
|
|
99
|
+
i(a) {
|
|
100
|
+
u || (F(d, a), F(w, a), a && j(() => {
|
|
101
|
+
u && (c || (c = q(t, x, { transitionDuration: (
|
|
102
|
+
/*duration*/
|
|
103
|
+
s[0]
|
|
104
|
+
) }, !0)), c.run(1));
|
|
105
|
+
}), u = !0);
|
|
106
|
+
},
|
|
107
|
+
o(a) {
|
|
108
|
+
B(d, a), B(w, a), a && (c || (c = q(t, x, { transitionDuration: (
|
|
109
|
+
/*duration*/
|
|
110
|
+
s[0]
|
|
111
|
+
) }, !1)), c.run(0)), u = !1;
|
|
112
|
+
},
|
|
113
|
+
d(a) {
|
|
114
|
+
a && E(e), d && d.d(a), w.d(a), s[20](null), k(), a && c && c.end(), s[22](null), p = !1, b();
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
function pe(s) {
|
|
119
|
+
let e, t;
|
|
120
|
+
return {
|
|
121
|
+
c() {
|
|
122
|
+
e = U("svg"), t = U("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
123
|
+
},
|
|
124
|
+
m(n, o) {
|
|
125
|
+
H(n, e, o), z(e, t);
|
|
126
|
+
},
|
|
127
|
+
p: we,
|
|
128
|
+
d(n) {
|
|
129
|
+
n && E(e);
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function be(s) {
|
|
134
|
+
let e, t, n = (
|
|
135
|
+
/*show*/
|
|
136
|
+
s[7] && V(s)
|
|
137
|
+
);
|
|
138
|
+
return {
|
|
139
|
+
c() {
|
|
140
|
+
n && n.c(), e = oe();
|
|
141
|
+
},
|
|
142
|
+
m(o, l) {
|
|
143
|
+
n && n.m(o, l), H(o, e, l), t = !0;
|
|
144
|
+
},
|
|
145
|
+
p(o, [l]) {
|
|
146
|
+
/*show*/
|
|
147
|
+
o[7] ? n ? (n.p(o, l), l & /*show*/
|
|
148
|
+
128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ce(), B(n, 1, 1, () => {
|
|
149
|
+
n = null;
|
|
150
|
+
}), ae());
|
|
151
|
+
},
|
|
152
|
+
i(o) {
|
|
153
|
+
t || (F(n), t = !0);
|
|
154
|
+
},
|
|
155
|
+
o(o) {
|
|
156
|
+
B(n), t = !1;
|
|
157
|
+
},
|
|
158
|
+
d(o) {
|
|
159
|
+
o && E(e), n && n.d(o);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
function Me(s, e, t) {
|
|
164
|
+
let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: h = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: p = "" } = e, { endpoint: b = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: g = "false" } = e, w = window.navigator.userAgent, a = !1, m = !1, _, y, D, L, S = !1;
|
|
165
|
+
const Z = () => {
|
|
166
|
+
t(7, S = !1), t(3, a = v(w)), window.postMessage(
|
|
167
|
+
{
|
|
168
|
+
type: "ModalClosed",
|
|
169
|
+
gamepagemodalurl: d,
|
|
170
|
+
mobileView: a,
|
|
171
|
+
closeIntegratedGameFrameDesktop: !0
|
|
172
|
+
},
|
|
173
|
+
window.location.href
|
|
174
|
+
);
|
|
175
|
+
}, G = (i) => {
|
|
176
|
+
if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (g === "true" || v(w)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
|
|
177
|
+
{
|
|
178
|
+
type: "GameLaunchID",
|
|
179
|
+
gameId: i.data.gameId
|
|
180
|
+
},
|
|
181
|
+
window.location.href
|
|
182
|
+
), g === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "OpenGameFrameModal" && (t(7, S = !0), window.postMessage(
|
|
183
|
+
{
|
|
184
|
+
type: "LaunchGameFrame",
|
|
185
|
+
gameId: i.data.gameId,
|
|
186
|
+
gameFunMode: i.data.gamefunmode
|
|
187
|
+
},
|
|
188
|
+
window.location.href
|
|
189
|
+
), g === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "RequestModalSize") {
|
|
190
|
+
let I = {
|
|
191
|
+
modalWidth: _ ? getComputedStyle(_).width : null,
|
|
192
|
+
modalHeight: _ ? getComputedStyle(_).height : null
|
|
193
|
+
};
|
|
194
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
|
|
195
|
+
}
|
|
196
|
+
i.data.type === "GameStateOnResize" && (m = i.data.detailsObtained);
|
|
197
|
+
}, J = (i) => {
|
|
198
|
+
if (m) {
|
|
199
|
+
let I = {
|
|
200
|
+
modalWidth: getComputedStyle(_).width,
|
|
201
|
+
modalHeight: getComputedStyle(_).height
|
|
202
|
+
};
|
|
203
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
|
|
204
|
+
}
|
|
205
|
+
}, K = () => {
|
|
206
|
+
M == "true" && fe(b, h).then(
|
|
207
|
+
(i) => {
|
|
208
|
+
i.Guid, i.UserID;
|
|
209
|
+
},
|
|
210
|
+
(i) => {
|
|
211
|
+
console.error("err on session", i);
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
};
|
|
215
|
+
le(() => (t(3, a = v(w)), window.addEventListener("message", G, !1), window.addEventListener("resize", J, !1), () => {
|
|
216
|
+
window.removeEventListener("message", G), window.removeEventListener("resize", G);
|
|
217
|
+
}));
|
|
218
|
+
function Q(i) {
|
|
219
|
+
N[i ? "unshift" : "push"](() => {
|
|
220
|
+
_ = i, t(4, _);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
function X() {
|
|
224
|
+
D = this.clientWidth, L = this.clientHeight, t(5, D), t(6, L);
|
|
225
|
+
}
|
|
226
|
+
function Y(i) {
|
|
227
|
+
N[i ? "unshift" : "push"](() => {
|
|
228
|
+
y = i, t(2, y);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
return s.$$set = (i) => {
|
|
232
|
+
"duration" in i && t(0, l = i.duration), "session" in i && t(9, h = i.session), "userid" in i && t(10, k = i.userid), "clientstyling" in i && t(11, c = i.clientstyling), "identifier" in i && t(12, u = i.identifier), "clientstylingurl" in i && t(13, p = i.clientstylingurl), "endpoint" in i && t(14, b = i.endpoint), "haspanicbutton" in i && t(1, C = i.haspanicbutton), "gamepagemodalurl" in i && t(15, d = i.gamepagemodalurl), "sessioncheck" in i && t(16, M = i.sessioncheck), "integratedgameframedesktop" in i && t(17, g = i.integratedgameframedesktop), "$$scope" in i && t(18, o = i.$$scope);
|
|
233
|
+
}, s.$$.update = () => {
|
|
234
|
+
s.$$.dirty & /*session, userid, endpoint*/
|
|
235
|
+
17920 && h && k && b && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
236
|
+
2052 && c && y && ge(y, c), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
237
|
+
8196 && p && y && me(y, p), s.$$.dirty & /*customStylingContainer*/
|
|
238
|
+
4 && y && he(y, "Casino.Style");
|
|
239
|
+
}, [
|
|
240
|
+
l,
|
|
241
|
+
C,
|
|
242
|
+
y,
|
|
243
|
+
a,
|
|
244
|
+
_,
|
|
245
|
+
D,
|
|
246
|
+
L,
|
|
247
|
+
S,
|
|
248
|
+
Z,
|
|
249
|
+
h,
|
|
250
|
+
k,
|
|
251
|
+
c,
|
|
252
|
+
u,
|
|
253
|
+
p,
|
|
254
|
+
b,
|
|
255
|
+
d,
|
|
256
|
+
M,
|
|
257
|
+
g,
|
|
258
|
+
o,
|
|
259
|
+
n,
|
|
260
|
+
Q,
|
|
261
|
+
X,
|
|
262
|
+
Y
|
|
263
|
+
];
|
|
264
|
+
}
|
|
265
|
+
class ke extends ee {
|
|
266
|
+
constructor(e) {
|
|
267
|
+
super(), te(
|
|
268
|
+
this,
|
|
269
|
+
e,
|
|
270
|
+
Me,
|
|
271
|
+
be,
|
|
272
|
+
se,
|
|
273
|
+
{
|
|
274
|
+
duration: 0,
|
|
275
|
+
session: 9,
|
|
276
|
+
userid: 10,
|
|
277
|
+
clientstyling: 11,
|
|
278
|
+
identifier: 12,
|
|
279
|
+
clientstylingurl: 13,
|
|
280
|
+
endpoint: 14,
|
|
281
|
+
haspanicbutton: 1,
|
|
282
|
+
gamepagemodalurl: 15,
|
|
283
|
+
sessioncheck: 16,
|
|
284
|
+
integratedgameframedesktop: 17
|
|
285
|
+
},
|
|
286
|
+
_e
|
|
287
|
+
);
|
|
288
|
+
}
|
|
289
|
+
get duration() {
|
|
290
|
+
return this.$$.ctx[0];
|
|
291
|
+
}
|
|
292
|
+
set duration(e) {
|
|
293
|
+
this.$$set({ duration: e }), f();
|
|
294
|
+
}
|
|
295
|
+
get session() {
|
|
296
|
+
return this.$$.ctx[9];
|
|
297
|
+
}
|
|
298
|
+
set session(e) {
|
|
299
|
+
this.$$set({ session: e }), f();
|
|
300
|
+
}
|
|
301
|
+
get userid() {
|
|
302
|
+
return this.$$.ctx[10];
|
|
303
|
+
}
|
|
304
|
+
set userid(e) {
|
|
305
|
+
this.$$set({ userid: e }), f();
|
|
306
|
+
}
|
|
307
|
+
get clientstyling() {
|
|
308
|
+
return this.$$.ctx[11];
|
|
309
|
+
}
|
|
310
|
+
set clientstyling(e) {
|
|
311
|
+
this.$$set({ clientstyling: e }), f();
|
|
312
|
+
}
|
|
313
|
+
get identifier() {
|
|
314
|
+
return this.$$.ctx[12];
|
|
315
|
+
}
|
|
316
|
+
set identifier(e) {
|
|
317
|
+
this.$$set({ identifier: e }), f();
|
|
318
|
+
}
|
|
319
|
+
get clientstylingurl() {
|
|
320
|
+
return this.$$.ctx[13];
|
|
321
|
+
}
|
|
322
|
+
set clientstylingurl(e) {
|
|
323
|
+
this.$$set({ clientstylingurl: e }), f();
|
|
324
|
+
}
|
|
325
|
+
get endpoint() {
|
|
326
|
+
return this.$$.ctx[14];
|
|
327
|
+
}
|
|
328
|
+
set endpoint(e) {
|
|
329
|
+
this.$$set({ endpoint: e }), f();
|
|
330
|
+
}
|
|
331
|
+
get haspanicbutton() {
|
|
332
|
+
return this.$$.ctx[1];
|
|
333
|
+
}
|
|
334
|
+
set haspanicbutton(e) {
|
|
335
|
+
this.$$set({ haspanicbutton: e }), f();
|
|
336
|
+
}
|
|
337
|
+
get gamepagemodalurl() {
|
|
338
|
+
return this.$$.ctx[15];
|
|
339
|
+
}
|
|
340
|
+
set gamepagemodalurl(e) {
|
|
341
|
+
this.$$set({ gamepagemodalurl: e }), f();
|
|
342
|
+
}
|
|
343
|
+
get sessioncheck() {
|
|
344
|
+
return this.$$.ctx[16];
|
|
345
|
+
}
|
|
346
|
+
set sessioncheck(e) {
|
|
347
|
+
this.$$set({ sessioncheck: e }), f();
|
|
348
|
+
}
|
|
349
|
+
get integratedgameframedesktop() {
|
|
350
|
+
return this.$$.ctx[17];
|
|
351
|
+
}
|
|
352
|
+
set integratedgameframedesktop(e) {
|
|
353
|
+
this.$$set({ integratedgameframedesktop: e }), f();
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
ie(ke, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {} }, ["default", "close"], [], !0);
|
|
357
|
+
export {
|
|
358
|
+
ke as default
|
|
359
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BQx5-rlk.cjs");function W(s,{delay:t=0,duration:i=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:i,easing:o,css:r=>`opacity: ${r*l}`}}function P(s){e.append_styles(s,"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)}")}const R=s=>({}),D=s=>({});function L(s){let t,i,o,l,r,h,M,c,u,p,y;const k=s[19].default,d=e.create_slot(k,s,s[18],null),b=s[19].close,f=e.create_slot(b,s,s[18],D),m=f||q();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),m.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(i,"class","ModalWindow"),e.attr(i,"part","ModalWindow"),e.attr(i,"id","Modal"),e.add_render_callback(()=>s[21].call(i)),e.attr(t,"part","CustomStylingContainer")},m(a,g){e.insert(a,t,g),e.append(t,i),e.append(i,o),d&&d.m(o,null),e.append(i,l),e.append(i,r),m.m(r,null),s[20](i),M=e.add_iframe_resize_listener(i,s[21].bind(i)),s[22](t),u=!0,p||(y=e.listen(r,"click",s[8]),p=!0)},p(a,g){s=a,d&&d.p&&(!u||g&262144)&&e.update_slot_base(d,k,s,s[18],u?e.get_slot_changes(k,s[18],g,null):e.get_all_dirty_from_scope(s[18]),null),f&&f.p&&(!u||g&262144)&&e.update_slot_base(f,b,s,s[18],u?e.get_slot_changes(b,s[18],g,R):e.get_all_dirty_from_scope(s[18]),D),(!u||g&10&&h!==(h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",h)},i(a){u||(e.transition_in(d,a),e.transition_in(m,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,W,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(m,a),a&&(c||(c=e.create_bidirectional_transition(i,W,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),m.d(a),s[20](null),M(),a&&c&&c.end(),s[22](null),p=!1,y()}}}function q(s){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"stroke-width","2"),e.attr(i,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,l){e.insert(o,t,l),e.append(t,i)},p:e.noop,d(o){o&&e.detach(t)}}}function A(s){let t,i,o=s[7]&&L(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),i=!0},p(l,[r]){l[7]?o?(o.p(l,r),r&128&&e.transition_in(o,1)):(o=L(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){i||(e.transition_in(o),i=!0)},o(l){e.transition_out(o),i=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function U(s,t,i){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:h=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:p=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:b="true"}=t,{integratedgameframedesktop:f="false"}=t,m=window.navigator.userAgent,a=!1,g=!1,_,w,S,z,C=!1;const G=()=>{i(7,C=!1),i(3,a=e.isMobile(m)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:a,closeIntegratedGameFrameDesktop:!0},window.location.href)},F=n=>{if(n.data.type=="ShowModal"&&u==n.data.identifier&&(i(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type=="ModalClosed"&&(f==="true"||e.isMobile(m))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),f==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="OpenGameFrameModal"&&(i(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:n.data.gameId,gameFunMode:n.data.gamefunmode},window.location.href),f==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let B={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:B},window.location.href)}n.data.type==="GameStateOnResize"&&(g=n.data.detailsObtained)},I=n=>{if(g){let B={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:B},window.location.href)}},E=()=>{b=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,a=e.isMobile(m)),window.addEventListener("message",F,!1),window.addEventListener("resize",I,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function H(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function j(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function O(n){e.binding_callbacks[n?"unshift":"push"](()=>{w=n,i(2,w)})}return s.$$set=n=>{"duration"in n&&i(0,r=n.duration),"session"in n&&i(9,h=n.session),"userid"in n&&i(10,M=n.userid),"clientstyling"in n&&i(11,c=n.clientstyling),"identifier"in n&&i(12,u=n.identifier),"clientstylingurl"in n&&i(13,p=n.clientstylingurl),"endpoint"in n&&i(14,y=n.endpoint),"haspanicbutton"in n&&i(1,k=n.haspanicbutton),"gamepagemodalurl"in n&&i(15,d=n.gamepagemodalurl),"sessioncheck"in n&&i(16,b=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,f=n.integratedgameframedesktop),"$$scope"in n&&i(18,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty&17920&&h&&M&&y&&E(),s.$$.dirty&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty&8196&&p&&w&&e.setClientStylingURL(w),s.$$.dirty&4&&w&&e.setClientStylingFromMB(w,"Casino.Style")},[r,k,w,a,_,S,z,C,G,h,M,c,u,p,y,d,b,f,l,o,H,j,O]}class v extends e.SvelteComponent{constructor(t){super(),e.init(this,t,U,A,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},P)}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}}e.create_custom_element(v,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{}},["default","close"],[],!0);exports.default=v;
|