@everymatrix/player-account-controller 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/components/GeneralLogout-9pZTJKCj.cjs +8 -0
  2. package/components/{GeneralLogout-GS7gE3LI.js → GeneralLogout-DH2dZPHM.js} +1081 -1088
  3. package/components/{GeneralLogout-DMvKimEo.js → GeneralLogout-DKa2JUny.js} +1076 -1083
  4. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
  5. package/components/{PlayerAccountBettingHistory-DUgPRDra.js → PlayerAccountBettingHistory-CxIU3NjD.js} +130 -134
  6. package/components/PlayerAccountBettingHistory-DcspNMNL.js +329 -0
  7. package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-CARn4eVu.js → PlayerAccountBiometrics-BBYUw87N.js} +125 -126
  9. package/components/{PlayerAccountBiometrics-CXLK5_xT.js → PlayerAccountBiometrics-D3fKLHtV.js} +125 -126
  10. package/components/{PlayerAccountClosure-BQsYcTs7.js → PlayerAccountClosure-CtTfS7wl.js} +123 -124
  11. package/components/{PlayerAccountClosure-BkKcpa4J.js → PlayerAccountClosure-DJv7cY7T.js} +123 -124
  12. package/components/{PlayerAccountClosure-DfJc6Ip_.cjs → PlayerAccountClosure-Z7IuAXPP.cjs} +1 -1
  13. package/components/PlayerAccountController-BfaTH0AY.cjs +1 -0
  14. package/components/{PlayerAccountController-BhRqOpNe.js → PlayerAccountController-BqEnzpc6.js} +2702 -2164
  15. package/components/{PlayerAccountController-5iMZlx1a.js → PlayerAccountController-Djsrrn-h.js} +2708 -2170
  16. package/components/{PlayerAccountGamingLimits-DwpArRnO.js → PlayerAccountGamingLimits-Bd5ti2Yy.js} +301 -250
  17. package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-B2-Mgazd.js → PlayerAccountGamingLimits-cnXxBvfZ.js} +301 -250
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js → PlayerAccountGamingLimitsConfirmationModal-CS4mjsLb.js} +127 -131
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-DefxnTKN.js → PlayerAccountGamingLimitsConfirmationModal-_MNPhSXy.js} +127 -131
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js → PlayerAccountGamingLimitsGroupEdit-45Rp4DP_.js} +1073 -1077
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-Cj7PXLH2.js → PlayerAccountGamingLimitsGroupEdit-C7OBS8be.js} +1073 -1077
  25. package/components/{PlayerAccountGamingLimitsHistory2-2NpX8p0k.js → PlayerAccountGamingLimitsHistory2-VyLPwXZu.js} +218 -226
  26. package/components/{PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs → PlayerAccountGamingLimitsHistory2-XZt8OllP.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-DF8kvIf6.js → PlayerAccountGamingLimitsHistory2-mJtlR6Ge.js} +210 -218
  28. package/components/{PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js → PlayerAccountGamingLimitsInfoCard-BxU5hBOF.js} +639 -588
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CNvQOw3A.js → PlayerAccountGamingLimitsInfoCard-C7pCh3__.js} +639 -588
  30. package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-C7_DGAt1.js → PlayerAccountGamingLimitsPage2Gm16-CNiOjWfB.js} +1063 -1039
  32. package/components/PlayerAccountGamingLimitsPage2Gm16-Cha-RkAd.cjs +21 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js → PlayerAccountGamingLimitsPage2Gm16-D66arvZd.js} +1159 -1135
  34. package/components/{PlayerAccountGamingLimitsPopup-BlCz3nIH.js → PlayerAccountGamingLimitsPopup-BzEwvjUN.js} +116 -120
  35. package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-Bt4YlCWi.js → PlayerAccountGamingLimitsPopup-D3UUO_Eq.js} +116 -120
  37. package/components/PlayerAccountGamingLimitsWrapper2-5LQf2KmJ.js +1017 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2-Bodw0FD-.js +1011 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2-CFxTXIfS.cjs +1 -0
  40. package/components/{PlayerAccountGeneralConfirmationModal-SjPp-PVG.js → PlayerAccountGeneralConfirmationModal-CXql07aQ.js} +141 -142
  41. package/components/{PlayerAccountGeneralConfirmationModal-D3u9X3Q6.js → PlayerAccountGeneralConfirmationModal-D8JPZNbs.js} +141 -142
  42. package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
  43. package/components/PlayerAccountMenu-5EvNrc-W.cjs +1 -0
  44. package/components/PlayerAccountMenu-BHWtSf34.js +684 -0
  45. package/components/PlayerAccountMenu-CKSsdVD4.js +683 -0
  46. package/components/PlayerAccountModal-CAL-lChv.js +209 -0
  47. package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
  48. package/components/PlayerAccountModal-c01xdqmW.js +209 -0
  49. package/components/PlayerAccountNotifications-B-haSjPr.cjs +1 -0
  50. package/components/PlayerAccountNotifications-Bvoot0Jw.js +368 -0
  51. package/components/PlayerAccountNotifications-CitVsKYm.js +369 -0
  52. package/components/PlayerAccountSelfExclusion-CW1t2BNm.cjs +3557 -0
  53. package/components/{PlayerAccountSelfExclusion-D6Kby-08.js → PlayerAccountSelfExclusion-Cz0rML3Z.js} +10883 -11100
  54. package/components/{PlayerAccountSelfExclusion-BkK_LRpi.js → PlayerAccountSelfExclusion-DzxXZ0NG.js} +10806 -11069
  55. package/components/{PlayerAccountTimeout-tPNVqlAT.js → PlayerAccountTimeout-9wxsYv0_.js} +495 -364
  56. package/components/PlayerAccountTimeout-CAWJeQ3d.cjs +1 -0
  57. package/components/{PlayerAccountTimeout-DWNG3Mes.js → PlayerAccountTimeout-gWHY_22Q.js} +495 -364
  58. package/components/PlayerActiveBonuses-D0jBzeb4.js +1055 -0
  59. package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
  60. package/components/PlayerActiveBonuses-qHNn2eq8.js +1056 -0
  61. package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
  62. package/components/{PlayerBonusCard-8uOU9OLG.js → PlayerBonusCard-CGoRkCFh.js} +166 -168
  63. package/components/{PlayerBonusCard-Cppd6wFF.js → PlayerBonusCard-CaQEQ2Fx.js} +166 -168
  64. package/components/PlayerBonusHistory-C6p_5FRc.cjs +1 -0
  65. package/components/PlayerBonusHistory-DBCc2ItI.js +937 -0
  66. package/components/PlayerBonusHistory-DfQd--j_.js +938 -0
  67. package/components/{PlayerChangePassword-N_UEFJNT.js → PlayerChangePassword-6dHXMBQg.js} +384 -388
  68. package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
  69. package/components/{PlayerChangePassword-OM9U8MSx.js → PlayerChangePassword-COdBpupf.js} +384 -388
  70. package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
  71. package/components/PlayerDeposit-CTXnx-k2.js +391 -0
  72. package/components/PlayerDeposit-DwxXelMX.js +391 -0
  73. package/components/{PlayerGamingHistory-BLQD-WyT.js → PlayerGamingHistory-4f_MiXvH.js} +348 -352
  74. package/components/PlayerGamingHistory-DAfDiFej.cjs +1 -0
  75. package/components/{PlayerGamingHistory-XiAb60Gu.js → PlayerGamingHistory-dDHtahYn.js} +373 -377
  76. package/components/PlayerPendingWithdrawals-BFrv_-ow.js +310 -0
  77. package/components/PlayerPendingWithdrawals-CHHH7JPW.js +310 -0
  78. package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
  79. package/components/PlayerProfileInfo-DDHAv267.cjs +1 -0
  80. package/components/PlayerProfileInfo-DlA-e6OI.js +1821 -0
  81. package/components/PlayerProfileInfo-Yky_xo7E.js +1804 -0
  82. package/components/PlayerRealityCheck-BLlc8RGo.cjs +1 -0
  83. package/components/PlayerRealityCheck-Bn_ov_Ie.js +652 -0
  84. package/components/PlayerRealityCheck-JOxPFKqm.js +668 -0
  85. package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
  86. package/components/PlayerTransactionHistory-CxRrWzgQ.js +314 -0
  87. package/components/PlayerTransactionHistory-CzOvo_E3.js +314 -0
  88. package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
  89. package/components/{PlayerWithdrawal-CGSnHppy.js → PlayerWithdrawal-BlhHRFmC.js} +137 -141
  90. package/components/{PlayerWithdrawal-t5mlX5CD.js → PlayerWithdrawal-CnoGAUmo.js} +137 -141
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  96. package/stencil/{app-globals-0f993ce5-C0vi_PY4.js → app-globals-0f993ce5-DzSE6TtH.js} +4 -2
  97. package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
  98. package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
  99. package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
  100. package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
  101. package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
  102. package/stencil/general-input-wM2i7b57.cjs +1 -0
  103. package/stencil/index-12dd2b03-B2coll71.js +725 -0
  104. package/stencil/index-12dd2b03-Dd1hsUZX.cjs +1 -0
  105. package/stencil/index-12dd2b03-YP3skHrn.js +698 -0
  106. package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
  107. package/stencil/index-92b64862-C_69cKxK.js +708 -0
  108. package/stencil/index-92b64862-w9a1l35N.js +692 -0
  109. package/stencil/index-b1bdf3f6-0mlbFiN3.js +632 -0
  110. package/stencil/index-b1bdf3f6-DBuAhDH-.js +659 -0
  111. package/stencil/index-b1bdf3f6-DdF5azN0.cjs +1 -0
  112. package/stencil/index-c7e52808-7ohcD8fQ.js +638 -0
  113. package/stencil/index-c7e52808-DYutdKGj.cjs +1 -0
  114. package/stencil/index-c7e52808-WCb5gCA6.js +654 -0
  115. package/stencil/index-db5752f9-B4MZ13Fz.js +610 -0
  116. package/stencil/index-db5752f9-C_VcDZns.js +594 -0
  117. package/stencil/index-db5752f9-DSHLGBj_.cjs +1 -0
  118. package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
  119. package/stencil/password-input_2-CdHS5fmR.js +569 -0
  120. package/stencil/password-input_2-DdQvCp3o.js +569 -0
  121. package/stencil/player-change-password-gm2-1hTMqepH.js +7 -0
  122. package/stencil/player-change-password-gm2-2YEpyazj.js +25 -0
  123. package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
  124. package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
  125. package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
  126. package/stencil/player-change-password-gm2-CDxgB3eD.cjs +1 -0
  127. package/stencil/player-kyc-verification-5V24oWMX.cjs +180 -0
  128. package/stencil/{player-kyc-verification-DuUII5AF.js → player-kyc-verification-BPrVDLfj.js} +49 -29
  129. package/stencil/{player-kyc-verification-CZy8RShe.js → player-kyc-verification-CRwnm961.js} +50 -30
  130. package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
  131. package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
  132. package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
  133. package/stencil/ui-skeleton-982450d2-BEC6vjfL.cjs +1 -0
  134. package/stencil/ui-skeleton-982450d2-CXoVwMz-.js +122 -0
  135. package/stencil/ui-skeleton-982450d2-DgSl7oS5.js +122 -0
  136. package/stencil/ui-skeleton-BjdFVTvB.cjs +1 -0
  137. package/stencil/ui-skeleton-BkychLQM.js +29 -0
  138. package/stencil/ui-skeleton-Bw-C78oa.js +11 -0
  139. package/stencil/{user-deposit-withdrawal-DRo4MaOR.js → user-deposit-withdrawal-51pO8ttC.js} +194 -177
  140. package/stencil/user-deposit-withdrawal-Bn1WPRou.cjs +59 -0
  141. package/stencil/{user-deposit-withdrawal-DsEm--6b.js → user-deposit-withdrawal-C0SOQks0.js} +268 -251
  142. package/stencil/user-transaction-history-8EskARbv.cjs +1 -0
  143. package/stencil/user-transaction-history-BsTUJ4on.js +350 -0
  144. package/stencil/user-transaction-history-LRgu-JMX.js +374 -0
  145. package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
  146. package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
  147. package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
  148. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  149. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  150. package/components/PlayerAccountBettingHistory-YNLbWHxl.js +0 -333
  151. package/components/PlayerAccountController-7FPLehfk.cjs +0 -1
  152. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  153. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  154. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  155. package/components/PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs +0 -21
  156. package/components/PlayerAccountGamingLimitsWrapper2-D3tW5CCc.js +0 -860
  157. package/components/PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs +0 -1
  158. package/components/PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js +0 -866
  159. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  160. package/components/PlayerAccountMenu-5esyJ_VN.js +0 -579
  161. package/components/PlayerAccountMenu-C704oUrC.cjs +0 -1
  162. package/components/PlayerAccountMenu-DgptA72k.js +0 -578
  163. package/components/PlayerAccountModal-BnWL5726.js +0 -213
  164. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  165. package/components/PlayerAccountModal-CbLpkfXY.js +0 -213
  166. package/components/PlayerAccountNotifications-B02Ownhe.js +0 -261
  167. package/components/PlayerAccountNotifications-C-lyz5dM.js +0 -261
  168. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  169. package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +0 -4171
  170. package/components/PlayerAccountTimeout-DMbUPtRy.cjs +0 -1
  171. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
  172. package/components/PlayerActiveBonuses-SCbHFBuw.js +0 -1037
  173. package/components/PlayerActiveBonuses-dRIcHoZG.js +0 -1038
  174. package/components/PlayerBonusHistory-44sPM1i7.js +0 -919
  175. package/components/PlayerBonusHistory-D2YSJiqi.cjs +0 -1
  176. package/components/PlayerBonusHistory-DWvXjCPO.js +0 -920
  177. package/components/PlayerDeposit-CwMvcnsj.js +0 -414
  178. package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
  179. package/components/PlayerDeposit-Q2N0Y2_v.js +0 -414
  180. package/components/PlayerGamingHistory-DRkPp9aG.cjs +0 -1
  181. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  182. package/components/PlayerPendingWithdrawals-BSTgce9H.js +0 -311
  183. package/components/PlayerPendingWithdrawals-BsCRRPqb.js +0 -311
  184. package/components/PlayerProfileInfo-C7zRlD3p.js +0 -1757
  185. package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
  186. package/components/PlayerProfileInfo-zmbAMe_l.js +0 -1740
  187. package/components/PlayerRealityCheck-A_mZq3YZ.js +0 -598
  188. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  189. package/components/PlayerRealityCheck-D7u9BzPV.js +0 -582
  190. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  191. package/components/PlayerTransactionHistory-DllIB_qE.js +0 -315
  192. package/components/PlayerTransactionHistory-DsRmd4u6.js +0 -315
  193. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  194. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
  195. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
  196. package/stencil/general-input-igTYIJ6W.cjs +0 -1
  197. package/stencil/index-0437c9c0-BwGFk0Yq.js +0 -565
  198. package/stencil/index-0437c9c0-C_oD9Yfn.js +0 -592
  199. package/stencil/index-0437c9c0-oCxuDVFQ.cjs +0 -1
  200. package/stencil/index-657e7a14-B7-RqEpB.js +0 -572
  201. package/stencil/index-657e7a14-CrrA_w_5.cjs +0 -1
  202. package/stencil/index-657e7a14-DW4SbCqy.js +0 -588
  203. package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
  204. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
  205. package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
  206. package/stencil/index-e8249896-BjtvOmsZ.cjs +0 -1
  207. package/stencil/index-e8249896-CM_igLvD.js +0 -658
  208. package/stencil/index-e8249896-DW1YiUqn.js +0 -631
  209. package/stencil/password-input_2-CHOu4hgw.js +0 -1420
  210. package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
  211. package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
  212. package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
  213. package/stencil/player-change-password-gm2-BR82_Y4L.cjs +0 -1
  214. package/stencil/player-change-password-gm2-DlMNv4hv.js +0 -25
  215. package/stencil/player-change-password-gm2-FHUeecdE.js +0 -7
  216. package/stencil/player-kyc-verification-DxpMnJ6t.cjs +0 -180
  217. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
  218. package/stencil/user-deposit-withdrawal-Cum51n64.cjs +0 -59
  219. package/stencil/user-transaction-history-BpBJPUwq.js +0 -355
  220. package/stencil/user-transaction-history-C3_7vgUY.cjs +0 -1
  221. package/stencil/user-transaction-history-ClGHRdoQ.js +0 -329
  222. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
