@everymatrix/general-icon-progress-bar 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,53 +1,53 @@
1
- var Ft = Object.defineProperty, jt = Object.defineProperties;
2
- var Vt = Object.getOwnPropertyDescriptors;
3
- var Fe = Object.getOwnPropertySymbols;
4
- var kt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
- var me = (e, t, r) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
1
+ var Gt = Object.defineProperty, Dt = Object.defineProperties;
2
+ var Ft = Object.getOwnPropertyDescriptors;
3
+ var Ge = Object.getOwnPropertySymbols;
4
+ var jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
5
+ var me = (e, t, r) => t in e ? Gt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, De = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- kt.call(t, r) && me(e, r, t[r]);
8
- if (Fe)
9
- for (var r of Fe(t))
10
- Xt.call(t, r) && me(e, r, t[r]);
7
+ jt.call(t, r) && me(e, r, t[r]);
8
+ if (Ge)
9
+ for (var r of Ge(t))
10
+ Vt.call(t, r) && me(e, r, t[r]);
11
11
  return e;
12
- }, Ve = (e, t) => jt(e, Vt(t));
12
+ }, Fe = (e, t) => Dt(e, Ft(t));
13
13
  var T = (e, t, r) => me(e, typeof t != "symbol" ? t + "" : t, r);
