@everymatrix/player-account-controller 1.87.19 → 1.87.21
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.
- package/components/{GeneralLogout-B7wytw3i.js → GeneralLogout-0J1RtGyR.js} +6 -6
- package/components/{GeneralLogout-CCZ-t51N.js → GeneralLogout-CwcvAxfM.js} +6 -6
- package/components/{PlayerAccountBettingHistory-D0wawg3E.js → PlayerAccountBettingHistory-CiMelnLz.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BKPLzWjG.js → PlayerAccountBettingHistory-Cr9hPDou.js} +1 -1
- package/components/PlayerAccountBiometrics-Cu1scn1a.js +348 -0
- package/components/PlayerAccountBiometrics-j15j-n3y.cjs +1 -0
- package/components/PlayerAccountBiometrics-kmv4HqQ_.js +348 -0
- package/components/PlayerAccountBiometricsAction-BJrkhDoI.js +403 -0
- package/components/PlayerAccountBiometricsAction-BcR2gS30.js +386 -0
- package/components/PlayerAccountBiometricsAction-z16q0M2J.cjs +1 -0
- package/components/{PlayerAccountClosure-DvW4enyZ.js → PlayerAccountClosure-B7lWhxS5.js} +1 -1
- package/components/{PlayerAccountClosure-CMUn4wJp.js → PlayerAccountClosure-DWX0cAW_.js} +1 -1
- package/components/{PlayerAccountController-C_Dk8gB_.js → PlayerAccountController-66cQ6w-G.js} +23 -23
- package/components/PlayerAccountController-DFz4kY5R.cjs +1 -0
- package/components/{PlayerAccountController-BfQuilYf.js → PlayerAccountController-W7-MTLUM.js} +23 -23
- package/components/{PlayerAccountGamingLimits-CklbTGD-.js → PlayerAccountGamingLimits-DNqahHsA.js} +2 -2
- package/components/{PlayerAccountGamingLimits-mpFmmTOS.js → PlayerAccountGamingLimits-DuDCpH1C.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BiWWkcfB.js → PlayerAccountGamingLimitsConfirmationModal-De_w7-UU.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-HnZK1KNZ.js → PlayerAccountGamingLimitsConfirmationModal-DfJgQjRr.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-D4mY92Oz.js → PlayerAccountGamingLimitsGroupEdit-2iDWNhRl.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-DBQ3mbbn.js → PlayerAccountGamingLimitsGroupEdit-CsTpmmhw.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-B3tBWMqJ.js → PlayerAccountGamingLimitsHistory2-BN0w14Hg.js} +15 -15
- package/components/{PlayerAccountGamingLimitsHistory2-msy9-7Hj.js → PlayerAccountGamingLimitsHistory2-D1N2rg25.js} +15 -15
- package/components/{PlayerAccountGamingLimitsInfoCard-DuUOKvMO.js → PlayerAccountGamingLimitsInfoCard-B6oHRJP6.js} +34 -34
- package/components/{PlayerAccountGamingLimitsInfoCard-BdXyqbVP.js → PlayerAccountGamingLimitsInfoCard-D_ro79gB.js} +34 -34
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CfzYBBqB.js → PlayerAccountGamingLimitsPage2Gm16-BTBGuybw.js} +53 -53
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Da5wOtfX.js → PlayerAccountGamingLimitsPage2Gm16-DR1vKR63.js} +54 -54
- package/components/{PlayerAccountGamingLimitsPopup-BeeT7ZxG.js → PlayerAccountGamingLimitsPopup-9casCGHJ.js} +5 -5
- package/components/{PlayerAccountGamingLimitsPopup-Qnh_LotJ.js → PlayerAccountGamingLimitsPopup-DhlQaawG.js} +5 -5
- package/components/{PlayerAccountGamingLimitsWrapper2-B5mzoX05.js → PlayerAccountGamingLimitsWrapper2-DRpLzl8S.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-S44rmcAR.js → PlayerAccountGamingLimitsWrapper2-p9PPOiaH.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-Cync35ll.js → PlayerAccountGeneralConfirmationModal-BIStQzTL.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Sy253bQi.js → PlayerAccountGeneralConfirmationModal-DAUZlQfJ.js} +1 -1
- package/components/{PlayerAccountMenu-C-ScLXnR.js → PlayerAccountMenu-OqVmttiI.js} +2 -2
- package/components/{PlayerAccountMenu-eEUhDU6D.js → PlayerAccountMenu-khqZEoBc.js} +2 -2
- package/components/{PlayerAccountModal-CH0OzrVe.js → PlayerAccountModal-BXez3U77.js} +5 -5
- package/components/{PlayerAccountModal-ERzJg1Jt.js → PlayerAccountModal-NUSkSmow.js} +5 -5
- package/components/{PlayerAccountNotifications-3AAnjfJ_.js → PlayerAccountNotifications-0v1ghF-m.js} +5 -5
- package/components/{PlayerAccountNotifications-D9jD4K09.js → PlayerAccountNotifications-XjCLekPR.js} +5 -5
- package/components/{PlayerAccountProductRestriction-DWjdmOFI.js → PlayerAccountProductRestriction-Dl552qim.js} +3 -3
- package/components/{PlayerAccountProductRestriction-D5TZl8TF.js → PlayerAccountProductRestriction-THYKSRMa.js} +3 -3
- package/components/{PlayerAccountReviewFrequency-DyJDps3d.js → PlayerAccountReviewFrequency-ByPlOg40.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-CrArCM_3.js → PlayerAccountReviewFrequency-yLwAfHZd.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-CySbO2r9.js → PlayerAccountSelfExclusion-0IraJUCF.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-CXSti58w.js → PlayerAccountSelfExclusion-B9QFixvG.js} +3 -3
- package/components/{PlayerAccountTimeout-C_tKIEV0.js → PlayerAccountTimeout-BVyjYoqw.js} +4 -4
- package/components/{PlayerAccountTimeout-DWA72hqV.js → PlayerAccountTimeout-CkMUko7-.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-CWue8W7t.js → PlayerAccountTransactionsHistory-C4dSIP6l.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BYX2ypA5.js → PlayerAccountTransactionsHistory-CAFUIFUl.js} +3 -3
- package/components/{PlayerActiveBonuses-BDme9SNL.js → PlayerActiveBonuses-BQSKxH9G.js} +2 -2
- package/components/{PlayerActiveBonuses-D14q9Lq7.js → PlayerActiveBonuses-DSpez0EN.js} +2 -2
- package/components/{PlayerBonusCard-BrPXJISl.js → PlayerBonusCard--2t2lX4X.js} +2 -2
- package/components/{PlayerBonusCard-Lska2BfL.js → PlayerBonusCard-D4jw0D02.js} +2 -2
- package/components/{PlayerBonusHistory-Dw0IzpdC.js → PlayerBonusHistory-BbO5bAQY.js} +4 -4
- package/components/{PlayerBonusHistory-D8dTdXD3.js → PlayerBonusHistory-C6ZPMR2L.js} +4 -4
- package/components/{PlayerChangePassword-MZn0FPpH.js → PlayerChangePassword-CK9EmNEl.js} +1 -1
- package/components/{PlayerChangePassword-BWDcQTeK.js → PlayerChangePassword-DDqLNG5r.js} +1 -1
- package/components/{PlayerDeposit-C92ti35C.js → PlayerDeposit-B0xGf2EY.js} +1 -1
- package/components/{PlayerDeposit-CxXgHXZN.js → PlayerDeposit-BiOuprGV.js} +1 -1
- package/components/{PlayerGamingHistory-D3DfJ0iq.js → PlayerGamingHistory-CDPSEyVI.js} +4 -4
- package/components/{PlayerGamingHistory-iAUjv5w2.js → PlayerGamingHistory-CJn-wybc.js} +4 -4
- package/components/{PlayerPendingWithdrawals-CIqj4rw5.js → PlayerPendingWithdrawals-Cw2CONsa.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Cr3Bb8fp.js → PlayerPendingWithdrawals-DKIV0VFt.js} +1 -1
- package/components/{PlayerProfileInfo-DsxKyHAZ.js → PlayerProfileInfo-B2PmsKAI.js} +1325 -1173
- package/components/{PlayerProfileInfo-BT3pxCnt.js → PlayerProfileInfo-YrTsyEfP.js} +1359 -1206
- package/components/PlayerProfileInfo-wZEXXCWQ.cjs +4 -0
- package/components/{PlayerRealityCheck-ewNYbcWX.js → PlayerRealityCheck-BdFZDJFk.js} +8 -8
- package/components/{PlayerRealityCheck-JgLIeGQ-.js → PlayerRealityCheck-CEToSHcC.js} +8 -8
- package/components/{PlayerTransactionHistory-C6G_L9Xi.js → PlayerTransactionHistory-BWwWT8z7.js} +1 -1
- package/components/{PlayerTransactionHistory-zG-97Crt.js → PlayerTransactionHistory-C8uedDZz.js} +1 -1
- package/components/{PlayerWithdrawal-Cr2PACnM.js → PlayerWithdrawal-BXYWP9OV.js} +1 -1
- package/components/{PlayerWithdrawal-DkY29uqD.js → PlayerWithdrawal-DuhBS0tB.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBiometrics-BwwuNFd7.js +0 -306
- package/components/PlayerAccountBiometrics-CqZ92UWP.cjs +0 -1
- package/components/PlayerAccountBiometrics-DQqhVOLe.js +0 -306
- package/components/PlayerAccountController-CxtN8yw6.cjs +0 -1
- 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
|
+
};
|