@everymatrix/casino-lobby 1.54.11 → 1.55.0
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-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
- package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
- package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
- package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
- package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
- package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
- package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
- package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
- package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
- package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
- package/components/{CasinoFavoritesSection-BwdERTZb.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
- package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
- package/components/{CasinoFavoritesSection-gMRxUIMi.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
- package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
- package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
- package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
- package/components/{CasinoGamePage-CbP_7_PQ.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
- package/components/{CasinoGamePage-CG1vsycM.js → CasinoGamePage-DnFlR6PD.js} +1045 -1051
- package/components/{CasinoGamePage-BPRW6RjY.js → CasinoGamePage-lOejw_q6.js} +1019 -1025
- package/components/{CasinoGameThumbnail-Df_azhvx.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
- package/components/{CasinoGameThumbnail-vXsL4BCy.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
- package/components/{CasinoGameThumbnail-0781Z_CK.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
- package/components/{CasinoGamesCategorySection-DF00rAx9.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
- package/components/{CasinoGamesCategorySection-yYd08sVK.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
- package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
- package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
- package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
- package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
- package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
- package/components/{CasinoLastPlayedSection-w8zOVM9X.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
- package/components/{CasinoLastPlayedSection-BfV-LbIj.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
- package/components/{CasinoLobby-DdHDWF7K.js → CasinoLobby-60oTKJCK.js} +555 -525
- package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
- package/components/{CasinoLobby-BW9aCXLG.js → CasinoLobby-DHl1_-VE.js} +555 -525
- package/components/CasinoModal-B7R5L0mw.js +368 -0
- package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
- package/components/CasinoModal-wz-kI5U1.js +368 -0
- package/components/{CasinoMostPlayedSection-C98oA8O7.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CGdqfFFk.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
- package/components/{CasinoMostPlayedSection-KHPtPjRC.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
- package/components/{CasinoMyGames-UYSc9Inu.js → CasinoMyGames-B0AvdkLy.js} +124 -128
- package/components/{CasinoMyGames-9-nh8GWP.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
- package/components/{CasinoMyGames-BoiJpm4z.js → CasinoMyGames-ieyBjArx.js} +139 -141
- package/components/{CasinoPage-qAL3jMh2.js → CasinoPage-CcV-qeX_.js} +903 -805
- package/components/{CasinoPage-BiY0180U.js → CasinoPage-E4Nn1l0F.js} +573 -481
- package/components/CasinoPage-azRHPGyF.cjs +1 -0
- package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
- package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
- package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
- package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
- package/components/{CasinoSearch-DOczB-K5.js → CasinoSearch-BOSoxjjv.js} +394 -387
- package/components/{CasinoSearch-CslIZjzw.js → CasinoSearch-DqfKG5Mj.js} +443 -436
- package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
- package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
- package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
- package/components/CasinoSort-CVwRicsk.js +427 -0
- package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
- package/components/CasinoSort-D9KTb90Q.js +428 -0
- package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
- package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
- package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
- package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
- package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
- package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
- package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
- package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
- package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
- package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
- package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
- package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
- package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
- package/components/CasinoFavoritesSection-DcLVpINE.cjs +0 -1
- package/components/CasinoGamesCategorySection-C1-Tejye.cjs +0 -1
- package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
- package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
- package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
- package/components/CasinoLastPlayedSection-emN1r4Gd.cjs +0 -1
- package/components/CasinoLobby-B_rjtvgs.cjs +0 -1
- package/components/CasinoModal-C1oW3YF4.js +0 -372
- package/components/CasinoModal-DRtZi6gR.cjs +0 -1
- package/components/CasinoModal-IbVlgg7Z.js +0 -372
- package/components/CasinoPage-7rPVpOym.cjs +0 -1
- package/components/CasinoSearch-BgPbWb_t.cjs +0 -1
- package/components/CasinoSort-CS53Uvnz.cjs +0 -1
- package/components/CasinoSort-DFdgT3Dt.js +0 -432
- package/components/CasinoSort-DFljh5Sg.js +0 -431
- package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
- package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
- package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
- package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, H as ae, d as v, h as F, t as B, g as le, j as E, o as re, K as de, p as j, e as W, r as ue, v as r, R as O, w as z, T as ce, x as fe, y as A, z as P, A as q, a5 as x, l as ge, m as H, Z as me, n as N, N as he, O as we, G as U, D as _e } from "./CasinoCalendar-BKvw2GLN.js";
|
|
2
|
+
function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
|
|
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 ye(s) {
|
|
12
|
+
oe(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 be = (s) => ({}), T = (s) => ({});
|
|
15
|
+
function V(s) {
|
|
16
|
+
let e, t, n, o, l, w, k, c, u, b, p;
|
|
17
|
+
const C = (
|
|
18
|
+
/*#slots*/
|
|
19
|
+
s[20].default
|
|
20
|
+
), d = j(
|
|
21
|
+
C,
|
|
22
|
+
s,
|
|
23
|
+
/*$$scope*/
|
|
24
|
+
s[19],
|
|
25
|
+
null
|
|
26
|
+
), M = (
|
|
27
|
+
/*#slots*/
|
|
28
|
+
s[20].close
|
|
29
|
+
), h = j(
|
|
30
|
+
M,
|
|
31
|
+
s,
|
|
32
|
+
/*$$scope*/
|
|
33
|
+
s[19],
|
|
34
|
+
T
|
|
35
|
+
), f = h || pe();
|
|
36
|
+
return {
|
|
37
|
+
c() {
|
|
38
|
+
e = W("div"), t = W("div"), n = W("div"), d && d.c(), o = ue(), l = W("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "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"), O(() => (
|
|
41
|
+
/*div1_elementresize_handler*/
|
|
42
|
+
s[22].call(t)
|
|
43
|
+
)), r(e, "part", "CustomStylingContainer");
|
|
44
|
+
},
|
|
45
|
+
m(a, g) {
|
|
46
|
+
v(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
|
|
47
|
+
t,
|
|
48
|
+
/*div1_elementresize_handler*/
|
|
49
|
+
s[22].bind(t)
|
|
50
|
+
), s[23](e), u = !0, b || (p = fe(
|
|
51
|
+
l,
|
|
52
|
+
"click",
|
|
53
|
+
/*close*/
|
|
54
|
+
s[8]
|
|
55
|
+
), b = !0);
|
|
56
|
+
},
|
|
57
|
+
p(a, g) {
|
|
58
|
+
s = a, d && d.p && (!u || g[0] & /*$$scope*/
|
|
59
|
+
524288) && A(
|
|
60
|
+
d,
|
|
61
|
+
C,
|
|
62
|
+
s,
|
|
63
|
+
/*$$scope*/
|
|
64
|
+
s[19],
|
|
65
|
+
u ? q(
|
|
66
|
+
C,
|
|
67
|
+
/*$$scope*/
|
|
68
|
+
s[19],
|
|
69
|
+
g,
|
|
70
|
+
null
|
|
71
|
+
) : P(
|
|
72
|
+
/*$$scope*/
|
|
73
|
+
s[19]
|
|
74
|
+
),
|
|
75
|
+
null
|
|
76
|
+
), h && h.p && (!u || g[0] & /*$$scope*/
|
|
77
|
+
524288) && A(
|
|
78
|
+
h,
|
|
79
|
+
M,
|
|
80
|
+
s,
|
|
81
|
+
/*$$scope*/
|
|
82
|
+
s[19],
|
|
83
|
+
u ? q(
|
|
84
|
+
M,
|
|
85
|
+
/*$$scope*/
|
|
86
|
+
s[19],
|
|
87
|
+
g,
|
|
88
|
+
be
|
|
89
|
+
) : P(
|
|
90
|
+
/*$$scope*/
|
|
91
|
+
s[19]
|
|
92
|
+
),
|
|
93
|
+
T
|
|
94
|
+
), (!u || g[0] & /*haspanicbutton, mobileView*/
|
|
95
|
+
10 && w !== (w = "ModalCloseBtn " + /*haspanicbutton*/
|
|
96
|
+
(s[1] == "true" && /*mobileView*/
|
|
97
|
+
s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
|
|
98
|
+
},
|
|
99
|
+
i(a) {
|
|
100
|
+
u || (F(d, a), F(f, a), a && O(() => {
|
|
101
|
+
u && (c || (c = x(t, K, { transitionDuration: (
|
|
102
|
+
/*duration*/
|
|
103
|
+
s[0]
|
|
104
|
+
) }, !0)), c.run(1));
|
|
105
|
+
}), u = !0);
|
|
106
|
+
},
|
|
107
|
+
o(a) {
|
|
108
|
+
B(d, a), B(f, a), a && (c || (c = x(t, K, { 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), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
|
|
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
|
+
v(n, e, o), z(e, t);
|
|
126
|
+
},
|
|
127
|
+
p: _e,
|
|
128
|
+
d(n) {
|
|
129
|
+
n && E(e);
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function Me(s) {
|
|
134
|
+
let e, t, n = (
|
|
135
|
+
/*show*/
|
|
136
|
+
s[7] && V(s)
|
|
137
|
+
);
|
|
138
|
+
return {
|
|
139
|
+
c() {
|
|
140
|
+
n && n.c(), e = ae();
|
|
141
|
+
},
|
|
142
|
+
m(o, l) {
|
|
143
|
+
n && n.m(o, l), v(o, e, l), t = !0;
|
|
144
|
+
},
|
|
145
|
+
p(o, l) {
|
|
146
|
+
/*show*/
|
|
147
|
+
o[7] ? n ? (n.p(o, l), l[0] & /*show*/
|
|
148
|
+
128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), B(n, 1, 1, () => {
|
|
149
|
+
n = null;
|
|
150
|
+
}), le());
|
|
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 ke(s, e, t) {
|
|
164
|
+
let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, R = !1, _, y, D, G, S = !1;
|
|
165
|
+
const Z = () => {
|
|
166
|
+
t(7, S = !1), t(3, g = H(a)), window.postMessage(
|
|
167
|
+
{
|
|
168
|
+
type: "ModalClosed",
|
|
169
|
+
gamepagemodalurl: d,
|
|
170
|
+
mobileView: g,
|
|
171
|
+
closeIntegratedGameFrameDesktop: !0
|
|
172
|
+
},
|
|
173
|
+
window.location.href
|
|
174
|
+
);
|
|
175
|
+
}, L = (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" && (h === "true" || H(a)) && 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
|
+
), h === "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
|
+
), h === "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" && (R = i.data.detailsObtained);
|
|
197
|
+
}, J = (i) => {
|
|
198
|
+
if (R) {
|
|
199
|
+
let I = {
|
|
200
|
+
modalWidth: getComputedStyle(_).width,
|
|
201
|
+
modalHeight: getComputedStyle(_).height
|
|
202
|
+
};
|
|
203
|
+
window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
|
|
204
|
+
}
|
|
205
|
+
}, Q = () => {
|
|
206
|
+
M == "true" && me(p, w).then(
|
|
207
|
+
(i) => {
|
|
208
|
+
i.Guid, i.UserID;
|
|
209
|
+
},
|
|
210
|
+
(i) => {
|
|
211
|
+
console.error("err on session", i);
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
};
|
|
215
|
+
re(() => (t(3, g = H(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", J, !1), () => {
|
|
216
|
+
window.removeEventListener("message", L), window.removeEventListener("resize", L);
|
|
217
|
+
}));
|
|
218
|
+
function X(i) {
|
|
219
|
+
N[i ? "unshift" : "push"](() => {
|
|
220
|
+
_ = i, t(4, _);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
function Y() {
|
|
224
|
+
D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
|
|
225
|
+
}
|
|
226
|
+
function $(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, w = 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, b = i.clientstylingurl), "endpoint" in i && t(14, p = 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, h = i.integratedgameframedesktop), "mbsource" in i && t(18, f = i.mbsource), "$$scope" in i && t(19, o = i.$$scope);
|
|
233
|
+
}, s.$$.update = () => {
|
|
234
|
+
s.$$.dirty[0] & /*session, userid, endpoint*/
|
|
235
|
+
17920 && w && k && p && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
236
|
+
2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
237
|
+
8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
238
|
+
262148 && y && we(y, `${f}.Style`);
|
|
239
|
+
}, [
|
|
240
|
+
l,
|
|
241
|
+
C,
|
|
242
|
+
y,
|
|
243
|
+
g,
|
|
244
|
+
_,
|
|
245
|
+
D,
|
|
246
|
+
G,
|
|
247
|
+
S,
|
|
248
|
+
Z,
|
|
249
|
+
w,
|
|
250
|
+
k,
|
|
251
|
+
c,
|
|
252
|
+
u,
|
|
253
|
+
b,
|
|
254
|
+
p,
|
|
255
|
+
d,
|
|
256
|
+
M,
|
|
257
|
+
h,
|
|
258
|
+
f,
|
|
259
|
+
o,
|
|
260
|
+
n,
|
|
261
|
+
X,
|
|
262
|
+
Y,
|
|
263
|
+
$
|
|
264
|
+
];
|
|
265
|
+
}
|
|
266
|
+
class Ce extends te {
|
|
267
|
+
constructor(e) {
|
|
268
|
+
super(), ie(
|
|
269
|
+
this,
|
|
270
|
+
e,
|
|
271
|
+
ke,
|
|
272
|
+
Me,
|
|
273
|
+
ne,
|
|
274
|
+
{
|
|
275
|
+
duration: 0,
|
|
276
|
+
session: 9,
|
|
277
|
+
userid: 10,
|
|
278
|
+
clientstyling: 11,
|
|
279
|
+
identifier: 12,
|
|
280
|
+
clientstylingurl: 13,
|
|
281
|
+
endpoint: 14,
|
|
282
|
+
haspanicbutton: 1,
|
|
283
|
+
gamepagemodalurl: 15,
|
|
284
|
+
sessioncheck: 16,
|
|
285
|
+
integratedgameframedesktop: 17,
|
|
286
|
+
mbsource: 18
|
|
287
|
+
},
|
|
288
|
+
ye,
|
|
289
|
+
[-1, -1]
|
|
290
|
+
);
|
|
291
|
+
}
|
|
292
|
+
get duration() {
|
|
293
|
+
return this.$$.ctx[0];
|
|
294
|
+
}
|
|
295
|
+
set duration(e) {
|
|
296
|
+
this.$$set({ duration: e }), m();
|
|
297
|
+
}
|
|
298
|
+
get session() {
|
|
299
|
+
return this.$$.ctx[9];
|
|
300
|
+
}
|
|
301
|
+
set session(e) {
|
|
302
|
+
this.$$set({ session: e }), m();
|
|
303
|
+
}
|
|
304
|
+
get userid() {
|
|
305
|
+
return this.$$.ctx[10];
|
|
306
|
+
}
|
|
307
|
+
set userid(e) {
|
|
308
|
+
this.$$set({ userid: e }), m();
|
|
309
|
+
}
|
|
310
|
+
get clientstyling() {
|
|
311
|
+
return this.$$.ctx[11];
|
|
312
|
+
}
|
|
313
|
+
set clientstyling(e) {
|
|
314
|
+
this.$$set({ clientstyling: e }), m();
|
|
315
|
+
}
|
|
316
|
+
get identifier() {
|
|
317
|
+
return this.$$.ctx[12];
|
|
318
|
+
}
|
|
319
|
+
set identifier(e) {
|
|
320
|
+
this.$$set({ identifier: e }), m();
|
|
321
|
+
}
|
|
322
|
+
get clientstylingurl() {
|
|
323
|
+
return this.$$.ctx[13];
|
|
324
|
+
}
|
|
325
|
+
set clientstylingurl(e) {
|
|
326
|
+
this.$$set({ clientstylingurl: e }), m();
|
|
327
|
+
}
|
|
328
|
+
get endpoint() {
|
|
329
|
+
return this.$$.ctx[14];
|
|
330
|
+
}
|
|
331
|
+
set endpoint(e) {
|
|
332
|
+
this.$$set({ endpoint: e }), m();
|
|
333
|
+
}
|
|
334
|
+
get haspanicbutton() {
|
|
335
|
+
return this.$$.ctx[1];
|
|
336
|
+
}
|
|
337
|
+
set haspanicbutton(e) {
|
|
338
|
+
this.$$set({ haspanicbutton: e }), m();
|
|
339
|
+
}
|
|
340
|
+
get gamepagemodalurl() {
|
|
341
|
+
return this.$$.ctx[15];
|
|
342
|
+
}
|
|
343
|
+
set gamepagemodalurl(e) {
|
|
344
|
+
this.$$set({ gamepagemodalurl: e }), m();
|
|
345
|
+
}
|
|
346
|
+
get sessioncheck() {
|
|
347
|
+
return this.$$.ctx[16];
|
|
348
|
+
}
|
|
349
|
+
set sessioncheck(e) {
|
|
350
|
+
this.$$set({ sessioncheck: e }), m();
|
|
351
|
+
}
|
|
352
|
+
get integratedgameframedesktop() {
|
|
353
|
+
return this.$$.ctx[17];
|
|
354
|
+
}
|
|
355
|
+
set integratedgameframedesktop(e) {
|
|
356
|
+
this.$$set({ integratedgameframedesktop: e }), m();
|
|
357
|
+
}
|
|
358
|
+
get mbsource() {
|
|
359
|
+
return this.$$.ctx[18];
|
|
360
|
+
}
|
|
361
|
+
set mbsource(e) {
|
|
362
|
+
this.$$set({ mbsource: e }), m();
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
se(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
|
|
366
|
+
export {
|
|
367
|
+
Ce as default
|
|
368
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-P6bQ-mxN.cjs");function D(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 R(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 q=s=>({}),L=s=>({});function G(s){let t,i,o,l,r,h,M,c,u,b,y;const k=s[20].default,d=e.create_slot(k,s,s[19],null),p=s[20].close,m=e.create_slot(p,s,s[19],L),f=m||A();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.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[22].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),f&&f.m(r,null),s[21](i),M=e.add_iframe_resize_listener(i,s[22].bind(i)),s[23](t),u=!0,b||(y=e.listen(r,"click",s[8]),b=!0)},p(a,g){s=a,d&&d.p&&(!u||g[0]&524288)&&e.update_slot_base(d,k,s,s[19],u?e.get_slot_changes(k,s[19],g,null):e.get_all_dirty_from_scope(s[19]),null),m&&m.p&&(!u||g[0]&524288)&&e.update_slot_base(m,p,s,s[19],u?e.get_slot_changes(p,s[19],g,q):e.get_all_dirty_from_scope(s[19]),L),(!u||g[0]&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(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[21](null),M(),a&&c&&c.end(),s[23](null),b=!1,y()}}}function A(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 U(s){let t,i,o=s[7]&&G(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[0]&128&&e.transition_in(o,1)):(o=G(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 N(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:b=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:m="false"}=t,{mbsource:f}=t,a=window.navigator.userAgent,g=!1,B=!1,_,w,S,z,C=!1;const v=()=>{i(7,C=!1),i(3,g=e.isMobile(a)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:g,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"&&(m==="true"||e.isMobile(a))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),m==="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),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let W={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}n.data.type==="GameStateOnResize"&&(B=n.data.detailsObtained)},E=n=>{if(B){let W={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}},H=()=>{p=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,g=e.isMobile(a)),window.addEventListener("message",F,!1),window.addEventListener("resize",E,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function j(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function O(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function P(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,b=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,p=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,m=n.integratedgameframedesktop),"mbsource"in n&&i(18,f=n.mbsource),"$$scope"in n&&i(19,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&h&&M&&y&&H(),s.$$.dirty[0]&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty[0]&8196&&b&&w&&e.setClientStylingURL(w,b),s.$$.dirty[0]&262148&&w&&e.setStreamStyling(w,`${f}.Style`)},[r,k,w,g,_,S,z,C,v,h,M,c,u,b,y,d,p,m,f,l,o,j,O,P]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,U,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,mbsource:18},R,[-1,-1])}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()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(I,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{},mbsource:{}},["default","close"],[],!0);exports.default=I;
|