14
- var ke = (e, t, r) => new Promise((n, i) => {
15
- var s = (u) => {
14
+ var je = (e, t, r) => new Promise((n, i) => {
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 ot(e) {
33
33
  return e();
34
34
  }
35
- function Xe() {
35
+ function Ve() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ee(e) {
39
- e.forEach(ht);
39
+ e.forEach(ot);
40
40
  }
41
41
  function Le(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ut(e, t) {
44
+ function at(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function zt(e) {
47
+ function kt(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function lt(e, ...t) {
50
+ function ut(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function lt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Wt(e, t, r) {
60
- e.$$.on_destroy.push(lt(t, r));
59
+ function Xt(e, t, r) {
60
+ e.$$.on_destroy.push(ut(t, r));
61
61
  }
62
62
  function ne(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Zt(e, t, r) {
66
- const n = Qt(e);
65
+ function zt(e, t, r) {
66
+ const n = Wt(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = Q("style");
69
- i.id = t, i.textContent = r, Jt(n, i);
69
+ i.id = t, i.textContent = r, Zt(n, i);
70
70
  }
71
71
  }
72
- function Qt(e) {
72
+ function Wt(e) {
73
73
  if (!e) return document;
74
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
75
  return t && /** @type {ShadowRoot} */
@@ -78,14 +78,14 @@ function Qt(e) {
78
78
  t
79
79
  ) : e.ownerDocument;
80
80
  }
81
- function Jt(e, t) {
81
+ function Zt(e, t) {
82
82
  return ne(
83
83
  /** @type {Document} */
84
84
  e.head || e,
85
85
  t
86
86
  ), t.sheet;
87
87
  }
88
- function ft(e, t, r) {
88
+ function ht(e, t, r) {
89
89
  e.insertBefore(t, r || null);
90
90
  }
91
91
  function Ce(e) {
@@ -94,20 +94,20 @@ function Ce(e) {
94
94
  function Q(e) {
95
95
  return document.createElement(e);
96
96
  }
97
- function qt(e) {
97
+ function Qt(e) {
98
98
  return document.createTextNode(e);
99
99
  }
100
100
  function C(e, t, r) {
101
101
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
102
102
  }
103
- function Yt(e) {
103
+ function Jt(e) {
104
104
  return Array.from(e.childNodes);
105
105
  }
106
- function Kt(e, t) {
106
+ function qt(e, t) {
107
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
108
  t);
109
109
  }
110
- function er(e) {
110
+ function Yt(e) {
111
111
  const t = {};
112
112
  return e.childNodes.forEach(
113
113
  /** @param {Element} node */
@@ -122,10 +122,10 @@ function J(e) {
122
122
  }
123
123
  const G = [], q = [];
124
124
  let D = [];
125
- const ze = [], tr = /* @__PURE__ */ Promise.resolve();
125
+ const ke = [], Kt = /* @__PURE__ */ Promise.resolve();
126
126
  let ve = !1;
127
- function rr() {
128
- ve || (ve = !0, tr.then(P));
127
+ function er() {
128
+ ve || (ve = !0, Kt.then(P));
129
129
  }
130
130
  function He(e) {
131
131
  D.push(e);
@@ -140,7 +140,7 @@ function P() {
140
140
  try {
141
141
  for (; $ < G.length; ) {
142
142
  const t = G[$];
143
- $++, J(t), nr(t.$$);
143
+ $++, J(t), tr(t.$$);
144
144
  }
145
145
  } catch (t) {
146
146
  throw G.length = 0, $ = 0, t;
@@ -152,80 +152,80 @@ function P() {
152
152
  }
153
153
  D.length = 0;
154
154
  } while (G.length);
155
- for (; ze.length; )
156
- ze.pop()();
155
+ for (; ke.length; )
156
+ ke.pop()();
157
157
  ve = !1, be.clear(), J(e);
158
158
  }
159
- function nr(e) {
159
+ function tr(e) {
160
160
  if (e.fragment !== null) {
161
161
  e.update(), ee(e.before_update);
162
162
  const t = e.dirty;
163
163
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
164
164
  }
165
165
  }
166
- function ir(e) {
166
+ function rr(e) {
167
167
  const t = [], r = [];
168
168
  D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
169
169
  }
170
- const sr = /* @__PURE__ */ new Set();
171
- function or(e, t) {
172
- e && e.i && (sr.delete(e), e.i(t));
170
+ const nr = /* @__PURE__ */ new Set();
171
+ function ir(e, t) {
172
+ e && e.i && (nr.delete(e), e.i(t));
173
173
  }
174
- function ar(e, t, r) {
174
+ function sr(e, t, r) {
175
175
  const { fragment: n, after_update: i } = e.$$;
176
176
  n && n.m(t, r), He(() => {
177
- const s = e.$$.on_mount.map(ht).filter(Le);
177
+ const s = e.$$.on_mount.map(ot).filter(Le);
178
178
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
179
179
  }), i.forEach(He);
180
180
  }
181
- function hr(e, t) {
181
+ function or(e, t) {
182
182
  const r = e.$$;
183
- 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 = []);
183
+ r.fragment !== null && (rr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
184
184
  }
185
- function ur(e, t) {
186
- e.$$.dirty[0] === -1 && (G.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
185
+ function ar(e, t) {
186
+ e.$$.dirty[0] === -1 && (G.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
187
  }
188
- function lr(e, t, r, n, i, s, o = null, a = [-1]) {
189
- const u = Me;
188
+ function ur(e, t, r, n, i, s, o = null, a = [-1]) {
189
+ const h = Me;
190
190
  J(e);
191
- const h = e.$$ = {
191
+ const u = e.$$ = {
192
192
  fragment: null,
193
193
  ctx: [],
194
194
  // state
195
195
  props: s,
196
196
  update: B,
197
197
  not_equal: i,
198
- bound: Xe(),
198
+ bound: Ve(),
199
199
  // lifecycle
200
200
  on_mount: [],
201
201
  on_destroy: [],
202
202
  on_disconnect: [],
203
203
  before_update: [],
204
204
  after_update: [],
205
- context: new Map(t.context || (u ? u.$$.context : [])),
205
+ context: new Map(t.context || (h ? h.$$.context : [])),
206
206
  // everything else
207
- callbacks: Xe(),
207
+ callbacks: Ve(),
208
208
  dirty: a,
209
209
  skip_bound: !1,
210
- root: t.target || u.$$.root
210
+ root: t.target || h.$$.root
211
211
  };
212
- o && o(h.root);
212
+ o && o(u.root);
213
213
  let l = !1;
214
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...x) => {
214
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...x) => {
215
215
  const g = x.length ? x[0] : f;
216
- 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;
217
- }) : [], h.update(), l = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
216
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && ar(e, c)), f;
217
+ }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
218
218
  if (t.hydrate) {
219
- const c = Yt(t.target);
220
- h.fragment && h.fragment.l(c), c.forEach(Ce);
219
+ const c = Jt(t.target);
220
+ u.fragment && u.fragment.l(c), c.forEach(Ce);
221
221
  } else
222
- h.fragment && h.fragment.c();
223
- t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), P();
222
+ u.fragment && u.fragment.c();
223
+ t.intro && ir(e.$$.fragment), sr(e, t.target, t.anchor), P();
224
224
  }
225
- J(u);
225
+ J(h);
226
226
  }
227
- let ct;
228
- typeof HTMLElement == "function" && (ct = class extends HTMLElement {
227
+ let lt;
228
+ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
229
229
  constructor(t, r, n) {
230
230
  super();
231
231
  /** The Svelte component constructor */
@@ -262,7 +262,7 @@ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
262
262
  }
263
263
  }
264
264
  connectedCallback() {
265
- return ke(this, null, function* () {
265
+ return je(this, null, function* () {
266
266
  if (this.$$cn = !0, !this.$$c) {
267
267
  let t = function(s) {
268
268
  return () => {
@@ -275,18 +275,18 @@ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
275
275
  * @param {HTMLElement} target
276
276
  * @param {HTMLElement} [anchor]
277
277
  */
278
- m: function(h, l) {
279
- ft(h, o, l);
278
+ m: function(u, l) {
279
+ ht(u, o, l);
280
280
  },
281
- d: function(h) {
282
- h && Ce(o);
281
+ d: function(u) {
282
+ u && Ce(o);
283
283
  }
284
284
  };
285
285
  };
286
286
  };
287
287
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
288
288
  return;
289
- const r = {}, n = er(this);
289
+ const r = {}, n = Yt(this);
290
290
  for (const s of this.$$s)
291
291
  s in n && (r[s] = [t(s)]);
292
292
  for (const s of this.attributes) {
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (ct = class extends HTMLElement {
297
297
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
298
298
  this.$$c = new this.$$ctor({
299
299
  target: this.shadowRoot || this,
300
- props: Ve(je({}, this.$$d), {
300
+ props: Fe(De({}, this.$$d), {
301
301
  $$slots: r,
302
302
  $$scope: {
303
303
  ctx: []
@@ -375,8 +375,8 @@ function ie(e, t, r, n) {
375
375
  return t;
376
376
  }
377
377
  }
378
- function fr(e, t, r, n, i, s) {
379
- let o = class extends ct {
378
+ function hr(e, t, r, n, i, s) {
379
+ let o = class extends lt {
380
380
  constructor() {
381
381
  super(e, r, i), this.$$p_d = t;
382
382
  }
@@ -391,22 +391,22 @@ function fr(e, t, r, n, i, s) {
391
391
  get() {
392
392
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
393
393
  },
394
- set(u) {
395
- var h;
396
- u = ie(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
394
+ set(h) {
395
+ var u;
396
+ h = ie(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
397
397
  }
398
398
  });
399
399
  }), n.forEach((a) => {
400
400
  Object.defineProperty(o.prototype, a, {
401
401
  get() {
402
- var u;
403
- return (u = this.$$c) == null ? void 0 : u[a];
402
+ var h;
403
+ return (h = this.$$c) == null ? void 0 : h[a];
404
404
  }
405
405
  });
406
406
  }), e.element = /** @type {any} */
407
407
  o, o;
408
408
  }
409
- class cr {
409
+ class lr {
410
410
  constructor() {
411
411
  /**
412
412
  * ### PRIVATE API
@@ -427,7 +427,7 @@ class cr {
427
427
  }
428
428
  /** @returns {void} */
429
429
  $destroy() {
430
- hr(this, 1), this.$destroy = B;
430
+ or(this, 1), this.$destroy = B;
431
431
  }
432
432
  /**
433
433
  * @template {Extract<keyof Events, string>} K
@@ -449,28 +449,28 @@ class cr {
449
449
  * @returns {void}
450
450
  */
451
451
  $set(t) {
452
- this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
452
+ this.$$set && !kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
453
  }
454
454
  }
455
- const pr = "4";
456
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
455
+ const fr = "4";
456
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
457
457
  const U = [];
458
- function mr(e, t) {
458
+ function cr(e, t) {
459
459
  return {
460
- subscribe: ue(e, t).subscribe
460
+ subscribe: he(e, t).subscribe
461
461
  };
462
462
  }
463
- function ue(e, t = B) {
463
+ function he(e, t = B) {
464
464
  let r;
465
465
  const n = /* @__PURE__ */ new Set();
466
466
  function i(a) {
467
- if (ut(e, a) && (e = a, r)) {
468
- const u = !U.length;
469
- for (const h of n)
470
- h[1](), U.push(h, e);
471
- if (u) {
472
- for (let h = 0; h < U.length; h += 2)
473
- U[h][0](U[h + 1]);
467
+ if (at(e, a) && (e = a, r)) {
468
+ const h = !U.length;
469
+ for (const u of n)
470
+ u[1](), U.push(u, e);
471
+ if (h) {
472
+ for (let u = 0; u < U.length; u += 2)
473
+ U[u][0](U[u + 1]);
474
474
  U.length = 0;
475
475
  }
476
476
  }
@@ -478,10 +478,10 @@ function ue(e, t = B) {
478
478
  function s(a) {
479
479
  i(a(e));
480
480
  }
481
- function o(a, u = B) {
482
- const h = [a, u];
483
- return n.add(h), n.size === 1 && (r = t(i, s) || B), a(e), () => {
484
- n.delete(h), n.size === 0 && r && (r(), r = null);
481
+ function o(a, h = B) {
482
+ const u = [a, h];
483
+ return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
484
+ n.delete(u), n.size === 0 && r && (r(), r = null);
485
485
  };
486
486
  }
487
487
  return { set: i, update: s, subscribe: o };
@@ -491,96 +491,96 @@ function X(e, t, r) {
491
491
  if (!i.every(Boolean))
492
492
  throw new Error("derived() expects stores as input, got a falsy value");
493
493
  const s = t.length < 2;
494
- return mr(r, (o, a) => {
495
- let u = !1;
496
- const h = [];
494
+ return cr(r, (o, a) => {
495
+ let h = !1;
496
+ const u = [];
497
497
  let l = 0, c = B;
498
498
  const f = () => {
499
499
  if (l)
500
500
  return;
501
501
  c();
502
- const g = t(n ? h[0] : h, o, a);
502
+ const g = t(n ? u[0] : u, o, a);
503
503
  s ? o(g) : c = Le(g) ? g : B;
504
504
  }, x = i.map(
505
- (g, y) => lt(
505
+ (g, y) => ut(
506
506
  g,
507
507
  (H) => {
508
- h[y] = H, l &= ~(1 << y), u && f();
508
+ u[y] = H, l &= ~(1 << y), h && f();
509
509
  },
510
510
  () => {
511
511
  l |= 1 << y;
512
512
  }
513
513
  )
514
514
  );
515
- return u = !0, f(), function() {
516
- ee(x), c(), u = !1;
515
+ return h = !0, f(), function() {
516
+ ee(x), c(), h = !1;
517
517
  };
518
518
  });
519
519
  }
520
- function br(e) {
520
+ function pr(e) {
521
521
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
522
522
  }
523
- var dr = function(t) {
524
- return gr(t) && !xr(t);
523
+ var mr = function(t) {
524
+ return br(t) && !dr(t);
525
525
  };
526
- function gr(e) {
526
+ function br(e) {
527
527
  return !!e && typeof e == "object";
528
528
  }
529
- function xr(e) {
529
+ function dr(e) {
530
530
  var t = Object.prototype.toString.call(e);
531
- return t === "[object RegExp]" || t === "[object Date]" || _r(e);
531
+ return t === "[object RegExp]" || t === "[object Date]" || Er(e);
532
532
  }
533
- var Er = typeof Symbol == "function" && Symbol.for, yr = Er ? Symbol.for("react.element") : 60103;
534
- function _r(e) {
535
- return e.$$typeof === yr;
533
+ var gr = typeof Symbol == "function" && Symbol.for, xr = gr ? Symbol.for("react.element") : 60103;
534
+ function Er(e) {
535
+ return e.$$typeof === xr;
536
536
  }
537
- function vr(e) {
537
+ function yr(e) {
538
538
  return Array.isArray(e) ? [] : {};
539
539
  }
540
540
  function Y(e, t) {
541
- return t.clone !== !1 && t.isMergeableObject(e) ? F(vr(e), e, t) : e;
541
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(yr(e), e, t) : e;
542
542
  }
543
- function Hr(e, t, r) {
543
+ function _r(e, t, r) {
544
544
  return e.concat(t).map(function(n) {
545
545
  return Y(n, r);
546
546
  });
547
547
  }
548
- function Tr(e, t) {
548
+ function vr(e, t) {
549
549
  if (!t.customMerge)
550
550
  return F;
551
551
  var r = t.customMerge(e);
552
552
  return typeof r == "function" ? r : F;
553
553
  }
554
- function Br(e) {
554
+ function Hr(e) {
555
555
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
556
556
  return Object.propertyIsEnumerable.call(e, t);
557
557
  }) : [];
558
558
  }
559
- function We(e) {
560
- return Object.keys(e).concat(Br(e));
559
+ function Xe(e) {
560
+ return Object.keys(e).concat(Hr(e));
561
561
  }
562
- function pt(e, t) {
562
+ function ft(e, t) {
563
563
  try {
564
564
  return t in e;
565
565
  } catch (r) {
566
566
  return !1;
567
567
  }
568
568
  }
569
- function Sr(e, t) {
570
- return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
+ function Tr(e, t) {
570
+ return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
571
571
  }
572
- function Ar(e, t, r) {
572
+ function Br(e, t, r) {
573
573
  var n = {};
574
- return r.isMergeableObject(e) && We(e).forEach(function(i) {
574
+ return r.isMergeableObject(e) && Xe(e).forEach(function(i) {
575
575
  n[i] = Y(e[i], r);
576
- }), We(t).forEach(function(i) {
577
- Sr(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));
576
+ }), Xe(t).forEach(function(i) {
577
+ Tr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = vr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
578
578
  }), n;
579
579
  }
580
580
  function F(e, t, r) {
581
- r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = Y;
581
+ r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || mr, r.cloneUnlessOtherwiseSpecified = Y;
582
582
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
583
- return s ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : Y(t, r);
583
+ return s ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : Y(t, r);
584
584
  }
585
585
  F.all = function(t, r) {
586
586
  if (!Array.isArray(t))
@@ -589,8 +589,8 @@ F.all = function(t, r) {
589
589
  return F(n, i, r);
590
590
  }, {});
591
591
  };
592
- var Pr = F, Or = Pr;
593
- const Nr = /* @__PURE__ */ br(Or);
592
+ var Sr = F, Ar = Sr;
593
+ const Pr = /* @__PURE__ */ pr(Ar);
594
594
  var Te = function(e, t) {
595
595
  return Te = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
596
596
  r.__proto__ = n;
@@ -616,7 +616,7 @@ var d = function() {
616
616
  return t;
617
617
  }, d.apply(this, arguments);
618
618
  };
619
- function Ir(e, t) {
619
+ function Or(e, t) {
620
620
  var r = {};
621
621
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
622
622
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -630,55 +630,53 @@ function de(e, t, r) {
630
630
  return e.concat(s || Array.prototype.slice.call(t));
631
631
  }
632
632
  function ge(e, t) {
633
- var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Lr;
633
+ var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : wr;
634
634
  return i(e, {
635
635
  cache: r,
636
636
  serializer: n
637
637
  });
638
638
  }
639
- function wr(e) {
639
+ function Nr(e) {
640
640
  return e == null || typeof e == "number" || typeof e == "boolean";
641
641
  }
642
- function mt(e, t, r, n) {
643
- var i = wr(n) ? n : r(n), s = t.get(i);
642
+ function Ir(e, t, r, n) {
643
+ var i = Nr(n) ? n : r(n), s = t.get(i);
644
644
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
645
645
  }
646
- function bt(e, t, r) {
646
+ function ct(e, t, r) {
647
647
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
648
648
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
649
649
  }
650
- function Re(e, t, r, n, i) {
650
+ function pt(e, t, r, n, i) {
651
651
  return r.bind(t, e, n, i);
652
652
  }
653
- function Lr(e, t) {
654
- var r = e.length === 1 ? mt : bt;
655
- return Re(e, this, r, t.cache.create(), t.serializer);
656
- }
657
- function Cr(e, t) {
658
- return Re(e, this, bt, t.cache.create(), t.serializer);
653
+ function wr(e, t) {
654
+ var r = e.length === 1 ? Ir : ct;
655
+ return pt(e, this, r, t.cache.create(), t.serializer);
659
656
  }
660
- function Mr(e, t) {
661
- return Re(e, this, mt, t.cache.create(), t.serializer);
657
+ function Lr(e, t) {
658
+ return pt(e, this, ct, t.cache.create(), t.serializer);
662
659
  }
663
- var Rr = function() {
660
+ var Cr = function() {
664
661
  return JSON.stringify(arguments);
665
- };
666
- function $e() {
667
- this.cache = /* @__PURE__ */ Object.create(null);
668
- }
669
- $e.prototype.get = function(e) {
670
- return this.cache[e];
671
- };
672
- $e.prototype.set = function(e, t) {
673
- this.cache[e] = t;
674
- };
675
- var $r = {
662
+ }, Mr = (
663
+ /** @class */
664
+ function() {
665
+ function e() {
666
+ this.cache = /* @__PURE__ */ Object.create(null);
667
+ }
668
+ return e.prototype.get = function(t) {
669
+ return this.cache[t];
670
+ }, e.prototype.set = function(t, r) {
671
+ this.cache[t] = r;
672
+ }, e;
673
+ }()
674
+ ), Rr = {
676
675
  create: function() {
677
- return new $e();
676
+ return new Mr();
678
677
  }
679
678
  }, xe = {
680
- variadic: Cr,
681
- monadic: Mr
679
+ variadic: Lr
682
680
  }, m;
683
681
  (function(e) {
684
682
  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";
@@ -691,43 +689,43 @@ var j;
691
689
  (function(e) {
692
690
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
693
691
  })(j || (j = {}));
694
- function Ze(e) {
692
+ function ze(e) {
695
693
  return e.type === E.literal;
696
694
  }
697
- function Ur(e) {
695
+ function $r(e) {
698
696
  return e.type === E.argument;
699
697
  }
700
- function dt(e) {
698
+ function mt(e) {
701
699
  return e.type === E.number;
702
700
  }
703
- function gt(e) {
701
+ function bt(e) {
704
702
  return e.type === E.date;
705
703
  }
706
- function xt(e) {
704
+ function dt(e) {
707
705
  return e.type === E.time;
708
706
  }
709
- function Et(e) {
707
+ function gt(e) {
710
708
  return e.type === E.select;
711
709
  }
712
- function yt(e) {
710
+ function xt(e) {
713
711
  return e.type === E.plural;
714
712
  }
715
- function Gr(e) {
713
+ function Ur(e) {
716
714
  return e.type === E.pound;
717
715
  }
718
- function _t(e) {
716
+ function Et(e) {
719
717
  return e.type === E.tag;
720
718
  }
721
- function vt(e) {
719
+ function yt(e) {
722
720
  return !!(e && typeof e == "object" && e.type === j.number);
723
721
  }
724
722
  function Be(e) {
725
723
  return !!(e && typeof e == "object" && e.type === j.dateTime);
726
724
  }
727
- 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;
728
- function Fr(e) {
725
+ var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
726
+ function Dr(e) {
729
727
  var t = {};
730
- return e.replace(Dr, function(r) {
728
+ return e.replace(Gr, function(r) {
731
729
  var n = r.length;
732
730
  switch (r[0]) {
733
731
  case "G":
@@ -816,36 +814,36 @@ function Fr(e) {
816
814
  return "";
817
815
  }), t;
818
816
  }
819
- var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
820
- function Vr(e) {
817
+ var Fr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
818
+ function jr(e) {
821
819
  if (e.length === 0)
822
820
  throw new Error("Number skeleton cannot be empty");
823
- for (var t = e.split(jr).filter(function(f) {
821
+ for (var t = e.split(Fr).filter(function(f) {
824
822
  return f.length > 0;
825
823
  }), r = [], n = 0, i = t; n < i.length; n++) {
826
824
  var s = i[n], o = s.split("/");
827
825
  if (o.length === 0)
828
826
  throw new Error("Invalid number skeleton");
829
- for (var a = o[0], u = o.slice(1), h = 0, l = u; h < l.length; h++) {
830
- var c = l[h];
827
+ for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
828
+ var c = l[u];
831
829
  if (c.length === 0)
832
830
  throw new Error("Invalid number skeleton");
833
831
  }
834
- r.push({ stem: a, options: u });
832
+ r.push({ stem: a, options: h });
835
833
  }
836
834
  return r;
837
835
  }
838
- function kr(e) {
836
+ function Vr(e) {
839
837
  return e.replace(/^(.*?)-/, "");
840
838
  }
841
- var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
842
- function Je(e) {
839
+ var We = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, kr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
840
+ function Ze(e) {
843
841
  var t = {};
844
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, function(r, n, i) {
842
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
845
843
  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)), "";
846
844
  }), t;
847
845
  }
848
- function St(e) {
846
+ function Tt(e) {
849
847
  switch (e) {
850
848
  case "sign-auto":
851
849
  return {
@@ -885,7 +883,7 @@ function St(e) {
885
883
  };
886
884
  }
887
885
  }
888
- function zr(e) {
886
+ function Xr(e) {
889
887
  var t;
890
888
  if (e[0] === "E" && e[1] === "E" ? (t = {
891
889
  notation: "engineering"
@@ -893,17 +891,17 @@ function zr(e) {
893
891
  notation: "scientific"
894
892
  }, e = e.slice(1)), t) {
895
893
  var r = e.slice(0, 2);
896
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Bt.test(e))
894
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
897
895
  throw new Error("Malformed concise eng/scientific notation");
898
896
  t.minimumIntegerDigits = e.length;
899
897
  }
900
898
  return t;
901
899
  }
902
- function qe(e) {
903
- var t = {}, r = St(e);
900
+ function Qe(e) {
901
+ var t = {}, r = Tt(e);
904
902
  return r || t;
905
903
  }
906
- function Wr(e) {
904
+ function zr(e) {
907
905
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
908
906
  var i = n[r];
909
907
  switch (i.stem) {
@@ -927,7 +925,7 @@ function Wr(e) {
927
925
  continue;
928
926
  case "measure-unit":
929
927
  case "unit":
930
- t.style = "unit", t.unit = kr(i.options[0]);
928
+ t.style = "unit", t.unit = Vr(i.options[0]);
931
929
  continue;
932
930
  case "compact-short":
933
931
  case "K":
@@ -938,13 +936,13 @@ function Wr(e) {
938
936
  t.notation = "compact", t.compactDisplay = "long";
939
937
  continue;
940
938
  case "scientific":
941
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
942
- return d(d({}, u), qe(h));
939
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
940
+ return d(d({}, h), Qe(u));
943
941
  }, {}));
944
942
  continue;
945
943
  case "engineering":
946
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
947
- return d(d({}, u), qe(h));
944
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
945
+ return d(d({}, h), Qe(u));
948
946
  }, {}));
949
947
  continue;
950
948
  case "notation-simple":
@@ -989,8 +987,8 @@ function Wr(e) {
989
987
  case "integer-width":
990
988
  if (i.options.length > 1)
991
989
  throw new RangeError("integer-width stems only accept a single optional option");
992
- i.options[0].replace(Xr, function(u, h, l, c, f, x) {
993
- if (h)
990
+ i.options[0].replace(kr, function(h, u, l, c, f, x) {
991
+ if (u)
994
992
  t.minimumIntegerDigits = l.length;
995
993
  else {
996
994
  if (c && f)
@@ -1002,27 +1000,27 @@ function Wr(e) {
1002
1000
  });
1003
1001
  continue;
1004
1002
  }
1005
- if (Bt.test(i.stem)) {
1003
+ if (Ht.test(i.stem)) {
1006
1004
  t.minimumIntegerDigits = i.stem.length;
1007
1005
  continue;
1008
1006
  }
1009
- if (Qe.test(i.stem)) {
1007
+ if (We.test(i.stem)) {
1010
1008
  if (i.options.length > 1)
1011
1009
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1012
- i.stem.replace(Qe, function(u, h, l, c, f, x) {
1013
- 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), "";
1010
+ i.stem.replace(We, function(h, u, l, c, f, x) {
1011
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && x ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1014
1012
  });
1015
1013
  var s = i.options[0];
1016
- s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Je(s)));
1014
+ s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Ze(s)));
1017
1015
  continue;
1018
1016
  }
1019
- if (Tt.test(i.stem)) {
1020
- t = d(d({}, t), Je(i.stem));
1017
+ if (vt.test(i.stem)) {
1018
+ t = d(d({}, t), Ze(i.stem));
1021
1019
  continue;
1022
1020
  }
1023
- var o = St(i.stem);
1021
+ var o = Tt(i.stem);
1024
1022
  o && (t = d(d({}, t), o));
1025
- var a = zr(i.stem);
1023
+ var a = Xr(i.stem);
1026
1024
  a && (t = d(d({}, t), a));
1027
1025
  }
1028
1026
  return t;
@@ -2442,22 +2440,22 @@ var re = {
2442
2440
  "h"
2443
2441
  ]
2444
2442
  };
2445
- function Zr(e, t) {
2443
+ function Wr(e, t) {
2446
2444
  for (var r = "", n = 0; n < e.length; n++) {
2447
2445
  var i = e.charAt(n);
2448
2446
  if (i === "j") {
2449
2447
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2450
2448
  s++, n++;
2451
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = Qr(t);
2452
- for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2453
- r += u;
2449
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Zr(t);
2450
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2451
+ r += h;
2454
2452
  for (; o-- > 0; )
2455
- r = h + r;
2453
+ r = u + r;
2456
2454
  } else i === "J" ? r += "H" : r += i;
2457
2455
  }
2458
2456
  return r;
2459
2457
  }
2460
- function Qr(e) {
2458
+ function Zr(e) {
2461
2459
  var t = e.hourCycle;
2462
2460
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2463
2461
  e.hourCycles && // @ts-ignore
@@ -2479,20 +2477,20 @@ function Qr(e) {
2479
2477
  var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2480
2478
  return i[0];
2481
2479
  }
2482
- var Ee, Jr = new RegExp("^".concat(Ht.source, "*")), qr = new RegExp("".concat(Ht.source, "*$"));
2480
+ var Ee, Qr = new RegExp("^".concat(_t.source, "*")), Jr = new RegExp("".concat(_t.source, "*$"));
2483
2481
  function b(e, t) {
2484
2482
  return { start: e, end: t };
2485
2483
  }
2486
- 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) {
2484
+ var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
2487
2485
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2488
2486
  }, Se = !0;
2489
2487
  try {
2490
- var an = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2491
- Se = ((Ee = an.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2488
+ var on = St("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2489
+ Se = ((Ee = on.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
2492
2490
  } catch (e) {
2493
2491
  Se = !1;
2494
2492
  }
2495
- var Ye = Yr ? (
2493
+ var Je = qr ? (
2496
2494
  // Native
2497
2495
  function(t, r, n) {
2498
2496
  return t.startsWith(r, n);
@@ -2502,7 +2500,7 @@ var Ye = Yr ? (
2502
2500
  function(t, r, n) {
2503
2501
  return t.slice(n, n + r.length) === r;
2504
2502
  }
2505
- ), Ae = Kr ? String.fromCodePoint : (
2503
+ ), Ae = Yr ? String.fromCodePoint : (
2506
2504
  // IE11
2507
2505
  function() {
2508
2506
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2514,9 +2512,9 @@ var Ye = Yr ? (
2514
2512
  }
2515
2513
  return n;
2516
2514
  }
2517
- ), Ke = (
2515
+ ), qe = (
2518
2516
  // native
2519
- en ? Object.fromEntries : (
2517
+ Kr ? Object.fromEntries : (
2520
2518
  // Ponyfill
2521
2519
  function(t) {
2522
2520
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2526,7 +2524,7 @@ var Ye = Yr ? (
2526
2524
  return r;
2527
2525
  }
2528
2526
  )
2529
- ), At = tn ? (
2527
+ ), Bt = en ? (
2530
2528
  // Native
2531
2529
  function(t, r) {
2532
2530
  return t.codePointAt(r);
@@ -2540,7 +2538,7 @@ var Ye = Yr ? (
2540
2538
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2541
2539
  }
2542
2540
  }
2543
- ), hn = rn ? (
2541
+ ), an = tn ? (
2544
2542
  // Native
2545
2543
  function(t) {
2546
2544
  return t.trimStart();
@@ -2548,9 +2546,9 @@ var Ye = Yr ? (
2548
2546
  ) : (
2549
2547
  // Ponyfill
2550
2548
  function(t) {
2551
- return t.replace(Jr, "");
2549
+ return t.replace(Qr, "");
2552
2550
  }
2553
- ), un = nn ? (
2551
+ ), un = rn ? (
2554
2552
  // Native
2555
2553
  function(t) {
2556
2554
  return t.trimEnd();
@@ -2558,32 +2556,32 @@ var Ye = Yr ? (
2558
2556
  ) : (
2559
2557
  // Ponyfill
2560
2558
  function(t) {
2561
- return t.replace(qr, "");
2559
+ return t.replace(Jr, "");
2562
2560
  }
2563
2561
  );
2564
- function Pt(e, t) {
2562
+ function St(e, t) {
2565
2563
  return new RegExp(e, t);
2566
2564
  }
2567
2565
  var Pe;
2568
2566
  if (Se) {
2569
- var et = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2567
+ var Ye = St("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2570
2568
  Pe = function(t, r) {
2571
2569
  var n;
2572
- et.lastIndex = r;
2573
- var i = et.exec(t);
2570
+ Ye.lastIndex = r;
2571
+ var i = Ye.exec(t);
2574
2572
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2575
2573
  };
2576
2574
  } else
2577
2575
  Pe = function(t, r) {
2578
2576
  for (var n = []; ; ) {
2579
- var i = At(t, r);
2580
- if (i === void 0 || Ot(i) || pn(i))
2577
+ var i = Bt(t, r);
2578
+ if (i === void 0 || At(i) || cn(i))
2581
2579
  break;
2582
2580
  n.push(i), r += i >= 65536 ? 2 : 1;
2583
2581
  }
2584
2582
  return Ae.apply(void 0, n);
2585
2583
  };
2586
- var ln = (
2584
+ var hn = (
2587
2585
  /** @class */
2588
2586
  function() {
2589
2587
  function e(t, r) {
@@ -2649,8 +2647,8 @@ var ln = (
2649
2647
  if (this.bumpIf("</")) {
2650
2648
  if (this.isEOF() || !Oe(this.char()))
2651
2649
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
2652
- var u = this.clonePosition(), h = this.parseTagName();
2653
- return i !== h ? this.error(m.UNMATCHED_CLOSING_TAG, b(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2650
+ var h = this.clonePosition(), u = this.parseTagName();
2651
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2654
2652
  val: {
2655
2653
  type: E.tag,
2656
2654
  value: i,
@@ -2665,7 +2663,7 @@ var ln = (
2665
2663
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2666
2664
  }, e.prototype.parseTagName = function() {
2667
2665
  var t = this.offset();
2668
- for (this.bump(); !this.isEOF() && cn(this.char()); )
2666
+ for (this.bump(); !this.isEOF() && fn(this.char()); )
2669
2667
  this.bump();
2670
2668
  return this.message.slice(t, this.offset());
2671
2669
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2687,14 +2685,14 @@ var ln = (
2687
2685
  }
2688
2686
  break;
2689
2687
  }
2690
- var u = b(n, this.clonePosition());
2688
+ var h = b(n, this.clonePosition());
2691
2689
  return {
2692
- val: { type: E.literal, value: i, location: u },
2690
+ val: { type: E.literal, value: i, location: h },
2693
2691
  err: null
2694
2692
  };
2695
2693
  }, e.prototype.tryParseLeftAngleBracket = function() {
2696
2694
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2697
- !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2695
+ !ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2698
2696
  }, e.prototype.tryParseQuote = function(t) {
2699
2697
  if (this.isEOF() || this.char() !== 39)
2700
2698
  return null;
@@ -2767,15 +2765,15 @@ var ln = (
2767
2765
  var s = this.clonePosition(), o = b(t, s);
2768
2766
  return { value: n, location: o };
2769
2767
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2770
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2768
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2771
2769
  switch (a) {
2772
2770
  case "":
2773
- return this.error(m.EXPECT_ARGUMENT_TYPE, b(o, u));
2771
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(o, h));
2774
2772
  case "number":
2775
2773
  case "date":
2776
2774
  case "time": {
2777
2775
  this.bumpSpace();
2778
- var h = null;
2776
+ var u = null;
2779
2777
  if (this.bumpIf(",")) {
2780
2778
  this.bumpSpace();
2781
2779
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
@@ -2785,16 +2783,16 @@ var ln = (
2785
2783
  if (f.length === 0)
2786
2784
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2787
2785
  var x = b(l, this.clonePosition());
2788
- h = { style: f, styleLocation: x };
2786
+ u = { style: f, styleLocation: x };
2789
2787
  }
2790
2788
  var g = this.tryParseArgumentClose(i);
2791
2789
  if (g.err)
2792
2790
  return g;
2793
2791
  var y = b(i, this.clonePosition());
2794
- if (h && Ye(h == null ? void 0 : h.style, "::", 0)) {
2795
- var H = hn(h.style.slice(2));
2792
+ if (u && Je(u == null ? void 0 : u.style, "::", 0)) {
2793
+ var H = an(u.style.slice(2));
2796
2794
  if (a === "number") {
2797
- var c = this.parseNumberSkeletonFromString(H, h.styleLocation);
2795
+ var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2798
2796
  return c.err ? c : {
2799
2797
  val: { type: E.number, value: n, location: y, style: c.val },
2800
2798
  err: null
@@ -2803,12 +2801,12 @@ var ln = (
2803
2801
  if (H.length === 0)
2804
2802
  return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
2805
2803
  var S = H;
2806
- this.locale && (S = Zr(H, this.locale));
2804
+ this.locale && (S = Wr(H, this.locale));
2807
2805
  var f = {
2808
2806
  type: j.dateTime,
2809
2807
  pattern: S,
2810
- location: h.styleLocation,
2811
- parsedOptions: this.shouldParseSkeletons ? Fr(S) : {}
2808
+ location: u.styleLocation,
2809
+ parsedOptions: this.shouldParseSkeletons ? Dr(S) : {}
2812
2810
  }, A = a === "date" ? E.date : E.time;
2813
2811
  return {
2814
2812
  val: { type: A, value: n, location: y, style: f },
@@ -2821,7 +2819,7 @@ var ln = (
2821
2819
  type: a === "number" ? E.number : a === "date" ? E.date : E.time,
2822
2820
  value: n,
2823
2821
  location: y,
2824
- style: (s = h == null ? void 0 : h.style) !== null && s !== void 0 ? s : null
2822
+ style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2825
2823
  },
2826
2824
  err: null
2827
2825
  };
@@ -2854,7 +2852,7 @@ var ln = (
2854
2852
  val: {
2855
2853
  type: E.select,
2856
2854
  value: n,
2857
- options: Ke(R.val),
2855
+ options: qe(R.val),
2858
2856
  location: te
2859
2857
  },
2860
2858
  err: null
@@ -2862,7 +2860,7 @@ var ln = (
2862
2860
  val: {
2863
2861
  type: E.plural,
2864
2862
  value: n,
2865
- options: Ke(R.val),
2863
+ options: qe(R.val),
2866
2864
  offset: O,
2867
2865
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2868
2866
  location: te
@@ -2871,7 +2869,7 @@ var ln = (
2871
2869
  };
2872
2870
  }
2873
2871
  default:
2874
- return this.error(m.INVALID_ARGUMENT_TYPE, b(o, u));
2872
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(o, h));
2875
2873
  }
2876
2874
  }, e.prototype.tryParseArgumentClose = function(t) {
2877
2875
  return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2913,7 +2911,7 @@ var ln = (
2913
2911
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2914
2912
  var n = [];
2915
2913
  try {
2916
- n = Vr(t);
2914
+ n = jr(t);
2917
2915
  } catch (i) {
2918
2916
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2919
2917
  }
@@ -2922,25 +2920,25 @@ var ln = (
2922
2920
  type: j.number,
2923
2921
  tokens: n,
2924
2922
  location: r,
2925
- parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2923
+ parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
2926
2924
  },
2927
2925
  err: null
2928
2926
  };
2929
2927
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2930
- for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
2931
- if (h.length === 0) {
2928
+ for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2929
+ if (u.length === 0) {
2932
2930
  var c = this.clonePosition();
2933
2931
  if (r !== "select" && this.bumpIf("=")) {
2934
2932
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
2935
2933
  if (f.err)
2936
2934
  return f;
2937
- l = b(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
2935
+ l = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2938
2936
  } else
2939
2937
  break;
2940
2938
  }
2941
- if (u.has(h))
2939
+ if (h.has(u))
2942
2940
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2943
- h === "other" && (o = !0), this.bumpSpace();
2941
+ u === "other" && (o = !0), this.bumpSpace();
2944
2942
  var x = this.clonePosition();
2945
2943
  if (!this.bumpIf("{"))
2946
2944
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
@@ -2951,12 +2949,12 @@ var ln = (
2951
2949
  if (y.err)
2952
2950
  return y;
2953
2951
  a.push([
2954
- h,
2952
+ u,
2955
2953
  {
2956
2954
  value: g.val,
2957
2955
  location: b(x, this.clonePosition())
2958
2956
  }
2959
- ]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, l = s.location;
2957
+ ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
2960
2958
  }
2961
2959
  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 };
2962
2960
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -2969,8 +2967,8 @@ var ln = (
2969
2967
  else
2970
2968
  break;
2971
2969
  }
2972
- var u = b(i, this.clonePosition());
2973
- return s ? (o *= n, on(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
2970
+ var h = b(i, this.clonePosition());
2971
+ return s ? (o *= n, sn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
2974
2972
  }, e.prototype.offset = function() {
2975
2973
  return this.position.offset;
2976
2974
  }, e.prototype.isEOF = function() {
@@ -2985,7 +2983,7 @@ var ln = (
2985
2983
  var t = this.position.offset;
2986
2984
  if (t >= this.message.length)
2987
2985
  throw Error("out of bound");
2988
- var r = At(this.message, t);
2986
+ var r = Bt(this.message, t);
2989
2987
  if (r === void 0)
2990
2988
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2991
2989
  return r;
@@ -3004,7 +3002,7 @@ var ln = (
3004
3002
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3005
3003
  }
3006
3004
  }, e.prototype.bumpIf = function(t) {
3007
- if (Ye(this.message, t, this.offset())) {
3005
+ if (Je(this.message, t, this.offset())) {
3008
3006
  for (var r = 0; r < t.length; r++)
3009
3007
  this.bump();
3010
3008
  return !0;
@@ -3026,7 +3024,7 @@ var ln = (
3026
3024
  break;
3027
3025
  }
3028
3026
  }, e.prototype.bumpSpace = function() {
3029
- for (; !this.isEOF() && Ot(this.char()); )
3027
+ for (; !this.isEOF() && At(this.char()); )
3030
3028
  this.bump();
3031
3029
  }, e.prototype.peek = function() {
3032
3030
  if (this.isEOF())
@@ -3039,29 +3037,29 @@ var ln = (
3039
3037
  function Oe(e) {
3040
3038
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3041
3039
  }
3042
- function fn(e) {
3040
+ function ln(e) {
3043
3041
  return Oe(e) || e === 47;
3044
3042
  }
3045
- function cn(e) {
3043
+ function fn(e) {
3046
3044
  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;
3047
3045
  }
3048
- function Ot(e) {
3046
+ function At(e) {
3049
3047
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3050
3048
  }
3051
- function pn(e) {
3049
+ function cn(e) {
3052
3050
  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;
3053
3051
  }
3054
3052
  function Ne(e) {
3055
3053
  e.forEach(function(t) {
3056
- if (delete t.location, Et(t) || yt(t))
3054
+ if (delete t.location, gt(t) || xt(t))
3057
3055
  for (var r in t.options)
3058
3056
  delete t.options[r].location, Ne(t.options[r].value);
3059
- else dt(t) && vt(t.style) || (gt(t) || xt(t)) && Be(t.style) ? delete t.style.location : _t(t) && Ne(t.children);
3057
+ else mt(t) && yt(t.style) || (bt(t) || dt(t)) && Be(t.style) ? delete t.style.location : Et(t) && Ne(t.children);
3060
3058
  });
3061
3059
  }
3062
- function mn(e, t) {
3060
+ function pn(e, t) {
3063
3061
  t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3064
- var r = new ln(e, t).parse();
3062
+ var r = new hn(e, t).parse();
3065
3063
  if (r.err) {
3066
3064
  var n = SyntaxError(m[r.err.kind]);
3067
3065
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3084,7 +3082,7 @@ var fe = (
3084
3082
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3085
3083
  }, t;
3086
3084
  }(Error)
3087
- ), tt = (
3085
+ ), Ke = (
3088
3086
  /** @class */
3089
3087
  function(e) {
3090
3088
  le(t, e);
@@ -3093,7 +3091,7 @@ var fe = (
3093
3091
  }
3094
3092
  return t;
3095
3093
  }(fe)
3096
- ), bn = (
3094
+ ), mn = (
3097
3095
  /** @class */
3098
3096
  function(e) {
3099
3097
  le(t, e);
@@ -3102,7 +3100,7 @@ var fe = (
3102
3100
  }
3103
3101
  return t;
3104
3102
  }(fe)
3105
- ), dn = (
3103
+ ), bn = (
3106
3104
  /** @class */
3107
3105
  function(e) {
3108
3106
  le(t, e);
@@ -3115,33 +3113,33 @@ var fe = (
3115
3113
  (function(e) {
3116
3114
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3117
3115
  })(_ || (_ = {}));
3118
- function gn(e) {
3116
+ function dn(e) {
3119
3117
  return e.length < 2 ? e : e.reduce(function(t, r) {
3120
3118
  var n = t[t.length - 1];
3121
3119
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3122
3120
  }, []);
3123
3121
  }
3124
- function xn(e) {
3122
+ function gn(e) {
3125
3123
  return typeof e == "function";
3126
3124
  }
3127
3125
  function se(e, t, r, n, i, s, o) {
3128
- if (e.length === 1 && Ze(e[0]))
3126
+ if (e.length === 1 && ze(e[0]))
3129
3127
  return [
3130
3128
  {
3131
3129
  type: _.literal,
3132
3130
  value: e[0].value
3133
3131
  }
3134
3132
  ];
3135
- for (var a = [], u = 0, h = e; u < h.length; u++) {
3136
- var l = h[u];
3137
- if (Ze(l)) {
3133
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3134
+ var l = u[h];
3135
+ if (ze(l)) {
3138
3136
  a.push({
3139
3137
  type: _.literal,
3140
3138
  value: l.value
3141
3139
  });
3142
3140
  continue;
3143
3141
  }
3144
- if (Gr(l)) {
3142
+ if (Ur(l)) {
3145
3143
  typeof s == "number" && a.push({
3146
3144
  type: _.literal,
3147
3145
  value: r.getNumberFormat(t).format(s)
@@ -3150,16 +3148,16 @@ function se(e, t, r, n, i, s, o) {
3150
3148
  }
3151
3149
  var c = l.value;
3152
3150
  if (!(i && c in i))
3153
- throw new dn(c, o);
3151
+ throw new bn(c, o);
3154
3152
  var f = i[c];
3155
- if (Ur(l)) {
3153
+ if ($r(l)) {
3156
3154
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3157
3155
  type: typeof f == "string" ? _.literal : _.object,
3158
3156
  value: f
3159
3157
  });
3160
3158
  continue;
3161
3159
  }
3162
- if (gt(l)) {
3160
+ if (bt(l)) {
3163
3161
  var x = typeof l.style == "string" ? n.date[l.style] : Be(l.style) ? l.style.parsedOptions : void 0;
3164
3162
  a.push({
3165
3163
  type: _.literal,
@@ -3167,7 +3165,7 @@ function se(e, t, r, n, i, s, o) {
3167
3165
  });
3168
3166
  continue;
3169
3167
  }
3170
- if (xt(l)) {
3168
+ if (dt(l)) {
3171
3169
  var x = typeof l.style == "string" ? n.time[l.style] : Be(l.style) ? l.style.parsedOptions : n.time.medium;
3172
3170
  a.push({
3173
3171
  type: _.literal,
@@ -3175,18 +3173,18 @@ function se(e, t, r, n, i, s, o) {
3175
3173
  });
3176
3174
  continue;
3177
3175
  }
3178
- if (dt(l)) {
3179
- var x = typeof l.style == "string" ? n.number[l.style] : vt(l.style) ? l.style.parsedOptions : void 0;
3176
+ if (mt(l)) {
3177
+ var x = typeof l.style == "string" ? n.number[l.style] : yt(l.style) ? l.style.parsedOptions : void 0;
3180
3178
  x && x.scale && (f = f * (x.scale || 1)), a.push({
3181
3179
  type: _.literal,
3182
3180
  value: r.getNumberFormat(t, x).format(f)
3183
3181
  });
3184
3182
  continue;
3185
3183
  }
3186
- if (_t(l)) {
3184
+ if (Et(l)) {
3187
3185
  var g = l.children, y = l.value, H = i[y];
3188
- if (!xn(H))
3189
- throw new bn(y, "function", o);
3186
+ if (!gn(H))
3187
+ throw new mn(y, "function", o);
3190
3188
  var S = se(g, t, r, n, i, s), A = H(S.map(function(O) {
3191
3189
  return O.value;
3192
3190
  }));
@@ -3197,14 +3195,14 @@ function se(e, t, r, n, i, s, o) {
3197
3195
  };
3198
3196
  }));
3199
3197
  }
3200
- if (Et(l)) {
3198
+ if (gt(l)) {
3201
3199
  var v = l.options[f] || l.options.other;
3202
3200
  if (!v)
3203
- throw new tt(l.value, f, Object.keys(l.options), o);
3201
+ throw new Ke(l.value, f, Object.keys(l.options), o);
3204
3202
  a.push.apply(a, se(v.value, t, r, n, i));
3205
3203
  continue;
3206
3204
  }
3207
- if (yt(l)) {
3205
+ if (xt(l)) {
3208
3206
  var v = l.options["=".concat(f)];
3209
3207
  if (!v) {
3210
3208
  if (!Intl.PluralRules)
@@ -3215,21 +3213,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3215
3213
  v = l.options[N] || l.options.other;
3216
3214
  }
3217
3215
  if (!v)
3218
- throw new tt(l.value, f, Object.keys(l.options), o);
3216
+ throw new Ke(l.value, f, Object.keys(l.options), o);
3219
3217
  a.push.apply(a, se(v.value, t, r, n, i, f - (l.offset || 0)));
3220
3218
  continue;
3221
3219
  }
3222
3220
  }
3223
- return gn(a);
3221
+ return dn(a);
3224
3222
  }
3225
- function En(e, t) {
3223
+ function xn(e, t) {
3226
3224
  return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3227
3225
  return r[n] = d(d({}, e[n]), t[n] || {}), r;
3228
3226
  }, {})) : e;
3229
3227
  }
3230
- function yn(e, t) {
3228
+ function En(e, t) {
3231
3229
  return t ? Object.keys(e).reduce(function(r, n) {
3232
- return r[n] = En(e[n], t[n]), r;
3230
+ return r[n] = xn(e[n], t[n]), r;
3233
3231
  }, d({}, e)) : e;
3234
3232
  }
3235
3233
  function ye(e) {
@@ -3246,7 +3244,7 @@ function ye(e) {
3246
3244
  }
3247
3245
  };
3248
3246
  }
3249
- function _n(e) {
3247
+ function yn(e) {
3250
3248
  return e === void 0 && (e = {
3251
3249
  number: {},
3252
3250
  dateTime: {},
@@ -3278,7 +3276,7 @@ function _n(e) {
3278
3276
  })
3279
3277
  };
3280
3278
  }
3281
- var vn = (
3279
+ var _n = (
3282
3280
  /** @class */
3283
3281
  function() {
3284
3282
  function e(t, r, n, i) {
@@ -3288,20 +3286,20 @@ var vn = (
3288
3286
  number: {},
3289
3287
  dateTime: {},
3290
3288
  pluralRules: {}
3291
- }, this.format = function(u) {
3292
- var h = s.formatToParts(u);
3293
- if (h.length === 1)
3294
- return h[0].value;
3295
- var l = h.reduce(function(c, f) {
3289
+ }, this.format = function(h) {
3290
+ var u = s.formatToParts(h);
3291
+ if (u.length === 1)
3292
+ return u[0].value;
3293
+ var l = u.reduce(function(c, f) {
3296
3294
  return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3297
3295
  }, []);
3298
3296
  return l.length <= 1 ? l[0] || "" : l;
3299
- }, this.formatToParts = function(u) {
3300
- return se(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
3297
+ }, this.formatToParts = function(h) {
3298
+ return se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3301
3299
  }, this.resolvedOptions = function() {
3302
- var u;
3300
+ var h;
3303
3301
  return {
3304
- locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3302
+ locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3305
3303
  };
3306
3304
  }, this.getAst = function() {
3307
3305
  return s.ast;
@@ -3310,13 +3308,13 @@ var vn = (
3310
3308
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3311
3309
  var o = i || {};
3312
3310
  o.formatters;
3313
- var a = Ir(o, ["formatters"]);
3311
+ var a = Or(o, ["formatters"]);
3314
3312
  this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
3315
3313
  } else
3316
3314
  this.ast = t;
3317
3315
  if (!Array.isArray(this.ast))
3318
3316
  throw new TypeError("A message must be provided as a String or AST.");
3319
- this.formats = yn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3317
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || yn(this.formatterCache);
3320
3318
  }
3321
3319
  return Object.defineProperty(e, "defaultLocale", {
3322
3320
  get: function() {
@@ -3329,7 +3327,7 @@ var vn = (
3329
3327
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3330
3328
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3331
3329
  }
3332
- }, e.__parse = mn, e.formats = {
3330
+ }, e.__parse = pn, e.formats = {
3333
3331
  number: {
3334
3332
  integer: {
3335
3333
  maximumFractionDigits: 0
@@ -3390,7 +3388,7 @@ var vn = (
3390
3388
  }, e;
3391
3389
  }()
3392
3390
  );
3393
- function Hn(e, t) {
3391
+ function vn(e, t) {
3394
3392
  if (t == null)
3395
3393
  return;
3396
3394
  if (t in e)
@@ -3411,60 +3409,60 @@ function Hn(e, t) {
3411
3409
  n = void 0;
3412
3410
  return n;
3413
3411
  }
3414
- const I = {}, Tn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Nt = (e, t) => {
3412
+ const I = {}, Hn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Pt = (e, t) => {
3415
3413
  if (t == null)
3416
3414
  return;
3417
3415
  if (t in I && e in I[t])
3418
3416
  return I[t][e];
3419
3417
  const r = ce(t);
3420
3418
  for (let n = 0; n < r.length; n++) {
3421
- const i = r[n], s = Sn(i, e);
3419
+ const i = r[n], s = Bn(i, e);
3422
3420
  if (s)
3423
- return Tn(e, t, s);
3421
+ return Hn(e, t, s);
3424
3422
  }
3425
3423
  };
3426
- let Ue;
3427
- const z = ue({});
3428
- function Bn(e) {
3429
- return Ue[e] || null;
3424
+ let Re;
3425
+ const z = he({});
3426
+ function Tn(e) {
3427
+ return Re[e] || null;
3430
3428
  }
3431
- function It(e) {
3432
- return e in Ue;
3429
+ function Ot(e) {
3430
+ return e in Re;
3433
3431
  }
3434
- function Sn(e, t) {
3435
- if (!It(e))
3432
+ function Bn(e, t) {
3433
+ if (!Ot(e))
3436
3434
  return null;
3437
- const r = Bn(e);
3438
- return Hn(r, t);
3435
+ const r = Tn(e);
3436
+ return vn(r, t);
3439
3437
  }
3440
- function An(e) {
3438
+ function Sn(e) {
3441
3439
  if (e == null)
3442
3440
  return;
3443
3441
  const t = ce(e);
3444
3442
  for (let r = 0; r < t.length; r++) {
3445
3443
  const n = t[r];
3446
- if (It(n))
3444
+ if (Ot(n))
3447
3445
  return n;
3448
3446
  }
3449
3447
  }
3450
- function wt(e, ...t) {
3451
- delete I[e], z.update((r) => (r[e] = Nr.all([r[e] || {}, ...t]), r));
3448
+ function Nt(e, ...t) {
3449
+ delete I[e], z.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
3452
3450
  }
3453
3451
  X(
3454
3452
  [z],
3455
3453
  ([e]) => Object.keys(e)
3456
3454
  );
3457
- z.subscribe((e) => Ue = e);
3455
+ z.subscribe((e) => Re = e);
3458
3456
  const oe = {};
3459
- function Pn(e, t) {
3457
+ function An(e, t) {
3460
3458
  oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3461
3459
  }
3462
- function Lt(e) {
3460
+ function It(e) {
3463
3461
  return oe[e];
3464
3462
  }
3465
- function On(e) {
3463
+ function Pn(e) {
3466
3464
  return ce(e).map((t) => {
3467
- const r = Lt(t);
3465
+ const r = It(t);
3468
3466
  return [t, r ? [...r] : []];
3469
3467
  }).filter(([, t]) => t.length > 0);
3470
3468
  }
@@ -3472,31 +3470,31 @@ function Ie(e) {
3472
3470
  return e == null ? !1 : ce(e).some(
3473
3471
  (t) => {
3474
3472
  var r;
3475
- return (r = Lt(t)) == null ? void 0 : r.size;
3473
+ return (r = It(t)) == null ? void 0 : r.size;
3476
3474
  }
3477
3475
  );
3478
3476
  }
3479
- function Nn(e, t) {
3477
+ function On(e, t) {
3480
3478
  return Promise.all(
3481
- t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3482
- ).then((n) => wt(e, ...n));
3479
+ t.map((n) => (An(e, n), n().then((i) => i.default || i)))
3480
+ ).then((n) => Nt(e, ...n));
3483
3481
  }
3484
3482
  const Z = {};
3485
- function Ct(e) {
3483
+ function wt(e) {
3486
3484
  if (!Ie(e))
3487
3485
  return e in Z ? Z[e] : Promise.resolve();
3488
- const t = On(e);
3486
+ const t = Pn(e);
3489
3487
  return Z[e] = Promise.all(
3490
3488
  t.map(
3491
- ([r, n]) => Nn(r, n)
3489
+ ([r, n]) => On(r, n)
3492
3490
  )
3493
3491
  ).then(() => {
3494
3492
  if (Ie(e))
3495
- return Ct(e);
3493
+ return wt(e);
3496
3494
  delete Z[e];
3497
3495
  }), Z[e];
3498
3496
  }
3499
- const In = {
3497
+ const Nn = {
3500
3498
  number: {
3501
3499
  scientific: { notation: "scientific" },
3502
3500
  engineering: { notation: "engineering" },
@@ -3525,34 +3523,34 @@ const In = {
3525
3523
  timeZoneName: "short"
3526
3524
  }
3527
3525
  }
3528
- }, wn = {
3526
+ }, In = {
3529
3527
  fallbackLocale: null,
3530
3528
  loadingDelay: 200,
3531
- formats: In,
3529
+ formats: Nn,
3532
3530
  warnOnMissingMessages: !0,
3533
3531
  handleMissingMessage: void 0,
3534
3532
  ignoreTag: !0
3535
- }, Ln = wn;
3533
+ }, wn = In;
3536
3534
  function k() {
3537
- return Ln;
3535
+ return wn;
3538
3536
  }
3539
- const _e = ue(!1);
3540
- 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) => {
3537
+ const _e = he(!1);
3538
+ var Ln = Object.defineProperty, Cn = Object.defineProperties, Mn = Object.getOwnPropertyDescriptors, et = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3541
3539
  for (var r in t || (t = {}))
3542
- $n.call(t, r) && nt(e, r, t[r]);
3543
- if (rt)
3544
- for (var r of rt(t))
3545
- Un.call(t, r) && nt(e, r, t[r]);
3540
+ Rn.call(t, r) && tt(e, r, t[r]);
3541
+ if (et)
3542
+ for (var r of et(t))
3543
+ $n.call(t, r) && tt(e, r, t[r]);
3546
3544
  return e;
3547
- }, Dn = (e, t) => Mn(e, Rn(t));
3545
+ }, Gn = (e, t) => Cn(e, Mn(t));
3548
3546
  let we;
3549
- const ae = ue(null);
3550
- function it(e) {
3547
+ const ae = he(null);
3548
+ function rt(e) {
3551
3549
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3552
3550
  }
3553
3551
  function ce(e, t = k().fallbackLocale) {
3554
- const r = it(e);
3555
- return t ? [.../* @__PURE__ */ new Set([...r, ...it(t)])] : r;
3552
+ const r = rt(e);
3553
+ return t ? [.../* @__PURE__ */ new Set([...r, ...rt(t)])] : r;
3556
3554
  }
3557
3555
  function M() {
3558
3556
  return we != null ? we : void 0;
@@ -3560,22 +3558,22 @@ function M() {
3560
3558
  ae.subscribe((e) => {
3561
3559
  we = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3562
3560
  });
3563
- const Fn = (e) => {
3564
- if (e && An(e) && Ie(e)) {
3561
+ const Dn = (e) => {
3562
+ if (e && Sn(e) && Ie(e)) {
3565
3563
  const { loadingDelay: t } = k();
3566
3564
  let r;
3567
3565
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
3568
3566
  () => _e.set(!0),
3569
3567
  t
3570
- ) : _e.set(!0), Ct(e).then(() => {
3568
+ ) : _e.set(!0), wt(e).then(() => {
3571
3569
  ae.set(e);
3572
3570
  }).finally(() => {
3573
3571
  clearTimeout(r), _e.set(!1);
3574
3572
  });
3575
3573
  }
3576
3574
  return ae.set(e);
3577
- }, w = Dn(Gn({}, ae), {
3578
- set: Fn
3575
+ }, w = Gn(Un({}, ae), {
3576
+ set: Dn
3579
3577
  }), pe = (e) => {
3580
3578
  const t = /* @__PURE__ */ Object.create(null);
3581
3579
  return (n) => {
@@ -3583,20 +3581,20 @@ const Fn = (e) => {
3583
3581
  return i in t ? t[i] : t[i] = e(n);
3584
3582
  };
3585
3583
  };
3586
- 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) => {
3584
+ var Fn = Object.defineProperty, ue = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $e = (e, t) => {
3587
3585
  for (var r in t || (t = {}))
3588
- Mt.call(t, r) && st(e, r, t[r]);
3589
- if (he)
3590
- for (var r of he(t))
3591
- Rt.call(t, r) && st(e, r, t[r]);
3586
+ Lt.call(t, r) && nt(e, r, t[r]);
3587
+ if (ue)
3588
+ for (var r of ue(t))
3589
+ Ct.call(t, r) && nt(e, r, t[r]);
3592
3590
  return e;
3593
3591
  }, W = (e, t) => {
3594
3592
  var r = {};
3595
3593
  for (var n in e)
3596
- Mt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3597
- if (e != null && he)
3598
- for (var n of he(e))
3599
- t.indexOf(n) < 0 && Rt.call(e, n) && (r[n] = e[n]);
3594
+ Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3595
+ if (e != null && ue)
3596
+ for (var n of ue(e))
3597
+ t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
3600
3598
  return r;
3601
3599
  };
3602
3600
  const K = (e, t) => {
@@ -3604,21 +3602,21 @@ const K = (e, t) => {
3604
3602
  if (e in r && t in r[e])
3605
3603
  return r[e][t];
3606
3604
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3607
- }, Vn = pe(
3605
+ }, jn = pe(
3608
3606
  (e) => {
3609
3607
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3610
3608
  if (r == null)
3611
3609
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3612
3610
  return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3613
3611
  }
3614
- ), kn = pe(
3612
+ ), Vn = pe(
3615
3613
  (e) => {
3616
3614
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3617
3615
  if (r == null)
3618
3616
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3619
3617
  return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3620
3618
  }
3621
- ), Xn = pe(
3619
+ ), kn = pe(
3622
3620
  (e) => {
3623
3621
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3624
3622
  if (r == null)
@@ -3627,48 +3625,48 @@ const K = (e, t) => {
3627
3625
  );
3628
3626
  return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3629
3627
  }
3630
- ), zn = (e = {}) => {
3628
+ ), Xn = (e = {}) => {
3631
3629
  var t = e, {
3632
3630
  locale: r = M()
3633
3631
  } = t, n = W(t, [
3634
3632
  "locale"
3635
3633
  ]);
3636
- return Vn(Ge({ locale: r }, n));
3637
- }, Wn = (e = {}) => {
3634
+ return jn($e({ locale: r }, n));
3635
+ }, zn = (e = {}) => {
3638
3636
  var t = e, {
3639
3637
  locale: r = M()
3640
3638
  } = t, n = W(t, [
3641
3639
  "locale"
3642
3640
  ]);
3643
- return kn(Ge({ locale: r }, n));
3644
- }, Zn = (e = {}) => {
3641
+ return Vn($e({ locale: r }, n));
3642
+ }, Wn = (e = {}) => {
3645
3643
  var t = e, {
3646
3644
  locale: r = M()
3647
3645
  } = t, n = W(t, [
3648
3646
  "locale"
3649
3647
  ]);
3650
- return Xn(Ge({ locale: r }, n));
3651
- }, Qn = pe(
3648
+ return kn($e({ locale: r }, n));
3649
+ }, Zn = pe(
3652
3650
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3653
- (e, t = M()) => new vn(e, t, k().formats, {
3651
+ (e, t = M()) => new _n(e, t, k().formats, {
3654
3652
  ignoreTag: k().ignoreTag
3655
3653
  })
3656
- ), Jn = (e, t = {}) => {
3654
+ ), Qn = (e, t = {}) => {
3657
3655
  var r, n, i, s;
3658
3656
  let o = t;
3659
3657
  typeof e == "object" && (o = e, e = o.id);
3660
3658
  const {
3661
3659
  values: a,
3662
- locale: u = M(),
3663
- default: h
3660
+ locale: h = M(),
3661
+ default: u
3664
3662
  } = o;
3665
- if (u == null)
3663
+ if (h == null)
3666
3664
  throw new Error(
3667
3665
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3668
3666
  );
3669
- let l = Nt(e, u);
3667
+ let l = Pt(e, h);
3670
3668
  if (!l)
3671
- 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;
3669
+ l = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3672
3670
  else if (typeof l != "string")
3673
3671
  return console.warn(
3674
3672
  `[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.`
@@ -3677,7 +3675,7 @@ const K = (e, t) => {
3677
3675
  return l;
3678
3676
  let c = l;
3679
3677
  try {
3680
- c = Qn(l, u).format(a);
3678
+ c = Zn(l, h).format(a);
3681
3679
  } catch (f) {
3682
3680
  f instanceof Error && console.warn(
3683
3681
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3685,23 +3683,23 @@ const K = (e, t) => {
3685
3683
  );
3686
3684
  }
3687
3685
  return c;
3688
- }, 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);
3686
+ }, Jn = (e, t) => Wn(t).format(e), qn = (e, t) => zn(t).format(e), Yn = (e, t) => Xn(t).format(e), Kn = (e, t = M()) => Pt(e, t), ei = X([w, z], () => Qn);
3687
+ X([w], () => Jn);
3689
3688
  X([w], () => qn);
3690
3689
  X([w], () => Yn);
3691
- X([w], () => Kn);
3692
- X([w, z], () => ei);
3693
- function ri({ withLocale: e, translations: t }) {
3690
+ X([w, z], () => Kn);
3691
+ function ti({ withLocale: e, translations: t }) {
3694
3692
  w.subscribe((r) => {
3695
3693
  r == null && (z.set(t), w.set(e));
3696
3694
  });
3697
3695
  }
3698
- function ot(e, t) {
3699
- wt(e, t);
3696
+ function it(e, t) {
3697
+ Nt(e, t);
3700
3698
  }
3701
- function ni(e) {
3699
+ function ri(e) {
3702
3700
  w.set(e);
3703
3701
  }
3704
- const at = {
3702
+ const st = {
3705
3703
  en: {
3706
3704
  bets: "bets"
3707
3705
  },
@@ -3727,25 +3725,25 @@ const at = {
3727
3725
  bets: "bets"
3728
3726
  }
3729
3727
  };
3730
- function ii(e) {
3731
- 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}');
3728
+ function ni(e) {
3729
+ 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}');
3732
3730
  }
3733
- function si(e) {
3731
+ function ii(e) {
3734
3732
  let t, r, n, i, s;
3735
3733
  return {
3736
3734
  c() {
3737
- t = Q("div"), r = Q("div"), n = Q("span"), i = qt(
3735
+ t = Q("div"), r = Q("div"), n = Q("span"), i = Qt(
3738
3736
  /*progressText*/
3739
3737
  e[3]
3740
3738
  ), C(n, "part", "progressText"), C(r, "class", s = "stepBar " + /*curTatus*/
3741
3739
  e[4]), C(r, "part", "stepBar"), C(t, "class", "general-icon-progress-bar"), C(t, "part", "totalBar");
3742
3740
  },
3743
3741
  m(o, a) {
3744
- ft(o, t, a), ne(t, r), ne(r, n), ne(n, i), e[13](n), e[14](r), e[15](t);
3742
+ ht(o, t, a), ne(t, r), ne(r, n), ne(n, i), e[13](n), e[14](r), e[15](t);
3745
3743
  },
3746
3744
  p(o, [a]) {
3747
3745
  a & /*progressText*/
3748
- 8 && Kt(
3746
+ 8 && qt(
3749
3747
  i,
3750
3748
  /*progressText*/
3751
3749
  o[3]
@@ -3760,25 +3758,25 @@ function si(e) {
3760
3758
  }
3761
3759
  };
3762
3760
  }
3763
- function oi(e, t, r) {
3761
+ function si(e, t, r) {
3764
3762
  let n;
3765
- Wt(e, ti, (p) => r(20, n = p));
3766
- 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, S, A, v = "0px", N = "active";
3767
- ri({ withLocale: "en", translations: {} });
3763
+ Xt(e, ei, (p) => r(20, n = p));
3764
+ 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, x, g, y, H, S, A, v = "0px", N = "active";
3765
+ ti({ withLocale: "en", translations: {} });
3768
3766
  const O = () => {
3769
- fetch(h).then((L) => L.json()).then((L) => {
3770
- Object.keys(L).forEach((De) => {
3771
- ot(De, L[De]);
3767
+ fetch(u).then((L) => L.json()).then((L) => {
3768
+ Object.keys(L).forEach((Ue) => {
3769
+ it(Ue, L[Ue]);
3772
3770
  });
3773
3771
  }).catch((L) => {
3774
3772
  console.log(L);
3775
3773
  });
3776
3774
  };
3777
- Object.keys(at).forEach((p) => {
3778
- ot(p, at[p]);
3775
+ Object.keys(st).forEach((p) => {
3776
+ it(p, st[p]);
3779
3777
  });
3780
3778
  const R = () => {
3781
- ni(a);
3779
+ ri(a);
3782
3780
  }, te = () => {
3783
3781
  let p = (i / s * 100).toFixed(l);
3784
3782
  setTimeout(
@@ -3787,34 +3785,34 @@ function oi(e, t, r) {
3787
3785
  },
3788
3786
  y ? 573 : 0
3789
3787
  ), 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"), x.style.setProperty("--parentElementHeight", H), g.style.setProperty("--currentStep", p + "%"), g.style.setProperty("--triangleHeight", S), g.style.setProperty("--halfOfTriangleHeight", A), g.style.setProperty("--stepBarBorderRadius", v);
3790
- }, $t = () => {
3791
- r(4, N = u == "active" ? "" : "inactive");
3788
+ }, Mt = () => {
3789
+ r(4, N = h == "active" ? "" : "inactive");
3792
3790
  };
3793
- function Ut(p) {
3791
+ function Rt(p) {
3794
3792
  q[p ? "unshift" : "push"](() => {
3795
3793
  x = p, r(1, x);
3796
3794
  });
3797
3795
  }
3798
- function Gt(p) {
3796
+ function $t(p) {
3799
3797
  q[p ? "unshift" : "push"](() => {
3800
3798
  g = p, r(2, g);
3801
3799
  });
3802
3800
  }
3803
- function Dt(p) {
3801
+ function Ut(p) {
3804
3802
  q[p ? "unshift" : "push"](() => {
3805
3803
  f = p, r(0, f);
3806
3804
  });
3807
3805
  }
3808
3806
  return e.$$set = (p) => {
3809
- "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);
3807
+ "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);
3810
3808
  }, e.$$.update = () => {
3811
3809
  e.$$.dirty & /*triggerreset, total*/
3812
3810
  4160 && c && s && setTimeout(() => {
3813
3811
  te();
3814
3812
  }), e.$$.dirty & /*lang*/
3815
3813
  256 && a && R(), e.$$.dirty & /*status*/
3816
- 512 && u && $t(), e.$$.dirty & /*translationurl*/
3817
- 1024 && h && O();
3814
+ 512 && h && Mt(), e.$$.dirty & /*translationurl*/
3815
+ 1024 && u && O();
3818
3816
  }, [
3819
3817
  f,
3820
3818
  x,
@@ -3825,23 +3823,23 @@ function oi(e, t, r) {
3825
3823
  s,
3826
3824
  o,
3827
3825
  a,
3828
- u,
3829
3826
  h,
3827
+ u,
3830
3828
  l,
3831
3829
  c,
3832
- Ut,
3833
- Gt,
3834
- Dt
3830
+ Rt,
3831
+ $t,
3832
+ Ut
3835
3833
  ];
3836
3834
  }
3837
- class ai extends cr {
3835
+ class oi extends lr {
3838
3836
  constructor(t) {
3839
- super(), lr(
3837
+ super(), ur(
3840
3838
  this,
3841
3839
  t,
3842
- oi,
3843
3840
  si,
3844
- ut,
3841
+ ii,
3842
+ at,
3845
3843
  {
3846
3844
  currentstep: 5,
3847
3845
  total: 6,
@@ -3852,7 +3850,7 @@ class ai extends cr {
3852
3850
  progressfractiondigit: 11,
3853
3851
  triggerreset: 12
3854
3852
  },
3855
- ii
3853
+ ni
3856
3854
  );
3857
3855
  }
3858
3856
  get currentstep() {
@@ -3904,7 +3902,7 @@ class ai extends cr {
3904
3902
  this.$$set({ triggerreset: t }), P();
3905
3903
  }
3906
3904
  }
3907
- fr(ai, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3905
+ hr(oi, { currentstep: {}, total: {}, showaspercent: {}, lang: {}, status: {}, translationurl: {}, progressfractiondigit: {}, triggerreset: {} }, [], [], !0);
3908
3906
  export {
3909
- ai as default
3907
+ oi as default
3910
3908
  };