@everymatrix/general-icon-progress-bar 1.61.1 → 1.62.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-g6HVGgOD.js → GeneralIconProgressBar-DSaIA0Oc.js} +345 -343
- package/components/GeneralIconProgressBar-DvairRCn.cjs +16 -0
- package/components/{GeneralIconProgressBar-Bt-psNCh.js → GeneralIconProgressBar-DvfGRc7A.js} +332 -330
- 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-Cmawx_Ll.cjs +0 -16
package/components/{GeneralIconProgressBar-g6HVGgOD.js → GeneralIconProgressBar-DSaIA0Oc.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var me = (e, t, r) => t in e ?
|
1
|
+
var Ft = Object.defineProperty, jt = Object.defineProperties;
|
2
|
+
var Vt = Object.getOwnPropertyDescriptors;
|
3
|
+
var Fe = Object.getOwnPropertySymbols;
|
4
|
+
var kt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
|
5
|
+
var me = (e, t, r) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
kt.call(t, r) && me(e, r, t[r]);
|
8
|
+
if (Fe)
|
9
|
+
for (var r of Fe(t))
|
10
|
+
Xt.call(t, r) && me(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, Ve = (e, t) => jt(e, Vt(t));
|
13
13
|
var T = (e, t, r) => (me(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
-
var
|
14
|
+
var ke = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var s = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
@@ -29,25 +29,25 @@ var je = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function B() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function ht(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function Xe() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function ee(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(ht);
|
40
40
|
}
|
41
41
|
function Le(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function ut(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function zt(e) {
|
48
48
|
return Object.keys(e).length === 0;
|
49
49
|
}
|
50
|
-
function
|
50
|
+
function lt(e, ...t) {
|
51
51
|
if (e == null) {
|
52
52
|
for (const n of t)
|
53
53
|
n(void 0);
|
@@ -56,20 +56,20 @@ function ht(e, ...t) {
|
|
56
56
|
const r = e.subscribe(...t);
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
58
58
|
}
|
59
|
-
function
|
60
|
-
e.$$.on_destroy.push(
|
59
|
+
function Wt(e, t, r) {
|
60
|
+
e.$$.on_destroy.push(lt(t, r));
|
61
61
|
}
|
62
62
|
function ne(e, t) {
|
63
63
|
e.appendChild(t);
|
64
64
|
}
|
65
|
-
function
|
66
|
-
const n =
|
65
|
+
function Zt(e, t, r) {
|
66
|
+
const n = Qt(e);
|
67
67
|
if (!n.getElementById(t)) {
|
68
68
|
const i = Q("style");
|
69
|
-
i.id = t, i.textContent = r,
|
69
|
+
i.id = t, i.textContent = r, Jt(n, i);
|
70
70
|
}
|
71
71
|
}
|
72
|
-
function
|
72
|
+
function Qt(e) {
|
73
73
|
if (!e)
|
74
74
|
return document;
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -79,14 +79,14 @@ function Wt(e) {
|
|
79
79
|
t
|
80
80
|
) : e.ownerDocument;
|
81
81
|
}
|
82
|
-
function
|
82
|
+
function Jt(e, t) {
|
83
83
|
return ne(
|
84
84
|
/** @type {Document} */
|
85
85
|
e.head || e,
|
86
86
|
t
|
87
87
|
), t.sheet;
|
88
88
|
}
|
89
|
-
function
|
89
|
+
function ft(e, t, r) {
|
90
90
|
e.insertBefore(t, r || null);
|
91
91
|
}
|
92
92
|
function Ce(e) {
|
@@ -95,20 +95,20 @@ function Ce(e) {
|
|
95
95
|
function Q(e) {
|
96
96
|
return document.createElement(e);
|
97
97
|
}
|
98
|
-
function
|
98
|
+
function qt(e) {
|
99
99
|
return document.createTextNode(e);
|
100
100
|
}
|
101
101
|
function C(e, t, r) {
|
102
102
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
103
103
|
}
|
104
|
-
function
|
104
|
+
function Yt(e) {
|
105
105
|
return Array.from(e.childNodes);
|
106
106
|
}
|
107
|
-
function
|
107
|
+
function Kt(e, t) {
|
108
108
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
109
109
|
t);
|
110
110
|
}
|
111
|
-
function
|
111
|
+
function er(e) {
|
112
112
|
const t = {};
|
113
113
|
return e.childNodes.forEach(
|
114
114
|
/** @param {Element} node */
|
@@ -123,10 +123,10 @@ function J(e) {
|
|
123
123
|
}
|
124
124
|
const G = [], q = [];
|
125
125
|
let D = [];
|
126
|
-
const
|
126
|
+
const ze = [], tr = /* @__PURE__ */ Promise.resolve();
|
127
127
|
let ve = !1;
|
128
|
-
function
|
129
|
-
ve || (ve = !0,
|
128
|
+
function rr() {
|
129
|
+
ve || (ve = !0, tr.then(P));
|
130
130
|
}
|
131
131
|
function He(e) {
|
132
132
|
D.push(e);
|
@@ -141,7 +141,7 @@ function P() {
|
|
141
141
|
try {
|
142
142
|
for (; $ < G.length; ) {
|
143
143
|
const t = G[$];
|
144
|
-
$++, J(t),
|
144
|
+
$++, J(t), nr(t.$$);
|
145
145
|
}
|
146
146
|
} catch (t) {
|
147
147
|
throw G.length = 0, $ = 0, t;
|
@@ -154,40 +154,40 @@ function P() {
|
|
154
154
|
}
|
155
155
|
D.length = 0;
|
156
156
|
} while (G.length);
|
157
|
-
for (;
|
158
|
-
|
157
|
+
for (; ze.length; )
|
158
|
+
ze.pop()();
|
159
159
|
ve = !1, be.clear(), J(e);
|
160
160
|
}
|
161
|
-
function
|
161
|
+
function nr(e) {
|
162
162
|
if (e.fragment !== null) {
|
163
163
|
e.update(), ee(e.before_update);
|
164
164
|
const t = e.dirty;
|
165
165
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
|
166
166
|
}
|
167
167
|
}
|
168
|
-
function
|
168
|
+
function ir(e) {
|
169
169
|
const t = [], r = [];
|
170
170
|
D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
|
171
171
|
}
|
172
|
-
const
|
173
|
-
function
|
174
|
-
e && e.i && (
|
172
|
+
const sr = /* @__PURE__ */ new Set();
|
173
|
+
function or(e, t) {
|
174
|
+
e && e.i && (sr.delete(e), e.i(t));
|
175
175
|
}
|
176
|
-
function
|
176
|
+
function ar(e, t, r) {
|
177
177
|
const { fragment: n, after_update: i } = e.$$;
|
178
178
|
n && n.m(t, r), He(() => {
|
179
|
-
const s = e.$$.on_mount.map(
|
179
|
+
const s = e.$$.on_mount.map(ht).filter(Le);
|
180
180
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
|
181
181
|
}), i.forEach(He);
|
182
182
|
}
|
183
|
-
function
|
183
|
+
function hr(e, t) {
|
184
184
|
const r = e.$$;
|
185
|
-
r.fragment !== null && (
|
185
|
+
r.fragment !== null && (ir(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
186
186
|
}
|
187
|
-
function
|
188
|
-
e.$$.dirty[0] === -1 && (G.push(e),
|
187
|
+
function ur(e, t) {
|
188
|
+
e.$$.dirty[0] === -1 && (G.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
189
189
|
}
|
190
|
-
function
|
190
|
+
function lr(e, t, r, n, i, s, o = null, a = [-1]) {
|
191
191
|
const u = Me;
|
192
192
|
J(e);
|
193
193
|
const h = e.$$ = {
|
@@ -197,7 +197,7 @@ function hr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
197
197
|
props: s,
|
198
198
|
update: B,
|
199
199
|
not_equal: i,
|
200
|
-
bound:
|
200
|
+
bound: Xe(),
|
201
201
|
// lifecycle
|
202
202
|
on_mount: [],
|
203
203
|
on_destroy: [],
|
@@ -206,7 +206,7 @@ function hr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
206
206
|
after_update: [],
|
207
207
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
208
208
|
// everything else
|
209
|
-
callbacks:
|
209
|
+
callbacks: Xe(),
|
210
210
|
dirty: a,
|
211
211
|
skip_bound: !1,
|
212
212
|
root: t.target || u.$$.root
|
@@ -215,19 +215,19 @@ function hr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
215
215
|
let l = !1;
|
216
216
|
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...x) => {
|
217
217
|
const g = x.length ? x[0] : f;
|
218
|
-
return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), l &&
|
218
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), l && ur(e, c)), f;
|
219
219
|
}) : [], h.update(), l = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
220
220
|
if (t.hydrate) {
|
221
|
-
const c =
|
221
|
+
const c = Yt(t.target);
|
222
222
|
h.fragment && h.fragment.l(c), c.forEach(Ce);
|
223
223
|
} else
|
224
224
|
h.fragment && h.fragment.c();
|
225
|
-
t.intro &&
|
225
|
+
t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), P();
|
226
226
|
}
|
227
227
|
J(u);
|
228
228
|
}
|
229
|
-
let
|
230
|
-
typeof HTMLElement == "function" && (
|
229
|
+
let ct;
|
230
|
+
typeof HTMLElement == "function" && (ct = class extends HTMLElement {
|
231
231
|
constructor(t, r, n) {
|
232
232
|
super();
|
233
233
|
/** The Svelte component constructor */
|
@@ -264,7 +264,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
264
264
|
}
|
265
265
|
}
|
266
266
|
connectedCallback() {
|
267
|
-
return
|
267
|
+
return ke(this, null, function* () {
|
268
268
|
if (this.$$cn = !0, !this.$$c) {
|
269
269
|
let t = function(s) {
|
270
270
|
return () => {
|
@@ -278,7 +278,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
278
278
|
* @param {HTMLElement} [anchor]
|
279
279
|
*/
|
280
280
|
m: function(h, l) {
|
281
|
-
|
281
|
+
ft(h, o, l);
|
282
282
|
},
|
283
283
|
d: function(h) {
|
284
284
|
h && Ce(o);
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
288
288
|
};
|
289
289
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
290
290
|
return;
|
291
|
-
const r = {}, n =
|
291
|
+
const r = {}, n = er(this);
|
292
292
|
for (const s of this.$$s)
|
293
293
|
s in n && (r[s] = [t(s)]);
|
294
294
|
for (const s of this.attributes) {
|
@@ -299,7 +299,7 @@ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
299
299
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
300
300
|
this.$$c = new this.$$ctor({
|
301
301
|
target: this.shadowRoot || this,
|
302
|
-
props:
|
302
|
+
props: Ve(je({}, this.$$d), {
|
303
303
|
$$slots: r,
|
304
304
|
$$scope: {
|
305
305
|
ctx: []
|
@@ -377,8 +377,8 @@ function ie(e, t, r, n) {
|
|
377
377
|
return t;
|
378
378
|
}
|
379
379
|
}
|
380
|
-
function
|
381
|
-
let o = class extends
|
380
|
+
function fr(e, t, r, n, i, s) {
|
381
|
+
let o = class extends ct {
|
382
382
|
constructor() {
|
383
383
|
super(e, r, i), this.$$p_d = t;
|
384
384
|
}
|
@@ -408,7 +408,7 @@ function ur(e, t, r, n, i, s) {
|
|
408
408
|
}), e.element = /** @type {any} */
|
409
409
|
o, o;
|
410
410
|
}
|
411
|
-
class
|
411
|
+
class cr {
|
412
412
|
constructor() {
|
413
413
|
/**
|
414
414
|
* ### PRIVATE API
|
@@ -429,7 +429,7 @@ class lr {
|
|
429
429
|
}
|
430
430
|
/** @returns {void} */
|
431
431
|
$destroy() {
|
432
|
-
|
432
|
+
hr(this, 1), this.$destroy = B;
|
433
433
|
}
|
434
434
|
/**
|
435
435
|
* @template {Extract<keyof Events, string>} K
|
@@ -451,13 +451,13 @@ class lr {
|
|
451
451
|
* @returns {void}
|
452
452
|
*/
|
453
453
|
$set(t) {
|
454
|
-
this.$$set && !
|
454
|
+
this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
455
455
|
}
|
456
456
|
}
|
457
|
-
const
|
458
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
457
|
+
const pr = "4";
|
458
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
|
459
459
|
const U = [];
|
460
|
-
function
|
460
|
+
function mr(e, t) {
|
461
461
|
return {
|
462
462
|
subscribe: ue(e, t).subscribe
|
463
463
|
};
|
@@ -466,7 +466,7 @@ function ue(e, t = B) {
|
|
466
466
|
let r;
|
467
467
|
const n = /* @__PURE__ */ new Set();
|
468
468
|
function i(a) {
|
469
|
-
if (
|
469
|
+
if (ut(e, a) && (e = a, r)) {
|
470
470
|
const u = !U.length;
|
471
471
|
for (const h of n)
|
472
472
|
h[1](), U.push(h, e);
|
@@ -493,7 +493,7 @@ function X(e, t, r) {
|
|
493
493
|
if (!i.every(Boolean))
|
494
494
|
throw new Error("derived() expects stores as input, got a falsy value");
|
495
495
|
const s = t.length < 2;
|
496
|
-
return
|
496
|
+
return mr(r, (o, a) => {
|
497
497
|
let u = !1;
|
498
498
|
const h = [];
|
499
499
|
let l = 0, c = B;
|
@@ -504,7 +504,7 @@ function X(e, t, r) {
|
|
504
504
|
const g = t(n ? h[0] : h, o, a);
|
505
505
|
s ? o(g) : c = Le(g) ? g : B;
|
506
506
|
}, x = i.map(
|
507
|
-
(g, y) =>
|
507
|
+
(g, y) => lt(
|
508
508
|
g,
|
509
509
|
(H) => {
|
510
510
|
h[y] = H, l &= ~(1 << y), u && f();
|
@@ -519,70 +519,70 @@ function X(e, t, r) {
|
|
519
519
|
};
|
520
520
|
});
|
521
521
|
}
|
522
|
-
function
|
522
|
+
function br(e) {
|
523
523
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
524
524
|
}
|
525
|
-
var
|
526
|
-
return
|
525
|
+
var dr = function(t) {
|
526
|
+
return gr(t) && !xr(t);
|
527
527
|
};
|
528
|
-
function
|
528
|
+
function gr(e) {
|
529
529
|
return !!e && typeof e == "object";
|
530
530
|
}
|
531
|
-
function
|
531
|
+
function xr(e) {
|
532
532
|
var t = Object.prototype.toString.call(e);
|
533
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
533
|
+
return t === "[object RegExp]" || t === "[object Date]" || _r(e);
|
534
534
|
}
|
535
|
-
var
|
536
|
-
function
|
537
|
-
return e.$$typeof ===
|
535
|
+
var Er = typeof Symbol == "function" && Symbol.for, yr = Er ? Symbol.for("react.element") : 60103;
|
536
|
+
function _r(e) {
|
537
|
+
return e.$$typeof === yr;
|
538
538
|
}
|
539
|
-
function
|
539
|
+
function vr(e) {
|
540
540
|
return Array.isArray(e) ? [] : {};
|
541
541
|
}
|
542
542
|
function Y(e, t) {
|
543
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
543
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(vr(e), e, t) : e;
|
544
544
|
}
|
545
|
-
function
|
545
|
+
function Hr(e, t, r) {
|
546
546
|
return e.concat(t).map(function(n) {
|
547
547
|
return Y(n, r);
|
548
548
|
});
|
549
549
|
}
|
550
|
-
function
|
550
|
+
function Tr(e, t) {
|
551
551
|
if (!t.customMerge)
|
552
552
|
return F;
|
553
553
|
var r = t.customMerge(e);
|
554
554
|
return typeof r == "function" ? r : F;
|
555
555
|
}
|
556
|
-
function
|
556
|
+
function Br(e) {
|
557
557
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
558
558
|
return Object.propertyIsEnumerable.call(e, t);
|
559
559
|
}) : [];
|
560
560
|
}
|
561
|
-
function
|
562
|
-
return Object.keys(e).concat(
|
561
|
+
function We(e) {
|
562
|
+
return Object.keys(e).concat(Br(e));
|
563
563
|
}
|
564
|
-
function
|
564
|
+
function pt(e, t) {
|
565
565
|
try {
|
566
566
|
return t in e;
|
567
567
|
} catch (r) {
|
568
568
|
return !1;
|
569
569
|
}
|
570
570
|
}
|
571
|
-
function
|
572
|
-
return
|
571
|
+
function Ar(e, t) {
|
572
|
+
return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
573
573
|
}
|
574
|
-
function
|
574
|
+
function Sr(e, t, r) {
|
575
575
|
var n = {};
|
576
|
-
return r.isMergeableObject(e) &&
|
576
|
+
return r.isMergeableObject(e) && We(e).forEach(function(i) {
|
577
577
|
n[i] = Y(e[i], r);
|
578
|
-
}),
|
579
|
-
|
578
|
+
}), We(t).forEach(function(i) {
|
579
|
+
Ar(e, i) || (pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
580
580
|
}), n;
|
581
581
|
}
|
582
582
|
function F(e, t, r) {
|
583
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
583
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = Y;
|
584
584
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
585
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
585
|
+
return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : Y(t, r);
|
586
586
|
}
|
587
587
|
F.all = function(t, r) {
|
588
588
|
if (!Array.isArray(t))
|
@@ -591,8 +591,8 @@ F.all = function(t, r) {
|
|
591
591
|
return F(n, i, r);
|
592
592
|
}, {});
|
593
593
|
};
|
594
|
-
var
|
595
|
-
const
|
594
|
+
var Pr = F, Or = Pr;
|
595
|
+
const Nr = /* @__PURE__ */ br(Or);
|
596
596
|
/*! *****************************************************************************
|
597
597
|
Copyright (c) Microsoft Corporation.
|
598
598
|
|
@@ -634,7 +634,7 @@ var d = function() {
|
|
634
634
|
return t;
|
635
635
|
}, d.apply(this, arguments);
|
636
636
|
};
|
637
|
-
function
|
637
|
+
function Ir(e, t) {
|
638
638
|
var r = {};
|
639
639
|
for (var n in e)
|
640
640
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -650,53 +650,55 @@ function de(e, t, r) {
|
|
650
650
|
return e.concat(s || t);
|
651
651
|
}
|
652
652
|
function ge(e, t) {
|
653
|
-
var r = t && t.cache ? t.cache :
|
653
|
+
var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Lr;
|
654
654
|
return i(e, {
|
655
655
|
cache: r,
|
656
656
|
serializer: n
|
657
657
|
});
|
658
658
|
}
|
659
|
-
function
|
659
|
+
function wr(e) {
|
660
660
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
661
661
|
}
|
662
|
-
function
|
663
|
-
var i =
|
662
|
+
function mt(e, t, r, n) {
|
663
|
+
var i = wr(n) ? n : r(n), s = t.get(i);
|
664
664
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
665
665
|
}
|
666
|
-
function
|
666
|
+
function bt(e, t, r) {
|
667
667
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
668
668
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
669
669
|
}
|
670
|
-
function
|
670
|
+
function Re(e, t, r, n, i) {
|
671
671
|
return r.bind(t, e, n, i);
|
672
672
|
}
|
673
|
-
function wr(e, t) {
|
674
|
-
var r = e.length === 1 ? Ir : ct;
|
675
|
-
return pt(e, this, r, t.cache.create(), t.serializer);
|
676
|
-
}
|
677
673
|
function Lr(e, t) {
|
678
|
-
|
674
|
+
var r = e.length === 1 ? mt : bt;
|
675
|
+
return Re(e, this, r, t.cache.create(), t.serializer);
|
676
|
+
}
|
677
|
+
function Cr(e, t) {
|
678
|
+
return Re(e, this, bt, t.cache.create(), t.serializer);
|
679
|
+
}
|
680
|
+
function Mr(e, t) {
|
681
|
+
return Re(e, this, mt, t.cache.create(), t.serializer);
|
679
682
|
}
|
680
|
-
var
|
683
|
+
var Rr = function() {
|
681
684
|
return JSON.stringify(arguments);
|
682
|
-
}
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
}()
|
694
|
-
), Rr = {
|
685
|
+
};
|
686
|
+
function $e() {
|
687
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
688
|
+
}
|
689
|
+
$e.prototype.get = function(e) {
|
690
|
+
return this.cache[e];
|
691
|
+
};
|
692
|
+
$e.prototype.set = function(e, t) {
|
693
|
+
this.cache[e] = t;
|
694
|
+
};
|
695
|
+
var $r = {
|
695
696
|
create: function() {
|
696
|
-
return new
|
697
|
+
return new $e();
|
697
698
|
}
|
698
699
|
}, xe = {
|
699
|
-
variadic:
|
700
|
+
variadic: Cr,
|
701
|
+
monadic: Mr
|
700
702
|
}, m;
|
701
703
|
(function(e) {
|
702
704
|
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";
|
@@ -709,43 +711,43 @@ var j;
|
|
709
711
|
(function(e) {
|
710
712
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
711
713
|
})(j || (j = {}));
|
712
|
-
function
|
714
|
+
function Ze(e) {
|
713
715
|
return e.type === E.literal;
|
714
716
|
}
|
715
|
-
function
|
717
|
+
function Ur(e) {
|
716
718
|
return e.type === E.argument;
|
717
719
|
}
|
718
|
-
function
|
720
|
+
function dt(e) {
|
719
721
|
return e.type === E.number;
|
720
722
|
}
|
721
|
-
function
|
723
|
+
function gt(e) {
|
722
724
|
return e.type === E.date;
|
723
725
|
}
|
724
|
-
function
|
726
|
+
function xt(e) {
|
725
727
|
return e.type === E.time;
|
726
728
|
}
|
727
|
-
function
|
729
|
+
function Et(e) {
|
728
730
|
return e.type === E.select;
|
729
731
|
}
|
730
|
-
function
|
732
|
+
function yt(e) {
|
731
733
|
return e.type === E.plural;
|
732
734
|
}
|
733
|
-
function
|
735
|
+
function Gr(e) {
|
734
736
|
return e.type === E.pound;
|
735
737
|
}
|
736
|
-
function
|
738
|
+
function _t(e) {
|
737
739
|
return e.type === E.tag;
|
738
740
|
}
|
739
|
-
function
|
741
|
+
function vt(e) {
|
740
742
|
return !!(e && typeof e == "object" && e.type === j.number);
|
741
743
|
}
|
742
744
|
function Be(e) {
|
743
745
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
744
746
|
}
|
745
|
-
var
|
746
|
-
function
|
747
|
+
var Ht = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
748
|
+
function Fr(e) {
|
747
749
|
var t = {};
|
748
|
-
return e.replace(
|
750
|
+
return e.replace(Dr, function(r) {
|
749
751
|
var n = r.length;
|
750
752
|
switch (r[0]) {
|
751
753
|
case "G":
|
@@ -834,11 +836,11 @@ function Dr(e) {
|
|
834
836
|
return "";
|
835
837
|
}), t;
|
836
838
|
}
|
837
|
-
var
|
838
|
-
function
|
839
|
+
var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
840
|
+
function Vr(e) {
|
839
841
|
if (e.length === 0)
|
840
842
|
throw new Error("Number skeleton cannot be empty");
|
841
|
-
for (var t = e.split(
|
843
|
+
for (var t = e.split(jr).filter(function(f) {
|
842
844
|
return f.length > 0;
|
843
845
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
844
846
|
var s = i[n], o = s.split("/");
|
@@ -853,17 +855,17 @@ function jr(e) {
|
|
853
855
|
}
|
854
856
|
return r;
|
855
857
|
}
|
856
|
-
function
|
858
|
+
function kr(e) {
|
857
859
|
return e.replace(/^(.*?)-/, "");
|
858
860
|
}
|
859
|
-
var
|
860
|
-
function
|
861
|
+
var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
|
862
|
+
function Je(e) {
|
861
863
|
var t = {};
|
862
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
864
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
|
863
865
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
864
866
|
}), t;
|
865
867
|
}
|
866
|
-
function
|
868
|
+
function At(e) {
|
867
869
|
switch (e) {
|
868
870
|
case "sign-auto":
|
869
871
|
return {
|
@@ -903,7 +905,7 @@ function Tt(e) {
|
|
903
905
|
};
|
904
906
|
}
|
905
907
|
}
|
906
|
-
function
|
908
|
+
function zr(e) {
|
907
909
|
var t;
|
908
910
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
909
911
|
notation: "engineering"
|
@@ -911,17 +913,17 @@ function Xr(e) {
|
|
911
913
|
notation: "scientific"
|
912
914
|
}, e = e.slice(1)), t) {
|
913
915
|
var r = e.slice(0, 2);
|
914
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
916
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Bt.test(e))
|
915
917
|
throw new Error("Malformed concise eng/scientific notation");
|
916
918
|
t.minimumIntegerDigits = e.length;
|
917
919
|
}
|
918
920
|
return t;
|
919
921
|
}
|
920
|
-
function
|
921
|
-
var t = {}, r =
|
922
|
+
function qe(e) {
|
923
|
+
var t = {}, r = At(e);
|
922
924
|
return r || t;
|
923
925
|
}
|
924
|
-
function
|
926
|
+
function Wr(e) {
|
925
927
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
926
928
|
var i = n[r];
|
927
929
|
switch (i.stem) {
|
@@ -945,7 +947,7 @@ function zr(e) {
|
|
945
947
|
continue;
|
946
948
|
case "measure-unit":
|
947
949
|
case "unit":
|
948
|
-
t.style = "unit", t.unit =
|
950
|
+
t.style = "unit", t.unit = kr(i.options[0]);
|
949
951
|
continue;
|
950
952
|
case "compact-short":
|
951
953
|
case "K":
|
@@ -957,12 +959,12 @@ function zr(e) {
|
|
957
959
|
continue;
|
958
960
|
case "scientific":
|
959
961
|
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
960
|
-
return d(d({}, u),
|
962
|
+
return d(d({}, u), qe(h));
|
961
963
|
}, {}));
|
962
964
|
continue;
|
963
965
|
case "engineering":
|
964
966
|
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
965
|
-
return d(d({}, u),
|
967
|
+
return d(d({}, u), qe(h));
|
966
968
|
}, {}));
|
967
969
|
continue;
|
968
970
|
case "notation-simple":
|
@@ -1007,7 +1009,7 @@ function zr(e) {
|
|
1007
1009
|
case "integer-width":
|
1008
1010
|
if (i.options.length > 1)
|
1009
1011
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1010
|
-
i.options[0].replace(
|
1012
|
+
i.options[0].replace(Xr, function(u, h, l, c, f, x) {
|
1011
1013
|
if (h)
|
1012
1014
|
t.minimumIntegerDigits = l.length;
|
1013
1015
|
else {
|
@@ -1020,27 +1022,27 @@ function zr(e) {
|
|
1020
1022
|
});
|
1021
1023
|
continue;
|
1022
1024
|
}
|
1023
|
-
if (
|
1025
|
+
if (Bt.test(i.stem)) {
|
1024
1026
|
t.minimumIntegerDigits = i.stem.length;
|
1025
1027
|
continue;
|
1026
1028
|
}
|
1027
|
-
if (
|
1029
|
+
if (Qe.test(i.stem)) {
|
1028
1030
|
if (i.options.length > 1)
|
1029
1031
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1030
|
-
i.stem.replace(
|
1032
|
+
i.stem.replace(Qe, function(u, h, l, c, f, x) {
|
1031
1033
|
return l === "*" ? 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), "";
|
1032
1034
|
});
|
1033
1035
|
var s = i.options[0];
|
1034
|
-
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t),
|
1036
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Je(s)));
|
1035
1037
|
continue;
|
1036
1038
|
}
|
1037
|
-
if (
|
1038
|
-
t = d(d({}, t),
|
1039
|
+
if (Tt.test(i.stem)) {
|
1040
|
+
t = d(d({}, t), Je(i.stem));
|
1039
1041
|
continue;
|
1040
1042
|
}
|
1041
|
-
var o =
|
1043
|
+
var o = At(i.stem);
|
1042
1044
|
o && (t = d(d({}, t), o));
|
1043
|
-
var a =
|
1045
|
+
var a = zr(i.stem);
|
1044
1046
|
a && (t = d(d({}, t), a));
|
1045
1047
|
}
|
1046
1048
|
return t;
|
@@ -2460,13 +2462,13 @@ var re = {
|
|
2460
2462
|
"h"
|
2461
2463
|
]
|
2462
2464
|
};
|
2463
|
-
function
|
2465
|
+
function Zr(e, t) {
|
2464
2466
|
for (var r = "", n = 0; n < e.length; n++) {
|
2465
2467
|
var i = e.charAt(n);
|
2466
2468
|
if (i === "j") {
|
2467
2469
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2468
2470
|
s++, n++;
|
2469
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", h =
|
2471
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = Qr(t);
|
2470
2472
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
2471
2473
|
r += u;
|
2472
2474
|
for (; o-- > 0; )
|
@@ -2476,7 +2478,7 @@ function Wr(e, t) {
|
|
2476
2478
|
}
|
2477
2479
|
return r;
|
2478
2480
|
}
|
2479
|
-
function
|
2481
|
+
function Qr(e) {
|
2480
2482
|
var t = e.hourCycle;
|
2481
2483
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2482
2484
|
e.hourCycles && // @ts-ignore
|
@@ -2498,20 +2500,20 @@ function Zr(e) {
|
|
2498
2500
|
var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
|
2499
2501
|
return i[0];
|
2500
2502
|
}
|
2501
|
-
var Ee,
|
2503
|
+
var Ee, Jr = new RegExp("^".concat(Ht.source, "*")), qr = new RegExp("".concat(Ht.source, "*$"));
|
2502
2504
|
function b(e, t) {
|
2503
2505
|
return { start: e, end: t };
|
2504
2506
|
}
|
2505
|
-
var
|
2507
|
+
var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, on = sn ? Number.isSafeInteger : function(e) {
|
2506
2508
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2507
2509
|
}, Ae = !0;
|
2508
2510
|
try {
|
2509
|
-
var
|
2510
|
-
Ae = ((Ee =
|
2511
|
+
var an = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2512
|
+
Ae = ((Ee = an.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
2511
2513
|
} catch (e) {
|
2512
2514
|
Ae = !1;
|
2513
2515
|
}
|
2514
|
-
var
|
2516
|
+
var Ye = Yr ? (
|
2515
2517
|
// Native
|
2516
2518
|
function(t, r, n) {
|
2517
2519
|
return t.startsWith(r, n);
|
@@ -2521,7 +2523,7 @@ var Je = qr ? (
|
|
2521
2523
|
function(t, r, n) {
|
2522
2524
|
return t.slice(n, n + r.length) === r;
|
2523
2525
|
}
|
2524
|
-
), Se =
|
2526
|
+
), Se = Kr ? String.fromCodePoint : (
|
2525
2527
|
// IE11
|
2526
2528
|
function() {
|
2527
2529
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2533,9 +2535,9 @@ var Je = qr ? (
|
|
2533
2535
|
}
|
2534
2536
|
return n;
|
2535
2537
|
}
|
2536
|
-
),
|
2538
|
+
), Ke = (
|
2537
2539
|
// native
|
2538
|
-
|
2540
|
+
en ? Object.fromEntries : (
|
2539
2541
|
// Ponyfill
|
2540
2542
|
function(t) {
|
2541
2543
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2545,7 +2547,7 @@ var Je = qr ? (
|
|
2545
2547
|
return r;
|
2546
2548
|
}
|
2547
2549
|
)
|
2548
|
-
),
|
2550
|
+
), St = tn ? (
|
2549
2551
|
// Native
|
2550
2552
|
function(t, r) {
|
2551
2553
|
return t.codePointAt(r);
|
@@ -2559,7 +2561,7 @@ var Je = qr ? (
|
|
2559
2561
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
2560
2562
|
}
|
2561
2563
|
}
|
2562
|
-
),
|
2564
|
+
), hn = rn ? (
|
2563
2565
|
// Native
|
2564
2566
|
function(t) {
|
2565
2567
|
return t.trimStart();
|
@@ -2567,9 +2569,9 @@ var Je = qr ? (
|
|
2567
2569
|
) : (
|
2568
2570
|
// Ponyfill
|
2569
2571
|
function(t) {
|
2570
|
-
return t.replace(
|
2572
|
+
return t.replace(Jr, "");
|
2571
2573
|
}
|
2572
|
-
),
|
2574
|
+
), un = nn ? (
|
2573
2575
|
// Native
|
2574
2576
|
function(t) {
|
2575
2577
|
return t.trimEnd();
|
@@ -2577,32 +2579,32 @@ var Je = qr ? (
|
|
2577
2579
|
) : (
|
2578
2580
|
// Ponyfill
|
2579
2581
|
function(t) {
|
2580
|
-
return t.replace(
|
2582
|
+
return t.replace(qr, "");
|
2581
2583
|
}
|
2582
2584
|
);
|
2583
|
-
function
|
2585
|
+
function Pt(e, t) {
|
2584
2586
|
return new RegExp(e, t);
|
2585
2587
|
}
|
2586
2588
|
var Pe;
|
2587
2589
|
if (Ae) {
|
2588
|
-
var
|
2590
|
+
var et = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2589
2591
|
Pe = function(t, r) {
|
2590
2592
|
var n;
|
2591
|
-
|
2592
|
-
var i =
|
2593
|
+
et.lastIndex = r;
|
2594
|
+
var i = et.exec(t);
|
2593
2595
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2594
2596
|
};
|
2595
2597
|
} else
|
2596
2598
|
Pe = function(t, r) {
|
2597
2599
|
for (var n = []; ; ) {
|
2598
|
-
var i =
|
2599
|
-
if (i === void 0 ||
|
2600
|
+
var i = St(t, r);
|
2601
|
+
if (i === void 0 || Ot(i) || pn(i))
|
2600
2602
|
break;
|
2601
2603
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2602
2604
|
}
|
2603
2605
|
return Se.apply(void 0, n);
|
2604
2606
|
};
|
2605
|
-
var
|
2607
|
+
var ln = (
|
2606
2608
|
/** @class */
|
2607
2609
|
function() {
|
2608
2610
|
function e(t, r) {
|
@@ -2684,7 +2686,7 @@ var un = (
|
|
2684
2686
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
2685
2687
|
}, e.prototype.parseTagName = function() {
|
2686
2688
|
var t = this.offset();
|
2687
|
-
for (this.bump(); !this.isEOF() &&
|
2689
|
+
for (this.bump(); !this.isEOF() && cn(this.char()); )
|
2688
2690
|
this.bump();
|
2689
2691
|
return this.message.slice(t, this.offset());
|
2690
2692
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2713,7 +2715,7 @@ var un = (
|
|
2713
2715
|
};
|
2714
2716
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2715
2717
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2716
|
-
!
|
2718
|
+
!fn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2717
2719
|
}, e.prototype.tryParseQuote = function(t) {
|
2718
2720
|
if (this.isEOF() || this.char() !== 39)
|
2719
2721
|
return null;
|
@@ -2800,7 +2802,7 @@ var un = (
|
|
2800
2802
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
2801
2803
|
if (c.err)
|
2802
2804
|
return c;
|
2803
|
-
var f =
|
2805
|
+
var f = un(c.val);
|
2804
2806
|
if (f.length === 0)
|
2805
2807
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
2806
2808
|
var x = b(l, this.clonePosition());
|
@@ -2810,8 +2812,8 @@ var un = (
|
|
2810
2812
|
if (g.err)
|
2811
2813
|
return g;
|
2812
2814
|
var y = b(i, this.clonePosition());
|
2813
|
-
if (h &&
|
2814
|
-
var H =
|
2815
|
+
if (h && Ye(h == null ? void 0 : h.style, "::", 0)) {
|
2816
|
+
var H = hn(h.style.slice(2));
|
2815
2817
|
if (a === "number") {
|
2816
2818
|
var c = this.parseNumberSkeletonFromString(H, h.styleLocation);
|
2817
2819
|
return c.err ? c : {
|
@@ -2822,12 +2824,12 @@ var un = (
|
|
2822
2824
|
if (H.length === 0)
|
2823
2825
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
2824
2826
|
var A = H;
|
2825
|
-
this.locale && (A =
|
2827
|
+
this.locale && (A = Zr(H, this.locale));
|
2826
2828
|
var f = {
|
2827
2829
|
type: j.dateTime,
|
2828
2830
|
pattern: A,
|
2829
2831
|
location: h.styleLocation,
|
2830
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2832
|
+
parsedOptions: this.shouldParseSkeletons ? Fr(A) : {}
|
2831
2833
|
}, S = a === "date" ? E.date : E.time;
|
2832
2834
|
return {
|
2833
2835
|
val: { type: S, value: n, location: y, style: f },
|
@@ -2873,7 +2875,7 @@ var un = (
|
|
2873
2875
|
val: {
|
2874
2876
|
type: E.select,
|
2875
2877
|
value: n,
|
2876
|
-
options:
|
2878
|
+
options: Ke(R.val),
|
2877
2879
|
location: te
|
2878
2880
|
},
|
2879
2881
|
err: null
|
@@ -2881,7 +2883,7 @@ var un = (
|
|
2881
2883
|
val: {
|
2882
2884
|
type: E.plural,
|
2883
2885
|
value: n,
|
2884
|
-
options:
|
2886
|
+
options: Ke(R.val),
|
2885
2887
|
offset: O,
|
2886
2888
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2887
2889
|
location: te
|
@@ -2932,7 +2934,7 @@ var un = (
|
|
2932
2934
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2933
2935
|
var n = [];
|
2934
2936
|
try {
|
2935
|
-
n =
|
2937
|
+
n = Vr(t);
|
2936
2938
|
} catch (i) {
|
2937
2939
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
2938
2940
|
}
|
@@ -2941,7 +2943,7 @@ var un = (
|
|
2941
2943
|
type: j.number,
|
2942
2944
|
tokens: n,
|
2943
2945
|
location: r,
|
2944
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2946
|
+
parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
|
2945
2947
|
},
|
2946
2948
|
err: null
|
2947
2949
|
};
|
@@ -2989,7 +2991,7 @@ var un = (
|
|
2989
2991
|
break;
|
2990
2992
|
}
|
2991
2993
|
var u = b(i, this.clonePosition());
|
2992
|
-
return s ? (o *= n,
|
2994
|
+
return s ? (o *= n, on(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
|
2993
2995
|
}, e.prototype.offset = function() {
|
2994
2996
|
return this.position.offset;
|
2995
2997
|
}, e.prototype.isEOF = function() {
|
@@ -3004,7 +3006,7 @@ var un = (
|
|
3004
3006
|
var t = this.position.offset;
|
3005
3007
|
if (t >= this.message.length)
|
3006
3008
|
throw Error("out of bound");
|
3007
|
-
var r =
|
3009
|
+
var r = St(this.message, t);
|
3008
3010
|
if (r === void 0)
|
3009
3011
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3010
3012
|
return r;
|
@@ -3023,7 +3025,7 @@ var un = (
|
|
3023
3025
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3024
3026
|
}
|
3025
3027
|
}, e.prototype.bumpIf = function(t) {
|
3026
|
-
if (
|
3028
|
+
if (Ye(this.message, t, this.offset())) {
|
3027
3029
|
for (var r = 0; r < t.length; r++)
|
3028
3030
|
this.bump();
|
3029
3031
|
return !0;
|
@@ -3045,7 +3047,7 @@ var un = (
|
|
3045
3047
|
break;
|
3046
3048
|
}
|
3047
3049
|
}, e.prototype.bumpSpace = function() {
|
3048
|
-
for (; !this.isEOF() &&
|
3050
|
+
for (; !this.isEOF() && Ot(this.char()); )
|
3049
3051
|
this.bump();
|
3050
3052
|
}, e.prototype.peek = function() {
|
3051
3053
|
if (this.isEOF())
|
@@ -3058,30 +3060,30 @@ var un = (
|
|
3058
3060
|
function Oe(e) {
|
3059
3061
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3060
3062
|
}
|
3061
|
-
function
|
3063
|
+
function fn(e) {
|
3062
3064
|
return Oe(e) || e === 47;
|
3063
3065
|
}
|
3064
|
-
function
|
3066
|
+
function cn(e) {
|
3065
3067
|
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;
|
3066
3068
|
}
|
3067
|
-
function
|
3069
|
+
function Ot(e) {
|
3068
3070
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3069
3071
|
}
|
3070
|
-
function
|
3072
|
+
function pn(e) {
|
3071
3073
|
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;
|
3072
3074
|
}
|
3073
3075
|
function Ne(e) {
|
3074
3076
|
e.forEach(function(t) {
|
3075
|
-
if (delete t.location,
|
3077
|
+
if (delete t.location, Et(t) || yt(t))
|
3076
3078
|
for (var r in t.options)
|
3077
3079
|
delete t.options[r].location, Ne(t.options[r].value);
|
3078
3080
|
else
|
3079
|
-
|
3081
|
+
dt(t) && vt(t.style) || (gt(t) || xt(t)) && Be(t.style) ? delete t.style.location : _t(t) && Ne(t.children);
|
3080
3082
|
});
|
3081
3083
|
}
|
3082
|
-
function
|
3084
|
+
function mn(e, t) {
|
3083
3085
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3084
|
-
var r = new
|
3086
|
+
var r = new ln(e, t).parse();
|
3085
3087
|
if (r.err) {
|
3086
3088
|
var n = SyntaxError(m[r.err.kind]);
|
3087
3089
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3104,7 +3106,7 @@ var fe = (
|
|
3104
3106
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3105
3107
|
}, t;
|
3106
3108
|
}(Error)
|
3107
|
-
),
|
3109
|
+
), tt = (
|
3108
3110
|
/** @class */
|
3109
3111
|
function(e) {
|
3110
3112
|
le(t, e);
|
@@ -3113,7 +3115,7 @@ var fe = (
|
|
3113
3115
|
}
|
3114
3116
|
return t;
|
3115
3117
|
}(fe)
|
3116
|
-
),
|
3118
|
+
), bn = (
|
3117
3119
|
/** @class */
|
3118
3120
|
function(e) {
|
3119
3121
|
le(t, e);
|
@@ -3122,7 +3124,7 @@ var fe = (
|
|
3122
3124
|
}
|
3123
3125
|
return t;
|
3124
3126
|
}(fe)
|
3125
|
-
),
|
3127
|
+
), dn = (
|
3126
3128
|
/** @class */
|
3127
3129
|
function(e) {
|
3128
3130
|
le(t, e);
|
@@ -3135,17 +3137,17 @@ var fe = (
|
|
3135
3137
|
(function(e) {
|
3136
3138
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3137
3139
|
})(_ || (_ = {}));
|
3138
|
-
function
|
3140
|
+
function gn(e) {
|
3139
3141
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3140
3142
|
var n = t[t.length - 1];
|
3141
3143
|
return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
|
3142
3144
|
}, []);
|
3143
3145
|
}
|
3144
|
-
function
|
3146
|
+
function xn(e) {
|
3145
3147
|
return typeof e == "function";
|
3146
3148
|
}
|
3147
3149
|
function se(e, t, r, n, i, s, o) {
|
3148
|
-
if (e.length === 1 &&
|
3150
|
+
if (e.length === 1 && Ze(e[0]))
|
3149
3151
|
return [
|
3150
3152
|
{
|
3151
3153
|
type: _.literal,
|
@@ -3154,14 +3156,14 @@ function se(e, t, r, n, i, s, o) {
|
|
3154
3156
|
];
|
3155
3157
|
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
3156
3158
|
var l = h[u];
|
3157
|
-
if (
|
3159
|
+
if (Ze(l)) {
|
3158
3160
|
a.push({
|
3159
3161
|
type: _.literal,
|
3160
3162
|
value: l.value
|
3161
3163
|
});
|
3162
3164
|
continue;
|
3163
3165
|
}
|
3164
|
-
if (
|
3166
|
+
if (Gr(l)) {
|
3165
3167
|
typeof s == "number" && a.push({
|
3166
3168
|
type: _.literal,
|
3167
3169
|
value: r.getNumberFormat(t).format(s)
|
@@ -3170,16 +3172,16 @@ function se(e, t, r, n, i, s, o) {
|
|
3170
3172
|
}
|
3171
3173
|
var c = l.value;
|
3172
3174
|
if (!(i && c in i))
|
3173
|
-
throw new
|
3175
|
+
throw new dn(c, o);
|
3174
3176
|
var f = i[c];
|
3175
|
-
if (
|
3177
|
+
if (Ur(l)) {
|
3176
3178
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3177
3179
|
type: typeof f == "string" ? _.literal : _.object,
|
3178
3180
|
value: f
|
3179
3181
|
});
|
3180
3182
|
continue;
|
3181
3183
|
}
|
3182
|
-
if (
|
3184
|
+
if (gt(l)) {
|
3183
3185
|
var x = typeof l.style == "string" ? n.date[l.style] : Be(l.style) ? l.style.parsedOptions : void 0;
|
3184
3186
|
a.push({
|
3185
3187
|
type: _.literal,
|
@@ -3187,7 +3189,7 @@ function se(e, t, r, n, i, s, o) {
|
|
3187
3189
|
});
|
3188
3190
|
continue;
|
3189
3191
|
}
|
3190
|
-
if (
|
3192
|
+
if (xt(l)) {
|
3191
3193
|
var x = typeof l.style == "string" ? n.time[l.style] : Be(l.style) ? l.style.parsedOptions : n.time.medium;
|
3192
3194
|
a.push({
|
3193
3195
|
type: _.literal,
|
@@ -3195,18 +3197,18 @@ function se(e, t, r, n, i, s, o) {
|
|
3195
3197
|
});
|
3196
3198
|
continue;
|
3197
3199
|
}
|
3198
|
-
if (
|
3199
|
-
var x = typeof l.style == "string" ? n.number[l.style] :
|
3200
|
+
if (dt(l)) {
|
3201
|
+
var x = typeof l.style == "string" ? n.number[l.style] : vt(l.style) ? l.style.parsedOptions : void 0;
|
3200
3202
|
x && x.scale && (f = f * (x.scale || 1)), a.push({
|
3201
3203
|
type: _.literal,
|
3202
3204
|
value: r.getNumberFormat(t, x).format(f)
|
3203
3205
|
});
|
3204
3206
|
continue;
|
3205
3207
|
}
|
3206
|
-
if (
|
3208
|
+
if (_t(l)) {
|
3207
3209
|
var g = l.children, y = l.value, H = i[y];
|
3208
|
-
if (!
|
3209
|
-
throw new
|
3210
|
+
if (!xn(H))
|
3211
|
+
throw new bn(y, "function", o);
|
3210
3212
|
var A = se(g, t, r, n, i, s), S = H(A.map(function(O) {
|
3211
3213
|
return O.value;
|
3212
3214
|
}));
|
@@ -3217,14 +3219,14 @@ function se(e, t, r, n, i, s, o) {
|
|
3217
3219
|
};
|
3218
3220
|
}));
|
3219
3221
|
}
|
3220
|
-
if (
|
3222
|
+
if (Et(l)) {
|
3221
3223
|
var v = l.options[f] || l.options.other;
|
3222
3224
|
if (!v)
|
3223
|
-
throw new
|
3225
|
+
throw new tt(l.value, f, Object.keys(l.options), o);
|
3224
3226
|
a.push.apply(a, se(v.value, t, r, n, i));
|
3225
3227
|
continue;
|
3226
3228
|
}
|
3227
|
-
if (
|
3229
|
+
if (yt(l)) {
|
3228
3230
|
var v = l.options["=".concat(f)];
|
3229
3231
|
if (!v) {
|
3230
3232
|
if (!Intl.PluralRules)
|
@@ -3235,21 +3237,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3235
3237
|
v = l.options[N] || l.options.other;
|
3236
3238
|
}
|
3237
3239
|
if (!v)
|
3238
|
-
throw new
|
3240
|
+
throw new tt(l.value, f, Object.keys(l.options), o);
|
3239
3241
|
a.push.apply(a, se(v.value, t, r, n, i, f - (l.offset || 0)));
|
3240
3242
|
continue;
|
3241
3243
|
}
|
3242
3244
|
}
|
3243
|
-
return
|
3245
|
+
return gn(a);
|
3244
3246
|
}
|
3245
|
-
function
|
3247
|
+
function En(e, t) {
|
3246
3248
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3247
3249
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
3248
3250
|
}, {})) : e;
|
3249
3251
|
}
|
3250
|
-
function
|
3252
|
+
function yn(e, t) {
|
3251
3253
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3252
|
-
return r[n] =
|
3254
|
+
return r[n] = En(e[n], t[n]), r;
|
3253
3255
|
}, d({}, e)) : e;
|
3254
3256
|
}
|
3255
3257
|
function ye(e) {
|
@@ -3266,7 +3268,7 @@ function ye(e) {
|
|
3266
3268
|
}
|
3267
3269
|
};
|
3268
3270
|
}
|
3269
|
-
function
|
3271
|
+
function _n(e) {
|
3270
3272
|
return e === void 0 && (e = {
|
3271
3273
|
number: {},
|
3272
3274
|
dateTime: {},
|
@@ -3298,7 +3300,7 @@ function yn(e) {
|
|
3298
3300
|
})
|
3299
3301
|
};
|
3300
3302
|
}
|
3301
|
-
var
|
3303
|
+
var vn = (
|
3302
3304
|
/** @class */
|
3303
3305
|
function() {
|
3304
3306
|
function e(t, r, n, i) {
|
@@ -3330,13 +3332,13 @@ var _n = (
|
|
3330
3332
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3331
3333
|
var o = i || {};
|
3332
3334
|
o.formatters;
|
3333
|
-
var a =
|
3335
|
+
var a = Ir(o, ["formatters"]);
|
3334
3336
|
this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
|
3335
3337
|
} else
|
3336
3338
|
this.ast = t;
|
3337
3339
|
if (!Array.isArray(this.ast))
|
3338
3340
|
throw new TypeError("A message must be provided as a String or AST.");
|
3339
|
-
this.formats =
|
3341
|
+
this.formats = yn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
|
3340
3342
|
}
|
3341
3343
|
return Object.defineProperty(e, "defaultLocale", {
|
3342
3344
|
get: function() {
|
@@ -3349,7 +3351,7 @@ var _n = (
|
|
3349
3351
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3350
3352
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3351
3353
|
}
|
3352
|
-
}, e.__parse =
|
3354
|
+
}, e.__parse = mn, e.formats = {
|
3353
3355
|
number: {
|
3354
3356
|
integer: {
|
3355
3357
|
maximumFractionDigits: 0
|
@@ -3410,7 +3412,7 @@ var _n = (
|
|
3410
3412
|
}, e;
|
3411
3413
|
}()
|
3412
3414
|
);
|
3413
|
-
function
|
3415
|
+
function Hn(e, t) {
|
3414
3416
|
if (t == null)
|
3415
3417
|
return;
|
3416
3418
|
if (t in e)
|
@@ -3431,60 +3433,60 @@ function vn(e, t) {
|
|
3431
3433
|
n = void 0;
|
3432
3434
|
return n;
|
3433
3435
|
}
|
3434
|
-
const I = {},
|
3436
|
+
const I = {}, Tn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Nt = (e, t) => {
|
3435
3437
|
if (t == null)
|
3436
3438
|
return;
|
3437
3439
|
if (t in I && e in I[t])
|
3438
3440
|
return I[t][e];
|
3439
3441
|
const r = ce(t);
|
3440
3442
|
for (let n = 0; n < r.length; n++) {
|
3441
|
-
const i = r[n], s =
|
3443
|
+
const i = r[n], s = An(i, e);
|
3442
3444
|
if (s)
|
3443
|
-
return
|
3445
|
+
return Tn(e, t, s);
|
3444
3446
|
}
|
3445
3447
|
};
|
3446
|
-
let
|
3448
|
+
let Ue;
|
3447
3449
|
const z = ue({});
|
3448
|
-
function
|
3449
|
-
return
|
3450
|
+
function Bn(e) {
|
3451
|
+
return Ue[e] || null;
|
3450
3452
|
}
|
3451
|
-
function
|
3452
|
-
return e in
|
3453
|
+
function It(e) {
|
3454
|
+
return e in Ue;
|
3453
3455
|
}
|
3454
|
-
function
|
3455
|
-
if (!
|
3456
|
+
function An(e, t) {
|
3457
|
+
if (!It(e))
|
3456
3458
|
return null;
|
3457
|
-
const r =
|
3458
|
-
return
|
3459
|
+
const r = Bn(e);
|
3460
|
+
return Hn(r, t);
|
3459
3461
|
}
|
3460
|
-
function
|
3462
|
+
function Sn(e) {
|
3461
3463
|
if (e == null)
|
3462
3464
|
return;
|
3463
3465
|
const t = ce(e);
|
3464
3466
|
for (let r = 0; r < t.length; r++) {
|
3465
3467
|
const n = t[r];
|
3466
|
-
if (
|
3468
|
+
if (It(n))
|
3467
3469
|
return n;
|
3468
3470
|
}
|
3469
3471
|
}
|
3470
|
-
function
|
3471
|
-
delete I[e], z.update((r) => (r[e] =
|
3472
|
+
function wt(e, ...t) {
|
3473
|
+
delete I[e], z.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
|
3472
3474
|
}
|
3473
3475
|
X(
|
3474
3476
|
[z],
|
3475
3477
|
([e]) => Object.keys(e)
|
3476
3478
|
);
|
3477
|
-
z.subscribe((e) =>
|
3479
|
+
z.subscribe((e) => Ue = e);
|
3478
3480
|
const oe = {};
|
3479
|
-
function
|
3481
|
+
function Pn(e, t) {
|
3480
3482
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
3481
3483
|
}
|
3482
|
-
function
|
3484
|
+
function Lt(e) {
|
3483
3485
|
return oe[e];
|
3484
3486
|
}
|
3485
|
-
function
|
3487
|
+
function On(e) {
|
3486
3488
|
return ce(e).map((t) => {
|
3487
|
-
const r =
|
3489
|
+
const r = Lt(t);
|
3488
3490
|
return [t, r ? [...r] : []];
|
3489
3491
|
}).filter(([, t]) => t.length > 0);
|
3490
3492
|
}
|
@@ -3492,31 +3494,31 @@ function Ie(e) {
|
|
3492
3494
|
return e == null ? !1 : ce(e).some(
|
3493
3495
|
(t) => {
|
3494
3496
|
var r;
|
3495
|
-
return (r =
|
3497
|
+
return (r = Lt(t)) == null ? void 0 : r.size;
|
3496
3498
|
}
|
3497
3499
|
);
|
3498
3500
|
}
|
3499
|
-
function
|
3501
|
+
function Nn(e, t) {
|
3500
3502
|
return Promise.all(
|
3501
|
-
t.map((n) => (
|
3502
|
-
).then((n) =>
|
3503
|
+
t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
|
3504
|
+
).then((n) => wt(e, ...n));
|
3503
3505
|
}
|
3504
3506
|
const Z = {};
|
3505
|
-
function
|
3507
|
+
function Ct(e) {
|
3506
3508
|
if (!Ie(e))
|
3507
3509
|
return e in Z ? Z[e] : Promise.resolve();
|
3508
|
-
const t =
|
3510
|
+
const t = On(e);
|
3509
3511
|
return Z[e] = Promise.all(
|
3510
3512
|
t.map(
|
3511
|
-
([r, n]) =>
|
3513
|
+
([r, n]) => Nn(r, n)
|
3512
3514
|
)
|
3513
3515
|
).then(() => {
|
3514
3516
|
if (Ie(e))
|
3515
|
-
return
|
3517
|
+
return Ct(e);
|
3516
3518
|
delete Z[e];
|
3517
3519
|
}), Z[e];
|
3518
3520
|
}
|
3519
|
-
const
|
3521
|
+
const In = {
|
3520
3522
|
number: {
|
3521
3523
|
scientific: { notation: "scientific" },
|
3522
3524
|
engineering: { notation: "engineering" },
|
@@ -3545,34 +3547,34 @@ const Nn = {
|
|
3545
3547
|
timeZoneName: "short"
|
3546
3548
|
}
|
3547
3549
|
}
|
3548
|
-
},
|
3550
|
+
}, wn = {
|
3549
3551
|
fallbackLocale: null,
|
3550
3552
|
loadingDelay: 200,
|
3551
|
-
formats:
|
3553
|
+
formats: In,
|
3552
3554
|
warnOnMissingMessages: !0,
|
3553
3555
|
handleMissingMessage: void 0,
|
3554
3556
|
ignoreTag: !0
|
3555
|
-
},
|
3557
|
+
}, Ln = wn;
|
3556
3558
|
function k() {
|
3557
|
-
return
|
3559
|
+
return Ln;
|
3558
3560
|
}
|
3559
3561
|
const _e = ue(!1);
|
3560
|
-
var
|
3562
|
+
var Cn = Object.defineProperty, Mn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, rt = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
|
3561
3563
|
for (var r in t || (t = {}))
|
3562
|
-
|
3563
|
-
if (
|
3564
|
-
for (var r of
|
3565
|
-
|
3564
|
+
$n.call(t, r) && nt(e, r, t[r]);
|
3565
|
+
if (rt)
|
3566
|
+
for (var r of rt(t))
|
3567
|
+
Un.call(t, r) && nt(e, r, t[r]);
|
3566
3568
|
return e;
|
3567
|
-
},
|
3569
|
+
}, Dn = (e, t) => Mn(e, Rn(t));
|
3568
3570
|
let we;
|
3569
3571
|
const ae = ue(null);
|
3570
|
-
function
|
3572
|
+
function it(e) {
|
3571
3573
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3572
3574
|
}
|
3573
3575
|
function ce(e, t = k().fallbackLocale) {
|
3574
|
-
const r =
|
3575
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3576
|
+
const r = it(e);
|
3577
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...it(t)])] : r;
|
3576
3578
|
}
|
3577
3579
|
function M() {
|
3578
3580
|
return we != null ? we : void 0;
|
@@ -3580,22 +3582,22 @@ function M() {
|
|
3580
3582
|
ae.subscribe((e) => {
|
3581
3583
|
we = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3582
3584
|
});
|
3583
|
-
const
|
3584
|
-
if (e &&
|
3585
|
+
const Fn = (e) => {
|
3586
|
+
if (e && Sn(e) && Ie(e)) {
|
3585
3587
|
const { loadingDelay: t } = k();
|
3586
3588
|
let r;
|
3587
3589
|
return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
|
3588
3590
|
() => _e.set(!0),
|
3589
3591
|
t
|
3590
|
-
) : _e.set(!0),
|
3592
|
+
) : _e.set(!0), Ct(e).then(() => {
|
3591
3593
|
ae.set(e);
|
3592
3594
|
}).finally(() => {
|
3593
3595
|
clearTimeout(r), _e.set(!1);
|
3594
3596
|
});
|
3595
3597
|
}
|
3596
3598
|
return ae.set(e);
|
3597
|
-
}, w = Gn(
|
3598
|
-
set:
|
3599
|
+
}, w = Dn(Gn({}, ae), {
|
3600
|
+
set: Fn
|
3599
3601
|
}), pe = (e) => {
|
3600
3602
|
const t = /* @__PURE__ */ Object.create(null);
|
3601
3603
|
return (n) => {
|
@@ -3603,20 +3605,20 @@ const Dn = (e) => {
|
|
3603
3605
|
return i in t ? t[i] : t[i] = e(n);
|
3604
3606
|
};
|
3605
3607
|
};
|
3606
|
-
var
|
3608
|
+
var jn = Object.defineProperty, he = Object.getOwnPropertySymbols, Mt = Object.prototype.hasOwnProperty, Rt = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
3607
3609
|
for (var r in t || (t = {}))
|
3608
|
-
|
3610
|
+
Mt.call(t, r) && st(e, r, t[r]);
|
3609
3611
|
if (he)
|
3610
3612
|
for (var r of he(t))
|
3611
|
-
|
3613
|
+
Rt.call(t, r) && st(e, r, t[r]);
|
3612
3614
|
return e;
|
3613
3615
|
}, W = (e, t) => {
|
3614
3616
|
var r = {};
|
3615
3617
|
for (var n in e)
|
3616
|
-
|
3618
|
+
Mt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3617
3619
|
if (e != null && he)
|
3618
3620
|
for (var n of he(e))
|
3619
|
-
t.indexOf(n) < 0 &&
|
3621
|
+
t.indexOf(n) < 0 && Rt.call(e, n) && (r[n] = e[n]);
|
3620
3622
|
return r;
|
3621
3623
|
};
|
3622
3624
|
const K = (e, t) => {
|
@@ -3624,21 +3626,21 @@ const K = (e, t) => {
|
|
3624
3626
|
if (e in r && t in r[e])
|
3625
3627
|
return r[e][t];
|
3626
3628
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3627
|
-
},
|
3629
|
+
}, Vn = pe(
|
3628
3630
|
(e) => {
|
3629
3631
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3630
3632
|
if (r == null)
|
3631
3633
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3632
3634
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
3633
3635
|
}
|
3634
|
-
),
|
3636
|
+
), kn = pe(
|
3635
3637
|
(e) => {
|
3636
3638
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3637
3639
|
if (r == null)
|
3638
3640
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3639
3641
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
3640
3642
|
}
|
3641
|
-
),
|
3643
|
+
), Xn = pe(
|
3642
3644
|
(e) => {
|
3643
3645
|
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
3644
3646
|
if (r == null)
|
@@ -3647,33 +3649,33 @@ const K = (e, t) => {
|
|
3647
3649
|
);
|
3648
3650
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
3649
3651
|
}
|
3650
|
-
),
|
3652
|
+
), zn = (e = {}) => {
|
3651
3653
|
var t = e, {
|
3652
3654
|
locale: r = M()
|
3653
3655
|
} = t, n = W(t, [
|
3654
3656
|
"locale"
|
3655
3657
|
]);
|
3656
|
-
return
|
3657
|
-
},
|
3658
|
+
return Vn(Ge({ locale: r }, n));
|
3659
|
+
}, Wn = (e = {}) => {
|
3658
3660
|
var t = e, {
|
3659
3661
|
locale: r = M()
|
3660
3662
|
} = t, n = W(t, [
|
3661
3663
|
"locale"
|
3662
3664
|
]);
|
3663
|
-
return
|
3664
|
-
},
|
3665
|
+
return kn(Ge({ locale: r }, n));
|
3666
|
+
}, Zn = (e = {}) => {
|
3665
3667
|
var t = e, {
|
3666
3668
|
locale: r = M()
|
3667
3669
|
} = t, n = W(t, [
|
3668
3670
|
"locale"
|
3669
3671
|
]);
|
3670
|
-
return
|
3671
|
-
},
|
3672
|
+
return Xn(Ge({ locale: r }, n));
|
3673
|
+
}, Qn = pe(
|
3672
3674
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3673
|
-
(e, t = M()) => new
|
3675
|
+
(e, t = M()) => new vn(e, t, k().formats, {
|
3674
3676
|
ignoreTag: k().ignoreTag
|
3675
3677
|
})
|
3676
|
-
),
|
3678
|
+
), Jn = (e, t = {}) => {
|
3677
3679
|
var r, n, i, s;
|
3678
3680
|
let o = t;
|
3679
3681
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -3686,7 +3688,7 @@ const K = (e, t) => {
|
|
3686
3688
|
throw new Error(
|
3687
3689
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3688
3690
|
);
|
3689
|
-
let l =
|
3691
|
+
let l = Nt(e, u);
|
3690
3692
|
if (!l)
|
3691
3693
|
l = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
|
3692
3694
|
else if (typeof l != "string")
|
@@ -3697,7 +3699,7 @@ const K = (e, t) => {
|
|
3697
3699
|
return l;
|
3698
3700
|
let c = l;
|
3699
3701
|
try {
|
3700
|
-
c =
|
3702
|
+
c = Qn(l, u).format(a);
|
3701
3703
|
} catch (f) {
|
3702
3704
|
f instanceof Error && console.warn(
|
3703
3705
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3705,23 +3707,23 @@ const K = (e, t) => {
|
|
3705
3707
|
);
|
3706
3708
|
}
|
3707
3709
|
return c;
|
3708
|
-
},
|
3709
|
-
X([w], () => Jn);
|
3710
|
+
}, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = M()) => Nt(e, t), ti = X([w, z], () => Jn);
|
3710
3711
|
X([w], () => qn);
|
3711
3712
|
X([w], () => Yn);
|
3712
|
-
X([w
|
3713
|
-
|
3713
|
+
X([w], () => Kn);
|
3714
|
+
X([w, z], () => ei);
|
3715
|
+
function ri({ withLocale: e, translations: t }) {
|
3714
3716
|
w.subscribe((r) => {
|
3715
3717
|
r == null && (z.set(t), w.set(e));
|
3716
3718
|
});
|
3717
3719
|
}
|
3718
|
-
function
|
3719
|
-
|
3720
|
+
function ot(e, t) {
|
3721
|
+
wt(e, t);
|
3720
3722
|
}
|
3721
|
-
function
|
3723
|
+
function ni(e) {
|
3722
3724
|
w.set(e);
|
3723
3725
|
}
|
3724
|
-
const
|
3726
|
+
const at = {
|
3725
3727
|
en: {
|
3726
3728
|
bets: "bets"
|
3727
3729
|
},
|
@@ -3747,25 +3749,25 @@ const st = {
|
|
3747
3749
|
bets: "bets"
|
3748
3750
|
}
|
3749
3751
|
};
|
3750
|
-
function ni(e) {
|
3751
|
-
zt(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}');
|
3752
|
-
}
|
3753
3752
|
function ii(e) {
|
3753
|
+
Zt(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}');
|
3754
|
+
}
|
3755
|
+
function si(e) {
|
3754
3756
|
let t, r, n, i, s;
|
3755
3757
|
return {
|
3756
3758
|
c() {
|
3757
|
-
t = Q("div"), r = Q("div"), n = Q("span"), i =
|
3759
|
+
t = Q("div"), r = Q("div"), n = Q("span"), i = qt(
|
3758
3760
|
/*progressText*/
|
3759
3761
|
e[3]
|
3760
3762
|
), C(n, "part", "progressText"), C(r, "class", s = "stepBar " + /*curTatus*/
|
3761
3763
|
e[4]), C(r, "part", "stepBar"), C(t, "class", "general-icon-progress-bar"), C(t, "part", "totalBar");
|
3762
3764
|
},
|
3763
3765
|
m(o, a) {
|
3764
|
-
|
3766
|
+
ft(o, t, a), ne(t, r), ne(r, n), ne(n, i), e[13](n), e[14](r), e[15](t);
|
3765
3767
|
},
|
3766
3768
|
p(o, [a]) {
|
3767
3769
|
a & /*progressText*/
|
3768
|
-
8 &&
|
3770
|
+
8 && Kt(
|
3769
3771
|
i,
|
3770
3772
|
/*progressText*/
|
3771
3773
|
o[3]
|
@@ -3780,25 +3782,25 @@ function ii(e) {
|
|
3780
3782
|
}
|
3781
3783
|
};
|
3782
3784
|
}
|
3783
|
-
function
|
3785
|
+
function oi(e, t, r) {
|
3784
3786
|
let n;
|
3785
|
-
|
3787
|
+
Wt(e, ti, (p) => r(20, n = p));
|
3786
3788
|
let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: o } = t, { lang: a = "en" } = t, { status: u } = t, { translationurl: h = "" } = t, { progressfractiondigit: l = 1 } = t, { triggerreset: c } = t, f, x, g, y, H, A, S, v = "0px", N = "active";
|
3787
|
-
|
3789
|
+
ri({ withLocale: "en", translations: {} });
|
3788
3790
|
const O = () => {
|
3789
3791
|
fetch(h).then((L) => L.json()).then((L) => {
|
3790
|
-
Object.keys(L).forEach((
|
3791
|
-
|
3792
|
+
Object.keys(L).forEach((De) => {
|
3793
|
+
ot(De, L[De]);
|
3792
3794
|
});
|
3793
3795
|
}).catch((L) => {
|
3794
3796
|
console.log(L);
|
3795
3797
|
});
|
3796
3798
|
};
|
3797
|
-
Object.keys(
|
3798
|
-
|
3799
|
+
Object.keys(at).forEach((p) => {
|
3800
|
+
ot(p, at[p]);
|
3799
3801
|
});
|
3800
3802
|
const R = () => {
|
3801
|
-
|
3803
|
+
ni(a);
|
3802
3804
|
}, te = () => {
|
3803
3805
|
let p = (i / s * 100).toFixed(l);
|
3804
3806
|
setTimeout(
|
@@ -3807,20 +3809,20 @@ function si(e, t, r) {
|
|
3807
3809
|
},
|
3808
3810
|
y ? 573 : 0
|
3809
3811
|
), p == 0 || p == 100 ? (A = "0px", S = "0px", v = p == 100 ? "3px" : "0px") : (A = `${f.offsetHeight}px`, H = A, S = `${f.offsetHeight / 3}px`, v = "0px"), x.style.setProperty("--parentElementHeight", H), g.style.setProperty("--currentStep", p + "%"), g.style.setProperty("--triangleHeight", A), g.style.setProperty("--halfOfTriangleHeight", S), g.style.setProperty("--stepBarBorderRadius", v);
|
3810
|
-
},
|
3812
|
+
}, $t = () => {
|
3811
3813
|
r(4, N = u == "active" ? "" : "inactive");
|
3812
3814
|
};
|
3813
|
-
function
|
3815
|
+
function Ut(p) {
|
3814
3816
|
q[p ? "unshift" : "push"](() => {
|
3815
3817
|
x = p, r(1, x);
|
3816
3818
|
});
|
3817
3819
|
}
|
3818
|
-
function
|
3820
|
+
function Gt(p) {
|
3819
3821
|
q[p ? "unshift" : "push"](() => {
|
3820
3822
|
g = p, r(2, g);
|
3821
3823
|
});
|
3822
3824
|
}
|
3823
|
-
function
|
3825
|
+
function Dt(p) {
|
3824
3826
|
q[p ? "unshift" : "push"](() => {
|
3825
3827
|
f = p, r(0, f);
|
3826
3828
|
});
|
@@ -3833,7 +3835,7 @@ function si(e, t, r) {
|
|
3833
3835
|
te();
|
3834
3836
|
}), e.$$.dirty & /*lang*/
|
3835
3837
|
256 && a && R(), e.$$.dirty & /*status*/
|
3836
|
-
512 && u &&
|
3838
|
+
512 && u && $t(), e.$$.dirty & /*translationurl*/
|
3837
3839
|
1024 && h && O();
|
3838
3840
|
}, [
|
3839
3841
|
f,
|
@@ -3849,19 +3851,19 @@ function si(e, t, r) {
|
|
3849
3851
|
h,
|
3850
3852
|
l,
|
3851
3853
|
c,
|
3852
|
-
|
3853
|
-
|
3854
|
-
|
3854
|
+
Ut,
|
3855
|
+
Gt,
|
3856
|
+
Dt
|
3855
3857
|
];
|
3856
3858
|
}
|
3857
|
-
class
|
3859
|
+
class ai extends cr {
|
3858
3860
|
constructor(t) {
|
3859
|
-
super(),
|
3861
|
+
super(), lr(
|
3860
3862
|
this,
|
3861
3863
|
t,
|
3864
|
+
oi,
|
3862
3865
|
si,
|
3863
|
-
|
3864
|
-
at,
|
3866
|
+
ut,
|
3865
3867
|
{
|
3866
3868
|
currentstep: 5,
|
3867
3869
|
total: 6,
|
@@ -3872,7 +3874,7 @@ class oi extends lr {
|
|
3872
3874
|
progressfractiondigit: 11,
|
3873
3875
|
triggerreset: 12
|
3874
3876
|
},
|
3875
|
-
|
3877
|
+
ii
|
3876
3878
|
);
|
3877
3879
|
}
|
3878
3880
|
get currentstep() {
|
@@ -3924,7 +3926,7 @@ class oi extends lr {
|
|
3924
3926
|
this.$$set({ triggerreset: t }), P();
|
3925
3927
|
}
|
3926
3928
|
}
|
3927
|
-
|
3929
|
+
fr(ai, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
|
3928
3930
|
export {
|
3929
|
-
|
3931
|
+
ai as default
|
3930
3932
|
};
|