@everymatrix/cashier-session-expiration-modal 1.54.11 → 1.54.12
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-DsxGwhjW.js → CashierSessionExpirationModal-DsBf27UA.js} +681 -649
- package/components/CashierSessionExpirationModal-jxvWboFU.cjs +9 -0
- package/components/{CashierSessionExpirationModal-C-jqeLlS.js → CashierSessionExpirationModal-tpvQuase.js} +745 -713
- 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 +1 -1
- package/components/CashierSessionExpirationModal-Czs4Kb3v.cjs +0 -9
|
@@ -10,7 +10,7 @@ var on = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
Yi.call(t, n) && on(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, or = (e, t) => Vi(e, Xi(t));
|
|
13
|
-
var
|
|
13
|
+
var ye = (e, t, n) => on(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
14
|
var ar = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (c) => {
|
|
16
16
|
try {
|
|
@@ -27,7 +27,7 @@ var ar = (e, t, n) => new Promise((r, i) => {
|
|
|
27
27
|
}, l = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(s, a);
|
|
28
28
|
l((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function pe() {
|
|
31
31
|
}
|
|
32
32
|
const Zr = (e) => e;
|
|
33
33
|
function qi(e, t) {
|
|
@@ -63,7 +63,7 @@ function Jr(e, ...t) {
|
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const r of t)
|
|
65
65
|
r(void 0);
|
|
66
|
-
return
|
|
66
|
+
return pe;
|
|
67
67
|
}
|
|
68
68
|
const n = e.subscribe(...t);
|
|
69
69
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
@@ -111,7 +111,7 @@ function Rt(e) {
|
|
|
111
111
|
return -1;
|
|
112
112
|
}
|
|
113
113
|
const qr = typeof window != "undefined";
|
|
114
|
-
let $i = qr ? () => window.performance.now() : () => Date.now(), Pn = qr ? (e) => requestAnimationFrame(e) :
|
|
114
|
+
let $i = qr ? () => window.performance.now() : () => Date.now(), Pn = qr ? (e) => requestAnimationFrame(e) : pe;
|
|
115
115
|
const Ve = /* @__PURE__ */ new Set();
|
|
116
116
|
function Qr(e) {
|
|
117
117
|
Ve.forEach((t) => {
|
|
@@ -129,13 +129,13 @@ function es(e) {
|
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function $(e, t) {
|
|
133
133
|
e.appendChild(t);
|
|
134
134
|
}
|
|
135
135
|
function ts(e, t, n) {
|
|
136
136
|
const r = Rn(e);
|
|
137
137
|
if (!r.getElementById(t)) {
|
|
138
|
-
const i =
|
|
138
|
+
const i = te("style");
|
|
139
139
|
i.id = t, i.textContent = n, Kr(r, i);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -149,23 +149,23 @@ function Rn(e) {
|
|
|
149
149
|
) : e.ownerDocument;
|
|
150
150
|
}
|
|
151
151
|
function ns(e) {
|
|
152
|
-
const t =
|
|
152
|
+
const t = te("style");
|
|
153
153
|
return t.textContent = "/* empty */", Kr(Rn(e), t), t.sheet;
|
|
154
154
|
}
|
|
155
155
|
function Kr(e, t) {
|
|
156
|
-
return
|
|
156
|
+
return $(
|
|
157
157
|
/** @type {Document} */
|
|
158
158
|
e.head || e,
|
|
159
159
|
t
|
|
160
160
|
), t.sheet;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function _e(e, t, n) {
|
|
163
163
|
e.insertBefore(t, n || null);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function be(e) {
|
|
166
166
|
e.parentNode && e.parentNode.removeChild(e);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function te(e) {
|
|
169
169
|
return document.createElement(e);
|
|
170
170
|
}
|
|
171
171
|
function ur(e) {
|
|
@@ -207,7 +207,7 @@ function is() {
|
|
|
207
207
|
}
|
|
208
208
|
function ss(e, t) {
|
|
209
209
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
210
|
-
const r =
|
|
210
|
+
const r = te("iframe");
|
|
211
211
|
r.setAttribute(
|
|
212
212
|
"style",
|
|
213
213
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
@@ -223,8 +223,8 @@ function ss(e, t) {
|
|
|
223
223
|
}
|
|
224
224
|
)) : (r.src = "about:blank", r.onload = () => {
|
|
225
225
|
s = kt(r.contentWindow, "resize", t), t();
|
|
226
|
-
}),
|
|
227
|
-
(i || s && r.contentWindow) && s(),
|
|
226
|
+
}), $(e, r), () => {
|
|
227
|
+
(i || s && r.contentWindow) && s(), be(r);
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
function os(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
@@ -255,15 +255,15 @@ function cr(e, t, n, r, i, s, a, l = 0) {
|
|
|
255
255
|
let u = `{
|
|
256
256
|
`;
|
|
257
257
|
for (let M = 0; M <= 1; M += c) {
|
|
258
|
-
const
|
|
259
|
-
u += M * 100 + `%{${a(
|
|
258
|
+
const W = t + (n - t) * s(M);
|
|
259
|
+
u += M * 100 + `%{${a(W, 1 - W)}}
|
|
260
260
|
`;
|
|
261
261
|
}
|
|
262
262
|
const h = u + `100% {${a(n, 1 - n)}}
|
|
263
|
-
}`,
|
|
264
|
-
|
|
263
|
+
}`, g = `__svelte_${ls(h)}_${l}`, T = Rn(e), { stylesheet: C, rules: y } = Gt.get(T) || us(T, e);
|
|
264
|
+
y[g] || (y[g] = !0, C.insertRule(`@keyframes ${g} ${h}`, C.cssRules.length));
|
|
265
265
|
const m = e.style.animation || "";
|
|
266
|
-
return e.style.animation = `${m ? `${m}, ` : ""}${
|
|
266
|
+
return e.style.animation = `${m ? `${m}, ` : ""}${g} ${r}ms linear ${i}ms 1 both`, Ft += 1, g;
|
|
267
267
|
}
|
|
268
268
|
function cs(e, t) {
|
|
269
269
|
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
@@ -276,7 +276,7 @@ function hs() {
|
|
|
276
276
|
Pn(() => {
|
|
277
277
|
Ft || (Gt.forEach((e) => {
|
|
278
278
|
const { ownerNode: t } = e.stylesheet;
|
|
279
|
-
t &&
|
|
279
|
+
t && be(t);
|
|
280
280
|
}), Gt.clear());
|
|
281
281
|
});
|
|
282
282
|
}
|
|
@@ -299,14 +299,14 @@ let Xe = [];
|
|
|
299
299
|
const hr = [], ps = /* @__PURE__ */ Promise.resolve();
|
|
300
300
|
let xn = !1;
|
|
301
301
|
function ds() {
|
|
302
|
-
xn || (xn = !0, ps.then(
|
|
302
|
+
xn || (xn = !0, ps.then(me));
|
|
303
303
|
}
|
|
304
304
|
function Je(e) {
|
|
305
305
|
Xe.push(e);
|
|
306
306
|
}
|
|
307
307
|
const an = /* @__PURE__ */ new Set();
|
|
308
308
|
let je = 0;
|
|
309
|
-
function
|
|
309
|
+
function me() {
|
|
310
310
|
if (je !== 0)
|
|
311
311
|
return;
|
|
312
312
|
const e = dt;
|
|
@@ -351,25 +351,25 @@ function ln(e, t, n) {
|
|
|
351
351
|
e.dispatchEvent(os(`${t ? "intro" : "outro"}${n}`));
|
|
352
352
|
}
|
|
353
353
|
const Lt = /* @__PURE__ */ new Set();
|
|
354
|
-
let
|
|
354
|
+
let Me;
|
|
355
355
|
function ti() {
|
|
356
|
-
|
|
356
|
+
Me = {
|
|
357
357
|
r: 0,
|
|
358
358
|
c: [],
|
|
359
|
-
p:
|
|
359
|
+
p: Me
|
|
360
360
|
// parent group
|
|
361
361
|
};
|
|
362
362
|
}
|
|
363
363
|
function ni() {
|
|
364
|
-
|
|
364
|
+
Me.r || Re(Me.c), Me = Me.p;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function Ae(e, t) {
|
|
367
367
|
e && e.i && (Lt.delete(e), e.i(t));
|
|
368
368
|
}
|
|
369
369
|
function Ne(e, t, n, r) {
|
|
370
370
|
if (e && e.o) {
|
|
371
371
|
if (Lt.has(e)) return;
|
|
372
|
-
Lt.add(e),
|
|
372
|
+
Lt.add(e), Me.c.push(() => {
|
|
373
373
|
Lt.delete(e), r && (n && e.d(1), r());
|
|
374
374
|
}), e.o(t);
|
|
375
375
|
} else r && r();
|
|
@@ -377,64 +377,64 @@ function Ne(e, t, n, r) {
|
|
|
377
377
|
const ys = { duration: 0 };
|
|
378
378
|
function fr(e, t, n, r) {
|
|
379
379
|
let s = t(e, n, { direction: "both" }), a = r ? 0 : 1, l = null, c = null, u = null, h;
|
|
380
|
-
function
|
|
380
|
+
function g() {
|
|
381
381
|
u && cs(e, u);
|
|
382
382
|
}
|
|
383
|
-
function T(
|
|
383
|
+
function T(y, m) {
|
|
384
384
|
const M = (
|
|
385
385
|
/** @type {Program['d']} */
|
|
386
|
-
|
|
386
|
+
y.b - a
|
|
387
387
|
);
|
|
388
388
|
return m *= Math.abs(M), {
|
|
389
389
|
a,
|
|
390
|
-
b:
|
|
390
|
+
b: y.b,
|
|
391
391
|
d: M,
|
|
392
392
|
duration: m,
|
|
393
|
-
start:
|
|
394
|
-
end:
|
|
395
|
-
group:
|
|
393
|
+
start: y.start,
|
|
394
|
+
end: y.start + m,
|
|
395
|
+
group: y.group
|
|
396
396
|
};
|
|
397
397
|
}
|
|
398
|
-
function C(
|
|
398
|
+
function C(y) {
|
|
399
399
|
const {
|
|
400
400
|
delay: m = 0,
|
|
401
401
|
duration: M = 300,
|
|
402
|
-
easing:
|
|
403
|
-
tick:
|
|
402
|
+
easing: W = Zr,
|
|
403
|
+
tick: P = pe,
|
|
404
404
|
css: A
|
|
405
|
-
} = s || ys,
|
|
405
|
+
} = s || ys, R = {
|
|
406
406
|
start: $i() + m,
|
|
407
|
-
b:
|
|
407
|
+
b: y
|
|
408
408
|
};
|
|
409
|
-
|
|
410
|
-
e.inert, e.inert = !0)), l || c ? c =
|
|
411
|
-
if (c &&
|
|
409
|
+
y || (R.group = Me, Me.r += 1), "inert" in e && (y ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
410
|
+
e.inert, e.inert = !0)), l || c ? c = R : (A && (g(), u = cr(e, a, y, M, m, W, A)), y && P(0, 1), l = T(R, M), Je(() => ln(e, y, "start")), es((I) => {
|
|
411
|
+
if (c && I > c.start && (l = T(c, M), c = null, ln(e, l.b, "start"), A && (g(), u = cr(
|
|
412
412
|
e,
|
|
413
413
|
a,
|
|
414
414
|
l.b,
|
|
415
415
|
l.duration,
|
|
416
416
|
0,
|
|
417
|
-
|
|
417
|
+
W,
|
|
418
418
|
s.css
|
|
419
419
|
))), l) {
|
|
420
|
-
if (
|
|
421
|
-
|
|
422
|
-
else if (
|
|
423
|
-
const
|
|
424
|
-
a = l.a + l.d * j
|
|
420
|
+
if (I >= l.end)
|
|
421
|
+
P(a = l.b, 1 - a), ln(e, l.b, "end"), c || (l.b ? g() : --l.group.r || Re(l.group.c)), l = null;
|
|
422
|
+
else if (I >= l.start) {
|
|
423
|
+
const j = I - l.start;
|
|
424
|
+
a = l.a + l.d * W(j / l.duration), P(a, 1 - a);
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
return !!(l || c);
|
|
428
428
|
}));
|
|
429
429
|
}
|
|
430
430
|
return {
|
|
431
|
-
run(
|
|
431
|
+
run(y) {
|
|
432
432
|
Vt(s) ? Es().then(() => {
|
|
433
|
-
s = s({ direction:
|
|
434
|
-
}) : C(
|
|
433
|
+
s = s({ direction: y ? "in" : "out" }), C(y);
|
|
434
|
+
}) : C(y);
|
|
435
435
|
},
|
|
436
436
|
end() {
|
|
437
|
-
|
|
437
|
+
g(), l = c = null;
|
|
438
438
|
}
|
|
439
439
|
};
|
|
440
440
|
}
|
|
@@ -460,7 +460,7 @@ function Ss(e, t, n, r, i, s, a = null, l = [-1]) {
|
|
|
460
460
|
ctx: [],
|
|
461
461
|
// state
|
|
462
462
|
props: s,
|
|
463
|
-
update:
|
|
463
|
+
update: pe,
|
|
464
464
|
not_equal: i,
|
|
465
465
|
bound: lr(),
|
|
466
466
|
// lifecycle
|
|
@@ -478,16 +478,16 @@ function Ss(e, t, n, r, i, s, a = null, l = [-1]) {
|
|
|
478
478
|
};
|
|
479
479
|
a && a(u.root);
|
|
480
480
|
let h = !1;
|
|
481
|
-
if (u.ctx = n ? n(e, t.props || {}, (
|
|
482
|
-
const
|
|
483
|
-
return u.ctx && i(u.ctx[
|
|
481
|
+
if (u.ctx = n ? n(e, t.props || {}, (g, T, ...C) => {
|
|
482
|
+
const y = C.length ? C[0] : T;
|
|
483
|
+
return u.ctx && i(u.ctx[g], u.ctx[g] = y) && (!u.skip_bound && u.bound[g] && u.bound[g](y), h && vs(e, g)), T;
|
|
484
484
|
}) : [], u.update(), h = !0, Re(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
485
485
|
if (t.hydrate) {
|
|
486
|
-
const
|
|
487
|
-
u.fragment && u.fragment.l(
|
|
486
|
+
const g = rs(t.target);
|
|
487
|
+
u.fragment && u.fragment.l(g), g.forEach(be);
|
|
488
488
|
} else
|
|
489
489
|
u.fragment && u.fragment.c();
|
|
490
|
-
t.intro &&
|
|
490
|
+
t.intro && Ae(e.$$.fragment), Ts(e, t.target, t.anchor), me();
|
|
491
491
|
}
|
|
492
492
|
pt(c);
|
|
493
493
|
}
|
|
@@ -496,23 +496,23 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
496
496
|
constructor(t, n, r) {
|
|
497
497
|
super();
|
|
498
498
|
/** The Svelte component constructor */
|
|
499
|
-
|
|
499
|
+
ye(this, "$$ctor");
|
|
500
500
|
/** Slots */
|
|
501
|
-
|
|
501
|
+
ye(this, "$$s");
|
|
502
502
|
/** The Svelte component instance */
|
|
503
|
-
|
|
503
|
+
ye(this, "$$c");
|
|
504
504
|
/** Whether or not the custom element is connected */
|
|
505
|
-
|
|
505
|
+
ye(this, "$$cn", !1);
|
|
506
506
|
/** Component props data */
|
|
507
|
-
|
|
507
|
+
ye(this, "$$d", {});
|
|
508
508
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
509
|
-
|
|
509
|
+
ye(this, "$$r", !1);
|
|
510
510
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
511
|
-
|
|
511
|
+
ye(this, "$$p_d", {});
|
|
512
512
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
513
|
-
|
|
513
|
+
ye(this, "$$l", {});
|
|
514
514
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
515
|
-
|
|
515
|
+
ye(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
516
516
|
this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
|
|
517
517
|
}
|
|
518
518
|
addEventListener(t, n, r) {
|
|
@@ -536,17 +536,17 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
536
536
|
let a;
|
|
537
537
|
return {
|
|
538
538
|
c: function() {
|
|
539
|
-
a =
|
|
539
|
+
a = te("slot"), s !== "default" && G(a, "name", s);
|
|
540
540
|
},
|
|
541
541
|
/**
|
|
542
542
|
* @param {HTMLElement} target
|
|
543
543
|
* @param {HTMLElement} [anchor]
|
|
544
544
|
*/
|
|
545
545
|
m: function(u, h) {
|
|
546
|
-
|
|
546
|
+
_e(u, a, h);
|
|
547
547
|
},
|
|
548
548
|
d: function(u) {
|
|
549
|
-
u &&
|
|
549
|
+
u && be(a);
|
|
550
550
|
}
|
|
551
551
|
};
|
|
552
552
|
};
|
|
@@ -682,7 +682,7 @@ class As {
|
|
|
682
682
|
*
|
|
683
683
|
* @type {any}
|
|
684
684
|
*/
|
|
685
|
-
|
|
685
|
+
ye(this, "$$");
|
|
686
686
|
/**
|
|
687
687
|
* ### PRIVATE API
|
|
688
688
|
*
|
|
@@ -690,11 +690,11 @@ class As {
|
|
|
690
690
|
*
|
|
691
691
|
* @type {any}
|
|
692
692
|
*/
|
|
693
|
-
|
|
693
|
+
ye(this, "$$set");
|
|
694
694
|
}
|
|
695
695
|
/** @returns {void} */
|
|
696
696
|
$destroy() {
|
|
697
|
-
xs(this, 1), this.$destroy =
|
|
697
|
+
xs(this, 1), this.$destroy = pe;
|
|
698
698
|
}
|
|
699
699
|
/**
|
|
700
700
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -704,7 +704,7 @@ class As {
|
|
|
704
704
|
*/
|
|
705
705
|
$on(t, n) {
|
|
706
706
|
if (!Vt(n))
|
|
707
|
-
return
|
|
707
|
+
return pe;
|
|
708
708
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
709
709
|
return r.push(n), () => {
|
|
710
710
|
const i = r.indexOf(n);
|
|
@@ -736,7 +736,7 @@ function Os(e, t) {
|
|
|
736
736
|
subscribe: Jt(e, t).subscribe
|
|
737
737
|
};
|
|
738
738
|
}
|
|
739
|
-
function Jt(e, t =
|
|
739
|
+
function Jt(e, t = pe) {
|
|
740
740
|
let n;
|
|
741
741
|
const r = /* @__PURE__ */ new Set();
|
|
742
742
|
function i(l) {
|
|
@@ -754,9 +754,9 @@ function Jt(e, t = he) {
|
|
|
754
754
|
function s(l) {
|
|
755
755
|
i(l(e));
|
|
756
756
|
}
|
|
757
|
-
function a(l, c =
|
|
757
|
+
function a(l, c = pe) {
|
|
758
758
|
const u = [l, c];
|
|
759
|
-
return r.add(u), r.size === 1 && (n = t(i, s) ||
|
|
759
|
+
return r.add(u), r.size === 1 && (n = t(i, s) || pe), l(e), () => {
|
|
760
760
|
r.delete(u), r.size === 0 && n && (n(), n = null);
|
|
761
761
|
};
|
|
762
762
|
}
|
|
@@ -770,16 +770,16 @@ function et(e, t, n) {
|
|
|
770
770
|
return Os(n, (a, l) => {
|
|
771
771
|
let c = !1;
|
|
772
772
|
const u = [];
|
|
773
|
-
let h = 0,
|
|
773
|
+
let h = 0, g = pe;
|
|
774
774
|
const T = () => {
|
|
775
775
|
if (h)
|
|
776
776
|
return;
|
|
777
|
-
|
|
778
|
-
const
|
|
779
|
-
s ? a(
|
|
777
|
+
g();
|
|
778
|
+
const y = t(r ? u[0] : u, a, l);
|
|
779
|
+
s ? a(y) : g = Vt(y) ? y : pe;
|
|
780
780
|
}, C = i.map(
|
|
781
|
-
(
|
|
782
|
-
|
|
781
|
+
(y, m) => Jr(
|
|
782
|
+
y,
|
|
783
783
|
(M) => {
|
|
784
784
|
u[m] = M, h &= ~(1 << m), c && T();
|
|
785
785
|
},
|
|
@@ -789,7 +789,7 @@ function et(e, t, n) {
|
|
|
789
789
|
)
|
|
790
790
|
);
|
|
791
791
|
return c = !0, T(), function() {
|
|
792
|
-
Re(C),
|
|
792
|
+
Re(C), g(), c = !1;
|
|
793
793
|
};
|
|
794
794
|
});
|
|
795
795
|
}
|
|
@@ -884,14 +884,14 @@ function Yt(e, t) {
|
|
|
884
884
|
}
|
|
885
885
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
886
886
|
}
|
|
887
|
-
var
|
|
888
|
-
return
|
|
887
|
+
var z = function() {
|
|
888
|
+
return z = Object.assign || function(t) {
|
|
889
889
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
890
890
|
n = arguments[r];
|
|
891
891
|
for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
892
892
|
}
|
|
893
893
|
return t;
|
|
894
|
-
},
|
|
894
|
+
}, z.apply(this, arguments);
|
|
895
895
|
};
|
|
896
896
|
function js(e, t) {
|
|
897
897
|
var n = {};
|
|
@@ -958,40 +958,40 @@ var Js = function() {
|
|
|
958
958
|
(function(e) {
|
|
959
959
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
960
960
|
})(U || (U = {}));
|
|
961
|
-
var
|
|
961
|
+
var J;
|
|
962
962
|
(function(e) {
|
|
963
963
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
964
|
-
})(
|
|
964
|
+
})(J || (J = {}));
|
|
965
965
|
var qe;
|
|
966
966
|
(function(e) {
|
|
967
967
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
968
968
|
})(qe || (qe = {}));
|
|
969
969
|
function dr(e) {
|
|
970
|
-
return e.type ===
|
|
970
|
+
return e.type === J.literal;
|
|
971
971
|
}
|
|
972
972
|
function Qs(e) {
|
|
973
|
-
return e.type ===
|
|
973
|
+
return e.type === J.argument;
|
|
974
974
|
}
|
|
975
975
|
function li(e) {
|
|
976
|
-
return e.type ===
|
|
976
|
+
return e.type === J.number;
|
|
977
977
|
}
|
|
978
978
|
function ui(e) {
|
|
979
|
-
return e.type ===
|
|
979
|
+
return e.type === J.date;
|
|
980
980
|
}
|
|
981
981
|
function ci(e) {
|
|
982
|
-
return e.type ===
|
|
982
|
+
return e.type === J.time;
|
|
983
983
|
}
|
|
984
984
|
function hi(e) {
|
|
985
|
-
return e.type ===
|
|
985
|
+
return e.type === J.select;
|
|
986
986
|
}
|
|
987
987
|
function fi(e) {
|
|
988
|
-
return e.type ===
|
|
988
|
+
return e.type === J.plural;
|
|
989
989
|
}
|
|
990
990
|
function Ks(e) {
|
|
991
|
-
return e.type ===
|
|
991
|
+
return e.type === J.pound;
|
|
992
992
|
}
|
|
993
993
|
function mi(e) {
|
|
994
|
-
return e.type ===
|
|
994
|
+
return e.type === J.tag;
|
|
995
995
|
}
|
|
996
996
|
function pi(e) {
|
|
997
997
|
return !!(e && typeof e == "object" && e.type === qe.number);
|
|
@@ -1102,8 +1102,8 @@ function no(e) {
|
|
|
1102
1102
|
if (a.length === 0)
|
|
1103
1103
|
throw new Error("Invalid number skeleton");
|
|
1104
1104
|
for (var l = a[0], c = a.slice(1), u = 0, h = c; u < h.length; u++) {
|
|
1105
|
-
var
|
|
1106
|
-
if (
|
|
1105
|
+
var g = h[u];
|
|
1106
|
+
if (g.length === 0)
|
|
1107
1107
|
throw new Error("Invalid number skeleton");
|
|
1108
1108
|
}
|
|
1109
1109
|
n.push({ stem: l, options: c });
|
|
@@ -1213,13 +1213,13 @@ function oo(e) {
|
|
|
1213
1213
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1214
1214
|
continue;
|
|
1215
1215
|
case "scientific":
|
|
1216
|
-
t =
|
|
1217
|
-
return
|
|
1216
|
+
t = z(z(z({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
|
|
1217
|
+
return z(z({}, c), Er(u));
|
|
1218
1218
|
}, {}));
|
|
1219
1219
|
continue;
|
|
1220
1220
|
case "engineering":
|
|
1221
|
-
t =
|
|
1222
|
-
return
|
|
1221
|
+
t = z(z(z({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
|
|
1222
|
+
return z(z({}, c), Er(u));
|
|
1223
1223
|
}, {}));
|
|
1224
1224
|
continue;
|
|
1225
1225
|
case "notation-simple":
|
|
@@ -1264,11 +1264,11 @@ function oo(e) {
|
|
|
1264
1264
|
case "integer-width":
|
|
1265
1265
|
if (i.options.length > 1)
|
|
1266
1266
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1267
|
-
i.options[0].replace(io, function(c, u, h,
|
|
1267
|
+
i.options[0].replace(io, function(c, u, h, g, T, C) {
|
|
1268
1268
|
if (u)
|
|
1269
1269
|
t.minimumIntegerDigits = h.length;
|
|
1270
1270
|
else {
|
|
1271
|
-
if (
|
|
1271
|
+
if (g && T)
|
|
1272
1272
|
throw new Error("We currently do not support maximum integer digits");
|
|
1273
1273
|
if (C)
|
|
1274
1274
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1284,21 +1284,21 @@ function oo(e) {
|
|
|
1284
1284
|
if (gr.test(i.stem)) {
|
|
1285
1285
|
if (i.options.length > 1)
|
|
1286
1286
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1287
|
-
i.stem.replace(gr, function(c, u, h,
|
|
1288
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1287
|
+
i.stem.replace(gr, function(c, u, h, g, T, C) {
|
|
1288
|
+
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), "";
|
|
1289
1289
|
});
|
|
1290
1290
|
var s = i.options[0];
|
|
1291
|
-
s === "w" ? t =
|
|
1291
|
+
s === "w" ? t = z(z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = z(z({}, t), br(s)));
|
|
1292
1292
|
continue;
|
|
1293
1293
|
}
|
|
1294
1294
|
if (gi.test(i.stem)) {
|
|
1295
|
-
t =
|
|
1295
|
+
t = z(z({}, t), br(i.stem));
|
|
1296
1296
|
continue;
|
|
1297
1297
|
}
|
|
1298
1298
|
var a = Ei(i.stem);
|
|
1299
|
-
a && (t =
|
|
1299
|
+
a && (t = z(z({}, t), a));
|
|
1300
1300
|
var l = so(i.stem);
|
|
1301
|
-
l && (t =
|
|
1301
|
+
l && (t = z(z({}, t), l));
|
|
1302
1302
|
}
|
|
1303
1303
|
return t;
|
|
1304
1304
|
}
|
|
@@ -2882,7 +2882,7 @@ var So = (
|
|
|
2882
2882
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2883
2883
|
var l = this.clonePosition();
|
|
2884
2884
|
this.bump(), i.push({
|
|
2885
|
-
type:
|
|
2885
|
+
type: J.pound,
|
|
2886
2886
|
location: k(l, this.clonePosition())
|
|
2887
2887
|
});
|
|
2888
2888
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2910,7 +2910,7 @@ var So = (
|
|
|
2910
2910
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2911
2911
|
return {
|
|
2912
2912
|
val: {
|
|
2913
|
-
type:
|
|
2913
|
+
type: J.literal,
|
|
2914
2914
|
value: "<".concat(i, "/>"),
|
|
2915
2915
|
location: k(r, this.clonePosition())
|
|
2916
2916
|
},
|
|
@@ -2927,7 +2927,7 @@ var So = (
|
|
|
2927
2927
|
var c = this.clonePosition(), u = this.parseTagName();
|
|
2928
2928
|
return i !== u ? this.error(U.UNMATCHED_CLOSING_TAG, k(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2929
2929
|
val: {
|
|
2930
|
-
type:
|
|
2930
|
+
type: J.tag,
|
|
2931
2931
|
value: i,
|
|
2932
2932
|
children: a,
|
|
2933
2933
|
location: k(r, this.clonePosition())
|
|
@@ -2964,7 +2964,7 @@ var So = (
|
|
|
2964
2964
|
}
|
|
2965
2965
|
var c = k(r, this.clonePosition());
|
|
2966
2966
|
return {
|
|
2967
|
-
val: { type:
|
|
2967
|
+
val: { type: J.literal, value: i, location: c },
|
|
2968
2968
|
err: null
|
|
2969
2969
|
};
|
|
2970
2970
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3024,7 +3024,7 @@ var So = (
|
|
|
3024
3024
|
case 125:
|
|
3025
3025
|
return this.bump(), {
|
|
3026
3026
|
val: {
|
|
3027
|
-
type:
|
|
3027
|
+
type: J.argument,
|
|
3028
3028
|
// value does not include the opening and closing braces.
|
|
3029
3029
|
value: i,
|
|
3030
3030
|
location: k(r, this.clonePosition())
|
|
@@ -3053,47 +3053,47 @@ var So = (
|
|
|
3053
3053
|
var u = null;
|
|
3054
3054
|
if (this.bumpIf(",")) {
|
|
3055
3055
|
this.bumpSpace();
|
|
3056
|
-
var h = this.clonePosition(),
|
|
3057
|
-
if (
|
|
3058
|
-
return
|
|
3059
|
-
var T = vo(
|
|
3056
|
+
var h = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
|
|
3057
|
+
if (g.err)
|
|
3058
|
+
return g;
|
|
3059
|
+
var T = vo(g.val);
|
|
3060
3060
|
if (T.length === 0)
|
|
3061
3061
|
return this.error(U.EXPECT_ARGUMENT_STYLE, k(this.clonePosition(), this.clonePosition()));
|
|
3062
3062
|
var C = k(h, this.clonePosition());
|
|
3063
3063
|
u = { style: T, styleLocation: C };
|
|
3064
3064
|
}
|
|
3065
|
-
var
|
|
3066
|
-
if (
|
|
3067
|
-
return
|
|
3065
|
+
var y = this.tryParseArgumentClose(i);
|
|
3066
|
+
if (y.err)
|
|
3067
|
+
return y;
|
|
3068
3068
|
var m = k(i, this.clonePosition());
|
|
3069
3069
|
if (u && yr(u == null ? void 0 : u.style, "::", 0)) {
|
|
3070
3070
|
var M = xo(u.style.slice(2));
|
|
3071
3071
|
if (l === "number") {
|
|
3072
|
-
var
|
|
3073
|
-
return
|
|
3074
|
-
val: { type:
|
|
3072
|
+
var g = this.parseNumberSkeletonFromString(M, u.styleLocation);
|
|
3073
|
+
return g.err ? g : {
|
|
3074
|
+
val: { type: J.number, value: r, location: m, style: g.val },
|
|
3075
3075
|
err: null
|
|
3076
3076
|
};
|
|
3077
3077
|
} else {
|
|
3078
3078
|
if (M.length === 0)
|
|
3079
3079
|
return this.error(U.EXPECT_DATE_TIME_SKELETON, m);
|
|
3080
|
-
var
|
|
3081
|
-
this.locale && (
|
|
3080
|
+
var W = M;
|
|
3081
|
+
this.locale && (W = ao(M, this.locale));
|
|
3082
3082
|
var T = {
|
|
3083
3083
|
type: qe.dateTime,
|
|
3084
|
-
pattern:
|
|
3084
|
+
pattern: W,
|
|
3085
3085
|
location: u.styleLocation,
|
|
3086
|
-
parsedOptions: this.shouldParseSkeletons ? eo(
|
|
3087
|
-
},
|
|
3086
|
+
parsedOptions: this.shouldParseSkeletons ? eo(W) : {}
|
|
3087
|
+
}, P = l === "date" ? J.date : J.time;
|
|
3088
3088
|
return {
|
|
3089
|
-
val: { type:
|
|
3089
|
+
val: { type: P, value: r, location: m, style: T },
|
|
3090
3090
|
err: null
|
|
3091
3091
|
};
|
|
3092
3092
|
}
|
|
3093
3093
|
}
|
|
3094
3094
|
return {
|
|
3095
3095
|
val: {
|
|
3096
|
-
type: l === "number" ?
|
|
3096
|
+
type: l === "number" ? J.number : l === "date" ? J.date : J.time,
|
|
3097
3097
|
value: r,
|
|
3098
3098
|
location: m,
|
|
3099
3099
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
@@ -3106,41 +3106,41 @@ var So = (
|
|
|
3106
3106
|
case "select": {
|
|
3107
3107
|
var A = this.clonePosition();
|
|
3108
3108
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3109
|
-
return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS, k(A,
|
|
3109
|
+
return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS, k(A, z({}, A)));
|
|
3110
3110
|
this.bumpSpace();
|
|
3111
|
-
var
|
|
3112
|
-
if (l !== "select" &&
|
|
3111
|
+
var R = this.parseIdentifierIfPossible(), I = 0;
|
|
3112
|
+
if (l !== "select" && R.value === "offset") {
|
|
3113
3113
|
if (!this.bumpIf(":"))
|
|
3114
3114
|
return this.error(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k(this.clonePosition(), this.clonePosition()));
|
|
3115
3115
|
this.bumpSpace();
|
|
3116
|
-
var
|
|
3117
|
-
if (
|
|
3118
|
-
return
|
|
3119
|
-
this.bumpSpace(),
|
|
3116
|
+
var g = this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, U.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3117
|
+
if (g.err)
|
|
3118
|
+
return g;
|
|
3119
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), I = g.val;
|
|
3120
3120
|
}
|
|
3121
|
-
var
|
|
3122
|
-
if (
|
|
3123
|
-
return
|
|
3124
|
-
var
|
|
3125
|
-
if (
|
|
3126
|
-
return
|
|
3127
|
-
var
|
|
3121
|
+
var j = this.tryParsePluralOrSelectOptions(t, l, n, R);
|
|
3122
|
+
if (j.err)
|
|
3123
|
+
return j;
|
|
3124
|
+
var y = this.tryParseArgumentClose(i);
|
|
3125
|
+
if (y.err)
|
|
3126
|
+
return y;
|
|
3127
|
+
var Y = k(i, this.clonePosition());
|
|
3128
3128
|
return l === "select" ? {
|
|
3129
3129
|
val: {
|
|
3130
|
-
type:
|
|
3130
|
+
type: J.select,
|
|
3131
3131
|
value: r,
|
|
3132
|
-
options: Tr(
|
|
3133
|
-
location:
|
|
3132
|
+
options: Tr(j.val),
|
|
3133
|
+
location: Y
|
|
3134
3134
|
},
|
|
3135
3135
|
err: null
|
|
3136
3136
|
} : {
|
|
3137
3137
|
val: {
|
|
3138
|
-
type:
|
|
3138
|
+
type: J.plural,
|
|
3139
3139
|
value: r,
|
|
3140
|
-
options: Tr(
|
|
3141
|
-
offset:
|
|
3140
|
+
options: Tr(j.val),
|
|
3141
|
+
offset: I,
|
|
3142
3142
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3143
|
-
location:
|
|
3143
|
+
location: Y
|
|
3144
3144
|
},
|
|
3145
3145
|
err: null
|
|
3146
3146
|
};
|
|
@@ -3204,12 +3204,12 @@ var So = (
|
|
|
3204
3204
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3205
3205
|
for (var s, a = !1, l = [], c = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3206
3206
|
if (u.length === 0) {
|
|
3207
|
-
var
|
|
3207
|
+
var g = this.clonePosition();
|
|
3208
3208
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3209
3209
|
var T = this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_SELECTOR, U.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3210
3210
|
if (T.err)
|
|
3211
3211
|
return T;
|
|
3212
|
-
h = k(
|
|
3212
|
+
h = k(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
|
|
3213
3213
|
} else
|
|
3214
3214
|
break;
|
|
3215
3215
|
}
|
|
@@ -3219,16 +3219,16 @@ var So = (
|
|
|
3219
3219
|
var C = this.clonePosition();
|
|
3220
3220
|
if (!this.bumpIf("{"))
|
|
3221
3221
|
return this.error(n === "select" ? U.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : U.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
|
|
3222
|
-
var
|
|
3223
|
-
if (
|
|
3224
|
-
return
|
|
3222
|
+
var y = this.parseMessage(t + 1, n, r);
|
|
3223
|
+
if (y.err)
|
|
3224
|
+
return y;
|
|
3225
3225
|
var m = this.tryParseArgumentClose(C);
|
|
3226
3226
|
if (m.err)
|
|
3227
3227
|
return m;
|
|
3228
3228
|
l.push([
|
|
3229
3229
|
u,
|
|
3230
3230
|
{
|
|
3231
|
-
value:
|
|
3231
|
+
value: y.val,
|
|
3232
3232
|
location: k(C, this.clonePosition())
|
|
3233
3233
|
}
|
|
3234
3234
|
]), c.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
@@ -3335,7 +3335,7 @@ function Cn(e) {
|
|
|
3335
3335
|
});
|
|
3336
3336
|
}
|
|
3337
3337
|
function Oo(e, t) {
|
|
3338
|
-
t === void 0 && (t = {}), t =
|
|
3338
|
+
t === void 0 && (t = {}), t = z({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3339
3339
|
var n = new So(e, t).parse();
|
|
3340
3340
|
if (n.err) {
|
|
3341
3341
|
var r = SyntaxError(U[n.err.kind]);
|
|
@@ -3386,14 +3386,14 @@ var qt = (
|
|
|
3386
3386
|
}
|
|
3387
3387
|
return t;
|
|
3388
3388
|
}(qt)
|
|
3389
|
-
),
|
|
3389
|
+
), ce;
|
|
3390
3390
|
(function(e) {
|
|
3391
3391
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3392
|
-
})(
|
|
3392
|
+
})(ce || (ce = {}));
|
|
3393
3393
|
function Ho(e) {
|
|
3394
3394
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3395
3395
|
var r = t[t.length - 1];
|
|
3396
|
-
return !r || r.type !==
|
|
3396
|
+
return !r || r.type !== ce.literal || n.type !== ce.literal ? t.push(n) : r.value += n.value, t;
|
|
3397
3397
|
}, []);
|
|
3398
3398
|
}
|
|
3399
3399
|
function No(e) {
|
|
@@ -3403,7 +3403,7 @@ function Dt(e, t, n, r, i, s, a) {
|
|
|
3403
3403
|
if (e.length === 1 && dr(e[0]))
|
|
3404
3404
|
return [
|
|
3405
3405
|
{
|
|
3406
|
-
type:
|
|
3406
|
+
type: ce.literal,
|
|
3407
3407
|
value: e[0].value
|
|
3408
3408
|
}
|
|
3409
3409
|
];
|
|
@@ -3411,25 +3411,25 @@ function Dt(e, t, n, r, i, s, a) {
|
|
|
3411
3411
|
var h = u[c];
|
|
3412
3412
|
if (dr(h)) {
|
|
3413
3413
|
l.push({
|
|
3414
|
-
type:
|
|
3414
|
+
type: ce.literal,
|
|
3415
3415
|
value: h.value
|
|
3416
3416
|
});
|
|
3417
3417
|
continue;
|
|
3418
3418
|
}
|
|
3419
3419
|
if (Ks(h)) {
|
|
3420
3420
|
typeof s == "number" && l.push({
|
|
3421
|
-
type:
|
|
3421
|
+
type: ce.literal,
|
|
3422
3422
|
value: n.getNumberFormat(t).format(s)
|
|
3423
3423
|
});
|
|
3424
3424
|
continue;
|
|
3425
3425
|
}
|
|
3426
|
-
var
|
|
3427
|
-
if (!(i &&
|
|
3428
|
-
throw new Mo(
|
|
3429
|
-
var T = i[
|
|
3426
|
+
var g = h.value;
|
|
3427
|
+
if (!(i && g in i))
|
|
3428
|
+
throw new Mo(g, a);
|
|
3429
|
+
var T = i[g];
|
|
3430
3430
|
if (Qs(h)) {
|
|
3431
3431
|
(!T || typeof T == "string" || typeof T == "number") && (T = typeof T == "string" || typeof T == "number" ? String(T) : ""), l.push({
|
|
3432
|
-
type: typeof T == "string" ?
|
|
3432
|
+
type: typeof T == "string" ? ce.literal : ce.object,
|
|
3433
3433
|
value: T
|
|
3434
3434
|
});
|
|
3435
3435
|
continue;
|
|
@@ -3437,7 +3437,7 @@ function Dt(e, t, n, r, i, s, a) {
|
|
|
3437
3437
|
if (ui(h)) {
|
|
3438
3438
|
var C = typeof h.style == "string" ? r.date[h.style] : Sn(h.style) ? h.style.parsedOptions : void 0;
|
|
3439
3439
|
l.push({
|
|
3440
|
-
type:
|
|
3440
|
+
type: ce.literal,
|
|
3441
3441
|
value: n.getDateTimeFormat(t, C).format(T)
|
|
3442
3442
|
});
|
|
3443
3443
|
continue;
|
|
@@ -3445,7 +3445,7 @@ function Dt(e, t, n, r, i, s, a) {
|
|
|
3445
3445
|
if (ci(h)) {
|
|
3446
3446
|
var C = typeof h.style == "string" ? r.time[h.style] : Sn(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3447
3447
|
l.push({
|
|
3448
|
-
type:
|
|
3448
|
+
type: ce.literal,
|
|
3449
3449
|
value: n.getDateTimeFormat(t, C).format(T)
|
|
3450
3450
|
});
|
|
3451
3451
|
continue;
|
|
@@ -3453,22 +3453,22 @@ function Dt(e, t, n, r, i, s, a) {
|
|
|
3453
3453
|
if (li(h)) {
|
|
3454
3454
|
var C = typeof h.style == "string" ? r.number[h.style] : pi(h.style) ? h.style.parsedOptions : void 0;
|
|
3455
3455
|
C && C.scale && (T = T * (C.scale || 1)), l.push({
|
|
3456
|
-
type:
|
|
3456
|
+
type: ce.literal,
|
|
3457
3457
|
value: n.getNumberFormat(t, C).format(T)
|
|
3458
3458
|
});
|
|
3459
3459
|
continue;
|
|
3460
3460
|
}
|
|
3461
3461
|
if (mi(h)) {
|
|
3462
|
-
var
|
|
3462
|
+
var y = h.children, m = h.value, M = i[m];
|
|
3463
3463
|
if (!No(M))
|
|
3464
3464
|
throw new Co(m, "function", a);
|
|
3465
|
-
var
|
|
3466
|
-
return
|
|
3465
|
+
var W = Dt(y, t, n, r, i, s), P = M(W.map(function(I) {
|
|
3466
|
+
return I.value;
|
|
3467
3467
|
}));
|
|
3468
|
-
Array.isArray(
|
|
3468
|
+
Array.isArray(P) || (P = [P]), l.push.apply(l, P.map(function(I) {
|
|
3469
3469
|
return {
|
|
3470
|
-
type: typeof
|
|
3471
|
-
value:
|
|
3470
|
+
type: typeof I == "string" ? ce.literal : ce.object,
|
|
3471
|
+
value: I
|
|
3472
3472
|
};
|
|
3473
3473
|
}));
|
|
3474
3474
|
}
|
|
@@ -3486,8 +3486,8 @@ function Dt(e, t, n, r, i, s, a) {
|
|
|
3486
3486
|
throw new qt(`Intl.PluralRules is not available in this environment.
|
|
3487
3487
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3488
3488
|
`, Qe.MISSING_INTL_API, a);
|
|
3489
|
-
var
|
|
3490
|
-
A = h.options[
|
|
3489
|
+
var R = n.getPluralRules(t, { type: h.pluralType }).select(T - (h.offset || 0));
|
|
3490
|
+
A = h.options[R] || h.options.other;
|
|
3491
3491
|
}
|
|
3492
3492
|
if (!A)
|
|
3493
3493
|
throw new vr(h.value, T, Object.keys(h.options), a);
|
|
@@ -3498,14 +3498,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3498
3498
|
return Ho(l);
|
|
3499
3499
|
}
|
|
3500
3500
|
function Po(e, t) {
|
|
3501
|
-
return t ?
|
|
3502
|
-
return n[r] =
|
|
3501
|
+
return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3502
|
+
return n[r] = z(z({}, e[r]), t[r] || {}), n;
|
|
3503
3503
|
}, {})) : e;
|
|
3504
3504
|
}
|
|
3505
3505
|
function Ro(e, t) {
|
|
3506
3506
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3507
3507
|
return n[r] = Po(e[r], t[r]), n;
|
|
3508
|
-
},
|
|
3508
|
+
}, z({}, e)) : e;
|
|
3509
3509
|
}
|
|
3510
3510
|
function mn(e) {
|
|
3511
3511
|
return {
|
|
@@ -3567,8 +3567,8 @@ var vi = (
|
|
|
3567
3567
|
var u = s.formatToParts(c);
|
|
3568
3568
|
if (u.length === 1)
|
|
3569
3569
|
return u[0].value;
|
|
3570
|
-
var h = u.reduce(function(
|
|
3571
|
-
return !
|
|
3570
|
+
var h = u.reduce(function(g, T) {
|
|
3571
|
+
return !g.length || T.type !== ce.literal || typeof g[g.length - 1] != "string" ? g.push(T.value) : g[g.length - 1] += T.value, g;
|
|
3572
3572
|
}, []);
|
|
3573
3573
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3574
3574
|
}, this.formatToParts = function(c) {
|
|
@@ -3586,7 +3586,7 @@ var vi = (
|
|
|
3586
3586
|
var a = i || {};
|
|
3587
3587
|
a.formatters;
|
|
3588
3588
|
var l = js(a, ["formatters"]);
|
|
3589
|
-
this.ast = e.__parse(t,
|
|
3589
|
+
this.ast = e.__parse(t, z(z({}, l), { locale: this.resolvedLocale }));
|
|
3590
3590
|
} else
|
|
3591
3591
|
this.ast = t;
|
|
3592
3592
|
if (!Array.isArray(this.ast))
|
|
@@ -3984,16 +3984,16 @@ const bt = (e, t) => {
|
|
|
3984
3984
|
), h;
|
|
3985
3985
|
if (!l)
|
|
3986
3986
|
return h;
|
|
3987
|
-
let
|
|
3987
|
+
let g = h;
|
|
3988
3988
|
try {
|
|
3989
|
-
|
|
3989
|
+
g = ha(h, c).format(l);
|
|
3990
3990
|
} catch (T) {
|
|
3991
3991
|
T instanceof Error && console.warn(
|
|
3992
3992
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3993
3993
|
T.message
|
|
3994
3994
|
);
|
|
3995
3995
|
}
|
|
3996
|
-
return
|
|
3996
|
+
return g;
|
|
3997
3997
|
}, ma = (e, t) => ca(t).format(e), pa = (e, t) => ua(t).format(e), da = (e, t) => la(t).format(e), ga = (e, t = Le()) => Si(e, t), ba = et([Be, Et], () => fa);
|
|
3998
3998
|
et([Be], () => ma);
|
|
3999
3999
|
et([Be], () => pa);
|
|
@@ -4039,17 +4039,17 @@ const {
|
|
|
4039
4039
|
getOwnPropertyDescriptor: xa
|
|
4040
4040
|
} = Object;
|
|
4041
4041
|
let {
|
|
4042
|
-
freeze:
|
|
4043
|
-
seal:
|
|
4042
|
+
freeze: he,
|
|
4043
|
+
seal: Te,
|
|
4044
4044
|
create: Ni
|
|
4045
4045
|
} = Object, {
|
|
4046
4046
|
apply: Hn,
|
|
4047
4047
|
construct: Nn
|
|
4048
4048
|
} = typeof Reflect != "undefined" && Reflect;
|
|
4049
|
-
|
|
4049
|
+
he || (he = function(t) {
|
|
4050
4050
|
return t;
|
|
4051
4051
|
});
|
|
4052
|
-
|
|
4052
|
+
Te || (Te = function(t) {
|
|
4053
4053
|
return t;
|
|
4054
4054
|
});
|
|
4055
4055
|
Hn || (Hn = function(t, n, r) {
|
|
@@ -4058,8 +4058,8 @@ Hn || (Hn = function(t, n, r) {
|
|
|
4058
4058
|
Nn || (Nn = function(t, n) {
|
|
4059
4059
|
return new t(...n);
|
|
4060
4060
|
});
|
|
4061
|
-
const Ct =
|
|
4062
|
-
function
|
|
4061
|
+
const Ct = ge(Array.prototype.forEach), Nr = ge(Array.prototype.pop), at = ge(Array.prototype.push), Ut = ge(String.prototype.toLowerCase), dn = ge(String.prototype.toString), Pr = ge(String.prototype.match), lt = ge(String.prototype.replace), va = ge(String.prototype.indexOf), Sa = ge(String.prototype.trim), ve = ge(Object.prototype.hasOwnProperty), ue = ge(RegExp.prototype.test), ut = wa(TypeError);
|
|
4062
|
+
function ge(e) {
|
|
4063
4063
|
return function(t) {
|
|
4064
4064
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
4065
4065
|
r[i - 1] = arguments[i];
|
|
@@ -4073,7 +4073,7 @@ function wa(e) {
|
|
|
4073
4073
|
return Nn(e, n);
|
|
4074
4074
|
};
|
|
4075
4075
|
}
|
|
4076
|
-
function
|
|
4076
|
+
function D(e, t) {
|
|
4077
4077
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ut;
|
|
4078
4078
|
Hr && Hr(e, null);
|
|
4079
4079
|
let r = t.length;
|
|
@@ -4089,13 +4089,13 @@ function B(e, t) {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
function Aa(e) {
|
|
4091
4091
|
for (let t = 0; t < e.length; t++)
|
|
4092
|
-
|
|
4092
|
+
ve(e, t) || (e[t] = null);
|
|
4093
4093
|
return e;
|
|
4094
4094
|
}
|
|
4095
4095
|
function De(e) {
|
|
4096
4096
|
const t = Ni(null);
|
|
4097
4097
|
for (const [n, r] of Hi(e))
|
|
4098
|
-
|
|
4098
|
+
ve(e, n) && (Array.isArray(r) ? t[n] = Aa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = De(r) : t[n] = r);
|
|
4099
4099
|
return t;
|
|
4100
4100
|
}
|
|
4101
4101
|
function ct(e, t) {
|
|
@@ -4103,9 +4103,9 @@ function ct(e, t) {
|
|
|
4103
4103
|
const r = xa(e, t);
|
|
4104
4104
|
if (r) {
|
|
4105
4105
|
if (r.get)
|
|
4106
|
-
return
|
|
4106
|
+
return ge(r.get);
|
|
4107
4107
|
if (typeof r.value == "function")
|
|
4108
|
-
return
|
|
4108
|
+
return ge(r.value);
|
|
4109
4109
|
}
|
|
4110
4110
|
e = Ta(e);
|
|
4111
4111
|
}
|
|
@@ -4114,13 +4114,13 @@ function ct(e, t) {
|
|
|
4114
4114
|
}
|
|
4115
4115
|
return n;
|
|
4116
4116
|
}
|
|
4117
|
-
const Rr =
|
|
4117
|
+
const Rr = he(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), gn = he(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), bn = he(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), _a = he(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), En = he(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Oa = he(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Lr = he(["#text"]), Ir = he(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), yn = he(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Dr = he(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Mt = he(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ca = Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ma = Te(/<%[\w\W]*|[\w\W]*%>/gm), Ha = Te(/\${[\w\W]*}/gm), Na = Te(/^data-[\-\w.\u00B7-\uFFFF]/), Pa = Te(/^aria-[\-\w]+$/), Pi = Te(
|
|
4118
4118
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4119
4119
|
// eslint-disable-line no-useless-escape
|
|
4120
|
-
), Ra =
|
|
4120
|
+
), Ra = Te(/^(?:\w+script|data):/i), La = Te(
|
|
4121
4121
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
4122
4122
|
// eslint-disable-line no-control-regex
|
|
4123
|
-
), Ri =
|
|
4123
|
+
), Ri = Te(/^html$/i), Ia = Te(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
4124
4124
|
var Br = /* @__PURE__ */ Object.freeze({
|
|
4125
4125
|
__proto__: null,
|
|
4126
4126
|
MUSTACHE_EXPR: Ca,
|
|
@@ -4178,42 +4178,42 @@ function Li() {
|
|
|
4178
4178
|
Element: c,
|
|
4179
4179
|
NodeFilter: u,
|
|
4180
4180
|
NamedNodeMap: h = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
4181
|
-
HTMLFormElement:
|
|
4181
|
+
HTMLFormElement: g,
|
|
4182
4182
|
DOMParser: T,
|
|
4183
4183
|
trustedTypes: C
|
|
4184
|
-
} = e,
|
|
4184
|
+
} = e, y = c.prototype, m = ct(y, "cloneNode"), M = ct(y, "remove"), W = ct(y, "nextSibling"), P = ct(y, "childNodes"), A = ct(y, "parentNode");
|
|
4185
4185
|
if (typeof a == "function") {
|
|
4186
4186
|
const O = n.createElement("template");
|
|
4187
4187
|
O.content && O.content.ownerDocument && (n = O.content.ownerDocument);
|
|
4188
4188
|
}
|
|
4189
|
-
let
|
|
4189
|
+
let R, I = "";
|
|
4190
4190
|
const {
|
|
4191
|
-
implementation:
|
|
4192
|
-
createNodeIterator:
|
|
4193
|
-
createDocumentFragment:
|
|
4194
|
-
getElementsByTagName:
|
|
4191
|
+
implementation: j,
|
|
4192
|
+
createNodeIterator: Y,
|
|
4193
|
+
createDocumentFragment: q,
|
|
4194
|
+
getElementsByTagName: ee
|
|
4195
4195
|
} = n, {
|
|
4196
|
-
importNode:
|
|
4196
|
+
importNode: Z
|
|
4197
4197
|
} = r;
|
|
4198
|
-
let
|
|
4199
|
-
t.isSupported = typeof Hi == "function" && typeof A == "function" &&
|
|
4198
|
+
let _ = {};
|
|
4199
|
+
t.isSupported = typeof Hi == "function" && typeof A == "function" && j && j.createHTMLDocument !== void 0;
|
|
4200
4200
|
const {
|
|
4201
|
-
MUSTACHE_EXPR:
|
|
4202
|
-
ERB_EXPR:
|
|
4201
|
+
MUSTACHE_EXPR: ae,
|
|
4202
|
+
ERB_EXPR: de,
|
|
4203
4203
|
TMPLIT_EXPR: v,
|
|
4204
|
-
DATA_ATTR:
|
|
4205
|
-
ARIA_ATTR:
|
|
4204
|
+
DATA_ATTR: E,
|
|
4205
|
+
ARIA_ATTR: p,
|
|
4206
4206
|
IS_SCRIPT_OR_DATA: S,
|
|
4207
4207
|
ATTR_WHITESPACE: f,
|
|
4208
4208
|
CUSTOM_ELEMENT: x
|
|
4209
4209
|
} = Br;
|
|
4210
4210
|
let {
|
|
4211
|
-
IS_ALLOWED_URI:
|
|
4212
|
-
} = Br,
|
|
4213
|
-
const
|
|
4214
|
-
let
|
|
4215
|
-
const
|
|
4216
|
-
let
|
|
4211
|
+
IS_ALLOWED_URI: H
|
|
4212
|
+
} = Br, N = null;
|
|
4213
|
+
const V = D({}, [...Rr, ...gn, ...bn, ...En, ...Lr]);
|
|
4214
|
+
let L = null;
|
|
4215
|
+
const K = D({}, [...Ir, ...yn, ...Dr, ...Mt]);
|
|
4216
|
+
let B = Object.seal(Ni(null, {
|
|
4217
4217
|
tagNameCheck: {
|
|
4218
4218
|
writable: !0,
|
|
4219
4219
|
configurable: !1,
|
|
@@ -4232,115 +4232,115 @@ function Li() {
|
|
|
4232
4232
|
enumerable: !0,
|
|
4233
4233
|
value: !1
|
|
4234
4234
|
}
|
|
4235
|
-
})),
|
|
4235
|
+
})), b = null, F = null, re = !0, Q = !0, ie = !1, xe = !0, Ee = !1, He = !0, Ie = !1, Kt = !1, $t = !1, Ue = !1, Tt = !1, xt = !1, Bn = !0, Un = !1;
|
|
4236
4236
|
const Bi = "user-content-";
|
|
4237
4237
|
let en = !0, nt = !1, ke = {}, Ge = null;
|
|
4238
|
-
const kn =
|
|
4238
|
+
const kn = D({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
4239
4239
|
let Gn = null;
|
|
4240
|
-
const Fn =
|
|
4240
|
+
const Fn = D({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4241
4241
|
let tn = null;
|
|
4242
|
-
const zn =
|
|
4243
|
-
let Fe =
|
|
4244
|
-
const Ui =
|
|
4242
|
+
const zn = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), vt = "http://www.w3.org/1998/Math/MathML", St = "http://www.w3.org/2000/svg", Oe = "http://www.w3.org/1999/xhtml";
|
|
4243
|
+
let Fe = Oe, nn = !1, rn = null;
|
|
4244
|
+
const Ui = D({}, [vt, St, Oe], dn);
|
|
4245
4245
|
let rt = null;
|
|
4246
4246
|
const ki = ["application/xhtml+xml", "text/html"], Gi = "text/html";
|
|
4247
|
-
let
|
|
4247
|
+
let ne = null, ze = null;
|
|
4248
4248
|
const Fi = n.createElement("form"), jn = function(o) {
|
|
4249
4249
|
return o instanceof RegExp || o instanceof Function;
|
|
4250
4250
|
}, sn = function() {
|
|
4251
4251
|
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4252
4252
|
if (!(ze && ze === o)) {
|
|
4253
4253
|
if ((!o || typeof o != "object") && (o = {}), o = De(o), rt = // eslint-disable-next-line unicorn/prefer-includes
|
|
4254
|
-
ki.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? Gi : o.PARSER_MEDIA_TYPE,
|
|
4254
|
+
ki.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? Gi : o.PARSER_MEDIA_TYPE, ne = rt === "application/xhtml+xml" ? dn : Ut, N = ve(o, "ALLOWED_TAGS") ? D({}, o.ALLOWED_TAGS, ne) : V, L = ve(o, "ALLOWED_ATTR") ? D({}, o.ALLOWED_ATTR, ne) : K, rn = ve(o, "ALLOWED_NAMESPACES") ? D({}, o.ALLOWED_NAMESPACES, dn) : Ui, tn = ve(o, "ADD_URI_SAFE_ATTR") ? D(
|
|
4255
4255
|
De(zn),
|
|
4256
4256
|
// eslint-disable-line indent
|
|
4257
4257
|
o.ADD_URI_SAFE_ATTR,
|
|
4258
4258
|
// eslint-disable-line indent
|
|
4259
|
-
|
|
4259
|
+
ne
|
|
4260
4260
|
// eslint-disable-line indent
|
|
4261
|
-
) : zn, Gn =
|
|
4261
|
+
) : zn, Gn = ve(o, "ADD_DATA_URI_TAGS") ? D(
|
|
4262
4262
|
De(Fn),
|
|
4263
4263
|
// eslint-disable-line indent
|
|
4264
4264
|
o.ADD_DATA_URI_TAGS,
|
|
4265
4265
|
// eslint-disable-line indent
|
|
4266
|
-
|
|
4266
|
+
ne
|
|
4267
4267
|
// eslint-disable-line indent
|
|
4268
|
-
) : Fn, Ge =
|
|
4268
|
+
) : Fn, Ge = ve(o, "FORBID_CONTENTS") ? D({}, o.FORBID_CONTENTS, ne) : kn, b = ve(o, "FORBID_TAGS") ? D({}, o.FORBID_TAGS, ne) : {}, F = ve(o, "FORBID_ATTR") ? D({}, o.FORBID_ATTR, ne) : {}, ke = ve(o, "USE_PROFILES") ? o.USE_PROFILES : !1, re = o.ALLOW_ARIA_ATTR !== !1, Q = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, xe = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = o.SAFE_FOR_TEMPLATES || !1, He = o.SAFE_FOR_XML !== !1, Ie = o.WHOLE_DOCUMENT || !1, Ue = o.RETURN_DOM || !1, Tt = o.RETURN_DOM_FRAGMENT || !1, xt = o.RETURN_TRUSTED_TYPE || !1, $t = o.FORCE_BODY || !1, Bn = o.SANITIZE_DOM !== !1, Un = o.SANITIZE_NAMED_PROPS || !1, en = o.KEEP_CONTENT !== !1, nt = o.IN_PLACE || !1, H = o.ALLOWED_URI_REGEXP || Pi, Fe = o.NAMESPACE || Oe, B = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (B.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (B.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (B.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (Q = !1), Tt && (Ue = !0), ke && (N = D({}, Lr), L = [], ke.html === !0 && (D(N, Rr), D(L, Ir)), ke.svg === !0 && (D(N, gn), D(L, yn), D(L, Mt)), ke.svgFilters === !0 && (D(N, bn), D(L, yn), D(L, Mt)), ke.mathMl === !0 && (D(N, En), D(L, Dr), D(L, Mt))), o.ADD_TAGS && (N === V && (N = De(N)), D(N, o.ADD_TAGS, ne)), o.ADD_ATTR && (L === K && (L = De(L)), D(L, o.ADD_ATTR, ne)), o.ADD_URI_SAFE_ATTR && D(tn, o.ADD_URI_SAFE_ATTR, ne), o.FORBID_CONTENTS && (Ge === kn && (Ge = De(Ge)), D(Ge, o.FORBID_CONTENTS, ne)), en && (N["#text"] = !0), Ie && D(N, ["html", "head", "body"]), N.table && (D(N, ["tbody"]), delete b.tbody), o.TRUSTED_TYPES_POLICY) {
|
|
4269
4269
|
if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4270
4270
|
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4271
4271
|
if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4272
4272
|
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4273
|
-
|
|
4273
|
+
R = o.TRUSTED_TYPES_POLICY, I = R.createHTML("");
|
|
4274
4274
|
} else
|
|
4275
|
-
|
|
4276
|
-
|
|
4275
|
+
R === void 0 && (R = Ba(C, i)), R !== null && typeof I == "string" && (I = R.createHTML(""));
|
|
4276
|
+
he && he(o), ze = o;
|
|
4277
4277
|
}
|
|
4278
|
-
}, Wn =
|
|
4279
|
-
let
|
|
4280
|
-
(!
|
|
4278
|
+
}, Wn = D({}, ["mi", "mo", "mn", "ms", "mtext"]), Zn = D({}, ["foreignobject", "annotation-xml"]), zi = D({}, ["title", "style", "font", "a", "script"]), Vn = D({}, [...gn, ...bn, ..._a]), Xn = D({}, [...En, ...Oa]), ji = function(o) {
|
|
4279
|
+
let d = A(o);
|
|
4280
|
+
(!d || !d.tagName) && (d = {
|
|
4281
4281
|
namespaceURI: Fe,
|
|
4282
4282
|
tagName: "template"
|
|
4283
4283
|
});
|
|
4284
|
-
const w = Ut(o.tagName),
|
|
4285
|
-
return rn[o.namespaceURI] ? o.namespaceURI === St ?
|
|
4286
|
-
},
|
|
4284
|
+
const w = Ut(o.tagName), X = Ut(d.tagName);
|
|
4285
|
+
return rn[o.namespaceURI] ? o.namespaceURI === St ? d.namespaceURI === Oe ? w === "svg" : d.namespaceURI === vt ? w === "svg" && (X === "annotation-xml" || Wn[X]) : !!Vn[w] : o.namespaceURI === vt ? d.namespaceURI === Oe ? w === "math" : d.namespaceURI === St ? w === "math" && Zn[X] : !!Xn[w] : o.namespaceURI === Oe ? d.namespaceURI === St && !Zn[X] || d.namespaceURI === vt && !Wn[X] ? !1 : !Xn[w] && (zi[w] || !Vn[w]) : !!(rt === "application/xhtml+xml" && rn[o.namespaceURI]) : !1;
|
|
4286
|
+
}, Se = function(o) {
|
|
4287
4287
|
at(t.removed, {
|
|
4288
4288
|
element: o
|
|
4289
4289
|
});
|
|
4290
4290
|
try {
|
|
4291
4291
|
A(o).removeChild(o);
|
|
4292
|
-
} catch (
|
|
4292
|
+
} catch (d) {
|
|
4293
4293
|
M(o);
|
|
4294
4294
|
}
|
|
4295
|
-
}, wt = function(o,
|
|
4295
|
+
}, wt = function(o, d) {
|
|
4296
4296
|
try {
|
|
4297
4297
|
at(t.removed, {
|
|
4298
|
-
attribute:
|
|
4299
|
-
from:
|
|
4298
|
+
attribute: d.getAttributeNode(o),
|
|
4299
|
+
from: d
|
|
4300
4300
|
});
|
|
4301
4301
|
} catch (w) {
|
|
4302
4302
|
at(t.removed, {
|
|
4303
4303
|
attribute: null,
|
|
4304
|
-
from:
|
|
4304
|
+
from: d
|
|
4305
4305
|
});
|
|
4306
4306
|
}
|
|
4307
|
-
if (
|
|
4307
|
+
if (d.removeAttribute(o), o === "is" && !L[o])
|
|
4308
4308
|
if (Ue || Tt)
|
|
4309
4309
|
try {
|
|
4310
|
-
|
|
4310
|
+
Se(d);
|
|
4311
4311
|
} catch (w) {
|
|
4312
4312
|
}
|
|
4313
4313
|
else
|
|
4314
4314
|
try {
|
|
4315
|
-
|
|
4315
|
+
d.setAttribute(o, "");
|
|
4316
4316
|
} catch (w) {
|
|
4317
4317
|
}
|
|
4318
4318
|
}, Jn = function(o) {
|
|
4319
|
-
let
|
|
4319
|
+
let d = null, w = null;
|
|
4320
4320
|
if ($t)
|
|
4321
4321
|
o = "<remove></remove>" + o;
|
|
4322
4322
|
else {
|
|
4323
|
-
const
|
|
4324
|
-
w =
|
|
4323
|
+
const se = Pr(o, /^[\r\n\t ]+/);
|
|
4324
|
+
w = se && se[0];
|
|
4325
4325
|
}
|
|
4326
|
-
rt === "application/xhtml+xml" && Fe ===
|
|
4327
|
-
const
|
|
4328
|
-
if (Fe ===
|
|
4326
|
+
rt === "application/xhtml+xml" && Fe === Oe && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
|
|
4327
|
+
const X = R ? R.createHTML(o) : o;
|
|
4328
|
+
if (Fe === Oe)
|
|
4329
4329
|
try {
|
|
4330
|
-
|
|
4331
|
-
} catch (
|
|
4330
|
+
d = new T().parseFromString(X, rt);
|
|
4331
|
+
} catch (se) {
|
|
4332
4332
|
}
|
|
4333
|
-
if (!
|
|
4334
|
-
|
|
4333
|
+
if (!d || !d.documentElement) {
|
|
4334
|
+
d = j.createDocument(Fe, "template", null);
|
|
4335
4335
|
try {
|
|
4336
|
-
|
|
4337
|
-
} catch (
|
|
4336
|
+
d.documentElement.innerHTML = nn ? I : X;
|
|
4337
|
+
} catch (se) {
|
|
4338
4338
|
}
|
|
4339
4339
|
}
|
|
4340
|
-
const
|
|
4341
|
-
return o && w &&
|
|
4340
|
+
const oe = d.body || d.documentElement;
|
|
4341
|
+
return o && w && oe.insertBefore(n.createTextNode(w), oe.childNodes[0] || null), Fe === Oe ? ee.call(d, Ie ? "html" : "body")[0] : Ie ? d.documentElement : oe;
|
|
4342
4342
|
}, Yn = function(o) {
|
|
4343
|
-
return
|
|
4343
|
+
return Y.call(
|
|
4344
4344
|
o.ownerDocument || o,
|
|
4345
4345
|
o,
|
|
4346
4346
|
// eslint-disable-next-line no-bitwise
|
|
@@ -4348,61 +4348,61 @@ function Li() {
|
|
|
4348
4348
|
null
|
|
4349
4349
|
);
|
|
4350
4350
|
}, qn = function(o) {
|
|
4351
|
-
return o instanceof
|
|
4351
|
+
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");
|
|
4352
4352
|
}, Qn = function(o) {
|
|
4353
4353
|
return typeof l == "function" && o instanceof l;
|
|
4354
|
-
},
|
|
4355
|
-
|
|
4356
|
-
|
|
4354
|
+
}, Ce = function(o, d, w) {
|
|
4355
|
+
_[o] && Ct(_[o], (X) => {
|
|
4356
|
+
X.call(t, d, w, ze);
|
|
4357
4357
|
});
|
|
4358
4358
|
}, Kn = function(o) {
|
|
4359
|
-
let
|
|
4360
|
-
if (
|
|
4361
|
-
return
|
|
4362
|
-
const w =
|
|
4363
|
-
if (
|
|
4359
|
+
let d = null;
|
|
4360
|
+
if (Ce("beforeSanitizeElements", o, null), qn(o))
|
|
4361
|
+
return Se(o), !0;
|
|
4362
|
+
const w = ne(o.nodeName);
|
|
4363
|
+
if (Ce("uponSanitizeElement", o, {
|
|
4364
4364
|
tagName: w,
|
|
4365
|
-
allowedTags:
|
|
4366
|
-
}), o.hasChildNodes() && !Qn(o.firstElementChild) &&
|
|
4367
|
-
return
|
|
4368
|
-
if (!
|
|
4369
|
-
if (!
|
|
4365
|
+
allowedTags: N
|
|
4366
|
+
}), o.hasChildNodes() && !Qn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ht.progressingInstruction || He && o.nodeType === ht.comment && ue(/<[/\w]/g, o.data))
|
|
4367
|
+
return Se(o), !0;
|
|
4368
|
+
if (!N[w] || b[w]) {
|
|
4369
|
+
if (!b[w] && er(w) && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, w) || B.tagNameCheck instanceof Function && B.tagNameCheck(w)))
|
|
4370
4370
|
return !1;
|
|
4371
4371
|
if (en && !Ge[w]) {
|
|
4372
|
-
const
|
|
4373
|
-
if (
|
|
4374
|
-
const
|
|
4375
|
-
for (let
|
|
4376
|
-
const
|
|
4377
|
-
|
|
4372
|
+
const X = A(o) || o.parentNode, oe = P(o) || o.childNodes;
|
|
4373
|
+
if (oe && X) {
|
|
4374
|
+
const se = oe.length;
|
|
4375
|
+
for (let fe = se - 1; fe >= 0; --fe) {
|
|
4376
|
+
const we = m(oe[fe], !0);
|
|
4377
|
+
we.__removalCount = (o.__removalCount || 0) + 1, X.insertBefore(we, W(o));
|
|
4378
4378
|
}
|
|
4379
4379
|
}
|
|
4380
4380
|
}
|
|
4381
|
-
return
|
|
4381
|
+
return Se(o), !0;
|
|
4382
4382
|
}
|
|
4383
|
-
return o instanceof c && !ji(o) || (w === "noscript" || w === "noembed" || w === "noframes") &&
|
|
4384
|
-
|
|
4385
|
-
}), o.textContent !==
|
|
4383
|
+
return o instanceof c && !ji(o) || (w === "noscript" || w === "noembed" || w === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (Se(o), !0) : (Ee && o.nodeType === ht.text && (d = o.textContent, Ct([ae, de, v], (X) => {
|
|
4384
|
+
d = lt(d, X, " ");
|
|
4385
|
+
}), o.textContent !== d && (at(t.removed, {
|
|
4386
4386
|
element: o.cloneNode()
|
|
4387
|
-
}), o.textContent =
|
|
4388
|
-
}, $n = function(o,
|
|
4389
|
-
if (Bn && (
|
|
4387
|
+
}), o.textContent = d)), Ce("afterSanitizeElements", o, null), !1);
|
|
4388
|
+
}, $n = function(o, d, w) {
|
|
4389
|
+
if (Bn && (d === "id" || d === "name") && (w in n || w in Fi))
|
|
4390
4390
|
return !1;
|
|
4391
|
-
if (!(
|
|
4392
|
-
if (!(
|
|
4393
|
-
if (!
|
|
4391
|
+
if (!(Q && !F[d] && ue(E, d))) {
|
|
4392
|
+
if (!(re && ue(p, d))) {
|
|
4393
|
+
if (!L[d] || F[d]) {
|
|
4394
4394
|
if (
|
|
4395
4395
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4396
4396
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4397
4397
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4398
|
-
!(er(o) && (
|
|
4398
|
+
!(er(o) && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, o) || B.tagNameCheck instanceof Function && B.tagNameCheck(o)) && (B.attributeNameCheck instanceof RegExp && ue(B.attributeNameCheck, d) || B.attributeNameCheck instanceof Function && B.attributeNameCheck(d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
4399
4399
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4400
|
-
|
|
4400
|
+
d === "is" && B.allowCustomizedBuiltInElements && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, w) || B.tagNameCheck instanceof Function && B.tagNameCheck(w)))
|
|
4401
4401
|
) return !1;
|
|
4402
|
-
} else if (!tn[
|
|
4403
|
-
if (!
|
|
4404
|
-
if (!((
|
|
4405
|
-
if (!(
|
|
4402
|
+
} else if (!tn[d]) {
|
|
4403
|
+
if (!ue(H, lt(w, f, ""))) {
|
|
4404
|
+
if (!((d === "src" || d === "xlink:href" || d === "href") && o !== "script" && va(w, "data:") === 0 && Gn[o])) {
|
|
4405
|
+
if (!(ie && !ue(S, lt(w, f, "")))) {
|
|
4406
4406
|
if (w)
|
|
4407
4407
|
return !1;
|
|
4408
4408
|
}
|
|
@@ -4415,68 +4415,68 @@ function Li() {
|
|
|
4415
4415
|
}, er = function(o) {
|
|
4416
4416
|
return o !== "annotation-xml" && Pr(o, x);
|
|
4417
4417
|
}, tr = function(o) {
|
|
4418
|
-
|
|
4418
|
+
Ce("beforeSanitizeAttributes", o, null);
|
|
4419
4419
|
const {
|
|
4420
|
-
attributes:
|
|
4420
|
+
attributes: d
|
|
4421
4421
|
} = o;
|
|
4422
|
-
if (!
|
|
4422
|
+
if (!d)
|
|
4423
4423
|
return;
|
|
4424
4424
|
const w = {
|
|
4425
4425
|
attrName: "",
|
|
4426
4426
|
attrValue: "",
|
|
4427
4427
|
keepAttr: !0,
|
|
4428
|
-
allowedAttributes:
|
|
4428
|
+
allowedAttributes: L
|
|
4429
4429
|
};
|
|
4430
|
-
let
|
|
4431
|
-
for (;
|
|
4432
|
-
const
|
|
4433
|
-
name:
|
|
4434
|
-
namespaceURI:
|
|
4435
|
-
value:
|
|
4436
|
-
} =
|
|
4437
|
-
let
|
|
4438
|
-
if (w.attrName = it, w.attrValue =
|
|
4439
|
-
wt(
|
|
4430
|
+
let X = d.length;
|
|
4431
|
+
for (; X--; ) {
|
|
4432
|
+
const oe = d[X], {
|
|
4433
|
+
name: se,
|
|
4434
|
+
namespaceURI: fe,
|
|
4435
|
+
value: we
|
|
4436
|
+
} = oe, it = ne(se);
|
|
4437
|
+
let le = se === "value" ? we : Sa(we);
|
|
4438
|
+
if (w.attrName = it, w.attrValue = le, w.keepAttr = !0, w.forceKeepAttr = void 0, Ce("uponSanitizeAttribute", o, w), le = w.attrValue, He && ue(/((--!?|])>)|<\/(style|title)/i, le)) {
|
|
4439
|
+
wt(se, o);
|
|
4440
4440
|
continue;
|
|
4441
4441
|
}
|
|
4442
|
-
if (w.forceKeepAttr || (wt(
|
|
4442
|
+
if (w.forceKeepAttr || (wt(se, o), !w.keepAttr))
|
|
4443
4443
|
continue;
|
|
4444
|
-
if (!
|
|
4445
|
-
wt(
|
|
4444
|
+
if (!xe && ue(/\/>/i, le)) {
|
|
4445
|
+
wt(se, o);
|
|
4446
4446
|
continue;
|
|
4447
4447
|
}
|
|
4448
|
-
|
|
4449
|
-
|
|
4448
|
+
Ee && Ct([ae, de, v], (rr) => {
|
|
4449
|
+
le = lt(le, rr, " ");
|
|
4450
4450
|
});
|
|
4451
|
-
const nr =
|
|
4452
|
-
if ($n(nr, it,
|
|
4453
|
-
if (Un && (it === "id" || it === "name") && (wt(
|
|
4451
|
+
const nr = ne(o.nodeName);
|
|
4452
|
+
if ($n(nr, it, le)) {
|
|
4453
|
+
if (Un && (it === "id" || it === "name") && (wt(se, o), le = Bi + le), R && typeof C == "object" && typeof C.getAttributeType == "function" && !fe)
|
|
4454
4454
|
switch (C.getAttributeType(nr, it)) {
|
|
4455
4455
|
case "TrustedHTML": {
|
|
4456
|
-
|
|
4456
|
+
le = R.createHTML(le);
|
|
4457
4457
|
break;
|
|
4458
4458
|
}
|
|
4459
4459
|
case "TrustedScriptURL": {
|
|
4460
|
-
|
|
4460
|
+
le = R.createScriptURL(le);
|
|
4461
4461
|
break;
|
|
4462
4462
|
}
|
|
4463
4463
|
}
|
|
4464
4464
|
try {
|
|
4465
|
-
|
|
4465
|
+
fe ? o.setAttributeNS(fe, se, le) : o.setAttribute(se, le), qn(o) ? Se(o) : Nr(t.removed);
|
|
4466
4466
|
} catch (rr) {
|
|
4467
4467
|
}
|
|
4468
4468
|
}
|
|
4469
4469
|
}
|
|
4470
|
-
|
|
4470
|
+
Ce("afterSanitizeAttributes", o, null);
|
|
4471
4471
|
}, Wi = function O(o) {
|
|
4472
|
-
let
|
|
4472
|
+
let d = null;
|
|
4473
4473
|
const w = Yn(o);
|
|
4474
|
-
for (
|
|
4475
|
-
|
|
4476
|
-
|
|
4474
|
+
for (Ce("beforeSanitizeShadowDOM", o, null); d = w.nextNode(); )
|
|
4475
|
+
Ce("uponSanitizeShadowNode", d, null), !Kn(d) && (d.content instanceof s && O(d.content), tr(d));
|
|
4476
|
+
Ce("afterSanitizeShadowDOM", o, null);
|
|
4477
4477
|
};
|
|
4478
4478
|
return t.sanitize = function(O) {
|
|
4479
|
-
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
4479
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = null, w = null, X = null, oe = null;
|
|
4480
4480
|
if (nn = !O, nn && (O = "<!-->"), typeof O != "string" && !Qn(O))
|
|
4481
4481
|
if (typeof O.toString == "function") {
|
|
4482
4482
|
if (O = O.toString(), typeof O != "string")
|
|
@@ -4487,56 +4487,56 @@ function Li() {
|
|
|
4487
4487
|
return O;
|
|
4488
4488
|
if (Kt || sn(o), t.removed = [], typeof O == "string" && (nt = !1), nt) {
|
|
4489
4489
|
if (O.nodeName) {
|
|
4490
|
-
const
|
|
4491
|
-
if (!
|
|
4490
|
+
const we = ne(O.nodeName);
|
|
4491
|
+
if (!N[we] || b[we])
|
|
4492
4492
|
throw ut("root node is forbidden and cannot be sanitized in-place");
|
|
4493
4493
|
}
|
|
4494
4494
|
} else if (O instanceof l)
|
|
4495
|
-
|
|
4495
|
+
d = Jn("<!---->"), w = d.ownerDocument.importNode(O, !0), w.nodeType === ht.element && w.nodeName === "BODY" || w.nodeName === "HTML" ? d = w : d.appendChild(w);
|
|
4496
4496
|
else {
|
|
4497
|
-
if (!Ue && !
|
|
4497
|
+
if (!Ue && !Ee && !Ie && // eslint-disable-next-line unicorn/prefer-includes
|
|
4498
4498
|
O.indexOf("<") === -1)
|
|
4499
|
-
return
|
|
4500
|
-
if (
|
|
4501
|
-
return Ue ? null : xt ?
|
|
4499
|
+
return R && xt ? R.createHTML(O) : O;
|
|
4500
|
+
if (d = Jn(O), !d)
|
|
4501
|
+
return Ue ? null : xt ? I : "";
|
|
4502
4502
|
}
|
|
4503
|
-
|
|
4504
|
-
const
|
|
4505
|
-
for (;
|
|
4506
|
-
Kn(
|
|
4503
|
+
d && $t && Se(d.firstChild);
|
|
4504
|
+
const se = Yn(nt ? O : d);
|
|
4505
|
+
for (; X = se.nextNode(); )
|
|
4506
|
+
Kn(X) || (X.content instanceof s && Wi(X.content), tr(X));
|
|
4507
4507
|
if (nt)
|
|
4508
4508
|
return O;
|
|
4509
4509
|
if (Ue) {
|
|
4510
4510
|
if (Tt)
|
|
4511
|
-
for (
|
|
4512
|
-
|
|
4511
|
+
for (oe = q.call(d.ownerDocument); d.firstChild; )
|
|
4512
|
+
oe.appendChild(d.firstChild);
|
|
4513
4513
|
else
|
|
4514
|
-
|
|
4515
|
-
return (
|
|
4514
|
+
oe = d;
|
|
4515
|
+
return (L.shadowroot || L.shadowrootmode) && (oe = Z.call(r, oe, !0)), oe;
|
|
4516
4516
|
}
|
|
4517
|
-
let
|
|
4518
|
-
return Ie &&
|
|
4519
|
-
` +
|
|
4520
|
-
|
|
4521
|
-
}),
|
|
4517
|
+
let fe = Ie ? d.outerHTML : d.innerHTML;
|
|
4518
|
+
return Ie && N["!doctype"] && d.ownerDocument && d.ownerDocument.doctype && d.ownerDocument.doctype.name && ue(Ri, d.ownerDocument.doctype.name) && (fe = "<!DOCTYPE " + d.ownerDocument.doctype.name + `>
|
|
4519
|
+
` + fe), Ee && Ct([ae, de, v], (we) => {
|
|
4520
|
+
fe = lt(fe, we, " ");
|
|
4521
|
+
}), R && xt ? R.createHTML(fe) : fe;
|
|
4522
4522
|
}, t.setConfig = function() {
|
|
4523
4523
|
let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4524
4524
|
sn(O), Kt = !0;
|
|
4525
4525
|
}, t.clearConfig = function() {
|
|
4526
4526
|
ze = null, Kt = !1;
|
|
4527
|
-
}, t.isValidAttribute = function(O, o,
|
|
4527
|
+
}, t.isValidAttribute = function(O, o, d) {
|
|
4528
4528
|
ze || sn({});
|
|
4529
|
-
const w =
|
|
4530
|
-
return $n(w,
|
|
4529
|
+
const w = ne(O), X = ne(o);
|
|
4530
|
+
return $n(w, X, d);
|
|
4531
4531
|
}, t.addHook = function(O, o) {
|
|
4532
|
-
typeof o == "function" && (
|
|
4532
|
+
typeof o == "function" && (_[O] = _[O] || [], at(_[O], o));
|
|
4533
4533
|
}, t.removeHook = function(O) {
|
|
4534
|
-
if (
|
|
4535
|
-
return Nr(
|
|
4534
|
+
if (_[O])
|
|
4535
|
+
return Nr(_[O]);
|
|
4536
4536
|
}, t.removeHooks = function(O) {
|
|
4537
|
-
|
|
4537
|
+
_[O] && (_[O] = []);
|
|
4538
4538
|
}, t.removeAllHooks = function() {
|
|
4539
|
-
|
|
4539
|
+
_ = {};
|
|
4540
4540
|
}, t;
|
|
4541
4541
|
}
|
|
4542
4542
|
var Ur = Li();
|
|
@@ -4546,275 +4546,275 @@ var Ii = { exports: {} };
|
|
|
4546
4546
|
(function(n, r) {
|
|
4547
4547
|
e.exports = r();
|
|
4548
4548
|
})(ii, function() {
|
|
4549
|
-
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", l = "minute", c = "hour", u = "day", h = "week",
|
|
4550
|
-
var
|
|
4551
|
-
return "[" + v + (
|
|
4552
|
-
} }, A = function(v,
|
|
4549
|
+
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", l = "minute", c = "hour", u = "day", h = "week", g = "month", T = "quarter", C = "year", y = "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+)?$/, W = /\[([^\]]+)]|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, P = { 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) {
|
|
4550
|
+
var E = ["th", "st", "nd", "rd"], p = v % 100;
|
|
4551
|
+
return "[" + v + (E[(p - 20) % 10] || E[p] || E[0]) + "]";
|
|
4552
|
+
} }, A = function(v, E, p) {
|
|
4553
4553
|
var S = String(v);
|
|
4554
|
-
return !S || S.length >=
|
|
4555
|
-
},
|
|
4556
|
-
var
|
|
4557
|
-
return (
|
|
4558
|
-
}, m: function v(
|
|
4559
|
-
if (
|
|
4560
|
-
var S = 12 * (
|
|
4561
|
-
return +(-(S + (
|
|
4554
|
+
return !S || S.length >= E ? v : "" + Array(E + 1 - S.length).join(p) + v;
|
|
4555
|
+
}, R = { s: A, z: function(v) {
|
|
4556
|
+
var E = -v.utcOffset(), p = Math.abs(E), S = Math.floor(p / 60), f = p % 60;
|
|
4557
|
+
return (E <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
|
|
4558
|
+
}, m: function v(E, p) {
|
|
4559
|
+
if (E.date() < p.date()) return -v(p, E);
|
|
4560
|
+
var S = 12 * (p.year() - E.year()) + (p.month() - E.month()), f = E.clone().add(S, g), x = p - f < 0, H = E.clone().add(S + (x ? -1 : 1), g);
|
|
4561
|
+
return +(-(S + (p - f) / (x ? f - H : H - f)) || 0);
|
|
4562
4562
|
}, a: function(v) {
|
|
4563
4563
|
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
|
4564
4564
|
}, p: function(v) {
|
|
4565
|
-
return { M:
|
|
4565
|
+
return { M: g, y: C, w: h, d: u, D: y, h: c, m: l, s: a, ms: s, Q: T }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
|
4566
4566
|
}, u: function(v) {
|
|
4567
4567
|
return v === void 0;
|
|
4568
|
-
} },
|
|
4569
|
-
|
|
4570
|
-
var
|
|
4571
|
-
return v instanceof
|
|
4572
|
-
},
|
|
4568
|
+
} }, I = "en", j = {};
|
|
4569
|
+
j[I] = P;
|
|
4570
|
+
var Y = "$isDayjsObject", q = function(v) {
|
|
4571
|
+
return v instanceof ae || !(!v || !v[Y]);
|
|
4572
|
+
}, ee = function v(E, p, S) {
|
|
4573
4573
|
var f;
|
|
4574
|
-
if (!
|
|
4575
|
-
if (typeof
|
|
4576
|
-
var x =
|
|
4577
|
-
|
|
4578
|
-
var
|
|
4579
|
-
if (!f &&
|
|
4574
|
+
if (!E) return I;
|
|
4575
|
+
if (typeof E == "string") {
|
|
4576
|
+
var x = E.toLowerCase();
|
|
4577
|
+
j[x] && (f = x), p && (j[x] = p, f = x);
|
|
4578
|
+
var H = E.split("-");
|
|
4579
|
+
if (!f && H.length > 1) return v(H[0]);
|
|
4580
4580
|
} else {
|
|
4581
|
-
var
|
|
4582
|
-
|
|
4581
|
+
var N = E.name;
|
|
4582
|
+
j[N] = E, f = N;
|
|
4583
4583
|
}
|
|
4584
|
-
return !S && f && (
|
|
4585
|
-
},
|
|
4586
|
-
if (
|
|
4587
|
-
var
|
|
4588
|
-
return
|
|
4589
|
-
},
|
|
4590
|
-
|
|
4591
|
-
return
|
|
4584
|
+
return !S && f && (I = f), f || !S && I;
|
|
4585
|
+
}, Z = function(v, E) {
|
|
4586
|
+
if (q(v)) return v.clone();
|
|
4587
|
+
var p = typeof E == "object" ? E : {};
|
|
4588
|
+
return p.date = v, p.args = arguments, new ae(p);
|
|
4589
|
+
}, _ = R;
|
|
4590
|
+
_.l = ee, _.i = q, _.w = function(v, E) {
|
|
4591
|
+
return Z(v, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
4592
4592
|
};
|
|
4593
|
-
var
|
|
4594
|
-
function v(
|
|
4595
|
-
this.$L =
|
|
4593
|
+
var ae = function() {
|
|
4594
|
+
function v(p) {
|
|
4595
|
+
this.$L = ee(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[Y] = !0;
|
|
4596
4596
|
}
|
|
4597
|
-
var
|
|
4598
|
-
return
|
|
4597
|
+
var E = v.prototype;
|
|
4598
|
+
return E.parse = function(p) {
|
|
4599
4599
|
this.$d = function(S) {
|
|
4600
4600
|
var f = S.date, x = S.utc;
|
|
4601
4601
|
if (f === null) return /* @__PURE__ */ new Date(NaN);
|
|
4602
|
-
if (
|
|
4602
|
+
if (_.u(f)) return /* @__PURE__ */ new Date();
|
|
4603
4603
|
if (f instanceof Date) return new Date(f);
|
|
4604
4604
|
if (typeof f == "string" && !/Z$/i.test(f)) {
|
|
4605
|
-
var
|
|
4606
|
-
if (
|
|
4607
|
-
var
|
|
4608
|
-
return x ? new Date(Date.UTC(
|
|
4605
|
+
var H = f.match(M);
|
|
4606
|
+
if (H) {
|
|
4607
|
+
var N = H[2] - 1 || 0, V = (H[7] || "0").substring(0, 3);
|
|
4608
|
+
return x ? new Date(Date.UTC(H[1], N, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, V)) : new Date(H[1], N, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, V);
|
|
4609
4609
|
}
|
|
4610
4610
|
}
|
|
4611
4611
|
return new Date(f);
|
|
4612
|
-
}(
|
|
4613
|
-
},
|
|
4614
|
-
var
|
|
4615
|
-
this.$y =
|
|
4616
|
-
},
|
|
4617
|
-
return
|
|
4618
|
-
},
|
|
4612
|
+
}(p), this.init();
|
|
4613
|
+
}, E.init = function() {
|
|
4614
|
+
var p = this.$d;
|
|
4615
|
+
this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
|
|
4616
|
+
}, E.$utils = function() {
|
|
4617
|
+
return _;
|
|
4618
|
+
}, E.isValid = function() {
|
|
4619
4619
|
return this.$d.toString() !== m;
|
|
4620
|
-
},
|
|
4621
|
-
var f =
|
|
4620
|
+
}, E.isSame = function(p, S) {
|
|
4621
|
+
var f = Z(p);
|
|
4622
4622
|
return this.startOf(S) <= f && f <= this.endOf(S);
|
|
4623
|
-
},
|
|
4624
|
-
return
|
|
4625
|
-
},
|
|
4626
|
-
return this.endOf(S) <
|
|
4627
|
-
},
|
|
4628
|
-
return
|
|
4629
|
-
},
|
|
4623
|
+
}, E.isAfter = function(p, S) {
|
|
4624
|
+
return Z(p) < this.startOf(S);
|
|
4625
|
+
}, E.isBefore = function(p, S) {
|
|
4626
|
+
return this.endOf(S) < Z(p);
|
|
4627
|
+
}, E.$g = function(p, S, f) {
|
|
4628
|
+
return _.u(p) ? this[S] : this.set(f, p);
|
|
4629
|
+
}, E.unix = function() {
|
|
4630
4630
|
return Math.floor(this.valueOf() / 1e3);
|
|
4631
|
-
},
|
|
4631
|
+
}, E.valueOf = function() {
|
|
4632
4632
|
return this.$d.getTime();
|
|
4633
|
-
},
|
|
4634
|
-
var f = this, x = !!
|
|
4635
|
-
var
|
|
4636
|
-
return x ?
|
|
4637
|
-
},
|
|
4638
|
-
return
|
|
4639
|
-
},
|
|
4640
|
-
switch (
|
|
4633
|
+
}, E.startOf = function(p, S) {
|
|
4634
|
+
var f = this, x = !!_.u(S) || S, H = _.p(p), N = function(Q, ie) {
|
|
4635
|
+
var xe = _.w(f.$u ? Date.UTC(f.$y, ie, Q) : new Date(f.$y, ie, Q), f);
|
|
4636
|
+
return x ? xe : xe.endOf(u);
|
|
4637
|
+
}, V = function(Q, ie) {
|
|
4638
|
+
return _.w(f.toDate()[Q].apply(f.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), f);
|
|
4639
|
+
}, L = this.$W, K = this.$M, B = this.$D, b = "set" + (this.$u ? "UTC" : "");
|
|
4640
|
+
switch (H) {
|
|
4641
4641
|
case C:
|
|
4642
|
-
return x ?
|
|
4643
|
-
case
|
|
4644
|
-
return x ?
|
|
4642
|
+
return x ? N(1, 0) : N(31, 11);
|
|
4643
|
+
case g:
|
|
4644
|
+
return x ? N(1, K) : N(0, K + 1);
|
|
4645
4645
|
case h:
|
|
4646
|
-
var
|
|
4647
|
-
return
|
|
4646
|
+
var F = this.$locale().weekStart || 0, re = (L < F ? L + 7 : L) - F;
|
|
4647
|
+
return N(x ? B - re : B + (6 - re), K);
|
|
4648
4648
|
case u:
|
|
4649
|
-
case
|
|
4650
|
-
return
|
|
4649
|
+
case y:
|
|
4650
|
+
return V(b + "Hours", 0);
|
|
4651
4651
|
case c:
|
|
4652
|
-
return
|
|
4652
|
+
return V(b + "Minutes", 1);
|
|
4653
4653
|
case l:
|
|
4654
|
-
return
|
|
4654
|
+
return V(b + "Seconds", 2);
|
|
4655
4655
|
case a:
|
|
4656
|
-
return
|
|
4656
|
+
return V(b + "Milliseconds", 3);
|
|
4657
4657
|
default:
|
|
4658
4658
|
return this.clone();
|
|
4659
4659
|
}
|
|
4660
|
-
},
|
|
4661
|
-
return this.startOf(
|
|
4662
|
-
},
|
|
4663
|
-
var f, x =
|
|
4664
|
-
if (x ===
|
|
4665
|
-
var
|
|
4666
|
-
|
|
4667
|
-
} else
|
|
4660
|
+
}, E.endOf = function(p) {
|
|
4661
|
+
return this.startOf(p, !1);
|
|
4662
|
+
}, E.$set = function(p, S) {
|
|
4663
|
+
var f, x = _.p(p), H = "set" + (this.$u ? "UTC" : ""), N = (f = {}, f[u] = H + "Date", f[y] = H + "Date", f[g] = H + "Month", f[C] = H + "FullYear", f[c] = H + "Hours", f[l] = H + "Minutes", f[a] = H + "Seconds", f[s] = H + "Milliseconds", f)[x], V = x === u ? this.$D + (S - this.$W) : S;
|
|
4664
|
+
if (x === g || x === C) {
|
|
4665
|
+
var L = this.clone().set(y, 1);
|
|
4666
|
+
L.$d[N](V), L.init(), this.$d = L.set(y, Math.min(this.$D, L.daysInMonth())).$d;
|
|
4667
|
+
} else N && this.$d[N](V);
|
|
4668
4668
|
return this.init(), this;
|
|
4669
|
-
},
|
|
4670
|
-
return this.clone().$set(
|
|
4671
|
-
},
|
|
4672
|
-
return this[
|
|
4673
|
-
},
|
|
4669
|
+
}, E.set = function(p, S) {
|
|
4670
|
+
return this.clone().$set(p, S);
|
|
4671
|
+
}, E.get = function(p) {
|
|
4672
|
+
return this[_.p(p)]();
|
|
4673
|
+
}, E.add = function(p, S) {
|
|
4674
4674
|
var f, x = this;
|
|
4675
|
-
|
|
4676
|
-
var
|
|
4677
|
-
var
|
|
4678
|
-
return
|
|
4675
|
+
p = Number(p);
|
|
4676
|
+
var H = _.p(S), N = function(K) {
|
|
4677
|
+
var B = Z(x);
|
|
4678
|
+
return _.w(B.date(B.date() + Math.round(K * p)), x);
|
|
4679
4679
|
};
|
|
4680
|
-
if (
|
|
4681
|
-
if (
|
|
4682
|
-
if (
|
|
4683
|
-
if (
|
|
4684
|
-
var
|
|
4685
|
-
return
|
|
4686
|
-
},
|
|
4687
|
-
return this.add(-1 *
|
|
4688
|
-
},
|
|
4680
|
+
if (H === g) return this.set(g, this.$M + p);
|
|
4681
|
+
if (H === C) return this.set(C, this.$y + p);
|
|
4682
|
+
if (H === u) return N(1);
|
|
4683
|
+
if (H === h) return N(7);
|
|
4684
|
+
var V = (f = {}, f[l] = r, f[c] = i, f[a] = n, f)[H] || 1, L = this.$d.getTime() + p * V;
|
|
4685
|
+
return _.w(L, this);
|
|
4686
|
+
}, E.subtract = function(p, S) {
|
|
4687
|
+
return this.add(-1 * p, S);
|
|
4688
|
+
}, E.format = function(p) {
|
|
4689
4689
|
var S = this, f = this.$locale();
|
|
4690
4690
|
if (!this.isValid()) return f.invalidDate || m;
|
|
4691
|
-
var x =
|
|
4692
|
-
return
|
|
4693
|
-
},
|
|
4694
|
-
return
|
|
4695
|
-
},
|
|
4696
|
-
var He =
|
|
4697
|
-
return
|
|
4691
|
+
var x = p || "YYYY-MM-DDTHH:mm:ssZ", H = _.z(this), N = this.$H, V = this.$m, L = this.$M, K = f.weekdays, B = f.months, b = f.meridiem, F = function(ie, xe, Ee, He) {
|
|
4692
|
+
return ie && (ie[xe] || ie(S, x)) || Ee[xe].slice(0, He);
|
|
4693
|
+
}, re = function(ie) {
|
|
4694
|
+
return _.s(N % 12 || 12, ie, "0");
|
|
4695
|
+
}, Q = b || function(ie, xe, Ee) {
|
|
4696
|
+
var He = ie < 12 ? "AM" : "PM";
|
|
4697
|
+
return Ee ? He.toLowerCase() : He;
|
|
4698
4698
|
};
|
|
4699
|
-
return x.replace(
|
|
4700
|
-
return
|
|
4701
|
-
switch (
|
|
4699
|
+
return x.replace(W, function(ie, xe) {
|
|
4700
|
+
return xe || function(Ee) {
|
|
4701
|
+
switch (Ee) {
|
|
4702
4702
|
case "YY":
|
|
4703
4703
|
return String(S.$y).slice(-2);
|
|
4704
4704
|
case "YYYY":
|
|
4705
|
-
return
|
|
4705
|
+
return _.s(S.$y, 4, "0");
|
|
4706
4706
|
case "M":
|
|
4707
|
-
return
|
|
4707
|
+
return L + 1;
|
|
4708
4708
|
case "MM":
|
|
4709
|
-
return
|
|
4709
|
+
return _.s(L + 1, 2, "0");
|
|
4710
4710
|
case "MMM":
|
|
4711
|
-
return
|
|
4711
|
+
return F(f.monthsShort, L, B, 3);
|
|
4712
4712
|
case "MMMM":
|
|
4713
|
-
return
|
|
4713
|
+
return F(B, L);
|
|
4714
4714
|
case "D":
|
|
4715
4715
|
return S.$D;
|
|
4716
4716
|
case "DD":
|
|
4717
|
-
return
|
|
4717
|
+
return _.s(S.$D, 2, "0");
|
|
4718
4718
|
case "d":
|
|
4719
4719
|
return String(S.$W);
|
|
4720
4720
|
case "dd":
|
|
4721
|
-
return
|
|
4721
|
+
return F(f.weekdaysMin, S.$W, K, 2);
|
|
4722
4722
|
case "ddd":
|
|
4723
|
-
return
|
|
4723
|
+
return F(f.weekdaysShort, S.$W, K, 3);
|
|
4724
4724
|
case "dddd":
|
|
4725
|
-
return
|
|
4725
|
+
return K[S.$W];
|
|
4726
4726
|
case "H":
|
|
4727
|
-
return String(
|
|
4727
|
+
return String(N);
|
|
4728
4728
|
case "HH":
|
|
4729
|
-
return
|
|
4729
|
+
return _.s(N, 2, "0");
|
|
4730
4730
|
case "h":
|
|
4731
|
-
return
|
|
4731
|
+
return re(1);
|
|
4732
4732
|
case "hh":
|
|
4733
|
-
return
|
|
4733
|
+
return re(2);
|
|
4734
4734
|
case "a":
|
|
4735
|
-
return
|
|
4735
|
+
return Q(N, V, !0);
|
|
4736
4736
|
case "A":
|
|
4737
|
-
return
|
|
4737
|
+
return Q(N, V, !1);
|
|
4738
4738
|
case "m":
|
|
4739
|
-
return String(
|
|
4739
|
+
return String(V);
|
|
4740
4740
|
case "mm":
|
|
4741
|
-
return
|
|
4741
|
+
return _.s(V, 2, "0");
|
|
4742
4742
|
case "s":
|
|
4743
4743
|
return String(S.$s);
|
|
4744
4744
|
case "ss":
|
|
4745
|
-
return
|
|
4745
|
+
return _.s(S.$s, 2, "0");
|
|
4746
4746
|
case "SSS":
|
|
4747
|
-
return
|
|
4747
|
+
return _.s(S.$ms, 3, "0");
|
|
4748
4748
|
case "Z":
|
|
4749
|
-
return
|
|
4749
|
+
return H;
|
|
4750
4750
|
}
|
|
4751
4751
|
return null;
|
|
4752
|
-
}(
|
|
4752
|
+
}(ie) || H.replace(":", "");
|
|
4753
4753
|
});
|
|
4754
|
-
},
|
|
4754
|
+
}, E.utcOffset = function() {
|
|
4755
4755
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4756
|
-
},
|
|
4757
|
-
var x,
|
|
4758
|
-
return
|
|
4756
|
+
}, E.diff = function(p, S, f) {
|
|
4757
|
+
var x, H = this, N = _.p(S), V = Z(p), L = (V.utcOffset() - this.utcOffset()) * r, K = this - V, B = function() {
|
|
4758
|
+
return _.m(H, V);
|
|
4759
4759
|
};
|
|
4760
|
-
switch (
|
|
4760
|
+
switch (N) {
|
|
4761
4761
|
case C:
|
|
4762
|
-
x =
|
|
4762
|
+
x = B() / 12;
|
|
4763
4763
|
break;
|
|
4764
|
-
case
|
|
4765
|
-
x =
|
|
4764
|
+
case g:
|
|
4765
|
+
x = B();
|
|
4766
4766
|
break;
|
|
4767
4767
|
case T:
|
|
4768
|
-
x =
|
|
4768
|
+
x = B() / 3;
|
|
4769
4769
|
break;
|
|
4770
4770
|
case h:
|
|
4771
|
-
x = (
|
|
4771
|
+
x = (K - L) / 6048e5;
|
|
4772
4772
|
break;
|
|
4773
4773
|
case u:
|
|
4774
|
-
x = (
|
|
4774
|
+
x = (K - L) / 864e5;
|
|
4775
4775
|
break;
|
|
4776
4776
|
case c:
|
|
4777
|
-
x =
|
|
4777
|
+
x = K / i;
|
|
4778
4778
|
break;
|
|
4779
4779
|
case l:
|
|
4780
|
-
x =
|
|
4780
|
+
x = K / r;
|
|
4781
4781
|
break;
|
|
4782
4782
|
case a:
|
|
4783
|
-
x =
|
|
4783
|
+
x = K / n;
|
|
4784
4784
|
break;
|
|
4785
4785
|
default:
|
|
4786
|
-
x =
|
|
4786
|
+
x = K;
|
|
4787
4787
|
}
|
|
4788
|
-
return f ? x :
|
|
4789
|
-
},
|
|
4790
|
-
return this.endOf(
|
|
4791
|
-
},
|
|
4792
|
-
return
|
|
4793
|
-
},
|
|
4794
|
-
if (!
|
|
4795
|
-
var f = this.clone(), x =
|
|
4788
|
+
return f ? x : _.a(x);
|
|
4789
|
+
}, E.daysInMonth = function() {
|
|
4790
|
+
return this.endOf(g).$D;
|
|
4791
|
+
}, E.$locale = function() {
|
|
4792
|
+
return j[this.$L];
|
|
4793
|
+
}, E.locale = function(p, S) {
|
|
4794
|
+
if (!p) return this.$L;
|
|
4795
|
+
var f = this.clone(), x = ee(p, S, !0);
|
|
4796
4796
|
return x && (f.$L = x), f;
|
|
4797
|
-
},
|
|
4798
|
-
return
|
|
4799
|
-
},
|
|
4797
|
+
}, E.clone = function() {
|
|
4798
|
+
return _.w(this.$d, this);
|
|
4799
|
+
}, E.toDate = function() {
|
|
4800
4800
|
return new Date(this.valueOf());
|
|
4801
|
-
},
|
|
4801
|
+
}, E.toJSON = function() {
|
|
4802
4802
|
return this.isValid() ? this.toISOString() : null;
|
|
4803
|
-
},
|
|
4803
|
+
}, E.toISOString = function() {
|
|
4804
4804
|
return this.$d.toISOString();
|
|
4805
|
-
},
|
|
4805
|
+
}, E.toString = function() {
|
|
4806
4806
|
return this.$d.toUTCString();
|
|
4807
4807
|
}, v;
|
|
4808
|
-
}(),
|
|
4809
|
-
return
|
|
4810
|
-
|
|
4811
|
-
return this.$g(
|
|
4808
|
+
}(), de = ae.prototype;
|
|
4809
|
+
return Z.prototype = de, [["$ms", s], ["$s", a], ["$m", l], ["$H", c], ["$W", u], ["$M", g], ["$y", C], ["$D", y]].forEach(function(v) {
|
|
4810
|
+
de[v[1]] = function(E) {
|
|
4811
|
+
return this.$g(E, v[0], v[1]);
|
|
4812
4812
|
};
|
|
4813
|
-
}),
|
|
4814
|
-
return v.$i || (v(
|
|
4815
|
-
},
|
|
4816
|
-
return
|
|
4817
|
-
},
|
|
4813
|
+
}), Z.extend = function(v, E) {
|
|
4814
|
+
return v.$i || (v(E, ae, Z), v.$i = !0), Z;
|
|
4815
|
+
}, Z.locale = ee, Z.isDayjs = q, Z.unix = function(v) {
|
|
4816
|
+
return Z(1e3 * v);
|
|
4817
|
+
}, Z.en = j[I], Z.Ls = j, Z.p = {}, Z;
|
|
4818
4818
|
});
|
|
4819
4819
|
})(Ii);
|
|
4820
4820
|
var ka = Ii.exports;
|
|
@@ -4847,22 +4847,22 @@ var Di = { exports: {} };
|
|
|
4847
4847
|
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();
|
|
4848
4848
|
} else h.call(this);
|
|
4849
4849
|
};
|
|
4850
|
-
var
|
|
4850
|
+
var g = c.utcOffset;
|
|
4851
4851
|
c.utcOffset = function(m, M) {
|
|
4852
|
-
var
|
|
4853
|
-
if (
|
|
4854
|
-
if (typeof m == "string" && (m = function(
|
|
4855
|
-
|
|
4856
|
-
var
|
|
4857
|
-
if (!
|
|
4858
|
-
var
|
|
4859
|
-
return
|
|
4852
|
+
var W = this.$utils().u;
|
|
4853
|
+
if (W(m)) return this.$u ? 0 : W(this.$offset) ? g.call(this) : this.$offset;
|
|
4854
|
+
if (typeof m == "string" && (m = function(I) {
|
|
4855
|
+
I === void 0 && (I = "");
|
|
4856
|
+
var j = I.match(r);
|
|
4857
|
+
if (!j) return null;
|
|
4858
|
+
var Y = ("" + j[0]).match(i) || ["-", 0, 0], q = Y[0], ee = 60 * +Y[1] + +Y[2];
|
|
4859
|
+
return ee === 0 ? 0 : q === "+" ? ee : -ee;
|
|
4860
4860
|
}(m), m === null)) return this;
|
|
4861
|
-
var
|
|
4862
|
-
if (M) return A.$offset =
|
|
4861
|
+
var P = Math.abs(m) <= 16 ? 60 * m : m, A = this;
|
|
4862
|
+
if (M) return A.$offset = P, A.$u = m === 0, A;
|
|
4863
4863
|
if (m !== 0) {
|
|
4864
|
-
var
|
|
4865
|
-
(A = this.local().add(
|
|
4864
|
+
var R = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4865
|
+
(A = this.local().add(P + R, n)).$offset = P, A.$x.$localOffset = R;
|
|
4866
4866
|
} else A = this.utc();
|
|
4867
4867
|
return A;
|
|
4868
4868
|
};
|
|
@@ -4884,11 +4884,11 @@ var Di = { exports: {} };
|
|
|
4884
4884
|
c.toDate = function(m) {
|
|
4885
4885
|
return m === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
|
|
4886
4886
|
};
|
|
4887
|
-
var
|
|
4888
|
-
c.diff = function(m, M,
|
|
4889
|
-
if (m && this.$u === m.$u) return
|
|
4890
|
-
var
|
|
4891
|
-
return
|
|
4887
|
+
var y = c.diff;
|
|
4888
|
+
c.diff = function(m, M, W) {
|
|
4889
|
+
if (m && this.$u === m.$u) return y.call(this, m, M, W);
|
|
4890
|
+
var P = this.local(), A = l(m).local();
|
|
4891
|
+
return y.call(P, A, M, W);
|
|
4892
4892
|
};
|
|
4893
4893
|
};
|
|
4894
4894
|
});
|
|
@@ -4903,57 +4903,57 @@ function Wr(e) {
|
|
|
4903
4903
|
let t, n, r, i, s, a = (
|
|
4904
4904
|
/*$_*/
|
|
4905
4905
|
e[8]("sessionExpirationHeader") + ""
|
|
4906
|
-
), l, c, u, h,
|
|
4907
|
-
const
|
|
4906
|
+
), l, c, u, h, g, T, C, y, m, M, W, P, A, R, I;
|
|
4907
|
+
const j = (
|
|
4908
4908
|
/*#slots*/
|
|
4909
4909
|
e[20].icon
|
|
4910
|
-
),
|
|
4911
|
-
|
|
4910
|
+
), Y = Ht(
|
|
4911
|
+
j,
|
|
4912
4912
|
e,
|
|
4913
4913
|
/*$$scope*/
|
|
4914
4914
|
e[19],
|
|
4915
4915
|
jr
|
|
4916
|
-
),
|
|
4916
|
+
), q = Y || Ya(e), ee = (
|
|
4917
4917
|
/*#slots*/
|
|
4918
4918
|
e[20].title
|
|
4919
|
-
),
|
|
4920
|
-
|
|
4919
|
+
), Z = Ht(
|
|
4920
|
+
ee,
|
|
4921
4921
|
e,
|
|
4922
4922
|
/*$$scope*/
|
|
4923
4923
|
e[19],
|
|
4924
4924
|
zr
|
|
4925
|
-
),
|
|
4925
|
+
), _ = Z || qa(e), ae = (
|
|
4926
4926
|
/*#slots*/
|
|
4927
4927
|
e[20].text
|
|
4928
|
-
),
|
|
4929
|
-
|
|
4928
|
+
), de = Ht(
|
|
4929
|
+
ae,
|
|
4930
4930
|
e,
|
|
4931
4931
|
/*$$scope*/
|
|
4932
4932
|
e[19],
|
|
4933
4933
|
Fr
|
|
4934
|
-
), v =
|
|
4934
|
+
), v = de || Qa(e), E = [$a, Ka], p = [];
|
|
4935
4935
|
function S(f, x) {
|
|
4936
4936
|
return (
|
|
4937
4937
|
/*showLoaderButton*/
|
|
4938
4938
|
f[6] ? 0 : 1
|
|
4939
4939
|
);
|
|
4940
4940
|
}
|
|
4941
|
-
return m = S(e), M =
|
|
4941
|
+
return m = S(e), M = p[m] = E[m](e), {
|
|
4942
4942
|
c() {
|
|
4943
|
-
t =
|
|
4944
|
-
e[6], G(
|
|
4943
|
+
t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), l = $e(a), c = ft(), u = te("div"), h = te("div"), q && q.c(), g = ft(), _ && _.c(), T = ft(), v && v.c(), C = ft(), y = te("button"), M.c(), G(s, "class", "CashierSessionExpirationModalHeaderTitle"), G(i, "class", "CashierSessionExpirationModalHeader"), G(y, "type", "button"), y.disabled = /*showLoaderButton*/
|
|
4944
|
+
e[6], G(y, "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"), Je(() => (
|
|
4945
4945
|
/*div5_elementresize_handler*/
|
|
4946
4946
|
e[22].call(n)
|
|
4947
4947
|
)), G(t, "part", "CustomStylingContainer");
|
|
4948
4948
|
},
|
|
4949
4949
|
m(f, x) {
|
|
4950
|
-
|
|
4950
|
+
_e(f, t, x), $(t, n), $(n, r), $(r, i), $(i, s), $(s, l), $(r, c), $(r, u), $(u, h), q && q.m(h, null), $(h, g), _ && _.m(h, null), $(h, T), v && v.m(h, null), $(h, C), $(h, y), p[m].m(y, null), e[21](h), W = ss(
|
|
4951
4951
|
n,
|
|
4952
4952
|
/*div5_elementresize_handler*/
|
|
4953
4953
|
e[22].bind(n)
|
|
4954
|
-
), e[23](t), A = !0,
|
|
4954
|
+
), e[23](t), A = !0, R || (I = [
|
|
4955
4955
|
kt(
|
|
4956
|
-
|
|
4956
|
+
y,
|
|
4957
4957
|
"click",
|
|
4958
4958
|
/*renewSession*/
|
|
4959
4959
|
e[9]
|
|
@@ -4964,20 +4964,20 @@ function Wr(e) {
|
|
|
4964
4964
|
/*outOfModalClick*/
|
|
4965
4965
|
e[10]
|
|
4966
4966
|
)
|
|
4967
|
-
],
|
|
4967
|
+
], R = !0);
|
|
4968
4968
|
},
|
|
4969
4969
|
p(f, x) {
|
|
4970
4970
|
e = f, (!A || x[0] & /*$_*/
|
|
4971
4971
|
256) && a !== (a = /*$_*/
|
|
4972
|
-
e[8]("sessionExpirationHeader") + "") && Xt(l, a),
|
|
4972
|
+
e[8]("sessionExpirationHeader") + "") && Xt(l, a), Y ? Y.p && (!A || x[0] & /*$$scope*/
|
|
4973
4973
|
524288) && Pt(
|
|
4974
|
-
|
|
4975
|
-
|
|
4974
|
+
Y,
|
|
4975
|
+
j,
|
|
4976
4976
|
e,
|
|
4977
4977
|
/*$$scope*/
|
|
4978
4978
|
e[19],
|
|
4979
4979
|
A ? Nt(
|
|
4980
|
-
|
|
4980
|
+
j,
|
|
4981
4981
|
/*$$scope*/
|
|
4982
4982
|
e[19],
|
|
4983
4983
|
x,
|
|
@@ -4987,16 +4987,16 @@ function Wr(e) {
|
|
|
4987
4987
|
e[19]
|
|
4988
4988
|
),
|
|
4989
4989
|
jr
|
|
4990
|
-
) :
|
|
4991
|
-
8) &&
|
|
4990
|
+
) : q && q.p && (!A || x[0] & /*assetsurl*/
|
|
4991
|
+
8) && q.p(e, A ? x : [-1, -1]), Z ? Z.p && (!A || x[0] & /*$$scope*/
|
|
4992
4992
|
524288) && Pt(
|
|
4993
|
-
|
|
4994
|
-
|
|
4993
|
+
Z,
|
|
4994
|
+
ee,
|
|
4995
4995
|
e,
|
|
4996
4996
|
/*$$scope*/
|
|
4997
4997
|
e[19],
|
|
4998
4998
|
A ? Nt(
|
|
4999
|
-
|
|
4999
|
+
ee,
|
|
5000
5000
|
/*$$scope*/
|
|
5001
5001
|
e[19],
|
|
5002
5002
|
x,
|
|
@@ -5006,16 +5006,16 @@ function Wr(e) {
|
|
|
5006
5006
|
e[19]
|
|
5007
5007
|
),
|
|
5008
5008
|
zr
|
|
5009
|
-
) :
|
|
5010
|
-
256) &&
|
|
5009
|
+
) : _ && _.p && (!A || x[0] & /*$_*/
|
|
5010
|
+
256) && _.p(e, A ? x : [-1, -1]), de ? de.p && (!A || x[0] & /*$$scope*/
|
|
5011
5011
|
524288) && Pt(
|
|
5012
|
-
|
|
5013
|
-
|
|
5012
|
+
de,
|
|
5013
|
+
ae,
|
|
5014
5014
|
e,
|
|
5015
5015
|
/*$$scope*/
|
|
5016
5016
|
e[19],
|
|
5017
5017
|
A ? Nt(
|
|
5018
|
-
|
|
5018
|
+
ae,
|
|
5019
5019
|
/*$$scope*/
|
|
5020
5020
|
e[19],
|
|
5021
5021
|
x,
|
|
@@ -5027,29 +5027,29 @@ function Wr(e) {
|
|
|
5027
5027
|
Fr
|
|
5028
5028
|
) : v && v.p && (!A || x[0] & /*$_, timeLeft*/
|
|
5029
5029
|
384) && v.p(e, A ? x : [-1, -1]);
|
|
5030
|
-
let
|
|
5031
|
-
m = S(e), m ===
|
|
5032
|
-
|
|
5033
|
-
}), ni(), M =
|
|
5034
|
-
64) && (
|
|
5030
|
+
let H = m;
|
|
5031
|
+
m = S(e), m === H ? p[m].p(e, x) : (ti(), Ne(p[H], 1, 1, () => {
|
|
5032
|
+
p[H] = null;
|
|
5033
|
+
}), ni(), M = p[m], M ? M.p(e, x) : (M = p[m] = E[m](e), M.c()), Ae(M, 1), M.m(y, null)), (!A || x[0] & /*showLoaderButton*/
|
|
5034
|
+
64) && (y.disabled = /*showLoaderButton*/
|
|
5035
5035
|
e[6]);
|
|
5036
5036
|
},
|
|
5037
5037
|
i(f) {
|
|
5038
|
-
A || (
|
|
5039
|
-
A && (
|
|
5038
|
+
A || (Ae(q, f), Ae(_, f), Ae(v, f), Ae(M), f && Je(() => {
|
|
5039
|
+
A && (P || (P = fr(n, mr, { duration: (
|
|
5040
5040
|
/*duration*/
|
|
5041
5041
|
e[2]
|
|
5042
|
-
) }, !0)),
|
|
5042
|
+
) }, !0)), P.run(1));
|
|
5043
5043
|
}), A = !0);
|
|
5044
5044
|
},
|
|
5045
5045
|
o(f) {
|
|
5046
|
-
Ne(
|
|
5046
|
+
Ne(q, f), Ne(_, f), Ne(v, f), Ne(M), f && (P || (P = fr(n, mr, { duration: (
|
|
5047
5047
|
/*duration*/
|
|
5048
5048
|
e[2]
|
|
5049
|
-
) }, !1)),
|
|
5049
|
+
) }, !1)), P.run(0)), A = !1;
|
|
5050
5050
|
},
|
|
5051
5051
|
d(f) {
|
|
5052
|
-
f &&
|
|
5052
|
+
f && be(t), q && q.d(f), _ && _.d(f), v && v.d(f), p[m].d(), e[21](null), W(), f && P && P.end(), e[23](null), R = !1, Re(I);
|
|
5053
5053
|
}
|
|
5054
5054
|
};
|
|
5055
5055
|
}
|
|
@@ -5057,14 +5057,14 @@ function Xa(e) {
|
|
|
5057
5057
|
let t, n;
|
|
5058
5058
|
return {
|
|
5059
5059
|
c() {
|
|
5060
|
-
t =
|
|
5060
|
+
t = te("img"), Tn(t.src, n = Ua) || G(t, "src", n), G(t, "width", "300px"), G(t, "alt", "error");
|
|
5061
5061
|
},
|
|
5062
5062
|
m(r, i) {
|
|
5063
|
-
|
|
5063
|
+
_e(r, t, i);
|
|
5064
5064
|
},
|
|
5065
|
-
p:
|
|
5065
|
+
p: pe,
|
|
5066
5066
|
d(r) {
|
|
5067
|
-
r &&
|
|
5067
|
+
r && be(t);
|
|
5068
5068
|
}
|
|
5069
5069
|
};
|
|
5070
5070
|
}
|
|
@@ -5072,11 +5072,11 @@ function Ja(e) {
|
|
|
5072
5072
|
let t, n;
|
|
5073
5073
|
return {
|
|
5074
5074
|
c() {
|
|
5075
|
-
t =
|
|
5075
|
+
t = te("img"), Tn(t.src, n = `${/*assetsurl*/
|
|
5076
5076
|
e[3]}/set-timeout-icon.png`) || G(t, "src", n), G(t, "width", "300px"), G(t, "alt", "error");
|
|
5077
5077
|
},
|
|
5078
5078
|
m(r, i) {
|
|
5079
|
-
|
|
5079
|
+
_e(r, t, i);
|
|
5080
5080
|
},
|
|
5081
5081
|
p(r, i) {
|
|
5082
5082
|
i[0] & /*assetsurl*/
|
|
@@ -5084,7 +5084,7 @@ function Ja(e) {
|
|
|
5084
5084
|
r[3]}/set-timeout-icon.png`) && G(t, "src", n);
|
|
5085
5085
|
},
|
|
5086
5086
|
d(r) {
|
|
5087
|
-
r &&
|
|
5087
|
+
r && be(t);
|
|
5088
5088
|
}
|
|
5089
5089
|
};
|
|
5090
5090
|
}
|
|
@@ -5102,13 +5102,13 @@ function Ya(e) {
|
|
|
5102
5102
|
i.c(), t = $r();
|
|
5103
5103
|
},
|
|
5104
5104
|
m(s, a) {
|
|
5105
|
-
i.m(s, a),
|
|
5105
|
+
i.m(s, a), _e(s, t, a);
|
|
5106
5106
|
},
|
|
5107
5107
|
p(s, a) {
|
|
5108
5108
|
r === (r = n(s)) && i ? i.p(s, a) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
5109
5109
|
},
|
|
5110
5110
|
d(s) {
|
|
5111
|
-
s &&
|
|
5111
|
+
s && be(t), i.d(s);
|
|
5112
5112
|
}
|
|
5113
5113
|
};
|
|
5114
5114
|
}
|
|
@@ -5119,10 +5119,10 @@ function qa(e) {
|
|
|
5119
5119
|
), r;
|
|
5120
5120
|
return {
|
|
5121
5121
|
c() {
|
|
5122
|
-
t =
|
|
5122
|
+
t = te("span"), r = $e(n), G(t, "class", "CashierSessionExpirationTitle");
|
|
5123
5123
|
},
|
|
5124
5124
|
m(i, s) {
|
|
5125
|
-
|
|
5125
|
+
_e(i, t, s), $(t, r);
|
|
5126
5126
|
},
|
|
5127
5127
|
p(i, s) {
|
|
5128
5128
|
s[0] & /*$_*/
|
|
@@ -5130,7 +5130,7 @@ function qa(e) {
|
|
|
5130
5130
|
i[8]("sessionExpirationTitle") + "") && Xt(r, n);
|
|
5131
5131
|
},
|
|
5132
5132
|
d(i) {
|
|
5133
|
-
i &&
|
|
5133
|
+
i && be(t);
|
|
5134
5134
|
}
|
|
5135
5135
|
};
|
|
5136
5136
|
}
|
|
@@ -5144,10 +5144,10 @@ function Qa(e) {
|
|
|
5144
5144
|
) + "";
|
|
5145
5145
|
return {
|
|
5146
5146
|
c() {
|
|
5147
|
-
t =
|
|
5147
|
+
t = te("span"), G(t, "class", "CashierSessionExpirationText");
|
|
5148
5148
|
},
|
|
5149
5149
|
m(r, i) {
|
|
5150
|
-
|
|
5150
|
+
_e(r, t, i), t.innerHTML = n;
|
|
5151
5151
|
},
|
|
5152
5152
|
p(r, i) {
|
|
5153
5153
|
i[0] & /*$_, timeLeft*/
|
|
@@ -5160,7 +5160,7 @@ function Qa(e) {
|
|
|
5160
5160
|
) + "") && (t.innerHTML = n);
|
|
5161
5161
|
},
|
|
5162
5162
|
d(r) {
|
|
5163
|
-
r &&
|
|
5163
|
+
r && be(t);
|
|
5164
5164
|
}
|
|
5165
5165
|
};
|
|
5166
5166
|
}
|
|
@@ -5206,7 +5206,7 @@ function Ka(e) {
|
|
|
5206
5206
|
256) && i.p(s, t ? a : [-1, -1]);
|
|
5207
5207
|
},
|
|
5208
5208
|
i(s) {
|
|
5209
|
-
t || (
|
|
5209
|
+
t || (Ae(i, s), t = !0);
|
|
5210
5210
|
},
|
|
5211
5211
|
o(s) {
|
|
5212
5212
|
Ne(i, s), t = !1;
|
|
@@ -5223,20 +5223,20 @@ function $a(e) {
|
|
|
5223
5223
|
), l;
|
|
5224
5224
|
return {
|
|
5225
5225
|
c() {
|
|
5226
|
-
t =
|
|
5226
|
+
t = te("div"), n = ur("svg"), r = ur("path"), i = ft(), s = te("span"), l = $e(a), 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");
|
|
5227
5227
|
},
|
|
5228
5228
|
m(c, u) {
|
|
5229
|
-
|
|
5229
|
+
_e(c, t, u), $(t, n), $(n, r), $(t, i), $(t, s), $(s, l);
|
|
5230
5230
|
},
|
|
5231
5231
|
p(c, u) {
|
|
5232
5232
|
u[0] & /*$_*/
|
|
5233
5233
|
256 && a !== (a = /*$_*/
|
|
5234
5234
|
c[8]("sessionExpirationLoadingButton") + "") && Xt(l, a);
|
|
5235
5235
|
},
|
|
5236
|
-
i:
|
|
5237
|
-
o:
|
|
5236
|
+
i: pe,
|
|
5237
|
+
o: pe,
|
|
5238
5238
|
d(c) {
|
|
5239
|
-
c &&
|
|
5239
|
+
c && be(t);
|
|
5240
5240
|
}
|
|
5241
5241
|
};
|
|
5242
5242
|
}
|
|
@@ -5247,10 +5247,10 @@ function el(e) {
|
|
|
5247
5247
|
), r;
|
|
5248
5248
|
return {
|
|
5249
5249
|
c() {
|
|
5250
|
-
t =
|
|
5250
|
+
t = te("span"), r = $e(n), G(t, "class", "CashierSessionExpirationButtonText");
|
|
5251
5251
|
},
|
|
5252
5252
|
m(i, s) {
|
|
5253
|
-
|
|
5253
|
+
_e(i, t, s), $(t, r);
|
|
5254
5254
|
},
|
|
5255
5255
|
p(i, s) {
|
|
5256
5256
|
s[0] & /*$_*/
|
|
@@ -5258,7 +5258,7 @@ function el(e) {
|
|
|
5258
5258
|
i[8]("sessionExpirationGeneralButton") + "") && Xt(r, n);
|
|
5259
5259
|
},
|
|
5260
5260
|
d(i) {
|
|
5261
|
-
i &&
|
|
5261
|
+
i && be(t);
|
|
5262
5262
|
}
|
|
5263
5263
|
};
|
|
5264
5264
|
}
|
|
@@ -5272,150 +5272,182 @@ function tl(e) {
|
|
|
5272
5272
|
r && r.c(), t = $r();
|
|
5273
5273
|
},
|
|
5274
5274
|
m(i, s) {
|
|
5275
|
-
r && r.m(i, s),
|
|
5275
|
+
r && r.m(i, s), _e(i, t, s), n = !0;
|
|
5276
5276
|
},
|
|
5277
5277
|
p(i, s) {
|
|
5278
5278
|
/*show*/
|
|
5279
5279
|
i[5] ? r ? (r.p(i, s), s[0] & /*show*/
|
|
5280
|
-
32 &&
|
|
5280
|
+
32 && Ae(r, 1)) : (r = Wr(i), r.c(), Ae(r, 1), r.m(t.parentNode, t)) : r && (ti(), Ne(r, 1, 1, () => {
|
|
5281
5281
|
r = null;
|
|
5282
5282
|
}), ni());
|
|
5283
5283
|
},
|
|
5284
5284
|
i(i) {
|
|
5285
|
-
n || (
|
|
5285
|
+
n || (Ae(r), n = !0);
|
|
5286
5286
|
},
|
|
5287
5287
|
o(i) {
|
|
5288
5288
|
Ne(r), n = !1;
|
|
5289
5289
|
},
|
|
5290
5290
|
d(i) {
|
|
5291
|
-
i &&
|
|
5291
|
+
i && be(t), r && r.d(i);
|
|
5292
5292
|
}
|
|
5293
5293
|
};
|
|
5294
5294
|
}
|
|
5295
5295
|
const nl = 90;
|
|
5296
5296
|
function rl(e, t, n) {
|
|
5297
5297
|
let r;
|
|
5298
|
-
Ki(e, ba, (
|
|
5298
|
+
Ki(e, ba, (b) => n(8, r = b));
|
|
5299
5299
|
let { $$slots: i = {}, $$scope: s } = t;
|
|
5300
5300
|
kr.extend(Fa);
|
|
5301
|
-
let { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { width: c } = t, { height: u } = t, { duration: h = 200 } = t, { assetsurl:
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5301
|
+
let { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { width: c } = t, { height: u } = t, { duration: h = 200 } = t, { assetsurl: g = "" } = t, { lang: T = "en" } = t, { translationurl: C = "" } = t, { endpoint: y } = t, { currency: m } = t, { customerid: M } = t, { selectedpaymentmethodname: W } = t, P, A = !1, R = !1, I, j, Y, q, ee, Z;
|
|
5302
|
+
var _;
|
|
5303
|
+
(function(b) {
|
|
5304
|
+
b.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", b.Success = "Success", b.JwtTokenError = "JwtTokenError";
|
|
5305
|
+
})(_ || (_ = {}));
|
|
5306
|
+
const ae = (b) => {
|
|
5307
|
+
b.data.type === "StartSessionCountdown" && (ee = b.data.xPaymentSessionToken, q = b.data.paymentMethodName, E());
|
|
5308
|
+
}, de = (b) => {
|
|
5305
5309
|
try {
|
|
5306
|
-
return JSON.parse(atob(
|
|
5307
|
-
} catch (
|
|
5310
|
+
return JSON.parse(atob(b.split(".")[1]));
|
|
5311
|
+
} catch (F) {
|
|
5308
5312
|
return null;
|
|
5309
5313
|
}
|
|
5310
|
-
},
|
|
5314
|
+
}, v = () => {
|
|
5315
|
+
window.postMessage(
|
|
5316
|
+
{
|
|
5317
|
+
type: "ErrorResponseCode",
|
|
5318
|
+
errorResponseCode: Z
|
|
5319
|
+
},
|
|
5320
|
+
window.location.href
|
|
5321
|
+
);
|
|
5322
|
+
}, E = () => {
|
|
5311
5323
|
n(5, A = !1);
|
|
5312
|
-
const
|
|
5313
|
-
|
|
5324
|
+
const b = de(ee);
|
|
5325
|
+
b && (j = b == null ? void 0 : b.exp, n(7, I = j), Y && clearInterval(Y), Y = setInterval(
|
|
5314
5326
|
() => {
|
|
5315
|
-
const
|
|
5316
|
-
n(7,
|
|
5327
|
+
const F = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
5328
|
+
n(7, I = j - F), I <= nl && n(5, A = !0), F >= j && (p(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
5317
5329
|
},
|
|
5318
5330
|
1e3
|
|
5319
5331
|
));
|
|
5320
|
-
},
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
const
|
|
5332
|
+
}, p = () => {
|
|
5333
|
+
n(7, I = 0), n(5, A = !1), clearInterval(Y);
|
|
5334
|
+
}, S = () => {
|
|
5335
|
+
if (R) return;
|
|
5336
|
+
const b = new URL(`${y}/v1/player/${M}/payment/GetPaymentMethod`), F = new Headers();
|
|
5337
|
+
n(6, R = !0), F.append("accept", "application/json"), F.append("Content-Type", "application/json"), F.append("X-Client-Request-Timestamp", kr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
5338
|
+
const re = {
|
|
5325
5339
|
method: "POST",
|
|
5326
5340
|
mode: "cors",
|
|
5327
|
-
headers:
|
|
5341
|
+
headers: F,
|
|
5328
5342
|
body: JSON.stringify({
|
|
5329
|
-
PaymentMethodName:
|
|
5343
|
+
PaymentMethodName: q || W,
|
|
5330
5344
|
Currency: m,
|
|
5331
|
-
XPaymentSessionToken:
|
|
5345
|
+
XPaymentSessionToken: ee
|
|
5332
5346
|
})
|
|
5333
5347
|
};
|
|
5334
|
-
fetch(
|
|
5335
|
-
Q
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5348
|
+
fetch(b, re).then((Q) => Q.json()).then((Q) => {
|
|
5349
|
+
if (Q.error) {
|
|
5350
|
+
window.postMessage(
|
|
5351
|
+
{
|
|
5352
|
+
type: "ShowSessionError",
|
|
5353
|
+
error: Q.error
|
|
5354
|
+
},
|
|
5355
|
+
window.location.href
|
|
5356
|
+
), p();
|
|
5357
|
+
return;
|
|
5358
|
+
}
|
|
5359
|
+
if (Q.ResponseCode === _.PlayerSessionIsNotValid || Q.ResponseCode === _.JwtTokenError) {
|
|
5360
|
+
Z = Q.ResponseCode, p(), v();
|
|
5361
|
+
return;
|
|
5362
|
+
}
|
|
5363
|
+
if (Q.ResponseCode !== _.Success) {
|
|
5364
|
+
Z = Q.ResponseCode, p();
|
|
5365
|
+
return;
|
|
5366
|
+
}
|
|
5367
|
+
ee = Q.XPaymentSessionToken, E();
|
|
5368
|
+
}).finally(() => n(6, R = !1));
|
|
5369
|
+
}, f = (b) => {
|
|
5370
|
+
const F = b.currentTarget;
|
|
5371
|
+
b.target === F && S();
|
|
5372
|
+
}, x = () => {
|
|
5373
|
+
fetch(C).then((F) => F.json()).then((F) => {
|
|
5374
|
+
Object.keys(F).forEach((re) => {
|
|
5375
|
+
Cr(re, F[re]);
|
|
5344
5376
|
});
|
|
5345
|
-
}).catch((
|
|
5346
|
-
console.log(
|
|
5377
|
+
}).catch((F) => {
|
|
5378
|
+
console.log(F);
|
|
5347
5379
|
});
|
|
5348
5380
|
};
|
|
5349
|
-
Object.keys(Mr).forEach((
|
|
5350
|
-
Cr(
|
|
5381
|
+
Object.keys(Mr).forEach((b) => {
|
|
5382
|
+
Cr(b, Mr[b]);
|
|
5351
5383
|
});
|
|
5352
|
-
const
|
|
5384
|
+
const H = () => {
|
|
5353
5385
|
Ea(T);
|
|
5354
|
-
},
|
|
5355
|
-
let
|
|
5356
|
-
|
|
5357
|
-
},
|
|
5358
|
-
let
|
|
5359
|
-
fetch(
|
|
5360
|
-
|
|
5386
|
+
}, N = () => {
|
|
5387
|
+
let b = document.createElement("style");
|
|
5388
|
+
b.innerHTML = a, P.appendChild(b);
|
|
5389
|
+
}, V = () => {
|
|
5390
|
+
let b = new URL(l), F = document.createElement("style");
|
|
5391
|
+
fetch(b.href).then((re) => re.text()).then((re) => {
|
|
5392
|
+
F.innerHTML = re, setTimeout(
|
|
5361
5393
|
() => {
|
|
5362
|
-
|
|
5394
|
+
P.appendChild(F);
|
|
5363
5395
|
},
|
|
5364
5396
|
1
|
|
5365
5397
|
);
|
|
5366
5398
|
});
|
|
5367
5399
|
};
|
|
5368
|
-
fs(() => (window.addEventListener("message",
|
|
5369
|
-
window.removeEventListener("message",
|
|
5400
|
+
fs(() => (window.addEventListener("message", ae, !1), () => {
|
|
5401
|
+
window.removeEventListener("message", ae);
|
|
5370
5402
|
})), ms(() => {
|
|
5371
|
-
clearInterval(
|
|
5403
|
+
clearInterval(Y);
|
|
5372
5404
|
});
|
|
5373
|
-
function
|
|
5374
|
-
zt[
|
|
5375
|
-
|
|
5405
|
+
function L(b) {
|
|
5406
|
+
zt[b ? "unshift" : "push"](() => {
|
|
5407
|
+
P = b, n(4, P);
|
|
5376
5408
|
});
|
|
5377
5409
|
}
|
|
5378
|
-
function
|
|
5410
|
+
function K() {
|
|
5379
5411
|
c = this.clientWidth, u = this.clientHeight, n(0, c), n(1, u);
|
|
5380
5412
|
}
|
|
5381
|
-
function
|
|
5382
|
-
zt[
|
|
5383
|
-
|
|
5413
|
+
function B(b) {
|
|
5414
|
+
zt[b ? "unshift" : "push"](() => {
|
|
5415
|
+
P = b, n(4, P);
|
|
5384
5416
|
});
|
|
5385
5417
|
}
|
|
5386
|
-
return e.$$set = (
|
|
5387
|
-
"clientstyling" in
|
|
5418
|
+
return e.$$set = (b) => {
|
|
5419
|
+
"clientstyling" in b && n(11, a = b.clientstyling), "clientstylingurl" in b && n(12, l = 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, y = b.endpoint), "currency" in b && n(16, m = b.currency), "customerid" in b && n(17, M = b.customerid), "selectedpaymentmethodname" in b && n(18, W = b.selectedpaymentmethodname), "$$scope" in b && n(19, s = b.$$scope);
|
|
5388
5420
|
}, e.$$.update = () => {
|
|
5389
5421
|
e.$$.dirty[0] & /*lang*/
|
|
5390
|
-
8192 && T &&
|
|
5391
|
-
2064 && a &&
|
|
5392
|
-
4112 && l &&
|
|
5393
|
-
16384 && C &&
|
|
5422
|
+
8192 && T && H(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5423
|
+
2064 && a && P && N(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5424
|
+
4112 && l && P && V(), e.$$.dirty[0] & /*translationurl*/
|
|
5425
|
+
16384 && C && x();
|
|
5394
5426
|
}, [
|
|
5395
5427
|
c,
|
|
5396
5428
|
u,
|
|
5397
5429
|
h,
|
|
5398
|
-
|
|
5399
|
-
|
|
5430
|
+
g,
|
|
5431
|
+
P,
|
|
5400
5432
|
A,
|
|
5401
|
-
|
|
5402
|
-
|
|
5433
|
+
R,
|
|
5434
|
+
I,
|
|
5403
5435
|
r,
|
|
5404
|
-
|
|
5405
|
-
|
|
5436
|
+
S,
|
|
5437
|
+
f,
|
|
5406
5438
|
a,
|
|
5407
5439
|
l,
|
|
5408
5440
|
T,
|
|
5409
5441
|
C,
|
|
5410
|
-
|
|
5442
|
+
y,
|
|
5411
5443
|
m,
|
|
5412
5444
|
M,
|
|
5413
|
-
|
|
5445
|
+
W,
|
|
5414
5446
|
s,
|
|
5415
5447
|
i,
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5448
|
+
L,
|
|
5449
|
+
K,
|
|
5450
|
+
B
|
|
5419
5451
|
];
|
|
5420
5452
|
}
|
|
5421
5453
|
class il extends As {
|
|
@@ -5448,73 +5480,73 @@ class il extends As {
|
|
|
5448
5480
|
return this.$$.ctx[11];
|
|
5449
5481
|
}
|
|
5450
5482
|
set clientstyling(t) {
|
|
5451
|
-
this.$$set({ clientstyling: t }),
|
|
5483
|
+
this.$$set({ clientstyling: t }), me();
|
|
5452
5484
|
}
|
|
5453
5485
|
get clientstylingurl() {
|
|
5454
5486
|
return this.$$.ctx[12];
|
|
5455
5487
|
}
|
|
5456
5488
|
set clientstylingurl(t) {
|
|
5457
|
-
this.$$set({ clientstylingurl: t }),
|
|
5489
|
+
this.$$set({ clientstylingurl: t }), me();
|
|
5458
5490
|
}
|
|
5459
5491
|
get width() {
|
|
5460
5492
|
return this.$$.ctx[0];
|
|
5461
5493
|
}
|
|
5462
5494
|
set width(t) {
|
|
5463
|
-
this.$$set({ width: t }),
|
|
5495
|
+
this.$$set({ width: t }), me();
|
|
5464
5496
|
}
|
|
5465
5497
|
get height() {
|
|
5466
5498
|
return this.$$.ctx[1];
|
|
5467
5499
|
}
|
|
5468
5500
|
set height(t) {
|
|
5469
|
-
this.$$set({ height: t }),
|
|
5501
|
+
this.$$set({ height: t }), me();
|
|
5470
5502
|
}
|
|
5471
5503
|
get duration() {
|
|
5472
5504
|
return this.$$.ctx[2];
|
|
5473
5505
|
}
|
|
5474
5506
|
set duration(t) {
|
|
5475
|
-
this.$$set({ duration: t }),
|
|
5507
|
+
this.$$set({ duration: t }), me();
|
|
5476
5508
|
}
|
|
5477
5509
|
get assetsurl() {
|
|
5478
5510
|
return this.$$.ctx[3];
|
|
5479
5511
|
}
|
|
5480
5512
|
set assetsurl(t) {
|
|
5481
|
-
this.$$set({ assetsurl: t }),
|
|
5513
|
+
this.$$set({ assetsurl: t }), me();
|
|
5482
5514
|
}
|
|
5483
5515
|
get lang() {
|
|
5484
5516
|
return this.$$.ctx[13];
|
|
5485
5517
|
}
|
|
5486
5518
|
set lang(t) {
|
|
5487
|
-
this.$$set({ lang: t }),
|
|
5519
|
+
this.$$set({ lang: t }), me();
|
|
5488
5520
|
}
|
|
5489
5521
|
get translationurl() {
|
|
5490
5522
|
return this.$$.ctx[14];
|
|
5491
5523
|
}
|
|
5492
5524
|
set translationurl(t) {
|
|
5493
|
-
this.$$set({ translationurl: t }),
|
|
5525
|
+
this.$$set({ translationurl: t }), me();
|
|
5494
5526
|
}
|
|
5495
5527
|
get endpoint() {
|
|
5496
5528
|
return this.$$.ctx[15];
|
|
5497
5529
|
}
|
|
5498
5530
|
set endpoint(t) {
|
|
5499
|
-
this.$$set({ endpoint: t }),
|
|
5531
|
+
this.$$set({ endpoint: t }), me();
|
|
5500
5532
|
}
|
|
5501
5533
|
get currency() {
|
|
5502
5534
|
return this.$$.ctx[16];
|
|
5503
5535
|
}
|
|
5504
5536
|
set currency(t) {
|
|
5505
|
-
this.$$set({ currency: t }),
|
|
5537
|
+
this.$$set({ currency: t }), me();
|
|
5506
5538
|
}
|
|
5507
5539
|
get customerid() {
|
|
5508
5540
|
return this.$$.ctx[17];
|
|
5509
5541
|
}
|
|
5510
5542
|
set customerid(t) {
|
|
5511
|
-
this.$$set({ customerid: t }),
|
|
5543
|
+
this.$$set({ customerid: t }), me();
|
|
5512
5544
|
}
|
|
5513
5545
|
get selectedpaymentmethodname() {
|
|
5514
5546
|
return this.$$.ctx[18];
|
|
5515
5547
|
}
|
|
5516
5548
|
set selectedpaymentmethodname(t) {
|
|
5517
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
5549
|
+
this.$$set({ selectedpaymentmethodname: t }), me();
|
|
5518
5550
|
}
|
|
5519
5551
|
}
|
|
5520
5552
|
ws(il, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
|