@everymatrix/general-player-login-form 1.87.25 → 1.87.27

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,29 @@
1
- var D = (o, e, i) => new Promise((a, r) => {
2
- var s = (d) => {
1
+ var D = (o, e, i) => new Promise((n, r) => {
2
+ var a = (d) => {
3
3
  try {
4
4
  c(i.next(d));
5
- } catch (b) {
6
- r(b);
5
+ } catch (h) {
6
+ r(h);
7
7
  }
8
8
  }, m = (d) => {
9
9
  try {
10
10
  c(i.throw(d));
11
- } catch (b) {
12
- r(b);
11
+ } catch (h) {
12
+ r(h);
13
13
  }
14
- }, c = (d) => d.done ? a(d.value) : Promise.resolve(d.value).then(s, m);
14
+ }, c = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(a, m);
15
15
  c((i = i.apply(o, e)).next());
16
16
  });
17
- import { $ as Y, a as $, b as ee, S as te, i as ie, s as oe, f as M, c as re, n as J, d as R, r as ne, e as E, g as G, h as y, j as P, k as l, l as L, m as w, o as z, t as k, p as ae, q as se, u as le, v as de, w as ce, x as ue, y as me, z as fe } from "./GeneralPlayerLoginForm-DPsX1pnl.js";
18
- function ve({ withLocale: o, translations: e }) {
19
- Y.subscribe((i) => {
20
- i == null && ($.set(e), Y.set(o));
17
+ import { $ as J, a as ee, b as te, S as ie, i as oe, s as re, f as E, c as ne, n as G, d as R, r as ae, e as T, g as K, h as p, j as P, k as s, l as L, m as w, o as I, t as k, p as se, q as le, u as de, v as ce, w as ue, x as me, y as fe, z as ve } from "./GeneralPlayerLoginForm-fh6xw16x.js";
18
+ function ge({ withLocale: o, translations: e }) {
19
+ J.subscribe((i) => {
20
+ i == null && (ee.set(e), J.set(o));
21
21
  });
22
22
  }
23
- function K(o, e) {
24
- ee(o, e);
23
+ function W(o, e) {
24
+ te(o, e);
25
25
  }
26
- const W = {
26
+ const Q = {
27
27
  en: {
28
28
  title: "Please enter the verification code you received on your number",
29
29
  errorTitle: "Your code was invalid, you can resend the code and try again",
@@ -130,10 +130,10 @@ const W = {
130
130
  loginSMSHint: "A new verification code has been sent to your phone number"
131
131
  }
132
132
  };
133
- function ge(o) {
134
- re(o, "svelte-c25n4u", "*,*::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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));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
- }
136
133
  function pe(o) {
134
+ ne(o, "svelte-c25n4u", "*,*::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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));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
+ }
136
+ function ye(o) {
137
137
  let e = (
138
138
  /*$_*/
139
139
  o[5]("errorTitle") + ""
@@ -142,20 +142,20 @@ function pe(o) {
142
142
  c() {
143
143
  i = k(e);
144
144
  },
145
- m(a, r) {
146
- P(a, i, r);
145
+ m(n, r) {
146
+ P(n, i, r);
147
147
  },
148
- p(a, r) {
148
+ p(n, r) {
149
149
  r & /*$_*/
150
150
  32 && e !== (e = /*$_*/
151
- a[5]("errorTitle") + "") && E(i, e);
151
+ n[5]("errorTitle") + "") && T(i, e);
152
152
  },
153
- d(a) {
154
- a && R(i);
153
+ d(n) {
154
+ n && R(i);
155
155
  }
156
156
  };
157
157
  }
158
- function ye(o) {
158
+ function he(o) {
159
159
  let e = (
160
160
  /*$_*/
161
161
  o[5]("title") + ""
@@ -164,84 +164,84 @@ function ye(o) {
164
164
  c() {
165
165
  i = k(e);
166
166
  },
167
- m(a, r) {
168
- P(a, i, r);
167
+ m(n, r) {
168
+ P(n, i, r);
169
169
  },
170
- p(a, r) {
170
+ p(n, r) {
171
171
  r & /*$_*/
172
172
  32 && e !== (e = /*$_*/
173
- a[5]("title") + "") && E(i, e);
173
+ n[5]("title") + "") && T(i, e);
174
174
  },
175
- d(a) {
176
- a && R(i);
175
+ d(n) {
176
+ n && R(i);
177
177
  }
178
178
  };
179
179
  }
180
- function Q(o) {
180
+ function X(o) {
181
181
  let e, i = (
182
182
  /*$_*/
183
183
  o[5]("smsCodeError") + ""
184
- ), a;
184
+ ), n;
185
185
  return {
186
186
  c() {
187
- e = w("p"), a = k(i), y(e, "class", "InvalidInput");
187
+ e = w("p"), n = k(i), p(e, "class", "InvalidInput");
188
188
  },
189
- m(r, s) {
190
- P(r, e, s), l(e, a);
189
+ m(r, a) {
190
+ P(r, e, a), s(e, n);
191
191
  },
192
- p(r, s) {
193
- s & /*$_*/
192
+ p(r, a) {
193
+ a & /*$_*/
194
194
  32 && i !== (i = /*$_*/
195
- r[5]("smsCodeError") + "") && E(a, i);
195
+ r[5]("smsCodeError") + "") && T(n, i);
196
196
  },
197
197
  d(r) {
198
198
  r && R(e);
199
199
  }
200
200
  };
201
201
  }
202
- function X(o) {
202
+ function Z(o) {
203
203
  let e, i = (
204
204
  /*$_*/
205
205
  o[5]("resendMessage") + ""
206
- ), a;
206
+ ), n;
207
207
  return {
208
208
  c() {
209
- e = w("p"), a = k(i), y(e, "class", "SmsVerificationResendMessage");
209
+ e = w("p"), n = k(i), p(e, "class", "SmsVerificationResendMessage");
210
210
  },
211
- m(r, s) {
212
- P(r, e, s), l(e, a);
211
+ m(r, a) {
212
+ P(r, e, a), s(e, n);
213
213
  },
214
- p(r, s) {
215
- s & /*$_*/
214
+ p(r, a) {
215
+ a & /*$_*/
216
216
  32 && i !== (i = /*$_*/
217
- r[5]("resendMessage") + "") && E(a, i);
217
+ r[5]("resendMessage") + "") && T(n, i);
218
218
  },
219
219
  d(r) {
220
220
  r && R(e);
221
221
  }
222
222
  };
223
223
  }
224
- function Z(o) {
225
- let e, i, a = (
224
+ function $(o) {
225
+ let e, i, n = (
226
226
  /*secondsLeft*/
227
227
  o[4] < 10 ? "0" : ""
228
- ), r, s, m;
228
+ ), r, a, m;
229
229
  return {
230
230
  c() {
231
- e = w("span"), i = k("(0:"), r = k(a), s = k(
231
+ e = w("span"), i = k("(0:"), r = k(n), a = k(
232
232
  /*secondsLeft*/
233
233
  o[4]
234
- ), m = k(")"), y(e, "class", "SmsVerificationResendTimer");
234
+ ), m = k(")"), p(e, "class", "SmsVerificationResendTimer");
235
235
  },
236
236
  m(c, d) {
237
- P(c, e, d), l(e, i), l(e, r), l(e, s), l(e, m);
237
+ P(c, e, d), s(e, i), s(e, r), s(e, a), s(e, m);
238
238
  },
239
239
  p(c, d) {
240
240
  d & /*secondsLeft*/
241
- 16 && a !== (a = /*secondsLeft*/
242
- c[4] < 10 ? "0" : "") && E(r, a), d & /*secondsLeft*/
243
- 16 && E(
244
- s,
241
+ 16 && n !== (n = /*secondsLeft*/
242
+ c[4] < 10 ? "0" : "") && T(r, n), d & /*secondsLeft*/
243
+ 16 && T(
244
+ a,
245
245
  /*secondsLeft*/
246
246
  c[4]
247
247
  );
@@ -251,43 +251,43 @@ function Z(o) {
251
251
  }
252
252
  };
253
253
  }
254
- function he(o) {
255
- let e, i, a, r, s, m = (
254
+ function be(o) {
255
+ let e, i, n, r, a, m = (
256
256
  /*$_*/
257
257
  o[5]("code") + ""
258
- ), c, d, b, T, u, F, C, I, j, _, h = (
258
+ ), c, d, h, F, u, j, M, V, A, _, y = (
259
259
  /*$_*/
260
260
  o[5]("activate") + ""
261
- ), x, B, f, V = (
261
+ ), x, H, b, C = (
262
262
  /*$_*/
263
263
  o[5]("resend") + ""
264
- ), U, q, N, H;
265
- function O(n, p) {
264
+ ), B, O, U, q;
265
+ function N(t, l) {
266
266
  return (
267
267
  /*isSmsValid*/
268
- n[2] ? ye : pe
268
+ t[2] ? he : ye
269
269
  );
270
270
  }
271
- let A = O(o), S = A(o), v = !/*isSmsValid*/
272
- o[2] && Q(o), g = (
273
- /*timer*/
274
- o[3] && X(o)
275
- ), t = (
271
+ let z = N(o), S = z(o), f = !/*isSmsValid*/
272
+ o[2] && X(o), v = (
276
273
  /*timer*/
277
274
  o[3] && Z(o)
275
+ ), g = (
276
+ /*timer*/
277
+ o[3] && $(o)
278
278
  );
279
279
  return {
280
280
  c() {
281
- e = w("div"), i = w("h3"), S.c(), a = z(), r = w("div"), s = w("label"), c = k(m), d = k(":"), b = w("span"), b.textContent = "*", T = z(), u = w("input"), F = z(), v && v.c(), I = z(), g && g.c(), j = z(), _ = w("button"), x = k(h), B = z(), f = w("button"), U = k(V), q = z(), t && t.c(), y(i, "class", "Title"), y(b, "class", "FormRequired"), y(s, "for", "SmsCode"), y(u, "type", "text"), y(u, "id", "SmsCode"), y(u, "inputmode", "numeric"), y(u, "pattern", "[0-9]*"), y(u, "maxlength", "6"), y(r, "class", C = "Field SmsVerificationField " + (/*isSmsValid*/
282
- o[2] ? "" : "InvalidField")), y(_, "class", "Button SmsVerificationValidate"), y(f, "class", "Button SmsVerificationResend"), f.disabled = /*timer*/
283
- o[3], y(e, "class", "Container SmsVerificationContainer");
281
+ e = w("div"), i = w("h3"), S.c(), n = I(), r = w("div"), a = w("label"), c = k(m), d = k(":"), h = w("span"), h.textContent = "*", F = I(), u = w("input"), j = I(), f && f.c(), V = I(), v && v.c(), A = I(), _ = w("button"), x = k(y), H = I(), b = w("button"), B = k(C), O = I(), g && g.c(), p(i, "class", "Title"), p(h, "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", M = "Field SmsVerificationField " + (/*isSmsValid*/
282
+ o[2] ? "" : "InvalidField")), p(_, "class", "Button SmsVerificationValidate"), p(b, "class", "Button SmsVerificationResend"), b.disabled = /*timer*/
283
+ o[3], p(e, "class", "Container SmsVerificationContainer");
284
284
  },
285
- m(n, p) {
286
- P(n, e, p), l(e, i), S.m(i, null), l(e, a), l(e, r), l(r, s), l(s, c), l(s, d), l(s, b), l(r, T), l(r, u), G(
285
+ m(t, l) {
286
+ P(t, e, l), s(e, i), S.m(i, null), s(e, n), s(e, r), s(r, a), s(a, c), s(a, d), s(a, h), s(r, F), s(r, u), K(
287
287
  u,
288
288
  /*smsCode*/
289
289
  o[1]
290
- ), l(r, F), v && v.m(r, null), l(e, I), g && g.m(e, null), l(e, j), l(e, _), l(_, x), l(e, B), l(e, f), l(f, U), l(f, q), t && t.m(f, null), o[20](e), N || (H = [
290
+ ), s(r, j), f && f.m(r, null), s(e, V), v && v.m(e, null), s(e, A), s(e, _), s(_, x), s(e, H), s(e, b), s(b, B), s(b, O), g && g.m(b, null), o[20](e), U || (q = [
291
291
  L(
292
292
  u,
293
293
  "input",
@@ -307,69 +307,69 @@ function he(o) {
307
307
  o[6]
308
308
  ),
309
309
  L(
310
- f,
310
+ b,
311
311
  "click",
312
312
  /*resendCode*/
313
313
  o[7]
314
314
  )
315
- ], N = !0);
315
+ ], U = !0);
316
316
  },
317
- p(n, [p]) {
318
- A === (A = O(n)) && S ? S.p(n, p) : (S.d(1), S = A(n), S && (S.c(), S.m(i, null))), p & /*$_*/
317
+ p(t, [l]) {
318
+ z === (z = N(t)) && S ? S.p(t, l) : (S.d(1), S = z(t), S && (S.c(), S.m(i, null))), l & /*$_*/
319
319
  32 && m !== (m = /*$_*/
320
- n[5]("code") + "") && E(c, m), p & /*smsCode*/
320
+ t[5]("code") + "") && T(c, m), l & /*smsCode*/
321
321
  2 && u.value !== /*smsCode*/
322
- n[1] && G(
322
+ t[1] && K(
323
323
  u,
324
324
  /*smsCode*/
325
- n[1]
325
+ t[1]
326
326
  ), /*isSmsValid*/
327
- n[2] ? v && (v.d(1), v = null) : v ? v.p(n, p) : (v = Q(n), v.c(), v.m(r, null)), p & /*isSmsValid*/
328
- 4 && C !== (C = "Field SmsVerificationField " + (/*isSmsValid*/
329
- n[2] ? "" : "InvalidField")) && y(r, "class", C), /*timer*/
330
- n[3] ? g ? g.p(n, p) : (g = X(n), g.c(), g.m(e, j)) : g && (g.d(1), g = null), p & /*$_*/
331
- 32 && h !== (h = /*$_*/
332
- n[5]("activate") + "") && E(x, h), p & /*$_*/
333
- 32 && V !== (V = /*$_*/
334
- n[5]("resend") + "") && E(U, V), /*timer*/
335
- n[3] ? t ? t.p(n, p) : (t = Z(n), t.c(), t.m(f, null)) : t && (t.d(1), t = null), p & /*timer*/
336
- 8 && (f.disabled = /*timer*/
337
- n[3]);
327
+ t[2] ? f && (f.d(1), f = null) : f ? f.p(t, l) : (f = X(t), f.c(), f.m(r, null)), l & /*isSmsValid*/
328
+ 4 && M !== (M = "Field SmsVerificationField " + (/*isSmsValid*/
329
+ t[2] ? "" : "InvalidField")) && p(r, "class", M), /*timer*/
330
+ t[3] ? v ? v.p(t, l) : (v = Z(t), v.c(), v.m(e, A)) : v && (v.d(1), v = null), l & /*$_*/
331
+ 32 && y !== (y = /*$_*/
332
+ t[5]("activate") + "") && T(x, y), l & /*$_*/
333
+ 32 && C !== (C = /*$_*/
334
+ t[5]("resend") + "") && T(B, C), /*timer*/
335
+ t[3] ? g ? g.p(t, l) : (g = $(t), g.c(), g.m(b, null)) : g && (g.d(1), g = null), l & /*timer*/
336
+ 8 && (b.disabled = /*timer*/
337
+ t[3]);
338
338
  },
339
- i: J,
340
- o: J,
341
- d(n) {
342
- n && R(e), S.d(), v && v.d(), g && g.d(), t && t.d(), o[20](null), N = !1, ne(H);
339
+ i: G,
340
+ o: G,
341
+ d(t) {
342
+ t && R(e), S.d(), f && f.d(), v && v.d(), g && g.d(), o[20](null), U = !1, ae(q);
343
343
  }
344
344
  };
345
345
  }
346
- function be(o, e, i) {
347
- let a;
348
- ae(o, fe, (t) => i(5, a = t));
349
- let { endpoint: r = "" } = e, { tokenid: s = "" } = e, { playerid: m = "" } = e, { smstemplate: c = "Please use this code {0} to activate your accout" } = e, { number: d = "" } = e, { mbsource: b } = e, { clientstyling: T = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: F = "" } = e, C, I = !0, j = !1, _, h, x = +localStorage.getItem("smsTimer") || 0, B = Date.now() / 1e3 - x, f = 60 - Math.floor(B);
350
- const V = { numeric: /^[0-9]{0,6}$/ };
351
- ve({ withLocale: "en", translations: {} });
352
- const U = () => {
353
- fetch(F).then((n) => n.json()).then((n) => {
354
- Object.keys(n).forEach((p) => {
355
- K(p, n[p]);
346
+ function Se(o, e, i) {
347
+ let n;
348
+ se(o, ve, (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, { mbsource: h } = e, { clientstyling: F = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: j = "" } = e, M, V = !0, A = !1, _, y, x, H = +localStorage.getItem("smsTimer") || 0, b = Date.now() / 1e3 - H, C = 60 - Math.floor(b);
350
+ const B = { numeric: /^[0-9]{0,6}$/ };
351
+ ge({ withLocale: "en", translations: {} });
352
+ const O = () => {
353
+ fetch(j).then((l) => l.json()).then((l) => {
354
+ Object.keys(l).forEach((Y) => {
355
+ W(Y, l[Y]);
356
356
  });
357
- }).catch((n) => {
358
- console.log(n);
357
+ }).catch((l) => {
358
+ console.log(l);
359
359
  });
360
360
  };
361
- Object.keys(W).forEach((t) => {
362
- K(t, W[t]);
361
+ Object.keys(Q).forEach((t) => {
362
+ W(t, Q[t]);
363
363
  });
364
- const q = () => D(this, null, function* () {
364
+ const U = () => D(this, null, function* () {
365
365
  try {
366
- if ((yield fetch(`${r}/v1/player/${m}/activateSMS?tokenId=${s}&validationCode=${C}`, {
366
+ if ((yield fetch(`${r}/v1/player/${m}/activateSMS?tokenId=${a}&validationCode=${M}`, {
367
367
  headers: {
368
368
  "Content-Type": "application/json",
369
369
  accept: "application/json"
370
370
  }
371
371
  })).ok)
372
- i(2, I = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
372
+ i(2, V = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
373
373
  else
374
374
  throw window.postMessage(
375
375
  {
@@ -380,12 +380,12 @@ function be(o, e, i) {
380
380
  }
381
381
  },
382
382
  window.location.href
383
- ), i(2, I = !1), new Error("Could not activate user");
383
+ ), i(2, V = !1), new Error("Could not activate user");
384
384
  } catch (t) {
385
385
  console.log(t);
386
386
  }
387
- }), N = () => D(this, null, function* () {
388
- localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), O();
387
+ }), q = () => D(this, null, function* () {
388
+ localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), z();
389
389
  try {
390
390
  const t = yield fetch(`${r}/v1/player/sms/token`, {
391
391
  method: "POST",
@@ -398,84 +398,84 @@ function be(o, e, i) {
398
398
  messageTemplate: c,
399
399
  destination: d
400
400
  })
401
- }), n = yield t.json();
401
+ }), l = yield t.json();
402
402
  if (t.ok)
403
- i(9, s = n.id), j = !1, H();
403
+ i(9, a = l.id), A = !1, N();
404
404
  else
405
- throw j = !0, new Error("Failed to fetch");
405
+ throw A = !0, new Error("Failed to fetch");
406
406
  } catch (t) {
407
- j = !0, console.error(t);
407
+ A = !0, console.error(t);
408
408
  }
409
- }), H = () => {
410
- f > 0 ? i(4, f--, f) : (clearInterval(_), i(3, _ = !1), i(4, f = 60));
411
- }, O = () => {
412
- B < 60 && i(3, _ = setInterval(
409
+ }), N = () => {
410
+ C > 0 ? i(4, C--, C) : (clearInterval(_), i(3, _ = !1), i(4, C = 60));
411
+ }, z = () => {
412
+ b < 60 && i(3, _ = setInterval(
413
413
  () => {
414
- H();
414
+ N();
415
415
  },
416
416
  1e3
417
417
  ));
418
- }, A = (t) => {
419
- !V.numeric.test(t.key) && t.keyCode !== 8 && t.keyCode !== 9 && t.keyCode !== 46 && t.preventDefault();
418
+ }, S = (t) => {
419
+ !B.numeric.test(t.key) && t.keyCode !== 8 && t.keyCode !== 9 && t.keyCode !== 46 && t.preventDefault();
420
420
  };
421
- se(() => {
421
+ le(() => {
422
422
  if (!m || !d) {
423
423
  let t = JSON.parse(localStorage.getItem("playerData"));
424
424
  i(10, m = t.playerid), i(11, d = t.number);
425
425
  }
426
- return O(), () => {
426
+ return z(), () => {
427
427
  };
428
428
  });
429
- function S() {
430
- C = this.value, i(1, C);
429
+ function f() {
430
+ M = this.value, i(1, M);
431
431
  }
432
- const v = (t) => A(t);
432
+ const v = (t) => S(t);
433
433
  function g(t) {
434
- le[t ? "unshift" : "push"](() => {
435
- h = t, i(0, h);
434
+ de[t ? "unshift" : "push"](() => {
435
+ y = t, i(0, y);
436
436
  });
437
437
  }
438
438
  return o.$$set = (t) => {
439
- "endpoint" in t && i(12, r = t.endpoint), "tokenid" in t && i(9, s = 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), "mbsource" in t && i(14, b = t.mbsource), "clientstyling" in t && i(15, T = t.clientstyling), "clientstylingurl" in t && i(16, u = t.clientstylingurl), "translationurl" in t && i(17, F = t.translationurl);
439
+ "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), "mbsource" in t && i(14, h = t.mbsource), "clientstyling" in t && i(15, F = t.clientstyling), "clientstylingurl" in t && i(16, u = t.clientstylingurl), "translationurl" in t && i(17, j = t.translationurl);
440
440
  }, o.$$.update = () => {
441
441
  o.$$.dirty & /*tokenid, playerid, endpoint*/
442
442
  5632, o.$$.dirty & /*clientstyling, customStylingContainer*/
443
- 32769 && T && h && de(h, T), o.$$.dirty & /*clientstylingurl, customStylingContainer*/
444
- 65537 && u && h && ce(h, u), o.$$.dirty & /*mbsource, customStylingContainer*/
445
- 16385 && b && h && ue(h, `${b}.Style`), o.$$.dirty & /*translationurl*/
446
- 131072 && F && U();
443
+ 32769 && F && y && ce(y, F), o.$$.dirty & /*clientstylingurl, customStylingContainer*/
444
+ 65537 && u && y && ue(y, u), o.$$.dirty & /*mbsource, customStylingContainer*/
445
+ 16385 && h && y && me(y, `${h}.Style`, x), o.$$.dirty & /*translationurl*/
446
+ 131072 && j && O();
447
447
  }, [
448
- h,
449
- C,
450
- I,
448
+ y,
449
+ M,
450
+ V,
451
451
  _,
452
- f,
453
- a,
452
+ C,
453
+ n,
454
+ U,
454
455
  q,
455
- N,
456
- A,
457
- s,
456
+ S,
457
+ a,
458
458
  m,
459
459
  d,
460
460
  r,
461
461
  c,
462
- b,
463
- T,
464
- u,
462
+ h,
465
463
  F,
466
- S,
464
+ u,
465
+ j,
466
+ f,
467
467
  v,
468
468
  g
469
469
  ];
470
470
  }
471
- class Se extends te {
471
+ class ke extends ie {
472
472
  constructor(e) {
473
- super(), ie(
473
+ super(), oe(
474
474
  this,
475
475
  e,
476
+ Se,
476
477
  be,
477
- he,
478
- oe,
478
+ re,
479
479
  {
480
480
  endpoint: 12,
481
481
  tokenid: 9,
@@ -487,65 +487,65 @@ class Se extends te {
487
487
  clientstylingurl: 16,
488
488
  translationurl: 17
489
489
  },
490
- ge
490
+ pe
491
491
  );
492
492
  }
493
493
  get endpoint() {
494
494
  return this.$$.ctx[12];
495
495
  }
496
496
  set endpoint(e) {
497
- this.$$set({ endpoint: e }), M();
497
+ this.$$set({ endpoint: e }), E();
498
498
  }
499
499
  get tokenid() {
500
500
  return this.$$.ctx[9];
501
501
  }
502
502
  set tokenid(e) {
503
- this.$$set({ tokenid: e }), M();
503
+ this.$$set({ tokenid: e }), E();
504
504
  }
505
505
  get playerid() {
506
506
  return this.$$.ctx[10];
507
507
  }
508
508
  set playerid(e) {
509
- this.$$set({ playerid: e }), M();
509
+ this.$$set({ playerid: e }), E();
510
510
  }
511
511
  get smstemplate() {
512
512
  return this.$$.ctx[13];
513
513
  }
514
514
  set smstemplate(e) {
515
- this.$$set({ smstemplate: e }), M();
515
+ this.$$set({ smstemplate: e }), E();
516
516
  }
517
517
  get number() {
518
518
  return this.$$.ctx[11];
519
519
  }
520
520
  set number(e) {
521
- this.$$set({ number: e }), M();
521
+ this.$$set({ number: e }), E();
522
522
  }
523
523
  get mbsource() {
524
524
  return this.$$.ctx[14];
525
525
  }
526
526
  set mbsource(e) {
527
- this.$$set({ mbsource: e }), M();
527
+ this.$$set({ mbsource: e }), E();
528
528
  }
529
529
  get clientstyling() {
530
530
  return this.$$.ctx[15];
531
531
  }
532
532
  set clientstyling(e) {
533
- this.$$set({ clientstyling: e }), M();
533
+ this.$$set({ clientstyling: e }), E();
534
534
  }
535
535
  get clientstylingurl() {
536
536
  return this.$$.ctx[16];
537
537
  }
538
538
  set clientstylingurl(e) {
539
- this.$$set({ clientstylingurl: e }), M();
539
+ this.$$set({ clientstylingurl: e }), E();
540
540
  }
541
541
  get translationurl() {
542
542
  return this.$$.ctx[17];
543
543
  }
544
544
  set translationurl(e) {
545
- this.$$set({ translationurl: e }), M();
545
+ this.$$set({ translationurl: e }), E();
546
546
  }
547
547
  }
548
- me(Se, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
548
+ fe(ke, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
549
549
  export {
550
- Se as default
550
+ ke as default
551
551
  };