@everymatrix/mini-games-hub 0.1.13 → 0.1.25

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 (41) hide show
  1. package/components/GameCard-BmOaK5EP.js +50 -0
  2. package/components/GameCard-C4koIRhP.js +50 -0
  3. package/components/{GameCard-BIn8BJ4U.cjs → GameCard-DA-8ladf.cjs} +2 -2
  4. package/components/{MiniGamesHub-SjsgF4e2.cjs → MiniGamesHub-BM5Vxa9S.cjs} +5 -5
  5. package/components/{MiniGamesHub-D3BazHMT.js → MiniGamesHub-C7aQh03q.js} +139 -141
  6. package/components/{MiniGamesHub-Cu8_8yFl.js → MiniGamesHub-Dl3isBzY.js} +149 -151
  7. package/components/{WheelOfFortune-CnaDpfpq.js → WheelOfFortune-B-Rx_FFX.js} +147 -164
  8. package/components/{WheelOfFortune-BlHeZ0q7.cjs → WheelOfFortune-CidB6b1w.cjs} +6 -21
  9. package/components/{WheelOfFortune-Lfc_l9kc.js → WheelOfFortune-DdCajfhn.js} +147 -164
  10. package/components/WheelOfFortuneDrawResults-C3U-7-aw.cjs +1 -0
  11. package/components/WheelOfFortuneDrawResults-D54Resid.js +279 -0
  12. package/components/WheelOfFortuneDrawResults-DZ43Wc7d.js +254 -0
  13. package/components/WheelOfFortuneHistory-COJdJOvU.js +214 -0
  14. package/components/WheelOfFortuneHistory-DNb6Y7gj.js +214 -0
  15. package/components/WheelOfFortuneHistory-tYu_rAD4.cjs +13 -0
  16. package/components/WheelOfFortuneRules-B1F8hnwG.js +109 -0
  17. package/components/{WheelOfFortuneRules-VAMAiK0m.cjs → WheelOfFortuneRules-BVcH-eGN.cjs} +2 -2
  18. package/components/WheelOfFortuneRules-DNJmzmyN.js +120 -0
  19. package/components/WheelOfFortuneWheel-0b7lq2LJ.cjs +3 -0
  20. package/components/{WheelOfFortuneWheel-DxFn6jjg.js → WheelOfFortuneWheel-BWPBlDFv.js} +1476 -1111
  21. package/components/{WheelOfFortuneWheel-BAR98ByP.js → WheelOfFortuneWheel-BuBnw_ev.js} +1412 -1049
  22. package/components/utils-03vIpDSe.cjs +3 -0
  23. package/components/{utils-d-JrZBJu.js → utils-C9WIoJIh.js} +2236 -2410
  24. package/components/utils-I5rI2w_S.js +5867 -0
  25. package/es2015/mini-games-hub.cjs +1 -1
  26. package/es2015/mini-games-hub.js +1 -1
  27. package/esnext/mini-games-hub.js +1 -1
  28. package/package.json +1 -1
  29. package/components/GameCard-D3knomma.js +0 -56
  30. package/components/GameCard-Ds0FcnPp.js +0 -56
  31. package/components/WheelOfFortuneDrawResults-1lzyxrks.cjs +0 -1
  32. package/components/WheelOfFortuneDrawResults-DQweghnp.js +0 -301
  33. package/components/WheelOfFortuneDrawResults-dOeQDVub.js +0 -276
  34. package/components/WheelOfFortuneHistory-CQZ9QtVt.js +0 -232
  35. package/components/WheelOfFortuneHistory-DZNPM57t.cjs +0 -13
  36. package/components/WheelOfFortuneHistory-DygZEtcR.js +0 -232
  37. package/components/WheelOfFortuneRules-D3N1c8PX.js +0 -117
  38. package/components/WheelOfFortuneRules-DuiCet95.js +0 -128
  39. package/components/WheelOfFortuneWheel-hSjxThyU.cjs +0 -3
  40. package/components/utils-C7uxZXaZ.js +0 -6045
  41. package/components/utils-DQIHJIDu.cjs +0 -3
