@everymatrix/mini-games-hub 0.2.7 → 0.2.9
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/ArrowLeftIcon-BBQbSgPj.js +20 -0
- package/components/ArrowLeftIcon-CK2Rm6IW.cjs +1 -0
- package/components/ArrowLeftIcon-CbMwJALt.js +20 -0
- package/components/ArrowLeftIcon-Ls7P40Uk.cjs +1 -0
- package/components/CoinFlip-CWv6r8u1.cjs +1 -0
- package/components/CoinFlip-CaRkaWEA.cjs +1 -0
- package/components/CoinFlip-D3kH_y8b.js +390 -0
- package/components/CoinFlip-hKLoCmvJ.js +355 -0
- package/components/CoinRoyale-Cr3FMU-f.js +998 -0
- package/components/CoinRoyale-DcXB88TG.cjs +734 -0
- package/components/CoinRoyale-HFE5DCkQ.js +1036 -0
- package/components/CoinRoyale-mXlKdlwT.cjs +734 -0
- package/components/{GameCard-vgoswSWl.cjs → GameCard-BPoaBZ8h.cjs} +3 -3
- package/components/{GameCard-C-zSlvo1.cjs → GameCard-DfVe9CgG.cjs} +3 -3
- package/components/{GameCard-B3YKo9k6.js → GameCard-cglVYPLz.js} +36 -36
- package/components/{GameCard-BQ6hFy67.js → GameCard-grRDxpTz.js} +39 -36
- package/components/{MiniGamesHub-C0q9vZFD.js → MiniGamesHub-CxhilLzF.js} +342 -206
- package/components/{MiniGamesHub-D5Y5OYt-.js → MiniGamesHub-DUICCoYd.js} +301 -168
- package/components/MiniGamesHub-DW82s9I9.cjs +79 -0
- package/components/MiniGamesHub-uuQkACzs.cjs +79 -0
- package/components/{WheelOfFortune-u6v6YLc5.js → WheelOfFortune-CsDXFzBd.js} +146 -138
- package/components/{WheelOfFortune-BJ9iMr53.cjs → WheelOfFortune-DGY-q1LW.cjs} +2 -2
- package/components/{WheelOfFortune-2WKhJAdZ.cjs → WheelOfFortune-DfN31a-S.cjs} +2 -2
- package/components/{WheelOfFortune-DC57_QGF.js → WheelOfFortune-MIjCRllT.js} +186 -175
- package/components/WheelOfFortuneDrawResults-CKN979BS.js +261 -0
- package/components/WheelOfFortuneDrawResults-CmfWdZz0.cjs +1 -0
- package/components/WheelOfFortuneDrawResults-Di5DQfhF.cjs +1 -0
- package/components/WheelOfFortuneDrawResults-Dr-xmM_N.js +286 -0
- package/components/WheelOfFortuneHistory-BL4DV0im.cjs +13 -0
- package/components/WheelOfFortuneHistory-CqRO9Oee.cjs +13 -0
- package/components/WheelOfFortuneHistory-DFn33FhJ.js +222 -0
- package/components/WheelOfFortuneHistory-DvqIUld0.js +223 -0
- package/components/WheelOfFortuneRules-BxMUpX5_.js +120 -0
- package/components/WheelOfFortuneRules-CnS5xZ_B.js +109 -0
- package/components/WheelOfFortuneRules-Cu5CBrl6.cjs +5 -0
- package/components/WheelOfFortuneRules-UZj0hVWC.cjs +5 -0
- package/components/{WheelOfFortuneWheel-D_tfW-rK.js → WheelOfFortuneWheel-C694AcSr.js} +405 -380
- package/components/WheelOfFortuneWheel-CvGaRYgu.cjs +3 -0
- package/components/WheelOfFortuneWheel-Dxh6wKCh.cjs +3 -0
- package/components/{WheelOfFortuneWheel-DmTRvIN6.js → WheelOfFortuneWheel-cBswACGf.js} +545 -519
- package/components/bg-scene-Bz42V1FW.cjs +1 -0
- package/components/bg-scene-DpHgKCHj.js +4 -0
- package/components/coin-heads-BuJOLpyg.cjs +1 -0
- package/components/coin-heads-loqcEtH2.js +4 -0
- package/components/coin-tails-20vJmhwv.cjs +1 -0
- package/components/coin-tails-BTbsTwkz.js +4 -0
- package/components/{constants-BYsDpbRv.js → constants-BDSd8ptj.js} +25 -15
- package/components/constants-CoPH35Re.cjs +1 -0
- package/components/{sparkles-BnriHiyw.cjs → sparkles-9YGw1xiU.cjs} +1 -1
- package/components/{sparkles-DplvhrIm.cjs → sparkles-B3XdFovy.cjs} +1 -1
- package/components/{sparkles-CSfeD2Zu.js → sparkles-BWGIWWDc.js} +1 -1
- package/components/{sparkles-CTrQ372y.js → sparkles-uxV1OTbN.js} +1 -1
- package/components/{spin-controller-CIshWmlA.cjs → spin-controller-BXcblJt7.cjs} +1 -1
- package/components/{spin-controller-HS3m99tB.cjs → spin-controller-BzO5YNSN.cjs} +1 -1
- package/components/{spin-controller-BuBkKrNR.js → spin-controller-CZWa2gmm.js} +2 -2
- package/components/{spin-controller-REPdRwaB.js → spin-controller-D3hdDnQ0.js} +2 -2
- package/components/{utils-B86dsoC-.js → utils-3LNftCeZ.js} +976 -958
- package/components/utils-BxNmJ6YA.cjs +3 -0
- package/components/{utils-BtFS7k_l.js → utils-DGrEJJ_K.js} +1063 -1045
- package/components/utils-DyVEmMSf.cjs +3 -0
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.cjs +1 -1
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +1 -1
- package/components/MiniGamesHub-CfiDjCz7.cjs +0 -16
- package/components/MiniGamesHub-DYwmUNTy.cjs +0 -16
- package/components/WheelOfFortuneDrawResults-BKkTmsVC.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-D3rgrYi_.js +0 -254
- package/components/WheelOfFortuneDrawResults-DTufAeXD.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-gx2xkUtF.js +0 -279
- package/components/WheelOfFortuneHistory-B-Yadw5p.js +0 -213
- package/components/WheelOfFortuneHistory-DdXxYW6M.cjs +0 -12
- package/components/WheelOfFortuneHistory-DhFZUmGd.cjs +0 -12
- package/components/WheelOfFortuneHistory-IM5H-der.js +0 -213
- package/components/WheelOfFortuneRules-BM75DT61.js +0 -107
- package/components/WheelOfFortuneRules-D-xnWFIU.cjs +0 -3
- package/components/WheelOfFortuneRules-DkQOlpqR.js +0 -118
- package/components/WheelOfFortuneRules-_a2c-LEy.cjs +0 -3
- package/components/WheelOfFortuneWheel-CUs0nOjA.cjs +0 -3
- package/components/WheelOfFortuneWheel-D9nXwM0H.cjs +0 -3
- package/components/constants-DM6Vdc6Z.cjs +0 -1
- package/components/utils-By_D2O28.cjs +0 -3
- package/components/utils-CSIl6eA7.cjs +0 -3
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var U = (A, t, m) => new Promise((T, w) => {
|
|
2
|
+
var f = (o) => {
|
|
3
3
|
try {
|
|
4
|
-
m
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
v(m.next(o));
|
|
5
|
+
} catch (b) {
|
|
6
|
+
w(b);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, l = (o) => {
|
|
9
9
|
try {
|
|
10
|
-
m
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
v(m.throw(o));
|
|
11
|
+
} catch (b) {
|
|
12
|
+
w(b);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, v = (o) => o.done ? T(o.value) : Promise.resolve(o.value).then(f, l);
|
|
15
|
+
v((m = m.apply(A, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as
|
|
18
|
-
import {
|
|
19
|
-
import { W as
|
|
20
|
-
import {
|
|
21
|
-
|
|
17
|
+
import { a as Me, p as u, z as Fe, A as re, B as te, o as Be, i as ie, e as P, g as Ne, f as H, c as de, l as Ge, h as Le, j as qe, k as Y, s as He } from "./WheelOfFortuneWheel-cBswACGf.js";
|
|
18
|
+
import { bn as G, bo as _e, ad as Ve, b1 as D, aQ as Oe, a9 as pe, aU as d, a5 as ge, L as r, aJ as s, bp as Ee, b6 as Z, b2 as ae, ba as L, bb as q, b7 as X, b3 as oe, ar as se, b4 as Ie } from "./utils-DGrEJJ_K.js";
|
|
19
|
+
import { W as le } from "./WheelOfFortune-MIjCRllT.js";
|
|
20
|
+
import { C as Je } from "./CoinRoyale-HFE5DCkQ.js";
|
|
21
|
+
import { G as Ke } from "./GameCard-grRDxpTz.js";
|
|
22
|
+
const ue = {
|
|
22
23
|
en: {
|
|
23
24
|
noContent: "You don't have any lottery programs available now.",
|
|
24
25
|
hubTitle: "Prize Hub",
|
|
@@ -103,7 +104,13 @@ const se = {
|
|
|
103
104
|
single: "{count, plural, one {# Spin} other {# Spins}} every {day, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} each month - {range}",
|
|
104
105
|
range: "{count, plural, one {# Spin} other {# Spins}} from {dayFrom, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} to {dayTo, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} each month - {range}"
|
|
105
106
|
}
|
|
106
|
-
}
|
|
107
|
+
},
|
|
108
|
+
coinTitle: "Coin Royale",
|
|
109
|
+
remainingFlips: "Remaining Flips :",
|
|
110
|
+
flipCoin: "Flip Coin",
|
|
111
|
+
flipAgain: "Flip again",
|
|
112
|
+
dragToFlip: "Drag to flip",
|
|
113
|
+
gameCardCoinFlips: "Coin <br/> Flips"
|
|
107
114
|
},
|
|
108
115
|
da: {
|
|
109
116
|
noContent: "Du har ingen lotteriprogrammer tilgængelige lige nu.",
|
|
@@ -189,7 +196,13 @@ const se = {
|
|
|
189
196
|
single: "{count, plural, one {# Spin} other {# Spins}} den {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} i hver måned - {range}",
|
|
190
197
|
range: "{count, plural, one {# Spin} other {# Spins}} fra {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} til {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} i hver måned - {range}"
|
|
191
198
|
}
|
|
192
|
-
}
|
|
199
|
+
},
|
|
200
|
+
coinTitle: "Coin Royale",
|
|
201
|
+
remainingFlips: "Resterende Flips :",
|
|
202
|
+
flipCoin: "Slå Mønt",
|
|
203
|
+
flipAgain: "Slå igen",
|
|
204
|
+
dragToFlip: "Træk for at slå",
|
|
205
|
+
gameCardCoinFlips: "Mønt <br/> Flips"
|
|
193
206
|
},
|
|
194
207
|
de: {
|
|
195
208
|
noContent: "Du hast derzeit keine verfügbaren Lotterieprogramme.",
|
|
@@ -275,7 +288,13 @@ const se = {
|
|
|
275
288
|
single: "{count, plural, one {# Drehung} other {# Drehungen}} am {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} jeden Monat - {range}",
|
|
276
289
|
range: "{count, plural, one {# Drehung} other {# Drehungen}} vom {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} bis zum {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} jeden Monat - {range}"
|
|
277
290
|
}
|
|
278
|
-
}
|
|
291
|
+
},
|
|
292
|
+
coinTitle: "Coin Royale",
|
|
293
|
+
remainingFlips: "Verbleibende Würfe :",
|
|
294
|
+
flipCoin: "Münze werfen",
|
|
295
|
+
flipAgain: "Erneut werfen",
|
|
296
|
+
dragToFlip: "Zum Werfen ziehen",
|
|
297
|
+
gameCardCoinFlips: "Münz- <br/> würfe"
|
|
279
298
|
},
|
|
280
299
|
nl: {
|
|
281
300
|
noContent: "Je hebt op dit moment geen loterijprogramma's beschikbaar.",
|
|
@@ -361,7 +380,13 @@ const se = {
|
|
|
361
380
|
single: "{count, plural, one {# Spin} other {# Spins}} elke {day, selectordinal, one {#e} two {#e} few {#e} other {#e}} van de maand - {range}",
|
|
362
381
|
range: "{count, plural, one {# Spin} other {# Spins}} van {dayFrom, selectordinal, one {#e} two {#e} few {#e} other {#e}} tot {dayTo, selectordinal, one {#e} two {#e} few {#e} other {#e}} van de maand - {range}"
|
|
363
382
|
}
|
|
364
|
-
}
|
|
383
|
+
},
|
|
384
|
+
coinTitle: "Coin Royale",
|
|
385
|
+
remainingFlips: "Resterende Flips :",
|
|
386
|
+
flipCoin: "Gooi Munt",
|
|
387
|
+
flipAgain: "Opnieuw gooien",
|
|
388
|
+
dragToFlip: "Sleep om te gooien",
|
|
389
|
+
gameCardCoinFlips: "Munt <br/> Flips"
|
|
365
390
|
},
|
|
366
391
|
fr: {
|
|
367
392
|
noContent: "Vous n'avez actuellement aucun programme de loterie disponible.",
|
|
@@ -447,7 +472,13 @@ const se = {
|
|
|
447
472
|
single: "{count, plural, one {# Tour} other {# Tours}} le {day, selectordinal, one {#er} two {#} few {#} other {#}} de chaque mois - {range}",
|
|
448
473
|
range: "{count, plural, one {# Tour} other {# Tours}} du {dayFrom, selectordinal, one {#er} two {#} few {#} other {#}} au {dayTo, selectordinal, one {#er} two {#} few {#} other {#}} de chaque mois - {range}"
|
|
449
474
|
}
|
|
450
|
-
}
|
|
475
|
+
},
|
|
476
|
+
coinTitle: "Coin Royale",
|
|
477
|
+
remainingFlips: "Lancers restants :",
|
|
478
|
+
flipCoin: "Lancer la pièce",
|
|
479
|
+
flipAgain: "Relancer la pièce",
|
|
480
|
+
dragToFlip: "Glissez pour lancer",
|
|
481
|
+
gameCardCoinFlips: "Lancers <br/> de pièce"
|
|
451
482
|
},
|
|
452
483
|
tr: {
|
|
453
484
|
noContent: "Şu anda kullanılabilir bir çekiliş programınız yok.",
|
|
@@ -533,18 +564,25 @@ const se = {
|
|
|
533
564
|
single: "{count, plural, one {# Çevirme} other {# Çevirme}} her ayın {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} günü - {range}",
|
|
534
565
|
range: "{count, plural, one {# Çevirme} other {# Çevirme}} her ayın {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} - {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} günleri arası - {range}"
|
|
535
566
|
}
|
|
536
|
-
}
|
|
567
|
+
},
|
|
568
|
+
coinTitle: "Coin Royale",
|
|
569
|
+
remainingFlips: "Kalan Atışlar :",
|
|
570
|
+
flipCoin: "Parayı At",
|
|
571
|
+
flipAgain: "Tekrar at",
|
|
572
|
+
dragToFlip: "Atmak için sürükleyin",
|
|
573
|
+
gameCardCoinFlips: "Para <br/> Atışı"
|
|
537
574
|
}
|
|
538
575
|
};
|
|
539
|
-
var
|
|
540
|
-
const
|
|
576
|
+
var Ue = H('<div class="loader-container svelte-pzanec"><div class="loader svelte-pzanec"><div class="loader-ring-outer svelte-pzanec"></div> <div class="loader-ring-inner svelte-pzanec"></div></div></div>'), Ye = H('<div class="prize-hub-container svelte-pzanec"><h3 class="svelte-pzanec"> </h3> <p class="svelte-pzanec"> </p></div> <div class="mini-games-card-list svelte-pzanec"></div>', 1), Ze = H('<div class="svelte-pzanec"><p class="svelte-pzanec"> </p></div>'), Xe = H('<div class="main-container svelte-pzanec"><!></div>');
|
|
577
|
+
const Qe = {
|
|
541
578
|
hash: "svelte-pzanec",
|
|
542
|
-
code:
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
animation: svelte-pzanec-spin-cw 1s linear infinite;}
|
|
579
|
+
code: `.svelte-pzanec,
|
|
580
|
+
.svelte-pzanec::before,
|
|
581
|
+
.svelte-pzanec::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;}.main-container.svelte-pzanec {background-color:transparent;width:100%;height:100%;min-height:100%;color:var(--color-text-default, #ffffff);display:flex;flex-direction:column;gap:5px;max-width:700px;margin:0 auto;}.mini-games-card-list.svelte-pzanec {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;}.prize-hub-container.svelte-pzanec {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;}.prize-hub-container.svelte-pzanec h3:where(.svelte-pzanec) {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;}.prize-hub-container.svelte-pzanec p:where(.svelte-pzanec) {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;}.loader-container.svelte-pzanec {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;}.loader.svelte-pzanec {position:relative;width:64px;height:64px;}.loader-ring-outer.svelte-pzanec,
|
|
582
|
+
.loader-ring-inner.svelte-pzanec {position:absolute;border-radius:50%;border:3px solid transparent;}.loader-ring-outer.svelte-pzanec {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
|
|
583
|
+
animation: svelte-pzanec-spin-cw 1s linear infinite;}.loader-ring-inner.svelte-pzanec {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
|
|
547
584
|
animation: svelte-pzanec-spin-ccw 0.75s linear infinite;}
|
|
585
|
+
|
|
548
586
|
@keyframes svelte-pzanec-spin-cw {
|
|
549
587
|
to {
|
|
550
588
|
transform: rotate(360deg);
|
|
@@ -554,255 +592,353 @@ const Ie = {
|
|
|
554
592
|
to {
|
|
555
593
|
transform: rotate(-360deg);
|
|
556
594
|
}
|
|
557
|
-
}
|
|
595
|
+
}
|
|
596
|
+
/* Skeleton (kept for reference, replaced by loader above)
|
|
597
|
+
@keyframes skeleton-pulse {
|
|
598
|
+
0%,
|
|
599
|
+
100% {
|
|
600
|
+
opacity: 0.3;
|
|
601
|
+
}
|
|
602
|
+
50% {
|
|
603
|
+
opacity: 0.6;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.skeleton-row {
|
|
608
|
+
pointer-events: none;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.skeleton-bone {
|
|
612
|
+
display: block;
|
|
613
|
+
border-radius: 4px;
|
|
614
|
+
background-color: var(--color-overlay-neutral-2, #fbfbfb33);
|
|
615
|
+
animation: skeleton-pulse 1.4s ease-in-out infinite;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.skeleton-title {
|
|
619
|
+
width: 40%;
|
|
620
|
+
height: 22px;
|
|
621
|
+
margin-bottom: 8px;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.skeleton-subtitle {
|
|
625
|
+
width: 60%;
|
|
626
|
+
height: 14px;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.skeleton-card {
|
|
630
|
+
display: flex;
|
|
631
|
+
flex-direction: column;
|
|
632
|
+
height: 115px;
|
|
633
|
+
border: 1px solid var(--color-border-subtle, #fbfbfb0d);
|
|
634
|
+
border-radius: 14px;
|
|
635
|
+
background-color: var(--color-overlay-neutral-1, #fbfbfb1a);
|
|
636
|
+
overflow: hidden;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.skeleton-card-image {
|
|
640
|
+
width: 100%;
|
|
641
|
+
height: 70px;
|
|
642
|
+
border-radius: 0;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.skeleton-card-body {
|
|
646
|
+
display: flex;
|
|
647
|
+
justify-content: end;
|
|
648
|
+
height: 50px;
|
|
649
|
+
gap: 8px;
|
|
650
|
+
padding: 12px;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.skeleton-card-button {
|
|
654
|
+
width: 30%;
|
|
655
|
+
height: 25px;
|
|
656
|
+
}
|
|
657
|
+
*/`
|
|
558
658
|
};
|
|
559
|
-
function
|
|
560
|
-
var
|
|
561
|
-
|
|
562
|
-
const
|
|
563
|
-
function
|
|
659
|
+
function ce(A, t) {
|
|
660
|
+
var $, ee;
|
|
661
|
+
ge(t, !0), Me(A, Qe);
|
|
662
|
+
const m = () => He(Ie, "$_", T), [T, w] = Ne(), f = u(t, "endpoint", 7), l = u(t, "session", 7), v = u(t, "requiresOptin", 7, !1), o = u(t, "language", 7, "en"), b = u(t, "outerWheelAsset", 7, null), z = u(t, "wheelButtonAsset", 7, null), x = u(t, "backgroundVideoAsset", 7, null), a = u(t, "liteMode", 7, !1), R = u(t, "translationurl", 7), he = !G() && /iPhone|iPad|iPod/.test(navigator.userAgent), me = G() ? 1 / 0 : ($ = navigator.deviceMemory) != null ? $ : 1 / 0, fe = G() ? 1 / 0 : (ee = navigator.hardwareConcurrency) != null ? ee : 1 / 0;
|
|
663
|
+
function be() {
|
|
564
664
|
try {
|
|
565
|
-
const
|
|
566
|
-
if (!
|
|
567
|
-
const y =
|
|
665
|
+
const n = document.createElement("canvas").getContext("webgl");
|
|
666
|
+
if (!n) return !1;
|
|
667
|
+
const y = n.getExtension("WEBGL_debug_renderer_info");
|
|
568
668
|
if (!y) return !1;
|
|
569
|
-
const
|
|
570
|
-
return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(
|
|
669
|
+
const i = n.getParameter(y.UNMASKED_RENDERER_WEBGL).toLowerCase();
|
|
670
|
+
return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(i);
|
|
571
671
|
} catch (e) {
|
|
572
672
|
return !1;
|
|
573
673
|
}
|
|
574
674
|
}
|
|
575
|
-
const
|
|
576
|
-
|
|
577
|
-
const
|
|
675
|
+
const ye = !G() && !he && (me <= 4 || fe <= 4 || be()), _ = q(() => a() || ye);
|
|
676
|
+
Fe({ withLocale: "en", translations: {} });
|
|
677
|
+
const ve = () => {
|
|
578
678
|
let e = new URL(R());
|
|
579
|
-
fetch(e.href).then((
|
|
580
|
-
Object.keys(
|
|
581
|
-
|
|
679
|
+
fetch(e.href).then((n) => n.json()).then((n) => {
|
|
680
|
+
Object.keys(n).forEach((y) => {
|
|
681
|
+
re(y, n[y]);
|
|
582
682
|
});
|
|
583
|
-
}).catch((
|
|
584
|
-
console.log(
|
|
683
|
+
}).catch((n) => {
|
|
684
|
+
console.log(n);
|
|
585
685
|
});
|
|
586
686
|
};
|
|
587
|
-
Object.keys(
|
|
588
|
-
|
|
589
|
-
}),
|
|
590
|
-
const
|
|
591
|
-
|
|
687
|
+
Object.keys(ue).forEach((e) => {
|
|
688
|
+
re(e, ue[e]);
|
|
689
|
+
}), te(o());
|
|
690
|
+
const ke = () => {
|
|
691
|
+
te(o());
|
|
592
692
|
};
|
|
593
|
-
|
|
594
|
-
R() &&
|
|
595
|
-
}),
|
|
596
|
-
|
|
693
|
+
_e(() => {
|
|
694
|
+
R() && ve();
|
|
695
|
+
}), Ve(() => {
|
|
696
|
+
ke();
|
|
597
697
|
});
|
|
598
|
-
let
|
|
599
|
-
const
|
|
600
|
-
|
|
601
|
-
const e = new URL(`${
|
|
602
|
-
|
|
603
|
-
const y = { method: "GET", headers:
|
|
604
|
-
e.searchParams.append("filter", "wheelOfFortune"), fetch(e, y).then((
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
607
|
-
|
|
698
|
+
let S = D(!1), g = D(Oe([])), V = D(!1), W = D(!1), k = D(null), O = D(!1);
|
|
699
|
+
const we = () => U(this, null, function* () {
|
|
700
|
+
s(S, !0);
|
|
701
|
+
const e = new URL(`${f()}/v1/wof/claimable`), n = new Headers();
|
|
702
|
+
l() && n.append("X-SessionId", l());
|
|
703
|
+
const y = { method: "GET", headers: n, cache: "no-store" };
|
|
704
|
+
e.searchParams.append("filter", "wheelOfFortune"), fetch(e, y).then((i) => i.json()).then((i) => {
|
|
705
|
+
var c, C, F, B;
|
|
706
|
+
if (i && ((c = i.errorMessage) == null ? void 0 : c.trim()) === "InvalidSessionId") {
|
|
707
|
+
s(W, !0), s(S, !1);
|
|
608
708
|
return;
|
|
609
709
|
}
|
|
610
|
-
if ((
|
|
611
|
-
|
|
710
|
+
if ((F = (C = i == null ? void 0 : i.items) == null ? void 0 : C.program) != null && F.canClaim) {
|
|
711
|
+
s(g, (B = i == null ? void 0 : i.items) == null ? void 0 : B.program, !0), s(S, !1);
|
|
612
712
|
return;
|
|
613
713
|
}
|
|
614
|
-
|
|
615
|
-
}).catch((
|
|
616
|
-
console.log(
|
|
617
|
-
}).finally(() =>
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
e
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
714
|
+
s(g, i == null ? void 0 : i.items, !0);
|
|
715
|
+
}).catch((i) => {
|
|
716
|
+
console.log(i), s(V, !0);
|
|
717
|
+
}).finally(() => {
|
|
718
|
+
s(S, !1), M();
|
|
719
|
+
});
|
|
720
|
+
}), ze = ["wheelOfFortune", "flipCoin"].map((e) => `Types[]=${e}`).join(","), Te = () => U(this, null, function* () {
|
|
721
|
+
var y, i;
|
|
722
|
+
s(S, !0);
|
|
723
|
+
const e = new URL(`${f()}/v1/wof/lotteries`), n = new Headers();
|
|
724
|
+
l() && n.append("X-SessionId", l()), e.searchParams.append("filter", ze);
|
|
725
|
+
try {
|
|
726
|
+
const c = yield (yield fetch(e, { method: "GET", headers: n, cache: "no-store" })).json();
|
|
727
|
+
if (((y = c == null ? void 0 : c.errorMessage) == null ? void 0 : y.trim()) === "InvalidSessionId") {
|
|
728
|
+
s(W, !0);
|
|
627
729
|
return;
|
|
628
730
|
}
|
|
629
|
-
|
|
630
|
-
}
|
|
631
|
-
console.log(
|
|
632
|
-
}
|
|
633
|
-
|
|
731
|
+
s(g, ((i = c == null ? void 0 : c.items) != null ? i : []).map((C) => Ee(C, o())), !0), r(g).length === 1 && (s(k, r(g)[0], !0), s(O, !0)), r(g).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
|
|
732
|
+
} catch (c) {
|
|
733
|
+
console.log(c), s(V, !0);
|
|
734
|
+
} finally {
|
|
735
|
+
s(S, !1), M();
|
|
736
|
+
}
|
|
737
|
+
}), Se = (e) => {
|
|
738
|
+
var n;
|
|
739
|
+
return ((n = e == null ? void 0 : e.type) == null ? void 0 : n.toLowerCase()) === "flipcoin";
|
|
740
|
+
}, M = () => {
|
|
741
|
+
const e = Array.isArray(r(g)) ? r(g).length : r(g) ? 1 : 0, n = !!l() && !r(W);
|
|
742
|
+
window.postMessage(
|
|
743
|
+
{
|
|
744
|
+
type: "event_hub_accessed",
|
|
745
|
+
isLoggedIn: n,
|
|
746
|
+
hasMiniGames: n && !r(V) ? e > 0 : null
|
|
747
|
+
},
|
|
748
|
+
window.location.href
|
|
749
|
+
);
|
|
750
|
+
}, Q = (e) => {
|
|
634
751
|
if (e.data)
|
|
635
752
|
switch (e.data.type) {
|
|
636
753
|
case "PlayMiniGame":
|
|
637
|
-
|
|
754
|
+
s(k, r(g).find((n) => n.id === e.data.programId), !0);
|
|
638
755
|
break;
|
|
639
756
|
case "CloseMiniGame":
|
|
640
|
-
|
|
757
|
+
s(k, null), M();
|
|
641
758
|
break;
|
|
642
759
|
case "PrizeGameRemainingTimesUpdated":
|
|
643
|
-
|
|
760
|
+
s(k, e.data.data, !0), s(g, r(g).map((n) => n.id === e.data.data.id ? e.data.data : n), !0);
|
|
644
761
|
break;
|
|
645
762
|
}
|
|
646
763
|
};
|
|
647
|
-
|
|
648
|
-
()
|
|
649
|
-
window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!u() }, window.location.href);
|
|
650
|
-
},
|
|
651
|
-
0
|
|
652
|
-
), u() && (m() ? ve() : ke()), window.addEventListener("message", Y), () => {
|
|
653
|
-
window.removeEventListener("message", Y);
|
|
764
|
+
Be(() => (l() || setTimeout(M, 0), l() && (v() ? we() : Te()), window.addEventListener("message", Q), () => {
|
|
765
|
+
window.removeEventListener("message", Q);
|
|
654
766
|
}));
|
|
655
|
-
var
|
|
767
|
+
var Ae = {
|
|
656
768
|
get endpoint() {
|
|
657
|
-
return
|
|
769
|
+
return f();
|
|
658
770
|
},
|
|
659
771
|
set endpoint(e) {
|
|
660
|
-
|
|
772
|
+
f(e), d();
|
|
661
773
|
},
|
|
662
774
|
get session() {
|
|
663
|
-
return
|
|
775
|
+
return l();
|
|
664
776
|
},
|
|
665
777
|
set session(e) {
|
|
666
|
-
|
|
778
|
+
l(e), d();
|
|
667
779
|
},
|
|
668
780
|
get requiresOptin() {
|
|
669
|
-
return
|
|
781
|
+
return v();
|
|
670
782
|
},
|
|
671
783
|
set requiresOptin(e = !1) {
|
|
672
|
-
|
|
784
|
+
v(e), d();
|
|
673
785
|
},
|
|
674
786
|
get language() {
|
|
675
787
|
return o();
|
|
676
788
|
},
|
|
677
789
|
set language(e = "en") {
|
|
678
|
-
o(e),
|
|
790
|
+
o(e), d();
|
|
679
791
|
},
|
|
680
792
|
get outerWheelAsset() {
|
|
681
|
-
return
|
|
793
|
+
return b();
|
|
682
794
|
},
|
|
683
795
|
set outerWheelAsset(e = null) {
|
|
684
|
-
|
|
796
|
+
b(e), d();
|
|
685
797
|
},
|
|
686
798
|
get wheelButtonAsset() {
|
|
687
|
-
return
|
|
799
|
+
return z();
|
|
688
800
|
},
|
|
689
801
|
set wheelButtonAsset(e = null) {
|
|
690
|
-
|
|
802
|
+
z(e), d();
|
|
691
803
|
},
|
|
692
804
|
get backgroundVideoAsset() {
|
|
693
|
-
return
|
|
805
|
+
return x();
|
|
694
806
|
},
|
|
695
807
|
set backgroundVideoAsset(e = null) {
|
|
696
|
-
|
|
808
|
+
x(e), d();
|
|
697
809
|
},
|
|
698
810
|
get liteMode() {
|
|
699
|
-
return
|
|
811
|
+
return a();
|
|
700
812
|
},
|
|
701
813
|
set liteMode(e = !1) {
|
|
702
|
-
|
|
814
|
+
a(e), d();
|
|
703
815
|
},
|
|
704
816
|
get translationurl() {
|
|
705
817
|
return R();
|
|
706
818
|
},
|
|
707
819
|
set translationurl(e) {
|
|
708
|
-
R(e),
|
|
820
|
+
R(e), d();
|
|
709
821
|
}
|
|
710
|
-
},
|
|
822
|
+
}, E = Xe(), xe = Z(E);
|
|
711
823
|
{
|
|
712
|
-
var
|
|
713
|
-
var
|
|
714
|
-
|
|
715
|
-
},
|
|
716
|
-
var
|
|
824
|
+
var Ce = (e) => {
|
|
825
|
+
var n = Ue();
|
|
826
|
+
P(e, n);
|
|
827
|
+
}, De = (e) => {
|
|
828
|
+
var n = Ge(), y = ae(n);
|
|
717
829
|
{
|
|
718
|
-
var
|
|
719
|
-
|
|
830
|
+
var i = (p) => {
|
|
831
|
+
le(p, {
|
|
720
832
|
get outerWheelAsset() {
|
|
721
|
-
return
|
|
833
|
+
return b();
|
|
722
834
|
},
|
|
723
835
|
get wheelButtonAsset() {
|
|
724
|
-
return
|
|
836
|
+
return z();
|
|
725
837
|
},
|
|
726
838
|
get backgroundVideoAsset() {
|
|
727
|
-
return
|
|
839
|
+
return x();
|
|
728
840
|
},
|
|
729
841
|
get language() {
|
|
730
842
|
return o();
|
|
731
843
|
},
|
|
732
844
|
get liteMode() {
|
|
733
|
-
return
|
|
845
|
+
return r(_);
|
|
734
846
|
}
|
|
735
847
|
});
|
|
736
|
-
},
|
|
848
|
+
}, c = (p) => {
|
|
737
849
|
{
|
|
738
|
-
let
|
|
739
|
-
|
|
850
|
+
let h = q(() => !r(O));
|
|
851
|
+
Je(p, {
|
|
740
852
|
get program() {
|
|
741
|
-
return
|
|
853
|
+
return r(k);
|
|
742
854
|
},
|
|
743
855
|
get endpoint() {
|
|
744
|
-
return
|
|
856
|
+
return f();
|
|
745
857
|
},
|
|
746
858
|
get language() {
|
|
747
859
|
return o();
|
|
748
860
|
},
|
|
749
861
|
get session() {
|
|
750
|
-
return
|
|
862
|
+
return l();
|
|
863
|
+
},
|
|
864
|
+
get showBackButton() {
|
|
865
|
+
return r(h);
|
|
866
|
+
},
|
|
867
|
+
get liteMode() {
|
|
868
|
+
return r(_);
|
|
869
|
+
}
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
}, C = q(() => r(k) && Se(r(k))), F = (p) => {
|
|
873
|
+
{
|
|
874
|
+
let h = q(() => !r(O));
|
|
875
|
+
le(p, {
|
|
876
|
+
get program() {
|
|
877
|
+
return r(k);
|
|
878
|
+
},
|
|
879
|
+
get endpoint() {
|
|
880
|
+
return f();
|
|
881
|
+
},
|
|
882
|
+
get language() {
|
|
883
|
+
return o();
|
|
884
|
+
},
|
|
885
|
+
get session() {
|
|
886
|
+
return l();
|
|
751
887
|
},
|
|
752
888
|
get outerWheelAsset() {
|
|
753
|
-
return
|
|
889
|
+
return b();
|
|
754
890
|
},
|
|
755
891
|
get wheelButtonAsset() {
|
|
756
|
-
return
|
|
892
|
+
return z();
|
|
757
893
|
},
|
|
758
894
|
get backgroundVideoAsset() {
|
|
759
|
-
return
|
|
895
|
+
return x();
|
|
760
896
|
},
|
|
761
897
|
get showBackButton() {
|
|
762
|
-
return
|
|
898
|
+
return r(h);
|
|
763
899
|
},
|
|
764
900
|
get liteMode() {
|
|
765
|
-
return
|
|
901
|
+
return r(_);
|
|
766
902
|
}
|
|
767
903
|
});
|
|
768
904
|
}
|
|
769
|
-
},
|
|
770
|
-
var
|
|
771
|
-
|
|
772
|
-
var
|
|
773
|
-
|
|
774
|
-
|
|
905
|
+
}, B = (p) => {
|
|
906
|
+
var h = Ye(), j = ae(h), N = Z(j), I = X(N, !0), Re = oe(N, 2), We = X(Re, !0);
|
|
907
|
+
L(j);
|
|
908
|
+
var ne = oe(j, 2);
|
|
909
|
+
Le(ne, 21, () => r(g), qe, (J, K) => {
|
|
910
|
+
Ke(J, {
|
|
775
911
|
get program() {
|
|
776
|
-
return
|
|
912
|
+
return r(K);
|
|
777
913
|
}
|
|
778
914
|
});
|
|
779
|
-
}),
|
|
780
|
-
(
|
|
781
|
-
|
|
915
|
+
}), L(ne), se(
|
|
916
|
+
(J, K) => {
|
|
917
|
+
Y(I, J), Y(We, K);
|
|
782
918
|
},
|
|
783
|
-
[() =>
|
|
784
|
-
),
|
|
785
|
-
},
|
|
786
|
-
var
|
|
787
|
-
|
|
919
|
+
[() => m()("hubTitle"), () => m()("hubSubtitle")]
|
|
920
|
+
), P(p, h);
|
|
921
|
+
}, Pe = (p) => {
|
|
922
|
+
var h = Ze(), j = Z(h), N = X(j, !0);
|
|
923
|
+
L(h), se((I) => Y(N, I), [() => m()("noContent")]), P(p, h);
|
|
788
924
|
};
|
|
789
|
-
|
|
790
|
-
var
|
|
791
|
-
!
|
|
925
|
+
ie(y, (p) => {
|
|
926
|
+
var h;
|
|
927
|
+
!l() || r(W) ? p(i) : r(C) ? p(c, 1) : r(k) ? p(F, 2) : ((h = r(g)) == null ? void 0 : h.length) > 1 ? p(B, 3) : p(Pe, -1);
|
|
792
928
|
});
|
|
793
929
|
}
|
|
794
|
-
|
|
930
|
+
P(e, n);
|
|
795
931
|
};
|
|
796
|
-
|
|
797
|
-
|
|
932
|
+
ie(xe, (e) => {
|
|
933
|
+
r(S) ? e(Ce) : e(De, -1);
|
|
798
934
|
});
|
|
799
935
|
}
|
|
800
|
-
|
|
801
|
-
var
|
|
802
|
-
return
|
|
936
|
+
L(E), P(A, E);
|
|
937
|
+
var je = pe(Ae);
|
|
938
|
+
return w(), je;
|
|
803
939
|
}
|
|
804
|
-
|
|
805
|
-
|
|
940
|
+
de(
|
|
941
|
+
ce,
|
|
806
942
|
{
|
|
807
943
|
endpoint: {},
|
|
808
944
|
session: {},
|
|
@@ -818,97 +954,97 @@ le(
|
|
|
818
954
|
[],
|
|
819
955
|
{ mode: "open" }
|
|
820
956
|
);
|
|
821
|
-
function
|
|
822
|
-
|
|
823
|
-
let
|
|
824
|
-
var
|
|
957
|
+
function $e(A, t) {
|
|
958
|
+
ge(t, !0);
|
|
959
|
+
let m = u(t, "endpoint", 7), T = u(t, "session", 7), w = u(t, "requiresOptin", 7, !1), f = u(t, "language", 7, "en"), l = u(t, "outerWheelAsset", 7, null), v = u(t, "wheelButtonAsset", 7, null), o = u(t, "backgroundVideoAsset", 7, null), b = u(t, "liteMode", 7, !1), z = u(t, "translationurl", 7);
|
|
960
|
+
var x = {
|
|
825
961
|
get endpoint() {
|
|
826
|
-
return
|
|
962
|
+
return m();
|
|
827
963
|
},
|
|
828
|
-
set endpoint(
|
|
829
|
-
|
|
964
|
+
set endpoint(a) {
|
|
965
|
+
m(a), d();
|
|
830
966
|
},
|
|
831
967
|
get session() {
|
|
832
|
-
return
|
|
968
|
+
return T();
|
|
833
969
|
},
|
|
834
|
-
set session(
|
|
835
|
-
|
|
970
|
+
set session(a) {
|
|
971
|
+
T(a), d();
|
|
836
972
|
},
|
|
837
973
|
get requiresOptin() {
|
|
838
|
-
return
|
|
974
|
+
return w();
|
|
839
975
|
},
|
|
840
|
-
set requiresOptin(
|
|
841
|
-
|
|
976
|
+
set requiresOptin(a = !1) {
|
|
977
|
+
w(a), d();
|
|
842
978
|
},
|
|
843
979
|
get language() {
|
|
844
|
-
return
|
|
980
|
+
return f();
|
|
845
981
|
},
|
|
846
|
-
set language(
|
|
847
|
-
|
|
982
|
+
set language(a = "en") {
|
|
983
|
+
f(a), d();
|
|
848
984
|
},
|
|
849
985
|
get outerWheelAsset() {
|
|
850
|
-
return
|
|
986
|
+
return l();
|
|
851
987
|
},
|
|
852
|
-
set outerWheelAsset(
|
|
853
|
-
|
|
988
|
+
set outerWheelAsset(a = null) {
|
|
989
|
+
l(a), d();
|
|
854
990
|
},
|
|
855
991
|
get wheelButtonAsset() {
|
|
856
|
-
return
|
|
992
|
+
return v();
|
|
857
993
|
},
|
|
858
|
-
set wheelButtonAsset(
|
|
859
|
-
|
|
994
|
+
set wheelButtonAsset(a = null) {
|
|
995
|
+
v(a), d();
|
|
860
996
|
},
|
|
861
997
|
get backgroundVideoAsset() {
|
|
862
998
|
return o();
|
|
863
999
|
},
|
|
864
|
-
set backgroundVideoAsset(
|
|
865
|
-
o(
|
|
1000
|
+
set backgroundVideoAsset(a = null) {
|
|
1001
|
+
o(a), d();
|
|
866
1002
|
},
|
|
867
1003
|
get liteMode() {
|
|
868
|
-
return
|
|
1004
|
+
return b();
|
|
869
1005
|
},
|
|
870
|
-
set liteMode(
|
|
871
|
-
|
|
1006
|
+
set liteMode(a = !1) {
|
|
1007
|
+
b(a), d();
|
|
872
1008
|
},
|
|
873
1009
|
get translationurl() {
|
|
874
|
-
return
|
|
1010
|
+
return z();
|
|
875
1011
|
},
|
|
876
|
-
set translationurl(
|
|
877
|
-
|
|
1012
|
+
set translationurl(a) {
|
|
1013
|
+
z(a), d();
|
|
878
1014
|
}
|
|
879
1015
|
};
|
|
880
|
-
return
|
|
1016
|
+
return ce(A, {
|
|
881
1017
|
get endpoint() {
|
|
882
|
-
return
|
|
1018
|
+
return m();
|
|
883
1019
|
},
|
|
884
1020
|
get session() {
|
|
885
|
-
return
|
|
1021
|
+
return T();
|
|
886
1022
|
},
|
|
887
1023
|
get requiresOptin() {
|
|
888
|
-
return
|
|
1024
|
+
return w();
|
|
889
1025
|
},
|
|
890
1026
|
get language() {
|
|
891
|
-
return
|
|
1027
|
+
return f();
|
|
892
1028
|
},
|
|
893
1029
|
get outerWheelAsset() {
|
|
894
|
-
return
|
|
1030
|
+
return l();
|
|
895
1031
|
},
|
|
896
1032
|
get wheelButtonAsset() {
|
|
897
|
-
return
|
|
1033
|
+
return v();
|
|
898
1034
|
},
|
|
899
1035
|
get backgroundVideoAsset() {
|
|
900
1036
|
return o();
|
|
901
1037
|
},
|
|
902
1038
|
get liteMode() {
|
|
903
|
-
return
|
|
1039
|
+
return b();
|
|
904
1040
|
},
|
|
905
1041
|
get translationurl() {
|
|
906
|
-
return
|
|
1042
|
+
return z();
|
|
907
1043
|
}
|
|
908
|
-
}),
|
|
1044
|
+
}), pe(x);
|
|
909
1045
|
}
|
|
910
|
-
customElements.define("mini-games-hub",
|
|
911
|
-
|
|
1046
|
+
customElements.define("mini-games-hub", de(
|
|
1047
|
+
$e,
|
|
912
1048
|
{
|
|
913
1049
|
endpoint: { attribute: "endpoint", type: "String" },
|
|
914
1050
|
session: { attribute: "session", type: "String" },
|
|
@@ -924,5 +1060,5 @@ customElements.define("mini-games-hub", le(
|
|
|
924
1060
|
[]
|
|
925
1061
|
));
|
|
926
1062
|
export {
|
|
927
|
-
|
|
1063
|
+
$e as default
|
|
928
1064
|
};
|