@everymatrix/player-account-controller 1.87.26 → 1.87.28

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 (200) hide show
  1. package/components/GeneralLogout-CEm1d9TV.js +300 -0
  2. package/components/GeneralLogout-Cx-68AU-.cjs +1 -0
  3. package/components/GeneralLogout-P3tigWsE.js +300 -0
  4. package/components/PlayerAccountBettingHistory-BTrKyG5c.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-CumeIegs.js +310 -0
  6. package/components/PlayerAccountBettingHistory-V_ZXgT_m.js +311 -0
  7. package/components/PlayerAccountBiometrics-is5id3Pu.cjs +1 -0
  8. package/components/{PlayerAccountBiometrics-kmv4HqQ_.js → PlayerAccountBiometrics-kZejQke-.js} +94 -94
  9. package/components/{PlayerAccountBiometrics-Cu1scn1a.js → PlayerAccountBiometrics-nvw10pCK.js} +94 -94
  10. package/components/PlayerAccountBiometricsAction-CnzIUbKT.js +434 -0
  11. package/components/PlayerAccountBiometricsAction-DgA-1ZVp.js +451 -0
  12. package/components/PlayerAccountBiometricsAction-KVABAIgM.cjs +1 -0
  13. package/components/{PlayerAccountClosure-B7lWhxS5.js → PlayerAccountClosure-BRWbN9CL.js} +90 -90
  14. package/components/{PlayerAccountClosure-DWX0cAW_.js → PlayerAccountClosure-CMHJCKmw.js} +92 -92
  15. package/components/PlayerAccountClosure-eMDaHm0s.cjs +1 -0
  16. package/components/PlayerAccountController-BnmD5Ofx.cjs +21 -0
  17. package/components/PlayerAccountController-DuWNHRdy.js +13466 -0
  18. package/components/PlayerAccountController-j-NYynzq.js +13423 -0
  19. package/components/{PlayerAccountGamingLimits-DuDCpH1C.js → PlayerAccountGamingLimits-B4jiOpbe.js} +101 -101
  20. package/components/{PlayerAccountGamingLimits-DNqahHsA.js → PlayerAccountGamingLimits-CKJ6b9fI.js} +97 -97
  21. package/components/PlayerAccountGamingLimits-CWozJexi.cjs +1 -0
  22. package/components/PlayerAccountGamingLimitsConfirmationModal-D7U-SETU.cjs +1 -0
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-De_w7-UU.js → PlayerAccountGamingLimitsConfirmationModal-DnrFMJHA.js} +88 -88
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DfJgQjRr.js → PlayerAccountGamingLimitsConfirmationModal-kEFYK5ek.js} +77 -77
  25. package/components/PlayerAccountGamingLimitsGroupEdit-Bxzv8N1q.cjs +1 -0
  26. package/components/PlayerAccountGamingLimitsGroupEdit-DE3NQvEw.js +1555 -0
  27. package/components/PlayerAccountGamingLimitsGroupEdit-e5InPcEl.js +1555 -0
  28. package/components/PlayerAccountGamingLimitsHistory2-COzxMqse.cjs +1 -0
  29. package/components/{PlayerAccountGamingLimitsHistory2-D1N2rg25.js → PlayerAccountGamingLimitsHistory2-CjyULSw7.js} +111 -111
  30. package/components/{PlayerAccountGamingLimitsHistory2-BN0w14Hg.js → PlayerAccountGamingLimitsHistory2-D77EY8P-.js} +100 -100
  31. package/components/{PlayerAccountGamingLimitsInfoCard-D_ro79gB.js → PlayerAccountGamingLimitsInfoCard-8dFikYNs.js} +415 -399
  32. package/components/PlayerAccountGamingLimitsInfoCard-BGpnQhkj.cjs +1 -0
  33. package/components/{PlayerAccountGamingLimitsInfoCard-B6oHRJP6.js → PlayerAccountGamingLimitsInfoCard-DOiKdkIk.js} +415 -399
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-CMxzI07w.cjs → PlayerAccountGamingLimitsPage2Gm16-B-ROLFTB.cjs} +6 -6
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-o_0DfyBW.js → PlayerAccountGamingLimitsPage2Gm16-Bs5pGY8V.js} +699 -699
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-EA4I02NQ.js → PlayerAccountGamingLimitsPage2Gm16-CmV0jB0D.js} +702 -702
  37. package/components/{PlayerAccountGamingLimitsPopup-9casCGHJ.js → PlayerAccountGamingLimitsPopup-C9wKY91L.js} +34 -34
  38. package/components/PlayerAccountGamingLimitsPopup-Cpzn3X0n.cjs +1 -0
  39. package/components/{PlayerAccountGamingLimitsPopup-DhlQaawG.js → PlayerAccountGamingLimitsPopup-_AnjYuYf.js} +38 -38
  40. package/components/{PlayerAccountGamingLimitsWrapper2-DG5pRuF1.js → PlayerAccountGamingLimitsWrapper2-DqAnX1Py.js} +81 -81
  41. package/components/{PlayerAccountGamingLimitsWrapper2-B_pUqlM0.js → PlayerAccountGamingLimitsWrapper2-Dwknu3Cb.js} +75 -75
  42. package/components/PlayerAccountGamingLimitsWrapper2-y6bGvy33.cjs +4 -0
  43. package/components/{PlayerAccountGeneralConfirmationModal-BIStQzTL.js → PlayerAccountGeneralConfirmationModal-BiBU4e0n.js} +103 -103
  44. package/components/{PlayerAccountGeneralConfirmationModal-DAUZlQfJ.js → PlayerAccountGeneralConfirmationModal-DA07qkhd.js} +106 -106
  45. package/components/PlayerAccountGeneralConfirmationModal-PNfL91mi.cjs +1 -0
  46. package/components/{PlayerAccountMenu-khqZEoBc.js → PlayerAccountMenu-BW2VbXTx.js} +129 -129
  47. package/components/PlayerAccountMenu-CERrQlC7.cjs +1 -0
  48. package/components/{PlayerAccountMenu-OqVmttiI.js → PlayerAccountMenu-C_OETzKF.js} +129 -129
  49. package/components/{PlayerAccountModal-NUSkSmow.js → PlayerAccountModal-CL2SvpaJ.js} +58 -58
  50. package/components/{PlayerAccountModal-BXez3U77.js → PlayerAccountModal-CRzDk0do.js} +54 -54
  51. package/components/PlayerAccountModal-Dv3Yl1K_.cjs +1 -0
  52. package/components/{PlayerAccountNotifications-0v1ghF-m.js → PlayerAccountNotifications-BSwGy1iD.js} +87 -87
  53. package/components/{PlayerAccountNotifications-XjCLekPR.js → PlayerAccountNotifications-BmE8XpGH.js} +126 -126
  54. package/components/PlayerAccountNotifications-CevM0zeL.cjs +1 -0
  55. package/components/PlayerAccountProductRestriction-Bnwnb-af.js +1458 -0
  56. package/components/PlayerAccountProductRestriction-CLH_YtYd.cjs +4 -0
  57. package/components/PlayerAccountProductRestriction-Cj9ofL_Q.js +1493 -0
  58. package/components/{PlayerAccountReviewFrequency-ByPlOg40.js → PlayerAccountReviewFrequency-C8N1VIV5.js} +245 -245
  59. package/components/{PlayerAccountReviewFrequency-yLwAfHZd.js → PlayerAccountReviewFrequency-Cm4mwygx.js} +235 -235
  60. package/components/PlayerAccountReviewFrequency-D2YmIGdB.cjs +4 -0
  61. package/components/PlayerAccountSelfExclusion-C3XJo3op.js +1523 -0
  62. package/components/PlayerAccountSelfExclusion-CRCAuW_I.js +1551 -0
  63. package/components/PlayerAccountSelfExclusion-DIoBP-zp.cjs +1 -0
  64. package/components/{PlayerAccountSelfExclusion-0IraJUCF.js → PlayerAccountTimeout-Be13_cTt.js} +2363 -2581
  65. package/components/{PlayerAccountSelfExclusion-CP3lzn6g.cjs → PlayerAccountTimeout-DEpNYl-t.cjs} +161 -161
  66. package/components/{PlayerAccountSelfExclusion-B9QFixvG.js → PlayerAccountTimeout-H7G4ySPT.js} +2327 -2545
  67. package/components/{PlayerAccountTransactionsHistory-C4dSIP6l.js → PlayerAccountTransactionsHistory-BHDgStwb.js} +293 -292
  68. package/components/{PlayerAccountTransactionsHistory-CAFUIFUl.js → PlayerAccountTransactionsHistory-CKfnF5YJ.js} +304 -303
  69. package/components/PlayerAccountTransactionsHistory-CgTmptks.cjs +4 -0
  70. package/components/{PlayerActiveBonuses-BQSKxH9G.js → PlayerActiveBonuses-BAevp5YH.js} +222 -221
  71. package/components/{PlayerActiveBonuses-DSpez0EN.js → PlayerActiveBonuses-DRppY1vB.js} +192 -193
  72. package/components/PlayerActiveBonuses-M-vgtJjj.cjs +4 -0
  73. package/components/{PlayerBonusCard-D4jw0D02.js → PlayerBonusCard-BBq4z62c.js} +53 -53
  74. package/components/{PlayerBonusCard--2t2lX4X.js → PlayerBonusCard-BWZ4o6Nm.js} +53 -53
  75. package/components/PlayerBonusCard-BenCFvw0.cjs +1 -0
  76. package/components/{PlayerAccountProductRestriction-Drc1Iu2o.cjs → PlayerBonusHistory-CKhVhlwo.cjs} +295 -294
  77. package/components/PlayerBonusHistory-D1DkiHxv.js +20048 -0
  78. package/components/PlayerBonusHistory-DJdSfH1n.js +20037 -0
  79. package/components/{PlayerChangePassword-CK9EmNEl.js → PlayerChangePassword-DeoUbAd5.js} +257 -257
  80. package/components/{PlayerChangePassword-DDqLNG5r.js → PlayerChangePassword-OSahUgLo.js} +257 -257
  81. package/components/PlayerChangePassword-WUgeBsFa.cjs +3 -0
  82. package/components/{PlayerDeposit-BiOuprGV.js → PlayerDeposit-Du1nnR1u.js} +53 -53
  83. package/components/PlayerDeposit-Yd04zzeQ.cjs +1 -0
  84. package/components/{PlayerDeposit-B0xGf2EY.js → PlayerDeposit-abPtD5hO.js} +51 -51
  85. package/components/PlayerGamingHistory-DyYqzcQv.cjs +1 -0
  86. package/components/{PlayerGamingHistory-CDPSEyVI.js → PlayerGamingHistory-PBFc5gs-.js} +372 -373
  87. package/components/{PlayerGamingHistory-CJn-wybc.js → PlayerGamingHistory-XBIUqV4O.js} +404 -405
  88. package/components/{PlayerPendingWithdrawals-DKIV0VFt.js → PlayerPendingWithdrawals-6W2QUcnc.js} +54 -54
  89. package/components/PlayerPendingWithdrawals-7YfYYSbo.cjs +1 -0
  90. package/components/{PlayerPendingWithdrawals-Cw2CONsa.js → PlayerPendingWithdrawals-Dvufib_U.js} +54 -54
  91. package/components/PlayerProfileInfo-BTa1BRn8.cjs +4 -0
  92. package/components/{PlayerProfileInfo-B2PmsKAI.js → PlayerProfileInfo-BmqBm5DP.js} +782 -782
  93. package/components/{PlayerProfileInfo-YrTsyEfP.js → PlayerProfileInfo-DtV65Pxq.js} +646 -646
  94. package/components/PlayerRealityCheck-CqGAN5_L.cjs +1 -0
  95. package/components/{PlayerRealityCheck-CEToSHcC.js → PlayerRealityCheck-CziErfd6.js} +202 -202
  96. package/components/{PlayerRealityCheck-BdFZDJFk.js → PlayerRealityCheck-lVnY8s1I.js} +217 -217
  97. package/components/PlayerTransactionHistory-D5WIm27W.cjs +1 -0
  98. package/components/{PlayerTransactionHistory-BWwWT8z7.js → PlayerTransactionHistory-DZmR7K3t.js} +64 -64
  99. package/components/{PlayerTransactionHistory-C8uedDZz.js → PlayerTransactionHistory-WpDMStju.js} +68 -68
  100. package/components/{PlayerWithdrawal-BXYWP9OV.js → PlayerWithdrawal-BctNJ79f.js} +65 -65
  101. package/components/{PlayerWithdrawal-DuhBS0tB.js → PlayerWithdrawal-BgFPB_ak.js} +65 -65
  102. package/components/PlayerWithdrawal-rv6DLOa1.cjs +1 -0
  103. package/es2015/player-account-controller.cjs +1 -1
  104. package/es2015/player-account-controller.js +7 -7
  105. package/esnext/player-account-controller.js +1 -1
  106. package/package.json +1 -1
  107. package/stencil/app-globals-0f993ce5-BjWsvLzr.cjs +1 -0
  108. package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-XUXOuUQl.js} +4 -4
  109. package/stencil/{checkbox-group-input_16-CFtp0f8h.js → checkbox-group-input_16-Bn7_E98r.js} +2 -2
  110. package/stencil/{checkbox-group-input_16-DuSVlPzJ.cjs → checkbox-group-input_16-C6_jN3p0.cjs} +1 -1
  111. package/stencil/{checkbox-group-input_16-ywIYg4ns.js → checkbox-group-input_16-D9ML4j06.js} +2 -2
  112. package/stencil/{index-1ef3a64c-CEngIsyB.js → index-1ef3a64c-BvSXLnmQ.js} +1 -1
  113. package/stencil/{index-1ef3a64c-BzR_jMKw.cjs → index-1ef3a64c-DK-TGomt.cjs} +1 -1
  114. package/stencil/{index-1ef3a64c-D5p-wZAC.js → index-1ef3a64c-Dwdxxwjy.js} +1 -1
  115. package/stencil/{index-6e523641-D2onrjgE.cjs → index-6e523641-DOnePbtQ.cjs} +1 -1
  116. package/stencil/{index-6e523641-B9tbNrXZ.js → index-6e523641-DpGJosc3.js} +1 -1
  117. package/stencil/{index-6e523641-DH0Ezdpy.js → index-6e523641-pWMNWAtQ.js} +1 -1
  118. package/stencil/{index-9c0f6c58-DjED2nNw.js → index-9c0f6c58-BN39eMNX.js} +1 -1
  119. package/stencil/{index-9c0f6c58-XIZolvs1.cjs → index-9c0f6c58-DK260bKj.cjs} +1 -1
  120. package/stencil/{index-9c0f6c58-DEQL19Io.js → index-9c0f6c58-_RRbHDNl.js} +1 -1
  121. package/stencil/{index-b2193545-0zWC7J3V.js → index-b2193545-CubpYFkO.js} +1 -1
  122. package/stencil/{index-b2193545-BDUg7na_.js → index-b2193545-D3SG_Z28.js} +1 -1
  123. package/stencil/{index-b2193545-C-iFa_cO.cjs → index-b2193545-DM_LjYJq.cjs} +1 -1
  124. package/stencil/{index-c666b6e6-GVnzND9A.cjs → index-c666b6e6-2zPWxCxt.cjs} +1 -1
  125. package/stencil/{index-c666b6e6-C3HFUtzN.js → index-c666b6e6-C0YjtgbT.js} +1 -1
  126. package/stencil/{index-c666b6e6-C5SvvcXp.js → index-c666b6e6-DO3NG0d_.js} +1 -1
  127. package/stencil/{pam-change-password-6b535bd5-BM0i-nkQ.js → pam-change-password-25b46f90--RvqyvAS.js} +122 -93
  128. package/stencil/{pam-change-password-6b535bd5-CwazAyPT.cjs → pam-change-password-25b46f90-CILEgZdb.cjs} +2 -2
  129. package/stencil/{pam-change-password-6b535bd5-BMlVfXop.js → pam-change-password-25b46f90-DBsCYhoF.js} +121 -93
  130. package/stencil/pam-change-password-BaP9RQnm.cjs +1 -0
  131. package/stencil/{pam-change-password-vIDF9oZ0.js → pam-change-password-CfJwcRNG.js} +2 -2
  132. package/stencil/{pam-change-password-YY_WAq3p.js → pam-change-password-a_MEmefG.js} +2 -2
  133. package/stencil/{player-kyc-verification-Cg0fVyvL.cjs → player-kyc-verification-CR-8JjQM.cjs} +2 -2
  134. package/stencil/{player-kyc-verification-vQ6gNPBe.js → player-kyc-verification-DQBYB3LU.js} +90 -62
  135. package/stencil/{player-kyc-verification-BUKoBt3P.js → player-kyc-verification-TCKpEp1x.js} +120 -93
  136. package/stencil/{ui-skeleton-CTFP1U_H.js → ui-skeleton-BKpwkQ2A.js} +3 -3
  137. package/stencil/{ui-skeleton-C2ZVNvDq.cjs → ui-skeleton-CS05SPLQ.cjs} +1 -1
  138. package/stencil/{ui-skeleton-BQnxp85t.js → ui-skeleton-DNuG5l9W.js} +3 -3
  139. package/stencil/{ui-skeleton-ed169f8f-BXqYzfTU.js → ui-skeleton-ed169f8f-BI8lGn4f.js} +1 -1
  140. package/stencil/{ui-skeleton-ed169f8f-DCJKKb_M.cjs → ui-skeleton-ed169f8f-CKUfafNC.cjs} +1 -1
  141. package/stencil/{ui-skeleton-ed169f8f-OyzwWyyv.js → ui-skeleton-ed169f8f-CLfa7nfh.js} +1 -1
  142. package/stencil/{user-deposit-withdrawal-C5lc1C0l.js → user-deposit-withdrawal-BXuiRURM.js} +366 -338
  143. package/stencil/{user-deposit-withdrawal-DmXcotOq.js → user-deposit-withdrawal-CL7rhukA.js} +321 -294
  144. package/stencil/user-deposit-withdrawal-gb0EFmeV.cjs +72 -0
  145. package/stencil/{user-transaction-history-BdbQJzhb.js → user-transaction-history-DCZDdxLh.js} +2 -2
  146. package/stencil/{user-transaction-history-CcfxBfFN.js → user-transaction-history-E1bvLWYx.js} +2 -2
  147. package/stencil/{user-transaction-history-CucZiFYD.cjs → user-transaction-history-_0g5E0XE.cjs} +1 -1
  148. package/stencil/{user-transaction-history_2-B2XvgToy.cjs → user-transaction-history_2-BsrwI7Ib.cjs} +275 -275
  149. package/stencil/{user-transaction-history_2-Ds0pNCu8.js → user-transaction-history_2-C5uqpRMQ.js} +1701 -1651
  150. package/stencil/{user-transaction-history_2-B9fxyLUj.js → user-transaction-history_2-DXX9cR5-.js} +916 -911
  151. package/components/GeneralLogout-0J1RtGyR.js +0 -5018
  152. package/components/GeneralLogout-CmR1r8PX.cjs +0 -21
  153. package/components/GeneralLogout-CwcvAxfM.js +0 -4981
  154. package/components/PlayerAccountBettingHistory-Bf-VPJhk.cjs +0 -1
  155. package/components/PlayerAccountBettingHistory-CiMelnLz.js +0 -311
  156. package/components/PlayerAccountBettingHistory-Cr9hPDou.js +0 -310
  157. package/components/PlayerAccountBiometrics-j15j-n3y.cjs +0 -1
  158. package/components/PlayerAccountBiometricsAction-BJrkhDoI.js +0 -403
  159. package/components/PlayerAccountBiometricsAction-BcR2gS30.js +0 -386
  160. package/components/PlayerAccountBiometricsAction-z16q0M2J.cjs +0 -1
  161. package/components/PlayerAccountClosure-CxxMCXDa.cjs +0 -1
  162. package/components/PlayerAccountController-0zwzJJ4s.js +0 -8738
  163. package/components/PlayerAccountController-Cg3bzQs5.js +0 -8721
  164. package/components/PlayerAccountController-J-78lsk8.cjs +0 -1
  165. package/components/PlayerAccountGamingLimits-DdwsiJT8.cjs +0 -1
  166. package/components/PlayerAccountGamingLimitsConfirmationModal-BiEiNlIc.cjs +0 -1
  167. package/components/PlayerAccountGamingLimitsGroupEdit-2iDWNhRl.js +0 -4781
  168. package/components/PlayerAccountGamingLimitsGroupEdit-CsTpmmhw.js +0 -4781
  169. package/components/PlayerAccountGamingLimitsGroupEdit-gLF0R4uM.cjs +0 -2
  170. package/components/PlayerAccountGamingLimitsHistory2-D3h2vvVL.cjs +0 -1
  171. package/components/PlayerAccountGamingLimitsInfoCard-CUhqA1Ww.cjs +0 -1
  172. package/components/PlayerAccountGamingLimitsPopup-DJbPWFdb.cjs +0 -1
  173. package/components/PlayerAccountGamingLimitsWrapper2-1lOfUhUT.cjs +0 -4
  174. package/components/PlayerAccountGeneralConfirmationModal-BCMD8hM8.cjs +0 -1
  175. package/components/PlayerAccountMenu-DXhrPxvF.cjs +0 -1
  176. package/components/PlayerAccountModal-BpTtaUfX.cjs +0 -1
  177. package/components/PlayerAccountNotifications-CMZltoyc.cjs +0 -1
  178. package/components/PlayerAccountProductRestriction-Dl552qim.js +0 -17524
  179. package/components/PlayerAccountProductRestriction-THYKSRMa.js +0 -17559
  180. package/components/PlayerAccountReviewFrequency-BeI7-JB-.cjs +0 -4
  181. package/components/PlayerAccountTimeout-BRlyos9t.cjs +0 -1
  182. package/components/PlayerAccountTimeout-BVyjYoqw.js +0 -975
  183. package/components/PlayerAccountTimeout-CkMUko7-.js +0 -975
  184. package/components/PlayerAccountTransactionsHistory-DlCJ6V4t.cjs +0 -4
  185. package/components/PlayerActiveBonuses-CQXEEx6M.cjs +0 -4
  186. package/components/PlayerBonusCard-DqB-YOwa.cjs +0 -1
  187. package/components/PlayerBonusHistory-BbO5bAQY.js +0 -1106
  188. package/components/PlayerBonusHistory-C6ZPMR2L.js +0 -1095
  189. package/components/PlayerBonusHistory-DtiQesaY.cjs +0 -4
  190. package/components/PlayerChangePassword-IADHpyQs.cjs +0 -3
  191. package/components/PlayerDeposit-CN2QU967.cjs +0 -1
  192. package/components/PlayerGamingHistory-2XEKCfky.cjs +0 -1
  193. package/components/PlayerPendingWithdrawals-HXAehYWA.cjs +0 -1
  194. package/components/PlayerProfileInfo-wZEXXCWQ.cjs +0 -4
  195. package/components/PlayerRealityCheck-DWoQCHkQ.cjs +0 -1
  196. package/components/PlayerTransactionHistory-CHKGqwam.cjs +0 -1
  197. package/components/PlayerWithdrawal-DhfwYn8c.cjs +0 -1
  198. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
  199. package/stencil/pam-change-password-zaJZcylb.cjs +0 -1
  200. package/stencil/user-deposit-withdrawal-DfWpITDc.cjs +0 -72
