@everymatrix/prize-engine-suite 0.4.20 → 0.4.21
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/{PrizeEngineChest-J5Mh0r9J.js → PrizeEngineChest-D20kYcZH.js} +1 -1
- package/components/{PrizeEngineChest-ClYweWEe.js → PrizeEngineChest-DKa6fL7q.js} +16 -16
- package/components/{PrizeEngineCoin-D3EEy8Z0.js → PrizeEngineCoin-CSaqP476.js} +10 -10
- package/components/{PrizeEngineCoin-B_QZdmbY.js → PrizeEngineCoin-DB2SNbBm.js} +22 -22
- package/components/{PrizeEngineDetails-DeOQQeFv.js → PrizeEngineDetails-CG0d2Hah.js} +4 -4
- package/components/{PrizeEngineDetails-342tvqNu.js → PrizeEngineDetails-VmCA-ii3.js} +36 -36
- package/components/{PrizeEngineHistory-vGUQ4EfZ.js → PrizeEngineHistory-BOCXY1d8.js} +70 -70
- package/components/{PrizeEngineHistory-Dzydg21x.js → PrizeEngineHistory-DiG9cF-i.js} +53 -53
- package/components/{PrizeEngineList-CWlGpnYx.js → PrizeEngineList-Bj7B5I06.js} +38 -38
- package/components/{PrizeEngineList-CIivA6bl.js → PrizeEngineList-CEPBy1pL.js} +47 -47
- package/components/{PrizeEngineLuckywheel-DJM5jzrL.js → PrizeEngineLuckywheel-0WYMdzvz.js} +32 -32
- package/components/{PrizeEngineLuckywheel-579ZUXpL.js → PrizeEngineLuckywheel-Cb5REWSh.js} +28 -28
- package/components/{PrizeEngineSuite-3SpaZoog.js → PrizeEngineSuite-3vlUEft1.js} +59 -59
- package/components/{PrizeEngineSuite-DkEtda7W.js → PrizeEngineSuite-DJUx6dHj.js} +58 -58
- package/components/{WheelSVG-BBVwLFe2.js → WheelSVG-5WuLAqeO.js} +4 -4
- package/components/{WheelSVG-BYcR4Q8q.js → WheelSVG-IokoeQGs.js} +4 -4
- package/es2015/prize-engine-suite.js +1 -1
- package/esnext/prize-engine-suite.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var bt = Object.defineProperty;
|
|
2
2
|
var Oe = Object.getOwnPropertySymbols;
|
|
3
3
|
var yt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var Ye = (A, e, t) => e in A ? bt(A, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : A[e] = t,
|
|
4
|
+
var Ye = (A, e, t) => e in A ? bt(A, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : A[e] = t, Pe = (A, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
6
|
yt.call(e, t) && Ye(A, t, e[t]);
|
|
7
7
|
if (Oe)
|
|
@@ -25,7 +25,7 @@ var fe = (A, e, t) => new Promise((n, s) => {
|
|
|
25
25
|
}, o = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, i);
|
|
26
26
|
o((t = t.apply(A, e)).next());
|
|
27
27
|
});
|
|
28
|
-
import {
|
|
28
|
+
import { $ as Ne, b as Bt, a as Ct, S as Mt, i as Rt, s as Le, f as se, c as Ht, n as Xe, d as M, H as Me, h as R, j as a, k as f, y as H, l as m, m as Qt, o as Tt, p as zt, I as ct, w as X, t as ue, J as ft, K as ut, L as de, x as P, v as Je, e as Ee, g as Fe, B as Dt, q as Wt, M as dt, N as je, z as h, r as Ie, u as gt, O as ht, A as xe, P as Ge, C as Pt, D as Lt, E as jt, F as It, G as xt } from "./PrizeEngineSuite-DJUx6dHj.js";
|
|
29
29
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
30
30
|
const Ve = {
|
|
31
31
|
en: {
|
|
@@ -136,7 +136,7 @@ if (typeof window != "undefined") {
|
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
};
|
|
139
|
-
customElements.define = A(customElements.define), import("./PrizeEngineChest-
|
|
139
|
+
customElements.define = A(customElements.define), import("./PrizeEngineChest-D20kYcZH.js").then(({ default: e }) => {
|
|
140
140
|
!customElements.get("prize-engine-chest") && customElements.define("prize-engine-chest", e.element);
|
|
141
141
|
});
|
|
142
142
|
}
|
|
@@ -152,7 +152,7 @@ if (typeof window != "undefined") {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
};
|
|
155
|
-
customElements.define = A(customElements.define), import("./PrizeEngineCoin-
|
|
155
|
+
customElements.define = A(customElements.define), import("./PrizeEngineCoin-CSaqP476.js").then(({ default: e }) => {
|
|
156
156
|
!customElements.get("prize-engine-coin") && customElements.define("prize-engine-coin", e.element);
|
|
157
157
|
});
|
|
158
158
|
}
|
|
@@ -168,7 +168,7 @@ if (typeof window != "undefined") {
|
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
};
|
|
171
|
-
customElements.define = A(customElements.define), import("./PrizeEngineLuckywheel-
|
|
171
|
+
customElements.define = A(customElements.define), import("./PrizeEngineLuckywheel-Cb5REWSh.js").then(({ default: e }) => {
|
|
172
172
|
!customElements.get("prize-engine-luckywheel") && customElements.define("prize-engine-luckywheel", e.element);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
@@ -192,7 +192,7 @@ function Ke(A) {
|
|
|
192
192
|
A[2]
|
|
193
193
|
] || /*activeGame*/
|
|
194
194
|
A[9].program.name["*"]) + ""
|
|
195
|
-
), o, c, r, d, w, b, v, C, O, V,
|
|
195
|
+
), o, c, r, d, w, b, v, C, O, V, L, K, ie = (
|
|
196
196
|
/*$_*/
|
|
197
197
|
A[15]("Rules") + ""
|
|
198
198
|
), me, ee, u, J, le, E, j;
|
|
@@ -230,7 +230,7 @@ function Ke(A) {
|
|
|
230
230
|
);
|
|
231
231
|
return {
|
|
232
232
|
c() {
|
|
233
|
-
e = f("div"), t = f("div"), n = f("button"), s = H(), l = f("div"), o =
|
|
233
|
+
e = f("div"), t = f("div"), n = f("button"), s = H(), l = f("div"), o = P(i), c = H(), r = f("button"), d = H(), w = f("div"), b = f("div"), D && D.c(), v = H(), C = f("div"), N.c(), O = H(), I && I.c(), V = H(), L = f("button"), K = f("span"), me = P(ie), ee = H(), u = f("span"), J = H(), W && W.c(), le = Je(), m(n, "type", "button"), m(n, "class", "IconButton Back svelte-1m851ap"), m(l, "class", "HeaderTitle svelte-1m851ap"), m(r, "type", "button"), m(r, "class", "IconButton Close svelte-1m851ap"), m(t, "class", "Header svelte-1m851ap"), m(b, "class", "GameComponentContainer svelte-1m851ap"), m(u, "class", "ChevronUp svelte-1m851ap"), m(L, "type", "button"), m(L, "class", "RulesToggle svelte-1m851ap"), m(C, "class", "InfoSection svelte-1m851ap"), m(w, "class", "ViewWrapper svelte-1m851ap"), m(e, "class", "ViewLayer GameLayer svelte-1m851ap"), ue(
|
|
234
234
|
e,
|
|
235
235
|
"Mobile",
|
|
236
236
|
/*mobileView*/
|
|
@@ -244,7 +244,7 @@ function Ke(A) {
|
|
|
244
244
|
);
|
|
245
245
|
},
|
|
246
246
|
m(y, x) {
|
|
247
|
-
R(y, e, x), a(e, t), a(t, n), a(t, s), a(t, l), a(l, o), a(t, c), a(t, r), a(e, d), a(e, w), a(w, b), D && D.m(b, null), a(w, v), a(w, C), N.m(C, null), a(C, O), I && I.m(C, null), a(C, V), a(C,
|
|
247
|
+
R(y, e, x), a(e, t), a(t, n), a(t, s), a(t, l), a(l, o), a(t, c), a(t, r), a(e, d), a(e, w), a(w, b), D && D.m(b, null), a(w, v), a(w, C), N.m(C, null), a(C, O), I && I.m(C, null), a(C, V), a(C, L), a(L, K), a(K, me), a(L, ee), a(L, u), R(y, J, x), W && W.m(y, x), R(y, le, x), E || (j = [
|
|
248
248
|
de(
|
|
249
249
|
n,
|
|
250
250
|
"click",
|
|
@@ -258,7 +258,7 @@ function Ke(A) {
|
|
|
258
258
|
A[30]
|
|
259
259
|
),
|
|
260
260
|
de(
|
|
261
|
-
|
|
261
|
+
L,
|
|
262
262
|
"click",
|
|
263
263
|
/*click_handler*/
|
|
264
264
|
A[37]
|
|
@@ -640,7 +640,7 @@ function Kt(A) {
|
|
|
640
640
|
), w;
|
|
641
641
|
return {
|
|
642
642
|
c() {
|
|
643
|
-
e = f("div"), t = f("span"), s =
|
|
643
|
+
e = f("div"), t = f("span"), s = P(n), l = P(":"), i = H(), o = f("span"), o.innerHTML = `<img src="${Yt}" alt="Key"/>`, c = H(), r = f("span"), w = P(d), m(o, "class", "SmallIcon svelte-1m851ap"), m(e, "class", "InfoItem svelte-1m851ap");
|
|
644
644
|
},
|
|
645
645
|
m(b, v) {
|
|
646
646
|
R(b, e, v), a(e, t), a(t, s), a(t, l), a(e, i), a(e, o), a(e, c), a(e, r), a(r, w);
|
|
@@ -668,7 +668,7 @@ function _t(A) {
|
|
|
668
668
|
return {
|
|
669
669
|
c() {
|
|
670
670
|
var C;
|
|
671
|
-
e = f("button"), t = f("span"), s =
|
|
671
|
+
e = f("button"), t = f("span"), s = P(n), l = H(), i = f("span"), i.textContent = "×", o = H(), c = f("span"), d = P(r), m(t, "class", "ButtonBase svelte-1m851ap"), m(i, "class", "ButtonCross svelte-1m851ap"), m(c, "class", "ButtonCount svelte-1m851ap"), m(e, "type", "button"), m(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = w = /*isDrawing*/
|
|
672
672
|
A[17] || !/*activeGame*/
|
|
673
673
|
((C = A[9].current) != null && C.remainingTimes);
|
|
674
674
|
},
|
|
@@ -700,7 +700,7 @@ function _e(A) {
|
|
|
700
700
|
let e, t, n, s, l;
|
|
701
701
|
return {
|
|
702
702
|
c() {
|
|
703
|
-
e = f("div"), t = f("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>', n = H(), s = f("span"), l =
|
|
703
|
+
e = f("div"), t = f("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>', n = H(), s = f("span"), l = P(
|
|
704
704
|
/*displayExpiry*/
|
|
705
705
|
A[23]
|
|
706
706
|
), m(t, "class", "SmallIcon Timer svelte-1m851ap"), m(e, "class", "InfoItem svelte-1m851ap");
|
|
@@ -729,7 +729,7 @@ function $e(A) {
|
|
|
729
729
|
), o, c, r, d, w, b, v = (
|
|
730
730
|
/*$_*/
|
|
731
731
|
A[15]("RulesDescription") + ""
|
|
732
|
-
), C, O, V,
|
|
732
|
+
), C, O, V, L, K, ie, me, ee, u, J = (
|
|
733
733
|
/*$_*/
|
|
734
734
|
A[15]("AvailablePeriod") + ""
|
|
735
735
|
), le, E, j, T = (
|
|
@@ -759,7 +759,7 @@ function $e(A) {
|
|
|
759
759
|
);
|
|
760
760
|
return {
|
|
761
761
|
c() {
|
|
762
|
-
e = f("div"), t = f("div"), n = f("div"), s = H(), l = f("div"), o =
|
|
762
|
+
e = f("div"), t = f("div"), n = f("div"), s = H(), l = f("div"), o = P(i), c = H(), r = f("button"), d = H(), w = f("div"), b = f("div"), C = P(v), O = H(), Y && Y.c(), V = H(), L = f("div"), K = f("div"), ie = f("span"), me = H(), ee = f("div"), u = f("strong"), le = P(J), E = H(), j = f("span"), Z = P(T), D = P(" ~ "), Ae = P(F), N = H(), G && G.c(), I = H(), W = f("div"), y = f("span"), x = H(), oe = f("div"), be = f("strong"), q = P(ye), ge = H(), he = f("span"), S && S.c(), m(n, "class", "HeaderPlaceholder svelte-1m851ap"), m(l, "class", "HeaderTitle svelte-1m851ap"), m(r, "type", "button"), m(r, "class", "IconButton Close svelte-1m851ap"), m(t, "class", "Header svelte-1m851ap"), m(b, "class", "GameDescription svelte-1m851ap"), m(ie, "class", "Icon History svelte-1m851ap"), m(u, "class", "svelte-1m851ap"), m(j, "class", "svelte-1m851ap"), m(ee, "class", "DetailText"), m(K, "class", "DetailItem svelte-1m851ap"), m(y, "class", "Icon Cup svelte-1m851ap"), m(be, "class", "svelte-1m851ap"), m(he, "class", "RewardList svelte-1m851ap"), m(oe, "class", "DetailText"), m(W, "class", "DetailItem Rewards svelte-1m851ap"), m(L, "class", "DetailsGrid svelte-1m851ap"), m(w, "class", "LayerContent svelte-1m851ap"), m(e, "class", "ViewLayer RulesLayer svelte-1m851ap"), ue(
|
|
763
763
|
e,
|
|
764
764
|
"Mobile",
|
|
765
765
|
/*mobileView*/
|
|
@@ -767,7 +767,7 @@ function $e(A) {
|
|
|
767
767
|
);
|
|
768
768
|
},
|
|
769
769
|
m(z, te) {
|
|
770
|
-
R(z, e, te), a(e, t), a(t, n), a(t, s), a(t, l), a(l, o), a(t, c), a(t, r), a(e, d), a(e, w), a(w, b), a(b, C), a(w, O), Y && Y.m(w, null), a(w, V), a(w,
|
|
770
|
+
R(z, e, te), a(e, t), a(t, n), a(t, s), a(t, l), a(l, o), a(t, c), a(t, r), a(e, d), a(e, w), a(w, b), a(b, C), a(w, O), Y && Y.m(w, null), a(w, V), a(w, L), a(L, K), a(K, ie), a(K, me), a(K, ee), a(ee, u), a(u, le), a(ee, E), a(ee, j), a(j, Z), a(j, D), a(j, Ae), a(L, N), G && G.m(L, null), a(L, I), a(L, W), a(W, y), a(W, x), a(W, oe), a(oe, be), a(be, q), a(oe, ge), a(oe, he), S && S.m(he, null), _ = !0, ke || (ve = de(
|
|
771
771
|
r,
|
|
772
772
|
"click",
|
|
773
773
|
/*click_handler_1*/
|
|
@@ -794,7 +794,7 @@ function $e(A) {
|
|
|
794
794
|
/*activeGame*/
|
|
795
795
|
(p = z[9].program.trigger) == null ? void 0 : p.endTime
|
|
796
796
|
) + "") && X(Ae, F), /*activeGame*/
|
|
797
|
-
(k = (Q = (g = z[9]) == null ? void 0 : g.program) == null ? void 0 : Q.trigger) != null && k.periods ? G ? G.p(z, te) : (G = tt(z), G.c(), G.m(
|
|
797
|
+
(k = (Q = (g = z[9]) == null ? void 0 : g.program) == null ? void 0 : Q.trigger) != null && k.periods ? G ? G.p(z, te) : (G = tt(z), G.c(), G.m(L, I)) : G && (G.d(1), G = null), (!_ || te[0] & /*$_*/
|
|
798
798
|
32768) && ye !== (ye = /*$_*/
|
|
799
799
|
z[15]("TopRewards") + "") && X(q, ye), /*activeGame*/
|
|
800
800
|
(B = z[9].program.wheelOfFortune) != null && B.partitions ? S ? S.p(z, te) : (S = nt(z), S.c(), S.m(he, null)) : S && (S.d(1), S = null);
|
|
@@ -819,7 +819,7 @@ function et(A) {
|
|
|
819
819
|
), s, l, i;
|
|
820
820
|
return {
|
|
821
821
|
c() {
|
|
822
|
-
e = f("a"), t = f("span"), s =
|
|
822
|
+
e = f("a"), t = f("span"), s = P(n), l = H(), i = f("span"), m(i, "class", "ExternalIcon svelte-1m851ap"), m(e, "class", "TermsLink svelte-1m851ap"), m(
|
|
823
823
|
e,
|
|
824
824
|
"href",
|
|
825
825
|
/*effectiveTermsUrl*/
|
|
@@ -898,7 +898,7 @@ function At(A) {
|
|
|
898
898
|
), w, b;
|
|
899
899
|
return {
|
|
900
900
|
c() {
|
|
901
|
-
e = f("div"), t = f("span"), n = H(), s = f("div"), l = f("strong"), o =
|
|
901
|
+
e = f("div"), t = f("span"), n = H(), s = f("div"), l = f("strong"), o = P(i), c = H(), r = f("span"), w = P(d), b = H(), m(t, "class", "Icon History svelte-1m851ap"), m(l, "class", "svelte-1m851ap"), m(r, "class", "svelte-1m851ap"), m(s, "class", "DetailText"), m(e, "class", "DetailItem svelte-1m851ap");
|
|
902
902
|
},
|
|
903
903
|
m(v, C) {
|
|
904
904
|
R(v, e, C), a(e, t), a(e, n), a(e, s), a(s, l), a(l, o), a(s, c), a(s, r), a(r, w), a(e, b);
|
|
@@ -997,7 +997,7 @@ function eA(A) {
|
|
|
997
997
|
), n;
|
|
998
998
|
return {
|
|
999
999
|
c() {
|
|
1000
|
-
e = f("span"), n =
|
|
1000
|
+
e = f("span"), n = P(t), m(e, "class", "svelte-1m851ap");
|
|
1001
1001
|
},
|
|
1002
1002
|
m(s, l) {
|
|
1003
1003
|
R(s, e, l), a(e, n);
|
|
@@ -1117,7 +1117,7 @@ function tA(A) {
|
|
|
1117
1117
|
},
|
|
1118
1118
|
p(r, d) {
|
|
1119
1119
|
d[0] & /*viewData*/
|
|
1120
|
-
1048576 &&
|
|
1120
|
+
1048576 && Le(t, t = /*viewData*/
|
|
1121
1121
|
r[20].key) ? (ht(), ft(l, 1, 1, Xe), ut(), l = ot(r), l.c(), Me(l, 1), l.m(e, null)) : l.p(r, d), d[0] & /*internalMode*/
|
|
1122
1122
|
8192 && ue(
|
|
1123
1123
|
e,
|
|
@@ -1356,11 +1356,11 @@ function sA(A) {
|
|
|
1356
1356
|
},
|
|
1357
1357
|
p(b, v) {
|
|
1358
1358
|
A = b, v[0] & /*internalMode*/
|
|
1359
|
-
8192 &&
|
|
1359
|
+
8192 && Le(n, n = /*internalMode*/
|
|
1360
1360
|
A[13]) ? (d.d(1), d = pt(A), d.c(), d.m(t, null)) : d.p(A, v), v[0] & /*internalLoading*/
|
|
1361
1361
|
65536 && (e.disabled = /*internalLoading*/
|
|
1362
1362
|
A[16]), v[0] & /*internalMode*/
|
|
1363
|
-
8192 &&
|
|
1363
|
+
8192 && Le(o, o = /*internalMode*/
|
|
1364
1364
|
A[13]) ? (w.d(1), w = mt(A), w.c(), w.m(i, null)) : w.p(A, v), v[0] & /*internalLoading*/
|
|
1365
1365
|
65536 && (l.disabled = /*internalLoading*/
|
|
1366
1366
|
A[16]);
|
|
@@ -1377,7 +1377,7 @@ function iA(A) {
|
|
|
1377
1377
|
), t;
|
|
1378
1378
|
return {
|
|
1379
1379
|
c() {
|
|
1380
|
-
t =
|
|
1380
|
+
t = P(e);
|
|
1381
1381
|
},
|
|
1382
1382
|
m(n, s) {
|
|
1383
1383
|
R(n, t, s);
|
|
@@ -1399,7 +1399,7 @@ function lA(A) {
|
|
|
1399
1399
|
), t;
|
|
1400
1400
|
return {
|
|
1401
1401
|
c() {
|
|
1402
|
-
t =
|
|
1402
|
+
t = P(e);
|
|
1403
1403
|
},
|
|
1404
1404
|
m(n, s) {
|
|
1405
1405
|
R(n, t, s);
|
|
@@ -1421,7 +1421,7 @@ function rA(A) {
|
|
|
1421
1421
|
), t;
|
|
1422
1422
|
return {
|
|
1423
1423
|
c() {
|
|
1424
|
-
t =
|
|
1424
|
+
t = P(e);
|
|
1425
1425
|
},
|
|
1426
1426
|
m(n, s) {
|
|
1427
1427
|
R(n, t, s);
|
|
@@ -1449,7 +1449,7 @@ function pt(A) {
|
|
|
1449
1449
|
), n;
|
|
1450
1450
|
return {
|
|
1451
1451
|
c() {
|
|
1452
|
-
e = f("span"), n =
|
|
1452
|
+
e = f("span"), n = P(t), m(e, "class", "svelte-1m851ap");
|
|
1453
1453
|
},
|
|
1454
1454
|
m(s, l) {
|
|
1455
1455
|
R(s, e, l), a(e, n);
|
|
@@ -1483,7 +1483,7 @@ function mt(A) {
|
|
|
1483
1483
|
), n;
|
|
1484
1484
|
return {
|
|
1485
1485
|
c() {
|
|
1486
|
-
e = f("span"), n =
|
|
1486
|
+
e = f("span"), n = P(t), m(e, "class", "svelte-1m851ap");
|
|
1487
1487
|
},
|
|
1488
1488
|
m(s, l) {
|
|
1489
1489
|
R(s, e, l), a(e, n);
|
|
@@ -1538,7 +1538,7 @@ let oA = null;
|
|
|
1538
1538
|
function pA(A, e, t) {
|
|
1539
1539
|
let n, s, l, i, o, c, r;
|
|
1540
1540
|
Qt(A, xt, (p) => t(15, r = p));
|
|
1541
|
-
let { data: d = null } = e, { endpoint: w = "" } = e, { session: b = "" } = e, { lang: v = "en" } = e, { clientstyling: C = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: V = "" } = e, { mbsource:
|
|
1541
|
+
let { data: d = null } = e, { endpoint: w = "" } = e, { session: b = "" } = e, { lang: v = "en" } = e, { clientstyling: C = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: V = "" } = e, { mbsource: L = "" } = e, { twostepdraw: K = "false" } = e, { luckywheelsize: ie = 324 } = e, { luckywheelmobilesize: me = 240 } = e, { programs: ee = [] } = e, u = null, J;
|
|
1542
1542
|
const le = Tt(window.navigator.userAgent);
|
|
1543
1543
|
let E = !1, j = "", T = null, Z = !1, D = !1, F = "", Ae = "", N = !1, I = Date.now(), W = null;
|
|
1544
1544
|
const y = (p, g) => {
|
|
@@ -1620,7 +1620,7 @@ function pA(A, e, t) {
|
|
|
1620
1620
|
g.params && Object.keys(g.params).forEach((ae) => B.searchParams.append(ae, g.params[ae]));
|
|
1621
1621
|
const re = yield (yield fetch(B.toString(), {
|
|
1622
1622
|
method: g.method || "GET",
|
|
1623
|
-
headers:
|
|
1623
|
+
headers: Pe(Pe({
|
|
1624
1624
|
"Content-Type": "application/json",
|
|
1625
1625
|
Accept: "text/plain"
|
|
1626
1626
|
}, b ? { "x-SessionId": b } : {}), g.headers),
|
|
@@ -1648,7 +1648,7 @@ function pA(A, e, t) {
|
|
|
1648
1648
|
const k = p.items.find((B) => B.programId === u.program.id);
|
|
1649
1649
|
k && (g = +k.remainingTimes || 0);
|
|
1650
1650
|
}
|
|
1651
|
-
t(9, u.current.remainingTimes = g, u), t(9, u =
|
|
1651
|
+
t(9, u.current.remainingTimes = g, u), t(9, u = Pe({}, u)), t(32, d = JSON.stringify(u)), window.postMessage(
|
|
1652
1652
|
{
|
|
1653
1653
|
type: "PrizeGameRemainingTimesUpdated",
|
|
1654
1654
|
data: u
|
|
@@ -1760,7 +1760,7 @@ function pA(A, e, t) {
|
|
|
1760
1760
|
});
|
|
1761
1761
|
}
|
|
1762
1762
|
return A.$$set = (p) => {
|
|
1763
|
-
"data" in p && t(32, d = p.data), "endpoint" in p && t(0, w = p.endpoint), "session" in p && t(1, b = p.session), "lang" in p && t(2, v = p.lang), "clientstyling" in p && t(3, C = p.clientstyling), "clientstylingurl" in p && t(4, O = p.clientstylingurl), "translationurl" in p && t(5, V = p.translationurl), "mbsource" in p && t(6,
|
|
1763
|
+
"data" in p && t(32, d = p.data), "endpoint" in p && t(0, w = p.endpoint), "session" in p && t(1, b = p.session), "lang" in p && t(2, v = p.lang), "clientstyling" in p && t(3, C = p.clientstyling), "clientstylingurl" in p && t(4, O = p.clientstylingurl), "translationurl" in p && t(5, V = p.translationurl), "mbsource" in p && t(6, L = p.mbsource), "twostepdraw" in p && t(33, K = p.twostepdraw), "luckywheelsize" in p && t(7, ie = p.luckywheelsize), "luckywheelmobilesize" in p && t(8, me = p.luckywheelmobilesize), "programs" in p && t(34, ee = p.programs);
|
|
1764
1764
|
}, A.$$.update = () => {
|
|
1765
1765
|
var p, g, Q, k, B, pe, re, ae;
|
|
1766
1766
|
if (A.$$.dirty[1] & /*data*/
|
|
@@ -1782,9 +1782,9 @@ function pA(A, e, t) {
|
|
|
1782
1782
|
512 && u != null && u.translations && Object.keys(u.translations).forEach((U) => {
|
|
1783
1783
|
Se(U, u.translations[U]);
|
|
1784
1784
|
}), A.$$.dirty[0] & /*clientstyling, rootContainer*/
|
|
1785
|
-
1032 && C && J &&
|
|
1786
|
-
1040 && O && J &&
|
|
1787
|
-
1088 &&
|
|
1785
|
+
1032 && C && J && Pt(J, C), A.$$.dirty[0] & /*clientstylingurl, rootContainer*/
|
|
1786
|
+
1040 && O && J && Lt(J, O), A.$$.dirty[0] & /*mbsource, rootContainer*/
|
|
1787
|
+
1088 && L && J && jt(J, `${L}.Style`, oA), A.$$.dirty[0] & /*activeGame*/
|
|
1788
1788
|
512 && t(14, l = (pe = u == null ? void 0 : u.program) == null ? void 0 : pe.type), A.$$.dirty[0] & /*activeGame*/
|
|
1789
1789
|
512 && t(21, i = Number((ae = (re = u == null ? void 0 : u.program) == null ? void 0 : re.metadata) == null ? void 0 : ae.template) || 0), A.$$.dirty[0] & /*isMessageShown, internalMode, $_, messageMode*/
|
|
1790
1790
|
47104 | A.$$.dirty[1] & /*messageValue*/
|
|
@@ -1859,7 +1859,7 @@ function pA(A, e, t) {
|
|
|
1859
1859
|
C,
|
|
1860
1860
|
O,
|
|
1861
1861
|
V,
|
|
1862
|
-
|
|
1862
|
+
L,
|
|
1863
1863
|
ie,
|
|
1864
1864
|
me,
|
|
1865
1865
|
u,
|
|
@@ -1907,7 +1907,7 @@ class mA extends Mt {
|
|
|
1907
1907
|
e,
|
|
1908
1908
|
pA,
|
|
1909
1909
|
aA,
|
|
1910
|
-
|
|
1910
|
+
Le,
|
|
1911
1911
|
{
|
|
1912
1912
|
data: 32,
|
|
1913
1913
|
endpoint: 0,
|