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