@everymatrix/player-account-controller-nd 1.74.10 → 1.75.99
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-C52-PhwD.js → GeneralLogout-D030tuMl.js} +1298 -1284
- package/components/{GeneralLogout-C-KQBmk3.js → GeneralLogout-DqIgt_tx.js} +1322 -1308
- package/components/GeneralLogout-TofSUXEw.cjs +21 -0
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +1 -0
- package/components/PlayerAccountBettingHistory-BspqrGzf.js +310 -0
- package/components/PlayerAccountBettingHistory-Dl1_SAM4.js +311 -0
- package/components/{PlayerAccountBiometrics-C5FFOJ5V.js → PlayerAccountBiometrics-DsYJOGIk.js} +5 -5
- package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-N164JTVo.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DuvDCmjx.js → PlayerAccountBiometrics-YcohloWe.js} +5 -5
- package/components/{PlayerAccountClosureNd-BEMKT7IM.js → PlayerAccountClosureNd-B9z8p3ie.js} +6 -6
- package/components/{PlayerAccountClosureNd-CYHq0859.js → PlayerAccountClosureNd-C5CrElCk.js} +6 -6
- package/components/{PlayerAccountClosureNd-CMzRAP8U.cjs → PlayerAccountClosureNd-DFWHunWk.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-BLPNyTdD.cjs → PlayerAccountControllerNd-BIYxelWf.cjs} +1 -1
- package/components/PlayerAccountControllerNd-BnL3zttA.js +8883 -0
- package/components/PlayerAccountControllerNd-Brc1Pm9G.cjs +1 -0
- package/components/{PlayerAccountControllerNd-CkMeFrTH.js → PlayerAccountControllerNd-CQiByOpl.js} +215 -215
- package/components/PlayerAccountControllerNd-QNff2Pgi.js +8900 -0
- package/components/{PlayerAccountControllerNd-DVnO4_Om.js → PlayerAccountControllerNd-wYyuG8M1.js} +212 -212
- package/components/{PlayerAccountGamingLimits-B7ppWJQ6.js → PlayerAccountGamingLimits-CUtQADXZ.js} +124 -124
- package/components/{PlayerAccountGamingLimits-DMS9a3TN.js → PlayerAccountGamingLimits-CsAmDJwA.js} +124 -124
- package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-DLyOkU8g.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js → PlayerAccountGamingLimitsConfirmationModal-CKwL1tb1.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js → PlayerAccountGamingLimitsConfirmationModal-DXqRhhmC.js} +38 -38
- package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs → PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js → PlayerAccountGamingLimitsGroupEdit-Cj8Zh8WK.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js → PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js → PlayerAccountGamingLimitsHistory2Nd-BhLSHYdC.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs → PlayerAccountGamingLimitsHistory2Nd-CP6Lgi2e.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js → PlayerAccountGamingLimitsHistory2Nd-OS3hwfOI.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js → PlayerAccountGamingLimitsInfoCard-CLe77Gl9.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DjnVkaho.js → PlayerAccountGamingLimitsInfoCard-DsRCdtpt.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Cd8mrrqZ.js → PlayerAccountGamingLimitsPage2Gm16Nd-BRkHDHHU.js} +423 -416
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BMYVxNF1.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BZanq3Dj.cjs} +6 -6
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-C3w7JfjF.js +4235 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-CENUtyWC.js +4289 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DWUo_yOs.cjs +35 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-oZxq2GPD.js → PlayerAccountGamingLimitsPage2Gm16Nd-DvZCI9jR.js} +392 -385
- package/components/{PlayerAccountGamingLimitsPopup-lZ7y_RVP.js → PlayerAccountGamingLimitsPopup-B04Er6pi.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-1ObhRFHn.js → PlayerAccountGamingLimitsPopup-oQNgmn2e.js} +21 -21
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Bwnuz6Yq.js +1284 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DVmSDv2F.js → PlayerAccountGamingLimitsWrapper2Nd-GzdrBFqR.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-g_R5EsPn.cjs → PlayerAccountGamingLimitsWrapper2Nd-eFKelHQy.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-r_RFzIhz.js +1292 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-iMEe46CC.js → PlayerAccountGamingLimitsWrapper2Nd-u6W-W9e4.js} +6 -6
- package/components/PlayerAccountGamingLimitsWrapper2Nd-xKD7XYGD.cjs +4 -0
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-Bgat7eVE.js → PlayerAccountGeneralConfirmationModal-CukB9VCO.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-DrgjMSLh.js → PlayerAccountGeneralConfirmationModal-ESnfg5wk.js} +53 -53
- package/components/{PlayerAccountMenuNd-V9EOIgPS.js → PlayerAccountMenuNd-BIxULyK_.js} +7 -7
- package/components/{PlayerAccountMenuNd-alDPH0d2.js → PlayerAccountMenuNd-Dz2t35yx.js} +7 -7
- package/components/{PlayerAccountMenuNd-Yk5u12tl.cjs → PlayerAccountMenuNd-y2DyyHIy.cjs} +1 -1
- package/components/{PlayerAccountModal-9FK6eAt0.js → PlayerAccountModal-BUf_-0GM.js} +10 -10
- package/components/{PlayerAccountModal-DCsw7iyn.js → PlayerAccountModal-BZ_7luqG.js} +10 -10
- package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-DaIBO9tP.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-BbvJAh0S.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BVfKQdMA.js → PlayerAccountNotifications-CNm0Cac9.js} +6 -6
- package/components/{PlayerAccountNotifications-BzEDVvTZ.js → PlayerAccountNotifications-qzx6Peu-.js} +6 -6
- package/components/{PlayerAccountProductRestriction-BJ0LFpLp.cjs → PlayerAccountProductRestriction-DJUublp5.cjs} +268 -268
- package/components/{PlayerAccountProductRestriction-DmWDaeEI.js → PlayerAccountProductRestriction-Dj-GoA-Y.js} +2498 -2494
- package/components/{PlayerAccountProductRestriction-EAWMHqK4.js → PlayerAccountProductRestriction-k26MhfnT.js} +2521 -2517
- package/components/{PlayerAccountSelfExclusionNd-BLr1N-Bv.cjs → PlayerAccountSelfExclusionNd-AgJSFDnT.cjs} +152 -152
- package/components/{PlayerAccountSelfExclusionNd-CiB251y6.js → PlayerAccountSelfExclusionNd-BQtNrIGS.js} +825 -824
- package/components/{PlayerAccountSelfExclusionNd-BI74DoLY.js → PlayerAccountSelfExclusionNd-CNzMQ7eW.js} +844 -843
- package/components/{PlayerAccountTimeout-U0kgxhKU.cjs → PlayerAccountTimeout-BSSbDBi8.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BlJS9laL.js → PlayerAccountTimeout-CYyxjqJQ.js} +43 -43
- package/components/{PlayerAccountTimeout-GP0WHuhG.js → PlayerAccountTimeout-DTzfXl3o.js} +43 -43
- package/components/{PlayerAccountTransactionsHistory-hyaqdne0.js → PlayerAccountTransactionsHistory-Bj0KJm_X.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-D5lotPR-.js → PlayerAccountTransactionsHistory-BqN2JEaw.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-BxNwks5H.cjs → PlayerAccountTransactionsHistory-rH9fIVPg.cjs} +1 -1
- package/components/{PlayerActiveBonuses-zLuqH4eW.js → PlayerActiveBonuses-CG3MShje.js} +6 -6
- package/components/{PlayerActiveBonuses-Me5Q3o65.cjs → PlayerActiveBonuses-VMRnoY1_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-D4OBnwNa.js → PlayerActiveBonuses-_5tMeqW1.js} +6 -6
- package/components/{PlayerBonusCard-BhW_g3sH.js → PlayerBonusCard-JxCswDEv.js} +7 -7
- package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-KehruUku.cjs} +1 -1
- package/components/{PlayerBonusCard-BbRQx8Gg.js → PlayerBonusCard-PjFBuYOQ.js} +7 -7
- package/components/{PlayerBonusHistory-BxbtWY0l.js → PlayerBonusHistory-BJxVpVed.js} +7 -7
- package/components/{PlayerBonusHistory-C_uP6nBB.js → PlayerBonusHistory-D4fHekky.js} +7 -7
- package/components/{PlayerBonusHistory-BmeRyaDK.cjs → PlayerBonusHistory-WEjZxD6T.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-DUzbCK4p.js → PlayerChangePasswordNd-BNKqXdus.js} +4 -4
- package/components/{PlayerChangePasswordNd-DSIi_04v.cjs → PlayerChangePasswordNd-DcgU3jc2.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-DWsHRVAH.js → PlayerChangePasswordNd-DeLVgl-F.js} +4 -4
- package/components/PlayerDeposit-BLDWbMBK.cjs +1 -0
- package/components/{PlayerDeposit-BeGgsgNu.js → PlayerDeposit-CNQfct0C.js} +73 -73
- package/components/{PlayerDeposit-CI5GIyAe.js → PlayerDeposit-DGv0xh8z.js} +73 -73
- package/components/{PlayerGamingHistory-DEgVt4st.js → PlayerGamingHistory-BGfVusNu.js} +60 -60
- package/components/{PlayerGamingHistory-F3yi70Vu.cjs → PlayerGamingHistory-BxN4Cjj3.cjs} +1 -1
- package/components/{PlayerGamingHistory-BJQKapHg.js → PlayerGamingHistory-wT_xKClx.js} +53 -53
- package/components/{PlayerPendingWithdrawals-BL4JTLkC.js → PlayerPendingWithdrawals-BB2HoABl.js} +6 -6
- package/components/{PlayerPendingWithdrawals-o6_OjL5C.js → PlayerPendingWithdrawals-BizDJ0F9.js} +6 -6
- package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-DfQ_PvkY.cjs} +1 -1
- package/components/{PlayerProfileInfo-xRMbiw1T.js → PlayerProfileInfo-C-g4XepU.js} +95 -95
- package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CKJNYYA8.cjs} +1 -1
- package/components/{PlayerProfileInfo-D0A3aRV_.js → PlayerProfileInfo-Cnl1XufF.js} +108 -108
- package/components/{PlayerRealityCheck-BEiZhn6p.js → PlayerRealityCheck-BBmsx1va.js} +6 -6
- package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-Cq2rIALW.cjs} +1 -1
- package/components/{PlayerRealityCheck-CYU_NrFB.js → PlayerRealityCheck-P7wFyweE.js} +6 -6
- package/components/{PlayerTransactionHistory-BS1LjP09.js → PlayerTransactionHistory-CqY9DKiK.js} +6 -6
- package/components/{PlayerTransactionHistory-DdbQZ6mw.js → PlayerTransactionHistory-DN6FJ2lh.js} +6 -6
- package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-DPvvu8Wp.cjs} +1 -1
- package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-BcaC1sEF.cjs} +1 -1
- package/components/{PlayerWithdrawal-DGN4Y9QP.js → PlayerWithdrawal-lAVd0flG.js} +6 -6
- package/components/{PlayerWithdrawal-DOec04Iq.js → PlayerWithdrawal-oEAQeQgU.js} +6 -6
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-BzU_0jJ_.js → checkbox-group-input_15-B47EbzkJ.js} +3227 -3221
- package/stencil/{checkbox-group-input_15-7ljokaYC.js → checkbox-group-input_15-BBaHCJ8m.js} +3231 -3225
- package/stencil/{checkbox-group-input_15-Fs7-YN7u.cjs → checkbox-group-input_15-BPXIBJ9O.cjs} +271 -271
- package/stencil/checkbox-group-input_15-C-tu3w4x.cjs +6305 -0
- package/stencil/checkbox-group-input_15-Crm4FsV9.js +19787 -0
- package/stencil/checkbox-group-input_15-DgfJh8az.js +19787 -0
- package/stencil/index-13661b98-8UaEvsFO.js +595 -0
- package/stencil/index-13661b98-BR0rdAwz.cjs +1 -0
- package/stencil/index-13661b98-BzYpZXJ-.js +595 -0
- package/stencil/{index-13661b98-BJM2hHx6.js → index-13661b98-D93Apl47.js} +124 -124
- package/stencil/index-13661b98-DBuU9Lk0.cjs +1 -0
- package/stencil/{index-13661b98-Cty_Ct2m.js → index-13661b98-y1Pmtmkx.js} +198 -182
- package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-BJwg6KZV.js} +201 -201
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +1 -0
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +556 -0
- package/stencil/index-6e523641-078VKWzv.js +627 -0
- package/stencil/index-6e523641-BzXfsijo.cjs +1 -0
- package/stencil/index-6e523641-Q8F9VHK2.js +654 -0
- package/stencil/{index-7c5e707a-B54Yjxc3.js → index-7c5e707a-BZ26MA7_.js} +135 -135
- package/stencil/{index-7c5e707a-BHFN5Fx4.js → index-7c5e707a-CVVnpkZ1.js} +145 -145
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +1 -0
- package/stencil/{index-9c0f6c58-Ucwc3Jk1.js → index-9c0f6c58-8sXzcKbt.js} +223 -223
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +1 -0
- package/stencil/{index-9c0f6c58-GCIFeGLp.js → index-9c0f6c58-DH5Ki39B.js} +118 -118
- package/stencil/{index-b2193545-LzjWxki5.js → index-b2193545-BekNYO1T.js} +176 -176
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/{index-b2193545-DPKCFIaU.js → index-b2193545-DfDFpDFs.js} +169 -169
- package/stencil/{pam-change-password-DSAfkY23.js → pam-change-password-9bMd9dOQ.js} +1 -1
- package/stencil/pam-change-password-BK3IrP-3.js +25 -0
- package/stencil/pam-change-password-BeaU-3Ut.js +7 -0
- package/stencil/pam-change-password-BzyWRqhJ.cjs +1 -0
- package/stencil/{pam-change-password-mcRyjsPo.cjs → pam-change-password-D9deCtek.cjs} +1 -1
- package/stencil/{pam-change-password-af5033a0-BfWHc1Rw.js → pam-change-password-af5033a0-BdPXYjRb.js} +59 -59
- package/stencil/{pam-change-password-af5033a0-C18GwNdS.cjs → pam-change-password-af5033a0-CPFagM2l.cjs} +2 -2
- package/stencil/{pam-change-password-af5033a0-DYGjeRTR.js → pam-change-password-af5033a0-CXI6y6VZ.js} +59 -59
- package/stencil/pam-change-password-c578e291-B-RrWGEo.js +494 -0
- package/stencil/pam-change-password-c578e291-BZDon57y.js +494 -0
- package/stencil/pam-change-password-c578e291-Dh2wXnbm.cjs +125 -0
- package/stencil/{pam-change-password-Bdu7Bk_h.js → pam-change-password-h1ivBSP6.js} +1 -1
- package/stencil/{player-kyc-verification-Wsswi9br.js → player-kyc-verification-BJuBsd7A.js} +1 -1
- package/stencil/{player-kyc-verification-D10m225z.cjs → player-kyc-verification-DW2tWbg_.cjs} +1 -1
- package/stencil/{player-kyc-verification-B9ZaCq1K.js → player-kyc-verification-u-XUlDen.js} +1 -1
- package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-B7dnuKq0.js} +45 -45
- package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-KqJCF9Hl.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-ar8K3Kn7.js} +45 -45
- package/stencil/user-transaction-history-8J3-J0I0.js +7 -0
- package/stencil/user-transaction-history-Ch7DwPng.cjs +1 -0
- package/stencil/{user-transaction-history-D0jBcRwe.js → user-transaction-history-D86WcqZY.js} +588 -588
- package/stencil/user-transaction-history-DeLTrl8E.js +25 -0
- package/stencil/{user-transaction-history-BrBScppC.js → user-transaction-history-o1zvVNkt.js} +600 -600
- package/stencil/user-transaction-history-xgpDQYWU.cjs +1 -0
- package/stencil/user-transaction-history_2-B4YDWP13.js +3535 -0
- package/stencil/user-transaction-history_2-BxjAG99A.cjs +2 -0
- package/stencil/user-transaction-history_2-MG1TmhMo.js +3557 -0
- package/components/GeneralLogout-COm1JcKW.cjs +0 -21
- package/components/PlayerAccountBettingHistory-5QM3bGgT.js +0 -310
- package/components/PlayerAccountBettingHistory-B91V20F2.js +0 -311
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
- package/components/PlayerDeposit-CmBFg6tX.cjs +0 -1
- package/stencil/index-13661b98-DuhNdmHd.cjs +0 -1
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
- package/stencil/index-1ef3a64c-DQk1yZfC.js +0 -556
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +0 -1
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +0 -1
- package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
- package/stencil/user-transaction-history-HA_tfHfo.cjs +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var o = (l, i, a) => new Promise((s, d) => {
|
|
2
|
+
var u = (e) => {
|
|
3
|
+
try {
|
|
4
|
+
t(a.next(e));
|
|
5
|
+
} catch (n) {
|
|
6
|
+
d(n);
|
|
7
|
+
}
|
|
8
|
+
}, g = (e) => {
|
|
9
|
+
try {
|
|
10
|
+
t(a.throw(e));
|
|
11
|
+
} catch (n) {
|
|
12
|
+
d(n);
|
|
13
|
+
}
|
|
14
|
+
}, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(u, g);
|
|
15
|
+
t((a = a.apply(l, i)).next());
|
|
16
|
+
});
|
|
17
|
+
import { b as p, p as r } from "./index-13661b98-y1Pmtmkx.js";
|
|
18
|
+
import { g as c } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
|
+
var m = () => {
|
|
20
|
+
const l = import.meta.url, i = {};
|
|
21
|
+
return l !== "" && (i.resourcesUrl = new URL(".", l).href), r(i);
|
|
22
|
+
};
|
|
23
|
+
m().then((l) => o(void 0, null, function* () {
|
|
24
|
+
return yield c(), p([["checkbox-group-input_15", [[1, "pam-change-password", { language: [513], endpoint: [513], session: [513], token: [513], forgotMode: [513, "forgot-mode"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [1, "mb-source"], translationUrl: [513, "translation-url"], isBtnSubmitEnabled: [32], isSkeletonLoading: [32], isMobile: [32] }, [[0, "sendValidityState", "sendValidityStateHandler"], [0, "sendInputValue", "sendInputValueHandler"]], { clientStyling: ["handleClientStylingChange", "handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1] }, null, { structure: ["handleStructureChange"] }], [1, "general-input", { type: [513], name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], validation: [16], options: [520], language: [513], autofilled: [516], tooltip: [513], defaultValue: [520, "default-value"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], hidePasswordComplexity: [516, "hide-password-complexity"], noValidation: [516, "no-validation"], clientStyling: [520, "client-styling"], dateFormat: [513, "date-format"], translationUrl: [513, "translation-url"], emitOnClick: [516, "emit-on-click"], twofaDestination: [513, "twofa-destination"], twofaResendIntervalSeconds: [514, "twofa-resend-interval-seconds"] }], [1, "toggle-checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], options: [16], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], showFields: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"] }], [1, "checkbox-group-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], selectedValues: [32], showCheckboxes: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], selectedValues: ["setValue"], emitValue: ["emitValueHandler"] }], [1, "checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "date-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], dateFormat: [513, "date-format"], emitOnClick: [516, "emit-on-click"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "email-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "number-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "password-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], noValidation: [516, "no-validation"], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], hidePasswordComplexity: [516, "hide-password-complexity"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32], passwordComplexity: [32], showPopup: [32], value: [32] }, [[16, "sendOriginalValidityState", "originalValidityChangedHandler"], [16, "sendInputValue", "valueChangedHandler"], [4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], value: ["valueChanged"], emitValue: ["emitValueHandler"] }], [1, "radio-input", { name: [513], displayName: [513, "display-name"], optionsGroup: [16], validation: [16], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "select-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "tel-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], showLabels: [516, "show-labels"], action: [513], validation: [16], defaultValue: [520, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "text-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], checkValidity: [516, "check-validity"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"], [16, "validationChange", "handleValidationChange"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "twofa-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], tooltip: [513], language: [513], emitValue: [516, "emit-value"], destination: [513], resendIntervalSeconds: [514, "resend-interval-seconds"], clientStyling: [513, "client-styling"], limitStylingAppends: [32], isValid: [32], isResendButtonAvailable: [32], showTooltip: [32], errorMessage: [32], code: [32], resendIntervalSecondsLeft: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }]]]], l);
|
|
25
|
+
}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { b as i, p as a } from "./index-13661b98-8UaEvsFO.js";
|
|
2
|
+
import { g as t } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
3
|
+
var n = () => {
|
|
4
|
+
const e = import.meta.url, l = {};
|
|
5
|
+
return e !== "" && (l.resourcesUrl = new URL(".", e).href), a(l);
|
|
6
|
+
};
|
|
7
|
+
n().then(async (e) => (await t(), i([["checkbox-group-input_15", [[1, "pam-change-password", { language: [513], endpoint: [513], session: [513], token: [513], forgotMode: [513, "forgot-mode"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [1, "mb-source"], translationUrl: [513, "translation-url"], isBtnSubmitEnabled: [32], isSkeletonLoading: [32], isMobile: [32] }, [[0, "sendValidityState", "sendValidityStateHandler"], [0, "sendInputValue", "sendInputValueHandler"]], { clientStyling: ["handleClientStylingChange", "handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }], [0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1] }, null, { structure: ["handleStructureChange"] }], [1, "general-input", { type: [513], name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], validation: [16], options: [520], language: [513], autofilled: [516], tooltip: [513], defaultValue: [520, "default-value"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], hidePasswordComplexity: [516, "hide-password-complexity"], noValidation: [516, "no-validation"], clientStyling: [520, "client-styling"], dateFormat: [513, "date-format"], translationUrl: [513, "translation-url"], emitOnClick: [516, "emit-on-click"], twofaDestination: [513, "twofa-destination"], twofaResendIntervalSeconds: [514, "twofa-resend-interval-seconds"] }], [1, "toggle-checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], options: [16], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], showFields: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"] }], [1, "checkbox-group-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32], selectedValues: [32], showCheckboxes: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], selectedValues: ["setValue"], emitValue: ["emitValueHandler"] }], [1, "checkbox-input", { name: [513], displayName: [513, "display-name"], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "date-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], dateFormat: [513, "date-format"], emitOnClick: [516, "emit-on-click"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "email-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "number-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "password-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], validation: [16], noValidation: [516, "no-validation"], language: [513], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], hidePasswordComplexity: [516, "hide-password-complexity"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32], passwordComplexity: [32], showPopup: [32], value: [32] }, [[16, "sendOriginalValidityState", "originalValidityChangedHandler"], [16, "sendInputValue", "valueChangedHandler"], [4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], value: ["valueChanged"], emitValue: ["emitValueHandler"] }], [1, "radio-input", { name: [513], displayName: [513, "display-name"], optionsGroup: [16], validation: [16], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "select-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], action: [513], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], options: [16], validation: [16], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], errorMessage: [32], isValid: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "tel-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], showLabels: [516, "show-labels"], action: [513], validation: [16], defaultValue: [520, "default-value"], autofilled: [516], tooltip: [513], language: [513], emitValue: [516, "emit-value"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "text-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], defaultValue: [513, "default-value"], autofilled: [516], tooltip: [513], language: [513], checkValidity: [516, "check-validity"], emitValue: [516, "emit-value"], isDuplicateInput: [516, "is-duplicate-input"], clientStyling: [513, "client-styling"], isValid: [32], errorMessage: [32], limitStylingAppends: [32], showTooltip: [32] }, [[4, "click", "handleClickOutside"], [16, "sendInputValue", "valueChangedHandler"], [16, "validationChange", "handleValidationChange"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }], [1, "twofa-input", { name: [513], displayName: [513, "display-name"], placeholder: [513], validation: [16], tooltip: [513], language: [513], emitValue: [516, "emit-value"], destination: [513], resendIntervalSeconds: [514, "resend-interval-seconds"], clientStyling: [513, "client-styling"], limitStylingAppends: [32], isValid: [32], isResendButtonAvailable: [32], showTooltip: [32], errorMessage: [32], code: [32], resendIntervalSecondsLeft: [32] }, [[4, "click", "handleClickOutside"]], { clientStyling: ["handleStylingChange"], isValid: ["validityChanged"], emitValue: ["emitValueHandler"] }]]]], e)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var o=(l,i,a)=>new Promise((g,s)=>{var r=e=>{try{t(a.next(e))}catch(n){s(n)}},c=e=>{try{t(a.throw(e))}catch(n){s(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(r,c);t((a=a.apply(l,i)).next())});const u=require("./index-13661b98-BR0rdAwz.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs");var d=typeof document!="undefined"?document.currentScript:null,m=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/pam-change-password-BzyWRqhJ.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),u.promiseResolve(i)};m().then(l=>o(exports,null,function*(){return yield p.globalScripts(),u.bootstrapLazy([["checkbox-group-input_15",[[1,"pam-change-password",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isSkeletonLoading:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],noValidation:[516,"no-validation"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"],twofaDestination:[513,"twofa-destination"],twofaResendIntervalSeconds:[514,"twofa-resend-interval-seconds"]}],[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}],[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32],showCheckboxes:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],noValidation:[516,"no-validation"],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"twofa-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],destination:[513],resendIntervalSeconds:[514,"resend-interval-seconds"],clientStyling:[513,"client-styling"],limitStylingAppends:[32],isValid:[32],isResendButtonAvailable:[32],showTooltip:[32],errorMessage:[32],code:[32],resendIntervalSecondsLeft:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]]],l)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var o=(l,i,a)=>new Promise((g,s)=>{var r=e=>{try{t(a.next(e))}catch(n){s(n)}},c=e=>{try{t(a.throw(e))}catch(n){s(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(r,c);t((a=a.apply(l,i)).next())});const u=require("./index-13661b98-
|
|
1
|
+
"use strict";var o=(l,i,a)=>new Promise((g,s)=>{var r=e=>{try{t(a.next(e))}catch(n){s(n)}},c=e=>{try{t(a.throw(e))}catch(n){s(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(r,c);t((a=a.apply(l,i)).next())});const u=require("./index-13661b98-DBuU9Lk0.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs");var d=typeof document!="undefined"?document.currentScript:null,m=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/pam-change-password-D9deCtek.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),u.promiseResolve(i)};m().then(l=>o(exports,null,function*(){return yield p.globalScripts(),u.bootstrapLazy([["checkbox-group-input_15",[[1,"pam-change-password",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isSkeletonLoading:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"],twofaDestination:[513,"twofa-destination"],twofaResendIntervalSeconds:[514,"twofa-resend-interval-seconds"]}],[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}],[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32],showCheckboxes:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"twofa-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],destination:[513],resendIntervalSeconds:[514,"resend-interval-seconds"],clientStyling:[513,"client-styling"],limitStylingAppends:[32],isValid:[32],isResendButtonAvailable:[32],showTooltip:[32],errorMessage:[32],code:[32],resendIntervalSecondsLeft:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]]],l)}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as p, h as s } from "./index-13661b98-
|
|
1
|
+
import { r as p, h as s } from "./index-13661b98-BzYpZXJ-.js";
|
|
2
2
|
const g = "en", w = {
|
|
3
3
|
en: {
|
|
4
4
|
title: "Change Password",
|
|
@@ -168,55 +168,55 @@ const g = "en", w = {
|
|
|
168
168
|
passwordContainsFirstNameAndLastName: "Password should not contain first name and last name.",
|
|
169
169
|
passwordContainsDateOfBirth: "Password should not contain date of birth."
|
|
170
170
|
}
|
|
171
|
-
}, P = (
|
|
172
|
-
fetch(
|
|
173
|
-
Object.keys(
|
|
174
|
-
for (let o in
|
|
175
|
-
w[t][o] =
|
|
171
|
+
}, P = (a) => new Promise((n) => {
|
|
172
|
+
fetch(a).then((e) => e.json()).then((e) => {
|
|
173
|
+
Object.keys(e).forEach((t) => {
|
|
174
|
+
for (let o in e[t])
|
|
175
|
+
w[t][o] = e[t][o];
|
|
176
176
|
}), n(!0);
|
|
177
177
|
});
|
|
178
|
-
}), i = (
|
|
178
|
+
}), i = (a, n, e) => {
|
|
179
179
|
const t = n;
|
|
180
|
-
let o = w[t !== void 0 ? t : g][
|
|
181
|
-
if (
|
|
182
|
-
for (const [
|
|
183
|
-
const
|
|
184
|
-
o = o.replace(
|
|
180
|
+
let o = w[t !== void 0 ? t : g][a];
|
|
181
|
+
if (e !== void 0)
|
|
182
|
+
for (const [l, r] of Object.entries(e.values)) {
|
|
183
|
+
const d = new RegExp(`{${l}}`, "g");
|
|
184
|
+
o = o.replace(d, r);
|
|
185
185
|
}
|
|
186
186
|
return o;
|
|
187
187
|
};
|
|
188
188
|
function c() {
|
|
189
|
-
const
|
|
190
|
-
if (
|
|
189
|
+
const a = navigator.userAgent.toLowerCase(), n = screen.availWidth, e = screen.availHeight;
|
|
190
|
+
if (a.includes("iphone"))
|
|
191
191
|
return "mobile";
|
|
192
|
-
if (
|
|
193
|
-
if (
|
|
192
|
+
if (a.includes("android")) {
|
|
193
|
+
if (e > n && n < 800)
|
|
194
194
|
return "mobile";
|
|
195
|
-
if (n >
|
|
195
|
+
if (n > e && e < 800)
|
|
196
196
|
return "tablet";
|
|
197
197
|
}
|
|
198
198
|
return "desktop";
|
|
199
199
|
}
|
|
200
|
-
function m(
|
|
201
|
-
if (
|
|
202
|
-
const
|
|
203
|
-
|
|
200
|
+
function m(a, n) {
|
|
201
|
+
if (a) {
|
|
202
|
+
const e = document.createElement("style");
|
|
203
|
+
e.innerHTML = n, a.appendChild(e);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
function h(
|
|
207
|
-
const
|
|
208
|
-
fetch(
|
|
206
|
+
function h(a, n) {
|
|
207
|
+
const e = new URL(n);
|
|
208
|
+
fetch(e.href).then((t) => t.text()).then((t) => {
|
|
209
209
|
const o = document.createElement("style");
|
|
210
|
-
o.innerHTML = t,
|
|
210
|
+
o.innerHTML = t, a && a.appendChild(o);
|
|
211
211
|
}).catch((t) => {
|
|
212
212
|
console.error("There was an error while trying to load client styling from URL", t);
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
|
-
function f(
|
|
215
|
+
function f(a, n, e) {
|
|
216
216
|
if (window.emMessageBus) {
|
|
217
217
|
const t = document.createElement("style");
|
|
218
218
|
window.emMessageBus.subscribe(n, (o) => {
|
|
219
|
-
t.innerHTML = o,
|
|
219
|
+
t.innerHTML = o, a && a.appendChild(t);
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -345,8 +345,8 @@ const y = `:host {
|
|
|
345
345
|
opacity: 1;
|
|
346
346
|
}
|
|
347
347
|
}`, C = y, b = class {
|
|
348
|
-
constructor(
|
|
349
|
-
p(this,
|
|
348
|
+
constructor(a) {
|
|
349
|
+
p(this, a), this.currentPasswordValue = "", this.newPasswordValue = "", this.confirmPasswordValue = "", this.isCurrentPasswordValid = !1, this.isNewPasswordValid = !1, this.isConfirmPasswordValid = !1, this.errorMsg = "", this.currentPasswordValidationSchema = { mandatory: !0, custom: [] }, this.newPasswordValidationSchema = { mandatory: !0, custom: [] }, this.confirmPasswordValidationSchema = { mandatory: !0, custom: [] }, this.initValidationSchemas = () => {
|
|
350
350
|
this.confirmPasswordValidationSchema = {
|
|
351
351
|
mandatory: !0,
|
|
352
352
|
maxLength: this.policy.maximumPasswordLength,
|
|
@@ -365,19 +365,19 @@ const y = `:host {
|
|
|
365
365
|
minLength: this.policy.minimumPasswordLength,
|
|
366
366
|
custom: this.policy.customValidationRules
|
|
367
367
|
};
|
|
368
|
-
}, this.setErrorMsg = (n,
|
|
369
|
-
var t, o,
|
|
368
|
+
}, this.setErrorMsg = (n, e) => {
|
|
369
|
+
var t, o, l;
|
|
370
370
|
switch (n) {
|
|
371
371
|
case "gm.pms.password_policy_failed":
|
|
372
|
-
if (((o = (t =
|
|
372
|
+
if (((o = (t = e?.errors) === null || t === void 0 ? void 0 : t.policy) === null || o === void 0 ? void 0 : o.length) > 0) {
|
|
373
373
|
const r = {
|
|
374
374
|
forbiddenLastPasswordsCount: this.policy.forbiddenLastPasswordsCount,
|
|
375
375
|
minimumPasswordAgeLimitHours: this.policy.minimumPasswordAgeLimitHours,
|
|
376
376
|
hours: this.policy.minimumPasswordAgeLimitHours > 1 ? "hours" : "hour"
|
|
377
377
|
};
|
|
378
378
|
this.errorMsg = i(n, this.language, { values: r });
|
|
379
|
-
} else if (!((
|
|
380
|
-
const r =
|
|
379
|
+
} else if (!((l = e?.errors) === null || l === void 0) && l.strength && Array.isArray(e.errors.strength)) {
|
|
380
|
+
const r = e.errors.strength.map((d) => {
|
|
381
381
|
const u = {
|
|
382
382
|
"Password should not contain first name.": "passwordContainsFirstName",
|
|
383
383
|
"Password should not contain last name.": "passwordContainsLastName",
|
|
@@ -386,8 +386,8 @@ const y = `:host {
|
|
|
386
386
|
"Password should not contain first name + last name.": "passwordContainsFirstNamePlusLastName",
|
|
387
387
|
"Password should not contain first name and last name.": "passwordContainsFirstNameAndLastName",
|
|
388
388
|
"Password should not contain date of birth.": "passwordContainsDateOfBirth"
|
|
389
|
-
}[
|
|
390
|
-
return u ? i(u, this.language) :
|
|
389
|
+
}[d] || null;
|
|
390
|
+
return u ? i(u, this.language) : d;
|
|
391
391
|
});
|
|
392
392
|
this.errorMsg = r.join(" ");
|
|
393
393
|
}
|
|
@@ -401,15 +401,15 @@ const y = `:host {
|
|
|
401
401
|
}, this.toggleScreen = () => {
|
|
402
402
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
403
403
|
}, this.getPolicy = () => {
|
|
404
|
-
const n = new URL("/api/v1/players/password-management/password", this.endpoint),
|
|
405
|
-
|
|
404
|
+
const n = new URL("/api/v1/players/password-management/password", this.endpoint), e = new Headers();
|
|
405
|
+
e.append("Accept", "text/plain"), e.append("Content-Type", "application/json-patch+json");
|
|
406
406
|
const t = {
|
|
407
407
|
method: "GET",
|
|
408
|
-
headers:
|
|
408
|
+
headers: e
|
|
409
409
|
};
|
|
410
410
|
fetch(n.href, t).then((o) => o.status === 200 && o.json()).then((o) => {
|
|
411
|
-
this.policy = o, this.policy.customValidationRules.forEach((
|
|
412
|
-
|
|
411
|
+
this.policy = o, this.policy.customValidationRules.forEach((l) => {
|
|
412
|
+
l.rule = l.rule.toLowerCase(), l.rule === "duplicateinput" && (l.rule = "duplicate-input");
|
|
413
413
|
}), this.initValidationSchemas();
|
|
414
414
|
}).catch((o) => {
|
|
415
415
|
console.error(`${i("errorMsgGeneric", this.language)}:`, o), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: i("errorMsgGeneric", this.language) } }, window.location.href);
|
|
@@ -418,53 +418,53 @@ const y = `:host {
|
|
|
418
418
|
});
|
|
419
419
|
}, this.submitNewPassword = (n) => {
|
|
420
420
|
if (n.preventDefault(), this.isBtnSubmitEnabled) {
|
|
421
|
-
const
|
|
421
|
+
const e = new URL("/api/v1/players/password-management/password", this.endpoint), t = new Headers();
|
|
422
422
|
t.append("accept", "text/plain"), t.append("Content-Type", "application/json-patch+json");
|
|
423
423
|
const o = JSON.stringify({
|
|
424
424
|
token: this.forgotMode === "true" ? this.token : this.session,
|
|
425
425
|
oldPassword: this.currentPasswordValue,
|
|
426
426
|
newPassword: this.confirmPasswordValue
|
|
427
|
-
}),
|
|
427
|
+
}), l = {
|
|
428
428
|
method: "PUT",
|
|
429
429
|
headers: t,
|
|
430
430
|
body: o
|
|
431
431
|
};
|
|
432
|
-
fetch(
|
|
432
|
+
fetch(e.href, l).then((r) => r.json()).then((r) => {
|
|
433
433
|
r.errorCode === null && r.message === "pms.password.update.success" ? (window.postMessage({ type: "PasswordChangedSuccessfully" }), window.postMessage({ type: "WidgetNotification", data: { type: "success", message: i("successMsg", this.language) } }, window.location.href)) : (this.setErrorMsg(r.message, r), window.postMessage({ type: "WidgetNotification", data: { type: "error", message: this.errorMsg } }, window.location.href));
|
|
434
434
|
}).catch((r) => console.error(r));
|
|
435
435
|
}
|
|
436
436
|
}, this.language = "en", this.endpoint = "", this.session = "", this.token = "", this.forgotMode = "", this.clientStyling = "", this.clientStylingUrl = "", this.mbSource = void 0, this.translationUrl = "", this.isBtnSubmitEnabled = !1, this.isSkeletonLoading = !0, this.isMobile = c() === "mobile" || c() === "tablet";
|
|
437
437
|
}
|
|
438
|
-
handleClientStylingChange(
|
|
439
|
-
|
|
438
|
+
handleClientStylingChange(a, n) {
|
|
439
|
+
a != n && m(this.stylingContainer, this.clientStyling);
|
|
440
440
|
}
|
|
441
|
-
handleClientStylingUrlChange(
|
|
442
|
-
|
|
441
|
+
handleClientStylingUrlChange(a, n) {
|
|
442
|
+
a != n && this.clientStylingUrl && h(this.stylingContainer, this.clientStylingUrl);
|
|
443
443
|
}
|
|
444
|
-
sendValidityStateHandler(
|
|
445
|
-
switch (this.isBtnSubmitEnabled = !1,
|
|
444
|
+
sendValidityStateHandler(a) {
|
|
445
|
+
switch (this.isBtnSubmitEnabled = !1, a.detail.name) {
|
|
446
446
|
case "password":
|
|
447
|
-
this.isCurrentPasswordValid =
|
|
447
|
+
this.isCurrentPasswordValid = a.detail.valid;
|
|
448
448
|
break;
|
|
449
449
|
case "newPassword":
|
|
450
|
-
this.isNewPasswordValid =
|
|
450
|
+
this.isNewPasswordValid = a.detail.valid;
|
|
451
451
|
break;
|
|
452
452
|
case "newPasswordDuplicate":
|
|
453
|
-
this.isConfirmPasswordValid =
|
|
453
|
+
this.isConfirmPasswordValid = a.detail.valid;
|
|
454
454
|
break;
|
|
455
455
|
}
|
|
456
456
|
(this.forgotMode === "true" || this.isCurrentPasswordValid) && this.isNewPasswordValid && this.isConfirmPasswordValid && (this.isBtnSubmitEnabled = !0);
|
|
457
457
|
}
|
|
458
|
-
sendInputValueHandler(
|
|
459
|
-
switch (
|
|
458
|
+
sendInputValueHandler(a) {
|
|
459
|
+
switch (a.detail.name) {
|
|
460
460
|
case "password":
|
|
461
|
-
this.currentPasswordValue =
|
|
461
|
+
this.currentPasswordValue = a.detail.value;
|
|
462
462
|
break;
|
|
463
463
|
case "newPassword":
|
|
464
|
-
this.newPasswordValue =
|
|
464
|
+
this.newPasswordValue = a.detail.value;
|
|
465
465
|
break;
|
|
466
466
|
case "newPasswordDuplicate":
|
|
467
|
-
this.confirmPasswordValue =
|
|
467
|
+
this.confirmPasswordValue = a.detail.value;
|
|
468
468
|
break;
|
|
469
469
|
}
|
|
470
470
|
}
|
|
@@ -479,7 +479,7 @@ const y = `:host {
|
|
|
479
479
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
480
480
|
}
|
|
481
481
|
render() {
|
|
482
|
-
return this.isSkeletonLoading ? s("div", { class: "PlayerChangePassword skeleton" }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn" }, s("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), s("section", { class: "FieldsSection" }, s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), s("section", { class: "ButtonsSection" }, s("div", { class: "Button" }, s("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : s("div", { class: "PlayerChangePassword", ref: (
|
|
482
|
+
return this.isSkeletonLoading ? s("div", { class: "PlayerChangePassword skeleton" }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn" }, s("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), s("section", { class: "FieldsSection" }, s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), s("div", { class: "FieldContainer" }, s("div", { class: "FieldTitle" }, s("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), s("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), s("section", { class: "ButtonsSection" }, s("div", { class: "Button" }, s("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : s("div", { class: "PlayerChangePassword", ref: (a) => this.stylingContainer = a }, s("form", { class: "Form" }, s("div", { class: "ButtonReturn", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), s("h2", { class: "TitleMobile" }, i("title", this.language))), s("h2", { class: "Title" }, i("title", this.language)), s("section", { class: "FieldsSection" }, this.forgotMode === "false" && s("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": i("passwordDisplayText", this.language), placeholder: i("passwordPlaceholderText", this.language), validation: this.currentPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": "true" }), s("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": i("newPasswordDisplayText", this.language), placeholder: i("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), s("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": i("confirmPasswordDisplayText", this.language), placeholder: i("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), s("section", { class: "ButtonsSection" }, s("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, i("btnSubmit", this.language)))));
|
|
483
483
|
}
|
|
484
484
|
static get watchers() {
|
|
485
485
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("./index-13661b98-DuhNdmHd.cjs"),g="en",w={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."}},P=e=>new Promise(n=>{fetch(e).then(a=>a.json()).then(a=>{Object.keys(a).forEach(t=>{for(let o in a[t])w[t][o]=a[t][o]}),n(!0)})}),i=(e,n,a)=>{const t=n;let o=w[t!==void 0?t:g][e];if(a!==void 0)for(const[d,r]of Object.entries(a.values)){const l=new RegExp(`{${d}}`,"g");o=o.replace(l,r)}return o};function c(){const e=navigator.userAgent.toLowerCase(),n=screen.availWidth,a=screen.availHeight;if(e.includes("iphone"))return"mobile";if(e.includes("android")){if(a>n&&n<800)return"mobile";if(n>a&&a<800)return"tablet"}return"desktop"}function m(e,n){if(e){const a=document.createElement("style");a.innerHTML=n,e.appendChild(a)}}function h(e,n){const a=new URL(n);fetch(a.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,e&&e.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function f(e,n,a){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(n,o=>{t.innerHTML=o,e&&e.appendChild(t)})}}const y=`:host {
|
|
1
|
+
"use strict";const s=require("./index-13661b98-DBuU9Lk0.cjs"),g="en",w={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."}},P=a=>new Promise(n=>{fetch(a).then(e=>e.json()).then(e=>{Object.keys(e).forEach(t=>{for(let o in e[t])w[t][o]=e[t][o]}),n(!0)})}),i=(a,n,e)=>{const t=n;let o=w[t!==void 0?t:g][a];if(e!==void 0)for(const[l,r]of Object.entries(e.values)){const d=new RegExp(`{${l}}`,"g");o=o.replace(d,r)}return o};function c(){const a=navigator.userAgent.toLowerCase(),n=screen.availWidth,e=screen.availHeight;if(a.includes("iphone"))return"mobile";if(a.includes("android")){if(e>n&&n<800)return"mobile";if(n>e&&e<800)return"tablet"}return"desktop"}function m(a,n){if(a){const e=document.createElement("style");e.innerHTML=n,a.appendChild(e)}}function h(a,n){const e=new URL(n);fetch(e.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,a&&a.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function f(a,n,e){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(n,o=>{t.innerHTML=o,a&&a.appendChild(t)})}}const y=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -122,4 +122,4 @@
|
|
|
122
122
|
100% {
|
|
123
123
|
opacity: 1;
|
|
124
124
|
}
|
|
125
|
-
}`,C=y,p=class{constructor(
|
|
125
|
+
}`,C=y,p=class{constructor(a){s.registerInstance(this,a),this.currentPasswordValue="",this.newPasswordValue="",this.confirmPasswordValue="",this.isCurrentPasswordValid=!1,this.isNewPasswordValid=!1,this.isConfirmPasswordValid=!1,this.errorMsg="",this.currentPasswordValidationSchema={mandatory:!0,custom:[]},this.newPasswordValidationSchema={mandatory:!0,custom:[]},this.confirmPasswordValidationSchema={mandatory:!0,custom:[]},this.initValidationSchemas=()=>{this.confirmPasswordValidationSchema={mandatory:!0,maxLength:this.policy.maximumPasswordLength,minLength:this.policy.minimumPasswordLength,custom:[this.policy.customValidationRules.find(n=>n.rule==="duplicate-input")]},this.newPasswordValidationSchema={mandatory:!0,maxLength:this.policy.maximumPasswordLength,minLength:this.policy.minimumPasswordLength,custom:this.policy.customValidationRules},this.currentPasswordValidationSchema={mandatory:!0,maxLength:this.policy.maximumPasswordLength,minLength:this.policy.minimumPasswordLength,custom:this.policy.customValidationRules}},this.setErrorMsg=(n,e)=>{var t,o,l;switch(n){case"gm.pms.password_policy_failed":if(((o=(t=e==null?void 0:e.errors)===null||t===void 0?void 0:t.policy)===null||o===void 0?void 0:o.length)>0){const r={forbiddenLastPasswordsCount:this.policy.forbiddenLastPasswordsCount,minimumPasswordAgeLimitHours:this.policy.minimumPasswordAgeLimitHours,hours:this.policy.minimumPasswordAgeLimitHours>1?"hours":"hour"};this.errorMsg=i(n,this.language,{values:r})}else if(!((l=e==null?void 0:e.errors)===null||l===void 0)&&l.strength&&Array.isArray(e.errors.strength)){const r=e.errors.strength.map(d=>{const u={"Password should not contain first name.":"passwordContainsFirstName","Password should not contain last name.":"passwordContainsLastName","Password should not contain username.":"passwordContainsUsername","Password should not contain email.":"passwordContainsEmail","Password should not contain first name + last name.":"passwordContainsFirstNamePlusLastName","Password should not contain first name and last name.":"passwordContainsFirstNameAndLastName","Password should not contain date of birth.":"passwordContainsDateOfBirth"}[d]||null;return u?i(u,this.language):d});this.errorMsg=r.join(" ")}break;case"gm.pms.password_not_verified_unauthorized":this.errorMsg=i(n,this.language);break;default:this.errorMsg=i("errorMsgGeneric",this.language)}},this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.getPolicy=()=>{const n=new URL("/api/v1/players/password-management/password",this.endpoint),e=new Headers;e.append("Accept","text/plain"),e.append("Content-Type","application/json-patch+json");const t={method:"GET",headers:e};fetch(n.href,t).then(o=>o.status===200&&o.json()).then(o=>{this.policy=o,this.policy.customValidationRules.forEach(l=>{l.rule=l.rule.toLowerCase(),l.rule==="duplicateinput"&&(l.rule="duplicate-input")}),this.initValidationSchemas()}).catch(o=>{console.error(`${i("errorMsgGeneric",this.language)}:`,o),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorMsgGeneric",this.language)}},window.location.href)}).finally(()=>{this.isSkeletonLoading=!1})},this.submitNewPassword=n=>{if(n.preventDefault(),this.isBtnSubmitEnabled){const e=new URL("/api/v1/players/password-management/password",this.endpoint),t=new Headers;t.append("accept","text/plain"),t.append("Content-Type","application/json-patch+json");const o=JSON.stringify({token:this.forgotMode==="true"?this.token:this.session,oldPassword:this.currentPasswordValue,newPassword:this.confirmPasswordValue}),l={method:"PUT",headers:t,body:o};fetch(e.href,l).then(r=>r.json()).then(r=>{r.errorCode===null&&r.message==="pms.password.update.success"?(window.postMessage({type:"PasswordChangedSuccessfully"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("successMsg",this.language)}},window.location.href)):(this.setErrorMsg(r.message,r),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMsg}},window.location.href))}).catch(r=>console.error(r))}},this.language="en",this.endpoint="",this.session="",this.token="",this.forgotMode="",this.clientStyling="",this.clientStylingUrl="",this.mbSource=void 0,this.translationUrl="",this.isBtnSubmitEnabled=!1,this.isSkeletonLoading=!0,this.isMobile=c()==="mobile"||c()==="tablet"}handleClientStylingChange(a,n){a!=n&&m(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(a,n){a!=n&&this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl)}sendValidityStateHandler(a){switch(this.isBtnSubmitEnabled=!1,a.detail.name){case"password":this.isCurrentPasswordValid=a.detail.valid;break;case"newPassword":this.isNewPasswordValid=a.detail.valid;break;case"newPasswordDuplicate":this.isConfirmPasswordValid=a.detail.valid;break}(this.forgotMode==="true"||this.isCurrentPasswordValid)&&this.isNewPasswordValid&&this.isConfirmPasswordValid&&(this.isBtnSubmitEnabled=!0)}sendInputValueHandler(a){switch(a.detail.name){case"password":this.currentPasswordValue=a.detail.value;break;case"newPassword":this.newPasswordValue=a.detail.value;break;case"newPasswordDuplicate":this.confirmPasswordValue=a.detail.value;break}}componentWillLoad(){if(this.getPolicy(),this.translationUrl)return P(this.translationUrl)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?f(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&h(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return this.isSkeletonLoading?s.h("div",{class:"PlayerChangePassword skeleton"},s.h("form",{class:"Form"},s.h("div",{class:"ButtonReturn"},s.h("ui-skeleton",{structure:"text",width:"auto",height:"30px"})),s.h("section",{class:"FieldsSection"},s.h("div",{class:"FieldContainer"},s.h("div",{class:"FieldTitle"},s.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),s.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"})),s.h("div",{class:"FieldContainer"},s.h("div",{class:"FieldTitle"},s.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),s.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"})),s.h("div",{class:"FieldContainer"},s.h("div",{class:"FieldTitle"},s.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),s.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"}))),s.h("section",{class:"ButtonsSection"},s.h("div",{class:"Button"},s.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"50px"}))))):s.h("div",{class:"PlayerChangePassword",ref:a=>this.stylingContainer=a},s.h("form",{class:"Form"},s.h("div",{class:"ButtonReturn",onClick:this.toggleScreen},s.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},s.h("g",{transform:"translate(-20 -158)"},s.h("g",{transform:"translate(20 158)"},s.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),s.h("h2",{class:"TitleMobile"},i("title",this.language))),s.h("h2",{class:"Title"},i("title",this.language)),s.h("section",{class:"FieldsSection"},this.forgotMode==="false"&&s.h("general-input",{type:"password",action:"input",name:"password",language:this.language,"display-name":i("passwordDisplayText",this.language),placeholder:i("passwordPlaceholderText",this.language),validation:this.currentPasswordValidationSchema,clientStyling:this.clientStyling,"mb-source":this.mbSource,"hide-password-complexity":"true"}),s.h("general-input",{type:"password",action:"input",name:"newPassword",language:this.language,"display-name":i("newPasswordDisplayText",this.language),placeholder:i("newPasswordPlaceholderText",this.language),validation:this.newPasswordValidationSchema,clientStyling:this.clientStyling,"mb-source":this.mbSource}),s.h("general-input",{type:"password",action:"input",name:"newPasswordDuplicate",language:this.language,"display-name":i("confirmPasswordDisplayText",this.language),placeholder:i("confirmPasswordPlaceholderText",this.language),validation:this.confirmPasswordValidationSchema,"is-duplicate-input":!0,clientStyling:this.clientStyling,"mb-source":this.mbSource})),s.h("section",{class:"ButtonsSection"},s.h("button",{class:"Button",disabled:!this.isBtnSubmitEnabled,onClick:this.submitNewPassword},i("btnSubmit",this.language)))))}static get watchers(){return{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};p.style=C;exports.PamChangePassword=p;
|