@everymatrix/casino-engagement-suite-tournament 1.54.12 → 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.
- package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/index.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/{p-64f927f2.entry.js → p-69ef97d1.entry.js} +1 -1
- package/dist/casino-engagement-suite-tournament/p-c1d0b870.js +1 -0
- package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +1 -1
- package/dist/cjs/{casino-engagement-suite-tournament-1a5b8389.js → casino-engagement-suite-tournament-19a1c3b7.js} +179 -140
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +1 -1
- package/dist/esm/{casino-engagement-suite-tournament-32d1df61.js → casino-engagement-suite-tournament-f2131da2.js} +179 -140
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
- package/dist/casino-engagement-suite-tournament/p-e641ae9c.js +0 -1
|
@@ -646,35 +646,35 @@ const renders = {
|
|
|
646
646
|
|
|
647
647
|
function a() {
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function M(t) {
|
|
650
650
|
return t();
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function O() {
|
|
653
653
|
return /* @__PURE__ */ Object.create(null);
|
|
654
654
|
}
|
|
655
655
|
function y(t) {
|
|
656
|
-
t.forEach(
|
|
656
|
+
t.forEach(M);
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function N(t) {
|
|
659
659
|
return typeof t == "function";
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function R(t, e) {
|
|
662
662
|
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
663
663
|
}
|
|
664
|
-
function
|
|
664
|
+
function T(t) {
|
|
665
665
|
return Object.keys(t).length === 0;
|
|
666
666
|
}
|
|
667
667
|
function H(t, e) {
|
|
668
668
|
t.appendChild(e);
|
|
669
669
|
}
|
|
670
|
-
function
|
|
671
|
-
const s =
|
|
670
|
+
function U(t, e, n) {
|
|
671
|
+
const s = I(t);
|
|
672
672
|
if (!s.getElementById(e)) {
|
|
673
673
|
const i = v("style");
|
|
674
|
-
i.id = e, i.textContent = n,
|
|
674
|
+
i.id = e, i.textContent = n, z(s, i);
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function I(t) {
|
|
678
678
|
if (!t) return document;
|
|
679
679
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
680
680
|
return e && /** @type {ShadowRoot} */
|
|
@@ -683,14 +683,14 @@ function U(t) {
|
|
|
683
683
|
e
|
|
684
684
|
) : t.ownerDocument;
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function z(t, e) {
|
|
687
687
|
return H(
|
|
688
688
|
/** @type {Document} */
|
|
689
689
|
t.head || t,
|
|
690
690
|
e
|
|
691
691
|
), e.sheet;
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function B(t, e, n) {
|
|
694
694
|
t.insertBefore(e, n || null);
|
|
695
695
|
}
|
|
696
696
|
function E(t) {
|
|
@@ -699,13 +699,13 @@ function E(t) {
|
|
|
699
699
|
function v(t) {
|
|
700
700
|
return document.createElement(t);
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function D(t, e, n) {
|
|
703
703
|
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function F(t) {
|
|
706
706
|
return Array.from(t.childNodes);
|
|
707
707
|
}
|
|
708
|
-
function
|
|
708
|
+
function G(t) {
|
|
709
709
|
const e = {};
|
|
710
710
|
return t.childNodes.forEach(
|
|
711
711
|
/** @param {Element} node */
|
|
@@ -714,116 +714,123 @@ function V(t) {
|
|
|
714
714
|
}
|
|
715
715
|
), e;
|
|
716
716
|
}
|
|
717
|
-
let
|
|
718
|
-
function
|
|
719
|
-
|
|
717
|
+
let p;
|
|
718
|
+
function _(t) {
|
|
719
|
+
p = t;
|
|
720
|
+
}
|
|
721
|
+
function J() {
|
|
722
|
+
if (!p) throw new Error("Function called outside component initialization");
|
|
723
|
+
return p;
|
|
724
|
+
}
|
|
725
|
+
function V(t) {
|
|
726
|
+
J().$$.on_mount.push(t);
|
|
720
727
|
}
|
|
721
|
-
const
|
|
728
|
+
const $ = [], w = [];
|
|
722
729
|
let h = [];
|
|
723
|
-
const
|
|
724
|
-
let
|
|
725
|
-
function
|
|
726
|
-
|
|
730
|
+
const A = [], q = /* @__PURE__ */ Promise.resolve();
|
|
731
|
+
let x = !1;
|
|
732
|
+
function K() {
|
|
733
|
+
x || (x = !0, q.then(m));
|
|
727
734
|
}
|
|
728
735
|
function k(t) {
|
|
729
736
|
h.push(t);
|
|
730
737
|
}
|
|
731
738
|
const b = /* @__PURE__ */ new Set();
|
|
732
|
-
let
|
|
739
|
+
let f = 0;
|
|
733
740
|
function m() {
|
|
734
|
-
if (
|
|
741
|
+
if (f !== 0)
|
|
735
742
|
return;
|
|
736
|
-
const t =
|
|
743
|
+
const t = p;
|
|
737
744
|
do {
|
|
738
745
|
try {
|
|
739
|
-
for (;
|
|
740
|
-
const e = f
|
|
741
|
-
|
|
746
|
+
for (; f < $.length; ) {
|
|
747
|
+
const e = $[f];
|
|
748
|
+
f++, _(e), Q(e.$$);
|
|
742
749
|
}
|
|
743
750
|
} catch (e) {
|
|
744
|
-
throw
|
|
751
|
+
throw $.length = 0, f = 0, e;
|
|
745
752
|
}
|
|
746
|
-
for (
|
|
753
|
+
for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
|
|
747
754
|
for (let e = 0; e < h.length; e += 1) {
|
|
748
755
|
const n = h[e];
|
|
749
756
|
b.has(n) || (b.add(n), n());
|
|
750
757
|
}
|
|
751
758
|
h.length = 0;
|
|
752
|
-
} while (
|
|
753
|
-
for (;
|
|
754
|
-
|
|
755
|
-
|
|
759
|
+
} while ($.length);
|
|
760
|
+
for (; A.length; )
|
|
761
|
+
A.pop()();
|
|
762
|
+
x = !1, b.clear(), _(t);
|
|
756
763
|
}
|
|
757
|
-
function
|
|
764
|
+
function Q(t) {
|
|
758
765
|
if (t.fragment !== null) {
|
|
759
766
|
t.update(), y(t.before_update);
|
|
760
767
|
const e = t.dirty;
|
|
761
768
|
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
|
|
762
769
|
}
|
|
763
770
|
}
|
|
764
|
-
function
|
|
771
|
+
function W(t) {
|
|
765
772
|
const e = [], n = [];
|
|
766
773
|
h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
|
|
767
774
|
}
|
|
768
|
-
const
|
|
769
|
-
function
|
|
770
|
-
t && t.i && (
|
|
775
|
+
const X = /* @__PURE__ */ new Set();
|
|
776
|
+
function Y(t, e) {
|
|
777
|
+
t && t.i && (X.delete(t), t.i(e));
|
|
771
778
|
}
|
|
772
|
-
function
|
|
779
|
+
function Z(t, e, n) {
|
|
773
780
|
const { fragment: s, after_update: i } = t.$$;
|
|
774
781
|
s && s.m(e, n), k(() => {
|
|
775
|
-
const
|
|
776
|
-
t.$$.on_destroy ? t.$$.on_destroy.push(...
|
|
782
|
+
const r = t.$$.on_mount.map(M).filter(N);
|
|
783
|
+
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
|
|
777
784
|
}), i.forEach(k);
|
|
778
785
|
}
|
|
779
|
-
function
|
|
786
|
+
function tt(t, e) {
|
|
780
787
|
const n = t.$$;
|
|
781
|
-
n.fragment !== null && (
|
|
788
|
+
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 = []);
|
|
782
789
|
}
|
|
783
|
-
function
|
|
784
|
-
t.$$.dirty[0] === -1 && (
|
|
790
|
+
function et(t, e) {
|
|
791
|
+
t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
785
792
|
}
|
|
786
|
-
function
|
|
787
|
-
const
|
|
788
|
-
|
|
789
|
-
const
|
|
793
|
+
function nt(t, e, n, s, i, r, o = null, l = [-1]) {
|
|
794
|
+
const c = p;
|
|
795
|
+
_(t);
|
|
796
|
+
const u = t.$$ = {
|
|
790
797
|
fragment: null,
|
|
791
798
|
ctx: [],
|
|
792
799
|
// state
|
|
793
|
-
props:
|
|
800
|
+
props: r,
|
|
794
801
|
update: a,
|
|
795
802
|
not_equal: i,
|
|
796
|
-
bound:
|
|
803
|
+
bound: O(),
|
|
797
804
|
// lifecycle
|
|
798
805
|
on_mount: [],
|
|
799
806
|
on_destroy: [],
|
|
800
807
|
on_disconnect: [],
|
|
801
808
|
before_update: [],
|
|
802
809
|
after_update: [],
|
|
803
|
-
context: new Map(e.context || (
|
|
810
|
+
context: new Map(e.context || (c ? c.$$.context : [])),
|
|
804
811
|
// everything else
|
|
805
|
-
callbacks:
|
|
806
|
-
dirty:
|
|
812
|
+
callbacks: O(),
|
|
813
|
+
dirty: l,
|
|
807
814
|
skip_bound: !1,
|
|
808
|
-
root: e.target ||
|
|
815
|
+
root: e.target || c.$$.root
|
|
809
816
|
};
|
|
810
|
-
|
|
811
|
-
let
|
|
812
|
-
if (
|
|
813
|
-
const
|
|
814
|
-
return
|
|
815
|
-
}) : [],
|
|
817
|
+
o && o(u.root);
|
|
818
|
+
let L = !1;
|
|
819
|
+
if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
|
|
820
|
+
const j = S.length ? S[0] : C;
|
|
821
|
+
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;
|
|
822
|
+
}) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
|
|
816
823
|
if (e.hydrate) {
|
|
817
|
-
const d =
|
|
818
|
-
|
|
824
|
+
const d = F(e.target);
|
|
825
|
+
u.fragment && u.fragment.l(d), d.forEach(E);
|
|
819
826
|
} else
|
|
820
|
-
|
|
821
|
-
e.intro &&
|
|
827
|
+
u.fragment && u.fragment.c();
|
|
828
|
+
e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
|
|
822
829
|
}
|
|
823
|
-
|
|
830
|
+
_(c);
|
|
824
831
|
}
|
|
825
|
-
let
|
|
826
|
-
typeof HTMLElement == "function" && (
|
|
832
|
+
let P;
|
|
833
|
+
typeof HTMLElement == "function" && (P = class extends HTMLElement {
|
|
827
834
|
/** The Svelte component constructor */
|
|
828
835
|
$$ctor;
|
|
829
836
|
/** Slots */
|
|
@@ -862,32 +869,32 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
|
|
|
862
869
|
if (this.$$cn = !0, !this.$$c) {
|
|
863
870
|
let t = function(i) {
|
|
864
871
|
return () => {
|
|
865
|
-
let
|
|
872
|
+
let r;
|
|
866
873
|
return {
|
|
867
874
|
c: function() {
|
|
868
|
-
|
|
875
|
+
r = v("slot"), i !== "default" && D(r, "name", i);
|
|
869
876
|
},
|
|
870
877
|
/**
|
|
871
878
|
* @param {HTMLElement} target
|
|
872
879
|
* @param {HTMLElement} [anchor]
|
|
873
880
|
*/
|
|
874
|
-
m: function(
|
|
875
|
-
|
|
881
|
+
m: function(c, u) {
|
|
882
|
+
B(c, r, u);
|
|
876
883
|
},
|
|
877
|
-
d: function(
|
|
878
|
-
|
|
884
|
+
d: function(c) {
|
|
885
|
+
c && E(r);
|
|
879
886
|
}
|
|
880
887
|
};
|
|
881
888
|
};
|
|
882
889
|
};
|
|
883
890
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
884
891
|
return;
|
|
885
|
-
const e = {}, n =
|
|
892
|
+
const e = {}, n = G(this);
|
|
886
893
|
for (const i of this.$$s)
|
|
887
894
|
i in n && (e[i] = [t(i)]);
|
|
888
895
|
for (const i of this.attributes) {
|
|
889
|
-
const
|
|
890
|
-
|
|
896
|
+
const r = this.$$g_p(i.name);
|
|
897
|
+
r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
|
|
891
898
|
}
|
|
892
899
|
for (const i in this.$$p_d)
|
|
893
900
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -905,21 +912,21 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
|
|
|
905
912
|
this.$$r = !0;
|
|
906
913
|
for (const i in this.$$p_d)
|
|
907
914
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
908
|
-
const
|
|
915
|
+
const r = g(
|
|
909
916
|
i,
|
|
910
917
|
this.$$d[i],
|
|
911
918
|
this.$$p_d,
|
|
912
919
|
"toAttribute"
|
|
913
920
|
);
|
|
914
|
-
|
|
921
|
+
r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
|
|
915
922
|
}
|
|
916
923
|
this.$$r = !1;
|
|
917
924
|
};
|
|
918
925
|
this.$$c.$$.after_update.push(s), s();
|
|
919
926
|
for (const i in this.$$l)
|
|
920
|
-
for (const
|
|
921
|
-
const
|
|
922
|
-
this.$$l_u.set(
|
|
927
|
+
for (const r of this.$$l[i]) {
|
|
928
|
+
const o = this.$$c.$on(i, r);
|
|
929
|
+
this.$$l_u.set(r, o);
|
|
923
930
|
}
|
|
924
931
|
this.$$l = {};
|
|
925
932
|
}
|
|
@@ -969,36 +976,36 @@ function g(t, e, n, s) {
|
|
|
969
976
|
return e;
|
|
970
977
|
}
|
|
971
978
|
}
|
|
972
|
-
function
|
|
973
|
-
let
|
|
979
|
+
function it(t, e, n, s, i, r) {
|
|
980
|
+
let o = class extends P {
|
|
974
981
|
constructor() {
|
|
975
982
|
super(t, n, i), this.$$p_d = e;
|
|
976
983
|
}
|
|
977
984
|
static get observedAttributes() {
|
|
978
985
|
return Object.keys(e).map(
|
|
979
|
-
(
|
|
986
|
+
(l) => (e[l].attribute || l).toLowerCase()
|
|
980
987
|
);
|
|
981
988
|
}
|
|
982
989
|
};
|
|
983
|
-
return Object.keys(e).forEach((
|
|
984
|
-
Object.defineProperty(
|
|
990
|
+
return Object.keys(e).forEach((l) => {
|
|
991
|
+
Object.defineProperty(o.prototype, l, {
|
|
985
992
|
get() {
|
|
986
|
-
return this.$$c &&
|
|
993
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
987
994
|
},
|
|
988
|
-
set(
|
|
989
|
-
|
|
995
|
+
set(c) {
|
|
996
|
+
c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
|
|
990
997
|
}
|
|
991
998
|
});
|
|
992
|
-
}), s.forEach((
|
|
993
|
-
Object.defineProperty(
|
|
999
|
+
}), s.forEach((l) => {
|
|
1000
|
+
Object.defineProperty(o.prototype, l, {
|
|
994
1001
|
get() {
|
|
995
|
-
return this.$$c?.[
|
|
1002
|
+
return this.$$c?.[l];
|
|
996
1003
|
}
|
|
997
1004
|
});
|
|
998
1005
|
}), t.element = /** @type {any} */
|
|
999
|
-
|
|
1006
|
+
o, o;
|
|
1000
1007
|
}
|
|
1001
|
-
class
|
|
1008
|
+
class st {
|
|
1002
1009
|
/**
|
|
1003
1010
|
* ### PRIVATE API
|
|
1004
1011
|
*
|
|
@@ -1017,7 +1024,7 @@ class nt {
|
|
|
1017
1024
|
$$set = void 0;
|
|
1018
1025
|
/** @returns {void} */
|
|
1019
1026
|
$destroy() {
|
|
1020
|
-
|
|
1027
|
+
tt(this, 1), this.$destroy = a;
|
|
1021
1028
|
}
|
|
1022
1029
|
/**
|
|
1023
1030
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -1026,7 +1033,7 @@ class nt {
|
|
|
1026
1033
|
* @returns {() => void}
|
|
1027
1034
|
*/
|
|
1028
1035
|
$on(e, n) {
|
|
1029
|
-
if (!
|
|
1036
|
+
if (!N(n))
|
|
1030
1037
|
return a;
|
|
1031
1038
|
const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
1032
1039
|
return s.push(n), () => {
|
|
@@ -1039,67 +1046,93 @@ class nt {
|
|
|
1039
1046
|
* @returns {void}
|
|
1040
1047
|
*/
|
|
1041
1048
|
$set(e) {
|
|
1042
|
-
this.$$set && !
|
|
1049
|
+
this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
const rt = "4";
|
|
1053
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
|
|
1054
|
+
function ct(t, e) {
|
|
1055
|
+
if (t) {
|
|
1056
|
+
const n = document.createElement("style");
|
|
1057
|
+
n.innerHTML = e, t.appendChild(n);
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
function ot(t, e) {
|
|
1061
|
+
const n = new URL(e);
|
|
1062
|
+
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
1063
|
+
const i = document.createElement("style");
|
|
1064
|
+
i.innerHTML = s, t && t.appendChild(i);
|
|
1065
|
+
}).catch((s) => {
|
|
1066
|
+
console.error("There was an error while trying to load client styling from URL", s);
|
|
1067
|
+
});
|
|
1068
|
+
}
|
|
1069
|
+
function lt(t, e, n) {
|
|
1070
|
+
if (window.emMessageBus) {
|
|
1071
|
+
const s = document.createElement("style");
|
|
1072
|
+
window.emMessageBus.subscribe(e, (i) => {
|
|
1073
|
+
s.innerHTML = i, t && t.appendChild(s);
|
|
1074
|
+
});
|
|
1043
1075
|
}
|
|
1044
1076
|
}
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
function st(t) {
|
|
1048
|
-
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)}}");
|
|
1077
|
+
function ut(t) {
|
|
1078
|
+
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)}}");
|
|
1049
1079
|
}
|
|
1050
|
-
function
|
|
1080
|
+
function dt(t) {
|
|
1051
1081
|
let e;
|
|
1052
1082
|
return {
|
|
1053
1083
|
c() {
|
|
1054
|
-
e = v("div"), e.innerHTML = '<section class="LoaderContainer"
|
|
1084
|
+
e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
1055
1085
|
},
|
|
1056
1086
|
m(n, s) {
|
|
1057
|
-
|
|
1087
|
+
B(n, e, s), t[4](e);
|
|
1058
1088
|
},
|
|
1059
1089
|
p: a,
|
|
1060
1090
|
i: a,
|
|
1061
1091
|
o: a,
|
|
1062
1092
|
d(n) {
|
|
1063
|
-
n && E(e), t[
|
|
1093
|
+
n && E(e), t[4](null);
|
|
1064
1094
|
}
|
|
1065
1095
|
};
|
|
1066
1096
|
}
|
|
1067
|
-
function
|
|
1068
|
-
let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e,
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
fetch(r.href).then((d) => d.text()).then((d) => {
|
|
1075
|
-
_.innerHTML = d, setTimeout(
|
|
1076
|
-
() => {
|
|
1077
|
-
l.appendChild(_);
|
|
1078
|
-
},
|
|
1079
|
-
1
|
|
1080
|
-
), setTimeout(
|
|
1081
|
-
() => {
|
|
1082
|
-
},
|
|
1083
|
-
500
|
|
1084
|
-
);
|
|
1085
|
-
});
|
|
1086
|
-
};
|
|
1087
|
-
function o(r) {
|
|
1088
|
-
x[r ? "unshift" : "push"](() => {
|
|
1089
|
-
l = r, n(0, l);
|
|
1097
|
+
function ft(t, e, n) {
|
|
1098
|
+
let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
|
|
1099
|
+
V(() => () => {
|
|
1100
|
+
});
|
|
1101
|
+
function l(c) {
|
|
1102
|
+
w[c ? "unshift" : "push"](() => {
|
|
1103
|
+
o = c, n(0, o);
|
|
1090
1104
|
});
|
|
1091
1105
|
}
|
|
1092
|
-
return t.$$set = (
|
|
1093
|
-
"clientstyling" in
|
|
1106
|
+
return t.$$set = (c) => {
|
|
1107
|
+
"clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
|
|
1094
1108
|
}, t.$$.update = () => {
|
|
1095
1109
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
1096
|
-
3 && s &&
|
|
1097
|
-
5 && i &&
|
|
1098
|
-
|
|
1110
|
+
3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
1111
|
+
5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
1112
|
+
9 && r && o && lt(o, `${r}.Style`);
|
|
1113
|
+
}, [
|
|
1114
|
+
o,
|
|
1115
|
+
s,
|
|
1116
|
+
i,
|
|
1117
|
+
r,
|
|
1118
|
+
l
|
|
1119
|
+
];
|
|
1099
1120
|
}
|
|
1100
|
-
class
|
|
1121
|
+
class $t extends st {
|
|
1101
1122
|
constructor(e) {
|
|
1102
|
-
super(),
|
|
1123
|
+
super(), nt(
|
|
1124
|
+
this,
|
|
1125
|
+
e,
|
|
1126
|
+
ft,
|
|
1127
|
+
dt,
|
|
1128
|
+
R,
|
|
1129
|
+
{
|
|
1130
|
+
clientstyling: 1,
|
|
1131
|
+
clientstylingurl: 2,
|
|
1132
|
+
mbsource: 3
|
|
1133
|
+
},
|
|
1134
|
+
ut
|
|
1135
|
+
);
|
|
1103
1136
|
}
|
|
1104
1137
|
get clientstyling() {
|
|
1105
1138
|
return this.$$.ctx[1];
|
|
@@ -1113,8 +1146,14 @@ class ct extends nt {
|
|
|
1113
1146
|
set clientstylingurl(e) {
|
|
1114
1147
|
this.$$set({ clientstylingurl: e }), m();
|
|
1115
1148
|
}
|
|
1149
|
+
get mbsource() {
|
|
1150
|
+
return this.$$.ctx[3];
|
|
1151
|
+
}
|
|
1152
|
+
set mbsource(e) {
|
|
1153
|
+
this.$$set({ mbsource: e }), m();
|
|
1154
|
+
}
|
|
1116
1155
|
}
|
|
1117
|
-
|
|
1156
|
+
it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
1118
1157
|
|
|
1119
1158
|
function i(n) {
|
|
1120
1159
|
return function(...t) {
|
|
@@ -1128,7 +1167,7 @@ function i(n) {
|
|
|
1128
1167
|
};
|
|
1129
1168
|
}
|
|
1130
1169
|
customElements.define = i(customElements.define);
|
|
1131
|
-
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading",
|
|
1170
|
+
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", $t.element);
|
|
1132
1171
|
|
|
1133
1172
|
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}";
|
|
1134
1173
|
const CasinoEngagementSuiteTournamentStyle0 = casinoEngagementSuiteTournamentCss;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as CasinoEngagementSuiteTournament } from './casino-engagement-suite-tournament-
|
|
1
|
+
export { C as CasinoEngagementSuiteTournament } from './casino-engagement-suite-tournament-f2131da2.js';
|
|
2
2
|
import './index-bc18616b.js';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e,H as t,r as i,c as n}from"./p-00972ad5.js";function r(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}var s,o;"function"==typeof SuppressedError&&SuppressedError,function(e){e.info="info",e.leaderboard="leaderboard",e.games="games"}(s||(s={})),function(e){e.Starts="Starts",e.Ends="Ends"}(o||(o={}));const a=(e,t)=>(Object.keys(t).map((i=>{e=e.replace(`{${i}}`,t[i])})),e),l=Object.assign(Object.assign(Object.assign({Join:"Join",Unjoin:"Unjoin"},s),o),{TC:"Terms & Conditions",ScoreCriteria:"Score Criteria",MinimumBetCriteria:"Minimum bet criteria",Place:"place",Prizes:"Rewards",LeaderboardDetails:"Leaderboard Details",UnjoinDialog:{Title:"Quit Leaderboard?",Description:"Any progress on the current Leaderboard won’t be kept and you can not rejoin the Leaderboard any more. <br /><br />Would you still like to quit?",ButtonYes:"Yes, I want to quit leaderboard",ButtonNo:"No, Stay on the leaderboard"},WinDialog:{Tile:"Congratulations!",Description:"You won <span>{tournamentName}</span>!",ButtonContinue:"Continue"},NoLeaderboards:"No Leaderboards yet",NoLeaderboardsTip:"Try winning tickets to Leaderboards as rewards or launching other booster games",Leaderboards:"Leaderboards",TipPrize:"You took <span>{place}</span> place and win <span>{prize}</span>",Tip:"Competition where your real money bets contribute towards the leaderboard score calculation to win the leaderboard reward."}),d=(...e)=>{let t=[];return e.map((e=>{switch(typeof e){case"string":t.push(e);break;case"object":Object.keys(e).map((i=>{e[i]&&t.push(i)}))}})),t.join(" ")};var c,p,u;!function(e){e.list="list",e.item="item"}(c||(c={})),function(e){e.Running="Running",e.Unstarted="Unstarted",e.Closed="Closed",e.Closing="Closing"}(p||(p={})),function(e){e.unjoin="unjoin",e.tip="tip",e.gift="gift"}(u||(u={}));const g=e=>[p.Closed,p.Closing].includes(e.state),h=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/close.svg"}),m=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/help.svg"}),f=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/eye-open.svg"}),b=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/eye-closed.svg"}),v=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/back.svg"}),x=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/reward.svg"}),w=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/cup-congras.svg"}),y=t=>{var{statedClasses:i,innerHTML:n}=t,s=r(t,["statedClasses","innerHTML"]);const{isHollow:o,isPending:a}=i;return e("button",Object.assign({class:d("GradientRoundedButton","GradientRounded",{Hollow:o||!1,Pending:a||!1})},s),e("span",null,n))};var L;!function(e){e.normal="normal",e.unjoinYes="unjoinYes",e.unjoinNo="unjoinNo"}(L||(L={}));const C=(e,t)=>{const{locale:i}=e,n={normal:{innerHTML:i.WinDialog.ButtonContinue},unjoinYes:{onClick:()=>e.actionJoin(e.dialog.data),innerHTML:i.UnjoinDialog.ButtonYes},unjoinNo:{statedClasses:{isHollow:!0},innerHTML:i.UnjoinDialog.ButtonNo}}[t];return y({statedClasses:Object.assign({isPending:e.isActionJoinPending},n.statedClasses),onClick:()=>{var t;null===(t=n.onClick)||void 0===t||t.call(),e.closeDialog()},innerHTML:n.innerHTML})},T={gift(t){const{name:i}=t.gifts[0],{locale:n}=t;return e("div",{class:"PageConfirmContainer"},e("div",{class:"PageConfirm"},e("div",null,w),e("div",{class:"Title"},n.WinDialog.Tile),e("div",{class:"Description",innerHTML:a(n.WinDialog.Description,{tournamentName:i})}),e("div",{class:"PageConfirmButtonsGroup"},C(t,L.normal))))},unjoin(t){const{locale:i}=t;return e("div",{class:"DialogContentUnjoin"},e("div",{class:"DialogContentUnjoinTitle"},i.UnjoinDialog.Title),e("div",{class:"DialogContentUnjoinDescription",innerHTML:i.UnjoinDialog.Description}),C(t,L.unjoinYes),C(t,L.unjoinNo))}},k=e=>{const t=["startTime","endTime","closeTime","exhibitionStartTime","exhibitionEndTime"],i={};return Object.keys(e).map((n=>{const r=e[n];i[n]="games"===n?r.items:t.includes(n)?new Date(r):r})),i},j=e=>{let{item:t,items:i}=e;return t?i.map((e=>t&&t.userID===e.userID?Object.assign(Object.assign({},e),{isMe:!0}):e)):i},F=t=>{const{left:i,middle:n,right:r}=t,s={left:i,middle:n,right:r};return e("div",{class:"WrapperBar"},Object.keys(s).map((t=>{return e("div",{class:"WrapperBar"+(i=t,i.split("").map(((e,t)=>0===t?e.toUpperCase():e)).join(""))},s[t]||"");var i})))};function z(e){return e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(" at",",")}function P(e,t){const i=new Date(e);return i.setSeconds(i.getSeconds()+t),i}function O(e,t){const i=Math.abs(t.getTime()-e.getTime()),n=Math.floor(i/864e5),r=Math.floor(i%864e5/36e5),s=Math.floor(i%36e5/6e4);return`${String(n).padStart(2,"0")}d:${String(r).padStart(2,"0")}h:${String(s).padStart(2,"0")}m`}function $(e,t){return(100*((new Date).getTime()-e.getTime())/(t.getTime()-e.getTime())).toFixed(0)}const R=(t,i)=>e("section",{class:"TimeContainer"},e("div",{class:"Time"},i.playerEnrolled?[e("div",null,O(P(i.startTime,t.time),i.endTime)),e("div",null,y({statedClasses:{isHollow:!0,isPendding:!1},innerHTML:`${$(i.startTime,i.endTime)}%`}))]:[e("div",null,z(i.startTime)),e("div",null,z(i.endTime))]),e("casino-engagement-suite-progress-bar",{value:Number($(i.startTime,i.endTime)),"hide-percent":!0})),M=e=>window.postMessage({type:"UpdateLeaderboardState",labels:e}),U=e=>window.postMessage({type:"UpdateTournamentsItemReq",id:e.id}),S=(e,t)=>window.postMessage({type:"UpdateLeaderboardsReq",id:e.id,query:t}),H=(e,t)=>{const{success:i}=t;if(i)switch(e.tournamentItem=Object.assign(Object.assign({},e.tournamentItem),{playerEnrolled:!e.tournamentItem.playerEnrolled}),e.page){case c.item:break;case c.list:B(e,e.tournamentItem)}e.nextPage&&(e.setPage(e.nextPage),e.nextPage=void 0),e.isActionJoinPending=!1},B=(e,t)=>{e.tournamentList=e.tournamentList.map((e=>e.id===t.id?k(t):e))},I=(e,t)=>{e.tournamentList=e.tournamentList.filter((e=>e.id!==t.id))},D=(e,t)=>{const i=e.tournamentList.findIndex((e=>e.id===t.id));-1!==i?e.tournamentList[i]=k(t):e.tournamentList=e.tournamentList.concat(k(t))},E={list(t){var i;if(!t.tournamentList)return t.tournamentList=null===(i=t.leaderboardsInit)||void 0===i?void 0:i.map((e=>k(e))),e("general-animation-loading",null);const{locale:n}=t;if(t.tournamentList.length){const i=e=>{t.setPage(c.item,{tournament:e}),t.newIdList=t.newIdList.filter((t=>t!==e.id))};return W(t,e("div",{class:"Leaderboards Row"},t.tournamentList.map((n=>e("div",{class:d("LeaderboardsItem",n.playerEnrolled?" GradientRounded Hollow":""),onClick:()=>i(n)},e("div",{class:"LeaderboardsItemContainer"},N(t,n),R(t,n)),e("div",{class:"LeaderboardLabels"},t.newIdList.includes(n.id)&&e("div",{class:"LeaderboardLabel"},e("span",null,"new"))))))))}return W(t,e("div",{class:"NoLeaderboards Row"},e("div",null,n.NoLeaderboards),e("div",null,n.NoLeaderboardsTip)))},item:t=>t.tournamentItem?W(t,[N(t,t.tournamentItem),(()=>{const{locale:i,tab:n}=t;return e("div",{class:"TabsContainer"},e("div",{class:"Tabs"},Object.keys(s).map((r=>e("div",{class:d({active:n===r}),onClick:()=>(e=>{switch(t.tab=e,e){case s.leaderboard:t.leaderboards=void 0,S(t.tournamentItem);break;case s.games:U(t.tournamentItem)}})(r)},i[r])))))})(),t.renders.tab[t.tab]()]):e("general-animation-loading",null)},N=(t,i)=>{const{locale:n}=t;return e("div",{class:"TitleContainer"},e("div",{class:"Title"},i.nameOrTitle),i.state!==p.Closed&&e("div",null,y({statedClasses:{isHollow:i.playerEnrolled,isPending:t.isActionJoinPending},onClick:e=>{e.stopPropagation(),(e=>{e.playerEnrolled?t.openDialog(u.unjoin,e):(t.actionJoin(e),t.tournamentItem=e)})(i)},innerHTML:i.playerEnrolled?n.Unjoin:n.Join})))},W=(t,i)=>{const{dialog:{isOpen:n}}=t,r=F({right:e("span",{onClick:()=>t.closeDialog()},h)});return e("div",{class:`Wrapper ${t.device}`},e("div",{class:d("WrapperContent",{faded:n})},(()=>{const{left:i,middle:n}=(()=>{const{page:i,locale:n}=t;switch(i){case c.list:return{left:e("span",{onClick:()=>t.openDialog(u.tip)},m),middle:n.Leaderboards};case c.item:return{left:e("span",{onClick:()=>t.setPage(c.list)},v),middle:""}}})();return F({left:i,middle:n,right:e("span",{onClick:()=>t.close.emit()},h)})})(),e("div",{class:"Root"},e("div",{class:"Main"},i))),e("div",{class:"WrapperUtil"},e("dialog",{open:n},e("div",{class:"GradientRounded Hollow"},r,n&&(()=>{switch(t.dialog.type){case u.unjoin:return t.renders.dialog.unjoin();case u.tip:return e("div",{class:"Tip"},t.locale.Tip);case u.gift:return t.renders.dialog.gift()}})()))))},G={info(t){var i,n;const{locale:r,tournamentItem:s,isShowInfo:o}=t;return e("div",{class:"InfoContainer"},R(t,s),e("section",{class:"ShowInfo",onClick:()=>t.isShowInfo=!t.isShowInfo},e("p",null,e("span",null,o?b:f),e("span",null,r.LeaderboardDetails))),o&&e("section",{class:"Info"},e("div",null,s.description),e("div",{class:"Criterias"},e("div",null,r.ScoreCriteria,": ",e("span",null,s.scoreCriteria)),e("div",null,r.MinimumBetCriteria,": ",e("span",null,s.minBetCount))),e("div",{class:"TC"},e("a",{href:s.termsUrl,target:"_blank"},r.TC))),g(t.tournamentItem)&&(null===(i=t.leaderboards)||void 0===i?void 0:i.find((e=>e.isMe)))&&e("section",{class:"ResultPrize",innerHTML:a(r.TipPrize,_(null===(n=t.leaderboards)||void 0===n?void 0:n.find((e=>e.isMe))))}),e("section",{class:"Prizes"},e("div",{class:"PrizesHeader"},x,e("span",{class:"PrizesText"},r.Prizes)),s.prizes.map(((t,i)=>e("div",{class:"Prize"},i+1," ",r.Place,": ",e("span",{class:"PrizeText"},t.name))))))},leaderboard:t=>t.leaderboards?t.leaderboards.length?e("table",{class:"Leaderboards"},t.leaderboards.map((t=>e("tr",{class:d({isMe:t.isMe})},e("td",{class:"LeaderboardRank"},e("span",null,t.rank)),e("td",{class:"LeaderboardName"},t.shortName),e("td",{class:"LeaderboardScore"},t.score),e("td",{class:"LeaderboardPrize"},t.prizeName))))):"":e("general-animation-loading",null),games(t){var i;return e("div",{class:"Games"},null===(i=t.tournamentItem.games)||void 0===i?void 0:i.map((t=>e("div",null,e("img",{src:t.defaultThumbnail,alt:""})))))}},_=e=>({prize:e.prizeName,place:e.rank}),q={dialog:T,page:E,tab:G};function A(){}function J(e){return e()}function Y(){return Object.create(null)}function Q(e){e.forEach(J)}function K(e){return"function"==typeof e}function V(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function X(e,t,i){e.insertBefore(t,i||null)}function Z(e){e.parentNode&&e.parentNode.removeChild(e)}function ee(e){return document.createElement(e)}let te;function ie(e){te=e}const ne=[],re=[];let se=[];const oe=[],ae=Promise.resolve();let le=!1;function de(e){se.push(e)}const ce=new Set;let pe=0;function ue(){if(0!==pe)return;const e=te;do{try{for(;pe<ne.length;){const e=ne[pe];pe++,ie(e),ge(e.$$)}}catch(e){throw ne.length=0,pe=0,e}for(ie(null),ne.length=0,pe=0;re.length;)re.pop()();for(let e=0;e<se.length;e+=1){const t=se[e];ce.has(t)||(ce.add(t),t())}se.length=0}while(ne.length);for(;oe.length;)oe.pop()();le=!1,ce.clear(),ie(e)}function ge(e){if(null!==e.fragment){e.update(),Q(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(de)}}const he=new Set;function me(e,t,i,n,r,s,o=null,a=[-1]){const l=te;ie(e);const d=e.$$={fragment:null,ctx:[],props:s,update:A,not_equal:r,bound:Y(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Y(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};o&&o(d.root);let c=!1;if(d.ctx=i?i(e,t.props||{},((t,i,...n)=>{const s=n.length?n[0]:i;return d.ctx&&r(d.ctx[t],d.ctx[t]=s)&&(!d.skip_bound&&d.bound[t]&&d.bound[t](s),c&&function(e,t){-1===e.$$.dirty[0]&&(ne.push(e),le||(le=!0,ae.then(ue)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),i})):[],d.update(),c=!0,Q(d.before_update),d.fragment=!!n&&n(d.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);d.fragment&&d.fragment.l(e),e.forEach(Z)}else d.fragment&&d.fragment.c();t.intro&&function(e){e&&e.i&&(he.delete(e),e.i(void 0))}(e.$$.fragment),function(e,t,i){const{fragment:n,after_update:r}=e.$$;n&&n.m(t,i),de((()=>{const t=e.$$.on_mount.map(J).filter(K);e.$$.on_destroy?e.$$.on_destroy.push(...t):Q(t),e.$$.on_mount=[]})),r.forEach(de)}(e,t.target,t.anchor),ue()}ie(l)}let fe;function be(e,t,i,n){const r=i[e]?.type;if(t="Boolean"===r&&"boolean"!=typeof t?null!=t:t,!n||!i[e])return t;if("toAttribute"===n)switch(r){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}"function"==typeof HTMLElement&&(fe=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(e,t,i){super(),this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(e){return()=>{let t;return{c:function(){t=ee("slot"),"default"!==e&&function(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}(t,"name",e)},m:function(e,i){X(e,t,i)},d:function(e){e&&Z(t)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=function(e){const t={};return e.childNodes.forEach((e=>{t[e.slot||"default"]=!0})),t}(this);for(const n of this.$$s)n in i&&(t[n]=[e(n)]);for(const e of this.attributes){const t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=be(t,e.value,this.$$p_d,"toProp"))}for(const e in this.$$p_d)!(e in this.$$d)&&void 0!==this[e]&&(this.$$d[e]=this[e],delete this[e]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const n=()=>{this.$$r=!0;for(const e in this.$$p_d)if(this.$$d[e]=this.$$c.$$.ctx[this.$$c.$$.props[e]],this.$$p_d[e].reflect){const t=be(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const e in this.$$l)for(const t of this.$$l[e]){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=be(e,i,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(e){return Object.keys(this.$$p_d).find((t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e))||e}});class ve{$$=void 0;$$set=void 0;$destroy(){(function(e,t){const i=e.$$;null!==i.fragment&&(function(e){const t=[],i=[];se.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),se=t}(i.after_update),Q(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])})(this,1),this.$destroy=A}$on(e,t){if(!K(t))return A;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function xe(e){!function(e,t,i){const n=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}(e);if(!n.getElementById(t)){const e=ee("style");e.id=t,e.textContent=i,function(e,t){!function(e,t){e.appendChild(t)}(e.head||e,t)}(n,e)}}(e,"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)}}")}function we(e){let t;return{c(){t=ee("div"),t.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(i,n){X(i,t,n),e[3](t)},p:A,i:A,o:A,d(i){i&&Z(t),e[3](null)}}}function ye(e,t,i){let n,{clientstyling:r=""}=t,{clientstylingurl:s=""}=t;return e.$$set=e=>{"clientstyling"in e&&i(1,r=e.clientstyling),"clientstylingurl"in e&&i(2,s=e.clientstylingurl)},e.$$.update=()=>{3&e.$$.dirty&&r&&n&&(()=>{let e=document.createElement("style");e.innerHTML=r,n.appendChild(e)})(),5&e.$$.dirty&&s&&n&&(()=>{let e=new URL(s),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[n,r,s,function(e){re[e?"unshift":"push"]((()=>{n=e,i(0,n)}))}]}typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class Le extends ve{constructor(e){super(),me(this,e,ye,we,V,{clientstyling:1,clientstylingurl:2},xe)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),ue()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),ue()}}var Ce;!function(e,t,i){let n=class extends fe{constructor(){super(e,i,true),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map((e=>(t[e].attribute||e).toLowerCase()))}};Object.keys(t).forEach((e=>{Object.defineProperty(n.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(i){i=be(e,i,t),this.$$d[e]=i,this.$$c?.$set({[e]:i})}})})),[].forEach((e=>{Object.defineProperty(n.prototype,e,{get(){return this.$$c?.[e]}})})),e.element=n}(Le,{clientstyling:{},clientstylingurl:{}},[]),customElements.define=(Ce=customElements.define,function(...e){try{return Ce.apply(this,e)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}),!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",Le.element);const Te=class{handleEvent(e){var t,i;const n=e.data,{type:s}=n,o=r(n,["type"]);var a;null===(i=null===(a=this,t={UpdateLeaderboardsPlayerRes:e=>{const t=(e=>{let t;return e.map((e=>{var i;const n=null===(i=e.leaderBoard)||void 0===i?void 0:i.rank;n&&(t?n<t.leaderBoard.rank&&(t=e):t=e)})),t?`${t.leaderBoard.rank} / ${t.endRank}`:"-"})(e.data.items);window.postMessage({type:"UpdateLeaderboardState",rank:t})},UpdateLeaderboardStateReq:()=>{window.postMessage({type:"UpdateLeaderboardState",labels:["win","new"]})},UpdateTournamentsItemRes:e=>{const t=k(e.data.item);a.tournamentItem=t,B(a,t)},UpdateLeaderboardsRes:e=>{a.leaderboards=j(e.data)},JoinTournamentRes:e=>H(a,e),UnjoinTournamentRes:e=>H(a,e),LeaderboardLiveEvent:e=>{((e,t)=>{const{messageType:i,item:n}=t;switch(i){case"TournamentUpdate":case"PlayerLeaderBoardUpdate":D(e,n);break;case"TournamentRemove":I(e,n);break;case"LeaderBoardUpdate":e.leaderboards=j(t)}})(a,e)}})||void 0===t?void 0:t[s])||void 0===i||i.call(null,o)}checkNewIdList(){this.newIdList.length>0?this.addLabel("new"):this.removeLabel("new")}syncBarState(e,t){if(t){const r=(i=t,n=(e,t)=>e.id===t.id,e.filter((e=>!i.some((t=>n(e,t))))));this.newIdList=[...this.newIdList,...r.map((e=>e.id))]}else this.checkNewIdList(),this.gifts.length&&this.addLabel("win");var i,n}showPropWatcher(e,t){0==t&&1==e&&this.checkGift()}addLabel(e){this.labels.includes(e)||this.labels.push(e),M(this.labels)}removeLabel(e){this.labels=this.labels.filter((t=>t!=e)),M(this.labels)}setTimeInterval(){this.timeHolder=setInterval((()=>{this.time=this.tournamentList||this.tournamentItem?this.time+1:0}),1e3)}checkGift(){this.gifts.length?this.openDialog(u.gift,this.gifts[0],(()=>{this.dialog.type===u.gift&&(this.gifts=this.gifts.slice(1),setTimeout((()=>{this.checkGift()}),300))})):this.removeLabel("win")}connectedCallback(){this.setTimeInterval(),window.postMessage({type:"UpdateLeaderboardsPlayerReq"})}disconnectedCallback(){clearInterval(this.timeHolder)}actionJoin(e){if(!this.isActionJoinPending){this.isActionJoinPending=!0;try{e.playerEnrolled?(e=>{window.postMessage({type:"UnjoinTournamentReq",id:e.id})})(e):(e=>{var t,i;window.postMessage({type:"JoinTournamentReq",bonusCode:null===(i=null===(t=e.wallets)||void 0===t?void 0:t[0])||void 0===i?void 0:i.code})})(e)}catch(e){return void console.log("error",e)}}}setPage(e,t){e==c.item&&(this.tournamentItem=t.tournament,this.tournamentItem||U(t.tournament),g(this.tournamentItem)&&S(this.tournamentItem)),this.tab=s.info,this.page=e}render(){return e(t,{key:"f9e9ea96e0fddd20d3f12141c7cf66588ab94ccd"},e("general-styling-wrapper",{key:"aea948ea6c8f8cc5e4aaea5812873d3fe7045568",clientStylingUrl:this.clientStylingUrl,clientStyling:this.clientStyling,targetTranslations:l,translationUrl:this.translationUrl}),this.renders.page[this.page]())}openDialog(e,t,i){this.dialog=Object.assign(Object.assign({},this.dialog),{isOpen:!0,onClose:i,type:e,data:t})}closeDialog(){var e;null===(e=this.dialog.onClose)||void 0===e||e.call(this),this.dialog=Object.assign(Object.assign({},this.dialog),{isOpen:!1,onClose:void 0})}constructor(e){i(this,e),this.close=n(this,"close",7),this.language="en",this.show=!1,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.device="Mobile",this.tab=s.info,this.locale=l,this.tournamentItem=void 0,this.tournamentList=void 0,this.leaderboards=[],this.isActionJoinPending=!1,this.isDialogOpen=!1,this.isShowInfo=!1,this.page=c.list,this.tournamentInDialog=void 0,this.dialog={isOpen:!1,type:void 0,data:void 0,onClose:void 0},this.time=0,this.gifts=[],this.newIdList=[],this.labels=[],this.renders={},Object.keys(q).forEach((e=>{this.renders[e]={},Object.keys(q[e]).forEach((t=>{this.renders[e][t]=q[e][t].bind(this,this)}))}))}static get watchers(){return{newIdList:["checkNewIdList"],tournamentList:["syncBarState"],show:["showPropWatcher"]}}};Te.style='.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}';export{Te as C}
|