@everymatrix/player-account-controller-nd 1.45.0 → 1.45.2
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-Dur72yyv.js → GeneralLogout-DI0_2Ld2.js} +245 -245
- package/components/{GeneralLogout-WbaN9lE3.cjs → GeneralLogout-bc8vhI_H.cjs} +5 -5
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +1 -0
- package/components/PlayerAccountBettingHistory-p8-C5d_q.js +328 -0
- package/components/PlayerAccountBiometrics-36-jzvmv.js +300 -0
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +1 -0
- package/components/PlayerAccountClosureNd-DWE1BQjS.cjs +1 -0
- package/components/PlayerAccountClosureNd-DpV3ccPJ.js +339 -0
- package/components/PlayerAccountControllerNd-B2whVamd.cjs +1 -0
- package/components/{PlayerAccountControllerNd-DCbqnbg6.js → PlayerAccountControllerNd-Cn1L8BfZ.js} +2011 -2011
- package/components/{PlayerAccountGamingLimits-C2xXDjZV.js → PlayerAccountGamingLimits-X6i1dxNz.js} +183 -183
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-_s70hpGn.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-DmQ9XuZB.js → PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js} +966 -966
- package/components/PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2-_p2IXses.cjs → PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-fOH4qSJR.js → PlayerAccountGamingLimitsHistory2-BkYPsgPu.js} +1 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DTrLCGCx.js → PlayerAccountGamingLimitsInfoCard-DQkGickX.js} +351 -351
- package/components/PlayerAccountGamingLimitsPage2Gm16-DSOYjGfv.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-1ZR10Ej8.js → PlayerAccountGamingLimitsPage2Gm16-DoQKbVDC.js} +851 -851
- package/components/{PlayerAccountGamingLimitsPopup-Bss_FRfq.js → PlayerAccountGamingLimitsPopup-BRVwX_uG.js} +79 -77
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DqM8a5cp.js → PlayerAccountGamingLimitsWrapper2Nd-Bww6zBy7.js} +140 -140
- package/components/PlayerAccountGamingLimitsWrapper2Nd-LjReoru-.cjs +1 -0
- package/components/PlayerAccountMenuNd-BdhvWQDA.js +587 -0
- package/components/PlayerAccountMenuNd-uyqoX0xo.cjs +1 -0
- package/components/{PlayerAccountModal-BQ2N-DK2.js → PlayerAccountModal-BK_133rp.js} +49 -49
- package/components/PlayerAccountModal-CIR41mpM.cjs +1 -0
- package/components/PlayerAccountNotifications-COx0wvVZ.js +261 -0
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +1 -0
- package/components/{PlayerAccountSelfExclusionNd-Bx9an6cr.js → PlayerAccountSelfExclusionNd-B1PSYs3p.js} +1778 -1778
- package/components/{PlayerAccountSelfExclusionNd-BuzzsS0G.cjs → PlayerAccountSelfExclusionNd-CUN7qWEA.cjs} +125 -125
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +1 -0
- package/components/{PlayerAccountTimeout-DAzcm92_.js → PlayerAccountTimeout-DMvUsWoq.js} +106 -106
- package/components/PlayerActiveBonuses-CpEieMUG.js +986 -0
- package/components/PlayerActiveBonuses-bY0Y51Al.cjs +1 -0
- package/components/PlayerBonusCard-DGoTFlMq.js +565 -0
- package/components/PlayerBonusCard-DdxYH7lf.cjs +1 -0
- package/components/PlayerBonusHistory-DdGgXcKX.cjs +1 -0
- package/components/PlayerBonusHistory-rFWrF_Pj.js +840 -0
- package/components/PlayerChangePassword-BDyXZ2_q.cjs +3 -0
- package/components/PlayerChangePassword-BkRFX3fB.js +1161 -0
- package/components/PlayerDeposit-CYpXuZIT.cjs +1 -0
- package/components/PlayerDeposit-T-QxU0tF.js +395 -0
- package/components/PlayerGamingHistory-DCOFqQCz.js +920 -0
- package/components/PlayerGamingHistory-DXX4_ApI.cjs +1 -0
- package/components/PlayerPendingWithdrawals-DR9D_EFU.js +307 -0
- package/components/PlayerPendingWithdrawals-Dn63yKxo.cjs +1 -0
- package/components/PlayerProfileInfo-CmcXF1Sx.js +1707 -0
- package/components/PlayerProfileInfo-CsWD1vK0.cjs +1 -0
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +1 -0
- package/components/PlayerRealityCheck-CRHHpeWT.js +587 -0
- package/components/PlayerTransactionHistory-DJICk5qY.cjs +1 -0
- package/components/PlayerTransactionHistory-HQMXVkZj.js +311 -0
- package/components/PlayerWithdrawal-BToCctRz.js +365 -0
- package/components/PlayerWithdrawal-DuxGAxKs.cjs +1 -0
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +2 -2
- package/components/PlayerAccountBettingHistory-BWMEGhv1.js +0 -328
- package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +0 -1
- package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +0 -1
- package/components/PlayerAccountBiometrics-ByG3_I95.js +0 -300
- package/components/PlayerAccountClosureNd-034rDNz4.cjs +0 -1
- package/components/PlayerAccountClosureNd-DZTrmidg.js +0 -339
- package/components/PlayerAccountControllerNd-BAD6QpiV.cjs +0 -1
- package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CL8VasWX.js +0 -306
- package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +0 -10
- package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-D3v3WC8t.cjs +0 -1
- package/components/PlayerAccountMenuNd-CBH9HOGY.js +0 -587
- package/components/PlayerAccountMenuNd-CvdxB7NH.cjs +0 -1
- package/components/PlayerAccountModal-DpMfe1gv.cjs +0 -1
- package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +0 -1
- package/components/PlayerAccountNotifications-QmKY9-B0.js +0 -261
- package/components/PlayerAccountTimeout-dxzuaoP9.cjs +0 -1
- package/components/PlayerActiveBonuses-BcPMSj2n.js +0 -986
- package/components/PlayerActiveBonuses-D0-qI8iz.cjs +0 -1
- package/components/PlayerBonusCard-BoENnXsd.cjs +0 -1
- package/components/PlayerBonusCard-DhNWEP3Y.js +0 -565
- package/components/PlayerBonusHistory-CKKn9KgY.js +0 -840
- package/components/PlayerBonusHistory-DoxmVui6.cjs +0 -1
- package/components/PlayerChangePassword-BC6buQCz.js +0 -1161
- package/components/PlayerChangePassword-RpQIhFff.cjs +0 -3
- package/components/PlayerDeposit-B7M0Rg-o.js +0 -395
- package/components/PlayerDeposit-COhpfcRx.cjs +0 -1
- package/components/PlayerGamingHistory-DIk73kDr.js +0 -920
- package/components/PlayerGamingHistory-Dbafpt79.cjs +0 -1
- package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +0 -1
- package/components/PlayerPendingWithdrawals-CxklAVTc.js +0 -307
- package/components/PlayerProfileInfo-BeD6hzPW.cjs +0 -1
- package/components/PlayerProfileInfo-CoKc-eaN.js +0 -1707
- package/components/PlayerRealityCheck-B37H9_Rn.cjs +0 -1
- package/components/PlayerRealityCheck-DekJHe9F.js +0 -587
- package/components/PlayerTransactionHistory-CxYO3lnm.cjs +0 -1
- package/components/PlayerTransactionHistory-D7Tba-Nn.js +0 -311
- package/components/PlayerWithdrawal-BQyz5UQ7.js +0 -365
- package/components/PlayerWithdrawal-DYkzBPcQ.cjs +0 -1
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import { a as q, $ as F, S as O, i as X, f as H, c as D, s as G, b as V, e as w, d as L, t as k, g as d, k as M, l as u, n as E, o as B, p as C, q as Z, u as J, w as _, m as K, x as Q, X as j, y as Y } from "./GeneralLogout-DI0_2Ld2.js";
|
|
2
|
+
function z(n, t) {
|
|
3
|
+
q(n, t);
|
|
4
|
+
}
|
|
5
|
+
function $(n) {
|
|
6
|
+
F.set(n);
|
|
7
|
+
}
|
|
8
|
+
const A = {
|
|
9
|
+
en: {
|
|
10
|
+
titleTransactionHistory: "Transaction History",
|
|
11
|
+
loading: "Loading, please wait ..."
|
|
12
|
+
},
|
|
13
|
+
"zh-hk": {
|
|
14
|
+
titleTransactionHistory: "交易記錄",
|
|
15
|
+
loading: "加載請稍候…"
|
|
16
|
+
},
|
|
17
|
+
fr: {
|
|
18
|
+
titleTransactionHistory: "Historique des transactions",
|
|
19
|
+
loading: "Chargement, veuillez patienter ..."
|
|
20
|
+
},
|
|
21
|
+
ro: {
|
|
22
|
+
titleTransactionHistory: "Istoric tranzacții",
|
|
23
|
+
loading: "Se încarcă..."
|
|
24
|
+
},
|
|
25
|
+
es: {
|
|
26
|
+
titleTransactionHistory: "Historial de transacciones",
|
|
27
|
+
loading: "Cargando ... Por favor espere ..."
|
|
28
|
+
},
|
|
29
|
+
pt: {
|
|
30
|
+
titleTransactionHistory: "Histórico de transações",
|
|
31
|
+
loading: "Carregando, por favor espere ..."
|
|
32
|
+
},
|
|
33
|
+
hr: {
|
|
34
|
+
titleTransactionHistory: "Povijest transakcija",
|
|
35
|
+
loading: "Učitavanje"
|
|
36
|
+
},
|
|
37
|
+
"pt-br": {
|
|
38
|
+
titleTransactionHistory: "Histórico de transações",
|
|
39
|
+
Loading: "Carregando, por favor espere..."
|
|
40
|
+
},
|
|
41
|
+
"es-mx": {
|
|
42
|
+
titleTransactionHistory: "Historial de transacciones",
|
|
43
|
+
Loading: "Cargando, por favor espere..."
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
function tt(n) {
|
|
47
|
+
V(n, "svelte-t1xo0g", ".TransactionHistoryWrapper{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%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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))}.TransactionHistoryTitle{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)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
|
|
48
|
+
}
|
|
49
|
+
function et(n) {
|
|
50
|
+
let t, e, s, r, o, y, c, g, f, l, a = (
|
|
51
|
+
/*$_*/
|
|
52
|
+
n[3]("titleTransactionHistory") + ""
|
|
53
|
+
), m, v, b;
|
|
54
|
+
return {
|
|
55
|
+
c() {
|
|
56
|
+
t = w("div"), e = _("svg"), s = _("defs"), r = _("style"), o = k(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = _("g"), c = _("g"), g = _("path"), f = L(), l = w("h2"), m = k(a), d(g, "class", "aaa"), d(g, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(g, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(y, "transform", "translate(-20 -158)"), d(e, "xmlns", "http://www.w3.org/2000/svg"), d(e, "width", "15"), d(e, "height", "15"), d(e, "viewBox", "0 0 15 15"), d(l, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
|
|
57
|
+
},
|
|
58
|
+
m(T, x) {
|
|
59
|
+
M(T, t, x), u(t, e), u(e, s), u(s, r), u(r, o), u(e, y), u(y, c), u(c, g), u(t, f), u(t, l), u(l, m), v || (b = K(
|
|
60
|
+
t,
|
|
61
|
+
"click",
|
|
62
|
+
/*click_handler*/
|
|
63
|
+
n[13]
|
|
64
|
+
), v = !0);
|
|
65
|
+
},
|
|
66
|
+
p(T, x) {
|
|
67
|
+
x & /*$_*/
|
|
68
|
+
8 && a !== (a = /*$_*/
|
|
69
|
+
T[3]("titleTransactionHistory") + "") && E(m, a);
|
|
70
|
+
},
|
|
71
|
+
d(T) {
|
|
72
|
+
T && C(t), v = !1, b();
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function nt(n) {
|
|
77
|
+
let t, e, s;
|
|
78
|
+
return {
|
|
79
|
+
c() {
|
|
80
|
+
t = w("div"), e = w("iframe"), j(e.src, s = /*iframeUrl*/
|
|
81
|
+
n[2]) || d(e, "src", s), d(e, "title", "Transaction History Iframe"), d(t, "class", "TransactionHistoryIframeWrapper");
|
|
82
|
+
},
|
|
83
|
+
m(r, o) {
|
|
84
|
+
M(r, t, o), u(t, e);
|
|
85
|
+
},
|
|
86
|
+
p(r, o) {
|
|
87
|
+
o & /*iframeUrl*/
|
|
88
|
+
4 && !j(e.src, s = /*iframeUrl*/
|
|
89
|
+
r[2]) && d(e, "src", s);
|
|
90
|
+
},
|
|
91
|
+
d(r) {
|
|
92
|
+
r && C(t);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function it(n) {
|
|
97
|
+
let t, e = (
|
|
98
|
+
/*$_*/
|
|
99
|
+
n[3]("loading") + ""
|
|
100
|
+
), s;
|
|
101
|
+
return {
|
|
102
|
+
c() {
|
|
103
|
+
t = w("p"), s = k(e);
|
|
104
|
+
},
|
|
105
|
+
m(r, o) {
|
|
106
|
+
M(r, t, o), u(t, s);
|
|
107
|
+
},
|
|
108
|
+
p(r, o) {
|
|
109
|
+
o & /*$_*/
|
|
110
|
+
8 && e !== (e = /*$_*/
|
|
111
|
+
r[3]("loading") + "") && E(s, e);
|
|
112
|
+
},
|
|
113
|
+
d(r) {
|
|
114
|
+
r && C(t);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
function rt(n) {
|
|
119
|
+
let t, e, s, r = (
|
|
120
|
+
/*$_*/
|
|
121
|
+
n[3]("titleTransactionHistory") + ""
|
|
122
|
+
), o, y, c = (
|
|
123
|
+
/*isMobile*/
|
|
124
|
+
n[4] && et(n)
|
|
125
|
+
);
|
|
126
|
+
function g(a, m) {
|
|
127
|
+
return (
|
|
128
|
+
/*isLoading*/
|
|
129
|
+
a[1] ? it : nt
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
let f = g(n), l = f(n);
|
|
133
|
+
return {
|
|
134
|
+
c() {
|
|
135
|
+
t = w("div"), c && c.c(), e = L(), s = w("h2"), o = k(r), y = L(), l.c(), d(s, "class", "TransactionHistoryTitle " + /*isMobile*/
|
|
136
|
+
(n[4] ? "TransactionHistoryTitleNone" : "")), d(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
|
|
137
|
+
(n[4] ? "TransactionHistoryWrapperMobile" : ""));
|
|
138
|
+
},
|
|
139
|
+
m(a, m) {
|
|
140
|
+
M(a, t, m), c && c.m(t, null), u(t, e), u(t, s), u(s, o), u(t, y), l.m(t, null), n[14](t);
|
|
141
|
+
},
|
|
142
|
+
p(a, [m]) {
|
|
143
|
+
/*isMobile*/
|
|
144
|
+
a[4] && c.p(a, m), m & /*$_*/
|
|
145
|
+
8 && r !== (r = /*$_*/
|
|
146
|
+
a[3]("titleTransactionHistory") + "") && E(o, r), f === (f = g(a)) && l ? l.p(a, m) : (l.d(1), l = f(a), l && (l.c(), l.m(t, null)));
|
|
147
|
+
},
|
|
148
|
+
i: B,
|
|
149
|
+
o: B,
|
|
150
|
+
d(a) {
|
|
151
|
+
a && C(t), c && c.d(), l.d(), n[14](null);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function at(n, t, e) {
|
|
156
|
+
let s;
|
|
157
|
+
Z(n, Y, (i) => e(3, s = i));
|
|
158
|
+
let { endpoint: r = "" } = t, { session: o = "" } = t, { playerid: y = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: l = "" } = t, a, m = window.navigator.userAgent, v = J(m) !== "PC", b = !0, T = "";
|
|
159
|
+
const x = () => {
|
|
160
|
+
fetch(l).then((h) => h.json()).then((h) => {
|
|
161
|
+
Object.keys(h).forEach((p) => {
|
|
162
|
+
z(p, h[p]);
|
|
163
|
+
});
|
|
164
|
+
}).catch((h) => {
|
|
165
|
+
console.log(h);
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
Object.keys(A).forEach((i) => {
|
|
169
|
+
z(i, A[i]);
|
|
170
|
+
});
|
|
171
|
+
const S = () => {
|
|
172
|
+
window.postMessage(
|
|
173
|
+
{
|
|
174
|
+
type: "PlayerAccountMenuActive",
|
|
175
|
+
isMobile: v
|
|
176
|
+
},
|
|
177
|
+
window.location.href
|
|
178
|
+
);
|
|
179
|
+
}, I = () => {
|
|
180
|
+
let i = new URL(`${r}/v1/player/${y}/hostedcashier/customertransactionhistoryurl`);
|
|
181
|
+
i.searchParams.append("language", c);
|
|
182
|
+
let h = {
|
|
183
|
+
method: "GET",
|
|
184
|
+
headers: {
|
|
185
|
+
"X-SessionId": o,
|
|
186
|
+
accept: "application/json"
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
fetch(i.href, h).then((p) => p.json()).then(
|
|
190
|
+
(p) => {
|
|
191
|
+
e(1, b = !1), e(2, T = p.CashierUrl);
|
|
192
|
+
},
|
|
193
|
+
(p) => {
|
|
194
|
+
console.error(p);
|
|
195
|
+
}
|
|
196
|
+
);
|
|
197
|
+
}, R = () => {
|
|
198
|
+
$(c);
|
|
199
|
+
}, U = () => {
|
|
200
|
+
let i = document.createElement("style");
|
|
201
|
+
i.innerHTML = g, a.appendChild(i);
|
|
202
|
+
}, W = () => {
|
|
203
|
+
let i = new URL(f), h = document.createElement("style");
|
|
204
|
+
fetch(i.href).then((p) => p.text()).then((p) => {
|
|
205
|
+
h.innerHTML = p, setTimeout(
|
|
206
|
+
() => {
|
|
207
|
+
a.appendChild(h);
|
|
208
|
+
},
|
|
209
|
+
1
|
|
210
|
+
);
|
|
211
|
+
});
|
|
212
|
+
}, P = () => S();
|
|
213
|
+
function N(i) {
|
|
214
|
+
Q[i ? "unshift" : "push"](() => {
|
|
215
|
+
a = i, e(0, a);
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
return n.$$set = (i) => {
|
|
219
|
+
"endpoint" in i && e(6, r = i.endpoint), "session" in i && e(7, o = i.session), "playerid" in i && e(8, y = i.playerid), "lang" in i && e(9, c = i.lang), "clientstyling" in i && e(10, g = i.clientstyling), "clientstylingurl" in i && e(11, f = i.clientstylingurl), "translationurl" in i && e(12, l = i.translationurl);
|
|
220
|
+
}, n.$$.update = () => {
|
|
221
|
+
n.$$.dirty & /*lang*/
|
|
222
|
+
512 && c && R(), n.$$.dirty & /*session, playerid, endpoint, lang*/
|
|
223
|
+
960 && o && y && r && c && I(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
224
|
+
2049 && f && a && W(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
225
|
+
1025 && g && a && U(), n.$$.dirty & /*translationurl*/
|
|
226
|
+
4096 && l && x();
|
|
227
|
+
}, [
|
|
228
|
+
a,
|
|
229
|
+
b,
|
|
230
|
+
T,
|
|
231
|
+
s,
|
|
232
|
+
v,
|
|
233
|
+
S,
|
|
234
|
+
r,
|
|
235
|
+
o,
|
|
236
|
+
y,
|
|
237
|
+
c,
|
|
238
|
+
g,
|
|
239
|
+
f,
|
|
240
|
+
l,
|
|
241
|
+
P,
|
|
242
|
+
N
|
|
243
|
+
];
|
|
244
|
+
}
|
|
245
|
+
class st extends O {
|
|
246
|
+
constructor(t) {
|
|
247
|
+
super(), X(
|
|
248
|
+
this,
|
|
249
|
+
t,
|
|
250
|
+
at,
|
|
251
|
+
rt,
|
|
252
|
+
G,
|
|
253
|
+
{
|
|
254
|
+
endpoint: 6,
|
|
255
|
+
session: 7,
|
|
256
|
+
playerid: 8,
|
|
257
|
+
lang: 9,
|
|
258
|
+
clientstyling: 10,
|
|
259
|
+
clientstylingurl: 11,
|
|
260
|
+
translationurl: 12
|
|
261
|
+
},
|
|
262
|
+
tt
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
get endpoint() {
|
|
266
|
+
return this.$$.ctx[6];
|
|
267
|
+
}
|
|
268
|
+
set endpoint(t) {
|
|
269
|
+
this.$$set({ endpoint: t }), H();
|
|
270
|
+
}
|
|
271
|
+
get session() {
|
|
272
|
+
return this.$$.ctx[7];
|
|
273
|
+
}
|
|
274
|
+
set session(t) {
|
|
275
|
+
this.$$set({ session: t }), H();
|
|
276
|
+
}
|
|
277
|
+
get playerid() {
|
|
278
|
+
return this.$$.ctx[8];
|
|
279
|
+
}
|
|
280
|
+
set playerid(t) {
|
|
281
|
+
this.$$set({ playerid: t }), H();
|
|
282
|
+
}
|
|
283
|
+
get lang() {
|
|
284
|
+
return this.$$.ctx[9];
|
|
285
|
+
}
|
|
286
|
+
set lang(t) {
|
|
287
|
+
this.$$set({ lang: t }), H();
|
|
288
|
+
}
|
|
289
|
+
get clientstyling() {
|
|
290
|
+
return this.$$.ctx[10];
|
|
291
|
+
}
|
|
292
|
+
set clientstyling(t) {
|
|
293
|
+
this.$$set({ clientstyling: t }), H();
|
|
294
|
+
}
|
|
295
|
+
get clientstylingurl() {
|
|
296
|
+
return this.$$.ctx[11];
|
|
297
|
+
}
|
|
298
|
+
set clientstylingurl(t) {
|
|
299
|
+
this.$$set({ clientstylingurl: t }), H();
|
|
300
|
+
}
|
|
301
|
+
get translationurl() {
|
|
302
|
+
return this.$$.ctx[12];
|
|
303
|
+
}
|
|
304
|
+
set translationurl(t) {
|
|
305
|
+
this.$$set({ translationurl: t }), H();
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
D(st, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
309
|
+
export {
|
|
310
|
+
st as default
|
|
311
|
+
};
|
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import { a as q, $ as X, S as V, i as Z, f as b, c as J, s as K, b as Q, e as W, d as S, t as x, g as d, k as P, l as h, n as R, o as U, p as T, q as Y, u as $, v as ee, w as k, m as te, x as ae, X as D, y as re } from "./GeneralLogout-DI0_2Ld2.js";
|
|
2
|
+
function I(r, e) {
|
|
3
|
+
q(r, e);
|
|
4
|
+
}
|
|
5
|
+
function le(r) {
|
|
6
|
+
X.set(r);
|
|
7
|
+
}
|
|
8
|
+
const j = {
|
|
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
|
+
};
|
|
38
|
+
function ie(r) {
|
|
39
|
+
Q(r, "svelte-1hcnj8g", "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)}");
|
|
40
|
+
}
|
|
41
|
+
function ne(r) {
|
|
42
|
+
let e, a, n, l, o, m, c, f, g, s, i = (
|
|
43
|
+
/*$_*/
|
|
44
|
+
r[3]("titlePlayerWithdrawal") + ""
|
|
45
|
+
), u, y, M;
|
|
46
|
+
return {
|
|
47
|
+
c() {
|
|
48
|
+
e = W("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 = W("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");
|
|
49
|
+
},
|
|
50
|
+
m(v, _) {
|
|
51
|
+
P(v, 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 = te(
|
|
52
|
+
e,
|
|
53
|
+
"click",
|
|
54
|
+
/*click_handler*/
|
|
55
|
+
r[15]
|
|
56
|
+
), y = !0);
|
|
57
|
+
},
|
|
58
|
+
p(v, _) {
|
|
59
|
+
_ & /*$_*/
|
|
60
|
+
8 && i !== (i = /*$_*/
|
|
61
|
+
v[3]("titlePlayerWithdrawal") + "") && R(u, i);
|
|
62
|
+
},
|
|
63
|
+
d(v) {
|
|
64
|
+
v && T(e), y = !1, M();
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function se(r) {
|
|
69
|
+
let e, a, n;
|
|
70
|
+
return {
|
|
71
|
+
c() {
|
|
72
|
+
e = W("div"), a = W("iframe"), D(a.src, n = /*iframeUrl*/
|
|
73
|
+
r[2]) || d(a, "src", n), d(a, "title", "Withdrawal Iframe"), d(e, "class", "WithdrawalIframeWrapper");
|
|
74
|
+
},
|
|
75
|
+
m(l, o) {
|
|
76
|
+
P(l, e, o), h(e, a);
|
|
77
|
+
},
|
|
78
|
+
p(l, o) {
|
|
79
|
+
o & /*iframeUrl*/
|
|
80
|
+
4 && !D(a.src, n = /*iframeUrl*/
|
|
81
|
+
l[2]) && d(a, "src", n);
|
|
82
|
+
},
|
|
83
|
+
d(l) {
|
|
84
|
+
l && T(e);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function oe(r) {
|
|
89
|
+
let e, a = (
|
|
90
|
+
/*$_*/
|
|
91
|
+
r[3]("loading") + ""
|
|
92
|
+
), n;
|
|
93
|
+
return {
|
|
94
|
+
c() {
|
|
95
|
+
e = W("p"), n = x(a);
|
|
96
|
+
},
|
|
97
|
+
m(l, o) {
|
|
98
|
+
P(l, e, o), h(e, n);
|
|
99
|
+
},
|
|
100
|
+
p(l, o) {
|
|
101
|
+
o & /*$_*/
|
|
102
|
+
8 && a !== (a = /*$_*/
|
|
103
|
+
l[3]("loading") + "") && R(n, a);
|
|
104
|
+
},
|
|
105
|
+
d(l) {
|
|
106
|
+
l && T(e);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
function ce(r) {
|
|
111
|
+
let e, a, n, l = (
|
|
112
|
+
/*$_*/
|
|
113
|
+
r[3]("titlePlayerWithdrawal") + ""
|
|
114
|
+
), o, m, c = (
|
|
115
|
+
/*isMobile*/
|
|
116
|
+
r[4] && ne(r)
|
|
117
|
+
);
|
|
118
|
+
function f(i, u) {
|
|
119
|
+
return (
|
|
120
|
+
/*isLoading*/
|
|
121
|
+
i[1] ? oe : se
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
let g = f(r), s = g(r);
|
|
125
|
+
return {
|
|
126
|
+
c() {
|
|
127
|
+
e = W("div"), c && c.c(), a = S(), n = W("h2"), o = x(l), m = S(), s.c(), d(n, "class", "WithdrawalTitle " + /*isMobile*/
|
|
128
|
+
(r[4] ? "WithdrawalTitleNone" : "")), d(e, "class", "WithdrawalWrapper " + /*isMobile*/
|
|
129
|
+
(r[4] ? "WithdrawalWrapperMobile" : ""));
|
|
130
|
+
},
|
|
131
|
+
m(i, u) {
|
|
132
|
+
P(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);
|
|
133
|
+
},
|
|
134
|
+
p(i, [u]) {
|
|
135
|
+
/*isMobile*/
|
|
136
|
+
i[4] && c.p(i, u), u & /*$_*/
|
|
137
|
+
8 && l !== (l = /*$_*/
|
|
138
|
+
i[3]("titlePlayerWithdrawal") + "") && R(o, l), g === (g = f(i)) && s ? s.p(i, u) : (s.d(1), s = g(i), s && (s.c(), s.m(e, null)));
|
|
139
|
+
},
|
|
140
|
+
i: U,
|
|
141
|
+
o: U,
|
|
142
|
+
d(i) {
|
|
143
|
+
i && T(e), c && c.d(), s.d(), r[16](null);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function de(r, e, a) {
|
|
148
|
+
let n;
|
|
149
|
+
Y(r, re, (t) => a(3, n = t));
|
|
150
|
+
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, v = $(M) !== "PC", _ = !0, C = 0, L = "";
|
|
151
|
+
const z = () => {
|
|
152
|
+
fetch(i).then((p) => p.json()).then((p) => {
|
|
153
|
+
Object.keys(p).forEach((w) => {
|
|
154
|
+
I(w, p[w]);
|
|
155
|
+
});
|
|
156
|
+
}).catch((p) => {
|
|
157
|
+
console.log(p);
|
|
158
|
+
});
|
|
159
|
+
};
|
|
160
|
+
Object.keys(j).forEach((t) => {
|
|
161
|
+
I(t, j[t]);
|
|
162
|
+
});
|
|
163
|
+
const E = () => {
|
|
164
|
+
window.postMessage(
|
|
165
|
+
{
|
|
166
|
+
type: "PlayerAccountMenuActive",
|
|
167
|
+
isMobile: v
|
|
168
|
+
},
|
|
169
|
+
window.location.href
|
|
170
|
+
);
|
|
171
|
+
}, B = (t) => {
|
|
172
|
+
if (t.data) {
|
|
173
|
+
switch (t.data.type) {
|
|
174
|
+
case "ProfileDetailsData":
|
|
175
|
+
a(6, u = t.data.profileDetails.currency);
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
switch (t.data.redirect) {
|
|
179
|
+
case "mm-hc-casino":
|
|
180
|
+
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
181
|
+
break;
|
|
182
|
+
case "mm-hc-sports":
|
|
183
|
+
window.postMessage({ type: "GoToSports" }, window.location.href);
|
|
184
|
+
break;
|
|
185
|
+
case "mm-hc-contact":
|
|
186
|
+
window.postMessage({ type: "GoToCustomerSupport" }, window.location.href);
|
|
187
|
+
break;
|
|
188
|
+
case "mm-hc-back-to-merchant":
|
|
189
|
+
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
190
|
+
break;
|
|
191
|
+
case "mm-wm-hc-init-deposit":
|
|
192
|
+
window.postMessage(
|
|
193
|
+
{
|
|
194
|
+
type: "RedirectWithdrawDepositCloseModal"
|
|
195
|
+
},
|
|
196
|
+
window.location.href
|
|
197
|
+
);
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}, A = () => {
|
|
202
|
+
let t = new URL(`${l}/v1/player/${m}/hostedcashier/initializewithdraw`);
|
|
203
|
+
if (t.searchParams.append("language", c), f)
|
|
204
|
+
switch (u) {
|
|
205
|
+
case "USD":
|
|
206
|
+
C = 0.4;
|
|
207
|
+
break;
|
|
208
|
+
case "CDF":
|
|
209
|
+
C = 1e3;
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
let p = {
|
|
213
|
+
method: "POST",
|
|
214
|
+
headers: {
|
|
215
|
+
"X-SessionId": o,
|
|
216
|
+
currency: u || "EUR",
|
|
217
|
+
amount: C,
|
|
218
|
+
cashierMode: "Default",
|
|
219
|
+
IsShortCashier: !1,
|
|
220
|
+
accept: "application/json"
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
fetch(t.href, p).then((w) => w.json()).then(
|
|
224
|
+
(w) => {
|
|
225
|
+
a(1, _ = !1), a(2, L = w.CashierUrl);
|
|
226
|
+
},
|
|
227
|
+
(w) => {
|
|
228
|
+
console.error(w);
|
|
229
|
+
}
|
|
230
|
+
);
|
|
231
|
+
}, H = () => {
|
|
232
|
+
le(c);
|
|
233
|
+
}, F = () => {
|
|
234
|
+
let t = document.createElement("style");
|
|
235
|
+
t.innerHTML = g, y.appendChild(t);
|
|
236
|
+
}, N = () => {
|
|
237
|
+
let t = new URL(s), p = document.createElement("style");
|
|
238
|
+
fetch(t.href).then((w) => w.text()).then((w) => {
|
|
239
|
+
p.innerHTML = w, setTimeout(
|
|
240
|
+
() => {
|
|
241
|
+
y.appendChild(p);
|
|
242
|
+
},
|
|
243
|
+
1
|
|
244
|
+
);
|
|
245
|
+
});
|
|
246
|
+
};
|
|
247
|
+
ee(() => (window.addEventListener("message", B, !1), () => {
|
|
248
|
+
window.removeEventListener("message", B);
|
|
249
|
+
}));
|
|
250
|
+
const G = () => E();
|
|
251
|
+
function O(t) {
|
|
252
|
+
ae[t ? "unshift" : "push"](() => {
|
|
253
|
+
y = t, a(0, y);
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
return r.$$set = (t) => {
|
|
257
|
+
"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);
|
|
258
|
+
}, r.$$.update = () => {
|
|
259
|
+
r.$$.dirty & /*lang*/
|
|
260
|
+
1024 && c && H(), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
261
|
+
8193 && s && y && N(), r.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
262
|
+
4097 && g && y && F(), r.$$.dirty & /*translationurl*/
|
|
263
|
+
16384 && i && z(), r.$$.dirty & /*session, playerid, endpoint, playercurrency, lang*/
|
|
264
|
+
1984 && o && m && l && u && c && A();
|
|
265
|
+
}, [
|
|
266
|
+
y,
|
|
267
|
+
_,
|
|
268
|
+
L,
|
|
269
|
+
n,
|
|
270
|
+
v,
|
|
271
|
+
E,
|
|
272
|
+
u,
|
|
273
|
+
l,
|
|
274
|
+
o,
|
|
275
|
+
m,
|
|
276
|
+
c,
|
|
277
|
+
f,
|
|
278
|
+
g,
|
|
279
|
+
s,
|
|
280
|
+
i,
|
|
281
|
+
G,
|
|
282
|
+
O
|
|
283
|
+
];
|
|
284
|
+
}
|
|
285
|
+
class ue extends V {
|
|
286
|
+
constructor(e) {
|
|
287
|
+
super(), Z(
|
|
288
|
+
this,
|
|
289
|
+
e,
|
|
290
|
+
de,
|
|
291
|
+
ce,
|
|
292
|
+
K,
|
|
293
|
+
{
|
|
294
|
+
endpoint: 7,
|
|
295
|
+
session: 8,
|
|
296
|
+
playerid: 9,
|
|
297
|
+
lang: 10,
|
|
298
|
+
hasdefaultamount: 11,
|
|
299
|
+
clientstyling: 12,
|
|
300
|
+
clientstylingurl: 13,
|
|
301
|
+
translationurl: 14,
|
|
302
|
+
playercurrency: 6
|
|
303
|
+
},
|
|
304
|
+
ie
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
get endpoint() {
|
|
308
|
+
return this.$$.ctx[7];
|
|
309
|
+
}
|
|
310
|
+
set endpoint(e) {
|
|
311
|
+
this.$$set({ endpoint: e }), b();
|
|
312
|
+
}
|
|
313
|
+
get session() {
|
|
314
|
+
return this.$$.ctx[8];
|
|
315
|
+
}
|
|
316
|
+
set session(e) {
|
|
317
|
+
this.$$set({ session: e }), b();
|
|
318
|
+
}
|
|
319
|
+
get playerid() {
|
|
320
|
+
return this.$$.ctx[9];
|
|
321
|
+
}
|
|
322
|
+
set playerid(e) {
|
|
323
|
+
this.$$set({ playerid: e }), b();
|
|
324
|
+
}
|
|
325
|
+
get lang() {
|
|
326
|
+
return this.$$.ctx[10];
|
|
327
|
+
}
|
|
328
|
+
set lang(e) {
|
|
329
|
+
this.$$set({ lang: e }), b();
|
|
330
|
+
}
|
|
331
|
+
get hasdefaultamount() {
|
|
332
|
+
return this.$$.ctx[11];
|
|
333
|
+
}
|
|
334
|
+
set hasdefaultamount(e) {
|
|
335
|
+
this.$$set({ hasdefaultamount: e }), b();
|
|
336
|
+
}
|
|
337
|
+
get clientstyling() {
|
|
338
|
+
return this.$$.ctx[12];
|
|
339
|
+
}
|
|
340
|
+
set clientstyling(e) {
|
|
341
|
+
this.$$set({ clientstyling: e }), b();
|
|
342
|
+
}
|
|
343
|
+
get clientstylingurl() {
|
|
344
|
+
return this.$$.ctx[13];
|
|
345
|
+
}
|
|
346
|
+
set clientstylingurl(e) {
|
|
347
|
+
this.$$set({ clientstylingurl: e }), b();
|
|
348
|
+
}
|
|
349
|
+
get translationurl() {
|
|
350
|
+
return this.$$.ctx[14];
|
|
351
|
+
}
|
|
352
|
+
set translationurl(e) {
|
|
353
|
+
this.$$set({ translationurl: e }), b();
|
|
354
|
+
}
|
|
355
|
+
get playercurrency() {
|
|
356
|
+
return this.$$.ctx[6];
|
|
357
|
+
}
|
|
358
|
+
set playercurrency(e) {
|
|
359
|
+
this.$$set({ playercurrency: e }), b();
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
J(ue, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
|
|
363
|
+
export {
|
|
364
|
+
ue as default
|
|
365
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-bc8vhI_H.cjs");function x(l,t){e.addMessages(l,t)}function j(l){e.$locale.set(l)}const P={en:{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."},"zh-hk":{titlePlayerWithdrawal:"退出",loading:"加載請稍候…"},fr:{titlePlayerWithdrawal:"Retrait",loading:"Chargement, veuillez patienter ..."},ro:{titlePlayerWithdrawal:"Retragere",loading:"Se încarcă..."},es:{titlePlayerWithdrawal:"Retirar",loading:"Cargando..."},pt:{titlePlayerWithdrawal:"Retirada",loading:"Carregando, por favor espere ..."},hr:{titlePlayerWithdrawal:"Isplata",loading:"Učitavanje"}};function D(l){e.append_styles(l,"svelte-1hcnj8g","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)}")}function I(l){let t,r,s,n,c,h,d,p,m,o,i=l[3]("titlePlayerWithdrawal")+"",u,g,v;return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("defs"),n=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),m=e.space(),o=e.element("h2"),u=e.text(i),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(h,"transform","translate(-20 -158)"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(r,"width","15"),e.attr(r,"height","15"),e.attr(r,"viewBox","0 0 15 15"),e.attr(o,"class","WithdrawalTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(y,_){e.insert(y,t,_),e.append(t,r),e.append(r,s),e.append(s,n),e.append(n,c),e.append(r,h),e.append(h,d),e.append(d,p),e.append(t,m),e.append(t,o),e.append(o,u),g||(v=e.listen(t,"click",l[15]),g=!0)},p(y,_){_&8&&i!==(i=y[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(y){y&&e.detach(t),g=!1,v()}}}function z(l){let t,r,s;return{c(){t=e.element("div"),r=e.element("iframe"),e.src_url_equal(r.src,s=l[2])||e.attr(r,"src",s),e.attr(r,"title","Withdrawal Iframe"),e.attr(t,"class","WithdrawalIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,r)},p(n,c){c&4&&!e.src_url_equal(r.src,s=n[2])&&e.attr(r,"src",s)},d(n){n&&e.detach(t)}}}function A(l){let t,r=l[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(r)},m(n,c){e.insert(n,t,c),e.append(t,s)},p(n,c){c&8&&r!==(r=n[3]("loading")+"")&&e.set_data(s,r)},d(n){n&&e.detach(t)}}}function H(l){let t,r,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&I(l);function p(i,u){return i[1]?A:z}let m=p(l),o=m(l);return{c(){t=e.element("div"),d&&d.c(),r=e.space(),s=e.element("h2"),c=e.text(n),h=e.space(),o.c(),e.attr(s,"class","WithdrawalTitle "+(l[4]?"WithdrawalTitleNone":"")),e.attr(t,"class","WithdrawalWrapper "+(l[4]?"WithdrawalWrapperMobile":""))},m(i,u){e.insert(i,t,u),d&&d.m(t,null),e.append(t,r),e.append(t,s),e.append(s,c),e.append(t,h),o.m(t,null),l[16](t)},p(i,[u]){i[4]&&d.p(i,u),u&8&&n!==(n=i[3]("titlePlayerWithdrawal")+"")&&e.set_data(c,n),m===(m=p(i))&&o?o.p(i,u):(o.d(1),o=m(i),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(i){i&&e.detach(t),d&&d.d(),o.d(),l[16](null)}}}function F(l,t,r){let s;e.component_subscribe(l,e.$format,a=>r(3,s=a));let{endpoint:n=""}=t,{session:c=""}=t,{playerid:h=""}=t,{lang:d="en"}=t,{hasdefaultamount:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:o=""}=t,{translationurl:i=""}=t,{playercurrency:u=""}=t,g,v=window.navigator.userAgent,y=e.getDevice(v)!=="PC",_=!0,b=0,W="";const C=()=>{fetch(i).then(w=>w.json()).then(w=>{Object.keys(w).forEach(f=>{x(f,w[f])})}).catch(w=>{console.log(w)})};Object.keys(P).forEach(a=>{x(a,P[a])});const M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},k=a=>{if(a.data){switch(a.data.type){case"ProfileDetailsData":r(6,u=a.data.profileDetails.currency);break}switch(a.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break}}},S=()=>{let a=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(a.searchParams.append("language",d),p)switch(u){case"USD":b=.4;break;case"CDF":b=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:u||"EUR",amount:b,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(a.href,w).then(f=>f.json()).then(f=>{r(1,_=!1),r(2,W=f.CashierUrl)},f=>{console.error(f)})},L=()=>{j(d)},R=()=>{let a=document.createElement("style");a.innerHTML=m,g.appendChild(a)},E=()=>{let a=new URL(o),w=document.createElement("style");fetch(a.href).then(f=>f.text()).then(f=>{w.innerHTML=f,setTimeout(()=>{g.appendChild(w)},1)})};e.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const B=()=>M();function U(a){e.binding_callbacks[a?"unshift":"push"](()=>{g=a,r(0,g)})}return l.$$set=a=>{"endpoint"in a&&r(7,n=a.endpoint),"session"in a&&r(8,c=a.session),"playerid"in a&&r(9,h=a.playerid),"lang"in a&&r(10,d=a.lang),"hasdefaultamount"in a&&r(11,p=a.hasdefaultamount),"clientstyling"in a&&r(12,m=a.clientstyling),"clientstylingurl"in a&&r(13,o=a.clientstylingurl),"translationurl"in a&&r(14,i=a.translationurl),"playercurrency"in a&&r(6,u=a.playercurrency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&L(),l.$$.dirty&8193&&o&&g&&E(),l.$$.dirty&4097&&m&&g&&R(),l.$$.dirty&16384&&i&&C(),l.$$.dirty&1984&&c&&h&&n&&u&&d&&S()},[g,_,W,s,y,M,u,n,c,h,d,p,m,o,i,B,U]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,H,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,translationurl:14,playercurrency:6},D)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[8]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[9]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get playercurrency(){return this.$$.ctx[6]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}}e.create_custom_element(T,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},playercurrency:{}},[],[],!0);exports.default=T;
|
|
@@ -1 +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/PlayerAccountControllerNd-
|
|
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/PlayerAccountControllerNd-B2whVamd.cjs")).then(({default:t})=>{!customElements.get("player-account-controller-nd")&&customElements.define("player-account-controller-nd",t.element)})}
|