@everymatrix/player-account-controller 1.54.11 → 1.55.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 (161) hide show
  1. package/components/GeneralLogout-BW6b3iuS.cjs +8 -0
  2. package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DMvKimEo.js} +735 -713
  3. package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-GS7gE3LI.js} +610 -588
  4. package/components/{PlayerAccountBettingHistory-Cb8OMNy9.cjs → PlayerAccountBettingHistory-BsFzBNDY.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-DUgPRDra.js} +24 -24
  6. package/components/{PlayerAccountBettingHistory-C6G8D9gE.js → PlayerAccountBettingHistory-YNLbWHxl.js} +24 -24
  7. package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-BrlNlZ5N.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-CARn4eVu.js} +26 -26
  9. package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-CXLK5_xT.js} +26 -26
  10. package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-BQsYcTs7.js} +13 -13
  11. package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-BkKcpa4J.js} +13 -13
  12. package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-DfJc6Ip_.cjs} +1 -1
  13. package/components/{PlayerAccountController-DYgabEdS.js → PlayerAccountController-5iMZlx1a.js} +128 -128
  14. package/components/{PlayerAccountController-BuXBBarM.cjs → PlayerAccountController-7FPLehfk.cjs} +1 -1
  15. package/components/{PlayerAccountController-B1T1aFdb.js → PlayerAccountController-BhRqOpNe.js} +126 -126
  16. package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-B2-Mgazd.js} +19 -19
  17. package/components/{PlayerAccountGamingLimits-DbX9_Kpb.cjs → PlayerAccountGamingLimits-BPQrptbd.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-DwpArRnO.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js} +30 -30
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-DefxnTKN.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs → PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js} +51 -51
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-Cj7PXLH2.js} +51 -51
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs} +2 -2
  25. package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-2NpX8p0k.js} +44 -44
  26. package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-DF8kvIf6.js} +46 -46
  28. package/components/{PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs → PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-CNvQOw3A.js} +95 -95
  30. package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js} +95 -95
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs → PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-C7_DGAt1.js} +72 -72
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js} +122 -122
  34. package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BlCz3nIH.js} +17 -17
  35. package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-Bt4YlCWi.js} +17 -17
  36. package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js → PlayerAccountGamingLimitsWrapper2-D3tW5CCc.js} +8 -8
  38. package/components/{PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs → PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js → PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js} +8 -8
  40. package/components/{PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs → PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-D3u9X3Q6.js} +39 -39
  42. package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-SjPp-PVG.js} +39 -39
  43. package/components/{PlayerAccountMenu-VCDFEkVV.js → PlayerAccountMenu-5esyJ_VN.js} +20 -20
  44. package/components/{PlayerAccountMenu-kULPvwXH.cjs → PlayerAccountMenu-C704oUrC.cjs} +1 -1
  45. package/components/{PlayerAccountMenu-Bnj75Pyr.js → PlayerAccountMenu-DgptA72k.js} +17 -17
  46. package/components/{PlayerAccountModal-BGNjm-FU.js → PlayerAccountModal-BnWL5726.js} +28 -28
  47. package/components/{PlayerAccountModal-DLxnK5Aq.cjs → PlayerAccountModal-C7aZZlBw.cjs} +1 -1
  48. package/components/{PlayerAccountModal-d2eY7pgp.js → PlayerAccountModal-CbLpkfXY.js} +28 -28
  49. package/components/{PlayerAccountNotifications-BkPn9o0x.js → PlayerAccountNotifications-B02Ownhe.js} +16 -16
  50. package/components/{PlayerAccountNotifications-DwHaboef.js → PlayerAccountNotifications-C-lyz5dM.js} +16 -16
  51. package/components/{PlayerAccountNotifications-DLpnh54-.cjs → PlayerAccountNotifications-DkgHtUGj.cjs} +1 -1
  52. package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +4171 -0
  53. package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-BkK_LRpi.js} +9840 -9439
  54. package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-D6Kby-08.js} +9320 -8965
  55. package/components/{PlayerAccountTimeout-DX8TE-kL.cjs → PlayerAccountTimeout-DMbUPtRy.cjs} +1 -1
  56. package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-DWNG3Mes.js} +25 -25
  57. package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-tPNVqlAT.js} +25 -25
  58. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +1 -0
  59. package/components/{PlayerActiveBonuses-DZ1TuekM.js → PlayerActiveBonuses-SCbHFBuw.js} +392 -443
  60. package/components/{PlayerActiveBonuses-WBu-rYFj.js → PlayerActiveBonuses-dRIcHoZG.js} +415 -466
  61. package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-8uOU9OLG.js} +50 -50
  62. package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-BC8FfHZz.cjs} +1 -1
  63. package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-Cppd6wFF.js} +50 -50
  64. package/components/{PlayerBonusHistory-C7m0o7Yl.js → PlayerBonusHistory-44sPM1i7.js} +30 -30
  65. package/components/{PlayerBonusHistory-D-qDx10G.cjs → PlayerBonusHistory-D2YSJiqi.cjs} +1 -1
  66. package/components/{PlayerBonusHistory-DDNLaEBO.js → PlayerBonusHistory-DWvXjCPO.js} +30 -30
  67. package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-CzR4Xz0H.cjs} +1 -1
  68. package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-N_UEFJNT.js} +103 -103
  69. package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-OM9U8MSx.js} +103 -103
  70. package/components/PlayerDeposit-CwMvcnsj.js +414 -0
  71. package/components/PlayerDeposit-D_78W5GC.cjs +1 -0
  72. package/components/PlayerDeposit-Q2N0Y2_v.js +414 -0
  73. package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-BLQD-WyT.js} +54 -54
  74. package/components/{PlayerGamingHistory-CcFH-mIk.cjs → PlayerGamingHistory-DRkPp9aG.cjs} +1 -1
  75. package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-XiAb60Gu.js} +59 -59
  76. package/components/{PlayerPendingWithdrawals-BvhoX5n1.cjs → PlayerPendingWithdrawals-BG3I8ifu.cjs} +1 -1
  77. package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BSTgce9H.js} +33 -33
  78. package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-BsCRRPqb.js} +33 -33
  79. package/components/{PlayerProfileInfo-B6I2vv_G.js → PlayerProfileInfo-C7zRlD3p.js} +163 -159
  80. package/components/{PlayerProfileInfo-Bx9bKldG.cjs → PlayerProfileInfo-CGsJydqv.cjs} +1 -1
  81. package/components/{PlayerProfileInfo-Baoz1CHE.js → PlayerProfileInfo-zmbAMe_l.js} +154 -150
  82. package/components/{PlayerRealityCheck-6ZyJUl5U.js → PlayerRealityCheck-A_mZq3YZ.js} +27 -27
  83. package/components/{PlayerRealityCheck-DMI_8YfG.cjs → PlayerRealityCheck-C26ZBWae.cjs} +1 -1
  84. package/components/{PlayerRealityCheck-CzPyJQgR.js → PlayerRealityCheck-D7u9BzPV.js} +26 -26
  85. package/components/{PlayerTransactionHistory-Dj8ABxFp.cjs → PlayerTransactionHistory-CJqhYnbs.cjs} +1 -1
  86. package/components/{PlayerTransactionHistory-CSK3J3Na.js → PlayerTransactionHistory-DllIB_qE.js} +23 -23
  87. package/components/{PlayerTransactionHistory-DmTfwUdw.js → PlayerTransactionHistory-DsRmd4u6.js} +23 -23
  88. package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-CGSnHppy.js} +20 -20
  89. package/components/{PlayerWithdrawal-BwymNFiL.cjs → PlayerWithdrawal-GDc_7hZX.cjs} +1 -1
  90. package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-t5mlX5CD.js} +20 -20
  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/{checkbox-group-input_9-9b62GyCW.js → checkbox-group-input_9-Cny9rOs9.js} +2490 -3376
  96. package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-DZvX2H_r.js} +2434 -3306
  97. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +2104 -0
  98. package/stencil/{general-input-BXIgsD0E.js → general-input-Yj_LRx0v.js} +6 -6
  99. package/stencil/{general-input-CwyM4h8z.js → general-input-d5RULL12.js} +6 -6
  100. package/stencil/general-input-igTYIJ6W.cjs +1 -0
  101. package/stencil/index-0437c9c0-BwGFk0Yq.js +565 -0
  102. package/stencil/index-0437c9c0-C_oD9Yfn.js +592 -0
  103. package/stencil/index-0437c9c0-oCxuDVFQ.cjs +1 -0
  104. package/stencil/index-657e7a14-B7-RqEpB.js +572 -0
  105. package/stencil/index-657e7a14-CrrA_w_5.cjs +1 -0
  106. package/stencil/index-657e7a14-DW4SbCqy.js +588 -0
  107. package/stencil/index-72d2f0c7--qtpsDOz.js +642 -0
  108. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +1 -0
  109. package/stencil/index-72d2f0c7-DyMEJXra.js +626 -0
  110. package/stencil/index-e8249896-BjtvOmsZ.cjs +1 -0
  111. package/stencil/index-e8249896-CM_igLvD.js +658 -0
  112. package/stencil/index-e8249896-DW1YiUqn.js +631 -0
  113. package/stencil/password-input_2-CHOu4hgw.js +1420 -0
  114. package/stencil/password-input_2-DQAgV1SZ.cjs +896 -0
  115. package/stencil/password-input_2-DaiHlKbQ.js +1420 -0
  116. package/stencil/{player-change-password-gm2-2de114b8-j-W8UbVm.cjs → player-change-password-gm2-780eb445-CdItmoKI.cjs} +1 -1
  117. package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-780eb445-Cg8Z75Vz.js} +3 -3
  118. package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-780eb445-DEjz9Jjk.js} +3 -3
  119. package/stencil/{player-change-password-gm2-DLw7pfT_.cjs → player-change-password-gm2-BR82_Y4L.cjs} +1 -1
  120. package/stencil/{player-change-password-gm2-BDCYchnQ.js → player-change-password-gm2-DlMNv4hv.js} +1 -1
  121. package/stencil/{player-change-password-gm2-CQtvRl58.js → player-change-password-gm2-FHUeecdE.js} +1 -1
  122. package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CZy8RShe.js} +43 -43
  123. package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-DuUII5AF.js} +39 -39
  124. package/stencil/{player-kyc-verification-CnOn9bB_.cjs → player-kyc-verification-DxpMnJ6t.cjs} +2 -2
  125. package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-Co64_7cm.js} +7 -7
  126. package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-ErX2Ngat.js} +7 -7
  127. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +1 -0
  128. package/stencil/{user-deposit-withdrawal-BZXlCCQr.cjs → user-deposit-withdrawal-Cum51n64.cjs} +2 -2
  129. package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-DRo4MaOR.js} +24 -24
  130. package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-DsEm--6b.js} +24 -24
  131. package/stencil/{user-transaction-history-DW482EoT.js → user-transaction-history-BpBJPUwq.js} +10 -10
  132. package/stencil/{user-transaction-history-CLdEzp7O.cjs → user-transaction-history-C3_7vgUY.cjs} +1 -1
  133. package/stencil/{user-transaction-history-CtDvqHoF.js → user-transaction-history-ClGHRdoQ.js} +7 -7
  134. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +3018 -0
  135. package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-6001b2a6-CZwj1qjO.js} +5818 -5228
  136. package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-6001b2a6-Dqz5Vp8D.js} +3935 -3299
  137. package/components/GeneralLogout-CMYMtWfC.cjs +0 -8
  138. package/components/PlayerAccountSelfExclusion-Dlkeebgy.cjs +0 -3557
  139. package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
  140. package/components/PlayerDeposit-B04mpHHT.js +0 -395
  141. package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
  142. package/components/PlayerDeposit-DJXOEJyq.js +0 -395
  143. package/stencil/checkbox-group-input_9-B0JD93gn.cjs +0 -2045
  144. package/stencil/general-input-BL1L8PI-.cjs +0 -1
  145. package/stencil/index-0a27499c-BaAMIKJI.js +0 -724
  146. package/stencil/index-0a27499c-DaAhyku1.js +0 -697
  147. package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
  148. package/stencil/index-1d58b17d-BREebYgt.js +0 -658
  149. package/stencil/index-1d58b17d-CY3tvLdR.js +0 -631
  150. package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
  151. package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
  152. package/stencil/index-45f4006f-D9GyS-vs.js +0 -638
  153. package/stencil/index-45f4006f-DKAxZFDZ.js +0 -654
  154. package/stencil/index-92b64862-Bnmv00O2.js +0 -708
  155. package/stencil/index-92b64862-CK1ANWGa.cjs +0 -1
  156. package/stencil/index-92b64862-CO3_TP5h.js +0 -692
  157. package/stencil/password-input_2-B5ePukhS.js +0 -569
  158. package/stencil/password-input_2-D3ziy4Iu.cjs +0 -105
  159. package/stencil/password-input_2-ZN0C3aqj.js +0 -569
  160. package/stencil/toggle-checkbox-input-n5b3s-CU.cjs +0 -1
  161. package/stencil/vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs +0 -2385
