@everymatrix/mini-games-hub 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/components/{GameCard-CYdVVTcL.js → GameCard-B3YKo9k6.js} +30 -30
  2. package/components/{GameCard-QmoS59XQ.js → GameCard-BQ6hFy67.js} +30 -30
  3. package/components/{GameCard-8BFvabU5.cjs → GameCard-C-zSlvo1.cjs} +3 -3
  4. package/components/GameCard-vgoswSWl.cjs +3 -0
  5. package/components/{MiniGamesHub-C9am57eJ.js → MiniGamesHub-C0q9vZFD.js} +287 -736
  6. package/components/MiniGamesHub-CfiDjCz7.cjs +16 -0
  7. package/components/{MiniGamesHub-DyGuSoR2.js → MiniGamesHub-D5Y5OYt-.js} +267 -756
  8. package/components/MiniGamesHub-DYwmUNTy.cjs +16 -0
  9. package/components/WheelOfFortune-2WKhJAdZ.cjs +617 -0
  10. package/components/{WheelOfFortune-RHE9xBAC.cjs → WheelOfFortune-BJ9iMr53.cjs} +1 -1
  11. package/components/{WheelOfFortune-kaN0fwVR.js → WheelOfFortune-DC57_QGF.js} +5 -5
  12. package/components/{WheelOfFortune-ZxcSVMfw.js → WheelOfFortune-u6v6YLc5.js} +5 -5
  13. package/components/WheelOfFortuneDrawResults-BKkTmsVC.cjs +1 -0
  14. package/components/{WheelOfFortuneDrawResults-N4gTWA1Q.js → WheelOfFortuneDrawResults-D3rgrYi_.js} +2 -2
  15. package/components/{WheelOfFortuneDrawResults-DWNjltAi.cjs → WheelOfFortuneDrawResults-DTufAeXD.cjs} +1 -1
  16. package/components/{WheelOfFortuneDrawResults-BkeJ179O.js → WheelOfFortuneDrawResults-gx2xkUtF.js} +2 -2
  17. package/components/WheelOfFortuneHistory-B-Yadw5p.js +213 -0
  18. package/components/{WheelOfFortuneHistory-ClStJRIB.cjs → WheelOfFortuneHistory-DdXxYW6M.cjs} +5 -6
  19. package/components/WheelOfFortuneHistory-DhFZUmGd.cjs +12 -0
  20. package/components/{WheelOfFortuneHistory-D1EcBSTP.js → WheelOfFortuneHistory-IM5H-der.js} +77 -78
  21. package/components/WheelOfFortuneRules-BM75DT61.js +107 -0
  22. package/components/WheelOfFortuneRules-D-xnWFIU.cjs +3 -0
  23. package/components/WheelOfFortuneRules-DkQOlpqR.js +118 -0
  24. package/components/WheelOfFortuneRules-_a2c-LEy.cjs +3 -0
  25. package/components/WheelOfFortuneWheel-CUs0nOjA.cjs +3 -0
  26. package/components/{WheelOfFortuneWheel-C7SxKPAD.cjs → WheelOfFortuneWheel-D9nXwM0H.cjs} +1 -1
  27. package/components/{WheelOfFortuneWheel-COOZH6--.js → WheelOfFortuneWheel-D_tfW-rK.js} +1 -1
  28. package/components/{WheelOfFortuneWheel-D8QRG4xb.js → WheelOfFortuneWheel-DmTRvIN6.js} +1 -1
  29. package/components/sparkles-DplvhrIm.cjs +1 -0
  30. package/components/spin-controller-HS3m99tB.cjs +1 -0
  31. package/components/{utils-wnIzjZal.js → utils-B86dsoC-.js} +22 -21
  32. package/components/{utils-d6rcfAwp.js → utils-BtFS7k_l.js} +22 -21
  33. package/components/utils-By_D2O28.cjs +3 -0
  34. package/components/{utils-BAUifQls.cjs → utils-CSIl6eA7.cjs} +1 -1
  35. package/es2015/mini-games-hub.cjs +1 -1
  36. package/es2015/mini-games-hub.js +1 -1
  37. package/esnext/mini-games-hub.cjs +1 -0
  38. package/esnext/mini-games-hub.js +1 -1
  39. package/package.json +12 -11
  40. package/components/MiniGamesHub-ym_blJPQ.cjs +0 -94
  41. package/components/WheelOfFortuneHistory-BuSnWEtS.js +0 -214
  42. package/components/WheelOfFortuneRules-C6rN9zFn.cjs +0 -5
  43. package/components/WheelOfFortuneRules-DmdPkzHe.js +0 -109
  44. package/components/WheelOfFortuneRules-L9sAOXJI.js +0 -120
