@everymatrix/player-account-self-exclusion 1.86.12 → 1.86.21
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/{PlayerAccountGeneralConfirmationModal-BhWXlUGl.js → PlayerAccountGeneralConfirmationModal-CIRi6wCb.js} +500 -484
- package/components/{PlayerAccountGeneralConfirmationModal-CysDvEVs.js → PlayerAccountGeneralConfirmationModal-CX85nlMy.js} +534 -518
- package/components/{PlayerAccountGeneralConfirmationModal-Etoj2zHF.cjs → PlayerAccountGeneralConfirmationModal-xg8r2qzc.cjs} +5 -5
- package/components/{PlayerAccountModal-Ri0NFpxu.js → PlayerAccountModal-B2zOkRj3.js} +1 -1
- package/components/{PlayerAccountModal-B4RimlKX.cjs → PlayerAccountModal-CpbKOwmO.cjs} +1 -1
- package/components/{PlayerAccountModal-CV-B69fc.js → PlayerAccountModal-DADOkfPP.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-Z1YK_D8q.js → PlayerAccountSelfExclusion-DZqG6WuZ.js} +1225 -1218
- package/components/{PlayerAccountSelfExclusion-rI5v3u-O.js → PlayerAccountSelfExclusion-DeLXZa4n.js} +1081 -1074
- package/components/{PlayerAccountSelfExclusion-CaK5-CWL.cjs → PlayerAccountSelfExclusion-TWDzzfYD.cjs} +140 -140
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Lr = Object.defineProperty, Rr = Object.defineProperties;
|
|
2
2
|
var $r = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var mt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Me = (e, t, r) => t in e ?
|
|
4
|
+
var Gr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Me = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Gr.call(t, r) && Me(e, r, t[r]);
|
|
8
8
|
if (mt)
|
|
9
9
|
for (var r of mt(t))
|
|
10
|
-
|
|
10
|
+
Ur.call(t, r) && Me(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, dt = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, dt = (e, t) => Rr(e, $r(t));
|
|
13
|
+
var I = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var bt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,8 +29,8 @@ var bt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const Dr = (e) => e;
|
|
33
|
+
function Fr(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -53,7 +53,7 @@ function He(e) {
|
|
|
53
53
|
function Wt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function jr(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
59
|
function Zt(e, ...t) {
|
|
@@ -65,19 +65,19 @@ function Zt(e, ...t) {
|
|
|
65
65
|
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function kr(e, t, r) {
|
|
69
69
|
e.$$.on_destroy.push(Zt(t, r));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Vr(e, t, r, n) {
|
|
72
72
|
if (e) {
|
|
73
73
|
const i = Qt(e, t, r, n);
|
|
74
74
|
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
function Qt(e, t, r, n) {
|
|
78
|
-
return e[1] && n ?
|
|
78
|
+
return e[1] && n ? Fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Xr(e, t, r, n) {
|
|
81
81
|
if (e[2] && n) {
|
|
82
82
|
const i = e[2](n(r));
|
|
83
83
|
if (t.dirty === void 0)
|
|
@@ -92,13 +92,13 @@ function Vr(e, t, r, n) {
|
|
|
92
92
|
}
|
|
93
93
|
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function zr(e, t, r, n, i, o) {
|
|
96
96
|
if (i) {
|
|
97
97
|
const s = Qt(t, r, n, o);
|
|
98
98
|
e.p(s, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Wr(e) {
|
|
102
102
|
if (e.ctx.length > 32) {
|
|
103
103
|
const t = [], r = e.ctx.length / 32;
|
|
104
104
|
for (let n = 0; n < r; n++)
|
|
@@ -108,14 +108,14 @@ function zr(e) {
|
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
110
|
const Jt = typeof window != "undefined";
|
|
111
|
-
let
|
|
111
|
+
let Zr = Jt ? () => window.performance.now() : () => Date.now(), at = Jt ? (e) => requestAnimationFrame(e) : N;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
113
|
function qt(e) {
|
|
114
114
|
z.forEach((t) => {
|
|
115
115
|
t.c(e) || (z.delete(t), t.f());
|
|
116
116
|
}), z.size !== 0 && at(qt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Qr(e) {
|
|
119
119
|
let t;
|
|
120
120
|
return z.size === 0 && at(qt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
@@ -129,7 +129,7 @@ function Zr(e) {
|
|
|
129
129
|
function C(e, t) {
|
|
130
130
|
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Jr(e, t, r) {
|
|
133
133
|
const n = ut(e);
|
|
134
134
|
if (!n.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
@@ -146,7 +146,7 @@ function ut(e) {
|
|
|
146
146
|
t
|
|
147
147
|
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function qr(e) {
|
|
150
150
|
const t = M("style");
|
|
151
151
|
return t.textContent = "/* empty */", Yt(ut(e), t), t.sheet;
|
|
152
152
|
}
|
|
@@ -163,7 +163,7 @@ function ae(e, t, r) {
|
|
|
163
163
|
function D(e) {
|
|
164
164
|
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ro(e, t) {
|
|
167
167
|
for (let r = 0; r < e.length; r += 1)
|
|
168
168
|
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
@@ -185,30 +185,30 @@ function $o() {
|
|
|
185
185
|
function ke(e, t, r, n) {
|
|
186
186
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function A(e, t, r) {
|
|
189
189
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Go(e, t, r) {
|
|
192
192
|
const n = t.toLowerCase();
|
|
193
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
193
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Yr(e) {
|
|
196
196
|
return Array.from(e.childNodes);
|
|
197
197
|
}
|
|
198
198
|
function lt(e, t) {
|
|
199
199
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
200
200
|
t);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Uo(e, t, r, n) {
|
|
203
203
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function Do(e, t, r) {
|
|
206
206
|
e.classList.toggle(t, !!r);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Kr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
209
209
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function en(e) {
|
|
212
212
|
const t = {};
|
|
213
213
|
return e.childNodes.forEach(
|
|
214
214
|
/** @param {Element} node */
|
|
@@ -219,39 +219,39 @@ function Kr(e) {
|
|
|
219
219
|
}
|
|
220
220
|
const _e = /* @__PURE__ */ new Map();
|
|
221
221
|
let xe = 0;
|
|
222
|
-
function
|
|
222
|
+
function tn(e) {
|
|
223
223
|
let t = 5381, r = e.length;
|
|
224
224
|
for (; r--; )
|
|
225
225
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
226
226
|
return t >>> 0;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
const r = { stylesheet:
|
|
228
|
+
function rn(e, t) {
|
|
229
|
+
const r = { stylesheet: qr(t), rules: {} };
|
|
230
230
|
return _e.set(e, r), r;
|
|
231
231
|
}
|
|
232
232
|
function vt(e, t, r, n, i, o, s, a = 0) {
|
|
233
233
|
const l = 16.666 / n;
|
|
234
234
|
let u = `{
|
|
235
235
|
`;
|
|
236
|
-
for (let
|
|
237
|
-
const
|
|
238
|
-
u +=
|
|
236
|
+
for (let x = 0; x <= 1; x += l) {
|
|
237
|
+
const E = t + (r - t) * o(x);
|
|
238
|
+
u += x * 100 + `%{${s(E, 1 - E)}}
|
|
239
239
|
`;
|
|
240
240
|
}
|
|
241
241
|
const h = u + `100% {${s(r, 1 - r)}}
|
|
242
|
-
}`, c = `__svelte_${
|
|
242
|
+
}`, c = `__svelte_${tn(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || rn(f, e);
|
|
243
243
|
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
244
244
|
const d = e.style.animation || "";
|
|
245
245
|
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function nn(e, t) {
|
|
248
248
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
249
249
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
250
250
|
// remove all Svelte animations
|
|
251
251
|
), i = r.length - n.length;
|
|
252
|
-
i && (e.style.animation = n.join(", "), xe -= i, xe ||
|
|
252
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || on());
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function on() {
|
|
255
255
|
at(() => {
|
|
256
256
|
xe || (_e.forEach((e) => {
|
|
257
257
|
const { ownerNode: t } = e.stylesheet;
|
|
@@ -263,27 +263,27 @@ let ie;
|
|
|
263
263
|
function ne(e) {
|
|
264
264
|
ie = e;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function sn() {
|
|
267
267
|
if (!ie)
|
|
268
268
|
throw new Error("Function called outside component initialization");
|
|
269
269
|
return ie;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
|
|
271
|
+
function an(e) {
|
|
272
|
+
sn().$$.on_mount.push(e);
|
|
273
273
|
}
|
|
274
274
|
const X = [], Ve = [];
|
|
275
275
|
let W = [];
|
|
276
|
-
const _t = [],
|
|
276
|
+
const _t = [], un = /* @__PURE__ */ Promise.resolve();
|
|
277
277
|
let Xe = !1;
|
|
278
|
-
function
|
|
279
|
-
Xe || (Xe = !0,
|
|
278
|
+
function ln() {
|
|
279
|
+
Xe || (Xe = !0, un.then(O));
|
|
280
280
|
}
|
|
281
281
|
function Ee(e) {
|
|
282
282
|
W.push(e);
|
|
283
283
|
}
|
|
284
284
|
const Ne = /* @__PURE__ */ new Set();
|
|
285
285
|
let k = 0;
|
|
286
|
-
function
|
|
286
|
+
function O() {
|
|
287
287
|
if (k !== 0)
|
|
288
288
|
return;
|
|
289
289
|
const e = ie;
|
|
@@ -291,7 +291,7 @@ function I() {
|
|
|
291
291
|
try {
|
|
292
292
|
for (; k < X.length; ) {
|
|
293
293
|
const t = X[k];
|
|
294
|
-
k++, ne(t),
|
|
294
|
+
k++, ne(t), hn(t.$$);
|
|
295
295
|
}
|
|
296
296
|
} catch (t) {
|
|
297
297
|
throw X.length = 0, k = 0, t;
|
|
@@ -308,67 +308,67 @@ function I() {
|
|
|
308
308
|
_t.pop()();
|
|
309
309
|
Xe = !1, Ne.clear(), ne(e);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function hn(e) {
|
|
312
312
|
if (e.fragment !== null) {
|
|
313
313
|
e.update(), U(e.before_update);
|
|
314
314
|
const t = e.dirty;
|
|
315
315
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function cn(e) {
|
|
319
319
|
const t = [], r = [];
|
|
320
320
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
321
321
|
}
|
|
322
322
|
let te;
|
|
323
|
-
function
|
|
323
|
+
function fn() {
|
|
324
324
|
return te || (te = Promise.resolve(), te.then(() => {
|
|
325
325
|
te = null;
|
|
326
326
|
})), te;
|
|
327
327
|
}
|
|
328
328
|
function Le(e, t, r) {
|
|
329
|
-
e.dispatchEvent(
|
|
329
|
+
e.dispatchEvent(Kr(`${t ? "intro" : "outro"}${r}`));
|
|
330
330
|
}
|
|
331
331
|
const de = /* @__PURE__ */ new Set();
|
|
332
|
-
let
|
|
333
|
-
function
|
|
334
|
-
|
|
332
|
+
let R;
|
|
333
|
+
function Fo() {
|
|
334
|
+
R = {
|
|
335
335
|
r: 0,
|
|
336
336
|
c: [],
|
|
337
|
-
p:
|
|
337
|
+
p: R
|
|
338
338
|
// parent group
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
|
|
341
|
+
function jo() {
|
|
342
|
+
R.r || U(R.c), R = R.p;
|
|
343
343
|
}
|
|
344
344
|
function Kt(e, t) {
|
|
345
345
|
e && e.i && (de.delete(e), e.i(t));
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function mn(e, t, r, n) {
|
|
348
348
|
if (e && e.o) {
|
|
349
349
|
if (de.has(e))
|
|
350
350
|
return;
|
|
351
|
-
de.add(e),
|
|
351
|
+
de.add(e), R.c.push(() => {
|
|
352
352
|
de.delete(e), n && (r && e.d(1), n());
|
|
353
353
|
}), e.o(t);
|
|
354
354
|
} else
|
|
355
355
|
n && n();
|
|
356
356
|
}
|
|
357
|
-
const
|
|
358
|
-
function
|
|
357
|
+
const pn = { duration: 0 };
|
|
358
|
+
function ko(e, t, r, n) {
|
|
359
359
|
let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
|
|
360
360
|
function c() {
|
|
361
|
-
u &&
|
|
361
|
+
u && nn(e, u);
|
|
362
362
|
}
|
|
363
363
|
function f(m, d) {
|
|
364
|
-
const
|
|
364
|
+
const x = (
|
|
365
365
|
/** @type {Program['d']} */
|
|
366
366
|
m.b - s
|
|
367
367
|
);
|
|
368
|
-
return d *= Math.abs(
|
|
368
|
+
return d *= Math.abs(x), {
|
|
369
369
|
a: s,
|
|
370
370
|
b: m.b,
|
|
371
|
-
d:
|
|
371
|
+
d: x,
|
|
372
372
|
duration: d,
|
|
373
373
|
start: m.start,
|
|
374
374
|
end: m.start + d,
|
|
@@ -378,30 +378,30 @@ function jo(e, t, r, n) {
|
|
|
378
378
|
function p(m) {
|
|
379
379
|
const {
|
|
380
380
|
delay: d = 0,
|
|
381
|
-
duration:
|
|
382
|
-
easing:
|
|
383
|
-
tick:
|
|
384
|
-
css:
|
|
385
|
-
} = o ||
|
|
386
|
-
start:
|
|
381
|
+
duration: x = 300,
|
|
382
|
+
easing: E = Dr,
|
|
383
|
+
tick: H = N,
|
|
384
|
+
css: _
|
|
385
|
+
} = o || pn, S = {
|
|
386
|
+
start: Zr() + d,
|
|
387
387
|
b: m
|
|
388
388
|
};
|
|
389
|
-
m || (
|
|
390
|
-
e.inert, e.inert = !0)), a || l ? l =
|
|
391
|
-
if (l && b > l.start && (a = f(l,
|
|
389
|
+
m || (S.group = R, R.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
390
|
+
e.inert, e.inert = !0)), a || l ? l = S : (_ && (c(), u = vt(e, s, m, x, d, E, _)), m && H(0, 1), a = f(S, x), Ee(() => Le(e, m, "start")), Qr((b) => {
|
|
391
|
+
if (l && b > l.start && (a = f(l, x), l = null, Le(e, a.b, "start"), _ && (c(), u = vt(
|
|
392
392
|
e,
|
|
393
393
|
s,
|
|
394
394
|
a.b,
|
|
395
395
|
a.duration,
|
|
396
396
|
0,
|
|
397
|
-
|
|
397
|
+
E,
|
|
398
398
|
o.css
|
|
399
399
|
))), a) {
|
|
400
400
|
if (b >= a.end)
|
|
401
|
-
|
|
401
|
+
H(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
|
|
402
402
|
else if (b >= a.start) {
|
|
403
403
|
const B = b - a.start;
|
|
404
|
-
s = a.a + a.d *
|
|
404
|
+
s = a.a + a.d * E(B / a.duration), H(s, 1 - s);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
return !!(a || l);
|
|
@@ -409,7 +409,7 @@ function jo(e, t, r, n) {
|
|
|
409
409
|
}
|
|
410
410
|
return {
|
|
411
411
|
run(m) {
|
|
412
|
-
He(o) ?
|
|
412
|
+
He(o) ? fn().then(() => {
|
|
413
413
|
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
414
414
|
}) : p(m);
|
|
415
415
|
},
|
|
@@ -418,24 +418,24 @@ function jo(e, t, r, n) {
|
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Vo(e) {
|
|
422
422
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function dn(e, t, r) {
|
|
425
425
|
const { fragment: n, after_update: i } = e.$$;
|
|
426
426
|
n && n.m(t, r), Ee(() => {
|
|
427
427
|
const o = e.$$.on_mount.map(zt).filter(He);
|
|
428
428
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
429
429
|
}), i.forEach(Ee);
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function bn(e, t) {
|
|
432
432
|
const r = e.$$;
|
|
433
|
-
r.fragment !== null && (
|
|
433
|
+
r.fragment !== null && (cn(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
434
434
|
}
|
|
435
|
-
function
|
|
436
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
435
|
+
function gn(e, t) {
|
|
436
|
+
e.$$.dirty[0] === -1 && (X.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function yn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
439
439
|
const l = ie;
|
|
440
440
|
ne(e);
|
|
441
441
|
const u = e.$$ = {
|
|
@@ -463,14 +463,14 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
463
463
|
let h = !1;
|
|
464
464
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
465
465
|
const m = p.length ? p[0] : f;
|
|
466
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
466
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && gn(e, c)), f;
|
|
467
467
|
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
468
468
|
if (t.hydrate) {
|
|
469
|
-
const c =
|
|
469
|
+
const c = Yr(t.target);
|
|
470
470
|
u.fragment && u.fragment.l(c), c.forEach(D);
|
|
471
471
|
} else
|
|
472
472
|
u.fragment && u.fragment.c();
|
|
473
|
-
t.intro && Kt(e.$$.fragment),
|
|
473
|
+
t.intro && Kt(e.$$.fragment), dn(e, t.target, t.anchor), O();
|
|
474
474
|
}
|
|
475
475
|
ne(l);
|
|
476
476
|
}
|
|
@@ -479,23 +479,23 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
479
479
|
constructor(t, r, n) {
|
|
480
480
|
super();
|
|
481
481
|
/** The Svelte component constructor */
|
|
482
|
-
|
|
482
|
+
I(this, "$$ctor");
|
|
483
483
|
/** Slots */
|
|
484
|
-
|
|
484
|
+
I(this, "$$s");
|
|
485
485
|
/** The Svelte component instance */
|
|
486
|
-
|
|
486
|
+
I(this, "$$c");
|
|
487
487
|
/** Whether or not the custom element is connected */
|
|
488
|
-
|
|
488
|
+
I(this, "$$cn", !1);
|
|
489
489
|
/** Component props data */
|
|
490
|
-
|
|
490
|
+
I(this, "$$d", {});
|
|
491
491
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
492
|
-
|
|
492
|
+
I(this, "$$r", !1);
|
|
493
493
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
494
|
-
|
|
494
|
+
I(this, "$$p_d", {});
|
|
495
495
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
496
|
-
|
|
496
|
+
I(this, "$$l", {});
|
|
497
497
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
498
|
-
|
|
498
|
+
I(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
499
499
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
500
500
|
}
|
|
501
501
|
addEventListener(t, r, n) {
|
|
@@ -519,7 +519,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
519
519
|
let s;
|
|
520
520
|
return {
|
|
521
521
|
c: function() {
|
|
522
|
-
s = M("slot"), o !== "default" &&
|
|
522
|
+
s = M("slot"), o !== "default" && A(s, "name", o);
|
|
523
523
|
},
|
|
524
524
|
/**
|
|
525
525
|
* @param {HTMLElement} target
|
|
@@ -536,7 +536,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
536
536
|
};
|
|
537
537
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
538
538
|
return;
|
|
539
|
-
const r = {}, n =
|
|
539
|
+
const r = {}, n = en(this);
|
|
540
540
|
for (const o of this.$$s)
|
|
541
541
|
o in n && (r[o] = [t(o)]);
|
|
542
542
|
for (const o of this.attributes) {
|
|
@@ -625,7 +625,7 @@ function be(e, t, r, n) {
|
|
|
625
625
|
return t;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function vn(e, t, r, n, i, o) {
|
|
629
629
|
let s = class extends er {
|
|
630
630
|
constructor() {
|
|
631
631
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -656,7 +656,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
656
656
|
}), e.element = /** @type {any} */
|
|
657
657
|
s, s;
|
|
658
658
|
}
|
|
659
|
-
class
|
|
659
|
+
class _n {
|
|
660
660
|
constructor() {
|
|
661
661
|
/**
|
|
662
662
|
* ### PRIVATE API
|
|
@@ -665,7 +665,7 @@ class vn {
|
|
|
665
665
|
*
|
|
666
666
|
* @type {any}
|
|
667
667
|
*/
|
|
668
|
-
|
|
668
|
+
I(this, "$$");
|
|
669
669
|
/**
|
|
670
670
|
* ### PRIVATE API
|
|
671
671
|
*
|
|
@@ -673,11 +673,11 @@ class vn {
|
|
|
673
673
|
*
|
|
674
674
|
* @type {any}
|
|
675
675
|
*/
|
|
676
|
-
|
|
676
|
+
I(this, "$$set");
|
|
677
677
|
}
|
|
678
678
|
/** @returns {void} */
|
|
679
679
|
$destroy() {
|
|
680
|
-
|
|
680
|
+
bn(this, 1), this.$destroy = N;
|
|
681
681
|
}
|
|
682
682
|
/**
|
|
683
683
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -699,11 +699,11 @@ class vn {
|
|
|
699
699
|
* @returns {void}
|
|
700
700
|
*/
|
|
701
701
|
$set(t) {
|
|
702
|
-
this.$$set && !
|
|
702
|
+
this.$$set && !jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
const
|
|
706
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
705
|
+
const xn = "4";
|
|
706
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
|
|
707
707
|
/*! *****************************************************************************
|
|
708
708
|
Copyright (c) Microsoft Corporation.
|
|
709
709
|
|
|
@@ -773,7 +773,7 @@ function Qe(e, t, r) {
|
|
|
773
773
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
774
774
|
return e.concat(o || t);
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function $(e) {
|
|
777
777
|
return typeof e == "function";
|
|
778
778
|
}
|
|
779
779
|
function tr(e) {
|
|
@@ -782,7 +782,7 @@ function tr(e) {
|
|
|
782
782
|
}, r = e(t);
|
|
783
783
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
784
784
|
}
|
|
785
|
-
var
|
|
785
|
+
var Re = tr(function(e) {
|
|
786
786
|
return function(r) {
|
|
787
787
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
788
788
|
` + r.map(function(n, i) {
|
|
@@ -826,11 +826,11 @@ var Ae = function() {
|
|
|
826
826
|
else
|
|
827
827
|
s.remove(this);
|
|
828
828
|
var h = this.initialTeardown;
|
|
829
|
-
if (
|
|
829
|
+
if ($(h))
|
|
830
830
|
try {
|
|
831
831
|
h();
|
|
832
832
|
} catch (d) {
|
|
833
|
-
o = d instanceof
|
|
833
|
+
o = d instanceof Re ? d.errors : [d];
|
|
834
834
|
}
|
|
835
835
|
var c = this._finalizers;
|
|
836
836
|
if (c) {
|
|
@@ -841,7 +841,7 @@ var Ae = function() {
|
|
|
841
841
|
try {
|
|
842
842
|
xt(m);
|
|
843
843
|
} catch (d) {
|
|
844
|
-
o = o != null ? o : [], d instanceof
|
|
844
|
+
o = o != null ? o : [], d instanceof Re ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
847
|
} catch (d) {
|
|
@@ -856,7 +856,7 @@ var Ae = function() {
|
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
if (o)
|
|
859
|
-
throw new
|
|
859
|
+
throw new Re(o);
|
|
860
860
|
}
|
|
861
861
|
}, e.prototype.add = function(t) {
|
|
862
862
|
var r;
|
|
@@ -889,14 +889,14 @@ var Ae = function() {
|
|
|
889
889
|
}(), e;
|
|
890
890
|
}(), rr = Ae.EMPTY;
|
|
891
891
|
function nr(e) {
|
|
892
|
-
return e instanceof Ae || e && "closed" in e &&
|
|
892
|
+
return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
893
893
|
}
|
|
894
894
|
function xt(e) {
|
|
895
|
-
|
|
895
|
+
$(e) ? e() : e.unsubscribe();
|
|
896
896
|
}
|
|
897
|
-
var
|
|
897
|
+
var En = {
|
|
898
898
|
Promise: void 0
|
|
899
|
-
},
|
|
899
|
+
}, Sn = {
|
|
900
900
|
setTimeout: function(e, t) {
|
|
901
901
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
902
902
|
r[n - 2] = arguments[n];
|
|
@@ -907,8 +907,8 @@ var xn = {
|
|
|
907
907
|
},
|
|
908
908
|
delegate: void 0
|
|
909
909
|
};
|
|
910
|
-
function
|
|
911
|
-
|
|
910
|
+
function wn(e) {
|
|
911
|
+
Sn.setTimeout(function() {
|
|
912
912
|
throw e;
|
|
913
913
|
});
|
|
914
914
|
}
|
|
@@ -921,7 +921,7 @@ var ir = function(e) {
|
|
|
921
921
|
le(t, e);
|
|
922
922
|
function t(r) {
|
|
923
923
|
var n = e.call(this) || this;
|
|
924
|
-
return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination =
|
|
924
|
+
return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = An, n;
|
|
925
925
|
}
|
|
926
926
|
return t.create = function(r, n, i) {
|
|
927
927
|
return new qe(r, n, i);
|
|
@@ -948,7 +948,7 @@ var ir = function(e) {
|
|
|
948
948
|
this.unsubscribe();
|
|
949
949
|
}
|
|
950
950
|
}, t;
|
|
951
|
-
}(Ae),
|
|
951
|
+
}(Ae), Tn = function() {
|
|
952
952
|
function e(t) {
|
|
953
953
|
this.partialObserver = t;
|
|
954
954
|
}
|
|
@@ -983,33 +983,33 @@ var ir = function(e) {
|
|
|
983
983
|
le(t, e);
|
|
984
984
|
function t(r, n, i) {
|
|
985
985
|
var o = e.call(this) || this, s;
|
|
986
|
-
return
|
|
986
|
+
return $(r) || !r ? s = {
|
|
987
987
|
next: r != null ? r : void 0,
|
|
988
988
|
error: n != null ? n : void 0,
|
|
989
989
|
complete: i != null ? i : void 0
|
|
990
|
-
} : s = r, o.destination = new
|
|
990
|
+
} : s = r, o.destination = new Tn(s), o;
|
|
991
991
|
}
|
|
992
992
|
return t;
|
|
993
993
|
}(ir);
|
|
994
994
|
function me(e) {
|
|
995
|
-
|
|
995
|
+
wn(e);
|
|
996
996
|
}
|
|
997
|
-
function
|
|
997
|
+
function Hn(e) {
|
|
998
998
|
throw e;
|
|
999
999
|
}
|
|
1000
|
-
var
|
|
1000
|
+
var An = {
|
|
1001
1001
|
closed: !0,
|
|
1002
1002
|
next: Et,
|
|
1003
|
-
error:
|
|
1003
|
+
error: Hn,
|
|
1004
1004
|
complete: Et
|
|
1005
|
-
},
|
|
1005
|
+
}, Bn = function() {
|
|
1006
1006
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1007
1007
|
}();
|
|
1008
|
-
function
|
|
1008
|
+
function Cn(e) {
|
|
1009
1009
|
return e;
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1012
|
-
return e.length === 0 ?
|
|
1011
|
+
function Pn(e) {
|
|
1012
|
+
return e.length === 0 ? Cn : e.length === 1 ? e[0] : function(r) {
|
|
1013
1013
|
return e.reduce(function(n, i) {
|
|
1014
1014
|
return i(n);
|
|
1015
1015
|
}, r);
|
|
@@ -1023,7 +1023,7 @@ var St = function() {
|
|
|
1023
1023
|
var r = new e();
|
|
1024
1024
|
return r.source = this, r.operator = t, r;
|
|
1025
1025
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1026
|
-
var i = this, o =
|
|
1026
|
+
var i = this, o = In(t) ? t : new qe(t, r, n);
|
|
1027
1027
|
return ge(function() {
|
|
1028
1028
|
var s = i, a = s.operator, l = s.source;
|
|
1029
1029
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1053,12 +1053,12 @@ var St = function() {
|
|
|
1053
1053
|
}, e.prototype._subscribe = function(t) {
|
|
1054
1054
|
var r;
|
|
1055
1055
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1056
|
-
}, e.prototype[
|
|
1056
|
+
}, e.prototype[Bn] = function() {
|
|
1057
1057
|
return this;
|
|
1058
1058
|
}, e.prototype.pipe = function() {
|
|
1059
1059
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1060
1060
|
t[r] = arguments[r];
|
|
1061
|
-
return
|
|
1061
|
+
return Pn(t)(this);
|
|
1062
1062
|
}, e.prototype.toPromise = function(t) {
|
|
1063
1063
|
var r = this;
|
|
1064
1064
|
return t = wt(t), new t(function(n, i) {
|
|
@@ -1077,15 +1077,15 @@ var St = function() {
|
|
|
1077
1077
|
}();
|
|
1078
1078
|
function wt(e) {
|
|
1079
1079
|
var t;
|
|
1080
|
-
return (t = e != null ? e :
|
|
1081
|
-
}
|
|
1082
|
-
function Pn(e) {
|
|
1083
|
-
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1080
|
+
return (t = e != null ? e : En.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1084
1081
|
}
|
|
1085
1082
|
function On(e) {
|
|
1086
|
-
return e && e
|
|
1083
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1087
1084
|
}
|
|
1088
|
-
|
|
1085
|
+
function In(e) {
|
|
1086
|
+
return e && e instanceof ir || On(e) && nr(e);
|
|
1087
|
+
}
|
|
1088
|
+
var Mn = tr(function(e) {
|
|
1089
1089
|
return function() {
|
|
1090
1090
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1091
1091
|
};
|
|
@@ -1100,7 +1100,7 @@ var In = tr(function(e) {
|
|
|
1100
1100
|
return n.operator = r, n;
|
|
1101
1101
|
}, t.prototype._throwIfClosed = function() {
|
|
1102
1102
|
if (this.closed)
|
|
1103
|
-
throw new
|
|
1103
|
+
throw new Mn();
|
|
1104
1104
|
}, t.prototype.next = function(r) {
|
|
1105
1105
|
var n = this;
|
|
1106
1106
|
ge(function() {
|
|
@@ -1193,7 +1193,7 @@ var In = tr(function(e) {
|
|
|
1193
1193
|
return (sr.delegate || Date).now();
|
|
1194
1194
|
},
|
|
1195
1195
|
delegate: void 0
|
|
1196
|
-
},
|
|
1196
|
+
}, Nn = function(e) {
|
|
1197
1197
|
le(t, e);
|
|
1198
1198
|
function t(r, n, i) {
|
|
1199
1199
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
@@ -1217,14 +1217,14 @@ var In = tr(function(e) {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
}, t;
|
|
1219
1219
|
}(or);
|
|
1220
|
-
const Ht = [], At = {},
|
|
1220
|
+
const Ht = [], At = {}, Ln = (e, t = 0) => {
|
|
1221
1221
|
if (Ht.indexOf(e) == -1) {
|
|
1222
|
-
const r = new
|
|
1222
|
+
const r = new Nn(t);
|
|
1223
1223
|
At[e] = r, Ht.push(e);
|
|
1224
1224
|
}
|
|
1225
1225
|
return At[e];
|
|
1226
1226
|
}, V = [];
|
|
1227
|
-
function
|
|
1227
|
+
function Rn(e, t) {
|
|
1228
1228
|
return {
|
|
1229
1229
|
subscribe: Be(e, t).subscribe
|
|
1230
1230
|
};
|
|
@@ -1260,7 +1260,7 @@ function Y(e, t, r) {
|
|
|
1260
1260
|
if (!i.every(Boolean))
|
|
1261
1261
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1262
1262
|
const o = t.length < 2;
|
|
1263
|
-
return
|
|
1263
|
+
return Rn(r, (s, a) => {
|
|
1264
1264
|
let l = !1;
|
|
1265
1265
|
const u = [];
|
|
1266
1266
|
let h = 0, c = N;
|
|
@@ -1273,8 +1273,8 @@ function Y(e, t, r) {
|
|
|
1273
1273
|
}, p = i.map(
|
|
1274
1274
|
(m, d) => Zt(
|
|
1275
1275
|
m,
|
|
1276
|
-
(
|
|
1277
|
-
u[d] =
|
|
1276
|
+
(x) => {
|
|
1277
|
+
u[d] = x, h &= ~(1 << d), l && f();
|
|
1278
1278
|
},
|
|
1279
1279
|
() => {
|
|
1280
1280
|
h |= 1 << d;
|
|
@@ -1286,48 +1286,48 @@ function Y(e, t, r) {
|
|
|
1286
1286
|
};
|
|
1287
1287
|
});
|
|
1288
1288
|
}
|
|
1289
|
-
var
|
|
1289
|
+
var Xo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1290
1290
|
function $n(e) {
|
|
1291
1291
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1292
1292
|
}
|
|
1293
|
-
var
|
|
1294
|
-
return
|
|
1293
|
+
var Gn = function(t) {
|
|
1294
|
+
return Un(t) && !Dn(t);
|
|
1295
1295
|
};
|
|
1296
|
-
function
|
|
1296
|
+
function Un(e) {
|
|
1297
1297
|
return !!e && typeof e == "object";
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function Dn(e) {
|
|
1300
1300
|
var t = Object.prototype.toString.call(e);
|
|
1301
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1302
|
-
}
|
|
1303
|
-
var Dn = typeof Symbol == "function" && Symbol.for, Fn = Dn ? Symbol.for("react.element") : 60103;
|
|
1304
|
-
function jn(e) {
|
|
1305
|
-
return e.$$typeof === Fn;
|
|
1301
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1306
1302
|
}
|
|
1303
|
+
var Fn = typeof Symbol == "function" && Symbol.for, jn = Fn ? Symbol.for("react.element") : 60103;
|
|
1307
1304
|
function kn(e) {
|
|
1305
|
+
return e.$$typeof === jn;
|
|
1306
|
+
}
|
|
1307
|
+
function Vn(e) {
|
|
1308
1308
|
return Array.isArray(e) ? [] : {};
|
|
1309
1309
|
}
|
|
1310
1310
|
function oe(e, t) {
|
|
1311
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
1311
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Vn(e), e, t) : e;
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function Xn(e, t, r) {
|
|
1314
1314
|
return e.concat(t).map(function(n) {
|
|
1315
1315
|
return oe(n, r);
|
|
1316
1316
|
});
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function zn(e, t) {
|
|
1319
1319
|
if (!t.customMerge)
|
|
1320
1320
|
return Z;
|
|
1321
1321
|
var r = t.customMerge(e);
|
|
1322
1322
|
return typeof r == "function" ? r : Z;
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1324
|
+
function Wn(e) {
|
|
1325
1325
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1326
1326
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1327
1327
|
}) : [];
|
|
1328
1328
|
}
|
|
1329
1329
|
function Bt(e) {
|
|
1330
|
-
return Object.keys(e).concat(
|
|
1330
|
+
return Object.keys(e).concat(Wn(e));
|
|
1331
1331
|
}
|
|
1332
1332
|
function ar(e, t) {
|
|
1333
1333
|
try {
|
|
@@ -1336,21 +1336,21 @@ function ar(e, t) {
|
|
|
1336
1336
|
return !1;
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function Zn(e, t) {
|
|
1340
1340
|
return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1341
1341
|
}
|
|
1342
|
-
function
|
|
1342
|
+
function Qn(e, t, r) {
|
|
1343
1343
|
var n = {};
|
|
1344
1344
|
return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
|
|
1345
1345
|
n[i] = oe(e[i], r);
|
|
1346
1346
|
}), Bt(t).forEach(function(i) {
|
|
1347
|
-
|
|
1347
|
+
Zn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1348
1348
|
}), n;
|
|
1349
1349
|
}
|
|
1350
1350
|
function Z(e, t, r) {
|
|
1351
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1351
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Gn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1352
1352
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1353
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1353
|
+
return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : oe(t, r);
|
|
1354
1354
|
}
|
|
1355
1355
|
Z.all = function(t, r) {
|
|
1356
1356
|
if (!Array.isArray(t))
|
|
@@ -1359,8 +1359,8 @@ Z.all = function(t, r) {
|
|
|
1359
1359
|
return Z(n, i, r);
|
|
1360
1360
|
}, {});
|
|
1361
1361
|
};
|
|
1362
|
-
var
|
|
1363
|
-
const
|
|
1362
|
+
var Jn = Z, qn = Jn;
|
|
1363
|
+
const Yn = /* @__PURE__ */ $n(qn);
|
|
1364
1364
|
var Ye = function(e, t) {
|
|
1365
1365
|
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1366
1366
|
r.__proto__ = n;
|
|
@@ -1388,7 +1388,7 @@ var L = function() {
|
|
|
1388
1388
|
return t;
|
|
1389
1389
|
}, L.apply(this, arguments);
|
|
1390
1390
|
};
|
|
1391
|
-
function
|
|
1391
|
+
function Kn(e, t) {
|
|
1392
1392
|
var r = {};
|
|
1393
1393
|
for (var n in e)
|
|
1394
1394
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1397,24 +1397,24 @@ function Yn(e, t) {
|
|
|
1397
1397
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1398
1398
|
return r;
|
|
1399
1399
|
}
|
|
1400
|
-
function
|
|
1400
|
+
function $e(e, t, r) {
|
|
1401
1401
|
if (r || arguments.length === 2)
|
|
1402
1402
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1403
1403
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1404
1404
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1405
1405
|
}
|
|
1406
1406
|
function Ge(e, t) {
|
|
1407
|
-
var r = t && t.cache ? t.cache :
|
|
1407
|
+
var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ri;
|
|
1408
1408
|
return i(e, {
|
|
1409
1409
|
cache: r,
|
|
1410
1410
|
serializer: n
|
|
1411
1411
|
});
|
|
1412
1412
|
}
|
|
1413
|
-
function
|
|
1413
|
+
function ei(e) {
|
|
1414
1414
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1417
|
-
var i =
|
|
1416
|
+
function ti(e, t, r, n) {
|
|
1417
|
+
var i = ei(n) ? n : r(n), o = t.get(i);
|
|
1418
1418
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1419
1419
|
}
|
|
1420
1420
|
function ur(e, t, r) {
|
|
@@ -1424,16 +1424,16 @@ function ur(e, t, r) {
|
|
|
1424
1424
|
function lr(e, t, r, n, i) {
|
|
1425
1425
|
return r.bind(t, e, n, i);
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1428
|
-
var r = e.length === 1 ?
|
|
1427
|
+
function ri(e, t) {
|
|
1428
|
+
var r = e.length === 1 ? ti : ur;
|
|
1429
1429
|
return lr(e, this, r, t.cache.create(), t.serializer);
|
|
1430
1430
|
}
|
|
1431
|
-
function
|
|
1431
|
+
function ni(e, t) {
|
|
1432
1432
|
return lr(e, this, ur, t.cache.create(), t.serializer);
|
|
1433
1433
|
}
|
|
1434
|
-
var
|
|
1434
|
+
var ii = function() {
|
|
1435
1435
|
return JSON.stringify(arguments);
|
|
1436
|
-
},
|
|
1436
|
+
}, oi = (
|
|
1437
1437
|
/** @class */
|
|
1438
1438
|
function() {
|
|
1439
1439
|
function e() {
|
|
@@ -1445,12 +1445,12 @@ var ni = function() {
|
|
|
1445
1445
|
this.cache[t] = r;
|
|
1446
1446
|
}, e;
|
|
1447
1447
|
}()
|
|
1448
|
-
),
|
|
1448
|
+
), si = {
|
|
1449
1449
|
create: function() {
|
|
1450
|
-
return new
|
|
1450
|
+
return new oi();
|
|
1451
1451
|
}
|
|
1452
1452
|
}, Ue = {
|
|
1453
|
-
variadic:
|
|
1453
|
+
variadic: ni
|
|
1454
1454
|
}, Se = function() {
|
|
1455
1455
|
return Se = Object.assign || function(t) {
|
|
1456
1456
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -1465,40 +1465,40 @@ var y;
|
|
|
1465
1465
|
(function(e) {
|
|
1466
1466
|
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";
|
|
1467
1467
|
})(y || (y = {}));
|
|
1468
|
-
var
|
|
1468
|
+
var w;
|
|
1469
1469
|
(function(e) {
|
|
1470
1470
|
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";
|
|
1471
|
-
})(
|
|
1471
|
+
})(w || (w = {}));
|
|
1472
1472
|
var Q;
|
|
1473
1473
|
(function(e) {
|
|
1474
1474
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1475
1475
|
})(Q || (Q = {}));
|
|
1476
1476
|
function Ct(e) {
|
|
1477
|
-
return e.type ===
|
|
1477
|
+
return e.type === w.literal;
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1480
|
-
return e.type ===
|
|
1479
|
+
function ai(e) {
|
|
1480
|
+
return e.type === w.argument;
|
|
1481
1481
|
}
|
|
1482
1482
|
function hr(e) {
|
|
1483
|
-
return e.type ===
|
|
1483
|
+
return e.type === w.number;
|
|
1484
1484
|
}
|
|
1485
1485
|
function cr(e) {
|
|
1486
|
-
return e.type ===
|
|
1486
|
+
return e.type === w.date;
|
|
1487
1487
|
}
|
|
1488
1488
|
function fr(e) {
|
|
1489
|
-
return e.type ===
|
|
1489
|
+
return e.type === w.time;
|
|
1490
1490
|
}
|
|
1491
1491
|
function mr(e) {
|
|
1492
|
-
return e.type ===
|
|
1492
|
+
return e.type === w.select;
|
|
1493
1493
|
}
|
|
1494
1494
|
function pr(e) {
|
|
1495
|
-
return e.type ===
|
|
1495
|
+
return e.type === w.plural;
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1498
|
-
return e.type ===
|
|
1497
|
+
function ui(e) {
|
|
1498
|
+
return e.type === w.pound;
|
|
1499
1499
|
}
|
|
1500
1500
|
function dr(e) {
|
|
1501
|
-
return e.type ===
|
|
1501
|
+
return e.type === w.tag;
|
|
1502
1502
|
}
|
|
1503
1503
|
function br(e) {
|
|
1504
1504
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
@@ -1506,10 +1506,10 @@ function br(e) {
|
|
|
1506
1506
|
function Ke(e) {
|
|
1507
1507
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1508
1508
|
}
|
|
1509
|
-
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1510
|
-
function
|
|
1509
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
|
|
1510
|
+
function hi(e) {
|
|
1511
1511
|
var t = {};
|
|
1512
|
-
return e.replace(
|
|
1512
|
+
return e.replace(li, function(r) {
|
|
1513
1513
|
var n = r.length;
|
|
1514
1514
|
switch (r[0]) {
|
|
1515
1515
|
case "G":
|
|
@@ -1598,21 +1598,21 @@ function li(e) {
|
|
|
1598
1598
|
return "";
|
|
1599
1599
|
}), t;
|
|
1600
1600
|
}
|
|
1601
|
-
var
|
|
1602
|
-
return
|
|
1601
|
+
var T = function() {
|
|
1602
|
+
return T = Object.assign || function(t) {
|
|
1603
1603
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1604
1604
|
r = arguments[n];
|
|
1605
1605
|
for (var o in r)
|
|
1606
1606
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1607
1607
|
}
|
|
1608
1608
|
return t;
|
|
1609
|
-
},
|
|
1609
|
+
}, T.apply(this, arguments);
|
|
1610
1610
|
};
|
|
1611
|
-
var
|
|
1612
|
-
function
|
|
1611
|
+
var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1612
|
+
function fi(e) {
|
|
1613
1613
|
if (e.length === 0)
|
|
1614
1614
|
throw new Error("Number skeleton cannot be empty");
|
|
1615
|
-
for (var t = e.split(
|
|
1615
|
+
for (var t = e.split(ci).filter(function(f) {
|
|
1616
1616
|
return f.length > 0;
|
|
1617
1617
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1618
1618
|
var o = i[n], s = o.split("/");
|
|
@@ -1627,10 +1627,10 @@ function ci(e) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
return r;
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1630
|
+
function mi(e) {
|
|
1631
1631
|
return e.replace(/^(.*?)-/, "");
|
|
1632
1632
|
}
|
|
1633
|
-
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1633
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
|
|
1634
1634
|
function Ot(e) {
|
|
1635
1635
|
var t = {};
|
|
1636
1636
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
|
|
@@ -1677,7 +1677,7 @@ function _r(e) {
|
|
|
1677
1677
|
};
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
|
-
function
|
|
1680
|
+
function di(e) {
|
|
1681
1681
|
var t;
|
|
1682
1682
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1683
1683
|
notation: "engineering"
|
|
@@ -1695,7 +1695,7 @@ function It(e) {
|
|
|
1695
1695
|
var t = {}, r = _r(e);
|
|
1696
1696
|
return r || t;
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1698
|
+
function bi(e) {
|
|
1699
1699
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1700
1700
|
var i = n[r];
|
|
1701
1701
|
switch (i.stem) {
|
|
@@ -1719,7 +1719,7 @@ function di(e) {
|
|
|
1719
1719
|
continue;
|
|
1720
1720
|
case "measure-unit":
|
|
1721
1721
|
case "unit":
|
|
1722
|
-
t.style = "unit", t.unit =
|
|
1722
|
+
t.style = "unit", t.unit = mi(i.options[0]);
|
|
1723
1723
|
continue;
|
|
1724
1724
|
case "compact-short":
|
|
1725
1725
|
case "K":
|
|
@@ -1730,13 +1730,13 @@ function di(e) {
|
|
|
1730
1730
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1731
1731
|
continue;
|
|
1732
1732
|
case "scientific":
|
|
1733
|
-
t =
|
|
1734
|
-
return
|
|
1733
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1734
|
+
return T(T({}, l), It(u));
|
|
1735
1735
|
}, {}));
|
|
1736
1736
|
continue;
|
|
1737
1737
|
case "engineering":
|
|
1738
|
-
t =
|
|
1739
|
-
return
|
|
1738
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1739
|
+
return T(T({}, l), It(u));
|
|
1740
1740
|
}, {}));
|
|
1741
1741
|
continue;
|
|
1742
1742
|
case "notation-simple":
|
|
@@ -1781,7 +1781,7 @@ function di(e) {
|
|
|
1781
1781
|
case "integer-width":
|
|
1782
1782
|
if (i.options.length > 1)
|
|
1783
1783
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1784
|
-
i.options[0].replace(
|
|
1784
|
+
i.options[0].replace(pi, function(l, u, h, c, f, p) {
|
|
1785
1785
|
if (u)
|
|
1786
1786
|
t.minimumIntegerDigits = h.length;
|
|
1787
1787
|
else {
|
|
@@ -1805,17 +1805,17 @@ function di(e) {
|
|
|
1805
1805
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1806
1806
|
});
|
|
1807
1807
|
var o = i.options[0];
|
|
1808
|
-
o === "w" ? t =
|
|
1808
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Ot(o)));
|
|
1809
1809
|
continue;
|
|
1810
1810
|
}
|
|
1811
1811
|
if (yr.test(i.stem)) {
|
|
1812
|
-
t =
|
|
1812
|
+
t = T(T({}, t), Ot(i.stem));
|
|
1813
1813
|
continue;
|
|
1814
1814
|
}
|
|
1815
1815
|
var s = _r(i.stem);
|
|
1816
|
-
s && (t =
|
|
1817
|
-
var a =
|
|
1818
|
-
a && (t =
|
|
1816
|
+
s && (t = T(T({}, t), s));
|
|
1817
|
+
var a = di(i.stem);
|
|
1818
|
+
a && (t = T(T({}, t), a));
|
|
1819
1819
|
}
|
|
1820
1820
|
return t;
|
|
1821
1821
|
}
|
|
@@ -3234,13 +3234,13 @@ var pe = {
|
|
|
3234
3234
|
"h"
|
|
3235
3235
|
]
|
|
3236
3236
|
};
|
|
3237
|
-
function
|
|
3237
|
+
function gi(e, t) {
|
|
3238
3238
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3239
3239
|
var i = e.charAt(n);
|
|
3240
3240
|
if (i === "j") {
|
|
3241
3241
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3242
3242
|
o++, n++;
|
|
3243
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3243
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yi(t);
|
|
3244
3244
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3245
3245
|
r += l;
|
|
3246
3246
|
for (; s-- > 0; )
|
|
@@ -3250,7 +3250,7 @@ function bi(e, t) {
|
|
|
3250
3250
|
}
|
|
3251
3251
|
return r;
|
|
3252
3252
|
}
|
|
3253
|
-
function
|
|
3253
|
+
function yi(e) {
|
|
3254
3254
|
var t = e.hourCycle;
|
|
3255
3255
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3256
3256
|
e.hourCycles && // @ts-ignore
|
|
@@ -3272,20 +3272,20 @@ function gi(e) {
|
|
|
3272
3272
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3273
3273
|
return i[0];
|
|
3274
3274
|
}
|
|
3275
|
-
var De,
|
|
3276
|
-
function
|
|
3275
|
+
var De, vi = new RegExp("^".concat(gr.source, "*")), _i = new RegExp("".concat(gr.source, "*$"));
|
|
3276
|
+
function v(e, t) {
|
|
3277
3277
|
return { start: e, end: t };
|
|
3278
3278
|
}
|
|
3279
|
-
var
|
|
3279
|
+
var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ei = !!String.fromCodePoint, Si = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Ti = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Bi = Ai ? Number.isSafeInteger : function(e) {
|
|
3280
3280
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3281
3281
|
}, et = !0;
|
|
3282
3282
|
try {
|
|
3283
|
-
var
|
|
3284
|
-
et = ((De =
|
|
3283
|
+
var Ci = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3284
|
+
et = ((De = Ci.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3285
3285
|
} catch (e) {
|
|
3286
3286
|
et = !1;
|
|
3287
3287
|
}
|
|
3288
|
-
var Mt =
|
|
3288
|
+
var Mt = xi ? (
|
|
3289
3289
|
// Native
|
|
3290
3290
|
function(t, r, n) {
|
|
3291
3291
|
return t.startsWith(r, n);
|
|
@@ -3295,7 +3295,7 @@ var Mt = _i ? (
|
|
|
3295
3295
|
function(t, r, n) {
|
|
3296
3296
|
return t.slice(n, n + r.length) === r;
|
|
3297
3297
|
}
|
|
3298
|
-
), tt =
|
|
3298
|
+
), tt = Ei ? String.fromCodePoint : (
|
|
3299
3299
|
// IE11
|
|
3300
3300
|
function() {
|
|
3301
3301
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3309,7 +3309,7 @@ var Mt = _i ? (
|
|
|
3309
3309
|
}
|
|
3310
3310
|
), Nt = (
|
|
3311
3311
|
// native
|
|
3312
|
-
|
|
3312
|
+
Si ? Object.fromEntries : (
|
|
3313
3313
|
// Ponyfill
|
|
3314
3314
|
function(t) {
|
|
3315
3315
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3319,7 +3319,7 @@ var Mt = _i ? (
|
|
|
3319
3319
|
return r;
|
|
3320
3320
|
}
|
|
3321
3321
|
)
|
|
3322
|
-
), xr =
|
|
3322
|
+
), xr = wi ? (
|
|
3323
3323
|
// Native
|
|
3324
3324
|
function(t, r) {
|
|
3325
3325
|
return t.codePointAt(r);
|
|
@@ -3333,7 +3333,7 @@ var Mt = _i ? (
|
|
|
3333
3333
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3334
3334
|
}
|
|
3335
3335
|
}
|
|
3336
|
-
),
|
|
3336
|
+
), Pi = Ti ? (
|
|
3337
3337
|
// Native
|
|
3338
3338
|
function(t) {
|
|
3339
3339
|
return t.trimStart();
|
|
@@ -3341,9 +3341,9 @@ var Mt = _i ? (
|
|
|
3341
3341
|
) : (
|
|
3342
3342
|
// Ponyfill
|
|
3343
3343
|
function(t) {
|
|
3344
|
-
return t.replace(
|
|
3344
|
+
return t.replace(vi, "");
|
|
3345
3345
|
}
|
|
3346
|
-
),
|
|
3346
|
+
), Oi = Hi ? (
|
|
3347
3347
|
// Native
|
|
3348
3348
|
function(t) {
|
|
3349
3349
|
return t.trimEnd();
|
|
@@ -3351,7 +3351,7 @@ var Mt = _i ? (
|
|
|
3351
3351
|
) : (
|
|
3352
3352
|
// Ponyfill
|
|
3353
3353
|
function(t) {
|
|
3354
|
-
return t.replace(
|
|
3354
|
+
return t.replace(_i, "");
|
|
3355
3355
|
}
|
|
3356
3356
|
);
|
|
3357
3357
|
function Er(e, t) {
|
|
@@ -3370,13 +3370,13 @@ if (et) {
|
|
|
3370
3370
|
rt = function(t, r) {
|
|
3371
3371
|
for (var n = []; ; ) {
|
|
3372
3372
|
var i = xr(t, r);
|
|
3373
|
-
if (i === void 0 || Sr(i) ||
|
|
3373
|
+
if (i === void 0 || Sr(i) || Li(i))
|
|
3374
3374
|
break;
|
|
3375
3375
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3376
3376
|
}
|
|
3377
3377
|
return tt.apply(void 0, n);
|
|
3378
3378
|
};
|
|
3379
|
-
var
|
|
3379
|
+
var Ii = (
|
|
3380
3380
|
/** @class */
|
|
3381
3381
|
function() {
|
|
3382
3382
|
function e(t, r) {
|
|
@@ -3400,13 +3400,13 @@ var Oi = (
|
|
|
3400
3400
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3401
3401
|
var a = this.clonePosition();
|
|
3402
3402
|
this.bump(), i.push({
|
|
3403
|
-
type:
|
|
3404
|
-
location:
|
|
3403
|
+
type: w.pound,
|
|
3404
|
+
location: v(a, this.clonePosition())
|
|
3405
3405
|
});
|
|
3406
3406
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3407
3407
|
if (n)
|
|
3408
3408
|
break;
|
|
3409
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3409
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3410
3410
|
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3411
3411
|
var s = this.parseTag(t, r);
|
|
3412
3412
|
if (s.err)
|
|
@@ -3428,9 +3428,9 @@ var Oi = (
|
|
|
3428
3428
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3429
3429
|
return {
|
|
3430
3430
|
val: {
|
|
3431
|
-
type:
|
|
3431
|
+
type: w.literal,
|
|
3432
3432
|
value: "<".concat(i, "/>"),
|
|
3433
|
-
location:
|
|
3433
|
+
location: v(n, this.clonePosition())
|
|
3434
3434
|
},
|
|
3435
3435
|
err: null
|
|
3436
3436
|
};
|
|
@@ -3441,24 +3441,24 @@ var Oi = (
|
|
|
3441
3441
|
var s = o.val, a = this.clonePosition();
|
|
3442
3442
|
if (this.bumpIf("</")) {
|
|
3443
3443
|
if (this.isEOF() || !nt(this.char()))
|
|
3444
|
-
return this.error(y.INVALID_TAG,
|
|
3444
|
+
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
|
3445
3445
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3446
|
-
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3446
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3447
3447
|
val: {
|
|
3448
|
-
type:
|
|
3448
|
+
type: w.tag,
|
|
3449
3449
|
value: i,
|
|
3450
3450
|
children: s,
|
|
3451
|
-
location:
|
|
3451
|
+
location: v(n, this.clonePosition())
|
|
3452
3452
|
},
|
|
3453
3453
|
err: null
|
|
3454
|
-
} : this.error(y.INVALID_TAG,
|
|
3454
|
+
} : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
|
|
3455
3455
|
} else
|
|
3456
|
-
return this.error(y.UNCLOSED_TAG,
|
|
3456
|
+
return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
3457
3457
|
} else
|
|
3458
|
-
return this.error(y.INVALID_TAG,
|
|
3458
|
+
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
|
3459
3459
|
}, e.prototype.parseTagName = function() {
|
|
3460
3460
|
var t = this.offset();
|
|
3461
|
-
for (this.bump(); !this.isEOF() &&
|
|
3461
|
+
for (this.bump(); !this.isEOF() && Ni(this.char()); )
|
|
3462
3462
|
this.bump();
|
|
3463
3463
|
return this.message.slice(t, this.offset());
|
|
3464
3464
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3480,14 +3480,14 @@ var Oi = (
|
|
|
3480
3480
|
}
|
|
3481
3481
|
break;
|
|
3482
3482
|
}
|
|
3483
|
-
var l =
|
|
3483
|
+
var l = v(n, this.clonePosition());
|
|
3484
3484
|
return {
|
|
3485
|
-
val: { type:
|
|
3485
|
+
val: { type: w.literal, value: i, location: l },
|
|
3486
3486
|
err: null
|
|
3487
3487
|
};
|
|
3488
3488
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3489
3489
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3490
|
-
!
|
|
3490
|
+
!Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3491
3491
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3492
3492
|
if (this.isEOF() || this.char() !== 39)
|
|
3493
3493
|
return null;
|
|
@@ -3530,40 +3530,40 @@ var Oi = (
|
|
|
3530
3530
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3531
3531
|
var n = this.clonePosition();
|
|
3532
3532
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3533
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3533
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3534
3534
|
if (this.char() === 125)
|
|
3535
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
3535
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
3536
3536
|
var i = this.parseIdentifierIfPossible().value;
|
|
3537
3537
|
if (!i)
|
|
3538
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3538
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3539
3539
|
if (this.bumpSpace(), this.isEOF())
|
|
3540
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3540
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3541
3541
|
switch (this.char()) {
|
|
3542
3542
|
case 125:
|
|
3543
3543
|
return this.bump(), {
|
|
3544
3544
|
val: {
|
|
3545
|
-
type:
|
|
3545
|
+
type: w.argument,
|
|
3546
3546
|
// value does not include the opening and closing braces.
|
|
3547
3547
|
value: i,
|
|
3548
|
-
location:
|
|
3548
|
+
location: v(n, this.clonePosition())
|
|
3549
3549
|
},
|
|
3550
3550
|
err: null
|
|
3551
3551
|
};
|
|
3552
3552
|
case 44:
|
|
3553
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3553
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3554
3554
|
default:
|
|
3555
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3555
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3556
3556
|
}
|
|
3557
3557
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3558
3558
|
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
|
3559
3559
|
this.bumpTo(i);
|
|
3560
|
-
var o = this.clonePosition(), s =
|
|
3560
|
+
var o = this.clonePosition(), s = v(t, o);
|
|
3561
3561
|
return { value: n, location: s };
|
|
3562
3562
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3563
3563
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3564
3564
|
switch (a) {
|
|
3565
3565
|
case "":
|
|
3566
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
3566
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
|
|
3567
3567
|
case "number":
|
|
3568
3568
|
case "date":
|
|
3569
3569
|
case "time": {
|
|
@@ -3574,44 +3574,44 @@ var Oi = (
|
|
|
3574
3574
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3575
3575
|
if (c.err)
|
|
3576
3576
|
return c;
|
|
3577
|
-
var f =
|
|
3577
|
+
var f = Oi(c.val);
|
|
3578
3578
|
if (f.length === 0)
|
|
3579
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
3580
|
-
var p =
|
|
3579
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3580
|
+
var p = v(h, this.clonePosition());
|
|
3581
3581
|
u = { style: f, styleLocation: p };
|
|
3582
3582
|
}
|
|
3583
3583
|
var m = this.tryParseArgumentClose(i);
|
|
3584
3584
|
if (m.err)
|
|
3585
3585
|
return m;
|
|
3586
|
-
var d =
|
|
3586
|
+
var d = v(i, this.clonePosition());
|
|
3587
3587
|
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3588
|
-
var
|
|
3588
|
+
var x = Pi(u.style.slice(2));
|
|
3589
3589
|
if (a === "number") {
|
|
3590
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3590
|
+
var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3591
3591
|
return c.err ? c : {
|
|
3592
|
-
val: { type:
|
|
3592
|
+
val: { type: w.number, value: n, location: d, style: c.val },
|
|
3593
3593
|
err: null
|
|
3594
3594
|
};
|
|
3595
3595
|
} else {
|
|
3596
|
-
if (
|
|
3596
|
+
if (x.length === 0)
|
|
3597
3597
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
|
|
3598
|
-
var
|
|
3599
|
-
this.locale && (
|
|
3598
|
+
var E = x;
|
|
3599
|
+
this.locale && (E = gi(x, this.locale));
|
|
3600
3600
|
var f = {
|
|
3601
3601
|
type: Q.dateTime,
|
|
3602
|
-
pattern:
|
|
3602
|
+
pattern: E,
|
|
3603
3603
|
location: u.styleLocation,
|
|
3604
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3605
|
-
},
|
|
3604
|
+
parsedOptions: this.shouldParseSkeletons ? hi(E) : {}
|
|
3605
|
+
}, H = a === "date" ? w.date : w.time;
|
|
3606
3606
|
return {
|
|
3607
|
-
val: { type:
|
|
3607
|
+
val: { type: H, value: n, location: d, style: f },
|
|
3608
3608
|
err: null
|
|
3609
3609
|
};
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
3612
|
return {
|
|
3613
3613
|
val: {
|
|
3614
|
-
type: a === "number" ?
|
|
3614
|
+
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3615
3615
|
value: n,
|
|
3616
3616
|
location: d,
|
|
3617
3617
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3622,30 +3622,30 @@ var Oi = (
|
|
|
3622
3622
|
case "plural":
|
|
3623
3623
|
case "selectordinal":
|
|
3624
3624
|
case "select": {
|
|
3625
|
-
var
|
|
3625
|
+
var _ = this.clonePosition();
|
|
3626
3626
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3627
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _
|
|
3627
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Se({}, _)));
|
|
3628
3628
|
this.bumpSpace();
|
|
3629
|
-
var
|
|
3630
|
-
if (a !== "select" &&
|
|
3629
|
+
var S = this.parseIdentifierIfPossible(), b = 0;
|
|
3630
|
+
if (a !== "select" && S.value === "offset") {
|
|
3631
3631
|
if (!this.bumpIf(":"))
|
|
3632
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3632
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3633
3633
|
this.bumpSpace();
|
|
3634
3634
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3635
3635
|
if (c.err)
|
|
3636
3636
|
return c;
|
|
3637
|
-
this.bumpSpace(),
|
|
3637
|
+
this.bumpSpace(), S = this.parseIdentifierIfPossible(), b = c.val;
|
|
3638
3638
|
}
|
|
3639
|
-
var B = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3639
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, S);
|
|
3640
3640
|
if (B.err)
|
|
3641
3641
|
return B;
|
|
3642
3642
|
var m = this.tryParseArgumentClose(i);
|
|
3643
3643
|
if (m.err)
|
|
3644
3644
|
return m;
|
|
3645
|
-
var ce =
|
|
3645
|
+
var ce = v(i, this.clonePosition());
|
|
3646
3646
|
return a === "select" ? {
|
|
3647
3647
|
val: {
|
|
3648
|
-
type:
|
|
3648
|
+
type: w.select,
|
|
3649
3649
|
value: n,
|
|
3650
3650
|
options: Nt(B.val),
|
|
3651
3651
|
location: ce
|
|
@@ -3653,7 +3653,7 @@ var Oi = (
|
|
|
3653
3653
|
err: null
|
|
3654
3654
|
} : {
|
|
3655
3655
|
val: {
|
|
3656
|
-
type:
|
|
3656
|
+
type: w.plural,
|
|
3657
3657
|
value: n,
|
|
3658
3658
|
options: Nt(B.val),
|
|
3659
3659
|
offset: b,
|
|
@@ -3664,10 +3664,10 @@ var Oi = (
|
|
|
3664
3664
|
};
|
|
3665
3665
|
}
|
|
3666
3666
|
default:
|
|
3667
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
3667
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
|
|
3668
3668
|
}
|
|
3669
3669
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3670
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3670
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3671
3671
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3672
3672
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3673
3673
|
var n = this.char();
|
|
@@ -3676,7 +3676,7 @@ var Oi = (
|
|
|
3676
3676
|
this.bump();
|
|
3677
3677
|
var i = this.clonePosition();
|
|
3678
3678
|
if (!this.bumpUntil("'"))
|
|
3679
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3679
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3680
3680
|
this.bump();
|
|
3681
3681
|
break;
|
|
3682
3682
|
}
|
|
@@ -3706,7 +3706,7 @@ var Oi = (
|
|
|
3706
3706
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3707
3707
|
var n = [];
|
|
3708
3708
|
try {
|
|
3709
|
-
n =
|
|
3709
|
+
n = fi(t);
|
|
3710
3710
|
} catch (i) {
|
|
3711
3711
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3712
3712
|
}
|
|
@@ -3715,7 +3715,7 @@ var Oi = (
|
|
|
3715
3715
|
type: Q.number,
|
|
3716
3716
|
tokens: n,
|
|
3717
3717
|
location: r,
|
|
3718
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3718
|
+
parsedOptions: this.shouldParseSkeletons ? bi(n) : {}
|
|
3719
3719
|
},
|
|
3720
3720
|
err: null
|
|
3721
3721
|
};
|
|
@@ -3727,7 +3727,7 @@ var Oi = (
|
|
|
3727
3727
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3728
3728
|
if (f.err)
|
|
3729
3729
|
return f;
|
|
3730
|
-
h =
|
|
3730
|
+
h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3731
3731
|
} else
|
|
3732
3732
|
break;
|
|
3733
3733
|
}
|
|
@@ -3736,7 +3736,7 @@ var Oi = (
|
|
|
3736
3736
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3737
3737
|
var p = this.clonePosition();
|
|
3738
3738
|
if (!this.bumpIf("{"))
|
|
3739
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3739
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3740
3740
|
var m = this.parseMessage(t + 1, r, n);
|
|
3741
3741
|
if (m.err)
|
|
3742
3742
|
return m;
|
|
@@ -3747,11 +3747,11 @@ var Oi = (
|
|
|
3747
3747
|
u,
|
|
3748
3748
|
{
|
|
3749
3749
|
value: m.val,
|
|
3750
|
-
location:
|
|
3750
|
+
location: v(p, this.clonePosition())
|
|
3751
3751
|
}
|
|
3752
3752
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3753
3753
|
}
|
|
3754
|
-
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3754
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3755
3755
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3756
3756
|
var n = 1, i = this.clonePosition();
|
|
3757
3757
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3762,8 +3762,8 @@ var Oi = (
|
|
|
3762
3762
|
else
|
|
3763
3763
|
break;
|
|
3764
3764
|
}
|
|
3765
|
-
var l =
|
|
3766
|
-
return o ? (s *= n,
|
|
3765
|
+
var l = v(i, this.clonePosition());
|
|
3766
|
+
return o ? (s *= n, Bi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3767
3767
|
}, e.prototype.offset = function() {
|
|
3768
3768
|
return this.position.offset;
|
|
3769
3769
|
}, e.prototype.isEOF = function() {
|
|
@@ -3832,16 +3832,16 @@ var Oi = (
|
|
|
3832
3832
|
function nt(e) {
|
|
3833
3833
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3834
3834
|
}
|
|
3835
|
-
function
|
|
3835
|
+
function Mi(e) {
|
|
3836
3836
|
return nt(e) || e === 47;
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function Ni(e) {
|
|
3839
3839
|
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;
|
|
3840
3840
|
}
|
|
3841
3841
|
function Sr(e) {
|
|
3842
3842
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3844
|
+
function Li(e) {
|
|
3845
3845
|
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;
|
|
3846
3846
|
}
|
|
3847
3847
|
function it(e) {
|
|
@@ -3853,9 +3853,9 @@ function it(e) {
|
|
|
3853
3853
|
hr(t) && br(t.style) || (cr(t) || fr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
|
|
3854
3854
|
});
|
|
3855
3855
|
}
|
|
3856
|
-
function
|
|
3856
|
+
function Ri(e, t) {
|
|
3857
3857
|
t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3858
|
-
var r = new
|
|
3858
|
+
var r = new Ii(e, t).parse();
|
|
3859
3859
|
if (r.err) {
|
|
3860
3860
|
var n = SyntaxError(y[r.err.kind]);
|
|
3861
3861
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3878,7 +3878,7 @@ var Pe = (
|
|
|
3878
3878
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3879
3879
|
}, t;
|
|
3880
3880
|
}(Error)
|
|
3881
|
-
),
|
|
3881
|
+
), Rt = (
|
|
3882
3882
|
/** @class */
|
|
3883
3883
|
function(e) {
|
|
3884
3884
|
Ce(t, e);
|
|
@@ -3896,7 +3896,7 @@ var Pe = (
|
|
|
3896
3896
|
}
|
|
3897
3897
|
return t;
|
|
3898
3898
|
}(Pe)
|
|
3899
|
-
),
|
|
3899
|
+
), Gi = (
|
|
3900
3900
|
/** @class */
|
|
3901
3901
|
function(e) {
|
|
3902
3902
|
Ce(t, e);
|
|
@@ -3909,13 +3909,13 @@ var Pe = (
|
|
|
3909
3909
|
(function(e) {
|
|
3910
3910
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3911
3911
|
})(P || (P = {}));
|
|
3912
|
-
function
|
|
3912
|
+
function Ui(e) {
|
|
3913
3913
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3914
3914
|
var n = t[t.length - 1];
|
|
3915
3915
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3916
3916
|
}, []);
|
|
3917
3917
|
}
|
|
3918
|
-
function
|
|
3918
|
+
function Di(e) {
|
|
3919
3919
|
return typeof e == "function";
|
|
3920
3920
|
}
|
|
3921
3921
|
function ye(e, t, r, n, i, o, s) {
|
|
@@ -3935,7 +3935,7 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3935
3935
|
});
|
|
3936
3936
|
continue;
|
|
3937
3937
|
}
|
|
3938
|
-
if (
|
|
3938
|
+
if (ui(h)) {
|
|
3939
3939
|
typeof o == "number" && a.push({
|
|
3940
3940
|
type: P.literal,
|
|
3941
3941
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3944,9 +3944,9 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3944
3944
|
}
|
|
3945
3945
|
var c = h.value;
|
|
3946
3946
|
if (!(i && c in i))
|
|
3947
|
-
throw new
|
|
3947
|
+
throw new Gi(c, s);
|
|
3948
3948
|
var f = i[c];
|
|
3949
|
-
if (
|
|
3949
|
+
if (ai(h)) {
|
|
3950
3950
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3951
3951
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3952
3952
|
value: f
|
|
@@ -3978,13 +3978,13 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3978
3978
|
continue;
|
|
3979
3979
|
}
|
|
3980
3980
|
if (dr(h)) {
|
|
3981
|
-
var m = h.children, d = h.value,
|
|
3982
|
-
if (!
|
|
3981
|
+
var m = h.children, d = h.value, x = i[d];
|
|
3982
|
+
if (!Di(x))
|
|
3983
3983
|
throw new $i(d, "function", s);
|
|
3984
|
-
var
|
|
3984
|
+
var E = ye(m, t, r, n, i, o), H = x(E.map(function(b) {
|
|
3985
3985
|
return b.value;
|
|
3986
3986
|
}));
|
|
3987
|
-
Array.isArray(
|
|
3987
|
+
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(b) {
|
|
3988
3988
|
return {
|
|
3989
3989
|
type: typeof b == "string" ? P.literal : P.object,
|
|
3990
3990
|
value: b
|
|
@@ -3992,38 +3992,38 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3992
3992
|
}));
|
|
3993
3993
|
}
|
|
3994
3994
|
if (mr(h)) {
|
|
3995
|
-
var
|
|
3996
|
-
if (!
|
|
3997
|
-
throw new
|
|
3998
|
-
a.push.apply(a, ye(
|
|
3995
|
+
var _ = h.options[f] || h.options.other;
|
|
3996
|
+
if (!_)
|
|
3997
|
+
throw new Rt(h.value, f, Object.keys(h.options), s);
|
|
3998
|
+
a.push.apply(a, ye(_.value, t, r, n, i));
|
|
3999
3999
|
continue;
|
|
4000
4000
|
}
|
|
4001
4001
|
if (pr(h)) {
|
|
4002
|
-
var
|
|
4003
|
-
if (!
|
|
4002
|
+
var _ = h.options["=".concat(f)];
|
|
4003
|
+
if (!_) {
|
|
4004
4004
|
if (!Intl.PluralRules)
|
|
4005
4005
|
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
4006
4006
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4007
4007
|
`, J.MISSING_INTL_API, s);
|
|
4008
|
-
var
|
|
4009
|
-
|
|
4008
|
+
var S = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4009
|
+
_ = h.options[S] || h.options.other;
|
|
4010
4010
|
}
|
|
4011
|
-
if (!
|
|
4012
|
-
throw new
|
|
4013
|
-
a.push.apply(a, ye(
|
|
4011
|
+
if (!_)
|
|
4012
|
+
throw new Rt(h.value, f, Object.keys(h.options), s);
|
|
4013
|
+
a.push.apply(a, ye(_.value, t, r, n, i, f - (h.offset || 0)));
|
|
4014
4014
|
continue;
|
|
4015
4015
|
}
|
|
4016
4016
|
}
|
|
4017
|
-
return
|
|
4017
|
+
return Ui(a);
|
|
4018
4018
|
}
|
|
4019
|
-
function
|
|
4019
|
+
function Fi(e, t) {
|
|
4020
4020
|
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4021
4021
|
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
4022
4022
|
}, {})) : e;
|
|
4023
4023
|
}
|
|
4024
|
-
function
|
|
4024
|
+
function ji(e, t) {
|
|
4025
4025
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4026
|
-
return r[n] =
|
|
4026
|
+
return r[n] = Fi(e[n], t[n]), r;
|
|
4027
4027
|
}, L({}, e)) : e;
|
|
4028
4028
|
}
|
|
4029
4029
|
function Fe(e) {
|
|
@@ -4040,7 +4040,7 @@ function Fe(e) {
|
|
|
4040
4040
|
}
|
|
4041
4041
|
};
|
|
4042
4042
|
}
|
|
4043
|
-
function
|
|
4043
|
+
function ki(e) {
|
|
4044
4044
|
return e === void 0 && (e = {
|
|
4045
4045
|
number: {},
|
|
4046
4046
|
dateTime: {},
|
|
@@ -4049,7 +4049,7 @@ function ji(e) {
|
|
|
4049
4049
|
getNumberFormat: Ge(function() {
|
|
4050
4050
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4051
4051
|
r[n] = arguments[n];
|
|
4052
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4052
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
4053
4053
|
}, {
|
|
4054
4054
|
cache: Fe(e.number),
|
|
4055
4055
|
strategy: Ue.variadic
|
|
@@ -4057,7 +4057,7 @@ function ji(e) {
|
|
|
4057
4057
|
getDateTimeFormat: Ge(function() {
|
|
4058
4058
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4059
4059
|
r[n] = arguments[n];
|
|
4060
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4060
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
4061
4061
|
}, {
|
|
4062
4062
|
cache: Fe(e.dateTime),
|
|
4063
4063
|
strategy: Ue.variadic
|
|
@@ -4065,14 +4065,14 @@ function ji(e) {
|
|
|
4065
4065
|
getPluralRules: Ge(function() {
|
|
4066
4066
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4067
4067
|
r[n] = arguments[n];
|
|
4068
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4068
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
|
4069
4069
|
}, {
|
|
4070
4070
|
cache: Fe(e.pluralRules),
|
|
4071
4071
|
strategy: Ue.variadic
|
|
4072
4072
|
})
|
|
4073
4073
|
};
|
|
4074
4074
|
}
|
|
4075
|
-
var
|
|
4075
|
+
var Vi = (
|
|
4076
4076
|
/** @class */
|
|
4077
4077
|
function() {
|
|
4078
4078
|
function e(t, r, n, i) {
|
|
@@ -4104,13 +4104,13 @@ var ki = (
|
|
|
4104
4104
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4105
4105
|
var s = i || {};
|
|
4106
4106
|
s.formatters;
|
|
4107
|
-
var a =
|
|
4107
|
+
var a = Kn(s, ["formatters"]);
|
|
4108
4108
|
this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
|
|
4109
4109
|
} else
|
|
4110
4110
|
this.ast = t;
|
|
4111
4111
|
if (!Array.isArray(this.ast))
|
|
4112
4112
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4113
|
-
this.formats =
|
|
4113
|
+
this.formats = ji(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
|
|
4114
4114
|
}
|
|
4115
4115
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4116
4116
|
get: function() {
|
|
@@ -4123,7 +4123,7 @@ var ki = (
|
|
|
4123
4123
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4124
4124
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4125
4125
|
}
|
|
4126
|
-
}, e.__parse =
|
|
4126
|
+
}, e.__parse = Ri, e.formats = {
|
|
4127
4127
|
number: {
|
|
4128
4128
|
integer: {
|
|
4129
4129
|
maximumFractionDigits: 0
|
|
@@ -4184,7 +4184,7 @@ var ki = (
|
|
|
4184
4184
|
}, e;
|
|
4185
4185
|
}()
|
|
4186
4186
|
);
|
|
4187
|
-
function
|
|
4187
|
+
function Xi(e, t) {
|
|
4188
4188
|
if (t == null)
|
|
4189
4189
|
return;
|
|
4190
4190
|
if (t in e)
|
|
@@ -4205,33 +4205,33 @@ function Vi(e, t) {
|
|
|
4205
4205
|
n = void 0;
|
|
4206
4206
|
return n;
|
|
4207
4207
|
}
|
|
4208
|
-
const G = {},
|
|
4208
|
+
const G = {}, zi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), wr = (e, t) => {
|
|
4209
4209
|
if (t == null)
|
|
4210
4210
|
return;
|
|
4211
4211
|
if (t in G && e in G[t])
|
|
4212
4212
|
return G[t][e];
|
|
4213
4213
|
const r = Oe(t);
|
|
4214
4214
|
for (let n = 0; n < r.length; n++) {
|
|
4215
|
-
const i = r[n], o =
|
|
4215
|
+
const i = r[n], o = Zi(i, e);
|
|
4216
4216
|
if (o)
|
|
4217
|
-
return
|
|
4217
|
+
return zi(e, t, o);
|
|
4218
4218
|
}
|
|
4219
4219
|
};
|
|
4220
4220
|
let ht;
|
|
4221
4221
|
const he = Be({});
|
|
4222
|
-
function
|
|
4222
|
+
function Wi(e) {
|
|
4223
4223
|
return ht[e] || null;
|
|
4224
4224
|
}
|
|
4225
4225
|
function Tr(e) {
|
|
4226
4226
|
return e in ht;
|
|
4227
4227
|
}
|
|
4228
|
-
function
|
|
4228
|
+
function Zi(e, t) {
|
|
4229
4229
|
if (!Tr(e))
|
|
4230
4230
|
return null;
|
|
4231
|
-
const r =
|
|
4232
|
-
return
|
|
4231
|
+
const r = Wi(e);
|
|
4232
|
+
return Xi(r, t);
|
|
4233
4233
|
}
|
|
4234
|
-
function
|
|
4234
|
+
function Qi(e) {
|
|
4235
4235
|
if (e == null)
|
|
4236
4236
|
return;
|
|
4237
4237
|
const t = Oe(e);
|
|
@@ -4242,7 +4242,7 @@ function Zi(e) {
|
|
|
4242
4242
|
}
|
|
4243
4243
|
}
|
|
4244
4244
|
function Hr(e, ...t) {
|
|
4245
|
-
delete G[e], he.update((r) => (r[e] =
|
|
4245
|
+
delete G[e], he.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
|
|
4246
4246
|
}
|
|
4247
4247
|
Y(
|
|
4248
4248
|
[he],
|
|
@@ -4250,13 +4250,13 @@ Y(
|
|
|
4250
4250
|
);
|
|
4251
4251
|
he.subscribe((e) => ht = e);
|
|
4252
4252
|
const ve = {};
|
|
4253
|
-
function
|
|
4253
|
+
function Ji(e, t) {
|
|
4254
4254
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4255
4255
|
}
|
|
4256
4256
|
function Ar(e) {
|
|
4257
4257
|
return ve[e];
|
|
4258
4258
|
}
|
|
4259
|
-
function
|
|
4259
|
+
function qi(e) {
|
|
4260
4260
|
return Oe(e).map((t) => {
|
|
4261
4261
|
const r = Ar(t);
|
|
4262
4262
|
return [t, r ? [...r] : []];
|
|
@@ -4270,19 +4270,19 @@ function ot(e) {
|
|
|
4270
4270
|
}
|
|
4271
4271
|
);
|
|
4272
4272
|
}
|
|
4273
|
-
function
|
|
4273
|
+
function Yi(e, t) {
|
|
4274
4274
|
return Promise.all(
|
|
4275
|
-
t.map((n) => (
|
|
4275
|
+
t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
|
|
4276
4276
|
).then((n) => Hr(e, ...n));
|
|
4277
4277
|
}
|
|
4278
4278
|
const re = {};
|
|
4279
4279
|
function Br(e) {
|
|
4280
4280
|
if (!ot(e))
|
|
4281
4281
|
return e in re ? re[e] : Promise.resolve();
|
|
4282
|
-
const t =
|
|
4282
|
+
const t = qi(e);
|
|
4283
4283
|
return re[e] = Promise.all(
|
|
4284
4284
|
t.map(
|
|
4285
|
-
([r, n]) =>
|
|
4285
|
+
([r, n]) => Yi(r, n)
|
|
4286
4286
|
)
|
|
4287
4287
|
).then(() => {
|
|
4288
4288
|
if (ot(e))
|
|
@@ -4290,7 +4290,7 @@ function Br(e) {
|
|
|
4290
4290
|
delete re[e];
|
|
4291
4291
|
}), re[e];
|
|
4292
4292
|
}
|
|
4293
|
-
const
|
|
4293
|
+
const Ki = {
|
|
4294
4294
|
number: {
|
|
4295
4295
|
scientific: { notation: "scientific" },
|
|
4296
4296
|
engineering: { notation: "engineering" },
|
|
@@ -4319,26 +4319,26 @@ const Yi = {
|
|
|
4319
4319
|
timeZoneName: "short"
|
|
4320
4320
|
}
|
|
4321
4321
|
}
|
|
4322
|
-
},
|
|
4322
|
+
}, eo = {
|
|
4323
4323
|
fallbackLocale: null,
|
|
4324
4324
|
loadingDelay: 200,
|
|
4325
|
-
formats:
|
|
4325
|
+
formats: Ki,
|
|
4326
4326
|
warnOnMissingMessages: !0,
|
|
4327
4327
|
handleMissingMessage: void 0,
|
|
4328
4328
|
ignoreTag: !0
|
|
4329
|
-
},
|
|
4329
|
+
}, to = eo;
|
|
4330
4330
|
function q() {
|
|
4331
|
-
return
|
|
4331
|
+
return to;
|
|
4332
4332
|
}
|
|
4333
4333
|
const je = Be(!1);
|
|
4334
|
-
var
|
|
4334
|
+
var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ao = (e, t) => {
|
|
4335
4335
|
for (var r in t || (t = {}))
|
|
4336
|
-
|
|
4337
|
-
if (
|
|
4338
|
-
for (var r of
|
|
4339
|
-
|
|
4336
|
+
oo.call(t, r) && Gt(e, r, t[r]);
|
|
4337
|
+
if ($t)
|
|
4338
|
+
for (var r of $t(t))
|
|
4339
|
+
so.call(t, r) && Gt(e, r, t[r]);
|
|
4340
4340
|
return e;
|
|
4341
|
-
},
|
|
4341
|
+
}, uo = (e, t) => no(e, io(t));
|
|
4342
4342
|
let st;
|
|
4343
4343
|
const we = Be(null);
|
|
4344
4344
|
function Ut(e) {
|
|
@@ -4354,8 +4354,8 @@ function F() {
|
|
|
4354
4354
|
we.subscribe((e) => {
|
|
4355
4355
|
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4356
4356
|
});
|
|
4357
|
-
const
|
|
4358
|
-
if (e &&
|
|
4357
|
+
const lo = (e) => {
|
|
4358
|
+
if (e && Qi(e) && ot(e)) {
|
|
4359
4359
|
const { loadingDelay: t } = q();
|
|
4360
4360
|
let r;
|
|
4361
4361
|
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
@@ -4368,8 +4368,8 @@ const uo = (e) => {
|
|
|
4368
4368
|
});
|
|
4369
4369
|
}
|
|
4370
4370
|
return we.set(e);
|
|
4371
|
-
}, K = ao(
|
|
4372
|
-
set:
|
|
4371
|
+
}, K = uo(ao({}, we), {
|
|
4372
|
+
set: lo
|
|
4373
4373
|
}), Ie = (e) => {
|
|
4374
4374
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4375
4375
|
return (n) => {
|
|
@@ -4377,7 +4377,7 @@ const uo = (e) => {
|
|
|
4377
4377
|
return i in t ? t[i] : t[i] = e(n);
|
|
4378
4378
|
};
|
|
4379
4379
|
};
|
|
4380
|
-
var
|
|
4380
|
+
var ho = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4381
4381
|
for (var r in t || (t = {}))
|
|
4382
4382
|
Cr.call(t, r) && Dt(e, r, t[r]);
|
|
4383
4383
|
if (Te)
|
|
@@ -4398,21 +4398,21 @@ const se = (e, t) => {
|
|
|
4398
4398
|
if (e in r && t in r[e])
|
|
4399
4399
|
return r[e][t];
|
|
4400
4400
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4401
|
-
},
|
|
4401
|
+
}, co = Ie(
|
|
4402
4402
|
(e) => {
|
|
4403
4403
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4404
4404
|
if (r == null)
|
|
4405
4405
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4406
4406
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4407
4407
|
}
|
|
4408
|
-
),
|
|
4408
|
+
), fo = Ie(
|
|
4409
4409
|
(e) => {
|
|
4410
4410
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4411
4411
|
if (r == null)
|
|
4412
4412
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4413
4413
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4414
4414
|
}
|
|
4415
|
-
),
|
|
4415
|
+
), mo = Ie(
|
|
4416
4416
|
(e) => {
|
|
4417
4417
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4418
4418
|
if (r == null)
|
|
@@ -4421,33 +4421,33 @@ const se = (e, t) => {
|
|
|
4421
4421
|
);
|
|
4422
4422
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4423
4423
|
}
|
|
4424
|
-
),
|
|
4424
|
+
), po = (e = {}) => {
|
|
4425
4425
|
var t = e, {
|
|
4426
4426
|
locale: r = F()
|
|
4427
4427
|
} = t, n = ee(t, [
|
|
4428
4428
|
"locale"
|
|
4429
4429
|
]);
|
|
4430
|
-
return
|
|
4431
|
-
},
|
|
4430
|
+
return co(ct({ locale: r }, n));
|
|
4431
|
+
}, bo = (e = {}) => {
|
|
4432
4432
|
var t = e, {
|
|
4433
4433
|
locale: r = F()
|
|
4434
4434
|
} = t, n = ee(t, [
|
|
4435
4435
|
"locale"
|
|
4436
4436
|
]);
|
|
4437
|
-
return
|
|
4438
|
-
},
|
|
4437
|
+
return fo(ct({ locale: r }, n));
|
|
4438
|
+
}, go = (e = {}) => {
|
|
4439
4439
|
var t = e, {
|
|
4440
4440
|
locale: r = F()
|
|
4441
4441
|
} = t, n = ee(t, [
|
|
4442
4442
|
"locale"
|
|
4443
4443
|
]);
|
|
4444
|
-
return
|
|
4445
|
-
},
|
|
4444
|
+
return mo(ct({ locale: r }, n));
|
|
4445
|
+
}, yo = Ie(
|
|
4446
4446
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4447
|
-
(e, t = F()) => new
|
|
4447
|
+
(e, t = F()) => new Vi(e, t, q().formats, {
|
|
4448
4448
|
ignoreTag: q().ignoreTag
|
|
4449
4449
|
})
|
|
4450
|
-
),
|
|
4450
|
+
), vo = (e, t = {}) => {
|
|
4451
4451
|
var r, n, i, o;
|
|
4452
4452
|
let s = t;
|
|
4453
4453
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4471,7 +4471,7 @@ const se = (e, t) => {
|
|
|
4471
4471
|
return h;
|
|
4472
4472
|
let c = h;
|
|
4473
4473
|
try {
|
|
4474
|
-
c =
|
|
4474
|
+
c = yo(h, l).format(a);
|
|
4475
4475
|
} catch (f) {
|
|
4476
4476
|
f instanceof Error && console.warn(
|
|
4477
4477
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4479,21 +4479,21 @@ const se = (e, t) => {
|
|
|
4479
4479
|
);
|
|
4480
4480
|
}
|
|
4481
4481
|
return c;
|
|
4482
|
-
},
|
|
4483
|
-
Y([K], () => vo);
|
|
4482
|
+
}, _o = (e, t) => go(t).format(e), xo = (e, t) => bo(t).format(e), Eo = (e, t) => po(t).format(e), So = (e, t = F()) => wr(e, t), wo = Y([K, he], () => vo);
|
|
4484
4483
|
Y([K], () => _o);
|
|
4485
4484
|
Y([K], () => xo);
|
|
4486
|
-
Y([K
|
|
4487
|
-
|
|
4488
|
-
|
|
4485
|
+
Y([K], () => Eo);
|
|
4486
|
+
Y([K, he], () => So);
|
|
4487
|
+
window.emWidgets = { topic: Ln };
|
|
4488
|
+
const To = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4489
4489
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4490
|
-
function
|
|
4490
|
+
function Ho(e, t) {
|
|
4491
4491
|
if (e) {
|
|
4492
4492
|
const r = document.createElement("style");
|
|
4493
4493
|
r.innerHTML = t, e.appendChild(r);
|
|
4494
4494
|
}
|
|
4495
4495
|
}
|
|
4496
|
-
function
|
|
4496
|
+
function Ao(e, t) {
|
|
4497
4497
|
if (!e || !t)
|
|
4498
4498
|
return;
|
|
4499
4499
|
const r = new URL(t);
|
|
@@ -4504,7 +4504,7 @@ function Ho(e, t) {
|
|
|
4504
4504
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4505
4505
|
});
|
|
4506
4506
|
}
|
|
4507
|
-
function
|
|
4507
|
+
function Bo(e, t, r) {
|
|
4508
4508
|
if (window.emMessageBus) {
|
|
4509
4509
|
const n = document.createElement("style");
|
|
4510
4510
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4515,7 +4515,7 @@ function Ao(e, t, r) {
|
|
|
4515
4515
|
function Ft(e, t) {
|
|
4516
4516
|
Hr(e, t);
|
|
4517
4517
|
}
|
|
4518
|
-
function
|
|
4518
|
+
function Co(e) {
|
|
4519
4519
|
K.set(e);
|
|
4520
4520
|
}
|
|
4521
4521
|
const jt = {
|
|
@@ -4564,15 +4564,15 @@ const jt = {
|
|
|
4564
4564
|
confirm: "Confirm"
|
|
4565
4565
|
}
|
|
4566
4566
|
};
|
|
4567
|
-
function
|
|
4568
|
-
|
|
4567
|
+
function Po(e) {
|
|
4568
|
+
Jr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4569
4569
|
}
|
|
4570
|
-
const
|
|
4571
|
-
function
|
|
4570
|
+
const Oo = (e) => ({}), kt = (e) => ({});
|
|
4571
|
+
function Io(e) {
|
|
4572
4572
|
let t, r;
|
|
4573
4573
|
return {
|
|
4574
4574
|
c() {
|
|
4575
|
-
t = yt("svg"), r = yt("path"),
|
|
4575
|
+
t = yt("svg"), r = yt("path"), A(r, "stroke-linecap", "round"), A(r, "stroke-linejoin", "round"), A(r, "stroke-width", "2"), A(r, "d", "M6 18L18 6M6 6l12 12"), A(t, "class", "w-6 h-6"), A(t, "fill", "none"), A(t, "stroke", "currentColor"), A(t, "viewBox", "0 0 24 24"), A(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4576
4576
|
},
|
|
4577
4577
|
m(n, i) {
|
|
4578
4578
|
ae(n, t, i), C(t, r);
|
|
@@ -4590,7 +4590,7 @@ function Vt(e) {
|
|
|
4590
4590
|
t = M("div"), r = M("h2"), n = ue(
|
|
4591
4591
|
/*modaltitle*/
|
|
4592
4592
|
e[1]
|
|
4593
|
-
),
|
|
4593
|
+
), A(t, "class", "GeneralConfirmationTitle");
|
|
4594
4594
|
},
|
|
4595
4595
|
m(i, o) {
|
|
4596
4596
|
ae(i, t, o), C(t, r), C(r, n);
|
|
@@ -4615,14 +4615,14 @@ function Xt(e) {
|
|
|
4615
4615
|
), n, i, o;
|
|
4616
4616
|
return {
|
|
4617
4617
|
c() {
|
|
4618
|
-
t = M("button"), n = ue(r),
|
|
4618
|
+
t = M("button"), n = ue(r), A(t, "class", "GeneralCancelButton");
|
|
4619
4619
|
},
|
|
4620
4620
|
m(s, a) {
|
|
4621
4621
|
ae(s, t, a), C(t, n), i || (o = ke(
|
|
4622
4622
|
t,
|
|
4623
4623
|
"click",
|
|
4624
4624
|
/*click_handler*/
|
|
4625
|
-
e[
|
|
4625
|
+
e[18]
|
|
4626
4626
|
), i = !0);
|
|
4627
4627
|
},
|
|
4628
4628
|
p(s, a) {
|
|
@@ -4635,38 +4635,38 @@ function Xt(e) {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
};
|
|
4637
4637
|
}
|
|
4638
|
-
function
|
|
4638
|
+
function Mo(e) {
|
|
4639
4639
|
let t, r, n, i, o, s, a, l, u, h, c = (
|
|
4640
4640
|
/*$_*/
|
|
4641
4641
|
e[4]("confirm") + ""
|
|
4642
4642
|
), f, p, m, d;
|
|
4643
|
-
const
|
|
4643
|
+
const x = (
|
|
4644
4644
|
/*#slots*/
|
|
4645
|
-
e[
|
|
4646
|
-
),
|
|
4647
|
-
|
|
4645
|
+
e[17].close
|
|
4646
|
+
), E = Vr(
|
|
4647
|
+
x,
|
|
4648
4648
|
e,
|
|
4649
4649
|
/*$$scope*/
|
|
4650
|
-
e[
|
|
4650
|
+
e[16],
|
|
4651
4651
|
kt
|
|
4652
|
-
),
|
|
4653
|
-
let
|
|
4652
|
+
), H = E || Io();
|
|
4653
|
+
let _ = (
|
|
4654
4654
|
/*modaltitle*/
|
|
4655
4655
|
e[1] && Vt(e)
|
|
4656
|
-
),
|
|
4656
|
+
), S = (
|
|
4657
4657
|
/*hascancelbutton*/
|
|
4658
4658
|
e[2] && Xt(e)
|
|
4659
4659
|
);
|
|
4660
4660
|
return {
|
|
4661
4661
|
c() {
|
|
4662
|
-
t = M("div"), r = M("div"), n = M("span"),
|
|
4663
|
-
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
4664
|
-
(e[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
4662
|
+
t = M("div"), r = M("div"), n = M("span"), H && H.c(), i = fe(), _ && _.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), S && S.c(), u = fe(), h = M("button"), f = ue(c), A(n, "class", "ModalCloseBtn"), A(n, "role", "button"), A(s, "class", "GeneralConfirmationContent"), A(h, "class", "GeneralConfirmButton"), A(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4663
|
+
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), A(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4664
|
+
(e[5] ? "GeneralConfirmationContainerMobile" : "")), A(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4665
4665
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4666
4666
|
},
|
|
4667
4667
|
m(b, B) {
|
|
4668
|
-
ae(b, t, B), C(t, r), C(r, n),
|
|
4669
|
-
e[0], C(r, a), C(r, l),
|
|
4668
|
+
ae(b, t, B), C(t, r), C(r, n), H && H.m(n, null), C(r, i), _ && _.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
|
|
4669
|
+
e[0], C(r, a), C(r, l), S && S.m(l, null), C(l, u), C(l, h), C(h, f), e[20](t), p = !0, m || (d = [
|
|
4670
4670
|
ke(
|
|
4671
4671
|
n,
|
|
4672
4672
|
"click",
|
|
@@ -4677,58 +4677,66 @@ function Io(e) {
|
|
|
4677
4677
|
h,
|
|
4678
4678
|
"click",
|
|
4679
4679
|
/*click_handler_1*/
|
|
4680
|
-
e[
|
|
4680
|
+
e[19]
|
|
4681
4681
|
)
|
|
4682
4682
|
], m = !0);
|
|
4683
4683
|
},
|
|
4684
4684
|
p(b, [B]) {
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4685
|
+
E && E.p && (!p || B & /*$$scope*/
|
|
4686
|
+
65536) && zr(
|
|
4687
|
+
E,
|
|
4688
|
+
x,
|
|
4689
4689
|
b,
|
|
4690
4690
|
/*$$scope*/
|
|
4691
|
-
b[
|
|
4692
|
-
p ?
|
|
4693
|
-
|
|
4691
|
+
b[16],
|
|
4692
|
+
p ? Xr(
|
|
4693
|
+
x,
|
|
4694
4694
|
/*$$scope*/
|
|
4695
|
-
b[
|
|
4695
|
+
b[16],
|
|
4696
4696
|
B,
|
|
4697
|
-
|
|
4698
|
-
) :
|
|
4697
|
+
Oo
|
|
4698
|
+
) : Wr(
|
|
4699
4699
|
/*$$scope*/
|
|
4700
|
-
b[
|
|
4700
|
+
b[16]
|
|
4701
4701
|
),
|
|
4702
4702
|
kt
|
|
4703
4703
|
), /*modaltitle*/
|
|
4704
|
-
b[1] ?
|
|
4704
|
+
b[1] ? _ ? _.p(b, B) : (_ = Vt(b), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || B & /*modaltext*/
|
|
4705
4705
|
1) && (s.innerHTML = /*modaltext*/
|
|
4706
4706
|
b[0]), /*hascancelbutton*/
|
|
4707
|
-
b[2] ?
|
|
4707
|
+
b[2] ? S ? S.p(b, B) : (S = Xt(b), S.c(), S.m(l, u)) : S && (S.d(1), S = null), (!p || B & /*$_*/
|
|
4708
4708
|
16) && c !== (c = /*$_*/
|
|
4709
4709
|
b[4]("confirm") + "") && lt(f, c);
|
|
4710
4710
|
},
|
|
4711
4711
|
i(b) {
|
|
4712
|
-
p || (Kt(
|
|
4712
|
+
p || (Kt(H, b), p = !0);
|
|
4713
4713
|
},
|
|
4714
4714
|
o(b) {
|
|
4715
|
-
|
|
4715
|
+
mn(H, b), p = !1;
|
|
4716
4716
|
},
|
|
4717
4717
|
d(b) {
|
|
4718
|
-
b && D(t),
|
|
4718
|
+
b && D(t), H && H.d(b), _ && _.d(), S && S.d(), e[20](null), m = !1, U(d);
|
|
4719
4719
|
}
|
|
4720
4720
|
};
|
|
4721
4721
|
}
|
|
4722
|
-
function
|
|
4722
|
+
function No(e, t, r) {
|
|
4723
4723
|
let n;
|
|
4724
|
-
|
|
4725
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u =
|
|
4726
|
-
const
|
|
4724
|
+
kr(e, wo, (g) => r(4, n = g));
|
|
4725
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = "" } = t, { modalcancelevent: h = "" } = t, { modalconfirmdata: c = {} } = t, { lang: f = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: x } = t, E, H = window.navigator.userAgent, _ = To(H) !== "PC";
|
|
4726
|
+
const S = () => {
|
|
4727
4727
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4728
|
-
},
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4728
|
+
}, b = (g) => {
|
|
4729
|
+
g === "confirm" && u && E.dispatchEvent(new CustomEvent(
|
|
4730
|
+
u,
|
|
4731
|
+
{
|
|
4732
|
+
detail: c,
|
|
4733
|
+
// payload
|
|
4734
|
+
bubbles: !0,
|
|
4735
|
+
composed: !0
|
|
4736
|
+
}
|
|
4737
|
+
)), g === "cancel" && h && E.dispatchEvent(new CustomEvent(h, { bubbles: !0, composed: !0 })), S();
|
|
4738
|
+
}, B = () => {
|
|
4739
|
+
fetch(d).then((j) => j.json()).then((j) => {
|
|
4732
4740
|
Object.keys(j).forEach((ft) => {
|
|
4733
4741
|
Ft(ft, j[ft]);
|
|
4734
4742
|
});
|
|
@@ -4736,38 +4744,38 @@ function Mo(e, t, r) {
|
|
|
4736
4744
|
console.log(j);
|
|
4737
4745
|
});
|
|
4738
4746
|
};
|
|
4739
|
-
Object.keys(jt).forEach((
|
|
4740
|
-
Ft(
|
|
4747
|
+
Object.keys(jt).forEach((g) => {
|
|
4748
|
+
Ft(g, jt[g]);
|
|
4741
4749
|
});
|
|
4742
|
-
const
|
|
4743
|
-
|
|
4750
|
+
const ce = () => {
|
|
4751
|
+
Co(f);
|
|
4744
4752
|
};
|
|
4745
|
-
|
|
4753
|
+
an(() => () => {
|
|
4746
4754
|
});
|
|
4747
|
-
const
|
|
4748
|
-
function
|
|
4749
|
-
Ve[
|
|
4750
|
-
|
|
4755
|
+
const Ir = () => b("cancel"), Mr = () => b("confirm");
|
|
4756
|
+
function Nr(g) {
|
|
4757
|
+
Ve[g ? "unshift" : "push"](() => {
|
|
4758
|
+
E = g, r(3, E);
|
|
4751
4759
|
});
|
|
4752
4760
|
}
|
|
4753
|
-
return e.$$set = (
|
|
4754
|
-
"modaltext" in
|
|
4761
|
+
return e.$$set = (g) => {
|
|
4762
|
+
"modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "modalconfirmdata" in g && r(10, c = g.modalconfirmdata), "lang" in g && r(11, f = g.lang), "clientstyling" in g && r(12, p = g.clientstyling), "clientstylingurl" in g && r(13, m = g.clientstylingurl), "translationurl" in g && r(14, d = g.translationurl), "mbsource" in g && r(15, x = g.mbsource), "$$scope" in g && r(16, o = g.$$scope);
|
|
4755
4763
|
}, e.$$.update = () => {
|
|
4756
4764
|
e.$$.dirty & /*modaltext, lang*/
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4765
|
+
2049 && s && f && ce(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4766
|
+
4104 && p && E && Ho(E, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4767
|
+
8200 && m && E && Ao(E, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4768
|
+
32776 && x && E && Bo(E, `${x}.Style`), e.$$.dirty & /*translationurl*/
|
|
4769
|
+
16384 && d && B();
|
|
4762
4770
|
}, [
|
|
4763
4771
|
s,
|
|
4764
4772
|
a,
|
|
4765
4773
|
l,
|
|
4766
|
-
g,
|
|
4767
|
-
n,
|
|
4768
|
-
T,
|
|
4769
|
-
x,
|
|
4770
4774
|
E,
|
|
4775
|
+
n,
|
|
4776
|
+
_,
|
|
4777
|
+
S,
|
|
4778
|
+
b,
|
|
4771
4779
|
u,
|
|
4772
4780
|
h,
|
|
4773
4781
|
c,
|
|
@@ -4775,20 +4783,21 @@ function Mo(e, t, r) {
|
|
|
4775
4783
|
p,
|
|
4776
4784
|
m,
|
|
4777
4785
|
d,
|
|
4786
|
+
x,
|
|
4778
4787
|
o,
|
|
4779
4788
|
i,
|
|
4780
|
-
ce,
|
|
4781
4789
|
Ir,
|
|
4782
|
-
Mr
|
|
4790
|
+
Mr,
|
|
4791
|
+
Nr
|
|
4783
4792
|
];
|
|
4784
4793
|
}
|
|
4785
|
-
class Or extends
|
|
4794
|
+
class Or extends _n {
|
|
4786
4795
|
constructor(t) {
|
|
4787
|
-
super(),
|
|
4796
|
+
super(), yn(
|
|
4788
4797
|
this,
|
|
4789
4798
|
t,
|
|
4799
|
+
No,
|
|
4790
4800
|
Mo,
|
|
4791
|
-
Io,
|
|
4792
4801
|
Wt,
|
|
4793
4802
|
{
|
|
4794
4803
|
modaltext: 0,
|
|
@@ -4796,128 +4805,135 @@ class Or extends vn {
|
|
|
4796
4805
|
hascancelbutton: 2,
|
|
4797
4806
|
modalconfirmevent: 8,
|
|
4798
4807
|
modalcancelevent: 9,
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4808
|
+
modalconfirmdata: 10,
|
|
4809
|
+
lang: 11,
|
|
4810
|
+
clientstyling: 12,
|
|
4811
|
+
clientstylingurl: 13,
|
|
4812
|
+
translationurl: 14,
|
|
4813
|
+
mbsource: 15
|
|
4804
4814
|
},
|
|
4805
|
-
|
|
4815
|
+
Po
|
|
4806
4816
|
);
|
|
4807
4817
|
}
|
|
4808
4818
|
get modaltext() {
|
|
4809
4819
|
return this.$$.ctx[0];
|
|
4810
4820
|
}
|
|
4811
4821
|
set modaltext(t) {
|
|
4812
|
-
this.$$set({ modaltext: t }),
|
|
4822
|
+
this.$$set({ modaltext: t }), O();
|
|
4813
4823
|
}
|
|
4814
4824
|
get modaltitle() {
|
|
4815
4825
|
return this.$$.ctx[1];
|
|
4816
4826
|
}
|
|
4817
4827
|
set modaltitle(t) {
|
|
4818
|
-
this.$$set({ modaltitle: t }),
|
|
4828
|
+
this.$$set({ modaltitle: t }), O();
|
|
4819
4829
|
}
|
|
4820
4830
|
get hascancelbutton() {
|
|
4821
4831
|
return this.$$.ctx[2];
|
|
4822
4832
|
}
|
|
4823
4833
|
set hascancelbutton(t) {
|
|
4824
|
-
this.$$set({ hascancelbutton: t }),
|
|
4834
|
+
this.$$set({ hascancelbutton: t }), O();
|
|
4825
4835
|
}
|
|
4826
4836
|
get modalconfirmevent() {
|
|
4827
4837
|
return this.$$.ctx[8];
|
|
4828
4838
|
}
|
|
4829
4839
|
set modalconfirmevent(t) {
|
|
4830
|
-
this.$$set({ modalconfirmevent: t }),
|
|
4840
|
+
this.$$set({ modalconfirmevent: t }), O();
|
|
4831
4841
|
}
|
|
4832
4842
|
get modalcancelevent() {
|
|
4833
4843
|
return this.$$.ctx[9];
|
|
4834
4844
|
}
|
|
4835
4845
|
set modalcancelevent(t) {
|
|
4836
|
-
this.$$set({ modalcancelevent: t }),
|
|
4846
|
+
this.$$set({ modalcancelevent: t }), O();
|
|
4837
4847
|
}
|
|
4838
|
-
get
|
|
4848
|
+
get modalconfirmdata() {
|
|
4839
4849
|
return this.$$.ctx[10];
|
|
4840
4850
|
}
|
|
4851
|
+
set modalconfirmdata(t) {
|
|
4852
|
+
this.$$set({ modalconfirmdata: t }), O();
|
|
4853
|
+
}
|
|
4854
|
+
get lang() {
|
|
4855
|
+
return this.$$.ctx[11];
|
|
4856
|
+
}
|
|
4841
4857
|
set lang(t) {
|
|
4842
|
-
this.$$set({ lang: t }),
|
|
4858
|
+
this.$$set({ lang: t }), O();
|
|
4843
4859
|
}
|
|
4844
4860
|
get clientstyling() {
|
|
4845
|
-
return this.$$.ctx[
|
|
4861
|
+
return this.$$.ctx[12];
|
|
4846
4862
|
}
|
|
4847
4863
|
set clientstyling(t) {
|
|
4848
|
-
this.$$set({ clientstyling: t }),
|
|
4864
|
+
this.$$set({ clientstyling: t }), O();
|
|
4849
4865
|
}
|
|
4850
4866
|
get clientstylingurl() {
|
|
4851
|
-
return this.$$.ctx[
|
|
4867
|
+
return this.$$.ctx[13];
|
|
4852
4868
|
}
|
|
4853
4869
|
set clientstylingurl(t) {
|
|
4854
|
-
this.$$set({ clientstylingurl: t }),
|
|
4870
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4855
4871
|
}
|
|
4856
4872
|
get translationurl() {
|
|
4857
|
-
return this.$$.ctx[
|
|
4873
|
+
return this.$$.ctx[14];
|
|
4858
4874
|
}
|
|
4859
4875
|
set translationurl(t) {
|
|
4860
|
-
this.$$set({ translationurl: t }),
|
|
4876
|
+
this.$$set({ translationurl: t }), O();
|
|
4861
4877
|
}
|
|
4862
4878
|
get mbsource() {
|
|
4863
|
-
return this.$$.ctx[
|
|
4879
|
+
return this.$$.ctx[15];
|
|
4864
4880
|
}
|
|
4865
4881
|
set mbsource(t) {
|
|
4866
|
-
this.$$set({ mbsource: t }),
|
|
4882
|
+
this.$$set({ mbsource: t }), O();
|
|
4867
4883
|
}
|
|
4868
4884
|
}
|
|
4869
|
-
|
|
4870
|
-
const
|
|
4885
|
+
vn(Or, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4886
|
+
const zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4871
4887
|
__proto__: null,
|
|
4872
4888
|
default: Or
|
|
4873
4889
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4874
4890
|
export {
|
|
4875
4891
|
K as $,
|
|
4876
|
-
|
|
4877
|
-
|
|
4892
|
+
vn as A,
|
|
4893
|
+
Xo as B,
|
|
4878
4894
|
$n as C,
|
|
4879
4895
|
Hr as D,
|
|
4880
4896
|
N as E,
|
|
4881
|
-
|
|
4882
|
-
|
|
4897
|
+
kr as F,
|
|
4898
|
+
To as G,
|
|
4883
4899
|
fe as H,
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4900
|
+
Go as I,
|
|
4901
|
+
Uo as J,
|
|
4902
|
+
Vo as K,
|
|
4903
|
+
Ro as L,
|
|
4888
4904
|
U as M,
|
|
4889
4905
|
lt as N,
|
|
4890
|
-
|
|
4906
|
+
Do as O,
|
|
4891
4907
|
ke as P,
|
|
4892
4908
|
ue as Q,
|
|
4893
4909
|
yt as R,
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4910
|
+
_n as S,
|
|
4911
|
+
wo as T,
|
|
4912
|
+
zo as U,
|
|
4913
|
+
yn as a,
|
|
4914
|
+
Jr as b,
|
|
4899
4915
|
Kt as c,
|
|
4900
4916
|
D as d,
|
|
4901
|
-
|
|
4902
|
-
|
|
4917
|
+
jo as e,
|
|
4918
|
+
O as f,
|
|
4903
4919
|
ae as g,
|
|
4904
4920
|
$o as h,
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4921
|
+
Dr as i,
|
|
4922
|
+
Vr as j,
|
|
4923
|
+
ko as k,
|
|
4908
4924
|
Ee as l,
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4925
|
+
Wr as m,
|
|
4926
|
+
Xr as n,
|
|
4927
|
+
an as o,
|
|
4912
4928
|
C as p,
|
|
4913
4929
|
M as q,
|
|
4914
|
-
|
|
4930
|
+
A as r,
|
|
4915
4931
|
Wt as s,
|
|
4916
|
-
|
|
4917
|
-
|
|
4932
|
+
mn as t,
|
|
4933
|
+
zr as u,
|
|
4918
4934
|
Ve as v,
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4935
|
+
Fo as w,
|
|
4936
|
+
Ho as x,
|
|
4937
|
+
Ao as y,
|
|
4938
|
+
Bo as z
|
|
4923
4939
|
};
|