@everymatrix/casino-header-controller-nd 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.
- package/components/CasinoHamburgerMenuNd-BXOxWDnU.js +5449 -0
- package/components/CasinoHamburgerMenuNd-CDprnR9N.cjs +5 -0
- package/components/CasinoHamburgerMenuNd-RHQhri2n.js +5487 -0
- package/components/CasinoHeaderControllerNd-CrjISN9T.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-bGnLcz2g.js → CasinoHeaderControllerNd-DdRHib4Y.js} +505 -453
- package/components/{CasinoHeaderControllerNd-B4Hgo5oq.js → CasinoHeaderControllerNd-DeFJQOBT.js} +525 -473
- package/components/PlayerAccountBalanceModalNd-BduIv2jr.js +1553 -0
- package/components/PlayerAccountBalanceModalNd-ClQUf9hu.js +1582 -0
- package/components/PlayerAccountBalanceModalNd-DB8OTdY6.cjs +13 -0
- package/components/PlayerDeposit-D4E7B0VM.cjs +1 -0
- package/components/PlayerDeposit-Dn8OMUks.js +391 -0
- package/components/PlayerDeposit-Owd9kBaC.js +391 -0
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/gamification-dropdown-12tdWeqm.cjs +1 -0
- package/stencil/gamification-dropdown-246b88da-BcsKYpR0.js +126 -0
- package/stencil/gamification-dropdown-246b88da-Dckk_dCi.js +144 -0
- package/stencil/gamification-dropdown-246b88da-ImWNLZys.cjs +1 -0
- package/stencil/gamification-dropdown-CGlt7V-H.js +7 -0
- package/stencil/gamification-dropdown-GR6HFAZA.js +25 -0
- package/stencil/gamification-dropdown_4-BwwlBsis.cjs +192 -0
- package/stencil/{gamification-dropdown_4-Cg4EiNTS.js → gamification-dropdown_4-Denu_YbM.js} +21 -21
- package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-QRIgZIS5.js} +19 -19
- package/stencil/index-30fda5fb-CiEO4toK.js +833 -0
- package/stencil/index-30fda5fb-DqSvPD7T.cjs +1 -0
- package/stencil/index-30fda5fb-XWBRFzl0.js +860 -0
- package/stencil/{player-elevate-card-Bo3fCMU8.js → player-elevate-card-BPyvJoKU.js} +4 -4
- package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-CSXjQ70j.js} +4 -4
- package/stencil/player-elevate-card-D5kbh1fR.cjs +64 -0
- package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-be1e68f1-C-idvDlE.js} +1 -3
- package/stencil/{player-elevate-card-items-2078bd83-CUXuMGCR.js → player-elevate-card-items-be1e68f1-CF4tyvaU.js} +1 -3
- package/stencil/player-elevate-card-items-be1e68f1-CxCehVul.cjs +1 -0
- package/stencil/{player-elevate-pointcard-jLOeOCx0.js → player-elevate-pointcard-Baq8OlNX.js} +7 -7
- package/stencil/player-elevate-pointcard-DVXsZKCw.cjs +1 -0
- package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-jvw6Jdcf.js} +7 -7
- package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
- package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
- package/components/CasinoHamburgerMenuNd-DNYzzmAB.js +0 -5447
- package/components/CasinoHeaderControllerNd-Cd6hH1wA.cjs +0 -1
- package/components/PlayerAccountBalanceModalNd-BJJzPbdP.js +0 -1586
- package/components/PlayerAccountBalanceModalNd-Ca8dF_9M.js +0 -1557
- package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
- package/components/PlayerDeposit-B0r58Ypp.js +0 -414
- package/components/PlayerDeposit-BkVMpjA9.js +0 -414
- package/components/PlayerDeposit-CjEddUaf.cjs +0 -1
- package/stencil/gamification-dropdown-456bb56a-BJ9kAxaI.js +0 -103
- package/stencil/gamification-dropdown-456bb56a-CldmfDdk.js +0 -121
- package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
- package/stencil/gamification-dropdown-BdMkPvQc.js +0 -7
- package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
- package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
- package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +0 -192
- package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
- package/stencil/index-171550cf-CVTOm2AV.js +0 -799
- package/stencil/index-171550cf-JwZ7TN-k.js +0 -772
- package/stencil/player-elevate-card-CW-95gEJ.cjs +0 -64
- package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +0 -1
- package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +0 -1
|
@@ -2,21 +2,21 @@ var m = (e, t, a) => new Promise((n, r) => {
|
|
|
2
2
|
var l = (s) => {
|
|
3
3
|
try {
|
|
4
4
|
o(a.next(s));
|
|
5
|
-
} catch (
|
|
6
|
-
r(
|
|
5
|
+
} catch (v) {
|
|
6
|
+
r(v);
|
|
7
7
|
}
|
|
8
8
|
}, d = (s) => {
|
|
9
9
|
try {
|
|
10
10
|
o(a.throw(s));
|
|
11
|
-
} catch (
|
|
12
|
-
r(
|
|
11
|
+
} catch (v) {
|
|
12
|
+
r(v);
|
|
13
13
|
}
|
|
14
14
|
}, o = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(l, d);
|
|
15
15
|
o((a = a.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { G as pe } from "./gamification-dropdown-
|
|
18
|
-
import { r as u, h as i, g as P, c as O, a as b, F as N } from "./index-
|
|
19
|
-
import { t as k, T as $, P as W, a as z, b as L, c as U, r as p,
|
|
17
|
+
import { G as pe } from "./gamification-dropdown-246b88da-Dckk_dCi.js";
|
|
18
|
+
import { r as u, h as i, g as P, c as O, a as b, F as N } from "./index-30fda5fb-XWBRFzl0.js";
|
|
19
|
+
import { t as k, T as $, P as W, a as z, b as L, c as U, r as p, d as h, g as E } from "./player-elevate-card-items-be1e68f1-C-idvDlE.js";
|
|
20
20
|
const q = (e, t) => new Promise((a) => {
|
|
21
21
|
fetch(e).then((n) => n.json()).then((n) => {
|
|
22
22
|
Object.keys(n).forEach((r) => {
|
|
@@ -27,7 +27,7 @@ const q = (e, t) => new Promise((a) => {
|
|
|
27
27
|
});
|
|
28
28
|
}), F = ":host{display:block}", H = F, j = class {
|
|
29
29
|
constructor(e) {
|
|
30
|
-
u(this, e), this.stylingAppends = !1, this.setClientStyling = () => {
|
|
30
|
+
u(this, e), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.stylingAppends = !1, this.setClientStyling = () => {
|
|
31
31
|
let t = document.createElement("style");
|
|
32
32
|
t.innerHTML = this.clientStyling, this.el.prepend(t);
|
|
33
33
|
}, this.setClientStylingURL = () => {
|
|
@@ -39,7 +39,7 @@ const q = (e, t) => new Promise((a) => {
|
|
|
39
39
|
}).catch((n) => {
|
|
40
40
|
console.log("error ", n);
|
|
41
41
|
});
|
|
42
|
-
}
|
|
42
|
+
};
|
|
43
43
|
}
|
|
44
44
|
componentDidRender() {
|
|
45
45
|
this.stylingAppends || (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.stylingAppends = !0);
|
|
@@ -105,10 +105,10 @@ function Z(e, t) {
|
|
|
105
105
|
return a.getTime() < n.getTime();
|
|
106
106
|
}
|
|
107
107
|
function ee(e, t) {
|
|
108
|
-
const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, d = t > 1 ? 1 : t, o = d * l - n < 0 ? 0 : d * l - n, s = e.querySelector("#current_level"),
|
|
109
|
-
a.setAttribute("viewbox", `0 0 ${o} 28`), s.setAttribute("width", `${o}`), g.setAttribute("cx", `${o < r ? r : o}`),
|
|
110
|
-
const y = e.querySelector("#lock"), T = e.querySelector("#filter_heart_ball"), A = e.querySelector("#filter_ball"), B = e.querySelector("#filter_heart"), D = e.querySelector("#filter_lock"), f = e.querySelector("#paint0_linear_ball"), x = e.querySelector("#paint1_linear_lock"), _ = e.querySelector("#lock_box"), R = e.querySelector("#heart_box"), M = 10,
|
|
111
|
-
y.setAttribute("cx", `${
|
|
108
|
+
const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, d = t > 1 ? 1 : t, o = d * l - n < 0 ? 0 : d * l - n, s = e.querySelector("#current_level"), v = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
|
|
109
|
+
a.setAttribute("viewbox", `0 0 ${o} 28`), s.setAttribute("width", `${o}`), g.setAttribute("cx", `${o < r ? r : o}`), v.setAttribute("x", `${o - 8}`);
|
|
110
|
+
const y = e.querySelector("#lock"), T = e.querySelector("#filter_heart_ball"), A = e.querySelector("#filter_ball"), B = e.querySelector("#filter_heart"), D = e.querySelector("#filter_lock"), f = e.querySelector("#paint0_linear_ball"), x = e.querySelector("#paint1_linear_lock"), _ = e.querySelector("#lock_box"), R = e.querySelector("#heart_box"), M = 10, c = l - M;
|
|
111
|
+
y.setAttribute("cx", `${c}`), x.setAttribute("x1", `${c}`), x.setAttribute("x2", `${c}`), f.setAttribute("x1", `${c - 6}`), f.setAttribute("x2", `${c - 6 + 11.2}`), D.setAttribute("x", `${c - 6}`), B.setAttribute("x", `${c - 6 - 2}`), A.setAttribute("x", `${c - 6 - 2 - 2}`), T.setAttribute("x", `${c - 6 - 2 - 2 - 4}`), _.setAttribute("x", `${c - 6}`), R.setAttribute("x", `${c - 6}`), a.parentElement.style.opacity = "1";
|
|
112
112
|
}
|
|
113
113
|
const te = `:host {
|
|
114
114
|
display: block;
|
|
@@ -303,7 +303,7 @@ const te = `:host {
|
|
|
303
303
|
color: var(--emw--color-red, #9e595f);
|
|
304
304
|
}`, ne = te, ae = class {
|
|
305
305
|
constructor(e) {
|
|
306
|
-
u(this, e), this.playerElevateLeveLoaded = O(this, "playerElevateLeveLoaded"
|
|
306
|
+
u(this, e), this.playerElevateLeveLoaded = O(this, "playerElevateLeveLoaded");
|
|
307
307
|
}
|
|
308
308
|
handleWindowResizs() {
|
|
309
309
|
this.initLevelProgressbar();
|
|
@@ -355,12 +355,12 @@ const te = `:host {
|
|
|
355
355
|
}
|
|
356
356
|
let o = n.data;
|
|
357
357
|
this.playerElevateLevel = o.level, this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name, this.playerElevateLevel.spendablePoints = ((r = o.spendableWallet) === null || r === void 0 ? void 0 : r.total.points) || 0, this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
|
|
358
|
-
const s = (l = n.data.spendableWallet) === null || l === void 0 ? void 0 : l.total,
|
|
358
|
+
const s = (l = n.data.spendableWallet) === null || l === void 0 ? void 0 : l.total, v = (d = n.data.loyaltyWallet) === null || d === void 0 ? void 0 : d.total;
|
|
359
359
|
this.playerElevateLeveLoaded.emit({
|
|
360
360
|
elevateLevelWalletTotal: s,
|
|
361
|
-
loyaltyWalletTotal:
|
|
361
|
+
loyaltyWalletTotal: v
|
|
362
362
|
});
|
|
363
|
-
let g = this.calcuatePointsToBeExpired(s), y = this.calcuatePointsToBeExpired(
|
|
363
|
+
let g = this.calcuatePointsToBeExpired(s), y = this.calcuatePointsToBeExpired(v);
|
|
364
364
|
(g || y) && this.playerElevateLeveLoaded.emit({
|
|
365
365
|
pointExpireString: g,
|
|
366
366
|
xpExpireString: y
|
|
@@ -412,7 +412,7 @@ const te = `:host {
|
|
|
412
412
|
ae.style = ne;
|
|
413
413
|
const re = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:11px;margin-left:5px}}@media screen and (max-width: 500px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:wrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:0px;margin-left:0px}}.LoyaltyCard .Inner .LevelProgress{margin-left:0px}.LoyaltyCard .Inner .Row .PointsInfo.ExpirationPoints{text-align:left;color:var(--emw--color-red-50, red)}.LoyaltyCard .Inner .PlayerAvatar .Avatar{display:none}.LoyaltyCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%}.LoyaltyCard .Inner .LevelInfo .ElevateLevel{display:flex;flex:1;align-items:center}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{position:relative;padding-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate .ExpireTime{margin-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .LevelName{padding-left:0;font-size:var(--emw--elevate-fontsize-2xlarge, 21px);position:relative;width:auto;color:var(--emw--elevate-color-levelname, #FFBD2B);font-weight:bold}.LoyaltyCard .PointsRange{display:flex;justify-content:space-between}.LoyaltyCard .PointsRange .PointsInfo{width:auto}.LoyaltyCard .NextLevelTip{text-align:right;font-size:11px;color:var(--emw--color-black, #000);opacity:0.8;font-weight:bold}", le = re, ie = class {
|
|
414
414
|
constructor(e) {
|
|
415
|
-
u(this, e), this.
|
|
415
|
+
u(this, e), this.theme = "Dark", this.language = "en", this.dateFormat = "yyyy-MM-dd", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "";
|
|
416
416
|
}
|
|
417
417
|
onSessionOrEndpointChange() {
|
|
418
418
|
this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
|
|
@@ -449,7 +449,7 @@ const re = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCar
|
|
|
449
449
|
}
|
|
450
450
|
render() {
|
|
451
451
|
const e = b("../static/card-ground.svg"), t = b("../static/card-ground-over.svg");
|
|
452
|
-
return i("div", { key: "
|
|
452
|
+
return i("div", { key: "39295a651da66747a20554699bba5f96b8ad5c35", class: `ElevateCardWrapper ${this.theme}` }, i("div", { key: "78c34fe054fc2459f8af3354116cd21a68ce01be", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, i("general-styling-wrapper", { key: "be6efc6da4c3ccf4cc3ece8ecc73561bae75aa20", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: $, translationUrl: this.translationUrl }), i("player-elevate-card-data", { key: "b53e4b59d4ee55a2f567efa09afab3d72969e6e4", params: this.paramProxy }), i("div", { key: "1f3e504440bab2df3a181058fad7149c85c48c14", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, i("div", { key: "a07c6cd95770dc1bfd3da78b1c7cc8e1367321b1", class: "Content Row" }, this.playerElevateLevel && i(N, { key: "5c104f5ba1a018219c6ed5f6e50af99b035a0344" }, i("div", { key: "bd94591e6ab9298ab7c769fa48efaf314dc1a63b", class: "PlayerImg" }, i(W, { key: "928849ce86d8c7a483eba7850efc83f8149bae43", onlyBadge: !0, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), i("div", { key: "37192c9b8502eb3c7d93914369df2d784c17e9f7", class: `LevelInfo ${this.playerElevateLevel.name}` }, i(z, { key: "2684a177f4bb1053c4587fd4158666fb35ca23f4", hideInfo: !0, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), i("div", { key: "173a37c63868f2d900c12af3ffc2d9a4a57550e4", class: "PointsRange" }, i(L, { key: "a7111154f7dc547e0b05c70d24508bdd75c5d882", loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language }), i(L, { key: "ad31574e7db81a7ecb7a06b28b1d4968cbcab93e", loyaltyPoints: this.getNextLevelPoints(), language: this.language })), i(U, { key: "88ddfdb326edfb1de9519da6b3d0e5b514725e27" }), i("div", { key: "b9c79555a8001bd2c754d7573df04016da235c84", class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && i("div", { key: "02da725060c9db4a8c1c2e8bad3426894d7f8f2c", class: "PointsInfo ExpirationPoints" }, this.pointExpireString, " ")))))));
|
|
453
453
|
}
|
|
454
454
|
static get watchers() {
|
|
455
455
|
return {
|