@everymatrix/cashier-session-expiration-modal 1.54.8 → 1.54.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierSessionExpirationModal-DrKM_g26.js → CashierSessionExpirationModal-C-jqeLlS.js} +390 -390
- package/components/{CashierSessionExpirationModal-USDvtyiY.cjs → CashierSessionExpirationModal-Czs4Kb3v.cjs} +7 -7
- package/components/{CashierSessionExpirationModal-DmJaxNwn.js → CashierSessionExpirationModal-DsxGwhjW.js} +392 -392
- package/es2015/cashier-session-expiration-modal.cjs +1 -1
- package/es2015/cashier-session-expiration-modal.js +1 -1
- package/esnext/cashier-session-expiration-modal.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function he() {
|
|
2
2
|
}
|
|
3
3
|
const kr = (e) => e;
|
|
4
4
|
function ki(e, t) {
|
|
@@ -34,7 +34,7 @@ function zr(e, ...t) {
|
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const r of t)
|
|
36
36
|
r(void 0);
|
|
37
|
-
return
|
|
37
|
+
return he;
|
|
38
38
|
}
|
|
39
39
|
const n = e.subscribe(...t);
|
|
40
40
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
@@ -57,8 +57,8 @@ function Ht(e, t, n, r) {
|
|
|
57
57
|
if (t.dirty === void 0)
|
|
58
58
|
return i;
|
|
59
59
|
if (typeof i == "object") {
|
|
60
|
-
const s = [],
|
|
61
|
-
for (let a = 0; a <
|
|
60
|
+
const s = [], l = Math.max(t.dirty.length, i.length);
|
|
61
|
+
for (let a = 0; a < l; a += 1)
|
|
62
62
|
s[a] = t.dirty[a] | i[a];
|
|
63
63
|
return s;
|
|
64
64
|
}
|
|
@@ -68,8 +68,8 @@ function Ht(e, t, n, r) {
|
|
|
68
68
|
}
|
|
69
69
|
function Nt(e, t, n, r, i, s) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const
|
|
72
|
-
e.p(
|
|
71
|
+
const l = jr(t, n, r, s);
|
|
72
|
+
e.p(l, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
function Pt(e) {
|
|
@@ -82,7 +82,7 @@ function Pt(e) {
|
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
84
|
const Wr = typeof window < "u";
|
|
85
|
-
let zi = Wr ? () => window.performance.now() : () => Date.now(), Hn = Wr ? (e) => requestAnimationFrame(e) :
|
|
85
|
+
let zi = Wr ? () => window.performance.now() : () => Date.now(), Hn = Wr ? (e) => requestAnimationFrame(e) : he;
|
|
86
86
|
const Ze = /* @__PURE__ */ new Set();
|
|
87
87
|
function Zr(e) {
|
|
88
88
|
Ze.forEach((t) => {
|
|
@@ -145,7 +145,7 @@ function rr(e) {
|
|
|
145
145
|
function Ke(e) {
|
|
146
146
|
return document.createTextNode(e);
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function ht() {
|
|
149
149
|
return Ke(" ");
|
|
150
150
|
}
|
|
151
151
|
function Xr() {
|
|
@@ -189,8 +189,8 @@ function Ji(e, t) {
|
|
|
189
189
|
window,
|
|
190
190
|
"message",
|
|
191
191
|
/** @param {MessageEvent} event */
|
|
192
|
-
(
|
|
193
|
-
|
|
192
|
+
(l) => {
|
|
193
|
+
l.source === r.contentWindow && t();
|
|
194
194
|
}
|
|
195
195
|
)) : (r.src = "about:blank", r.onload = () => {
|
|
196
196
|
s = Ut(r.contentWindow, "resize", t), t();
|
|
@@ -221,18 +221,18 @@ function Ki(e, t) {
|
|
|
221
221
|
const n = { stylesheet: Zi(t), rules: {} };
|
|
222
222
|
return kt.set(e, n), n;
|
|
223
223
|
}
|
|
224
|
-
function ir(e, t, n, r, i, s,
|
|
224
|
+
function ir(e, t, n, r, i, s, l, a = 0) {
|
|
225
225
|
const c = 16.666 / r;
|
|
226
|
-
let
|
|
226
|
+
let u = `{
|
|
227
227
|
`;
|
|
228
228
|
for (let M = 0; M <= 1; M += c) {
|
|
229
229
|
const j = t + (n - t) * s(M);
|
|
230
|
-
|
|
230
|
+
u += M * 100 + `%{${l(j, 1 - j)}}
|
|
231
231
|
`;
|
|
232
232
|
}
|
|
233
|
-
const
|
|
234
|
-
}`, g = `__svelte_${Qi(
|
|
235
|
-
E[g] || (E[g] = !0, C.insertRule(`@keyframes ${g} ${
|
|
233
|
+
const h = u + `100% {${l(n, 1 - n)}}
|
|
234
|
+
}`, g = `__svelte_${Qi(h)}_${a}`, T = Nn(e), { stylesheet: C, rules: E } = kt.get(T) || Ki(T, e);
|
|
235
|
+
E[g] || (E[g] = !0, C.insertRule(`@keyframes ${g} ${h}`, C.cssRules.length));
|
|
236
236
|
const m = e.style.animation || "";
|
|
237
237
|
return e.style.animation = `${m ? `${m}, ` : ""}${g} ${r}ms linear ${i}ms 1 both`, Gt += 1, g;
|
|
238
238
|
}
|
|
@@ -345,19 +345,19 @@ function He(e, t, n, r) {
|
|
|
345
345
|
}), e.o(t);
|
|
346
346
|
} else r && r();
|
|
347
347
|
}
|
|
348
|
-
const
|
|
348
|
+
const ls = { duration: 0 };
|
|
349
349
|
function or(e, t, n, r) {
|
|
350
|
-
let s = t(e, n, { direction: "both" }),
|
|
350
|
+
let s = t(e, n, { direction: "both" }), l = r ? 0 : 1, a = null, c = null, u = null, h;
|
|
351
351
|
function g() {
|
|
352
|
-
|
|
352
|
+
u && $i(e, u);
|
|
353
353
|
}
|
|
354
354
|
function T(E, m) {
|
|
355
355
|
const M = (
|
|
356
356
|
/** @type {Program['d']} */
|
|
357
|
-
E.b -
|
|
357
|
+
E.b - l
|
|
358
358
|
);
|
|
359
359
|
return m *= Math.abs(M), {
|
|
360
|
-
a:
|
|
360
|
+
a: l,
|
|
361
361
|
b: E.b,
|
|
362
362
|
d: M,
|
|
363
363
|
duration: m,
|
|
@@ -371,17 +371,17 @@ function or(e, t, n, r) {
|
|
|
371
371
|
delay: m = 0,
|
|
372
372
|
duration: M = 300,
|
|
373
373
|
easing: j = kr,
|
|
374
|
-
tick: R =
|
|
374
|
+
tick: R = he,
|
|
375
375
|
css: A
|
|
376
|
-
} = s ||
|
|
376
|
+
} = s || ls, L = {
|
|
377
377
|
start: zi() + m,
|
|
378
378
|
b: E
|
|
379
379
|
};
|
|
380
|
-
E || (L.group = Oe, Oe.r += 1), "inert" in e && (E ?
|
|
381
|
-
e.inert, e.inert = !0)), a || c ? c = L : (A && (g(),
|
|
382
|
-
if (c && D > c.start && (a = T(c, M), c = null, on(e, a.b, "start"), A && (g(),
|
|
380
|
+
E || (L.group = Oe, Oe.r += 1), "inert" in e && (E ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
381
|
+
e.inert, e.inert = !0)), a || c ? c = L : (A && (g(), u = ir(e, l, E, M, m, j, A)), E && R(0, 1), a = T(L, M), Xe(() => on(e, E, "start")), ji((D) => {
|
|
382
|
+
if (c && D > c.start && (a = T(c, M), c = null, on(e, a.b, "start"), A && (g(), u = ir(
|
|
383
383
|
e,
|
|
384
|
-
|
|
384
|
+
l,
|
|
385
385
|
a.b,
|
|
386
386
|
a.duration,
|
|
387
387
|
0,
|
|
@@ -389,10 +389,10 @@ function or(e, t, n, r) {
|
|
|
389
389
|
s.css
|
|
390
390
|
))), a) {
|
|
391
391
|
if (D >= a.end)
|
|
392
|
-
R(
|
|
392
|
+
R(l = a.b, 1 - l), on(e, a.b, "end"), c || (a.b ? g() : --a.group.r || Pe(a.group.c)), a = null;
|
|
393
393
|
else if (D >= a.start) {
|
|
394
394
|
const z = D - a.start;
|
|
395
|
-
|
|
395
|
+
l = a.a + a.d * j(z / a.duration), R(l, 1 - l);
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
398
|
return !!(a || c);
|
|
@@ -409,7 +409,7 @@ function or(e, t, n, r) {
|
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function us(e, t, n) {
|
|
413
413
|
const { fragment: r, after_update: i } = e.$$;
|
|
414
414
|
r && r.m(t, n), Xe(() => {
|
|
415
415
|
const s = e.$$.on_mount.map(Gr).filter(Zt);
|
|
@@ -420,18 +420,18 @@ function cs(e, t) {
|
|
|
420
420
|
const n = e.$$;
|
|
421
421
|
n.fragment !== null && (os(n.after_update), Pe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
422
422
|
}
|
|
423
|
-
function
|
|
423
|
+
function hs(e, t) {
|
|
424
424
|
e.$$.dirty[0] === -1 && (We.push(e), is(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function fs(e, t, n, r, i, s, l = null, a = [-1]) {
|
|
427
427
|
const c = pt;
|
|
428
428
|
mt(e);
|
|
429
|
-
const
|
|
429
|
+
const u = e.$$ = {
|
|
430
430
|
fragment: null,
|
|
431
431
|
ctx: [],
|
|
432
432
|
// state
|
|
433
433
|
props: s,
|
|
434
|
-
update:
|
|
434
|
+
update: he,
|
|
435
435
|
not_equal: i,
|
|
436
436
|
bound: nr(),
|
|
437
437
|
// lifecycle
|
|
@@ -447,18 +447,18 @@ function hs(e, t, n, r, i, s, u = null, a = [-1]) {
|
|
|
447
447
|
skip_bound: !1,
|
|
448
448
|
root: t.target || c.$$.root
|
|
449
449
|
};
|
|
450
|
-
|
|
451
|
-
let
|
|
452
|
-
if (
|
|
450
|
+
l && l(u.root);
|
|
451
|
+
let h = !1;
|
|
452
|
+
if (u.ctx = n ? n(e, t.props || {}, (g, T, ...C) => {
|
|
453
453
|
const E = C.length ? C[0] : T;
|
|
454
|
-
return
|
|
455
|
-
}) : [],
|
|
454
|
+
return u.ctx && i(u.ctx[g], u.ctx[g] = E) && (!u.skip_bound && u.bound[g] && u.bound[g](E), h && hs(e, g)), T;
|
|
455
|
+
}) : [], u.update(), h = !0, Pe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
456
456
|
if (t.hydrate) {
|
|
457
457
|
const g = Vi(t.target);
|
|
458
|
-
|
|
458
|
+
u.fragment && u.fragment.l(g), g.forEach(me);
|
|
459
459
|
} else
|
|
460
|
-
|
|
461
|
-
t.intro && Se(e.$$.fragment),
|
|
460
|
+
u.fragment && u.fragment.c();
|
|
461
|
+
t.intro && Se(e.$$.fragment), us(e, t.target, t.anchor), ce();
|
|
462
462
|
}
|
|
463
463
|
mt(c);
|
|
464
464
|
}
|
|
@@ -511,8 +511,8 @@ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
|
|
|
511
511
|
* @param {HTMLElement} target
|
|
512
512
|
* @param {HTMLElement} [anchor]
|
|
513
513
|
*/
|
|
514
|
-
m: function(c,
|
|
515
|
-
we(c, s,
|
|
514
|
+
m: function(c, u) {
|
|
515
|
+
we(c, s, u);
|
|
516
516
|
},
|
|
517
517
|
d: function(c) {
|
|
518
518
|
c && me(s);
|
|
@@ -558,8 +558,8 @@ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
|
|
|
558
558
|
this.$$c.$$.after_update.push(r), r();
|
|
559
559
|
for (const i in this.$$l)
|
|
560
560
|
for (const s of this.$$l[i]) {
|
|
561
|
-
const
|
|
562
|
-
this.$$l_u.set(s,
|
|
561
|
+
const l = this.$$c.$on(i, s);
|
|
562
|
+
this.$$l_u.set(s, l);
|
|
563
563
|
}
|
|
564
564
|
this.$$l = {};
|
|
565
565
|
}
|
|
@@ -610,7 +610,7 @@ function Lt(e, t, n, r) {
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
function ms(e, t, n, r, i, s) {
|
|
613
|
-
let
|
|
613
|
+
let l = class extends Qr {
|
|
614
614
|
constructor() {
|
|
615
615
|
super(e, n, i), this.$$p_d = t;
|
|
616
616
|
}
|
|
@@ -621,7 +621,7 @@ function ms(e, t, n, r, i, s) {
|
|
|
621
621
|
}
|
|
622
622
|
};
|
|
623
623
|
return Object.keys(t).forEach((a) => {
|
|
624
|
-
Object.defineProperty(
|
|
624
|
+
Object.defineProperty(l.prototype, a, {
|
|
625
625
|
get() {
|
|
626
626
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
627
627
|
},
|
|
@@ -630,13 +630,13 @@ function ms(e, t, n, r, i, s) {
|
|
|
630
630
|
}
|
|
631
631
|
});
|
|
632
632
|
}), r.forEach((a) => {
|
|
633
|
-
Object.defineProperty(
|
|
633
|
+
Object.defineProperty(l.prototype, a, {
|
|
634
634
|
get() {
|
|
635
635
|
return this.$$c?.[a];
|
|
636
636
|
}
|
|
637
637
|
});
|
|
638
638
|
}), e.element = /** @type {any} */
|
|
639
|
-
|
|
639
|
+
l, l;
|
|
640
640
|
}
|
|
641
641
|
class ps {
|
|
642
642
|
/**
|
|
@@ -657,7 +657,7 @@ class ps {
|
|
|
657
657
|
$$set = void 0;
|
|
658
658
|
/** @returns {void} */
|
|
659
659
|
$destroy() {
|
|
660
|
-
cs(this, 1), this.$destroy =
|
|
660
|
+
cs(this, 1), this.$destroy = he;
|
|
661
661
|
}
|
|
662
662
|
/**
|
|
663
663
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -667,7 +667,7 @@ class ps {
|
|
|
667
667
|
*/
|
|
668
668
|
$on(t, n) {
|
|
669
669
|
if (!Zt(n))
|
|
670
|
-
return
|
|
670
|
+
return he;
|
|
671
671
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
672
672
|
return r.push(n), () => {
|
|
673
673
|
const i = r.indexOf(n);
|
|
@@ -699,17 +699,17 @@ function gs(e, t) {
|
|
|
699
699
|
subscribe: Xt(e, t).subscribe
|
|
700
700
|
};
|
|
701
701
|
}
|
|
702
|
-
function Xt(e, t =
|
|
702
|
+
function Xt(e, t = he) {
|
|
703
703
|
let n;
|
|
704
704
|
const r = /* @__PURE__ */ new Set();
|
|
705
705
|
function i(a) {
|
|
706
706
|
if (Fr(e, a) && (e = a, n)) {
|
|
707
707
|
const c = !je.length;
|
|
708
|
-
for (const
|
|
709
|
-
|
|
708
|
+
for (const u of r)
|
|
709
|
+
u[1](), je.push(u, e);
|
|
710
710
|
if (c) {
|
|
711
|
-
for (let
|
|
712
|
-
je[
|
|
711
|
+
for (let u = 0; u < je.length; u += 2)
|
|
712
|
+
je[u][0](je[u + 1]);
|
|
713
713
|
je.length = 0;
|
|
714
714
|
}
|
|
715
715
|
}
|
|
@@ -717,37 +717,37 @@ function Xt(e, t = fe) {
|
|
|
717
717
|
function s(a) {
|
|
718
718
|
i(a(e));
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
const
|
|
722
|
-
return r.add(
|
|
723
|
-
r.delete(
|
|
720
|
+
function l(a, c = he) {
|
|
721
|
+
const u = [a, c];
|
|
722
|
+
return r.add(u), r.size === 1 && (n = t(i, s) || he), a(e), () => {
|
|
723
|
+
r.delete(u), r.size === 0 && n && (n(), n = null);
|
|
724
724
|
};
|
|
725
725
|
}
|
|
726
|
-
return { set: i, update: s, subscribe:
|
|
726
|
+
return { set: i, update: s, subscribe: l };
|
|
727
727
|
}
|
|
728
728
|
function $e(e, t, n) {
|
|
729
729
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
730
730
|
if (!i.every(Boolean))
|
|
731
731
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
732
732
|
const s = t.length < 2;
|
|
733
|
-
return gs(n, (
|
|
733
|
+
return gs(n, (l, a) => {
|
|
734
734
|
let c = !1;
|
|
735
|
-
const
|
|
736
|
-
let
|
|
735
|
+
const u = [];
|
|
736
|
+
let h = 0, g = he;
|
|
737
737
|
const T = () => {
|
|
738
|
-
if (
|
|
738
|
+
if (h)
|
|
739
739
|
return;
|
|
740
740
|
g();
|
|
741
|
-
const E = t(r ?
|
|
742
|
-
s ?
|
|
741
|
+
const E = t(r ? u[0] : u, l, a);
|
|
742
|
+
s ? l(E) : g = Zt(E) ? E : he;
|
|
743
743
|
}, C = i.map(
|
|
744
744
|
(E, m) => zr(
|
|
745
745
|
E,
|
|
746
746
|
(M) => {
|
|
747
|
-
|
|
747
|
+
u[m] = M, h &= ~(1 << m), c && T();
|
|
748
748
|
},
|
|
749
749
|
() => {
|
|
750
|
-
|
|
750
|
+
h |= 1 << m;
|
|
751
751
|
}
|
|
752
752
|
)
|
|
753
753
|
);
|
|
@@ -796,7 +796,7 @@ function _s(e) {
|
|
|
796
796
|
return Object.propertyIsEnumerable.call(e, t);
|
|
797
797
|
}) : [];
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function lr(e) {
|
|
800
800
|
return Object.keys(e).concat(_s(e));
|
|
801
801
|
}
|
|
802
802
|
function $r(e, t) {
|
|
@@ -811,9 +811,9 @@ function Os(e, t) {
|
|
|
811
811
|
}
|
|
812
812
|
function Cs(e, t, n) {
|
|
813
813
|
var r = {};
|
|
814
|
-
return n.isMergeableObject(e) &&
|
|
814
|
+
return n.isMergeableObject(e) && lr(e).forEach(function(i) {
|
|
815
815
|
r[i] = dt(e[i], n);
|
|
816
|
-
}),
|
|
816
|
+
}), lr(t).forEach(function(i) {
|
|
817
817
|
Os(e, i) || ($r(e, i) && n.isMergeableObject(t[i]) ? r[i] = As(i, n)(e[i], t[i], n) : r[i] = dt(t[i], n));
|
|
818
818
|
}), r;
|
|
819
819
|
}
|
|
@@ -869,7 +869,7 @@ function an(e, t, n) {
|
|
|
869
869
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
870
870
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function ln(e, t) {
|
|
873
873
|
var n = t && t.cache ? t.cache : ks, r = t && t.serializer ? t.serializer : Bs, i = t && t.strategy ? t.strategy : Is;
|
|
874
874
|
return i(e, {
|
|
875
875
|
cache: n,
|
|
@@ -915,7 +915,7 @@ var Bs = function() {
|
|
|
915
915
|
create: function() {
|
|
916
916
|
return new Us();
|
|
917
917
|
}
|
|
918
|
-
},
|
|
918
|
+
}, un = {
|
|
919
919
|
variadic: Ds
|
|
920
920
|
}, U;
|
|
921
921
|
(function(e) {
|
|
@@ -929,7 +929,7 @@ var Ye;
|
|
|
929
929
|
(function(e) {
|
|
930
930
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
931
931
|
})(Ye || (Ye = {}));
|
|
932
|
-
function
|
|
932
|
+
function ur(e) {
|
|
933
933
|
return e.type === X.literal;
|
|
934
934
|
}
|
|
935
935
|
function Gs(e) {
|
|
@@ -956,13 +956,13 @@ function Fs(e) {
|
|
|
956
956
|
function ai(e) {
|
|
957
957
|
return e.type === X.tag;
|
|
958
958
|
}
|
|
959
|
-
function
|
|
959
|
+
function li(e) {
|
|
960
960
|
return !!(e && typeof e == "object" && e.type === Ye.number);
|
|
961
961
|
}
|
|
962
962
|
function xn(e) {
|
|
963
963
|
return !!(e && typeof e == "object" && e.type === Ye.dateTime);
|
|
964
964
|
}
|
|
965
|
-
var
|
|
965
|
+
var ui = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zs = /(?:[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;
|
|
966
966
|
function js(e) {
|
|
967
967
|
var t = {};
|
|
968
968
|
return e.replace(zs, function(n) {
|
|
@@ -1061,11 +1061,11 @@ function Zs(e) {
|
|
|
1061
1061
|
for (var t = e.split(Ws).filter(function(T) {
|
|
1062
1062
|
return T.length > 0;
|
|
1063
1063
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1064
|
-
var s = i[r],
|
|
1065
|
-
if (
|
|
1064
|
+
var s = i[r], l = s.split("/");
|
|
1065
|
+
if (l.length === 0)
|
|
1066
1066
|
throw new Error("Invalid number skeleton");
|
|
1067
|
-
for (var a =
|
|
1068
|
-
var g =
|
|
1067
|
+
for (var a = l[0], c = l.slice(1), u = 0, h = c; u < h.length; u++) {
|
|
1068
|
+
var g = h[u];
|
|
1069
1069
|
if (g.length === 0)
|
|
1070
1070
|
throw new Error("Invalid number skeleton");
|
|
1071
1071
|
}
|
|
@@ -1076,14 +1076,14 @@ function Zs(e) {
|
|
|
1076
1076
|
function Vs(e) {
|
|
1077
1077
|
return e.replace(/^(.*?)-/, "");
|
|
1078
1078
|
}
|
|
1079
|
-
var cr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ci = /^(@+)?(\+|#+)?[rs]?$/g, Xs = /(\*)(0+)|(#+)(0+)|(0+)/g,
|
|
1080
|
-
function
|
|
1079
|
+
var cr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ci = /^(@+)?(\+|#+)?[rs]?$/g, Xs = /(\*)(0+)|(#+)(0+)|(0+)/g, hi = /^(0+)$/;
|
|
1080
|
+
function hr(e) {
|
|
1081
1081
|
var t = {};
|
|
1082
1082
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ci, function(n, r, i) {
|
|
1083
1083
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1084
1084
|
}), t;
|
|
1085
1085
|
}
|
|
1086
|
-
function
|
|
1086
|
+
function fi(e) {
|
|
1087
1087
|
switch (e) {
|
|
1088
1088
|
case "sign-auto":
|
|
1089
1089
|
return {
|
|
@@ -1131,14 +1131,14 @@ function Js(e) {
|
|
|
1131
1131
|
notation: "scientific"
|
|
1132
1132
|
}, e = e.slice(1)), t) {
|
|
1133
1133
|
var n = e.slice(0, 2);
|
|
1134
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1134
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hi.test(e))
|
|
1135
1135
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1136
1136
|
t.minimumIntegerDigits = e.length;
|
|
1137
1137
|
}
|
|
1138
1138
|
return t;
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1141
|
-
var t = {}, n =
|
|
1140
|
+
function fr(e) {
|
|
1141
|
+
var t = {}, n = fi(e);
|
|
1142
1142
|
return n || t;
|
|
1143
1143
|
}
|
|
1144
1144
|
function Ys(e) {
|
|
@@ -1176,13 +1176,13 @@ function Ys(e) {
|
|
|
1176
1176
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1177
1177
|
continue;
|
|
1178
1178
|
case "scientific":
|
|
1179
|
-
t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c,
|
|
1180
|
-
return F(F({}, c),
|
|
1179
|
+
t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
|
|
1180
|
+
return F(F({}, c), fr(u));
|
|
1181
1181
|
}, {}));
|
|
1182
1182
|
continue;
|
|
1183
1183
|
case "engineering":
|
|
1184
|
-
t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c,
|
|
1185
|
-
return F(F({}, c),
|
|
1184
|
+
t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
|
|
1185
|
+
return F(F({}, c), fr(u));
|
|
1186
1186
|
}, {}));
|
|
1187
1187
|
continue;
|
|
1188
1188
|
case "notation-simple":
|
|
@@ -1227,9 +1227,9 @@ function Ys(e) {
|
|
|
1227
1227
|
case "integer-width":
|
|
1228
1228
|
if (i.options.length > 1)
|
|
1229
1229
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1230
|
-
i.options[0].replace(Xs, function(c,
|
|
1231
|
-
if (
|
|
1232
|
-
t.minimumIntegerDigits =
|
|
1230
|
+
i.options[0].replace(Xs, function(c, u, h, g, T, C) {
|
|
1231
|
+
if (u)
|
|
1232
|
+
t.minimumIntegerDigits = h.length;
|
|
1233
1233
|
else {
|
|
1234
1234
|
if (g && T)
|
|
1235
1235
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1240,26 +1240,26 @@ function Ys(e) {
|
|
|
1240
1240
|
});
|
|
1241
1241
|
continue;
|
|
1242
1242
|
}
|
|
1243
|
-
if (
|
|
1243
|
+
if (hi.test(i.stem)) {
|
|
1244
1244
|
t.minimumIntegerDigits = i.stem.length;
|
|
1245
1245
|
continue;
|
|
1246
1246
|
}
|
|
1247
1247
|
if (cr.test(i.stem)) {
|
|
1248
1248
|
if (i.options.length > 1)
|
|
1249
1249
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1250
|
-
i.stem.replace(cr, function(c,
|
|
1251
|
-
return
|
|
1250
|
+
i.stem.replace(cr, function(c, u, h, g, T, C) {
|
|
1251
|
+
return h === "*" ? t.minimumFractionDigits = u.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : T && C ? (t.minimumFractionDigits = T.length, t.maximumFractionDigits = T.length + C.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1252
1252
|
});
|
|
1253
1253
|
var s = i.options[0];
|
|
1254
|
-
s === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = F(F({}, t),
|
|
1254
|
+
s === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = F(F({}, t), hr(s)));
|
|
1255
1255
|
continue;
|
|
1256
1256
|
}
|
|
1257
1257
|
if (ci.test(i.stem)) {
|
|
1258
|
-
t = F(F({}, t),
|
|
1258
|
+
t = F(F({}, t), hr(i.stem));
|
|
1259
1259
|
continue;
|
|
1260
1260
|
}
|
|
1261
|
-
var
|
|
1262
|
-
|
|
1261
|
+
var l = fi(i.stem);
|
|
1262
|
+
l && (t = F(F({}, t), l));
|
|
1263
1263
|
var a = Js(i.stem);
|
|
1264
1264
|
a && (t = F(F({}, t), a));
|
|
1265
1265
|
}
|
|
@@ -2686,11 +2686,11 @@ function qs(e, t) {
|
|
|
2686
2686
|
if (i === "j") {
|
|
2687
2687
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2688
2688
|
s++, r++;
|
|
2689
|
-
var
|
|
2690
|
-
for ((
|
|
2689
|
+
var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), c = "a", u = Qs(t);
|
|
2690
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2691
2691
|
n += c;
|
|
2692
|
-
for (;
|
|
2693
|
-
n =
|
|
2692
|
+
for (; l-- > 0; )
|
|
2693
|
+
n = u + n;
|
|
2694
2694
|
} else i === "J" ? n += "H" : n += i;
|
|
2695
2695
|
}
|
|
2696
2696
|
return n;
|
|
@@ -2717,7 +2717,7 @@ function Qs(e) {
|
|
|
2717
2717
|
var i = _t[r || ""] || _t[n || ""] || _t["".concat(n, "-001")] || _t["001"];
|
|
2718
2718
|
return i[0];
|
|
2719
2719
|
}
|
|
2720
|
-
var cn, Ks = new RegExp("^".concat(
|
|
2720
|
+
var cn, Ks = new RegExp("^".concat(ui.source, "*")), $s = new RegExp("".concat(ui.source, "*$"));
|
|
2721
2721
|
function k(e, t) {
|
|
2722
2722
|
return { start: e, end: t };
|
|
2723
2723
|
}
|
|
@@ -2725,8 +2725,8 @@ var eo = !!String.prototype.startsWith && "_a".startsWith("a", 1), to = !!String
|
|
|
2725
2725
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2726
2726
|
}, vn = !0;
|
|
2727
2727
|
try {
|
|
2728
|
-
var
|
|
2729
|
-
vn = ((cn =
|
|
2728
|
+
var lo = pi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2729
|
+
vn = ((cn = lo.exec("a")) === null || cn === void 0 ? void 0 : cn[0]) === "a";
|
|
2730
2730
|
} catch {
|
|
2731
2731
|
vn = !1;
|
|
2732
2732
|
}
|
|
@@ -2745,10 +2745,10 @@ var mr = eo ? (
|
|
|
2745
2745
|
function() {
|
|
2746
2746
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2747
2747
|
t[n] = arguments[n];
|
|
2748
|
-
for (var r = "", i = t.length, s = 0,
|
|
2749
|
-
if (
|
|
2750
|
-
throw RangeError(
|
|
2751
|
-
r +=
|
|
2748
|
+
for (var r = "", i = t.length, s = 0, l; i > s; ) {
|
|
2749
|
+
if (l = t[s++], l > 1114111)
|
|
2750
|
+
throw RangeError(l + " is not a valid code point");
|
|
2751
|
+
r += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
|
|
2752
2752
|
}
|
|
2753
2753
|
return r;
|
|
2754
2754
|
}
|
|
@@ -2758,8 +2758,8 @@ var mr = eo ? (
|
|
|
2758
2758
|
// Ponyfill
|
|
2759
2759
|
function(t) {
|
|
2760
2760
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2761
|
-
var s = i[r],
|
|
2762
|
-
n[
|
|
2761
|
+
var s = i[r], l = s[0], a = s[1];
|
|
2762
|
+
n[l] = a;
|
|
2763
2763
|
}
|
|
2764
2764
|
return n;
|
|
2765
2765
|
}
|
|
@@ -2778,7 +2778,7 @@ var mr = eo ? (
|
|
|
2778
2778
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2779
2779
|
}
|
|
2780
2780
|
}
|
|
2781
|
-
),
|
|
2781
|
+
), uo = io ? (
|
|
2782
2782
|
// Native
|
|
2783
2783
|
function(t) {
|
|
2784
2784
|
return t.trimStart();
|
|
@@ -2821,7 +2821,7 @@ if (vn) {
|
|
|
2821
2821
|
}
|
|
2822
2822
|
return Sn.apply(void 0, r);
|
|
2823
2823
|
};
|
|
2824
|
-
var
|
|
2824
|
+
var ho = (
|
|
2825
2825
|
/** @class */
|
|
2826
2826
|
function() {
|
|
2827
2827
|
function e(t, n) {
|
|
@@ -2835,10 +2835,10 @@ var fo = (
|
|
|
2835
2835
|
for (var i = []; !this.isEOF(); ) {
|
|
2836
2836
|
var s = this.char();
|
|
2837
2837
|
if (s === 123) {
|
|
2838
|
-
var
|
|
2839
|
-
if (
|
|
2840
|
-
return
|
|
2841
|
-
i.push(
|
|
2838
|
+
var l = this.parseArgument(t, r);
|
|
2839
|
+
if (l.err)
|
|
2840
|
+
return l;
|
|
2841
|
+
i.push(l.val);
|
|
2842
2842
|
} else {
|
|
2843
2843
|
if (s === 125 && t > 0)
|
|
2844
2844
|
break;
|
|
@@ -2853,15 +2853,15 @@ var fo = (
|
|
|
2853
2853
|
break;
|
|
2854
2854
|
return this.error(U.UNMATCHED_CLOSING_TAG, k(this.clonePosition(), this.clonePosition()));
|
|
2855
2855
|
} else if (s === 60 && !this.ignoreTag && An(this.peek() || 0)) {
|
|
2856
|
-
var
|
|
2857
|
-
if (
|
|
2858
|
-
return
|
|
2859
|
-
i.push(
|
|
2856
|
+
var l = this.parseTag(t, n);
|
|
2857
|
+
if (l.err)
|
|
2858
|
+
return l;
|
|
2859
|
+
i.push(l.val);
|
|
2860
2860
|
} else {
|
|
2861
|
-
var
|
|
2862
|
-
if (
|
|
2863
|
-
return
|
|
2864
|
-
i.push(
|
|
2861
|
+
var l = this.parseLiteral(t, n);
|
|
2862
|
+
if (l.err)
|
|
2863
|
+
return l;
|
|
2864
|
+
i.push(l.val);
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
2867
|
}
|
|
@@ -2883,16 +2883,16 @@ var fo = (
|
|
|
2883
2883
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2884
2884
|
if (s.err)
|
|
2885
2885
|
return s;
|
|
2886
|
-
var
|
|
2886
|
+
var l = s.val, a = this.clonePosition();
|
|
2887
2887
|
if (this.bumpIf("</")) {
|
|
2888
2888
|
if (this.isEOF() || !An(this.char()))
|
|
2889
2889
|
return this.error(U.INVALID_TAG, k(a, this.clonePosition()));
|
|
2890
|
-
var c = this.clonePosition(),
|
|
2891
|
-
return i !==
|
|
2890
|
+
var c = this.clonePosition(), u = this.parseTagName();
|
|
2891
|
+
return i !== u ? this.error(U.UNMATCHED_CLOSING_TAG, k(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2892
2892
|
val: {
|
|
2893
2893
|
type: X.tag,
|
|
2894
2894
|
value: i,
|
|
2895
|
-
children:
|
|
2895
|
+
children: l,
|
|
2896
2896
|
location: k(r, this.clonePosition())
|
|
2897
2897
|
},
|
|
2898
2898
|
err: null
|
|
@@ -2913,9 +2913,9 @@ var fo = (
|
|
|
2913
2913
|
i += s;
|
|
2914
2914
|
continue;
|
|
2915
2915
|
}
|
|
2916
|
-
var
|
|
2917
|
-
if (
|
|
2918
|
-
i +=
|
|
2916
|
+
var l = this.tryParseUnquoted(t, n);
|
|
2917
|
+
if (l) {
|
|
2918
|
+
i += l;
|
|
2919
2919
|
continue;
|
|
2920
2920
|
}
|
|
2921
2921
|
var a = this.tryParseLeftAngleBracket();
|
|
@@ -2932,7 +2932,7 @@ var fo = (
|
|
|
2932
2932
|
};
|
|
2933
2933
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2934
2934
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2935
|
-
!
|
|
2935
|
+
!fo(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2936
2936
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2937
2937
|
if (this.isEOF() || this.char() !== 39)
|
|
2938
2938
|
return null;
|
|
@@ -3002,37 +3002,37 @@ var fo = (
|
|
|
3002
3002
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3003
3003
|
var t = this.clonePosition(), n = this.offset(), r = wn(this.message, n), i = n + r.length;
|
|
3004
3004
|
this.bumpTo(i);
|
|
3005
|
-
var s = this.clonePosition(),
|
|
3006
|
-
return { value: r, location:
|
|
3005
|
+
var s = this.clonePosition(), l = k(t, s);
|
|
3006
|
+
return { value: r, location: l };
|
|
3007
3007
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3008
|
-
var s,
|
|
3008
|
+
var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
3009
3009
|
switch (a) {
|
|
3010
3010
|
case "":
|
|
3011
|
-
return this.error(U.EXPECT_ARGUMENT_TYPE, k(
|
|
3011
|
+
return this.error(U.EXPECT_ARGUMENT_TYPE, k(l, c));
|
|
3012
3012
|
case "number":
|
|
3013
3013
|
case "date":
|
|
3014
3014
|
case "time": {
|
|
3015
3015
|
this.bumpSpace();
|
|
3016
|
-
var
|
|
3016
|
+
var u = null;
|
|
3017
3017
|
if (this.bumpIf(",")) {
|
|
3018
3018
|
this.bumpSpace();
|
|
3019
|
-
var
|
|
3019
|
+
var h = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
|
|
3020
3020
|
if (g.err)
|
|
3021
3021
|
return g;
|
|
3022
3022
|
var T = co(g.val);
|
|
3023
3023
|
if (T.length === 0)
|
|
3024
3024
|
return this.error(U.EXPECT_ARGUMENT_STYLE, k(this.clonePosition(), this.clonePosition()));
|
|
3025
|
-
var C = k(
|
|
3026
|
-
|
|
3025
|
+
var C = k(h, this.clonePosition());
|
|
3026
|
+
u = { style: T, styleLocation: C };
|
|
3027
3027
|
}
|
|
3028
3028
|
var E = this.tryParseArgumentClose(i);
|
|
3029
3029
|
if (E.err)
|
|
3030
3030
|
return E;
|
|
3031
3031
|
var m = k(i, this.clonePosition());
|
|
3032
|
-
if (
|
|
3033
|
-
var M =
|
|
3032
|
+
if (u && mr(u?.style, "::", 0)) {
|
|
3033
|
+
var M = uo(u.style.slice(2));
|
|
3034
3034
|
if (a === "number") {
|
|
3035
|
-
var g = this.parseNumberSkeletonFromString(M,
|
|
3035
|
+
var g = this.parseNumberSkeletonFromString(M, u.styleLocation);
|
|
3036
3036
|
return g.err ? g : {
|
|
3037
3037
|
val: { type: X.number, value: r, location: m, style: g.val },
|
|
3038
3038
|
err: null
|
|
@@ -3045,7 +3045,7 @@ var fo = (
|
|
|
3045
3045
|
var T = {
|
|
3046
3046
|
type: Ye.dateTime,
|
|
3047
3047
|
pattern: j,
|
|
3048
|
-
location:
|
|
3048
|
+
location: u.styleLocation,
|
|
3049
3049
|
parsedOptions: this.shouldParseSkeletons ? js(j) : {}
|
|
3050
3050
|
}, R = a === "date" ? X.date : X.time;
|
|
3051
3051
|
return {
|
|
@@ -3059,7 +3059,7 @@ var fo = (
|
|
|
3059
3059
|
type: a === "number" ? X.number : a === "date" ? X.date : X.time,
|
|
3060
3060
|
value: r,
|
|
3061
3061
|
location: m,
|
|
3062
|
-
style: (s =
|
|
3062
|
+
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
3063
3063
|
},
|
|
3064
3064
|
err: null
|
|
3065
3065
|
};
|
|
@@ -3109,7 +3109,7 @@ var fo = (
|
|
|
3109
3109
|
};
|
|
3110
3110
|
}
|
|
3111
3111
|
default:
|
|
3112
|
-
return this.error(U.INVALID_ARGUMENT_TYPE, k(
|
|
3112
|
+
return this.error(U.INVALID_ARGUMENT_TYPE, k(l, c));
|
|
3113
3113
|
}
|
|
3114
3114
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3115
3115
|
return this.isEOF() || this.char() !== 125 ? this.error(U.EXPECT_ARGUMENT_CLOSING_BRACE, k(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3165,20 +3165,20 @@ var fo = (
|
|
|
3165
3165
|
err: null
|
|
3166
3166
|
};
|
|
3167
3167
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3168
|
-
for (var s,
|
|
3169
|
-
if (
|
|
3168
|
+
for (var s, l = !1, a = [], c = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3169
|
+
if (u.length === 0) {
|
|
3170
3170
|
var g = this.clonePosition();
|
|
3171
3171
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3172
3172
|
var T = this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_SELECTOR, U.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3173
3173
|
if (T.err)
|
|
3174
3174
|
return T;
|
|
3175
|
-
|
|
3175
|
+
h = k(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
|
|
3176
3176
|
} else
|
|
3177
3177
|
break;
|
|
3178
3178
|
}
|
|
3179
|
-
if (c.has(
|
|
3180
|
-
return this.error(n === "select" ? U.DUPLICATE_SELECT_ARGUMENT_SELECTOR : U.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3181
|
-
|
|
3179
|
+
if (c.has(u))
|
|
3180
|
+
return this.error(n === "select" ? U.DUPLICATE_SELECT_ARGUMENT_SELECTOR : U.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3181
|
+
u === "other" && (l = !0), this.bumpSpace();
|
|
3182
3182
|
var C = this.clonePosition();
|
|
3183
3183
|
if (!this.bumpIf("{"))
|
|
3184
3184
|
return this.error(n === "select" ? U.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : U.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
|
|
@@ -3189,26 +3189,26 @@ var fo = (
|
|
|
3189
3189
|
if (m.err)
|
|
3190
3190
|
return m;
|
|
3191
3191
|
a.push([
|
|
3192
|
-
|
|
3192
|
+
u,
|
|
3193
3193
|
{
|
|
3194
3194
|
value: E.val,
|
|
3195
3195
|
location: k(C, this.clonePosition())
|
|
3196
3196
|
}
|
|
3197
|
-
]), c.add(
|
|
3197
|
+
]), c.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3198
3198
|
}
|
|
3199
|
-
return a.length === 0 ? this.error(n === "select" ? U.EXPECT_SELECT_ARGUMENT_SELECTOR : U.EXPECT_PLURAL_ARGUMENT_SELECTOR, k(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3199
|
+
return a.length === 0 ? this.error(n === "select" ? U.EXPECT_SELECT_ARGUMENT_SELECTOR : U.EXPECT_PLURAL_ARGUMENT_SELECTOR, k(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(U.MISSING_OTHER_CLAUSE, k(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3200
3200
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3201
3201
|
var r = 1, i = this.clonePosition();
|
|
3202
3202
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3203
|
-
for (var s = !1,
|
|
3203
|
+
for (var s = !1, l = 0; !this.isEOF(); ) {
|
|
3204
3204
|
var a = this.char();
|
|
3205
3205
|
if (a >= 48 && a <= 57)
|
|
3206
|
-
s = !0,
|
|
3206
|
+
s = !0, l = l * 10 + (a - 48), this.bump();
|
|
3207
3207
|
else
|
|
3208
3208
|
break;
|
|
3209
3209
|
}
|
|
3210
3210
|
var c = k(i, this.clonePosition());
|
|
3211
|
-
return s ? (
|
|
3211
|
+
return s ? (l *= r, ao(l) ? { val: l, err: null } : this.error(n, c)) : this.error(t, c);
|
|
3212
3212
|
}, e.prototype.offset = function() {
|
|
3213
3213
|
return this.position.offset;
|
|
3214
3214
|
}, e.prototype.isEOF = function() {
|
|
@@ -3277,7 +3277,7 @@ var fo = (
|
|
|
3277
3277
|
function An(e) {
|
|
3278
3278
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3279
3279
|
}
|
|
3280
|
-
function
|
|
3280
|
+
function fo(e) {
|
|
3281
3281
|
return An(e) || e === 47;
|
|
3282
3282
|
}
|
|
3283
3283
|
function mo(e) {
|
|
@@ -3294,12 +3294,12 @@ function _n(e) {
|
|
|
3294
3294
|
if (delete t.location, si(t) || oi(t))
|
|
3295
3295
|
for (var n in t.options)
|
|
3296
3296
|
delete t.options[n].location, _n(t.options[n].value);
|
|
3297
|
-
else ni(t) &&
|
|
3297
|
+
else ni(t) && li(t.style) || (ri(t) || ii(t)) && xn(t.style) ? delete t.style.location : ai(t) && _n(t.children);
|
|
3298
3298
|
});
|
|
3299
3299
|
}
|
|
3300
3300
|
function go(e, t) {
|
|
3301
3301
|
t === void 0 && (t = {}), t = F({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3302
|
-
var n = new
|
|
3302
|
+
var n = new ho(e, t).parse();
|
|
3303
3303
|
if (n.err) {
|
|
3304
3304
|
var r = SyntaxError(U[n.err.kind]);
|
|
3305
3305
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
@@ -3362,69 +3362,69 @@ function yo(e) {
|
|
|
3362
3362
|
function To(e) {
|
|
3363
3363
|
return typeof e == "function";
|
|
3364
3364
|
}
|
|
3365
|
-
function It(e, t, n, r, i, s,
|
|
3366
|
-
if (e.length === 1 &&
|
|
3365
|
+
function It(e, t, n, r, i, s, l) {
|
|
3366
|
+
if (e.length === 1 && ur(e[0]))
|
|
3367
3367
|
return [
|
|
3368
3368
|
{
|
|
3369
3369
|
type: oe.literal,
|
|
3370
3370
|
value: e[0].value
|
|
3371
3371
|
}
|
|
3372
3372
|
];
|
|
3373
|
-
for (var a = [], c = 0,
|
|
3374
|
-
var
|
|
3375
|
-
if (
|
|
3373
|
+
for (var a = [], c = 0, u = e; c < u.length; c++) {
|
|
3374
|
+
var h = u[c];
|
|
3375
|
+
if (ur(h)) {
|
|
3376
3376
|
a.push({
|
|
3377
3377
|
type: oe.literal,
|
|
3378
|
-
value:
|
|
3378
|
+
value: h.value
|
|
3379
3379
|
});
|
|
3380
3380
|
continue;
|
|
3381
3381
|
}
|
|
3382
|
-
if (Fs(
|
|
3382
|
+
if (Fs(h)) {
|
|
3383
3383
|
typeof s == "number" && a.push({
|
|
3384
3384
|
type: oe.literal,
|
|
3385
3385
|
value: n.getNumberFormat(t).format(s)
|
|
3386
3386
|
});
|
|
3387
3387
|
continue;
|
|
3388
3388
|
}
|
|
3389
|
-
var g =
|
|
3389
|
+
var g = h.value;
|
|
3390
3390
|
if (!(i && g in i))
|
|
3391
|
-
throw new Eo(g,
|
|
3391
|
+
throw new Eo(g, l);
|
|
3392
3392
|
var T = i[g];
|
|
3393
|
-
if (Gs(
|
|
3393
|
+
if (Gs(h)) {
|
|
3394
3394
|
(!T || typeof T == "string" || typeof T == "number") && (T = typeof T == "string" || typeof T == "number" ? String(T) : ""), a.push({
|
|
3395
3395
|
type: typeof T == "string" ? oe.literal : oe.object,
|
|
3396
3396
|
value: T
|
|
3397
3397
|
});
|
|
3398
3398
|
continue;
|
|
3399
3399
|
}
|
|
3400
|
-
if (ri(
|
|
3401
|
-
var C = typeof
|
|
3400
|
+
if (ri(h)) {
|
|
3401
|
+
var C = typeof h.style == "string" ? r.date[h.style] : xn(h.style) ? h.style.parsedOptions : void 0;
|
|
3402
3402
|
a.push({
|
|
3403
3403
|
type: oe.literal,
|
|
3404
3404
|
value: n.getDateTimeFormat(t, C).format(T)
|
|
3405
3405
|
});
|
|
3406
3406
|
continue;
|
|
3407
3407
|
}
|
|
3408
|
-
if (ii(
|
|
3409
|
-
var C = typeof
|
|
3408
|
+
if (ii(h)) {
|
|
3409
|
+
var C = typeof h.style == "string" ? r.time[h.style] : xn(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3410
3410
|
a.push({
|
|
3411
3411
|
type: oe.literal,
|
|
3412
3412
|
value: n.getDateTimeFormat(t, C).format(T)
|
|
3413
3413
|
});
|
|
3414
3414
|
continue;
|
|
3415
3415
|
}
|
|
3416
|
-
if (ni(
|
|
3417
|
-
var C = typeof
|
|
3416
|
+
if (ni(h)) {
|
|
3417
|
+
var C = typeof h.style == "string" ? r.number[h.style] : li(h.style) ? h.style.parsedOptions : void 0;
|
|
3418
3418
|
C && C.scale && (T = T * (C.scale || 1)), a.push({
|
|
3419
3419
|
type: oe.literal,
|
|
3420
3420
|
value: n.getNumberFormat(t, C).format(T)
|
|
3421
3421
|
});
|
|
3422
3422
|
continue;
|
|
3423
3423
|
}
|
|
3424
|
-
if (ai(
|
|
3425
|
-
var E =
|
|
3424
|
+
if (ai(h)) {
|
|
3425
|
+
var E = h.children, m = h.value, M = i[m];
|
|
3426
3426
|
if (!To(M))
|
|
3427
|
-
throw new bo(m, "function",
|
|
3427
|
+
throw new bo(m, "function", l);
|
|
3428
3428
|
var j = It(E, t, n, r, i, s), R = M(j.map(function(D) {
|
|
3429
3429
|
return D.value;
|
|
3430
3430
|
}));
|
|
@@ -3435,26 +3435,26 @@ function It(e, t, n, r, i, s, u) {
|
|
|
3435
3435
|
};
|
|
3436
3436
|
}));
|
|
3437
3437
|
}
|
|
3438
|
-
if (si(
|
|
3439
|
-
var A =
|
|
3438
|
+
if (si(h)) {
|
|
3439
|
+
var A = h.options[T] || h.options.other;
|
|
3440
3440
|
if (!A)
|
|
3441
|
-
throw new gr(
|
|
3441
|
+
throw new gr(h.value, T, Object.keys(h.options), l);
|
|
3442
3442
|
a.push.apply(a, It(A.value, t, n, r, i));
|
|
3443
3443
|
continue;
|
|
3444
3444
|
}
|
|
3445
|
-
if (oi(
|
|
3446
|
-
var A =
|
|
3445
|
+
if (oi(h)) {
|
|
3446
|
+
var A = h.options["=".concat(T)];
|
|
3447
3447
|
if (!A) {
|
|
3448
3448
|
if (!Intl.PluralRules)
|
|
3449
3449
|
throw new Yt(`Intl.PluralRules is not available in this environment.
|
|
3450
3450
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3451
|
-
`, qe.MISSING_INTL_API,
|
|
3452
|
-
var L = n.getPluralRules(t, { type:
|
|
3453
|
-
A =
|
|
3451
|
+
`, qe.MISSING_INTL_API, l);
|
|
3452
|
+
var L = n.getPluralRules(t, { type: h.pluralType }).select(T - (h.offset || 0));
|
|
3453
|
+
A = h.options[L] || h.options.other;
|
|
3454
3454
|
}
|
|
3455
3455
|
if (!A)
|
|
3456
|
-
throw new gr(
|
|
3457
|
-
a.push.apply(a, It(A.value, t, n, r, i, T - (
|
|
3456
|
+
throw new gr(h.value, T, Object.keys(h.options), l);
|
|
3457
|
+
a.push.apply(a, It(A.value, t, n, r, i, T - (h.offset || 0)));
|
|
3458
3458
|
continue;
|
|
3459
3459
|
}
|
|
3460
3460
|
}
|
|
@@ -3470,7 +3470,7 @@ function vo(e, t) {
|
|
|
3470
3470
|
return n[r] = xo(e[r], t[r]), n;
|
|
3471
3471
|
}, F({}, e)) : e;
|
|
3472
3472
|
}
|
|
3473
|
-
function
|
|
3473
|
+
function hn(e) {
|
|
3474
3474
|
return {
|
|
3475
3475
|
create: function() {
|
|
3476
3476
|
return {
|
|
@@ -3490,29 +3490,29 @@ function So(e) {
|
|
|
3490
3490
|
dateTime: {},
|
|
3491
3491
|
pluralRules: {}
|
|
3492
3492
|
}), {
|
|
3493
|
-
getNumberFormat:
|
|
3493
|
+
getNumberFormat: ln(function() {
|
|
3494
3494
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3495
3495
|
n[r] = arguments[r];
|
|
3496
3496
|
return new ((t = Intl.NumberFormat).bind.apply(t, an([void 0], n, !1)))();
|
|
3497
3497
|
}, {
|
|
3498
|
-
cache:
|
|
3499
|
-
strategy:
|
|
3498
|
+
cache: hn(e.number),
|
|
3499
|
+
strategy: un.variadic
|
|
3500
3500
|
}),
|
|
3501
|
-
getDateTimeFormat:
|
|
3501
|
+
getDateTimeFormat: ln(function() {
|
|
3502
3502
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3503
3503
|
n[r] = arguments[r];
|
|
3504
3504
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, an([void 0], n, !1)))();
|
|
3505
3505
|
}, {
|
|
3506
|
-
cache:
|
|
3507
|
-
strategy:
|
|
3506
|
+
cache: hn(e.dateTime),
|
|
3507
|
+
strategy: un.variadic
|
|
3508
3508
|
}),
|
|
3509
|
-
getPluralRules:
|
|
3509
|
+
getPluralRules: ln(function() {
|
|
3510
3510
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3511
3511
|
n[r] = arguments[r];
|
|
3512
3512
|
return new ((t = Intl.PluralRules).bind.apply(t, an([void 0], n, !1)))();
|
|
3513
3513
|
}, {
|
|
3514
|
-
cache:
|
|
3515
|
-
strategy:
|
|
3514
|
+
cache: hn(e.pluralRules),
|
|
3515
|
+
strategy: un.variadic
|
|
3516
3516
|
})
|
|
3517
3517
|
};
|
|
3518
3518
|
}
|
|
@@ -3527,13 +3527,13 @@ var gi = (
|
|
|
3527
3527
|
dateTime: {},
|
|
3528
3528
|
pluralRules: {}
|
|
3529
3529
|
}, this.format = function(c) {
|
|
3530
|
-
var
|
|
3531
|
-
if (
|
|
3532
|
-
return
|
|
3533
|
-
var
|
|
3530
|
+
var u = s.formatToParts(c);
|
|
3531
|
+
if (u.length === 1)
|
|
3532
|
+
return u[0].value;
|
|
3533
|
+
var h = u.reduce(function(g, T) {
|
|
3534
3534
|
return !g.length || T.type !== oe.literal || typeof g[g.length - 1] != "string" ? g.push(T.value) : g[g.length - 1] += T.value, g;
|
|
3535
3535
|
}, []);
|
|
3536
|
-
return
|
|
3536
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3537
3537
|
}, this.formatToParts = function(c) {
|
|
3538
3538
|
return It(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
|
|
3539
3539
|
}, this.resolvedOptions = function() {
|
|
@@ -3546,9 +3546,9 @@ var gi = (
|
|
|
3546
3546
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3547
3547
|
if (this.message = t, !e.__parse)
|
|
3548
3548
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3549
|
-
var
|
|
3550
|
-
|
|
3551
|
-
var a = Ps(
|
|
3549
|
+
var l = i || {};
|
|
3550
|
+
l.formatters;
|
|
3551
|
+
var a = Ps(l, ["formatters"]);
|
|
3552
3552
|
this.ast = e.__parse(t, F(F({}, a), { locale: this.resolvedLocale }));
|
|
3553
3553
|
} else
|
|
3554
3554
|
this.ast = t;
|
|
@@ -3789,9 +3789,9 @@ const Bo = {
|
|
|
3789
3789
|
warnOnMissingMessages: !0,
|
|
3790
3790
|
handleMissingMessage: void 0,
|
|
3791
3791
|
ignoreTag: !0
|
|
3792
|
-
},
|
|
3792
|
+
}, ft = Bo;
|
|
3793
3793
|
function Qe() {
|
|
3794
|
-
return
|
|
3794
|
+
return ft;
|
|
3795
3795
|
}
|
|
3796
3796
|
function Uo(e) {
|
|
3797
3797
|
const t = e, { formats: n } = t, r = Lo(t, ["formats"]);
|
|
@@ -3806,9 +3806,9 @@ function Uo(e) {
|
|
|
3806
3806
|
}
|
|
3807
3807
|
return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = Do : console.warn(
|
|
3808
3808
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3809
|
-
)), Object.assign(
|
|
3809
|
+
)), Object.assign(ft, r, { initialLocale: i }), n && ("number" in n && Object.assign(ft.formats.number, n.number), "date" in n && Object.assign(ft.formats.date, n.date), "time" in n && Object.assign(ft.formats.time, n.time)), De.set(i);
|
|
3810
3810
|
}
|
|
3811
|
-
const
|
|
3811
|
+
const fn = Xt(!1);
|
|
3812
3812
|
var ko = Object.defineProperty, Go = Object.defineProperties, Fo = Object.getOwnPropertyDescriptors, Er = Object.getOwnPropertySymbols, zo = Object.prototype.hasOwnProperty, jo = Object.prototype.propertyIsEnumerable, yr = (e, t, n) => t in e ? ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Wo = (e, t) => {
|
|
3813
3813
|
for (var n in t || (t = {}))
|
|
3814
3814
|
zo.call(t, n) && yr(e, n, t[n]);
|
|
@@ -3837,12 +3837,12 @@ const Vo = (e) => {
|
|
|
3837
3837
|
const { loadingDelay: t } = Qe();
|
|
3838
3838
|
let n;
|
|
3839
3839
|
return typeof window < "u" && Re() != null && t ? n = window.setTimeout(
|
|
3840
|
-
() =>
|
|
3840
|
+
() => fn.set(!0),
|
|
3841
3841
|
t
|
|
3842
|
-
) :
|
|
3842
|
+
) : fn.set(!0), xi(e).then(() => {
|
|
3843
3843
|
jt.set(e);
|
|
3844
3844
|
}).finally(() => {
|
|
3845
|
-
clearTimeout(n),
|
|
3845
|
+
clearTimeout(n), fn.set(!1);
|
|
3846
3846
|
});
|
|
3847
3847
|
}
|
|
3848
3848
|
return jt.set(e);
|
|
@@ -3927,29 +3927,29 @@ const gt = (e, t) => {
|
|
|
3927
3927
|
})
|
|
3928
3928
|
), ta = (e, t = {}) => {
|
|
3929
3929
|
var n, r, i, s;
|
|
3930
|
-
let
|
|
3931
|
-
typeof e == "object" && (
|
|
3930
|
+
let l = t;
|
|
3931
|
+
typeof e == "object" && (l = e, e = l.id);
|
|
3932
3932
|
const {
|
|
3933
3933
|
values: a,
|
|
3934
3934
|
locale: c = Re(),
|
|
3935
|
-
default:
|
|
3936
|
-
} =
|
|
3935
|
+
default: u
|
|
3936
|
+
} = l;
|
|
3937
3937
|
if (c == null)
|
|
3938
3938
|
throw new Error(
|
|
3939
3939
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3940
3940
|
);
|
|
3941
|
-
let
|
|
3942
|
-
if (!
|
|
3943
|
-
|
|
3944
|
-
else if (typeof
|
|
3941
|
+
let h = bi(e, c);
|
|
3942
|
+
if (!h)
|
|
3943
|
+
h = (s = (i = (r = (n = Qe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3944
|
+
else if (typeof h != "string")
|
|
3945
3945
|
return console.warn(
|
|
3946
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3947
|
-
),
|
|
3946
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3947
|
+
), h;
|
|
3948
3948
|
if (!a)
|
|
3949
|
-
return
|
|
3950
|
-
let g =
|
|
3949
|
+
return h;
|
|
3950
|
+
let g = h;
|
|
3951
3951
|
try {
|
|
3952
|
-
g = ea(
|
|
3952
|
+
g = ea(h, c).format(a);
|
|
3953
3953
|
} catch (T) {
|
|
3954
3954
|
T instanceof Error && console.warn(
|
|
3955
3955
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3997,8 +3997,8 @@ const Sr = {
|
|
|
3997
3997
|
const {
|
|
3998
3998
|
entries: wi,
|
|
3999
3999
|
setPrototypeOf: wr,
|
|
4000
|
-
isFrozen:
|
|
4001
|
-
getPrototypeOf:
|
|
4000
|
+
isFrozen: la,
|
|
4001
|
+
getPrototypeOf: ua,
|
|
4002
4002
|
getOwnPropertyDescriptor: ca
|
|
4003
4003
|
} = Object;
|
|
4004
4004
|
let {
|
|
@@ -4021,8 +4021,8 @@ Cn || (Cn = function(t, n, r) {
|
|
|
4021
4021
|
Mn || (Mn = function(t, n) {
|
|
4022
4022
|
return new t(...n);
|
|
4023
4023
|
});
|
|
4024
|
-
const Ot =
|
|
4025
|
-
function
|
|
4024
|
+
const Ot = fe(Array.prototype.forEach), Ar = fe(Array.prototype.pop), ot = fe(Array.prototype.push), Bt = fe(String.prototype.toLowerCase), mn = fe(String.prototype.toString), _r = fe(String.prototype.match), at = fe(String.prototype.replace), ha = fe(String.prototype.indexOf), fa = fe(String.prototype.trim), Te = fe(Object.prototype.hasOwnProperty), se = fe(RegExp.prototype.test), lt = ma(TypeError);
|
|
4025
|
+
function fe(e) {
|
|
4026
4026
|
return function(t) {
|
|
4027
4027
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
4028
4028
|
r[i - 1] = arguments[i];
|
|
@@ -4044,7 +4044,7 @@ function B(e, t) {
|
|
|
4044
4044
|
let i = t[r];
|
|
4045
4045
|
if (typeof i == "string") {
|
|
4046
4046
|
const s = n(i);
|
|
4047
|
-
s !== i && (
|
|
4047
|
+
s !== i && (la(t) || (t[r] = s), i = s);
|
|
4048
4048
|
}
|
|
4049
4049
|
e[i] = !0;
|
|
4050
4050
|
}
|
|
@@ -4061,16 +4061,16 @@ function Ie(e) {
|
|
|
4061
4061
|
Te(e, n) && (Array.isArray(r) ? t[n] = pa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Ie(r) : t[n] = r);
|
|
4062
4062
|
return t;
|
|
4063
4063
|
}
|
|
4064
|
-
function
|
|
4064
|
+
function ut(e, t) {
|
|
4065
4065
|
for (; e !== null; ) {
|
|
4066
4066
|
const r = ca(e, t);
|
|
4067
4067
|
if (r) {
|
|
4068
4068
|
if (r.get)
|
|
4069
|
-
return
|
|
4069
|
+
return fe(r.get);
|
|
4070
4070
|
if (typeof r.value == "function")
|
|
4071
|
-
return
|
|
4071
|
+
return fe(r.value);
|
|
4072
4072
|
}
|
|
4073
|
-
e =
|
|
4073
|
+
e = ua(e);
|
|
4074
4074
|
}
|
|
4075
4075
|
function n() {
|
|
4076
4076
|
return null;
|
|
@@ -4115,11 +4115,11 @@ const ct = {
|
|
|
4115
4115
|
const s = "dompurify" + (r ? "#" + r : "");
|
|
4116
4116
|
try {
|
|
4117
4117
|
return t.createPolicy(s, {
|
|
4118
|
-
createHTML(
|
|
4119
|
-
return
|
|
4118
|
+
createHTML(l) {
|
|
4119
|
+
return l;
|
|
4120
4120
|
},
|
|
4121
|
-
createScriptURL(
|
|
4122
|
-
return
|
|
4121
|
+
createScriptURL(l) {
|
|
4122
|
+
return l;
|
|
4123
4123
|
}
|
|
4124
4124
|
});
|
|
4125
4125
|
} catch {
|
|
@@ -4136,16 +4136,16 @@ function Ci() {
|
|
|
4136
4136
|
} = e;
|
|
4137
4137
|
const r = n, i = r.currentScript, {
|
|
4138
4138
|
DocumentFragment: s,
|
|
4139
|
-
HTMLTemplateElement:
|
|
4139
|
+
HTMLTemplateElement: l,
|
|
4140
4140
|
Node: a,
|
|
4141
4141
|
Element: c,
|
|
4142
|
-
NodeFilter:
|
|
4143
|
-
NamedNodeMap:
|
|
4142
|
+
NodeFilter: u,
|
|
4143
|
+
NamedNodeMap: h = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
4144
4144
|
HTMLFormElement: g,
|
|
4145
4145
|
DOMParser: T,
|
|
4146
4146
|
trustedTypes: C
|
|
4147
|
-
} = e, E = c.prototype, m =
|
|
4148
|
-
if (typeof
|
|
4147
|
+
} = e, E = c.prototype, m = ut(E, "cloneNode"), M = ut(E, "remove"), j = ut(E, "nextSibling"), R = ut(E, "childNodes"), A = ut(E, "parentNode");
|
|
4148
|
+
if (typeof l == "function") {
|
|
4149
4149
|
const O = n.createElement("template");
|
|
4150
4150
|
O.content && O.content.ownerDocument && (n = O.content.ownerDocument);
|
|
4151
4151
|
}
|
|
@@ -4162,12 +4162,12 @@ function Ci() {
|
|
|
4162
4162
|
t.isSupported = typeof wi == "function" && typeof A == "function" && z && z.createHTMLDocument !== void 0;
|
|
4163
4163
|
const {
|
|
4164
4164
|
MUSTACHE_EXPR: re,
|
|
4165
|
-
ERB_EXPR:
|
|
4165
|
+
ERB_EXPR: le,
|
|
4166
4166
|
TMPLIT_EXPR: v,
|
|
4167
4167
|
DATA_ATTR: y,
|
|
4168
4168
|
ARIA_ATTR: d,
|
|
4169
4169
|
IS_SCRIPT_OR_DATA: S,
|
|
4170
|
-
ATTR_WHITESPACE:
|
|
4170
|
+
ATTR_WHITESPACE: f,
|
|
4171
4171
|
CUSTOM_ELEMENT: x
|
|
4172
4172
|
} = Nr;
|
|
4173
4173
|
let {
|
|
@@ -4230,9 +4230,9 @@ function Ci() {
|
|
|
4230
4230
|
// eslint-disable-line indent
|
|
4231
4231
|
) : kn, ke = Te(o, "FORBID_CONTENTS") ? B({}, o.FORBID_CONTENTS, $) : Bn, pe = Te(o, "FORBID_TAGS") ? B({}, o.FORBID_TAGS, $) : {}, be = Te(o, "FORBID_ATTR") ? B({}, o.FORBID_ATTR, $) : {}, Ue = Te(o, "USE_PROFILES") ? o.USE_PROFILES : !1, Ce = o.ALLOW_ARIA_ATTR !== !1, Ee = o.ALLOW_DATA_ATTR !== !1, ee = o.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, de = o.SAFE_FOR_TEMPLATES || !1, Me = o.SAFE_FOR_XML !== !1, Le = o.WHOLE_DOCUMENT || !1, Be = o.RETURN_DOM || !1, yt = o.RETURN_DOM_FRAGMENT || !1, Tt = o.RETURN_TRUSTED_TYPE || !1, Kt = o.FORCE_BODY || !1, In = o.SANITIZE_DOM !== !1, Dn = o.SANITIZE_NAMED_PROPS || !1, $t = o.KEEP_CONTENT !== !1, tt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || _i, Ge = o.NAMESPACE || Ae, I = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && Fn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && Fn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), de && (Ee = !1), yt && (Be = !0), Ue && (P = B({}, Cr), _ = [], Ue.html === !0 && (B(P, Or), B(_, Mr)), Ue.svg === !0 && (B(P, pn), B(_, bn), B(_, Ct)), Ue.svgFilters === !0 && (B(P, dn), B(_, bn), B(_, Ct)), Ue.mathMl === !0 && (B(P, gn), B(_, Hr), B(_, Ct))), o.ADD_TAGS && (P === b && (P = Ie(P)), B(P, o.ADD_TAGS, $)), o.ADD_ATTR && (_ === Z && (_ = Ie(_)), B(_, o.ADD_ATTR, $)), o.ADD_URI_SAFE_ATTR && B(en, o.ADD_URI_SAFE_ATTR, $), o.FORBID_CONTENTS && (ke === Bn && (ke = Ie(ke)), B(ke, o.FORBID_CONTENTS, $)), $t && (P["#text"] = !0), Le && B(P, ["html", "head", "body"]), P.table && (B(P, ["tbody"]), delete pe.tbody), o.TRUSTED_TYPES_POLICY) {
|
|
4232
4232
|
if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4233
|
-
throw
|
|
4233
|
+
throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4234
4234
|
if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4235
|
-
throw
|
|
4235
|
+
throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4236
4236
|
L = o.TRUSTED_TYPES_POLICY, D = L.createHTML("");
|
|
4237
4237
|
} else
|
|
4238
4238
|
L === void 0 && (L = _a(C, i)), L !== null && typeof D == "string" && (D = L.createHTML(""));
|
|
@@ -4307,11 +4307,11 @@ function Ci() {
|
|
|
4307
4307
|
o.ownerDocument || o,
|
|
4308
4308
|
o,
|
|
4309
4309
|
// eslint-disable-next-line no-bitwise
|
|
4310
|
-
|
|
4310
|
+
u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
|
|
4311
4311
|
null
|
|
4312
4312
|
);
|
|
4313
4313
|
}, Jn = function(o) {
|
|
4314
|
-
return o instanceof g && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof
|
|
4314
|
+
return o instanceof g && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof h) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
|
|
4315
4315
|
}, Yn = function(o) {
|
|
4316
4316
|
return typeof a == "function" && o instanceof a;
|
|
4317
4317
|
}, _e = function(o, p, w) {
|
|
@@ -4335,15 +4335,15 @@ function Ci() {
|
|
|
4335
4335
|
const V = A(o) || o.parentNode, ne = R(o) || o.childNodes;
|
|
4336
4336
|
if (ne && V) {
|
|
4337
4337
|
const te = ne.length;
|
|
4338
|
-
for (let
|
|
4339
|
-
const ve = m(ne[
|
|
4338
|
+
for (let ue = te - 1; ue >= 0; --ue) {
|
|
4339
|
+
const ve = m(ne[ue], !0);
|
|
4340
4340
|
ve.__removalCount = (o.__removalCount || 0) + 1, V.insertBefore(ve, j(o));
|
|
4341
4341
|
}
|
|
4342
4342
|
}
|
|
4343
4343
|
}
|
|
4344
4344
|
return xe(o), !0;
|
|
4345
4345
|
}
|
|
4346
|
-
return o instanceof c && !Bi(o) || (w === "noscript" || w === "noembed" || w === "noframes") && se(/<\/no(script|embed|frames)/i, o.innerHTML) ? (xe(o), !0) : (de && o.nodeType === ct.text && (p = o.textContent, Ot([re,
|
|
4346
|
+
return o instanceof c && !Bi(o) || (w === "noscript" || w === "noembed" || w === "noframes") && se(/<\/no(script|embed|frames)/i, o.innerHTML) ? (xe(o), !0) : (de && o.nodeType === ct.text && (p = o.textContent, Ot([re, le, v], (V) => {
|
|
4347
4347
|
p = at(p, V, " ");
|
|
4348
4348
|
}), o.textContent !== p && (ot(t.removed, {
|
|
4349
4349
|
element: o.cloneNode()
|
|
@@ -4363,9 +4363,9 @@ function Ci() {
|
|
|
4363
4363
|
p === "is" && I.allowCustomizedBuiltInElements && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, w) || I.tagNameCheck instanceof Function && I.tagNameCheck(w)))
|
|
4364
4364
|
) return !1;
|
|
4365
4365
|
} else if (!en[p]) {
|
|
4366
|
-
if (!se(N, at(w,
|
|
4367
|
-
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" &&
|
|
4368
|
-
if (!(ee && !se(S, at(w,
|
|
4366
|
+
if (!se(N, at(w, f, ""))) {
|
|
4367
|
+
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && ha(w, "data:") === 0 && Un[o])) {
|
|
4368
|
+
if (!(ee && !se(S, at(w, f, "")))) {
|
|
4369
4369
|
if (w)
|
|
4370
4370
|
return !1;
|
|
4371
4371
|
}
|
|
@@ -4394,10 +4394,10 @@ function Ci() {
|
|
|
4394
4394
|
for (; V--; ) {
|
|
4395
4395
|
const ne = p[V], {
|
|
4396
4396
|
name: te,
|
|
4397
|
-
namespaceURI:
|
|
4397
|
+
namespaceURI: ue,
|
|
4398
4398
|
value: ve
|
|
4399
4399
|
} = ne, rt = $(te);
|
|
4400
|
-
let ie = te === "value" ? ve :
|
|
4400
|
+
let ie = te === "value" ? ve : fa(ve);
|
|
4401
4401
|
if (w.attrName = rt, w.attrValue = ie, w.keepAttr = !0, w.forceKeepAttr = void 0, _e("uponSanitizeAttribute", o, w), ie = w.attrValue, Me && se(/((--!?|])>)|<\/(style|title)/i, ie)) {
|
|
4402
4402
|
St(te, o);
|
|
4403
4403
|
continue;
|
|
@@ -4408,12 +4408,12 @@ function Ci() {
|
|
|
4408
4408
|
St(te, o);
|
|
4409
4409
|
continue;
|
|
4410
4410
|
}
|
|
4411
|
-
de && Ot([re,
|
|
4411
|
+
de && Ot([re, le, v], (tr) => {
|
|
4412
4412
|
ie = at(ie, tr, " ");
|
|
4413
4413
|
});
|
|
4414
4414
|
const er = $(o.nodeName);
|
|
4415
4415
|
if (Qn(er, rt, ie)) {
|
|
4416
|
-
if (Dn && (rt === "id" || rt === "name") && (St(te, o), ie = Ni + ie), L && typeof C == "object" && typeof C.getAttributeType == "function" && !
|
|
4416
|
+
if (Dn && (rt === "id" || rt === "name") && (St(te, o), ie = Ni + ie), L && typeof C == "object" && typeof C.getAttributeType == "function" && !ue)
|
|
4417
4417
|
switch (C.getAttributeType(er, rt)) {
|
|
4418
4418
|
case "TrustedHTML": {
|
|
4419
4419
|
ie = L.createHTML(ie);
|
|
@@ -4425,7 +4425,7 @@ function Ci() {
|
|
|
4425
4425
|
}
|
|
4426
4426
|
}
|
|
4427
4427
|
try {
|
|
4428
|
-
|
|
4428
|
+
ue ? o.setAttributeNS(ue, te, ie) : o.setAttribute(te, ie), Jn(o) ? xe(o) : Ar(t.removed);
|
|
4429
4429
|
} catch {
|
|
4430
4430
|
}
|
|
4431
4431
|
}
|
|
@@ -4443,16 +4443,16 @@ function Ci() {
|
|
|
4443
4443
|
if (tn = !O, tn && (O = "<!-->"), typeof O != "string" && !Yn(O))
|
|
4444
4444
|
if (typeof O.toString == "function") {
|
|
4445
4445
|
if (O = O.toString(), typeof O != "string")
|
|
4446
|
-
throw
|
|
4446
|
+
throw lt("dirty is not a string, aborting");
|
|
4447
4447
|
} else
|
|
4448
|
-
throw
|
|
4448
|
+
throw lt("toString is not a function");
|
|
4449
4449
|
if (!t.isSupported)
|
|
4450
4450
|
return O;
|
|
4451
4451
|
if (Qt || rn(o), t.removed = [], typeof O == "string" && (tt = !1), tt) {
|
|
4452
4452
|
if (O.nodeName) {
|
|
4453
4453
|
const ve = $(O.nodeName);
|
|
4454
4454
|
if (!P[ve] || pe[ve])
|
|
4455
|
-
throw
|
|
4455
|
+
throw lt("root node is forbidden and cannot be sanitized in-place");
|
|
4456
4456
|
}
|
|
4457
4457
|
} else if (O instanceof a)
|
|
4458
4458
|
p = Vn("<!---->"), w = p.ownerDocument.importNode(O, !0), w.nodeType === ct.element && w.nodeName === "BODY" || w.nodeName === "HTML" ? p = w : p.appendChild(w);
|
|
@@ -4477,11 +4477,11 @@ function Ci() {
|
|
|
4477
4477
|
ne = p;
|
|
4478
4478
|
return (_.shadowroot || _.shadowrootmode) && (ne = W.call(r, ne, !0)), ne;
|
|
4479
4479
|
}
|
|
4480
|
-
let
|
|
4481
|
-
return Le && P["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && se(Oi, p.ownerDocument.doctype.name) && (
|
|
4482
|
-
` +
|
|
4483
|
-
|
|
4484
|
-
}), L && Tt ? L.createHTML(
|
|
4480
|
+
let ue = Le ? p.outerHTML : p.innerHTML;
|
|
4481
|
+
return Le && P["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && se(Oi, p.ownerDocument.doctype.name) && (ue = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
|
|
4482
|
+
` + ue), de && Ot([re, le, v], (ve) => {
|
|
4483
|
+
ue = at(ue, ve, " ");
|
|
4484
|
+
}), L && Tt ? L.createHTML(ue) : ue;
|
|
4485
4485
|
}, t.setConfig = function() {
|
|
4486
4486
|
let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4487
4487
|
rn(O), Qt = !0;
|
|
@@ -4509,23 +4509,23 @@ var Mi = { exports: {} };
|
|
|
4509
4509
|
(function(n, r) {
|
|
4510
4510
|
e.exports = r();
|
|
4511
4511
|
})(Kr, function() {
|
|
4512
|
-
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond",
|
|
4512
|
+
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", l = "second", a = "minute", c = "hour", u = "day", h = "week", g = "month", T = "quarter", C = "year", E = "date", m = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, j = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
|
|
4513
4513
|
var y = ["th", "st", "nd", "rd"], d = v % 100;
|
|
4514
4514
|
return "[" + v + (y[(d - 20) % 10] || y[d] || y[0]) + "]";
|
|
4515
4515
|
} }, A = function(v, y, d) {
|
|
4516
4516
|
var S = String(v);
|
|
4517
4517
|
return !S || S.length >= y ? v : "" + Array(y + 1 - S.length).join(d) + v;
|
|
4518
4518
|
}, L = { s: A, z: function(v) {
|
|
4519
|
-
var y = -v.utcOffset(), d = Math.abs(y), S = Math.floor(d / 60),
|
|
4520
|
-
return (y <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(
|
|
4519
|
+
var y = -v.utcOffset(), d = Math.abs(y), S = Math.floor(d / 60), f = d % 60;
|
|
4520
|
+
return (y <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
|
|
4521
4521
|
}, m: function v(y, d) {
|
|
4522
4522
|
if (y.date() < d.date()) return -v(d, y);
|
|
4523
|
-
var S = 12 * (d.year() - y.year()) + (d.month() - y.month()),
|
|
4524
|
-
return +(-(S + (d -
|
|
4523
|
+
var S = 12 * (d.year() - y.year()) + (d.month() - y.month()), f = y.clone().add(S, g), x = d - f < 0, N = y.clone().add(S + (x ? -1 : 1), g);
|
|
4524
|
+
return +(-(S + (d - f) / (x ? f - N : N - f)) || 0);
|
|
4525
4525
|
}, a: function(v) {
|
|
4526
4526
|
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
|
4527
4527
|
}, p: function(v) {
|
|
4528
|
-
return { M: g, y: C, w:
|
|
4528
|
+
return { M: g, y: C, w: h, d: u, D: E, h: c, m: a, s: l, ms: s, Q: T }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
|
4529
4529
|
}, u: function(v) {
|
|
4530
4530
|
return v === void 0;
|
|
4531
4531
|
} }, D = "en", z = {};
|
|
@@ -4533,18 +4533,18 @@ var Mi = { exports: {} };
|
|
|
4533
4533
|
var J = "$isDayjsObject", Y = function(v) {
|
|
4534
4534
|
return v instanceof re || !(!v || !v[J]);
|
|
4535
4535
|
}, Q = function v(y, d, S) {
|
|
4536
|
-
var
|
|
4536
|
+
var f;
|
|
4537
4537
|
if (!y) return D;
|
|
4538
4538
|
if (typeof y == "string") {
|
|
4539
4539
|
var x = y.toLowerCase();
|
|
4540
|
-
z[x] && (
|
|
4540
|
+
z[x] && (f = x), d && (z[x] = d, f = x);
|
|
4541
4541
|
var N = y.split("-");
|
|
4542
|
-
if (!
|
|
4542
|
+
if (!f && N.length > 1) return v(N[0]);
|
|
4543
4543
|
} else {
|
|
4544
4544
|
var P = y.name;
|
|
4545
|
-
z[P] = y,
|
|
4545
|
+
z[P] = y, f = P;
|
|
4546
4546
|
}
|
|
4547
|
-
return !S &&
|
|
4547
|
+
return !S && f && (D = f), f || !S && D;
|
|
4548
4548
|
}, W = function(v, y) {
|
|
4549
4549
|
if (Y(v)) return v.clone();
|
|
4550
4550
|
var d = typeof y == "object" ? y : {};
|
|
@@ -4560,18 +4560,18 @@ var Mi = { exports: {} };
|
|
|
4560
4560
|
var y = v.prototype;
|
|
4561
4561
|
return y.parse = function(d) {
|
|
4562
4562
|
this.$d = function(S) {
|
|
4563
|
-
var
|
|
4564
|
-
if (
|
|
4565
|
-
if (H.u(
|
|
4566
|
-
if (
|
|
4567
|
-
if (typeof
|
|
4568
|
-
var N =
|
|
4563
|
+
var f = S.date, x = S.utc;
|
|
4564
|
+
if (f === null) return /* @__PURE__ */ new Date(NaN);
|
|
4565
|
+
if (H.u(f)) return /* @__PURE__ */ new Date();
|
|
4566
|
+
if (f instanceof Date) return new Date(f);
|
|
4567
|
+
if (typeof f == "string" && !/Z$/i.test(f)) {
|
|
4568
|
+
var N = f.match(M);
|
|
4569
4569
|
if (N) {
|
|
4570
4570
|
var P = N[2] - 1 || 0, b = (N[7] || "0").substring(0, 3);
|
|
4571
4571
|
return x ? new Date(Date.UTC(N[1], P, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, b)) : new Date(N[1], P, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, b);
|
|
4572
4572
|
}
|
|
4573
4573
|
}
|
|
4574
|
-
return new Date(
|
|
4574
|
+
return new Date(f);
|
|
4575
4575
|
}(d), this.init();
|
|
4576
4576
|
}, y.init = function() {
|
|
4577
4577
|
var d = this.$d;
|
|
@@ -4581,41 +4581,41 @@ var Mi = { exports: {} };
|
|
|
4581
4581
|
}, y.isValid = function() {
|
|
4582
4582
|
return this.$d.toString() !== m;
|
|
4583
4583
|
}, y.isSame = function(d, S) {
|
|
4584
|
-
var
|
|
4585
|
-
return this.startOf(S) <=
|
|
4584
|
+
var f = W(d);
|
|
4585
|
+
return this.startOf(S) <= f && f <= this.endOf(S);
|
|
4586
4586
|
}, y.isAfter = function(d, S) {
|
|
4587
4587
|
return W(d) < this.startOf(S);
|
|
4588
4588
|
}, y.isBefore = function(d, S) {
|
|
4589
4589
|
return this.endOf(S) < W(d);
|
|
4590
|
-
}, y.$g = function(d, S,
|
|
4591
|
-
return H.u(d) ? this[S] : this.set(
|
|
4590
|
+
}, y.$g = function(d, S, f) {
|
|
4591
|
+
return H.u(d) ? this[S] : this.set(f, d);
|
|
4592
4592
|
}, y.unix = function() {
|
|
4593
4593
|
return Math.floor(this.valueOf() / 1e3);
|
|
4594
4594
|
}, y.valueOf = function() {
|
|
4595
4595
|
return this.$d.getTime();
|
|
4596
4596
|
}, y.startOf = function(d, S) {
|
|
4597
|
-
var
|
|
4598
|
-
var ye = H.w(
|
|
4599
|
-
return x ? ye : ye.endOf(
|
|
4597
|
+
var f = this, x = !!H.u(S) || S, N = H.p(d), P = function(Ee, ee) {
|
|
4598
|
+
var ye = H.w(f.$u ? Date.UTC(f.$y, ee, Ee) : new Date(f.$y, ee, Ee), f);
|
|
4599
|
+
return x ? ye : ye.endOf(u);
|
|
4600
4600
|
}, b = function(Ee, ee) {
|
|
4601
|
-
return H.w(
|
|
4601
|
+
return H.w(f.toDate()[Ee].apply(f.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), f);
|
|
4602
4602
|
}, _ = this.$W, Z = this.$M, I = this.$D, pe = "set" + (this.$u ? "UTC" : "");
|
|
4603
4603
|
switch (N) {
|
|
4604
4604
|
case C:
|
|
4605
4605
|
return x ? P(1, 0) : P(31, 11);
|
|
4606
4606
|
case g:
|
|
4607
4607
|
return x ? P(1, Z) : P(0, Z + 1);
|
|
4608
|
-
case
|
|
4608
|
+
case h:
|
|
4609
4609
|
var be = this.$locale().weekStart || 0, Ce = (_ < be ? _ + 7 : _) - be;
|
|
4610
4610
|
return P(x ? I - Ce : I + (6 - Ce), Z);
|
|
4611
|
-
case
|
|
4611
|
+
case u:
|
|
4612
4612
|
case E:
|
|
4613
4613
|
return b(pe + "Hours", 0);
|
|
4614
4614
|
case c:
|
|
4615
4615
|
return b(pe + "Minutes", 1);
|
|
4616
4616
|
case a:
|
|
4617
4617
|
return b(pe + "Seconds", 2);
|
|
4618
|
-
case
|
|
4618
|
+
case l:
|
|
4619
4619
|
return b(pe + "Milliseconds", 3);
|
|
4620
4620
|
default:
|
|
4621
4621
|
return this.clone();
|
|
@@ -4623,7 +4623,7 @@ var Mi = { exports: {} };
|
|
|
4623
4623
|
}, y.endOf = function(d) {
|
|
4624
4624
|
return this.startOf(d, !1);
|
|
4625
4625
|
}, y.$set = function(d, S) {
|
|
4626
|
-
var
|
|
4626
|
+
var f, x = H.p(d), N = "set" + (this.$u ? "UTC" : ""), P = (f = {}, f[u] = N + "Date", f[E] = N + "Date", f[g] = N + "Month", f[C] = N + "FullYear", f[c] = N + "Hours", f[a] = N + "Minutes", f[l] = N + "Seconds", f[s] = N + "Milliseconds", f)[x], b = x === u ? this.$D + (S - this.$W) : S;
|
|
4627
4627
|
if (x === g || x === C) {
|
|
4628
4628
|
var _ = this.clone().set(E, 1);
|
|
4629
4629
|
_.$d[P](b), _.init(), this.$d = _.set(E, Math.min(this.$D, _.daysInMonth())).$d;
|
|
@@ -4634,7 +4634,7 @@ var Mi = { exports: {} };
|
|
|
4634
4634
|
}, y.get = function(d) {
|
|
4635
4635
|
return this[H.p(d)]();
|
|
4636
4636
|
}, y.add = function(d, S) {
|
|
4637
|
-
var
|
|
4637
|
+
var f, x = this;
|
|
4638
4638
|
d = Number(d);
|
|
4639
4639
|
var N = H.p(S), P = function(Z) {
|
|
4640
4640
|
var I = W(x);
|
|
@@ -4642,16 +4642,16 @@ var Mi = { exports: {} };
|
|
|
4642
4642
|
};
|
|
4643
4643
|
if (N === g) return this.set(g, this.$M + d);
|
|
4644
4644
|
if (N === C) return this.set(C, this.$y + d);
|
|
4645
|
-
if (N ===
|
|
4646
|
-
if (N ===
|
|
4647
|
-
var b = (
|
|
4645
|
+
if (N === u) return P(1);
|
|
4646
|
+
if (N === h) return P(7);
|
|
4647
|
+
var b = (f = {}, f[a] = r, f[c] = i, f[l] = n, f)[N] || 1, _ = this.$d.getTime() + d * b;
|
|
4648
4648
|
return H.w(_, this);
|
|
4649
4649
|
}, y.subtract = function(d, S) {
|
|
4650
4650
|
return this.add(-1 * d, S);
|
|
4651
4651
|
}, y.format = function(d) {
|
|
4652
|
-
var S = this,
|
|
4653
|
-
if (!this.isValid()) return
|
|
4654
|
-
var x = d || "YYYY-MM-DDTHH:mm:ssZ", N = H.z(this), P = this.$H, b = this.$m, _ = this.$M, Z =
|
|
4652
|
+
var S = this, f = this.$locale();
|
|
4653
|
+
if (!this.isValid()) return f.invalidDate || m;
|
|
4654
|
+
var x = d || "YYYY-MM-DDTHH:mm:ssZ", N = H.z(this), P = this.$H, b = this.$m, _ = this.$M, Z = f.weekdays, I = f.months, pe = f.meridiem, be = function(ee, ye, de, Me) {
|
|
4655
4655
|
return ee && (ee[ye] || ee(S, x)) || de[ye].slice(0, Me);
|
|
4656
4656
|
}, Ce = function(ee) {
|
|
4657
4657
|
return H.s(P % 12 || 12, ee, "0");
|
|
@@ -4671,7 +4671,7 @@ var Mi = { exports: {} };
|
|
|
4671
4671
|
case "MM":
|
|
4672
4672
|
return H.s(_ + 1, 2, "0");
|
|
4673
4673
|
case "MMM":
|
|
4674
|
-
return be(
|
|
4674
|
+
return be(f.monthsShort, _, I, 3);
|
|
4675
4675
|
case "MMMM":
|
|
4676
4676
|
return be(I, _);
|
|
4677
4677
|
case "D":
|
|
@@ -4681,9 +4681,9 @@ var Mi = { exports: {} };
|
|
|
4681
4681
|
case "d":
|
|
4682
4682
|
return String(S.$W);
|
|
4683
4683
|
case "dd":
|
|
4684
|
-
return be(
|
|
4684
|
+
return be(f.weekdaysMin, S.$W, Z, 2);
|
|
4685
4685
|
case "ddd":
|
|
4686
|
-
return be(
|
|
4686
|
+
return be(f.weekdaysShort, S.$W, Z, 3);
|
|
4687
4687
|
case "dddd":
|
|
4688
4688
|
return Z[S.$W];
|
|
4689
4689
|
case "H":
|
|
@@ -4716,7 +4716,7 @@ var Mi = { exports: {} };
|
|
|
4716
4716
|
});
|
|
4717
4717
|
}, y.utcOffset = function() {
|
|
4718
4718
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4719
|
-
}, y.diff = function(d, S,
|
|
4719
|
+
}, y.diff = function(d, S, f) {
|
|
4720
4720
|
var x, N = this, P = H.p(S), b = W(d), _ = (b.utcOffset() - this.utcOffset()) * r, Z = this - b, I = function() {
|
|
4721
4721
|
return H.m(N, b);
|
|
4722
4722
|
};
|
|
@@ -4730,10 +4730,10 @@ var Mi = { exports: {} };
|
|
|
4730
4730
|
case T:
|
|
4731
4731
|
x = I() / 3;
|
|
4732
4732
|
break;
|
|
4733
|
-
case
|
|
4733
|
+
case h:
|
|
4734
4734
|
x = (Z - _) / 6048e5;
|
|
4735
4735
|
break;
|
|
4736
|
-
case
|
|
4736
|
+
case u:
|
|
4737
4737
|
x = (Z - _) / 864e5;
|
|
4738
4738
|
break;
|
|
4739
4739
|
case c:
|
|
@@ -4742,21 +4742,21 @@ var Mi = { exports: {} };
|
|
|
4742
4742
|
case a:
|
|
4743
4743
|
x = Z / r;
|
|
4744
4744
|
break;
|
|
4745
|
-
case
|
|
4745
|
+
case l:
|
|
4746
4746
|
x = Z / n;
|
|
4747
4747
|
break;
|
|
4748
4748
|
default:
|
|
4749
4749
|
x = Z;
|
|
4750
4750
|
}
|
|
4751
|
-
return
|
|
4751
|
+
return f ? x : H.a(x);
|
|
4752
4752
|
}, y.daysInMonth = function() {
|
|
4753
4753
|
return this.endOf(g).$D;
|
|
4754
4754
|
}, y.$locale = function() {
|
|
4755
4755
|
return z[this.$L];
|
|
4756
4756
|
}, y.locale = function(d, S) {
|
|
4757
4757
|
if (!d) return this.$L;
|
|
4758
|
-
var
|
|
4759
|
-
return x && (
|
|
4758
|
+
var f = this.clone(), x = Q(d, S, !0);
|
|
4759
|
+
return x && (f.$L = x), f;
|
|
4760
4760
|
}, y.clone = function() {
|
|
4761
4761
|
return H.w(this.$d, this);
|
|
4762
4762
|
}, y.toDate = function() {
|
|
@@ -4768,9 +4768,9 @@ var Mi = { exports: {} };
|
|
|
4768
4768
|
}, y.toString = function() {
|
|
4769
4769
|
return this.$d.toUTCString();
|
|
4770
4770
|
}, v;
|
|
4771
|
-
}(),
|
|
4772
|
-
return W.prototype =
|
|
4773
|
-
|
|
4771
|
+
}(), le = re.prototype;
|
|
4772
|
+
return W.prototype = le, [["$ms", s], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", g], ["$y", C], ["$D", E]].forEach(function(v) {
|
|
4773
|
+
le[v[1]] = function(y) {
|
|
4774
4774
|
return this.$g(y, v[0], v[1]);
|
|
4775
4775
|
};
|
|
4776
4776
|
}), W.extend = function(v, y) {
|
|
@@ -4788,27 +4788,27 @@ var Hi = { exports: {} };
|
|
|
4788
4788
|
e.exports = r();
|
|
4789
4789
|
})(Kr, function() {
|
|
4790
4790
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
4791
|
-
return function(s,
|
|
4792
|
-
var c =
|
|
4791
|
+
return function(s, l, a) {
|
|
4792
|
+
var c = l.prototype;
|
|
4793
4793
|
a.utc = function(m) {
|
|
4794
4794
|
var M = { date: m, utc: !0, args: arguments };
|
|
4795
|
-
return new
|
|
4795
|
+
return new l(M);
|
|
4796
4796
|
}, c.utc = function(m) {
|
|
4797
4797
|
var M = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4798
4798
|
return m ? M.add(this.utcOffset(), n) : M;
|
|
4799
4799
|
}, c.local = function() {
|
|
4800
4800
|
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4801
4801
|
};
|
|
4802
|
-
var
|
|
4802
|
+
var u = c.parse;
|
|
4803
4803
|
c.parse = function(m) {
|
|
4804
|
-
m.utc && (this.$u = !0), this.$utils().u(m.$offset) || (this.$offset = m.$offset),
|
|
4804
|
+
m.utc && (this.$u = !0), this.$utils().u(m.$offset) || (this.$offset = m.$offset), u.call(this, m);
|
|
4805
4805
|
};
|
|
4806
|
-
var
|
|
4806
|
+
var h = c.init;
|
|
4807
4807
|
c.init = function() {
|
|
4808
4808
|
if (this.$u) {
|
|
4809
4809
|
var m = this.$d;
|
|
4810
4810
|
this.$y = m.getUTCFullYear(), this.$M = m.getUTCMonth(), this.$D = m.getUTCDate(), this.$W = m.getUTCDay(), this.$H = m.getUTCHours(), this.$m = m.getUTCMinutes(), this.$s = m.getUTCSeconds(), this.$ms = m.getUTCMilliseconds();
|
|
4811
|
-
} else
|
|
4811
|
+
} else h.call(this);
|
|
4812
4812
|
};
|
|
4813
4813
|
var g = c.utcOffset;
|
|
4814
4814
|
c.utcOffset = function(m, M) {
|
|
@@ -4863,10 +4863,10 @@ function Na(e) {
|
|
|
4863
4863
|
}
|
|
4864
4864
|
const Pa = (e) => ({}), Lr = (e) => ({}), Ra = (e) => ({}), Ir = (e) => ({}), La = (e) => ({}), Dr = (e) => ({}), Ia = (e) => ({}), Br = (e) => ({ class: "CashierSessionExpirationIcon" });
|
|
4865
4865
|
function Ur(e) {
|
|
4866
|
-
let t, n, r, i, s,
|
|
4866
|
+
let t, n, r, i, s, l = (
|
|
4867
4867
|
/*$_*/
|
|
4868
4868
|
e[8]("sessionExpirationHeader") + ""
|
|
4869
|
-
), a, c,
|
|
4869
|
+
), a, c, u, h, g, T, C, E, m, M, j, R, A, L, D;
|
|
4870
4870
|
const z = (
|
|
4871
4871
|
/*#slots*/
|
|
4872
4872
|
e[20].icon
|
|
@@ -4888,29 +4888,29 @@ function Ur(e) {
|
|
|
4888
4888
|
), H = W || ka(e), re = (
|
|
4889
4889
|
/*#slots*/
|
|
4890
4890
|
e[20].text
|
|
4891
|
-
),
|
|
4891
|
+
), le = Mt(
|
|
4892
4892
|
re,
|
|
4893
4893
|
e,
|
|
4894
4894
|
/*$$scope*/
|
|
4895
4895
|
e[19],
|
|
4896
4896
|
Ir
|
|
4897
|
-
), v =
|
|
4898
|
-
function S(
|
|
4897
|
+
), v = le || Ga(e), y = [za, Fa], d = [];
|
|
4898
|
+
function S(f, x) {
|
|
4899
4899
|
return (
|
|
4900
4900
|
/*showLoaderButton*/
|
|
4901
|
-
|
|
4901
|
+
f[6] ? 0 : 1
|
|
4902
4902
|
);
|
|
4903
4903
|
}
|
|
4904
4904
|
return m = S(e), M = d[m] = y[m](e), {
|
|
4905
4905
|
c() {
|
|
4906
|
-
t = K("div"), n = K("div"), r = K("div"), i = K("div"), s = K("div"), a = Ke(
|
|
4907
|
-
e[6], G(E, "class", "CashierSessionExpirationButton"), G(
|
|
4906
|
+
t = K("div"), n = K("div"), r = K("div"), i = K("div"), s = K("div"), a = Ke(l), c = ht(), u = K("div"), h = K("div"), Y && Y.c(), g = ht(), H && H.c(), T = ht(), v && v.c(), C = ht(), E = K("button"), M.c(), G(s, "class", "CashierSessionExpirationModalHeaderTitle"), G(i, "class", "CashierSessionExpirationModalHeader"), G(E, "type", "button"), E.disabled = /*showLoaderButton*/
|
|
4907
|
+
e[6], G(E, "class", "CashierSessionExpirationButton"), G(h, "class", "CashierSessionExpiration"), G(u, "class", "CashierSessionExpirationModalContainer"), G(u, "part", "CashierSessionExpirationModalContainer"), G(r, "class", "CashierSessionExpirationModalWrapper"), G(r, "part", "CashierSessionExpirationModalWrapper"), G(n, "class", "CashierSessionExpirationModalWindow"), G(n, "part", "CashierSessionExpirationModalWindow"), G(n, "id", "CashierSessionExpirationModal"), Xe(() => (
|
|
4908
4908
|
/*div5_elementresize_handler*/
|
|
4909
4909
|
e[22].call(n)
|
|
4910
4910
|
)), G(t, "part", "CustomStylingContainer");
|
|
4911
4911
|
},
|
|
4912
|
-
m(
|
|
4913
|
-
we(
|
|
4912
|
+
m(f, x) {
|
|
4913
|
+
we(f, t, x), q(t, n), q(n, r), q(r, i), q(i, s), q(s, a), q(r, c), q(r, u), q(u, h), Y && Y.m(h, null), q(h, g), H && H.m(h, null), q(h, T), v && v.m(h, null), q(h, C), q(h, E), d[m].m(E, null), e[21](h), j = Ji(
|
|
4914
4914
|
n,
|
|
4915
4915
|
/*div5_elementresize_handler*/
|
|
4916
4916
|
e[22].bind(n)
|
|
@@ -4929,10 +4929,10 @@ function Ur(e) {
|
|
|
4929
4929
|
)
|
|
4930
4930
|
], L = !0);
|
|
4931
4931
|
},
|
|
4932
|
-
p(
|
|
4933
|
-
e =
|
|
4934
|
-
256) &&
|
|
4935
|
-
e[8]("sessionExpirationHeader") + "") && Vt(a,
|
|
4932
|
+
p(f, x) {
|
|
4933
|
+
e = f, (!A || x[0] & /*$_*/
|
|
4934
|
+
256) && l !== (l = /*$_*/
|
|
4935
|
+
e[8]("sessionExpirationHeader") + "") && Vt(a, l), J ? J.p && (!A || x[0] & /*$$scope*/
|
|
4936
4936
|
524288) && Nt(
|
|
4937
4937
|
J,
|
|
4938
4938
|
z,
|
|
@@ -4970,9 +4970,9 @@ function Ur(e) {
|
|
|
4970
4970
|
),
|
|
4971
4971
|
Dr
|
|
4972
4972
|
) : H && H.p && (!A || x[0] & /*$_*/
|
|
4973
|
-
256) && H.p(e, A ? x : [-1, -1]),
|
|
4973
|
+
256) && H.p(e, A ? x : [-1, -1]), le ? le.p && (!A || x[0] & /*$$scope*/
|
|
4974
4974
|
524288) && Nt(
|
|
4975
|
-
|
|
4975
|
+
le,
|
|
4976
4976
|
re,
|
|
4977
4977
|
e,
|
|
4978
4978
|
/*$$scope*/
|
|
@@ -4997,22 +4997,22 @@ function Ur(e) {
|
|
|
4997
4997
|
64) && (E.disabled = /*showLoaderButton*/
|
|
4998
4998
|
e[6]);
|
|
4999
4999
|
},
|
|
5000
|
-
i(
|
|
5001
|
-
A || (Se(Y,
|
|
5000
|
+
i(f) {
|
|
5001
|
+
A || (Se(Y, f), Se(H, f), Se(v, f), Se(M), f && Xe(() => {
|
|
5002
5002
|
A && (R || (R = or(n, ar, { duration: (
|
|
5003
5003
|
/*duration*/
|
|
5004
5004
|
e[2]
|
|
5005
5005
|
) }, !0)), R.run(1));
|
|
5006
5006
|
}), A = !0);
|
|
5007
5007
|
},
|
|
5008
|
-
o(
|
|
5009
|
-
He(Y,
|
|
5008
|
+
o(f) {
|
|
5009
|
+
He(Y, f), He(H, f), He(v, f), He(M), f && (R || (R = or(n, ar, { duration: (
|
|
5010
5010
|
/*duration*/
|
|
5011
5011
|
e[2]
|
|
5012
5012
|
) }, !1)), R.run(0)), A = !1;
|
|
5013
5013
|
},
|
|
5014
|
-
d(
|
|
5015
|
-
|
|
5014
|
+
d(f) {
|
|
5015
|
+
f && me(t), Y && Y.d(f), H && H.d(f), v && v.d(f), d[m].d(), e[21](null), j(), f && R && R.end(), e[23](null), L = !1, Pe(D);
|
|
5016
5016
|
}
|
|
5017
5017
|
};
|
|
5018
5018
|
}
|
|
@@ -5025,7 +5025,7 @@ function Da(e) {
|
|
|
5025
5025
|
m(r, i) {
|
|
5026
5026
|
we(r, t, i);
|
|
5027
5027
|
},
|
|
5028
|
-
p:
|
|
5028
|
+
p: he,
|
|
5029
5029
|
d(r) {
|
|
5030
5030
|
r && me(t);
|
|
5031
5031
|
}
|
|
@@ -5053,7 +5053,7 @@ function Ba(e) {
|
|
|
5053
5053
|
}
|
|
5054
5054
|
function Ua(e) {
|
|
5055
5055
|
let t;
|
|
5056
|
-
function n(s,
|
|
5056
|
+
function n(s, l) {
|
|
5057
5057
|
return (
|
|
5058
5058
|
/*assetsurl*/
|
|
5059
5059
|
s[3] ? Ba : Da
|
|
@@ -5064,11 +5064,11 @@ function Ua(e) {
|
|
|
5064
5064
|
c() {
|
|
5065
5065
|
i.c(), t = Xr();
|
|
5066
5066
|
},
|
|
5067
|
-
m(s,
|
|
5068
|
-
i.m(s,
|
|
5067
|
+
m(s, l) {
|
|
5068
|
+
i.m(s, l), we(s, t, l);
|
|
5069
5069
|
},
|
|
5070
|
-
p(s,
|
|
5071
|
-
r === (r = n(s)) && i ? i.p(s,
|
|
5070
|
+
p(s, l) {
|
|
5071
|
+
r === (r = n(s)) && i ? i.p(s, l) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
5072
5072
|
},
|
|
5073
5073
|
d(s) {
|
|
5074
5074
|
s && me(t), i.d(s);
|
|
@@ -5143,11 +5143,11 @@ function Fa(e) {
|
|
|
5143
5143
|
c() {
|
|
5144
5144
|
i && i.c();
|
|
5145
5145
|
},
|
|
5146
|
-
m(s,
|
|
5147
|
-
i && i.m(s,
|
|
5146
|
+
m(s, l) {
|
|
5147
|
+
i && i.m(s, l), t = !0;
|
|
5148
5148
|
},
|
|
5149
|
-
p(s,
|
|
5150
|
-
r ? r.p && (!t ||
|
|
5149
|
+
p(s, l) {
|
|
5150
|
+
r ? r.p && (!t || l[0] & /*$$scope*/
|
|
5151
5151
|
524288) && Nt(
|
|
5152
5152
|
r,
|
|
5153
5153
|
n,
|
|
@@ -5158,15 +5158,15 @@ function Fa(e) {
|
|
|
5158
5158
|
n,
|
|
5159
5159
|
/*$$scope*/
|
|
5160
5160
|
s[19],
|
|
5161
|
-
|
|
5161
|
+
l,
|
|
5162
5162
|
Pa
|
|
5163
5163
|
) : Pt(
|
|
5164
5164
|
/*$$scope*/
|
|
5165
5165
|
s[19]
|
|
5166
5166
|
),
|
|
5167
5167
|
Lr
|
|
5168
|
-
) : i && i.p && (!t ||
|
|
5169
|
-
256) && i.p(s, t ?
|
|
5168
|
+
) : i && i.p && (!t || l[0] & /*$_*/
|
|
5169
|
+
256) && i.p(s, t ? l : [-1, -1]);
|
|
5170
5170
|
},
|
|
5171
5171
|
i(s) {
|
|
5172
5172
|
t || (Se(i, s), t = !0);
|
|
@@ -5180,24 +5180,24 @@ function Fa(e) {
|
|
|
5180
5180
|
};
|
|
5181
5181
|
}
|
|
5182
5182
|
function za(e) {
|
|
5183
|
-
let t, n, r, i, s,
|
|
5183
|
+
let t, n, r, i, s, l = (
|
|
5184
5184
|
/*$_*/
|
|
5185
5185
|
e[8]("sessionExpirationLoadingButton") + ""
|
|
5186
5186
|
), a;
|
|
5187
5187
|
return {
|
|
5188
5188
|
c() {
|
|
5189
|
-
t = K("div"), n = rr("svg"), r = rr("path"), i =
|
|
5189
|
+
t = K("div"), n = rr("svg"), r = rr("path"), i = ht(), s = K("span"), a = Ke(l), G(r, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), G(r, "fill", "white"), G(n, "class", "CashierSessionExpirationButtonSpinner"), G(n, "xmlns", "http://www.w3.org/2000/svg"), G(n, "width", "15"), G(n, "height", "14"), G(n, "viewBox", "0 0 15 14"), G(n, "fill", "none"), G(s, "class", "CashierSessionExpirationButtonText");
|
|
5190
5190
|
},
|
|
5191
|
-
m(c,
|
|
5192
|
-
we(c, t,
|
|
5191
|
+
m(c, u) {
|
|
5192
|
+
we(c, t, u), q(t, n), q(n, r), q(t, i), q(t, s), q(s, a);
|
|
5193
5193
|
},
|
|
5194
|
-
p(c,
|
|
5195
|
-
|
|
5196
|
-
256 &&
|
|
5197
|
-
c[8]("sessionExpirationLoadingButton") + "") && Vt(a,
|
|
5194
|
+
p(c, u) {
|
|
5195
|
+
u[0] & /*$_*/
|
|
5196
|
+
256 && l !== (l = /*$_*/
|
|
5197
|
+
c[8]("sessionExpirationLoadingButton") + "") && Vt(a, l);
|
|
5198
5198
|
},
|
|
5199
|
-
i:
|
|
5200
|
-
o:
|
|
5199
|
+
i: he,
|
|
5200
|
+
o: he,
|
|
5201
5201
|
d(c) {
|
|
5202
5202
|
c && me(t);
|
|
5203
5203
|
}
|
|
@@ -5261,7 +5261,7 @@ function Va(e, t, n) {
|
|
|
5261
5261
|
Fi(e, oa, (b) => n(8, r = b));
|
|
5262
5262
|
let { $$slots: i = {}, $$scope: s } = t;
|
|
5263
5263
|
Rr.extend(Ha);
|
|
5264
|
-
let { clientstyling:
|
|
5264
|
+
let { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, { width: c } = t, { height: u } = t, { duration: h = 200 } = t, { assetsurl: g = "" } = t, { lang: T = "en" } = t, { translationurl: C = "" } = t, { endpoint: E } = t, { currency: m } = t, { customerid: M } = t, { selectedpaymentmethodname: j } = t, R, A = !1, L = !1, D, z, J, Y, Q;
|
|
5265
5265
|
const W = (b) => {
|
|
5266
5266
|
b.data.type === "StartSessionCountdown" && (Q = b.data.xPaymentSessionToken, Y = b.data.paymentMethodName, re());
|
|
5267
5267
|
}, H = (b) => {
|
|
@@ -5280,7 +5280,7 @@ function Va(e, t, n) {
|
|
|
5280
5280
|
},
|
|
5281
5281
|
1e3
|
|
5282
5282
|
));
|
|
5283
|
-
},
|
|
5283
|
+
}, le = () => {
|
|
5284
5284
|
if (L) return;
|
|
5285
5285
|
const b = new URL(`${E}/v1/player/${M}/payment/GetPaymentMethod`), _ = new Headers();
|
|
5286
5286
|
n(6, L = !0), _.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("X-Client-Request-Timestamp", Rr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
@@ -5299,7 +5299,7 @@ function Va(e, t, n) {
|
|
|
5299
5299
|
}).finally(() => n(6, L = !1));
|
|
5300
5300
|
}, v = (b) => {
|
|
5301
5301
|
const _ = b.currentTarget;
|
|
5302
|
-
b.target === _ &&
|
|
5302
|
+
b.target === _ && le();
|
|
5303
5303
|
}, y = () => {
|
|
5304
5304
|
fetch(C).then((_) => _.json()).then((_) => {
|
|
5305
5305
|
Object.keys(_).forEach((Z) => {
|
|
@@ -5316,8 +5316,8 @@ function Va(e, t, n) {
|
|
|
5316
5316
|
aa(T);
|
|
5317
5317
|
}, S = () => {
|
|
5318
5318
|
let b = document.createElement("style");
|
|
5319
|
-
b.innerHTML =
|
|
5320
|
-
},
|
|
5319
|
+
b.innerHTML = l, R.appendChild(b);
|
|
5320
|
+
}, f = () => {
|
|
5321
5321
|
let b = new URL(a), _ = document.createElement("style");
|
|
5322
5322
|
fetch(b.href).then((Z) => Z.text()).then((Z) => {
|
|
5323
5323
|
_.innerHTML = Z, setTimeout(
|
|
@@ -5339,7 +5339,7 @@ function Va(e, t, n) {
|
|
|
5339
5339
|
});
|
|
5340
5340
|
}
|
|
5341
5341
|
function N() {
|
|
5342
|
-
c = this.clientWidth,
|
|
5342
|
+
c = this.clientWidth, u = this.clientHeight, n(0, c), n(1, u);
|
|
5343
5343
|
}
|
|
5344
5344
|
function P(b) {
|
|
5345
5345
|
Ft[b ? "unshift" : "push"](() => {
|
|
@@ -5347,26 +5347,26 @@ function Va(e, t, n) {
|
|
|
5347
5347
|
});
|
|
5348
5348
|
}
|
|
5349
5349
|
return e.$$set = (b) => {
|
|
5350
|
-
"clientstyling" in b && n(11,
|
|
5350
|
+
"clientstyling" in b && n(11, l = b.clientstyling), "clientstylingurl" in b && n(12, a = b.clientstylingurl), "width" in b && n(0, c = b.width), "height" in b && n(1, u = b.height), "duration" in b && n(2, h = b.duration), "assetsurl" in b && n(3, g = b.assetsurl), "lang" in b && n(13, T = b.lang), "translationurl" in b && n(14, C = b.translationurl), "endpoint" in b && n(15, E = b.endpoint), "currency" in b && n(16, m = b.currency), "customerid" in b && n(17, M = b.customerid), "selectedpaymentmethodname" in b && n(18, j = b.selectedpaymentmethodname), "$$scope" in b && n(19, s = b.$$scope);
|
|
5351
5351
|
}, e.$$.update = () => {
|
|
5352
5352
|
e.$$.dirty[0] & /*lang*/
|
|
5353
5353
|
8192 && T && d(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5354
|
-
2064 &&
|
|
5355
|
-
4112 && a && R &&
|
|
5354
|
+
2064 && l && R && S(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5355
|
+
4112 && a && R && f(), e.$$.dirty[0] & /*translationurl*/
|
|
5356
5356
|
16384 && C && y();
|
|
5357
5357
|
}, [
|
|
5358
5358
|
c,
|
|
5359
|
-
|
|
5360
|
-
|
|
5359
|
+
u,
|
|
5360
|
+
h,
|
|
5361
5361
|
g,
|
|
5362
5362
|
R,
|
|
5363
5363
|
A,
|
|
5364
5364
|
L,
|
|
5365
5365
|
D,
|
|
5366
5366
|
r,
|
|
5367
|
-
|
|
5367
|
+
le,
|
|
5368
5368
|
v,
|
|
5369
|
-
|
|
5369
|
+
l,
|
|
5370
5370
|
a,
|
|
5371
5371
|
T,
|
|
5372
5372
|
C,
|
|
@@ -5383,7 +5383,7 @@ function Va(e, t, n) {
|
|
|
5383
5383
|
}
|
|
5384
5384
|
class Xa extends ps {
|
|
5385
5385
|
constructor(t) {
|
|
5386
|
-
super(),
|
|
5386
|
+
super(), fs(
|
|
5387
5387
|
this,
|
|
5388
5388
|
t,
|
|
5389
5389
|
Va,
|