@@ -1,5 +1,5 @@
1
- import { a as U, $ as q, S as J, i as K, s as Q, f as M, b as V, D as X, d as W, r as Y, E as Z, F as $, G as tt, H as it, I as et, c as E, g as H, h as l, l as z, j as x, k as S, m as j, o as a, p as nt, q as ot, u as at, n as rt, v as D, w as st, x as lt, y as mt } from "./GeneralLogout-CwSCMNgW.js";
2
- function T(e, t) {
1
+ import { a as U, $ as q, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as D, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as T, o as lt, y as mt } from "./GeneralLogout-GS7gE3LI.js";
2
+ function j(e, t) {
3
3
  U(e, t);
4
4
  }
5
5
  function ct(e) {
@@ -52,21 +52,21 @@ const N = {
52
52
  }
53
53
  };
54
54
  function dt(e) {
55
- V(e, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
55
+ X(e, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
56
56
  }
57
57
  const gt = (e) => ({}), O = (e) => ({});
58
58
  function ut(e) {
59
59
  let t, n;
60
60
  return {
61
61
  c() {
62
- t = D("svg"), n = D("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
62
+ t = T("svg"), n = T("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
63
63
  },
64
64
  m(r, y) {
65
- H(r, t, y), l(t, n);
65
+ W(r, t, y), l(t, n);
66
66
  },
67
- p: rt,
67
+ p: lt,
68
68
  d(r) {
69
- r && W(t);
69
+ r && H(t);
70
70
  }
71
71
  };
72
72
  }
@@ -81,7 +81,7 @@ function ft(e) {
81
81
  const B = (
82
82
  /*#slots*/
83
83
  e[13].close
84
- ), _ = X(
84
+ ), _ = Y(
85
85
  B,
86
86
  e,
87
87
  /*$$scope*/
@@ -90,29 +90,29 @@ function ft(e) {
90
90
  ), u = _ || ut();
91
91
  return {
92
92
  c() {
93
- t = x("div"), n = x("div"), r = x("span"), u && u.c(), y = S(), b = x("div"), w = j(
93
+ t = x("div"), n = x("div"), r = x("span"), u && u.c(), y = E(), b = x("div"), w = z(
94
94
  /*modaltext*/
95
95
  e[0]
96
- ), d = S(), c = x("div"), g = x("button"), h = j(f), A = S(), s = x("button"), k = j(L), a(r, "class", "ModalCloseBtn"), a(r, "role", "button"), a(b, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(s, "class", "GamingLimitsConfirmButton"), a(c, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
96
+ ), d = E(), c = x("div"), g = x("button"), h = z(f), A = E(), s = x("button"), k = z(L), a(r, "class", "ModalCloseBtn"), a(r, "role", "button"), a(b, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(s, "class", "GamingLimitsConfirmButton"), a(c, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
97
97
  (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), a(n, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
98
98
  (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), a(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
99
99
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
100
100
  },
101
101
  m(o, p) {
102
- H(o, t, p), l(t, n), l(n, r), u && u.m(r, null), l(n, y), l(n, b), l(b, w), l(n, d), l(n, c), l(c, g), l(g, h), l(c, A), l(c, s), l(s, k), e[14](t), m = !0, v || (F = [
103
- z(
102
+ W(o, t, p), l(t, n), l(n, r), u && u.m(r, null), l(n, y), l(n, b), l(b, w), l(n, d), l(n, c), l(c, g), l(g, h), l(c, A), l(c, s), l(s, k), e[14](t), m = !0, v || (F = [
103
+ S(
104
104
  r,
105
105
  "click",
106
106
  /*close*/
107
107
  e[4]
108
108
  ),
109
- z(
109
+ S(
110
110
  g,
111
111
  "click",
112
112
  /*cancelChanges*/
113
113
  e[6]
114
114
  ),
115
- z(
115
+ S(
116
116
  s,
117
117
  "click",
118
118
  /*confirmChanges*/
@@ -122,62 +122,62 @@ function ft(e) {
122
122
  },
123
123
  p(o, [p]) {
124
124
  _ && _.p && (!m || p & /*$$scope*/
125
- 4096) && tt(
125
+ 4096) && Z(
126
126
  _,
127
127
  B,
128
128
  o,
129
129
  /*$$scope*/
130
130
  o[12],
131
- m ? et(
131
+ m ? tt(
132
132
  B,
133
133
  /*$$scope*/
134
134
  o[12],
135
135
  p,
136
136
  gt
137
- ) : it(
137
+ ) : $(
138
138
  /*$$scope*/
139
139
  o[12]
140
140
  ),
141
141
  O
142
142
  ), (!m || p & /*modaltext*/
143
- 1) && E(
143
+ 1) && D(
144
144
  w,
145
145
  /*modaltext*/
146
146
  o[0]
147
147
  ), (!m || p & /*$_*/
148
148
  4) && f !== (f = /*$_*/
149
- o[2]("cancel") + "") && E(h, f), (!m || p & /*$_*/
149
+ o[2]("cancel") + "") && D(h, f), (!m || p & /*$_*/
150
150
  4) && L !== (L = /*$_*/
151
- o[2]("confirm") + "") && E(k, L);
151
+ o[2]("confirm") + "") && D(k, L);
152
152
  },
153
153
  i(o) {
154
- m || ($(u, o), m = !0);
154
+ m || (it(u, o), m = !0);
155
155
  },
156
156
  o(o) {
157
- Z(u, o), m = !1;
157
+ et(u, o), m = !1;
158
158
  },
159
159
  d(o) {
160
- o && W(t), u && u.d(o), e[14](null), v = !1, Y(F);
160
+ o && H(t), u && u.d(o), e[14](null), v = !1, nt(F);
161
161
  }
162
162
  };
163
163
  }
164
164
  function pt(e, t, n) {
165
165
  let r;
166
- nt(e, mt, (i) => n(2, r = i));
166
+ ot(e, mt, (i) => n(2, r = i));
167
167
  let { $$slots: y = {}, $$scope: b } = t, { modaltext: w = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: h = "" } = t;
168
168
  const A = () => {
169
169
  fetch(h).then((C) => C.json()).then((C) => {
170
170
  Object.keys(C).forEach((G) => {
171
- T(G, C[G]);
171
+ j(G, C[G]);
172
172
  });
173
173
  }).catch((C) => {
174
174
  console.log(C);
175
175
  });
176
176
  };
177
177
  Object.keys(N).forEach((i) => {
178
- T(i, N[i]);
178
+ j(i, N[i]);
179
179
  });
180
- let s, L = window.navigator.userAgent, k = ot(L) !== "PC", m = {}, v = "";
180
+ let s, L = window.navigator.userAgent, k = at(L) !== "PC", m = {}, v = "";
181
181
  const F = () => {
182
182
  window.postMessage({ type: "ModalClosed" }, window.location.href);
183
183
  }, B = () => {
@@ -214,7 +214,7 @@ function pt(e, t, n) {
214
214
  );
215
215
  });
216
216
  };
217
- at(() => (window.addEventListener("message", o, !1), () => {
217
+ rt(() => (window.addEventListener("message", o, !1), () => {
218
218
  window.removeEventListener("message", o);
219
219
  }));
220
220
  function R(i) {
@@ -255,7 +255,7 @@ class Ct extends J {
255
255
  t,
256
256
  pt,
257
257
  ft,
258
- Q,
258
+ V,
259
259
  {
260
260
  modaltext: 0,
261
261
  modalsource: 7,
@@ -304,7 +304,7 @@ class Ct extends J {
304
304
  this.$$set({ translationurl: t }), M();
305
305
  }
306
306
  }
307
- lt(Ct, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
307
+ Q(Ct, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
308
308
  export {
309
309
  Ct as default
310
310
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CMYMtWfC.cjs");function B(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const A={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function D(n){t.append_styles(n,"svelte-1pkvhrt",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}')}const N=n=>({}),F=n=>({});function O(n){let e,o;return{c(){e=t.svg_element("svg"),o=t.svg_element("path"),t.attr(o,"stroke-linecap","round"),t.attr(o,"stroke-linejoin","round"),t.attr(o,"stroke-width","2"),t.attr(o,"d","M6 18L18 6M6 6l12 12"),t.attr(e,"class","w-6 h-6"),t.attr(e,"fill","none"),t.attr(e,"stroke","currentColor"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"xmlns","http://www.w3.org/2000/svg")},m(r,w){t.insert(r,e,w),t.append(e,o)},p:t.noop,d(r){r&&t.detach(e)}}}function P(n){let e,o,r,w,h,b,c,m,d,u=n[2]("cancel")+"",C,M,l,x=n[2]("confirm")+"",_,s,y,k;const G=n[13].close,L=t.create_slot(G,n,n[12],F),g=L||O();return{c(){e=t.element("div"),o=t.element("div"),r=t.element("span"),g&&g.c(),w=t.space(),h=t.element("div"),b=t.text(n[0]),c=t.space(),m=t.element("div"),d=t.element("button"),C=t.text(u),M=t.space(),l=t.element("button"),_=t.text(x),t.attr(r,"class","ModalCloseBtn"),t.attr(r,"role","button"),t.attr(h,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(l,"class","GamingLimitsConfirmButton"),t.attr(m,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(a,f){t.insert(a,e,f),t.append(e,o),t.append(o,r),g&&g.m(r,null),t.append(o,w),t.append(o,h),t.append(h,b),t.append(o,c),t.append(o,m),t.append(m,d),t.append(d,C),t.append(m,M),t.append(m,l),t.append(l,_),n[14](e),s=!0,y||(k=[t.listen(r,"click",n[4]),t.listen(d,"click",n[6]),t.listen(l,"click",n[5])],y=!0)},p(a,[f]){L&&L.p&&(!s||f&4096)&&t.update_slot_base(L,G,a,a[12],s?t.get_slot_changes(G,a[12],f,N):t.get_all_dirty_from_scope(a[12]),F),(!s||f&1)&&t.set_data(b,a[0]),(!s||f&4)&&u!==(u=a[2]("cancel")+"")&&t.set_data(C,u),(!s||f&4)&&x!==(x=a[2]("confirm")+"")&&t.set_data(_,x)},i(a){s||(t.transition_in(g,a),s=!0)},o(a){t.transition_out(g,a),s=!1},d(a){a&&t.detach(e),g&&g.d(a),n[14](null),y=!1,t.run_all(k)}}}function W(n,e,o){let r;t.component_subscribe(n,t.$format,i=>o(2,r=i));let{$$slots:w={},$$scope:h}=e,{modaltext:b="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:m="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{translationurl:C=""}=e;const M=()=>{fetch(C).then(p=>p.json()).then(p=>{Object.keys(p).forEach(v=>{B(v,p[v])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(i=>{B(i,A[i])});let l,x=window.navigator.userAgent,_=t.getDevice(x)!=="PC",s={},y="";const k=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},G=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:s,name:y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{c==="groupEdit"?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},g=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",a=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":s=i.data.removeData,y=g(i.data.removeName);break}},f=()=>{j(m)},z=()=>{let i=document.createElement("style");i.innerHTML=d,l.appendChild(i)},S=()=>{let i=new URL(u),p=document.createElement("style");fetch(i.href).then(v=>v.text()).then(v=>{p.innerHTML=v,setTimeout(()=>{l.appendChild(p)},1)})};t.onMount(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)}));function T(i){t.binding_callbacks[i?"unshift":"push"](()=>{l=i,o(1,l)})}return n.$$set=i=>{"modaltext"in i&&o(0,b=i.modaltext),"modalsource"in i&&o(7,c=i.modalsource),"lang"in i&&o(8,m=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"translationurl"in i&&o(11,C=i.translationurl),"$$scope"in i&&o(12,h=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&b&&c&&m&&f(),n.$$.dirty&514&&d&&l&&z(),n.$$.dirty&1026&&u&&l&&S(),n.$$.dirty&2048&&C&&M()},[b,l,r,_,k,G,L,c,m,d,u,C,h,w,T]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,P,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},D)}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),t.flush()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(E,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BW6b3iuS.cjs");function B(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const A={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function D(n){t.append_styles(n,"svelte-1pkvhrt",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}')}const N=n=>({}),F=n=>({});function O(n){let e,o;return{c(){e=t.svg_element("svg"),o=t.svg_element("path"),t.attr(o,"stroke-linecap","round"),t.attr(o,"stroke-linejoin","round"),t.attr(o,"stroke-width","2"),t.attr(o,"d","M6 18L18 6M6 6l12 12"),t.attr(e,"class","w-6 h-6"),t.attr(e,"fill","none"),t.attr(e,"stroke","currentColor"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"xmlns","http://www.w3.org/2000/svg")},m(r,w){t.insert(r,e,w),t.append(e,o)},p:t.noop,d(r){r&&t.detach(e)}}}function P(n){let e,o,r,w,h,b,c,m,d,u=n[2]("cancel")+"",C,M,l,x=n[2]("confirm")+"",_,s,y,k;const G=n[13].close,L=t.create_slot(G,n,n[12],F),g=L||O();return{c(){e=t.element("div"),o=t.element("div"),r=t.element("span"),g&&g.c(),w=t.space(),h=t.element("div"),b=t.text(n[0]),c=t.space(),m=t.element("div"),d=t.element("button"),C=t.text(u),M=t.space(),l=t.element("button"),_=t.text(x),t.attr(r,"class","ModalCloseBtn"),t.attr(r,"role","button"),t.attr(h,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(l,"class","GamingLimitsConfirmButton"),t.attr(m,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(a,f){t.insert(a,e,f),t.append(e,o),t.append(o,r),g&&g.m(r,null),t.append(o,w),t.append(o,h),t.append(h,b),t.append(o,c),t.append(o,m),t.append(m,d),t.append(d,C),t.append(m,M),t.append(m,l),t.append(l,_),n[14](e),s=!0,y||(k=[t.listen(r,"click",n[4]),t.listen(d,"click",n[6]),t.listen(l,"click",n[5])],y=!0)},p(a,[f]){L&&L.p&&(!s||f&4096)&&t.update_slot_base(L,G,a,a[12],s?t.get_slot_changes(G,a[12],f,N):t.get_all_dirty_from_scope(a[12]),F),(!s||f&1)&&t.set_data(b,a[0]),(!s||f&4)&&u!==(u=a[2]("cancel")+"")&&t.set_data(C,u),(!s||f&4)&&x!==(x=a[2]("confirm")+"")&&t.set_data(_,x)},i(a){s||(t.transition_in(g,a),s=!0)},o(a){t.transition_out(g,a),s=!1},d(a){a&&t.detach(e),g&&g.d(a),n[14](null),y=!1,t.run_all(k)}}}function W(n,e,o){let r;t.component_subscribe(n,t.$format,i=>o(2,r=i));let{$$slots:w={},$$scope:h}=e,{modaltext:b="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:m="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{translationurl:C=""}=e;const M=()=>{fetch(C).then(p=>p.json()).then(p=>{Object.keys(p).forEach(v=>{B(v,p[v])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(i=>{B(i,A[i])});let l,x=window.navigator.userAgent,_=t.getDevice(x)!=="PC",s={},y="";const k=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},G=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:s,name:y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{c==="groupEdit"?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},g=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",a=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":s=i.data.removeData,y=g(i.data.removeName);break}},f=()=>{j(m)},z=()=>{let i=document.createElement("style");i.innerHTML=d,l.appendChild(i)},S=()=>{let i=new URL(u),p=document.createElement("style");fetch(i.href).then(v=>v.text()).then(v=>{p.innerHTML=v,setTimeout(()=>{l.appendChild(p)},1)})};t.onMount(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)}));function T(i){t.binding_callbacks[i?"unshift":"push"](()=>{l=i,o(1,l)})}return n.$$set=i=>{"modaltext"in i&&o(0,b=i.modaltext),"modalsource"in i&&o(7,c=i.modalsource),"lang"in i&&o(8,m=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"translationurl"in i&&o(11,C=i.translationurl),"$$scope"in i&&o(12,h=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&b&&c&&m&&f(),n.$$.dirty&514&&d&&l&&z(),n.$$.dirty&1026&&u&&l&&S(),n.$$.dirty&2048&&C&&M()},[b,l,r,_,k,G,L,c,m,d,u,C,h,w,T]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,P,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},D)}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),t.flush()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(E,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=E;