@everymatrix/casino-engagement-suite-tournament 1.55.0 → 1.56.0

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 (30) hide show
  1. package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
  2. package/dist/casino-engagement-suite-tournament/index.esm.js +1 -1
  3. package/dist/casino-engagement-suite-tournament/p-00972ad5.js +2 -0
  4. package/dist/casino-engagement-suite-tournament/{p-9c24a103.entry.js → p-69ef97d1.entry.js} +1 -1
  5. package/dist/casino-engagement-suite-tournament/p-c1d0b870.js +1 -0
  6. package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +39 -13
  7. package/dist/cjs/{casino-engagement-suite-tournament-d2f62483.js → casino-engagement-suite-tournament-19a1c3b7.js} +200 -144
  8. package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
  9. package/dist/cjs/{index-4eb9b2e6.js → index-79c59362.js} +253 -145
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/collection-manifest.json +1 -1
  13. package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +35 -4
  14. package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +39 -13
  15. package/dist/esm/{casino-engagement-suite-tournament-66512e26.js → casino-engagement-suite-tournament-f2131da2.js} +200 -144
  16. package/dist/esm/casino-engagement-suite-tournament.js +3 -3
  17. package/dist/esm/{index-3124114b.js → index-bc18616b.js} +253 -145
  18. package/dist/esm/index.js +2 -2
  19. package/dist/esm/loader.js +2 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +2 -0
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +2 -0
  22. package/package.json +1 -1
  23. package/dist/casino-engagement-suite-tournament/p-1cd75583.js +0 -2
  24. package/dist/casino-engagement-suite-tournament/p-94b7b68e.js +0 -1
  25. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +0 -2
  26. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +0 -2
  27. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/index.d.ts +0 -0
  28. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  29. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  30. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-4eb9b2e6.js');
3
+ const index = require('./index-79c59362.js');
4
4
 
5
5
  /******************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
@@ -648,35 +648,35 @@ const renders = {
648
648
 
649
649
  function a() {
650
650
  }
651
- function N(t) {
651
+ function M(t) {
652
652
  return t();
653
653
  }
654
- function A() {
654
+ function O() {
655
655
  return /* @__PURE__ */ Object.create(null);
656
656
  }
657
657
  function y(t) {
658
- t.forEach(N);
658
+ t.forEach(M);
659
659
  }
