@everymatrix/player-account-controller 1.50.1 → 1.51.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/{GeneralLogout-BBoBE1Lx.cjs → GeneralLogout-BW6b3iuS.cjs} +1 -1
- package/components/{GeneralLogout-DJd6W-jT.js → GeneralLogout-DMvKimEo.js} +3 -0
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-Dok1ua2N.js → PlayerAccountBettingHistory-YNLbWHxl.js} +28 -23
- package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +1 -0
- package/components/{PlayerAccountBiometrics-jc45EBJe.js → PlayerAccountBiometrics-CXLK5_xT.js} +43 -36
- package/components/{PlayerAccountClosure-BWlW6NXe.js → PlayerAccountClosure-BkKcpa4J.js} +55 -47
- package/components/PlayerAccountClosure-DfJc6Ip_.cjs +1 -0
- package/components/{PlayerAccountController-CoXvSbbl.js → PlayerAccountController-DN9_dE-L.js} +61 -51
- package/components/PlayerAccountController-DkR5hfDe.cjs +1 -0
- package/components/PlayerAccountGamingLimits-96NZsRcC.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-D0orq8W7.js → PlayerAccountGamingLimits-CncKhl1f.js} +33 -25
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DOXtkhFY.js → PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js} +5 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DKM3If51.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-BgpIOnsM.js → PlayerAccountGamingLimitsGroupEdit-xwjN2SUl.js} +253 -231
- package/components/PlayerAccountGamingLimitsHistory2-BwSZ4liw.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-Dg_3TWDc.js → PlayerAccountGamingLimitsHistory2-DGuhp8SZ.js} +74 -54
- package/components/PlayerAccountGamingLimitsInfoCard-ZuPsBZ-7.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DiVtmzLb.js → PlayerAccountGamingLimitsInfoCard-mx0b5AlT.js} +87 -62
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BejFjGCU.js → PlayerAccountGamingLimitsPage2Gm16-B67NLFY_.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DegZSaNr.cjs → PlayerAccountGamingLimitsPage2Gm16-lT9sWjHb.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DWkmHcWc.js → PlayerAccountGamingLimitsPopup-Bt4YlCWi.js} +32 -27
- package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-IJW0DW26.js → PlayerAccountGamingLimitsWrapper2-CGzfgsbf.js} +6 -3
- package/components/PlayerAccountGamingLimitsWrapper2-CpEUItxc.cjs +1 -0
- package/components/{PlayerAccountMenu-CmSW4Stb.js → PlayerAccountMenu-5esyJ_VN.js} +5 -2
- package/components/PlayerAccountMenu-C704oUrC.cjs +1 -0
- package/components/{PlayerAccountModal-CUdeZ6ZD.cjs → PlayerAccountModal-C52SG5dV.cjs} +1 -1
- package/components/{PlayerAccountModal-9gulcpFn.js → PlayerAccountModal-xliz3ECZ.js} +1 -1
- package/components/{PlayerAccountNotifications-r_nD_SnF.js → PlayerAccountNotifications-B02Ownhe.js} +1 -1
- package/components/{PlayerAccountNotifications-B5y5G3E_.cjs → PlayerAccountNotifications-DkgHtUGj.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-BrQRXxUR.cjs → PlayerAccountSelfExclusion-CkKkedxp.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-_cYII1on.js → PlayerAccountSelfExclusion-Dj4pFUEZ.js} +1 -1
- package/components/PlayerAccountTimeout-BtDp3SZn.cjs +1 -0
- package/components/{PlayerAccountTimeout-Cs_68FK0.js → PlayerAccountTimeout-CAzKEs5R.js} +77 -67
- package/components/{PlayerActiveBonuses-DOOKCxQp.cjs → PlayerActiveBonuses-B53gZwaj.cjs} +1 -1
- package/components/{PlayerActiveBonuses-D513ru66.js → PlayerActiveBonuses-ChTcxPXy.js} +101 -89
- package/components/{PlayerBonusCard-_Oaycov5.js → PlayerBonusCard-CT1IXXnh.js} +60 -46
- package/components/PlayerBonusCard-Crm5CyLi.cjs +1 -0
- package/components/{PlayerBonusHistory-CwIKvt3Y.js → PlayerBonusHistory-C437SNdz.js} +145 -138
- package/components/PlayerBonusHistory-CHYWDgxe.cjs +1 -0
- package/components/{PlayerChangePassword-C-8QN3hH.cjs → PlayerChangePassword-BmuIKvz7.cjs} +2 -2
- package/components/{PlayerChangePassword-hFf7xt_1.js → PlayerChangePassword-CKHGZCu8.js} +86 -70
- package/components/{PlayerDeposit-D9bCHq7N.js → PlayerDeposit-B8pGzPJ5.js} +1 -1
- package/components/{PlayerDeposit-BLymLH97.cjs → PlayerDeposit-B_VzcGon.cjs} +1 -1
- package/components/{PlayerGamingHistory-CkMB0clE.js → PlayerGamingHistory-BXYkdEzG.js} +99 -84
- package/components/PlayerGamingHistory-Cbpm0HSE.cjs +1 -0
- package/components/PlayerPendingWithdrawals-JN84Pftx.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BTPeOPBb.js → PlayerPendingWithdrawals-Z0kF_zqo.js} +19 -15
- package/components/{PlayerProfileInfo-8LQ0QT94.cjs → PlayerProfileInfo-Bi_j5FDm.cjs} +1 -1
- package/components/{PlayerProfileInfo-D5uooVx1.js → PlayerProfileInfo-CBXeUfyO.js} +1 -1
- package/components/{PlayerRealityCheck-6gXKQK_Z.js → PlayerRealityCheck-A_mZq3YZ.js} +44 -33
- package/components/PlayerRealityCheck-C26ZBWae.cjs +1 -0
- package/components/PlayerTransactionHistory-CFR4nRHc.cjs +1 -0
- package/components/{PlayerTransactionHistory-DES2KQ6g.js → PlayerTransactionHistory-fcNe08kf.js} +11 -7
- package/components/{PlayerWithdrawal-6XSetxz1.js → PlayerWithdrawal-_dZtzUGe.js} +22 -18
- package/components/PlayerWithdrawal-dZ0Dfd2u.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBettingHistory-BhFyAw7S.cjs +0 -1
- package/components/PlayerAccountBiometrics-U1ab8cUd.cjs +0 -1
- package/components/PlayerAccountClosure-D_4hIhg0.cjs +0 -1
- package/components/PlayerAccountController-J02GKY2h.cjs +0 -1
- package/components/PlayerAccountGamingLimits-ImaSq8Bu.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2-BnREqLe2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-C47JGdE1.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-j5Wlpz38.cjs +0 -1
- package/components/PlayerAccountMenu-C6fxzyFi.cjs +0 -1
- package/components/PlayerAccountTimeout-CNtkqjo7.cjs +0 -1
- package/components/PlayerBonusCard-Bt-n3Mxi.cjs +0 -1
- package/components/PlayerBonusHistory-CAlPJQEf.cjs +0 -1
- package/components/PlayerGamingHistory-BVez9eZG.cjs +0 -1
- package/components/PlayerPendingWithdrawals-CUpLO6X3.cjs +0 -1
- package/components/PlayerRealityCheck-B--KgOX7.cjs +0 -1
- package/components/PlayerTransactionHistory-KkAMcV0S.cjs +0 -1
- package/components/PlayerWithdrawal-Bt2B8luj.cjs +0 -1
package/components/{PlayerAccountBiometrics-jc45EBJe.js → PlayerAccountBiometrics-CXLK5_xT.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as O, $ as N, S as W, i as H, f as j, c as q, s as I, b as K, e as B, d as C, t as x, g as a, k as S, l as o, m as F, n as U, o as
|
|
2
|
-
function
|
|
1
|
+
import { a as O, $ as N, S as W, i as H, f as j, c as q, s as I, b as K, e as B, d as C, t as x, g as a, k as S, l as o, m as F, n as U, o as Y, p as R, q as V, u as Z, w as k, x as G, y as J } from "./GeneralLogout-DMvKimEo.js";
|
|
2
|
+
function z(e, t) {
|
|
3
3
|
O(e, t);
|
|
4
4
|
}
|
|
5
5
|
function Q(e) {
|
|
@@ -75,22 +75,29 @@ const L = {
|
|
|
75
75
|
descriptionParagraph2: "You can turn this feature on and off at any time",
|
|
76
76
|
btnEnableBiometrics: "Enable biometrics",
|
|
77
77
|
btnDisableBiometrics: "Disable biometrics"
|
|
78
|
+
},
|
|
79
|
+
"en-us": {
|
|
80
|
+
titleBiometrics: "Biometrics Authentication",
|
|
81
|
+
descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
|
|
82
|
+
descriptionParagraph2: "You can turn this feature on and off at any time",
|
|
83
|
+
btnEnableBiometrics: "Enable biometrics",
|
|
84
|
+
btnDisableBiometrics: "Disable biometrics"
|
|
78
85
|
}
|
|
79
86
|
};
|
|
80
87
|
function X(e) {
|
|
81
88
|
K(e, "svelte-1cpvxby", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
|
|
82
89
|
}
|
|
83
90
|
function $(e) {
|
|
84
|
-
let t, i, y, s, u, m,
|
|
91
|
+
let t, i, y, s, u, m, b, n, c, p, d = (
|
|
85
92
|
/*$_*/
|
|
86
93
|
e[2]("titleBiometrics") + ""
|
|
87
94
|
), P, w, v;
|
|
88
95
|
return {
|
|
89
96
|
c() {
|
|
90
|
-
t = B("div"), i = k("svg"), y = k("defs"), s = k("style"), u = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), m = k("g"),
|
|
97
|
+
t = B("div"), i = k("svg"), y = k("defs"), s = k("style"), u = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), m = k("g"), b = k("g"), n = k("path"), c = C(), p = B("h2"), P = x(d), a(n, "class", "aaa"), a(n, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), a(n, "transform", "translate(15 15) rotate(180)"), a(b, "transform", "translate(20 158)"), a(m, "transform", "translate(-20 -158)"), a(i, "xmlns", "http://www.w3.org/2000/svg"), a(i, "width", "15"), a(i, "height", "15"), a(i, "viewBox", "0 0 15 15"), a(p, "class", "BiometricsTitleMobile"), a(p, "part", "BiometricsTitleMobile"), a(t, "class", "MenuReturnButton"), a(t, "part", "MenuReturnButton");
|
|
91
98
|
},
|
|
92
99
|
m(h, D) {
|
|
93
|
-
S(h, t, D), o(t, i), o(i, y), o(y, s), o(s, u), o(i, m), o(m,
|
|
100
|
+
S(h, t, D), o(t, i), o(i, y), o(y, s), o(s, u), o(i, m), o(m, b), o(b, n), o(t, c), o(t, p), o(p, P), w || (v = F(
|
|
94
101
|
t,
|
|
95
102
|
"click",
|
|
96
103
|
/*click_handler*/
|
|
@@ -111,7 +118,7 @@ function tt(e) {
|
|
|
111
118
|
let t, i, y, s, u = (
|
|
112
119
|
/*$_*/
|
|
113
120
|
e[2]("titleBiometrics") + ""
|
|
114
|
-
), m,
|
|
121
|
+
), m, b, n, c, p = (
|
|
115
122
|
/*$_*/
|
|
116
123
|
e[2]("descriptionParagraph1") + ""
|
|
117
124
|
), d, P, w, v = (
|
|
@@ -126,76 +133,76 @@ function tt(e) {
|
|
|
126
133
|
/*$_*/
|
|
127
134
|
e[2]("btnEnableBiometrics")
|
|
128
135
|
)) + ""
|
|
129
|
-
), T, r,
|
|
136
|
+
), T, r, f, l = (
|
|
130
137
|
/*isMobile*/
|
|
131
138
|
e[3] && $(e)
|
|
132
139
|
);
|
|
133
140
|
return {
|
|
134
141
|
c() {
|
|
135
|
-
t = B("div"), i = B("div"), l && l.c(), y = C(), s = B("h2"), m = x(u),
|
|
142
|
+
t = B("div"), i = B("div"), l && l.c(), y = C(), s = B("h2"), m = x(u), b = C(), n = B("div"), c = B("p"), d = x(p), P = C(), w = B("p"), h = x(v), D = C(), A = B("div"), E = B("button"), T = x(M), a(s, "class", "BiometricsTitle " + /*isMobile*/
|
|
136
143
|
(e[3] ? "BiometricsTitleNone" : "")), a(n, "class", "BiometricsDescription " + /*isMobile*/
|
|
137
144
|
(e[3] ? "BiometricsDescriptionMobile" : "")), a(E, "class", "BiometricsToggle"), a(A, "class", "BiometricsActionButtons " + /*isMobile*/
|
|
138
145
|
(e[3] ? "BiometricsActionButtonsMobile" : "")), a(i, "class", "BiometricsWrapper " + /*isMobile*/
|
|
139
146
|
(e[3] ? "BiometricsWrapperMobile" : ""));
|
|
140
147
|
},
|
|
141
|
-
m(
|
|
142
|
-
S(
|
|
148
|
+
m(g, _) {
|
|
149
|
+
S(g, t, _), o(t, i), l && l.m(i, null), o(i, y), o(i, s), o(s, m), o(i, b), o(i, n), o(n, c), o(c, d), o(n, P), o(n, w), o(w, h), o(i, D), o(i, A), o(A, E), o(E, T), e[12](t), r || (f = F(
|
|
143
150
|
E,
|
|
144
151
|
"click",
|
|
145
152
|
/*click_handler_1*/
|
|
146
153
|
e[11]
|
|
147
154
|
), r = !0);
|
|
148
155
|
},
|
|
149
|
-
p(
|
|
156
|
+
p(g, [_]) {
|
|
150
157
|
/*isMobile*/
|
|
151
|
-
|
|
158
|
+
g[3] && l.p(g, _), _ & /*$_*/
|
|
152
159
|
4 && u !== (u = /*$_*/
|
|
153
|
-
|
|
154
|
-
4 &&
|
|
155
|
-
|
|
160
|
+
g[2]("titleBiometrics") + "") && U(m, u), _ & /*$_*/
|
|
161
|
+
4 && p !== (p = /*$_*/
|
|
162
|
+
g[2]("descriptionParagraph1") + "") && U(d, p), _ & /*$_*/
|
|
156
163
|
4 && v !== (v = /*$_*/
|
|
157
|
-
|
|
164
|
+
g[2]("descriptionParagraph2") + "") && U(h, v), _ & /*biometricsenabled, $_*/
|
|
158
165
|
5 && M !== (M = /*biometricsenabled*/
|
|
159
|
-
(
|
|
166
|
+
(g[0] === "true" ? (
|
|
160
167
|
/*$_*/
|
|
161
|
-
|
|
168
|
+
g[2]("btnDisableBiometrics")
|
|
162
169
|
) : (
|
|
163
170
|
/*$_*/
|
|
164
|
-
|
|
171
|
+
g[2]("btnEnableBiometrics")
|
|
165
172
|
)) + "") && U(T, M);
|
|
166
173
|
},
|
|
167
|
-
i:
|
|
168
|
-
o:
|
|
169
|
-
d(
|
|
170
|
-
|
|
174
|
+
i: Y,
|
|
175
|
+
o: Y,
|
|
176
|
+
d(g) {
|
|
177
|
+
g && R(t), l && l.d(), e[12](null), r = !1, f();
|
|
171
178
|
}
|
|
172
179
|
};
|
|
173
180
|
}
|
|
174
181
|
function et(e, t, i) {
|
|
175
182
|
let y;
|
|
176
183
|
V(e, J, (r) => i(2, y = r));
|
|
177
|
-
let { biometricsenabled: s = "false" } = t, { lang: u = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl:
|
|
184
|
+
let { biometricsenabled: s = "false" } = t, { lang: u = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: n = "" } = t, c, p = window.navigator.userAgent, d = Z(p) !== "PC";
|
|
178
185
|
const P = () => {
|
|
179
|
-
fetch(n).then((
|
|
180
|
-
Object.keys(
|
|
181
|
-
|
|
186
|
+
fetch(n).then((f) => f.json()).then((f) => {
|
|
187
|
+
Object.keys(f).forEach((l) => {
|
|
188
|
+
z(l, f[l]);
|
|
182
189
|
});
|
|
183
|
-
}).catch((
|
|
184
|
-
console.log(
|
|
190
|
+
}).catch((f) => {
|
|
191
|
+
console.log(f);
|
|
185
192
|
});
|
|
186
193
|
};
|
|
187
194
|
Object.keys(L).forEach((r) => {
|
|
188
|
-
|
|
195
|
+
z(r, L[r]);
|
|
189
196
|
});
|
|
190
197
|
const w = () => {
|
|
191
198
|
let r = document.createElement("style");
|
|
192
199
|
r.innerHTML = m, c.appendChild(r);
|
|
193
200
|
}, v = () => {
|
|
194
|
-
let r = new URL(
|
|
201
|
+
let r = new URL(b), f = document.createElement("style");
|
|
195
202
|
fetch(r.href).then((l) => l.text()).then((l) => {
|
|
196
|
-
|
|
203
|
+
f.innerHTML = l, setTimeout(
|
|
197
204
|
() => {
|
|
198
|
-
c.appendChild(
|
|
205
|
+
c.appendChild(f);
|
|
199
206
|
},
|
|
200
207
|
1
|
|
201
208
|
);
|
|
@@ -222,11 +229,11 @@ function et(e, t, i) {
|
|
|
222
229
|
});
|
|
223
230
|
}
|
|
224
231
|
return e.$$set = (r) => {
|
|
225
|
-
"biometricsenabled" in r && i(0, s = r.biometricsenabled), "lang" in r && i(6, u = r.lang), "clientstyling" in r && i(7, m = r.clientstyling), "clientstylingurl" in r && i(8,
|
|
232
|
+
"biometricsenabled" in r && i(0, s = r.biometricsenabled), "lang" in r && i(6, u = r.lang), "clientstyling" in r && i(7, m = r.clientstyling), "clientstylingurl" in r && i(8, b = r.clientstylingurl), "translationurl" in r && i(9, n = r.translationurl);
|
|
226
233
|
}, e.$$.update = () => {
|
|
227
234
|
e.$$.dirty & /*lang*/
|
|
228
235
|
64 && u && h(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
229
|
-
258 &&
|
|
236
|
+
258 && b && c && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
230
237
|
130 && m && c && w(), e.$$.dirty & /*translationurl*/
|
|
231
238
|
512 && n && P();
|
|
232
239
|
}, [
|
|
@@ -238,7 +245,7 @@ function et(e, t, i) {
|
|
|
238
245
|
A,
|
|
239
246
|
u,
|
|
240
247
|
m,
|
|
241
|
-
|
|
248
|
+
b,
|
|
242
249
|
n,
|
|
243
250
|
E,
|
|
244
251
|
M,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Z, $ as P, S as U, i as
|
|
1
|
+
import { a as Z, $ as P, S as U, i as Y, f as S, c as I, s as J, b as K, e as v, d as E, t as _, g as n, k as N, l as t, m as T, n as F, o as H, p as q, q as V, u as G, w as j, r as Q, x as X, y as $ } from "./GeneralLogout-DMvKimEo.js";
|
|
2
2
|
function L(o, e) {
|
|
3
3
|
Z(o, e);
|
|
4
4
|
}
|
|
@@ -85,56 +85,64 @@ const R = {
|
|
|
85
85
|
modal: "Hesabınızı kapatmak istediğinizden emin misiniz?",
|
|
86
86
|
accountClosureCancel: "HAYIR",
|
|
87
87
|
accountClosureConfirm: "Evet"
|
|
88
|
+
},
|
|
89
|
+
"en-us": {
|
|
90
|
+
titleAccountClosure: "Account Closure",
|
|
91
|
+
accountClosureDescription: "Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",
|
|
92
|
+
closeAccount: "Close Account",
|
|
93
|
+
modal: "Are you sure you want to close your account?",
|
|
94
|
+
accountClosureCancel: "No",
|
|
95
|
+
accountClosureConfirm: "Yes"
|
|
88
96
|
}
|
|
89
97
|
};
|
|
90
98
|
function oe(o) {
|
|
91
99
|
K(o, "svelte-sj9hhm", '.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{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 .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}');
|
|
92
100
|
}
|
|
93
101
|
function te(o) {
|
|
94
|
-
let e, r, C,
|
|
102
|
+
let e, r, C, s, d, p, b, i, h, u, l = (
|
|
95
103
|
/*$_*/
|
|
96
104
|
o[2]("titleAccountClosure") + ""
|
|
97
|
-
), A,
|
|
105
|
+
), A, c, g;
|
|
98
106
|
return {
|
|
99
107
|
c() {
|
|
100
|
-
e = v("div"), r = j("svg"), C = j("defs"),
|
|
108
|
+
e = v("div"), r = j("svg"), C = j("defs"), s = j("style"), d = _(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), p = j("g"), b = j("g"), i = j("path"), h = E(), u = v("h2"), A = _(l), n(i, "class", "aaa"), n(i, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), n(i, "transform", "translate(15 15) rotate(180)"), n(b, "transform", "translate(20 158)"), n(p, "transform", "translate(-20 -158)"), n(r, "xmlns", "http://www.w3.org/2000/svg"), n(r, "width", "15"), n(r, "height", "15"), n(r, "viewBox", "0 0 15 15"), n(u, "class", "AccountClosureTitleMobile"), n(u, "part", "AccountClosureTitleMobile"), n(e, "class", "MenuReturnButton"), n(e, "part", "MenuReturnButton");
|
|
101
109
|
},
|
|
102
|
-
m(m,
|
|
103
|
-
N(m, e,
|
|
110
|
+
m(m, y) {
|
|
111
|
+
N(m, e, y), t(e, r), t(r, C), t(C, s), t(s, d), t(r, p), t(p, b), t(b, i), t(e, h), t(e, u), t(u, A), c || (g = T(
|
|
104
112
|
e,
|
|
105
113
|
"click",
|
|
106
114
|
/*click_handler*/
|
|
107
115
|
o[11]
|
|
108
|
-
),
|
|
116
|
+
), c = !0);
|
|
109
117
|
},
|
|
110
|
-
p(m,
|
|
111
|
-
|
|
118
|
+
p(m, y) {
|
|
119
|
+
y & /*$_*/
|
|
112
120
|
4 && l !== (l = /*$_*/
|
|
113
121
|
m[2]("titleAccountClosure") + "") && F(A, l);
|
|
114
122
|
},
|
|
115
123
|
d(m) {
|
|
116
|
-
m && q(e),
|
|
124
|
+
m && q(e), c = !1, g();
|
|
117
125
|
}
|
|
118
126
|
};
|
|
119
127
|
}
|
|
120
128
|
function O(o) {
|
|
121
|
-
let e, r, C,
|
|
129
|
+
let e, r, C, s, d = (
|
|
122
130
|
/*$_*/
|
|
123
131
|
o[2]("modal") + ""
|
|
124
132
|
), p, b, i, h, u = (
|
|
125
133
|
/*$_*/
|
|
126
134
|
o[2]("accountClosureCancel") + ""
|
|
127
|
-
), l, A,
|
|
135
|
+
), l, A, c, g = (
|
|
128
136
|
/*$_*/
|
|
129
137
|
o[2]("accountClosureConfirm") + ""
|
|
130
|
-
), m,
|
|
138
|
+
), m, y, W;
|
|
131
139
|
return {
|
|
132
140
|
c() {
|
|
133
|
-
e = v("div"), r = v("div"), C = v("div"),
|
|
141
|
+
e = v("div"), r = v("div"), C = v("div"), s = v("p"), p = _(d), b = E(), i = v("div"), h = v("button"), l = _(u), A = E(), c = v("button"), m = _(g), n(s, "class", "ModalText"), n(h, "class", "ModalCancel"), n(c, "class", "ModalConfirm"), n(i, "class", "ModalButtons"), n(C, "class", "ModalBody"), n(r, "class", "ModalContent"), n(e, "class", "ModalWrapper " + /*isMobile*/
|
|
134
142
|
(o[3] ? "ModalWrapperMobile" : ""));
|
|
135
143
|
},
|
|
136
|
-
m(
|
|
137
|
-
N(
|
|
144
|
+
m(M, x) {
|
|
145
|
+
N(M, e, x), t(e, r), t(r, C), t(C, s), t(s, p), t(C, b), t(C, i), t(i, h), t(h, l), t(i, A), t(i, c), t(c, m), y || (W = [
|
|
138
146
|
T(
|
|
139
147
|
h,
|
|
140
148
|
"click",
|
|
@@ -142,38 +150,38 @@ function O(o) {
|
|
|
142
150
|
o[13]
|
|
143
151
|
),
|
|
144
152
|
T(
|
|
145
|
-
|
|
153
|
+
c,
|
|
146
154
|
"click",
|
|
147
155
|
/*click_handler_3*/
|
|
148
156
|
o[14]
|
|
149
157
|
)
|
|
150
|
-
],
|
|
158
|
+
], y = !0);
|
|
151
159
|
},
|
|
152
|
-
p(
|
|
160
|
+
p(M, x) {
|
|
153
161
|
x & /*$_*/
|
|
154
162
|
4 && d !== (d = /*$_*/
|
|
155
|
-
|
|
163
|
+
M[2]("modal") + "") && F(p, d), x & /*$_*/
|
|
156
164
|
4 && u !== (u = /*$_*/
|
|
157
|
-
|
|
165
|
+
M[2]("accountClosureCancel") + "") && F(l, u), x & /*$_*/
|
|
158
166
|
4 && g !== (g = /*$_*/
|
|
159
|
-
|
|
167
|
+
M[2]("accountClosureConfirm") + "") && F(m, g);
|
|
160
168
|
},
|
|
161
|
-
d(
|
|
162
|
-
|
|
169
|
+
d(M) {
|
|
170
|
+
M && q(e), y = !1, Q(W);
|
|
163
171
|
}
|
|
164
172
|
};
|
|
165
173
|
}
|
|
166
174
|
function re(o) {
|
|
167
|
-
let e, r, C,
|
|
175
|
+
let e, r, C, s, d = (
|
|
168
176
|
/*$_*/
|
|
169
177
|
o[2]("titleAccountClosure") + ""
|
|
170
178
|
), p, b, i, h, u = (
|
|
171
179
|
/*$_*/
|
|
172
180
|
o[2]("accountClosureDescription") + ""
|
|
173
|
-
), l, A,
|
|
181
|
+
), l, A, c, g, m = (
|
|
174
182
|
/*$_*/
|
|
175
183
|
o[2]("closeAccount") + ""
|
|
176
|
-
),
|
|
184
|
+
), y, W, M, x, k = (
|
|
177
185
|
/*isMobile*/
|
|
178
186
|
o[3] && te(o)
|
|
179
187
|
), f = (
|
|
@@ -182,20 +190,20 @@ function re(o) {
|
|
|
182
190
|
);
|
|
183
191
|
return {
|
|
184
192
|
c() {
|
|
185
|
-
e = v("div"), r = v("div"), k && k.c(), C = E(),
|
|
193
|
+
e = v("div"), r = v("div"), k && k.c(), C = E(), s = v("h2"), p = _(d), b = E(), i = v("div"), h = v("p"), l = _(u), A = E(), c = v("div"), g = v("button"), y = _(m), W = E(), f && f.c(), n(s, "class", "AccountClosureTitle " + /*isMobile*/
|
|
186
194
|
(o[3] ? "AccountClosureTitleNone" : "")), n(i, "class", "AccountClosureDescription " + /*isMobile*/
|
|
187
195
|
(o[3] ? "AccountClosureDescriptionMobile" : "")), n(g, "class", "AccountClosureSave " + /*isMobile*/
|
|
188
|
-
(o[3] ? "AccountClosureSaveMobile" : "")), n(
|
|
196
|
+
(o[3] ? "AccountClosureSaveMobile" : "")), n(c, "class", "AccountClosureActionButtons " + /*isMobile*/
|
|
189
197
|
(o[3] ? "AccountClosureActionButtonsMobile" : "")), n(r, "class", "AccountClosureWrapper " + /*isMobile*/
|
|
190
198
|
(o[3] ? "AccountClosureWrapperMobile" : ""));
|
|
191
199
|
},
|
|
192
200
|
m(w, z) {
|
|
193
|
-
N(w, e, z), t(e, r), k && k.m(r, null), t(r, C), t(r,
|
|
201
|
+
N(w, e, z), t(e, r), k && k.m(r, null), t(r, C), t(r, s), t(s, p), t(r, b), t(r, i), t(i, h), t(h, l), t(r, A), t(r, c), t(c, g), t(g, y), t(e, W), f && f.m(e, null), o[15](e), M || (x = T(
|
|
194
202
|
g,
|
|
195
203
|
"click",
|
|
196
204
|
/*click_handler_1*/
|
|
197
205
|
o[12]
|
|
198
|
-
),
|
|
206
|
+
), M = !0);
|
|
199
207
|
},
|
|
200
208
|
p(w, [z]) {
|
|
201
209
|
/*isMobile*/
|
|
@@ -205,20 +213,20 @@ function re(o) {
|
|
|
205
213
|
4 && u !== (u = /*$_*/
|
|
206
214
|
w[2]("accountClosureDescription") + "") && F(l, u), z & /*$_*/
|
|
207
215
|
4 && m !== (m = /*$_*/
|
|
208
|
-
w[2]("closeAccount") + "") && F(
|
|
216
|
+
w[2]("closeAccount") + "") && F(y, m), /*closureModal*/
|
|
209
217
|
w[1] ? f ? f.p(w, z) : (f = O(w), f.c(), f.m(e, null)) : f && (f.d(1), f = null);
|
|
210
218
|
},
|
|
211
219
|
i: H,
|
|
212
220
|
o: H,
|
|
213
221
|
d(w) {
|
|
214
|
-
w && q(e), k && k.d(), f && f.d(), o[15](null),
|
|
222
|
+
w && q(e), k && k.d(), f && f.d(), o[15](null), M = !1, x();
|
|
215
223
|
}
|
|
216
224
|
};
|
|
217
225
|
}
|
|
218
226
|
function ae(o, e, r) {
|
|
219
227
|
let C;
|
|
220
228
|
V(o, $, (a) => r(2, C = a));
|
|
221
|
-
let { lang:
|
|
229
|
+
let { lang: s = "en" } = e, { clientstyling: d = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: b = "" } = e, i = window.navigator.userAgent, h = G(i) !== "PC", u = !1, l;
|
|
222
230
|
const A = () => {
|
|
223
231
|
fetch(b).then((B) => B.json()).then((B) => {
|
|
224
232
|
Object.keys(B).forEach((D) => {
|
|
@@ -231,10 +239,10 @@ function ae(o, e, r) {
|
|
|
231
239
|
Object.keys(R).forEach((a) => {
|
|
232
240
|
L(a, R[a]);
|
|
233
241
|
});
|
|
234
|
-
const
|
|
242
|
+
const c = (a) => {
|
|
235
243
|
r(1, u = a), a === !0 ? window.postMessage({ type: "DisableScroll" }, window.location.href) : window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
236
244
|
}, g = () => {
|
|
237
|
-
|
|
245
|
+
c(!1), window.postMessage({ type: "AccountClosure" }, window.location.href);
|
|
238
246
|
}, m = () => {
|
|
239
247
|
window.postMessage(
|
|
240
248
|
{
|
|
@@ -243,12 +251,12 @@ function ae(o, e, r) {
|
|
|
243
251
|
},
|
|
244
252
|
window.location.href
|
|
245
253
|
);
|
|
246
|
-
},
|
|
247
|
-
ee(
|
|
254
|
+
}, y = () => {
|
|
255
|
+
ee(s);
|
|
248
256
|
}, W = () => {
|
|
249
257
|
let a = document.createElement("style");
|
|
250
258
|
a.innerHTML = d, l.appendChild(a);
|
|
251
|
-
},
|
|
259
|
+
}, M = () => {
|
|
252
260
|
let a = new URL(p), B = document.createElement("style");
|
|
253
261
|
fetch(a.href).then((D) => D.text()).then((D) => {
|
|
254
262
|
B.innerHTML = D, setTimeout(
|
|
@@ -258,29 +266,29 @@ function ae(o, e, r) {
|
|
|
258
266
|
1
|
|
259
267
|
);
|
|
260
268
|
});
|
|
261
|
-
}, x = () => m(), k = () =>
|
|
269
|
+
}, x = () => m(), k = () => c(!0), f = () => c(!1), w = () => g();
|
|
262
270
|
function z(a) {
|
|
263
271
|
X[a ? "unshift" : "push"](() => {
|
|
264
272
|
l = a, r(0, l);
|
|
265
273
|
});
|
|
266
274
|
}
|
|
267
275
|
return o.$$set = (a) => {
|
|
268
|
-
"lang" in a && r(7,
|
|
276
|
+
"lang" in a && r(7, s = a.lang), "clientstyling" in a && r(8, d = a.clientstyling), "clientstylingurl" in a && r(9, p = a.clientstylingurl), "translationurl" in a && r(10, b = a.translationurl);
|
|
269
277
|
}, o.$$.update = () => {
|
|
270
278
|
o.$$.dirty & /*lang*/
|
|
271
|
-
128 &&
|
|
279
|
+
128 && s && y(), o.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
272
280
|
257 && d && l && W(), o.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
273
|
-
513 && p && l &&
|
|
281
|
+
513 && p && l && M(), o.$$.dirty & /*translationurl*/
|
|
274
282
|
1024 && b && A();
|
|
275
283
|
}, [
|
|
276
284
|
l,
|
|
277
285
|
u,
|
|
278
286
|
C,
|
|
279
287
|
h,
|
|
280
|
-
|
|
288
|
+
c,
|
|
281
289
|
g,
|
|
282
290
|
m,
|
|
283
|
-
|
|
291
|
+
s,
|
|
284
292
|
d,
|
|
285
293
|
p,
|
|
286
294
|
b,
|
|
@@ -293,7 +301,7 @@ function ae(o, e, r) {
|
|
|
293
301
|
}
|
|
294
302
|
class ne extends U {
|
|
295
303
|
constructor(e) {
|
|
296
|
-
super(),
|
|
304
|
+
super(), Y(
|
|
297
305
|
this,
|
|
298
306
|
e,
|
|
299
307
|
ae,
|
|
@@ -333,7 +341,7 @@ class ne extends U {
|
|
|
333
341
|
this.$$set({ translationurl: e }), S();
|
|
334
342
|
}
|
|
335
343
|
}
|
|
336
|
-
|
|
344
|
+
I(ne, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
337
345
|
export {
|
|
338
346
|
ne as default
|
|
339
347
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BW6b3iuS.cjs");function B(o,t){e.addMessages(o,t)}function D(o){e.$locale.set(o)}const W={en:{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"},"zh-hk":{titleAccountClosure:"賬戶關閉",accountClosureDescription:"如果您覺得需要休息,或者您只是想停止使用我們的服務,賬戶關閉會為您的賬戶提供永久訪問限制。",closeAccount:"關閉賬戶",modal:"您確定要關閉您的帳戶嗎?",accountClosureCancel:"不",accountClosureConfirm:"是的"},fr:{titleAccountClosure:"Fermeture du compte",accountClosureDescription:"La fermeture du compte fournit une restriction permanente d'accès à votre compte si vous sentez que vous avez besoin d'une pause ou si vous souhaitez arrêter d'utiliser notre service",closeAccount:"Fermer le compte",modal:"êtes-vous sûr de vouloir fermer votre compte?",accountClosureCancel:"Non",accountClosureConfirm:"Oui"},ro:{titleAccountClosure:"Închidere Cont",accountClosureDescription:'Opțiunea "Închidere Cont" asigură suspendarea permanentă a accesului la contul tău dacă simți că ai nevoie de o pauză sau că vrei să nu mai folosești serviciile noastre.',closeAccount:"Închide Cont",modal:"Esti sigur ca vrei sa inchizi contul?",accountClosureCancel:"Nu",accountClosureConfirm:"Da"},es:{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"Cierre de cuenta provee una restricción permamente de poder ingresar a su cuenta si desea tomar una pausa.",closeAccount:"Cerrar cuenta",modal:"Esta seguro que desea cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},pt:{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O Encerramento de Conta fornece uma restrição de acesso permanente à sua conta se você achar que precisa de uma pausa ou apenas deseja parar de usar nossos serviços.",closeAccount:"Encerrar conta",modal:"Tem certeza de que deseja encerrar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},hr:{titleAccountClosure:"Zatvaranje računa",accountClosureDescription:"Zatvaranje računa omogućuje trajno ograničenje pristupa vašem računu ako smatrate da vam je potreban odmor",closeAccount:"Zatvori račun",modal:"Jeste li sigurni da želite zatvoriti svoj račun?",accountClosureCancel:"Ne",accountClosureConfirm:"Da"},"pt-br":{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O encerramento da conta oferece restrição permanente de acesso à sua conta se você achar que precisa de uma pausa,ou simplesmente deseja parar de usar nossos serviços",closeAccount:"Conta de data",modal:"Tem certeza de que deseja namorar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},"es-mx":{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"El cierre de la cuenta ofrece restricción permanente al acceso de su cuenta si considera que necesita un descanso,o simplemente quiere dejar de utilizar nuestros servicios",closeAccount:"Cerrar cuenta",modal:"Está seguro que quiere cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},tr:{titleAccountClosure:"Hesap kapatma",accountClosureDescription:"Hesap Kapatma, bir ara vermeniz gerektiğini düşünüyorsanız veya hizmetlerimizi kullanmayı bırakmak istiyorsanız, hesabınıza kalıcı erişim kısıtlaması sağlar.",closeAccount:"Hesabı kapat",modal:"Hesabınızı kapatmak istediğinizden emin misiniz?",accountClosureCancel:"HAYIR",accountClosureConfirm:"Evet"},"en-us":{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"}};function j(o){e.append_styles(o,"svelte-sj9hhm",'.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{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 .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}')}function S(o){let t,r,m,c,u,d,f,l,v,s,n=o[2]("titleAccountClosure")+"",y,i,C;return{c(){t=e.element("div"),r=e.svg_element("svg"),m=e.svg_element("defs"),c=e.svg_element("style"),u=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),d=e.svg_element("g"),f=e.svg_element("g"),l=e.svg_element("path"),v=e.space(),s=e.element("h2"),y=e.text(n),e.attr(l,"class","aaa"),e.attr(l,"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(l,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(d,"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(s,"class","AccountClosureTitleMobile"),e.attr(s,"part","AccountClosureTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(p,h){e.insert(p,t,h),e.append(t,r),e.append(r,m),e.append(m,c),e.append(c,u),e.append(r,d),e.append(d,f),e.append(f,l),e.append(t,v),e.append(t,s),e.append(s,y),i||(C=e.listen(t,"click",o[11]),i=!0)},p(p,h){h&4&&n!==(n=p[2]("titleAccountClosure")+"")&&e.set_data(y,n)},d(p){p&&e.detach(t),i=!1,C()}}}function E(o){let t,r,m,c,u=o[2]("modal")+"",d,f,l,v,s=o[2]("accountClosureCancel")+"",n,y,i,C=o[2]("accountClosureConfirm")+"",p,h,k;return{c(){t=e.element("div"),r=e.element("div"),m=e.element("div"),c=e.element("p"),d=e.text(u),f=e.space(),l=e.element("div"),v=e.element("button"),n=e.text(s),y=e.space(),i=e.element("button"),p=e.text(C),e.attr(c,"class","ModalText"),e.attr(v,"class","ModalCancel"),e.attr(i,"class","ModalConfirm"),e.attr(l,"class","ModalButtons"),e.attr(m,"class","ModalBody"),e.attr(r,"class","ModalContent"),e.attr(t,"class","ModalWrapper "+(o[3]?"ModalWrapperMobile":""))},m(w,M){e.insert(w,t,M),e.append(t,r),e.append(r,m),e.append(m,c),e.append(c,d),e.append(m,f),e.append(m,l),e.append(l,v),e.append(v,n),e.append(l,y),e.append(l,i),e.append(i,p),h||(k=[e.listen(v,"click",o[13]),e.listen(i,"click",o[14])],h=!0)},p(w,M){M&4&&u!==(u=w[2]("modal")+"")&&e.set_data(d,u),M&4&&s!==(s=w[2]("accountClosureCancel")+"")&&e.set_data(n,s),M&4&&C!==(C=w[2]("accountClosureConfirm")+"")&&e.set_data(p,C)},d(w){w&&e.detach(t),h=!1,e.run_all(k)}}}function T(o){let t,r,m,c,u=o[2]("titleAccountClosure")+"",d,f,l,v,s=o[2]("accountClosureDescription")+"",n,y,i,C,p=o[2]("closeAccount")+"",h,k,w,M,A=o[3]&&S(o),g=o[1]&&E(o);return{c(){t=e.element("div"),r=e.element("div"),A&&A.c(),m=e.space(),c=e.element("h2"),d=e.text(u),f=e.space(),l=e.element("div"),v=e.element("p"),n=e.text(s),y=e.space(),i=e.element("div"),C=e.element("button"),h=e.text(p),k=e.space(),g&&g.c(),e.attr(c,"class","AccountClosureTitle "+(o[3]?"AccountClosureTitleNone":"")),e.attr(l,"class","AccountClosureDescription "+(o[3]?"AccountClosureDescriptionMobile":"")),e.attr(C,"class","AccountClosureSave "+(o[3]?"AccountClosureSaveMobile":"")),e.attr(i,"class","AccountClosureActionButtons "+(o[3]?"AccountClosureActionButtonsMobile":"")),e.attr(r,"class","AccountClosureWrapper "+(o[3]?"AccountClosureWrapperMobile":""))},m(b,x){e.insert(b,t,x),e.append(t,r),A&&A.m(r,null),e.append(r,m),e.append(r,c),e.append(c,d),e.append(r,f),e.append(r,l),e.append(l,v),e.append(v,n),e.append(r,y),e.append(r,i),e.append(i,C),e.append(C,h),e.append(t,k),g&&g.m(t,null),o[15](t),w||(M=e.listen(C,"click",o[12]),w=!0)},p(b,[x]){b[3]&&A.p(b,x),x&4&&u!==(u=b[2]("titleAccountClosure")+"")&&e.set_data(d,u),x&4&&s!==(s=b[2]("accountClosureDescription")+"")&&e.set_data(n,s),x&4&&p!==(p=b[2]("closeAccount")+"")&&e.set_data(h,p),b[1]?g?g.p(b,x):(g=E(b),g.c(),g.m(t,null)):g&&(g.d(1),g=null)},i:e.noop,o:e.noop,d(b){b&&e.detach(t),A&&A.d(),g&&g.d(),o[15](null),w=!1,M()}}}function N(o,t,r){let m;e.component_subscribe(o,e.$format,a=>r(2,m=a));let{lang:c="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{translationurl:f=""}=t,l=window.navigator.userAgent,v=e.getDevice(l)!=="PC",s=!1,n;const y=()=>{fetch(f).then(_=>_.json()).then(_=>{Object.keys(_).forEach(z=>{B(z,_[z])})}).catch(_=>{console.log(_)})};Object.keys(W).forEach(a=>{B(a,W[a])});const i=a=>{r(1,s=a),a===!0?window.postMessage({type:"DisableScroll"},window.location.href):window.postMessage({type:"EnableScroll"},window.location.href)},C=()=>{i(!1),window.postMessage({type:"AccountClosure"},window.location.href)},p=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:v},window.location.href)},h=()=>{D(c)},k=()=>{let a=document.createElement("style");a.innerHTML=u,n.appendChild(a)},w=()=>{let a=new URL(d),_=document.createElement("style");fetch(a.href).then(z=>z.text()).then(z=>{_.innerHTML=z,setTimeout(()=>{n.appendChild(_)},1)})},M=()=>p(),A=()=>i(!0),g=()=>i(!1),b=()=>C();function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{n=a,r(0,n)})}return o.$$set=a=>{"lang"in a&&r(7,c=a.lang),"clientstyling"in a&&r(8,u=a.clientstyling),"clientstylingurl"in a&&r(9,d=a.clientstylingurl),"translationurl"in a&&r(10,f=a.translationurl)},o.$$.update=()=>{o.$$.dirty&128&&c&&h(),o.$$.dirty&257&&u&&n&&k(),o.$$.dirty&513&&d&&n&&w(),o.$$.dirty&1024&&f&&y()},[n,s,m,v,i,C,p,c,u,d,f,M,A,g,b,x]}class F extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,T,e.safe_not_equal,{lang:7,clientstyling:8,clientstylingurl:9,translationurl:10},j)}get lang(){return this.$$.ctx[7]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(F,{lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=F;
|