@everymatrix/player-account-controller 1.88.5 → 1.88.7

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.
Files changed (143) hide show
  1. package/components/{GeneralLogout-C1O7Iz3b.js → GeneralLogout-B-H8pswt.js} +1 -1
  2. package/components/{GeneralLogout-BUBdcvNs.cjs → GeneralLogout-CpONlMEe.cjs} +1 -1
  3. package/components/{GeneralLogout-XFetw9c0.js → GeneralLogout-Dy3pKMgu.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-Bv8le45B.cjs → PlayerAccountBettingHistory-BW5jOB2g.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-DJQYNk3B.js → PlayerAccountBettingHistory-Bi2aJ2U7.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CU4IJjZo.js → PlayerAccountBettingHistory-DYkIuHAU.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-0t7ylLey.js → PlayerAccountBiometrics-BO2f2nEU.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-BjAaxTXQ.js → PlayerAccountBiometrics-C1zQsfxi.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-LmhDHc0w.cjs → PlayerAccountBiometrics-CH5IIfrx.cjs} +1 -1
  10. package/components/{PlayerAccountBiometricsAction-BhUPg9AD.cjs → PlayerAccountBiometricsAction-CTd5LetK.cjs} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-B9cNGeX1.js → PlayerAccountBiometricsAction-Cm9GlEMc.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-BmqwJldg.js → PlayerAccountBiometricsAction-DDlsOdRc.js} +1 -1
  13. package/components/{PlayerAccountClosure-BDZ5ESSN.cjs → PlayerAccountClosure-CFOc93mz.cjs} +1 -1
  14. package/components/{PlayerAccountClosure-CbWJVNaT.js → PlayerAccountClosure-CidMn6CF.js} +1 -1
  15. package/components/{PlayerAccountClosure-B88WksEw.js → PlayerAccountClosure-vV8myx2G.js} +1 -1
  16. package/components/{PlayerAccountController-B5Nr9BBV.js → PlayerAccountController-6rmYEeQ9.js} +27 -27
  17. package/components/{PlayerAccountController-CA3XeFE2.cjs → PlayerAccountController-DbkJYhj5.cjs} +2 -2
  18. package/components/{PlayerAccountController-CIbdwNBw.js → PlayerAccountController-DmLIhbAF.js} +27 -28
  19. package/components/{PlayerAccountGamingLimits-g_O70coa.cjs → PlayerAccountGamingLimits-BVbcNqL5.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimits-Dpb6Vj3s.js → PlayerAccountGamingLimits-CgnHtpd9.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-Dbgu92S6.js → PlayerAccountGamingLimits-UVKMWy9n.js} +2 -2
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-hUq6sn37.js → PlayerAccountGamingLimitsConfirmationModal-Bsxvcyq3.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-mA8JYfOC.js → PlayerAccountGamingLimitsConfirmationModal-CdPnp4bj.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-B8xhBlsj.cjs → PlayerAccountGamingLimitsConfirmationModal-qAohAB7g.cjs} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-DfJD-XVp.cjs → PlayerAccountGamingLimitsGroupEdit-DDcwfqGj.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-CNWKGmH2.js → PlayerAccountGamingLimitsGroupEdit-DzWEEluL.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-C7I-Jf-T.js → PlayerAccountGamingLimitsGroupEdit-zr5HkrWU.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-DKV2CAnJ.cjs → PlayerAccountGamingLimitsHistory2-BTVOsLFS.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-CAvOAw4R.js → PlayerAccountGamingLimitsHistory2-BWh5qK8U.js} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-B2cVvNmP.js → PlayerAccountGamingLimitsHistory2-Bv4HFMBT.js} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-D6k45P8D.js → PlayerAccountGamingLimitsInfoCard-B-oyV2a2.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-CgKX7Y9s.js → PlayerAccountGamingLimitsInfoCard-B7wp-ZT_.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-D2PdcKLt.cjs → PlayerAccountGamingLimitsInfoCard-DAC_8xw0.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-4i9JBWU-.cjs → PlayerAccountGamingLimitsPage2Gm16-2P2FkzfZ.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-BKbP-Hw0.js → PlayerAccountGamingLimitsPage2Gm16-CXGX9HcE.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-B_JVZX11.js → PlayerAccountGamingLimitsPage2Gm16-Co0aHrAS.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-C4eabh9U.cjs → PlayerAccountGamingLimitsPopup-B-wfekPx.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-S2B6U18d.js → PlayerAccountGamingLimitsPopup-B0-bXNmE.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-yh5O8Kwi.js → PlayerAccountGamingLimitsPopup-B9y--wCo.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-CF_MoRx7.js → PlayerAccountGamingLimitsWrapper2-B-A566sX.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-DJAjCI5C.cjs → PlayerAccountGamingLimitsWrapper2-CTp4S55M.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2-60LHwP9V.js → PlayerAccountGamingLimitsWrapper2-z8AoOJ23.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-BqyPp37M.cjs → PlayerAccountGeneralConfirmationModal-BNRZUkZa.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-D3CQ-p2Y.js → PlayerAccountGeneralConfirmationModal-D0_LrNCA.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-CbQV6gXK.js → PlayerAccountGeneralConfirmationModal-DqZ1nuNI.js} +1 -1
  46. package/components/{PlayerAccountMenu-DIY20wl0.cjs → PlayerAccountMenu-BAAcqzAl.cjs} +1 -1
  47. package/components/{PlayerAccountMenu-DoxckOFk.js → PlayerAccountMenu-C-s6zmon.js} +2 -2
  48. package/components/{PlayerAccountMenu-CNg7EgZH.js → PlayerAccountMenu-C1PWuCCB.js} +2 -2
  49. package/components/{PlayerAccountModal-Dz6HfY6A.cjs → PlayerAccountModal-B2OcfiHV.cjs} +1 -1
  50. package/components/{PlayerAccountModal-RwYHNcB2.js → PlayerAccountModal-B_jj188e.js} +1 -1
  51. package/components/{PlayerAccountModal-BUSw4Ns6.js → PlayerAccountModal-DiejwY-F.js} +1 -1
  52. package/components/{PlayerAccountNotifications-Cx_0K3Gm.cjs → PlayerAccountNotifications-CXYGPZGG.cjs} +1 -1
  53. package/components/{PlayerAccountNotifications-ZRR8XMpG.js → PlayerAccountNotifications-DHPIOFQN.js} +1 -1
  54. package/components/{PlayerAccountNotifications-BMyYzoQI.js → PlayerAccountNotifications-Y3n5AJC6.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-DlECbC0X.js → PlayerAccountProductRestriction-B1ENV8Of.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-CHsVVB9W.cjs → PlayerAccountProductRestriction-BHKLmPBI.cjs} +1 -1
  57. package/components/{PlayerAccountProductRestriction-gIi96fg9.js → PlayerAccountProductRestriction-CiNNTPoB.js} +3 -3
  58. package/components/{PlayerAccountReviewFrequency-C3MT4KhK.cjs → PlayerAccountReviewFrequency-BCkWpaAH.cjs} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-dxv7ejG_.js → PlayerAccountReviewFrequency-BovdFEu-.js} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-C2LKdNaW.js → PlayerAccountReviewFrequency-CcoiGRiA.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-CwAX5BFy.js → PlayerAccountSelfExclusion-B2w991A1.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-BEkuosMz.js → PlayerAccountSelfExclusion-BlX1E4rC.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-BARKZS_I.cjs → PlayerAccountSelfExclusion-Cwgz3h91.cjs} +1 -1
  64. package/components/{PlayerAccountTimeout-D2k0a1Bw.js → PlayerAccountTimeout-BwRygaQ-.js} +3 -3
  65. package/components/{PlayerAccountTimeout-Ceoz0CF0.cjs → PlayerAccountTimeout-C8qI2lf3.cjs} +2 -2
  66. package/components/{PlayerAccountTimeout-YJXmWdDX.js → PlayerAccountTimeout-DiE8sK9h.js} +3 -3
  67. package/components/{PlayerAccountTransactionsHistory-imZ9n08a.js → PlayerAccountTransactionsHistory-BZhrcLjx.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-CvtVNftE.js → PlayerAccountTransactionsHistory-NbVjFM2t.js} +4 -4
  69. package/components/{PlayerAccountTransactionsHistory-qxF_0sPk.cjs → PlayerAccountTransactionsHistory-xDIVwCQ3.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-KIP-e7yp.cjs → PlayerActiveBonuses-B3pvY3Ds.cjs} +1 -1
  71. package/components/{PlayerActiveBonuses-WKr1BiUq.js → PlayerActiveBonuses-BPUAvfIp.js} +2 -2
  72. package/components/{PlayerActiveBonuses-D7n_ChcO.js → PlayerActiveBonuses-Ez4Uhf0_.js} +2 -2
  73. package/components/{PlayerBonusCard-IEMS3Fqt.cjs → PlayerBonusCard-Ct2R5pD5.cjs} +1 -1
  74. package/components/{PlayerBonusCard-9YaVMw7b.js → PlayerBonusCard-bymx52oK.js} +2 -2
  75. package/components/{PlayerBonusCard-DkbPV3AK.js → PlayerBonusCard-sY9dWxqs.js} +2 -2
  76. package/components/{PlayerBonusHistory-hxCzTVQe.js → PlayerBonusHistory-B75hk38T.js} +2 -2
  77. package/components/{PlayerBonusHistory-BgZYxFk2.js → PlayerBonusHistory-Cvrn_UA0.js} +2 -2
  78. package/components/{PlayerBonusHistory-BqKN_cQ_.cjs → PlayerBonusHistory-DLdKAFfQ.cjs} +1 -1
  79. package/components/{PlayerChangePassword-Dc9syYBv.js → PlayerChangePassword-CNYGRWhh.js} +1 -1
  80. package/components/{PlayerChangePassword-CsmnfHva.cjs → PlayerChangePassword-CQ10T_sR.cjs} +1 -1
  81. package/components/{PlayerChangePassword-BPIaeV7l.js → PlayerChangePassword-ENAeOe5b.js} +1 -1
  82. package/components/{PlayerDeposit-uS3AlZz1.js → PlayerDeposit-BN0SBdaB.js} +1 -1
  83. package/components/{PlayerDeposit-DACjEHXM.cjs → PlayerDeposit-DQUkTKJo.cjs} +1 -1
  84. package/components/{PlayerDeposit-BByR0xwQ.js → PlayerDeposit-oHTS7HXk.js} +1 -1
  85. package/components/{PlayerGamingHistory-BFp5PaFI.js → PlayerGamingHistory-ClF4yxv0.js} +3 -3
  86. package/components/{PlayerGamingHistory-DryW9GnS.cjs → PlayerGamingHistory-D9fXLZn8.cjs} +1 -1
  87. package/components/{PlayerGamingHistory-oDe1HWgA.js → PlayerGamingHistory-M9deJg0B.js} +3 -3
  88. package/components/{PlayerPendingWithdrawals-D8puPgEZ.js → PlayerPendingWithdrawals-D872CG_Y.js} +1 -1
  89. package/components/{PlayerPendingWithdrawals-DJyxmN-a.cjs → PlayerPendingWithdrawals-DRHn2Lvs.cjs} +1 -1
  90. package/components/{PlayerPendingWithdrawals-CP88P4LR.js → PlayerPendingWithdrawals-WPNqaoxA.js} +1 -1
  91. package/components/{PlayerProfileInfo-D5chj4oh.cjs → PlayerProfileInfo-DA0hA5cn.cjs} +2 -2
  92. package/components/{PlayerProfileInfo-haV-DqQt.js → PlayerProfileInfo-DX3LzYtI.js} +2 -2
  93. package/components/{PlayerProfileInfo-DrLyD6Ml.js → PlayerProfileInfo-pHwVfo20.js} +2 -2
  94. package/components/{PlayerRealityCheck-DEvltAzM.cjs → PlayerRealityCheck-49L5v-FD.cjs} +1 -1
  95. package/components/{PlayerRealityCheck-B9sNV0_q.js → PlayerRealityCheck-C1Vsy18r.js} +1 -1
  96. package/components/{PlayerRealityCheck-BRHQSgw3.js → PlayerRealityCheck-DIBAmM0o.js} +1 -1
  97. package/components/{PlayerTransactionHistory-CmRBsbDf.js → PlayerTransactionHistory-Aewje8VX.js} +1 -1
  98. package/components/{PlayerTransactionHistory-Bv6vqNEq.cjs → PlayerTransactionHistory-B5dCnObI.cjs} +1 -1
  99. package/components/{PlayerTransactionHistory-B16EReUw.js → PlayerTransactionHistory-CDClHE5W.js} +1 -1
  100. package/components/{PlayerWithdrawal-YKn25VwR.js → PlayerWithdrawal-BysG6-9L.js} +1 -1
  101. package/components/{PlayerWithdrawal-BTulUxfI.js → PlayerWithdrawal-DraQotDF.js} +1 -1
  102. package/components/{PlayerWithdrawal-Da2nyXzZ.cjs → PlayerWithdrawal-lp1cTbKQ.cjs} +1 -1
  103. package/es2015/player-account-controller.cjs +1 -1
  104. package/es2015/player-account-controller.js +1 -1
  105. package/esnext/player-account-controller.js +1 -1
  106. package/package.json +1 -1
  107. package/stencil/{checkbox-group-input_16-kd5gZOq8.cjs → checkbox-group-input_16-BTsVd0db.cjs} +1 -1
  108. package/stencil/{checkbox-group-input_16-BIDD5ZDJ.js → checkbox-group-input_16-D0NDW25Z.js} +2 -2
  109. package/stencil/{checkbox-group-input_16-B_LYR_B6.js → checkbox-group-input_16-xNacUvu5.js} +2 -2
  110. package/stencil/{index-2ff63899-yh4FXjFo.js → index-2ff63899-BVVddQHZ.js} +1 -1
  111. package/stencil/{index-2ff63899-COoMiIKA.cjs → index-2ff63899-CUfFeSdi.cjs} +1 -1
  112. package/stencil/{index-2ff63899-DRkp431j.js → index-2ff63899-CxlsRFEC.js} +1 -1
  113. package/stencil/{index-6e523641-DOnePbtQ.cjs → index-6e523641-CqeGydRJ.cjs} +1 -1
  114. package/stencil/{index-6e523641-DpGJosc3.js → index-6e523641-M8saYcGO.js} +1 -1
  115. package/stencil/{index-6e523641-pWMNWAtQ.js → index-6e523641-txnZxPs0.js} +1 -1
  116. package/stencil/{index-9c0f6c58-BN39eMNX.js → index-9c0f6c58-CGnN9UdB.js} +1 -1
  117. package/stencil/{index-9c0f6c58-_RRbHDNl.js → index-9c0f6c58-CWbWCRYV.js} +1 -1
  118. package/stencil/{index-9c0f6c58-DK260bKj.cjs → index-9c0f6c58-DmNyK26v.cjs} +1 -1
  119. package/stencil/{index-c666b6e6-BRPcYv74.js → index-c666b6e6-CHeQfJP1.js} +1 -1
  120. package/stencil/{index-c666b6e6-Be1JOwd1.js → index-c666b6e6-D0eOIPSZ.js} +1 -1
  121. package/stencil/{index-c666b6e6-D7QlSXQv.cjs → index-c666b6e6-g9AWUaUU.cjs} +1 -1
  122. package/stencil/{pam-change-password-25b46f90-gz2k14nd.js → pam-change-password-121f4e26-ByNb5lNg.js} +60 -61
  123. package/stencil/{pam-change-password-25b46f90-BR_DpHIa.cjs → pam-change-password-121f4e26-D0sDBWFY.cjs} +2 -2
  124. package/stencil/{pam-change-password-25b46f90-CexvlmT1.js → pam-change-password-121f4e26-wGrGMJ7X.js} +60 -60
  125. package/stencil/{pam-change-password-ynj13RCI.cjs → pam-change-password-B7gJ1UQE.cjs} +1 -1
  126. package/stencil/{pam-change-password-DhqcVnZd.js → pam-change-password-Bq8EYTN6.js} +1 -1
  127. package/stencil/{pam-change-password-CxaoIqIC.js → pam-change-password-bEI4DTme.js} +1 -1
  128. package/stencil/{player-kyc-verification-TCKpEp1x.js → player-kyc-verification-BPMSQ7ct.js} +2 -2
  129. package/stencil/{player-kyc-verification-CR-8JjQM.cjs → player-kyc-verification-CgfRuE57.cjs} +1 -1
  130. package/stencil/{player-kyc-verification-DQBYB3LU.js → player-kyc-verification-DQ9aChj3.js} +2 -3
  131. package/stencil/player-step-up-auth_2-B0Ya0RCH.cjs +78 -0
  132. package/stencil/{player-step-up-auth_2-DW3kilOn.js → player-step-up-auth_2-BAMz2k7_.js} +2 -2
  133. package/stencil/{player-step-up-auth_2-CdVoyTBA.js → player-step-up-auth_2-VW-Vue4F.js} +45 -46
  134. package/stencil/{user-deposit-withdrawal-BoKQFgGe.js → user-deposit-withdrawal-Cb7StDz0.js} +1 -1
  135. package/stencil/{user-deposit-withdrawal-Bw8iPH4G.cjs → user-deposit-withdrawal-D3Pi2Gdp.cjs} +1 -1
  136. package/stencil/{user-deposit-withdrawal-BD3BnA0N.js → user-deposit-withdrawal-yEqp1nf2.js} +1 -1
  137. package/stencil/{user-transaction-history-DCZDdxLh.js → user-transaction-history-CQl_PHMr.js} +1 -1
  138. package/stencil/{user-transaction-history-_0g5E0XE.cjs → user-transaction-history-CZc5JwuK.cjs} +1 -1
  139. package/stencil/{user-transaction-history-E1bvLWYx.js → user-transaction-history-DObkYfdi.js} +1 -1
  140. package/stencil/{user-transaction-history_2-DXX9cR5-.js → user-transaction-history_2-Bl8RpF35.js} +2 -2
  141. package/stencil/{user-transaction-history_2-C5uqpRMQ.js → user-transaction-history_2-C2zT8Uc5.js} +2 -3
  142. package/stencil/{user-transaction-history_2-BsrwI7Ib.cjs → user-transaction-history_2-CoqbioXa.cjs} +1 -1
  143. package/stencil/player-step-up-auth_2-Dj9m4nvm.cjs +0 -78
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./index-c666b6e6-D7QlSXQv.cjs"),P="en",p={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."}},f=e=>new Promise(a=>{fetch(e).then(s=>s.json()).then(s=>{Object.keys(s).forEach(n=>{for(let o in s[n])p[n][o]=s[n][o]}),a(!0)})}),l=(e,a,s)=>{const n=a;let o=p[n!==void 0?n:P][e];if(s!==void 0)for(const[r,i]of Object.entries(s.values)){const d=new RegExp(`{${r}}`,"g");o=o.replace(d,i)}return o};function h(){const e=navigator.userAgent.toLowerCase(),a=screen.availWidth,s=screen.availHeight;if(e.includes("iphone"))return"mobile";if(e.includes("android")){if(s>a&&a<800)return"mobile";if(a>s&&s<800)return"tablet"}return"desktop"}const u="__WIDGET_GLOBAL_STYLE_CACHE__";function m(e,a){if(e){const s=document.createElement("style");s.innerHTML=a,e.appendChild(s)}}function w(e,a){if(!e||!a)return;const s=new URL(a);fetch(s.href).then(n=>n.text()).then(n=>{const o=document.createElement("style");o.innerHTML=n,e&&e.appendChild(o)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function y(e,a,s,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return s=C(e,a),s;window[u]||(window[u]={}),s=b(e,a);const r=s.unsubscribe.bind(s),i=()=>{if(window[u][a]){const d=window[u][a];d.refCount>1?d.refCount=d.refCount-1:delete window[u][a]}r()};return s.unsubscribe=i,s}function C(e,a){const s=document.createElement("style");return window.emMessageBus.subscribe(a,n=>{e&&(s.innerHTML=n,e.appendChild(s))})}function b(e,a){return window.emMessageBus.subscribe(a,s=>{var d;if(!e)return;const n=e.getRootNode(),o=window[u];let r=(d=o[a])==null?void 0:d.sheet;r?o[a].refCount=o[a].refCount+1:(r=new CSSStyleSheet,r.replaceSync(s),o[a]={sheet:r,refCount:1});const i=n.adoptedStyleSheets||[];i.includes(r)||(n.adoptedStyleSheets=[...i,r])})}const v=`:host {
1
+ "use strict";const t=require("./index-c666b6e6-g9AWUaUU.cjs"),P="en",p={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."}},f=a=>new Promise(e=>{fetch(a).then(s=>s.json()).then(s=>{Object.keys(s).forEach(n=>{for(let o in s[n])p[n][o]=s[n][o]}),e(!0)})}),l=(a,e,s)=>{const n=e;let o=p[n!==void 0?n:P][a];if(s!==void 0)for(const[r,i]of Object.entries(s.values)){const d=new RegExp(`{${r}}`,"g");o=o.replace(d,i)}return o};function h(){const a=navigator.userAgent.toLowerCase(),e=screen.availWidth,s=screen.availHeight;if(a.includes("iphone"))return"mobile";if(a.includes("android")){if(s>e&&e<800)return"mobile";if(e>s&&s<800)return"tablet"}return"desktop"}const u="__WIDGET_GLOBAL_STYLE_CACHE__";function m(a,e){if(a){const s=document.createElement("style");s.innerHTML=e,a.appendChild(s)}}function w(a,e){if(!a||!e)return;const s=new URL(e);fetch(s.href).then(n=>n.text()).then(n=>{const o=document.createElement("style");o.innerHTML=n,a&&a.appendChild(o)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function y(a,e,s,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return s=C(a,e),s;window[u]||(window[u]={}),s=b(a,e);const r=s.unsubscribe.bind(s),i=()=>{if(window[u][e]){const d=window[u][e];d.refCount>1?d.refCount=d.refCount-1:delete window[u][e]}r()};return s.unsubscribe=i,s}function C(a,e){const s=document.createElement("style");return window.emMessageBus.subscribe(e,n=>{a&&(s.innerHTML=n,a.appendChild(s))})}function b(a,e){return window.emMessageBus.subscribe(e,s=>{if(!a)return;const n=a.getRootNode(),o=window[u];let r=o[e]&&o[e].sheet;r?o[e].refCount=o[e].refCount+1:(r=new CSSStyleSheet,r.replaceSync(s),o[e]={sheet:r,refCount:1});const i=n.adoptedStyleSheets||[];i.includes(r)||(n.adoptedStyleSheets=[...i,r])})}const v=`:host {
2
2
  display: block;
3
3
  }
4
4
 
@@ -122,4 +122,4 @@
122
122
  100% {
123
123
  opacity: 1;
124
124
  }
125
- }`,x=v,g=class{constructor(e){t.registerInstance(this,e),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(a=>a.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=(a,s)=>{var n,o,r;switch(a){case"gm.pms.password_policy_failed":if(((o=(n=s==null?void 0:s.errors)===null||n===void 0?void 0:n.policy)===null||o===void 0?void 0:o.length)>0){const i={forbiddenLastPasswordsCount:this.policy.forbiddenLastPasswordsCount,minimumPasswordAgeLimitHours:this.policy.minimumPasswordAgeLimitHours,hours:this.policy.minimumPasswordAgeLimitHours>1?"hours":"hour"};this.errorMsg=l(a,this.language,{values:i})}else if(!((r=s==null?void 0:s.errors)===null||r===void 0)&&r.strength&&Array.isArray(s.errors.strength)){const i=s.errors.strength.map(d=>{const c={"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 c?l(c,this.language):d});this.errorMsg=i.join(" ")}break;case"gm.pms.password_not_verified_unauthorized":this.errorMsg=l(a,this.language);break;default:this.errorMsg=l("errorMsgGeneric",this.language)}},this.toggleScreen=()=>{this.forgotMode?window.postMessage({type:"OpenLoginRegisterModal",transition:"ForgotPassword"},window.location.href):window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.getPolicy=()=>{const a=new URL("/api/v1/players/password-management/password",this.endpoint),s=new Headers;s.append("Accept","text/plain"),s.append("Content-Type","application/json-patch+json");const n={method:"GET",headers:s};fetch(a.href,n).then(o=>o.status===200&&o.json()).then(o=>{this.policy=o,this.policy.customValidationRules.forEach(r=>{r.rule=r.rule.toLowerCase(),r.rule==="duplicateinput"&&(r.rule="duplicate-input")}),this.initValidationSchemas()}).catch(o=>{console.error(`${l("errorMsgGeneric",this.language)}:`,o),window.postMessage({type:"WidgetNotification",data:{type:"error",message:l("errorMsgGeneric",this.language)}},window.location.href)}).finally(()=>{this.isSkeletonLoading=!1})},this.submitNewPassword=a=>{if(a.preventDefault(),this.isBtnSubmitEnabled){const s=new URL("/api/v1/players/password-management/password",this.endpoint),n=new Headers;n.append("accept","text/plain"),n.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}),r={method:"PUT",headers:n,body:o};fetch(s.href,r).then(i=>i.json()).then(i=>{i.errorCode===null&&i.message==="pms.password.update.success"?(window.postMessage({type:"PasswordChangedSuccessfully"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("successMsg",this.language)}},window.location.href)):(this.setErrorMsg(i.message,i),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMsg}},window.location.href))}).catch(i=>console.error(i))}},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=h()==="mobile"||h()==="tablet"}handleClientStylingChange(e,a){e!=a&&m(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,a){e!=a&&this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)}sendValidityStateHandler(e){switch(this.isBtnSubmitEnabled=!1,e.detail.name){case"password":this.isCurrentPasswordValid=e.detail.valid;break;case"newPassword":this.isNewPasswordValid=e.detail.valid;break;case"newPasswordDuplicate":this.isConfirmPasswordValid=e.detail.valid;break}(this.forgotMode==="true"||this.isCurrentPasswordValid)&&this.isNewPasswordValid&&this.isConfirmPasswordValid&&(this.isBtnSubmitEnabled=!0)}sendInputValueHandler(e){switch(e.detail.name){case"password":this.currentPasswordValue=e.detail.value;break;case"newPassword":this.newPasswordValue=e.detail.value;break;case"newPasswordDuplicate":this.confirmPasswordValue=e.detail.value;break}}componentWillLoad(){if(this.getPolicy(),this.translationUrl)return f(this.translationUrl)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return this.isSkeletonLoading?t.h("div",{class:"PlayerChangePassword skeleton"},t.h("form",{class:"Form"},t.h("div",{class:"ButtonReturn"},t.h("ui-skeleton",{structure:"text",width:"auto",height:"30px"})),t.h("section",{class:"FieldsSection"},t.h("div",{class:"FieldContainer"},t.h("div",{class:"FieldTitle"},t.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),t.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"})),t.h("div",{class:"FieldContainer"},t.h("div",{class:"FieldTitle"},t.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),t.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"})),t.h("div",{class:"FieldContainer"},t.h("div",{class:"FieldTitle"},t.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),t.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"}))),t.h("section",{class:"ButtonsSection"},t.h("div",{class:"Button"},t.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"50px"}))))):t.h("div",{class:"PlayerChangePassword",ref:e=>this.stylingContainer=e},t.h("form",{class:"Form"},t.h("div",{class:"ButtonReturn",onClick:this.toggleScreen},t.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},t.h("g",{transform:"translate(-20 -158)"},t.h("g",{transform:"translate(20 158)"},t.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)"})))),t.h("h2",{class:"TitleMobile"},l("title",this.language))),t.h("h2",{class:"Title"},l("title",this.language)),t.h("section",{class:"FieldsSection"},this.forgotMode==="false"&&t.h("general-input",{type:"password",action:"input",name:"password",language:this.language,"display-name":l("passwordDisplayText",this.language),placeholder:l("passwordPlaceholderText",this.language),validation:{mandatory:!1},"no-validation":"true",clientStyling:this.clientStyling,"mb-source":this.mbSource,"hide-password-complexity":"true"}),t.h("general-input",{type:"password",action:"input",name:"newPassword",language:this.language,"display-name":l("newPasswordDisplayText",this.language),placeholder:l("newPasswordPlaceholderText",this.language),validation:this.newPasswordValidationSchema,clientStyling:this.clientStyling,"mb-source":this.mbSource}),t.h("general-input",{type:"password",action:"input",name:"newPasswordDuplicate",language:this.language,"display-name":l("confirmPasswordDisplayText",this.language),placeholder:l("confirmPasswordPlaceholderText",this.language),validation:this.confirmPasswordValidationSchema,"is-duplicate-input":!0,clientStyling:this.clientStyling,"mb-source":this.mbSource})),t.h("section",{class:"ButtonsSection"},t.h("button",{class:"Button",disabled:!this.isBtnSubmitEnabled,onClick:this.submitNewPassword},l("btnSubmit",this.language)))))}static get watchers(){return{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};g.style=x;exports.PamChangePassword=g;
125
+ }`,x=v,g=class{constructor(a){t.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(e=>e.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=(e,s)=>{var n,o,r;switch(e){case"gm.pms.password_policy_failed":if(((o=(n=s==null?void 0:s.errors)===null||n===void 0?void 0:n.policy)===null||o===void 0?void 0:o.length)>0){const i={forbiddenLastPasswordsCount:this.policy.forbiddenLastPasswordsCount,minimumPasswordAgeLimitHours:this.policy.minimumPasswordAgeLimitHours,hours:this.policy.minimumPasswordAgeLimitHours>1?"hours":"hour"};this.errorMsg=l(e,this.language,{values:i})}else if(!((r=s==null?void 0:s.errors)===null||r===void 0)&&r.strength&&Array.isArray(s.errors.strength)){const i=s.errors.strength.map(d=>{const c={"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 c?l(c,this.language):d});this.errorMsg=i.join(" ")}break;case"gm.pms.password_not_verified_unauthorized":this.errorMsg=l(e,this.language);break;default:this.errorMsg=l("errorMsgGeneric",this.language)}},this.toggleScreen=()=>{this.forgotMode?window.postMessage({type:"OpenLoginRegisterModal",transition:"ForgotPassword"},window.location.href):window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.getPolicy=()=>{const e=new URL("/api/v1/players/password-management/password",this.endpoint),s=new Headers;s.append("Accept","text/plain"),s.append("Content-Type","application/json-patch+json");const n={method:"GET",headers:s};fetch(e.href,n).then(o=>o.status===200&&o.json()).then(o=>{this.policy=o,this.policy.customValidationRules.forEach(r=>{r.rule=r.rule.toLowerCase(),r.rule==="duplicateinput"&&(r.rule="duplicate-input")}),this.initValidationSchemas()}).catch(o=>{console.error(`${l("errorMsgGeneric",this.language)}:`,o),window.postMessage({type:"WidgetNotification",data:{type:"error",message:l("errorMsgGeneric",this.language)}},window.location.href)}).finally(()=>{this.isSkeletonLoading=!1})},this.submitNewPassword=e=>{if(e.preventDefault(),this.isBtnSubmitEnabled){const s=new URL("/api/v1/players/password-management/password",this.endpoint),n=new Headers;n.append("accept","text/plain"),n.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}),r={method:"PUT",headers:n,body:o};fetch(s.href,r).then(i=>i.json()).then(i=>{i.errorCode===null&&i.message==="pms.password.update.success"?(window.postMessage({type:"PasswordChangedSuccessfully"}),window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("successMsg",this.language)}},window.location.href)):(this.setErrorMsg(i.message,i),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMsg}},window.location.href))}).catch(i=>console.error(i))}},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=h()==="mobile"||h()==="tablet"}handleClientStylingChange(a,e){a!=e&&m(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(a,e){a!=e&&this.clientStylingUrl&&w(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 f(this.translationUrl)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return this.isSkeletonLoading?t.h("div",{class:"PlayerChangePassword skeleton"},t.h("form",{class:"Form"},t.h("div",{class:"ButtonReturn"},t.h("ui-skeleton",{structure:"text",width:"auto",height:"30px"})),t.h("section",{class:"FieldsSection"},t.h("div",{class:"FieldContainer"},t.h("div",{class:"FieldTitle"},t.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),t.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"})),t.h("div",{class:"FieldContainer"},t.h("div",{class:"FieldTitle"},t.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),t.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"})),t.h("div",{class:"FieldContainer"},t.h("div",{class:"FieldTitle"},t.h("ui-skeleton",{structure:"title",width:"auto",height:"10px"})),t.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"35px"}))),t.h("section",{class:"ButtonsSection"},t.h("div",{class:"Button"},t.h("ui-skeleton",{structure:"rectangle",width:"auto",height:"50px"}))))):t.h("div",{class:"PlayerChangePassword",ref:a=>this.stylingContainer=a},t.h("form",{class:"Form"},t.h("div",{class:"ButtonReturn",onClick:this.toggleScreen},t.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},t.h("g",{transform:"translate(-20 -158)"},t.h("g",{transform:"translate(20 158)"},t.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)"})))),t.h("h2",{class:"TitleMobile"},l("title",this.language))),t.h("h2",{class:"Title"},l("title",this.language)),t.h("section",{class:"FieldsSection"},this.forgotMode==="false"&&t.h("general-input",{type:"password",action:"input",name:"password",language:this.language,"display-name":l("passwordDisplayText",this.language),placeholder:l("passwordPlaceholderText",this.language),validation:{mandatory:!1},"no-validation":"true",clientStyling:this.clientStyling,"mb-source":this.mbSource,"hide-password-complexity":"true"}),t.h("general-input",{type:"password",action:"input",name:"newPassword",language:this.language,"display-name":l("newPasswordDisplayText",this.language),placeholder:l("newPasswordPlaceholderText",this.language),validation:this.newPasswordValidationSchema,clientStyling:this.clientStyling,"mb-source":this.mbSource}),t.h("general-input",{type:"password",action:"input",name:"newPasswordDuplicate",language:this.language,"display-name":l("confirmPasswordDisplayText",this.language),placeholder:l("confirmPasswordPlaceholderText",this.language),validation:this.confirmPasswordValidationSchema,"is-duplicate-input":!0,clientStyling:this.clientStyling,"mb-source":this.mbSource})),t.h("section",{class:"ButtonsSection"},t.h("button",{class:"Button",disabled:!this.isBtnSubmitEnabled,onClick:this.submitNewPassword},l("btnSubmit",this.language)))))}static get watchers(){return{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};g.style=x;exports.PamChangePassword=g;
@@ -1,4 +1,4 @@
1
- import { r as g, h as t } from "./index-c666b6e6-BRPcYv74.js";
1
+ import { r as g, h as t } from "./index-c666b6e6-CHeQfJP1.js";
2
2
  const P = "en", p = {
3
3
  en: {
4
4
  title: "Change Password",
@@ -168,16 +168,16 @@ const P = "en", p = {
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
- }, f = (e) => new Promise((a) => {
172
- fetch(e).then((s) => s.json()).then((s) => {
171
+ }, f = (a) => new Promise((e) => {
172
+ fetch(a).then((s) => s.json()).then((s) => {
173
173
  Object.keys(s).forEach((n) => {
174
174
  for (let o in s[n])
175
175
  p[n][o] = s[n][o];
176
- }), a(!0);
176
+ }), e(!0);
177
177
  });
178
- }), l = (e, a, s) => {
179
- const n = a;
180
- let o = p[n !== void 0 ? n : P][e];
178
+ }), l = (a, e, s) => {
179
+ const n = e;
180
+ let o = p[n !== void 0 ? n : P][a];
181
181
  if (s !== void 0)
182
182
  for (const [r, i] of Object.entries(s.values)) {
183
183
  const d = new RegExp(`{${r}}`, "g");
@@ -186,63 +186,63 @@ const P = "en", p = {
186
186
  return o;
187
187
  };
188
188
  function m() {
189
- const e = navigator.userAgent.toLowerCase(), a = screen.availWidth, s = screen.availHeight;
190
- if (e.includes("iphone"))
189
+ const a = navigator.userAgent.toLowerCase(), e = screen.availWidth, s = screen.availHeight;
190
+ if (a.includes("iphone"))
191
191
  return "mobile";
192
- if (e.includes("android")) {
193
- if (s > a && a < 800)
192
+ if (a.includes("android")) {
193
+ if (s > e && e < 800)
194
194
  return "mobile";
195
- if (a > s && s < 800)
195
+ if (e > s && s < 800)
196
196
  return "tablet";
197
197
  }
198
198
  return "desktop";
199
199
  }
200
200
  const u = "__WIDGET_GLOBAL_STYLE_CACHE__";
201
- function h(e, a) {
202
- if (e) {
201
+ function h(a, e) {
202
+ if (a) {
203
203
  const s = document.createElement("style");
204
- s.innerHTML = a, e.appendChild(s);
204
+ s.innerHTML = e, a.appendChild(s);
205
205
  }
206
206
  }
207
- function w(e, a) {
208
- if (!e || !a)
207
+ function w(a, e) {
208
+ if (!a || !e)
209
209
  return;
210
- const s = new URL(a);
210
+ const s = new URL(e);
211
211
  fetch(s.href).then((n) => n.text()).then((n) => {
212
212
  const o = document.createElement("style");
213
- o.innerHTML = n, e && e.appendChild(o);
213
+ o.innerHTML = n, a && a.appendChild(o);
214
214
  }).catch((n) => {
215
215
  console.error("There was an error while trying to load client styling from URL", n);
216
216
  });
217
217
  }
218
- function y(e, a, s, n = !1) {
218
+ function y(a, e, s, n = !1) {
219
219
  if (!window.emMessageBus)
220
220
  return;
221
221
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
222
- return s = C(e, a), s;
223
- window[u] || (window[u] = {}), s = b(e, a);
222
+ return s = C(a, e), s;
223
+ window[u] || (window[u] = {}), s = b(a, e);
224
224
  const r = s.unsubscribe.bind(s), i = () => {
225
- if (window[u][a]) {
226
- const d = window[u][a];
227
- d.refCount > 1 ? d.refCount = d.refCount - 1 : delete window[u][a];
225
+ if (window[u][e]) {
226
+ const d = window[u][e];
227
+ d.refCount > 1 ? d.refCount = d.refCount - 1 : delete window[u][e];
228
228
  }
229
229
  r();
230
230
  };
231
231
  return s.unsubscribe = i, s;
232
232
  }
233
- function C(e, a) {
233
+ function C(a, e) {
234
234
  const s = document.createElement("style");
235
- return window.emMessageBus.subscribe(a, (n) => {
236
- e && (s.innerHTML = n, e.appendChild(s));
235
+ return window.emMessageBus.subscribe(e, (n) => {
236
+ a && (s.innerHTML = n, a.appendChild(s));
237
237
  });
238
238
  }
239
- function b(e, a) {
240
- return window.emMessageBus.subscribe(a, (s) => {
241
- if (!e)
239
+ function b(a, e) {
240
+ return window.emMessageBus.subscribe(e, (s) => {
241
+ if (!a)
242
242
  return;
243
- const n = e.getRootNode(), o = window[u];
244
- let r = o[a]?.sheet;
245
- r ? o[a].refCount = o[a].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(s), o[a] = {
243
+ const n = a.getRootNode(), o = window[u];
244
+ let r = o[e] && o[e].sheet;
245
+ r ? o[e].refCount = o[e].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(s), o[e] = {
246
246
  sheet: r,
247
247
  refCount: 1
248
248
  });
@@ -375,14 +375,14 @@ const v = `:host {
375
375
  opacity: 1;
376
376
  }
377
377
  }`, x = v, S = class {
378
- constructor(e) {
379
- g(this, e), 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 = () => {
378
+ constructor(a) {
379
+ g(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 = () => {
380
380
  this.confirmPasswordValidationSchema = {
381
381
  mandatory: !0,
382
382
  maxLength: this.policy.maximumPasswordLength,
383
383
  minLength: this.policy.minimumPasswordLength,
384
384
  custom: [
385
- this.policy.customValidationRules.find((a) => a.rule === "duplicate-input")
385
+ this.policy.customValidationRules.find((e) => e.rule === "duplicate-input")
386
386
  ]
387
387
  }, this.newPasswordValidationSchema = {
388
388
  mandatory: !0,
@@ -395,9 +395,9 @@ const v = `:host {
395
395
  minLength: this.policy.minimumPasswordLength,
396
396
  custom: this.policy.customValidationRules
397
397
  };
398
- }, this.setErrorMsg = (a, s) => {
398
+ }, this.setErrorMsg = (e, s) => {
399
399
  var n, o, r;
400
- switch (a) {
400
+ switch (e) {
401
401
  case "gm.pms.password_policy_failed":
402
402
  if (((o = (n = s?.errors) === null || n === void 0 ? void 0 : n.policy) === null || o === void 0 ? void 0 : o.length) > 0) {
403
403
  const i = {
@@ -405,7 +405,7 @@ const v = `:host {
405
405
  minimumPasswordAgeLimitHours: this.policy.minimumPasswordAgeLimitHours,
406
406
  hours: this.policy.minimumPasswordAgeLimitHours > 1 ? "hours" : "hour"
407
407
  };
408
- this.errorMsg = l(a, this.language, { values: i });
408
+ this.errorMsg = l(e, this.language, { values: i });
409
409
  } else if (!((r = s?.errors) === null || r === void 0) && r.strength && Array.isArray(s.errors.strength)) {
410
410
  const i = s.errors.strength.map((d) => {
411
411
  const c = {
@@ -423,7 +423,7 @@ const v = `:host {
423
423
  }
424
424
  break;
425
425
  case "gm.pms.password_not_verified_unauthorized":
426
- this.errorMsg = l(a, this.language);
426
+ this.errorMsg = l(e, this.language);
427
427
  break;
428
428
  default:
429
429
  this.errorMsg = l("errorMsgGeneric", this.language);
@@ -431,13 +431,13 @@ const v = `:host {
431
431
  }, this.toggleScreen = () => {
432
432
  this.forgotMode ? window.postMessage({ type: "OpenLoginRegisterModal", transition: "ForgotPassword" }, window.location.href) : window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
433
433
  }, this.getPolicy = () => {
434
- const a = new URL("/api/v1/players/password-management/password", this.endpoint), s = new Headers();
434
+ const e = new URL("/api/v1/players/password-management/password", this.endpoint), s = new Headers();
435
435
  s.append("Accept", "text/plain"), s.append("Content-Type", "application/json-patch+json");
436
436
  const n = {
437
437
  method: "GET",
438
438
  headers: s
439
439
  };
440
- fetch(a.href, n).then((o) => o.status === 200 && o.json()).then((o) => {
440
+ fetch(e.href, n).then((o) => o.status === 200 && o.json()).then((o) => {
441
441
  this.policy = o, this.policy.customValidationRules.forEach((r) => {
442
442
  r.rule = r.rule.toLowerCase(), r.rule === "duplicateinput" && (r.rule = "duplicate-input");
443
443
  }), this.initValidationSchemas();
@@ -446,8 +446,8 @@ const v = `:host {
446
446
  }).finally(() => {
447
447
  this.isSkeletonLoading = !1;
448
448
  });
449
- }, this.submitNewPassword = (a) => {
450
- if (a.preventDefault(), this.isBtnSubmitEnabled) {
449
+ }, this.submitNewPassword = (e) => {
450
+ if (e.preventDefault(), this.isBtnSubmitEnabled) {
451
451
  const s = new URL("/api/v1/players/password-management/password", this.endpoint), n = new Headers();
452
452
  n.append("accept", "text/plain"), n.append("Content-Type", "application/json-patch+json");
453
453
  const o = JSON.stringify({
@@ -465,36 +465,36 @@ const v = `:host {
465
465
  }
466
466
  }, 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 = m() === "mobile" || m() === "tablet";
467
467
  }
468
- handleClientStylingChange(e, a) {
469
- e != a && h(this.stylingContainer, this.clientStyling);
468
+ handleClientStylingChange(a, e) {
469
+ a != e && h(this.stylingContainer, this.clientStyling);
470
470
  }
471
- handleClientStylingUrlChange(e, a) {
472
- e != a && this.clientStylingUrl && w(this.stylingContainer, this.clientStylingUrl);
471
+ handleClientStylingUrlChange(a, e) {
472
+ a != e && this.clientStylingUrl && w(this.stylingContainer, this.clientStylingUrl);
473
473
  }
474
- sendValidityStateHandler(e) {
475
- switch (this.isBtnSubmitEnabled = !1, e.detail.name) {
474
+ sendValidityStateHandler(a) {
475
+ switch (this.isBtnSubmitEnabled = !1, a.detail.name) {
476
476
  case "password":
477
- this.isCurrentPasswordValid = e.detail.valid;
477
+ this.isCurrentPasswordValid = a.detail.valid;
478
478
  break;
479
479
  case "newPassword":
480
- this.isNewPasswordValid = e.detail.valid;
480
+ this.isNewPasswordValid = a.detail.valid;
481
481
  break;
482
482
  case "newPasswordDuplicate":
483
- this.isConfirmPasswordValid = e.detail.valid;
483
+ this.isConfirmPasswordValid = a.detail.valid;
484
484
  break;
485
485
  }
486
486
  (this.forgotMode === "true" || this.isCurrentPasswordValid) && this.isNewPasswordValid && this.isConfirmPasswordValid && (this.isBtnSubmitEnabled = !0);
487
487
  }
488
- sendInputValueHandler(e) {
489
- switch (e.detail.name) {
488
+ sendInputValueHandler(a) {
489
+ switch (a.detail.name) {
490
490
  case "password":
491
- this.currentPasswordValue = e.detail.value;
491
+ this.currentPasswordValue = a.detail.value;
492
492
  break;
493
493
  case "newPassword":
494
- this.newPasswordValue = e.detail.value;
494
+ this.newPasswordValue = a.detail.value;
495
495
  break;
496
496
  case "newPasswordDuplicate":
497
- this.confirmPasswordValue = e.detail.value;
497
+ this.confirmPasswordValue = a.detail.value;
498
498
  break;
499
499
  }
500
500
  }
@@ -509,7 +509,7 @@ const v = `:host {
509
509
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
510
510
  }
511
511
  render() {
512
- return this.isSkeletonLoading ? t("div", { class: "PlayerChangePassword skeleton" }, t("form", { class: "Form" }, t("div", { class: "ButtonReturn" }, t("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), t("section", { class: "FieldsSection" }, t("div", { class: "FieldContainer" }, t("div", { class: "FieldTitle" }, t("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), t("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), t("div", { class: "FieldContainer" }, t("div", { class: "FieldTitle" }, t("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), t("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), t("div", { class: "FieldContainer" }, t("div", { class: "FieldTitle" }, t("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), t("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), t("section", { class: "ButtonsSection" }, t("div", { class: "Button" }, t("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : t("div", { class: "PlayerChangePassword", ref: (e) => this.stylingContainer = e }, t("form", { class: "Form" }, t("div", { class: "ButtonReturn", onClick: this.toggleScreen }, t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, t("g", { transform: "translate(-20 -158)" }, t("g", { transform: "translate(20 158)" }, t("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)" })))), t("h2", { class: "TitleMobile" }, l("title", this.language))), t("h2", { class: "Title" }, l("title", this.language)), t("section", { class: "FieldsSection" }, this.forgotMode === "false" && t("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": l("passwordDisplayText", this.language), placeholder: l("passwordPlaceholderText", this.language), validation: { mandatory: !1 }, "no-validation": "true", clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": "true" }), t("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": l("newPasswordDisplayText", this.language), placeholder: l("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), t("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": l("confirmPasswordDisplayText", this.language), placeholder: l("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), t("section", { class: "ButtonsSection" }, t("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, l("btnSubmit", this.language)))));
512
+ return this.isSkeletonLoading ? t("div", { class: "PlayerChangePassword skeleton" }, t("form", { class: "Form" }, t("div", { class: "ButtonReturn" }, t("ui-skeleton", { structure: "text", width: "auto", height: "30px" })), t("section", { class: "FieldsSection" }, t("div", { class: "FieldContainer" }, t("div", { class: "FieldTitle" }, t("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), t("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), t("div", { class: "FieldContainer" }, t("div", { class: "FieldTitle" }, t("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), t("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" })), t("div", { class: "FieldContainer" }, t("div", { class: "FieldTitle" }, t("ui-skeleton", { structure: "title", width: "auto", height: "10px" })), t("ui-skeleton", { structure: "rectangle", width: "auto", height: "35px" }))), t("section", { class: "ButtonsSection" }, t("div", { class: "Button" }, t("ui-skeleton", { structure: "rectangle", width: "auto", height: "50px" }))))) : t("div", { class: "PlayerChangePassword", ref: (a) => this.stylingContainer = a }, t("form", { class: "Form" }, t("div", { class: "ButtonReturn", onClick: this.toggleScreen }, t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, t("g", { transform: "translate(-20 -158)" }, t("g", { transform: "translate(20 158)" }, t("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)" })))), t("h2", { class: "TitleMobile" }, l("title", this.language))), t("h2", { class: "Title" }, l("title", this.language)), t("section", { class: "FieldsSection" }, this.forgotMode === "false" && t("general-input", { type: "password", action: "input", name: "password", language: this.language, "display-name": l("passwordDisplayText", this.language), placeholder: l("passwordPlaceholderText", this.language), validation: { mandatory: !1 }, "no-validation": "true", clientStyling: this.clientStyling, "mb-source": this.mbSource, "hide-password-complexity": "true" }), t("general-input", { type: "password", action: "input", name: "newPassword", language: this.language, "display-name": l("newPasswordDisplayText", this.language), placeholder: l("newPasswordPlaceholderText", this.language), validation: this.newPasswordValidationSchema, clientStyling: this.clientStyling, "mb-source": this.mbSource }), t("general-input", { type: "password", action: "input", name: "newPasswordDuplicate", language: this.language, "display-name": l("confirmPasswordDisplayText", this.language), placeholder: l("confirmPasswordPlaceholderText", this.language), validation: this.confirmPasswordValidationSchema, "is-duplicate-input": !0, clientStyling: this.clientStyling, "mb-source": this.mbSource })), t("section", { class: "ButtonsSection" }, t("button", { class: "Button", disabled: !this.isBtnSubmitEnabled, onClick: this.submitNewPassword }, l("btnSubmit", this.language)))));
513
513
  }
514
514
  static get watchers() {
515
515
  return {
@@ -1 +1 @@
1
- "use strict";var s=(l,i,a)=>new Promise((r,o)=>{var c=e=>{try{t(a.next(e))}catch(n){o(n)}},g=e=>{try{t(a.throw(e))}catch(n){o(n)}},t=e=>e.done?r(e.value):Promise.resolve(e.value).then(c,g);t((a=a.apply(l,i)).next())});const u=require("./index-c666b6e6-D7QlSXQv.cjs"),p=require("./app-globals-0f993ce5-BjWsvLzr.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-ynj13RCI.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),u.promiseResolve(i)};m().then(l=>s(exports,null,function*(){return yield p.globalScripts$3(),u.bootstrapLazy(JSON.parse('[["checkbox-group-input_16",[[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"],"clientStylingUrl":[513,"client-styling-url"],"dateFormat":[513,"date-format"],"translationUrl":[513,"translation-url"],"emitOnClick":[516,"emit-on-click"],"twofaDestination":[513,"twofa-destination"],"twofaResendIntervalSeconds":[514,"twofa-resend-interval-seconds"],"haspostalcodelookup":[516],"postalcodelength":[514],"addresses":[520],"ignoreCountry":[516,"ignore-country"],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"enableManualDateInput":[516,"enable-manual-date-input"],"pinAttemptsExceeded":[516,"pin-attempts-exceeded"],"mbSource":[513,"mb-source"],"limitStylingAppends":[32]},null,{"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}],[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]},[[10,"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]},[[10,"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]},[[10,"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"],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"enableManualDateInput":[516,"enable-manual-date-input"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[10,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"],"enableSouthAfricanMode":["handleCustomRegistrationChange"]}],[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]},[[10,"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]},[[10,"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"],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"passwordComplexity":[32],"showPopup":[32],"value":[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[10,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"value":["valueChanged"],"emitValue":["emitValueHandler"]}],[1,"postalcode-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"],"postalcodelength":[520],"addresses":[520],"ignoreCountry":[516,"ignore-country"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"selectedCountryCode":[32],"currentPostalCode":[32],"openAddressDropdown":[32],"showNoResultsMessage":[32],"refreshTrigger":[32],"isFetchingAddresses":[32]},[[10,"click","handleClickOutside"],[8,"countryCodeUpdated","handleCountryCodeUpdate"],[8,"addressFetchStarted","handleFetchStarted"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"],"addresses":["handleAddresses"]}],[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]},[[10,"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]},[[10,"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],"disablePhonePrefix":[32],"phoneValue":[32],"phoneCodesOptions":[32]},[[10,"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"],"haspostalcodelookup":[516],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"selectedCountryCode":[32]},[[10,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"],[8,"countryCodeUpdated","handleCountryCodeUpdate"],[16,"sendAddressValue","handleAddressSelection"],[8,"documentNumberUpdatedExternally","handleExternalDocUpdate"],[8,"documentNumberResetValidation","handleDocReset"]],{"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"],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"pinAttemptsExceeded":[516,"pin-attempts-exceeded"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"limitStylingAppends":[32],"isValid":[32],"isResendButtonAvailable":[32],"showTooltip":[32],"errorMessage":[32],"code":[32],"resendIntervalSecondsLeft":[32],"revealedIndexes":[32]},[[10,"click","handleClickOutside"]],{"isValid":["validityChanged"],"emitValue":["emitValueHandler"],"clientStylingUrl":["handleStylingUrlChange"],"clientStyling":["handleStylingChange"]}]]]]'),l)}));
1
+ "use strict";var s=(l,i,a)=>new Promise((r,o)=>{var c=e=>{try{t(a.next(e))}catch(n){o(n)}},g=e=>{try{t(a.throw(e))}catch(n){o(n)}},t=e=>e.done?r(e.value):Promise.resolve(e.value).then(c,g);t((a=a.apply(l,i)).next())});const u=require("./index-c666b6e6-g9AWUaUU.cjs"),p=require("./app-globals-0f993ce5-BjWsvLzr.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-B7gJ1UQE.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),u.promiseResolve(i)};m().then(l=>s(exports,null,function*(){return yield p.globalScripts$3(),u.bootstrapLazy(JSON.parse('[["checkbox-group-input_16",[[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"],"clientStylingUrl":[513,"client-styling-url"],"dateFormat":[513,"date-format"],"translationUrl":[513,"translation-url"],"emitOnClick":[516,"emit-on-click"],"twofaDestination":[513,"twofa-destination"],"twofaResendIntervalSeconds":[514,"twofa-resend-interval-seconds"],"haspostalcodelookup":[516],"postalcodelength":[514],"addresses":[520],"ignoreCountry":[516,"ignore-country"],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"enableManualDateInput":[516,"enable-manual-date-input"],"pinAttemptsExceeded":[516,"pin-attempts-exceeded"],"mbSource":[513,"mb-source"],"limitStylingAppends":[32]},null,{"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}],[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]},[[10,"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]},[[10,"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]},[[10,"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"],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"enableManualDateInput":[516,"enable-manual-date-input"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[10,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"],"enableSouthAfricanMode":["handleCustomRegistrationChange"]}],[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]},[[10,"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]},[[10,"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"],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"passwordComplexity":[32],"showPopup":[32],"value":[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[10,"click","handleClickOutside"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"value":["valueChanged"],"emitValue":["emitValueHandler"]}],[1,"postalcode-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"],"postalcodelength":[520],"addresses":[520],"ignoreCountry":[516,"ignore-country"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"selectedCountryCode":[32],"currentPostalCode":[32],"openAddressDropdown":[32],"showNoResultsMessage":[32],"refreshTrigger":[32],"isFetchingAddresses":[32]},[[10,"click","handleClickOutside"],[8,"countryCodeUpdated","handleCountryCodeUpdate"],[8,"addressFetchStarted","handleFetchStarted"]],{"clientStyling":["handleStylingChange"],"isValid":["validityChanged"],"emitValue":["emitValueHandler"],"addresses":["handleAddresses"]}],[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]},[[10,"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]},[[10,"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],"disablePhonePrefix":[32],"phoneValue":[32],"phoneCodesOptions":[32]},[[10,"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"],"haspostalcodelookup":[516],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"selectedCountryCode":[32]},[[10,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"],[8,"countryCodeUpdated","handleCountryCodeUpdate"],[16,"sendAddressValue","handleAddressSelection"],[8,"documentNumberUpdatedExternally","handleExternalDocUpdate"],[8,"documentNumberResetValidation","handleDocReset"]],{"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"],"enableSouthAfricanMode":[516,"enable-south-african-mode"],"pinAttemptsExceeded":[516,"pin-attempts-exceeded"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"limitStylingAppends":[32],"isValid":[32],"isResendButtonAvailable":[32],"showTooltip":[32],"errorMessage":[32],"code":[32],"resendIntervalSecondsLeft":[32],"revealedIndexes":[32]},[[10,"click","handleClickOutside"]],{"isValid":["validityChanged"],"emitValue":["emitValueHandler"],"clientStylingUrl":["handleStylingUrlChange"],"clientStyling":["handleStylingChange"]}]]]]'),l)}));
@@ -1,4 +1,4 @@
1
- import { b as i, p as a } from "./index-c666b6e6-BRPcYv74.js";
1
+ import { b as i, p as a } from "./index-c666b6e6-CHeQfJP1.js";
2
2
  import { c as t } from "./app-globals-0f993ce5-XUXOuUQl.js";
3
3
  var n = () => {
4
4
  const e = import.meta.url, l = {};
@@ -14,7 +14,7 @@ var o = (l, i, a) => new Promise((s, d) => {
14
14
  }, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(u, r);
15
15
  t((a = a.apply(l, i)).next());
16
16
  });
17
- import { b as g, p as c } from "./index-c666b6e6-Be1JOwd1.js";
17
+ import { b as g, p as c } from "./index-c666b6e6-D0eOIPSZ.js";
18
18
  import { c as p } from "./app-globals-0f993ce5-XUXOuUQl.js";
19
19
  var m = () => {
20
20
  const l = import.meta.url, i = {};
@@ -1,4 +1,4 @@
1
- import { b as w, p as C, r as k, h as i, F as m } from "./index-9c0f6c58-BN39eMNX.js";
1
+ import { b as w, p as C, r as k, h as i, F as m } from "./index-9c0f6c58-CGnN9UdB.js";
2
2
  import { a as S } from "./app-globals-0f993ce5-XUXOuUQl.js";
3
3
  var x = () => {
4
4
  const e = import.meta.url, n = {};
@@ -571,7 +571,7 @@ function I(e, n) {
571
571
  if (!e)
572
572
  return;
573
573
  const o = e.getRootNode(), a = window[c];
574
- let r = a[n]?.sheet;
574
+ let r = a[n] && a[n].sheet;
575
575
  r ? a[n].refCount = a[n].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(t), a[n] = {
576
576
  sheet: r,
577
577
  refCount: 1