@everymatrix/general-player-login-form 1.53.0 → 1.53.10
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/{GeneralPlayerLoginForm-DnwXmexh.js → GeneralPlayerLoginForm-MMmgBHKW.js} +1047 -1102
- package/components/{GeneralPlayerSmsVerificationForm-B6d2Y3hF.js → GeneralPlayerSmsVerificationForm-COg-pr9r.js} +133 -149
- package/esnext/general-player-login-form.js +14 -0
- package/package.json +8 -12
- package/components/GeneralPlayerLoginForm-BoIsFJsw.cjs +0 -5
- package/components/GeneralPlayerSmsVerificationForm-BmimxoUw.cjs +0 -1
- package/es2015/general-player-login-form.cjs +0 -1
- package/es2015/general-player-login-form.js +0 -16
|
@@ -1,29 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} catch (y) {
|
|
6
|
-
r(y);
|
|
7
|
-
}
|
|
8
|
-
}, m = (d) => {
|
|
9
|
-
try {
|
|
10
|
-
c(i.throw(d));
|
|
11
|
-
} catch (y) {
|
|
12
|
-
r(y);
|
|
13
|
-
}
|
|
14
|
-
}, c = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(a, m);
|
|
15
|
-
c((i = i.apply(o, e)).next());
|
|
16
|
-
});
|
|
17
|
-
import { $ as J, a as ee, b as te, S as ie, i as oe, f as E, c as re, s as ne, d as ae, e as w, g as z, t as k, h as p, j as H, k as l, l as G, m as q, n as C, o as K, p as N, r as se, q as le, u as de, v as ce, w as ue } from "./GeneralPlayerLoginForm-DnwXmexh.js";
|
|
18
|
-
function me({ withLocale: o, translations: e }) {
|
|
19
|
-
J.subscribe((i) => {
|
|
20
|
-
i == null && (ee.set(e), J.set(o));
|
|
1
|
+
import { $ as Y, a as $, b as ee, S as te, i as ie, f as E, c as oe, s as re, d as ne, e as k, g as z, t as S, h as f, j as H, k as s, l as J, m as q, n as C, o as G, p as N, r as ae, q as se, u as le, v as de, w as ce } from "./GeneralPlayerLoginForm-MMmgBHKW.js";
|
|
2
|
+
function ue({ withLocale: o, translations: e }) {
|
|
3
|
+
Y.subscribe((i) => {
|
|
4
|
+
i == null && ($.set(e), Y.set(o));
|
|
21
5
|
});
|
|
22
6
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
7
|
+
function K(o, e) {
|
|
8
|
+
ee(o, e);
|
|
25
9
|
}
|
|
26
|
-
const
|
|
10
|
+
const W = {
|
|
27
11
|
en: {
|
|
28
12
|
title: "Please enter the verification code you received on your number",
|
|
29
13
|
errorTitle: "Your code was invalid, you can resend the code and try again",
|
|
@@ -130,17 +114,17 @@ const Q = {
|
|
|
130
114
|
loginSMSHint: "A new verification code has been sent to your phone number"
|
|
131
115
|
}
|
|
132
116
|
};
|
|
133
|
-
function
|
|
134
|
-
|
|
117
|
+
function me(o) {
|
|
118
|
+
ne(o, "svelte-uutjwi", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input,.Field select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.Button{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A))}");
|
|
135
119
|
}
|
|
136
|
-
function
|
|
120
|
+
function fe(o) {
|
|
137
121
|
let e = (
|
|
138
122
|
/*$_*/
|
|
139
123
|
o[5]("errorTitle") + ""
|
|
140
124
|
), i;
|
|
141
125
|
return {
|
|
142
126
|
c() {
|
|
143
|
-
i =
|
|
127
|
+
i = S(e);
|
|
144
128
|
},
|
|
145
129
|
m(n, r) {
|
|
146
130
|
H(n, i, r);
|
|
@@ -155,14 +139,14 @@ function ve(o) {
|
|
|
155
139
|
}
|
|
156
140
|
};
|
|
157
141
|
}
|
|
158
|
-
function
|
|
142
|
+
function ve(o) {
|
|
159
143
|
let e = (
|
|
160
144
|
/*$_*/
|
|
161
145
|
o[5]("title") + ""
|
|
162
146
|
), i;
|
|
163
147
|
return {
|
|
164
148
|
c() {
|
|
165
|
-
i =
|
|
149
|
+
i = S(e);
|
|
166
150
|
},
|
|
167
151
|
m(n, r) {
|
|
168
152
|
H(n, i, r);
|
|
@@ -177,20 +161,20 @@ function ge(o) {
|
|
|
177
161
|
}
|
|
178
162
|
};
|
|
179
163
|
}
|
|
180
|
-
function
|
|
164
|
+
function Q(o) {
|
|
181
165
|
let e, i = (
|
|
182
166
|
/*$_*/
|
|
183
167
|
o[5]("smsCodeError") + ""
|
|
184
168
|
), n;
|
|
185
169
|
return {
|
|
186
170
|
c() {
|
|
187
|
-
e =
|
|
171
|
+
e = k("p"), n = S(i), f(e, "class", "InvalidInput");
|
|
188
172
|
},
|
|
189
|
-
m(r,
|
|
190
|
-
H(r, e,
|
|
173
|
+
m(r, l) {
|
|
174
|
+
H(r, e, l), s(e, n);
|
|
191
175
|
},
|
|
192
|
-
p(r,
|
|
193
|
-
|
|
176
|
+
p(r, l) {
|
|
177
|
+
l & /*$_*/
|
|
194
178
|
32 && i !== (i = /*$_*/
|
|
195
179
|
r[5]("smsCodeError") + "") && C(n, i);
|
|
196
180
|
},
|
|
@@ -199,20 +183,20 @@ function X(o) {
|
|
|
199
183
|
}
|
|
200
184
|
};
|
|
201
185
|
}
|
|
202
|
-
function
|
|
186
|
+
function X(o) {
|
|
203
187
|
let e, i = (
|
|
204
188
|
/*$_*/
|
|
205
189
|
o[5]("resendMessage") + ""
|
|
206
190
|
), n;
|
|
207
191
|
return {
|
|
208
192
|
c() {
|
|
209
|
-
e =
|
|
193
|
+
e = k("p"), n = S(i), f(e, "class", "SmsVerificationResendMessage");
|
|
210
194
|
},
|
|
211
|
-
m(r,
|
|
212
|
-
H(r, e,
|
|
195
|
+
m(r, l) {
|
|
196
|
+
H(r, e, l), s(e, n);
|
|
213
197
|
},
|
|
214
|
-
p(r,
|
|
215
|
-
|
|
198
|
+
p(r, l) {
|
|
199
|
+
l & /*$_*/
|
|
216
200
|
32 && i !== (i = /*$_*/
|
|
217
201
|
r[5]("resendMessage") + "") && C(n, i);
|
|
218
202
|
},
|
|
@@ -221,149 +205,149 @@ function Z(o) {
|
|
|
221
205
|
}
|
|
222
206
|
};
|
|
223
207
|
}
|
|
224
|
-
function
|
|
208
|
+
function Z(o) {
|
|
225
209
|
let e, i, n = (
|
|
226
210
|
/*secondsLeft*/
|
|
227
211
|
o[4] < 10 ? "0" : ""
|
|
228
|
-
), r,
|
|
212
|
+
), r, l, v;
|
|
229
213
|
return {
|
|
230
214
|
c() {
|
|
231
|
-
e =
|
|
215
|
+
e = k("span"), i = S("(0:"), r = S(n), l = S(
|
|
232
216
|
/*secondsLeft*/
|
|
233
217
|
o[4]
|
|
234
|
-
),
|
|
218
|
+
), v = S(")"), f(e, "class", "SmsVerificationResendTimer");
|
|
235
219
|
},
|
|
236
|
-
m(
|
|
237
|
-
H(
|
|
220
|
+
m(g, p) {
|
|
221
|
+
H(g, e, p), s(e, i), s(e, r), s(e, l), s(e, v);
|
|
238
222
|
},
|
|
239
|
-
p(
|
|
240
|
-
|
|
223
|
+
p(g, p) {
|
|
224
|
+
p & /*secondsLeft*/
|
|
241
225
|
16 && n !== (n = /*secondsLeft*/
|
|
242
|
-
|
|
226
|
+
g[4] < 10 ? "0" : "") && C(r, n), p & /*secondsLeft*/
|
|
243
227
|
16 && C(
|
|
244
|
-
|
|
228
|
+
l,
|
|
245
229
|
/*secondsLeft*/
|
|
246
|
-
|
|
230
|
+
g[4]
|
|
247
231
|
);
|
|
248
232
|
},
|
|
249
|
-
d(
|
|
250
|
-
|
|
233
|
+
d(g) {
|
|
234
|
+
g && N(e);
|
|
251
235
|
}
|
|
252
236
|
};
|
|
253
237
|
}
|
|
254
|
-
function
|
|
255
|
-
let e, i, n, r,
|
|
238
|
+
function ge(o) {
|
|
239
|
+
let e, i, n, r, l, v = (
|
|
256
240
|
/*$_*/
|
|
257
241
|
o[5]("code") + ""
|
|
258
|
-
),
|
|
242
|
+
), g, p, w, F, d, j, _, I, M, y, R = (
|
|
259
243
|
/*$_*/
|
|
260
244
|
o[5]("activate") + ""
|
|
261
|
-
), V, T,
|
|
245
|
+
), V, T, b, P = (
|
|
262
246
|
/*$_*/
|
|
263
247
|
o[5]("resend") + ""
|
|
264
248
|
), D, L, U, B;
|
|
265
|
-
function O(t,
|
|
249
|
+
function O(t, a) {
|
|
266
250
|
return (
|
|
267
251
|
/*isSmsValid*/
|
|
268
|
-
t[2] ?
|
|
252
|
+
t[2] ? ve : fe
|
|
269
253
|
);
|
|
270
254
|
}
|
|
271
|
-
let A = O(o),
|
|
272
|
-
o[2] &&
|
|
255
|
+
let A = O(o), h = A(o), c = !/*isSmsValid*/
|
|
256
|
+
o[2] && Q(o), u = (
|
|
273
257
|
/*timer*/
|
|
274
|
-
o[3] &&
|
|
275
|
-
),
|
|
258
|
+
o[3] && X(o)
|
|
259
|
+
), m = (
|
|
276
260
|
/*timer*/
|
|
277
|
-
o[3] &&
|
|
261
|
+
o[3] && Z(o)
|
|
278
262
|
);
|
|
279
263
|
return {
|
|
280
264
|
c() {
|
|
281
|
-
e =
|
|
282
|
-
o[2] ? "" : "InvalidField")),
|
|
283
|
-
o[3],
|
|
265
|
+
e = k("div"), i = k("h3"), h.c(), n = z(), r = k("div"), l = k("label"), g = S(v), p = S(":"), w = k("span"), w.textContent = "*", F = z(), d = k("input"), j = z(), c && c.c(), I = z(), u && u.c(), M = z(), y = k("button"), V = S(R), T = z(), b = k("button"), D = S(P), L = z(), m && m.c(), f(i, "class", "Title"), f(w, "class", "FormRequired"), f(l, "for", "SmsCode"), f(d, "type", "text"), f(d, "id", "SmsCode"), f(d, "inputmode", "numeric"), f(d, "pattern", "[0-9]*"), f(d, "maxlength", "6"), f(r, "class", _ = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
266
|
+
o[2] ? "" : "InvalidField")), f(y, "class", "Button SmsVerificationValidate"), f(b, "class", "Button SmsVerificationResend"), b.disabled = /*timer*/
|
|
267
|
+
o[3], f(e, "class", "Container SmsVerificationContainer");
|
|
284
268
|
},
|
|
285
|
-
m(t,
|
|
286
|
-
H(t, e,
|
|
287
|
-
|
|
269
|
+
m(t, a) {
|
|
270
|
+
H(t, e, a), s(e, i), h.m(i, null), s(e, n), s(e, r), s(r, l), s(l, g), s(l, p), s(l, w), s(r, F), s(r, d), J(
|
|
271
|
+
d,
|
|
288
272
|
/*smsCode*/
|
|
289
273
|
o[1]
|
|
290
|
-
),
|
|
274
|
+
), s(r, j), c && c.m(r, null), s(e, I), u && u.m(e, null), s(e, M), s(e, y), s(y, V), s(e, T), s(e, b), s(b, D), s(b, L), m && m.m(b, null), o[19](e), U || (B = [
|
|
291
275
|
q(
|
|
292
|
-
|
|
276
|
+
d,
|
|
293
277
|
"input",
|
|
294
278
|
/*input_input_handler*/
|
|
295
279
|
o[17]
|
|
296
280
|
),
|
|
297
281
|
q(
|
|
298
|
-
|
|
282
|
+
d,
|
|
299
283
|
"keydown",
|
|
300
284
|
/*keydown_handler*/
|
|
301
285
|
o[18]
|
|
302
286
|
),
|
|
303
287
|
q(
|
|
304
|
-
|
|
288
|
+
y,
|
|
305
289
|
"click",
|
|
306
290
|
/*activateUser*/
|
|
307
291
|
o[6]
|
|
308
292
|
),
|
|
309
293
|
q(
|
|
310
|
-
|
|
294
|
+
b,
|
|
311
295
|
"click",
|
|
312
296
|
/*resendCode*/
|
|
313
297
|
o[7]
|
|
314
298
|
)
|
|
315
299
|
], U = !0);
|
|
316
300
|
},
|
|
317
|
-
p(t, [
|
|
318
|
-
A === (A = O(t)) &&
|
|
319
|
-
32 &&
|
|
320
|
-
t[5]("code") + "") && C(
|
|
321
|
-
2 &&
|
|
322
|
-
t[1] &&
|
|
323
|
-
|
|
301
|
+
p(t, [a]) {
|
|
302
|
+
A === (A = O(t)) && h ? h.p(t, a) : (h.d(1), h = A(t), h && (h.c(), h.m(i, null))), a & /*$_*/
|
|
303
|
+
32 && v !== (v = /*$_*/
|
|
304
|
+
t[5]("code") + "") && C(g, v), a & /*smsCode*/
|
|
305
|
+
2 && d.value !== /*smsCode*/
|
|
306
|
+
t[1] && J(
|
|
307
|
+
d,
|
|
324
308
|
/*smsCode*/
|
|
325
309
|
t[1]
|
|
326
310
|
), /*isSmsValid*/
|
|
327
|
-
t[2] ?
|
|
311
|
+
t[2] ? c && (c.d(1), c = null) : c ? c.p(t, a) : (c = Q(t), c.c(), c.m(r, null)), a & /*isSmsValid*/
|
|
328
312
|
4 && _ !== (_ = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
329
|
-
t[2] ? "" : "InvalidField")) &&
|
|
330
|
-
t[3] ?
|
|
313
|
+
t[2] ? "" : "InvalidField")) && f(r, "class", _), /*timer*/
|
|
314
|
+
t[3] ? u ? u.p(t, a) : (u = X(t), u.c(), u.m(e, M)) : u && (u.d(1), u = null), a & /*$_*/
|
|
331
315
|
32 && R !== (R = /*$_*/
|
|
332
|
-
t[5]("activate") + "") && C(V, R),
|
|
316
|
+
t[5]("activate") + "") && C(V, R), a & /*$_*/
|
|
333
317
|
32 && P !== (P = /*$_*/
|
|
334
318
|
t[5]("resend") + "") && C(D, P), /*timer*/
|
|
335
|
-
t[3] ?
|
|
336
|
-
8 && (
|
|
319
|
+
t[3] ? m ? m.p(t, a) : (m = Z(t), m.c(), m.m(b, null)) : m && (m.d(1), m = null), a & /*timer*/
|
|
320
|
+
8 && (b.disabled = /*timer*/
|
|
337
321
|
t[3]);
|
|
338
322
|
},
|
|
339
|
-
i:
|
|
340
|
-
o:
|
|
323
|
+
i: G,
|
|
324
|
+
o: G,
|
|
341
325
|
d(t) {
|
|
342
|
-
t && N(e),
|
|
326
|
+
t && N(e), h.d(), c && c.d(), u && u.d(), m && m.d(), o[19](null), U = !1, ae(B);
|
|
343
327
|
}
|
|
344
328
|
};
|
|
345
329
|
}
|
|
346
|
-
function
|
|
330
|
+
function pe(o, e, i) {
|
|
347
331
|
let n;
|
|
348
|
-
|
|
349
|
-
let { endpoint: r = "" } = e, { tokenid:
|
|
350
|
-
const
|
|
351
|
-
|
|
332
|
+
se(o, ce, (t) => i(5, n = t));
|
|
333
|
+
let { endpoint: r = "" } = e, { tokenid: l = "" } = e, { playerid: v = "" } = e, { smstemplate: g = "Please use this code {0} to activate your accout" } = e, { number: p = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: F = "" } = e, { translationurl: d = "" } = e, j, _ = !0, I = !1, M, y, R = +localStorage.getItem("smsTimer") || 0, V = Date.now() / 1e3 - R, T = 60 - Math.floor(V);
|
|
334
|
+
const b = { numeric: /^[0-9]{0,6}$/ };
|
|
335
|
+
ue({ withLocale: "en", translations: {} });
|
|
352
336
|
const P = () => {
|
|
353
|
-
fetch(
|
|
354
|
-
Object.keys(
|
|
355
|
-
|
|
337
|
+
fetch(d).then((a) => a.json()).then((a) => {
|
|
338
|
+
Object.keys(a).forEach((x) => {
|
|
339
|
+
K(x, a[x]);
|
|
356
340
|
});
|
|
357
|
-
}).catch((
|
|
358
|
-
console.log(
|
|
341
|
+
}).catch((a) => {
|
|
342
|
+
console.log(a);
|
|
359
343
|
});
|
|
360
344
|
};
|
|
361
|
-
Object.keys(
|
|
362
|
-
|
|
345
|
+
Object.keys(W).forEach((t) => {
|
|
346
|
+
K(t, W[t]);
|
|
363
347
|
});
|
|
364
|
-
const D = () =>
|
|
348
|
+
const D = async () => {
|
|
365
349
|
try {
|
|
366
|
-
if ((
|
|
350
|
+
if ((await fetch(`${r}/v1/player/${v}/activateSMS?tokenId=${l}&validationCode=${j}`, {
|
|
367
351
|
headers: {
|
|
368
352
|
"Content-Type": "application/json",
|
|
369
353
|
accept: "application/json"
|
|
@@ -384,39 +368,39 @@ function ye(o, e, i) {
|
|
|
384
368
|
} catch (t) {
|
|
385
369
|
console.log(t);
|
|
386
370
|
}
|
|
387
|
-
}
|
|
371
|
+
}, L = async () => {
|
|
388
372
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), A();
|
|
389
373
|
try {
|
|
390
|
-
const t =
|
|
374
|
+
const t = await fetch(`${r}/v1/player/sms/token`, {
|
|
391
375
|
method: "POST",
|
|
392
376
|
headers: {
|
|
393
377
|
"Content-Type": "application/json",
|
|
394
378
|
accept: "application/json"
|
|
395
379
|
},
|
|
396
380
|
body: JSON.stringify({
|
|
397
|
-
userId:
|
|
398
|
-
messageTemplate:
|
|
399
|
-
destination:
|
|
381
|
+
userId: v,
|
|
382
|
+
messageTemplate: g,
|
|
383
|
+
destination: p
|
|
400
384
|
})
|
|
401
|
-
}),
|
|
385
|
+
}), a = await t.json();
|
|
402
386
|
if (t.ok)
|
|
403
|
-
i(9,
|
|
387
|
+
i(9, l = a.id), I = !1, U();
|
|
404
388
|
else
|
|
405
389
|
throw I = !0, new Error("Failed to fetch");
|
|
406
390
|
} catch (t) {
|
|
407
391
|
I = !0, console.error(t);
|
|
408
392
|
}
|
|
409
|
-
}
|
|
393
|
+
}, U = () => {
|
|
410
394
|
T > 0 ? i(4, T--, T) : (clearInterval(M), i(3, M = !1), i(4, T = 60));
|
|
411
395
|
}, B = () => {
|
|
412
396
|
let t = document.createElement("style");
|
|
413
|
-
t.innerHTML =
|
|
397
|
+
t.innerHTML = w, y.appendChild(t);
|
|
414
398
|
}, O = () => {
|
|
415
|
-
let t = new URL(F),
|
|
399
|
+
let t = new URL(F), a = document.createElement("style");
|
|
416
400
|
fetch(t.href).then((x) => x.text()).then((x) => {
|
|
417
|
-
|
|
401
|
+
a.innerHTML = x, setTimeout(
|
|
418
402
|
() => {
|
|
419
|
-
|
|
403
|
+
y.appendChild(a);
|
|
420
404
|
},
|
|
421
405
|
1
|
|
422
406
|
), setTimeout(
|
|
@@ -432,35 +416,35 @@ function ye(o, e, i) {
|
|
|
432
416
|
},
|
|
433
417
|
1e3
|
|
434
418
|
));
|
|
435
|
-
},
|
|
436
|
-
!
|
|
419
|
+
}, h = (t) => {
|
|
420
|
+
!b.numeric.test(t.key) && t.keyCode !== 8 && t.keyCode !== 9 && t.keyCode !== 46 && t.preventDefault();
|
|
437
421
|
};
|
|
438
|
-
|
|
439
|
-
if (!
|
|
422
|
+
le(() => {
|
|
423
|
+
if (!v || !p) {
|
|
440
424
|
let t = JSON.parse(localStorage.getItem("playerData"));
|
|
441
|
-
i(10,
|
|
425
|
+
i(10, v = t.playerid), i(11, p = t.number);
|
|
442
426
|
}
|
|
443
427
|
A();
|
|
444
428
|
});
|
|
445
|
-
function
|
|
429
|
+
function c() {
|
|
446
430
|
j = this.value, i(1, j);
|
|
447
431
|
}
|
|
448
|
-
const
|
|
449
|
-
function
|
|
450
|
-
|
|
451
|
-
|
|
432
|
+
const u = (t) => h(t);
|
|
433
|
+
function m(t) {
|
|
434
|
+
de[t ? "unshift" : "push"](() => {
|
|
435
|
+
y = t, i(0, y);
|
|
452
436
|
});
|
|
453
437
|
}
|
|
454
438
|
return o.$$set = (t) => {
|
|
455
|
-
"endpoint" in t && i(12, r = t.endpoint), "tokenid" in t && i(9,
|
|
439
|
+
"endpoint" in t && i(12, r = t.endpoint), "tokenid" in t && i(9, l = t.tokenid), "playerid" in t && i(10, v = t.playerid), "smstemplate" in t && i(13, g = t.smstemplate), "number" in t && i(11, p = t.number), "clientstyling" in t && i(14, w = t.clientstyling), "clientstylingurl" in t && i(15, F = t.clientstylingurl), "translationurl" in t && i(16, d = t.translationurl);
|
|
456
440
|
}, o.$$.update = () => {
|
|
457
441
|
o.$$.dirty & /*tokenid, playerid, endpoint*/
|
|
458
442
|
5632, o.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
459
|
-
16385 &&
|
|
460
|
-
32769 && F &&
|
|
461
|
-
65536 &&
|
|
443
|
+
16385 && w && y && B(), o.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
444
|
+
32769 && F && y && O(), o.$$.dirty & /*translationurl*/
|
|
445
|
+
65536 && d && P();
|
|
462
446
|
}, [
|
|
463
|
-
|
|
447
|
+
y,
|
|
464
448
|
j,
|
|
465
449
|
_,
|
|
466
450
|
M,
|
|
@@ -468,28 +452,28 @@ function ye(o, e, i) {
|
|
|
468
452
|
n,
|
|
469
453
|
D,
|
|
470
454
|
L,
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
455
|
+
h,
|
|
456
|
+
l,
|
|
457
|
+
v,
|
|
458
|
+
p,
|
|
475
459
|
r,
|
|
476
|
-
|
|
477
|
-
|
|
460
|
+
g,
|
|
461
|
+
w,
|
|
478
462
|
F,
|
|
463
|
+
d,
|
|
464
|
+
c,
|
|
479
465
|
u,
|
|
480
|
-
|
|
481
|
-
v,
|
|
482
|
-
g
|
|
466
|
+
m
|
|
483
467
|
];
|
|
484
468
|
}
|
|
485
|
-
class
|
|
469
|
+
class ye extends te {
|
|
486
470
|
constructor(e) {
|
|
487
|
-
super(),
|
|
471
|
+
super(), ie(
|
|
488
472
|
this,
|
|
489
473
|
e,
|
|
490
|
-
ye,
|
|
491
474
|
pe,
|
|
492
|
-
|
|
475
|
+
ge,
|
|
476
|
+
re,
|
|
493
477
|
{
|
|
494
478
|
endpoint: 12,
|
|
495
479
|
tokenid: 9,
|
|
@@ -500,7 +484,7 @@ class he extends ie {
|
|
|
500
484
|
clientstylingurl: 15,
|
|
501
485
|
translationurl: 16
|
|
502
486
|
},
|
|
503
|
-
|
|
487
|
+
me
|
|
504
488
|
);
|
|
505
489
|
}
|
|
506
490
|
get endpoint() {
|
|
@@ -552,7 +536,7 @@ class he extends ie {
|
|
|
552
536
|
this.$$set({ translationurl: e }), E();
|
|
553
537
|
}
|
|
554
538
|
}
|
|
555
|
-
|
|
539
|
+
oe(ye, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
556
540
|
export {
|
|
557
|
-
|
|
541
|
+
ye as default
|
|
558
542
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { G as r } from "../components/GeneralPlayerLoginForm-MMmgBHKW.js";
|
|
2
|
+
function s(t) {
|
|
3
|
+
return function(...n) {
|
|
4
|
+
try {
|
|
5
|
+
return t.apply(this, n);
|
|
6
|
+
} catch (e) {
|
|
7
|
+
if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
8
|
+
return !1;
|
|
9
|
+
throw e;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
customElements.define = s(customElements.define);
|
|
14
|
+
!customElements.get("general-player-login-form") && customElements.define("general-player-login-form", r.element);
|
package/package.json
CHANGED
|
@@ -1,25 +1,21 @@
|
|
|
1
|
+
|
|
1
2
|
{
|
|
2
3
|
"name": "@everymatrix/general-player-login-form",
|
|
3
|
-
"version": "1.53.
|
|
4
|
+
"version": "1.53.10",
|
|
4
5
|
"type": "module",
|
|
5
|
-
"main": "
|
|
6
|
-
"module": "
|
|
6
|
+
"main": "esnext/general-player-login-form.js",
|
|
7
|
+
"module": "esnext/general-player-login-form.js",
|
|
7
8
|
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"import": "./es2015/general-player-login-form.js",
|
|
10
|
-
"require": "./es2015/general-player-login-form.cjs"
|
|
11
|
-
},
|
|
12
9
|
"./es2015/general-player-login-form.cjs": "./es2015/general-player-login-form.cjs"
|
|
13
10
|
},
|
|
14
11
|
"files": [
|
|
12
|
+
"components/",
|
|
15
13
|
"es2015/",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
14
|
+
"stencil",
|
|
15
|
+
"angular",
|
|
16
|
+
"esnext/"
|
|
18
17
|
],
|
|
19
18
|
"publishConfig": {
|
|
20
19
|
"access": "public"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@everymatrix/general-player-sms-verification-form": "1.45.7"
|
|
24
20
|
}
|
|
25
21
|
}
|