@everymatrix/player-account-controller 1.87.20 → 1.87.22

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 (93) hide show
  1. package/components/{GeneralLogout-B7wytw3i.js → GeneralLogout-0J1RtGyR.js} +6 -6
  2. package/components/{GeneralLogout-CCZ-t51N.js → GeneralLogout-CwcvAxfM.js} +6 -6
  3. package/components/{PlayerAccountBettingHistory-D0wawg3E.js → PlayerAccountBettingHistory-CiMelnLz.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-BKPLzWjG.js → PlayerAccountBettingHistory-Cr9hPDou.js} +1 -1
  5. package/components/PlayerAccountBiometrics-Cu1scn1a.js +348 -0
  6. package/components/PlayerAccountBiometrics-j15j-n3y.cjs +1 -0
  7. package/components/PlayerAccountBiometrics-kmv4HqQ_.js +348 -0
  8. package/components/PlayerAccountBiometricsAction-BJrkhDoI.js +403 -0
  9. package/components/PlayerAccountBiometricsAction-BcR2gS30.js +386 -0
  10. package/components/PlayerAccountBiometricsAction-z16q0M2J.cjs +1 -0
  11. package/components/{PlayerAccountClosure-DvW4enyZ.js → PlayerAccountClosure-B7lWhxS5.js} +1 -1
  12. package/components/{PlayerAccountClosure-CMUn4wJp.js → PlayerAccountClosure-DWX0cAW_.js} +1 -1
  13. package/components/PlayerAccountController-BiAj9qh2.cjs +1 -0
  14. package/components/{PlayerAccountController-BfQuilYf.js → PlayerAccountController-D2ngPpjA.js} +24 -24
  15. package/components/{PlayerAccountController-C_Dk8gB_.js → PlayerAccountController-DxfFVPyN.js} +24 -24
  16. package/components/{PlayerAccountGamingLimits-CklbTGD-.js → PlayerAccountGamingLimits-DNqahHsA.js} +2 -2
  17. package/components/{PlayerAccountGamingLimits-mpFmmTOS.js → PlayerAccountGamingLimits-DuDCpH1C.js} +2 -2
  18. package/components/{PlayerAccountGamingLimitsConfirmationModal-BiWWkcfB.js → PlayerAccountGamingLimitsConfirmationModal-De_w7-UU.js} +1 -1
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-HnZK1KNZ.js → PlayerAccountGamingLimitsConfirmationModal-DfJgQjRr.js} +1 -1
  20. package/components/{PlayerAccountGamingLimitsGroupEdit-D4mY92Oz.js → PlayerAccountGamingLimitsGroupEdit-2iDWNhRl.js} +4 -4
  21. package/components/{PlayerAccountGamingLimitsGroupEdit-DBQ3mbbn.js → PlayerAccountGamingLimitsGroupEdit-CsTpmmhw.js} +4 -4
  22. package/components/{PlayerAccountGamingLimitsHistory2-B3tBWMqJ.js → PlayerAccountGamingLimitsHistory2-BN0w14Hg.js} +15 -15
  23. package/components/{PlayerAccountGamingLimitsHistory2-msy9-7Hj.js → PlayerAccountGamingLimitsHistory2-D1N2rg25.js} +15 -15
  24. package/components/{PlayerAccountGamingLimitsInfoCard-DuUOKvMO.js → PlayerAccountGamingLimitsInfoCard-B6oHRJP6.js} +34 -34
  25. package/components/{PlayerAccountGamingLimitsInfoCard-BdXyqbVP.js → PlayerAccountGamingLimitsInfoCard-D_ro79gB.js} +34 -34
  26. package/components/{PlayerAccountGamingLimitsPage2Gm16-CfzYBBqB.js → PlayerAccountGamingLimitsPage2Gm16-BTBGuybw.js} +53 -53
  27. package/components/{PlayerAccountGamingLimitsPage2Gm16-Da5wOtfX.js → PlayerAccountGamingLimitsPage2Gm16-DR1vKR63.js} +54 -54
  28. package/components/{PlayerAccountGamingLimitsPopup-BeeT7ZxG.js → PlayerAccountGamingLimitsPopup-9casCGHJ.js} +5 -5
  29. package/components/{PlayerAccountGamingLimitsPopup-Qnh_LotJ.js → PlayerAccountGamingLimitsPopup-DhlQaawG.js} +5 -5
  30. package/components/{PlayerAccountGamingLimitsWrapper2-B5mzoX05.js → PlayerAccountGamingLimitsWrapper2-DRpLzl8S.js} +3 -3
  31. package/components/{PlayerAccountGamingLimitsWrapper2-S44rmcAR.js → PlayerAccountGamingLimitsWrapper2-p9PPOiaH.js} +3 -3
  32. package/components/{PlayerAccountGeneralConfirmationModal-Cync35ll.js → PlayerAccountGeneralConfirmationModal-BIStQzTL.js} +1 -1
  33. package/components/{PlayerAccountGeneralConfirmationModal-Sy253bQi.js → PlayerAccountGeneralConfirmationModal-DAUZlQfJ.js} +1 -1
  34. package/components/{PlayerAccountMenu-C-ScLXnR.js → PlayerAccountMenu-OqVmttiI.js} +2 -2
  35. package/components/{PlayerAccountMenu-eEUhDU6D.js → PlayerAccountMenu-khqZEoBc.js} +2 -2
  36. package/components/{PlayerAccountModal-CH0OzrVe.js → PlayerAccountModal-BXez3U77.js} +5 -5
  37. package/components/{PlayerAccountModal-ERzJg1Jt.js → PlayerAccountModal-NUSkSmow.js} +5 -5
  38. package/components/{PlayerAccountNotifications-3AAnjfJ_.js → PlayerAccountNotifications-0v1ghF-m.js} +5 -5
  39. package/components/{PlayerAccountNotifications-D9jD4K09.js → PlayerAccountNotifications-XjCLekPR.js} +5 -5
  40. package/components/{PlayerAccountProductRestriction-DWjdmOFI.js → PlayerAccountProductRestriction-Dl552qim.js} +3 -3
  41. package/components/{PlayerAccountProductRestriction-D5TZl8TF.js → PlayerAccountProductRestriction-THYKSRMa.js} +3 -3
  42. package/components/{PlayerAccountReviewFrequency-DyJDps3d.js → PlayerAccountReviewFrequency-ByPlOg40.js} +1 -1
  43. package/components/{PlayerAccountReviewFrequency-CrArCM_3.js → PlayerAccountReviewFrequency-yLwAfHZd.js} +1 -1
  44. package/components/{PlayerAccountSelfExclusion-CySbO2r9.js → PlayerAccountSelfExclusion-0IraJUCF.js} +3 -3
  45. package/components/{PlayerAccountSelfExclusion-CXSti58w.js → PlayerAccountSelfExclusion-B9QFixvG.js} +3 -3
  46. package/components/{PlayerAccountTimeout-C_tKIEV0.js → PlayerAccountTimeout-BVyjYoqw.js} +4 -4
  47. package/components/{PlayerAccountTimeout-DWA72hqV.js → PlayerAccountTimeout-CkMUko7-.js} +4 -4
  48. package/components/{PlayerAccountTransactionsHistory-CWue8W7t.js → PlayerAccountTransactionsHistory-C4dSIP6l.js} +3 -3
  49. package/components/{PlayerAccountTransactionsHistory-BYX2ypA5.js → PlayerAccountTransactionsHistory-CAFUIFUl.js} +3 -3
  50. package/components/{PlayerActiveBonuses-BDme9SNL.js → PlayerActiveBonuses-BQSKxH9G.js} +2 -2
  51. package/components/{PlayerActiveBonuses-D14q9Lq7.js → PlayerActiveBonuses-DSpez0EN.js} +2 -2
  52. package/components/{PlayerBonusCard-BrPXJISl.js → PlayerBonusCard--2t2lX4X.js} +2 -2
  53. package/components/{PlayerBonusCard-Lska2BfL.js → PlayerBonusCard-D4jw0D02.js} +2 -2
  54. package/components/{PlayerBonusHistory-Dw0IzpdC.js → PlayerBonusHistory-BbO5bAQY.js} +4 -4
  55. package/components/{PlayerBonusHistory-D8dTdXD3.js → PlayerBonusHistory-C6ZPMR2L.js} +4 -4
  56. package/components/{PlayerChangePassword-MZn0FPpH.js → PlayerChangePassword-CK9EmNEl.js} +1 -1
  57. package/components/{PlayerChangePassword-BWDcQTeK.js → PlayerChangePassword-DDqLNG5r.js} +1 -1
  58. package/components/{PlayerDeposit-C92ti35C.js → PlayerDeposit-B0xGf2EY.js} +1 -1
  59. package/components/{PlayerDeposit-CxXgHXZN.js → PlayerDeposit-BiOuprGV.js} +1 -1
  60. package/components/{PlayerGamingHistory-D3DfJ0iq.js → PlayerGamingHistory-CDPSEyVI.js} +4 -4
  61. package/components/{PlayerGamingHistory-iAUjv5w2.js → PlayerGamingHistory-CJn-wybc.js} +4 -4
  62. package/components/{PlayerPendingWithdrawals-CIqj4rw5.js → PlayerPendingWithdrawals-Cw2CONsa.js} +1 -1
  63. package/components/{PlayerPendingWithdrawals-Cr3Bb8fp.js → PlayerPendingWithdrawals-DKIV0VFt.js} +1 -1
  64. package/components/{PlayerProfileInfo-DsxKyHAZ.js → PlayerProfileInfo-B2PmsKAI.js} +1325 -1173
  65. package/components/{PlayerProfileInfo-BT3pxCnt.js → PlayerProfileInfo-YrTsyEfP.js} +1359 -1206
  66. package/components/PlayerProfileInfo-wZEXXCWQ.cjs +4 -0
  67. package/components/{PlayerRealityCheck-ewNYbcWX.js → PlayerRealityCheck-BdFZDJFk.js} +8 -8
  68. package/components/{PlayerRealityCheck-JgLIeGQ-.js → PlayerRealityCheck-CEToSHcC.js} +8 -8
  69. package/components/{PlayerTransactionHistory-C6G_L9Xi.js → PlayerTransactionHistory-BWwWT8z7.js} +1 -1
  70. package/components/{PlayerTransactionHistory-zG-97Crt.js → PlayerTransactionHistory-C8uedDZz.js} +1 -1
  71. package/components/{PlayerWithdrawal-Cr2PACnM.js → PlayerWithdrawal-BXYWP9OV.js} +1 -1
  72. package/components/{PlayerWithdrawal-DkY29uqD.js → PlayerWithdrawal-DuhBS0tB.js} +1 -1
  73. package/es2015/player-account-controller.cjs +1 -1
  74. package/es2015/player-account-controller.js +1 -1
  75. package/esnext/player-account-controller.js +1 -1
  76. package/package.json +1 -1
  77. package/stencil/{checkbox-group-input_16-6f3QrnpC.js → checkbox-group-input_16-958vEQz6.js} +4 -4
  78. package/stencil/{checkbox-group-input_16-Dc_U5bRn.cjs → checkbox-group-input_16-CnSEKvUp.cjs} +2 -2
  79. package/stencil/{checkbox-group-input_16-cypbwaKM.js → checkbox-group-input_16-Cw7SqTHE.js} +4 -4
  80. package/stencil/{index-c666b6e6-h5yqXS4O.js → index-c666b6e6-BDuZr3iP.js} +1 -1
  81. package/stencil/{index-c666b6e6-BZD5ryGA.cjs → index-c666b6e6-C-BeL26z.cjs} +1 -1
  82. package/stencil/{index-c666b6e6-D1_BSpjs.js → index-c666b6e6-DgALrMSn.js} +1 -1
  83. package/stencil/{pam-change-password-6b535bd5-DjrceNqR.cjs → pam-change-password-6b535bd5-BWg4QFDq.cjs} +1 -1
  84. package/stencil/{pam-change-password-6b535bd5-oB7Z1mAt.js → pam-change-password-6b535bd5-DKUI6UED.js} +1 -1
  85. package/stencil/{pam-change-password-6b535bd5-Ctk5wAb-.js → pam-change-password-6b535bd5-Tq5K6iDN.js} +1 -1
  86. package/stencil/{pam-change-password-BQHmyAwK.cjs → pam-change-password-Cy20mj_z.cjs} +1 -1
  87. package/stencil/{pam-change-password-u-EOzh0I.js → pam-change-password-DHk8LAhq.js} +1 -1
  88. package/stencil/{pam-change-password-CMhMlGej.js → pam-change-password-GxAyviRa.js} +1 -1
  89. package/components/PlayerAccountBiometrics-BwwuNFd7.js +0 -306
  90. package/components/PlayerAccountBiometrics-CqZ92UWP.cjs +0 -1
  91. package/components/PlayerAccountBiometrics-DQqhVOLe.js +0 -306
  92. package/components/PlayerAccountController-CxtN8yw6.cjs +0 -1
  93. package/components/PlayerProfileInfo-jxduD7Y_.cjs +0 -4
