@everymatrix/casino-403 1.57.0 → 1.59.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-DQe_kvMd.js → Casino403-BCeV5M4B.js} +326 -328
- package/components/{Casino403-D5S7gC1s.js → Casino403-DEWJOjiA.js} +339 -341
- package/components/Casino403-tykZruQx.cjs +16 -0
- 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-BqAXh92-.cjs +0 -16
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var ge = (e, t, r) => t in e ?
|
1
|
+
var Rt = Object.defineProperty, Dt = Object.defineProperties;
|
2
|
+
var Ut = Object.getOwnPropertyDescriptors;
|
3
|
+
var Fe = Object.getOwnPropertySymbols;
|
4
|
+
var Gt = Object.prototype.hasOwnProperty, Ft = Object.prototype.propertyIsEnumerable;
|
5
|
+
var ge = (e, t, r) => t in e ? Rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Gt.call(t, r) && ge(e, r, t[r]);
|
8
|
+
if (Fe)
|
9
|
+
for (var r of Fe(t))
|
10
|
+
Ft.call(t, r) && ge(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, Ve = (e, t) => Dt(e, Ut(t));
|
13
13
|
var S = (e, t, r) => (ge(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
-
var
|
14
|
+
var ke = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var s = (h) => {
|
16
16
|
try {
|
17
17
|
u(r.next(h));
|
@@ -29,25 +29,25 @@ var ze = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function w() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function ut(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function Xe() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function te(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(ut);
|
40
40
|
}
|
41
41
|
function Re(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function ht(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function jt(e) {
|
48
48
|
return Object.keys(e).length === 0;
|
49
49
|
}
|
50
|
-
function
|
50
|
+
function lt(e, ...t) {
|
51
51
|
if (e == null) {
|
52
52
|
for (const n of t)
|
53
53
|
n(void 0);
|
@@ -56,20 +56,20 @@ function ft(e, ...t) {
|
|
56
56
|
const r = e.subscribe(...t);
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
58
58
|
}
|
59
|
-
function
|
60
|
-
e.$$.on_destroy.push(
|
59
|
+
function Vt(e, t, r) {
|
60
|
+
e.$$.on_destroy.push(lt(t, r));
|
61
61
|
}
|
62
62
|
function _(e, t) {
|
63
63
|
e.appendChild(t);
|
64
64
|
}
|
65
|
-
function
|
66
|
-
const n =
|
65
|
+
function kt(e, t, r) {
|
66
|
+
const n = Xt(e);
|
67
67
|
if (!n.getElementById(t)) {
|
68
68
|
const i = C("style");
|
69
|
-
i.id = t, i.textContent = r,
|
69
|
+
i.id = t, i.textContent = r, zt(n, i);
|
70
70
|
}
|
71
71
|
}
|
72
|
-
function
|
72
|
+
function Xt(e) {
|
73
73
|
if (!e)
|
74
74
|
return document;
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -79,14 +79,14 @@ function Wt(e) {
|
|
79
79
|
t
|
80
80
|
) : e.ownerDocument;
|
81
81
|
}
|
82
|
-
function
|
82
|
+
function zt(e, t) {
|
83
83
|
return _(
|
84
84
|
/** @type {Document} */
|
85
85
|
e.head || e,
|
86
86
|
t
|
87
87
|
), t.sheet;
|
88
88
|
}
|
89
|
-
function
|
89
|
+
function ct(e, t, r) {
|
90
90
|
e.insertBefore(t, r || null);
|
91
91
|
}
|
92
92
|
function De(e) {
|
@@ -104,20 +104,20 @@ function ie(e) {
|
|
104
104
|
function de() {
|
105
105
|
return ie(" ");
|
106
106
|
}
|
107
|
-
function
|
107
|
+
function Wt(e, t, r, n) {
|
108
108
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
109
109
|
}
|
110
110
|
function v(e, t, r) {
|
111
111
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
112
112
|
}
|
113
|
-
function
|
113
|
+
function Zt(e) {
|
114
114
|
return Array.from(e.childNodes);
|
115
115
|
}
|
116
116
|
function be(e, t) {
|
117
117
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
118
118
|
t);
|
119
119
|
}
|
120
|
-
function
|
120
|
+
function qt(e) {
|
121
121
|
const t = {};
|
122
122
|
return e.childNodes.forEach(
|
123
123
|
/** @param {Element} node */
|
@@ -130,20 +130,20 @@ let Y;
|
|
130
130
|
function J(e) {
|
131
131
|
Y = e;
|
132
132
|
}
|
133
|
-
function
|
133
|
+
function Qt() {
|
134
134
|
if (!Y)
|
135
135
|
throw new Error("Function called outside component initialization");
|
136
136
|
return Y;
|
137
137
|
}
|
138
|
-
function
|
139
|
-
|
138
|
+
function Jt(e) {
|
139
|
+
Qt().$$.on_mount.push(e);
|
140
140
|
}
|
141
141
|
const G = [], Be = [];
|
142
142
|
let F = [];
|
143
|
-
const
|
143
|
+
const ze = [], Yt = /* @__PURE__ */ Promise.resolve();
|
144
144
|
let Se = !1;
|
145
|
-
function
|
146
|
-
Se || (Se = !0,
|
145
|
+
function Kt() {
|
146
|
+
Se || (Se = !0, Yt.then($));
|
147
147
|
}
|
148
148
|
function Pe(e) {
|
149
149
|
F.push(e);
|
@@ -158,7 +158,7 @@ function $() {
|
|
158
158
|
try {
|
159
159
|
for (; D < G.length; ) {
|
160
160
|
const t = G[D];
|
161
|
-
D++, J(t),
|
161
|
+
D++, J(t), er(t.$$);
|
162
162
|
}
|
163
163
|
} catch (t) {
|
164
164
|
throw G.length = 0, D = 0, t;
|
@@ -171,40 +171,40 @@ function $() {
|
|
171
171
|
}
|
172
172
|
F.length = 0;
|
173
173
|
} while (G.length);
|
174
|
-
for (;
|
175
|
-
|
174
|
+
for (; ze.length; )
|
175
|
+
ze.pop()();
|
176
176
|
Se = !1, ye.clear(), J(e);
|
177
177
|
}
|
178
|
-
function
|
178
|
+
function er(e) {
|
179
179
|
if (e.fragment !== null) {
|
180
180
|
e.update(), te(e.before_update);
|
181
181
|
const t = e.dirty;
|
182
182
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
|
183
183
|
}
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function tr(e) {
|
186
186
|
const t = [], r = [];
|
187
187
|
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
188
188
|
}
|
189
|
-
const
|
190
|
-
function
|
191
|
-
e && e.i && (
|
189
|
+
const rr = /* @__PURE__ */ new Set();
|
190
|
+
function nr(e, t) {
|
191
|
+
e && e.i && (rr.delete(e), e.i(t));
|
192
192
|
}
|
193
|
-
function
|
193
|
+
function ir(e, t, r) {
|
194
194
|
const { fragment: n, after_update: i } = e.$$;
|
195
195
|
n && n.m(t, r), Pe(() => {
|
196
|
-
const s = e.$$.on_mount.map(
|
196
|
+
const s = e.$$.on_mount.map(ut).filter(Re);
|
197
197
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
198
198
|
}), i.forEach(Pe);
|
199
199
|
}
|
200
|
-
function
|
200
|
+
function sr(e, t) {
|
201
201
|
const r = e.$$;
|
202
|
-
r.fragment !== null && (
|
202
|
+
r.fragment !== null && (tr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
203
203
|
}
|
204
|
-
function
|
205
|
-
e.$$.dirty[0] === -1 && (G.push(e),
|
204
|
+
function or(e, t) {
|
205
|
+
e.$$.dirty[0] === -1 && (G.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
206
206
|
}
|
207
|
-
function
|
207
|
+
function ar(e, t, r, n, i, s, a = null, u = [-1]) {
|
208
208
|
const h = Y;
|
209
209
|
J(e);
|
210
210
|
const o = e.$$ = {
|
@@ -214,7 +214,7 @@ function hr(e, t, r, n, i, s, a = null, u = [-1]) {
|
|
214
214
|
props: s,
|
215
215
|
update: w,
|
216
216
|
not_equal: i,
|
217
|
-
bound:
|
217
|
+
bound: Xe(),
|
218
218
|
// lifecycle
|
219
219
|
on_mount: [],
|
220
220
|
on_destroy: [],
|
@@ -223,7 +223,7 @@ function hr(e, t, r, n, i, s, a = null, u = [-1]) {
|
|
223
223
|
after_update: [],
|
224
224
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
225
225
|
// everything else
|
226
|
-
callbacks:
|
226
|
+
callbacks: Xe(),
|
227
227
|
dirty: u,
|
228
228
|
skip_bound: !1,
|
229
229
|
root: t.target || h.$$.root
|
@@ -232,19 +232,19 @@ function hr(e, t, r, n, i, s, a = null, u = [-1]) {
|
|
232
232
|
let l = !1;
|
233
233
|
if (o.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
234
234
|
const y = b.length ? b[0] : f;
|
235
|
-
return o.ctx && i(o.ctx[c], o.ctx[c] = y) && (!o.skip_bound && o.bound[c] && o.bound[c](y), l &&
|
235
|
+
return o.ctx && i(o.ctx[c], o.ctx[c] = y) && (!o.skip_bound && o.bound[c] && o.bound[c](y), l && or(e, c)), f;
|
236
236
|
}) : [], o.update(), l = !0, te(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
|
237
237
|
if (t.hydrate) {
|
238
|
-
const c =
|
238
|
+
const c = Zt(t.target);
|
239
239
|
o.fragment && o.fragment.l(c), c.forEach(De);
|
240
240
|
} else
|
241
241
|
o.fragment && o.fragment.c();
|
242
|
-
t.intro &&
|
242
|
+
t.intro && nr(e.$$.fragment), ir(e, t.target, t.anchor), $();
|
243
243
|
}
|
244
244
|
J(h);
|
245
245
|
}
|
246
|
-
let
|
247
|
-
typeof HTMLElement == "function" && (
|
246
|
+
let ft;
|
247
|
+
typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
248
248
|
constructor(t, r, n) {
|
249
249
|
super();
|
250
250
|
/** The Svelte component constructor */
|
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
281
281
|
}
|
282
282
|
}
|
283
283
|
connectedCallback() {
|
284
|
-
return
|
284
|
+
return ke(this, null, function* () {
|
285
285
|
if (this.$$cn = !0, !this.$$c) {
|
286
286
|
let t = function(s) {
|
287
287
|
return () => {
|
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
295
295
|
* @param {HTMLElement} [anchor]
|
296
296
|
*/
|
297
297
|
m: function(o, l) {
|
298
|
-
|
298
|
+
ct(o, a, l);
|
299
299
|
},
|
300
300
|
d: function(o) {
|
301
301
|
o && De(a);
|
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
305
305
|
};
|
306
306
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
307
307
|
return;
|
308
|
-
const r = {}, n =
|
308
|
+
const r = {}, n = qt(this);
|
309
309
|
for (const s of this.$$s)
|
310
310
|
s in n && (r[s] = [t(s)]);
|
311
311
|
for (const s of this.attributes) {
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
316
316
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
317
317
|
this.$$c = new this.$$ctor({
|
318
318
|
target: this.shadowRoot || this,
|
319
|
-
props:
|
319
|
+
props: Ve(je({}, this.$$d), {
|
320
320
|
$$slots: r,
|
321
321
|
$$scope: {
|
322
322
|
ctx: []
|
@@ -394,8 +394,8 @@ function se(e, t, r, n) {
|
|
394
394
|
return t;
|
395
395
|
}
|
396
396
|
}
|
397
|
-
function
|
398
|
-
let a = class extends
|
397
|
+
function ur(e, t, r, n, i, s) {
|
398
|
+
let a = class extends ft {
|
399
399
|
constructor() {
|
400
400
|
super(e, r, i), this.$$p_d = t;
|
401
401
|
}
|
@@ -425,7 +425,7 @@ function lr(e, t, r, n, i, s) {
|
|
425
425
|
}), e.element = /** @type {any} */
|
426
426
|
a, a;
|
427
427
|
}
|
428
|
-
class
|
428
|
+
class hr {
|
429
429
|
constructor() {
|
430
430
|
/**
|
431
431
|
* ### PRIVATE API
|
@@ -446,7 +446,7 @@ class cr {
|
|
446
446
|
}
|
447
447
|
/** @returns {void} */
|
448
448
|
$destroy() {
|
449
|
-
|
449
|
+
sr(this, 1), this.$destroy = w;
|
450
450
|
}
|
451
451
|
/**
|
452
452
|
* @template {Extract<keyof Events, string>} K
|
@@ -468,13 +468,13 @@ class cr {
|
|
468
468
|
* @returns {void}
|
469
469
|
*/
|
470
470
|
$set(t) {
|
471
|
-
this.$$set && !
|
471
|
+
this.$$set && !jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
472
472
|
}
|
473
473
|
}
|
474
|
-
const
|
475
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
474
|
+
const lr = "4";
|
475
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(lr);
|
476
476
|
const U = [];
|
477
|
-
function
|
477
|
+
function cr(e, t) {
|
478
478
|
return {
|
479
479
|
subscribe: le(e, t).subscribe
|
480
480
|
};
|
@@ -483,7 +483,7 @@ function le(e, t = w) {
|
|
483
483
|
let r;
|
484
484
|
const n = /* @__PURE__ */ new Set();
|
485
485
|
function i(u) {
|
486
|
-
if (
|
486
|
+
if (ht(e, u) && (e = u, r)) {
|
487
487
|
const h = !U.length;
|
488
488
|
for (const o of n)
|
489
489
|
o[1](), U.push(o, e);
|
@@ -510,7 +510,7 @@ function z(e, t, r) {
|
|
510
510
|
if (!i.every(Boolean))
|
511
511
|
throw new Error("derived() expects stores as input, got a falsy value");
|
512
512
|
const s = t.length < 2;
|
513
|
-
return
|
513
|
+
return cr(r, (a, u) => {
|
514
514
|
let h = !1;
|
515
515
|
const o = [];
|
516
516
|
let l = 0, c = w;
|
@@ -521,7 +521,7 @@ function z(e, t, r) {
|
|
521
521
|
const y = t(n ? o[0] : o, a, u);
|
522
522
|
s ? a(y) : c = Re(y) ? y : w;
|
523
523
|
}, b = i.map(
|
524
|
-
(y, m) =>
|
524
|
+
(y, m) => lt(
|
525
525
|
y,
|
526
526
|
(E) => {
|
527
527
|
o[m] = E, l &= ~(1 << m), h && f();
|
@@ -536,70 +536,70 @@ function z(e, t, r) {
|
|
536
536
|
};
|
537
537
|
});
|
538
538
|
}
|
539
|
-
function
|
539
|
+
function fr(e) {
|
540
540
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
541
541
|
}
|
542
|
-
var
|
543
|
-
return
|
542
|
+
var mr = function(t) {
|
543
|
+
return pr(t) && !gr(t);
|
544
544
|
};
|
545
|
-
function
|
545
|
+
function pr(e) {
|
546
546
|
return !!e && typeof e == "object";
|
547
547
|
}
|
548
|
-
function
|
548
|
+
function gr(e) {
|
549
549
|
var t = Object.prototype.toString.call(e);
|
550
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
550
|
+
return t === "[object RegExp]" || t === "[object Date]" || yr(e);
|
551
551
|
}
|
552
|
-
var
|
553
|
-
function
|
554
|
-
return e.$$typeof ===
|
552
|
+
var dr = typeof Symbol == "function" && Symbol.for, br = dr ? Symbol.for("react.element") : 60103;
|
553
|
+
function yr(e) {
|
554
|
+
return e.$$typeof === br;
|
555
555
|
}
|
556
|
-
function
|
556
|
+
function xr(e) {
|
557
557
|
return Array.isArray(e) ? [] : {};
|
558
558
|
}
|
559
559
|
function K(e, t) {
|
560
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? j(
|
560
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(xr(e), e, t) : e;
|
561
561
|
}
|
562
|
-
function
|
562
|
+
function vr(e, t, r) {
|
563
563
|
return e.concat(t).map(function(n) {
|
564
564
|
return K(n, r);
|
565
565
|
});
|
566
566
|
}
|
567
|
-
function
|
567
|
+
function Er(e, t) {
|
568
568
|
if (!t.customMerge)
|
569
569
|
return j;
|
570
570
|
var r = t.customMerge(e);
|
571
571
|
return typeof r == "function" ? r : j;
|
572
572
|
}
|
573
|
-
function
|
573
|
+
function _r(e) {
|
574
574
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
575
575
|
return Object.propertyIsEnumerable.call(e, t);
|
576
576
|
}) : [];
|
577
577
|
}
|
578
|
-
function
|
579
|
-
return Object.keys(e).concat(
|
578
|
+
function We(e) {
|
579
|
+
return Object.keys(e).concat(_r(e));
|
580
580
|
}
|
581
|
-
function
|
581
|
+
function mt(e, t) {
|
582
582
|
try {
|
583
583
|
return t in e;
|
584
584
|
} catch (r) {
|
585
585
|
return !1;
|
586
586
|
}
|
587
587
|
}
|
588
|
-
function
|
589
|
-
return
|
588
|
+
function Hr(e, t) {
|
589
|
+
return mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
590
590
|
}
|
591
|
-
function
|
591
|
+
function Tr(e, t, r) {
|
592
592
|
var n = {};
|
593
|
-
return r.isMergeableObject(e) &&
|
593
|
+
return r.isMergeableObject(e) && We(e).forEach(function(i) {
|
594
594
|
n[i] = K(e[i], r);
|
595
|
-
}),
|
596
|
-
|
595
|
+
}), We(t).forEach(function(i) {
|
596
|
+
Hr(e, i) || (mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
597
597
|
}), n;
|
598
598
|
}
|
599
599
|
function j(e, t, r) {
|
600
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
600
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || mr, r.cloneUnlessOtherwiseSpecified = K;
|
601
601
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
602
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
602
|
+
return s ? n ? r.arrayMerge(e, t, r) : Tr(e, t, r) : K(t, r);
|
603
603
|
}
|
604
604
|
j.all = function(t, r) {
|
605
605
|
if (!Array.isArray(t))
|
@@ -608,8 +608,8 @@ j.all = function(t, r) {
|
|
608
608
|
return j(n, i, r);
|
609
609
|
}, {});
|
610
610
|
};
|
611
|
-
var
|
612
|
-
const
|
611
|
+
var Br = j, Sr = Br;
|
612
|
+
const Pr = /* @__PURE__ */ fr(Sr);
|
613
613
|
/*! *****************************************************************************
|
614
614
|
Copyright (c) Microsoft Corporation.
|
615
615
|
|
@@ -651,7 +651,7 @@ var d = function() {
|
|
651
651
|
return t;
|
652
652
|
}, d.apply(this, arguments);
|
653
653
|
};
|
654
|
-
function
|
654
|
+
function Ar(e, t) {
|
655
655
|
var r = {};
|
656
656
|
for (var n in e)
|
657
657
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -667,55 +667,53 @@ function xe(e, t, r) {
|
|
667
667
|
return e.concat(s || t);
|
668
668
|
}
|
669
669
|
function ve(e, t) {
|
670
|
-
var r = t && t.cache ? t.cache :
|
670
|
+
var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Ir, i = t && t.strategy ? t.strategy : Lr;
|
671
671
|
return i(e, {
|
672
672
|
cache: r,
|
673
673
|
serializer: n
|
674
674
|
});
|
675
675
|
}
|
676
|
-
function
|
676
|
+
function wr(e) {
|
677
677
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
678
678
|
}
|
679
|
-
function
|
680
|
-
var i =
|
679
|
+
function Nr(e, t, r, n) {
|
680
|
+
var i = wr(n) ? n : r(n), s = t.get(i);
|
681
681
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
682
682
|
}
|
683
|
-
function
|
683
|
+
function pt(e, t, r) {
|
684
684
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
685
685
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
686
686
|
}
|
687
|
-
function
|
687
|
+
function gt(e, t, r, n, i) {
|
688
688
|
return r.bind(t, e, n, i);
|
689
689
|
}
|
690
|
-
function
|
691
|
-
var r = e.length === 1 ?
|
692
|
-
return
|
693
|
-
}
|
694
|
-
function Ir(e, t) {
|
695
|
-
return Ue(e, this, bt, t.cache.create(), t.serializer);
|
690
|
+
function Lr(e, t) {
|
691
|
+
var r = e.length === 1 ? Nr : pt;
|
692
|
+
return gt(e, this, r, t.cache.create(), t.serializer);
|
696
693
|
}
|
697
|
-
function
|
698
|
-
return
|
694
|
+
function Or(e, t) {
|
695
|
+
return gt(e, this, pt, t.cache.create(), t.serializer);
|
699
696
|
}
|
700
|
-
var
|
697
|
+
var Ir = function() {
|
701
698
|
return JSON.stringify(arguments);
|
702
|
-
}
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
699
|
+
}, Cr = (
|
700
|
+
/** @class */
|
701
|
+
function() {
|
702
|
+
function e() {
|
703
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
704
|
+
}
|
705
|
+
return e.prototype.get = function(t) {
|
706
|
+
return this.cache[t];
|
707
|
+
}, e.prototype.set = function(t, r) {
|
708
|
+
this.cache[t] = r;
|
709
|
+
}, e;
|
710
|
+
}()
|
711
|
+
), $r = {
|
713
712
|
create: function() {
|
714
|
-
return new
|
713
|
+
return new Cr();
|
715
714
|
}
|
716
715
|
}, Ee = {
|
717
|
-
variadic:
|
718
|
-
monadic: Cr
|
716
|
+
variadic: Or
|
719
717
|
}, p;
|
720
718
|
(function(e) {
|
721
719
|
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";
|
@@ -728,43 +726,43 @@ var V;
|
|
728
726
|
(function(e) {
|
729
727
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
730
728
|
})(V || (V = {}));
|
731
|
-
function
|
729
|
+
function Ze(e) {
|
732
730
|
return e.type === x.literal;
|
733
731
|
}
|
734
|
-
function
|
732
|
+
function Mr(e) {
|
735
733
|
return e.type === x.argument;
|
736
734
|
}
|
737
|
-
function
|
735
|
+
function dt(e) {
|
738
736
|
return e.type === x.number;
|
739
737
|
}
|
740
|
-
function
|
738
|
+
function bt(e) {
|
741
739
|
return e.type === x.date;
|
742
740
|
}
|
743
|
-
function
|
741
|
+
function yt(e) {
|
744
742
|
return e.type === x.time;
|
745
743
|
}
|
746
|
-
function
|
744
|
+
function xt(e) {
|
747
745
|
return e.type === x.select;
|
748
746
|
}
|
749
|
-
function
|
747
|
+
function vt(e) {
|
750
748
|
return e.type === x.plural;
|
751
749
|
}
|
752
|
-
function
|
750
|
+
function Rr(e) {
|
753
751
|
return e.type === x.pound;
|
754
752
|
}
|
755
|
-
function
|
753
|
+
function Et(e) {
|
756
754
|
return e.type === x.tag;
|
757
755
|
}
|
758
|
-
function
|
756
|
+
function _t(e) {
|
759
757
|
return !!(e && typeof e == "object" && e.type === V.number);
|
760
758
|
}
|
761
759
|
function we(e) {
|
762
760
|
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
763
761
|
}
|
764
|
-
var
|
765
|
-
function
|
762
|
+
var Ht = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
|
763
|
+
function Ur(e) {
|
766
764
|
var t = {};
|
767
|
-
return e.replace(
|
765
|
+
return e.replace(Dr, function(r) {
|
768
766
|
var n = r.length;
|
769
767
|
switch (r[0]) {
|
770
768
|
case "G":
|
@@ -853,11 +851,11 @@ function Gr(e) {
|
|
853
851
|
return "";
|
854
852
|
}), t;
|
855
853
|
}
|
856
|
-
var
|
857
|
-
function
|
854
|
+
var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
855
|
+
function Fr(e) {
|
858
856
|
if (e.length === 0)
|
859
857
|
throw new Error("Number skeleton cannot be empty");
|
860
|
-
for (var t = e.split(
|
858
|
+
for (var t = e.split(Gr).filter(function(f) {
|
861
859
|
return f.length > 0;
|
862
860
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
863
861
|
var s = i[n], a = s.split("/");
|
@@ -872,17 +870,17 @@ function jr(e) {
|
|
872
870
|
}
|
873
871
|
return r;
|
874
872
|
}
|
875
|
-
function
|
873
|
+
function jr(e) {
|
876
874
|
return e.replace(/^(.*?)-/, "");
|
877
875
|
}
|
878
|
-
var
|
879
|
-
function
|
876
|
+
var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
|
877
|
+
function Qe(e) {
|
880
878
|
var t = {};
|
881
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
879
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
|
882
880
|
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)), "";
|
883
881
|
}), t;
|
884
882
|
}
|
885
|
-
function
|
883
|
+
function St(e) {
|
886
884
|
switch (e) {
|
887
885
|
case "sign-auto":
|
888
886
|
return {
|
@@ -922,7 +920,7 @@ function At(e) {
|
|
922
920
|
};
|
923
921
|
}
|
924
922
|
}
|
925
|
-
function
|
923
|
+
function kr(e) {
|
926
924
|
var t;
|
927
925
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
928
926
|
notation: "engineering"
|
@@ -930,17 +928,17 @@ function Xr(e) {
|
|
930
928
|
notation: "scientific"
|
931
929
|
}, e = e.slice(1)), t) {
|
932
930
|
var r = e.slice(0, 2);
|
933
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
931
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Bt.test(e))
|
934
932
|
throw new Error("Malformed concise eng/scientific notation");
|
935
933
|
t.minimumIntegerDigits = e.length;
|
936
934
|
}
|
937
935
|
return t;
|
938
936
|
}
|
939
|
-
function
|
940
|
-
var t = {}, r =
|
937
|
+
function Je(e) {
|
938
|
+
var t = {}, r = St(e);
|
941
939
|
return r || t;
|
942
940
|
}
|
943
|
-
function
|
941
|
+
function Xr(e) {
|
944
942
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
945
943
|
var i = n[r];
|
946
944
|
switch (i.stem) {
|
@@ -964,7 +962,7 @@ function zr(e) {
|
|
964
962
|
continue;
|
965
963
|
case "measure-unit":
|
966
964
|
case "unit":
|
967
|
-
t.style = "unit", t.unit =
|
965
|
+
t.style = "unit", t.unit = jr(i.options[0]);
|
968
966
|
continue;
|
969
967
|
case "compact-short":
|
970
968
|
case "K":
|
@@ -976,12 +974,12 @@ function zr(e) {
|
|
976
974
|
continue;
|
977
975
|
case "scientific":
|
978
976
|
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, o) {
|
979
|
-
return d(d({}, h),
|
977
|
+
return d(d({}, h), Je(o));
|
980
978
|
}, {}));
|
981
979
|
continue;
|
982
980
|
case "engineering":
|
983
981
|
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, o) {
|
984
|
-
return d(d({}, h),
|
982
|
+
return d(d({}, h), Je(o));
|
985
983
|
}, {}));
|
986
984
|
continue;
|
987
985
|
case "notation-simple":
|
@@ -1026,7 +1024,7 @@ function zr(e) {
|
|
1026
1024
|
case "integer-width":
|
1027
1025
|
if (i.options.length > 1)
|
1028
1026
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1029
|
-
i.options[0].replace(
|
1027
|
+
i.options[0].replace(Vr, function(h, o, l, c, f, b) {
|
1030
1028
|
if (o)
|
1031
1029
|
t.minimumIntegerDigits = l.length;
|
1032
1030
|
else {
|
@@ -1039,27 +1037,27 @@ function zr(e) {
|
|
1039
1037
|
});
|
1040
1038
|
continue;
|
1041
1039
|
}
|
1042
|
-
if (
|
1040
|
+
if (Bt.test(i.stem)) {
|
1043
1041
|
t.minimumIntegerDigits = i.stem.length;
|
1044
1042
|
continue;
|
1045
1043
|
}
|
1046
|
-
if (
|
1044
|
+
if (qe.test(i.stem)) {
|
1047
1045
|
if (i.options.length > 1)
|
1048
1046
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1049
|
-
i.stem.replace(
|
1047
|
+
i.stem.replace(qe, function(h, o, l, c, f, b) {
|
1050
1048
|
return l === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
|
1051
1049
|
});
|
1052
1050
|
var s = i.options[0];
|
1053
|
-
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t),
|
1051
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Qe(s)));
|
1054
1052
|
continue;
|
1055
1053
|
}
|
1056
|
-
if (
|
1057
|
-
t = d(d({}, t),
|
1054
|
+
if (Tt.test(i.stem)) {
|
1055
|
+
t = d(d({}, t), Qe(i.stem));
|
1058
1056
|
continue;
|
1059
1057
|
}
|
1060
|
-
var a =
|
1058
|
+
var a = St(i.stem);
|
1061
1059
|
a && (t = d(d({}, t), a));
|
1062
|
-
var u =
|
1060
|
+
var u = kr(i.stem);
|
1063
1061
|
u && (t = d(d({}, t), u));
|
1064
1062
|
}
|
1065
1063
|
return t;
|
@@ -2479,13 +2477,13 @@ var ne = {
|
|
2479
2477
|
"h"
|
2480
2478
|
]
|
2481
2479
|
};
|
2482
|
-
function
|
2480
|
+
function zr(e, t) {
|
2483
2481
|
for (var r = "", n = 0; n < e.length; n++) {
|
2484
2482
|
var i = e.charAt(n);
|
2485
2483
|
if (i === "j") {
|
2486
2484
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2487
2485
|
s++, n++;
|
2488
|
-
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o =
|
2486
|
+
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o = Wr(t);
|
2489
2487
|
for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
|
2490
2488
|
r += h;
|
2491
2489
|
for (; a-- > 0; )
|
@@ -2495,7 +2493,7 @@ function Wr(e, t) {
|
|
2495
2493
|
}
|
2496
2494
|
return r;
|
2497
2495
|
}
|
2498
|
-
function
|
2496
|
+
function Wr(e) {
|
2499
2497
|
var t = e.hourCycle;
|
2500
2498
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2501
2499
|
e.hourCycles && // @ts-ignore
|
@@ -2517,20 +2515,20 @@ function Zr(e) {
|
|
2517
2515
|
var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
|
2518
2516
|
return i[0];
|
2519
2517
|
}
|
2520
|
-
var _e,
|
2518
|
+
var _e, Zr = new RegExp("^".concat(Ht.source, "*")), qr = new RegExp("".concat(Ht.source, "*$"));
|
2521
2519
|
function g(e, t) {
|
2522
2520
|
return { start: e, end: t };
|
2523
2521
|
}
|
2524
|
-
var
|
2522
|
+
var Qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jr = !!String.fromCodePoint, Yr = !!Object.fromEntries, Kr = !!String.prototype.codePointAt, en = !!String.prototype.trimStart, tn = !!String.prototype.trimEnd, rn = !!Number.isSafeInteger, nn = rn ? Number.isSafeInteger : function(e) {
|
2525
2523
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2526
2524
|
}, Ne = !0;
|
2527
2525
|
try {
|
2528
|
-
var
|
2529
|
-
Ne = ((_e =
|
2526
|
+
var sn = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2527
|
+
Ne = ((_e = sn.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
2530
2528
|
} catch (e) {
|
2531
2529
|
Ne = !1;
|
2532
2530
|
}
|
2533
|
-
var
|
2531
|
+
var Ye = Qr ? (
|
2534
2532
|
// Native
|
2535
2533
|
function(t, r, n) {
|
2536
2534
|
return t.startsWith(r, n);
|
@@ -2540,7 +2538,7 @@ var et = Jr ? (
|
|
2540
2538
|
function(t, r, n) {
|
2541
2539
|
return t.slice(n, n + r.length) === r;
|
2542
2540
|
}
|
2543
|
-
), Le =
|
2541
|
+
), Le = Jr ? String.fromCodePoint : (
|
2544
2542
|
// IE11
|
2545
2543
|
function() {
|
2546
2544
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2552,9 +2550,9 @@ var et = Jr ? (
|
|
2552
2550
|
}
|
2553
2551
|
return n;
|
2554
2552
|
}
|
2555
|
-
),
|
2553
|
+
), Ke = (
|
2556
2554
|
// native
|
2557
|
-
|
2555
|
+
Yr ? Object.fromEntries : (
|
2558
2556
|
// Ponyfill
|
2559
2557
|
function(t) {
|
2560
2558
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2564,7 +2562,7 @@ var et = Jr ? (
|
|
2564
2562
|
return r;
|
2565
2563
|
}
|
2566
2564
|
)
|
2567
|
-
),
|
2565
|
+
), Pt = Kr ? (
|
2568
2566
|
// Native
|
2569
2567
|
function(t, r) {
|
2570
2568
|
return t.codePointAt(r);
|
@@ -2578,7 +2576,7 @@ var et = Jr ? (
|
|
2578
2576
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2579
2577
|
}
|
2580
2578
|
}
|
2581
|
-
),
|
2579
|
+
), on = en ? (
|
2582
2580
|
// Native
|
2583
2581
|
function(t) {
|
2584
2582
|
return t.trimStart();
|
@@ -2586,9 +2584,9 @@ var et = Jr ? (
|
|
2586
2584
|
) : (
|
2587
2585
|
// Ponyfill
|
2588
2586
|
function(t) {
|
2589
|
-
return t.replace(
|
2587
|
+
return t.replace(Zr, "");
|
2590
2588
|
}
|
2591
|
-
),
|
2589
|
+
), an = tn ? (
|
2592
2590
|
// Native
|
2593
2591
|
function(t) {
|
2594
2592
|
return t.trimEnd();
|
@@ -2596,32 +2594,32 @@ var et = Jr ? (
|
|
2596
2594
|
) : (
|
2597
2595
|
// Ponyfill
|
2598
2596
|
function(t) {
|
2599
|
-
return t.replace(
|
2597
|
+
return t.replace(qr, "");
|
2600
2598
|
}
|
2601
2599
|
);
|
2602
|
-
function
|
2600
|
+
function At(e, t) {
|
2603
2601
|
return new RegExp(e, t);
|
2604
2602
|
}
|
2605
2603
|
var Oe;
|
2606
2604
|
if (Ne) {
|
2607
|
-
var
|
2605
|
+
var et = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2608
2606
|
Oe = function(t, r) {
|
2609
2607
|
var n;
|
2610
|
-
|
2611
|
-
var i =
|
2608
|
+
et.lastIndex = r;
|
2609
|
+
var i = et.exec(t);
|
2612
2610
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2613
2611
|
};
|
2614
2612
|
} else
|
2615
2613
|
Oe = function(t, r) {
|
2616
2614
|
for (var n = []; ; ) {
|
2617
|
-
var i =
|
2618
|
-
if (i === void 0 ||
|
2615
|
+
var i = Pt(t, r);
|
2616
|
+
if (i === void 0 || wt(i) || cn(i))
|
2619
2617
|
break;
|
2620
2618
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2621
2619
|
}
|
2622
2620
|
return Le.apply(void 0, n);
|
2623
2621
|
};
|
2624
|
-
var
|
2622
|
+
var un = (
|
2625
2623
|
/** @class */
|
2626
2624
|
function() {
|
2627
2625
|
function e(t, r) {
|
@@ -2703,7 +2701,7 @@ var hn = (
|
|
2703
2701
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
2704
2702
|
}, e.prototype.parseTagName = function() {
|
2705
2703
|
var t = this.offset();
|
2706
|
-
for (this.bump(); !this.isEOF() &&
|
2704
|
+
for (this.bump(); !this.isEOF() && ln(this.char()); )
|
2707
2705
|
this.bump();
|
2708
2706
|
return this.message.slice(t, this.offset());
|
2709
2707
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2732,7 +2730,7 @@ var hn = (
|
|
2732
2730
|
};
|
2733
2731
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2734
2732
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2735
|
-
!
|
2733
|
+
!hn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2736
2734
|
}, e.prototype.tryParseQuote = function(t) {
|
2737
2735
|
if (this.isEOF() || this.char() !== 39)
|
2738
2736
|
return null;
|
@@ -2819,7 +2817,7 @@ var hn = (
|
|
2819
2817
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2820
2818
|
if (c.err)
|
2821
2819
|
return c;
|
2822
|
-
var f =
|
2820
|
+
var f = an(c.val);
|
2823
2821
|
if (f.length === 0)
|
2824
2822
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
2825
2823
|
var b = g(l, this.clonePosition());
|
@@ -2829,8 +2827,8 @@ var hn = (
|
|
2829
2827
|
if (y.err)
|
2830
2828
|
return y;
|
2831
2829
|
var m = g(i, this.clonePosition());
|
2832
|
-
if (o &&
|
2833
|
-
var E =
|
2830
|
+
if (o && Ye(o == null ? void 0 : o.style, "::", 0)) {
|
2831
|
+
var E = on(o.style.slice(2));
|
2834
2832
|
if (u === "number") {
|
2835
2833
|
var c = this.parseNumberSkeletonFromString(E, o.styleLocation);
|
2836
2834
|
return c.err ? c : {
|
@@ -2841,12 +2839,12 @@ var hn = (
|
|
2841
2839
|
if (E.length === 0)
|
2842
2840
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
2843
2841
|
var P = E;
|
2844
|
-
this.locale && (P =
|
2842
|
+
this.locale && (P = zr(E, this.locale));
|
2845
2843
|
var f = {
|
2846
2844
|
type: V.dateTime,
|
2847
2845
|
pattern: P,
|
2848
2846
|
location: o.styleLocation,
|
2849
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2847
|
+
parsedOptions: this.shouldParseSkeletons ? Ur(P) : {}
|
2850
2848
|
}, B = u === "date" ? x.date : x.time;
|
2851
2849
|
return {
|
2852
2850
|
val: { type: B, value: n, location: m, style: f },
|
@@ -2892,7 +2890,7 @@ var hn = (
|
|
2892
2890
|
val: {
|
2893
2891
|
type: x.select,
|
2894
2892
|
value: n,
|
2895
|
-
options:
|
2893
|
+
options: Ke(I.val),
|
2896
2894
|
location: N
|
2897
2895
|
},
|
2898
2896
|
err: null
|
@@ -2900,7 +2898,7 @@ var hn = (
|
|
2900
2898
|
val: {
|
2901
2899
|
type: x.plural,
|
2902
2900
|
value: n,
|
2903
|
-
options:
|
2901
|
+
options: Ke(I.val),
|
2904
2902
|
offset: A,
|
2905
2903
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
2906
2904
|
location: N
|
@@ -2951,7 +2949,7 @@ var hn = (
|
|
2951
2949
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2952
2950
|
var n = [];
|
2953
2951
|
try {
|
2954
|
-
n =
|
2952
|
+
n = Fr(t);
|
2955
2953
|
} catch (i) {
|
2956
2954
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
2957
2955
|
}
|
@@ -2960,7 +2958,7 @@ var hn = (
|
|
2960
2958
|
type: V.number,
|
2961
2959
|
tokens: n,
|
2962
2960
|
location: r,
|
2963
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2961
|
+
parsedOptions: this.shouldParseSkeletons ? Xr(n) : {}
|
2964
2962
|
},
|
2965
2963
|
err: null
|
2966
2964
|
};
|
@@ -3008,7 +3006,7 @@ var hn = (
|
|
3008
3006
|
break;
|
3009
3007
|
}
|
3010
3008
|
var h = g(i, this.clonePosition());
|
3011
|
-
return s ? (a *= n,
|
3009
|
+
return s ? (a *= n, nn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
3012
3010
|
}, e.prototype.offset = function() {
|
3013
3011
|
return this.position.offset;
|
3014
3012
|
}, e.prototype.isEOF = function() {
|
@@ -3023,7 +3021,7 @@ var hn = (
|
|
3023
3021
|
var t = this.position.offset;
|
3024
3022
|
if (t >= this.message.length)
|
3025
3023
|
throw Error("out of bound");
|
3026
|
-
var r =
|
3024
|
+
var r = Pt(this.message, t);
|
3027
3025
|
if (r === void 0)
|
3028
3026
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3029
3027
|
return r;
|
@@ -3042,7 +3040,7 @@ var hn = (
|
|
3042
3040
|
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);
|
3043
3041
|
}
|
3044
3042
|
}, e.prototype.bumpIf = function(t) {
|
3045
|
-
if (
|
3043
|
+
if (Ye(this.message, t, this.offset())) {
|
3046
3044
|
for (var r = 0; r < t.length; r++)
|
3047
3045
|
this.bump();
|
3048
3046
|
return !0;
|
@@ -3064,7 +3062,7 @@ var hn = (
|
|
3064
3062
|
break;
|
3065
3063
|
}
|
3066
3064
|
}, e.prototype.bumpSpace = function() {
|
3067
|
-
for (; !this.isEOF() &&
|
3065
|
+
for (; !this.isEOF() && wt(this.char()); )
|
3068
3066
|
this.bump();
|
3069
3067
|
}, e.prototype.peek = function() {
|
3070
3068
|
if (this.isEOF())
|
@@ -3077,30 +3075,30 @@ var hn = (
|
|
3077
3075
|
function Ie(e) {
|
3078
3076
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3079
3077
|
}
|
3080
|
-
function
|
3078
|
+
function hn(e) {
|
3081
3079
|
return Ie(e) || e === 47;
|
3082
3080
|
}
|
3083
|
-
function
|
3081
|
+
function ln(e) {
|
3084
3082
|
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;
|
3085
3083
|
}
|
3086
|
-
function
|
3084
|
+
function wt(e) {
|
3087
3085
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3088
3086
|
}
|
3089
|
-
function
|
3087
|
+
function cn(e) {
|
3090
3088
|
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;
|
3091
3089
|
}
|
3092
3090
|
function Ce(e) {
|
3093
3091
|
e.forEach(function(t) {
|
3094
|
-
if (delete t.location,
|
3092
|
+
if (delete t.location, xt(t) || vt(t))
|
3095
3093
|
for (var r in t.options)
|
3096
3094
|
delete t.options[r].location, Ce(t.options[r].value);
|
3097
3095
|
else
|
3098
|
-
|
3096
|
+
dt(t) && _t(t.style) || (bt(t) || yt(t)) && we(t.style) ? delete t.style.location : Et(t) && Ce(t.children);
|
3099
3097
|
});
|
3100
3098
|
}
|
3101
|
-
function
|
3099
|
+
function fn(e, t) {
|
3102
3100
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3103
|
-
var r = new
|
3101
|
+
var r = new un(e, t).parse();
|
3104
3102
|
if (r.err) {
|
3105
3103
|
var n = SyntaxError(p[r.err.kind]);
|
3106
3104
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3123,7 +3121,7 @@ var fe = (
|
|
3123
3121
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3124
3122
|
}, t;
|
3125
3123
|
}(Error)
|
3126
|
-
),
|
3124
|
+
), tt = (
|
3127
3125
|
/** @class */
|
3128
3126
|
function(e) {
|
3129
3127
|
ce(t, e);
|
@@ -3132,7 +3130,7 @@ var fe = (
|
|
3132
3130
|
}
|
3133
3131
|
return t;
|
3134
3132
|
}(fe)
|
3135
|
-
),
|
3133
|
+
), mn = (
|
3136
3134
|
/** @class */
|
3137
3135
|
function(e) {
|
3138
3136
|
ce(t, e);
|
@@ -3141,7 +3139,7 @@ var fe = (
|
|
3141
3139
|
}
|
3142
3140
|
return t;
|
3143
3141
|
}(fe)
|
3144
|
-
),
|
3142
|
+
), pn = (
|
3145
3143
|
/** @class */
|
3146
3144
|
function(e) {
|
3147
3145
|
ce(t, e);
|
@@ -3154,17 +3152,17 @@ var fe = (
|
|
3154
3152
|
(function(e) {
|
3155
3153
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3156
3154
|
})(T || (T = {}));
|
3157
|
-
function
|
3155
|
+
function gn(e) {
|
3158
3156
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3159
3157
|
var n = t[t.length - 1];
|
3160
3158
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
3161
3159
|
}, []);
|
3162
3160
|
}
|
3163
|
-
function
|
3161
|
+
function dn(e) {
|
3164
3162
|
return typeof e == "function";
|
3165
3163
|
}
|
3166
3164
|
function oe(e, t, r, n, i, s, a) {
|
3167
|
-
if (e.length === 1 &&
|
3165
|
+
if (e.length === 1 && Ze(e[0]))
|
3168
3166
|
return [
|
3169
3167
|
{
|
3170
3168
|
type: T.literal,
|
@@ -3173,14 +3171,14 @@ function oe(e, t, r, n, i, s, a) {
|
|
3173
3171
|
];
|
3174
3172
|
for (var u = [], h = 0, o = e; h < o.length; h++) {
|
3175
3173
|
var l = o[h];
|
3176
|
-
if (
|
3174
|
+
if (Ze(l)) {
|
3177
3175
|
u.push({
|
3178
3176
|
type: T.literal,
|
3179
3177
|
value: l.value
|
3180
3178
|
});
|
3181
3179
|
continue;
|
3182
3180
|
}
|
3183
|
-
if (
|
3181
|
+
if (Rr(l)) {
|
3184
3182
|
typeof s == "number" && u.push({
|
3185
3183
|
type: T.literal,
|
3186
3184
|
value: r.getNumberFormat(t).format(s)
|
@@ -3189,16 +3187,16 @@ function oe(e, t, r, n, i, s, a) {
|
|
3189
3187
|
}
|
3190
3188
|
var c = l.value;
|
3191
3189
|
if (!(i && c in i))
|
3192
|
-
throw new
|
3190
|
+
throw new pn(c, a);
|
3193
3191
|
var f = i[c];
|
3194
|
-
if (
|
3192
|
+
if (Mr(l)) {
|
3195
3193
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
3196
3194
|
type: typeof f == "string" ? T.literal : T.object,
|
3197
3195
|
value: f
|
3198
3196
|
});
|
3199
3197
|
continue;
|
3200
3198
|
}
|
3201
|
-
if (
|
3199
|
+
if (bt(l)) {
|
3202
3200
|
var b = typeof l.style == "string" ? n.date[l.style] : we(l.style) ? l.style.parsedOptions : void 0;
|
3203
3201
|
u.push({
|
3204
3202
|
type: T.literal,
|
@@ -3206,7 +3204,7 @@ function oe(e, t, r, n, i, s, a) {
|
|
3206
3204
|
});
|
3207
3205
|
continue;
|
3208
3206
|
}
|
3209
|
-
if (
|
3207
|
+
if (yt(l)) {
|
3210
3208
|
var b = typeof l.style == "string" ? n.time[l.style] : we(l.style) ? l.style.parsedOptions : n.time.medium;
|
3211
3209
|
u.push({
|
3212
3210
|
type: T.literal,
|
@@ -3214,18 +3212,18 @@ function oe(e, t, r, n, i, s, a) {
|
|
3214
3212
|
});
|
3215
3213
|
continue;
|
3216
3214
|
}
|
3217
|
-
if (
|
3218
|
-
var b = typeof l.style == "string" ? n.number[l.style] :
|
3215
|
+
if (dt(l)) {
|
3216
|
+
var b = typeof l.style == "string" ? n.number[l.style] : _t(l.style) ? l.style.parsedOptions : void 0;
|
3219
3217
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
3220
3218
|
type: T.literal,
|
3221
3219
|
value: r.getNumberFormat(t, b).format(f)
|
3222
3220
|
});
|
3223
3221
|
continue;
|
3224
3222
|
}
|
3225
|
-
if (
|
3223
|
+
if (Et(l)) {
|
3226
3224
|
var y = l.children, m = l.value, E = i[m];
|
3227
|
-
if (!
|
3228
|
-
throw new
|
3225
|
+
if (!dn(E))
|
3226
|
+
throw new mn(m, "function", a);
|
3229
3227
|
var P = oe(y, t, r, n, i, s), B = E(P.map(function(A) {
|
3230
3228
|
return A.value;
|
3231
3229
|
}));
|
@@ -3236,14 +3234,14 @@ function oe(e, t, r, n, i, s, a) {
|
|
3236
3234
|
};
|
3237
3235
|
}));
|
3238
3236
|
}
|
3239
|
-
if (
|
3237
|
+
if (xt(l)) {
|
3240
3238
|
var H = l.options[f] || l.options.other;
|
3241
3239
|
if (!H)
|
3242
|
-
throw new
|
3240
|
+
throw new tt(l.value, f, Object.keys(l.options), a);
|
3243
3241
|
u.push.apply(u, oe(H.value, t, r, n, i));
|
3244
3242
|
continue;
|
3245
3243
|
}
|
3246
|
-
if (
|
3244
|
+
if (vt(l)) {
|
3247
3245
|
var H = l.options["=".concat(f)];
|
3248
3246
|
if (!H) {
|
3249
3247
|
if (!Intl.PluralRules)
|
@@ -3254,21 +3252,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3254
3252
|
H = l.options[L] || l.options.other;
|
3255
3253
|
}
|
3256
3254
|
if (!H)
|
3257
|
-
throw new
|
3255
|
+
throw new tt(l.value, f, Object.keys(l.options), a);
|
3258
3256
|
u.push.apply(u, oe(H.value, t, r, n, i, f - (l.offset || 0)));
|
3259
3257
|
continue;
|
3260
3258
|
}
|
3261
3259
|
}
|
3262
|
-
return
|
3260
|
+
return gn(u);
|
3263
3261
|
}
|
3264
|
-
function
|
3262
|
+
function bn(e, t) {
|
3265
3263
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3266
3264
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3267
3265
|
}, {})) : e;
|
3268
3266
|
}
|
3269
|
-
function
|
3267
|
+
function yn(e, t) {
|
3270
3268
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3271
|
-
return r[n] =
|
3269
|
+
return r[n] = bn(e[n], t[n]), r;
|
3272
3270
|
}, d({}, e)) : e;
|
3273
3271
|
}
|
3274
3272
|
function He(e) {
|
@@ -3285,7 +3283,7 @@ function He(e) {
|
|
3285
3283
|
}
|
3286
3284
|
};
|
3287
3285
|
}
|
3288
|
-
function
|
3286
|
+
function xn(e) {
|
3289
3287
|
return e === void 0 && (e = {
|
3290
3288
|
number: {},
|
3291
3289
|
dateTime: {},
|
@@ -3317,7 +3315,7 @@ function vn(e) {
|
|
3317
3315
|
})
|
3318
3316
|
};
|
3319
3317
|
}
|
3320
|
-
var
|
3318
|
+
var vn = (
|
3321
3319
|
/** @class */
|
3322
3320
|
function() {
|
3323
3321
|
function e(t, r, n, i) {
|
@@ -3349,13 +3347,13 @@ var En = (
|
|
3349
3347
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3350
3348
|
var a = i || {};
|
3351
3349
|
a.formatters;
|
3352
|
-
var u =
|
3350
|
+
var u = Ar(a, ["formatters"]);
|
3353
3351
|
this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
|
3354
3352
|
} else
|
3355
3353
|
this.ast = t;
|
3356
3354
|
if (!Array.isArray(this.ast))
|
3357
3355
|
throw new TypeError("A message must be provided as a String or AST.");
|
3358
|
-
this.formats =
|
3356
|
+
this.formats = yn(e.formats, n), this.formatters = i && i.formatters || xn(this.formatterCache);
|
3359
3357
|
}
|
3360
3358
|
return Object.defineProperty(e, "defaultLocale", {
|
3361
3359
|
get: function() {
|
@@ -3368,7 +3366,7 @@ var En = (
|
|
3368
3366
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3369
3367
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3370
3368
|
}
|
3371
|
-
}, e.__parse =
|
3369
|
+
}, e.__parse = fn, e.formats = {
|
3372
3370
|
number: {
|
3373
3371
|
integer: {
|
3374
3372
|
maximumFractionDigits: 0
|
@@ -3429,7 +3427,7 @@ var En = (
|
|
3429
3427
|
}, e;
|
3430
3428
|
}()
|
3431
3429
|
);
|
3432
|
-
function
|
3430
|
+
function En(e, t) {
|
3433
3431
|
if (t == null)
|
3434
3432
|
return;
|
3435
3433
|
if (t in e)
|
@@ -3450,60 +3448,60 @@ function _n(e, t) {
|
|
3450
3448
|
n = void 0;
|
3451
3449
|
return n;
|
3452
3450
|
}
|
3453
|
-
const O = {},
|
3451
|
+
const O = {}, _n = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Nt = (e, t) => {
|
3454
3452
|
if (t == null)
|
3455
3453
|
return;
|
3456
3454
|
if (t in O && e in O[t])
|
3457
3455
|
return O[t][e];
|
3458
3456
|
const r = me(t);
|
3459
3457
|
for (let n = 0; n < r.length; n++) {
|
3460
|
-
const i = r[n], s =
|
3458
|
+
const i = r[n], s = Tn(i, e);
|
3461
3459
|
if (s)
|
3462
|
-
return
|
3460
|
+
return _n(e, t, s);
|
3463
3461
|
}
|
3464
3462
|
};
|
3465
|
-
let
|
3463
|
+
let Ue;
|
3466
3464
|
const re = le({});
|
3467
|
-
function
|
3468
|
-
return
|
3465
|
+
function Hn(e) {
|
3466
|
+
return Ue[e] || null;
|
3469
3467
|
}
|
3470
|
-
function
|
3471
|
-
return e in
|
3468
|
+
function Lt(e) {
|
3469
|
+
return e in Ue;
|
3472
3470
|
}
|
3473
|
-
function
|
3474
|
-
if (!
|
3471
|
+
function Tn(e, t) {
|
3472
|
+
if (!Lt(e))
|
3475
3473
|
return null;
|
3476
|
-
const r =
|
3477
|
-
return
|
3474
|
+
const r = Hn(e);
|
3475
|
+
return En(r, t);
|
3478
3476
|
}
|
3479
|
-
function
|
3477
|
+
function Bn(e) {
|
3480
3478
|
if (e == null)
|
3481
3479
|
return;
|
3482
3480
|
const t = me(e);
|
3483
3481
|
for (let r = 0; r < t.length; r++) {
|
3484
3482
|
const n = t[r];
|
3485
|
-
if (
|
3483
|
+
if (Lt(n))
|
3486
3484
|
return n;
|
3487
3485
|
}
|
3488
3486
|
}
|
3489
|
-
function
|
3490
|
-
delete O[e], re.update((r) => (r[e] =
|
3487
|
+
function Ot(e, ...t) {
|
3488
|
+
delete O[e], re.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
|
3491
3489
|
}
|
3492
3490
|
z(
|
3493
3491
|
[re],
|
3494
3492
|
([e]) => Object.keys(e)
|
3495
3493
|
);
|
3496
|
-
re.subscribe((e) =>
|
3494
|
+
re.subscribe((e) => Ue = e);
|
3497
3495
|
const ae = {};
|
3498
|
-
function
|
3496
|
+
function Sn(e, t) {
|
3499
3497
|
ae[e].delete(t), ae[e].size === 0 && delete ae[e];
|
3500
3498
|
}
|
3501
|
-
function
|
3499
|
+
function It(e) {
|
3502
3500
|
return ae[e];
|
3503
3501
|
}
|
3504
|
-
function
|
3502
|
+
function Pn(e) {
|
3505
3503
|
return me(e).map((t) => {
|
3506
|
-
const r =
|
3504
|
+
const r = It(t);
|
3507
3505
|
return [t, r ? [...r] : []];
|
3508
3506
|
}).filter(([, t]) => t.length > 0);
|
3509
3507
|
}
|
@@ -3511,31 +3509,31 @@ function $e(e) {
|
|
3511
3509
|
return e == null ? !1 : me(e).some(
|
3512
3510
|
(t) => {
|
3513
3511
|
var r;
|
3514
|
-
return (r =
|
3512
|
+
return (r = It(t)) == null ? void 0 : r.size;
|
3515
3513
|
}
|
3516
3514
|
);
|
3517
3515
|
}
|
3518
|
-
function
|
3516
|
+
function An(e, t) {
|
3519
3517
|
return Promise.all(
|
3520
|
-
t.map((n) => (
|
3521
|
-
).then((n) =>
|
3518
|
+
t.map((n) => (Sn(e, n), n().then((i) => i.default || i)))
|
3519
|
+
).then((n) => Ot(e, ...n));
|
3522
3520
|
}
|
3523
3521
|
const Q = {};
|
3524
|
-
function
|
3522
|
+
function Ct(e) {
|
3525
3523
|
if (!$e(e))
|
3526
3524
|
return e in Q ? Q[e] : Promise.resolve();
|
3527
|
-
const t =
|
3525
|
+
const t = Pn(e);
|
3528
3526
|
return Q[e] = Promise.all(
|
3529
3527
|
t.map(
|
3530
|
-
([r, n]) =>
|
3528
|
+
([r, n]) => An(r, n)
|
3531
3529
|
)
|
3532
3530
|
).then(() => {
|
3533
3531
|
if ($e(e))
|
3534
|
-
return
|
3532
|
+
return Ct(e);
|
3535
3533
|
delete Q[e];
|
3536
3534
|
}), Q[e];
|
3537
3535
|
}
|
3538
|
-
const
|
3536
|
+
const wn = {
|
3539
3537
|
number: {
|
3540
3538
|
scientific: { notation: "scientific" },
|
3541
3539
|
engineering: { notation: "engineering" },
|
@@ -3564,34 +3562,34 @@ const Nn = {
|
|
3564
3562
|
timeZoneName: "short"
|
3565
3563
|
}
|
3566
3564
|
}
|
3567
|
-
},
|
3565
|
+
}, Nn = {
|
3568
3566
|
fallbackLocale: null,
|
3569
3567
|
loadingDelay: 200,
|
3570
|
-
formats:
|
3568
|
+
formats: wn,
|
3571
3569
|
warnOnMissingMessages: !0,
|
3572
3570
|
handleMissingMessage: void 0,
|
3573
3571
|
ignoreTag: !0
|
3574
|
-
},
|
3572
|
+
}, Ln = Nn;
|
3575
3573
|
function X() {
|
3576
|
-
return
|
3574
|
+
return Ln;
|
3577
3575
|
}
|
3578
3576
|
const Te = le(!1);
|
3579
|
-
var
|
3577
|
+
var On = Object.defineProperty, In = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, rt = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rn = (e, t) => {
|
3580
3578
|
for (var r in t || (t = {}))
|
3581
|
-
|
3582
|
-
if (
|
3583
|
-
for (var r of
|
3584
|
-
|
3579
|
+
$n.call(t, r) && nt(e, r, t[r]);
|
3580
|
+
if (rt)
|
3581
|
+
for (var r of rt(t))
|
3582
|
+
Mn.call(t, r) && nt(e, r, t[r]);
|
3585
3583
|
return e;
|
3586
|
-
},
|
3584
|
+
}, Dn = (e, t) => In(e, Cn(t));
|
3587
3585
|
let Me;
|
3588
3586
|
const ue = le(null);
|
3589
|
-
function
|
3587
|
+
function it(e) {
|
3590
3588
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3591
3589
|
}
|
3592
3590
|
function me(e, t = X().fallbackLocale) {
|
3593
|
-
const r =
|
3594
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3591
|
+
const r = it(e);
|
3592
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...it(t)])] : r;
|
3595
3593
|
}
|
3596
3594
|
function M() {
|
3597
3595
|
return Me != null ? Me : void 0;
|
@@ -3599,22 +3597,22 @@ function M() {
|
|
3599
3597
|
ue.subscribe((e) => {
|
3600
3598
|
Me = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3601
3599
|
});
|
3602
|
-
const
|
3603
|
-
if (e &&
|
3600
|
+
const Un = (e) => {
|
3601
|
+
if (e && Bn(e) && $e(e)) {
|
3604
3602
|
const { loadingDelay: t } = X();
|
3605
3603
|
let r;
|
3606
3604
|
return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
|
3607
3605
|
() => Te.set(!0),
|
3608
3606
|
t
|
3609
|
-
) : Te.set(!0),
|
3607
|
+
) : Te.set(!0), Ct(e).then(() => {
|
3610
3608
|
ue.set(e);
|
3611
3609
|
}).finally(() => {
|
3612
3610
|
clearTimeout(r), Te.set(!1);
|
3613
3611
|
});
|
3614
3612
|
}
|
3615
3613
|
return ue.set(e);
|
3616
|
-
}, W =
|
3617
|
-
set:
|
3614
|
+
}, W = Dn(Rn({}, ue), {
|
3615
|
+
set: Un
|
3618
3616
|
}), pe = (e) => {
|
3619
3617
|
const t = /* @__PURE__ */ Object.create(null);
|
3620
3618
|
return (n) => {
|
@@ -3622,20 +3620,20 @@ const Gn = (e) => {
|
|
3622
3620
|
return i in t ? t[i] : t[i] = e(n);
|
3623
3621
|
};
|
3624
3622
|
};
|
3625
|
-
var
|
3623
|
+
var Gn = Object.defineProperty, he = Object.getOwnPropertySymbols, $t = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
3626
3624
|
for (var r in t || (t = {}))
|
3627
|
-
|
3625
|
+
$t.call(t, r) && st(e, r, t[r]);
|
3628
3626
|
if (he)
|
3629
3627
|
for (var r of he(t))
|
3630
|
-
|
3628
|
+
Mt.call(t, r) && st(e, r, t[r]);
|
3631
3629
|
return e;
|
3632
3630
|
}, Z = (e, t) => {
|
3633
3631
|
var r = {};
|
3634
3632
|
for (var n in e)
|
3635
|
-
|
3633
|
+
$t.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3636
3634
|
if (e != null && he)
|
3637
3635
|
for (var n of he(e))
|
3638
|
-
t.indexOf(n) < 0 &&
|
3636
|
+
t.indexOf(n) < 0 && Mt.call(e, n) && (r[n] = e[n]);
|
3639
3637
|
return r;
|
3640
3638
|
};
|
3641
3639
|
const ee = (e, t) => {
|
@@ -3643,21 +3641,21 @@ const ee = (e, t) => {
|
|
3643
3641
|
if (e in r && t in r[e])
|
3644
3642
|
return r[e][t];
|
3645
3643
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3646
|
-
},
|
3644
|
+
}, Fn = pe(
|
3647
3645
|
(e) => {
|
3648
3646
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3649
3647
|
if (r == null)
|
3650
3648
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3651
3649
|
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
3652
3650
|
}
|
3653
|
-
),
|
3651
|
+
), jn = pe(
|
3654
3652
|
(e) => {
|
3655
3653
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3656
3654
|
if (r == null)
|
3657
3655
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3658
3656
|
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
3659
3657
|
}
|
3660
|
-
),
|
3658
|
+
), Vn = pe(
|
3661
3659
|
(e) => {
|
3662
3660
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
3663
3661
|
if (r == null)
|
@@ -3666,33 +3664,33 @@ const ee = (e, t) => {
|
|
3666
3664
|
);
|
3667
3665
|
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
3668
3666
|
}
|
3669
|
-
),
|
3667
|
+
), kn = (e = {}) => {
|
3670
3668
|
var t = e, {
|
3671
3669
|
locale: r = M()
|
3672
3670
|
} = t, n = Z(t, [
|
3673
3671
|
"locale"
|
3674
3672
|
]);
|
3675
|
-
return
|
3676
|
-
},
|
3673
|
+
return Fn(Ge({ locale: r }, n));
|
3674
|
+
}, Xn = (e = {}) => {
|
3677
3675
|
var t = e, {
|
3678
3676
|
locale: r = M()
|
3679
3677
|
} = t, n = Z(t, [
|
3680
3678
|
"locale"
|
3681
3679
|
]);
|
3682
|
-
return
|
3683
|
-
},
|
3680
|
+
return jn(Ge({ locale: r }, n));
|
3681
|
+
}, zn = (e = {}) => {
|
3684
3682
|
var t = e, {
|
3685
3683
|
locale: r = M()
|
3686
3684
|
} = t, n = Z(t, [
|
3687
3685
|
"locale"
|
3688
3686
|
]);
|
3689
|
-
return
|
3690
|
-
},
|
3687
|
+
return Vn(Ge({ locale: r }, n));
|
3688
|
+
}, Wn = pe(
|
3691
3689
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3692
|
-
(e, t = M()) => new
|
3690
|
+
(e, t = M()) => new vn(e, t, X().formats, {
|
3693
3691
|
ignoreTag: X().ignoreTag
|
3694
3692
|
})
|
3695
|
-
),
|
3693
|
+
), Zn = (e, t = {}) => {
|
3696
3694
|
var r, n, i, s;
|
3697
3695
|
let a = t;
|
3698
3696
|
typeof e == "object" && (a = e, e = a.id);
|
@@ -3705,7 +3703,7 @@ const ee = (e, t) => {
|
|
3705
3703
|
throw new Error(
|
3706
3704
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3707
3705
|
);
|
3708
|
-
let l =
|
3706
|
+
let l = Nt(e, h);
|
3709
3707
|
if (!l)
|
3710
3708
|
l = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
3711
3709
|
else if (typeof l != "string")
|
@@ -3716,7 +3714,7 @@ const ee = (e, t) => {
|
|
3716
3714
|
return l;
|
3717
3715
|
let c = l;
|
3718
3716
|
try {
|
3719
|
-
c =
|
3717
|
+
c = Wn(l, h).format(u);
|
3720
3718
|
} catch (f) {
|
3721
3719
|
f instanceof Error && console.warn(
|
3722
3720
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3724,18 +3722,18 @@ const ee = (e, t) => {
|
|
3724
3722
|
);
|
3725
3723
|
}
|
3726
3724
|
return c;
|
3727
|
-
},
|
3725
|
+
}, qn = (e, t) => zn(t).format(e), Qn = (e, t) => Xn(t).format(e), Jn = (e, t) => kn(t).format(e), Yn = (e, t = M()) => Nt(e, t), Kn = z([W, re], () => Zn);
|
3726
|
+
z([W], () => qn);
|
3728
3727
|
z([W], () => Qn);
|
3729
3728
|
z([W], () => Jn);
|
3730
|
-
z([W], () => Yn);
|
3731
|
-
|
3732
|
-
|
3733
|
-
Ct(e, t);
|
3729
|
+
z([W, re], () => Yn);
|
3730
|
+
function ot(e, t) {
|
3731
|
+
Ot(e, t);
|
3734
3732
|
}
|
3735
|
-
function
|
3733
|
+
function ei(e) {
|
3736
3734
|
W.set(e);
|
3737
3735
|
}
|
3738
|
-
const
|
3736
|
+
const at = {
|
3739
3737
|
en: {
|
3740
3738
|
sorry: "We are sorry",
|
3741
3739
|
access: "The page you are trying to access is available for logged-in users only. Please login.",
|
@@ -3827,13 +3825,13 @@ const ht = {
|
|
3827
3825
|
login: "Login"
|
3828
3826
|
}
|
3829
3827
|
};
|
3830
|
-
function
|
3828
|
+
function ti(e, t) {
|
3831
3829
|
if (e) {
|
3832
3830
|
const r = document.createElement("style");
|
3833
3831
|
r.innerHTML = t, e.appendChild(r);
|
3834
3832
|
}
|
3835
3833
|
}
|
3836
|
-
function
|
3834
|
+
function ri(e, t) {
|
3837
3835
|
const r = new URL(t);
|
3838
3836
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
3839
3837
|
const i = document.createElement("style");
|
@@ -3842,7 +3840,7 @@ function ni(e, t) {
|
|
3842
3840
|
console.error("There was an error while trying to load client styling from URL", n);
|
3843
3841
|
});
|
3844
3842
|
}
|
3845
|
-
function
|
3843
|
+
function ni(e, t, r) {
|
3846
3844
|
if (window.emMessageBus) {
|
3847
3845
|
const n = document.createElement("style");
|
3848
3846
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -3850,10 +3848,10 @@ function ii(e, t, r) {
|
|
3850
3848
|
});
|
3851
3849
|
}
|
3852
3850
|
}
|
3853
|
-
function
|
3854
|
-
|
3851
|
+
function ii(e) {
|
3852
|
+
kt(e, "svelte-1osslvo", "*,*::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%;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}}");
|
3855
3853
|
}
|
3856
|
-
function
|
3854
|
+
function si(e) {
|
3857
3855
|
let t, r, n, i, s, a, u, h, o, l, c = (
|
3858
3856
|
/*$_*/
|
3859
3857
|
e[1]("sorry") + ""
|
@@ -3869,7 +3867,7 @@ function oi(e) {
|
|
3869
3867
|
t = C("div"), r = C("div"), n = R("svg"), i = R("g"), s = R("path"), a = R("path"), u = R("path"), h = R("path"), o = de(), l = C("p"), f = ie(c), b = de(), y = C("p"), E = ie(m), P = de(), B = C("button"), L = ie(H), 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(u, "class", "a"), v(u, "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(u, "transform", "translate(-250.22 -116.794)"), v(h, "class", "a"), v(h, "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(h, "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(l, "class", "PageTitle"), v(y, "class", "PageContent"), v(B, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
|
3870
3868
|
},
|
3871
3869
|
m(N, q) {
|
3872
|
-
|
3870
|
+
ct(N, t, q), _(t, r), _(r, n), _(n, i), _(i, s), _(i, a), _(i, u), _(i, h), _(r, o), _(r, l), _(l, f), _(r, b), _(r, y), _(y, E), _(r, P), _(r, B), _(B, L), e[9](t), A || (I = Wt(
|
3873
3871
|
B,
|
3874
3872
|
"click",
|
3875
3873
|
/*click_handler*/
|
@@ -3892,28 +3890,28 @@ function oi(e) {
|
|
3892
3890
|
}
|
3893
3891
|
};
|
3894
3892
|
}
|
3895
|
-
function
|
3893
|
+
function oi(e, t, r) {
|
3896
3894
|
let n;
|
3897
|
-
|
3895
|
+
Vt(e, Kn, (m) => r(1, n = m));
|
3898
3896
|
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, o;
|
3899
3897
|
const l = () => {
|
3900
3898
|
fetch(u).then((E) => E.json()).then((E) => {
|
3901
3899
|
Object.keys(E).forEach((P) => {
|
3902
|
-
|
3900
|
+
ot(P, E[P]);
|
3903
3901
|
});
|
3904
3902
|
}).catch((E) => {
|
3905
3903
|
console.log(E);
|
3906
3904
|
});
|
3907
3905
|
};
|
3908
|
-
Object.keys(
|
3909
|
-
|
3906
|
+
Object.keys(at).forEach((m) => {
|
3907
|
+
ot(m, at[m]);
|
3910
3908
|
});
|
3911
3909
|
const c = () => {
|
3912
3910
|
window.postMessage({ type: "403ActionButton" }, window.location.href);
|
3913
3911
|
}, f = () => {
|
3914
|
-
|
3912
|
+
ei(i);
|
3915
3913
|
};
|
3916
|
-
|
3914
|
+
Jt(() => () => {
|
3917
3915
|
});
|
3918
3916
|
const b = () => c();
|
3919
3917
|
function y(m) {
|
@@ -3926,10 +3924,10 @@ function ai(e, t, r) {
|
|
3926
3924
|
}, e.$$.update = () => {
|
3927
3925
|
e.$$.dirty & /*lang*/
|
3928
3926
|
8 && i && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3929
|
-
17 && s && o &&
|
3930
|
-
33 && a && o &&
|
3927
|
+
17 && s && o && ti(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3928
|
+
33 && a && o && ri(o, a), e.$$.dirty & /*translationurl*/
|
3931
3929
|
64 && u && l(), e.$$.dirty & /*mbsource, customStylingContainer*/
|
3932
|
-
129 && h && o &&
|
3930
|
+
129 && h && o && ni(o, `${h}.Style`);
|
3933
3931
|
}, [
|
3934
3932
|
o,
|
3935
3933
|
n,
|
@@ -3943,14 +3941,14 @@ function ai(e, t, r) {
|
|
3943
3941
|
y
|
3944
3942
|
];
|
3945
3943
|
}
|
3946
|
-
class
|
3944
|
+
class ai extends hr {
|
3947
3945
|
constructor(t) {
|
3948
|
-
super(),
|
3946
|
+
super(), ar(
|
3949
3947
|
this,
|
3950
3948
|
t,
|
3951
|
-
ai,
|
3952
3949
|
oi,
|
3953
|
-
|
3950
|
+
si,
|
3951
|
+
ht,
|
3954
3952
|
{
|
3955
3953
|
lang: 3,
|
3956
3954
|
clientstyling: 4,
|
@@ -3958,7 +3956,7 @@ class ui extends cr {
|
|
3958
3956
|
translationurl: 6,
|
3959
3957
|
mbsource: 7
|
3960
3958
|
},
|
3961
|
-
|
3959
|
+
ii
|
3962
3960
|
);
|
3963
3961
|
}
|
3964
3962
|
get lang() {
|
@@ -3992,7 +3990,7 @@ class ui extends cr {
|
|
3992
3990
|
this.$$set({ mbsource: t }), $();
|
3993
3991
|
}
|
3994
3992
|
}
|
3995
|
-
|
3993
|
+
ur(ai, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
3996
3994
|
export {
|
3997
|
-
|
3995
|
+
ai as default
|
3998
3996
|
};
|