@everymatrix/casino-403 1.54.11 → 1.55.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/{Casino403-GcqBU6My.js → Casino403-DJGq5-eq.js} +344 -342
- package/components/Casino403-DRqaOHTH.cjs +3 -0
- package/components/{Casino403-Bzcam7OJ.js → Casino403-k0y6zIsX.js} +359 -357
- package/es2015/casino-403.cjs +1 -1
- package/es2015/casino-403.js +1 -1
- package/esnext/casino-403.js +1 -1
- package/package.json +1 -1
- package/components/Casino403-fgCwrPVp.cjs +0 -3
@@ -1,46 +1,46 @@
|
|
1
|
-
function
|
1
|
+
function P() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function it(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function Fe() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function K(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(it);
|
11
11
|
}
|
12
12
|
function Ce(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function st(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function It(e) {
|
19
19
|
return Object.keys(e).length === 0;
|
20
20
|
}
|
21
|
-
function
|
21
|
+
function ot(e, ...t) {
|
22
22
|
if (e == null) {
|
23
23
|
for (const n of t)
|
24
24
|
n(void 0);
|
25
|
-
return
|
25
|
+
return P;
|
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 Ct(e, t, r) {
|
31
|
+
e.$$.on_destroy.push(ot(t, r));
|
32
32
|
}
|
33
33
|
function T(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
|
-
function
|
37
|
-
const n =
|
36
|
+
function $t(e, t, r) {
|
37
|
+
const n = Mt(e);
|
38
38
|
if (!n.getElementById(t)) {
|
39
39
|
const i = I("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 Mt(e) {
|
44
44
|
if (!e) return document;
|
45
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
46
46
|
return t && /** @type {ShadowRoot} */
|
@@ -49,14 +49,14 @@ function Ct(e) {
|
|
49
49
|
t
|
50
50
|
) : e.ownerDocument;
|
51
51
|
}
|
52
|
-
function
|
52
|
+
function Rt(e, t) {
|
53
53
|
return T(
|
54
54
|
/** @type {Document} */
|
55
55
|
e.head || e,
|
56
56
|
t
|
57
57
|
), t.sheet;
|
58
58
|
}
|
59
|
-
function
|
59
|
+
function at(e, t, r) {
|
60
60
|
e.insertBefore(t, r || null);
|
61
61
|
}
|
62
62
|
function $e(e) {
|
@@ -74,20 +74,20 @@ function re(e) {
|
|
74
74
|
function me() {
|
75
75
|
return re(" ");
|
76
76
|
}
|
77
|
-
function
|
77
|
+
function Dt(e, t, r, n) {
|
78
78
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
79
79
|
}
|
80
80
|
function v(e, t, r) {
|
81
81
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function Ut(e) {
|
84
84
|
return Array.from(e.childNodes);
|
85
85
|
}
|
86
86
|
function pe(e, t) {
|
87
87
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
88
88
|
t);
|
89
89
|
}
|
90
|
-
function
|
90
|
+
function Gt(e) {
|
91
91
|
const t = {};
|
92
92
|
return e.childNodes.forEach(
|
93
93
|
/** @param {Element} node */
|
@@ -102,10 +102,10 @@ function Q(e) {
|
|
102
102
|
}
|
103
103
|
const D = [], _e = [];
|
104
104
|
let G = [];
|
105
|
-
const
|
105
|
+
const je = [], Ft = /* @__PURE__ */ Promise.resolve();
|
106
106
|
let He = !1;
|
107
|
-
function
|
108
|
-
He || (He = !0,
|
107
|
+
function jt() {
|
108
|
+
He || (He = !0, Ft.then(U));
|
109
109
|
}
|
110
110
|
function Te(e) {
|
111
111
|
G.push(e);
|
@@ -120,7 +120,7 @@ function U() {
|
|
120
120
|
try {
|
121
121
|
for (; M < D.length; ) {
|
122
122
|
const t = D[M];
|
123
|
-
M++, Q(t),
|
123
|
+
M++, Q(t), Vt(t.$$);
|
124
124
|
}
|
125
125
|
} catch (t) {
|
126
126
|
throw D.length = 0, M = 0, t;
|
@@ -132,40 +132,40 @@ function U() {
|
|
132
132
|
}
|
133
133
|
G.length = 0;
|
134
134
|
} while (D.length);
|
135
|
-
for (;
|
136
|
-
|
135
|
+
for (; je.length; )
|
136
|
+
je.pop()();
|
137
137
|
He = !1, ge.clear(), Q(e);
|
138
138
|
}
|
139
|
-
function
|
139
|
+
function Vt(e) {
|
140
140
|
if (e.fragment !== null) {
|
141
141
|
e.update(), K(e.before_update);
|
142
142
|
const t = e.dirty;
|
143
143
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
|
144
144
|
}
|
145
145
|
}
|
146
|
-
function
|
146
|
+
function kt(e) {
|
147
147
|
const t = [], r = [];
|
148
148
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
149
149
|
}
|
150
|
-
const
|
151
|
-
function
|
152
|
-
e && e.i && (
|
150
|
+
const Xt = /* @__PURE__ */ new Set();
|
151
|
+
function zt(e, t) {
|
152
|
+
e && e.i && (Xt.delete(e), e.i(t));
|
153
153
|
}
|
154
|
-
function
|
154
|
+
function Wt(e, t, r) {
|
155
155
|
const { fragment: n, after_update: i } = e.$$;
|
156
156
|
n && n.m(t, r), Te(() => {
|
157
|
-
const s = e.$$.on_mount.map(
|
157
|
+
const s = e.$$.on_mount.map(it).filter(Ce);
|
158
158
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
|
159
159
|
}), i.forEach(Te);
|
160
160
|
}
|
161
|
-
function
|
161
|
+
function Zt(e, t) {
|
162
162
|
const r = e.$$;
|
163
|
-
r.fragment !== null && (
|
163
|
+
r.fragment !== null && (kt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
164
164
|
}
|
165
|
-
function
|
166
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
165
|
+
function qt(e, t) {
|
166
|
+
e.$$.dirty[0] === -1 && (D.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
167
167
|
}
|
168
|
-
function
|
168
|
+
function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
169
169
|
const l = Me;
|
170
170
|
Q(e);
|
171
171
|
const u = e.$$ = {
|
@@ -173,9 +173,9 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
173
173
|
ctx: [],
|
174
174
|
// state
|
175
175
|
props: s,
|
176
|
-
update:
|
176
|
+
update: P,
|
177
177
|
not_equal: i,
|
178
|
-
bound:
|
178
|
+
bound: Fe(),
|
179
179
|
// lifecycle
|
180
180
|
on_mount: [],
|
181
181
|
on_destroy: [],
|
@@ -184,7 +184,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
184
184
|
after_update: [],
|
185
185
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
186
186
|
// everything else
|
187
|
-
callbacks:
|
187
|
+
callbacks: Fe(),
|
188
188
|
dirty: o,
|
189
189
|
skip_bound: !1,
|
190
190
|
root: t.target || l.$$.root
|
@@ -193,19 +193,19 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
193
193
|
let h = !1;
|
194
194
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
195
195
|
const y = b.length ? b[0] : f;
|
196
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
196
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && qt(e, c)), f;
|
197
197
|
}) : [], u.update(), h = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
198
198
|
if (t.hydrate) {
|
199
|
-
const c =
|
199
|
+
const c = Ut(t.target);
|
200
200
|
u.fragment && u.fragment.l(c), c.forEach($e);
|
201
201
|
} else
|
202
202
|
u.fragment && u.fragment.c();
|
203
|
-
t.intro &&
|
203
|
+
t.intro && zt(e.$$.fragment), Wt(e, t.target, t.anchor), U();
|
204
204
|
}
|
205
205
|
Q(l);
|
206
206
|
}
|
207
|
-
let
|
208
|
-
typeof HTMLElement == "function" && (
|
207
|
+
let ut;
|
208
|
+
typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
209
209
|
/** The Svelte component constructor */
|
210
210
|
$$ctor;
|
211
211
|
/** Slots */
|
@@ -254,7 +254,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
254
254
|
* @param {HTMLElement} [anchor]
|
255
255
|
*/
|
256
256
|
m: function(l, u) {
|
257
|
-
|
257
|
+
at(l, s, u);
|
258
258
|
},
|
259
259
|
d: function(l) {
|
260
260
|
l && $e(s);
|
@@ -264,7 +264,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
264
264
|
};
|
265
265
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
266
266
|
return;
|
267
|
-
const t = {}, r =
|
267
|
+
const t = {}, r = Gt(this);
|
268
268
|
for (const i of this.$$s)
|
269
269
|
i in r && (t[i] = [e(i)]);
|
270
270
|
for (const i of this.attributes) {
|
@@ -351,8 +351,8 @@ function ne(e, t, r, n) {
|
|
351
351
|
return t;
|
352
352
|
}
|
353
353
|
}
|
354
|
-
function
|
355
|
-
let a = class extends
|
354
|
+
function Jt(e, t, r, n, i, s) {
|
355
|
+
let a = class extends ut {
|
356
356
|
constructor() {
|
357
357
|
super(e, r, i), this.$$p_d = t;
|
358
358
|
}
|
@@ -380,7 +380,7 @@ function qt(e, t, r, n, i, s) {
|
|
380
380
|
}), e.element = /** @type {any} */
|
381
381
|
a, a;
|
382
382
|
}
|
383
|
-
class
|
383
|
+
class Yt {
|
384
384
|
/**
|
385
385
|
* ### PRIVATE API
|
386
386
|
*
|
@@ -399,7 +399,7 @@ class Qt {
|
|
399
399
|
$$set = void 0;
|
400
400
|
/** @returns {void} */
|
401
401
|
$destroy() {
|
402
|
-
|
402
|
+
Zt(this, 1), this.$destroy = P;
|
403
403
|
}
|
404
404
|
/**
|
405
405
|
* @template {Extract<keyof Events, string>} K
|
@@ -409,7 +409,7 @@ class Qt {
|
|
409
409
|
*/
|
410
410
|
$on(t, r) {
|
411
411
|
if (!Ce(r))
|
412
|
-
return
|
412
|
+
return P;
|
413
413
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
414
414
|
return n.push(r), () => {
|
415
415
|
const i = n.indexOf(r);
|
@@ -421,22 +421,22 @@ class Qt {
|
|
421
421
|
* @returns {void}
|
422
422
|
*/
|
423
423
|
$set(t) {
|
424
|
-
this.$$set && !
|
424
|
+
this.$$set && !It(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
425
425
|
}
|
426
426
|
}
|
427
|
-
const
|
428
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
427
|
+
const Kt = "4";
|
428
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
|
429
429
|
const R = [];
|
430
|
-
function
|
430
|
+
function er(e, t) {
|
431
431
|
return {
|
432
432
|
subscribe: ue(e, t).subscribe
|
433
433
|
};
|
434
434
|
}
|
435
|
-
function ue(e, t =
|
435
|
+
function ue(e, t = P) {
|
436
436
|
let r;
|
437
437
|
const n = /* @__PURE__ */ new Set();
|
438
438
|
function i(o) {
|
439
|
-
if (
|
439
|
+
if (st(e, o) && (e = o, r)) {
|
440
440
|
const l = !R.length;
|
441
441
|
for (const u of n)
|
442
442
|
u[1](), R.push(u, e);
|
@@ -450,9 +450,9 @@ function ue(e, t = A) {
|
|
450
450
|
function s(o) {
|
451
451
|
i(o(e));
|
452
452
|
}
|
453
|
-
function a(o, l =
|
453
|
+
function a(o, l = P) {
|
454
454
|
const u = [o, l];
|
455
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
455
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || P), o(e), () => {
|
456
456
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
457
457
|
};
|
458
458
|
}
|
@@ -463,18 +463,18 @@ function X(e, t, r) {
|
|
463
463
|
if (!i.every(Boolean))
|
464
464
|
throw new Error("derived() expects stores as input, got a falsy value");
|
465
465
|
const s = t.length < 2;
|
466
|
-
return
|
466
|
+
return er(r, (a, o) => {
|
467
467
|
let l = !1;
|
468
468
|
const u = [];
|
469
|
-
let h = 0, c =
|
469
|
+
let h = 0, c = P;
|
470
470
|
const f = () => {
|
471
471
|
if (h)
|
472
472
|
return;
|
473
473
|
c();
|
474
474
|
const y = t(n ? u[0] : u, a, o);
|
475
|
-
s ? a(y) : c = Ce(y) ? y :
|
475
|
+
s ? a(y) : c = Ce(y) ? y : P;
|
476
476
|
}, b = i.map(
|
477
|
-
(y, E) =>
|
477
|
+
(y, E) => ot(
|
478
478
|
y,
|
479
479
|
(m) => {
|
480
480
|
u[E] = m, h &= ~(1 << E), l && f();
|
@@ -489,70 +489,70 @@ function X(e, t, r) {
|
|
489
489
|
};
|
490
490
|
});
|
491
491
|
}
|
492
|
-
function
|
492
|
+
function tr(e) {
|
493
493
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
494
494
|
}
|
495
|
-
var
|
496
|
-
return
|
495
|
+
var rr = function(t) {
|
496
|
+
return nr(t) && !ir(t);
|
497
497
|
};
|
498
|
-
function
|
498
|
+
function nr(e) {
|
499
499
|
return !!e && typeof e == "object";
|
500
500
|
}
|
501
|
-
function
|
501
|
+
function ir(e) {
|
502
502
|
var t = Object.prototype.toString.call(e);
|
503
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
503
|
+
return t === "[object RegExp]" || t === "[object Date]" || ar(e);
|
504
504
|
}
|
505
|
-
var
|
506
|
-
function
|
507
|
-
return e.$$typeof ===
|
505
|
+
var sr = typeof Symbol == "function" && Symbol.for, or = sr ? Symbol.for("react.element") : 60103;
|
506
|
+
function ar(e) {
|
507
|
+
return e.$$typeof === or;
|
508
508
|
}
|
509
|
-
function
|
509
|
+
function ur(e) {
|
510
510
|
return Array.isArray(e) ? [] : {};
|
511
511
|
}
|
512
512
|
function J(e, t) {
|
513
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
513
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
514
514
|
}
|
515
|
-
function
|
515
|
+
function hr(e, t, r) {
|
516
516
|
return e.concat(t).map(function(n) {
|
517
517
|
return J(n, r);
|
518
518
|
});
|
519
519
|
}
|
520
|
-
function
|
520
|
+
function lr(e, t) {
|
521
521
|
if (!t.customMerge)
|
522
522
|
return F;
|
523
523
|
var r = t.customMerge(e);
|
524
524
|
return typeof r == "function" ? r : F;
|
525
525
|
}
|
526
|
-
function
|
526
|
+
function cr(e) {
|
527
527
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
528
528
|
return Object.propertyIsEnumerable.call(e, t);
|
529
529
|
}) : [];
|
530
530
|
}
|
531
|
-
function
|
532
|
-
return Object.keys(e).concat(
|
531
|
+
function Ve(e) {
|
532
|
+
return Object.keys(e).concat(cr(e));
|
533
533
|
}
|
534
|
-
function
|
534
|
+
function ht(e, t) {
|
535
535
|
try {
|
536
536
|
return t in e;
|
537
537
|
} catch {
|
538
538
|
return !1;
|
539
539
|
}
|
540
540
|
}
|
541
|
-
function
|
542
|
-
return
|
541
|
+
function fr(e, t) {
|
542
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
543
543
|
}
|
544
|
-
function
|
544
|
+
function mr(e, t, r) {
|
545
545
|
var n = {};
|
546
|
-
return r.isMergeableObject(e) &&
|
546
|
+
return r.isMergeableObject(e) && Ve(e).forEach(function(i) {
|
547
547
|
n[i] = J(e[i], r);
|
548
|
-
}),
|
549
|
-
|
548
|
+
}), Ve(t).forEach(function(i) {
|
549
|
+
fr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = J(t[i], r));
|
550
550
|
}), n;
|
551
551
|
}
|
552
552
|
function F(e, t, r) {
|
553
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
553
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = J;
|
554
554
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
555
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
555
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : J(t, r);
|
556
556
|
}
|
557
557
|
F.all = function(t, r) {
|
558
558
|
if (!Array.isArray(t))
|
@@ -561,8 +561,8 @@ F.all = function(t, r) {
|
|
561
561
|
return F(n, i, r);
|
562
562
|
}, {});
|
563
563
|
};
|
564
|
-
var
|
565
|
-
const
|
564
|
+
var pr = F, gr = pr;
|
565
|
+
const dr = /* @__PURE__ */ tr(gr);
|
566
566
|
var Be = function(e, t) {
|
567
567
|
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
568
568
|
r.__proto__ = n;
|
@@ -588,7 +588,7 @@ var d = function() {
|
|
588
588
|
return t;
|
589
589
|
}, d.apply(this, arguments);
|
590
590
|
};
|
591
|
-
function
|
591
|
+
function br(e, t) {
|
592
592
|
var r = {};
|
593
593
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
594
594
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -602,53 +602,55 @@ function de(e, t, r) {
|
|
602
602
|
return e.concat(s || Array.prototype.slice.call(t));
|
603
603
|
}
|
604
604
|
function be(e, t) {
|
605
|
-
var r = t && t.cache ? t.cache :
|
605
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : xr;
|
606
606
|
return i(e, {
|
607
607
|
cache: r,
|
608
608
|
serializer: n
|
609
609
|
});
|
610
610
|
}
|
611
|
-
function
|
611
|
+
function yr(e) {
|
612
612
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
613
613
|
}
|
614
|
-
function
|
615
|
-
var i =
|
614
|
+
function lt(e, t, r, n) {
|
615
|
+
var i = yr(n) ? n : r(n), s = t.get(i);
|
616
616
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
617
617
|
}
|
618
|
-
function
|
618
|
+
function ct(e, t, r) {
|
619
619
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
620
620
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
621
621
|
}
|
622
|
-
function
|
622
|
+
function Re(e, t, r, n, i) {
|
623
623
|
return r.bind(t, e, n, i);
|
624
624
|
}
|
625
|
-
function yr(e, t) {
|
626
|
-
var r = e.length === 1 ? br : ut;
|
627
|
-
return ht(e, this, r, t.cache.create(), t.serializer);
|
628
|
-
}
|
629
625
|
function xr(e, t) {
|
630
|
-
|
626
|
+
var r = e.length === 1 ? lt : ct;
|
627
|
+
return Re(e, this, r, t.cache.create(), t.serializer);
|
628
|
+
}
|
629
|
+
function vr(e, t) {
|
630
|
+
return Re(e, this, ct, t.cache.create(), t.serializer);
|
631
631
|
}
|
632
|
-
|
632
|
+
function Er(e, t) {
|
633
|
+
return Re(e, this, lt, t.cache.create(), t.serializer);
|
634
|
+
}
|
635
|
+
var _r = function() {
|
633
636
|
return JSON.stringify(arguments);
|
634
|
-
}
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
}()
|
646
|
-
), _r = {
|
637
|
+
};
|
638
|
+
function De() {
|
639
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
640
|
+
}
|
641
|
+
De.prototype.get = function(e) {
|
642
|
+
return this.cache[e];
|
643
|
+
};
|
644
|
+
De.prototype.set = function(e, t) {
|
645
|
+
this.cache[e] = t;
|
646
|
+
};
|
647
|
+
var Hr = {
|
647
648
|
create: function() {
|
648
|
-
return new
|
649
|
+
return new De();
|
649
650
|
}
|
650
651
|
}, ye = {
|
651
|
-
variadic:
|
652
|
+
variadic: vr,
|
653
|
+
monadic: Er
|
652
654
|
}, p;
|
653
655
|
(function(e) {
|
654
656
|
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";
|
@@ -661,43 +663,43 @@ var j;
|
|
661
663
|
(function(e) {
|
662
664
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
663
665
|
})(j || (j = {}));
|
664
|
-
function
|
666
|
+
function ke(e) {
|
665
667
|
return e.type === x.literal;
|
666
668
|
}
|
667
|
-
function
|
669
|
+
function Tr(e) {
|
668
670
|
return e.type === x.argument;
|
669
671
|
}
|
670
|
-
function
|
672
|
+
function ft(e) {
|
671
673
|
return e.type === x.number;
|
672
674
|
}
|
673
|
-
function
|
675
|
+
function mt(e) {
|
674
676
|
return e.type === x.date;
|
675
677
|
}
|
676
|
-
function
|
678
|
+
function pt(e) {
|
677
679
|
return e.type === x.time;
|
678
680
|
}
|
679
|
-
function
|
681
|
+
function gt(e) {
|
680
682
|
return e.type === x.select;
|
681
683
|
}
|
682
|
-
function
|
684
|
+
function dt(e) {
|
683
685
|
return e.type === x.plural;
|
684
686
|
}
|
685
|
-
function
|
687
|
+
function Br(e) {
|
686
688
|
return e.type === x.pound;
|
687
689
|
}
|
688
|
-
function
|
690
|
+
function bt(e) {
|
689
691
|
return e.type === x.tag;
|
690
692
|
}
|
691
|
-
function
|
693
|
+
function yt(e) {
|
692
694
|
return !!(e && typeof e == "object" && e.type === j.number);
|
693
695
|
}
|
694
696
|
function Se(e) {
|
695
697
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
696
698
|
}
|
697
|
-
var
|
698
|
-
function
|
699
|
+
var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sr = /(?:[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;
|
700
|
+
function Ar(e) {
|
699
701
|
var t = {};
|
700
|
-
return e.replace(
|
702
|
+
return e.replace(Sr, function(r) {
|
701
703
|
var n = r.length;
|
702
704
|
switch (r[0]) {
|
703
705
|
case "G":
|
@@ -787,7 +789,7 @@ function Sr(e) {
|
|
787
789
|
}), t;
|
788
790
|
}
|
789
791
|
var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
790
|
-
function
|
792
|
+
function wr(e) {
|
791
793
|
if (e.length === 0)
|
792
794
|
throw new Error("Number skeleton cannot be empty");
|
793
795
|
for (var t = e.split(Pr).filter(function(f) {
|
@@ -805,17 +807,17 @@ function Ar(e) {
|
|
805
807
|
}
|
806
808
|
return r;
|
807
809
|
}
|
808
|
-
function
|
810
|
+
function Nr(e) {
|
809
811
|
return e.replace(/^(.*?)-/, "");
|
810
812
|
}
|
811
|
-
var
|
812
|
-
function
|
813
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
|
814
|
+
function ze(e) {
|
813
815
|
var t = {};
|
814
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
816
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
815
817
|
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)), "";
|
816
818
|
}), t;
|
817
819
|
}
|
818
|
-
function
|
820
|
+
function _t(e) {
|
819
821
|
switch (e) {
|
820
822
|
case "sign-auto":
|
821
823
|
return {
|
@@ -855,7 +857,7 @@ function vt(e) {
|
|
855
857
|
};
|
856
858
|
}
|
857
859
|
}
|
858
|
-
function
|
860
|
+
function Lr(e) {
|
859
861
|
var t;
|
860
862
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
861
863
|
notation: "engineering"
|
@@ -863,17 +865,17 @@ function Or(e) {
|
|
863
865
|
notation: "scientific"
|
864
866
|
}, e = e.slice(1)), t) {
|
865
867
|
var r = e.slice(0, 2);
|
866
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
868
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Et.test(e))
|
867
869
|
throw new Error("Malformed concise eng/scientific notation");
|
868
870
|
t.minimumIntegerDigits = e.length;
|
869
871
|
}
|
870
872
|
return t;
|
871
873
|
}
|
872
|
-
function
|
873
|
-
var t = {}, r =
|
874
|
+
function We(e) {
|
875
|
+
var t = {}, r = _t(e);
|
874
876
|
return r || t;
|
875
877
|
}
|
876
|
-
function
|
878
|
+
function Ir(e) {
|
877
879
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
878
880
|
var i = n[r];
|
879
881
|
switch (i.stem) {
|
@@ -897,7 +899,7 @@ function Lr(e) {
|
|
897
899
|
continue;
|
898
900
|
case "measure-unit":
|
899
901
|
case "unit":
|
900
|
-
t.style = "unit", t.unit =
|
902
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
901
903
|
continue;
|
902
904
|
case "compact-short":
|
903
905
|
case "K":
|
@@ -909,12 +911,12 @@ function Lr(e) {
|
|
909
911
|
continue;
|
910
912
|
case "scientific":
|
911
913
|
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
912
|
-
return d(d({}, l),
|
914
|
+
return d(d({}, l), We(u));
|
913
915
|
}, {}));
|
914
916
|
continue;
|
915
917
|
case "engineering":
|
916
918
|
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
917
|
-
return d(d({}, l),
|
919
|
+
return d(d({}, l), We(u));
|
918
920
|
}, {}));
|
919
921
|
continue;
|
920
922
|
case "notation-simple":
|
@@ -959,7 +961,7 @@ function Lr(e) {
|
|
959
961
|
case "integer-width":
|
960
962
|
if (i.options.length > 1)
|
961
963
|
throw new RangeError("integer-width stems only accept a single optional option");
|
962
|
-
i.options[0].replace(
|
964
|
+
i.options[0].replace(Or, function(l, u, h, c, f, b) {
|
963
965
|
if (u)
|
964
966
|
t.minimumIntegerDigits = h.length;
|
965
967
|
else {
|
@@ -972,27 +974,27 @@ function Lr(e) {
|
|
972
974
|
});
|
973
975
|
continue;
|
974
976
|
}
|
975
|
-
if (
|
977
|
+
if (Et.test(i.stem)) {
|
976
978
|
t.minimumIntegerDigits = i.stem.length;
|
977
979
|
continue;
|
978
980
|
}
|
979
|
-
if (
|
981
|
+
if (Xe.test(i.stem)) {
|
980
982
|
if (i.options.length > 1)
|
981
983
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
982
|
-
i.stem.replace(
|
984
|
+
i.stem.replace(Xe, function(l, u, h, c, f, b) {
|
983
985
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
984
986
|
});
|
985
987
|
var s = i.options[0];
|
986
|
-
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t),
|
988
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ze(s)));
|
987
989
|
continue;
|
988
990
|
}
|
989
|
-
if (
|
990
|
-
t = d(d({}, t),
|
991
|
+
if (vt.test(i.stem)) {
|
992
|
+
t = d(d({}, t), ze(i.stem));
|
991
993
|
continue;
|
992
994
|
}
|
993
|
-
var a =
|
995
|
+
var a = _t(i.stem);
|
994
996
|
a && (t = d(d({}, t), a));
|
995
|
-
var o =
|
997
|
+
var o = Lr(i.stem);
|
996
998
|
o && (t = d(d({}, t), o));
|
997
999
|
}
|
998
1000
|
return t;
|
@@ -2412,13 +2414,13 @@ var te = {
|
|
2412
2414
|
"h"
|
2413
2415
|
]
|
2414
2416
|
};
|
2415
|
-
function
|
2417
|
+
function Cr(e, t) {
|
2416
2418
|
for (var r = "", n = 0; n < e.length; n++) {
|
2417
2419
|
var i = e.charAt(n);
|
2418
2420
|
if (i === "j") {
|
2419
2421
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2420
2422
|
s++, n++;
|
2421
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
2423
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = $r(t);
|
2422
2424
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
2423
2425
|
r += l;
|
2424
2426
|
for (; a-- > 0; )
|
@@ -2427,7 +2429,7 @@ function Ir(e, t) {
|
|
2427
2429
|
}
|
2428
2430
|
return r;
|
2429
2431
|
}
|
2430
|
-
function
|
2432
|
+
function $r(e) {
|
2431
2433
|
var t = e.hourCycle;
|
2432
2434
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2433
2435
|
e.hourCycles && // @ts-ignore
|
@@ -2449,20 +2451,20 @@ function Cr(e) {
|
|
2449
2451
|
var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
|
2450
2452
|
return i[0];
|
2451
2453
|
}
|
2452
|
-
var xe,
|
2454
|
+
var xe, Mr = new RegExp("^".concat(xt.source, "*")), Rr = new RegExp("".concat(xt.source, "*$"));
|
2453
2455
|
function g(e, t) {
|
2454
2456
|
return { start: e, end: t };
|
2455
2457
|
}
|
2456
|
-
var
|
2458
|
+
var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ur = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, Xr = kr ? Number.isSafeInteger : function(e) {
|
2457
2459
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2458
|
-
},
|
2460
|
+
}, Ae = !0;
|
2459
2461
|
try {
|
2460
|
-
var
|
2461
|
-
|
2462
|
+
var zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2463
|
+
Ae = ((xe = zr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
|
2462
2464
|
} catch {
|
2463
|
-
|
2465
|
+
Ae = !1;
|
2464
2466
|
}
|
2465
|
-
var
|
2467
|
+
var Ze = Dr ? (
|
2466
2468
|
// Native
|
2467
2469
|
function(t, r, n) {
|
2468
2470
|
return t.startsWith(r, n);
|
@@ -2472,7 +2474,7 @@ var ze = Rr ? (
|
|
2472
2474
|
function(t, r, n) {
|
2473
2475
|
return t.slice(n, n + r.length) === r;
|
2474
2476
|
}
|
2475
|
-
),
|
2477
|
+
), Pe = Ur ? String.fromCodePoint : (
|
2476
2478
|
// IE11
|
2477
2479
|
function() {
|
2478
2480
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2484,9 +2486,9 @@ var ze = Rr ? (
|
|
2484
2486
|
}
|
2485
2487
|
return n;
|
2486
2488
|
}
|
2487
|
-
),
|
2489
|
+
), qe = (
|
2488
2490
|
// native
|
2489
|
-
|
2491
|
+
Gr ? Object.fromEntries : (
|
2490
2492
|
// Ponyfill
|
2491
2493
|
function(t) {
|
2492
2494
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2496,7 +2498,7 @@ var ze = Rr ? (
|
|
2496
2498
|
return r;
|
2497
2499
|
}
|
2498
2500
|
)
|
2499
|
-
),
|
2501
|
+
), Ht = Fr ? (
|
2500
2502
|
// Native
|
2501
2503
|
function(t, r) {
|
2502
2504
|
return t.codePointAt(r);
|
@@ -2510,7 +2512,7 @@ var ze = Rr ? (
|
|
2510
2512
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2511
2513
|
}
|
2512
2514
|
}
|
2513
|
-
),
|
2515
|
+
), Wr = jr ? (
|
2514
2516
|
// Native
|
2515
2517
|
function(t) {
|
2516
2518
|
return t.trimStart();
|
@@ -2518,9 +2520,9 @@ var ze = Rr ? (
|
|
2518
2520
|
) : (
|
2519
2521
|
// Ponyfill
|
2520
2522
|
function(t) {
|
2521
|
-
return t.replace(
|
2523
|
+
return t.replace(Mr, "");
|
2522
2524
|
}
|
2523
|
-
),
|
2525
|
+
), Zr = Vr ? (
|
2524
2526
|
// Native
|
2525
2527
|
function(t) {
|
2526
2528
|
return t.trimEnd();
|
@@ -2528,32 +2530,32 @@ var ze = Rr ? (
|
|
2528
2530
|
) : (
|
2529
2531
|
// Ponyfill
|
2530
2532
|
function(t) {
|
2531
|
-
return t.replace(
|
2533
|
+
return t.replace(Rr, "");
|
2532
2534
|
}
|
2533
2535
|
);
|
2534
|
-
function
|
2536
|
+
function Tt(e, t) {
|
2535
2537
|
return new RegExp(e, t);
|
2536
2538
|
}
|
2537
2539
|
var we;
|
2538
|
-
if (
|
2539
|
-
var
|
2540
|
+
if (Ae) {
|
2541
|
+
var Qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2540
2542
|
we = function(t, r) {
|
2541
2543
|
var n;
|
2542
|
-
|
2543
|
-
var i =
|
2544
|
+
Qe.lastIndex = r;
|
2545
|
+
var i = Qe.exec(t);
|
2544
2546
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2545
2547
|
};
|
2546
2548
|
} else
|
2547
2549
|
we = function(t, r) {
|
2548
2550
|
for (var n = []; ; ) {
|
2549
|
-
var i =
|
2550
|
-
if (i === void 0 ||
|
2551
|
+
var i = Ht(t, r);
|
2552
|
+
if (i === void 0 || Bt(i) || Yr(i))
|
2551
2553
|
break;
|
2552
2554
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2553
2555
|
}
|
2554
|
-
return
|
2556
|
+
return Pe.apply(void 0, n);
|
2555
2557
|
};
|
2556
|
-
var
|
2558
|
+
var qr = (
|
2557
2559
|
/** @class */
|
2558
2560
|
function() {
|
2559
2561
|
function e(t, r) {
|
@@ -2635,7 +2637,7 @@ var Zr = (
|
|
2635
2637
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2636
2638
|
}, e.prototype.parseTagName = function() {
|
2637
2639
|
var t = this.offset();
|
2638
|
-
for (this.bump(); !this.isEOF() &&
|
2640
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
2639
2641
|
this.bump();
|
2640
2642
|
return this.message.slice(t, this.offset());
|
2641
2643
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2664,7 +2666,7 @@ var Zr = (
|
|
2664
2666
|
};
|
2665
2667
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2666
2668
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2667
|
-
!
|
2669
|
+
!Qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2668
2670
|
}, e.prototype.tryParseQuote = function(t) {
|
2669
2671
|
if (this.isEOF() || this.char() !== 39)
|
2670
2672
|
return null;
|
@@ -2698,12 +2700,12 @@ var Zr = (
|
|
2698
2700
|
r.push(n);
|
2699
2701
|
this.bump();
|
2700
2702
|
}
|
2701
|
-
return
|
2703
|
+
return Pe.apply(void 0, r);
|
2702
2704
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2703
2705
|
if (this.isEOF())
|
2704
2706
|
return null;
|
2705
2707
|
var n = this.char();
|
2706
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2708
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pe(n));
|
2707
2709
|
}, e.prototype.parseArgument = function(t, r) {
|
2708
2710
|
var n = this.clonePosition();
|
2709
2711
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2751,7 +2753,7 @@ var Zr = (
|
|
2751
2753
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2752
2754
|
if (c.err)
|
2753
2755
|
return c;
|
2754
|
-
var f =
|
2756
|
+
var f = Zr(c.val);
|
2755
2757
|
if (f.length === 0)
|
2756
2758
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2757
2759
|
var b = g(h, this.clonePosition());
|
@@ -2761,8 +2763,8 @@ var Zr = (
|
|
2761
2763
|
if (y.err)
|
2762
2764
|
return y;
|
2763
2765
|
var E = g(i, this.clonePosition());
|
2764
|
-
if (u &&
|
2765
|
-
var m =
|
2766
|
+
if (u && Ze(u?.style, "::", 0)) {
|
2767
|
+
var m = Wr(u.style.slice(2));
|
2766
2768
|
if (o === "number") {
|
2767
2769
|
var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
|
2768
2770
|
return c.err ? c : {
|
@@ -2773,12 +2775,12 @@ var Zr = (
|
|
2773
2775
|
if (m.length === 0)
|
2774
2776
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
|
2775
2777
|
var H = m;
|
2776
|
-
this.locale && (H =
|
2778
|
+
this.locale && (H = Cr(m, this.locale));
|
2777
2779
|
var f = {
|
2778
2780
|
type: j.dateTime,
|
2779
2781
|
pattern: H,
|
2780
2782
|
location: u.styleLocation,
|
2781
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2783
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(H) : {}
|
2782
2784
|
}, _ = o === "date" ? x.date : x.time;
|
2783
2785
|
return {
|
2784
2786
|
val: { type: _, value: n, location: E, style: f },
|
@@ -2803,7 +2805,7 @@ var Zr = (
|
|
2803
2805
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2804
2806
|
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(B, d({}, B)));
|
2805
2807
|
this.bumpSpace();
|
2806
|
-
var N = this.parseIdentifierIfPossible(),
|
2808
|
+
var N = this.parseIdentifierIfPossible(), A = 0;
|
2807
2809
|
if (o !== "select" && N.value === "offset") {
|
2808
2810
|
if (!this.bumpIf(":"))
|
2809
2811
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
@@ -2811,7 +2813,7 @@ var Zr = (
|
|
2811
2813
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2812
2814
|
if (c.err)
|
2813
2815
|
return c;
|
2814
|
-
this.bumpSpace(), N = this.parseIdentifierIfPossible(),
|
2816
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = c.val;
|
2815
2817
|
}
|
2816
2818
|
var L = this.tryParsePluralOrSelectOptions(t, o, r, N);
|
2817
2819
|
if (L.err)
|
@@ -2824,7 +2826,7 @@ var Zr = (
|
|
2824
2826
|
val: {
|
2825
2827
|
type: x.select,
|
2826
2828
|
value: n,
|
2827
|
-
options:
|
2829
|
+
options: qe(L.val),
|
2828
2830
|
location: w
|
2829
2831
|
},
|
2830
2832
|
err: null
|
@@ -2832,8 +2834,8 @@ var Zr = (
|
|
2832
2834
|
val: {
|
2833
2835
|
type: x.plural,
|
2834
2836
|
value: n,
|
2835
|
-
options:
|
2836
|
-
offset:
|
2837
|
+
options: qe(L.val),
|
2838
|
+
offset: A,
|
2837
2839
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
2838
2840
|
location: w
|
2839
2841
|
},
|
@@ -2883,7 +2885,7 @@ var Zr = (
|
|
2883
2885
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2884
2886
|
var n = [];
|
2885
2887
|
try {
|
2886
|
-
n =
|
2888
|
+
n = wr(t);
|
2887
2889
|
} catch {
|
2888
2890
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2889
2891
|
}
|
@@ -2892,7 +2894,7 @@ var Zr = (
|
|
2892
2894
|
type: j.number,
|
2893
2895
|
tokens: n,
|
2894
2896
|
location: r,
|
2895
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2897
|
+
parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
|
2896
2898
|
},
|
2897
2899
|
err: null
|
2898
2900
|
};
|
@@ -2940,7 +2942,7 @@ var Zr = (
|
|
2940
2942
|
break;
|
2941
2943
|
}
|
2942
2944
|
var l = g(i, this.clonePosition());
|
2943
|
-
return s ? (a *= n,
|
2945
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
2944
2946
|
}, e.prototype.offset = function() {
|
2945
2947
|
return this.position.offset;
|
2946
2948
|
}, e.prototype.isEOF = function() {
|
@@ -2955,7 +2957,7 @@ var Zr = (
|
|
2955
2957
|
var t = this.position.offset;
|
2956
2958
|
if (t >= this.message.length)
|
2957
2959
|
throw Error("out of bound");
|
2958
|
-
var r =
|
2960
|
+
var r = Ht(this.message, t);
|
2959
2961
|
if (r === void 0)
|
2960
2962
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2961
2963
|
return r;
|
@@ -2974,7 +2976,7 @@ var Zr = (
|
|
2974
2976
|
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);
|
2975
2977
|
}
|
2976
2978
|
}, e.prototype.bumpIf = function(t) {
|
2977
|
-
if (
|
2979
|
+
if (Ze(this.message, t, this.offset())) {
|
2978
2980
|
for (var r = 0; r < t.length; r++)
|
2979
2981
|
this.bump();
|
2980
2982
|
return !0;
|
@@ -2996,7 +2998,7 @@ var Zr = (
|
|
2996
2998
|
break;
|
2997
2999
|
}
|
2998
3000
|
}, e.prototype.bumpSpace = function() {
|
2999
|
-
for (; !this.isEOF() &&
|
3001
|
+
for (; !this.isEOF() && Bt(this.char()); )
|
3000
3002
|
this.bump();
|
3001
3003
|
}, e.prototype.peek = function() {
|
3002
3004
|
if (this.isEOF())
|
@@ -3009,29 +3011,29 @@ var Zr = (
|
|
3009
3011
|
function Ne(e) {
|
3010
3012
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3011
3013
|
}
|
3012
|
-
function
|
3014
|
+
function Qr(e) {
|
3013
3015
|
return Ne(e) || e === 47;
|
3014
3016
|
}
|
3015
|
-
function
|
3017
|
+
function Jr(e) {
|
3016
3018
|
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;
|
3017
3019
|
}
|
3018
|
-
function
|
3020
|
+
function Bt(e) {
|
3019
3021
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3020
3022
|
}
|
3021
|
-
function
|
3023
|
+
function Yr(e) {
|
3022
3024
|
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;
|
3023
3025
|
}
|
3024
3026
|
function Oe(e) {
|
3025
3027
|
e.forEach(function(t) {
|
3026
|
-
if (delete t.location,
|
3028
|
+
if (delete t.location, gt(t) || dt(t))
|
3027
3029
|
for (var r in t.options)
|
3028
3030
|
delete t.options[r].location, Oe(t.options[r].value);
|
3029
|
-
else
|
3031
|
+
else ft(t) && yt(t.style) || (mt(t) || pt(t)) && Se(t.style) ? delete t.style.location : bt(t) && Oe(t.children);
|
3030
3032
|
});
|
3031
3033
|
}
|
3032
|
-
function
|
3034
|
+
function Kr(e, t) {
|
3033
3035
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3034
|
-
var r = new
|
3036
|
+
var r = new qr(e, t).parse();
|
3035
3037
|
if (r.err) {
|
3036
3038
|
var n = SyntaxError(p[r.err.kind]);
|
3037
3039
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3054,7 +3056,7 @@ var le = (
|
|
3054
3056
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3055
3057
|
}, t;
|
3056
3058
|
}(Error)
|
3057
|
-
),
|
3059
|
+
), Je = (
|
3058
3060
|
/** @class */
|
3059
3061
|
function(e) {
|
3060
3062
|
he(t, e);
|
@@ -3063,7 +3065,7 @@ var le = (
|
|
3063
3065
|
}
|
3064
3066
|
return t;
|
3065
3067
|
}(le)
|
3066
|
-
),
|
3068
|
+
), en = (
|
3067
3069
|
/** @class */
|
3068
3070
|
function(e) {
|
3069
3071
|
he(t, e);
|
@@ -3072,7 +3074,7 @@ var le = (
|
|
3072
3074
|
}
|
3073
3075
|
return t;
|
3074
3076
|
}(le)
|
3075
|
-
),
|
3077
|
+
), tn = (
|
3076
3078
|
/** @class */
|
3077
3079
|
function(e) {
|
3078
3080
|
he(t, e);
|
@@ -3085,17 +3087,17 @@ var le = (
|
|
3085
3087
|
(function(e) {
|
3086
3088
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3087
3089
|
})(S || (S = {}));
|
3088
|
-
function
|
3090
|
+
function rn(e) {
|
3089
3091
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3090
3092
|
var n = t[t.length - 1];
|
3091
3093
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
3092
3094
|
}, []);
|
3093
3095
|
}
|
3094
|
-
function
|
3096
|
+
function nn(e) {
|
3095
3097
|
return typeof e == "function";
|
3096
3098
|
}
|
3097
3099
|
function ie(e, t, r, n, i, s, a) {
|
3098
|
-
if (e.length === 1 &&
|
3100
|
+
if (e.length === 1 && ke(e[0]))
|
3099
3101
|
return [
|
3100
3102
|
{
|
3101
3103
|
type: S.literal,
|
@@ -3104,14 +3106,14 @@ function ie(e, t, r, n, i, s, a) {
|
|
3104
3106
|
];
|
3105
3107
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
3106
3108
|
var h = u[l];
|
3107
|
-
if (
|
3109
|
+
if (ke(h)) {
|
3108
3110
|
o.push({
|
3109
3111
|
type: S.literal,
|
3110
3112
|
value: h.value
|
3111
3113
|
});
|
3112
3114
|
continue;
|
3113
3115
|
}
|
3114
|
-
if (
|
3116
|
+
if (Br(h)) {
|
3115
3117
|
typeof s == "number" && o.push({
|
3116
3118
|
type: S.literal,
|
3117
3119
|
value: r.getNumberFormat(t).format(s)
|
@@ -3120,16 +3122,16 @@ function ie(e, t, r, n, i, s, a) {
|
|
3120
3122
|
}
|
3121
3123
|
var c = h.value;
|
3122
3124
|
if (!(i && c in i))
|
3123
|
-
throw new
|
3125
|
+
throw new tn(c, a);
|
3124
3126
|
var f = i[c];
|
3125
|
-
if (
|
3127
|
+
if (Tr(h)) {
|
3126
3128
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
3127
3129
|
type: typeof f == "string" ? S.literal : S.object,
|
3128
3130
|
value: f
|
3129
3131
|
});
|
3130
3132
|
continue;
|
3131
3133
|
}
|
3132
|
-
if (
|
3134
|
+
if (mt(h)) {
|
3133
3135
|
var b = typeof h.style == "string" ? n.date[h.style] : Se(h.style) ? h.style.parsedOptions : void 0;
|
3134
3136
|
o.push({
|
3135
3137
|
type: S.literal,
|
@@ -3137,7 +3139,7 @@ function ie(e, t, r, n, i, s, a) {
|
|
3137
3139
|
});
|
3138
3140
|
continue;
|
3139
3141
|
}
|
3140
|
-
if (
|
3142
|
+
if (pt(h)) {
|
3141
3143
|
var b = typeof h.style == "string" ? n.time[h.style] : Se(h.style) ? h.style.parsedOptions : n.time.medium;
|
3142
3144
|
o.push({
|
3143
3145
|
type: S.literal,
|
@@ -3145,36 +3147,36 @@ function ie(e, t, r, n, i, s, a) {
|
|
3145
3147
|
});
|
3146
3148
|
continue;
|
3147
3149
|
}
|
3148
|
-
if (
|
3149
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
3150
|
+
if (ft(h)) {
|
3151
|
+
var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
|
3150
3152
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
3151
3153
|
type: S.literal,
|
3152
3154
|
value: r.getNumberFormat(t, b).format(f)
|
3153
3155
|
});
|
3154
3156
|
continue;
|
3155
3157
|
}
|
3156
|
-
if (
|
3158
|
+
if (bt(h)) {
|
3157
3159
|
var y = h.children, E = h.value, m = i[E];
|
3158
|
-
if (!
|
3159
|
-
throw new
|
3160
|
-
var H = ie(y, t, r, n, i, s), _ = m(H.map(function(
|
3161
|
-
return
|
3160
|
+
if (!nn(m))
|
3161
|
+
throw new en(E, "function", a);
|
3162
|
+
var H = ie(y, t, r, n, i, s), _ = m(H.map(function(A) {
|
3163
|
+
return A.value;
|
3162
3164
|
}));
|
3163
|
-
Array.isArray(_) || (_ = [_]), o.push.apply(o, _.map(function(
|
3165
|
+
Array.isArray(_) || (_ = [_]), o.push.apply(o, _.map(function(A) {
|
3164
3166
|
return {
|
3165
|
-
type: typeof
|
3166
|
-
value:
|
3167
|
+
type: typeof A == "string" ? S.literal : S.object,
|
3168
|
+
value: A
|
3167
3169
|
};
|
3168
3170
|
}));
|
3169
3171
|
}
|
3170
|
-
if (
|
3172
|
+
if (gt(h)) {
|
3171
3173
|
var B = h.options[f] || h.options.other;
|
3172
3174
|
if (!B)
|
3173
|
-
throw new
|
3175
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
3174
3176
|
o.push.apply(o, ie(B.value, t, r, n, i));
|
3175
3177
|
continue;
|
3176
3178
|
}
|
3177
|
-
if (
|
3179
|
+
if (dt(h)) {
|
3178
3180
|
var B = h.options["=".concat(f)];
|
3179
3181
|
if (!B) {
|
3180
3182
|
if (!Intl.PluralRules)
|
@@ -3185,21 +3187,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3185
3187
|
B = h.options[N] || h.options.other;
|
3186
3188
|
}
|
3187
3189
|
if (!B)
|
3188
|
-
throw new
|
3190
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
3189
3191
|
o.push.apply(o, ie(B.value, t, r, n, i, f - (h.offset || 0)));
|
3190
3192
|
continue;
|
3191
3193
|
}
|
3192
3194
|
}
|
3193
|
-
return
|
3195
|
+
return rn(o);
|
3194
3196
|
}
|
3195
|
-
function
|
3197
|
+
function sn(e, t) {
|
3196
3198
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3197
3199
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3198
3200
|
}, {})) : e;
|
3199
3201
|
}
|
3200
|
-
function
|
3202
|
+
function on(e, t) {
|
3201
3203
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3202
|
-
return r[n] =
|
3204
|
+
return r[n] = sn(e[n], t[n]), r;
|
3203
3205
|
}, d({}, e)) : e;
|
3204
3206
|
}
|
3205
3207
|
function ve(e) {
|
@@ -3216,7 +3218,7 @@ function ve(e) {
|
|
3216
3218
|
}
|
3217
3219
|
};
|
3218
3220
|
}
|
3219
|
-
function
|
3221
|
+
function an(e) {
|
3220
3222
|
return e === void 0 && (e = {
|
3221
3223
|
number: {},
|
3222
3224
|
dateTime: {},
|
@@ -3248,7 +3250,7 @@ function on(e) {
|
|
3248
3250
|
})
|
3249
3251
|
};
|
3250
3252
|
}
|
3251
|
-
var
|
3253
|
+
var un = (
|
3252
3254
|
/** @class */
|
3253
3255
|
function() {
|
3254
3256
|
function e(t, r, n, i) {
|
@@ -3280,13 +3282,13 @@ var an = (
|
|
3280
3282
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3281
3283
|
var a = i || {};
|
3282
3284
|
a.formatters;
|
3283
|
-
var o =
|
3285
|
+
var o = br(a, ["formatters"]);
|
3284
3286
|
this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
|
3285
3287
|
} else
|
3286
3288
|
this.ast = t;
|
3287
3289
|
if (!Array.isArray(this.ast))
|
3288
3290
|
throw new TypeError("A message must be provided as a String or AST.");
|
3289
|
-
this.formats =
|
3291
|
+
this.formats = on(e.formats, n), this.formatters = i && i.formatters || an(this.formatterCache);
|
3290
3292
|
}
|
3291
3293
|
return Object.defineProperty(e, "defaultLocale", {
|
3292
3294
|
get: function() {
|
@@ -3299,7 +3301,7 @@ var an = (
|
|
3299
3301
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3300
3302
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3301
3303
|
}
|
3302
|
-
}, e.__parse =
|
3304
|
+
}, e.__parse = Kr, e.formats = {
|
3303
3305
|
number: {
|
3304
3306
|
integer: {
|
3305
3307
|
maximumFractionDigits: 0
|
@@ -3360,7 +3362,7 @@ var an = (
|
|
3360
3362
|
}, e;
|
3361
3363
|
}()
|
3362
3364
|
);
|
3363
|
-
function
|
3365
|
+
function hn(e, t) {
|
3364
3366
|
if (t == null)
|
3365
3367
|
return;
|
3366
3368
|
if (t in e)
|
@@ -3381,60 +3383,60 @@ function un(e, t) {
|
|
3381
3383
|
n = void 0;
|
3382
3384
|
return n;
|
3383
3385
|
}
|
3384
|
-
const O = {},
|
3386
|
+
const O = {}, ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), St = (e, t) => {
|
3385
3387
|
if (t == null)
|
3386
3388
|
return;
|
3387
3389
|
if (t in O && e in O[t])
|
3388
3390
|
return O[t][e];
|
3389
3391
|
const r = ce(t);
|
3390
3392
|
for (let n = 0; n < r.length; n++) {
|
3391
|
-
const i = r[n], s =
|
3393
|
+
const i = r[n], s = fn(i, e);
|
3392
3394
|
if (s)
|
3393
|
-
return
|
3395
|
+
return ln(e, t, s);
|
3394
3396
|
}
|
3395
3397
|
};
|
3396
|
-
let
|
3398
|
+
let Ue;
|
3397
3399
|
const ee = ue({});
|
3398
|
-
function
|
3399
|
-
return
|
3400
|
+
function cn(e) {
|
3401
|
+
return Ue[e] || null;
|
3400
3402
|
}
|
3401
|
-
function
|
3402
|
-
return e in
|
3403
|
+
function At(e) {
|
3404
|
+
return e in Ue;
|
3403
3405
|
}
|
3404
|
-
function
|
3405
|
-
if (!
|
3406
|
+
function fn(e, t) {
|
3407
|
+
if (!At(e))
|
3406
3408
|
return null;
|
3407
|
-
const r =
|
3408
|
-
return
|
3409
|
+
const r = cn(e);
|
3410
|
+
return hn(r, t);
|
3409
3411
|
}
|
3410
|
-
function
|
3412
|
+
function mn(e) {
|
3411
3413
|
if (e == null)
|
3412
3414
|
return;
|
3413
3415
|
const t = ce(e);
|
3414
3416
|
for (let r = 0; r < t.length; r++) {
|
3415
3417
|
const n = t[r];
|
3416
|
-
if (
|
3418
|
+
if (At(n))
|
3417
3419
|
return n;
|
3418
3420
|
}
|
3419
3421
|
}
|
3420
|
-
function
|
3421
|
-
delete O[e], ee.update((r) => (r[e] =
|
3422
|
+
function Pt(e, ...t) {
|
3423
|
+
delete O[e], ee.update((r) => (r[e] = dr.all([r[e] || {}, ...t]), r));
|
3422
3424
|
}
|
3423
3425
|
X(
|
3424
3426
|
[ee],
|
3425
3427
|
([e]) => Object.keys(e)
|
3426
3428
|
);
|
3427
|
-
ee.subscribe((e) =>
|
3429
|
+
ee.subscribe((e) => Ue = e);
|
3428
3430
|
const se = {};
|
3429
|
-
function
|
3431
|
+
function pn(e, t) {
|
3430
3432
|
se[e].delete(t), se[e].size === 0 && delete se[e];
|
3431
3433
|
}
|
3432
|
-
function
|
3434
|
+
function wt(e) {
|
3433
3435
|
return se[e];
|
3434
3436
|
}
|
3435
|
-
function
|
3437
|
+
function gn(e) {
|
3436
3438
|
return ce(e).map((t) => {
|
3437
|
-
const r =
|
3439
|
+
const r = wt(t);
|
3438
3440
|
return [t, r ? [...r] : []];
|
3439
3441
|
}).filter(([, t]) => t.length > 0);
|
3440
3442
|
}
|
@@ -3442,31 +3444,31 @@ function Le(e) {
|
|
3442
3444
|
return e == null ? !1 : ce(e).some(
|
3443
3445
|
(t) => {
|
3444
3446
|
var r;
|
3445
|
-
return (r =
|
3447
|
+
return (r = wt(t)) == null ? void 0 : r.size;
|
3446
3448
|
}
|
3447
3449
|
);
|
3448
3450
|
}
|
3449
|
-
function
|
3451
|
+
function dn(e, t) {
|
3450
3452
|
return Promise.all(
|
3451
|
-
t.map((n) => (
|
3452
|
-
).then((n) =>
|
3453
|
+
t.map((n) => (pn(e, n), n().then((i) => i.default || i)))
|
3454
|
+
).then((n) => Pt(e, ...n));
|
3453
3455
|
}
|
3454
3456
|
const q = {};
|
3455
|
-
function
|
3457
|
+
function Nt(e) {
|
3456
3458
|
if (!Le(e))
|
3457
3459
|
return e in q ? q[e] : Promise.resolve();
|
3458
|
-
const t =
|
3460
|
+
const t = gn(e);
|
3459
3461
|
return q[e] = Promise.all(
|
3460
3462
|
t.map(
|
3461
|
-
([r, n]) =>
|
3463
|
+
([r, n]) => dn(r, n)
|
3462
3464
|
)
|
3463
3465
|
).then(() => {
|
3464
3466
|
if (Le(e))
|
3465
|
-
return
|
3467
|
+
return Nt(e);
|
3466
3468
|
delete q[e];
|
3467
3469
|
}), q[e];
|
3468
3470
|
}
|
3469
|
-
const
|
3471
|
+
const bn = {
|
3470
3472
|
number: {
|
3471
3473
|
scientific: { notation: "scientific" },
|
3472
3474
|
engineering: { notation: "engineering" },
|
@@ -3495,34 +3497,34 @@ const dn = {
|
|
3495
3497
|
timeZoneName: "short"
|
3496
3498
|
}
|
3497
3499
|
}
|
3498
|
-
},
|
3500
|
+
}, yn = {
|
3499
3501
|
fallbackLocale: null,
|
3500
3502
|
loadingDelay: 200,
|
3501
|
-
formats:
|
3503
|
+
formats: bn,
|
3502
3504
|
warnOnMissingMessages: !0,
|
3503
3505
|
handleMissingMessage: void 0,
|
3504
3506
|
ignoreTag: !0
|
3505
|
-
},
|
3507
|
+
}, xn = yn;
|
3506
3508
|
function k() {
|
3507
|
-
return
|
3509
|
+
return xn;
|
3508
3510
|
}
|
3509
3511
|
const Ee = ue(!1);
|
3510
|
-
var
|
3512
|
+
var vn = Object.defineProperty, En = Object.defineProperties, _n = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
3511
3513
|
for (var r in t || (t = {}))
|
3512
|
-
|
3513
|
-
if (
|
3514
|
-
for (var r of
|
3515
|
-
|
3514
|
+
Hn.call(t, r) && Ke(e, r, t[r]);
|
3515
|
+
if (Ye)
|
3516
|
+
for (var r of Ye(t))
|
3517
|
+
Tn.call(t, r) && Ke(e, r, t[r]);
|
3516
3518
|
return e;
|
3517
|
-
},
|
3519
|
+
}, Sn = (e, t) => En(e, _n(t));
|
3518
3520
|
let Ie;
|
3519
3521
|
const oe = ue(null);
|
3520
|
-
function
|
3522
|
+
function et(e) {
|
3521
3523
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3522
3524
|
}
|
3523
3525
|
function ce(e, t = k().fallbackLocale) {
|
3524
|
-
const r =
|
3525
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3526
|
+
const r = et(e);
|
3527
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
3526
3528
|
}
|
3527
3529
|
function C() {
|
3528
3530
|
return Ie ?? void 0;
|
@@ -3530,22 +3532,22 @@ function C() {
|
|
3530
3532
|
oe.subscribe((e) => {
|
3531
3533
|
Ie = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3532
3534
|
});
|
3533
|
-
const
|
3534
|
-
if (e &&
|
3535
|
+
const An = (e) => {
|
3536
|
+
if (e && mn(e) && Le(e)) {
|
3535
3537
|
const { loadingDelay: t } = k();
|
3536
3538
|
let r;
|
3537
3539
|
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
3538
3540
|
() => Ee.set(!0),
|
3539
3541
|
t
|
3540
|
-
) : Ee.set(!0),
|
3542
|
+
) : Ee.set(!0), Nt(e).then(() => {
|
3541
3543
|
oe.set(e);
|
3542
3544
|
}).finally(() => {
|
3543
3545
|
clearTimeout(r), Ee.set(!1);
|
3544
3546
|
});
|
3545
3547
|
}
|
3546
3548
|
return oe.set(e);
|
3547
|
-
}, z = Bn(
|
3548
|
-
set:
|
3549
|
+
}, z = Sn(Bn({}, oe), {
|
3550
|
+
set: An
|
3549
3551
|
}), fe = (e) => {
|
3550
3552
|
const t = /* @__PURE__ */ Object.create(null);
|
3551
3553
|
return (n) => {
|
@@ -3553,20 +3555,20 @@ const Sn = (e) => {
|
|
3553
3555
|
return i in t ? t[i] : t[i] = e(n);
|
3554
3556
|
};
|
3555
3557
|
};
|
3556
|
-
var Pn = Object.defineProperty, ae = Object.getOwnPropertySymbols,
|
3558
|
+
var Pn = Object.defineProperty, ae = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
3557
3559
|
for (var r in t || (t = {}))
|
3558
|
-
|
3560
|
+
Ot.call(t, r) && tt(e, r, t[r]);
|
3559
3561
|
if (ae)
|
3560
3562
|
for (var r of ae(t))
|
3561
|
-
|
3563
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
3562
3564
|
return e;
|
3563
3565
|
}, W = (e, t) => {
|
3564
3566
|
var r = {};
|
3565
3567
|
for (var n in e)
|
3566
|
-
|
3568
|
+
Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3567
3569
|
if (e != null && ae)
|
3568
3570
|
for (var n of ae(e))
|
3569
|
-
t.indexOf(n) < 0 &&
|
3571
|
+
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
3570
3572
|
return r;
|
3571
3573
|
};
|
3572
3574
|
const Y = (e, t) => {
|
@@ -3574,21 +3576,21 @@ const Y = (e, t) => {
|
|
3574
3576
|
if (e in r && t in r[e])
|
3575
3577
|
return r[e][t];
|
3576
3578
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3577
|
-
},
|
3579
|
+
}, wn = fe(
|
3578
3580
|
(e) => {
|
3579
3581
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3580
3582
|
if (r == null)
|
3581
3583
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3582
3584
|
return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
|
3583
3585
|
}
|
3584
|
-
),
|
3586
|
+
), Nn = fe(
|
3585
3587
|
(e) => {
|
3586
3588
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3587
3589
|
if (r == null)
|
3588
3590
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3589
3591
|
return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
|
3590
3592
|
}
|
3591
|
-
),
|
3593
|
+
), On = fe(
|
3592
3594
|
(e) => {
|
3593
3595
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3594
3596
|
if (r == null)
|
@@ -3597,33 +3599,33 @@ const Y = (e, t) => {
|
|
3597
3599
|
);
|
3598
3600
|
return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
|
3599
3601
|
}
|
3600
|
-
),
|
3602
|
+
), Ln = (e = {}) => {
|
3601
3603
|
var t = e, {
|
3602
3604
|
locale: r = C()
|
3603
3605
|
} = t, n = W(t, [
|
3604
3606
|
"locale"
|
3605
3607
|
]);
|
3606
|
-
return
|
3607
|
-
},
|
3608
|
+
return wn(Ge({ locale: r }, n));
|
3609
|
+
}, In = (e = {}) => {
|
3608
3610
|
var t = e, {
|
3609
3611
|
locale: r = C()
|
3610
3612
|
} = t, n = W(t, [
|
3611
3613
|
"locale"
|
3612
3614
|
]);
|
3613
|
-
return
|
3614
|
-
},
|
3615
|
+
return Nn(Ge({ locale: r }, n));
|
3616
|
+
}, Cn = (e = {}) => {
|
3615
3617
|
var t = e, {
|
3616
3618
|
locale: r = C()
|
3617
3619
|
} = t, n = W(t, [
|
3618
3620
|
"locale"
|
3619
3621
|
]);
|
3620
|
-
return
|
3621
|
-
},
|
3622
|
+
return On(Ge({ locale: r }, n));
|
3623
|
+
}, $n = fe(
|
3622
3624
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3623
|
-
(e, t = C()) => new
|
3625
|
+
(e, t = C()) => new un(e, t, k().formats, {
|
3624
3626
|
ignoreTag: k().ignoreTag
|
3625
3627
|
})
|
3626
|
-
),
|
3628
|
+
), Mn = (e, t = {}) => {
|
3627
3629
|
var r, n, i, s;
|
3628
3630
|
let a = t;
|
3629
3631
|
typeof e == "object" && (a = e, e = a.id);
|
@@ -3636,7 +3638,7 @@ const Y = (e, t) => {
|
|
3636
3638
|
throw new Error(
|
3637
3639
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3638
3640
|
);
|
3639
|
-
let h =
|
3641
|
+
let h = St(e, l);
|
3640
3642
|
if (!h)
|
3641
3643
|
h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
3642
3644
|
else if (typeof h != "string")
|
@@ -3647,7 +3649,7 @@ const Y = (e, t) => {
|
|
3647
3649
|
return h;
|
3648
3650
|
let c = h;
|
3649
3651
|
try {
|
3650
|
-
c =
|
3652
|
+
c = $n(h, l).format(o);
|
3651
3653
|
} catch (f) {
|
3652
3654
|
f instanceof Error && console.warn(
|
3653
3655
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3655,18 +3657,18 @@ const Y = (e, t) => {
|
|
3655
3657
|
);
|
3656
3658
|
}
|
3657
3659
|
return c;
|
3658
|
-
},
|
3659
|
-
X([z], () => Mn);
|
3660
|
+
}, Rn = (e, t) => Cn(t).format(e), Dn = (e, t) => In(t).format(e), Un = (e, t) => Ln(t).format(e), Gn = (e, t = C()) => St(e, t), Fn = X([z, ee], () => Mn);
|
3660
3661
|
X([z], () => Rn);
|
3661
3662
|
X([z], () => Dn);
|
3662
|
-
X([z
|
3663
|
-
|
3664
|
-
|
3663
|
+
X([z], () => Un);
|
3664
|
+
X([z, ee], () => Gn);
|
3665
|
+
function rt(e, t) {
|
3666
|
+
Pt(e, t);
|
3665
3667
|
}
|
3666
|
-
function
|
3668
|
+
function jn(e) {
|
3667
3669
|
z.set(e);
|
3668
3670
|
}
|
3669
|
-
const
|
3671
|
+
const nt = {
|
3670
3672
|
en: {
|
3671
3673
|
sorry: "We are sorry",
|
3672
3674
|
access: "The page you are trying to access is available for logged-in users only. Please login.",
|
@@ -3758,10 +3760,10 @@ const tt = {
|
|
3758
3760
|
login: "Login"
|
3759
3761
|
}
|
3760
3762
|
};
|
3761
|
-
function jn(e) {
|
3762
|
-
It(e, "svelte-17wxvp", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.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%;font-size:12px;padding:20px}.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}}');
|
3763
|
-
}
|
3764
3763
|
function Vn(e) {
|
3764
|
+
$t(e, "svelte-17wxvp", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.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%;font-size:12px;padding:20px}.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}}');
|
3765
|
+
}
|
3766
|
+
function kn(e) {
|
3765
3767
|
let t, r, n, i, s, a, o, l, u, h, c = (
|
3766
3768
|
/*$_*/
|
3767
3769
|
e[1]("sorry") + ""
|
@@ -3771,18 +3773,18 @@ function Vn(e) {
|
|
3771
3773
|
), m, H, _, B = (
|
3772
3774
|
/*$_*/
|
3773
3775
|
e[1]("login") + ""
|
3774
|
-
), N,
|
3776
|
+
), N, A, L;
|
3775
3777
|
return {
|
3776
3778
|
c() {
|
3777
3779
|
t = I("div"), r = I("div"), n = $("svg"), i = $("g"), s = $("path"), a = $("path"), o = $("path"), l = $("path"), u = me(), h = I("p"), f = re(c), b = me(), y = I("p"), m = re(E), H = me(), _ = I("button"), N = re(B), v(s, "class", "a"), v(s, "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"), v(a, "class", "a"), v(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"), v(a, "transform", "translate(-116.772 -116.794)"), v(o, "class", "a"), v(o, "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"), v(o, "transform", "translate(-250.22 -116.794)"), v(l, "class", "a"), v(l, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), v(l, "transform", "translate(-109.326 -3.172)"), v(i, "transform", "translate(-9.37 -9.34)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "130.345"), v(n, "height", "130.345"), v(n, "viewBox", "0 0 130.345 130.345"), v(h, "class", "PageTitle"), v(y, "class", "PageContent"), v(_, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
|
3778
3780
|
},
|
3779
3781
|
m(w, Z) {
|
3780
|
-
|
3782
|
+
at(w, t, Z), T(t, r), T(r, n), T(n, i), T(i, s), T(i, a), T(i, o), T(i, l), T(r, u), T(r, h), T(h, f), T(r, b), T(r, y), T(y, m), T(r, H), T(r, _), T(_, N), e[8](t), A || (L = Dt(
|
3781
3783
|
_,
|
3782
3784
|
"click",
|
3783
3785
|
/*click_handler*/
|
3784
3786
|
e[7]
|
3785
|
-
),
|
3787
|
+
), A = !0);
|
3786
3788
|
},
|
3787
3789
|
p(w, [Z]) {
|
3788
3790
|
Z & /*$_*/
|
@@ -3793,33 +3795,33 @@ function Vn(e) {
|
|
3793
3795
|
2 && B !== (B = /*$_*/
|
3794
3796
|
w[1]("login") + "") && pe(N, B);
|
3795
3797
|
},
|
3796
|
-
i:
|
3797
|
-
o:
|
3798
|
+
i: P,
|
3799
|
+
o: P,
|
3798
3800
|
d(w) {
|
3799
|
-
w && $e(t), e[8](null),
|
3801
|
+
w && $e(t), e[8](null), A = !1, L();
|
3800
3802
|
}
|
3801
3803
|
};
|
3802
3804
|
}
|
3803
|
-
function
|
3805
|
+
function Xn(e, t, r) {
|
3804
3806
|
let n;
|
3805
|
-
|
3807
|
+
Ct(e, Fn, (m) => r(1, n = m));
|
3806
3808
|
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, o, { translationurl: l = "" } = t;
|
3807
3809
|
const u = () => {
|
3808
3810
|
fetch(l).then((H) => H.json()).then((H) => {
|
3809
3811
|
Object.keys(H).forEach((_) => {
|
3810
|
-
|
3812
|
+
rt(_, H[_]);
|
3811
3813
|
});
|
3812
3814
|
}).catch((H) => {
|
3813
3815
|
console.log(H);
|
3814
3816
|
});
|
3815
3817
|
};
|
3816
|
-
Object.keys(
|
3817
|
-
|
3818
|
+
Object.keys(nt).forEach((m) => {
|
3819
|
+
rt(m, nt[m]);
|
3818
3820
|
});
|
3819
3821
|
const h = () => {
|
3820
3822
|
window.postMessage({ type: "403ActionButton" }, window.location.href);
|
3821
3823
|
}, c = () => {
|
3822
|
-
|
3824
|
+
jn(i);
|
3823
3825
|
}, f = () => {
|
3824
3826
|
let m = document.createElement("style");
|
3825
3827
|
m.innerHTML = s, o.appendChild(m);
|
@@ -3859,21 +3861,21 @@ function kn(e, t, r) {
|
|
3859
3861
|
E
|
3860
3862
|
];
|
3861
3863
|
}
|
3862
|
-
class
|
3864
|
+
class zn extends Yt {
|
3863
3865
|
constructor(t) {
|
3864
|
-
super(),
|
3866
|
+
super(), Qt(
|
3865
3867
|
this,
|
3866
3868
|
t,
|
3869
|
+
Xn,
|
3867
3870
|
kn,
|
3868
|
-
|
3869
|
-
nt,
|
3871
|
+
st,
|
3870
3872
|
{
|
3871
3873
|
lang: 3,
|
3872
3874
|
clientstyling: 4,
|
3873
3875
|
clientstylingurl: 5,
|
3874
3876
|
translationurl: 6
|
3875
3877
|
},
|
3876
|
-
|
3878
|
+
Vn
|
3877
3879
|
);
|
3878
3880
|
}
|
3879
3881
|
get lang() {
|
@@ -3901,7 +3903,7 @@ class Xn extends Qt {
|
|
3901
3903
|
this.$$set({ translationurl: t }), U();
|
3902
3904
|
}
|
3903
3905
|
}
|
3904
|
-
|
3906
|
+
Jt(zn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
3905
3907
|
export {
|
3906
|
-
|
3908
|
+
zn as C
|
3907
3909
|
};
|