@@ -0,0 +1,403 @@
1
+ var O = (i, e, t) => new Promise((r, s) => {
2
+ var n = (c) => {
3
+ try {
4
+ l(t.next(c));
5
+ } catch (u) {
6
+ s(u);
7
+ }
8
+ }, o = (c) => {
9
+ try {
10
+ l(t.throw(c));
11
+ } catch (u) {
12
+ s(u);
13
+ }
14
+ }, l = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(n, o);
15
+ l((t = t.apply(i, e)).next());
16
+ });
17
+ import { a as q, $ as K, S as G, i as W, s as F, f, b as J, n as z, d as w, h as B, C as Q, p as V, u as Y, k as y, w as Z, c as $, j as R, l as C, t as ee, e as D, o as p, x as te, y as ie, z as se, A as re, B as ne } from "./GeneralLogout-0J1RtGyR.js";
18
+ function oe(i, e) {
19
+ q(i, e);
20
+ }
21
+ function ae(i) {
22
+ K.set(i);
23
+ }
24
+ const le = {
25
+ en: {
26
+ btnEnableBiometrics: "Enable biometrics",
27
+ btnDisableBiometrics: "Disable biometrics",
28
+ errorMessage: "Biometrics update failed"
29
+ },
30
+ "zh-hk": {
31
+ btnEnableBiometrics: "Enable biometrics",
32
+ btnDisableBiometrics: "Disable biometrics",
33
+ errorMessage: "Biometrics update failed"
34
+ },
35
+ fr: {
36
+ btnEnableBiometrics: "Enable biometrics",
37
+ btnDisableBiometrics: "Disable biometrics",
38
+ errorMessage: "Biometrics update failed"
39
+ },
40
+ tr: {
41
+ btnEnableBiometrics: "Enable biometrics",
42
+ btnDisableBiometrics: "Disable biometrics",
43
+ errorMessage: "Biometrics update failed"
44
+ },
45
+ ro: {
46
+ btnEnableBiometrics: "Enable biometrics",
47
+ btnDisableBiometrics: "Disable biometrics",
48
+ errorMessage: "Biometrics update failed"
49
+ },
50
+ es: {
51
+ btnEnableBiometrics: "Enable biometrics",
52
+ btnDisableBiometrics: "Disable biometrics",
53
+ errorMessage: "Biometrics update failed"
54
+ },
55
+ pt: {
56
+ btnEnableBiometrics: "Enable biometrics",
57
+ btnDisableBiometrics: "Disable biometrics",
58
+ errorMessage: "Biometrics update failed"
59
+ },
60
+ hr: {
61
+ btnEnableBiometrics: "Omogući biometriju",
62
+ btnDisableBiometrics: "Onemogući biometriju",
63
+ errorMessage: "Biometrics update failed"
64
+ },
65
+ "pt-br": {
66
+ btnEnableBiometrics: "Enable biometrics",
67
+ btnDisableBiometrics: "Disable biometrics",
68
+ errorMessage: "Biometrics update failed"
69
+ },
70
+ "es-mx": {
71
+ btnEnableBiometrics: "Enable biometrics",
72
+ btnDisableBiometrics: "Disable biometrics",
73
+ errorMessage: "Biometrics update failed"
74
+ },
75
+ "en-us": {
76
+ btnEnableBiometrics: "Enable biometrics",
77
+ btnDisableBiometrics: "Disable biometrics",
78
+ errorMessage: "Biometrics update failed"
79
+ }
80
+ };
81
+ function ce(i, e, t) {
82
+ return window.emMessageBus && (e = window.emMessageBus.subscribe(i, t)), e;
83
+ }
84
+ function be(i) {
85
+ J(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}');
86
+ }
87
+ function I(i) {
88
+ let e;
89
+ function t(n, o) {
90
+ if (
91
+ /*mode*/
92
+ n[1] === "button"
93
+ )
94
+ return ue;
95
+ if (
96
+ /*mode*/
97
+ n[1] === "switch"
98
+ )
99
+ return me;
100
+ }
101
+ let r = t(i), s = r && r(i);
102
+ return {
103
+ c() {
104
+ e = y("div"), s && s.c();
105
+ },
106
+ m(n, o) {
107
+ B(n, e, o), s && s.m(e, null), i[15](e);
108
+ },
109
+ p(n, o) {
110
+ r === (r = t(n)) && s ? s.p(n, o) : (s && s.d(1), s = r && r(n), s && (s.c(), s.m(e, null)));
111
+ },
112
+ d(n) {
113
+ n && w(e), s && s.d(), i[15](null);
114
+ }
115
+ };
116
+ }
117
+ function me(i) {
118
+ let e, t, r, s;
119
+ return {
120
+ c() {
121
+ 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"), p(
122
+ t,
123
+ "checked",
124
+ /*biometricsEnabled*/
125
+ i[3]
126
+ ), p(
127
+ t,
128
+ "disabled",
129
+ /*isUpdatingBiometrics*/
130
+ i[4]
131
+ ), p(
132
+ t,
133
+ "shake",
134
+ /*shake*/
135
+ i[5]
136
+ ), D(e, "class", "toggle-content"), e.disabled = /*isUpdatingBiometrics*/
137
+ i[4];
138
+ },
139
+ m(n, o) {
140
+ B(n, e, o), R(e, t), r || (s = C(
141
+ e,
142
+ "click",
143
+ /*toggleBiometrics*/
144
+ i[7]
145
+ ), r = !0);
146
+ },
147
+ p(n, o) {
148
+ o & /*biometricsEnabled*/
149
+ 8 && p(
150
+ t,
151
+ "checked",
152
+ /*biometricsEnabled*/
153
+ n[3]
154
+ ), o & /*isUpdatingBiometrics*/
155
+ 16 && p(
156
+ t,
157
+ "disabled",
158
+ /*isUpdatingBiometrics*/
159
+ n[4]
160
+ ), o & /*shake*/
161
+ 32 && p(
162
+ t,
163
+ "shake",
164
+ /*shake*/
165
+ n[5]
166
+ ), o & /*isUpdatingBiometrics*/
167
+ 16 && (e.disabled = /*isUpdatingBiometrics*/
168
+ n[4]);
169
+ },
170
+ d(n) {
171
+ n && w(e), r = !1, s();
172
+ }
173
+ };
174
+ }
175
+ function ue(i) {
176
+ let e, t = (
177
+ /*biometricsEnabled*/
178
+ (i[3] ? (
179
+ /*$_*/
180
+ i[6]("btnDisableBiometrics")
181
+ ) : (
182
+ /*$_*/
183
+ i[6]("btnEnableBiometrics")
184
+ )) + ""
185
+ ), r, s, n;
186
+ return {
187
+ c() {
188
+ e = y("button"), r = ee(t), D(e, "class", "BiometricsToggle"), e.disabled = /*isUpdatingBiometrics*/
189
+ i[4];
190
+ },
191
+ m(o, l) {
192
+ B(o, e, l), R(e, r), s || (n = C(
193
+ e,
194
+ "click",
195
+ /*click_handler*/
196
+ i[14]
197
+ ), s = !0);
198
+ },
199
+ p(o, l) {
200
+ l & /*biometricsEnabled, $_*/
201
+ 72 && t !== (t = /*biometricsEnabled*/
202
+ (o[3] ? (
203
+ /*$_*/
204
+ o[6]("btnDisableBiometrics")
205
+ ) : (
206
+ /*$_*/
207
+ o[6]("btnEnableBiometrics")
208
+ )) + "") && $(r, t), l & /*isUpdatingBiometrics*/
209
+ 16 && (e.disabled = /*isUpdatingBiometrics*/
210
+ o[4]);
211
+ },
212
+ d(o) {
213
+ o && w(e), s = !1, n();
214
+ }
215
+ };
216
+ }
217
+ function de(i) {
218
+ let e, t = (
219
+ /*isNativeApp*/
220
+ i[0] && I(i)
221
+ );
222
+ return {
223
+ c() {
224
+ t && t.c(), e = Q();
225
+ },
226
+ m(r, s) {
227
+ t && t.m(r, s), B(r, e, s);
228
+ },
229
+ p(r, [s]) {
230
+ /*isNativeApp*/
231
+ r[0] ? t ? t.p(r, s) : (t = I(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
232
+ },
233
+ i: z,
234
+ o: z,
235
+ d(r) {
236
+ r && w(e), t && t.d(r);
237
+ }
238
+ };
239
+ }
240
+ function fe(i, e, t) {
241
+ let r;
242
+ V(i, ne, (a) => t(6, r = a));
243
+ let { lang: s = "en" } = e, { clientstyling: n = "" } = e, { clientstylingurl: o = "" } = e, { mbsource: l } = e, { translationurl: c = "" } = e, { isNativeApp: u = !1 } = e, { mode: M = "button" } = e, m, h, d = null, k = !1, g = !1;
244
+ const E = (a) => {
245
+ Object.keys(a).forEach((b) => {
246
+ oe(b, a[b]);
247
+ });
248
+ }, X = () => {
249
+ fetch(c).then((b) => b.json()).then((b) => {
250
+ E(b);
251
+ }).catch((b) => {
252
+ console.log(b);
253
+ });
254
+ };
255
+ E(le);
256
+ const j = () => {
257
+ ae(s);
258
+ }, S = {
259
+ BIOMETRICS_RESPONSE: 3e3,
260
+ SHAKE_DURATION: 500
261
+ };
262
+ let _ = !1;
263
+ const L = () => {
264
+ t(5, _ = !0), setTimeout(
265
+ () => {
266
+ t(5, _ = !1);
267
+ },
268
+ S.SHAKE_DURATION
269
+ );
270
+ }, T = () => {
271
+ d && clearTimeout(d), d = setTimeout(
272
+ () => {
273
+ t(4, g = !1), L(), window.postMessage(
274
+ {
275
+ type: "WidgetNotification",
276
+ data: {
277
+ type: "error",
278
+ message: r("errorMessage")
279
+ }
280
+ },
281
+ window.location.href
282
+ );
283
+ },
284
+ S.BIOMETRICS_RESPONSE
285
+ );
286
+ }, x = () => O(this, null, function* () {
287
+ g || (t(4, g = !0), window.postMessage({
288
+ type: "ToggleBiometrics",
289
+ data: `${!k}`
290
+ }), T());
291
+ }), A = (a) => {
292
+ var b, v;
293
+ ((b = a.data) == null ? void 0 : b.type) === "NativeAppReady" && (t(0, u = !0), N()), ((v = a.data) == null ? void 0 : v.type) === "BiometricsStatus" && (t(3, k = a.data.status || !1), t(4, g = !1), d && (clearTimeout(d), d = null));
294
+ }, N = () => {
295
+ t(4, g = !0), window.postMessage({ type: "GetBiometricsStatus" }), T();
296
+ }, U = () => {
297
+ window.postMessage({ type: "CheckNativeApp" });
298
+ };
299
+ Y(() => (window.addEventListener("message", A), u === !0 ? N() : U(), () => {
300
+ window.removeEventListener("message", A), h && h.unsubscribe(), d && clearTimeout(d);
301
+ }));
302
+ const H = () => x();
303
+ function P(a) {
304
+ Z[a ? "unshift" : "push"](() => {
305
+ m = a, t(2, m);
306
+ });
307
+ }
308
+ return i.$$set = (a) => {
309
+ "lang" in a && t(8, s = a.lang), "clientstyling" in a && t(9, n = a.clientstyling), "clientstylingurl" in a && t(10, o = a.clientstylingurl), "mbsource" in a && t(11, l = a.mbsource), "translationurl" in a && t(12, c = a.translationurl), "isNativeApp" in a && t(0, u = a.isNativeApp), "mode" in a && t(1, M = a.mode);
310
+ }, i.$$.update = () => {
311
+ i.$$.dirty & /*lang*/
312
+ 256 && s && j(), i.$$.dirty & /*clientstyling, customStylingContainer*/
313
+ 516 && n && m && te(m, n), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
314
+ 1028 && o && m && ie(m, o), i.$$.dirty & /*mbsource, customStylingContainer*/
315
+ 2052 && l && m && se(m, `${l}.Style`), i.$$.dirty & /*translationurl*/
316
+ 4096 && c && X(), i.$$.dirty & /*mbsource, translationurl, translationSubscription*/
317
+ 14336 && l && !c && t(13, h = ce(`${l}.Translation`, h, E));
318
+ }, [
319
+ u,
320
+ M,
321
+ m,
322
+ k,
323
+ g,
324
+ _,
325
+ r,
326
+ x,
327
+ s,
328
+ n,
329
+ o,
330
+ l,
331
+ c,
332
+ h,
333
+ H,
334
+ P
335
+ ];
336
+ }
337
+ class ge extends G {
338
+ constructor(e) {
339
+ super(), W(
340
+ this,
341
+ e,
342
+ fe,
343
+ de,
344
+ F,
345
+ {
346
+ lang: 8,
347
+ clientstyling: 9,
348
+ clientstylingurl: 10,
349
+ mbsource: 11,
350
+ translationurl: 12,
351
+ isNativeApp: 0,
352
+ mode: 1
353
+ },
354
+ be
355
+ );
356
+ }
357
+ get lang() {
358
+ return this.$$.ctx[8];
359
+ }
360
+ set lang(e) {
361
+ this.$$set({ lang: e }), f();
362
+ }
363
+ get clientstyling() {
364
+ return this.$$.ctx[9];
365
+ }
366
+ set clientstyling(e) {
367
+ this.$$set({ clientstyling: e }), f();
368
+ }
369
+ get clientstylingurl() {
370
+ return this.$$.ctx[10];
371
+ }
372
+ set clientstylingurl(e) {
373
+ this.$$set({ clientstylingurl: e }), f();
374
+ }
375
+ get mbsource() {
376
+ return this.$$.ctx[11];
377
+ }
378
+ set mbsource(e) {
379
+ this.$$set({ mbsource: e }), f();
380
+ }
381
+ get translationurl() {
382
+ return this.$$.ctx[12];
383
+ }
384
+ set translationurl(e) {
385
+ this.$$set({ translationurl: e }), f();
386
+ }
387
+ get isNativeApp() {
388
+ return this.$$.ctx[0];
389
+ }
390
+ set isNativeApp(e) {
391
+ this.$$set({ isNativeApp: e }), f();
392
+ }
393
+ get mode() {
394
+ return this.$$.ctx[1];
395
+ }
396
+ set mode(e) {
397
+ this.$$set({ mode: e }), f();
398
+ }
399
+ }
400
+ re(ge, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, isNativeApp: { type: "Boolean" }, mode: {} }, [], [], !0);
401
+ export {
402
+ ge as default
403
+ };