@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.
@@ -1,29 +1,13 @@
1
- var Y = (o, e, i) => new Promise((n, r) => {
2
- var a = (d) => {
3
- try {
4
- c(i.next(d));
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 W(o, e) {
24
- te(o, e);
7
+ function K(o, e) {
8
+ ee(o, e);
25
9
  }
26
- const Q = {
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 fe(o) {
134
- ae(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))}");
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 ve(o) {
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 = k(e);
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 ge(o) {
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 = k(e);
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 X(o) {
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 = w("p"), n = k(i), p(e, "class", "InvalidInput");
171
+ e = k("p"), n = S(i), f(e, "class", "InvalidInput");
188
172
  },
189
- m(r, a) {
190
- H(r, e, a), l(e, n);
173
+ m(r, l) {
174
+ H(r, e, l), s(e, n);
191
175
  },
192
- p(r, a) {
193
- a & /*$_*/
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 Z(o) {
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 = w("p"), n = k(i), p(e, "class", "SmsVerificationResendMessage");
193
+ e = k("p"), n = S(i), f(e, "class", "SmsVerificationResendMessage");
210
194
  },
211
- m(r, a) {
212
- H(r, e, a), l(e, n);
195
+ m(r, l) {
196
+ H(r, e, l), s(e, n);
213
197
  },
214
- p(r, a) {
215
- a & /*$_*/
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 $(o) {
208
+ function Z(o) {
225
209
  let e, i, n = (
226
210
  /*secondsLeft*/
227
211
  o[4] < 10 ? "0" : ""
228
- ), r, a, m;
212
+ ), r, l, v;
229
213
  return {
230
214
  c() {
231
- e = w("span"), i = k("(0:"), r = k(n), a = k(
215
+ e = k("span"), i = S("(0:"), r = S(n), l = S(
232
216
  /*secondsLeft*/
233
217
  o[4]
234
- ), m = k(")"), p(e, "class", "SmsVerificationResendTimer");
218
+ ), v = S(")"), f(e, "class", "SmsVerificationResendTimer");
235
219
  },
236
- m(c, d) {
237
- H(c, e, d), l(e, i), l(e, r), l(e, a), l(e, m);
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(c, d) {
240
- d & /*secondsLeft*/
223
+ p(g, p) {
224
+ p & /*secondsLeft*/
241
225
  16 && n !== (n = /*secondsLeft*/
242
- c[4] < 10 ? "0" : "") && C(r, n), d & /*secondsLeft*/
226
+ g[4] < 10 ? "0" : "") && C(r, n), p & /*secondsLeft*/
243
227
  16 && C(
244
- a,
228
+ l,
245
229
  /*secondsLeft*/
246
- c[4]
230
+ g[4]
247
231
  );
248
232
  },
249
- d(c) {
250
- c && N(e);
233
+ d(g) {
234
+ g && N(e);
251
235
  }
252
236
  };
253
237
  }
254
- function pe(o) {
255
- let e, i, n, r, a, m = (
238
+ function ge(o) {
239
+ let e, i, n, r, l, v = (
256
240
  /*$_*/
257
241
  o[5]("code") + ""
258
- ), c, d, y, F, u, j, _, I, M, h, R = (
242
+ ), g, p, w, F, d, j, _, I, M, y, R = (
259
243
  /*$_*/
260
244
  o[5]("activate") + ""
261
- ), V, T, S, P = (
245
+ ), V, T, b, P = (
262
246
  /*$_*/
263
247
  o[5]("resend") + ""
264
248
  ), D, L, U, B;
265
- function O(t, s) {
249
+ function O(t, a) {
266
250
  return (
267
251
  /*isSmsValid*/
268
- t[2] ? ge : ve
252
+ t[2] ? ve : fe
269
253
  );
270
254
  }
271
- let A = O(o), b = A(o), f = !/*isSmsValid*/
272
- o[2] && X(o), v = (
255
+ let A = O(o), h = A(o), c = !/*isSmsValid*/
256
+ o[2] && Q(o), u = (
273
257
  /*timer*/
274
- o[3] && Z(o)
275
- ), g = (
258
+ o[3] && X(o)
259
+ ), m = (
276
260
  /*timer*/
277
- o[3] && $(o)
261
+ o[3] && Z(o)
278
262
  );
279
263
  return {
280
264
  c() {
281
- e = w("div"), i = w("h3"), b.c(), n = z(), r = w("div"), a = w("label"), c = k(m), d = k(":"), y = w("span"), y.textContent = "*", F = z(), u = w("input"), j = z(), f && f.c(), I = z(), v && v.c(), M = z(), h = w("button"), V = k(R), T = z(), S = w("button"), D = k(P), L = z(), g && g.c(), p(i, "class", "Title"), p(y, "class", "FormRequired"), p(a, "for", "SmsCode"), p(u, "type", "text"), p(u, "id", "SmsCode"), p(u, "inputmode", "numeric"), p(u, "pattern", "[0-9]*"), p(u, "maxlength", "6"), p(r, "class", _ = "Field SmsVerificationField " + (/*isSmsValid*/
282
- o[2] ? "" : "InvalidField")), p(h, "class", "Button SmsVerificationValidate"), p(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
283
- o[3], p(e, "class", "Container SmsVerificationContainer");
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, s) {
286
- H(t, e, s), l(e, i), b.m(i, null), l(e, n), l(e, r), l(r, a), l(a, c), l(a, d), l(a, y), l(r, F), l(r, u), G(
287
- u,
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
- ), l(r, j), f && f.m(r, null), l(e, I), v && v.m(e, null), l(e, M), l(e, h), l(h, V), l(e, T), l(e, S), l(S, D), l(S, L), g && g.m(S, null), o[19](e), U || (B = [
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
- u,
276
+ d,
293
277
  "input",
294
278
  /*input_input_handler*/
295
279
  o[17]
296
280
  ),
297
281
  q(
298
- u,
282
+ d,
299
283
  "keydown",
300
284
  /*keydown_handler*/
301
285
  o[18]
302
286
  ),
303
287
  q(
304
- h,
288
+ y,
305
289
  "click",
306
290
  /*activateUser*/
307
291
  o[6]
308
292
  ),
309
293
  q(
310
- S,
294
+ b,
311
295
  "click",
312
296
  /*resendCode*/
313
297
  o[7]
314
298
  )
315
299
  ], U = !0);
316
300
  },
317
- p(t, [s]) {
318
- A === (A = O(t)) && b ? b.p(t, s) : (b.d(1), b = A(t), b && (b.c(), b.m(i, null))), s & /*$_*/
319
- 32 && m !== (m = /*$_*/
320
- t[5]("code") + "") && C(c, m), s & /*smsCode*/
321
- 2 && u.value !== /*smsCode*/
322
- t[1] && G(
323
- u,
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] ? f && (f.d(1), f = null) : f ? f.p(t, s) : (f = X(t), f.c(), f.m(r, null)), s & /*isSmsValid*/
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")) && p(r, "class", _), /*timer*/
330
- t[3] ? v ? v.p(t, s) : (v = Z(t), v.c(), v.m(e, M)) : v && (v.d(1), v = null), s & /*$_*/
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), s & /*$_*/
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] ? g ? g.p(t, s) : (g = $(t), g.c(), g.m(S, null)) : g && (g.d(1), g = null), s & /*timer*/
336
- 8 && (S.disabled = /*timer*/
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: K,
340
- o: K,
323
+ i: G,
324
+ o: G,
341
325
  d(t) {
342
- t && N(e), b.d(), f && f.d(), v && v.d(), g && g.d(), o[19](null), U = !1, se(B);
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 ye(o, e, i) {
330
+ function pe(o, e, i) {
347
331
  let n;
348
- le(o, ue, (t) => i(5, n = t));
349
- let { endpoint: r = "" } = e, { tokenid: a = "" } = e, { playerid: m = "" } = e, { smstemplate: c = "Please use this code {0} to activate your accout" } = e, { number: d = "" } = e, { clientstyling: y = "" } = e, { clientstylingurl: F = "" } = e, { translationurl: u = "" } = e, j, _ = !0, I = !1, M, h, R = +localStorage.getItem("smsTimer") || 0, V = Date.now() / 1e3 - R, T = 60 - Math.floor(V);
350
- const S = { numeric: /^[0-9]{0,6}$/ };
351
- me({ withLocale: "en", translations: {} });
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(u).then((s) => s.json()).then((s) => {
354
- Object.keys(s).forEach((x) => {
355
- W(x, s[x]);
337
+ fetch(d).then((a) => a.json()).then((a) => {
338
+ Object.keys(a).forEach((x) => {
339
+ K(x, a[x]);
356
340
  });
357
- }).catch((s) => {
358
- console.log(s);
341
+ }).catch((a) => {
342
+ console.log(a);
359
343
  });
360
344
  };
361
- Object.keys(Q).forEach((t) => {
362
- W(t, Q[t]);
345
+ Object.keys(W).forEach((t) => {
346
+ K(t, W[t]);
363
347
  });
364
- const D = () => Y(this, null, function* () {
348
+ const D = async () => {
365
349
  try {
366
- if ((yield fetch(`${r}/v1/player/${m}/activateSMS?tokenId=${a}&validationCode=${j}`, {
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
- }), L = () => Y(this, null, function* () {
371
+ }, L = async () => {
388
372
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), A();
389
373
  try {
390
- const t = yield fetch(`${r}/v1/player/sms/token`, {
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: m,
398
- messageTemplate: c,
399
- destination: d
381
+ userId: v,
382
+ messageTemplate: g,
383
+ destination: p
400
384
  })
401
- }), s = yield t.json();
385
+ }), a = await t.json();
402
386
  if (t.ok)
403
- i(9, a = s.id), I = !1, U();
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
- }), U = () => {
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 = y, h.appendChild(t);
397
+ t.innerHTML = w, y.appendChild(t);
414
398
  }, O = () => {
415
- let t = new URL(F), s = document.createElement("style");
399
+ let t = new URL(F), a = document.createElement("style");
416
400
  fetch(t.href).then((x) => x.text()).then((x) => {
417
- s.innerHTML = x, setTimeout(
401
+ a.innerHTML = x, setTimeout(
418
402
  () => {
419
- h.appendChild(s);
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
- }, b = (t) => {
436
- !S.numeric.test(t.key) && t.keyCode !== 8 && t.keyCode !== 9 && t.keyCode !== 46 && t.preventDefault();
419
+ }, h = (t) => {
420
+ !b.numeric.test(t.key) && t.keyCode !== 8 && t.keyCode !== 9 && t.keyCode !== 46 && t.preventDefault();
437
421
  };
438
- de(() => {
439
- if (!m || !d) {
422
+ le(() => {
423
+ if (!v || !p) {
440
424
  let t = JSON.parse(localStorage.getItem("playerData"));
441
- i(10, m = t.playerid), i(11, d = t.number);
425
+ i(10, v = t.playerid), i(11, p = t.number);
442
426
  }
443
427
  A();
444
428
  });
445
- function f() {
429
+ function c() {
446
430
  j = this.value, i(1, j);
447
431
  }
448
- const v = (t) => b(t);
449
- function g(t) {
450
- ce[t ? "unshift" : "push"](() => {
451
- h = t, i(0, h);
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, a = t.tokenid), "playerid" in t && i(10, m = t.playerid), "smstemplate" in t && i(13, c = t.smstemplate), "number" in t && i(11, d = t.number), "clientstyling" in t && i(14, y = t.clientstyling), "clientstylingurl" in t && i(15, F = t.clientstylingurl), "translationurl" in t && i(16, u = t.translationurl);
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 && y && h && B(), o.$$.dirty & /*clientstylingurl, customStylingContainer*/
460
- 32769 && F && h && O(), o.$$.dirty & /*translationurl*/
461
- 65536 && u && P();
443
+ 16385 && w && y && B(), o.$$.dirty & /*clientstylingurl, customStylingContainer*/
444
+ 32769 && F && y && O(), o.$$.dirty & /*translationurl*/
445
+ 65536 && d && P();
462
446
  }, [
463
- h,
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
- b,
472
- a,
473
- m,
474
- d,
455
+ h,
456
+ l,
457
+ v,
458
+ p,
475
459
  r,
476
- c,
477
- y,
460
+ g,
461
+ w,
478
462
  F,
463
+ d,
464
+ c,
479
465
  u,
480
- f,
481
- v,
482
- g
466
+ m
483
467
  ];
484
468
  }
485
- class he extends ie {
469
+ class ye extends te {
486
470
  constructor(e) {
487
- super(), oe(
471
+ super(), ie(
488
472
  this,
489
473
  e,
490
- ye,
491
474
  pe,
492
- ne,
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
- fe
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
- re(he, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
539
+ oe(ye, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
556
540
  export {
557
- he as default
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.0",
4
+ "version": "1.53.10",
4
5
  "type": "module",
5
- "main": "es2015/general-player-login-form.cjs",
6
- "module": "es2015/general-player-login-form.js",
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
- "components",
17
- "stencil"
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
  }