@@ -0,0 +1,105 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-92b64862-BRYoLHww.cjs"),o=require("./locale-B5abSHU_.cjs"),a=require("./vaadin-button-mixin-ef61174c-DuDVejN4.cjs"),c=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),m=require("./player-change-password-gm2-38dff08c-DnYXSeKg.cjs");/**
2
+ * @license
3
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */a.registerStyles("vaadin-text-field",a.inputFieldShared$1,{moduleId:"lumo-text-field-styles"});/**
6
+ * @license
7
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
8
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9
+ */const v=t=>class extends a.InputControlMixin(t){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.value&&e.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),e.value=""),this.value&&(e.value=this.value))}_setFocused(e){super._setFocused(e),!e&&document.hasFocus()&&this._requestValidation()}_onInput(e){super._onInput(e),this.invalid&&this._requestValidation()}_valueChanged(e,r){super._valueChanged(e,r),r!==void 0&&this.invalid&&this._requestValidation()}};/**
10
+ * @license
11
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
12
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13
+ */const g=t=>class extends v(t){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new a.InputController(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new a.LabelledInputController(this.inputElement,this._labelController))}};/**
14
+ * @license
15
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
16
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
17
+ */a.registerStyles("vaadin-text-field",a.inputFieldShared,{moduleId:"vaadin-text-field-styles"});class p extends g(a.ThemableMixin(a.ElementMixin(a.PolymerElement))){static get is(){return"vaadin-text-field"}static get template(){return a.html`
18
+ <div class="vaadin-field-container">
19
+ <div part="label">
20
+ <slot name="label"></slot>
21
+ <span part="required-indicator" aria-hidden="true" on-click="focus"></span>
22
+ </div>
23
+
24
+ <vaadin-input-container
25
+ part="input-field"
26
+ readonly="[[readonly]]"
27
+ disabled="[[disabled]]"
28
+ invalid="[[invalid]]"
29
+ theme$="[[_theme]]"
30
+ >
31
+ <slot name="prefix" slot="prefix"></slot>
32
+ <slot name="input"></slot>
33
+ <slot name="suffix" slot="suffix"></slot>
34
+ <div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
35
+ </vaadin-input-container>
36
+
37
+ <div part="helper-text">
38
+ <slot name="helper"></slot>
39
+ </div>
40
+
41
+ <div part="error-message">
42
+ <slot name="error-message"></slot>
43
+ </div>
44
+ </div>
45
+ <slot name="tooltip"></slot>
46
+ `}ready(){super.ready(),this._tooltipController=new a.TooltipController(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}a.defineCustomElement(p);/**
47
+ * @license
48
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
49
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
50
+ */const _=a.i$3`
51
+ :host {
52
+ position: absolute;
53
+ right: 0;
54
+ top: 0;
55
+ margin: 0;
56
+ padding: 0;
57
+ width: 100%;
58
+ height: 100%;
59
+ min-width: auto;
60
+ background: transparent;
61
+ outline: none;
62
+ }
63
+ `;a.registerStyles("vaadin-password-field-button",[a.button,_],{moduleId:"lumo-password-field-button"});/**
64
+ * @license
65
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
66
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
67
+ */const w=a.i$3`
68
+ [part='reveal-button']::before {
69
+ content: var(--lumo-icons-eye);
70
+ }
71
+
72
+ :host([password-visible]) [part='reveal-button']::before {
73
+ content: var(--lumo-icons-eye-disabled);
74
+ }
75
+
76
+ /* Make it easy to hide the button across the whole app */
77
+ [part='reveal-button'] {
78
+ position: relative;
79
+ display: var(--lumo-password-field-reveal-button-display, block);
80
+ }
81
+
82
+ [part='reveal-button'][hidden] {
83
+ display: none !important;
84
+ }
85
+ `;a.registerStyles("vaadin-password-field",[a.inputFieldShared$1,w],{moduleId:"lumo-password-field"});/**
86
+ * @license
87
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
88
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
89
+ */a.registerStyles("vaadin-password-field-button",a.buttonStyles,{moduleId:"vaadin-password-field-button-styles"});class f extends a.ButtonMixin(a.DirMixin(a.ThemableMixin(a.PolymerElement))){static get is(){return"vaadin-password-field-button"}static get template(){return a.html``}}a.defineCustomElement(f);/**
90
+ * @license
91
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
92
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
93
+ */const y=t=>class extends a.SlotStylesMixin(a.DisabledMixin(a.FocusMixin(a.InputMixin(t)))){static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){const e=this.localName;return[...super.slotStyles,`
94
+ ${e} [slot="input"]::-ms-reveal {
95
+ display: none;
96
+ }
97
+ `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new a.SlotController(this,"reveal","vaadin-password-field-button",{initializer:e=>{e.disabled=this.disabled,e.addEventListener("click",this.__boundRevealButtonClick),e.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(e){super._onChange(e),this.__lastChange=this.inputElement.value}_shouldSetFocus(e){return e.target===this.inputElement||e.target===this._revealNode}_shouldRemoveFocus(e){return!(e.relatedTarget===this._revealNode||e.relatedTarget===this.inputElement&&e.target===this._revealNode)}_setFocused(e){if(super._setFocused(e),!e)this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})));else{const r=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!r)}}__updateAriaLabel(e){e&&e.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",e.reveal)}__i18nChanged(e){this.__updateAriaLabel(e)}_revealButtonHiddenChanged(e){this._toggleRevealHidden(e)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(e){this._revealNode&&(e?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(e){this._revealNode&&this._revealNode.setAttribute("aria-pressed",e?"true":"false")}_passwordVisibleChanged(e){this._setType(e?"text":"password"),this._updateToggleState(e)}_disabledChanged(e,r){super._disabledChanged(e,r),this._revealNode&&(this._revealNode.disabled=e)}};/**
98
+ * @license
99
+ * Copyright (c) 2021 - 2024 Vaadin Ltd.
100
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
101
+ */const b=a.html`
102
+ <div part="reveal-button" slot="suffix">
103
+ <slot name="reveal"></slot>
104
+ </div>
105
+ `;let u;class x extends y(p){static get is(){return"vaadin-password-field"}static get template(){if(!u){u=super.template.cloneNode(!0);const i=b.content.querySelector('[part="reveal-button"]');u.content.querySelector('[part="input-field"]').appendChild(i)}return u}}a.defineCustomElement(x);const C='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}',F=C,h=class{constructor(t){s.registerInstance(this,t),this.sendOriginalValidityState=s.createEvent(this,"sendOriginalValidityState"),this.sendValidityState=s.createEvent(this,"sendValidityState"),this.sendInputValue=s.createEvent(this,"sendInputValue"),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.value="",this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=i=>{this.value=i.target.value,this.calculateComplexity(this.value),this.showPopup=!0,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout(()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},500)},this.handleRevealField=i=>{i.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=i=>{this.value=i.target.value,this.showPopup=!1,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage()},this.handleFocus=()=>{this.showPopup=!0,this.calculateComplexity(this.value)},this.setClientStyling=()=>{let i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValue==!0&&this.valueHandler({name:this.name,value:this.value})}valueChanged(){this.isDuplicateInput||(this.calculateComplexity(this.value),this.sendOriginalValidityState.emit({name:this.name,valid:this.setValidity()}))}emitValueHandler(t){t==!0&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(t){this.sendValidityState.emit(t)}valueHandler(t){this.sendInputValue.emit(t)}originalValidityChangedHandler(t){this.isDuplicateInput&&(t.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,this.value!==""&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(t){this.isDuplicateInput&&this.name===t.detail.name+"Duplicate"&&(this.duplicateInputValue=t.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===t.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===t.detail.name&&this.touched===!0&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}handleClickOutside(t){t.composedPath()[0]!==this.tooltipIconReference&&t.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.passwordButton=this.element.shadowRoot.querySelector("vaadin-password-field-button"),this.passwordButton.tabIndex=-1,this.passwordButton.addEventListener("click",t=>{this.handleRevealField(t)}),this.defaultValue&&(this.value=this.defaultValue,this.calculateComplexity(this.value),this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.duplicateInputValue=this.defaultValue,this.touched=!0)),this.isValid=this.setValidity()}disconnectedCallback(){this.passwordButton.removeEventListener("click",this.handleRevealField)}calculateComplexity(t){this.passwordComplexity=this.validation.custom.filter(i=>i.rule==="regex").map(i=>{const r=new RegExp(i.pattern).test(t);return{rule:i.displayName,ruleKey:i.errorKey,passed:r}})}setValidity(){var t,i;return this.isDuplicateInput&&this.duplicateInputValue!==this.value?!1:!((t=this.passwordComplexity)===null||t===void 0)&&t.every(e=>e.passed)?(i=this.inputReference)===null||i===void 0?void 0:i.validity.valid:!1}setPattern(){var t,i;if(((t=this.validation.custom)===null||t===void 0?void 0:t.length)>0)return(i=this.validation.custom.find(e=>e.rule==="regex"))===null||i===void 0?void 0:i.pattern}setErrorMessage(){var t,i,e,r;if(this.isDuplicateInput&&!this.originalValid)return o.translate("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const l=(t=this.validation.custom.find(n=>n.rule==="regex"))===null||t===void 0?void 0:t.errorKey,d=(i=this.validation.custom.find(n=>n.rule==="regex"))===null||i===void 0?void 0:i.errorMessage;return o.translate(`${l}`,this.language)?o.translate(`${l}`,this.language):d}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return o.translate("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return o.translate("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const l=(e=this.validation.custom.find(n=>n.rule==="duplicate-input"))===null||e===void 0?void 0:e.errorKey,d=(r=this.validation.custom.find(n=>n.rule==="duplicate-input"))===null||r===void 0?void 0:r.errorMessage;return o.translate(`${l}`,this.language)?o.translate(`${l}`,this.language):d}}renderTooltip(){return this.showTooltip?s.h("div",{class:`password__tooltip ${this.showTooltip?"visible":""}`,ref:t=>this.tooltipReference=t,innerHTML:this.tooltip}):null}renderComplexityPopup(){const t=this.passwordComplexity.length,e=this.passwordComplexity.filter(l=>l.passed).length/t,r=this.passwordComplexity.every(l=>l.passed);return s.h("div",{class:`password__complexity ${this.showPopup?"":"password__complexity--hidden"}`},s.h("div",{class:"password__complexity--strength"},s.h("p",{class:"password__complexity--text"},o.translate("passwordStrength",this.language)," ",s.h("span",{class:"password__complexity--text-bold"},o.translate(`${r?"passwordStrengthStrong":"passwordStrengthWeak"}`,this.language))),s.h("meter",{value:e,min:"0",max:"1"})),s.h("div",null,this.passwordComplexity.map((l,d)=>s.h("div",{key:d},s.h("input",{class:"password__complexity--checkbox",type:"checkbox",checked:l.passed,disabled:!0}),s.h("span",null,o.translate(`${l.ruleKey}`,this.language)?o.translate(`${l.ruleKey}`,this.language):l.rule)))))}render(){let t="";return this.touched&&(t=this.isValid==!0||this.isValid==null?"":"text__input--invalid"),s.h("div",{key:"c704b51efdf53817beb1541b4794e0b11b490a24",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:i=>this.stylingContainer=i},s.h("div",{key:"e590afa403084ff95a8735ade400ab81ad16937f",class:"password__wrapper--flex"},s.h("label",{key:"9d8db00b59c4b9594538aeacee3ef5a0e678c0e9",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),s.h("div",{key:"bb39f6018cf688fafcd0b5bef91ba079edf09daf",class:"password__wrapper--relative"},this.tooltip&&s.h("img",{key:"d8dbd086da34a8c7db9b5826654530bdb888c927",class:"password__tooltip-icon",src:c.tooltipIconSvg,alt:"",ref:i=>this.tooltipIconReference=i,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),s.h("vaadin-password-field",{key:"ae1c212d663fe379561b1c514087629409196ac3",type:"password",id:`${this.name}__input`,class:`password__input ${t}`,name:this.name,readOnly:this.autofilled,value:this.defaultValue,required:this.validation.mandatory,maxlength:this.validation.maxLength,minlength:this.validation.minLength,pattern:this.validationPattern,placeholder:`${this.placeholder}`,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus}),s.h("small",{key:"2fa1e25239a7314399c16b2f897873b7a31e9f77",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return s.getElement(this)}static get watchers(){return{isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};h.style=F;exports.player_change_password_gm2=m.PlayerChangePasswordGm2;exports.password_input=h;