@everymatrix/casino-engagement-suite-tournament 1.53.0 → 1.53.11
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-399401c8.js +2 -0
- package/dist/casino-engagement-suite-tournament/p-575729c8.js +1 -0
- package/dist/casino-engagement-suite-tournament/{p-6d03bbf5.entry.js → p-f3795238.entry.js} +1 -1
- package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +39 -13
- package/dist/cjs/{casino-engagement-suite-tournament-71606d08.js → casino-engagement-suite-tournament-c194e96a.js} +505 -10
- package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
- package/dist/cjs/{index-4eb9b2e6.js → index-6ea4215d.js} +247 -145
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +36 -5
- package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +39 -13
- package/dist/esm/{casino-engagement-suite-tournament-d6f0ee89.js → casino-engagement-suite-tournament-18e62f35.js} +587 -92
- package/dist/esm/casino-engagement-suite-tournament.js +3 -3
- package/dist/esm/{index-3124114b.js → index-b5adca25.js} +247 -145
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- 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
- 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
- package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +1 -1
- package/package.json +1 -1
- package/dist/casino-engagement-suite-tournament/p-1cd75583.js +0 -2
- package/dist/casino-engagement-suite-tournament/p-c416546b.js +0 -1
- 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
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-6ea4215d.js');
|
|
4
4
|
|
|
5
5
|
/******************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -646,13 +646,491 @@ const renders = {
|
|
|
646
646
|
tab
|
|
647
647
|
};
|
|
648
648
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
}
|
|
649
|
+
function a() {
|
|
650
|
+
}
|
|
651
|
+
function N(t) {
|
|
652
|
+
return t();
|
|
653
|
+
}
|
|
654
|
+
function A() {
|
|
655
|
+
return /* @__PURE__ */ Object.create(null);
|
|
656
|
+
}
|
|
657
|
+
function y(t) {
|
|
658
|
+
t.forEach(N);
|
|
659
|
+
}
|
|
660
|
+
function P(t) {
|
|
661
|
+
return typeof t == "function";
|
|
662
|
+
}
|
|
663
|
+
function B(t, e) {
|
|
664
|
+
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
665
|
+
}
|
|
666
|
+
function R(t) {
|
|
667
|
+
return Object.keys(t).length === 0;
|
|
668
|
+
}
|
|
669
|
+
function H(t, e) {
|
|
670
|
+
t.appendChild(e);
|
|
671
|
+
}
|
|
672
|
+
function I(t, e, n) {
|
|
673
|
+
const s = U(t);
|
|
674
|
+
if (!s.getElementById(e)) {
|
|
675
|
+
const i = v("style");
|
|
676
|
+
i.id = e, i.textContent = n, D(s, i);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
function U(t) {
|
|
680
|
+
if (!t) return document;
|
|
681
|
+
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
682
|
+
return e && /** @type {ShadowRoot} */
|
|
683
|
+
e.host ? (
|
|
684
|
+
/** @type {ShadowRoot} */
|
|
685
|
+
e
|
|
686
|
+
) : t.ownerDocument;
|
|
687
|
+
}
|
|
688
|
+
function D(t, e) {
|
|
689
|
+
return H(
|
|
690
|
+
/** @type {Document} */
|
|
691
|
+
t.head || t,
|
|
692
|
+
e
|
|
693
|
+
), e.sheet;
|
|
694
|
+
}
|
|
695
|
+
function M(t, e, n) {
|
|
696
|
+
t.insertBefore(e, n || null);
|
|
697
|
+
}
|
|
698
|
+
function E(t) {
|
|
699
|
+
t.parentNode && t.parentNode.removeChild(t);
|
|
700
|
+
}
|
|
701
|
+
function v(t) {
|
|
702
|
+
return document.createElement(t);
|
|
703
|
+
}
|
|
704
|
+
function G(t, e, n) {
|
|
705
|
+
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
706
|
+
}
|
|
707
|
+
function J(t) {
|
|
708
|
+
return Array.from(t.childNodes);
|
|
709
|
+
}
|
|
710
|
+
function V(t) {
|
|
711
|
+
const e = {};
|
|
712
|
+
return t.childNodes.forEach(
|
|
713
|
+
/** @param {Element} node */
|
|
714
|
+
(n) => {
|
|
715
|
+
e[n.slot || "default"] = !0;
|
|
716
|
+
}
|
|
717
|
+
), e;
|
|
718
|
+
}
|
|
719
|
+
let C;
|
|
720
|
+
function p(t) {
|
|
721
|
+
C = t;
|
|
722
|
+
}
|
|
723
|
+
const f = [], x = [];
|
|
724
|
+
let h = [];
|
|
725
|
+
const S = [], z = /* @__PURE__ */ Promise.resolve();
|
|
726
|
+
let w = !1;
|
|
727
|
+
function F() {
|
|
728
|
+
w || (w = !0, z.then(m));
|
|
729
|
+
}
|
|
730
|
+
function k(t) {
|
|
731
|
+
h.push(t);
|
|
732
|
+
}
|
|
733
|
+
const b = /* @__PURE__ */ new Set();
|
|
734
|
+
let $ = 0;
|
|
735
|
+
function m() {
|
|
736
|
+
if ($ !== 0)
|
|
737
|
+
return;
|
|
738
|
+
const t = C;
|
|
739
|
+
do {
|
|
740
|
+
try {
|
|
741
|
+
for (; $ < f.length; ) {
|
|
742
|
+
const e = f[$];
|
|
743
|
+
$++, p(e), q(e.$$);
|
|
744
|
+
}
|
|
745
|
+
} catch (e) {
|
|
746
|
+
throw f.length = 0, $ = 0, e;
|
|
747
|
+
}
|
|
748
|
+
for (p(null), f.length = 0, $ = 0; x.length; ) x.pop()();
|
|
749
|
+
for (let e = 0; e < h.length; e += 1) {
|
|
750
|
+
const n = h[e];
|
|
751
|
+
b.has(n) || (b.add(n), n());
|
|
752
|
+
}
|
|
753
|
+
h.length = 0;
|
|
754
|
+
} while (f.length);
|
|
755
|
+
for (; S.length; )
|
|
756
|
+
S.pop()();
|
|
757
|
+
w = !1, b.clear(), p(t);
|
|
758
|
+
}
|
|
759
|
+
function q(t) {
|
|
760
|
+
if (t.fragment !== null) {
|
|
761
|
+
t.update(), y(t.before_update);
|
|
762
|
+
const e = t.dirty;
|
|
763
|
+
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
function K(t) {
|
|
767
|
+
const e = [], n = [];
|
|
768
|
+
h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
|
|
769
|
+
}
|
|
770
|
+
const Q = /* @__PURE__ */ new Set();
|
|
771
|
+
function W(t, e) {
|
|
772
|
+
t && t.i && (Q.delete(t), t.i(e));
|
|
773
|
+
}
|
|
774
|
+
function X(t, e, n) {
|
|
775
|
+
const { fragment: s, after_update: i } = t.$$;
|
|
776
|
+
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 = [];
|
|
779
|
+
}), i.forEach(k);
|
|
780
|
+
}
|
|
781
|
+
function Y(t, e) {
|
|
782
|
+
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 = []);
|
|
784
|
+
}
|
|
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;
|
|
787
|
+
}
|
|
788
|
+
function tt(t, e, n, s, i, l, u = null, c = [-1]) {
|
|
789
|
+
const o = C;
|
|
790
|
+
p(t);
|
|
791
|
+
const r = t.$$ = {
|
|
792
|
+
fragment: null,
|
|
793
|
+
ctx: [],
|
|
794
|
+
// state
|
|
795
|
+
props: l,
|
|
796
|
+
update: a,
|
|
797
|
+
not_equal: i,
|
|
798
|
+
bound: A(),
|
|
799
|
+
// lifecycle
|
|
800
|
+
on_mount: [],
|
|
801
|
+
on_destroy: [],
|
|
802
|
+
on_disconnect: [],
|
|
803
|
+
before_update: [],
|
|
804
|
+
after_update: [],
|
|
805
|
+
context: new Map(e.context || (o ? o.$$.context : [])),
|
|
806
|
+
// everything else
|
|
807
|
+
callbacks: A(),
|
|
808
|
+
dirty: c,
|
|
809
|
+
skip_bound: !1,
|
|
810
|
+
root: e.target || o.$$.root
|
|
811
|
+
};
|
|
812
|
+
u && u(r.root);
|
|
813
|
+
let _ = !1;
|
|
814
|
+
if (r.ctx = 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(r.ctx), e.target) {
|
|
818
|
+
if (e.hydrate) {
|
|
819
|
+
const d = J(e.target);
|
|
820
|
+
r.fragment && r.fragment.l(d), d.forEach(E);
|
|
821
|
+
} else
|
|
822
|
+
r.fragment && r.fragment.c();
|
|
823
|
+
e.intro && W(t.$$.fragment), X(t, e.target, e.anchor), m();
|
|
824
|
+
}
|
|
825
|
+
p(o);
|
|
826
|
+
}
|
|
827
|
+
let T;
|
|
828
|
+
typeof HTMLElement == "function" && (T = class extends HTMLElement {
|
|
829
|
+
/** The Svelte component constructor */
|
|
830
|
+
$$ctor;
|
|
831
|
+
/** Slots */
|
|
832
|
+
$$s;
|
|
833
|
+
/** The Svelte component instance */
|
|
834
|
+
$$c;
|
|
835
|
+
/** Whether or not the custom element is connected */
|
|
836
|
+
$$cn = !1;
|
|
837
|
+
/** Component props data */
|
|
838
|
+
$$d = {};
|
|
839
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
840
|
+
$$r = !1;
|
|
841
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
842
|
+
$$p_d = {};
|
|
843
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
844
|
+
$$l = {};
|
|
845
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
846
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
847
|
+
constructor(t, e, n) {
|
|
848
|
+
super(), this.$$ctor = t, this.$$s = e, n && this.attachShadow({ mode: "open" });
|
|
849
|
+
}
|
|
850
|
+
addEventListener(t, e, n) {
|
|
851
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
|
|
852
|
+
const s = this.$$c.$on(t, e);
|
|
853
|
+
this.$$l_u.set(e, s);
|
|
854
|
+
}
|
|
855
|
+
super.addEventListener(t, e, n);
|
|
856
|
+
}
|
|
857
|
+
removeEventListener(t, e, n) {
|
|
858
|
+
if (super.removeEventListener(t, e, n), this.$$c) {
|
|
859
|
+
const s = this.$$l_u.get(e);
|
|
860
|
+
s && (s(), this.$$l_u.delete(e));
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
async connectedCallback() {
|
|
864
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
865
|
+
let t = function(i) {
|
|
866
|
+
return () => {
|
|
867
|
+
let l;
|
|
868
|
+
return {
|
|
869
|
+
c: function() {
|
|
870
|
+
l = v("slot"), i !== "default" && G(l, "name", i);
|
|
871
|
+
},
|
|
872
|
+
/**
|
|
873
|
+
* @param {HTMLElement} target
|
|
874
|
+
* @param {HTMLElement} [anchor]
|
|
875
|
+
*/
|
|
876
|
+
m: function(o, r) {
|
|
877
|
+
M(o, l, r);
|
|
878
|
+
},
|
|
879
|
+
d: function(o) {
|
|
880
|
+
o && E(l);
|
|
881
|
+
}
|
|
882
|
+
};
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
886
|
+
return;
|
|
887
|
+
const e = {}, n = V(this);
|
|
888
|
+
for (const i of this.$$s)
|
|
889
|
+
i in n && (e[i] = [t(i)]);
|
|
890
|
+
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"));
|
|
893
|
+
}
|
|
894
|
+
for (const i in this.$$p_d)
|
|
895
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
896
|
+
this.$$c = new this.$$ctor({
|
|
897
|
+
target: this.shadowRoot || this,
|
|
898
|
+
props: {
|
|
899
|
+
...this.$$d,
|
|
900
|
+
$$slots: e,
|
|
901
|
+
$$scope: {
|
|
902
|
+
ctx: []
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
});
|
|
906
|
+
const s = () => {
|
|
907
|
+
this.$$r = !0;
|
|
908
|
+
for (const i in this.$$p_d)
|
|
909
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
910
|
+
const l = g(
|
|
911
|
+
i,
|
|
912
|
+
this.$$d[i],
|
|
913
|
+
this.$$p_d,
|
|
914
|
+
"toAttribute"
|
|
915
|
+
);
|
|
916
|
+
l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
|
|
917
|
+
}
|
|
918
|
+
this.$$r = !1;
|
|
919
|
+
};
|
|
920
|
+
this.$$c.$$.after_update.push(s), s();
|
|
921
|
+
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);
|
|
925
|
+
}
|
|
926
|
+
this.$$l = {};
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
930
|
+
// and setting attributes through setAttribute etc, this is helpful
|
|
931
|
+
attributeChangedCallback(t, e, n) {
|
|
932
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = g(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
|
|
933
|
+
}
|
|
934
|
+
disconnectedCallback() {
|
|
935
|
+
this.$$cn = !1, Promise.resolve().then(() => {
|
|
936
|
+
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
937
|
+
});
|
|
938
|
+
}
|
|
939
|
+
$$g_p(t) {
|
|
940
|
+
return Object.keys(this.$$p_d).find(
|
|
941
|
+
(e) => this.$$p_d[e].attribute === t || !this.$$p_d[e].attribute && e.toLowerCase() === t
|
|
942
|
+
) || t;
|
|
943
|
+
}
|
|
944
|
+
});
|
|
945
|
+
function g(t, e, n, s) {
|
|
946
|
+
const i = n[t]?.type;
|
|
947
|
+
if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
|
|
948
|
+
return e;
|
|
949
|
+
if (s === "toAttribute")
|
|
950
|
+
switch (i) {
|
|
951
|
+
case "Object":
|
|
952
|
+
case "Array":
|
|
953
|
+
return e == null ? null : JSON.stringify(e);
|
|
954
|
+
case "Boolean":
|
|
955
|
+
return e ? "" : null;
|
|
956
|
+
case "Number":
|
|
957
|
+
return e ?? null;
|
|
958
|
+
default:
|
|
959
|
+
return e;
|
|
960
|
+
}
|
|
961
|
+
else
|
|
962
|
+
switch (i) {
|
|
963
|
+
case "Object":
|
|
964
|
+
case "Array":
|
|
965
|
+
return e && JSON.parse(e);
|
|
966
|
+
case "Boolean":
|
|
967
|
+
return e;
|
|
968
|
+
case "Number":
|
|
969
|
+
return e != null ? +e : e;
|
|
970
|
+
default:
|
|
971
|
+
return e;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
function et(t, e, n, s, i, l) {
|
|
975
|
+
let u = class extends T {
|
|
976
|
+
constructor() {
|
|
977
|
+
super(t, n, i), this.$$p_d = e;
|
|
978
|
+
}
|
|
979
|
+
static get observedAttributes() {
|
|
980
|
+
return Object.keys(e).map(
|
|
981
|
+
(c) => (e[c].attribute || c).toLowerCase()
|
|
982
|
+
);
|
|
983
|
+
}
|
|
984
|
+
};
|
|
985
|
+
return Object.keys(e).forEach((c) => {
|
|
986
|
+
Object.defineProperty(u.prototype, c, {
|
|
987
|
+
get() {
|
|
988
|
+
return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
|
|
989
|
+
},
|
|
990
|
+
set(o) {
|
|
991
|
+
o = g(c, o, e), this.$$d[c] = o, this.$$c?.$set({ [c]: o });
|
|
992
|
+
}
|
|
993
|
+
});
|
|
994
|
+
}), s.forEach((c) => {
|
|
995
|
+
Object.defineProperty(u.prototype, c, {
|
|
996
|
+
get() {
|
|
997
|
+
return this.$$c?.[c];
|
|
998
|
+
}
|
|
999
|
+
});
|
|
1000
|
+
}), t.element = /** @type {any} */
|
|
1001
|
+
u, u;
|
|
1002
|
+
}
|
|
1003
|
+
class nt {
|
|
1004
|
+
/**
|
|
1005
|
+
* ### PRIVATE API
|
|
1006
|
+
*
|
|
1007
|
+
* Do not use, may change at any time
|
|
1008
|
+
*
|
|
1009
|
+
* @type {any}
|
|
1010
|
+
*/
|
|
1011
|
+
$$ = void 0;
|
|
1012
|
+
/**
|
|
1013
|
+
* ### PRIVATE API
|
|
1014
|
+
*
|
|
1015
|
+
* Do not use, may change at any time
|
|
1016
|
+
*
|
|
1017
|
+
* @type {any}
|
|
1018
|
+
*/
|
|
1019
|
+
$$set = void 0;
|
|
1020
|
+
/** @returns {void} */
|
|
1021
|
+
$destroy() {
|
|
1022
|
+
Y(this, 1), this.$destroy = a;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* @template {Extract<keyof Events, string>} K
|
|
1026
|
+
* @param {K} type
|
|
1027
|
+
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
1028
|
+
* @returns {() => void}
|
|
1029
|
+
*/
|
|
1030
|
+
$on(e, n) {
|
|
1031
|
+
if (!P(n))
|
|
1032
|
+
return a;
|
|
1033
|
+
const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
1034
|
+
return s.push(n), () => {
|
|
1035
|
+
const i = s.indexOf(n);
|
|
1036
|
+
i !== -1 && s.splice(i, 1);
|
|
1037
|
+
};
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* @param {Partial<Props>} props
|
|
1041
|
+
* @returns {void}
|
|
1042
|
+
*/
|
|
1043
|
+
$set(e) {
|
|
1044
|
+
this.$$set && !R(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
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)}}");
|
|
1051
|
+
}
|
|
1052
|
+
function rt(t) {
|
|
1053
|
+
let e;
|
|
1054
|
+
return {
|
|
1055
|
+
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>';
|
|
1057
|
+
},
|
|
1058
|
+
m(n, s) {
|
|
1059
|
+
M(n, e, s), t[3](e);
|
|
1060
|
+
},
|
|
1061
|
+
p: a,
|
|
1062
|
+
i: a,
|
|
1063
|
+
o: a,
|
|
1064
|
+
d(n) {
|
|
1065
|
+
n && E(e), t[3](null);
|
|
1066
|
+
}
|
|
1067
|
+
};
|
|
1068
|
+
}
|
|
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);
|
|
1092
|
+
});
|
|
1093
|
+
}
|
|
1094
|
+
return t.$$set = (r) => {
|
|
1095
|
+
"clientstyling" in r && n(1, s = r.clientstyling), "clientstylingurl" in r && n(2, i = r.clientstylingurl);
|
|
1096
|
+
}, t.$$.update = () => {
|
|
1097
|
+
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
1098
|
+
3 && s && l && u(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
1099
|
+
5 && i && l && c();
|
|
1100
|
+
}, [l, s, i, o];
|
|
1101
|
+
}
|
|
1102
|
+
class ct extends nt {
|
|
1103
|
+
constructor(e) {
|
|
1104
|
+
super(), tt(this, e, lt, rt, B, { clientstyling: 1, clientstylingurl: 2 }, st);
|
|
1105
|
+
}
|
|
1106
|
+
get clientstyling() {
|
|
1107
|
+
return this.$$.ctx[1];
|
|
1108
|
+
}
|
|
1109
|
+
set clientstyling(e) {
|
|
1110
|
+
this.$$set({ clientstyling: e }), m();
|
|
1111
|
+
}
|
|
1112
|
+
get clientstylingurl() {
|
|
1113
|
+
return this.$$.ctx[2];
|
|
1114
|
+
}
|
|
1115
|
+
set clientstylingurl(e) {
|
|
1116
|
+
this.$$set({ clientstylingurl: e }), m();
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
et(ct, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
654
1120
|
|
|
655
|
-
|
|
1121
|
+
function i(n) {
|
|
1122
|
+
return function(...t) {
|
|
1123
|
+
try {
|
|
1124
|
+
return n.apply(this, t);
|
|
1125
|
+
} catch (e) {
|
|
1126
|
+
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"))
|
|
1127
|
+
return !1;
|
|
1128
|
+
throw e;
|
|
1129
|
+
}
|
|
1130
|
+
};
|
|
1131
|
+
}
|
|
1132
|
+
customElements.define = i(customElements.define);
|
|
1133
|
+
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", ct.element);
|
|
656
1134
|
|
|
657
1135
|
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}";
|
|
658
1136
|
const CasinoEngagementSuiteTournamentStyle0 = casinoEngagementSuiteTournamentCss;
|
|
@@ -776,15 +1254,30 @@ const CasinoEngagementSuiteTournament = class {
|
|
|
776
1254
|
constructor(hostRef) {
|
|
777
1255
|
index.registerInstance(this, hostRef);
|
|
778
1256
|
this.close = index.createEvent(this, "close", 7);
|
|
779
|
-
|
|
780
|
-
|
|
1257
|
+
/**
|
|
1258
|
+
* Language
|
|
1259
|
+
*/
|
|
781
1260
|
this.language = 'en';
|
|
1261
|
+
/**
|
|
1262
|
+
* if widget is showing
|
|
1263
|
+
*/
|
|
782
1264
|
this.show = false;
|
|
1265
|
+
/**
|
|
1266
|
+
* Client custom styling via string
|
|
1267
|
+
*/
|
|
783
1268
|
this.clientStyling = '';
|
|
1269
|
+
/**
|
|
1270
|
+
* Client custom styling via url
|
|
1271
|
+
*/
|
|
784
1272
|
this.clientStylingUrl = '';
|
|
1273
|
+
/**
|
|
1274
|
+
* Translation via url
|
|
1275
|
+
*/
|
|
785
1276
|
this.translationUrl = '';
|
|
1277
|
+
/**
|
|
1278
|
+
* User's device type
|
|
1279
|
+
*/
|
|
786
1280
|
this.device = 'Mobile';
|
|
787
|
-
this.leaderboardsInit = undefined;
|
|
788
1281
|
this.tab = Tab.info;
|
|
789
1282
|
this.locale = TRANSLATIONS;
|
|
790
1283
|
this.tournamentItem = undefined;
|
|
@@ -802,7 +1295,9 @@ const CasinoEngagementSuiteTournament = class {
|
|
|
802
1295
|
onClose: undefined
|
|
803
1296
|
};
|
|
804
1297
|
this.time = 0;
|
|
1298
|
+
this.gifts = [];
|
|
805
1299
|
this.newIdList = [];
|
|
1300
|
+
this.labels = [];
|
|
806
1301
|
// bind all renders
|
|
807
1302
|
this.renders = {};
|
|
808
1303
|
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-
|
|
5
|
+
const index = require('./index-6ea4215d.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.25.1 | 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));
|