@everymatrix/cashier-step-up 0.18.7 → 0.18.9
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/{CashierStepUp-B2UgWR_E.js → CashierStepUp-BQeshRz7.js} +254 -208
- package/components/{CashierStepUp-B4xHjS5o.js → CashierStepUp-DGKi7UM7.js} +292 -246
- package/components/{CashierStepUp-K52xLTl4.cjs → CashierStepUp-gXxlGh6N.cjs} +2 -2
- package/es2015/cashier-step-up.cjs +1 -1
- package/es2015/cashier-step-up.js +1 -1
- package/esnext/cashier-step-up.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var qn = Object.defineProperty, Zn = Object.defineProperties;
|
|
2
2
|
var Qn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var kt = Object.getOwnPropertySymbols;
|
|
4
4
|
var Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ct = (e, t, n) => t in e ?
|
|
5
|
+
var ct = (e, t, n) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, We = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
7
|
Jn.call(t, n) && ct(e, n, t[n]);
|
|
8
8
|
if (kt)
|
|
9
9
|
for (var n of kt(t))
|
|
10
10
|
Yn.call(t, n) && ct(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
}, ft = (e, t) =>
|
|
12
|
+
}, ft = (e, t) => Zn(e, Qn(t));
|
|
13
13
|
var ee = (e, t, n) => (ct(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
14
|
var Ee = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var o = (u) => {
|
|
@@ -38,7 +38,7 @@ function Dt() {
|
|
|
38
38
|
function _e(e) {
|
|
39
39
|
e.forEach(an);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Bt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function ln(e, t) {
|
|
@@ -114,7 +114,7 @@ function or() {
|
|
|
114
114
|
function ce(e, t, n, r) {
|
|
115
115
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function d(e, t, n) {
|
|
118
118
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
119
119
|
}
|
|
120
120
|
function sr(e) {
|
|
@@ -149,16 +149,16 @@ function ur(e) {
|
|
|
149
149
|
lr().$$.on_mount.push(e);
|
|
150
150
|
}
|
|
151
151
|
const Ce = [], Ye = [];
|
|
152
|
-
let
|
|
152
|
+
let Me = [];
|
|
153
153
|
const Ut = [], hr = /* @__PURE__ */ Promise.resolve();
|
|
154
154
|
let Et = !1;
|
|
155
155
|
function cr() {
|
|
156
156
|
Et || (Et = !0, hr.then(se));
|
|
157
157
|
}
|
|
158
158
|
function _t(e) {
|
|
159
|
-
|
|
159
|
+
Me.push(e);
|
|
160
160
|
}
|
|
161
|
-
const
|
|
161
|
+
const dt = /* @__PURE__ */ new Set();
|
|
162
162
|
let Oe = 0;
|
|
163
163
|
function se() {
|
|
164
164
|
if (Oe !== 0)
|
|
@@ -175,15 +175,15 @@ function se() {
|
|
|
175
175
|
}
|
|
176
176
|
for (je(null), Ce.length = 0, Oe = 0; Ye.length; )
|
|
177
177
|
Ye.pop()();
|
|
178
|
-
for (let t = 0; t <
|
|
179
|
-
const n =
|
|
180
|
-
|
|
178
|
+
for (let t = 0; t < Me.length; t += 1) {
|
|
179
|
+
const n = Me[t];
|
|
180
|
+
dt.has(n) || (dt.add(n), n());
|
|
181
181
|
}
|
|
182
|
-
|
|
182
|
+
Me.length = 0;
|
|
183
183
|
} while (Ce.length);
|
|
184
184
|
for (; Ut.length; )
|
|
185
185
|
Ut.pop()();
|
|
186
|
-
Et = !1,
|
|
186
|
+
Et = !1, dt.clear(), je(e);
|
|
187
187
|
}
|
|
188
188
|
function fr(e) {
|
|
189
189
|
if (e.fragment !== null) {
|
|
@@ -192,13 +192,13 @@ function fr(e) {
|
|
|
192
192
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_t);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function dr(e) {
|
|
196
196
|
const t = [], n = [];
|
|
197
|
-
|
|
197
|
+
Me.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Me = t;
|
|
198
198
|
}
|
|
199
|
-
const
|
|
199
|
+
const pr = /* @__PURE__ */ new Set();
|
|
200
200
|
function mr(e, t) {
|
|
201
|
-
e && e.i && (
|
|
201
|
+
e && e.i && (pr.delete(e), e.i(t));
|
|
202
202
|
}
|
|
203
203
|
function Gt(e) {
|
|
204
204
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
@@ -206,13 +206,13 @@ function Gt(e) {
|
|
|
206
206
|
function gr(e, t, n) {
|
|
207
207
|
const { fragment: r, after_update: i } = e.$$;
|
|
208
208
|
r && r.m(t, n), _t(() => {
|
|
209
|
-
const o = e.$$.on_mount.map(an).filter(
|
|
209
|
+
const o = e.$$.on_mount.map(an).filter(Bt);
|
|
210
210
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : _e(o), e.$$.on_mount = [];
|
|
211
211
|
}), i.forEach(_t);
|
|
212
212
|
}
|
|
213
213
|
function br(e, t) {
|
|
214
214
|
const n = e.$$;
|
|
215
|
-
n.fragment !== null && (
|
|
215
|
+
n.fragment !== null && (dr(n.after_update), _e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
216
216
|
}
|
|
217
217
|
function vr(e, t) {
|
|
218
218
|
e.$$.dirty[0] === -1 && (Ce.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
@@ -243,9 +243,9 @@ function yr(e, t, n, r, i, o, a = null, s = [-1]) {
|
|
|
243
243
|
};
|
|
244
244
|
a && a(l.root);
|
|
245
245
|
let h = !1;
|
|
246
|
-
if (l.ctx = n ? n(e, t.props || {}, (f,
|
|
247
|
-
const m = y.length ? y[0] :
|
|
248
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), h && vr(e, f)),
|
|
246
|
+
if (l.ctx = n ? n(e, t.props || {}, (f, p, ...y) => {
|
|
247
|
+
const m = y.length ? y[0] : p;
|
|
248
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), h && vr(e, f)), p;
|
|
249
249
|
}) : [], l.update(), h = !0, _e(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
|
|
250
250
|
if (t.hydrate) {
|
|
251
251
|
const f = sr(t.target);
|
|
@@ -301,7 +301,7 @@ typeof HTMLElement == "function" && (hn = class extends HTMLElement {
|
|
|
301
301
|
let a;
|
|
302
302
|
return {
|
|
303
303
|
c: function() {
|
|
304
|
-
a = O("slot"), o !== "default" &&
|
|
304
|
+
a = O("slot"), o !== "default" && d(a, "name", o);
|
|
305
305
|
},
|
|
306
306
|
/**
|
|
307
307
|
* @param {HTMLElement} target
|
|
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (hn = class extends HTMLElement {
|
|
|
323
323
|
o in r && (n[o] = [t(o)]);
|
|
324
324
|
for (const o of this.attributes) {
|
|
325
325
|
const a = this.$$g_p(o.name);
|
|
326
|
-
a in this.$$d || (this.$$d[a] =
|
|
326
|
+
a in this.$$d || (this.$$d[a] = Ze(a, o.value, this.$$p_d, "toProp"));
|
|
327
327
|
}
|
|
328
328
|
for (const o in this.$$p_d)
|
|
329
329
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (hn = class extends HTMLElement {
|
|
|
340
340
|
this.$$r = !0;
|
|
341
341
|
for (const o in this.$$p_d)
|
|
342
342
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
343
|
-
const a =
|
|
343
|
+
const a = Ze(
|
|
344
344
|
o,
|
|
345
345
|
this.$$d[o],
|
|
346
346
|
this.$$p_d,
|
|
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (hn = class extends HTMLElement {
|
|
|
364
364
|
// and setting attributes through setAttribute etc, this is helpful
|
|
365
365
|
attributeChangedCallback(t, n, r) {
|
|
366
366
|
var i;
|
|
367
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
367
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ze(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
368
368
|
}
|
|
369
369
|
disconnectedCallback() {
|
|
370
370
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -377,7 +377,7 @@ typeof HTMLElement == "function" && (hn = class extends HTMLElement {
|
|
|
377
377
|
) || t;
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
|
-
function
|
|
380
|
+
function Ze(e, t, n, r) {
|
|
381
381
|
var o;
|
|
382
382
|
const i = (o = n[e]) == null ? void 0 : o.type;
|
|
383
383
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
@@ -425,7 +425,7 @@ function Er(e, t, n, r, i, o) {
|
|
|
425
425
|
},
|
|
426
426
|
set(u) {
|
|
427
427
|
var l;
|
|
428
|
-
u =
|
|
428
|
+
u = Ze(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
|
|
429
429
|
}
|
|
430
430
|
});
|
|
431
431
|
}), r.forEach((s) => {
|
|
@@ -468,7 +468,7 @@ class _r {
|
|
|
468
468
|
* @returns {() => void}
|
|
469
469
|
*/
|
|
470
470
|
$on(t, n) {
|
|
471
|
-
if (!
|
|
471
|
+
if (!Bt(n))
|
|
472
472
|
return te;
|
|
473
473
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
474
474
|
return r.push(n), () => {
|
|
@@ -580,24 +580,24 @@ function Ne(e, t, n) {
|
|
|
580
580
|
let u = !1;
|
|
581
581
|
const l = [];
|
|
582
582
|
let h = 0, f = te;
|
|
583
|
-
const
|
|
583
|
+
const p = () => {
|
|
584
584
|
if (h)
|
|
585
585
|
return;
|
|
586
586
|
f();
|
|
587
587
|
const m = t(r ? l[0] : l, a, s);
|
|
588
|
-
o ? a(m) : f =
|
|
588
|
+
o ? a(m) : f = Bt(m) ? m : te;
|
|
589
589
|
}, y = i.map(
|
|
590
590
|
(m, g) => un(
|
|
591
591
|
m,
|
|
592
592
|
(_) => {
|
|
593
|
-
l[g] = _, h &= ~(1 << g), u &&
|
|
593
|
+
l[g] = _, h &= ~(1 << g), u && p();
|
|
594
594
|
},
|
|
595
595
|
() => {
|
|
596
596
|
h |= 1 << g;
|
|
597
597
|
}
|
|
598
598
|
)
|
|
599
599
|
);
|
|
600
|
-
return u = !0,
|
|
600
|
+
return u = !0, p(), function() {
|
|
601
601
|
_e(y), f(), u = !1;
|
|
602
602
|
};
|
|
603
603
|
});
|
|
@@ -605,10 +605,10 @@ function Ne(e, t, n) {
|
|
|
605
605
|
function Ar(e) {
|
|
606
606
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
609
|
-
return
|
|
608
|
+
var Mr = function(t) {
|
|
609
|
+
return Br(t) && !Pr(t);
|
|
610
610
|
};
|
|
611
|
-
function
|
|
611
|
+
function Br(e) {
|
|
612
612
|
return !!e && typeof e == "object";
|
|
613
613
|
}
|
|
614
614
|
function Pr(e) {
|
|
@@ -623,7 +623,7 @@ function Rr(e) {
|
|
|
623
623
|
return Array.isArray(e) ? [] : {};
|
|
624
624
|
}
|
|
625
625
|
function ze(e, t) {
|
|
626
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
626
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Be(Rr(e), e, t) : e;
|
|
627
627
|
}
|
|
628
628
|
function kr(e, t, n) {
|
|
629
629
|
return e.concat(t).map(function(r) {
|
|
@@ -632,9 +632,9 @@ function kr(e, t, n) {
|
|
|
632
632
|
}
|
|
633
633
|
function Dr(e, t) {
|
|
634
634
|
if (!t.customMerge)
|
|
635
|
-
return
|
|
635
|
+
return Be;
|
|
636
636
|
var n = t.customMerge(e);
|
|
637
|
-
return typeof n == "function" ? n :
|
|
637
|
+
return typeof n == "function" ? n : Be;
|
|
638
638
|
}
|
|
639
639
|
function Ur(e) {
|
|
640
640
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -662,19 +662,19 @@ function Fr(e, t, n) {
|
|
|
662
662
|
Gr(e, i) || (cn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Dr(i, n)(e[i], t[i], n) : r[i] = ze(t[i], n));
|
|
663
663
|
}), r;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
666
|
-
n = n || {}, n.arrayMerge = n.arrayMerge || kr, n.isMergeableObject = n.isMergeableObject ||
|
|
665
|
+
function Be(e, t, n) {
|
|
666
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || kr, n.isMergeableObject = n.isMergeableObject || Mr, n.cloneUnlessOtherwiseSpecified = ze;
|
|
667
667
|
var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
|
|
668
668
|
return o ? r ? n.arrayMerge(e, t, n) : Fr(e, t, n) : ze(t, n);
|
|
669
669
|
}
|
|
670
|
-
|
|
670
|
+
Be.all = function(t, n) {
|
|
671
671
|
if (!Array.isArray(t))
|
|
672
672
|
throw new Error("first argument should be an array");
|
|
673
673
|
return t.reduce(function(r, i) {
|
|
674
|
-
return
|
|
674
|
+
return Be(r, i, n);
|
|
675
675
|
}, {});
|
|
676
676
|
};
|
|
677
|
-
var jr =
|
|
677
|
+
var jr = Be, Vr = jr;
|
|
678
678
|
const zr = /* @__PURE__ */ Ar(Vr);
|
|
679
679
|
var xt = function(e, t) {
|
|
680
680
|
return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
@@ -712,14 +712,14 @@ function $r(e, t) {
|
|
|
712
712
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
713
713
|
return n;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function pt(e, t, n) {
|
|
716
716
|
if (n || arguments.length === 2)
|
|
717
717
|
for (var r = 0, i = t.length, o; r < i; r++)
|
|
718
718
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
719
719
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
720
720
|
}
|
|
721
721
|
function mt(e, t) {
|
|
722
|
-
var n = t && t.cache ? t.cache : Yr, r = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy :
|
|
722
|
+
var n = t && t.cache ? t.cache : Yr, r = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : qr;
|
|
723
723
|
return i(e, {
|
|
724
724
|
cache: n,
|
|
725
725
|
serializer: r
|
|
@@ -736,15 +736,15 @@ function fn(e, t, n) {
|
|
|
736
736
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
|
|
737
737
|
return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function dn(e, t, n, r, i) {
|
|
740
740
|
return n.bind(t, e, r, i);
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function qr(e, t) {
|
|
743
743
|
var n = e.length === 1 ? Wr : fn;
|
|
744
|
-
return
|
|
744
|
+
return dn(e, this, n, t.cache.create(), t.serializer);
|
|
745
745
|
}
|
|
746
|
-
function
|
|
747
|
-
return
|
|
746
|
+
function Zr(e, t) {
|
|
747
|
+
return dn(e, this, fn, t.cache.create(), t.serializer);
|
|
748
748
|
}
|
|
749
749
|
var Qr = function() {
|
|
750
750
|
return JSON.stringify(arguments);
|
|
@@ -765,7 +765,7 @@ var Qr = function() {
|
|
|
765
765
|
return new Jr();
|
|
766
766
|
}
|
|
767
767
|
}, gt = {
|
|
768
|
-
variadic:
|
|
768
|
+
variadic: Zr
|
|
769
769
|
}, Ke = function() {
|
|
770
770
|
return Ke = Object.assign || function(t) {
|
|
771
771
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
@@ -794,7 +794,7 @@ function jt(e) {
|
|
|
794
794
|
function Kr(e) {
|
|
795
795
|
return e.type === L.argument;
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function pn(e) {
|
|
798
798
|
return e.type === L.number;
|
|
799
799
|
}
|
|
800
800
|
function mn(e) {
|
|
@@ -927,8 +927,8 @@ var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
927
927
|
function ii(e) {
|
|
928
928
|
if (e.length === 0)
|
|
929
929
|
throw new Error("Number skeleton cannot be empty");
|
|
930
|
-
for (var t = e.split(ri).filter(function(
|
|
931
|
-
return
|
|
930
|
+
for (var t = e.split(ri).filter(function(p) {
|
|
931
|
+
return p.length > 0;
|
|
932
932
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
933
933
|
var o = i[r], a = o.split("/");
|
|
934
934
|
if (a.length === 0)
|
|
@@ -1096,11 +1096,11 @@ function li(e) {
|
|
|
1096
1096
|
case "integer-width":
|
|
1097
1097
|
if (i.options.length > 1)
|
|
1098
1098
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1099
|
-
i.options[0].replace(si, function(u, l, h, f,
|
|
1099
|
+
i.options[0].replace(si, function(u, l, h, f, p, y) {
|
|
1100
1100
|
if (l)
|
|
1101
1101
|
t.minimumIntegerDigits = h.length;
|
|
1102
1102
|
else {
|
|
1103
|
-
if (f &&
|
|
1103
|
+
if (f && p)
|
|
1104
1104
|
throw new Error("We currently do not support maximum integer digits");
|
|
1105
1105
|
if (y)
|
|
1106
1106
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1116,8 +1116,8 @@ function li(e) {
|
|
|
1116
1116
|
if (Vt.test(i.stem)) {
|
|
1117
1117
|
if (i.options.length > 1)
|
|
1118
1118
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1119
|
-
i.stem.replace(Vt, function(u, l, h, f,
|
|
1120
|
-
return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length :
|
|
1119
|
+
i.stem.replace(Vt, function(u, l, h, f, p, y) {
|
|
1120
|
+
return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1121
1121
|
});
|
|
1122
1122
|
var o = i.options[0];
|
|
1123
1123
|
o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), zt(o)));
|
|
@@ -1134,7 +1134,7 @@ function li(e) {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
return t;
|
|
1136
1136
|
}
|
|
1137
|
-
var
|
|
1137
|
+
var qe = {
|
|
1138
1138
|
"001": [
|
|
1139
1139
|
"H",
|
|
1140
1140
|
"h"
|
|
@@ -2584,14 +2584,14 @@ function hi(e) {
|
|
|
2584
2584
|
}
|
|
2585
2585
|
var n = e.language, r;
|
|
2586
2586
|
n !== "root" && (r = e.maximize().region);
|
|
2587
|
-
var i =
|
|
2587
|
+
var i = qe[r || ""] || qe[n || ""] || qe["".concat(n, "-001")] || qe["001"];
|
|
2588
2588
|
return i[0];
|
|
2589
2589
|
}
|
|
2590
2590
|
var bt, ci = new RegExp("^".concat(_n.source, "*")), fi = new RegExp("".concat(_n.source, "*$"));
|
|
2591
2591
|
function T(e, t) {
|
|
2592
2592
|
return { start: e, end: t };
|
|
2593
2593
|
}
|
|
2594
|
-
var
|
|
2594
|
+
var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, Ei = yi ? Number.isSafeInteger : function(e) {
|
|
2595
2595
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2596
2596
|
}, St = !0;
|
|
2597
2597
|
try {
|
|
@@ -2600,7 +2600,7 @@ try {
|
|
|
2600
2600
|
} catch (e) {
|
|
2601
2601
|
St = !1;
|
|
2602
2602
|
}
|
|
2603
|
-
var Xt =
|
|
2603
|
+
var Xt = di ? (
|
|
2604
2604
|
// Native
|
|
2605
2605
|
function(t, n, r) {
|
|
2606
2606
|
return t.startsWith(n, r);
|
|
@@ -2610,7 +2610,7 @@ var Xt = pi ? (
|
|
|
2610
2610
|
function(t, n, r) {
|
|
2611
2611
|
return t.slice(r, r + n.length) === n;
|
|
2612
2612
|
}
|
|
2613
|
-
), Tt =
|
|
2613
|
+
), Tt = pi ? String.fromCodePoint : (
|
|
2614
2614
|
// IE11
|
|
2615
2615
|
function() {
|
|
2616
2616
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2674,11 +2674,11 @@ function On(e, t) {
|
|
|
2674
2674
|
}
|
|
2675
2675
|
var Ot;
|
|
2676
2676
|
if (St) {
|
|
2677
|
-
var
|
|
2677
|
+
var qt = On("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2678
2678
|
Ot = function(t, n) {
|
|
2679
2679
|
var r;
|
|
2680
|
-
|
|
2681
|
-
var i =
|
|
2680
|
+
qt.lastIndex = n;
|
|
2681
|
+
var i = qt.exec(t);
|
|
2682
2682
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2683
2683
|
};
|
|
2684
2684
|
} else
|
|
@@ -2889,11 +2889,11 @@ var Si = (
|
|
|
2889
2889
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2890
2890
|
if (f.err)
|
|
2891
2891
|
return f;
|
|
2892
|
-
var
|
|
2893
|
-
if (
|
|
2892
|
+
var p = wi(f.val);
|
|
2893
|
+
if (p.length === 0)
|
|
2894
2894
|
return this.error(w.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
2895
2895
|
var y = T(h, this.clonePosition());
|
|
2896
|
-
l = { style:
|
|
2896
|
+
l = { style: p, styleLocation: y };
|
|
2897
2897
|
}
|
|
2898
2898
|
var m = this.tryParseArgumentClose(i);
|
|
2899
2899
|
if (m.err)
|
|
@@ -2912,14 +2912,14 @@ var Si = (
|
|
|
2912
2912
|
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
2913
2913
|
var S = _;
|
|
2914
2914
|
this.locale && (S = ui(_, this.locale));
|
|
2915
|
-
var
|
|
2915
|
+
var p = {
|
|
2916
2916
|
type: Pe.dateTime,
|
|
2917
2917
|
pattern: S,
|
|
2918
2918
|
location: l.styleLocation,
|
|
2919
2919
|
parsedOptions: this.shouldParseSkeletons ? ni(S) : {}
|
|
2920
|
-
},
|
|
2920
|
+
}, B = s === "date" ? L.date : L.time;
|
|
2921
2921
|
return {
|
|
2922
|
-
val: { type:
|
|
2922
|
+
val: { type: B, value: r, location: g, style: p },
|
|
2923
2923
|
err: null
|
|
2924
2924
|
};
|
|
2925
2925
|
}
|
|
@@ -3039,9 +3039,9 @@ var Si = (
|
|
|
3039
3039
|
if (l.length === 0) {
|
|
3040
3040
|
var f = this.clonePosition();
|
|
3041
3041
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3042
|
-
var
|
|
3043
|
-
if (
|
|
3044
|
-
return
|
|
3042
|
+
var p = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3043
|
+
if (p.err)
|
|
3044
|
+
return p;
|
|
3045
3045
|
h = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
3046
3046
|
} else
|
|
3047
3047
|
break;
|
|
@@ -3165,7 +3165,7 @@ function Ct(e) {
|
|
|
3165
3165
|
for (var n in t.options)
|
|
3166
3166
|
delete t.options[n].location, Ct(t.options[n].value);
|
|
3167
3167
|
else
|
|
3168
|
-
|
|
3168
|
+
pn(t) && En(t.style) || (mn(t) || gn(t)) && wt(t.style) ? delete t.style.location : yn(t) && Ct(t.children);
|
|
3169
3169
|
});
|
|
3170
3170
|
}
|
|
3171
3171
|
function Ci(e, t) {
|
|
@@ -3193,7 +3193,7 @@ var it = (
|
|
|
3193
3193
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3194
3194
|
}, t;
|
|
3195
3195
|
}(Error)
|
|
3196
|
-
),
|
|
3196
|
+
), Zt = (
|
|
3197
3197
|
/** @class */
|
|
3198
3198
|
function(e) {
|
|
3199
3199
|
rt(t, e);
|
|
@@ -3211,7 +3211,7 @@ var it = (
|
|
|
3211
3211
|
}
|
|
3212
3212
|
return t;
|
|
3213
3213
|
}(it)
|
|
3214
|
-
),
|
|
3214
|
+
), Mi = (
|
|
3215
3215
|
/** @class */
|
|
3216
3216
|
function(e) {
|
|
3217
3217
|
rt(t, e);
|
|
@@ -3220,14 +3220,14 @@ var it = (
|
|
|
3220
3220
|
}
|
|
3221
3221
|
return t;
|
|
3222
3222
|
}(it)
|
|
3223
|
-
),
|
|
3223
|
+
), Z;
|
|
3224
3224
|
(function(e) {
|
|
3225
3225
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3226
|
-
})(
|
|
3227
|
-
function
|
|
3226
|
+
})(Z || (Z = {}));
|
|
3227
|
+
function Bi(e) {
|
|
3228
3228
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3229
3229
|
var r = t[t.length - 1];
|
|
3230
|
-
return !r || r.type !==
|
|
3230
|
+
return !r || r.type !== Z.literal || n.type !== Z.literal ? t.push(n) : r.value += n.value, t;
|
|
3231
3231
|
}, []);
|
|
3232
3232
|
}
|
|
3233
3233
|
function Pi(e) {
|
|
@@ -3237,7 +3237,7 @@ function Qe(e, t, n, r, i, o, a) {
|
|
|
3237
3237
|
if (e.length === 1 && jt(e[0]))
|
|
3238
3238
|
return [
|
|
3239
3239
|
{
|
|
3240
|
-
type:
|
|
3240
|
+
type: Z.literal,
|
|
3241
3241
|
value: e[0].value
|
|
3242
3242
|
}
|
|
3243
3243
|
];
|
|
@@ -3245,50 +3245,50 @@ function Qe(e, t, n, r, i, o, a) {
|
|
|
3245
3245
|
var h = l[u];
|
|
3246
3246
|
if (jt(h)) {
|
|
3247
3247
|
s.push({
|
|
3248
|
-
type:
|
|
3248
|
+
type: Z.literal,
|
|
3249
3249
|
value: h.value
|
|
3250
3250
|
});
|
|
3251
3251
|
continue;
|
|
3252
3252
|
}
|
|
3253
3253
|
if (ei(h)) {
|
|
3254
3254
|
typeof o == "number" && s.push({
|
|
3255
|
-
type:
|
|
3255
|
+
type: Z.literal,
|
|
3256
3256
|
value: n.getNumberFormat(t).format(o)
|
|
3257
3257
|
});
|
|
3258
3258
|
continue;
|
|
3259
3259
|
}
|
|
3260
3260
|
var f = h.value;
|
|
3261
3261
|
if (!(i && f in i))
|
|
3262
|
-
throw new
|
|
3263
|
-
var
|
|
3262
|
+
throw new Mi(f, a);
|
|
3263
|
+
var p = i[f];
|
|
3264
3264
|
if (Kr(h)) {
|
|
3265
|
-
(!
|
|
3266
|
-
type: typeof
|
|
3267
|
-
value:
|
|
3265
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
|
|
3266
|
+
type: typeof p == "string" ? Z.literal : Z.object,
|
|
3267
|
+
value: p
|
|
3268
3268
|
});
|
|
3269
3269
|
continue;
|
|
3270
3270
|
}
|
|
3271
3271
|
if (mn(h)) {
|
|
3272
3272
|
var y = typeof h.style == "string" ? r.date[h.style] : wt(h.style) ? h.style.parsedOptions : void 0;
|
|
3273
3273
|
s.push({
|
|
3274
|
-
type:
|
|
3275
|
-
value: n.getDateTimeFormat(t, y).format(
|
|
3274
|
+
type: Z.literal,
|
|
3275
|
+
value: n.getDateTimeFormat(t, y).format(p)
|
|
3276
3276
|
});
|
|
3277
3277
|
continue;
|
|
3278
3278
|
}
|
|
3279
3279
|
if (gn(h)) {
|
|
3280
3280
|
var y = typeof h.style == "string" ? r.time[h.style] : wt(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3281
3281
|
s.push({
|
|
3282
|
-
type:
|
|
3283
|
-
value: n.getDateTimeFormat(t, y).format(
|
|
3282
|
+
type: Z.literal,
|
|
3283
|
+
value: n.getDateTimeFormat(t, y).format(p)
|
|
3284
3284
|
});
|
|
3285
3285
|
continue;
|
|
3286
3286
|
}
|
|
3287
|
-
if (
|
|
3287
|
+
if (pn(h)) {
|
|
3288
3288
|
var y = typeof h.style == "string" ? r.number[h.style] : En(h.style) ? h.style.parsedOptions : void 0;
|
|
3289
|
-
y && y.scale && (
|
|
3290
|
-
type:
|
|
3291
|
-
value: n.getNumberFormat(t, y).format(
|
|
3289
|
+
y && y.scale && (p = p * (y.scale || 1)), s.push({
|
|
3290
|
+
type: Z.literal,
|
|
3291
|
+
value: n.getNumberFormat(t, y).format(p)
|
|
3292
3292
|
});
|
|
3293
3293
|
continue;
|
|
3294
3294
|
}
|
|
@@ -3296,40 +3296,40 @@ function Qe(e, t, n, r, i, o, a) {
|
|
|
3296
3296
|
var m = h.children, g = h.value, _ = i[g];
|
|
3297
3297
|
if (!Pi(_))
|
|
3298
3298
|
throw new Ai(g, "function", a);
|
|
3299
|
-
var S = Qe(m, t, n, r, i, o),
|
|
3299
|
+
var S = Qe(m, t, n, r, i, o), B = _(S.map(function(P) {
|
|
3300
3300
|
return P.value;
|
|
3301
3301
|
}));
|
|
3302
|
-
Array.isArray(
|
|
3302
|
+
Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(P) {
|
|
3303
3303
|
return {
|
|
3304
|
-
type: typeof P == "string" ?
|
|
3304
|
+
type: typeof P == "string" ? Z.literal : Z.object,
|
|
3305
3305
|
value: P
|
|
3306
3306
|
};
|
|
3307
3307
|
}));
|
|
3308
3308
|
}
|
|
3309
3309
|
if (bn(h)) {
|
|
3310
|
-
var I = h.options[
|
|
3310
|
+
var I = h.options[p] || h.options.other;
|
|
3311
3311
|
if (!I)
|
|
3312
|
-
throw new
|
|
3312
|
+
throw new Zt(h.value, p, Object.keys(h.options), a);
|
|
3313
3313
|
s.push.apply(s, Qe(I.value, t, n, r, i));
|
|
3314
3314
|
continue;
|
|
3315
3315
|
}
|
|
3316
3316
|
if (vn(h)) {
|
|
3317
|
-
var I = h.options["=".concat(
|
|
3317
|
+
var I = h.options["=".concat(p)];
|
|
3318
3318
|
if (!I) {
|
|
3319
3319
|
if (!Intl.PluralRules)
|
|
3320
3320
|
throw new it(`Intl.PluralRules is not available in this environment.
|
|
3321
3321
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3322
3322
|
`, Le.MISSING_INTL_API, a);
|
|
3323
|
-
var D = n.getPluralRules(t, { type: h.pluralType }).select(
|
|
3323
|
+
var D = n.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3324
3324
|
I = h.options[D] || h.options.other;
|
|
3325
3325
|
}
|
|
3326
3326
|
if (!I)
|
|
3327
|
-
throw new
|
|
3328
|
-
s.push.apply(s, Qe(I.value, t, n, r, i,
|
|
3327
|
+
throw new Zt(h.value, p, Object.keys(h.options), a);
|
|
3328
|
+
s.push.apply(s, Qe(I.value, t, n, r, i, p - (h.offset || 0)));
|
|
3329
3329
|
continue;
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
|
-
return
|
|
3332
|
+
return Bi(s);
|
|
3333
3333
|
}
|
|
3334
3334
|
function Li(e, t) {
|
|
3335
3335
|
return t ? ae(ae(ae({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
@@ -3364,7 +3364,7 @@ function Ni(e) {
|
|
|
3364
3364
|
getNumberFormat: mt(function() {
|
|
3365
3365
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3366
3366
|
n[r] = arguments[r];
|
|
3367
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3367
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, pt([void 0], n, !1)))();
|
|
3368
3368
|
}, {
|
|
3369
3369
|
cache: vt(e.number),
|
|
3370
3370
|
strategy: gt.variadic
|
|
@@ -3372,7 +3372,7 @@ function Ni(e) {
|
|
|
3372
3372
|
getDateTimeFormat: mt(function() {
|
|
3373
3373
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3374
3374
|
n[r] = arguments[r];
|
|
3375
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3375
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, pt([void 0], n, !1)))();
|
|
3376
3376
|
}, {
|
|
3377
3377
|
cache: vt(e.dateTime),
|
|
3378
3378
|
strategy: gt.variadic
|
|
@@ -3380,7 +3380,7 @@ function Ni(e) {
|
|
|
3380
3380
|
getPluralRules: mt(function() {
|
|
3381
3381
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3382
3382
|
n[r] = arguments[r];
|
|
3383
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3383
|
+
return new ((t = Intl.PluralRules).bind.apply(t, pt([void 0], n, !1)))();
|
|
3384
3384
|
}, {
|
|
3385
3385
|
cache: vt(e.pluralRules),
|
|
3386
3386
|
strategy: gt.variadic
|
|
@@ -3401,8 +3401,8 @@ var Ri = (
|
|
|
3401
3401
|
var l = o.formatToParts(u);
|
|
3402
3402
|
if (l.length === 1)
|
|
3403
3403
|
return l[0].value;
|
|
3404
|
-
var h = l.reduce(function(f,
|
|
3405
|
-
return !f.length ||
|
|
3404
|
+
var h = l.reduce(function(f, p) {
|
|
3405
|
+
return !f.length || p.type !== Z.literal || typeof f[f.length - 1] != "string" ? f.push(p.value) : f[f.length - 1] += p.value, f;
|
|
3406
3406
|
}, []);
|
|
3407
3407
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3408
3408
|
}, this.formatToParts = function(u) {
|
|
@@ -3520,11 +3520,11 @@ function ki(e, t) {
|
|
|
3520
3520
|
r = void 0;
|
|
3521
3521
|
return r;
|
|
3522
3522
|
}
|
|
3523
|
-
const
|
|
3523
|
+
const pe = {}, Di = (e, t, n) => n && (t in pe || (pe[t] = {}), e in pe[t] || (pe[t][e] = n), n), Cn = (e, t) => {
|
|
3524
3524
|
if (t == null)
|
|
3525
3525
|
return;
|
|
3526
|
-
if (t in
|
|
3527
|
-
return
|
|
3526
|
+
if (t in pe && e in pe[t])
|
|
3527
|
+
return pe[t][e];
|
|
3528
3528
|
const n = ot(t);
|
|
3529
3529
|
for (let r = 0; r < n.length; r++) {
|
|
3530
3530
|
const i = n[r], o = Gi(i, e);
|
|
@@ -3556,8 +3556,8 @@ function Fi(e) {
|
|
|
3556
3556
|
return r;
|
|
3557
3557
|
}
|
|
3558
3558
|
}
|
|
3559
|
-
function
|
|
3560
|
-
delete
|
|
3559
|
+
function Mn(e, ...t) {
|
|
3560
|
+
delete pe[e], Xe.update((n) => (n[e] = zr.all([n[e] || {}, ...t]), n));
|
|
3561
3561
|
}
|
|
3562
3562
|
Ne(
|
|
3563
3563
|
[Xe],
|
|
@@ -3568,12 +3568,12 @@ const Je = {};
|
|
|
3568
3568
|
function ji(e, t) {
|
|
3569
3569
|
Je[e].delete(t), Je[e].size === 0 && delete Je[e];
|
|
3570
3570
|
}
|
|
3571
|
-
function
|
|
3571
|
+
function Bn(e) {
|
|
3572
3572
|
return Je[e];
|
|
3573
3573
|
}
|
|
3574
3574
|
function Vi(e) {
|
|
3575
3575
|
return ot(e).map((t) => {
|
|
3576
|
-
const n =
|
|
3576
|
+
const n = Bn(t);
|
|
3577
3577
|
return [t, n ? [...n] : []];
|
|
3578
3578
|
}).filter(([, t]) => t.length > 0);
|
|
3579
3579
|
}
|
|
@@ -3581,14 +3581,14 @@ function At(e) {
|
|
|
3581
3581
|
return e == null ? !1 : ot(e).some(
|
|
3582
3582
|
(t) => {
|
|
3583
3583
|
var n;
|
|
3584
|
-
return (n =
|
|
3584
|
+
return (n = Bn(t)) == null ? void 0 : n.size;
|
|
3585
3585
|
}
|
|
3586
3586
|
);
|
|
3587
3587
|
}
|
|
3588
3588
|
function zi(e, t) {
|
|
3589
3589
|
return Promise.all(
|
|
3590
3590
|
t.map((r) => (ji(e, r), r().then((i) => i.default || i)))
|
|
3591
|
-
).then((r) =>
|
|
3591
|
+
).then((r) => Mn(e, ...r));
|
|
3592
3592
|
}
|
|
3593
3593
|
const Fe = {};
|
|
3594
3594
|
function Pn(e) {
|
|
@@ -3646,15 +3646,15 @@ function Ie() {
|
|
|
3646
3646
|
return Wi;
|
|
3647
3647
|
}
|
|
3648
3648
|
const yt = nt(!1);
|
|
3649
|
-
var
|
|
3649
|
+
var qi = Object.defineProperty, Zi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, Jt = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ki = (e, t) => {
|
|
3650
3650
|
for (var n in t || (t = {}))
|
|
3651
3651
|
Ji.call(t, n) && Jt(e, n, t[n]);
|
|
3652
3652
|
if (Qt)
|
|
3653
3653
|
for (var n of Qt(t))
|
|
3654
3654
|
Yi.call(t, n) && Jt(e, n, t[n]);
|
|
3655
3655
|
return e;
|
|
3656
|
-
}, eo = (e, t) =>
|
|
3657
|
-
let
|
|
3656
|
+
}, eo = (e, t) => Zi(e, Qi(t));
|
|
3657
|
+
let Mt;
|
|
3658
3658
|
const et = nt(null);
|
|
3659
3659
|
function Yt(e) {
|
|
3660
3660
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
@@ -3664,10 +3664,10 @@ function ot(e, t = Ie().fallbackLocale) {
|
|
|
3664
3664
|
return t ? [.../* @__PURE__ */ new Set([...n, ...Yt(t)])] : n;
|
|
3665
3665
|
}
|
|
3666
3666
|
function xe() {
|
|
3667
|
-
return
|
|
3667
|
+
return Mt != null ? Mt : void 0;
|
|
3668
3668
|
}
|
|
3669
3669
|
et.subscribe((e) => {
|
|
3670
|
-
|
|
3670
|
+
Mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3671
3671
|
});
|
|
3672
3672
|
const to = (e) => {
|
|
3673
3673
|
if (e && Fi(e) && At(e)) {
|
|
@@ -3787,10 +3787,10 @@ const $e = (e, t) => {
|
|
|
3787
3787
|
let f = h;
|
|
3788
3788
|
try {
|
|
3789
3789
|
f = uo(h, u).format(s);
|
|
3790
|
-
} catch (
|
|
3791
|
-
|
|
3790
|
+
} catch (p) {
|
|
3791
|
+
p instanceof Error && console.warn(
|
|
3792
3792
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3793
|
-
|
|
3793
|
+
p.message
|
|
3794
3794
|
);
|
|
3795
3795
|
}
|
|
3796
3796
|
return f;
|
|
@@ -3800,7 +3800,7 @@ Ne([Re], () => fo);
|
|
|
3800
3800
|
Ne([Re], () => po);
|
|
3801
3801
|
Ne([Re, Xe], () => mo);
|
|
3802
3802
|
function en(e, t) {
|
|
3803
|
-
|
|
3803
|
+
Mn(e, t);
|
|
3804
3804
|
}
|
|
3805
3805
|
function bo(e) {
|
|
3806
3806
|
Re.set(e);
|
|
@@ -3943,6 +3943,52 @@ const tn = {
|
|
|
3943
3943
|
channelEmail: "E-mail",
|
|
3944
3944
|
sendCode: "Code verzenden",
|
|
3945
3945
|
waitSeconds: "Wacht even voordat u opnieuw verzendt:"
|
|
3946
|
+
},
|
|
3947
|
+
ru: {
|
|
3948
|
+
otpTitle: "Требуется подтверждение кода",
|
|
3949
|
+
popupMessage: "Пожалуйста, введите код безопасности, полученный по SMS/на электронную почту, чтобы выполнить обновление.",
|
|
3950
|
+
popupMessageLastWarning: "Если следующая попытка проверки не удастся, ваша операция завершится ошибкой, и вы будете возвращены к способу оплаты.",
|
|
3951
|
+
minutes: "минут",
|
|
3952
|
+
errorHeader: "Ошибка",
|
|
3953
|
+
configError: "Не удалось загрузить данные OTP. Пожалуйста, попробуйте позже.",
|
|
3954
|
+
otpHeading: "Введите OTP",
|
|
3955
|
+
resendOtp: "Отправить OTP повторно",
|
|
3956
|
+
submit: "Отправить",
|
|
3957
|
+
close: "Закрыть",
|
|
3958
|
+
invalidOtp: "Отправленный вами код недействителен. Пожалуйста, попробуйте снова.",
|
|
3959
|
+
accountBlocked: "Слишком много попыток ввода OTP. Ваш аккаунт заблокирован на один час.",
|
|
3960
|
+
submissionError: "Что-то пошло не так. Пожалуйста, попробуйте снова.",
|
|
3961
|
+
otpExpiredMessage: "Код подтверждения истёк, пожалуйста, запросите новый, чтобы продолжить.",
|
|
3962
|
+
timeRemaining: "Код истекает через:",
|
|
3963
|
+
selectChannelTitle: "Выберите способ подтверждения",
|
|
3964
|
+
selectChannelMessage: "Выберите, как вы хотите получить код подтверждения",
|
|
3965
|
+
channelSMS: "SMS",
|
|
3966
|
+
channelEmail: "Email",
|
|
3967
|
+
sendCode: "Отправить код",
|
|
3968
|
+
waitSeconds: "Пожалуйста, подождите перед повторной отправкой:"
|
|
3969
|
+
},
|
|
3970
|
+
az: {
|
|
3971
|
+
otpTitle: "Kod təsdiqi tələb olunur",
|
|
3972
|
+
popupMessage: "Yeniləməni icra etmək üçün SMS/e-poçt ünvanınıza göndərilən təhlükəsizlik kodunu daxil edin.",
|
|
3973
|
+
popupMessageLastWarning: "Növbəti təsdiqləmə cəhdi baş tutmasa, əməliyyatınız alınmayacaq və ödəniş üsuluna qaytarılacaqsınız.",
|
|
3974
|
+
minutes: "dəqiqə",
|
|
3975
|
+
errorHeader: "Xəta",
|
|
3976
|
+
configError: "OTP məlumatları yüklənə bilmədi. Zəhmət olmasa sonra yenidən cəhd edin.",
|
|
3977
|
+
otpHeading: "OTP daxil edin",
|
|
3978
|
+
resendOtp: "OTP-ni yenidən göndər",
|
|
3979
|
+
submit: "Göndər",
|
|
3980
|
+
close: "Bağla",
|
|
3981
|
+
invalidOtp: "Göndərdiyiniz kod yalnışdır. Zəhmət olmasa yenidən cəhd edin.",
|
|
3982
|
+
accountBlocked: "OTP üçün çox sayda cəhd edildi. Hesabınız bir saat müddətinə bloklanıb.",
|
|
3983
|
+
submissionError: "Nəsə səhv getdi. Zəhmət olmasa yenidən cəhd edin.",
|
|
3984
|
+
otpExpiredMessage: "Təsdiqləmə kodunun müddəti bitib, davam etmək üçün yenisini tələb edin.",
|
|
3985
|
+
timeRemaining: "Kodun müddəti bitir:",
|
|
3986
|
+
selectChannelTitle: "Təsdiqləmə üsulunu seçin",
|
|
3987
|
+
selectChannelMessage: "Təsdiqləmə kodunuzu necə almaq istədiyinizi seçin",
|
|
3988
|
+
channelSMS: "SMS",
|
|
3989
|
+
channelEmail: "E-poçt",
|
|
3990
|
+
sendCode: "Kodu göndər",
|
|
3991
|
+
waitSeconds: "Yenidən göndərmədən əvvəl zəhmət olmasa gözləyin:"
|
|
3946
3992
|
}
|
|
3947
3993
|
};
|
|
3948
3994
|
function vo(e) {
|
|
@@ -3953,10 +3999,10 @@ function nn(e, t, n) {
|
|
|
3953
3999
|
return r[69] = t[n], r[70] = t, r[71] = n, r;
|
|
3954
4000
|
}
|
|
3955
4001
|
function yo(e) {
|
|
3956
|
-
let t, n, r, i, o, a, s, u, l, h, f,
|
|
4002
|
+
let t, n, r, i, o, a, s, u, l, h, f, p, y, m, g, _, S, B = (
|
|
3957
4003
|
/*$_*/
|
|
3958
4004
|
e[19]("channelSMS") + ""
|
|
3959
|
-
), I, D, P, N, ne, Q, le, me, ue,
|
|
4005
|
+
), I, D, P, N, ne, Q, le, me, ue, M, U, q, ge, be, ve = (
|
|
3960
4006
|
/*$_*/
|
|
3961
4007
|
e[19]("channelEmail") + ""
|
|
3962
4008
|
), J, De, Y, X, re, ye, we;
|
|
@@ -3993,51 +4039,51 @@ function yo(e) {
|
|
|
3993
4039
|
/*showResendOtp*/
|
|
3994
4040
|
b[9]
|
|
3995
4041
|
)
|
|
3996
|
-
return
|
|
4042
|
+
return Bo;
|
|
3997
4043
|
if (
|
|
3998
4044
|
/*showOtpInput*/
|
|
3999
4045
|
b[12] && /*config*/
|
|
4000
4046
|
b[4]
|
|
4001
4047
|
)
|
|
4002
|
-
return
|
|
4048
|
+
return Mo;
|
|
4003
4049
|
}
|
|
4004
|
-
let
|
|
4050
|
+
let de = Ge(e), F = de && de(e);
|
|
4005
4051
|
return {
|
|
4006
4052
|
c() {
|
|
4007
|
-
t = O("div"), K.c(), n = j(), r = O("div"), i = O("label"), o = O("div"), a = j(), s = O("input"), l = j(), h = O("div"), f = ie("svg"),
|
|
4053
|
+
t = O("div"), K.c(), n = j(), r = O("div"), i = O("label"), o = O("div"), a = j(), s = O("input"), l = j(), h = O("div"), f = ie("svg"), p = ie("path"), y = ie("circle"), m = ie("circle"), g = ie("circle"), _ = j(), S = O("span"), I = k(B), D = j(), P = O("label"), N = O("div"), ne = j(), Q = O("input"), me = j(), ue = O("div"), M = ie("svg"), U = ie("rect"), q = ie("path"), ge = j(), be = O("span"), J = k(ve), De = j(), W && W.c(), Y = j(), z && z.c(), X = j(), re = O("div"), F && F.c(), d(t, "class", "OtpDescription"), d(o, "class", "RadioIndicator"), oe(
|
|
4008
4054
|
o,
|
|
4009
4055
|
"checked",
|
|
4010
4056
|
/*selectedChannel*/
|
|
4011
4057
|
e[0] === /*channels*/
|
|
4012
4058
|
e[20].SMS
|
|
4013
|
-
),
|
|
4059
|
+
), d(s, "type", "radio"), d(s, "name", "channel"), s.value = /*channels*/
|
|
4014
4060
|
e[20].SMS, s.checked = u = /*selectedChannel*/
|
|
4015
4061
|
e[0] === /*channels*/
|
|
4016
|
-
e[20].SMS, p
|
|
4062
|
+
e[20].SMS, d(p, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), d(y, "cx", "9"), d(y, "cy", "11"), d(y, "r", "0.5"), d(y, "fill", "currentColor"), d(m, "cx", "12"), d(m, "cy", "11"), d(m, "r", "0.5"), d(m, "fill", "currentColor"), d(g, "cx", "15"), d(g, "cy", "11"), d(g, "r", "0.5"), d(g, "fill", "currentColor"), d(f, "xmlns", "http://www.w3.org/2000/svg"), d(f, "width", "24"), d(f, "height", "24"), d(f, "viewBox", "0 0 24 24"), d(f, "fill", "none"), d(f, "stroke", "currentColor"), d(f, "stroke-width", "2"), d(f, "stroke-linecap", "round"), d(f, "stroke-linejoin", "round"), d(h, "class", "ChannelContent"), d(i, "class", "ChannelCheckbox"), oe(
|
|
4017
4063
|
i,
|
|
4018
4064
|
"selected",
|
|
4019
4065
|
/*selectedChannel*/
|
|
4020
4066
|
e[0] === /*channels*/
|
|
4021
4067
|
e[20].SMS
|
|
4022
|
-
),
|
|
4068
|
+
), d(N, "class", "RadioIndicator"), oe(
|
|
4023
4069
|
N,
|
|
4024
4070
|
"checked",
|
|
4025
4071
|
/*selectedChannel*/
|
|
4026
4072
|
e[0] === /*channels*/
|
|
4027
4073
|
e[20].EMAIL
|
|
4028
|
-
),
|
|
4074
|
+
), d(Q, "type", "radio"), d(Q, "name", "channel"), Q.value = /*channels*/
|
|
4029
4075
|
e[20].EMAIL, Q.checked = le = /*selectedChannel*/
|
|
4030
4076
|
e[0] === /*channels*/
|
|
4031
|
-
e[20].EMAIL,
|
|
4077
|
+
e[20].EMAIL, d(U, "x", "2"), d(U, "y", "4"), d(U, "width", "20"), d(U, "height", "16"), d(U, "rx", "2"), d(q, "d", "m2 7 10 6 10-6"), d(M, "xmlns", "http://www.w3.org/2000/svg"), d(M, "width", "24"), d(M, "height", "24"), d(M, "viewBox", "0 0 24 24"), d(M, "fill", "none"), d(M, "stroke", "currentColor"), d(M, "stroke-width", "2"), d(M, "stroke-linecap", "round"), d(M, "stroke-linejoin", "round"), d(ue, "class", "ChannelContent"), d(P, "class", "ChannelCheckbox"), oe(
|
|
4032
4078
|
P,
|
|
4033
4079
|
"selected",
|
|
4034
4080
|
/*selectedChannel*/
|
|
4035
4081
|
e[0] === /*channels*/
|
|
4036
4082
|
e[20].EMAIL
|
|
4037
|
-
),
|
|
4083
|
+
), d(r, "class", "ChannelSelection"), d(re, "class", "OtpActionButtons");
|
|
4038
4084
|
},
|
|
4039
4085
|
m(b, C) {
|
|
4040
|
-
A(b, t, C), K.m(t, null), A(b, n, C), A(b, r, C), v(r, i), v(i, o), v(i, a), v(i, s), v(i, l), v(i, h), v(h, f), v(f,
|
|
4086
|
+
A(b, t, C), K.m(t, null), A(b, n, C), A(b, r, C), v(r, i), v(i, o), v(i, a), v(i, s), v(i, l), v(i, h), v(h, f), v(f, p), v(f, y), v(f, m), v(f, g), v(h, _), v(h, S), v(S, I), v(r, D), v(r, P), v(P, N), v(P, ne), v(P, Q), v(P, me), v(P, ue), v(ue, M), v(M, U), v(M, q), v(ue, ge), v(ue, be), v(be, J), A(b, De, C), W && W.m(b, C), A(b, Y, C), z && z.m(b, C), A(b, X, C), A(b, re, C), F && F.m(re, null), ye || (we = [
|
|
4041
4087
|
ce(
|
|
4042
4088
|
s,
|
|
4043
4089
|
"change",
|
|
@@ -4064,8 +4110,8 @@ function yo(e) {
|
|
|
4064
4110
|
1 && u !== (u = /*selectedChannel*/
|
|
4065
4111
|
b[0] === /*channels*/
|
|
4066
4112
|
b[20].SMS) && (s.checked = u), C[0] & /*$_*/
|
|
4067
|
-
524288 &&
|
|
4068
|
-
b[19]("channelSMS") + "") && V(I,
|
|
4113
|
+
524288 && B !== (B = /*$_*/
|
|
4114
|
+
b[19]("channelSMS") + "") && V(I, B), C[0] & /*selectedChannel, channels*/
|
|
4069
4115
|
1048577 && oe(
|
|
4070
4116
|
i,
|
|
4071
4117
|
"selected",
|
|
@@ -4092,7 +4138,7 @@ function yo(e) {
|
|
|
4092
4138
|
b[0] === /*channels*/
|
|
4093
4139
|
b[20].EMAIL
|
|
4094
4140
|
), /*selectedChannel*/
|
|
4095
|
-
b[0] ? W ? W.p(b, C) : (W = on(b), W.c(), W.m(Y.parentNode, Y)) : W && (W.d(1), W = null), fe === (fe = Ue(b)) && z ? z.p(b, C) : (z && z.d(1), z = fe && fe(b), z && (z.c(), z.m(X.parentNode, X))),
|
|
4141
|
+
b[0] ? W ? W.p(b, C) : (W = on(b), W.c(), W.m(Y.parentNode, Y)) : W && (W.d(1), W = null), fe === (fe = Ue(b)) && z ? z.p(b, C) : (z && z.d(1), z = fe && fe(b), z && (z.c(), z.m(X.parentNode, X))), de === (de = Ge(b)) && F ? F.p(b, C) : (F && F.d(1), F = de && de(b), F && (F.c(), F.m(re, null)));
|
|
4096
4142
|
},
|
|
4097
4143
|
d(b) {
|
|
4098
4144
|
b && (H(t), H(n), H(r), H(De), H(Y), H(X), H(re)), K.d(), W && W.d(b), z && z.d(b), F && F.d(), ye = !1, _e(we);
|
|
@@ -4103,7 +4149,7 @@ function Eo(e) {
|
|
|
4103
4149
|
let t, n, r, i, o, a, s = (
|
|
4104
4150
|
/*$_*/
|
|
4105
4151
|
e[19]("errorHeader") + ""
|
|
4106
|
-
), u, l, h, f,
|
|
4152
|
+
), u, l, h, f, p, y, m = (
|
|
4107
4153
|
/*$_*/
|
|
4108
4154
|
e[19]("close") + ""
|
|
4109
4155
|
), g, _, S;
|
|
@@ -4112,30 +4158,30 @@ function Eo(e) {
|
|
|
4112
4158
|
t = O("div"), n = O("div"), r = ie("svg"), i = ie("path"), o = j(), a = O("h2"), u = k(s), l = j(), h = O("p"), f = k(
|
|
4113
4159
|
/*errorMessage*/
|
|
4114
4160
|
e[8]
|
|
4115
|
-
),
|
|
4161
|
+
), p = j(), y = O("button"), g = k(m), d(i, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), d(r, "xmlns", "http://www.w3.org/2000/svg"), d(r, "viewBox", "0 0 512 512"), d(n, "class", "OtpErrorHeader"), d(y, "class", "OtpButton error"), d(t, "class", "OtpError");
|
|
4116
4162
|
},
|
|
4117
|
-
m(
|
|
4118
|
-
A(
|
|
4163
|
+
m(B, I) {
|
|
4164
|
+
A(B, t, I), v(t, n), v(n, r), v(r, i), v(n, o), v(n, a), v(a, u), v(t, l), v(t, h), v(h, f), v(t, p), v(t, y), v(y, g), _ || (S = ce(
|
|
4119
4165
|
y,
|
|
4120
4166
|
"click",
|
|
4121
4167
|
/*manualClosePopup*/
|
|
4122
4168
|
e[28]
|
|
4123
4169
|
), _ = !0);
|
|
4124
4170
|
},
|
|
4125
|
-
p(
|
|
4171
|
+
p(B, I) {
|
|
4126
4172
|
I[0] & /*$_*/
|
|
4127
4173
|
524288 && s !== (s = /*$_*/
|
|
4128
|
-
|
|
4174
|
+
B[19]("errorHeader") + "") && V(u, s), I[0] & /*errorMessage*/
|
|
4129
4175
|
256 && V(
|
|
4130
4176
|
f,
|
|
4131
4177
|
/*errorMessage*/
|
|
4132
|
-
|
|
4178
|
+
B[8]
|
|
4133
4179
|
), I[0] & /*$_*/
|
|
4134
4180
|
524288 && m !== (m = /*$_*/
|
|
4135
|
-
|
|
4181
|
+
B[19]("close") + "") && V(g, m);
|
|
4136
4182
|
},
|
|
4137
|
-
d(
|
|
4138
|
-
|
|
4183
|
+
d(B) {
|
|
4184
|
+
B && H(t), _ = !1, S();
|
|
4139
4185
|
}
|
|
4140
4186
|
};
|
|
4141
4187
|
}
|
|
@@ -4153,7 +4199,7 @@ function _o(e) {
|
|
|
4153
4199
|
);
|
|
4154
4200
|
return {
|
|
4155
4201
|
c() {
|
|
4156
|
-
t = O("p"), s.c(), r = j(), u && u.c(), i = or(),
|
|
4202
|
+
t = O("p"), s.c(), r = j(), u && u.c(), i = or(), d(t, "class", n = /*isLastWarning*/
|
|
4157
4203
|
e[10] ? "LastWarningMessage" : "");
|
|
4158
4204
|
},
|
|
4159
4205
|
m(l, h) {
|
|
@@ -4162,7 +4208,7 @@ function _o(e) {
|
|
|
4162
4208
|
p(l, h) {
|
|
4163
4209
|
a === (a = o(l)) && s ? s.p(l, h) : (s.d(1), s = a(l), s && (s.c(), s.m(t, null))), h[0] & /*isLastWarning*/
|
|
4164
4210
|
1024 && n !== (n = /*isLastWarning*/
|
|
4165
|
-
l[10] ? "LastWarningMessage" : "") &&
|
|
4211
|
+
l[10] ? "LastWarningMessage" : "") && d(t, "class", n), /*hasErrors*/
|
|
4166
4212
|
l[6] ? u ? u.p(l, h) : (u = rn(l), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null);
|
|
4167
4213
|
},
|
|
4168
4214
|
d(l) {
|
|
@@ -4199,7 +4245,7 @@ function wo(e) {
|
|
|
4199
4245
|
), r;
|
|
4200
4246
|
return {
|
|
4201
4247
|
c() {
|
|
4202
|
-
t = O("p"), r = k(n),
|
|
4248
|
+
t = O("p"), r = k(n), d(t, "class", "OtpNoticeMessage"), d(t, "role", "alert");
|
|
4203
4249
|
},
|
|
4204
4250
|
m(i, o) {
|
|
4205
4251
|
A(i, t, o), v(t, r);
|
|
@@ -4265,7 +4311,7 @@ function rn(e) {
|
|
|
4265
4311
|
t = O("p"), n = k(
|
|
4266
4312
|
/*errorMessage*/
|
|
4267
4313
|
e[8]
|
|
4268
|
-
),
|
|
4314
|
+
), d(t, "class", "OtpErrorMessage"), d(t, "role", "alert");
|
|
4269
4315
|
},
|
|
4270
4316
|
m(r, i) {
|
|
4271
4317
|
A(r, t, i), v(t, n);
|
|
@@ -4294,7 +4340,7 @@ function on(e) {
|
|
|
4294
4340
|
let a = o(e), s = a(e);
|
|
4295
4341
|
return {
|
|
4296
4342
|
c() {
|
|
4297
|
-
t = O("button"), s.c(),
|
|
4343
|
+
t = O("button"), s.c(), d(t, "class", "OtpButton"), t.disabled = n = !/*canSubmitChannel*/
|
|
4298
4344
|
e[18], oe(t, "disabled", !/*canSubmitChannel*/
|
|
4299
4345
|
e[18] || /*waitingForConfig*/
|
|
4300
4346
|
e[16]);
|
|
@@ -4385,7 +4431,7 @@ function Co(e) {
|
|
|
4385
4431
|
), s, u, l = (
|
|
4386
4432
|
/*$_*/
|
|
4387
4433
|
e[19]("minutes") + ""
|
|
4388
|
-
), h, f,
|
|
4434
|
+
), h, f, p, y = Gt(
|
|
4389
4435
|
/*otp*/
|
|
4390
4436
|
e[2]
|
|
4391
4437
|
), m = [];
|
|
@@ -4393,15 +4439,15 @@ function Co(e) {
|
|
|
4393
4439
|
m[g] = sn(nn(e, y, g));
|
|
4394
4440
|
return {
|
|
4395
4441
|
c() {
|
|
4396
|
-
t = O("div"), n = O("div"), i = k(r), o = j(), s = k(a), u = j(), h = k(l), f = j(),
|
|
4442
|
+
t = O("div"), n = O("div"), i = k(r), o = j(), s = k(a), u = j(), h = k(l), f = j(), p = O("div");
|
|
4397
4443
|
for (let g = 0; g < m.length; g += 1)
|
|
4398
4444
|
m[g].c();
|
|
4399
|
-
|
|
4445
|
+
d(n, "class", "OtpTimer"), d(p, "class", "OtpField"), d(t, "class", "OtpFieldWrapper");
|
|
4400
4446
|
},
|
|
4401
4447
|
m(g, _) {
|
|
4402
|
-
A(g, t, _), v(t, n), v(n, i), v(n, o), v(n, s), v(n, u), v(n, h), v(t, f), v(t,
|
|
4448
|
+
A(g, t, _), v(t, n), v(n, i), v(n, o), v(n, s), v(n, u), v(n, h), v(t, f), v(t, p);
|
|
4403
4449
|
for (let S = 0; S < m.length; S += 1)
|
|
4404
|
-
m[S] && m[S].m(
|
|
4450
|
+
m[S] && m[S].m(p, null);
|
|
4405
4451
|
},
|
|
4406
4452
|
p(g, _) {
|
|
4407
4453
|
if (_[0] & /*$_*/
|
|
@@ -4421,8 +4467,8 @@ function Co(e) {
|
|
|
4421
4467
|
);
|
|
4422
4468
|
let S;
|
|
4423
4469
|
for (S = 0; S < y.length; S += 1) {
|
|
4424
|
-
const
|
|
4425
|
-
m[S] ? m[S].p(
|
|
4470
|
+
const B = nn(g, y, S);
|
|
4471
|
+
m[S] ? m[S].p(B, _) : (m[S] = sn(B), m[S].c(), m[S].m(p, null));
|
|
4426
4472
|
}
|
|
4427
4473
|
for (; S < m.length; S += 1)
|
|
4428
4474
|
m[S].d(1);
|
|
@@ -4438,7 +4484,7 @@ function Ao(e) {
|
|
|
4438
4484
|
let t;
|
|
4439
4485
|
return {
|
|
4440
4486
|
c() {
|
|
4441
|
-
t = O("div"), t.innerHTML = '<span class="OtpLoader"></span>',
|
|
4487
|
+
t = O("div"), t.innerHTML = '<span class="OtpLoader"></span>', d(t, "class", "OtpLoaderContainer");
|
|
4442
4488
|
},
|
|
4443
4489
|
m(n, r) {
|
|
4444
4490
|
A(n, t, r);
|
|
@@ -4483,16 +4529,16 @@ function sn(e) {
|
|
|
4483
4529
|
}
|
|
4484
4530
|
return {
|
|
4485
4531
|
c() {
|
|
4486
|
-
t = O("input"),
|
|
4487
|
-
e[71]}`),
|
|
4532
|
+
t = O("input"), d(t, "id", `otp-input-${/*index*/
|
|
4533
|
+
e[71]}`), d(t, "type", "text"), d(t, "class", n = `otp-box ${/*config*/
|
|
4488
4534
|
e[4].inputLength % 2 === 0 && /*index*/
|
|
4489
4535
|
e[71] === /*config*/
|
|
4490
|
-
e[4].inputLength / 2 - 1 ? "space" : ""}`),
|
|
4491
|
-
e[69],
|
|
4492
|
-
e[11],
|
|
4536
|
+
e[4].inputLength / 2 - 1 ? "space" : ""}`), d(t, "maxlength", 1), t.value = r = /*char*/
|
|
4537
|
+
e[69], d(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
|
|
4538
|
+
e[11], d(t, "autocomplete", "off");
|
|
4493
4539
|
},
|
|
4494
|
-
m(f,
|
|
4495
|
-
A(f, t,
|
|
4540
|
+
m(f, p) {
|
|
4541
|
+
A(f, t, p), s(), o || (a = [
|
|
4496
4542
|
ce(t, "input", l),
|
|
4497
4543
|
ce(t, "keydown", h),
|
|
4498
4544
|
ce(
|
|
@@ -4503,14 +4549,14 @@ function sn(e) {
|
|
|
4503
4549
|
)
|
|
4504
4550
|
], o = !0);
|
|
4505
4551
|
},
|
|
4506
|
-
p(f,
|
|
4507
|
-
e = f,
|
|
4552
|
+
p(f, p) {
|
|
4553
|
+
e = f, p[0] & /*config*/
|
|
4508
4554
|
16 && n !== (n = `otp-box ${/*config*/
|
|
4509
4555
|
e[4].inputLength % 2 === 0 && /*index*/
|
|
4510
4556
|
e[71] === /*config*/
|
|
4511
|
-
e[4].inputLength / 2 - 1 ? "space" : ""}`) &&
|
|
4557
|
+
e[4].inputLength / 2 - 1 ? "space" : ""}`) && d(t, "class", n), p[0] & /*otp*/
|
|
4512
4558
|
4 && r !== (r = /*char*/
|
|
4513
|
-
e[69]) && t.value !== r && (t.value = r),
|
|
4559
|
+
e[69]) && t.value !== r && (t.value = r), p[0] & /*inputDisabled*/
|
|
4514
4560
|
2048 && (t.disabled = /*inputDisabled*/
|
|
4515
4561
|
e[11]), i !== /*index*/
|
|
4516
4562
|
e[71] && (u(), i = /*index*/
|
|
@@ -4521,14 +4567,14 @@ function sn(e) {
|
|
|
4521
4567
|
}
|
|
4522
4568
|
};
|
|
4523
4569
|
}
|
|
4524
|
-
function
|
|
4570
|
+
function Mo(e) {
|
|
4525
4571
|
let t, n = (
|
|
4526
4572
|
/*$_*/
|
|
4527
4573
|
e[19]("submit") + ""
|
|
4528
4574
|
), r, i, o, a;
|
|
4529
4575
|
return {
|
|
4530
4576
|
c() {
|
|
4531
|
-
t = O("button"), r = k(n),
|
|
4577
|
+
t = O("button"), r = k(n), d(t, "class", "OtpButton"), t.disabled = i = /*otp*/
|
|
4532
4578
|
e[2].join("").length !== /*config*/
|
|
4533
4579
|
e[4].inputLength || /*isSubmitting*/
|
|
4534
4580
|
e[13] || /*maxAttempts*/
|
|
@@ -4557,14 +4603,14 @@ function Bo(e) {
|
|
|
4557
4603
|
}
|
|
4558
4604
|
};
|
|
4559
4605
|
}
|
|
4560
|
-
function
|
|
4606
|
+
function Bo(e) {
|
|
4561
4607
|
let t, n = (
|
|
4562
4608
|
/*$_*/
|
|
4563
4609
|
e[19]("resendOtp") + ""
|
|
4564
4610
|
), r, i, o;
|
|
4565
4611
|
return {
|
|
4566
4612
|
c() {
|
|
4567
|
-
t = O("button"), r = k(n),
|
|
4613
|
+
t = O("button"), r = k(n), d(t, "class", "OtpButton");
|
|
4568
4614
|
},
|
|
4569
4615
|
m(a, s) {
|
|
4570
4616
|
A(a, t, s), v(t, r), i || (o = ce(
|
|
@@ -4595,7 +4641,7 @@ function Po(e) {
|
|
|
4595
4641
|
let r = n(e), i = r(e);
|
|
4596
4642
|
return {
|
|
4597
4643
|
c() {
|
|
4598
|
-
t = O("div"), i.c(),
|
|
4644
|
+
t = O("div"), i.c(), d(t, "class", "OtpContent");
|
|
4599
4645
|
},
|
|
4600
4646
|
m(o, a) {
|
|
4601
4647
|
A(o, t, a), i.m(t, null), e[44](t);
|
|
@@ -4613,7 +4659,7 @@ function Po(e) {
|
|
|
4613
4659
|
function Lo(e, t, n) {
|
|
4614
4660
|
let r, i, o;
|
|
4615
4661
|
er(e, go, (c) => n(19, o = c));
|
|
4616
|
-
let { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { endpoint: h } = t, { session: f } = t, { translationurl:
|
|
4662
|
+
let { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { endpoint: h } = t, { session: f } = t, { translationurl: p } = t, { templateid: y } = t, m = [], g = !0, _ = null, S = 0, B = "", I = "", D = !1, P = !1, N = "", ne = "", Q = "", le = !1, me = !1, ue = !1, M = "", U = {}, q = null, ge = !1, be = !1, ve = "", J, De, Y = [], X = null, re = 0, ye = !1, we = !1;
|
|
4617
4663
|
const Se = { SMS: "sms", EMAIL: "email" }, he = {
|
|
4618
4664
|
MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
|
|
4619
4665
|
INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
|
|
@@ -4625,7 +4671,7 @@ function Lo(e, t, n) {
|
|
|
4625
4671
|
const K = () => {
|
|
4626
4672
|
bo(l);
|
|
4627
4673
|
}, W = () => {
|
|
4628
|
-
fetch(
|
|
4674
|
+
fetch(p).then((c) => c.json()).then((c) => {
|
|
4629
4675
|
Object.keys(c).forEach((E) => {
|
|
4630
4676
|
en(E, c[E]);
|
|
4631
4677
|
});
|
|
@@ -4642,7 +4688,7 @@ function Lo(e, t, n) {
|
|
|
4642
4688
|
n(12, ge = !1), n(3, g = !1);
|
|
4643
4689
|
}
|
|
4644
4690
|
}), fe = () => {
|
|
4645
|
-
X && (clearInterval(X), X = null),
|
|
4691
|
+
X && (clearInterval(X), X = null), q && (clearInterval(q), q = null), n(6, D = !1), n(7, P = !1), n(8, N = ""), n(10, me = !1), n(2, m = []), n(4, _ = null), n(3, g = !0), n(0, M = ""), n(12, ge = !1), n(38, U = {});
|
|
4646
4692
|
}, z = () => {
|
|
4647
4693
|
fe();
|
|
4648
4694
|
}, Ge = () => new Promise((c, E) => {
|
|
@@ -4652,7 +4698,7 @@ function Lo(e, t, n) {
|
|
|
4652
4698
|
method: "PATCH",
|
|
4653
4699
|
headers: G,
|
|
4654
4700
|
body: JSON.stringify({
|
|
4655
|
-
channel:
|
|
4701
|
+
channel: M,
|
|
4656
4702
|
templateId: y
|
|
4657
4703
|
})
|
|
4658
4704
|
};
|
|
@@ -4661,26 +4707,26 @@ function Lo(e, t, n) {
|
|
|
4661
4707
|
}).catch((Rt) => {
|
|
4662
4708
|
E();
|
|
4663
4709
|
});
|
|
4664
|
-
}),
|
|
4665
|
-
|
|
4710
|
+
}), de = () => {
|
|
4711
|
+
q && clearInterval(q), q = setInterval(
|
|
4666
4712
|
() => {
|
|
4667
4713
|
const c = We({}, U);
|
|
4668
4714
|
let E = !1;
|
|
4669
4715
|
Object.keys(c).forEach((x) => {
|
|
4670
4716
|
c[x] > 0 && (c[x]--, E = !0);
|
|
4671
|
-
}), n(38, U = c), !E &&
|
|
4717
|
+
}), n(38, U = c), !E && q && (clearInterval(q), q = null);
|
|
4672
4718
|
},
|
|
4673
4719
|
1e3
|
|
4674
4720
|
);
|
|
4675
4721
|
}, F = (c) => {
|
|
4676
|
-
n(0,
|
|
4722
|
+
n(0, M = c);
|
|
4677
4723
|
}, b = () => Ee(this, null, function* () {
|
|
4678
|
-
if (!(!
|
|
4679
|
-
n(3, g = !0), y && y.startsWith("2fa-") && n(30, y = `2fa-${
|
|
4724
|
+
if (!(!M || U[M] && U[M] > 0)) {
|
|
4725
|
+
n(3, g = !0), y && y.startsWith("2fa-") && n(30, y = `2fa-${M}`);
|
|
4680
4726
|
try {
|
|
4681
4727
|
yield Ge(), yield ht(), n(38, U = ft(We({}, U), {
|
|
4682
|
-
[
|
|
4683
|
-
})),
|
|
4728
|
+
[M]: 30
|
|
4729
|
+
})), de(), n(12, ge = !0), C(), at();
|
|
4684
4730
|
} catch (c) {
|
|
4685
4731
|
console.error("Error submitting channel:", c), n(6, D = !0), n(8, N = o("submissionError"));
|
|
4686
4732
|
} finally {
|
|
@@ -4688,7 +4734,7 @@ function Lo(e, t, n) {
|
|
|
4688
4734
|
}
|
|
4689
4735
|
}
|
|
4690
4736
|
}), C = () => {
|
|
4691
|
-
const c = new Date(
|
|
4737
|
+
const c = new Date(B), E = new Date(I), x = /* @__PURE__ */ new Date(), G = E.getTime() - x.getTime();
|
|
4692
4738
|
re = c.getTime() - G;
|
|
4693
4739
|
const $ = Date.now(), Te = Math.max(0, Math.floor((re - $) / 1e3));
|
|
4694
4740
|
n(5, S = Te);
|
|
@@ -4805,7 +4851,7 @@ function Lo(e, t, n) {
|
|
|
4805
4851
|
n(3, g = !0);
|
|
4806
4852
|
const c = new URL(`/api/nwa/api/v1/mfa/challenge/${ne}/config`, h), E = yield fetch(c.href), x = yield E.json();
|
|
4807
4853
|
if (E.ok)
|
|
4808
|
-
n(4, _ = x), n(2, m = Array(_.inputLength).fill("")), n(9, le = !1),
|
|
4854
|
+
n(4, _ = x), n(2, m = Array(_.inputLength).fill("")), n(9, le = !1), B = _.expirationTime, I = _.serverTime, _.numberOfValidateAttempts !== 0 && (n(6, D = !0), n(8, N = o("invalidOtp"))), _.numberOfValidateAttempts === _.maxValidationAttempts - 1 && n(10, me = !0), n(3, g = !1), C(), at(), n(16, we = !1);
|
|
4809
4855
|
else if (x && x.details === he.MAX_ATTEMPTS_EXCEEDED)
|
|
4810
4856
|
window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
4811
4857
|
else {
|
|
@@ -4817,7 +4863,7 @@ function Lo(e, t, n) {
|
|
|
4817
4863
|
}
|
|
4818
4864
|
});
|
|
4819
4865
|
ur(() => (window.addEventListener("stepUpAuthRequired", Ue, !1), window.addEventListener("closePopup", z, !1), () => {
|
|
4820
|
-
window.removeEventListener("stepUpAuthRequired", Ue), window.removeEventListener("closePopup", z, !1), X && clearInterval(X),
|
|
4866
|
+
window.removeEventListener("stepUpAuthRequired", Ue), window.removeEventListener("closePopup", z, !1), X && clearInterval(X), q && clearInterval(q);
|
|
4821
4867
|
}));
|
|
4822
4868
|
const jn = () => F(Se.SMS), Vn = () => F(Se.EMAIL);
|
|
4823
4869
|
function zn(c, E) {
|
|
@@ -4832,7 +4878,7 @@ function Lo(e, t, n) {
|
|
|
4832
4878
|
});
|
|
4833
4879
|
}
|
|
4834
4880
|
return e.$$set = (c) => {
|
|
4835
|
-
"clientstyling" in c && n(31, a = c.clientstyling), "clientstylingurl" in c && n(32, s = c.clientstylingurl), "mbsource" in c && n(33, u = c.mbsource), "lang" in c && n(34, l = c.lang), "endpoint" in c && n(35, h = c.endpoint), "session" in c && n(36, f = c.session), "translationurl" in c && n(37,
|
|
4881
|
+
"clientstyling" in c && n(31, a = c.clientstyling), "clientstylingurl" in c && n(32, s = c.clientstylingurl), "mbsource" in c && n(33, u = c.mbsource), "lang" in c && n(34, l = c.lang), "endpoint" in c && n(35, h = c.endpoint), "session" in c && n(36, f = c.session), "translationurl" in c && n(37, p = c.translationurl), "templateid" in c && n(30, y = c.templateid);
|
|
4836
4882
|
}, e.$$.update = () => {
|
|
4837
4883
|
e.$$.dirty[0] & /*customStylingContainer*/
|
|
4838
4884
|
2 | e.$$.dirty[1] & /*clientstyling*/
|
|
@@ -4842,13 +4888,13 @@ function Lo(e, t, n) {
|
|
|
4842
4888
|
2 | e.$$.dirty[1] & /*mbsource*/
|
|
4843
4889
|
4 && u && J && Tr(J, `${u}.Style`, De), e.$$.dirty[1] & /*lang*/
|
|
4844
4890
|
8 && l && K(), e.$$.dirty[1] & /*lang, translationurl*/
|
|
4845
|
-
72 && l &&
|
|
4891
|
+
72 && l && p && W(), e.$$.dirty[0] & /*selectedChannel*/
|
|
4846
4892
|
1 | e.$$.dirty[1] & /*channelSubmitTimers*/
|
|
4847
|
-
128 && n(18, r =
|
|
4893
|
+
128 && n(18, r = M && (!U[M] || U[M] === 0)), e.$$.dirty[0] & /*selectedChannel*/
|
|
4848
4894
|
1 | e.$$.dirty[1] & /*channelSubmitTimers*/
|
|
4849
|
-
128 && n(17, i =
|
|
4895
|
+
128 && n(17, i = M && U[M] || 0);
|
|
4850
4896
|
}, [
|
|
4851
|
-
|
|
4897
|
+
M,
|
|
4852
4898
|
J,
|
|
4853
4899
|
m,
|
|
4854
4900
|
g,
|
|
@@ -4885,7 +4931,7 @@ function Lo(e, t, n) {
|
|
|
4885
4931
|
l,
|
|
4886
4932
|
h,
|
|
4887
4933
|
f,
|
|
4888
|
-
|
|
4934
|
+
p,
|
|
4889
4935
|
U,
|
|
4890
4936
|
jn,
|
|
4891
4937
|
Vn,
|