@everymatrix/casino-game-overlay 0.4.0 → 0.4.2
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/{CasinoGameOverlay-BnvfHaHn.js → CasinoGameOverlay-CJSg_ntR.js} +17 -17
- package/components/{CasinoGameOverlay-BtYZjuRD.js → CasinoGameOverlay-DKopaQRU.js} +19 -19
- package/components/{CasinoGameOverlay-CCZst4Gi.cjs → CasinoGameOverlay-DR1oqDXs.cjs} +1 -1
- package/components/{CasinoMysteryChestContainer-C4iZ_acT.js → CasinoMysteryChestContainer-BIgK6ijU.js} +635 -625
- package/components/{CasinoMysteryChestContainer-CvuN5C7Q.js → CasinoMysteryChestContainer-CUoGUFPg.js} +706 -674
- package/components/CasinoMysteryChestContainer-Ddbg98Ct.cjs +18 -0
- package/components/{CasinoMysteryChestDetails-BWM4B58t.js → CasinoMysteryChestDetails-5tVMLmT2.js} +41 -41
- package/components/{CasinoMysteryChestDetails-DhP6TNfU.cjs → CasinoMysteryChestDetails-DN8YGjwq.cjs} +1 -1
- package/components/{CasinoMysteryChestDetails-CFVP0x56.js → CasinoMysteryChestDetails-DaiN1W80.js} +37 -37
- package/components/{CasinoMysteryChestModal-DboeGZLD.cjs → CasinoMysteryChestModal-B1Mw0qsq.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-Dh67V0_G.js → CasinoMysteryChestModal-CXYSF5U2.js} +19 -19
- package/components/{CasinoMysteryChestModal-BhXMlBdJ.js → CasinoMysteryChestModal-i0bC573h.js} +16 -16
- package/components/CasinoMysteryChestsList-2XtvNi53.cjs +1 -0
- package/components/{CasinoMysteryChestsList-9Cst5T7s.js → CasinoMysteryChestsList-D9xdlIE1.js} +71 -73
- package/components/{CasinoMysteryChestsList-Bay-0A-d.js → CasinoMysteryChestsList-DcBJTIcn.js} +71 -73
- package/components/{GeneralAnimationLoading-jDVFPMJ3.cjs → GeneralAnimationLoading-B9pSQQ65.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BSUElHEL.js → GeneralAnimationLoading-BCuCGkFp.js} +18 -18
- package/components/{GeneralAnimationLoading-CcFv3z6V.js → GeneralAnimationLoading-D3Y1CIhc.js} +16 -16
- package/es2015/casino-game-overlay.cjs +1 -1
- package/es2015/casino-game-overlay.js +1 -1
- package/esnext/casino-game-overlay.js +1 -1
- package/package.json +1 -1
- package/components/CasinoMysteryChestContainer-DRXufsNk.cjs +0 -18
- package/components/CasinoMysteryChestsList-D3Fb6bDH.cjs +0 -1
package/components/{CasinoMysteryChestDetails-CFVP0x56.js → CasinoMysteryChestDetails-DaiN1W80.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as z, S as X, b as N,
|
|
2
|
-
import { a as ne, $ as oe, i as se, b as ce } from "./CasinoMysteryChestContainer-
|
|
1
|
+
import { o as z, S as X, b as N, s as W, f as j, d as _, n as b, e as f, r as $, u as M, m as A, t as D, g as u, p as l, q as v, l as h, h as F, v as y, w as ee, x as te, c as ie } from "./CasinoGameOverlay-CJSg_ntR.js";
|
|
2
|
+
import { a as ne, $ as oe, i as se, b as ce } from "./CasinoMysteryChestContainer-BIgK6ijU.js";
|
|
3
3
|
function T(t, e) {
|
|
4
4
|
ne(t, e);
|
|
5
5
|
}
|
|
@@ -67,7 +67,7 @@ const x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAADLCAYAAADEDrcOAAA
|
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
function Ee(t) {
|
|
70
|
-
|
|
70
|
+
_(t, "svelte-n31egl", `.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .icon-button{width:24px;height:24px}.mobile .chest-header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .chest-icon{width:initial;height:initial}.mobile .chest-icon__container{flex-grow:1;padding:0}.mobile .chest-footer{gap:10px}.mobile .chest-footer__btn{width:170px;height:48px;font-size:var(--emw--font-size-medium, 16px)}.mobile .chest-footer__text{font-size:var(--emw--font-size-x-small, 12px);line-height:14px}.mobile .chest-footer__keys{font-size:var(--emw--font-size-small, 14px);line-height:16px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:10;transition:bottom 0.5s ease-in-out;bottom:0px;opacity:1;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px;display:flex;flex-direction:column}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;opacity:0;bottom:0px;opacity:1;transition:opacity 0.5s ease-in-out}.icon-button{width:30px;height:30px;border:0px;cursor:pointer}.icon-button.back{background:center/100% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M10.3579 5.26604C10.0032 4.91132 9.42806 4.91132 9.07334 5.26604L5.26604 9.07334C4.91132 9.42806 4.91132 10.0032 5.26604 10.3579L9.07334 14.1652C9.42806 14.5199 10.0032 14.5199 10.3579 14.1652C10.7126 13.8105 10.7126 13.2354 10.3579 12.8806L8.10118 10.6239H10.7817C12.0761 10.6239 12.9922 10.6246 13.7085 10.6832C14.4142 10.7408 14.8455 10.85 15.1847 11.0229C15.8735 11.3738 16.4335 11.9338 16.7844 12.6226C16.9573 12.9618 17.0665 13.3931 17.1241 14.0989C17.1827 14.8151 17.1834 15.7312 17.1834 17.0256V18.0917C17.1834 18.5933 17.59 19 18.0917 19C18.5933 19 19 18.5933 19 18.0917V16.9854C19 15.74 19 14.7498 18.9347 13.9509C18.8679 13.1329 18.7281 12.4359 18.403 11.7978C17.8779 10.7673 17.04 9.92938 16.0095 9.40427C15.3714 9.07918 14.6744 8.9394 13.8564 8.87257C13.0575 8.80729 12.0673 8.8073 10.8219 8.8073H8.10118L10.3579 6.55059C10.7126 6.19587 10.7126 5.62076 10.3579 5.26604Z" fill="%23729787"/></svg>') no-repeat}.icon-button.close{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.chest-header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.chest-header__title{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.additional-chest-glare{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-40deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(50px);mix-blend-mode:hard-light;width:325px;height:325px;border-radius:40px}.chest-icon{position:relative;z-index:1;width:265px}.chest-icon__container{position:relative;padding:100px 0;align-self:center;align-content:center}.chest-icon__container::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-15deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);mix-blend-mode:hard-light;width:225px;height:225px;border-radius:40px;pointer-events:none}.chest-icon.empty{filter:grayscale(100%)}.chest-footer{display:flex;flex-direction:column;gap:20px;align-items:center;padding:32px 0}.chest-footer__btn{cursor:pointer;width:280px;height:60px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c)}.chest-footer__text{margin:0;font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center;color:var(--emw--color-primary, #d3ffed);display:flex;align-items:center;gap:8px}.chest-footer__keys{display:flex;align-items:center;gap:3px;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center}`);
|
|
71
71
|
}
|
|
72
72
|
function P(t) {
|
|
73
73
|
let e;
|
|
@@ -76,10 +76,10 @@ function P(t) {
|
|
|
76
76
|
e = h("div"), A(e, "class", "additional-chest-glare");
|
|
77
77
|
},
|
|
78
78
|
m(i, c) {
|
|
79
|
-
|
|
79
|
+
u(i, e, c);
|
|
80
80
|
},
|
|
81
81
|
d(i) {
|
|
82
|
-
i &&
|
|
82
|
+
i && f(e);
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -93,7 +93,7 @@ function Ce(t) {
|
|
|
93
93
|
e = h("p"), c = y(i), s = F(), o = h("button"), o.textContent = "OK", A(e, "class", "chest-footer__text"), A(o, "class", "chest-footer__btn");
|
|
94
94
|
},
|
|
95
95
|
m(r, g) {
|
|
96
|
-
|
|
96
|
+
u(r, e, g), l(e, c), u(r, s, g), u(r, o, g), a || (J = v(
|
|
97
97
|
o,
|
|
98
98
|
"click",
|
|
99
99
|
/*onBack*/
|
|
@@ -103,10 +103,10 @@ function Ce(t) {
|
|
|
103
103
|
p(r, g) {
|
|
104
104
|
g & /*$_*/
|
|
105
105
|
32 && i !== (i = /*$_*/
|
|
106
|
-
r[5]("noMoreKeys") + "") &&
|
|
106
|
+
r[5]("noMoreKeys") + "") && M(c, i);
|
|
107
107
|
},
|
|
108
108
|
d(r) {
|
|
109
|
-
r && (
|
|
109
|
+
r && (f(e), f(s), f(o)), a = !1, J();
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
}
|
|
@@ -127,7 +127,7 @@ function Ue(t) {
|
|
|
127
127
|
`), g = h("span"), I = h("img"), d = F(), K = h("span"), k = y(S), A(e, "class", "chest-footer__btn"), D(I.src, w = Ie) || A(I, "src", w), A(I, "alt", "Key"), A(g, "class", "chest-footer__keys"), A(o, "class", "chest-footer__text");
|
|
128
128
|
},
|
|
129
129
|
m(E, R) {
|
|
130
|
-
|
|
130
|
+
u(E, e, R), l(e, c), u(E, s, R), u(E, o, R), l(o, J), l(o, r), l(o, g), l(g, I), l(g, d), l(g, K), l(K, k), U || (q = v(
|
|
131
131
|
e,
|
|
132
132
|
"click",
|
|
133
133
|
/*openChest*/
|
|
@@ -137,14 +137,14 @@ function Ue(t) {
|
|
|
137
137
|
p(E, R) {
|
|
138
138
|
R & /*$_*/
|
|
139
139
|
32 && i !== (i = /*$_*/
|
|
140
|
-
E[5]("openChest") + "") &&
|
|
140
|
+
E[5]("openChest") + "") && M(c, i), R & /*$_*/
|
|
141
141
|
32 && a !== (a = /*$_*/
|
|
142
|
-
E[5]("remainingKeys") + "") &&
|
|
142
|
+
E[5]("remainingKeys") + "") && M(J, a), R & /*activeChest*/
|
|
143
143
|
1 && S !== (S = /*activeChest*/
|
|
144
|
-
E[0].current.remainingTimes + "") &&
|
|
144
|
+
E[0].current.remainingTimes + "") && M(k, S);
|
|
145
145
|
},
|
|
146
146
|
d(E) {
|
|
147
|
-
E && (
|
|
147
|
+
E && (f(e), f(s), f(o)), U = !1, q();
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
}
|
|
@@ -160,7 +160,7 @@ function me(t) {
|
|
|
160
160
|
/*opening*/
|
|
161
161
|
t[4] && P()
|
|
162
162
|
);
|
|
163
|
-
function n(Q,
|
|
163
|
+
function n(Q, V) {
|
|
164
164
|
return (
|
|
165
165
|
/*activeChest*/
|
|
166
166
|
Q[0].current.remainingTimes ? Ue : Ce
|
|
@@ -174,21 +174,21 @@ function me(t) {
|
|
|
174
174
|
t[3]) || A(U, "src", E), A(U, "alt", "Mystery chest"), A(S, "class", "chest-icon__container"), A(B, "class", "chest-footer"), A(s, "class", "drawer " + /*mobileView*/
|
|
175
175
|
(t[6] ? "mobile" : "")), A(e, "part", "CustomStylingContainer");
|
|
176
176
|
},
|
|
177
|
-
m(Q,
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
m(Q, V) {
|
|
178
|
+
u(Q, e, V), l(e, i), l(e, c), l(e, s), l(s, o), l(o, a), l(o, J), l(o, r), l(r, I), l(o, w), l(o, d), l(s, K), l(s, S), m && m.m(S, null), l(S, k), l(S, U), l(s, R), l(s, B), p.m(B, null), t[15](e), O || (L = [
|
|
179
|
+
v(
|
|
180
180
|
i,
|
|
181
181
|
"click",
|
|
182
182
|
/*onClose*/
|
|
183
183
|
t[7]
|
|
184
184
|
),
|
|
185
|
-
|
|
185
|
+
v(
|
|
186
186
|
a,
|
|
187
187
|
"click",
|
|
188
188
|
/*onBack*/
|
|
189
189
|
t[8]
|
|
190
190
|
),
|
|
191
|
-
|
|
191
|
+
v(
|
|
192
192
|
d,
|
|
193
193
|
"click",
|
|
194
194
|
/*onClose*/
|
|
@@ -196,30 +196,30 @@ function me(t) {
|
|
|
196
196
|
)
|
|
197
197
|
], O = !0);
|
|
198
198
|
},
|
|
199
|
-
p(Q, [
|
|
200
|
-
|
|
199
|
+
p(Q, [V]) {
|
|
200
|
+
V & /*activeChest, lang*/
|
|
201
201
|
3 && g !== (g = /*activeChest*/
|
|
202
202
|
(Q[0].program.name[
|
|
203
203
|
/*lang*/
|
|
204
204
|
Q[1]
|
|
205
205
|
] || /*activeChest*/
|
|
206
|
-
Q[0].program.name[Y.default]) + "") &&
|
|
207
|
-
Q[4] ? m || (m = P(), m.c(), m.m(S, k)) : m && (m.d(1), m = null),
|
|
206
|
+
Q[0].program.name[Y.default]) + "") && M(I, g), /*opening*/
|
|
207
|
+
Q[4] ? m || (m = P(), m.c(), m.m(S, k)) : m && (m.d(1), m = null), V & /*activeChest*/
|
|
208
208
|
1 && q !== (q = "chest-icon " + /*activeChest*/
|
|
209
|
-
(Q[0].current.remainingTimes ? "" : "empty")) && A(U, "class", q),
|
|
209
|
+
(Q[0].current.remainingTimes ? "" : "empty")) && A(U, "class", q), V & /*chestImg*/
|
|
210
210
|
8 && !D(U.src, E = /*chestImg*/
|
|
211
|
-
Q[3]) && A(U, "src", E), C === (C = n(Q)) && p ? p.p(Q,
|
|
211
|
+
Q[3]) && A(U, "src", E), C === (C = n(Q)) && p ? p.p(Q, V) : (p.d(1), p = C(Q), p && (p.c(), p.m(B, null)));
|
|
212
212
|
},
|
|
213
213
|
i: b,
|
|
214
214
|
o: b,
|
|
215
215
|
d(Q) {
|
|
216
|
-
Q &&
|
|
216
|
+
Q && f(e), m && m.d(), p.d(), t[15](null), O = !1, $(L);
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
220
|
function Qe(t, e, i) {
|
|
221
221
|
let c;
|
|
222
|
-
|
|
222
|
+
ee(t, ce, (n) => i(5, c = n));
|
|
223
223
|
let { lang: s = Y.en } = e, { endpoint: o = "" } = e, { session: a = "" } = e, { clientstyling: J = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: g = "" } = e, { activeChest: I } = e, w = window.navigator.userAgent, d = se(w), K, S = x, k = !1;
|
|
224
224
|
const U = () => {
|
|
225
225
|
let n = document.createElement("style");
|
|
@@ -269,7 +269,7 @@ function Qe(t, e, i) {
|
|
|
269
269
|
}
|
|
270
270
|
});
|
|
271
271
|
function m(n) {
|
|
272
|
-
|
|
272
|
+
te[n ? "unshift" : "push"](() => {
|
|
273
273
|
K = n, i(2, K);
|
|
274
274
|
});
|
|
275
275
|
}
|
|
@@ -307,7 +307,7 @@ class Ke extends X {
|
|
|
307
307
|
e,
|
|
308
308
|
Qe,
|
|
309
309
|
me,
|
|
310
|
-
|
|
310
|
+
W,
|
|
311
311
|
{
|
|
312
312
|
lang: 1,
|
|
313
313
|
endpoint: 10,
|
|
@@ -324,46 +324,46 @@ class Ke extends X {
|
|
|
324
324
|
return this.$$.ctx[1];
|
|
325
325
|
}
|
|
326
326
|
set lang(e) {
|
|
327
|
-
this.$$set({ lang: e }),
|
|
327
|
+
this.$$set({ lang: e }), j();
|
|
328
328
|
}
|
|
329
329
|
get endpoint() {
|
|
330
330
|
return this.$$.ctx[10];
|
|
331
331
|
}
|
|
332
332
|
set endpoint(e) {
|
|
333
|
-
this.$$set({ endpoint: e }),
|
|
333
|
+
this.$$set({ endpoint: e }), j();
|
|
334
334
|
}
|
|
335
335
|
get session() {
|
|
336
336
|
return this.$$.ctx[11];
|
|
337
337
|
}
|
|
338
338
|
set session(e) {
|
|
339
|
-
this.$$set({ session: e }),
|
|
339
|
+
this.$$set({ session: e }), j();
|
|
340
340
|
}
|
|
341
341
|
get clientstyling() {
|
|
342
342
|
return this.$$.ctx[12];
|
|
343
343
|
}
|
|
344
344
|
set clientstyling(e) {
|
|
345
|
-
this.$$set({ clientstyling: e }),
|
|
345
|
+
this.$$set({ clientstyling: e }), j();
|
|
346
346
|
}
|
|
347
347
|
get clientstylingurl() {
|
|
348
348
|
return this.$$.ctx[13];
|
|
349
349
|
}
|
|
350
350
|
set clientstylingurl(e) {
|
|
351
|
-
this.$$set({ clientstylingurl: e }),
|
|
351
|
+
this.$$set({ clientstylingurl: e }), j();
|
|
352
352
|
}
|
|
353
353
|
get translationurl() {
|
|
354
354
|
return this.$$.ctx[14];
|
|
355
355
|
}
|
|
356
356
|
set translationurl(e) {
|
|
357
|
-
this.$$set({ translationurl: e }),
|
|
357
|
+
this.$$set({ translationurl: e }), j();
|
|
358
358
|
}
|
|
359
359
|
get activeChest() {
|
|
360
360
|
return this.$$.ctx[0];
|
|
361
361
|
}
|
|
362
362
|
set activeChest(e) {
|
|
363
|
-
this.$$set({ activeChest: e }),
|
|
363
|
+
this.$$set({ activeChest: e }), j();
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
|
|
366
|
+
ie(Ke, { lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activeChest: {} }, [], [], !0);
|
|
367
367
|
export {
|
|
368
368
|
Ke as default
|
|
369
369
|
};
|
package/components/{CasinoMysteryChestModal-DboeGZLD.cjs → CasinoMysteryChestModal-B1Mw0qsq.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoGameOverlay-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoGameOverlay-DR1oqDXs.cjs"),j=i=>window.postMessage(i,window.location.href);function B(i){e.append_styles(i,"svelte-286imq",".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}")}function G(i){let t,n,l,d,c,a,g,k,_,m=i[0].title+"",x,V,r,f=i[0].message+"",w,q,M,I,v,b=i[0].bold+"",z,S,p,h=i[0].btn+"",y,u,C,D;return{c(){t=e.element("div"),n=e.element("div"),l=e.element("div"),d=e.element("div"),c=e.space(),a=e.element("img"),k=e.space(),_=e.element("h2"),x=e.text(m),V=e.space(),r=e.element("p"),w=e.text(f),q=e.space(),M=e.element("br"),I=e.space(),v=e.element("b"),z=e.text(b),S=e.space(),p=e.element("button"),y=e.text(h),e.attr(d,"class","dialog__content__coin-glare"),e.attr(a,"class","dialog__content__icon"),e.src_url_equal(a.src,g=i[0].img)||e.attr(a,"src",g),e.attr(a,"alt",""),e.attr(l,"class","dialog__content__icon-container"),e.attr(_,"class","dialog__content__title"),e.attr(r,"class","dialog__content__message"),e.attr(p,"class","dialog__content__btn"),e.attr(n,"class","dialog__content"),e.attr(t,"class",u="dialog "+(i[1]?"mobile":""))},m(o,s){e.insert(o,t,s),e.append(t,n),e.append(n,l),e.append(l,d),e.append(l,c),e.append(l,a),e.append(n,k),e.append(n,_),e.append(_,x),e.append(n,V),e.append(n,r),e.append(r,w),e.append(r,q),e.append(r,M),e.append(r,I),e.append(r,v),e.append(v,z),e.append(n,S),e.append(n,p),e.append(p,y),C||(D=e.listen(p,"click",i[2]),C=!0)},p(o,[s]){s&1&&!e.src_url_equal(a.src,g=o[0].img)&&e.attr(a,"src",g),s&1&&m!==(m=o[0].title+"")&&e.set_data(x,m),s&1&&f!==(f=o[0].message+"")&&e.set_data(w,f),s&1&&b!==(b=o[0].bold+"")&&e.set_data(z,b),s&1&&h!==(h=o[0].btn+"")&&e.set_data(y,h),s&2&&u!==(u="dialog "+(o[1]?"mobile":""))&&e.attr(t,"class",u)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),C=!1,D()}}}function H(i,t,n){let{dialogContent:l}=t,{mobileView:d=!1}=t;const c=()=>{j({type:"HideDialog"})};return i.$$set=a=>{"dialogContent"in a&&n(0,l=a.dialogContent),"mobileView"in a&&n(1,d=a.mobileView)},[l,d,c]}class O extends e.SvelteComponent{constructor(t){super(),e.init(this,t,H,G,e.safe_not_equal,{dialogContent:0,mobileView:1},B)}get dialogContent(){return this.$$.ctx[0]}set dialogContent(t){this.$$set({dialogContent:t}),e.flush()}get mobileView(){return this.$$.ctx[1]}set mobileView(t){this.$$set({mobileView:t}),e.flush()}}e.create_custom_element(O,{dialogContent:{},mobileView:{type:"Boolean"}},[],[],!0);exports.default=O;
|
package/components/{CasinoMysteryChestModal-Dh67V0_G.js → CasinoMysteryChestModal-CXYSF5U2.js}
RENAMED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { S as J, b as K, f as E, c as
|
|
1
|
+
import { S as J, b as K, s as L, f as E, c as N, n as F, d as O, q as G, l as a, u as z, e as P, m as e, p as Q, k as s, g as c, v as y, t as R } from "./CasinoGameOverlay-DKopaQRU.js";
|
|
2
2
|
const T = (i) => window.postMessage(i, window.location.href);
|
|
3
3
|
function U(i) {
|
|
4
|
-
|
|
4
|
+
N(i, "svelte-286imq", ".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}");
|
|
5
5
|
}
|
|
6
6
|
function W(i) {
|
|
7
|
-
let t, o, r, _, p, n, f, D,
|
|
7
|
+
let t, o, r, _, p, n, f, D, b, h = (
|
|
8
8
|
/*dialogContent*/
|
|
9
9
|
i[0].title + ""
|
|
10
10
|
), C, S, d, u = (
|
|
11
11
|
/*dialogContent*/
|
|
12
12
|
i[0].message + ""
|
|
13
|
-
), k,
|
|
13
|
+
), k, B, H, X, V, x = (
|
|
14
14
|
/*dialogContent*/
|
|
15
15
|
i[0].bold + ""
|
|
16
|
-
), q,
|
|
16
|
+
), q, j, m, w = (
|
|
17
17
|
/*dialogContent*/
|
|
18
18
|
i[0].btn + ""
|
|
19
19
|
), M, v, I, A;
|
|
20
20
|
return {
|
|
21
21
|
c() {
|
|
22
|
-
t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(),
|
|
23
|
-
i[0].img) || a(n, "src", f), a(n, "alt", ""), a(r, "class", "dialog__content__icon-container"), a(
|
|
22
|
+
t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(), b = s("h2"), C = y(h), S = c(), d = s("p"), k = y(u), B = c(), H = s("br"), X = c(), V = s("b"), q = y(x), j = c(), m = s("button"), M = y(w), a(_, "class", "dialog__content__coin-glare"), a(n, "class", "dialog__content__icon"), G(n.src, f = /*dialogContent*/
|
|
23
|
+
i[0].img) || a(n, "src", f), a(n, "alt", ""), a(r, "class", "dialog__content__icon-container"), a(b, "class", "dialog__content__title"), a(d, "class", "dialog__content__message"), a(m, "class", "dialog__content__btn"), a(o, "class", "dialog__content"), a(t, "class", v = "dialog " + /*mobileView*/
|
|
24
24
|
(i[1] ? "mobile" : ""));
|
|
25
25
|
},
|
|
26
26
|
m(l, g) {
|
|
27
|
-
P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o,
|
|
27
|
+
P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o, b), e(b, C), e(o, S), e(o, d), e(d, k), e(d, B), e(d, H), e(d, X), e(d, V), e(V, q), e(o, j), e(o, m), e(m, M), I || (A = Q(
|
|
28
28
|
m,
|
|
29
29
|
"click",
|
|
30
30
|
/*hideDialog*/
|
|
@@ -33,23 +33,23 @@ function W(i) {
|
|
|
33
33
|
},
|
|
34
34
|
p(l, [g]) {
|
|
35
35
|
g & /*dialogContent*/
|
|
36
|
-
1 && !
|
|
36
|
+
1 && !G(n.src, f = /*dialogContent*/
|
|
37
37
|
l[0].img) && a(n, "src", f), g & /*dialogContent*/
|
|
38
|
-
1 &&
|
|
39
|
-
l[0].title + "") &&
|
|
38
|
+
1 && h !== (h = /*dialogContent*/
|
|
39
|
+
l[0].title + "") && z(C, h), g & /*dialogContent*/
|
|
40
40
|
1 && u !== (u = /*dialogContent*/
|
|
41
|
-
l[0].message + "") &&
|
|
41
|
+
l[0].message + "") && z(k, u), g & /*dialogContent*/
|
|
42
42
|
1 && x !== (x = /*dialogContent*/
|
|
43
|
-
l[0].bold + "") &&
|
|
43
|
+
l[0].bold + "") && z(q, x), g & /*dialogContent*/
|
|
44
44
|
1 && w !== (w = /*dialogContent*/
|
|
45
|
-
l[0].btn + "") &&
|
|
45
|
+
l[0].btn + "") && z(M, w), g & /*mobileView*/
|
|
46
46
|
2 && v !== (v = "dialog " + /*mobileView*/
|
|
47
47
|
(l[1] ? "mobile" : "")) && a(t, "class", v);
|
|
48
48
|
},
|
|
49
|
-
i:
|
|
50
|
-
o:
|
|
49
|
+
i: F,
|
|
50
|
+
o: F,
|
|
51
51
|
d(l) {
|
|
52
|
-
l &&
|
|
52
|
+
l && O(t), I = !1, A();
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -64,7 +64,7 @@ function Y(i, t, o) {
|
|
|
64
64
|
}
|
|
65
65
|
class Z extends J {
|
|
66
66
|
constructor(t) {
|
|
67
|
-
super(), K(this, t, Y, W,
|
|
67
|
+
super(), K(this, t, Y, W, L, { dialogContent: 0, mobileView: 1 }, U);
|
|
68
68
|
}
|
|
69
69
|
get dialogContent() {
|
|
70
70
|
return this.$$.ctx[0];
|
|
@@ -79,7 +79,7 @@ class Z extends J {
|
|
|
79
79
|
this.$$set({ mobileView: t }), E();
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
R(Z, { dialogContent: {}, mobileView: { type: "Boolean" } }, [], [], !0);
|
|
83
83
|
export {
|
|
84
84
|
Z as default
|
|
85
85
|
};
|
package/components/{CasinoMysteryChestModal-BhXMlBdJ.js → CasinoMysteryChestModal-i0bC573h.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as J, b as K, f as E,
|
|
1
|
+
import { S as J, b as K, s as L, f as E, d as N, n as F, e as O, t as G, m as a, u as z, g as P, p as e, q as Q, l as s, h as c, v as y, c as R } from "./CasinoGameOverlay-CJSg_ntR.js";
|
|
2
2
|
const T = (i) => window.postMessage(i, window.location.href);
|
|
3
3
|
function U(i) {
|
|
4
|
-
|
|
4
|
+
N(i, "svelte-286imq", ".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}");
|
|
5
5
|
}
|
|
6
6
|
function W(i) {
|
|
7
7
|
let t, o, r, _, p, n, f, D, h, b = (
|
|
@@ -10,21 +10,21 @@ function W(i) {
|
|
|
10
10
|
), C, S, d, u = (
|
|
11
11
|
/*dialogContent*/
|
|
12
12
|
i[0].message + ""
|
|
13
|
-
), k,
|
|
13
|
+
), k, B, H, X, V, x = (
|
|
14
14
|
/*dialogContent*/
|
|
15
15
|
i[0].bold + ""
|
|
16
|
-
), q,
|
|
16
|
+
), q, j, m, w = (
|
|
17
17
|
/*dialogContent*/
|
|
18
18
|
i[0].btn + ""
|
|
19
19
|
), M, v, I, A;
|
|
20
20
|
return {
|
|
21
21
|
c() {
|
|
22
|
-
t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(), h = s("h2"), C =
|
|
22
|
+
t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(), h = s("h2"), C = y(b), S = c(), d = s("p"), k = y(u), B = c(), H = s("br"), X = c(), V = s("b"), q = y(x), j = c(), m = s("button"), M = y(w), a(_, "class", "dialog__content__coin-glare"), a(n, "class", "dialog__content__icon"), G(n.src, f = /*dialogContent*/
|
|
23
23
|
i[0].img) || a(n, "src", f), a(n, "alt", ""), a(r, "class", "dialog__content__icon-container"), a(h, "class", "dialog__content__title"), a(d, "class", "dialog__content__message"), a(m, "class", "dialog__content__btn"), a(o, "class", "dialog__content"), a(t, "class", v = "dialog " + /*mobileView*/
|
|
24
24
|
(i[1] ? "mobile" : ""));
|
|
25
25
|
},
|
|
26
26
|
m(l, g) {
|
|
27
|
-
P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o, h), e(h, C), e(o, S), e(o, d), e(d, k), e(d,
|
|
27
|
+
P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o, h), e(h, C), e(o, S), e(o, d), e(d, k), e(d, B), e(d, H), e(d, X), e(d, V), e(V, q), e(o, j), e(o, m), e(m, M), I || (A = Q(
|
|
28
28
|
m,
|
|
29
29
|
"click",
|
|
30
30
|
/*hideDialog*/
|
|
@@ -33,23 +33,23 @@ function W(i) {
|
|
|
33
33
|
},
|
|
34
34
|
p(l, [g]) {
|
|
35
35
|
g & /*dialogContent*/
|
|
36
|
-
1 && !
|
|
36
|
+
1 && !G(n.src, f = /*dialogContent*/
|
|
37
37
|
l[0].img) && a(n, "src", f), g & /*dialogContent*/
|
|
38
38
|
1 && b !== (b = /*dialogContent*/
|
|
39
|
-
l[0].title + "") &&
|
|
39
|
+
l[0].title + "") && z(C, b), g & /*dialogContent*/
|
|
40
40
|
1 && u !== (u = /*dialogContent*/
|
|
41
|
-
l[0].message + "") &&
|
|
41
|
+
l[0].message + "") && z(k, u), g & /*dialogContent*/
|
|
42
42
|
1 && x !== (x = /*dialogContent*/
|
|
43
|
-
l[0].bold + "") &&
|
|
43
|
+
l[0].bold + "") && z(q, x), g & /*dialogContent*/
|
|
44
44
|
1 && w !== (w = /*dialogContent*/
|
|
45
|
-
l[0].btn + "") &&
|
|
45
|
+
l[0].btn + "") && z(M, w), g & /*mobileView*/
|
|
46
46
|
2 && v !== (v = "dialog " + /*mobileView*/
|
|
47
47
|
(l[1] ? "mobile" : "")) && a(t, "class", v);
|
|
48
48
|
},
|
|
49
|
-
i:
|
|
50
|
-
o:
|
|
49
|
+
i: F,
|
|
50
|
+
o: F,
|
|
51
51
|
d(l) {
|
|
52
|
-
l &&
|
|
52
|
+
l && O(t), I = !1, A();
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -64,7 +64,7 @@ function Y(i, t, o) {
|
|
|
64
64
|
}
|
|
65
65
|
class Z extends J {
|
|
66
66
|
constructor(t) {
|
|
67
|
-
super(), K(this, t, Y, W,
|
|
67
|
+
super(), K(this, t, Y, W, L, { dialogContent: 0, mobileView: 1 }, U);
|
|
68
68
|
}
|
|
69
69
|
get dialogContent() {
|
|
70
70
|
return this.$$.ctx[0];
|
|
@@ -79,7 +79,7 @@ class Z extends J {
|
|
|
79
79
|
this.$$set({ mobileView: t }), E();
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
R(Z, { dialogContent: {}, mobileView: { type: "Boolean" } }, [], [], !0);
|
|
83
83
|
export {
|
|
84
84
|
Z as default
|
|
85
85
|
};
|