@everymatrix/casino-404 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Casino404--29qn4df.cjs +3 -0
- package/components/{Casino404-BYPCk43l.js → Casino404-BQEvSon_.js} +686 -659
- package/components/{Casino404-Eo4EH2yJ.js → Casino404-Z4fpzFV2.js} +734 -707
- package/es2015/casino-404.cjs +1 -1
- package/es2015/casino-404.js +1 -1
- package/esnext/casino-404.js +1 -1
- package/package.json +1 -1
- package/components/Casino404-CbF32MWb.cjs +0 -3
@@ -1,46 +1,46 @@
|
|
1
|
-
function
|
1
|
+
function A() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function it(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function Ue() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function te(e) {
|
10
|
+
e.forEach(it);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function $e(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function ot(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function Mt(e) {
|
19
19
|
return Object.keys(e).length === 0;
|
20
20
|
}
|
21
|
-
function
|
21
|
+
function at(e, ...t) {
|
22
22
|
if (e == null) {
|
23
23
|
for (const n of t)
|
24
24
|
n(void 0);
|
25
|
-
return
|
25
|
+
return A;
|
26
26
|
}
|
27
27
|
const r = e.subscribe(...t);
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
29
29
|
}
|
30
|
-
function
|
31
|
-
e.$$.on_destroy.push(
|
30
|
+
function Lt(e, t, r) {
|
31
|
+
e.$$.on_destroy.push(at(t, r));
|
32
32
|
}
|
33
|
-
function
|
33
|
+
function _(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
|
-
function
|
37
|
-
const n =
|
36
|
+
function Ct(e, t, r) {
|
37
|
+
const n = $t(e);
|
38
38
|
if (!n.getElementById(t)) {
|
39
39
|
const i = L("style");
|
40
|
-
i.id = t, i.textContent = r,
|
40
|
+
i.id = t, i.textContent = r, Rt(n, i);
|
41
41
|
}
|
42
42
|
}
|
43
|
-
function
|
43
|
+
function $t(e) {
|
44
44
|
if (!e) return document;
|
45
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
46
46
|
return t && /** @type {ShadowRoot} */
|
@@ -49,17 +49,17 @@ function Ft(e) {
|
|
49
49
|
t
|
50
50
|
) : e.ownerDocument;
|
51
51
|
}
|
52
|
-
function
|
53
|
-
return
|
52
|
+
function Rt(e, t) {
|
53
|
+
return _(
|
54
54
|
/** @type {Document} */
|
55
55
|
e.head || e,
|
56
56
|
t
|
57
57
|
), t.sheet;
|
58
58
|
}
|
59
|
-
function
|
59
|
+
function st(e, t, r) {
|
60
60
|
e.insertBefore(t, r || null);
|
61
61
|
}
|
62
|
-
function
|
62
|
+
function Re(e) {
|
63
63
|
e.parentNode && e.parentNode.removeChild(e);
|
64
64
|
}
|
65
65
|
function L(e) {
|
@@ -68,26 +68,26 @@ function L(e) {
|
|
68
68
|
function O(e) {
|
69
69
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
70
70
|
}
|
71
|
-
function
|
71
|
+
function ie(e) {
|
72
72
|
return document.createTextNode(e);
|
73
73
|
}
|
74
|
-
function
|
75
|
-
return
|
74
|
+
function ge() {
|
75
|
+
return ie(" ");
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function Ft(e, t, r, n) {
|
78
78
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
79
79
|
}
|
80
80
|
function x(e, t, r) {
|
81
81
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function Gt(e) {
|
84
84
|
return Array.from(e.childNodes);
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function de(e, t) {
|
87
87
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
88
88
|
t);
|
89
89
|
}
|
90
|
-
function
|
90
|
+
function Dt(e) {
|
91
91
|
const t = {};
|
92
92
|
return e.childNodes.forEach(
|
93
93
|
/** @param {Element} node */
|
@@ -96,51 +96,58 @@ function jt(e) {
|
|
96
96
|
}
|
97
97
|
), t;
|
98
98
|
}
|
99
|
-
let
|
99
|
+
let Y;
|
100
100
|
function J(e) {
|
101
|
-
|
101
|
+
Y = e;
|
102
|
+
}
|
103
|
+
function Ut() {
|
104
|
+
if (!Y) throw new Error("Function called outside component initialization");
|
105
|
+
return Y;
|
102
106
|
}
|
103
|
-
|
107
|
+
function jt(e) {
|
108
|
+
Ut().$$.on_mount.push(e);
|
109
|
+
}
|
110
|
+
const D = [], Te = [];
|
104
111
|
let U = [];
|
105
|
-
const
|
106
|
-
let
|
112
|
+
const je = [], kt = /* @__PURE__ */ Promise.resolve();
|
113
|
+
let Pe = !1;
|
107
114
|
function Vt() {
|
108
|
-
|
115
|
+
Pe || (Pe = !0, kt.then(C));
|
109
116
|
}
|
110
|
-
function
|
117
|
+
function Se(e) {
|
111
118
|
U.push(e);
|
112
119
|
}
|
113
|
-
const
|
114
|
-
let
|
115
|
-
function
|
116
|
-
if (
|
120
|
+
const be = /* @__PURE__ */ new Set();
|
121
|
+
let F = 0;
|
122
|
+
function C() {
|
123
|
+
if (F !== 0)
|
117
124
|
return;
|
118
|
-
const e =
|
125
|
+
const e = Y;
|
119
126
|
do {
|
120
127
|
try {
|
121
|
-
for (;
|
122
|
-
const t =
|
123
|
-
|
128
|
+
for (; F < D.length; ) {
|
129
|
+
const t = D[F];
|
130
|
+
F++, J(t), Xt(t.$$);
|
124
131
|
}
|
125
132
|
} catch (t) {
|
126
|
-
throw
|
133
|
+
throw D.length = 0, F = 0, t;
|
127
134
|
}
|
128
|
-
for (J(null),
|
135
|
+
for (J(null), D.length = 0, F = 0; Te.length; ) Te.pop()();
|
129
136
|
for (let t = 0; t < U.length; t += 1) {
|
130
137
|
const r = U[t];
|
131
|
-
|
138
|
+
be.has(r) || (be.add(r), r());
|
132
139
|
}
|
133
140
|
U.length = 0;
|
134
|
-
} while (
|
135
|
-
for (;
|
136
|
-
|
137
|
-
|
141
|
+
} while (D.length);
|
142
|
+
for (; je.length; )
|
143
|
+
je.pop()();
|
144
|
+
Pe = !1, be.clear(), J(e);
|
138
145
|
}
|
139
146
|
function Xt(e) {
|
140
147
|
if (e.fragment !== null) {
|
141
|
-
e.update(),
|
148
|
+
e.update(), te(e.before_update);
|
142
149
|
const t = e.dirty;
|
143
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
150
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
144
151
|
}
|
145
152
|
}
|
146
153
|
function zt(e) {
|
@@ -153,29 +160,29 @@ function Wt(e, t) {
|
|
153
160
|
}
|
154
161
|
function Qt(e, t, r) {
|
155
162
|
const { fragment: n, after_update: i } = e.$$;
|
156
|
-
n && n.m(t, r),
|
157
|
-
const o = e.$$.on_mount.map(
|
158
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
159
|
-
}), i.forEach(
|
163
|
+
n && n.m(t, r), Se(() => {
|
164
|
+
const o = e.$$.on_mount.map(it).filter($e);
|
165
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
166
|
+
}), i.forEach(Se);
|
160
167
|
}
|
161
168
|
function qt(e, t) {
|
162
169
|
const r = e.$$;
|
163
|
-
r.fragment !== null && (zt(r.after_update),
|
170
|
+
r.fragment !== null && (zt(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
164
171
|
}
|
165
172
|
function Jt(e, t) {
|
166
|
-
e.$$.dirty[0] === -1 && (
|
173
|
+
e.$$.dirty[0] === -1 && (D.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
167
174
|
}
|
168
|
-
function Yt(e, t, r, n, i, o, u = null,
|
169
|
-
const l =
|
175
|
+
function Yt(e, t, r, n, i, o, u = null, s = [-1]) {
|
176
|
+
const l = Y;
|
170
177
|
J(e);
|
171
|
-
const
|
178
|
+
const a = e.$$ = {
|
172
179
|
fragment: null,
|
173
180
|
ctx: [],
|
174
181
|
// state
|
175
182
|
props: o,
|
176
|
-
update:
|
183
|
+
update: A,
|
177
184
|
not_equal: i,
|
178
|
-
bound:
|
185
|
+
bound: Ue(),
|
179
186
|
// lifecycle
|
180
187
|
on_mount: [],
|
181
188
|
on_destroy: [],
|
@@ -184,28 +191,28 @@ function Yt(e, t, r, n, i, o, u = null, a = [-1]) {
|
|
184
191
|
after_update: [],
|
185
192
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
186
193
|
// everything else
|
187
|
-
callbacks:
|
188
|
-
dirty:
|
194
|
+
callbacks: Ue(),
|
195
|
+
dirty: s,
|
189
196
|
skip_bound: !1,
|
190
197
|
root: t.target || l.$$.root
|
191
198
|
};
|
192
|
-
u && u(
|
199
|
+
u && u(a.root);
|
193
200
|
let h = !1;
|
194
|
-
if (
|
195
|
-
const y = b.length ? b[0] :
|
196
|
-
return
|
197
|
-
}) : [],
|
201
|
+
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
|
202
|
+
const y = b.length ? b[0] : c;
|
203
|
+
return a.ctx && i(a.ctx[f], a.ctx[f] = y) && (!a.skip_bound && a.bound[f] && a.bound[f](y), h && Jt(e, f)), c;
|
204
|
+
}) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
198
205
|
if (t.hydrate) {
|
199
|
-
const
|
200
|
-
|
206
|
+
const f = Gt(t.target);
|
207
|
+
a.fragment && a.fragment.l(f), f.forEach(Re);
|
201
208
|
} else
|
202
|
-
|
203
|
-
t.intro && Wt(e.$$.fragment), Qt(e, t.target, t.anchor),
|
209
|
+
a.fragment && a.fragment.c();
|
210
|
+
t.intro && Wt(e.$$.fragment), Qt(e, t.target, t.anchor), C();
|
204
211
|
}
|
205
212
|
J(l);
|
206
213
|
}
|
207
|
-
let
|
208
|
-
typeof HTMLElement == "function" && (
|
214
|
+
let ut;
|
215
|
+
typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
209
216
|
/** The Svelte component constructor */
|
210
217
|
$$ctor;
|
211
218
|
/** Slots */
|
@@ -253,23 +260,23 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
253
260
|
* @param {HTMLElement} target
|
254
261
|
* @param {HTMLElement} [anchor]
|
255
262
|
*/
|
256
|
-
m: function(l,
|
257
|
-
|
263
|
+
m: function(l, a) {
|
264
|
+
st(l, o, a);
|
258
265
|
},
|
259
266
|
d: function(l) {
|
260
|
-
l &&
|
267
|
+
l && Re(o);
|
261
268
|
}
|
262
269
|
};
|
263
270
|
};
|
264
271
|
};
|
265
272
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
266
273
|
return;
|
267
|
-
const t = {}, r =
|
274
|
+
const t = {}, r = Dt(this);
|
268
275
|
for (const i of this.$$s)
|
269
276
|
i in r && (t[i] = [e(i)]);
|
270
277
|
for (const i of this.attributes) {
|
271
278
|
const o = this.$$g_p(i.name);
|
272
|
-
o in this.$$d || (this.$$d[o] =
|
279
|
+
o in this.$$d || (this.$$d[o] = oe(o, i.value, this.$$p_d, "toProp"));
|
273
280
|
}
|
274
281
|
for (const i in this.$$p_d)
|
275
282
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -287,7 +294,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
287
294
|
this.$$r = !0;
|
288
295
|
for (const i in this.$$p_d)
|
289
296
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
290
|
-
const o =
|
297
|
+
const o = oe(
|
291
298
|
i,
|
292
299
|
this.$$d[i],
|
293
300
|
this.$$p_d,
|
@@ -309,7 +316,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
309
316
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
310
317
|
// and setting attributes through setAttribute etc, this is helpful
|
311
318
|
attributeChangedCallback(e, t, r) {
|
312
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
319
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
313
320
|
}
|
314
321
|
disconnectedCallback() {
|
315
322
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -322,7 +329,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
322
329
|
) || e;
|
323
330
|
}
|
324
331
|
});
|
325
|
-
function
|
332
|
+
function oe(e, t, r, n) {
|
326
333
|
const i = r[e]?.type;
|
327
334
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
328
335
|
return t;
|
@@ -352,29 +359,29 @@ function ie(e, t, r, n) {
|
|
352
359
|
}
|
353
360
|
}
|
354
361
|
function Kt(e, t, r, n, i, o) {
|
355
|
-
let u = class extends
|
362
|
+
let u = class extends ut {
|
356
363
|
constructor() {
|
357
364
|
super(e, r, i), this.$$p_d = t;
|
358
365
|
}
|
359
366
|
static get observedAttributes() {
|
360
367
|
return Object.keys(t).map(
|
361
|
-
(
|
368
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
362
369
|
);
|
363
370
|
}
|
364
371
|
};
|
365
|
-
return Object.keys(t).forEach((
|
366
|
-
Object.defineProperty(u.prototype,
|
372
|
+
return Object.keys(t).forEach((s) => {
|
373
|
+
Object.defineProperty(u.prototype, s, {
|
367
374
|
get() {
|
368
|
-
return this.$$c &&
|
375
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
369
376
|
},
|
370
377
|
set(l) {
|
371
|
-
l =
|
378
|
+
l = oe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
372
379
|
}
|
373
380
|
});
|
374
|
-
}), n.forEach((
|
375
|
-
Object.defineProperty(u.prototype,
|
381
|
+
}), n.forEach((s) => {
|
382
|
+
Object.defineProperty(u.prototype, s, {
|
376
383
|
get() {
|
377
|
-
return this.$$c?.[
|
384
|
+
return this.$$c?.[s];
|
378
385
|
}
|
379
386
|
});
|
380
387
|
}), e.element = /** @type {any} */
|
@@ -399,7 +406,7 @@ class er {
|
|
399
406
|
$$set = void 0;
|
400
407
|
/** @returns {void} */
|
401
408
|
$destroy() {
|
402
|
-
qt(this, 1), this.$destroy =
|
409
|
+
qt(this, 1), this.$destroy = A;
|
403
410
|
}
|
404
411
|
/**
|
405
412
|
* @template {Extract<keyof Events, string>} K
|
@@ -408,8 +415,8 @@ class er {
|
|
408
415
|
* @returns {() => void}
|
409
416
|
*/
|
410
417
|
$on(t, r) {
|
411
|
-
if (
|
412
|
-
return
|
418
|
+
if (!$e(r))
|
419
|
+
return A;
|
413
420
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
414
421
|
return n.push(r), () => {
|
415
422
|
const i = n.indexOf(r);
|
@@ -421,39 +428,39 @@ class er {
|
|
421
428
|
* @returns {void}
|
422
429
|
*/
|
423
430
|
$set(t) {
|
424
|
-
this.$$set && !
|
431
|
+
this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
425
432
|
}
|
426
433
|
}
|
427
434
|
const tr = "4";
|
428
435
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tr);
|
429
|
-
const
|
436
|
+
const G = [];
|
430
437
|
function rr(e, t) {
|
431
438
|
return {
|
432
|
-
subscribe:
|
439
|
+
subscribe: le(e, t).subscribe
|
433
440
|
};
|
434
441
|
}
|
435
|
-
function
|
442
|
+
function le(e, t = A) {
|
436
443
|
let r;
|
437
444
|
const n = /* @__PURE__ */ new Set();
|
438
|
-
function i(
|
439
|
-
if (
|
440
|
-
const l = !
|
441
|
-
for (const
|
442
|
-
|
445
|
+
function i(s) {
|
446
|
+
if (ot(e, s) && (e = s, r)) {
|
447
|
+
const l = !G.length;
|
448
|
+
for (const a of n)
|
449
|
+
a[1](), G.push(a, e);
|
443
450
|
if (l) {
|
444
|
-
for (let
|
445
|
-
|
446
|
-
|
451
|
+
for (let a = 0; a < G.length; a += 2)
|
452
|
+
G[a][0](G[a + 1]);
|
453
|
+
G.length = 0;
|
447
454
|
}
|
448
455
|
}
|
449
456
|
}
|
450
|
-
function o(
|
451
|
-
i(
|
457
|
+
function o(s) {
|
458
|
+
i(s(e));
|
452
459
|
}
|
453
|
-
function u(
|
454
|
-
const
|
455
|
-
return n.add(
|
456
|
-
n.delete(
|
460
|
+
function u(s, l = A) {
|
461
|
+
const a = [s, l];
|
462
|
+
return n.add(a), n.size === 1 && (r = t(i, o) || A), s(e), () => {
|
463
|
+
n.delete(a), n.size === 0 && r && (r(), r = null);
|
457
464
|
};
|
458
465
|
}
|
459
466
|
return { set: i, update: o, subscribe: u };
|
@@ -463,29 +470,29 @@ function z(e, t, r) {
|
|
463
470
|
if (!i.every(Boolean))
|
464
471
|
throw new Error("derived() expects stores as input, got a falsy value");
|
465
472
|
const o = t.length < 2;
|
466
|
-
return rr(r, (u,
|
473
|
+
return rr(r, (u, s) => {
|
467
474
|
let l = !1;
|
468
|
-
const
|
469
|
-
let h = 0,
|
470
|
-
const
|
475
|
+
const a = [];
|
476
|
+
let h = 0, f = A;
|
477
|
+
const c = () => {
|
471
478
|
if (h)
|
472
479
|
return;
|
473
|
-
|
474
|
-
const y = t(n ?
|
475
|
-
o ? u(y) :
|
480
|
+
f();
|
481
|
+
const y = t(n ? a[0] : a, u, s);
|
482
|
+
o ? u(y) : f = $e(y) ? y : A;
|
476
483
|
}, b = i.map(
|
477
|
-
(y,
|
484
|
+
(y, m) => at(
|
478
485
|
y,
|
479
|
-
(
|
480
|
-
|
486
|
+
(v) => {
|
487
|
+
a[m] = v, h &= ~(1 << m), l && c();
|
481
488
|
},
|
482
489
|
() => {
|
483
|
-
h |= 1 <<
|
490
|
+
h |= 1 << m;
|
484
491
|
}
|
485
492
|
)
|
486
493
|
);
|
487
|
-
return l = !0,
|
488
|
-
|
494
|
+
return l = !0, c(), function() {
|
495
|
+
te(b), f(), l = !1;
|
489
496
|
};
|
490
497
|
});
|
491
498
|
}
|
@@ -509,12 +516,12 @@ function hr(e) {
|
|
509
516
|
function lr(e) {
|
510
517
|
return Array.isArray(e) ? [] : {};
|
511
518
|
}
|
512
|
-
function
|
519
|
+
function K(e, t) {
|
513
520
|
return t.clone !== !1 && t.isMergeableObject(e) ? j(lr(e), e, t) : e;
|
514
521
|
}
|
515
522
|
function fr(e, t, r) {
|
516
523
|
return e.concat(t).map(function(n) {
|
517
|
-
return
|
524
|
+
return K(n, r);
|
518
525
|
});
|
519
526
|
}
|
520
527
|
function cr(e, t) {
|
@@ -528,10 +535,10 @@ function mr(e) {
|
|
528
535
|
return Object.propertyIsEnumerable.call(e, t);
|
529
536
|
}) : [];
|
530
537
|
}
|
531
|
-
function
|
538
|
+
function ke(e) {
|
532
539
|
return Object.keys(e).concat(mr(e));
|
533
540
|
}
|
534
|
-
function
|
541
|
+
function ht(e, t) {
|
535
542
|
try {
|
536
543
|
return t in e;
|
537
544
|
} catch {
|
@@ -539,20 +546,20 @@ function ft(e, t) {
|
|
539
546
|
}
|
540
547
|
}
|
541
548
|
function pr(e, t) {
|
542
|
-
return
|
549
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
543
550
|
}
|
544
551
|
function gr(e, t, r) {
|
545
552
|
var n = {};
|
546
|
-
return r.isMergeableObject(e) &&
|
547
|
-
n[i] =
|
548
|
-
}),
|
549
|
-
pr(e, i) || (
|
553
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
554
|
+
n[i] = K(e[i], r);
|
555
|
+
}), ke(t).forEach(function(i) {
|
556
|
+
pr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
550
557
|
}), n;
|
551
558
|
}
|
552
559
|
function j(e, t, r) {
|
553
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified =
|
560
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = K;
|
554
561
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
555
|
-
return o ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) :
|
562
|
+
return o ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) : K(t, r);
|
556
563
|
}
|
557
564
|
j.all = function(t, r) {
|
558
565
|
if (!Array.isArray(t))
|
@@ -570,7 +577,7 @@ var Ne = function(e, t) {
|
|
570
577
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
571
578
|
}, Ne(e, t);
|
572
579
|
};
|
573
|
-
function
|
580
|
+
function fe(e, t) {
|
574
581
|
if (typeof t != "function" && t !== null)
|
575
582
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
576
583
|
Ne(e, t);
|
@@ -596,110 +603,108 @@ function yr(e, t) {
|
|
596
603
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
597
604
|
return r;
|
598
605
|
}
|
599
|
-
function
|
606
|
+
function xe(e, t, r) {
|
600
607
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
601
608
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
602
609
|
return e.concat(o || Array.prototype.slice.call(t));
|
603
610
|
}
|
604
|
-
function
|
605
|
-
var r = t && t.cache ? t.cache :
|
611
|
+
function ye(e, t) {
|
612
|
+
var r = t && t.cache ? t.cache : Sr, n = t && t.serializer ? t.serializer : Tr, i = t && t.strategy ? t.strategy : _r;
|
606
613
|
return i(e, {
|
607
614
|
cache: r,
|
608
615
|
serializer: n
|
609
616
|
});
|
610
617
|
}
|
611
|
-
function
|
618
|
+
function Er(e) {
|
612
619
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
613
620
|
}
|
614
|
-
function
|
615
|
-
var i =
|
621
|
+
function vr(e, t, r, n) {
|
622
|
+
var i = Er(n) ? n : r(n), o = t.get(i);
|
616
623
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
617
624
|
}
|
618
|
-
function
|
625
|
+
function lt(e, t, r) {
|
619
626
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
620
627
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
621
628
|
}
|
622
|
-
function
|
629
|
+
function ft(e, t, r, n, i) {
|
623
630
|
return r.bind(t, e, n, i);
|
624
631
|
}
|
625
|
-
function Er(e, t) {
|
626
|
-
var r = e.length === 1 ? ct : mt;
|
627
|
-
return Fe(e, this, r, t.cache.create(), t.serializer);
|
628
|
-
}
|
629
632
|
function _r(e, t) {
|
630
|
-
|
633
|
+
var r = e.length === 1 ? vr : lt;
|
634
|
+
return ft(e, this, r, t.cache.create(), t.serializer);
|
631
635
|
}
|
632
636
|
function Hr(e, t) {
|
633
|
-
return
|
637
|
+
return ft(e, this, lt, t.cache.create(), t.serializer);
|
634
638
|
}
|
635
639
|
var Tr = function() {
|
636
640
|
return JSON.stringify(arguments);
|
637
|
-
}
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
641
|
+
}, Pr = (
|
642
|
+
/** @class */
|
643
|
+
function() {
|
644
|
+
function e() {
|
645
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
646
|
+
}
|
647
|
+
return e.prototype.get = function(t) {
|
648
|
+
return this.cache[t];
|
649
|
+
}, e.prototype.set = function(t, r) {
|
650
|
+
this.cache[t] = r;
|
651
|
+
}, e;
|
652
|
+
}()
|
653
|
+
), Sr = {
|
648
654
|
create: function() {
|
649
|
-
return new
|
655
|
+
return new Pr();
|
650
656
|
}
|
651
|
-
},
|
652
|
-
variadic:
|
653
|
-
monadic: Hr
|
657
|
+
}, Ee = {
|
658
|
+
variadic: Hr
|
654
659
|
}, p;
|
655
660
|
(function(e) {
|
656
661
|
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";
|
657
662
|
})(p || (p = {}));
|
658
|
-
var
|
663
|
+
var E;
|
659
664
|
(function(e) {
|
660
665
|
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";
|
661
|
-
})(
|
666
|
+
})(E || (E = {}));
|
662
667
|
var k;
|
663
668
|
(function(e) {
|
664
669
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
665
670
|
})(k || (k = {}));
|
666
|
-
function
|
667
|
-
return e.type ===
|
671
|
+
function Ve(e) {
|
672
|
+
return e.type === E.literal;
|
668
673
|
}
|
669
674
|
function Nr(e) {
|
670
|
-
return e.type ===
|
675
|
+
return e.type === E.argument;
|
676
|
+
}
|
677
|
+
function ct(e) {
|
678
|
+
return e.type === E.number;
|
679
|
+
}
|
680
|
+
function mt(e) {
|
681
|
+
return e.type === E.date;
|
671
682
|
}
|
672
683
|
function pt(e) {
|
673
|
-
return e.type ===
|
684
|
+
return e.type === E.time;
|
674
685
|
}
|
675
686
|
function gt(e) {
|
676
|
-
return e.type ===
|
687
|
+
return e.type === E.select;
|
677
688
|
}
|
678
689
|
function dt(e) {
|
679
|
-
return e.type ===
|
680
|
-
}
|
681
|
-
function bt(e) {
|
682
|
-
return e.type === v.select;
|
683
|
-
}
|
684
|
-
function xt(e) {
|
685
|
-
return e.type === v.plural;
|
690
|
+
return e.type === E.plural;
|
686
691
|
}
|
687
692
|
function Ar(e) {
|
688
|
-
return e.type ===
|
693
|
+
return e.type === E.pound;
|
689
694
|
}
|
690
|
-
function
|
691
|
-
return e.type ===
|
695
|
+
function bt(e) {
|
696
|
+
return e.type === E.tag;
|
692
697
|
}
|
693
|
-
function
|
698
|
+
function xt(e) {
|
694
699
|
return !!(e && typeof e == "object" && e.type === k.number);
|
695
700
|
}
|
696
701
|
function Ae(e) {
|
697
702
|
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
698
703
|
}
|
699
|
-
var
|
700
|
-
function
|
704
|
+
var yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
|
705
|
+
function wr(e) {
|
701
706
|
var t = {};
|
702
|
-
return e.replace(
|
707
|
+
return e.replace(Br, function(r) {
|
703
708
|
var n = r.length;
|
704
709
|
switch (r[0]) {
|
705
710
|
case "G":
|
@@ -788,36 +793,36 @@ function Br(e) {
|
|
788
793
|
return "";
|
789
794
|
}), t;
|
790
795
|
}
|
791
|
-
var
|
792
|
-
function
|
796
|
+
var Or = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
797
|
+
function Ir(e) {
|
793
798
|
if (e.length === 0)
|
794
799
|
throw new Error("Number skeleton cannot be empty");
|
795
|
-
for (var t = e.split(
|
796
|
-
return
|
800
|
+
for (var t = e.split(Or).filter(function(c) {
|
801
|
+
return c.length > 0;
|
797
802
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
798
803
|
var o = i[n], u = o.split("/");
|
799
804
|
if (u.length === 0)
|
800
805
|
throw new Error("Invalid number skeleton");
|
801
|
-
for (var
|
802
|
-
var
|
803
|
-
if (
|
806
|
+
for (var s = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
|
807
|
+
var f = h[a];
|
808
|
+
if (f.length === 0)
|
804
809
|
throw new Error("Invalid number skeleton");
|
805
810
|
}
|
806
|
-
r.push({ stem:
|
811
|
+
r.push({ stem: s, options: l });
|
807
812
|
}
|
808
813
|
return r;
|
809
814
|
}
|
810
|
-
function
|
815
|
+
function Mr(e) {
|
811
816
|
return e.replace(/^(.*?)-/, "");
|
812
817
|
}
|
813
|
-
var
|
814
|
-
function
|
818
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Et = /^(@+)?(\+|#+)?[rs]?$/g, Lr = /(\*)(0+)|(#+)(0+)|(0+)/g, vt = /^(0+)$/;
|
819
|
+
function ze(e) {
|
815
820
|
var t = {};
|
816
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
821
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Et, function(r, n, i) {
|
817
822
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
818
823
|
}), t;
|
819
824
|
}
|
820
|
-
function
|
825
|
+
function _t(e) {
|
821
826
|
switch (e) {
|
822
827
|
case "sign-auto":
|
823
828
|
return {
|
@@ -857,7 +862,7 @@ function Tt(e) {
|
|
857
862
|
};
|
858
863
|
}
|
859
864
|
}
|
860
|
-
function
|
865
|
+
function Cr(e) {
|
861
866
|
var t;
|
862
867
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
863
868
|
notation: "engineering"
|
@@ -865,17 +870,17 @@ function Lr(e) {
|
|
865
870
|
notation: "scientific"
|
866
871
|
}, e = e.slice(1)), t) {
|
867
872
|
var r = e.slice(0, 2);
|
868
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
873
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vt.test(e))
|
869
874
|
throw new Error("Malformed concise eng/scientific notation");
|
870
875
|
t.minimumIntegerDigits = e.length;
|
871
876
|
}
|
872
877
|
return t;
|
873
878
|
}
|
874
|
-
function
|
875
|
-
var t = {}, r =
|
879
|
+
function Ze(e) {
|
880
|
+
var t = {}, r = _t(e);
|
876
881
|
return r || t;
|
877
882
|
}
|
878
|
-
function
|
883
|
+
function $r(e) {
|
879
884
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
880
885
|
var i = n[r];
|
881
886
|
switch (i.stem) {
|
@@ -899,7 +904,7 @@ function Cr(e) {
|
|
899
904
|
continue;
|
900
905
|
case "measure-unit":
|
901
906
|
case "unit":
|
902
|
-
t.style = "unit", t.unit =
|
907
|
+
t.style = "unit", t.unit = Mr(i.options[0]);
|
903
908
|
continue;
|
904
909
|
case "compact-short":
|
905
910
|
case "K":
|
@@ -910,13 +915,13 @@ function Cr(e) {
|
|
910
915
|
t.notation = "compact", t.compactDisplay = "long";
|
911
916
|
continue;
|
912
917
|
case "scientific":
|
913
|
-
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l,
|
914
|
-
return d(d({}, l),
|
918
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
919
|
+
return d(d({}, l), Ze(a));
|
915
920
|
}, {}));
|
916
921
|
continue;
|
917
922
|
case "engineering":
|
918
|
-
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l,
|
919
|
-
return d(d({}, l),
|
923
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
924
|
+
return d(d({}, l), Ze(a));
|
920
925
|
}, {}));
|
921
926
|
continue;
|
922
927
|
case "notation-simple":
|
@@ -961,11 +966,11 @@ function Cr(e) {
|
|
961
966
|
case "integer-width":
|
962
967
|
if (i.options.length > 1)
|
963
968
|
throw new RangeError("integer-width stems only accept a single optional option");
|
964
|
-
i.options[0].replace(
|
965
|
-
if (
|
969
|
+
i.options[0].replace(Lr, function(l, a, h, f, c, b) {
|
970
|
+
if (a)
|
966
971
|
t.minimumIntegerDigits = h.length;
|
967
972
|
else {
|
968
|
-
if (
|
973
|
+
if (f && c)
|
969
974
|
throw new Error("We currently do not support maximum integer digits");
|
970
975
|
if (b)
|
971
976
|
throw new Error("We currently do not support exact integer digits");
|
@@ -974,32 +979,32 @@ function Cr(e) {
|
|
974
979
|
});
|
975
980
|
continue;
|
976
981
|
}
|
977
|
-
if (
|
982
|
+
if (vt.test(i.stem)) {
|
978
983
|
t.minimumIntegerDigits = i.stem.length;
|
979
984
|
continue;
|
980
985
|
}
|
981
|
-
if (
|
986
|
+
if (Xe.test(i.stem)) {
|
982
987
|
if (i.options.length > 1)
|
983
988
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
984
|
-
i.stem.replace(
|
985
|
-
return h === "*" ? t.minimumFractionDigits =
|
989
|
+
i.stem.replace(Xe, function(l, a, h, f, c, b) {
|
990
|
+
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
986
991
|
});
|
987
992
|
var o = i.options[0];
|
988
|
-
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t),
|
993
|
+
o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), ze(o)));
|
989
994
|
continue;
|
990
995
|
}
|
991
|
-
if (
|
992
|
-
t = d(d({}, t),
|
996
|
+
if (Et.test(i.stem)) {
|
997
|
+
t = d(d({}, t), ze(i.stem));
|
993
998
|
continue;
|
994
999
|
}
|
995
|
-
var u =
|
1000
|
+
var u = _t(i.stem);
|
996
1001
|
u && (t = d(d({}, t), u));
|
997
|
-
var
|
998
|
-
|
1002
|
+
var s = Cr(i.stem);
|
1003
|
+
s && (t = d(d({}, t), s));
|
999
1004
|
}
|
1000
1005
|
return t;
|
1001
1006
|
}
|
1002
|
-
var
|
1007
|
+
var ne = {
|
1003
1008
|
"001": [
|
1004
1009
|
"H",
|
1005
1010
|
"h"
|
@@ -2414,22 +2419,22 @@ var re = {
|
|
2414
2419
|
"h"
|
2415
2420
|
]
|
2416
2421
|
};
|
2417
|
-
function
|
2422
|
+
function Rr(e, t) {
|
2418
2423
|
for (var r = "", n = 0; n < e.length; n++) {
|
2419
2424
|
var i = e.charAt(n);
|
2420
2425
|
if (i === "j") {
|
2421
2426
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2422
2427
|
o++, n++;
|
2423
|
-
var u = 1 + (o & 1),
|
2424
|
-
for ((
|
2428
|
+
var u = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = Fr(t);
|
2429
|
+
for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
|
2425
2430
|
r += l;
|
2426
2431
|
for (; u-- > 0; )
|
2427
|
-
r =
|
2432
|
+
r = a + r;
|
2428
2433
|
} else i === "J" ? r += "H" : r += i;
|
2429
2434
|
}
|
2430
2435
|
return r;
|
2431
2436
|
}
|
2432
|
-
function
|
2437
|
+
function Fr(e) {
|
2433
2438
|
var t = e.hourCycle;
|
2434
2439
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2435
2440
|
e.hourCycles && // @ts-ignore
|
@@ -2448,23 +2453,23 @@ function Rr(e) {
|
|
2448
2453
|
}
|
2449
2454
|
var r = e.language, n;
|
2450
2455
|
r !== "root" && (n = e.maximize().region);
|
2451
|
-
var i =
|
2456
|
+
var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
|
2452
2457
|
return i[0];
|
2453
2458
|
}
|
2454
|
-
var ve,
|
2459
|
+
var ve, Gr = new RegExp("^".concat(yt.source, "*")), Dr = new RegExp("".concat(yt.source, "*$"));
|
2455
2460
|
function g(e, t) {
|
2456
2461
|
return { start: e, end: t };
|
2457
2462
|
}
|
2458
|
-
var
|
2463
|
+
var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, kr = !!Object.fromEntries, Vr = !!String.prototype.codePointAt, Xr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Zr = !!Number.isSafeInteger, Wr = Zr ? Number.isSafeInteger : function(e) {
|
2459
2464
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2460
|
-
},
|
2465
|
+
}, Be = !0;
|
2461
2466
|
try {
|
2462
|
-
var
|
2463
|
-
|
2467
|
+
var Qr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2468
|
+
Be = ((ve = Qr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
2464
2469
|
} catch {
|
2465
|
-
|
2470
|
+
Be = !1;
|
2466
2471
|
}
|
2467
|
-
var
|
2472
|
+
var We = Ur ? (
|
2468
2473
|
// Native
|
2469
2474
|
function(t, r, n) {
|
2470
2475
|
return t.startsWith(r, n);
|
@@ -2474,7 +2479,7 @@ var qe = Dr ? (
|
|
2474
2479
|
function(t, r, n) {
|
2475
2480
|
return t.slice(n, n + r.length) === r;
|
2476
2481
|
}
|
2477
|
-
),
|
2482
|
+
), we = jr ? String.fromCodePoint : (
|
2478
2483
|
// IE11
|
2479
2484
|
function() {
|
2480
2485
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2486,19 +2491,19 @@ var qe = Dr ? (
|
|
2486
2491
|
}
|
2487
2492
|
return n;
|
2488
2493
|
}
|
2489
|
-
),
|
2494
|
+
), Qe = (
|
2490
2495
|
// native
|
2491
|
-
|
2496
|
+
kr ? Object.fromEntries : (
|
2492
2497
|
// Ponyfill
|
2493
2498
|
function(t) {
|
2494
2499
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2495
|
-
var o = i[n], u = o[0],
|
2496
|
-
r[u] =
|
2500
|
+
var o = i[n], u = o[0], s = o[1];
|
2501
|
+
r[u] = s;
|
2497
2502
|
}
|
2498
2503
|
return r;
|
2499
2504
|
}
|
2500
2505
|
)
|
2501
|
-
),
|
2506
|
+
), Ht = Vr ? (
|
2502
2507
|
// Native
|
2503
2508
|
function(t, r) {
|
2504
2509
|
return t.codePointAt(r);
|
@@ -2512,7 +2517,7 @@ var qe = Dr ? (
|
|
2512
2517
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2513
2518
|
}
|
2514
2519
|
}
|
2515
|
-
),
|
2520
|
+
), qr = Xr ? (
|
2516
2521
|
// Native
|
2517
2522
|
function(t) {
|
2518
2523
|
return t.trimStart();
|
@@ -2520,9 +2525,9 @@ var qe = Dr ? (
|
|
2520
2525
|
) : (
|
2521
2526
|
// Ponyfill
|
2522
2527
|
function(t) {
|
2523
|
-
return t.replace(
|
2528
|
+
return t.replace(Gr, "");
|
2524
2529
|
}
|
2525
|
-
),
|
2530
|
+
), Jr = zr ? (
|
2526
2531
|
// Native
|
2527
2532
|
function(t) {
|
2528
2533
|
return t.trimEnd();
|
@@ -2530,32 +2535,32 @@ var qe = Dr ? (
|
|
2530
2535
|
) : (
|
2531
2536
|
// Ponyfill
|
2532
2537
|
function(t) {
|
2533
|
-
return t.replace(
|
2538
|
+
return t.replace(Dr, "");
|
2534
2539
|
}
|
2535
2540
|
);
|
2536
|
-
function
|
2541
|
+
function Tt(e, t) {
|
2537
2542
|
return new RegExp(e, t);
|
2538
2543
|
}
|
2539
|
-
var
|
2540
|
-
if (
|
2541
|
-
var
|
2542
|
-
|
2544
|
+
var Oe;
|
2545
|
+
if (Be) {
|
2546
|
+
var qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2547
|
+
Oe = function(t, r) {
|
2543
2548
|
var n;
|
2544
|
-
|
2545
|
-
var i =
|
2549
|
+
qe.lastIndex = r;
|
2550
|
+
var i = qe.exec(t);
|
2546
2551
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2547
2552
|
};
|
2548
2553
|
} else
|
2549
|
-
|
2554
|
+
Oe = function(t, r) {
|
2550
2555
|
for (var n = []; ; ) {
|
2551
|
-
var i =
|
2552
|
-
if (i === void 0 ||
|
2556
|
+
var i = Ht(t, r);
|
2557
|
+
if (i === void 0 || Pt(i) || tn(i))
|
2553
2558
|
break;
|
2554
2559
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2555
2560
|
}
|
2556
|
-
return
|
2561
|
+
return we.apply(void 0, n);
|
2557
2562
|
};
|
2558
|
-
var
|
2563
|
+
var Yr = (
|
2559
2564
|
/** @class */
|
2560
2565
|
function() {
|
2561
2566
|
function e(t, r) {
|
@@ -2577,16 +2582,16 @@ var Jr = (
|
|
2577
2582
|
if (o === 125 && t > 0)
|
2578
2583
|
break;
|
2579
2584
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
2580
|
-
var
|
2585
|
+
var s = this.clonePosition();
|
2581
2586
|
this.bump(), i.push({
|
2582
|
-
type:
|
2583
|
-
location: g(
|
2587
|
+
type: E.pound,
|
2588
|
+
location: g(s, this.clonePosition())
|
2584
2589
|
});
|
2585
2590
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
2586
2591
|
if (n)
|
2587
2592
|
break;
|
2588
2593
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
2589
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2594
|
+
} else if (o === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
|
2590
2595
|
var u = this.parseTag(t, r);
|
2591
2596
|
if (u.err)
|
2592
2597
|
return u;
|
@@ -2607,7 +2612,7 @@ var Jr = (
|
|
2607
2612
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2608
2613
|
return {
|
2609
2614
|
val: {
|
2610
|
-
type:
|
2615
|
+
type: E.literal,
|
2611
2616
|
value: "<".concat(i, "/>"),
|
2612
2617
|
location: g(n, this.clonePosition())
|
2613
2618
|
},
|
@@ -2617,27 +2622,27 @@ var Jr = (
|
|
2617
2622
|
var o = this.parseMessage(t + 1, r, !0);
|
2618
2623
|
if (o.err)
|
2619
2624
|
return o;
|
2620
|
-
var u = o.val,
|
2625
|
+
var u = o.val, s = this.clonePosition();
|
2621
2626
|
if (this.bumpIf("</")) {
|
2622
|
-
if (this.isEOF() || !
|
2623
|
-
return this.error(p.INVALID_TAG, g(
|
2624
|
-
var l = this.clonePosition(),
|
2625
|
-
return i !==
|
2627
|
+
if (this.isEOF() || !Ie(this.char()))
|
2628
|
+
return this.error(p.INVALID_TAG, g(s, this.clonePosition()));
|
2629
|
+
var l = this.clonePosition(), a = this.parseTagName();
|
2630
|
+
return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2626
2631
|
val: {
|
2627
|
-
type:
|
2632
|
+
type: E.tag,
|
2628
2633
|
value: i,
|
2629
2634
|
children: u,
|
2630
2635
|
location: g(n, this.clonePosition())
|
2631
2636
|
},
|
2632
2637
|
err: null
|
2633
|
-
} : this.error(p.INVALID_TAG, g(
|
2638
|
+
} : this.error(p.INVALID_TAG, g(s, this.clonePosition())));
|
2634
2639
|
} else
|
2635
2640
|
return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
|
2636
2641
|
} else
|
2637
2642
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2638
2643
|
}, e.prototype.parseTagName = function() {
|
2639
2644
|
var t = this.offset();
|
2640
|
-
for (this.bump(); !this.isEOF() &&
|
2645
|
+
for (this.bump(); !this.isEOF() && en(this.char()); )
|
2641
2646
|
this.bump();
|
2642
2647
|
return this.message.slice(t, this.offset());
|
2643
2648
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2652,21 +2657,21 @@ var Jr = (
|
|
2652
2657
|
i += u;
|
2653
2658
|
continue;
|
2654
2659
|
}
|
2655
|
-
var
|
2656
|
-
if (
|
2657
|
-
i +=
|
2660
|
+
var s = this.tryParseLeftAngleBracket();
|
2661
|
+
if (s) {
|
2662
|
+
i += s;
|
2658
2663
|
continue;
|
2659
2664
|
}
|
2660
2665
|
break;
|
2661
2666
|
}
|
2662
2667
|
var l = g(n, this.clonePosition());
|
2663
2668
|
return {
|
2664
|
-
val: { type:
|
2669
|
+
val: { type: E.literal, value: i, location: l },
|
2665
2670
|
err: null
|
2666
2671
|
};
|
2667
2672
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2668
2673
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2669
|
-
!
|
2674
|
+
!Kr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2670
2675
|
}, e.prototype.tryParseQuote = function(t) {
|
2671
2676
|
if (this.isEOF() || this.char() !== 39)
|
2672
2677
|
return null;
|
@@ -2700,12 +2705,12 @@ var Jr = (
|
|
2700
2705
|
r.push(n);
|
2701
2706
|
this.bump();
|
2702
2707
|
}
|
2703
|
-
return
|
2708
|
+
return we.apply(void 0, r);
|
2704
2709
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2705
2710
|
if (this.isEOF())
|
2706
2711
|
return null;
|
2707
2712
|
var n = this.char();
|
2708
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2713
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
|
2709
2714
|
}, e.prototype.parseArgument = function(t, r) {
|
2710
2715
|
var n = this.clonePosition();
|
2711
2716
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2721,7 +2726,7 @@ var Jr = (
|
|
2721
2726
|
case 125:
|
2722
2727
|
return this.bump(), {
|
2723
2728
|
val: {
|
2724
|
-
type:
|
2729
|
+
type: E.argument,
|
2725
2730
|
// value does not include the opening and closing braces.
|
2726
2731
|
value: i,
|
2727
2732
|
location: g(n, this.clonePosition())
|
@@ -2734,66 +2739,66 @@ var Jr = (
|
|
2734
2739
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
2735
2740
|
}
|
2736
2741
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2737
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2742
|
+
var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
|
2738
2743
|
this.bumpTo(i);
|
2739
2744
|
var o = this.clonePosition(), u = g(t, o);
|
2740
2745
|
return { value: n, location: u };
|
2741
2746
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2742
|
-
var o, u = this.clonePosition(),
|
2743
|
-
switch (
|
2747
|
+
var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
2748
|
+
switch (s) {
|
2744
2749
|
case "":
|
2745
2750
|
return this.error(p.EXPECT_ARGUMENT_TYPE, g(u, l));
|
2746
2751
|
case "number":
|
2747
2752
|
case "date":
|
2748
2753
|
case "time": {
|
2749
2754
|
this.bumpSpace();
|
2750
|
-
var
|
2755
|
+
var a = null;
|
2751
2756
|
if (this.bumpIf(",")) {
|
2752
2757
|
this.bumpSpace();
|
2753
|
-
var h = this.clonePosition(),
|
2754
|
-
if (
|
2755
|
-
return
|
2756
|
-
var
|
2757
|
-
if (
|
2758
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2759
|
+
if (f.err)
|
2760
|
+
return f;
|
2761
|
+
var c = Jr(f.val);
|
2762
|
+
if (c.length === 0)
|
2758
2763
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2759
2764
|
var b = g(h, this.clonePosition());
|
2760
|
-
|
2765
|
+
a = { style: c, styleLocation: b };
|
2761
2766
|
}
|
2762
2767
|
var y = this.tryParseArgumentClose(i);
|
2763
2768
|
if (y.err)
|
2764
2769
|
return y;
|
2765
|
-
var
|
2766
|
-
if (
|
2767
|
-
var
|
2768
|
-
if (
|
2769
|
-
var
|
2770
|
-
return
|
2771
|
-
val: { type:
|
2770
|
+
var m = g(i, this.clonePosition());
|
2771
|
+
if (a && We(a?.style, "::", 0)) {
|
2772
|
+
var v = qr(a.style.slice(2));
|
2773
|
+
if (s === "number") {
|
2774
|
+
var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
|
2775
|
+
return f.err ? f : {
|
2776
|
+
val: { type: E.number, value: n, location: m, style: f.val },
|
2772
2777
|
err: null
|
2773
2778
|
};
|
2774
2779
|
} else {
|
2775
|
-
if (
|
2776
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
2777
|
-
var
|
2778
|
-
this.locale && (
|
2779
|
-
var
|
2780
|
+
if (v.length === 0)
|
2781
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2782
|
+
var T = v;
|
2783
|
+
this.locale && (T = Rr(v, this.locale));
|
2784
|
+
var c = {
|
2780
2785
|
type: k.dateTime,
|
2781
|
-
pattern:
|
2782
|
-
location:
|
2783
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2784
|
-
},
|
2786
|
+
pattern: T,
|
2787
|
+
location: a.styleLocation,
|
2788
|
+
parsedOptions: this.shouldParseSkeletons ? wr(T) : {}
|
2789
|
+
}, B = s === "date" ? E.date : E.time;
|
2785
2790
|
return {
|
2786
|
-
val: { type:
|
2791
|
+
val: { type: B, value: n, location: m, style: c },
|
2787
2792
|
err: null
|
2788
2793
|
};
|
2789
2794
|
}
|
2790
2795
|
}
|
2791
2796
|
return {
|
2792
2797
|
val: {
|
2793
|
-
type:
|
2798
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
2794
2799
|
value: n,
|
2795
|
-
location:
|
2796
|
-
style: (o =
|
2800
|
+
location: m,
|
2801
|
+
style: (o = a?.style) !== null && o !== void 0 ? o : null
|
2797
2802
|
},
|
2798
2803
|
err: null
|
2799
2804
|
};
|
@@ -2801,43 +2806,43 @@ var Jr = (
|
|
2801
2806
|
case "plural":
|
2802
2807
|
case "selectordinal":
|
2803
2808
|
case "select": {
|
2804
|
-
var
|
2809
|
+
var P = this.clonePosition();
|
2805
2810
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2806
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(
|
2811
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, d({}, P)));
|
2807
2812
|
this.bumpSpace();
|
2808
|
-
var
|
2809
|
-
if (
|
2813
|
+
var N = this.parseIdentifierIfPossible(), S = 0;
|
2814
|
+
if (s !== "select" && N.value === "offset") {
|
2810
2815
|
if (!this.bumpIf(":"))
|
2811
2816
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
2812
2817
|
this.bumpSpace();
|
2813
|
-
var
|
2814
|
-
if (
|
2815
|
-
return
|
2816
|
-
this.bumpSpace(),
|
2818
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2819
|
+
if (f.err)
|
2820
|
+
return f;
|
2821
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = f.val;
|
2817
2822
|
}
|
2818
|
-
var w = this.tryParsePluralOrSelectOptions(t,
|
2823
|
+
var w = this.tryParsePluralOrSelectOptions(t, s, r, N);
|
2819
2824
|
if (w.err)
|
2820
2825
|
return w;
|
2821
2826
|
var y = this.tryParseArgumentClose(i);
|
2822
2827
|
if (y.err)
|
2823
2828
|
return y;
|
2824
|
-
var
|
2825
|
-
return
|
2829
|
+
var R = g(i, this.clonePosition());
|
2830
|
+
return s === "select" ? {
|
2826
2831
|
val: {
|
2827
|
-
type:
|
2832
|
+
type: E.select,
|
2828
2833
|
value: n,
|
2829
|
-
options:
|
2830
|
-
location:
|
2834
|
+
options: Qe(w.val),
|
2835
|
+
location: R
|
2831
2836
|
},
|
2832
2837
|
err: null
|
2833
2838
|
} : {
|
2834
2839
|
val: {
|
2835
|
-
type:
|
2840
|
+
type: E.plural,
|
2836
2841
|
value: n,
|
2837
|
-
options:
|
2838
|
-
offset:
|
2839
|
-
pluralType:
|
2840
|
-
location:
|
2842
|
+
options: Qe(w.val),
|
2843
|
+
offset: S,
|
2844
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
2845
|
+
location: R
|
2841
2846
|
},
|
2842
2847
|
err: null
|
2843
2848
|
};
|
@@ -2885,7 +2890,7 @@ var Jr = (
|
|
2885
2890
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2886
2891
|
var n = [];
|
2887
2892
|
try {
|
2888
|
-
n =
|
2893
|
+
n = Ir(t);
|
2889
2894
|
} catch {
|
2890
2895
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2891
2896
|
}
|
@@ -2894,55 +2899,55 @@ var Jr = (
|
|
2894
2899
|
type: k.number,
|
2895
2900
|
tokens: n,
|
2896
2901
|
location: r,
|
2897
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2902
|
+
parsedOptions: this.shouldParseSkeletons ? $r(n) : {}
|
2898
2903
|
},
|
2899
2904
|
err: null
|
2900
2905
|
};
|
2901
2906
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2902
|
-
for (var o, u = !1,
|
2903
|
-
if (
|
2904
|
-
var
|
2907
|
+
for (var o, u = !1, s = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
2908
|
+
if (a.length === 0) {
|
2909
|
+
var f = this.clonePosition();
|
2905
2910
|
if (r !== "select" && this.bumpIf("=")) {
|
2906
|
-
var
|
2907
|
-
if (
|
2908
|
-
return
|
2909
|
-
h = g(
|
2911
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2912
|
+
if (c.err)
|
2913
|
+
return c;
|
2914
|
+
h = g(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
|
2910
2915
|
} else
|
2911
2916
|
break;
|
2912
2917
|
}
|
2913
|
-
if (l.has(
|
2918
|
+
if (l.has(a))
|
2914
2919
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2915
|
-
|
2920
|
+
a === "other" && (u = !0), this.bumpSpace();
|
2916
2921
|
var b = this.clonePosition();
|
2917
2922
|
if (!this.bumpIf("{"))
|
2918
2923
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
2919
2924
|
var y = this.parseMessage(t + 1, r, n);
|
2920
2925
|
if (y.err)
|
2921
2926
|
return y;
|
2922
|
-
var
|
2923
|
-
if (
|
2924
|
-
return
|
2925
|
-
|
2926
|
-
|
2927
|
+
var m = this.tryParseArgumentClose(b);
|
2928
|
+
if (m.err)
|
2929
|
+
return m;
|
2930
|
+
s.push([
|
2931
|
+
a,
|
2927
2932
|
{
|
2928
2933
|
value: y.val,
|
2929
2934
|
location: g(b, this.clonePosition())
|
2930
2935
|
}
|
2931
|
-
]), l.add(
|
2936
|
+
]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
|
2932
2937
|
}
|
2933
|
-
return
|
2938
|
+
return s.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
2934
2939
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
2935
2940
|
var n = 1, i = this.clonePosition();
|
2936
2941
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
2937
2942
|
for (var o = !1, u = 0; !this.isEOF(); ) {
|
2938
|
-
var
|
2939
|
-
if (
|
2940
|
-
o = !0, u = u * 10 + (
|
2943
|
+
var s = this.char();
|
2944
|
+
if (s >= 48 && s <= 57)
|
2945
|
+
o = !0, u = u * 10 + (s - 48), this.bump();
|
2941
2946
|
else
|
2942
2947
|
break;
|
2943
2948
|
}
|
2944
2949
|
var l = g(i, this.clonePosition());
|
2945
|
-
return o ? (u *= n,
|
2950
|
+
return o ? (u *= n, Wr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
2946
2951
|
}, e.prototype.offset = function() {
|
2947
2952
|
return this.position.offset;
|
2948
2953
|
}, e.prototype.isEOF = function() {
|
@@ -2957,7 +2962,7 @@ var Jr = (
|
|
2957
2962
|
var t = this.position.offset;
|
2958
2963
|
if (t >= this.message.length)
|
2959
2964
|
throw Error("out of bound");
|
2960
|
-
var r =
|
2965
|
+
var r = Ht(this.message, t);
|
2961
2966
|
if (r === void 0)
|
2962
2967
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2963
2968
|
return r;
|
@@ -2976,7 +2981,7 @@ var Jr = (
|
|
2976
2981
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
2977
2982
|
}
|
2978
2983
|
}, e.prototype.bumpIf = function(t) {
|
2979
|
-
if (
|
2984
|
+
if (We(this.message, t, this.offset())) {
|
2980
2985
|
for (var r = 0; r < t.length; r++)
|
2981
2986
|
this.bump();
|
2982
2987
|
return !0;
|
@@ -2998,7 +3003,7 @@ var Jr = (
|
|
2998
3003
|
break;
|
2999
3004
|
}
|
3000
3005
|
}, e.prototype.bumpSpace = function() {
|
3001
|
-
for (; !this.isEOF() &&
|
3006
|
+
for (; !this.isEOF() && Pt(this.char()); )
|
3002
3007
|
this.bump();
|
3003
3008
|
}, e.prototype.peek = function() {
|
3004
3009
|
if (this.isEOF())
|
@@ -3008,46 +3013,46 @@ var Jr = (
|
|
3008
3013
|
}, e;
|
3009
3014
|
}()
|
3010
3015
|
);
|
3011
|
-
function
|
3016
|
+
function Ie(e) {
|
3012
3017
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3013
3018
|
}
|
3014
|
-
function Yr(e) {
|
3015
|
-
return Oe(e) || e === 47;
|
3016
|
-
}
|
3017
3019
|
function Kr(e) {
|
3020
|
+
return Ie(e) || e === 47;
|
3021
|
+
}
|
3022
|
+
function en(e) {
|
3018
3023
|
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;
|
3019
3024
|
}
|
3020
|
-
function
|
3025
|
+
function Pt(e) {
|
3021
3026
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3022
3027
|
}
|
3023
|
-
function
|
3028
|
+
function tn(e) {
|
3024
3029
|
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;
|
3025
3030
|
}
|
3026
|
-
function
|
3031
|
+
function Me(e) {
|
3027
3032
|
e.forEach(function(t) {
|
3028
|
-
if (delete t.location,
|
3033
|
+
if (delete t.location, gt(t) || dt(t))
|
3029
3034
|
for (var r in t.options)
|
3030
|
-
delete t.options[r].location,
|
3031
|
-
else
|
3035
|
+
delete t.options[r].location, Me(t.options[r].value);
|
3036
|
+
else ct(t) && xt(t.style) || (mt(t) || pt(t)) && Ae(t.style) ? delete t.style.location : bt(t) && Me(t.children);
|
3032
3037
|
});
|
3033
3038
|
}
|
3034
|
-
function
|
3039
|
+
function rn(e, t) {
|
3035
3040
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3036
|
-
var r = new
|
3041
|
+
var r = new Yr(e, t).parse();
|
3037
3042
|
if (r.err) {
|
3038
3043
|
var n = SyntaxError(p[r.err.kind]);
|
3039
3044
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3040
3045
|
}
|
3041
|
-
return t?.captureLocation ||
|
3046
|
+
return t?.captureLocation || Me(r.val), r.val;
|
3042
3047
|
}
|
3043
3048
|
var V;
|
3044
3049
|
(function(e) {
|
3045
3050
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3046
3051
|
})(V || (V = {}));
|
3047
|
-
var
|
3052
|
+
var ce = (
|
3048
3053
|
/** @class */
|
3049
3054
|
function(e) {
|
3050
|
-
|
3055
|
+
fe(t, e);
|
3051
3056
|
function t(r, n, i) {
|
3052
3057
|
var o = e.call(this, r) || this;
|
3053
3058
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3056,155 +3061,155 @@ var fe = (
|
|
3056
3061
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3057
3062
|
}, t;
|
3058
3063
|
}(Error)
|
3059
|
-
),
|
3064
|
+
), Je = (
|
3060
3065
|
/** @class */
|
3061
3066
|
function(e) {
|
3062
|
-
|
3067
|
+
fe(t, e);
|
3063
3068
|
function t(r, n, i, o) {
|
3064
3069
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
|
3065
3070
|
}
|
3066
3071
|
return t;
|
3067
|
-
}(
|
3068
|
-
),
|
3072
|
+
}(ce)
|
3073
|
+
), nn = (
|
3069
3074
|
/** @class */
|
3070
3075
|
function(e) {
|
3071
|
-
|
3076
|
+
fe(t, e);
|
3072
3077
|
function t(r, n, i) {
|
3073
3078
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
3074
3079
|
}
|
3075
3080
|
return t;
|
3076
|
-
}(
|
3077
|
-
),
|
3081
|
+
}(ce)
|
3082
|
+
), on = (
|
3078
3083
|
/** @class */
|
3079
3084
|
function(e) {
|
3080
|
-
|
3085
|
+
fe(t, e);
|
3081
3086
|
function t(r, n) {
|
3082
3087
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
3083
3088
|
}
|
3084
3089
|
return t;
|
3085
|
-
}(
|
3086
|
-
),
|
3090
|
+
}(ce)
|
3091
|
+
), H;
|
3087
3092
|
(function(e) {
|
3088
3093
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3089
|
-
})(
|
3090
|
-
function
|
3094
|
+
})(H || (H = {}));
|
3095
|
+
function an(e) {
|
3091
3096
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3092
3097
|
var n = t[t.length - 1];
|
3093
|
-
return !n || n.type !==
|
3098
|
+
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3094
3099
|
}, []);
|
3095
3100
|
}
|
3096
|
-
function
|
3101
|
+
function sn(e) {
|
3097
3102
|
return typeof e == "function";
|
3098
3103
|
}
|
3099
|
-
function
|
3100
|
-
if (e.length === 1 &&
|
3104
|
+
function ae(e, t, r, n, i, o, u) {
|
3105
|
+
if (e.length === 1 && Ve(e[0]))
|
3101
3106
|
return [
|
3102
3107
|
{
|
3103
|
-
type:
|
3108
|
+
type: H.literal,
|
3104
3109
|
value: e[0].value
|
3105
3110
|
}
|
3106
3111
|
];
|
3107
|
-
for (var
|
3108
|
-
var h =
|
3109
|
-
if (
|
3110
|
-
|
3111
|
-
type:
|
3112
|
+
for (var s = [], l = 0, a = e; l < a.length; l++) {
|
3113
|
+
var h = a[l];
|
3114
|
+
if (Ve(h)) {
|
3115
|
+
s.push({
|
3116
|
+
type: H.literal,
|
3112
3117
|
value: h.value
|
3113
3118
|
});
|
3114
3119
|
continue;
|
3115
3120
|
}
|
3116
3121
|
if (Ar(h)) {
|
3117
|
-
typeof o == "number" &&
|
3118
|
-
type:
|
3122
|
+
typeof o == "number" && s.push({
|
3123
|
+
type: H.literal,
|
3119
3124
|
value: r.getNumberFormat(t).format(o)
|
3120
3125
|
});
|
3121
3126
|
continue;
|
3122
3127
|
}
|
3123
|
-
var
|
3124
|
-
if (!(i &&
|
3125
|
-
throw new
|
3126
|
-
var
|
3128
|
+
var f = h.value;
|
3129
|
+
if (!(i && f in i))
|
3130
|
+
throw new on(f, u);
|
3131
|
+
var c = i[f];
|
3127
3132
|
if (Nr(h)) {
|
3128
|
-
(!
|
3129
|
-
type: typeof
|
3130
|
-
value:
|
3133
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
3134
|
+
type: typeof c == "string" ? H.literal : H.object,
|
3135
|
+
value: c
|
3131
3136
|
});
|
3132
3137
|
continue;
|
3133
3138
|
}
|
3134
|
-
if (
|
3139
|
+
if (mt(h)) {
|
3135
3140
|
var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
3136
|
-
|
3137
|
-
type:
|
3138
|
-
value: r.getDateTimeFormat(t, b).format(
|
3141
|
+
s.push({
|
3142
|
+
type: H.literal,
|
3143
|
+
value: r.getDateTimeFormat(t, b).format(c)
|
3139
3144
|
});
|
3140
3145
|
continue;
|
3141
3146
|
}
|
3142
|
-
if (
|
3147
|
+
if (pt(h)) {
|
3143
3148
|
var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
|
3144
|
-
|
3145
|
-
type:
|
3146
|
-
value: r.getDateTimeFormat(t, b).format(
|
3149
|
+
s.push({
|
3150
|
+
type: H.literal,
|
3151
|
+
value: r.getDateTimeFormat(t, b).format(c)
|
3147
3152
|
});
|
3148
3153
|
continue;
|
3149
3154
|
}
|
3150
|
-
if (
|
3151
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
3152
|
-
b && b.scale && (
|
3153
|
-
type:
|
3154
|
-
value: r.getNumberFormat(t, b).format(
|
3155
|
+
if (ct(h)) {
|
3156
|
+
var b = typeof h.style == "string" ? n.number[h.style] : xt(h.style) ? h.style.parsedOptions : void 0;
|
3157
|
+
b && b.scale && (c = c * (b.scale || 1)), s.push({
|
3158
|
+
type: H.literal,
|
3159
|
+
value: r.getNumberFormat(t, b).format(c)
|
3155
3160
|
});
|
3156
3161
|
continue;
|
3157
3162
|
}
|
3158
|
-
if (
|
3159
|
-
var y = h.children,
|
3160
|
-
if (!
|
3161
|
-
throw new
|
3162
|
-
var
|
3163
|
-
return
|
3163
|
+
if (bt(h)) {
|
3164
|
+
var y = h.children, m = h.value, v = i[m];
|
3165
|
+
if (!sn(v))
|
3166
|
+
throw new nn(m, "function", u);
|
3167
|
+
var T = ae(y, t, r, n, i, o), B = v(T.map(function(S) {
|
3168
|
+
return S.value;
|
3164
3169
|
}));
|
3165
|
-
Array.isArray(
|
3170
|
+
Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(S) {
|
3166
3171
|
return {
|
3167
|
-
type: typeof
|
3168
|
-
value:
|
3172
|
+
type: typeof S == "string" ? H.literal : H.object,
|
3173
|
+
value: S
|
3169
3174
|
};
|
3170
3175
|
}));
|
3171
3176
|
}
|
3172
|
-
if (
|
3173
|
-
var
|
3174
|
-
if (!
|
3175
|
-
throw new
|
3176
|
-
|
3177
|
+
if (gt(h)) {
|
3178
|
+
var P = h.options[c] || h.options.other;
|
3179
|
+
if (!P)
|
3180
|
+
throw new Je(h.value, c, Object.keys(h.options), u);
|
3181
|
+
s.push.apply(s, ae(P.value, t, r, n, i));
|
3177
3182
|
continue;
|
3178
3183
|
}
|
3179
|
-
if (
|
3180
|
-
var
|
3181
|
-
if (!
|
3184
|
+
if (dt(h)) {
|
3185
|
+
var P = h.options["=".concat(c)];
|
3186
|
+
if (!P) {
|
3182
3187
|
if (!Intl.PluralRules)
|
3183
|
-
throw new
|
3188
|
+
throw new ce(`Intl.PluralRules is not available in this environment.
|
3184
3189
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3185
3190
|
`, V.MISSING_INTL_API, u);
|
3186
|
-
var
|
3187
|
-
|
3191
|
+
var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
3192
|
+
P = h.options[N] || h.options.other;
|
3188
3193
|
}
|
3189
|
-
if (!
|
3190
|
-
throw new
|
3191
|
-
|
3194
|
+
if (!P)
|
3195
|
+
throw new Je(h.value, c, Object.keys(h.options), u);
|
3196
|
+
s.push.apply(s, ae(P.value, t, r, n, i, c - (h.offset || 0)));
|
3192
3197
|
continue;
|
3193
3198
|
}
|
3194
3199
|
}
|
3195
|
-
return
|
3200
|
+
return an(s);
|
3196
3201
|
}
|
3197
|
-
function
|
3202
|
+
function un(e, t) {
|
3198
3203
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3199
3204
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3200
3205
|
}, {})) : e;
|
3201
3206
|
}
|
3202
|
-
function
|
3207
|
+
function hn(e, t) {
|
3203
3208
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3204
|
-
return r[n] =
|
3209
|
+
return r[n] = un(e[n], t[n]), r;
|
3205
3210
|
}, d({}, e)) : e;
|
3206
3211
|
}
|
3207
|
-
function
|
3212
|
+
function _e(e) {
|
3208
3213
|
return {
|
3209
3214
|
create: function() {
|
3210
3215
|
return {
|
@@ -3218,39 +3223,39 @@ function Ee(e) {
|
|
3218
3223
|
}
|
3219
3224
|
};
|
3220
3225
|
}
|
3221
|
-
function
|
3226
|
+
function ln(e) {
|
3222
3227
|
return e === void 0 && (e = {
|
3223
3228
|
number: {},
|
3224
3229
|
dateTime: {},
|
3225
3230
|
pluralRules: {}
|
3226
3231
|
}), {
|
3227
|
-
getNumberFormat:
|
3232
|
+
getNumberFormat: ye(function() {
|
3228
3233
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3229
3234
|
r[n] = arguments[n];
|
3230
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3235
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3231
3236
|
}, {
|
3232
|
-
cache:
|
3233
|
-
strategy:
|
3237
|
+
cache: _e(e.number),
|
3238
|
+
strategy: Ee.variadic
|
3234
3239
|
}),
|
3235
|
-
getDateTimeFormat:
|
3240
|
+
getDateTimeFormat: ye(function() {
|
3236
3241
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3237
3242
|
r[n] = arguments[n];
|
3238
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3243
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
|
3239
3244
|
}, {
|
3240
|
-
cache:
|
3241
|
-
strategy:
|
3245
|
+
cache: _e(e.dateTime),
|
3246
|
+
strategy: Ee.variadic
|
3242
3247
|
}),
|
3243
|
-
getPluralRules:
|
3248
|
+
getPluralRules: ye(function() {
|
3244
3249
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3245
3250
|
r[n] = arguments[n];
|
3246
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3251
|
+
return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
|
3247
3252
|
}, {
|
3248
|
-
cache:
|
3249
|
-
strategy:
|
3253
|
+
cache: _e(e.pluralRules),
|
3254
|
+
strategy: Ee.variadic
|
3250
3255
|
})
|
3251
3256
|
};
|
3252
3257
|
}
|
3253
|
-
var
|
3258
|
+
var fn = (
|
3254
3259
|
/** @class */
|
3255
3260
|
function() {
|
3256
3261
|
function e(t, r, n, i) {
|
@@ -3261,15 +3266,15 @@ var ln = (
|
|
3261
3266
|
dateTime: {},
|
3262
3267
|
pluralRules: {}
|
3263
3268
|
}, this.format = function(l) {
|
3264
|
-
var
|
3265
|
-
if (
|
3266
|
-
return
|
3267
|
-
var h =
|
3268
|
-
return !
|
3269
|
+
var a = o.formatToParts(l);
|
3270
|
+
if (a.length === 1)
|
3271
|
+
return a[0].value;
|
3272
|
+
var h = a.reduce(function(f, c) {
|
3273
|
+
return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
3269
3274
|
}, []);
|
3270
3275
|
return h.length <= 1 ? h[0] || "" : h;
|
3271
3276
|
}, this.formatToParts = function(l) {
|
3272
|
-
return
|
3277
|
+
return ae(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
3273
3278
|
}, this.resolvedOptions = function() {
|
3274
3279
|
var l;
|
3275
3280
|
return {
|
@@ -3282,13 +3287,13 @@ var ln = (
|
|
3282
3287
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3283
3288
|
var u = i || {};
|
3284
3289
|
u.formatters;
|
3285
|
-
var
|
3286
|
-
this.ast = e.__parse(t, d(d({},
|
3290
|
+
var s = yr(u, ["formatters"]);
|
3291
|
+
this.ast = e.__parse(t, d(d({}, s), { locale: this.resolvedLocale }));
|
3287
3292
|
} else
|
3288
3293
|
this.ast = t;
|
3289
3294
|
if (!Array.isArray(this.ast))
|
3290
3295
|
throw new TypeError("A message must be provided as a String or AST.");
|
3291
|
-
this.formats =
|
3296
|
+
this.formats = hn(e.formats, n), this.formatters = i && i.formatters || ln(this.formatterCache);
|
3292
3297
|
}
|
3293
3298
|
return Object.defineProperty(e, "defaultLocale", {
|
3294
3299
|
get: function() {
|
@@ -3301,7 +3306,7 @@ var ln = (
|
|
3301
3306
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3302
3307
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3303
3308
|
}
|
3304
|
-
}, e.__parse =
|
3309
|
+
}, e.__parse = rn, e.formats = {
|
3305
3310
|
number: {
|
3306
3311
|
integer: {
|
3307
3312
|
maximumFractionDigits: 0
|
@@ -3362,7 +3367,7 @@ var ln = (
|
|
3362
3367
|
}, e;
|
3363
3368
|
}()
|
3364
3369
|
);
|
3365
|
-
function
|
3370
|
+
function cn(e, t) {
|
3366
3371
|
if (t == null)
|
3367
3372
|
return;
|
3368
3373
|
if (t in e)
|
@@ -3383,92 +3388,92 @@ function fn(e, t) {
|
|
3383
3388
|
n = void 0;
|
3384
3389
|
return n;
|
3385
3390
|
}
|
3386
|
-
const I = {},
|
3391
|
+
const I = {}, mn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), St = (e, t) => {
|
3387
3392
|
if (t == null)
|
3388
3393
|
return;
|
3389
3394
|
if (t in I && e in I[t])
|
3390
3395
|
return I[t][e];
|
3391
|
-
const r =
|
3396
|
+
const r = me(t);
|
3392
3397
|
for (let n = 0; n < r.length; n++) {
|
3393
|
-
const i = r[n], o =
|
3398
|
+
const i = r[n], o = gn(i, e);
|
3394
3399
|
if (o)
|
3395
|
-
return
|
3400
|
+
return mn(e, t, o);
|
3396
3401
|
}
|
3397
3402
|
};
|
3398
|
-
let
|
3399
|
-
const
|
3400
|
-
function
|
3401
|
-
return
|
3403
|
+
let Fe;
|
3404
|
+
const re = le({});
|
3405
|
+
function pn(e) {
|
3406
|
+
return Fe[e] || null;
|
3402
3407
|
}
|
3403
|
-
function
|
3404
|
-
return e in
|
3408
|
+
function Nt(e) {
|
3409
|
+
return e in Fe;
|
3405
3410
|
}
|
3406
|
-
function
|
3407
|
-
if (!
|
3411
|
+
function gn(e, t) {
|
3412
|
+
if (!Nt(e))
|
3408
3413
|
return null;
|
3409
|
-
const r =
|
3410
|
-
return
|
3414
|
+
const r = pn(e);
|
3415
|
+
return cn(r, t);
|
3411
3416
|
}
|
3412
|
-
function
|
3417
|
+
function dn(e) {
|
3413
3418
|
if (e == null)
|
3414
3419
|
return;
|
3415
|
-
const t =
|
3420
|
+
const t = me(e);
|
3416
3421
|
for (let r = 0; r < t.length; r++) {
|
3417
3422
|
const n = t[r];
|
3418
|
-
if (
|
3423
|
+
if (Nt(n))
|
3419
3424
|
return n;
|
3420
3425
|
}
|
3421
3426
|
}
|
3422
|
-
function
|
3423
|
-
delete I[e],
|
3427
|
+
function At(e, ...t) {
|
3428
|
+
delete I[e], re.update((r) => (r[e] = xr.all([r[e] || {}, ...t]), r));
|
3424
3429
|
}
|
3425
3430
|
z(
|
3426
|
-
[
|
3431
|
+
[re],
|
3427
3432
|
([e]) => Object.keys(e)
|
3428
3433
|
);
|
3429
|
-
|
3430
|
-
const
|
3431
|
-
function
|
3432
|
-
|
3434
|
+
re.subscribe((e) => Fe = e);
|
3435
|
+
const se = {};
|
3436
|
+
function bn(e, t) {
|
3437
|
+
se[e].delete(t), se[e].size === 0 && delete se[e];
|
3433
3438
|
}
|
3434
|
-
function
|
3435
|
-
return
|
3439
|
+
function Bt(e) {
|
3440
|
+
return se[e];
|
3436
3441
|
}
|
3437
|
-
function
|
3438
|
-
return
|
3439
|
-
const r =
|
3442
|
+
function xn(e) {
|
3443
|
+
return me(e).map((t) => {
|
3444
|
+
const r = Bt(t);
|
3440
3445
|
return [t, r ? [...r] : []];
|
3441
3446
|
}).filter(([, t]) => t.length > 0);
|
3442
3447
|
}
|
3443
|
-
function
|
3444
|
-
return e == null ? !1 :
|
3448
|
+
function Le(e) {
|
3449
|
+
return e == null ? !1 : me(e).some(
|
3445
3450
|
(t) => {
|
3446
3451
|
var r;
|
3447
|
-
return (r =
|
3452
|
+
return (r = Bt(t)) == null ? void 0 : r.size;
|
3448
3453
|
}
|
3449
3454
|
);
|
3450
3455
|
}
|
3451
|
-
function
|
3456
|
+
function yn(e, t) {
|
3452
3457
|
return Promise.all(
|
3453
|
-
t.map((n) => (
|
3454
|
-
).then((n) =>
|
3458
|
+
t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
|
3459
|
+
).then((n) => At(e, ...n));
|
3455
3460
|
}
|
3456
3461
|
const q = {};
|
3457
|
-
function
|
3458
|
-
if (!
|
3462
|
+
function wt(e) {
|
3463
|
+
if (!Le(e))
|
3459
3464
|
return e in q ? q[e] : Promise.resolve();
|
3460
|
-
const t =
|
3465
|
+
const t = xn(e);
|
3461
3466
|
return q[e] = Promise.all(
|
3462
3467
|
t.map(
|
3463
|
-
([r, n]) =>
|
3468
|
+
([r, n]) => yn(r, n)
|
3464
3469
|
)
|
3465
3470
|
).then(() => {
|
3466
|
-
if (
|
3467
|
-
return
|
3471
|
+
if (Le(e))
|
3472
|
+
return wt(e);
|
3468
3473
|
delete q[e];
|
3469
3474
|
}), q[e];
|
3470
3475
|
}
|
3471
|
-
const
|
3476
|
+
const En = {
|
3472
3477
|
number: {
|
3473
3478
|
scientific: { notation: "scientific" },
|
3474
3479
|
engineering: { notation: "engineering" },
|
@@ -3500,139 +3505,139 @@ const yn = {
|
|
3500
3505
|
}, vn = {
|
3501
3506
|
fallbackLocale: null,
|
3502
3507
|
loadingDelay: 200,
|
3503
|
-
formats:
|
3508
|
+
formats: En,
|
3504
3509
|
warnOnMissingMessages: !0,
|
3505
3510
|
handleMissingMessage: void 0,
|
3506
3511
|
ignoreTag: !0
|
3507
|
-
},
|
3512
|
+
}, _n = vn;
|
3508
3513
|
function X() {
|
3509
|
-
return
|
3514
|
+
return _n;
|
3510
3515
|
}
|
3511
|
-
const
|
3512
|
-
var
|
3516
|
+
const He = le(!1);
|
3517
|
+
var Hn = Object.defineProperty, Tn = Object.defineProperties, Pn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
3513
3518
|
for (var r in t || (t = {}))
|
3514
|
-
|
3515
|
-
if (
|
3516
|
-
for (var r of
|
3517
|
-
Nn.call(t, r) &&
|
3519
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
3520
|
+
if (Ye)
|
3521
|
+
for (var r of Ye(t))
|
3522
|
+
Nn.call(t, r) && Ke(e, r, t[r]);
|
3518
3523
|
return e;
|
3519
|
-
},
|
3520
|
-
let
|
3521
|
-
const
|
3522
|
-
function
|
3524
|
+
}, Bn = (e, t) => Tn(e, Pn(t));
|
3525
|
+
let Ce;
|
3526
|
+
const ue = le(null);
|
3527
|
+
function et(e) {
|
3523
3528
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3524
3529
|
}
|
3525
|
-
function
|
3526
|
-
const r =
|
3527
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3530
|
+
function me(e, t = X().fallbackLocale) {
|
3531
|
+
const r = et(e);
|
3532
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
3528
3533
|
}
|
3529
|
-
function
|
3530
|
-
return
|
3534
|
+
function $() {
|
3535
|
+
return Ce ?? void 0;
|
3531
3536
|
}
|
3532
|
-
|
3533
|
-
|
3537
|
+
ue.subscribe((e) => {
|
3538
|
+
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3534
3539
|
});
|
3535
|
-
const
|
3536
|
-
if (e &&
|
3540
|
+
const wn = (e) => {
|
3541
|
+
if (e && dn(e) && Le(e)) {
|
3537
3542
|
const { loadingDelay: t } = X();
|
3538
3543
|
let r;
|
3539
|
-
return typeof window < "u" &&
|
3540
|
-
() =>
|
3544
|
+
return typeof window < "u" && $() != null && t ? r = window.setTimeout(
|
3545
|
+
() => He.set(!0),
|
3541
3546
|
t
|
3542
|
-
) :
|
3543
|
-
|
3547
|
+
) : He.set(!0), wt(e).then(() => {
|
3548
|
+
ue.set(e);
|
3544
3549
|
}).finally(() => {
|
3545
|
-
clearTimeout(r),
|
3550
|
+
clearTimeout(r), He.set(!1);
|
3546
3551
|
});
|
3547
3552
|
}
|
3548
|
-
return
|
3549
|
-
}, Z =
|
3550
|
-
set:
|
3551
|
-
}),
|
3553
|
+
return ue.set(e);
|
3554
|
+
}, Z = Bn(An({}, ue), {
|
3555
|
+
set: wn
|
3556
|
+
}), pe = (e) => {
|
3552
3557
|
const t = /* @__PURE__ */ Object.create(null);
|
3553
3558
|
return (n) => {
|
3554
3559
|
const i = JSON.stringify(n);
|
3555
3560
|
return i in t ? t[i] : t[i] = e(n);
|
3556
3561
|
};
|
3557
3562
|
};
|
3558
|
-
var
|
3563
|
+
var On = Object.defineProperty, he = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
3559
3564
|
for (var r in t || (t = {}))
|
3560
|
-
|
3561
|
-
if (
|
3562
|
-
for (var r of
|
3563
|
-
|
3565
|
+
Ot.call(t, r) && tt(e, r, t[r]);
|
3566
|
+
if (he)
|
3567
|
+
for (var r of he(t))
|
3568
|
+
It.call(t, r) && tt(e, r, t[r]);
|
3564
3569
|
return e;
|
3565
3570
|
}, W = (e, t) => {
|
3566
3571
|
var r = {};
|
3567
3572
|
for (var n in e)
|
3568
|
-
|
3569
|
-
if (e != null &&
|
3570
|
-
for (var n of
|
3571
|
-
t.indexOf(n) < 0 &&
|
3573
|
+
Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3574
|
+
if (e != null && he)
|
3575
|
+
for (var n of he(e))
|
3576
|
+
t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
|
3572
3577
|
return r;
|
3573
3578
|
};
|
3574
|
-
const
|
3579
|
+
const ee = (e, t) => {
|
3575
3580
|
const { formats: r } = X();
|
3576
3581
|
if (e in r && t in r[e])
|
3577
3582
|
return r[e][t];
|
3578
3583
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3579
|
-
},
|
3584
|
+
}, In = pe(
|
3580
3585
|
(e) => {
|
3581
3586
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3582
3587
|
if (r == null)
|
3583
3588
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3584
|
-
return n && (i =
|
3589
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
3585
3590
|
}
|
3586
|
-
),
|
3591
|
+
), Mn = pe(
|
3587
3592
|
(e) => {
|
3588
3593
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3589
3594
|
if (r == null)
|
3590
3595
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3591
|
-
return n ? i =
|
3596
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
3592
3597
|
}
|
3593
|
-
),
|
3598
|
+
), Ln = pe(
|
3594
3599
|
(e) => {
|
3595
3600
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3596
3601
|
if (r == null)
|
3597
3602
|
throw new Error(
|
3598
3603
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3599
3604
|
);
|
3600
|
-
return n ? i =
|
3605
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
3601
3606
|
}
|
3602
|
-
),
|
3607
|
+
), Cn = (e = {}) => {
|
3603
3608
|
var t = e, {
|
3604
|
-
locale: r =
|
3609
|
+
locale: r = $()
|
3605
3610
|
} = t, n = W(t, [
|
3606
3611
|
"locale"
|
3607
3612
|
]);
|
3608
|
-
return
|
3609
|
-
},
|
3613
|
+
return In(Ge({ locale: r }, n));
|
3614
|
+
}, $n = (e = {}) => {
|
3610
3615
|
var t = e, {
|
3611
|
-
locale: r =
|
3616
|
+
locale: r = $()
|
3612
3617
|
} = t, n = W(t, [
|
3613
3618
|
"locale"
|
3614
3619
|
]);
|
3615
|
-
return
|
3616
|
-
},
|
3620
|
+
return Mn(Ge({ locale: r }, n));
|
3621
|
+
}, Rn = (e = {}) => {
|
3617
3622
|
var t = e, {
|
3618
|
-
locale: r =
|
3623
|
+
locale: r = $()
|
3619
3624
|
} = t, n = W(t, [
|
3620
3625
|
"locale"
|
3621
3626
|
]);
|
3622
|
-
return
|
3623
|
-
},
|
3627
|
+
return Ln(Ge({ locale: r }, n));
|
3628
|
+
}, Fn = pe(
|
3624
3629
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3625
|
-
(e, t =
|
3630
|
+
(e, t = $()) => new fn(e, t, X().formats, {
|
3626
3631
|
ignoreTag: X().ignoreTag
|
3627
3632
|
})
|
3628
|
-
),
|
3633
|
+
), Gn = (e, t = {}) => {
|
3629
3634
|
var r, n, i, o;
|
3630
3635
|
let u = t;
|
3631
3636
|
typeof e == "object" && (u = e, e = u.id);
|
3632
3637
|
const {
|
3633
|
-
values:
|
3634
|
-
locale: l =
|
3635
|
-
default:
|
3638
|
+
values: s,
|
3639
|
+
locale: l = $(),
|
3640
|
+
default: a
|
3636
3641
|
} = u;
|
3637
3642
|
if (l == null)
|
3638
3643
|
throw new Error(
|
@@ -3640,35 +3645,35 @@ const K = (e, t) => {
|
|
3640
3645
|
);
|
3641
3646
|
let h = St(e, l);
|
3642
3647
|
if (!h)
|
3643
|
-
h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue:
|
3648
|
+
h = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
|
3644
3649
|
else if (typeof h != "string")
|
3645
3650
|
return console.warn(
|
3646
3651
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3647
3652
|
), h;
|
3648
|
-
if (!
|
3653
|
+
if (!s)
|
3649
3654
|
return h;
|
3650
|
-
let
|
3655
|
+
let f = h;
|
3651
3656
|
try {
|
3652
|
-
|
3653
|
-
} catch (
|
3654
|
-
|
3657
|
+
f = Fn(h, l).format(s);
|
3658
|
+
} catch (c) {
|
3659
|
+
c instanceof Error && console.warn(
|
3655
3660
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
3656
|
-
|
3661
|
+
c.message
|
3657
3662
|
);
|
3658
3663
|
}
|
3659
|
-
return
|
3660
|
-
},
|
3661
|
-
z([Z], () => Gn);
|
3664
|
+
return f;
|
3665
|
+
}, Dn = (e, t) => Rn(t).format(e), Un = (e, t) => $n(t).format(e), jn = (e, t) => Cn(t).format(e), kn = (e, t = $()) => St(e, t), Vn = z([Z, re], () => Gn);
|
3662
3666
|
z([Z], () => Dn);
|
3663
3667
|
z([Z], () => Un);
|
3664
|
-
z([Z
|
3665
|
-
|
3666
|
-
|
3668
|
+
z([Z], () => jn);
|
3669
|
+
z([Z, re], () => kn);
|
3670
|
+
function rt(e, t) {
|
3671
|
+
At(e, t);
|
3667
3672
|
}
|
3668
|
-
function
|
3673
|
+
function Xn(e) {
|
3669
3674
|
Z.set(e);
|
3670
3675
|
}
|
3671
|
-
const
|
3676
|
+
const nt = {
|
3672
3677
|
en: {
|
3673
3678
|
pageNotFound: "Page not found",
|
3674
3679
|
pageNotFoundMessage: "The page you were looking for could not be found. Please go back to our Homepage.",
|
@@ -3760,150 +3765,172 @@ const ot = {
|
|
3760
3765
|
home: "Go to homepage"
|
3761
3766
|
}
|
3762
3767
|
};
|
3763
|
-
function
|
3764
|
-
|
3768
|
+
function zn(e, t) {
|
3769
|
+
if (e) {
|
3770
|
+
const r = document.createElement("style");
|
3771
|
+
r.innerHTML = t, e.appendChild(r);
|
3772
|
+
}
|
3773
|
+
}
|
3774
|
+
function Zn(e, t) {
|
3775
|
+
const r = new URL(t);
|
3776
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
3777
|
+
const i = document.createElement("style");
|
3778
|
+
i.innerHTML = n, e && e.appendChild(i);
|
3779
|
+
}).catch((n) => {
|
3780
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
3781
|
+
});
|
3765
3782
|
}
|
3766
|
-
function
|
3767
|
-
|
3783
|
+
function Wn(e, t, r) {
|
3784
|
+
if (window.emMessageBus) {
|
3785
|
+
const n = document.createElement("style");
|
3786
|
+
window.emMessageBus.subscribe(t, (i) => {
|
3787
|
+
n.innerHTML = i, e && e.appendChild(n);
|
3788
|
+
});
|
3789
|
+
}
|
3790
|
+
}
|
3791
|
+
function Qn(e) {
|
3792
|
+
Ct(e, "svelte-fokx9n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
|
3793
|
+
}
|
3794
|
+
function qn(e) {
|
3795
|
+
let t, r, n, i, o, u, s, l, a, h, f, c, b = (
|
3768
3796
|
/*$_*/
|
3769
3797
|
e[1]("pageNotFound") + ""
|
3770
|
-
), y,
|
3798
|
+
), y, m, v, T = (
|
3771
3799
|
/*$_*/
|
3772
3800
|
e[1]("pageNotFoundMessage") + ""
|
3773
|
-
),
|
3801
|
+
), B, P, N, S = (
|
3774
3802
|
/*$_*/
|
3775
3803
|
e[1]("home") + ""
|
3776
|
-
), w,
|
3804
|
+
), w, R, De;
|
3777
3805
|
return {
|
3778
3806
|
c() {
|
3779
|
-
t = L("div"), r = L("div"), n = O("svg"), i = O("g"), o = O("path"), u = O("path"),
|
3807
|
+
t = L("div"), r = L("div"), n = O("svg"), i = O("g"), o = O("path"), u = O("path"), s = O("path"), l = O("path"), a = O("path"), h = O("path"), f = ge(), c = L("p"), y = ie(b), m = ge(), v = L("p"), B = ie(T), P = ge(), N = L("button"), w = ie(S), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(u, "class", "a"), x(u, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(u, "transform", "translate(-433.716 -446.252)"), x(s, "class", "a"), x(s, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(s, "transform", "translate(-200.173 -446.452)"), x(l, "class", "a"), x(l, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(a, "class", "a"), x(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(a, "transform", "translate(-116.772 -116.794)"), x(h, "class", "a"), x(h, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(h, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(c, "class", "PageTitle"), x(v, "class", "PageContent"), x(N, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
|
3780
3808
|
},
|
3781
3809
|
m(M, Q) {
|
3782
|
-
|
3783
|
-
|
3810
|
+
st(M, t, Q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, u), _(i, s), _(i, l), _(i, a), _(i, h), _(r, f), _(r, c), _(c, y), _(r, m), _(r, v), _(v, B), _(r, P), _(r, N), _(N, w), e[9](t), R || (De = Ft(
|
3811
|
+
N,
|
3784
3812
|
"click",
|
3785
3813
|
/*click_handler*/
|
3786
|
-
e[
|
3787
|
-
),
|
3814
|
+
e[8]
|
3815
|
+
), R = !0);
|
3788
3816
|
},
|
3789
3817
|
p(M, [Q]) {
|
3790
3818
|
Q & /*$_*/
|
3791
3819
|
2 && b !== (b = /*$_*/
|
3792
|
-
M[1]("pageNotFound") + "") &&
|
3793
|
-
2 &&
|
3794
|
-
M[1]("pageNotFoundMessage") + "") &&
|
3795
|
-
2 &&
|
3796
|
-
M[1]("home") + "") &&
|
3820
|
+
M[1]("pageNotFound") + "") && de(y, b), Q & /*$_*/
|
3821
|
+
2 && T !== (T = /*$_*/
|
3822
|
+
M[1]("pageNotFoundMessage") + "") && de(B, T), Q & /*$_*/
|
3823
|
+
2 && S !== (S = /*$_*/
|
3824
|
+
M[1]("home") + "") && de(w, S);
|
3797
3825
|
},
|
3798
|
-
i:
|
3799
|
-
o:
|
3826
|
+
i: A,
|
3827
|
+
o: A,
|
3800
3828
|
d(M) {
|
3801
|
-
M &&
|
3829
|
+
M && Re(t), e[9](null), R = !1, De();
|
3802
3830
|
}
|
3803
3831
|
};
|
3804
3832
|
}
|
3805
|
-
function
|
3833
|
+
function Jn(e, t, r) {
|
3806
3834
|
let n;
|
3807
|
-
|
3808
|
-
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl:
|
3809
|
-
const
|
3810
|
-
fetch(
|
3811
|
-
Object.keys(
|
3812
|
-
|
3835
|
+
Lt(e, Vn, (m) => r(1, n = m));
|
3836
|
+
let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: s = "" } = t, { mbsource: l } = t, a;
|
3837
|
+
const h = () => {
|
3838
|
+
fetch(s).then((v) => v.json()).then((v) => {
|
3839
|
+
Object.keys(v).forEach((T) => {
|
3840
|
+
rt(T, v[T]);
|
3813
3841
|
});
|
3814
|
-
}).catch((
|
3815
|
-
console.log(
|
3842
|
+
}).catch((v) => {
|
3843
|
+
console.log(v);
|
3816
3844
|
});
|
3817
3845
|
};
|
3818
|
-
Object.keys(
|
3819
|
-
|
3846
|
+
Object.keys(nt).forEach((m) => {
|
3847
|
+
rt(m, nt[m]);
|
3820
3848
|
});
|
3821
|
-
const
|
3849
|
+
const f = () => {
|
3822
3850
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
3823
3851
|
}, c = () => {
|
3824
|
-
|
3825
|
-
}
|
3826
|
-
|
3827
|
-
|
3828
|
-
|
3829
|
-
|
3830
|
-
|
3831
|
-
|
3832
|
-
() => {
|
3833
|
-
l.appendChild(E);
|
3834
|
-
},
|
3835
|
-
1
|
3836
|
-
);
|
3837
|
-
});
|
3838
|
-
}, y = () => h();
|
3839
|
-
function _(m) {
|
3840
|
-
He[m ? "unshift" : "push"](() => {
|
3841
|
-
l = m, r(0, l);
|
3852
|
+
Xn(i);
|
3853
|
+
};
|
3854
|
+
jt(() => () => {
|
3855
|
+
});
|
3856
|
+
const b = () => f();
|
3857
|
+
function y(m) {
|
3858
|
+
Te[m ? "unshift" : "push"](() => {
|
3859
|
+
a = m, r(0, a);
|
3842
3860
|
});
|
3843
3861
|
}
|
3844
3862
|
return e.$$set = (m) => {
|
3845
|
-
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6,
|
3863
|
+
"lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, s = m.translationurl), "mbsource" in m && r(7, l = m.mbsource);
|
3846
3864
|
}, e.$$.update = () => {
|
3847
3865
|
e.$$.dirty & /*lang*/
|
3848
|
-
8 && i && c(), e.$$.dirty & /*
|
3849
|
-
|
3850
|
-
|
3851
|
-
|
3866
|
+
8 && i && c(), e.$$.dirty & /*translationurl*/
|
3867
|
+
64 && s && h(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3868
|
+
17 && o && a && zn(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3869
|
+
33 && u && a && Zn(a, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
3870
|
+
129 && l && a && Wn(a, `${l}.Style`);
|
3852
3871
|
}, [
|
3853
|
-
|
3872
|
+
a,
|
3854
3873
|
n,
|
3855
|
-
|
3874
|
+
f,
|
3856
3875
|
i,
|
3857
3876
|
o,
|
3858
3877
|
u,
|
3859
|
-
|
3860
|
-
|
3861
|
-
|
3878
|
+
s,
|
3879
|
+
l,
|
3880
|
+
b,
|
3881
|
+
y
|
3862
3882
|
];
|
3863
3883
|
}
|
3864
|
-
class
|
3884
|
+
class Yn extends er {
|
3865
3885
|
constructor(t) {
|
3866
3886
|
super(), Yt(
|
3867
3887
|
this,
|
3868
3888
|
t,
|
3869
|
-
|
3870
|
-
|
3871
|
-
|
3889
|
+
Jn,
|
3890
|
+
qn,
|
3891
|
+
ot,
|
3872
3892
|
{
|
3873
3893
|
lang: 3,
|
3874
3894
|
clientstyling: 4,
|
3875
3895
|
clientstylingurl: 5,
|
3876
|
-
translationurl: 6
|
3896
|
+
translationurl: 6,
|
3897
|
+
mbsource: 7
|
3877
3898
|
},
|
3878
|
-
|
3899
|
+
Qn
|
3879
3900
|
);
|
3880
3901
|
}
|
3881
3902
|
get lang() {
|
3882
3903
|
return this.$$.ctx[3];
|
3883
3904
|
}
|
3884
3905
|
set lang(t) {
|
3885
|
-
this.$$set({ lang: t }),
|
3906
|
+
this.$$set({ lang: t }), C();
|
3886
3907
|
}
|
3887
3908
|
get clientstyling() {
|
3888
3909
|
return this.$$.ctx[4];
|
3889
3910
|
}
|
3890
3911
|
set clientstyling(t) {
|
3891
|
-
this.$$set({ clientstyling: t }),
|
3912
|
+
this.$$set({ clientstyling: t }), C();
|
3892
3913
|
}
|
3893
3914
|
get clientstylingurl() {
|
3894
3915
|
return this.$$.ctx[5];
|
3895
3916
|
}
|
3896
3917
|
set clientstylingurl(t) {
|
3897
|
-
this.$$set({ clientstylingurl: t }),
|
3918
|
+
this.$$set({ clientstylingurl: t }), C();
|
3898
3919
|
}
|
3899
3920
|
get translationurl() {
|
3900
3921
|
return this.$$.ctx[6];
|
3901
3922
|
}
|
3902
3923
|
set translationurl(t) {
|
3903
|
-
this.$$set({ translationurl: t }),
|
3924
|
+
this.$$set({ translationurl: t }), C();
|
3925
|
+
}
|
3926
|
+
get mbsource() {
|
3927
|
+
return this.$$.ctx[7];
|
3928
|
+
}
|
3929
|
+
set mbsource(t) {
|
3930
|
+
this.$$set({ mbsource: t }), C();
|
3904
3931
|
}
|
3905
3932
|
}
|
3906
|
-
Kt(
|
3933
|
+
Kt(Yn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
3907
3934
|
export {
|
3908
|
-
|
3935
|
+
Yn as C
|
3909
3936
|
};
|