@everymatrix/cashier-session-expiration-modal 1.74.3 → 1.74.5
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-DuQ5O814.js → CashierSessionExpirationModal-BF2MqoI2.js} +841 -843
- package/components/CashierSessionExpirationModal-DBa7s0RV.cjs +22 -0
- package/components/{CashierSessionExpirationModal-0jEUH8zX.js → CashierSessionExpirationModal-DY-IleGt.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-BOBMJwho.cjs +0 -22
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var on = (e, t, n) => t in e ?
|
|
1
|
+
var Zi = Object.defineProperty, qi = Object.defineProperties;
|
|
2
|
+
var Ji = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var or = Object.getOwnPropertySymbols;
|
|
4
|
+
var Qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var on = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ar = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
Qi.call(t, n) && on(e, n, t[n]);
|
|
8
|
+
if (or)
|
|
9
|
+
for (var n of or(t))
|
|
10
|
+
Ki.call(t, n) && on(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, lr = (e, t) => qi(e, Ji(t));
|
|
13
13
|
var Ee = (e, t, n) => (on(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
14
|
var ur = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (c) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
l(n.next(c));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
20
|
}
|
|
21
21
|
}, a = (c) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
l(n.throw(c));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, l = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(s, a);
|
|
28
|
+
l((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function de() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const Zr = (e) => e;
|
|
33
|
+
function es(e, t) {
|
|
34
34
|
for (const n in t)
|
|
35
35
|
e[n] = t[n];
|
|
36
36
|
return (
|
|
@@ -38,29 +38,29 @@ function Ki(e, t) {
|
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function qr(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function cr() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function Re(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(qr);
|
|
49
49
|
}
|
|
50
50
|
function Xt(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Jr(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
56
|
let wt;
|
|
57
57
|
function yn(e, t) {
|
|
58
58
|
return e === t ? !0 : (wt || (wt = document.createElement("a")), wt.href = t, e === wt.href);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function ts(e) {
|
|
61
61
|
return Object.keys(e).length === 0;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Qr(e, ...t) {
|
|
64
64
|
if (e == null) {
|
|
65
65
|
for (const r of t)
|
|
66
66
|
r(void 0);
|
|
@@ -69,17 +69,17 @@ function Jr(e, ...t) {
|
|
|
69
69
|
const n = e.subscribe(...t);
|
|
70
70
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
e.$$.on_destroy.push(
|
|
72
|
+
function fr(e, t, n) {
|
|
73
|
+
e.$$.on_destroy.push(Qr(t, n));
|
|
74
74
|
}
|
|
75
75
|
function Lt(e, t, n, r) {
|
|
76
76
|
if (e) {
|
|
77
|
-
const i =
|
|
77
|
+
const i = Kr(e, t, n, r);
|
|
78
78
|
return e[0](i);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
return e[1] && r ?
|
|
81
|
+
function Kr(e, t, n, r) {
|
|
82
|
+
return e[1] && r ? es(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
83
83
|
}
|
|
84
84
|
function Ht(e, t, n, r) {
|
|
85
85
|
if (e[2] && r) {
|
|
@@ -88,8 +88,8 @@ function Ht(e, t, n, r) {
|
|
|
88
88
|
return i;
|
|
89
89
|
if (typeof i == "object") {
|
|
90
90
|
const s = [], a = Math.max(t.dirty.length, i.length);
|
|
91
|
-
for (let
|
|
92
|
-
s[
|
|
91
|
+
for (let l = 0; l < a; l += 1)
|
|
92
|
+
s[l] = t.dirty[l] | i[l];
|
|
93
93
|
return s;
|
|
94
94
|
}
|
|
95
95
|
return t.dirty | i;
|
|
@@ -98,7 +98,7 @@ function Ht(e, t, n, r) {
|
|
|
98
98
|
}
|
|
99
99
|
function Rt(e, t, n, r, i, s) {
|
|
100
100
|
if (i) {
|
|
101
|
-
const a =
|
|
101
|
+
const a = Kr(t, n, r, s);
|
|
102
102
|
e.p(a, i);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -111,17 +111,17 @@ function It(e) {
|
|
|
111
111
|
}
|
|
112
112
|
return -1;
|
|
113
113
|
}
|
|
114
|
-
const
|
|
115
|
-
let
|
|
114
|
+
const ei = typeof window != "undefined";
|
|
115
|
+
let ns = ei ? () => window.performance.now() : () => Date.now(), Hn = ei ? (e) => requestAnimationFrame(e) : de;
|
|
116
116
|
const Ve = /* @__PURE__ */ new Set();
|
|
117
|
-
function
|
|
117
|
+
function ti(e) {
|
|
118
118
|
Ve.forEach((t) => {
|
|
119
119
|
t.c(e) || (Ve.delete(t), t.f());
|
|
120
|
-
}), Ve.size !== 0 && Hn(
|
|
120
|
+
}), Ve.size !== 0 && Hn(ti);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function rs(e) {
|
|
123
123
|
let t;
|
|
124
|
-
return Ve.size === 0 && Hn(
|
|
124
|
+
return Ve.size === 0 && Hn(ti), {
|
|
125
125
|
promise: new Promise((n) => {
|
|
126
126
|
Ve.add(t = { c: e, f: n });
|
|
127
127
|
}),
|
|
@@ -130,14 +130,14 @@ function ns(e) {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function J(e, t) {
|
|
134
134
|
e.appendChild(t);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function is(e, t, n) {
|
|
137
137
|
const r = Rn(e);
|
|
138
138
|
if (!r.getElementById(t)) {
|
|
139
139
|
const i = te("style");
|
|
140
|
-
i.id = t, i.textContent = n,
|
|
140
|
+
i.id = t, i.textContent = n, ni(r, i);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
function Rn(e) {
|
|
@@ -150,12 +150,12 @@ function Rn(e) {
|
|
|
150
150
|
t
|
|
151
151
|
) : e.ownerDocument;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function ss(e) {
|
|
154
154
|
const t = te("style");
|
|
155
|
-
return t.textContent = "/* empty */",
|
|
155
|
+
return t.textContent = "/* empty */", ni(Rn(e), t), t.sheet;
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
return
|
|
157
|
+
function ni(e, t) {
|
|
158
|
+
return J(
|
|
159
159
|
/** @type {Document} */
|
|
160
160
|
e.head || e,
|
|
161
161
|
t
|
|
@@ -170,7 +170,7 @@ function ge(e) {
|
|
|
170
170
|
function te(e) {
|
|
171
171
|
return document.createElement(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function hr(e) {
|
|
174
174
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
176
|
function Ke(e) {
|
|
@@ -179,7 +179,7 @@ function Ke(e) {
|
|
|
179
179
|
function ht() {
|
|
180
180
|
return Ke(" ");
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function ri() {
|
|
183
183
|
return Ke("");
|
|
184
184
|
}
|
|
185
185
|
function Ft(e, t, n, r) {
|
|
@@ -188,7 +188,7 @@ function Ft(e, t, n, r) {
|
|
|
188
188
|
function j(e, t, n) {
|
|
189
189
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function os(e) {
|
|
192
192
|
return Array.from(e.childNodes);
|
|
193
193
|
}
|
|
194
194
|
function Yt(e, t) {
|
|
@@ -196,7 +196,7 @@ function Yt(e, t) {
|
|
|
196
196
|
t);
|
|
197
197
|
}
|
|
198
198
|
let Ot;
|
|
199
|
-
function
|
|
199
|
+
function as() {
|
|
200
200
|
if (Ot === void 0) {
|
|
201
201
|
Ot = !1;
|
|
202
202
|
try {
|
|
@@ -207,14 +207,14 @@ function os() {
|
|
|
207
207
|
}
|
|
208
208
|
return Ot;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function ls(e, t) {
|
|
211
211
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
212
212
|
const r = te("iframe");
|
|
213
213
|
r.setAttribute(
|
|
214
214
|
"style",
|
|
215
215
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
216
216
|
), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
|
|
217
|
-
const i =
|
|
217
|
+
const i = as();
|
|
218
218
|
let s;
|
|
219
219
|
return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ft(
|
|
220
220
|
window,
|
|
@@ -225,14 +225,14 @@ function as(e, t) {
|
|
|
225
225
|
}
|
|
226
226
|
)) : (r.src = "about:blank", r.onload = () => {
|
|
227
227
|
s = Ft(r.contentWindow, "resize", t), t();
|
|
228
|
-
}),
|
|
228
|
+
}), J(e, r), () => {
|
|
229
229
|
(i || s && r.contentWindow) && s(), ge(r);
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
232
|
function us(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
233
233
|
return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function cs(e) {
|
|
236
236
|
const t = {};
|
|
237
237
|
return e.childNodes.forEach(
|
|
238
238
|
/** @param {Element} node */
|
|
@@ -243,39 +243,39 @@ function ls(e) {
|
|
|
243
243
|
}
|
|
244
244
|
const Gt = /* @__PURE__ */ new Map();
|
|
245
245
|
let $t = 0;
|
|
246
|
-
function
|
|
246
|
+
function fs(e) {
|
|
247
247
|
let t = 5381, n = e.length;
|
|
248
248
|
for (; n--; )
|
|
249
249
|
t = (t << 5) - t ^ e.charCodeAt(n);
|
|
250
250
|
return t >>> 0;
|
|
251
251
|
}
|
|
252
|
-
function
|
|
253
|
-
const n = { stylesheet:
|
|
252
|
+
function hs(e, t) {
|
|
253
|
+
const n = { stylesheet: ss(t), rules: {} };
|
|
254
254
|
return Gt.set(e, n), n;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function mr(e, t, n, r, i, s, a, l = 0) {
|
|
257
257
|
const c = 16.666 / r;
|
|
258
|
-
let
|
|
258
|
+
let u = `{
|
|
259
259
|
`;
|
|
260
|
-
for (let
|
|
261
|
-
const $ = t + (n - t) * s(
|
|
262
|
-
|
|
260
|
+
for (let C = 0; C <= 1; C += c) {
|
|
261
|
+
const $ = t + (n - t) * s(C);
|
|
262
|
+
u += C * 100 + `%{${a($, 1 - $)}}
|
|
263
263
|
`;
|
|
264
264
|
}
|
|
265
|
-
const f =
|
|
266
|
-
}`, b = `__svelte_${
|
|
267
|
-
E[b] || (E[b] = !0,
|
|
265
|
+
const f = u + `100% {${a(n, 1 - n)}}
|
|
266
|
+
}`, b = `__svelte_${fs(f)}_${l}`, y = Rn(e), { stylesheet: M, rules: E } = Gt.get(y) || hs(y, e);
|
|
267
|
+
E[b] || (E[b] = !0, M.insertRule(`@keyframes ${b} ${f}`, M.cssRules.length));
|
|
268
268
|
const d = e.style.animation || "";
|
|
269
269
|
return e.style.animation = `${d ? `${d}, ` : ""}${b} ${r}ms linear ${i}ms 1 both`, $t += 1, b;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function ms(e, t) {
|
|
272
272
|
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
273
273
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
274
274
|
// remove all Svelte animations
|
|
275
275
|
), i = n.length - r.length;
|
|
276
|
-
i && (e.style.animation = r.join(", "), $t -= i, $t ||
|
|
276
|
+
i && (e.style.animation = r.join(", "), $t -= i, $t || ds());
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function ds() {
|
|
279
279
|
Hn(() => {
|
|
280
280
|
$t || (Gt.forEach((e) => {
|
|
281
281
|
const { ownerNode: t } = e.stylesheet;
|
|
@@ -287,30 +287,30 @@ let pt;
|
|
|
287
287
|
function dt(e) {
|
|
288
288
|
pt = e;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function ii() {
|
|
291
291
|
if (!pt)
|
|
292
292
|
throw new Error("Function called outside component initialization");
|
|
293
293
|
return pt;
|
|
294
294
|
}
|
|
295
|
-
function ds(e) {
|
|
296
|
-
ri().$$.on_mount.push(e);
|
|
297
|
-
}
|
|
298
295
|
function ps(e) {
|
|
299
|
-
|
|
296
|
+
ii().$$.on_mount.push(e);
|
|
297
|
+
}
|
|
298
|
+
function gs(e) {
|
|
299
|
+
ii().$$.on_destroy.push(e);
|
|
300
300
|
}
|
|
301
301
|
const We = [], jt = [];
|
|
302
302
|
let Xe = [];
|
|
303
|
-
const
|
|
303
|
+
const dr = [], bs = /* @__PURE__ */ Promise.resolve();
|
|
304
304
|
let Tn = !1;
|
|
305
|
-
function
|
|
306
|
-
Tn || (Tn = !0,
|
|
305
|
+
function Es() {
|
|
306
|
+
Tn || (Tn = !0, bs.then(ue));
|
|
307
307
|
}
|
|
308
308
|
function Ye(e) {
|
|
309
309
|
Xe.push(e);
|
|
310
310
|
}
|
|
311
311
|
const an = /* @__PURE__ */ new Set();
|
|
312
312
|
let je = 0;
|
|
313
|
-
function
|
|
313
|
+
function ue() {
|
|
314
314
|
if (je !== 0)
|
|
315
315
|
return;
|
|
316
316
|
const e = pt;
|
|
@@ -318,7 +318,7 @@ function le() {
|
|
|
318
318
|
try {
|
|
319
319
|
for (; je < We.length; ) {
|
|
320
320
|
const t = We[je];
|
|
321
|
-
je++, dt(t),
|
|
321
|
+
je++, dt(t), _s(t.$$);
|
|
322
322
|
}
|
|
323
323
|
} catch (t) {
|
|
324
324
|
throw We.length = 0, je = 0, t;
|
|
@@ -331,33 +331,33 @@ function le() {
|
|
|
331
331
|
}
|
|
332
332
|
Xe.length = 0;
|
|
333
333
|
} while (We.length);
|
|
334
|
-
for (;
|
|
335
|
-
|
|
334
|
+
for (; dr.length; )
|
|
335
|
+
dr.pop()();
|
|
336
336
|
Tn = !1, an.clear(), dt(e);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function _s(e) {
|
|
339
339
|
if (e.fragment !== null) {
|
|
340
340
|
e.update(), Re(e.before_update);
|
|
341
341
|
const t = e.dirty;
|
|
342
342
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function ys(e) {
|
|
346
346
|
const t = [], n = [];
|
|
347
347
|
Xe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Xe = t;
|
|
348
348
|
}
|
|
349
349
|
let st;
|
|
350
|
-
function
|
|
350
|
+
function Ts() {
|
|
351
351
|
return st || (st = Promise.resolve(), st.then(() => {
|
|
352
352
|
st = null;
|
|
353
353
|
})), st;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function ln(e, t, n) {
|
|
356
356
|
e.dispatchEvent(us(`${t ? "intro" : "outro"}${n}`));
|
|
357
357
|
}
|
|
358
358
|
const Pt = /* @__PURE__ */ new Set();
|
|
359
359
|
let Ce;
|
|
360
|
-
function
|
|
360
|
+
function si() {
|
|
361
361
|
Ce = {
|
|
362
362
|
r: 0,
|
|
363
363
|
c: [],
|
|
@@ -365,7 +365,7 @@ function ii() {
|
|
|
365
365
|
// parent group
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function oi() {
|
|
369
369
|
Ce.r || Re(Ce.c), Ce = Ce.p;
|
|
370
370
|
}
|
|
371
371
|
function Se(e, t) {
|
|
@@ -381,95 +381,95 @@ function Le(e, t, n, r) {
|
|
|
381
381
|
} else
|
|
382
382
|
r && r();
|
|
383
383
|
}
|
|
384
|
-
const
|
|
385
|
-
function
|
|
386
|
-
let s = t(e, n, { direction: "both" }), a = r ? 0 : 1,
|
|
384
|
+
const xs = { duration: 0 };
|
|
385
|
+
function pr(e, t, n, r) {
|
|
386
|
+
let s = t(e, n, { direction: "both" }), a = r ? 0 : 1, l = null, c = null, u = null, f;
|
|
387
387
|
function b() {
|
|
388
|
-
|
|
388
|
+
u && ms(e, u);
|
|
389
389
|
}
|
|
390
390
|
function y(E, d) {
|
|
391
|
-
const
|
|
391
|
+
const C = (
|
|
392
392
|
/** @type {Program['d']} */
|
|
393
393
|
E.b - a
|
|
394
394
|
);
|
|
395
|
-
return d *= Math.abs(
|
|
395
|
+
return d *= Math.abs(C), {
|
|
396
396
|
a,
|
|
397
397
|
b: E.b,
|
|
398
|
-
d:
|
|
398
|
+
d: C,
|
|
399
399
|
duration: d,
|
|
400
400
|
start: E.start,
|
|
401
401
|
end: E.start + d,
|
|
402
402
|
group: E.group
|
|
403
403
|
};
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function M(E) {
|
|
406
406
|
const {
|
|
407
407
|
delay: d = 0,
|
|
408
|
-
duration:
|
|
409
|
-
easing: $ =
|
|
408
|
+
duration: C = 300,
|
|
409
|
+
easing: $ = Zr,
|
|
410
410
|
tick: U = de,
|
|
411
|
-
css:
|
|
412
|
-
} = s ||
|
|
413
|
-
start:
|
|
411
|
+
css: S
|
|
412
|
+
} = s || xs, H = {
|
|
413
|
+
start: ns() + d,
|
|
414
414
|
b: E
|
|
415
415
|
};
|
|
416
416
|
E || (H.group = Ce, Ce.r += 1), "inert" in e && (E ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
|
|
417
|
-
e.inert, e.inert = !0)),
|
|
418
|
-
if (c && P > c.start && (
|
|
417
|
+
e.inert, e.inert = !0)), l || c ? c = H : (S && (b(), u = mr(e, a, E, C, d, $, S)), E && U(0, 1), l = y(H, C), Ye(() => ln(e, E, "start")), rs((P) => {
|
|
418
|
+
if (c && P > c.start && (l = y(c, C), c = null, ln(e, l.b, "start"), S && (b(), u = mr(
|
|
419
419
|
e,
|
|
420
420
|
a,
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
l.b,
|
|
422
|
+
l.duration,
|
|
423
423
|
0,
|
|
424
424
|
$,
|
|
425
425
|
s.css
|
|
426
|
-
))),
|
|
427
|
-
if (P >=
|
|
428
|
-
U(a =
|
|
429
|
-
else if (P >=
|
|
430
|
-
const G = P -
|
|
431
|
-
a =
|
|
426
|
+
))), l) {
|
|
427
|
+
if (P >= l.end)
|
|
428
|
+
U(a = l.b, 1 - a), ln(e, l.b, "end"), c || (l.b ? b() : --l.group.r || Re(l.group.c)), l = null;
|
|
429
|
+
else if (P >= l.start) {
|
|
430
|
+
const G = P - l.start;
|
|
431
|
+
a = l.a + l.d * $(G / l.duration), U(a, 1 - a);
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
return !!(
|
|
434
|
+
return !!(l || c);
|
|
435
435
|
}));
|
|
436
436
|
}
|
|
437
437
|
return {
|
|
438
438
|
run(E) {
|
|
439
|
-
Xt(s) ?
|
|
440
|
-
s = s({ direction: E ? "in" : "out" }),
|
|
441
|
-
}) :
|
|
439
|
+
Xt(s) ? Ts().then(() => {
|
|
440
|
+
s = s({ direction: E ? "in" : "out" }), M(E);
|
|
441
|
+
}) : M(E);
|
|
442
442
|
},
|
|
443
443
|
end() {
|
|
444
|
-
b(),
|
|
444
|
+
b(), l = c = null;
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function vs(e, t, n) {
|
|
449
449
|
const { fragment: r, after_update: i } = e.$$;
|
|
450
450
|
r && r.m(t, n), Ye(() => {
|
|
451
|
-
const s = e.$$.on_mount.map(
|
|
451
|
+
const s = e.$$.on_mount.map(qr).filter(Xt);
|
|
452
452
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Re(s), e.$$.on_mount = [];
|
|
453
453
|
}), i.forEach(Ye);
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function As(e, t) {
|
|
456
456
|
const n = e.$$;
|
|
457
|
-
n.fragment !== null && (
|
|
457
|
+
n.fragment !== null && (ys(n.after_update), Re(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
458
458
|
}
|
|
459
|
-
function
|
|
460
|
-
e.$$.dirty[0] === -1 && (We.push(e),
|
|
459
|
+
function Ss(e, t) {
|
|
460
|
+
e.$$.dirty[0] === -1 && (We.push(e), Es(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function ws(e, t, n, r, i, s, a = null, l = [-1]) {
|
|
463
463
|
const c = pt;
|
|
464
464
|
dt(e);
|
|
465
|
-
const
|
|
465
|
+
const u = e.$$ = {
|
|
466
466
|
fragment: null,
|
|
467
467
|
ctx: [],
|
|
468
468
|
// state
|
|
469
469
|
props: s,
|
|
470
470
|
update: de,
|
|
471
471
|
not_equal: i,
|
|
472
|
-
bound:
|
|
472
|
+
bound: cr(),
|
|
473
473
|
// lifecycle
|
|
474
474
|
on_mount: [],
|
|
475
475
|
on_destroy: [],
|
|
@@ -478,28 +478,28 @@ function Ss(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
478
478
|
after_update: [],
|
|
479
479
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
480
480
|
// everything else
|
|
481
|
-
callbacks:
|
|
482
|
-
dirty:
|
|
481
|
+
callbacks: cr(),
|
|
482
|
+
dirty: l,
|
|
483
483
|
skip_bound: !1,
|
|
484
484
|
root: t.target || c.$$.root
|
|
485
485
|
};
|
|
486
|
-
a && a(
|
|
486
|
+
a && a(u.root);
|
|
487
487
|
let f = !1;
|
|
488
|
-
if (
|
|
489
|
-
const E =
|
|
490
|
-
return
|
|
491
|
-
}),
|
|
488
|
+
if (u.ctx = n ? n(e, t.props || {}, (b, y, ...M) => {
|
|
489
|
+
const E = M.length ? M[0] : y;
|
|
490
|
+
return u.ctx && i(u.ctx[b], u.ctx[b] = E) && (!u.skip_bound && u.bound[b] && u.bound[b](E), f && Ss(e, b)), y;
|
|
491
|
+
}) : [], u.update(), f = !0, Re(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
492
492
|
if (t.hydrate) {
|
|
493
|
-
const b =
|
|
494
|
-
|
|
493
|
+
const b = os(t.target);
|
|
494
|
+
u.fragment && u.fragment.l(b), b.forEach(ge);
|
|
495
495
|
} else
|
|
496
|
-
|
|
497
|
-
t.intro && Se(e.$$.fragment),
|
|
496
|
+
u.fragment && u.fragment.c();
|
|
497
|
+
t.intro && Se(e.$$.fragment), vs(e, t.target, t.anchor), ue();
|
|
498
498
|
}
|
|
499
499
|
dt(c);
|
|
500
500
|
}
|
|
501
|
-
let
|
|
502
|
-
typeof HTMLElement == "function" && (
|
|
501
|
+
let ai;
|
|
502
|
+
typeof HTMLElement == "function" && (ai = class extends HTMLElement {
|
|
503
503
|
constructor(t, n, r) {
|
|
504
504
|
super();
|
|
505
505
|
/** The Svelte component constructor */
|
|
@@ -549,18 +549,18 @@ typeof HTMLElement == "function" && (oi = class extends HTMLElement {
|
|
|
549
549
|
* @param {HTMLElement} target
|
|
550
550
|
* @param {HTMLElement} [anchor]
|
|
551
551
|
*/
|
|
552
|
-
m: function(
|
|
553
|
-
we(
|
|
552
|
+
m: function(u, f) {
|
|
553
|
+
we(u, a, f);
|
|
554
554
|
},
|
|
555
|
-
d: function(
|
|
556
|
-
|
|
555
|
+
d: function(u) {
|
|
556
|
+
u && ge(a);
|
|
557
557
|
}
|
|
558
558
|
};
|
|
559
559
|
};
|
|
560
560
|
};
|
|
561
561
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
562
562
|
return;
|
|
563
|
-
const n = {}, r =
|
|
563
|
+
const n = {}, r = cs(this);
|
|
564
564
|
for (const s of this.$$s)
|
|
565
565
|
s in r && (n[s] = [t(s)]);
|
|
566
566
|
for (const s of this.attributes) {
|
|
@@ -571,7 +571,7 @@ typeof HTMLElement == "function" && (oi = class extends HTMLElement {
|
|
|
571
571
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
572
572
|
this.$$c = new this.$$ctor({
|
|
573
573
|
target: this.shadowRoot || this,
|
|
574
|
-
props: ar(
|
|
574
|
+
props: lr(ar({}, this.$$d), {
|
|
575
575
|
$$slots: n,
|
|
576
576
|
$$scope: {
|
|
577
577
|
ctx: []
|
|
@@ -595,8 +595,8 @@ typeof HTMLElement == "function" && (oi = class extends HTMLElement {
|
|
|
595
595
|
this.$$c.$$.after_update.push(i), i();
|
|
596
596
|
for (const s in this.$$l)
|
|
597
597
|
for (const a of this.$$l[s]) {
|
|
598
|
-
const
|
|
599
|
-
this.$$l_u.set(a,
|
|
598
|
+
const l = this.$$c.$on(s, a);
|
|
599
|
+
this.$$l_u.set(a, l);
|
|
600
600
|
}
|
|
601
601
|
this.$$l = {};
|
|
602
602
|
}
|
|
@@ -649,38 +649,38 @@ function Dt(e, t, n, r) {
|
|
|
649
649
|
return t;
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
function
|
|
653
|
-
let a = class extends
|
|
652
|
+
function Os(e, t, n, r, i, s) {
|
|
653
|
+
let a = class extends ai {
|
|
654
654
|
constructor() {
|
|
655
655
|
super(e, n, i), this.$$p_d = t;
|
|
656
656
|
}
|
|
657
657
|
static get observedAttributes() {
|
|
658
658
|
return Object.keys(t).map(
|
|
659
|
-
(
|
|
659
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
660
660
|
);
|
|
661
661
|
}
|
|
662
662
|
};
|
|
663
|
-
return Object.keys(t).forEach((
|
|
664
|
-
Object.defineProperty(a.prototype,
|
|
663
|
+
return Object.keys(t).forEach((l) => {
|
|
664
|
+
Object.defineProperty(a.prototype, l, {
|
|
665
665
|
get() {
|
|
666
|
-
return this.$$c &&
|
|
666
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
667
667
|
},
|
|
668
668
|
set(c) {
|
|
669
|
-
var
|
|
670
|
-
c = Dt(
|
|
669
|
+
var u;
|
|
670
|
+
c = Dt(l, c, t), this.$$d[l] = c, (u = this.$$c) == null || u.$set({ [l]: c });
|
|
671
671
|
}
|
|
672
672
|
});
|
|
673
|
-
}), r.forEach((
|
|
674
|
-
Object.defineProperty(a.prototype,
|
|
673
|
+
}), r.forEach((l) => {
|
|
674
|
+
Object.defineProperty(a.prototype, l, {
|
|
675
675
|
get() {
|
|
676
676
|
var c;
|
|
677
|
-
return (c = this.$$c) == null ? void 0 : c[
|
|
677
|
+
return (c = this.$$c) == null ? void 0 : c[l];
|
|
678
678
|
}
|
|
679
679
|
});
|
|
680
680
|
}), e.element = /** @type {any} */
|
|
681
681
|
a, a;
|
|
682
682
|
}
|
|
683
|
-
class
|
|
683
|
+
class Ms {
|
|
684
684
|
constructor() {
|
|
685
685
|
/**
|
|
686
686
|
* ### PRIVATE API
|
|
@@ -701,7 +701,7 @@ class Os {
|
|
|
701
701
|
}
|
|
702
702
|
/** @returns {void} */
|
|
703
703
|
$destroy() {
|
|
704
|
-
|
|
704
|
+
As(this, 1), this.$destroy = de;
|
|
705
705
|
}
|
|
706
706
|
/**
|
|
707
707
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -723,12 +723,12 @@ class Os {
|
|
|
723
723
|
* @returns {void}
|
|
724
724
|
*/
|
|
725
725
|
$set(t) {
|
|
726
|
-
this.$$set && !
|
|
726
|
+
this.$$set && !ts(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
|
-
const
|
|
730
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
731
|
-
function
|
|
729
|
+
const Cs = "4";
|
|
730
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cs);
|
|
731
|
+
function gr(e, { delay: t = 0, duration: n = 400, easing: r = Zr } = {}) {
|
|
732
732
|
const i = +getComputedStyle(e).opacity;
|
|
733
733
|
return {
|
|
734
734
|
delay: t,
|
|
@@ -738,7 +738,7 @@ function pr(e, { delay: t = 0, duration: n = 400, easing: r = Yr } = {}) {
|
|
|
738
738
|
};
|
|
739
739
|
}
|
|
740
740
|
const ze = [];
|
|
741
|
-
function
|
|
741
|
+
function Ns(e, t) {
|
|
742
742
|
return {
|
|
743
743
|
subscribe: Et(e, t).subscribe
|
|
744
744
|
};
|
|
@@ -746,25 +746,25 @@ function Cs(e, t) {
|
|
|
746
746
|
function Et(e, t = de) {
|
|
747
747
|
let n;
|
|
748
748
|
const r = /* @__PURE__ */ new Set();
|
|
749
|
-
function i(
|
|
750
|
-
if (
|
|
749
|
+
function i(l) {
|
|
750
|
+
if (Jr(e, l) && (e = l, n)) {
|
|
751
751
|
const c = !ze.length;
|
|
752
|
-
for (const
|
|
753
|
-
|
|
752
|
+
for (const u of r)
|
|
753
|
+
u[1](), ze.push(u, e);
|
|
754
754
|
if (c) {
|
|
755
|
-
for (let
|
|
756
|
-
ze[
|
|
755
|
+
for (let u = 0; u < ze.length; u += 2)
|
|
756
|
+
ze[u][0](ze[u + 1]);
|
|
757
757
|
ze.length = 0;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
|
-
function s(
|
|
762
|
-
i(
|
|
761
|
+
function s(l) {
|
|
762
|
+
i(l(e));
|
|
763
763
|
}
|
|
764
|
-
function a(
|
|
765
|
-
const
|
|
766
|
-
return r.add(
|
|
767
|
-
r.delete(
|
|
764
|
+
function a(l, c = de) {
|
|
765
|
+
const u = [l, c];
|
|
766
|
+
return r.add(u), r.size === 1 && (n = t(i, s) || de), l(e), () => {
|
|
767
|
+
r.delete(u), r.size === 0 && n && (n(), n = null);
|
|
768
768
|
};
|
|
769
769
|
}
|
|
770
770
|
return { set: i, update: s, subscribe: a };
|
|
@@ -774,21 +774,21 @@ function et(e, t, n) {
|
|
|
774
774
|
if (!i.every(Boolean))
|
|
775
775
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
776
776
|
const s = t.length < 2;
|
|
777
|
-
return
|
|
777
|
+
return Ns(n, (a, l) => {
|
|
778
778
|
let c = !1;
|
|
779
|
-
const
|
|
779
|
+
const u = [];
|
|
780
780
|
let f = 0, b = de;
|
|
781
781
|
const y = () => {
|
|
782
782
|
if (f)
|
|
783
783
|
return;
|
|
784
784
|
b();
|
|
785
|
-
const E = t(r ?
|
|
785
|
+
const E = t(r ? u[0] : u, a, l);
|
|
786
786
|
s ? a(E) : b = Xt(E) ? E : de;
|
|
787
|
-
},
|
|
788
|
-
(E, d) =>
|
|
787
|
+
}, M = i.map(
|
|
788
|
+
(E, d) => Qr(
|
|
789
789
|
E,
|
|
790
|
-
(
|
|
791
|
-
|
|
790
|
+
(C) => {
|
|
791
|
+
u[d] = C, f &= ~(1 << d), c && y();
|
|
792
792
|
},
|
|
793
793
|
() => {
|
|
794
794
|
f |= 1 << d;
|
|
@@ -796,52 +796,52 @@ function et(e, t, n) {
|
|
|
796
796
|
)
|
|
797
797
|
);
|
|
798
798
|
return c = !0, y(), function() {
|
|
799
|
-
Re(
|
|
799
|
+
Re(M), b(), c = !1;
|
|
800
800
|
};
|
|
801
801
|
});
|
|
802
802
|
}
|
|
803
|
-
var
|
|
803
|
+
var li = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
804
804
|
function In(e) {
|
|
805
805
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
806
806
|
}
|
|
807
|
-
var
|
|
808
|
-
return
|
|
807
|
+
var Ls = function(t) {
|
|
808
|
+
return Hs(t) && !Rs(t);
|
|
809
809
|
};
|
|
810
|
-
function
|
|
810
|
+
function Hs(e) {
|
|
811
811
|
return !!e && typeof e == "object";
|
|
812
812
|
}
|
|
813
|
-
function
|
|
813
|
+
function Rs(e) {
|
|
814
814
|
var t = Object.prototype.toString.call(e);
|
|
815
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
816
|
-
}
|
|
817
|
-
var Rs = typeof Symbol == "function" && Symbol.for, Is = Rs ? Symbol.for("react.element") : 60103;
|
|
818
|
-
function Ps(e) {
|
|
819
|
-
return e.$$typeof === Is;
|
|
815
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ds(e);
|
|
820
816
|
}
|
|
817
|
+
var Is = typeof Symbol == "function" && Symbol.for, Ps = Is ? Symbol.for("react.element") : 60103;
|
|
821
818
|
function Ds(e) {
|
|
819
|
+
return e.$$typeof === Ps;
|
|
820
|
+
}
|
|
821
|
+
function Bs(e) {
|
|
822
822
|
return Array.isArray(e) ? [] : {};
|
|
823
823
|
}
|
|
824
824
|
function gt(e, t) {
|
|
825
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ze(
|
|
825
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ze(Bs(e), e, t) : e;
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function Us(e, t, n) {
|
|
828
828
|
return e.concat(t).map(function(r) {
|
|
829
829
|
return gt(r, n);
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function ks(e, t) {
|
|
833
833
|
if (!t.customMerge)
|
|
834
834
|
return Ze;
|
|
835
835
|
var n = t.customMerge(e);
|
|
836
836
|
return typeof n == "function" ? n : Ze;
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function Fs(e) {
|
|
839
839
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
840
840
|
return Object.propertyIsEnumerable.call(e, t);
|
|
841
841
|
}) : [];
|
|
842
842
|
}
|
|
843
|
-
function
|
|
844
|
-
return Object.keys(e).concat(
|
|
843
|
+
function br(e) {
|
|
844
|
+
return Object.keys(e).concat(Fs(e));
|
|
845
845
|
}
|
|
846
846
|
function ui(e, t) {
|
|
847
847
|
try {
|
|
@@ -850,21 +850,21 @@ function ui(e, t) {
|
|
|
850
850
|
return !1;
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function Gs(e, t) {
|
|
854
854
|
return ui(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function $s(e, t, n) {
|
|
857
857
|
var r = {};
|
|
858
|
-
return n.isMergeableObject(e) &&
|
|
858
|
+
return n.isMergeableObject(e) && br(e).forEach(function(i) {
|
|
859
859
|
r[i] = gt(e[i], n);
|
|
860
|
-
}),
|
|
861
|
-
|
|
860
|
+
}), br(t).forEach(function(i) {
|
|
861
|
+
Gs(e, i) || (ui(e, i) && n.isMergeableObject(t[i]) ? r[i] = ks(i, n)(e[i], t[i], n) : r[i] = gt(t[i], n));
|
|
862
862
|
}), r;
|
|
863
863
|
}
|
|
864
864
|
function Ze(e, t, n) {
|
|
865
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
865
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Us, n.isMergeableObject = n.isMergeableObject || Ls, n.cloneUnlessOtherwiseSpecified = gt;
|
|
866
866
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
867
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
867
|
+
return s ? r ? n.arrayMerge(e, t, n) : $s(e, t, n) : gt(t, n);
|
|
868
868
|
}
|
|
869
869
|
Ze.all = function(t, n) {
|
|
870
870
|
if (!Array.isArray(t))
|
|
@@ -873,8 +873,8 @@ Ze.all = function(t, n) {
|
|
|
873
873
|
return Ze(r, i, n);
|
|
874
874
|
}, {});
|
|
875
875
|
};
|
|
876
|
-
var
|
|
877
|
-
const
|
|
876
|
+
var js = Ze, zs = js;
|
|
877
|
+
const Ws = /* @__PURE__ */ In(zs);
|
|
878
878
|
/*! *****************************************************************************
|
|
879
879
|
Copyright (c) Microsoft Corporation.
|
|
880
880
|
|
|
@@ -916,7 +916,7 @@ var F = function() {
|
|
|
916
916
|
return t;
|
|
917
917
|
}, F.apply(this, arguments);
|
|
918
918
|
};
|
|
919
|
-
function
|
|
919
|
+
function Vs(e, t) {
|
|
920
920
|
var n = {};
|
|
921
921
|
for (var r in e)
|
|
922
922
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -925,110 +925,108 @@ function Ws(e, t) {
|
|
|
925
925
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
926
926
|
return n;
|
|
927
927
|
}
|
|
928
|
-
function
|
|
928
|
+
function un(e, t, n) {
|
|
929
929
|
if (arguments.length === 2)
|
|
930
930
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
931
931
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
932
932
|
return e.concat(s || t);
|
|
933
933
|
}
|
|
934
934
|
function cn(e, t) {
|
|
935
|
-
var n = t && t.cache ? t.cache : Qs, r = t && t.serializer ? t.serializer :
|
|
935
|
+
var n = t && t.cache ? t.cache : Qs, r = t && t.serializer ? t.serializer : Js, i = t && t.strategy ? t.strategy : Ys;
|
|
936
936
|
return i(e, {
|
|
937
937
|
cache: n,
|
|
938
938
|
serializer: r
|
|
939
939
|
});
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function Xs(e) {
|
|
942
942
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
943
943
|
}
|
|
944
|
-
function
|
|
945
|
-
var i =
|
|
944
|
+
function ci(e, t, n, r) {
|
|
945
|
+
var i = Xs(r) ? r : n(r), s = t.get(i);
|
|
946
946
|
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
947
947
|
}
|
|
948
|
-
function
|
|
948
|
+
function fi(e, t, n) {
|
|
949
949
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
950
950
|
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
951
951
|
}
|
|
952
952
|
function Pn(e, t, n, r, i) {
|
|
953
953
|
return n.bind(t, e, r, i);
|
|
954
954
|
}
|
|
955
|
-
function Xs(e, t) {
|
|
956
|
-
var n = e.length === 1 ? li : ci;
|
|
957
|
-
return Pn(e, this, n, t.cache.create(), t.serializer);
|
|
958
|
-
}
|
|
959
955
|
function Ys(e, t) {
|
|
960
|
-
|
|
956
|
+
var n = e.length === 1 ? ci : fi;
|
|
957
|
+
return Pn(e, this, n, t.cache.create(), t.serializer);
|
|
961
958
|
}
|
|
962
959
|
function Zs(e, t) {
|
|
963
|
-
return Pn(e, this,
|
|
960
|
+
return Pn(e, this, fi, t.cache.create(), t.serializer);
|
|
964
961
|
}
|
|
965
|
-
|
|
962
|
+
function qs(e, t) {
|
|
963
|
+
return Pn(e, this, ci, t.cache.create(), t.serializer);
|
|
964
|
+
}
|
|
965
|
+
var Js = function() {
|
|
966
966
|
return JSON.stringify(arguments);
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
}()
|
|
979
|
-
), Qs = {
|
|
967
|
+
};
|
|
968
|
+
function Dn() {
|
|
969
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
970
|
+
}
|
|
971
|
+
Dn.prototype.get = function(e) {
|
|
972
|
+
return this.cache[e];
|
|
973
|
+
};
|
|
974
|
+
Dn.prototype.set = function(e, t) {
|
|
975
|
+
this.cache[e] = t;
|
|
976
|
+
};
|
|
977
|
+
var Qs = {
|
|
980
978
|
create: function() {
|
|
981
|
-
return new
|
|
979
|
+
return new Dn();
|
|
982
980
|
}
|
|
983
981
|
}, fn = {
|
|
984
|
-
variadic:
|
|
985
|
-
monadic:
|
|
982
|
+
variadic: Zs,
|
|
983
|
+
monadic: qs
|
|
986
984
|
}, D;
|
|
987
985
|
(function(e) {
|
|
988
986
|
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";
|
|
989
987
|
})(D || (D = {}));
|
|
990
|
-
var
|
|
988
|
+
var Y;
|
|
991
989
|
(function(e) {
|
|
992
990
|
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";
|
|
993
|
-
})(
|
|
991
|
+
})(Y || (Y = {}));
|
|
994
992
|
var qe;
|
|
995
993
|
(function(e) {
|
|
996
994
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
997
995
|
})(qe || (qe = {}));
|
|
998
|
-
function
|
|
999
|
-
return e.type ===
|
|
996
|
+
function Er(e) {
|
|
997
|
+
return e.type === Y.literal;
|
|
1000
998
|
}
|
|
1001
999
|
function Ks(e) {
|
|
1002
|
-
return e.type ===
|
|
1003
|
-
}
|
|
1004
|
-
function fi(e) {
|
|
1005
|
-
return e.type === X.number;
|
|
1000
|
+
return e.type === Y.argument;
|
|
1006
1001
|
}
|
|
1007
1002
|
function hi(e) {
|
|
1008
|
-
return e.type ===
|
|
1003
|
+
return e.type === Y.number;
|
|
1009
1004
|
}
|
|
1010
1005
|
function mi(e) {
|
|
1011
|
-
return e.type ===
|
|
1006
|
+
return e.type === Y.date;
|
|
1012
1007
|
}
|
|
1013
1008
|
function di(e) {
|
|
1014
|
-
return e.type ===
|
|
1009
|
+
return e.type === Y.time;
|
|
1015
1010
|
}
|
|
1016
1011
|
function pi(e) {
|
|
1017
|
-
return e.type ===
|
|
1018
|
-
}
|
|
1019
|
-
function eo(e) {
|
|
1020
|
-
return e.type === X.pound;
|
|
1012
|
+
return e.type === Y.select;
|
|
1021
1013
|
}
|
|
1022
1014
|
function gi(e) {
|
|
1023
|
-
return e.type ===
|
|
1015
|
+
return e.type === Y.plural;
|
|
1016
|
+
}
|
|
1017
|
+
function eo(e) {
|
|
1018
|
+
return e.type === Y.pound;
|
|
1024
1019
|
}
|
|
1025
1020
|
function bi(e) {
|
|
1021
|
+
return e.type === Y.tag;
|
|
1022
|
+
}
|
|
1023
|
+
function Ei(e) {
|
|
1026
1024
|
return !!(e && typeof e == "object" && e.type === qe.number);
|
|
1027
1025
|
}
|
|
1028
1026
|
function vn(e) {
|
|
1029
1027
|
return !!(e && typeof e == "object" && e.type === qe.dateTime);
|
|
1030
1028
|
}
|
|
1031
|
-
var
|
|
1029
|
+
var _i = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, to = /(?:[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;
|
|
1032
1030
|
function no(e) {
|
|
1033
1031
|
var t = {};
|
|
1034
1032
|
return e.replace(to, function(n) {
|
|
@@ -1130,26 +1128,26 @@ function io(e) {
|
|
|
1130
1128
|
var s = i[r], a = s.split("/");
|
|
1131
1129
|
if (a.length === 0)
|
|
1132
1130
|
throw new Error("Invalid number skeleton");
|
|
1133
|
-
for (var
|
|
1134
|
-
var b = f[
|
|
1131
|
+
for (var l = a[0], c = a.slice(1), u = 0, f = c; u < f.length; u++) {
|
|
1132
|
+
var b = f[u];
|
|
1135
1133
|
if (b.length === 0)
|
|
1136
1134
|
throw new Error("Invalid number skeleton");
|
|
1137
1135
|
}
|
|
1138
|
-
n.push({ stem:
|
|
1136
|
+
n.push({ stem: l, options: c });
|
|
1139
1137
|
}
|
|
1140
1138
|
return n;
|
|
1141
1139
|
}
|
|
1142
1140
|
function so(e) {
|
|
1143
1141
|
return e.replace(/^(.*?)-/, "");
|
|
1144
1142
|
}
|
|
1145
|
-
var
|
|
1146
|
-
function
|
|
1143
|
+
var _r = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yi = /^(@+)?(\+|#+)?[rs]?$/g, oo = /(\*)(0+)|(#+)(0+)|(0+)/g, Ti = /^(0+)$/;
|
|
1144
|
+
function yr(e) {
|
|
1147
1145
|
var t = {};
|
|
1148
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1146
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yi, function(n, r, i) {
|
|
1149
1147
|
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)), "";
|
|
1150
1148
|
}), t;
|
|
1151
1149
|
}
|
|
1152
|
-
function
|
|
1150
|
+
function xi(e) {
|
|
1153
1151
|
switch (e) {
|
|
1154
1152
|
case "sign-auto":
|
|
1155
1153
|
return {
|
|
@@ -1197,17 +1195,17 @@ function ao(e) {
|
|
|
1197
1195
|
notation: "scientific"
|
|
1198
1196
|
}, e = e.slice(1)), t) {
|
|
1199
1197
|
var n = e.slice(0, 2);
|
|
1200
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1198
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ti.test(e))
|
|
1201
1199
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1202
1200
|
t.minimumIntegerDigits = e.length;
|
|
1203
1201
|
}
|
|
1204
1202
|
return t;
|
|
1205
1203
|
}
|
|
1206
|
-
function
|
|
1207
|
-
var t = {}, n =
|
|
1204
|
+
function Tr(e) {
|
|
1205
|
+
var t = {}, n = xi(e);
|
|
1208
1206
|
return n || t;
|
|
1209
1207
|
}
|
|
1210
|
-
function
|
|
1208
|
+
function lo(e) {
|
|
1211
1209
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1212
1210
|
var i = r[n];
|
|
1213
1211
|
switch (i.stem) {
|
|
@@ -1242,13 +1240,13 @@ function uo(e) {
|
|
|
1242
1240
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1243
1241
|
continue;
|
|
1244
1242
|
case "scientific":
|
|
1245
|
-
t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c,
|
|
1246
|
-
return F(F({}, c),
|
|
1243
|
+
t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
|
|
1244
|
+
return F(F({}, c), Tr(u));
|
|
1247
1245
|
}, {}));
|
|
1248
1246
|
continue;
|
|
1249
1247
|
case "engineering":
|
|
1250
|
-
t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c,
|
|
1251
|
-
return F(F({}, c),
|
|
1248
|
+
t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
|
|
1249
|
+
return F(F({}, c), Tr(u));
|
|
1252
1250
|
}, {}));
|
|
1253
1251
|
continue;
|
|
1254
1252
|
case "notation-simple":
|
|
@@ -1293,41 +1291,41 @@ function uo(e) {
|
|
|
1293
1291
|
case "integer-width":
|
|
1294
1292
|
if (i.options.length > 1)
|
|
1295
1293
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1296
|
-
i.options[0].replace(oo, function(c,
|
|
1297
|
-
if (
|
|
1294
|
+
i.options[0].replace(oo, function(c, u, f, b, y, M) {
|
|
1295
|
+
if (u)
|
|
1298
1296
|
t.minimumIntegerDigits = f.length;
|
|
1299
1297
|
else {
|
|
1300
1298
|
if (b && y)
|
|
1301
1299
|
throw new Error("We currently do not support maximum integer digits");
|
|
1302
|
-
if (
|
|
1300
|
+
if (M)
|
|
1303
1301
|
throw new Error("We currently do not support exact integer digits");
|
|
1304
1302
|
}
|
|
1305
1303
|
return "";
|
|
1306
1304
|
});
|
|
1307
1305
|
continue;
|
|
1308
1306
|
}
|
|
1309
|
-
if (
|
|
1307
|
+
if (Ti.test(i.stem)) {
|
|
1310
1308
|
t.minimumIntegerDigits = i.stem.length;
|
|
1311
1309
|
continue;
|
|
1312
1310
|
}
|
|
1313
|
-
if (
|
|
1311
|
+
if (_r.test(i.stem)) {
|
|
1314
1312
|
if (i.options.length > 1)
|
|
1315
1313
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1316
|
-
i.stem.replace(
|
|
1317
|
-
return f === "*" ? t.minimumFractionDigits =
|
|
1314
|
+
i.stem.replace(_r, function(c, u, f, b, y, M) {
|
|
1315
|
+
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), "";
|
|
1318
1316
|
});
|
|
1319
1317
|
var s = i.options[0];
|
|
1320
|
-
s === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = F(F({}, t),
|
|
1318
|
+
s === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = F(F({}, t), yr(s)));
|
|
1321
1319
|
continue;
|
|
1322
1320
|
}
|
|
1323
|
-
if (
|
|
1324
|
-
t = F(F({}, t),
|
|
1321
|
+
if (yi.test(i.stem)) {
|
|
1322
|
+
t = F(F({}, t), yr(i.stem));
|
|
1325
1323
|
continue;
|
|
1326
1324
|
}
|
|
1327
|
-
var a =
|
|
1325
|
+
var a = xi(i.stem);
|
|
1328
1326
|
a && (t = F(F({}, t), a));
|
|
1329
|
-
var
|
|
1330
|
-
|
|
1327
|
+
var l = ao(i.stem);
|
|
1328
|
+
l && (t = F(F({}, t), l));
|
|
1331
1329
|
}
|
|
1332
1330
|
return t;
|
|
1333
1331
|
}
|
|
@@ -2746,17 +2744,17 @@ var Mt = {
|
|
|
2746
2744
|
"h"
|
|
2747
2745
|
]
|
|
2748
2746
|
};
|
|
2749
|
-
function
|
|
2747
|
+
function uo(e, t) {
|
|
2750
2748
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2751
2749
|
var i = e.charAt(r);
|
|
2752
2750
|
if (i === "j") {
|
|
2753
2751
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2754
2752
|
s++, r++;
|
|
2755
|
-
var a = 1 + (s & 1),
|
|
2756
|
-
for ((
|
|
2753
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", u = co(t);
|
|
2754
|
+
for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
|
|
2757
2755
|
n += c;
|
|
2758
2756
|
for (; a-- > 0; )
|
|
2759
|
-
n =
|
|
2757
|
+
n = u + n;
|
|
2760
2758
|
} else
|
|
2761
2759
|
i === "J" ? n += "H" : n += i;
|
|
2762
2760
|
}
|
|
@@ -2784,7 +2782,7 @@ function co(e) {
|
|
|
2784
2782
|
var i = Mt[r || ""] || Mt[n || ""] || Mt["".concat(n, "-001")] || Mt["001"];
|
|
2785
2783
|
return i[0];
|
|
2786
2784
|
}
|
|
2787
|
-
var hn, fo = new RegExp("^".concat(
|
|
2785
|
+
var hn, fo = new RegExp("^".concat(_i.source, "*")), ho = new RegExp("".concat(_i.source, "*$"));
|
|
2788
2786
|
function B(e, t) {
|
|
2789
2787
|
return { start: e, end: t };
|
|
2790
2788
|
}
|
|
@@ -2792,12 +2790,12 @@ var mo = !!String.prototype.startsWith && "_a".startsWith("a", 1), po = !!String
|
|
|
2792
2790
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2793
2791
|
}, An = !0;
|
|
2794
2792
|
try {
|
|
2795
|
-
var xo =
|
|
2793
|
+
var xo = Ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2796
2794
|
An = ((hn = xo.exec("a")) === null || hn === void 0 ? void 0 : hn[0]) === "a";
|
|
2797
2795
|
} catch (e) {
|
|
2798
2796
|
An = !1;
|
|
2799
2797
|
}
|
|
2800
|
-
var
|
|
2798
|
+
var xr = mo ? (
|
|
2801
2799
|
// Native
|
|
2802
2800
|
function(t, n, r) {
|
|
2803
2801
|
return t.startsWith(n, r);
|
|
@@ -2819,19 +2817,19 @@ var Tr = mo ? (
|
|
|
2819
2817
|
}
|
|
2820
2818
|
return r;
|
|
2821
2819
|
}
|
|
2822
|
-
),
|
|
2820
|
+
), vr = (
|
|
2823
2821
|
// native
|
|
2824
2822
|
go ? Object.fromEntries : (
|
|
2825
2823
|
// Ponyfill
|
|
2826
2824
|
function(t) {
|
|
2827
2825
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2828
|
-
var s = i[r], a = s[0],
|
|
2829
|
-
n[a] =
|
|
2826
|
+
var s = i[r], a = s[0], l = s[1];
|
|
2827
|
+
n[a] = l;
|
|
2830
2828
|
}
|
|
2831
2829
|
return n;
|
|
2832
2830
|
}
|
|
2833
2831
|
)
|
|
2834
|
-
),
|
|
2832
|
+
), vi = bo ? (
|
|
2835
2833
|
// Native
|
|
2836
2834
|
function(t, n) {
|
|
2837
2835
|
return t.codePointAt(n);
|
|
@@ -2866,23 +2864,23 @@ var Tr = mo ? (
|
|
|
2866
2864
|
return t.replace(ho, "");
|
|
2867
2865
|
}
|
|
2868
2866
|
);
|
|
2869
|
-
function
|
|
2867
|
+
function Ai(e, t) {
|
|
2870
2868
|
return new RegExp(e, t);
|
|
2871
2869
|
}
|
|
2872
2870
|
var wn;
|
|
2873
2871
|
if (An) {
|
|
2874
|
-
var
|
|
2872
|
+
var Ar = Ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2875
2873
|
wn = function(t, n) {
|
|
2876
2874
|
var r;
|
|
2877
|
-
|
|
2878
|
-
var i =
|
|
2875
|
+
Ar.lastIndex = n;
|
|
2876
|
+
var i = Ar.exec(t);
|
|
2879
2877
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2880
2878
|
};
|
|
2881
2879
|
} else
|
|
2882
2880
|
wn = function(t, n) {
|
|
2883
2881
|
for (var r = []; ; ) {
|
|
2884
|
-
var i =
|
|
2885
|
-
if (i === void 0 ||
|
|
2882
|
+
var i = vi(t, n);
|
|
2883
|
+
if (i === void 0 || Si(i) || Mo(i))
|
|
2886
2884
|
break;
|
|
2887
2885
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2888
2886
|
}
|
|
@@ -2910,10 +2908,10 @@ var So = (
|
|
|
2910
2908
|
if (s === 125 && t > 0)
|
|
2911
2909
|
break;
|
|
2912
2910
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2913
|
-
var
|
|
2911
|
+
var l = this.clonePosition();
|
|
2914
2912
|
this.bump(), i.push({
|
|
2915
|
-
type:
|
|
2916
|
-
location: B(
|
|
2913
|
+
type: Y.pound,
|
|
2914
|
+
location: B(l, this.clonePosition())
|
|
2917
2915
|
});
|
|
2918
2916
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2919
2917
|
if (r)
|
|
@@ -2940,7 +2938,7 @@ var So = (
|
|
|
2940
2938
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2941
2939
|
return {
|
|
2942
2940
|
val: {
|
|
2943
|
-
type:
|
|
2941
|
+
type: Y.literal,
|
|
2944
2942
|
value: "<".concat(i, "/>"),
|
|
2945
2943
|
location: B(r, this.clonePosition())
|
|
2946
2944
|
},
|
|
@@ -2950,20 +2948,20 @@ var So = (
|
|
|
2950
2948
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2951
2949
|
if (s.err)
|
|
2952
2950
|
return s;
|
|
2953
|
-
var a = s.val,
|
|
2951
|
+
var a = s.val, l = this.clonePosition();
|
|
2954
2952
|
if (this.bumpIf("</")) {
|
|
2955
2953
|
if (this.isEOF() || !On(this.char()))
|
|
2956
|
-
return this.error(D.INVALID_TAG, B(
|
|
2957
|
-
var c = this.clonePosition(),
|
|
2958
|
-
return i !==
|
|
2954
|
+
return this.error(D.INVALID_TAG, B(l, this.clonePosition()));
|
|
2955
|
+
var c = this.clonePosition(), u = this.parseTagName();
|
|
2956
|
+
return i !== u ? this.error(D.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2959
2957
|
val: {
|
|
2960
|
-
type:
|
|
2958
|
+
type: Y.tag,
|
|
2961
2959
|
value: i,
|
|
2962
2960
|
children: a,
|
|
2963
2961
|
location: B(r, this.clonePosition())
|
|
2964
2962
|
},
|
|
2965
2963
|
err: null
|
|
2966
|
-
} : this.error(D.INVALID_TAG, B(
|
|
2964
|
+
} : this.error(D.INVALID_TAG, B(l, this.clonePosition())));
|
|
2967
2965
|
} else
|
|
2968
2966
|
return this.error(D.UNCLOSED_TAG, B(r, this.clonePosition()));
|
|
2969
2967
|
} else
|
|
@@ -2985,16 +2983,16 @@ var So = (
|
|
|
2985
2983
|
i += a;
|
|
2986
2984
|
continue;
|
|
2987
2985
|
}
|
|
2988
|
-
var
|
|
2989
|
-
if (
|
|
2990
|
-
i +=
|
|
2986
|
+
var l = this.tryParseLeftAngleBracket();
|
|
2987
|
+
if (l) {
|
|
2988
|
+
i += l;
|
|
2991
2989
|
continue;
|
|
2992
2990
|
}
|
|
2993
2991
|
break;
|
|
2994
2992
|
}
|
|
2995
2993
|
var c = B(r, this.clonePosition());
|
|
2996
2994
|
return {
|
|
2997
|
-
val: { type:
|
|
2995
|
+
val: { type: Y.literal, value: i, location: c },
|
|
2998
2996
|
err: null
|
|
2999
2997
|
};
|
|
3000
2998
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -3054,7 +3052,7 @@ var So = (
|
|
|
3054
3052
|
case 125:
|
|
3055
3053
|
return this.bump(), {
|
|
3056
3054
|
val: {
|
|
3057
|
-
type:
|
|
3055
|
+
type: Y.argument,
|
|
3058
3056
|
// value does not include the opening and closing braces.
|
|
3059
3057
|
value: i,
|
|
3060
3058
|
location: B(r, this.clonePosition())
|
|
@@ -3072,15 +3070,15 @@ var So = (
|
|
|
3072
3070
|
var s = this.clonePosition(), a = B(t, s);
|
|
3073
3071
|
return { value: r, location: a };
|
|
3074
3072
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3075
|
-
var s, a = this.clonePosition(),
|
|
3076
|
-
switch (
|
|
3073
|
+
var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
3074
|
+
switch (l) {
|
|
3077
3075
|
case "":
|
|
3078
3076
|
return this.error(D.EXPECT_ARGUMENT_TYPE, B(a, c));
|
|
3079
3077
|
case "number":
|
|
3080
3078
|
case "date":
|
|
3081
3079
|
case "time": {
|
|
3082
3080
|
this.bumpSpace();
|
|
3083
|
-
var
|
|
3081
|
+
var u = null;
|
|
3084
3082
|
if (this.bumpIf(",")) {
|
|
3085
3083
|
this.bumpSpace();
|
|
3086
3084
|
var f = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
|
|
@@ -3089,32 +3087,32 @@ var So = (
|
|
|
3089
3087
|
var y = Ao(b.val);
|
|
3090
3088
|
if (y.length === 0)
|
|
3091
3089
|
return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
3092
|
-
var
|
|
3093
|
-
|
|
3090
|
+
var M = B(f, this.clonePosition());
|
|
3091
|
+
u = { style: y, styleLocation: M };
|
|
3094
3092
|
}
|
|
3095
3093
|
var E = this.tryParseArgumentClose(i);
|
|
3096
3094
|
if (E.err)
|
|
3097
3095
|
return E;
|
|
3098
3096
|
var d = B(i, this.clonePosition());
|
|
3099
|
-
if (
|
|
3100
|
-
var
|
|
3101
|
-
if (
|
|
3102
|
-
var b = this.parseNumberSkeletonFromString(
|
|
3097
|
+
if (u && xr(u == null ? void 0 : u.style, "::", 0)) {
|
|
3098
|
+
var C = vo(u.style.slice(2));
|
|
3099
|
+
if (l === "number") {
|
|
3100
|
+
var b = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
3103
3101
|
return b.err ? b : {
|
|
3104
|
-
val: { type:
|
|
3102
|
+
val: { type: Y.number, value: r, location: d, style: b.val },
|
|
3105
3103
|
err: null
|
|
3106
3104
|
};
|
|
3107
3105
|
} else {
|
|
3108
|
-
if (
|
|
3106
|
+
if (C.length === 0)
|
|
3109
3107
|
return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
|
|
3110
|
-
var $ =
|
|
3111
|
-
this.locale && ($ =
|
|
3108
|
+
var $ = C;
|
|
3109
|
+
this.locale && ($ = uo(C, this.locale));
|
|
3112
3110
|
var y = {
|
|
3113
3111
|
type: qe.dateTime,
|
|
3114
3112
|
pattern: $,
|
|
3115
|
-
location:
|
|
3113
|
+
location: u.styleLocation,
|
|
3116
3114
|
parsedOptions: this.shouldParseSkeletons ? no($) : {}
|
|
3117
|
-
}, U =
|
|
3115
|
+
}, U = l === "date" ? Y.date : Y.time;
|
|
3118
3116
|
return {
|
|
3119
3117
|
val: { type: U, value: r, location: d, style: y },
|
|
3120
3118
|
err: null
|
|
@@ -3123,10 +3121,10 @@ var So = (
|
|
|
3123
3121
|
}
|
|
3124
3122
|
return {
|
|
3125
3123
|
val: {
|
|
3126
|
-
type:
|
|
3124
|
+
type: l === "number" ? Y.number : l === "date" ? Y.date : Y.time,
|
|
3127
3125
|
value: r,
|
|
3128
3126
|
location: d,
|
|
3129
|
-
style: (s =
|
|
3127
|
+
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3130
3128
|
},
|
|
3131
3129
|
err: null
|
|
3132
3130
|
};
|
|
@@ -3134,12 +3132,12 @@ var So = (
|
|
|
3134
3132
|
case "plural":
|
|
3135
3133
|
case "selectordinal":
|
|
3136
3134
|
case "select": {
|
|
3137
|
-
var
|
|
3135
|
+
var S = this.clonePosition();
|
|
3138
3136
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3139
|
-
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(
|
|
3137
|
+
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(S, F({}, S)));
|
|
3140
3138
|
this.bumpSpace();
|
|
3141
3139
|
var H = this.parseIdentifierIfPossible(), P = 0;
|
|
3142
|
-
if (
|
|
3140
|
+
if (l !== "select" && H.value === "offset") {
|
|
3143
3141
|
if (!this.bumpIf(":"))
|
|
3144
3142
|
return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
|
|
3145
3143
|
this.bumpSpace();
|
|
@@ -3148,29 +3146,29 @@ var So = (
|
|
|
3148
3146
|
return b;
|
|
3149
3147
|
this.bumpSpace(), H = this.parseIdentifierIfPossible(), P = b.val;
|
|
3150
3148
|
}
|
|
3151
|
-
var G = this.tryParsePluralOrSelectOptions(t,
|
|
3149
|
+
var G = this.tryParsePluralOrSelectOptions(t, l, n, H);
|
|
3152
3150
|
if (G.err)
|
|
3153
3151
|
return G;
|
|
3154
3152
|
var E = this.tryParseArgumentClose(i);
|
|
3155
3153
|
if (E.err)
|
|
3156
3154
|
return E;
|
|
3157
|
-
var
|
|
3158
|
-
return
|
|
3155
|
+
var Z = B(i, this.clonePosition());
|
|
3156
|
+
return l === "select" ? {
|
|
3159
3157
|
val: {
|
|
3160
|
-
type:
|
|
3158
|
+
type: Y.select,
|
|
3161
3159
|
value: r,
|
|
3162
|
-
options:
|
|
3163
|
-
location:
|
|
3160
|
+
options: vr(G.val),
|
|
3161
|
+
location: Z
|
|
3164
3162
|
},
|
|
3165
3163
|
err: null
|
|
3166
3164
|
} : {
|
|
3167
3165
|
val: {
|
|
3168
|
-
type:
|
|
3166
|
+
type: Y.plural,
|
|
3169
3167
|
value: r,
|
|
3170
|
-
options:
|
|
3168
|
+
options: vr(G.val),
|
|
3171
3169
|
offset: P,
|
|
3172
|
-
pluralType:
|
|
3173
|
-
location:
|
|
3170
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3171
|
+
location: Z
|
|
3174
3172
|
},
|
|
3175
3173
|
err: null
|
|
3176
3174
|
};
|
|
@@ -3227,50 +3225,50 @@ var So = (
|
|
|
3227
3225
|
type: qe.number,
|
|
3228
3226
|
tokens: r,
|
|
3229
3227
|
location: n,
|
|
3230
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3228
|
+
parsedOptions: this.shouldParseSkeletons ? lo(r) : {}
|
|
3231
3229
|
},
|
|
3232
3230
|
err: null
|
|
3233
3231
|
};
|
|
3234
3232
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3235
|
-
for (var s, a = !1,
|
|
3236
|
-
if (
|
|
3233
|
+
for (var s, a = !1, l = [], c = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
|
|
3234
|
+
if (u.length === 0) {
|
|
3237
3235
|
var b = this.clonePosition();
|
|
3238
3236
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3239
3237
|
var y = this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR, D.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3240
3238
|
if (y.err)
|
|
3241
3239
|
return y;
|
|
3242
|
-
f = B(b, this.clonePosition()),
|
|
3240
|
+
f = B(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
|
|
3243
3241
|
} else
|
|
3244
3242
|
break;
|
|
3245
3243
|
}
|
|
3246
|
-
if (c.has(
|
|
3244
|
+
if (c.has(u))
|
|
3247
3245
|
return this.error(n === "select" ? D.DUPLICATE_SELECT_ARGUMENT_SELECTOR : D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
|
|
3248
|
-
|
|
3249
|
-
var
|
|
3246
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3247
|
+
var M = this.clonePosition();
|
|
3250
3248
|
if (!this.bumpIf("{"))
|
|
3251
3249
|
return this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
|
|
3252
3250
|
var E = this.parseMessage(t + 1, n, r);
|
|
3253
3251
|
if (E.err)
|
|
3254
3252
|
return E;
|
|
3255
|
-
var d = this.tryParseArgumentClose(
|
|
3253
|
+
var d = this.tryParseArgumentClose(M);
|
|
3256
3254
|
if (d.err)
|
|
3257
3255
|
return d;
|
|
3258
|
-
|
|
3259
|
-
|
|
3256
|
+
l.push([
|
|
3257
|
+
u,
|
|
3260
3258
|
{
|
|
3261
3259
|
value: E.val,
|
|
3262
|
-
location: B(
|
|
3260
|
+
location: B(M, this.clonePosition())
|
|
3263
3261
|
}
|
|
3264
|
-
]), c.add(
|
|
3262
|
+
]), c.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, f = s.location;
|
|
3265
3263
|
}
|
|
3266
|
-
return
|
|
3264
|
+
return l.length === 0 ? this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR : D.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(D.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3267
3265
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3268
3266
|
var r = 1, i = this.clonePosition();
|
|
3269
3267
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3270
3268
|
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3271
|
-
var
|
|
3272
|
-
if (
|
|
3273
|
-
s = !0, a = a * 10 + (
|
|
3269
|
+
var l = this.char();
|
|
3270
|
+
if (l >= 48 && l <= 57)
|
|
3271
|
+
s = !0, a = a * 10 + (l - 48), this.bump();
|
|
3274
3272
|
else
|
|
3275
3273
|
break;
|
|
3276
3274
|
}
|
|
@@ -3290,7 +3288,7 @@ var So = (
|
|
|
3290
3288
|
var t = this.position.offset;
|
|
3291
3289
|
if (t >= this.message.length)
|
|
3292
3290
|
throw Error("out of bound");
|
|
3293
|
-
var n =
|
|
3291
|
+
var n = vi(this.message, t);
|
|
3294
3292
|
if (n === void 0)
|
|
3295
3293
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3296
3294
|
return n;
|
|
@@ -3309,7 +3307,7 @@ var So = (
|
|
|
3309
3307
|
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);
|
|
3310
3308
|
}
|
|
3311
3309
|
}, e.prototype.bumpIf = function(t) {
|
|
3312
|
-
if (
|
|
3310
|
+
if (xr(this.message, t, this.offset())) {
|
|
3313
3311
|
for (var n = 0; n < t.length; n++)
|
|
3314
3312
|
this.bump();
|
|
3315
3313
|
return !0;
|
|
@@ -3331,7 +3329,7 @@ var So = (
|
|
|
3331
3329
|
break;
|
|
3332
3330
|
}
|
|
3333
3331
|
}, e.prototype.bumpSpace = function() {
|
|
3334
|
-
for (; !this.isEOF() &&
|
|
3332
|
+
for (; !this.isEOF() && Si(this.char()); )
|
|
3335
3333
|
this.bump();
|
|
3336
3334
|
}, e.prototype.peek = function() {
|
|
3337
3335
|
if (this.isEOF())
|
|
@@ -3350,7 +3348,7 @@ function wo(e) {
|
|
|
3350
3348
|
function Oo(e) {
|
|
3351
3349
|
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;
|
|
3352
3350
|
}
|
|
3353
|
-
function
|
|
3351
|
+
function Si(e) {
|
|
3354
3352
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3355
3353
|
}
|
|
3356
3354
|
function Mo(e) {
|
|
@@ -3358,11 +3356,11 @@ function Mo(e) {
|
|
|
3358
3356
|
}
|
|
3359
3357
|
function Mn(e) {
|
|
3360
3358
|
e.forEach(function(t) {
|
|
3361
|
-
if (delete t.location,
|
|
3359
|
+
if (delete t.location, pi(t) || gi(t))
|
|
3362
3360
|
for (var n in t.options)
|
|
3363
3361
|
delete t.options[n].location, Mn(t.options[n].value);
|
|
3364
3362
|
else
|
|
3365
|
-
|
|
3363
|
+
hi(t) && Ei(t.style) || (mi(t) || di(t)) && vn(t.style) ? delete t.style.location : bi(t) && Mn(t.children);
|
|
3366
3364
|
});
|
|
3367
3365
|
}
|
|
3368
3366
|
function Co(e, t) {
|
|
@@ -3390,7 +3388,7 @@ var qt = (
|
|
|
3390
3388
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3391
3389
|
}, t;
|
|
3392
3390
|
}(Error)
|
|
3393
|
-
),
|
|
3391
|
+
), Sr = (
|
|
3394
3392
|
/** @class */
|
|
3395
3393
|
function(e) {
|
|
3396
3394
|
Zt(t, e);
|
|
@@ -3431,24 +3429,24 @@ function Ro(e) {
|
|
|
3431
3429
|
return typeof e == "function";
|
|
3432
3430
|
}
|
|
3433
3431
|
function Bt(e, t, n, r, i, s, a) {
|
|
3434
|
-
if (e.length === 1 &&
|
|
3432
|
+
if (e.length === 1 && Er(e[0]))
|
|
3435
3433
|
return [
|
|
3436
3434
|
{
|
|
3437
3435
|
type: ce.literal,
|
|
3438
3436
|
value: e[0].value
|
|
3439
3437
|
}
|
|
3440
3438
|
];
|
|
3441
|
-
for (var
|
|
3442
|
-
var f =
|
|
3443
|
-
if (
|
|
3444
|
-
|
|
3439
|
+
for (var l = [], c = 0, u = e; c < u.length; c++) {
|
|
3440
|
+
var f = u[c];
|
|
3441
|
+
if (Er(f)) {
|
|
3442
|
+
l.push({
|
|
3445
3443
|
type: ce.literal,
|
|
3446
3444
|
value: f.value
|
|
3447
3445
|
});
|
|
3448
3446
|
continue;
|
|
3449
3447
|
}
|
|
3450
3448
|
if (eo(f)) {
|
|
3451
|
-
typeof s == "number" &&
|
|
3449
|
+
typeof s == "number" && l.push({
|
|
3452
3450
|
type: ce.literal,
|
|
3453
3451
|
value: n.getNumberFormat(t).format(s)
|
|
3454
3452
|
});
|
|
@@ -3459,74 +3457,74 @@ function Bt(e, t, n, r, i, s, a) {
|
|
|
3459
3457
|
throw new Lo(b, a);
|
|
3460
3458
|
var y = i[b];
|
|
3461
3459
|
if (Ks(f)) {
|
|
3462
|
-
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""),
|
|
3460
|
+
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), l.push({
|
|
3463
3461
|
type: typeof y == "string" ? ce.literal : ce.object,
|
|
3464
3462
|
value: y
|
|
3465
3463
|
});
|
|
3466
3464
|
continue;
|
|
3467
3465
|
}
|
|
3468
|
-
if (
|
|
3469
|
-
var
|
|
3470
|
-
|
|
3466
|
+
if (mi(f)) {
|
|
3467
|
+
var M = typeof f.style == "string" ? r.date[f.style] : vn(f.style) ? f.style.parsedOptions : void 0;
|
|
3468
|
+
l.push({
|
|
3471
3469
|
type: ce.literal,
|
|
3472
|
-
value: n.getDateTimeFormat(t,
|
|
3470
|
+
value: n.getDateTimeFormat(t, M).format(y)
|
|
3473
3471
|
});
|
|
3474
3472
|
continue;
|
|
3475
3473
|
}
|
|
3476
|
-
if (
|
|
3477
|
-
var
|
|
3478
|
-
|
|
3474
|
+
if (di(f)) {
|
|
3475
|
+
var M = typeof f.style == "string" ? r.time[f.style] : vn(f.style) ? f.style.parsedOptions : r.time.medium;
|
|
3476
|
+
l.push({
|
|
3479
3477
|
type: ce.literal,
|
|
3480
|
-
value: n.getDateTimeFormat(t,
|
|
3478
|
+
value: n.getDateTimeFormat(t, M).format(y)
|
|
3481
3479
|
});
|
|
3482
3480
|
continue;
|
|
3483
3481
|
}
|
|
3484
|
-
if (
|
|
3485
|
-
var
|
|
3486
|
-
|
|
3482
|
+
if (hi(f)) {
|
|
3483
|
+
var M = typeof f.style == "string" ? r.number[f.style] : Ei(f.style) ? f.style.parsedOptions : void 0;
|
|
3484
|
+
M && M.scale && (y = y * (M.scale || 1)), l.push({
|
|
3487
3485
|
type: ce.literal,
|
|
3488
|
-
value: n.getNumberFormat(t,
|
|
3486
|
+
value: n.getNumberFormat(t, M).format(y)
|
|
3489
3487
|
});
|
|
3490
3488
|
continue;
|
|
3491
3489
|
}
|
|
3492
|
-
if (
|
|
3493
|
-
var E = f.children, d = f.value,
|
|
3494
|
-
if (!Ro(
|
|
3490
|
+
if (bi(f)) {
|
|
3491
|
+
var E = f.children, d = f.value, C = i[d];
|
|
3492
|
+
if (!Ro(C))
|
|
3495
3493
|
throw new No(d, "function", a);
|
|
3496
|
-
var $ = Bt(E, t, n, r, i, s), U =
|
|
3494
|
+
var $ = Bt(E, t, n, r, i, s), U = C($.map(function(P) {
|
|
3497
3495
|
return P.value;
|
|
3498
3496
|
}));
|
|
3499
|
-
Array.isArray(U) || (U = [U]),
|
|
3497
|
+
Array.isArray(U) || (U = [U]), l.push.apply(l, U.map(function(P) {
|
|
3500
3498
|
return {
|
|
3501
3499
|
type: typeof P == "string" ? ce.literal : ce.object,
|
|
3502
3500
|
value: P
|
|
3503
3501
|
};
|
|
3504
3502
|
}));
|
|
3505
3503
|
}
|
|
3506
|
-
if (
|
|
3507
|
-
var
|
|
3508
|
-
if (!
|
|
3509
|
-
throw new
|
|
3510
|
-
|
|
3504
|
+
if (pi(f)) {
|
|
3505
|
+
var S = f.options[y] || f.options.other;
|
|
3506
|
+
if (!S)
|
|
3507
|
+
throw new Sr(f.value, y, Object.keys(f.options), a);
|
|
3508
|
+
l.push.apply(l, Bt(S.value, t, n, r, i));
|
|
3511
3509
|
continue;
|
|
3512
3510
|
}
|
|
3513
|
-
if (
|
|
3514
|
-
var
|
|
3515
|
-
if (!
|
|
3511
|
+
if (gi(f)) {
|
|
3512
|
+
var S = f.options["=".concat(y)];
|
|
3513
|
+
if (!S) {
|
|
3516
3514
|
if (!Intl.PluralRules)
|
|
3517
3515
|
throw new qt(`Intl.PluralRules is not available in this environment.
|
|
3518
3516
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3519
3517
|
`, Je.MISSING_INTL_API, a);
|
|
3520
3518
|
var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
|
|
3521
|
-
|
|
3519
|
+
S = f.options[H] || f.options.other;
|
|
3522
3520
|
}
|
|
3523
|
-
if (!
|
|
3524
|
-
throw new
|
|
3525
|
-
|
|
3521
|
+
if (!S)
|
|
3522
|
+
throw new Sr(f.value, y, Object.keys(f.options), a);
|
|
3523
|
+
l.push.apply(l, Bt(S.value, t, n, r, i, y - (f.offset || 0)));
|
|
3526
3524
|
continue;
|
|
3527
3525
|
}
|
|
3528
3526
|
}
|
|
3529
|
-
return Ho(
|
|
3527
|
+
return Ho(l);
|
|
3530
3528
|
}
|
|
3531
3529
|
function Io(e, t) {
|
|
3532
3530
|
return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
@@ -3561,7 +3559,7 @@ function Do(e) {
|
|
|
3561
3559
|
getNumberFormat: cn(function() {
|
|
3562
3560
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3563
3561
|
n[r] = arguments[r];
|
|
3564
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3562
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, un([void 0], n, !1)))();
|
|
3565
3563
|
}, {
|
|
3566
3564
|
cache: mn(e.number),
|
|
3567
3565
|
strategy: fn.variadic
|
|
@@ -3569,7 +3567,7 @@ function Do(e) {
|
|
|
3569
3567
|
getDateTimeFormat: cn(function() {
|
|
3570
3568
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3571
3569
|
n[r] = arguments[r];
|
|
3572
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3570
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, un([void 0], n, !1)))();
|
|
3573
3571
|
}, {
|
|
3574
3572
|
cache: mn(e.dateTime),
|
|
3575
3573
|
strategy: fn.variadic
|
|
@@ -3577,14 +3575,14 @@ function Do(e) {
|
|
|
3577
3575
|
getPluralRules: cn(function() {
|
|
3578
3576
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3579
3577
|
n[r] = arguments[r];
|
|
3580
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3578
|
+
return new ((t = Intl.PluralRules).bind.apply(t, un([void 0], n, !1)))();
|
|
3581
3579
|
}, {
|
|
3582
3580
|
cache: mn(e.pluralRules),
|
|
3583
3581
|
strategy: fn.variadic
|
|
3584
3582
|
})
|
|
3585
3583
|
};
|
|
3586
3584
|
}
|
|
3587
|
-
var
|
|
3585
|
+
var wi = (
|
|
3588
3586
|
/** @class */
|
|
3589
3587
|
function() {
|
|
3590
3588
|
function e(t, n, r, i) {
|
|
@@ -3595,10 +3593,10 @@ var Si = (
|
|
|
3595
3593
|
dateTime: {},
|
|
3596
3594
|
pluralRules: {}
|
|
3597
3595
|
}, this.format = function(c) {
|
|
3598
|
-
var
|
|
3599
|
-
if (
|
|
3600
|
-
return
|
|
3601
|
-
var f =
|
|
3596
|
+
var u = s.formatToParts(c);
|
|
3597
|
+
if (u.length === 1)
|
|
3598
|
+
return u[0].value;
|
|
3599
|
+
var f = u.reduce(function(b, y) {
|
|
3602
3600
|
return !b.length || y.type !== ce.literal || typeof b[b.length - 1] != "string" ? b.push(y.value) : b[b.length - 1] += y.value, b;
|
|
3603
3601
|
}, []);
|
|
3604
3602
|
return f.length <= 1 ? f[0] || "" : f;
|
|
@@ -3616,8 +3614,8 @@ var Si = (
|
|
|
3616
3614
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3617
3615
|
var a = i || {};
|
|
3618
3616
|
a.formatters;
|
|
3619
|
-
var
|
|
3620
|
-
this.ast = e.__parse(t, F(F({},
|
|
3617
|
+
var l = Vs(a, ["formatters"]);
|
|
3618
|
+
this.ast = e.__parse(t, F(F({}, l), { locale: this.resolvedLocale }));
|
|
3621
3619
|
} else
|
|
3622
3620
|
this.ast = t;
|
|
3623
3621
|
if (!Array.isArray(this.ast))
|
|
@@ -3717,7 +3715,7 @@ function Bo(e, t) {
|
|
|
3717
3715
|
r = void 0;
|
|
3718
3716
|
return r;
|
|
3719
3717
|
}
|
|
3720
|
-
const He = {}, Uo = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n),
|
|
3718
|
+
const He = {}, Uo = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = n), n), Oi = (e, t) => {
|
|
3721
3719
|
if (t == null)
|
|
3722
3720
|
return;
|
|
3723
3721
|
if (t in He && e in He[t])
|
|
@@ -3729,16 +3727,16 @@ const He = {}, Uo = (e, t, n) => n && (t in He || (He[t] = {}), e in He[t] || (H
|
|
|
3729
3727
|
return Uo(e, t, s);
|
|
3730
3728
|
}
|
|
3731
3729
|
};
|
|
3732
|
-
let
|
|
3730
|
+
let Bn;
|
|
3733
3731
|
const _t = Et({});
|
|
3734
3732
|
function ko(e) {
|
|
3735
|
-
return
|
|
3733
|
+
return Bn[e] || null;
|
|
3736
3734
|
}
|
|
3737
|
-
function
|
|
3738
|
-
return e in
|
|
3735
|
+
function Mi(e) {
|
|
3736
|
+
return e in Bn;
|
|
3739
3737
|
}
|
|
3740
3738
|
function Fo(e, t) {
|
|
3741
|
-
if (!
|
|
3739
|
+
if (!Mi(e))
|
|
3742
3740
|
return null;
|
|
3743
3741
|
const n = ko(e);
|
|
3744
3742
|
return Bo(n, t);
|
|
@@ -3749,28 +3747,28 @@ function Go(e) {
|
|
|
3749
3747
|
const t = yt(e);
|
|
3750
3748
|
for (let n = 0; n < t.length; n++) {
|
|
3751
3749
|
const r = t[n];
|
|
3752
|
-
if (
|
|
3750
|
+
if (Mi(r))
|
|
3753
3751
|
return r;
|
|
3754
3752
|
}
|
|
3755
3753
|
}
|
|
3756
|
-
function
|
|
3757
|
-
delete He[e], _t.update((n) => (n[e] =
|
|
3754
|
+
function Ci(e, ...t) {
|
|
3755
|
+
delete He[e], _t.update((n) => (n[e] = Ws.all([n[e] || {}, ...t]), n));
|
|
3758
3756
|
}
|
|
3759
3757
|
et(
|
|
3760
3758
|
[_t],
|
|
3761
3759
|
([e]) => Object.keys(e)
|
|
3762
3760
|
);
|
|
3763
|
-
_t.subscribe((e) =>
|
|
3761
|
+
_t.subscribe((e) => Bn = e);
|
|
3764
3762
|
const Ut = {};
|
|
3765
3763
|
function $o(e, t) {
|
|
3766
3764
|
Ut[e].delete(t), Ut[e].size === 0 && delete Ut[e];
|
|
3767
3765
|
}
|
|
3768
|
-
function
|
|
3766
|
+
function Ni(e) {
|
|
3769
3767
|
return Ut[e];
|
|
3770
3768
|
}
|
|
3771
3769
|
function jo(e) {
|
|
3772
3770
|
return yt(e).map((t) => {
|
|
3773
|
-
const n =
|
|
3771
|
+
const n = Ni(t);
|
|
3774
3772
|
return [t, n ? [...n] : []];
|
|
3775
3773
|
}).filter(([, t]) => t.length > 0);
|
|
3776
3774
|
}
|
|
@@ -3778,17 +3776,17 @@ function zt(e) {
|
|
|
3778
3776
|
return e == null ? !1 : yt(e).some(
|
|
3779
3777
|
(t) => {
|
|
3780
3778
|
var n;
|
|
3781
|
-
return (n =
|
|
3779
|
+
return (n = Ni(t)) == null ? void 0 : n.size;
|
|
3782
3780
|
}
|
|
3783
3781
|
);
|
|
3784
3782
|
}
|
|
3785
3783
|
function zo(e, t) {
|
|
3786
3784
|
return Promise.all(
|
|
3787
3785
|
t.map((r) => ($o(e, r), r().then((i) => i.default || i)))
|
|
3788
|
-
).then((r) =>
|
|
3786
|
+
).then((r) => Ci(e, ...r));
|
|
3789
3787
|
}
|
|
3790
3788
|
const ot = {};
|
|
3791
|
-
function
|
|
3789
|
+
function Li(e) {
|
|
3792
3790
|
if (!zt(e))
|
|
3793
3791
|
return e in ot ? ot[e] : Promise.resolve();
|
|
3794
3792
|
const t = jo(e);
|
|
@@ -3798,16 +3796,16 @@ function Ni(e) {
|
|
|
3798
3796
|
)
|
|
3799
3797
|
).then(() => {
|
|
3800
3798
|
if (zt(e))
|
|
3801
|
-
return
|
|
3799
|
+
return Li(e);
|
|
3802
3800
|
delete ot[e];
|
|
3803
3801
|
}), ot[e];
|
|
3804
3802
|
}
|
|
3805
|
-
var
|
|
3803
|
+
var wr = Object.getOwnPropertySymbols, Wo = Object.prototype.hasOwnProperty, Vo = Object.prototype.propertyIsEnumerable, Xo = (e, t) => {
|
|
3806
3804
|
var n = {};
|
|
3807
3805
|
for (var r in e)
|
|
3808
3806
|
Wo.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3809
|
-
if (e != null &&
|
|
3810
|
-
for (var r of
|
|
3807
|
+
if (e != null && wr)
|
|
3808
|
+
for (var r of wr(e))
|
|
3811
3809
|
t.indexOf(r) < 0 && Vo.call(e, r) && (n[r] = e[r]);
|
|
3812
3810
|
return n;
|
|
3813
3811
|
};
|
|
@@ -3866,7 +3864,7 @@ function Jo(e) {
|
|
|
3866
3864
|
let i = e.fallbackLocale;
|
|
3867
3865
|
if (e.initialLocale)
|
|
3868
3866
|
try {
|
|
3869
|
-
|
|
3867
|
+
wi.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3870
3868
|
} catch (s) {
|
|
3871
3869
|
console.warn(
|
|
3872
3870
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
@@ -3877,22 +3875,22 @@ function Jo(e) {
|
|
|
3877
3875
|
)), Object.assign(mt, r, { initialLocale: i }), n && ("number" in n && Object.assign(mt.formats.number, n.number), "date" in n && Object.assign(mt.formats.date, n.date), "time" in n && Object.assign(mt.formats.time, n.time)), Be.set(i);
|
|
3878
3876
|
}
|
|
3879
3877
|
const dn = Et(!1);
|
|
3880
|
-
var Qo = Object.defineProperty, Ko = Object.defineProperties, ea = Object.getOwnPropertyDescriptors,
|
|
3881
|
-
for (var n in t)
|
|
3882
|
-
ta.call(t, n) &&
|
|
3883
|
-
if (
|
|
3884
|
-
for (var n of
|
|
3885
|
-
na.call(t, n) &&
|
|
3878
|
+
var Qo = Object.defineProperty, Ko = Object.defineProperties, ea = Object.getOwnPropertyDescriptors, Or = Object.getOwnPropertySymbols, ta = Object.prototype.hasOwnProperty, na = Object.prototype.propertyIsEnumerable, Mr = (e, t, n) => t in e ? Qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ra = (e, t) => {
|
|
3879
|
+
for (var n in t || (t = {}))
|
|
3880
|
+
ta.call(t, n) && Mr(e, n, t[n]);
|
|
3881
|
+
if (Or)
|
|
3882
|
+
for (var n of Or(t))
|
|
3883
|
+
na.call(t, n) && Mr(e, n, t[n]);
|
|
3886
3884
|
return e;
|
|
3887
3885
|
}, ia = (e, t) => Ko(e, ea(t));
|
|
3888
3886
|
let Cn;
|
|
3889
3887
|
const Wt = Et(null);
|
|
3890
|
-
function
|
|
3888
|
+
function Cr(e) {
|
|
3891
3889
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3892
3890
|
}
|
|
3893
3891
|
function yt(e, t = Qe().fallbackLocale) {
|
|
3894
|
-
const n =
|
|
3895
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3892
|
+
const n = Cr(e);
|
|
3893
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Cr(t)])] : n;
|
|
3896
3894
|
}
|
|
3897
3895
|
function Ie() {
|
|
3898
3896
|
return Cn != null ? Cn : void 0;
|
|
@@ -3907,7 +3905,7 @@ const sa = (e) => {
|
|
|
3907
3905
|
return typeof window != "undefined" && Ie() != null && t ? n = window.setTimeout(
|
|
3908
3906
|
() => dn.set(!0),
|
|
3909
3907
|
t
|
|
3910
|
-
) : dn.set(!0),
|
|
3908
|
+
) : dn.set(!0), Li(e).then(() => {
|
|
3911
3909
|
Wt.set(e);
|
|
3912
3910
|
}).finally(() => {
|
|
3913
3911
|
clearTimeout(n), dn.set(!1);
|
|
@@ -3923,20 +3921,20 @@ const sa = (e) => {
|
|
|
3923
3921
|
return i in t ? t[i] : t[i] = e(r);
|
|
3924
3922
|
};
|
|
3925
3923
|
};
|
|
3926
|
-
var oa = Object.defineProperty, Vt = Object.getOwnPropertySymbols,
|
|
3924
|
+
var oa = Object.defineProperty, Vt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Nr = (e, t, n) => t in e ? oa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Un = (e, t) => {
|
|
3927
3925
|
for (var n in t || (t = {}))
|
|
3928
|
-
|
|
3926
|
+
Hi.call(t, n) && Nr(e, n, t[n]);
|
|
3929
3927
|
if (Vt)
|
|
3930
3928
|
for (var n of Vt(t))
|
|
3931
|
-
|
|
3929
|
+
Ri.call(t, n) && Nr(e, n, t[n]);
|
|
3932
3930
|
return e;
|
|
3933
3931
|
}, tt = (e, t) => {
|
|
3934
3932
|
var n = {};
|
|
3935
3933
|
for (var r in e)
|
|
3936
|
-
|
|
3934
|
+
Hi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3937
3935
|
if (e != null && Vt)
|
|
3938
3936
|
for (var r of Vt(e))
|
|
3939
|
-
t.indexOf(r) < 0 &&
|
|
3937
|
+
t.indexOf(r) < 0 && Ri.call(e, r) && (n[r] = e[r]);
|
|
3940
3938
|
return n;
|
|
3941
3939
|
};
|
|
3942
3940
|
const bt = (e, t) => {
|
|
@@ -3951,14 +3949,14 @@ const bt = (e, t) => {
|
|
|
3951
3949
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3952
3950
|
return r && (i = bt("number", r)), new Intl.NumberFormat(n, i);
|
|
3953
3951
|
}
|
|
3954
|
-
),
|
|
3952
|
+
), la = Jt(
|
|
3955
3953
|
(e) => {
|
|
3956
3954
|
var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
|
|
3957
3955
|
if (n == null)
|
|
3958
3956
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3959
3957
|
return r ? i = bt("date", r) : Object.keys(i).length === 0 && (i = bt("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3960
3958
|
}
|
|
3961
|
-
),
|
|
3959
|
+
), ua = Jt(
|
|
3962
3960
|
(e) => {
|
|
3963
3961
|
var t = e, { locale: n, format: r } = t, i = tt(t, ["locale", "format"]);
|
|
3964
3962
|
if (n == null)
|
|
@@ -3973,24 +3971,24 @@ const bt = (e, t) => {
|
|
|
3973
3971
|
} = t, r = tt(t, [
|
|
3974
3972
|
"locale"
|
|
3975
3973
|
]);
|
|
3976
|
-
return aa(
|
|
3974
|
+
return aa(Un({ locale: n }, r));
|
|
3977
3975
|
}, fa = (e = {}) => {
|
|
3978
3976
|
var t = e, {
|
|
3979
3977
|
locale: n = Ie()
|
|
3980
3978
|
} = t, r = tt(t, [
|
|
3981
3979
|
"locale"
|
|
3982
3980
|
]);
|
|
3983
|
-
return
|
|
3981
|
+
return la(Un({ locale: n }, r));
|
|
3984
3982
|
}, ha = (e = {}) => {
|
|
3985
3983
|
var t = e, {
|
|
3986
3984
|
locale: n = Ie()
|
|
3987
3985
|
} = t, r = tt(t, [
|
|
3988
3986
|
"locale"
|
|
3989
3987
|
]);
|
|
3990
|
-
return
|
|
3988
|
+
return ua(Un({ locale: n }, r));
|
|
3991
3989
|
}, ma = Jt(
|
|
3992
3990
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3993
|
-
(e, t = Ie()) => new
|
|
3991
|
+
(e, t = Ie()) => new wi(e, t, Qe().formats, {
|
|
3994
3992
|
ignoreTag: Qe().ignoreTag
|
|
3995
3993
|
})
|
|
3996
3994
|
), da = (e, t = {}) => {
|
|
@@ -3998,26 +3996,26 @@ const bt = (e, t) => {
|
|
|
3998
3996
|
let a = t;
|
|
3999
3997
|
typeof e == "object" && (a = e, e = a.id);
|
|
4000
3998
|
const {
|
|
4001
|
-
values:
|
|
3999
|
+
values: l,
|
|
4002
4000
|
locale: c = Ie(),
|
|
4003
|
-
default:
|
|
4001
|
+
default: u
|
|
4004
4002
|
} = a;
|
|
4005
4003
|
if (c == null)
|
|
4006
4004
|
throw new Error(
|
|
4007
4005
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4008
4006
|
);
|
|
4009
|
-
let f =
|
|
4007
|
+
let f = Oi(e, c);
|
|
4010
4008
|
if (!f)
|
|
4011
|
-
f = (s = (i = (r = (n = Qe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue:
|
|
4009
|
+
f = (s = (i = (r = (n = Qe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4012
4010
|
else if (typeof f != "string")
|
|
4013
4011
|
return console.warn(
|
|
4014
4012
|
`[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.`
|
|
4015
4013
|
), f;
|
|
4016
|
-
if (!
|
|
4014
|
+
if (!l)
|
|
4017
4015
|
return f;
|
|
4018
4016
|
let b = f;
|
|
4019
4017
|
try {
|
|
4020
|
-
b = ma(f, c).format(
|
|
4018
|
+
b = ma(f, c).format(l);
|
|
4021
4019
|
} catch (y) {
|
|
4022
4020
|
y instanceof Error && console.warn(
|
|
4023
4021
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4025,20 +4023,20 @@ const bt = (e, t) => {
|
|
|
4025
4023
|
);
|
|
4026
4024
|
}
|
|
4027
4025
|
return b;
|
|
4028
|
-
}, pa = (e, t) => ha(t).format(e), ga = (e, t) => fa(t).format(e), ba = (e, t) => ca(t).format(e), Ea = (e, t = Ie()) =>
|
|
4026
|
+
}, pa = (e, t) => ha(t).format(e), ga = (e, t) => fa(t).format(e), ba = (e, t) => ca(t).format(e), Ea = (e, t = Ie()) => Oi(e, t), _a = et([Be, _t], () => da);
|
|
4029
4027
|
et([Be], () => pa);
|
|
4030
4028
|
et([Be], () => ga);
|
|
4031
4029
|
et([Be], () => ba);
|
|
4032
4030
|
et([Be, _t], () => Ea);
|
|
4033
|
-
function
|
|
4034
|
-
|
|
4031
|
+
function Lr(e, t) {
|
|
4032
|
+
Ci(e, t);
|
|
4035
4033
|
}
|
|
4036
4034
|
function ya(e) {
|
|
4037
4035
|
Jo({
|
|
4038
4036
|
fallbackLocale: "en"
|
|
4039
4037
|
}), Be.set(e);
|
|
4040
4038
|
}
|
|
4041
|
-
const
|
|
4039
|
+
const Hr = {
|
|
4042
4040
|
en: {
|
|
4043
4041
|
sessionExpirationHeader: "Session Warning",
|
|
4044
4042
|
sessionExpirationTitle: "Your session is about to expire!",
|
|
@@ -4063,8 +4061,8 @@ const Lr = {
|
|
|
4063
4061
|
};
|
|
4064
4062
|
/*! @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 */
|
|
4065
4063
|
const {
|
|
4066
|
-
entries:
|
|
4067
|
-
setPrototypeOf:
|
|
4064
|
+
entries: Ii,
|
|
4065
|
+
setPrototypeOf: Rr,
|
|
4068
4066
|
isFrozen: Ta,
|
|
4069
4067
|
getPrototypeOf: xa,
|
|
4070
4068
|
getOwnPropertyDescriptor: va
|
|
@@ -4072,7 +4070,7 @@ const {
|
|
|
4072
4070
|
let {
|
|
4073
4071
|
freeze: fe,
|
|
4074
4072
|
seal: _e,
|
|
4075
|
-
create:
|
|
4073
|
+
create: Pi
|
|
4076
4074
|
} = Object, {
|
|
4077
4075
|
apply: Nn,
|
|
4078
4076
|
construct: Ln
|
|
@@ -4089,7 +4087,7 @@ Nn || (Nn = function(t, n, r) {
|
|
|
4089
4087
|
Ln || (Ln = function(t, n) {
|
|
4090
4088
|
return new t(...n);
|
|
4091
4089
|
});
|
|
4092
|
-
const Ct = pe(Array.prototype.forEach),
|
|
4090
|
+
const Ct = pe(Array.prototype.forEach), Ir = pe(Array.prototype.pop), at = pe(Array.prototype.push), kt = pe(String.prototype.toLowerCase), pn = pe(String.prototype.toString), Pr = pe(String.prototype.match), lt = pe(String.prototype.replace), Aa = pe(String.prototype.indexOf), Sa = pe(String.prototype.trim), xe = pe(Object.prototype.hasOwnProperty), le = pe(RegExp.prototype.test), ut = wa(TypeError);
|
|
4093
4091
|
function pe(e) {
|
|
4094
4092
|
return function(t) {
|
|
4095
4093
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
@@ -4106,7 +4104,7 @@ function wa(e) {
|
|
|
4106
4104
|
}
|
|
4107
4105
|
function I(e, t) {
|
|
4108
4106
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : kt;
|
|
4109
|
-
|
|
4107
|
+
Rr && Rr(e, null);
|
|
4110
4108
|
let r = t.length;
|
|
4111
4109
|
for (; r--; ) {
|
|
4112
4110
|
let i = t[r];
|
|
@@ -4124,8 +4122,8 @@ function Oa(e) {
|
|
|
4124
4122
|
return e;
|
|
4125
4123
|
}
|
|
4126
4124
|
function De(e) {
|
|
4127
|
-
const t =
|
|
4128
|
-
for (const [n, r] of
|
|
4125
|
+
const t = Pi(null);
|
|
4126
|
+
for (const [n, r] of Ii(e))
|
|
4129
4127
|
xe(e, n) && (Array.isArray(r) ? t[n] = Oa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = De(r) : t[n] = r);
|
|
4130
4128
|
return t;
|
|
4131
4129
|
}
|
|
@@ -4145,24 +4143,24 @@ function ct(e, t) {
|
|
|
4145
4143
|
}
|
|
4146
4144
|
return n;
|
|
4147
4145
|
}
|
|
4148
|
-
const
|
|
4146
|
+
const Dr = 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"]), gn = 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"]), bn = 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"]), Ma = 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"]), En = 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"]), Ca = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Br = fe(["#text"]), Ur = 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"]), _n = 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"]), kr = 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"]), Nt = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Na = _e(/\{\{[\w\W]*|[\w\W]*\}\}/gm), La = _e(/<%[\w\W]*|[\w\W]*%>/gm), Ha = _e(/\${[\w\W]*}/gm), Ra = _e(/^data-[\-\w.\u00B7-\uFFFF]/), Ia = _e(/^aria-[\-\w]+$/), Di = _e(
|
|
4149
4147
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4150
4148
|
// eslint-disable-line no-useless-escape
|
|
4151
4149
|
), Pa = _e(/^(?:\w+script|data):/i), Da = _e(
|
|
4152
4150
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
4153
4151
|
// eslint-disable-line no-control-regex
|
|
4154
|
-
),
|
|
4155
|
-
var
|
|
4152
|
+
), Bi = _e(/^html$/i), Ba = _e(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
4153
|
+
var Fr = /* @__PURE__ */ Object.freeze({
|
|
4156
4154
|
__proto__: null,
|
|
4157
4155
|
MUSTACHE_EXPR: Na,
|
|
4158
4156
|
ERB_EXPR: La,
|
|
4159
4157
|
TMPLIT_EXPR: Ha,
|
|
4160
4158
|
DATA_ATTR: Ra,
|
|
4161
4159
|
ARIA_ATTR: Ia,
|
|
4162
|
-
IS_ALLOWED_URI:
|
|
4160
|
+
IS_ALLOWED_URI: Di,
|
|
4163
4161
|
IS_SCRIPT_OR_DATA: Pa,
|
|
4164
4162
|
ATTR_WHITESPACE: Da,
|
|
4165
|
-
DOCTYPE_NAME:
|
|
4163
|
+
DOCTYPE_NAME: Bi,
|
|
4166
4164
|
CUSTOM_ELEMENT: Ba
|
|
4167
4165
|
});
|
|
4168
4166
|
const ft = {
|
|
@@ -4203,9 +4201,9 @@ const ft = {
|
|
|
4203
4201
|
return console.warn("TrustedTypes policy " + s + " could not be created."), null;
|
|
4204
4202
|
}
|
|
4205
4203
|
};
|
|
4206
|
-
function
|
|
4204
|
+
function Ui() {
|
|
4207
4205
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ua();
|
|
4208
|
-
const t = (w) =>
|
|
4206
|
+
const t = (w) => Ui(w);
|
|
4209
4207
|
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ft.document)
|
|
4210
4208
|
return t.isSupported = !1, t;
|
|
4211
4209
|
let {
|
|
@@ -4214,14 +4212,14 @@ function Bi() {
|
|
|
4214
4212
|
const r = n, i = r.currentScript, {
|
|
4215
4213
|
DocumentFragment: s,
|
|
4216
4214
|
HTMLTemplateElement: a,
|
|
4217
|
-
Node:
|
|
4215
|
+
Node: l,
|
|
4218
4216
|
Element: c,
|
|
4219
|
-
NodeFilter:
|
|
4217
|
+
NodeFilter: u,
|
|
4220
4218
|
NamedNodeMap: f = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
4221
4219
|
HTMLFormElement: b,
|
|
4222
4220
|
DOMParser: y,
|
|
4223
|
-
trustedTypes:
|
|
4224
|
-
} = e, E = c.prototype, d = ct(E, "cloneNode"),
|
|
4221
|
+
trustedTypes: M
|
|
4222
|
+
} = e, E = c.prototype, d = ct(E, "cloneNode"), C = ct(E, "remove"), $ = ct(E, "nextSibling"), U = ct(E, "childNodes"), S = ct(E, "parentNode");
|
|
4225
4223
|
if (typeof a == "function") {
|
|
4226
4224
|
const w = n.createElement("template");
|
|
4227
4225
|
w.content && w.content.ownerDocument && (n = w.content.ownerDocument);
|
|
@@ -4229,31 +4227,31 @@ function Bi() {
|
|
|
4229
4227
|
let H, P = "";
|
|
4230
4228
|
const {
|
|
4231
4229
|
implementation: G,
|
|
4232
|
-
createNodeIterator:
|
|
4233
|
-
createDocumentFragment:
|
|
4230
|
+
createNodeIterator: Z,
|
|
4231
|
+
createDocumentFragment: X,
|
|
4234
4232
|
getElementsByTagName: Q
|
|
4235
4233
|
} = n, {
|
|
4236
4234
|
importNode: z
|
|
4237
4235
|
} = r;
|
|
4238
|
-
let
|
|
4239
|
-
t.isSupported = typeof
|
|
4236
|
+
let O = {};
|
|
4237
|
+
t.isSupported = typeof Ii == "function" && typeof S == "function" && G && G.createHTMLDocument !== void 0;
|
|
4240
4238
|
const {
|
|
4241
4239
|
MUSTACHE_EXPR: ne,
|
|
4242
4240
|
ERB_EXPR: he,
|
|
4243
|
-
TMPLIT_EXPR:
|
|
4241
|
+
TMPLIT_EXPR: v,
|
|
4244
4242
|
DATA_ATTR: _,
|
|
4245
4243
|
ARIA_ATTR: g,
|
|
4246
4244
|
IS_SCRIPT_OR_DATA: x,
|
|
4247
4245
|
ATTR_WHITESPACE: h,
|
|
4248
4246
|
CUSTOM_ELEMENT: T
|
|
4249
|
-
} =
|
|
4247
|
+
} = Fr;
|
|
4250
4248
|
let {
|
|
4251
4249
|
IS_ALLOWED_URI: N
|
|
4252
|
-
} =
|
|
4253
|
-
const W = I({}, [...
|
|
4250
|
+
} = Fr, L = null;
|
|
4251
|
+
const W = I({}, [...Dr, ...gn, ...bn, ...En, ...Br]);
|
|
4254
4252
|
let R = null;
|
|
4255
|
-
const
|
|
4256
|
-
let m = Object.seal(
|
|
4253
|
+
const q = I({}, [...Ur, ..._n, ...kr, ...Nt]);
|
|
4254
|
+
let m = Object.seal(Pi(null, {
|
|
4257
4255
|
tagNameCheck: {
|
|
4258
4256
|
writable: !0,
|
|
4259
4257
|
configurable: !1,
|
|
@@ -4272,65 +4270,65 @@ function Bi() {
|
|
|
4272
4270
|
enumerable: !0,
|
|
4273
4271
|
value: !1
|
|
4274
4272
|
}
|
|
4275
|
-
})), k = null, ee = null, K = !0, ye = !0, ie = !1, Te = !0, be = !1, Ne = !0, Pe = !1, Qt = !1, Kt = !1, Ue = !1, Tt = !1, xt = !1,
|
|
4276
|
-
const
|
|
4273
|
+
})), k = null, ee = null, K = !0, ye = !0, ie = !1, Te = !0, be = !1, Ne = !0, Pe = !1, Qt = !1, Kt = !1, Ue = !1, Tt = !1, xt = !1, kn = !0, Fn = !1;
|
|
4274
|
+
const Gi = "user-content-";
|
|
4277
4275
|
let en = !0, nt = !1, ke = {}, Fe = null;
|
|
4278
|
-
const
|
|
4279
|
-
let
|
|
4280
|
-
const
|
|
4276
|
+
const Gn = I({}, ["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"]);
|
|
4277
|
+
let $n = null;
|
|
4278
|
+
const jn = I({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4281
4279
|
let tn = null;
|
|
4282
|
-
const
|
|
4280
|
+
const zn = I({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), vt = "http://www.w3.org/1998/Math/MathML", At = "http://www.w3.org/2000/svg", Oe = "http://www.w3.org/1999/xhtml";
|
|
4283
4281
|
let Ge = Oe, nn = !1, rn = null;
|
|
4284
|
-
const
|
|
4282
|
+
const $i = I({}, [vt, At, Oe], pn);
|
|
4285
4283
|
let rt = null;
|
|
4286
|
-
const
|
|
4284
|
+
const ji = ["application/xhtml+xml", "text/html"], zi = "text/html";
|
|
4287
4285
|
let re = null, $e = null;
|
|
4288
|
-
const
|
|
4286
|
+
const Wi = n.createElement("form"), Wn = function(o) {
|
|
4289
4287
|
return o instanceof RegExp || o instanceof Function;
|
|
4290
4288
|
}, sn = function() {
|
|
4291
4289
|
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4292
4290
|
if (!($e && $e === o)) {
|
|
4293
4291
|
if ((!o || typeof o != "object") && (o = {}), o = De(o), rt = // eslint-disable-next-line unicorn/prefer-includes
|
|
4294
|
-
|
|
4295
|
-
De(
|
|
4292
|
+
ji.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? zi : o.PARSER_MEDIA_TYPE, re = rt === "application/xhtml+xml" ? pn : kt, L = xe(o, "ALLOWED_TAGS") ? I({}, o.ALLOWED_TAGS, re) : W, R = xe(o, "ALLOWED_ATTR") ? I({}, o.ALLOWED_ATTR, re) : q, rn = xe(o, "ALLOWED_NAMESPACES") ? I({}, o.ALLOWED_NAMESPACES, pn) : $i, tn = xe(o, "ADD_URI_SAFE_ATTR") ? I(
|
|
4293
|
+
De(zn),
|
|
4296
4294
|
// eslint-disable-line indent
|
|
4297
4295
|
o.ADD_URI_SAFE_ATTR,
|
|
4298
4296
|
// eslint-disable-line indent
|
|
4299
4297
|
re
|
|
4300
4298
|
// eslint-disable-line indent
|
|
4301
|
-
) :
|
|
4302
|
-
De(
|
|
4299
|
+
) : zn, $n = xe(o, "ADD_DATA_URI_TAGS") ? I(
|
|
4300
|
+
De(jn),
|
|
4303
4301
|
// eslint-disable-line indent
|
|
4304
4302
|
o.ADD_DATA_URI_TAGS,
|
|
4305
4303
|
// eslint-disable-line indent
|
|
4306
4304
|
re
|
|
4307
4305
|
// eslint-disable-line indent
|
|
4308
|
-
) :
|
|
4306
|
+
) : jn, Fe = xe(o, "FORBID_CONTENTS") ? I({}, o.FORBID_CONTENTS, re) : Gn, k = xe(o, "FORBID_TAGS") ? I({}, o.FORBID_TAGS, re) : {}, ee = xe(o, "FORBID_ATTR") ? I({}, o.FORBID_ATTR, re) : {}, ke = xe(o, "USE_PROFILES") ? o.USE_PROFILES : !1, K = o.ALLOW_ARIA_ATTR !== !1, ye = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, Te = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = o.SAFE_FOR_TEMPLATES || !1, Ne = o.SAFE_FOR_XML !== !1, Pe = o.WHOLE_DOCUMENT || !1, Ue = o.RETURN_DOM || !1, Tt = o.RETURN_DOM_FRAGMENT || !1, xt = o.RETURN_TRUSTED_TYPE || !1, Kt = o.FORCE_BODY || !1, kn = o.SANITIZE_DOM !== !1, Fn = o.SANITIZE_NAMED_PROPS || !1, en = o.KEEP_CONTENT !== !1, nt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || Di, Ge = o.NAMESPACE || Oe, m = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && Wn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && Wn(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 && (ye = !1), Tt && (Ue = !0), ke && (L = I({}, Br), R = [], ke.html === !0 && (I(L, Dr), I(R, Ur)), ke.svg === !0 && (I(L, gn), I(R, _n), I(R, Nt)), ke.svgFilters === !0 && (I(L, bn), I(R, _n), I(R, Nt)), ke.mathMl === !0 && (I(L, En), I(R, kr), I(R, Nt))), o.ADD_TAGS && (L === W && (L = De(L)), I(L, o.ADD_TAGS, re)), o.ADD_ATTR && (R === q && (R = De(R)), I(R, o.ADD_ATTR, re)), o.ADD_URI_SAFE_ATTR && I(tn, o.ADD_URI_SAFE_ATTR, re), o.FORBID_CONTENTS && (Fe === Gn && (Fe = De(Fe)), I(Fe, o.FORBID_CONTENTS, re)), en && (L["#text"] = !0), Pe && I(L, ["html", "head", "body"]), L.table && (I(L, ["tbody"]), delete k.tbody), o.TRUSTED_TYPES_POLICY) {
|
|
4309
4307
|
if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4310
|
-
throw
|
|
4308
|
+
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4311
4309
|
if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4312
|
-
throw
|
|
4310
|
+
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4313
4311
|
H = o.TRUSTED_TYPES_POLICY, P = H.createHTML("");
|
|
4314
4312
|
} else
|
|
4315
|
-
H === void 0 && (H = ka(
|
|
4313
|
+
H === void 0 && (H = ka(M, i)), H !== null && typeof P == "string" && (P = H.createHTML(""));
|
|
4316
4314
|
fe && fe(o), $e = o;
|
|
4317
4315
|
}
|
|
4318
|
-
},
|
|
4319
|
-
let p =
|
|
4316
|
+
}, Vn = I({}, ["mi", "mo", "mn", "ms", "mtext"]), Xn = I({}, ["foreignobject", "annotation-xml"]), Vi = I({}, ["title", "style", "font", "a", "script"]), Yn = I({}, [...gn, ...bn, ...Ma]), Zn = I({}, [...En, ...Ca]), Xi = function(o) {
|
|
4317
|
+
let p = S(o);
|
|
4320
4318
|
(!p || !p.tagName) && (p = {
|
|
4321
4319
|
namespaceURI: Ge,
|
|
4322
4320
|
tagName: "template"
|
|
4323
4321
|
});
|
|
4324
|
-
const
|
|
4325
|
-
return rn[o.namespaceURI] ? o.namespaceURI === At ? p.namespaceURI === Oe ?
|
|
4322
|
+
const A = kt(o.tagName), V = kt(p.tagName);
|
|
4323
|
+
return rn[o.namespaceURI] ? o.namespaceURI === At ? p.namespaceURI === Oe ? A === "svg" : p.namespaceURI === vt ? A === "svg" && (V === "annotation-xml" || Vn[V]) : !!Yn[A] : o.namespaceURI === vt ? p.namespaceURI === Oe ? A === "math" : p.namespaceURI === At ? A === "math" && Xn[V] : !!Zn[A] : o.namespaceURI === Oe ? p.namespaceURI === At && !Xn[V] || p.namespaceURI === vt && !Vn[V] ? !1 : !Zn[A] && (Vi[A] || !Yn[A]) : !!(rt === "application/xhtml+xml" && rn[o.namespaceURI]) : !1;
|
|
4326
4324
|
}, ve = function(o) {
|
|
4327
4325
|
at(t.removed, {
|
|
4328
4326
|
element: o
|
|
4329
4327
|
});
|
|
4330
4328
|
try {
|
|
4331
|
-
|
|
4329
|
+
S(o).removeChild(o);
|
|
4332
4330
|
} catch (p) {
|
|
4333
|
-
|
|
4331
|
+
C(o);
|
|
4334
4332
|
}
|
|
4335
4333
|
}, St = function(o, p) {
|
|
4336
4334
|
try {
|
|
@@ -4338,7 +4336,7 @@ function Bi() {
|
|
|
4338
4336
|
attribute: p.getAttributeNode(o),
|
|
4339
4337
|
from: p
|
|
4340
4338
|
});
|
|
4341
|
-
} catch (
|
|
4339
|
+
} catch (A) {
|
|
4342
4340
|
at(t.removed, {
|
|
4343
4341
|
attribute: null,
|
|
4344
4342
|
from: p
|
|
@@ -4348,20 +4346,20 @@ function Bi() {
|
|
|
4348
4346
|
if (Ue || Tt)
|
|
4349
4347
|
try {
|
|
4350
4348
|
ve(p);
|
|
4351
|
-
} catch (
|
|
4349
|
+
} catch (A) {
|
|
4352
4350
|
}
|
|
4353
4351
|
else
|
|
4354
4352
|
try {
|
|
4355
4353
|
p.setAttribute(o, "");
|
|
4356
|
-
} catch (
|
|
4354
|
+
} catch (A) {
|
|
4357
4355
|
}
|
|
4358
|
-
},
|
|
4359
|
-
let p = null,
|
|
4356
|
+
}, qn = function(o) {
|
|
4357
|
+
let p = null, A = null;
|
|
4360
4358
|
if (Kt)
|
|
4361
4359
|
o = "<remove></remove>" + o;
|
|
4362
4360
|
else {
|
|
4363
|
-
const se =
|
|
4364
|
-
|
|
4361
|
+
const se = Pr(o, /^[\r\n\t ]+/);
|
|
4362
|
+
A = se && se[0];
|
|
4365
4363
|
}
|
|
4366
4364
|
rt === "application/xhtml+xml" && Ge === Oe && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
|
|
4367
4365
|
const V = H ? H.createHTML(o) : o;
|
|
@@ -4378,38 +4376,38 @@ function Bi() {
|
|
|
4378
4376
|
}
|
|
4379
4377
|
}
|
|
4380
4378
|
const oe = p.body || p.documentElement;
|
|
4381
|
-
return o &&
|
|
4382
|
-
},
|
|
4383
|
-
return
|
|
4379
|
+
return o && A && oe.insertBefore(n.createTextNode(A), oe.childNodes[0] || null), Ge === Oe ? Q.call(p, Pe ? "html" : "body")[0] : Pe ? p.documentElement : oe;
|
|
4380
|
+
}, Jn = function(o) {
|
|
4381
|
+
return Z.call(
|
|
4384
4382
|
o.ownerDocument || o,
|
|
4385
4383
|
o,
|
|
4386
4384
|
// eslint-disable-next-line no-bitwise
|
|
4387
|
-
|
|
4385
|
+
u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
|
|
4388
4386
|
null
|
|
4389
4387
|
);
|
|
4390
|
-
}, Jn = function(o) {
|
|
4391
|
-
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");
|
|
4392
4388
|
}, Qn = function(o) {
|
|
4393
|
-
return typeof
|
|
4394
|
-
}, Me = function(o, p, v) {
|
|
4395
|
-
C[o] && Ct(C[o], (V) => {
|
|
4396
|
-
V.call(t, p, v, $e);
|
|
4397
|
-
});
|
|
4389
|
+
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");
|
|
4398
4390
|
}, Kn = function(o) {
|
|
4391
|
+
return typeof l == "function" && o instanceof l;
|
|
4392
|
+
}, Me = function(o, p, A) {
|
|
4393
|
+
O[o] && Ct(O[o], (V) => {
|
|
4394
|
+
V.call(t, p, A, $e);
|
|
4395
|
+
});
|
|
4396
|
+
}, er = function(o) {
|
|
4399
4397
|
let p = null;
|
|
4400
|
-
if (Me("beforeSanitizeElements", o, null),
|
|
4398
|
+
if (Me("beforeSanitizeElements", o, null), Qn(o))
|
|
4401
4399
|
return ve(o), !0;
|
|
4402
|
-
const
|
|
4400
|
+
const A = re(o.nodeName);
|
|
4403
4401
|
if (Me("uponSanitizeElement", o, {
|
|
4404
|
-
tagName:
|
|
4402
|
+
tagName: A,
|
|
4405
4403
|
allowedTags: L
|
|
4406
|
-
}), o.hasChildNodes() && !
|
|
4404
|
+
}), o.hasChildNodes() && !Kn(o.firstElementChild) && le(/<[/\w]/g, o.innerHTML) && le(/<[/\w]/g, o.textContent) || o.nodeType === ft.progressingInstruction || Ne && o.nodeType === ft.comment && le(/<[/\w]/g, o.data))
|
|
4407
4405
|
return ve(o), !0;
|
|
4408
|
-
if (!L[
|
|
4409
|
-
if (!k[
|
|
4406
|
+
if (!L[A] || k[A]) {
|
|
4407
|
+
if (!k[A] && nr(A) && (m.tagNameCheck instanceof RegExp && le(m.tagNameCheck, A) || m.tagNameCheck instanceof Function && m.tagNameCheck(A)))
|
|
4410
4408
|
return !1;
|
|
4411
|
-
if (en && !Fe[
|
|
4412
|
-
const V =
|
|
4409
|
+
if (en && !Fe[A]) {
|
|
4410
|
+
const V = S(o) || o.parentNode, oe = U(o) || o.childNodes;
|
|
4413
4411
|
if (oe && V) {
|
|
4414
4412
|
const se = oe.length;
|
|
4415
4413
|
for (let me = se - 1; me >= 0; --me) {
|
|
@@ -4420,31 +4418,31 @@ function Bi() {
|
|
|
4420
4418
|
}
|
|
4421
4419
|
return ve(o), !0;
|
|
4422
4420
|
}
|
|
4423
|
-
return o instanceof c && !
|
|
4424
|
-
p =
|
|
4421
|
+
return o instanceof c && !Xi(o) || (A === "noscript" || A === "noembed" || A === "noframes") && le(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ve(o), !0) : (be && o.nodeType === ft.text && (p = o.textContent, Ct([ne, he, v], (V) => {
|
|
4422
|
+
p = lt(p, V, " ");
|
|
4425
4423
|
}), o.textContent !== p && (at(t.removed, {
|
|
4426
4424
|
element: o.cloneNode()
|
|
4427
4425
|
}), o.textContent = p)), Me("afterSanitizeElements", o, null), !1);
|
|
4428
|
-
},
|
|
4429
|
-
if (
|
|
4426
|
+
}, tr = function(o, p, A) {
|
|
4427
|
+
if (kn && (p === "id" || p === "name") && (A in n || A in Wi))
|
|
4430
4428
|
return !1;
|
|
4431
|
-
if (!(ye && !ee[p] &&
|
|
4432
|
-
if (!(K &&
|
|
4429
|
+
if (!(ye && !ee[p] && le(_, p))) {
|
|
4430
|
+
if (!(K && le(g, p))) {
|
|
4433
4431
|
if (!R[p] || ee[p]) {
|
|
4434
4432
|
if (
|
|
4435
4433
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4436
4434
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4437
4435
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4438
|
-
!(
|
|
4436
|
+
!(nr(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
|
|
4439
4437
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4440
|
-
p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp &&
|
|
4438
|
+
p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && le(m.tagNameCheck, A) || m.tagNameCheck instanceof Function && m.tagNameCheck(A)))
|
|
4441
4439
|
)
|
|
4442
4440
|
return !1;
|
|
4443
4441
|
} else if (!tn[p]) {
|
|
4444
|
-
if (!
|
|
4445
|
-
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && Aa(
|
|
4446
|
-
if (!(ie && !
|
|
4447
|
-
if (
|
|
4442
|
+
if (!le(N, lt(A, h, ""))) {
|
|
4443
|
+
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && Aa(A, "data:") === 0 && $n[o])) {
|
|
4444
|
+
if (!(ie && !le(x, lt(A, h, "")))) {
|
|
4445
|
+
if (A)
|
|
4448
4446
|
return !1;
|
|
4449
4447
|
}
|
|
4450
4448
|
}
|
|
@@ -4453,16 +4451,16 @@ function Bi() {
|
|
|
4453
4451
|
}
|
|
4454
4452
|
}
|
|
4455
4453
|
return !0;
|
|
4456
|
-
}, tr = function(o) {
|
|
4457
|
-
return o !== "annotation-xml" && Ir(o, T);
|
|
4458
4454
|
}, nr = function(o) {
|
|
4455
|
+
return o !== "annotation-xml" && Pr(o, T);
|
|
4456
|
+
}, rr = function(o) {
|
|
4459
4457
|
Me("beforeSanitizeAttributes", o, null);
|
|
4460
4458
|
const {
|
|
4461
4459
|
attributes: p
|
|
4462
4460
|
} = o;
|
|
4463
4461
|
if (!p)
|
|
4464
4462
|
return;
|
|
4465
|
-
const
|
|
4463
|
+
const A = {
|
|
4466
4464
|
attrName: "",
|
|
4467
4465
|
attrValue: "",
|
|
4468
4466
|
keepAttr: !0,
|
|
@@ -4476,23 +4474,23 @@ function Bi() {
|
|
|
4476
4474
|
value: Ae
|
|
4477
4475
|
} = oe, it = re(se);
|
|
4478
4476
|
let ae = se === "value" ? Ae : Sa(Ae);
|
|
4479
|
-
if (
|
|
4477
|
+
if (A.attrName = it, A.attrValue = ae, A.keepAttr = !0, A.forceKeepAttr = void 0, Me("uponSanitizeAttribute", o, A), ae = A.attrValue, Ne && le(/((--!?|])>)|<\/(style|title)/i, ae)) {
|
|
4480
4478
|
St(se, o);
|
|
4481
4479
|
continue;
|
|
4482
4480
|
}
|
|
4483
|
-
if (
|
|
4481
|
+
if (A.forceKeepAttr || (St(se, o), !A.keepAttr))
|
|
4484
4482
|
continue;
|
|
4485
|
-
if (!Te &&
|
|
4483
|
+
if (!Te && le(/\/>/i, ae)) {
|
|
4486
4484
|
St(se, o);
|
|
4487
4485
|
continue;
|
|
4488
4486
|
}
|
|
4489
|
-
be && Ct([ne, he,
|
|
4490
|
-
ae =
|
|
4487
|
+
be && Ct([ne, he, v], (sr) => {
|
|
4488
|
+
ae = lt(ae, sr, " ");
|
|
4491
4489
|
});
|
|
4492
|
-
const
|
|
4493
|
-
if (
|
|
4494
|
-
if (
|
|
4495
|
-
switch (
|
|
4490
|
+
const ir = re(o.nodeName);
|
|
4491
|
+
if (tr(ir, it, ae)) {
|
|
4492
|
+
if (Fn && (it === "id" || it === "name") && (St(se, o), ae = Gi + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
|
|
4493
|
+
switch (M.getAttributeType(ir, it)) {
|
|
4496
4494
|
case "TrustedHTML": {
|
|
4497
4495
|
ae = H.createHTML(ae);
|
|
4498
4496
|
break;
|
|
@@ -4503,62 +4501,62 @@ function Bi() {
|
|
|
4503
4501
|
}
|
|
4504
4502
|
}
|
|
4505
4503
|
try {
|
|
4506
|
-
me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae),
|
|
4507
|
-
} catch (
|
|
4504
|
+
me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae), Qn(o) ? ve(o) : Ir(t.removed);
|
|
4505
|
+
} catch (sr) {
|
|
4508
4506
|
}
|
|
4509
4507
|
}
|
|
4510
4508
|
}
|
|
4511
4509
|
Me("afterSanitizeAttributes", o, null);
|
|
4512
|
-
},
|
|
4510
|
+
}, Yi = function w(o) {
|
|
4513
4511
|
let p = null;
|
|
4514
|
-
const
|
|
4515
|
-
for (Me("beforeSanitizeShadowDOM", o, null); p =
|
|
4516
|
-
Me("uponSanitizeShadowNode", p, null), !
|
|
4512
|
+
const A = Jn(o);
|
|
4513
|
+
for (Me("beforeSanitizeShadowDOM", o, null); p = A.nextNode(); )
|
|
4514
|
+
Me("uponSanitizeShadowNode", p, null), !er(p) && (p.content instanceof s && w(p.content), rr(p));
|
|
4517
4515
|
Me("afterSanitizeShadowDOM", o, null);
|
|
4518
4516
|
};
|
|
4519
4517
|
return t.sanitize = function(w) {
|
|
4520
|
-
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null,
|
|
4521
|
-
if (nn = !w, nn && (w = "<!-->"), typeof w != "string" && !
|
|
4518
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, A = null, V = null, oe = null;
|
|
4519
|
+
if (nn = !w, nn && (w = "<!-->"), typeof w != "string" && !Kn(w))
|
|
4522
4520
|
if (typeof w.toString == "function") {
|
|
4523
4521
|
if (w = w.toString(), typeof w != "string")
|
|
4524
|
-
throw
|
|
4522
|
+
throw ut("dirty is not a string, aborting");
|
|
4525
4523
|
} else
|
|
4526
|
-
throw
|
|
4524
|
+
throw ut("toString is not a function");
|
|
4527
4525
|
if (!t.isSupported)
|
|
4528
4526
|
return w;
|
|
4529
4527
|
if (Qt || sn(o), t.removed = [], typeof w == "string" && (nt = !1), nt) {
|
|
4530
4528
|
if (w.nodeName) {
|
|
4531
4529
|
const Ae = re(w.nodeName);
|
|
4532
4530
|
if (!L[Ae] || k[Ae])
|
|
4533
|
-
throw
|
|
4531
|
+
throw ut("root node is forbidden and cannot be sanitized in-place");
|
|
4534
4532
|
}
|
|
4535
|
-
} else if (w instanceof
|
|
4536
|
-
p =
|
|
4533
|
+
} else if (w instanceof l)
|
|
4534
|
+
p = qn("<!---->"), A = p.ownerDocument.importNode(w, !0), A.nodeType === ft.element && A.nodeName === "BODY" || A.nodeName === "HTML" ? p = A : p.appendChild(A);
|
|
4537
4535
|
else {
|
|
4538
4536
|
if (!Ue && !be && !Pe && // eslint-disable-next-line unicorn/prefer-includes
|
|
4539
4537
|
w.indexOf("<") === -1)
|
|
4540
4538
|
return H && xt ? H.createHTML(w) : w;
|
|
4541
|
-
if (p =
|
|
4539
|
+
if (p = qn(w), !p)
|
|
4542
4540
|
return Ue ? null : xt ? P : "";
|
|
4543
4541
|
}
|
|
4544
4542
|
p && Kt && ve(p.firstChild);
|
|
4545
|
-
const se =
|
|
4543
|
+
const se = Jn(nt ? w : p);
|
|
4546
4544
|
for (; V = se.nextNode(); )
|
|
4547
|
-
|
|
4545
|
+
er(V) || (V.content instanceof s && Yi(V.content), rr(V));
|
|
4548
4546
|
if (nt)
|
|
4549
4547
|
return w;
|
|
4550
4548
|
if (Ue) {
|
|
4551
4549
|
if (Tt)
|
|
4552
|
-
for (oe =
|
|
4550
|
+
for (oe = X.call(p.ownerDocument); p.firstChild; )
|
|
4553
4551
|
oe.appendChild(p.firstChild);
|
|
4554
4552
|
else
|
|
4555
4553
|
oe = p;
|
|
4556
4554
|
return (R.shadowroot || R.shadowrootmode) && (oe = z.call(r, oe, !0)), oe;
|
|
4557
4555
|
}
|
|
4558
4556
|
let me = Pe ? p.outerHTML : p.innerHTML;
|
|
4559
|
-
return Pe && L["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name &&
|
|
4560
|
-
` + me), be && Ct([ne, he,
|
|
4561
|
-
me =
|
|
4557
|
+
return Pe && L["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && le(Bi, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
|
|
4558
|
+
` + me), be && Ct([ne, he, v], (Ae) => {
|
|
4559
|
+
me = lt(me, Ae, " ");
|
|
4562
4560
|
}), H && xt ? H.createHTML(me) : me;
|
|
4563
4561
|
}, t.setConfig = function() {
|
|
4564
4562
|
let w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -4567,51 +4565,51 @@ function Bi() {
|
|
|
4567
4565
|
$e = null, Qt = !1;
|
|
4568
4566
|
}, t.isValidAttribute = function(w, o, p) {
|
|
4569
4567
|
$e || sn({});
|
|
4570
|
-
const
|
|
4571
|
-
return
|
|
4568
|
+
const A = re(w), V = re(o);
|
|
4569
|
+
return tr(A, V, p);
|
|
4572
4570
|
}, t.addHook = function(w, o) {
|
|
4573
|
-
typeof o == "function" && (
|
|
4571
|
+
typeof o == "function" && (O[w] = O[w] || [], at(O[w], o));
|
|
4574
4572
|
}, t.removeHook = function(w) {
|
|
4575
|
-
if (
|
|
4576
|
-
return
|
|
4573
|
+
if (O[w])
|
|
4574
|
+
return Ir(O[w]);
|
|
4577
4575
|
}, t.removeHooks = function(w) {
|
|
4578
|
-
|
|
4576
|
+
O[w] && (O[w] = []);
|
|
4579
4577
|
}, t.removeAllHooks = function() {
|
|
4580
|
-
|
|
4578
|
+
O = {};
|
|
4581
4579
|
}, t;
|
|
4582
4580
|
}
|
|
4583
|
-
var
|
|
4581
|
+
var Gr = Ui();
|
|
4584
4582
|
const Fa = "data:image/webp;base64,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";
|
|
4585
|
-
var
|
|
4583
|
+
var ki = { exports: {} };
|
|
4586
4584
|
(function(e, t) {
|
|
4587
4585
|
(function(n, r) {
|
|
4588
4586
|
e.exports = r();
|
|
4589
|
-
})(
|
|
4590
|
-
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second",
|
|
4591
|
-
var _ = ["th", "st", "nd", "rd"], g =
|
|
4592
|
-
return "[" +
|
|
4593
|
-
} },
|
|
4594
|
-
var x = String(
|
|
4595
|
-
return !x || x.length >= _ ?
|
|
4596
|
-
}, H = { s:
|
|
4597
|
-
var _ = -
|
|
4598
|
-
return (_ <= 0 ? "+" : "-") +
|
|
4599
|
-
}, m: function
|
|
4587
|
+
})(li, function() {
|
|
4588
|
+
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", l = "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) {
|
|
4589
|
+
var _ = ["th", "st", "nd", "rd"], g = v % 100;
|
|
4590
|
+
return "[" + v + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
|
|
4591
|
+
} }, S = function(v, _, g) {
|
|
4592
|
+
var x = String(v);
|
|
4593
|
+
return !x || x.length >= _ ? v : "" + Array(_ + 1 - x.length).join(g) + v;
|
|
4594
|
+
}, H = { s: S, z: function(v) {
|
|
4595
|
+
var _ = -v.utcOffset(), g = Math.abs(_), x = Math.floor(g / 60), h = g % 60;
|
|
4596
|
+
return (_ <= 0 ? "+" : "-") + S(x, 2, "0") + ":" + S(h, 2, "0");
|
|
4597
|
+
}, m: function v(_, g) {
|
|
4600
4598
|
if (_.date() < g.date())
|
|
4601
|
-
return -
|
|
4599
|
+
return -v(g, _);
|
|
4602
4600
|
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);
|
|
4603
4601
|
return +(-(x + (g - h) / (T ? h - N : N - h)) || 0);
|
|
4604
|
-
}, a: function(
|
|
4605
|
-
return
|
|
4606
|
-
}, p: function(
|
|
4607
|
-
return { M: b, y:
|
|
4608
|
-
}, u: function(
|
|
4609
|
-
return
|
|
4602
|
+
}, a: function(v) {
|
|
4603
|
+
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
|
4604
|
+
}, p: function(v) {
|
|
4605
|
+
return { M: b, y: M, w: f, d: u, D: E, h: c, m: l, s: a, ms: s, Q: y }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
|
4606
|
+
}, u: function(v) {
|
|
4607
|
+
return v === void 0;
|
|
4610
4608
|
} }, P = "en", G = {};
|
|
4611
4609
|
G[P] = U;
|
|
4612
|
-
var
|
|
4613
|
-
return
|
|
4614
|
-
}, Q = function
|
|
4610
|
+
var Z = "$isDayjsObject", X = function(v) {
|
|
4611
|
+
return v instanceof ne || !(!v || !v[Z]);
|
|
4612
|
+
}, Q = function v(_, g, x) {
|
|
4615
4613
|
var h;
|
|
4616
4614
|
if (!_)
|
|
4617
4615
|
return P;
|
|
@@ -4620,37 +4618,37 @@ var Ui = { exports: {} };
|
|
|
4620
4618
|
G[T] && (h = T), g && (G[T] = g, h = T);
|
|
4621
4619
|
var N = _.split("-");
|
|
4622
4620
|
if (!h && N.length > 1)
|
|
4623
|
-
return
|
|
4621
|
+
return v(N[0]);
|
|
4624
4622
|
} else {
|
|
4625
4623
|
var L = _.name;
|
|
4626
4624
|
G[L] = _, h = L;
|
|
4627
4625
|
}
|
|
4628
4626
|
return !x && h && (P = h), h || !x && P;
|
|
4629
|
-
}, z = function(
|
|
4630
|
-
if (
|
|
4631
|
-
return
|
|
4627
|
+
}, z = function(v, _) {
|
|
4628
|
+
if (X(v))
|
|
4629
|
+
return v.clone();
|
|
4632
4630
|
var g = typeof _ == "object" ? _ : {};
|
|
4633
|
-
return g.date =
|
|
4634
|
-
},
|
|
4635
|
-
|
|
4636
|
-
return z(
|
|
4631
|
+
return g.date = v, g.args = arguments, new ne(g);
|
|
4632
|
+
}, O = H;
|
|
4633
|
+
O.l = Q, O.i = X, O.w = function(v, _) {
|
|
4634
|
+
return z(v, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
|
|
4637
4635
|
};
|
|
4638
4636
|
var ne = function() {
|
|
4639
|
-
function
|
|
4640
|
-
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[
|
|
4637
|
+
function v(g) {
|
|
4638
|
+
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Z] = !0;
|
|
4641
4639
|
}
|
|
4642
|
-
var _ =
|
|
4640
|
+
var _ = v.prototype;
|
|
4643
4641
|
return _.parse = function(g) {
|
|
4644
4642
|
this.$d = function(x) {
|
|
4645
4643
|
var h = x.date, T = x.utc;
|
|
4646
4644
|
if (h === null)
|
|
4647
4645
|
return /* @__PURE__ */ new Date(NaN);
|
|
4648
|
-
if (
|
|
4646
|
+
if (O.u(h))
|
|
4649
4647
|
return /* @__PURE__ */ new Date();
|
|
4650
4648
|
if (h instanceof Date)
|
|
4651
4649
|
return new Date(h);
|
|
4652
4650
|
if (typeof h == "string" && !/Z$/i.test(h)) {
|
|
4653
|
-
var N = h.match(
|
|
4651
|
+
var N = h.match(C);
|
|
4654
4652
|
if (N) {
|
|
4655
4653
|
var L = N[2] - 1 || 0, W = (N[7] || "0").substring(0, 3);
|
|
4656
4654
|
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);
|
|
@@ -4662,7 +4660,7 @@ var Ui = { exports: {} };
|
|
|
4662
4660
|
var g = this.$d;
|
|
4663
4661
|
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();
|
|
4664
4662
|
}, _.$utils = function() {
|
|
4665
|
-
return
|
|
4663
|
+
return O;
|
|
4666
4664
|
}, _.isValid = function() {
|
|
4667
4665
|
return this.$d.toString() !== d;
|
|
4668
4666
|
}, _.isSame = function(g, x) {
|
|
@@ -4673,32 +4671,32 @@ var Ui = { exports: {} };
|
|
|
4673
4671
|
}, _.isBefore = function(g, x) {
|
|
4674
4672
|
return this.endOf(x) < z(g);
|
|
4675
4673
|
}, _.$g = function(g, x, h) {
|
|
4676
|
-
return
|
|
4674
|
+
return O.u(g) ? this[x] : this.set(h, g);
|
|
4677
4675
|
}, _.unix = function() {
|
|
4678
4676
|
return Math.floor(this.valueOf() / 1e3);
|
|
4679
4677
|
}, _.valueOf = function() {
|
|
4680
4678
|
return this.$d.getTime();
|
|
4681
4679
|
}, _.startOf = function(g, x) {
|
|
4682
|
-
var h = this, T = !!
|
|
4683
|
-
var Te =
|
|
4684
|
-
return T ? Te : Te.endOf(
|
|
4680
|
+
var h = this, T = !!O.u(x) || x, N = O.p(g), L = function(ye, ie) {
|
|
4681
|
+
var Te = O.w(h.$u ? Date.UTC(h.$y, ie, ye) : new Date(h.$y, ie, ye), h);
|
|
4682
|
+
return T ? Te : Te.endOf(u);
|
|
4685
4683
|
}, W = function(ye, ie) {
|
|
4686
|
-
return
|
|
4687
|
-
}, R = this.$W,
|
|
4684
|
+
return O.w(h.toDate()[ye].apply(h.toDate("s"), (T ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
|
|
4685
|
+
}, R = this.$W, q = this.$M, m = this.$D, k = "set" + (this.$u ? "UTC" : "");
|
|
4688
4686
|
switch (N) {
|
|
4689
|
-
case
|
|
4687
|
+
case M:
|
|
4690
4688
|
return T ? L(1, 0) : L(31, 11);
|
|
4691
4689
|
case b:
|
|
4692
|
-
return T ? L(1,
|
|
4690
|
+
return T ? L(1, q) : L(0, q + 1);
|
|
4693
4691
|
case f:
|
|
4694
4692
|
var ee = this.$locale().weekStart || 0, K = (R < ee ? R + 7 : R) - ee;
|
|
4695
|
-
return L(T ? m - K : m + (6 - K),
|
|
4696
|
-
case
|
|
4693
|
+
return L(T ? m - K : m + (6 - K), q);
|
|
4694
|
+
case u:
|
|
4697
4695
|
case E:
|
|
4698
4696
|
return W(k + "Hours", 0);
|
|
4699
4697
|
case c:
|
|
4700
4698
|
return W(k + "Minutes", 1);
|
|
4701
|
-
case
|
|
4699
|
+
case l:
|
|
4702
4700
|
return W(k + "Seconds", 2);
|
|
4703
4701
|
case a:
|
|
4704
4702
|
return W(k + "Milliseconds", 3);
|
|
@@ -4708,8 +4706,8 @@ var Ui = { exports: {} };
|
|
|
4708
4706
|
}, _.endOf = function(g) {
|
|
4709
4707
|
return this.startOf(g, !1);
|
|
4710
4708
|
}, _.$set = function(g, x) {
|
|
4711
|
-
var h, T =
|
|
4712
|
-
if (T === b || T ===
|
|
4709
|
+
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[l] = N + "Minutes", h[a] = N + "Seconds", h[s] = N + "Milliseconds", h)[T], W = T === u ? this.$D + (x - this.$W) : x;
|
|
4710
|
+
if (T === b || T === M) {
|
|
4713
4711
|
var R = this.clone().set(E, 1);
|
|
4714
4712
|
R.$d[L](W), R.init(), this.$d = R.set(E, Math.min(this.$D, R.daysInMonth())).$d;
|
|
4715
4713
|
} else
|
|
@@ -4718,34 +4716,34 @@ var Ui = { exports: {} };
|
|
|
4718
4716
|
}, _.set = function(g, x) {
|
|
4719
4717
|
return this.clone().$set(g, x);
|
|
4720
4718
|
}, _.get = function(g) {
|
|
4721
|
-
return this[
|
|
4719
|
+
return this[O.p(g)]();
|
|
4722
4720
|
}, _.add = function(g, x) {
|
|
4723
4721
|
var h, T = this;
|
|
4724
4722
|
g = Number(g);
|
|
4725
|
-
var N =
|
|
4723
|
+
var N = O.p(x), L = function(q) {
|
|
4726
4724
|
var m = z(T);
|
|
4727
|
-
return
|
|
4725
|
+
return O.w(m.date(m.date() + Math.round(q * g)), T);
|
|
4728
4726
|
};
|
|
4729
4727
|
if (N === b)
|
|
4730
4728
|
return this.set(b, this.$M + g);
|
|
4731
|
-
if (N ===
|
|
4732
|
-
return this.set(
|
|
4733
|
-
if (N ===
|
|
4729
|
+
if (N === M)
|
|
4730
|
+
return this.set(M, this.$y + g);
|
|
4731
|
+
if (N === u)
|
|
4734
4732
|
return L(1);
|
|
4735
4733
|
if (N === f)
|
|
4736
4734
|
return L(7);
|
|
4737
|
-
var W = (h = {}, h[
|
|
4738
|
-
return
|
|
4735
|
+
var W = (h = {}, h[l] = r, h[c] = i, h[a] = n, h)[N] || 1, R = this.$d.getTime() + g * W;
|
|
4736
|
+
return O.w(R, this);
|
|
4739
4737
|
}, _.subtract = function(g, x) {
|
|
4740
4738
|
return this.add(-1 * g, x);
|
|
4741
4739
|
}, _.format = function(g) {
|
|
4742
4740
|
var x = this, h = this.$locale();
|
|
4743
4741
|
if (!this.isValid())
|
|
4744
4742
|
return h.invalidDate || d;
|
|
4745
|
-
var T = g || "YYYY-MM-DDTHH:mm:ssZ", N =
|
|
4743
|
+
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, k = h.meridiem, ee = function(ie, Te, be, Ne) {
|
|
4746
4744
|
return ie && (ie[Te] || ie(x, T)) || be[Te].slice(0, Ne);
|
|
4747
4745
|
}, K = function(ie) {
|
|
4748
|
-
return
|
|
4746
|
+
return O.s(L % 12 || 12, ie, "0");
|
|
4749
4747
|
}, ye = k || function(ie, Te, be) {
|
|
4750
4748
|
var Ne = ie < 12 ? "AM" : "PM";
|
|
4751
4749
|
return be ? Ne.toLowerCase() : Ne;
|
|
@@ -4756,11 +4754,11 @@ var Ui = { exports: {} };
|
|
|
4756
4754
|
case "YY":
|
|
4757
4755
|
return String(x.$y).slice(-2);
|
|
4758
4756
|
case "YYYY":
|
|
4759
|
-
return
|
|
4757
|
+
return O.s(x.$y, 4, "0");
|
|
4760
4758
|
case "M":
|
|
4761
4759
|
return R + 1;
|
|
4762
4760
|
case "MM":
|
|
4763
|
-
return
|
|
4761
|
+
return O.s(R + 1, 2, "0");
|
|
4764
4762
|
case "MMM":
|
|
4765
4763
|
return ee(h.monthsShort, R, m, 3);
|
|
4766
4764
|
case "MMMM":
|
|
@@ -4768,19 +4766,19 @@ var Ui = { exports: {} };
|
|
|
4768
4766
|
case "D":
|
|
4769
4767
|
return x.$D;
|
|
4770
4768
|
case "DD":
|
|
4771
|
-
return
|
|
4769
|
+
return O.s(x.$D, 2, "0");
|
|
4772
4770
|
case "d":
|
|
4773
4771
|
return String(x.$W);
|
|
4774
4772
|
case "dd":
|
|
4775
|
-
return ee(h.weekdaysMin, x.$W,
|
|
4773
|
+
return ee(h.weekdaysMin, x.$W, q, 2);
|
|
4776
4774
|
case "ddd":
|
|
4777
|
-
return ee(h.weekdaysShort, x.$W,
|
|
4775
|
+
return ee(h.weekdaysShort, x.$W, q, 3);
|
|
4778
4776
|
case "dddd":
|
|
4779
|
-
return
|
|
4777
|
+
return q[x.$W];
|
|
4780
4778
|
case "H":
|
|
4781
4779
|
return String(L);
|
|
4782
4780
|
case "HH":
|
|
4783
|
-
return
|
|
4781
|
+
return O.s(L, 2, "0");
|
|
4784
4782
|
case "h":
|
|
4785
4783
|
return K(1);
|
|
4786
4784
|
case "hh":
|
|
@@ -4792,13 +4790,13 @@ var Ui = { exports: {} };
|
|
|
4792
4790
|
case "m":
|
|
4793
4791
|
return String(W);
|
|
4794
4792
|
case "mm":
|
|
4795
|
-
return
|
|
4793
|
+
return O.s(W, 2, "0");
|
|
4796
4794
|
case "s":
|
|
4797
4795
|
return String(x.$s);
|
|
4798
4796
|
case "ss":
|
|
4799
|
-
return
|
|
4797
|
+
return O.s(x.$s, 2, "0");
|
|
4800
4798
|
case "SSS":
|
|
4801
|
-
return
|
|
4799
|
+
return O.s(x.$ms, 3, "0");
|
|
4802
4800
|
case "Z":
|
|
4803
4801
|
return N;
|
|
4804
4802
|
}
|
|
@@ -4808,11 +4806,11 @@ var Ui = { exports: {} };
|
|
|
4808
4806
|
}, _.utcOffset = function() {
|
|
4809
4807
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4810
4808
|
}, _.diff = function(g, x, h) {
|
|
4811
|
-
var T, N = this, L =
|
|
4812
|
-
return
|
|
4809
|
+
var T, N = this, L = O.p(x), W = z(g), R = (W.utcOffset() - this.utcOffset()) * r, q = this - W, m = function() {
|
|
4810
|
+
return O.m(N, W);
|
|
4813
4811
|
};
|
|
4814
4812
|
switch (L) {
|
|
4815
|
-
case
|
|
4813
|
+
case M:
|
|
4816
4814
|
T = m() / 12;
|
|
4817
4815
|
break;
|
|
4818
4816
|
case b:
|
|
@@ -4822,24 +4820,24 @@ var Ui = { exports: {} };
|
|
|
4822
4820
|
T = m() / 3;
|
|
4823
4821
|
break;
|
|
4824
4822
|
case f:
|
|
4825
|
-
T = (
|
|
4823
|
+
T = (q - R) / 6048e5;
|
|
4826
4824
|
break;
|
|
4827
|
-
case
|
|
4828
|
-
T = (
|
|
4825
|
+
case u:
|
|
4826
|
+
T = (q - R) / 864e5;
|
|
4829
4827
|
break;
|
|
4830
4828
|
case c:
|
|
4831
|
-
T =
|
|
4829
|
+
T = q / i;
|
|
4832
4830
|
break;
|
|
4833
|
-
case
|
|
4834
|
-
T =
|
|
4831
|
+
case l:
|
|
4832
|
+
T = q / r;
|
|
4835
4833
|
break;
|
|
4836
4834
|
case a:
|
|
4837
|
-
T =
|
|
4835
|
+
T = q / n;
|
|
4838
4836
|
break;
|
|
4839
4837
|
default:
|
|
4840
|
-
T =
|
|
4838
|
+
T = q;
|
|
4841
4839
|
}
|
|
4842
|
-
return h ? T :
|
|
4840
|
+
return h ? T : O.a(T);
|
|
4843
4841
|
}, _.daysInMonth = function() {
|
|
4844
4842
|
return this.endOf(b).$D;
|
|
4845
4843
|
}, _.$locale = function() {
|
|
@@ -4850,7 +4848,7 @@ var Ui = { exports: {} };
|
|
|
4850
4848
|
var h = this.clone(), T = Q(g, x, !0);
|
|
4851
4849
|
return T && (h.$L = T), h;
|
|
4852
4850
|
}, _.clone = function() {
|
|
4853
|
-
return
|
|
4851
|
+
return O.w(this.$d, this);
|
|
4854
4852
|
}, _.toDate = function() {
|
|
4855
4853
|
return new Date(this.valueOf());
|
|
4856
4854
|
}, _.toJSON = function() {
|
|
@@ -4859,41 +4857,41 @@ var Ui = { exports: {} };
|
|
|
4859
4857
|
return this.$d.toISOString();
|
|
4860
4858
|
}, _.toString = function() {
|
|
4861
4859
|
return this.$d.toUTCString();
|
|
4862
|
-
},
|
|
4860
|
+
}, v;
|
|
4863
4861
|
}(), he = ne.prototype;
|
|
4864
|
-
return z.prototype = he, [["$ms", s], ["$s", a], ["$m",
|
|
4865
|
-
he[
|
|
4866
|
-
return this.$g(_,
|
|
4862
|
+
return z.prototype = he, [["$ms", s], ["$s", a], ["$m", l], ["$H", c], ["$W", u], ["$M", b], ["$y", M], ["$D", E]].forEach(function(v) {
|
|
4863
|
+
he[v[1]] = function(_) {
|
|
4864
|
+
return this.$g(_, v[0], v[1]);
|
|
4867
4865
|
};
|
|
4868
|
-
}), z.extend = function(
|
|
4869
|
-
return
|
|
4870
|
-
}, z.locale = Q, z.isDayjs =
|
|
4871
|
-
return z(1e3 *
|
|
4866
|
+
}), z.extend = function(v, _) {
|
|
4867
|
+
return v.$i || (v(_, ne, z), v.$i = !0), z;
|
|
4868
|
+
}, z.locale = Q, z.isDayjs = X, z.unix = function(v) {
|
|
4869
|
+
return z(1e3 * v);
|
|
4872
4870
|
}, z.en = G[P], z.Ls = G, z.p = {}, z;
|
|
4873
4871
|
});
|
|
4874
|
-
})(
|
|
4875
|
-
var Ga =
|
|
4876
|
-
const
|
|
4877
|
-
var
|
|
4872
|
+
})(ki);
|
|
4873
|
+
var Ga = ki.exports;
|
|
4874
|
+
const $r = /* @__PURE__ */ In(Ga);
|
|
4875
|
+
var Fi = { exports: {} };
|
|
4878
4876
|
(function(e, t) {
|
|
4879
4877
|
(function(n, r) {
|
|
4880
4878
|
e.exports = r();
|
|
4881
|
-
})(
|
|
4879
|
+
})(li, function() {
|
|
4882
4880
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
4883
|
-
return function(s, a,
|
|
4881
|
+
return function(s, a, l) {
|
|
4884
4882
|
var c = a.prototype;
|
|
4885
|
-
|
|
4886
|
-
var
|
|
4887
|
-
return new a(
|
|
4883
|
+
l.utc = function(d) {
|
|
4884
|
+
var C = { date: d, utc: !0, args: arguments };
|
|
4885
|
+
return new a(C);
|
|
4888
4886
|
}, c.utc = function(d) {
|
|
4889
|
-
var
|
|
4890
|
-
return d ?
|
|
4887
|
+
var C = l(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4888
|
+
return d ? C.add(this.utcOffset(), n) : C;
|
|
4891
4889
|
}, c.local = function() {
|
|
4892
|
-
return
|
|
4890
|
+
return l(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4893
4891
|
};
|
|
4894
|
-
var
|
|
4892
|
+
var u = c.parse;
|
|
4895
4893
|
c.parse = function(d) {
|
|
4896
|
-
d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset),
|
|
4894
|
+
d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), u.call(this, d);
|
|
4897
4895
|
};
|
|
4898
4896
|
var f = c.init;
|
|
4899
4897
|
c.init = function() {
|
|
@@ -4904,7 +4902,7 @@ var ki = { exports: {} };
|
|
|
4904
4902
|
f.call(this);
|
|
4905
4903
|
};
|
|
4906
4904
|
var b = c.utcOffset;
|
|
4907
|
-
c.utcOffset = function(d,
|
|
4905
|
+
c.utcOffset = function(d, C) {
|
|
4908
4906
|
var $ = this.$utils().u;
|
|
4909
4907
|
if ($(d))
|
|
4910
4908
|
return this.$u ? 0 : $(this.$offset) ? b.call(this) : this.$offset;
|
|
@@ -4913,24 +4911,24 @@ var ki = { exports: {} };
|
|
|
4913
4911
|
var G = P.match(r);
|
|
4914
4912
|
if (!G)
|
|
4915
4913
|
return null;
|
|
4916
|
-
var
|
|
4917
|
-
return Q === 0 ? 0 :
|
|
4914
|
+
var Z = ("" + G[0]).match(i) || ["-", 0, 0], X = Z[0], Q = 60 * +Z[1] + +Z[2];
|
|
4915
|
+
return Q === 0 ? 0 : X === "+" ? Q : -Q;
|
|
4918
4916
|
}(d), d === null))
|
|
4919
4917
|
return this;
|
|
4920
|
-
var U = Math.abs(d) <= 16 ? 60 * d : d,
|
|
4921
|
-
if (
|
|
4922
|
-
return
|
|
4918
|
+
var U = Math.abs(d) <= 16 ? 60 * d : d, S = this;
|
|
4919
|
+
if (C)
|
|
4920
|
+
return S.$offset = U, S.$u = d === 0, S;
|
|
4923
4921
|
if (d !== 0) {
|
|
4924
4922
|
var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4925
|
-
(
|
|
4923
|
+
(S = this.local().add(U + H, n)).$offset = U, S.$x.$localOffset = H;
|
|
4926
4924
|
} else
|
|
4927
|
-
|
|
4928
|
-
return
|
|
4925
|
+
S = this.utc();
|
|
4926
|
+
return S;
|
|
4929
4927
|
};
|
|
4930
4928
|
var y = c.format;
|
|
4931
4929
|
c.format = function(d) {
|
|
4932
|
-
var
|
|
4933
|
-
return y.call(this,
|
|
4930
|
+
var C = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4931
|
+
return y.call(this, C);
|
|
4934
4932
|
}, c.valueOf = function() {
|
|
4935
4933
|
var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4936
4934
|
return this.$d.valueOf() - 6e4 * d;
|
|
@@ -4941,23 +4939,23 @@ var ki = { exports: {} };
|
|
|
4941
4939
|
}, c.toString = function() {
|
|
4942
4940
|
return this.toDate().toUTCString();
|
|
4943
4941
|
};
|
|
4944
|
-
var
|
|
4942
|
+
var M = c.toDate;
|
|
4945
4943
|
c.toDate = function(d) {
|
|
4946
|
-
return d === "s" && this.$offset ?
|
|
4944
|
+
return d === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
4947
4945
|
};
|
|
4948
4946
|
var E = c.diff;
|
|
4949
|
-
c.diff = function(d,
|
|
4947
|
+
c.diff = function(d, C, $) {
|
|
4950
4948
|
if (d && this.$u === d.$u)
|
|
4951
|
-
return E.call(this, d,
|
|
4952
|
-
var U = this.local(),
|
|
4953
|
-
return E.call(U,
|
|
4949
|
+
return E.call(this, d, C, $);
|
|
4950
|
+
var U = this.local(), S = l(d).local();
|
|
4951
|
+
return E.call(U, S, C, $);
|
|
4954
4952
|
};
|
|
4955
4953
|
};
|
|
4956
4954
|
});
|
|
4957
|
-
})(
|
|
4958
|
-
var $a =
|
|
4955
|
+
})(Fi);
|
|
4956
|
+
var $a = Fi.exports;
|
|
4959
4957
|
const ja = /* @__PURE__ */ In($a);
|
|
4960
|
-
let
|
|
4958
|
+
let jr = Et(null);
|
|
4961
4959
|
function za(e, t) {
|
|
4962
4960
|
if (e) {
|
|
4963
4961
|
const n = document.createElement("style");
|
|
@@ -4982,24 +4980,24 @@ function Va(e, t, n) {
|
|
|
4982
4980
|
}
|
|
4983
4981
|
}
|
|
4984
4982
|
function Xa(e) {
|
|
4985
|
-
|
|
4983
|
+
is(e, "svelte-h8zhj8", "*,*::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:absolute;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}}");
|
|
4986
4984
|
}
|
|
4987
|
-
const Ya = (e) => ({}),
|
|
4988
|
-
function
|
|
4985
|
+
const Ya = (e) => ({}), zr = (e) => ({}), Za = (e) => ({}), Wr = (e) => ({}), qa = (e) => ({}), Vr = (e) => ({}), Ja = (e) => ({}), Xr = (e) => ({ class: "CashierSessionExpirationIcon" });
|
|
4986
|
+
function Yr(e) {
|
|
4989
4987
|
let t, n, r, i, s, a = (
|
|
4990
4988
|
/*$_*/
|
|
4991
4989
|
e[8]("sessionExpirationHeader") + ""
|
|
4992
|
-
),
|
|
4990
|
+
), l, c, u, f, b, y, M, E, d, C, $, U, S, H, P;
|
|
4993
4991
|
const G = (
|
|
4994
4992
|
/*#slots*/
|
|
4995
4993
|
e[22].icon
|
|
4996
|
-
),
|
|
4994
|
+
), Z = Lt(
|
|
4997
4995
|
G,
|
|
4998
4996
|
e,
|
|
4999
4997
|
/*$$scope*/
|
|
5000
4998
|
e[21],
|
|
5001
|
-
|
|
5002
|
-
),
|
|
4999
|
+
Xr
|
|
5000
|
+
), X = Z || el(e), Q = (
|
|
5003
5001
|
/*#slots*/
|
|
5004
5002
|
e[22].title
|
|
5005
5003
|
), z = Lt(
|
|
@@ -5007,8 +5005,8 @@ function Xr(e) {
|
|
|
5007
5005
|
e,
|
|
5008
5006
|
/*$$scope*/
|
|
5009
5007
|
e[21],
|
|
5010
|
-
|
|
5011
|
-
),
|
|
5008
|
+
Vr
|
|
5009
|
+
), O = z || tl(e), ne = (
|
|
5012
5010
|
/*#slots*/
|
|
5013
5011
|
e[22].text
|
|
5014
5012
|
), he = Lt(
|
|
@@ -5016,28 +5014,28 @@ function Xr(e) {
|
|
|
5016
5014
|
e,
|
|
5017
5015
|
/*$$scope*/
|
|
5018
5016
|
e[21],
|
|
5019
|
-
|
|
5020
|
-
),
|
|
5017
|
+
Wr
|
|
5018
|
+
), v = he || nl(e), _ = [il, rl], g = [];
|
|
5021
5019
|
function x(h, T) {
|
|
5022
5020
|
return (
|
|
5023
5021
|
/*showLoaderButton*/
|
|
5024
5022
|
h[6] ? 0 : 1
|
|
5025
5023
|
);
|
|
5026
5024
|
}
|
|
5027
|
-
return d = x(e),
|
|
5025
|
+
return d = x(e), C = g[d] = _[d](e), {
|
|
5028
5026
|
c() {
|
|
5029
|
-
t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"),
|
|
5030
|
-
e[6], j(E, "class", "CashierSessionExpirationButton"), j(f, "class", "CashierSessionExpiration"), j(
|
|
5027
|
+
t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), l = Ke(a), c = ht(), u = te("div"), f = te("div"), X && X.c(), b = ht(), O && O.c(), y = ht(), v && v.c(), M = ht(), E = te("button"), C.c(), j(s, "class", "CashierSessionExpirationModalHeaderTitle"), j(i, "class", "CashierSessionExpirationModalHeader"), j(E, "type", "button"), E.disabled = /*showLoaderButton*/
|
|
5028
|
+
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"), Ye(() => (
|
|
5031
5029
|
/*div5_elementresize_handler*/
|
|
5032
5030
|
e[24].call(n)
|
|
5033
5031
|
));
|
|
5034
5032
|
},
|
|
5035
5033
|
m(h, T) {
|
|
5036
|
-
we(h, t, T),
|
|
5034
|
+
we(h, t, T), J(t, n), J(n, r), J(r, i), J(i, s), J(s, l), 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), $ = ls(
|
|
5037
5035
|
n,
|
|
5038
5036
|
/*div5_elementresize_handler*/
|
|
5039
5037
|
e[24].bind(n)
|
|
5040
|
-
), e[25](t),
|
|
5038
|
+
), e[25](t), S = !0, H || (P = [
|
|
5041
5039
|
Ft(
|
|
5042
5040
|
E,
|
|
5043
5041
|
"click",
|
|
@@ -5053,16 +5051,16 @@ function Xr(e) {
|
|
|
5053
5051
|
], H = !0);
|
|
5054
5052
|
},
|
|
5055
5053
|
p(h, T) {
|
|
5056
|
-
e = h, (!
|
|
5054
|
+
e = h, (!S || T[0] & /*$_*/
|
|
5057
5055
|
256) && a !== (a = /*$_*/
|
|
5058
|
-
e[8]("sessionExpirationHeader") + "") && Yt(
|
|
5056
|
+
e[8]("sessionExpirationHeader") + "") && Yt(l, a), Z ? Z.p && (!S || T[0] & /*$$scope*/
|
|
5059
5057
|
2097152) && Rt(
|
|
5060
|
-
|
|
5058
|
+
Z,
|
|
5061
5059
|
G,
|
|
5062
5060
|
e,
|
|
5063
5061
|
/*$$scope*/
|
|
5064
5062
|
e[21],
|
|
5065
|
-
|
|
5063
|
+
S ? Ht(
|
|
5066
5064
|
G,
|
|
5067
5065
|
/*$$scope*/
|
|
5068
5066
|
e[21],
|
|
@@ -5072,16 +5070,16 @@ function Xr(e) {
|
|
|
5072
5070
|
/*$$scope*/
|
|
5073
5071
|
e[21]
|
|
5074
5072
|
),
|
|
5075
|
-
|
|
5076
|
-
) :
|
|
5077
|
-
8) &&
|
|
5073
|
+
Xr
|
|
5074
|
+
) : X && X.p && (!S || T[0] & /*assetsurl*/
|
|
5075
|
+
8) && X.p(e, S ? T : [-1, -1]), z ? z.p && (!S || T[0] & /*$$scope*/
|
|
5078
5076
|
2097152) && Rt(
|
|
5079
5077
|
z,
|
|
5080
5078
|
Q,
|
|
5081
5079
|
e,
|
|
5082
5080
|
/*$$scope*/
|
|
5083
5081
|
e[21],
|
|
5084
|
-
|
|
5082
|
+
S ? Ht(
|
|
5085
5083
|
Q,
|
|
5086
5084
|
/*$$scope*/
|
|
5087
5085
|
e[21],
|
|
@@ -5091,16 +5089,16 @@ function Xr(e) {
|
|
|
5091
5089
|
/*$$scope*/
|
|
5092
5090
|
e[21]
|
|
5093
5091
|
),
|
|
5094
|
-
|
|
5095
|
-
) :
|
|
5096
|
-
256) &&
|
|
5092
|
+
Vr
|
|
5093
|
+
) : O && O.p && (!S || T[0] & /*$_*/
|
|
5094
|
+
256) && O.p(e, S ? T : [-1, -1]), he ? he.p && (!S || T[0] & /*$$scope*/
|
|
5097
5095
|
2097152) && Rt(
|
|
5098
5096
|
he,
|
|
5099
5097
|
ne,
|
|
5100
5098
|
e,
|
|
5101
5099
|
/*$$scope*/
|
|
5102
5100
|
e[21],
|
|
5103
|
-
|
|
5101
|
+
S ? Ht(
|
|
5104
5102
|
ne,
|
|
5105
5103
|
/*$$scope*/
|
|
5106
5104
|
e[21],
|
|
@@ -5110,32 +5108,32 @@ function Xr(e) {
|
|
|
5110
5108
|
/*$$scope*/
|
|
5111
5109
|
e[21]
|
|
5112
5110
|
),
|
|
5113
|
-
|
|
5114
|
-
) :
|
|
5115
|
-
384) &&
|
|
5111
|
+
Wr
|
|
5112
|
+
) : v && v.p && (!S || T[0] & /*$_, timeLeft*/
|
|
5113
|
+
384) && v.p(e, S ? T : [-1, -1]);
|
|
5116
5114
|
let N = d;
|
|
5117
|
-
d = x(e), d === N ? g[d].p(e, T) : (
|
|
5115
|
+
d = x(e), d === N ? g[d].p(e, T) : (si(), Le(g[N], 1, 1, () => {
|
|
5118
5116
|
g[N] = null;
|
|
5119
|
-
}),
|
|
5117
|
+
}), oi(), C = g[d], C ? C.p(e, T) : (C = g[d] = _[d](e), C.c()), Se(C, 1), C.m(E, null)), (!S || T[0] & /*showLoaderButton*/
|
|
5120
5118
|
64) && (E.disabled = /*showLoaderButton*/
|
|
5121
5119
|
e[6]);
|
|
5122
5120
|
},
|
|
5123
5121
|
i(h) {
|
|
5124
|
-
|
|
5125
|
-
|
|
5122
|
+
S || (Se(X, h), Se(O, h), Se(v, h), Se(C), h && Ye(() => {
|
|
5123
|
+
S && (U || (U = pr(n, gr, { duration: (
|
|
5126
5124
|
/*duration*/
|
|
5127
5125
|
e[2]
|
|
5128
5126
|
) }, !0)), U.run(1));
|
|
5129
|
-
}),
|
|
5127
|
+
}), S = !0);
|
|
5130
5128
|
},
|
|
5131
5129
|
o(h) {
|
|
5132
|
-
Le(
|
|
5130
|
+
Le(X, h), Le(O, h), Le(v, h), Le(C), h && (U || (U = pr(n, gr, { duration: (
|
|
5133
5131
|
/*duration*/
|
|
5134
5132
|
e[2]
|
|
5135
|
-
) }, !1)), U.run(0)),
|
|
5133
|
+
) }, !1)), U.run(0)), S = !1;
|
|
5136
5134
|
},
|
|
5137
5135
|
d(h) {
|
|
5138
|
-
h && ge(t),
|
|
5136
|
+
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, Re(P);
|
|
5139
5137
|
}
|
|
5140
5138
|
};
|
|
5141
5139
|
}
|
|
@@ -5174,7 +5172,7 @@ function Ka(e) {
|
|
|
5174
5172
|
}
|
|
5175
5173
|
};
|
|
5176
5174
|
}
|
|
5177
|
-
function
|
|
5175
|
+
function el(e) {
|
|
5178
5176
|
let t;
|
|
5179
5177
|
function n(s, a) {
|
|
5180
5178
|
return (
|
|
@@ -5185,7 +5183,7 @@ function eu(e) {
|
|
|
5185
5183
|
let r = n(e), i = r(e);
|
|
5186
5184
|
return {
|
|
5187
5185
|
c() {
|
|
5188
|
-
i.c(), t =
|
|
5186
|
+
i.c(), t = ri();
|
|
5189
5187
|
},
|
|
5190
5188
|
m(s, a) {
|
|
5191
5189
|
i.m(s, a), we(s, t, a);
|
|
@@ -5198,7 +5196,7 @@ function eu(e) {
|
|
|
5198
5196
|
}
|
|
5199
5197
|
};
|
|
5200
5198
|
}
|
|
5201
|
-
function
|
|
5199
|
+
function tl(e) {
|
|
5202
5200
|
let t, n = (
|
|
5203
5201
|
/*$_*/
|
|
5204
5202
|
e[8]("sessionExpirationTitle") + ""
|
|
@@ -5208,7 +5206,7 @@ function tu(e) {
|
|
|
5208
5206
|
t = te("span"), r = Ke(n), j(t, "class", "CashierSessionExpirationTitle");
|
|
5209
5207
|
},
|
|
5210
5208
|
m(i, s) {
|
|
5211
|
-
we(i, t, s),
|
|
5209
|
+
we(i, t, s), J(t, r);
|
|
5212
5210
|
},
|
|
5213
5211
|
p(i, s) {
|
|
5214
5212
|
s[0] & /*$_*/
|
|
@@ -5220,8 +5218,8 @@ function tu(e) {
|
|
|
5220
5218
|
}
|
|
5221
5219
|
};
|
|
5222
5220
|
}
|
|
5223
|
-
function
|
|
5224
|
-
let t, n =
|
|
5221
|
+
function nl(e) {
|
|
5222
|
+
let t, n = Gr.sanitize(
|
|
5225
5223
|
/*$_*/
|
|
5226
5224
|
e[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5227
5225
|
/*timeLeft*/
|
|
@@ -5237,7 +5235,7 @@ function nu(e) {
|
|
|
5237
5235
|
},
|
|
5238
5236
|
p(r, i) {
|
|
5239
5237
|
i[0] & /*$_, timeLeft*/
|
|
5240
|
-
384 && n !== (n =
|
|
5238
|
+
384 && n !== (n = Gr.sanitize(
|
|
5241
5239
|
/*$_*/
|
|
5242
5240
|
r[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5243
5241
|
/*timeLeft*/
|
|
@@ -5250,7 +5248,7 @@ function nu(e) {
|
|
|
5250
5248
|
}
|
|
5251
5249
|
};
|
|
5252
5250
|
}
|
|
5253
|
-
function
|
|
5251
|
+
function rl(e) {
|
|
5254
5252
|
let t;
|
|
5255
5253
|
const n = (
|
|
5256
5254
|
/*#slots*/
|
|
@@ -5260,14 +5258,14 @@ function ru(e) {
|
|
|
5260
5258
|
e,
|
|
5261
5259
|
/*$$scope*/
|
|
5262
5260
|
e[21],
|
|
5263
|
-
|
|
5264
|
-
), i = r ||
|
|
5261
|
+
zr
|
|
5262
|
+
), i = r || sl(e);
|
|
5265
5263
|
return {
|
|
5266
5264
|
c() {
|
|
5267
|
-
i.c();
|
|
5265
|
+
i && i.c();
|
|
5268
5266
|
},
|
|
5269
5267
|
m(s, a) {
|
|
5270
|
-
i.m(s, a), t = !0;
|
|
5268
|
+
i && i.m(s, a), t = !0;
|
|
5271
5269
|
},
|
|
5272
5270
|
p(s, a) {
|
|
5273
5271
|
r ? r.p && (!t || a[0] & /*$$scope*/
|
|
@@ -5287,8 +5285,8 @@ function ru(e) {
|
|
|
5287
5285
|
/*$$scope*/
|
|
5288
5286
|
s[21]
|
|
5289
5287
|
),
|
|
5290
|
-
|
|
5291
|
-
) : i.p && (!t || a[0] & /*$_*/
|
|
5288
|
+
zr
|
|
5289
|
+
) : i && i.p && (!t || a[0] & /*$_*/
|
|
5292
5290
|
256) && i.p(s, t ? a : [-1, -1]);
|
|
5293
5291
|
},
|
|
5294
5292
|
i(s) {
|
|
@@ -5298,26 +5296,26 @@ function ru(e) {
|
|
|
5298
5296
|
Le(i, s), t = !1;
|
|
5299
5297
|
},
|
|
5300
5298
|
d(s) {
|
|
5301
|
-
i.d(s);
|
|
5299
|
+
i && i.d(s);
|
|
5302
5300
|
}
|
|
5303
5301
|
};
|
|
5304
5302
|
}
|
|
5305
|
-
function
|
|
5303
|
+
function il(e) {
|
|
5306
5304
|
let t, n, r, i, s, a = (
|
|
5307
5305
|
/*$_*/
|
|
5308
5306
|
e[8]("sessionExpirationLoadingButton") + ""
|
|
5309
|
-
),
|
|
5307
|
+
), l;
|
|
5310
5308
|
return {
|
|
5311
5309
|
c() {
|
|
5312
|
-
t = te("div"), n =
|
|
5310
|
+
t = te("div"), n = hr("svg"), r = hr("path"), i = ht(), s = te("span"), l = Ke(a), 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");
|
|
5313
5311
|
},
|
|
5314
|
-
m(c,
|
|
5315
|
-
we(c, t,
|
|
5312
|
+
m(c, u) {
|
|
5313
|
+
we(c, t, u), J(t, n), J(n, r), J(t, i), J(t, s), J(s, l);
|
|
5316
5314
|
},
|
|
5317
|
-
p(c,
|
|
5318
|
-
|
|
5315
|
+
p(c, u) {
|
|
5316
|
+
u[0] & /*$_*/
|
|
5319
5317
|
256 && a !== (a = /*$_*/
|
|
5320
|
-
c[8]("sessionExpirationLoadingButton") + "") && Yt(
|
|
5318
|
+
c[8]("sessionExpirationLoadingButton") + "") && Yt(l, a);
|
|
5321
5319
|
},
|
|
5322
5320
|
i: de,
|
|
5323
5321
|
o: de,
|
|
@@ -5326,7 +5324,7 @@ function iu(e) {
|
|
|
5326
5324
|
}
|
|
5327
5325
|
};
|
|
5328
5326
|
}
|
|
5329
|
-
function
|
|
5327
|
+
function sl(e) {
|
|
5330
5328
|
let t, n = (
|
|
5331
5329
|
/*$_*/
|
|
5332
5330
|
e[8]("sessionExpirationGeneralButton") + ""
|
|
@@ -5336,7 +5334,7 @@ function su(e) {
|
|
|
5336
5334
|
t = te("span"), r = Ke(n), j(t, "class", "CashierSessionExpirationButtonText");
|
|
5337
5335
|
},
|
|
5338
5336
|
m(i, s) {
|
|
5339
|
-
we(i, t, s),
|
|
5337
|
+
we(i, t, s), J(t, r);
|
|
5340
5338
|
},
|
|
5341
5339
|
p(i, s) {
|
|
5342
5340
|
s[0] & /*$_*/
|
|
@@ -5348,14 +5346,14 @@ function su(e) {
|
|
|
5348
5346
|
}
|
|
5349
5347
|
};
|
|
5350
5348
|
}
|
|
5351
|
-
function
|
|
5349
|
+
function ol(e) {
|
|
5352
5350
|
let t, n, r = (
|
|
5353
5351
|
/*show*/
|
|
5354
|
-
e[5] &&
|
|
5352
|
+
e[5] && Yr(e)
|
|
5355
5353
|
);
|
|
5356
5354
|
return {
|
|
5357
5355
|
c() {
|
|
5358
|
-
r && r.c(), t =
|
|
5356
|
+
r && r.c(), t = ri();
|
|
5359
5357
|
},
|
|
5360
5358
|
m(i, s) {
|
|
5361
5359
|
r && r.m(i, s), we(i, t, s), n = !0;
|
|
@@ -5363,9 +5361,9 @@ function ou(e) {
|
|
|
5363
5361
|
p(i, s) {
|
|
5364
5362
|
/*show*/
|
|
5365
5363
|
i[5] ? r ? (r.p(i, s), s[0] & /*show*/
|
|
5366
|
-
32 && Se(r, 1)) : (r =
|
|
5364
|
+
32 && Se(r, 1)) : (r = Yr(i), r.c(), Se(r, 1), r.m(t.parentNode, t)) : r && (si(), Le(r, 1, 1, () => {
|
|
5367
5365
|
r = null;
|
|
5368
|
-
}),
|
|
5366
|
+
}), oi());
|
|
5369
5367
|
},
|
|
5370
5368
|
i(i) {
|
|
5371
5369
|
n || (Se(r), n = !0);
|
|
@@ -5378,20 +5376,20 @@ function ou(e) {
|
|
|
5378
5376
|
}
|
|
5379
5377
|
};
|
|
5380
5378
|
}
|
|
5381
|
-
const
|
|
5382
|
-
function
|
|
5379
|
+
const al = 90;
|
|
5380
|
+
function ll(e, t, n) {
|
|
5383
5381
|
let r, i;
|
|
5384
|
-
|
|
5382
|
+
fr(e, jr, (m) => n(20, r = m)), fr(e, _a, (m) => n(8, i = m));
|
|
5385
5383
|
let { $$slots: s = {}, $$scope: a } = t;
|
|
5386
|
-
|
|
5387
|
-
let { clientstyling:
|
|
5384
|
+
$r.extend(ja);
|
|
5385
|
+
let { clientstyling: l = "" } = 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, P = !1, G = !1, Z, X, Q, z, O;
|
|
5388
5386
|
var ne;
|
|
5389
5387
|
(function(m) {
|
|
5390
5388
|
m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
|
|
5391
5389
|
})(ne || (ne = {}));
|
|
5392
5390
|
const he = (m) => {
|
|
5393
5391
|
m.data.type === "StartSessionCountdown" && (z = m.data.paymentMethodName);
|
|
5394
|
-
},
|
|
5392
|
+
}, v = (m) => {
|
|
5395
5393
|
try {
|
|
5396
5394
|
return JSON.parse(atob(m.split(".")[1]));
|
|
5397
5395
|
} catch (k) {
|
|
@@ -5401,34 +5399,34 @@ function uu(e, t, n) {
|
|
|
5401
5399
|
window.postMessage(
|
|
5402
5400
|
{
|
|
5403
5401
|
type: "ErrorResponseCode",
|
|
5404
|
-
errorResponseCode:
|
|
5402
|
+
errorResponseCode: O
|
|
5405
5403
|
},
|
|
5406
5404
|
window.location.href
|
|
5407
5405
|
);
|
|
5408
5406
|
}, g = (m) => {
|
|
5409
5407
|
n(5, P = !1);
|
|
5410
|
-
const k =
|
|
5411
|
-
k && (
|
|
5408
|
+
const k = v(m);
|
|
5409
|
+
k && (X = k == null ? void 0 : k.exp, n(7, Z = X), Q && clearInterval(Q), Q = setInterval(
|
|
5412
5410
|
() => {
|
|
5413
5411
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
5414
|
-
n(7,
|
|
5412
|
+
n(7, Z = X - ee), Z <= al && n(5, P = !0), ee >= X && (x(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
5415
5413
|
},
|
|
5416
5414
|
1e3
|
|
5417
5415
|
));
|
|
5418
5416
|
}, x = () => {
|
|
5419
|
-
n(7,
|
|
5417
|
+
n(7, Z = 0), n(5, P = !1), clearInterval(Q);
|
|
5420
5418
|
}, h = () => {
|
|
5421
5419
|
if (G)
|
|
5422
5420
|
return;
|
|
5423
5421
|
const m = new URL(`${d}/v1/player/${$}/payment/GetPaymentMethod`), k = new Headers();
|
|
5424
|
-
n(6, G = !0), k.append("accept", "application/json"), k.append("Content-Type", "application/json"), k.append("X-Client-Request-Timestamp",
|
|
5422
|
+
n(6, G = !0), k.append("accept", "application/json"), k.append("Content-Type", "application/json"), k.append("X-Client-Request-Timestamp", $r.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
5425
5423
|
const ee = {
|
|
5426
5424
|
method: "POST",
|
|
5427
5425
|
mode: "cors",
|
|
5428
5426
|
headers: k,
|
|
5429
5427
|
body: JSON.stringify({
|
|
5430
5428
|
PaymentMethodName: z || U,
|
|
5431
|
-
Currency:
|
|
5429
|
+
Currency: C,
|
|
5432
5430
|
XPaymentSessionToken: r
|
|
5433
5431
|
})
|
|
5434
5432
|
};
|
|
@@ -5444,14 +5442,14 @@ function uu(e, t, n) {
|
|
|
5444
5442
|
return;
|
|
5445
5443
|
}
|
|
5446
5444
|
if (K.ResponseCode === ne.PlayerSessionIsNotValid || K.ResponseCode === ne.JwtTokenError) {
|
|
5447
|
-
|
|
5445
|
+
O = K.ResponseCode, x(), _();
|
|
5448
5446
|
return;
|
|
5449
5447
|
}
|
|
5450
5448
|
if (K.ResponseCode !== ne.Success) {
|
|
5451
|
-
|
|
5449
|
+
O = K.ResponseCode, x();
|
|
5452
5450
|
return;
|
|
5453
5451
|
}
|
|
5454
|
-
K.XPaymentSessionToken &&
|
|
5452
|
+
K.XPaymentSessionToken && jr.set(K.XPaymentSessionToken);
|
|
5455
5453
|
}).finally(() => n(6, G = !1));
|
|
5456
5454
|
}, T = (m) => {
|
|
5457
5455
|
const k = m.currentTarget;
|
|
@@ -5459,21 +5457,21 @@ function uu(e, t, n) {
|
|
|
5459
5457
|
}, N = () => {
|
|
5460
5458
|
fetch(E).then((k) => k.json()).then((k) => {
|
|
5461
5459
|
Object.keys(k).forEach((ee) => {
|
|
5462
|
-
|
|
5460
|
+
Lr(ee, k[ee]);
|
|
5463
5461
|
});
|
|
5464
5462
|
}).catch((k) => {
|
|
5465
5463
|
console.log(k);
|
|
5466
5464
|
});
|
|
5467
5465
|
};
|
|
5468
|
-
Object.keys(
|
|
5469
|
-
|
|
5466
|
+
Object.keys(Hr).forEach((m) => {
|
|
5467
|
+
Lr(m, Hr[m]);
|
|
5470
5468
|
});
|
|
5471
5469
|
const L = () => {
|
|
5472
|
-
ya(
|
|
5470
|
+
ya(M);
|
|
5473
5471
|
};
|
|
5474
|
-
|
|
5472
|
+
ps(() => (window.addEventListener("message", he, !1), () => {
|
|
5475
5473
|
window.removeEventListener("message", he);
|
|
5476
|
-
})),
|
|
5474
|
+
})), gs(() => {
|
|
5477
5475
|
clearInterval(Q);
|
|
5478
5476
|
});
|
|
5479
5477
|
function W(m) {
|
|
@@ -5482,60 +5480,60 @@ function uu(e, t, n) {
|
|
|
5482
5480
|
});
|
|
5483
5481
|
}
|
|
5484
5482
|
function R() {
|
|
5485
|
-
|
|
5483
|
+
u = this.clientWidth, f = this.clientHeight, n(0, u), n(1, f);
|
|
5486
5484
|
}
|
|
5487
|
-
function
|
|
5485
|
+
function q(m) {
|
|
5488
5486
|
jt[m ? "unshift" : "push"](() => {
|
|
5489
5487
|
H = m, n(4, H);
|
|
5490
5488
|
});
|
|
5491
5489
|
}
|
|
5492
5490
|
return e.$$set = (m) => {
|
|
5493
|
-
"clientstyling" in m && n(11,
|
|
5491
|
+
"clientstyling" in m && n(11, l = 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, a = m.$$scope);
|
|
5494
5492
|
}, e.$$.update = () => {
|
|
5495
5493
|
e.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
5496
5494
|
1048576 && g(r), e.$$.dirty[0] & /*lang*/
|
|
5497
|
-
8192 &&
|
|
5498
|
-
2064 &&
|
|
5495
|
+
8192 && M && L(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5496
|
+
2064 && l && H && za(H, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5499
5497
|
4112 && c && H && Wa(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5500
|
-
524304 &&
|
|
5498
|
+
524304 && S && H && Va(H, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5501
5499
|
16384 && E && N();
|
|
5502
5500
|
}, [
|
|
5503
|
-
|
|
5501
|
+
u,
|
|
5504
5502
|
f,
|
|
5505
5503
|
b,
|
|
5506
5504
|
y,
|
|
5507
5505
|
H,
|
|
5508
5506
|
P,
|
|
5509
5507
|
G,
|
|
5510
|
-
|
|
5508
|
+
Z,
|
|
5511
5509
|
i,
|
|
5512
5510
|
h,
|
|
5513
5511
|
T,
|
|
5514
|
-
|
|
5512
|
+
l,
|
|
5515
5513
|
c,
|
|
5516
|
-
|
|
5514
|
+
M,
|
|
5517
5515
|
E,
|
|
5518
5516
|
d,
|
|
5519
|
-
|
|
5517
|
+
C,
|
|
5520
5518
|
$,
|
|
5521
5519
|
U,
|
|
5522
|
-
|
|
5520
|
+
S,
|
|
5523
5521
|
r,
|
|
5524
5522
|
a,
|
|
5525
5523
|
s,
|
|
5526
5524
|
W,
|
|
5527
5525
|
R,
|
|
5528
|
-
|
|
5526
|
+
q
|
|
5529
5527
|
];
|
|
5530
5528
|
}
|
|
5531
|
-
class
|
|
5529
|
+
class ul extends Ms {
|
|
5532
5530
|
constructor(t) {
|
|
5533
|
-
super(),
|
|
5531
|
+
super(), ws(
|
|
5534
5532
|
this,
|
|
5535
5533
|
t,
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5534
|
+
ll,
|
|
5535
|
+
ol,
|
|
5536
|
+
Jr,
|
|
5539
5537
|
{
|
|
5540
5538
|
clientstyling: 11,
|
|
5541
5539
|
clientstylingurl: 12,
|
|
@@ -5559,82 +5557,82 @@ class lu extends Os {
|
|
|
5559
5557
|
return this.$$.ctx[11];
|
|
5560
5558
|
}
|
|
5561
5559
|
set clientstyling(t) {
|
|
5562
|
-
this.$$set({ clientstyling: t }),
|
|
5560
|
+
this.$$set({ clientstyling: t }), ue();
|
|
5563
5561
|
}
|
|
5564
5562
|
get clientstylingurl() {
|
|
5565
5563
|
return this.$$.ctx[12];
|
|
5566
5564
|
}
|
|
5567
5565
|
set clientstylingurl(t) {
|
|
5568
|
-
this.$$set({ clientstylingurl: t }),
|
|
5566
|
+
this.$$set({ clientstylingurl: t }), ue();
|
|
5569
5567
|
}
|
|
5570
5568
|
get width() {
|
|
5571
5569
|
return this.$$.ctx[0];
|
|
5572
5570
|
}
|
|
5573
5571
|
set width(t) {
|
|
5574
|
-
this.$$set({ width: t }),
|
|
5572
|
+
this.$$set({ width: t }), ue();
|
|
5575
5573
|
}
|
|
5576
5574
|
get height() {
|
|
5577
5575
|
return this.$$.ctx[1];
|
|
5578
5576
|
}
|
|
5579
5577
|
set height(t) {
|
|
5580
|
-
this.$$set({ height: t }),
|
|
5578
|
+
this.$$set({ height: t }), ue();
|
|
5581
5579
|
}
|
|
5582
5580
|
get duration() {
|
|
5583
5581
|
return this.$$.ctx[2];
|
|
5584
5582
|
}
|
|
5585
5583
|
set duration(t) {
|
|
5586
|
-
this.$$set({ duration: t }),
|
|
5584
|
+
this.$$set({ duration: t }), ue();
|
|
5587
5585
|
}
|
|
5588
5586
|
get assetsurl() {
|
|
5589
5587
|
return this.$$.ctx[3];
|
|
5590
5588
|
}
|
|
5591
5589
|
set assetsurl(t) {
|
|
5592
|
-
this.$$set({ assetsurl: t }),
|
|
5590
|
+
this.$$set({ assetsurl: t }), ue();
|
|
5593
5591
|
}
|
|
5594
5592
|
get lang() {
|
|
5595
5593
|
return this.$$.ctx[13];
|
|
5596
5594
|
}
|
|
5597
5595
|
set lang(t) {
|
|
5598
|
-
this.$$set({ lang: t }),
|
|
5596
|
+
this.$$set({ lang: t }), ue();
|
|
5599
5597
|
}
|
|
5600
5598
|
get translationurl() {
|
|
5601
5599
|
return this.$$.ctx[14];
|
|
5602
5600
|
}
|
|
5603
5601
|
set translationurl(t) {
|
|
5604
|
-
this.$$set({ translationurl: t }),
|
|
5602
|
+
this.$$set({ translationurl: t }), ue();
|
|
5605
5603
|
}
|
|
5606
5604
|
get endpoint() {
|
|
5607
5605
|
return this.$$.ctx[15];
|
|
5608
5606
|
}
|
|
5609
5607
|
set endpoint(t) {
|
|
5610
|
-
this.$$set({ endpoint: t }),
|
|
5608
|
+
this.$$set({ endpoint: t }), ue();
|
|
5611
5609
|
}
|
|
5612
5610
|
get currency() {
|
|
5613
5611
|
return this.$$.ctx[16];
|
|
5614
5612
|
}
|
|
5615
5613
|
set currency(t) {
|
|
5616
|
-
this.$$set({ currency: t }),
|
|
5614
|
+
this.$$set({ currency: t }), ue();
|
|
5617
5615
|
}
|
|
5618
5616
|
get customerid() {
|
|
5619
5617
|
return this.$$.ctx[17];
|
|
5620
5618
|
}
|
|
5621
5619
|
set customerid(t) {
|
|
5622
|
-
this.$$set({ customerid: t }),
|
|
5620
|
+
this.$$set({ customerid: t }), ue();
|
|
5623
5621
|
}
|
|
5624
5622
|
get selectedpaymentmethodname() {
|
|
5625
5623
|
return this.$$.ctx[18];
|
|
5626
5624
|
}
|
|
5627
5625
|
set selectedpaymentmethodname(t) {
|
|
5628
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
5626
|
+
this.$$set({ selectedpaymentmethodname: t }), ue();
|
|
5629
5627
|
}
|
|
5630
5628
|
get mbsource() {
|
|
5631
5629
|
return this.$$.ctx[19];
|
|
5632
5630
|
}
|
|
5633
5631
|
set mbsource(t) {
|
|
5634
|
-
this.$$set({ mbsource: t }),
|
|
5632
|
+
this.$$set({ mbsource: t }), ue();
|
|
5635
5633
|
}
|
|
5636
5634
|
}
|
|
5637
|
-
|
|
5635
|
+
Os(ul, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
5638
5636
|
export {
|
|
5639
|
-
|
|
5637
|
+
ul as default
|
|
5640
5638
|
};
|