@everymatrix/player-account-controller 1.94.3 → 1.94.5
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-MWlMEMui.cjs → GeneralLogout-CnVAejR5.cjs} +1 -1
- package/components/{GeneralLogout-C1KWLRvw.js → GeneralLogout-kTqNTgvC.js} +53 -53
- package/components/{GeneralLogout-CiQVyfJR.js → GeneralLogout-zgSN4JXC.js} +69 -69
- package/components/{PlayerAccountBettingHistory-Bzn7zhTv.cjs → PlayerAccountBettingHistory-BWmHoBAe.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-DJpEA4l1.js → PlayerAccountBettingHistory-CMXH0Rg-.js} +27 -27
- package/components/{PlayerAccountBettingHistory-D4JNMX1U.js → PlayerAccountBettingHistory-CPbEbbHQ.js} +24 -24
- package/components/{PlayerAccountBiometrics-CZxJ6eg9.js → PlayerAccountBiometrics-Btxg2ReE.js} +29 -29
- package/components/{PlayerAccountBiometrics-CZ77Ztyc.js → PlayerAccountBiometrics-C3OhQX00.js} +29 -29
- package/components/{PlayerAccountBiometrics-DipOuxL2.cjs → PlayerAccountBiometrics-NRYQDR1V.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-DkSGBqQr.cjs → PlayerAccountBiometricsAction-B94gsCP8.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-iH61eCKz.js → PlayerAccountBiometricsAction-BpWHzxpk.js} +20 -20
- package/components/{PlayerAccountBiometricsAction-BCxooM-G.js → PlayerAccountBiometricsAction-_fvfCCxj.js} +29 -29
- package/components/{PlayerAccountClosure-DFqXIXbP.js → PlayerAccountClosure-C1d0pUoW.js} +8 -8
- package/components/{PlayerAccountClosure-DYqfecjB.cjs → PlayerAccountClosure-C49V_7aD.cjs} +1 -1
- package/components/{PlayerAccountClosure-qSDghXQE.js → PlayerAccountClosure-C4jgSJYP.js} +24 -24
- package/components/{PlayerAccountController-SYnkGtb2.js → PlayerAccountController-Bd-Ammrb.js} +88 -88
- package/components/{PlayerAccountController-Dp_erLKA.js → PlayerAccountController-C6MS18Sd.js} +88 -88
- package/components/{PlayerAccountController-D-iw4Gm1.cjs → PlayerAccountController-CPE5eIap.cjs} +2 -2
- package/components/{PlayerAccountGamingLimits-COyTX71p.js → PlayerAccountGamingLimits-CCe9uOfh.js} +32 -32
- package/components/{PlayerAccountGamingLimits-B15eCgme.cjs → PlayerAccountGamingLimits-T7LipEE_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CQY0G_uB.js → PlayerAccountGamingLimits-chP_kSHR.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cm-RQN5t.js → PlayerAccountGamingLimitsConfirmationModal-BfjfP8D_.js} +25 -25
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BH0OV5eK.cjs → PlayerAccountGamingLimitsConfirmationModal-CWtPbAJA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Dc3s4o1Q.js → PlayerAccountGamingLimitsConfirmationModal-OxqOTLbT.js} +34 -34
- package/components/{PlayerAccountGamingLimitsGroupEdit-fH4M7tFv.js → PlayerAccountGamingLimitsGroupEdit-B6jYzCP7.js} +47 -47
- package/components/{PlayerAccountGamingLimitsGroupEdit-C8v4nT2e.cjs → PlayerAccountGamingLimitsGroupEdit-BJeQE4sA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BVUUAj2h.js → PlayerAccountGamingLimitsGroupEdit-DFKPrpCJ.js} +47 -47
- package/components/{PlayerAccountGamingLimitsHistory2-CqD-ISyD.js → PlayerAccountGamingLimitsHistory2-BmfZwZgM.js} +35 -35
- package/components/{PlayerAccountGamingLimitsHistory2-Dzh-CQXK.js → PlayerAccountGamingLimitsHistory2-BqwQ-RB0.js} +45 -45
- package/components/{PlayerAccountGamingLimitsHistory2-CBlHRmrE.cjs → PlayerAccountGamingLimitsHistory2-yyHOWMEJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DKRI7D9w.js → PlayerAccountGamingLimitsInfoCard-CRZKXfQf.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DOkGyTOt.js → PlayerAccountGamingLimitsInfoCard-DgtRTtMC.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-Doajed3W.cjs → PlayerAccountGamingLimitsInfoCard-Tofo4vZN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-P5RWYm8p.cjs → PlayerAccountGamingLimitsPage2Gm16-B_y_Eo11.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-PV8PjIQg.js → PlayerAccountGamingLimitsPage2Gm16-D5TyY7Fa.js} +105 -105
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BBUHxhmC.js → PlayerAccountGamingLimitsPage2Gm16-zj-tjh23.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-tZb8farN.cjs → PlayerAccountGamingLimitsPopup-CrmeCoDe.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-_7IgGj19.js → PlayerAccountGamingLimitsPopup-DeQD-dRc.js} +15 -15
- package/components/{PlayerAccountGamingLimitsPopup-CyFgSuiz.js → PlayerAccountGamingLimitsPopup-XYvk39nq.js} +19 -19
- package/components/{PlayerAccountGamingLimitsWrapper2-C44qlMd9.cjs → PlayerAccountGamingLimitsWrapper2-BIOoxplS.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CN0ni_t1.js → PlayerAccountGamingLimitsWrapper2-DNUy1TDd.js} +58 -58
- package/components/{PlayerAccountGamingLimitsWrapper2-C3jtv8xY.js → PlayerAccountGamingLimitsWrapper2-UCXXUa_j.js} +54 -54
- package/components/{PlayerAccountGeneralConfirmationModal-DCeF6KK8.js → PlayerAccountGeneralConfirmationModal-BJ5GkodH.js} +35 -35
- package/components/{PlayerAccountGeneralConfirmationModal-Bt6qRu6u.cjs → PlayerAccountGeneralConfirmationModal-DM0WWO2-.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BddPCP6_.js → PlayerAccountGeneralConfirmationModal-DUbqZsUq.js} +38 -38
- package/components/{PlayerAccountMenu-DusUWIlC.js → PlayerAccountMenu-C3r2hbOd.js} +23 -23
- package/components/{PlayerAccountMenu-BxliWxSX.js → PlayerAccountMenu-CjkwZGQ-.js} +23 -23
- package/components/{PlayerAccountMenu-BwFD7onO.cjs → PlayerAccountMenu-D7KXle_O.cjs} +1 -1
- package/components/{PlayerAccountModal-BsKMrXHH.js → PlayerAccountModal-CmOPmRtc.js} +51 -51
- package/components/{PlayerAccountModal-BpsSzItd.cjs → PlayerAccountModal-Dju6j_C4.cjs} +1 -1
- package/components/{PlayerAccountModal-NtKRkErX.js → PlayerAccountModal-rB45bRsX.js} +55 -55
- package/components/{PlayerAccountNotifications-Dc_zKmh_.js → PlayerAccountNotifications-BA8xOkk7.js} +29 -29
- package/components/{PlayerAccountNotifications-2m5scfUL.js → PlayerAccountNotifications-BHkmggUK.js} +88 -88
- package/components/{PlayerAccountNotifications-CHvVDz-S.cjs → PlayerAccountNotifications-BNWMouzN.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-DJV7kbl0.js → PlayerAccountProductRestriction-B9Wce-J2.js} +3 -3
- package/components/{PlayerAccountProductRestriction-_aL_JwHJ.js → PlayerAccountProductRestriction-CeJ8nyQV.js} +3 -3
- package/components/{PlayerAccountProductRestriction-B8RqVuaM.cjs → PlayerAccountProductRestriction-DfSfUmAF.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-NZLIic5S.cjs → PlayerAccountReviewFrequency-CqsHl6Q3.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-DNUAgwcU.js → PlayerAccountReviewFrequency-D14a7YnP.js} +31 -31
- package/components/{PlayerAccountReviewFrequency-BhAACqPf.js → PlayerAccountReviewFrequency-DdXg8T1C.js} +30 -30
- package/components/{PlayerAccountSelfExclusion-AyC4-RDs.js → PlayerAccountSelfExclusion-ANDK6YB8.js} +99 -99
- package/components/{PlayerAccountSelfExclusion-tGBZuvd4.cjs → PlayerAccountSelfExclusion-MJhERUGk.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-hGTAvkjG.js → PlayerAccountSelfExclusion-X4m9-Wif.js} +86 -86
- package/components/{PlayerAccountTimeout-B_8NcUA8.cjs → PlayerAccountTimeout-Ao1JVo5-.cjs} +3 -3
- package/components/{PlayerAccountTimeout--0cBq2Kg.js → PlayerAccountTimeout-DW_64okl.js} +4 -4
- package/components/{PlayerAccountTimeout-6FD2Lwiw.js → PlayerAccountTimeout-IFygbRsF.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-C5mRRE_D.js → PlayerAccountTransactionsHistory-BH_S2QvH.js} +36 -36
- package/components/{PlayerAccountTransactionsHistory-C5oNPHOx.js → PlayerAccountTransactionsHistory-DOmEjYBs.js} +35 -35
- package/components/{PlayerAccountTransactionsHistory-DE8XgXFB.cjs → PlayerAccountTransactionsHistory-cMyiqG_0.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BZtVJ0tO.js → PlayerActiveBonuses-BN5q9S2-.js} +212 -212
- package/components/{PlayerActiveBonuses-DtdcEwRk.cjs → PlayerActiveBonuses-BOFs5nLV.cjs} +1 -1
- package/components/{PlayerActiveBonuses-C2htEcPk.js → PlayerActiveBonuses-DDyHb_RP.js} +208 -208
- package/components/{PlayerBonusCard-DFd45Hiy.js → PlayerBonusCard-BQAGPKpP.js} +47 -47
- package/components/{PlayerBonusCard-CCyXYxHk.js → PlayerBonusCard-Bpm8P9Sa.js} +47 -47
- package/components/{PlayerBonusCard-BDsAdzuV.cjs → PlayerBonusCard-CYIktzur.cjs} +1 -1
- package/components/{PlayerBonusHistory-DXHnya6D.cjs → PlayerBonusHistory-D1ZIKvKy.cjs} +2 -2
- package/components/{PlayerBonusHistory-DNrE8L0N.js → PlayerBonusHistory-DBtOIHzS.js} +3 -3
- package/components/{PlayerBonusHistory-Dl3OhBaM.js → PlayerBonusHistory-k7HL08qe.js} +3 -3
- package/components/{PlayerChangePassword-CfYOw08o.js → PlayerChangePassword-BJkTqzxD.js} +71 -71
- package/components/{PlayerChangePassword-KWET13cT.js → PlayerChangePassword-BUai6xC1.js} +71 -71
- package/components/{PlayerChangePassword-Cov4z9CH.cjs → PlayerChangePassword-DoWdtlBb.cjs} +1 -1
- package/components/{PlayerDeposit-VlR9R2HM.cjs → PlayerDeposit-BDODxxlC.cjs} +1 -1
- package/components/{PlayerDeposit-DnJa8Yl3.js → PlayerDeposit-C0XRt5EK.js} +24 -24
- package/components/{PlayerDeposit-B2ac6D8s.js → PlayerDeposit-CLyGovJD.js} +28 -28
- package/components/{PlayerGamingHistory-DCnHiCje.js → PlayerGamingHistory-BsHSSyhU.js} +94 -94
- package/components/{PlayerGamingHistory-CViEAUHh.cjs → PlayerGamingHistory-DdUzR5OW.cjs} +1 -1
- package/components/{PlayerGamingHistory-DEZMZgyp.js → PlayerGamingHistory-m0lb-SaP.js} +114 -114
- package/components/{PlayerPendingWithdrawals-DnIuozwG.cjs → PlayerPendingWithdrawals-3U8OWD5l.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-RKAmjSTJ.js → PlayerPendingWithdrawals-BvhroTya.js} +30 -30
- package/components/{PlayerPendingWithdrawals-ID5cnEfB.js → PlayerPendingWithdrawals-CavqhbX6.js} +34 -34
- package/components/{PlayerProfileInfo-B8b5KNTI.cjs → PlayerProfileInfo-BKKrxITi.cjs} +1 -1
- package/components/{PlayerProfileInfo-BvAv9pYw.js → PlayerProfileInfo-DejS3qt9.js} +364 -364
- package/components/{PlayerProfileInfo-D7Lgohmb.js → PlayerProfileInfo-DrBabxG-.js} +342 -342
- package/components/{PlayerRealityCheck-C-6W6BY0.cjs → PlayerRealityCheck-BP88i1lx.cjs} +1 -1
- package/components/{PlayerRealityCheck-C0Y1Zl_P.js → PlayerRealityCheck-DcTKJjjQ.js} +55 -55
- package/components/{PlayerRealityCheck-7fVeEeFe.js → PlayerRealityCheck-DefrXfkM.js} +54 -54
- package/components/{PlayerTransactionHistory-ClwBJKRp.js → PlayerTransactionHistory-4CZSZQMz.js} +31 -31
- package/components/{PlayerTransactionHistory-dWDqxRu8.cjs → PlayerTransactionHistory-B-WtWjm5.cjs} +1 -1
- package/components/{PlayerTransactionHistory-G98VK3oH.js → PlayerTransactionHistory-DTSGZtwn.js} +44 -44
- package/components/{PlayerWithdrawal-jAhz1Aeb.js → PlayerWithdrawal-C4-ZL4z5.js} +25 -25
- package/components/{PlayerWithdrawal-FJUVucSx.js → PlayerWithdrawal-DAU0uggw.js} +25 -25
- package/components/{PlayerWithdrawal-VlKyb1Pk.cjs → PlayerWithdrawal-DI7dGjmC.cjs} +1 -1
- package/components/{QrSessionGenerator-DttwdIra.js → QrSessionGenerator-BMd3QegI.js} +48 -48
- package/components/{QrSessionGenerator-CUbR8FbA.js → QrSessionGenerator-CGtWSfMU.js} +37 -37
- package/components/{QrSessionGenerator-ce2wxm3H.cjs → QrSessionGenerator-fnnwM7n6.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-_13Kv9Zi.js → checkbox-group-input_16-BMVEaVtV.js} +4 -4
- package/stencil/{checkbox-group-input_16-BClc1QAF.js → checkbox-group-input_16-C6fU4lxi.js} +4 -4
- package/stencil/{checkbox-group-input_16-BzGXxdU9.cjs → checkbox-group-input_16-DTlEvXD1.cjs} +2 -2
- package/stencil/{index-6e523641-CqeGydRJ.cjs → index-6e523641-CHZRFi0W.cjs} +1 -1
- package/stencil/{index-6e523641-txnZxPs0.js → index-6e523641-CzpA6fqp.js} +1 -1
- package/stencil/{index-6e523641-M8saYcGO.js → index-6e523641-n8F0I2Fs.js} +1 -1
- package/stencil/{index-7469517b-Bmgiy_n-.js → index-7469517b-BFmBiraV.js} +1 -1
- package/stencil/{index-7469517b-ulg1Qmdy.js → index-7469517b-CCwm-ipO.js} +1 -1
- package/stencil/{index-7469517b-8Vfz7n3C.cjs → index-7469517b-DxaDYmkD.cjs} +1 -1
- package/stencil/{index-9c0f6c58-DlXOBm1V.cjs → index-9c0f6c58-CLDl-isE.cjs} +1 -1
- package/stencil/{index-9c0f6c58-BLHPAiHp.js → index-9c0f6c58-CeHgKkkN.js} +1 -1
- package/stencil/{index-9c0f6c58-Dt7MQ5_j.js → index-9c0f6c58-DGo4u6sZ.js} +1 -1
- package/stencil/{pam-change-password-259289fa-CR3dv02q.cjs → pam-change-password-259289fa-B5K_myvf.cjs} +1 -1
- package/stencil/{pam-change-password-259289fa-7sJvUi0P.js → pam-change-password-259289fa-B_ApylOR.js} +3 -3
- package/stencil/{pam-change-password-259289fa-DvjX931m.js → pam-change-password-259289fa-DJ_lsyvr.js} +3 -3
- package/stencil/{pam-change-password-BiAsiO8l.js → pam-change-password-BOIp7Ttz.js} +1 -1
- package/stencil/{pam-change-password-DnCN0UHR.cjs → pam-change-password-C4n9m8Jg.cjs} +1 -1
- package/stencil/{pam-change-password-Dil_uhA4.js → pam-change-password-DH0owsL8.js} +1 -1
- package/stencil/player-kyc-verification-9Ic-jm7L.cjs +210 -0
- package/stencil/{player-kyc-verification-BhngQMYp.js → player-kyc-verification-ByWsZG6l.js} +20 -15
- package/stencil/{player-kyc-verification-BO_q93r0.js → player-kyc-verification-Cm-zE62-.js} +20 -15
- package/stencil/{user-transaction-history-CZc5JwuK.cjs → user-transaction-history-CH5LwNcg.cjs} +1 -1
- package/stencil/{user-transaction-history-CQl_PHMr.js → user-transaction-history-DF87ngqZ.js} +1 -1
- package/stencil/{user-transaction-history-DObkYfdi.js → user-transaction-history-p2F_rXVi.js} +1 -1
- package/stencil/{user-transaction-history_2-CoqbioXa.cjs → user-transaction-history_2--tfZWSJL.cjs} +2 -2
- package/stencil/{user-transaction-history_2-C2zT8Uc5.js → user-transaction-history_2-CanvRRkc.js} +2 -2
- package/stencil/{user-transaction-history_2-Bl8RpF35.js → user-transaction-history_2-ChdfveXx.js} +2 -2
- package/stencil/player-kyc-verification-ISE1zaDp.cjs +0 -210
package/components/{PlayerAccountBiometrics-CZ77Ztyc.js → PlayerAccountBiometrics-C3OhQX00.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./PlayerProfileInfo-
|
|
1
|
+
import { c as R, b as W, S as C, B as L, Q as N, t as M, f as x, J as S, p as z, Y as U, X as B, D as O, e as a, q as y, a0 as k, a3 as j, g as s, k as q, w as H, M as I, I as V, a2 as A, h as J, U as K, V as Q, W as X, m as Z, a as F } from "./PlayerAccountController-C6MS18Sd.js";
|
|
2
|
+
import "./PlayerProfileInfo-DejS3qt9.js";
|
|
3
3
|
function T(t, i) {
|
|
4
|
-
|
|
4
|
+
R(t, i);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
6
|
+
function G(t) {
|
|
7
|
+
W.set(t);
|
|
8
8
|
}
|
|
9
9
|
const Y = {
|
|
10
10
|
en: {
|
|
@@ -95,10 +95,10 @@ function tt(t) {
|
|
|
95
95
|
), v, P, D;
|
|
96
96
|
return {
|
|
97
97
|
c() {
|
|
98
|
-
i = y("div"), r =
|
|
98
|
+
i = y("div"), r = A("svg"), w = A("defs"), m = A("style"), b = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), u = A("g"), p = A("g"), n = A("path"), c = k(), f = y("h2"), v = j(d), s(n, "class", "aaa"), s(n, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(n, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(u, "transform", "translate(-20 -158)"), s(r, "xmlns", "http://www.w3.org/2000/svg"), s(r, "width", "15"), s(r, "height", "15"), s(r, "viewBox", "0 0 15 15"), s(f, "class", "BiometricsTitleMobile"), s(f, "part", "BiometricsTitleMobile"), s(i, "class", "MenuReturnButton"), s(i, "part", "MenuReturnButton");
|
|
99
99
|
},
|
|
100
100
|
m(g, _) {
|
|
101
|
-
|
|
101
|
+
O(g, i, _), a(i, r), a(r, w), a(w, m), a(m, b), a(r, u), a(u, p), a(p, n), a(i, c), a(i, f), a(f, v), P || (D = V(
|
|
102
102
|
i,
|
|
103
103
|
"click",
|
|
104
104
|
/*click_handler*/
|
|
@@ -108,7 +108,7 @@ function tt(t) {
|
|
|
108
108
|
p(g, _) {
|
|
109
109
|
_ & /*$_*/
|
|
110
110
|
64 && d !== (d = /*$_*/
|
|
111
|
-
g[6]("titleBiometrics") + "") &&
|
|
111
|
+
g[6]("titleBiometrics") + "") && U(v, d);
|
|
112
112
|
},
|
|
113
113
|
d(g) {
|
|
114
114
|
g && z(i), P = !1, D();
|
|
@@ -125,13 +125,13 @@ function it(t) {
|
|
|
125
125
|
), d, v, P, D = (
|
|
126
126
|
/*$_*/
|
|
127
127
|
t[6]("descriptionParagraph2") + ""
|
|
128
|
-
), g, _,
|
|
128
|
+
), g, _, E, e, l = (
|
|
129
129
|
/*isMobile*/
|
|
130
130
|
t[7] && tt(t)
|
|
131
131
|
);
|
|
132
132
|
return {
|
|
133
133
|
c() {
|
|
134
|
-
i = y("div"), r = y("div"), l && l.c(), w = k(), m = y("h2"), u = j(b), p = k(), n = y("div"), c = y("p"), d = j(f), v = k(), P = y("p"), g = j(D), _ = k(),
|
|
134
|
+
i = y("div"), r = y("div"), l && l.c(), w = k(), m = y("h2"), u = j(b), p = k(), n = y("div"), c = y("p"), d = j(f), v = k(), P = y("p"), g = j(D), _ = k(), E = y("div"), e = y("player-account-biometrics-action"), s(m, "class", "BiometricsTitle " + /*isMobile*/
|
|
135
135
|
(t[7] ? "BiometricsTitleNone" : "")), s(n, "class", "BiometricsDescription " + /*isMobile*/
|
|
136
136
|
(t[7] ? "BiometricsDescriptionMobile" : "")), B(
|
|
137
137
|
e,
|
|
@@ -158,22 +158,22 @@ function it(t) {
|
|
|
158
158
|
"mbsource",
|
|
159
159
|
/*mbsource*/
|
|
160
160
|
t[3]
|
|
161
|
-
), s(
|
|
161
|
+
), s(E, "class", "BiometricsActionButtons " + /*isMobile*/
|
|
162
162
|
(t[7] ? "BiometricsActionButtonsMobile" : "")), s(r, "class", "BiometricsWrapper " + /*isMobile*/
|
|
163
163
|
(t[7] ? "BiometricsWrapperMobile" : ""));
|
|
164
164
|
},
|
|
165
165
|
m(o, h) {
|
|
166
|
-
|
|
166
|
+
O(o, i, h), a(i, r), l && l.m(r, null), a(r, w), a(r, m), a(m, u), a(r, p), a(r, n), a(n, c), a(c, d), a(n, v), a(n, P), a(P, g), a(r, _), a(r, E), a(E, e), t[10](i);
|
|
167
167
|
},
|
|
168
168
|
p(o, [h]) {
|
|
169
169
|
/*isMobile*/
|
|
170
170
|
o[7] && l.p(o, h), h & /*$_*/
|
|
171
171
|
64 && b !== (b = /*$_*/
|
|
172
|
-
o[6]("titleBiometrics") + "") &&
|
|
172
|
+
o[6]("titleBiometrics") + "") && U(u, b), h & /*$_*/
|
|
173
173
|
64 && f !== (f = /*$_*/
|
|
174
|
-
o[6]("descriptionParagraph1") + "") &&
|
|
174
|
+
o[6]("descriptionParagraph1") + "") && U(d, f), h & /*$_*/
|
|
175
175
|
64 && D !== (D = /*$_*/
|
|
176
|
-
o[6]("descriptionParagraph2") + "") &&
|
|
176
|
+
o[6]("descriptionParagraph2") + "") && U(g, D), h & /*lang*/
|
|
177
177
|
1 && B(
|
|
178
178
|
e,
|
|
179
179
|
"lang",
|
|
@@ -205,8 +205,8 @@ function it(t) {
|
|
|
205
205
|
o[3]
|
|
206
206
|
);
|
|
207
207
|
},
|
|
208
|
-
i:
|
|
209
|
-
o:
|
|
208
|
+
i: S,
|
|
209
|
+
o: S,
|
|
210
210
|
d(o) {
|
|
211
211
|
o && z(i), l && l.d(), t[10](null);
|
|
212
212
|
}
|
|
@@ -214,7 +214,7 @@ function it(t) {
|
|
|
214
214
|
}
|
|
215
215
|
function et(t, i, r) {
|
|
216
216
|
let w;
|
|
217
|
-
q(t,
|
|
217
|
+
q(t, F, (e) => r(6, w = e));
|
|
218
218
|
let { lang: m = "en" } = i, { clientstyling: b = "" } = i, { clientstylingurl: u = "" } = i, { mbsource: p } = i, { translationurl: n = "" } = i, c, f, d = window.navigator.userAgent, v = H(d) !== "PC";
|
|
219
219
|
const P = () => {
|
|
220
220
|
fetch(n).then((l) => l.json()).then((l) => {
|
|
@@ -229,7 +229,7 @@ function et(t, i, r) {
|
|
|
229
229
|
T(e, Y[e]);
|
|
230
230
|
});
|
|
231
231
|
const D = () => {
|
|
232
|
-
|
|
232
|
+
G(m);
|
|
233
233
|
}, g = () => {
|
|
234
234
|
window.postMessage(
|
|
235
235
|
{
|
|
@@ -242,8 +242,8 @@ function et(t, i, r) {
|
|
|
242
242
|
I(() => () => {
|
|
243
243
|
});
|
|
244
244
|
const _ = () => g();
|
|
245
|
-
function
|
|
246
|
-
|
|
245
|
+
function E(e) {
|
|
246
|
+
J[e ? "unshift" : "push"](() => {
|
|
247
247
|
c = e, r(5, c);
|
|
248
248
|
});
|
|
249
249
|
}
|
|
@@ -252,9 +252,9 @@ function et(t, i, r) {
|
|
|
252
252
|
}, t.$$.update = () => {
|
|
253
253
|
t.$$.dirty & /*lang*/
|
|
254
254
|
1 && m && D(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
255
|
-
34 && b && c &&
|
|
256
|
-
36 && u && c &&
|
|
257
|
-
40 && p && c &&
|
|
255
|
+
34 && b && c && K(c, b), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
256
|
+
36 && u && c && Q(c, u), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
257
|
+
40 && p && c && X(c, `${p}.Style`, f), t.$$.dirty & /*translationurl*/
|
|
258
258
|
16 && n && P();
|
|
259
259
|
}, [
|
|
260
260
|
m,
|
|
@@ -267,17 +267,17 @@ function et(t, i, r) {
|
|
|
267
267
|
v,
|
|
268
268
|
g,
|
|
269
269
|
_,
|
|
270
|
-
|
|
270
|
+
E
|
|
271
271
|
];
|
|
272
272
|
}
|
|
273
|
-
class rt extends
|
|
273
|
+
class rt extends C {
|
|
274
274
|
constructor(i) {
|
|
275
|
-
super(),
|
|
275
|
+
super(), L(
|
|
276
276
|
this,
|
|
277
277
|
i,
|
|
278
278
|
et,
|
|
279
279
|
it,
|
|
280
|
-
|
|
280
|
+
N,
|
|
281
281
|
{
|
|
282
282
|
lang: 0,
|
|
283
283
|
clientstyling: 1,
|
|
@@ -319,7 +319,7 @@ class rt extends L {
|
|
|
319
319
|
this.$$set({ translationurl: i }), M();
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
Z(rt, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
323
323
|
export {
|
|
324
324
|
rt as default
|
|
325
325
|
};
|
package/components/{PlayerAccountBiometrics-DipOuxL2.cjs → PlayerAccountBiometrics-NRYQDR1V.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-CPE5eIap.cjs");require("./PlayerProfileInfo-BKKrxITi.cjs");function P(e,i){t.addMessages(e,i)}function E(e){t.$locale.set(e)}const A={en:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"zh-hk":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},fr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},tr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},ro:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},es:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},pt:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},hr:{titleBiometrics:"Biometrijska autentifikacija",descriptionParagraph1:"Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",descriptionParagraph2:"Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju"},"pt-br":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"es-mx":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"en-us":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"}};function M(e){t.append_styles(e,"svelte-1fepl4m",".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, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function k(e){let i,n,h,l,u,m,p,a,s,g,d=e[6]("titleBiometrics")+"",B,y,_;return{c(){i=t.element("div"),n=t.svg_element("svg"),h=t.svg_element("defs"),l=t.svg_element("style"),u=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=t.svg_element("g"),p=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),g=t.element("h2"),B=t.text(d),t.attr(a,"class","aaa"),t.attr(a,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(a,"transform","translate(15 15) rotate(180)"),t.attr(p,"transform","translate(20 158)"),t.attr(m,"transform","translate(-20 -158)"),t.attr(n,"xmlns","http://www.w3.org/2000/svg"),t.attr(n,"width","15"),t.attr(n,"height","15"),t.attr(n,"viewBox","0 0 15 15"),t.attr(g,"class","BiometricsTitleMobile"),t.attr(g,"part","BiometricsTitleMobile"),t.attr(i,"class","MenuReturnButton"),t.attr(i,"part","MenuReturnButton")},m(b,v){t.insert(b,i,v),t.append(i,n),t.append(n,h),t.append(h,l),t.append(l,u),t.append(n,m),t.append(m,p),t.append(p,a),t.append(i,s),t.append(i,g),t.append(g,B),y||(_=t.listen(i,"click",e[9]),y=!0)},p(b,v){v&64&&d!==(d=b[6]("titleBiometrics")+"")&&t.set_data(B,d)},d(b){b&&t.detach(i),y=!1,_()}}}function j(e){let i,n,h,l,u=e[6]("titleBiometrics")+"",m,p,a,s,g=e[6]("descriptionParagraph1")+"",d,B,y,_=e[6]("descriptionParagraph2")+"",b,v,w,r,c=e[7]&&k(e);return{c(){i=t.element("div"),n=t.element("div"),c&&c.c(),h=t.space(),l=t.element("h2"),m=t.text(u),p=t.space(),a=t.element("div"),s=t.element("p"),d=t.text(g),B=t.space(),y=t.element("p"),b=t.text(_),v=t.space(),w=t.element("div"),r=t.element("player-account-biometrics-action"),t.attr(l,"class","BiometricsTitle "+(e[7]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(e[7]?"BiometricsDescriptionMobile":"")),t.set_custom_element_data(r,"lang",e[0]),t.set_custom_element_data(r,"translationurl",e[4]),t.set_custom_element_data(r,"clientstyling",e[1]),t.set_custom_element_data(r,"clientstylingurl",e[2]),t.set_custom_element_data(r,"mbsource",e[3]),t.attr(w,"class","BiometricsActionButtons "+(e[7]?"BiometricsActionButtonsMobile":"")),t.attr(n,"class","BiometricsWrapper "+(e[7]?"BiometricsWrapperMobile":""))},m(o,f){t.insert(o,i,f),t.append(i,n),c&&c.m(n,null),t.append(n,h),t.append(n,l),t.append(l,m),t.append(n,p),t.append(n,a),t.append(a,s),t.append(s,d),t.append(a,B),t.append(a,y),t.append(y,b),t.append(n,v),t.append(n,w),t.append(w,r),e[10](i)},p(o,[f]){o[7]&&c.p(o,f),f&64&&u!==(u=o[6]("titleBiometrics")+"")&&t.set_data(m,u),f&64&&g!==(g=o[6]("descriptionParagraph1")+"")&&t.set_data(d,g),f&64&&_!==(_=o[6]("descriptionParagraph2")+"")&&t.set_data(b,_),f&1&&t.set_custom_element_data(r,"lang",o[0]),f&16&&t.set_custom_element_data(r,"translationurl",o[4]),f&2&&t.set_custom_element_data(r,"clientstyling",o[1]),f&4&&t.set_custom_element_data(r,"clientstylingurl",o[2]),f&8&&t.set_custom_element_data(r,"mbsource",o[3])},i:t.noop,o:t.noop,d(o){o&&t.detach(i),c&&c.d(),e[10](null)}}}function S(e,i,n){let h;t.component_subscribe(e,t.$format,r=>n(6,h=r));let{lang:l="en"}=i,{clientstyling:u=""}=i,{clientstylingurl:m=""}=i,{mbsource:p}=i,{translationurl:a=""}=i,s,g,d=window.navigator.userAgent,B=t.getDevice(d)!=="PC";const y=()=>{fetch(a).then(c=>c.json()).then(c=>{Object.keys(c).forEach(o=>{P(o,c[o])})}).catch(c=>{console.log(c)})};Object.keys(A).forEach(r=>{P(r,A[r])});const _=()=>{E(l)},b=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:B},window.location.href)};t.onMount(()=>()=>{});const v=()=>b();function w(r){t.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(5,s)})}return e.$$set=r=>{"lang"in r&&n(0,l=r.lang),"clientstyling"in r&&n(1,u=r.clientstyling),"clientstylingurl"in r&&n(2,m=r.clientstylingurl),"mbsource"in r&&n(3,p=r.mbsource),"translationurl"in r&&n(4,a=r.translationurl)},e.$$.update=()=>{e.$$.dirty&1&&l&&_(),e.$$.dirty&34&&u&&s&&t.setClientStyling(s,u),e.$$.dirty&36&&m&&s&&t.setClientStylingURL(s,m),e.$$.dirty&40&&p&&s&&t.setStreamStyling(s,`${p}.Style`,g),e.$$.dirty&16&&a&&y()},[l,u,m,p,a,s,h,B,b,v,w]}class D extends t.SvelteComponent{constructor(i){super(),t.init(this,i,S,j,t.safe_not_equal,{lang:0,clientstyling:1,clientstylingurl:2,mbsource:3,translationurl:4},M)}get lang(){return this.$$.ctx[0]}set lang(i){this.$$set({lang:i}),t.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(i){this.$$set({mbsource:i}),t.flush()}get translationurl(){return this.$$.ctx[4]}set translationurl(i){this.$$set({translationurl:i}),t.flush()}}t.create_custom_element(D,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=D;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var v=(s,e,t)=>new Promise((o,n)=>{var l=b=>{try{a(t.next(b))}catch(d){n(d)}},c=b=>{try{a(t.throw(b))}catch(d){n(d)}},a=b=>b.done?o(b.value):Promise.resolve(b.value).then(l,c);a((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerAccountController-D-iw4Gm1.cjs");function U(s,e){i.addMessages(s,e)}function P(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(s,t)),e}function K(s){i.append_styles(s,"svelte-4r3z7g",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));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}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}')}function x(s){let e;function t(l,c){if(l[1]==="button")return G;if(l[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(l,c){i.insert(l,e,c),n&&n.m(e,null),s[17](e)},p(l,c){o===(o=t(l))&&n?n.p(l,c):(n&&n.d(1),n=o&&o(l),n&&(n.c(),n.m(e,null)))},d(l){l&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,l;return{c(){e=i.element("button"),t=i.element("div"),t.innerHTML='<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>',i.attr(t,"class","skip-switch"),i.toggle_class(t,"checked",s[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,a){i.insert(c,e,a),i.append(e,t),n||(l=i.listen(e,"click",s[8]),n=!0)},p(c,a){a&16&&i.toggle_class(t,"checked",c[4]),a&36&&i.toggle_class(t,"disabled",c[5]||c[2]),a&64&&i.toggle_class(t,"shake",c[6]),a&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,l()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,l,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(a,b){i.insert(a,e,b),i.append(e,o),l||(c=i.listen(e,"click",s[16]),l=!0)},p(a,b){b&144&&t!==(t=(a[4]?a[7]("btnDisableBiometrics"):a[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=a[5]||a[2])&&(e.disabled=n)},d(a){a&&i.detach(e),l=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{mbsource:a}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{U(u,r[u])})},R=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const z=()=>{P(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const C=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),C(),A("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),L()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||A("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},L=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},A=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?L():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const j=()=>S();function F(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,l=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,a=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&z(),s.$$.dirty&1032&&l&&m&&i.setClientStyling(m,l),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&a&&m&&i.setStreamStyling(m,`${a}.Style`,I),s.$$.dirty&8192&&b&&R(),s.$$.dirty&45056&&a&&!b&&t(15,h=q(`${a}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,l,c,a,b,B,h,j,F]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),i.flush()}get isNativeApp(){return this.$$.ctx[0]}set isNativeApp(e){this.$$set({isNativeApp:e}),i.flush()}get mode(){return this.$$.ctx[1]}set mode(e){this.$$set({mode:e}),i.flush()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
|
|
1
|
+
"use strict";var v=(s,e,t)=>new Promise((o,n)=>{var l=b=>{try{a(t.next(b))}catch(d){n(d)}},c=b=>{try{a(t.throw(b))}catch(d){n(d)}},a=b=>b.done?o(b.value):Promise.resolve(b.value).then(l,c);a((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerAccountController-CPE5eIap.cjs");function U(s,e){i.addMessages(s,e)}function P(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(s,t)),e}function K(s){i.append_styles(s,"svelte-4r3z7g",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));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}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}')}function x(s){let e;function t(l,c){if(l[1]==="button")return G;if(l[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(l,c){i.insert(l,e,c),n&&n.m(e,null),s[17](e)},p(l,c){o===(o=t(l))&&n?n.p(l,c):(n&&n.d(1),n=o&&o(l),n&&(n.c(),n.m(e,null)))},d(l){l&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,l;return{c(){e=i.element("button"),t=i.element("div"),t.innerHTML='<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>',i.attr(t,"class","skip-switch"),i.toggle_class(t,"checked",s[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,a){i.insert(c,e,a),i.append(e,t),n||(l=i.listen(e,"click",s[8]),n=!0)},p(c,a){a&16&&i.toggle_class(t,"checked",c[4]),a&36&&i.toggle_class(t,"disabled",c[5]||c[2]),a&64&&i.toggle_class(t,"shake",c[6]),a&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,l()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,l,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(a,b){i.insert(a,e,b),i.append(e,o),l||(c=i.listen(e,"click",s[16]),l=!0)},p(a,b){b&144&&t!==(t=(a[4]?a[7]("btnDisableBiometrics"):a[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=a[5]||a[2])&&(e.disabled=n)},d(a){a&&i.detach(e),l=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{mbsource:a}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{U(u,r[u])})},R=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const z=()=>{P(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const C=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),C(),A("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),L()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||A("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},L=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},A=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?L():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const j=()=>S();function F(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,l=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,a=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&z(),s.$$.dirty&1032&&l&&m&&i.setClientStyling(m,l),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&a&&m&&i.setStreamStyling(m,`${a}.Style`,I),s.$$.dirty&8192&&b&&R(),s.$$.dirty&45056&&a&&!b&&t(15,h=q(`${a}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,l,c,a,b,B,h,j,F]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),i.flush()}get isNativeApp(){return this.$$.ctx[0]}set isNativeApp(e){this.$$set({isNativeApp:e}),i.flush()}get mode(){return this.$$.ctx[1]}set mode(e){this.$$set({mode:e}),i.flush()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as K, b as G, S as J, B as Q, Q as V, t as u, f as Y, J as R, p as k, D as E, r as Z, k as $, M as ee, q as w, h as ie, Y as te, e as X, I as C, a3 as se, g as S, a6 as f, U as ne, V as oe, W as ae, m as re, a as ce } from "./PlayerAccountController-Bd-Ammrb.js";
|
|
2
2
|
function le(t, e) {
|
|
3
|
-
|
|
3
|
+
K(t, e);
|
|
4
4
|
}
|
|
5
5
|
function be(t) {
|
|
6
6
|
G.set(t);
|
|
@@ -145,7 +145,7 @@ function ge(t) {
|
|
|
145
145
|
t[2];
|
|
146
146
|
},
|
|
147
147
|
m(a, r) {
|
|
148
|
-
E(a, e, r),
|
|
148
|
+
E(a, e, r), X(e, i), s || (c = C(
|
|
149
149
|
e,
|
|
150
150
|
"click",
|
|
151
151
|
/*toggleBiometrics*/
|
|
@@ -200,7 +200,7 @@ function fe(t) {
|
|
|
200
200
|
t[2];
|
|
201
201
|
},
|
|
202
202
|
m(r, l) {
|
|
203
|
-
E(r, e, l),
|
|
203
|
+
E(r, e, l), X(e, o), c || (a = C(
|
|
204
204
|
e,
|
|
205
205
|
"click",
|
|
206
206
|
/*click_handler*/
|
|
@@ -257,7 +257,7 @@ function Be(t, e, i) {
|
|
|
257
257
|
Object.keys(n).forEach((b) => {
|
|
258
258
|
le(b, n[b]);
|
|
259
259
|
});
|
|
260
|
-
},
|
|
260
|
+
}, U = () => {
|
|
261
261
|
fetch(l).then((b) => b.json()).then((b) => {
|
|
262
262
|
D(b);
|
|
263
263
|
}).catch((b) => {
|
|
@@ -265,9 +265,9 @@ function Be(t, e, i) {
|
|
|
265
265
|
});
|
|
266
266
|
};
|
|
267
267
|
D(me);
|
|
268
|
-
const
|
|
268
|
+
const j = () => {
|
|
269
269
|
be(s);
|
|
270
|
-
},
|
|
270
|
+
}, N = {
|
|
271
271
|
BIOMETRICS_RESPONSE: 3e3,
|
|
272
272
|
SHAKE_DURATION: 500
|
|
273
273
|
};
|
|
@@ -277,26 +277,26 @@ function Be(t, e, i) {
|
|
|
277
277
|
() => {
|
|
278
278
|
i(6, M = !1);
|
|
279
279
|
},
|
|
280
|
-
|
|
280
|
+
N.SHAKE_DURATION
|
|
281
281
|
);
|
|
282
|
-
},
|
|
282
|
+
}, A = () => {
|
|
283
283
|
d && clearTimeout(d), d = setTimeout(
|
|
284
284
|
() => {
|
|
285
285
|
i(5, g = !1), H(), I("error", o("errorMessage"));
|
|
286
286
|
},
|
|
287
|
-
|
|
287
|
+
N.BIOMETRICS_RESPONSE
|
|
288
288
|
);
|
|
289
289
|
}, v = async () => {
|
|
290
290
|
g || (i(5, g = !0), _ = !0, window.postMessage({
|
|
291
291
|
type: "ToggleBiometrics",
|
|
292
292
|
data: `${!y}`,
|
|
293
293
|
isFromLogin: p
|
|
294
|
-
}),
|
|
294
|
+
}), A());
|
|
295
295
|
}, x = (n) => {
|
|
296
296
|
n.data?.type === "NativeAppReady" && (i(0, B = !0), O()), n.data?.type === "BiometricsStatus" && (i(4, y = n.data.status || !1), i(5, g = !1), d && (clearTimeout(d), d = null), _ && (p || I("success", o(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
|
|
297
297
|
}, O = () => {
|
|
298
|
-
i(5, g = !0), window.postMessage({ type: "GetBiometricsStatus" }),
|
|
299
|
-
},
|
|
298
|
+
i(5, g = !0), window.postMessage({ type: "GetBiometricsStatus" }), A();
|
|
299
|
+
}, q = () => {
|
|
300
300
|
window.postMessage({ type: "CheckNativeApp" });
|
|
301
301
|
}, I = (n, b) => {
|
|
302
302
|
window.postMessage(
|
|
@@ -311,11 +311,11 @@ function Be(t, e, i) {
|
|
|
311
311
|
window.location.href
|
|
312
312
|
);
|
|
313
313
|
};
|
|
314
|
-
ee(() => (window.addEventListener("message", x), B === !0 ? O() :
|
|
314
|
+
ee(() => (window.addEventListener("message", x), B === !0 ? O() : q(), () => {
|
|
315
315
|
window.removeEventListener("message", x), h && h.unsubscribe(), d && clearTimeout(d);
|
|
316
316
|
}));
|
|
317
|
-
const
|
|
318
|
-
function
|
|
317
|
+
const P = () => v();
|
|
318
|
+
function W(n) {
|
|
319
319
|
ie[n ? "unshift" : "push"](() => {
|
|
320
320
|
m = n, i(3, m);
|
|
321
321
|
});
|
|
@@ -324,11 +324,11 @@ function Be(t, e, i) {
|
|
|
324
324
|
"lang" in n && i(9, s = n.lang), "clientstyling" in n && i(10, c = n.clientstyling), "clientstylingurl" in n && i(11, a = n.clientstylingurl), "mbsource" in n && i(12, r = n.mbsource), "translationurl" in n && i(13, l = n.translationurl), "isNativeApp" in n && i(0, B = n.isNativeApp), "mode" in n && i(1, T = n.mode), "isFromLogin" in n && i(14, p = n.isFromLogin), "isLoading" in n && i(2, L = n.isLoading);
|
|
325
325
|
}, t.$$.update = () => {
|
|
326
326
|
t.$$.dirty & /*lang*/
|
|
327
|
-
512 && s &&
|
|
327
|
+
512 && s && j(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
328
328
|
1032 && c && m && ne(m, c), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
329
329
|
2056 && a && m && oe(m, a), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
330
330
|
4104 && r && m && ae(m, `${r}.Style`, F), t.$$.dirty & /*translationurl*/
|
|
331
|
-
8192 && l &&
|
|
331
|
+
8192 && l && U(), t.$$.dirty & /*mbsource, translationurl, translationSubscription*/
|
|
332
332
|
45056 && r && !l && i(15, h = ue(`${r}.Translation`, h, D));
|
|
333
333
|
}, [
|
|
334
334
|
B,
|
|
@@ -347,8 +347,8 @@ function Be(t, e, i) {
|
|
|
347
347
|
l,
|
|
348
348
|
p,
|
|
349
349
|
h,
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
P,
|
|
351
|
+
W
|
|
352
352
|
];
|
|
353
353
|
}
|
|
354
354
|
class pe extends J {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var z = (t, e, i) => new Promise((n, s) => {
|
|
2
2
|
var c = (l) => {
|
|
3
3
|
try {
|
|
4
4
|
a(i.next(l));
|
|
@@ -14,7 +14,7 @@ var R = (t, e, i) => new Promise((n, s) => {
|
|
|
14
14
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(c, r);
|
|
15
15
|
a((i = i.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
17
|
+
import { c as J, b as Q, S as V, B as Y, Q as Z, t as u, f as $, J as X, p as k, D as E, r as ee, k as ie, M as te, q as w, h as se, Y as ne, e as F, I as U, a3 as oe, g as S, a6 as h, U as ae, V as re, W as ce, m as le, a as be } from "./PlayerAccountController-C6MS18Sd.js";
|
|
18
18
|
function me(t, e) {
|
|
19
19
|
J(t, e);
|
|
20
20
|
}
|
|
@@ -106,7 +106,7 @@ function ge(t, e, i) {
|
|
|
106
106
|
function fe(t) {
|
|
107
107
|
$(t, "svelte-4r3z7g", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));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}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}');
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function C(t) {
|
|
110
110
|
let e;
|
|
111
111
|
function i(c, r) {
|
|
112
112
|
if (
|
|
@@ -161,7 +161,7 @@ function he(t) {
|
|
|
161
161
|
t[2];
|
|
162
162
|
},
|
|
163
163
|
m(r, a) {
|
|
164
|
-
E(r, e, a),
|
|
164
|
+
E(r, e, a), F(e, i), s || (c = U(
|
|
165
165
|
e,
|
|
166
166
|
"click",
|
|
167
167
|
/*toggleBiometrics*/
|
|
@@ -216,7 +216,7 @@ function Be(t) {
|
|
|
216
216
|
t[2];
|
|
217
217
|
},
|
|
218
218
|
m(a, l) {
|
|
219
|
-
E(a, e, l),
|
|
219
|
+
E(a, e, l), F(e, n), c || (r = U(
|
|
220
220
|
e,
|
|
221
221
|
"click",
|
|
222
222
|
/*click_handler*/
|
|
@@ -245,7 +245,7 @@ function Be(t) {
|
|
|
245
245
|
function pe(t) {
|
|
246
246
|
let e, i = (
|
|
247
247
|
/*isNativeApp*/
|
|
248
|
-
t[0] &&
|
|
248
|
+
t[0] && C(t)
|
|
249
249
|
);
|
|
250
250
|
return {
|
|
251
251
|
c() {
|
|
@@ -256,10 +256,10 @@ function pe(t) {
|
|
|
256
256
|
},
|
|
257
257
|
p(n, [s]) {
|
|
258
258
|
/*isNativeApp*/
|
|
259
|
-
n[0] ? i ? i.p(n, s) : (i =
|
|
259
|
+
n[0] ? i ? i.p(n, s) : (i = C(n), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
260
260
|
},
|
|
261
|
-
i:
|
|
262
|
-
o:
|
|
261
|
+
i: X,
|
|
262
|
+
o: X,
|
|
263
263
|
d(n) {
|
|
264
264
|
n && k(e), i && i.d(n);
|
|
265
265
|
}
|
|
@@ -268,7 +268,7 @@ function pe(t) {
|
|
|
268
268
|
function ye(t, e, i) {
|
|
269
269
|
let n;
|
|
270
270
|
ie(t, be, (o) => i(7, n = o));
|
|
271
|
-
let { lang: s = "en" } = e, { clientstyling: c = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: a } = e, { translationurl: l = "" } = e, { isNativeApp: d = !1 } = e, { mode: T = "button" } = e, { isFromLogin: p = !1 } = e, { isLoading: L = !1 } = e, m,
|
|
271
|
+
let { lang: s = "en" } = e, { clientstyling: c = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: a } = e, { translationurl: l = "" } = e, { isNativeApp: d = !1 } = e, { mode: T = "button" } = e, { isFromLogin: p = !1 } = e, { isLoading: L = !1 } = e, m, j, B, g = null, y = !1, f = !1, _ = !1;
|
|
272
272
|
const D = (o) => {
|
|
273
273
|
Object.keys(o).forEach((b) => {
|
|
274
274
|
me(b, o[b]);
|
|
@@ -281,41 +281,41 @@ function ye(t, e, i) {
|
|
|
281
281
|
});
|
|
282
282
|
};
|
|
283
283
|
D(de);
|
|
284
|
-
const
|
|
284
|
+
const q = () => {
|
|
285
285
|
ue(s);
|
|
286
|
-
},
|
|
286
|
+
}, N = {
|
|
287
287
|
BIOMETRICS_RESPONSE: 3e3,
|
|
288
288
|
SHAKE_DURATION: 500
|
|
289
289
|
};
|
|
290
290
|
let M = !1;
|
|
291
|
-
const
|
|
291
|
+
const P = () => {
|
|
292
292
|
i(6, M = !0), setTimeout(
|
|
293
293
|
() => {
|
|
294
294
|
i(6, M = !1);
|
|
295
295
|
},
|
|
296
|
-
|
|
296
|
+
N.SHAKE_DURATION
|
|
297
297
|
);
|
|
298
|
-
},
|
|
298
|
+
}, A = () => {
|
|
299
299
|
g && clearTimeout(g), g = setTimeout(
|
|
300
300
|
() => {
|
|
301
|
-
i(5, f = !1),
|
|
301
|
+
i(5, f = !1), P(), I("error", n("errorMessage"));
|
|
302
302
|
},
|
|
303
|
-
|
|
303
|
+
N.BIOMETRICS_RESPONSE
|
|
304
304
|
);
|
|
305
|
-
}, v = () =>
|
|
305
|
+
}, v = () => z(this, null, function* () {
|
|
306
306
|
f || (i(5, f = !0), _ = !0, window.postMessage({
|
|
307
307
|
type: "ToggleBiometrics",
|
|
308
308
|
data: `${!y}`,
|
|
309
309
|
isFromLogin: p
|
|
310
|
-
}),
|
|
310
|
+
}), A());
|
|
311
311
|
}), x = (o) => {
|
|
312
|
-
var b,
|
|
313
|
-
((b = o.data) == null ? void 0 : b.type) === "NativeAppReady" && (i(0, d = !0), O()), ((
|
|
312
|
+
var b, R;
|
|
313
|
+
((b = o.data) == null ? void 0 : b.type) === "NativeAppReady" && (i(0, d = !0), O()), ((R = o.data) == null ? void 0 : R.type) === "BiometricsStatus" && (i(4, y = o.data.status || !1), i(5, f = !1), g && (clearTimeout(g), g = null), _ && (p || I("success", n(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
|
|
314
314
|
}, O = () => {
|
|
315
|
-
i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }),
|
|
316
|
-
},
|
|
315
|
+
i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }), A();
|
|
316
|
+
}, W = () => {
|
|
317
317
|
window.postMessage({ type: "CheckNativeApp" });
|
|
318
|
-
},
|
|
318
|
+
}, I = (o, b) => {
|
|
319
319
|
window.postMessage(
|
|
320
320
|
{
|
|
321
321
|
type: "WidgetNotification",
|
|
@@ -328,10 +328,10 @@ function ye(t, e, i) {
|
|
|
328
328
|
window.location.href
|
|
329
329
|
);
|
|
330
330
|
};
|
|
331
|
-
te(() => (window.addEventListener("message", x), d === !0 ? O() :
|
|
331
|
+
te(() => (window.addEventListener("message", x), d === !0 ? O() : W(), () => {
|
|
332
332
|
window.removeEventListener("message", x), B && B.unsubscribe(), g && clearTimeout(g);
|
|
333
333
|
}));
|
|
334
|
-
const
|
|
334
|
+
const K = () => v();
|
|
335
335
|
function G(o) {
|
|
336
336
|
se[o ? "unshift" : "push"](() => {
|
|
337
337
|
m = o, i(3, m);
|
|
@@ -341,10 +341,10 @@ function ye(t, e, i) {
|
|
|
341
341
|
"lang" in o && i(9, s = o.lang), "clientstyling" in o && i(10, c = o.clientstyling), "clientstylingurl" in o && i(11, r = o.clientstylingurl), "mbsource" in o && i(12, a = o.mbsource), "translationurl" in o && i(13, l = o.translationurl), "isNativeApp" in o && i(0, d = o.isNativeApp), "mode" in o && i(1, T = o.mode), "isFromLogin" in o && i(14, p = o.isFromLogin), "isLoading" in o && i(2, L = o.isLoading);
|
|
342
342
|
}, t.$$.update = () => {
|
|
343
343
|
t.$$.dirty & /*lang*/
|
|
344
|
-
512 && s &&
|
|
344
|
+
512 && s && q(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
345
345
|
1032 && c && m && ae(m, c), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
346
346
|
2056 && r && m && re(m, r), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
347
|
-
4104 && a && m && ce(m, `${a}.Style`,
|
|
347
|
+
4104 && a && m && ce(m, `${a}.Style`, j), t.$$.dirty & /*translationurl*/
|
|
348
348
|
8192 && l && H(), t.$$.dirty & /*mbsource, translationurl, translationSubscription*/
|
|
349
349
|
45056 && a && !l && i(15, B = ge(`${a}.Translation`, B, D));
|
|
350
350
|
}, [
|
|
@@ -364,7 +364,7 @@ function ye(t, e, i) {
|
|
|
364
364
|
l,
|
|
365
365
|
p,
|
|
366
366
|
B,
|
|
367
|
-
|
|
367
|
+
K,
|
|
368
368
|
G
|
|
369
369
|
];
|
|
370
370
|
}
|