@everymatrix/player-account-gaming-limits-wrapper-2 1.74.3 → 1.74.4

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.
Files changed (24) hide show
  1. package/components/PlayerAccountGamingLimitsHistory2-CJC7ow27.cjs +18 -0
  2. package/components/{PlayerAccountGamingLimitsHistory2-D18-oBtE.js → PlayerAccountGamingLimitsHistory2-IzKR8ALi.js} +916 -902
  3. package/components/{PlayerAccountGamingLimitsHistory2-D0vDUU9k.js → PlayerAccountGamingLimitsHistory2-fnp_hf0j.js} +848 -834
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-CTGEioJz.js → PlayerAccountGamingLimitsPage2Gm16-BPo5joen.js} +28 -28
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-D1HmEdWc.cjs → PlayerAccountGamingLimitsPage2Gm16-Bnkpdvk9.cjs} +4 -4
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16-Bj0JWzFU.js → PlayerAccountGamingLimitsPage2Gm16-DfTXIKEb.js} +39 -39
  7. package/components/{PlayerAccountGamingLimitsWrapper2-Bthc83mu.js → PlayerAccountGamingLimitsWrapper2-C2QBpZYS.js} +6 -6
  8. package/components/{PlayerAccountGamingLimitsWrapper2-M0gzGy0a.js → PlayerAccountGamingLimitsWrapper2-Ci-VYOja.js} +6 -6
  9. package/components/{PlayerAccountGamingLimitsWrapper2-DbUC6xSX.cjs → PlayerAccountGamingLimitsWrapper2-Dd5nJ0ng.cjs} +1 -1
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/{index-b2193545-BbCeNxUG.js → index-b2193545-BtPvM93e.js} +176 -176
  15. package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
  16. package/stencil/{index-b2193545-C9PH-6qK.js → index-b2193545-D_KBbaD-.js} +169 -169
  17. package/stencil/{ui-skeleton-bhljBTS7.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
  18. package/stencil/{ui-skeleton-CJbkvgG7.js → ui-skeleton-CWuMYFGQ.js} +2 -2
  19. package/stencil/{ui-skeleton-BKDs0-7H.js → ui-skeleton-NZtdK490.js} +2 -2
  20. package/stencil/{ui-skeleton-ae35c6f2-CXlvqczG.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
  21. package/stencil/{ui-skeleton-ae35c6f2-ZB0isFAq.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
  22. package/stencil/{ui-skeleton-ae35c6f2-gun6WX2F.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
  23. package/components/PlayerAccountGamingLimitsHistory2-CTnjW3xp.cjs +0 -18
  24. package/stencil/index-b2193545-D-u-gzj3.cjs +0 -1
@@ -1,6 +1,6 @@
1
1
  function B() {
2
2
  }
3
- function Nr(e, t) {
3
+ function Dr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,25 +8,25 @@ function Nr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function $t(e) {
11
+ function Ft(e) {
12
12
  return e();
13
13
  }
14
- function ft() {
14
+ function pt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function ie(e) {
18
- e.forEach($t);
18
+ e.forEach(Ft);
19
19
  }
20
- function at(e) {
20
+ function ut(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Gt(e, t) {
23
+ function jt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function Mr(e) {
26
+ function Ur(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Ft(e, ...t) {
29
+ function kt(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const i of t)
32
32
  i(void 0);
@@ -35,40 +35,40 @@ function Ft(e, ...t) {
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function Rr(e, t, r) {
39
- e.$$.on_destroy.push(Ft(t, r));
38
+ function $r(e, t, r) {
39
+ e.$$.on_destroy.push(kt(t, r));
40
40
  }
41
- function _s(e, t, r, i) {
41
+ function To(e, t, r, i) {
42
42
  if (e) {
43
- const n = jt(e, t, r, i);
43
+ const n = Vt(e, t, r, i);
44
44
  return e[0](n);
45
45
  }
46
46
  }
47
- function jt(e, t, r, i) {
48
- return e[1] && i ? Nr(r.ctx.slice(), e[1](i(t))) : r.ctx;
47
+ function Vt(e, t, r, i) {
48
+ return e[1] && i ? Dr(r.ctx.slice(), e[1](i(t))) : r.ctx;
49
49
  }
50
- function Es(e, t, r, i) {
50
+ function Lo(e, t, r, i) {
51
51
  if (e[2] && i) {
52
52
  const n = e[2](i(r));
53
53
  if (t.dirty === void 0)
54
54
  return n;
55
55
  if (typeof n == "object") {
56
- const s = [], a = Math.max(t.dirty.length, n.length);
57
- for (let o = 0; o < a; o += 1)
58
- s[o] = t.dirty[o] | n[o];
59
- return s;
56
+ const o = [], a = Math.max(t.dirty.length, n.length);
57
+ for (let s = 0; s < a; s += 1)
58
+ o[s] = t.dirty[s] | n[s];
59
+ return o;
60
60
  }
61
61
  return t.dirty | n;
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function xs(e, t, r, i, n, s) {
65
+ function So(e, t, r, i, n, o) {
66
66
  if (n) {
67
- const a = jt(t, r, i, s);
67
+ const a = Vt(t, r, i, o);
68
68
  e.p(a, n);
69
69
  }
70
70
  }
71
- function Ts(e) {
71
+ function wo(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let i = 0; i < r; i++)
@@ -77,20 +77,20 @@ function Ts(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function mt(e) {
80
+ function dt(e) {
81
81
  return e ?? "";
82
82
  }
83
83
  function T(e, t) {
84
84
  e.appendChild(t);
85
85
  }
86
- function Dr(e, t, r) {
87
- const i = Ur(e);
86
+ function Gr(e, t, r) {
87
+ const i = Fr(e);
88
88
  if (!i.getElementById(t)) {
89
89
  const n = A("style");
90
- n.id = t, n.textContent = r, $r(i, n);
90
+ n.id = t, n.textContent = r, jr(i, n);
91
91
  }
92
92
  }
93
- function Ur(e) {
93
+ function Fr(e) {
94
94
  if (!e)
95
95
  return document;
96
96
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -100,7 +100,7 @@ function Ur(e) {
100
100
  t
101
101
  ) : e.ownerDocument;
102
102
  }
103
- function $r(e, t) {
103
+ function jr(e, t) {
104
104
  return T(
105
105
  /** @type {Document} */
106
106
  e.head || e,
@@ -113,7 +113,7 @@ function V(e, t, r) {
113
113
  function G(e) {
114
114
  e.parentNode && e.parentNode.removeChild(e);
115
115
  }
116
- function Gr(e, t) {
116
+ function kr(e, t) {
117
117
  for (let r = 0; r < e.length; r += 1)
118
118
  e[r] && e[r].d(t);
119
119
  }
@@ -126,39 +126,39 @@ function _e(e) {
126
126
  function M(e) {
127
127
  return document.createTextNode(e);
128
128
  }
129
- function We() {
129
+ function Xe() {
130
130
  return M(" ");
131
131
  }
132
- function Ls() {
132
+ function Ao() {
133
133
  return M("");
134
134
  }
135
- function Fr(e, t, r, i) {
135
+ function Vr(e, t, r, i) {
136
136
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
137
137
  }
138
138
  function x(e, t, r) {
139
139
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
140
140
  }
141
- function Ss(e, t, r) {
141
+ function Po(e, t, r) {
142
142
  const i = t.toLowerCase();
143
143
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
144
144
  }
145
- function ws(e) {
145
+ function Ho(e) {
146
146
  return e === "" ? null : +e;
147
147
  }
148
- function jr(e) {
148
+ function Wr(e) {
149
149
  return Array.from(e.childNodes);
150
150
  }
151
151
  function k(e, t) {
152
152
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
153
153
  t);
154
154
  }
155
- function As(e, t) {
155
+ function Io(e, t) {
156
156
  e.value = t ?? "";
157
157
  }
158
- function Ps(e, t, r, i) {
158
+ function Bo(e, t, r, i) {
159
159
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
160
160
  }
161
- function Hs(e, t, r) {
161
+ function Oo(e, t, r) {
162
162
  for (let i = 0; i < e.options.length; i += 1) {
163
163
  const n = e.options[i];
164
164
  if (n.__value === t) {
@@ -168,14 +168,14 @@ function Hs(e, t, r) {
168
168
  }
169
169
  (!r || t !== void 0) && (e.selectedIndex = -1);
170
170
  }
171
- function Is(e) {
171
+ function Co(e) {
172
172
  const t = e.querySelector(":checked");
173
173
  return t && t.__value;
174
174
  }
175
175
  function ge(e, t, r) {
176
176
  e.classList.toggle(t, !!r);
177
177
  }
178
- class Bs {
178
+ class No {
179
179
  /**
180
180
  * @private
181
181
  * @default false
@@ -245,7 +245,7 @@ class Bs {
245
245
  this.n.forEach(G);
246
246
  }
247
247
  }
248
- function kr(e) {
248
+ function Xr(e) {
249
249
  const t = {};
250
250
  return e.childNodes.forEach(
251
251
  /** @param {Element} node */
@@ -258,22 +258,22 @@ let he;
258
258
  function le(e) {
259
259
  he = e;
260
260
  }
261
- function Vr() {
261
+ function zr() {
262
262
  if (!he)
263
263
  throw new Error("Function called outside component initialization");
264
264
  return he;
265
265
  }
266
- function Wr(e) {
267
- Vr().$$.on_mount.push(e);
266
+ function Zr(e) {
267
+ zr().$$.on_mount.push(e);
268
268
  }
269
269
  const Y = [], we = [];
270
270
  let J = [];
271
- const dt = [], Xr = /* @__PURE__ */ Promise.resolve();
272
- let Xe = !1;
273
- function zr() {
274
- Xe || (Xe = !0, Xr.then(O));
271
+ const yt = [], Qr = /* @__PURE__ */ Promise.resolve();
272
+ let ze = !1;
273
+ function Yr() {
274
+ ze || (ze = !0, Qr.then(O));
275
275
  }
276
- function ze(e) {
276
+ function Ze(e) {
277
277
  J.push(e);
278
278
  }
279
279
  const De = /* @__PURE__ */ new Set();
@@ -286,7 +286,7 @@ function O() {
286
286
  try {
287
287
  for (; Z < Y.length; ) {
288
288
  const t = Y[Z];
289
- Z++, le(t), Zr(t.$$);
289
+ Z++, le(t), Jr(t.$$);
290
290
  }
291
291
  } catch (t) {
292
292
  throw Y.length = 0, Z = 0, t;
@@ -299,24 +299,24 @@ function O() {
299
299
  }
300
300
  J.length = 0;
301
301
  } while (Y.length);
302
- for (; dt.length; )
303
- dt.pop()();
304
- Xe = !1, De.clear(), le(e);
302
+ for (; yt.length; )
303
+ yt.pop()();
304
+ ze = !1, De.clear(), le(e);
305
305
  }
306
- function Zr(e) {
306
+ function Jr(e) {
307
307
  if (e.fragment !== null) {
308
308
  e.update(), ie(e.before_update);
309
309
  const t = e.dirty;
310
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
310
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
311
311
  }
312
312
  }
313
- function Qr(e) {
313
+ function qr(e) {
314
314
  const t = [], r = [];
315
315
  J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
316
316
  }
317
317
  const Ee = /* @__PURE__ */ new Set();
318
318
  let X;
319
- function Os() {
319
+ function Mo() {
320
320
  X = {
321
321
  r: 0,
322
322
  c: [],
@@ -324,13 +324,13 @@ function Os() {
324
324
  // parent group
325
325
  };
326
326
  }
327
- function Cs() {
327
+ function Ro() {
328
328
  X.r || ie(X.c), X = X.p;
329
329
  }
330
- function Yr(e, t) {
330
+ function Kr(e, t) {
331
331
  e && e.i && (Ee.delete(e), e.i(t));
332
332
  }
333
- function Ns(e, t, r, i) {
333
+ function Do(e, t, r, i) {
334
334
  if (e && e.o) {
335
335
  if (Ee.has(e))
336
336
  return;
@@ -340,34 +340,34 @@ function Ns(e, t, r, i) {
340
340
  } else
341
341
  i && i();
342
342
  }
343
- function pt(e) {
343
+ function gt(e) {
344
344
  return e?.length !== void 0 ? e : Array.from(e);
345
345
  }
346
- function Jr(e, t, r) {
346
+ function ei(e, t, r) {
347
347
  const { fragment: i, after_update: n } = e.$$;
348
- i && i.m(t, r), ze(() => {
349
- const s = e.$$.on_mount.map($t).filter(at);
350
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
351
- }), n.forEach(ze);
348
+ i && i.m(t, r), Ze(() => {
349
+ const o = e.$$.on_mount.map(Ft).filter(ut);
350
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
351
+ }), n.forEach(Ze);
352
352
  }
353
- function qr(e, t) {
353
+ function ti(e, t) {
354
354
  const r = e.$$;
355
- r.fragment !== null && (Qr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
355
+ r.fragment !== null && (qr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
356
356
  }
357
- function Kr(e, t) {
358
- e.$$.dirty[0] === -1 && (Y.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
357
+ function ri(e, t) {
358
+ e.$$.dirty[0] === -1 && (Y.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
359
359
  }
360
- function ei(e, t, r, i, n, s, a = null, o = [-1]) {
360
+ function ii(e, t, r, i, n, o, a = null, s = [-1]) {
361
361
  const h = he;
362
362
  le(e);
363
363
  const u = e.$$ = {
364
364
  fragment: null,
365
365
  ctx: [],
366
366
  // state
367
- props: s,
367
+ props: o,
368
368
  update: B,
369
369
  not_equal: n,
370
- bound: ft(),
370
+ bound: pt(),
371
371
  // lifecycle
372
372
  on_mount: [],
373
373
  on_destroy: [],
@@ -376,28 +376,28 @@ function ei(e, t, r, i, n, s, a = null, o = [-1]) {
376
376
  after_update: [],
377
377
  context: new Map(t.context || (h ? h.$$.context : [])),
378
378
  // everything else
379
- callbacks: ft(),
380
- dirty: o,
379
+ callbacks: pt(),
380
+ dirty: s,
381
381
  skip_bound: !1,
382
382
  root: t.target || h.$$.root
383
383
  };
384
384
  a && a(u.root);
385
385
  let l = !1;
386
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
387
- const y = d.length ? d[0] : f;
388
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Kr(e, c)), f;
386
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
387
+ const y = p.length ? p[0] : f;
388
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ri(e, c)), f;
389
389
  }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
390
390
  if (t.hydrate) {
391
- const c = jr(t.target);
391
+ const c = Wr(t.target);
392
392
  u.fragment && u.fragment.l(c), c.forEach(G);
393
393
  } else
394
394
  u.fragment && u.fragment.c();
395
- t.intro && Yr(e.$$.fragment), Jr(e, t.target, t.anchor), O();
395
+ t.intro && Kr(e.$$.fragment), ei(e, t.target, t.anchor), O();
396
396
  }
397
397
  le(h);
398
398
  }
399
- let kt;
400
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
399
+ let Wt;
400
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
401
401
  /** The Svelte component constructor */
402
402
  $$ctor;
403
403
  /** Slots */
@@ -436,32 +436,32 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
436
436
  if (this.$$cn = !0, !this.$$c) {
437
437
  let e = function(n) {
438
438
  return () => {
439
- let s;
439
+ let o;
440
440
  return {
441
441
  c: function() {
442
- s = A("slot"), n !== "default" && x(s, "name", n);
442
+ o = A("slot"), n !== "default" && x(o, "name", n);
443
443
  },
444
444
  /**
445
445
  * @param {HTMLElement} target
446
446
  * @param {HTMLElement} [anchor]
447
447
  */
448
448
  m: function(h, u) {
449
- V(h, s, u);
449
+ V(h, o, u);
450
450
  },
451
451
  d: function(h) {
452
- h && G(s);
452
+ h && G(o);
453
453
  }
454
454
  };
455
455
  };
456
456
  };
457
457
  if (await Promise.resolve(), !this.$$cn || this.$$c)
458
458
  return;
459
- const t = {}, r = kr(this);
459
+ const t = {}, r = Xr(this);
460
460
  for (const n of this.$$s)
461
461
  n in r && (t[n] = [e(n)]);
462
462
  for (const n of this.attributes) {
463
- const s = this.$$g_p(n.name);
464
- s in this.$$d || (this.$$d[s] = xe(s, n.value, this.$$p_d, "toProp"));
463
+ const o = this.$$g_p(n.name);
464
+ o in this.$$d || (this.$$d[o] = xe(o, n.value, this.$$p_d, "toProp"));
465
465
  }
466
466
  for (const n in this.$$p_d)
467
467
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -479,21 +479,21 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
479
479
  this.$$r = !0;
480
480
  for (const n in this.$$p_d)
481
481
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
482
- const s = xe(
482
+ const o = xe(
483
483
  n,
484
484
  this.$$d[n],
485
485
  this.$$p_d,
486
486
  "toAttribute"
487
487
  );
488
- s == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, s);
488
+ o == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, o);
489
489
  }
490
490
  this.$$r = !1;
491
491
  };
492
492
  this.$$c.$$.after_update.push(i), i();
493
493
  for (const n in this.$$l)
494
- for (const s of this.$$l[n]) {
495
- const a = this.$$c.$on(n, s);
496
- this.$$l_u.set(s, a);
494
+ for (const o of this.$$l[n]) {
495
+ const a = this.$$c.$on(n, o);
496
+ this.$$l_u.set(o, a);
497
497
  }
498
498
  this.$$l = {};
499
499
  }
@@ -543,36 +543,36 @@ function xe(e, t, r, i) {
543
543
  return t;
544
544
  }
545
545
  }
546
- function ti(e, t, r, i, n, s) {
547
- let a = class extends kt {
546
+ function ni(e, t, r, i, n, o) {
547
+ let a = class extends Wt {
548
548
  constructor() {
549
549
  super(e, r, n), this.$$p_d = t;
550
550
  }
551
551
  static get observedAttributes() {
552
552
  return Object.keys(t).map(
553
- (o) => (t[o].attribute || o).toLowerCase()
553
+ (s) => (t[s].attribute || s).toLowerCase()
554
554
  );
555
555
  }
556
556
  };
557
- return Object.keys(t).forEach((o) => {
558
- Object.defineProperty(a.prototype, o, {
557
+ return Object.keys(t).forEach((s) => {
558
+ Object.defineProperty(a.prototype, s, {
559
559
  get() {
560
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
560
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
561
561
  },
562
562
  set(h) {
563
- h = xe(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
563
+ h = xe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
564
564
  }
565
565
  });
566
- }), i.forEach((o) => {
567
- Object.defineProperty(a.prototype, o, {
566
+ }), i.forEach((s) => {
567
+ Object.defineProperty(a.prototype, s, {
568
568
  get() {
569
- return this.$$c?.[o];
569
+ return this.$$c?.[s];
570
570
  }
571
571
  });
572
572
  }), e.element = /** @type {any} */
573
573
  a, a;
574
574
  }
575
- class ri {
575
+ class oi {
576
576
  /**
577
577
  * ### PRIVATE API
578
578
  *
@@ -591,7 +591,7 @@ class ri {
591
591
  $$set = void 0;
592
592
  /** @returns {void} */
593
593
  $destroy() {
594
- qr(this, 1), this.$destroy = B;
594
+ ti(this, 1), this.$destroy = B;
595
595
  }
596
596
  /**
597
597
  * @template {Extract<keyof Events, string>} K
@@ -600,7 +600,7 @@ class ri {
600
600
  * @returns {() => void}
601
601
  */
602
602
  $on(t, r) {
603
- if (!at(r))
603
+ if (!ut(r))
604
604
  return B;
605
605
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
606
606
  return i.push(r), () => {
@@ -613,11 +613,11 @@ class ri {
613
613
  * @returns {void}
614
614
  */
615
615
  $set(t) {
616
- this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
616
+ this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
617
617
  }
618
618
  }
619
- const ii = "4";
620
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ii);
619
+ const si = "4";
620
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
621
621
  /*! *****************************************************************************
622
622
  Copyright (c) Microsoft Corporation.
623
623
 
@@ -632,18 +632,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
632
632
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
633
633
  PERFORMANCE OF THIS SOFTWARE.
634
634
  ***************************************************************************** */
635
- var Ze = function(e, t) {
636
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
635
+ var Qe = function(e, t) {
636
+ return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
637
637
  r.__proto__ = i;
638
638
  } || function(r, i) {
639
639
  for (var n in i)
640
640
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
641
- }, Ze(e, t);
641
+ }, Qe(e, t);
642
642
  };
643
643
  function F(e, t) {
644
644
  if (typeof t != "function" && t !== null)
645
645
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
646
- Ze(e, t);
646
+ Qe(e, t);
647
647
  function r() {
648
648
  this.constructor = e;
649
649
  }
@@ -653,13 +653,13 @@ var E = function() {
653
653
  return E = Object.assign || function(t) {
654
654
  for (var r, i = 1, n = arguments.length; i < n; i++) {
655
655
  r = arguments[i];
656
- for (var s in r)
657
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
656
+ for (var o in r)
657
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
658
658
  }
659
659
  return t;
660
660
  }, E.apply(this, arguments);
661
661
  };
662
- function ni(e, t) {
662
+ function ai(e, t) {
663
663
  var r = {};
664
664
  for (var i in e)
665
665
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -668,7 +668,7 @@ function ni(e, t) {
668
668
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
669
669
  return r;
670
670
  }
671
- function Qe(e) {
671
+ function Ye(e) {
672
672
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
673
673
  if (r)
674
674
  return r.call(e);
@@ -680,16 +680,16 @@ function Qe(e) {
680
680
  };
681
681
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
682
682
  }
683
- function Ye(e, t) {
683
+ function Je(e, t) {
684
684
  var r = typeof Symbol == "function" && e[Symbol.iterator];
685
685
  if (!r)
686
686
  return e;
687
- var i = r.call(e), n, s = [], a;
687
+ var i = r.call(e), n, o = [], a;
688
688
  try {
689
689
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
690
- s.push(n.value);
691
- } catch (o) {
692
- a = { error: o };
690
+ o.push(n.value);
691
+ } catch (s) {
692
+ a = { error: s };
693
693
  } finally {
694
694
  try {
695
695
  n && !n.done && (r = i.return) && r.call(i);
@@ -698,24 +698,24 @@ function Ye(e, t) {
698
698
  throw a.error;
699
699
  }
700
700
  }
701
- return s;
701
+ return o;
702
702
  }
703
703
  function q(e, t, r) {
704
704
  if (r || arguments.length === 2)
705
- for (var i = 0, n = t.length, s; i < n; i++)
706
- (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
707
- return e.concat(s || t);
705
+ for (var i = 0, n = t.length, o; i < n; i++)
706
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
707
+ return e.concat(o || t);
708
708
  }
709
709
  function $(e) {
710
710
  return typeof e == "function";
711
711
  }
712
- function Vt(e) {
712
+ function Xt(e) {
713
713
  var t = function(i) {
714
714
  Error.call(i), i.stack = new Error().stack;
715
715
  }, r = e(t);
716
716
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
717
717
  }
718
- var Ue = Vt(function(e) {
718
+ var Ue = Xt(function(e) {
719
719
  return function(r) {
720
720
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
721
721
  ` + r.map(function(i, n) {
@@ -724,7 +724,7 @@ var Ue = Vt(function(e) {
724
724
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
725
725
  };
726
726
  });
727
- function Je(e, t) {
727
+ function qe(e, t) {
728
728
  if (e) {
729
729
  var r = e.indexOf(t);
730
730
  0 <= r && e.splice(r, 1);
@@ -735,22 +735,22 @@ var He = function() {
735
735
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
736
736
  }
737
737
  return e.prototype.unsubscribe = function() {
738
- var t, r, i, n, s;
738
+ var t, r, i, n, o;
739
739
  if (!this.closed) {
740
740
  this.closed = !0;
741
741
  var a = this._parentage;
742
742
  if (a)
743
743
  if (this._parentage = null, Array.isArray(a))
744
744
  try {
745
- for (var o = Qe(a), h = o.next(); !h.done; h = o.next()) {
745
+ for (var s = Ye(a), h = s.next(); !h.done; h = s.next()) {
746
746
  var u = h.value;
747
747
  u.remove(this);
748
748
  }
749
- } catch (p) {
750
- t = { error: p };
749
+ } catch (d) {
750
+ t = { error: d };
751
751
  } finally {
752
752
  try {
753
- h && !h.done && (r = o.return) && r.call(o);
753
+ h && !h.done && (r = s.return) && r.call(s);
754
754
  } finally {
755
755
  if (t)
756
756
  throw t.error;
@@ -762,40 +762,40 @@ var He = function() {
762
762
  if ($(l))
763
763
  try {
764
764
  l();
765
- } catch (p) {
766
- s = p instanceof Ue ? p.errors : [p];
765
+ } catch (d) {
766
+ o = d instanceof Ue ? d.errors : [d];
767
767
  }
768
768
  var c = this._finalizers;
769
769
  if (c) {
770
770
  this._finalizers = null;
771
771
  try {
772
- for (var f = Qe(c), d = f.next(); !d.done; d = f.next()) {
773
- var y = d.value;
772
+ for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
773
+ var y = p.value;
774
774
  try {
775
- yt(y);
776
- } catch (p) {
777
- s = s ?? [], p instanceof Ue ? s = q(q([], Ye(s)), Ye(p.errors)) : s.push(p);
775
+ bt(y);
776
+ } catch (d) {
777
+ o = o ?? [], d instanceof Ue ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
778
778
  }
779
779
  }
780
- } catch (p) {
781
- i = { error: p };
780
+ } catch (d) {
781
+ i = { error: d };
782
782
  } finally {
783
783
  try {
784
- d && !d.done && (n = f.return) && n.call(f);
784
+ p && !p.done && (n = f.return) && n.call(f);
785
785
  } finally {
786
786
  if (i)
787
787
  throw i.error;
788
788
  }
789
789
  }
790
790
  }
791
- if (s)
792
- throw new Ue(s);
791
+ if (o)
792
+ throw new Ue(o);
793
793
  }
794
794
  }, e.prototype.add = function(t) {
795
795
  var r;
796
796
  if (t && t !== this)
797
797
  if (this.closed)
798
- yt(t);
798
+ bt(t);
799
799
  else {
800
800
  if (t instanceof e) {
801
801
  if (t.closed || t._hasParent(this))
@@ -812,56 +812,56 @@ var He = function() {
812
812
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
813
813
  }, e.prototype._removeParent = function(t) {
814
814
  var r = this._parentage;
815
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
815
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
816
816
  }, e.prototype.remove = function(t) {
817
817
  var r = this._finalizers;
818
- r && Je(r, t), t instanceof e && t._removeParent(this);
818
+ r && qe(r, t), t instanceof e && t._removeParent(this);
819
819
  }, e.EMPTY = function() {
820
820
  var t = new e();
821
821
  return t.closed = !0, t;
822
822
  }(), e;
823
- }(), Wt = He.EMPTY;
824
- function Xt(e) {
823
+ }(), zt = He.EMPTY;
824
+ function Zt(e) {
825
825
  return e instanceof He || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
826
826
  }
827
- function yt(e) {
827
+ function bt(e) {
828
828
  $(e) ? e() : e.unsubscribe();
829
829
  }
830
- var si = {
830
+ var Qt = {
831
831
  onUnhandledError: null,
832
832
  onStoppedNotification: null,
833
833
  Promise: void 0,
834
834
  useDeprecatedSynchronousErrorHandling: !1,
835
835
  useDeprecatedNextContext: !1
836
- }, oi = {
836
+ }, ui = {
837
837
  setTimeout: function(e, t) {
838
838
  for (var r = [], i = 2; i < arguments.length; i++)
839
839
  r[i - 2] = arguments[i];
840
- return setTimeout.apply(void 0, q([e, t], Ye(r)));
840
+ return setTimeout.apply(void 0, q([e, t], Je(r)));
841
841
  },
842
842
  clearTimeout: function(e) {
843
843
  return clearTimeout(e);
844
844
  },
845
845
  delegate: void 0
846
846
  };
847
- function ai(e) {
848
- oi.setTimeout(function() {
847
+ function li(e) {
848
+ ui.setTimeout(function() {
849
849
  throw e;
850
850
  });
851
851
  }
852
- function gt() {
852
+ function vt() {
853
853
  }
854
854
  function Te(e) {
855
855
  e();
856
856
  }
857
- var zt = function(e) {
857
+ var Yt = function(e) {
858
858
  F(t, e);
859
859
  function t(r) {
860
860
  var i = e.call(this) || this;
861
- return i.isStopped = !1, r ? (i.destination = r, Xt(r) && r.add(i)) : i.destination = hi, i;
861
+ return i.isStopped = !1, r ? (i.destination = r, Zt(r) && r.add(i)) : i.destination = mi, i;
862
862
  }
863
863
  return t.create = function(r, i, n) {
864
- return new qe(r, i, n);
864
+ return new Ke(r, i, n);
865
865
  }, t.prototype.next = function(r) {
866
866
  this.isStopped || this._next(r);
867
867
  }, t.prototype.error = function(r) {
@@ -885,7 +885,11 @@ var zt = function(e) {
885
885
  this.unsubscribe();
886
886
  }
887
887
  }, t;
888
- }(He), ui = function() {
888
+ }(He), hi = Function.prototype.bind;
889
+ function $e(e, t) {
890
+ return hi.call(e, t);
891
+ }
892
+ var ci = function() {
889
893
  function e(t) {
890
894
  this.partialObserver = t;
891
895
  }
@@ -916,43 +920,55 @@ var zt = function(e) {
916
920
  be(r);
917
921
  }
918
922
  }, e;
919
- }(), qe = function(e) {
923
+ }(), Ke = function(e) {
920
924
  F(t, e);
921
925
  function t(r, i, n) {
922
- var s = e.call(this) || this, a;
923
- return $(r) || !r ? a = {
924
- next: r ?? void 0,
925
- error: i ?? void 0,
926
- complete: n ?? void 0
927
- } : a = r, s.destination = new ui(a), s;
926
+ var o = e.call(this) || this, a;
927
+ if ($(r) || !r)
928
+ a = {
929
+ next: r ?? void 0,
930
+ error: i ?? void 0,
931
+ complete: n ?? void 0
932
+ };
933
+ else {
934
+ var s;
935
+ o && Qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
936
+ return o.unsubscribe();
937
+ }, a = {
938
+ next: r.next && $e(r.next, s),
939
+ error: r.error && $e(r.error, s),
940
+ complete: r.complete && $e(r.complete, s)
941
+ }) : a = r;
942
+ }
943
+ return o.destination = new ci(a), o;
928
944
  }
929
945
  return t;
930
- }(zt);
946
+ }(Yt);
931
947
  function be(e) {
932
- ai(e);
948
+ li(e);
933
949
  }
934
- function li(e) {
950
+ function fi(e) {
935
951
  throw e;
936
952
  }
937
- var hi = {
953
+ var mi = {
938
954
  closed: !0,
939
- next: gt,
940
- error: li,
941
- complete: gt
942
- }, ci = function() {
955
+ next: vt,
956
+ error: fi,
957
+ complete: vt
958
+ }, pi = function() {
943
959
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
944
960
  }();
945
- function fi(e) {
961
+ function di(e) {
946
962
  return e;
947
963
  }
948
- function mi(e) {
949
- return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
964
+ function yi(e) {
965
+ return e.length === 0 ? di : e.length === 1 ? e[0] : function(r) {
950
966
  return e.reduce(function(i, n) {
951
967
  return n(i);
952
968
  }, r);
953
969
  };
954
970
  }
955
- var bt = function() {
971
+ var _t = function() {
956
972
  function e(t) {
957
973
  t && (this._subscribe = t);
958
974
  }
@@ -960,11 +976,11 @@ var bt = function() {
960
976
  var r = new e();
961
977
  return r.source = this, r.operator = t, r;
962
978
  }, e.prototype.subscribe = function(t, r, i) {
963
- var n = this, s = pi(t) ? t : new qe(t, r, i);
979
+ var n = this, o = bi(t) ? t : new Ke(t, r, i);
964
980
  return Te(function() {
965
- var a = n, o = a.operator, h = a.source;
966
- s.add(o ? o.call(s, h) : h ? n._subscribe(s) : n._trySubscribe(s));
967
- }), s;
981
+ var a = n, s = a.operator, h = a.source;
982
+ o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
983
+ }), o;
968
984
  }, e.prototype._trySubscribe = function(t) {
969
985
  try {
970
986
  return this._subscribe(t);
@@ -973,16 +989,16 @@ var bt = function() {
973
989
  }
974
990
  }, e.prototype.forEach = function(t, r) {
975
991
  var i = this;
976
- return r = vt(r), new r(function(n, s) {
977
- var a = new qe({
978
- next: function(o) {
992
+ return r = Et(r), new r(function(n, o) {
993
+ var a = new Ke({
994
+ next: function(s) {
979
995
  try {
980
- t(o);
996
+ t(s);
981
997
  } catch (h) {
982
- s(h), a.unsubscribe();
998
+ o(h), a.unsubscribe();
983
999
  }
984
1000
  },
985
- error: s,
1001
+ error: o,
986
1002
  complete: n
987
1003
  });
988
1004
  i.subscribe(a);
@@ -990,70 +1006,70 @@ var bt = function() {
990
1006
  }, e.prototype._subscribe = function(t) {
991
1007
  var r;
992
1008
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
993
- }, e.prototype[ci] = function() {
1009
+ }, e.prototype[pi] = function() {
994
1010
  return this;
995
1011
  }, e.prototype.pipe = function() {
996
1012
  for (var t = [], r = 0; r < arguments.length; r++)
997
1013
  t[r] = arguments[r];
998
- return mi(t)(this);
1014
+ return yi(t)(this);
999
1015
  }, e.prototype.toPromise = function(t) {
1000
1016
  var r = this;
1001
- return t = vt(t), new t(function(i, n) {
1002
- var s;
1017
+ return t = Et(t), new t(function(i, n) {
1018
+ var o;
1003
1019
  r.subscribe(function(a) {
1004
- return s = a;
1020
+ return o = a;
1005
1021
  }, function(a) {
1006
1022
  return n(a);
1007
1023
  }, function() {
1008
- return i(s);
1024
+ return i(o);
1009
1025
  });
1010
1026
  });
1011
1027
  }, e.create = function(t) {
1012
1028
  return new e(t);
1013
1029
  }, e;
1014
1030
  }();
1015
- function vt(e) {
1031
+ function Et(e) {
1016
1032
  var t;
1017
- return (t = e ?? si.Promise) !== null && t !== void 0 ? t : Promise;
1033
+ return (t = e ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
1018
1034
  }
1019
- function di(e) {
1035
+ function gi(e) {
1020
1036
  return e && $(e.next) && $(e.error) && $(e.complete);
1021
1037
  }
1022
- function pi(e) {
1023
- return e && e instanceof zt || di(e) && Xt(e);
1038
+ function bi(e) {
1039
+ return e && e instanceof Yt || gi(e) && Zt(e);
1024
1040
  }
1025
- var yi = Vt(function(e) {
1041
+ var vi = Xt(function(e) {
1026
1042
  return function() {
1027
1043
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1028
1044
  };
1029
- }), Zt = function(e) {
1045
+ }), Jt = function(e) {
1030
1046
  F(t, e);
1031
1047
  function t() {
1032
1048
  var r = e.call(this) || this;
1033
1049
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1034
1050
  }
1035
1051
  return t.prototype.lift = function(r) {
1036
- var i = new _t(this, this);
1052
+ var i = new xt(this, this);
1037
1053
  return i.operator = r, i;
1038
1054
  }, t.prototype._throwIfClosed = function() {
1039
1055
  if (this.closed)
1040
- throw new yi();
1056
+ throw new vi();
1041
1057
  }, t.prototype.next = function(r) {
1042
1058
  var i = this;
1043
1059
  Te(function() {
1044
- var n, s;
1060
+ var n, o;
1045
1061
  if (i._throwIfClosed(), !i.isStopped) {
1046
1062
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
1047
1063
  try {
1048
- for (var a = Qe(i.currentObservers), o = a.next(); !o.done; o = a.next()) {
1049
- var h = o.value;
1064
+ for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
1065
+ var h = s.value;
1050
1066
  h.next(r);
1051
1067
  }
1052
1068
  } catch (u) {
1053
1069
  n = { error: u };
1054
1070
  } finally {
1055
1071
  try {
1056
- o && !o.done && (s = a.return) && s.call(a);
1072
+ s && !s.done && (o = a.return) && o.call(a);
1057
1073
  } finally {
1058
1074
  if (n)
1059
1075
  throw n.error;
@@ -1093,20 +1109,20 @@ var yi = Vt(function(e) {
1093
1109
  }, t.prototype._subscribe = function(r) {
1094
1110
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1095
1111
  }, t.prototype._innerSubscribe = function(r) {
1096
- var i = this, n = this, s = n.hasError, a = n.isStopped, o = n.observers;
1097
- return s || a ? Wt : (this.currentObservers = null, o.push(r), new He(function() {
1098
- i.currentObservers = null, Je(o, r);
1112
+ var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
1113
+ return o || a ? zt : (this.currentObservers = null, s.push(r), new He(function() {
1114
+ i.currentObservers = null, qe(s, r);
1099
1115
  }));
1100
1116
  }, t.prototype._checkFinalizedStatuses = function(r) {
1101
- var i = this, n = i.hasError, s = i.thrownError, a = i.isStopped;
1102
- n ? r.error(s) : a && r.complete();
1117
+ var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
1118
+ n ? r.error(o) : a && r.complete();
1103
1119
  }, t.prototype.asObservable = function() {
1104
- var r = new bt();
1120
+ var r = new _t();
1105
1121
  return r.source = this, r;
1106
1122
  }, t.create = function(r, i) {
1107
- return new _t(r, i);
1123
+ return new xt(r, i);
1108
1124
  }, t;
1109
- }(bt), _t = function(e) {
1125
+ }(_t), xt = function(e) {
1110
1126
  F(t, e);
1111
1127
  function t(r, i) {
1112
1128
  var n = e.call(this) || this;
@@ -1123,45 +1139,45 @@ var yi = Vt(function(e) {
1123
1139
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1124
1140
  }, t.prototype._subscribe = function(r) {
1125
1141
  var i, n;
1126
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Wt;
1142
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : zt;
1127
1143
  }, t;
1128
- }(Zt), Qt = {
1144
+ }(Jt), qt = {
1129
1145
  now: function() {
1130
- return (Qt.delegate || Date).now();
1146
+ return (qt.delegate || Date).now();
1131
1147
  },
1132
1148
  delegate: void 0
1133
- }, gi = function(e) {
1149
+ }, _i = function(e) {
1134
1150
  F(t, e);
1135
1151
  function t(r, i, n) {
1136
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Qt);
1137
- var s = e.call(this) || this;
1138
- return s._bufferSize = r, s._windowTime = i, s._timestampProvider = n, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = i === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, i), s;
1152
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = qt);
1153
+ var o = e.call(this) || this;
1154
+ return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
1139
1155
  }
1140
1156
  return t.prototype.next = function(r) {
1141
- var i = this, n = i.isStopped, s = i._buffer, a = i._infiniteTimeWindow, o = i._timestampProvider, h = i._windowTime;
1142
- n || (s.push(r), !a && s.push(o.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1157
+ var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, h = i._windowTime;
1158
+ n || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1143
1159
  }, t.prototype._subscribe = function(r) {
1144
1160
  this._throwIfClosed(), this._trimBuffer();
1145
- for (var i = this._innerSubscribe(r), n = this, s = n._infiniteTimeWindow, a = n._buffer, o = a.slice(), h = 0; h < o.length && !r.closed; h += s ? 1 : 2)
1146
- r.next(o[h]);
1161
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
1162
+ r.next(s[h]);
1147
1163
  return this._checkFinalizedStatuses(r), i;
1148
1164
  }, t.prototype._trimBuffer = function() {
1149
- var r = this, i = r._bufferSize, n = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * i;
1150
- if (i < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
1151
- for (var h = n.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
1165
+ var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
1166
+ if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1167
+ for (var h = n.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1152
1168
  u = l;
1153
- u && s.splice(0, u + 1);
1169
+ u && o.splice(0, u + 1);
1154
1170
  }
1155
1171
  }, t;
1156
- }(Zt);
1157
- const Et = [], xt = {}, bi = (e, t = 0) => {
1158
- if (Et.indexOf(e) == -1) {
1159
- const r = new gi(t);
1160
- xt[e] = r, Et.push(e);
1172
+ }(Jt);
1173
+ const Tt = [], Lt = {}, Ei = (e, t = 0) => {
1174
+ if (Tt.indexOf(e) == -1) {
1175
+ const r = new _i(t);
1176
+ Lt[e] = r, Tt.push(e);
1161
1177
  }
1162
- return xt[e];
1178
+ return Lt[e];
1163
1179
  }, Q = [];
1164
- function vi(e, t) {
1180
+ function xi(e, t) {
1165
1181
  return {
1166
1182
  subscribe: Ie(e, t).subscribe
1167
1183
  };
@@ -1169,8 +1185,8 @@ function vi(e, t) {
1169
1185
  function Ie(e, t = B) {
1170
1186
  let r;
1171
1187
  const i = /* @__PURE__ */ new Set();
1172
- function n(o) {
1173
- if (Gt(e, o) && (e = o, r)) {
1188
+ function n(s) {
1189
+ if (jt(e, s) && (e = s, r)) {
1174
1190
  const h = !Q.length;
1175
1191
  for (const u of i)
1176
1192
  u[1](), Q.push(u, e);
@@ -1181,23 +1197,23 @@ function Ie(e, t = B) {
1181
1197
  }
1182
1198
  }
1183
1199
  }
1184
- function s(o) {
1185
- n(o(e));
1200
+ function o(s) {
1201
+ n(s(e));
1186
1202
  }
1187
- function a(o, h = B) {
1188
- const u = [o, h];
1189
- return i.add(u), i.size === 1 && (r = t(n, s) || B), o(e), () => {
1203
+ function a(s, h = B) {
1204
+ const u = [s, h];
1205
+ return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
1190
1206
  i.delete(u), i.size === 0 && r && (r(), r = null);
1191
1207
  };
1192
1208
  }
1193
- return { set: n, update: s, subscribe: a };
1209
+ return { set: n, update: o, subscribe: a };
1194
1210
  }
1195
1211
  function ne(e, t, r) {
1196
1212
  const i = !Array.isArray(e), n = i ? [e] : e;
1197
1213
  if (!n.every(Boolean))
1198
1214
  throw new Error("derived() expects stores as input, got a falsy value");
1199
- const s = t.length < 2;
1200
- return vi(r, (a, o) => {
1215
+ const o = t.length < 2;
1216
+ return xi(r, (a, s) => {
1201
1217
  let h = !1;
1202
1218
  const u = [];
1203
1219
  let l = 0, c = B;
@@ -1205,88 +1221,88 @@ function ne(e, t, r) {
1205
1221
  if (l)
1206
1222
  return;
1207
1223
  c();
1208
- const y = t(i ? u[0] : u, a, o);
1209
- s ? a(y) : c = at(y) ? y : B;
1210
- }, d = n.map(
1211
- (y, p) => Ft(
1224
+ const y = t(i ? u[0] : u, a, s);
1225
+ o ? a(y) : c = ut(y) ? y : B;
1226
+ }, p = n.map(
1227
+ (y, d) => kt(
1212
1228
  y,
1213
1229
  (v) => {
1214
- u[p] = v, l &= ~(1 << p), h && f();
1230
+ u[d] = v, l &= ~(1 << d), h && f();
1215
1231
  },
1216
1232
  () => {
1217
- l |= 1 << p;
1233
+ l |= 1 << d;
1218
1234
  }
1219
1235
  )
1220
1236
  );
1221
1237
  return h = !0, f(), function() {
1222
- ie(d), c(), h = !1;
1238
+ ie(p), c(), h = !1;
1223
1239
  };
1224
1240
  });
1225
1241
  }
1226
- function _i(e) {
1227
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1242
+ function Ti(e) {
1243
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1228
1244
  }
1229
- var Ei = function(t) {
1230
- return xi(t) && !Ti(t);
1245
+ var Li = function(t) {
1246
+ return Si(t) && !wi(t);
1231
1247
  };
1232
- function xi(e) {
1248
+ function Si(e) {
1233
1249
  return !!e && typeof e == "object";
1234
1250
  }
1235
- function Ti(e) {
1251
+ function wi(e) {
1236
1252
  var t = Object.prototype.toString.call(e);
1237
- return t === "[object RegExp]" || t === "[object Date]" || wi(e);
1253
+ return t === "[object RegExp]" || t === "[object Date]" || Hi(e);
1238
1254
  }
1239
- var Li = typeof Symbol == "function" && Symbol.for, Si = Li ? Symbol.for("react.element") : 60103;
1240
- function wi(e) {
1241
- return e.$$typeof === Si;
1255
+ var Ai = typeof Symbol == "function" && Symbol.for, Pi = Ai ? Symbol.for("react.element") : 60103;
1256
+ function Hi(e) {
1257
+ return e.$$typeof === Pi;
1242
1258
  }
1243
- function Ai(e) {
1259
+ function Ii(e) {
1244
1260
  return Array.isArray(e) ? [] : {};
1245
1261
  }
1246
1262
  function ce(e, t) {
1247
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Ai(e), e, t) : e;
1263
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Ii(e), e, t) : e;
1248
1264
  }
1249
- function Pi(e, t, r) {
1265
+ function Bi(e, t, r) {
1250
1266
  return e.concat(t).map(function(i) {
1251
1267
  return ce(i, r);
1252
1268
  });
1253
1269
  }
1254
- function Hi(e, t) {
1270
+ function Oi(e, t) {
1255
1271
  if (!t.customMerge)
1256
1272
  return K;
1257
1273
  var r = t.customMerge(e);
1258
1274
  return typeof r == "function" ? r : K;
1259
1275
  }
1260
- function Ii(e) {
1276
+ function Ci(e) {
1261
1277
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1262
1278
  return Object.propertyIsEnumerable.call(e, t);
1263
1279
  }) : [];
1264
1280
  }
1265
- function Tt(e) {
1266
- return Object.keys(e).concat(Ii(e));
1281
+ function St(e) {
1282
+ return Object.keys(e).concat(Ci(e));
1267
1283
  }
1268
- function Yt(e, t) {
1284
+ function Kt(e, t) {
1269
1285
  try {
1270
1286
  return t in e;
1271
1287
  } catch {
1272
1288
  return !1;
1273
1289
  }
1274
1290
  }
1275
- function Bi(e, t) {
1276
- return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1291
+ function Ni(e, t) {
1292
+ return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1277
1293
  }
1278
- function Oi(e, t, r) {
1294
+ function Mi(e, t, r) {
1279
1295
  var i = {};
1280
- return r.isMergeableObject(e) && Tt(e).forEach(function(n) {
1296
+ return r.isMergeableObject(e) && St(e).forEach(function(n) {
1281
1297
  i[n] = ce(e[n], r);
1282
- }), Tt(t).forEach(function(n) {
1283
- Bi(e, n) || (Yt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Hi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1298
+ }), St(t).forEach(function(n) {
1299
+ Ni(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Oi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1284
1300
  }), i;
1285
1301
  }
1286
1302
  function K(e, t, r) {
1287
- r = r || {}, r.arrayMerge = r.arrayMerge || Pi, r.isMergeableObject = r.isMergeableObject || Ei, r.cloneUnlessOtherwiseSpecified = ce;
1288
- var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
1289
- return s ? i ? r.arrayMerge(e, t, r) : Oi(e, t, r) : ce(t, r);
1303
+ r = r || {}, r.arrayMerge = r.arrayMerge || Bi, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = ce;
1304
+ var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1305
+ return o ? i ? r.arrayMerge(e, t, r) : Mi(e, t, r) : ce(t, r);
1290
1306
  }
1291
1307
  K.all = function(t, r) {
1292
1308
  if (!Array.isArray(t))
@@ -1295,60 +1311,58 @@ K.all = function(t, r) {
1295
1311
  return K(i, n, r);
1296
1312
  }, {});
1297
1313
  };
1298
- var Ci = K, Ni = Ci;
1299
- const Mi = /* @__PURE__ */ _i(Ni);
1300
- function $e(e, t) {
1301
- var r = t && t.cache ? t.cache : ji, i = t && t.serializer ? t.serializer : Gi, n = t && t.strategy ? t.strategy : Di;
1314
+ var Ri = K, Di = Ri;
1315
+ const Ui = /* @__PURE__ */ Ti(Di);
1316
+ function Ge(e, t) {
1317
+ var r = t && t.cache ? t.cache : Vi, i = t && t.serializer ? t.serializer : ki, n = t && t.strategy ? t.strategy : Gi;
1302
1318
  return n(e, {
1303
1319
  cache: r,
1304
1320
  serializer: i
1305
1321
  });
1306
1322
  }
1307
- function Ri(e) {
1323
+ function $i(e) {
1308
1324
  return e == null || typeof e == "number" || typeof e == "boolean";
1309
1325
  }
1310
- function Jt(e, t, r, i) {
1311
- var n = Ri(i) ? i : r(i), s = t.get(n);
1312
- return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
1326
+ function er(e, t, r, i) {
1327
+ var n = $i(i) ? i : r(i), o = t.get(n);
1328
+ return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
1313
1329
  }
1314
- function qt(e, t, r) {
1315
- var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
1316
- return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
1330
+ function tr(e, t, r) {
1331
+ var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1332
+ return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
1317
1333
  }
1318
- function ut(e, t, r, i, n) {
1334
+ function lt(e, t, r, i, n) {
1319
1335
  return r.bind(t, e, i, n);
1320
1336
  }
1321
- function Di(e, t) {
1322
- var r = e.length === 1 ? Jt : qt;
1323
- return ut(e, this, r, t.cache.create(), t.serializer);
1337
+ function Gi(e, t) {
1338
+ var r = e.length === 1 ? er : tr;
1339
+ return lt(e, this, r, t.cache.create(), t.serializer);
1324
1340
  }
1325
- function Ui(e, t) {
1326
- return ut(e, this, qt, t.cache.create(), t.serializer);
1341
+ function Fi(e, t) {
1342
+ return lt(e, this, tr, t.cache.create(), t.serializer);
1327
1343
  }
1328
- function $i(e, t) {
1329
- return ut(e, this, Jt, t.cache.create(), t.serializer);
1344
+ function ji(e, t) {
1345
+ return lt(e, this, er, t.cache.create(), t.serializer);
1330
1346
  }
1331
- var Gi = function() {
1347
+ var ki = function() {
1332
1348
  return JSON.stringify(arguments);
1333
- }, Fi = (
1334
- /** @class */
1335
- function() {
1336
- function e() {
1337
- this.cache = /* @__PURE__ */ Object.create(null);
1338
- }
1339
- return e.prototype.get = function(t) {
1340
- return this.cache[t];
1341
- }, e.prototype.set = function(t, r) {
1342
- this.cache[t] = r;
1343
- }, e;
1344
- }()
1345
- ), ji = {
1349
+ };
1350
+ function ht() {
1351
+ this.cache = /* @__PURE__ */ Object.create(null);
1352
+ }
1353
+ ht.prototype.get = function(e) {
1354
+ return this.cache[e];
1355
+ };
1356
+ ht.prototype.set = function(e, t) {
1357
+ this.cache[e] = t;
1358
+ };
1359
+ var Vi = {
1346
1360
  create: function() {
1347
- return new Fi();
1361
+ return new ht();
1348
1362
  }
1349
- }, Ge = {
1350
- variadic: Ui,
1351
- monadic: $i
1363
+ }, Fe = {
1364
+ variadic: Fi,
1365
+ monadic: ji
1352
1366
  }, b;
1353
1367
  (function(e) {
1354
1368
  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";
@@ -1361,43 +1375,43 @@ var ee;
1361
1375
  (function(e) {
1362
1376
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1363
1377
  })(ee || (ee = {}));
1364
- function Lt(e) {
1378
+ function wt(e) {
1365
1379
  return e.type === S.literal;
1366
1380
  }
1367
- function ki(e) {
1381
+ function Wi(e) {
1368
1382
  return e.type === S.argument;
1369
1383
  }
1370
- function Kt(e) {
1384
+ function rr(e) {
1371
1385
  return e.type === S.number;
1372
1386
  }
1373
- function er(e) {
1387
+ function ir(e) {
1374
1388
  return e.type === S.date;
1375
1389
  }
1376
- function tr(e) {
1390
+ function nr(e) {
1377
1391
  return e.type === S.time;
1378
1392
  }
1379
- function rr(e) {
1393
+ function or(e) {
1380
1394
  return e.type === S.select;
1381
1395
  }
1382
- function ir(e) {
1396
+ function sr(e) {
1383
1397
  return e.type === S.plural;
1384
1398
  }
1385
- function Vi(e) {
1399
+ function Xi(e) {
1386
1400
  return e.type === S.pound;
1387
1401
  }
1388
- function nr(e) {
1402
+ function ar(e) {
1389
1403
  return e.type === S.tag;
1390
1404
  }
1391
- function sr(e) {
1405
+ function ur(e) {
1392
1406
  return !!(e && typeof e == "object" && e.type === ee.number);
1393
1407
  }
1394
- function Ke(e) {
1408
+ function et(e) {
1395
1409
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
1396
1410
  }
1397
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1398
- function Xi(e) {
1411
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zi = /(?:[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;
1412
+ function Zi(e) {
1399
1413
  var t = {};
1400
- return e.replace(Wi, function(r) {
1414
+ return e.replace(zi, function(r) {
1401
1415
  var i = r.length;
1402
1416
  switch (r[0]) {
1403
1417
  case "G":
@@ -1486,36 +1500,36 @@ function Xi(e) {
1486
1500
  return "";
1487
1501
  }), t;
1488
1502
  }
1489
- var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1490
- function Zi(e) {
1503
+ var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1504
+ function Yi(e) {
1491
1505
  if (e.length === 0)
1492
1506
  throw new Error("Number skeleton cannot be empty");
1493
- for (var t = e.split(zi).filter(function(f) {
1507
+ for (var t = e.split(Qi).filter(function(f) {
1494
1508
  return f.length > 0;
1495
1509
  }), r = [], i = 0, n = t; i < n.length; i++) {
1496
- var s = n[i], a = s.split("/");
1510
+ var o = n[i], a = o.split("/");
1497
1511
  if (a.length === 0)
1498
1512
  throw new Error("Invalid number skeleton");
1499
- for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1513
+ for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1500
1514
  var c = l[u];
1501
1515
  if (c.length === 0)
1502
1516
  throw new Error("Invalid number skeleton");
1503
1517
  }
1504
- r.push({ stem: o, options: h });
1518
+ r.push({ stem: s, options: h });
1505
1519
  }
1506
1520
  return r;
1507
1521
  }
1508
- function Qi(e) {
1522
+ function Ji(e) {
1509
1523
  return e.replace(/^(.*?)-/, "");
1510
1524
  }
1511
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1512
- function wt(e) {
1525
+ var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, qi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1526
+ function Pt(e) {
1513
1527
  var t = {};
1514
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, i, n) {
1528
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
1515
1529
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
1516
1530
  }), t;
1517
1531
  }
1518
- function lr(e) {
1532
+ function fr(e) {
1519
1533
  switch (e) {
1520
1534
  case "sign-auto":
1521
1535
  return {
@@ -1555,7 +1569,7 @@ function lr(e) {
1555
1569
  };
1556
1570
  }
1557
1571
  }
1558
- function Ji(e) {
1572
+ function Ki(e) {
1559
1573
  var t;
1560
1574
  if (e[0] === "E" && e[1] === "E" ? (t = {
1561
1575
  notation: "engineering"
@@ -1563,17 +1577,17 @@ function Ji(e) {
1563
1577
  notation: "scientific"
1564
1578
  }, e = e.slice(1)), t) {
1565
1579
  var r = e.slice(0, 2);
1566
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1580
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1567
1581
  throw new Error("Malformed concise eng/scientific notation");
1568
1582
  t.minimumIntegerDigits = e.length;
1569
1583
  }
1570
1584
  return t;
1571
1585
  }
1572
- function At(e) {
1573
- var t = {}, r = lr(e);
1586
+ function Ht(e) {
1587
+ var t = {}, r = fr(e);
1574
1588
  return r || t;
1575
1589
  }
1576
- function qi(e) {
1590
+ function en(e) {
1577
1591
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1578
1592
  var n = i[r];
1579
1593
  switch (n.stem) {
@@ -1597,7 +1611,7 @@ function qi(e) {
1597
1611
  continue;
1598
1612
  case "measure-unit":
1599
1613
  case "unit":
1600
- t.style = "unit", t.unit = Qi(n.options[0]);
1614
+ t.style = "unit", t.unit = Ji(n.options[0]);
1601
1615
  continue;
1602
1616
  case "compact-short":
1603
1617
  case "K":
@@ -1609,12 +1623,12 @@ function qi(e) {
1609
1623
  continue;
1610
1624
  case "scientific":
1611
1625
  t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
1612
- return E(E({}, h), At(u));
1626
+ return E(E({}, h), Ht(u));
1613
1627
  }, {}));
1614
1628
  continue;
1615
1629
  case "engineering":
1616
1630
  t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
1617
- return E(E({}, h), At(u));
1631
+ return E(E({}, h), Ht(u));
1618
1632
  }, {}));
1619
1633
  continue;
1620
1634
  case "notation-simple":
@@ -1659,41 +1673,41 @@ function qi(e) {
1659
1673
  case "integer-width":
1660
1674
  if (n.options.length > 1)
1661
1675
  throw new RangeError("integer-width stems only accept a single optional option");
1662
- n.options[0].replace(Yi, function(h, u, l, c, f, d) {
1676
+ n.options[0].replace(qi, function(h, u, l, c, f, p) {
1663
1677
  if (u)
1664
1678
  t.minimumIntegerDigits = l.length;
1665
1679
  else {
1666
1680
  if (c && f)
1667
1681
  throw new Error("We currently do not support maximum integer digits");
1668
- if (d)
1682
+ if (p)
1669
1683
  throw new Error("We currently do not support exact integer digits");
1670
1684
  }
1671
1685
  return "";
1672
1686
  });
1673
1687
  continue;
1674
1688
  }
1675
- if (ur.test(n.stem)) {
1689
+ if (cr.test(n.stem)) {
1676
1690
  t.minimumIntegerDigits = n.stem.length;
1677
1691
  continue;
1678
1692
  }
1679
- if (St.test(n.stem)) {
1693
+ if (At.test(n.stem)) {
1680
1694
  if (n.options.length > 1)
1681
1695
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1682
- n.stem.replace(St, function(h, u, l, c, f, d) {
1683
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1696
+ n.stem.replace(At, function(h, u, l, c, f, p) {
1697
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1684
1698
  });
1685
- var s = n.options[0];
1686
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), wt(s)));
1699
+ var o = n.options[0];
1700
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
1687
1701
  continue;
1688
1702
  }
1689
- if (ar.test(n.stem)) {
1690
- t = E(E({}, t), wt(n.stem));
1703
+ if (hr.test(n.stem)) {
1704
+ t = E(E({}, t), Pt(n.stem));
1691
1705
  continue;
1692
1706
  }
1693
- var a = lr(n.stem);
1707
+ var a = fr(n.stem);
1694
1708
  a && (t = E(E({}, t), a));
1695
- var o = Ji(n.stem);
1696
- o && (t = E(E({}, t), o));
1709
+ var s = Ki(n.stem);
1710
+ s && (t = E(E({}, t), s));
1697
1711
  }
1698
1712
  return t;
1699
1713
  }
@@ -3112,14 +3126,14 @@ var ve = {
3112
3126
  "h"
3113
3127
  ]
3114
3128
  };
3115
- function Ki(e, t) {
3129
+ function tn(e, t) {
3116
3130
  for (var r = "", i = 0; i < e.length; i++) {
3117
3131
  var n = e.charAt(i);
3118
3132
  if (n === "j") {
3119
- for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3120
- s++, i++;
3121
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = en(t);
3122
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3133
+ for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3134
+ o++, i++;
3135
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = rn(t);
3136
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3123
3137
  r += h;
3124
3138
  for (; a-- > 0; )
3125
3139
  r = u + r;
@@ -3128,7 +3142,7 @@ function Ki(e, t) {
3128
3142
  }
3129
3143
  return r;
3130
3144
  }
3131
- function en(e) {
3145
+ function rn(e) {
3132
3146
  var t = e.hourCycle;
3133
3147
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3134
3148
  e.hourCycles && // @ts-ignore
@@ -3150,20 +3164,20 @@ function en(e) {
3150
3164
  var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3151
3165
  return n[0];
3152
3166
  }
3153
- var Fe, tn = new RegExp("^".concat(or.source, "*")), rn = new RegExp("".concat(or.source, "*$"));
3167
+ var je, nn = new RegExp("^".concat(lr.source, "*")), on = new RegExp("".concat(lr.source, "*$"));
3154
3168
  function _(e, t) {
3155
3169
  return { start: e, end: t };
3156
3170
  }
3157
- var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), sn = !!String.fromCodePoint, on = !!Object.fromEntries, an = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, cn = hn ? Number.isSafeInteger : function(e) {
3171
+ var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, ln = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, mn = fn ? Number.isSafeInteger : function(e) {
3158
3172
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3159
- }, et = !0;
3173
+ }, tt = !0;
3160
3174
  try {
3161
- var fn = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3162
- et = ((Fe = fn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3175
+ var pn = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3176
+ tt = ((je = pn.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3163
3177
  } catch {
3164
- et = !1;
3178
+ tt = !1;
3165
3179
  }
3166
- var Pt = nn ? (
3180
+ var It = sn ? (
3167
3181
  // Native
3168
3182
  function(t, r, i) {
3169
3183
  return t.startsWith(r, i);
@@ -3173,31 +3187,31 @@ var Pt = nn ? (
3173
3187
  function(t, r, i) {
3174
3188
  return t.slice(i, i + r.length) === r;
3175
3189
  }
3176
- ), tt = sn ? String.fromCodePoint : (
3190
+ ), rt = an ? String.fromCodePoint : (
3177
3191
  // IE11
3178
3192
  function() {
3179
3193
  for (var t = [], r = 0; r < arguments.length; r++)
3180
3194
  t[r] = arguments[r];
3181
- for (var i = "", n = t.length, s = 0, a; n > s; ) {
3182
- if (a = t[s++], a > 1114111)
3195
+ for (var i = "", n = t.length, o = 0, a; n > o; ) {
3196
+ if (a = t[o++], a > 1114111)
3183
3197
  throw RangeError(a + " is not a valid code point");
3184
3198
  i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3185
3199
  }
3186
3200
  return i;
3187
3201
  }
3188
- ), Ht = (
3202
+ ), Bt = (
3189
3203
  // native
3190
- on ? Object.fromEntries : (
3204
+ un ? Object.fromEntries : (
3191
3205
  // Ponyfill
3192
3206
  function(t) {
3193
3207
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3194
- var s = n[i], a = s[0], o = s[1];
3195
- r[a] = o;
3208
+ var o = n[i], a = o[0], s = o[1];
3209
+ r[a] = s;
3196
3210
  }
3197
3211
  return r;
3198
3212
  }
3199
3213
  )
3200
- ), hr = an ? (
3214
+ ), mr = ln ? (
3201
3215
  // Native
3202
3216
  function(t, r) {
3203
3217
  return t.codePointAt(r);
@@ -3207,11 +3221,11 @@ var Pt = nn ? (
3207
3221
  function(t, r) {
3208
3222
  var i = t.length;
3209
3223
  if (!(r < 0 || r >= i)) {
3210
- var n = t.charCodeAt(r), s;
3211
- return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
3224
+ var n = t.charCodeAt(r), o;
3225
+ return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3212
3226
  }
3213
3227
  }
3214
- ), mn = un ? (
3228
+ ), dn = hn ? (
3215
3229
  // Native
3216
3230
  function(t) {
3217
3231
  return t.trimStart();
@@ -3219,9 +3233,9 @@ var Pt = nn ? (
3219
3233
  ) : (
3220
3234
  // Ponyfill
3221
3235
  function(t) {
3222
- return t.replace(tn, "");
3236
+ return t.replace(nn, "");
3223
3237
  }
3224
- ), dn = ln ? (
3238
+ ), yn = cn ? (
3225
3239
  // Native
3226
3240
  function(t) {
3227
3241
  return t.trimEnd();
@@ -3229,32 +3243,32 @@ var Pt = nn ? (
3229
3243
  ) : (
3230
3244
  // Ponyfill
3231
3245
  function(t) {
3232
- return t.replace(rn, "");
3246
+ return t.replace(on, "");
3233
3247
  }
3234
3248
  );
3235
- function cr(e, t) {
3249
+ function pr(e, t) {
3236
3250
  return new RegExp(e, t);
3237
3251
  }
3238
- var rt;
3239
- if (et) {
3240
- var It = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3241
- rt = function(t, r) {
3252
+ var it;
3253
+ if (tt) {
3254
+ var Ot = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3255
+ it = function(t, r) {
3242
3256
  var i;
3243
- It.lastIndex = r;
3244
- var n = It.exec(t);
3257
+ Ot.lastIndex = r;
3258
+ var n = Ot.exec(t);
3245
3259
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3246
3260
  };
3247
3261
  } else
3248
- rt = function(t, r) {
3262
+ it = function(t, r) {
3249
3263
  for (var i = []; ; ) {
3250
- var n = hr(t, r);
3251
- if (n === void 0 || fr(n) || bn(n))
3264
+ var n = mr(t, r);
3265
+ if (n === void 0 || dr(n) || _n(n))
3252
3266
  break;
3253
3267
  i.push(n), r += n >= 65536 ? 2 : 1;
3254
3268
  }
3255
- return tt.apply(void 0, i);
3269
+ return rt.apply(void 0, i);
3256
3270
  };
3257
- var pn = (
3271
+ var gn = (
3258
3272
  /** @class */
3259
3273
  function() {
3260
3274
  function e(t, r) {
@@ -3266,26 +3280,26 @@ var pn = (
3266
3280
  return this.parseMessage(0, "", !1);
3267
3281
  }, e.prototype.parseMessage = function(t, r, i) {
3268
3282
  for (var n = []; !this.isEOF(); ) {
3269
- var s = this.char();
3270
- if (s === 123) {
3283
+ var o = this.char();
3284
+ if (o === 123) {
3271
3285
  var a = this.parseArgument(t, i);
3272
3286
  if (a.err)
3273
3287
  return a;
3274
3288
  n.push(a.val);
3275
3289
  } else {
3276
- if (s === 125 && t > 0)
3290
+ if (o === 125 && t > 0)
3277
3291
  break;
3278
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
3279
- var o = this.clonePosition();
3292
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3293
+ var s = this.clonePosition();
3280
3294
  this.bump(), n.push({
3281
3295
  type: S.pound,
3282
- location: _(o, this.clonePosition())
3296
+ location: _(s, this.clonePosition())
3283
3297
  });
3284
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3298
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3285
3299
  if (i)
3286
3300
  break;
3287
3301
  return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3288
- } else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3302
+ } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3289
3303
  var a = this.parseTag(t, r);
3290
3304
  if (a.err)
3291
3305
  return a;
@@ -3313,13 +3327,13 @@ var pn = (
3313
3327
  err: null
3314
3328
  };
3315
3329
  if (this.bumpIf(">")) {
3316
- var s = this.parseMessage(t + 1, r, !0);
3317
- if (s.err)
3318
- return s;
3319
- var a = s.val, o = this.clonePosition();
3330
+ var o = this.parseMessage(t + 1, r, !0);
3331
+ if (o.err)
3332
+ return o;
3333
+ var a = o.val, s = this.clonePosition();
3320
3334
  if (this.bumpIf("</")) {
3321
- if (this.isEOF() || !it(this.char()))
3322
- return this.error(b.INVALID_TAG, _(o, this.clonePosition()));
3335
+ if (this.isEOF() || !nt(this.char()))
3336
+ return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
3323
3337
  var h = this.clonePosition(), u = this.parseTagName();
3324
3338
  return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3325
3339
  val: {
@@ -3329,21 +3343,21 @@ var pn = (
3329
3343
  location: _(i, this.clonePosition())
3330
3344
  },
3331
3345
  err: null
3332
- } : this.error(b.INVALID_TAG, _(o, this.clonePosition())));
3346
+ } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
3333
3347
  } else
3334
3348
  return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
3335
3349
  } else
3336
3350
  return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
3337
3351
  }, e.prototype.parseTagName = function() {
3338
3352
  var t = this.offset();
3339
- for (this.bump(); !this.isEOF() && gn(this.char()); )
3353
+ for (this.bump(); !this.isEOF() && vn(this.char()); )
3340
3354
  this.bump();
3341
3355
  return this.message.slice(t, this.offset());
3342
3356
  }, e.prototype.parseLiteral = function(t, r) {
3343
3357
  for (var i = this.clonePosition(), n = ""; ; ) {
3344
- var s = this.tryParseQuote(r);
3345
- if (s) {
3346
- n += s;
3358
+ var o = this.tryParseQuote(r);
3359
+ if (o) {
3360
+ n += o;
3347
3361
  continue;
3348
3362
  }
3349
3363
  var a = this.tryParseUnquoted(t, r);
@@ -3351,9 +3365,9 @@ var pn = (
3351
3365
  n += a;
3352
3366
  continue;
3353
3367
  }
3354
- var o = this.tryParseLeftAngleBracket();
3355
- if (o) {
3356
- n += o;
3368
+ var s = this.tryParseLeftAngleBracket();
3369
+ if (s) {
3370
+ n += s;
3357
3371
  continue;
3358
3372
  }
3359
3373
  break;
@@ -3365,7 +3379,7 @@ var pn = (
3365
3379
  };
3366
3380
  }, e.prototype.tryParseLeftAngleBracket = function() {
3367
3381
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3368
- !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3382
+ !bn(this.peek() || 0)) ? (this.bump(), "<") : null;
3369
3383
  }, e.prototype.tryParseQuote = function(t) {
3370
3384
  if (this.isEOF() || this.char() !== 39)
3371
3385
  return null;
@@ -3399,12 +3413,12 @@ var pn = (
3399
3413
  r.push(i);
3400
3414
  this.bump();
3401
3415
  }
3402
- return tt.apply(void 0, r);
3416
+ return rt.apply(void 0, r);
3403
3417
  }, e.prototype.tryParseUnquoted = function(t, r) {
3404
3418
  if (this.isEOF())
3405
3419
  return null;
3406
3420
  var i = this.char();
3407
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
3421
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
3408
3422
  }, e.prototype.parseArgument = function(t, r) {
3409
3423
  var i = this.clonePosition();
3410
3424
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3433,13 +3447,13 @@ var pn = (
3433
3447
  return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3434
3448
  }
3435
3449
  }, e.prototype.parseIdentifierIfPossible = function() {
3436
- var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
3450
+ var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
3437
3451
  this.bumpTo(n);
3438
- var s = this.clonePosition(), a = _(t, s);
3452
+ var o = this.clonePosition(), a = _(t, o);
3439
3453
  return { value: i, location: a };
3440
3454
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3441
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3442
- switch (o) {
3455
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3456
+ switch (s) {
3443
3457
  case "":
3444
3458
  return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
3445
3459
  case "number":
@@ -3452,47 +3466,47 @@ var pn = (
3452
3466
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3453
3467
  if (c.err)
3454
3468
  return c;
3455
- var f = dn(c.val);
3469
+ var f = yn(c.val);
3456
3470
  if (f.length === 0)
3457
3471
  return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3458
- var d = _(l, this.clonePosition());
3459
- u = { style: f, styleLocation: d };
3472
+ var p = _(l, this.clonePosition());
3473
+ u = { style: f, styleLocation: p };
3460
3474
  }
3461
3475
  var y = this.tryParseArgumentClose(n);
3462
3476
  if (y.err)
3463
3477
  return y;
3464
- var p = _(n, this.clonePosition());
3465
- if (u && Pt(u?.style, "::", 0)) {
3466
- var v = mn(u.style.slice(2));
3467
- if (o === "number") {
3478
+ var d = _(n, this.clonePosition());
3479
+ if (u && It(u?.style, "::", 0)) {
3480
+ var v = dn(u.style.slice(2));
3481
+ if (s === "number") {
3468
3482
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3469
3483
  return c.err ? c : {
3470
- val: { type: S.number, value: i, location: p, style: c.val },
3484
+ val: { type: S.number, value: i, location: d, style: c.val },
3471
3485
  err: null
3472
3486
  };
3473
3487
  } else {
3474
3488
  if (v.length === 0)
3475
- return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3489
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3476
3490
  var H = v;
3477
- this.locale && (H = Ki(v, this.locale));
3491
+ this.locale && (H = tn(v, this.locale));
3478
3492
  var f = {
3479
3493
  type: ee.dateTime,
3480
3494
  pattern: H,
3481
3495
  location: u.styleLocation,
3482
- parsedOptions: this.shouldParseSkeletons ? Xi(H) : {}
3483
- }, g = o === "date" ? S.date : S.time;
3496
+ parsedOptions: this.shouldParseSkeletons ? Zi(H) : {}
3497
+ }, g = s === "date" ? S.date : S.time;
3484
3498
  return {
3485
- val: { type: g, value: i, location: p, style: f },
3499
+ val: { type: g, value: i, location: d, style: f },
3486
3500
  err: null
3487
3501
  };
3488
3502
  }
3489
3503
  }
3490
3504
  return {
3491
3505
  val: {
3492
- type: o === "number" ? S.number : o === "date" ? S.date : S.time,
3506
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3493
3507
  value: i,
3494
- location: p,
3495
- style: (s = u?.style) !== null && s !== void 0 ? s : null
3508
+ location: d,
3509
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3496
3510
  },
3497
3511
  err: null
3498
3512
  };
@@ -3505,7 +3519,7 @@ var pn = (
3505
3519
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
3506
3520
  this.bumpSpace();
3507
3521
  var R = this.parseIdentifierIfPossible(), N = 0;
3508
- if (o !== "select" && R.value === "offset") {
3522
+ if (s !== "select" && R.value === "offset") {
3509
3523
  if (!this.bumpIf(":"))
3510
3524
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3511
3525
  this.bumpSpace();
@@ -3514,18 +3528,18 @@ var pn = (
3514
3528
  return c;
3515
3529
  this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
3516
3530
  }
3517
- var D = this.tryParsePluralOrSelectOptions(t, o, r, R);
3531
+ var D = this.tryParsePluralOrSelectOptions(t, s, r, R);
3518
3532
  if (D.err)
3519
3533
  return D;
3520
3534
  var y = this.tryParseArgumentClose(n);
3521
3535
  if (y.err)
3522
3536
  return y;
3523
3537
  var W = _(n, this.clonePosition());
3524
- return o === "select" ? {
3538
+ return s === "select" ? {
3525
3539
  val: {
3526
3540
  type: S.select,
3527
3541
  value: i,
3528
- options: Ht(D.val),
3542
+ options: Bt(D.val),
3529
3543
  location: W
3530
3544
  },
3531
3545
  err: null
@@ -3533,9 +3547,9 @@ var pn = (
3533
3547
  val: {
3534
3548
  type: S.plural,
3535
3549
  value: i,
3536
- options: Ht(D.val),
3550
+ options: Bt(D.val),
3537
3551
  offset: N,
3538
- pluralType: o === "plural" ? "cardinal" : "ordinal",
3552
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3539
3553
  location: W
3540
3554
  },
3541
3555
  err: null
@@ -3584,7 +3598,7 @@ var pn = (
3584
3598
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3585
3599
  var i = [];
3586
3600
  try {
3587
- i = Zi(t);
3601
+ i = Yi(t);
3588
3602
  } catch {
3589
3603
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3590
3604
  }
@@ -3593,12 +3607,12 @@ var pn = (
3593
3607
  type: ee.number,
3594
3608
  tokens: i,
3595
3609
  location: r,
3596
- parsedOptions: this.shouldParseSkeletons ? qi(i) : {}
3610
+ parsedOptions: this.shouldParseSkeletons ? en(i) : {}
3597
3611
  },
3598
3612
  err: null
3599
3613
  };
3600
3614
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3601
- for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
3615
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
3602
3616
  if (u.length === 0) {
3603
3617
  var c = this.clonePosition();
3604
3618
  if (r !== "select" && this.bumpIf("=")) {
@@ -3612,36 +3626,36 @@ var pn = (
3612
3626
  if (h.has(u))
3613
3627
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3614
3628
  u === "other" && (a = !0), this.bumpSpace();
3615
- var d = this.clonePosition();
3629
+ var p = this.clonePosition();
3616
3630
  if (!this.bumpIf("{"))
3617
3631
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3618
3632
  var y = this.parseMessage(t + 1, r, i);
3619
3633
  if (y.err)
3620
3634
  return y;
3621
- var p = this.tryParseArgumentClose(d);
3622
- if (p.err)
3623
- return p;
3624
- o.push([
3635
+ var d = this.tryParseArgumentClose(p);
3636
+ if (d.err)
3637
+ return d;
3638
+ s.push([
3625
3639
  u,
3626
3640
  {
3627
3641
  value: y.val,
3628
- location: _(d, this.clonePosition())
3642
+ location: _(p, this.clonePosition())
3629
3643
  }
3630
- ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3644
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3631
3645
  }
3632
- return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3646
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3633
3647
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3634
3648
  var i = 1, n = this.clonePosition();
3635
3649
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3636
- for (var s = !1, a = 0; !this.isEOF(); ) {
3637
- var o = this.char();
3638
- if (o >= 48 && o <= 57)
3639
- s = !0, a = a * 10 + (o - 48), this.bump();
3650
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3651
+ var s = this.char();
3652
+ if (s >= 48 && s <= 57)
3653
+ o = !0, a = a * 10 + (s - 48), this.bump();
3640
3654
  else
3641
3655
  break;
3642
3656
  }
3643
3657
  var h = _(n, this.clonePosition());
3644
- return s ? (a *= i, cn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3658
+ return o ? (a *= i, mn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3645
3659
  }, e.prototype.offset = function() {
3646
3660
  return this.position.offset;
3647
3661
  }, e.prototype.isEOF = function() {
@@ -3656,7 +3670,7 @@ var pn = (
3656
3670
  var t = this.position.offset;
3657
3671
  if (t >= this.message.length)
3658
3672
  throw Error("out of bound");
3659
- var r = hr(this.message, t);
3673
+ var r = mr(this.message, t);
3660
3674
  if (r === void 0)
3661
3675
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3662
3676
  return r;
@@ -3675,7 +3689,7 @@ var pn = (
3675
3689
  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);
3676
3690
  }
3677
3691
  }, e.prototype.bumpIf = function(t) {
3678
- if (Pt(this.message, t, this.offset())) {
3692
+ if (It(this.message, t, this.offset())) {
3679
3693
  for (var r = 0; r < t.length; r++)
3680
3694
  this.bump();
3681
3695
  return !0;
@@ -3697,7 +3711,7 @@ var pn = (
3697
3711
  break;
3698
3712
  }
3699
3713
  }, e.prototype.bumpSpace = function() {
3700
- for (; !this.isEOF() && fr(this.char()); )
3714
+ for (; !this.isEOF() && dr(this.char()); )
3701
3715
  this.bump();
3702
3716
  }, e.prototype.peek = function() {
3703
3717
  if (this.isEOF())
@@ -3707,38 +3721,38 @@ var pn = (
3707
3721
  }, e;
3708
3722
  }()
3709
3723
  );
3710
- function it(e) {
3724
+ function nt(e) {
3711
3725
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3712
3726
  }
3713
- function yn(e) {
3714
- return it(e) || e === 47;
3727
+ function bn(e) {
3728
+ return nt(e) || e === 47;
3715
3729
  }
3716
- function gn(e) {
3730
+ function vn(e) {
3717
3731
  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;
3718
3732
  }
3719
- function fr(e) {
3733
+ function dr(e) {
3720
3734
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3721
3735
  }
3722
- function bn(e) {
3736
+ function _n(e) {
3723
3737
  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;
3724
3738
  }
3725
- function nt(e) {
3739
+ function ot(e) {
3726
3740
  e.forEach(function(t) {
3727
- if (delete t.location, rr(t) || ir(t))
3741
+ if (delete t.location, or(t) || sr(t))
3728
3742
  for (var r in t.options)
3729
- delete t.options[r].location, nt(t.options[r].value);
3743
+ delete t.options[r].location, ot(t.options[r].value);
3730
3744
  else
3731
- Kt(t) && sr(t.style) || (er(t) || tr(t)) && Ke(t.style) ? delete t.style.location : nr(t) && nt(t.children);
3745
+ rr(t) && ur(t.style) || (ir(t) || nr(t)) && et(t.style) ? delete t.style.location : ar(t) && ot(t.children);
3732
3746
  });
3733
3747
  }
3734
- function vn(e, t) {
3748
+ function En(e, t) {
3735
3749
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3736
- var r = new pn(e, t).parse();
3750
+ var r = new gn(e, t).parse();
3737
3751
  if (r.err) {
3738
3752
  var i = SyntaxError(b[r.err.kind]);
3739
3753
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3740
3754
  }
3741
- return t?.captureLocation || nt(r.val), r.val;
3755
+ return t?.captureLocation || ot(r.val), r.val;
3742
3756
  }
3743
3757
  var te;
3744
3758
  (function(e) {
@@ -3749,23 +3763,23 @@ var Be = (
3749
3763
  function(e) {
3750
3764
  F(t, e);
3751
3765
  function t(r, i, n) {
3752
- var s = e.call(this, r) || this;
3753
- return s.code = i, s.originalMessage = n, s;
3766
+ var o = e.call(this, r) || this;
3767
+ return o.code = i, o.originalMessage = n, o;
3754
3768
  }
3755
3769
  return t.prototype.toString = function() {
3756
3770
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3757
3771
  }, t;
3758
3772
  }(Error)
3759
- ), Bt = (
3773
+ ), Ct = (
3760
3774
  /** @class */
3761
3775
  function(e) {
3762
3776
  F(t, e);
3763
- function t(r, i, n, s) {
3764
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3777
+ function t(r, i, n, o) {
3778
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3765
3779
  }
3766
3780
  return t;
3767
3781
  }(Be)
3768
- ), _n = (
3782
+ ), xn = (
3769
3783
  /** @class */
3770
3784
  function(e) {
3771
3785
  F(t, e);
@@ -3774,7 +3788,7 @@ var Be = (
3774
3788
  }
3775
3789
  return t;
3776
3790
  }(Be)
3777
- ), En = (
3791
+ ), Tn = (
3778
3792
  /** @class */
3779
3793
  function(e) {
3780
3794
  F(t, e);
@@ -3787,96 +3801,96 @@ var Be = (
3787
3801
  (function(e) {
3788
3802
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3789
3803
  })(I || (I = {}));
3790
- function xn(e) {
3804
+ function Ln(e) {
3791
3805
  return e.length < 2 ? e : e.reduce(function(t, r) {
3792
3806
  var i = t[t.length - 1];
3793
3807
  return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3794
3808
  }, []);
3795
3809
  }
3796
- function Tn(e) {
3810
+ function Sn(e) {
3797
3811
  return typeof e == "function";
3798
3812
  }
3799
- function Le(e, t, r, i, n, s, a) {
3800
- if (e.length === 1 && Lt(e[0]))
3813
+ function Le(e, t, r, i, n, o, a) {
3814
+ if (e.length === 1 && wt(e[0]))
3801
3815
  return [
3802
3816
  {
3803
3817
  type: I.literal,
3804
3818
  value: e[0].value
3805
3819
  }
3806
3820
  ];
3807
- for (var o = [], h = 0, u = e; h < u.length; h++) {
3821
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
3808
3822
  var l = u[h];
3809
- if (Lt(l)) {
3810
- o.push({
3823
+ if (wt(l)) {
3824
+ s.push({
3811
3825
  type: I.literal,
3812
3826
  value: l.value
3813
3827
  });
3814
3828
  continue;
3815
3829
  }
3816
- if (Vi(l)) {
3817
- typeof s == "number" && o.push({
3830
+ if (Xi(l)) {
3831
+ typeof o == "number" && s.push({
3818
3832
  type: I.literal,
3819
- value: r.getNumberFormat(t).format(s)
3833
+ value: r.getNumberFormat(t).format(o)
3820
3834
  });
3821
3835
  continue;
3822
3836
  }
3823
3837
  var c = l.value;
3824
3838
  if (!(n && c in n))
3825
- throw new En(c, a);
3839
+ throw new Tn(c, a);
3826
3840
  var f = n[c];
3827
- if (ki(l)) {
3828
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3841
+ if (Wi(l)) {
3842
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3829
3843
  type: typeof f == "string" ? I.literal : I.object,
3830
3844
  value: f
3831
3845
  });
3832
3846
  continue;
3833
3847
  }
3834
- if (er(l)) {
3835
- var d = typeof l.style == "string" ? i.date[l.style] : Ke(l.style) ? l.style.parsedOptions : void 0;
3836
- o.push({
3848
+ if (ir(l)) {
3849
+ var p = typeof l.style == "string" ? i.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
3850
+ s.push({
3837
3851
  type: I.literal,
3838
- value: r.getDateTimeFormat(t, d).format(f)
3852
+ value: r.getDateTimeFormat(t, p).format(f)
3839
3853
  });
3840
3854
  continue;
3841
3855
  }
3842
- if (tr(l)) {
3843
- var d = typeof l.style == "string" ? i.time[l.style] : Ke(l.style) ? l.style.parsedOptions : i.time.medium;
3844
- o.push({
3856
+ if (nr(l)) {
3857
+ var p = typeof l.style == "string" ? i.time[l.style] : et(l.style) ? l.style.parsedOptions : i.time.medium;
3858
+ s.push({
3845
3859
  type: I.literal,
3846
- value: r.getDateTimeFormat(t, d).format(f)
3860
+ value: r.getDateTimeFormat(t, p).format(f)
3847
3861
  });
3848
3862
  continue;
3849
3863
  }
3850
- if (Kt(l)) {
3851
- var d = typeof l.style == "string" ? i.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3852
- d && d.scale && (f = f * (d.scale || 1)), o.push({
3864
+ if (rr(l)) {
3865
+ var p = typeof l.style == "string" ? i.number[l.style] : ur(l.style) ? l.style.parsedOptions : void 0;
3866
+ p && p.scale && (f = f * (p.scale || 1)), s.push({
3853
3867
  type: I.literal,
3854
- value: r.getNumberFormat(t, d).format(f)
3868
+ value: r.getNumberFormat(t, p).format(f)
3855
3869
  });
3856
3870
  continue;
3857
3871
  }
3858
- if (nr(l)) {
3859
- var y = l.children, p = l.value, v = n[p];
3860
- if (!Tn(v))
3861
- throw new _n(p, "function", a);
3862
- var H = Le(y, t, r, i, n, s), g = v(H.map(function(N) {
3872
+ if (ar(l)) {
3873
+ var y = l.children, d = l.value, v = n[d];
3874
+ if (!Sn(v))
3875
+ throw new xn(d, "function", a);
3876
+ var H = Le(y, t, r, i, n, o), g = v(H.map(function(N) {
3863
3877
  return N.value;
3864
3878
  }));
3865
- Array.isArray(g) || (g = [g]), o.push.apply(o, g.map(function(N) {
3879
+ Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
3866
3880
  return {
3867
3881
  type: typeof N == "string" ? I.literal : I.object,
3868
3882
  value: N
3869
3883
  };
3870
3884
  }));
3871
3885
  }
3872
- if (rr(l)) {
3886
+ if (or(l)) {
3873
3887
  var w = l.options[f] || l.options.other;
3874
3888
  if (!w)
3875
- throw new Bt(l.value, f, Object.keys(l.options), a);
3876
- o.push.apply(o, Le(w.value, t, r, i, n));
3889
+ throw new Ct(l.value, f, Object.keys(l.options), a);
3890
+ s.push.apply(s, Le(w.value, t, r, i, n));
3877
3891
  continue;
3878
3892
  }
3879
- if (ir(l)) {
3893
+ if (sr(l)) {
3880
3894
  var w = l.options["=".concat(f)];
3881
3895
  if (!w) {
3882
3896
  if (!Intl.PluralRules)
@@ -3887,24 +3901,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3887
3901
  w = l.options[R] || l.options.other;
3888
3902
  }
3889
3903
  if (!w)
3890
- throw new Bt(l.value, f, Object.keys(l.options), a);
3891
- o.push.apply(o, Le(w.value, t, r, i, n, f - (l.offset || 0)));
3904
+ throw new Ct(l.value, f, Object.keys(l.options), a);
3905
+ s.push.apply(s, Le(w.value, t, r, i, n, f - (l.offset || 0)));
3892
3906
  continue;
3893
3907
  }
3894
3908
  }
3895
- return xn(o);
3909
+ return Ln(s);
3896
3910
  }
3897
- function Ln(e, t) {
3911
+ function wn(e, t) {
3898
3912
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3899
3913
  return r[i] = E(E({}, e[i]), t[i] || {}), r;
3900
3914
  }, {})) : e;
3901
3915
  }
3902
- function Sn(e, t) {
3916
+ function An(e, t) {
3903
3917
  return t ? Object.keys(e).reduce(function(r, i) {
3904
- return r[i] = Ln(e[i], t[i]), r;
3918
+ return r[i] = wn(e[i], t[i]), r;
3905
3919
  }, E({}, e)) : e;
3906
3920
  }
3907
- function je(e) {
3921
+ function ke(e) {
3908
3922
  return {
3909
3923
  create: function() {
3910
3924
  return {
@@ -3918,50 +3932,50 @@ function je(e) {
3918
3932
  }
3919
3933
  };
3920
3934
  }
3921
- function wn(e) {
3935
+ function Pn(e) {
3922
3936
  return e === void 0 && (e = {
3923
3937
  number: {},
3924
3938
  dateTime: {},
3925
3939
  pluralRules: {}
3926
3940
  }), {
3927
- getNumberFormat: $e(function() {
3941
+ getNumberFormat: Ge(function() {
3928
3942
  for (var t, r = [], i = 0; i < arguments.length; i++)
3929
3943
  r[i] = arguments[i];
3930
3944
  return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3931
3945
  }, {
3932
- cache: je(e.number),
3933
- strategy: Ge.variadic
3946
+ cache: ke(e.number),
3947
+ strategy: Fe.variadic
3934
3948
  }),
3935
- getDateTimeFormat: $e(function() {
3949
+ getDateTimeFormat: Ge(function() {
3936
3950
  for (var t, r = [], i = 0; i < arguments.length; i++)
3937
3951
  r[i] = arguments[i];
3938
3952
  return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3939
3953
  }, {
3940
- cache: je(e.dateTime),
3941
- strategy: Ge.variadic
3954
+ cache: ke(e.dateTime),
3955
+ strategy: Fe.variadic
3942
3956
  }),
3943
- getPluralRules: $e(function() {
3957
+ getPluralRules: Ge(function() {
3944
3958
  for (var t, r = [], i = 0; i < arguments.length; i++)
3945
3959
  r[i] = arguments[i];
3946
3960
  return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3947
3961
  }, {
3948
- cache: je(e.pluralRules),
3949
- strategy: Ge.variadic
3962
+ cache: ke(e.pluralRules),
3963
+ strategy: Fe.variadic
3950
3964
  })
3951
3965
  };
3952
3966
  }
3953
- var An = (
3967
+ var Hn = (
3954
3968
  /** @class */
3955
3969
  function() {
3956
3970
  function e(t, r, i, n) {
3957
3971
  r === void 0 && (r = e.defaultLocale);
3958
- var s = this;
3972
+ var o = this;
3959
3973
  if (this.formatterCache = {
3960
3974
  number: {},
3961
3975
  dateTime: {},
3962
3976
  pluralRules: {}
3963
3977
  }, this.format = function(h) {
3964
- var u = s.formatToParts(h);
3978
+ var u = o.formatToParts(h);
3965
3979
  if (u.length === 1)
3966
3980
  return u[0].value;
3967
3981
  var l = u.reduce(function(c, f) {
@@ -3969,26 +3983,26 @@ var An = (
3969
3983
  }, []);
3970
3984
  return l.length <= 1 ? l[0] || "" : l;
3971
3985
  }, this.formatToParts = function(h) {
3972
- return Le(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3986
+ return Le(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3973
3987
  }, this.resolvedOptions = function() {
3974
3988
  var h;
3975
3989
  return {
3976
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3990
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3977
3991
  };
3978
3992
  }, this.getAst = function() {
3979
- return s.ast;
3993
+ return o.ast;
3980
3994
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3981
3995
  if (this.message = t, !e.__parse)
3982
3996
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3983
3997
  var a = n || {};
3984
3998
  a.formatters;
3985
- var o = ni(a, ["formatters"]);
3986
- this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3999
+ var s = ai(a, ["formatters"]);
4000
+ this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
3987
4001
  } else
3988
4002
  this.ast = t;
3989
4003
  if (!Array.isArray(this.ast))
3990
4004
  throw new TypeError("A message must be provided as a String or AST.");
3991
- this.formats = Sn(e.formats, i), this.formatters = n && n.formatters || wn(this.formatterCache);
4005
+ this.formats = An(e.formats, i), this.formatters = n && n.formatters || Pn(this.formatterCache);
3992
4006
  }
3993
4007
  return Object.defineProperty(e, "defaultLocale", {
3994
4008
  get: function() {
@@ -4001,7 +4015,7 @@ var An = (
4001
4015
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4002
4016
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4003
4017
  }
4004
- }, e.__parse = vn, e.formats = {
4018
+ }, e.__parse = En, e.formats = {
4005
4019
  number: {
4006
4020
  integer: {
4007
4021
  maximumFractionDigits: 0
@@ -4062,7 +4076,7 @@ var An = (
4062
4076
  }, e;
4063
4077
  }()
4064
4078
  );
4065
- function Pn(e, t) {
4079
+ function In(e, t) {
4066
4080
  if (t == null)
4067
4081
  return;
4068
4082
  if (t in e)
@@ -4072,9 +4086,9 @@ function Pn(e, t) {
4072
4086
  for (let n = 0; n < r.length; n++)
4073
4087
  if (typeof i == "object") {
4074
4088
  if (n > 0) {
4075
- const s = r.slice(n, r.length).join(".");
4076
- if (s in i) {
4077
- i = i[s];
4089
+ const o = r.slice(n, r.length).join(".");
4090
+ if (o in i) {
4091
+ i = i[o];
4078
4092
  break;
4079
4093
  }
4080
4094
  }
@@ -4083,60 +4097,60 @@ function Pn(e, t) {
4083
4097
  i = void 0;
4084
4098
  return i;
4085
4099
  }
4086
- const j = {}, Hn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), mr = (e, t) => {
4100
+ const j = {}, Bn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), yr = (e, t) => {
4087
4101
  if (t == null)
4088
4102
  return;
4089
4103
  if (t in j && e in j[t])
4090
4104
  return j[t][e];
4091
4105
  const r = Oe(t);
4092
4106
  for (let i = 0; i < r.length; i++) {
4093
- const n = r[i], s = Bn(n, e);
4094
- if (s)
4095
- return Hn(e, t, s);
4107
+ const n = r[i], o = Cn(n, e);
4108
+ if (o)
4109
+ return Bn(e, t, o);
4096
4110
  }
4097
4111
  };
4098
- let lt;
4112
+ let ct;
4099
4113
  const me = Ie({});
4100
- function In(e) {
4101
- return lt[e] || null;
4114
+ function On(e) {
4115
+ return ct[e] || null;
4102
4116
  }
4103
- function dr(e) {
4104
- return e in lt;
4117
+ function gr(e) {
4118
+ return e in ct;
4105
4119
  }
4106
- function Bn(e, t) {
4107
- if (!dr(e))
4120
+ function Cn(e, t) {
4121
+ if (!gr(e))
4108
4122
  return null;
4109
- const r = In(e);
4110
- return Pn(r, t);
4123
+ const r = On(e);
4124
+ return In(r, t);
4111
4125
  }
4112
- function On(e) {
4126
+ function Nn(e) {
4113
4127
  if (e == null)
4114
4128
  return;
4115
4129
  const t = Oe(e);
4116
4130
  for (let r = 0; r < t.length; r++) {
4117
4131
  const i = t[r];
4118
- if (dr(i))
4132
+ if (gr(i))
4119
4133
  return i;
4120
4134
  }
4121
4135
  }
4122
- function pr(e, ...t) {
4123
- delete j[e], me.update((r) => (r[e] = Mi.all([r[e] || {}, ...t]), r));
4136
+ function br(e, ...t) {
4137
+ delete j[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
4124
4138
  }
4125
4139
  ne(
4126
4140
  [me],
4127
4141
  ([e]) => Object.keys(e)
4128
4142
  );
4129
- me.subscribe((e) => lt = e);
4143
+ me.subscribe((e) => ct = e);
4130
4144
  const Se = {};
4131
- function Cn(e, t) {
4145
+ function Mn(e, t) {
4132
4146
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4133
4147
  }
4134
- function yr(e) {
4148
+ function vr(e) {
4135
4149
  return Se[e];
4136
4150
  }
4137
- function Nn(e) {
4151
+ function Rn(e) {
4138
4152
  return Oe(e).map((t) => {
4139
- const r = yr(t);
4153
+ const r = vr(t);
4140
4154
  return [t, r ? [...r] : []];
4141
4155
  }).filter(([, t]) => t.length > 0);
4142
4156
  }
@@ -4144,31 +4158,31 @@ function st(e) {
4144
4158
  return e == null ? !1 : Oe(e).some(
4145
4159
  (t) => {
4146
4160
  var r;
4147
- return (r = yr(t)) == null ? void 0 : r.size;
4161
+ return (r = vr(t)) == null ? void 0 : r.size;
4148
4162
  }
4149
4163
  );
4150
4164
  }
4151
- function Mn(e, t) {
4165
+ function Dn(e, t) {
4152
4166
  return Promise.all(
4153
- t.map((i) => (Cn(e, i), i().then((n) => n.default || n)))
4154
- ).then((i) => pr(e, ...i));
4167
+ t.map((i) => (Mn(e, i), i().then((n) => n.default || n)))
4168
+ ).then((i) => br(e, ...i));
4155
4169
  }
4156
4170
  const ue = {};
4157
- function gr(e) {
4171
+ function _r(e) {
4158
4172
  if (!st(e))
4159
4173
  return e in ue ? ue[e] : Promise.resolve();
4160
- const t = Nn(e);
4174
+ const t = Rn(e);
4161
4175
  return ue[e] = Promise.all(
4162
4176
  t.map(
4163
- ([r, i]) => Mn(r, i)
4177
+ ([r, i]) => Dn(r, i)
4164
4178
  )
4165
4179
  ).then(() => {
4166
4180
  if (st(e))
4167
- return gr(e);
4181
+ return _r(e);
4168
4182
  delete ue[e];
4169
4183
  }), ue[e];
4170
4184
  }
4171
- const Rn = {
4185
+ const Un = {
4172
4186
  number: {
4173
4187
  scientific: { notation: "scientific" },
4174
4188
  engineering: { notation: "engineering" },
@@ -4197,57 +4211,57 @@ const Rn = {
4197
4211
  timeZoneName: "short"
4198
4212
  }
4199
4213
  }
4200
- }, Dn = {
4214
+ }, $n = {
4201
4215
  fallbackLocale: null,
4202
4216
  loadingDelay: 200,
4203
- formats: Rn,
4217
+ formats: Un,
4204
4218
  warnOnMissingMessages: !0,
4205
4219
  handleMissingMessage: void 0,
4206
4220
  ignoreTag: !0
4207
- }, Un = Dn;
4221
+ }, Gn = $n;
4208
4222
  function re() {
4209
- return Un;
4210
- }
4211
- const ke = Ie(!1);
4212
- var $n = Object.defineProperty, Gn = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vn = (e, t) => {
4213
- for (var r in t)
4214
- jn.call(t, r) && Ct(e, r, t[r]);
4215
- if (Ot)
4216
- for (var r of Ot(t))
4217
- kn.call(t, r) && Ct(e, r, t[r]);
4223
+ return Gn;
4224
+ }
4225
+ const Ve = Ie(!1);
4226
+ var Fn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
4227
+ for (var r in t || (t = {}))
4228
+ Vn.call(t, r) && Mt(e, r, t[r]);
4229
+ if (Nt)
4230
+ for (var r of Nt(t))
4231
+ Wn.call(t, r) && Mt(e, r, t[r]);
4218
4232
  return e;
4219
- }, Wn = (e, t) => Gn(e, Fn(t));
4220
- let ot;
4233
+ }, zn = (e, t) => jn(e, kn(t));
4234
+ let at;
4221
4235
  const Ae = Ie(null);
4222
- function Nt(e) {
4236
+ function Rt(e) {
4223
4237
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4224
4238
  }
4225
4239
  function Oe(e, t = re().fallbackLocale) {
4226
- const r = Nt(e);
4227
- return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
4240
+ const r = Rt(e);
4241
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4228
4242
  }
4229
4243
  function z() {
4230
- return ot ?? void 0;
4244
+ return at ?? void 0;
4231
4245
  }
4232
4246
  Ae.subscribe((e) => {
4233
- ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4247
+ at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4234
4248
  });
4235
- const Xn = (e) => {
4236
- if (e && On(e) && st(e)) {
4249
+ const Zn = (e) => {
4250
+ if (e && Nn(e) && st(e)) {
4237
4251
  const { loadingDelay: t } = re();
4238
4252
  let r;
4239
4253
  return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4240
- () => ke.set(!0),
4254
+ () => Ve.set(!0),
4241
4255
  t
4242
- ) : ke.set(!0), gr(e).then(() => {
4256
+ ) : Ve.set(!0), _r(e).then(() => {
4243
4257
  Ae.set(e);
4244
4258
  }).finally(() => {
4245
- clearTimeout(r), ke.set(!1);
4259
+ clearTimeout(r), Ve.set(!1);
4246
4260
  });
4247
4261
  }
4248
4262
  return Ae.set(e);
4249
- }, se = Wn(Vn({}, Ae), {
4250
- set: Xn
4263
+ }, oe = zn(Xn({}, Ae), {
4264
+ set: Zn
4251
4265
  }), Ce = (e) => {
4252
4266
  const t = /* @__PURE__ */ Object.create(null);
4253
4267
  return (i) => {
@@ -4255,20 +4269,20 @@ const Xn = (e) => {
4255
4269
  return n in t ? t[n] : t[n] = e(i);
4256
4270
  };
4257
4271
  };
4258
- var zn = Object.defineProperty, Pe = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4272
+ var Qn = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4259
4273
  for (var r in t || (t = {}))
4260
- br.call(t, r) && Mt(e, r, t[r]);
4274
+ Er.call(t, r) && Dt(e, r, t[r]);
4261
4275
  if (Pe)
4262
4276
  for (var r of Pe(t))
4263
- vr.call(t, r) && Mt(e, r, t[r]);
4277
+ xr.call(t, r) && Dt(e, r, t[r]);
4264
4278
  return e;
4265
- }, oe = (e, t) => {
4279
+ }, se = (e, t) => {
4266
4280
  var r = {};
4267
4281
  for (var i in e)
4268
- br.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4282
+ Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4269
4283
  if (e != null && Pe)
4270
4284
  for (var i of Pe(e))
4271
- t.indexOf(i) < 0 && vr.call(e, i) && (r[i] = e[i]);
4285
+ t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
4272
4286
  return r;
4273
4287
  };
4274
4288
  const fe = (e, t) => {
@@ -4276,61 +4290,61 @@ const fe = (e, t) => {
4276
4290
  if (e in r && t in r[e])
4277
4291
  return r[e][t];
4278
4292
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4279
- }, Zn = Ce(
4293
+ }, Yn = Ce(
4280
4294
  (e) => {
4281
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4295
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4282
4296
  if (r == null)
4283
4297
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4284
4298
  return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4285
4299
  }
4286
- ), Qn = Ce(
4300
+ ), Jn = Ce(
4287
4301
  (e) => {
4288
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4302
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4289
4303
  if (r == null)
4290
4304
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4291
4305
  return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4292
4306
  }
4293
- ), Yn = Ce(
4307
+ ), qn = Ce(
4294
4308
  (e) => {
4295
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4309
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4296
4310
  if (r == null)
4297
4311
  throw new Error(
4298
4312
  '[svelte-i18n] A "locale" must be set to format time values'
4299
4313
  );
4300
4314
  return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4301
4315
  }
4302
- ), Jn = (e = {}) => {
4316
+ ), Kn = (e = {}) => {
4303
4317
  var t = e, {
4304
4318
  locale: r = z()
4305
- } = t, i = oe(t, [
4319
+ } = t, i = se(t, [
4306
4320
  "locale"
4307
4321
  ]);
4308
- return Zn(ht({ locale: r }, i));
4309
- }, qn = (e = {}) => {
4322
+ return Yn(ft({ locale: r }, i));
4323
+ }, eo = (e = {}) => {
4310
4324
  var t = e, {
4311
4325
  locale: r = z()
4312
- } = t, i = oe(t, [
4326
+ } = t, i = se(t, [
4313
4327
  "locale"
4314
4328
  ]);
4315
- return Qn(ht({ locale: r }, i));
4316
- }, Kn = (e = {}) => {
4329
+ return Jn(ft({ locale: r }, i));
4330
+ }, to = (e = {}) => {
4317
4331
  var t = e, {
4318
4332
  locale: r = z()
4319
- } = t, i = oe(t, [
4333
+ } = t, i = se(t, [
4320
4334
  "locale"
4321
4335
  ]);
4322
- return Yn(ht({ locale: r }, i));
4323
- }, es = Ce(
4336
+ return qn(ft({ locale: r }, i));
4337
+ }, ro = Ce(
4324
4338
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4325
- (e, t = z()) => new An(e, t, re().formats, {
4339
+ (e, t = z()) => new Hn(e, t, re().formats, {
4326
4340
  ignoreTag: re().ignoreTag
4327
4341
  })
4328
- ), ts = (e, t = {}) => {
4329
- var r, i, n, s;
4342
+ ), io = (e, t = {}) => {
4343
+ var r, i, n, o;
4330
4344
  let a = t;
4331
4345
  typeof e == "object" && (a = e, e = a.id);
4332
4346
  const {
4333
- values: o,
4347
+ values: s,
4334
4348
  locale: h = z(),
4335
4349
  default: u
4336
4350
  } = a;
@@ -4338,18 +4352,18 @@ const fe = (e, t) => {
4338
4352
  throw new Error(
4339
4353
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4340
4354
  );
4341
- let l = mr(e, h);
4355
+ let l = yr(e, h);
4342
4356
  if (!l)
4343
- l = (s = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
4357
+ l = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4344
4358
  else if (typeof l != "string")
4345
4359
  return console.warn(
4346
4360
  `[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.`
4347
4361
  ), l;
4348
- if (!o)
4362
+ if (!s)
4349
4363
  return l;
4350
4364
  let c = l;
4351
4365
  try {
4352
- c = es(l, h).format(o);
4366
+ c = ro(l, h).format(s);
4353
4367
  } catch (f) {
4354
4368
  f instanceof Error && console.warn(
4355
4369
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4357,20 +4371,20 @@ const fe = (e, t) => {
4357
4371
  );
4358
4372
  }
4359
4373
  return c;
4360
- }, rs = (e, t) => Kn(t).format(e), is = (e, t) => qn(t).format(e), ns = (e, t) => Jn(t).format(e), ss = (e, t = z()) => mr(e, t), os = ne([se, me], () => ts);
4361
- ne([se], () => rs);
4362
- ne([se], () => is);
4363
- ne([se], () => ns);
4364
- ne([se, me], () => ss);
4365
- window.emWidgets = { topic: bi };
4366
- const as = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4367
- function us(e, t) {
4374
+ }, no = (e, t) => to(t).format(e), oo = (e, t) => eo(t).format(e), so = (e, t) => Kn(t).format(e), ao = (e, t = z()) => yr(e, t), uo = ne([oe, me], () => io);
4375
+ ne([oe], () => no);
4376
+ ne([oe], () => oo);
4377
+ ne([oe], () => so);
4378
+ ne([oe, me], () => ao);
4379
+ window.emWidgets = { topic: Ei };
4380
+ const lo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4381
+ function ho(e, t) {
4368
4382
  if (e) {
4369
4383
  const r = document.createElement("style");
4370
4384
  r.innerHTML = t, e.appendChild(r);
4371
4385
  }
4372
4386
  }
4373
- function ls(e, t) {
4387
+ function co(e, t) {
4374
4388
  const r = new URL(t);
4375
4389
  fetch(r.href).then((i) => i.text()).then((i) => {
4376
4390
  const n = document.createElement("style");
@@ -4379,7 +4393,7 @@ function ls(e, t) {
4379
4393
  console.error("There was an error while trying to load client styling from URL", i);
4380
4394
  });
4381
4395
  }
4382
- function hs(e, t, r) {
4396
+ function fo(e, t, r) {
4383
4397
  if (window.emMessageBus) {
4384
4398
  const i = document.createElement("style");
4385
4399
  window.emMessageBus.subscribe(t, (n) => {
@@ -4387,13 +4401,13 @@ function hs(e, t, r) {
4387
4401
  });
4388
4402
  }
4389
4403
  }
4390
- function Rt(e, t) {
4391
- pr(e, t);
4404
+ function Ut(e, t) {
4405
+ br(e, t);
4392
4406
  }
4393
- function cs(e) {
4394
- se.set(e);
4407
+ function mo(e) {
4408
+ oe.set(e);
4395
4409
  }
4396
- const Ve = {
4410
+ const We = {
4397
4411
  en: {
4398
4412
  expandLimits: "LIMIT HISTORY",
4399
4413
  daily: "per day",
@@ -4644,30 +4658,30 @@ const Ve = {
4644
4658
  historyLimitTypeLoss: "Loss Limit"
4645
4659
  }
4646
4660
  };
4647
- function fs(e) {
4648
- Dr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4661
+ function po(e) {
4662
+ Gr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4649
4663
  }
4650
- function Dt(e, t, r) {
4664
+ function $t(e, t, r) {
4651
4665
  const i = e.slice();
4652
4666
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4653
4667
  }
4654
- function ms(e) {
4668
+ function yo(e) {
4655
4669
  let t, r, i, n = (
4656
4670
  /*$_*/
4657
4671
  e[9]("expandLimits") + ""
4658
- ), s, a, o, h, u, l, c, f, d, y = pt(
4672
+ ), o, a, s, h, u, l, c, f, p, y = gt(
4659
4673
  /*lazyShowedHistoryArray*/
4660
4674
  e[7]
4661
- ), p = [];
4675
+ ), d = [];
4662
4676
  for (let v = 0; v < y.length; v += 1)
4663
- p[v] = Ut(Dt(e, y, v));
4677
+ d[v] = Gt($t(e, y, v));
4664
4678
  return {
4665
4679
  c() {
4666
- t = A("div"), r = A("div"), i = A("button"), s = M(n), a = We(), o = _e("svg"), h = _e("path"), u = _e("path"), l = We(), c = A("div");
4667
- for (let v = 0; v < p.length; v += 1)
4668
- p[v].c();
4669
- x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(o, "class", "ExpandArrow svelte-19ml84y"), x(o, "xmlns", "http://www.w3.org/2000/svg"), x(o, "width", "36"), x(o, "height", "36"), x(o, "viewBox", "0 0 36 36"), x(o, "fill", "#999"), ge(
4670
- o,
4680
+ t = A("div"), r = A("div"), i = A("button"), o = M(n), a = Xe(), s = _e("svg"), h = _e("path"), u = _e("path"), l = Xe(), c = A("div");
4681
+ for (let v = 0; v < d.length; v += 1)
4682
+ d[v].c();
4683
+ x(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(h, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(s, "class", "ExpandArrow svelte-19ml84y"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), x(s, "fill", "#999"), ge(
4684
+ s,
4671
4685
  "extended",
4672
4686
  /*extended*/
4673
4687
  e[8]
@@ -4680,10 +4694,10 @@ function ms(e) {
4680
4694
  (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4681
4695
  },
4682
4696
  m(v, H) {
4683
- V(v, t, H), T(t, r), T(r, i), T(i, s), T(i, a), T(i, o), T(o, h), T(o, u), T(r, l), T(r, c);
4684
- for (let g = 0; g < p.length; g += 1)
4685
- p[g] && p[g].m(c, null);
4686
- f || (d = Fr(
4697
+ V(v, t, H), T(t, r), T(r, i), T(i, o), T(i, a), T(i, s), T(s, h), T(s, u), T(r, l), T(r, c);
4698
+ for (let g = 0; g < d.length; g += 1)
4699
+ d[g] && d[g].m(c, null);
4700
+ f || (p = Vr(
4687
4701
  i,
4688
4702
  "click",
4689
4703
  /*toggleHistoryDisplayArea*/
@@ -4693,26 +4707,26 @@ function ms(e) {
4693
4707
  p(v, H) {
4694
4708
  if (H[0] & /*$_*/
4695
4709
  512 && n !== (n = /*$_*/
4696
- v[9]("expandLimits") + "") && k(s, n), H[0] & /*extended*/
4710
+ v[9]("expandLimits") + "") && k(o, n), H[0] & /*extended*/
4697
4711
  256 && ge(
4698
- o,
4712
+ s,
4699
4713
  "extended",
4700
4714
  /*extended*/
4701
4715
  v[8]
4702
4716
  ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4703
4717
  650) {
4704
- y = pt(
4718
+ y = gt(
4705
4719
  /*lazyShowedHistoryArray*/
4706
4720
  v[7]
4707
4721
  );
4708
4722
  let g;
4709
4723
  for (g = 0; g < y.length; g += 1) {
4710
- const w = Dt(v, y, g);
4711
- p[g] ? p[g].p(w, H) : (p[g] = Ut(w), p[g].c(), p[g].m(c, null));
4724
+ const w = $t(v, y, g);
4725
+ d[g] ? d[g].p(w, H) : (d[g] = Gt(w), d[g].c(), d[g].m(c, null));
4712
4726
  }
4713
- for (; g < p.length; g += 1)
4714
- p[g].d(1);
4715
- p.length = y.length;
4727
+ for (; g < d.length; g += 1)
4728
+ d[g].d(1);
4729
+ d.length = y.length;
4716
4730
  }
4717
4731
  H[0] & /*hidden*/
4718
4732
  32 && ge(
@@ -4723,14 +4737,14 @@ function ms(e) {
4723
4737
  );
4724
4738
  },
4725
4739
  d(v) {
4726
- v && G(t), Gr(p, v), f = !1, d();
4740
+ v && G(t), kr(d, v), f = !1, p();
4727
4741
  }
4728
4742
  };
4729
4743
  }
4730
- function ds(e) {
4744
+ function go(e) {
4731
4745
  return { c: B, m: B, p: B, d: B };
4732
4746
  }
4733
- function ps(e) {
4747
+ function bo(e) {
4734
4748
  let t, r = (
4735
4749
  /*lang*/
4736
4750
  (e[0] ? (
@@ -4742,11 +4756,11 @@ function ps(e) {
4742
4756
  c() {
4743
4757
  t = A("p"), i = M(r), x(t, "class", "svelte-19ml84y");
4744
4758
  },
4745
- m(n, s) {
4746
- V(n, t, s), T(t, i);
4759
+ m(n, o) {
4760
+ V(n, t, o), T(t, i);
4747
4761
  },
4748
- p(n, s) {
4749
- s[0] & /*lang, $_*/
4762
+ p(n, o) {
4763
+ o[0] & /*lang, $_*/
4750
4764
  513 && r !== (r = /*lang*/
4751
4765
  (n[0] ? (
4752
4766
  /*$_*/
@@ -4758,11 +4772,11 @@ function ps(e) {
4758
4772
  }
4759
4773
  };
4760
4774
  }
4761
- function ys(e) {
4775
+ function vo(e) {
4762
4776
  let t, r, i, n = (
4763
4777
  /*history*/
4764
4778
  e[37].type + ""
4765
- ), s, a, o = (
4779
+ ), o, a, s = (
4766
4780
  /*history*/
4767
4781
  e[37].amount + ""
4768
4782
  ), h, u, l = (
@@ -4771,17 +4785,17 @@ function ys(e) {
4771
4785
  ), c;
4772
4786
  return {
4773
4787
  c() {
4774
- t = A("div"), r = A("span"), i = A("span"), s = M(n), a = A("span"), h = M(o), u = A("span"), c = M(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4788
+ t = A("div"), r = A("span"), i = A("span"), o = M(n), a = A("span"), h = M(s), u = A("span"), c = M(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4775
4789
  },
4776
- m(f, d) {
4777
- V(f, t, d), T(t, r), T(r, i), T(i, s), T(r, a), T(a, h), T(t, u), T(u, c);
4790
+ m(f, p) {
4791
+ V(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
4778
4792
  },
4779
- p(f, d) {
4780
- d[0] & /*lazyShowedHistoryArray*/
4793
+ p(f, p) {
4794
+ p[0] & /*lazyShowedHistoryArray*/
4781
4795
  128 && n !== (n = /*history*/
4782
- f[37].type + "") && k(s, n), d[0] & /*lazyShowedHistoryArray*/
4783
- 128 && o !== (o = /*history*/
4784
- f[37].amount + "") && k(h, o), d[0] & /*lazyShowedHistoryArray*/
4796
+ f[37].type + "") && k(o, n), p[0] & /*lazyShowedHistoryArray*/
4797
+ 128 && s !== (s = /*history*/
4798
+ f[37].amount + "") && k(h, s), p[0] & /*lazyShowedHistoryArray*/
4785
4799
  128 && l !== (l = /*history*/
4786
4800
  f[37].date + "") && k(c, l);
4787
4801
  },
@@ -4790,11 +4804,11 @@ function ys(e) {
4790
4804
  }
4791
4805
  };
4792
4806
  }
4793
- function gs(e) {
4807
+ function _o(e) {
4794
4808
  let t, r, i, n = (
4795
4809
  /*history*/
4796
4810
  e[37].type + ""
4797
- ), s, a, o = (
4811
+ ), o, a, s = (
4798
4812
  /*$_*/
4799
4813
  e[9]("limitRemoved") + ""
4800
4814
  ), h, u, l = (
@@ -4803,17 +4817,17 @@ function gs(e) {
4803
4817
  ), c;
4804
4818
  return {
4805
4819
  c() {
4806
- t = A("div"), r = A("span"), i = A("span"), s = M(n), a = A("span"), h = M(o), u = A("span"), c = M(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4820
+ t = A("div"), r = A("span"), i = A("span"), o = M(n), a = A("span"), h = M(s), u = A("span"), c = M(l), x(i, "class", "LimitType svelte-19ml84y"), x(a, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4807
4821
  },
4808
- m(f, d) {
4809
- V(f, t, d), T(t, r), T(r, i), T(i, s), T(r, a), T(a, h), T(t, u), T(u, c);
4822
+ m(f, p) {
4823
+ V(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
4810
4824
  },
4811
- p(f, d) {
4812
- d[0] & /*lazyShowedHistoryArray*/
4825
+ p(f, p) {
4826
+ p[0] & /*lazyShowedHistoryArray*/
4813
4827
  128 && n !== (n = /*history*/
4814
- f[37].type + "") && k(s, n), d[0] & /*$_*/
4815
- 512 && o !== (o = /*$_*/
4816
- f[9]("limitRemoved") + "") && k(h, o), d[0] & /*lazyShowedHistoryArray*/
4828
+ f[37].type + "") && k(o, n), p[0] & /*$_*/
4829
+ 512 && s !== (s = /*$_*/
4830
+ f[9]("limitRemoved") + "") && k(h, s), p[0] & /*lazyShowedHistoryArray*/
4817
4831
  128 && l !== (l = /*history*/
4818
4832
  f[37].date + "") && k(c, l);
4819
4833
  },
@@ -4822,18 +4836,18 @@ function gs(e) {
4822
4836
  }
4823
4837
  };
4824
4838
  }
4825
- function Ut(e) {
4839
+ function Gt(e) {
4826
4840
  let t, r, i, n = (
4827
4841
  /*index*/
4828
4842
  e[39]
4829
4843
  );
4830
- function s(l, c) {
4844
+ function o(l, c) {
4831
4845
  return (
4832
4846
  /*history*/
4833
- l[37].removed ? gs : ys
4847
+ l[37].removed ? _o : vo
4834
4848
  );
4835
4849
  }
4836
- let a = s(e), o = a(e);
4850
+ let a = o(e), s = a(e);
4837
4851
  const h = () => (
4838
4852
  /*div_binding*/
4839
4853
  e[22](t, n)
@@ -4843,18 +4857,18 @@ function Ut(e) {
4843
4857
  );
4844
4858
  return {
4845
4859
  c() {
4846
- t = A("div"), o.c(), r = We(), x(t, "class", i = mt(
4860
+ t = A("div"), s.c(), r = Xe(), x(t, "class", i = dt(
4847
4861
  /*index*/
4848
4862
  e[39] > +/*numberofentries*/
4849
4863
  e[1] ? "LimitContainer" : ""
4850
4864
  ) + " svelte-19ml84y");
4851
4865
  },
4852
4866
  m(l, c) {
4853
- V(l, t, c), o.m(t, null), T(t, r), h();
4867
+ V(l, t, c), s.m(t, null), T(t, r), h();
4854
4868
  },
4855
4869
  p(l, c) {
4856
- e = l, a === (a = s(e)) && o ? o.p(e, c) : (o.d(1), o = a(e), o && (o.c(), o.m(t, r))), c[0] & /*numberofentries*/
4857
- 2 && i !== (i = mt(
4870
+ e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4871
+ 2 && i !== (i = dt(
4858
4872
  /*index*/
4859
4873
  e[39] > +/*numberofentries*/
4860
4874
  e[1] ? "LimitContainer" : ""
@@ -4863,18 +4877,18 @@ function Ut(e) {
4863
4877
  e[39], h());
4864
4878
  },
4865
4879
  d(l) {
4866
- l && G(t), o.d(), u();
4880
+ l && G(t), s.d(), u();
4867
4881
  }
4868
4882
  };
4869
4883
  }
4870
- function bs(e) {
4884
+ function Eo(e) {
4871
4885
  let t;
4872
- function r(s, a) {
4886
+ function r(o, a) {
4873
4887
  return (
4874
4888
  /*hasErrors*/
4875
- s[6] ? ps : (
4889
+ o[6] ? bo : (
4876
4890
  /*isLoading*/
4877
- s[4] ? ds : ms
4891
+ o[4] ? go : yo
4878
4892
  )
4879
4893
  );
4880
4894
  }
@@ -4883,37 +4897,37 @@ function bs(e) {
4883
4897
  c() {
4884
4898
  t = A("div"), n.c(), x(t, "class", "svelte-19ml84y");
4885
4899
  },
4886
- m(s, a) {
4887
- V(s, t, a), n.m(t, null), e[23](t);
4900
+ m(o, a) {
4901
+ V(o, t, a), n.m(t, null), e[23](t);
4888
4902
  },
4889
- p(s, a) {
4890
- i === (i = r(s)) && n ? n.p(s, a) : (n.d(1), n = i(s), n && (n.c(), n.m(t, null)));
4903
+ p(o, a) {
4904
+ i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4891
4905
  },
4892
4906
  i: B,
4893
4907
  o: B,
4894
- d(s) {
4895
- s && G(t), n.d(), e[23](null);
4908
+ d(o) {
4909
+ o && G(t), n.d(), e[23](null);
4896
4910
  }
4897
4911
  };
4898
4912
  }
4899
- function vs(e, t, r) {
4913
+ function xo(e, t, r) {
4900
4914
  let i;
4901
- Rr(e, os, (m) => r(9, i = m));
4902
- let n = window.navigator.userAgent, s = !as(n), { lang: a = "" } = t, { userid: o = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: d = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), R = parseInt(c, 10), N = !1, D = !0, W = [], de = [], pe = !0, Ne = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4903
- const Er = () => {
4915
+ $r(e, uo, (m) => r(9, i = m));
4916
+ let n = window.navigator.userAgent, o = !lo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), R = parseInt(c, 10), N = !1, D = !0, W = [], pe = [], de = !0, Ne = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4917
+ const Lr = () => {
4904
4918
  fetch(H).then((L) => L.json()).then((L) => {
4905
4919
  Object.keys(L).forEach((C) => {
4906
- Rt(C, L[C]);
4920
+ Ut(C, L[C]);
4907
4921
  });
4908
4922
  }).catch((L) => {
4909
4923
  console.log(L);
4910
4924
  });
4911
4925
  };
4912
- Object.keys(Ve).forEach((m) => {
4913
- Rt(m, Ve[m]);
4926
+ Object.keys(We).forEach((m) => {
4927
+ Ut(m, We[m]);
4914
4928
  });
4915
- const xr = () => {
4916
- let m = l === "gmcore" ? `/v2/player/${o}/transactions/limit` : `/v1/player/${o}/limits/monetary/history`, L = new URL(m, u);
4929
+ const Sr = () => {
4930
+ let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
4917
4931
  L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4918
4932
  let C = {
4919
4933
  method: "GET",
@@ -4925,14 +4939,14 @@ function vs(e, t, r) {
4925
4939
  return P.json();
4926
4940
  }).then(
4927
4941
  (P) => {
4928
- P.length && (W = Tr(P), r(7, de = W.slice(0, R))), r(4, D = !1);
4942
+ P.length && (W = wr(P), r(7, pe = W.slice(0, R))), r(4, D = !1);
4929
4943
  },
4930
4944
  (P) => {
4931
4945
  console.error("There was an error", P), r(6, N = !0);
4932
4946
  }
4933
4947
  );
4934
- }, Tr = (m) => {
4935
- const L = !!Ve[a];
4948
+ }, wr = (m) => {
4949
+ const L = !!We[a];
4936
4950
  return m.map((P) => {
4937
4951
  let U = {
4938
4952
  amount: "",
@@ -4942,34 +4956,34 @@ function vs(e, t, r) {
4942
4956
  type: "",
4943
4957
  removed: !1
4944
4958
  };
4945
- return U.amount = Lr(P), U.currency = L ? ae[P.limitCurrencyCode] : P.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), U.period = i(`${P.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), U.removed = P.limitAmount === -1, U;
4959
+ return U.amount = Ar(P), U.currency = L ? ae[P.limitCurrencyCode] : P.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), U.period = i(`${P.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), U.removed = P.limitAmount === -1, U;
4946
4960
  });
4947
- }, Lr = (m) => {
4948
- let L = d || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4949
- if (!d) {
4950
- let Cr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
4951
- return `${L}${Cr}`;
4961
+ }, Ar = (m) => {
4962
+ let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4963
+ if (!p) {
4964
+ let Rr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
4965
+ return `${L}${Rr}`;
4952
4966
  }
4953
4967
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4954
4968
  const C = L.match(/\{(\d+)decimals\}/), P = C ? parseInt(C[1], 10) : 2, U = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4955
4969
  let ye = parseFloat(m.limitAmount).toFixed(P);
4956
- const [Br, Me] = d.includes(".") ? [",", "."] : [".", ","];
4957
- let [Re, Or] = ye.split(".");
4958
- return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Br), ye = `${Re}${Me}${Or}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Me)[0]).replace(
4970
+ const [Nr, Me] = p.includes(".") ? [",", "."] : [".", ","];
4971
+ let [Re, Mr] = ye.split(".");
4972
+ return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Nr), ye = `${Re}${Me}${Mr}`, L = L.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Me)[0]).replace(
4959
4973
  U,
4960
4974
  ye.split(Me)[1]
4961
4975
  ), L;
4962
- }, Sr = () => {
4963
- r(5, pe = !pe), r(8, Ne = !Ne);
4976
+ }, Pr = () => {
4977
+ r(5, de = !de), r(8, Ne = !Ne);
4964
4978
  };
4965
- let ct = new IntersectionObserver((m) => {
4979
+ let mt = new IntersectionObserver((m) => {
4966
4980
  m.forEach((L) => {
4967
- L.isIntersecting && (R += parseInt(c, 10) || 10, de.length < W.length && r(7, de = W.slice(0, R)));
4981
+ L.isIntersecting && (R += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, R)));
4968
4982
  });
4969
4983
  });
4970
- const wr = () => {
4971
- ct.observe(w[w.length - 1]);
4972
- }, Ar = () => {
4984
+ const Hr = () => {
4985
+ mt.observe(w[w.length - 1]);
4986
+ }, Ir = () => {
4973
4987
  if (!f)
4974
4988
  return;
4975
4989
  let m = {};
@@ -4977,69 +4991,69 @@ function vs(e, t, r) {
4977
4991
  let C = L.split(":");
4978
4992
  m[C[0].trim()] = C[1].trim();
4979
4993
  }), ae = { ...ae, ...m };
4980
- }, Pr = () => {
4981
- cs(a);
4994
+ }, Br = () => {
4995
+ mo(a);
4982
4996
  };
4983
- Wr(() => () => {
4984
- ct.unobserve(w[w.length - 1]);
4997
+ Zr(() => () => {
4998
+ mt.unobserve(w[w.length - 1]);
4985
4999
  });
4986
- function Hr(m, L) {
5000
+ function Or(m, L) {
4987
5001
  we[m ? "unshift" : "push"](() => {
4988
5002
  w[L] = m, r(3, w);
4989
5003
  });
4990
5004
  }
4991
- function Ir(m) {
5005
+ function Cr(m) {
4992
5006
  we[m ? "unshift" : "push"](() => {
4993
5007
  g = m, r(2, g);
4994
5008
  });
4995
5009
  }
4996
5010
  return e.$$set = (m) => {
4997
- "lang" in m && r(0, a = m.lang), "userid" in m && r(12, o = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, d = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, p = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
5011
+ "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
4998
5012
  }, e.$$.update = () => {
4999
5013
  e.$$.dirty[0] & /*customcurrencysymbols*/
5000
- 65536 && f && Ar(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5001
- 61440 && u && o && h && l && xr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5002
- 56 && w[0] && !D && !pe && wr(), e.$$.dirty[0] & /*lang*/
5003
- 1 && a && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5004
- 262148 && y && g && us(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5005
- 524292 && p && g && ls(g, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5006
- 1048580 && v && g && hs(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5007
- 2097156 && H && g && Er();
5014
+ 65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5015
+ 61440 && u && s && h && l && Sr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5016
+ 56 && w[0] && !D && !de && Hr(), e.$$.dirty[0] & /*lang*/
5017
+ 1 && a && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5018
+ 262148 && y && g && ho(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5019
+ 524292 && d && g && co(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5020
+ 1048580 && v && g && fo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5021
+ 2097156 && H && g && Lr();
5008
5022
  }, [
5009
5023
  a,
5010
5024
  c,
5011
5025
  g,
5012
5026
  w,
5013
5027
  D,
5014
- pe,
5015
- N,
5016
5028
  de,
5029
+ N,
5030
+ pe,
5017
5031
  Ne,
5018
5032
  i,
5019
- s,
5020
- Sr,
5021
5033
  o,
5034
+ Pr,
5035
+ s,
5022
5036
  h,
5023
5037
  u,
5024
5038
  l,
5025
5039
  f,
5026
- d,
5027
- y,
5028
5040
  p,
5041
+ y,
5042
+ d,
5029
5043
  v,
5030
5044
  H,
5031
- Hr,
5032
- Ir
5045
+ Or,
5046
+ Cr
5033
5047
  ];
5034
5048
  }
5035
- class _r extends ri {
5049
+ class Tr extends oi {
5036
5050
  constructor(t) {
5037
- super(), ei(
5051
+ super(), ii(
5038
5052
  this,
5039
5053
  t,
5040
- vs,
5041
- bs,
5042
- Gt,
5054
+ xo,
5055
+ Eo,
5056
+ jt,
5043
5057
  {
5044
5058
  lang: 0,
5045
5059
  userid: 12,
@@ -5054,7 +5068,7 @@ class _r extends ri {
5054
5068
  mbsource: 20,
5055
5069
  translationurl: 21
5056
5070
  },
5057
- fs,
5071
+ po,
5058
5072
  [-1, -1]
5059
5073
  );
5060
5074
  }
@@ -5131,59 +5145,59 @@ class _r extends ri {
5131
5145
  this.$$set({ translationurl: t }), O();
5132
5146
  }
5133
5147
  }
5134
- ti(_r, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5135
- const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5148
+ ni(Tr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5149
+ const $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5136
5150
  __proto__: null,
5137
- default: _r
5151
+ default: Tr
5138
5152
  }, Symbol.toStringTag, { value: "Module" }));
5139
5153
  export {
5140
- se as $,
5141
- Ps as A,
5154
+ oe as $,
5155
+ Bo as A,
5142
5156
  ie as B,
5143
- pt as C,
5144
- As as D,
5145
- Gr as E,
5146
- ze as F,
5147
- Hs as G,
5148
- os as H,
5157
+ gt as C,
5158
+ Io as D,
5159
+ kr as E,
5160
+ Ze as F,
5161
+ Oo as G,
5162
+ uo as H,
5149
5163
  _e as I,
5150
- Ns as J,
5151
- Cs as K,
5152
- Yr as L,
5153
- Ms as M,
5154
- Os as N,
5155
- Ss as O,
5156
- Bs as P,
5157
- _s as Q,
5158
- xs as R,
5159
- ri as S,
5160
- Ts as T,
5161
- Es as U,
5162
- Rs as V,
5163
- pr as a,
5164
- Dr as b,
5165
- ti as c,
5166
- We as d,
5164
+ Do as J,
5165
+ Ro as K,
5166
+ Kr as L,
5167
+ Uo as M,
5168
+ Mo as N,
5169
+ Po as O,
5170
+ No as P,
5171
+ To as Q,
5172
+ So as R,
5173
+ oi as S,
5174
+ wo as T,
5175
+ Lo as U,
5176
+ $o as V,
5177
+ br as a,
5178
+ Gr as b,
5179
+ ni as c,
5180
+ Xe as d,
5167
5181
  A as e,
5168
5182
  O as f,
5169
5183
  V as g,
5170
5184
  T as h,
5171
- ei as i,
5185
+ ii as i,
5172
5186
  G as j,
5173
- Rr as k,
5174
- as as l,
5175
- x as m,
5187
+ $r as k,
5188
+ lo as l,
5189
+ co as m,
5176
5190
  B as n,
5177
- Wr as o,
5178
- Is as p,
5179
- we as q,
5180
- us as r,
5181
- Gt as s,
5182
- ws as t,
5183
- ls as u,
5184
- hs as v,
5191
+ Zr as o,
5192
+ fo as p,
5193
+ x as q,
5194
+ Co as r,
5195
+ jt as s,
5196
+ Ho as t,
5197
+ we as u,
5198
+ ho as v,
5185
5199
  M as w,
5186
- Ls as x,
5187
- Fr as y,
5200
+ Ao as x,
5201
+ Vr as y,
5188
5202
  k as z
5189
5203
  };