@everymatrix/general-icon-progress-bar 1.64.8 → 1.65.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/{GeneralIconProgressBar-P5rVTJOT.js → GeneralIconProgressBar-DSaIA0Oc.js} +588 -592
- package/components/GeneralIconProgressBar-DvairRCn.cjs +16 -0
- package/components/{GeneralIconProgressBar-D9Uqk4jK.js → GeneralIconProgressBar-DvfGRc7A.js} +575 -579
- package/es2015/general-icon-progress-bar.cjs +1 -1
- package/es2015/general-icon-progress-bar.js +1 -1
- package/esnext/general-icon-progress-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralIconProgressBar-BtryxH6m.cjs +0 -3
package/components/{GeneralIconProgressBar-D9Uqk4jK.js → GeneralIconProgressBar-DvfGRc7A.js}
RENAMED
@@ -6,10 +6,10 @@ function rt(e) {
|
|
6
6
|
function Ge() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
9
|
+
function K(e) {
|
10
10
|
e.forEach(rt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function Ie(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
15
|
function nt(e, t) {
|
@@ -27,16 +27,16 @@ function it(e, ...t) {
|
|
27
27
|
const r = e.subscribe(...t);
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
29
29
|
}
|
30
|
-
function
|
30
|
+
function Rt(e, t, r) {
|
31
31
|
e.$$.on_destroy.push(it(t, r));
|
32
32
|
}
|
33
|
-
function
|
33
|
+
function re(e, t) {
|
34
34
|
e.appendChild(t);
|
35
35
|
}
|
36
|
-
function
|
36
|
+
function $t(e, t, r) {
|
37
37
|
const n = Ut(e);
|
38
38
|
if (!n.getElementById(t)) {
|
39
|
-
const i =
|
39
|
+
const i = Z("style");
|
40
40
|
i.id = t, i.textContent = r, Gt(n, i);
|
41
41
|
}
|
42
42
|
}
|
@@ -51,7 +51,7 @@ function Ut(e) {
|
|
51
51
|
) : e.ownerDocument;
|
52
52
|
}
|
53
53
|
function Gt(e, t) {
|
54
|
-
return
|
54
|
+
return re(
|
55
55
|
/** @type {Document} */
|
56
56
|
e.head || e,
|
57
57
|
t
|
@@ -60,16 +60,16 @@ function Gt(e, t) {
|
|
60
60
|
function st(e, t, r) {
|
61
61
|
e.insertBefore(t, r || null);
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function we(e) {
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
65
65
|
}
|
66
|
-
function
|
66
|
+
function Z(e) {
|
67
67
|
return document.createElement(e);
|
68
68
|
}
|
69
69
|
function Dt(e) {
|
70
70
|
return document.createTextNode(e);
|
71
71
|
}
|
72
|
-
function
|
72
|
+
function L(e, t, r) {
|
73
73
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
74
74
|
}
|
75
75
|
function Ft(e) {
|
@@ -88,57 +88,57 @@ function Vt(e) {
|
|
88
88
|
}
|
89
89
|
), t;
|
90
90
|
}
|
91
|
-
let
|
92
|
-
function
|
93
|
-
|
91
|
+
let Le;
|
92
|
+
function Q(e) {
|
93
|
+
Le = e;
|
94
94
|
}
|
95
|
-
const
|
96
|
-
let
|
95
|
+
const U = [], J = [];
|
96
|
+
let G = [];
|
97
97
|
const De = [], kt = /* @__PURE__ */ Promise.resolve();
|
98
|
-
let
|
98
|
+
let ye = !1;
|
99
99
|
function Xt() {
|
100
|
-
|
100
|
+
ye || (ye = !0, kt.then(S));
|
101
101
|
}
|
102
|
-
function
|
103
|
-
|
102
|
+
function _e(e) {
|
103
|
+
G.push(e);
|
104
104
|
}
|
105
|
-
const
|
105
|
+
const pe = /* @__PURE__ */ new Set();
|
106
106
|
let R = 0;
|
107
|
-
function
|
107
|
+
function S() {
|
108
108
|
if (R !== 0)
|
109
109
|
return;
|
110
|
-
const e =
|
110
|
+
const e = Le;
|
111
111
|
do {
|
112
112
|
try {
|
113
|
-
for (; R <
|
114
|
-
const t =
|
115
|
-
R++,
|
113
|
+
for (; R < U.length; ) {
|
114
|
+
const t = U[R];
|
115
|
+
R++, Q(t), zt(t.$$);
|
116
116
|
}
|
117
117
|
} catch (t) {
|
118
|
-
throw
|
118
|
+
throw U.length = 0, R = 0, t;
|
119
119
|
}
|
120
|
-
for (
|
121
|
-
|
122
|
-
for (let t = 0; t <
|
123
|
-
const r =
|
124
|
-
|
120
|
+
for (Q(null), U.length = 0, R = 0; J.length; )
|
121
|
+
J.pop()();
|
122
|
+
for (let t = 0; t < G.length; t += 1) {
|
123
|
+
const r = G[t];
|
124
|
+
pe.has(r) || (pe.add(r), r());
|
125
125
|
}
|
126
|
-
|
127
|
-
} while (
|
126
|
+
G.length = 0;
|
127
|
+
} while (U.length);
|
128
128
|
for (; De.length; )
|
129
129
|
De.pop()();
|
130
|
-
|
130
|
+
ye = !1, pe.clear(), Q(e);
|
131
131
|
}
|
132
132
|
function zt(e) {
|
133
133
|
if (e.fragment !== null) {
|
134
|
-
e.update(),
|
134
|
+
e.update(), K(e.before_update);
|
135
135
|
const t = e.dirty;
|
136
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
136
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
|
137
137
|
}
|
138
138
|
}
|
139
139
|
function Wt(e) {
|
140
140
|
const t = [], r = [];
|
141
|
-
|
141
|
+
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
142
142
|
}
|
143
143
|
const Zt = /* @__PURE__ */ new Set();
|
144
144
|
function Qt(e, t) {
|
@@ -146,22 +146,22 @@ function Qt(e, t) {
|
|
146
146
|
}
|
147
147
|
function Jt(e, t, r) {
|
148
148
|
const { fragment: n, after_update: i } = e.$$;
|
149
|
-
n && n.m(t, r),
|
150
|
-
const s = e.$$.on_mount.map(rt).filter(
|
151
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
152
|
-
}), i.forEach(
|
149
|
+
n && n.m(t, r), _e(() => {
|
150
|
+
const s = e.$$.on_mount.map(rt).filter(Ie);
|
151
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
|
152
|
+
}), i.forEach(_e);
|
153
153
|
}
|
154
154
|
function qt(e, t) {
|
155
155
|
const r = e.$$;
|
156
|
-
r.fragment !== null && (Wt(r.after_update),
|
156
|
+
r.fragment !== null && (Wt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
157
157
|
}
|
158
158
|
function Yt(e, t) {
|
159
|
-
e.$$.dirty[0] === -1 && (
|
159
|
+
e.$$.dirty[0] === -1 && (U.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
160
160
|
}
|
161
161
|
function Kt(e, t, r, n, i, s, a = null, o = [-1]) {
|
162
|
-
const l =
|
163
|
-
|
164
|
-
const
|
162
|
+
const l = Le;
|
163
|
+
Q(e);
|
164
|
+
const h = e.$$ = {
|
165
165
|
fragment: null,
|
166
166
|
ctx: [],
|
167
167
|
// state
|
@@ -182,20 +182,20 @@ function Kt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
182
182
|
skip_bound: !1,
|
183
183
|
root: t.target || l.$$.root
|
184
184
|
};
|
185
|
-
a && a(
|
186
|
-
let
|
187
|
-
if (
|
188
|
-
const
|
189
|
-
return
|
190
|
-
}) : [],
|
185
|
+
a && a(h.root);
|
186
|
+
let u = !1;
|
187
|
+
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...x) => {
|
188
|
+
const g = x.length ? x[0] : f;
|
189
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), u && Yt(e, c)), f;
|
190
|
+
}) : [], h.update(), u = !0, K(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
191
191
|
if (t.hydrate) {
|
192
192
|
const c = Ft(t.target);
|
193
|
-
|
193
|
+
h.fragment && h.fragment.l(c), c.forEach(we);
|
194
194
|
} else
|
195
|
-
|
196
|
-
t.intro && Qt(e.$$.fragment), Jt(e, t.target, t.anchor),
|
195
|
+
h.fragment && h.fragment.c();
|
196
|
+
t.intro && Qt(e.$$.fragment), Jt(e, t.target, t.anchor), S();
|
197
197
|
}
|
198
|
-
|
198
|
+
Q(l);
|
199
199
|
}
|
200
200
|
let ot;
|
201
201
|
typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
@@ -240,17 +240,17 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
240
240
|
let s;
|
241
241
|
return {
|
242
242
|
c: function() {
|
243
|
-
s =
|
243
|
+
s = Z("slot"), i !== "default" && L(s, "name", i);
|
244
244
|
},
|
245
245
|
/**
|
246
246
|
* @param {HTMLElement} target
|
247
247
|
* @param {HTMLElement} [anchor]
|
248
248
|
*/
|
249
|
-
m: function(l,
|
250
|
-
st(l, s,
|
249
|
+
m: function(l, h) {
|
250
|
+
st(l, s, h);
|
251
251
|
},
|
252
252
|
d: function(l) {
|
253
|
-
l &&
|
253
|
+
l && we(s);
|
254
254
|
}
|
255
255
|
};
|
256
256
|
};
|
@@ -262,7 +262,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
262
262
|
i in r && (t[i] = [e(i)]);
|
263
263
|
for (const i of this.attributes) {
|
264
264
|
const s = this.$$g_p(i.name);
|
265
|
-
s in this.$$d || (this.$$d[s] =
|
265
|
+
s in this.$$d || (this.$$d[s] = ne(s, i.value, this.$$p_d, "toProp"));
|
266
266
|
}
|
267
267
|
for (const i in this.$$p_d)
|
268
268
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
@@ -280,7 +280,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
280
280
|
this.$$r = !0;
|
281
281
|
for (const i in this.$$p_d)
|
282
282
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
283
|
-
const s =
|
283
|
+
const s = ne(
|
284
284
|
i,
|
285
285
|
this.$$d[i],
|
286
286
|
this.$$p_d,
|
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
302
302
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
303
303
|
// and setting attributes through setAttribute etc, this is helpful
|
304
304
|
attributeChangedCallback(e, t, r) {
|
305
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
305
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
306
306
|
}
|
307
307
|
disconnectedCallback() {
|
308
308
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -315,7 +315,7 @@ typeof HTMLElement == "function" && (ot = class extends HTMLElement {
|
|
315
315
|
) || e;
|
316
316
|
}
|
317
317
|
});
|
318
|
-
function
|
318
|
+
function ne(e, t, r, n) {
|
319
319
|
const i = r[e]?.type;
|
320
320
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
321
321
|
return t;
|
@@ -361,7 +361,7 @@ function er(e, t, r, n, i, s) {
|
|
361
361
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
362
362
|
},
|
363
363
|
set(l) {
|
364
|
-
l =
|
364
|
+
l = ne(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
|
365
365
|
}
|
366
366
|
});
|
367
367
|
}), n.forEach((o) => {
|
@@ -401,7 +401,7 @@ class tr {
|
|
401
401
|
* @returns {() => void}
|
402
402
|
*/
|
403
403
|
$on(t, r) {
|
404
|
-
if (!
|
404
|
+
if (!Ie(r))
|
405
405
|
return T;
|
406
406
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
407
407
|
return n.push(r), () => {
|
@@ -419,24 +419,24 @@ class tr {
|
|
419
419
|
}
|
420
420
|
const rr = "4";
|
421
421
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rr);
|
422
|
-
const
|
422
|
+
const $ = [];
|
423
423
|
function nr(e, t) {
|
424
424
|
return {
|
425
|
-
subscribe:
|
425
|
+
subscribe: he(e, t).subscribe
|
426
426
|
};
|
427
427
|
}
|
428
|
-
function
|
428
|
+
function he(e, t = T) {
|
429
429
|
let r;
|
430
430
|
const n = /* @__PURE__ */ new Set();
|
431
431
|
function i(o) {
|
432
432
|
if (nt(e, o) && (e = o, r)) {
|
433
|
-
const l =
|
434
|
-
for (const
|
435
|
-
|
433
|
+
const l = !$.length;
|
434
|
+
for (const h of n)
|
435
|
+
h[1](), $.push(h, e);
|
436
436
|
if (l) {
|
437
|
-
for (let
|
438
|
-
|
439
|
-
|
437
|
+
for (let h = 0; h < $.length; h += 2)
|
438
|
+
$[h][0]($[h + 1]);
|
439
|
+
$.length = 0;
|
440
440
|
}
|
441
441
|
}
|
442
442
|
}
|
@@ -444,41 +444,41 @@ function le(e, t = T) {
|
|
444
444
|
i(o(e));
|
445
445
|
}
|
446
446
|
function a(o, l = T) {
|
447
|
-
const
|
448
|
-
return n.add(
|
449
|
-
n.delete(
|
447
|
+
const h = [o, l];
|
448
|
+
return n.add(h), n.size === 1 && (r = t(i, s) || T), o(e), () => {
|
449
|
+
n.delete(h), n.size === 0 && r && (r(), r = null);
|
450
450
|
};
|
451
451
|
}
|
452
452
|
return { set: i, update: s, subscribe: a };
|
453
453
|
}
|
454
|
-
function
|
454
|
+
function k(e, t, r) {
|
455
455
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
456
456
|
if (!i.every(Boolean))
|
457
457
|
throw new Error("derived() expects stores as input, got a falsy value");
|
458
458
|
const s = t.length < 2;
|
459
459
|
return nr(r, (a, o) => {
|
460
460
|
let l = !1;
|
461
|
-
const
|
462
|
-
let
|
461
|
+
const h = [];
|
462
|
+
let u = 0, c = T;
|
463
463
|
const f = () => {
|
464
|
-
if (
|
464
|
+
if (u)
|
465
465
|
return;
|
466
466
|
c();
|
467
|
-
const
|
468
|
-
s ? a(
|
469
|
-
},
|
470
|
-
(
|
471
|
-
|
467
|
+
const g = t(n ? h[0] : h, a, o);
|
468
|
+
s ? a(g) : c = Ie(g) ? g : T;
|
469
|
+
}, x = i.map(
|
470
|
+
(g, y) => it(
|
471
|
+
g,
|
472
472
|
(H) => {
|
473
|
-
|
473
|
+
h[y] = H, u &= ~(1 << y), l && f();
|
474
474
|
},
|
475
475
|
() => {
|
476
|
-
|
476
|
+
u |= 1 << y;
|
477
477
|
}
|
478
478
|
)
|
479
479
|
);
|
480
480
|
return l = !0, f(), function() {
|
481
|
-
|
481
|
+
K(x), c(), l = !1;
|
482
482
|
};
|
483
483
|
});
|
484
484
|
}
|
@@ -495,26 +495,26 @@ function ar(e) {
|
|
495
495
|
var t = Object.prototype.toString.call(e);
|
496
496
|
return t === "[object RegExp]" || t === "[object Date]" || lr(e);
|
497
497
|
}
|
498
|
-
var
|
498
|
+
var hr = typeof Symbol == "function" && Symbol.for, ur = hr ? Symbol.for("react.element") : 60103;
|
499
499
|
function lr(e) {
|
500
|
-
return e.$$typeof ===
|
500
|
+
return e.$$typeof === ur;
|
501
501
|
}
|
502
502
|
function fr(e) {
|
503
503
|
return Array.isArray(e) ? [] : {};
|
504
504
|
}
|
505
|
-
function
|
506
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
505
|
+
function q(e, t) {
|
506
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? D(fr(e), e, t) : e;
|
507
507
|
}
|
508
508
|
function cr(e, t, r) {
|
509
509
|
return e.concat(t).map(function(n) {
|
510
|
-
return
|
510
|
+
return q(n, r);
|
511
511
|
});
|
512
512
|
}
|
513
513
|
function pr(e, t) {
|
514
514
|
if (!t.customMerge)
|
515
|
-
return
|
515
|
+
return D;
|
516
516
|
var r = t.customMerge(e);
|
517
|
-
return typeof r == "function" ? r :
|
517
|
+
return typeof r == "function" ? r : D;
|
518
518
|
}
|
519
519
|
function mr(e) {
|
520
520
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
@@ -537,51 +537,65 @@ function br(e, t) {
|
|
537
537
|
function dr(e, t, r) {
|
538
538
|
var n = {};
|
539
539
|
return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
540
|
-
n[i] =
|
540
|
+
n[i] = q(e[i], r);
|
541
541
|
}), Fe(t).forEach(function(i) {
|
542
|
-
br(e, i) || (at(e, i) && r.isMergeableObject(t[i]) ? n[i] = pr(i, r)(e[i], t[i], r) : n[i] =
|
542
|
+
br(e, i) || (at(e, i) && r.isMergeableObject(t[i]) ? n[i] = pr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
|
543
543
|
}), n;
|
544
544
|
}
|
545
|
-
function
|
546
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || sr, r.cloneUnlessOtherwiseSpecified =
|
545
|
+
function D(e, t, r) {
|
546
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || sr, r.cloneUnlessOtherwiseSpecified = q;
|
547
547
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
548
|
-
return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) :
|
548
|
+
return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : q(t, r);
|
549
549
|
}
|
550
|
-
|
550
|
+
D.all = function(t, r) {
|
551
551
|
if (!Array.isArray(t))
|
552
552
|
throw new Error("first argument should be an array");
|
553
553
|
return t.reduce(function(n, i) {
|
554
|
-
return
|
554
|
+
return D(n, i, r);
|
555
555
|
}, {});
|
556
556
|
};
|
557
|
-
var gr =
|
557
|
+
var gr = D, xr = gr;
|
558
558
|
const Er = /* @__PURE__ */ ir(xr);
|
559
|
-
|
560
|
-
|
559
|
+
/*! *****************************************************************************
|
560
|
+
Copyright (c) Microsoft Corporation.
|
561
|
+
|
562
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
563
|
+
purpose with or without fee is hereby granted.
|
564
|
+
|
565
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
566
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
567
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
568
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
569
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
570
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
571
|
+
PERFORMANCE OF THIS SOFTWARE.
|
572
|
+
***************************************************************************** */
|
573
|
+
var ve = function(e, t) {
|
574
|
+
return ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
561
575
|
r.__proto__ = n;
|
562
576
|
} || function(r, n) {
|
563
577
|
for (var i in n)
|
564
578
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
565
|
-
},
|
579
|
+
}, ve(e, t);
|
566
580
|
};
|
567
|
-
function
|
581
|
+
function ue(e, t) {
|
568
582
|
if (typeof t != "function" && t !== null)
|
569
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
570
|
-
|
584
|
+
ve(e, t);
|
571
585
|
function r() {
|
572
586
|
this.constructor = e;
|
573
587
|
}
|
574
588
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
575
589
|
}
|
576
|
-
var
|
577
|
-
return
|
590
|
+
var d = function() {
|
591
|
+
return d = Object.assign || function(t) {
|
578
592
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
579
593
|
r = arguments[n];
|
580
594
|
for (var s in r)
|
581
595
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
582
596
|
}
|
583
597
|
return t;
|
584
|
-
},
|
598
|
+
}, d.apply(this, arguments);
|
585
599
|
};
|
586
600
|
function yr(e, t) {
|
587
601
|
var r = {};
|
@@ -592,14 +606,14 @@ function yr(e, t) {
|
|
592
606
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
593
607
|
return r;
|
594
608
|
}
|
595
|
-
function
|
596
|
-
if (
|
609
|
+
function me(e, t, r) {
|
610
|
+
if (arguments.length === 2)
|
597
611
|
for (var n = 0, i = t.length, s; n < i; n++)
|
598
612
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
599
|
-
return e.concat(s ||
|
613
|
+
return e.concat(s || t);
|
600
614
|
}
|
601
|
-
function
|
602
|
-
var r = t && t.cache ? t.cache : Ar, n = t && t.serializer ? t.serializer : Br, i = t && t.strategy ? t.strategy :
|
615
|
+
function be(e, t) {
|
616
|
+
var r = t && t.cache ? t.cache : Ar, n = t && t.serializer ? t.serializer : Br, i = t && t.strategy ? t.strategy : vr;
|
603
617
|
return i(e, {
|
604
618
|
cache: r,
|
605
619
|
serializer: n
|
@@ -608,7 +622,7 @@ function ge(e, t) {
|
|
608
622
|
function _r(e) {
|
609
623
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
610
624
|
}
|
611
|
-
function
|
625
|
+
function ht(e, t, r, n) {
|
612
626
|
var i = _r(n) ? n : r(n), s = t.get(i);
|
613
627
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
614
628
|
}
|
@@ -616,95 +630,87 @@ function ut(e, t, r) {
|
|
616
630
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
617
631
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
618
632
|
}
|
619
|
-
function
|
633
|
+
function Ce(e, t, r, n, i) {
|
620
634
|
return r.bind(t, e, n, i);
|
621
635
|
}
|
636
|
+
function vr(e, t) {
|
637
|
+
var r = e.length === 1 ? ht : ut;
|
638
|
+
return Ce(e, this, r, t.cache.create(), t.serializer);
|
639
|
+
}
|
622
640
|
function Hr(e, t) {
|
623
|
-
|
624
|
-
return ht(e, this, r, t.cache.create(), t.serializer);
|
641
|
+
return Ce(e, this, ut, t.cache.create(), t.serializer);
|
625
642
|
}
|
626
643
|
function Tr(e, t) {
|
627
|
-
return
|
644
|
+
return Ce(e, this, ht, t.cache.create(), t.serializer);
|
628
645
|
}
|
629
646
|
var Br = function() {
|
630
647
|
return JSON.stringify(arguments);
|
631
|
-
}
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
}()
|
643
|
-
), Ar = {
|
648
|
+
};
|
649
|
+
function Me() {
|
650
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
651
|
+
}
|
652
|
+
Me.prototype.get = function(e) {
|
653
|
+
return this.cache[e];
|
654
|
+
};
|
655
|
+
Me.prototype.set = function(e, t) {
|
656
|
+
this.cache[e] = t;
|
657
|
+
};
|
658
|
+
var Ar = {
|
644
659
|
create: function() {
|
645
|
-
return new
|
660
|
+
return new Me();
|
646
661
|
}
|
647
|
-
},
|
648
|
-
variadic:
|
649
|
-
|
650
|
-
|
651
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
652
|
-
r = arguments[n];
|
653
|
-
for (var s in r)
|
654
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
655
|
-
}
|
656
|
-
return t;
|
657
|
-
}, ae.apply(this, arguments);
|
658
|
-
};
|
659
|
-
var m;
|
662
|
+
}, de = {
|
663
|
+
variadic: Hr,
|
664
|
+
monadic: Tr
|
665
|
+
}, m;
|
660
666
|
(function(e) {
|
661
667
|
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";
|
662
668
|
})(m || (m = {}));
|
663
|
-
var
|
669
|
+
var E;
|
664
670
|
(function(e) {
|
665
671
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
666
|
-
})(
|
667
|
-
var
|
672
|
+
})(E || (E = {}));
|
673
|
+
var F;
|
668
674
|
(function(e) {
|
669
675
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
670
|
-
})(
|
676
|
+
})(F || (F = {}));
|
671
677
|
function je(e) {
|
672
|
-
return e.type ===
|
678
|
+
return e.type === E.literal;
|
673
679
|
}
|
674
|
-
function
|
675
|
-
return e.type ===
|
680
|
+
function Sr(e) {
|
681
|
+
return e.type === E.argument;
|
676
682
|
}
|
677
683
|
function lt(e) {
|
678
|
-
return e.type ===
|
684
|
+
return e.type === E.number;
|
679
685
|
}
|
680
686
|
function ft(e) {
|
681
|
-
return e.type ===
|
687
|
+
return e.type === E.date;
|
682
688
|
}
|
683
689
|
function ct(e) {
|
684
|
-
return e.type ===
|
690
|
+
return e.type === E.time;
|
685
691
|
}
|
686
692
|
function pt(e) {
|
687
|
-
return e.type ===
|
693
|
+
return e.type === E.select;
|
688
694
|
}
|
689
695
|
function mt(e) {
|
690
|
-
return e.type ===
|
696
|
+
return e.type === E.plural;
|
691
697
|
}
|
692
|
-
function
|
693
|
-
return e.type ===
|
698
|
+
function Pr(e) {
|
699
|
+
return e.type === E.pound;
|
694
700
|
}
|
695
701
|
function bt(e) {
|
696
|
-
return e.type ===
|
702
|
+
return e.type === E.tag;
|
697
703
|
}
|
698
704
|
function dt(e) {
|
699
|
-
return !!(e && typeof e == "object" && e.type ===
|
705
|
+
return !!(e && typeof e == "object" && e.type === F.number);
|
700
706
|
}
|
701
|
-
function
|
702
|
-
return !!(e && typeof e == "object" && e.type ===
|
707
|
+
function He(e) {
|
708
|
+
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
703
709
|
}
|
704
|
-
var gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
705
|
-
function
|
710
|
+
var gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Or = /(?:[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;
|
711
|
+
function Nr(e) {
|
706
712
|
var t = {};
|
707
|
-
return e.replace(
|
713
|
+
return e.replace(Or, function(r) {
|
708
714
|
var n = r.length;
|
709
715
|
switch (r[0]) {
|
710
716
|
case "G":
|
@@ -793,18 +799,8 @@ function wr(e) {
|
|
793
799
|
return "";
|
794
800
|
}), t;
|
795
801
|
}
|
796
|
-
var E = function() {
|
797
|
-
return E = Object.assign || function(t) {
|
798
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
799
|
-
r = arguments[n];
|
800
|
-
for (var s in r)
|
801
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
802
|
-
}
|
803
|
-
return t;
|
804
|
-
}, E.apply(this, arguments);
|
805
|
-
};
|
806
802
|
var Ir = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
807
|
-
function
|
803
|
+
function wr(e) {
|
808
804
|
if (e.length === 0)
|
809
805
|
throw new Error("Number skeleton cannot be empty");
|
810
806
|
for (var t = e.split(Ir).filter(function(f) {
|
@@ -813,8 +809,8 @@ function Lr(e) {
|
|
813
809
|
var s = i[n], a = s.split("/");
|
814
810
|
if (a.length === 0)
|
815
811
|
throw new Error("Invalid number skeleton");
|
816
|
-
for (var o = a[0], l = a.slice(1),
|
817
|
-
var c = h
|
812
|
+
for (var o = a[0], l = a.slice(1), h = 0, u = l; h < u.length; h++) {
|
813
|
+
var c = u[h];
|
818
814
|
if (c.length === 0)
|
819
815
|
throw new Error("Invalid number skeleton");
|
820
816
|
}
|
@@ -822,10 +818,10 @@ function Lr(e) {
|
|
822
818
|
}
|
823
819
|
return r;
|
824
820
|
}
|
825
|
-
function
|
821
|
+
function Lr(e) {
|
826
822
|
return e.replace(/^(.*?)-/, "");
|
827
823
|
}
|
828
|
-
var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g,
|
824
|
+
var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
|
829
825
|
function ke(e) {
|
830
826
|
var t = {};
|
831
827
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
@@ -872,7 +868,7 @@ function yt(e) {
|
|
872
868
|
};
|
873
869
|
}
|
874
870
|
}
|
875
|
-
function
|
871
|
+
function Mr(e) {
|
876
872
|
var t;
|
877
873
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
878
874
|
notation: "engineering"
|
@@ -914,7 +910,7 @@ function Rr(e) {
|
|
914
910
|
continue;
|
915
911
|
case "measure-unit":
|
916
912
|
case "unit":
|
917
|
-
t.style = "unit", t.unit =
|
913
|
+
t.style = "unit", t.unit = Lr(i.options[0]);
|
918
914
|
continue;
|
919
915
|
case "compact-short":
|
920
916
|
case "K":
|
@@ -925,13 +921,13 @@ function Rr(e) {
|
|
925
921
|
t.notation = "compact", t.compactDisplay = "long";
|
926
922
|
continue;
|
927
923
|
case "scientific":
|
928
|
-
t =
|
929
|
-
return
|
924
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
|
925
|
+
return d(d({}, l), Xe(h));
|
930
926
|
}, {}));
|
931
927
|
continue;
|
932
928
|
case "engineering":
|
933
|
-
t =
|
934
|
-
return
|
929
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
|
930
|
+
return d(d({}, l), Xe(h));
|
935
931
|
}, {}));
|
936
932
|
continue;
|
937
933
|
case "notation-simple":
|
@@ -976,13 +972,13 @@ function Rr(e) {
|
|
976
972
|
case "integer-width":
|
977
973
|
if (i.options.length > 1)
|
978
974
|
throw new RangeError("integer-width stems only accept a single optional option");
|
979
|
-
i.options[0].replace(
|
980
|
-
if (
|
981
|
-
t.minimumIntegerDigits =
|
975
|
+
i.options[0].replace(Cr, function(l, h, u, c, f, x) {
|
976
|
+
if (h)
|
977
|
+
t.minimumIntegerDigits = u.length;
|
982
978
|
else {
|
983
979
|
if (c && f)
|
984
980
|
throw new Error("We currently do not support maximum integer digits");
|
985
|
-
if (
|
981
|
+
if (x)
|
986
982
|
throw new Error("We currently do not support exact integer digits");
|
987
983
|
}
|
988
984
|
return "";
|
@@ -996,25 +992,25 @@ function Rr(e) {
|
|
996
992
|
if (Ve.test(i.stem)) {
|
997
993
|
if (i.options.length > 1)
|
998
994
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
999
|
-
i.stem.replace(Ve, function(l,
|
1000
|
-
return
|
995
|
+
i.stem.replace(Ve, function(l, h, u, c, f, x) {
|
996
|
+
return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && x ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + x.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
1001
997
|
});
|
1002
998
|
var s = i.options[0];
|
1003
|
-
s === "w" ? t =
|
999
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ke(s)));
|
1004
1000
|
continue;
|
1005
1001
|
}
|
1006
1002
|
if (xt.test(i.stem)) {
|
1007
|
-
t =
|
1003
|
+
t = d(d({}, t), ke(i.stem));
|
1008
1004
|
continue;
|
1009
1005
|
}
|
1010
1006
|
var a = yt(i.stem);
|
1011
|
-
a && (t =
|
1012
|
-
var o =
|
1013
|
-
o && (t =
|
1007
|
+
a && (t = d(d({}, t), a));
|
1008
|
+
var o = Mr(i.stem);
|
1009
|
+
o && (t = d(d({}, t), o));
|
1014
1010
|
}
|
1015
1011
|
return t;
|
1016
1012
|
}
|
1017
|
-
var
|
1013
|
+
var te = {
|
1018
1014
|
"001": [
|
1019
1015
|
"H",
|
1020
1016
|
"h"
|
@@ -2429,23 +2425,23 @@ var re = {
|
|
2429
2425
|
"h"
|
2430
2426
|
]
|
2431
2427
|
};
|
2432
|
-
function
|
2428
|
+
function $r(e, t) {
|
2433
2429
|
for (var r = "", n = 0; n < e.length; n++) {
|
2434
2430
|
var i = e.charAt(n);
|
2435
2431
|
if (i === "j") {
|
2436
2432
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2437
2433
|
s++, n++;
|
2438
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a",
|
2439
|
-
for ((
|
2434
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", h = Ur(t);
|
2435
|
+
for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
|
2440
2436
|
r += l;
|
2441
2437
|
for (; a-- > 0; )
|
2442
|
-
r =
|
2438
|
+
r = h + r;
|
2443
2439
|
} else
|
2444
2440
|
i === "J" ? r += "H" : r += i;
|
2445
2441
|
}
|
2446
2442
|
return r;
|
2447
2443
|
}
|
2448
|
-
function
|
2444
|
+
function Ur(e) {
|
2449
2445
|
var t = e.hourCycle;
|
2450
2446
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2451
2447
|
e.hourCycles && // @ts-ignore
|
@@ -2464,23 +2460,23 @@ function Gr(e) {
|
|
2464
2460
|
}
|
2465
2461
|
var r = e.language, n;
|
2466
2462
|
r !== "root" && (n = e.maximize().region);
|
2467
|
-
var i =
|
2463
|
+
var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
|
2468
2464
|
return i[0];
|
2469
2465
|
}
|
2470
|
-
var
|
2466
|
+
var ge, Gr = new RegExp("^".concat(gt.source, "*")), Dr = new RegExp("".concat(gt.source, "*$"));
|
2471
2467
|
function b(e, t) {
|
2472
2468
|
return { start: e, end: t };
|
2473
2469
|
}
|
2474
|
-
var
|
2470
|
+
var Fr = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, Vr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Xr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, Zr = Wr ? Number.isSafeInteger : function(e) {
|
2475
2471
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2476
|
-
},
|
2472
|
+
}, Te = !0;
|
2477
2473
|
try {
|
2478
|
-
var
|
2479
|
-
|
2474
|
+
var Qr = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2475
|
+
Te = ((ge = Qr.exec("a")) === null || ge === void 0 ? void 0 : ge[0]) === "a";
|
2480
2476
|
} catch {
|
2481
|
-
|
2477
|
+
Te = !1;
|
2482
2478
|
}
|
2483
|
-
var ze =
|
2479
|
+
var ze = Fr ? (
|
2484
2480
|
// Native
|
2485
2481
|
function(t, r, n) {
|
2486
2482
|
return t.startsWith(r, n);
|
@@ -2490,7 +2486,7 @@ var ze = jr ? (
|
|
2490
2486
|
function(t, r, n) {
|
2491
2487
|
return t.slice(n, n + r.length) === r;
|
2492
2488
|
}
|
2493
|
-
),
|
2489
|
+
), Be = jr ? String.fromCodePoint : (
|
2494
2490
|
// IE11
|
2495
2491
|
function() {
|
2496
2492
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2504,7 +2500,7 @@ var ze = jr ? (
|
|
2504
2500
|
}
|
2505
2501
|
), We = (
|
2506
2502
|
// native
|
2507
|
-
|
2503
|
+
Vr ? Object.fromEntries : (
|
2508
2504
|
// Ponyfill
|
2509
2505
|
function(t) {
|
2510
2506
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2514,7 +2510,7 @@ var ze = jr ? (
|
|
2514
2510
|
return r;
|
2515
2511
|
}
|
2516
2512
|
)
|
2517
|
-
), _t =
|
2513
|
+
), _t = kr ? (
|
2518
2514
|
// Native
|
2519
2515
|
function(t, r) {
|
2520
2516
|
return t.codePointAt(r);
|
@@ -2528,7 +2524,7 @@ var ze = jr ? (
|
|
2528
2524
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2529
2525
|
}
|
2530
2526
|
}
|
2531
|
-
),
|
2527
|
+
), Jr = Xr ? (
|
2532
2528
|
// Native
|
2533
2529
|
function(t) {
|
2534
2530
|
return t.trimStart();
|
@@ -2536,9 +2532,9 @@ var ze = jr ? (
|
|
2536
2532
|
) : (
|
2537
2533
|
// Ponyfill
|
2538
2534
|
function(t) {
|
2539
|
-
return t.replace(
|
2535
|
+
return t.replace(Gr, "");
|
2540
2536
|
}
|
2541
|
-
),
|
2537
|
+
), qr = zr ? (
|
2542
2538
|
// Native
|
2543
2539
|
function(t) {
|
2544
2540
|
return t.trimEnd();
|
@@ -2546,32 +2542,32 @@ var ze = jr ? (
|
|
2546
2542
|
) : (
|
2547
2543
|
// Ponyfill
|
2548
2544
|
function(t) {
|
2549
|
-
return t.replace(
|
2545
|
+
return t.replace(Dr, "");
|
2550
2546
|
}
|
2551
2547
|
);
|
2552
2548
|
function vt(e, t) {
|
2553
2549
|
return new RegExp(e, t);
|
2554
2550
|
}
|
2555
|
-
var
|
2556
|
-
if (
|
2551
|
+
var Ae;
|
2552
|
+
if (Te) {
|
2557
2553
|
var Ze = vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2558
|
-
|
2554
|
+
Ae = function(t, r) {
|
2559
2555
|
var n;
|
2560
2556
|
Ze.lastIndex = r;
|
2561
2557
|
var i = Ze.exec(t);
|
2562
2558
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2563
2559
|
};
|
2564
2560
|
} else
|
2565
|
-
|
2561
|
+
Ae = function(t, r) {
|
2566
2562
|
for (var n = []; ; ) {
|
2567
2563
|
var i = _t(t, r);
|
2568
|
-
if (i === void 0 || Ht(i) ||
|
2564
|
+
if (i === void 0 || Ht(i) || tn(i))
|
2569
2565
|
break;
|
2570
2566
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2571
2567
|
}
|
2572
|
-
return
|
2568
|
+
return Be.apply(void 0, n);
|
2573
2569
|
};
|
2574
|
-
var
|
2570
|
+
var Yr = (
|
2575
2571
|
/** @class */
|
2576
2572
|
function() {
|
2577
2573
|
function e(t, r) {
|
@@ -2595,14 +2591,14 @@ var Kr = (
|
|
2595
2591
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
2596
2592
|
var o = this.clonePosition();
|
2597
2593
|
this.bump(), i.push({
|
2598
|
-
type:
|
2594
|
+
type: E.pound,
|
2599
2595
|
location: b(o, this.clonePosition())
|
2600
2596
|
});
|
2601
2597
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
2602
2598
|
if (n)
|
2603
2599
|
break;
|
2604
2600
|
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
2605
|
-
} else if (s === 60 && !this.ignoreTag &&
|
2601
|
+
} else if (s === 60 && !this.ignoreTag && Se(this.peek() || 0)) {
|
2606
2602
|
var a = this.parseTag(t, r);
|
2607
2603
|
if (a.err)
|
2608
2604
|
return a;
|
@@ -2623,7 +2619,7 @@ var Kr = (
|
|
2623
2619
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
2624
2620
|
return {
|
2625
2621
|
val: {
|
2626
|
-
type:
|
2622
|
+
type: E.literal,
|
2627
2623
|
value: "<".concat(i, "/>"),
|
2628
2624
|
location: b(n, this.clonePosition())
|
2629
2625
|
},
|
@@ -2635,12 +2631,12 @@ var Kr = (
|
|
2635
2631
|
return s;
|
2636
2632
|
var a = s.val, o = this.clonePosition();
|
2637
2633
|
if (this.bumpIf("</")) {
|
2638
|
-
if (this.isEOF() || !
|
2634
|
+
if (this.isEOF() || !Se(this.char()))
|
2639
2635
|
return this.error(m.INVALID_TAG, b(o, this.clonePosition()));
|
2640
|
-
var l = this.clonePosition(),
|
2641
|
-
return i !==
|
2636
|
+
var l = this.clonePosition(), h = this.parseTagName();
|
2637
|
+
return i !== h ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2642
2638
|
val: {
|
2643
|
-
type:
|
2639
|
+
type: E.tag,
|
2644
2640
|
value: i,
|
2645
2641
|
children: a,
|
2646
2642
|
location: b(n, this.clonePosition())
|
@@ -2653,7 +2649,7 @@ var Kr = (
|
|
2653
2649
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
2654
2650
|
}, e.prototype.parseTagName = function() {
|
2655
2651
|
var t = this.offset();
|
2656
|
-
for (this.bump(); !this.isEOF() &&
|
2652
|
+
for (this.bump(); !this.isEOF() && en(this.char()); )
|
2657
2653
|
this.bump();
|
2658
2654
|
return this.message.slice(t, this.offset());
|
2659
2655
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2677,12 +2673,12 @@ var Kr = (
|
|
2677
2673
|
}
|
2678
2674
|
var l = b(n, this.clonePosition());
|
2679
2675
|
return {
|
2680
|
-
val: { type:
|
2676
|
+
val: { type: E.literal, value: i, location: l },
|
2681
2677
|
err: null
|
2682
2678
|
};
|
2683
2679
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2684
2680
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2685
|
-
!
|
2681
|
+
!Kr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2686
2682
|
}, e.prototype.tryParseQuote = function(t) {
|
2687
2683
|
if (this.isEOF() || this.char() !== 39)
|
2688
2684
|
return null;
|
@@ -2716,12 +2712,12 @@ var Kr = (
|
|
2716
2712
|
r.push(n);
|
2717
2713
|
this.bump();
|
2718
2714
|
}
|
2719
|
-
return
|
2715
|
+
return Be.apply(void 0, r);
|
2720
2716
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2721
2717
|
if (this.isEOF())
|
2722
2718
|
return null;
|
2723
2719
|
var n = this.char();
|
2724
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2720
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Be(n));
|
2725
2721
|
}, e.prototype.parseArgument = function(t, r) {
|
2726
2722
|
var n = this.clonePosition();
|
2727
2723
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2737,7 +2733,7 @@ var Kr = (
|
|
2737
2733
|
case 125:
|
2738
2734
|
return this.bump(), {
|
2739
2735
|
val: {
|
2740
|
-
type:
|
2736
|
+
type: E.argument,
|
2741
2737
|
// value does not include the opening and closing braces.
|
2742
2738
|
value: i,
|
2743
2739
|
location: b(n, this.clonePosition())
|
@@ -2750,7 +2746,7 @@ var Kr = (
|
|
2750
2746
|
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
2751
2747
|
}
|
2752
2748
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2753
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2749
|
+
var t = this.clonePosition(), r = this.offset(), n = Ae(this.message, r), i = r + n.length;
|
2754
2750
|
this.bumpTo(i);
|
2755
2751
|
var s = this.clonePosition(), a = b(t, s);
|
2756
2752
|
return { value: n, location: a };
|
@@ -2763,53 +2759,53 @@ var Kr = (
|
|
2763
2759
|
case "date":
|
2764
2760
|
case "time": {
|
2765
2761
|
this.bumpSpace();
|
2766
|
-
var
|
2762
|
+
var h = null;
|
2767
2763
|
if (this.bumpIf(",")) {
|
2768
2764
|
this.bumpSpace();
|
2769
|
-
var
|
2765
|
+
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2770
2766
|
if (c.err)
|
2771
2767
|
return c;
|
2772
|
-
var f =
|
2768
|
+
var f = qr(c.val);
|
2773
2769
|
if (f.length === 0)
|
2774
2770
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
2775
|
-
var
|
2776
|
-
|
2771
|
+
var x = b(u, this.clonePosition());
|
2772
|
+
h = { style: f, styleLocation: x };
|
2777
2773
|
}
|
2778
|
-
var
|
2779
|
-
if (
|
2780
|
-
return
|
2774
|
+
var g = this.tryParseArgumentClose(i);
|
2775
|
+
if (g.err)
|
2776
|
+
return g;
|
2781
2777
|
var y = b(i, this.clonePosition());
|
2782
|
-
if (
|
2783
|
-
var H =
|
2778
|
+
if (h && ze(h?.style, "::", 0)) {
|
2779
|
+
var H = Jr(h.style.slice(2));
|
2784
2780
|
if (o === "number") {
|
2785
|
-
var c = this.parseNumberSkeletonFromString(H,
|
2781
|
+
var c = this.parseNumberSkeletonFromString(H, h.styleLocation);
|
2786
2782
|
return c.err ? c : {
|
2787
|
-
val: { type:
|
2783
|
+
val: { type: E.number, value: n, location: y, style: c.val },
|
2788
2784
|
err: null
|
2789
2785
|
};
|
2790
2786
|
} else {
|
2791
2787
|
if (H.length === 0)
|
2792
2788
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
2793
2789
|
var B = H;
|
2794
|
-
this.locale && (B =
|
2790
|
+
this.locale && (B = $r(H, this.locale));
|
2795
2791
|
var f = {
|
2796
|
-
type:
|
2792
|
+
type: F.dateTime,
|
2797
2793
|
pattern: B,
|
2798
|
-
location:
|
2799
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2800
|
-
},
|
2794
|
+
location: h.styleLocation,
|
2795
|
+
parsedOptions: this.shouldParseSkeletons ? Nr(B) : {}
|
2796
|
+
}, A = o === "date" ? E.date : E.time;
|
2801
2797
|
return {
|
2802
|
-
val: { type:
|
2798
|
+
val: { type: A, value: n, location: y, style: f },
|
2803
2799
|
err: null
|
2804
2800
|
};
|
2805
2801
|
}
|
2806
2802
|
}
|
2807
2803
|
return {
|
2808
2804
|
val: {
|
2809
|
-
type: o === "number" ?
|
2805
|
+
type: o === "number" ? E.number : o === "date" ? E.date : E.time,
|
2810
2806
|
value: n,
|
2811
2807
|
location: y,
|
2812
|
-
style: (s =
|
2808
|
+
style: (s = h?.style) !== null && s !== void 0 ? s : null
|
2813
2809
|
},
|
2814
2810
|
err: null
|
2815
2811
|
};
|
@@ -2819,41 +2815,41 @@ var Kr = (
|
|
2819
2815
|
case "select": {
|
2820
2816
|
var v = this.clonePosition();
|
2821
2817
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2822
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v,
|
2818
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, d({}, v)));
|
2823
2819
|
this.bumpSpace();
|
2824
|
-
var
|
2825
|
-
if (o !== "select" &&
|
2820
|
+
var O = this.parseIdentifierIfPossible(), P = 0;
|
2821
|
+
if (o !== "select" && O.value === "offset") {
|
2826
2822
|
if (!this.bumpIf(":"))
|
2827
2823
|
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
2828
2824
|
this.bumpSpace();
|
2829
2825
|
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2830
2826
|
if (c.err)
|
2831
2827
|
return c;
|
2832
|
-
this.bumpSpace(),
|
2828
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
|
2833
2829
|
}
|
2834
|
-
var
|
2835
|
-
if (
|
2836
|
-
return
|
2837
|
-
var
|
2838
|
-
if (
|
2839
|
-
return
|
2840
|
-
var
|
2830
|
+
var M = this.tryParsePluralOrSelectOptions(t, o, r, O);
|
2831
|
+
if (M.err)
|
2832
|
+
return M;
|
2833
|
+
var g = this.tryParseArgumentClose(i);
|
2834
|
+
if (g.err)
|
2835
|
+
return g;
|
2836
|
+
var ee = b(i, this.clonePosition());
|
2841
2837
|
return o === "select" ? {
|
2842
2838
|
val: {
|
2843
|
-
type:
|
2839
|
+
type: E.select,
|
2844
2840
|
value: n,
|
2845
|
-
options: We(
|
2846
|
-
location:
|
2841
|
+
options: We(M.val),
|
2842
|
+
location: ee
|
2847
2843
|
},
|
2848
2844
|
err: null
|
2849
2845
|
} : {
|
2850
2846
|
val: {
|
2851
|
-
type:
|
2847
|
+
type: E.plural,
|
2852
2848
|
value: n,
|
2853
|
-
options: We(
|
2854
|
-
offset:
|
2849
|
+
options: We(M.val),
|
2850
|
+
offset: P,
|
2855
2851
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
2856
|
-
location:
|
2852
|
+
location: ee
|
2857
2853
|
},
|
2858
2854
|
err: null
|
2859
2855
|
};
|
@@ -2901,13 +2897,13 @@ var Kr = (
|
|
2901
2897
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2902
2898
|
var n = [];
|
2903
2899
|
try {
|
2904
|
-
n =
|
2900
|
+
n = wr(t);
|
2905
2901
|
} catch {
|
2906
2902
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
2907
2903
|
}
|
2908
2904
|
return {
|
2909
2905
|
val: {
|
2910
|
-
type:
|
2906
|
+
type: F.number,
|
2911
2907
|
tokens: n,
|
2912
2908
|
location: r,
|
2913
2909
|
parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
|
@@ -2915,36 +2911,36 @@ var Kr = (
|
|
2915
2911
|
err: null
|
2916
2912
|
};
|
2917
2913
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2918
|
-
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(),
|
2919
|
-
if (
|
2914
|
+
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), h = i.value, u = i.location; ; ) {
|
2915
|
+
if (h.length === 0) {
|
2920
2916
|
var c = this.clonePosition();
|
2921
2917
|
if (r !== "select" && this.bumpIf("=")) {
|
2922
2918
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2923
2919
|
if (f.err)
|
2924
2920
|
return f;
|
2925
|
-
|
2921
|
+
u = b(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
|
2926
2922
|
} else
|
2927
2923
|
break;
|
2928
2924
|
}
|
2929
|
-
if (l.has(
|
2930
|
-
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
2931
|
-
|
2932
|
-
var
|
2925
|
+
if (l.has(h))
|
2926
|
+
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
2927
|
+
h === "other" && (a = !0), this.bumpSpace();
|
2928
|
+
var x = this.clonePosition();
|
2933
2929
|
if (!this.bumpIf("{"))
|
2934
2930
|
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
2935
|
-
var
|
2936
|
-
if (
|
2937
|
-
return
|
2938
|
-
var y = this.tryParseArgumentClose(
|
2931
|
+
var g = this.parseMessage(t + 1, r, n);
|
2932
|
+
if (g.err)
|
2933
|
+
return g;
|
2934
|
+
var y = this.tryParseArgumentClose(x);
|
2939
2935
|
if (y.err)
|
2940
2936
|
return y;
|
2941
2937
|
o.push([
|
2942
|
-
|
2938
|
+
h,
|
2943
2939
|
{
|
2944
|
-
value:
|
2945
|
-
location: b(
|
2940
|
+
value: g.val,
|
2941
|
+
location: b(x, this.clonePosition())
|
2946
2942
|
}
|
2947
|
-
]), l.add(
|
2943
|
+
]), l.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, u = s.location;
|
2948
2944
|
}
|
2949
2945
|
return o.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
2950
2946
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
@@ -2958,7 +2954,7 @@ var Kr = (
|
|
2958
2954
|
break;
|
2959
2955
|
}
|
2960
2956
|
var l = b(i, this.clonePosition());
|
2961
|
-
return s ? (a *= n,
|
2957
|
+
return s ? (a *= n, Zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
2962
2958
|
}, e.prototype.offset = function() {
|
2963
2959
|
return this.position.offset;
|
2964
2960
|
}, e.prototype.isEOF = function() {
|
@@ -3024,47 +3020,47 @@ var Kr = (
|
|
3024
3020
|
}, e;
|
3025
3021
|
}()
|
3026
3022
|
);
|
3027
|
-
function
|
3023
|
+
function Se(e) {
|
3028
3024
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3029
3025
|
}
|
3030
|
-
function
|
3031
|
-
return
|
3026
|
+
function Kr(e) {
|
3027
|
+
return Se(e) || e === 47;
|
3032
3028
|
}
|
3033
|
-
function
|
3029
|
+
function en(e) {
|
3034
3030
|
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;
|
3035
3031
|
}
|
3036
3032
|
function Ht(e) {
|
3037
3033
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3038
3034
|
}
|
3039
|
-
function
|
3035
|
+
function tn(e) {
|
3040
3036
|
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;
|
3041
3037
|
}
|
3042
|
-
function
|
3038
|
+
function Pe(e) {
|
3043
3039
|
e.forEach(function(t) {
|
3044
3040
|
if (delete t.location, pt(t) || mt(t))
|
3045
3041
|
for (var r in t.options)
|
3046
|
-
delete t.options[r].location,
|
3042
|
+
delete t.options[r].location, Pe(t.options[r].value);
|
3047
3043
|
else
|
3048
|
-
lt(t) && dt(t.style) || (ft(t) || ct(t)) &&
|
3044
|
+
lt(t) && dt(t.style) || (ft(t) || ct(t)) && He(t.style) ? delete t.style.location : bt(t) && Pe(t.children);
|
3049
3045
|
});
|
3050
3046
|
}
|
3051
|
-
function
|
3052
|
-
t === void 0 && (t = {}), t =
|
3053
|
-
var r = new
|
3047
|
+
function rn(e, t) {
|
3048
|
+
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3049
|
+
var r = new Yr(e, t).parse();
|
3054
3050
|
if (r.err) {
|
3055
3051
|
var n = SyntaxError(m[r.err.kind]);
|
3056
3052
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3057
3053
|
}
|
3058
|
-
return t?.captureLocation ||
|
3054
|
+
return t?.captureLocation || Pe(r.val), r.val;
|
3059
3055
|
}
|
3060
|
-
var
|
3056
|
+
var j;
|
3061
3057
|
(function(e) {
|
3062
3058
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3063
|
-
})(
|
3064
|
-
var
|
3059
|
+
})(j || (j = {}));
|
3060
|
+
var le = (
|
3065
3061
|
/** @class */
|
3066
3062
|
function(e) {
|
3067
|
-
|
3063
|
+
ue(t, e);
|
3068
3064
|
function t(r, n, i) {
|
3069
3065
|
var s = e.call(this, r) || this;
|
3070
3066
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3076,44 +3072,44 @@ var ce = (
|
|
3076
3072
|
), Qe = (
|
3077
3073
|
/** @class */
|
3078
3074
|
function(e) {
|
3079
|
-
|
3075
|
+
ue(t, e);
|
3080
3076
|
function t(r, n, i, s) {
|
3081
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3077
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, s) || this;
|
3082
3078
|
}
|
3083
3079
|
return t;
|
3084
|
-
}(
|
3085
|
-
),
|
3080
|
+
}(le)
|
3081
|
+
), nn = (
|
3086
3082
|
/** @class */
|
3087
3083
|
function(e) {
|
3088
|
-
|
3084
|
+
ue(t, e);
|
3089
3085
|
function t(r, n, i) {
|
3090
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3086
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
3091
3087
|
}
|
3092
3088
|
return t;
|
3093
|
-
}(
|
3094
|
-
),
|
3089
|
+
}(le)
|
3090
|
+
), sn = (
|
3095
3091
|
/** @class */
|
3096
3092
|
function(e) {
|
3097
|
-
|
3093
|
+
ue(t, e);
|
3098
3094
|
function t(r, n) {
|
3099
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3095
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
3100
3096
|
}
|
3101
3097
|
return t;
|
3102
|
-
}(
|
3098
|
+
}(le)
|
3103
3099
|
), _;
|
3104
3100
|
(function(e) {
|
3105
3101
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3106
3102
|
})(_ || (_ = {}));
|
3107
|
-
function
|
3103
|
+
function on(e) {
|
3108
3104
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3109
3105
|
var n = t[t.length - 1];
|
3110
3106
|
return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
|
3111
3107
|
}, []);
|
3112
3108
|
}
|
3113
|
-
function
|
3109
|
+
function an(e) {
|
3114
3110
|
return typeof e == "function";
|
3115
3111
|
}
|
3116
|
-
function
|
3112
|
+
function ie(e, t, r, n, i, s, a) {
|
3117
3113
|
if (e.length === 1 && je(e[0]))
|
3118
3114
|
return [
|
3119
3115
|
{
|
@@ -3121,107 +3117,107 @@ function se(e, t, r, n, i, s, a) {
|
|
3121
3117
|
value: e[0].value
|
3122
3118
|
}
|
3123
3119
|
];
|
3124
|
-
for (var o = [], l = 0,
|
3125
|
-
var
|
3126
|
-
if (je(
|
3120
|
+
for (var o = [], l = 0, h = e; l < h.length; l++) {
|
3121
|
+
var u = h[l];
|
3122
|
+
if (je(u)) {
|
3127
3123
|
o.push({
|
3128
3124
|
type: _.literal,
|
3129
|
-
value:
|
3125
|
+
value: u.value
|
3130
3126
|
});
|
3131
3127
|
continue;
|
3132
3128
|
}
|
3133
|
-
if (
|
3129
|
+
if (Pr(u)) {
|
3134
3130
|
typeof s == "number" && o.push({
|
3135
3131
|
type: _.literal,
|
3136
3132
|
value: r.getNumberFormat(t).format(s)
|
3137
3133
|
});
|
3138
3134
|
continue;
|
3139
3135
|
}
|
3140
|
-
var c =
|
3136
|
+
var c = u.value;
|
3141
3137
|
if (!(i && c in i))
|
3142
|
-
throw new
|
3138
|
+
throw new sn(c, a);
|
3143
3139
|
var f = i[c];
|
3144
|
-
if (
|
3140
|
+
if (Sr(u)) {
|
3145
3141
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
3146
3142
|
type: typeof f == "string" ? _.literal : _.object,
|
3147
3143
|
value: f
|
3148
3144
|
});
|
3149
3145
|
continue;
|
3150
3146
|
}
|
3151
|
-
if (ft(
|
3152
|
-
var
|
3147
|
+
if (ft(u)) {
|
3148
|
+
var x = typeof u.style == "string" ? n.date[u.style] : He(u.style) ? u.style.parsedOptions : void 0;
|
3153
3149
|
o.push({
|
3154
3150
|
type: _.literal,
|
3155
|
-
value: r.getDateTimeFormat(t,
|
3151
|
+
value: r.getDateTimeFormat(t, x).format(f)
|
3156
3152
|
});
|
3157
3153
|
continue;
|
3158
3154
|
}
|
3159
|
-
if (ct(
|
3160
|
-
var
|
3155
|
+
if (ct(u)) {
|
3156
|
+
var x = typeof u.style == "string" ? n.time[u.style] : He(u.style) ? u.style.parsedOptions : n.time.medium;
|
3161
3157
|
o.push({
|
3162
3158
|
type: _.literal,
|
3163
|
-
value: r.getDateTimeFormat(t,
|
3159
|
+
value: r.getDateTimeFormat(t, x).format(f)
|
3164
3160
|
});
|
3165
3161
|
continue;
|
3166
3162
|
}
|
3167
|
-
if (lt(
|
3168
|
-
var
|
3169
|
-
|
3163
|
+
if (lt(u)) {
|
3164
|
+
var x = typeof u.style == "string" ? n.number[u.style] : dt(u.style) ? u.style.parsedOptions : void 0;
|
3165
|
+
x && x.scale && (f = f * (x.scale || 1)), o.push({
|
3170
3166
|
type: _.literal,
|
3171
|
-
value: r.getNumberFormat(t,
|
3167
|
+
value: r.getNumberFormat(t, x).format(f)
|
3172
3168
|
});
|
3173
3169
|
continue;
|
3174
3170
|
}
|
3175
|
-
if (bt(
|
3176
|
-
var
|
3177
|
-
if (!
|
3178
|
-
throw new
|
3179
|
-
var B =
|
3180
|
-
return
|
3171
|
+
if (bt(u)) {
|
3172
|
+
var g = u.children, y = u.value, H = i[y];
|
3173
|
+
if (!an(H))
|
3174
|
+
throw new nn(y, "function", a);
|
3175
|
+
var B = ie(g, t, r, n, i, s), A = H(B.map(function(P) {
|
3176
|
+
return P.value;
|
3181
3177
|
}));
|
3182
|
-
Array.isArray(
|
3178
|
+
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(P) {
|
3183
3179
|
return {
|
3184
|
-
type: typeof
|
3185
|
-
value:
|
3180
|
+
type: typeof P == "string" ? _.literal : _.object,
|
3181
|
+
value: P
|
3186
3182
|
};
|
3187
3183
|
}));
|
3188
3184
|
}
|
3189
|
-
if (pt(
|
3190
|
-
var v =
|
3185
|
+
if (pt(u)) {
|
3186
|
+
var v = u.options[f] || u.options.other;
|
3191
3187
|
if (!v)
|
3192
|
-
throw new Qe(
|
3193
|
-
o.push.apply(o,
|
3188
|
+
throw new Qe(u.value, f, Object.keys(u.options), a);
|
3189
|
+
o.push.apply(o, ie(v.value, t, r, n, i));
|
3194
3190
|
continue;
|
3195
3191
|
}
|
3196
|
-
if (mt(
|
3197
|
-
var v =
|
3192
|
+
if (mt(u)) {
|
3193
|
+
var v = u.options["=".concat(f)];
|
3198
3194
|
if (!v) {
|
3199
3195
|
if (!Intl.PluralRules)
|
3200
|
-
throw new
|
3196
|
+
throw new le(`Intl.PluralRules is not available in this environment.
|
3201
3197
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3202
|
-
`,
|
3203
|
-
var
|
3204
|
-
v =
|
3198
|
+
`, j.MISSING_INTL_API, a);
|
3199
|
+
var O = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
3200
|
+
v = u.options[O] || u.options.other;
|
3205
3201
|
}
|
3206
3202
|
if (!v)
|
3207
|
-
throw new Qe(
|
3208
|
-
o.push.apply(o,
|
3203
|
+
throw new Qe(u.value, f, Object.keys(u.options), a);
|
3204
|
+
o.push.apply(o, ie(v.value, t, r, n, i, f - (u.offset || 0)));
|
3209
3205
|
continue;
|
3210
3206
|
}
|
3211
3207
|
}
|
3212
|
-
return
|
3208
|
+
return on(o);
|
3213
3209
|
}
|
3214
3210
|
function hn(e, t) {
|
3215
|
-
return t ?
|
3216
|
-
return r[n] =
|
3211
|
+
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3212
|
+
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3217
3213
|
}, {})) : e;
|
3218
3214
|
}
|
3219
|
-
function
|
3215
|
+
function un(e, t) {
|
3220
3216
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3221
3217
|
return r[n] = hn(e[n], t[n]), r;
|
3222
|
-
},
|
3218
|
+
}, d({}, e)) : e;
|
3223
3219
|
}
|
3224
|
-
function
|
3220
|
+
function xe(e) {
|
3225
3221
|
return {
|
3226
3222
|
create: function() {
|
3227
3223
|
return {
|
@@ -3235,39 +3231,39 @@ function ye(e) {
|
|
3235
3231
|
}
|
3236
3232
|
};
|
3237
3233
|
}
|
3238
|
-
function
|
3234
|
+
function ln(e) {
|
3239
3235
|
return e === void 0 && (e = {
|
3240
3236
|
number: {},
|
3241
3237
|
dateTime: {},
|
3242
3238
|
pluralRules: {}
|
3243
3239
|
}), {
|
3244
|
-
getNumberFormat:
|
3240
|
+
getNumberFormat: be(function() {
|
3245
3241
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3246
3242
|
r[n] = arguments[n];
|
3247
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3243
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
|
3248
3244
|
}, {
|
3249
|
-
cache:
|
3250
|
-
strategy:
|
3245
|
+
cache: xe(e.number),
|
3246
|
+
strategy: de.variadic
|
3251
3247
|
}),
|
3252
|
-
getDateTimeFormat:
|
3248
|
+
getDateTimeFormat: be(function() {
|
3253
3249
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3254
3250
|
r[n] = arguments[n];
|
3255
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3251
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
|
3256
3252
|
}, {
|
3257
|
-
cache:
|
3258
|
-
strategy:
|
3253
|
+
cache: xe(e.dateTime),
|
3254
|
+
strategy: de.variadic
|
3259
3255
|
}),
|
3260
|
-
getPluralRules:
|
3256
|
+
getPluralRules: be(function() {
|
3261
3257
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3262
3258
|
r[n] = arguments[n];
|
3263
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3259
|
+
return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
|
3264
3260
|
}, {
|
3265
|
-
cache:
|
3266
|
-
strategy:
|
3261
|
+
cache: xe(e.pluralRules),
|
3262
|
+
strategy: de.variadic
|
3267
3263
|
})
|
3268
3264
|
};
|
3269
3265
|
}
|
3270
|
-
var
|
3266
|
+
var fn = (
|
3271
3267
|
/** @class */
|
3272
3268
|
function() {
|
3273
3269
|
function e(t, r, n, i) {
|
@@ -3278,15 +3274,15 @@ var cn = (
|
|
3278
3274
|
dateTime: {},
|
3279
3275
|
pluralRules: {}
|
3280
3276
|
}, this.format = function(l) {
|
3281
|
-
var
|
3282
|
-
if (
|
3283
|
-
return
|
3284
|
-
var
|
3277
|
+
var h = s.formatToParts(l);
|
3278
|
+
if (h.length === 1)
|
3279
|
+
return h[0].value;
|
3280
|
+
var u = h.reduce(function(c, f) {
|
3285
3281
|
return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
3286
3282
|
}, []);
|
3287
|
-
return
|
3283
|
+
return u.length <= 1 ? u[0] || "" : u;
|
3288
3284
|
}, this.formatToParts = function(l) {
|
3289
|
-
return
|
3285
|
+
return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
3290
3286
|
}, this.resolvedOptions = function() {
|
3291
3287
|
var l;
|
3292
3288
|
return {
|
@@ -3300,12 +3296,12 @@ var cn = (
|
|
3300
3296
|
var a = i || {};
|
3301
3297
|
a.formatters;
|
3302
3298
|
var o = yr(a, ["formatters"]);
|
3303
|
-
this.ast = e.__parse(t,
|
3299
|
+
this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
|
3304
3300
|
} else
|
3305
3301
|
this.ast = t;
|
3306
3302
|
if (!Array.isArray(this.ast))
|
3307
3303
|
throw new TypeError("A message must be provided as a String or AST.");
|
3308
|
-
this.formats =
|
3304
|
+
this.formats = un(e.formats, n), this.formatters = i && i.formatters || ln(this.formatterCache);
|
3309
3305
|
}
|
3310
3306
|
return Object.defineProperty(e, "defaultLocale", {
|
3311
3307
|
get: function() {
|
@@ -3318,7 +3314,7 @@ var cn = (
|
|
3318
3314
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3319
3315
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3320
3316
|
}
|
3321
|
-
}, e.__parse =
|
3317
|
+
}, e.__parse = rn, e.formats = {
|
3322
3318
|
number: {
|
3323
3319
|
integer: {
|
3324
3320
|
maximumFractionDigits: 0
|
@@ -3379,7 +3375,7 @@ var cn = (
|
|
3379
3375
|
}, e;
|
3380
3376
|
}()
|
3381
3377
|
);
|
3382
|
-
function
|
3378
|
+
function cn(e, t) {
|
3383
3379
|
if (t == null)
|
3384
3380
|
return;
|
3385
3381
|
if (t in e)
|
@@ -3400,92 +3396,92 @@ function pn(e, t) {
|
|
3400
3396
|
n = void 0;
|
3401
3397
|
return n;
|
3402
3398
|
}
|
3403
|
-
const
|
3399
|
+
const N = {}, pn = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Tt = (e, t) => {
|
3404
3400
|
if (t == null)
|
3405
3401
|
return;
|
3406
|
-
if (t in
|
3407
|
-
return
|
3408
|
-
const r =
|
3402
|
+
if (t in N && e in N[t])
|
3403
|
+
return N[t][e];
|
3404
|
+
const r = fe(t);
|
3409
3405
|
for (let n = 0; n < r.length; n++) {
|
3410
|
-
const i = r[n], s =
|
3406
|
+
const i = r[n], s = bn(i, e);
|
3411
3407
|
if (s)
|
3412
|
-
return
|
3408
|
+
return pn(e, t, s);
|
3413
3409
|
}
|
3414
3410
|
};
|
3415
|
-
let
|
3416
|
-
const
|
3417
|
-
function
|
3418
|
-
return
|
3411
|
+
let Re;
|
3412
|
+
const X = he({});
|
3413
|
+
function mn(e) {
|
3414
|
+
return Re[e] || null;
|
3419
3415
|
}
|
3420
3416
|
function Bt(e) {
|
3421
|
-
return e in
|
3417
|
+
return e in Re;
|
3422
3418
|
}
|
3423
|
-
function
|
3419
|
+
function bn(e, t) {
|
3424
3420
|
if (!Bt(e))
|
3425
3421
|
return null;
|
3426
|
-
const r =
|
3427
|
-
return
|
3422
|
+
const r = mn(e);
|
3423
|
+
return cn(r, t);
|
3428
3424
|
}
|
3429
|
-
function
|
3425
|
+
function dn(e) {
|
3430
3426
|
if (e == null)
|
3431
3427
|
return;
|
3432
|
-
const t =
|
3428
|
+
const t = fe(e);
|
3433
3429
|
for (let r = 0; r < t.length; r++) {
|
3434
3430
|
const n = t[r];
|
3435
3431
|
if (Bt(n))
|
3436
3432
|
return n;
|
3437
3433
|
}
|
3438
3434
|
}
|
3439
|
-
function
|
3440
|
-
delete
|
3435
|
+
function At(e, ...t) {
|
3436
|
+
delete N[e], X.update((r) => (r[e] = Er.all([r[e] || {}, ...t]), r));
|
3441
3437
|
}
|
3442
|
-
|
3443
|
-
[
|
3438
|
+
k(
|
3439
|
+
[X],
|
3444
3440
|
([e]) => Object.keys(e)
|
3445
3441
|
);
|
3446
|
-
|
3447
|
-
const
|
3448
|
-
function
|
3449
|
-
|
3442
|
+
X.subscribe((e) => Re = e);
|
3443
|
+
const se = {};
|
3444
|
+
function gn(e, t) {
|
3445
|
+
se[e].delete(t), se[e].size === 0 && delete se[e];
|
3450
3446
|
}
|
3451
|
-
function
|
3452
|
-
return
|
3447
|
+
function St(e) {
|
3448
|
+
return se[e];
|
3453
3449
|
}
|
3454
|
-
function
|
3455
|
-
return
|
3456
|
-
const r =
|
3450
|
+
function xn(e) {
|
3451
|
+
return fe(e).map((t) => {
|
3452
|
+
const r = St(t);
|
3457
3453
|
return [t, r ? [...r] : []];
|
3458
3454
|
}).filter(([, t]) => t.length > 0);
|
3459
3455
|
}
|
3460
|
-
function
|
3461
|
-
return e == null ? !1 :
|
3456
|
+
function Oe(e) {
|
3457
|
+
return e == null ? !1 : fe(e).some(
|
3462
3458
|
(t) => {
|
3463
3459
|
var r;
|
3464
|
-
return (r =
|
3460
|
+
return (r = St(t)) == null ? void 0 : r.size;
|
3465
3461
|
}
|
3466
3462
|
);
|
3467
3463
|
}
|
3468
|
-
function
|
3464
|
+
function En(e, t) {
|
3469
3465
|
return Promise.all(
|
3470
|
-
t.map((n) => (
|
3471
|
-
).then((n) =>
|
3466
|
+
t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
|
3467
|
+
).then((n) => At(e, ...n));
|
3472
3468
|
}
|
3473
|
-
const
|
3469
|
+
const W = {};
|
3474
3470
|
function Pt(e) {
|
3475
|
-
if (!
|
3476
|
-
return e in
|
3477
|
-
const t =
|
3478
|
-
return
|
3471
|
+
if (!Oe(e))
|
3472
|
+
return e in W ? W[e] : Promise.resolve();
|
3473
|
+
const t = xn(e);
|
3474
|
+
return W[e] = Promise.all(
|
3479
3475
|
t.map(
|
3480
|
-
([r, n]) =>
|
3476
|
+
([r, n]) => En(r, n)
|
3481
3477
|
)
|
3482
3478
|
).then(() => {
|
3483
|
-
if (
|
3479
|
+
if (Oe(e))
|
3484
3480
|
return Pt(e);
|
3485
|
-
delete
|
3486
|
-
}),
|
3481
|
+
delete W[e];
|
3482
|
+
}), W[e];
|
3487
3483
|
}
|
3488
|
-
const
|
3484
|
+
const yn = {
|
3489
3485
|
number: {
|
3490
3486
|
scientific: { notation: "scientific" },
|
3491
3487
|
engineering: { notation: "engineering" },
|
@@ -3514,159 +3510,159 @@ const _n = {
|
|
3514
3510
|
timeZoneName: "short"
|
3515
3511
|
}
|
3516
3512
|
}
|
3517
|
-
},
|
3513
|
+
}, _n = {
|
3518
3514
|
fallbackLocale: null,
|
3519
3515
|
loadingDelay: 200,
|
3520
|
-
formats:
|
3516
|
+
formats: yn,
|
3521
3517
|
warnOnMissingMessages: !0,
|
3522
3518
|
handleMissingMessage: void 0,
|
3523
3519
|
ignoreTag: !0
|
3524
|
-
},
|
3525
|
-
function
|
3526
|
-
return
|
3520
|
+
}, vn = _n;
|
3521
|
+
function V() {
|
3522
|
+
return vn;
|
3527
3523
|
}
|
3528
|
-
const
|
3529
|
-
var
|
3524
|
+
const Ee = he(!1);
|
3525
|
+
var Hn = Object.defineProperty, Tn = Object.defineProperties, Bn = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, qe = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
|
3530
3526
|
for (var r in t || (t = {}))
|
3531
3527
|
An.call(t, r) && qe(e, r, t[r]);
|
3532
3528
|
if (Je)
|
3533
3529
|
for (var r of Je(t))
|
3534
|
-
|
3530
|
+
Sn.call(t, r) && qe(e, r, t[r]);
|
3535
3531
|
return e;
|
3536
|
-
},
|
3537
|
-
let
|
3538
|
-
const
|
3532
|
+
}, On = (e, t) => Tn(e, Bn(t));
|
3533
|
+
let Ne;
|
3534
|
+
const oe = he(null);
|
3539
3535
|
function Ye(e) {
|
3540
3536
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3541
3537
|
}
|
3542
|
-
function
|
3538
|
+
function fe(e, t = V().fallbackLocale) {
|
3543
3539
|
const r = Ye(e);
|
3544
3540
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
|
3545
3541
|
}
|
3546
|
-
function
|
3547
|
-
return
|
3542
|
+
function C() {
|
3543
|
+
return Ne ?? void 0;
|
3548
3544
|
}
|
3549
|
-
|
3550
|
-
|
3545
|
+
oe.subscribe((e) => {
|
3546
|
+
Ne = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
3551
3547
|
});
|
3552
|
-
const
|
3553
|
-
if (e &&
|
3554
|
-
const { loadingDelay: t } =
|
3548
|
+
const Nn = (e) => {
|
3549
|
+
if (e && dn(e) && Oe(e)) {
|
3550
|
+
const { loadingDelay: t } = V();
|
3555
3551
|
let r;
|
3556
|
-
return typeof window < "u" &&
|
3557
|
-
() =>
|
3552
|
+
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
3553
|
+
() => Ee.set(!0),
|
3558
3554
|
t
|
3559
|
-
) :
|
3560
|
-
|
3555
|
+
) : Ee.set(!0), Pt(e).then(() => {
|
3556
|
+
oe.set(e);
|
3561
3557
|
}).finally(() => {
|
3562
|
-
clearTimeout(r),
|
3558
|
+
clearTimeout(r), Ee.set(!1);
|
3563
3559
|
});
|
3564
3560
|
}
|
3565
|
-
return
|
3566
|
-
}, I =
|
3567
|
-
set:
|
3568
|
-
}),
|
3561
|
+
return oe.set(e);
|
3562
|
+
}, I = On(Pn({}, oe), {
|
3563
|
+
set: Nn
|
3564
|
+
}), ce = (e) => {
|
3569
3565
|
const t = /* @__PURE__ */ Object.create(null);
|
3570
3566
|
return (n) => {
|
3571
3567
|
const i = JSON.stringify(n);
|
3572
3568
|
return i in t ? t[i] : t[i] = e(n);
|
3573
3569
|
};
|
3574
3570
|
};
|
3575
|
-
var In = Object.defineProperty,
|
3571
|
+
var In = Object.defineProperty, ae = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Nt = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $e = (e, t) => {
|
3576
3572
|
for (var r in t || (t = {}))
|
3577
3573
|
Ot.call(t, r) && Ke(e, r, t[r]);
|
3578
|
-
if (
|
3579
|
-
for (var r of
|
3574
|
+
if (ae)
|
3575
|
+
for (var r of ae(t))
|
3580
3576
|
Nt.call(t, r) && Ke(e, r, t[r]);
|
3581
3577
|
return e;
|
3582
|
-
},
|
3578
|
+
}, z = (e, t) => {
|
3583
3579
|
var r = {};
|
3584
3580
|
for (var n in e)
|
3585
3581
|
Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3586
|
-
if (e != null &&
|
3587
|
-
for (var n of
|
3582
|
+
if (e != null && ae)
|
3583
|
+
for (var n of ae(e))
|
3588
3584
|
t.indexOf(n) < 0 && Nt.call(e, n) && (r[n] = e[n]);
|
3589
3585
|
return r;
|
3590
3586
|
};
|
3591
|
-
const
|
3592
|
-
const { formats: r } =
|
3587
|
+
const Y = (e, t) => {
|
3588
|
+
const { formats: r } = V();
|
3593
3589
|
if (e in r && t in r[e])
|
3594
3590
|
return r[e][t];
|
3595
3591
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3596
|
-
},
|
3592
|
+
}, wn = ce(
|
3597
3593
|
(e) => {
|
3598
|
-
var t = e, { locale: r, format: n } = t, i =
|
3594
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
3599
3595
|
if (r == null)
|
3600
3596
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3601
|
-
return n && (i =
|
3597
|
+
return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
|
3602
3598
|
}
|
3603
|
-
),
|
3599
|
+
), Ln = ce(
|
3604
3600
|
(e) => {
|
3605
|
-
var t = e, { locale: r, format: n } = t, i =
|
3601
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
3606
3602
|
if (r == null)
|
3607
3603
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3608
|
-
return n ? i =
|
3604
|
+
return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
|
3609
3605
|
}
|
3610
|
-
),
|
3606
|
+
), Cn = ce(
|
3611
3607
|
(e) => {
|
3612
|
-
var t = e, { locale: r, format: n } = t, i =
|
3608
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
3613
3609
|
if (r == null)
|
3614
3610
|
throw new Error(
|
3615
3611
|
'[svelte-i18n] A "locale" must be set to format time values'
|
3616
3612
|
);
|
3617
|
-
return n ? i =
|
3613
|
+
return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
|
3618
3614
|
}
|
3619
|
-
),
|
3615
|
+
), Mn = (e = {}) => {
|
3620
3616
|
var t = e, {
|
3621
|
-
locale: r =
|
3622
|
-
} = t, n =
|
3617
|
+
locale: r = C()
|
3618
|
+
} = t, n = z(t, [
|
3623
3619
|
"locale"
|
3624
3620
|
]);
|
3625
|
-
return
|
3621
|
+
return wn($e({ locale: r }, n));
|
3626
3622
|
}, Rn = (e = {}) => {
|
3627
3623
|
var t = e, {
|
3628
|
-
locale: r =
|
3629
|
-
} = t, n =
|
3624
|
+
locale: r = C()
|
3625
|
+
} = t, n = z(t, [
|
3630
3626
|
"locale"
|
3631
3627
|
]);
|
3632
|
-
return
|
3633
|
-
},
|
3628
|
+
return Ln($e({ locale: r }, n));
|
3629
|
+
}, $n = (e = {}) => {
|
3634
3630
|
var t = e, {
|
3635
|
-
locale: r =
|
3636
|
-
} = t, n =
|
3631
|
+
locale: r = C()
|
3632
|
+
} = t, n = z(t, [
|
3637
3633
|
"locale"
|
3638
3634
|
]);
|
3639
|
-
return
|
3640
|
-
},
|
3635
|
+
return Cn($e({ locale: r }, n));
|
3636
|
+
}, Un = ce(
|
3641
3637
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3642
|
-
(e, t =
|
3643
|
-
ignoreTag:
|
3638
|
+
(e, t = C()) => new fn(e, t, V().formats, {
|
3639
|
+
ignoreTag: V().ignoreTag
|
3644
3640
|
})
|
3645
|
-
),
|
3641
|
+
), Gn = (e, t = {}) => {
|
3646
3642
|
var r, n, i, s;
|
3647
3643
|
let a = t;
|
3648
3644
|
typeof e == "object" && (a = e, e = a.id);
|
3649
3645
|
const {
|
3650
3646
|
values: o,
|
3651
|
-
locale: l =
|
3652
|
-
default:
|
3647
|
+
locale: l = C(),
|
3648
|
+
default: h
|
3653
3649
|
} = a;
|
3654
3650
|
if (l == null)
|
3655
3651
|
throw new Error(
|
3656
3652
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3657
3653
|
);
|
3658
|
-
let
|
3659
|
-
if (!
|
3660
|
-
|
3661
|
-
else if (typeof
|
3654
|
+
let u = Tt(e, l);
|
3655
|
+
if (!u)
|
3656
|
+
u = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
|
3657
|
+
else if (typeof u != "string")
|
3662
3658
|
return console.warn(
|
3663
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
3664
|
-
),
|
3659
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3660
|
+
), u;
|
3665
3661
|
if (!o)
|
3666
|
-
return
|
3667
|
-
let c =
|
3662
|
+
return u;
|
3663
|
+
let c = u;
|
3668
3664
|
try {
|
3669
|
-
c =
|
3665
|
+
c = Un(u, l).format(o);
|
3670
3666
|
} catch (f) {
|
3671
3667
|
f instanceof Error && console.warn(
|
3672
3668
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3674,20 +3670,20 @@ const K = (e, t) => {
|
|
3674
3670
|
);
|
3675
3671
|
}
|
3676
3672
|
return c;
|
3677
|
-
},
|
3678
|
-
|
3679
|
-
|
3680
|
-
|
3681
|
-
|
3682
|
-
function
|
3673
|
+
}, Dn = (e, t) => $n(t).format(e), Fn = (e, t) => Rn(t).format(e), jn = (e, t) => Mn(t).format(e), Vn = (e, t = C()) => Tt(e, t), kn = k([I, X], () => Gn);
|
3674
|
+
k([I], () => Dn);
|
3675
|
+
k([I], () => Fn);
|
3676
|
+
k([I], () => jn);
|
3677
|
+
k([I, X], () => Vn);
|
3678
|
+
function Xn({ withLocale: e, translations: t }) {
|
3683
3679
|
I.subscribe((r) => {
|
3684
|
-
r == null && (
|
3680
|
+
r == null && (X.set(t), I.set(e));
|
3685
3681
|
});
|
3686
3682
|
}
|
3687
3683
|
function et(e, t) {
|
3688
|
-
|
3684
|
+
At(e, t);
|
3689
3685
|
}
|
3690
|
-
function
|
3686
|
+
function zn(e) {
|
3691
3687
|
I.set(e);
|
3692
3688
|
}
|
3693
3689
|
const tt = {
|
@@ -3716,21 +3712,21 @@ const tt = {
|
|
3716
3712
|
bets: "bets"
|
3717
3713
|
}
|
3718
3714
|
};
|
3719
|
-
function
|
3720
|
-
|
3715
|
+
function Wn(e) {
|
3716
|
+
$t(e, "svelte-6dosur", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.general-icon-progress-bar{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);height:100%;background:rgba(0, 0, 0, 0.8);border-radius:3px}.stepBar.inactive::after{border-color:#a6a4a1 transparent transparent transparent}.stepBar.inactive{background:linear-gradient(270deg, #a2a09e 8.82%, #aba9ad 99.63%)}.stepBar.inactive span{color:rgba(112, 106, 106, 0.8)}.stepBar span{font-weight:700;font-size:11px;line-height:var(--parentElementHeight, 20px);align-items:center;color:#fff;text-align:right;position:relative;z-index:1;white-space:nowrap}.stepBar::after{content:" ";position:absolute;top:0;border-width:20px 10px 20px 0;border-top-width:var(--triangleHeight, 20px);border-right-width:var(--halfOfTriangleHeight, 10px);border-bottom-width:var(--triangleHeight, 20px);border-style:solid;border-color:#FCA452 transparent transparent transparent;text-align:right}.stepBar{position:relative;width:var(--currentStep, 0);height:100%;background:linear-gradient(270deg, #FCA452 8.82%, #600062 99.63%);text-align:right;border-top-left-radius:3px;border-bottom-left-radius:3px;border-top-right-radius:var(--stepBarBorderRadius, 0px);border-bottom-right-radius:var(--stepBarBorderRadius, 0px);transition-property:width;transition-duration:0.18s;transition-timing-function:cubic-bezier(0.43, 0.8, 0.95, 0.88);transition-delay:0.3s}');
|
3721
3717
|
}
|
3722
|
-
function
|
3718
|
+
function Zn(e) {
|
3723
3719
|
let t, r, n, i, s;
|
3724
3720
|
return {
|
3725
3721
|
c() {
|
3726
|
-
t =
|
3722
|
+
t = Z("div"), r = Z("div"), n = Z("span"), i = Dt(
|
3727
3723
|
/*progressText*/
|
3728
3724
|
e[3]
|
3729
|
-
),
|
3730
|
-
e[4]),
|
3725
|
+
), L(n, "part", "progressText"), L(r, "class", s = "stepBar " + /*curTatus*/
|
3726
|
+
e[4]), L(r, "part", "stepBar"), L(t, "class", "general-icon-progress-bar"), L(t, "part", "totalBar");
|
3731
3727
|
},
|
3732
3728
|
m(a, o) {
|
3733
|
-
st(a, t, o),
|
3729
|
+
st(a, t, o), re(t, r), re(r, n), re(n, i), e[13](n), e[14](r), e[15](t);
|
3734
3730
|
},
|
3735
3731
|
p(a, [o]) {
|
3736
3732
|
o & /*progressText*/
|
@@ -3740,96 +3736,96 @@ function Qn(e) {
|
|
3740
3736
|
a[3]
|
3741
3737
|
), o & /*curTatus*/
|
3742
3738
|
16 && s !== (s = "stepBar " + /*curTatus*/
|
3743
|
-
a[4]) &&
|
3739
|
+
a[4]) && L(r, "class", s);
|
3744
3740
|
},
|
3745
3741
|
i: T,
|
3746
3742
|
o: T,
|
3747
3743
|
d(a) {
|
3748
|
-
a &&
|
3744
|
+
a && we(t), e[13](null), e[14](null), e[15](null);
|
3749
3745
|
}
|
3750
3746
|
};
|
3751
3747
|
}
|
3752
|
-
function
|
3748
|
+
function Qn(e, t, r) {
|
3753
3749
|
let n;
|
3754
|
-
|
3755
|
-
let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: a } = t, { lang: o = "en" } = t, { status: l } = t, { translationurl:
|
3756
|
-
|
3757
|
-
const
|
3758
|
-
fetch(
|
3759
|
-
Object.keys(
|
3760
|
-
et(Ue,
|
3750
|
+
Rt(e, kn, (p) => r(20, n = p));
|
3751
|
+
let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: a } = t, { lang: o = "en" } = t, { status: l } = t, { translationurl: h = "" } = t, { progressfractiondigit: u = 1 } = t, { triggerreset: c } = t, f, x, g, y, H, B, A, v = "0px", O = "active";
|
3752
|
+
Xn({ withLocale: "en", translations: {} });
|
3753
|
+
const P = () => {
|
3754
|
+
fetch(h).then((w) => w.json()).then((w) => {
|
3755
|
+
Object.keys(w).forEach((Ue) => {
|
3756
|
+
et(Ue, w[Ue]);
|
3761
3757
|
});
|
3762
|
-
}).catch((
|
3763
|
-
console.log(
|
3758
|
+
}).catch((w) => {
|
3759
|
+
console.log(w);
|
3764
3760
|
});
|
3765
3761
|
};
|
3766
3762
|
Object.keys(tt).forEach((p) => {
|
3767
3763
|
et(p, tt[p]);
|
3768
3764
|
});
|
3769
|
-
const
|
3770
|
-
|
3771
|
-
},
|
3772
|
-
let p = (i / s * 100).toFixed(
|
3765
|
+
const M = () => {
|
3766
|
+
zn(o);
|
3767
|
+
}, ee = () => {
|
3768
|
+
let p = (i / s * 100).toFixed(u);
|
3773
3769
|
setTimeout(
|
3774
3770
|
() => {
|
3775
3771
|
a || a === "true" ? r(3, y = `${p}%`) : r(3, y = `${i}/${s} ${n("bets")}`);
|
3776
3772
|
},
|
3777
3773
|
y ? 573 : 0
|
3778
|
-
), p == 0 || p == 100 ? (B = "0px",
|
3779
|
-
},
|
3780
|
-
r(4,
|
3774
|
+
), p == 0 || p == 100 ? (B = "0px", A = "0px", v = p == 100 ? "3px" : "0px") : (B = `${f.offsetHeight}px`, H = B, A = `${f.offsetHeight / 3}px`, v = "0px"), x.style.setProperty("--parentElementHeight", H), g.style.setProperty("--currentStep", p + "%"), g.style.setProperty("--triangleHeight", B), g.style.setProperty("--halfOfTriangleHeight", A), g.style.setProperty("--stepBarBorderRadius", v);
|
3775
|
+
}, It = () => {
|
3776
|
+
r(4, O = l == "active" ? "" : "inactive");
|
3781
3777
|
};
|
3782
|
-
function
|
3783
|
-
|
3784
|
-
|
3778
|
+
function wt(p) {
|
3779
|
+
J[p ? "unshift" : "push"](() => {
|
3780
|
+
x = p, r(1, x);
|
3785
3781
|
});
|
3786
3782
|
}
|
3787
3783
|
function Lt(p) {
|
3788
|
-
|
3789
|
-
|
3784
|
+
J[p ? "unshift" : "push"](() => {
|
3785
|
+
g = p, r(2, g);
|
3790
3786
|
});
|
3791
3787
|
}
|
3792
3788
|
function Ct(p) {
|
3793
|
-
|
3789
|
+
J[p ? "unshift" : "push"](() => {
|
3794
3790
|
f = p, r(0, f);
|
3795
3791
|
});
|
3796
3792
|
}
|
3797
3793
|
return e.$$set = (p) => {
|
3798
|
-
"currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, a = p.showaspercent), "lang" in p && r(8, o = p.lang), "status" in p && r(9, l = p.status), "translationurl" in p && r(10,
|
3794
|
+
"currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, a = p.showaspercent), "lang" in p && r(8, o = p.lang), "status" in p && r(9, l = p.status), "translationurl" in p && r(10, h = p.translationurl), "progressfractiondigit" in p && r(11, u = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
|
3799
3795
|
}, e.$$.update = () => {
|
3800
3796
|
e.$$.dirty & /*triggerreset, total*/
|
3801
3797
|
4160 && c && s && setTimeout(() => {
|
3802
|
-
|
3798
|
+
ee();
|
3803
3799
|
}), e.$$.dirty & /*lang*/
|
3804
|
-
256 && o &&
|
3805
|
-
512 && l &&
|
3806
|
-
1024 &&
|
3800
|
+
256 && o && M(), e.$$.dirty & /*status*/
|
3801
|
+
512 && l && It(), e.$$.dirty & /*translationurl*/
|
3802
|
+
1024 && h && P();
|
3807
3803
|
}, [
|
3808
3804
|
f,
|
3805
|
+
x,
|
3809
3806
|
g,
|
3810
|
-
d,
|
3811
3807
|
y,
|
3812
|
-
|
3808
|
+
O,
|
3813
3809
|
i,
|
3814
3810
|
s,
|
3815
3811
|
a,
|
3816
3812
|
o,
|
3817
3813
|
l,
|
3818
|
-
u,
|
3819
3814
|
h,
|
3815
|
+
u,
|
3820
3816
|
c,
|
3821
|
-
|
3817
|
+
wt,
|
3822
3818
|
Lt,
|
3823
3819
|
Ct
|
3824
3820
|
];
|
3825
3821
|
}
|
3826
|
-
class
|
3822
|
+
class Jn extends tr {
|
3827
3823
|
constructor(t) {
|
3828
3824
|
super(), Kt(
|
3829
3825
|
this,
|
3830
3826
|
t,
|
3831
|
-
Jn,
|
3832
3827
|
Qn,
|
3828
|
+
Zn,
|
3833
3829
|
nt,
|
3834
3830
|
{
|
3835
3831
|
currentstep: 5,
|
@@ -3841,59 +3837,59 @@ class qn extends tr {
|
|
3841
3837
|
progressfractiondigit: 11,
|
3842
3838
|
triggerreset: 12
|
3843
3839
|
},
|
3844
|
-
|
3840
|
+
Wn
|
3845
3841
|
);
|
3846
3842
|
}
|
3847
3843
|
get currentstep() {
|
3848
3844
|
return this.$$.ctx[5];
|
3849
3845
|
}
|
3850
3846
|
set currentstep(t) {
|
3851
|
-
this.$$set({ currentstep: t }),
|
3847
|
+
this.$$set({ currentstep: t }), S();
|
3852
3848
|
}
|
3853
3849
|
get total() {
|
3854
3850
|
return this.$$.ctx[6];
|
3855
3851
|
}
|
3856
3852
|
set total(t) {
|
3857
|
-
this.$$set({ total: t }),
|
3853
|
+
this.$$set({ total: t }), S();
|
3858
3854
|
}
|
3859
3855
|
get showaspercent() {
|
3860
3856
|
return this.$$.ctx[7];
|
3861
3857
|
}
|
3862
3858
|
set showaspercent(t) {
|
3863
|
-
this.$$set({ showaspercent: t }),
|
3859
|
+
this.$$set({ showaspercent: t }), S();
|
3864
3860
|
}
|
3865
3861
|
get lang() {
|
3866
3862
|
return this.$$.ctx[8];
|
3867
3863
|
}
|
3868
3864
|
set lang(t) {
|
3869
|
-
this.$$set({ lang: t }),
|
3865
|
+
this.$$set({ lang: t }), S();
|
3870
3866
|
}
|
3871
3867
|
get status() {
|
3872
3868
|
return this.$$.ctx[9];
|
3873
3869
|
}
|
3874
3870
|
set status(t) {
|
3875
|
-
this.$$set({ status: t }),
|
3871
|
+
this.$$set({ status: t }), S();
|
3876
3872
|
}
|
3877
3873
|
get translationurl() {
|
3878
3874
|
return this.$$.ctx[10];
|
3879
3875
|
}
|
3880
3876
|
set translationurl(t) {
|
3881
|
-
this.$$set({ translationurl: t }),
|
3877
|
+
this.$$set({ translationurl: t }), S();
|
3882
3878
|
}
|
3883
3879
|
get progressfractiondigit() {
|
3884
3880
|
return this.$$.ctx[11];
|
3885
3881
|
}
|
3886
3882
|
set progressfractiondigit(t) {
|
3887
|
-
this.$$set({ progressfractiondigit: t }),
|
3883
|
+
this.$$set({ progressfractiondigit: t }), S();
|
3888
3884
|
}
|
3889
3885
|
get triggerreset() {
|
3890
3886
|
return this.$$.ctx[12];
|
3891
3887
|
}
|
3892
3888
|
set triggerreset(t) {
|
3893
|
-
this.$$set({ triggerreset: t }),
|
3889
|
+
this.$$set({ triggerreset: t }), S();
|
3894
3890
|
}
|
3895
3891
|
}
|
3896
|
-
er(
|
3892
|
+
er(Jn, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
|
3897
3893
|
export {
|
3898
|
-
|
3894
|
+
Jn as G
|
3899
3895
|
};
|