@@ -1,4 +1,4 @@
1
- var K = (n, r, e) => new Promise((t, i) => {
1
+ var Y = (n, r, e) => new Promise((t, i) => {
2
2
  var o = (u) => {
3
3
  try {
4
4
  l(e.next(u));
@@ -14,10 +14,10 @@ var K = (n, r, e) => new Promise((t, i) => {
14
14
  }, l = (u) => u.done ? t(u.value) : Promise.resolve(u.value).then(o, a);
15
15
  l((e = e.apply(n, r)).next());
16
16
  });
17
- import { b6 as Je, S as Ye, aM as W, az as Ke, I as Ze, aR as Xe, aD as k, D as Qe, Z as g, ar as p, b7 as $e, aT as C, aN as pe, aW as D, aO as he, ae as ge, aX as fe, aP as er, aQ as rr } from "./utils-C7uxZXaZ.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 L, c as or, h as ar, e as sr, g as lr, s as Z } from "./WheelOfFortuneWheel-DxFn6jjg.js";
19
- import { W as ye } from "./WheelOfFortune-Lfc_l9kc.js";
20
- import { G as ur } from "./GameCard-Ds0FcnPp.js";
17
+ import { bl as Ye, aa as Ke, b1 as q, aQ as Ze, a6 as Xe, aU as S, a2 as Qe, I as g, aJ as p, bm as $e, b6 as K, b2 as pe, ba as B, b9 as Z, b3 as he, aq as ge, bb as fe, b4 as er } from "./utils-I5rI2w_S.js";
18
+ import { a as rr, p as T, x as nr, y as me, z as ve, o as tr, i as be, b as W, e as ir, f as G, c as or, k as ar, g as sr, h as lr, j as X, s as ur } from "./WheelOfFortuneWheel-BWPBlDFv.js";
19
+ import { W as ye } from "./WheelOfFortune-DdCajfhn.js";
20
+ import { G as dr } from "./GameCard-C4koIRhP.js";
21
21
  const we = {
22
22
  en: {
23
23
  noContent: "You don't have any lottery programs available now.",
@@ -550,23 +550,23 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
550
550
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
551
551
  PERFORMANCE OF THIS SOFTWARE.
552
552
  ***************************************************************************** */
553
- var Q = function(n, r) {
554
- return Q = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
553
+ var $ = function(n, r) {
554
+ return $ = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
555
555
  e.__proto__ = t;
556
556
  } || function(e, t) {
557
557
  for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
558
- }, Q(n, r);
558
+ }, $(n, r);
559
559
  };
560
- function M(n, r) {
560
+ function C(n, r) {
561
561
  if (typeof r != "function" && r !== null)
562
562
  throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
563
- Q(n, r);
563
+ $(n, r);
564
564
  function e() {
565
565
  this.constructor = n;
566
566
  }
567
567
  n.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
568
568
  }
569
- function $(n) {
569
+ function ee(n) {
570
570
  var r = typeof Symbol == "function" && Symbol.iterator, e = r && n[r], t = 0;
571
571
  if (e) return e.call(n);
572
572
  if (n && typeof n.length == "number") return {
@@ -576,7 +576,7 @@ function $(n) {
576
576
  };
577
577
  throw new TypeError(r ? "Object is not iterable." : "Symbol.iterator is not defined.");
578
578
  }
579
- function ee(n, r) {
579
+ function re(n, r) {
580
580
  var e = typeof Symbol == "function" && n[Symbol.iterator];
581
581
  if (!e) return n;
582
582
  var t = e.call(n), i, o = [], a;
@@ -593,7 +593,7 @@ function ee(n, r) {
593
593
  }
594
594
  return o;
595
595
  }
596
- function re(n, r, e) {
596
+ function ne(n, r, e) {
597
597
  if (arguments.length === 2) for (var t = 0, i = r.length, o; t < i; t++)
598
598
  (o || !(t in r)) && (o || (o = Array.prototype.slice.call(r, 0, t)), o[t] = r[t]);
599
599
  return n.concat(o || r);
@@ -607,7 +607,7 @@ function Pe(n) {
607
607
  }, e = n(r);
608
608
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
609
609
  }
610
- var X = Pe(function(n) {
610
+ var Q = Pe(function(n) {
611
611
  return function(e) {
612
612
  n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
613
613
  ` + e.map(function(t, i) {
@@ -616,13 +616,13 @@ var X = Pe(function(n) {
616
616
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
617
617
  };
618
618
  });
619
- function ne(n, r) {
619
+ function te(n, r) {
620
620
  if (n) {
621
621
  var e = n.indexOf(r);
622
622
  0 <= e && n.splice(e, 1);
623
623
  }
624
624
  }
625
- var F = function() {
625
+ var L = function() {
626
626
  function n(r) {
627
627
  this.initialTeardown = r, this.closed = !1, this._parentage = null, this._finalizers = null;
628
628
  }
@@ -634,7 +634,7 @@ var F = function() {
634
634
  if (a)
635
635
  if (this._parentage = null, Array.isArray(a))
636
636
  try {
637
- for (var l = $(a), u = l.next(); !u.done; u = l.next()) {
637
+ for (var l = ee(a), u = l.next(); !u.done; u = l.next()) {
638
638
  var h = u.value;
639
639
  h.remove(this);
640
640
  }
@@ -654,38 +654,38 @@ var F = function() {
654
654
  try {
655
655
  v();
656
656
  } catch (m) {
657
- o = m instanceof X ? m.errors : [m];
657
+ o = m instanceof Q ? m.errors : [m];
658
658
  }
659
659
  var j = this._finalizers;
660
660
  if (j) {
661
661
  this._finalizers = null;
662
662
  try {
663
- for (var x = $(j), S = x.next(); !S.done; S = x.next()) {
664
- var H = S.value;
663
+ for (var x = ee(j), k = x.next(); !k.done; k = x.next()) {
664
+ var F = k.value;
665
665
  try {
666
- Se(H);
666
+ ke(F);
667
667
  } catch (m) {
668
- o = o != null ? o : [], m instanceof X ? o = re(re([], ee(o)), ee(m.errors)) : o.push(m);
668
+ o = o != null ? o : [], m instanceof Q ? o = ne(ne([], re(o)), re(m.errors)) : o.push(m);
669
669
  }
670
670
  }
671
671
  } catch (m) {
672
672
  t = { error: m };
673
673
  } finally {
674
674
  try {
675
- S && !S.done && (i = x.return) && i.call(x);
675
+ k && !k.done && (i = x.return) && i.call(x);
676
676
  } finally {
677
677
  if (t) throw t.error;
678
678
  }
679
679
  }
680
680
  }
681
681
  if (o)
682
- throw new X(o);
682
+ throw new Q(o);
683
683
  }
684
684
  }, n.prototype.add = function(r) {
685
685
  var e;
686
686
  if (r && r !== this)
687
687
  if (this.closed)
688
- Se(r);
688
+ ke(r);
689
689
  else {
690
690
  if (r instanceof n) {
691
691
  if (r.closed || r._hasParent(this))
@@ -702,52 +702,52 @@ var F = function() {
702
702
  this._parentage = Array.isArray(e) ? (e.push(r), e) : e ? [e, r] : r;
703
703
  }, n.prototype._removeParent = function(r) {
704
704
  var e = this._parentage;
705
- e === r ? this._parentage = null : Array.isArray(e) && ne(e, r);
705
+ e === r ? this._parentage = null : Array.isArray(e) && te(e, r);
706
706
  }, n.prototype.remove = function(r) {
707
707
  var e = this._finalizers;
708
- e && ne(e, r), r instanceof n && r._removeParent(this);
708
+ e && te(e, r), r instanceof n && r._removeParent(this);
709
709
  }, n.EMPTY = function() {
710
710
  var r = new n();
711
711
  return r.closed = !0, r;
712
712
  }(), n;
713
- }(), De = F.EMPTY;
713
+ }(), De = L.EMPTY;
714
714
  function Ae(n) {
715
- return n instanceof F || n && "closed" in n && z(n.remove) && z(n.add) && z(n.unsubscribe);
715
+ return n instanceof L || n && "closed" in n && z(n.remove) && z(n.add) && z(n.unsubscribe);
716
716
  }
717
- function Se(n) {
717
+ function ke(n) {
718
718
  z(n) ? n() : n.unsubscribe();
719
719
  }
720
- var dr = {
720
+ var cr = {
721
721
  Promise: void 0
722
- }, cr = {
722
+ }, pr = {
723
723
  setTimeout: function(n, r) {
724
724
  for (var e = [], t = 2; t < arguments.length; t++)
725
725
  e[t - 2] = arguments[t];
726
- return setTimeout.apply(void 0, re([n, r], ee(e)));
726
+ return setTimeout.apply(void 0, ne([n, r], re(e)));
727
727
  },
728
728
  clearTimeout: function(n) {
729
729
  return clearTimeout(n);
730
730
  },
731
731
  delegate: void 0
732
732
  };
733
- function pr(n) {
734
- cr.setTimeout(function() {
733
+ function hr(n) {
734
+ pr.setTimeout(function() {
735
735
  throw n;
736
736
  });
737
737
  }
738
- function ke() {
738
+ function Se() {
739
739
  }
740
- function G(n) {
740
+ function N(n) {
741
741
  n();
742
742
  }
743
743
  var qe = function(n) {
744
- M(r, n);
744
+ C(r, n);
745
745
  function r(e) {
746
746
  var t = n.call(this) || this;
747
- return t.isStopped = !1, e ? (t.destination = e, Ae(e) && e.add(t)) : t.destination = fr, t;
747
+ return t.isStopped = !1, e ? (t.destination = e, Ae(e) && e.add(t)) : t.destination = mr, t;
748
748
  }
749
749
  return r.create = function(e, t, i) {
750
- return new te(e, t, i);
750
+ return new ie(e, t, i);
751
751
  }, r.prototype.next = function(e) {
752
752
  this.isStopped || this._next(e);
753
753
  }, r.prototype.error = function(e) {
@@ -771,7 +771,7 @@ var qe = function(n) {
771
771
  this.unsubscribe();
772
772
  }
773
773
  }, r;
774
- }(F), hr = function() {
774
+ }(L), gr = function() {
775
775
  function n(r) {
776
776
  this.partialObserver = r;
777
777
  }
@@ -781,7 +781,7 @@ var qe = function(n) {
781
781
  try {
782
782
  e.next(r);
783
783
  } catch (t) {
784
- N(t);
784
+ M(t);
785
785
  }
786
786
  }, n.prototype.error = function(r) {
787
787
  var e = this.partialObserver;
@@ -789,50 +789,50 @@ var qe = function(n) {
789
789
  try {
790
790
  e.error(r);
791
791
  } catch (t) {
792
- N(t);
792
+ M(t);
793
793
  }
794
794
  else
795
- N(r);
795
+ M(r);
796
796
  }, n.prototype.complete = function() {
797
797
  var r = this.partialObserver;
798
798
  if (r.complete)
799
799
  try {
800
800
  r.complete();
801
801
  } catch (e) {
802
- N(e);
802
+ M(e);
803
803
  }
804
804
  }, n;
805
- }(), te = function(n) {
806
- M(r, n);
805
+ }(), ie = function(n) {
806
+ C(r, n);
807
807
  function r(e, t, i) {
808
808
  var o = n.call(this) || this, a;
809
809
  return z(e) || !e ? a = {
810
810
  next: e != null ? e : void 0,
811
811
  error: t != null ? t : void 0,
812
812
  complete: i != null ? i : void 0
813
- } : a = e, o.destination = new hr(a), o;
813
+ } : a = e, o.destination = new gr(a), o;
814
814
  }
815
815
  return r;
816
816
  }(qe);
817
- function N(n) {
818
- pr(n);
817
+ function M(n) {
818
+ hr(n);
819
819
  }
820
- function gr(n) {
820
+ function fr(n) {
821
821
  throw n;
822
822
  }
823
- var fr = {
823
+ var mr = {
824
824
  closed: !0,
825
- next: ke,
826
- error: gr,
827
- complete: ke
828
- }, mr = function() {
825
+ next: Se,
826
+ error: fr,
827
+ complete: Se
828
+ }, vr = function() {
829
829
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
830
830
  }();
831
- function vr(n) {
831
+ function br(n) {
832
832
  return n;
833
833
  }
834
- function br(n) {
835
- return n.length === 0 ? vr : n.length === 1 ? n[0] : function(e) {
834
+ function yr(n) {
835
+ return n.length === 0 ? br : n.length === 1 ? n[0] : function(e) {
836
836
  return n.reduce(function(t, i) {
837
837
  return i(t);
838
838
  }, e);
@@ -846,8 +846,8 @@ var Te = function() {
846
846
  var e = new n();
847
847
  return e.source = this, e.operator = r, e;
848
848
  }, n.prototype.subscribe = function(r, e, t) {
849
- var i = this, o = wr(r) ? r : new te(r, e, t);
850
- return G(function() {
849
+ var i = this, o = kr(r) ? r : new ie(r, e, t);
850
+ return N(function() {
851
851
  var a = i, l = a.operator, u = a.source;
852
852
  o.add(l ? l.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
853
853
  }), o;
@@ -860,7 +860,7 @@ var Te = function() {
860
860
  }, n.prototype.forEach = function(r, e) {
861
861
  var t = this;
862
862
  return e = ze(e), new e(function(i, o) {
863
- var a = new te({
863
+ var a = new ie({
864
864
  next: function(l) {
865
865
  try {
866
866
  r(l);
@@ -876,12 +876,12 @@ var Te = function() {
876
876
  }, n.prototype._subscribe = function(r) {
877
877
  var e;
878
878
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(r);
879
- }, n.prototype[mr] = function() {
879
+ }, n.prototype[vr] = function() {
880
880
  return this;
881
881
  }, n.prototype.pipe = function() {
882
882
  for (var r = [], e = 0; e < arguments.length; e++)
883
883
  r[e] = arguments[e];
884
- return br(r)(this);
884
+ return yr(r)(this);
885
885
  }, n.prototype.toPromise = function(r) {
886
886
  var e = this;
887
887
  return r = ze(r), new r(function(t, i) {
@@ -900,20 +900,20 @@ var Te = function() {
900
900
  }();
901
901
  function ze(n) {
902
902
  var r;
903
- return (r = n != null ? n : dr.Promise) !== null && r !== void 0 ? r : Promise;
903
+ return (r = n != null ? n : cr.Promise) !== null && r !== void 0 ? r : Promise;
904
904
  }
905
- function yr(n) {
905
+ function wr(n) {
906
906
  return n && z(n.next) && z(n.error) && z(n.complete);
907
907
  }
908
- function wr(n) {
909
- return n && n instanceof qe || yr(n) && Ae(n);
908
+ function kr(n) {
909
+ return n && n instanceof qe || wr(n) && Ae(n);
910
910
  }
911
911
  var Sr = Pe(function(n) {
912
912
  return function() {
913
913
  n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
914
914
  };
915
915
  }), Re = function(n) {
916
- M(r, n);
916
+ C(r, n);
917
917
  function r() {
918
918
  var e = n.call(this) || this;
919
919
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
@@ -926,12 +926,12 @@ var Sr = Pe(function(n) {
926
926
  throw new Sr();
927
927
  }, r.prototype.next = function(e) {
928
928
  var t = this;
929
- G(function() {
929
+ N(function() {
930
930
  var i, o;
931
931
  if (t._throwIfClosed(), !t.isStopped) {
932
932
  t.currentObservers || (t.currentObservers = Array.from(t.observers));
933
933
  try {
934
- for (var a = $(t.currentObservers), l = a.next(); !l.done; l = a.next()) {
934
+ for (var a = ee(t.currentObservers), l = a.next(); !l.done; l = a.next()) {
935
935
  var u = l.value;
936
936
  u.next(e);
937
937
  }
@@ -948,7 +948,7 @@ var Sr = Pe(function(n) {
948
948
  });
949
949
  }, r.prototype.error = function(e) {
950
950
  var t = this;
951
- G(function() {
951
+ N(function() {
952
952
  if (t._throwIfClosed(), !t.isStopped) {
953
953
  t.hasError = t.isStopped = !0, t.thrownError = e;
954
954
  for (var i = t.observers; i.length; )
@@ -957,7 +957,7 @@ var Sr = Pe(function(n) {
957
957
  });
958
958
  }, r.prototype.complete = function() {
959
959
  var e = this;
960
- G(function() {
960
+ N(function() {
961
961
  if (e._throwIfClosed(), !e.isStopped) {
962
962
  e.isStopped = !0;
963
963
  for (var t = e.observers; t.length; )
@@ -979,8 +979,8 @@ var Sr = Pe(function(n) {
979
979
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
980
980
  }, r.prototype._innerSubscribe = function(e) {
981
981
  var t = this, i = this, o = i.hasError, a = i.isStopped, l = i.observers;
982
- return o || a ? De : (this.currentObservers = null, l.push(e), new F(function() {
983
- t.currentObservers = null, ne(l, e);
982
+ return o || a ? De : (this.currentObservers = null, l.push(e), new L(function() {
983
+ t.currentObservers = null, te(l, e);
984
984
  }));
985
985
  }, r.prototype._checkFinalizedStatuses = function(e) {
986
986
  var t = this, i = t.hasError, o = t.thrownError, a = t.isStopped;
@@ -992,7 +992,7 @@ var Sr = Pe(function(n) {
992
992
  return new xe(e, t);
993
993
  }, r;
994
994
  }(Te), xe = function(n) {
995
- M(r, n);
995
+ C(r, n);
996
996
  function r(e, t) {
997
997
  var i = n.call(this) || this;
998
998
  return i.destination = e, i.source = t, i;
@@ -1015,8 +1015,8 @@ var Sr = Pe(function(n) {
1015
1015
  return (We.delegate || Date).now();
1016
1016
  },
1017
1017
  delegate: void 0
1018
- }, kr = function(n) {
1019
- M(r, n);
1018
+ }, Tr = function(n) {
1019
+ C(r, n);
1020
1020
  function r(e, t, i) {
1021
1021
  e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i = We);
1022
1022
  var o = n.call(this) || this;
@@ -1039,17 +1039,17 @@ var Sr = Pe(function(n) {
1039
1039
  }
1040
1040
  }, r;
1041
1041
  }(Re);
1042
- const _e = [], je = {}, Tr = (n, r = 0) => {
1042
+ const _e = [], je = {}, zr = (n, r = 0) => {
1043
1043
  if (_e.indexOf(n) == -1) {
1044
- const e = new kr(r);
1044
+ const e = new Tr(r);
1045
1045
  je[n] = e, _e.push(n);
1046
1046
  }
1047
1047
  return je[n];
1048
1048
  };
1049
- window.emWidgets = { topic: Tr };
1049
+ typeof window != "undefined" && (window.emWidgets = { topic: zr });
1050
1050
  String(Number.MAX_SAFE_INTEGER).length;
1051
- var zr = L('<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>'), xr = L('<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), _r = L('<div class="svelte-1g2duiq"><p class="svelte-1g2duiq"> </p></div>'), jr = L('<div class="main-container svelte-1g2duiq"><!></div>');
1052
- const Pr = {
1051
+ var xr = G('<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>'), _r = G('<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), jr = G('<div class="svelte-1g2duiq"><p class="svelte-1g2duiq"> </p></div>'), Pr = G('<div class="main-container svelte-1g2duiq"><!></div>');
1052
+ const Dr = {
1053
1053
  hash: "svelte-1g2duiq",
1054
1054
  code: `.svelte-1g2duiq,
1055
1055
  .svelte-1g2duiq::before,
@@ -1131,10 +1131,10 @@ const Pr = {
1131
1131
  }
1132
1132
  */`
1133
1133
  };
1134
- function Dr(n, r) {
1135
- var le, ue;
1136
- Qe(r, !0), nr(n, Pr);
1137
- 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), S = T(r, "translationurl", 7), H = /iPhone|iPad|iPod/.test(navigator.userAgent), m = (le = navigator.deviceMemory) != null ? le : 1 / 0, Ce = (ue = navigator.hardwareConcurrency) != null ? ue : 1 / 0;
1134
+ function Ar(n, r) {
1135
+ var ue, de;
1136
+ Qe(r, !0), rr(n, Dr);
1137
+ const e = () => ur(er, "$_", t), [t, i] = ir(), 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), k = T(r, "translationurl", 7), F = /iPhone|iPad|iPod/.test(navigator.userAgent), m = (ue = navigator.deviceMemory) != null ? ue : 1 / 0, Ce = (de = navigator.hardwareConcurrency) != null ? de : 1 / 0;
1138
1138
  function Ee() {
1139
1139
  try {
1140
1140
  const c = document.createElement("canvas").getContext("webgl");
@@ -1147,10 +1147,10 @@ function Dr(n, r) {
1147
1147
  return !1;
1148
1148
  }
1149
1149
  }
1150
- const Oe = !H && (m <= 4 || Ce <= 4 || Ee()), ie = fe(() => x() || Oe);
1151
- tr({ withLocale: "en", translations: {} });
1152
- const Me = () => {
1153
- let s = new URL(S());
1150
+ const Oe = !F && (m <= 4 || Ce <= 4 || Ee()), oe = fe(() => x() || Oe);
1151
+ nr({ withLocale: "en", translations: {} });
1152
+ const Be = () => {
1153
+ let s = new URL(k());
1154
1154
  fetch(s.href).then((c) => c.json()).then((c) => {
1155
1155
  Object.keys(c).forEach((y) => {
1156
1156
  me(y, c[y]);
@@ -1162,35 +1162,35 @@ function Dr(n, r) {
1162
1162
  Object.keys(we).forEach((s) => {
1163
1163
  me(s, we[s]);
1164
1164
  }), ve(u());
1165
- const Be = () => {
1165
+ const Me = () => {
1166
1166
  ve(u());
1167
1167
  };
1168
- Je(() => {
1169
- S() && Me();
1170
- }), Ye(() => {
1171
- Be();
1168
+ Ye(() => {
1169
+ k() && Be();
1170
+ }), Ke(() => {
1171
+ Me();
1172
1172
  });
1173
- let _ = W(!1), b = W(Ke([])), oe = W(!1), I = W(!1), A = W(null), ae = W(!1);
1174
- const Ne = () => K(this, null, function* () {
1173
+ let _ = q(!1), b = q(Ze([])), ae = q(!1), H = q(!1), D = q(null), se = q(!1);
1174
+ const Ne = () => Y(this, null, function* () {
1175
1175
  p(_, !0);
1176
1176
  const s = new URL(`${o()}/v1/wof/claimable`), c = new Headers();
1177
1177
  a() && c.append("X-SessionId", a());
1178
1178
  const y = { method: "GET", headers: c, cache: "no-store" };
1179
1179
  s.searchParams.append("filter", "wheelOfFortune"), fetch(s, y).then((d) => d.json()).then((d) => {
1180
- var P, q, B, f;
1180
+ var P, A, E, f;
1181
1181
  if (d && ((P = d.errorMessage) == null ? void 0 : P.trim()) === "InvalidSessionId") {
1182
- p(I, !0), p(_, !1);
1182
+ p(H, !0), p(_, !1);
1183
1183
  return;
1184
1184
  }
1185
- if ((B = (q = d == null ? void 0 : d.items) == null ? void 0 : q.program) != null && B.canClaim) {
1185
+ if ((E = (A = d == null ? void 0 : d.items) == null ? void 0 : A.program) != null && E.canClaim) {
1186
1186
  p(b, (f = d == null ? void 0 : d.items) == null ? void 0 : f.program, !0), p(_, !1);
1187
1187
  return;
1188
1188
  }
1189
1189
  p(b, d == null ? void 0 : d.items, !0);
1190
1190
  }).catch((d) => {
1191
- console.log(d), p(oe, !0);
1191
+ console.log(d), p(ae, !0);
1192
1192
  }).finally(() => p(_, !1));
1193
- }), Ge = () => K(this, null, function* () {
1193
+ }), Ge = () => Y(this, null, function* () {
1194
1194
  p(_, !0);
1195
1195
  const s = new URL(`${o()}/v1/wof/lotteries`), c = new Headers();
1196
1196
  a() && c.append("X-SessionId", a());
@@ -1198,95 +1198,95 @@ function Dr(n, r) {
1198
1198
  s.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(s, y).then((d) => d.json()).then((d) => {
1199
1199
  var P;
1200
1200
  if (d && ((P = d.errorMessage) == null ? void 0 : P.trim()) === "InvalidSessionId") {
1201
- p(I, !0), p(_, !1);
1201
+ p(H, !0), p(_, !1);
1202
1202
  return;
1203
1203
  }
1204
- p(b, d == null ? void 0 : d.items.map((q) => $e(q, u())), !0), g(b).length === 1 && (p(A, g(b)[0], !0), p(ae, !0)), g(b).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
1204
+ p(b, d == null ? void 0 : d.items.map((A) => $e(A, u())), !0), g(b).length === 1 && (p(D, g(b)[0], !0), p(se, !0)), g(b).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
1205
1205
  }).catch((d) => {
1206
- console.log(d), p(oe, !0);
1206
+ console.log(d), p(ae, !0);
1207
1207
  }).finally(() => p(_, !1));
1208
- }), se = (s) => {
1208
+ }), le = (s) => {
1209
1209
  if (s.data)
1210
1210
  switch (s.data.type) {
1211
1211
  case "PlayMiniGame":
1212
- p(A, g(b).find((c) => c.id === s.data.programId), !0);
1212
+ p(D, g(b).find((c) => c.id === s.data.programId), !0);
1213
1213
  break;
1214
1214
  case "CloseMiniGame":
1215
- p(A, null);
1215
+ p(D, null);
1216
1216
  break;
1217
1217
  case "PrizeGameRemainingTimesUpdated":
1218
- p(A, s.data.data, !0), p(b, g(b).map((c) => c.id === s.data.data.id ? s.data.data : c), !0);
1218
+ p(D, s.data.data, !0), p(b, g(b).map((c) => c.id === s.data.data.id ? s.data.data : c), !0);
1219
1219
  break;
1220
1220
  }
1221
1221
  };
1222
- ir(() => (setTimeout(
1222
+ tr(() => (setTimeout(
1223
1223
  () => {
1224
1224
  window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!a() }, window.location.href);
1225
1225
  },
1226
1226
  0
1227
- ), a() && (l() ? Ne() : Ge()), window.addEventListener("message", se), () => {
1228
- window.removeEventListener("message", se);
1227
+ ), a() && (l() ? Ne() : Ge()), window.addEventListener("message", le), () => {
1228
+ window.removeEventListener("message", le);
1229
1229
  }));
1230
1230
  var Le = {
1231
1231
  get endpoint() {
1232
1232
  return o();
1233
1233
  },
1234
1234
  set endpoint(s) {
1235
- o(s), k();
1235
+ o(s), S();
1236
1236
  },
1237
1237
  get session() {
1238
1238
  return a();
1239
1239
  },
1240
1240
  set session(s) {
1241
- a(s), k();
1241
+ a(s), S();
1242
1242
  },
1243
1243
  get requiresOptin() {
1244
1244
  return l();
1245
1245
  },
1246
1246
  set requiresOptin(s = !1) {
1247
- l(s), k();
1247
+ l(s), S();
1248
1248
  },
1249
1249
  get language() {
1250
1250
  return u();
1251
1251
  },
1252
1252
  set language(s = "en") {
1253
- u(s), k();
1253
+ u(s), S();
1254
1254
  },
1255
1255
  get outerWheelAsset() {
1256
1256
  return h();
1257
1257
  },
1258
1258
  set outerWheelAsset(s = null) {
1259
- h(s), k();
1259
+ h(s), S();
1260
1260
  },
1261
1261
  get wheelButtonAsset() {
1262
1262
  return v();
1263
1263
  },
1264
1264
  set wheelButtonAsset(s = null) {
1265
- v(s), k();
1265
+ v(s), S();
1266
1266
  },
1267
1267
  get backgroundVideoAsset() {
1268
1268
  return j();
1269
1269
  },
1270
1270
  set backgroundVideoAsset(s = null) {
1271
- j(s), k();
1271
+ j(s), S();
1272
1272
  },
1273
1273
  get liteMode() {
1274
1274
  return x();
1275
1275
  },
1276
1276
  set liteMode(s = !1) {
1277
- x(s), k();
1277
+ x(s), S();
1278
1278
  },
1279
1279
  get translationurl() {
1280
- return S();
1280
+ return k();
1281
1281
  },
1282
1282
  set translationurl(s) {
1283
- S(s), k();
1283
+ k(s), S();
1284
1284
  }
1285
- }, V = jr(), Fe = C(V);
1285
+ }, I = Pr(), Fe = K(I);
1286
1286
  {
1287
1287
  var He = (s) => {
1288
- var c = zr();
1289
- O(s, c);
1288
+ var c = xr();
1289
+ W(s, c);
1290
1290
  }, Ie = (s) => {
1291
1291
  var c = ar(), y = pe(c);
1292
1292
  {
@@ -1305,15 +1305,15 @@ function Dr(n, r) {
1305
1305
  return u();
1306
1306
  },
1307
1307
  get liteMode() {
1308
- return g(ie);
1308
+ return g(oe);
1309
1309
  }
1310
1310
  });
1311
1311
  }, P = (f) => {
1312
1312
  {
1313
- let w = fe(() => !g(ae));
1313
+ let w = fe(() => !g(se));
1314
1314
  ye(f, {
1315
1315
  get program() {
1316
- return g(A);
1316
+ return g(D);
1317
1317
  },
1318
1318
  get endpoint() {
1319
1319
  return o();
@@ -1337,49 +1337,47 @@ function Dr(n, r) {
1337
1337
  return g(w);
1338
1338
  },
1339
1339
  get liteMode() {
1340
- return g(ie);
1340
+ return g(oe);
1341
1341
  }
1342
1342
  });
1343
1343
  }
1344
- }, q = (f) => {
1345
- var w = xr(), R = pe(w), E = C(R), U = C(E, !0);
1346
- D(E);
1347
- var de = he(E, 2), Ue = C(de, !0);
1348
- D(de), D(R);
1344
+ }, A = (f) => {
1345
+ var w = _r(), R = pe(w), O = K(R), V = Z(O, !0), Ue = he(O, 2), Je = Z(Ue, !0);
1346
+ B(R);
1349
1347
  var ce = he(R, 2);
1350
- sr(ce, 21, () => g(b), lr, (J, Y) => {
1351
- ur(J, {
1348
+ sr(ce, 21, () => g(b), lr, (U, J) => {
1349
+ dr(U, {
1352
1350
  get program() {
1353
- return g(Y);
1351
+ return g(J);
1354
1352
  }
1355
1353
  });
1356
- }), D(ce), ge(
1357
- (J, Y) => {
1358
- Z(U, J), Z(Ue, Y);
1354
+ }), B(ce), ge(
1355
+ (U, J) => {
1356
+ X(V, U), X(Je, J);
1359
1357
  },
1360
1358
  [() => e()("hubTitle"), () => e()("hubSubtitle")]
1361
- ), O(f, w);
1362
- }, B = (f) => {
1363
- var w = _r(), R = C(w), E = C(R, !0);
1364
- D(R), D(w), ge((U) => Z(E, U), [() => e()("noContent")]), O(f, w);
1359
+ ), W(f, w);
1360
+ }, E = (f) => {
1361
+ var w = jr(), R = K(w), O = Z(R, !0);
1362
+ B(w), ge((V) => X(O, V), [() => e()("noContent")]), W(f, w);
1365
1363
  };
1366
1364
  be(y, (f) => {
1367
1365
  var w;
1368
- !a() || g(I) ? f(d) : g(A) ? f(P, 1) : ((w = g(b)) == null ? void 0 : w.length) > 1 ? f(q, 2) : f(B, -1);
1366
+ !a() || g(H) ? f(d) : g(D) ? f(P, 1) : ((w = g(b)) == null ? void 0 : w.length) > 1 ? f(A, 2) : f(E, -1);
1369
1367
  });
1370
1368
  }
1371
- O(s, c);
1369
+ W(s, c);
1372
1370
  };
1373
1371
  be(Fe, (s) => {
1374
1372
  g(_) ? s(He) : s(Ie, -1);
1375
1373
  });
1376
1374
  }
1377
- D(V), O(n, V);
1378
- var Ve = Ze(Le);
1375
+ B(I), W(n, I);
1376
+ var Ve = Xe(Le);
1379
1377
  return i(), Ve;
1380
1378
  }
1381
1379
  customElements.define("mini-games-hub", or(
1382
- Dr,
1380
+ Ar,
1383
1381
  {
1384
1382
  endpoint: { attribute: "endpoint", type: "String" },
1385
1383
  session: { attribute: "session", type: "String" },
@@ -1395,5 +1393,5 @@ customElements.define("mini-games-hub", or(
1395
1393
  []
1396
1394
  ));
1397
1395
  export {
1398
- Dr as default
1396
+ Ar as default
1399
1397
  };