@everymatrix/player-account-controller 1.88.18 → 1.88.19

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 (108) hide show
  1. package/components/{GeneralLogout-BjKL_Rb9.js → GeneralLogout-Bv7_Hjpi.js} +1 -1
  2. package/components/{GeneralLogout-BWnT3bPU.cjs → GeneralLogout-DGD3Wimt.cjs} +1 -1
  3. package/components/{GeneralLogout-Pm569dnE.js → GeneralLogout-Dc7cjBgO.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-BrVWt7b_.js → PlayerAccountBettingHistory-CPKchWiz.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-D6Cyq3WF.cjs → PlayerAccountBettingHistory-Cj5xdLaY.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CB96NlhM.js → PlayerAccountBettingHistory-D5czWEzh.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-CUI_N8HF.js → PlayerAccountBiometrics-B3N1k1iq.js} +132 -155
  8. package/components/{PlayerAccountBiometrics-B73Nnw_K.js → PlayerAccountBiometrics-CM6HtOe5.js} +132 -155
  9. package/components/PlayerAccountBiometrics-Cox3uLdn.cjs +1 -0
  10. package/components/{PlayerAccountBiometricsAction-CleCRwjx.cjs → PlayerAccountBiometricsAction-B6piKdRw.cjs} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-BJ3qHowr.js → PlayerAccountBiometricsAction-C88wDzzh.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-CfcDxgQv.js → PlayerAccountBiometricsAction-mwuBOkUR.js} +1 -1
  13. package/components/{PlayerAccountClosure-Cb9gvRyl.js → PlayerAccountClosure-BhN6NrfV.js} +1 -1
  14. package/components/{PlayerAccountClosure-Blbxfb7D.js → PlayerAccountClosure-fmisGWID.js} +1 -1
  15. package/components/{PlayerAccountClosure-DOdzs4CJ.cjs → PlayerAccountClosure-tb5YZKqU.cjs} +1 -1
  16. package/components/{PlayerAccountController-VR4ouVKN.cjs → PlayerAccountController-CoF8Ufpg.cjs} +1 -1
  17. package/components/{PlayerAccountController-BVDle7pw.js → PlayerAccountController-DQUfjs7n.js} +22 -22
  18. package/components/{PlayerAccountController-Djrm9mkW.js → PlayerAccountController-OnOGVd86.js} +22 -22
  19. package/components/{PlayerAccountGamingLimits-C82x4dr9.cjs → PlayerAccountGamingLimits-CtzzOiXA.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimits-BVFG9Ic0.js → PlayerAccountGamingLimits-DsrYUKe6.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-C0WB1Rg7.js → PlayerAccountGamingLimits-XrMt7u7_.js} +2 -2
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-DkI1y80T.js → PlayerAccountGamingLimitsConfirmationModal-BbIfSBPs.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-BDKvkKy1.cjs → PlayerAccountGamingLimitsConfirmationModal-BrKDmsVQ.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DxcB2G70.js → PlayerAccountGamingLimitsConfirmationModal-CLaAS2Ya.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-DX4pucX9.cjs → PlayerAccountGamingLimitsGroupEdit-BmPsy0_I.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-BABwCflt.js → PlayerAccountGamingLimitsGroupEdit-C_PMXvBa.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-yM8nSRTv.js → PlayerAccountGamingLimitsGroupEdit-kbnxcDOz.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-C8I_48rp.js → PlayerAccountGamingLimitsHistory2-BIGNoSYf.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-Cu7CcAU0.js → PlayerAccountGamingLimitsHistory2-Cqivb7ZG.js} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-C7A7BtPV.cjs → PlayerAccountGamingLimitsHistory2-DSAnHmkK.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-B941EM2_.js → PlayerAccountGamingLimitsInfoCard-DFEVmssC.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-p2iumv-p.js → PlayerAccountGamingLimitsInfoCard-DVDZWmcb.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-CpXjHtZ5.cjs → PlayerAccountGamingLimitsInfoCard-DeubKzZl.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-DRAY-1vl.js → PlayerAccountGamingLimitsPage2Gm16-Byd7W9fp.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-DC1xq15C.js → PlayerAccountGamingLimitsPage2Gm16-CNgbkY5W.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-DdBzUMAi.cjs → PlayerAccountGamingLimitsPage2Gm16-CaigQ1-b.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-FKIKw10Y.js → PlayerAccountGamingLimitsPopup-DqlkKlF7.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-K4DtiNoT.cjs → PlayerAccountGamingLimitsPopup-Q5MGLJrx.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-DvMoGbLS.js → PlayerAccountGamingLimitsPopup-ruhXDuWD.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-CiaFZBvV.js → PlayerAccountGamingLimitsWrapper2-9FI5uyAC.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-BnUdThjl.js → PlayerAccountGamingLimitsWrapper2-Cgg1CFGN.js} +3 -3
  42. package/components/{PlayerAccountGamingLimitsWrapper2-BY2kdiPH.cjs → PlayerAccountGamingLimitsWrapper2-DyLaxKVg.cjs} +1 -1
  43. package/components/{PlayerAccountGeneralConfirmationModal-RhLp4O0H.js → PlayerAccountGeneralConfirmationModal-B0yz-Cc-.js} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-DjLGHWEO.cjs → PlayerAccountGeneralConfirmationModal-B7qYPGX1.cjs} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-10lItihj.js → PlayerAccountGeneralConfirmationModal-PBoPY8nC.js} +1 -1
  46. package/components/{PlayerAccountMenu-CRcNnJP6.cjs → PlayerAccountMenu-BJuktStr.cjs} +1 -1
  47. package/components/{PlayerAccountMenu-C1R8Q6P_.js → PlayerAccountMenu-BzRHDdzL.js} +2 -2
  48. package/components/{PlayerAccountMenu-WQc3Et5O.js → PlayerAccountMenu-jfxw-IKp.js} +2 -2
  49. package/components/{PlayerAccountModal-DrM9XxHd.js → PlayerAccountModal-Bb9su2hg.js} +1 -1
  50. package/components/{PlayerAccountModal-B5rE9mxq.js → PlayerAccountModal-CUlfGYO1.js} +1 -1
  51. package/components/{PlayerAccountModal-DIqLs9Vh.cjs → PlayerAccountModal-D2KtLtVv.cjs} +1 -1
  52. package/components/{PlayerAccountNotifications-BjA__3-n.js → PlayerAccountNotifications-19HMXeqY.js} +1 -1
  53. package/components/{PlayerAccountNotifications-BpeGkfNT.js → PlayerAccountNotifications-BP8c2-g1.js} +1 -1
  54. package/components/{PlayerAccountNotifications-B56rAaMH.cjs → PlayerAccountNotifications-Uaxt-shQ.cjs} +1 -1
  55. package/components/{PlayerAccountProductRestriction-Zh5reVNs.js → PlayerAccountProductRestriction-CKr5GwHB.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-DgLkxxCc.js → PlayerAccountProductRestriction-CcppEvXv.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-BM1zVqvj.cjs → PlayerAccountProductRestriction-DVQHhRFr.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-liWwUR9e.js → PlayerAccountReviewFrequency-BRrIOaR5.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-N4dL-MIX.cjs → PlayerAccountReviewFrequency-C4yrP9Nu.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-C1s5jeJy.js → PlayerAccountReviewFrequency-OWmcAGuw.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-Mnr4ezhF.cjs → PlayerAccountSelfExclusion-BXeJFVQL.cjs} +1 -1
  62. package/components/{PlayerAccountSelfExclusion-3XNRVmKJ.js → PlayerAccountSelfExclusion-DFpFjgWl.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-DxmhMBFo.js → PlayerAccountSelfExclusion-JyiDck3P.js} +2 -2
  64. package/components/{PlayerAccountTimeout-B5a2UIuC.js → PlayerAccountTimeout-BI8ChPm8.js} +3 -3
  65. package/components/{PlayerAccountTimeout-COBBC_RZ.cjs → PlayerAccountTimeout-BRo_Dkho.cjs} +2 -2
  66. package/components/{PlayerAccountTimeout-DHCucehH.js → PlayerAccountTimeout-BrapQ1rx.js} +3 -3
  67. package/components/{PlayerAccountTransactionsHistory-s_dSShJH.js → PlayerAccountTransactionsHistory-B70GCHZR.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-BRX4X935.cjs → PlayerAccountTransactionsHistory-DKRbk-um.cjs} +1 -1
  69. package/components/{PlayerAccountTransactionsHistory-BW4wucLZ.js → PlayerAccountTransactionsHistory-T_xEdN-Q.js} +4 -4
  70. package/components/{PlayerActiveBonuses-BVsCsVbF.cjs → PlayerActiveBonuses-8-6rIuoH.cjs} +1 -1
  71. package/components/{PlayerActiveBonuses-2opJVM8b.js → PlayerActiveBonuses-ByiFP0Ip.js} +2 -2
  72. package/components/{PlayerActiveBonuses-Cnc_4qrS.js → PlayerActiveBonuses-D0Hbj7rk.js} +2 -2
  73. package/components/{PlayerBonusCard-BY05obLc.js → PlayerBonusCard-B-s1fbHb.js} +2 -2
  74. package/components/{PlayerBonusCard-K1AFsBEs.js → PlayerBonusCard-BaPk9c2Q.js} +2 -2
  75. package/components/{PlayerBonusCard-9B6E0yXz.cjs → PlayerBonusCard-nui3-xpw.cjs} +1 -1
  76. package/components/{PlayerBonusHistory-BhHfGS4U.js → PlayerBonusHistory-Cb_cD2n7.js} +2 -2
  77. package/components/{PlayerBonusHistory-DyHpEkLM.cjs → PlayerBonusHistory-CkeQ27YF.cjs} +1 -1
  78. package/components/{PlayerBonusHistory-DJ2l7dIe.js → PlayerBonusHistory-DwkJkHgZ.js} +2 -2
  79. package/components/{PlayerChangePassword-C8Ros8xw.cjs → PlayerChangePassword-CQ35iXXe.cjs} +1 -1
  80. package/components/{PlayerChangePassword-O9od03VV.js → PlayerChangePassword-ClstZN0P.js} +1 -1
  81. package/components/{PlayerChangePassword-DLVDP2zG.js → PlayerChangePassword-DGBuSXR1.js} +1 -1
  82. package/components/{PlayerDeposit-DcSUO_f9.cjs → PlayerDeposit-BGH9NaxI.cjs} +1 -1
  83. package/components/{PlayerDeposit--gBThjFz.js → PlayerDeposit-DR59d-Ms.js} +1 -1
  84. package/components/{PlayerDeposit-CmQFAmra.js → PlayerDeposit-TRfLahyJ.js} +1 -1
  85. package/components/{PlayerGamingHistory-BGiMIcyd.js → PlayerGamingHistory-BHogc5B_.js} +3 -3
  86. package/components/{PlayerGamingHistory-2cQaRB1S.js → PlayerGamingHistory-BxfoN5ok.js} +3 -3
  87. package/components/{PlayerGamingHistory-D8BKYNx6.cjs → PlayerGamingHistory-DTo0VJkP.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-By-m__52.cjs → PlayerPendingWithdrawals-BkaEAPGq.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-Irq1MYak.js → PlayerPendingWithdrawals-CHhIhe9Y.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-CH3P2rqT.js → PlayerPendingWithdrawals-D0KMnA0g.js} +1 -1
  91. package/components/{PlayerProfileInfo-C2bBlu-A.js → PlayerProfileInfo-Dn6dJ29_.js} +717 -701
  92. package/components/{PlayerProfileInfo-CBv_Hd6d.js → PlayerProfileInfo-DsQrebpF.js} +869 -853
  93. package/components/PlayerProfileInfo-oMqRDNUE.cjs +4 -0
  94. package/components/{PlayerRealityCheck-PaIjq_nl.js → PlayerRealityCheck-CoAQY0az.js} +1 -1
  95. package/components/{PlayerRealityCheck-DksJtFUJ.js → PlayerRealityCheck-UGpTBMix.js} +1 -1
  96. package/components/{PlayerRealityCheck-uX_j0JXS.cjs → PlayerRealityCheck-j3DKSjyd.cjs} +1 -1
  97. package/components/{PlayerTransactionHistory-B-33JdVN.js → PlayerTransactionHistory-CHIZWeJA.js} +1 -1
  98. package/components/{PlayerTransactionHistory-BKjdv_Jl.cjs → PlayerTransactionHistory-Dawp3VCA.cjs} +1 -1
  99. package/components/{PlayerTransactionHistory-B0KivafL.js → PlayerTransactionHistory-jQD5D0At.js} +1 -1
  100. package/components/{PlayerWithdrawal-CRcxNpPN.cjs → PlayerWithdrawal-B9Nrzcn3.cjs} +1 -1
  101. package/components/{PlayerWithdrawal-DC8tbt5z.js → PlayerWithdrawal-BBEhF3E_.js} +1 -1
  102. package/components/{PlayerWithdrawal-D_eNCUQ8.js → PlayerWithdrawal-Chhr1mgD.js} +1 -1
  103. package/es2015/player-account-controller.cjs +1 -1
  104. package/es2015/player-account-controller.js +1 -1
  105. package/esnext/player-account-controller.js +1 -1
  106. package/package.json +1 -1
  107. package/components/PlayerAccountBiometrics-BzKHiWZT.cjs +0 -1
  108. package/components/PlayerProfileInfo-D2foXLPV.cjs +0 -4
