@everymatrix/cashier-session-expiration-modal 1.77.18 → 1.77.20
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-ge0R8xm0.js → CashierSessionExpirationModal-BhM5U6bJ.js} +1140 -1146
- package/components/{CashierSessionExpirationModal-BAFxIrEq.js → CashierSessionExpirationModal-E2PX0m2X.js} +1133 -1139
- package/components/CashierSessionExpirationModal-negwAlZX.cjs +22 -0
- 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-DqNHgUjj.cjs +0 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function de() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Gr = (e) => e;
|
|
4
|
+
function Gi(e, t) {
|
|
5
5
|
for (const n in t)
|
|
6
6
|
e[n] = t[n];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function zi(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function jr(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function tr() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
e.forEach(
|
|
18
|
+
function He(e) {
|
|
19
|
+
e.forEach(jr);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Vt(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function zr(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
let
|
|
28
|
-
function
|
|
29
|
-
return e === t ? !0 : (
|
|
27
|
+
let wt;
|
|
28
|
+
function nr(e, t) {
|
|
29
|
+
return e === t ? !0 : (wt || (wt = document.createElement("a")), wt.href = t, e === wt.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function ji(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Wr(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const r of t)
|
|
37
37
|
r(void 0);
|
|
@@ -40,19 +40,19 @@ function Xr(e, ...t) {
|
|
|
40
40
|
const n = e.subscribe(...t);
|
|
41
41
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e.$$.on_destroy.push(
|
|
43
|
+
function rr(e, t, n) {
|
|
44
|
+
e.$$.on_destroy.push(Wr(t, n));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Lt(e, t, n, r) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Vr(e, t, n, r);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && r ?
|
|
52
|
+
function Vr(e, t, n, r) {
|
|
53
|
+
return e[1] && r ? Gi(n.ctx.slice(), e[1](r(t))) : n.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Nt(e, t, n, r) {
|
|
56
56
|
if (e[2] && r) {
|
|
57
57
|
const i = e[2](r(n));
|
|
58
58
|
if (t.dirty === void 0)
|
|
@@ -67,13 +67,13 @@ function Ht(e, t, n, r) {
|
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Ht(e, t, n, r, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const u =
|
|
72
|
+
const u = Vr(t, n, r, o);
|
|
73
73
|
e.p(u, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function It(e) {
|
|
77
77
|
if (e.ctx.length > 32) {
|
|
78
78
|
const t = [], n = e.ctx.length / 32;
|
|
79
79
|
for (let r = 0; r < n; r++)
|
|
@@ -82,36 +82,36 @@ function Pt(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
const
|
|
86
|
-
let
|
|
87
|
-
const
|
|
88
|
-
function
|
|
89
|
-
|
|
90
|
-
t.c(e) || (
|
|
91
|
-
}),
|
|
85
|
+
const Xr = typeof window < "u";
|
|
86
|
+
let zi = Xr ? () => window.performance.now() : () => Date.now(), Cn = Xr ? (e) => requestAnimationFrame(e) : de;
|
|
87
|
+
const We = /* @__PURE__ */ new Set();
|
|
88
|
+
function Yr(e) {
|
|
89
|
+
We.forEach((t) => {
|
|
90
|
+
t.c(e) || (We.delete(t), t.f());
|
|
91
|
+
}), We.size !== 0 && Cn(Yr);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Wi(e) {
|
|
94
94
|
let t;
|
|
95
|
-
return
|
|
95
|
+
return We.size === 0 && Cn(Yr), {
|
|
96
96
|
promise: new Promise((n) => {
|
|
97
|
-
|
|
97
|
+
We.add(t = { c: e, f: n });
|
|
98
98
|
}),
|
|
99
99
|
abort() {
|
|
100
|
-
|
|
100
|
+
We.delete(t);
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
function J(e, t) {
|
|
105
105
|
e.appendChild(t);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
const r =
|
|
107
|
+
function Vi(e, t, n) {
|
|
108
|
+
const r = Ln(e);
|
|
109
109
|
if (!r.getElementById(t)) {
|
|
110
110
|
const i = re("style");
|
|
111
|
-
i.id = t, i.textContent = n,
|
|
111
|
+
i.id = t, i.textContent = n, Zr(r, i);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Ln(e) {
|
|
115
115
|
if (!e)
|
|
116
116
|
return document;
|
|
117
117
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -121,18 +121,18 @@ function Hn(e) {
|
|
|
121
121
|
t
|
|
122
122
|
) : e.ownerDocument;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Xi(e) {
|
|
125
125
|
const t = re("style");
|
|
126
|
-
return t.textContent = "/* empty */",
|
|
126
|
+
return t.textContent = "/* empty */", Zr(Ln(e), t), t.sheet;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Zr(e, t) {
|
|
129
129
|
return J(
|
|
130
130
|
/** @type {Document} */
|
|
131
131
|
e.head || e,
|
|
132
132
|
t
|
|
133
133
|
), t.sheet;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Me(e, t, n) {
|
|
136
136
|
e.insertBefore(t, n || null);
|
|
137
137
|
}
|
|
138
138
|
function be(e) {
|
|
@@ -141,53 +141,53 @@ function be(e) {
|
|
|
141
141
|
function re(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function ir(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Qe(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function ft() {
|
|
151
|
+
return Qe(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function qr() {
|
|
154
|
+
return Qe("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Ut(e, t, n, r) {
|
|
157
157
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function V(e, t, n) {
|
|
160
160
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Yi(e) {
|
|
163
163
|
return Array.from(e.childNodes);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Xt(e, t) {
|
|
166
166
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
167
167
|
t);
|
|
168
168
|
}
|
|
169
|
-
let
|
|
170
|
-
function
|
|
171
|
-
if (
|
|
172
|
-
|
|
169
|
+
let At;
|
|
170
|
+
function Zi() {
|
|
171
|
+
if (At === void 0) {
|
|
172
|
+
At = !1;
|
|
173
173
|
try {
|
|
174
174
|
typeof window < "u" && window.parent && window.parent.document;
|
|
175
175
|
} catch {
|
|
176
|
-
|
|
176
|
+
At = !0;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
return
|
|
179
|
+
return At;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function qi(e, t) {
|
|
182
182
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
183
183
|
const r = re("iframe");
|
|
184
184
|
r.setAttribute(
|
|
185
185
|
"style",
|
|
186
186
|
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
187
187
|
), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
|
|
188
|
-
const i =
|
|
188
|
+
const i = Zi();
|
|
189
189
|
let o;
|
|
190
|
-
return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o =
|
|
190
|
+
return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ut(
|
|
191
191
|
window,
|
|
192
192
|
"message",
|
|
193
193
|
/** @param {MessageEvent} event */
|
|
@@ -195,15 +195,15 @@ function Qi(e, t) {
|
|
|
195
195
|
u.source === r.contentWindow && t();
|
|
196
196
|
}
|
|
197
197
|
)) : (r.src = "about:blank", r.onload = () => {
|
|
198
|
-
o =
|
|
198
|
+
o = Ut(r.contentWindow, "resize", t), t();
|
|
199
199
|
}), J(e, r), () => {
|
|
200
200
|
(i || o && r.contentWindow) && o(), be(r);
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Ji(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
204
204
|
return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Qi(e) {
|
|
207
207
|
const t = {};
|
|
208
208
|
return e.childNodes.forEach(
|
|
209
209
|
/** @param {Element} node */
|
|
@@ -212,151 +212,151 @@ function eo(e) {
|
|
|
212
212
|
}
|
|
213
213
|
), t;
|
|
214
214
|
}
|
|
215
|
-
const
|
|
216
|
-
let
|
|
217
|
-
function
|
|
215
|
+
const kt = /* @__PURE__ */ new Map();
|
|
216
|
+
let Ft = 0;
|
|
217
|
+
function Ki(e) {
|
|
218
218
|
let t = 5381, n = e.length;
|
|
219
219
|
for (; n--; )
|
|
220
220
|
t = (t << 5) - t ^ e.charCodeAt(n);
|
|
221
221
|
return t >>> 0;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
const n = { stylesheet:
|
|
225
|
-
return
|
|
223
|
+
function eo(e, t) {
|
|
224
|
+
const n = { stylesheet: Xi(t), rules: {} };
|
|
225
|
+
return kt.set(e, n), n;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function or(e, t, n, r, i, o, u, a = 0) {
|
|
228
228
|
const c = 16.666 / r;
|
|
229
229
|
let l = `{
|
|
230
230
|
`;
|
|
231
231
|
for (let C = 0; C <= 1; C += c) {
|
|
232
|
-
const
|
|
233
|
-
l += C * 100 + `%{${u(
|
|
232
|
+
const G = t + (n - t) * o(C);
|
|
233
|
+
l += C * 100 + `%{${u(G, 1 - G)}}
|
|
234
234
|
`;
|
|
235
235
|
}
|
|
236
236
|
const f = l + `100% {${u(n, 1 - n)}}
|
|
237
|
-
}`, _ = `__svelte_${
|
|
237
|
+
}`, _ = `__svelte_${Ki(f)}_${a}`, y = Ln(e), { stylesheet: M, rules: b } = kt.get(y) || eo(y, e);
|
|
238
238
|
b[_] || (b[_] = !0, M.insertRule(`@keyframes ${_} ${f}`, M.cssRules.length));
|
|
239
239
|
const d = e.style.animation || "";
|
|
240
|
-
return e.style.animation = `${d ? `${d}, ` : ""}${_} ${r}ms linear ${i}ms 1 both`,
|
|
240
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${_} ${r}ms linear ${i}ms 1 both`, Ft += 1, _;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function to(e, t) {
|
|
243
243
|
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
244
244
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
245
245
|
// remove all Svelte animations
|
|
246
246
|
), i = n.length - r.length;
|
|
247
|
-
i && (e.style.animation = r.join(", "),
|
|
247
|
+
i && (e.style.animation = r.join(", "), Ft -= i, Ft || no());
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
function no() {
|
|
250
|
+
Cn(() => {
|
|
251
|
+
Ft || (kt.forEach((e) => {
|
|
252
252
|
const { ownerNode: t } = e.stylesheet;
|
|
253
253
|
t && be(t);
|
|
254
|
-
}),
|
|
254
|
+
}), kt.clear());
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
let
|
|
258
|
-
function
|
|
259
|
-
|
|
257
|
+
let dt;
|
|
258
|
+
function mt(e) {
|
|
259
|
+
dt = e;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
if (!
|
|
261
|
+
function Jr() {
|
|
262
|
+
if (!dt)
|
|
263
263
|
throw new Error("Function called outside component initialization");
|
|
264
|
-
return
|
|
264
|
+
return dt;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
266
|
+
function ro(e) {
|
|
267
|
+
Jr().$$.on_mount.push(e);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
|
|
269
|
+
function io(e) {
|
|
270
|
+
Jr().$$.on_destroy.push(e);
|
|
271
271
|
}
|
|
272
|
-
const
|
|
273
|
-
let
|
|
274
|
-
const
|
|
275
|
-
let
|
|
276
|
-
function
|
|
277
|
-
|
|
272
|
+
const ze = [], Gt = [];
|
|
273
|
+
let Ve = [];
|
|
274
|
+
const sr = [], oo = /* @__PURE__ */ Promise.resolve();
|
|
275
|
+
let bn = !1;
|
|
276
|
+
function so() {
|
|
277
|
+
bn || (bn = !0, oo.then(le));
|
|
278
278
|
}
|
|
279
|
-
function
|
|
280
|
-
|
|
279
|
+
function Xe(e) {
|
|
280
|
+
Ve.push(e);
|
|
281
281
|
}
|
|
282
|
-
const
|
|
283
|
-
let
|
|
282
|
+
const on = /* @__PURE__ */ new Set();
|
|
283
|
+
let Ge = 0;
|
|
284
284
|
function le() {
|
|
285
|
-
if (
|
|
285
|
+
if (Ge !== 0)
|
|
286
286
|
return;
|
|
287
|
-
const e =
|
|
287
|
+
const e = dt;
|
|
288
288
|
do {
|
|
289
289
|
try {
|
|
290
|
-
for (;
|
|
291
|
-
const t =
|
|
292
|
-
|
|
290
|
+
for (; Ge < ze.length; ) {
|
|
291
|
+
const t = ze[Ge];
|
|
292
|
+
Ge++, mt(t), ao(t.$$);
|
|
293
293
|
}
|
|
294
294
|
} catch (t) {
|
|
295
|
-
throw
|
|
295
|
+
throw ze.length = 0, Ge = 0, t;
|
|
296
296
|
}
|
|
297
|
-
for (
|
|
298
|
-
|
|
299
|
-
for (let t = 0; t <
|
|
300
|
-
const n =
|
|
301
|
-
|
|
297
|
+
for (mt(null), ze.length = 0, Ge = 0; Gt.length; )
|
|
298
|
+
Gt.pop()();
|
|
299
|
+
for (let t = 0; t < Ve.length; t += 1) {
|
|
300
|
+
const n = Ve[t];
|
|
301
|
+
on.has(n) || (on.add(n), n());
|
|
302
302
|
}
|
|
303
|
-
|
|
304
|
-
} while (
|
|
305
|
-
for (;
|
|
306
|
-
|
|
307
|
-
|
|
303
|
+
Ve.length = 0;
|
|
304
|
+
} while (ze.length);
|
|
305
|
+
for (; sr.length; )
|
|
306
|
+
sr.pop()();
|
|
307
|
+
bn = !1, on.clear(), mt(e);
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function ao(e) {
|
|
310
310
|
if (e.fragment !== null) {
|
|
311
|
-
e.update(),
|
|
311
|
+
e.update(), He(e.before_update);
|
|
312
312
|
const t = e.dirty;
|
|
313
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
313
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function uo(e) {
|
|
317
317
|
const t = [], n = [];
|
|
318
|
-
|
|
318
|
+
Ve.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ve = t;
|
|
319
319
|
}
|
|
320
|
-
let
|
|
321
|
-
function
|
|
322
|
-
return
|
|
323
|
-
|
|
324
|
-
})),
|
|
320
|
+
let it;
|
|
321
|
+
function lo() {
|
|
322
|
+
return it || (it = Promise.resolve(), it.then(() => {
|
|
323
|
+
it = null;
|
|
324
|
+
})), it;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
e.dispatchEvent(
|
|
326
|
+
function sn(e, t, n) {
|
|
327
|
+
e.dispatchEvent(Ji(`${t ? "intro" : "outro"}${n}`));
|
|
328
328
|
}
|
|
329
|
-
const
|
|
330
|
-
let
|
|
331
|
-
function
|
|
332
|
-
|
|
329
|
+
const Pt = /* @__PURE__ */ new Set();
|
|
330
|
+
let Oe;
|
|
331
|
+
function Qr() {
|
|
332
|
+
Oe = {
|
|
333
333
|
r: 0,
|
|
334
334
|
c: [],
|
|
335
|
-
p:
|
|
335
|
+
p: Oe
|
|
336
336
|
// parent group
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
function
|
|
340
|
-
|
|
339
|
+
function Kr() {
|
|
340
|
+
Oe.r || He(Oe.c), Oe = Oe.p;
|
|
341
341
|
}
|
|
342
342
|
function Se(e, t) {
|
|
343
|
-
e && e.i && (
|
|
343
|
+
e && e.i && (Pt.delete(e), e.i(t));
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Le(e, t, n, r) {
|
|
346
346
|
if (e && e.o) {
|
|
347
|
-
if (
|
|
347
|
+
if (Pt.has(e))
|
|
348
348
|
return;
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
Pt.add(e), Oe.c.push(() => {
|
|
350
|
+
Pt.delete(e), r && (n && e.d(1), r());
|
|
351
351
|
}), e.o(t);
|
|
352
352
|
} else
|
|
353
353
|
r && r();
|
|
354
354
|
}
|
|
355
|
-
const
|
|
356
|
-
function
|
|
355
|
+
const co = { duration: 0 };
|
|
356
|
+
function ar(e, t, n, r) {
|
|
357
357
|
let o = t(e, n, { direction: "both" }), u = r ? 0 : 1, a = null, c = null, l = null, f;
|
|
358
358
|
function _() {
|
|
359
|
-
l &&
|
|
359
|
+
l && to(e, l);
|
|
360
360
|
}
|
|
361
361
|
function y(b, d) {
|
|
362
362
|
const C = (
|
|
@@ -377,29 +377,29 @@ function lr(e, t, n, r) {
|
|
|
377
377
|
const {
|
|
378
378
|
delay: d = 0,
|
|
379
379
|
duration: C = 300,
|
|
380
|
-
easing:
|
|
380
|
+
easing: G = Gr,
|
|
381
381
|
tick: $ = de,
|
|
382
382
|
css: w
|
|
383
|
-
} = o ||
|
|
384
|
-
start:
|
|
383
|
+
} = o || co, H = {
|
|
384
|
+
start: zi() + d,
|
|
385
385
|
b
|
|
386
386
|
};
|
|
387
|
-
b || (H.group =
|
|
388
|
-
e.inert, e.inert = !0)), a || c ? c = H : (w && (_(), l =
|
|
389
|
-
if (c && R > c.start && (a = y(c, C), c = null,
|
|
387
|
+
b || (H.group = Oe, Oe.r += 1), "inert" in e && (b ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
|
|
388
|
+
e.inert, e.inert = !0)), a || c ? c = H : (w && (_(), l = or(e, u, b, C, d, G, w)), b && $(0, 1), a = y(H, C), Xe(() => sn(e, b, "start")), Wi((R) => {
|
|
389
|
+
if (c && R > c.start && (a = y(c, C), c = null, sn(e, a.b, "start"), w && (_(), l = or(
|
|
390
390
|
e,
|
|
391
391
|
u,
|
|
392
392
|
a.b,
|
|
393
393
|
a.duration,
|
|
394
394
|
0,
|
|
395
|
-
|
|
395
|
+
G,
|
|
396
396
|
o.css
|
|
397
397
|
))), a) {
|
|
398
398
|
if (R >= a.end)
|
|
399
|
-
$(u = a.b, 1 - u),
|
|
399
|
+
$(u = a.b, 1 - u), sn(e, a.b, "end"), c || (a.b ? _() : --a.group.r || He(a.group.c)), a = null;
|
|
400
400
|
else if (R >= a.start) {
|
|
401
|
-
const
|
|
402
|
-
u = a.a + a.d *
|
|
401
|
+
const k = R - a.start;
|
|
402
|
+
u = a.a + a.d * G(k / a.duration), $(u, 1 - u);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
return !!(a || c);
|
|
@@ -407,7 +407,7 @@ function lr(e, t, n, r) {
|
|
|
407
407
|
}
|
|
408
408
|
return {
|
|
409
409
|
run(b) {
|
|
410
|
-
|
|
410
|
+
Vt(o) ? lo().then(() => {
|
|
411
411
|
o = o({ direction: b ? "in" : "out" }), M(b);
|
|
412
412
|
}) : M(b);
|
|
413
413
|
},
|
|
@@ -416,23 +416,23 @@ function lr(e, t, n, r) {
|
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function fo(e, t, n) {
|
|
420
420
|
const { fragment: r, after_update: i } = e.$$;
|
|
421
|
-
r && r.m(t, n),
|
|
422
|
-
const o = e.$$.on_mount.map(
|
|
423
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
424
|
-
}), i.forEach(
|
|
421
|
+
r && r.m(t, n), Xe(() => {
|
|
422
|
+
const o = e.$$.on_mount.map(jr).filter(Vt);
|
|
423
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : He(o), e.$$.on_mount = [];
|
|
424
|
+
}), i.forEach(Xe);
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function ho(e, t) {
|
|
427
427
|
const n = e.$$;
|
|
428
|
-
n.fragment !== null && (
|
|
428
|
+
n.fragment !== null && (uo(n.after_update), He(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
429
429
|
}
|
|
430
|
-
function
|
|
431
|
-
e.$$.dirty[0] === -1 && (
|
|
430
|
+
function mo(e, t) {
|
|
431
|
+
e.$$.dirty[0] === -1 && (ze.push(e), so(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
const c =
|
|
435
|
-
|
|
433
|
+
function po(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
434
|
+
const c = dt;
|
|
435
|
+
mt(e);
|
|
436
436
|
const l = e.$$ = {
|
|
437
437
|
fragment: null,
|
|
438
438
|
ctx: [],
|
|
@@ -440,7 +440,7 @@ function _o(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
|
440
440
|
props: o,
|
|
441
441
|
update: de,
|
|
442
442
|
not_equal: i,
|
|
443
|
-
bound:
|
|
443
|
+
bound: tr(),
|
|
444
444
|
// lifecycle
|
|
445
445
|
on_mount: [],
|
|
446
446
|
on_destroy: [],
|
|
@@ -449,7 +449,7 @@ function _o(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
|
449
449
|
after_update: [],
|
|
450
450
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
451
451
|
// everything else
|
|
452
|
-
callbacks:
|
|
452
|
+
callbacks: tr(),
|
|
453
453
|
dirty: a,
|
|
454
454
|
skip_bound: !1,
|
|
455
455
|
root: t.target || c.$$.root
|
|
@@ -458,19 +458,19 @@ function _o(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
|
458
458
|
let f = !1;
|
|
459
459
|
if (l.ctx = n ? n(e, t.props || {}, (_, y, ...M) => {
|
|
460
460
|
const b = M.length ? M[0] : y;
|
|
461
|
-
return l.ctx && i(l.ctx[_], l.ctx[_] = b) && (!l.skip_bound && l.bound[_] && l.bound[_](b), f &&
|
|
462
|
-
}) : [], l.update(), f = !0,
|
|
461
|
+
return l.ctx && i(l.ctx[_], l.ctx[_] = b) && (!l.skip_bound && l.bound[_] && l.bound[_](b), f && mo(e, _)), y;
|
|
462
|
+
}) : [], l.update(), f = !0, He(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
|
|
463
463
|
if (t.hydrate) {
|
|
464
|
-
const _ =
|
|
464
|
+
const _ = Yi(t.target);
|
|
465
465
|
l.fragment && l.fragment.l(_), _.forEach(be);
|
|
466
466
|
} else
|
|
467
467
|
l.fragment && l.fragment.c();
|
|
468
|
-
t.intro && Se(e.$$.fragment),
|
|
468
|
+
t.intro && Se(e.$$.fragment), fo(e, t.target, t.anchor), le();
|
|
469
469
|
}
|
|
470
|
-
|
|
470
|
+
mt(c);
|
|
471
471
|
}
|
|
472
|
-
let
|
|
473
|
-
typeof HTMLElement == "function" && (
|
|
472
|
+
let ei;
|
|
473
|
+
typeof HTMLElement == "function" && (ei = class extends HTMLElement {
|
|
474
474
|
/** The Svelte component constructor */
|
|
475
475
|
$$ctor;
|
|
476
476
|
/** Slots */
|
|
@@ -512,14 +512,14 @@ typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
|
512
512
|
let o;
|
|
513
513
|
return {
|
|
514
514
|
c: function() {
|
|
515
|
-
o = re("slot"), i !== "default" &&
|
|
515
|
+
o = re("slot"), i !== "default" && V(o, "name", i);
|
|
516
516
|
},
|
|
517
517
|
/**
|
|
518
518
|
* @param {HTMLElement} target
|
|
519
519
|
* @param {HTMLElement} [anchor]
|
|
520
520
|
*/
|
|
521
521
|
m: function(c, l) {
|
|
522
|
-
|
|
522
|
+
Me(c, o, l);
|
|
523
523
|
},
|
|
524
524
|
d: function(c) {
|
|
525
525
|
c && be(o);
|
|
@@ -529,12 +529,12 @@ typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
|
529
529
|
};
|
|
530
530
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
531
531
|
return;
|
|
532
|
-
const t = {}, n =
|
|
532
|
+
const t = {}, n = Qi(this);
|
|
533
533
|
for (const i of this.$$s)
|
|
534
534
|
i in n && (t[i] = [e(i)]);
|
|
535
535
|
for (const i of this.attributes) {
|
|
536
536
|
const o = this.$$g_p(i.name);
|
|
537
|
-
o in this.$$d || (this.$$d[o] =
|
|
537
|
+
o in this.$$d || (this.$$d[o] = Rt(o, i.value, this.$$p_d, "toProp"));
|
|
538
538
|
}
|
|
539
539
|
for (const i in this.$$p_d)
|
|
540
540
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -552,7 +552,7 @@ typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
|
552
552
|
this.$$r = !0;
|
|
553
553
|
for (const i in this.$$p_d)
|
|
554
554
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
555
|
-
const o =
|
|
555
|
+
const o = Rt(
|
|
556
556
|
i,
|
|
557
557
|
this.$$d[i],
|
|
558
558
|
this.$$p_d,
|
|
@@ -574,7 +574,7 @@ typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
|
574
574
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
575
575
|
// and setting attributes through setAttribute etc, this is helpful
|
|
576
576
|
attributeChangedCallback(e, t, n) {
|
|
577
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
577
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Rt(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
578
578
|
}
|
|
579
579
|
disconnectedCallback() {
|
|
580
580
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -587,7 +587,7 @@ typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
|
587
587
|
) || e;
|
|
588
588
|
}
|
|
589
589
|
});
|
|
590
|
-
function
|
|
590
|
+
function Rt(e, t, n, r) {
|
|
591
591
|
const i = n[e]?.type;
|
|
592
592
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
593
593
|
return t;
|
|
@@ -616,8 +616,8 @@ function Dt(e, t, n, r) {
|
|
|
616
616
|
return t;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
let u = class extends
|
|
619
|
+
function go(e, t, n, r, i, o) {
|
|
620
|
+
let u = class extends ei {
|
|
621
621
|
constructor() {
|
|
622
622
|
super(e, n, i), this.$$p_d = t;
|
|
623
623
|
}
|
|
@@ -633,7 +633,7 @@ function bo(e, t, n, r, i, o) {
|
|
|
633
633
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
634
634
|
},
|
|
635
635
|
set(c) {
|
|
636
|
-
c =
|
|
636
|
+
c = Rt(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
|
|
637
637
|
}
|
|
638
638
|
});
|
|
639
639
|
}), r.forEach((a) => {
|
|
@@ -645,7 +645,7 @@ function bo(e, t, n, r, i, o) {
|
|
|
645
645
|
}), e.element = /** @type {any} */
|
|
646
646
|
u, u;
|
|
647
647
|
}
|
|
648
|
-
class
|
|
648
|
+
class _o {
|
|
649
649
|
/**
|
|
650
650
|
* ### PRIVATE API
|
|
651
651
|
*
|
|
@@ -664,7 +664,7 @@ class Eo {
|
|
|
664
664
|
$$set = void 0;
|
|
665
665
|
/** @returns {void} */
|
|
666
666
|
$destroy() {
|
|
667
|
-
|
|
667
|
+
ho(this, 1), this.$destroy = de;
|
|
668
668
|
}
|
|
669
669
|
/**
|
|
670
670
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -673,7 +673,7 @@ class Eo {
|
|
|
673
673
|
* @returns {() => void}
|
|
674
674
|
*/
|
|
675
675
|
$on(t, n) {
|
|
676
|
-
if (!
|
|
676
|
+
if (!Vt(n))
|
|
677
677
|
return de;
|
|
678
678
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
679
679
|
return r.push(n), () => {
|
|
@@ -686,12 +686,12 @@ class Eo {
|
|
|
686
686
|
* @returns {void}
|
|
687
687
|
*/
|
|
688
688
|
$set(t) {
|
|
689
|
-
this.$$set && !
|
|
689
|
+
this.$$set && !ji(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
const
|
|
693
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
694
|
-
function
|
|
692
|
+
const bo = "4";
|
|
693
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bo);
|
|
694
|
+
function ur(e, { delay: t = 0, duration: n = 400, easing: r = Gr } = {}) {
|
|
695
695
|
const i = +getComputedStyle(e).opacity;
|
|
696
696
|
return {
|
|
697
697
|
delay: t,
|
|
@@ -700,24 +700,24 @@ function cr(e, { delay: t = 0, duration: n = 400, easing: r = zr } = {}) {
|
|
|
700
700
|
css: (o) => `opacity: ${o * i}`
|
|
701
701
|
};
|
|
702
702
|
}
|
|
703
|
-
const
|
|
704
|
-
function
|
|
703
|
+
const je = [];
|
|
704
|
+
function Eo(e, t) {
|
|
705
705
|
return {
|
|
706
|
-
subscribe:
|
|
706
|
+
subscribe: _t(e, t).subscribe
|
|
707
707
|
};
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function _t(e, t = de) {
|
|
710
710
|
let n;
|
|
711
711
|
const r = /* @__PURE__ */ new Set();
|
|
712
712
|
function i(a) {
|
|
713
|
-
if (
|
|
714
|
-
const c = !
|
|
713
|
+
if (zr(e, a) && (e = a, n)) {
|
|
714
|
+
const c = !je.length;
|
|
715
715
|
for (const l of r)
|
|
716
|
-
l[1](),
|
|
716
|
+
l[1](), je.push(l, e);
|
|
717
717
|
if (c) {
|
|
718
|
-
for (let l = 0; l <
|
|
719
|
-
|
|
720
|
-
|
|
718
|
+
for (let l = 0; l < je.length; l += 2)
|
|
719
|
+
je[l][0](je[l + 1]);
|
|
720
|
+
je.length = 0;
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
723
|
}
|
|
@@ -732,12 +732,12 @@ function bt(e, t = de) {
|
|
|
732
732
|
}
|
|
733
733
|
return { set: i, update: o, subscribe: u };
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Ke(e, t, n) {
|
|
736
736
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
737
737
|
if (!i.every(Boolean))
|
|
738
738
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
739
739
|
const o = t.length < 2;
|
|
740
|
-
return
|
|
740
|
+
return Eo(n, (u, a) => {
|
|
741
741
|
let c = !1;
|
|
742
742
|
const l = [];
|
|
743
743
|
let f = 0, _ = de;
|
|
@@ -746,9 +746,9 @@ function et(e, t, n) {
|
|
|
746
746
|
return;
|
|
747
747
|
_();
|
|
748
748
|
const b = t(r ? l[0] : l, u, a);
|
|
749
|
-
o ? u(b) : _ =
|
|
749
|
+
o ? u(b) : _ = Vt(b) ? b : de;
|
|
750
750
|
}, M = i.map(
|
|
751
|
-
(b, d) =>
|
|
751
|
+
(b, d) => Wr(
|
|
752
752
|
b,
|
|
753
753
|
(C) => {
|
|
754
754
|
l[d] = C, f &= ~(1 << d), c && y();
|
|
@@ -759,113 +759,127 @@ function et(e, t, n) {
|
|
|
759
759
|
)
|
|
760
760
|
);
|
|
761
761
|
return c = !0, y(), function() {
|
|
762
|
-
|
|
762
|
+
He(M), _(), c = !1;
|
|
763
763
|
};
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
|
-
var
|
|
767
|
-
function
|
|
766
|
+
var ti = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
767
|
+
function Nn(e) {
|
|
768
768
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
769
769
|
}
|
|
770
|
-
var
|
|
771
|
-
return
|
|
770
|
+
var yo = function(t) {
|
|
771
|
+
return xo(t) && !To(t);
|
|
772
772
|
};
|
|
773
|
-
function
|
|
773
|
+
function xo(e) {
|
|
774
774
|
return !!e && typeof e == "object";
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function To(e) {
|
|
777
777
|
var t = Object.prototype.toString.call(e);
|
|
778
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
778
|
+
return t === "[object RegExp]" || t === "[object Date]" || wo(e);
|
|
779
779
|
}
|
|
780
|
-
var
|
|
781
|
-
function
|
|
782
|
-
return e.$$typeof ===
|
|
780
|
+
var vo = typeof Symbol == "function" && Symbol.for, So = vo ? Symbol.for("react.element") : 60103;
|
|
781
|
+
function wo(e) {
|
|
782
|
+
return e.$$typeof === So;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Ao(e) {
|
|
785
785
|
return Array.isArray(e) ? [] : {};
|
|
786
786
|
}
|
|
787
|
-
function
|
|
788
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
787
|
+
function pt(e, t) {
|
|
788
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ye(Ao(e), e, t) : e;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Oo(e, t, n) {
|
|
791
791
|
return e.concat(t).map(function(r) {
|
|
792
|
-
return
|
|
792
|
+
return pt(r, n);
|
|
793
793
|
});
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function Mo(e, t) {
|
|
796
796
|
if (!t.customMerge)
|
|
797
|
-
return
|
|
797
|
+
return Ye;
|
|
798
798
|
var n = t.customMerge(e);
|
|
799
|
-
return typeof n == "function" ? n :
|
|
799
|
+
return typeof n == "function" ? n : Ye;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function Co(e) {
|
|
802
802
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
803
803
|
return Object.propertyIsEnumerable.call(e, t);
|
|
804
804
|
}) : [];
|
|
805
805
|
}
|
|
806
|
-
function
|
|
807
|
-
return Object.keys(e).concat(
|
|
806
|
+
function lr(e) {
|
|
807
|
+
return Object.keys(e).concat(Co(e));
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function ni(e, t) {
|
|
810
810
|
try {
|
|
811
811
|
return t in e;
|
|
812
812
|
} catch {
|
|
813
813
|
return !1;
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
|
-
function
|
|
817
|
-
return
|
|
816
|
+
function Lo(e, t) {
|
|
817
|
+
return ni(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
818
818
|
}
|
|
819
|
-
function
|
|
819
|
+
function No(e, t, n) {
|
|
820
820
|
var r = {};
|
|
821
|
-
return n.isMergeableObject(e) &&
|
|
822
|
-
r[i] =
|
|
823
|
-
}),
|
|
824
|
-
|
|
821
|
+
return n.isMergeableObject(e) && lr(e).forEach(function(i) {
|
|
822
|
+
r[i] = pt(e[i], n);
|
|
823
|
+
}), lr(t).forEach(function(i) {
|
|
824
|
+
Lo(e, i) || (ni(e, i) && n.isMergeableObject(t[i]) ? r[i] = Mo(i, n)(e[i], t[i], n) : r[i] = pt(t[i], n));
|
|
825
825
|
}), r;
|
|
826
826
|
}
|
|
827
|
-
function
|
|
828
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
827
|
+
function Ye(e, t, n) {
|
|
828
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Oo, n.isMergeableObject = n.isMergeableObject || yo, n.cloneUnlessOtherwiseSpecified = pt;
|
|
829
829
|
var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
|
|
830
|
-
return o ? r ? n.arrayMerge(e, t, n) :
|
|
830
|
+
return o ? r ? n.arrayMerge(e, t, n) : No(e, t, n) : pt(t, n);
|
|
831
831
|
}
|
|
832
|
-
|
|
832
|
+
Ye.all = function(t, n) {
|
|
833
833
|
if (!Array.isArray(t))
|
|
834
834
|
throw new Error("first argument should be an array");
|
|
835
835
|
return t.reduce(function(r, i) {
|
|
836
|
-
return
|
|
836
|
+
return Ye(r, i, n);
|
|
837
837
|
}, {});
|
|
838
838
|
};
|
|
839
|
-
var
|
|
840
|
-
const
|
|
841
|
-
|
|
842
|
-
|
|
839
|
+
var Ho = Ye, Io = Ho;
|
|
840
|
+
const Po = /* @__PURE__ */ Nn(Io);
|
|
841
|
+
/*! *****************************************************************************
|
|
842
|
+
Copyright (c) Microsoft Corporation.
|
|
843
|
+
|
|
844
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
845
|
+
purpose with or without fee is hereby granted.
|
|
846
|
+
|
|
847
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
848
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
849
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
850
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
851
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
852
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
853
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
854
|
+
***************************************************************************** */
|
|
855
|
+
var En = function(e, t) {
|
|
856
|
+
return En = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
843
857
|
n.__proto__ = r;
|
|
844
858
|
} || function(n, r) {
|
|
845
859
|
for (var i in r)
|
|
846
860
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
847
|
-
},
|
|
861
|
+
}, En(e, t);
|
|
848
862
|
};
|
|
849
|
-
function
|
|
863
|
+
function Yt(e, t) {
|
|
850
864
|
if (typeof t != "function" && t !== null)
|
|
851
865
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
852
|
-
|
|
866
|
+
En(e, t);
|
|
853
867
|
function n() {
|
|
854
868
|
this.constructor = e;
|
|
855
869
|
}
|
|
856
870
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
857
871
|
}
|
|
858
|
-
var
|
|
859
|
-
return
|
|
872
|
+
var U = function() {
|
|
873
|
+
return U = Object.assign || function(t) {
|
|
860
874
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
861
875
|
n = arguments[r];
|
|
862
876
|
for (var o in n)
|
|
863
877
|
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
864
878
|
}
|
|
865
879
|
return t;
|
|
866
|
-
},
|
|
880
|
+
}, U.apply(this, arguments);
|
|
867
881
|
};
|
|
868
|
-
function
|
|
882
|
+
function Ro(e, t) {
|
|
869
883
|
var n = {};
|
|
870
884
|
for (var r in e)
|
|
871
885
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -874,43 +888,43 @@ function Bo(e, t) {
|
|
|
874
888
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
875
889
|
return n;
|
|
876
890
|
}
|
|
877
|
-
function
|
|
878
|
-
if (
|
|
891
|
+
function an(e, t, n) {
|
|
892
|
+
if (arguments.length === 2)
|
|
879
893
|
for (var r = 0, i = t.length, o; r < i; r++)
|
|
880
894
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
881
|
-
return e.concat(o ||
|
|
895
|
+
return e.concat(o || t);
|
|
882
896
|
}
|
|
883
|
-
function
|
|
884
|
-
var n = t && t.cache ? t.cache :
|
|
897
|
+
function un(e, t) {
|
|
898
|
+
var n = t && t.cache ? t.cache : Go, r = t && t.serializer ? t.serializer : ko, i = t && t.strategy ? t.strategy : $o;
|
|
885
899
|
return i(e, {
|
|
886
900
|
cache: n,
|
|
887
901
|
serializer: r
|
|
888
902
|
});
|
|
889
903
|
}
|
|
890
|
-
function
|
|
904
|
+
function Do(e) {
|
|
891
905
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
892
906
|
}
|
|
893
|
-
function
|
|
894
|
-
var i =
|
|
907
|
+
function Bo(e, t, n, r) {
|
|
908
|
+
var i = Do(r) ? r : n(r), o = t.get(i);
|
|
895
909
|
return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
|
|
896
910
|
}
|
|
897
|
-
function
|
|
911
|
+
function ri(e, t, n) {
|
|
898
912
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
|
|
899
913
|
return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
|
|
900
914
|
}
|
|
901
|
-
function
|
|
915
|
+
function ii(e, t, n, r, i) {
|
|
902
916
|
return n.bind(t, e, r, i);
|
|
903
917
|
}
|
|
904
|
-
function
|
|
905
|
-
var n = e.length === 1 ?
|
|
906
|
-
return
|
|
918
|
+
function $o(e, t) {
|
|
919
|
+
var n = e.length === 1 ? Bo : ri;
|
|
920
|
+
return ii(e, this, n, t.cache.create(), t.serializer);
|
|
907
921
|
}
|
|
908
|
-
function
|
|
909
|
-
return
|
|
922
|
+
function Uo(e, t) {
|
|
923
|
+
return ii(e, this, ri, t.cache.create(), t.serializer);
|
|
910
924
|
}
|
|
911
|
-
var
|
|
925
|
+
var ko = function() {
|
|
912
926
|
return JSON.stringify(arguments);
|
|
913
|
-
},
|
|
927
|
+
}, Fo = (
|
|
914
928
|
/** @class */
|
|
915
929
|
function() {
|
|
916
930
|
function e() {
|
|
@@ -922,71 +936,61 @@ var Go = function() {
|
|
|
922
936
|
this.cache[t] = n;
|
|
923
937
|
}, e;
|
|
924
938
|
}()
|
|
925
|
-
),
|
|
939
|
+
), Go = {
|
|
926
940
|
create: function() {
|
|
927
|
-
return new
|
|
941
|
+
return new Fo();
|
|
928
942
|
}
|
|
929
|
-
},
|
|
930
|
-
variadic:
|
|
931
|
-
},
|
|
932
|
-
return zt = Object.assign || function(t) {
|
|
933
|
-
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
934
|
-
n = arguments[r];
|
|
935
|
-
for (var o in n)
|
|
936
|
-
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
937
|
-
}
|
|
938
|
-
return t;
|
|
939
|
-
}, zt.apply(this, arguments);
|
|
940
|
-
};
|
|
941
|
-
var D;
|
|
943
|
+
}, ln = {
|
|
944
|
+
variadic: Uo
|
|
945
|
+
}, D;
|
|
942
946
|
(function(e) {
|
|
943
947
|
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";
|
|
944
948
|
})(D || (D = {}));
|
|
945
|
-
var
|
|
949
|
+
var Y;
|
|
946
950
|
(function(e) {
|
|
947
951
|
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";
|
|
948
|
-
})(
|
|
949
|
-
var
|
|
952
|
+
})(Y || (Y = {}));
|
|
953
|
+
var Ze;
|
|
950
954
|
(function(e) {
|
|
951
955
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
952
|
-
})(
|
|
953
|
-
function
|
|
954
|
-
return e.type ===
|
|
956
|
+
})(Ze || (Ze = {}));
|
|
957
|
+
function cr(e) {
|
|
958
|
+
return e.type === Y.literal;
|
|
959
|
+
}
|
|
960
|
+
function jo(e) {
|
|
961
|
+
return e.type === Y.argument;
|
|
962
|
+
}
|
|
963
|
+
function oi(e) {
|
|
964
|
+
return e.type === Y.number;
|
|
955
965
|
}
|
|
956
|
-
function
|
|
957
|
-
return e.type ===
|
|
966
|
+
function si(e) {
|
|
967
|
+
return e.type === Y.date;
|
|
958
968
|
}
|
|
959
969
|
function ai(e) {
|
|
960
|
-
return e.type ===
|
|
970
|
+
return e.type === Y.time;
|
|
961
971
|
}
|
|
962
972
|
function ui(e) {
|
|
963
|
-
return e.type ===
|
|
973
|
+
return e.type === Y.select;
|
|
964
974
|
}
|
|
965
975
|
function li(e) {
|
|
966
|
-
return e.type ===
|
|
976
|
+
return e.type === Y.plural;
|
|
977
|
+
}
|
|
978
|
+
function zo(e) {
|
|
979
|
+
return e.type === Y.pound;
|
|
967
980
|
}
|
|
968
981
|
function ci(e) {
|
|
969
|
-
return e.type ===
|
|
982
|
+
return e.type === Y.tag;
|
|
970
983
|
}
|
|
971
984
|
function fi(e) {
|
|
972
|
-
return e.type ===
|
|
973
|
-
}
|
|
974
|
-
function Vo(e) {
|
|
975
|
-
return e.type === X.pound;
|
|
985
|
+
return !!(e && typeof e == "object" && e.type === Ze.number);
|
|
976
986
|
}
|
|
977
|
-
function
|
|
978
|
-
return e.type ===
|
|
987
|
+
function yn(e) {
|
|
988
|
+
return !!(e && typeof e == "object" && e.type === Ze.dateTime);
|
|
979
989
|
}
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
}
|
|
983
|
-
function vn(e) {
|
|
984
|
-
return !!(e && typeof e == "object" && e.type === qe.dateTime);
|
|
985
|
-
}
|
|
986
|
-
var di = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xo = /(?:[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;
|
|
987
|
-
function Yo(e) {
|
|
990
|
+
var hi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wo = /(?:[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;
|
|
991
|
+
function Vo(e) {
|
|
988
992
|
var t = {};
|
|
989
|
-
return e.replace(
|
|
993
|
+
return e.replace(Wo, function(n) {
|
|
990
994
|
var r = n.length;
|
|
991
995
|
switch (n[0]) {
|
|
992
996
|
case "G":
|
|
@@ -1075,21 +1079,11 @@ function Yo(e) {
|
|
|
1075
1079
|
return "";
|
|
1076
1080
|
}), t;
|
|
1077
1081
|
}
|
|
1078
|
-
var
|
|
1079
|
-
|
|
1080
|
-
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
1081
|
-
n = arguments[r];
|
|
1082
|
-
for (var o in n)
|
|
1083
|
-
Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
1084
|
-
}
|
|
1085
|
-
return t;
|
|
1086
|
-
}, Z.apply(this, arguments);
|
|
1087
|
-
};
|
|
1088
|
-
var Zo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1089
|
-
function qo(e) {
|
|
1082
|
+
var Xo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1083
|
+
function Yo(e) {
|
|
1090
1084
|
if (e.length === 0)
|
|
1091
1085
|
throw new Error("Number skeleton cannot be empty");
|
|
1092
|
-
for (var t = e.split(
|
|
1086
|
+
for (var t = e.split(Xo).filter(function(y) {
|
|
1093
1087
|
return y.length > 0;
|
|
1094
1088
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1095
1089
|
var o = i[r], u = o.split("/");
|
|
@@ -1104,17 +1098,17 @@ function qo(e) {
|
|
|
1104
1098
|
}
|
|
1105
1099
|
return n;
|
|
1106
1100
|
}
|
|
1107
|
-
function
|
|
1101
|
+
function Zo(e) {
|
|
1108
1102
|
return e.replace(/^(.*?)-/, "");
|
|
1109
1103
|
}
|
|
1110
|
-
var
|
|
1111
|
-
function
|
|
1104
|
+
var fr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mi = /^(@+)?(\+|#+)?[rs]?$/g, qo = /(\*)(0+)|(#+)(0+)|(0+)/g, di = /^(0+)$/;
|
|
1105
|
+
function hr(e) {
|
|
1112
1106
|
var t = {};
|
|
1113
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1107
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mi, function(n, r, i) {
|
|
1114
1108
|
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)), "";
|
|
1115
1109
|
}), t;
|
|
1116
1110
|
}
|
|
1117
|
-
function
|
|
1111
|
+
function pi(e) {
|
|
1118
1112
|
switch (e) {
|
|
1119
1113
|
case "sign-auto":
|
|
1120
1114
|
return {
|
|
@@ -1154,7 +1148,7 @@ function _i(e) {
|
|
|
1154
1148
|
};
|
|
1155
1149
|
}
|
|
1156
1150
|
}
|
|
1157
|
-
function
|
|
1151
|
+
function Jo(e) {
|
|
1158
1152
|
var t;
|
|
1159
1153
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1160
1154
|
notation: "engineering"
|
|
@@ -1162,17 +1156,17 @@ function Ko(e) {
|
|
|
1162
1156
|
notation: "scientific"
|
|
1163
1157
|
}, e = e.slice(1)), t) {
|
|
1164
1158
|
var n = e.slice(0, 2);
|
|
1165
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1159
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !di.test(e))
|
|
1166
1160
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1167
1161
|
t.minimumIntegerDigits = e.length;
|
|
1168
1162
|
}
|
|
1169
1163
|
return t;
|
|
1170
1164
|
}
|
|
1171
|
-
function
|
|
1172
|
-
var t = {}, n =
|
|
1165
|
+
function mr(e) {
|
|
1166
|
+
var t = {}, n = pi(e);
|
|
1173
1167
|
return n || t;
|
|
1174
1168
|
}
|
|
1175
|
-
function
|
|
1169
|
+
function Qo(e) {
|
|
1176
1170
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1177
1171
|
var i = r[n];
|
|
1178
1172
|
switch (i.stem) {
|
|
@@ -1196,7 +1190,7 @@ function es(e) {
|
|
|
1196
1190
|
continue;
|
|
1197
1191
|
case "measure-unit":
|
|
1198
1192
|
case "unit":
|
|
1199
|
-
t.style = "unit", t.unit =
|
|
1193
|
+
t.style = "unit", t.unit = Zo(i.options[0]);
|
|
1200
1194
|
continue;
|
|
1201
1195
|
case "compact-short":
|
|
1202
1196
|
case "K":
|
|
@@ -1207,13 +1201,13 @@ function es(e) {
|
|
|
1207
1201
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1208
1202
|
continue;
|
|
1209
1203
|
case "scientific":
|
|
1210
|
-
t =
|
|
1211
|
-
return
|
|
1204
|
+
t = U(U(U({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1205
|
+
return U(U({}, c), mr(l));
|
|
1212
1206
|
}, {}));
|
|
1213
1207
|
continue;
|
|
1214
1208
|
case "engineering":
|
|
1215
|
-
t =
|
|
1216
|
-
return
|
|
1209
|
+
t = U(U(U({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1210
|
+
return U(U({}, c), mr(l));
|
|
1217
1211
|
}, {}));
|
|
1218
1212
|
continue;
|
|
1219
1213
|
case "notation-simple":
|
|
@@ -1258,7 +1252,7 @@ function es(e) {
|
|
|
1258
1252
|
case "integer-width":
|
|
1259
1253
|
if (i.options.length > 1)
|
|
1260
1254
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1261
|
-
i.options[0].replace(
|
|
1255
|
+
i.options[0].replace(qo, function(c, l, f, _, y, M) {
|
|
1262
1256
|
if (l)
|
|
1263
1257
|
t.minimumIntegerDigits = f.length;
|
|
1264
1258
|
else {
|
|
@@ -1271,32 +1265,32 @@ function es(e) {
|
|
|
1271
1265
|
});
|
|
1272
1266
|
continue;
|
|
1273
1267
|
}
|
|
1274
|
-
if (
|
|
1268
|
+
if (di.test(i.stem)) {
|
|
1275
1269
|
t.minimumIntegerDigits = i.stem.length;
|
|
1276
1270
|
continue;
|
|
1277
1271
|
}
|
|
1278
|
-
if (
|
|
1272
|
+
if (fr.test(i.stem)) {
|
|
1279
1273
|
if (i.options.length > 1)
|
|
1280
1274
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1281
|
-
i.stem.replace(
|
|
1275
|
+
i.stem.replace(fr, function(c, l, f, _, y, M) {
|
|
1282
1276
|
return f === "*" ? t.minimumFractionDigits = l.length : _ && _[0] === "#" ? t.maximumFractionDigits = _.length : y && M ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + M.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1283
1277
|
});
|
|
1284
1278
|
var o = i.options[0];
|
|
1285
|
-
o === "w" ? t =
|
|
1279
|
+
o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), hr(o)));
|
|
1286
1280
|
continue;
|
|
1287
1281
|
}
|
|
1288
|
-
if (
|
|
1289
|
-
t =
|
|
1282
|
+
if (mi.test(i.stem)) {
|
|
1283
|
+
t = U(U({}, t), hr(i.stem));
|
|
1290
1284
|
continue;
|
|
1291
1285
|
}
|
|
1292
|
-
var u =
|
|
1293
|
-
u && (t =
|
|
1294
|
-
var a =
|
|
1295
|
-
a && (t =
|
|
1286
|
+
var u = pi(i.stem);
|
|
1287
|
+
u && (t = U(U({}, t), u));
|
|
1288
|
+
var a = Jo(i.stem);
|
|
1289
|
+
a && (t = U(U({}, t), a));
|
|
1296
1290
|
}
|
|
1297
1291
|
return t;
|
|
1298
1292
|
}
|
|
1299
|
-
var
|
|
1293
|
+
var Ot = {
|
|
1300
1294
|
"001": [
|
|
1301
1295
|
"H",
|
|
1302
1296
|
"h"
|
|
@@ -2711,13 +2705,13 @@ var Mt = {
|
|
|
2711
2705
|
"h"
|
|
2712
2706
|
]
|
|
2713
2707
|
};
|
|
2714
|
-
function
|
|
2708
|
+
function Ko(e, t) {
|
|
2715
2709
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2716
2710
|
var i = e.charAt(r);
|
|
2717
2711
|
if (i === "j") {
|
|
2718
2712
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2719
2713
|
o++, r++;
|
|
2720
|
-
var u = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2714
|
+
var u = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = es(t);
|
|
2721
2715
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2722
2716
|
n += c;
|
|
2723
2717
|
for (; u-- > 0; )
|
|
@@ -2727,7 +2721,7 @@ function ts(e, t) {
|
|
|
2727
2721
|
}
|
|
2728
2722
|
return n;
|
|
2729
2723
|
}
|
|
2730
|
-
function
|
|
2724
|
+
function es(e) {
|
|
2731
2725
|
var t = e.hourCycle;
|
|
2732
2726
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2733
2727
|
e.hourCycles && // @ts-ignore
|
|
@@ -2746,23 +2740,23 @@ function ns(e) {
|
|
|
2746
2740
|
}
|
|
2747
2741
|
var n = e.language, r;
|
|
2748
2742
|
n !== "root" && (r = e.maximize().region);
|
|
2749
|
-
var i =
|
|
2743
|
+
var i = Ot[r || ""] || Ot[n || ""] || Ot["".concat(n, "-001")] || Ot["001"];
|
|
2750
2744
|
return i[0];
|
|
2751
2745
|
}
|
|
2752
|
-
var
|
|
2746
|
+
var cn, ts = new RegExp("^".concat(hi.source, "*")), ns = new RegExp("".concat(hi.source, "*$"));
|
|
2753
2747
|
function B(e, t) {
|
|
2754
2748
|
return { start: e, end: t };
|
|
2755
2749
|
}
|
|
2756
|
-
var
|
|
2750
|
+
var rs = !!String.prototype.startsWith && "_a".startsWith("a", 1), is = !!String.fromCodePoint, os = !!Object.fromEntries, ss = !!String.prototype.codePointAt, as = !!String.prototype.trimStart, us = !!String.prototype.trimEnd, ls = !!Number.isSafeInteger, cs = ls ? Number.isSafeInteger : function(e) {
|
|
2757
2751
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2758
|
-
},
|
|
2752
|
+
}, xn = !0;
|
|
2759
2753
|
try {
|
|
2760
|
-
var
|
|
2761
|
-
|
|
2754
|
+
var fs = _i("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2755
|
+
xn = ((cn = fs.exec("a")) === null || cn === void 0 ? void 0 : cn[0]) === "a";
|
|
2762
2756
|
} catch {
|
|
2763
|
-
|
|
2757
|
+
xn = !1;
|
|
2764
2758
|
}
|
|
2765
|
-
var
|
|
2759
|
+
var dr = rs ? (
|
|
2766
2760
|
// Native
|
|
2767
2761
|
function(t, n, r) {
|
|
2768
2762
|
return t.startsWith(n, r);
|
|
@@ -2772,7 +2766,7 @@ var gr = os ? (
|
|
|
2772
2766
|
function(t, n, r) {
|
|
2773
2767
|
return t.slice(r, r + n.length) === n;
|
|
2774
2768
|
}
|
|
2775
|
-
),
|
|
2769
|
+
), Tn = is ? String.fromCodePoint : (
|
|
2776
2770
|
// IE11
|
|
2777
2771
|
function() {
|
|
2778
2772
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2784,9 +2778,9 @@ var gr = os ? (
|
|
|
2784
2778
|
}
|
|
2785
2779
|
return r;
|
|
2786
2780
|
}
|
|
2787
|
-
),
|
|
2781
|
+
), pr = (
|
|
2788
2782
|
// native
|
|
2789
|
-
|
|
2783
|
+
os ? Object.fromEntries : (
|
|
2790
2784
|
// Ponyfill
|
|
2791
2785
|
function(t) {
|
|
2792
2786
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
@@ -2796,7 +2790,7 @@ var gr = os ? (
|
|
|
2796
2790
|
return n;
|
|
2797
2791
|
}
|
|
2798
2792
|
)
|
|
2799
|
-
),
|
|
2793
|
+
), gi = ss ? (
|
|
2800
2794
|
// Native
|
|
2801
2795
|
function(t, n) {
|
|
2802
2796
|
return t.codePointAt(n);
|
|
@@ -2810,7 +2804,7 @@ var gr = os ? (
|
|
|
2810
2804
|
return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2811
2805
|
}
|
|
2812
2806
|
}
|
|
2813
|
-
),
|
|
2807
|
+
), hs = as ? (
|
|
2814
2808
|
// Native
|
|
2815
2809
|
function(t) {
|
|
2816
2810
|
return t.trimStart();
|
|
@@ -2818,9 +2812,9 @@ var gr = os ? (
|
|
|
2818
2812
|
) : (
|
|
2819
2813
|
// Ponyfill
|
|
2820
2814
|
function(t) {
|
|
2821
|
-
return t.replace(
|
|
2815
|
+
return t.replace(ts, "");
|
|
2822
2816
|
}
|
|
2823
|
-
),
|
|
2817
|
+
), ms = us ? (
|
|
2824
2818
|
// Native
|
|
2825
2819
|
function(t) {
|
|
2826
2820
|
return t.trimEnd();
|
|
@@ -2828,32 +2822,32 @@ var gr = os ? (
|
|
|
2828
2822
|
) : (
|
|
2829
2823
|
// Ponyfill
|
|
2830
2824
|
function(t) {
|
|
2831
|
-
return t.replace(
|
|
2825
|
+
return t.replace(ns, "");
|
|
2832
2826
|
}
|
|
2833
2827
|
);
|
|
2834
|
-
function
|
|
2828
|
+
function _i(e, t) {
|
|
2835
2829
|
return new RegExp(e, t);
|
|
2836
2830
|
}
|
|
2837
|
-
var
|
|
2838
|
-
if (
|
|
2839
|
-
var
|
|
2840
|
-
|
|
2831
|
+
var vn;
|
|
2832
|
+
if (xn) {
|
|
2833
|
+
var gr = _i("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2834
|
+
vn = function(t, n) {
|
|
2841
2835
|
var r;
|
|
2842
|
-
|
|
2843
|
-
var i =
|
|
2836
|
+
gr.lastIndex = n;
|
|
2837
|
+
var i = gr.exec(t);
|
|
2844
2838
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2845
2839
|
};
|
|
2846
2840
|
} else
|
|
2847
|
-
|
|
2841
|
+
vn = function(t, n) {
|
|
2848
2842
|
for (var r = []; ; ) {
|
|
2849
|
-
var i =
|
|
2850
|
-
if (i === void 0 ||
|
|
2843
|
+
var i = gi(t, n);
|
|
2844
|
+
if (i === void 0 || bi(i) || _s(i))
|
|
2851
2845
|
break;
|
|
2852
2846
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2853
2847
|
}
|
|
2854
|
-
return
|
|
2848
|
+
return Tn.apply(void 0, r);
|
|
2855
2849
|
};
|
|
2856
|
-
var
|
|
2850
|
+
var ds = (
|
|
2857
2851
|
/** @class */
|
|
2858
2852
|
function() {
|
|
2859
2853
|
function e(t, n) {
|
|
@@ -2877,14 +2871,14 @@ var gs = (
|
|
|
2877
2871
|
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2878
2872
|
var a = this.clonePosition();
|
|
2879
2873
|
this.bump(), i.push({
|
|
2880
|
-
type:
|
|
2874
|
+
type: Y.pound,
|
|
2881
2875
|
location: B(a, this.clonePosition())
|
|
2882
2876
|
});
|
|
2883
2877
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2884
2878
|
if (r)
|
|
2885
2879
|
break;
|
|
2886
2880
|
return this.error(D.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
|
|
2887
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2881
|
+
} else if (o === 60 && !this.ignoreTag && Sn(this.peek() || 0)) {
|
|
2888
2882
|
var u = this.parseTag(t, n);
|
|
2889
2883
|
if (u.err)
|
|
2890
2884
|
return u;
|
|
@@ -2905,7 +2899,7 @@ var gs = (
|
|
|
2905
2899
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2906
2900
|
return {
|
|
2907
2901
|
val: {
|
|
2908
|
-
type:
|
|
2902
|
+
type: Y.literal,
|
|
2909
2903
|
value: "<".concat(i, "/>"),
|
|
2910
2904
|
location: B(r, this.clonePosition())
|
|
2911
2905
|
},
|
|
@@ -2917,12 +2911,12 @@ var gs = (
|
|
|
2917
2911
|
return o;
|
|
2918
2912
|
var u = o.val, a = this.clonePosition();
|
|
2919
2913
|
if (this.bumpIf("</")) {
|
|
2920
|
-
if (this.isEOF() || !
|
|
2914
|
+
if (this.isEOF() || !Sn(this.char()))
|
|
2921
2915
|
return this.error(D.INVALID_TAG, B(a, this.clonePosition()));
|
|
2922
2916
|
var c = this.clonePosition(), l = this.parseTagName();
|
|
2923
2917
|
return i !== l ? this.error(D.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2924
2918
|
val: {
|
|
2925
|
-
type:
|
|
2919
|
+
type: Y.tag,
|
|
2926
2920
|
value: i,
|
|
2927
2921
|
children: u,
|
|
2928
2922
|
location: B(r, this.clonePosition())
|
|
@@ -2935,7 +2929,7 @@ var gs = (
|
|
|
2935
2929
|
return this.error(D.INVALID_TAG, B(r, this.clonePosition()));
|
|
2936
2930
|
}, e.prototype.parseTagName = function() {
|
|
2937
2931
|
var t = this.offset();
|
|
2938
|
-
for (this.bump(); !this.isEOF() &&
|
|
2932
|
+
for (this.bump(); !this.isEOF() && gs(this.char()); )
|
|
2939
2933
|
this.bump();
|
|
2940
2934
|
return this.message.slice(t, this.offset());
|
|
2941
2935
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2959,12 +2953,12 @@ var gs = (
|
|
|
2959
2953
|
}
|
|
2960
2954
|
var c = B(r, this.clonePosition());
|
|
2961
2955
|
return {
|
|
2962
|
-
val: { type:
|
|
2956
|
+
val: { type: Y.literal, value: i, location: c },
|
|
2963
2957
|
err: null
|
|
2964
2958
|
};
|
|
2965
2959
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2966
2960
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2967
|
-
!
|
|
2961
|
+
!ps(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2968
2962
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2969
2963
|
if (this.isEOF() || this.char() !== 39)
|
|
2970
2964
|
return null;
|
|
@@ -2998,12 +2992,12 @@ var gs = (
|
|
|
2998
2992
|
n.push(r);
|
|
2999
2993
|
this.bump();
|
|
3000
2994
|
}
|
|
3001
|
-
return
|
|
2995
|
+
return Tn.apply(void 0, n);
|
|
3002
2996
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
3003
2997
|
if (this.isEOF())
|
|
3004
2998
|
return null;
|
|
3005
2999
|
var r = this.char();
|
|
3006
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
3000
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Tn(r));
|
|
3007
3001
|
}, e.prototype.parseArgument = function(t, n) {
|
|
3008
3002
|
var r = this.clonePosition();
|
|
3009
3003
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3019,7 +3013,7 @@ var gs = (
|
|
|
3019
3013
|
case 125:
|
|
3020
3014
|
return this.bump(), {
|
|
3021
3015
|
val: {
|
|
3022
|
-
type:
|
|
3016
|
+
type: Y.argument,
|
|
3023
3017
|
// value does not include the opening and closing braces.
|
|
3024
3018
|
value: i,
|
|
3025
3019
|
location: B(r, this.clonePosition())
|
|
@@ -3032,7 +3026,7 @@ var gs = (
|
|
|
3032
3026
|
return this.error(D.MALFORMED_ARGUMENT, B(r, this.clonePosition()));
|
|
3033
3027
|
}
|
|
3034
3028
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3035
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
3029
|
+
var t = this.clonePosition(), n = this.offset(), r = vn(this.message, n), i = n + r.length;
|
|
3036
3030
|
this.bumpTo(i);
|
|
3037
3031
|
var o = this.clonePosition(), u = B(t, o);
|
|
3038
3032
|
return { value: r, location: u };
|
|
@@ -3051,7 +3045,7 @@ var gs = (
|
|
|
3051
3045
|
var f = this.clonePosition(), _ = this.parseSimpleArgStyleIfPossible();
|
|
3052
3046
|
if (_.err)
|
|
3053
3047
|
return _;
|
|
3054
|
-
var y =
|
|
3048
|
+
var y = ms(_.val);
|
|
3055
3049
|
if (y.length === 0)
|
|
3056
3050
|
return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
3057
3051
|
var M = B(f, this.clonePosition());
|
|
@@ -3061,25 +3055,25 @@ var gs = (
|
|
|
3061
3055
|
if (b.err)
|
|
3062
3056
|
return b;
|
|
3063
3057
|
var d = B(i, this.clonePosition());
|
|
3064
|
-
if (l &&
|
|
3065
|
-
var C =
|
|
3058
|
+
if (l && dr(l?.style, "::", 0)) {
|
|
3059
|
+
var C = hs(l.style.slice(2));
|
|
3066
3060
|
if (a === "number") {
|
|
3067
3061
|
var _ = this.parseNumberSkeletonFromString(C, l.styleLocation);
|
|
3068
3062
|
return _.err ? _ : {
|
|
3069
|
-
val: { type:
|
|
3063
|
+
val: { type: Y.number, value: r, location: d, style: _.val },
|
|
3070
3064
|
err: null
|
|
3071
3065
|
};
|
|
3072
3066
|
} else {
|
|
3073
3067
|
if (C.length === 0)
|
|
3074
3068
|
return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
|
|
3075
|
-
var
|
|
3076
|
-
this.locale && (
|
|
3069
|
+
var G = C;
|
|
3070
|
+
this.locale && (G = Ko(C, this.locale));
|
|
3077
3071
|
var y = {
|
|
3078
|
-
type:
|
|
3079
|
-
pattern:
|
|
3072
|
+
type: Ze.dateTime,
|
|
3073
|
+
pattern: G,
|
|
3080
3074
|
location: l.styleLocation,
|
|
3081
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3082
|
-
}, $ = a === "date" ?
|
|
3075
|
+
parsedOptions: this.shouldParseSkeletons ? Vo(G) : {}
|
|
3076
|
+
}, $ = a === "date" ? Y.date : Y.time;
|
|
3083
3077
|
return {
|
|
3084
3078
|
val: { type: $, value: r, location: d, style: y },
|
|
3085
3079
|
err: null
|
|
@@ -3088,7 +3082,7 @@ var gs = (
|
|
|
3088
3082
|
}
|
|
3089
3083
|
return {
|
|
3090
3084
|
val: {
|
|
3091
|
-
type: a === "number" ?
|
|
3085
|
+
type: a === "number" ? Y.number : a === "date" ? Y.date : Y.time,
|
|
3092
3086
|
value: r,
|
|
3093
3087
|
location: d,
|
|
3094
3088
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3101,7 +3095,7 @@ var gs = (
|
|
|
3101
3095
|
case "select": {
|
|
3102
3096
|
var w = this.clonePosition();
|
|
3103
3097
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3104
|
-
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(w,
|
|
3098
|
+
return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(w, U({}, w)));
|
|
3105
3099
|
this.bumpSpace();
|
|
3106
3100
|
var H = this.parseIdentifierIfPossible(), R = 0;
|
|
3107
3101
|
if (a !== "select" && H.value === "offset") {
|
|
@@ -3113,29 +3107,29 @@ var gs = (
|
|
|
3113
3107
|
return _;
|
|
3114
3108
|
this.bumpSpace(), H = this.parseIdentifierIfPossible(), R = _.val;
|
|
3115
3109
|
}
|
|
3116
|
-
var
|
|
3117
|
-
if (
|
|
3118
|
-
return
|
|
3110
|
+
var k = this.tryParsePluralOrSelectOptions(t, a, n, H);
|
|
3111
|
+
if (k.err)
|
|
3112
|
+
return k;
|
|
3119
3113
|
var b = this.tryParseArgumentClose(i);
|
|
3120
3114
|
if (b.err)
|
|
3121
3115
|
return b;
|
|
3122
|
-
var
|
|
3116
|
+
var Z = B(i, this.clonePosition());
|
|
3123
3117
|
return a === "select" ? {
|
|
3124
3118
|
val: {
|
|
3125
|
-
type:
|
|
3119
|
+
type: Y.select,
|
|
3126
3120
|
value: r,
|
|
3127
|
-
options:
|
|
3128
|
-
location:
|
|
3121
|
+
options: pr(k.val),
|
|
3122
|
+
location: Z
|
|
3129
3123
|
},
|
|
3130
3124
|
err: null
|
|
3131
3125
|
} : {
|
|
3132
3126
|
val: {
|
|
3133
|
-
type:
|
|
3127
|
+
type: Y.plural,
|
|
3134
3128
|
value: r,
|
|
3135
|
-
options:
|
|
3129
|
+
options: pr(k.val),
|
|
3136
3130
|
offset: R,
|
|
3137
3131
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3138
|
-
location:
|
|
3132
|
+
location: Z
|
|
3139
3133
|
},
|
|
3140
3134
|
err: null
|
|
3141
3135
|
};
|
|
@@ -3183,16 +3177,16 @@ var gs = (
|
|
|
3183
3177
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3184
3178
|
var r = [];
|
|
3185
3179
|
try {
|
|
3186
|
-
r =
|
|
3180
|
+
r = Yo(t);
|
|
3187
3181
|
} catch {
|
|
3188
3182
|
return this.error(D.INVALID_NUMBER_SKELETON, n);
|
|
3189
3183
|
}
|
|
3190
3184
|
return {
|
|
3191
3185
|
val: {
|
|
3192
|
-
type:
|
|
3186
|
+
type: Ze.number,
|
|
3193
3187
|
tokens: r,
|
|
3194
3188
|
location: n,
|
|
3195
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3189
|
+
parsedOptions: this.shouldParseSkeletons ? Qo(r) : {}
|
|
3196
3190
|
},
|
|
3197
3191
|
err: null
|
|
3198
3192
|
};
|
|
@@ -3240,7 +3234,7 @@ var gs = (
|
|
|
3240
3234
|
break;
|
|
3241
3235
|
}
|
|
3242
3236
|
var c = B(i, this.clonePosition());
|
|
3243
|
-
return o ? (u *= r,
|
|
3237
|
+
return o ? (u *= r, cs(u) ? { val: u, err: null } : this.error(n, c)) : this.error(t, c);
|
|
3244
3238
|
}, e.prototype.offset = function() {
|
|
3245
3239
|
return this.position.offset;
|
|
3246
3240
|
}, e.prototype.isEOF = function() {
|
|
@@ -3255,7 +3249,7 @@ var gs = (
|
|
|
3255
3249
|
var t = this.position.offset;
|
|
3256
3250
|
if (t >= this.message.length)
|
|
3257
3251
|
throw Error("out of bound");
|
|
3258
|
-
var n =
|
|
3252
|
+
var n = gi(this.message, t);
|
|
3259
3253
|
if (n === void 0)
|
|
3260
3254
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3261
3255
|
return n;
|
|
@@ -3274,7 +3268,7 @@ var gs = (
|
|
|
3274
3268
|
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);
|
|
3275
3269
|
}
|
|
3276
3270
|
}, e.prototype.bumpIf = function(t) {
|
|
3277
|
-
if (
|
|
3271
|
+
if (dr(this.message, t, this.offset())) {
|
|
3278
3272
|
for (var n = 0; n < t.length; n++)
|
|
3279
3273
|
this.bump();
|
|
3280
3274
|
return !0;
|
|
@@ -3296,7 +3290,7 @@ var gs = (
|
|
|
3296
3290
|
break;
|
|
3297
3291
|
}
|
|
3298
3292
|
}, e.prototype.bumpSpace = function() {
|
|
3299
|
-
for (; !this.isEOF() &&
|
|
3293
|
+
for (; !this.isEOF() && bi(this.char()); )
|
|
3300
3294
|
this.bump();
|
|
3301
3295
|
}, e.prototype.peek = function() {
|
|
3302
3296
|
if (this.isEOF())
|
|
@@ -3306,47 +3300,47 @@ var gs = (
|
|
|
3306
3300
|
}, e;
|
|
3307
3301
|
}()
|
|
3308
3302
|
);
|
|
3309
|
-
function
|
|
3303
|
+
function Sn(e) {
|
|
3310
3304
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3311
3305
|
}
|
|
3312
|
-
function
|
|
3313
|
-
return
|
|
3306
|
+
function ps(e) {
|
|
3307
|
+
return Sn(e) || e === 47;
|
|
3314
3308
|
}
|
|
3315
|
-
function
|
|
3309
|
+
function gs(e) {
|
|
3316
3310
|
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;
|
|
3317
3311
|
}
|
|
3318
|
-
function
|
|
3312
|
+
function bi(e) {
|
|
3319
3313
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3320
3314
|
}
|
|
3321
|
-
function
|
|
3315
|
+
function _s(e) {
|
|
3322
3316
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3323
3317
|
}
|
|
3324
|
-
function
|
|
3318
|
+
function wn(e) {
|
|
3325
3319
|
e.forEach(function(t) {
|
|
3326
|
-
if (delete t.location,
|
|
3320
|
+
if (delete t.location, ui(t) || li(t))
|
|
3327
3321
|
for (var n in t.options)
|
|
3328
|
-
delete t.options[n].location,
|
|
3322
|
+
delete t.options[n].location, wn(t.options[n].value);
|
|
3329
3323
|
else
|
|
3330
|
-
|
|
3324
|
+
oi(t) && fi(t.style) || (si(t) || ai(t)) && yn(t.style) ? delete t.style.location : ci(t) && wn(t.children);
|
|
3331
3325
|
});
|
|
3332
3326
|
}
|
|
3333
|
-
function
|
|
3334
|
-
t === void 0 && (t = {}), t =
|
|
3335
|
-
var n = new
|
|
3327
|
+
function bs(e, t) {
|
|
3328
|
+
t === void 0 && (t = {}), t = U({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3329
|
+
var n = new ds(e, t).parse();
|
|
3336
3330
|
if (n.err) {
|
|
3337
3331
|
var r = SyntaxError(D[n.err.kind]);
|
|
3338
3332
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3339
3333
|
}
|
|
3340
|
-
return t?.captureLocation ||
|
|
3334
|
+
return t?.captureLocation || wn(n.val), n.val;
|
|
3341
3335
|
}
|
|
3342
|
-
var
|
|
3336
|
+
var qe;
|
|
3343
3337
|
(function(e) {
|
|
3344
3338
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3345
|
-
})(
|
|
3346
|
-
var
|
|
3339
|
+
})(qe || (qe = {}));
|
|
3340
|
+
var Zt = (
|
|
3347
3341
|
/** @class */
|
|
3348
3342
|
function(e) {
|
|
3349
|
-
|
|
3343
|
+
Yt(t, e);
|
|
3350
3344
|
function t(n, r, i) {
|
|
3351
3345
|
var o = e.call(this, n) || this;
|
|
3352
3346
|
return o.code = r, o.originalMessage = i, o;
|
|
@@ -3355,48 +3349,48 @@ var Jt = (
|
|
|
3355
3349
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3356
3350
|
}, t;
|
|
3357
3351
|
}(Error)
|
|
3358
|
-
),
|
|
3352
|
+
), _r = (
|
|
3359
3353
|
/** @class */
|
|
3360
3354
|
function(e) {
|
|
3361
|
-
|
|
3355
|
+
Yt(t, e);
|
|
3362
3356
|
function t(n, r, i, o) {
|
|
3363
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3357
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), qe.INVALID_VALUE, o) || this;
|
|
3364
3358
|
}
|
|
3365
3359
|
return t;
|
|
3366
|
-
}(
|
|
3367
|
-
),
|
|
3360
|
+
}(Zt)
|
|
3361
|
+
), Es = (
|
|
3368
3362
|
/** @class */
|
|
3369
3363
|
function(e) {
|
|
3370
|
-
|
|
3364
|
+
Yt(t, e);
|
|
3371
3365
|
function t(n, r, i) {
|
|
3372
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3366
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), qe.INVALID_VALUE, i) || this;
|
|
3373
3367
|
}
|
|
3374
3368
|
return t;
|
|
3375
|
-
}(
|
|
3376
|
-
),
|
|
3369
|
+
}(Zt)
|
|
3370
|
+
), ys = (
|
|
3377
3371
|
/** @class */
|
|
3378
3372
|
function(e) {
|
|
3379
|
-
|
|
3373
|
+
Yt(t, e);
|
|
3380
3374
|
function t(n, r) {
|
|
3381
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3375
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), qe.MISSING_VALUE, r) || this;
|
|
3382
3376
|
}
|
|
3383
3377
|
return t;
|
|
3384
|
-
}(
|
|
3378
|
+
}(Zt)
|
|
3385
3379
|
), ce;
|
|
3386
3380
|
(function(e) {
|
|
3387
3381
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3388
3382
|
})(ce || (ce = {}));
|
|
3389
|
-
function
|
|
3383
|
+
function xs(e) {
|
|
3390
3384
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3391
3385
|
var r = t[t.length - 1];
|
|
3392
3386
|
return !r || r.type !== ce.literal || n.type !== ce.literal ? t.push(n) : r.value += n.value, t;
|
|
3393
3387
|
}, []);
|
|
3394
3388
|
}
|
|
3395
|
-
function
|
|
3389
|
+
function Ts(e) {
|
|
3396
3390
|
return typeof e == "function";
|
|
3397
3391
|
}
|
|
3398
|
-
function
|
|
3399
|
-
if (e.length === 1 &&
|
|
3392
|
+
function Dt(e, t, n, r, i, o, u) {
|
|
3393
|
+
if (e.length === 1 && cr(e[0]))
|
|
3400
3394
|
return [
|
|
3401
3395
|
{
|
|
3402
3396
|
type: ce.literal,
|
|
@@ -3405,14 +3399,14 @@ function Bt(e, t, n, r, i, o, u) {
|
|
|
3405
3399
|
];
|
|
3406
3400
|
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3407
3401
|
var f = l[c];
|
|
3408
|
-
if (
|
|
3402
|
+
if (cr(f)) {
|
|
3409
3403
|
a.push({
|
|
3410
3404
|
type: ce.literal,
|
|
3411
3405
|
value: f.value
|
|
3412
3406
|
});
|
|
3413
3407
|
continue;
|
|
3414
3408
|
}
|
|
3415
|
-
if (
|
|
3409
|
+
if (zo(f)) {
|
|
3416
3410
|
typeof o == "number" && a.push({
|
|
3417
3411
|
type: ce.literal,
|
|
3418
3412
|
value: n.getNumberFormat(t).format(o)
|
|
@@ -3421,44 +3415,44 @@ function Bt(e, t, n, r, i, o, u) {
|
|
|
3421
3415
|
}
|
|
3422
3416
|
var _ = f.value;
|
|
3423
3417
|
if (!(i && _ in i))
|
|
3424
|
-
throw new
|
|
3418
|
+
throw new ys(_, u);
|
|
3425
3419
|
var y = i[_];
|
|
3426
|
-
if (
|
|
3420
|
+
if (jo(f)) {
|
|
3427
3421
|
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), a.push({
|
|
3428
3422
|
type: typeof y == "string" ? ce.literal : ce.object,
|
|
3429
3423
|
value: y
|
|
3430
3424
|
});
|
|
3431
3425
|
continue;
|
|
3432
3426
|
}
|
|
3433
|
-
if (
|
|
3434
|
-
var M = typeof f.style == "string" ? r.date[f.style] :
|
|
3427
|
+
if (si(f)) {
|
|
3428
|
+
var M = typeof f.style == "string" ? r.date[f.style] : yn(f.style) ? f.style.parsedOptions : void 0;
|
|
3435
3429
|
a.push({
|
|
3436
3430
|
type: ce.literal,
|
|
3437
3431
|
value: n.getDateTimeFormat(t, M).format(y)
|
|
3438
3432
|
});
|
|
3439
3433
|
continue;
|
|
3440
3434
|
}
|
|
3441
|
-
if (
|
|
3442
|
-
var M = typeof f.style == "string" ? r.time[f.style] :
|
|
3435
|
+
if (ai(f)) {
|
|
3436
|
+
var M = typeof f.style == "string" ? r.time[f.style] : yn(f.style) ? f.style.parsedOptions : r.time.medium;
|
|
3443
3437
|
a.push({
|
|
3444
3438
|
type: ce.literal,
|
|
3445
3439
|
value: n.getDateTimeFormat(t, M).format(y)
|
|
3446
3440
|
});
|
|
3447
3441
|
continue;
|
|
3448
3442
|
}
|
|
3449
|
-
if (
|
|
3450
|
-
var M = typeof f.style == "string" ? r.number[f.style] :
|
|
3443
|
+
if (oi(f)) {
|
|
3444
|
+
var M = typeof f.style == "string" ? r.number[f.style] : fi(f.style) ? f.style.parsedOptions : void 0;
|
|
3451
3445
|
M && M.scale && (y = y * (M.scale || 1)), a.push({
|
|
3452
3446
|
type: ce.literal,
|
|
3453
3447
|
value: n.getNumberFormat(t, M).format(y)
|
|
3454
3448
|
});
|
|
3455
3449
|
continue;
|
|
3456
3450
|
}
|
|
3457
|
-
if (
|
|
3451
|
+
if (ci(f)) {
|
|
3458
3452
|
var b = f.children, d = f.value, C = i[d];
|
|
3459
|
-
if (!
|
|
3460
|
-
throw new
|
|
3461
|
-
var
|
|
3453
|
+
if (!Ts(C))
|
|
3454
|
+
throw new Es(d, "function", u);
|
|
3455
|
+
var G = Dt(b, t, n, r, i, o), $ = C(G.map(function(R) {
|
|
3462
3456
|
return R.value;
|
|
3463
3457
|
}));
|
|
3464
3458
|
Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(R) {
|
|
@@ -3468,42 +3462,42 @@ function Bt(e, t, n, r, i, o, u) {
|
|
|
3468
3462
|
};
|
|
3469
3463
|
}));
|
|
3470
3464
|
}
|
|
3471
|
-
if (
|
|
3465
|
+
if (ui(f)) {
|
|
3472
3466
|
var w = f.options[y] || f.options.other;
|
|
3473
3467
|
if (!w)
|
|
3474
|
-
throw new
|
|
3475
|
-
a.push.apply(a,
|
|
3468
|
+
throw new _r(f.value, y, Object.keys(f.options), u);
|
|
3469
|
+
a.push.apply(a, Dt(w.value, t, n, r, i));
|
|
3476
3470
|
continue;
|
|
3477
3471
|
}
|
|
3478
|
-
if (
|
|
3472
|
+
if (li(f)) {
|
|
3479
3473
|
var w = f.options["=".concat(y)];
|
|
3480
3474
|
if (!w) {
|
|
3481
3475
|
if (!Intl.PluralRules)
|
|
3482
|
-
throw new
|
|
3476
|
+
throw new Zt(`Intl.PluralRules is not available in this environment.
|
|
3483
3477
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3484
|
-
`,
|
|
3478
|
+
`, qe.MISSING_INTL_API, u);
|
|
3485
3479
|
var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
|
|
3486
3480
|
w = f.options[H] || f.options.other;
|
|
3487
3481
|
}
|
|
3488
3482
|
if (!w)
|
|
3489
|
-
throw new
|
|
3490
|
-
a.push.apply(a,
|
|
3483
|
+
throw new _r(f.value, y, Object.keys(f.options), u);
|
|
3484
|
+
a.push.apply(a, Dt(w.value, t, n, r, i, y - (f.offset || 0)));
|
|
3491
3485
|
continue;
|
|
3492
3486
|
}
|
|
3493
3487
|
}
|
|
3494
|
-
return
|
|
3488
|
+
return xs(a);
|
|
3495
3489
|
}
|
|
3496
|
-
function
|
|
3497
|
-
return t ?
|
|
3498
|
-
return n[r] =
|
|
3490
|
+
function vs(e, t) {
|
|
3491
|
+
return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3492
|
+
return n[r] = U(U({}, e[r]), t[r] || {}), n;
|
|
3499
3493
|
}, {})) : e;
|
|
3500
3494
|
}
|
|
3501
|
-
function
|
|
3495
|
+
function Ss(e, t) {
|
|
3502
3496
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3503
|
-
return n[r] =
|
|
3504
|
-
},
|
|
3497
|
+
return n[r] = vs(e[r], t[r]), n;
|
|
3498
|
+
}, U({}, e)) : e;
|
|
3505
3499
|
}
|
|
3506
|
-
function
|
|
3500
|
+
function fn(e) {
|
|
3507
3501
|
return {
|
|
3508
3502
|
create: function() {
|
|
3509
3503
|
return {
|
|
@@ -3517,39 +3511,39 @@ function mn(e) {
|
|
|
3517
3511
|
}
|
|
3518
3512
|
};
|
|
3519
3513
|
}
|
|
3520
|
-
function
|
|
3514
|
+
function ws(e) {
|
|
3521
3515
|
return e === void 0 && (e = {
|
|
3522
3516
|
number: {},
|
|
3523
3517
|
dateTime: {},
|
|
3524
3518
|
pluralRules: {}
|
|
3525
3519
|
}), {
|
|
3526
|
-
getNumberFormat:
|
|
3520
|
+
getNumberFormat: un(function() {
|
|
3527
3521
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3528
3522
|
n[r] = arguments[r];
|
|
3529
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3523
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, an([void 0], n, !1)))();
|
|
3530
3524
|
}, {
|
|
3531
|
-
cache:
|
|
3532
|
-
strategy:
|
|
3525
|
+
cache: fn(e.number),
|
|
3526
|
+
strategy: ln.variadic
|
|
3533
3527
|
}),
|
|
3534
|
-
getDateTimeFormat:
|
|
3528
|
+
getDateTimeFormat: un(function() {
|
|
3535
3529
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3536
3530
|
n[r] = arguments[r];
|
|
3537
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3531
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, an([void 0], n, !1)))();
|
|
3538
3532
|
}, {
|
|
3539
|
-
cache:
|
|
3540
|
-
strategy:
|
|
3533
|
+
cache: fn(e.dateTime),
|
|
3534
|
+
strategy: ln.variadic
|
|
3541
3535
|
}),
|
|
3542
|
-
getPluralRules:
|
|
3536
|
+
getPluralRules: un(function() {
|
|
3543
3537
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3544
3538
|
n[r] = arguments[r];
|
|
3545
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3539
|
+
return new ((t = Intl.PluralRules).bind.apply(t, an([void 0], n, !1)))();
|
|
3546
3540
|
}, {
|
|
3547
|
-
cache:
|
|
3548
|
-
strategy:
|
|
3541
|
+
cache: fn(e.pluralRules),
|
|
3542
|
+
strategy: ln.variadic
|
|
3549
3543
|
})
|
|
3550
3544
|
};
|
|
3551
3545
|
}
|
|
3552
|
-
var
|
|
3546
|
+
var Ei = (
|
|
3553
3547
|
/** @class */
|
|
3554
3548
|
function() {
|
|
3555
3549
|
function e(t, n, r, i) {
|
|
@@ -3568,7 +3562,7 @@ var xi = (
|
|
|
3568
3562
|
}, []);
|
|
3569
3563
|
return f.length <= 1 ? f[0] || "" : f;
|
|
3570
3564
|
}, this.formatToParts = function(c) {
|
|
3571
|
-
return
|
|
3565
|
+
return Dt(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
|
|
3572
3566
|
}, this.resolvedOptions = function() {
|
|
3573
3567
|
var c;
|
|
3574
3568
|
return {
|
|
@@ -3581,13 +3575,13 @@ var xi = (
|
|
|
3581
3575
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3582
3576
|
var u = i || {};
|
|
3583
3577
|
u.formatters;
|
|
3584
|
-
var a =
|
|
3585
|
-
this.ast = e.__parse(t,
|
|
3578
|
+
var a = Ro(u, ["formatters"]);
|
|
3579
|
+
this.ast = e.__parse(t, U(U({}, a), { locale: this.resolvedLocale }));
|
|
3586
3580
|
} else
|
|
3587
3581
|
this.ast = t;
|
|
3588
3582
|
if (!Array.isArray(this.ast))
|
|
3589
3583
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3590
|
-
this.formats =
|
|
3584
|
+
this.formats = Ss(e.formats, r), this.formatters = i && i.formatters || ws(this.formatterCache);
|
|
3591
3585
|
}
|
|
3592
3586
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3593
3587
|
get: function() {
|
|
@@ -3600,7 +3594,7 @@ var xi = (
|
|
|
3600
3594
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3601
3595
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3602
3596
|
}
|
|
3603
|
-
}, e.__parse =
|
|
3597
|
+
}, e.__parse = bs, e.formats = {
|
|
3604
3598
|
number: {
|
|
3605
3599
|
integer: {
|
|
3606
3600
|
maximumFractionDigits: 0
|
|
@@ -3661,7 +3655,7 @@ var xi = (
|
|
|
3661
3655
|
}, e;
|
|
3662
3656
|
}()
|
|
3663
3657
|
);
|
|
3664
|
-
function
|
|
3658
|
+
function As(e, t) {
|
|
3665
3659
|
if (t == null)
|
|
3666
3660
|
return;
|
|
3667
3661
|
if (t in e)
|
|
@@ -3682,101 +3676,101 @@ function Ms(e, t) {
|
|
|
3682
3676
|
r = void 0;
|
|
3683
3677
|
return r;
|
|
3684
3678
|
}
|
|
3685
|
-
const
|
|
3679
|
+
const Ne = {}, Os = (e, t, n) => n && (t in Ne || (Ne[t] = {}), e in Ne[t] || (Ne[t][e] = n), n), yi = (e, t) => {
|
|
3686
3680
|
if (t == null)
|
|
3687
3681
|
return;
|
|
3688
|
-
if (t in
|
|
3689
|
-
return
|
|
3690
|
-
const n =
|
|
3682
|
+
if (t in Ne && e in Ne[t])
|
|
3683
|
+
return Ne[t][e];
|
|
3684
|
+
const n = Et(t);
|
|
3691
3685
|
for (let r = 0; r < n.length; r++) {
|
|
3692
|
-
const i = n[r], o =
|
|
3686
|
+
const i = n[r], o = Cs(i, e);
|
|
3693
3687
|
if (o)
|
|
3694
|
-
return
|
|
3688
|
+
return Os(e, t, o);
|
|
3695
3689
|
}
|
|
3696
3690
|
};
|
|
3697
|
-
let
|
|
3698
|
-
const
|
|
3699
|
-
function
|
|
3700
|
-
return
|
|
3691
|
+
let Hn;
|
|
3692
|
+
const bt = _t({});
|
|
3693
|
+
function Ms(e) {
|
|
3694
|
+
return Hn[e] || null;
|
|
3701
3695
|
}
|
|
3702
|
-
function
|
|
3703
|
-
return e in
|
|
3696
|
+
function xi(e) {
|
|
3697
|
+
return e in Hn;
|
|
3704
3698
|
}
|
|
3705
|
-
function
|
|
3706
|
-
if (!
|
|
3699
|
+
function Cs(e, t) {
|
|
3700
|
+
if (!xi(e))
|
|
3707
3701
|
return null;
|
|
3708
|
-
const n =
|
|
3709
|
-
return
|
|
3702
|
+
const n = Ms(e);
|
|
3703
|
+
return As(n, t);
|
|
3710
3704
|
}
|
|
3711
|
-
function
|
|
3705
|
+
function Ls(e) {
|
|
3712
3706
|
if (e == null)
|
|
3713
3707
|
return;
|
|
3714
|
-
const t =
|
|
3708
|
+
const t = Et(e);
|
|
3715
3709
|
for (let n = 0; n < t.length; n++) {
|
|
3716
3710
|
const r = t[n];
|
|
3717
|
-
if (
|
|
3711
|
+
if (xi(r))
|
|
3718
3712
|
return r;
|
|
3719
3713
|
}
|
|
3720
3714
|
}
|
|
3721
|
-
function
|
|
3722
|
-
delete
|
|
3715
|
+
function Ti(e, ...t) {
|
|
3716
|
+
delete Ne[e], bt.update((n) => (n[e] = Po.all([n[e] || {}, ...t]), n));
|
|
3723
3717
|
}
|
|
3724
|
-
|
|
3725
|
-
[
|
|
3718
|
+
Ke(
|
|
3719
|
+
[bt],
|
|
3726
3720
|
([e]) => Object.keys(e)
|
|
3727
3721
|
);
|
|
3728
|
-
|
|
3729
|
-
const
|
|
3730
|
-
function
|
|
3731
|
-
|
|
3722
|
+
bt.subscribe((e) => Hn = e);
|
|
3723
|
+
const Bt = {};
|
|
3724
|
+
function Ns(e, t) {
|
|
3725
|
+
Bt[e].delete(t), Bt[e].size === 0 && delete Bt[e];
|
|
3732
3726
|
}
|
|
3733
|
-
function
|
|
3734
|
-
return
|
|
3727
|
+
function vi(e) {
|
|
3728
|
+
return Bt[e];
|
|
3735
3729
|
}
|
|
3736
|
-
function
|
|
3737
|
-
return
|
|
3738
|
-
const n =
|
|
3730
|
+
function Hs(e) {
|
|
3731
|
+
return Et(e).map((t) => {
|
|
3732
|
+
const n = vi(t);
|
|
3739
3733
|
return [t, n ? [...n] : []];
|
|
3740
3734
|
}).filter(([, t]) => t.length > 0);
|
|
3741
3735
|
}
|
|
3742
|
-
function
|
|
3743
|
-
return e == null ? !1 :
|
|
3736
|
+
function jt(e) {
|
|
3737
|
+
return e == null ? !1 : Et(e).some(
|
|
3744
3738
|
(t) => {
|
|
3745
3739
|
var n;
|
|
3746
|
-
return (n =
|
|
3740
|
+
return (n = vi(t)) == null ? void 0 : n.size;
|
|
3747
3741
|
}
|
|
3748
3742
|
);
|
|
3749
3743
|
}
|
|
3750
|
-
function
|
|
3744
|
+
function Is(e, t) {
|
|
3751
3745
|
return Promise.all(
|
|
3752
|
-
t.map((r) => (
|
|
3753
|
-
).then((r) =>
|
|
3754
|
-
}
|
|
3755
|
-
const
|
|
3756
|
-
function
|
|
3757
|
-
if (!
|
|
3758
|
-
return e in
|
|
3759
|
-
const t =
|
|
3760
|
-
return
|
|
3746
|
+
t.map((r) => (Ns(e, r), r().then((i) => i.default || i)))
|
|
3747
|
+
).then((r) => Ti(e, ...r));
|
|
3748
|
+
}
|
|
3749
|
+
const ot = {};
|
|
3750
|
+
function Si(e) {
|
|
3751
|
+
if (!jt(e))
|
|
3752
|
+
return e in ot ? ot[e] : Promise.resolve();
|
|
3753
|
+
const t = Hs(e);
|
|
3754
|
+
return ot[e] = Promise.all(
|
|
3761
3755
|
t.map(
|
|
3762
|
-
([n, r]) =>
|
|
3756
|
+
([n, r]) => Is(n, r)
|
|
3763
3757
|
)
|
|
3764
3758
|
).then(() => {
|
|
3765
|
-
if (
|
|
3766
|
-
return
|
|
3767
|
-
delete
|
|
3768
|
-
}),
|
|
3759
|
+
if (jt(e))
|
|
3760
|
+
return Si(e);
|
|
3761
|
+
delete ot[e];
|
|
3762
|
+
}), ot[e];
|
|
3769
3763
|
}
|
|
3770
|
-
var
|
|
3764
|
+
var br = Object.getOwnPropertySymbols, Ps = Object.prototype.hasOwnProperty, Rs = Object.prototype.propertyIsEnumerable, Ds = (e, t) => {
|
|
3771
3765
|
var n = {};
|
|
3772
3766
|
for (var r in e)
|
|
3773
|
-
|
|
3774
|
-
if (e != null &&
|
|
3775
|
-
for (var r of
|
|
3776
|
-
t.indexOf(r) < 0 &&
|
|
3767
|
+
Ps.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3768
|
+
if (e != null && br)
|
|
3769
|
+
for (var r of br(e))
|
|
3770
|
+
t.indexOf(r) < 0 && Rs.call(e, r) && (n[r] = e[r]);
|
|
3777
3771
|
return n;
|
|
3778
3772
|
};
|
|
3779
|
-
const
|
|
3773
|
+
const Bs = {
|
|
3780
3774
|
number: {
|
|
3781
3775
|
scientific: { notation: "scientific" },
|
|
3782
3776
|
engineering: { notation: "engineering" },
|
|
@@ -3806,174 +3800,174 @@ const Us = {
|
|
|
3806
3800
|
}
|
|
3807
3801
|
}
|
|
3808
3802
|
};
|
|
3809
|
-
function
|
|
3803
|
+
function $s({ locale: e, id: t }) {
|
|
3810
3804
|
console.warn(
|
|
3811
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3805
|
+
`[svelte-i18n] The message "${t}" was not found in "${Et(
|
|
3812
3806
|
e
|
|
3813
|
-
).join('", "')}".${
|
|
3807
|
+
).join('", "')}".${jt(Ie()) ? `
|
|
3814
3808
|
|
|
3815
3809
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3816
3810
|
);
|
|
3817
3811
|
}
|
|
3818
|
-
const
|
|
3812
|
+
const Us = {
|
|
3819
3813
|
fallbackLocale: null,
|
|
3820
3814
|
loadingDelay: 200,
|
|
3821
|
-
formats:
|
|
3815
|
+
formats: Bs,
|
|
3822
3816
|
warnOnMissingMessages: !0,
|
|
3823
3817
|
handleMissingMessage: void 0,
|
|
3824
3818
|
ignoreTag: !0
|
|
3825
|
-
},
|
|
3826
|
-
function
|
|
3827
|
-
return
|
|
3819
|
+
}, ht = Us;
|
|
3820
|
+
function Je() {
|
|
3821
|
+
return ht;
|
|
3828
3822
|
}
|
|
3829
|
-
function
|
|
3830
|
-
const t = e, { formats: n } = t, r =
|
|
3823
|
+
function ks(e) {
|
|
3824
|
+
const t = e, { formats: n } = t, r = Ds(t, ["formats"]);
|
|
3831
3825
|
let i = e.fallbackLocale;
|
|
3832
3826
|
if (e.initialLocale)
|
|
3833
3827
|
try {
|
|
3834
|
-
|
|
3828
|
+
Ei.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3835
3829
|
} catch {
|
|
3836
3830
|
console.warn(
|
|
3837
3831
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3838
3832
|
);
|
|
3839
3833
|
}
|
|
3840
|
-
return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage =
|
|
3834
|
+
return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = $s : console.warn(
|
|
3841
3835
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3842
|
-
)), Object.assign(
|
|
3836
|
+
)), Object.assign(ht, r, { initialLocale: i }), n && ("number" in n && Object.assign(ht.formats.number, n.number), "date" in n && Object.assign(ht.formats.date, n.date), "time" in n && Object.assign(ht.formats.time, n.time)), De.set(i);
|
|
3843
3837
|
}
|
|
3844
|
-
const
|
|
3845
|
-
var
|
|
3838
|
+
const hn = _t(!1);
|
|
3839
|
+
var Fs = Object.defineProperty, Gs = Object.defineProperties, js = Object.getOwnPropertyDescriptors, Er = Object.getOwnPropertySymbols, zs = Object.prototype.hasOwnProperty, Ws = Object.prototype.propertyIsEnumerable, yr = (e, t, n) => t in e ? Fs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Vs = (e, t) => {
|
|
3846
3840
|
for (var n in t || (t = {}))
|
|
3847
|
-
|
|
3848
|
-
if (
|
|
3849
|
-
for (var n of
|
|
3850
|
-
|
|
3841
|
+
zs.call(t, n) && yr(e, n, t[n]);
|
|
3842
|
+
if (Er)
|
|
3843
|
+
for (var n of Er(t))
|
|
3844
|
+
Ws.call(t, n) && yr(e, n, t[n]);
|
|
3851
3845
|
return e;
|
|
3852
|
-
},
|
|
3853
|
-
let
|
|
3854
|
-
const
|
|
3855
|
-
function
|
|
3846
|
+
}, Xs = (e, t) => Gs(e, js(t));
|
|
3847
|
+
let An;
|
|
3848
|
+
const zt = _t(null);
|
|
3849
|
+
function xr(e) {
|
|
3856
3850
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3857
3851
|
}
|
|
3858
|
-
function
|
|
3859
|
-
const n =
|
|
3860
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3852
|
+
function Et(e, t = Je().fallbackLocale) {
|
|
3853
|
+
const n = xr(e);
|
|
3854
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...xr(t)])] : n;
|
|
3861
3855
|
}
|
|
3862
|
-
function
|
|
3863
|
-
return
|
|
3856
|
+
function Ie() {
|
|
3857
|
+
return An ?? void 0;
|
|
3864
3858
|
}
|
|
3865
|
-
|
|
3866
|
-
|
|
3859
|
+
zt.subscribe((e) => {
|
|
3860
|
+
An = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3867
3861
|
});
|
|
3868
|
-
const
|
|
3869
|
-
if (e &&
|
|
3870
|
-
const { loadingDelay: t } =
|
|
3862
|
+
const Ys = (e) => {
|
|
3863
|
+
if (e && Ls(e) && jt(e)) {
|
|
3864
|
+
const { loadingDelay: t } = Je();
|
|
3871
3865
|
let n;
|
|
3872
|
-
return typeof window < "u" &&
|
|
3873
|
-
() =>
|
|
3866
|
+
return typeof window < "u" && Ie() != null && t ? n = window.setTimeout(
|
|
3867
|
+
() => hn.set(!0),
|
|
3874
3868
|
t
|
|
3875
|
-
) :
|
|
3876
|
-
|
|
3869
|
+
) : hn.set(!0), Si(e).then(() => {
|
|
3870
|
+
zt.set(e);
|
|
3877
3871
|
}).finally(() => {
|
|
3878
|
-
clearTimeout(n),
|
|
3872
|
+
clearTimeout(n), hn.set(!1);
|
|
3879
3873
|
});
|
|
3880
3874
|
}
|
|
3881
|
-
return
|
|
3882
|
-
},
|
|
3883
|
-
set:
|
|
3884
|
-
}),
|
|
3875
|
+
return zt.set(e);
|
|
3876
|
+
}, De = Xs(Vs({}, zt), {
|
|
3877
|
+
set: Ys
|
|
3878
|
+
}), qt = (e) => {
|
|
3885
3879
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3886
3880
|
return (r) => {
|
|
3887
3881
|
const i = JSON.stringify(r);
|
|
3888
3882
|
return i in t ? t[i] : t[i] = e(r);
|
|
3889
3883
|
};
|
|
3890
3884
|
};
|
|
3891
|
-
var
|
|
3885
|
+
var Zs = Object.defineProperty, Wt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Tr = (e, t, n) => t in e ? Zs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, In = (e, t) => {
|
|
3892
3886
|
for (var n in t || (t = {}))
|
|
3893
|
-
|
|
3894
|
-
if (
|
|
3895
|
-
for (var n of
|
|
3896
|
-
|
|
3887
|
+
wi.call(t, n) && Tr(e, n, t[n]);
|
|
3888
|
+
if (Wt)
|
|
3889
|
+
for (var n of Wt(t))
|
|
3890
|
+
Ai.call(t, n) && Tr(e, n, t[n]);
|
|
3897
3891
|
return e;
|
|
3898
|
-
},
|
|
3892
|
+
}, et = (e, t) => {
|
|
3899
3893
|
var n = {};
|
|
3900
3894
|
for (var r in e)
|
|
3901
|
-
|
|
3902
|
-
if (e != null &&
|
|
3903
|
-
for (var r of
|
|
3904
|
-
t.indexOf(r) < 0 &&
|
|
3895
|
+
wi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3896
|
+
if (e != null && Wt)
|
|
3897
|
+
for (var r of Wt(e))
|
|
3898
|
+
t.indexOf(r) < 0 && Ai.call(e, r) && (n[r] = e[r]);
|
|
3905
3899
|
return n;
|
|
3906
3900
|
};
|
|
3907
|
-
const
|
|
3908
|
-
const { formats: n } =
|
|
3901
|
+
const gt = (e, t) => {
|
|
3902
|
+
const { formats: n } = Je();
|
|
3909
3903
|
if (e in n && t in n[e])
|
|
3910
3904
|
return n[e][t];
|
|
3911
3905
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3912
|
-
},
|
|
3906
|
+
}, qs = qt(
|
|
3913
3907
|
(e) => {
|
|
3914
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3908
|
+
var t = e, { locale: n, format: r } = t, i = et(t, ["locale", "format"]);
|
|
3915
3909
|
if (n == null)
|
|
3916
3910
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3917
|
-
return r && (i =
|
|
3911
|
+
return r && (i = gt("number", r)), new Intl.NumberFormat(n, i);
|
|
3918
3912
|
}
|
|
3919
|
-
),
|
|
3913
|
+
), Js = qt(
|
|
3920
3914
|
(e) => {
|
|
3921
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3915
|
+
var t = e, { locale: n, format: r } = t, i = et(t, ["locale", "format"]);
|
|
3922
3916
|
if (n == null)
|
|
3923
3917
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3924
|
-
return r ? i =
|
|
3918
|
+
return r ? i = gt("date", r) : Object.keys(i).length === 0 && (i = gt("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3925
3919
|
}
|
|
3926
|
-
),
|
|
3920
|
+
), Qs = qt(
|
|
3927
3921
|
(e) => {
|
|
3928
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3922
|
+
var t = e, { locale: n, format: r } = t, i = et(t, ["locale", "format"]);
|
|
3929
3923
|
if (n == null)
|
|
3930
3924
|
throw new Error(
|
|
3931
3925
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3932
3926
|
);
|
|
3933
|
-
return r ? i =
|
|
3927
|
+
return r ? i = gt("time", r) : Object.keys(i).length === 0 && (i = gt("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3934
3928
|
}
|
|
3935
|
-
),
|
|
3929
|
+
), Ks = (e = {}) => {
|
|
3936
3930
|
var t = e, {
|
|
3937
|
-
locale: n =
|
|
3938
|
-
} = t, r =
|
|
3931
|
+
locale: n = Ie()
|
|
3932
|
+
} = t, r = et(t, [
|
|
3939
3933
|
"locale"
|
|
3940
3934
|
]);
|
|
3941
|
-
return
|
|
3942
|
-
},
|
|
3935
|
+
return qs(In({ locale: n }, r));
|
|
3936
|
+
}, ea = (e = {}) => {
|
|
3943
3937
|
var t = e, {
|
|
3944
|
-
locale: n =
|
|
3945
|
-
} = t, r =
|
|
3938
|
+
locale: n = Ie()
|
|
3939
|
+
} = t, r = et(t, [
|
|
3946
3940
|
"locale"
|
|
3947
3941
|
]);
|
|
3948
|
-
return
|
|
3949
|
-
},
|
|
3942
|
+
return Js(In({ locale: n }, r));
|
|
3943
|
+
}, ta = (e = {}) => {
|
|
3950
3944
|
var t = e, {
|
|
3951
|
-
locale: n =
|
|
3952
|
-
} = t, r =
|
|
3945
|
+
locale: n = Ie()
|
|
3946
|
+
} = t, r = et(t, [
|
|
3953
3947
|
"locale"
|
|
3954
3948
|
]);
|
|
3955
|
-
return
|
|
3956
|
-
},
|
|
3949
|
+
return Qs(In({ locale: n }, r));
|
|
3950
|
+
}, na = qt(
|
|
3957
3951
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3958
|
-
(e, t =
|
|
3959
|
-
ignoreTag:
|
|
3952
|
+
(e, t = Ie()) => new Ei(e, t, Je().formats, {
|
|
3953
|
+
ignoreTag: Je().ignoreTag
|
|
3960
3954
|
})
|
|
3961
|
-
),
|
|
3955
|
+
), ra = (e, t = {}) => {
|
|
3962
3956
|
var n, r, i, o;
|
|
3963
3957
|
let u = t;
|
|
3964
3958
|
typeof e == "object" && (u = e, e = u.id);
|
|
3965
3959
|
const {
|
|
3966
3960
|
values: a,
|
|
3967
|
-
locale: c =
|
|
3961
|
+
locale: c = Ie(),
|
|
3968
3962
|
default: l
|
|
3969
3963
|
} = u;
|
|
3970
3964
|
if (c == null)
|
|
3971
3965
|
throw new Error(
|
|
3972
3966
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3973
3967
|
);
|
|
3974
|
-
let f =
|
|
3968
|
+
let f = yi(e, c);
|
|
3975
3969
|
if (!f)
|
|
3976
|
-
f = (o = (i = (r = (n =
|
|
3970
|
+
f = (o = (i = (r = (n = Je()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
3977
3971
|
else if (typeof f != "string")
|
|
3978
3972
|
return console.warn(
|
|
3979
3973
|
`[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.`
|
|
@@ -3982,7 +3976,7 @@ const _t = (e, t) => {
|
|
|
3982
3976
|
return f;
|
|
3983
3977
|
let _ = f;
|
|
3984
3978
|
try {
|
|
3985
|
-
_ =
|
|
3979
|
+
_ = na(f, c).format(a);
|
|
3986
3980
|
} catch (y) {
|
|
3987
3981
|
y instanceof Error && console.warn(
|
|
3988
3982
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3990,20 +3984,20 @@ const _t = (e, t) => {
|
|
|
3990
3984
|
);
|
|
3991
3985
|
}
|
|
3992
3986
|
return _;
|
|
3993
|
-
},
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
function
|
|
3999
|
-
|
|
4000
|
-
}
|
|
4001
|
-
function
|
|
4002
|
-
|
|
3987
|
+
}, ia = (e, t) => ta(t).format(e), oa = (e, t) => ea(t).format(e), sa = (e, t) => Ks(t).format(e), aa = (e, t = Ie()) => yi(e, t), ua = Ke([De, bt], () => ra);
|
|
3988
|
+
Ke([De], () => ia);
|
|
3989
|
+
Ke([De], () => oa);
|
|
3990
|
+
Ke([De], () => sa);
|
|
3991
|
+
Ke([De, bt], () => aa);
|
|
3992
|
+
function vr(e, t) {
|
|
3993
|
+
Ti(e, t);
|
|
3994
|
+
}
|
|
3995
|
+
function la(e) {
|
|
3996
|
+
ks({
|
|
4003
3997
|
fallbackLocale: "en"
|
|
4004
|
-
}),
|
|
3998
|
+
}), De.set(e);
|
|
4005
3999
|
}
|
|
4006
|
-
const
|
|
4000
|
+
const Sr = {
|
|
4007
4001
|
en: {
|
|
4008
4002
|
sessionExpirationHeader: "Session Warning",
|
|
4009
4003
|
sessionExpirationTitle: "Your session is about to expire!",
|
|
@@ -4028,19 +4022,19 @@ const Ar = {
|
|
|
4028
4022
|
};
|
|
4029
4023
|
/*! @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 */
|
|
4030
4024
|
const {
|
|
4031
|
-
entries:
|
|
4032
|
-
setPrototypeOf:
|
|
4033
|
-
isFrozen:
|
|
4034
|
-
getPrototypeOf:
|
|
4035
|
-
getOwnPropertyDescriptor:
|
|
4025
|
+
entries: Oi,
|
|
4026
|
+
setPrototypeOf: wr,
|
|
4027
|
+
isFrozen: ca,
|
|
4028
|
+
getPrototypeOf: fa,
|
|
4029
|
+
getOwnPropertyDescriptor: ha
|
|
4036
4030
|
} = Object;
|
|
4037
4031
|
let {
|
|
4038
4032
|
freeze: fe,
|
|
4039
4033
|
seal: _e,
|
|
4040
|
-
create:
|
|
4034
|
+
create: Mi
|
|
4041
4035
|
} = Object, {
|
|
4042
|
-
apply:
|
|
4043
|
-
construct:
|
|
4036
|
+
apply: On,
|
|
4037
|
+
construct: Mn
|
|
4044
4038
|
} = typeof Reflect < "u" && Reflect;
|
|
4045
4039
|
fe || (fe = function(t) {
|
|
4046
4040
|
return t;
|
|
@@ -4048,98 +4042,98 @@ fe || (fe = function(t) {
|
|
|
4048
4042
|
_e || (_e = function(t) {
|
|
4049
4043
|
return t;
|
|
4050
4044
|
});
|
|
4051
|
-
|
|
4045
|
+
On || (On = function(t, n, r) {
|
|
4052
4046
|
return t.apply(n, r);
|
|
4053
4047
|
});
|
|
4054
|
-
|
|
4048
|
+
Mn || (Mn = function(t, n) {
|
|
4055
4049
|
return new t(...n);
|
|
4056
4050
|
});
|
|
4057
|
-
const
|
|
4051
|
+
const Mt = pe(Array.prototype.forEach), Ar = pe(Array.prototype.pop), st = pe(Array.prototype.push), $t = pe(String.prototype.toLowerCase), mn = pe(String.prototype.toString), Or = pe(String.prototype.match), at = pe(String.prototype.replace), ma = pe(String.prototype.indexOf), da = pe(String.prototype.trim), xe = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), ut = pa(TypeError);
|
|
4058
4052
|
function pe(e) {
|
|
4059
4053
|
return function(t) {
|
|
4060
4054
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
4061
4055
|
r[i - 1] = arguments[i];
|
|
4062
|
-
return
|
|
4056
|
+
return On(e, t, r);
|
|
4063
4057
|
};
|
|
4064
4058
|
}
|
|
4065
|
-
function
|
|
4059
|
+
function pa(e) {
|
|
4066
4060
|
return function() {
|
|
4067
4061
|
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
4068
4062
|
n[r] = arguments[r];
|
|
4069
|
-
return
|
|
4063
|
+
return Mn(e, n);
|
|
4070
4064
|
};
|
|
4071
4065
|
}
|
|
4072
4066
|
function P(e, t) {
|
|
4073
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
4074
|
-
|
|
4067
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : $t;
|
|
4068
|
+
wr && wr(e, null);
|
|
4075
4069
|
let r = t.length;
|
|
4076
4070
|
for (; r--; ) {
|
|
4077
4071
|
let i = t[r];
|
|
4078
4072
|
if (typeof i == "string") {
|
|
4079
4073
|
const o = n(i);
|
|
4080
|
-
o !== i && (
|
|
4074
|
+
o !== i && (ca(t) || (t[r] = o), i = o);
|
|
4081
4075
|
}
|
|
4082
4076
|
e[i] = !0;
|
|
4083
4077
|
}
|
|
4084
4078
|
return e;
|
|
4085
4079
|
}
|
|
4086
|
-
function
|
|
4080
|
+
function ga(e) {
|
|
4087
4081
|
for (let t = 0; t < e.length; t++)
|
|
4088
4082
|
xe(e, t) || (e[t] = null);
|
|
4089
4083
|
return e;
|
|
4090
4084
|
}
|
|
4091
|
-
function
|
|
4092
|
-
const t =
|
|
4093
|
-
for (const [n, r] of
|
|
4094
|
-
xe(e, n) && (Array.isArray(r) ? t[n] =
|
|
4085
|
+
function Re(e) {
|
|
4086
|
+
const t = Mi(null);
|
|
4087
|
+
for (const [n, r] of Oi(e))
|
|
4088
|
+
xe(e, n) && (Array.isArray(r) ? t[n] = ga(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Re(r) : t[n] = r);
|
|
4095
4089
|
return t;
|
|
4096
4090
|
}
|
|
4097
|
-
function
|
|
4091
|
+
function lt(e, t) {
|
|
4098
4092
|
for (; e !== null; ) {
|
|
4099
|
-
const r =
|
|
4093
|
+
const r = ha(e, t);
|
|
4100
4094
|
if (r) {
|
|
4101
4095
|
if (r.get)
|
|
4102
4096
|
return pe(r.get);
|
|
4103
4097
|
if (typeof r.value == "function")
|
|
4104
4098
|
return pe(r.value);
|
|
4105
4099
|
}
|
|
4106
|
-
e =
|
|
4100
|
+
e = fa(e);
|
|
4107
4101
|
}
|
|
4108
4102
|
function n() {
|
|
4109
4103
|
return null;
|
|
4110
4104
|
}
|
|
4111
4105
|
return n;
|
|
4112
4106
|
}
|
|
4113
|
-
const
|
|
4107
|
+
const Mr = fe(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), dn = fe(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), pn = fe(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), _a = fe(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), gn = fe(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ba = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Cr = fe(["#text"]), Lr = 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"]), Nr = fe(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ct = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ea = _e(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ya = _e(/<%[\w\W]*|[\w\W]*%>/gm), xa = _e(/\${[\w\W]*}/gm), Ta = _e(/^data-[\-\w.\u00B7-\uFFFF]/), va = _e(/^aria-[\-\w]+$/), Ci = _e(
|
|
4114
4108
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4115
4109
|
// eslint-disable-line no-useless-escape
|
|
4116
|
-
),
|
|
4110
|
+
), Sa = _e(/^(?:\w+script|data):/i), wa = _e(
|
|
4117
4111
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
4118
4112
|
// eslint-disable-line no-control-regex
|
|
4119
|
-
),
|
|
4120
|
-
var
|
|
4113
|
+
), Li = _e(/^html$/i), Aa = _e(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
4114
|
+
var Hr = /* @__PURE__ */ Object.freeze({
|
|
4121
4115
|
__proto__: null,
|
|
4122
|
-
MUSTACHE_EXPR:
|
|
4123
|
-
ERB_EXPR:
|
|
4124
|
-
TMPLIT_EXPR:
|
|
4125
|
-
DATA_ATTR:
|
|
4126
|
-
ARIA_ATTR:
|
|
4127
|
-
IS_ALLOWED_URI:
|
|
4128
|
-
IS_SCRIPT_OR_DATA:
|
|
4129
|
-
ATTR_WHITESPACE:
|
|
4130
|
-
DOCTYPE_NAME:
|
|
4131
|
-
CUSTOM_ELEMENT:
|
|
4116
|
+
MUSTACHE_EXPR: Ea,
|
|
4117
|
+
ERB_EXPR: ya,
|
|
4118
|
+
TMPLIT_EXPR: xa,
|
|
4119
|
+
DATA_ATTR: Ta,
|
|
4120
|
+
ARIA_ATTR: va,
|
|
4121
|
+
IS_ALLOWED_URI: Ci,
|
|
4122
|
+
IS_SCRIPT_OR_DATA: Sa,
|
|
4123
|
+
ATTR_WHITESPACE: wa,
|
|
4124
|
+
DOCTYPE_NAME: Li,
|
|
4125
|
+
CUSTOM_ELEMENT: Aa
|
|
4132
4126
|
});
|
|
4133
|
-
const
|
|
4127
|
+
const ct = {
|
|
4134
4128
|
element: 1,
|
|
4135
4129
|
text: 3,
|
|
4136
4130
|
// Deprecated
|
|
4137
4131
|
progressingInstruction: 7,
|
|
4138
4132
|
comment: 8,
|
|
4139
4133
|
document: 9
|
|
4140
|
-
},
|
|
4134
|
+
}, Oa = function() {
|
|
4141
4135
|
return typeof window > "u" ? null : window;
|
|
4142
|
-
},
|
|
4136
|
+
}, Ma = function(t, n) {
|
|
4143
4137
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
4144
4138
|
return null;
|
|
4145
4139
|
let r = null;
|
|
@@ -4159,10 +4153,10 @@ const ft = {
|
|
|
4159
4153
|
return console.warn("TrustedTypes policy " + o + " could not be created."), null;
|
|
4160
4154
|
}
|
|
4161
4155
|
};
|
|
4162
|
-
function
|
|
4163
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
4164
|
-
const t = (A) =>
|
|
4165
|
-
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
4156
|
+
function Ni() {
|
|
4157
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Oa();
|
|
4158
|
+
const t = (A) => Ni(A);
|
|
4159
|
+
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ct.document)
|
|
4166
4160
|
return t.isSupported = !1, t;
|
|
4167
4161
|
let {
|
|
4168
4162
|
document: n
|
|
@@ -4177,39 +4171,39 @@ function Ii() {
|
|
|
4177
4171
|
HTMLFormElement: _,
|
|
4178
4172
|
DOMParser: y,
|
|
4179
4173
|
trustedTypes: M
|
|
4180
|
-
} = e, b = c.prototype, d =
|
|
4174
|
+
} = e, b = c.prototype, d = lt(b, "cloneNode"), C = lt(b, "remove"), G = lt(b, "nextSibling"), $ = lt(b, "childNodes"), w = lt(b, "parentNode");
|
|
4181
4175
|
if (typeof u == "function") {
|
|
4182
4176
|
const A = n.createElement("template");
|
|
4183
4177
|
A.content && A.content.ownerDocument && (n = A.content.ownerDocument);
|
|
4184
4178
|
}
|
|
4185
4179
|
let H, R = "";
|
|
4186
4180
|
const {
|
|
4187
|
-
implementation:
|
|
4188
|
-
createNodeIterator:
|
|
4189
|
-
createDocumentFragment:
|
|
4181
|
+
implementation: k,
|
|
4182
|
+
createNodeIterator: Z,
|
|
4183
|
+
createDocumentFragment: X,
|
|
4190
4184
|
getElementsByTagName: Q
|
|
4191
4185
|
} = n, {
|
|
4192
|
-
importNode:
|
|
4186
|
+
importNode: j
|
|
4193
4187
|
} = r;
|
|
4194
4188
|
let O = {};
|
|
4195
|
-
t.isSupported = typeof
|
|
4189
|
+
t.isSupported = typeof Oi == "function" && typeof w == "function" && k && k.createHTMLDocument !== void 0;
|
|
4196
4190
|
const {
|
|
4197
4191
|
MUSTACHE_EXPR: te,
|
|
4198
4192
|
ERB_EXPR: he,
|
|
4199
|
-
TMPLIT_EXPR:
|
|
4193
|
+
TMPLIT_EXPR: v,
|
|
4200
4194
|
DATA_ATTR: E,
|
|
4201
4195
|
ARIA_ATTR: g,
|
|
4202
|
-
IS_SCRIPT_OR_DATA:
|
|
4196
|
+
IS_SCRIPT_OR_DATA: T,
|
|
4203
4197
|
ATTR_WHITESPACE: h,
|
|
4204
4198
|
CUSTOM_ELEMENT: x
|
|
4205
|
-
} =
|
|
4199
|
+
} = Hr;
|
|
4206
4200
|
let {
|
|
4207
4201
|
IS_ALLOWED_URI: L
|
|
4208
|
-
} =
|
|
4209
|
-
const
|
|
4202
|
+
} = Hr, N = null;
|
|
4203
|
+
const z = P({}, [...Mr, ...dn, ...pn, ...gn, ...Cr]);
|
|
4210
4204
|
let I = null;
|
|
4211
|
-
const q = P({}, [...
|
|
4212
|
-
let m = Object.seal(
|
|
4205
|
+
const q = P({}, [...Lr, ..._n, ...Nr, ...Ct]);
|
|
4206
|
+
let m = Object.seal(Mi(null, {
|
|
4213
4207
|
tagNameCheck: {
|
|
4214
4208
|
writable: !0,
|
|
4215
4209
|
configurable: !1,
|
|
@@ -4228,59 +4222,59 @@ function Ii() {
|
|
|
4228
4222
|
enumerable: !0,
|
|
4229
4223
|
value: !1
|
|
4230
4224
|
}
|
|
4231
|
-
})),
|
|
4232
|
-
const
|
|
4233
|
-
let
|
|
4234
|
-
const
|
|
4235
|
-
let
|
|
4236
|
-
const
|
|
4237
|
-
let
|
|
4238
|
-
const
|
|
4239
|
-
let
|
|
4240
|
-
const
|
|
4241
|
-
let
|
|
4242
|
-
const
|
|
4243
|
-
let ne = null,
|
|
4244
|
-
const
|
|
4225
|
+
})), F = null, ee = null, K = !0, Ee = !0, ie = !1, ye = !0, ge = !1, Ce = !0, Pe = !1, Jt = !1, Qt = !1, Be = !1, yt = !1, xt = !1, Pn = !0, Rn = !1;
|
|
4226
|
+
const Pi = "user-content-";
|
|
4227
|
+
let Kt = !0, tt = !1, $e = {}, Ue = null;
|
|
4228
|
+
const Dn = P({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
4229
|
+
let Bn = null;
|
|
4230
|
+
const $n = P({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4231
|
+
let en = null;
|
|
4232
|
+
const Un = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Tt = "http://www.w3.org/1998/Math/MathML", vt = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml";
|
|
4233
|
+
let ke = we, tn = !1, nn = null;
|
|
4234
|
+
const Ri = P({}, [Tt, vt, we], mn);
|
|
4235
|
+
let nt = null;
|
|
4236
|
+
const Di = ["application/xhtml+xml", "text/html"], Bi = "text/html";
|
|
4237
|
+
let ne = null, Fe = null;
|
|
4238
|
+
const $i = n.createElement("form"), kn = function(s) {
|
|
4245
4239
|
return s instanceof RegExp || s instanceof Function;
|
|
4246
|
-
},
|
|
4240
|
+
}, rn = function() {
|
|
4247
4241
|
let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4248
|
-
if (!(
|
|
4249
|
-
if ((!s || typeof s != "object") && (s = {}), s =
|
|
4250
|
-
|
|
4251
|
-
|
|
4242
|
+
if (!(Fe && Fe === s)) {
|
|
4243
|
+
if ((!s || typeof s != "object") && (s = {}), s = Re(s), nt = // eslint-disable-next-line unicorn/prefer-includes
|
|
4244
|
+
Di.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? Bi : s.PARSER_MEDIA_TYPE, ne = nt === "application/xhtml+xml" ? mn : $t, N = xe(s, "ALLOWED_TAGS") ? P({}, s.ALLOWED_TAGS, ne) : z, I = xe(s, "ALLOWED_ATTR") ? P({}, s.ALLOWED_ATTR, ne) : q, nn = xe(s, "ALLOWED_NAMESPACES") ? P({}, s.ALLOWED_NAMESPACES, mn) : Ri, en = xe(s, "ADD_URI_SAFE_ATTR") ? P(
|
|
4245
|
+
Re(Un),
|
|
4252
4246
|
// eslint-disable-line indent
|
|
4253
4247
|
s.ADD_URI_SAFE_ATTR,
|
|
4254
4248
|
// eslint-disable-line indent
|
|
4255
4249
|
ne
|
|
4256
4250
|
// eslint-disable-line indent
|
|
4257
|
-
) :
|
|
4258
|
-
|
|
4251
|
+
) : Un, Bn = xe(s, "ADD_DATA_URI_TAGS") ? P(
|
|
4252
|
+
Re($n),
|
|
4259
4253
|
// eslint-disable-line indent
|
|
4260
4254
|
s.ADD_DATA_URI_TAGS,
|
|
4261
4255
|
// eslint-disable-line indent
|
|
4262
4256
|
ne
|
|
4263
4257
|
// eslint-disable-line indent
|
|
4264
|
-
) :
|
|
4258
|
+
) : $n, Ue = xe(s, "FORBID_CONTENTS") ? P({}, s.FORBID_CONTENTS, ne) : Dn, F = xe(s, "FORBID_TAGS") ? P({}, s.FORBID_TAGS, ne) : {}, ee = xe(s, "FORBID_ATTR") ? P({}, s.FORBID_ATTR, ne) : {}, $e = xe(s, "USE_PROFILES") ? s.USE_PROFILES : !1, K = s.ALLOW_ARIA_ATTR !== !1, Ee = s.ALLOW_DATA_ATTR !== !1, ie = s.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = s.SAFE_FOR_TEMPLATES || !1, Ce = s.SAFE_FOR_XML !== !1, Pe = s.WHOLE_DOCUMENT || !1, Be = s.RETURN_DOM || !1, yt = s.RETURN_DOM_FRAGMENT || !1, xt = s.RETURN_TRUSTED_TYPE || !1, Qt = s.FORCE_BODY || !1, Pn = s.SANITIZE_DOM !== !1, Rn = s.SANITIZE_NAMED_PROPS || !1, Kt = s.KEEP_CONTENT !== !1, tt = s.IN_PLACE || !1, L = s.ALLOWED_URI_REGEXP || Ci, ke = s.NAMESPACE || we, m = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && kn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && kn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ge && (Ee = !1), yt && (Be = !0), $e && (N = P({}, Cr), I = [], $e.html === !0 && (P(N, Mr), P(I, Lr)), $e.svg === !0 && (P(N, dn), P(I, _n), P(I, Ct)), $e.svgFilters === !0 && (P(N, pn), P(I, _n), P(I, Ct)), $e.mathMl === !0 && (P(N, gn), P(I, Nr), P(I, Ct))), s.ADD_TAGS && (N === z && (N = Re(N)), P(N, s.ADD_TAGS, ne)), s.ADD_ATTR && (I === q && (I = Re(I)), P(I, s.ADD_ATTR, ne)), s.ADD_URI_SAFE_ATTR && P(en, s.ADD_URI_SAFE_ATTR, ne), s.FORBID_CONTENTS && (Ue === Dn && (Ue = Re(Ue)), P(Ue, s.FORBID_CONTENTS, ne)), Kt && (N["#text"] = !0), Pe && P(N, ["html", "head", "body"]), N.table && (P(N, ["tbody"]), delete F.tbody), s.TRUSTED_TYPES_POLICY) {
|
|
4265
4259
|
if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4266
|
-
throw
|
|
4260
|
+
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4267
4261
|
if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4268
|
-
throw
|
|
4262
|
+
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4269
4263
|
H = s.TRUSTED_TYPES_POLICY, R = H.createHTML("");
|
|
4270
4264
|
} else
|
|
4271
|
-
H === void 0 && (H =
|
|
4272
|
-
fe && fe(s),
|
|
4265
|
+
H === void 0 && (H = Ma(M, i)), H !== null && typeof R == "string" && (R = H.createHTML(""));
|
|
4266
|
+
fe && fe(s), Fe = s;
|
|
4273
4267
|
}
|
|
4274
|
-
},
|
|
4268
|
+
}, Fn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), Gn = P({}, ["foreignobject", "annotation-xml"]), Ui = P({}, ["title", "style", "font", "a", "script"]), jn = P({}, [...dn, ...pn, ..._a]), zn = P({}, [...gn, ...ba]), ki = function(s) {
|
|
4275
4269
|
let p = w(s);
|
|
4276
4270
|
(!p || !p.tagName) && (p = {
|
|
4277
|
-
namespaceURI:
|
|
4271
|
+
namespaceURI: ke,
|
|
4278
4272
|
tagName: "template"
|
|
4279
4273
|
});
|
|
4280
|
-
const S =
|
|
4281
|
-
return
|
|
4282
|
-
},
|
|
4283
|
-
|
|
4274
|
+
const S = $t(s.tagName), W = $t(p.tagName);
|
|
4275
|
+
return nn[s.namespaceURI] ? s.namespaceURI === vt ? p.namespaceURI === we ? S === "svg" : p.namespaceURI === Tt ? S === "svg" && (W === "annotation-xml" || Fn[W]) : !!jn[S] : s.namespaceURI === Tt ? p.namespaceURI === we ? S === "math" : p.namespaceURI === vt ? S === "math" && Gn[W] : !!zn[S] : s.namespaceURI === we ? p.namespaceURI === vt && !Gn[W] || p.namespaceURI === Tt && !Fn[W] ? !1 : !zn[S] && (Ui[S] || !jn[S]) : !!(nt === "application/xhtml+xml" && nn[s.namespaceURI]) : !1;
|
|
4276
|
+
}, Te = function(s) {
|
|
4277
|
+
st(t.removed, {
|
|
4284
4278
|
element: s
|
|
4285
4279
|
});
|
|
4286
4280
|
try {
|
|
@@ -4288,22 +4282,22 @@ function Ii() {
|
|
|
4288
4282
|
} catch {
|
|
4289
4283
|
C(s);
|
|
4290
4284
|
}
|
|
4291
|
-
},
|
|
4285
|
+
}, St = function(s, p) {
|
|
4292
4286
|
try {
|
|
4293
|
-
|
|
4287
|
+
st(t.removed, {
|
|
4294
4288
|
attribute: p.getAttributeNode(s),
|
|
4295
4289
|
from: p
|
|
4296
4290
|
});
|
|
4297
4291
|
} catch {
|
|
4298
|
-
|
|
4292
|
+
st(t.removed, {
|
|
4299
4293
|
attribute: null,
|
|
4300
4294
|
from: p
|
|
4301
4295
|
});
|
|
4302
4296
|
}
|
|
4303
4297
|
if (p.removeAttribute(s), s === "is" && !I[s])
|
|
4304
|
-
if (
|
|
4298
|
+
if (Be || yt)
|
|
4305
4299
|
try {
|
|
4306
|
-
|
|
4300
|
+
Te(p);
|
|
4307
4301
|
} catch {
|
|
4308
4302
|
}
|
|
4309
4303
|
else
|
|
@@ -4311,78 +4305,78 @@ function Ii() {
|
|
|
4311
4305
|
p.setAttribute(s, "");
|
|
4312
4306
|
} catch {
|
|
4313
4307
|
}
|
|
4314
|
-
},
|
|
4308
|
+
}, Wn = function(s) {
|
|
4315
4309
|
let p = null, S = null;
|
|
4316
|
-
if (
|
|
4310
|
+
if (Qt)
|
|
4317
4311
|
s = "<remove></remove>" + s;
|
|
4318
4312
|
else {
|
|
4319
|
-
const oe =
|
|
4313
|
+
const oe = Or(s, /^[\r\n\t ]+/);
|
|
4320
4314
|
S = oe && oe[0];
|
|
4321
4315
|
}
|
|
4322
|
-
|
|
4323
|
-
const
|
|
4324
|
-
if (
|
|
4316
|
+
nt === "application/xhtml+xml" && ke === we && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
|
|
4317
|
+
const W = H ? H.createHTML(s) : s;
|
|
4318
|
+
if (ke === we)
|
|
4325
4319
|
try {
|
|
4326
|
-
p = new y().parseFromString(
|
|
4320
|
+
p = new y().parseFromString(W, nt);
|
|
4327
4321
|
} catch {
|
|
4328
4322
|
}
|
|
4329
4323
|
if (!p || !p.documentElement) {
|
|
4330
|
-
p =
|
|
4324
|
+
p = k.createDocument(ke, "template", null);
|
|
4331
4325
|
try {
|
|
4332
|
-
p.documentElement.innerHTML =
|
|
4326
|
+
p.documentElement.innerHTML = tn ? R : W;
|
|
4333
4327
|
} catch {
|
|
4334
4328
|
}
|
|
4335
4329
|
}
|
|
4336
4330
|
const se = p.body || p.documentElement;
|
|
4337
|
-
return s && S && se.insertBefore(n.createTextNode(S), se.childNodes[0] || null),
|
|
4338
|
-
},
|
|
4339
|
-
return
|
|
4331
|
+
return s && S && se.insertBefore(n.createTextNode(S), se.childNodes[0] || null), ke === we ? Q.call(p, Pe ? "html" : "body")[0] : Pe ? p.documentElement : se;
|
|
4332
|
+
}, Vn = function(s) {
|
|
4333
|
+
return Z.call(
|
|
4340
4334
|
s.ownerDocument || s,
|
|
4341
4335
|
s,
|
|
4342
4336
|
// eslint-disable-next-line no-bitwise
|
|
4343
4337
|
l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION,
|
|
4344
4338
|
null
|
|
4345
4339
|
);
|
|
4346
|
-
},
|
|
4340
|
+
}, Xn = function(s) {
|
|
4347
4341
|
return s instanceof _ && (typeof s.nodeName != "string" || typeof s.textContent != "string" || typeof s.removeChild != "function" || !(s.attributes instanceof f) || typeof s.removeAttribute != "function" || typeof s.setAttribute != "function" || typeof s.namespaceURI != "string" || typeof s.insertBefore != "function" || typeof s.hasChildNodes != "function");
|
|
4348
|
-
},
|
|
4342
|
+
}, Yn = function(s) {
|
|
4349
4343
|
return typeof a == "function" && s instanceof a;
|
|
4350
|
-
},
|
|
4351
|
-
O[s] &&
|
|
4352
|
-
|
|
4344
|
+
}, Ae = function(s, p, S) {
|
|
4345
|
+
O[s] && Mt(O[s], (W) => {
|
|
4346
|
+
W.call(t, p, S, Fe);
|
|
4353
4347
|
});
|
|
4354
|
-
},
|
|
4348
|
+
}, Zn = function(s) {
|
|
4355
4349
|
let p = null;
|
|
4356
|
-
if (
|
|
4357
|
-
return
|
|
4350
|
+
if (Ae("beforeSanitizeElements", s, null), Xn(s))
|
|
4351
|
+
return Te(s), !0;
|
|
4358
4352
|
const S = ne(s.nodeName);
|
|
4359
|
-
if (
|
|
4353
|
+
if (Ae("uponSanitizeElement", s, {
|
|
4360
4354
|
tagName: S,
|
|
4361
4355
|
allowedTags: N
|
|
4362
|
-
}), s.hasChildNodes() && !
|
|
4363
|
-
return
|
|
4364
|
-
if (!N[S] ||
|
|
4365
|
-
if (!
|
|
4356
|
+
}), s.hasChildNodes() && !Yn(s.firstElementChild) && ue(/<[/\w]/g, s.innerHTML) && ue(/<[/\w]/g, s.textContent) || s.nodeType === ct.progressingInstruction || Ce && s.nodeType === ct.comment && ue(/<[/\w]/g, s.data))
|
|
4357
|
+
return Te(s), !0;
|
|
4358
|
+
if (!N[S] || F[S]) {
|
|
4359
|
+
if (!F[S] && Jn(S) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
|
|
4366
4360
|
return !1;
|
|
4367
|
-
if (
|
|
4368
|
-
const
|
|
4369
|
-
if (se &&
|
|
4361
|
+
if (Kt && !Ue[S]) {
|
|
4362
|
+
const W = w(s) || s.parentNode, se = $(s) || s.childNodes;
|
|
4363
|
+
if (se && W) {
|
|
4370
4364
|
const oe = se.length;
|
|
4371
4365
|
for (let me = oe - 1; me >= 0; --me) {
|
|
4372
|
-
const
|
|
4373
|
-
|
|
4366
|
+
const ve = d(se[me], !0);
|
|
4367
|
+
ve.__removalCount = (s.__removalCount || 0) + 1, W.insertBefore(ve, G(s));
|
|
4374
4368
|
}
|
|
4375
4369
|
}
|
|
4376
4370
|
}
|
|
4377
|
-
return
|
|
4371
|
+
return Te(s), !0;
|
|
4378
4372
|
}
|
|
4379
|
-
return s instanceof c && !
|
|
4380
|
-
p =
|
|
4381
|
-
}), s.textContent !== p && (
|
|
4373
|
+
return s instanceof c && !ki(s) || (S === "noscript" || S === "noembed" || S === "noframes") && ue(/<\/no(script|embed|frames)/i, s.innerHTML) ? (Te(s), !0) : (ge && s.nodeType === ct.text && (p = s.textContent, Mt([te, he, v], (W) => {
|
|
4374
|
+
p = at(p, W, " ");
|
|
4375
|
+
}), s.textContent !== p && (st(t.removed, {
|
|
4382
4376
|
element: s.cloneNode()
|
|
4383
|
-
}), s.textContent = p)),
|
|
4384
|
-
},
|
|
4385
|
-
if (
|
|
4377
|
+
}), s.textContent = p)), Ae("afterSanitizeElements", s, null), !1);
|
|
4378
|
+
}, qn = function(s, p, S) {
|
|
4379
|
+
if (Pn && (p === "id" || p === "name") && (S in n || S in $i))
|
|
4386
4380
|
return !1;
|
|
4387
4381
|
if (!(Ee && !ee[p] && ue(E, p))) {
|
|
4388
4382
|
if (!(K && ue(g, p))) {
|
|
@@ -4391,15 +4385,15 @@ function Ii() {
|
|
|
4391
4385
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4392
4386
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4393
4387
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4394
|
-
!(
|
|
4388
|
+
!(Jn(s) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, s) || m.tagNameCheck instanceof Function && m.tagNameCheck(s)) && (m.attributeNameCheck instanceof RegExp && ue(m.attributeNameCheck, p) || m.attributeNameCheck instanceof Function && m.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
4395
4389
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4396
4390
|
p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
|
|
4397
4391
|
)
|
|
4398
4392
|
return !1;
|
|
4399
|
-
} else if (!
|
|
4400
|
-
if (!ue(L,
|
|
4401
|
-
if (!((p === "src" || p === "xlink:href" || p === "href") && s !== "script" &&
|
|
4402
|
-
if (!(ie && !ue(
|
|
4393
|
+
} else if (!en[p]) {
|
|
4394
|
+
if (!ue(L, at(S, h, ""))) {
|
|
4395
|
+
if (!((p === "src" || p === "xlink:href" || p === "href") && s !== "script" && ma(S, "data:") === 0 && Bn[s])) {
|
|
4396
|
+
if (!(ie && !ue(T, at(S, h, "")))) {
|
|
4403
4397
|
if (S)
|
|
4404
4398
|
return !1;
|
|
4405
4399
|
}
|
|
@@ -4409,10 +4403,10 @@ function Ii() {
|
|
|
4409
4403
|
}
|
|
4410
4404
|
}
|
|
4411
4405
|
return !0;
|
|
4412
|
-
},
|
|
4413
|
-
return s !== "annotation-xml" &&
|
|
4414
|
-
},
|
|
4415
|
-
|
|
4406
|
+
}, Jn = function(s) {
|
|
4407
|
+
return s !== "annotation-xml" && Or(s, x);
|
|
4408
|
+
}, Qn = function(s) {
|
|
4409
|
+
Ae("beforeSanitizeAttributes", s, null);
|
|
4416
4410
|
const {
|
|
4417
4411
|
attributes: p
|
|
4418
4412
|
} = s;
|
|
@@ -4424,31 +4418,31 @@ function Ii() {
|
|
|
4424
4418
|
keepAttr: !0,
|
|
4425
4419
|
allowedAttributes: I
|
|
4426
4420
|
};
|
|
4427
|
-
let
|
|
4428
|
-
for (;
|
|
4429
|
-
const se = p[
|
|
4421
|
+
let W = p.length;
|
|
4422
|
+
for (; W--; ) {
|
|
4423
|
+
const se = p[W], {
|
|
4430
4424
|
name: oe,
|
|
4431
4425
|
namespaceURI: me,
|
|
4432
|
-
value:
|
|
4433
|
-
} = se,
|
|
4434
|
-
let ae = oe === "value" ?
|
|
4435
|
-
if (S.attrName =
|
|
4436
|
-
|
|
4426
|
+
value: ve
|
|
4427
|
+
} = se, rt = ne(oe);
|
|
4428
|
+
let ae = oe === "value" ? ve : da(ve);
|
|
4429
|
+
if (S.attrName = rt, S.attrValue = ae, S.keepAttr = !0, S.forceKeepAttr = void 0, Ae("uponSanitizeAttribute", s, S), ae = S.attrValue, Ce && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
|
|
4430
|
+
St(oe, s);
|
|
4437
4431
|
continue;
|
|
4438
4432
|
}
|
|
4439
|
-
if (S.forceKeepAttr || (
|
|
4433
|
+
if (S.forceKeepAttr || (St(oe, s), !S.keepAttr))
|
|
4440
4434
|
continue;
|
|
4441
4435
|
if (!ye && ue(/\/>/i, ae)) {
|
|
4442
|
-
|
|
4436
|
+
St(oe, s);
|
|
4443
4437
|
continue;
|
|
4444
4438
|
}
|
|
4445
|
-
ge &&
|
|
4446
|
-
ae =
|
|
4439
|
+
ge && Mt([te, he, v], (er) => {
|
|
4440
|
+
ae = at(ae, er, " ");
|
|
4447
4441
|
});
|
|
4448
|
-
const
|
|
4449
|
-
if (
|
|
4450
|
-
if (
|
|
4451
|
-
switch (M.getAttributeType(
|
|
4442
|
+
const Kn = ne(s.nodeName);
|
|
4443
|
+
if (qn(Kn, rt, ae)) {
|
|
4444
|
+
if (Rn && (rt === "id" || rt === "name") && (St(oe, s), ae = Pi + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
|
|
4445
|
+
switch (M.getAttributeType(Kn, rt)) {
|
|
4452
4446
|
case "TrustedHTML": {
|
|
4453
4447
|
ae = H.createHTML(ae);
|
|
4454
4448
|
break;
|
|
@@ -4459,144 +4453,144 @@ function Ii() {
|
|
|
4459
4453
|
}
|
|
4460
4454
|
}
|
|
4461
4455
|
try {
|
|
4462
|
-
me ? s.setAttributeNS(me, oe, ae) : s.setAttribute(oe, ae),
|
|
4456
|
+
me ? s.setAttributeNS(me, oe, ae) : s.setAttribute(oe, ae), Xn(s) ? Te(s) : Ar(t.removed);
|
|
4463
4457
|
} catch {
|
|
4464
4458
|
}
|
|
4465
4459
|
}
|
|
4466
4460
|
}
|
|
4467
|
-
|
|
4468
|
-
},
|
|
4461
|
+
Ae("afterSanitizeAttributes", s, null);
|
|
4462
|
+
}, Fi = function A(s) {
|
|
4469
4463
|
let p = null;
|
|
4470
|
-
const S =
|
|
4471
|
-
for (
|
|
4472
|
-
|
|
4473
|
-
|
|
4464
|
+
const S = Vn(s);
|
|
4465
|
+
for (Ae("beforeSanitizeShadowDOM", s, null); p = S.nextNode(); )
|
|
4466
|
+
Ae("uponSanitizeShadowNode", p, null), !Zn(p) && (p.content instanceof o && A(p.content), Qn(p));
|
|
4467
|
+
Ae("afterSanitizeShadowDOM", s, null);
|
|
4474
4468
|
};
|
|
4475
4469
|
return t.sanitize = function(A) {
|
|
4476
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, S = null,
|
|
4477
|
-
if (
|
|
4470
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, S = null, W = null, se = null;
|
|
4471
|
+
if (tn = !A, tn && (A = "<!-->"), typeof A != "string" && !Yn(A))
|
|
4478
4472
|
if (typeof A.toString == "function") {
|
|
4479
4473
|
if (A = A.toString(), typeof A != "string")
|
|
4480
|
-
throw
|
|
4474
|
+
throw ut("dirty is not a string, aborting");
|
|
4481
4475
|
} else
|
|
4482
|
-
throw
|
|
4476
|
+
throw ut("toString is not a function");
|
|
4483
4477
|
if (!t.isSupported)
|
|
4484
4478
|
return A;
|
|
4485
|
-
if (
|
|
4479
|
+
if (Jt || rn(s), t.removed = [], typeof A == "string" && (tt = !1), tt) {
|
|
4486
4480
|
if (A.nodeName) {
|
|
4487
|
-
const
|
|
4488
|
-
if (!N[
|
|
4489
|
-
throw
|
|
4481
|
+
const ve = ne(A.nodeName);
|
|
4482
|
+
if (!N[ve] || F[ve])
|
|
4483
|
+
throw ut("root node is forbidden and cannot be sanitized in-place");
|
|
4490
4484
|
}
|
|
4491
4485
|
} else if (A instanceof a)
|
|
4492
|
-
p =
|
|
4486
|
+
p = Wn("<!---->"), S = p.ownerDocument.importNode(A, !0), S.nodeType === ct.element && S.nodeName === "BODY" || S.nodeName === "HTML" ? p = S : p.appendChild(S);
|
|
4493
4487
|
else {
|
|
4494
|
-
if (
|
|
4488
|
+
if (!Be && !ge && !Pe && // eslint-disable-next-line unicorn/prefer-includes
|
|
4495
4489
|
A.indexOf("<") === -1)
|
|
4496
|
-
return H &&
|
|
4497
|
-
if (p =
|
|
4498
|
-
return
|
|
4490
|
+
return H && xt ? H.createHTML(A) : A;
|
|
4491
|
+
if (p = Wn(A), !p)
|
|
4492
|
+
return Be ? null : xt ? R : "";
|
|
4499
4493
|
}
|
|
4500
|
-
p &&
|
|
4501
|
-
const oe =
|
|
4502
|
-
for (;
|
|
4503
|
-
|
|
4504
|
-
if (
|
|
4494
|
+
p && Qt && Te(p.firstChild);
|
|
4495
|
+
const oe = Vn(tt ? A : p);
|
|
4496
|
+
for (; W = oe.nextNode(); )
|
|
4497
|
+
Zn(W) || (W.content instanceof o && Fi(W.content), Qn(W));
|
|
4498
|
+
if (tt)
|
|
4505
4499
|
return A;
|
|
4506
|
-
if (
|
|
4507
|
-
if (
|
|
4508
|
-
for (se =
|
|
4500
|
+
if (Be) {
|
|
4501
|
+
if (yt)
|
|
4502
|
+
for (se = X.call(p.ownerDocument); p.firstChild; )
|
|
4509
4503
|
se.appendChild(p.firstChild);
|
|
4510
4504
|
else
|
|
4511
4505
|
se = p;
|
|
4512
|
-
return (I.shadowroot || I.shadowrootmode) && (se =
|
|
4506
|
+
return (I.shadowroot || I.shadowrootmode) && (se = j.call(r, se, !0)), se;
|
|
4513
4507
|
}
|
|
4514
|
-
let me =
|
|
4515
|
-
return
|
|
4516
|
-
` + me), ge &&
|
|
4517
|
-
me =
|
|
4518
|
-
}), H &&
|
|
4508
|
+
let me = Pe ? p.outerHTML : p.innerHTML;
|
|
4509
|
+
return Pe && N["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue(Li, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
|
|
4510
|
+
` + me), ge && Mt([te, he, v], (ve) => {
|
|
4511
|
+
me = at(me, ve, " ");
|
|
4512
|
+
}), H && xt ? H.createHTML(me) : me;
|
|
4519
4513
|
}, t.setConfig = function() {
|
|
4520
4514
|
let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4521
|
-
|
|
4515
|
+
rn(A), Jt = !0;
|
|
4522
4516
|
}, t.clearConfig = function() {
|
|
4523
|
-
|
|
4517
|
+
Fe = null, Jt = !1;
|
|
4524
4518
|
}, t.isValidAttribute = function(A, s, p) {
|
|
4525
|
-
|
|
4526
|
-
const S = ne(A),
|
|
4527
|
-
return
|
|
4519
|
+
Fe || rn({});
|
|
4520
|
+
const S = ne(A), W = ne(s);
|
|
4521
|
+
return qn(S, W, p);
|
|
4528
4522
|
}, t.addHook = function(A, s) {
|
|
4529
|
-
typeof s == "function" && (O[A] = O[A] || [],
|
|
4523
|
+
typeof s == "function" && (O[A] = O[A] || [], st(O[A], s));
|
|
4530
4524
|
}, t.removeHook = function(A) {
|
|
4531
4525
|
if (O[A])
|
|
4532
|
-
return
|
|
4526
|
+
return Ar(O[A]);
|
|
4533
4527
|
}, t.removeHooks = function(A) {
|
|
4534
4528
|
O[A] && (O[A] = []);
|
|
4535
4529
|
}, t.removeAllHooks = function() {
|
|
4536
4530
|
O = {};
|
|
4537
4531
|
}, t;
|
|
4538
4532
|
}
|
|
4539
|
-
var
|
|
4533
|
+
var Ir = Ni(), Hi = { exports: {} };
|
|
4540
4534
|
(function(e, t) {
|
|
4541
4535
|
(function(n, r) {
|
|
4542
4536
|
e.exports = r();
|
|
4543
|
-
})(
|
|
4544
|
-
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", u = "second", a = "minute", c = "hour", l = "day", f = "week", _ = "month", y = "quarter", M = "year", b = "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+)?$/,
|
|
4545
|
-
var E = ["th", "st", "nd", "rd"], g =
|
|
4546
|
-
return "[" +
|
|
4547
|
-
} }, w = function(
|
|
4548
|
-
var
|
|
4549
|
-
return !
|
|
4550
|
-
}, H = { s: w, z: function(
|
|
4551
|
-
var E = -
|
|
4552
|
-
return (E <= 0 ? "+" : "-") + w(
|
|
4553
|
-
}, m: function
|
|
4537
|
+
})(ti, function() {
|
|
4538
|
+
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", u = "second", a = "minute", c = "hour", l = "day", f = "week", _ = "month", y = "quarter", M = "year", b = "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+)?$/, G = /\[([^\]]+)]|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, $ = { 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) {
|
|
4539
|
+
var E = ["th", "st", "nd", "rd"], g = v % 100;
|
|
4540
|
+
return "[" + v + (E[(g - 20) % 10] || E[g] || E[0]) + "]";
|
|
4541
|
+
} }, w = function(v, E, g) {
|
|
4542
|
+
var T = String(v);
|
|
4543
|
+
return !T || T.length >= E ? v : "" + Array(E + 1 - T.length).join(g) + v;
|
|
4544
|
+
}, H = { s: w, z: function(v) {
|
|
4545
|
+
var E = -v.utcOffset(), g = Math.abs(E), T = Math.floor(g / 60), h = g % 60;
|
|
4546
|
+
return (E <= 0 ? "+" : "-") + w(T, 2, "0") + ":" + w(h, 2, "0");
|
|
4547
|
+
}, m: function v(E, g) {
|
|
4554
4548
|
if (E.date() < g.date())
|
|
4555
|
-
return -
|
|
4556
|
-
var
|
|
4557
|
-
return +(-(
|
|
4558
|
-
}, a: function(
|
|
4559
|
-
return
|
|
4560
|
-
}, p: function(
|
|
4561
|
-
return { M: _, y: M, w: f, d: l, D: b, h: c, m: a, s: u, ms: o, Q: y }[
|
|
4562
|
-
}, u: function(
|
|
4563
|
-
return
|
|
4564
|
-
} }, R = "en",
|
|
4565
|
-
|
|
4566
|
-
var
|
|
4567
|
-
return
|
|
4568
|
-
}, Q = function
|
|
4549
|
+
return -v(g, E);
|
|
4550
|
+
var T = 12 * (g.year() - E.year()) + (g.month() - E.month()), h = E.clone().add(T, _), x = g - h < 0, L = E.clone().add(T + (x ? -1 : 1), _);
|
|
4551
|
+
return +(-(T + (g - h) / (x ? h - L : L - h)) || 0);
|
|
4552
|
+
}, a: function(v) {
|
|
4553
|
+
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
|
4554
|
+
}, p: function(v) {
|
|
4555
|
+
return { M: _, y: M, w: f, d: l, D: b, h: c, m: a, s: u, ms: o, Q: y }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
|
4556
|
+
}, u: function(v) {
|
|
4557
|
+
return v === void 0;
|
|
4558
|
+
} }, R = "en", k = {};
|
|
4559
|
+
k[R] = $;
|
|
4560
|
+
var Z = "$isDayjsObject", X = function(v) {
|
|
4561
|
+
return v instanceof te || !(!v || !v[Z]);
|
|
4562
|
+
}, Q = function v(E, g, T) {
|
|
4569
4563
|
var h;
|
|
4570
4564
|
if (!E)
|
|
4571
4565
|
return R;
|
|
4572
4566
|
if (typeof E == "string") {
|
|
4573
4567
|
var x = E.toLowerCase();
|
|
4574
|
-
|
|
4568
|
+
k[x] && (h = x), g && (k[x] = g, h = x);
|
|
4575
4569
|
var L = E.split("-");
|
|
4576
4570
|
if (!h && L.length > 1)
|
|
4577
|
-
return
|
|
4571
|
+
return v(L[0]);
|
|
4578
4572
|
} else {
|
|
4579
4573
|
var N = E.name;
|
|
4580
|
-
|
|
4574
|
+
k[N] = E, h = N;
|
|
4581
4575
|
}
|
|
4582
|
-
return !
|
|
4583
|
-
},
|
|
4584
|
-
if (
|
|
4585
|
-
return
|
|
4576
|
+
return !T && h && (R = h), h || !T && R;
|
|
4577
|
+
}, j = function(v, E) {
|
|
4578
|
+
if (X(v))
|
|
4579
|
+
return v.clone();
|
|
4586
4580
|
var g = typeof E == "object" ? E : {};
|
|
4587
|
-
return g.date =
|
|
4581
|
+
return g.date = v, g.args = arguments, new te(g);
|
|
4588
4582
|
}, O = H;
|
|
4589
|
-
O.l = Q, O.i =
|
|
4590
|
-
return
|
|
4583
|
+
O.l = Q, O.i = X, O.w = function(v, E) {
|
|
4584
|
+
return j(v, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
4591
4585
|
};
|
|
4592
4586
|
var te = function() {
|
|
4593
|
-
function
|
|
4594
|
-
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[
|
|
4587
|
+
function v(g) {
|
|
4588
|
+
this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Z] = !0;
|
|
4595
4589
|
}
|
|
4596
|
-
var E =
|
|
4590
|
+
var E = v.prototype;
|
|
4597
4591
|
return E.parse = function(g) {
|
|
4598
|
-
this.$d = function(
|
|
4599
|
-
var h =
|
|
4592
|
+
this.$d = function(T) {
|
|
4593
|
+
var h = T.date, x = T.utc;
|
|
4600
4594
|
if (h === null)
|
|
4601
4595
|
return /* @__PURE__ */ new Date(NaN);
|
|
4602
4596
|
if (O.u(h))
|
|
@@ -4606,8 +4600,8 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4606
4600
|
if (typeof h == "string" && !/Z$/i.test(h)) {
|
|
4607
4601
|
var L = h.match(C);
|
|
4608
4602
|
if (L) {
|
|
4609
|
-
var N = L[2] - 1 || 0,
|
|
4610
|
-
return x ? new Date(Date.UTC(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0,
|
|
4603
|
+
var N = L[2] - 1 || 0, z = (L[7] || "0").substring(0, 3);
|
|
4604
|
+
return x ? new Date(Date.UTC(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, z)) : new Date(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, z);
|
|
4611
4605
|
}
|
|
4612
4606
|
}
|
|
4613
4607
|
return new Date(h);
|
|
@@ -4619,26 +4613,26 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4619
4613
|
return O;
|
|
4620
4614
|
}, E.isValid = function() {
|
|
4621
4615
|
return this.$d.toString() !== d;
|
|
4622
|
-
}, E.isSame = function(g,
|
|
4623
|
-
var h =
|
|
4624
|
-
return this.startOf(
|
|
4625
|
-
}, E.isAfter = function(g,
|
|
4626
|
-
return
|
|
4627
|
-
}, E.isBefore = function(g,
|
|
4628
|
-
return this.endOf(
|
|
4629
|
-
}, E.$g = function(g,
|
|
4630
|
-
return O.u(g) ? this[
|
|
4616
|
+
}, E.isSame = function(g, T) {
|
|
4617
|
+
var h = j(g);
|
|
4618
|
+
return this.startOf(T) <= h && h <= this.endOf(T);
|
|
4619
|
+
}, E.isAfter = function(g, T) {
|
|
4620
|
+
return j(g) < this.startOf(T);
|
|
4621
|
+
}, E.isBefore = function(g, T) {
|
|
4622
|
+
return this.endOf(T) < j(g);
|
|
4623
|
+
}, E.$g = function(g, T, h) {
|
|
4624
|
+
return O.u(g) ? this[T] : this.set(h, g);
|
|
4631
4625
|
}, E.unix = function() {
|
|
4632
4626
|
return Math.floor(this.valueOf() / 1e3);
|
|
4633
4627
|
}, E.valueOf = function() {
|
|
4634
4628
|
return this.$d.getTime();
|
|
4635
|
-
}, E.startOf = function(g,
|
|
4636
|
-
var h = this, x = !!O.u(
|
|
4629
|
+
}, E.startOf = function(g, T) {
|
|
4630
|
+
var h = this, x = !!O.u(T) || T, L = O.p(g), N = function(Ee, ie) {
|
|
4637
4631
|
var ye = O.w(h.$u ? Date.UTC(h.$y, ie, Ee) : new Date(h.$y, ie, Ee), h);
|
|
4638
4632
|
return x ? ye : ye.endOf(l);
|
|
4639
|
-
},
|
|
4633
|
+
}, z = function(Ee, ie) {
|
|
4640
4634
|
return O.w(h.toDate()[Ee].apply(h.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
|
|
4641
|
-
}, I = this.$W, q = this.$M, m = this.$D,
|
|
4635
|
+
}, I = this.$W, q = this.$M, m = this.$D, F = "set" + (this.$u ? "UTC" : "");
|
|
4642
4636
|
switch (L) {
|
|
4643
4637
|
case M:
|
|
4644
4638
|
return x ? N(1, 0) : N(31, 11);
|
|
@@ -4649,35 +4643,35 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4649
4643
|
return N(x ? m - K : m + (6 - K), q);
|
|
4650
4644
|
case l:
|
|
4651
4645
|
case b:
|
|
4652
|
-
return
|
|
4646
|
+
return z(F + "Hours", 0);
|
|
4653
4647
|
case c:
|
|
4654
|
-
return
|
|
4648
|
+
return z(F + "Minutes", 1);
|
|
4655
4649
|
case a:
|
|
4656
|
-
return
|
|
4650
|
+
return z(F + "Seconds", 2);
|
|
4657
4651
|
case u:
|
|
4658
|
-
return
|
|
4652
|
+
return z(F + "Milliseconds", 3);
|
|
4659
4653
|
default:
|
|
4660
4654
|
return this.clone();
|
|
4661
4655
|
}
|
|
4662
4656
|
}, E.endOf = function(g) {
|
|
4663
4657
|
return this.startOf(g, !1);
|
|
4664
|
-
}, E.$set = function(g,
|
|
4665
|
-
var h, x = O.p(g), L = "set" + (this.$u ? "UTC" : ""), N = (h = {}, h[l] = L + "Date", h[b] = L + "Date", h[_] = L + "Month", h[M] = L + "FullYear", h[c] = L + "Hours", h[a] = L + "Minutes", h[u] = L + "Seconds", h[o] = L + "Milliseconds", h)[x],
|
|
4658
|
+
}, E.$set = function(g, T) {
|
|
4659
|
+
var h, x = O.p(g), L = "set" + (this.$u ? "UTC" : ""), N = (h = {}, h[l] = L + "Date", h[b] = L + "Date", h[_] = L + "Month", h[M] = L + "FullYear", h[c] = L + "Hours", h[a] = L + "Minutes", h[u] = L + "Seconds", h[o] = L + "Milliseconds", h)[x], z = x === l ? this.$D + (T - this.$W) : T;
|
|
4666
4660
|
if (x === _ || x === M) {
|
|
4667
4661
|
var I = this.clone().set(b, 1);
|
|
4668
|
-
I.$d[N](
|
|
4662
|
+
I.$d[N](z), I.init(), this.$d = I.set(b, Math.min(this.$D, I.daysInMonth())).$d;
|
|
4669
4663
|
} else
|
|
4670
|
-
N && this.$d[N](
|
|
4664
|
+
N && this.$d[N](z);
|
|
4671
4665
|
return this.init(), this;
|
|
4672
|
-
}, E.set = function(g,
|
|
4673
|
-
return this.clone().$set(g,
|
|
4666
|
+
}, E.set = function(g, T) {
|
|
4667
|
+
return this.clone().$set(g, T);
|
|
4674
4668
|
}, E.get = function(g) {
|
|
4675
4669
|
return this[O.p(g)]();
|
|
4676
|
-
}, E.add = function(g,
|
|
4670
|
+
}, E.add = function(g, T) {
|
|
4677
4671
|
var h, x = this;
|
|
4678
4672
|
g = Number(g);
|
|
4679
|
-
var L = O.p(
|
|
4680
|
-
var m =
|
|
4673
|
+
var L = O.p(T), N = function(q) {
|
|
4674
|
+
var m = j(x);
|
|
4681
4675
|
return O.w(m.date(m.date() + Math.round(q * g)), x);
|
|
4682
4676
|
};
|
|
4683
4677
|
if (L === _)
|
|
@@ -4688,29 +4682,29 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4688
4682
|
return N(1);
|
|
4689
4683
|
if (L === f)
|
|
4690
4684
|
return N(7);
|
|
4691
|
-
var
|
|
4685
|
+
var z = (h = {}, h[a] = r, h[c] = i, h[u] = n, h)[L] || 1, I = this.$d.getTime() + g * z;
|
|
4692
4686
|
return O.w(I, this);
|
|
4693
|
-
}, E.subtract = function(g,
|
|
4694
|
-
return this.add(-1 * g,
|
|
4687
|
+
}, E.subtract = function(g, T) {
|
|
4688
|
+
return this.add(-1 * g, T);
|
|
4695
4689
|
}, E.format = function(g) {
|
|
4696
|
-
var
|
|
4690
|
+
var T = this, h = this.$locale();
|
|
4697
4691
|
if (!this.isValid())
|
|
4698
4692
|
return h.invalidDate || d;
|
|
4699
|
-
var x = g || "YYYY-MM-DDTHH:mm:ssZ", L = O.z(this), N = this.$H,
|
|
4700
|
-
return ie && (ie[ye] || ie(
|
|
4693
|
+
var x = g || "YYYY-MM-DDTHH:mm:ssZ", L = O.z(this), N = this.$H, z = this.$m, I = this.$M, q = h.weekdays, m = h.months, F = h.meridiem, ee = function(ie, ye, ge, Ce) {
|
|
4694
|
+
return ie && (ie[ye] || ie(T, x)) || ge[ye].slice(0, Ce);
|
|
4701
4695
|
}, K = function(ie) {
|
|
4702
4696
|
return O.s(N % 12 || 12, ie, "0");
|
|
4703
|
-
}, Ee =
|
|
4704
|
-
var
|
|
4705
|
-
return ge ?
|
|
4697
|
+
}, Ee = F || function(ie, ye, ge) {
|
|
4698
|
+
var Ce = ie < 12 ? "AM" : "PM";
|
|
4699
|
+
return ge ? Ce.toLowerCase() : Ce;
|
|
4706
4700
|
};
|
|
4707
|
-
return x.replace(
|
|
4701
|
+
return x.replace(G, function(ie, ye) {
|
|
4708
4702
|
return ye || function(ge) {
|
|
4709
4703
|
switch (ge) {
|
|
4710
4704
|
case "YY":
|
|
4711
|
-
return String(
|
|
4705
|
+
return String(T.$y).slice(-2);
|
|
4712
4706
|
case "YYYY":
|
|
4713
|
-
return O.s(
|
|
4707
|
+
return O.s(T.$y, 4, "0");
|
|
4714
4708
|
case "M":
|
|
4715
4709
|
return I + 1;
|
|
4716
4710
|
case "MM":
|
|
@@ -4720,17 +4714,17 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4720
4714
|
case "MMMM":
|
|
4721
4715
|
return ee(m, I);
|
|
4722
4716
|
case "D":
|
|
4723
|
-
return
|
|
4717
|
+
return T.$D;
|
|
4724
4718
|
case "DD":
|
|
4725
|
-
return O.s(
|
|
4719
|
+
return O.s(T.$D, 2, "0");
|
|
4726
4720
|
case "d":
|
|
4727
|
-
return String(
|
|
4721
|
+
return String(T.$W);
|
|
4728
4722
|
case "dd":
|
|
4729
|
-
return ee(h.weekdaysMin,
|
|
4723
|
+
return ee(h.weekdaysMin, T.$W, q, 2);
|
|
4730
4724
|
case "ddd":
|
|
4731
|
-
return ee(h.weekdaysShort,
|
|
4725
|
+
return ee(h.weekdaysShort, T.$W, q, 3);
|
|
4732
4726
|
case "dddd":
|
|
4733
|
-
return q[
|
|
4727
|
+
return q[T.$W];
|
|
4734
4728
|
case "H":
|
|
4735
4729
|
return String(N);
|
|
4736
4730
|
case "HH":
|
|
@@ -4740,19 +4734,19 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4740
4734
|
case "hh":
|
|
4741
4735
|
return K(2);
|
|
4742
4736
|
case "a":
|
|
4743
|
-
return Ee(N,
|
|
4737
|
+
return Ee(N, z, !0);
|
|
4744
4738
|
case "A":
|
|
4745
|
-
return Ee(N,
|
|
4739
|
+
return Ee(N, z, !1);
|
|
4746
4740
|
case "m":
|
|
4747
|
-
return String(
|
|
4741
|
+
return String(z);
|
|
4748
4742
|
case "mm":
|
|
4749
|
-
return O.s(
|
|
4743
|
+
return O.s(z, 2, "0");
|
|
4750
4744
|
case "s":
|
|
4751
|
-
return String(
|
|
4745
|
+
return String(T.$s);
|
|
4752
4746
|
case "ss":
|
|
4753
|
-
return O.s(
|
|
4747
|
+
return O.s(T.$s, 2, "0");
|
|
4754
4748
|
case "SSS":
|
|
4755
|
-
return O.s(
|
|
4749
|
+
return O.s(T.$ms, 3, "0");
|
|
4756
4750
|
case "Z":
|
|
4757
4751
|
return L;
|
|
4758
4752
|
}
|
|
@@ -4761,9 +4755,9 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4761
4755
|
});
|
|
4762
4756
|
}, E.utcOffset = function() {
|
|
4763
4757
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4764
|
-
}, E.diff = function(g,
|
|
4765
|
-
var x, L = this, N = O.p(
|
|
4766
|
-
return O.m(L,
|
|
4758
|
+
}, E.diff = function(g, T, h) {
|
|
4759
|
+
var x, L = this, N = O.p(T), z = j(g), I = (z.utcOffset() - this.utcOffset()) * r, q = this - z, m = function() {
|
|
4760
|
+
return O.m(L, z);
|
|
4767
4761
|
};
|
|
4768
4762
|
switch (N) {
|
|
4769
4763
|
case M:
|
|
@@ -4797,11 +4791,11 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4797
4791
|
}, E.daysInMonth = function() {
|
|
4798
4792
|
return this.endOf(_).$D;
|
|
4799
4793
|
}, E.$locale = function() {
|
|
4800
|
-
return
|
|
4801
|
-
}, E.locale = function(g,
|
|
4794
|
+
return k[this.$L];
|
|
4795
|
+
}, E.locale = function(g, T) {
|
|
4802
4796
|
if (!g)
|
|
4803
4797
|
return this.$L;
|
|
4804
|
-
var h = this.clone(), x = Q(g,
|
|
4798
|
+
var h = this.clone(), x = Q(g, T, !0);
|
|
4805
4799
|
return x && (h.$L = x), h;
|
|
4806
4800
|
}, E.clone = function() {
|
|
4807
4801
|
return O.w(this.$d, this);
|
|
@@ -4813,26 +4807,26 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4813
4807
|
return this.$d.toISOString();
|
|
4814
4808
|
}, E.toString = function() {
|
|
4815
4809
|
return this.$d.toUTCString();
|
|
4816
|
-
},
|
|
4810
|
+
}, v;
|
|
4817
4811
|
}(), he = te.prototype;
|
|
4818
|
-
return
|
|
4819
|
-
he[
|
|
4820
|
-
return this.$g(E,
|
|
4812
|
+
return j.prototype = he, [["$ms", o], ["$s", u], ["$m", a], ["$H", c], ["$W", l], ["$M", _], ["$y", M], ["$D", b]].forEach(function(v) {
|
|
4813
|
+
he[v[1]] = function(E) {
|
|
4814
|
+
return this.$g(E, v[0], v[1]);
|
|
4821
4815
|
};
|
|
4822
|
-
}),
|
|
4823
|
-
return
|
|
4824
|
-
},
|
|
4825
|
-
return
|
|
4826
|
-
},
|
|
4816
|
+
}), j.extend = function(v, E) {
|
|
4817
|
+
return v.$i || (v(E, te, j), v.$i = !0), j;
|
|
4818
|
+
}, j.locale = Q, j.isDayjs = X, j.unix = function(v) {
|
|
4819
|
+
return j(1e3 * v);
|
|
4820
|
+
}, j.en = k[R], j.Ls = k, j.p = {}, j;
|
|
4827
4821
|
});
|
|
4828
|
-
})(
|
|
4829
|
-
var
|
|
4830
|
-
const
|
|
4831
|
-
var
|
|
4822
|
+
})(Hi);
|
|
4823
|
+
var Ca = Hi.exports;
|
|
4824
|
+
const Pr = /* @__PURE__ */ Nn(Ca);
|
|
4825
|
+
var Ii = { exports: {} };
|
|
4832
4826
|
(function(e, t) {
|
|
4833
4827
|
(function(n, r) {
|
|
4834
4828
|
e.exports = r();
|
|
4835
|
-
})(
|
|
4829
|
+
})(ti, function() {
|
|
4836
4830
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
4837
4831
|
return function(o, u, a) {
|
|
4838
4832
|
var c = u.prototype;
|
|
@@ -4859,16 +4853,16 @@ var Ri = { exports: {} };
|
|
|
4859
4853
|
};
|
|
4860
4854
|
var _ = c.utcOffset;
|
|
4861
4855
|
c.utcOffset = function(d, C) {
|
|
4862
|
-
var
|
|
4863
|
-
if (
|
|
4864
|
-
return this.$u ? 0 :
|
|
4856
|
+
var G = this.$utils().u;
|
|
4857
|
+
if (G(d))
|
|
4858
|
+
return this.$u ? 0 : G(this.$offset) ? _.call(this) : this.$offset;
|
|
4865
4859
|
if (typeof d == "string" && (d = function(R) {
|
|
4866
4860
|
R === void 0 && (R = "");
|
|
4867
|
-
var
|
|
4868
|
-
if (!
|
|
4861
|
+
var k = R.match(r);
|
|
4862
|
+
if (!k)
|
|
4869
4863
|
return null;
|
|
4870
|
-
var
|
|
4871
|
-
return Q === 0 ? 0 :
|
|
4864
|
+
var Z = ("" + k[0]).match(i) || ["-", 0, 0], X = Z[0], Q = 60 * +Z[1] + +Z[2];
|
|
4865
|
+
return Q === 0 ? 0 : X === "+" ? Q : -Q;
|
|
4872
4866
|
}(d), d === null))
|
|
4873
4867
|
return this;
|
|
4874
4868
|
var $ = Math.abs(d) <= 16 ? 60 * d : d, w = this;
|
|
@@ -4900,25 +4894,25 @@ var Ri = { exports: {} };
|
|
|
4900
4894
|
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
4901
4895
|
};
|
|
4902
4896
|
var b = c.diff;
|
|
4903
|
-
c.diff = function(d, C,
|
|
4897
|
+
c.diff = function(d, C, G) {
|
|
4904
4898
|
if (d && this.$u === d.$u)
|
|
4905
|
-
return b.call(this, d, C,
|
|
4899
|
+
return b.call(this, d, C, G);
|
|
4906
4900
|
var $ = this.local(), w = a(d).local();
|
|
4907
|
-
return b.call($, w, C,
|
|
4901
|
+
return b.call($, w, C, G);
|
|
4908
4902
|
};
|
|
4909
4903
|
};
|
|
4910
4904
|
});
|
|
4911
|
-
})(
|
|
4912
|
-
var
|
|
4913
|
-
const
|
|
4914
|
-
let
|
|
4915
|
-
function
|
|
4905
|
+
})(Ii);
|
|
4906
|
+
var La = Ii.exports;
|
|
4907
|
+
const Na = /* @__PURE__ */ Nn(La);
|
|
4908
|
+
let Rr = _t(null);
|
|
4909
|
+
function Ha(e, t) {
|
|
4916
4910
|
if (e) {
|
|
4917
4911
|
const n = document.createElement("style");
|
|
4918
4912
|
n.innerHTML = t, e.appendChild(n);
|
|
4919
4913
|
}
|
|
4920
4914
|
}
|
|
4921
|
-
function
|
|
4915
|
+
function Ia(e, t) {
|
|
4922
4916
|
const n = new URL(t);
|
|
4923
4917
|
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
4924
4918
|
const i = document.createElement("style");
|
|
@@ -4927,7 +4921,7 @@ function Ra(e, t) {
|
|
|
4927
4921
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
4928
4922
|
});
|
|
4929
4923
|
}
|
|
4930
|
-
function
|
|
4924
|
+
function Pa(e, t, n) {
|
|
4931
4925
|
if (window.emMessageBus) {
|
|
4932
4926
|
const r = document.createElement("style");
|
|
4933
4927
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4935,70 +4929,70 @@ function Da(e, t, n) {
|
|
|
4935
4929
|
});
|
|
4936
4930
|
}
|
|
4937
4931
|
}
|
|
4938
|
-
function
|
|
4939
|
-
|
|
4932
|
+
function Ra(e) {
|
|
4933
|
+
Vi(e, "svelte-878602", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:15;top:0;left:0;background-color:var(--emw--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(--emw--header-height, 40px);background-color:var(--emw--color-gray-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(--emw--color-gray-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(--emw--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)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #3854FF)}.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(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.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}}");
|
|
4940
4934
|
}
|
|
4941
|
-
const
|
|
4942
|
-
function
|
|
4935
|
+
const Da = (e) => ({}), Dr = (e) => ({}), Ba = (e) => ({}), Br = (e) => ({}), $a = (e) => ({}), $r = (e) => ({}), Ua = (e) => ({}), Ur = (e) => ({ class: "CashierSessionExpirationIcon" });
|
|
4936
|
+
function kr(e) {
|
|
4943
4937
|
let t, n, r, i, o, u = (
|
|
4944
4938
|
/*$_*/
|
|
4945
4939
|
e[8]("sessionExpirationHeader") + ""
|
|
4946
|
-
), a, c, l, f, _, y, M, b, d, C,
|
|
4947
|
-
const
|
|
4940
|
+
), a, c, l, f, _, y, M, b, d, C, G, $, w, H, R;
|
|
4941
|
+
const k = (
|
|
4948
4942
|
/*#slots*/
|
|
4949
4943
|
e[22].icon
|
|
4950
|
-
),
|
|
4951
|
-
|
|
4944
|
+
), Z = Lt(
|
|
4945
|
+
k,
|
|
4952
4946
|
e,
|
|
4953
4947
|
/*$$scope*/
|
|
4954
4948
|
e[21],
|
|
4955
|
-
|
|
4956
|
-
),
|
|
4949
|
+
Ur
|
|
4950
|
+
), X = Z || ka(e), Q = (
|
|
4957
4951
|
/*#slots*/
|
|
4958
4952
|
e[22].title
|
|
4959
|
-
),
|
|
4953
|
+
), j = Lt(
|
|
4960
4954
|
Q,
|
|
4961
4955
|
e,
|
|
4962
4956
|
/*$$scope*/
|
|
4963
4957
|
e[21],
|
|
4964
|
-
|
|
4965
|
-
), O =
|
|
4958
|
+
$r
|
|
4959
|
+
), O = j || Fa(e), te = (
|
|
4966
4960
|
/*#slots*/
|
|
4967
4961
|
e[22].text
|
|
4968
|
-
), he =
|
|
4962
|
+
), he = Lt(
|
|
4969
4963
|
te,
|
|
4970
4964
|
e,
|
|
4971
4965
|
/*$$scope*/
|
|
4972
4966
|
e[21],
|
|
4973
|
-
|
|
4974
|
-
),
|
|
4975
|
-
function
|
|
4967
|
+
Br
|
|
4968
|
+
), v = he || Ga(e), E = [za, ja], g = [];
|
|
4969
|
+
function T(h, x) {
|
|
4976
4970
|
return (
|
|
4977
4971
|
/*showLoaderButton*/
|
|
4978
4972
|
h[6] ? 0 : 1
|
|
4979
4973
|
);
|
|
4980
4974
|
}
|
|
4981
|
-
return d =
|
|
4975
|
+
return d = T(e), C = g[d] = E[d](e), {
|
|
4982
4976
|
c() {
|
|
4983
|
-
t = re("div"), n = re("div"), r = re("div"), i = re("div"), o = re("div"), a =
|
|
4984
|
-
e[6],
|
|
4977
|
+
t = re("div"), n = re("div"), r = re("div"), i = re("div"), o = re("div"), a = Qe(u), c = ft(), l = re("div"), f = re("div"), X && X.c(), _ = ft(), O && O.c(), y = ft(), v && v.c(), M = ft(), b = re("button"), C.c(), V(o, "class", "CashierSessionExpirationModalHeaderTitle"), V(i, "class", "CashierSessionExpirationModalHeader"), V(b, "type", "button"), b.disabled = /*showLoaderButton*/
|
|
4978
|
+
e[6], V(b, "class", "CashierSessionExpirationButton"), V(f, "class", "CashierSessionExpiration"), V(l, "class", "CashierSessionExpirationModalContainer"), V(r, "class", "CashierSessionExpirationModalWrapper"), V(n, "class", "CashierSessionExpirationModalWindow"), V(n, "id", "CashierSessionExpirationModal"), Xe(() => (
|
|
4985
4979
|
/*div5_elementresize_handler*/
|
|
4986
4980
|
e[24].call(n)
|
|
4987
4981
|
));
|
|
4988
4982
|
},
|
|
4989
4983
|
m(h, x) {
|
|
4990
|
-
|
|
4984
|
+
Me(h, t, x), J(t, n), J(n, r), J(r, i), J(i, o), J(o, a), J(r, c), J(r, l), J(l, f), X && X.m(f, null), J(f, _), O && O.m(f, null), J(f, y), v && v.m(f, null), J(f, M), J(f, b), g[d].m(b, null), e[23](f), G = qi(
|
|
4991
4985
|
n,
|
|
4992
4986
|
/*div5_elementresize_handler*/
|
|
4993
4987
|
e[24].bind(n)
|
|
4994
4988
|
), e[25](t), w = !0, H || (R = [
|
|
4995
|
-
|
|
4989
|
+
Ut(
|
|
4996
4990
|
b,
|
|
4997
4991
|
"click",
|
|
4998
4992
|
/*renewSession*/
|
|
4999
4993
|
e[9]
|
|
5000
4994
|
),
|
|
5001
|
-
|
|
4995
|
+
Ut(
|
|
5002
4996
|
n,
|
|
5003
4997
|
"click",
|
|
5004
4998
|
/*outOfModalClick*/
|
|
@@ -5009,155 +5003,155 @@ function Gr(e) {
|
|
|
5009
5003
|
p(h, x) {
|
|
5010
5004
|
e = h, (!w || x[0] & /*$_*/
|
|
5011
5005
|
256) && u !== (u = /*$_*/
|
|
5012
|
-
e[8]("sessionExpirationHeader") + "") &&
|
|
5013
|
-
2097152) &&
|
|
5014
|
-
|
|
5015
|
-
|
|
5006
|
+
e[8]("sessionExpirationHeader") + "") && Xt(a, u), Z ? Z.p && (!w || x[0] & /*$$scope*/
|
|
5007
|
+
2097152) && Ht(
|
|
5008
|
+
Z,
|
|
5009
|
+
k,
|
|
5016
5010
|
e,
|
|
5017
5011
|
/*$$scope*/
|
|
5018
5012
|
e[21],
|
|
5019
|
-
w ?
|
|
5020
|
-
|
|
5013
|
+
w ? Nt(
|
|
5014
|
+
k,
|
|
5021
5015
|
/*$$scope*/
|
|
5022
5016
|
e[21],
|
|
5023
5017
|
x,
|
|
5024
|
-
|
|
5025
|
-
) :
|
|
5018
|
+
Ua
|
|
5019
|
+
) : It(
|
|
5026
5020
|
/*$$scope*/
|
|
5027
5021
|
e[21]
|
|
5028
5022
|
),
|
|
5029
|
-
|
|
5030
|
-
) :
|
|
5031
|
-
8) &&
|
|
5032
|
-
2097152) &&
|
|
5033
|
-
|
|
5023
|
+
Ur
|
|
5024
|
+
) : X && X.p && (!w || x[0] & /*assetsurl*/
|
|
5025
|
+
8) && X.p(e, w ? x : [-1, -1]), j ? j.p && (!w || x[0] & /*$$scope*/
|
|
5026
|
+
2097152) && Ht(
|
|
5027
|
+
j,
|
|
5034
5028
|
Q,
|
|
5035
5029
|
e,
|
|
5036
5030
|
/*$$scope*/
|
|
5037
5031
|
e[21],
|
|
5038
|
-
w ?
|
|
5032
|
+
w ? Nt(
|
|
5039
5033
|
Q,
|
|
5040
5034
|
/*$$scope*/
|
|
5041
5035
|
e[21],
|
|
5042
5036
|
x,
|
|
5043
|
-
|
|
5044
|
-
) :
|
|
5037
|
+
$a
|
|
5038
|
+
) : It(
|
|
5045
5039
|
/*$$scope*/
|
|
5046
5040
|
e[21]
|
|
5047
5041
|
),
|
|
5048
|
-
|
|
5042
|
+
$r
|
|
5049
5043
|
) : O && O.p && (!w || x[0] & /*$_*/
|
|
5050
5044
|
256) && O.p(e, w ? x : [-1, -1]), he ? he.p && (!w || x[0] & /*$$scope*/
|
|
5051
|
-
2097152) &&
|
|
5045
|
+
2097152) && Ht(
|
|
5052
5046
|
he,
|
|
5053
5047
|
te,
|
|
5054
5048
|
e,
|
|
5055
5049
|
/*$$scope*/
|
|
5056
5050
|
e[21],
|
|
5057
|
-
w ?
|
|
5051
|
+
w ? Nt(
|
|
5058
5052
|
te,
|
|
5059
5053
|
/*$$scope*/
|
|
5060
5054
|
e[21],
|
|
5061
5055
|
x,
|
|
5062
|
-
|
|
5063
|
-
) :
|
|
5056
|
+
Ba
|
|
5057
|
+
) : It(
|
|
5064
5058
|
/*$$scope*/
|
|
5065
5059
|
e[21]
|
|
5066
5060
|
),
|
|
5067
|
-
|
|
5068
|
-
) :
|
|
5069
|
-
384) &&
|
|
5061
|
+
Br
|
|
5062
|
+
) : v && v.p && (!w || x[0] & /*$_, timeLeft*/
|
|
5063
|
+
384) && v.p(e, w ? x : [-1, -1]);
|
|
5070
5064
|
let L = d;
|
|
5071
|
-
d =
|
|
5065
|
+
d = T(e), d === L ? g[d].p(e, x) : (Qr(), Le(g[L], 1, 1, () => {
|
|
5072
5066
|
g[L] = null;
|
|
5073
|
-
}),
|
|
5067
|
+
}), Kr(), C = g[d], C ? C.p(e, x) : (C = g[d] = E[d](e), C.c()), Se(C, 1), C.m(b, null)), (!w || x[0] & /*showLoaderButton*/
|
|
5074
5068
|
64) && (b.disabled = /*showLoaderButton*/
|
|
5075
5069
|
e[6]);
|
|
5076
5070
|
},
|
|
5077
5071
|
i(h) {
|
|
5078
|
-
w || (Se(
|
|
5079
|
-
w && ($ || ($ =
|
|
5072
|
+
w || (Se(X, h), Se(O, h), Se(v, h), Se(C), h && Xe(() => {
|
|
5073
|
+
w && ($ || ($ = ar(n, ur, { duration: (
|
|
5080
5074
|
/*duration*/
|
|
5081
5075
|
e[2]
|
|
5082
5076
|
) }, !0)), $.run(1));
|
|
5083
5077
|
}), w = !0);
|
|
5084
5078
|
},
|
|
5085
5079
|
o(h) {
|
|
5086
|
-
|
|
5080
|
+
Le(X, h), Le(O, h), Le(v, h), Le(C), h && ($ || ($ = ar(n, ur, { duration: (
|
|
5087
5081
|
/*duration*/
|
|
5088
5082
|
e[2]
|
|
5089
5083
|
) }, !1)), $.run(0)), w = !1;
|
|
5090
5084
|
},
|
|
5091
5085
|
d(h) {
|
|
5092
|
-
h && be(t),
|
|
5086
|
+
h && be(t), X && X.d(h), O && O.d(h), v && v.d(h), g[d].d(), e[23](null), G(), h && $ && $.end(), e[25](null), H = !1, He(R);
|
|
5093
5087
|
}
|
|
5094
5088
|
};
|
|
5095
5089
|
}
|
|
5096
|
-
function
|
|
5090
|
+
function Fr(e) {
|
|
5097
5091
|
let t, n;
|
|
5098
5092
|
return {
|
|
5099
5093
|
c() {
|
|
5100
|
-
t = re("img"),
|
|
5101
|
-
e[3]}/set-timeout-icon.png`) ||
|
|
5094
|
+
t = re("img"), nr(t.src, n = `${/*assetsurl*/
|
|
5095
|
+
e[3]}/set-timeout-icon.png`) || V(t, "src", n), V(t, "width", "300px"), V(t, "alt", "error");
|
|
5102
5096
|
},
|
|
5103
5097
|
m(r, i) {
|
|
5104
|
-
|
|
5098
|
+
Me(r, t, i);
|
|
5105
5099
|
},
|
|
5106
5100
|
p(r, i) {
|
|
5107
5101
|
i[0] & /*assetsurl*/
|
|
5108
|
-
8 && !
|
|
5109
|
-
r[3]}/set-timeout-icon.png`) &&
|
|
5102
|
+
8 && !nr(t.src, n = `${/*assetsurl*/
|
|
5103
|
+
r[3]}/set-timeout-icon.png`) && V(t, "src", n);
|
|
5110
5104
|
},
|
|
5111
5105
|
d(r) {
|
|
5112
5106
|
r && be(t);
|
|
5113
5107
|
}
|
|
5114
5108
|
};
|
|
5115
5109
|
}
|
|
5116
|
-
function
|
|
5110
|
+
function ka(e) {
|
|
5117
5111
|
let t, n = (
|
|
5118
5112
|
/*assetsurl*/
|
|
5119
|
-
e[3] &&
|
|
5113
|
+
e[3] && Fr(e)
|
|
5120
5114
|
);
|
|
5121
5115
|
return {
|
|
5122
5116
|
c() {
|
|
5123
|
-
n && n.c(), t =
|
|
5117
|
+
n && n.c(), t = qr();
|
|
5124
5118
|
},
|
|
5125
5119
|
m(r, i) {
|
|
5126
|
-
n && n.m(r, i),
|
|
5120
|
+
n && n.m(r, i), Me(r, t, i);
|
|
5127
5121
|
},
|
|
5128
5122
|
p(r, i) {
|
|
5129
5123
|
/*assetsurl*/
|
|
5130
|
-
r[3] ? n ? n.p(r, i) : (n =
|
|
5124
|
+
r[3] ? n ? n.p(r, i) : (n = Fr(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
|
|
5131
5125
|
},
|
|
5132
5126
|
d(r) {
|
|
5133
5127
|
r && be(t), n && n.d(r);
|
|
5134
5128
|
}
|
|
5135
5129
|
};
|
|
5136
5130
|
}
|
|
5137
|
-
function
|
|
5131
|
+
function Fa(e) {
|
|
5138
5132
|
let t, n = (
|
|
5139
5133
|
/*$_*/
|
|
5140
5134
|
e[8]("sessionExpirationTitle") + ""
|
|
5141
5135
|
), r;
|
|
5142
5136
|
return {
|
|
5143
5137
|
c() {
|
|
5144
|
-
t = re("span"), r =
|
|
5138
|
+
t = re("span"), r = Qe(n), V(t, "class", "CashierSessionExpirationTitle");
|
|
5145
5139
|
},
|
|
5146
5140
|
m(i, o) {
|
|
5147
|
-
|
|
5141
|
+
Me(i, t, o), J(t, r);
|
|
5148
5142
|
},
|
|
5149
5143
|
p(i, o) {
|
|
5150
5144
|
o[0] & /*$_*/
|
|
5151
5145
|
256 && n !== (n = /*$_*/
|
|
5152
|
-
i[8]("sessionExpirationTitle") + "") &&
|
|
5146
|
+
i[8]("sessionExpirationTitle") + "") && Xt(r, n);
|
|
5153
5147
|
},
|
|
5154
5148
|
d(i) {
|
|
5155
5149
|
i && be(t);
|
|
5156
5150
|
}
|
|
5157
5151
|
};
|
|
5158
5152
|
}
|
|
5159
|
-
function
|
|
5160
|
-
let t, n =
|
|
5153
|
+
function Ga(e) {
|
|
5154
|
+
let t, n = Ir.sanitize(
|
|
5161
5155
|
/*$_*/
|
|
5162
5156
|
e[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5163
5157
|
/*timeLeft*/
|
|
@@ -5166,14 +5160,14 @@ function za(e) {
|
|
|
5166
5160
|
) + "";
|
|
5167
5161
|
return {
|
|
5168
5162
|
c() {
|
|
5169
|
-
t = re("span"),
|
|
5163
|
+
t = re("span"), V(t, "class", "CashierSessionExpirationText");
|
|
5170
5164
|
},
|
|
5171
5165
|
m(r, i) {
|
|
5172
|
-
|
|
5166
|
+
Me(r, t, i), t.innerHTML = n;
|
|
5173
5167
|
},
|
|
5174
5168
|
p(r, i) {
|
|
5175
5169
|
i[0] & /*$_, timeLeft*/
|
|
5176
|
-
384 && n !== (n =
|
|
5170
|
+
384 && n !== (n = Ir.sanitize(
|
|
5177
5171
|
/*$_*/
|
|
5178
5172
|
r[8]("sessionExpirationGeneralText", { values: { second: (
|
|
5179
5173
|
/*timeLeft*/
|
|
@@ -5186,18 +5180,18 @@ function za(e) {
|
|
|
5186
5180
|
}
|
|
5187
5181
|
};
|
|
5188
5182
|
}
|
|
5189
|
-
function
|
|
5183
|
+
function ja(e) {
|
|
5190
5184
|
let t;
|
|
5191
5185
|
const n = (
|
|
5192
5186
|
/*#slots*/
|
|
5193
5187
|
e[22].button
|
|
5194
|
-
), r =
|
|
5188
|
+
), r = Lt(
|
|
5195
5189
|
n,
|
|
5196
5190
|
e,
|
|
5197
5191
|
/*$$scope*/
|
|
5198
5192
|
e[21],
|
|
5199
|
-
|
|
5200
|
-
), i = r ||
|
|
5193
|
+
Dr
|
|
5194
|
+
), i = r || Wa(e);
|
|
5201
5195
|
return {
|
|
5202
5196
|
c() {
|
|
5203
5197
|
i && i.c();
|
|
@@ -5207,23 +5201,23 @@ function Wa(e) {
|
|
|
5207
5201
|
},
|
|
5208
5202
|
p(o, u) {
|
|
5209
5203
|
r ? r.p && (!t || u[0] & /*$$scope*/
|
|
5210
|
-
2097152) &&
|
|
5204
|
+
2097152) && Ht(
|
|
5211
5205
|
r,
|
|
5212
5206
|
n,
|
|
5213
5207
|
o,
|
|
5214
5208
|
/*$$scope*/
|
|
5215
5209
|
o[21],
|
|
5216
|
-
t ?
|
|
5210
|
+
t ? Nt(
|
|
5217
5211
|
n,
|
|
5218
5212
|
/*$$scope*/
|
|
5219
5213
|
o[21],
|
|
5220
5214
|
u,
|
|
5221
|
-
|
|
5222
|
-
) :
|
|
5215
|
+
Da
|
|
5216
|
+
) : It(
|
|
5223
5217
|
/*$$scope*/
|
|
5224
5218
|
o[21]
|
|
5225
5219
|
),
|
|
5226
|
-
|
|
5220
|
+
Dr
|
|
5227
5221
|
) : i && i.p && (!t || u[0] & /*$_*/
|
|
5228
5222
|
256) && i.p(o, t ? u : [-1, -1]);
|
|
5229
5223
|
},
|
|
@@ -5231,29 +5225,29 @@ function Wa(e) {
|
|
|
5231
5225
|
t || (Se(i, o), t = !0);
|
|
5232
5226
|
},
|
|
5233
5227
|
o(o) {
|
|
5234
|
-
|
|
5228
|
+
Le(i, o), t = !1;
|
|
5235
5229
|
},
|
|
5236
5230
|
d(o) {
|
|
5237
5231
|
i && i.d(o);
|
|
5238
5232
|
}
|
|
5239
5233
|
};
|
|
5240
5234
|
}
|
|
5241
|
-
function
|
|
5235
|
+
function za(e) {
|
|
5242
5236
|
let t, n, r, i, o, u = (
|
|
5243
5237
|
/*$_*/
|
|
5244
5238
|
e[8]("sessionExpirationLoadingButton") + ""
|
|
5245
5239
|
), a;
|
|
5246
5240
|
return {
|
|
5247
5241
|
c() {
|
|
5248
|
-
t = re("div"), n =
|
|
5242
|
+
t = re("div"), n = ir("svg"), r = ir("path"), i = ft(), o = re("span"), a = Qe(u), V(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"), V(r, "fill", "white"), V(n, "class", "CashierSessionExpirationButtonSpinner"), V(n, "xmlns", "http://www.w3.org/2000/svg"), V(n, "width", "15"), V(n, "height", "14"), V(n, "viewBox", "0 0 15 14"), V(n, "fill", "none"), V(o, "class", "CashierSessionExpirationButtonText");
|
|
5249
5243
|
},
|
|
5250
5244
|
m(c, l) {
|
|
5251
|
-
|
|
5245
|
+
Me(c, t, l), J(t, n), J(n, r), J(t, i), J(t, o), J(o, a);
|
|
5252
5246
|
},
|
|
5253
5247
|
p(c, l) {
|
|
5254
5248
|
l[0] & /*$_*/
|
|
5255
5249
|
256 && u !== (u = /*$_*/
|
|
5256
|
-
c[8]("sessionExpirationLoadingButton") + "") &&
|
|
5250
|
+
c[8]("sessionExpirationLoadingButton") + "") && Xt(a, u);
|
|
5257
5251
|
},
|
|
5258
5252
|
i: de,
|
|
5259
5253
|
o: de,
|
|
@@ -5262,72 +5256,72 @@ function Va(e) {
|
|
|
5262
5256
|
}
|
|
5263
5257
|
};
|
|
5264
5258
|
}
|
|
5265
|
-
function
|
|
5259
|
+
function Wa(e) {
|
|
5266
5260
|
let t, n = (
|
|
5267
5261
|
/*$_*/
|
|
5268
5262
|
e[8]("sessionExpirationGeneralButton") + ""
|
|
5269
5263
|
), r;
|
|
5270
5264
|
return {
|
|
5271
5265
|
c() {
|
|
5272
|
-
t = re("span"), r =
|
|
5266
|
+
t = re("span"), r = Qe(n), V(t, "class", "CashierSessionExpirationButtonText");
|
|
5273
5267
|
},
|
|
5274
5268
|
m(i, o) {
|
|
5275
|
-
|
|
5269
|
+
Me(i, t, o), J(t, r);
|
|
5276
5270
|
},
|
|
5277
5271
|
p(i, o) {
|
|
5278
5272
|
o[0] & /*$_*/
|
|
5279
5273
|
256 && n !== (n = /*$_*/
|
|
5280
|
-
i[8]("sessionExpirationGeneralButton") + "") &&
|
|
5274
|
+
i[8]("sessionExpirationGeneralButton") + "") && Xt(r, n);
|
|
5281
5275
|
},
|
|
5282
5276
|
d(i) {
|
|
5283
5277
|
i && be(t);
|
|
5284
5278
|
}
|
|
5285
5279
|
};
|
|
5286
5280
|
}
|
|
5287
|
-
function
|
|
5281
|
+
function Va(e) {
|
|
5288
5282
|
let t, n, r = (
|
|
5289
5283
|
/*show*/
|
|
5290
|
-
e[5] &&
|
|
5284
|
+
e[5] && kr(e)
|
|
5291
5285
|
);
|
|
5292
5286
|
return {
|
|
5293
5287
|
c() {
|
|
5294
|
-
r && r.c(), t =
|
|
5288
|
+
r && r.c(), t = qr();
|
|
5295
5289
|
},
|
|
5296
5290
|
m(i, o) {
|
|
5297
|
-
r && r.m(i, o),
|
|
5291
|
+
r && r.m(i, o), Me(i, t, o), n = !0;
|
|
5298
5292
|
},
|
|
5299
5293
|
p(i, o) {
|
|
5300
5294
|
/*show*/
|
|
5301
5295
|
i[5] ? r ? (r.p(i, o), o[0] & /*show*/
|
|
5302
|
-
32 && Se(r, 1)) : (r =
|
|
5296
|
+
32 && Se(r, 1)) : (r = kr(i), r.c(), Se(r, 1), r.m(t.parentNode, t)) : r && (Qr(), Le(r, 1, 1, () => {
|
|
5303
5297
|
r = null;
|
|
5304
|
-
}),
|
|
5298
|
+
}), Kr());
|
|
5305
5299
|
},
|
|
5306
5300
|
i(i) {
|
|
5307
5301
|
n || (Se(r), n = !0);
|
|
5308
5302
|
},
|
|
5309
5303
|
o(i) {
|
|
5310
|
-
|
|
5304
|
+
Le(r), n = !1;
|
|
5311
5305
|
},
|
|
5312
5306
|
d(i) {
|
|
5313
5307
|
i && be(t), r && r.d(i);
|
|
5314
5308
|
}
|
|
5315
5309
|
};
|
|
5316
5310
|
}
|
|
5317
|
-
const
|
|
5318
|
-
function
|
|
5311
|
+
const Xa = 90;
|
|
5312
|
+
function Ya(e, t, n) {
|
|
5319
5313
|
let r, i;
|
|
5320
|
-
|
|
5314
|
+
rr(e, Rr, (m) => n(20, r = m)), rr(e, ua, (m) => n(8, i = m));
|
|
5321
5315
|
let { $$slots: o = {}, $$scope: u } = t;
|
|
5322
|
-
|
|
5323
|
-
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: _ = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: b = "" } = t, { endpoint: d } = t, { currency: C } = t, { customerid:
|
|
5316
|
+
Pr.extend(Na);
|
|
5317
|
+
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: _ = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: b = "" } = t, { endpoint: d } = t, { currency: C } = t, { customerid: G } = t, { selectedpaymentmethodname: $ } = t, { mbsource: w = "" } = t, H, R = !1, k = !1, Z, X, Q, j, O;
|
|
5324
5318
|
var te;
|
|
5325
5319
|
(function(m) {
|
|
5326
5320
|
m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
|
|
5327
5321
|
})(te || (te = {}));
|
|
5328
5322
|
const he = (m) => {
|
|
5329
|
-
m.data.type === "StartSessionCountdown" && (
|
|
5330
|
-
},
|
|
5323
|
+
m.data.type === "StartSessionCountdown" && (j = m.data.paymentMethodName);
|
|
5324
|
+
}, v = (m) => {
|
|
5331
5325
|
try {
|
|
5332
5326
|
return JSON.parse(atob(m.split(".")[1]));
|
|
5333
5327
|
} catch {
|
|
@@ -5343,27 +5337,27 @@ function qa(e, t, n) {
|
|
|
5343
5337
|
);
|
|
5344
5338
|
}, g = (m) => {
|
|
5345
5339
|
n(5, R = !1);
|
|
5346
|
-
const
|
|
5347
|
-
|
|
5340
|
+
const F = v(m);
|
|
5341
|
+
F && (X = F?.exp, n(7, Z = X), Q && clearInterval(Q), Q = setInterval(
|
|
5348
5342
|
() => {
|
|
5349
5343
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
5350
|
-
n(7,
|
|
5344
|
+
n(7, Z = X - ee), Z <= Xa && n(5, R = !0), ee >= X && (T(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
5351
5345
|
},
|
|
5352
5346
|
1e3
|
|
5353
5347
|
));
|
|
5354
|
-
},
|
|
5355
|
-
n(7,
|
|
5348
|
+
}, T = () => {
|
|
5349
|
+
n(7, Z = 0), n(5, R = !1), clearInterval(Q);
|
|
5356
5350
|
}, h = () => {
|
|
5357
|
-
if (
|
|
5351
|
+
if (k)
|
|
5358
5352
|
return;
|
|
5359
|
-
const m = new URL(`${d}/v1/player/${
|
|
5360
|
-
n(6,
|
|
5353
|
+
const m = new URL(`${d}/v1/player/${G}/payment/GetPaymentMethod`), F = new Headers();
|
|
5354
|
+
n(6, k = !0), F.append("accept", "application/json"), F.append("Content-Type", "application/json"), F.append("X-Client-Request-Timestamp", Pr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
5361
5355
|
const ee = {
|
|
5362
5356
|
method: "POST",
|
|
5363
5357
|
mode: "cors",
|
|
5364
|
-
headers:
|
|
5358
|
+
headers: F,
|
|
5365
5359
|
body: JSON.stringify({
|
|
5366
|
-
PaymentMethodName:
|
|
5360
|
+
PaymentMethodName: j || $,
|
|
5367
5361
|
Currency: C,
|
|
5368
5362
|
XPaymentSessionToken: r
|
|
5369
5363
|
})
|
|
@@ -5376,44 +5370,44 @@ function qa(e, t, n) {
|
|
|
5376
5370
|
error: K.error
|
|
5377
5371
|
},
|
|
5378
5372
|
window.location.href
|
|
5379
|
-
),
|
|
5373
|
+
), T();
|
|
5380
5374
|
return;
|
|
5381
5375
|
}
|
|
5382
5376
|
if (K.ResponseCode === te.PlayerSessionIsNotValid || K.ResponseCode === te.JwtTokenError) {
|
|
5383
|
-
O = K.ResponseCode,
|
|
5377
|
+
O = K.ResponseCode, T(), E();
|
|
5384
5378
|
return;
|
|
5385
5379
|
}
|
|
5386
5380
|
if (K.ResponseCode !== te.Success) {
|
|
5387
|
-
O = K.ResponseCode,
|
|
5381
|
+
O = K.ResponseCode, T();
|
|
5388
5382
|
return;
|
|
5389
5383
|
}
|
|
5390
|
-
K.XPaymentSessionToken &&
|
|
5391
|
-
}).finally(() => n(6,
|
|
5384
|
+
K.XPaymentSessionToken && Rr.set(K.XPaymentSessionToken);
|
|
5385
|
+
}).finally(() => n(6, k = !1));
|
|
5392
5386
|
}, x = (m) => {
|
|
5393
|
-
const
|
|
5394
|
-
m.target ===
|
|
5387
|
+
const F = m.currentTarget;
|
|
5388
|
+
m.target === F && h();
|
|
5395
5389
|
}, L = () => {
|
|
5396
|
-
fetch(b).then((
|
|
5397
|
-
Object.keys(
|
|
5398
|
-
|
|
5390
|
+
fetch(b).then((F) => F.json()).then((F) => {
|
|
5391
|
+
Object.keys(F).forEach((ee) => {
|
|
5392
|
+
vr(ee, F[ee]);
|
|
5399
5393
|
});
|
|
5400
|
-
}).catch((
|
|
5401
|
-
console.log(
|
|
5394
|
+
}).catch((F) => {
|
|
5395
|
+
console.log(F);
|
|
5402
5396
|
});
|
|
5403
5397
|
};
|
|
5404
|
-
Object.keys(
|
|
5405
|
-
|
|
5398
|
+
Object.keys(Sr).forEach((m) => {
|
|
5399
|
+
vr(m, Sr[m]);
|
|
5406
5400
|
});
|
|
5407
5401
|
const N = () => {
|
|
5408
|
-
|
|
5402
|
+
la(M);
|
|
5409
5403
|
};
|
|
5410
|
-
|
|
5404
|
+
ro(() => (window.addEventListener("message", he, !1), () => {
|
|
5411
5405
|
window.removeEventListener("message", he);
|
|
5412
|
-
})),
|
|
5406
|
+
})), io(() => {
|
|
5413
5407
|
clearInterval(Q);
|
|
5414
5408
|
});
|
|
5415
|
-
function
|
|
5416
|
-
|
|
5409
|
+
function z(m) {
|
|
5410
|
+
Gt[m ? "unshift" : "push"](() => {
|
|
5417
5411
|
H = m, n(4, H);
|
|
5418
5412
|
});
|
|
5419
5413
|
}
|
|
@@ -5421,19 +5415,19 @@ function qa(e, t, n) {
|
|
|
5421
5415
|
l = this.clientWidth, f = this.clientHeight, n(0, l), n(1, f);
|
|
5422
5416
|
}
|
|
5423
5417
|
function q(m) {
|
|
5424
|
-
|
|
5418
|
+
Gt[m ? "unshift" : "push"](() => {
|
|
5425
5419
|
H = m, n(4, H);
|
|
5426
5420
|
});
|
|
5427
5421
|
}
|
|
5428
5422
|
return e.$$set = (m) => {
|
|
5429
|
-
"clientstyling" in m && n(11, a = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0, l = m.width), "height" in m && n(1, f = m.height), "duration" in m && n(2, _ = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, b = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, C = m.currency), "customerid" in m && n(17,
|
|
5423
|
+
"clientstyling" in m && n(11, a = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0, l = m.width), "height" in m && n(1, f = m.height), "duration" in m && n(2, _ = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, b = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, C = m.currency), "customerid" in m && n(17, G = m.customerid), "selectedpaymentmethodname" in m && n(18, $ = m.selectedpaymentmethodname), "mbsource" in m && n(19, w = m.mbsource), "$$scope" in m && n(21, u = m.$$scope);
|
|
5430
5424
|
}, e.$$.update = () => {
|
|
5431
5425
|
e.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
5432
5426
|
1048576 && g(r), e.$$.dirty[0] & /*lang*/
|
|
5433
5427
|
8192 && M && N(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5434
|
-
2064 && a && H &&
|
|
5435
|
-
4112 && c && H &&
|
|
5436
|
-
524304 && w && H &&
|
|
5428
|
+
2064 && a && H && Ha(H, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5429
|
+
4112 && c && H && Ia(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5430
|
+
524304 && w && H && Pa(H, `${w}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5437
5431
|
16384 && b && L();
|
|
5438
5432
|
}, [
|
|
5439
5433
|
l,
|
|
@@ -5442,8 +5436,8 @@ function qa(e, t, n) {
|
|
|
5442
5436
|
y,
|
|
5443
5437
|
H,
|
|
5444
5438
|
R,
|
|
5445
|
-
|
|
5446
|
-
|
|
5439
|
+
k,
|
|
5440
|
+
Z,
|
|
5447
5441
|
i,
|
|
5448
5442
|
h,
|
|
5449
5443
|
x,
|
|
@@ -5453,25 +5447,25 @@ function qa(e, t, n) {
|
|
|
5453
5447
|
b,
|
|
5454
5448
|
d,
|
|
5455
5449
|
C,
|
|
5456
|
-
|
|
5450
|
+
G,
|
|
5457
5451
|
$,
|
|
5458
5452
|
w,
|
|
5459
5453
|
r,
|
|
5460
5454
|
u,
|
|
5461
5455
|
o,
|
|
5462
|
-
|
|
5456
|
+
z,
|
|
5463
5457
|
I,
|
|
5464
5458
|
q
|
|
5465
5459
|
];
|
|
5466
5460
|
}
|
|
5467
|
-
class
|
|
5461
|
+
class Za extends _o {
|
|
5468
5462
|
constructor(t) {
|
|
5469
|
-
super(),
|
|
5463
|
+
super(), po(
|
|
5470
5464
|
this,
|
|
5471
5465
|
t,
|
|
5472
|
-
qa,
|
|
5473
5466
|
Ya,
|
|
5474
|
-
|
|
5467
|
+
Va,
|
|
5468
|
+
zr,
|
|
5475
5469
|
{
|
|
5476
5470
|
clientstyling: 11,
|
|
5477
5471
|
clientstylingurl: 12,
|
|
@@ -5487,7 +5481,7 @@ class Ja extends Eo {
|
|
|
5487
5481
|
selectedpaymentmethodname: 18,
|
|
5488
5482
|
mbsource: 19
|
|
5489
5483
|
},
|
|
5490
|
-
|
|
5484
|
+
Ra,
|
|
5491
5485
|
[-1, -1]
|
|
5492
5486
|
);
|
|
5493
5487
|
}
|
|
@@ -5570,7 +5564,7 @@ class Ja extends Eo {
|
|
|
5570
5564
|
this.$$set({ mbsource: t }), le();
|
|
5571
5565
|
}
|
|
5572
5566
|
}
|
|
5573
|
-
|
|
5567
|
+
go(Za, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
5574
5568
|
export {
|
|
5575
|
-
|
|
5569
|
+
Za as C
|
|
5576
5570
|
};
|