@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.
@@ -2,46 +2,46 @@ var Ft = Object.defineProperty, jt = Object.defineProperties;
2
2
  var Vt = Object.getOwnPropertyDescriptors;
3
3
  var Fe = Object.getOwnPropertySymbols;
4
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) => {
5
+ var de = (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
- kt.call(t, r) && me(e, r, t[r]);
7
+ kt.call(t, r) && de(e, r, t[r]);
8
8
  if (Fe)
9
9
  for (var r of Fe(t))
10
- Xt.call(t, r) && me(e, r, t[r]);
10
+ Xt.call(t, r) && de(e, r, t[r]);
11
11
  return e;
12
12
  }, Ve = (e, t) => jt(e, Vt(t));
13
- var T = (e, t, r) => (me(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var T = (e, t, r) => (de(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var ke = (e, t, r) => new Promise((n, i) => {
15
- var s = (u) => {
15
+ var s = (h) => {
16
16
  try {
17
- a(r.next(u));
18
- } catch (h) {
19
- i(h);
17
+ a(r.next(h));
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
- }, o = (u) => {
21
+ }, o = (h) => {
22
22
  try {
23
- a(r.throw(u));
24
- } catch (h) {
25
- i(h);
23
+ a(r.throw(h));
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
27
+ }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function B() {
31
31
  }
32
- function ht(e) {
32
+ function ut(e) {
33
33
  return e();
34
34
  }
35
35
  function Xe() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ee(e) {
39
- e.forEach(ht);
38
+ function te(e) {
39
+ e.forEach(ut);
40
40
  }
41
- function Le(e) {
41
+ function Me(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ut(e, t) {
44
+ function ht(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  function zt(e) {
@@ -59,13 +59,13 @@ function lt(e, ...t) {
59
59
  function Wt(e, t, r) {
60
60
  e.$$.on_destroy.push(lt(t, r));
61
61
  }
62
- function ne(e, t) {
62
+ function ie(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
65
  function Zt(e, t, r) {
66
66
  const n = Qt(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = Q("style");
68
+ const i = J("style");
69
69
  i.id = t, i.textContent = r, Jt(n, i);
70
70
  }
71
71
  }
@@ -80,7 +80,7 @@ function Qt(e) {
80
80
  ) : e.ownerDocument;
81
81
  }
82
82
  function Jt(e, t) {
83
- return ne(
83
+ return ie(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
@@ -89,16 +89,16 @@ function Jt(e, t) {
89
89
  function ft(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function Ce(e) {
92
+ function $e(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Q(e) {
95
+ function J(e) {
96
96
  return document.createElement(e);
97
97
  }
98
98
  function qt(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
- function C(e, t, r) {
101
+ function M(e, t, r) {
102
102
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
103
103
  }
104
104
  function Yt(e) {
@@ -117,57 +117,57 @@ function er(e) {
117
117
  }
118
118
  ), t;
119
119
  }
120
- let Me;
121
- function J(e) {
122
- Me = e;
120
+ let Re;
121
+ function q(e) {
122
+ Re = e;
123
123
  }
124
- const G = [], q = [];
125
- let D = [];
124
+ const D = [], Y = [];
125
+ let F = [];
126
126
  const ze = [], tr = /* @__PURE__ */ Promise.resolve();
127
- let ve = !1;
127
+ let Te = !1;
128
128
  function rr() {
129
- ve || (ve = !0, tr.then(P));
129
+ Te || (Te = !0, tr.then(P));
130
130
  }
131
- function He(e) {
132
- D.push(e);
131
+ function Be(e) {
132
+ F.push(e);
133
133
  }
134
- const be = /* @__PURE__ */ new Set();
135
- let $ = 0;
134
+ const ge = /* @__PURE__ */ new Set();
135
+ let U = 0;
136
136
  function P() {
137
- if ($ !== 0)
137
+ if (U !== 0)
138
138
  return;
139
- const e = Me;
139
+ const e = Re;
140
140
  do {
141
141
  try {
142
- for (; $ < G.length; ) {
143
- const t = G[$];
144
- $++, J(t), nr(t.$$);
142
+ for (; U < D.length; ) {
143
+ const t = D[U];
144
+ U++, q(t), nr(t.$$);
145
145
  }
146
146
  } catch (t) {
147
- throw G.length = 0, $ = 0, t;
147
+ throw D.length = 0, U = 0, t;
148
148
  }
149
- for (J(null), G.length = 0, $ = 0; q.length; )
150
- q.pop()();
151
- for (let t = 0; t < D.length; t += 1) {
152
- const r = D[t];
153
- be.has(r) || (be.add(r), r());
149
+ for (q(null), D.length = 0, U = 0; Y.length; )
150
+ Y.pop()();
151
+ for (let t = 0; t < F.length; t += 1) {
152
+ const r = F[t];
153
+ ge.has(r) || (ge.add(r), r());
154
154
  }
155
- D.length = 0;
156
- } while (G.length);
155
+ F.length = 0;
156
+ } while (D.length);
157
157
  for (; ze.length; )
158
158
  ze.pop()();
159
- ve = !1, be.clear(), J(e);
159
+ Te = !1, ge.clear(), q(e);
160
160
  }
161
161
  function nr(e) {
162
162
  if (e.fragment !== null) {
163
- e.update(), ee(e.before_update);
163
+ e.update(), te(e.before_update);
164
164
  const t = e.dirty;
165
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
165
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
166
166
  }
167
167
  }
168
168
  function ir(e) {
169
169
  const t = [], r = [];
170
- D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
170
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
171
171
  }
172
172
  const sr = /* @__PURE__ */ new Set();
173
173
  function or(e, t) {
@@ -175,22 +175,22 @@ function or(e, t) {
175
175
  }
176
176
  function ar(e, t, r) {
177
177
  const { fragment: n, after_update: i } = e.$$;
178
- n && n.m(t, r), He(() => {
179
- const s = e.$$.on_mount.map(ht).filter(Le);
180
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
181
- }), i.forEach(He);
178
+ n && n.m(t, r), Be(() => {
179
+ const s = e.$$.on_mount.map(ut).filter(Me);
180
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
181
+ }), i.forEach(Be);
182
182
  }
183
- function hr(e, t) {
183
+ function ur(e, t) {
184
184
  const r = e.$$;
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 = []);
185
+ r.fragment !== null && (ir(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
186
  }
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;
187
+ function hr(e, t) {
188
+ e.$$.dirty[0] === -1 && (D.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
189
  }
190
190
  function lr(e, t, r, n, i, s, o = null, a = [-1]) {
191
- const u = Me;
192
- J(e);
193
- const h = e.$$ = {
191
+ const h = Re;
192
+ q(e);
193
+ const u = e.$$ = {
194
194
  fragment: null,
195
195
  ctx: [],
196
196
  // state
@@ -204,27 +204,27 @@ function lr(e, t, r, n, i, s, o = null, a = [-1]) {
204
204
  on_disconnect: [],
205
205
  before_update: [],
206
206
  after_update: [],
207
- context: new Map(t.context || (u ? u.$$.context : [])),
207
+ context: new Map(t.context || (h ? h.$$.context : [])),
208
208
  // everything else
209
209
  callbacks: Xe(),
210
210
  dirty: a,
211
211
  skip_bound: !1,
212
- root: t.target || u.$$.root
212
+ root: t.target || h.$$.root
213
213
  };
214
- o && o(h.root);
214
+ o && o(u.root);
215
215
  let l = !1;
216
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...x) => {
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 && ur(e, c)), f;
219
- }) : [], h.update(), l = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
216
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
217
+ const d = g.length ? g[0] : f;
218
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && hr(e, c)), f;
219
+ }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
220
220
  if (t.hydrate) {
221
221
  const c = Yt(t.target);
222
- h.fragment && h.fragment.l(c), c.forEach(Ce);
222
+ u.fragment && u.fragment.l(c), c.forEach($e);
223
223
  } else
224
- h.fragment && h.fragment.c();
224
+ u.fragment && u.fragment.c();
225
225
  t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), P();
226
226
  }
227
- J(u);
227
+ q(h);
228
228
  }
229
229
  let ct;
230
230
  typeof HTMLElement == "function" && (ct = class extends HTMLElement {
@@ -271,17 +271,17 @@ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
271
271
  let o;
272
272
  return {
273
273
  c: function() {
274
- o = Q("slot"), s !== "default" && C(o, "name", s);
274
+ o = J("slot"), s !== "default" && M(o, "name", s);
275
275
  },
276
276
  /**
277
277
  * @param {HTMLElement} target
278
278
  * @param {HTMLElement} [anchor]
279
279
  */
280
- m: function(h, l) {
281
- ft(h, o, l);
280
+ m: function(u, l) {
281
+ ft(u, o, l);
282
282
  },
283
- d: function(h) {
284
- h && Ce(o);
283
+ d: function(u) {
284
+ u && $e(o);
285
285
  }
286
286
  };
287
287
  };
@@ -293,7 +293,7 @@ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
293
293
  s in n && (r[s] = [t(s)]);
294
294
  for (const s of this.attributes) {
295
295
  const o = this.$$g_p(s.name);
296
- o in this.$$d || (this.$$d[o] = ie(o, s.value, this.$$p_d, "toProp"));
296
+ o in this.$$d || (this.$$d[o] = se(o, s.value, this.$$p_d, "toProp"));
297
297
  }
298
298
  for (const s in this.$$p_d)
299
299
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
310
310
  this.$$r = !0;
311
311
  for (const s in this.$$p_d)
312
312
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
313
- const o = ie(
313
+ const o = se(
314
314
  s,
315
315
  this.$$d[s],
316
316
  this.$$p_d,
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
334
334
  // and setting attributes through setAttribute etc, this is helpful
335
335
  attributeChangedCallback(t, r, n) {
336
336
  var i;
337
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
337
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
338
338
  }
339
339
  disconnectedCallback() {
340
340
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -347,7 +347,7 @@ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
347
347
  ) || t;
348
348
  }
349
349
  });
350
- function ie(e, t, r, n) {
350
+ function se(e, t, r, n) {
351
351
  var s;
352
352
  const i = (s = r[e]) == null ? void 0 : s.type;
353
353
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -393,16 +393,16 @@ function fr(e, t, r, n, i, s) {
393
393
  get() {
394
394
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
395
395
  },
396
- set(u) {
397
- var h;
398
- u = ie(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
396
+ set(h) {
397
+ var u;
398
+ h = se(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
399
399
  }
400
400
  });
401
401
  }), n.forEach((a) => {
402
402
  Object.defineProperty(o.prototype, a, {
403
403
  get() {
404
- var u;
405
- return (u = this.$$c) == null ? void 0 : u[a];
404
+ var h;
405
+ return (h = this.$$c) == null ? void 0 : h[a];
406
406
  }
407
407
  });
408
408
  }), e.element = /** @type {any} */
@@ -429,7 +429,7 @@ class cr {
429
429
  }
430
430
  /** @returns {void} */
431
431
  $destroy() {
432
- hr(this, 1), this.$destroy = B;
432
+ ur(this, 1), this.$destroy = B;
433
433
  }
434
434
  /**
435
435
  * @template {Extract<keyof Events, string>} K
@@ -438,7 +438,7 @@ class cr {
438
438
  * @returns {() => void}
439
439
  */
440
440
  $on(t, r) {
441
- if (!Le(r))
441
+ if (!Me(r))
442
442
  return B;
443
443
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
444
444
  return n.push(r), () => {
@@ -456,66 +456,66 @@ class cr {
456
456
  }
457
457
  const pr = "4";
458
458
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
459
- const U = [];
459
+ const G = [];
460
460
  function mr(e, t) {
461
461
  return {
462
- subscribe: ue(e, t).subscribe
462
+ subscribe: fe(e, t).subscribe
463
463
  };
464
464
  }
465
- function ue(e, t = B) {
465
+ function fe(e, t = B) {
466
466
  let r;
467
467
  const n = /* @__PURE__ */ new Set();
468
468
  function i(a) {
469
- if (ut(e, a) && (e = a, r)) {
470
- const u = !U.length;
471
- for (const h of n)
472
- h[1](), U.push(h, e);
473
- if (u) {
474
- for (let h = 0; h < U.length; h += 2)
475
- U[h][0](U[h + 1]);
476
- U.length = 0;
469
+ if (ht(e, a) && (e = a, r)) {
470
+ const h = !G.length;
471
+ for (const u of n)
472
+ u[1](), G.push(u, e);
473
+ if (h) {
474
+ for (let u = 0; u < G.length; u += 2)
475
+ G[u][0](G[u + 1]);
476
+ G.length = 0;
477
477
  }
478
478
  }
479
479
  }
480
480
  function s(a) {
481
481
  i(a(e));
482
482
  }
483
- function o(a, u = B) {
484
- const h = [a, u];
485
- return n.add(h), n.size === 1 && (r = t(i, s) || B), a(e), () => {
486
- n.delete(h), n.size === 0 && r && (r(), r = null);
483
+ function o(a, h = B) {
484
+ const u = [a, h];
485
+ return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
486
+ n.delete(u), n.size === 0 && r && (r(), r = null);
487
487
  };
488
488
  }
489
489
  return { set: i, update: s, subscribe: o };
490
490
  }
491
- function X(e, t, r) {
491
+ function z(e, t, r) {
492
492
  const n = !Array.isArray(e), i = n ? [e] : e;
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
496
  return mr(r, (o, a) => {
497
- let u = !1;
498
- const h = [];
497
+ let h = !1;
498
+ const u = [];
499
499
  let l = 0, c = B;
500
500
  const f = () => {
501
501
  if (l)
502
502
  return;
503
503
  c();
504
- const g = t(n ? h[0] : h, o, a);
505
- s ? o(g) : c = Le(g) ? g : B;
506
- }, x = i.map(
507
- (g, y) => lt(
508
- g,
504
+ const d = t(n ? u[0] : u, o, a);
505
+ s ? o(d) : c = Me(d) ? d : B;
506
+ }, g = i.map(
507
+ (d, y) => lt(
508
+ d,
509
509
  (H) => {
510
- h[y] = H, l &= ~(1 << y), u && f();
510
+ u[y] = H, l &= ~(1 << y), h && f();
511
511
  },
512
512
  () => {
513
513
  l |= 1 << y;
514
514
  }
515
515
  )
516
516
  );
517
- return u = !0, f(), function() {
518
- ee(x), c(), u = !1;
517
+ return h = !0, f(), function() {
518
+ te(g), c(), h = !1;
519
519
  };
520
520
  });
521
521
  }
@@ -539,19 +539,19 @@ function _r(e) {
539
539
  function vr(e) {
540
540
  return Array.isArray(e) ? [] : {};
541
541
  }
542
- function Y(e, t) {
543
- return t.clone !== !1 && t.isMergeableObject(e) ? F(vr(e), e, t) : e;
542
+ function K(e, t) {
543
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(vr(e), e, t) : e;
544
544
  }
545
545
  function Hr(e, t, r) {
546
546
  return e.concat(t).map(function(n) {
547
- return Y(n, r);
547
+ return K(n, r);
548
548
  });
549
549
  }
550
550
  function Tr(e, t) {
551
551
  if (!t.customMerge)
552
- return F;
552
+ return j;
553
553
  var r = t.customMerge(e);
554
- return typeof r == "function" ? r : F;
554
+ return typeof r == "function" ? r : j;
555
555
  }
556
556
  function Br(e) {
557
557
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -568,73 +568,59 @@ function pt(e, t) {
568
568
  return !1;
569
569
  }
570
570
  }
571
- function Ar(e, t) {
571
+ function Sr(e, t) {
572
572
  return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
573
573
  }
574
- function Sr(e, t, r) {
574
+ function Ar(e, t, r) {
575
575
  var n = {};
576
576
  return r.isMergeableObject(e) && We(e).forEach(function(i) {
577
- n[i] = Y(e[i], r);
577
+ n[i] = K(e[i], r);
578
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));
579
+ Sr(e, i) || (pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
580
580
  }), n;
581
581
  }
582
- function F(e, t, r) {
583
- r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = Y;
582
+ function j(e, t, r) {
583
+ r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = K;
584
584
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
585
- return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : Y(t, r);
585
+ return s ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : K(t, r);
586
586
  }
587
- F.all = function(t, r) {
587
+ j.all = function(t, r) {
588
588
  if (!Array.isArray(t))
589
589
  throw new Error("first argument should be an array");
590
590
  return t.reduce(function(n, i) {
591
- return F(n, i, r);
591
+ return j(n, i, r);
592
592
  }, {});
593
593
  };
594
- var Pr = F, Or = Pr;
594
+ var Pr = j, Or = Pr;
595
595
  const Nr = /* @__PURE__ */ br(Or);
596
- /*! *****************************************************************************
597
- Copyright (c) Microsoft Corporation.
598
-
599
- Permission to use, copy, modify, and/or distribute this software for any
600
- purpose with or without fee is hereby granted.
601
-
602
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
603
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
604
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
605
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
606
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
607
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
608
- PERFORMANCE OF THIS SOFTWARE.
609
- ***************************************************************************** */
610
- var Te = function(e, t) {
611
- return Te = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
596
+ var Se = function(e, t) {
597
+ return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
612
598
  r.__proto__ = n;
613
599
  } || function(r, n) {
614
600
  for (var i in n)
615
601
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
616
- }, Te(e, t);
602
+ }, Se(e, t);
617
603
  };
618
- function le(e, t) {
604
+ function ce(e, t) {
619
605
  if (typeof t != "function" && t !== null)
620
606
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
621
- Te(e, t);
607
+ Se(e, t);
622
608
  function r() {
623
609
  this.constructor = e;
624
610
  }
625
611
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
626
612
  }
627
- var d = function() {
628
- return d = Object.assign || function(t) {
613
+ var O = function() {
614
+ return O = Object.assign || function(t) {
629
615
  for (var r, n = 1, i = arguments.length; n < i; n++) {
630
616
  r = arguments[n];
631
617
  for (var s in r)
632
618
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
633
619
  }
634
620
  return t;
635
- }, d.apply(this, arguments);
621
+ }, O.apply(this, arguments);
636
622
  };
637
- function Ir(e, t) {
623
+ function wr(e, t) {
638
624
  var r = {};
639
625
  for (var n in e)
640
626
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -643,111 +629,119 @@ function Ir(e, t) {
643
629
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
644
630
  return r;
645
631
  }
646
- function de(e, t, r) {
647
- if (arguments.length === 2)
632
+ function xe(e, t, r) {
633
+ if (r || arguments.length === 2)
648
634
  for (var n = 0, i = t.length, s; n < i; n++)
649
635
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
650
- return e.concat(s || t);
636
+ return e.concat(s || Array.prototype.slice.call(t));
651
637
  }
652
- function ge(e, t) {
653
- var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Lr;
638
+ function Ee(e, t) {
639
+ var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Cr;
654
640
  return i(e, {
655
641
  cache: r,
656
642
  serializer: n
657
643
  });
658
644
  }
659
- function wr(e) {
645
+ function Ir(e) {
660
646
  return e == null || typeof e == "number" || typeof e == "boolean";
661
647
  }
662
- function mt(e, t, r, n) {
663
- var i = wr(n) ? n : r(n), s = t.get(i);
648
+ function Lr(e, t, r, n) {
649
+ var i = Ir(n) ? n : r(n), s = t.get(i);
664
650
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
665
651
  }
666
- function bt(e, t, r) {
652
+ function mt(e, t, r) {
667
653
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
668
654
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
669
655
  }
670
- function Re(e, t, r, n, i) {
656
+ function bt(e, t, r, n, i) {
671
657
  return r.bind(t, e, n, i);
672
658
  }
673
- function Lr(e, t) {
674
- var r = e.length === 1 ? mt : bt;
675
- return Re(e, this, r, t.cache.create(), t.serializer);
676
- }
677
659
  function Cr(e, t) {
678
- return Re(e, this, bt, t.cache.create(), t.serializer);
660
+ var r = e.length === 1 ? Lr : mt;
661
+ return bt(e, this, r, t.cache.create(), t.serializer);
679
662
  }
680
663
  function Mr(e, t) {
681
- return Re(e, this, mt, t.cache.create(), t.serializer);
664
+ return bt(e, this, mt, t.cache.create(), t.serializer);
682
665
  }
683
- var Rr = function() {
666
+ var $r = function() {
684
667
  return JSON.stringify(arguments);
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 = {
668
+ }, Rr = (
669
+ /** @class */
670
+ function() {
671
+ function e() {
672
+ this.cache = /* @__PURE__ */ Object.create(null);
673
+ }
674
+ return e.prototype.get = function(t) {
675
+ return this.cache[t];
676
+ }, e.prototype.set = function(t, r) {
677
+ this.cache[t] = r;
678
+ }, e;
679
+ }()
680
+ ), Ur = {
696
681
  create: function() {
697
- return new $e();
682
+ return new Rr();
698
683
  }
699
- }, xe = {
700
- variadic: Cr,
701
- monadic: Mr
702
- }, m;
684
+ }, ye = {
685
+ variadic: Mr
686
+ }, ue = function() {
687
+ return ue = Object.assign || function(t) {
688
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
689
+ r = arguments[n];
690
+ for (var s in r)
691
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
692
+ }
693
+ return t;
694
+ }, ue.apply(this, arguments);
695
+ };
696
+ var m;
703
697
  (function(e) {
704
698
  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";
705
699
  })(m || (m = {}));
706
- var E;
700
+ var x;
707
701
  (function(e) {
708
702
  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";
709
- })(E || (E = {}));
710
- var j;
703
+ })(x || (x = {}));
704
+ var V;
711
705
  (function(e) {
712
706
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
713
- })(j || (j = {}));
707
+ })(V || (V = {}));
714
708
  function Ze(e) {
715
- return e.type === E.literal;
709
+ return e.type === x.literal;
716
710
  }
717
- function Ur(e) {
718
- return e.type === E.argument;
711
+ function Gr(e) {
712
+ return e.type === x.argument;
719
713
  }
720
714
  function dt(e) {
721
- return e.type === E.number;
715
+ return e.type === x.number;
722
716
  }
723
717
  function gt(e) {
724
- return e.type === E.date;
718
+ return e.type === x.date;
725
719
  }
726
720
  function xt(e) {
727
- return e.type === E.time;
721
+ return e.type === x.time;
728
722
  }
729
723
  function Et(e) {
730
- return e.type === E.select;
724
+ return e.type === x.select;
731
725
  }
732
726
  function yt(e) {
733
- return e.type === E.plural;
727
+ return e.type === x.plural;
734
728
  }
735
- function Gr(e) {
736
- return e.type === E.pound;
729
+ function Dr(e) {
730
+ return e.type === x.pound;
737
731
  }
738
732
  function _t(e) {
739
- return e.type === E.tag;
733
+ return e.type === x.tag;
740
734
  }
741
735
  function vt(e) {
742
- return !!(e && typeof e == "object" && e.type === j.number);
736
+ return !!(e && typeof e == "object" && e.type === V.number);
743
737
  }
744
- function Be(e) {
745
- return !!(e && typeof e == "object" && e.type === j.dateTime);
738
+ function Ae(e) {
739
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
746
740
  }
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) {
741
+ var Ht = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[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;
742
+ function jr(e) {
749
743
  var t = {};
750
- return e.replace(Dr, function(r) {
744
+ return e.replace(Fr, function(r) {
751
745
  var n = r.length;
752
746
  switch (r[0]) {
753
747
  case "G":
@@ -836,36 +830,46 @@ function Fr(e) {
836
830
  return "";
837
831
  }), t;
838
832
  }
839
- var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
840
- function Vr(e) {
833
+ var E = function() {
834
+ return E = Object.assign || function(t) {
835
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
836
+ r = arguments[n];
837
+ for (var s in r)
838
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
839
+ }
840
+ return t;
841
+ }, E.apply(this, arguments);
842
+ };
843
+ var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
844
+ function kr(e) {
841
845
  if (e.length === 0)
842
846
  throw new Error("Number skeleton cannot be empty");
843
- for (var t = e.split(jr).filter(function(f) {
847
+ for (var t = e.split(Vr).filter(function(f) {
844
848
  return f.length > 0;
845
849
  }), r = [], n = 0, i = t; n < i.length; n++) {
846
850
  var s = i[n], o = s.split("/");
847
851
  if (o.length === 0)
848
852
  throw new Error("Invalid number skeleton");
849
- for (var a = o[0], u = o.slice(1), h = 0, l = u; h < l.length; h++) {
850
- var c = l[h];
853
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
854
+ var c = l[u];
851
855
  if (c.length === 0)
852
856
  throw new Error("Invalid number skeleton");
853
857
  }
854
- r.push({ stem: a, options: u });
858
+ r.push({ stem: a, options: h });
855
859
  }
856
860
  return r;
857
861
  }
858
- function kr(e) {
862
+ function Xr(e) {
859
863
  return e.replace(/^(.*?)-/, "");
860
864
  }
861
- var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
865
+ var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
862
866
  function Je(e) {
863
867
  var t = {};
864
868
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
865
869
  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)), "";
866
870
  }), t;
867
871
  }
868
- function At(e) {
872
+ function St(e) {
869
873
  switch (e) {
870
874
  case "sign-auto":
871
875
  return {
@@ -905,7 +909,7 @@ function At(e) {
905
909
  };
906
910
  }
907
911
  }
908
- function zr(e) {
912
+ function Wr(e) {
909
913
  var t;
910
914
  if (e[0] === "E" && e[1] === "E" ? (t = {
911
915
  notation: "engineering"
@@ -920,10 +924,10 @@ function zr(e) {
920
924
  return t;
921
925
  }
922
926
  function qe(e) {
923
- var t = {}, r = At(e);
927
+ var t = {}, r = St(e);
924
928
  return r || t;
925
929
  }
926
- function Wr(e) {
930
+ function Zr(e) {
927
931
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
928
932
  var i = n[r];
929
933
  switch (i.stem) {
@@ -947,7 +951,7 @@ function Wr(e) {
947
951
  continue;
948
952
  case "measure-unit":
949
953
  case "unit":
950
- t.style = "unit", t.unit = kr(i.options[0]);
954
+ t.style = "unit", t.unit = Xr(i.options[0]);
951
955
  continue;
952
956
  case "compact-short":
953
957
  case "K":
@@ -958,13 +962,13 @@ function Wr(e) {
958
962
  t.notation = "compact", t.compactDisplay = "long";
959
963
  continue;
960
964
  case "scientific":
961
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
962
- return d(d({}, u), qe(h));
965
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
966
+ return E(E({}, h), qe(u));
963
967
  }, {}));
964
968
  continue;
965
969
  case "engineering":
966
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
967
- return d(d({}, u), qe(h));
970
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
971
+ return E(E({}, h), qe(u));
968
972
  }, {}));
969
973
  continue;
970
974
  case "notation-simple":
@@ -1009,13 +1013,13 @@ function Wr(e) {
1009
1013
  case "integer-width":
1010
1014
  if (i.options.length > 1)
1011
1015
  throw new RangeError("integer-width stems only accept a single optional option");
1012
- i.options[0].replace(Xr, function(u, h, l, c, f, x) {
1013
- if (h)
1016
+ i.options[0].replace(zr, function(h, u, l, c, f, g) {
1017
+ if (u)
1014
1018
  t.minimumIntegerDigits = l.length;
1015
1019
  else {
1016
1020
  if (c && f)
1017
1021
  throw new Error("We currently do not support maximum integer digits");
1018
- if (x)
1022
+ if (g)
1019
1023
  throw new Error("We currently do not support exact integer digits");
1020
1024
  }
1021
1025
  return "";
@@ -1029,25 +1033,25 @@ function Wr(e) {
1029
1033
  if (Qe.test(i.stem)) {
1030
1034
  if (i.options.length > 1)
1031
1035
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1032
- i.stem.replace(Qe, function(u, h, l, c, f, x) {
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), "";
1036
+ i.stem.replace(Qe, function(h, u, l, c, f, g) {
1037
+ return l === "*" ? 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), "";
1034
1038
  });
1035
1039
  var s = i.options[0];
1036
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Je(s)));
1040
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Je(s)));
1037
1041
  continue;
1038
1042
  }
1039
1043
  if (Tt.test(i.stem)) {
1040
- t = d(d({}, t), Je(i.stem));
1044
+ t = E(E({}, t), Je(i.stem));
1041
1045
  continue;
1042
1046
  }
1043
- var o = At(i.stem);
1044
- o && (t = d(d({}, t), o));
1045
- var a = zr(i.stem);
1046
- a && (t = d(d({}, t), a));
1047
+ var o = St(i.stem);
1048
+ o && (t = E(E({}, t), o));
1049
+ var a = Wr(i.stem);
1050
+ a && (t = E(E({}, t), a));
1047
1051
  }
1048
1052
  return t;
1049
1053
  }
1050
- var re = {
1054
+ var ne = {
1051
1055
  "001": [
1052
1056
  "H",
1053
1057
  "h"
@@ -2462,23 +2466,23 @@ var re = {
2462
2466
  "h"
2463
2467
  ]
2464
2468
  };
2465
- function Zr(e, t) {
2469
+ function Qr(e, t) {
2466
2470
  for (var r = "", n = 0; n < e.length; n++) {
2467
2471
  var i = e.charAt(n);
2468
2472
  if (i === "j") {
2469
2473
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2470
2474
  s++, n++;
2471
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = Qr(t);
2472
- for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2473
- r += u;
2475
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Jr(t);
2476
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2477
+ r += h;
2474
2478
  for (; o-- > 0; )
2475
- r = h + r;
2479
+ r = u + r;
2476
2480
  } else
2477
2481
  i === "J" ? r += "H" : r += i;
2478
2482
  }
2479
2483
  return r;
2480
2484
  }
2481
- function Qr(e) {
2485
+ function Jr(e) {
2482
2486
  var t = e.hourCycle;
2483
2487
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2484
2488
  e.hourCycles && // @ts-ignore
@@ -2497,23 +2501,23 @@ function Qr(e) {
2497
2501
  }
2498
2502
  var r = e.language, n;
2499
2503
  r !== "root" && (n = e.maximize().region);
2500
- var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2504
+ var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
2501
2505
  return i[0];
2502
2506
  }
2503
- var Ee, Jr = new RegExp("^".concat(Ht.source, "*")), qr = new RegExp("".concat(Ht.source, "*$"));
2507
+ var _e, qr = new RegExp("^".concat(Ht.source, "*")), Yr = new RegExp("".concat(Ht.source, "*$"));
2504
2508
  function b(e, t) {
2505
2509
  return { start: e, end: t };
2506
2510
  }
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) {
2511
+ var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, sn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, an = on ? Number.isSafeInteger : function(e) {
2508
2512
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2509
- }, Ae = !0;
2513
+ }, Pe = !0;
2510
2514
  try {
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";
2515
+ var un = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2516
+ Pe = ((_e = un.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
2513
2517
  } catch (e) {
2514
- Ae = !1;
2518
+ Pe = !1;
2515
2519
  }
2516
- var Ye = Yr ? (
2520
+ var Ye = Kr ? (
2517
2521
  // Native
2518
2522
  function(t, r, n) {
2519
2523
  return t.startsWith(r, n);
@@ -2523,7 +2527,7 @@ var Ye = Yr ? (
2523
2527
  function(t, r, n) {
2524
2528
  return t.slice(n, n + r.length) === r;
2525
2529
  }
2526
- ), Se = Kr ? String.fromCodePoint : (
2530
+ ), Oe = en ? String.fromCodePoint : (
2527
2531
  // IE11
2528
2532
  function() {
2529
2533
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2537,7 +2541,7 @@ var Ye = Yr ? (
2537
2541
  }
2538
2542
  ), Ke = (
2539
2543
  // native
2540
- en ? Object.fromEntries : (
2544
+ tn ? Object.fromEntries : (
2541
2545
  // Ponyfill
2542
2546
  function(t) {
2543
2547
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2547,7 +2551,7 @@ var Ye = Yr ? (
2547
2551
  return r;
2548
2552
  }
2549
2553
  )
2550
- ), St = tn ? (
2554
+ ), At = rn ? (
2551
2555
  // Native
2552
2556
  function(t, r) {
2553
2557
  return t.codePointAt(r);
@@ -2561,7 +2565,7 @@ var Ye = Yr ? (
2561
2565
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2562
2566
  }
2563
2567
  }
2564
- ), hn = rn ? (
2568
+ ), hn = nn ? (
2565
2569
  // Native
2566
2570
  function(t) {
2567
2571
  return t.trimStart();
@@ -2569,9 +2573,9 @@ var Ye = Yr ? (
2569
2573
  ) : (
2570
2574
  // Ponyfill
2571
2575
  function(t) {
2572
- return t.replace(Jr, "");
2576
+ return t.replace(qr, "");
2573
2577
  }
2574
- ), un = nn ? (
2578
+ ), ln = sn ? (
2575
2579
  // Native
2576
2580
  function(t) {
2577
2581
  return t.trimEnd();
@@ -2579,32 +2583,32 @@ var Ye = Yr ? (
2579
2583
  ) : (
2580
2584
  // Ponyfill
2581
2585
  function(t) {
2582
- return t.replace(qr, "");
2586
+ return t.replace(Yr, "");
2583
2587
  }
2584
2588
  );
2585
2589
  function Pt(e, t) {
2586
2590
  return new RegExp(e, t);
2587
2591
  }
2588
- var Pe;
2589
- if (Ae) {
2592
+ var Ne;
2593
+ if (Pe) {
2590
2594
  var et = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
- Pe = function(t, r) {
2595
+ Ne = function(t, r) {
2592
2596
  var n;
2593
2597
  et.lastIndex = r;
2594
2598
  var i = et.exec(t);
2595
2599
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2596
2600
  };
2597
2601
  } else
2598
- Pe = function(t, r) {
2602
+ Ne = function(t, r) {
2599
2603
  for (var n = []; ; ) {
2600
- var i = St(t, r);
2601
- if (i === void 0 || Ot(i) || pn(i))
2604
+ var i = At(t, r);
2605
+ if (i === void 0 || Ot(i) || mn(i))
2602
2606
  break;
2603
2607
  n.push(i), r += i >= 65536 ? 2 : 1;
2604
2608
  }
2605
- return Se.apply(void 0, n);
2609
+ return Oe.apply(void 0, n);
2606
2610
  };
2607
- var ln = (
2611
+ var fn = (
2608
2612
  /** @class */
2609
2613
  function() {
2610
2614
  function e(t, r) {
@@ -2628,14 +2632,14 @@ var ln = (
2628
2632
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2629
2633
  var a = this.clonePosition();
2630
2634
  this.bump(), i.push({
2631
- type: E.pound,
2635
+ type: x.pound,
2632
2636
  location: b(a, this.clonePosition())
2633
2637
  });
2634
2638
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2635
2639
  if (n)
2636
2640
  break;
2637
2641
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2638
- } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2642
+ } else if (s === 60 && !this.ignoreTag && we(this.peek() || 0)) {
2639
2643
  var o = this.parseTag(t, r);
2640
2644
  if (o.err)
2641
2645
  return o;
@@ -2656,7 +2660,7 @@ var ln = (
2656
2660
  if (this.bumpSpace(), this.bumpIf("/>"))
2657
2661
  return {
2658
2662
  val: {
2659
- type: E.literal,
2663
+ type: x.literal,
2660
2664
  value: "<".concat(i, "/>"),
2661
2665
  location: b(n, this.clonePosition())
2662
2666
  },
@@ -2668,12 +2672,12 @@ var ln = (
2668
2672
  return s;
2669
2673
  var o = s.val, a = this.clonePosition();
2670
2674
  if (this.bumpIf("</")) {
2671
- if (this.isEOF() || !Oe(this.char()))
2675
+ if (this.isEOF() || !we(this.char()))
2672
2676
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
2673
- var u = this.clonePosition(), h = this.parseTagName();
2674
- return i !== h ? this.error(m.UNMATCHED_CLOSING_TAG, b(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2677
+ var h = this.clonePosition(), u = this.parseTagName();
2678
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2675
2679
  val: {
2676
- type: E.tag,
2680
+ type: x.tag,
2677
2681
  value: i,
2678
2682
  children: o,
2679
2683
  location: b(n, this.clonePosition())
@@ -2686,7 +2690,7 @@ var ln = (
2686
2690
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2687
2691
  }, e.prototype.parseTagName = function() {
2688
2692
  var t = this.offset();
2689
- for (this.bump(); !this.isEOF() && cn(this.char()); )
2693
+ for (this.bump(); !this.isEOF() && pn(this.char()); )
2690
2694
  this.bump();
2691
2695
  return this.message.slice(t, this.offset());
2692
2696
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2708,14 +2712,14 @@ var ln = (
2708
2712
  }
2709
2713
  break;
2710
2714
  }
2711
- var u = b(n, this.clonePosition());
2715
+ var h = b(n, this.clonePosition());
2712
2716
  return {
2713
- val: { type: E.literal, value: i, location: u },
2717
+ val: { type: x.literal, value: i, location: h },
2714
2718
  err: null
2715
2719
  };
2716
2720
  }, e.prototype.tryParseLeftAngleBracket = function() {
2717
2721
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2718
- !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2722
+ !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2719
2723
  }, e.prototype.tryParseQuote = function(t) {
2720
2724
  if (this.isEOF() || this.char() !== 39)
2721
2725
  return null;
@@ -2749,12 +2753,12 @@ var ln = (
2749
2753
  r.push(n);
2750
2754
  this.bump();
2751
2755
  }
2752
- return Se.apply(void 0, r);
2756
+ return Oe.apply(void 0, r);
2753
2757
  }, e.prototype.tryParseUnquoted = function(t, r) {
2754
2758
  if (this.isEOF())
2755
2759
  return null;
2756
2760
  var n = this.char();
2757
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Se(n));
2761
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
2758
2762
  }, e.prototype.parseArgument = function(t, r) {
2759
2763
  var n = this.clonePosition();
2760
2764
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2770,7 +2774,7 @@ var ln = (
2770
2774
  case 125:
2771
2775
  return this.bump(), {
2772
2776
  val: {
2773
- type: E.argument,
2777
+ type: x.argument,
2774
2778
  // value does not include the opening and closing braces.
2775
2779
  value: i,
2776
2780
  location: b(n, this.clonePosition())
@@ -2783,66 +2787,66 @@ var ln = (
2783
2787
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2784
2788
  }
2785
2789
  }, e.prototype.parseIdentifierIfPossible = function() {
2786
- var t = this.clonePosition(), r = this.offset(), n = Pe(this.message, r), i = r + n.length;
2790
+ var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
2787
2791
  this.bumpTo(i);
2788
2792
  var s = this.clonePosition(), o = b(t, s);
2789
2793
  return { value: n, location: o };
2790
2794
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2791
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2795
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2792
2796
  switch (a) {
2793
2797
  case "":
2794
- return this.error(m.EXPECT_ARGUMENT_TYPE, b(o, u));
2798
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(o, h));
2795
2799
  case "number":
2796
2800
  case "date":
2797
2801
  case "time": {
2798
2802
  this.bumpSpace();
2799
- var h = null;
2803
+ var u = null;
2800
2804
  if (this.bumpIf(",")) {
2801
2805
  this.bumpSpace();
2802
2806
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2803
2807
  if (c.err)
2804
2808
  return c;
2805
- var f = un(c.val);
2809
+ var f = ln(c.val);
2806
2810
  if (f.length === 0)
2807
2811
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2808
- var x = b(l, this.clonePosition());
2809
- h = { style: f, styleLocation: x };
2812
+ var g = b(l, this.clonePosition());
2813
+ u = { style: f, styleLocation: g };
2810
2814
  }
2811
- var g = this.tryParseArgumentClose(i);
2812
- if (g.err)
2813
- return g;
2815
+ var d = this.tryParseArgumentClose(i);
2816
+ if (d.err)
2817
+ return d;
2814
2818
  var y = b(i, this.clonePosition());
2815
- if (h && Ye(h == null ? void 0 : h.style, "::", 0)) {
2816
- var H = hn(h.style.slice(2));
2819
+ if (u && Ye(u == null ? void 0 : u.style, "::", 0)) {
2820
+ var H = hn(u.style.slice(2));
2817
2821
  if (a === "number") {
2818
- var c = this.parseNumberSkeletonFromString(H, h.styleLocation);
2822
+ var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2819
2823
  return c.err ? c : {
2820
- val: { type: E.number, value: n, location: y, style: c.val },
2824
+ val: { type: x.number, value: n, location: y, style: c.val },
2821
2825
  err: null
2822
2826
  };
2823
2827
  } else {
2824
2828
  if (H.length === 0)
2825
2829
  return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
2826
- var A = H;
2827
- this.locale && (A = Zr(H, this.locale));
2830
+ var S = H;
2831
+ this.locale && (S = Qr(H, this.locale));
2828
2832
  var f = {
2829
- type: j.dateTime,
2830
- pattern: A,
2831
- location: h.styleLocation,
2832
- parsedOptions: this.shouldParseSkeletons ? Fr(A) : {}
2833
- }, S = a === "date" ? E.date : E.time;
2833
+ type: V.dateTime,
2834
+ pattern: S,
2835
+ location: u.styleLocation,
2836
+ parsedOptions: this.shouldParseSkeletons ? jr(S) : {}
2837
+ }, A = a === "date" ? x.date : x.time;
2834
2838
  return {
2835
- val: { type: S, value: n, location: y, style: f },
2839
+ val: { type: A, value: n, location: y, style: f },
2836
2840
  err: null
2837
2841
  };
2838
2842
  }
2839
2843
  }
2840
2844
  return {
2841
2845
  val: {
2842
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
2846
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2843
2847
  value: n,
2844
2848
  location: y,
2845
- style: (s = h == null ? void 0 : h.style) !== null && s !== void 0 ? s : null
2849
+ style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2846
2850
  },
2847
2851
  err: null
2848
2852
  };
@@ -2852,47 +2856,47 @@ var ln = (
2852
2856
  case "select": {
2853
2857
  var v = this.clonePosition();
2854
2858
  if (this.bumpSpace(), !this.bumpIf(","))
2855
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, d({}, v)));
2859
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, ue({}, v)));
2856
2860
  this.bumpSpace();
2857
- var N = this.parseIdentifierIfPossible(), O = 0;
2858
- if (a !== "select" && N.value === "offset") {
2861
+ var w = this.parseIdentifierIfPossible(), N = 0;
2862
+ if (a !== "select" && w.value === "offset") {
2859
2863
  if (!this.bumpIf(":"))
2860
2864
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2861
2865
  this.bumpSpace();
2862
2866
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2863
2867
  if (c.err)
2864
2868
  return c;
2865
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = c.val;
2869
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), N = c.val;
2866
2870
  }
2867
- var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
2871
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, w);
2868
2872
  if (R.err)
2869
2873
  return R;
2870
- var g = this.tryParseArgumentClose(i);
2871
- if (g.err)
2872
- return g;
2873
- var te = b(i, this.clonePosition());
2874
+ var d = this.tryParseArgumentClose(i);
2875
+ if (d.err)
2876
+ return d;
2877
+ var re = b(i, this.clonePosition());
2874
2878
  return a === "select" ? {
2875
2879
  val: {
2876
- type: E.select,
2880
+ type: x.select,
2877
2881
  value: n,
2878
2882
  options: Ke(R.val),
2879
- location: te
2883
+ location: re
2880
2884
  },
2881
2885
  err: null
2882
2886
  } : {
2883
2887
  val: {
2884
- type: E.plural,
2888
+ type: x.plural,
2885
2889
  value: n,
2886
2890
  options: Ke(R.val),
2887
- offset: O,
2891
+ offset: N,
2888
2892
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2889
- location: te
2893
+ location: re
2890
2894
  },
2891
2895
  err: null
2892
2896
  };
2893
2897
  }
2894
2898
  default:
2895
- return this.error(m.INVALID_ARGUMENT_TYPE, b(o, u));
2899
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(o, h));
2896
2900
  }
2897
2901
  }, e.prototype.tryParseArgumentClose = function(t) {
2898
2902
  return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2934,50 +2938,50 @@ var ln = (
2934
2938
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2935
2939
  var n = [];
2936
2940
  try {
2937
- n = Vr(t);
2941
+ n = kr(t);
2938
2942
  } catch (i) {
2939
2943
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2940
2944
  }
2941
2945
  return {
2942
2946
  val: {
2943
- type: j.number,
2947
+ type: V.number,
2944
2948
  tokens: n,
2945
2949
  location: r,
2946
- parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2950
+ parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2947
2951
  },
2948
2952
  err: null
2949
2953
  };
2950
2954
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2951
- for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
2952
- if (h.length === 0) {
2955
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2956
+ if (u.length === 0) {
2953
2957
  var c = this.clonePosition();
2954
2958
  if (r !== "select" && this.bumpIf("=")) {
2955
2959
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
2956
2960
  if (f.err)
2957
2961
  return f;
2958
- l = b(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
2962
+ l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2959
2963
  } else
2960
2964
  break;
2961
2965
  }
2962
- if (u.has(h))
2966
+ if (h.has(u))
2963
2967
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2964
- h === "other" && (o = !0), this.bumpSpace();
2965
- var x = this.clonePosition();
2968
+ u === "other" && (o = !0), this.bumpSpace();
2969
+ var g = this.clonePosition();
2966
2970
  if (!this.bumpIf("{"))
2967
2971
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2968
- var g = this.parseMessage(t + 1, r, n);
2969
- if (g.err)
2970
- return g;
2971
- var y = this.tryParseArgumentClose(x);
2972
+ var d = this.parseMessage(t + 1, r, n);
2973
+ if (d.err)
2974
+ return d;
2975
+ var y = this.tryParseArgumentClose(g);
2972
2976
  if (y.err)
2973
2977
  return y;
2974
2978
  a.push([
2975
- h,
2979
+ u,
2976
2980
  {
2977
- value: g.val,
2978
- location: b(x, this.clonePosition())
2981
+ value: d.val,
2982
+ location: b(g, this.clonePosition())
2979
2983
  }
2980
- ]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, l = s.location;
2984
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
2981
2985
  }
2982
2986
  return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2983
2987
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -2990,8 +2994,8 @@ var ln = (
2990
2994
  else
2991
2995
  break;
2992
2996
  }
2993
- var u = b(i, this.clonePosition());
2994
- return s ? (o *= n, on(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
2997
+ var h = b(i, this.clonePosition());
2998
+ return s ? (o *= n, an(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
2995
2999
  }, e.prototype.offset = function() {
2996
3000
  return this.position.offset;
2997
3001
  }, e.prototype.isEOF = function() {
@@ -3006,7 +3010,7 @@ var ln = (
3006
3010
  var t = this.position.offset;
3007
3011
  if (t >= this.message.length)
3008
3012
  throw Error("out of bound");
3009
- var r = St(this.message, t);
3013
+ var r = At(this.message, t);
3010
3014
  if (r === void 0)
3011
3015
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3012
3016
  return r;
@@ -3057,47 +3061,47 @@ var ln = (
3057
3061
  }, e;
3058
3062
  }()
3059
3063
  );
3060
- function Oe(e) {
3064
+ function we(e) {
3061
3065
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3062
3066
  }
3063
- function fn(e) {
3064
- return Oe(e) || e === 47;
3065
- }
3066
3067
  function cn(e) {
3068
+ return we(e) || e === 47;
3069
+ }
3070
+ function pn(e) {
3067
3071
  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;
3068
3072
  }
3069
3073
  function Ot(e) {
3070
3074
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3071
3075
  }
3072
- function pn(e) {
3076
+ function mn(e) {
3073
3077
  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;
3074
3078
  }
3075
- function Ne(e) {
3079
+ function Ie(e) {
3076
3080
  e.forEach(function(t) {
3077
3081
  if (delete t.location, Et(t) || yt(t))
3078
3082
  for (var r in t.options)
3079
- delete t.options[r].location, Ne(t.options[r].value);
3083
+ delete t.options[r].location, Ie(t.options[r].value);
3080
3084
  else
3081
- dt(t) && vt(t.style) || (gt(t) || xt(t)) && Be(t.style) ? delete t.style.location : _t(t) && Ne(t.children);
3085
+ dt(t) && vt(t.style) || (gt(t) || xt(t)) && Ae(t.style) ? delete t.style.location : _t(t) && Ie(t.children);
3082
3086
  });
3083
3087
  }
3084
- function mn(e, t) {
3085
- t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3086
- var r = new ln(e, t).parse();
3088
+ function bn(e, t) {
3089
+ t === void 0 && (t = {}), t = ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3090
+ var r = new fn(e, t).parse();
3087
3091
  if (r.err) {
3088
3092
  var n = SyntaxError(m[r.err.kind]);
3089
3093
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3090
3094
  }
3091
- return t != null && t.captureLocation || Ne(r.val), r.val;
3095
+ return t != null && t.captureLocation || Ie(r.val), r.val;
3092
3096
  }
3093
- var V;
3097
+ var k;
3094
3098
  (function(e) {
3095
3099
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3096
- })(V || (V = {}));
3097
- var fe = (
3100
+ })(k || (k = {}));
3101
+ var pe = (
3098
3102
  /** @class */
3099
3103
  function(e) {
3100
- le(t, e);
3104
+ ce(t, e);
3101
3105
  function t(r, n, i) {
3102
3106
  var s = e.call(this, r) || this;
3103
3107
  return s.code = n, s.originalMessage = i, s;
@@ -3109,44 +3113,44 @@ var fe = (
3109
3113
  ), tt = (
3110
3114
  /** @class */
3111
3115
  function(e) {
3112
- le(t, e);
3116
+ ce(t, e);
3113
3117
  function t(r, n, i, s) {
3114
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3118
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3115
3119
  }
3116
3120
  return t;
3117
- }(fe)
3118
- ), bn = (
3121
+ }(pe)
3122
+ ), dn = (
3119
3123
  /** @class */
3120
3124
  function(e) {
3121
- le(t, e);
3125
+ ce(t, e);
3122
3126
  function t(r, n, i) {
3123
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3127
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3124
3128
  }
3125
3129
  return t;
3126
- }(fe)
3127
- ), dn = (
3130
+ }(pe)
3131
+ ), gn = (
3128
3132
  /** @class */
3129
3133
  function(e) {
3130
- le(t, e);
3134
+ ce(t, e);
3131
3135
  function t(r, n) {
3132
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3136
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3133
3137
  }
3134
3138
  return t;
3135
- }(fe)
3139
+ }(pe)
3136
3140
  ), _;
3137
3141
  (function(e) {
3138
3142
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3139
3143
  })(_ || (_ = {}));
3140
- function gn(e) {
3144
+ function xn(e) {
3141
3145
  return e.length < 2 ? e : e.reduce(function(t, r) {
3142
3146
  var n = t[t.length - 1];
3143
3147
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3144
3148
  }, []);
3145
3149
  }
3146
- function xn(e) {
3150
+ function En(e) {
3147
3151
  return typeof e == "function";
3148
3152
  }
3149
- function se(e, t, r, n, i, s, o) {
3153
+ function oe(e, t, r, n, i, s, o) {
3150
3154
  if (e.length === 1 && Ze(e[0]))
3151
3155
  return [
3152
3156
  {
@@ -3154,8 +3158,8 @@ function se(e, t, r, n, i, s, o) {
3154
3158
  value: e[0].value
3155
3159
  }
3156
3160
  ];
3157
- for (var a = [], u = 0, h = e; u < h.length; u++) {
3158
- var l = h[u];
3161
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3162
+ var l = u[h];
3159
3163
  if (Ze(l)) {
3160
3164
  a.push({
3161
3165
  type: _.literal,
@@ -3163,7 +3167,7 @@ function se(e, t, r, n, i, s, o) {
3163
3167
  });
3164
3168
  continue;
3165
3169
  }
3166
- if (Gr(l)) {
3170
+ if (Dr(l)) {
3167
3171
  typeof s == "number" && a.push({
3168
3172
  type: _.literal,
3169
3173
  value: r.getNumberFormat(t).format(s)
@@ -3172,9 +3176,9 @@ function se(e, t, r, n, i, s, o) {
3172
3176
  }
3173
3177
  var c = l.value;
3174
3178
  if (!(i && c in i))
3175
- throw new dn(c, o);
3179
+ throw new gn(c, o);
3176
3180
  var f = i[c];
3177
- if (Ur(l)) {
3181
+ if (Gr(l)) {
3178
3182
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3179
3183
  type: typeof f == "string" ? _.literal : _.object,
3180
3184
  value: f
@@ -3182,40 +3186,40 @@ function se(e, t, r, n, i, s, o) {
3182
3186
  continue;
3183
3187
  }
3184
3188
  if (gt(l)) {
3185
- var x = typeof l.style == "string" ? n.date[l.style] : Be(l.style) ? l.style.parsedOptions : void 0;
3189
+ var g = typeof l.style == "string" ? n.date[l.style] : Ae(l.style) ? l.style.parsedOptions : void 0;
3186
3190
  a.push({
3187
3191
  type: _.literal,
3188
- value: r.getDateTimeFormat(t, x).format(f)
3192
+ value: r.getDateTimeFormat(t, g).format(f)
3189
3193
  });
3190
3194
  continue;
3191
3195
  }
3192
3196
  if (xt(l)) {
3193
- var x = typeof l.style == "string" ? n.time[l.style] : Be(l.style) ? l.style.parsedOptions : n.time.medium;
3197
+ var g = typeof l.style == "string" ? n.time[l.style] : Ae(l.style) ? l.style.parsedOptions : n.time.medium;
3194
3198
  a.push({
3195
3199
  type: _.literal,
3196
- value: r.getDateTimeFormat(t, x).format(f)
3200
+ value: r.getDateTimeFormat(t, g).format(f)
3197
3201
  });
3198
3202
  continue;
3199
3203
  }
3200
3204
  if (dt(l)) {
3201
- var x = typeof l.style == "string" ? n.number[l.style] : vt(l.style) ? l.style.parsedOptions : void 0;
3202
- x && x.scale && (f = f * (x.scale || 1)), a.push({
3205
+ var g = typeof l.style == "string" ? n.number[l.style] : vt(l.style) ? l.style.parsedOptions : void 0;
3206
+ g && g.scale && (f = f * (g.scale || 1)), a.push({
3203
3207
  type: _.literal,
3204
- value: r.getNumberFormat(t, x).format(f)
3208
+ value: r.getNumberFormat(t, g).format(f)
3205
3209
  });
3206
3210
  continue;
3207
3211
  }
3208
3212
  if (_t(l)) {
3209
- var g = l.children, y = l.value, H = i[y];
3210
- if (!xn(H))
3211
- throw new bn(y, "function", o);
3212
- var A = se(g, t, r, n, i, s), S = H(A.map(function(O) {
3213
- return O.value;
3213
+ var d = l.children, y = l.value, H = i[y];
3214
+ if (!En(H))
3215
+ throw new dn(y, "function", o);
3216
+ var S = oe(d, t, r, n, i, s), A = H(S.map(function(N) {
3217
+ return N.value;
3214
3218
  }));
3215
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(O) {
3219
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(N) {
3216
3220
  return {
3217
- type: typeof O == "string" ? _.literal : _.object,
3218
- value: O
3221
+ type: typeof N == "string" ? _.literal : _.object,
3222
+ value: N
3219
3223
  };
3220
3224
  }));
3221
3225
  }
@@ -3223,38 +3227,38 @@ function se(e, t, r, n, i, s, o) {
3223
3227
  var v = l.options[f] || l.options.other;
3224
3228
  if (!v)
3225
3229
  throw new tt(l.value, f, Object.keys(l.options), o);
3226
- a.push.apply(a, se(v.value, t, r, n, i));
3230
+ a.push.apply(a, oe(v.value, t, r, n, i));
3227
3231
  continue;
3228
3232
  }
3229
3233
  if (yt(l)) {
3230
3234
  var v = l.options["=".concat(f)];
3231
3235
  if (!v) {
3232
3236
  if (!Intl.PluralRules)
3233
- throw new fe(`Intl.PluralRules is not available in this environment.
3237
+ throw new pe(`Intl.PluralRules is not available in this environment.
3234
3238
  Try polyfilling it using "@formatjs/intl-pluralrules"
3235
- `, V.MISSING_INTL_API, o);
3236
- var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3237
- v = l.options[N] || l.options.other;
3239
+ `, k.MISSING_INTL_API, o);
3240
+ var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3241
+ v = l.options[w] || l.options.other;
3238
3242
  }
3239
3243
  if (!v)
3240
3244
  throw new tt(l.value, f, Object.keys(l.options), o);
3241
- a.push.apply(a, se(v.value, t, r, n, i, f - (l.offset || 0)));
3245
+ a.push.apply(a, oe(v.value, t, r, n, i, f - (l.offset || 0)));
3242
3246
  continue;
3243
3247
  }
3244
3248
  }
3245
- return gn(a);
3249
+ return xn(a);
3246
3250
  }
3247
- function En(e, t) {
3248
- return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3249
- return r[n] = d(d({}, e[n]), t[n] || {}), r;
3251
+ function yn(e, t) {
3252
+ return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3253
+ return r[n] = O(O({}, e[n]), t[n] || {}), r;
3250
3254
  }, {})) : e;
3251
3255
  }
3252
- function yn(e, t) {
3256
+ function _n(e, t) {
3253
3257
  return t ? Object.keys(e).reduce(function(r, n) {
3254
- return r[n] = En(e[n], t[n]), r;
3255
- }, d({}, e)) : e;
3258
+ return r[n] = yn(e[n], t[n]), r;
3259
+ }, O({}, e)) : e;
3256
3260
  }
3257
- function ye(e) {
3261
+ function ve(e) {
3258
3262
  return {
3259
3263
  create: function() {
3260
3264
  return {
@@ -3268,39 +3272,39 @@ function ye(e) {
3268
3272
  }
3269
3273
  };
3270
3274
  }
3271
- function _n(e) {
3275
+ function vn(e) {
3272
3276
  return e === void 0 && (e = {
3273
3277
  number: {},
3274
3278
  dateTime: {},
3275
3279
  pluralRules: {}
3276
3280
  }), {
3277
- getNumberFormat: ge(function() {
3281
+ getNumberFormat: Ee(function() {
3278
3282
  for (var t, r = [], n = 0; n < arguments.length; n++)
3279
3283
  r[n] = arguments[n];
3280
- return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3284
+ return new ((t = Intl.NumberFormat).bind.apply(t, xe([void 0], r, !1)))();
3281
3285
  }, {
3282
- cache: ye(e.number),
3283
- strategy: xe.variadic
3286
+ cache: ve(e.number),
3287
+ strategy: ye.variadic
3284
3288
  }),
3285
- getDateTimeFormat: ge(function() {
3289
+ getDateTimeFormat: Ee(function() {
3286
3290
  for (var t, r = [], n = 0; n < arguments.length; n++)
3287
3291
  r[n] = arguments[n];
3288
- return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3292
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, xe([void 0], r, !1)))();
3289
3293
  }, {
3290
- cache: ye(e.dateTime),
3291
- strategy: xe.variadic
3294
+ cache: ve(e.dateTime),
3295
+ strategy: ye.variadic
3292
3296
  }),
3293
- getPluralRules: ge(function() {
3297
+ getPluralRules: Ee(function() {
3294
3298
  for (var t, r = [], n = 0; n < arguments.length; n++)
3295
3299
  r[n] = arguments[n];
3296
- return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3300
+ return new ((t = Intl.PluralRules).bind.apply(t, xe([void 0], r, !1)))();
3297
3301
  }, {
3298
- cache: ye(e.pluralRules),
3299
- strategy: xe.variadic
3302
+ cache: ve(e.pluralRules),
3303
+ strategy: ye.variadic
3300
3304
  })
3301
3305
  };
3302
3306
  }
3303
- var vn = (
3307
+ var Hn = (
3304
3308
  /** @class */
3305
3309
  function() {
3306
3310
  function e(t, r, n, i) {
@@ -3310,20 +3314,20 @@ var vn = (
3310
3314
  number: {},
3311
3315
  dateTime: {},
3312
3316
  pluralRules: {}
3313
- }, this.format = function(u) {
3314
- var h = s.formatToParts(u);
3315
- if (h.length === 1)
3316
- return h[0].value;
3317
- var l = h.reduce(function(c, f) {
3317
+ }, this.format = function(h) {
3318
+ var u = s.formatToParts(h);
3319
+ if (u.length === 1)
3320
+ return u[0].value;
3321
+ var l = u.reduce(function(c, f) {
3318
3322
  return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3319
3323
  }, []);
3320
3324
  return l.length <= 1 ? l[0] || "" : l;
3321
- }, this.formatToParts = function(u) {
3322
- return se(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
3325
+ }, this.formatToParts = function(h) {
3326
+ return oe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3323
3327
  }, this.resolvedOptions = function() {
3324
- var u;
3328
+ var h;
3325
3329
  return {
3326
- locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3330
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3327
3331
  };
3328
3332
  }, this.getAst = function() {
3329
3333
  return s.ast;
@@ -3332,13 +3336,13 @@ var vn = (
3332
3336
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3333
3337
  var o = i || {};
3334
3338
  o.formatters;
3335
- var a = Ir(o, ["formatters"]);
3336
- this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
3339
+ var a = wr(o, ["formatters"]);
3340
+ this.ast = e.__parse(t, O(O({}, a), { locale: this.resolvedLocale }));
3337
3341
  } else
3338
3342
  this.ast = t;
3339
3343
  if (!Array.isArray(this.ast))
3340
3344
  throw new TypeError("A message must be provided as a String or AST.");
3341
- this.formats = yn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3345
+ this.formats = _n(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3342
3346
  }
3343
3347
  return Object.defineProperty(e, "defaultLocale", {
3344
3348
  get: function() {
@@ -3351,7 +3355,7 @@ var vn = (
3351
3355
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3352
3356
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3353
3357
  }
3354
- }, e.__parse = mn, e.formats = {
3358
+ }, e.__parse = bn, e.formats = {
3355
3359
  number: {
3356
3360
  integer: {
3357
3361
  maximumFractionDigits: 0
@@ -3412,7 +3416,7 @@ var vn = (
3412
3416
  }, e;
3413
3417
  }()
3414
3418
  );
3415
- function Hn(e, t) {
3419
+ function Tn(e, t) {
3416
3420
  if (t == null)
3417
3421
  return;
3418
3422
  if (t in e)
@@ -3433,90 +3437,90 @@ function Hn(e, t) {
3433
3437
  n = void 0;
3434
3438
  return n;
3435
3439
  }
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) => {
3440
+ const I = {}, Bn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Nt = (e, t) => {
3437
3441
  if (t == null)
3438
3442
  return;
3439
3443
  if (t in I && e in I[t])
3440
3444
  return I[t][e];
3441
- const r = ce(t);
3445
+ const r = me(t);
3442
3446
  for (let n = 0; n < r.length; n++) {
3443
3447
  const i = r[n], s = An(i, e);
3444
3448
  if (s)
3445
- return Tn(e, t, s);
3449
+ return Bn(e, t, s);
3446
3450
  }
3447
3451
  };
3448
3452
  let Ue;
3449
- const z = ue({});
3450
- function Bn(e) {
3453
+ const W = fe({});
3454
+ function Sn(e) {
3451
3455
  return Ue[e] || null;
3452
3456
  }
3453
- function It(e) {
3457
+ function wt(e) {
3454
3458
  return e in Ue;
3455
3459
  }
3456
3460
  function An(e, t) {
3457
- if (!It(e))
3461
+ if (!wt(e))
3458
3462
  return null;
3459
- const r = Bn(e);
3460
- return Hn(r, t);
3463
+ const r = Sn(e);
3464
+ return Tn(r, t);
3461
3465
  }
3462
- function Sn(e) {
3466
+ function Pn(e) {
3463
3467
  if (e == null)
3464
3468
  return;
3465
- const t = ce(e);
3469
+ const t = me(e);
3466
3470
  for (let r = 0; r < t.length; r++) {
3467
3471
  const n = t[r];
3468
- if (It(n))
3472
+ if (wt(n))
3469
3473
  return n;
3470
3474
  }
3471
3475
  }
3472
- function wt(e, ...t) {
3473
- delete I[e], z.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
3476
+ function It(e, ...t) {
3477
+ delete I[e], W.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
3474
3478
  }
3475
- X(
3476
- [z],
3479
+ z(
3480
+ [W],
3477
3481
  ([e]) => Object.keys(e)
3478
3482
  );
3479
- z.subscribe((e) => Ue = e);
3480
- const oe = {};
3481
- function Pn(e, t) {
3482
- oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3483
+ W.subscribe((e) => Ue = e);
3484
+ const ae = {};
3485
+ function On(e, t) {
3486
+ ae[e].delete(t), ae[e].size === 0 && delete ae[e];
3483
3487
  }
3484
3488
  function Lt(e) {
3485
- return oe[e];
3489
+ return ae[e];
3486
3490
  }
3487
- function On(e) {
3488
- return ce(e).map((t) => {
3491
+ function Nn(e) {
3492
+ return me(e).map((t) => {
3489
3493
  const r = Lt(t);
3490
3494
  return [t, r ? [...r] : []];
3491
3495
  }).filter(([, t]) => t.length > 0);
3492
3496
  }
3493
- function Ie(e) {
3494
- return e == null ? !1 : ce(e).some(
3497
+ function Le(e) {
3498
+ return e == null ? !1 : me(e).some(
3495
3499
  (t) => {
3496
3500
  var r;
3497
3501
  return (r = Lt(t)) == null ? void 0 : r.size;
3498
3502
  }
3499
3503
  );
3500
3504
  }
3501
- function Nn(e, t) {
3505
+ function wn(e, t) {
3502
3506
  return Promise.all(
3503
- t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3504
- ).then((n) => wt(e, ...n));
3507
+ t.map((n) => (On(e, n), n().then((i) => i.default || i)))
3508
+ ).then((n) => It(e, ...n));
3505
3509
  }
3506
- const Z = {};
3510
+ const Q = {};
3507
3511
  function Ct(e) {
3508
- if (!Ie(e))
3509
- return e in Z ? Z[e] : Promise.resolve();
3510
- const t = On(e);
3511
- return Z[e] = Promise.all(
3512
+ if (!Le(e))
3513
+ return e in Q ? Q[e] : Promise.resolve();
3514
+ const t = Nn(e);
3515
+ return Q[e] = Promise.all(
3512
3516
  t.map(
3513
- ([r, n]) => Nn(r, n)
3517
+ ([r, n]) => wn(r, n)
3514
3518
  )
3515
3519
  ).then(() => {
3516
- if (Ie(e))
3520
+ if (Le(e))
3517
3521
  return Ct(e);
3518
- delete Z[e];
3519
- }), Z[e];
3522
+ delete Q[e];
3523
+ }), Q[e];
3520
3524
  }
3521
3525
  const In = {
3522
3526
  number: {
@@ -3547,150 +3551,150 @@ const In = {
3547
3551
  timeZoneName: "short"
3548
3552
  }
3549
3553
  }
3550
- }, wn = {
3554
+ }, Ln = {
3551
3555
  fallbackLocale: null,
3552
3556
  loadingDelay: 200,
3553
3557
  formats: In,
3554
3558
  warnOnMissingMessages: !0,
3555
3559
  handleMissingMessage: void 0,
3556
3560
  ignoreTag: !0
3557
- }, Ln = wn;
3558
- function k() {
3559
- return Ln;
3561
+ }, Cn = Ln;
3562
+ function X() {
3563
+ return Cn;
3560
3564
  }
3561
- const _e = ue(!1);
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) => {
3565
+ const He = fe(!1);
3566
+ var Mn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, rt = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3563
3567
  for (var r in t || (t = {}))
3564
- $n.call(t, r) && nt(e, r, t[r]);
3568
+ Un.call(t, r) && nt(e, r, t[r]);
3565
3569
  if (rt)
3566
3570
  for (var r of rt(t))
3567
- Un.call(t, r) && nt(e, r, t[r]);
3571
+ Gn.call(t, r) && nt(e, r, t[r]);
3568
3572
  return e;
3569
- }, Dn = (e, t) => Mn(e, Rn(t));
3570
- let we;
3571
- const ae = ue(null);
3573
+ }, Fn = (e, t) => $n(e, Rn(t));
3574
+ let Ce;
3575
+ const he = fe(null);
3572
3576
  function it(e) {
3573
3577
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3574
3578
  }
3575
- function ce(e, t = k().fallbackLocale) {
3579
+ function me(e, t = X().fallbackLocale) {
3576
3580
  const r = it(e);
3577
3581
  return t ? [.../* @__PURE__ */ new Set([...r, ...it(t)])] : r;
3578
3582
  }
3579
- function M() {
3580
- return we != null ? we : void 0;
3583
+ function $() {
3584
+ return Ce != null ? Ce : void 0;
3581
3585
  }
3582
- ae.subscribe((e) => {
3583
- we = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3586
+ he.subscribe((e) => {
3587
+ Ce = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3584
3588
  });
3585
- const Fn = (e) => {
3586
- if (e && Sn(e) && Ie(e)) {
3587
- const { loadingDelay: t } = k();
3589
+ const jn = (e) => {
3590
+ if (e && Pn(e) && Le(e)) {
3591
+ const { loadingDelay: t } = X();
3588
3592
  let r;
3589
- return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
3590
- () => _e.set(!0),
3593
+ return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
3594
+ () => He.set(!0),
3591
3595
  t
3592
- ) : _e.set(!0), Ct(e).then(() => {
3593
- ae.set(e);
3596
+ ) : He.set(!0), Ct(e).then(() => {
3597
+ he.set(e);
3594
3598
  }).finally(() => {
3595
- clearTimeout(r), _e.set(!1);
3599
+ clearTimeout(r), He.set(!1);
3596
3600
  });
3597
3601
  }
3598
- return ae.set(e);
3599
- }, w = Dn(Gn({}, ae), {
3600
- set: Fn
3601
- }), pe = (e) => {
3602
+ return he.set(e);
3603
+ }, L = Fn(Dn({}, he), {
3604
+ set: jn
3605
+ }), be = (e) => {
3602
3606
  const t = /* @__PURE__ */ Object.create(null);
3603
3607
  return (n) => {
3604
3608
  const i = JSON.stringify(n);
3605
3609
  return i in t ? t[i] : t[i] = e(n);
3606
3610
  };
3607
3611
  };
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) => {
3612
+ var Vn = Object.defineProperty, le = Object.getOwnPropertySymbols, Mt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3609
3613
  for (var r in t || (t = {}))
3610
3614
  Mt.call(t, r) && st(e, r, t[r]);
3611
- if (he)
3612
- for (var r of he(t))
3613
- Rt.call(t, r) && st(e, r, t[r]);
3615
+ if (le)
3616
+ for (var r of le(t))
3617
+ $t.call(t, r) && st(e, r, t[r]);
3614
3618
  return e;
3615
- }, W = (e, t) => {
3619
+ }, Z = (e, t) => {
3616
3620
  var r = {};
3617
3621
  for (var n in e)
3618
3622
  Mt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3619
- if (e != null && he)
3620
- for (var n of he(e))
3621
- t.indexOf(n) < 0 && Rt.call(e, n) && (r[n] = e[n]);
3623
+ if (e != null && le)
3624
+ for (var n of le(e))
3625
+ t.indexOf(n) < 0 && $t.call(e, n) && (r[n] = e[n]);
3622
3626
  return r;
3623
3627
  };
3624
- const K = (e, t) => {
3625
- const { formats: r } = k();
3628
+ const ee = (e, t) => {
3629
+ const { formats: r } = X();
3626
3630
  if (e in r && t in r[e])
3627
3631
  return r[e][t];
3628
3632
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3629
- }, Vn = pe(
3633
+ }, kn = be(
3630
3634
  (e) => {
3631
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3635
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3632
3636
  if (r == null)
3633
3637
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3634
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3638
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3635
3639
  }
3636
- ), kn = pe(
3640
+ ), Xn = be(
3637
3641
  (e) => {
3638
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3642
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3639
3643
  if (r == null)
3640
3644
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3641
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3645
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3642
3646
  }
3643
- ), Xn = pe(
3647
+ ), zn = be(
3644
3648
  (e) => {
3645
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3649
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3646
3650
  if (r == null)
3647
3651
  throw new Error(
3648
3652
  '[svelte-i18n] A "locale" must be set to format time values'
3649
3653
  );
3650
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3654
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3651
3655
  }
3652
- ), zn = (e = {}) => {
3653
- var t = e, {
3654
- locale: r = M()
3655
- } = t, n = W(t, [
3656
- "locale"
3657
- ]);
3658
- return Vn(Ge({ locale: r }, n));
3659
- }, Wn = (e = {}) => {
3656
+ ), Wn = (e = {}) => {
3660
3657
  var t = e, {
3661
- locale: r = M()
3662
- } = t, n = W(t, [
3658
+ locale: r = $()
3659
+ } = t, n = Z(t, [
3663
3660
  "locale"
3664
3661
  ]);
3665
3662
  return kn(Ge({ locale: r }, n));
3666
3663
  }, Zn = (e = {}) => {
3667
3664
  var t = e, {
3668
- locale: r = M()
3669
- } = t, n = W(t, [
3665
+ locale: r = $()
3666
+ } = t, n = Z(t, [
3670
3667
  "locale"
3671
3668
  ]);
3672
3669
  return Xn(Ge({ locale: r }, n));
3673
- }, Qn = pe(
3670
+ }, Qn = (e = {}) => {
3671
+ var t = e, {
3672
+ locale: r = $()
3673
+ } = t, n = Z(t, [
3674
+ "locale"
3675
+ ]);
3676
+ return zn(Ge({ locale: r }, n));
3677
+ }, Jn = be(
3674
3678
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3675
- (e, t = M()) => new vn(e, t, k().formats, {
3676
- ignoreTag: k().ignoreTag
3679
+ (e, t = $()) => new Hn(e, t, X().formats, {
3680
+ ignoreTag: X().ignoreTag
3677
3681
  })
3678
- ), Jn = (e, t = {}) => {
3682
+ ), qn = (e, t = {}) => {
3679
3683
  var r, n, i, s;
3680
3684
  let o = t;
3681
3685
  typeof e == "object" && (o = e, e = o.id);
3682
3686
  const {
3683
3687
  values: a,
3684
- locale: u = M(),
3685
- default: h
3688
+ locale: h = $(),
3689
+ default: u
3686
3690
  } = o;
3687
- if (u == null)
3691
+ if (h == null)
3688
3692
  throw new Error(
3689
3693
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3690
3694
  );
3691
- let l = Nt(e, u);
3695
+ let l = Nt(e, h);
3692
3696
  if (!l)
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;
3697
+ l = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3694
3698
  else if (typeof l != "string")
3695
3699
  return console.warn(
3696
3700
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3699,7 +3703,7 @@ const K = (e, t) => {
3699
3703
  return l;
3700
3704
  let c = l;
3701
3705
  try {
3702
- c = Qn(l, u).format(a);
3706
+ c = Jn(l, h).format(a);
3703
3707
  } catch (f) {
3704
3708
  f instanceof Error && console.warn(
3705
3709
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3707,21 +3711,21 @@ const K = (e, t) => {
3707
3711
  );
3708
3712
  }
3709
3713
  return c;
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);
3711
- X([w], () => qn);
3712
- X([w], () => Yn);
3713
- X([w], () => Kn);
3714
- X([w, z], () => ei);
3715
- function ri({ withLocale: e, translations: t }) {
3716
- w.subscribe((r) => {
3717
- r == null && (z.set(t), w.set(e));
3714
+ }, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => Wn(t).format(e), ti = (e, t = $()) => Nt(e, t), ri = z([L, W], () => qn);
3715
+ z([L], () => Yn);
3716
+ z([L], () => Kn);
3717
+ z([L], () => ei);
3718
+ z([L, W], () => ti);
3719
+ function ni({ withLocale: e, translations: t }) {
3720
+ L.subscribe((r) => {
3721
+ r == null && (W.set(t), L.set(e));
3718
3722
  });
3719
3723
  }
3720
3724
  function ot(e, t) {
3721
- wt(e, t);
3725
+ It(e, t);
3722
3726
  }
3723
- function ni(e) {
3724
- w.set(e);
3727
+ function ii(e) {
3728
+ L.set(e);
3725
3729
  }
3726
3730
  const at = {
3727
3731
  en: {
@@ -3749,21 +3753,21 @@ const at = {
3749
3753
  bets: "bets"
3750
3754
  }
3751
3755
  };
3752
- function ii(e) {
3756
+ function si(e) {
3753
3757
  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
3758
  }
3755
- function si(e) {
3759
+ function oi(e) {
3756
3760
  let t, r, n, i, s;
3757
3761
  return {
3758
3762
  c() {
3759
- t = Q("div"), r = Q("div"), n = Q("span"), i = qt(
3763
+ t = J("div"), r = J("div"), n = J("span"), i = qt(
3760
3764
  /*progressText*/
3761
3765
  e[3]
3762
- ), C(n, "part", "progressText"), C(r, "class", s = "stepBar " + /*curTatus*/
3763
- e[4]), C(r, "part", "stepBar"), C(t, "class", "general-icon-progress-bar"), C(t, "part", "totalBar");
3766
+ ), M(n, "part", "progressText"), M(r, "class", s = "stepBar " + /*curTatus*/
3767
+ e[4]), M(r, "part", "stepBar"), M(t, "class", "general-icon-progress-bar"), M(t, "part", "totalBar");
3764
3768
  },
3765
3769
  m(o, a) {
3766
- ft(o, t, a), ne(t, r), ne(r, n), ne(n, i), e[13](n), e[14](r), e[15](t);
3770
+ ft(o, t, a), ie(t, r), ie(r, n), ie(n, i), e[13](n), e[14](r), e[15](t);
3767
3771
  },
3768
3772
  p(o, [a]) {
3769
3773
  a & /*progressText*/
@@ -3773,82 +3777,82 @@ function si(e) {
3773
3777
  o[3]
3774
3778
  ), a & /*curTatus*/
3775
3779
  16 && s !== (s = "stepBar " + /*curTatus*/
3776
- o[4]) && C(r, "class", s);
3780
+ o[4]) && M(r, "class", s);
3777
3781
  },
3778
3782
  i: B,
3779
3783
  o: B,
3780
3784
  d(o) {
3781
- o && Ce(t), e[13](null), e[14](null), e[15](null);
3785
+ o && $e(t), e[13](null), e[14](null), e[15](null);
3782
3786
  }
3783
3787
  };
3784
3788
  }
3785
- function oi(e, t, r) {
3789
+ function ai(e, t, r) {
3786
3790
  let n;
3787
- Wt(e, ti, (p) => r(20, n = p));
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";
3789
- ri({ withLocale: "en", translations: {} });
3790
- const O = () => {
3791
- fetch(h).then((L) => L.json()).then((L) => {
3792
- Object.keys(L).forEach((De) => {
3793
- ot(De, L[De]);
3791
+ Wt(e, ri, (p) => r(20, n = p));
3792
+ let { currentstep: i = 0 } = t, { total: s = 1 } = t, { showaspercent: o } = t, { lang: a = "en" } = t, { status: h } = t, { translationurl: u = "" } = t, { progressfractiondigit: l = 1 } = t, { triggerreset: c } = t, f, g, d, y, H, S, A, v = "0px", w = "active";
3793
+ ni({ withLocale: "en", translations: {} });
3794
+ const N = () => {
3795
+ fetch(u).then((C) => C.json()).then((C) => {
3796
+ Object.keys(C).forEach((De) => {
3797
+ ot(De, C[De]);
3794
3798
  });
3795
- }).catch((L) => {
3796
- console.log(L);
3799
+ }).catch((C) => {
3800
+ console.log(C);
3797
3801
  });
3798
3802
  };
3799
3803
  Object.keys(at).forEach((p) => {
3800
3804
  ot(p, at[p]);
3801
3805
  });
3802
3806
  const R = () => {
3803
- ni(a);
3804
- }, te = () => {
3807
+ ii(a);
3808
+ }, re = () => {
3805
3809
  let p = (i / s * 100).toFixed(l);
3806
3810
  setTimeout(
3807
3811
  () => {
3808
3812
  o || o === "true" ? r(3, y = `${p}%`) : r(3, y = `${i}/${s} ${n("bets")}`);
3809
3813
  },
3810
3814
  y ? 573 : 0
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);
3812
- }, $t = () => {
3813
- r(4, N = u == "active" ? "" : "inactive");
3815
+ ), p == 0 || p == 100 ? (S = "0px", A = "0px", v = p == 100 ? "3px" : "0px") : (S = `${f.offsetHeight}px`, H = S, A = `${f.offsetHeight / 3}px`, v = "0px"), g.style.setProperty("--parentElementHeight", H), d.style.setProperty("--currentStep", p + "%"), d.style.setProperty("--triangleHeight", S), d.style.setProperty("--halfOfTriangleHeight", A), d.style.setProperty("--stepBarBorderRadius", v);
3816
+ }, Rt = () => {
3817
+ r(4, w = h == "active" ? "" : "inactive");
3814
3818
  };
3815
3819
  function Ut(p) {
3816
- q[p ? "unshift" : "push"](() => {
3817
- x = p, r(1, x);
3820
+ Y[p ? "unshift" : "push"](() => {
3821
+ g = p, r(1, g);
3818
3822
  });
3819
3823
  }
3820
3824
  function Gt(p) {
3821
- q[p ? "unshift" : "push"](() => {
3822
- g = p, r(2, g);
3825
+ Y[p ? "unshift" : "push"](() => {
3826
+ d = p, r(2, d);
3823
3827
  });
3824
3828
  }
3825
3829
  function Dt(p) {
3826
- q[p ? "unshift" : "push"](() => {
3830
+ Y[p ? "unshift" : "push"](() => {
3827
3831
  f = p, r(0, f);
3828
3832
  });
3829
3833
  }
3830
3834
  return e.$$set = (p) => {
3831
- "currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, o = p.showaspercent), "lang" in p && r(8, a = p.lang), "status" in p && r(9, u = p.status), "translationurl" in p && r(10, h = p.translationurl), "progressfractiondigit" in p && r(11, l = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
3835
+ "currentstep" in p && r(5, i = p.currentstep), "total" in p && r(6, s = p.total), "showaspercent" in p && r(7, o = p.showaspercent), "lang" in p && r(8, a = p.lang), "status" in p && r(9, h = p.status), "translationurl" in p && r(10, u = p.translationurl), "progressfractiondigit" in p && r(11, l = p.progressfractiondigit), "triggerreset" in p && r(12, c = p.triggerreset);
3832
3836
  }, e.$$.update = () => {
3833
3837
  e.$$.dirty & /*triggerreset, total*/
3834
3838
  4160 && c && s && setTimeout(() => {
3835
- te();
3839
+ re();
3836
3840
  }), e.$$.dirty & /*lang*/
3837
3841
  256 && a && R(), e.$$.dirty & /*status*/
3838
- 512 && u && $t(), e.$$.dirty & /*translationurl*/
3839
- 1024 && h && O();
3842
+ 512 && h && Rt(), e.$$.dirty & /*translationurl*/
3843
+ 1024 && u && N();
3840
3844
  }, [
3841
3845
  f,
3842
- x,
3843
3846
  g,
3847
+ d,
3844
3848
  y,
3845
- N,
3849
+ w,
3846
3850
  i,
3847
3851
  s,
3848
3852
  o,
3849
3853
  a,
3850
- u,
3851
3854
  h,
3855
+ u,
3852
3856
  l,
3853
3857
  c,
3854
3858
  Ut,
@@ -3856,14 +3860,14 @@ function oi(e, t, r) {
3856
3860
  Dt
3857
3861
  ];
3858
3862
  }
3859
- class ai extends cr {
3863
+ class ui extends cr {
3860
3864
  constructor(t) {
3861
3865
  super(), lr(
3862
3866
  this,
3863
3867
  t,
3868
+ ai,
3864
3869
  oi,
3865
- si,
3866
- ut,
3870
+ ht,
3867
3871
  {
3868
3872
  currentstep: 5,
3869
3873
  total: 6,
@@ -3874,7 +3878,7 @@ class ai extends cr {
3874
3878
  progressfractiondigit: 11,
3875
3879
  triggerreset: 12
3876
3880
  },
3877
- ii
3881
+ si
3878
3882
  );
3879
3883
  }
3880
3884
  get currentstep() {
@@ -3926,7 +3930,7 @@ class ai extends cr {
3926
3930
  this.$$set({ triggerreset: t }), P();
3927
3931
  }
3928
3932
  }
3929
- fr(ai, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3933
+ fr(ui, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3930
3934
  export {
3931
- ai as default
3935
+ ui as default
3932
3936
  };