@@ -1,386 +0,0 @@
1
- import { a as H, $ as P, S as q, i as K, s as G, f as u, b as W, n as v, d as w, h as B, C as F, p as J, u as Q, k as y, w as V, c as Y, j as z, l as I, t as Z, e as D, o as f, x as $, y as ee, z as te, A as ie, B as se } from "./GeneralLogout-CwcvAxfM.js";
2
- function re(i, e) {
3
- H(i, e);
4
- }
5
- function ne(i) {
6
- P.set(i);
7
- }
8
- const oe = {
9
- en: {
10
- btnEnableBiometrics: "Enable biometrics",
11
- btnDisableBiometrics: "Disable biometrics",
12
- errorMessage: "Biometrics update failed"
13
- },
14
- "zh-hk": {
15
- btnEnableBiometrics: "Enable biometrics",
16
- btnDisableBiometrics: "Disable biometrics",
17
- errorMessage: "Biometrics update failed"
18
- },
19
- fr: {
20
- btnEnableBiometrics: "Enable biometrics",
21
- btnDisableBiometrics: "Disable biometrics",
22
- errorMessage: "Biometrics update failed"
23
- },
24
- tr: {
25
- btnEnableBiometrics: "Enable biometrics",
26
- btnDisableBiometrics: "Disable biometrics",
27
- errorMessage: "Biometrics update failed"
28
- },
29
- ro: {
30
- btnEnableBiometrics: "Enable biometrics",
31
- btnDisableBiometrics: "Disable biometrics",
32
- errorMessage: "Biometrics update failed"
33
- },
34
- es: {
35
- btnEnableBiometrics: "Enable biometrics",
36
- btnDisableBiometrics: "Disable biometrics",
37
- errorMessage: "Biometrics update failed"
38
- },
39
- pt: {
40
- btnEnableBiometrics: "Enable biometrics",
41
- btnDisableBiometrics: "Disable biometrics",
42
- errorMessage: "Biometrics update failed"
43
- },
44
- hr: {
45
- btnEnableBiometrics: "Omogući biometriju",
46
- btnDisableBiometrics: "Onemogući biometriju",
47
- errorMessage: "Biometrics update failed"
48
- },
49
- "pt-br": {
50
- btnEnableBiometrics: "Enable biometrics",
51
- btnDisableBiometrics: "Disable biometrics",
52
- errorMessage: "Biometrics update failed"
53
- },
54
- "es-mx": {
55
- btnEnableBiometrics: "Enable biometrics",
56
- btnDisableBiometrics: "Disable biometrics",
57
- errorMessage: "Biometrics update failed"
58
- },
59
- "en-us": {
60
- btnEnableBiometrics: "Enable biometrics",
61
- btnDisableBiometrics: "Disable biometrics",
62
- errorMessage: "Biometrics update failed"
63
- }
64
- };
65
- function ae(i, e, t) {
66
- return window.emMessageBus && (e = window.emMessageBus.subscribe(i, t)), e;
67
- }
68
- function le(i) {
69
- W(i, "svelte-4r3z7g", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}');
70
- }
71
- function O(i) {
72
- let e;
73
- function t(n, a) {
74
- if (
75
- /*mode*/
76
- n[1] === "button"
77
- )
78
- return be;
79
- if (
80
- /*mode*/
81
- n[1] === "switch"
82
- )
83
- return ce;
84
- }
85
- let r = t(i), s = r && r(i);
86
- return {
87
- c() {
88
- e = y("div"), s && s.c();
89
- },
90
- m(n, a) {
91
- B(n, e, a), s && s.m(e, null), i[15](e);
92
- },
93
- p(n, a) {
94
- r === (r = t(n)) && s ? s.p(n, a) : (s && s.d(1), s = r && r(n), s && (s.c(), s.m(e, null)));
95
- },
96
- d(n) {
97
- n && w(e), s && s.d(), i[15](null);
98
- }
99
- };
100
- }
101
- function ce(i) {
102
- let e, t, r, s;
103
- return {
104
- c() {
105
- e = y("button"), t = y("div"), t.innerHTML = '<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>', D(t, "class", "skip-switch"), f(
106
- t,
107
- "checked",
108
- /*biometricsEnabled*/
109
- i[3]
110
- ), f(
111
- t,
112
- "disabled",
113
- /*isUpdatingBiometrics*/
114
- i[4]
115
- ), f(
116
- t,
117
- "shake",
118
- /*shake*/
119
- i[5]
120
- ), D(e, "class", "toggle-content"), e.disabled = /*isUpdatingBiometrics*/
121
- i[4];
122
- },
123
- m(n, a) {
124
- B(n, e, a), z(e, t), r || (s = I(
125
- e,
126
- "click",
127
- /*toggleBiometrics*/
128
- i[7]
129
- ), r = !0);
130
- },
131
- p(n, a) {
132
- a & /*biometricsEnabled*/
133
- 8 && f(
134
- t,
135
- "checked",
136
- /*biometricsEnabled*/
137
- n[3]
138
- ), a & /*isUpdatingBiometrics*/
139
- 16 && f(
140
- t,
141
- "disabled",
142
- /*isUpdatingBiometrics*/
143
- n[4]
144
- ), a & /*shake*/
145
- 32 && f(
146
- t,
147
- "shake",
148
- /*shake*/
149
- n[5]
150
- ), a & /*isUpdatingBiometrics*/
151
- 16 && (e.disabled = /*isUpdatingBiometrics*/
152
- n[4]);
153
- },
154
- d(n) {
155
- n && w(e), r = !1, s();
156
- }
157
- };
158
- }
159
- function be(i) {
160
- let e, t = (
161
- /*biometricsEnabled*/
162
- (i[3] ? (
163
- /*$_*/
164
- i[6]("btnDisableBiometrics")
165
- ) : (
166
- /*$_*/
167
- i[6]("btnEnableBiometrics")
168
- )) + ""
169
- ), r, s, n;
170
- return {
171
- c() {
172
- e = y("button"), r = Z(t), D(e, "class", "BiometricsToggle"), e.disabled = /*isUpdatingBiometrics*/
173
- i[4];
174
- },
175
- m(a, l) {
176
- B(a, e, l), z(e, r), s || (n = I(
177
- e,
178
- "click",
179
- /*click_handler*/
180
- i[14]
181
- ), s = !0);
182
- },
183
- p(a, l) {
184
- l & /*biometricsEnabled, $_*/
185
- 72 && t !== (t = /*biometricsEnabled*/
186
- (a[3] ? (
187
- /*$_*/
188
- a[6]("btnDisableBiometrics")
189
- ) : (
190
- /*$_*/
191
- a[6]("btnEnableBiometrics")
192
- )) + "") && Y(r, t), l & /*isUpdatingBiometrics*/
193
- 16 && (e.disabled = /*isUpdatingBiometrics*/
194
- a[4]);
195
- },
196
- d(a) {
197
- a && w(e), s = !1, n();
198
- }
199
- };
200
- }
201
- function me(i) {
202
- let e, t = (
203
- /*isNativeApp*/
204
- i[0] && O(i)
205
- );
206
- return {
207
- c() {
208
- t && t.c(), e = F();
209
- },
210
- m(r, s) {
211
- t && t.m(r, s), B(r, e, s);
212
- },
213
- p(r, [s]) {
214
- /*isNativeApp*/
215
- r[0] ? t ? t.p(r, s) : (t = O(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
216
- },
217
- i: v,
218
- o: v,
219
- d(r) {
220
- r && w(e), t && t.d(r);
221
- }
222
- };
223
- }
224
- function ue(i, e, t) {
225
- let r;
226
- J(i, se, (o) => t(6, r = o));
227
- let { lang: s = "en" } = e, { clientstyling: n = "" } = e, { clientstylingurl: a = "" } = e, { mbsource: l } = e, { translationurl: g = "" } = e, { isNativeApp: h = !1 } = e, { mode: M = "button" } = e, c, p, b = null, k = !1, d = !1;
228
- const E = (o) => {
229
- Object.keys(o).forEach((m) => {
230
- re(m, o[m]);
231
- });
232
- }, R = () => {
233
- fetch(g).then((m) => m.json()).then((m) => {
234
- E(m);
235
- }).catch((m) => {
236
- console.log(m);
237
- });
238
- };
239
- E(oe);
240
- const C = () => {
241
- ne(s);
242
- }, S = {
243
- BIOMETRICS_RESPONSE: 3e3,
244
- SHAKE_DURATION: 500
245
- };
246
- let _ = !1;
247
- const X = () => {
248
- t(5, _ = !0), setTimeout(
249
- () => {
250
- t(5, _ = !1);
251
- },
252
- S.SHAKE_DURATION
253
- );
254
- }, T = () => {
255
- b && clearTimeout(b), b = setTimeout(
256
- () => {
257
- t(4, d = !1), X(), window.postMessage(
258
- {
259
- type: "WidgetNotification",
260
- data: {
261
- type: "error",
262
- message: r("errorMessage")
263
- }
264
- },
265
- window.location.href
266
- );
267
- },
268
- S.BIOMETRICS_RESPONSE
269
- );
270
- }, x = async () => {
271
- d || (t(4, d = !0), window.postMessage({
272
- type: "ToggleBiometrics",
273
- data: `${!k}`
274
- }), T());
275
- }, A = (o) => {
276
- o.data?.type === "NativeAppReady" && (t(0, h = !0), N()), o.data?.type === "BiometricsStatus" && (t(3, k = o.data.status || !1), t(4, d = !1), b && (clearTimeout(b), b = null));
277
- }, N = () => {
278
- t(4, d = !0), window.postMessage({ type: "GetBiometricsStatus" }), T();
279
- }, j = () => {
280
- window.postMessage({ type: "CheckNativeApp" });
281
- };
282
- Q(() => (window.addEventListener("message", A), h === !0 ? N() : j(), () => {
283
- window.removeEventListener("message", A), p && p.unsubscribe(), b && clearTimeout(b);
284
- }));
285
- const L = () => x();
286
- function U(o) {
287
- V[o ? "unshift" : "push"](() => {
288
- c = o, t(2, c);
289
- });
290
- }
291
- return i.$$set = (o) => {
292
- "lang" in o && t(8, s = o.lang), "clientstyling" in o && t(9, n = o.clientstyling), "clientstylingurl" in o && t(10, a = o.clientstylingurl), "mbsource" in o && t(11, l = o.mbsource), "translationurl" in o && t(12, g = o.translationurl), "isNativeApp" in o && t(0, h = o.isNativeApp), "mode" in o && t(1, M = o.mode);
293
- }, i.$$.update = () => {
294
- i.$$.dirty & /*lang*/
295
- 256 && s && C(), i.$$.dirty & /*clientstyling, customStylingContainer*/
296
- 516 && n && c && $(c, n), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
297
- 1028 && a && c && ee(c, a), i.$$.dirty & /*mbsource, customStylingContainer*/
298
- 2052 && l && c && te(c, `${l}.Style`), i.$$.dirty & /*translationurl*/
299
- 4096 && g && R(), i.$$.dirty & /*mbsource, translationurl, translationSubscription*/
300
- 14336 && l && !g && t(13, p = ae(`${l}.Translation`, p, E));
301
- }, [
302
- h,
303
- M,
304
- c,
305
- k,
306
- d,
307
- _,
308
- r,
309
- x,
310
- s,
311
- n,
312
- a,
313
- l,
314
- g,
315
- p,
316
- L,
317
- U
318
- ];
319
- }
320
- class de extends q {
321
- constructor(e) {
322
- super(), K(
323
- this,
324
- e,
325
- ue,
326
- me,
327
- G,
328
- {
329
- lang: 8,
330
- clientstyling: 9,
331
- clientstylingurl: 10,
332
- mbsource: 11,
333
- translationurl: 12,
334
- isNativeApp: 0,
335
- mode: 1
336
- },
337
- le
338
- );
339
- }
340
- get lang() {
341
- return this.$$.ctx[8];
342
- }
343
- set lang(e) {
344
- this.$$set({ lang: e }), u();
345
- }
346
- get clientstyling() {
347
- return this.$$.ctx[9];
348
- }
349
- set clientstyling(e) {
350
- this.$$set({ clientstyling: e }), u();
351
- }
352
- get clientstylingurl() {
353
- return this.$$.ctx[10];
354
- }
355
- set clientstylingurl(e) {
356
- this.$$set({ clientstylingurl: e }), u();
357
- }
358
- get mbsource() {
359
- return this.$$.ctx[11];
360
- }
361
- set mbsource(e) {
362
- this.$$set({ mbsource: e }), u();
363
- }
364
- get translationurl() {
365
- return this.$$.ctx[12];
366
- }
367
- set translationurl(e) {
368
- this.$$set({ translationurl: e }), u();
369
- }
370
- get isNativeApp() {
371
- return this.$$.ctx[0];
372
- }
373
- set isNativeApp(e) {
374
- this.$$set({ isNativeApp: e }), u();
375
- }
376
- get mode() {
377
- return this.$$.ctx[1];
378
- }
379
- set mode(e) {
380
- this.$$set({ mode: e }), u();
381
- }
382
- }
383
- ie(de, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, isNativeApp: { type: "Boolean" }, mode: {} }, [], [], !0);
384
- export {
385
- de as default
386
- };
@@ -1 +0,0 @@
1
- "use strict";var T=(s,e,t)=>new Promise((n,r)=>{var o=b=>{try{c(t.next(b))}catch(g){r(g)}},a=b=>{try{c(t.throw(b))}catch(g){r(g)}},c=b=>b.done?n(b.value):Promise.resolve(b.value).then(o,a);c((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./GeneralLogout-CmR1r8PX.cjs");function L(s,e){i.addMessages(s,e)}function X(s){i.$locale.set(s)}const j={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",errorMessage:"Biometrics update failed"}};function C(s,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(s,t)),e}function U(s){i.append_styles(s,"svelte-4r3z7g",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}')}function v(s){let e;function t(o,a){if(o[1]==="button")return P;if(o[1]==="switch")return H}let n=t(s),r=n&&n(s);return{c(){e=i.element("div"),r&&r.c()},m(o,a){i.insert(o,e,a),r&&r.m(e,null),s[15](e)},p(o,a){n===(n=t(o))&&r?r.p(o,a):(r&&r.d(1),r=n&&n(o),r&&(r.c(),r.m(e,null)))},d(o){o&&i.detach(e),r&&r.d(),s[15](null)}}}function H(s){let e,t,n,r;return{c(){e=i.element("button"),t=i.element("div"),t.innerHTML='<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>',i.attr(t,"class","skip-switch"),i.toggle_class(t,"checked",s[3]),i.toggle_class(t,"disabled",s[4]),i.toggle_class(t,"shake",s[5]),i.attr(e,"class","toggle-content"),e.disabled=s[4]},m(o,a){i.insert(o,e,a),i.append(e,t),n||(r=i.listen(e,"click",s[7]),n=!0)},p(o,a){a&8&&i.toggle_class(t,"checked",o[3]),a&16&&i.toggle_class(t,"disabled",o[4]),a&32&&i.toggle_class(t,"shake",o[5]),a&16&&(e.disabled=o[4])},d(o){o&&i.detach(e),n=!1,r()}}}function P(s){let e,t=(s[3]?s[6]("btnDisableBiometrics"):s[6]("btnEnableBiometrics"))+"",n,r,o;return{c(){e=i.element("button"),n=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=s[4]},m(a,c){i.insert(a,e,c),i.append(e,n),r||(o=i.listen(e,"click",s[14]),r=!0)},p(a,c){c&72&&t!==(t=(a[3]?a[6]("btnDisableBiometrics"):a[6]("btnEnableBiometrics"))+"")&&i.set_data(n,t),c&16&&(e.disabled=a[4])},d(a){a&&i.detach(e),r=!1,o()}}}function q(s){let e,t=s[0]&&v(s);return{c(){t&&t.c(),e=i.empty()},m(n,r){t&&t.m(n,r),i.insert(n,e,r)},p(n,[r]){n[0]?t?t.p(n,r):(t=v(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(n){n&&i.detach(e),t&&t.d(n)}}}function G(s,e,t){let n;i.component_subscribe(s,i.$format,l=>t(6,n=l));let{lang:r="en"}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{translationurl:b=""}=e,{isNativeApp:g=!1}=e,{mode:B="button"}=e,u,p,d=null,h=!1,f=!1;const y=l=>{Object.keys(l).forEach(m=>{L(m,l[m])})},N=()=>{fetch(b).then(m=>m.json()).then(m=>{y(m)}).catch(m=>{console.log(m)})};y(j);const x=()=>{X(r)},k={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let w=!1;const O=()=>{t(5,w=!0),setTimeout(()=>{t(5,w=!1)},k.SHAKE_DURATION)},_=()=>{d&&clearTimeout(d),d=setTimeout(()=>{t(4,f=!1),O(),window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("errorMessage")}},window.location.href)},k.BIOMETRICS_RESPONSE)},E=()=>T(this,null,function*(){f||(t(4,f=!0),window.postMessage({type:"ToggleBiometrics",data:`${!h}`}),_())}),M=l=>{var m,S;((m=l.data)==null?void 0:m.type)==="NativeAppReady"&&(t(0,g=!0),D()),((S=l.data)==null?void 0:S.type)==="BiometricsStatus"&&(t(3,h=l.data.status||!1),t(4,f=!1),d&&(clearTimeout(d),d=null))},D=()=>{t(4,f=!0),window.postMessage({type:"GetBiometricsStatus"}),_()},I=()=>{window.postMessage({type:"CheckNativeApp"})};i.onMount(()=>(window.addEventListener("message",M),g===!0?D():I(),()=>{window.removeEventListener("message",M),p&&p.unsubscribe(),d&&clearTimeout(d)}));const R=()=>E();function z(l){i.binding_callbacks[l?"unshift":"push"](()=>{u=l,t(2,u)})}return s.$$set=l=>{"lang"in l&&t(8,r=l.lang),"clientstyling"in l&&t(9,o=l.clientstyling),"clientstylingurl"in l&&t(10,a=l.clientstylingurl),"mbsource"in l&&t(11,c=l.mbsource),"translationurl"in l&&t(12,b=l.translationurl),"isNativeApp"in l&&t(0,g=l.isNativeApp),"mode"in l&&t(1,B=l.mode)},s.$$.update=()=>{s.$$.dirty&256&&r&&x(),s.$$.dirty&516&&o&&u&&i.setClientStyling(u,o),s.$$.dirty&1028&&a&&u&&i.setClientStylingURL(u,a),s.$$.dirty&2052&&c&&u&&i.setStreamStyling(u,`${c}.Style`),s.$$.dirty&4096&&b&&N(),s.$$.dirty&14336&&c&&!b&&t(13,p=C(`${c}.Translation`,p,y))},[g,B,u,h,f,w,n,E,r,o,a,c,b,p,R,z]}class A extends i.SvelteComponent{constructor(e){super(),i.init(this,e,G,q,i.safe_not_equal,{lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12,isNativeApp:0,mode:1},U)}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),i.flush()}get isNativeApp(){return this.$$.ctx[0]}set isNativeApp(e){this.$$set({isNativeApp:e}),i.flush()}get mode(){return this.$$.ctx[1]}set mode(e){this.$$set({mode:e}),i.flush()}}i.create_custom_element(A,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{}},[],[],!0);exports.default=A;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CmR1r8PX.cjs");require("../stencil/ui-skeleton-C2ZVNvDq.cjs");function z(r,t){e.addMessages(r,t)}function S(r){e.$locale.set(r)}const B={en:{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"},"zh-hk":{titleAccountClosure:"賬戶關閉",accountClosureDescription:"如果您覺得需要休息,或者您只是想停止使用我們的服務,賬戶關閉會為您的賬戶提供永久訪問限制。",closeAccount:"關閉賬戶",modal:"您確定要關閉您的帳戶嗎?",accountClosureCancel:"不",accountClosureConfirm:"是的"},fr:{titleAccountClosure:"Fermeture du compte",accountClosureDescription:"La fermeture du compte fournit une restriction permanente d'accès à votre compte si vous sentez que vous avez besoin d'une pause ou si vous souhaitez arrêter d'utiliser notre service",closeAccount:"Fermer le compte",modal:"êtes-vous sûr de vouloir fermer votre compte?",accountClosureCancel:"Non",accountClosureConfirm:"Oui"},ro:{titleAccountClosure:"Închidere Cont",accountClosureDescription:'Opțiunea "Închidere Cont" asigură suspendarea permanentă a accesului la contul tău dacă simți că ai nevoie de o pauză sau că vrei să nu mai folosești serviciile noastre.',closeAccount:"Închide Cont",modal:"Esti sigur ca vrei sa inchizi contul?",accountClosureCancel:"Nu",accountClosureConfirm:"Da"},es:{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"Cierre de cuenta provee una restricción permamente de poder ingresar a su cuenta si desea tomar una pausa.",closeAccount:"Cerrar cuenta",modal:"Esta seguro que desea cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},pt:{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O Encerramento de Conta fornece uma restrição de acesso permanente à sua conta se você achar que precisa de uma pausa ou apenas deseja parar de usar nossos serviços.",closeAccount:"Encerrar conta",modal:"Tem certeza de que deseja encerrar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},hr:{titleAccountClosure:"Zatvaranje računa",accountClosureDescription:"Zatvaranje računa omogućuje trajno ograničenje pristupa vašem računu ako smatrate da vam je potreban odmor",closeAccount:"Zatvori račun",modal:"Jeste li sigurni da želite zatvoriti svoj račun?",accountClosureCancel:"Ne",accountClosureConfirm:"Da"},"pt-br":{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O encerramento da conta oferece restrição permanente de acesso à sua conta se você achar que precisa de uma pausa,ou simplesmente deseja parar de usar nossos serviços",closeAccount:"Conta de data",modal:"Tem certeza de que deseja namorar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},"es-mx":{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"El cierre de la cuenta ofrece restricción permanente al acceso de su cuenta si considera que necesita un descanso,o simplemente quiere dejar de utilizar nuestros servicios",closeAccount:"Cerrar cuenta",modal:"Está seguro que quiere cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},tr:{titleAccountClosure:"Hesap kapatma",accountClosureDescription:"Hesap Kapatma, bir ara vermeniz gerektiğini düşünüyorsanız veya hizmetlerimizi kullanmayı bırakmak istiyorsanız, hesabınıza kalıcı erişim kısıtlaması sağlar.",closeAccount:"Hesabı kapat",modal:"Hesabınızı kapatmak istediğinizden emin misiniz?",accountClosureCancel:"HAYIR",accountClosureConfirm:"Evet"},"en-us":{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"}};function D(r){e.append_styles(r,"svelte-1oeuewt",'.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{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:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;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)}.ModalWrapper .ModalContent::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, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);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}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}')}function j(r,t,o){const l=r.slice();return l[22]=t[o],l}function T(r){let t,o,l,n,a,d,u,s,h,p,C=r[3]("titleAccountClosure")+"",w,i,M;return{c(){t=e.element("div"),o=e.svg_element("svg"),l=e.svg_element("defs"),n=e.svg_element("style"),a=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),d=e.svg_element("g"),u=e.svg_element("g"),s=e.svg_element("path"),h=e.space(),p=e.element("h2"),w=e.text(C),e.attr(s,"class","aaa"),e.attr(s,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(s,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(d,"transform","translate(-20 -158)"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","15"),e.attr(o,"viewBox","0 0 15 15"),e.attr(p,"class","AccountClosureTitleMobile"),e.attr(p,"part","AccountClosureTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(b,m){e.insert(b,t,m),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,a),e.append(o,d),e.append(d,u),e.append(u,s),e.append(t,h),e.append(t,p),e.append(p,w),i||(M=e.listen(t,"click",r[13]),i=!0)},p(b,m){m&8&&C!==(C=b[3]("titleAccountClosure")+"")&&e.set_data(w,C)},d(b){b&&e.detach(t),i=!1,M()}}}function N(r){let t,o,l=r[3]("accountClosureDescription")+"";return{c(){t=e.element("div"),o=e.element("p"),e.attr(t,"class","AccountClosureDescription "+(r[4]?"AccountClosureDescriptionMobile":""))},m(n,a){e.insert(n,t,a),e.append(t,o),o.innerHTML=l},p(n,a){a&8&&l!==(l=n[3]("accountClosureDescription")+"")&&(o.innerHTML=l)},d(n){n&&e.detach(t)}}}function q(r){let t,o,l=e.ensure_array_like({length:4}),n=[];for(let a=0;a<l.length;a+=1)n[a]=L(j(r,l,a));return{c(){t=e.element("div"),o=e.element("div");for(let a=0;a<n.length;a+=1)n[a].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainerClosure")},m(a,d){e.insert(a,t,d),e.append(t,o);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(o,null)},p:e.noop,d(a){a&&e.detach(t),e.destroy_each(n,a)}}}function L(r){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ',e.attr(t,"class","skeletonNotification")},m(o,l){e.insert(o,t,l)},p:e.noop,d(o){o&&e.detach(t)}}}function W(r){let t,o,l,n,a=r[3]("modal")+"",d,u,s,h,p=r[3]("accountClosureCancel")+"",C,w,i,M=r[3]("accountClosureConfirm")+"",b,m,x;return{c(){t=e.element("div"),o=e.element("div"),l=e.element("div"),n=e.element("p"),d=e.text(a),u=e.space(),s=e.element("div"),h=e.element("button"),C=e.text(p),w=e.space(),i=e.element("button"),b=e.text(M),e.attr(n,"class","ModalText"),e.attr(h,"class","ModalCancel"),e.attr(i,"class","ModalConfirm"),e.attr(s,"class","ModalButtons"),e.attr(l,"class","ModalBody"),e.attr(o,"class","ModalContent"),e.attr(t,"class","ModalWrapper "+(r[4]?"ModalWrapperMobile":""))},m(y,f){e.insert(y,t,f),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,d),e.append(l,u),e.append(l,s),e.append(s,h),e.append(h,C),e.append(s,w),e.append(s,i),e.append(i,b),m||(x=[e.listen(h,"click",r[15]),e.listen(i,"click",r[16])],m=!0)},p(y,f){f&8&&a!==(a=y[3]("modal")+"")&&e.set_data(d,a),f&8&&p!==(p=y[3]("accountClosureCancel")+"")&&e.set_data(C,p),f&8&&M!==(M=y[3]("accountClosureConfirm")+"")&&e.set_data(b,M)},d(y){y&&e.detach(t),m=!1,e.run_all(x)}}}function H(r){let t,o,l,n,a=r[3]("titleAccountClosure")+"",d,u,s,h,p,C=r[3]("closeAccount")+"",w,i,M,b,m=r[4]&&T(r);function x(g,A){return g[1]?q:N}let y=x(r),f=y(r),v=r[2]&&W(r);return{c(){t=e.element("div"),o=e.element("div"),m&&m.c(),l=e.space(),n=e.element("h2"),d=e.text(a),u=e.space(),f.c(),s=e.space(),h=e.element("div"),p=e.element("button"),w=e.text(C),i=e.space(),v&&v.c(),e.attr(n,"class","AccountClosureTitle "+(r[4]?"AccountClosureTitleNone":"")),e.attr(p,"class","AccountClosureSave "+(r[4]?"AccountClosureSaveMobile":"")),e.attr(h,"class","AccountClosureActionButtons "+(r[4]?"AccountClosureActionButtonsMobile":"")),e.attr(o,"class","AccountClosureWrapper "+(r[4]?"AccountClosureWrapperMobile":""))},m(g,A){e.insert(g,t,A),e.append(t,o),m&&m.m(o,null),e.append(o,l),e.append(o,n),e.append(n,d),e.append(o,u),f.m(o,null),e.append(o,s),e.append(o,h),e.append(h,p),e.append(p,w),e.append(t,i),v&&v.m(t,null),r[17](t),M||(b=e.listen(p,"click",r[14]),M=!0)},p(g,[A]){g[4]&&m.p(g,A),A&8&&a!==(a=g[3]("titleAccountClosure")+"")&&e.set_data(d,a),y===(y=x(g))&&f?f.p(g,A):(f.d(1),f=y(g),f&&(f.c(),f.m(o,s))),A&8&&C!==(C=g[3]("closeAccount")+"")&&e.set_data(w,C),g[2]?v?v.p(g,A):(v=W(g),v.c(),v.m(t,null)):v&&(v.d(1),v=null)},i:e.noop,o:e.noop,d(g){g&&e.detach(t),m&&m.d(),f.d(),v&&v.d(),r[17](null),M=!1,b()}}}function O(r,t,o){let l;e.component_subscribe(r,e.$format,c=>o(3,l=c));let{lang:n="en"}=t,{clientstyling:a=""}=t,{clientstylingurl:d=""}=t,{mbsource:u}=t,{translationurl:s=""}=t,h=window.navigator.userAgent,p=e.getDevice(h)!=="PC",C=!1,w=!1,i;const M=()=>{o(1,C=!0),fetch(s).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{z(k,_[k])})}).catch(_=>{console.log(_)}).finally(()=>{o(1,C=!1)})};Object.keys(B).forEach(c=>{z(c,B[c])});const b=c=>{o(2,w=c),c===!0?window.postMessage({type:"DisableScroll"},window.location.href):window.postMessage({type:"EnableScroll"},window.location.href)},m=()=>{b(!1),window.postMessage({type:"AccountClosure"},window.location.href)},x=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:p},window.location.href)},y=()=>{S(n)};e.onMount(()=>()=>{});const f=()=>x(),v=()=>b(!0),g=()=>b(!1),A=()=>m();function F(c){e.binding_callbacks[c?"unshift":"push"](()=>{i=c,o(0,i)})}return r.$$set=c=>{"lang"in c&&o(8,n=c.lang),"clientstyling"in c&&o(9,a=c.clientstyling),"clientstylingurl"in c&&o(10,d=c.clientstylingurl),"mbsource"in c&&o(11,u=c.mbsource),"translationurl"in c&&o(12,s=c.translationurl)},r.$$.update=()=>{r.$$.dirty&256&&n&&y(),r.$$.dirty&513&&a&&i&&e.setClientStyling(i,a),r.$$.dirty&1025&&d&&i&&e.setClientStylingURL(i,d),r.$$.dirty&2049&&u&&i&&e.setStreamStyling(i,`${u}.Style`),r.$$.dirty&4096&&s&&M()},[i,C,w,l,p,b,m,x,n,a,d,u,s,f,v,g,A,F]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,H,e.safe_not_equal,{lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},D)}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(E,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=E;