@everymatrix/casino-coinroyale-container 1.94.4 → 1.94.5
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/{CasinoCoinroyaleContainer-CPd0TjE4.js → CasinoCoinroyaleContainer---NT4fF4.js} +33 -33
- package/components/{CasinoCoinroyaleContainer-DkwAxPBK.js → CasinoCoinroyaleContainer-DJJ0of7y.js} +35 -35
- package/components/{CasinoCoinroyaleDetails-CeP-jQ8H.js → CasinoCoinroyaleDetails-D5aDdbCH.js} +29 -29
- package/components/{CasinoCoinroyaleDetails-DpKf3GZ_.js → CasinoCoinroyaleDetails-DFU106n2.js} +23 -23
- package/components/{CasinoCoinroyaleList-CqfW_iN9.js → CasinoCoinroyaleList-DCCl8nwB.js} +1 -1
- package/components/{CasinoCoinroyaleList-Cf9ppWXB.js → CasinoCoinroyaleList-u5LNaYTW.js} +1 -1
- package/components/{CasinoMysteryChestModal-BoOM96Bb.js → CasinoMysteryChestModal-DVfXrSjz.js} +1 -1
- package/components/{CasinoMysteryChestModal-DsDtwCGt.js → CasinoMysteryChestModal-DsFiuw_B.js} +1 -1
- package/es2015/casino-coinroyale-container.js +1 -1
- package/esnext/casino-coinroyale-container.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCoinroyaleContainer-CPd0TjE4.js → CasinoCoinroyaleContainer---NT4fF4.js}
RENAMED
|
@@ -472,7 +472,7 @@ if (typeof window < "u") {
|
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
474
|
};
|
|
475
|
-
customElements.define = e(customElements.define), import("./CasinoCoinroyaleList-
|
|
475
|
+
customElements.define = e(customElements.define), import("./CasinoCoinroyaleList-u5LNaYTW.js").then((t) => t.C).then(({ default: t }) => {
|
|
476
476
|
!customElements.get("casino-coinroyale-list") && customElements.define("casino-coinroyale-list", t.element);
|
|
477
477
|
});
|
|
478
478
|
}
|
|
@@ -488,7 +488,7 @@ if (typeof window < "u") {
|
|
|
488
488
|
}
|
|
489
489
|
};
|
|
490
490
|
};
|
|
491
|
-
customElements.define = e(customElements.define), import("./CasinoCoinroyaleDetails-
|
|
491
|
+
customElements.define = e(customElements.define), import("./CasinoCoinroyaleDetails-D5aDdbCH.js").then(({ default: t }) => {
|
|
492
492
|
!customElements.get("casino-coinroyale-details") && customElements.define("casino-coinroyale-details", t.element);
|
|
493
493
|
});
|
|
494
494
|
}
|
|
@@ -504,7 +504,7 @@ if (typeof window < "u") {
|
|
|
504
504
|
}
|
|
505
505
|
};
|
|
506
506
|
};
|
|
507
|
-
customElements.define = e(customElements.define), import("./CasinoMysteryChestModal-
|
|
507
|
+
customElements.define = e(customElements.define), import("./CasinoMysteryChestModal-DVfXrSjz.js").then(({ default: t }) => {
|
|
508
508
|
!customElements.get("casino-mystery-chest-modal") && customElements.define("casino-mystery-chest-modal", t.element);
|
|
509
509
|
});
|
|
510
510
|
}
|
|
@@ -4810,37 +4810,37 @@ class Wi extends Sr {
|
|
|
4810
4810
|
}
|
|
4811
4811
|
Tr(Wi, { endpoint: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gameoverlay: {}, openedByDefauls: { type: "Boolean" }, terms: {}, mbsource: {} }, [], [], !0);
|
|
4812
4812
|
export {
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
$
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4813
|
+
$i as $,
|
|
4814
|
+
Ct as A,
|
|
4815
|
+
$e as B,
|
|
4816
|
+
Wi as C,
|
|
4817
|
+
St as D,
|
|
4818
|
+
Ji as E,
|
|
4819
4819
|
Sr as S,
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4820
|
+
re as a,
|
|
4821
|
+
ii as b,
|
|
4822
|
+
ae as c,
|
|
4823
|
+
lr as d,
|
|
4824
|
+
S as e,
|
|
4825
|
+
et as f,
|
|
4826
|
+
Xi as g,
|
|
4827
|
+
Tr as h,
|
|
4828
|
+
zi as i,
|
|
4829
|
+
L as j,
|
|
4830
|
+
R as k,
|
|
4831
|
+
cr as l,
|
|
4832
|
+
Ki as m,
|
|
4833
|
+
w as n,
|
|
4834
|
+
wr as o,
|
|
4835
|
+
D as p,
|
|
4836
4836
|
xt as q,
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4837
|
+
Ar as r,
|
|
4838
|
+
T as s,
|
|
4839
|
+
qi as t,
|
|
4840
4840
|
It as u,
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4841
|
+
$ as v,
|
|
4842
|
+
wt as w,
|
|
4843
|
+
p as x,
|
|
4844
|
+
Zi as y,
|
|
4845
|
+
Yi as z
|
|
4846
4846
|
};
|
package/components/{CasinoCoinroyaleContainer-DkwAxPBK.js → CasinoCoinroyaleContainer-DJJ0of7y.js}
RENAMED
|
@@ -518,7 +518,7 @@ if (typeof window != "undefined") {
|
|
|
518
518
|
}
|
|
519
519
|
};
|
|
520
520
|
};
|
|
521
|
-
customElements.define = e(customElements.define), import("./CasinoCoinroyaleList-
|
|
521
|
+
customElements.define = e(customElements.define), import("./CasinoCoinroyaleList-DCCl8nwB.js").then((t) => t.C).then(({ default: t }) => {
|
|
522
522
|
!customElements.get("casino-coinroyale-list") && customElements.define("casino-coinroyale-list", t.element);
|
|
523
523
|
});
|
|
524
524
|
}
|
|
@@ -534,7 +534,7 @@ if (typeof window != "undefined") {
|
|
|
534
534
|
}
|
|
535
535
|
};
|
|
536
536
|
};
|
|
537
|
-
customElements.define = e(customElements.define), import("./CasinoCoinroyaleDetails-
|
|
537
|
+
customElements.define = e(customElements.define), import("./CasinoCoinroyaleDetails-DFU106n2.js").then(({ default: t }) => {
|
|
538
538
|
!customElements.get("casino-coinroyale-details") && customElements.define("casino-coinroyale-details", t.element);
|
|
539
539
|
});
|
|
540
540
|
}
|
|
@@ -550,7 +550,7 @@ if (typeof window != "undefined") {
|
|
|
550
550
|
}
|
|
551
551
|
};
|
|
552
552
|
};
|
|
553
|
-
customElements.define = e(customElements.define), import("./CasinoMysteryChestModal-
|
|
553
|
+
customElements.define = e(customElements.define), import("./CasinoMysteryChestModal-DsFiuw_B.js").then(({ default: t }) => {
|
|
554
554
|
!customElements.get("casino-mystery-chest-modal") && customElements.define("casino-mystery-chest-modal", t.element);
|
|
555
555
|
});
|
|
556
556
|
}
|
|
@@ -4859,37 +4859,37 @@ const bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4859
4859
|
default: vr
|
|
4860
4860
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4861
4861
|
export {
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4862
|
+
mo as $,
|
|
4863
|
+
Ut as A,
|
|
4864
|
+
ft as B,
|
|
4865
|
+
bo as C,
|
|
4866
|
+
Gt as D,
|
|
4867
|
+
co as E,
|
|
4868
4868
|
Qr as S,
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4869
|
+
oe as a,
|
|
4870
|
+
vi as b,
|
|
4871
|
+
he as c,
|
|
4872
|
+
wr as d,
|
|
4873
|
+
C as e,
|
|
4874
|
+
ct as f,
|
|
4875
|
+
uo as g,
|
|
4876
|
+
_r as h,
|
|
4877
|
+
lo as i,
|
|
4878
|
+
D as j,
|
|
4879
|
+
L as k,
|
|
4880
|
+
Cr as l,
|
|
4881
|
+
po as m,
|
|
4882
|
+
T as n,
|
|
4883
|
+
kr as o,
|
|
4884
|
+
F as p,
|
|
4885
|
+
Rt as q,
|
|
4886
|
+
Pr as r,
|
|
4887
|
+
S as s,
|
|
4888
|
+
Ao as t,
|
|
4889
|
+
_t as u,
|
|
4890
|
+
re as v,
|
|
4891
|
+
jt as w,
|
|
4892
|
+
p as x,
|
|
4893
|
+
ho as y,
|
|
4894
|
+
fo as z
|
|
4895
4895
|
};
|
package/components/{CasinoCoinroyaleDetails-CeP-jQ8H.js → CasinoCoinroyaleDetails-D5aDdbCH.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as Ie, a as Se, b as
|
|
1
|
+
import { b as ge, a as pe, u as oe, S as fe, o as ue, w as me, n as G, d as we, s as W, j as T, v as he, y as L, e as l, p as H, c, r as K, k as f, A as N, D as B, g as be, q as Qe, t as ye, f as ve, z as _, B as M, h as xe, $ as je } from "./CasinoCoinroyaleContainer---NT4fF4.js";
|
|
2
|
+
import { s as Ie, a as Se, b as ze } from "./CasinoCoinroyaleList-u5LNaYTW.js";
|
|
3
3
|
function $(t, e) {
|
|
4
4
|
ge(t, e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ce(t) {
|
|
7
7
|
pe.set(t);
|
|
8
8
|
}
|
|
9
|
-
const U = (t) => window.postMessage(t, window.location.href),
|
|
9
|
+
const U = (t) => window.postMessage(t, window.location.href), Fe = (t) => (n) => {
|
|
10
10
|
Object.keys(t).map((a) => {
|
|
11
11
|
if (n.data && n.data.type == a) {
|
|
12
12
|
const { type: o, ...i } = n.data;
|
|
@@ -14,7 +14,7 @@ const U = (t) => window.postMessage(t, window.location.href), ze = (t) => (n) =>
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
}, Re = (t) => {
|
|
17
|
-
const e =
|
|
17
|
+
const e = Fe(t);
|
|
18
18
|
oe(() => (window.addEventListener("message", e), () => {
|
|
19
19
|
window.removeEventListener("message", e);
|
|
20
20
|
}));
|
|
@@ -178,18 +178,18 @@ function Ve(t) {
|
|
|
178
178
|
), a, o, i, s = (
|
|
179
179
|
/*$_*/
|
|
180
180
|
t[6]("remainingKeys") + ""
|
|
181
|
-
), p, d, g, A, w,
|
|
181
|
+
), p, d, g, A, w, C, q, u = (
|
|
182
182
|
/*activeCoin*/
|
|
183
183
|
t[0].current.remainingTimes + ""
|
|
184
184
|
), I, v, j;
|
|
185
185
|
return {
|
|
186
186
|
c() {
|
|
187
187
|
e = f("button"), a = B(n), o = N(), i = f("p"), p = B(s), d = B(`:
|
|
188
|
-
`), g = f("span"), A = f("img"),
|
|
188
|
+
`), g = f("span"), A = f("img"), C = N(), q = f("span"), I = B(u), l(e, "class", "coin-footer__btn"), e.disabled = /*opening*/
|
|
189
189
|
t[3], M(A.src, w = He) || l(A, "src", w), l(A, "alt", "Key"), l(g, "class", "coin-footer__keys"), l(i, "class", "coin-footer__text");
|
|
190
190
|
},
|
|
191
191
|
m(h, b) {
|
|
192
|
-
H(h, e, b), c(e, a), H(h, o, b), H(h, i, b), c(i, p), c(i, d), c(i, g), c(g, A), c(g,
|
|
192
|
+
H(h, e, b), c(e, a), H(h, o, b), H(h, i, b), c(i, p), c(i, d), c(i, g), c(g, A), c(g, C), c(g, q), c(q, I), v || (j = K(
|
|
193
193
|
e,
|
|
194
194
|
"click",
|
|
195
195
|
/*flipCoin*/
|
|
@@ -220,7 +220,7 @@ function Pe(t) {
|
|
|
220
220
|
t[1]
|
|
221
221
|
] || /*activeCoin*/
|
|
222
222
|
t[0].program.name[k.default]) + ""
|
|
223
|
-
), A, w,
|
|
223
|
+
), A, w, C, q, u, I, v, j, h, b;
|
|
224
224
|
function Z(m, S) {
|
|
225
225
|
return (
|
|
226
226
|
/*opening*/
|
|
@@ -234,15 +234,15 @@ function Pe(t) {
|
|
|
234
234
|
m[0].current.remainingTimes ? Ve : Oe
|
|
235
235
|
);
|
|
236
236
|
}
|
|
237
|
-
let
|
|
237
|
+
let F = E(t), x = F(t);
|
|
238
238
|
return {
|
|
239
239
|
c() {
|
|
240
|
-
e = f("div"), n = f("button"), a = N(), o = f("div"), i = f("div"), s = f("button"), p = N(), d = f("div"), A = B(g), w = N(),
|
|
240
|
+
e = f("div"), n = f("button"), a = N(), o = f("div"), i = f("div"), s = f("button"), p = N(), d = f("div"), A = B(g), w = N(), C = f("button"), q = N(), u = f("div"), Q.c(), I = N(), v = f("div"), x.c(), l(n, "class", "overlay"), l(s, "class", "icon-button back"), l(d, "class", "coin-header__title"), l(C, "class", "icon-button close"), l(i, "class", "coin-header"), l(u, "class", "coin-icon__container"), l(v, "class", j = "coin-footer " + /*opening*/
|
|
241
241
|
(t[3] ? "disabled" : "")), l(o, "class", "drawer " + /*mobileView*/
|
|
242
242
|
(t[7] ? "mobile" : "")), l(e, "part", "CustomStylingContainer");
|
|
243
243
|
},
|
|
244
244
|
m(m, S) {
|
|
245
|
-
H(m, e, S), c(e, n), c(e, a), c(e, o), c(o, i), c(i, s), c(i, p), c(i, d), c(d, A), c(i, w), c(i,
|
|
245
|
+
H(m, e, S), c(e, n), c(e, a), c(e, o), c(o, i), c(i, s), c(i, p), c(i, d), c(d, A), c(i, w), c(i, C), c(o, q), c(o, u), Q.m(u, null), c(o, I), c(o, v), x.m(v, null), t[17](e), h || (b = [
|
|
246
246
|
K(
|
|
247
247
|
n,
|
|
248
248
|
"click",
|
|
@@ -256,7 +256,7 @@ function Pe(t) {
|
|
|
256
256
|
t[9]
|
|
257
257
|
),
|
|
258
258
|
K(
|
|
259
|
-
|
|
259
|
+
C,
|
|
260
260
|
"click",
|
|
261
261
|
/*onClose*/
|
|
262
262
|
t[8]
|
|
@@ -270,7 +270,7 @@ function Pe(t) {
|
|
|
270
270
|
/*lang*/
|
|
271
271
|
m[1]
|
|
272
272
|
] || /*activeCoin*/
|
|
273
|
-
m[0].program.name[k.default]) + "") && L(A, g), y === (y = Z(m)) && Q ? Q.p(m, S) : (Q.d(1), Q = y(m), Q && (Q.c(), Q.m(u, null))),
|
|
273
|
+
m[0].program.name[k.default]) + "") && L(A, g), y === (y = Z(m)) && Q ? Q.p(m, S) : (Q.d(1), Q = y(m), Q && (Q.c(), Q.m(u, null))), F === (F = E(m)) && x ? x.p(m, S) : (x.d(1), x = F(m), x && (x.c(), x.m(v, null))), S[0] & /*opening*/
|
|
274
274
|
8 && j !== (j = "coin-footer " + /*opening*/
|
|
275
275
|
(m[3] ? "disabled" : "")) && l(v, "class", j);
|
|
276
276
|
},
|
|
@@ -284,11 +284,11 @@ function Pe(t) {
|
|
|
284
284
|
function Ue(t, e, n) {
|
|
285
285
|
let a;
|
|
286
286
|
be(t, je, (r) => n(6, a = r));
|
|
287
|
-
let { lang: o = k.en } = e, { endpoint: i = "" } = e, { session: s = "" } = e, { clientstyling: p = "" } = e, { clientstylingurl: d = "" } = e, { translationurl: g = "" } = e, { activeCoin: A } = e, { mbsource: w } = e,
|
|
287
|
+
let { lang: o = k.en } = e, { endpoint: i = "" } = e, { session: s = "" } = e, { clientstyling: p = "" } = e, { clientstylingurl: d = "" } = e, { translationurl: g = "" } = e, { activeCoin: A } = e, { mbsource: w } = e, C = window.navigator.userAgent, q = Qe(C), u, I = !1, v, j = !1, h = D, b = !0, Z, y = 0, Q = 0, E = !1, F = 0;
|
|
288
288
|
const x = () => {
|
|
289
|
-
fetch(g).then((
|
|
290
|
-
Object.keys(
|
|
291
|
-
$(R,
|
|
289
|
+
fetch(g).then((z) => z.json()).then((z) => {
|
|
290
|
+
Object.keys(z).forEach((R) => {
|
|
291
|
+
$(R, z[R]);
|
|
292
292
|
});
|
|
293
293
|
});
|
|
294
294
|
};
|
|
@@ -296,7 +296,7 @@ function Ue(t, e, n) {
|
|
|
296
296
|
$(r, ne[r]);
|
|
297
297
|
});
|
|
298
298
|
const m = () => {
|
|
299
|
-
|
|
299
|
+
Ce(o);
|
|
300
300
|
}, S = () => {
|
|
301
301
|
U({ type: "CloseCoinRoyaleDrawer" });
|
|
302
302
|
}, ae = () => {
|
|
@@ -306,20 +306,20 @@ function Ue(t, e, n) {
|
|
|
306
306
|
for (const r of Ze) {
|
|
307
307
|
if (!b)
|
|
308
308
|
return;
|
|
309
|
-
n(4, h = r.frame), await new Promise((
|
|
310
|
-
Z = setTimeout(
|
|
309
|
+
n(4, h = r.frame), await new Promise((z) => {
|
|
310
|
+
Z = setTimeout(z, r.delay);
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
}, P = () => {
|
|
314
|
-
E ?
|
|
315
|
-
}, J = (r,
|
|
316
|
-
setTimeout(() => U(r),
|
|
314
|
+
E ? F - y > ie ? (n(5, y += ie), requestAnimationFrame(P)) : (n(5, y = F), j = !1) : (Q = Math.min(Q + Le, Ee), n(5, y += Q), requestAnimationFrame(P));
|
|
315
|
+
}, J = (r, z) => {
|
|
316
|
+
setTimeout(() => U(r), z);
|
|
317
317
|
}, se = async () => {
|
|
318
318
|
if (n(3, I = !0), !j && A) {
|
|
319
319
|
j = !0, n(5, y = 0), Q = 0, E = !1, requestAnimationFrame(P);
|
|
320
320
|
const r = await te.draw(i, s, A.program.id);
|
|
321
321
|
if (E = !0, r.item?.state === "fulfilled") {
|
|
322
|
-
|
|
322
|
+
F = Math.ceil(y / 360) * 360 + 180;
|
|
323
323
|
const R = A.program.wheelOfFortune.partitions[r.item.result.wheelOfFortunePartitionIndex], X = R?.prizeText[o] || R?.prizeText[k.default], ce = R?.name[o] || R?.name[k.default], Y = R?.prizeImage[o] || R?.prizeImage[k.default], Ae = r.item.result.outcomes.some((de) => de.action?.type === "noprize") ? {
|
|
324
324
|
type: "noprize",
|
|
325
325
|
text: X,
|
|
@@ -338,15 +338,15 @@ function Ue(t, e, n) {
|
|
|
338
338
|
1e3
|
|
339
339
|
);
|
|
340
340
|
} else
|
|
341
|
-
|
|
341
|
+
F = Math.ceil(y / 360) * 360, J(
|
|
342
342
|
{
|
|
343
343
|
type: "ShowCoinMessage",
|
|
344
344
|
data: { type: "error" }
|
|
345
345
|
},
|
|
346
346
|
1e3
|
|
347
347
|
);
|
|
348
|
-
const { items:
|
|
349
|
-
n(0, A.current.remainingTimes = +
|
|
348
|
+
const { items: z } = await te.remainingTimes(i, s, A.program.id);
|
|
349
|
+
n(0, A.current.remainingTimes = +z[0]?.remainingTimes || 0, A);
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
352
|
Re({
|
|
@@ -371,7 +371,7 @@ function Ue(t, e, n) {
|
|
|
371
371
|
8196 && p && u && Ie(u, p), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
372
372
|
16388 && d && u && Se(u, d), t.$$.dirty[0] & /*translationurl*/
|
|
373
373
|
32768 && g && x(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
374
|
-
65540 && w && u &&
|
|
374
|
+
65540 && w && u && ze(u, `${w}.Style`, v);
|
|
375
375
|
}, [
|
|
376
376
|
A,
|
|
377
377
|
o,
|
package/components/{CasinoCoinroyaleDetails-DpKf3GZ_.js → CasinoCoinroyaleDetails-DFU106n2.js}
RENAMED
|
@@ -35,13 +35,13 @@ var G = (t, e, n) => new Promise((o, i) => {
|
|
|
35
35
|
}, p = (l) => l.done ? o(l.value) : Promise.resolve(l.value).then(a, s);
|
|
36
36
|
p((n = n.apply(t, e)).next());
|
|
37
37
|
});
|
|
38
|
-
import {
|
|
39
|
-
import { s as Le, a as Ze, b as De } from "./CasinoCoinroyaleList-
|
|
38
|
+
import { b as Se, a as ze, u as fe, S as Ce, o as Fe, w as Re, n as B, d as Ne, s as re, j as T, v as Te, y as D, e as c, p as H, c as A, r as O, k as f, A as N, D as k, g as He, q as qe, t as Ge, f as Be, z as le, B as V, h as ke, $ as Ee } from "./CasinoCoinroyaleContainer-DJJ0of7y.js";
|
|
39
|
+
import { s as Le, a as Ze, b as De } from "./CasinoCoinroyaleList-DCCl8nwB.js";
|
|
40
40
|
function ce(t, e) {
|
|
41
41
|
Se(t, e);
|
|
42
42
|
}
|
|
43
43
|
function Ke(t) {
|
|
44
|
-
|
|
44
|
+
ze.set(t);
|
|
45
45
|
}
|
|
46
46
|
const _ = (t) => window.postMessage(t, window.location.href), Me = (t) => (n) => {
|
|
47
47
|
Object.keys(t).map((o) => {
|
|
@@ -219,15 +219,15 @@ function at(t) {
|
|
|
219
219
|
), p, l, d, g, h, F, q, u = (
|
|
220
220
|
/*activeCoin*/
|
|
221
221
|
t[0].current.remainingTimes + ""
|
|
222
|
-
),
|
|
222
|
+
), z, x, I;
|
|
223
223
|
return {
|
|
224
224
|
c() {
|
|
225
225
|
e = f("button"), o = k(n), i = N(), a = f("p"), p = k(s), l = k(`:
|
|
226
|
-
`), d = f("span"), g = f("img"), F = N(), q = f("span"),
|
|
226
|
+
`), d = f("span"), g = f("img"), F = N(), q = f("span"), z = k(u), c(e, "class", "coin-footer__btn"), e.disabled = /*opening*/
|
|
227
227
|
t[3], V(g.src, h = Ue) || c(g, "src", h), c(g, "alt", "Key"), c(d, "class", "coin-footer__keys"), c(a, "class", "coin-footer__text");
|
|
228
228
|
},
|
|
229
229
|
m(b, Q) {
|
|
230
|
-
H(b, e, Q), A(e, o), H(b, i, Q), H(b, a, Q), A(a, p), A(a, l), A(a, d), A(d, g), A(d, F), A(d, q), A(q,
|
|
230
|
+
H(b, e, Q), A(e, o), H(b, i, Q), H(b, a, Q), A(a, p), A(a, l), A(a, d), A(d, g), A(d, F), A(d, q), A(q, z), x || (I = O(
|
|
231
231
|
e,
|
|
232
232
|
"click",
|
|
233
233
|
/*flipCoin*/
|
|
@@ -243,7 +243,7 @@ function at(t) {
|
|
|
243
243
|
64 && s !== (s = /*$_*/
|
|
244
244
|
b[6]("remainingKeys") + "") && D(p, s), Q[0] & /*activeCoin*/
|
|
245
245
|
1 && u !== (u = /*activeCoin*/
|
|
246
|
-
b[0].current.remainingTimes + "") && D(
|
|
246
|
+
b[0].current.remainingTimes + "") && D(z, u);
|
|
247
247
|
},
|
|
248
248
|
d(b) {
|
|
249
249
|
b && (T(e), T(i), T(a)), x = !1, I();
|
|
@@ -258,15 +258,15 @@ function st(t) {
|
|
|
258
258
|
t[1]
|
|
259
259
|
] || /*activeCoin*/
|
|
260
260
|
t[0].program.name[E.default]) + ""
|
|
261
|
-
), g, h, F, q, u,
|
|
262
|
-
function K(m,
|
|
261
|
+
), g, h, F, q, u, z, x, I, b, Q;
|
|
262
|
+
function K(m, C) {
|
|
263
263
|
return (
|
|
264
264
|
/*opening*/
|
|
265
265
|
m[3] ? it : nt
|
|
266
266
|
);
|
|
267
267
|
}
|
|
268
268
|
let v = K(t), y = v(t);
|
|
269
|
-
function L(m,
|
|
269
|
+
function L(m, C) {
|
|
270
270
|
return (
|
|
271
271
|
/*activeCoin*/
|
|
272
272
|
m[0].current.remainingTimes ? at : ot
|
|
@@ -275,12 +275,12 @@ function st(t) {
|
|
|
275
275
|
let R = L(t), j = R(t);
|
|
276
276
|
return {
|
|
277
277
|
c() {
|
|
278
|
-
e = f("div"), n = f("button"), o = N(), i = f("div"), a = f("div"), s = f("button"), p = N(), l = f("div"), g = k(d), h = N(), F = f("button"), q = N(), u = f("div"), y.c(),
|
|
278
|
+
e = f("div"), n = f("button"), o = N(), i = f("div"), a = f("div"), s = f("button"), p = N(), l = f("div"), g = k(d), h = N(), F = f("button"), q = N(), u = f("div"), y.c(), z = N(), x = f("div"), j.c(), c(n, "class", "overlay"), c(s, "class", "icon-button back"), c(l, "class", "coin-header__title"), c(F, "class", "icon-button close"), c(a, "class", "coin-header"), c(u, "class", "coin-icon__container"), c(x, "class", I = "coin-footer " + /*opening*/
|
|
279
279
|
(t[3] ? "disabled" : "")), c(i, "class", "drawer " + /*mobileView*/
|
|
280
280
|
(t[7] ? "mobile" : "")), c(e, "part", "CustomStylingContainer");
|
|
281
281
|
},
|
|
282
|
-
m(m,
|
|
283
|
-
H(m, e,
|
|
282
|
+
m(m, C) {
|
|
283
|
+
H(m, e, C), A(e, n), A(e, o), A(e, i), A(i, a), A(a, s), A(a, p), A(a, l), A(l, g), A(a, h), A(a, F), A(i, q), A(i, u), y.m(u, null), A(i, z), A(i, x), j.m(x, null), t[17](e), b || (Q = [
|
|
284
284
|
O(
|
|
285
285
|
n,
|
|
286
286
|
"click",
|
|
@@ -301,14 +301,14 @@ function st(t) {
|
|
|
301
301
|
)
|
|
302
302
|
], b = !0);
|
|
303
303
|
},
|
|
304
|
-
p(m,
|
|
305
|
-
|
|
304
|
+
p(m, C) {
|
|
305
|
+
C[0] & /*activeCoin, lang*/
|
|
306
306
|
3 && d !== (d = /*activeCoin*/
|
|
307
307
|
(m[0].program.name[
|
|
308
308
|
/*lang*/
|
|
309
309
|
m[1]
|
|
310
310
|
] || /*activeCoin*/
|
|
311
|
-
m[0].program.name[E.default]) + "") && D(g, d), v === (v = K(m)) && y ? y.p(m,
|
|
311
|
+
m[0].program.name[E.default]) + "") && D(g, d), v === (v = K(m)) && y ? y.p(m, C) : (y.d(1), y = v(m), y && (y.c(), y.m(u, null))), R === (R = L(m)) && j ? j.p(m, C) : (j.d(1), j = R(m), j && (j.c(), j.m(x, null))), C[0] & /*opening*/
|
|
312
312
|
8 && I !== (I = "coin-footer " + /*opening*/
|
|
313
313
|
(m[3] ? "disabled" : "")) && c(x, "class", I);
|
|
314
314
|
},
|
|
@@ -322,7 +322,7 @@ function st(t) {
|
|
|
322
322
|
function rt(t, e, n) {
|
|
323
323
|
let o;
|
|
324
324
|
He(t, Ee, (r) => n(6, o = r));
|
|
325
|
-
let { lang: i = E.en } = e, { endpoint: a = "" } = e, { session: s = "" } = e, { clientstyling: p = "" } = e, { clientstylingurl: l = "" } = e, { translationurl: d = "" } = e, { activeCoin: g } = e, { mbsource: h } = e, F = window.navigator.userAgent, q = qe(F), u,
|
|
325
|
+
let { lang: i = E.en } = e, { endpoint: a = "" } = e, { session: s = "" } = e, { clientstyling: p = "" } = e, { clientstylingurl: l = "" } = e, { translationurl: d = "" } = e, { activeCoin: g } = e, { mbsource: h } = e, F = window.navigator.userAgent, q = qe(F), u, z = !1, x, I = !1, b = M, Q = !0, K, v = 0, y = 0, L = !1, R = 0;
|
|
326
326
|
const j = () => {
|
|
327
327
|
fetch(d).then((S) => S.json()).then((S) => {
|
|
328
328
|
Object.keys(S).forEach((Z) => {
|
|
@@ -335,7 +335,7 @@ function rt(t, e, n) {
|
|
|
335
335
|
});
|
|
336
336
|
const m = () => {
|
|
337
337
|
Ke(i);
|
|
338
|
-
},
|
|
338
|
+
}, C = () => {
|
|
339
339
|
_({ type: "CloseCoinRoyaleDrawer" });
|
|
340
340
|
}, ue = () => {
|
|
341
341
|
_({ type: "BackToCoinRoyaleList" });
|
|
@@ -354,7 +354,7 @@ function rt(t, e, n) {
|
|
|
354
354
|
setTimeout(() => _(r), S);
|
|
355
355
|
}, we = () => G(this, null, function* () {
|
|
356
356
|
var r, S;
|
|
357
|
-
if (n(3,
|
|
357
|
+
if (n(3, z = !0), !I && g) {
|
|
358
358
|
I = !0, n(5, v = 0), y = 0, L = !1, requestAnimationFrame(Y);
|
|
359
359
|
const Z = yield de.draw(a, s, g.program.id);
|
|
360
360
|
if (L = !0, ((r = Z.item) == null ? void 0 : r.state) === "fulfilled") {
|
|
@@ -393,7 +393,7 @@ function rt(t, e, n) {
|
|
|
393
393
|
});
|
|
394
394
|
Oe({
|
|
395
395
|
HideDialog: () => {
|
|
396
|
-
n(3,
|
|
396
|
+
n(3, z = !1);
|
|
397
397
|
}
|
|
398
398
|
}), fe(() => {
|
|
399
399
|
Q = !0, me();
|
|
@@ -418,12 +418,12 @@ function rt(t, e, n) {
|
|
|
418
418
|
g,
|
|
419
419
|
i,
|
|
420
420
|
u,
|
|
421
|
-
|
|
421
|
+
z,
|
|
422
422
|
b,
|
|
423
423
|
v,
|
|
424
424
|
o,
|
|
425
425
|
q,
|
|
426
|
-
|
|
426
|
+
C,
|
|
427
427
|
ue,
|
|
428
428
|
we,
|
|
429
429
|
a,
|
|
@@ -435,7 +435,7 @@ function rt(t, e, n) {
|
|
|
435
435
|
he
|
|
436
436
|
];
|
|
437
437
|
}
|
|
438
|
-
class lt extends
|
|
438
|
+
class lt extends Ce {
|
|
439
439
|
constructor(e) {
|
|
440
440
|
super(), Fe(
|
|
441
441
|
this,
|
|
@@ -26,7 +26,7 @@ var J = (r, e, t) => new Promise((n, a) => {
|
|
|
26
26
|
}, s = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(i, o);
|
|
27
27
|
s((t = t.apply(r, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import {
|
|
29
|
+
import { b as ft, a as mt, S as ht, o as gt, w as pt, n as ie, d as vt, s as de, j as U, v as bt, y as O, E as me, p as L, c as l, r as te, k as g, A as y, D as P, e as m, g as wt, q as _t, u as yt, f as xt, m as re, i as ve, l as Ce, x as ze, B as pe, h as kt, $ as Ct } from "./CasinoCoinroyaleContainer-DJJ0of7y.js";
|
|
30
30
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
31
|
const Fe = (r) => window.postMessage(r, window.location.href), Tt = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Ne = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.96967%203.96967C4.26256%203.67678%204.73744%203.67678%205.03033%203.96967L9%207.93934L12.9697%203.96967C13.2626%203.67678%2013.7374%203.67678%2014.0303%203.96967C14.3232%204.26256%2014.3232%204.73744%2014.0303%205.03033L10.0607%209L14.0303%2012.9697C14.3232%2013.2626%2014.3232%2013.7374%2014.0303%2014.0303C13.7374%2014.3232%2013.2626%2014.3232%2012.9697%2014.0303L9%2010.0607L5.03033%2014.0303C4.73744%2014.3232%204.26256%2014.3232%203.96967%2014.0303C3.67678%2013.7374%203.67678%2013.2626%203.96967%2012.9697L7.93934%209L3.96967%205.03033C3.67678%204.73744%203.67678%204.26256%203.96967%203.96967Z'%20fill='%23FF9B59'/%3e%3c/svg%3e", Re = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.1724%204.72381C15.4708%205.02223%2015.4708%205.50607%2015.1724%205.80449L7.70071%2013.2762C7.40229%2013.5746%206.91846%2013.5746%206.62004%2013.2762L3.22381%209.87996C2.9254%209.58154%202.9254%209.09771%203.22381%208.79929C3.52223%208.50087%204.00607%208.50087%204.30449%208.79929L7.16038%2011.6552L14.0917%204.72381C14.3902%204.4254%2014.874%204.4254%2015.1724%204.72381Z'%20fill='%2358DB4A'/%3e%3c/svg%3e", Mt = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.9124%204.83736C11.1402%205.06516%2011.1402%205.43451%2010.9124%205.66232L7.41243%209.16232C7.18462%209.39012%206.81528%209.39012%206.58747%209.16232L3.08747%205.66232C2.85966%205.43451%202.85966%205.06516%203.08747%204.83736C3.31528%204.60955%203.68462%204.60955%203.91243%204.83736L6.99995%207.92488L10.0875%204.83736C10.3153%204.60955%2010.6846%204.60955%2010.9124%204.83736Z'%20fill='url(%23paint0_linear_738_1669)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_738_1669'%20x1='6.99995'%20y1='4.6665'%20x2='6.99995'%20y2='9.33317'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
32
32
|
function ye(r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as $e, a as et, S as tt, o as rt, n as ne, w as nt, h as at, d as it, s as ce, j as P, v as ot, y as M, E as fe, p as D, c as l, r as $, k as p, A as y, D as S, e as f, g as st, q as lt, u as ut, f as ct, m as ee, i as pe, l as ke, x as Oe, B as ge, $ as dt } from "./CasinoCoinroyaleContainer---NT4fF4.js";
|
|
2
2
|
import "../stencil/ui-skeleton-W50o8tfg.js";
|
|
3
3
|
const Pe = (r) => window.postMessage(r, window.location.href), ft = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", De = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.96967%203.96967C4.26256%203.67678%204.73744%203.67678%205.03033%203.96967L9%207.93934L12.9697%203.96967C13.2626%203.67678%2013.7374%203.67678%2014.0303%203.96967C14.3232%204.26256%2014.3232%204.73744%2014.0303%205.03033L10.0607%209L14.0303%2012.9697C14.3232%2013.2626%2014.3232%2013.7374%2014.0303%2014.0303C13.7374%2014.3232%2013.2626%2014.3232%2012.9697%2014.0303L9%2010.0607L5.03033%2014.0303C4.73744%2014.3232%204.26256%2014.3232%203.96967%2014.0303C3.67678%2013.7374%203.67678%2013.2626%203.96967%2012.9697L7.93934%209L3.96967%205.03033C3.67678%204.73744%203.67678%204.26256%203.96967%203.96967Z'%20fill='%23FF9B59'/%3e%3c/svg%3e", We = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.1724%204.72381C15.4708%205.02223%2015.4708%205.50607%2015.1724%205.80449L7.70071%2013.2762C7.40229%2013.5746%206.91846%2013.5746%206.62004%2013.2762L3.22381%209.87996C2.9254%209.58154%202.9254%209.09771%203.22381%208.79929C3.52223%208.50087%204.00607%208.50087%204.30449%208.79929L7.16038%2011.6552L14.0917%204.72381C14.3902%204.4254%2014.874%204.4254%2015.1724%204.72381Z'%20fill='%2358DB4A'/%3e%3c/svg%3e", mt = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.9124%204.83736C11.1402%205.06516%2011.1402%205.43451%2010.9124%205.66232L7.41243%209.16232C7.18462%209.39012%206.81528%209.39012%206.58747%209.16232L3.08747%205.66232C2.85966%205.43451%202.85966%205.06516%203.08747%204.83736C3.31528%204.60955%203.68462%204.60955%203.91243%204.83736L6.99995%207.92488L10.0875%204.83736C10.3153%204.60955%2010.6846%204.60955%2010.9124%204.83736Z'%20fill='url(%23paint0_linear_738_1669)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_738_1669'%20x1='6.99995'%20y1='4.6665'%20x2='6.99995'%20y2='9.33317'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
4
4
|
function _e(r) {
|