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