@everymatrix/cashier-session-expiration-modal 1.74.10 → 1.75.0
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-5NHcewhZ.cjs +22 -0
- package/components/{CashierSessionExpirationModal-0NoY0y90.js → CashierSessionExpirationModal-BOSjOfU2.js} +841 -843
- package/components/{CashierSessionExpirationModal-DfvSYdpz.js → CashierSessionExpirationModal-C86Sxd4B.js} +817 -819
- 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-uM4jfPMr.cjs +0 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function de() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const jr = (e) => e;
|
|
4
|
+
function ji(e, t) {
|
|
5
5
|
for (const n in t)
|
|
6
6
|
e[n] = t[n];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function $i(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function zr(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ir() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function He(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(zr);
|
|
20
20
|
}
|
|
21
21
|
function Vt(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Wr(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
27
|
let St;
|
|
28
28
|
function En(e, t) {
|
|
29
29
|
return e === t ? !0 : (St || (St = document.createElement("a")), St.href = t, e === St.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function zi(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Vr(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const r of t)
|
|
37
37
|
r(void 0);
|
|
@@ -40,17 +40,17 @@ function Wr(e, ...t) {
|
|
|
40
40
|
const n = e.subscribe(...t);
|
|
41
41
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e.$$.on_destroy.push(
|
|
43
|
+
function sr(e, t, n) {
|
|
44
|
+
e.$$.on_destroy.push(Vr(t, n));
|
|
45
45
|
}
|
|
46
46
|
function Nt(e, t, n, r) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Xr(e, t, n, r);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && r ?
|
|
52
|
+
function Xr(e, t, n, r) {
|
|
53
|
+
return e[1] && r ? ji(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
54
54
|
}
|
|
55
55
|
function Lt(e, t, n, r) {
|
|
56
56
|
if (e[2] && r) {
|
|
@@ -58,8 +58,8 @@ function Lt(e, t, n, r) {
|
|
|
58
58
|
if (t.dirty === void 0)
|
|
59
59
|
return i;
|
|
60
60
|
if (typeof i == "object") {
|
|
61
|
-
const s = [],
|
|
62
|
-
for (let a = 0; a <
|
|
61
|
+
const s = [], l = Math.max(t.dirty.length, i.length);
|
|
62
|
+
for (let a = 0; a < l; a += 1)
|
|
63
63
|
s[a] = t.dirty[a] | i[a];
|
|
64
64
|
return s;
|
|
65
65
|
}
|
|
@@ -69,8 +69,8 @@ function Lt(e, t, n, r) {
|
|
|
69
69
|
}
|
|
70
70
|
function Ht(e, t, n, r, i, s) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const
|
|
73
|
-
e.p(
|
|
72
|
+
const l = Xr(t, n, r, s);
|
|
73
|
+
e.p(l, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function Rt(e) {
|
|
@@ -82,17 +82,17 @@ function Rt(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
const
|
|
86
|
-
let
|
|
85
|
+
const Yr = typeof window < "u";
|
|
86
|
+
let Wi = Yr ? () => window.performance.now() : () => Date.now(), Nn = Yr ? (e) => requestAnimationFrame(e) : de;
|
|
87
87
|
const We = /* @__PURE__ */ new Set();
|
|
88
|
-
function
|
|
88
|
+
function Zr(e) {
|
|
89
89
|
We.forEach((t) => {
|
|
90
90
|
t.c(e) || (We.delete(t), t.f());
|
|
91
|
-
}), We.size !== 0 && Nn(
|
|
91
|
+
}), We.size !== 0 && Nn(Zr);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Vi(e) {
|
|
94
94
|
let t;
|
|
95
|
-
return We.size === 0 && Nn(
|
|
95
|
+
return We.size === 0 && Nn(Zr), {
|
|
96
96
|
promise: new Promise((n) => {
|
|
97
97
|
We.add(t = { c: e, f: n });
|
|
98
98
|
}),
|
|
@@ -101,14 +101,14 @@ function Wi(e) {
|
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function J(e, t) {
|
|
105
105
|
e.appendChild(t);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Xi(e, t, n) {
|
|
108
108
|
const r = Ln(e);
|
|
109
109
|
if (!r.getElementById(t)) {
|
|
110
110
|
const i = te("style");
|
|
111
|
-
i.id = t, i.textContent = n,
|
|
111
|
+
i.id = t, i.textContent = n, qr(r, i);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
function Ln(e) {
|
|
@@ -121,12 +121,12 @@ function Ln(e) {
|
|
|
121
121
|
t
|
|
122
122
|
) : e.ownerDocument;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Yi(e) {
|
|
125
125
|
const t = te("style");
|
|
126
|
-
return t.textContent = "/* empty */",
|
|
126
|
+
return t.textContent = "/* empty */", qr(Ln(e), t), t.sheet;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
return
|
|
128
|
+
function qr(e, t) {
|
|
129
|
+
return J(
|
|
130
130
|
/** @type {Document} */
|
|
131
131
|
e.head || e,
|
|
132
132
|
t
|
|
@@ -141,7 +141,7 @@ function ge(e) {
|
|
|
141
141
|
function te(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function or(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
147
|
function Qe(e) {
|
|
@@ -150,7 +150,7 @@ function Qe(e) {
|
|
|
150
150
|
function ft() {
|
|
151
151
|
return Qe(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Jr() {
|
|
154
154
|
return Qe("");
|
|
155
155
|
}
|
|
156
156
|
function kt(e, t, n, r) {
|
|
@@ -159,7 +159,7 @@ function kt(e, t, n, r) {
|
|
|
159
159
|
function j(e, t, n) {
|
|
160
160
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Zi(e) {
|
|
163
163
|
return Array.from(e.childNodes);
|
|
164
164
|
}
|
|
165
165
|
function Xt(e, t) {
|
|
@@ -167,7 +167,7 @@ function Xt(e, t) {
|
|
|
167
167
|
t);
|
|
168
168
|
}
|
|
169
169
|
let wt;
|
|
170
|
-
function
|
|
170
|
+
function qi() {
|
|
171
171
|
if (wt === void 0) {
|
|
172
172
|
wt = !1;
|
|
173
173
|
try {
|
|
@@ -178,32 +178,32 @@ function Zi() {
|
|
|
178
178
|
}
|
|
179
179
|
return wt;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Ji(e, t) {
|
|
182
182
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
183
183
|
const r = te("iframe");
|
|
184
184
|
r.setAttribute(
|
|
185
185
|
"style",
|
|
186
186
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
187
187
|
), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
|
|
188
|
-
const i =
|
|
188
|
+
const i = qi();
|
|
189
189
|
let s;
|
|
190
190
|
return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = kt(
|
|
191
191
|
window,
|
|
192
192
|
"message",
|
|
193
193
|
/** @param {MessageEvent} event */
|
|
194
|
-
(
|
|
195
|
-
|
|
194
|
+
(l) => {
|
|
195
|
+
l.source === r.contentWindow && t();
|
|
196
196
|
}
|
|
197
197
|
)) : (r.src = "about:blank", r.onload = () => {
|
|
198
198
|
s = kt(r.contentWindow, "resize", t), t();
|
|
199
|
-
}),
|
|
199
|
+
}), J(e, r), () => {
|
|
200
200
|
(i || s && r.contentWindow) && s(), ge(r);
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Qi(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
204
204
|
return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Ki(e) {
|
|
207
207
|
const t = {};
|
|
208
208
|
return e.childNodes.forEach(
|
|
209
209
|
/** @param {Element} node */
|
|
@@ -214,39 +214,39 @@ function Qi(e) {
|
|
|
214
214
|
}
|
|
215
215
|
const Ft = /* @__PURE__ */ new Map();
|
|
216
216
|
let Gt = 0;
|
|
217
|
-
function
|
|
217
|
+
function es(e) {
|
|
218
218
|
let t = 5381, n = e.length;
|
|
219
219
|
for (; n--; )
|
|
220
220
|
t = (t << 5) - t ^ e.charCodeAt(n);
|
|
221
221
|
return t >>> 0;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
const n = { stylesheet:
|
|
223
|
+
function ts(e, t) {
|
|
224
|
+
const n = { stylesheet: Yi(t), rules: {} };
|
|
225
225
|
return Ft.set(e, n), n;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function ar(e, t, n, r, i, s, l, a = 0) {
|
|
228
228
|
const c = 16.666 / r;
|
|
229
|
-
let
|
|
229
|
+
let u = `{
|
|
230
230
|
`;
|
|
231
|
-
for (let
|
|
232
|
-
const $ = t + (n - t) * s(
|
|
233
|
-
|
|
231
|
+
for (let C = 0; C <= 1; C += c) {
|
|
232
|
+
const $ = t + (n - t) * s(C);
|
|
233
|
+
u += C * 100 + `%{${l($, 1 - $)}}
|
|
234
234
|
`;
|
|
235
235
|
}
|
|
236
|
-
const f =
|
|
237
|
-
}`, b = `__svelte_${
|
|
238
|
-
E[b] || (E[b] = !0,
|
|
236
|
+
const f = u + `100% {${l(n, 1 - n)}}
|
|
237
|
+
}`, b = `__svelte_${es(f)}_${a}`, y = Ln(e), { stylesheet: M, rules: E } = Ft.get(y) || ts(y, e);
|
|
238
|
+
E[b] || (E[b] = !0, M.insertRule(`@keyframes ${b} ${f}`, M.cssRules.length));
|
|
239
239
|
const d = e.style.animation || "";
|
|
240
240
|
return e.style.animation = `${d ? `${d}, ` : ""}${b} ${r}ms linear ${i}ms 1 both`, Gt += 1, b;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function ns(e, t) {
|
|
243
243
|
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
244
244
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
245
245
|
// remove all Svelte animations
|
|
246
246
|
), i = n.length - r.length;
|
|
247
|
-
i && (e.style.animation = r.join(", "), Gt -= i, Gt ||
|
|
247
|
+
i && (e.style.animation = r.join(", "), Gt -= i, Gt || rs());
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function rs() {
|
|
250
250
|
Nn(() => {
|
|
251
251
|
Gt || (Ft.forEach((e) => {
|
|
252
252
|
const { ownerNode: t } = e.stylesheet;
|
|
@@ -258,30 +258,30 @@ let dt;
|
|
|
258
258
|
function mt(e) {
|
|
259
259
|
dt = e;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Qr() {
|
|
262
262
|
if (!dt)
|
|
263
263
|
throw new Error("Function called outside component initialization");
|
|
264
264
|
return dt;
|
|
265
265
|
}
|
|
266
|
-
function rs(e) {
|
|
267
|
-
Jr().$$.on_mount.push(e);
|
|
268
|
-
}
|
|
269
266
|
function is(e) {
|
|
270
|
-
|
|
267
|
+
Qr().$$.on_mount.push(e);
|
|
268
|
+
}
|
|
269
|
+
function ss(e) {
|
|
270
|
+
Qr().$$.on_destroy.push(e);
|
|
271
271
|
}
|
|
272
272
|
const ze = [], $t = [];
|
|
273
273
|
let Ve = [];
|
|
274
|
-
const
|
|
274
|
+
const lr = [], os = /* @__PURE__ */ Promise.resolve();
|
|
275
275
|
let _n = !1;
|
|
276
|
-
function
|
|
277
|
-
_n || (_n = !0,
|
|
276
|
+
function as() {
|
|
277
|
+
_n || (_n = !0, os.then(ue));
|
|
278
278
|
}
|
|
279
279
|
function Xe(e) {
|
|
280
280
|
Ve.push(e);
|
|
281
281
|
}
|
|
282
282
|
const sn = /* @__PURE__ */ new Set();
|
|
283
283
|
let $e = 0;
|
|
284
|
-
function
|
|
284
|
+
function ue() {
|
|
285
285
|
if ($e !== 0)
|
|
286
286
|
return;
|
|
287
287
|
const e = dt;
|
|
@@ -289,7 +289,7 @@ function le() {
|
|
|
289
289
|
try {
|
|
290
290
|
for (; $e < ze.length; ) {
|
|
291
291
|
const t = ze[$e];
|
|
292
|
-
$e++, mt(t),
|
|
292
|
+
$e++, mt(t), ls(t.$$);
|
|
293
293
|
}
|
|
294
294
|
} catch (t) {
|
|
295
295
|
throw ze.length = 0, $e = 0, t;
|
|
@@ -302,11 +302,11 @@ function le() {
|
|
|
302
302
|
}
|
|
303
303
|
Ve.length = 0;
|
|
304
304
|
} while (ze.length);
|
|
305
|
-
for (;
|
|
306
|
-
|
|
305
|
+
for (; lr.length; )
|
|
306
|
+
lr.pop()();
|
|
307
307
|
_n = !1, sn.clear(), mt(e);
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function ls(e) {
|
|
310
310
|
if (e.fragment !== null) {
|
|
311
311
|
e.update(), He(e.before_update);
|
|
312
312
|
const t = e.dirty;
|
|
@@ -318,17 +318,17 @@ function us(e) {
|
|
|
318
318
|
Ve.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ve = t;
|
|
319
319
|
}
|
|
320
320
|
let it;
|
|
321
|
-
function
|
|
321
|
+
function cs() {
|
|
322
322
|
return it || (it = Promise.resolve(), it.then(() => {
|
|
323
323
|
it = null;
|
|
324
324
|
})), it;
|
|
325
325
|
}
|
|
326
326
|
function on(e, t, n) {
|
|
327
|
-
e.dispatchEvent(
|
|
327
|
+
e.dispatchEvent(Qi(`${t ? "intro" : "outro"}${n}`));
|
|
328
328
|
}
|
|
329
329
|
const Pt = /* @__PURE__ */ new Set();
|
|
330
330
|
let Me;
|
|
331
|
-
function
|
|
331
|
+
function Kr() {
|
|
332
332
|
Me = {
|
|
333
333
|
r: 0,
|
|
334
334
|
c: [],
|
|
@@ -336,7 +336,7 @@ function Qr() {
|
|
|
336
336
|
// parent group
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function ei() {
|
|
340
340
|
Me.r || He(Me.c), Me = Me.p;
|
|
341
341
|
}
|
|
342
342
|
function Ae(e, t) {
|
|
@@ -352,43 +352,43 @@ function Ne(e, t, n, r) {
|
|
|
352
352
|
} else
|
|
353
353
|
r && r();
|
|
354
354
|
}
|
|
355
|
-
const
|
|
355
|
+
const fs = { duration: 0 };
|
|
356
356
|
function ur(e, t, n, r) {
|
|
357
|
-
let s = t(e, n, { direction: "both" }),
|
|
357
|
+
let s = t(e, n, { direction: "both" }), l = r ? 0 : 1, a = null, c = null, u = null, f;
|
|
358
358
|
function b() {
|
|
359
|
-
|
|
359
|
+
u && ns(e, u);
|
|
360
360
|
}
|
|
361
361
|
function y(E, d) {
|
|
362
|
-
const
|
|
362
|
+
const C = (
|
|
363
363
|
/** @type {Program['d']} */
|
|
364
|
-
E.b -
|
|
364
|
+
E.b - l
|
|
365
365
|
);
|
|
366
|
-
return d *= Math.abs(
|
|
367
|
-
a:
|
|
366
|
+
return d *= Math.abs(C), {
|
|
367
|
+
a: l,
|
|
368
368
|
b: E.b,
|
|
369
|
-
d:
|
|
369
|
+
d: C,
|
|
370
370
|
duration: d,
|
|
371
371
|
start: E.start,
|
|
372
372
|
end: E.start + d,
|
|
373
373
|
group: E.group
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function M(E) {
|
|
377
377
|
const {
|
|
378
378
|
delay: d = 0,
|
|
379
|
-
duration:
|
|
380
|
-
easing: $ =
|
|
379
|
+
duration: C = 300,
|
|
380
|
+
easing: $ = jr,
|
|
381
381
|
tick: U = de,
|
|
382
|
-
css:
|
|
383
|
-
} = s ||
|
|
384
|
-
start:
|
|
382
|
+
css: S
|
|
383
|
+
} = s || fs, H = {
|
|
384
|
+
start: Wi() + d,
|
|
385
385
|
b: E
|
|
386
386
|
};
|
|
387
387
|
E || (H.group = Me, Me.r += 1), "inert" in e && (E ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
|
|
388
|
-
e.inert, e.inert = !0)), a || c ? c = H : (
|
|
389
|
-
if (c && I > c.start && (a = y(c,
|
|
388
|
+
e.inert, e.inert = !0)), a || c ? c = H : (S && (b(), u = ar(e, l, E, C, d, $, S)), E && U(0, 1), a = y(H, C), Xe(() => on(e, E, "start")), Vi((I) => {
|
|
389
|
+
if (c && I > c.start && (a = y(c, C), c = null, on(e, a.b, "start"), S && (b(), u = ar(
|
|
390
390
|
e,
|
|
391
|
-
|
|
391
|
+
l,
|
|
392
392
|
a.b,
|
|
393
393
|
a.duration,
|
|
394
394
|
0,
|
|
@@ -396,10 +396,10 @@ function ur(e, t, n, r) {
|
|
|
396
396
|
s.css
|
|
397
397
|
))), a) {
|
|
398
398
|
if (I >= a.end)
|
|
399
|
-
U(
|
|
399
|
+
U(l = a.b, 1 - l), on(e, a.b, "end"), c || (a.b ? b() : --a.group.r || He(a.group.c)), a = null;
|
|
400
400
|
else if (I >= a.start) {
|
|
401
401
|
const F = I - a.start;
|
|
402
|
-
|
|
402
|
+
l = a.a + a.d * $(F / a.duration), U(l, 1 - l);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
return !!(a || c);
|
|
@@ -407,40 +407,40 @@ function ur(e, t, n, r) {
|
|
|
407
407
|
}
|
|
408
408
|
return {
|
|
409
409
|
run(E) {
|
|
410
|
-
Vt(s) ?
|
|
411
|
-
s = s({ direction: E ? "in" : "out" }),
|
|
412
|
-
}) :
|
|
410
|
+
Vt(s) ? cs().then(() => {
|
|
411
|
+
s = s({ direction: E ? "in" : "out" }), M(E);
|
|
412
|
+
}) : M(E);
|
|
413
413
|
},
|
|
414
414
|
end() {
|
|
415
415
|
b(), a = c = null;
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function hs(e, t, n) {
|
|
420
420
|
const { fragment: r, after_update: i } = e.$$;
|
|
421
421
|
r && r.m(t, n), Xe(() => {
|
|
422
|
-
const s = e.$$.on_mount.map(
|
|
422
|
+
const s = e.$$.on_mount.map(zr).filter(Vt);
|
|
423
423
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : He(s), e.$$.on_mount = [];
|
|
424
424
|
}), i.forEach(Xe);
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function ms(e, t) {
|
|
427
427
|
const n = e.$$;
|
|
428
428
|
n.fragment !== null && (us(n.after_update), He(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
429
429
|
}
|
|
430
|
-
function
|
|
431
|
-
e.$$.dirty[0] === -1 && (ze.push(e),
|
|
430
|
+
function ds(e, t) {
|
|
431
|
+
e.$$.dirty[0] === -1 && (ze.push(e), as(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function ps(e, t, n, r, i, s, l = null, a = [-1]) {
|
|
434
434
|
const c = dt;
|
|
435
435
|
mt(e);
|
|
436
|
-
const
|
|
436
|
+
const u = e.$$ = {
|
|
437
437
|
fragment: null,
|
|
438
438
|
ctx: [],
|
|
439
439
|
// state
|
|
440
440
|
props: s,
|
|
441
441
|
update: de,
|
|
442
442
|
not_equal: i,
|
|
443
|
-
bound:
|
|
443
|
+
bound: ir(),
|
|
444
444
|
// lifecycle
|
|
445
445
|
on_mount: [],
|
|
446
446
|
on_destroy: [],
|
|
@@ -449,28 +449,28 @@ function ds(e, t, n, r, i, s, u = null, a = [-1]) {
|
|
|
449
449
|
after_update: [],
|
|
450
450
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
451
451
|
// everything else
|
|
452
|
-
callbacks:
|
|
452
|
+
callbacks: ir(),
|
|
453
453
|
dirty: a,
|
|
454
454
|
skip_bound: !1,
|
|
455
455
|
root: t.target || c.$$.root
|
|
456
456
|
};
|
|
457
|
-
|
|
457
|
+
l && l(u.root);
|
|
458
458
|
let f = !1;
|
|
459
|
-
if (
|
|
460
|
-
const E =
|
|
461
|
-
return
|
|
462
|
-
}),
|
|
459
|
+
if (u.ctx = n ? n(e, t.props || {}, (b, y, ...M) => {
|
|
460
|
+
const E = M.length ? M[0] : y;
|
|
461
|
+
return u.ctx && i(u.ctx[b], u.ctx[b] = E) && (!u.skip_bound && u.bound[b] && u.bound[b](E), f && ds(e, b)), y;
|
|
462
|
+
}) : [], u.update(), f = !0, He(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
463
463
|
if (t.hydrate) {
|
|
464
|
-
const b =
|
|
465
|
-
|
|
464
|
+
const b = Zi(t.target);
|
|
465
|
+
u.fragment && u.fragment.l(b), b.forEach(ge);
|
|
466
466
|
} else
|
|
467
|
-
|
|
468
|
-
t.intro && Ae(e.$$.fragment),
|
|
467
|
+
u.fragment && u.fragment.c();
|
|
468
|
+
t.intro && Ae(e.$$.fragment), hs(e, t.target, t.anchor), ue();
|
|
469
469
|
}
|
|
470
470
|
mt(c);
|
|
471
471
|
}
|
|
472
|
-
let
|
|
473
|
-
typeof HTMLElement == "function" && (
|
|
472
|
+
let ti;
|
|
473
|
+
typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
474
474
|
/** The Svelte component constructor */
|
|
475
475
|
$$ctor;
|
|
476
476
|
/** Slots */
|
|
@@ -518,8 +518,8 @@ typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
|
518
518
|
* @param {HTMLElement} target
|
|
519
519
|
* @param {HTMLElement} [anchor]
|
|
520
520
|
*/
|
|
521
|
-
m: function(c,
|
|
522
|
-
Se(c, s,
|
|
521
|
+
m: function(c, u) {
|
|
522
|
+
Se(c, s, u);
|
|
523
523
|
},
|
|
524
524
|
d: function(c) {
|
|
525
525
|
c && ge(s);
|
|
@@ -529,7 +529,7 @@ typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
|
529
529
|
};
|
|
530
530
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
531
531
|
return;
|
|
532
|
-
const t = {}, n =
|
|
532
|
+
const t = {}, n = Ki(this);
|
|
533
533
|
for (const i of this.$$s)
|
|
534
534
|
i in n && (t[i] = [e(i)]);
|
|
535
535
|
for (const i of this.attributes) {
|
|
@@ -565,8 +565,8 @@ typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
|
565
565
|
this.$$c.$$.after_update.push(r), r();
|
|
566
566
|
for (const i in this.$$l)
|
|
567
567
|
for (const s of this.$$l[i]) {
|
|
568
|
-
const
|
|
569
|
-
this.$$l_u.set(s,
|
|
568
|
+
const l = this.$$c.$on(i, s);
|
|
569
|
+
this.$$l_u.set(s, l);
|
|
570
570
|
}
|
|
571
571
|
this.$$l = {};
|
|
572
572
|
}
|
|
@@ -616,8 +616,8 @@ function It(e, t, n, r) {
|
|
|
616
616
|
return t;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
let
|
|
619
|
+
function gs(e, t, n, r, i, s) {
|
|
620
|
+
let l = class extends ti {
|
|
621
621
|
constructor() {
|
|
622
622
|
super(e, n, i), this.$$p_d = t;
|
|
623
623
|
}
|
|
@@ -628,7 +628,7 @@ function ps(e, t, n, r, i, s) {
|
|
|
628
628
|
}
|
|
629
629
|
};
|
|
630
630
|
return Object.keys(t).forEach((a) => {
|
|
631
|
-
Object.defineProperty(
|
|
631
|
+
Object.defineProperty(l.prototype, a, {
|
|
632
632
|
get() {
|
|
633
633
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
634
634
|
},
|
|
@@ -637,15 +637,15 @@ function ps(e, t, n, r, i, s) {
|
|
|
637
637
|
}
|
|
638
638
|
});
|
|
639
639
|
}), r.forEach((a) => {
|
|
640
|
-
Object.defineProperty(
|
|
640
|
+
Object.defineProperty(l.prototype, a, {
|
|
641
641
|
get() {
|
|
642
642
|
return this.$$c?.[a];
|
|
643
643
|
}
|
|
644
644
|
});
|
|
645
645
|
}), e.element = /** @type {any} */
|
|
646
|
-
|
|
646
|
+
l, l;
|
|
647
647
|
}
|
|
648
|
-
class
|
|
648
|
+
class bs {
|
|
649
649
|
/**
|
|
650
650
|
* ### PRIVATE API
|
|
651
651
|
*
|
|
@@ -664,7 +664,7 @@ class gs {
|
|
|
664
664
|
$$set = void 0;
|
|
665
665
|
/** @returns {void} */
|
|
666
666
|
$destroy() {
|
|
667
|
-
|
|
667
|
+
ms(this, 1), this.$destroy = de;
|
|
668
668
|
}
|
|
669
669
|
/**
|
|
670
670
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -686,12 +686,12 @@ class gs {
|
|
|
686
686
|
* @returns {void}
|
|
687
687
|
*/
|
|
688
688
|
$set(t) {
|
|
689
|
-
this.$$set && !
|
|
689
|
+
this.$$set && !zi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
const
|
|
693
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
694
|
-
function
|
|
692
|
+
const Es = "4";
|
|
693
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Es);
|
|
694
|
+
function cr(e, { delay: t = 0, duration: n = 400, easing: r = jr } = {}) {
|
|
695
695
|
const i = +getComputedStyle(e).opacity;
|
|
696
696
|
return {
|
|
697
697
|
delay: t,
|
|
@@ -701,7 +701,7 @@ function lr(e, { delay: t = 0, duration: n = 400, easing: r = $r } = {}) {
|
|
|
701
701
|
};
|
|
702
702
|
}
|
|
703
703
|
const je = [];
|
|
704
|
-
function
|
|
704
|
+
function _s(e, t) {
|
|
705
705
|
return {
|
|
706
706
|
subscribe: bt(e, t).subscribe
|
|
707
707
|
};
|
|
@@ -710,13 +710,13 @@ function bt(e, t = de) {
|
|
|
710
710
|
let n;
|
|
711
711
|
const r = /* @__PURE__ */ new Set();
|
|
712
712
|
function i(a) {
|
|
713
|
-
if (
|
|
713
|
+
if (Wr(e, a) && (e = a, n)) {
|
|
714
714
|
const c = !je.length;
|
|
715
|
-
for (const
|
|
716
|
-
|
|
715
|
+
for (const u of r)
|
|
716
|
+
u[1](), je.push(u, e);
|
|
717
717
|
if (c) {
|
|
718
|
-
for (let
|
|
719
|
-
je[
|
|
718
|
+
for (let u = 0; u < je.length; u += 2)
|
|
719
|
+
je[u][0](je[u + 1]);
|
|
720
720
|
je.length = 0;
|
|
721
721
|
}
|
|
722
722
|
}
|
|
@@ -724,34 +724,34 @@ function bt(e, t = de) {
|
|
|
724
724
|
function s(a) {
|
|
725
725
|
i(a(e));
|
|
726
726
|
}
|
|
727
|
-
function
|
|
728
|
-
const
|
|
729
|
-
return r.add(
|
|
730
|
-
r.delete(
|
|
727
|
+
function l(a, c = de) {
|
|
728
|
+
const u = [a, c];
|
|
729
|
+
return r.add(u), r.size === 1 && (n = t(i, s) || de), a(e), () => {
|
|
730
|
+
r.delete(u), r.size === 0 && n && (n(), n = null);
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
|
-
return { set: i, update: s, subscribe:
|
|
733
|
+
return { set: i, update: s, subscribe: l };
|
|
734
734
|
}
|
|
735
735
|
function Ke(e, t, n) {
|
|
736
736
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
737
737
|
if (!i.every(Boolean))
|
|
738
738
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
739
739
|
const s = t.length < 2;
|
|
740
|
-
return
|
|
740
|
+
return _s(n, (l, a) => {
|
|
741
741
|
let c = !1;
|
|
742
|
-
const
|
|
742
|
+
const u = [];
|
|
743
743
|
let f = 0, b = de;
|
|
744
744
|
const y = () => {
|
|
745
745
|
if (f)
|
|
746
746
|
return;
|
|
747
747
|
b();
|
|
748
|
-
const E = t(r ?
|
|
749
|
-
s ?
|
|
750
|
-
},
|
|
751
|
-
(E, d) =>
|
|
748
|
+
const E = t(r ? u[0] : u, l, a);
|
|
749
|
+
s ? l(E) : b = Vt(E) ? E : de;
|
|
750
|
+
}, M = i.map(
|
|
751
|
+
(E, d) => Vr(
|
|
752
752
|
E,
|
|
753
|
-
(
|
|
754
|
-
|
|
753
|
+
(C) => {
|
|
754
|
+
u[d] = C, f &= ~(1 << d), c && y();
|
|
755
755
|
},
|
|
756
756
|
() => {
|
|
757
757
|
f |= 1 << d;
|
|
@@ -759,75 +759,75 @@ function Ke(e, t, n) {
|
|
|
759
759
|
)
|
|
760
760
|
);
|
|
761
761
|
return c = !0, y(), function() {
|
|
762
|
-
He(
|
|
762
|
+
He(M), b(), c = !1;
|
|
763
763
|
};
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
|
-
var
|
|
766
|
+
var ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
767
767
|
function Hn(e) {
|
|
768
768
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
769
769
|
}
|
|
770
|
-
var
|
|
771
|
-
return
|
|
770
|
+
var ys = function(t) {
|
|
771
|
+
return Ts(t) && !xs(t);
|
|
772
772
|
};
|
|
773
|
-
function
|
|
773
|
+
function Ts(e) {
|
|
774
774
|
return !!e && typeof e == "object";
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function xs(e) {
|
|
777
777
|
var t = Object.prototype.toString.call(e);
|
|
778
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
779
|
-
}
|
|
780
|
-
var xs = typeof Symbol == "function" && Symbol.for, vs = xs ? Symbol.for("react.element") : 60103;
|
|
781
|
-
function As(e) {
|
|
782
|
-
return e.$$typeof === vs;
|
|
778
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ss(e);
|
|
783
779
|
}
|
|
780
|
+
var vs = typeof Symbol == "function" && Symbol.for, As = vs ? Symbol.for("react.element") : 60103;
|
|
784
781
|
function Ss(e) {
|
|
782
|
+
return e.$$typeof === As;
|
|
783
|
+
}
|
|
784
|
+
function ws(e) {
|
|
785
785
|
return Array.isArray(e) ? [] : {};
|
|
786
786
|
}
|
|
787
787
|
function pt(e, t) {
|
|
788
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ye(
|
|
788
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ye(ws(e), e, t) : e;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Os(e, t, n) {
|
|
791
791
|
return e.concat(t).map(function(r) {
|
|
792
792
|
return pt(r, n);
|
|
793
793
|
});
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function Ms(e, t) {
|
|
796
796
|
if (!t.customMerge)
|
|
797
797
|
return Ye;
|
|
798
798
|
var n = t.customMerge(e);
|
|
799
799
|
return typeof n == "function" ? n : Ye;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function Cs(e) {
|
|
802
802
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
803
803
|
return Object.propertyIsEnumerable.call(e, t);
|
|
804
804
|
}) : [];
|
|
805
805
|
}
|
|
806
|
-
function
|
|
807
|
-
return Object.keys(e).concat(
|
|
806
|
+
function fr(e) {
|
|
807
|
+
return Object.keys(e).concat(Cs(e));
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function ri(e, t) {
|
|
810
810
|
try {
|
|
811
811
|
return t in e;
|
|
812
812
|
} catch {
|
|
813
813
|
return !1;
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
function
|
|
817
|
-
return
|
|
816
|
+
function Ns(e, t) {
|
|
817
|
+
return ri(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
818
818
|
}
|
|
819
|
-
function
|
|
819
|
+
function Ls(e, t, n) {
|
|
820
820
|
var r = {};
|
|
821
|
-
return n.isMergeableObject(e) &&
|
|
821
|
+
return n.isMergeableObject(e) && fr(e).forEach(function(i) {
|
|
822
822
|
r[i] = pt(e[i], n);
|
|
823
|
-
}),
|
|
824
|
-
|
|
823
|
+
}), fr(t).forEach(function(i) {
|
|
824
|
+
Ns(e, i) || (ri(e, i) && n.isMergeableObject(t[i]) ? r[i] = Ms(i, n)(e[i], t[i], n) : r[i] = pt(t[i], n));
|
|
825
825
|
}), r;
|
|
826
826
|
}
|
|
827
827
|
function Ye(e, t, n) {
|
|
828
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
828
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Os, n.isMergeableObject = n.isMergeableObject || ys, n.cloneUnlessOtherwiseSpecified = pt;
|
|
829
829
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
830
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
830
|
+
return s ? r ? n.arrayMerge(e, t, n) : Ls(e, t, n) : pt(t, n);
|
|
831
831
|
}
|
|
832
832
|
Ye.all = function(t, n) {
|
|
833
833
|
if (!Array.isArray(t))
|
|
@@ -836,8 +836,8 @@ Ye.all = function(t, n) {
|
|
|
836
836
|
return Ye(r, i, n);
|
|
837
837
|
}, {});
|
|
838
838
|
};
|
|
839
|
-
var
|
|
840
|
-
const
|
|
839
|
+
var Hs = Ye, Rs = Hs;
|
|
840
|
+
const Ps = /* @__PURE__ */ Hn(Rs);
|
|
841
841
|
/*! *****************************************************************************
|
|
842
842
|
Copyright (c) Microsoft Corporation.
|
|
843
843
|
|
|
@@ -879,7 +879,7 @@ var k = function() {
|
|
|
879
879
|
return t;
|
|
880
880
|
}, k.apply(this, arguments);
|
|
881
881
|
};
|
|
882
|
-
function
|
|
882
|
+
function Is(e, t) {
|
|
883
883
|
var n = {};
|
|
884
884
|
for (var r in e)
|
|
885
885
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -894,104 +894,102 @@ function an(e, t, n) {
|
|
|
894
894
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
895
895
|
return e.concat(s || t);
|
|
896
896
|
}
|
|
897
|
-
function
|
|
898
|
-
var n = t && t.cache ? t.cache : Gs, r = t && t.serializer ? t.serializer :
|
|
897
|
+
function ln(e, t) {
|
|
898
|
+
var n = t && t.cache ? t.cache : Gs, r = t && t.serializer ? t.serializer : Fs, i = t && t.strategy ? t.strategy : Bs;
|
|
899
899
|
return i(e, {
|
|
900
900
|
cache: n,
|
|
901
901
|
serializer: r
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function Ds(e) {
|
|
905
905
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
906
906
|
}
|
|
907
|
-
function
|
|
908
|
-
var i =
|
|
907
|
+
function ii(e, t, n, r) {
|
|
908
|
+
var i = Ds(r) ? r : n(r), s = t.get(i);
|
|
909
909
|
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function si(e, t, n) {
|
|
912
912
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
913
913
|
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
914
914
|
}
|
|
915
915
|
function Rn(e, t, n, r, i) {
|
|
916
916
|
return n.bind(t, e, r, i);
|
|
917
917
|
}
|
|
918
|
-
function Ds(e, t) {
|
|
919
|
-
var n = e.length === 1 ? ri : ii;
|
|
920
|
-
return Rn(e, this, n, t.cache.create(), t.serializer);
|
|
921
|
-
}
|
|
922
918
|
function Bs(e, t) {
|
|
923
|
-
|
|
919
|
+
var n = e.length === 1 ? ii : si;
|
|
920
|
+
return Rn(e, this, n, t.cache.create(), t.serializer);
|
|
924
921
|
}
|
|
925
922
|
function Us(e, t) {
|
|
926
|
-
return Rn(e, this,
|
|
923
|
+
return Rn(e, this, si, t.cache.create(), t.serializer);
|
|
924
|
+
}
|
|
925
|
+
function ks(e, t) {
|
|
926
|
+
return Rn(e, this, ii, t.cache.create(), t.serializer);
|
|
927
927
|
}
|
|
928
|
-
var
|
|
928
|
+
var Fs = function() {
|
|
929
929
|
return JSON.stringify(arguments);
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
}()
|
|
942
|
-
), Gs = {
|
|
930
|
+
};
|
|
931
|
+
function Pn() {
|
|
932
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
933
|
+
}
|
|
934
|
+
Pn.prototype.get = function(e) {
|
|
935
|
+
return this.cache[e];
|
|
936
|
+
};
|
|
937
|
+
Pn.prototype.set = function(e, t) {
|
|
938
|
+
this.cache[e] = t;
|
|
939
|
+
};
|
|
940
|
+
var Gs = {
|
|
943
941
|
create: function() {
|
|
944
|
-
return new
|
|
942
|
+
return new Pn();
|
|
945
943
|
}
|
|
946
|
-
},
|
|
947
|
-
variadic:
|
|
948
|
-
monadic:
|
|
944
|
+
}, un = {
|
|
945
|
+
variadic: Us,
|
|
946
|
+
monadic: ks
|
|
949
947
|
}, D;
|
|
950
948
|
(function(e) {
|
|
951
949
|
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";
|
|
952
950
|
})(D || (D = {}));
|
|
953
|
-
var
|
|
951
|
+
var Y;
|
|
954
952
|
(function(e) {
|
|
955
953
|
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";
|
|
956
|
-
})(
|
|
954
|
+
})(Y || (Y = {}));
|
|
957
955
|
var Ze;
|
|
958
956
|
(function(e) {
|
|
959
957
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
960
958
|
})(Ze || (Ze = {}));
|
|
961
|
-
function
|
|
962
|
-
return e.type ===
|
|
959
|
+
function hr(e) {
|
|
960
|
+
return e.type === Y.literal;
|
|
963
961
|
}
|
|
964
962
|
function $s(e) {
|
|
965
|
-
return e.type ===
|
|
966
|
-
}
|
|
967
|
-
function si(e) {
|
|
968
|
-
return e.type === X.number;
|
|
963
|
+
return e.type === Y.argument;
|
|
969
964
|
}
|
|
970
965
|
function oi(e) {
|
|
971
|
-
return e.type ===
|
|
966
|
+
return e.type === Y.number;
|
|
972
967
|
}
|
|
973
968
|
function ai(e) {
|
|
974
|
-
return e.type ===
|
|
975
|
-
}
|
|
976
|
-
function ui(e) {
|
|
977
|
-
return e.type === X.select;
|
|
969
|
+
return e.type === Y.date;
|
|
978
970
|
}
|
|
979
971
|
function li(e) {
|
|
980
|
-
return e.type ===
|
|
972
|
+
return e.type === Y.time;
|
|
981
973
|
}
|
|
982
|
-
function
|
|
983
|
-
return e.type ===
|
|
974
|
+
function ui(e) {
|
|
975
|
+
return e.type === Y.select;
|
|
984
976
|
}
|
|
985
977
|
function ci(e) {
|
|
986
|
-
return e.type ===
|
|
978
|
+
return e.type === Y.plural;
|
|
979
|
+
}
|
|
980
|
+
function js(e) {
|
|
981
|
+
return e.type === Y.pound;
|
|
987
982
|
}
|
|
988
983
|
function fi(e) {
|
|
984
|
+
return e.type === Y.tag;
|
|
985
|
+
}
|
|
986
|
+
function hi(e) {
|
|
989
987
|
return !!(e && typeof e == "object" && e.type === Ze.number);
|
|
990
988
|
}
|
|
991
989
|
function Tn(e) {
|
|
992
990
|
return !!(e && typeof e == "object" && e.type === Ze.dateTime);
|
|
993
991
|
}
|
|
994
|
-
var
|
|
992
|
+
var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zs = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
995
993
|
function Ws(e) {
|
|
996
994
|
var t = {};
|
|
997
995
|
return e.replace(zs, function(n) {
|
|
@@ -1090,11 +1088,11 @@ function Xs(e) {
|
|
|
1090
1088
|
for (var t = e.split(Vs).filter(function(y) {
|
|
1091
1089
|
return y.length > 0;
|
|
1092
1090
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1093
|
-
var s = i[r],
|
|
1094
|
-
if (
|
|
1091
|
+
var s = i[r], l = s.split("/");
|
|
1092
|
+
if (l.length === 0)
|
|
1095
1093
|
throw new Error("Invalid number skeleton");
|
|
1096
|
-
for (var a =
|
|
1097
|
-
var b = f[
|
|
1094
|
+
for (var a = l[0], c = l.slice(1), u = 0, f = c; u < f.length; u++) {
|
|
1095
|
+
var b = f[u];
|
|
1098
1096
|
if (b.length === 0)
|
|
1099
1097
|
throw new Error("Invalid number skeleton");
|
|
1100
1098
|
}
|
|
@@ -1105,14 +1103,14 @@ function Xs(e) {
|
|
|
1105
1103
|
function Ys(e) {
|
|
1106
1104
|
return e.replace(/^(.*?)-/, "");
|
|
1107
1105
|
}
|
|
1108
|
-
var
|
|
1109
|
-
function
|
|
1106
|
+
var mr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, di = /^(@+)?(\+|#+)?[rs]?$/g, Zs = /(\*)(0+)|(#+)(0+)|(0+)/g, pi = /^(0+)$/;
|
|
1107
|
+
function dr(e) {
|
|
1110
1108
|
var t = {};
|
|
1111
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1109
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(di, function(n, r, i) {
|
|
1112
1110
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1113
1111
|
}), t;
|
|
1114
1112
|
}
|
|
1115
|
-
function
|
|
1113
|
+
function gi(e) {
|
|
1116
1114
|
switch (e) {
|
|
1117
1115
|
case "sign-auto":
|
|
1118
1116
|
return {
|
|
@@ -1160,14 +1158,14 @@ function qs(e) {
|
|
|
1160
1158
|
notation: "scientific"
|
|
1161
1159
|
}, e = e.slice(1)), t) {
|
|
1162
1160
|
var n = e.slice(0, 2);
|
|
1163
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1161
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pi.test(e))
|
|
1164
1162
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1165
1163
|
t.minimumIntegerDigits = e.length;
|
|
1166
1164
|
}
|
|
1167
1165
|
return t;
|
|
1168
1166
|
}
|
|
1169
|
-
function
|
|
1170
|
-
var t = {}, n =
|
|
1167
|
+
function pr(e) {
|
|
1168
|
+
var t = {}, n = gi(e);
|
|
1171
1169
|
return n || t;
|
|
1172
1170
|
}
|
|
1173
1171
|
function Js(e) {
|
|
@@ -1205,13 +1203,13 @@ function Js(e) {
|
|
|
1205
1203
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1206
1204
|
continue;
|
|
1207
1205
|
case "scientific":
|
|
1208
|
-
t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(c,
|
|
1209
|
-
return k(k({}, c),
|
|
1206
|
+
t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
|
|
1207
|
+
return k(k({}, c), pr(u));
|
|
1210
1208
|
}, {}));
|
|
1211
1209
|
continue;
|
|
1212
1210
|
case "engineering":
|
|
1213
|
-
t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(c,
|
|
1214
|
-
return k(k({}, c),
|
|
1211
|
+
t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
|
|
1212
|
+
return k(k({}, c), pr(u));
|
|
1215
1213
|
}, {}));
|
|
1216
1214
|
continue;
|
|
1217
1215
|
case "notation-simple":
|
|
@@ -1256,39 +1254,39 @@ function Js(e) {
|
|
|
1256
1254
|
case "integer-width":
|
|
1257
1255
|
if (i.options.length > 1)
|
|
1258
1256
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1259
|
-
i.options[0].replace(Zs, function(c,
|
|
1260
|
-
if (
|
|
1257
|
+
i.options[0].replace(Zs, function(c, u, f, b, y, M) {
|
|
1258
|
+
if (u)
|
|
1261
1259
|
t.minimumIntegerDigits = f.length;
|
|
1262
1260
|
else {
|
|
1263
1261
|
if (b && y)
|
|
1264
1262
|
throw new Error("We currently do not support maximum integer digits");
|
|
1265
|
-
if (
|
|
1263
|
+
if (M)
|
|
1266
1264
|
throw new Error("We currently do not support exact integer digits");
|
|
1267
1265
|
}
|
|
1268
1266
|
return "";
|
|
1269
1267
|
});
|
|
1270
1268
|
continue;
|
|
1271
1269
|
}
|
|
1272
|
-
if (
|
|
1270
|
+
if (pi.test(i.stem)) {
|
|
1273
1271
|
t.minimumIntegerDigits = i.stem.length;
|
|
1274
1272
|
continue;
|
|
1275
1273
|
}
|
|
1276
|
-
if (
|
|
1274
|
+
if (mr.test(i.stem)) {
|
|
1277
1275
|
if (i.options.length > 1)
|
|
1278
1276
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1279
|
-
i.stem.replace(
|
|
1280
|
-
return f === "*" ? t.minimumFractionDigits =
|
|
1277
|
+
i.stem.replace(mr, function(c, u, f, b, y, M) {
|
|
1278
|
+
return f === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : y && M ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + M.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1281
1279
|
});
|
|
1282
1280
|
var s = i.options[0];
|
|
1283
|
-
s === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = k(k({}, t),
|
|
1281
|
+
s === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = k(k({}, t), dr(s)));
|
|
1284
1282
|
continue;
|
|
1285
1283
|
}
|
|
1286
|
-
if (
|
|
1287
|
-
t = k(k({}, t),
|
|
1284
|
+
if (di.test(i.stem)) {
|
|
1285
|
+
t = k(k({}, t), dr(i.stem));
|
|
1288
1286
|
continue;
|
|
1289
1287
|
}
|
|
1290
|
-
var
|
|
1291
|
-
|
|
1288
|
+
var l = gi(i.stem);
|
|
1289
|
+
l && (t = k(k({}, t), l));
|
|
1292
1290
|
var a = qs(i.stem);
|
|
1293
1291
|
a && (t = k(k({}, t), a));
|
|
1294
1292
|
}
|
|
@@ -2715,11 +2713,11 @@ function Qs(e, t) {
|
|
|
2715
2713
|
if (i === "j") {
|
|
2716
2714
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2717
2715
|
s++, r++;
|
|
2718
|
-
var
|
|
2719
|
-
for ((
|
|
2716
|
+
var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), c = "a", u = Ks(t);
|
|
2717
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2720
2718
|
n += c;
|
|
2721
|
-
for (;
|
|
2722
|
-
n =
|
|
2719
|
+
for (; l-- > 0; )
|
|
2720
|
+
n = u + n;
|
|
2723
2721
|
} else
|
|
2724
2722
|
i === "J" ? n += "H" : n += i;
|
|
2725
2723
|
}
|
|
@@ -2747,20 +2745,20 @@ function Ks(e) {
|
|
|
2747
2745
|
var i = Ot[r || ""] || Ot[n || ""] || Ot["".concat(n, "-001")] || Ot["001"];
|
|
2748
2746
|
return i[0];
|
|
2749
2747
|
}
|
|
2750
|
-
var cn, eo = new RegExp("^".concat(
|
|
2748
|
+
var cn, eo = new RegExp("^".concat(mi.source, "*")), to = new RegExp("".concat(mi.source, "*$"));
|
|
2751
2749
|
function B(e, t) {
|
|
2752
2750
|
return { start: e, end: t };
|
|
2753
2751
|
}
|
|
2754
|
-
var no = !!String.prototype.startsWith && "_a".startsWith("a", 1), ro = !!String.fromCodePoint, io = !!Object.fromEntries, so = !!String.prototype.codePointAt, oo = !!String.prototype.trimStart, ao = !!String.prototype.trimEnd,
|
|
2752
|
+
var no = !!String.prototype.startsWith && "_a".startsWith("a", 1), ro = !!String.fromCodePoint, io = !!Object.fromEntries, so = !!String.prototype.codePointAt, oo = !!String.prototype.trimStart, ao = !!String.prototype.trimEnd, lo = !!Number.isSafeInteger, uo = lo ? Number.isSafeInteger : function(e) {
|
|
2755
2753
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2756
2754
|
}, xn = !0;
|
|
2757
2755
|
try {
|
|
2758
|
-
var co =
|
|
2756
|
+
var co = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2759
2757
|
xn = ((cn = co.exec("a")) === null || cn === void 0 ? void 0 : cn[0]) === "a";
|
|
2760
2758
|
} catch {
|
|
2761
2759
|
xn = !1;
|
|
2762
2760
|
}
|
|
2763
|
-
var
|
|
2761
|
+
var gr = no ? (
|
|
2764
2762
|
// Native
|
|
2765
2763
|
function(t, n, r) {
|
|
2766
2764
|
return t.startsWith(n, r);
|
|
@@ -2775,26 +2773,26 @@ var pr = no ? (
|
|
|
2775
2773
|
function() {
|
|
2776
2774
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2777
2775
|
t[n] = arguments[n];
|
|
2778
|
-
for (var r = "", i = t.length, s = 0,
|
|
2779
|
-
if (
|
|
2780
|
-
throw RangeError(
|
|
2781
|
-
r +=
|
|
2776
|
+
for (var r = "", i = t.length, s = 0, l; i > s; ) {
|
|
2777
|
+
if (l = t[s++], l > 1114111)
|
|
2778
|
+
throw RangeError(l + " is not a valid code point");
|
|
2779
|
+
r += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
|
|
2782
2780
|
}
|
|
2783
2781
|
return r;
|
|
2784
2782
|
}
|
|
2785
|
-
),
|
|
2783
|
+
), br = (
|
|
2786
2784
|
// native
|
|
2787
2785
|
io ? Object.fromEntries : (
|
|
2788
2786
|
// Ponyfill
|
|
2789
2787
|
function(t) {
|
|
2790
2788
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2791
|
-
var s = i[r],
|
|
2792
|
-
n[
|
|
2789
|
+
var s = i[r], l = s[0], a = s[1];
|
|
2790
|
+
n[l] = a;
|
|
2793
2791
|
}
|
|
2794
2792
|
return n;
|
|
2795
2793
|
}
|
|
2796
2794
|
)
|
|
2797
|
-
),
|
|
2795
|
+
), bi = so ? (
|
|
2798
2796
|
// Native
|
|
2799
2797
|
function(t, n) {
|
|
2800
2798
|
return t.codePointAt(n);
|
|
@@ -2829,23 +2827,23 @@ var pr = no ? (
|
|
|
2829
2827
|
return t.replace(to, "");
|
|
2830
2828
|
}
|
|
2831
2829
|
);
|
|
2832
|
-
function
|
|
2830
|
+
function Ei(e, t) {
|
|
2833
2831
|
return new RegExp(e, t);
|
|
2834
2832
|
}
|
|
2835
2833
|
var An;
|
|
2836
2834
|
if (xn) {
|
|
2837
|
-
var
|
|
2835
|
+
var Er = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2838
2836
|
An = function(t, n) {
|
|
2839
2837
|
var r;
|
|
2840
|
-
|
|
2841
|
-
var i =
|
|
2838
|
+
Er.lastIndex = n;
|
|
2839
|
+
var i = Er.exec(t);
|
|
2842
2840
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2843
2841
|
};
|
|
2844
2842
|
} else
|
|
2845
2843
|
An = function(t, n) {
|
|
2846
2844
|
for (var r = []; ; ) {
|
|
2847
|
-
var i =
|
|
2848
|
-
if (i === void 0 ||
|
|
2845
|
+
var i = bi(t, n);
|
|
2846
|
+
if (i === void 0 || _i(i) || bo(i))
|
|
2849
2847
|
break;
|
|
2850
2848
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2851
2849
|
}
|
|
@@ -2865,17 +2863,17 @@ var mo = (
|
|
|
2865
2863
|
for (var i = []; !this.isEOF(); ) {
|
|
2866
2864
|
var s = this.char();
|
|
2867
2865
|
if (s === 123) {
|
|
2868
|
-
var
|
|
2869
|
-
if (
|
|
2870
|
-
return
|
|
2871
|
-
i.push(
|
|
2866
|
+
var l = this.parseArgument(t, r);
|
|
2867
|
+
if (l.err)
|
|
2868
|
+
return l;
|
|
2869
|
+
i.push(l.val);
|
|
2872
2870
|
} else {
|
|
2873
2871
|
if (s === 125 && t > 0)
|
|
2874
2872
|
break;
|
|
2875
2873
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2876
2874
|
var a = this.clonePosition();
|
|
2877
2875
|
this.bump(), i.push({
|
|
2878
|
-
type:
|
|
2876
|
+
type: Y.pound,
|
|
2879
2877
|
location: B(a, this.clonePosition())
|
|
2880
2878
|
});
|
|
2881
2879
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2883,15 +2881,15 @@ var mo = (
|
|
|
2883
2881
|
break;
|
|
2884
2882
|
return this.error(D.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
|
|
2885
2883
|
} else if (s === 60 && !this.ignoreTag && Sn(this.peek() || 0)) {
|
|
2886
|
-
var
|
|
2887
|
-
if (
|
|
2888
|
-
return
|
|
2889
|
-
i.push(
|
|
2884
|
+
var l = this.parseTag(t, n);
|
|
2885
|
+
if (l.err)
|
|
2886
|
+
return l;
|
|
2887
|
+
i.push(l.val);
|
|
2890
2888
|
} else {
|
|
2891
|
-
var
|
|
2892
|
-
if (
|
|
2893
|
-
return
|
|
2894
|
-
i.push(
|
|
2889
|
+
var l = this.parseLiteral(t, n);
|
|
2890
|
+
if (l.err)
|
|
2891
|
+
return l;
|
|
2892
|
+
i.push(l.val);
|
|
2895
2893
|
}
|
|
2896
2894
|
}
|
|
2897
2895
|
}
|
|
@@ -2903,7 +2901,7 @@ var mo = (
|
|
|
2903
2901
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2904
2902
|
return {
|
|
2905
2903
|
val: {
|
|
2906
|
-
type:
|
|
2904
|
+
type: Y.literal,
|
|
2907
2905
|
value: "<".concat(i, "/>"),
|
|
2908
2906
|
location: B(r, this.clonePosition())
|
|
2909
2907
|
},
|
|
@@ -2913,16 +2911,16 @@ var mo = (
|
|
|
2913
2911
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2914
2912
|
if (s.err)
|
|
2915
2913
|
return s;
|
|
2916
|
-
var
|
|
2914
|
+
var l = s.val, a = this.clonePosition();
|
|
2917
2915
|
if (this.bumpIf("</")) {
|
|
2918
2916
|
if (this.isEOF() || !Sn(this.char()))
|
|
2919
2917
|
return this.error(D.INVALID_TAG, B(a, this.clonePosition()));
|
|
2920
|
-
var c = this.clonePosition(),
|
|
2921
|
-
return i !==
|
|
2918
|
+
var c = this.clonePosition(), u = this.parseTagName();
|
|
2919
|
+
return i !== u ? this.error(D.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2922
2920
|
val: {
|
|
2923
|
-
type:
|
|
2921
|
+
type: Y.tag,
|
|
2924
2922
|
value: i,
|
|
2925
|
-
children:
|
|
2923
|
+
children: l,
|
|
2926
2924
|
location: B(r, this.clonePosition())
|
|
2927
2925
|
},
|
|
2928
2926
|
err: null
|
|
@@ -2943,9 +2941,9 @@ var mo = (
|
|
|
2943
2941
|
i += s;
|
|
2944
2942
|
continue;
|
|
2945
2943
|
}
|
|
2946
|
-
var
|
|
2947
|
-
if (
|
|
2948
|
-
i +=
|
|
2944
|
+
var l = this.tryParseUnquoted(t, n);
|
|
2945
|
+
if (l) {
|
|
2946
|
+
i += l;
|
|
2949
2947
|
continue;
|
|
2950
2948
|
}
|
|
2951
2949
|
var a = this.tryParseLeftAngleBracket();
|
|
@@ -2957,7 +2955,7 @@ var mo = (
|
|
|
2957
2955
|
}
|
|
2958
2956
|
var c = B(r, this.clonePosition());
|
|
2959
2957
|
return {
|
|
2960
|
-
val: { type:
|
|
2958
|
+
val: { type: Y.literal, value: i, location: c },
|
|
2961
2959
|
err: null
|
|
2962
2960
|
};
|
|
2963
2961
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3017,7 +3015,7 @@ var mo = (
|
|
|
3017
3015
|
case 125:
|
|
3018
3016
|
return this.bump(), {
|
|
3019
3017
|
val: {
|
|
3020
|
-
type:
|
|
3018
|
+
type: Y.argument,
|
|
3021
3019
|
// value does not include the opening and closing braces.
|
|
3022
3020
|
value: i,
|
|
3023
3021
|
location: B(r, this.clonePosition())
|
|
@@ -3032,18 +3030,18 @@ var mo = (
|
|
|
3032
3030
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3033
3031
|
var t = this.clonePosition(), n = this.offset(), r = An(this.message, n), i = n + r.length;
|
|
3034
3032
|
this.bumpTo(i);
|
|
3035
|
-
var s = this.clonePosition(),
|
|
3036
|
-
return { value: r, location:
|
|
3033
|
+
var s = this.clonePosition(), l = B(t, s);
|
|
3034
|
+
return { value: r, location: l };
|
|
3037
3035
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3038
|
-
var s,
|
|
3036
|
+
var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
3039
3037
|
switch (a) {
|
|
3040
3038
|
case "":
|
|
3041
|
-
return this.error(D.EXPECT_ARGUMENT_TYPE, B(
|
|
3039
|
+
return this.error(D.EXPECT_ARGUMENT_TYPE, B(l, c));
|
|
3042
3040
|
case "number":
|
|
3043
3041
|
case "date":
|
|
3044
3042
|
case "time": {
|
|
3045
3043
|
this.bumpSpace();
|
|
3046
|
-
var
|
|
3044
|
+
var u = null;
|
|
3047
3045
|
if (this.bumpIf(",")) {
|
|
3048
3046
|
this.bumpSpace();
|
|
3049
3047
|
var f = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
|
|
@@ -3052,32 +3050,32 @@ var mo = (
|
|
|
3052
3050
|
var y = ho(b.val);
|
|
3053
3051
|
if (y.length === 0)
|
|
3054
3052
|
return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
3055
|
-
var
|
|
3056
|
-
|
|
3053
|
+
var M = B(f, this.clonePosition());
|
|
3054
|
+
u = { style: y, styleLocation: M };
|
|
3057
3055
|
}
|
|
3058
3056
|
var E = this.tryParseArgumentClose(i);
|
|
3059
3057
|
if (E.err)
|
|
3060
3058
|
return E;
|
|
3061
3059
|
var d = B(i, this.clonePosition());
|
|
3062
|
-
if (
|
|
3063
|
-
var
|
|
3060
|
+
if (u && gr(u?.style, "::", 0)) {
|
|
3061
|
+
var C = fo(u.style.slice(2));
|
|
3064
3062
|
if (a === "number") {
|
|
3065
|
-
var b = this.parseNumberSkeletonFromString(
|
|
3063
|
+
var b = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
3066
3064
|
return b.err ? b : {
|
|
3067
|
-
val: { type:
|
|
3065
|
+
val: { type: Y.number, value: r, location: d, style: b.val },
|
|
3068
3066
|
err: null
|
|
3069
3067
|
};
|
|
3070
3068
|
} else {
|
|
3071
|
-
if (
|
|
3069
|
+
if (C.length === 0)
|
|
3072
3070
|
return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
|
|
3073
|
-
var $ =
|
|
3074
|
-
this.locale && ($ = Qs(
|
|
3071
|
+
var $ = C;
|
|
3072
|
+
this.locale && ($ = Qs(C, this.locale));
|
|
3075
3073
|
var y = {
|
|
3076
3074
|
type: Ze.dateTime,
|
|
3077
3075
|
pattern: $,
|
|
3078
|
-
location:
|
|
3076
|
+
location: u.styleLocation,
|
|
3079
3077
|
parsedOptions: this.shouldParseSkeletons ? Ws($) : {}
|
|
3080
|
-
}, U = a === "date" ?
|
|
3078
|
+
}, U = a === "date" ? Y.date : Y.time;
|
|
3081
3079
|
return {
|
|
3082
3080
|
val: { type: U, value: r, location: d, style: y },
|
|
3083
3081
|
err: null
|
|
@@ -3086,10 +3084,10 @@ var mo = (
|
|
|
3086
3084
|
}
|
|
3087
3085
|
return {
|
|
3088
3086
|
val: {
|
|
3089
|
-
type: a === "number" ?
|
|
3087
|
+
type: a === "number" ? Y.number : a === "date" ? Y.date : Y.time,
|
|
3090
3088
|
value: r,
|
|
3091
3089
|
location: d,
|
|
3092
|
-
style: (s =
|
|
3090
|
+
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
3093
3091
|
},
|
|
3094
3092
|
err: null
|
|
3095
3093
|
};
|
|
@@ -3097,9 +3095,9 @@ var mo = (
|
|
|
3097
3095
|
case "plural":
|
|
3098
3096
|
case "selectordinal":
|
|
3099
3097
|
case "select": {
|
|
3100
|
-
var
|
|
3098
|
+
var S = this.clonePosition();
|
|
3101
3099
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3102
|
-
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(
|
|
3100
|
+
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(S, k({}, S)));
|
|
3103
3101
|
this.bumpSpace();
|
|
3104
3102
|
var H = this.parseIdentifierIfPossible(), I = 0;
|
|
3105
3103
|
if (a !== "select" && H.value === "offset") {
|
|
@@ -3117,29 +3115,29 @@ var mo = (
|
|
|
3117
3115
|
var E = this.tryParseArgumentClose(i);
|
|
3118
3116
|
if (E.err)
|
|
3119
3117
|
return E;
|
|
3120
|
-
var
|
|
3118
|
+
var Z = B(i, this.clonePosition());
|
|
3121
3119
|
return a === "select" ? {
|
|
3122
3120
|
val: {
|
|
3123
|
-
type:
|
|
3121
|
+
type: Y.select,
|
|
3124
3122
|
value: r,
|
|
3125
|
-
options:
|
|
3126
|
-
location:
|
|
3123
|
+
options: br(F.val),
|
|
3124
|
+
location: Z
|
|
3127
3125
|
},
|
|
3128
3126
|
err: null
|
|
3129
3127
|
} : {
|
|
3130
3128
|
val: {
|
|
3131
|
-
type:
|
|
3129
|
+
type: Y.plural,
|
|
3132
3130
|
value: r,
|
|
3133
|
-
options:
|
|
3131
|
+
options: br(F.val),
|
|
3134
3132
|
offset: I,
|
|
3135
3133
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3136
|
-
location:
|
|
3134
|
+
location: Z
|
|
3137
3135
|
},
|
|
3138
3136
|
err: null
|
|
3139
3137
|
};
|
|
3140
3138
|
}
|
|
3141
3139
|
default:
|
|
3142
|
-
return this.error(D.INVALID_ARGUMENT_TYPE, B(
|
|
3140
|
+
return this.error(D.INVALID_ARGUMENT_TYPE, B(l, c));
|
|
3143
3141
|
}
|
|
3144
3142
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3145
3143
|
return this.isEOF() || this.char() !== 125 ? this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE, B(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3195,50 +3193,50 @@ var mo = (
|
|
|
3195
3193
|
err: null
|
|
3196
3194
|
};
|
|
3197
3195
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3198
|
-
for (var s,
|
|
3199
|
-
if (
|
|
3196
|
+
for (var s, l = !1, a = [], c = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
|
|
3197
|
+
if (u.length === 0) {
|
|
3200
3198
|
var b = this.clonePosition();
|
|
3201
3199
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3202
3200
|
var y = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR, D.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3203
3201
|
if (y.err)
|
|
3204
3202
|
return y;
|
|
3205
|
-
f = B(b, this.clonePosition()),
|
|
3203
|
+
f = B(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
|
|
3206
3204
|
} else
|
|
3207
3205
|
break;
|
|
3208
3206
|
}
|
|
3209
|
-
if (c.has(
|
|
3207
|
+
if (c.has(u))
|
|
3210
3208
|
return this.error(n === "select" ? D.DUPLICATE_SELECT_ARGUMENT_SELECTOR : D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
|
|
3211
|
-
|
|
3212
|
-
var
|
|
3209
|
+
u === "other" && (l = !0), this.bumpSpace();
|
|
3210
|
+
var M = this.clonePosition();
|
|
3213
3211
|
if (!this.bumpIf("{"))
|
|
3214
3212
|
return this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
|
|
3215
3213
|
var E = this.parseMessage(t + 1, n, r);
|
|
3216
3214
|
if (E.err)
|
|
3217
3215
|
return E;
|
|
3218
|
-
var d = this.tryParseArgumentClose(
|
|
3216
|
+
var d = this.tryParseArgumentClose(M);
|
|
3219
3217
|
if (d.err)
|
|
3220
3218
|
return d;
|
|
3221
3219
|
a.push([
|
|
3222
|
-
|
|
3220
|
+
u,
|
|
3223
3221
|
{
|
|
3224
3222
|
value: E.val,
|
|
3225
|
-
location: B(
|
|
3223
|
+
location: B(M, this.clonePosition())
|
|
3226
3224
|
}
|
|
3227
|
-
]), c.add(
|
|
3225
|
+
]), c.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, f = s.location;
|
|
3228
3226
|
}
|
|
3229
|
-
return a.length === 0 ? this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR : D.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3227
|
+
return a.length === 0 ? this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR : D.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(D.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3230
3228
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3231
3229
|
var r = 1, i = this.clonePosition();
|
|
3232
3230
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3233
|
-
for (var s = !1,
|
|
3231
|
+
for (var s = !1, l = 0; !this.isEOF(); ) {
|
|
3234
3232
|
var a = this.char();
|
|
3235
3233
|
if (a >= 48 && a <= 57)
|
|
3236
|
-
s = !0,
|
|
3234
|
+
s = !0, l = l * 10 + (a - 48), this.bump();
|
|
3237
3235
|
else
|
|
3238
3236
|
break;
|
|
3239
3237
|
}
|
|
3240
3238
|
var c = B(i, this.clonePosition());
|
|
3241
|
-
return s ? (
|
|
3239
|
+
return s ? (l *= r, uo(l) ? { val: l, err: null } : this.error(n, c)) : this.error(t, c);
|
|
3242
3240
|
}, e.prototype.offset = function() {
|
|
3243
3241
|
return this.position.offset;
|
|
3244
3242
|
}, e.prototype.isEOF = function() {
|
|
@@ -3253,7 +3251,7 @@ var mo = (
|
|
|
3253
3251
|
var t = this.position.offset;
|
|
3254
3252
|
if (t >= this.message.length)
|
|
3255
3253
|
throw Error("out of bound");
|
|
3256
|
-
var n =
|
|
3254
|
+
var n = bi(this.message, t);
|
|
3257
3255
|
if (n === void 0)
|
|
3258
3256
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3259
3257
|
return n;
|
|
@@ -3272,7 +3270,7 @@ var mo = (
|
|
|
3272
3270
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3273
3271
|
}
|
|
3274
3272
|
}, e.prototype.bumpIf = function(t) {
|
|
3275
|
-
if (
|
|
3273
|
+
if (gr(this.message, t, this.offset())) {
|
|
3276
3274
|
for (var n = 0; n < t.length; n++)
|
|
3277
3275
|
this.bump();
|
|
3278
3276
|
return !0;
|
|
@@ -3294,7 +3292,7 @@ var mo = (
|
|
|
3294
3292
|
break;
|
|
3295
3293
|
}
|
|
3296
3294
|
}, e.prototype.bumpSpace = function() {
|
|
3297
|
-
for (; !this.isEOF() &&
|
|
3295
|
+
for (; !this.isEOF() && _i(this.char()); )
|
|
3298
3296
|
this.bump();
|
|
3299
3297
|
}, e.prototype.peek = function() {
|
|
3300
3298
|
if (this.isEOF())
|
|
@@ -3313,7 +3311,7 @@ function po(e) {
|
|
|
3313
3311
|
function go(e) {
|
|
3314
3312
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3315
3313
|
}
|
|
3316
|
-
function
|
|
3314
|
+
function _i(e) {
|
|
3317
3315
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3318
3316
|
}
|
|
3319
3317
|
function bo(e) {
|
|
@@ -3321,11 +3319,11 @@ function bo(e) {
|
|
|
3321
3319
|
}
|
|
3322
3320
|
function wn(e) {
|
|
3323
3321
|
e.forEach(function(t) {
|
|
3324
|
-
if (delete t.location, ui(t) ||
|
|
3322
|
+
if (delete t.location, ui(t) || ci(t))
|
|
3325
3323
|
for (var n in t.options)
|
|
3326
3324
|
delete t.options[n].location, wn(t.options[n].value);
|
|
3327
3325
|
else
|
|
3328
|
-
|
|
3326
|
+
oi(t) && hi(t.style) || (ai(t) || li(t)) && Tn(t.style) ? delete t.style.location : fi(t) && wn(t.children);
|
|
3329
3327
|
});
|
|
3330
3328
|
}
|
|
3331
3329
|
function Eo(e, t) {
|
|
@@ -3353,7 +3351,7 @@ var Zt = (
|
|
|
3353
3351
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3354
3352
|
}, t;
|
|
3355
3353
|
}(Error)
|
|
3356
|
-
),
|
|
3354
|
+
), _r = (
|
|
3357
3355
|
/** @class */
|
|
3358
3356
|
function(e) {
|
|
3359
3357
|
Yt(t, e);
|
|
@@ -3393,17 +3391,17 @@ function To(e) {
|
|
|
3393
3391
|
function xo(e) {
|
|
3394
3392
|
return typeof e == "function";
|
|
3395
3393
|
}
|
|
3396
|
-
function Dt(e, t, n, r, i, s,
|
|
3397
|
-
if (e.length === 1 &&
|
|
3394
|
+
function Dt(e, t, n, r, i, s, l) {
|
|
3395
|
+
if (e.length === 1 && hr(e[0]))
|
|
3398
3396
|
return [
|
|
3399
3397
|
{
|
|
3400
3398
|
type: ce.literal,
|
|
3401
3399
|
value: e[0].value
|
|
3402
3400
|
}
|
|
3403
3401
|
];
|
|
3404
|
-
for (var a = [], c = 0,
|
|
3405
|
-
var f =
|
|
3406
|
-
if (
|
|
3402
|
+
for (var a = [], c = 0, u = e; c < u.length; c++) {
|
|
3403
|
+
var f = u[c];
|
|
3404
|
+
if (hr(f)) {
|
|
3407
3405
|
a.push({
|
|
3408
3406
|
type: ce.literal,
|
|
3409
3407
|
value: f.value
|
|
@@ -3419,7 +3417,7 @@ function Dt(e, t, n, r, i, s, u) {
|
|
|
3419
3417
|
}
|
|
3420
3418
|
var b = f.value;
|
|
3421
3419
|
if (!(i && b in i))
|
|
3422
|
-
throw new yo(b,
|
|
3420
|
+
throw new yo(b, l);
|
|
3423
3421
|
var y = i[b];
|
|
3424
3422
|
if ($s(f)) {
|
|
3425
3423
|
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), a.push({
|
|
@@ -3428,35 +3426,35 @@ function Dt(e, t, n, r, i, s, u) {
|
|
|
3428
3426
|
});
|
|
3429
3427
|
continue;
|
|
3430
3428
|
}
|
|
3431
|
-
if (
|
|
3432
|
-
var
|
|
3429
|
+
if (ai(f)) {
|
|
3430
|
+
var M = typeof f.style == "string" ? r.date[f.style] : Tn(f.style) ? f.style.parsedOptions : void 0;
|
|
3433
3431
|
a.push({
|
|
3434
3432
|
type: ce.literal,
|
|
3435
|
-
value: n.getDateTimeFormat(t,
|
|
3433
|
+
value: n.getDateTimeFormat(t, M).format(y)
|
|
3436
3434
|
});
|
|
3437
3435
|
continue;
|
|
3438
3436
|
}
|
|
3439
|
-
if (
|
|
3440
|
-
var
|
|
3437
|
+
if (li(f)) {
|
|
3438
|
+
var M = typeof f.style == "string" ? r.time[f.style] : Tn(f.style) ? f.style.parsedOptions : r.time.medium;
|
|
3441
3439
|
a.push({
|
|
3442
3440
|
type: ce.literal,
|
|
3443
|
-
value: n.getDateTimeFormat(t,
|
|
3441
|
+
value: n.getDateTimeFormat(t, M).format(y)
|
|
3444
3442
|
});
|
|
3445
3443
|
continue;
|
|
3446
3444
|
}
|
|
3447
|
-
if (
|
|
3448
|
-
var
|
|
3449
|
-
|
|
3445
|
+
if (oi(f)) {
|
|
3446
|
+
var M = typeof f.style == "string" ? r.number[f.style] : hi(f.style) ? f.style.parsedOptions : void 0;
|
|
3447
|
+
M && M.scale && (y = y * (M.scale || 1)), a.push({
|
|
3450
3448
|
type: ce.literal,
|
|
3451
|
-
value: n.getNumberFormat(t,
|
|
3449
|
+
value: n.getNumberFormat(t, M).format(y)
|
|
3452
3450
|
});
|
|
3453
3451
|
continue;
|
|
3454
3452
|
}
|
|
3455
|
-
if (
|
|
3456
|
-
var E = f.children, d = f.value,
|
|
3457
|
-
if (!xo(
|
|
3458
|
-
throw new _o(d, "function",
|
|
3459
|
-
var $ = Dt(E, t, n, r, i, s), U =
|
|
3453
|
+
if (fi(f)) {
|
|
3454
|
+
var E = f.children, d = f.value, C = i[d];
|
|
3455
|
+
if (!xo(C))
|
|
3456
|
+
throw new _o(d, "function", l);
|
|
3457
|
+
var $ = Dt(E, t, n, r, i, s), U = C($.map(function(I) {
|
|
3460
3458
|
return I.value;
|
|
3461
3459
|
}));
|
|
3462
3460
|
Array.isArray(U) || (U = [U]), a.push.apply(a, U.map(function(I) {
|
|
@@ -3467,25 +3465,25 @@ function Dt(e, t, n, r, i, s, u) {
|
|
|
3467
3465
|
}));
|
|
3468
3466
|
}
|
|
3469
3467
|
if (ui(f)) {
|
|
3470
|
-
var
|
|
3471
|
-
if (!
|
|
3472
|
-
throw new
|
|
3473
|
-
a.push.apply(a, Dt(
|
|
3468
|
+
var S = f.options[y] || f.options.other;
|
|
3469
|
+
if (!S)
|
|
3470
|
+
throw new _r(f.value, y, Object.keys(f.options), l);
|
|
3471
|
+
a.push.apply(a, Dt(S.value, t, n, r, i));
|
|
3474
3472
|
continue;
|
|
3475
3473
|
}
|
|
3476
|
-
if (
|
|
3477
|
-
var
|
|
3478
|
-
if (!
|
|
3474
|
+
if (ci(f)) {
|
|
3475
|
+
var S = f.options["=".concat(y)];
|
|
3476
|
+
if (!S) {
|
|
3479
3477
|
if (!Intl.PluralRules)
|
|
3480
3478
|
throw new Zt(`Intl.PluralRules is not available in this environment.
|
|
3481
3479
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3482
|
-
`, qe.MISSING_INTL_API,
|
|
3480
|
+
`, qe.MISSING_INTL_API, l);
|
|
3483
3481
|
var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
|
|
3484
|
-
|
|
3482
|
+
S = f.options[H] || f.options.other;
|
|
3485
3483
|
}
|
|
3486
|
-
if (!
|
|
3487
|
-
throw new
|
|
3488
|
-
a.push.apply(a, Dt(
|
|
3484
|
+
if (!S)
|
|
3485
|
+
throw new _r(f.value, y, Object.keys(f.options), l);
|
|
3486
|
+
a.push.apply(a, Dt(S.value, t, n, r, i, y - (f.offset || 0)));
|
|
3489
3487
|
continue;
|
|
3490
3488
|
}
|
|
3491
3489
|
}
|
|
@@ -3521,33 +3519,33 @@ function So(e) {
|
|
|
3521
3519
|
dateTime: {},
|
|
3522
3520
|
pluralRules: {}
|
|
3523
3521
|
}), {
|
|
3524
|
-
getNumberFormat:
|
|
3522
|
+
getNumberFormat: ln(function() {
|
|
3525
3523
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3526
3524
|
n[r] = arguments[r];
|
|
3527
3525
|
return new ((t = Intl.NumberFormat).bind.apply(t, an([void 0], n, !1)))();
|
|
3528
3526
|
}, {
|
|
3529
3527
|
cache: fn(e.number),
|
|
3530
|
-
strategy:
|
|
3528
|
+
strategy: un.variadic
|
|
3531
3529
|
}),
|
|
3532
|
-
getDateTimeFormat:
|
|
3530
|
+
getDateTimeFormat: ln(function() {
|
|
3533
3531
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3534
3532
|
n[r] = arguments[r];
|
|
3535
3533
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, an([void 0], n, !1)))();
|
|
3536
3534
|
}, {
|
|
3537
3535
|
cache: fn(e.dateTime),
|
|
3538
|
-
strategy:
|
|
3536
|
+
strategy: un.variadic
|
|
3539
3537
|
}),
|
|
3540
|
-
getPluralRules:
|
|
3538
|
+
getPluralRules: ln(function() {
|
|
3541
3539
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3542
3540
|
n[r] = arguments[r];
|
|
3543
3541
|
return new ((t = Intl.PluralRules).bind.apply(t, an([void 0], n, !1)))();
|
|
3544
3542
|
}, {
|
|
3545
3543
|
cache: fn(e.pluralRules),
|
|
3546
|
-
strategy:
|
|
3544
|
+
strategy: un.variadic
|
|
3547
3545
|
})
|
|
3548
3546
|
};
|
|
3549
3547
|
}
|
|
3550
|
-
var
|
|
3548
|
+
var yi = (
|
|
3551
3549
|
/** @class */
|
|
3552
3550
|
function() {
|
|
3553
3551
|
function e(t, n, r, i) {
|
|
@@ -3558,10 +3556,10 @@ var _i = (
|
|
|
3558
3556
|
dateTime: {},
|
|
3559
3557
|
pluralRules: {}
|
|
3560
3558
|
}, this.format = function(c) {
|
|
3561
|
-
var
|
|
3562
|
-
if (
|
|
3563
|
-
return
|
|
3564
|
-
var f =
|
|
3559
|
+
var u = s.formatToParts(c);
|
|
3560
|
+
if (u.length === 1)
|
|
3561
|
+
return u[0].value;
|
|
3562
|
+
var f = u.reduce(function(b, y) {
|
|
3565
3563
|
return !b.length || y.type !== ce.literal || typeof b[b.length - 1] != "string" ? b.push(y.value) : b[b.length - 1] += y.value, b;
|
|
3566
3564
|
}, []);
|
|
3567
3565
|
return f.length <= 1 ? f[0] || "" : f;
|
|
@@ -3577,9 +3575,9 @@ var _i = (
|
|
|
3577
3575
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3578
3576
|
if (this.message = t, !e.__parse)
|
|
3579
3577
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3580
|
-
var
|
|
3581
|
-
|
|
3582
|
-
var a =
|
|
3578
|
+
var l = i || {};
|
|
3579
|
+
l.formatters;
|
|
3580
|
+
var a = Is(l, ["formatters"]);
|
|
3583
3581
|
this.ast = e.__parse(t, k(k({}, a), { locale: this.resolvedLocale }));
|
|
3584
3582
|
} else
|
|
3585
3583
|
this.ast = t;
|
|
@@ -3680,7 +3678,7 @@ function wo(e, t) {
|
|
|
3680
3678
|
r = void 0;
|
|
3681
3679
|
return r;
|
|
3682
3680
|
}
|
|
3683
|
-
const Le = {}, Oo = (e, t, n) => n && (t in Le || (Le[t] = {}), e in Le[t] || (Le[t][e] = n), n),
|
|
3681
|
+
const Le = {}, Oo = (e, t, n) => n && (t in Le || (Le[t] = {}), e in Le[t] || (Le[t][e] = n), n), Ti = (e, t) => {
|
|
3684
3682
|
if (t == null)
|
|
3685
3683
|
return;
|
|
3686
3684
|
if (t in Le && e in Le[t])
|
|
@@ -3692,16 +3690,16 @@ const Le = {}, Oo = (e, t, n) => n && (t in Le || (Le[t] = {}), e in Le[t] || (L
|
|
|
3692
3690
|
return Oo(e, t, s);
|
|
3693
3691
|
}
|
|
3694
3692
|
};
|
|
3695
|
-
let
|
|
3693
|
+
let In;
|
|
3696
3694
|
const Et = bt({});
|
|
3697
3695
|
function Mo(e) {
|
|
3698
|
-
return
|
|
3696
|
+
return In[e] || null;
|
|
3699
3697
|
}
|
|
3700
|
-
function
|
|
3701
|
-
return e in
|
|
3698
|
+
function xi(e) {
|
|
3699
|
+
return e in In;
|
|
3702
3700
|
}
|
|
3703
3701
|
function Co(e, t) {
|
|
3704
|
-
if (!
|
|
3702
|
+
if (!xi(e))
|
|
3705
3703
|
return null;
|
|
3706
3704
|
const n = Mo(e);
|
|
3707
3705
|
return wo(n, t);
|
|
@@ -3712,28 +3710,28 @@ function No(e) {
|
|
|
3712
3710
|
const t = _t(e);
|
|
3713
3711
|
for (let n = 0; n < t.length; n++) {
|
|
3714
3712
|
const r = t[n];
|
|
3715
|
-
if (
|
|
3713
|
+
if (xi(r))
|
|
3716
3714
|
return r;
|
|
3717
3715
|
}
|
|
3718
3716
|
}
|
|
3719
|
-
function
|
|
3720
|
-
delete Le[e], Et.update((n) => (n[e] =
|
|
3717
|
+
function vi(e, ...t) {
|
|
3718
|
+
delete Le[e], Et.update((n) => (n[e] = Ps.all([n[e] || {}, ...t]), n));
|
|
3721
3719
|
}
|
|
3722
3720
|
Ke(
|
|
3723
3721
|
[Et],
|
|
3724
3722
|
([e]) => Object.keys(e)
|
|
3725
3723
|
);
|
|
3726
|
-
Et.subscribe((e) =>
|
|
3724
|
+
Et.subscribe((e) => In = e);
|
|
3727
3725
|
const Bt = {};
|
|
3728
3726
|
function Lo(e, t) {
|
|
3729
3727
|
Bt[e].delete(t), Bt[e].size === 0 && delete Bt[e];
|
|
3730
3728
|
}
|
|
3731
|
-
function
|
|
3729
|
+
function Ai(e) {
|
|
3732
3730
|
return Bt[e];
|
|
3733
3731
|
}
|
|
3734
3732
|
function Ho(e) {
|
|
3735
3733
|
return _t(e).map((t) => {
|
|
3736
|
-
const n =
|
|
3734
|
+
const n = Ai(t);
|
|
3737
3735
|
return [t, n ? [...n] : []];
|
|
3738
3736
|
}).filter(([, t]) => t.length > 0);
|
|
3739
3737
|
}
|
|
@@ -3741,17 +3739,17 @@ function jt(e) {
|
|
|
3741
3739
|
return e == null ? !1 : _t(e).some(
|
|
3742
3740
|
(t) => {
|
|
3743
3741
|
var n;
|
|
3744
|
-
return (n =
|
|
3742
|
+
return (n = Ai(t)) == null ? void 0 : n.size;
|
|
3745
3743
|
}
|
|
3746
3744
|
);
|
|
3747
3745
|
}
|
|
3748
3746
|
function Ro(e, t) {
|
|
3749
3747
|
return Promise.all(
|
|
3750
3748
|
t.map((r) => (Lo(e, r), r().then((i) => i.default || i)))
|
|
3751
|
-
).then((r) =>
|
|
3749
|
+
).then((r) => vi(e, ...r));
|
|
3752
3750
|
}
|
|
3753
3751
|
const st = {};
|
|
3754
|
-
function
|
|
3752
|
+
function Si(e) {
|
|
3755
3753
|
if (!jt(e))
|
|
3756
3754
|
return e in st ? st[e] : Promise.resolve();
|
|
3757
3755
|
const t = Ho(e);
|
|
@@ -3761,16 +3759,16 @@ function Ai(e) {
|
|
|
3761
3759
|
)
|
|
3762
3760
|
).then(() => {
|
|
3763
3761
|
if (jt(e))
|
|
3764
|
-
return
|
|
3762
|
+
return Si(e);
|
|
3765
3763
|
delete st[e];
|
|
3766
3764
|
}), st[e];
|
|
3767
3765
|
}
|
|
3768
|
-
var
|
|
3766
|
+
var yr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, Io = Object.prototype.propertyIsEnumerable, Do = (e, t) => {
|
|
3769
3767
|
var n = {};
|
|
3770
3768
|
for (var r in e)
|
|
3771
3769
|
Po.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3772
|
-
if (e != null &&
|
|
3773
|
-
for (var r of
|
|
3770
|
+
if (e != null && yr)
|
|
3771
|
+
for (var r of yr(e))
|
|
3774
3772
|
t.indexOf(r) < 0 && Io.call(e, r) && (n[r] = e[r]);
|
|
3775
3773
|
return n;
|
|
3776
3774
|
};
|
|
@@ -3829,7 +3827,7 @@ function Fo(e) {
|
|
|
3829
3827
|
let i = e.fallbackLocale;
|
|
3830
3828
|
if (e.initialLocale)
|
|
3831
3829
|
try {
|
|
3832
|
-
|
|
3830
|
+
yi.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3833
3831
|
} catch {
|
|
3834
3832
|
console.warn(
|
|
3835
3833
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
@@ -3840,22 +3838,22 @@ function Fo(e) {
|
|
|
3840
3838
|
)), Object.assign(ht, r, { initialLocale: i }), n && ("number" in n && Object.assign(ht.formats.number, n.number), "date" in n && Object.assign(ht.formats.date, n.date), "time" in n && Object.assign(ht.formats.time, n.time)), De.set(i);
|
|
3841
3839
|
}
|
|
3842
3840
|
const hn = bt(!1);
|
|
3843
|
-
var Go = Object.defineProperty, $o = Object.defineProperties, jo = Object.getOwnPropertyDescriptors,
|
|
3844
|
-
for (var n in t)
|
|
3845
|
-
zo.call(t, n) &&
|
|
3846
|
-
if (
|
|
3847
|
-
for (var n of
|
|
3848
|
-
Wo.call(t, n) &&
|
|
3841
|
+
var Go = Object.defineProperty, $o = Object.defineProperties, jo = Object.getOwnPropertyDescriptors, Tr = Object.getOwnPropertySymbols, zo = Object.prototype.hasOwnProperty, Wo = Object.prototype.propertyIsEnumerable, xr = (e, t, n) => t in e ? Go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Vo = (e, t) => {
|
|
3842
|
+
for (var n in t || (t = {}))
|
|
3843
|
+
zo.call(t, n) && xr(e, n, t[n]);
|
|
3844
|
+
if (Tr)
|
|
3845
|
+
for (var n of Tr(t))
|
|
3846
|
+
Wo.call(t, n) && xr(e, n, t[n]);
|
|
3849
3847
|
return e;
|
|
3850
3848
|
}, Xo = (e, t) => $o(e, jo(t));
|
|
3851
3849
|
let On;
|
|
3852
3850
|
const zt = bt(null);
|
|
3853
|
-
function
|
|
3851
|
+
function vr(e) {
|
|
3854
3852
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3855
3853
|
}
|
|
3856
3854
|
function _t(e, t = Je().fallbackLocale) {
|
|
3857
|
-
const n =
|
|
3858
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3855
|
+
const n = vr(e);
|
|
3856
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...vr(t)])] : n;
|
|
3859
3857
|
}
|
|
3860
3858
|
function Re() {
|
|
3861
3859
|
return On ?? void 0;
|
|
@@ -3870,7 +3868,7 @@ const Yo = (e) => {
|
|
|
3870
3868
|
return typeof window < "u" && Re() != null && t ? n = window.setTimeout(
|
|
3871
3869
|
() => hn.set(!0),
|
|
3872
3870
|
t
|
|
3873
|
-
) : hn.set(!0),
|
|
3871
|
+
) : hn.set(!0), Si(e).then(() => {
|
|
3874
3872
|
zt.set(e);
|
|
3875
3873
|
}).finally(() => {
|
|
3876
3874
|
clearTimeout(n), hn.set(!1);
|
|
@@ -3886,20 +3884,20 @@ const Yo = (e) => {
|
|
|
3886
3884
|
return i in t ? t[i] : t[i] = e(r);
|
|
3887
3885
|
};
|
|
3888
3886
|
};
|
|
3889
|
-
var Zo = Object.defineProperty, Wt = Object.getOwnPropertySymbols,
|
|
3887
|
+
var Zo = Object.defineProperty, Wt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Ar = (e, t, n) => t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Dn = (e, t) => {
|
|
3890
3888
|
for (var n in t || (t = {}))
|
|
3891
|
-
|
|
3889
|
+
wi.call(t, n) && Ar(e, n, t[n]);
|
|
3892
3890
|
if (Wt)
|
|
3893
3891
|
for (var n of Wt(t))
|
|
3894
|
-
|
|
3892
|
+
Oi.call(t, n) && Ar(e, n, t[n]);
|
|
3895
3893
|
return e;
|
|
3896
3894
|
}, et = (e, t) => {
|
|
3897
3895
|
var n = {};
|
|
3898
3896
|
for (var r in e)
|
|
3899
|
-
|
|
3897
|
+
wi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3900
3898
|
if (e != null && Wt)
|
|
3901
3899
|
for (var r of Wt(e))
|
|
3902
|
-
t.indexOf(r) < 0 &&
|
|
3900
|
+
t.indexOf(r) < 0 && Oi.call(e, r) && (n[r] = e[r]);
|
|
3903
3901
|
return n;
|
|
3904
3902
|
};
|
|
3905
3903
|
const gt = (e, t) => {
|
|
@@ -3936,42 +3934,42 @@ const gt = (e, t) => {
|
|
|
3936
3934
|
} = t, r = et(t, [
|
|
3937
3935
|
"locale"
|
|
3938
3936
|
]);
|
|
3939
|
-
return qo(
|
|
3937
|
+
return qo(Dn({ locale: n }, r));
|
|
3940
3938
|
}, ea = (e = {}) => {
|
|
3941
3939
|
var t = e, {
|
|
3942
3940
|
locale: n = Re()
|
|
3943
3941
|
} = t, r = et(t, [
|
|
3944
3942
|
"locale"
|
|
3945
3943
|
]);
|
|
3946
|
-
return Jo(
|
|
3944
|
+
return Jo(Dn({ locale: n }, r));
|
|
3947
3945
|
}, ta = (e = {}) => {
|
|
3948
3946
|
var t = e, {
|
|
3949
3947
|
locale: n = Re()
|
|
3950
3948
|
} = t, r = et(t, [
|
|
3951
3949
|
"locale"
|
|
3952
3950
|
]);
|
|
3953
|
-
return Qo(
|
|
3951
|
+
return Qo(Dn({ locale: n }, r));
|
|
3954
3952
|
}, na = qt(
|
|
3955
3953
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3956
|
-
(e, t = Re()) => new
|
|
3954
|
+
(e, t = Re()) => new yi(e, t, Je().formats, {
|
|
3957
3955
|
ignoreTag: Je().ignoreTag
|
|
3958
3956
|
})
|
|
3959
3957
|
), ra = (e, t = {}) => {
|
|
3960
3958
|
var n, r, i, s;
|
|
3961
|
-
let
|
|
3962
|
-
typeof e == "object" && (
|
|
3959
|
+
let l = t;
|
|
3960
|
+
typeof e == "object" && (l = e, e = l.id);
|
|
3963
3961
|
const {
|
|
3964
3962
|
values: a,
|
|
3965
3963
|
locale: c = Re(),
|
|
3966
|
-
default:
|
|
3967
|
-
} =
|
|
3964
|
+
default: u
|
|
3965
|
+
} = l;
|
|
3968
3966
|
if (c == null)
|
|
3969
3967
|
throw new Error(
|
|
3970
3968
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3971
3969
|
);
|
|
3972
|
-
let f =
|
|
3970
|
+
let f = Ti(e, c);
|
|
3973
3971
|
if (!f)
|
|
3974
|
-
f = (s = (i = (r = (n = Je()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue:
|
|
3972
|
+
f = (s = (i = (r = (n = Je()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3975
3973
|
else if (typeof f != "string")
|
|
3976
3974
|
return console.warn(
|
|
3977
3975
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3988,20 +3986,20 @@ const gt = (e, t) => {
|
|
|
3988
3986
|
);
|
|
3989
3987
|
}
|
|
3990
3988
|
return b;
|
|
3991
|
-
}, ia = (e, t) => ta(t).format(e), sa = (e, t) => ea(t).format(e), oa = (e, t) => Ko(t).format(e), aa = (e, t = Re()) =>
|
|
3989
|
+
}, ia = (e, t) => ta(t).format(e), sa = (e, t) => ea(t).format(e), oa = (e, t) => Ko(t).format(e), aa = (e, t = Re()) => Ti(e, t), la = Ke([De, Et], () => ra);
|
|
3992
3990
|
Ke([De], () => ia);
|
|
3993
3991
|
Ke([De], () => sa);
|
|
3994
3992
|
Ke([De], () => oa);
|
|
3995
3993
|
Ke([De, Et], () => aa);
|
|
3996
|
-
function
|
|
3997
|
-
|
|
3994
|
+
function Sr(e, t) {
|
|
3995
|
+
vi(e, t);
|
|
3998
3996
|
}
|
|
3999
|
-
function
|
|
3997
|
+
function ua(e) {
|
|
4000
3998
|
Fo({
|
|
4001
3999
|
fallbackLocale: "en"
|
|
4002
4000
|
}), De.set(e);
|
|
4003
4001
|
}
|
|
4004
|
-
const
|
|
4002
|
+
const wr = {
|
|
4005
4003
|
en: {
|
|
4006
4004
|
sessionExpirationHeader: "Session Warning",
|
|
4007
4005
|
sessionExpirationTitle: "Your session is about to expire!",
|
|
@@ -4026,8 +4024,8 @@ const Sr = {
|
|
|
4026
4024
|
};
|
|
4027
4025
|
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
|
|
4028
4026
|
const {
|
|
4029
|
-
entries:
|
|
4030
|
-
setPrototypeOf:
|
|
4027
|
+
entries: Mi,
|
|
4028
|
+
setPrototypeOf: Or,
|
|
4031
4029
|
isFrozen: ca,
|
|
4032
4030
|
getPrototypeOf: fa,
|
|
4033
4031
|
getOwnPropertyDescriptor: ha
|
|
@@ -4035,7 +4033,7 @@ const {
|
|
|
4035
4033
|
let {
|
|
4036
4034
|
freeze: fe,
|
|
4037
4035
|
seal: Ee,
|
|
4038
|
-
create:
|
|
4036
|
+
create: Ci
|
|
4039
4037
|
} = Object, {
|
|
4040
4038
|
apply: Mn,
|
|
4041
4039
|
construct: Cn
|
|
@@ -4052,7 +4050,7 @@ Mn || (Mn = function(t, n, r) {
|
|
|
4052
4050
|
Cn || (Cn = function(t, n) {
|
|
4053
4051
|
return new t(...n);
|
|
4054
4052
|
});
|
|
4055
|
-
const Mt = pe(Array.prototype.forEach),
|
|
4053
|
+
const Mt = pe(Array.prototype.forEach), Mr = pe(Array.prototype.pop), ot = pe(Array.prototype.push), Ut = pe(String.prototype.toLowerCase), mn = pe(String.prototype.toString), Cr = pe(String.prototype.match), at = pe(String.prototype.replace), ma = pe(String.prototype.indexOf), da = pe(String.prototype.trim), Te = pe(Object.prototype.hasOwnProperty), le = pe(RegExp.prototype.test), lt = pa(TypeError);
|
|
4056
4054
|
function pe(e) {
|
|
4057
4055
|
return function(t) {
|
|
4058
4056
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
@@ -4069,7 +4067,7 @@ function pa(e) {
|
|
|
4069
4067
|
}
|
|
4070
4068
|
function P(e, t) {
|
|
4071
4069
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ut;
|
|
4072
|
-
|
|
4070
|
+
Or && Or(e, null);
|
|
4073
4071
|
let r = t.length;
|
|
4074
4072
|
for (; r--; ) {
|
|
4075
4073
|
let i = t[r];
|
|
@@ -4087,12 +4085,12 @@ function ga(e) {
|
|
|
4087
4085
|
return e;
|
|
4088
4086
|
}
|
|
4089
4087
|
function Ie(e) {
|
|
4090
|
-
const t =
|
|
4091
|
-
for (const [n, r] of
|
|
4088
|
+
const t = Ci(null);
|
|
4089
|
+
for (const [n, r] of Mi(e))
|
|
4092
4090
|
Te(e, n) && (Array.isArray(r) ? t[n] = ga(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Ie(r) : t[n] = r);
|
|
4093
4091
|
return t;
|
|
4094
4092
|
}
|
|
4095
|
-
function
|
|
4093
|
+
function ut(e, t) {
|
|
4096
4094
|
for (; e !== null; ) {
|
|
4097
4095
|
const r = ha(e, t);
|
|
4098
4096
|
if (r) {
|
|
@@ -4108,24 +4106,24 @@ function lt(e, t) {
|
|
|
4108
4106
|
}
|
|
4109
4107
|
return n;
|
|
4110
4108
|
}
|
|
4111
|
-
const
|
|
4109
|
+
const Nr = fe(["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"]), dn = fe(["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"]), pn = fe(["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"]), ba = fe(["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"]), gn = fe(["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"]), Ea = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Lr = fe(["#text"]), Hr = fe(["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"]), bn = fe(["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"]), Rr = fe(["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"]), Ct = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), _a = Ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ya = Ee(/<%[\w\W]*|[\w\W]*%>/gm), Ta = Ee(/\${[\w\W]*}/gm), xa = Ee(/^data-[\-\w.\u00B7-\uFFFF]/), va = Ee(/^aria-[\-\w]+$/), Ni = Ee(
|
|
4112
4110
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4113
4111
|
// eslint-disable-line no-useless-escape
|
|
4114
4112
|
), Aa = Ee(/^(?:\w+script|data):/i), Sa = Ee(
|
|
4115
4113
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
4116
4114
|
// eslint-disable-line no-control-regex
|
|
4117
|
-
),
|
|
4118
|
-
var
|
|
4115
|
+
), Li = Ee(/^html$/i), wa = Ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
4116
|
+
var Pr = /* @__PURE__ */ Object.freeze({
|
|
4119
4117
|
__proto__: null,
|
|
4120
4118
|
MUSTACHE_EXPR: _a,
|
|
4121
4119
|
ERB_EXPR: ya,
|
|
4122
4120
|
TMPLIT_EXPR: Ta,
|
|
4123
4121
|
DATA_ATTR: xa,
|
|
4124
4122
|
ARIA_ATTR: va,
|
|
4125
|
-
IS_ALLOWED_URI:
|
|
4123
|
+
IS_ALLOWED_URI: Ni,
|
|
4126
4124
|
IS_SCRIPT_OR_DATA: Aa,
|
|
4127
4125
|
ATTR_WHITESPACE: Sa,
|
|
4128
|
-
DOCTYPE_NAME:
|
|
4126
|
+
DOCTYPE_NAME: Li,
|
|
4129
4127
|
CUSTOM_ELEMENT: wa
|
|
4130
4128
|
});
|
|
4131
4129
|
const ct = {
|
|
@@ -4155,20 +4153,20 @@ const ct = {
|
|
|
4155
4153
|
const s = "dompurify" + (r ? "#" + r : "");
|
|
4156
4154
|
try {
|
|
4157
4155
|
return t.createPolicy(s, {
|
|
4158
|
-
createHTML(
|
|
4159
|
-
return
|
|
4156
|
+
createHTML(l) {
|
|
4157
|
+
return l;
|
|
4160
4158
|
},
|
|
4161
|
-
createScriptURL(
|
|
4162
|
-
return
|
|
4159
|
+
createScriptURL(l) {
|
|
4160
|
+
return l;
|
|
4163
4161
|
}
|
|
4164
4162
|
});
|
|
4165
4163
|
} catch {
|
|
4166
4164
|
return console.warn("TrustedTypes policy " + s + " could not be created."), null;
|
|
4167
4165
|
}
|
|
4168
4166
|
};
|
|
4169
|
-
function
|
|
4167
|
+
function Hi() {
|
|
4170
4168
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Oa();
|
|
4171
|
-
const t = (w) =>
|
|
4169
|
+
const t = (w) => Hi(w);
|
|
4172
4170
|
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ct.document)
|
|
4173
4171
|
return t.isSupported = !1, t;
|
|
4174
4172
|
let {
|
|
@@ -4176,47 +4174,47 @@ function Li() {
|
|
|
4176
4174
|
} = e;
|
|
4177
4175
|
const r = n, i = r.currentScript, {
|
|
4178
4176
|
DocumentFragment: s,
|
|
4179
|
-
HTMLTemplateElement:
|
|
4177
|
+
HTMLTemplateElement: l,
|
|
4180
4178
|
Node: a,
|
|
4181
4179
|
Element: c,
|
|
4182
|
-
NodeFilter:
|
|
4180
|
+
NodeFilter: u,
|
|
4183
4181
|
NamedNodeMap: f = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
4184
4182
|
HTMLFormElement: b,
|
|
4185
4183
|
DOMParser: y,
|
|
4186
|
-
trustedTypes:
|
|
4187
|
-
} = e, E = c.prototype, d =
|
|
4188
|
-
if (typeof
|
|
4184
|
+
trustedTypes: M
|
|
4185
|
+
} = e, E = c.prototype, d = ut(E, "cloneNode"), C = ut(E, "remove"), $ = ut(E, "nextSibling"), U = ut(E, "childNodes"), S = ut(E, "parentNode");
|
|
4186
|
+
if (typeof l == "function") {
|
|
4189
4187
|
const w = n.createElement("template");
|
|
4190
4188
|
w.content && w.content.ownerDocument && (n = w.content.ownerDocument);
|
|
4191
4189
|
}
|
|
4192
4190
|
let H, I = "";
|
|
4193
4191
|
const {
|
|
4194
4192
|
implementation: F,
|
|
4195
|
-
createNodeIterator:
|
|
4196
|
-
createDocumentFragment:
|
|
4193
|
+
createNodeIterator: Z,
|
|
4194
|
+
createDocumentFragment: X,
|
|
4197
4195
|
getElementsByTagName: Q
|
|
4198
4196
|
} = n, {
|
|
4199
4197
|
importNode: z
|
|
4200
4198
|
} = r;
|
|
4201
|
-
let
|
|
4202
|
-
t.isSupported = typeof
|
|
4199
|
+
let O = {};
|
|
4200
|
+
t.isSupported = typeof Mi == "function" && typeof S == "function" && F && F.createHTMLDocument !== void 0;
|
|
4203
4201
|
const {
|
|
4204
4202
|
MUSTACHE_EXPR: ne,
|
|
4205
4203
|
ERB_EXPR: he,
|
|
4206
|
-
TMPLIT_EXPR:
|
|
4204
|
+
TMPLIT_EXPR: v,
|
|
4207
4205
|
DATA_ATTR: _,
|
|
4208
4206
|
ARIA_ATTR: g,
|
|
4209
4207
|
IS_SCRIPT_OR_DATA: x,
|
|
4210
4208
|
ATTR_WHITESPACE: h,
|
|
4211
4209
|
CUSTOM_ELEMENT: T
|
|
4212
|
-
} =
|
|
4210
|
+
} = Pr;
|
|
4213
4211
|
let {
|
|
4214
4212
|
IS_ALLOWED_URI: N
|
|
4215
|
-
} =
|
|
4216
|
-
const W = P({}, [...
|
|
4213
|
+
} = Pr, L = null;
|
|
4214
|
+
const W = P({}, [...Nr, ...dn, ...pn, ...gn, ...Lr]);
|
|
4217
4215
|
let R = null;
|
|
4218
|
-
const
|
|
4219
|
-
let m = Object.seal(
|
|
4216
|
+
const q = P({}, [...Hr, ...bn, ...Rr, ...Ct]);
|
|
4217
|
+
let m = Object.seal(Ci(null, {
|
|
4220
4218
|
tagNameCheck: {
|
|
4221
4219
|
writable: !0,
|
|
4222
4220
|
configurable: !1,
|
|
@@ -4235,65 +4233,65 @@ function Li() {
|
|
|
4235
4233
|
enumerable: !0,
|
|
4236
4234
|
value: !1
|
|
4237
4235
|
}
|
|
4238
|
-
})), G = null, ee = null, K = !0, _e = !0, ie = !1, ye = !0, be = !1, Ce = !0, Pe = !1, Jt = !1, Qt = !1, Be = !1, yt = !1, Tt = !1,
|
|
4239
|
-
const
|
|
4236
|
+
})), G = null, ee = null, K = !0, _e = !0, ie = !1, ye = !0, be = !1, Ce = !0, Pe = !1, Jt = !1, Qt = !1, Be = !1, yt = !1, Tt = !1, Bn = !0, Un = !1;
|
|
4237
|
+
const Ii = "user-content-";
|
|
4240
4238
|
let Kt = !0, tt = !1, Ue = {}, ke = null;
|
|
4241
|
-
const
|
|
4242
|
-
let
|
|
4243
|
-
const
|
|
4239
|
+
const kn = P({}, ["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"]);
|
|
4240
|
+
let Fn = null;
|
|
4241
|
+
const Gn = P({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4244
4242
|
let en = null;
|
|
4245
|
-
const
|
|
4243
|
+
const $n = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), xt = "http://www.w3.org/1998/Math/MathML", vt = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml";
|
|
4246
4244
|
let Fe = we, tn = !1, nn = null;
|
|
4247
|
-
const
|
|
4245
|
+
const Di = P({}, [xt, vt, we], mn);
|
|
4248
4246
|
let nt = null;
|
|
4249
|
-
const
|
|
4247
|
+
const Bi = ["application/xhtml+xml", "text/html"], Ui = "text/html";
|
|
4250
4248
|
let re = null, Ge = null;
|
|
4251
|
-
const
|
|
4249
|
+
const ki = n.createElement("form"), jn = function(o) {
|
|
4252
4250
|
return o instanceof RegExp || o instanceof Function;
|
|
4253
4251
|
}, rn = function() {
|
|
4254
4252
|
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4255
4253
|
if (!(Ge && Ge === o)) {
|
|
4256
4254
|
if ((!o || typeof o != "object") && (o = {}), o = Ie(o), nt = // eslint-disable-next-line unicorn/prefer-includes
|
|
4257
|
-
|
|
4258
|
-
Ie(
|
|
4255
|
+
Bi.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? Ui : o.PARSER_MEDIA_TYPE, re = nt === "application/xhtml+xml" ? mn : Ut, L = Te(o, "ALLOWED_TAGS") ? P({}, o.ALLOWED_TAGS, re) : W, R = Te(o, "ALLOWED_ATTR") ? P({}, o.ALLOWED_ATTR, re) : q, nn = Te(o, "ALLOWED_NAMESPACES") ? P({}, o.ALLOWED_NAMESPACES, mn) : Di, en = Te(o, "ADD_URI_SAFE_ATTR") ? P(
|
|
4256
|
+
Ie($n),
|
|
4259
4257
|
// eslint-disable-line indent
|
|
4260
4258
|
o.ADD_URI_SAFE_ATTR,
|
|
4261
4259
|
// eslint-disable-line indent
|
|
4262
4260
|
re
|
|
4263
4261
|
// eslint-disable-line indent
|
|
4264
|
-
) :
|
|
4265
|
-
Ie(
|
|
4262
|
+
) : $n, Fn = Te(o, "ADD_DATA_URI_TAGS") ? P(
|
|
4263
|
+
Ie(Gn),
|
|
4266
4264
|
// eslint-disable-line indent
|
|
4267
4265
|
o.ADD_DATA_URI_TAGS,
|
|
4268
4266
|
// eslint-disable-line indent
|
|
4269
4267
|
re
|
|
4270
4268
|
// eslint-disable-line indent
|
|
4271
|
-
) :
|
|
4269
|
+
) : Gn, ke = Te(o, "FORBID_CONTENTS") ? P({}, o.FORBID_CONTENTS, re) : kn, G = Te(o, "FORBID_TAGS") ? P({}, o.FORBID_TAGS, re) : {}, ee = Te(o, "FORBID_ATTR") ? P({}, o.FORBID_ATTR, re) : {}, Ue = Te(o, "USE_PROFILES") ? o.USE_PROFILES : !1, K = o.ALLOW_ARIA_ATTR !== !1, _e = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = o.SAFE_FOR_TEMPLATES || !1, Ce = o.SAFE_FOR_XML !== !1, Pe = o.WHOLE_DOCUMENT || !1, Be = o.RETURN_DOM || !1, yt = o.RETURN_DOM_FRAGMENT || !1, Tt = o.RETURN_TRUSTED_TYPE || !1, Qt = o.FORCE_BODY || !1, Bn = o.SANITIZE_DOM !== !1, Un = o.SANITIZE_NAMED_PROPS || !1, Kt = o.KEEP_CONTENT !== !1, tt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || Ni, Fe = o.NAMESPACE || we, m = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), be && (_e = !1), yt && (Be = !0), Ue && (L = P({}, Lr), R = [], Ue.html === !0 && (P(L, Nr), P(R, Hr)), Ue.svg === !0 && (P(L, dn), P(R, bn), P(R, Ct)), Ue.svgFilters === !0 && (P(L, pn), P(R, bn), P(R, Ct)), Ue.mathMl === !0 && (P(L, gn), P(R, Rr), P(R, Ct))), o.ADD_TAGS && (L === W && (L = Ie(L)), P(L, o.ADD_TAGS, re)), o.ADD_ATTR && (R === q && (R = Ie(R)), P(R, o.ADD_ATTR, re)), o.ADD_URI_SAFE_ATTR && P(en, o.ADD_URI_SAFE_ATTR, re), o.FORBID_CONTENTS && (ke === kn && (ke = Ie(ke)), P(ke, o.FORBID_CONTENTS, re)), Kt && (L["#text"] = !0), Pe && P(L, ["html", "head", "body"]), L.table && (P(L, ["tbody"]), delete G.tbody), o.TRUSTED_TYPES_POLICY) {
|
|
4272
4270
|
if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4273
|
-
throw
|
|
4271
|
+
throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4274
4272
|
if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4275
|
-
throw
|
|
4273
|
+
throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4276
4274
|
H = o.TRUSTED_TYPES_POLICY, I = H.createHTML("");
|
|
4277
4275
|
} else
|
|
4278
|
-
H === void 0 && (H = Ma(
|
|
4276
|
+
H === void 0 && (H = Ma(M, i)), H !== null && typeof I == "string" && (I = H.createHTML(""));
|
|
4279
4277
|
fe && fe(o), Ge = o;
|
|
4280
4278
|
}
|
|
4281
|
-
},
|
|
4282
|
-
let p =
|
|
4279
|
+
}, zn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), Wn = P({}, ["foreignobject", "annotation-xml"]), Fi = P({}, ["title", "style", "font", "a", "script"]), Vn = P({}, [...dn, ...pn, ...ba]), Xn = P({}, [...gn, ...Ea]), Gi = function(o) {
|
|
4280
|
+
let p = S(o);
|
|
4283
4281
|
(!p || !p.tagName) && (p = {
|
|
4284
4282
|
namespaceURI: Fe,
|
|
4285
4283
|
tagName: "template"
|
|
4286
4284
|
});
|
|
4287
|
-
const
|
|
4288
|
-
return nn[o.namespaceURI] ? o.namespaceURI === vt ? p.namespaceURI === we ?
|
|
4285
|
+
const A = Ut(o.tagName), V = Ut(p.tagName);
|
|
4286
|
+
return nn[o.namespaceURI] ? o.namespaceURI === vt ? p.namespaceURI === we ? A === "svg" : p.namespaceURI === xt ? A === "svg" && (V === "annotation-xml" || zn[V]) : !!Vn[A] : o.namespaceURI === xt ? p.namespaceURI === we ? A === "math" : p.namespaceURI === vt ? A === "math" && Wn[V] : !!Xn[A] : o.namespaceURI === we ? p.namespaceURI === vt && !Wn[V] || p.namespaceURI === xt && !zn[V] ? !1 : !Xn[A] && (Fi[A] || !Vn[A]) : !!(nt === "application/xhtml+xml" && nn[o.namespaceURI]) : !1;
|
|
4289
4287
|
}, xe = function(o) {
|
|
4290
4288
|
ot(t.removed, {
|
|
4291
4289
|
element: o
|
|
4292
4290
|
});
|
|
4293
4291
|
try {
|
|
4294
|
-
|
|
4292
|
+
S(o).removeChild(o);
|
|
4295
4293
|
} catch {
|
|
4296
|
-
|
|
4294
|
+
C(o);
|
|
4297
4295
|
}
|
|
4298
4296
|
}, At = function(o, p) {
|
|
4299
4297
|
try {
|
|
@@ -4318,13 +4316,13 @@ function Li() {
|
|
|
4318
4316
|
p.setAttribute(o, "");
|
|
4319
4317
|
} catch {
|
|
4320
4318
|
}
|
|
4321
|
-
},
|
|
4322
|
-
let p = null,
|
|
4319
|
+
}, Yn = function(o) {
|
|
4320
|
+
let p = null, A = null;
|
|
4323
4321
|
if (Qt)
|
|
4324
4322
|
o = "<remove></remove>" + o;
|
|
4325
4323
|
else {
|
|
4326
|
-
const se =
|
|
4327
|
-
|
|
4324
|
+
const se = Cr(o, /^[\r\n\t ]+/);
|
|
4325
|
+
A = se && se[0];
|
|
4328
4326
|
}
|
|
4329
4327
|
nt === "application/xhtml+xml" && Fe === we && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
|
|
4330
4328
|
const V = H ? H.createHTML(o) : o;
|
|
@@ -4341,38 +4339,38 @@ function Li() {
|
|
|
4341
4339
|
}
|
|
4342
4340
|
}
|
|
4343
4341
|
const oe = p.body || p.documentElement;
|
|
4344
|
-
return o &&
|
|
4345
|
-
},
|
|
4346
|
-
return
|
|
4342
|
+
return o && A && oe.insertBefore(n.createTextNode(A), oe.childNodes[0] || null), Fe === we ? Q.call(p, Pe ? "html" : "body")[0] : Pe ? p.documentElement : oe;
|
|
4343
|
+
}, Zn = function(o) {
|
|
4344
|
+
return Z.call(
|
|
4347
4345
|
o.ownerDocument || o,
|
|
4348
4346
|
o,
|
|
4349
4347
|
// eslint-disable-next-line no-bitwise
|
|
4350
|
-
|
|
4348
|
+
u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
|
|
4351
4349
|
null
|
|
4352
4350
|
);
|
|
4353
|
-
}, Zn = function(o) {
|
|
4354
|
-
return o instanceof b && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof f) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
|
|
4355
4351
|
}, qn = function(o) {
|
|
4352
|
+
return o instanceof b && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof f) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
|
|
4353
|
+
}, Jn = function(o) {
|
|
4356
4354
|
return typeof a == "function" && o instanceof a;
|
|
4357
|
-
}, Oe = function(o, p,
|
|
4358
|
-
|
|
4359
|
-
V.call(t, p,
|
|
4355
|
+
}, Oe = function(o, p, A) {
|
|
4356
|
+
O[o] && Mt(O[o], (V) => {
|
|
4357
|
+
V.call(t, p, A, Ge);
|
|
4360
4358
|
});
|
|
4361
|
-
},
|
|
4359
|
+
}, Qn = function(o) {
|
|
4362
4360
|
let p = null;
|
|
4363
|
-
if (Oe("beforeSanitizeElements", o, null),
|
|
4361
|
+
if (Oe("beforeSanitizeElements", o, null), qn(o))
|
|
4364
4362
|
return xe(o), !0;
|
|
4365
|
-
const
|
|
4363
|
+
const A = re(o.nodeName);
|
|
4366
4364
|
if (Oe("uponSanitizeElement", o, {
|
|
4367
|
-
tagName:
|
|
4365
|
+
tagName: A,
|
|
4368
4366
|
allowedTags: L
|
|
4369
|
-
}), o.hasChildNodes() && !
|
|
4367
|
+
}), o.hasChildNodes() && !Jn(o.firstElementChild) && le(/<[/\w]/g, o.innerHTML) && le(/<[/\w]/g, o.textContent) || o.nodeType === ct.progressingInstruction || Ce && o.nodeType === ct.comment && le(/<[/\w]/g, o.data))
|
|
4370
4368
|
return xe(o), !0;
|
|
4371
|
-
if (!L[
|
|
4372
|
-
if (!G[
|
|
4369
|
+
if (!L[A] || G[A]) {
|
|
4370
|
+
if (!G[A] && er(A) && (m.tagNameCheck instanceof RegExp && le(m.tagNameCheck, A) || m.tagNameCheck instanceof Function && m.tagNameCheck(A)))
|
|
4373
4371
|
return !1;
|
|
4374
|
-
if (Kt && !ke[
|
|
4375
|
-
const V =
|
|
4372
|
+
if (Kt && !ke[A]) {
|
|
4373
|
+
const V = S(o) || o.parentNode, oe = U(o) || o.childNodes;
|
|
4376
4374
|
if (oe && V) {
|
|
4377
4375
|
const se = oe.length;
|
|
4378
4376
|
for (let me = se - 1; me >= 0; --me) {
|
|
@@ -4383,31 +4381,31 @@ function Li() {
|
|
|
4383
4381
|
}
|
|
4384
4382
|
return xe(o), !0;
|
|
4385
4383
|
}
|
|
4386
|
-
return o instanceof c && !
|
|
4384
|
+
return o instanceof c && !Gi(o) || (A === "noscript" || A === "noembed" || A === "noframes") && le(/<\/no(script|embed|frames)/i, o.innerHTML) ? (xe(o), !0) : (be && o.nodeType === ct.text && (p = o.textContent, Mt([ne, he, v], (V) => {
|
|
4387
4385
|
p = at(p, V, " ");
|
|
4388
4386
|
}), o.textContent !== p && (ot(t.removed, {
|
|
4389
4387
|
element: o.cloneNode()
|
|
4390
4388
|
}), o.textContent = p)), Oe("afterSanitizeElements", o, null), !1);
|
|
4391
|
-
},
|
|
4392
|
-
if (
|
|
4389
|
+
}, Kn = function(o, p, A) {
|
|
4390
|
+
if (Bn && (p === "id" || p === "name") && (A in n || A in ki))
|
|
4393
4391
|
return !1;
|
|
4394
|
-
if (!(_e && !ee[p] &&
|
|
4395
|
-
if (!(K &&
|
|
4392
|
+
if (!(_e && !ee[p] && le(_, p))) {
|
|
4393
|
+
if (!(K && le(g, p))) {
|
|
4396
4394
|
if (!R[p] || ee[p]) {
|
|
4397
4395
|
if (
|
|
4398
4396
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4399
4397
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4400
4398
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4401
|
-
!(
|
|
4399
|
+
!(er(o) && (m.tagNameCheck instanceof RegExp && le(m.tagNameCheck, o) || m.tagNameCheck instanceof Function && m.tagNameCheck(o)) && (m.attributeNameCheck instanceof RegExp && le(m.attributeNameCheck, p) || m.attributeNameCheck instanceof Function && m.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
4402
4400
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4403
|
-
p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp &&
|
|
4401
|
+
p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && le(m.tagNameCheck, A) || m.tagNameCheck instanceof Function && m.tagNameCheck(A)))
|
|
4404
4402
|
)
|
|
4405
4403
|
return !1;
|
|
4406
4404
|
} else if (!en[p]) {
|
|
4407
|
-
if (!
|
|
4408
|
-
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && ma(
|
|
4409
|
-
if (!(ie && !
|
|
4410
|
-
if (
|
|
4405
|
+
if (!le(N, at(A, h, ""))) {
|
|
4406
|
+
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && ma(A, "data:") === 0 && Fn[o])) {
|
|
4407
|
+
if (!(ie && !le(x, at(A, h, "")))) {
|
|
4408
|
+
if (A)
|
|
4411
4409
|
return !1;
|
|
4412
4410
|
}
|
|
4413
4411
|
}
|
|
@@ -4416,16 +4414,16 @@ function Li() {
|
|
|
4416
4414
|
}
|
|
4417
4415
|
}
|
|
4418
4416
|
return !0;
|
|
4419
|
-
}, Kn = function(o) {
|
|
4420
|
-
return o !== "annotation-xml" && Mr(o, T);
|
|
4421
4417
|
}, er = function(o) {
|
|
4418
|
+
return o !== "annotation-xml" && Cr(o, T);
|
|
4419
|
+
}, tr = function(o) {
|
|
4422
4420
|
Oe("beforeSanitizeAttributes", o, null);
|
|
4423
4421
|
const {
|
|
4424
4422
|
attributes: p
|
|
4425
4423
|
} = o;
|
|
4426
4424
|
if (!p)
|
|
4427
4425
|
return;
|
|
4428
|
-
const
|
|
4426
|
+
const A = {
|
|
4429
4427
|
attrName: "",
|
|
4430
4428
|
attrValue: "",
|
|
4431
4429
|
keepAttr: !0,
|
|
@@ -4439,23 +4437,23 @@ function Li() {
|
|
|
4439
4437
|
value: ve
|
|
4440
4438
|
} = oe, rt = re(se);
|
|
4441
4439
|
let ae = se === "value" ? ve : da(ve);
|
|
4442
|
-
if (
|
|
4440
|
+
if (A.attrName = rt, A.attrValue = ae, A.keepAttr = !0, A.forceKeepAttr = void 0, Oe("uponSanitizeAttribute", o, A), ae = A.attrValue, Ce && le(/((--!?|])>)|<\/(style|title)/i, ae)) {
|
|
4443
4441
|
At(se, o);
|
|
4444
4442
|
continue;
|
|
4445
4443
|
}
|
|
4446
|
-
if (
|
|
4444
|
+
if (A.forceKeepAttr || (At(se, o), !A.keepAttr))
|
|
4447
4445
|
continue;
|
|
4448
|
-
if (!ye &&
|
|
4446
|
+
if (!ye && le(/\/>/i, ae)) {
|
|
4449
4447
|
At(se, o);
|
|
4450
4448
|
continue;
|
|
4451
4449
|
}
|
|
4452
|
-
be && Mt([ne, he,
|
|
4453
|
-
ae = at(ae,
|
|
4450
|
+
be && Mt([ne, he, v], (rr) => {
|
|
4451
|
+
ae = at(ae, rr, " ");
|
|
4454
4452
|
});
|
|
4455
|
-
const
|
|
4456
|
-
if (
|
|
4457
|
-
if (
|
|
4458
|
-
switch (
|
|
4453
|
+
const nr = re(o.nodeName);
|
|
4454
|
+
if (Kn(nr, rt, ae)) {
|
|
4455
|
+
if (Un && (rt === "id" || rt === "name") && (At(se, o), ae = Ii + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
|
|
4456
|
+
switch (M.getAttributeType(nr, rt)) {
|
|
4459
4457
|
case "TrustedHTML": {
|
|
4460
4458
|
ae = H.createHTML(ae);
|
|
4461
4459
|
break;
|
|
@@ -4466,61 +4464,61 @@ function Li() {
|
|
|
4466
4464
|
}
|
|
4467
4465
|
}
|
|
4468
4466
|
try {
|
|
4469
|
-
me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae),
|
|
4467
|
+
me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae), qn(o) ? xe(o) : Mr(t.removed);
|
|
4470
4468
|
} catch {
|
|
4471
4469
|
}
|
|
4472
4470
|
}
|
|
4473
4471
|
}
|
|
4474
4472
|
Oe("afterSanitizeAttributes", o, null);
|
|
4475
|
-
},
|
|
4473
|
+
}, $i = function w(o) {
|
|
4476
4474
|
let p = null;
|
|
4477
|
-
const
|
|
4478
|
-
for (Oe("beforeSanitizeShadowDOM", o, null); p =
|
|
4479
|
-
Oe("uponSanitizeShadowNode", p, null), !
|
|
4475
|
+
const A = Zn(o);
|
|
4476
|
+
for (Oe("beforeSanitizeShadowDOM", o, null); p = A.nextNode(); )
|
|
4477
|
+
Oe("uponSanitizeShadowNode", p, null), !Qn(p) && (p.content instanceof s && w(p.content), tr(p));
|
|
4480
4478
|
Oe("afterSanitizeShadowDOM", o, null);
|
|
4481
4479
|
};
|
|
4482
4480
|
return t.sanitize = function(w) {
|
|
4483
|
-
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null,
|
|
4484
|
-
if (tn = !w, tn && (w = "<!-->"), typeof w != "string" && !
|
|
4481
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, A = null, V = null, oe = null;
|
|
4482
|
+
if (tn = !w, tn && (w = "<!-->"), typeof w != "string" && !Jn(w))
|
|
4485
4483
|
if (typeof w.toString == "function") {
|
|
4486
4484
|
if (w = w.toString(), typeof w != "string")
|
|
4487
|
-
throw
|
|
4485
|
+
throw lt("dirty is not a string, aborting");
|
|
4488
4486
|
} else
|
|
4489
|
-
throw
|
|
4487
|
+
throw lt("toString is not a function");
|
|
4490
4488
|
if (!t.isSupported)
|
|
4491
4489
|
return w;
|
|
4492
4490
|
if (Jt || rn(o), t.removed = [], typeof w == "string" && (tt = !1), tt) {
|
|
4493
4491
|
if (w.nodeName) {
|
|
4494
4492
|
const ve = re(w.nodeName);
|
|
4495
4493
|
if (!L[ve] || G[ve])
|
|
4496
|
-
throw
|
|
4494
|
+
throw lt("root node is forbidden and cannot be sanitized in-place");
|
|
4497
4495
|
}
|
|
4498
4496
|
} else if (w instanceof a)
|
|
4499
|
-
p =
|
|
4497
|
+
p = Yn("<!---->"), A = p.ownerDocument.importNode(w, !0), A.nodeType === ct.element && A.nodeName === "BODY" || A.nodeName === "HTML" ? p = A : p.appendChild(A);
|
|
4500
4498
|
else {
|
|
4501
4499
|
if (!Be && !be && !Pe && // eslint-disable-next-line unicorn/prefer-includes
|
|
4502
4500
|
w.indexOf("<") === -1)
|
|
4503
4501
|
return H && Tt ? H.createHTML(w) : w;
|
|
4504
|
-
if (p =
|
|
4502
|
+
if (p = Yn(w), !p)
|
|
4505
4503
|
return Be ? null : Tt ? I : "";
|
|
4506
4504
|
}
|
|
4507
4505
|
p && Qt && xe(p.firstChild);
|
|
4508
|
-
const se =
|
|
4506
|
+
const se = Zn(tt ? w : p);
|
|
4509
4507
|
for (; V = se.nextNode(); )
|
|
4510
|
-
|
|
4508
|
+
Qn(V) || (V.content instanceof s && $i(V.content), tr(V));
|
|
4511
4509
|
if (tt)
|
|
4512
4510
|
return w;
|
|
4513
4511
|
if (Be) {
|
|
4514
4512
|
if (yt)
|
|
4515
|
-
for (oe =
|
|
4513
|
+
for (oe = X.call(p.ownerDocument); p.firstChild; )
|
|
4516
4514
|
oe.appendChild(p.firstChild);
|
|
4517
4515
|
else
|
|
4518
4516
|
oe = p;
|
|
4519
4517
|
return (R.shadowroot || R.shadowrootmode) && (oe = z.call(r, oe, !0)), oe;
|
|
4520
4518
|
}
|
|
4521
4519
|
let me = Pe ? p.outerHTML : p.innerHTML;
|
|
4522
|
-
return Pe && L["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name &&
|
|
4523
|
-
` + me), be && Mt([ne, he,
|
|
4520
|
+
return Pe && L["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && le(Li, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
|
|
4521
|
+
` + me), be && Mt([ne, he, v], (ve) => {
|
|
4524
4522
|
me = at(me, ve, " ");
|
|
4525
4523
|
}), H && Tt ? H.createHTML(me) : me;
|
|
4526
4524
|
}, t.setConfig = function() {
|
|
@@ -4530,51 +4528,51 @@ function Li() {
|
|
|
4530
4528
|
Ge = null, Jt = !1;
|
|
4531
4529
|
}, t.isValidAttribute = function(w, o, p) {
|
|
4532
4530
|
Ge || rn({});
|
|
4533
|
-
const
|
|
4534
|
-
return
|
|
4531
|
+
const A = re(w), V = re(o);
|
|
4532
|
+
return Kn(A, V, p);
|
|
4535
4533
|
}, t.addHook = function(w, o) {
|
|
4536
|
-
typeof o == "function" && (
|
|
4534
|
+
typeof o == "function" && (O[w] = O[w] || [], ot(O[w], o));
|
|
4537
4535
|
}, t.removeHook = function(w) {
|
|
4538
|
-
if (
|
|
4539
|
-
return
|
|
4536
|
+
if (O[w])
|
|
4537
|
+
return Mr(O[w]);
|
|
4540
4538
|
}, t.removeHooks = function(w) {
|
|
4541
|
-
|
|
4539
|
+
O[w] && (O[w] = []);
|
|
4542
4540
|
}, t.removeAllHooks = function() {
|
|
4543
|
-
|
|
4541
|
+
O = {};
|
|
4544
4542
|
}, t;
|
|
4545
4543
|
}
|
|
4546
|
-
var
|
|
4544
|
+
var Ir = Hi();
|
|
4547
4545
|
const Ca = "data:image/webp;base64,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";
|
|
4548
|
-
var
|
|
4546
|
+
var Ri = { exports: {} };
|
|
4549
4547
|
(function(e, t) {
|
|
4550
4548
|
(function(n, r) {
|
|
4551
4549
|
e.exports = r();
|
|
4552
|
-
})(
|
|
4553
|
-
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond",
|
|
4554
|
-
var _ = ["th", "st", "nd", "rd"], g =
|
|
4555
|
-
return "[" +
|
|
4556
|
-
} },
|
|
4557
|
-
var x = String(
|
|
4558
|
-
return !x || x.length >= _ ?
|
|
4559
|
-
}, H = { s:
|
|
4560
|
-
var _ = -
|
|
4561
|
-
return (_ <= 0 ? "+" : "-") +
|
|
4562
|
-
}, m: function
|
|
4550
|
+
})(ni, function() {
|
|
4551
|
+
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", l = "second", a = "minute", c = "hour", u = "day", f = "week", b = "month", y = "quarter", M = "year", E = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|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, U = { 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) {
|
|
4552
|
+
var _ = ["th", "st", "nd", "rd"], g = v % 100;
|
|
4553
|
+
return "[" + v + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
|
|
4554
|
+
} }, S = function(v, _, g) {
|
|
4555
|
+
var x = String(v);
|
|
4556
|
+
return !x || x.length >= _ ? v : "" + Array(_ + 1 - x.length).join(g) + v;
|
|
4557
|
+
}, H = { s: S, z: function(v) {
|
|
4558
|
+
var _ = -v.utcOffset(), g = Math.abs(_), x = Math.floor(g / 60), h = g % 60;
|
|
4559
|
+
return (_ <= 0 ? "+" : "-") + S(x, 2, "0") + ":" + S(h, 2, "0");
|
|
4560
|
+
}, m: function v(_, g) {
|
|
4563
4561
|
if (_.date() < g.date())
|
|
4564
|
-
return -
|
|
4562
|
+
return -v(g, _);
|
|
4565
4563
|
var x = 12 * (g.year() - _.year()) + (g.month() - _.month()), h = _.clone().add(x, b), T = g - h < 0, N = _.clone().add(x + (T ? -1 : 1), b);
|
|
4566
4564
|
return +(-(x + (g - h) / (T ? h - N : N - h)) || 0);
|
|
4567
|
-
}, a: function(
|
|
4568
|
-
return
|
|
4569
|
-
}, p: function(
|
|
4570
|
-
return { M: b, y:
|
|
4571
|
-
}, u: function(
|
|
4572
|
-
return
|
|
4565
|
+
}, a: function(v) {
|
|
4566
|
+
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
|
4567
|
+
}, p: function(v) {
|
|
4568
|
+
return { M: b, y: M, w: f, d: u, D: E, h: c, m: a, s: l, ms: s, Q: y }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
|
4569
|
+
}, u: function(v) {
|
|
4570
|
+
return v === void 0;
|
|
4573
4571
|
} }, I = "en", F = {};
|
|
4574
4572
|
F[I] = U;
|
|
4575
|
-
var
|
|
4576
|
-
return
|
|
4577
|
-
}, Q = function
|
|
4573
|
+
var Z = "$isDayjsObject", X = function(v) {
|
|
4574
|
+
return v instanceof ne || !(!v || !v[Z]);
|
|
4575
|
+
}, Q = function v(_, g, x) {
|
|
4578
4576
|
var h;
|
|
4579
4577
|
if (!_)
|
|
4580
4578
|
return I;
|
|
@@ -4583,37 +4581,37 @@ var Hi = { exports: {} };
|
|
|
4583
4581
|
F[T] && (h = T), g && (F[T] = g, h = T);
|
|
4584
4582
|
var N = _.split("-");
|
|
4585
4583
|
if (!h && N.length > 1)
|
|
4586
|
-
return
|
|
4584
|
+
return v(N[0]);
|
|
4587
4585
|
} else {
|
|
4588
4586
|
var L = _.name;
|
|
4589
4587
|
F[L] = _, h = L;
|
|
4590
4588
|
}
|
|
4591
4589
|
return !x && h && (I = h), h || !x && I;
|
|
4592
|
-
}, z = function(
|
|
4593
|
-
if (
|
|
4594
|
-
return
|
|
4590
|
+
}, z = function(v, _) {
|
|
4591
|
+
if (X(v))
|
|
4592
|
+
return v.clone();
|
|
4595
4593
|
var g = typeof _ == "object" ? _ : {};
|
|
4596
|
-
return g.date =
|
|
4597
|
-
},
|
|
4598
|
-
|
|
4599
|
-
return z(
|
|
4594
|
+
return g.date = v, g.args = arguments, new ne(g);
|
|
4595
|
+
}, O = H;
|
|
4596
|
+
O.l = Q, O.i = X, O.w = function(v, _) {
|
|
4597
|
+
return z(v, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
|
|
4600
4598
|
};
|
|
4601
4599
|
var ne = function() {
|
|
4602
|
-
function
|
|
4603
|
-
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[
|
|
4600
|
+
function v(g) {
|
|
4601
|
+
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Z] = !0;
|
|
4604
4602
|
}
|
|
4605
|
-
var _ =
|
|
4603
|
+
var _ = v.prototype;
|
|
4606
4604
|
return _.parse = function(g) {
|
|
4607
4605
|
this.$d = function(x) {
|
|
4608
4606
|
var h = x.date, T = x.utc;
|
|
4609
4607
|
if (h === null)
|
|
4610
4608
|
return /* @__PURE__ */ new Date(NaN);
|
|
4611
|
-
if (
|
|
4609
|
+
if (O.u(h))
|
|
4612
4610
|
return /* @__PURE__ */ new Date();
|
|
4613
4611
|
if (h instanceof Date)
|
|
4614
4612
|
return new Date(h);
|
|
4615
4613
|
if (typeof h == "string" && !/Z$/i.test(h)) {
|
|
4616
|
-
var N = h.match(
|
|
4614
|
+
var N = h.match(C);
|
|
4617
4615
|
if (N) {
|
|
4618
4616
|
var L = N[2] - 1 || 0, W = (N[7] || "0").substring(0, 3);
|
|
4619
4617
|
return T ? new Date(Date.UTC(N[1], L, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, W)) : new Date(N[1], L, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, W);
|
|
@@ -4625,7 +4623,7 @@ var Hi = { exports: {} };
|
|
|
4625
4623
|
var g = this.$d;
|
|
4626
4624
|
this.$y = g.getFullYear(), this.$M = g.getMonth(), this.$D = g.getDate(), this.$W = g.getDay(), this.$H = g.getHours(), this.$m = g.getMinutes(), this.$s = g.getSeconds(), this.$ms = g.getMilliseconds();
|
|
4627
4625
|
}, _.$utils = function() {
|
|
4628
|
-
return
|
|
4626
|
+
return O;
|
|
4629
4627
|
}, _.isValid = function() {
|
|
4630
4628
|
return this.$d.toString() !== d;
|
|
4631
4629
|
}, _.isSame = function(g, x) {
|
|
@@ -4636,34 +4634,34 @@ var Hi = { exports: {} };
|
|
|
4636
4634
|
}, _.isBefore = function(g, x) {
|
|
4637
4635
|
return this.endOf(x) < z(g);
|
|
4638
4636
|
}, _.$g = function(g, x, h) {
|
|
4639
|
-
return
|
|
4637
|
+
return O.u(g) ? this[x] : this.set(h, g);
|
|
4640
4638
|
}, _.unix = function() {
|
|
4641
4639
|
return Math.floor(this.valueOf() / 1e3);
|
|
4642
4640
|
}, _.valueOf = function() {
|
|
4643
4641
|
return this.$d.getTime();
|
|
4644
4642
|
}, _.startOf = function(g, x) {
|
|
4645
|
-
var h = this, T = !!
|
|
4646
|
-
var ye =
|
|
4647
|
-
return T ? ye : ye.endOf(
|
|
4643
|
+
var h = this, T = !!O.u(x) || x, N = O.p(g), L = function(_e, ie) {
|
|
4644
|
+
var ye = O.w(h.$u ? Date.UTC(h.$y, ie, _e) : new Date(h.$y, ie, _e), h);
|
|
4645
|
+
return T ? ye : ye.endOf(u);
|
|
4648
4646
|
}, W = function(_e, ie) {
|
|
4649
|
-
return
|
|
4650
|
-
}, R = this.$W,
|
|
4647
|
+
return O.w(h.toDate()[_e].apply(h.toDate("s"), (T ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
|
|
4648
|
+
}, R = this.$W, q = this.$M, m = this.$D, G = "set" + (this.$u ? "UTC" : "");
|
|
4651
4649
|
switch (N) {
|
|
4652
|
-
case
|
|
4650
|
+
case M:
|
|
4653
4651
|
return T ? L(1, 0) : L(31, 11);
|
|
4654
4652
|
case b:
|
|
4655
|
-
return T ? L(1,
|
|
4653
|
+
return T ? L(1, q) : L(0, q + 1);
|
|
4656
4654
|
case f:
|
|
4657
4655
|
var ee = this.$locale().weekStart || 0, K = (R < ee ? R + 7 : R) - ee;
|
|
4658
|
-
return L(T ? m - K : m + (6 - K),
|
|
4659
|
-
case
|
|
4656
|
+
return L(T ? m - K : m + (6 - K), q);
|
|
4657
|
+
case u:
|
|
4660
4658
|
case E:
|
|
4661
4659
|
return W(G + "Hours", 0);
|
|
4662
4660
|
case c:
|
|
4663
4661
|
return W(G + "Minutes", 1);
|
|
4664
4662
|
case a:
|
|
4665
4663
|
return W(G + "Seconds", 2);
|
|
4666
|
-
case
|
|
4664
|
+
case l:
|
|
4667
4665
|
return W(G + "Milliseconds", 3);
|
|
4668
4666
|
default:
|
|
4669
4667
|
return this.clone();
|
|
@@ -4671,8 +4669,8 @@ var Hi = { exports: {} };
|
|
|
4671
4669
|
}, _.endOf = function(g) {
|
|
4672
4670
|
return this.startOf(g, !1);
|
|
4673
4671
|
}, _.$set = function(g, x) {
|
|
4674
|
-
var h, T =
|
|
4675
|
-
if (T === b || T ===
|
|
4672
|
+
var h, T = O.p(g), N = "set" + (this.$u ? "UTC" : ""), L = (h = {}, h[u] = N + "Date", h[E] = N + "Date", h[b] = N + "Month", h[M] = N + "FullYear", h[c] = N + "Hours", h[a] = N + "Minutes", h[l] = N + "Seconds", h[s] = N + "Milliseconds", h)[T], W = T === u ? this.$D + (x - this.$W) : x;
|
|
4673
|
+
if (T === b || T === M) {
|
|
4676
4674
|
var R = this.clone().set(E, 1);
|
|
4677
4675
|
R.$d[L](W), R.init(), this.$d = R.set(E, Math.min(this.$D, R.daysInMonth())).$d;
|
|
4678
4676
|
} else
|
|
@@ -4681,34 +4679,34 @@ var Hi = { exports: {} };
|
|
|
4681
4679
|
}, _.set = function(g, x) {
|
|
4682
4680
|
return this.clone().$set(g, x);
|
|
4683
4681
|
}, _.get = function(g) {
|
|
4684
|
-
return this[
|
|
4682
|
+
return this[O.p(g)]();
|
|
4685
4683
|
}, _.add = function(g, x) {
|
|
4686
4684
|
var h, T = this;
|
|
4687
4685
|
g = Number(g);
|
|
4688
|
-
var N =
|
|
4686
|
+
var N = O.p(x), L = function(q) {
|
|
4689
4687
|
var m = z(T);
|
|
4690
|
-
return
|
|
4688
|
+
return O.w(m.date(m.date() + Math.round(q * g)), T);
|
|
4691
4689
|
};
|
|
4692
4690
|
if (N === b)
|
|
4693
4691
|
return this.set(b, this.$M + g);
|
|
4694
|
-
if (N ===
|
|
4695
|
-
return this.set(
|
|
4696
|
-
if (N ===
|
|
4692
|
+
if (N === M)
|
|
4693
|
+
return this.set(M, this.$y + g);
|
|
4694
|
+
if (N === u)
|
|
4697
4695
|
return L(1);
|
|
4698
4696
|
if (N === f)
|
|
4699
4697
|
return L(7);
|
|
4700
|
-
var W = (h = {}, h[a] = r, h[c] = i, h[
|
|
4701
|
-
return
|
|
4698
|
+
var W = (h = {}, h[a] = r, h[c] = i, h[l] = n, h)[N] || 1, R = this.$d.getTime() + g * W;
|
|
4699
|
+
return O.w(R, this);
|
|
4702
4700
|
}, _.subtract = function(g, x) {
|
|
4703
4701
|
return this.add(-1 * g, x);
|
|
4704
4702
|
}, _.format = function(g) {
|
|
4705
4703
|
var x = this, h = this.$locale();
|
|
4706
4704
|
if (!this.isValid())
|
|
4707
4705
|
return h.invalidDate || d;
|
|
4708
|
-
var T = g || "YYYY-MM-DDTHH:mm:ssZ", N =
|
|
4706
|
+
var T = g || "YYYY-MM-DDTHH:mm:ssZ", N = O.z(this), L = this.$H, W = this.$m, R = this.$M, q = h.weekdays, m = h.months, G = h.meridiem, ee = function(ie, ye, be, Ce) {
|
|
4709
4707
|
return ie && (ie[ye] || ie(x, T)) || be[ye].slice(0, Ce);
|
|
4710
4708
|
}, K = function(ie) {
|
|
4711
|
-
return
|
|
4709
|
+
return O.s(L % 12 || 12, ie, "0");
|
|
4712
4710
|
}, _e = G || function(ie, ye, be) {
|
|
4713
4711
|
var Ce = ie < 12 ? "AM" : "PM";
|
|
4714
4712
|
return be ? Ce.toLowerCase() : Ce;
|
|
@@ -4719,11 +4717,11 @@ var Hi = { exports: {} };
|
|
|
4719
4717
|
case "YY":
|
|
4720
4718
|
return String(x.$y).slice(-2);
|
|
4721
4719
|
case "YYYY":
|
|
4722
|
-
return
|
|
4720
|
+
return O.s(x.$y, 4, "0");
|
|
4723
4721
|
case "M":
|
|
4724
4722
|
return R + 1;
|
|
4725
4723
|
case "MM":
|
|
4726
|
-
return
|
|
4724
|
+
return O.s(R + 1, 2, "0");
|
|
4727
4725
|
case "MMM":
|
|
4728
4726
|
return ee(h.monthsShort, R, m, 3);
|
|
4729
4727
|
case "MMMM":
|
|
@@ -4731,19 +4729,19 @@ var Hi = { exports: {} };
|
|
|
4731
4729
|
case "D":
|
|
4732
4730
|
return x.$D;
|
|
4733
4731
|
case "DD":
|
|
4734
|
-
return
|
|
4732
|
+
return O.s(x.$D, 2, "0");
|
|
4735
4733
|
case "d":
|
|
4736
4734
|
return String(x.$W);
|
|
4737
4735
|
case "dd":
|
|
4738
|
-
return ee(h.weekdaysMin, x.$W,
|
|
4736
|
+
return ee(h.weekdaysMin, x.$W, q, 2);
|
|
4739
4737
|
case "ddd":
|
|
4740
|
-
return ee(h.weekdaysShort, x.$W,
|
|
4738
|
+
return ee(h.weekdaysShort, x.$W, q, 3);
|
|
4741
4739
|
case "dddd":
|
|
4742
|
-
return
|
|
4740
|
+
return q[x.$W];
|
|
4743
4741
|
case "H":
|
|
4744
4742
|
return String(L);
|
|
4745
4743
|
case "HH":
|
|
4746
|
-
return
|
|
4744
|
+
return O.s(L, 2, "0");
|
|
4747
4745
|
case "h":
|
|
4748
4746
|
return K(1);
|
|
4749
4747
|
case "hh":
|
|
@@ -4755,13 +4753,13 @@ var Hi = { exports: {} };
|
|
|
4755
4753
|
case "m":
|
|
4756
4754
|
return String(W);
|
|
4757
4755
|
case "mm":
|
|
4758
|
-
return
|
|
4756
|
+
return O.s(W, 2, "0");
|
|
4759
4757
|
case "s":
|
|
4760
4758
|
return String(x.$s);
|
|
4761
4759
|
case "ss":
|
|
4762
|
-
return
|
|
4760
|
+
return O.s(x.$s, 2, "0");
|
|
4763
4761
|
case "SSS":
|
|
4764
|
-
return
|
|
4762
|
+
return O.s(x.$ms, 3, "0");
|
|
4765
4763
|
case "Z":
|
|
4766
4764
|
return N;
|
|
4767
4765
|
}
|
|
@@ -4771,11 +4769,11 @@ var Hi = { exports: {} };
|
|
|
4771
4769
|
}, _.utcOffset = function() {
|
|
4772
4770
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4773
4771
|
}, _.diff = function(g, x, h) {
|
|
4774
|
-
var T, N = this, L =
|
|
4775
|
-
return
|
|
4772
|
+
var T, N = this, L = O.p(x), W = z(g), R = (W.utcOffset() - this.utcOffset()) * r, q = this - W, m = function() {
|
|
4773
|
+
return O.m(N, W);
|
|
4776
4774
|
};
|
|
4777
4775
|
switch (L) {
|
|
4778
|
-
case
|
|
4776
|
+
case M:
|
|
4779
4777
|
T = m() / 12;
|
|
4780
4778
|
break;
|
|
4781
4779
|
case b:
|
|
@@ -4785,24 +4783,24 @@ var Hi = { exports: {} };
|
|
|
4785
4783
|
T = m() / 3;
|
|
4786
4784
|
break;
|
|
4787
4785
|
case f:
|
|
4788
|
-
T = (
|
|
4786
|
+
T = (q - R) / 6048e5;
|
|
4789
4787
|
break;
|
|
4790
|
-
case
|
|
4791
|
-
T = (
|
|
4788
|
+
case u:
|
|
4789
|
+
T = (q - R) / 864e5;
|
|
4792
4790
|
break;
|
|
4793
4791
|
case c:
|
|
4794
|
-
T =
|
|
4792
|
+
T = q / i;
|
|
4795
4793
|
break;
|
|
4796
4794
|
case a:
|
|
4797
|
-
T =
|
|
4795
|
+
T = q / r;
|
|
4798
4796
|
break;
|
|
4799
|
-
case
|
|
4800
|
-
T =
|
|
4797
|
+
case l:
|
|
4798
|
+
T = q / n;
|
|
4801
4799
|
break;
|
|
4802
4800
|
default:
|
|
4803
|
-
T =
|
|
4801
|
+
T = q;
|
|
4804
4802
|
}
|
|
4805
|
-
return h ? T :
|
|
4803
|
+
return h ? T : O.a(T);
|
|
4806
4804
|
}, _.daysInMonth = function() {
|
|
4807
4805
|
return this.endOf(b).$D;
|
|
4808
4806
|
}, _.$locale = function() {
|
|
@@ -4813,7 +4811,7 @@ var Hi = { exports: {} };
|
|
|
4813
4811
|
var h = this.clone(), T = Q(g, x, !0);
|
|
4814
4812
|
return T && (h.$L = T), h;
|
|
4815
4813
|
}, _.clone = function() {
|
|
4816
|
-
return
|
|
4814
|
+
return O.w(this.$d, this);
|
|
4817
4815
|
}, _.toDate = function() {
|
|
4818
4816
|
return new Date(this.valueOf());
|
|
4819
4817
|
}, _.toJSON = function() {
|
|
@@ -4822,41 +4820,41 @@ var Hi = { exports: {} };
|
|
|
4822
4820
|
return this.$d.toISOString();
|
|
4823
4821
|
}, _.toString = function() {
|
|
4824
4822
|
return this.$d.toUTCString();
|
|
4825
|
-
},
|
|
4823
|
+
}, v;
|
|
4826
4824
|
}(), he = ne.prototype;
|
|
4827
|
-
return z.prototype = he, [["$ms", s], ["$s",
|
|
4828
|
-
he[
|
|
4829
|
-
return this.$g(_,
|
|
4825
|
+
return z.prototype = he, [["$ms", s], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", b], ["$y", M], ["$D", E]].forEach(function(v) {
|
|
4826
|
+
he[v[1]] = function(_) {
|
|
4827
|
+
return this.$g(_, v[0], v[1]);
|
|
4830
4828
|
};
|
|
4831
|
-
}), z.extend = function(
|
|
4832
|
-
return
|
|
4833
|
-
}, z.locale = Q, z.isDayjs =
|
|
4834
|
-
return z(1e3 *
|
|
4829
|
+
}), z.extend = function(v, _) {
|
|
4830
|
+
return v.$i || (v(_, ne, z), v.$i = !0), z;
|
|
4831
|
+
}, z.locale = Q, z.isDayjs = X, z.unix = function(v) {
|
|
4832
|
+
return z(1e3 * v);
|
|
4835
4833
|
}, z.en = F[I], z.Ls = F, z.p = {}, z;
|
|
4836
4834
|
});
|
|
4837
|
-
})(
|
|
4838
|
-
var Na =
|
|
4839
|
-
const
|
|
4840
|
-
var
|
|
4835
|
+
})(Ri);
|
|
4836
|
+
var Na = Ri.exports;
|
|
4837
|
+
const Dr = /* @__PURE__ */ Hn(Na);
|
|
4838
|
+
var Pi = { exports: {} };
|
|
4841
4839
|
(function(e, t) {
|
|
4842
4840
|
(function(n, r) {
|
|
4843
4841
|
e.exports = r();
|
|
4844
|
-
})(
|
|
4842
|
+
})(ni, function() {
|
|
4845
4843
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
4846
|
-
return function(s,
|
|
4847
|
-
var c =
|
|
4844
|
+
return function(s, l, a) {
|
|
4845
|
+
var c = l.prototype;
|
|
4848
4846
|
a.utc = function(d) {
|
|
4849
|
-
var
|
|
4850
|
-
return new
|
|
4847
|
+
var C = { date: d, utc: !0, args: arguments };
|
|
4848
|
+
return new l(C);
|
|
4851
4849
|
}, c.utc = function(d) {
|
|
4852
|
-
var
|
|
4853
|
-
return d ?
|
|
4850
|
+
var C = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4851
|
+
return d ? C.add(this.utcOffset(), n) : C;
|
|
4854
4852
|
}, c.local = function() {
|
|
4855
4853
|
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4856
4854
|
};
|
|
4857
|
-
var
|
|
4855
|
+
var u = c.parse;
|
|
4858
4856
|
c.parse = function(d) {
|
|
4859
|
-
d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset),
|
|
4857
|
+
d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), u.call(this, d);
|
|
4860
4858
|
};
|
|
4861
4859
|
var f = c.init;
|
|
4862
4860
|
c.init = function() {
|
|
@@ -4867,7 +4865,7 @@ var Ri = { exports: {} };
|
|
|
4867
4865
|
f.call(this);
|
|
4868
4866
|
};
|
|
4869
4867
|
var b = c.utcOffset;
|
|
4870
|
-
c.utcOffset = function(d,
|
|
4868
|
+
c.utcOffset = function(d, C) {
|
|
4871
4869
|
var $ = this.$utils().u;
|
|
4872
4870
|
if ($(d))
|
|
4873
4871
|
return this.$u ? 0 : $(this.$offset) ? b.call(this) : this.$offset;
|
|
@@ -4876,24 +4874,24 @@ var Ri = { exports: {} };
|
|
|
4876
4874
|
var F = I.match(r);
|
|
4877
4875
|
if (!F)
|
|
4878
4876
|
return null;
|
|
4879
|
-
var
|
|
4880
|
-
return Q === 0 ? 0 :
|
|
4877
|
+
var Z = ("" + F[0]).match(i) || ["-", 0, 0], X = Z[0], Q = 60 * +Z[1] + +Z[2];
|
|
4878
|
+
return Q === 0 ? 0 : X === "+" ? Q : -Q;
|
|
4881
4879
|
}(d), d === null))
|
|
4882
4880
|
return this;
|
|
4883
|
-
var U = Math.abs(d) <= 16 ? 60 * d : d,
|
|
4884
|
-
if (
|
|
4885
|
-
return
|
|
4881
|
+
var U = Math.abs(d) <= 16 ? 60 * d : d, S = this;
|
|
4882
|
+
if (C)
|
|
4883
|
+
return S.$offset = U, S.$u = d === 0, S;
|
|
4886
4884
|
if (d !== 0) {
|
|
4887
4885
|
var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4888
|
-
(
|
|
4886
|
+
(S = this.local().add(U + H, n)).$offset = U, S.$x.$localOffset = H;
|
|
4889
4887
|
} else
|
|
4890
|
-
|
|
4891
|
-
return
|
|
4888
|
+
S = this.utc();
|
|
4889
|
+
return S;
|
|
4892
4890
|
};
|
|
4893
4891
|
var y = c.format;
|
|
4894
4892
|
c.format = function(d) {
|
|
4895
|
-
var
|
|
4896
|
-
return y.call(this,
|
|
4893
|
+
var C = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4894
|
+
return y.call(this, C);
|
|
4897
4895
|
}, c.valueOf = function() {
|
|
4898
4896
|
var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4899
4897
|
return this.$d.valueOf() - 6e4 * d;
|
|
@@ -4904,23 +4902,23 @@ var Ri = { exports: {} };
|
|
|
4904
4902
|
}, c.toString = function() {
|
|
4905
4903
|
return this.toDate().toUTCString();
|
|
4906
4904
|
};
|
|
4907
|
-
var
|
|
4905
|
+
var M = c.toDate;
|
|
4908
4906
|
c.toDate = function(d) {
|
|
4909
|
-
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
4907
|
+
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
4910
4908
|
};
|
|
4911
4909
|
var E = c.diff;
|
|
4912
|
-
c.diff = function(d,
|
|
4910
|
+
c.diff = function(d, C, $) {
|
|
4913
4911
|
if (d && this.$u === d.$u)
|
|
4914
|
-
return E.call(this, d,
|
|
4915
|
-
var U = this.local(),
|
|
4916
|
-
return E.call(U,
|
|
4912
|
+
return E.call(this, d, C, $);
|
|
4913
|
+
var U = this.local(), S = a(d).local();
|
|
4914
|
+
return E.call(U, S, C, $);
|
|
4917
4915
|
};
|
|
4918
4916
|
};
|
|
4919
4917
|
});
|
|
4920
|
-
})(
|
|
4921
|
-
var La =
|
|
4918
|
+
})(Pi);
|
|
4919
|
+
var La = Pi.exports;
|
|
4922
4920
|
const Ha = /* @__PURE__ */ Hn(La);
|
|
4923
|
-
let
|
|
4921
|
+
let Br = bt(null);
|
|
4924
4922
|
function Ra(e, t) {
|
|
4925
4923
|
if (e) {
|
|
4926
4924
|
const n = document.createElement("style");
|
|
@@ -4945,24 +4943,24 @@ function Ia(e, t, n) {
|
|
|
4945
4943
|
}
|
|
4946
4944
|
}
|
|
4947
4945
|
function Da(e) {
|
|
4948
|
-
|
|
4946
|
+
Xi(e, "svelte-1cb9n1l", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:5;top:0;left:0;background-color:var(--mmw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationButton{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E);border:none}.CashierSessionExpirationButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--mmw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
|
|
4949
4947
|
}
|
|
4950
|
-
const Ba = (e) => ({}),
|
|
4951
|
-
function
|
|
4952
|
-
let t, n, r, i, s,
|
|
4948
|
+
const Ba = (e) => ({}), Ur = (e) => ({}), Ua = (e) => ({}), kr = (e) => ({}), ka = (e) => ({}), Fr = (e) => ({}), Fa = (e) => ({}), Gr = (e) => ({ class: "CashierSessionExpirationIcon" });
|
|
4949
|
+
function $r(e) {
|
|
4950
|
+
let t, n, r, i, s, l = (
|
|
4953
4951
|
/*$_*/
|
|
4954
4952
|
e[8]("sessionExpirationHeader") + ""
|
|
4955
|
-
), a, c,
|
|
4953
|
+
), a, c, u, f, b, y, M, E, d, C, $, U, S, H, I;
|
|
4956
4954
|
const F = (
|
|
4957
4955
|
/*#slots*/
|
|
4958
4956
|
e[22].icon
|
|
4959
|
-
),
|
|
4957
|
+
), Z = Nt(
|
|
4960
4958
|
F,
|
|
4961
4959
|
e,
|
|
4962
4960
|
/*$$scope*/
|
|
4963
4961
|
e[21],
|
|
4964
|
-
|
|
4965
|
-
),
|
|
4962
|
+
Gr
|
|
4963
|
+
), X = Z || ja(e), Q = (
|
|
4966
4964
|
/*#slots*/
|
|
4967
4965
|
e[22].title
|
|
4968
4966
|
), z = Nt(
|
|
@@ -4970,8 +4968,8 @@ function Gr(e) {
|
|
|
4970
4968
|
e,
|
|
4971
4969
|
/*$$scope*/
|
|
4972
4970
|
e[21],
|
|
4973
|
-
|
|
4974
|
-
),
|
|
4971
|
+
Fr
|
|
4972
|
+
), O = z || za(e), ne = (
|
|
4975
4973
|
/*#slots*/
|
|
4976
4974
|
e[22].text
|
|
4977
4975
|
), he = Nt(
|
|
@@ -4979,28 +4977,28 @@ function Gr(e) {
|
|
|
4979
4977
|
e,
|
|
4980
4978
|
/*$$scope*/
|
|
4981
4979
|
e[21],
|
|
4982
|
-
|
|
4983
|
-
),
|
|
4980
|
+
kr
|
|
4981
|
+
), v = he || Wa(e), _ = [Xa, Va], g = [];
|
|
4984
4982
|
function x(h, T) {
|
|
4985
4983
|
return (
|
|
4986
4984
|
/*showLoaderButton*/
|
|
4987
4985
|
h[6] ? 0 : 1
|
|
4988
4986
|
);
|
|
4989
4987
|
}
|
|
4990
|
-
return d = x(e),
|
|
4988
|
+
return d = x(e), C = g[d] = _[d](e), {
|
|
4991
4989
|
c() {
|
|
4992
|
-
t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), a = Qe(
|
|
4993
|
-
e[6], j(E, "class", "CashierSessionExpirationButton"), j(f, "class", "CashierSessionExpiration"), j(
|
|
4990
|
+
t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), a = Qe(l), c = ft(), u = te("div"), f = te("div"), X && X.c(), b = ft(), O && O.c(), y = ft(), v && v.c(), M = ft(), E = te("button"), C.c(), j(s, "class", "CashierSessionExpirationModalHeaderTitle"), j(i, "class", "CashierSessionExpirationModalHeader"), j(E, "type", "button"), E.disabled = /*showLoaderButton*/
|
|
4991
|
+
e[6], j(E, "class", "CashierSessionExpirationButton"), j(f, "class", "CashierSessionExpiration"), j(u, "class", "CashierSessionExpirationModalContainer"), j(r, "class", "CashierSessionExpirationModalWrapper"), j(n, "class", "CashierSessionExpirationModalWindow"), j(n, "id", "CashierSessionExpirationModal"), Xe(() => (
|
|
4994
4992
|
/*div5_elementresize_handler*/
|
|
4995
4993
|
e[24].call(n)
|
|
4996
4994
|
));
|
|
4997
4995
|
},
|
|
4998
4996
|
m(h, T) {
|
|
4999
|
-
Se(h, t, T),
|
|
4997
|
+
Se(h, t, T), J(t, n), J(n, r), J(r, i), J(i, s), J(s, a), J(r, c), J(r, u), J(u, f), X && X.m(f, null), J(f, b), O && O.m(f, null), J(f, y), v && v.m(f, null), J(f, M), J(f, E), g[d].m(E, null), e[23](f), $ = Ji(
|
|
5000
4998
|
n,
|
|
5001
4999
|
/*div5_elementresize_handler*/
|
|
5002
5000
|
e[24].bind(n)
|
|
5003
|
-
), e[25](t),
|
|
5001
|
+
), e[25](t), S = !0, H || (I = [
|
|
5004
5002
|
kt(
|
|
5005
5003
|
E,
|
|
5006
5004
|
"click",
|
|
@@ -5016,16 +5014,16 @@ function Gr(e) {
|
|
|
5016
5014
|
], H = !0);
|
|
5017
5015
|
},
|
|
5018
5016
|
p(h, T) {
|
|
5019
|
-
e = h, (!
|
|
5020
|
-
256) &&
|
|
5021
|
-
e[8]("sessionExpirationHeader") + "") && Xt(a,
|
|
5017
|
+
e = h, (!S || T[0] & /*$_*/
|
|
5018
|
+
256) && l !== (l = /*$_*/
|
|
5019
|
+
e[8]("sessionExpirationHeader") + "") && Xt(a, l), Z ? Z.p && (!S || T[0] & /*$$scope*/
|
|
5022
5020
|
2097152) && Ht(
|
|
5023
|
-
|
|
5021
|
+
Z,
|
|
5024
5022
|
F,
|
|
5025
5023
|
e,
|
|
5026
5024
|
/*$$scope*/
|
|
5027
5025
|
e[21],
|
|
5028
|
-
|
|
5026
|
+
S ? Lt(
|
|
5029
5027
|
F,
|
|
5030
5028
|
/*$$scope*/
|
|
5031
5029
|
e[21],
|
|
@@ -5035,16 +5033,16 @@ function Gr(e) {
|
|
|
5035
5033
|
/*$$scope*/
|
|
5036
5034
|
e[21]
|
|
5037
5035
|
),
|
|
5038
|
-
|
|
5039
|
-
) :
|
|
5040
|
-
8) &&
|
|
5036
|
+
Gr
|
|
5037
|
+
) : X && X.p && (!S || T[0] & /*assetsurl*/
|
|
5038
|
+
8) && X.p(e, S ? T : [-1, -1]), z ? z.p && (!S || T[0] & /*$$scope*/
|
|
5041
5039
|
2097152) && Ht(
|
|
5042
5040
|
z,
|
|
5043
5041
|
Q,
|
|
5044
5042
|
e,
|
|
5045
5043
|
/*$$scope*/
|
|
5046
5044
|
e[21],
|
|
5047
|
-
|
|
5045
|
+
S ? Lt(
|
|
5048
5046
|
Q,
|
|
5049
5047
|
/*$$scope*/
|
|
5050
5048
|
e[21],
|
|
@@ -5054,16 +5052,16 @@ function Gr(e) {
|
|
|
5054
5052
|
/*$$scope*/
|
|
5055
5053
|
e[21]
|
|
5056
5054
|
),
|
|
5057
|
-
|
|
5058
|
-
) :
|
|
5059
|
-
256) &&
|
|
5055
|
+
Fr
|
|
5056
|
+
) : O && O.p && (!S || T[0] & /*$_*/
|
|
5057
|
+
256) && O.p(e, S ? T : [-1, -1]), he ? he.p && (!S || T[0] & /*$$scope*/
|
|
5060
5058
|
2097152) && Ht(
|
|
5061
5059
|
he,
|
|
5062
5060
|
ne,
|
|
5063
5061
|
e,
|
|
5064
5062
|
/*$$scope*/
|
|
5065
5063
|
e[21],
|
|
5066
|
-
|
|
5064
|
+
S ? Lt(
|
|
5067
5065
|
ne,
|
|
5068
5066
|
/*$$scope*/
|
|
5069
5067
|
e[21],
|
|
@@ -5073,32 +5071,32 @@ function Gr(e) {
|
|
|
5073
5071
|
/*$$scope*/
|
|
5074
5072
|
e[21]
|
|
5075
5073
|
),
|
|
5076
|
-
|
|
5077
|
-
) :
|
|
5078
|
-
384) &&
|
|
5074
|
+
kr
|
|
5075
|
+
) : v && v.p && (!S || T[0] & /*$_, timeLeft*/
|
|
5076
|
+
384) && v.p(e, S ? T : [-1, -1]);
|
|
5079
5077
|
let N = d;
|
|
5080
|
-
d = x(e), d === N ? g[d].p(e, T) : (
|
|
5078
|
+
d = x(e), d === N ? g[d].p(e, T) : (Kr(), Ne(g[N], 1, 1, () => {
|
|
5081
5079
|
g[N] = null;
|
|
5082
|
-
}),
|
|
5080
|
+
}), ei(), C = g[d], C ? C.p(e, T) : (C = g[d] = _[d](e), C.c()), Ae(C, 1), C.m(E, null)), (!S || T[0] & /*showLoaderButton*/
|
|
5083
5081
|
64) && (E.disabled = /*showLoaderButton*/
|
|
5084
5082
|
e[6]);
|
|
5085
5083
|
},
|
|
5086
5084
|
i(h) {
|
|
5087
|
-
|
|
5088
|
-
|
|
5085
|
+
S || (Ae(X, h), Ae(O, h), Ae(v, h), Ae(C), h && Xe(() => {
|
|
5086
|
+
S && (U || (U = ur(n, cr, { duration: (
|
|
5089
5087
|
/*duration*/
|
|
5090
5088
|
e[2]
|
|
5091
5089
|
) }, !0)), U.run(1));
|
|
5092
|
-
}),
|
|
5090
|
+
}), S = !0);
|
|
5093
5091
|
},
|
|
5094
5092
|
o(h) {
|
|
5095
|
-
Ne(
|
|
5093
|
+
Ne(X, h), Ne(O, h), Ne(v, h), Ne(C), h && (U || (U = ur(n, cr, { duration: (
|
|
5096
5094
|
/*duration*/
|
|
5097
5095
|
e[2]
|
|
5098
|
-
) }, !1)), U.run(0)),
|
|
5096
|
+
) }, !1)), U.run(0)), S = !1;
|
|
5099
5097
|
},
|
|
5100
5098
|
d(h) {
|
|
5101
|
-
h && ge(t),
|
|
5099
|
+
h && ge(t), X && X.d(h), O && O.d(h), v && v.d(h), g[d].d(), e[23](null), $(), h && U && U.end(), e[25](null), H = !1, He(I);
|
|
5102
5100
|
}
|
|
5103
5101
|
};
|
|
5104
5102
|
}
|
|
@@ -5139,7 +5137,7 @@ function $a(e) {
|
|
|
5139
5137
|
}
|
|
5140
5138
|
function ja(e) {
|
|
5141
5139
|
let t;
|
|
5142
|
-
function n(s,
|
|
5140
|
+
function n(s, l) {
|
|
5143
5141
|
return (
|
|
5144
5142
|
/*assetsurl*/
|
|
5145
5143
|
s[3] ? $a : Ga
|
|
@@ -5148,13 +5146,13 @@ function ja(e) {
|
|
|
5148
5146
|
let r = n(e), i = r(e);
|
|
5149
5147
|
return {
|
|
5150
5148
|
c() {
|
|
5151
|
-
i.c(), t =
|
|
5149
|
+
i.c(), t = Jr();
|
|
5152
5150
|
},
|
|
5153
|
-
m(s,
|
|
5154
|
-
i.m(s,
|
|
5151
|
+
m(s, l) {
|
|
5152
|
+
i.m(s, l), Se(s, t, l);
|
|
5155
5153
|
},
|
|
5156
|
-
p(s,
|
|
5157
|
-
r === (r = n(s)) && i ? i.p(s,
|
|
5154
|
+
p(s, l) {
|
|
5155
|
+
r === (r = n(s)) && i ? i.p(s, l) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
5158
5156
|
},
|
|
5159
5157
|
d(s) {
|
|
5160
5158
|
s && ge(t), i.d(s);
|
|
@@ -5171,7 +5169,7 @@ function za(e) {
|
|
|
5171
5169
|
t = te("span"), r = Qe(n), j(t, "class", "CashierSessionExpirationTitle");
|
|
5172
5170
|
},
|
|
5173
5171
|
m(i, s) {
|
|
5174
|
-
Se(i, t, s),
|
|
5172
|
+
Se(i, t, s), J(t, r);
|
|
5175
5173
|
},
|
|
5176
5174
|
p(i, s) {
|
|
5177
5175
|
s[0] & /*$_*/
|
|
@@ -5184,7 +5182,7 @@ function za(e) {
|
|
|
5184
5182
|
};
|
|
5185
5183
|
}
|
|
5186
5184
|
function Wa(e) {
|
|
5187
|
-
let t, n =
|
|
5185
|
+
let t, n = Ir.sanitize(
|
|
5188
5186
|
/*$_*/
|
|
5189
5187
|
e[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5190
5188
|
/*timeLeft*/
|
|
@@ -5200,7 +5198,7 @@ function Wa(e) {
|
|
|
5200
5198
|
},
|
|
5201
5199
|
p(r, i) {
|
|
5202
5200
|
i[0] & /*$_, timeLeft*/
|
|
5203
|
-
384 && n !== (n =
|
|
5201
|
+
384 && n !== (n = Ir.sanitize(
|
|
5204
5202
|
/*$_*/
|
|
5205
5203
|
r[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5206
5204
|
/*timeLeft*/
|
|
@@ -5223,17 +5221,17 @@ function Va(e) {
|
|
|
5223
5221
|
e,
|
|
5224
5222
|
/*$$scope*/
|
|
5225
5223
|
e[21],
|
|
5226
|
-
|
|
5224
|
+
Ur
|
|
5227
5225
|
), i = r || Ya(e);
|
|
5228
5226
|
return {
|
|
5229
5227
|
c() {
|
|
5230
|
-
i.c();
|
|
5228
|
+
i && i.c();
|
|
5231
5229
|
},
|
|
5232
|
-
m(s,
|
|
5233
|
-
i.m(s,
|
|
5230
|
+
m(s, l) {
|
|
5231
|
+
i && i.m(s, l), t = !0;
|
|
5234
5232
|
},
|
|
5235
|
-
p(s,
|
|
5236
|
-
r ? r.p && (!t ||
|
|
5233
|
+
p(s, l) {
|
|
5234
|
+
r ? r.p && (!t || l[0] & /*$$scope*/
|
|
5237
5235
|
2097152) && Ht(
|
|
5238
5236
|
r,
|
|
5239
5237
|
n,
|
|
@@ -5244,15 +5242,15 @@ function Va(e) {
|
|
|
5244
5242
|
n,
|
|
5245
5243
|
/*$$scope*/
|
|
5246
5244
|
s[21],
|
|
5247
|
-
|
|
5245
|
+
l,
|
|
5248
5246
|
Ba
|
|
5249
5247
|
) : Rt(
|
|
5250
5248
|
/*$$scope*/
|
|
5251
5249
|
s[21]
|
|
5252
5250
|
),
|
|
5253
|
-
|
|
5254
|
-
) : i.p && (!t ||
|
|
5255
|
-
256) && i.p(s, t ?
|
|
5251
|
+
Ur
|
|
5252
|
+
) : i && i.p && (!t || l[0] & /*$_*/
|
|
5253
|
+
256) && i.p(s, t ? l : [-1, -1]);
|
|
5256
5254
|
},
|
|
5257
5255
|
i(s) {
|
|
5258
5256
|
t || (Ae(i, s), t = !0);
|
|
@@ -5261,26 +5259,26 @@ function Va(e) {
|
|
|
5261
5259
|
Ne(i, s), t = !1;
|
|
5262
5260
|
},
|
|
5263
5261
|
d(s) {
|
|
5264
|
-
i.d(s);
|
|
5262
|
+
i && i.d(s);
|
|
5265
5263
|
}
|
|
5266
5264
|
};
|
|
5267
5265
|
}
|
|
5268
5266
|
function Xa(e) {
|
|
5269
|
-
let t, n, r, i, s,
|
|
5267
|
+
let t, n, r, i, s, l = (
|
|
5270
5268
|
/*$_*/
|
|
5271
5269
|
e[8]("sessionExpirationLoadingButton") + ""
|
|
5272
5270
|
), a;
|
|
5273
5271
|
return {
|
|
5274
5272
|
c() {
|
|
5275
|
-
t = te("div"), n =
|
|
5273
|
+
t = te("div"), n = or("svg"), r = or("path"), i = ft(), s = te("span"), a = Qe(l), j(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"), j(r, "fill", "white"), j(n, "class", "CashierSessionExpirationButtonSpinner"), j(n, "xmlns", "http://www.w3.org/2000/svg"), j(n, "width", "15"), j(n, "height", "14"), j(n, "viewBox", "0 0 15 14"), j(n, "fill", "none"), j(s, "class", "CashierSessionExpirationButtonText");
|
|
5276
5274
|
},
|
|
5277
|
-
m(c,
|
|
5278
|
-
Se(c, t,
|
|
5275
|
+
m(c, u) {
|
|
5276
|
+
Se(c, t, u), J(t, n), J(n, r), J(t, i), J(t, s), J(s, a);
|
|
5279
5277
|
},
|
|
5280
|
-
p(c,
|
|
5281
|
-
|
|
5282
|
-
256 &&
|
|
5283
|
-
c[8]("sessionExpirationLoadingButton") + "") && Xt(a,
|
|
5278
|
+
p(c, u) {
|
|
5279
|
+
u[0] & /*$_*/
|
|
5280
|
+
256 && l !== (l = /*$_*/
|
|
5281
|
+
c[8]("sessionExpirationLoadingButton") + "") && Xt(a, l);
|
|
5284
5282
|
},
|
|
5285
5283
|
i: de,
|
|
5286
5284
|
o: de,
|
|
@@ -5299,7 +5297,7 @@ function Ya(e) {
|
|
|
5299
5297
|
t = te("span"), r = Qe(n), j(t, "class", "CashierSessionExpirationButtonText");
|
|
5300
5298
|
},
|
|
5301
5299
|
m(i, s) {
|
|
5302
|
-
Se(i, t, s),
|
|
5300
|
+
Se(i, t, s), J(t, r);
|
|
5303
5301
|
},
|
|
5304
5302
|
p(i, s) {
|
|
5305
5303
|
s[0] & /*$_*/
|
|
@@ -5314,11 +5312,11 @@ function Ya(e) {
|
|
|
5314
5312
|
function Za(e) {
|
|
5315
5313
|
let t, n, r = (
|
|
5316
5314
|
/*show*/
|
|
5317
|
-
e[5] &&
|
|
5315
|
+
e[5] && $r(e)
|
|
5318
5316
|
);
|
|
5319
5317
|
return {
|
|
5320
5318
|
c() {
|
|
5321
|
-
r && r.c(), t =
|
|
5319
|
+
r && r.c(), t = Jr();
|
|
5322
5320
|
},
|
|
5323
5321
|
m(i, s) {
|
|
5324
5322
|
r && r.m(i, s), Se(i, t, s), n = !0;
|
|
@@ -5326,9 +5324,9 @@ function Za(e) {
|
|
|
5326
5324
|
p(i, s) {
|
|
5327
5325
|
/*show*/
|
|
5328
5326
|
i[5] ? r ? (r.p(i, s), s[0] & /*show*/
|
|
5329
|
-
32 && Ae(r, 1)) : (r =
|
|
5327
|
+
32 && Ae(r, 1)) : (r = $r(i), r.c(), Ae(r, 1), r.m(t.parentNode, t)) : r && (Kr(), Ne(r, 1, 1, () => {
|
|
5330
5328
|
r = null;
|
|
5331
|
-
}),
|
|
5329
|
+
}), ei());
|
|
5332
5330
|
},
|
|
5333
5331
|
i(i) {
|
|
5334
5332
|
n || (Ae(r), n = !0);
|
|
@@ -5344,17 +5342,17 @@ function Za(e) {
|
|
|
5344
5342
|
const qa = 90;
|
|
5345
5343
|
function Ja(e, t, n) {
|
|
5346
5344
|
let r, i;
|
|
5347
|
-
|
|
5348
|
-
let { $$slots: s = {}, $$scope:
|
|
5349
|
-
|
|
5350
|
-
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width:
|
|
5345
|
+
sr(e, Br, (m) => n(20, r = m)), sr(e, la, (m) => n(8, i = m));
|
|
5346
|
+
let { $$slots: s = {}, $$scope: l } = t;
|
|
5347
|
+
Dr.extend(Ha);
|
|
5348
|
+
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: u } = t, { height: f } = t, { duration: b = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: E = "" } = t, { endpoint: d } = t, { currency: C } = t, { customerid: $ } = t, { selectedpaymentmethodname: U } = t, { mbsource: S = "" } = t, H, I = !1, F = !1, Z, X, Q, z, O;
|
|
5351
5349
|
var ne;
|
|
5352
5350
|
(function(m) {
|
|
5353
5351
|
m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
|
|
5354
5352
|
})(ne || (ne = {}));
|
|
5355
5353
|
const he = (m) => {
|
|
5356
5354
|
m.data.type === "StartSessionCountdown" && (z = m.data.paymentMethodName);
|
|
5357
|
-
},
|
|
5355
|
+
}, v = (m) => {
|
|
5358
5356
|
try {
|
|
5359
5357
|
return JSON.parse(atob(m.split(".")[1]));
|
|
5360
5358
|
} catch {
|
|
@@ -5364,34 +5362,34 @@ function Ja(e, t, n) {
|
|
|
5364
5362
|
window.postMessage(
|
|
5365
5363
|
{
|
|
5366
5364
|
type: "ErrorResponseCode",
|
|
5367
|
-
errorResponseCode:
|
|
5365
|
+
errorResponseCode: O
|
|
5368
5366
|
},
|
|
5369
5367
|
window.location.href
|
|
5370
5368
|
);
|
|
5371
5369
|
}, g = (m) => {
|
|
5372
5370
|
n(5, I = !1);
|
|
5373
|
-
const G =
|
|
5374
|
-
G && (
|
|
5371
|
+
const G = v(m);
|
|
5372
|
+
G && (X = G?.exp, n(7, Z = X), Q && clearInterval(Q), Q = setInterval(
|
|
5375
5373
|
() => {
|
|
5376
5374
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
5377
|
-
n(7,
|
|
5375
|
+
n(7, Z = X - ee), Z <= qa && n(5, I = !0), ee >= X && (x(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
5378
5376
|
},
|
|
5379
5377
|
1e3
|
|
5380
5378
|
));
|
|
5381
5379
|
}, x = () => {
|
|
5382
|
-
n(7,
|
|
5380
|
+
n(7, Z = 0), n(5, I = !1), clearInterval(Q);
|
|
5383
5381
|
}, h = () => {
|
|
5384
5382
|
if (F)
|
|
5385
5383
|
return;
|
|
5386
5384
|
const m = new URL(`${d}/v1/player/${$}/payment/GetPaymentMethod`), G = new Headers();
|
|
5387
|
-
n(6, F = !0), G.append("accept", "application/json"), G.append("Content-Type", "application/json"), G.append("X-Client-Request-Timestamp",
|
|
5385
|
+
n(6, F = !0), G.append("accept", "application/json"), G.append("Content-Type", "application/json"), G.append("X-Client-Request-Timestamp", Dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
5388
5386
|
const ee = {
|
|
5389
5387
|
method: "POST",
|
|
5390
5388
|
mode: "cors",
|
|
5391
5389
|
headers: G,
|
|
5392
5390
|
body: JSON.stringify({
|
|
5393
5391
|
PaymentMethodName: z || U,
|
|
5394
|
-
Currency:
|
|
5392
|
+
Currency: C,
|
|
5395
5393
|
XPaymentSessionToken: r
|
|
5396
5394
|
})
|
|
5397
5395
|
};
|
|
@@ -5407,14 +5405,14 @@ function Ja(e, t, n) {
|
|
|
5407
5405
|
return;
|
|
5408
5406
|
}
|
|
5409
5407
|
if (K.ResponseCode === ne.PlayerSessionIsNotValid || K.ResponseCode === ne.JwtTokenError) {
|
|
5410
|
-
|
|
5408
|
+
O = K.ResponseCode, x(), _();
|
|
5411
5409
|
return;
|
|
5412
5410
|
}
|
|
5413
5411
|
if (K.ResponseCode !== ne.Success) {
|
|
5414
|
-
|
|
5412
|
+
O = K.ResponseCode, x();
|
|
5415
5413
|
return;
|
|
5416
5414
|
}
|
|
5417
|
-
K.XPaymentSessionToken &&
|
|
5415
|
+
K.XPaymentSessionToken && Br.set(K.XPaymentSessionToken);
|
|
5418
5416
|
}).finally(() => n(6, F = !1));
|
|
5419
5417
|
}, T = (m) => {
|
|
5420
5418
|
const G = m.currentTarget;
|
|
@@ -5422,21 +5420,21 @@ function Ja(e, t, n) {
|
|
|
5422
5420
|
}, N = () => {
|
|
5423
5421
|
fetch(E).then((G) => G.json()).then((G) => {
|
|
5424
5422
|
Object.keys(G).forEach((ee) => {
|
|
5425
|
-
|
|
5423
|
+
Sr(ee, G[ee]);
|
|
5426
5424
|
});
|
|
5427
5425
|
}).catch((G) => {
|
|
5428
5426
|
console.log(G);
|
|
5429
5427
|
});
|
|
5430
5428
|
};
|
|
5431
|
-
Object.keys(
|
|
5432
|
-
|
|
5429
|
+
Object.keys(wr).forEach((m) => {
|
|
5430
|
+
Sr(m, wr[m]);
|
|
5433
5431
|
});
|
|
5434
5432
|
const L = () => {
|
|
5435
|
-
|
|
5433
|
+
ua(M);
|
|
5436
5434
|
};
|
|
5437
|
-
|
|
5435
|
+
is(() => (window.addEventListener("message", he, !1), () => {
|
|
5438
5436
|
window.removeEventListener("message", he);
|
|
5439
|
-
})),
|
|
5437
|
+
})), ss(() => {
|
|
5440
5438
|
clearInterval(Q);
|
|
5441
5439
|
});
|
|
5442
5440
|
function W(m) {
|
|
@@ -5445,60 +5443,60 @@ function Ja(e, t, n) {
|
|
|
5445
5443
|
});
|
|
5446
5444
|
}
|
|
5447
5445
|
function R() {
|
|
5448
|
-
|
|
5446
|
+
u = this.clientWidth, f = this.clientHeight, n(0, u), n(1, f);
|
|
5449
5447
|
}
|
|
5450
|
-
function
|
|
5448
|
+
function q(m) {
|
|
5451
5449
|
$t[m ? "unshift" : "push"](() => {
|
|
5452
5450
|
H = m, n(4, H);
|
|
5453
5451
|
});
|
|
5454
5452
|
}
|
|
5455
5453
|
return e.$$set = (m) => {
|
|
5456
|
-
"clientstyling" in m && n(11, a = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0,
|
|
5454
|
+
"clientstyling" in m && n(11, a = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0, u = m.width), "height" in m && n(1, f = m.height), "duration" in m && n(2, b = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, E = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, C = m.currency), "customerid" in m && n(17, $ = m.customerid), "selectedpaymentmethodname" in m && n(18, U = m.selectedpaymentmethodname), "mbsource" in m && n(19, S = m.mbsource), "$$scope" in m && n(21, l = m.$$scope);
|
|
5457
5455
|
}, e.$$.update = () => {
|
|
5458
5456
|
e.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
5459
5457
|
1048576 && g(r), e.$$.dirty[0] & /*lang*/
|
|
5460
|
-
8192 &&
|
|
5458
|
+
8192 && M && L(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5461
5459
|
2064 && a && H && Ra(H, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5462
5460
|
4112 && c && H && Pa(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5463
|
-
524304 &&
|
|
5461
|
+
524304 && S && H && Ia(H, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5464
5462
|
16384 && E && N();
|
|
5465
5463
|
}, [
|
|
5466
|
-
|
|
5464
|
+
u,
|
|
5467
5465
|
f,
|
|
5468
5466
|
b,
|
|
5469
5467
|
y,
|
|
5470
5468
|
H,
|
|
5471
5469
|
I,
|
|
5472
5470
|
F,
|
|
5473
|
-
|
|
5471
|
+
Z,
|
|
5474
5472
|
i,
|
|
5475
5473
|
h,
|
|
5476
5474
|
T,
|
|
5477
5475
|
a,
|
|
5478
5476
|
c,
|
|
5479
|
-
|
|
5477
|
+
M,
|
|
5480
5478
|
E,
|
|
5481
5479
|
d,
|
|
5482
|
-
|
|
5480
|
+
C,
|
|
5483
5481
|
$,
|
|
5484
5482
|
U,
|
|
5485
|
-
|
|
5483
|
+
S,
|
|
5486
5484
|
r,
|
|
5487
|
-
|
|
5485
|
+
l,
|
|
5488
5486
|
s,
|
|
5489
5487
|
W,
|
|
5490
5488
|
R,
|
|
5491
|
-
|
|
5489
|
+
q
|
|
5492
5490
|
];
|
|
5493
5491
|
}
|
|
5494
|
-
class Qa extends
|
|
5492
|
+
class Qa extends bs {
|
|
5495
5493
|
constructor(t) {
|
|
5496
|
-
super(),
|
|
5494
|
+
super(), ps(
|
|
5497
5495
|
this,
|
|
5498
5496
|
t,
|
|
5499
5497
|
Ja,
|
|
5500
5498
|
Za,
|
|
5501
|
-
|
|
5499
|
+
Wr,
|
|
5502
5500
|
{
|
|
5503
5501
|
clientstyling: 11,
|
|
5504
5502
|
clientstylingurl: 12,
|
|
@@ -5522,82 +5520,82 @@ class Qa extends gs {
|
|
|
5522
5520
|
return this.$$.ctx[11];
|
|
5523
5521
|
}
|
|
5524
5522
|
set clientstyling(t) {
|
|
5525
|
-
this.$$set({ clientstyling: t }),
|
|
5523
|
+
this.$$set({ clientstyling: t }), ue();
|
|
5526
5524
|
}
|
|
5527
5525
|
get clientstylingurl() {
|
|
5528
5526
|
return this.$$.ctx[12];
|
|
5529
5527
|
}
|
|
5530
5528
|
set clientstylingurl(t) {
|
|
5531
|
-
this.$$set({ clientstylingurl: t }),
|
|
5529
|
+
this.$$set({ clientstylingurl: t }), ue();
|
|
5532
5530
|
}
|
|
5533
5531
|
get width() {
|
|
5534
5532
|
return this.$$.ctx[0];
|
|
5535
5533
|
}
|
|
5536
5534
|
set width(t) {
|
|
5537
|
-
this.$$set({ width: t }),
|
|
5535
|
+
this.$$set({ width: t }), ue();
|
|
5538
5536
|
}
|
|
5539
5537
|
get height() {
|
|
5540
5538
|
return this.$$.ctx[1];
|
|
5541
5539
|
}
|
|
5542
5540
|
set height(t) {
|
|
5543
|
-
this.$$set({ height: t }),
|
|
5541
|
+
this.$$set({ height: t }), ue();
|
|
5544
5542
|
}
|
|
5545
5543
|
get duration() {
|
|
5546
5544
|
return this.$$.ctx[2];
|
|
5547
5545
|
}
|
|
5548
5546
|
set duration(t) {
|
|
5549
|
-
this.$$set({ duration: t }),
|
|
5547
|
+
this.$$set({ duration: t }), ue();
|
|
5550
5548
|
}
|
|
5551
5549
|
get assetsurl() {
|
|
5552
5550
|
return this.$$.ctx[3];
|
|
5553
5551
|
}
|
|
5554
5552
|
set assetsurl(t) {
|
|
5555
|
-
this.$$set({ assetsurl: t }),
|
|
5553
|
+
this.$$set({ assetsurl: t }), ue();
|
|
5556
5554
|
}
|
|
5557
5555
|
get lang() {
|
|
5558
5556
|
return this.$$.ctx[13];
|
|
5559
5557
|
}
|
|
5560
5558
|
set lang(t) {
|
|
5561
|
-
this.$$set({ lang: t }),
|
|
5559
|
+
this.$$set({ lang: t }), ue();
|
|
5562
5560
|
}
|
|
5563
5561
|
get translationurl() {
|
|
5564
5562
|
return this.$$.ctx[14];
|
|
5565
5563
|
}
|
|
5566
5564
|
set translationurl(t) {
|
|
5567
|
-
this.$$set({ translationurl: t }),
|
|
5565
|
+
this.$$set({ translationurl: t }), ue();
|
|
5568
5566
|
}
|
|
5569
5567
|
get endpoint() {
|
|
5570
5568
|
return this.$$.ctx[15];
|
|
5571
5569
|
}
|
|
5572
5570
|
set endpoint(t) {
|
|
5573
|
-
this.$$set({ endpoint: t }),
|
|
5571
|
+
this.$$set({ endpoint: t }), ue();
|
|
5574
5572
|
}
|
|
5575
5573
|
get currency() {
|
|
5576
5574
|
return this.$$.ctx[16];
|
|
5577
5575
|
}
|
|
5578
5576
|
set currency(t) {
|
|
5579
|
-
this.$$set({ currency: t }),
|
|
5577
|
+
this.$$set({ currency: t }), ue();
|
|
5580
5578
|
}
|
|
5581
5579
|
get customerid() {
|
|
5582
5580
|
return this.$$.ctx[17];
|
|
5583
5581
|
}
|
|
5584
5582
|
set customerid(t) {
|
|
5585
|
-
this.$$set({ customerid: t }),
|
|
5583
|
+
this.$$set({ customerid: t }), ue();
|
|
5586
5584
|
}
|
|
5587
5585
|
get selectedpaymentmethodname() {
|
|
5588
5586
|
return this.$$.ctx[18];
|
|
5589
5587
|
}
|
|
5590
5588
|
set selectedpaymentmethodname(t) {
|
|
5591
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
5589
|
+
this.$$set({ selectedpaymentmethodname: t }), ue();
|
|
5592
5590
|
}
|
|
5593
5591
|
get mbsource() {
|
|
5594
5592
|
return this.$$.ctx[19];
|
|
5595
5593
|
}
|
|
5596
5594
|
set mbsource(t) {
|
|
5597
|
-
this.$$set({ mbsource: t }),
|
|
5595
|
+
this.$$set({ mbsource: t }), ue();
|
|
5598
5596
|
}
|
|
5599
5597
|
}
|
|
5600
|
-
|
|
5598
|
+
gs(Qa, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
5601
5599
|
export {
|
|
5602
5600
|
Qa as C
|
|
5603
5601
|
};
|