@everymatrix/player-account-controller 1.54.6 → 1.54.8
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/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
- package/components/GeneralLogout-CoXr5Hra.js +4819 -0
- package/components/GeneralLogout-JiIri-az.cjs +8 -0
- package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
- package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
- package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
- package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
- package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
- package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
- package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
- package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
- package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
- package/components/{PlayerAccountController-BEYNBwE6.js → PlayerAccountController-BclvS237.js} +126 -126
- package/components/PlayerAccountController-DEXL47fX.js +6671 -0
- package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
- package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
- package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
- package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
- package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
- package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
- package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
- package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
- package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
- package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
- package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
- package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
- package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
- package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
- package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
- package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
- package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
- package/components/PlayerAccountModal-D29fr970.js +213 -0
- package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
- package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
- package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
- package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
- package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
- package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
- package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
- package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
- package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
- package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
- package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
- package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
- package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
- package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
- package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
- package/components/{PlayerBonusHistory-bS_5m4-D.js → PlayerBonusHistory-Boz8c3tb.js} +30 -30
- package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
- package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
- package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
- package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
- package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
- package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
- package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
- package/components/PlayerDeposit-kjy658sM.js +395 -0
- package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
- package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
- package/components/{PlayerGamingHistory-ByyLQwtw.js → PlayerGamingHistory-DIgLxCfL.js} +31 -31
- package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
- package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
- package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
- package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
- package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
- package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
- package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
- package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
- package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
- package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
- package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
- package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
- package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
- package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
- package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
- package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
- package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
- package/stencil/{general-input-CQlnWzpy.js → general-input-BEcUF0Mm.js} +1 -1
- package/stencil/general-input-DI0pw0ot.cjs +1 -0
- package/stencil/general-input-DKyA-W8i.js +48 -0
- package/stencil/index-581287aa-CC7128Vz.js +654 -0
- package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
- package/stencil/index-581287aa-D8NTWa_9.js +638 -0
- package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
- package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
- package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
- package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
- package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
- package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
- package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
- package/stencil/index-c0196f50-BjscP7kj.js +697 -0
- package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
- package/stencil/locale-B5abSHU_.cjs +1 -0
- package/stencil/password-input_2-D97O8QAr.cjs +105 -0
- package/stencil/password-input_2-eDchPH-o.js +569 -0
- package/stencil/password-input_2-vTvSUJey.js +569 -0
- package/stencil/{player-change-password-gm2-BaQUJaH1.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
- package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
- package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
- package/stencil/{player-change-password-gm2-98dcb7bc-pj_6Z40p.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
- package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
- package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
- package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
- package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
- package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
- package/stencil/{toggle-checkbox-input-Sy9vd4Jp.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
- package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
- package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
- package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
- package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
- package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
- package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
- package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
- package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
- package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
- package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
- package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
- package/stencil/checkbox-group-input_9-i8KmOWKn.js +0 -15610
- package/stencil/index-062e829b-CboMDKTu.js +0 -686
- package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
- package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
- package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
- package/stencil/password-input_2-sxSehMYk.js +0 -2359
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
import { a as q, $ as X, S as V, i as Z, s as J, f as b, b as K, n as U, d as P, c as L, g as T, h, j as v, k as S, m as x, o as d, p as Q, q as Y, u as $, l as ee, v as k, w as te, X as z, x as ae, y as re } from "./GeneralLogout-CoXr5Hra.js";
|
|
2
|
+
function D(r, e) {
|
|
3
|
+
q(r, e);
|
|
4
|
+
}
|
|
5
|
+
function le(r) {
|
|
6
|
+
X.set(r);
|
|
7
|
+
}
|
|
8
|
+
const I = {
|
|
9
|
+
en: {
|
|
10
|
+
titlePlayerWithdrawal: "Withdrawal",
|
|
11
|
+
loading: "Loading, please wait ..."
|
|
12
|
+
},
|
|
13
|
+
"zh-hk": {
|
|
14
|
+
titlePlayerWithdrawal: "退出",
|
|
15
|
+
loading: "加載請稍候…"
|
|
16
|
+
},
|
|
17
|
+
fr: {
|
|
18
|
+
titlePlayerWithdrawal: "Retrait",
|
|
19
|
+
loading: "Chargement, veuillez patienter ..."
|
|
20
|
+
},
|
|
21
|
+
ro: {
|
|
22
|
+
titlePlayerWithdrawal: "Retragere",
|
|
23
|
+
loading: "Se încarcă..."
|
|
24
|
+
},
|
|
25
|
+
es: {
|
|
26
|
+
titlePlayerWithdrawal: "Retirar",
|
|
27
|
+
loading: "Cargando..."
|
|
28
|
+
},
|
|
29
|
+
pt: {
|
|
30
|
+
titlePlayerWithdrawal: "Retirada",
|
|
31
|
+
loading: "Carregando, por favor espere ..."
|
|
32
|
+
},
|
|
33
|
+
hr: {
|
|
34
|
+
titlePlayerWithdrawal: "Isplata",
|
|
35
|
+
loading: "Učitavanje"
|
|
36
|
+
},
|
|
37
|
+
"en-us": {
|
|
38
|
+
titlePlayerWithdrawal: "Withdrawal",
|
|
39
|
+
loading: "Loading, please wait ..."
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
function ie(r) {
|
|
43
|
+
K(r, "svelte-zw6451", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
|
|
44
|
+
}
|
|
45
|
+
function ne(r) {
|
|
46
|
+
let e, a, n, l, o, m, c, f, g, s, i = (
|
|
47
|
+
/*$_*/
|
|
48
|
+
r[3]("titlePlayerWithdrawal") + ""
|
|
49
|
+
), u, y, M;
|
|
50
|
+
return {
|
|
51
|
+
c() {
|
|
52
|
+
e = v("div"), a = k("svg"), n = k("defs"), l = k("style"), o = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), f = k("path"), g = S(), s = v("h2"), u = x(i), d(f, "class", "aaa"), d(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(f, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "15"), d(a, "height", "15"), d(a, "viewBox", "0 0 15 15"), d(s, "class", "WithdrawalTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
|
|
53
|
+
},
|
|
54
|
+
m(W, _) {
|
|
55
|
+
T(W, e, _), h(e, a), h(a, n), h(n, l), h(l, o), h(a, m), h(m, c), h(c, f), h(e, g), h(e, s), h(s, u), y || (M = ee(
|
|
56
|
+
e,
|
|
57
|
+
"click",
|
|
58
|
+
/*click_handler*/
|
|
59
|
+
r[15]
|
|
60
|
+
), y = !0);
|
|
61
|
+
},
|
|
62
|
+
p(W, _) {
|
|
63
|
+
_ & /*$_*/
|
|
64
|
+
8 && i !== (i = /*$_*/
|
|
65
|
+
W[3]("titlePlayerWithdrawal") + "") && L(u, i);
|
|
66
|
+
},
|
|
67
|
+
d(W) {
|
|
68
|
+
W && P(e), y = !1, M();
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function se(r) {
|
|
73
|
+
let e, a, n;
|
|
74
|
+
return {
|
|
75
|
+
c() {
|
|
76
|
+
e = v("div"), a = v("iframe"), z(a.src, n = /*iframeUrl*/
|
|
77
|
+
r[2]) || d(a, "src", n), d(a, "title", "Withdrawal Iframe"), d(e, "class", "WithdrawalIframeWrapper");
|
|
78
|
+
},
|
|
79
|
+
m(l, o) {
|
|
80
|
+
T(l, e, o), h(e, a);
|
|
81
|
+
},
|
|
82
|
+
p(l, o) {
|
|
83
|
+
o & /*iframeUrl*/
|
|
84
|
+
4 && !z(a.src, n = /*iframeUrl*/
|
|
85
|
+
l[2]) && d(a, "src", n);
|
|
86
|
+
},
|
|
87
|
+
d(l) {
|
|
88
|
+
l && P(e);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function oe(r) {
|
|
93
|
+
let e, a = (
|
|
94
|
+
/*$_*/
|
|
95
|
+
r[3]("loading") + ""
|
|
96
|
+
), n;
|
|
97
|
+
return {
|
|
98
|
+
c() {
|
|
99
|
+
e = v("p"), n = x(a);
|
|
100
|
+
},
|
|
101
|
+
m(l, o) {
|
|
102
|
+
T(l, e, o), h(e, n);
|
|
103
|
+
},
|
|
104
|
+
p(l, o) {
|
|
105
|
+
o & /*$_*/
|
|
106
|
+
8 && a !== (a = /*$_*/
|
|
107
|
+
l[3]("loading") + "") && L(n, a);
|
|
108
|
+
},
|
|
109
|
+
d(l) {
|
|
110
|
+
l && P(e);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
function ce(r) {
|
|
115
|
+
let e, a, n, l = (
|
|
116
|
+
/*$_*/
|
|
117
|
+
r[3]("titlePlayerWithdrawal") + ""
|
|
118
|
+
), o, m, c = (
|
|
119
|
+
/*isMobile*/
|
|
120
|
+
r[4] && ne(r)
|
|
121
|
+
);
|
|
122
|
+
function f(i, u) {
|
|
123
|
+
return (
|
|
124
|
+
/*isLoading*/
|
|
125
|
+
i[1] ? oe : se
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
let g = f(r), s = g(r);
|
|
129
|
+
return {
|
|
130
|
+
c() {
|
|
131
|
+
e = v("div"), c && c.c(), a = S(), n = v("h2"), o = x(l), m = S(), s.c(), d(n, "class", "WithdrawalTitle " + /*isMobile*/
|
|
132
|
+
(r[4] ? "WithdrawalTitleNone" : "")), d(e, "class", "WithdrawalWrapper " + /*isMobile*/
|
|
133
|
+
(r[4] ? "WithdrawalWrapperMobile" : ""));
|
|
134
|
+
},
|
|
135
|
+
m(i, u) {
|
|
136
|
+
T(i, e, u), c && c.m(e, null), h(e, a), h(e, n), h(n, o), h(e, m), s.m(e, null), r[16](e);
|
|
137
|
+
},
|
|
138
|
+
p(i, [u]) {
|
|
139
|
+
/*isMobile*/
|
|
140
|
+
i[4] && c.p(i, u), u & /*$_*/
|
|
141
|
+
8 && l !== (l = /*$_*/
|
|
142
|
+
i[3]("titlePlayerWithdrawal") + "") && L(o, l), g === (g = f(i)) && s ? s.p(i, u) : (s.d(1), s = g(i), s && (s.c(), s.m(e, null)));
|
|
143
|
+
},
|
|
144
|
+
i: U,
|
|
145
|
+
o: U,
|
|
146
|
+
d(i) {
|
|
147
|
+
i && P(e), c && c.d(), s.d(), r[16](null);
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
function de(r, e, a) {
|
|
152
|
+
let n;
|
|
153
|
+
Q(r, re, (t) => a(3, n = t));
|
|
154
|
+
let { endpoint: l = "" } = e, { session: o = "" } = e, { playerid: m = "" } = e, { lang: c = "en" } = e, { hasdefaultamount: f = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: i = "" } = e, { playercurrency: u = "" } = e, y, M = window.navigator.userAgent, W = Y(M) !== "PC", _ = !0, C = 0, R = "";
|
|
155
|
+
const j = () => {
|
|
156
|
+
fetch(i).then((p) => p.json()).then((p) => {
|
|
157
|
+
Object.keys(p).forEach((w) => {
|
|
158
|
+
D(w, p[w]);
|
|
159
|
+
});
|
|
160
|
+
}).catch((p) => {
|
|
161
|
+
console.log(p);
|
|
162
|
+
});
|
|
163
|
+
};
|
|
164
|
+
Object.keys(I).forEach((t) => {
|
|
165
|
+
D(t, I[t]);
|
|
166
|
+
});
|
|
167
|
+
const E = () => {
|
|
168
|
+
window.postMessage(
|
|
169
|
+
{
|
|
170
|
+
type: "PlayerAccountMenuActive",
|
|
171
|
+
isMobile: W
|
|
172
|
+
},
|
|
173
|
+
window.location.href
|
|
174
|
+
);
|
|
175
|
+
}, B = (t) => {
|
|
176
|
+
if (t.data) {
|
|
177
|
+
switch (t.data.type) {
|
|
178
|
+
case "ProfileDetailsData":
|
|
179
|
+
a(6, u = t.data.profileDetails.currency);
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
switch (t.data.redirect) {
|
|
183
|
+
case "mm-hc-casino":
|
|
184
|
+
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
185
|
+
break;
|
|
186
|
+
case "mm-hc-sports":
|
|
187
|
+
window.postMessage({ type: "GoToSports" }, window.location.href);
|
|
188
|
+
break;
|
|
189
|
+
case "mm-hc-contact":
|
|
190
|
+
window.postMessage({ type: "GoToCustomerSupport" }, window.location.href);
|
|
191
|
+
break;
|
|
192
|
+
case "mm-hc-back-to-merchant":
|
|
193
|
+
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
194
|
+
break;
|
|
195
|
+
case "mm-wm-hc-init-deposit":
|
|
196
|
+
window.postMessage(
|
|
197
|
+
{
|
|
198
|
+
type: "RedirectWithdrawDepositCloseModal"
|
|
199
|
+
},
|
|
200
|
+
window.location.href
|
|
201
|
+
);
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}, A = () => {
|
|
206
|
+
let t = new URL(`${l}/v1/player/${m}/hostedcashier/initializewithdraw`);
|
|
207
|
+
if (t.searchParams.append("language", c), f)
|
|
208
|
+
switch (u) {
|
|
209
|
+
case "USD":
|
|
210
|
+
C = 0.4;
|
|
211
|
+
break;
|
|
212
|
+
case "CDF":
|
|
213
|
+
C = 1e3;
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
let p = {
|
|
217
|
+
method: "POST",
|
|
218
|
+
headers: {
|
|
219
|
+
"X-SessionId": o,
|
|
220
|
+
currency: u || "EUR",
|
|
221
|
+
amount: C,
|
|
222
|
+
cashierMode: "Default",
|
|
223
|
+
IsShortCashier: !1,
|
|
224
|
+
accept: "application/json"
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
fetch(t.href, p).then((w) => w.json()).then(
|
|
228
|
+
(w) => {
|
|
229
|
+
a(1, _ = !1), a(2, R = w.CashierUrl);
|
|
230
|
+
},
|
|
231
|
+
(w) => {
|
|
232
|
+
console.error(w);
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
}, H = () => {
|
|
236
|
+
le(c);
|
|
237
|
+
}, F = () => {
|
|
238
|
+
let t = document.createElement("style");
|
|
239
|
+
t.innerHTML = g, y.appendChild(t);
|
|
240
|
+
}, N = () => {
|
|
241
|
+
let t = new URL(s), p = document.createElement("style");
|
|
242
|
+
fetch(t.href).then((w) => w.text()).then((w) => {
|
|
243
|
+
p.innerHTML = w, setTimeout(
|
|
244
|
+
() => {
|
|
245
|
+
y.appendChild(p);
|
|
246
|
+
},
|
|
247
|
+
1
|
|
248
|
+
);
|
|
249
|
+
});
|
|
250
|
+
};
|
|
251
|
+
$(() => (window.addEventListener("message", B, !1), () => {
|
|
252
|
+
window.removeEventListener("message", B);
|
|
253
|
+
}));
|
|
254
|
+
const G = () => E();
|
|
255
|
+
function O(t) {
|
|
256
|
+
te[t ? "unshift" : "push"](() => {
|
|
257
|
+
y = t, a(0, y);
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
return r.$$set = (t) => {
|
|
261
|
+
"endpoint" in t && a(7, l = t.endpoint), "session" in t && a(8, o = t.session), "playerid" in t && a(9, m = t.playerid), "lang" in t && a(10, c = t.lang), "hasdefaultamount" in t && a(11, f = t.hasdefaultamount), "clientstyling" in t && a(12, g = t.clientstyling), "clientstylingurl" in t && a(13, s = t.clientstylingurl), "translationurl" in t && a(14, i = t.translationurl), "playercurrency" in t && a(6, u = t.playercurrency);
|
|
262
|
+
}, r.$$.update = () => {
|
|
263
|
+
r.$$.dirty & /*lang*/
|
|
264
|
+
1024 && c && H(), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
265
|
+
8193 && s && y && N(), r.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
266
|
+
4097 && g && y && F(), r.$$.dirty & /*translationurl*/
|
|
267
|
+
16384 && i && j(), r.$$.dirty & /*session, playerid, endpoint, playercurrency, lang*/
|
|
268
|
+
1984 && o && m && l && u && c && A();
|
|
269
|
+
}, [
|
|
270
|
+
y,
|
|
271
|
+
_,
|
|
272
|
+
R,
|
|
273
|
+
n,
|
|
274
|
+
W,
|
|
275
|
+
E,
|
|
276
|
+
u,
|
|
277
|
+
l,
|
|
278
|
+
o,
|
|
279
|
+
m,
|
|
280
|
+
c,
|
|
281
|
+
f,
|
|
282
|
+
g,
|
|
283
|
+
s,
|
|
284
|
+
i,
|
|
285
|
+
G,
|
|
286
|
+
O
|
|
287
|
+
];
|
|
288
|
+
}
|
|
289
|
+
class ue extends V {
|
|
290
|
+
constructor(e) {
|
|
291
|
+
super(), Z(
|
|
292
|
+
this,
|
|
293
|
+
e,
|
|
294
|
+
de,
|
|
295
|
+
ce,
|
|
296
|
+
J,
|
|
297
|
+
{
|
|
298
|
+
endpoint: 7,
|
|
299
|
+
session: 8,
|
|
300
|
+
playerid: 9,
|
|
301
|
+
lang: 10,
|
|
302
|
+
hasdefaultamount: 11,
|
|
303
|
+
clientstyling: 12,
|
|
304
|
+
clientstylingurl: 13,
|
|
305
|
+
translationurl: 14,
|
|
306
|
+
playercurrency: 6
|
|
307
|
+
},
|
|
308
|
+
ie
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
get endpoint() {
|
|
312
|
+
return this.$$.ctx[7];
|
|
313
|
+
}
|
|
314
|
+
set endpoint(e) {
|
|
315
|
+
this.$$set({ endpoint: e }), b();
|
|
316
|
+
}
|
|
317
|
+
get session() {
|
|
318
|
+
return this.$$.ctx[8];
|
|
319
|
+
}
|
|
320
|
+
set session(e) {
|
|
321
|
+
this.$$set({ session: e }), b();
|
|
322
|
+
}
|
|
323
|
+
get playerid() {
|
|
324
|
+
return this.$$.ctx[9];
|
|
325
|
+
}
|
|
326
|
+
set playerid(e) {
|
|
327
|
+
this.$$set({ playerid: e }), b();
|
|
328
|
+
}
|
|
329
|
+
get lang() {
|
|
330
|
+
return this.$$.ctx[10];
|
|
331
|
+
}
|
|
332
|
+
set lang(e) {
|
|
333
|
+
this.$$set({ lang: e }), b();
|
|
334
|
+
}
|
|
335
|
+
get hasdefaultamount() {
|
|
336
|
+
return this.$$.ctx[11];
|
|
337
|
+
}
|
|
338
|
+
set hasdefaultamount(e) {
|
|
339
|
+
this.$$set({ hasdefaultamount: e }), b();
|
|
340
|
+
}
|
|
341
|
+
get clientstyling() {
|
|
342
|
+
return this.$$.ctx[12];
|
|
343
|
+
}
|
|
344
|
+
set clientstyling(e) {
|
|
345
|
+
this.$$set({ clientstyling: e }), b();
|
|
346
|
+
}
|
|
347
|
+
get clientstylingurl() {
|
|
348
|
+
return this.$$.ctx[13];
|
|
349
|
+
}
|
|
350
|
+
set clientstylingurl(e) {
|
|
351
|
+
this.$$set({ clientstylingurl: e }), b();
|
|
352
|
+
}
|
|
353
|
+
get translationurl() {
|
|
354
|
+
return this.$$.ctx[14];
|
|
355
|
+
}
|
|
356
|
+
set translationurl(e) {
|
|
357
|
+
this.$$set({ translationurl: e }), b();
|
|
358
|
+
}
|
|
359
|
+
get playercurrency() {
|
|
360
|
+
return this.$$.ctx[6];
|
|
361
|
+
}
|
|
362
|
+
set playercurrency(e) {
|
|
363
|
+
this.$$set({ playercurrency: e }), b();
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
ae(ue, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
|
|
367
|
+
export {
|
|
368
|
+
ue as default
|
|
369
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}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.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-DX3vsM6e.cjs")).then(({default:t})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",t.element)})}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
if (typeof window != "undefined") {
|
|
2
|
+
let n = function(t) {
|
|
3
|
+
return function(...s) {
|
|
4
|
+
try {
|
|
5
|
+
return t.apply(this, s);
|
|
6
|
+
} catch (e) {
|
|
7
|
+
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"))
|
|
8
|
+
return !1;
|
|
9
|
+
throw e;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountController-DEXL47fX.js").then(({ default: t }) => {
|
|
14
|
+
!customElements.get("player-account-controller") && customElements.define("player-account-controller", t.element);
|
|
15
|
+
});
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=()=>{},s=()=>{},t=()=>{},c=()=>{};exports.globalScripts=c;exports.globalScripts$1=s;exports.globalScripts$2=l;exports.globalScripts$3=t;
|