@@ -1,11 +1,12 @@
1
- import { a as x, $ as R, S as L, i as N, s as W, f as M, b as q, n as T, d as z, t as S, q as y, c as Y, m as n, e as w, p as j, u as k, r as s, g as H, h as I, o as K, w as V, x as A, j as Z, z as F, A as G, B as J, C as Q, D as X } from "./PlayerAccountController-BVDle7pw.js";
2
- function U(e, t) {
3
- x(e, t);
1
+ import { a as O, $ as R, S as L, i as N, s as W, f as M, b as x, n as U, d as z, t as S, q as B, c as C, m as a, e as y, p as k, u as j, r as s, g as q, h as H, o as I, w as K, x as E, j as V, z as Z, A as F, B as G, C as J, D as Q } from "./PlayerAccountController-DQUfjs7n.js";
2
+ import "./PlayerProfileInfo-DsQrebpF.js";
3
+ function T(t, i) {
4
+ O(t, i);
4
5
  }
5
- function $(e) {
6
- R.set(e);
6
+ function X(t) {
7
+ R.set(t);
7
8
  }
8
- const O = {
9
+ const Y = {
9
10
  en: {
10
11
  titleBiometrics: "Biometrics Authentication",
11
12
  descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
@@ -84,171 +85,152 @@ const O = {
84
85
  btnDisableBiometrics: "Disable biometrics"
85
86
  }
86
87
  };
87
- if (typeof window != "undefined") {
88
- let e = function(t) {
89
- return function(...r) {
90
- try {
91
- return t.apply(this, r);
92
- } catch (l) {
93
- if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
94
- return !1;
95
- throw l;
96
- }
97
- };
98
- };
99
- customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-BJ3qHowr.js").then(({ default: t }) => {
100
- !customElements.get("player-account-biometrics-action") && customElements.define("player-account-biometrics-action", t.element);
101
- });
88
+ function $(t) {
89
+ x(t, "svelte-1fepl4m", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{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:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
102
90
  }
103
- const at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
104
- __proto__: null
105
- }, Symbol.toStringTag, { value: "Module" }));
106
- function tt(e) {
107
- q(e, "svelte-1fepl4m", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{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:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
108
- }
109
- function et(e) {
110
- let t, r, l, m, b, f, p, a, c, g, B = (
91
+ function tt(t) {
92
+ let i, r, w, m, b, u, p, n, c, f, d = (
111
93
  /*$_*/
112
- e[6]("titleBiometrics") + ""
113
- ), v, _, P;
94
+ t[6]("titleBiometrics") + ""
95
+ ), v, P, D;
114
96
  return {
115
97
  c() {
116
- t = w("div"), r = A("svg"), l = A("defs"), m = A("style"), b = k(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), f = A("g"), p = A("g"), a = A("path"), c = j(), g = w("h2"), v = k(B), s(a, "class", "aaa"), s(a, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(a, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(f, "transform", "translate(-20 -158)"), s(r, "xmlns", "http://www.w3.org/2000/svg"), s(r, "width", "15"), s(r, "height", "15"), s(r, "viewBox", "0 0 15 15"), s(g, "class", "BiometricsTitleMobile"), s(g, "part", "BiometricsTitleMobile"), s(t, "class", "MenuReturnButton"), s(t, "part", "MenuReturnButton");
98
+ i = y("div"), r = E("svg"), w = E("defs"), m = E("style"), b = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), u = E("g"), p = E("g"), n = E("path"), c = k(), f = y("h2"), v = j(d), s(n, "class", "aaa"), s(n, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(n, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(u, "transform", "translate(-20 -158)"), s(r, "xmlns", "http://www.w3.org/2000/svg"), s(r, "width", "15"), s(r, "height", "15"), s(r, "viewBox", "0 0 15 15"), s(f, "class", "BiometricsTitleMobile"), s(f, "part", "BiometricsTitleMobile"), s(i, "class", "MenuReturnButton"), s(i, "part", "MenuReturnButton");
117
99
  },
118
- m(h, E) {
119
- Y(h, t, E), n(t, r), n(r, l), n(l, m), n(m, b), n(r, f), n(f, p), n(p, a), n(t, c), n(t, g), n(g, v), _ || (P = V(
120
- t,
100
+ m(g, _) {
101
+ C(g, i, _), a(i, r), a(r, w), a(w, m), a(m, b), a(r, u), a(u, p), a(p, n), a(i, c), a(i, f), a(f, v), P || (D = K(
102
+ i,
121
103
  "click",
122
104
  /*click_handler*/
123
- e[9]
124
- ), _ = !0);
105
+ t[9]
106
+ ), P = !0);
125
107
  },
126
- p(h, E) {
127
- E & /*$_*/
128
- 64 && B !== (B = /*$_*/
129
- h[6]("titleBiometrics") + "") && S(v, B);
108
+ p(g, _) {
109
+ _ & /*$_*/
110
+ 64 && d !== (d = /*$_*/
111
+ g[6]("titleBiometrics") + "") && S(v, d);
130
112
  },
131
- d(h) {
132
- h && z(t), _ = !1, P();
113
+ d(g) {
114
+ g && z(i), P = !1, D();
133
115
  }
134
116
  };
135
117
  }
136
- function it(e) {
137
- let t, r, l, m, b = (
118
+ function it(t) {
119
+ let i, r, w, m, b = (
138
120
  /*$_*/
139
- e[6]("titleBiometrics") + ""
140
- ), f, p, a, c, g = (
121
+ t[6]("titleBiometrics") + ""
122
+ ), u, p, n, c, f = (
141
123
  /*$_*/
142
- e[6]("descriptionParagraph1") + ""
143
- ), B, v, _, P = (
124
+ t[6]("descriptionParagraph1") + ""
125
+ ), d, v, P, D = (
144
126
  /*$_*/
145
- e[6]("descriptionParagraph2") + ""
146
- ), h, E, D, i, u = (
127
+ t[6]("descriptionParagraph2") + ""
128
+ ), g, _, A, e, l = (
147
129
  /*isMobile*/
148
- e[7] && et(e)
130
+ t[7] && tt(t)
149
131
  );
150
132
  return {
151
133
  c() {
152
- t = w("div"), r = w("div"), u && u.c(), l = j(), m = w("h2"), f = k(b), p = j(), a = w("div"), c = w("p"), B = k(g), v = j(), _ = w("p"), h = k(P), E = j(), D = w("div"), i = w("player-account-biometrics-action"), s(m, "class", "BiometricsTitle " + /*isMobile*/
153
- (e[7] ? "BiometricsTitleNone" : "")), s(a, "class", "BiometricsDescription " + /*isMobile*/
154
- (e[7] ? "BiometricsDescriptionMobile" : "")), y(
155
- i,
134
+ i = y("div"), r = y("div"), l && l.c(), w = k(), m = y("h2"), u = j(b), p = k(), n = y("div"), c = y("p"), d = j(f), v = k(), P = y("p"), g = j(D), _ = k(), A = y("div"), e = y("player-account-biometrics-action"), s(m, "class", "BiometricsTitle " + /*isMobile*/
135
+ (t[7] ? "BiometricsTitleNone" : "")), s(n, "class", "BiometricsDescription " + /*isMobile*/
136
+ (t[7] ? "BiometricsDescriptionMobile" : "")), B(
137
+ e,
156
138
  "lang",
157
139
  /*lang*/
158
- e[0]
159
- ), y(
160
- i,
140
+ t[0]
141
+ ), B(
142
+ e,
161
143
  "translationurl",
162
144
  /*translationurl*/
163
- e[4]
164
- ), y(
165
- i,
145
+ t[4]
146
+ ), B(
147
+ e,
166
148
  "clientstyling",
167
149
  /*clientstyling*/
168
- e[1]
169
- ), y(
170
- i,
150
+ t[1]
151
+ ), B(
152
+ e,
171
153
  "clientstylingurl",
172
154
  /*clientstylingurl*/
173
- e[2]
174
- ), y(
175
- i,
155
+ t[2]
156
+ ), B(
157
+ e,
176
158
  "mbsource",
177
159
  /*mbsource*/
178
- e[3]
179
- ), s(D, "class", "BiometricsActionButtons " + /*isMobile*/
180
- (e[7] ? "BiometricsActionButtonsMobile" : "")), s(r, "class", "BiometricsWrapper " + /*isMobile*/
181
- (e[7] ? "BiometricsWrapperMobile" : ""));
160
+ t[3]
161
+ ), s(A, "class", "BiometricsActionButtons " + /*isMobile*/
162
+ (t[7] ? "BiometricsActionButtonsMobile" : "")), s(r, "class", "BiometricsWrapper " + /*isMobile*/
163
+ (t[7] ? "BiometricsWrapperMobile" : ""));
182
164
  },
183
- m(o, d) {
184
- Y(o, t, d), n(t, r), u && u.m(r, null), n(r, l), n(r, m), n(m, f), n(r, p), n(r, a), n(a, c), n(c, B), n(a, v), n(a, _), n(_, h), n(r, E), n(r, D), n(D, i), e[10](t);
165
+ m(o, h) {
166
+ C(o, i, h), a(i, r), l && l.m(r, null), a(r, w), a(r, m), a(m, u), a(r, p), a(r, n), a(n, c), a(c, d), a(n, v), a(n, P), a(P, g), a(r, _), a(r, A), a(A, e), t[10](i);
185
167
  },
186
- p(o, [d]) {
168
+ p(o, [h]) {
187
169
  /*isMobile*/
188
- o[7] && u.p(o, d), d & /*$_*/
170
+ o[7] && l.p(o, h), h & /*$_*/
189
171
  64 && b !== (b = /*$_*/
190
- o[6]("titleBiometrics") + "") && S(f, b), d & /*$_*/
191
- 64 && g !== (g = /*$_*/
192
- o[6]("descriptionParagraph1") + "") && S(B, g), d & /*$_*/
193
- 64 && P !== (P = /*$_*/
194
- o[6]("descriptionParagraph2") + "") && S(h, P), d & /*lang*/
195
- 1 && y(
196
- i,
172
+ o[6]("titleBiometrics") + "") && S(u, b), h & /*$_*/
173
+ 64 && f !== (f = /*$_*/
174
+ o[6]("descriptionParagraph1") + "") && S(d, f), h & /*$_*/
175
+ 64 && D !== (D = /*$_*/
176
+ o[6]("descriptionParagraph2") + "") && S(g, D), h & /*lang*/
177
+ 1 && B(
178
+ e,
197
179
  "lang",
198
180
  /*lang*/
199
181
  o[0]
200
- ), d & /*translationurl*/
201
- 16 && y(
202
- i,
182
+ ), h & /*translationurl*/
183
+ 16 && B(
184
+ e,
203
185
  "translationurl",
204
186
  /*translationurl*/
205
187
  o[4]
206
- ), d & /*clientstyling*/
207
- 2 && y(
208
- i,
188
+ ), h & /*clientstyling*/
189
+ 2 && B(
190
+ e,
209
191
  "clientstyling",
210
192
  /*clientstyling*/
211
193
  o[1]
212
- ), d & /*clientstylingurl*/
213
- 4 && y(
214
- i,
194
+ ), h & /*clientstylingurl*/
195
+ 4 && B(
196
+ e,
215
197
  "clientstylingurl",
216
198
  /*clientstylingurl*/
217
199
  o[2]
218
- ), d & /*mbsource*/
219
- 8 && y(
220
- i,
200
+ ), h & /*mbsource*/
201
+ 8 && B(
202
+ e,
221
203
  "mbsource",
222
204
  /*mbsource*/
223
205
  o[3]
224
206
  );
225
207
  },
226
- i: T,
227
- o: T,
208
+ i: U,
209
+ o: U,
228
210
  d(o) {
229
- o && z(t), u && u.d(), e[10](null);
211
+ o && z(i), l && l.d(), t[10](null);
230
212
  }
231
213
  };
232
214
  }
233
- function rt(e, t, r) {
234
- let l;
235
- H(e, X, (i) => r(6, l = i));
236
- let { lang: m = "en" } = t, { clientstyling: b = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: p } = t, { translationurl: a = "" } = t, c, g, B = window.navigator.userAgent, v = I(B) !== "PC";
237
- const _ = () => {
238
- fetch(a).then((u) => u.json()).then((u) => {
239
- Object.keys(u).forEach((o) => {
240
- U(o, u[o]);
215
+ function et(t, i, r) {
216
+ let w;
217
+ q(t, Q, (e) => r(6, w = e));
218
+ let { lang: m = "en" } = i, { clientstyling: b = "" } = i, { clientstylingurl: u = "" } = i, { mbsource: p } = i, { translationurl: n = "" } = i, c, f, d = window.navigator.userAgent, v = H(d) !== "PC";
219
+ const P = () => {
220
+ fetch(n).then((l) => l.json()).then((l) => {
221
+ Object.keys(l).forEach((o) => {
222
+ T(o, l[o]);
241
223
  });
242
- }).catch((u) => {
243
- console.log(u);
224
+ }).catch((l) => {
225
+ console.log(l);
244
226
  });
245
227
  };
246
- Object.keys(O).forEach((i) => {
247
- U(i, O[i]);
228
+ Object.keys(Y).forEach((e) => {
229
+ T(e, Y[e]);
248
230
  });
249
- const P = () => {
250
- $(m);
251
- }, h = () => {
231
+ const D = () => {
232
+ X(m);
233
+ }, g = () => {
252
234
  window.postMessage(
253
235
  {
254
236
  type: "PlayerAccountMenuActive",
@@ -257,43 +239,43 @@ function rt(e, t, r) {
257
239
  window.location.href
258
240
  );
259
241
  };
260
- K(() => () => {
242
+ I(() => () => {
261
243
  });
262
- const E = () => h();
263
- function D(i) {
264
- Z[i ? "unshift" : "push"](() => {
265
- c = i, r(5, c);
244
+ const _ = () => g();
245
+ function A(e) {
246
+ V[e ? "unshift" : "push"](() => {
247
+ c = e, r(5, c);
266
248
  });
267
249
  }
268
- return e.$$set = (i) => {
269
- "lang" in i && r(0, m = i.lang), "clientstyling" in i && r(1, b = i.clientstyling), "clientstylingurl" in i && r(2, f = i.clientstylingurl), "mbsource" in i && r(3, p = i.mbsource), "translationurl" in i && r(4, a = i.translationurl);
270
- }, e.$$.update = () => {
271
- e.$$.dirty & /*lang*/
272
- 1 && m && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
273
- 34 && b && c && F(c, b), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
274
- 36 && f && c && G(c, f), e.$$.dirty & /*mbsource, customStylingContainer*/
275
- 40 && p && c && J(c, `${p}.Style`, g), e.$$.dirty & /*translationurl*/
276
- 16 && a && _();
250
+ return t.$$set = (e) => {
251
+ "lang" in e && r(0, m = e.lang), "clientstyling" in e && r(1, b = e.clientstyling), "clientstylingurl" in e && r(2, u = e.clientstylingurl), "mbsource" in e && r(3, p = e.mbsource), "translationurl" in e && r(4, n = e.translationurl);
252
+ }, t.$$.update = () => {
253
+ t.$$.dirty & /*lang*/
254
+ 1 && m && D(), t.$$.dirty & /*clientstyling, customStylingContainer*/
255
+ 34 && b && c && Z(c, b), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
256
+ 36 && u && c && F(c, u), t.$$.dirty & /*mbsource, customStylingContainer*/
257
+ 40 && p && c && G(c, `${p}.Style`, f), t.$$.dirty & /*translationurl*/
258
+ 16 && n && P();
277
259
  }, [
278
260
  m,
279
261
  b,
280
- f,
262
+ u,
281
263
  p,
282
- a,
264
+ n,
283
265
  c,
284
- l,
266
+ w,
285
267
  v,
286
- h,
287
- E,
288
- D
268
+ g,
269
+ _,
270
+ A
289
271
  ];
290
272
  }
291
- class C extends L {
292
- constructor(t) {
273
+ class rt extends L {
274
+ constructor(i) {
293
275
  super(), N(
294
276
  this,
295
- t,
296
- rt,
277
+ i,
278
+ et,
297
279
  it,
298
280
  W,
299
281
  {
@@ -303,46 +285,41 @@ class C extends L {
303
285
  mbsource: 3,
304
286
  translationurl: 4
305
287
  },
306
- tt
288
+ $
307
289
  );
308
290
  }
309
291
  get lang() {
310
292
  return this.$$.ctx[0];
311
293
  }
312
- set lang(t) {
313
- this.$$set({ lang: t }), M();
294
+ set lang(i) {
295
+ this.$$set({ lang: i }), M();
314
296
  }
315
297
  get clientstyling() {
316
298
  return this.$$.ctx[1];
317
299
  }
318
- set clientstyling(t) {
319
- this.$$set({ clientstyling: t }), M();
300
+ set clientstyling(i) {
301
+ this.$$set({ clientstyling: i }), M();
320
302
  }
321
303
  get clientstylingurl() {
322
304
  return this.$$.ctx[2];
323
305
  }
324
- set clientstylingurl(t) {
325
- this.$$set({ clientstylingurl: t }), M();
306
+ set clientstylingurl(i) {
307
+ this.$$set({ clientstylingurl: i }), M();
326
308
  }
327
309
  get mbsource() {
328
310
  return this.$$.ctx[3];
329
311
  }
330
- set mbsource(t) {
331
- this.$$set({ mbsource: t }), M();
312
+ set mbsource(i) {
313
+ this.$$set({ mbsource: i }), M();
332
314
  }
333
315
  get translationurl() {
334
316
  return this.$$.ctx[4];
335
317
  }
336
- set translationurl(t) {
337
- this.$$set({ translationurl: t }), M();
318
+ set translationurl(i) {
319
+ this.$$set({ translationurl: i }), M();
338
320
  }
339
321
  }
340
- Q(C, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
341
- const ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
342
- __proto__: null,
343
- default: C
344
- }, Symbol.toStringTag, { value: "Module" }));
322
+ J(rt, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
345
323
  export {
346
- ot as P,
347
- at as i
324
+ rt as default
348
325
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-CoF8Ufpg.cjs");require("./PlayerProfileInfo-oMqRDNUE.cjs");function P(e,i){t.addMessages(e,i)}function E(e){t.$locale.set(e)}const A={en:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"zh-hk":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},fr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},tr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},ro:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},es:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},pt:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},hr:{titleBiometrics:"Biometrijska autentifikacija",descriptionParagraph1:"Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",descriptionParagraph2:"Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju"},"pt-br":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"es-mx":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"en-us":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"}};function M(e){t.append_styles(e,"svelte-1fepl4m",".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{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:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function k(e){let i,n,h,l,u,m,p,a,s,g,d=e[6]("titleBiometrics")+"",B,y,_;return{c(){i=t.element("div"),n=t.svg_element("svg"),h=t.svg_element("defs"),l=t.svg_element("style"),u=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=t.svg_element("g"),p=t.svg_element("g"),a=t.svg_element("path"),s=t.space(),g=t.element("h2"),B=t.text(d),t.attr(a,"class","aaa"),t.attr(a,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(a,"transform","translate(15 15) rotate(180)"),t.attr(p,"transform","translate(20 158)"),t.attr(m,"transform","translate(-20 -158)"),t.attr(n,"xmlns","http://www.w3.org/2000/svg"),t.attr(n,"width","15"),t.attr(n,"height","15"),t.attr(n,"viewBox","0 0 15 15"),t.attr(g,"class","BiometricsTitleMobile"),t.attr(g,"part","BiometricsTitleMobile"),t.attr(i,"class","MenuReturnButton"),t.attr(i,"part","MenuReturnButton")},m(b,v){t.insert(b,i,v),t.append(i,n),t.append(n,h),t.append(h,l),t.append(l,u),t.append(n,m),t.append(m,p),t.append(p,a),t.append(i,s),t.append(i,g),t.append(g,B),y||(_=t.listen(i,"click",e[9]),y=!0)},p(b,v){v&64&&d!==(d=b[6]("titleBiometrics")+"")&&t.set_data(B,d)},d(b){b&&t.detach(i),y=!1,_()}}}function j(e){let i,n,h,l,u=e[6]("titleBiometrics")+"",m,p,a,s,g=e[6]("descriptionParagraph1")+"",d,B,y,_=e[6]("descriptionParagraph2")+"",b,v,w,r,c=e[7]&&k(e);return{c(){i=t.element("div"),n=t.element("div"),c&&c.c(),h=t.space(),l=t.element("h2"),m=t.text(u),p=t.space(),a=t.element("div"),s=t.element("p"),d=t.text(g),B=t.space(),y=t.element("p"),b=t.text(_),v=t.space(),w=t.element("div"),r=t.element("player-account-biometrics-action"),t.attr(l,"class","BiometricsTitle "+(e[7]?"BiometricsTitleNone":"")),t.attr(a,"class","BiometricsDescription "+(e[7]?"BiometricsDescriptionMobile":"")),t.set_custom_element_data(r,"lang",e[0]),t.set_custom_element_data(r,"translationurl",e[4]),t.set_custom_element_data(r,"clientstyling",e[1]),t.set_custom_element_data(r,"clientstylingurl",e[2]),t.set_custom_element_data(r,"mbsource",e[3]),t.attr(w,"class","BiometricsActionButtons "+(e[7]?"BiometricsActionButtonsMobile":"")),t.attr(n,"class","BiometricsWrapper "+(e[7]?"BiometricsWrapperMobile":""))},m(o,f){t.insert(o,i,f),t.append(i,n),c&&c.m(n,null),t.append(n,h),t.append(n,l),t.append(l,m),t.append(n,p),t.append(n,a),t.append(a,s),t.append(s,d),t.append(a,B),t.append(a,y),t.append(y,b),t.append(n,v),t.append(n,w),t.append(w,r),e[10](i)},p(o,[f]){o[7]&&c.p(o,f),f&64&&u!==(u=o[6]("titleBiometrics")+"")&&t.set_data(m,u),f&64&&g!==(g=o[6]("descriptionParagraph1")+"")&&t.set_data(d,g),f&64&&_!==(_=o[6]("descriptionParagraph2")+"")&&t.set_data(b,_),f&1&&t.set_custom_element_data(r,"lang",o[0]),f&16&&t.set_custom_element_data(r,"translationurl",o[4]),f&2&&t.set_custom_element_data(r,"clientstyling",o[1]),f&4&&t.set_custom_element_data(r,"clientstylingurl",o[2]),f&8&&t.set_custom_element_data(r,"mbsource",o[3])},i:t.noop,o:t.noop,d(o){o&&t.detach(i),c&&c.d(),e[10](null)}}}function S(e,i,n){let h;t.component_subscribe(e,t.$format,r=>n(6,h=r));let{lang:l="en"}=i,{clientstyling:u=""}=i,{clientstylingurl:m=""}=i,{mbsource:p}=i,{translationurl:a=""}=i,s,g,d=window.navigator.userAgent,B=t.getDevice(d)!=="PC";const y=()=>{fetch(a).then(c=>c.json()).then(c=>{Object.keys(c).forEach(o=>{P(o,c[o])})}).catch(c=>{console.log(c)})};Object.keys(A).forEach(r=>{P(r,A[r])});const _=()=>{E(l)},b=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:B},window.location.href)};t.onMount(()=>()=>{});const v=()=>b();function w(r){t.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(5,s)})}return e.$$set=r=>{"lang"in r&&n(0,l=r.lang),"clientstyling"in r&&n(1,u=r.clientstyling),"clientstylingurl"in r&&n(2,m=r.clientstylingurl),"mbsource"in r&&n(3,p=r.mbsource),"translationurl"in r&&n(4,a=r.translationurl)},e.$$.update=()=>{e.$$.dirty&1&&l&&_(),e.$$.dirty&34&&u&&s&&t.setClientStyling(s,u),e.$$.dirty&36&&m&&s&&t.setClientStylingURL(s,m),e.$$.dirty&40&&p&&s&&t.setStreamStyling(s,`${p}.Style`,g),e.$$.dirty&16&&a&&y()},[l,u,m,p,a,s,h,B,b,v,w]}class D extends t.SvelteComponent{constructor(i){super(),t.init(this,i,S,j,t.safe_not_equal,{lang:0,clientstyling:1,clientstylingurl:2,mbsource:3,translationurl:4},M)}get lang(){return this.$$.ctx[0]}set lang(i){this.$$set({lang:i}),t.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(i){this.$$set({mbsource:i}),t.flush()}get translationurl(){return this.$$.ctx[4]}set translationurl(i){this.$$set({translationurl:i}),t.flush()}}t.create_custom_element(D,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=D;
@@ -1 +1 @@
1
- "use strict";var v=(s,e,t)=>new Promise((o,n)=>{var l=b=>{try{a(t.next(b))}catch(d){n(d)}},c=b=>{try{a(t.throw(b))}catch(d){n(d)}},a=b=>b.done?o(b.value):Promise.resolve(b.value).then(l,c);a((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerAccountController-VR4ouVKN.cjs");function U(s,e){i.addMessages(s,e)}function P(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(s,t)),e}function K(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 x(s){let e;function t(l,c){if(l[1]==="button")return G;if(l[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(l,c){i.insert(l,e,c),n&&n.m(e,null),s[17](e)},p(l,c){o===(o=t(l))&&n?n.p(l,c):(n&&n.d(1),n=o&&o(l),n&&(n.c(),n.m(e,null)))},d(l){l&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,l;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[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,a){i.insert(c,e,a),i.append(e,t),n||(l=i.listen(e,"click",s[8]),n=!0)},p(c,a){a&16&&i.toggle_class(t,"checked",c[4]),a&36&&i.toggle_class(t,"disabled",c[5]||c[2]),a&64&&i.toggle_class(t,"shake",c[6]),a&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,l()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,l,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(a,b){i.insert(a,e,b),i.append(e,o),l||(c=i.listen(e,"click",s[16]),l=!0)},p(a,b){b&144&&t!==(t=(a[4]?a[7]("btnDisableBiometrics"):a[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=a[5]||a[2])&&(e.disabled=n)},d(a){a&&i.detach(e),l=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{mbsource:a}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{U(u,r[u])})},R=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const z=()=>{P(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const C=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),C(),A("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),L()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||A("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},L=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},A=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?L():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const j=()=>S();function F(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,l=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,a=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&z(),s.$$.dirty&1032&&l&&m&&i.setClientStyling(m,l),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&a&&m&&i.setStreamStyling(m,`${a}.Style`,I),s.$$.dirty&8192&&b&&R(),s.$$.dirty&45056&&a&&!b&&t(15,h=q(`${a}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,l,c,a,b,B,h,j,F]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}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()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
1
+ "use strict";var v=(s,e,t)=>new Promise((o,n)=>{var l=b=>{try{a(t.next(b))}catch(d){n(d)}},c=b=>{try{a(t.throw(b))}catch(d){n(d)}},a=b=>b.done?o(b.value):Promise.resolve(b.value).then(l,c);a((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerAccountController-CoF8Ufpg.cjs");function U(s,e){i.addMessages(s,e)}function P(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(s,t)),e}function K(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 x(s){let e;function t(l,c){if(l[1]==="button")return G;if(l[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(l,c){i.insert(l,e,c),n&&n.m(e,null),s[17](e)},p(l,c){o===(o=t(l))&&n?n.p(l,c):(n&&n.d(1),n=o&&o(l),n&&(n.c(),n.m(e,null)))},d(l){l&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,l;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[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,a){i.insert(c,e,a),i.append(e,t),n||(l=i.listen(e,"click",s[8]),n=!0)},p(c,a){a&16&&i.toggle_class(t,"checked",c[4]),a&36&&i.toggle_class(t,"disabled",c[5]||c[2]),a&64&&i.toggle_class(t,"shake",c[6]),a&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,l()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,l,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(a,b){i.insert(a,e,b),i.append(e,o),l||(c=i.listen(e,"click",s[16]),l=!0)},p(a,b){b&144&&t!==(t=(a[4]?a[7]("btnDisableBiometrics"):a[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=a[5]||a[2])&&(e.disabled=n)},d(a){a&&i.detach(e),l=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{mbsource:a}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{U(u,r[u])})},R=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const z=()=>{P(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const C=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),C(),A("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),L()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||A("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},L=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},A=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?L():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const j=()=>S();function F(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,l=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,a=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&z(),s.$$.dirty&1032&&l&&m&&i.setClientStyling(m,l),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&a&&m&&i.setStreamStyling(m,`${a}.Style`,I),s.$$.dirty&8192&&b&&R(),s.$$.dirty&45056&&a&&!b&&t(15,h=q(`${a}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,l,c,a,b,B,h,j,F]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}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()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
@@ -14,7 +14,7 @@ var R = (t, e, i) => new Promise((n, s) => {
14
14
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(c, r);
15
15
  a((i = i.apply(t, e)).next());
16
16
  });
17
- import { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as C, d as k, c as E, L as ee, g as ie, o as te, e as w, j as se, t as ne, m as j, w as F, u as oe, r as S, J as h, z as ae, A as re, B as ce, C as le, D as be } from "./PlayerAccountController-BVDle7pw.js";
17
+ import { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as C, d as k, c as E, L as ee, g as ie, o as te, e as w, j as se, t as ne, m as j, w as F, u as oe, r as S, J as h, z as ae, A as re, B as ce, C as le, D as be } from "./PlayerAccountController-DQUfjs7n.js";
18
18
  function me(t, e) {
19
19
  J(t, e);
20
20
  }
@@ -1,4 +1,4 @@
1
- import { a as W, $ as G, S as J, i as Q, s as V, f as u, b as Y, n as R, d as k, e as E, L as Z, h as $, o as ee, g as w, k as ie, u as te, p as C, x as X, v as se, t as S, J as f, B as ne, C as oe, D as ae, c as re, A as ce } from "./PlayerAccountController-Djrm9mkW.js";
1
+ import { a as W, $ as G, S as J, i as Q, s as V, f as u, b as Y, n as R, d as k, e as E, L as Z, h as $, o as ee, g as w, k as ie, u as te, p as C, x as X, v as se, t as S, J as f, B as ne, C as oe, D as ae, c as re, A as ce } from "./PlayerAccountController-OnOGVd86.js";
2
2
  function le(t, e) {
3
3
  W(t, e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, t as F, c as S, m as a, w as N, e as C, p as z, u as B, r as i, g as V, h as G, o as Q, x as E, v as X, j as $, k as ee, l as oe, z as te, A as re, B as ae, C as ne, D as le } from "./PlayerAccountController-BVDle7pw.js";
1
+ import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, t as F, c as S, m as a, w as N, e as C, p as z, u as B, r as i, g as V, h as G, o as Q, x as E, v as X, j as $, k as ee, l as oe, z as te, A as re, B as ae, C as ne, D as le } from "./PlayerAccountController-DQUfjs7n.js";
2
2
  import "../stencil/ui-skeleton-BKpwkQ2A.js";
3
3
  function H(t, e) {
4
4
  Z(t, e);
@@ -1,4 +1,4 @@
1
- import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, u as F, e as S, p as a, x as N, g as C, q as z, v as B, t as i, h as V, j as G, o as Q, y as E, w as X, k as $, l as ee, m as oe, B as te, C as re, D as ae, c as ne, A as le } from "./PlayerAccountController-Djrm9mkW.js";
1
+ import { a as Z, $ as P, S as Y, i as U, s as J, f as j, b as K, n as T, d as D, u as F, e as S, p as a, x as N, g as C, q as z, v as B, t as i, h as V, j as G, o as Q, y as E, w as X, k as $, l as ee, m as oe, B as te, C as re, D as ae, c as ne, A as le } from "./PlayerAccountController-OnOGVd86.js";
2
2
  import "../stencil/ui-skeleton-DNuG5l9W.js";
3
3
  function H(t, e) {
4
4
  Z(t, e);