@everymatrix/casino-game-overlay 1.92.0 → 1.92.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/{CasinoCoinroyaleContainer-DHTzWkTJ.cjs → CasinoCoinroyaleContainer-B6wbsPdK.cjs} +1 -1
- package/components/{CasinoCoinroyaleContainer-CLLpK1Ed.js → CasinoCoinroyaleContainer-CrybPu4T.js} +4 -4
- package/components/{CasinoCoinroyaleContainer-DqnKbBE7.js → CasinoCoinroyaleContainer-D6xDTfst.js} +4 -4
- package/components/{CasinoCoinroyaleDetails-Em4xQoca.cjs → CasinoCoinroyaleDetails-BZ_WCvfy.cjs} +1 -1
- package/components/{CasinoCoinroyaleDetails-X9TUrtj4.js → CasinoCoinroyaleDetails-BrHolmjt.js} +2 -2
- package/components/{CasinoCoinroyaleDetails-BdVDEPTm.js → CasinoCoinroyaleDetails-BzsNEQvn.js} +2 -2
- package/components/{CasinoCoinroyaleList-DVSWGc29.js → CasinoCoinroyaleList-BJt-xLxA.js} +3 -3
- package/components/{CasinoCoinroyaleList-IplknfV1.js → CasinoCoinroyaleList-BsE7E11H.js} +3 -3
- package/components/{CasinoCoinroyaleList-C6hKfOYw.cjs → CasinoCoinroyaleList-DusBLc66.cjs} +1 -1
- package/components/{CasinoGameOverlay-V7LdfRMk.js → CasinoGameOverlay-DUEK-4c8.js} +336 -327
- package/components/{CasinoGameOverlay-BtzBFnKd.js → CasinoGameOverlay-Dk_e7S5S.js} +385 -376
- package/components/CasinoGameOverlay-DxVFecV1.cjs +4 -0
- package/components/{CasinoMysteryChestContainer-BckJ8kSf.cjs → CasinoMysteryChestContainer-BcbLPo0Z.cjs} +1 -1
- package/components/{CasinoMysteryChestContainer-2q39nbfp.js → CasinoMysteryChestContainer-DeILjbeG.js} +4 -4
- package/components/{CasinoMysteryChestContainer-Bu5soH27.js → CasinoMysteryChestContainer-DlHO957g.js} +4 -4
- package/components/{CasinoMysteryChestDetails-DJ6gz5xx.cjs → CasinoMysteryChestDetails-B92naIHC.cjs} +1 -1
- package/components/{CasinoMysteryChestDetails-B29xnOYi.js → CasinoMysteryChestDetails-LmsHymHc.js} +3 -3
- package/components/{CasinoMysteryChestDetails-Dd_ZCPFZ.js → CasinoMysteryChestDetails-zh82UlHz.js} +3 -3
- package/components/{CasinoMysteryChestModal-liWPvZLw.js → CasinoMysteryChestModal-7NOlJhOA.js} +1 -1
- package/components/{CasinoMysteryChestModal-CPrsQruR.cjs → CasinoMysteryChestModal-G7V3hPTw.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-D8hCr0GS.js → CasinoMysteryChestModal-mavYFXxw.js} +1 -1
- package/components/{CasinoMysteryChestsList-Bn1f7GtL.js → CasinoMysteryChestsList-BlwtQ2Oi.js} +2 -2
- package/components/{CasinoMysteryChestsList-CV29Ly-U.js → CasinoMysteryChestsList-CZmqS9RH.js} +2 -2
- package/components/{CasinoMysteryChestsList-ZlpUP-_c.cjs → CasinoMysteryChestsList-D7Ei_zWb.cjs} +1 -1
- package/components/{LotteryProgramWof-BXO9ySHI.cjs → LotteryProgramWof-CYN4QdNW.cjs} +1 -1
- package/components/{LotteryProgramWof-BKlE0kKR.js → LotteryProgramWof-CYsXhvmg.js} +2 -2
- package/components/{LotteryProgramWof-CONWAs8w.js → LotteryProgramWof-vN_-5rCj.js} +2 -2
- package/components/{PrizeEngineChest-DQ2V6oL0.js → PrizeEngineChest-D-1AzkWP.js} +4 -4
- package/components/{PrizeEngineChest-D-GSJmRs.js → PrizeEngineChest-D9x8mDNy.js} +4 -4
- package/components/{PrizeEngineChest-BpgJBZ-Y.cjs → PrizeEngineChest-ZtbR30GF.cjs} +1 -1
- package/components/{PrizeEngineCoin-DMf_jPUy.cjs → PrizeEngineCoin-DHoWaMXY.cjs} +1 -1
- package/components/{PrizeEngineCoin-C7AvFwNL.js → PrizeEngineCoin-DTs1myVC.js} +2 -2
- package/components/{PrizeEngineCoin-jRTdpoLr.js → PrizeEngineCoin-DbFl_eCf.js} +2 -2
- package/components/{PrizeEngineDetails-Bok3RJt0.js → PrizeEngineDetails-Bi94BkB1.js} +200 -190
- package/components/{PrizeEngineDetails-BwwbWZIV.js → PrizeEngineDetails-C7LLHM3M.js} +276 -265
- package/components/{PrizeEngineDetails-B32Oyuua.cjs → PrizeEngineDetails-CjTT3Hyz.cjs} +1 -1
- package/components/{PrizeEngineHistory--7ch2ibC.js → PrizeEngineHistory-ANnDH8E1.js} +4 -4
- package/components/{PrizeEngineHistory-CT4oW3nn.js → PrizeEngineHistory-CyE8rjCd.js} +4 -4
- package/components/{PrizeEngineHistory-BS2YDAR_.cjs → PrizeEngineHistory-DY_OdvA7.cjs} +1 -1
- package/components/{PrizeEngineList-BtST-Ok-.js → PrizeEngineList-BQEAk_AP.js} +123 -123
- package/components/{PrizeEngineList-C8K3okMV.js → PrizeEngineList-DlEj5e0E.js} +98 -98
- package/components/PrizeEngineList-DrZtvkgK.cjs +1 -0
- package/components/{PrizeEngineLuckywheel-CDAcodqf.js → PrizeEngineLuckywheel-B4E2aj2l.js} +3 -3
- package/components/{PrizeEngineLuckywheel-sIZh84m_.js → PrizeEngineLuckywheel-BUfIMpmo.js} +3 -3
- package/components/{PrizeEngineLuckywheel-B_dOeIeL.cjs → PrizeEngineLuckywheel-C8w1Ot_M.cjs} +1 -1
- package/components/{PrizeEngineSuite-MfBz9bMX.js → PrizeEngineSuite-D7TII_gi.js} +263 -255
- package/components/{PrizeEngineSuite-SzG6RFWp.js → PrizeEngineSuite-DCaGWMFT.js} +263 -255
- package/components/PrizeEngineSuite-DLimogfH.cjs +1 -0
- package/components/{WheelSVG-BKSG01DQ.js → WheelSVG-CUwIGmaM.js} +2 -2
- package/components/{WheelSVG-ClHiUv-P.js → WheelSVG-CqaqxytJ.js} +2 -2
- package/components/{WheelSVG-BVu6Gymg.cjs → WheelSVG-DlM6XfJR.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/CasinoGameOverlay-DcfvouvT.cjs +0 -4
- package/components/PrizeEngineList-CzJMqs2M.cjs +0 -1
- package/components/PrizeEngineSuite-CZAGeW2x.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as dt, b as ht, s as ke, f as Ae, d as vt, n as Re, e as k, x as
|
|
2
|
-
import { f as Rt, a as Me } from "./LotteryProgramWof-
|
|
3
|
-
import { $ as Te, a as Ht, b as Qt, i as Tt, c as zt } from "./CasinoMysteryChestContainer-
|
|
1
|
+
import { S as dt, b as ht, s as ke, f as Ae, d as vt, n as Re, e as k, x as ye, g as B, p as r, l as c, h as C, m as p, w as wt, o as bt, r as et, E as j, N as me, G as tt, y as At, z as it, q as pe, F as D, j as De, C as We, D as Le, A as yt, B as st, k as g, L as Be, M as nt, t as Ce, i as Ie, I as kt, J as Bt, K as Ct, c as Mt } from "./CasinoGameOverlay-DUEK-4c8.js";
|
|
2
|
+
import { f as Rt, a as Me } from "./LotteryProgramWof-CYsXhvmg.js";
|
|
3
|
+
import { $ as Te, a as Ht, b as Qt, i as Tt, c as zt } from "./CasinoMysteryChestContainer-DlHO957g.js";
|
|
4
4
|
import "../stencil/ui-skeleton-W50o8tfg.js";
|
|
5
5
|
const je = {
|
|
6
6
|
en: {
|
|
@@ -111,7 +111,7 @@ if (typeof window < "u") {
|
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
|
-
customElements.define = A(customElements.define), import("./PrizeEngineChest-
|
|
114
|
+
customElements.define = A(customElements.define), import("./PrizeEngineChest-D9x8mDNy.js").then(({ default: e }) => {
|
|
115
115
|
!customElements.get("prize-engine-chest") && customElements.define("prize-engine-chest", e.element);
|
|
116
116
|
});
|
|
117
117
|
}
|
|
@@ -127,7 +127,7 @@ if (typeof window < "u") {
|
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
|
-
customElements.define = A(customElements.define), import("./PrizeEngineCoin-
|
|
130
|
+
customElements.define = A(customElements.define), import("./PrizeEngineCoin-DbFl_eCf.js").then(({ default: e }) => {
|
|
131
131
|
!customElements.get("prize-engine-coin") && customElements.define("prize-engine-coin", e.element);
|
|
132
132
|
});
|
|
133
133
|
}
|
|
@@ -143,7 +143,7 @@ if (typeof window < "u") {
|
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
-
customElements.define = A(customElements.define), import("./PrizeEngineLuckywheel-
|
|
146
|
+
customElements.define = A(customElements.define), import("./PrizeEngineLuckywheel-B4E2aj2l.js").then(({ default: e }) => {
|
|
147
147
|
!customElements.get("prize-engine-luckywheel") && customElements.define("prize-engine-luckywheel", e.element);
|
|
148
148
|
});
|
|
149
149
|
}
|
|
@@ -167,11 +167,11 @@ function Ze(A) {
|
|
|
167
167
|
A[2]
|
|
168
168
|
] || /*activeGame*/
|
|
169
169
|
A[9].program.name["*"]) + ""
|
|
170
|
-
), o, f, a, u, d, b, v, M,
|
|
170
|
+
), o, f, a, u, d, b, v, M, F, $, W, V, ie = (
|
|
171
171
|
/*$_*/
|
|
172
172
|
A[15]("Rules") + ""
|
|
173
|
-
), re, U, w, N, se, S,
|
|
174
|
-
function J(y,
|
|
173
|
+
), re, U, w, N, se, S, L;
|
|
174
|
+
function J(y, I) {
|
|
175
175
|
if (
|
|
176
176
|
/*gameType*/
|
|
177
177
|
y[14] === "wheelOfFortune"
|
|
@@ -188,15 +188,15 @@ function Ze(A) {
|
|
|
188
188
|
)
|
|
189
189
|
return St;
|
|
190
190
|
}
|
|
191
|
-
let
|
|
192
|
-
function
|
|
191
|
+
let x = J(A), Q = x && x(A);
|
|
192
|
+
function E(y, I) {
|
|
193
193
|
return (
|
|
194
194
|
/*gameType*/
|
|
195
195
|
y[14] !== "wheelOfFortune" || /*themeIndex*/
|
|
196
196
|
y[21] === 7 ? Ot : Ft
|
|
197
197
|
);
|
|
198
198
|
}
|
|
199
|
-
let ee =
|
|
199
|
+
let ee = E(A), X = ee(A), P = (
|
|
200
200
|
/*displayExpiry*/
|
|
201
201
|
A[23] && Ne(A)
|
|
202
202
|
), T = (
|
|
@@ -205,7 +205,7 @@ function Ze(A) {
|
|
|
205
205
|
);
|
|
206
206
|
return {
|
|
207
207
|
c() {
|
|
208
|
-
e =
|
|
208
|
+
e = c("div"), t = c("div"), i = c("button"), s = C(), l = c("div"), o = D(n), f = C(), a = c("button"), u = C(), d = c("div"), b = c("div"), Q && Q.c(), v = C(), M = c("div"), X.c(), F = C(), P && P.c(), $ = C(), W = c("button"), V = c("span"), re = D(ie), U = C(), w = c("span"), N = C(), T && T.c(), se = De(), p(i, "type", "button"), p(i, "class", "IconButton Back svelte-1m851ap"), p(l, "class", "HeaderTitle svelte-1m851ap"), p(a, "type", "button"), p(a, "class", "IconButton Close svelte-1m851ap"), p(t, "class", "Header svelte-1m851ap"), p(b, "class", "GameComponentContainer svelte-1m851ap"), p(w, "class", "ChevronUp svelte-1m851ap"), p(W, "type", "button"), p(W, "class", "RulesToggle svelte-1m851ap"), p(M, "class", "InfoSection svelte-1m851ap"), p(d, "class", "ViewWrapper svelte-1m851ap"), p(e, "class", "ViewLayer GameLayer svelte-1m851ap"), me(
|
|
209
209
|
e,
|
|
210
210
|
"Mobile",
|
|
211
211
|
/*mobileView*/
|
|
@@ -218,39 +218,39 @@ function Ze(A) {
|
|
|
218
218
|
A[11]
|
|
219
219
|
);
|
|
220
220
|
},
|
|
221
|
-
m(y,
|
|
222
|
-
B(y, e,
|
|
223
|
-
|
|
221
|
+
m(y, I) {
|
|
222
|
+
B(y, e, I), r(e, t), r(t, i), r(t, s), r(t, l), r(l, o), r(t, f), r(t, a), r(e, u), r(e, d), r(d, b), Q && Q.m(b, null), r(d, v), r(d, M), X.m(M, null), r(M, F), P && P.m(M, null), r(M, $), r(M, W), r(W, V), r(V, re), r(W, U), r(W, w), B(y, N, I), T && T.m(y, I), B(y, se, I), S || (L = [
|
|
223
|
+
pe(
|
|
224
224
|
i,
|
|
225
225
|
"click",
|
|
226
226
|
/*onBack*/
|
|
227
227
|
A[29]
|
|
228
228
|
),
|
|
229
|
-
|
|
229
|
+
pe(
|
|
230
230
|
a,
|
|
231
231
|
"click",
|
|
232
232
|
/*onClose*/
|
|
233
233
|
A[30]
|
|
234
234
|
),
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
pe(
|
|
236
|
+
W,
|
|
237
237
|
"click",
|
|
238
238
|
/*click_handler*/
|
|
239
239
|
A[37]
|
|
240
240
|
)
|
|
241
241
|
], S = !0);
|
|
242
242
|
},
|
|
243
|
-
p(y,
|
|
244
|
-
|
|
243
|
+
p(y, I) {
|
|
244
|
+
I[0] & /*activeGame, lang*/
|
|
245
245
|
516 && n !== (n = /*activeGame*/
|
|
246
246
|
(y[9].program.name[
|
|
247
247
|
/*lang*/
|
|
248
248
|
y[2]
|
|
249
249
|
] || /*activeGame*/
|
|
250
|
-
y[9].program.name["*"]) + "") && j(o, n),
|
|
251
|
-
y[23] ?
|
|
250
|
+
y[9].program.name["*"]) + "") && j(o, n), x === (x = J(y)) && Q ? Q.p(y, I) : (Q && Q.d(1), Q = x && x(y), Q && (Q.c(), Q.m(b, null))), ee === (ee = E(y)) && X ? X.p(y, I) : (X.d(1), X = ee(y), X && (X.c(), X.m(M, F))), /*displayExpiry*/
|
|
251
|
+
y[23] ? P ? P.p(y, I) : (P = Ne(y), P.c(), P.m(M, $)) : P && (P.d(1), P = null), I[0] & /*$_*/
|
|
252
252
|
32768 && ie !== (ie = /*$_*/
|
|
253
|
-
y[15]("Rules") + "") && j(re, ie),
|
|
253
|
+
y[15]("Rules") + "") && j(re, ie), I[0] & /*showRulesOverlay, isMessageShown*/
|
|
254
254
|
264192 && me(
|
|
255
255
|
e,
|
|
256
256
|
"hidden",
|
|
@@ -258,13 +258,13 @@ function Ze(A) {
|
|
|
258
258
|
y[18] || /*isMessageShown*/
|
|
259
259
|
y[11]
|
|
260
260
|
), /*showRulesOverlay*/
|
|
261
|
-
y[18] ? T ? (T.p(y,
|
|
262
|
-
262144 &&
|
|
261
|
+
y[18] ? T ? (T.p(y, I), I[0] & /*showRulesOverlay*/
|
|
262
|
+
262144 && ye(T, 1)) : (T = Se(y), T.c(), ye(T, 1), T.m(se.parentNode, se)) : T && (tt(), At(T, 1, 1, () => {
|
|
263
263
|
T = null;
|
|
264
264
|
}), it());
|
|
265
265
|
},
|
|
266
266
|
d(y) {
|
|
267
|
-
y && (k(e), k(N), k(se)), Q && Q.d(),
|
|
267
|
+
y && (k(e), k(N), k(se)), Q && Q.d(), X.d(), P && P.d(), T && T.d(y), S = !1, et(L);
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
}
|
|
@@ -272,7 +272,7 @@ function St(A) {
|
|
|
272
272
|
let e;
|
|
273
273
|
return {
|
|
274
274
|
c() {
|
|
275
|
-
e =
|
|
275
|
+
e = c("prize-engine-chest"), g(
|
|
276
276
|
e,
|
|
277
277
|
"data",
|
|
278
278
|
/*activeGame*/
|
|
@@ -377,7 +377,7 @@ function Jt(A) {
|
|
|
377
377
|
let e;
|
|
378
378
|
return {
|
|
379
379
|
c() {
|
|
380
|
-
e =
|
|
380
|
+
e = c("prize-engine-coin"), g(
|
|
381
381
|
e,
|
|
382
382
|
"data",
|
|
383
383
|
/*activeGame*/
|
|
@@ -482,7 +482,7 @@ function Et(A) {
|
|
|
482
482
|
let e;
|
|
483
483
|
return {
|
|
484
484
|
c() {
|
|
485
|
-
e =
|
|
485
|
+
e = c("prize-engine-luckywheel"), g(
|
|
486
486
|
e,
|
|
487
487
|
"data",
|
|
488
488
|
/*activeGame*/
|
|
@@ -615,7 +615,7 @@ function Ft(A) {
|
|
|
615
615
|
), d;
|
|
616
616
|
return {
|
|
617
617
|
c() {
|
|
618
|
-
e =
|
|
618
|
+
e = c("div"), t = c("span"), s = D(i), l = D(":"), n = C(), o = c("span"), o.innerHTML = `<img src="${Zt}" alt="Key"/>`, f = C(), a = c("span"), d = D(u), p(o, "class", "SmallIcon svelte-1m851ap"), p(e, "class", "InfoItem svelte-1m851ap");
|
|
619
619
|
},
|
|
620
620
|
m(b, v) {
|
|
621
621
|
B(b, e, v), r(e, t), r(t, s), r(t, l), r(e, n), r(e, o), r(e, f), r(e, a), r(a, d);
|
|
@@ -642,24 +642,24 @@ function Ot(A) {
|
|
|
642
642
|
), u, d, b, v;
|
|
643
643
|
return {
|
|
644
644
|
c() {
|
|
645
|
-
e =
|
|
645
|
+
e = c("button"), t = c("span"), s = D(i), l = C(), n = c("span"), n.textContent = "×", o = C(), f = c("span"), u = D(a), p(t, "class", "ButtonBase svelte-1m851ap"), p(n, "class", "ButtonCross svelte-1m851ap"), p(f, "class", "ButtonCount svelte-1m851ap"), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = d = /*isDrawing*/
|
|
646
646
|
A[17] || !/*activeGame*/
|
|
647
647
|
A[9].current?.remainingTimes;
|
|
648
648
|
},
|
|
649
|
-
m(M,
|
|
650
|
-
B(M, e,
|
|
649
|
+
m(M, F) {
|
|
650
|
+
B(M, e, F), r(e, t), r(t, s), r(e, l), r(e, n), r(e, o), r(e, f), r(f, u), b || (v = pe(
|
|
651
651
|
e,
|
|
652
652
|
"click",
|
|
653
653
|
/*performDraw*/
|
|
654
654
|
A[27]
|
|
655
655
|
), b = !0);
|
|
656
656
|
},
|
|
657
|
-
p(M,
|
|
658
|
-
|
|
657
|
+
p(M, F) {
|
|
658
|
+
F[0] & /*buttonTextParts*/
|
|
659
659
|
524288 && i !== (i = /*buttonTextParts*/
|
|
660
|
-
M[19].base + "") && j(s, i),
|
|
660
|
+
M[19].base + "") && j(s, i), F[0] & /*buttonTextParts*/
|
|
661
661
|
524288 && a !== (a = /*buttonTextParts*/
|
|
662
|
-
M[19].count + "") && j(u, a),
|
|
662
|
+
M[19].count + "") && j(u, a), F[0] & /*isDrawing, activeGame*/
|
|
663
663
|
131584 && d !== (d = /*isDrawing*/
|
|
664
664
|
M[17] || !/*activeGame*/
|
|
665
665
|
M[9].current?.remainingTimes) && (e.disabled = d);
|
|
@@ -673,10 +673,10 @@ function Ne(A) {
|
|
|
673
673
|
let e, t, i, s, l;
|
|
674
674
|
return {
|
|
675
675
|
c() {
|
|
676
|
-
e =
|
|
676
|
+
e = c("div"), t = c("span"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="14" r="7" stroke="currentColor" stroke-width="1.5"></circle><path d="M12 11V14L14 16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 4V7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 4H15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 7L18 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 7L6 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = C(), s = c("span"), l = D(
|
|
677
677
|
/*displayExpiry*/
|
|
678
678
|
A[23]
|
|
679
|
-
),
|
|
679
|
+
), p(t, "class", "SmallIcon Timer svelte-1m851ap"), p(e, "class", "InfoItem svelte-1m851ap");
|
|
680
680
|
},
|
|
681
681
|
m(n, o) {
|
|
682
682
|
B(n, e, o), r(e, t), r(e, i), r(e, s), r(s, l);
|
|
@@ -701,28 +701,28 @@ function Se(A) {
|
|
|
701
701
|
), o, f, a, u, d, b, v = (
|
|
702
702
|
/*$_*/
|
|
703
703
|
A[15]("RulesDescription") + ""
|
|
704
|
-
), M,
|
|
704
|
+
), M, F, $, W, V, ie, re, U, w, N = (
|
|
705
705
|
/*$_*/
|
|
706
706
|
A[15]("AvailablePeriod") + ""
|
|
707
|
-
), se, S,
|
|
707
|
+
), se, S, L, J = (
|
|
708
708
|
/*formatDateTime*/
|
|
709
709
|
A[31](
|
|
710
710
|
/*activeGame*/
|
|
711
711
|
A[9].program.trigger?.startTime
|
|
712
712
|
) + ""
|
|
713
|
-
),
|
|
713
|
+
), x, Q, E = (
|
|
714
714
|
/*formatDateTime*/
|
|
715
715
|
A[31](
|
|
716
716
|
/*activeGame*/
|
|
717
717
|
A[9].program.trigger?.endTime
|
|
718
718
|
) + ""
|
|
719
|
-
), ee,
|
|
719
|
+
), ee, X, P, T, y, I, le, de, he = (
|
|
720
720
|
/*$_*/
|
|
721
721
|
A[15]("TopRewards") + ""
|
|
722
|
-
), Y,
|
|
722
|
+
), Y, ce, fe, ue, oe, q, ve, ge, O = (
|
|
723
723
|
/*effectiveTermsUrl*/
|
|
724
724
|
A[22] && Je(A)
|
|
725
|
-
),
|
|
725
|
+
), G = (
|
|
726
726
|
/*activeGame*/
|
|
727
727
|
A[9]?.program?.trigger?.periods && Ee(A)
|
|
728
728
|
), Z = (
|
|
@@ -731,55 +731,55 @@ function Se(A) {
|
|
|
731
731
|
);
|
|
732
732
|
return {
|
|
733
733
|
c() {
|
|
734
|
-
e =
|
|
734
|
+
e = c("div"), t = c("div"), i = c("div"), s = C(), l = c("div"), o = D(n), f = C(), a = c("button"), u = C(), d = c("div"), b = c("div"), M = D(v), F = C(), O && O.c(), $ = C(), W = c("div"), V = c("div"), ie = c("span"), re = C(), U = c("div"), w = c("strong"), se = D(N), S = C(), L = c("span"), x = D(J), Q = D(" ~ "), ee = D(E), X = C(), G && G.c(), P = C(), T = c("div"), y = c("span"), I = C(), le = c("div"), de = c("strong"), Y = D(he), ce = C(), fe = c("span"), Z && Z.c(), p(i, "class", "HeaderPlaceholder svelte-1m851ap"), p(l, "class", "HeaderTitle svelte-1m851ap"), p(a, "type", "button"), p(a, "class", "IconButton Close svelte-1m851ap"), p(t, "class", "Header svelte-1m851ap"), p(b, "class", "GameDescription svelte-1m851ap"), p(ie, "class", "Icon History svelte-1m851ap"), p(w, "class", "svelte-1m851ap"), p(L, "class", "svelte-1m851ap"), p(U, "class", "DetailText"), p(V, "class", "DetailItem svelte-1m851ap"), p(y, "class", "Icon Cup svelte-1m851ap"), p(de, "class", "svelte-1m851ap"), p(fe, "class", "RewardList svelte-1m851ap"), p(le, "class", "DetailText"), p(T, "class", "DetailItem Rewards svelte-1m851ap"), p(W, "class", "DetailsGrid svelte-1m851ap"), p(d, "class", "LayerContent svelte-1m851ap"), p(e, "class", "ViewLayer RulesLayer svelte-1m851ap"), me(
|
|
735
735
|
e,
|
|
736
736
|
"Mobile",
|
|
737
737
|
/*mobileView*/
|
|
738
738
|
A[24]
|
|
739
739
|
);
|
|
740
740
|
},
|
|
741
|
-
m(
|
|
742
|
-
B(
|
|
741
|
+
m(R, K) {
|
|
742
|
+
B(R, e, K), r(e, t), r(t, i), r(t, s), r(t, l), r(l, o), r(t, f), r(t, a), r(e, u), r(e, d), r(d, b), r(b, M), r(d, F), O && O.m(d, null), r(d, $), r(d, W), r(W, V), r(V, ie), r(V, re), r(V, U), r(U, w), r(w, se), r(U, S), r(U, L), r(L, x), r(L, Q), r(L, ee), r(W, X), G && G.m(W, null), r(W, P), r(W, T), r(T, y), r(T, I), r(T, le), r(le, de), r(de, Y), r(le, ce), r(le, fe), Z && Z.m(fe, null), q = !0, ve || (ge = pe(
|
|
743
743
|
a,
|
|
744
744
|
"click",
|
|
745
745
|
/*click_handler_1*/
|
|
746
746
|
A[38]
|
|
747
747
|
), ve = !0);
|
|
748
748
|
},
|
|
749
|
-
p(
|
|
749
|
+
p(R, K) {
|
|
750
750
|
(!q || K[0] & /*$_*/
|
|
751
751
|
32768) && n !== (n = /*$_*/
|
|
752
|
-
|
|
752
|
+
R[15]("Rules") + "") && j(o, n), (!q || K[0] & /*$_*/
|
|
753
753
|
32768) && v !== (v = /*$_*/
|
|
754
|
-
|
|
755
|
-
|
|
754
|
+
R[15]("RulesDescription") + "") && j(M, v), /*effectiveTermsUrl*/
|
|
755
|
+
R[22] ? O ? O.p(R, K) : (O = Je(R), O.c(), O.m(d, $)) : O && (O.d(1), O = null), (!q || K[0] & /*$_*/
|
|
756
756
|
32768) && N !== (N = /*$_*/
|
|
757
|
-
|
|
757
|
+
R[15]("AvailablePeriod") + "") && j(se, N), (!q || K[0] & /*activeGame*/
|
|
758
758
|
512) && J !== (J = /*formatDateTime*/
|
|
759
|
-
|
|
759
|
+
R[31](
|
|
760
760
|
/*activeGame*/
|
|
761
|
-
|
|
762
|
-
) + "") && j(
|
|
763
|
-
512) &&
|
|
764
|
-
|
|
761
|
+
R[9].program.trigger?.startTime
|
|
762
|
+
) + "") && j(x, J), (!q || K[0] & /*activeGame*/
|
|
763
|
+
512) && E !== (E = /*formatDateTime*/
|
|
764
|
+
R[31](
|
|
765
765
|
/*activeGame*/
|
|
766
|
-
|
|
767
|
-
) + "") && j(ee,
|
|
768
|
-
|
|
766
|
+
R[9].program.trigger?.endTime
|
|
767
|
+
) + "") && j(ee, E), /*activeGame*/
|
|
768
|
+
R[9]?.program?.trigger?.periods ? G ? G.p(R, K) : (G = Ee(R), G.c(), G.m(W, P)) : G && (G.d(1), G = null), (!q || K[0] & /*$_*/
|
|
769
769
|
32768) && he !== (he = /*$_*/
|
|
770
|
-
|
|
771
|
-
|
|
770
|
+
R[15]("TopRewards") + "") && j(Y, he), /*activeGame*/
|
|
771
|
+
R[9].program.wheelOfFortune?.partitions ? Z ? Z.p(R, K) : (Z = Oe(R), Z.c(), Z.m(fe, null)) : Z && (Z.d(1), Z = null);
|
|
772
772
|
},
|
|
773
|
-
i(
|
|
774
|
-
q || (
|
|
773
|
+
i(R) {
|
|
774
|
+
q || (R && We(() => {
|
|
775
775
|
q && (oe && oe.end(1), ue = Le(e, Me, { y: "100%", duration: 400 }), ue.start());
|
|
776
776
|
}), q = !0);
|
|
777
777
|
},
|
|
778
|
-
o(
|
|
779
|
-
ue && ue.invalidate(),
|
|
778
|
+
o(R) {
|
|
779
|
+
ue && ue.invalidate(), R && (oe = st(e, Me, { y: "100%", duration: 400 })), q = !1;
|
|
780
780
|
},
|
|
781
|
-
d(
|
|
782
|
-
|
|
781
|
+
d(R) {
|
|
782
|
+
R && k(e), O && O.d(), G && G.d(), Z && Z.d(), R && oe && oe.end(), ve = !1, ge();
|
|
783
783
|
}
|
|
784
784
|
};
|
|
785
785
|
}
|
|
@@ -790,12 +790,12 @@ function Je(A) {
|
|
|
790
790
|
), s, l, n;
|
|
791
791
|
return {
|
|
792
792
|
c() {
|
|
793
|
-
e =
|
|
793
|
+
e = c("a"), t = c("span"), s = D(i), l = C(), n = c("span"), p(n, "class", "ExternalIcon svelte-1m851ap"), p(e, "class", "TermsLink svelte-1m851ap"), p(
|
|
794
794
|
e,
|
|
795
795
|
"href",
|
|
796
796
|
/*effectiveTermsUrl*/
|
|
797
797
|
A[22]
|
|
798
|
-
),
|
|
798
|
+
), p(e, "target", "_blank");
|
|
799
799
|
},
|
|
800
800
|
m(o, f) {
|
|
801
801
|
B(o, e, f), r(e, t), r(t, s), r(e, l), r(e, n);
|
|
@@ -804,7 +804,7 @@ function Je(A) {
|
|
|
804
804
|
f[0] & /*$_*/
|
|
805
805
|
32768 && i !== (i = /*$_*/
|
|
806
806
|
o[15]("Terms") + "") && j(s, i), f[0] & /*effectiveTermsUrl*/
|
|
807
|
-
4194304 &&
|
|
807
|
+
4194304 && p(
|
|
808
808
|
e,
|
|
809
809
|
"href",
|
|
810
810
|
/*effectiveTermsUrl*/
|
|
@@ -869,7 +869,7 @@ function Fe(A) {
|
|
|
869
869
|
), d, b;
|
|
870
870
|
return {
|
|
871
871
|
c() {
|
|
872
|
-
e =
|
|
872
|
+
e = c("div"), t = c("span"), i = C(), s = c("div"), l = c("strong"), o = D(n), f = C(), a = c("span"), d = D(u), b = C(), p(t, "class", "Icon History svelte-1m851ap"), p(l, "class", "svelte-1m851ap"), p(a, "class", "svelte-1m851ap"), p(s, "class", "DetailText"), p(e, "class", "DetailItem svelte-1m851ap");
|
|
873
873
|
},
|
|
874
874
|
m(v, M) {
|
|
875
875
|
B(v, e, M), r(e, t), r(e, i), r(e, s), r(s, l), r(l, o), r(s, f), r(s, a), r(a, d), r(e, b);
|
|
@@ -933,12 +933,12 @@ function Gt(A) {
|
|
|
933
933
|
let e, t;
|
|
934
934
|
return {
|
|
935
935
|
c() {
|
|
936
|
-
e =
|
|
936
|
+
e = c("img"), p(e, "class", "RewardIcon svelte-1m851ap"), Ce(e.src, t = /*partition*/
|
|
937
937
|
A[57].image1[
|
|
938
938
|
/*lang*/
|
|
939
939
|
A[2]
|
|
940
940
|
] || /*partition*/
|
|
941
|
-
A[57].image1["*"]) ||
|
|
941
|
+
A[57].image1["*"]) || p(e, "src", t), p(e, "alt", "");
|
|
942
942
|
},
|
|
943
943
|
m(i, s) {
|
|
944
944
|
B(i, e, s);
|
|
@@ -950,7 +950,7 @@ function Gt(A) {
|
|
|
950
950
|
/*lang*/
|
|
951
951
|
i[2]
|
|
952
952
|
] || /*partition*/
|
|
953
|
-
i[57].image1["*"]) &&
|
|
953
|
+
i[57].image1["*"]) && p(e, "src", t);
|
|
954
954
|
},
|
|
955
955
|
d(i) {
|
|
956
956
|
i && k(e);
|
|
@@ -968,7 +968,7 @@ function Yt(A) {
|
|
|
968
968
|
), i;
|
|
969
969
|
return {
|
|
970
970
|
c() {
|
|
971
|
-
e =
|
|
971
|
+
e = c("span"), i = D(t), p(e, "class", "svelte-1m851ap");
|
|
972
972
|
},
|
|
973
973
|
m(s, l) {
|
|
974
974
|
B(s, e, l), r(e, i);
|
|
@@ -1008,7 +1008,7 @@ function Ge(A) {
|
|
|
1008
1008
|
let s = i(A), l = s && s(A);
|
|
1009
1009
|
return {
|
|
1010
1010
|
c() {
|
|
1011
|
-
e =
|
|
1011
|
+
e = c("span"), l && l.c(), t = C(), p(e, "class", "RewardItem svelte-1m851ap");
|
|
1012
1012
|
},
|
|
1013
1013
|
m(n, o) {
|
|
1014
1014
|
B(n, e, o), l && l.m(e, null), r(e, t);
|
|
@@ -1038,7 +1038,7 @@ function Ye(A) {
|
|
|
1038
1038
|
let l = s(A), n = l && l(A);
|
|
1039
1039
|
return {
|
|
1040
1040
|
c() {
|
|
1041
|
-
e =
|
|
1041
|
+
e = c("div"), t = c("div"), n && n.c(), p(t, "class", "LayerContent Center svelte-1m851ap"), p(e, "class", "ViewLayer MessageLayer svelte-1m851ap");
|
|
1042
1042
|
},
|
|
1043
1043
|
m(o, f) {
|
|
1044
1044
|
B(o, e, f), r(e, t), n && n.m(t, null);
|
|
@@ -1071,12 +1071,12 @@ function Vt(A) {
|
|
|
1071
1071
|
let o = n(A), f = o(A);
|
|
1072
1072
|
return {
|
|
1073
1073
|
c() {
|
|
1074
|
-
e =
|
|
1074
|
+
e = c("div"), l.c(), i = C(), s = c("div"), f.c(), p(e, "class", "ViewDataContainer svelte-1m851ap"), me(
|
|
1075
1075
|
e,
|
|
1076
1076
|
"shifted",
|
|
1077
1077
|
/*internalMode*/
|
|
1078
1078
|
A[13] === "confirmReject"
|
|
1079
|
-
),
|
|
1079
|
+
), p(s, "class", "ButtonGroup svelte-1m851ap"), me(
|
|
1080
1080
|
s,
|
|
1081
1081
|
"wide-buttons",
|
|
1082
1082
|
/*internalMode*/
|
|
@@ -1089,7 +1089,7 @@ function Vt(A) {
|
|
|
1089
1089
|
p(a, u) {
|
|
1090
1090
|
u[0] & /*viewData*/
|
|
1091
1091
|
1048576 && ke(t, t = /*viewData*/
|
|
1092
|
-
a[20].key) ? (tt(), At(l, 1, 1, Re), it(), l = Ke(a), l.c(),
|
|
1092
|
+
a[20].key) ? (tt(), At(l, 1, 1, Re), it(), l = Ke(a), l.c(), ye(l, 1), l.m(e, null)) : l.p(a, u), u[0] & /*internalMode*/
|
|
1093
1093
|
8192 && me(
|
|
1094
1094
|
e,
|
|
1095
1095
|
"shifted",
|
|
@@ -1112,7 +1112,7 @@ function qt(A) {
|
|
|
1112
1112
|
let e;
|
|
1113
1113
|
return {
|
|
1114
1114
|
c() {
|
|
1115
|
-
e =
|
|
1115
|
+
e = c("div"), e.innerHTML = '<div class="SkeletonContent svelte-1m851ap"><ui-skeleton structure="rectangle" width="100px" height="100px" border-radius="20px"></ui-skeleton> <ui-skeleton structure="text" width="240px" height="24px"></ui-skeleton></div> <div class="SkeletonFooter"><ui-skeleton structure="rectangle" width="240px" height="60px" border-radius="54px"></ui-skeleton></div>', p(e, "class", "SkeletonWrapper svelte-1m851ap");
|
|
1116
1116
|
},
|
|
1117
1117
|
m(t, i) {
|
|
1118
1118
|
B(t, e, i);
|
|
@@ -1127,8 +1127,8 @@ function Ve(A) {
|
|
|
1127
1127
|
let e, t, i;
|
|
1128
1128
|
return {
|
|
1129
1129
|
c() {
|
|
1130
|
-
e =
|
|
1131
|
-
A[20].image) ||
|
|
1130
|
+
e = c("div"), t = c("img"), Ce(t.src, i = /*viewData*/
|
|
1131
|
+
A[20].image) || p(t, "src", i), p(t, "alt", ""), p(t, "class", "GiftImage svelte-1m851ap"), p(e, "class", "ImageWrapper svelte-1m851ap");
|
|
1132
1132
|
},
|
|
1133
1133
|
m(s, l) {
|
|
1134
1134
|
B(s, e, l), r(e, t);
|
|
@@ -1136,7 +1136,7 @@ function Ve(A) {
|
|
|
1136
1136
|
p(s, l) {
|
|
1137
1137
|
l[0] & /*viewData*/
|
|
1138
1138
|
1048576 && !Ce(t.src, i = /*viewData*/
|
|
1139
|
-
s[20].image) &&
|
|
1139
|
+
s[20].image) && p(t, "src", i);
|
|
1140
1140
|
},
|
|
1141
1141
|
d(s) {
|
|
1142
1142
|
s && k(e);
|
|
@@ -1150,7 +1150,7 @@ function qe(A) {
|
|
|
1150
1150
|
);
|
|
1151
1151
|
return {
|
|
1152
1152
|
c() {
|
|
1153
|
-
e =
|
|
1153
|
+
e = c("p"), p(e, "class", "MessageTitle svelte-1m851ap");
|
|
1154
1154
|
},
|
|
1155
1155
|
m(i, s) {
|
|
1156
1156
|
B(i, e, s), e.innerHTML = t;
|
|
@@ -1172,7 +1172,7 @@ function Ue(A) {
|
|
|
1172
1172
|
);
|
|
1173
1173
|
return {
|
|
1174
1174
|
c() {
|
|
1175
|
-
e =
|
|
1175
|
+
e = c("p"), p(e, "class", "MessageText svelte-1m851ap");
|
|
1176
1176
|
},
|
|
1177
1177
|
m(i, s) {
|
|
1178
1178
|
B(i, e, s), e.innerHTML = t;
|
|
@@ -1200,7 +1200,7 @@ function Ke(A) {
|
|
|
1200
1200
|
);
|
|
1201
1201
|
return {
|
|
1202
1202
|
c() {
|
|
1203
|
-
e =
|
|
1203
|
+
e = c("div"), o && o.c(), t = C(), f && f.c(), i = C(), a && a.c(), p(e, "class", "ViewDataContent svelte-1m851ap");
|
|
1204
1204
|
},
|
|
1205
1205
|
m(u, d) {
|
|
1206
1206
|
B(u, e, d), o && o.m(e, null), r(e, t), f && f.m(e, null), r(e, i), a && a.m(e, null), n = !0;
|
|
@@ -1251,10 +1251,10 @@ function Ut(A) {
|
|
|
1251
1251
|
let l = s(A), n = l(A);
|
|
1252
1252
|
return {
|
|
1253
1253
|
c() {
|
|
1254
|
-
e =
|
|
1254
|
+
e = c("button"), n.c(), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap");
|
|
1255
1255
|
},
|
|
1256
1256
|
m(o, f) {
|
|
1257
|
-
B(o, e, f), n.m(e, null), t || (i =
|
|
1257
|
+
B(o, e, f), n.m(e, null), t || (i = pe(
|
|
1258
1258
|
e,
|
|
1259
1259
|
"click",
|
|
1260
1260
|
/*click_handler_6*/
|
|
@@ -1279,13 +1279,13 @@ function Kt(A) {
|
|
|
1279
1279
|
), f, a, u = _e(A), d = $e(A);
|
|
1280
1280
|
return {
|
|
1281
1281
|
c() {
|
|
1282
|
-
e =
|
|
1283
|
-
A[16],
|
|
1282
|
+
e = c("button"), t = c("div"), u.c(), s = C(), l = c("button"), n = c("div"), d.c(), p(t, "class", "ButtonTextWrapper svelte-1m851ap"), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = /*internalLoading*/
|
|
1283
|
+
A[16], p(n, "class", "ButtonTextWrapper svelte-1m851ap"), p(l, "type", "button"), p(l, "class", "ActionButton outline svelte-1m851ap"), l.disabled = /*internalLoading*/
|
|
1284
1284
|
A[16];
|
|
1285
1285
|
},
|
|
1286
1286
|
m(b, v) {
|
|
1287
1287
|
B(b, e, v), r(e, t), u.m(t, null), B(b, s, v), B(b, l, v), r(l, n), d.m(n, null), f || (a = [
|
|
1288
|
-
|
|
1288
|
+
pe(e, "click", function() {
|
|
1289
1289
|
Ie(
|
|
1290
1290
|
/*internalMode*/
|
|
1291
1291
|
A[13] === "confirmReject" ? (
|
|
@@ -1304,7 +1304,7 @@ function Kt(A) {
|
|
|
1304
1304
|
A[40]
|
|
1305
1305
|
)).apply(this, arguments);
|
|
1306
1306
|
}),
|
|
1307
|
-
|
|
1307
|
+
pe(l, "click", function() {
|
|
1308
1308
|
Ie(
|
|
1309
1309
|
/*internalMode*/
|
|
1310
1310
|
A[13] === "confirmReject" ? (
|
|
@@ -1348,7 +1348,7 @@ function _t(A) {
|
|
|
1348
1348
|
), t;
|
|
1349
1349
|
return {
|
|
1350
1350
|
c() {
|
|
1351
|
-
t =
|
|
1351
|
+
t = D(e);
|
|
1352
1352
|
},
|
|
1353
1353
|
m(i, s) {
|
|
1354
1354
|
B(i, t, s);
|
|
@@ -1370,7 +1370,7 @@ function $t(A) {
|
|
|
1370
1370
|
), t;
|
|
1371
1371
|
return {
|
|
1372
1372
|
c() {
|
|
1373
|
-
t =
|
|
1373
|
+
t = D(e);
|
|
1374
1374
|
},
|
|
1375
1375
|
m(i, s) {
|
|
1376
1376
|
B(i, t, s);
|
|
@@ -1392,7 +1392,7 @@ function eA(A) {
|
|
|
1392
1392
|
), t;
|
|
1393
1393
|
return {
|
|
1394
1394
|
c() {
|
|
1395
|
-
t =
|
|
1395
|
+
t = D(e);
|
|
1396
1396
|
},
|
|
1397
1397
|
m(i, s) {
|
|
1398
1398
|
B(i, t, s);
|
|
@@ -1420,7 +1420,7 @@ function _e(A) {
|
|
|
1420
1420
|
), i;
|
|
1421
1421
|
return {
|
|
1422
1422
|
c() {
|
|
1423
|
-
e =
|
|
1423
|
+
e = c("span"), i = D(t), p(e, "class", "svelte-1m851ap");
|
|
1424
1424
|
},
|
|
1425
1425
|
m(s, l) {
|
|
1426
1426
|
B(s, e, l), r(e, i);
|
|
@@ -1454,7 +1454,7 @@ function $e(A) {
|
|
|
1454
1454
|
), i;
|
|
1455
1455
|
return {
|
|
1456
1456
|
c() {
|
|
1457
|
-
e =
|
|
1457
|
+
e = c("span"), i = D(t), p(e, "class", "svelte-1m851ap");
|
|
1458
1458
|
},
|
|
1459
1459
|
m(s, l) {
|
|
1460
1460
|
B(s, e, l), r(e, i);
|
|
@@ -1485,7 +1485,7 @@ function tA(A) {
|
|
|
1485
1485
|
);
|
|
1486
1486
|
return {
|
|
1487
1487
|
c() {
|
|
1488
|
-
e =
|
|
1488
|
+
e = c("div"), i && i.c(), t = C(), s && s.c(), p(e, "class", "PrizeDetailsContent svelte-1m851ap");
|
|
1489
1489
|
},
|
|
1490
1490
|
m(l, n) {
|
|
1491
1491
|
B(l, e, n), i && i.m(e, null), r(e, t), s && s.m(e, null), A[44](e);
|
|
@@ -1494,10 +1494,10 @@ function tA(A) {
|
|
|
1494
1494
|
/*activeGame*/
|
|
1495
1495
|
l[9] ? i ? i.p(l, n) : (i = Ze(l), i.c(), i.m(e, t)) : i && (i.d(1), i = null), /*isMessageShown*/
|
|
1496
1496
|
l[11] ? s ? (s.p(l, n), n[0] & /*isMessageShown*/
|
|
1497
|
-
2048 &&
|
|
1497
|
+
2048 && ye(s, 1)) : (s = Ye(l), s.c(), ye(s, 1), s.m(e, null)) : s && (s.d(1), s = null);
|
|
1498
1498
|
},
|
|
1499
1499
|
i(l) {
|
|
1500
|
-
|
|
1500
|
+
ye(s);
|
|
1501
1501
|
},
|
|
1502
1502
|
o: Re,
|
|
1503
1503
|
d(l) {
|
|
@@ -1509,18 +1509,18 @@ let AA = null;
|
|
|
1509
1509
|
function iA(A, e, t) {
|
|
1510
1510
|
let i, s, l, n, o, f, a;
|
|
1511
1511
|
wt(A, zt, (m) => t(15, a = m));
|
|
1512
|
-
let { data: u = null } = e, { endpoint: d = "" } = e, { session: b = "" } = e, { lang: v = "en" } = e, { clientstyling: M = "" } = e, { clientstylingurl:
|
|
1512
|
+
let { data: u = null } = e, { endpoint: d = "" } = e, { session: b = "" } = e, { lang: v = "en" } = e, { clientstyling: M = "" } = e, { clientstylingurl: F = "" } = e, { translationurl: $ = "" } = e, { mbsource: W = "" } = e, { twostepdraw: V = "false" } = e, { luckywheelsize: ie = 324 } = e, { luckywheelmobilesize: re = 240 } = e, { programs: U = [] } = e, w = null, N;
|
|
1513
1513
|
const se = Tt(window.navigator.userAgent);
|
|
1514
|
-
let S = !1,
|
|
1514
|
+
let S = !1, L = "", J = null, x = !1, Q = !1, E = "", ee = "", X = !1, P = Date.now(), T = null;
|
|
1515
1515
|
const y = (m, h) => {
|
|
1516
1516
|
if (!m)
|
|
1517
1517
|
return "";
|
|
1518
|
-
const
|
|
1519
|
-
if (
|
|
1518
|
+
const z = new Date(m).getTime() - h;
|
|
1519
|
+
if (z <= 0)
|
|
1520
1520
|
return "00d:00h:00m";
|
|
1521
|
-
const _ = Math.floor(
|
|
1522
|
-
return `${_.toString().padStart(2, "0")}d:${ae.toString().padStart(2, "0")}h:${
|
|
1523
|
-
},
|
|
1521
|
+
const _ = Math.floor(z / (1e3 * 60 * 60 * 24)), ae = Math.floor(z % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), we = Math.floor(z % (1e3 * 60 * 60) / (1e3 * 60));
|
|
1522
|
+
return `${_.toString().padStart(2, "0")}d:${ae.toString().padStart(2, "0")}h:${we.toString().padStart(2, "0")}m`;
|
|
1523
|
+
}, I = (m) => [
|
|
1524
1524
|
"",
|
|
1525
1525
|
a("Monday"),
|
|
1526
1526
|
a("Tuesday"),
|
|
@@ -1530,53 +1530,53 @@ function iA(A, e, t) {
|
|
|
1530
1530
|
a("Saturday"),
|
|
1531
1531
|
a("Sunday")
|
|
1532
1532
|
][m] || "", le = (m) => {
|
|
1533
|
-
const h = ["th", "st", "nd", "rd"],
|
|
1534
|
-
return m + (h[(
|
|
1533
|
+
const h = ["th", "st", "nd", "rd"], H = m % 100;
|
|
1534
|
+
return m + (h[(H - 20) % 10] || h[H] || h[0]);
|
|
1535
1535
|
}, de = (m) => {
|
|
1536
1536
|
if (!m)
|
|
1537
1537
|
return "";
|
|
1538
|
-
const { recurrenceType: h, frequency:
|
|
1538
|
+
const { recurrenceType: h, frequency: H, dayFrom: z, dayTo: _, maxImplicitTickets: ae, startTime: we, endTime: He } = m, Pe = ae || 0, ft = Pe > 1 ? a("Spins") : a("Spin");
|
|
1539
1539
|
let ne = `${Pe} ${ft}`;
|
|
1540
|
-
const
|
|
1540
|
+
const be = a("Every"), te = H || 1;
|
|
1541
1541
|
switch (h?.toLowerCase()) {
|
|
1542
1542
|
case "single":
|
|
1543
1543
|
ne += ` ${a("InThisPeriod")}`;
|
|
1544
1544
|
break;
|
|
1545
1545
|
case "minute":
|
|
1546
1546
|
const ut = te > 1 ? a("Minutes") : a("Minute");
|
|
1547
|
-
ne += ` ${
|
|
1547
|
+
ne += ` ${be} ${te > 1 ? te + " " : ""}${ut}`;
|
|
1548
1548
|
break;
|
|
1549
1549
|
case "day":
|
|
1550
1550
|
const gt = te > 1 ? a("Days") : a("Day");
|
|
1551
|
-
ne += ` ${
|
|
1551
|
+
ne += ` ${be} ${te > 1 ? te + " " : ""}${gt}`;
|
|
1552
1552
|
break;
|
|
1553
1553
|
case "week":
|
|
1554
|
-
if (
|
|
1555
|
-
|
|
1554
|
+
if (z && _)
|
|
1555
|
+
z === _ ? ne += ` ${be} ${I(z)}` : ne += ` ${a("From")} ${I(z)} ${a("To")} ${I(_)} ${a("EveryWeek")}`;
|
|
1556
1556
|
else {
|
|
1557
1557
|
const Qe = te > 1 ? a("Weeks") : a("Week");
|
|
1558
|
-
ne += ` ${
|
|
1558
|
+
ne += ` ${be} ${te > 1 ? te + " " : ""}${Qe}`;
|
|
1559
1559
|
}
|
|
1560
1560
|
break;
|
|
1561
1561
|
case "month":
|
|
1562
|
-
if (
|
|
1563
|
-
|
|
1562
|
+
if (z && _)
|
|
1563
|
+
z === _ ? ne += ` ${be} ${le(z)} ${a("EachMonth")}` : ne += ` ${a("From")} ${le(z)} ${a("To")} ${le(_)} ${a("EachMonth")}`;
|
|
1564
1564
|
else {
|
|
1565
1565
|
const Qe = te > 1 ? a("Months") : a("Month");
|
|
1566
|
-
ne += ` ${
|
|
1566
|
+
ne += ` ${be} ${te > 1 ? te + " " : ""}${Qe}`;
|
|
1567
1567
|
}
|
|
1568
1568
|
break;
|
|
1569
1569
|
default:
|
|
1570
1570
|
ne += ` ${a("InThisPeriod")}`;
|
|
1571
1571
|
}
|
|
1572
|
-
return `${ne} [${Z(
|
|
1572
|
+
return `${ne} [${Z(we)} ~ ${Z(He)}]`;
|
|
1573
1573
|
};
|
|
1574
1574
|
Lt();
|
|
1575
1575
|
const he = async (m) => {
|
|
1576
1576
|
try {
|
|
1577
|
-
const
|
|
1578
|
-
Object.keys(
|
|
1579
|
-
ze(
|
|
1577
|
+
const H = await (await fetch(m)).json();
|
|
1578
|
+
Object.keys(H).forEach((z) => {
|
|
1579
|
+
ze(z, H[z]);
|
|
1580
1580
|
});
|
|
1581
1581
|
} catch (h) {
|
|
1582
1582
|
console.error("[PrizeDetails] Failed to load translations", h);
|
|
@@ -1586,10 +1586,10 @@ function iA(A, e, t) {
|
|
|
1586
1586
|
(function(m) {
|
|
1587
1587
|
m[m.Assign = 0] = "Assign", m[m.Reward = 1] = "Reward", m[m.Reject = 2] = "Reject";
|
|
1588
1588
|
})(Y || (Y = {}));
|
|
1589
|
-
const
|
|
1590
|
-
const
|
|
1591
|
-
h.params && Object.keys(h.params).forEach((ae) =>
|
|
1592
|
-
const _ = await (await fetch(
|
|
1589
|
+
const ce = async (m, h = {}) => {
|
|
1590
|
+
const H = new URL(d + "/v1" + m);
|
|
1591
|
+
h.params && Object.keys(h.params).forEach((ae) => H.searchParams.append(ae, h.params[ae]));
|
|
1592
|
+
const _ = await (await fetch(H.toString(), {
|
|
1593
1593
|
method: h.method || "GET",
|
|
1594
1594
|
headers: {
|
|
1595
1595
|
"Content-Type": "application/json",
|
|
@@ -1610,41 +1610,50 @@ function iA(A, e, t) {
|
|
|
1610
1610
|
}), ue = async () => {
|
|
1611
1611
|
if (!w)
|
|
1612
1612
|
return;
|
|
1613
|
-
const m = await
|
|
1613
|
+
const m = await ce("/wof/remainingTimes", {
|
|
1614
1614
|
params: {
|
|
1615
1615
|
filter: `ProgramId[]=${w.program.id}`
|
|
1616
1616
|
}
|
|
1617
1617
|
});
|
|
1618
1618
|
let h = 0;
|
|
1619
1619
|
if (m?.items?.length > 0) {
|
|
1620
|
-
const
|
|
1621
|
-
|
|
1620
|
+
const H = m.items.find((z) => z.programId === w.program.id);
|
|
1621
|
+
H && (h = +H.remainingTimes || 0);
|
|
1622
1622
|
}
|
|
1623
|
-
t(9, w.current.remainingTimes = h, w), t(9, w = { ...w }), t(32, u = JSON.stringify(w))
|
|
1623
|
+
t(9, w.current.remainingTimes = h, w), t(9, w = { ...w }), t(32, u = JSON.stringify(w)), window.postMessage(
|
|
1624
|
+
{
|
|
1625
|
+
type: "PrizeGameRemainingTimesUpdated",
|
|
1626
|
+
data: w
|
|
1627
|
+
},
|
|
1628
|
+
"*"
|
|
1629
|
+
);
|
|
1624
1630
|
}, oe = async () => {
|
|
1625
1631
|
if (!w)
|
|
1626
1632
|
return;
|
|
1627
|
-
let m =
|
|
1628
|
-
if (!m
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1633
|
+
let m = w.next;
|
|
1634
|
+
if (!m) {
|
|
1635
|
+
let h = U;
|
|
1636
|
+
if (!h || h.length === 0)
|
|
1637
|
+
try {
|
|
1638
|
+
h = (await ce("/wof/lotteries"))?.items || [];
|
|
1639
|
+
} catch (z) {
|
|
1640
|
+
console.error("[PrizeDetails] Check next program failed", z);
|
|
1641
|
+
}
|
|
1642
|
+
m = h?.find((z) => z.program.id === w.program.id)?.next;
|
|
1643
|
+
}
|
|
1644
|
+
m ? (t(12, L = "show-next"), t(35, J = {
|
|
1645
|
+
startTime: Z(m.startTime),
|
|
1646
|
+
name: w.program.name[v] || w.program.name["*"]
|
|
1647
|
+
})) : t(12, L = "no-next"), t(11, S = !0);
|
|
1639
1648
|
}, q = async () => {
|
|
1640
|
-
if (!(!w ||
|
|
1641
|
-
ee = fe(), t(16,
|
|
1649
|
+
if (!(!w || x || Q || S) && w.current?.remainingTimes !== 0) {
|
|
1650
|
+
ee = fe(), t(16, x = !0), t(17, Q = !0), t(18, X = !1), window.postMessage({ type: "PrizeGameStartAnimation" }, "*");
|
|
1642
1651
|
try {
|
|
1643
|
-
const m = V === "true" ? Y.Reward : Y.Assign, h = await
|
|
1652
|
+
const m = V === "true" ? Y.Reward : Y.Assign, h = await ce(`/wof/draw/${w.program.id}`, {
|
|
1644
1653
|
method: "PUT",
|
|
1645
1654
|
body: JSON.stringify({ guid: ee, action: m })
|
|
1646
1655
|
});
|
|
1647
|
-
ve(h, m);
|
|
1656
|
+
await ve(h, m);
|
|
1648
1657
|
} catch {
|
|
1649
1658
|
window.postMessage(
|
|
1650
1659
|
{
|
|
@@ -1652,18 +1661,18 @@ function iA(A, e, t) {
|
|
|
1652
1661
|
data: { error: !0 }
|
|
1653
1662
|
},
|
|
1654
1663
|
"*"
|
|
1655
|
-
), t(12,
|
|
1664
|
+
), t(12, L = "error"), t(11, S = !0), t(16, x = !1), t(17, Q = !1);
|
|
1656
1665
|
}
|
|
1657
1666
|
}
|
|
1658
|
-
}, ve = (m, h) => {
|
|
1659
|
-
if (
|
|
1667
|
+
}, ve = async (m, h) => {
|
|
1668
|
+
if (m?.item?.state === "fulfilled" || m?.item?.state === "drawn") {
|
|
1660
1669
|
window.postMessage({ type: "PrizeGameResult", data: m }, "*");
|
|
1661
|
-
const
|
|
1662
|
-
|
|
1663
|
-
text:
|
|
1670
|
+
const H = w.program.wheelOfFortune.partitions[m.item.result.wheelOfFortunePartitionIndex], z = H?.prizeText[v] || H?.prizeText["*"] || "", _ = H?.name[v] || H?.name["*"] || "", ae = H?.prizeImage[v] || H?.prizeImage["*"] || "", we = m.item.result.outcomes.some((He) => He.action?.type === "noprize");
|
|
1671
|
+
we ? (t(12, L = "noprize"), t(35, J = { text: z, image: ae })) : (h === Y.Assign && L === "gift" ? t(12, L = "success") : t(12, L = h === Y.Reward ? "gift" : "success-draw"), t(35, J = {
|
|
1672
|
+
text: z,
|
|
1664
1673
|
image: ae,
|
|
1665
1674
|
bold: _
|
|
1666
|
-
})), t(13,
|
|
1675
|
+
})), t(13, E = ""), (h !== Y.Reward || we) && await ue();
|
|
1667
1676
|
} else
|
|
1668
1677
|
window.postMessage(
|
|
1669
1678
|
{
|
|
@@ -1671,18 +1680,19 @@ function iA(A, e, t) {
|
|
|
1671
1680
|
data: { error: !0 }
|
|
1672
1681
|
},
|
|
1673
1682
|
"*"
|
|
1674
|
-
), t(12,
|
|
1683
|
+
), t(12, L = "error"), t(11, S = !0), t(17, Q = !1);
|
|
1684
|
+
t(16, x = !1);
|
|
1675
1685
|
}, ge = async (m) => {
|
|
1676
|
-
if (!w ||
|
|
1686
|
+
if (!w || x)
|
|
1677
1687
|
return;
|
|
1678
|
-
t(16,
|
|
1688
|
+
t(16, x = !0);
|
|
1679
1689
|
const h = m === "Assign" ? Y.Assign : Y.Reject;
|
|
1680
1690
|
try {
|
|
1681
|
-
const
|
|
1691
|
+
const H = await ce(`/wof/draw/${w.program.id}`, {
|
|
1682
1692
|
method: "PUT",
|
|
1683
1693
|
body: JSON.stringify({ guid: ee, action: h })
|
|
1684
1694
|
});
|
|
1685
|
-
h === Y.Assign ? ve(
|
|
1695
|
+
h === Y.Assign ? await ve(H, Y.Assign) : (await ue(), t(17, Q = !1), t(16, x = !1), w.current?.remainingTimes === 0 ? (t(13, E = ""), oe()) : (t(11, S = !1), t(13, E = ""), window.postMessage({ type: "PrizeResultClose" }, "*")));
|
|
1686
1696
|
} catch {
|
|
1687
1697
|
window.postMessage(
|
|
1688
1698
|
{
|
|
@@ -1690,30 +1700,30 @@ function iA(A, e, t) {
|
|
|
1690
1700
|
data: { error: !0 }
|
|
1691
1701
|
},
|
|
1692
1702
|
"*"
|
|
1693
|
-
), t(12,
|
|
1703
|
+
), t(12, L = "error"), t(11, S = !0), t(16, x = !1), t(17, Q = !1);
|
|
1694
1704
|
}
|
|
1695
|
-
},
|
|
1696
|
-
const { type: h, action:
|
|
1697
|
-
h === "PrizeGameRequestDraw" ? q() : h === "PrizeResultAction" ? ge(
|
|
1705
|
+
}, O = () => window.postMessage({ type: "BackToList" }, "*"), G = () => window.postMessage({ type: "ClosePrizeEngineDrawer" }, "*"), Z = (m) => m ? new Date(m).toISOString().replace("T", " ").substring(0, 19).replace(/-/g, "/") : "", R = (m) => {
|
|
1706
|
+
const { type: h, action: H } = m.data;
|
|
1707
|
+
h === "PrizeGameRequestDraw" ? q() : h === "PrizeResultAction" ? ge(H) : h === "PrizeResultClose" ? (t(11, S = !1), t(17, Q = !1), t(13, E = "")) : h === "PrizeGameToggleRules" ? t(18, X = !X) : h === "PrizeGameSpinEnd" && (t(11, S = !0), t(17, Q = !1));
|
|
1698
1708
|
};
|
|
1699
1709
|
bt(() => (T = setInterval(
|
|
1700
1710
|
() => {
|
|
1701
|
-
t(36,
|
|
1711
|
+
t(36, P = Date.now());
|
|
1702
1712
|
},
|
|
1703
1713
|
6e4
|
|
1704
|
-
), window.addEventListener("message",
|
|
1705
|
-
window.removeEventListener("message",
|
|
1714
|
+
), window.addEventListener("message", R), () => {
|
|
1715
|
+
window.removeEventListener("message", R), T && clearInterval(T);
|
|
1706
1716
|
}));
|
|
1707
|
-
const K = () => t(18,
|
|
1708
|
-
w?.current?.remainingTimes === 0 && ["success", "noprize", "success-draw"].includes(
|
|
1717
|
+
const K = () => t(18, X = !0), lt = () => t(18, X = !1), at = () => t(13, E = ""), rt = () => ge("Assign"), ot = () => ge("Reject"), mt = () => t(13, E = "confirmReject"), pt = () => {
|
|
1718
|
+
w?.current?.remainingTimes === 0 && ["success", "noprize", "success-draw", "error"].includes(L) ? (t(13, E = ""), oe()) : (t(11, S = !1), t(13, E = ""), window.postMessage({ type: "PrizeResultClose" }, "*"));
|
|
1709
1719
|
};
|
|
1710
|
-
function
|
|
1720
|
+
function ct(m) {
|
|
1711
1721
|
yt[m ? "unshift" : "push"](() => {
|
|
1712
1722
|
N = m, t(10, N);
|
|
1713
1723
|
});
|
|
1714
1724
|
}
|
|
1715
1725
|
return A.$$set = (m) => {
|
|
1716
|
-
"data" in m && t(32, u = m.data), "endpoint" in m && t(0, d = m.endpoint), "session" in m && t(1, b = m.session), "lang" in m && t(2, v = m.lang), "clientstyling" in m && t(3, M = m.clientstyling), "clientstylingurl" in m && t(4,
|
|
1726
|
+
"data" in m && t(32, u = m.data), "endpoint" in m && t(0, d = m.endpoint), "session" in m && t(1, b = m.session), "lang" in m && t(2, v = m.lang), "clientstyling" in m && t(3, M = m.clientstyling), "clientstylingurl" in m && t(4, F = m.clientstylingurl), "translationurl" in m && t(5, $ = m.translationurl), "mbsource" in m && t(6, W = m.mbsource), "twostepdraw" in m && t(33, V = m.twostepdraw), "luckywheelsize" in m && t(7, ie = m.luckywheelsize), "luckywheelmobilesize" in m && t(8, re = m.luckywheelmobilesize), "programs" in m && t(34, U = m.programs);
|
|
1717
1727
|
}, A.$$.update = () => {
|
|
1718
1728
|
if (A.$$.dirty[1] & /*data*/
|
|
1719
1729
|
2)
|
|
@@ -1727,7 +1737,7 @@ function iA(A, e, t) {
|
|
|
1727
1737
|
t(9, w = u);
|
|
1728
1738
|
A.$$.dirty[0] & /*activeGame*/
|
|
1729
1739
|
512 | A.$$.dirty[1] & /*now*/
|
|
1730
|
-
32 && t(23, i = w?.current?.expiryTime ? y(w.current.expiryTime,
|
|
1740
|
+
32 && t(23, i = w?.current?.expiryTime ? y(w.current.expiryTime, P) : ""), A.$$.dirty[0] & /*activeGame, lang*/
|
|
1731
1741
|
516 && t(22, s = w?.program?.termsUrl?.[v] || w?.program?.termsUrl?.["*"]), A.$$.dirty[0] & /*translationurl*/
|
|
1732
1742
|
32 && $ && he($), A.$$.dirty[0] & /*lang*/
|
|
1733
1743
|
4 && v && Wt(v), A.$$.dirty[0] & /*activeGame*/
|
|
@@ -1735,22 +1745,22 @@ function iA(A, e, t) {
|
|
|
1735
1745
|
ze(m, w.translations[m]);
|
|
1736
1746
|
}), A.$$.dirty[0] & /*clientstyling, rootContainer*/
|
|
1737
1747
|
1032 && M && N && kt(N, M), A.$$.dirty[0] & /*clientstylingurl, rootContainer*/
|
|
1738
|
-
1040 &&
|
|
1739
|
-
1088 &&
|
|
1748
|
+
1040 && F && N && Bt(N, F), A.$$.dirty[0] & /*mbsource, rootContainer*/
|
|
1749
|
+
1088 && W && N && Ct(N, `${W}.Style`, AA), A.$$.dirty[0] & /*activeGame*/
|
|
1740
1750
|
512 && t(14, l = w?.program?.type), A.$$.dirty[0] & /*activeGame*/
|
|
1741
1751
|
512 && t(21, n = Number(w?.program?.metadata?.template) || 0), A.$$.dirty[0] & /*isMessageShown, internalMode, $_, messageMode*/
|
|
1742
1752
|
47104 | A.$$.dirty[1] & /*messageValue*/
|
|
1743
1753
|
16 && t(20, o = (() => {
|
|
1744
1754
|
if (!S)
|
|
1745
1755
|
return null;
|
|
1746
|
-
if (
|
|
1756
|
+
if (E === "confirmReject")
|
|
1747
1757
|
return {
|
|
1748
1758
|
key: "confirmReject",
|
|
1749
1759
|
image: xt,
|
|
1750
1760
|
title: a("AreYouSure"),
|
|
1751
1761
|
text: a("RejectWarningText")
|
|
1752
1762
|
};
|
|
1753
|
-
switch (
|
|
1763
|
+
switch (L) {
|
|
1754
1764
|
case "error":
|
|
1755
1765
|
return {
|
|
1756
1766
|
key: "error",
|
|
@@ -1767,7 +1777,7 @@ function iA(A, e, t) {
|
|
|
1767
1777
|
case "gift":
|
|
1768
1778
|
case "success-draw":
|
|
1769
1779
|
return {
|
|
1770
|
-
key:
|
|
1780
|
+
key: L,
|
|
1771
1781
|
image: J?.image || Pt,
|
|
1772
1782
|
title: a("Congratulation"),
|
|
1773
1783
|
text: J?.text || a("Success", {
|
|
@@ -1808,21 +1818,21 @@ function iA(A, e, t) {
|
|
|
1808
1818
|
b,
|
|
1809
1819
|
v,
|
|
1810
1820
|
M,
|
|
1811
|
-
|
|
1821
|
+
F,
|
|
1812
1822
|
$,
|
|
1813
|
-
|
|
1823
|
+
W,
|
|
1814
1824
|
ie,
|
|
1815
1825
|
re,
|
|
1816
1826
|
w,
|
|
1817
1827
|
N,
|
|
1818
1828
|
S,
|
|
1819
|
-
|
|
1820
|
-
|
|
1829
|
+
L,
|
|
1830
|
+
E,
|
|
1821
1831
|
l,
|
|
1822
1832
|
a,
|
|
1823
|
-
X,
|
|
1824
|
-
Q,
|
|
1825
1833
|
x,
|
|
1834
|
+
Q,
|
|
1835
|
+
X,
|
|
1826
1836
|
f,
|
|
1827
1837
|
o,
|
|
1828
1838
|
n,
|
|
@@ -1833,22 +1843,22 @@ function iA(A, e, t) {
|
|
|
1833
1843
|
oe,
|
|
1834
1844
|
q,
|
|
1835
1845
|
ge,
|
|
1836
|
-
F,
|
|
1837
1846
|
O,
|
|
1847
|
+
G,
|
|
1838
1848
|
Z,
|
|
1839
1849
|
u,
|
|
1840
1850
|
V,
|
|
1841
1851
|
U,
|
|
1842
1852
|
J,
|
|
1843
|
-
|
|
1853
|
+
P,
|
|
1844
1854
|
K,
|
|
1845
1855
|
lt,
|
|
1846
1856
|
at,
|
|
1847
1857
|
rt,
|
|
1848
1858
|
ot,
|
|
1849
1859
|
mt,
|
|
1850
|
-
|
|
1851
|
-
|
|
1860
|
+
pt,
|
|
1861
|
+
ct
|
|
1852
1862
|
];
|
|
1853
1863
|
}
|
|
1854
1864
|
class sA extends dt {
|