@everymatrix/casino-game-overlay 0.3.8 → 0.4.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/{CasinoGameOverlay-CJSg_ntR.js → CasinoGameOverlay-BnvfHaHn.js} +17 -17
- package/components/{CasinoGameOverlay-DKopaQRU.js → CasinoGameOverlay-BtYZjuRD.js} +19 -19
- package/components/{CasinoGameOverlay-DR1oqDXs.cjs → CasinoGameOverlay-CCZst4Gi.cjs} +1 -1
- package/components/{CasinoMysteryChestContainer-BIgK6ijU.js → CasinoMysteryChestContainer-C4iZ_acT.js} +625 -635
- package/components/{CasinoMysteryChestContainer-CUoGUFPg.js → CasinoMysteryChestContainer-CvuN5C7Q.js} +674 -706
- package/components/CasinoMysteryChestContainer-DRXufsNk.cjs +18 -0
- package/components/{CasinoMysteryChestDetails-5tVMLmT2.js → CasinoMysteryChestDetails-BWM4B58t.js} +41 -41
- package/components/{CasinoMysteryChestDetails-DaiN1W80.js → CasinoMysteryChestDetails-CFVP0x56.js} +37 -37
- package/components/{CasinoMysteryChestDetails-DN8YGjwq.cjs → CasinoMysteryChestDetails-DhP6TNfU.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-i0bC573h.js → CasinoMysteryChestModal-BhXMlBdJ.js} +16 -16
- package/components/{CasinoMysteryChestModal-B1Mw0qsq.cjs → CasinoMysteryChestModal-DboeGZLD.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-CXYSF5U2.js → CasinoMysteryChestModal-Dh67V0_G.js} +19 -19
- package/components/{CasinoMysteryChestsList-D9xdlIE1.js → CasinoMysteryChestsList-9Cst5T7s.js} +73 -71
- package/components/{CasinoMysteryChestsList-DcBJTIcn.js → CasinoMysteryChestsList-Bay-0A-d.js} +73 -71
- package/components/CasinoMysteryChestsList-D3Fb6bDH.cjs +1 -0
- package/components/{GeneralAnimationLoading-D3Y1CIhc.js → GeneralAnimationLoading-BSUElHEL.js} +16 -16
- package/components/{GeneralAnimationLoading-BCuCGkFp.js → GeneralAnimationLoading-CcFv3z6V.js} +18 -18
- package/components/{GeneralAnimationLoading-B9pSQQ65.cjs → GeneralAnimationLoading-jDVFPMJ3.cjs} +1 -1
- 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-Ddbg98Ct.cjs +0 -18
- package/components/CasinoMysteryChestsList-2XtvNi53.cjs +0 -1
package/components/{CasinoMysteryChestDetails-5tVMLmT2.js → CasinoMysteryChestDetails-BWM4B58t.js}
RENAMED
|
@@ -35,8 +35,8 @@ var y = (t, e, i) => new Promise((s, n) => {
|
|
|
35
35
|
}, h = (l) => l.done ? s(l.value) : Promise.resolve(l.value).then(o, g);
|
|
36
36
|
h((i = i.apply(t, e)).next());
|
|
37
37
|
});
|
|
38
|
-
import { o as se, S as ce, b as le,
|
|
39
|
-
import { a as Se, $ as pe, i as Je, b as Ee } from "./CasinoMysteryChestContainer-
|
|
38
|
+
import { o as se, S as ce, b as le, f as V, c as re, a as ge, d as Ae, k as p, e as F, u as O, m as a, p as T, h as f, q as A, t as v, v as Y, n as W, j as u, r as ae, w as Ie, x as he } from "./CasinoGameOverlay-BtYZjuRD.js";
|
|
39
|
+
import { a as Se, $ as pe, i as Je, b as Ee } from "./CasinoMysteryChestContainer-C4iZ_acT.js";
|
|
40
40
|
function _(t, e) {
|
|
41
41
|
Se(t, e);
|
|
42
42
|
}
|
|
@@ -104,7 +104,7 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAADLCAYAAADEDrcOAAA
|
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
function fe(t) {
|
|
107
|
-
|
|
107
|
+
Ae(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}`);
|
|
108
108
|
}
|
|
109
109
|
function te(t) {
|
|
110
110
|
let e;
|
|
@@ -113,10 +113,10 @@ function te(t) {
|
|
|
113
113
|
e = p("div"), a(e, "class", "additional-chest-glare");
|
|
114
114
|
},
|
|
115
115
|
m(i, s) {
|
|
116
|
-
|
|
116
|
+
f(i, e, s);
|
|
117
117
|
},
|
|
118
118
|
d(i) {
|
|
119
|
-
i &&
|
|
119
|
+
i && u(e);
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
}
|
|
@@ -130,7 +130,7 @@ function ue(t) {
|
|
|
130
130
|
e = p("p"), s = O(i), n = F(), o = p("button"), o.textContent = "OK", a(e, "class", "chest-footer__text"), a(o, "class", "chest-footer__btn");
|
|
131
131
|
},
|
|
132
132
|
m(l, r) {
|
|
133
|
-
|
|
133
|
+
f(l, e, r), A(e, s), f(l, n, r), f(l, o, r), g || (h = v(
|
|
134
134
|
o,
|
|
135
135
|
"click",
|
|
136
136
|
/*onBack*/
|
|
@@ -140,10 +140,10 @@ function ue(t) {
|
|
|
140
140
|
p(l, r) {
|
|
141
141
|
r & /*$_*/
|
|
142
142
|
32 && i !== (i = /*$_*/
|
|
143
|
-
l[5]("noMoreKeys") + "") &&
|
|
143
|
+
l[5]("noMoreKeys") + "") && Y(s, i);
|
|
144
144
|
},
|
|
145
145
|
d(l) {
|
|
146
|
-
l && (
|
|
146
|
+
l && (u(e), u(n), u(o)), g = !1, h();
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
}
|
|
@@ -164,7 +164,7 @@ function we(t) {
|
|
|
164
164
|
`), r = p("span"), S = p("img"), d = F(), K = p("span"), k = O(J), a(e, "class", "chest-footer__btn"), T(S.src, w = Re) || a(S, "src", w), a(S, "alt", "Key"), a(r, "class", "chest-footer__keys"), a(o, "class", "chest-footer__text");
|
|
165
165
|
},
|
|
166
166
|
m(E, R) {
|
|
167
|
-
|
|
167
|
+
f(E, e, R), A(e, s), f(E, n, R), f(E, o, R), A(o, h), A(o, l), A(o, r), A(r, S), A(r, d), A(r, K), A(K, k), C || (q = v(
|
|
168
168
|
e,
|
|
169
169
|
"click",
|
|
170
170
|
/*openChest*/
|
|
@@ -174,14 +174,14 @@ function we(t) {
|
|
|
174
174
|
p(E, R) {
|
|
175
175
|
R & /*$_*/
|
|
176
176
|
32 && i !== (i = /*$_*/
|
|
177
|
-
E[5]("openChest") + "") &&
|
|
177
|
+
E[5]("openChest") + "") && Y(s, i), R & /*$_*/
|
|
178
178
|
32 && g !== (g = /*$_*/
|
|
179
|
-
E[5]("remainingKeys") + "") &&
|
|
179
|
+
E[5]("remainingKeys") + "") && Y(h, g), R & /*activeChest*/
|
|
180
180
|
1 && J !== (J = /*activeChest*/
|
|
181
|
-
E[0].current.remainingTimes + "") &&
|
|
181
|
+
E[0].current.remainingTimes + "") && Y(k, J);
|
|
182
182
|
},
|
|
183
183
|
d(E) {
|
|
184
|
-
E && (
|
|
184
|
+
E && (u(e), u(n), u(o)), C = !1, q();
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
}
|
|
@@ -197,7 +197,7 @@ function Be(t) {
|
|
|
197
197
|
/*opening*/
|
|
198
198
|
t[4] && te()
|
|
199
199
|
);
|
|
200
|
-
function c(Q,
|
|
200
|
+
function c(Q, j) {
|
|
201
201
|
return (
|
|
202
202
|
/*activeChest*/
|
|
203
203
|
Q[0].current.remainingTimes ? we : ue
|
|
@@ -211,21 +211,21 @@ function Be(t) {
|
|
|
211
211
|
t[3]) || a(C, "src", E), a(C, "alt", "Mystery chest"), a(J, "class", "chest-icon__container"), a(B, "class", "chest-footer"), a(n, "class", "drawer " + /*mobileView*/
|
|
212
212
|
(t[6] ? "mobile" : "")), a(e, "part", "CustomStylingContainer");
|
|
213
213
|
},
|
|
214
|
-
m(Q,
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
m(Q, j) {
|
|
215
|
+
f(Q, e, j), A(e, i), A(e, s), A(e, n), A(n, o), A(o, g), A(o, h), A(o, l), A(l, S), A(o, w), A(o, d), A(n, K), A(n, J), U && U.m(J, null), A(J, k), A(J, C), A(n, R), A(n, B), I.m(B, null), t[15](e), G || (D = [
|
|
216
|
+
v(
|
|
217
217
|
i,
|
|
218
218
|
"click",
|
|
219
219
|
/*onClose*/
|
|
220
220
|
t[7]
|
|
221
221
|
),
|
|
222
|
-
|
|
222
|
+
v(
|
|
223
223
|
g,
|
|
224
224
|
"click",
|
|
225
225
|
/*onBack*/
|
|
226
226
|
t[8]
|
|
227
227
|
),
|
|
228
|
-
|
|
228
|
+
v(
|
|
229
229
|
d,
|
|
230
230
|
"click",
|
|
231
231
|
/*onClose*/
|
|
@@ -233,30 +233,30 @@ function Be(t) {
|
|
|
233
233
|
)
|
|
234
234
|
], G = !0);
|
|
235
235
|
},
|
|
236
|
-
p(Q, [
|
|
237
|
-
|
|
236
|
+
p(Q, [j]) {
|
|
237
|
+
j & /*activeChest, lang*/
|
|
238
238
|
3 && r !== (r = /*activeChest*/
|
|
239
239
|
(Q[0].program.name[
|
|
240
240
|
/*lang*/
|
|
241
241
|
Q[1]
|
|
242
242
|
] || /*activeChest*/
|
|
243
|
-
Q[0].program.name[L.default]) + "") &&
|
|
244
|
-
Q[4] ? U || (U = te(), U.c(), U.m(J, k)) : U && (U.d(1), U = null),
|
|
243
|
+
Q[0].program.name[L.default]) + "") && Y(S, r), /*opening*/
|
|
244
|
+
Q[4] ? U || (U = te(), U.c(), U.m(J, k)) : U && (U.d(1), U = null), j & /*activeChest*/
|
|
245
245
|
1 && q !== (q = "chest-icon " + /*activeChest*/
|
|
246
|
-
(Q[0].current.remainingTimes ? "" : "empty")) && a(C, "class", q),
|
|
246
|
+
(Q[0].current.remainingTimes ? "" : "empty")) && a(C, "class", q), j & /*chestImg*/
|
|
247
247
|
8 && !T(C.src, E = /*chestImg*/
|
|
248
|
-
Q[3]) && a(C, "src", E), m === (m = c(Q)) && I ? I.p(Q,
|
|
248
|
+
Q[3]) && a(C, "src", E), m === (m = c(Q)) && I ? I.p(Q, j) : (I.d(1), I = m(Q), I && (I.c(), I.m(B, null)));
|
|
249
249
|
},
|
|
250
250
|
i: W,
|
|
251
251
|
o: W,
|
|
252
252
|
d(Q) {
|
|
253
|
-
Q &&
|
|
253
|
+
Q && u(e), U && U.d(), I.d(), t[15](null), G = !1, ae(D);
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function je(t, e, i) {
|
|
258
258
|
let s;
|
|
259
|
-
|
|
259
|
+
Ie(t, Ee, (c) => i(5, s = c));
|
|
260
260
|
let { lang: n = L.en } = e, { endpoint: o = "" } = e, { session: g = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: l = "" } = e, { translationurl: r = "" } = e, { activeChest: S } = e, w = window.navigator.userAgent, d = Je(w), K, J = $, k = !1;
|
|
261
261
|
const C = () => {
|
|
262
262
|
let c = document.createElement("style");
|
|
@@ -307,7 +307,7 @@ function Ve(t, e, i) {
|
|
|
307
307
|
}
|
|
308
308
|
});
|
|
309
309
|
function U(c) {
|
|
310
|
-
|
|
310
|
+
he[c ? "unshift" : "push"](() => {
|
|
311
311
|
K = c, i(2, K);
|
|
312
312
|
});
|
|
313
313
|
}
|
|
@@ -338,14 +338,14 @@ function Ve(t, e, i) {
|
|
|
338
338
|
U
|
|
339
339
|
];
|
|
340
340
|
}
|
|
341
|
-
class
|
|
341
|
+
class Ve extends ce {
|
|
342
342
|
constructor(e) {
|
|
343
343
|
super(), le(
|
|
344
344
|
this,
|
|
345
345
|
e,
|
|
346
|
-
|
|
346
|
+
je,
|
|
347
347
|
Be,
|
|
348
|
-
|
|
348
|
+
ge,
|
|
349
349
|
{
|
|
350
350
|
lang: 1,
|
|
351
351
|
endpoint: 10,
|
|
@@ -362,46 +362,46 @@ class je extends ce {
|
|
|
362
362
|
return this.$$.ctx[1];
|
|
363
363
|
}
|
|
364
364
|
set lang(e) {
|
|
365
|
-
this.$$set({ lang: e }),
|
|
365
|
+
this.$$set({ lang: e }), V();
|
|
366
366
|
}
|
|
367
367
|
get endpoint() {
|
|
368
368
|
return this.$$.ctx[10];
|
|
369
369
|
}
|
|
370
370
|
set endpoint(e) {
|
|
371
|
-
this.$$set({ endpoint: e }),
|
|
371
|
+
this.$$set({ endpoint: e }), V();
|
|
372
372
|
}
|
|
373
373
|
get session() {
|
|
374
374
|
return this.$$.ctx[11];
|
|
375
375
|
}
|
|
376
376
|
set session(e) {
|
|
377
|
-
this.$$set({ session: e }),
|
|
377
|
+
this.$$set({ session: e }), V();
|
|
378
378
|
}
|
|
379
379
|
get clientstyling() {
|
|
380
380
|
return this.$$.ctx[12];
|
|
381
381
|
}
|
|
382
382
|
set clientstyling(e) {
|
|
383
|
-
this.$$set({ clientstyling: e }),
|
|
383
|
+
this.$$set({ clientstyling: e }), V();
|
|
384
384
|
}
|
|
385
385
|
get clientstylingurl() {
|
|
386
386
|
return this.$$.ctx[13];
|
|
387
387
|
}
|
|
388
388
|
set clientstylingurl(e) {
|
|
389
|
-
this.$$set({ clientstylingurl: e }),
|
|
389
|
+
this.$$set({ clientstylingurl: e }), V();
|
|
390
390
|
}
|
|
391
391
|
get translationurl() {
|
|
392
392
|
return this.$$.ctx[14];
|
|
393
393
|
}
|
|
394
394
|
set translationurl(e) {
|
|
395
|
-
this.$$set({ translationurl: e }),
|
|
395
|
+
this.$$set({ translationurl: e }), V();
|
|
396
396
|
}
|
|
397
397
|
get activeChest() {
|
|
398
398
|
return this.$$.ctx[0];
|
|
399
399
|
}
|
|
400
400
|
set activeChest(e) {
|
|
401
|
-
this.$$set({ activeChest: e }),
|
|
401
|
+
this.$$set({ activeChest: e }), V();
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
|
|
404
|
+
re(Ve, { lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activeChest: {} }, [], [], !0);
|
|
405
405
|
export {
|
|
406
|
-
|
|
406
|
+
Ve as default
|
|
407
407
|
};
|
package/components/{CasinoMysteryChestDetails-DaiN1W80.js → CasinoMysteryChestDetails-CFVP0x56.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, f as V, c as W, a as _, d as $, k as h, e as F, u as y, m as A, p as D, h as f, q as l, t as M, v, n as b, j as u, r as ee, w as te, x as ie } from "./CasinoGameOverlay-BnvfHaHn.js";
|
|
2
|
+
import { a as ne, $ as oe, i as se, b as ce } from "./CasinoMysteryChestContainer-CvuN5C7Q.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
|
+
f(i, e, c);
|
|
80
80
|
},
|
|
81
81
|
d(i) {
|
|
82
|
-
i &&
|
|
82
|
+
i && u(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
|
+
f(r, e, g), l(e, c), f(r, s, g), f(r, o, g), a || (J = M(
|
|
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") + "") && v(c, i);
|
|
107
107
|
},
|
|
108
108
|
d(r) {
|
|
109
|
-
r && (
|
|
109
|
+
r && (u(e), u(s), u(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
|
+
f(E, e, R), l(e, c), f(E, s, R), f(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 = M(
|
|
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") + "") && v(c, i), R & /*$_*/
|
|
141
141
|
32 && a !== (a = /*$_*/
|
|
142
|
-
E[5]("remainingKeys") + "") &&
|
|
142
|
+
E[5]("remainingKeys") + "") && v(J, a), R & /*activeChest*/
|
|
143
143
|
1 && S !== (S = /*activeChest*/
|
|
144
|
-
E[0].current.remainingTimes + "") &&
|
|
144
|
+
E[0].current.remainingTimes + "") && v(k, S);
|
|
145
145
|
},
|
|
146
146
|
d(E) {
|
|
147
|
-
E && (
|
|
147
|
+
E && (u(e), u(s), u(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, j) {
|
|
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, j) {
|
|
178
|
+
f(Q, e, j), 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
|
+
M(
|
|
180
180
|
i,
|
|
181
181
|
"click",
|
|
182
182
|
/*onClose*/
|
|
183
183
|
t[7]
|
|
184
184
|
),
|
|
185
|
-
|
|
185
|
+
M(
|
|
186
186
|
a,
|
|
187
187
|
"click",
|
|
188
188
|
/*onBack*/
|
|
189
189
|
t[8]
|
|
190
190
|
),
|
|
191
|
-
|
|
191
|
+
M(
|
|
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, [j]) {
|
|
200
|
+
j & /*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]) + "") && v(I, g), /*opening*/
|
|
207
|
+
Q[4] ? m || (m = P(), m.c(), m.m(S, k)) : m && (m.d(1), m = null), j & /*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), j & /*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, j) : (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 && u(e), m && m.d(), p.d(), t[15](null), O = !1, ee(L);
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
220
|
function Qe(t, e, i) {
|
|
221
221
|
let c;
|
|
222
|
-
|
|
222
|
+
te(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
|
+
ie[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
|
+
_,
|
|
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 }), V();
|
|
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 }), V();
|
|
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 }), V();
|
|
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 }), V();
|
|
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 }), V();
|
|
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 }), V();
|
|
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 }), V();
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
|
|
366
|
+
W(Ke, { lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activeChest: {} }, [], [], !0);
|
|
367
367
|
export {
|
|
368
368
|
Ke as default
|
|
369
369
|
};
|