@everymatrix/mini-games-hub 0.1.5 → 0.1.7
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/{GameCard-8XBwX5mB.js → GameCard-DTz2IEhm.js} +27 -29
- package/components/GameCard-Dfgtrwdb.cjs +3 -0
- package/components/{GameCard-SP2WkMe4.js → GameCard-sNqb2_mR.js} +27 -29
- package/components/{MiniGamesHub-DKkDXC81.cjs → MiniGamesHub-3XlqpfV_.cjs} +5 -5
- package/components/{MiniGamesHub-BEAlx3WE.js → MiniGamesHub-DTPiOtNT.js} +318 -286
- package/components/{MiniGamesHub-CrRIFbj_.js → MiniGamesHub-iX9t9vSW.js} +261 -249
- package/components/{WheelOfFortune-B7NMoATV.js → WheelOfFortune-BKUcclpm.js} +197 -164
- package/components/{WheelOfFortune-0yZoHYHH.js → WheelOfFortune-CbvJZO8-.js} +184 -151
- package/components/{WheelOfFortune-BxbFigrE.cjs → WheelOfFortune-DgAgnR_Q.cjs} +27 -6
- package/components/WheelOfFortuneDrawResults-AskDnOA6.cjs +1 -0
- package/components/WheelOfFortuneDrawResults-C9BcE4Kr.js +262 -0
- package/components/WheelOfFortuneDrawResults-DnQPGIPX.js +237 -0
- package/components/WheelOfFortuneHistory-BA977Hfx.js +230 -0
- package/components/WheelOfFortuneHistory-CT-5jtfe.js +230 -0
- package/components/WheelOfFortuneHistory-uP606zLS.cjs +13 -0
- package/components/{WheelOfFortuneRules-BI3iP5jZ.js → WheelOfFortuneRules-C16Md0m_.js} +64 -64
- package/components/WheelOfFortuneRules-DQcA-d8i.js +128 -0
- package/components/WheelOfFortuneRules-zVRcNYIv.cjs +5 -0
- package/components/WheelOfFortuneWheel-6j7QTrsf.cjs +3 -0
- package/components/WheelOfFortuneWheel-BvI-fAML.js +1980 -0
- package/components/WheelOfFortuneWheel-CCmzx2yj.js +1910 -0
- package/components/{constants-syi43uVY.js → constants-CWz8CXw2.js} +1 -1
- package/components/{constants-B5BwgkMh.cjs → constants-DM6Vdc6Z.cjs} +1 -1
- package/components/{sparkles-DMNeGYKa.cjs → sparkles-BnriHiyw.cjs} +1 -1
- package/components/{sparkles-Br3hNIM6.js → sparkles-BzZDomk7.js} +1 -1
- package/components/{sparkles-CsUJD5iK.js → sparkles-C9wObsYC.js} +1 -1
- package/components/{spin-controller-BfbakdA_.js → spin-controller-BjXSz9Me.js} +53 -52
- package/components/{spin-controller-Y0nB76qX.js → spin-controller-CETKYiGM.js} +51 -50
- package/components/spin-controller-q2CuZMYj.cjs +1 -0
- package/components/utils-B53aGsNG.js +6095 -0
- package/components/utils-C0oX5v1l.js +6141 -0
- package/components/utils-Du65tqU5.cjs +3 -0
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +3 -1
- package/components/GameCard-B2Vf_Okb.cjs +0 -3
- package/components/GameCard-B2dUYs8D.cjs +0 -3
- package/components/GameCard-Bx4TWFNT.js +0 -58
- package/components/GameCard-CKlgiS66.cjs +0 -3
- package/components/GameCard-DX4XDT2r.js +0 -58
- package/components/GameCard-DXX0iD0Z.js +0 -58
- package/components/GameCard-Dfi3jlxs.js +0 -58
- package/components/GameCard-FmSc9xvG.js +0 -58
- package/components/GameCard-lPup4pYJ.js +0 -58
- package/components/GameCard-txJxZVfs.cjs +0 -3
- package/components/MiniGamesHub-BBCzOhms.js +0 -1269
- package/components/MiniGamesHub-BaAiz62L.cjs +0 -94
- package/components/MiniGamesHub-BbJIrcsb.cjs +0 -28
- package/components/MiniGamesHub-C6Nsfrqn.js +0 -1369
- package/components/MiniGamesHub-CLinNS2-.js +0 -1288
- package/components/MiniGamesHub-DXmod0OW.cjs +0 -94
- package/components/MiniGamesHub-DZHG1XwH.js +0 -1357
- package/components/MiniGamesHub-Db8-msnK.js +0 -1338
- package/components/MiniGamesHub-DxW3lK75.js +0 -1369
- package/components/WheelOfFortune-B-sa8npV.cjs +0 -572
- package/components/WheelOfFortune-CdsgfPZg.js +0 -829
- package/components/WheelOfFortune-Cfe5KhF-.cjs +0 -588
- package/components/WheelOfFortune-Cm-9CaHf.cjs +0 -570
- package/components/WheelOfFortune-DDfYKRzu.js +0 -862
- package/components/WheelOfFortune-DpMvjI6_.js +0 -811
- package/components/WheelOfFortune-Dtoep2n2.js +0 -852
- package/components/WheelOfFortune-cD7JyRL5.js +0 -820
- package/components/WheelOfFortune-u__JAdi_.js +0 -820
- package/components/WheelOfFortuneDrawResults-3S77J9M5.js +0 -292
- package/components/WheelOfFortuneDrawResults-B2L6I4Po.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-B6RkAQ_i.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-BRgQ0mTi.js +0 -261
- package/components/WheelOfFortuneDrawResults-BZAetM0L.js +0 -238
- package/components/WheelOfFortuneDrawResults-C0J_0fRE.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-CKkYMVLn.js +0 -317
- package/components/WheelOfFortuneDrawResults-CvyqGbQG.js +0 -292
- package/components/WheelOfFortuneDrawResults-DIO74xIg.js +0 -317
- package/components/WheelOfFortuneDrawResults-D_QT2RDK.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-WD4ZaXdI.js +0 -261
- package/components/WheelOfFortuneDrawResults-XiJyW5cc.js +0 -238
- package/components/WheelOfFortuneHistory-3lEfr9Yn.cjs +0 -13
- package/components/WheelOfFortuneHistory-BE1mGyJn.js +0 -233
- package/components/WheelOfFortuneHistory-BagUH_Pn.js +0 -233
- package/components/WheelOfFortuneHistory-BpfmGEE1.js +0 -233
- package/components/WheelOfFortuneHistory-C_EX6Ecx.js +0 -233
- package/components/WheelOfFortuneHistory-CgWvWb5r.js +0 -233
- package/components/WheelOfFortuneHistory-CldOJOup.js +0 -233
- package/components/WheelOfFortuneHistory-D9EVcaH2.js +0 -233
- package/components/WheelOfFortuneHistory-DQ7yysUE.cjs +0 -13
- package/components/WheelOfFortuneHistory-DoYx_EbF.js +0 -233
- package/components/WheelOfFortuneHistory-mbWa96d6.cjs +0 -13
- package/components/WheelOfFortuneHistory-tcBNosXj.cjs +0 -13
- package/components/WheelOfFortuneRules-3Pnc2tv_.cjs +0 -5
- package/components/WheelOfFortuneRules-ByuqEg7o.js +0 -128
- package/components/WheelOfFortuneRules-CD5FcLZh.js +0 -117
- package/components/WheelOfFortuneRules-CS1AnNsi.cjs +0 -5
- package/components/WheelOfFortuneRules-DEln64Ys.js +0 -117
- package/components/WheelOfFortuneRules-DTZ61azL.js +0 -128
- package/components/WheelOfFortuneRules-DUjXad1Z.cjs +0 -5
- package/components/WheelOfFortuneRules-Dp6015wP.cjs +0 -5
- package/components/WheelOfFortuneRules-ICYWgDZn.js +0 -128
- package/components/WheelOfFortuneRules-Sa4GsYQ7.js +0 -117
- package/components/WheelOfFortuneRules-ssp6aAUp.js +0 -128
- package/components/WheelOfFortuneWheel-76dShj7s.cjs +0 -1
- package/components/WheelOfFortuneWheel-B-3ALU8u.js +0 -632
- package/components/WheelOfFortuneWheel-B0P_kjVI.js +0 -599
- package/components/WheelOfFortuneWheel-C2yIQKzY.js +0 -598
- package/components/WheelOfFortuneWheel-C6o9ZPV4.js +0 -598
- package/components/WheelOfFortuneWheel-JKN_P3ES.cjs +0 -1
- package/components/WheelOfFortuneWheel-LXdY_AV0.js +0 -633
- package/components/WheelOfFortuneWheel-R5JZFn6S.js +0 -643
- package/components/WheelOfFortuneWheel-j83OpEdj.cjs +0 -1
- package/components/WheelOfFortuneWheel-jv0TkAX_.js +0 -632
- package/components/WheelOfFortuneWheel-le2uV09t.js +0 -609
- package/components/WheelOfFortuneWheel-rP-wIp2j.cjs +0 -1
- package/components/bonus-BcSq5fV_.cjs +0 -1
- package/components/bonus-BroDvSJR.js +0 -4
- package/components/coin-DetgSMGn.js +0 -4
- package/components/coin-dEAbLQma.cjs +0 -1
- package/components/loyalty-Bf3uaVFP.js +0 -4
- package/components/loyalty-XDJlZgzx.cjs +0 -1
- package/components/noprize-BJ-U8c5U.cjs +0 -1
- package/components/noprize-DQHyTDC0.js +0 -4
- package/components/role-Bxkn_4_S.cjs +0 -1
- package/components/role-CNEtykLr.js +0 -4
- package/components/spin-controller-Do0l1eeX.cjs +0 -1
- package/components/ticket-DP0fQfPa.cjs +0 -1
- package/components/ticket-DcOVRE_N.js +0 -4
- package/components/tournament-8UbfkV5I.cjs +0 -1
- package/components/tournament-BtKf5Btm.js +0 -4
- package/components/utils-BCvapeyS.cjs +0 -5
- package/components/utils-CG5ADU6a.cjs +0 -5
- package/components/utils-COXr0j7Z.js +0 -6803
- package/components/utils-CbMHM9Bv.js +0 -6831
- package/components/utils-ClIENp93.js +0 -6906
- package/components/utils-Cun_uLlb.js +0 -6890
- package/components/utils-D6FQ3_dW.cjs +0 -5
- package/components/utils-De4h5fhB.js +0 -6918
- package/components/utils-DrFJq1GB.js +0 -6819
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var K = (n, r, e) => new Promise((t, i) => {
|
|
2
|
+
var o = (u) => {
|
|
3
|
+
try {
|
|
4
|
+
l(e.next(u));
|
|
5
|
+
} catch (h) {
|
|
6
|
+
i(h);
|
|
7
|
+
}
|
|
8
|
+
}, a = (u) => {
|
|
9
|
+
try {
|
|
10
|
+
l(e.throw(u));
|
|
11
|
+
} catch (h) {
|
|
12
|
+
i(h);
|
|
13
|
+
}
|
|
14
|
+
}, l = (u) => u.done ? t(u.value) : Promise.resolve(u.value).then(o, a);
|
|
15
|
+
l((e = e.apply(n, r)).next());
|
|
16
|
+
});
|
|
17
|
+
import { b8 as Je, Q as Ye, aO as C, aB as Ke, G as Ze, aT as Xe, aF as k, B as Qe, Y as f, at as p, b9 as $e, aV as E, aP as pe, aY as D, aQ as he, ad as ge, aZ as fe, aR as er, aS as rr } from "./utils-C0oX5v1l.js";
|
|
18
|
+
import { a as nr, p as T, v as tr, w as me, x as ve, o as ir, i as be, b as O, f as G, c as or, h as ar, e as sr, g as lr, s as Z } from "./WheelOfFortuneWheel-BvI-fAML.js";
|
|
19
|
+
import { W as ye } from "./WheelOfFortune-BKUcclpm.js";
|
|
20
|
+
import { G as ur } from "./GameCard-sNqb2_mR.js";
|
|
21
|
+
const we = {
|
|
6
22
|
en: {
|
|
7
23
|
noContent: "You don't have any lottery programs available now.",
|
|
8
24
|
hubTitle: "Prize Hub",
|
|
@@ -522,23 +538,23 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
522
538
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
523
539
|
PERFORMANCE OF THIS SOFTWARE.
|
|
524
540
|
***************************************************************************** */
|
|
525
|
-
var
|
|
526
|
-
return
|
|
541
|
+
var Q = function(n, r) {
|
|
542
|
+
return Q = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
527
543
|
e.__proto__ = t;
|
|
528
544
|
} || function(e, t) {
|
|
529
545
|
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
530
|
-
},
|
|
546
|
+
}, Q(n, r);
|
|
531
547
|
};
|
|
532
|
-
function
|
|
548
|
+
function L(n, r) {
|
|
533
549
|
if (typeof r != "function" && r !== null)
|
|
534
550
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
535
|
-
|
|
551
|
+
Q(n, r);
|
|
536
552
|
function e() {
|
|
537
553
|
this.constructor = n;
|
|
538
554
|
}
|
|
539
555
|
n.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
540
556
|
}
|
|
541
|
-
function
|
|
557
|
+
function $(n) {
|
|
542
558
|
var r = typeof Symbol == "function" && Symbol.iterator, e = r && n[r], t = 0;
|
|
543
559
|
if (e) return e.call(n);
|
|
544
560
|
if (n && typeof n.length == "number") return {
|
|
@@ -548,7 +564,7 @@ function ee(n) {
|
|
|
548
564
|
};
|
|
549
565
|
throw new TypeError(r ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
550
566
|
}
|
|
551
|
-
function
|
|
567
|
+
function ee(n, r) {
|
|
552
568
|
var e = typeof Symbol == "function" && n[Symbol.iterator];
|
|
553
569
|
if (!e) return n;
|
|
554
570
|
var t = e.call(n), i, o = [], a;
|
|
@@ -565,21 +581,21 @@ function re(n, r) {
|
|
|
565
581
|
}
|
|
566
582
|
return o;
|
|
567
583
|
}
|
|
568
|
-
function
|
|
584
|
+
function re(n, r, e) {
|
|
569
585
|
if (arguments.length === 2) for (var t = 0, i = r.length, o; t < i; t++)
|
|
570
586
|
(o || !(t in r)) && (o || (o = Array.prototype.slice.call(r, 0, t)), o[t] = r[t]);
|
|
571
587
|
return n.concat(o || r);
|
|
572
588
|
}
|
|
573
|
-
function
|
|
589
|
+
function z(n) {
|
|
574
590
|
return typeof n == "function";
|
|
575
591
|
}
|
|
576
|
-
function
|
|
592
|
+
function Pe(n) {
|
|
577
593
|
var r = function(t) {
|
|
578
594
|
Error.call(t), t.stack = new Error().stack;
|
|
579
595
|
}, e = n(r);
|
|
580
596
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
581
597
|
}
|
|
582
|
-
var
|
|
598
|
+
var X = Pe(function(n) {
|
|
583
599
|
return function(e) {
|
|
584
600
|
n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
585
601
|
` + e.map(function(t, i) {
|
|
@@ -588,13 +604,13 @@ var Q = ze(function(n) {
|
|
|
588
604
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
589
605
|
};
|
|
590
606
|
});
|
|
591
|
-
function
|
|
607
|
+
function ne(n, r) {
|
|
592
608
|
if (n) {
|
|
593
609
|
var e = n.indexOf(r);
|
|
594
610
|
0 <= e && n.splice(e, 1);
|
|
595
611
|
}
|
|
596
612
|
}
|
|
597
|
-
var
|
|
613
|
+
var H = function() {
|
|
598
614
|
function n(r) {
|
|
599
615
|
this.initialTeardown = r, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
600
616
|
}
|
|
@@ -606,12 +622,12 @@ var q = function() {
|
|
|
606
622
|
if (a)
|
|
607
623
|
if (this._parentage = null, Array.isArray(a))
|
|
608
624
|
try {
|
|
609
|
-
for (var l =
|
|
610
|
-
var
|
|
611
|
-
|
|
625
|
+
for (var l = $(a), u = l.next(); !u.done; u = l.next()) {
|
|
626
|
+
var h = u.value;
|
|
627
|
+
h.remove(this);
|
|
612
628
|
}
|
|
613
|
-
} catch (
|
|
614
|
-
r = { error:
|
|
629
|
+
} catch (m) {
|
|
630
|
+
r = { error: m };
|
|
615
631
|
} finally {
|
|
616
632
|
try {
|
|
617
633
|
u && !u.done && (e = l.return) && e.call(l);
|
|
@@ -621,43 +637,43 @@ var q = function() {
|
|
|
621
637
|
}
|
|
622
638
|
else
|
|
623
639
|
a.remove(this);
|
|
624
|
-
var
|
|
625
|
-
if (
|
|
640
|
+
var v = this.initialTeardown;
|
|
641
|
+
if (z(v))
|
|
626
642
|
try {
|
|
627
|
-
|
|
628
|
-
} catch (
|
|
629
|
-
o =
|
|
643
|
+
v();
|
|
644
|
+
} catch (m) {
|
|
645
|
+
o = m instanceof X ? m.errors : [m];
|
|
630
646
|
}
|
|
631
|
-
var
|
|
632
|
-
if (
|
|
647
|
+
var j = this._finalizers;
|
|
648
|
+
if (j) {
|
|
633
649
|
this._finalizers = null;
|
|
634
650
|
try {
|
|
635
|
-
for (var
|
|
636
|
-
var
|
|
651
|
+
for (var x = $(j), w = x.next(); !w.done; w = x.next()) {
|
|
652
|
+
var F = w.value;
|
|
637
653
|
try {
|
|
638
|
-
|
|
639
|
-
} catch (
|
|
640
|
-
o = o
|
|
654
|
+
Se(F);
|
|
655
|
+
} catch (m) {
|
|
656
|
+
o = o != null ? o : [], m instanceof X ? o = re(re([], ee(o)), ee(m.errors)) : o.push(m);
|
|
641
657
|
}
|
|
642
658
|
}
|
|
643
|
-
} catch (
|
|
644
|
-
t = { error:
|
|
659
|
+
} catch (m) {
|
|
660
|
+
t = { error: m };
|
|
645
661
|
} finally {
|
|
646
662
|
try {
|
|
647
|
-
|
|
663
|
+
w && !w.done && (i = x.return) && i.call(x);
|
|
648
664
|
} finally {
|
|
649
665
|
if (t) throw t.error;
|
|
650
666
|
}
|
|
651
667
|
}
|
|
652
668
|
}
|
|
653
669
|
if (o)
|
|
654
|
-
throw new
|
|
670
|
+
throw new X(o);
|
|
655
671
|
}
|
|
656
672
|
}, n.prototype.add = function(r) {
|
|
657
673
|
var e;
|
|
658
674
|
if (r && r !== this)
|
|
659
675
|
if (this.closed)
|
|
660
|
-
|
|
676
|
+
Se(r);
|
|
661
677
|
else {
|
|
662
678
|
if (r instanceof n) {
|
|
663
679
|
if (r.closed || r._hasParent(this))
|
|
@@ -674,52 +690,52 @@ var q = function() {
|
|
|
674
690
|
this._parentage = Array.isArray(e) ? (e.push(r), e) : e ? [e, r] : r;
|
|
675
691
|
}, n.prototype._removeParent = function(r) {
|
|
676
692
|
var e = this._parentage;
|
|
677
|
-
e === r ? this._parentage = null : Array.isArray(e) &&
|
|
693
|
+
e === r ? this._parentage = null : Array.isArray(e) && ne(e, r);
|
|
678
694
|
}, n.prototype.remove = function(r) {
|
|
679
695
|
var e = this._finalizers;
|
|
680
|
-
e &&
|
|
696
|
+
e && ne(e, r), r instanceof n && r._removeParent(this);
|
|
681
697
|
}, n.EMPTY = function() {
|
|
682
698
|
var r = new n();
|
|
683
699
|
return r.closed = !0, r;
|
|
684
700
|
}(), n;
|
|
685
|
-
}(),
|
|
686
|
-
function
|
|
687
|
-
return n instanceof
|
|
701
|
+
}(), De = H.EMPTY;
|
|
702
|
+
function Ae(n) {
|
|
703
|
+
return n instanceof H || n && "closed" in n && z(n.remove) && z(n.add) && z(n.unsubscribe);
|
|
688
704
|
}
|
|
689
|
-
function
|
|
690
|
-
|
|
705
|
+
function Se(n) {
|
|
706
|
+
z(n) ? n() : n.unsubscribe();
|
|
691
707
|
}
|
|
692
|
-
var
|
|
708
|
+
var dr = {
|
|
693
709
|
Promise: void 0
|
|
694
|
-
},
|
|
710
|
+
}, cr = {
|
|
695
711
|
setTimeout: function(n, r) {
|
|
696
712
|
for (var e = [], t = 2; t < arguments.length; t++)
|
|
697
713
|
e[t - 2] = arguments[t];
|
|
698
|
-
return setTimeout.apply(void 0,
|
|
714
|
+
return setTimeout.apply(void 0, re([n, r], ee(e)));
|
|
699
715
|
},
|
|
700
716
|
clearTimeout: function(n) {
|
|
701
717
|
return clearTimeout(n);
|
|
702
718
|
},
|
|
703
719
|
delegate: void 0
|
|
704
720
|
};
|
|
705
|
-
function
|
|
706
|
-
|
|
721
|
+
function pr(n) {
|
|
722
|
+
cr.setTimeout(function() {
|
|
707
723
|
throw n;
|
|
708
724
|
});
|
|
709
725
|
}
|
|
710
|
-
function
|
|
726
|
+
function ke() {
|
|
711
727
|
}
|
|
712
|
-
function
|
|
728
|
+
function N(n) {
|
|
713
729
|
n();
|
|
714
730
|
}
|
|
715
|
-
var
|
|
716
|
-
|
|
731
|
+
var Re = function(n) {
|
|
732
|
+
L(r, n);
|
|
717
733
|
function r(e) {
|
|
718
734
|
var t = n.call(this) || this;
|
|
719
|
-
return t.isStopped = !1, e ? (t.destination = e,
|
|
735
|
+
return t.isStopped = !1, e ? (t.destination = e, Ae(e) && e.add(t)) : t.destination = fr, t;
|
|
720
736
|
}
|
|
721
737
|
return r.create = function(e, t, i) {
|
|
722
|
-
return new
|
|
738
|
+
return new te(e, t, i);
|
|
723
739
|
}, r.prototype.next = function(e) {
|
|
724
740
|
this.isStopped || this._next(e);
|
|
725
741
|
}, r.prototype.error = function(e) {
|
|
@@ -743,7 +759,7 @@ var je = function(n) {
|
|
|
743
759
|
this.unsubscribe();
|
|
744
760
|
}
|
|
745
761
|
}, r;
|
|
746
|
-
}(
|
|
762
|
+
}(H), hr = function() {
|
|
747
763
|
function n(r) {
|
|
748
764
|
this.partialObserver = r;
|
|
749
765
|
}
|
|
@@ -753,7 +769,7 @@ var je = function(n) {
|
|
|
753
769
|
try {
|
|
754
770
|
e.next(r);
|
|
755
771
|
} catch (t) {
|
|
756
|
-
|
|
772
|
+
W(t);
|
|
757
773
|
}
|
|
758
774
|
}, n.prototype.error = function(r) {
|
|
759
775
|
var e = this.partialObserver;
|
|
@@ -761,56 +777,56 @@ var je = function(n) {
|
|
|
761
777
|
try {
|
|
762
778
|
e.error(r);
|
|
763
779
|
} catch (t) {
|
|
764
|
-
|
|
780
|
+
W(t);
|
|
765
781
|
}
|
|
766
782
|
else
|
|
767
|
-
|
|
783
|
+
W(r);
|
|
768
784
|
}, n.prototype.complete = function() {
|
|
769
785
|
var r = this.partialObserver;
|
|
770
786
|
if (r.complete)
|
|
771
787
|
try {
|
|
772
788
|
r.complete();
|
|
773
789
|
} catch (e) {
|
|
774
|
-
|
|
790
|
+
W(e);
|
|
775
791
|
}
|
|
776
792
|
}, n;
|
|
777
|
-
}(),
|
|
778
|
-
|
|
793
|
+
}(), te = function(n) {
|
|
794
|
+
L(r, n);
|
|
779
795
|
function r(e, t, i) {
|
|
780
796
|
var o = n.call(this) || this, a;
|
|
781
|
-
return
|
|
782
|
-
next: e
|
|
783
|
-
error: t
|
|
784
|
-
complete: i
|
|
785
|
-
} : a = e, o.destination = new
|
|
797
|
+
return z(e) || !e ? a = {
|
|
798
|
+
next: e != null ? e : void 0,
|
|
799
|
+
error: t != null ? t : void 0,
|
|
800
|
+
complete: i != null ? i : void 0
|
|
801
|
+
} : a = e, o.destination = new hr(a), o;
|
|
786
802
|
}
|
|
787
803
|
return r;
|
|
788
|
-
}(
|
|
789
|
-
function
|
|
790
|
-
|
|
804
|
+
}(Re);
|
|
805
|
+
function W(n) {
|
|
806
|
+
pr(n);
|
|
791
807
|
}
|
|
792
|
-
function
|
|
808
|
+
function gr(n) {
|
|
793
809
|
throw n;
|
|
794
810
|
}
|
|
795
|
-
var
|
|
811
|
+
var fr = {
|
|
796
812
|
closed: !0,
|
|
797
|
-
next:
|
|
798
|
-
error:
|
|
799
|
-
complete:
|
|
800
|
-
},
|
|
813
|
+
next: ke,
|
|
814
|
+
error: gr,
|
|
815
|
+
complete: ke
|
|
816
|
+
}, mr = function() {
|
|
801
817
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
802
818
|
}();
|
|
803
|
-
function
|
|
819
|
+
function vr(n) {
|
|
804
820
|
return n;
|
|
805
821
|
}
|
|
806
|
-
function
|
|
807
|
-
return n.length === 0 ?
|
|
822
|
+
function br(n) {
|
|
823
|
+
return n.length === 0 ? vr : n.length === 1 ? n[0] : function(e) {
|
|
808
824
|
return n.reduce(function(t, i) {
|
|
809
825
|
return i(t);
|
|
810
826
|
}, e);
|
|
811
827
|
};
|
|
812
828
|
}
|
|
813
|
-
var
|
|
829
|
+
var Te = function() {
|
|
814
830
|
function n(r) {
|
|
815
831
|
r && (this._subscribe = r);
|
|
816
832
|
}
|
|
@@ -818,8 +834,8 @@ var ye = function() {
|
|
|
818
834
|
var e = new n();
|
|
819
835
|
return e.source = this, e.operator = r, e;
|
|
820
836
|
}, n.prototype.subscribe = function(r, e, t) {
|
|
821
|
-
var i = this, o =
|
|
822
|
-
return
|
|
837
|
+
var i = this, o = wr(r) ? r : new te(r, e, t);
|
|
838
|
+
return N(function() {
|
|
823
839
|
var a = i, l = a.operator, u = a.source;
|
|
824
840
|
o.add(l ? l.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
825
841
|
}), o;
|
|
@@ -831,8 +847,8 @@ var ye = function() {
|
|
|
831
847
|
}
|
|
832
848
|
}, n.prototype.forEach = function(r, e) {
|
|
833
849
|
var t = this;
|
|
834
|
-
return e =
|
|
835
|
-
var a = new
|
|
850
|
+
return e = ze(e), new e(function(i, o) {
|
|
851
|
+
var a = new te({
|
|
836
852
|
next: function(l) {
|
|
837
853
|
try {
|
|
838
854
|
r(l);
|
|
@@ -848,15 +864,15 @@ var ye = function() {
|
|
|
848
864
|
}, n.prototype._subscribe = function(r) {
|
|
849
865
|
var e;
|
|
850
866
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(r);
|
|
851
|
-
}, n.prototype[
|
|
867
|
+
}, n.prototype[mr] = function() {
|
|
852
868
|
return this;
|
|
853
869
|
}, n.prototype.pipe = function() {
|
|
854
870
|
for (var r = [], e = 0; e < arguments.length; e++)
|
|
855
871
|
r[e] = arguments[e];
|
|
856
|
-
return
|
|
872
|
+
return br(r)(this);
|
|
857
873
|
}, n.prototype.toPromise = function(r) {
|
|
858
874
|
var e = this;
|
|
859
|
-
return r =
|
|
875
|
+
return r = ze(r), new r(function(t, i) {
|
|
860
876
|
var o;
|
|
861
877
|
e.subscribe(function(a) {
|
|
862
878
|
return o = a;
|
|
@@ -870,45 +886,45 @@ var ye = function() {
|
|
|
870
886
|
return new n(r);
|
|
871
887
|
}, n;
|
|
872
888
|
}();
|
|
873
|
-
function
|
|
889
|
+
function ze(n) {
|
|
874
890
|
var r;
|
|
875
|
-
return (r = n
|
|
891
|
+
return (r = n != null ? n : dr.Promise) !== null && r !== void 0 ? r : Promise;
|
|
876
892
|
}
|
|
877
|
-
function
|
|
878
|
-
return n &&
|
|
893
|
+
function yr(n) {
|
|
894
|
+
return n && z(n.next) && z(n.error) && z(n.complete);
|
|
879
895
|
}
|
|
880
|
-
function
|
|
881
|
-
return n && n instanceof
|
|
896
|
+
function wr(n) {
|
|
897
|
+
return n && n instanceof Re || yr(n) && Ae(n);
|
|
882
898
|
}
|
|
883
|
-
var
|
|
899
|
+
var Sr = Pe(function(n) {
|
|
884
900
|
return function() {
|
|
885
901
|
n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
886
902
|
};
|
|
887
|
-
}),
|
|
888
|
-
|
|
903
|
+
}), qe = function(n) {
|
|
904
|
+
L(r, n);
|
|
889
905
|
function r() {
|
|
890
906
|
var e = n.call(this) || this;
|
|
891
907
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
892
908
|
}
|
|
893
909
|
return r.prototype.lift = function(e) {
|
|
894
|
-
var t = new
|
|
910
|
+
var t = new xe(this, this);
|
|
895
911
|
return t.operator = e, t;
|
|
896
912
|
}, r.prototype._throwIfClosed = function() {
|
|
897
913
|
if (this.closed)
|
|
898
|
-
throw new
|
|
914
|
+
throw new Sr();
|
|
899
915
|
}, r.prototype.next = function(e) {
|
|
900
916
|
var t = this;
|
|
901
|
-
|
|
917
|
+
N(function() {
|
|
902
918
|
var i, o;
|
|
903
919
|
if (t._throwIfClosed(), !t.isStopped) {
|
|
904
920
|
t.currentObservers || (t.currentObservers = Array.from(t.observers));
|
|
905
921
|
try {
|
|
906
|
-
for (var a =
|
|
922
|
+
for (var a = $(t.currentObservers), l = a.next(); !l.done; l = a.next()) {
|
|
907
923
|
var u = l.value;
|
|
908
924
|
u.next(e);
|
|
909
925
|
}
|
|
910
|
-
} catch (
|
|
911
|
-
i = { error:
|
|
926
|
+
} catch (h) {
|
|
927
|
+
i = { error: h };
|
|
912
928
|
} finally {
|
|
913
929
|
try {
|
|
914
930
|
l && !l.done && (o = a.return) && o.call(a);
|
|
@@ -920,7 +936,7 @@ var br = ze(function(n) {
|
|
|
920
936
|
});
|
|
921
937
|
}, r.prototype.error = function(e) {
|
|
922
938
|
var t = this;
|
|
923
|
-
|
|
939
|
+
N(function() {
|
|
924
940
|
if (t._throwIfClosed(), !t.isStopped) {
|
|
925
941
|
t.hasError = t.isStopped = !0, t.thrownError = e;
|
|
926
942
|
for (var i = t.observers; i.length; )
|
|
@@ -929,7 +945,7 @@ var br = ze(function(n) {
|
|
|
929
945
|
});
|
|
930
946
|
}, r.prototype.complete = function() {
|
|
931
947
|
var e = this;
|
|
932
|
-
|
|
948
|
+
N(function() {
|
|
933
949
|
if (e._throwIfClosed(), !e.isStopped) {
|
|
934
950
|
e.isStopped = !0;
|
|
935
951
|
for (var t = e.observers; t.length; )
|
|
@@ -951,20 +967,20 @@ var br = ze(function(n) {
|
|
|
951
967
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
952
968
|
}, r.prototype._innerSubscribe = function(e) {
|
|
953
969
|
var t = this, i = this, o = i.hasError, a = i.isStopped, l = i.observers;
|
|
954
|
-
return o || a ?
|
|
955
|
-
t.currentObservers = null,
|
|
970
|
+
return o || a ? De : (this.currentObservers = null, l.push(e), new H(function() {
|
|
971
|
+
t.currentObservers = null, ne(l, e);
|
|
956
972
|
}));
|
|
957
973
|
}, r.prototype._checkFinalizedStatuses = function(e) {
|
|
958
974
|
var t = this, i = t.hasError, o = t.thrownError, a = t.isStopped;
|
|
959
975
|
i ? e.error(o) : a && e.complete();
|
|
960
976
|
}, r.prototype.asObservable = function() {
|
|
961
|
-
var e = new
|
|
977
|
+
var e = new Te();
|
|
962
978
|
return e.source = this, e;
|
|
963
979
|
}, r.create = function(e, t) {
|
|
964
|
-
return new
|
|
980
|
+
return new xe(e, t);
|
|
965
981
|
}, r;
|
|
966
|
-
}(
|
|
967
|
-
|
|
982
|
+
}(Te), xe = function(n) {
|
|
983
|
+
L(r, n);
|
|
968
984
|
function r(e, t) {
|
|
969
985
|
var i = n.call(this) || this;
|
|
970
986
|
return i.destination = e, i.source = t, i;
|
|
@@ -980,17 +996,17 @@ var br = ze(function(n) {
|
|
|
980
996
|
(t = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || t === void 0 || t.call(e);
|
|
981
997
|
}, r.prototype._subscribe = function(e) {
|
|
982
998
|
var t, i;
|
|
983
|
-
return (i = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && i !== void 0 ? i :
|
|
999
|
+
return (i = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && i !== void 0 ? i : De;
|
|
984
1000
|
}, r;
|
|
985
|
-
}(
|
|
1001
|
+
}(qe), Ce = {
|
|
986
1002
|
now: function() {
|
|
987
|
-
return (
|
|
1003
|
+
return (Ce.delegate || Date).now();
|
|
988
1004
|
},
|
|
989
1005
|
delegate: void 0
|
|
990
|
-
},
|
|
991
|
-
|
|
1006
|
+
}, kr = function(n) {
|
|
1007
|
+
L(r, n);
|
|
992
1008
|
function r(e, t, i) {
|
|
993
|
-
e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i =
|
|
1009
|
+
e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i = Ce);
|
|
994
1010
|
var o = n.call(this) || this;
|
|
995
1011
|
return o._bufferSize = e, o._windowTime = t, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = t === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, t), o;
|
|
996
1012
|
}
|
|
@@ -1005,37 +1021,37 @@ var br = ze(function(n) {
|
|
|
1005
1021
|
}, r.prototype._trimBuffer = function() {
|
|
1006
1022
|
var e = this, t = e._bufferSize, i = e._timestampProvider, o = e._buffer, a = e._infiniteTimeWindow, l = (a ? 1 : 2) * t;
|
|
1007
1023
|
if (t < 1 / 0 && l < o.length && o.splice(0, o.length - l), !a) {
|
|
1008
|
-
for (var u = i.now(),
|
|
1009
|
-
|
|
1010
|
-
|
|
1024
|
+
for (var u = i.now(), h = 0, v = 1; v < o.length && o[v] <= u; v += 2)
|
|
1025
|
+
h = v;
|
|
1026
|
+
h && o.splice(0, h + 1);
|
|
1011
1027
|
}
|
|
1012
1028
|
}, r;
|
|
1013
|
-
}(
|
|
1014
|
-
const
|
|
1015
|
-
if (
|
|
1016
|
-
const e = new
|
|
1017
|
-
|
|
1029
|
+
}(qe);
|
|
1030
|
+
const _e = [], je = {}, Tr = (n, r = 0) => {
|
|
1031
|
+
if (_e.indexOf(n) == -1) {
|
|
1032
|
+
const e = new kr(r);
|
|
1033
|
+
je[n] = e, _e.push(n);
|
|
1018
1034
|
}
|
|
1019
|
-
return
|
|
1035
|
+
return je[n];
|
|
1020
1036
|
};
|
|
1021
|
-
window.emWidgets = { topic:
|
|
1037
|
+
window.emWidgets = { topic: Tr };
|
|
1022
1038
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
1023
|
-
var
|
|
1024
|
-
const
|
|
1025
|
-
hash: "svelte-
|
|
1026
|
-
code: `.svelte-
|
|
1027
|
-
.svelte-
|
|
1028
|
-
.svelte-
|
|
1029
|
-
.LoaderRingInner.svelte-
|
|
1030
|
-
animation: svelte-
|
|
1031
|
-
animation: svelte-
|
|
1039
|
+
var zr = G('<div class="LoaderContainer svelte-1g2duiq"><div class="Loader svelte-1g2duiq"><div class="LoaderRingOuter svelte-1g2duiq"></div> <div class="LoaderRingInner svelte-1g2duiq"></div></div></div>'), xr = G('<div class="PrizeHubContainer svelte-1g2duiq"><h3 class="svelte-1g2duiq"> </h3> <p class="svelte-1g2duiq"> </p></div> <div class="MiniGamesCardList svelte-1g2duiq"></div>', 1), _r = G('<div class="svelte-1g2duiq"><p class="svelte-1g2duiq"> </p></div>'), jr = G('<div class="MainContainer svelte-1g2duiq"><!></div>');
|
|
1040
|
+
const Pr = {
|
|
1041
|
+
hash: "svelte-1g2duiq",
|
|
1042
|
+
code: `.svelte-1g2duiq,
|
|
1043
|
+
.svelte-1g2duiq::before,
|
|
1044
|
+
.svelte-1g2duiq::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;-webkit-tap-highlight-color:transparent;}.MainContainer.svelte-1g2duiq {background-color:transparent;width:100%;height:100%;min-height:100%;color:var(--color-text-default, #ffffff);display:flex;flex-direction:column;gap:5px;padding-top:20px;max-width:700px;margin:0 auto;}.MiniGamesCardList.svelte-1g2duiq {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;}.PrizeHubContainer.svelte-1g2duiq {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;}.PrizeHubContainer.svelte-1g2duiq h3:where(.svelte-1g2duiq) {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;}.PrizeHubContainer.svelte-1g2duiq p:where(.svelte-1g2duiq) {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;}.LoaderContainer.svelte-1g2duiq {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;}.Loader.svelte-1g2duiq {position:relative;width:64px;height:64px;}.LoaderRingOuter.svelte-1g2duiq,
|
|
1045
|
+
.LoaderRingInner.svelte-1g2duiq {position:absolute;border-radius:50%;border:3px solid transparent;}.LoaderRingOuter.svelte-1g2duiq {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
|
|
1046
|
+
animation: svelte-1g2duiq-spin-cw 1s linear infinite;}.LoaderRingInner.svelte-1g2duiq {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
|
|
1047
|
+
animation: svelte-1g2duiq-spin-ccw 0.75s linear infinite;}
|
|
1032
1048
|
|
|
1033
|
-
@keyframes svelte-
|
|
1049
|
+
@keyframes svelte-1g2duiq-spin-cw {
|
|
1034
1050
|
to {
|
|
1035
1051
|
transform: rotate(360deg);
|
|
1036
1052
|
}
|
|
1037
1053
|
}
|
|
1038
|
-
@keyframes svelte-
|
|
1054
|
+
@keyframes svelte-1g2duiq-spin-ccw {
|
|
1039
1055
|
to {
|
|
1040
1056
|
transform: rotate(-360deg);
|
|
1041
1057
|
}
|
|
@@ -1103,235 +1119,250 @@ const xr = {
|
|
|
1103
1119
|
}
|
|
1104
1120
|
*/`
|
|
1105
1121
|
};
|
|
1106
|
-
function
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1122
|
+
function Dr(n, r) {
|
|
1123
|
+
var le, ue;
|
|
1124
|
+
Qe(r, !0), nr(n, Pr);
|
|
1125
|
+
const e = () => er(rr, "$_", t), [t, i] = Xe(), o = T(r, "endpoint", 7), a = T(r, "session", 7), l = T(r, "requiresOptin", 7, !1), u = T(r, "language", 7, "en"), h = T(r, "outerWheelAsset", 7, null), v = T(r, "wheelButtonAsset", 7, null), j = T(r, "backgroundVideoAsset", 7, null), x = T(r, "liteMode", 7, !1), w = T(r, "translationurl", 7), F = /iPhone|iPad|iPod/.test(navigator.userAgent), m = (le = navigator.deviceMemory) != null ? le : 1 / 0, Ee = (ue = navigator.hardwareConcurrency) != null ? ue : 1 / 0;
|
|
1126
|
+
function Be() {
|
|
1127
|
+
try {
|
|
1128
|
+
const c = document.createElement("canvas").getContext("webgl");
|
|
1129
|
+
if (!c) return !1;
|
|
1130
|
+
const b = c.getExtension("WEBGL_debug_renderer_info");
|
|
1131
|
+
if (!b) return !1;
|
|
1132
|
+
const d = c.getParameter(b.UNMASKED_RENDERER_WEBGL).toLowerCase();
|
|
1133
|
+
return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(d);
|
|
1134
|
+
} catch (s) {
|
|
1135
|
+
return !1;
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
const Oe = !F && (m <= 4 || Ee <= 4 || Be()), ie = fe(() => x() || Oe);
|
|
1139
|
+
tr({ withLocale: "en", translations: {} });
|
|
1140
|
+
const Le = () => {
|
|
1111
1141
|
let s = new URL(w());
|
|
1112
1142
|
fetch(s.href).then((c) => c.json()).then((c) => {
|
|
1113
|
-
Object.keys(c).forEach((
|
|
1114
|
-
|
|
1143
|
+
Object.keys(c).forEach((b) => {
|
|
1144
|
+
me(b, c[b]);
|
|
1115
1145
|
});
|
|
1116
1146
|
}).catch((c) => {
|
|
1117
1147
|
console.log(c);
|
|
1118
1148
|
});
|
|
1119
1149
|
};
|
|
1120
|
-
Object.keys(
|
|
1121
|
-
|
|
1122
|
-
}),
|
|
1123
|
-
const
|
|
1124
|
-
|
|
1150
|
+
Object.keys(we).forEach((s) => {
|
|
1151
|
+
me(s, we[s]);
|
|
1152
|
+
}), ve(u());
|
|
1153
|
+
const Me = () => {
|
|
1154
|
+
ve(u());
|
|
1125
1155
|
};
|
|
1126
1156
|
Je(() => {
|
|
1127
|
-
w() &&
|
|
1157
|
+
w() && Le();
|
|
1128
1158
|
}), Ye(() => {
|
|
1129
|
-
|
|
1159
|
+
Me();
|
|
1130
1160
|
});
|
|
1131
|
-
let
|
|
1132
|
-
const
|
|
1133
|
-
|
|
1161
|
+
let _ = C(!1), S = C(Ke([])), oe = C(!1), I = C(!1), A = C(null), ae = C(!1);
|
|
1162
|
+
const We = () => K(this, null, function* () {
|
|
1163
|
+
p(_, !0);
|
|
1134
1164
|
const s = new URL(`${o()}/v1/wof/claimable`), c = new Headers();
|
|
1135
1165
|
a() && c.append("X-SessionId", a());
|
|
1136
|
-
const
|
|
1137
|
-
s.searchParams.append("filter", "wheelOfFortune"), fetch(s,
|
|
1138
|
-
|
|
1139
|
-
|
|
1166
|
+
const b = { method: "GET", headers: c, cache: "no-store" };
|
|
1167
|
+
s.searchParams.append("filter", "wheelOfFortune"), fetch(s, b).then((d) => d.json()).then((d) => {
|
|
1168
|
+
var P, R, M, g;
|
|
1169
|
+
if (d && ((P = d.errorMessage) == null ? void 0 : P.trim()) === "InvalidSessionId") {
|
|
1170
|
+
p(I, !0), p(_, !1);
|
|
1140
1171
|
return;
|
|
1141
1172
|
}
|
|
1142
|
-
if (
|
|
1143
|
-
|
|
1173
|
+
if ((M = (R = d == null ? void 0 : d.items) == null ? void 0 : R.program) != null && M.canClaim) {
|
|
1174
|
+
p(S, (g = d == null ? void 0 : d.items) == null ? void 0 : g.program, !0), p(_, !1);
|
|
1144
1175
|
return;
|
|
1145
1176
|
}
|
|
1146
|
-
|
|
1147
|
-
}).catch((
|
|
1148
|
-
console.log(
|
|
1149
|
-
}).finally(() =>
|
|
1150
|
-
},
|
|
1151
|
-
|
|
1177
|
+
p(S, d == null ? void 0 : d.items, !0);
|
|
1178
|
+
}).catch((d) => {
|
|
1179
|
+
console.log(d), p(oe, !0);
|
|
1180
|
+
}).finally(() => p(_, !1));
|
|
1181
|
+
}), Ne = () => K(this, null, function* () {
|
|
1182
|
+
p(_, !0);
|
|
1152
1183
|
const s = new URL(`${o()}/v1/wof/lotteries`), c = new Headers();
|
|
1153
1184
|
a() && c.append("X-SessionId", a());
|
|
1154
|
-
const
|
|
1155
|
-
s.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(s,
|
|
1156
|
-
|
|
1157
|
-
|
|
1185
|
+
const b = { method: "GET", headers: c, cache: "no-store" };
|
|
1186
|
+
s.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(s, b).then((d) => d.json()).then((d) => {
|
|
1187
|
+
var P;
|
|
1188
|
+
if (d && ((P = d.errorMessage) == null ? void 0 : P.trim()) === "InvalidSessionId") {
|
|
1189
|
+
p(I, !0), p(_, !1);
|
|
1158
1190
|
return;
|
|
1159
1191
|
}
|
|
1160
|
-
|
|
1161
|
-
}).catch((
|
|
1162
|
-
console.log(
|
|
1163
|
-
}).finally(() =>
|
|
1164
|
-
}, se = (s) => {
|
|
1192
|
+
p(S, d == null ? void 0 : d.items.map((R) => $e(R, u())), !0), f(S).length === 1 && (p(A, f(S)[0], !0), p(ae, !0)), f(S).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
|
|
1193
|
+
}).catch((d) => {
|
|
1194
|
+
console.log(d), p(oe, !0);
|
|
1195
|
+
}).finally(() => p(_, !1));
|
|
1196
|
+
}), se = (s) => {
|
|
1165
1197
|
if (s.data)
|
|
1166
1198
|
switch (s.data.type) {
|
|
1167
1199
|
case "PlayMiniGame":
|
|
1168
|
-
|
|
1200
|
+
p(A, f(S).find((c) => c.id === s.data.programId), !0);
|
|
1169
1201
|
break;
|
|
1170
1202
|
case "CloseMiniGame":
|
|
1171
|
-
|
|
1203
|
+
p(A, null);
|
|
1172
1204
|
break;
|
|
1173
1205
|
case "PrizeGameRemainingTimesUpdated":
|
|
1174
|
-
|
|
1206
|
+
p(A, s.data.data, !0);
|
|
1175
1207
|
break;
|
|
1176
1208
|
}
|
|
1177
1209
|
};
|
|
1178
|
-
|
|
1210
|
+
ir(() => (a() && (l() ? We() : Ne()), window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!a() }, window.location.href), window.addEventListener("message", se), () => {
|
|
1179
1211
|
window.removeEventListener("message", se);
|
|
1180
1212
|
}));
|
|
1181
|
-
var
|
|
1213
|
+
var Ge = {
|
|
1182
1214
|
get endpoint() {
|
|
1183
1215
|
return o();
|
|
1184
1216
|
},
|
|
1185
1217
|
set endpoint(s) {
|
|
1186
|
-
o(s),
|
|
1218
|
+
o(s), k();
|
|
1187
1219
|
},
|
|
1188
1220
|
get session() {
|
|
1189
1221
|
return a();
|
|
1190
1222
|
},
|
|
1191
1223
|
set session(s) {
|
|
1192
|
-
a(s),
|
|
1224
|
+
a(s), k();
|
|
1193
1225
|
},
|
|
1194
1226
|
get requiresOptin() {
|
|
1195
1227
|
return l();
|
|
1196
1228
|
},
|
|
1197
1229
|
set requiresOptin(s = !1) {
|
|
1198
|
-
l(s),
|
|
1230
|
+
l(s), k();
|
|
1199
1231
|
},
|
|
1200
1232
|
get language() {
|
|
1201
1233
|
return u();
|
|
1202
1234
|
},
|
|
1203
1235
|
set language(s = "en") {
|
|
1204
|
-
u(s),
|
|
1236
|
+
u(s), k();
|
|
1205
1237
|
},
|
|
1206
1238
|
get outerWheelAsset() {
|
|
1207
|
-
return
|
|
1239
|
+
return h();
|
|
1208
1240
|
},
|
|
1209
1241
|
set outerWheelAsset(s = null) {
|
|
1210
|
-
|
|
1242
|
+
h(s), k();
|
|
1211
1243
|
},
|
|
1212
1244
|
get wheelButtonAsset() {
|
|
1213
|
-
return
|
|
1245
|
+
return v();
|
|
1214
1246
|
},
|
|
1215
1247
|
set wheelButtonAsset(s = null) {
|
|
1216
|
-
|
|
1248
|
+
v(s), k();
|
|
1249
|
+
},
|
|
1250
|
+
get backgroundVideoAsset() {
|
|
1251
|
+
return j();
|
|
1252
|
+
},
|
|
1253
|
+
set backgroundVideoAsset(s = null) {
|
|
1254
|
+
j(s), k();
|
|
1255
|
+
},
|
|
1256
|
+
get liteMode() {
|
|
1257
|
+
return x();
|
|
1258
|
+
},
|
|
1259
|
+
set liteMode(s = !1) {
|
|
1260
|
+
x(s), k();
|
|
1217
1261
|
},
|
|
1218
1262
|
get translationurl() {
|
|
1219
1263
|
return w();
|
|
1220
1264
|
},
|
|
1221
1265
|
set translationurl(s) {
|
|
1222
|
-
w(s),
|
|
1266
|
+
w(s), k();
|
|
1223
1267
|
}
|
|
1224
|
-
}, V =
|
|
1268
|
+
}, V = jr(), He = E(V);
|
|
1225
1269
|
{
|
|
1226
|
-
var
|
|
1227
|
-
var c =
|
|
1228
|
-
|
|
1229
|
-
},
|
|
1230
|
-
var c =
|
|
1270
|
+
var Fe = (s) => {
|
|
1271
|
+
var c = zr();
|
|
1272
|
+
O(s, c);
|
|
1273
|
+
}, Ie = (s) => {
|
|
1274
|
+
var c = ar(), b = pe(c);
|
|
1231
1275
|
{
|
|
1232
|
-
var
|
|
1233
|
-
|
|
1276
|
+
var d = (g) => {
|
|
1277
|
+
ye(g, {
|
|
1234
1278
|
get outerWheelAsset() {
|
|
1235
|
-
return
|
|
1279
|
+
return h();
|
|
1236
1280
|
},
|
|
1237
1281
|
get wheelButtonAsset() {
|
|
1238
|
-
return
|
|
1282
|
+
return v();
|
|
1283
|
+
},
|
|
1284
|
+
get backgroundVideoAsset() {
|
|
1285
|
+
return j();
|
|
1239
1286
|
},
|
|
1240
1287
|
get language() {
|
|
1241
1288
|
return u();
|
|
1289
|
+
},
|
|
1290
|
+
get liteMode() {
|
|
1291
|
+
return f(ie);
|
|
1242
1292
|
}
|
|
1243
1293
|
});
|
|
1244
|
-
},
|
|
1245
|
-
var le = Z(), Le = N(le);
|
|
1294
|
+
}, P = (g) => {
|
|
1246
1295
|
{
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
get session() {
|
|
1261
|
-
return a();
|
|
1262
|
-
},
|
|
1263
|
-
get outerWheelAsset() {
|
|
1264
|
-
return f();
|
|
1265
|
-
},
|
|
1266
|
-
get wheelButtonAsset() {
|
|
1267
|
-
return m();
|
|
1268
|
-
},
|
|
1269
|
-
get showBackButton() {
|
|
1270
|
-
return g(L);
|
|
1271
|
-
}
|
|
1272
|
-
});
|
|
1273
|
-
}
|
|
1274
|
-
}, Ne = (D) => {
|
|
1275
|
-
var L = Z(), Ge = N(L);
|
|
1276
|
-
{
|
|
1277
|
-
var He = (A) => {
|
|
1278
|
-
var R = kr(), C = N(R), W = E(C), J = E(W, !0);
|
|
1279
|
-
x(W);
|
|
1280
|
-
var ue = ce(W, 2), qe = E(ue, !0);
|
|
1281
|
-
x(ue), x(C);
|
|
1282
|
-
var de = ce(C, 2);
|
|
1283
|
-
rr(de, 21, () => g(d), nr, (Y, K) => {
|
|
1284
|
-
ar(Y, {
|
|
1285
|
-
get program() {
|
|
1286
|
-
return g(K);
|
|
1287
|
-
}
|
|
1288
|
-
});
|
|
1289
|
-
}), x(de), pe(
|
|
1290
|
-
(Y, K) => {
|
|
1291
|
-
X(J, Y), X(qe, K);
|
|
1292
|
-
},
|
|
1293
|
-
[() => e()("hubTitle"), () => e()("hubSubtitle")]
|
|
1294
|
-
), T(A, R);
|
|
1295
|
-
}, Fe = (A) => {
|
|
1296
|
-
var R = Tr(), C = E(R), W = E(C, !0);
|
|
1297
|
-
x(C), x(R), pe((J) => X(W, J), [() => e()("noContent")]), T(A, R);
|
|
1298
|
-
};
|
|
1299
|
-
M(
|
|
1300
|
-
Ge,
|
|
1301
|
-
(A) => {
|
|
1302
|
-
g(d)?.length > 1 ? A(He) : A(Fe, !1);
|
|
1303
|
-
},
|
|
1304
|
-
!0
|
|
1305
|
-
);
|
|
1306
|
-
}
|
|
1307
|
-
T(D, L);
|
|
1308
|
-
};
|
|
1309
|
-
M(
|
|
1310
|
-
Le,
|
|
1311
|
-
(D) => {
|
|
1312
|
-
g(j) ? D(Me) : D(Ne, !1);
|
|
1296
|
+
let y = fe(() => !f(ae));
|
|
1297
|
+
ye(g, {
|
|
1298
|
+
get program() {
|
|
1299
|
+
return f(A);
|
|
1300
|
+
},
|
|
1301
|
+
get endpoint() {
|
|
1302
|
+
return o();
|
|
1303
|
+
},
|
|
1304
|
+
get language() {
|
|
1305
|
+
return u();
|
|
1306
|
+
},
|
|
1307
|
+
get session() {
|
|
1308
|
+
return a();
|
|
1313
1309
|
},
|
|
1314
|
-
|
|
1315
|
-
|
|
1310
|
+
get outerWheelAsset() {
|
|
1311
|
+
return h();
|
|
1312
|
+
},
|
|
1313
|
+
get wheelButtonAsset() {
|
|
1314
|
+
return v();
|
|
1315
|
+
},
|
|
1316
|
+
get backgroundVideoAsset() {
|
|
1317
|
+
return j();
|
|
1318
|
+
},
|
|
1319
|
+
get showBackButton() {
|
|
1320
|
+
return f(y);
|
|
1321
|
+
},
|
|
1322
|
+
get liteMode() {
|
|
1323
|
+
return f(ie);
|
|
1324
|
+
}
|
|
1325
|
+
});
|
|
1316
1326
|
}
|
|
1317
|
-
|
|
1327
|
+
}, R = (g) => {
|
|
1328
|
+
var y = xr(), q = pe(y), B = E(q), U = E(B, !0);
|
|
1329
|
+
D(B);
|
|
1330
|
+
var de = he(B, 2), Ue = E(de, !0);
|
|
1331
|
+
D(de), D(q);
|
|
1332
|
+
var ce = he(q, 2);
|
|
1333
|
+
sr(ce, 21, () => f(S), lr, (J, Y) => {
|
|
1334
|
+
ur(J, {
|
|
1335
|
+
get program() {
|
|
1336
|
+
return f(Y);
|
|
1337
|
+
}
|
|
1338
|
+
});
|
|
1339
|
+
}), D(ce), ge(
|
|
1340
|
+
(J, Y) => {
|
|
1341
|
+
Z(U, J), Z(Ue, Y);
|
|
1342
|
+
},
|
|
1343
|
+
[() => e()("hubTitle"), () => e()("hubSubtitle")]
|
|
1344
|
+
), O(g, y);
|
|
1345
|
+
}, M = (g) => {
|
|
1346
|
+
var y = _r(), q = E(y), B = E(q, !0);
|
|
1347
|
+
D(q), D(y), ge((U) => Z(B, U), [() => e()("noContent")]), O(g, y);
|
|
1318
1348
|
};
|
|
1319
|
-
|
|
1320
|
-
|
|
1349
|
+
be(b, (g) => {
|
|
1350
|
+
var y;
|
|
1351
|
+
!a() || f(I) ? g(d) : f(A) ? g(P, 1) : ((y = f(S)) == null ? void 0 : y.length) > 1 ? g(R, 2) : g(M, -1);
|
|
1321
1352
|
});
|
|
1322
1353
|
}
|
|
1323
|
-
|
|
1354
|
+
O(s, c);
|
|
1324
1355
|
};
|
|
1325
|
-
|
|
1326
|
-
|
|
1356
|
+
be(He, (s) => {
|
|
1357
|
+
f(_) ? s(Fe) : s(Ie, -1);
|
|
1327
1358
|
});
|
|
1328
1359
|
}
|
|
1329
|
-
|
|
1330
|
-
var
|
|
1331
|
-
return i(),
|
|
1360
|
+
D(V), O(n, V);
|
|
1361
|
+
var Ve = Ze(Ge);
|
|
1362
|
+
return i(), Ve;
|
|
1332
1363
|
}
|
|
1333
|
-
customElements.define("mini-games-hub",
|
|
1334
|
-
|
|
1364
|
+
customElements.define("mini-games-hub", or(
|
|
1365
|
+
Dr,
|
|
1335
1366
|
{
|
|
1336
1367
|
endpoint: { attribute: "endpoint", type: "String" },
|
|
1337
1368
|
session: { attribute: "session", type: "String" },
|
|
@@ -1339,12 +1370,13 @@ customElements.define("mini-games-hub", Ie(
|
|
|
1339
1370
|
language: { attribute: "language", type: "String" },
|
|
1340
1371
|
outerWheelAsset: { attribute: "outer-wheel-asset", type: "String" },
|
|
1341
1372
|
wheelButtonAsset: { attribute: "wheel-button-asset", type: "String" },
|
|
1373
|
+
backgroundVideoAsset: { attribute: "background-video-asset", type: "String" },
|
|
1374
|
+
liteMode: { attribute: "lite-mode", type: "Boolean" },
|
|
1342
1375
|
translationurl: { attribute: "translationurl", type: "String" }
|
|
1343
1376
|
},
|
|
1344
1377
|
[],
|
|
1345
|
-
[]
|
|
1346
|
-
!1
|
|
1378
|
+
[]
|
|
1347
1379
|
));
|
|
1348
1380
|
export {
|
|
1349
|
-
|
|
1381
|
+
Dr as default
|
|
1350
1382
|
};
|