@everymatrix/casino-lobby 1.43.4 → 1.45.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-DEhfBjpm.js +5138 -0
- package/components/CasinoCalendar-egUFg4eK.cjs +9 -0
- package/components/CasinoCalendarDailyDetails-CfTziMCu.js +605 -0
- package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +1 -0
- package/components/CasinoCalendarDailyItem-CQ8syIIe.js +220 -0
- package/components/CasinoCategoriesSlider-BQvWcqNm.js +597 -0
- package/components/CasinoCategoriesSlider-BfuTLKom.cjs +1 -0
- package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +1 -0
- package/components/CasinoCollectionsProviders-CwJY8Pmw.js +659 -0
- package/components/CasinoFavoritesSection-BBWM7_dI.js +418 -0
- package/components/CasinoFavoritesSection-Da0-zSyn.cjs +1 -0
- package/components/CasinoFilter-BkpU5f2V.cjs +1 -0
- package/components/CasinoFilter-D3p7c7qu.js +628 -0
- package/components/CasinoGamePage-BHxY5XUD.cjs +18 -0
- package/components/CasinoGamePage-Bp4OKmdA.js +4282 -0
- package/components/CasinoGameThumbnail-BmmqFK_6.js +1822 -0
- package/components/CasinoGameThumbnail-DVMHCqZf.cjs +38 -0
- package/components/CasinoGamesCategorySection-6X3_pD0A.js +3022 -0
- package/components/CasinoGamesCategorySection-CasxxP7n.cjs +1 -0
- package/components/CasinoJackpotBanner-8_TAP4xY.cjs +1 -0
- package/components/CasinoJackpotBanner-wk2wOmJp.js +619 -0
- package/components/CasinoLastPlayedSection-Dkh43VxC.js +563 -0
- package/components/CasinoLastPlayedSection-DvORiff-.cjs +1 -0
- package/components/CasinoLobby-Djp4HDWL.js +2341 -0
- package/components/CasinoLobby-Jn45jhzr.cjs +1 -0
- package/components/CasinoModal-BebrYWjS.cjs +1 -0
- package/components/CasinoModal-CSwMAX-g.js +372 -0
- package/components/CasinoMostPlayedSection-BDP2HyE6.js +580 -0
- package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +1 -0
- package/components/CasinoMyGames-CILl0Jt1.js +1313 -0
- package/components/CasinoMyGames-shcqTml8.cjs +1 -0
- package/components/CasinoPage-CCcJd2fQ.js +3514 -0
- package/components/CasinoPage-DZmE3VFL.cjs +1 -0
- package/components/CasinoRandomGame-4mi3rRbq.js +641 -0
- package/components/CasinoRandomGame-G4VfFJ2L.cjs +2 -0
- package/components/CasinoSearch-CW-eesDy.cjs +1 -0
- package/components/CasinoSearch-DkEAmw-j.js +1066 -0
- package/components/CasinoSlider-CNWDP_I-.js +803 -0
- package/components/CasinoSlider-CjA8vWoz.cjs +1 -0
- package/components/CasinoSort-BVh0Ouwu.cjs +1 -0
- package/components/CasinoSort-CPcJqhWU.js +425 -0
- package/components/CasinoWinners-BTNdGlUD.cjs +1 -0
- package/components/CasinoWinners-DSsJp1KQ.js +884 -0
- package/components/GeneralAnimationLoading-BtIh_bSy.js +75 -0
- package/components/GeneralAnimationLoading-CEAKVCu9.cjs +1 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/package.json +20 -32
- 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,220 @@
|
|
|
1
|
+
import { $ as R, a as j, S as A, i as O, f as x, c as q, s as U, b as G, e as c, r as L, u as T, d as l, D as E, G as C, g as V, v as s, w as W, A as S, C as H, k as J, o as K, m as N, n as P } from "./CasinoCalendar-DEhfBjpm.js";
|
|
2
|
+
function Q({ withLocale: n, translations: e }) {
|
|
3
|
+
R.subscribe((a) => {
|
|
4
|
+
a == null && (j.set(e), R.set(n));
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
function X(n) {
|
|
8
|
+
G(n, "svelte-128e4zn", '.svelte-128e4zn.svelte-128e4zn,.svelte-128e4zn.svelte-128e4zn::before,.svelte-128e4zn.svelte-128e4zn::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container.svelte-128e4zn.svelte-128e4zn{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container.svelte-128e4zn.svelte-128e4zn::-webkit-scrollbar{display:none}.CalendarBar.svelte-128e4zn.svelte-128e4zn{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar.svelte-128e4zn.svelte-128e4zn::before{content:"";position:absolute;z-index:-1}.RingLeft.svelte-128e4zn.svelte-128e4zn::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft.svelte-128e4zn.svelte-128e4zn::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight.svelte-128e4zn.svelte-128e4zn::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight.svelte-128e4zn.svelte-128e4zn::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage.svelte-128e4zn.svelte-128e4zn{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear.svelte-128e4zn.svelte-128e4zn{animation:svelte-128e4zn-tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes svelte-128e4zn-tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard.svelte-128e4zn.svelte-128e4zn{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems.svelte-128e4zn.svelte-128e4zn{width:100%}.CasinoCalendarItemBackground.svelte-128e4zn.svelte-128e4zn{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon.svelte-128e4zn.svelte-128e4zn{height:20px;margin:15px}.CasinoCalendarDailyIcon.svelte-128e4zn img.svelte-128e4zn{max-height:28px}.CasinoCalendarDailyTitle.svelte-128e4zn.svelte-128e4zn{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription.svelte-128e4zn.svelte-128e4zn{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton.svelte-128e4zn.svelte-128e4zn{width:100%;text-align:center}.MoreInfoButton.svelte-128e4zn.svelte-128e4zn{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
9
|
+
}
|
|
10
|
+
function Y(n) {
|
|
11
|
+
let e, a, h, u, f, w, i, b, r, v, y, p, g, I, k, D, m, z, B, F, _, M, t;
|
|
12
|
+
return {
|
|
13
|
+
c() {
|
|
14
|
+
e = c("div"), a = c("div"), h = c("div"), u = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft svelte-128e4zn"></div> <div class="RingRight svelte-128e4zn"></div>', w = L(), i = c("div"), b = c("div"), r = c("img"), y = L(), p = c("div"), g = T(
|
|
15
|
+
/*dailyday*/
|
|
16
|
+
n[2]
|
|
17
|
+
), I = L(), k = c("div"), D = L(), m = c("div"), z = c("button"), B = T(
|
|
18
|
+
/*dailybuttontitle*/
|
|
19
|
+
n[3]
|
|
20
|
+
), l(f, "class", "CalendarBar svelte-128e4zn"), E(r.src, v = /*dailyicon*/
|
|
21
|
+
n[1]) || l(r, "src", v), l(
|
|
22
|
+
r,
|
|
23
|
+
"alt",
|
|
24
|
+
/*dailyicon*/
|
|
25
|
+
n[1]
|
|
26
|
+
), l(r, "class", "svelte-128e4zn"), l(b, "class", "CasinoCalendarDailyIcon svelte-128e4zn"), l(p, "class", "CasinoCalendarDailyTitle svelte-128e4zn"), l(k, "class", "CasinoCalendarDailyItemDescription svelte-128e4zn"), l(z, "class", "MoreInfoButton svelte-128e4zn"), l(m, "class", "CasinoCalendarDailyItemButton svelte-128e4zn"), l(i, "class", F = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
27
|
+
n[4] == "OpenCalendarModal" ? "Tear" : "") + " svelte-128e4zn"), C(i, "background-image", "url('" + /*dailybackground*/
|
|
28
|
+
n[0] + "')"), C(i, "background-size", "cover"), C(i, "background-position", "center"), C(i, "-webkit-background-size", "cover"), C(i, "-moz-background-size", "cover"), C(i, "-o-background-size", "cover"), l(u, "class", "CalendarCard svelte-128e4zn"), l(h, "class", "CasinoCalendarItems svelte-128e4zn"), l(a, "class", _ = "Container " + /*mobileView*/
|
|
29
|
+
(n[7] ? "Mobile" : "") + " svelte-128e4zn"), l(e, "class", "svelte-128e4zn");
|
|
30
|
+
},
|
|
31
|
+
m(o, d) {
|
|
32
|
+
V(o, e, d), s(e, a), s(a, h), s(h, u), s(u, f), s(u, w), s(u, i), s(i, b), s(b, r), s(i, y), s(i, p), s(p, g), s(i, I), s(i, k), n[13](k), s(i, D), s(i, m), s(m, z), s(z, B), n[15](e), M || (t = W(
|
|
33
|
+
z,
|
|
34
|
+
"click",
|
|
35
|
+
/*click_handler*/
|
|
36
|
+
n[14]
|
|
37
|
+
), M = !0);
|
|
38
|
+
},
|
|
39
|
+
p(o, [d]) {
|
|
40
|
+
d & /*dailyicon*/
|
|
41
|
+
2 && !E(r.src, v = /*dailyicon*/
|
|
42
|
+
o[1]) && l(r, "src", v), d & /*dailyicon*/
|
|
43
|
+
2 && l(
|
|
44
|
+
r,
|
|
45
|
+
"alt",
|
|
46
|
+
/*dailyicon*/
|
|
47
|
+
o[1]
|
|
48
|
+
), d & /*dailyday*/
|
|
49
|
+
4 && S(
|
|
50
|
+
g,
|
|
51
|
+
/*dailyday*/
|
|
52
|
+
o[2]
|
|
53
|
+
), d & /*dailybuttontitle*/
|
|
54
|
+
8 && S(
|
|
55
|
+
B,
|
|
56
|
+
/*dailybuttontitle*/
|
|
57
|
+
o[3]
|
|
58
|
+
), d & /*index*/
|
|
59
|
+
16 && F !== (F = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
60
|
+
o[4] == "OpenCalendarModal" ? "Tear" : "") + " svelte-128e4zn") && l(i, "class", F), d & /*dailybackground*/
|
|
61
|
+
1 && C(i, "background-image", "url('" + /*dailybackground*/
|
|
62
|
+
o[0] + "')"), d & /*mobileView*/
|
|
63
|
+
128 && _ !== (_ = "Container " + /*mobileView*/
|
|
64
|
+
(o[7] ? "Mobile" : "") + " svelte-128e4zn") && l(a, "class", _);
|
|
65
|
+
},
|
|
66
|
+
i: H,
|
|
67
|
+
o: H,
|
|
68
|
+
d(o) {
|
|
69
|
+
o && J(e), n[13](null), n[15](null), M = !1, t();
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function Z(n, e, a) {
|
|
74
|
+
let { lang: h = "" } = e, { dailybackground: u = "" } = e, { dailyicon: f = "" } = e, { dailyday: w = "" } = e, { dailydescription: i = "<p></p>" } = e, { dailybuttontitle: b = "" } = e, { index: r = "0" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e;
|
|
75
|
+
Q({ withLocale: "en", translations: {} });
|
|
76
|
+
let p, g, I = !1, k = window.navigator.userAgent;
|
|
77
|
+
const D = () => {
|
|
78
|
+
let t = document.createElement("div");
|
|
79
|
+
t.innerHTML = i, p && p.append(t);
|
|
80
|
+
}, m = () => {
|
|
81
|
+
window.postMessage({ type: "OpenCalendar", index: r }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
82
|
+
}, z = () => {
|
|
83
|
+
let t = document.createElement("style");
|
|
84
|
+
t.innerHTML = v, g.appendChild(t);
|
|
85
|
+
}, B = () => {
|
|
86
|
+
let t = new URL(y), o = document.createElement("style");
|
|
87
|
+
fetch(t.href).then((d) => d.text()).then((d) => {
|
|
88
|
+
o.innerHTML = d, setTimeout(
|
|
89
|
+
() => {
|
|
90
|
+
g.appendChild(o);
|
|
91
|
+
},
|
|
92
|
+
1
|
|
93
|
+
), setTimeout(
|
|
94
|
+
() => {
|
|
95
|
+
},
|
|
96
|
+
500
|
|
97
|
+
);
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
K(() => {
|
|
101
|
+
N(k) && a(7, I = !0);
|
|
102
|
+
});
|
|
103
|
+
function F(t) {
|
|
104
|
+
P[t ? "unshift" : "push"](() => {
|
|
105
|
+
p = t, a(6, p);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
const _ = () => m();
|
|
109
|
+
function M(t) {
|
|
110
|
+
P[t ? "unshift" : "push"](() => {
|
|
111
|
+
g = t, a(5, g);
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
return n.$$set = (t) => {
|
|
115
|
+
"lang" in t && a(9, h = t.lang), "dailybackground" in t && a(0, u = t.dailybackground), "dailyicon" in t && a(1, f = t.dailyicon), "dailyday" in t && a(2, w = t.dailyday), "dailydescription" in t && a(10, i = t.dailydescription), "dailybuttontitle" in t && a(3, b = t.dailybuttontitle), "index" in t && a(4, r = t.index), "clientstyling" in t && a(11, v = t.clientstyling), "clientstylingurl" in t && a(12, y = t.clientstylingurl);
|
|
116
|
+
}, n.$$.update = () => {
|
|
117
|
+
n.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
118
|
+
1039 && f && w && i && b && u && D(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
119
|
+
2080 && v && g && z(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
120
|
+
4128 && y && g && B();
|
|
121
|
+
}, [
|
|
122
|
+
u,
|
|
123
|
+
f,
|
|
124
|
+
w,
|
|
125
|
+
b,
|
|
126
|
+
r,
|
|
127
|
+
g,
|
|
128
|
+
p,
|
|
129
|
+
I,
|
|
130
|
+
m,
|
|
131
|
+
h,
|
|
132
|
+
i,
|
|
133
|
+
v,
|
|
134
|
+
y,
|
|
135
|
+
F,
|
|
136
|
+
_,
|
|
137
|
+
M
|
|
138
|
+
];
|
|
139
|
+
}
|
|
140
|
+
class $ extends A {
|
|
141
|
+
constructor(e) {
|
|
142
|
+
super(), O(
|
|
143
|
+
this,
|
|
144
|
+
e,
|
|
145
|
+
Z,
|
|
146
|
+
Y,
|
|
147
|
+
U,
|
|
148
|
+
{
|
|
149
|
+
lang: 9,
|
|
150
|
+
dailybackground: 0,
|
|
151
|
+
dailyicon: 1,
|
|
152
|
+
dailyday: 2,
|
|
153
|
+
dailydescription: 10,
|
|
154
|
+
dailybuttontitle: 3,
|
|
155
|
+
index: 4,
|
|
156
|
+
clientstyling: 11,
|
|
157
|
+
clientstylingurl: 12
|
|
158
|
+
},
|
|
159
|
+
X
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
get lang() {
|
|
163
|
+
return this.$$.ctx[9];
|
|
164
|
+
}
|
|
165
|
+
set lang(e) {
|
|
166
|
+
this.$$set({ lang: e }), x();
|
|
167
|
+
}
|
|
168
|
+
get dailybackground() {
|
|
169
|
+
return this.$$.ctx[0];
|
|
170
|
+
}
|
|
171
|
+
set dailybackground(e) {
|
|
172
|
+
this.$$set({ dailybackground: e }), x();
|
|
173
|
+
}
|
|
174
|
+
get dailyicon() {
|
|
175
|
+
return this.$$.ctx[1];
|
|
176
|
+
}
|
|
177
|
+
set dailyicon(e) {
|
|
178
|
+
this.$$set({ dailyicon: e }), x();
|
|
179
|
+
}
|
|
180
|
+
get dailyday() {
|
|
181
|
+
return this.$$.ctx[2];
|
|
182
|
+
}
|
|
183
|
+
set dailyday(e) {
|
|
184
|
+
this.$$set({ dailyday: e }), x();
|
|
185
|
+
}
|
|
186
|
+
get dailydescription() {
|
|
187
|
+
return this.$$.ctx[10];
|
|
188
|
+
}
|
|
189
|
+
set dailydescription(e) {
|
|
190
|
+
this.$$set({ dailydescription: e }), x();
|
|
191
|
+
}
|
|
192
|
+
get dailybuttontitle() {
|
|
193
|
+
return this.$$.ctx[3];
|
|
194
|
+
}
|
|
195
|
+
set dailybuttontitle(e) {
|
|
196
|
+
this.$$set({ dailybuttontitle: e }), x();
|
|
197
|
+
}
|
|
198
|
+
get index() {
|
|
199
|
+
return this.$$.ctx[4];
|
|
200
|
+
}
|
|
201
|
+
set index(e) {
|
|
202
|
+
this.$$set({ index: e }), x();
|
|
203
|
+
}
|
|
204
|
+
get clientstyling() {
|
|
205
|
+
return this.$$.ctx[11];
|
|
206
|
+
}
|
|
207
|
+
set clientstyling(e) {
|
|
208
|
+
this.$$set({ clientstyling: e }), x();
|
|
209
|
+
}
|
|
210
|
+
get clientstylingurl() {
|
|
211
|
+
return this.$$.ctx[12];
|
|
212
|
+
}
|
|
213
|
+
set clientstylingurl(e) {
|
|
214
|
+
this.$$set({ clientstylingurl: e }), x();
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
q($, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
218
|
+
export {
|
|
219
|
+
$ as default
|
|
220
|
+
};
|