@everymatrix/player-profile-info 1.99.49 → 1.99.50
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/{PlayerAccountBiometricsAction-BGt2ohk9.js → PlayerAccountBiometricsAction-6C8-N-Rb.js} +79 -73
- package/components/{PlayerAccountBiometricsAction-D7Golvhs.js → PlayerAccountBiometricsAction-D8SW_CvC.js} +90 -84
- package/components/PlayerAccountBiometricsAction-DG2p2NxA.cjs +1 -0
- package/components/{PlayerProfileInfo-D7e4R_w2.js → PlayerProfileInfo-BX4Crs2a.js} +2 -2
- package/components/{PlayerProfileInfo-DAIfaeim.cjs → PlayerProfileInfo-D_PnWTXT.cjs} +1 -1
- package/components/{PlayerProfileInfo-guA6QCDZ.js → PlayerProfileInfo-Diy46A-k.js} +2 -2
- package/components/{QrSessionGenerator-DJxXz86j.js → QrSessionGenerator--mW_LkVF.js} +1 -1
- package/components/{QrSessionGenerator-DVz2cd8o.cjs → QrSessionGenerator-CbBAkgJp.cjs} +1 -1
- package/components/{QrSessionGenerator-CnSsGPsC.js → QrSessionGenerator-D8ScvypJ.js} +1 -1
- package/es2015/player-profile-info.cjs +1 -1
- package/es2015/player-profile-info.js +1 -1
- package/esnext/player-profile-info.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBiometricsAction-9Jx-pm_l.cjs +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var R = (t, e, i) => new Promise((n, s) => {
|
|
2
|
+
var r = (l) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
c(i.next(l));
|
|
5
5
|
} catch (d) {
|
|
6
6
|
s(d);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, a = (l) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
c(i.throw(l));
|
|
11
11
|
} catch (d) {
|
|
12
12
|
s(d);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, c = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(r, a);
|
|
15
|
+
c((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
|
|
17
|
+
import { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as z, d as k, c as E, e as ee, g as ie, o as te, h as w, j as se, k as ne, l as F, m as C, t as oe, p as S, q as h, r as re, u as ae, v as ce, w as le, x as be } from "./PlayerProfileInfo-Diy46A-k.js";
|
|
18
18
|
function me(t, e) {
|
|
19
19
|
J(t, e);
|
|
20
20
|
}
|
|
@@ -100,23 +100,29 @@ const de = {
|
|
|
100
100
|
errorMessage: "Biometrics update failed"
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
|
-
function ge(t, e, i) {
|
|
104
|
-
|
|
103
|
+
function ge(t, e, i, n = !1) {
|
|
104
|
+
if (window.emMessageBus) {
|
|
105
|
+
const s = n ? (r) => {
|
|
106
|
+
!r || typeof r != "object" || Array.isArray(r) || Object.keys(r).forEach((a) => i(a, r[a]));
|
|
107
|
+
} : i;
|
|
108
|
+
e = window.emMessageBus.subscribe(t, s);
|
|
109
|
+
}
|
|
110
|
+
return e;
|
|
105
111
|
}
|
|
106
112
|
function fe(t) {
|
|
107
113
|
$(t, "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}');
|
|
108
114
|
}
|
|
109
|
-
function
|
|
115
|
+
function X(t) {
|
|
110
116
|
let e;
|
|
111
|
-
function i(
|
|
117
|
+
function i(r, a) {
|
|
112
118
|
if (
|
|
113
119
|
/*mode*/
|
|
114
|
-
|
|
120
|
+
r[1] === "button"
|
|
115
121
|
)
|
|
116
122
|
return Be;
|
|
117
123
|
if (
|
|
118
124
|
/*mode*/
|
|
119
|
-
|
|
125
|
+
r[1] === "switch"
|
|
120
126
|
)
|
|
121
127
|
return he;
|
|
122
128
|
}
|
|
@@ -125,19 +131,19 @@ function j(t) {
|
|
|
125
131
|
c() {
|
|
126
132
|
e = w("div"), s && s.c();
|
|
127
133
|
},
|
|
128
|
-
m(
|
|
129
|
-
E(
|
|
134
|
+
m(r, a) {
|
|
135
|
+
E(r, e, a), s && s.m(e, null), t[17](e);
|
|
130
136
|
},
|
|
131
|
-
p(
|
|
132
|
-
n === (n = i(
|
|
137
|
+
p(r, a) {
|
|
138
|
+
n === (n = i(r)) && s ? s.p(r, a) : (s && s.d(1), s = n && n(r), s && (s.c(), s.m(e, null)));
|
|
133
139
|
},
|
|
134
|
-
d(
|
|
135
|
-
|
|
140
|
+
d(r) {
|
|
141
|
+
r && k(e), s && s.d(), t[17](null);
|
|
136
142
|
}
|
|
137
143
|
};
|
|
138
144
|
}
|
|
139
145
|
function he(t) {
|
|
140
|
-
let e, i, n, s,
|
|
146
|
+
let e, i, n, s, r;
|
|
141
147
|
return {
|
|
142
148
|
c() {
|
|
143
149
|
e = w("button"), i = w("div"), i.innerHTML = '<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>', S(i, "class", "skip-switch"), h(
|
|
@@ -160,41 +166,41 @@ function he(t) {
|
|
|
160
166
|
t[5] || /*isLoading*/
|
|
161
167
|
t[2];
|
|
162
168
|
},
|
|
163
|
-
m(
|
|
164
|
-
E(
|
|
169
|
+
m(a, c) {
|
|
170
|
+
E(a, e, c), F(e, i), s || (r = C(
|
|
165
171
|
e,
|
|
166
172
|
"click",
|
|
167
173
|
/*toggleBiometrics*/
|
|
168
174
|
t[8]
|
|
169
175
|
), s = !0);
|
|
170
176
|
},
|
|
171
|
-
p(
|
|
172
|
-
|
|
177
|
+
p(a, c) {
|
|
178
|
+
c & /*biometricsEnabled*/
|
|
173
179
|
16 && h(
|
|
174
180
|
i,
|
|
175
181
|
"checked",
|
|
176
182
|
/*biometricsEnabled*/
|
|
177
|
-
|
|
178
|
-
),
|
|
183
|
+
a[4]
|
|
184
|
+
), c & /*isUpdatingBiometrics, isLoading*/
|
|
179
185
|
36 && h(
|
|
180
186
|
i,
|
|
181
187
|
"disabled",
|
|
182
188
|
/*isUpdatingBiometrics*/
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
),
|
|
189
|
+
a[5] || /*isLoading*/
|
|
190
|
+
a[2]
|
|
191
|
+
), c & /*shake*/
|
|
186
192
|
64 && h(
|
|
187
193
|
i,
|
|
188
194
|
"shake",
|
|
189
195
|
/*shake*/
|
|
190
|
-
|
|
191
|
-
),
|
|
196
|
+
a[6]
|
|
197
|
+
), c & /*isUpdatingBiometrics, isLoading*/
|
|
192
198
|
36 && n !== (n = /*isUpdatingBiometrics*/
|
|
193
|
-
|
|
194
|
-
|
|
199
|
+
a[5] || /*isLoading*/
|
|
200
|
+
a[2]) && (e.disabled = n);
|
|
195
201
|
},
|
|
196
|
-
d(
|
|
197
|
-
|
|
202
|
+
d(a) {
|
|
203
|
+
a && k(e), s = !1, r();
|
|
198
204
|
}
|
|
199
205
|
};
|
|
200
206
|
}
|
|
@@ -208,44 +214,44 @@ function Be(t) {
|
|
|
208
214
|
/*$_*/
|
|
209
215
|
t[7]("btnEnableBiometrics")
|
|
210
216
|
)) + ""
|
|
211
|
-
), n, s,
|
|
217
|
+
), n, s, r, a;
|
|
212
218
|
return {
|
|
213
219
|
c() {
|
|
214
220
|
e = w("button"), n = oe(i), S(e, "class", "BiometricsToggle"), e.disabled = s = /*isUpdatingBiometrics*/
|
|
215
221
|
t[5] || /*isLoading*/
|
|
216
222
|
t[2];
|
|
217
223
|
},
|
|
218
|
-
m(
|
|
219
|
-
E(
|
|
224
|
+
m(c, l) {
|
|
225
|
+
E(c, e, l), F(e, n), r || (a = C(
|
|
220
226
|
e,
|
|
221
227
|
"click",
|
|
222
228
|
/*click_handler*/
|
|
223
229
|
t[16]
|
|
224
|
-
),
|
|
230
|
+
), r = !0);
|
|
225
231
|
},
|
|
226
|
-
p(
|
|
232
|
+
p(c, l) {
|
|
227
233
|
l & /*biometricsEnabled, $_*/
|
|
228
234
|
144 && i !== (i = /*biometricsEnabled*/
|
|
229
|
-
(
|
|
235
|
+
(c[4] ? (
|
|
230
236
|
/*$_*/
|
|
231
|
-
|
|
237
|
+
c[7]("btnDisableBiometrics")
|
|
232
238
|
) : (
|
|
233
239
|
/*$_*/
|
|
234
|
-
|
|
240
|
+
c[7]("btnEnableBiometrics")
|
|
235
241
|
)) + "") && ne(n, i), l & /*isUpdatingBiometrics, isLoading*/
|
|
236
242
|
36 && s !== (s = /*isUpdatingBiometrics*/
|
|
237
|
-
|
|
238
|
-
|
|
243
|
+
c[5] || /*isLoading*/
|
|
244
|
+
c[2]) && (e.disabled = s);
|
|
239
245
|
},
|
|
240
|
-
d(
|
|
241
|
-
|
|
246
|
+
d(c) {
|
|
247
|
+
c && k(e), r = !1, a();
|
|
242
248
|
}
|
|
243
249
|
};
|
|
244
250
|
}
|
|
245
251
|
function pe(t) {
|
|
246
252
|
let e, i = (
|
|
247
253
|
/*isNativeApp*/
|
|
248
|
-
t[0] &&
|
|
254
|
+
t[0] && X(t)
|
|
249
255
|
);
|
|
250
256
|
return {
|
|
251
257
|
c() {
|
|
@@ -256,10 +262,10 @@ function pe(t) {
|
|
|
256
262
|
},
|
|
257
263
|
p(n, [s]) {
|
|
258
264
|
/*isNativeApp*/
|
|
259
|
-
n[0] ? i ? i.p(n, s) : (i =
|
|
265
|
+
n[0] ? i ? i.p(n, s) : (i = X(n), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
260
266
|
},
|
|
261
|
-
i:
|
|
262
|
-
o:
|
|
267
|
+
i: z,
|
|
268
|
+
o: z,
|
|
263
269
|
d(n) {
|
|
264
270
|
n && k(e), i && i.d(n);
|
|
265
271
|
}
|
|
@@ -268,7 +274,7 @@ function pe(t) {
|
|
|
268
274
|
function ye(t, e, i) {
|
|
269
275
|
let n;
|
|
270
276
|
ie(t, be, (o) => i(7, n = o));
|
|
271
|
-
let { lang: s = "en" } = e, { clientstyling:
|
|
277
|
+
let { lang: s = "en" } = e, { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, { mbsource: c } = e, { translationurl: l = "" } = e, { isNativeApp: d = !1 } = e, { mode: T = "button" } = e, { isFromLogin: p = !1 } = e, { isLoading: A = !1 } = e, m, U, B, g = null, y = !1, f = !1, _ = !1;
|
|
272
278
|
const D = (o) => {
|
|
273
279
|
Object.keys(o).forEach((b) => {
|
|
274
280
|
me(b, o[b]);
|
|
@@ -283,7 +289,7 @@ function ye(t, e, i) {
|
|
|
283
289
|
D(de);
|
|
284
290
|
const q = () => {
|
|
285
291
|
ue(s);
|
|
286
|
-
},
|
|
292
|
+
}, L = {
|
|
287
293
|
BIOMETRICS_RESPONSE: 3e3,
|
|
288
294
|
SHAKE_DURATION: 500
|
|
289
295
|
};
|
|
@@ -293,29 +299,29 @@ function ye(t, e, i) {
|
|
|
293
299
|
() => {
|
|
294
300
|
i(6, M = !1);
|
|
295
301
|
},
|
|
296
|
-
|
|
302
|
+
L.SHAKE_DURATION
|
|
297
303
|
);
|
|
298
|
-
},
|
|
304
|
+
}, N = () => {
|
|
299
305
|
g && clearTimeout(g), g = setTimeout(
|
|
300
306
|
() => {
|
|
301
|
-
i(5, f = !1), P(),
|
|
307
|
+
i(5, f = !1), P(), j("error", n("errorMessage"));
|
|
302
308
|
},
|
|
303
|
-
|
|
309
|
+
L.BIOMETRICS_RESPONSE
|
|
304
310
|
);
|
|
305
|
-
},
|
|
311
|
+
}, v = () => R(this, null, function* () {
|
|
306
312
|
f || (i(5, f = !0), _ = !0, window.postMessage({
|
|
307
313
|
type: "ToggleBiometrics",
|
|
308
314
|
data: `${!y}`,
|
|
309
315
|
isFromLogin: p
|
|
310
|
-
}),
|
|
316
|
+
}), N());
|
|
311
317
|
}), x = (o) => {
|
|
312
|
-
var b,
|
|
313
|
-
((b = o.data) == null ? void 0 : b.type) === "NativeAppReady" && (i(0, d = !0), O()), ((
|
|
318
|
+
var b, I;
|
|
319
|
+
((b = o.data) == null ? void 0 : b.type) === "NativeAppReady" && (i(0, d = !0), O()), ((I = o.data) == null ? void 0 : I.type) === "BiometricsStatus" && (i(4, y = o.data.status || !1), i(5, f = !1), g && (clearTimeout(g), g = null), _ && (p || j("success", n(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
|
|
314
320
|
}, O = () => {
|
|
315
|
-
i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }),
|
|
321
|
+
i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }), N();
|
|
316
322
|
}, K = () => {
|
|
317
323
|
window.postMessage({ type: "CheckNativeApp" });
|
|
318
|
-
},
|
|
324
|
+
}, j = (o, b) => {
|
|
319
325
|
window.postMessage(
|
|
320
326
|
{
|
|
321
327
|
type: "WidgetNotification",
|
|
@@ -331,36 +337,36 @@ function ye(t, e, i) {
|
|
|
331
337
|
te(() => (window.addEventListener("message", x), d === !0 ? O() : K(), () => {
|
|
332
338
|
window.removeEventListener("message", x), B && B.unsubscribe(), g && clearTimeout(g);
|
|
333
339
|
}));
|
|
334
|
-
const W = () =>
|
|
340
|
+
const W = () => v();
|
|
335
341
|
function G(o) {
|
|
336
342
|
se[o ? "unshift" : "push"](() => {
|
|
337
343
|
m = o, i(3, m);
|
|
338
344
|
});
|
|
339
345
|
}
|
|
340
346
|
return t.$$set = (o) => {
|
|
341
|
-
"lang" in o && i(9, s = o.lang), "clientstyling" in o && i(10,
|
|
347
|
+
"lang" in o && i(9, s = o.lang), "clientstyling" in o && i(10, r = o.clientstyling), "clientstylingurl" in o && i(11, a = o.clientstylingurl), "mbsource" in o && i(12, c = o.mbsource), "translationurl" in o && i(13, l = o.translationurl), "isNativeApp" in o && i(0, d = o.isNativeApp), "mode" in o && i(1, T = o.mode), "isFromLogin" in o && i(14, p = o.isFromLogin), "isLoading" in o && i(2, A = o.isLoading);
|
|
342
348
|
}, t.$$.update = () => {
|
|
343
349
|
t.$$.dirty & /*lang*/
|
|
344
350
|
512 && s && q(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
345
|
-
1032 &&
|
|
346
|
-
2056 &&
|
|
347
|
-
4104 &&
|
|
351
|
+
1032 && r && m && re(m, r), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
352
|
+
2056 && a && m && ae(m, a), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
353
|
+
4104 && c && m && ce(m, `${c}.Style`, U), t.$$.dirty & /*translationurl*/
|
|
348
354
|
8192 && l && H(), t.$$.dirty & /*mbsource, translationurl, translationSubscription*/
|
|
349
|
-
45056 &&
|
|
355
|
+
45056 && c && !l && i(15, B = ge(`${c}.Translation`, B, D));
|
|
350
356
|
}, [
|
|
351
357
|
d,
|
|
352
358
|
T,
|
|
353
|
-
|
|
359
|
+
A,
|
|
354
360
|
m,
|
|
355
361
|
y,
|
|
356
362
|
f,
|
|
357
363
|
M,
|
|
358
364
|
n,
|
|
359
|
-
|
|
365
|
+
v,
|
|
360
366
|
s,
|
|
361
|
-
c,
|
|
362
367
|
r,
|
|
363
368
|
a,
|
|
369
|
+
c,
|
|
364
370
|
l,
|
|
365
371
|
p,
|
|
366
372
|
B,
|