660
- function P(t) {
660
+ function N(t) {
661
661
  return typeof t == "function";
662
662
  }
663
- function B(t, e) {
663
+ function R(t, e) {
664
664
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
665
665
  }
666
- function R(t) {
666
+ function T(t) {
667
667
  return Object.keys(t).length === 0;
668
668
  }
669
669
  function H(t, e) {
670
670
  t.appendChild(e);
671
671
  }
672
- function I(t, e, n) {
673
- const s = U(t);
672
+ function U(t, e, n) {
673
+ const s = I(t);
674
674
  if (!s.getElementById(e)) {
675
675
  const i = v("style");
676
- i.id = e, i.textContent = n, D(s, i);
676
+ i.id = e, i.textContent = n, z(s, i);
677
677
  }
678
678
  }
679
- function U(t) {
679
+ function I(t) {
680
680
  if (!t) return document;
681
681
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
682
682
  return e && /** @type {ShadowRoot} */
@@ -685,14 +685,14 @@ function U(t) {
685
685
  e
686
686
  ) : t.ownerDocument;
687
687
  }
688
- function D(t, e) {
688
+ function z(t, e) {
689
689
  return H(
690
690
  /** @type {Document} */
691
691
  t.head || t,
692
692
  e
693
693
  ), e.sheet;
694
694
  }
695
- function M(t, e, n) {
695
+ function B(t, e, n) {
696
696
  t.insertBefore(e, n || null);
697
697
  }
698
698
  function E(t) {
@@ -701,13 +701,13 @@ function E(t) {
701
701
  function v(t) {
702
702
  return document.createElement(t);
703
703
  }
704
- function G(t, e, n) {
704
+ function D(t, e, n) {
705
705
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
706
706
  }
707
- function J(t) {
707
+ function F(t) {
708
708
  return Array.from(t.childNodes);
709
709
  }
710
- function V(t) {
710
+ function G(t) {
711
711
  const e = {};
712
712
  return t.childNodes.forEach(
713
713
  /** @param {Element} node */
@@ -716,116 +716,123 @@ function V(t) {
716
716
  }
717
717
  ), e;
718
718
  }
719
- let C;
720
- function p(t) {
721
- C = t;
719
+ let p;
720
+ function _(t) {
721
+ p = t;
722
+ }
723
+ function J() {
724
+ if (!p) throw new Error("Function called outside component initialization");
725
+ return p;
722
726
  }
723
- const f = [], x = [];
727
+ function V(t) {
728
+ J().$$.on_mount.push(t);
729
+ }
730
+ const $ = [], w = [];
724
731
  let h = [];
725
- const S = [], z = /* @__PURE__ */ Promise.resolve();
726
- let w = !1;
727
- function F() {
728
- w || (w = !0, z.then(m));
732
+ const A = [], q = /* @__PURE__ */ Promise.resolve();
733
+ let x = !1;
734
+ function K() {
735
+ x || (x = !0, q.then(m));
729
736
  }
730
737
  function k(t) {
731
738
  h.push(t);
732
739
  }
733
740
  const b = /* @__PURE__ */ new Set();
734
- let $ = 0;
741
+ let f = 0;
735
742
  function m() {
736
- if ($ !== 0)
743
+ if (f !== 0)
737
744
  return;
738
- const t = C;
745
+ const t = p;
739
746
  do {
740
747
  try {
741
- for (; $ < f.length; ) {
742
- const e = f[$];
743
- $++, p(e), q(e.$$);
748
+ for (; f < $.length; ) {
749
+ const e = $[f];
750
+ f++, _(e), Q(e.$$);
744
751
  }
745
752
  } catch (e) {
746
- throw f.length = 0, $ = 0, e;
753
+ throw $.length = 0, f = 0, e;
747
754
  }
748
- for (p(null), f.length = 0, $ = 0; x.length; ) x.pop()();
755
+ for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
749
756
  for (let e = 0; e < h.length; e += 1) {
750
757
  const n = h[e];
751
758
  b.has(n) || (b.add(n), n());
752
759
  }
753
760
  h.length = 0;
754
- } while (f.length);
755
- for (; S.length; )
756
- S.pop()();
757
- w = !1, b.clear(), p(t);
761
+ } while ($.length);
762
+ for (; A.length; )
763
+ A.pop()();
764
+ x = !1, b.clear(), _(t);
758
765
  }
759
- function q(t) {
766
+ function Q(t) {
760
767
  if (t.fragment !== null) {
761
768
  t.update(), y(t.before_update);
762
769
  const e = t.dirty;
763
770
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
764
771
  }
765
772
  }
766
- function K(t) {
773
+ function W(t) {
767
774
  const e = [], n = [];
768
775
  h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
769
776
  }
770
- const Q = /* @__PURE__ */ new Set();
771
- function W(t, e) {
772
- t && t.i && (Q.delete(t), t.i(e));
777
+ const X = /* @__PURE__ */ new Set();
778
+ function Y(t, e) {
779
+ t && t.i && (X.delete(t), t.i(e));
773
780
  }
774
- function X(t, e, n) {
781
+ function Z(t, e, n) {
775
782
  const { fragment: s, after_update: i } = t.$$;
776
783
  s && s.m(e, n), k(() => {
777
- const l = t.$$.on_mount.map(N).filter(P);
778
- t.$$.on_destroy ? t.$$.on_destroy.push(...l) : y(l), t.$$.on_mount = [];
784
+ const r = t.$$.on_mount.map(M).filter(N);
785
+ t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
779
786
  }), i.forEach(k);
780
787
  }
781
- function Y(t, e) {
788
+ function tt(t, e) {
782
789
  const n = t.$$;
783
- n.fragment !== null && (K(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
790
+ n.fragment !== null && (W(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
784
791
  }
785
- function Z(t, e) {
786
- t.$$.dirty[0] === -1 && (f.push(t), F(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
792
+ function et(t, e) {
793
+ t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
787
794
  }
788
- function tt(t, e, n, s, i, l, u = null, c = [-1]) {
789
- const o = C;
790
- p(t);
791
- const r = t.$$ = {
795
+ function nt(t, e, n, s, i, r, o = null, l = [-1]) {
796
+ const c = p;
797
+ _(t);
798
+ const u = t.$$ = {
792
799
  fragment: null,
793
800
  ctx: [],
794
801
  // state
795
- props: l,
802
+ props: r,
796
803
  update: a,
797
804
  not_equal: i,
798
- bound: A(),
805
+ bound: O(),
799
806
  // lifecycle
800
807
  on_mount: [],
801
808
  on_destroy: [],
802
809
  on_disconnect: [],
803
810
  before_update: [],
804
811
  after_update: [],
805
- context: new Map(e.context || (o ? o.$$.context : [])),
812
+ context: new Map(e.context || (c ? c.$$.context : [])),
806
813
  // everything else
807
- callbacks: A(),
808
- dirty: c,
814
+ callbacks: O(),
815
+ dirty: l,
809
816
  skip_bound: !1,
810
- root: e.target || o.$$.root
817
+ root: e.target || c.$$.root
811
818
  };
812
- u && u(r.root);
813
- let _ = !1;
814
- if (r.ctx = n ? n(t, e.props || {}, (d, L, ...j) => {
815
- const O = j.length ? j[0] : L;
816
- return r.ctx && i(r.ctx[d], r.ctx[d] = O) && (!r.skip_bound && r.bound[d] && r.bound[d](O), _ && Z(t, d)), L;
817
- }) : [], r.update(), _ = !0, y(r.before_update), r.fragment = s ? s(r.ctx) : !1, e.target) {
819
+ o && o(u.root);
820
+ let L = !1;
821
+ if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
822
+ const j = S.length ? S[0] : C;
823
+ return u.ctx && i(u.ctx[d], u.ctx[d] = j) && (!u.skip_bound && u.bound[d] && u.bound[d](j), L && et(t, d)), C;
824
+ }) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
818
825
  if (e.hydrate) {
819
- const d = J(e.target);
820
- r.fragment && r.fragment.l(d), d.forEach(E);
826
+ const d = F(e.target);
827
+ u.fragment && u.fragment.l(d), d.forEach(E);
821
828
  } else
822
- r.fragment && r.fragment.c();
823
- e.intro && W(t.$$.fragment), X(t, e.target, e.anchor), m();
829
+ u.fragment && u.fragment.c();
830
+ e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
824
831
  }
825
- p(o);
832
+ _(c);
826
833
  }
827
- let T;
828
- typeof HTMLElement == "function" && (T = class extends HTMLElement {
834
+ let P;
835
+ typeof HTMLElement == "function" && (P = class extends HTMLElement {
829
836
  /** The Svelte component constructor */
830
837
  $$ctor;
831
838
  /** Slots */
@@ -864,32 +871,32 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
864
871
  if (this.$$cn = !0, !this.$$c) {
865
872
  let t = function(i) {
866
873
  return () => {
867
- let l;
874
+ let r;
868
875
  return {
869
876
  c: function() {
870
- l = v("slot"), i !== "default" && G(l, "name", i);
877
+ r = v("slot"), i !== "default" && D(r, "name", i);
871
878
  },
872
879
  /**
873
880
  * @param {HTMLElement} target
874
881
  * @param {HTMLElement} [anchor]
875
882
  */
876
- m: function(o, r) {
877
- M(o, l, r);
883
+ m: function(c, u) {
884
+ B(c, r, u);
878
885
  },
879
- d: function(o) {
880
- o && E(l);
886
+ d: function(c) {
887
+ c && E(r);
881
888
  }
882
889
  };
883
890
  };
884
891
  };
885
892
  if (await Promise.resolve(), !this.$$cn || this.$$c)
886
893
  return;
887
- const e = {}, n = V(this);
894
+ const e = {}, n = G(this);
888
895
  for (const i of this.$$s)
889
896
  i in n && (e[i] = [t(i)]);
890
897
  for (const i of this.attributes) {
891
- const l = this.$$g_p(i.name);
892
- l in this.$$d || (this.$$d[l] = g(l, i.value, this.$$p_d, "toProp"));
898
+ const r = this.$$g_p(i.name);
899
+ r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
893
900
  }
894
901
  for (const i in this.$$p_d)
895
902
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -907,21 +914,21 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
907
914
  this.$$r = !0;
908
915
  for (const i in this.$$p_d)
909
916
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
910
- const l = g(
917
+ const r = g(
911
918
  i,
912
919
  this.$$d[i],
913
920
  this.$$p_d,
914
921
  "toAttribute"
915
922
  );
916
- l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
923
+ r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
917
924
  }
918
925
  this.$$r = !1;
919
926
  };
920
927
  this.$$c.$$.after_update.push(s), s();
921
928
  for (const i in this.$$l)
922
- for (const l of this.$$l[i]) {
923
- const u = this.$$c.$on(i, l);
924
- this.$$l_u.set(l, u);
929
+ for (const r of this.$$l[i]) {
930
+ const o = this.$$c.$on(i, r);
931
+ this.$$l_u.set(r, o);
925
932
  }
926
933
  this.$$l = {};
927
934
  }
@@ -971,36 +978,36 @@ function g(t, e, n, s) {
971
978
  return e;
972
979
  }
973
980
  }
974
- function et(t, e, n, s, i, l) {
975
- let u = class extends T {
981
+ function it(t, e, n, s, i, r) {
982
+ let o = class extends P {
976
983
  constructor() {
977
984
  super(t, n, i), this.$$p_d = e;
978
985
  }
979
986
  static get observedAttributes() {
980
987
  return Object.keys(e).map(
981
- (c) => (e[c].attribute || c).toLowerCase()
988
+ (l) => (e[l].attribute || l).toLowerCase()
982
989
  );
983
990
  }
984
991
  };
985
- return Object.keys(e).forEach((c) => {
986
- Object.defineProperty(u.prototype, c, {
992
+ return Object.keys(e).forEach((l) => {
993
+ Object.defineProperty(o.prototype, l, {
987
994
  get() {
988
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
995
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
989
996
  },
990
- set(o) {
991
- o = g(c, o, e), this.$$d[c] = o, this.$$c?.$set({ [c]: o });
997
+ set(c) {
998
+ c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
992
999
  }
993
1000
  });
994
- }), s.forEach((c) => {
995
- Object.defineProperty(u.prototype, c, {
1001
+ }), s.forEach((l) => {
1002
+ Object.defineProperty(o.prototype, l, {
996
1003
  get() {
997
- return this.$$c?.[c];
1004
+ return this.$$c?.[l];
998
1005
  }
999
1006
  });
1000
1007
  }), t.element = /** @type {any} */
1001
- u, u;
1008
+ o, o;
1002
1009
  }
1003
- class nt {
1010
+ class st {
1004
1011
  /**
1005
1012
  * ### PRIVATE API
1006
1013
  *
@@ -1019,7 +1026,7 @@ class nt {
1019
1026
  $$set = void 0;
1020
1027
  /** @returns {void} */
1021
1028
  $destroy() {
1022
- Y(this, 1), this.$destroy = a;
1029
+ tt(this, 1), this.$destroy = a;
1023
1030
  }
1024
1031
  /**
1025
1032
  * @template {Extract<keyof Events, string>} K
@@ -1028,7 +1035,7 @@ class nt {
1028
1035
  * @returns {() => void}
1029
1036
  */
1030
1037
  $on(e, n) {
1031
- if (!P(n))
1038
+ if (!N(n))
1032
1039
  return a;
1033
1040
  const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
1034
1041
  return s.push(n), () => {
@@ -1041,67 +1048,93 @@ class nt {
1041
1048
  * @returns {void}
1042
1049
  */
1043
1050
  $set(e) {
1044
- this.$$set && !R(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
1051
+ this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
1052
+ }
1053
+ }
1054
+ const rt = "4";
1055
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
1056
+ function ct(t, e) {
1057
+ if (t) {
1058
+ const n = document.createElement("style");
1059
+ n.innerHTML = e, t.appendChild(n);
1060
+ }
1061
+ }
1062
+ function ot(t, e) {
1063
+ const n = new URL(e);
1064
+ fetch(n.href).then((s) => s.text()).then((s) => {
1065
+ const i = document.createElement("style");
1066
+ i.innerHTML = s, t && t.appendChild(i);
1067
+ }).catch((s) => {
1068
+ console.error("There was an error while trying to load client styling from URL", s);
1069
+ });
1070
+ }
1071
+ function lt(t, e, n) {
1072
+ if (window.emMessageBus) {
1073
+ const s = document.createElement("style");
1074
+ window.emMessageBus.subscribe(e, (i) => {
1075
+ s.innerHTML = i, t && t.appendChild(s);
1076
+ });
1045
1077
  }
1046
1078
  }
1047
- const it = "4";
1048
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(it);
1049
- function st(t) {
1050
- I(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1079
+ function ut(t) {
1080
+ U(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1051
1081
  }
1052
- function rt(t) {
1082
+ function dt(t) {
1053
1083
  let e;
1054
1084
  return {
1055
1085
  c() {
1056
- e = v("div"), e.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
1086
+ e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
1057
1087
  },
1058
1088
  m(n, s) {
1059
- M(n, e, s), t[3](e);
1089
+ B(n, e, s), t[4](e);
1060
1090
  },
1061
1091
  p: a,
1062
1092
  i: a,
1063
1093
  o: a,
1064
1094
  d(n) {
1065
- n && E(e), t[3](null);
1095
+ n && E(e), t[4](null);
1066
1096
  }
1067
1097
  };
1068
1098
  }
1069
- function lt(t, e, n) {
1070
- let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, l;
1071
- const u = () => {
1072
- let r = document.createElement("style");
1073
- r.innerHTML = s, l.appendChild(r);
1074
- }, c = () => {
1075
- let r = new URL(i), _ = document.createElement("style");
1076
- fetch(r.href).then((d) => d.text()).then((d) => {
1077
- _.innerHTML = d, setTimeout(
1078
- () => {
1079
- l.appendChild(_);
1080
- },
1081
- 1
1082
- ), setTimeout(
1083
- () => {
1084
- },
1085
- 500
1086
- );
1087
- });
1088
- };
1089
- function o(r) {
1090
- x[r ? "unshift" : "push"](() => {
1091
- l = r, n(0, l);
1099
+ function ft(t, e, n) {
1100
+ let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
1101
+ V(() => () => {
1102
+ });
1103
+ function l(c) {
1104
+ w[c ? "unshift" : "push"](() => {
1105
+ o = c, n(0, o);
1092
1106
  });
1093
1107
  }
1094
- return t.$$set = (r) => {
1095
- "clientstyling" in r && n(1, s = r.clientstyling), "clientstylingurl" in r && n(2, i = r.clientstylingurl);
1108
+ return t.$$set = (c) => {
1109
+ "clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
1096
1110
  }, t.$$.update = () => {
1097
1111
  t.$$.dirty & /*clientstyling, customStylingContainer*/
1098
- 3 && s && l && u(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1099
- 5 && i && l && c();
1100
- }, [l, s, i, o];
1112
+ 3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1113
+ 5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
1114
+ 9 && r && o && lt(o, `${r}.Style`);
1115
+ }, [
1116
+ o,
1117
+ s,
1118
+ i,
1119
+ r,
1120
+ l
1121
+ ];
1101
1122
  }
1102
- class ct extends nt {
1123
+ class $t extends st {
1103
1124
  constructor(e) {
1104
- super(), tt(this, e, lt, rt, B, { clientstyling: 1, clientstylingurl: 2 }, st);
1125
+ super(), nt(
1126
+ this,
1127
+ e,
1128
+ ft,
1129
+ dt,
1130
+ R,
1131
+ {
1132
+ clientstyling: 1,
1133
+ clientstylingurl: 2,
1134
+ mbsource: 3
1135
+ },
1136
+ ut
1137
+ );
1105
1138
  }
1106
1139
  get clientstyling() {
1107
1140
  return this.$$.ctx[1];
@@ -1115,8 +1148,14 @@ class ct extends nt {
1115
1148
  set clientstylingurl(e) {
1116
1149
  this.$$set({ clientstylingurl: e }), m();
1117
1150
  }
1151
+ get mbsource() {
1152
+ return this.$$.ctx[3];
1153
+ }
1154
+ set mbsource(e) {
1155
+ this.$$set({ mbsource: e }), m();
1156
+ }
1118
1157
  }
1119
- et(ct, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
1158
+ it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
1120
1159
 
1121
1160
  function i(n) {
1122
1161
  return function(...t) {
@@ -1130,7 +1169,7 @@ function i(n) {
1130
1169
  };
1131
1170
  }
1132
1171
  customElements.define = i(customElements.define);
1133
- !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", ct.element);
1172
+ !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", $t.element);
1134
1173
 
1135
1174
  const casinoEngagementSuiteTournamentCss = ".Wrapper{height:100%;position:relative;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:24px;overflow-y:auto}.Wrapper.Mobile{border-radius:16px}.WrapperContent{padding-bottom:20px;transition:0.5s filter}.WrapperContent.faded{filter:brightness(53.3333333333%)}.Wrapper.Mobile .WrapperBar{padding:20px 8px 8px;margin-bottom:8px}.WrapperBar{display:flex;width:100%;padding:32px 20px 20px;margin-bottom:20px}.WrapperBarLeft,.WrapperBarRight{cursor:pointer;z-index:1}.WrapperBarMiddle{flex-grow:1;text-align:center;font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:500;color:var(--emw--color-secondary, rgb(187, 185, 195))}:host{display:block;font-size:var(--emw--font-size-x-small, 12px);font-family:Inter}.Row{margin:24px 0;padding:0 20px}.Row:first-child{margin:0}.LeaderboardsItem{position:relative;margin:10px 0;border:1px solid rgb(64, 57, 86);border-radius:16px}.LeaderboardsItem.Hollow{border-color:transparent}.LeaderboardsItem:first-child{margin-top:0}.LeaderboardsItemContainer{padding-top:16px}.Info{margin:24px 0;padding:0 20px}.TimeContainer{margin:24px 0;padding:0 20px}.TimeContainer .Time{display:flex;justify-content:space-between;font-size:var(--emw--font-size-x-small, 12px);align-items:center;color:var(--emw--color-secondary, rgb(187, 185, 195))}.TimeContainer .Time button{font-size:var(--emw--font-size-x-small, 12px);height:20px;padding:0}.TimeContainer .Time button::before{inset:inherit;border:0}.ShowInfo{margin:24px 0;padding:0 20px;cursor:pointer;color:rgb(102, 97, 120)}.ShowInfo p{display:flex;gap:4px}.TitleContainer{display:flex;justify-content:space-between;margin:24px 0;padding:0 20px;margin-top:0;gap:10px;font-family:Montserrat}.TitleContainer .GradientRoundedButton{width:120px}.TabsContainer{margin:24px 0;padding:0 20px;margin:0 20px;padding:0;border-bottom:1px solid #575757}.Tabs{display:flex;justify-content:space-between;justify-content:start;font-size:var(--emw--font-size-x-small, 12px);margin-bottom:-1px}.Tabs>div{padding:10px;color:rgb(102, 97, 120);cursor:pointer}.Tabs>div.active{color:var(--emw--color-typography, #FFF);border-bottom:2px solid var(--emw--color-typography, #FFF)}.Title{font-size:var(--emw--font-size-medium, 16px);font-weight:700;line-height:19.5px;text-align:left;word-break:break-word}.TC{margin-top:12px}.TC a{color:rgb(89, 209, 255)}.Criterias{margin:12px 0}.Criterias span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.ResultPrize{margin:24px 0;padding:0 20px}.ResultPrize span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.Prizes{margin:24px 0;padding:0 20px}.Prizes .PrizesText{margin-left:3px;font-weight:600}.Prizes .PrizesHeader{align-items:center;display:flex}.Prizes .PrizesHeader img{width:12px}.Prizes .Prize{margin:8px 0}.Prizes .Prize .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards td{opacity:0.6;padding:20px 5px}.Leaderboards td:first-child{padding-left:20px}.Leaderboards td:last-child{padding-right:20px}.Leaderboards .LeaderboardName{color:var(--emw--color-typography, #FFF);opacity:1}.Leaderboards tr.isMe{background:rgba(0, 0, 0, 0.2)}.Leaderboards tr.isMe .LeaderboardRank span{padding:0px 3px;opacity:1;border:1px solid var(--emw--color-primary, rgb(255, 214, 47));border-radius:11px}.Leaderboards tr.isMe td{color:var(--emw--color-primary, rgb(255, 214, 47))}.LeaderboardLabels{position:absolute;top:-6px;right:18px;display:flex;gap:4px}.LeaderboardLabel{width:30px;height:15px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:var(--emw--border-radius-x-small, 2px);display:inline-flex;padding:0 2px;align-items:center;justify-content:center}.LeaderboardLabel span{display:inline-block;text-transform:uppercase;font-size:var(--emw--font-size-3x-small, 7px);line-height:7px;font-weight:var(--emw--font-weight-bold, 700);font-family:var(--emw--font-family-secondary, \"Montserrat\", sans-serif);color:var(--emw--color-background, #1E1638)}.Games{margin:24px 0;padding:0 20px;display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:4px 7.25px}.Games img{width:60px}dialog{position:absolute;top:30px;width:100%;height:100%;background:transparent;border:0;padding:0;color:var(--emw--color-typography, #FFFFFF)}dialog>div{margin:32px;border-radius:8px;background:var(--emw--color-background, hsl(254, 44%, 15%));border:1px solid hsl(254, 20%, 28%);align-items:center}.DialogContentUnjoin{padding:32px;padding-top:10px;display:flex;gap:10px;flex-direction:column}.DialogContentUnjoinTitle{font-family:Montserrat;font-size:var(--emw--font-size-large, 20px);font-weight:600;line-height:24.38px;text-align:center}.DialogContentUnjoinDescription{color:var(--emw--color-secondary, rgb(187, 185, 195));margin-bottom:30px}.Tip{padding:32px;padding-top:10px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-small, 14px)}.PageConfirmContainer{text-align:center;width:80%;margin:0 auto}.PageConfirm{padding:40px 32px;display:flex;flex-direction:column;gap:20px}.PageConfirm .Title{font-size:var(--emw--font-size-large, 20px);text-align:center}.PageConfirm .Description{color:var(--emw--color-secondary, rgb(187, 185, 195));font-weight:400}.PageConfirm .Description span{color:var(--emw--color-typography, #FFF);font-weight:600}.PageConfirmButtonsGroup{width:150px;margin:0 auto;display:flex;flex-direction:column;gap:10px}.GradientRounded{display:block;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);color:rgb(30, 22, 56);position:relative;border-radius:16px}.GradientRounded.Hollow{background:rgb(30, 22, 56);color:#FFFFFF}.GradientRounded.Hollow::before{content:\"\";position:absolute;inset:0;border-radius:15px;border:1px solid transparent;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);-webkit-mask-composite:destination-out;mask-composite:exclude}.GradientRoundedButton{border:none;padding:7px;height:32px;width:100%;font-size:var(--emw--font-size-small, 14px);font-weight:700;line-height:17.07px;text-align:center;transition:0.5s opacity;cursor:pointer}.GradientRoundedButton.Pending{cursor:not-allowed;opacity:0.3}.GradientRoundedButton.Hollow span{background:-webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}";
1136
1175
  const CasinoEngagementSuiteTournamentStyle0 = casinoEngagementSuiteTournamentCss;
@@ -1254,15 +1293,30 @@ const CasinoEngagementSuiteTournament = class {
1254
1293
  constructor(hostRef) {
1255
1294
  index.registerInstance(this, hostRef);
1256
1295
  this.close = index.createEvent(this, "close", 7);
1257
- this.gifts = [];
1258
- this.labels = [];
1296
+ /**
1297
+ * Language
1298
+ */
1259
1299
  this.language = 'en';
1300
+ /**
1301
+ * if widget is showing
1302
+ */
1260
1303
  this.show = false;
1304
+ /**
1305
+ * Client custom styling via string
1306
+ */
1261
1307
  this.clientStyling = '';
1308
+ /**
1309
+ * Client custom styling via url
1310
+ */
1262
1311
  this.clientStylingUrl = '';
1312
+ /**
1313
+ * Translation via url
1314
+ */
1263
1315
  this.translationUrl = '';
1316
+ /**
1317
+ * User's device type
1318
+ */
1264
1319
  this.device = 'Mobile';
1265
- this.leaderboardsInit = undefined;
1266
1320
  this.tab = Tab.info;
1267
1321
  this.locale = TRANSLATIONS;
1268
1322
  this.tournamentItem = undefined;
@@ -1280,7 +1334,9 @@ const CasinoEngagementSuiteTournament = class {
1280
1334
  onClose: undefined
1281
1335
  };
1282
1336
  this.time = 0;
1337
+ this.gifts = [];
1283
1338
  this.newIdList = [];
1339
+ this.labels = [];
1284
1340
  // bind all renders
1285
1341
  this.renders = {};
1286
1342
  Object.keys(renders).forEach((key) => {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4eb9b2e6.js');
5
+ const index = require('./index-79c59362.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('casino-engagement-suite-tournament.cjs.js', document.baseURI).href));