@@ -1,8 +1,24 @@
1
- import { a5 as Ve, bl as Ue, ad as Je, b1 as D, aQ as Ye, a9 as Ke, aU as k, b6 as U, L as h, b9 as C, aJ as p, bm as Ze, b2 as se, bf as J, b5 as le, ar as ue, bb as de, b3 as Xe } from "./utils-wnIzjZal.js";
2
- import { c as Qe, a as $e, p as S, x as er, y as ce, z as pe, o as rr, i as he, b as q, f as O, e as nr, k as tr, g as ir, h as or, j as Y, s as ar } from "./WheelOfFortuneWheel-COOZH6--.js";
3
- import { W as ge } from "./WheelOfFortune-ZxcSVMfw.js";
4
- import { G as sr } from "./GameCard-QmoS59XQ.js";
5
- const fe = {
1
+ var F = (T, t, g) => new Promise((z, v) => {
2
+ var h = (o) => {
3
+ try {
4
+ m(g.next(o));
5
+ } catch (c) {
6
+ v(c);
7
+ }
8
+ }, u = (o) => {
9
+ try {
10
+ m(g.throw(o));
11
+ } catch (c) {
12
+ v(c);
13
+ }
14
+ }, m = (o) => o.done ? z(o.value) : Promise.resolve(o.value).then(h, u);
15
+ m((g = g.apply(T, t)).next());
16
+ });
17
+ import { a as xe, p as s, x as Pe, y as $, z as ee, o as We, i as ne, b as W, e as Re, f as G, c as le, k as Ce, g as Ne, h as Be, j as O, s as Me } from "./WheelOfFortuneWheel-DmTRvIN6.js";
18
+ import { bl as B, bm as Ge, ad as Le, b1 as x, aQ as qe, a9 as ue, aU as l, a5 as de, L as d, aJ as a, bn as He, b6 as E, b2 as re, ba as M, b9 as J, b3 as te, ar as ie, bb as ae, b4 as _e } from "./utils-BtFS7k_l.js";
19
+ import { W as oe } from "./WheelOfFortune-DC57_QGF.js";
20
+ import { G as Ve } from "./GameCard-B3YKo9k6.js";
21
+ const se = {
6
22
  en: {
7
23
  noContent: "You don't have any lottery programs available now.",
8
24
  hubTitle: "Prize Hub",
@@ -520,844 +536,379 @@ const fe = {
520
536
  }
521
537
  }
522
538
  };
523
- /*! *****************************************************************************
524
- Copyright (c) Microsoft Corporation.
525
-
526
- Permission to use, copy, modify, and/or distribute this software for any
527
- purpose with or without fee is hereby granted.
528
-
529
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
530
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
531
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
532
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
533
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
534
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
535
- PERFORMANCE OF THIS SOFTWARE.
536
- ***************************************************************************** */
537
- var Z = function(n, r) {
538
- return Z = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
539
- e.__proto__ = t;
540
- } || function(e, t) {
541
- for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
542
- }, Z(n, r);
543
- };
544
- function R(n, r) {
545
- if (typeof r != "function" && r !== null)
546
- throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
547
- Z(n, r);
548
- function e() {
549
- this.constructor = n;
550
- }
551
- n.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
552
- }
553
- function X(n) {
554
- var r = typeof Symbol == "function" && Symbol.iterator, e = r && n[r], t = 0;
555
- if (e) return e.call(n);
556
- if (n && typeof n.length == "number") return {
557
- next: function() {
558
- return n && t >= n.length && (n = void 0), { value: n && n[t++], done: !n };
559
- }
560
- };
561
- throw new TypeError(r ? "Object is not iterable." : "Symbol.iterator is not defined.");
562
- }
563
- function Q(n, r) {
564
- var e = typeof Symbol == "function" && n[Symbol.iterator];
565
- if (!e) return n;
566
- var t = e.call(n), i, o = [], a;
567
- try {
568
- for (; (r === void 0 || r-- > 0) && !(i = t.next()).done; ) o.push(i.value);
569
- } catch (l) {
570
- a = { error: l };
571
- } finally {
572
- try {
573
- i && !i.done && (e = t.return) && e.call(t);
574
- } finally {
575
- if (a) throw a.error;
576
- }
577
- }
578
- return o;
579
- }
580
- function $(n, r, e) {
581
- if (arguments.length === 2) for (var t = 0, i = r.length, o; t < i; t++)
582
- (o || !(t in r)) && (o || (o = Array.prototype.slice.call(r, 0, t)), o[t] = r[t]);
583
- return n.concat(o || r);
584
- }
585
- function T(n) {
586
- return typeof n == "function";
587
- }
588
- function Te(n) {
589
- var r = function(t) {
590
- Error.call(t), t.stack = new Error().stack;
591
- }, e = n(r);
592
- return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
593
- }
594
- var K = Te(function(n) {
595
- return function(e) {
596
- n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
597
- ` + e.map(function(t, i) {
598
- return i + 1 + ") " + t.toString();
599
- }).join(`
600
- `) : "", this.name = "UnsubscriptionError", this.errors = e;
601
- };
602
- });
603
- function ee(n, r) {
604
- if (n) {
605
- var e = n.indexOf(r);
606
- 0 <= e && n.splice(e, 1);
607
- }
608
- }
609
- var B = function() {
610
- function n(r) {
611
- this.initialTeardown = r, this.closed = !1, this._parentage = null, this._finalizers = null;
612
- }
613
- return n.prototype.unsubscribe = function() {
614
- var r, e, t, i, o;
615
- if (!this.closed) {
616
- this.closed = !0;
617
- var a = this._parentage;
618
- if (a)
619
- if (this._parentage = null, Array.isArray(a))
620
- try {
621
- for (var l = X(a), u = l.next(); !u.done; u = l.next()) {
622
- var f = u.value;
623
- f.remove(this);
624
- }
625
- } catch (g) {
626
- r = { error: g };
627
- } finally {
628
- try {
629
- u && !u.done && (e = l.return) && e.call(l);
630
- } finally {
631
- if (r) throw r.error;
632
- }
633
- }
634
- else
635
- a.remove(this);
636
- var m = this.initialTeardown;
637
- if (T(m))
638
- try {
639
- m();
640
- } catch (g) {
641
- o = g instanceof K ? g.errors : [g];
642
- }
643
- var j = this._finalizers;
644
- if (j) {
645
- this._finalizers = null;
646
- try {
647
- for (var z = X(j), w = z.next(); !w.done; w = z.next()) {
648
- var N = w.value;
649
- try {
650
- me(N);
651
- } catch (g) {
652
- o = o ?? [], g instanceof K ? o = $($([], Q(o)), Q(g.errors)) : o.push(g);
653
- }
654
- }
655
- } catch (g) {
656
- t = { error: g };
657
- } finally {
658
- try {
659
- w && !w.done && (i = z.return) && i.call(z);
660
- } finally {
661
- if (t) throw t.error;
662
- }
663
- }
664
- }
665
- if (o)
666
- throw new K(o);
667
- }
668
- }, n.prototype.add = function(r) {
669
- var e;
670
- if (r && r !== this)
671
- if (this.closed)
672
- me(r);
673
- else {
674
- if (r instanceof n) {
675
- if (r.closed || r._hasParent(this))
676
- return;
677
- r._addParent(this);
678
- }
679
- (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(r);
680
- }
681
- }, n.prototype._hasParent = function(r) {
682
- var e = this._parentage;
683
- return e === r || Array.isArray(e) && e.includes(r);
684
- }, n.prototype._addParent = function(r) {
685
- var e = this._parentage;
686
- this._parentage = Array.isArray(e) ? (e.push(r), e) : e ? [e, r] : r;
687
- }, n.prototype._removeParent = function(r) {
688
- var e = this._parentage;
689
- e === r ? this._parentage = null : Array.isArray(e) && ee(e, r);
690
- }, n.prototype.remove = function(r) {
691
- var e = this._finalizers;
692
- e && ee(e, r), r instanceof n && r._removeParent(this);
693
- }, n.EMPTY = function() {
694
- var r = new n();
695
- return r.closed = !0, r;
696
- }(), n;
697
- }(), ze = B.EMPTY;
698
- function xe(n) {
699
- return n instanceof B || n && "closed" in n && T(n.remove) && T(n.add) && T(n.unsubscribe);
700
- }
701
- function me(n) {
702
- T(n) ? n() : n.unsubscribe();
703
- }
704
- var lr = {
705
- Promise: void 0
706
- }, ur = {
707
- setTimeout: function(n, r) {
708
- for (var e = [], t = 2; t < arguments.length; t++)
709
- e[t - 2] = arguments[t];
710
- return setTimeout.apply(void 0, $([n, r], Q(e)));
711
- },
712
- clearTimeout: function(n) {
713
- return clearTimeout(n);
714
- },
715
- delegate: void 0
716
- };
717
- function dr(n) {
718
- ur.setTimeout(function() {
719
- throw n;
720
- });
721
- }
722
- function ve() {
723
- }
724
- function M(n) {
725
- n();
726
- }
727
- var _e = function(n) {
728
- R(r, n);
729
- function r(e) {
730
- var t = n.call(this) || this;
731
- return t.isStopped = !1, e ? (t.destination = e, xe(e) && e.add(t)) : t.destination = hr, t;
732
- }
733
- return r.create = function(e, t, i) {
734
- return new re(e, t, i);
735
- }, r.prototype.next = function(e) {
736
- this.isStopped || this._next(e);
737
- }, r.prototype.error = function(e) {
738
- this.isStopped || (this.isStopped = !0, this._error(e));
739
- }, r.prototype.complete = function() {
740
- this.isStopped || (this.isStopped = !0, this._complete());
741
- }, r.prototype.unsubscribe = function() {
742
- this.closed || (this.isStopped = !0, n.prototype.unsubscribe.call(this), this.destination = null);
743
- }, r.prototype._next = function(e) {
744
- this.destination.next(e);
745
- }, r.prototype._error = function(e) {
746
- try {
747
- this.destination.error(e);
748
- } finally {
749
- this.unsubscribe();
750
- }
751
- }, r.prototype._complete = function() {
752
- try {
753
- this.destination.complete();
754
- } finally {
755
- this.unsubscribe();
756
- }
757
- }, r;
758
- }(B), cr = function() {
759
- function n(r) {
760
- this.partialObserver = r;
761
- }
762
- return n.prototype.next = function(r) {
763
- var e = this.partialObserver;
764
- if (e.next)
765
- try {
766
- e.next(r);
767
- } catch (t) {
768
- E(t);
769
- }
770
- }, n.prototype.error = function(r) {
771
- var e = this.partialObserver;
772
- if (e.error)
773
- try {
774
- e.error(r);
775
- } catch (t) {
776
- E(t);
777
- }
778
- else
779
- E(r);
780
- }, n.prototype.complete = function() {
781
- var r = this.partialObserver;
782
- if (r.complete)
783
- try {
784
- r.complete();
785
- } catch (e) {
786
- E(e);
787
- }
788
- }, n;
789
- }(), re = function(n) {
790
- R(r, n);
791
- function r(e, t, i) {
792
- var o = n.call(this) || this, a;
793
- return T(e) || !e ? a = {
794
- next: e ?? void 0,
795
- error: t ?? void 0,
796
- complete: i ?? void 0
797
- } : a = e, o.destination = new cr(a), o;
798
- }
799
- return r;
800
- }(_e);
801
- function E(n) {
802
- dr(n);
803
- }
804
- function pr(n) {
805
- throw n;
806
- }
807
- var hr = {
808
- closed: !0,
809
- next: ve,
810
- error: pr,
811
- complete: ve
812
- }, gr = function() {
813
- return typeof Symbol == "function" && Symbol.observable || "@@observable";
814
- }();
815
- function fr(n) {
816
- return n;
817
- }
818
- function mr(n) {
819
- return n.length === 0 ? fr : n.length === 1 ? n[0] : function(e) {
820
- return n.reduce(function(t, i) {
821
- return i(t);
822
- }, e);
823
- };
824
- }
825
- var be = function() {
826
- function n(r) {
827
- r && (this._subscribe = r);
828
- }
829
- return n.prototype.lift = function(r) {
830
- var e = new n();
831
- return e.source = this, e.operator = r, e;
832
- }, n.prototype.subscribe = function(r, e, t) {
833
- var i = this, o = br(r) ? r : new re(r, e, t);
834
- return M(function() {
835
- var a = i, l = a.operator, u = a.source;
836
- o.add(l ? l.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
837
- }), o;
838
- }, n.prototype._trySubscribe = function(r) {
839
- try {
840
- return this._subscribe(r);
841
- } catch (e) {
842
- r.error(e);
843
- }
844
- }, n.prototype.forEach = function(r, e) {
845
- var t = this;
846
- return e = ye(e), new e(function(i, o) {
847
- var a = new re({
848
- next: function(l) {
849
- try {
850
- r(l);
851
- } catch (u) {
852
- o(u), a.unsubscribe();
853
- }
854
- },
855
- error: o,
856
- complete: i
857
- });
858
- t.subscribe(a);
859
- });
860
- }, n.prototype._subscribe = function(r) {
861
- var e;
862
- return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(r);
863
- }, n.prototype[gr] = function() {
864
- return this;
865
- }, n.prototype.pipe = function() {
866
- for (var r = [], e = 0; e < arguments.length; e++)
867
- r[e] = arguments[e];
868
- return mr(r)(this);
869
- }, n.prototype.toPromise = function(r) {
870
- var e = this;
871
- return r = ye(r), new r(function(t, i) {
872
- var o;
873
- e.subscribe(function(a) {
874
- return o = a;
875
- }, function(a) {
876
- return i(a);
877
- }, function() {
878
- return t(o);
879
- });
880
- });
881
- }, n.create = function(r) {
882
- return new n(r);
883
- }, n;
884
- }();
885
- function ye(n) {
886
- var r;
887
- return (r = n ?? lr.Promise) !== null && r !== void 0 ? r : Promise;
888
- }
889
- function vr(n) {
890
- return n && T(n.next) && T(n.error) && T(n.complete);
891
- }
892
- function br(n) {
893
- return n && n instanceof _e || vr(n) && xe(n);
894
- }
895
- var yr = Te(function(n) {
896
- return function() {
897
- n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
898
- };
899
- }), je = function(n) {
900
- R(r, n);
901
- function r() {
902
- var e = n.call(this) || this;
903
- return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
904
- }
905
- return r.prototype.lift = function(e) {
906
- var t = new we(this, this);
907
- return t.operator = e, t;
908
- }, r.prototype._throwIfClosed = function() {
909
- if (this.closed)
910
- throw new yr();
911
- }, r.prototype.next = function(e) {
912
- var t = this;
913
- M(function() {
914
- var i, o;
915
- if (t._throwIfClosed(), !t.isStopped) {
916
- t.currentObservers || (t.currentObservers = Array.from(t.observers));
917
- try {
918
- for (var a = X(t.currentObservers), l = a.next(); !l.done; l = a.next()) {
919
- var u = l.value;
920
- u.next(e);
921
- }
922
- } catch (f) {
923
- i = { error: f };
924
- } finally {
925
- try {
926
- l && !l.done && (o = a.return) && o.call(a);
927
- } finally {
928
- if (i) throw i.error;
929
- }
930
- }
931
- }
932
- });
933
- }, r.prototype.error = function(e) {
934
- var t = this;
935
- M(function() {
936
- if (t._throwIfClosed(), !t.isStopped) {
937
- t.hasError = t.isStopped = !0, t.thrownError = e;
938
- for (var i = t.observers; i.length; )
939
- i.shift().error(e);
940
- }
941
- });
942
- }, r.prototype.complete = function() {
943
- var e = this;
944
- M(function() {
945
- if (e._throwIfClosed(), !e.isStopped) {
946
- e.isStopped = !0;
947
- for (var t = e.observers; t.length; )
948
- t.shift().complete();
949
- }
950
- });
951
- }, r.prototype.unsubscribe = function() {
952
- this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
953
- }, Object.defineProperty(r.prototype, "observed", {
954
- get: function() {
955
- var e;
956
- return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
957
- },
958
- enumerable: !1,
959
- configurable: !0
960
- }), r.prototype._trySubscribe = function(e) {
961
- return this._throwIfClosed(), n.prototype._trySubscribe.call(this, e);
962
- }, r.prototype._subscribe = function(e) {
963
- return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
964
- }, r.prototype._innerSubscribe = function(e) {
965
- var t = this, i = this, o = i.hasError, a = i.isStopped, l = i.observers;
966
- return o || a ? ze : (this.currentObservers = null, l.push(e), new B(function() {
967
- t.currentObservers = null, ee(l, e);
968
- }));
969
- }, r.prototype._checkFinalizedStatuses = function(e) {
970
- var t = this, i = t.hasError, o = t.thrownError, a = t.isStopped;
971
- i ? e.error(o) : a && e.complete();
972
- }, r.prototype.asObservable = function() {
973
- var e = new be();
974
- return e.source = this, e;
975
- }, r.create = function(e, t) {
976
- return new we(e, t);
977
- }, r;
978
- }(be), we = function(n) {
979
- R(r, n);
980
- function r(e, t) {
981
- var i = n.call(this) || this;
982
- return i.destination = e, i.source = t, i;
983
- }
984
- return r.prototype.next = function(e) {
985
- var t, i;
986
- (i = (t = this.destination) === null || t === void 0 ? void 0 : t.next) === null || i === void 0 || i.call(t, e);
987
- }, r.prototype.error = function(e) {
988
- var t, i;
989
- (i = (t = this.destination) === null || t === void 0 ? void 0 : t.error) === null || i === void 0 || i.call(t, e);
990
- }, r.prototype.complete = function() {
991
- var e, t;
992
- (t = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || t === void 0 || t.call(e);
993
- }, r.prototype._subscribe = function(e) {
994
- var t, i;
995
- return (i = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && i !== void 0 ? i : ze;
996
- }, r;
997
- }(je), Pe = {
998
- now: function() {
999
- return (Pe.delegate || Date).now();
1000
- },
1001
- delegate: void 0
1002
- }, wr = function(n) {
1003
- R(r, n);
1004
- function r(e, t, i) {
1005
- e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i = Pe);
1006
- var o = n.call(this) || this;
1007
- 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;
1008
- }
1009
- return r.prototype.next = function(e) {
1010
- var t = this, i = t.isStopped, o = t._buffer, a = t._infiniteTimeWindow, l = t._timestampProvider, u = t._windowTime;
1011
- i || (o.push(e), !a && o.push(l.now() + u)), this._trimBuffer(), n.prototype.next.call(this, e);
1012
- }, r.prototype._subscribe = function(e) {
1013
- this._throwIfClosed(), this._trimBuffer();
1014
- for (var t = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, a = i._buffer, l = a.slice(), u = 0; u < l.length && !e.closed; u += o ? 1 : 2)
1015
- e.next(l[u]);
1016
- return this._checkFinalizedStatuses(e), t;
1017
- }, r.prototype._trimBuffer = function() {
1018
- var e = this, t = e._bufferSize, i = e._timestampProvider, o = e._buffer, a = e._infiniteTimeWindow, l = (a ? 1 : 2) * t;
1019
- if (t < 1 / 0 && l < o.length && o.splice(0, o.length - l), !a) {
1020
- for (var u = i.now(), f = 0, m = 1; m < o.length && o[m] <= u; m += 2)
1021
- f = m;
1022
- f && o.splice(0, f + 1);
1023
- }
1024
- }, r;
1025
- }(je);
1026
- const ke = [], Se = {}, kr = (n, r = 0) => {
1027
- if (ke.indexOf(n) == -1) {
1028
- const e = new wr(r);
1029
- Se[n] = e, ke.push(n);
1030
- }
1031
- return Se[n];
1032
- };
1033
- typeof window < "u" && (window.emWidgets = { topic: kr });
1034
- String(Number.MAX_SAFE_INTEGER).length;
1035
- var Sr = O('<div class="loader-container svelte-1g2duiq"><div class="loader svelte-1g2duiq"><div class="loader-ring-outer svelte-1g2duiq"></div> <div class="loader-ring-inner svelte-1g2duiq"></div></div></div>'), Tr = O('<div class="prize-hub-container svelte-1g2duiq"><h3 class="svelte-1g2duiq"> </h3> <p class="svelte-1g2duiq"> </p></div> <div class="mini-games-card-list svelte-1g2duiq"></div>', 1), zr = O('<div class="svelte-1g2duiq"><p class="svelte-1g2duiq"> </p></div>'), xr = O('<div class="main-container svelte-1g2duiq"><!></div>');
1036
- const _r = {
1037
- hash: "svelte-1g2duiq",
1038
- code: `.svelte-1g2duiq,
1039
- .svelte-1g2duiq::before,
1040
- .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;}.main-container.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;}.mini-games-card-list.svelte-1g2duiq {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;}.prize-hub-container.svelte-1g2duiq {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;}.prize-hub-container.svelte-1g2duiq h3:where(.svelte-1g2duiq) {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;}.prize-hub-container.svelte-1g2duiq p:where(.svelte-1g2duiq) {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;}.loader-container.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;}.loader-ring-outer.svelte-1g2duiq,
1041
- .loader-ring-inner.svelte-1g2duiq {position:absolute;border-radius:50%;border:3px solid transparent;}.loader-ring-outer.svelte-1g2duiq {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
1042
- animation: svelte-1g2duiq-spin-cw 1s linear infinite;}.loader-ring-inner.svelte-1g2duiq {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
1043
- animation: svelte-1g2duiq-spin-ccw 0.75s linear infinite;}
1044
-
1045
- @keyframes svelte-1g2duiq-spin-cw {
539
+ var Fe = G('<div class="loader-container"><div class="loader"><div class="loader-ring-outer"></div> <div class="loader-ring-inner"></div></div></div>'), Oe = G('<div class="prize-hub-container"><h3> </h3> <p> </p></div> <div class="mini-games-card-list"></div>', 1), Ee = G("<div><p> </p></div>"), Je = G('<div class="main-container"><!></div>');
540
+ const Ie = {
541
+ hash: "svelte-pzanec",
542
+ code: ` *,
543
+ *::before,
544
+ *::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 {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;} .mini-games-card-list {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;} .prize-hub-container {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;} .prize-hub-container h3 {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;} .prize-hub-container p {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;} .loader-container {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;} .loader {position:relative;width:64px;height:64px;} .loader-ring-outer,
545
+ .loader-ring-inner {position:absolute;border-radius:50%;border:3px solid transparent;} .loader-ring-outer {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
546
+ animation: svelte-pzanec-spin-cw 1s linear infinite;} .loader-ring-inner {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
547
+ animation: svelte-pzanec-spin-ccw 0.75s linear infinite;}
548
+ @keyframes svelte-pzanec-spin-cw {
1046
549
  to {
1047
550
  transform: rotate(360deg);
1048
551
  }
1049
552
  }
1050
- @keyframes svelte-1g2duiq-spin-ccw {
553
+ @keyframes svelte-pzanec-spin-ccw {
1051
554
  to {
1052
555
  transform: rotate(-360deg);
1053
556
  }
1054
- }
1055
- /* Skeleton (kept for reference, replaced by loader above)
1056
- @keyframes skeleton-pulse {
1057
- 0%,
1058
- 100% {
1059
- opacity: 0.3;
1060
- }
1061
- 50% {
1062
- opacity: 0.6;
1063
- }
1064
- }
1065
-
1066
- .skeleton-row {
1067
- pointer-events: none;
1068
- }
1069
-
1070
- .skeleton-bone {
1071
- display: block;
1072
- border-radius: 4px;
1073
- background-color: var(--color-overlay-neutral-2, #fbfbfb33);
1074
- animation: skeleton-pulse 1.4s ease-in-out infinite;
1075
- }
1076
-
1077
- .skeleton-title {
1078
- width: 40%;
1079
- height: 22px;
1080
- margin-bottom: 8px;
1081
- }
1082
-
1083
- .skeleton-subtitle {
1084
- width: 60%;
1085
- height: 14px;
1086
- }
1087
-
1088
- .skeleton-card {
1089
- display: flex;
1090
- flex-direction: column;
1091
- height: 115px;
1092
- border: 1px solid var(--color-border-subtle, #fbfbfb0d);
1093
- border-radius: 14px;
1094
- background-color: var(--color-overlay-neutral-1, #fbfbfb1a);
1095
- overflow: hidden;
1096
- }
1097
-
1098
- .skeleton-card-image {
1099
- width: 100%;
1100
- height: 70px;
1101
- border-radius: 0;
1102
- }
1103
-
1104
- .skeleton-card-body {
1105
- display: flex;
1106
- justify-content: end;
1107
- height: 50px;
1108
- gap: 8px;
1109
- padding: 12px;
1110
- }
1111
-
1112
- .skeleton-card-button {
1113
- width: 30%;
1114
- height: 25px;
1115
- }
1116
- */`
557
+ }`
1117
558
  };
1118
- function jr(n, r) {
1119
- Ve(r, !0), $e(n, _r);
1120
- const e = () => ar(Xe, "$_", t), [t, i] = nr(), o = S(r, "endpoint", 7), a = S(r, "session", 7), l = S(r, "requiresOptin", 7, !1), u = S(r, "language", 7, "en"), f = S(r, "outerWheelAsset", 7, null), m = S(r, "wheelButtonAsset", 7, null), j = S(r, "backgroundVideoAsset", 7, null), z = S(r, "liteMode", 7, !1), w = S(r, "translationurl", 7), N = /iPhone|iPad|iPod/.test(navigator.userAgent), g = navigator.deviceMemory ?? 1 / 0, De = navigator.hardwareConcurrency ?? 1 / 0;
1121
- function Ae() {
559
+ function pe(T, t) {
560
+ var Z, X;
561
+ de(t, !0), xe(T, Ie);
562
+ const g = () => Me(_e, "$_", z), [z, v] = Re(), h = s(t, "endpoint", 7), u = s(t, "session", 7), m = s(t, "requiresOptin", 7, !1), o = s(t, "language", 7, "en"), c = s(t, "outerWheelAsset", 7, null), k = s(t, "wheelButtonAsset", 7, null), D = s(t, "backgroundVideoAsset", 7, null), i = s(t, "liteMode", 7, !1), R = s(t, "translationurl", 7), ge = !B() && /iPhone|iPad|iPod/.test(navigator.userAgent), ce = B() ? 1 / 0 : (Z = navigator.deviceMemory) != null ? Z : 1 / 0, he = B() ? 1 / 0 : (X = navigator.hardwareConcurrency) != null ? X : 1 / 0;
563
+ function me() {
1122
564
  try {
1123
- const d = document.createElement("canvas").getContext("webgl");
1124
- if (!d) return !1;
1125
- const y = d.getExtension("WEBGL_debug_renderer_info");
565
+ const r = document.createElement("canvas").getContext("webgl");
566
+ if (!r) return !1;
567
+ const y = r.getExtension("WEBGL_debug_renderer_info");
1126
568
  if (!y) return !1;
1127
- const c = d.getParameter(y.UNMASKED_RENDERER_WEBGL).toLowerCase();
1128
- return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(c);
1129
- } catch {
569
+ const n = r.getParameter(y.UNMASKED_RENDERER_WEBGL).toLowerCase();
570
+ return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(n);
571
+ } catch (e) {
1130
572
  return !1;
1131
573
  }
1132
574
  }
1133
- const qe = !N && (g <= 4 || De <= 4 || Ae()), ne = de(() => z() || qe);
1134
- er({ withLocale: "en", translations: {} });
1135
- const Re = () => {
1136
- let s = new URL(w());
1137
- fetch(s.href).then((d) => d.json()).then((d) => {
1138
- Object.keys(d).forEach((y) => {
1139
- ce(y, d[y]);
575
+ const fe = !B() && !ge && (ce <= 4 || he <= 4 || me()), I = ae(() => i() || fe);
576
+ Pe({ withLocale: "en", translations: {} });
577
+ const ye = () => {
578
+ let e = new URL(R());
579
+ fetch(e.href).then((r) => r.json()).then((r) => {
580
+ Object.keys(r).forEach((y) => {
581
+ $(y, r[y]);
1140
582
  });
1141
- }).catch((d) => {
1142
- console.log(d);
583
+ }).catch((r) => {
584
+ console.log(r);
1143
585
  });
1144
586
  };
1145
- Object.keys(fe).forEach((s) => {
1146
- ce(s, fe[s]);
1147
- }), pe(u());
1148
- const We = () => {
1149
- pe(u());
587
+ Object.keys(se).forEach((e) => {
588
+ $(e, se[e]);
589
+ }), ee(o());
590
+ const be = () => {
591
+ ee(o());
1150
592
  };
1151
- Ue(() => {
1152
- w() && Re();
1153
- }), Je(() => {
1154
- We();
593
+ Ge(() => {
594
+ R() && ye();
595
+ }), Le(() => {
596
+ be();
1155
597
  });
1156
- let x = D(!1), b = D(Ye([])), te = D(!1), G = D(!1), P = D(null), ie = D(!1);
1157
- const Ce = async () => {
1158
- p(x, !0);
1159
- const s = new URL(`${o()}/v1/wof/claimable`), d = new Headers();
1160
- a() && d.append("X-SessionId", a());
1161
- const y = { method: "GET", headers: d, cache: "no-store" };
1162
- s.searchParams.append("filter", "wheelOfFortune"), fetch(s, y).then((c) => c.json()).then((c) => {
1163
- if (c && c.errorMessage?.trim() === "InvalidSessionId") {
1164
- p(G, !0), p(x, !1);
598
+ let w = x(!1), f = x(qe([])), U = x(!1), L = x(!1), A = x(null), K = x(!1);
599
+ const ve = () => F(this, null, function* () {
600
+ a(w, !0);
601
+ const e = new URL(`${h()}/v1/wof/claimable`), r = new Headers();
602
+ u() && r.append("X-SessionId", u());
603
+ const y = { method: "GET", headers: r, cache: "no-store" };
604
+ e.searchParams.append("filter", "wheelOfFortune"), fetch(e, y).then((n) => n.json()).then((n) => {
605
+ var S, j, C, p;
606
+ if (n && ((S = n.errorMessage) == null ? void 0 : S.trim()) === "InvalidSessionId") {
607
+ a(L, !0), a(w, !1);
1165
608
  return;
1166
609
  }
1167
- if (c?.items?.program?.canClaim) {
1168
- p(b, c?.items?.program, !0), p(x, !1);
610
+ if ((C = (j = n == null ? void 0 : n.items) == null ? void 0 : j.program) != null && C.canClaim) {
611
+ a(f, (p = n == null ? void 0 : n.items) == null ? void 0 : p.program, !0), a(w, !1);
1169
612
  return;
1170
613
  }
1171
- p(b, c?.items, !0);
1172
- }).catch((c) => {
1173
- console.log(c), p(te, !0);
1174
- }).finally(() => p(x, !1));
1175
- }, Ee = async () => {
1176
- p(x, !0);
1177
- const s = new URL(`${o()}/v1/wof/lotteries`), d = new Headers();
1178
- a() && d.append("X-SessionId", a());
1179
- const y = { method: "GET", headers: d, cache: "no-store" };
1180
- s.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(s, y).then((c) => c.json()).then((c) => {
1181
- if (c && c.errorMessage?.trim() === "InvalidSessionId") {
1182
- p(G, !0), p(x, !1);
614
+ a(f, n == null ? void 0 : n.items, !0);
615
+ }).catch((n) => {
616
+ console.log(n), a(U, !0);
617
+ }).finally(() => a(w, !1));
618
+ }), ke = () => F(this, null, function* () {
619
+ a(w, !0);
620
+ const e = new URL(`${h()}/v1/wof/lotteries`), r = new Headers();
621
+ u() && r.append("X-SessionId", u());
622
+ const y = { method: "GET", headers: r, cache: "no-store" };
623
+ e.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(e, y).then((n) => n.json()).then((n) => {
624
+ var S;
625
+ if (n && ((S = n.errorMessage) == null ? void 0 : S.trim()) === "InvalidSessionId") {
626
+ a(L, !0), a(w, !1);
1183
627
  return;
1184
628
  }
1185
- p(b, c?.items.map((F) => Ze(F, u())), !0), h(b).length === 1 && (p(P, h(b)[0], !0), p(ie, !0)), h(b).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
1186
- }).catch((c) => {
1187
- console.log(c), p(te, !0);
1188
- }).finally(() => p(x, !1));
1189
- }, oe = (s) => {
1190
- if (s.data)
1191
- switch (s.data.type) {
629
+ a(f, n == null ? void 0 : n.items.map((j) => He(j, o())), !0), d(f).length === 1 && (a(A, d(f)[0], !0), a(K, !0)), d(f).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
630
+ }).catch((n) => {
631
+ console.log(n), a(U, !0);
632
+ }).finally(() => a(w, !1));
633
+ }), Y = (e) => {
634
+ if (e.data)
635
+ switch (e.data.type) {
1192
636
  case "PlayMiniGame":
1193
- p(P, h(b).find((d) => d.id === s.data.programId), !0);
637
+ a(A, d(f).find((r) => r.id === e.data.programId), !0);
1194
638
  break;
1195
639
  case "CloseMiniGame":
1196
- p(P, null);
640
+ a(A, null);
1197
641
  break;
1198
642
  case "PrizeGameRemainingTimesUpdated":
1199
- p(P, s.data.data, !0), p(b, h(b).map((d) => d.id === s.data.data.id ? s.data.data : d), !0);
643
+ a(A, e.data.data, !0), a(f, d(f).map((r) => r.id === e.data.data.id ? e.data.data : r), !0);
1200
644
  break;
1201
645
  }
1202
646
  };
1203
- rr(() => (setTimeout(
647
+ We(() => (setTimeout(
1204
648
  () => {
1205
- window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!a() }, window.location.href);
649
+ window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!u() }, window.location.href);
1206
650
  },
1207
651
  0
1208
- ), a() && (l() ? Ce() : Ee()), window.addEventListener("message", oe), () => {
1209
- window.removeEventListener("message", oe);
652
+ ), u() && (m() ? ve() : ke()), window.addEventListener("message", Y), () => {
653
+ window.removeEventListener("message", Y);
1210
654
  }));
1211
- var Me = {
655
+ var we = {
1212
656
  get endpoint() {
1213
- return o();
657
+ return h();
1214
658
  },
1215
- set endpoint(s) {
1216
- o(s), k();
659
+ set endpoint(e) {
660
+ h(e), l();
1217
661
  },
1218
662
  get session() {
1219
- return a();
663
+ return u();
1220
664
  },
1221
- set session(s) {
1222
- a(s), k();
665
+ set session(e) {
666
+ u(e), l();
1223
667
  },
1224
668
  get requiresOptin() {
1225
- return l();
669
+ return m();
1226
670
  },
1227
- set requiresOptin(s = !1) {
1228
- l(s), k();
671
+ set requiresOptin(e = !1) {
672
+ m(e), l();
1229
673
  },
1230
674
  get language() {
1231
- return u();
675
+ return o();
1232
676
  },
1233
- set language(s = "en") {
1234
- u(s), k();
677
+ set language(e = "en") {
678
+ o(e), l();
1235
679
  },
1236
680
  get outerWheelAsset() {
1237
- return f();
681
+ return c();
1238
682
  },
1239
- set outerWheelAsset(s = null) {
1240
- f(s), k();
683
+ set outerWheelAsset(e = null) {
684
+ c(e), l();
1241
685
  },
1242
686
  get wheelButtonAsset() {
1243
- return m();
687
+ return k();
1244
688
  },
1245
- set wheelButtonAsset(s = null) {
1246
- m(s), k();
689
+ set wheelButtonAsset(e = null) {
690
+ k(e), l();
1247
691
  },
1248
692
  get backgroundVideoAsset() {
1249
- return j();
693
+ return D();
1250
694
  },
1251
- set backgroundVideoAsset(s = null) {
1252
- j(s), k();
695
+ set backgroundVideoAsset(e = null) {
696
+ D(e), l();
1253
697
  },
1254
698
  get liteMode() {
1255
- return z();
699
+ return i();
1256
700
  },
1257
- set liteMode(s = !1) {
1258
- z(s), k();
701
+ set liteMode(e = !1) {
702
+ i(e), l();
1259
703
  },
1260
704
  get translationurl() {
1261
- return w();
705
+ return R();
1262
706
  },
1263
- set translationurl(s) {
1264
- w(s), k();
707
+ set translationurl(e) {
708
+ R(e), l();
1265
709
  }
1266
- }, L = xr(), Oe = U(L);
710
+ }, q = Je(), ze = E(q);
1267
711
  {
1268
- var Be = (s) => {
1269
- var d = Sr();
1270
- q(s, d);
1271
- }, Ne = (s) => {
1272
- var d = tr(), y = se(d);
712
+ var Se = (e) => {
713
+ var r = Fe();
714
+ W(e, r);
715
+ }, Te = (e) => {
716
+ var r = Ce(), y = re(r);
1273
717
  {
1274
- var c = (v) => {
1275
- ge(v, {
718
+ var n = (p) => {
719
+ oe(p, {
1276
720
  get outerWheelAsset() {
1277
- return f();
721
+ return c();
1278
722
  },
1279
723
  get wheelButtonAsset() {
1280
- return m();
724
+ return k();
1281
725
  },
1282
726
  get backgroundVideoAsset() {
1283
- return j();
727
+ return D();
1284
728
  },
1285
729
  get language() {
1286
- return u();
730
+ return o();
1287
731
  },
1288
732
  get liteMode() {
1289
- return h(ne);
733
+ return d(I);
1290
734
  }
1291
735
  });
1292
- }, F = (v) => {
736
+ }, S = (p) => {
1293
737
  {
1294
- let _ = de(() => !h(ie));
1295
- ge(v, {
738
+ let b = ae(() => !d(K));
739
+ oe(p, {
1296
740
  get program() {
1297
- return h(P);
741
+ return d(A);
1298
742
  },
1299
743
  get endpoint() {
1300
- return o();
744
+ return h();
1301
745
  },
1302
746
  get language() {
1303
- return u();
747
+ return o();
1304
748
  },
1305
749
  get session() {
1306
- return a();
750
+ return u();
1307
751
  },
1308
752
  get outerWheelAsset() {
1309
- return f();
753
+ return c();
1310
754
  },
1311
755
  get wheelButtonAsset() {
1312
- return m();
756
+ return k();
1313
757
  },
1314
758
  get backgroundVideoAsset() {
1315
- return j();
759
+ return D();
1316
760
  },
1317
761
  get showBackButton() {
1318
- return h(_);
762
+ return d(b);
1319
763
  },
1320
764
  get liteMode() {
1321
- return h(ne);
765
+ return d(I);
1322
766
  }
1323
767
  });
1324
768
  }
1325
- }, Le = (v) => {
1326
- var _ = Tr(), A = se(_), W = U(A), H = J(W, !0), He = le(W, 2), Ie = J(He, !0);
1327
- C(A);
1328
- var ae = le(A, 2);
1329
- ir(ae, 21, () => h(b), or, (I, V) => {
1330
- sr(I, {
769
+ }, j = (p) => {
770
+ var b = Oe(), P = re(b), N = E(P), H = J(N, !0), Ae = te(N, 2), je = J(Ae, !0);
771
+ M(P);
772
+ var Q = te(P, 2);
773
+ Ne(Q, 21, () => d(f), Be, (_, V) => {
774
+ Ve(_, {
1331
775
  get program() {
1332
- return h(V);
776
+ return d(V);
1333
777
  }
1334
778
  });
1335
- }), C(ae), ue(
1336
- (I, V) => {
1337
- Y(H, I), Y(Ie, V);
779
+ }), M(Q), ie(
780
+ (_, V) => {
781
+ O(H, _), O(je, V);
1338
782
  },
1339
- [() => e()("hubTitle"), () => e()("hubSubtitle")]
1340
- ), q(v, _);
1341
- }, Fe = (v) => {
1342
- var _ = zr(), A = U(_), W = J(A, !0);
1343
- C(_), ue((H) => Y(W, H), [() => e()("noContent")]), q(v, _);
783
+ [() => g()("hubTitle"), () => g()("hubSubtitle")]
784
+ ), W(p, b);
785
+ }, C = (p) => {
786
+ var b = Ee(), P = E(b), N = J(P, !0);
787
+ M(b), ie((H) => O(N, H), [() => g()("noContent")]), W(p, b);
1344
788
  };
1345
- he(y, (v) => {
1346
- !a() || h(G) ? v(c) : h(P) ? v(F, 1) : h(b)?.length > 1 ? v(Le, 2) : v(Fe, -1);
789
+ ne(y, (p) => {
790
+ var b;
791
+ !u() || d(L) ? p(n) : d(A) ? p(S, 1) : ((b = d(f)) == null ? void 0 : b.length) > 1 ? p(j, 2) : p(C, -1);
1347
792
  });
1348
793
  }
1349
- q(s, d);
794
+ W(e, r);
1350
795
  };
1351
- he(Oe, (s) => {
1352
- h(x) ? s(Be) : s(Ne, -1);
796
+ ne(ze, (e) => {
797
+ d(w) ? e(Se) : e(Te, -1);
1353
798
  });
1354
799
  }
1355
- C(L), q(n, L);
1356
- var Ge = Ke(Me);
1357
- return i(), Ge;
800
+ M(q), W(T, q);
801
+ var De = ue(we);
802
+ return v(), De;
803
+ }
804
+ le(
805
+ pe,
806
+ {
807
+ endpoint: {},
808
+ session: {},
809
+ requiresOptin: {},
810
+ language: {},
811
+ outerWheelAsset: {},
812
+ wheelButtonAsset: {},
813
+ backgroundVideoAsset: {},
814
+ liteMode: {},
815
+ translationurl: {}
816
+ },
817
+ [],
818
+ [],
819
+ { mode: "open" }
820
+ );
821
+ function Ue(T, t) {
822
+ de(t, !0);
823
+ let g = s(t, "endpoint", 7), z = s(t, "session", 7), v = s(t, "requiresOptin", 7, !1), h = s(t, "language", 7, "en"), u = s(t, "outerWheelAsset", 7, null), m = s(t, "wheelButtonAsset", 7, null), o = s(t, "backgroundVideoAsset", 7, null), c = s(t, "liteMode", 7, !1), k = s(t, "translationurl", 7);
824
+ var D = {
825
+ get endpoint() {
826
+ return g();
827
+ },
828
+ set endpoint(i) {
829
+ g(i), l();
830
+ },
831
+ get session() {
832
+ return z();
833
+ },
834
+ set session(i) {
835
+ z(i), l();
836
+ },
837
+ get requiresOptin() {
838
+ return v();
839
+ },
840
+ set requiresOptin(i = !1) {
841
+ v(i), l();
842
+ },
843
+ get language() {
844
+ return h();
845
+ },
846
+ set language(i = "en") {
847
+ h(i), l();
848
+ },
849
+ get outerWheelAsset() {
850
+ return u();
851
+ },
852
+ set outerWheelAsset(i = null) {
853
+ u(i), l();
854
+ },
855
+ get wheelButtonAsset() {
856
+ return m();
857
+ },
858
+ set wheelButtonAsset(i = null) {
859
+ m(i), l();
860
+ },
861
+ get backgroundVideoAsset() {
862
+ return o();
863
+ },
864
+ set backgroundVideoAsset(i = null) {
865
+ o(i), l();
866
+ },
867
+ get liteMode() {
868
+ return c();
869
+ },
870
+ set liteMode(i = !1) {
871
+ c(i), l();
872
+ },
873
+ get translationurl() {
874
+ return k();
875
+ },
876
+ set translationurl(i) {
877
+ k(i), l();
878
+ }
879
+ };
880
+ return pe(T, {
881
+ get endpoint() {
882
+ return g();
883
+ },
884
+ get session() {
885
+ return z();
886
+ },
887
+ get requiresOptin() {
888
+ return v();
889
+ },
890
+ get language() {
891
+ return h();
892
+ },
893
+ get outerWheelAsset() {
894
+ return u();
895
+ },
896
+ get wheelButtonAsset() {
897
+ return m();
898
+ },
899
+ get backgroundVideoAsset() {
900
+ return o();
901
+ },
902
+ get liteMode() {
903
+ return c();
904
+ },
905
+ get translationurl() {
906
+ return k();
907
+ }
908
+ }), ue(D);
1358
909
  }
1359
- customElements.define("mini-games-hub", Qe(
1360
- jr,
910
+ customElements.define("mini-games-hub", le(
911
+ Ue,
1361
912
  {
1362
913
  endpoint: { attribute: "endpoint", type: "String" },
1363
914
  session: { attribute: "session", type: "String" },
@@ -1373,5 +924,5 @@ customElements.define("mini-games-hub", Qe(
1373
924
  []
1374
925
  ));
1375
926
  export {
1376
- jr as M
927
+ Ue as default
1377
928
  };