@everymatrix/general-player-sms-verification-form 1.85.17 → 1.85.18
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/{GeneralPlayerSmsVerificationForm-DrZLqUeL.js → GeneralPlayerSmsVerificationForm-BHrXRKIG.js} +69 -67
- package/components/{GeneralPlayerSmsVerificationForm-CzHUxHp5.cjs → GeneralPlayerSmsVerificationForm-DTFUrEEF.cjs} +2 -2
- package/components/{GeneralPlayerSmsVerificationForm-68RetrDV.js → GeneralPlayerSmsVerificationForm-Dvn49VQa.js} +70 -68
- package/es2015/general-player-sms-verification-form.cjs +1 -1
- package/es2015/general-player-sms-verification-form.js +1 -1
- package/esnext/general-player-sms-verification-form.js +1 -1
- package/package.json +1 -1
|
@@ -572,7 +572,7 @@ ee.all = function(t, r) {
|
|
|
572
572
|
}, {});
|
|
573
573
|
};
|
|
574
574
|
var wr = ee, Pr = wr;
|
|
575
|
-
const
|
|
575
|
+
const Ir = /* @__PURE__ */ pr(Pr);
|
|
576
576
|
var De = function(e, t) {
|
|
577
577
|
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
578
578
|
r.__proto__ = n;
|
|
@@ -600,7 +600,7 @@ var F = function() {
|
|
|
600
600
|
return t;
|
|
601
601
|
}, F.apply(this, arguments);
|
|
602
602
|
};
|
|
603
|
-
function
|
|
603
|
+
function Or(e, t) {
|
|
604
604
|
var r = {};
|
|
605
605
|
for (var n in e)
|
|
606
606
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -609,24 +609,24 @@ function Ir(e, t) {
|
|
|
609
609
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
610
610
|
return r;
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function Ie(e, t, r) {
|
|
613
613
|
if (r || arguments.length === 2)
|
|
614
614
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
615
615
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
616
616
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function Oe(e, t) {
|
|
619
619
|
var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Mr;
|
|
620
620
|
return i(e, {
|
|
621
621
|
cache: r,
|
|
622
622
|
serializer: n
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Cr(e) {
|
|
626
626
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
627
627
|
}
|
|
628
628
|
function Nr(e, t, r, n) {
|
|
629
|
-
var i =
|
|
629
|
+
var i = Cr(n) ? n : r(n), o = t.get(i);
|
|
630
630
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
631
631
|
}
|
|
632
632
|
function St(e, t, r) {
|
|
@@ -661,7 +661,7 @@ var Rr = function() {
|
|
|
661
661
|
create: function() {
|
|
662
662
|
return new $r();
|
|
663
663
|
}
|
|
664
|
-
},
|
|
664
|
+
}, Ce = {
|
|
665
665
|
variadic: Lr
|
|
666
666
|
}, _e = function() {
|
|
667
667
|
return _e = Object.assign || function(t) {
|
|
@@ -709,16 +709,16 @@ function Pt(e) {
|
|
|
709
709
|
function Fr(e) {
|
|
710
710
|
return e.type === E.pound;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function It(e) {
|
|
713
713
|
return e.type === E.tag;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function Ot(e) {
|
|
716
716
|
return !!(e && typeof e == "object" && e.type === te.number);
|
|
717
717
|
}
|
|
718
718
|
function Fe(e) {
|
|
719
719
|
return !!(e && typeof e == "object" && e.type === te.dateTime);
|
|
720
720
|
}
|
|
721
|
-
var
|
|
721
|
+
var Ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
722
722
|
function kr(e) {
|
|
723
723
|
var t = {};
|
|
724
724
|
return e.replace(Gr, function(r) {
|
|
@@ -2484,7 +2484,7 @@ function Qr(e) {
|
|
|
2484
2484
|
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2485
2485
|
return i[0];
|
|
2486
2486
|
}
|
|
2487
|
-
var Ne, qr = new RegExp("^".concat(
|
|
2487
|
+
var Ne, qr = new RegExp("^".concat(Ct.source, "*")), Yr = new RegExp("".concat(Ct.source, "*$"));
|
|
2488
2488
|
function b(e, t) {
|
|
2489
2489
|
return { start: e, end: t };
|
|
2490
2490
|
}
|
|
@@ -2838,7 +2838,7 @@ var cn = (
|
|
|
2838
2838
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2839
2839
|
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(B, _e({}, B)));
|
|
2840
2840
|
this.bumpSpace();
|
|
2841
|
-
var x = this.parseIdentifierIfPossible(),
|
|
2841
|
+
var x = this.parseIdentifierIfPossible(), C = 0;
|
|
2842
2842
|
if (s !== "select" && x.value === "offset") {
|
|
2843
2843
|
if (!this.bumpIf(":"))
|
|
2844
2844
|
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
@@ -2846,7 +2846,7 @@ var cn = (
|
|
|
2846
2846
|
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2847
2847
|
if (c.err)
|
|
2848
2848
|
return c;
|
|
2849
|
-
this.bumpSpace(), x = this.parseIdentifierIfPossible(),
|
|
2849
|
+
this.bumpSpace(), x = this.parseIdentifierIfPossible(), C = c.val;
|
|
2850
2850
|
}
|
|
2851
2851
|
var D = this.tryParsePluralOrSelectOptions(t, s, r, x);
|
|
2852
2852
|
if (D.err)
|
|
@@ -2868,7 +2868,7 @@ var cn = (
|
|
|
2868
2868
|
type: E.plural,
|
|
2869
2869
|
value: n,
|
|
2870
2870
|
options: st(D.val),
|
|
2871
|
-
offset:
|
|
2871
|
+
offset: C,
|
|
2872
2872
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2873
2873
|
location: V
|
|
2874
2874
|
},
|
|
@@ -3062,7 +3062,7 @@ function Xe(e) {
|
|
|
3062
3062
|
for (var r in t.options)
|
|
3063
3063
|
delete t.options[r].location, Xe(t.options[r].value);
|
|
3064
3064
|
else
|
|
3065
|
-
Ht(t) &&
|
|
3065
|
+
Ht(t) && Ot(t.style) || (At(t) || Bt(t)) && Fe(t.style) ? delete t.style.location : It(t) && Xe(t.children);
|
|
3066
3066
|
});
|
|
3067
3067
|
}
|
|
3068
3068
|
function pn(e, t) {
|
|
@@ -3117,14 +3117,14 @@ var Ae = (
|
|
|
3117
3117
|
}
|
|
3118
3118
|
return t;
|
|
3119
3119
|
}(Ae)
|
|
3120
|
-
),
|
|
3120
|
+
), O;
|
|
3121
3121
|
(function(e) {
|
|
3122
3122
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3123
|
-
})(
|
|
3123
|
+
})(O || (O = {}));
|
|
3124
3124
|
function vn(e) {
|
|
3125
3125
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3126
3126
|
var n = t[t.length - 1];
|
|
3127
|
-
return !n || n.type !==
|
|
3127
|
+
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3128
3128
|
}, []);
|
|
3129
3129
|
}
|
|
3130
3130
|
function yn(e) {
|
|
@@ -3134,7 +3134,7 @@ function ye(e, t, r, n, i, o, a) {
|
|
|
3134
3134
|
if (e.length === 1 && tt(e[0]))
|
|
3135
3135
|
return [
|
|
3136
3136
|
{
|
|
3137
|
-
type:
|
|
3137
|
+
type: O.literal,
|
|
3138
3138
|
value: e[0].value
|
|
3139
3139
|
}
|
|
3140
3140
|
];
|
|
@@ -3142,14 +3142,14 @@ function ye(e, t, r, n, i, o, a) {
|
|
|
3142
3142
|
var l = u[h];
|
|
3143
3143
|
if (tt(l)) {
|
|
3144
3144
|
s.push({
|
|
3145
|
-
type:
|
|
3145
|
+
type: O.literal,
|
|
3146
3146
|
value: l.value
|
|
3147
3147
|
});
|
|
3148
3148
|
continue;
|
|
3149
3149
|
}
|
|
3150
3150
|
if (Fr(l)) {
|
|
3151
3151
|
typeof o == "number" && s.push({
|
|
3152
|
-
type:
|
|
3152
|
+
type: O.literal,
|
|
3153
3153
|
value: r.getNumberFormat(t).format(o)
|
|
3154
3154
|
});
|
|
3155
3155
|
continue;
|
|
@@ -3160,7 +3160,7 @@ function ye(e, t, r, n, i, o, a) {
|
|
|
3160
3160
|
var d = i[c];
|
|
3161
3161
|
if (Dr(l)) {
|
|
3162
3162
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
|
|
3163
|
-
type: typeof d == "string" ?
|
|
3163
|
+
type: typeof d == "string" ? O.literal : O.object,
|
|
3164
3164
|
value: d
|
|
3165
3165
|
});
|
|
3166
3166
|
continue;
|
|
@@ -3168,7 +3168,7 @@ function ye(e, t, r, n, i, o, a) {
|
|
|
3168
3168
|
if (At(l)) {
|
|
3169
3169
|
var g = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
|
|
3170
3170
|
s.push({
|
|
3171
|
-
type:
|
|
3171
|
+
type: O.literal,
|
|
3172
3172
|
value: r.getDateTimeFormat(t, g).format(d)
|
|
3173
3173
|
});
|
|
3174
3174
|
continue;
|
|
@@ -3176,30 +3176,30 @@ function ye(e, t, r, n, i, o, a) {
|
|
|
3176
3176
|
if (Bt(l)) {
|
|
3177
3177
|
var g = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3178
3178
|
s.push({
|
|
3179
|
-
type:
|
|
3179
|
+
type: O.literal,
|
|
3180
3180
|
value: r.getDateTimeFormat(t, g).format(d)
|
|
3181
3181
|
});
|
|
3182
3182
|
continue;
|
|
3183
3183
|
}
|
|
3184
3184
|
if (Ht(l)) {
|
|
3185
|
-
var g = typeof l.style == "string" ? n.number[l.style] :
|
|
3185
|
+
var g = typeof l.style == "string" ? n.number[l.style] : Ot(l.style) ? l.style.parsedOptions : void 0;
|
|
3186
3186
|
g && g.scale && (d = d * (g.scale || 1)), s.push({
|
|
3187
|
-
type:
|
|
3187
|
+
type: O.literal,
|
|
3188
3188
|
value: r.getNumberFormat(t, g).format(d)
|
|
3189
3189
|
});
|
|
3190
3190
|
continue;
|
|
3191
3191
|
}
|
|
3192
|
-
if (
|
|
3192
|
+
if (It(l)) {
|
|
3193
3193
|
var v = l.children, _ = l.value, T = i[_];
|
|
3194
3194
|
if (!yn(T))
|
|
3195
3195
|
throw new bn(_, "function", a);
|
|
3196
|
-
var H = ye(v, t, r, n, i, o), L = T(H.map(function(
|
|
3197
|
-
return
|
|
3196
|
+
var H = ye(v, t, r, n, i, o), L = T(H.map(function(C) {
|
|
3197
|
+
return C.value;
|
|
3198
3198
|
}));
|
|
3199
|
-
Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(
|
|
3199
|
+
Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(C) {
|
|
3200
3200
|
return {
|
|
3201
|
-
type: typeof
|
|
3202
|
-
value:
|
|
3201
|
+
type: typeof C == "string" ? O.literal : O.object,
|
|
3202
|
+
value: C
|
|
3203
3203
|
};
|
|
3204
3204
|
}));
|
|
3205
3205
|
}
|
|
@@ -3258,29 +3258,29 @@ function xn(e) {
|
|
|
3258
3258
|
dateTime: {},
|
|
3259
3259
|
pluralRules: {}
|
|
3260
3260
|
}), {
|
|
3261
|
-
getNumberFormat:
|
|
3261
|
+
getNumberFormat: Oe(function() {
|
|
3262
3262
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3263
3263
|
r[n] = arguments[n];
|
|
3264
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3264
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3265
3265
|
}, {
|
|
3266
3266
|
cache: Me(e.number),
|
|
3267
|
-
strategy:
|
|
3267
|
+
strategy: Ce.variadic
|
|
3268
3268
|
}),
|
|
3269
|
-
getDateTimeFormat:
|
|
3269
|
+
getDateTimeFormat: Oe(function() {
|
|
3270
3270
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3271
3271
|
r[n] = arguments[n];
|
|
3272
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3272
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3273
3273
|
}, {
|
|
3274
3274
|
cache: Me(e.dateTime),
|
|
3275
|
-
strategy:
|
|
3275
|
+
strategy: Ce.variadic
|
|
3276
3276
|
}),
|
|
3277
|
-
getPluralRules:
|
|
3277
|
+
getPluralRules: Oe(function() {
|
|
3278
3278
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3279
3279
|
r[n] = arguments[n];
|
|
3280
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3280
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3281
3281
|
}, {
|
|
3282
3282
|
cache: Me(e.pluralRules),
|
|
3283
|
-
strategy:
|
|
3283
|
+
strategy: Ce.variadic
|
|
3284
3284
|
})
|
|
3285
3285
|
};
|
|
3286
3286
|
}
|
|
@@ -3299,7 +3299,7 @@ var Sn = (
|
|
|
3299
3299
|
if (u.length === 1)
|
|
3300
3300
|
return u[0].value;
|
|
3301
3301
|
var l = u.reduce(function(c, d) {
|
|
3302
|
-
return !c.length || d.type !==
|
|
3302
|
+
return !c.length || d.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
|
|
3303
3303
|
}, []);
|
|
3304
3304
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3305
3305
|
}, this.formatToParts = function(h) {
|
|
@@ -3316,7 +3316,7 @@ var Sn = (
|
|
|
3316
3316
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3317
3317
|
var a = i || {};
|
|
3318
3318
|
a.formatters;
|
|
3319
|
-
var s =
|
|
3319
|
+
var s = Or(a, ["formatters"]);
|
|
3320
3320
|
this.ast = e.__parse(t, F(F({}, s), { locale: this.resolvedLocale }));
|
|
3321
3321
|
} else
|
|
3322
3322
|
this.ast = t;
|
|
@@ -3454,7 +3454,7 @@ function wn(e) {
|
|
|
3454
3454
|
}
|
|
3455
3455
|
}
|
|
3456
3456
|
function Gt(e, ...t) {
|
|
3457
|
-
delete k[e], se.update((r) => (r[e] =
|
|
3457
|
+
delete k[e], se.update((r) => (r[e] = Ir.all([r[e] || {}, ...t]), r));
|
|
3458
3458
|
}
|
|
3459
3459
|
oe(
|
|
3460
3460
|
[se],
|
|
@@ -3468,7 +3468,7 @@ function Pn(e, t) {
|
|
|
3468
3468
|
function kt(e) {
|
|
3469
3469
|
return Ee[e];
|
|
3470
3470
|
}
|
|
3471
|
-
function
|
|
3471
|
+
function In(e) {
|
|
3472
3472
|
return Be(e).map((t) => {
|
|
3473
3473
|
const r = kt(t);
|
|
3474
3474
|
return [t, r ? [...r] : []];
|
|
@@ -3482,7 +3482,7 @@ function ze(e) {
|
|
|
3482
3482
|
}
|
|
3483
3483
|
);
|
|
3484
3484
|
}
|
|
3485
|
-
function
|
|
3485
|
+
function On(e, t) {
|
|
3486
3486
|
return Promise.all(
|
|
3487
3487
|
t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
|
|
3488
3488
|
).then((n) => Gt(e, ...n));
|
|
@@ -3491,10 +3491,10 @@ const ce = {};
|
|
|
3491
3491
|
function jt(e) {
|
|
3492
3492
|
if (!ze(e))
|
|
3493
3493
|
return e in ce ? ce[e] : Promise.resolve();
|
|
3494
|
-
const t =
|
|
3494
|
+
const t = In(e);
|
|
3495
3495
|
return ce[e] = Promise.all(
|
|
3496
3496
|
t.map(
|
|
3497
|
-
([r, n]) =>
|
|
3497
|
+
([r, n]) => On(r, n)
|
|
3498
3498
|
)
|
|
3499
3499
|
).then(() => {
|
|
3500
3500
|
if (ze(e))
|
|
@@ -3502,7 +3502,7 @@ function jt(e) {
|
|
|
3502
3502
|
delete ce[e];
|
|
3503
3503
|
}), ce[e];
|
|
3504
3504
|
}
|
|
3505
|
-
const
|
|
3505
|
+
const Cn = {
|
|
3506
3506
|
number: {
|
|
3507
3507
|
scientific: { notation: "scientific" },
|
|
3508
3508
|
engineering: { notation: "engineering" },
|
|
@@ -3534,7 +3534,7 @@ const On = {
|
|
|
3534
3534
|
}, Nn = {
|
|
3535
3535
|
fallbackLocale: null,
|
|
3536
3536
|
loadingDelay: 200,
|
|
3537
|
-
formats:
|
|
3537
|
+
formats: Cn,
|
|
3538
3538
|
warnOnMissingMessages: !0,
|
|
3539
3539
|
handleMissingMessage: void 0,
|
|
3540
3540
|
ignoreTag: !0
|
|
@@ -3818,6 +3818,8 @@ function ii(e, t) {
|
|
|
3818
3818
|
}
|
|
3819
3819
|
}
|
|
3820
3820
|
function oi(e, t) {
|
|
3821
|
+
if (!e || !t)
|
|
3822
|
+
return;
|
|
3821
3823
|
const r = new URL(t);
|
|
3822
3824
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3823
3825
|
const i = document.createElement("style");
|
|
@@ -3962,11 +3964,11 @@ function hi(e) {
|
|
|
3962
3964
|
), s, h, u, l, c, d, g, v, _, T, H = (
|
|
3963
3965
|
/*$_*/
|
|
3964
3966
|
e[5]("activate") + ""
|
|
3965
|
-
), L, B, x,
|
|
3967
|
+
), L, B, x, C = (
|
|
3966
3968
|
/*$_*/
|
|
3967
3969
|
e[5]("resend") + ""
|
|
3968
3970
|
), D, V, ue, le;
|
|
3969
|
-
function he(p,
|
|
3971
|
+
function he(p, I) {
|
|
3970
3972
|
return (
|
|
3971
3973
|
/*isSmsValid*/
|
|
3972
3974
|
p[2] ? li : ui
|
|
@@ -3982,12 +3984,12 @@ function hi(e) {
|
|
|
3982
3984
|
);
|
|
3983
3985
|
return {
|
|
3984
3986
|
c() {
|
|
3985
|
-
t = N("div"), r = N("h3"), R.c(), n = z(), i = N("div"), o = N("label"), s = M(a), h = M(":"), u = N("span"), u.textContent = "*", l = z(), c = N("input"), d = z(), w && w.c(), v = z(), P && P.c(), _ = z(), T = N("button"), L = M(H), B = z(), x = N("button"), D = M(
|
|
3987
|
+
t = N("div"), r = N("h3"), R.c(), n = z(), i = N("div"), o = N("label"), s = M(a), h = M(":"), u = N("span"), u.textContent = "*", l = z(), c = N("input"), d = z(), w && w.c(), v = z(), P && P.c(), _ = z(), T = N("button"), L = M(H), B = z(), x = N("button"), D = M(C), V = z(), f && f.c(), A(r, "class", "Title"), A(u, "class", "FormRequired"), A(o, "for", "SmsCode"), A(c, "type", "text"), A(c, "id", "SmsCode"), A(c, "inputmode", "numeric"), A(c, "pattern", "[0-9]*"), A(c, "maxlength", "6"), A(i, "class", g = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
3986
3988
|
e[2] ? "" : "InvalidField")), A(T, "class", "Button SmsVerificationValidate"), A(x, "class", "Button SmsVerificationResend"), x.disabled = /*timer*/
|
|
3987
3989
|
e[3], A(t, "class", "Container SmsVerificationContainer");
|
|
3988
3990
|
},
|
|
3989
|
-
m(p,
|
|
3990
|
-
Z(p, t,
|
|
3991
|
+
m(p, I) {
|
|
3992
|
+
Z(p, t, I), y(t, r), R.m(r, null), y(t, n), y(t, i), y(i, o), y(o, s), y(o, h), y(o, u), y(i, l), y(i, c), Ye(
|
|
3991
3993
|
c,
|
|
3992
3994
|
/*smsCode*/
|
|
3993
3995
|
e[1]
|
|
@@ -4018,25 +4020,25 @@ function hi(e) {
|
|
|
4018
4020
|
)
|
|
4019
4021
|
], ue = !0);
|
|
4020
4022
|
},
|
|
4021
|
-
p(p, [
|
|
4022
|
-
X === (X = he(p)) && R ? R.p(p,
|
|
4023
|
+
p(p, [I]) {
|
|
4024
|
+
X === (X = he(p)) && R ? R.p(p, I) : (R.d(1), R = X(p), R && (R.c(), R.m(r, null))), I & /*$_*/
|
|
4023
4025
|
32 && a !== (a = /*$_*/
|
|
4024
|
-
p[5]("code") + "") && G(s, a),
|
|
4026
|
+
p[5]("code") + "") && G(s, a), I & /*smsCode*/
|
|
4025
4027
|
2 && c.value !== /*smsCode*/
|
|
4026
4028
|
p[1] && Ye(
|
|
4027
4029
|
c,
|
|
4028
4030
|
/*smsCode*/
|
|
4029
4031
|
p[1]
|
|
4030
4032
|
), /*isSmsValid*/
|
|
4031
|
-
p[2] ? w && (w.d(1), w = null) : w ? w.p(p,
|
|
4033
|
+
p[2] ? w && (w.d(1), w = null) : w ? w.p(p, I) : (w = pt(p), w.c(), w.m(i, null)), I & /*isSmsValid*/
|
|
4032
4034
|
4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
4033
4035
|
p[2] ? "" : "InvalidField")) && A(i, "class", g), /*timer*/
|
|
4034
|
-
p[3] ? P ? P.p(p,
|
|
4036
|
+
p[3] ? P ? P.p(p, I) : (P = bt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), I & /*$_*/
|
|
4035
4037
|
32 && H !== (H = /*$_*/
|
|
4036
|
-
p[5]("activate") + "") && G(L, H),
|
|
4037
|
-
32 &&
|
|
4038
|
-
p[5]("resend") + "") && G(D,
|
|
4039
|
-
p[3] ? f ? f.p(p,
|
|
4038
|
+
p[5]("activate") + "") && G(L, H), I & /*$_*/
|
|
4039
|
+
32 && C !== (C = /*$_*/
|
|
4040
|
+
p[5]("resend") + "") && G(D, C), /*timer*/
|
|
4041
|
+
p[3] ? f ? f.p(p, I) : (f = gt(p), f.c(), f.m(x, null)) : f && (f.d(1), f = null), I & /*timer*/
|
|
4040
4042
|
8 && (x.disabled = /*timer*/
|
|
4041
4043
|
p[3]);
|
|
4042
4044
|
},
|
|
@@ -4051,12 +4053,12 @@ function ci(e, t, r) {
|
|
|
4051
4053
|
let n;
|
|
4052
4054
|
Wt(e, ri, (f) => r(5, n = f));
|
|
4053
4055
|
let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: a = "" } = t, { smstemplate: s = "Please use this code {0} to activate your accout" } = t, { number: h = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g, v = !0, _ = !1, T, H, L = +localStorage.getItem("smsTimer") || 0, B = Date.now() / 1e3 - L, x = 60 - Math.floor(B);
|
|
4054
|
-
const
|
|
4056
|
+
const C = { numeric: /^[0-9]{0,6}$/ };
|
|
4055
4057
|
ni({ withLocale: "en", translations: {} });
|
|
4056
4058
|
const D = () => {
|
|
4057
4059
|
fetch(d).then((p) => p.json()).then((p) => {
|
|
4058
|
-
Object.keys(p).forEach((
|
|
4059
|
-
dt(
|
|
4060
|
+
Object.keys(p).forEach((I) => {
|
|
4061
|
+
dt(I, p[I]);
|
|
4060
4062
|
});
|
|
4061
4063
|
}).catch((p) => {
|
|
4062
4064
|
console.log(p);
|
|
@@ -4120,7 +4122,7 @@ function ci(e, t, r) {
|
|
|
4120
4122
|
1e3
|
|
4121
4123
|
));
|
|
4122
4124
|
}, X = (f) => {
|
|
4123
|
-
!
|
|
4125
|
+
!C.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
|
|
4124
4126
|
};
|
|
4125
4127
|
er(() => {
|
|
4126
4128
|
if (!a || !h) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){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"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerSmsVerificationForm-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){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"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerSmsVerificationForm-DTFUrEEF.cjs")).then(({default:t})=>{!customElements.get("general-player-sms-verification-form")&&customElements.define("general-player-sms-verification-form",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralPlayerSmsVerificationForm-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralPlayerSmsVerificationForm-BHrXRKIG.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED