@everymatrix/player-account-gaming-limits-history-2 1.86.3 → 1.86.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,49 +1,49 @@
1
- function B() {
1
+ function I() {
2
2
  }
3
- function Ut(e) {
3
+ function Ft(e) {
4
4
  return e();
5
5
  }
6
- function ft() {
6
+ function pt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ce(e) {
10
- e.forEach(Ut);
9
+ function he(e) {
10
+ e.forEach(Ft);
11
11
  }
12
- function st(e) {
12
+ function ht(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Gt(e, t) {
15
+ function jt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Cr(e) {
18
+ function Nr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Ft(e, ...t) {
21
+ function kt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const i of t)
24
24
  i(void 0);
25
- return B;
25
+ return I;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Nr(e, t, r) {
31
- e.$$.on_destroy.push(Ft(t, r));
30
+ function Rr(e, t, r) {
31
+ e.$$.on_destroy.push(kt(t, r));
32
32
  }
33
- function mt(e) {
33
+ function dt(e) {
34
34
  return e ?? "";
35
35
  }
36
- function T(e, t) {
36
+ function x(e, t) {
37
37
  e.appendChild(t);
38
38
  }
39
- function Rr(e, t, r) {
40
- const i = Mr(e);
39
+ function Mr(e, t, r) {
40
+ const i = Dr(e);
41
41
  if (!i.getElementById(t)) {
42
- const n = H("style");
43
- n.id = t, n.textContent = r, Dr(i, n);
42
+ const n = P("style");
43
+ n.id = t, n.textContent = r, $r(i, n);
44
44
  }
45
45
  }
46
- function Mr(e) {
46
+ function Dr(e) {
47
47
  if (!e)
48
48
  return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -53,8 +53,8 @@ function Mr(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function Dr(e, t) {
57
- return T(
56
+ function $r(e, t) {
57
+ return x(
58
58
  /** @type {Document} */
59
59
  e.head || e,
60
60
  t
@@ -66,29 +66,29 @@ function W(e, t, r) {
66
66
  function k(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function $r(e, t) {
69
+ function Ur(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
73
- function H(e) {
73
+ function P(e) {
74
74
  return document.createElement(e);
75
75
  }
76
- function Ne(e) {
76
+ function Me(e) {
77
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
78
  }
79
- function $(e) {
79
+ function U(e) {
80
80
  return document.createTextNode(e);
81
81
  }
82
- function Ve() {
83
- return $(" ");
82
+ function Xe() {
83
+ return U(" ");
84
84
  }
85
- function Ur(e, t, r, i) {
85
+ function Gr(e, t, r, i) {
86
86
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
87
87
  }
88
- function x(e, t, r) {
88
+ function E(e, t, r) {
89
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
90
90
  }
91
- function Gr(e) {
91
+ function Fr(e) {
92
92
  return Array.from(e.childNodes);
93
93
  }
94
94
  function j(e, t) {
@@ -98,7 +98,7 @@ function j(e, t) {
98
98
  function ye(e, t, r) {
99
99
  e.classList.toggle(t, !!r);
100
100
  }
101
- function Fr(e) {
101
+ function jr(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
@@ -107,98 +107,98 @@ function Fr(e) {
107
107
  }
108
108
  ), t;
109
109
  }
110
- let ue;
111
- function ae(e) {
112
- ue = e;
110
+ let ae;
111
+ function se(e) {
112
+ ae = e;
113
113
  }
114
- function jr() {
115
- if (!ue)
114
+ function kr() {
115
+ if (!ae)
116
116
  throw new Error("Function called outside component initialization");
117
- return ue;
117
+ return ae;
118
118
  }
119
- function kr(e) {
120
- jr().$$.on_mount.push(e);
119
+ function Vr(e) {
120
+ kr().$$.on_mount.push(e);
121
121
  }
122
122
  const Q = [], Te = [];
123
123
  let Y = [];
124
- const pt = [], Vr = /* @__PURE__ */ Promise.resolve();
125
- let We = !1;
126
- function Wr() {
127
- We || (We = !0, Vr.then(O));
124
+ const yt = [], Wr = /* @__PURE__ */ Promise.resolve();
125
+ let ze = !1;
126
+ function Xr() {
127
+ ze || (ze = !0, Wr.then(B));
128
128
  }
129
- function Xe(e) {
129
+ function Ze(e) {
130
130
  Y.push(e);
131
131
  }
132
- const Re = /* @__PURE__ */ new Set();
132
+ const De = /* @__PURE__ */ new Set();
133
133
  let z = 0;
134
- function O() {
134
+ function B() {
135
135
  if (z !== 0)
136
136
  return;
137
- const e = ue;
137
+ const e = ae;
138
138
  do {
139
139
  try {
140
140
  for (; z < Q.length; ) {
141
141
  const t = Q[z];
142
- z++, ae(t), Xr(t.$$);
142
+ z++, se(t), zr(t.$$);
143
143
  }
144
144
  } catch (t) {
145
145
  throw Q.length = 0, z = 0, t;
146
146
  }
147
- for (ae(null), Q.length = 0, z = 0; Te.length; )
147
+ for (se(null), Q.length = 0, z = 0; Te.length; )
148
148
  Te.pop()();
149
149
  for (let t = 0; t < Y.length; t += 1) {
150
150
  const r = Y[t];
151
- Re.has(r) || (Re.add(r), r());
151
+ De.has(r) || (De.add(r), r());
152
152
  }
153
153
  Y.length = 0;
154
154
  } while (Q.length);
155
- for (; pt.length; )
156
- pt.pop()();
157
- We = !1, Re.clear(), ae(e);
155
+ for (; yt.length; )
156
+ yt.pop()();
157
+ ze = !1, De.clear(), se(e);
158
158
  }
159
- function Xr(e) {
159
+ function zr(e) {
160
160
  if (e.fragment !== null) {
161
- e.update(), ce(e.before_update);
161
+ e.update(), he(e.before_update);
162
162
  const t = e.dirty;
163
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
163
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
164
164
  }
165
165
  }
166
- function zr(e) {
166
+ function Zr(e) {
167
167
  const t = [], r = [];
168
168
  Y.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Y = t;
169
169
  }
170
- const Zr = /* @__PURE__ */ new Set();
171
- function Qr(e, t) {
172
- e && e.i && (Zr.delete(e), e.i(t));
170
+ const Qr = /* @__PURE__ */ new Set();
171
+ function Yr(e, t) {
172
+ e && e.i && (Qr.delete(e), e.i(t));
173
173
  }
174
- function dt(e) {
174
+ function gt(e) {
175
175
  return e?.length !== void 0 ? e : Array.from(e);
176
176
  }
177
- function Yr(e, t, r) {
177
+ function Jr(e, t, r) {
178
178
  const { fragment: i, after_update: n } = e.$$;
179
- i && i.m(t, r), Xe(() => {
180
- const o = e.$$.on_mount.map(Ut).filter(st);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
182
- }), n.forEach(Xe);
179
+ i && i.m(t, r), Ze(() => {
180
+ const o = e.$$.on_mount.map(Ft).filter(ht);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
182
+ }), n.forEach(Ze);
183
183
  }
184
- function Jr(e, t) {
184
+ function qr(e, t) {
185
185
  const r = e.$$;
186
- r.fragment !== null && (zr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (Zr(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
- function qr(e, t) {
189
- e.$$.dirty[0] === -1 && (Q.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
+ function Kr(e, t) {
189
+ e.$$.dirty[0] === -1 && (Q.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
- function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
192
- const h = ue;
193
- ae(e);
191
+ function ei(e, t, r, i, n, o, a = null, s = [-1]) {
192
+ const h = ae;
193
+ se(e);
194
194
  const u = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
197
197
  // state
198
198
  props: o,
199
- update: B,
199
+ update: I,
200
200
  not_equal: n,
201
- bound: ft(),
201
+ bound: pt(),
202
202
  // lifecycle
203
203
  on_mount: [],
204
204
  on_destroy: [],
@@ -207,7 +207,7 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
207
207
  after_update: [],
208
208
  context: new Map(t.context || (h ? h.$$.context : [])),
209
209
  // everything else
210
- callbacks: ft(),
210
+ callbacks: pt(),
211
211
  dirty: s,
212
212
  skip_bound: !1,
213
213
  root: t.target || h.$$.root
@@ -216,19 +216,19 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
216
216
  let l = !1;
217
217
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
218
218
  const y = p.length ? p[0] : f;
219
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && qr(e, c)), f;
220
- }) : [], u.update(), l = !0, ce(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
219
+ 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;
220
+ }) : [], u.update(), l = !0, he(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
- const c = Gr(t.target);
222
+ const c = Fr(t.target);
223
223
  u.fragment && u.fragment.l(c), c.forEach(k);
224
224
  } else
225
225
  u.fragment && u.fragment.c();
226
- t.intro && Qr(e.$$.fragment), Yr(e, t.target, t.anchor), O();
226
+ t.intro && Yr(e.$$.fragment), Jr(e, t.target, t.anchor), B();
227
227
  }
228
- ae(h);
228
+ se(h);
229
229
  }
230
- let jt;
231
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
230
+ let Vt;
231
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
232
232
  /** The Svelte component constructor */
233
233
  $$ctor;
234
234
  /** Slots */
@@ -270,7 +270,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
270
270
  let o;
271
271
  return {
272
272
  c: function() {
273
- o = H("slot"), n !== "default" && x(o, "name", n);
273
+ o = P("slot"), n !== "default" && E(o, "name", n);
274
274
  },
275
275
  /**
276
276
  * @param {HTMLElement} target
@@ -287,7 +287,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
287
287
  };
288
288
  if (await Promise.resolve(), !this.$$cn || this.$$c)
289
289
  return;
290
- const t = {}, r = Fr(this);
290
+ const t = {}, r = jr(this);
291
291
  for (const n of this.$$s)
292
292
  n in r && (t[n] = [e(n)]);
293
293
  for (const n of this.attributes) {
@@ -374,8 +374,8 @@ function ve(e, t, r, i) {
374
374
  return t;
375
375
  }
376
376
  }
377
- function ei(e, t, r, i, n, o) {
378
- let a = class extends jt {
377
+ function ti(e, t, r, i, n, o) {
378
+ let a = class extends Vt {
379
379
  constructor() {
380
380
  super(e, r, n), this.$$p_d = t;
381
381
  }
@@ -403,7 +403,7 @@ function ei(e, t, r, i, n, o) {
403
403
  }), e.element = /** @type {any} */
404
404
  a, a;
405
405
  }
406
- class ti {
406
+ class ri {
407
407
  /**
408
408
  * ### PRIVATE API
409
409
  *
@@ -422,7 +422,7 @@ class ti {
422
422
  $$set = void 0;
423
423
  /** @returns {void} */
424
424
  $destroy() {
425
- Jr(this, 1), this.$destroy = B;
425
+ qr(this, 1), this.$destroy = I;
426
426
  }
427
427
  /**
428
428
  * @template {Extract<keyof Events, string>} K
@@ -431,8 +431,8 @@ class ti {
431
431
  * @returns {() => void}
432
432
  */
433
433
  $on(t, r) {
434
- if (!st(r))
435
- return B;
434
+ if (!ht(r))
435
+ return I;
436
436
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
437
  return i.push(r), () => {
438
438
  const n = i.indexOf(r);
@@ -444,22 +444,22 @@ class ti {
444
444
  * @returns {void}
445
445
  */
446
446
  $set(t) {
447
- this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const ri = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ri);
450
+ const ii = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ii);
452
452
  const Z = [];
453
- function ii(e, t) {
453
+ function ni(e, t) {
454
454
  return {
455
- subscribe: we(e, t).subscribe
455
+ subscribe: Ae(e, t).subscribe
456
456
  };
457
457
  }
458
- function we(e, t = B) {
458
+ function Ae(e, t = I) {
459
459
  let r;
460
460
  const i = /* @__PURE__ */ new Set();
461
461
  function n(s) {
462
- if (Gt(e, s) && (e = s, r)) {
462
+ if (jt(e, s) && (e = s, r)) {
463
463
  const h = !Z.length;
464
464
  for (const u of i)
465
465
  u[1](), Z.push(u, e);
@@ -473,31 +473,31 @@ function we(e, t = B) {
473
473
  function o(s) {
474
474
  n(s(e));
475
475
  }
476
- function a(s, h = B) {
476
+ function a(s, h = I) {
477
477
  const u = [s, h];
478
- return i.add(u), i.size === 1 && (r = t(n, o) || B), s(e), () => {
478
+ return i.add(u), i.size === 1 && (r = t(n, o) || I), s(e), () => {
479
479
  i.delete(u), i.size === 0 && r && (r(), r = null);
480
480
  };
481
481
  }
482
482
  return { set: n, update: o, subscribe: a };
483
483
  }
484
- function re(e, t, r) {
484
+ function te(e, t, r) {
485
485
  const i = !Array.isArray(e), n = i ? [e] : e;
486
486
  if (!n.every(Boolean))
487
487
  throw new Error("derived() expects stores as input, got a falsy value");
488
488
  const o = t.length < 2;
489
- return ii(r, (a, s) => {
489
+ return ni(r, (a, s) => {
490
490
  let h = !1;
491
491
  const u = [];
492
- let l = 0, c = B;
492
+ let l = 0, c = I;
493
493
  const f = () => {
494
494
  if (l)
495
495
  return;
496
496
  c();
497
497
  const y = t(i ? u[0] : u, a, s);
498
- o ? a(y) : c = st(y) ? y : B;
498
+ o ? a(y) : c = ht(y) ? y : I;
499
499
  }, p = n.map(
500
- (y, d) => Ft(
500
+ (y, d) => kt(
501
501
  y,
502
502
  (v) => {
503
503
  u[d] = v, l &= ~(1 << d), h && f();
@@ -508,124 +508,110 @@ function re(e, t, r) {
508
508
  )
509
509
  );
510
510
  return h = !0, f(), function() {
511
- ce(p), c(), h = !1;
511
+ he(p), c(), h = !1;
512
512
  };
513
513
  });
514
514
  }
515
- function ni(e) {
515
+ function oi(e) {
516
516
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
517
517
  }
518
- var oi = function(t) {
519
- return si(t) && !ai(t);
518
+ var si = function(t) {
519
+ return ai(t) && !ui(t);
520
520
  };
521
- function si(e) {
521
+ function ai(e) {
522
522
  return !!e && typeof e == "object";
523
523
  }
524
- function ai(e) {
524
+ function ui(e) {
525
525
  var t = Object.prototype.toString.call(e);
526
- return t === "[object RegExp]" || t === "[object Date]" || hi(e);
527
- }
528
- var ui = typeof Symbol == "function" && Symbol.for, li = ui ? Symbol.for("react.element") : 60103;
529
- function hi(e) {
530
- return e.$$typeof === li;
526
+ return t === "[object RegExp]" || t === "[object Date]" || ci(e);
531
527
  }
528
+ var li = typeof Symbol == "function" && Symbol.for, hi = li ? Symbol.for("react.element") : 60103;
532
529
  function ci(e) {
530
+ return e.$$typeof === hi;
531
+ }
532
+ function fi(e) {
533
533
  return Array.isArray(e) ? [] : {};
534
534
  }
535
- function le(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? q(ci(e), e, t) : e;
535
+ function ue(e, t) {
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(fi(e), e, t) : e;
537
537
  }
538
- function fi(e, t, r) {
538
+ function mi(e, t, r) {
539
539
  return e.concat(t).map(function(i) {
540
- return le(i, r);
540
+ return ue(i, r);
541
541
  });
542
542
  }
543
- function mi(e, t) {
543
+ function pi(e, t) {
544
544
  if (!t.customMerge)
545
- return q;
545
+ return J;
546
546
  var r = t.customMerge(e);
547
- return typeof r == "function" ? r : q;
547
+ return typeof r == "function" ? r : J;
548
548
  }
549
- function pi(e) {
549
+ function di(e) {
550
550
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
551
551
  return Object.propertyIsEnumerable.call(e, t);
552
552
  }) : [];
553
553
  }
554
- function yt(e) {
555
- return Object.keys(e).concat(pi(e));
554
+ function bt(e) {
555
+ return Object.keys(e).concat(di(e));
556
556
  }
557
- function kt(e, t) {
557
+ function Wt(e, t) {
558
558
  try {
559
559
  return t in e;
560
560
  } catch {
561
561
  return !1;
562
562
  }
563
563
  }
564
- function di(e, t) {
565
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
564
+ function yi(e, t) {
565
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
566
566
  }
567
- function yi(e, t, r) {
567
+ function gi(e, t, r) {
568
568
  var i = {};
569
- return r.isMergeableObject(e) && yt(e).forEach(function(n) {
570
- i[n] = le(e[n], r);
571
- }), yt(t).forEach(function(n) {
572
- di(e, n) || (kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = mi(n, r)(e[n], t[n], r) : i[n] = le(t[n], r));
569
+ return r.isMergeableObject(e) && bt(e).forEach(function(n) {
570
+ i[n] = ue(e[n], r);
571
+ }), bt(t).forEach(function(n) {
572
+ yi(e, n) || (Wt(e, n) && r.isMergeableObject(t[n]) ? i[n] = pi(n, r)(e[n], t[n], r) : i[n] = ue(t[n], r));
573
573
  }), i;
574
574
  }
575
- function q(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = le;
575
+ function J(e, t, r) {
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || mi, r.isMergeableObject = r.isMergeableObject || si, r.cloneUnlessOtherwiseSpecified = ue;
577
577
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
578
- return o ? i ? r.arrayMerge(e, t, r) : yi(e, t, r) : le(t, r);
578
+ return o ? i ? r.arrayMerge(e, t, r) : gi(e, t, r) : ue(t, r);
579
579
  }
580
- q.all = function(t, r) {
580
+ J.all = function(t, r) {
581
581
  if (!Array.isArray(t))
582
582
  throw new Error("first argument should be an array");
583
583
  return t.reduce(function(i, n) {
584
- return q(i, n, r);
584
+ return J(i, n, r);
585
585
  }, {});
586
586
  };
587
- var bi = q, gi = bi;
588
- const vi = /* @__PURE__ */ ni(gi);
589
- /*! *****************************************************************************
590
- Copyright (c) Microsoft Corporation.
591
-
592
- Permission to use, copy, modify, and/or distribute this software for any
593
- purpose with or without fee is hereby granted.
594
-
595
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
596
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
597
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
598
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
599
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
600
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
601
- PERFORMANCE OF THIS SOFTWARE.
602
- ***************************************************************************** */
603
- var ze = function(e, t) {
604
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
587
+ var bi = J, vi = bi;
588
+ const _i = /* @__PURE__ */ oi(vi);
589
+ var Qe = function(e, t) {
590
+ return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
605
591
  r.__proto__ = i;
606
592
  } || function(r, i) {
607
593
  for (var n in i)
608
594
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
609
- }, ze(e, t);
595
+ }, Qe(e, t);
610
596
  };
611
- function G(e, t) {
597
+ function Pe(e, t) {
612
598
  if (typeof t != "function" && t !== null)
613
599
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
614
- ze(e, t);
600
+ Qe(e, t);
615
601
  function r() {
616
602
  this.constructor = e;
617
603
  }
618
604
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
619
605
  }
620
- var _ = function() {
621
- return _ = Object.assign || function(t) {
606
+ var R = function() {
607
+ return R = Object.assign || function(t) {
622
608
  for (var r, i = 1, n = arguments.length; i < n; i++) {
623
609
  r = arguments[i];
624
610
  for (var o in r)
625
611
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
626
612
  }
627
613
  return t;
628
- }, _.apply(this, arguments);
614
+ }, R.apply(this, arguments);
629
615
  };
630
616
  function Ei(e, t) {
631
617
  var r = {};
@@ -636,143 +622,119 @@ function Ei(e, t) {
636
622
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
637
623
  return r;
638
624
  }
639
- function Ze(e) {
640
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
641
- if (r)
642
- return r.call(e);
643
- if (e && typeof e.length == "number")
644
- return {
645
- next: function() {
646
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
647
- }
648
- };
649
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
650
- }
651
- function Qe(e, t) {
652
- var r = typeof Symbol == "function" && e[Symbol.iterator];
653
- if (!r)
654
- return e;
655
- var i = r.call(e), n, o = [], a;
656
- try {
657
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
658
- o.push(n.value);
659
- } catch (s) {
660
- a = { error: s };
661
- } finally {
662
- try {
663
- n && !n.done && (r = i.return) && r.call(i);
664
- } finally {
665
- if (a)
666
- throw a.error;
667
- }
668
- }
669
- return o;
670
- }
671
- function J(e, t, r) {
625
+ function $e(e, t, r) {
672
626
  if (r || arguments.length === 2)
673
627
  for (var i = 0, n = t.length, o; i < n; i++)
674
628
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
675
- return e.concat(o || t);
629
+ return e.concat(o || Array.prototype.slice.call(t));
676
630
  }
677
- function Me(e, t) {
678
- var r = t && t.cache ? t.cache : wi, i = t && t.serializer ? t.serializer : Si, n = t && t.strategy ? t.strategy : xi;
631
+ function Ue(e, t) {
632
+ var r = t && t.cache ? t.cache : Pi, i = t && t.serializer ? t.serializer : wi, n = t && t.strategy ? t.strategy : Li;
679
633
  return n(e, {
680
634
  cache: r,
681
635
  serializer: i
682
636
  });
683
637
  }
684
- function _i(e) {
638
+ function xi(e) {
685
639
  return e == null || typeof e == "number" || typeof e == "boolean";
686
640
  }
687
- function Vt(e, t, r, i) {
688
- var n = _i(i) ? i : r(i), o = t.get(n);
641
+ function Ti(e, t, r, i) {
642
+ var n = xi(i) ? i : r(i), o = t.get(n);
689
643
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
690
644
  }
691
- function Wt(e, t, r) {
645
+ function Xt(e, t, r) {
692
646
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
693
647
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
694
648
  }
695
- function at(e, t, r, i, n) {
649
+ function zt(e, t, r, i, n) {
696
650
  return r.bind(t, e, i, n);
697
651
  }
698
- function xi(e, t) {
699
- var r = e.length === 1 ? Vt : Wt;
700
- return at(e, this, r, t.cache.create(), t.serializer);
701
- }
702
- function Ti(e, t) {
703
- return at(e, this, Wt, t.cache.create(), t.serializer);
704
- }
705
652
  function Li(e, t) {
706
- return at(e, this, Vt, t.cache.create(), t.serializer);
653
+ var r = e.length === 1 ? Ti : Xt;
654
+ return zt(e, this, r, t.cache.create(), t.serializer);
707
655
  }
708
- var Si = function() {
709
- return JSON.stringify(arguments);
710
- };
711
- function ut() {
712
- this.cache = /* @__PURE__ */ Object.create(null);
656
+ function Si(e, t) {
657
+ return zt(e, this, Xt, t.cache.create(), t.serializer);
713
658
  }
714
- ut.prototype.get = function(e) {
715
- return this.cache[e];
716
- };
717
- ut.prototype.set = function(e, t) {
718
- this.cache[e] = t;
719
- };
720
- var wi = {
659
+ var wi = function() {
660
+ return JSON.stringify(arguments);
661
+ }, Ai = (
662
+ /** @class */
663
+ function() {
664
+ function e() {
665
+ this.cache = /* @__PURE__ */ Object.create(null);
666
+ }
667
+ return e.prototype.get = function(t) {
668
+ return this.cache[t];
669
+ }, e.prototype.set = function(t, r) {
670
+ this.cache[t] = r;
671
+ }, e;
672
+ }()
673
+ ), Pi = {
721
674
  create: function() {
722
- return new ut();
675
+ return new Ai();
723
676
  }
724
- }, De = {
725
- variadic: Ti,
726
- monadic: Li
727
- }, g;
677
+ }, Ge = {
678
+ variadic: Si
679
+ }, Le = function() {
680
+ return Le = Object.assign || function(t) {
681
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
682
+ r = arguments[i];
683
+ for (var o in r)
684
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
685
+ }
686
+ return t;
687
+ }, Le.apply(this, arguments);
688
+ };
689
+ var b;
728
690
  (function(e) {
729
691
  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";
730
- })(g || (g = {}));
731
- var S;
692
+ })(b || (b = {}));
693
+ var L;
732
694
  (function(e) {
733
695
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
734
- })(S || (S = {}));
735
- var K;
696
+ })(L || (L = {}));
697
+ var q;
736
698
  (function(e) {
737
699
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
738
- })(K || (K = {}));
739
- function bt(e) {
740
- return e.type === S.literal;
741
- }
742
- function Ai(e) {
743
- return e.type === S.argument;
744
- }
745
- function Xt(e) {
746
- return e.type === S.number;
700
+ })(q || (q = {}));
701
+ function vt(e) {
702
+ return e.type === L.literal;
747
703
  }
748
- function zt(e) {
749
- return e.type === S.date;
704
+ function Hi(e) {
705
+ return e.type === L.argument;
750
706
  }
751
707
  function Zt(e) {
752
- return e.type === S.time;
708
+ return e.type === L.number;
753
709
  }
754
710
  function Qt(e) {
755
- return e.type === S.select;
711
+ return e.type === L.date;
756
712
  }
757
713
  function Yt(e) {
758
- return e.type === S.plural;
759
- }
760
- function Hi(e) {
761
- return e.type === S.pound;
714
+ return e.type === L.time;
762
715
  }
763
716
  function Jt(e) {
764
- return e.type === S.tag;
717
+ return e.type === L.select;
765
718
  }
766
719
  function qt(e) {
767
- return !!(e && typeof e == "object" && e.type === K.number);
720
+ return e.type === L.plural;
721
+ }
722
+ function Oi(e) {
723
+ return e.type === L.pound;
724
+ }
725
+ function Kt(e) {
726
+ return e.type === L.tag;
727
+ }
728
+ function er(e) {
729
+ return !!(e && typeof e == "object" && e.type === q.number);
768
730
  }
769
731
  function Ye(e) {
770
- return !!(e && typeof e == "object" && e.type === K.dateTime);
732
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
771
733
  }
772
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
773
- function Ii(e) {
734
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
735
+ function Bi(e) {
774
736
  var t = {};
775
- return e.replace(Pi, function(r) {
737
+ return e.replace(Ii, function(r) {
776
738
  var i = r.length;
777
739
  switch (r[0]) {
778
740
  case "G":
@@ -861,11 +823,21 @@ function Ii(e) {
861
823
  return "";
862
824
  }), t;
863
825
  }
864
- var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
865
- function Oi(e) {
826
+ var w = function() {
827
+ return w = Object.assign || function(t) {
828
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
829
+ r = arguments[i];
830
+ for (var o in r)
831
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
832
+ }
833
+ return t;
834
+ }, w.apply(this, arguments);
835
+ };
836
+ var Ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
+ function Ni(e) {
866
838
  if (e.length === 0)
867
839
  throw new Error("Number skeleton cannot be empty");
868
- for (var t = e.split(Bi).filter(function(f) {
840
+ for (var t = e.split(Ci).filter(function(f) {
869
841
  return f.length > 0;
870
842
  }), r = [], i = 0, n = t; i < n.length; i++) {
871
843
  var o = n[i], a = o.split("/");
@@ -880,17 +852,17 @@ function Oi(e) {
880
852
  }
881
853
  return r;
882
854
  }
883
- function Ci(e) {
855
+ function Ri(e) {
884
856
  return e.replace(/^(.*?)-/, "");
885
857
  }
886
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
887
- function vt(e) {
858
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
859
+ function Et(e) {
888
860
  var t = {};
889
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, i, n) {
861
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, i, n) {
890
862
  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)), "";
891
863
  }), t;
892
864
  }
893
- function rr(e) {
865
+ function nr(e) {
894
866
  switch (e) {
895
867
  case "sign-auto":
896
868
  return {
@@ -930,7 +902,7 @@ function rr(e) {
930
902
  };
931
903
  }
932
904
  }
933
- function Ri(e) {
905
+ function Di(e) {
934
906
  var t;
935
907
  if (e[0] === "E" && e[1] === "E" ? (t = {
936
908
  notation: "engineering"
@@ -938,17 +910,17 @@ function Ri(e) {
938
910
  notation: "scientific"
939
911
  }, e = e.slice(1)), t) {
940
912
  var r = e.slice(0, 2);
941
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
913
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
942
914
  throw new Error("Malformed concise eng/scientific notation");
943
915
  t.minimumIntegerDigits = e.length;
944
916
  }
945
917
  return t;
946
918
  }
947
- function Et(e) {
948
- var t = {}, r = rr(e);
919
+ function xt(e) {
920
+ var t = {}, r = nr(e);
949
921
  return r || t;
950
922
  }
951
- function Mi(e) {
923
+ function $i(e) {
952
924
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
953
925
  var n = i[r];
954
926
  switch (n.stem) {
@@ -972,7 +944,7 @@ function Mi(e) {
972
944
  continue;
973
945
  case "measure-unit":
974
946
  case "unit":
975
- t.style = "unit", t.unit = Ci(n.options[0]);
947
+ t.style = "unit", t.unit = Ri(n.options[0]);
976
948
  continue;
977
949
  case "compact-short":
978
950
  case "K":
@@ -983,13 +955,13 @@ function Mi(e) {
983
955
  t.notation = "compact", t.compactDisplay = "long";
984
956
  continue;
985
957
  case "scientific":
986
- t = _(_(_({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
987
- return _(_({}, h), Et(u));
958
+ t = w(w(w({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
959
+ return w(w({}, h), xt(u));
988
960
  }, {}));
989
961
  continue;
990
962
  case "engineering":
991
- t = _(_(_({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
992
- return _(_({}, h), Et(u));
963
+ t = w(w(w({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
964
+ return w(w({}, h), xt(u));
993
965
  }, {}));
994
966
  continue;
995
967
  case "notation-simple":
@@ -1034,7 +1006,7 @@ function Mi(e) {
1034
1006
  case "integer-width":
1035
1007
  if (n.options.length > 1)
1036
1008
  throw new RangeError("integer-width stems only accept a single optional option");
1037
- n.options[0].replace(Ni, function(h, u, l, c, f, p) {
1009
+ n.options[0].replace(Mi, function(h, u, l, c, f, p) {
1038
1010
  if (u)
1039
1011
  t.minimumIntegerDigits = l.length;
1040
1012
  else {
@@ -1047,32 +1019,32 @@ function Mi(e) {
1047
1019
  });
1048
1020
  continue;
1049
1021
  }
1050
- if (tr.test(n.stem)) {
1022
+ if (ir.test(n.stem)) {
1051
1023
  t.minimumIntegerDigits = n.stem.length;
1052
1024
  continue;
1053
1025
  }
1054
- if (gt.test(n.stem)) {
1026
+ if (_t.test(n.stem)) {
1055
1027
  if (n.options.length > 1)
1056
1028
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1057
- n.stem.replace(gt, function(h, u, l, c, f, p) {
1029
+ n.stem.replace(_t, function(h, u, l, c, f, p) {
1058
1030
  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), "";
1059
1031
  });
1060
1032
  var o = n.options[0];
1061
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), vt(o)));
1033
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Et(o)));
1062
1034
  continue;
1063
1035
  }
1064
- if (er.test(n.stem)) {
1065
- t = _(_({}, t), vt(n.stem));
1036
+ if (rr.test(n.stem)) {
1037
+ t = w(w({}, t), Et(n.stem));
1066
1038
  continue;
1067
1039
  }
1068
- var a = rr(n.stem);
1069
- a && (t = _(_({}, t), a));
1070
- var s = Ri(n.stem);
1071
- s && (t = _(_({}, t), s));
1040
+ var a = nr(n.stem);
1041
+ a && (t = w(w({}, t), a));
1042
+ var s = Di(n.stem);
1043
+ s && (t = w(w({}, t), s));
1072
1044
  }
1073
1045
  return t;
1074
1046
  }
1075
- var be = {
1047
+ var ge = {
1076
1048
  "001": [
1077
1049
  "H",
1078
1050
  "h"
@@ -2487,13 +2459,13 @@ var be = {
2487
2459
  "h"
2488
2460
  ]
2489
2461
  };
2490
- function Di(e, t) {
2462
+ function Ui(e, t) {
2491
2463
  for (var r = "", i = 0; i < e.length; i++) {
2492
2464
  var n = e.charAt(i);
2493
2465
  if (n === "j") {
2494
2466
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2495
2467
  o++, i++;
2496
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $i(t);
2468
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gi(t);
2497
2469
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2498
2470
  r += h;
2499
2471
  for (; a-- > 0; )
@@ -2503,7 +2475,7 @@ function Di(e, t) {
2503
2475
  }
2504
2476
  return r;
2505
2477
  }
2506
- function $i(e) {
2478
+ function Gi(e) {
2507
2479
  var t = e.hourCycle;
2508
2480
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2509
2481
  e.hourCycles && // @ts-ignore
@@ -2522,23 +2494,23 @@ function $i(e) {
2522
2494
  }
2523
2495
  var r = e.language, i;
2524
2496
  r !== "root" && (i = e.maximize().region);
2525
- var n = be[i || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2497
+ var n = ge[i || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2526
2498
  return n[0];
2527
2499
  }
2528
- var $e, Ui = new RegExp("^".concat(Kt.source, "*")), Gi = new RegExp("".concat(Kt.source, "*$"));
2529
- function E(e, t) {
2500
+ var Fe, Fi = new RegExp("^".concat(tr.source, "*")), ji = new RegExp("".concat(tr.source, "*$"));
2501
+ function _(e, t) {
2530
2502
  return { start: e, end: t };
2531
2503
  }
2532
- var Fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ji = !!String.fromCodePoint, ki = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Wi = !!String.prototype.trimStart, Xi = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Zi = zi ? Number.isSafeInteger : function(e) {
2504
+ var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vi = !!String.fromCodePoint, Wi = !!Object.fromEntries, Xi = !!String.prototype.codePointAt, zi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, Qi = !!Number.isSafeInteger, Yi = Qi ? Number.isSafeInteger : function(e) {
2533
2505
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2534
2506
  }, Je = !0;
2535
2507
  try {
2536
- var Qi = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2537
- Je = (($e = Qi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2508
+ var Ji = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2509
+ Je = ((Fe = Ji.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2538
2510
  } catch {
2539
2511
  Je = !1;
2540
2512
  }
2541
- var _t = Fi ? (
2513
+ var Tt = ki ? (
2542
2514
  // Native
2543
2515
  function(t, r, i) {
2544
2516
  return t.startsWith(r, i);
@@ -2548,7 +2520,7 @@ var _t = Fi ? (
2548
2520
  function(t, r, i) {
2549
2521
  return t.slice(i, i + r.length) === r;
2550
2522
  }
2551
- ), qe = ji ? String.fromCodePoint : (
2523
+ ), qe = Vi ? String.fromCodePoint : (
2552
2524
  // IE11
2553
2525
  function() {
2554
2526
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2560,9 +2532,9 @@ var _t = Fi ? (
2560
2532
  }
2561
2533
  return i;
2562
2534
  }
2563
- ), xt = (
2535
+ ), Lt = (
2564
2536
  // native
2565
- ki ? Object.fromEntries : (
2537
+ Wi ? Object.fromEntries : (
2566
2538
  // Ponyfill
2567
2539
  function(t) {
2568
2540
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2572,7 +2544,7 @@ var _t = Fi ? (
2572
2544
  return r;
2573
2545
  }
2574
2546
  )
2575
- ), ir = Vi ? (
2547
+ ), or = Xi ? (
2576
2548
  // Native
2577
2549
  function(t, r) {
2578
2550
  return t.codePointAt(r);
@@ -2586,7 +2558,7 @@ var _t = Fi ? (
2586
2558
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2587
2559
  }
2588
2560
  }
2589
- ), Yi = Wi ? (
2561
+ ), qi = zi ? (
2590
2562
  // Native
2591
2563
  function(t) {
2592
2564
  return t.trimStart();
@@ -2594,9 +2566,9 @@ var _t = Fi ? (
2594
2566
  ) : (
2595
2567
  // Ponyfill
2596
2568
  function(t) {
2597
- return t.replace(Ui, "");
2569
+ return t.replace(Fi, "");
2598
2570
  }
2599
- ), Ji = Xi ? (
2571
+ ), Ki = Zi ? (
2600
2572
  // Native
2601
2573
  function(t) {
2602
2574
  return t.trimEnd();
@@ -2604,32 +2576,32 @@ var _t = Fi ? (
2604
2576
  ) : (
2605
2577
  // Ponyfill
2606
2578
  function(t) {
2607
- return t.replace(Gi, "");
2579
+ return t.replace(ji, "");
2608
2580
  }
2609
2581
  );
2610
- function nr(e, t) {
2582
+ function sr(e, t) {
2611
2583
  return new RegExp(e, t);
2612
2584
  }
2613
2585
  var Ke;
2614
2586
  if (Je) {
2615
- var Tt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
+ var St = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2616
2588
  Ke = function(t, r) {
2617
2589
  var i;
2618
- Tt.lastIndex = r;
2619
- var n = Tt.exec(t);
2590
+ St.lastIndex = r;
2591
+ var n = St.exec(t);
2620
2592
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2621
2593
  };
2622
2594
  } else
2623
2595
  Ke = function(t, r) {
2624
2596
  for (var i = []; ; ) {
2625
- var n = ir(t, r);
2626
- if (n === void 0 || or(n) || tn(n))
2597
+ var n = or(t, r);
2598
+ if (n === void 0 || ar(n) || nn(n))
2627
2599
  break;
2628
2600
  i.push(n), r += n >= 65536 ? 2 : 1;
2629
2601
  }
2630
2602
  return qe.apply(void 0, i);
2631
2603
  };
2632
- var qi = (
2604
+ var en = (
2633
2605
  /** @class */
2634
2606
  function() {
2635
2607
  function e(t, r) {
@@ -2653,13 +2625,13 @@ var qi = (
2653
2625
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2654
2626
  var s = this.clonePosition();
2655
2627
  this.bump(), n.push({
2656
- type: S.pound,
2657
- location: E(s, this.clonePosition())
2628
+ type: L.pound,
2629
+ location: _(s, this.clonePosition())
2658
2630
  });
2659
2631
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2660
2632
  if (i)
2661
2633
  break;
2662
- return this.error(g.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2634
+ return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2663
2635
  } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
2664
2636
  var a = this.parseTag(t, r);
2665
2637
  if (a.err)
@@ -2681,9 +2653,9 @@ var qi = (
2681
2653
  if (this.bumpSpace(), this.bumpIf("/>"))
2682
2654
  return {
2683
2655
  val: {
2684
- type: S.literal,
2656
+ type: L.literal,
2685
2657
  value: "<".concat(n, "/>"),
2686
- location: E(i, this.clonePosition())
2658
+ location: _(i, this.clonePosition())
2687
2659
  },
2688
2660
  err: null
2689
2661
  };
@@ -2694,24 +2666,24 @@ var qi = (
2694
2666
  var a = o.val, s = this.clonePosition();
2695
2667
  if (this.bumpIf("</")) {
2696
2668
  if (this.isEOF() || !et(this.char()))
2697
- return this.error(g.INVALID_TAG, E(s, this.clonePosition()));
2669
+ return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
2698
2670
  var h = this.clonePosition(), u = this.parseTagName();
2699
- return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, E(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2671
+ return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2700
2672
  val: {
2701
- type: S.tag,
2673
+ type: L.tag,
2702
2674
  value: n,
2703
2675
  children: a,
2704
- location: E(i, this.clonePosition())
2676
+ location: _(i, this.clonePosition())
2705
2677
  },
2706
2678
  err: null
2707
- } : this.error(g.INVALID_TAG, E(s, this.clonePosition())));
2679
+ } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
2708
2680
  } else
2709
- return this.error(g.UNCLOSED_TAG, E(i, this.clonePosition()));
2681
+ return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
2710
2682
  } else
2711
- return this.error(g.INVALID_TAG, E(i, this.clonePosition()));
2683
+ return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
2712
2684
  }, e.prototype.parseTagName = function() {
2713
2685
  var t = this.offset();
2714
- for (this.bump(); !this.isEOF() && en(this.char()); )
2686
+ for (this.bump(); !this.isEOF() && rn(this.char()); )
2715
2687
  this.bump();
2716
2688
  return this.message.slice(t, this.offset());
2717
2689
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2733,14 +2705,14 @@ var qi = (
2733
2705
  }
2734
2706
  break;
2735
2707
  }
2736
- var h = E(i, this.clonePosition());
2708
+ var h = _(i, this.clonePosition());
2737
2709
  return {
2738
- val: { type: S.literal, value: n, location: h },
2710
+ val: { type: L.literal, value: n, location: h },
2739
2711
  err: null
2740
2712
  };
2741
2713
  }, e.prototype.tryParseLeftAngleBracket = function() {
2742
2714
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2743
- !Ki(this.peek() || 0)) ? (this.bump(), "<") : null;
2715
+ !tn(this.peek() || 0)) ? (this.bump(), "<") : null;
2744
2716
  }, e.prototype.tryParseQuote = function(t) {
2745
2717
  if (this.isEOF() || this.char() !== 39)
2746
2718
  return null;
@@ -2783,40 +2755,40 @@ var qi = (
2783
2755
  }, e.prototype.parseArgument = function(t, r) {
2784
2756
  var i = this.clonePosition();
2785
2757
  if (this.bump(), this.bumpSpace(), this.isEOF())
2786
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(i, this.clonePosition()));
2758
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2787
2759
  if (this.char() === 125)
2788
- return this.bump(), this.error(g.EMPTY_ARGUMENT, E(i, this.clonePosition()));
2760
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
2789
2761
  var n = this.parseIdentifierIfPossible().value;
2790
2762
  if (!n)
2791
- return this.error(g.MALFORMED_ARGUMENT, E(i, this.clonePosition()));
2763
+ return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2792
2764
  if (this.bumpSpace(), this.isEOF())
2793
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(i, this.clonePosition()));
2765
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2794
2766
  switch (this.char()) {
2795
2767
  case 125:
2796
2768
  return this.bump(), {
2797
2769
  val: {
2798
- type: S.argument,
2770
+ type: L.argument,
2799
2771
  // value does not include the opening and closing braces.
2800
2772
  value: n,
2801
- location: E(i, this.clonePosition())
2773
+ location: _(i, this.clonePosition())
2802
2774
  },
2803
2775
  err: null
2804
2776
  };
2805
2777
  case 44:
2806
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2778
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2807
2779
  default:
2808
- return this.error(g.MALFORMED_ARGUMENT, E(i, this.clonePosition()));
2780
+ return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2809
2781
  }
2810
2782
  }, e.prototype.parseIdentifierIfPossible = function() {
2811
2783
  var t = this.clonePosition(), r = this.offset(), i = Ke(this.message, r), n = r + i.length;
2812
2784
  this.bumpTo(n);
2813
- var o = this.clonePosition(), a = E(t, o);
2785
+ var o = this.clonePosition(), a = _(t, o);
2814
2786
  return { value: i, location: a };
2815
2787
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2816
2788
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2817
2789
  switch (s) {
2818
2790
  case "":
2819
- return this.error(g.EXPECT_ARGUMENT_TYPE, E(a, h));
2791
+ return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
2820
2792
  case "number":
2821
2793
  case "date":
2822
2794
  case "time": {
@@ -2827,44 +2799,44 @@ var qi = (
2827
2799
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2828
2800
  if (c.err)
2829
2801
  return c;
2830
- var f = Ji(c.val);
2802
+ var f = Ki(c.val);
2831
2803
  if (f.length === 0)
2832
- return this.error(g.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2833
- var p = E(l, this.clonePosition());
2804
+ return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2805
+ var p = _(l, this.clonePosition());
2834
2806
  u = { style: f, styleLocation: p };
2835
2807
  }
2836
2808
  var y = this.tryParseArgumentClose(n);
2837
2809
  if (y.err)
2838
2810
  return y;
2839
- var d = E(n, this.clonePosition());
2840
- if (u && _t(u?.style, "::", 0)) {
2841
- var v = Yi(u.style.slice(2));
2811
+ var d = _(n, this.clonePosition());
2812
+ if (u && Tt(u?.style, "::", 0)) {
2813
+ var v = qi(u.style.slice(2));
2842
2814
  if (s === "number") {
2843
2815
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2844
2816
  return c.err ? c : {
2845
- val: { type: S.number, value: i, location: d, style: c.val },
2817
+ val: { type: L.number, value: i, location: d, style: c.val },
2846
2818
  err: null
2847
2819
  };
2848
2820
  } else {
2849
2821
  if (v.length === 0)
2850
- return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
2851
- var P = v;
2852
- this.locale && (P = Di(v, this.locale));
2822
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
2823
+ var H = v;
2824
+ this.locale && (H = Ui(v, this.locale));
2853
2825
  var f = {
2854
- type: K.dateTime,
2855
- pattern: P,
2826
+ type: q.dateTime,
2827
+ pattern: H,
2856
2828
  location: u.styleLocation,
2857
- parsedOptions: this.shouldParseSkeletons ? Ii(P) : {}
2858
- }, b = s === "date" ? S.date : S.time;
2829
+ parsedOptions: this.shouldParseSkeletons ? Bi(H) : {}
2830
+ }, g = s === "date" ? L.date : L.time;
2859
2831
  return {
2860
- val: { type: b, value: i, location: d, style: f },
2832
+ val: { type: g, value: i, location: d, style: f },
2861
2833
  err: null
2862
2834
  };
2863
2835
  }
2864
2836
  }
2865
2837
  return {
2866
2838
  val: {
2867
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
2839
+ type: s === "number" ? L.number : s === "date" ? L.date : L.time,
2868
2840
  value: i,
2869
2841
  location: d,
2870
2842
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2875,40 +2847,40 @@ var qi = (
2875
2847
  case "plural":
2876
2848
  case "selectordinal":
2877
2849
  case "select": {
2878
- var w = this.clonePosition();
2850
+ var S = this.clonePosition();
2879
2851
  if (this.bumpSpace(), !this.bumpIf(","))
2880
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, E(w, _({}, w)));
2852
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Le({}, S)));
2881
2853
  this.bumpSpace();
2882
- var R = this.parseIdentifierIfPossible(), N = 0;
2883
- if (s !== "select" && R.value === "offset") {
2854
+ var M = this.parseIdentifierIfPossible(), N = 0;
2855
+ if (s !== "select" && M.value === "offset") {
2884
2856
  if (!this.bumpIf(":"))
2885
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2857
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2886
2858
  this.bumpSpace();
2887
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2859
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2888
2860
  if (c.err)
2889
2861
  return c;
2890
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
2862
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), N = c.val;
2891
2863
  }
2892
- var M = this.tryParsePluralOrSelectOptions(t, s, r, R);
2893
- if (M.err)
2894
- return M;
2864
+ var D = this.tryParsePluralOrSelectOptions(t, s, r, M);
2865
+ if (D.err)
2866
+ return D;
2895
2867
  var y = this.tryParseArgumentClose(n);
2896
2868
  if (y.err)
2897
2869
  return y;
2898
- var V = E(n, this.clonePosition());
2870
+ var V = _(n, this.clonePosition());
2899
2871
  return s === "select" ? {
2900
2872
  val: {
2901
- type: S.select,
2873
+ type: L.select,
2902
2874
  value: i,
2903
- options: xt(M.val),
2875
+ options: Lt(D.val),
2904
2876
  location: V
2905
2877
  },
2906
2878
  err: null
2907
2879
  } : {
2908
2880
  val: {
2909
- type: S.plural,
2881
+ type: L.plural,
2910
2882
  value: i,
2911
- options: xt(M.val),
2883
+ options: Lt(D.val),
2912
2884
  offset: N,
2913
2885
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2914
2886
  location: V
@@ -2917,10 +2889,10 @@ var qi = (
2917
2889
  };
2918
2890
  }
2919
2891
  default:
2920
- return this.error(g.INVALID_ARGUMENT_TYPE, E(a, h));
2892
+ return this.error(b.INVALID_ARGUMENT_TYPE, _(a, h));
2921
2893
  }
2922
2894
  }, e.prototype.tryParseArgumentClose = function(t) {
2923
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2895
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2924
2896
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2925
2897
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2926
2898
  var i = this.char();
@@ -2929,7 +2901,7 @@ var qi = (
2929
2901
  this.bump();
2930
2902
  var n = this.clonePosition();
2931
2903
  if (!this.bumpUntil("'"))
2932
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(n, this.clonePosition()));
2904
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
2933
2905
  this.bump();
2934
2906
  break;
2935
2907
  }
@@ -2959,16 +2931,16 @@ var qi = (
2959
2931
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2960
2932
  var i = [];
2961
2933
  try {
2962
- i = Oi(t);
2934
+ i = Ni(t);
2963
2935
  } catch {
2964
- return this.error(g.INVALID_NUMBER_SKELETON, r);
2936
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
2965
2937
  }
2966
2938
  return {
2967
2939
  val: {
2968
- type: K.number,
2940
+ type: q.number,
2969
2941
  tokens: i,
2970
2942
  location: r,
2971
- parsedOptions: this.shouldParseSkeletons ? Mi(i) : {}
2943
+ parsedOptions: this.shouldParseSkeletons ? $i(i) : {}
2972
2944
  },
2973
2945
  err: null
2974
2946
  };
@@ -2977,19 +2949,19 @@ var qi = (
2977
2949
  if (u.length === 0) {
2978
2950
  var c = this.clonePosition();
2979
2951
  if (r !== "select" && this.bumpIf("=")) {
2980
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
2952
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
2981
2953
  if (f.err)
2982
2954
  return f;
2983
- l = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2955
+ l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2984
2956
  } else
2985
2957
  break;
2986
2958
  }
2987
2959
  if (h.has(u))
2988
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2960
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2989
2961
  u === "other" && (a = !0), this.bumpSpace();
2990
2962
  var p = this.clonePosition();
2991
2963
  if (!this.bumpIf("{"))
2992
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
2964
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2993
2965
  var y = this.parseMessage(t + 1, r, i);
2994
2966
  if (y.err)
2995
2967
  return y;
@@ -3000,11 +2972,11 @@ var qi = (
3000
2972
  u,
3001
2973
  {
3002
2974
  value: y.val,
3003
- location: E(p, this.clonePosition())
2975
+ location: _(p, this.clonePosition())
3004
2976
  }
3005
2977
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3006
2978
  }
3007
- return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2979
+ 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 };
3008
2980
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3009
2981
  var i = 1, n = this.clonePosition();
3010
2982
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3015,8 +2987,8 @@ var qi = (
3015
2987
  else
3016
2988
  break;
3017
2989
  }
3018
- var h = E(n, this.clonePosition());
3019
- return o ? (a *= i, Zi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2990
+ var h = _(n, this.clonePosition());
2991
+ return o ? (a *= i, Yi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3020
2992
  }, e.prototype.offset = function() {
3021
2993
  return this.position.offset;
3022
2994
  }, e.prototype.isEOF = function() {
@@ -3031,7 +3003,7 @@ var qi = (
3031
3003
  var t = this.position.offset;
3032
3004
  if (t >= this.message.length)
3033
3005
  throw Error("out of bound");
3034
- var r = ir(this.message, t);
3006
+ var r = or(this.message, t);
3035
3007
  if (r === void 0)
3036
3008
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3037
3009
  return r;
@@ -3050,7 +3022,7 @@ var qi = (
3050
3022
  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);
3051
3023
  }
3052
3024
  }, e.prototype.bumpIf = function(t) {
3053
- if (_t(this.message, t, this.offset())) {
3025
+ if (Tt(this.message, t, this.offset())) {
3054
3026
  for (var r = 0; r < t.length; r++)
3055
3027
  this.bump();
3056
3028
  return !0;
@@ -3072,7 +3044,7 @@ var qi = (
3072
3044
  break;
3073
3045
  }
3074
3046
  }, e.prototype.bumpSpace = function() {
3075
- for (; !this.isEOF() && or(this.char()); )
3047
+ for (; !this.isEOF() && ar(this.char()); )
3076
3048
  this.bump();
3077
3049
  }, e.prototype.peek = function() {
3078
3050
  if (this.isEOF())
@@ -3085,44 +3057,44 @@ var qi = (
3085
3057
  function et(e) {
3086
3058
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3087
3059
  }
3088
- function Ki(e) {
3060
+ function tn(e) {
3089
3061
  return et(e) || e === 47;
3090
3062
  }
3091
- function en(e) {
3063
+ function rn(e) {
3092
3064
  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;
3093
3065
  }
3094
- function or(e) {
3066
+ function ar(e) {
3095
3067
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3096
3068
  }
3097
- function tn(e) {
3069
+ function nn(e) {
3098
3070
  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;
3099
3071
  }
3100
3072
  function tt(e) {
3101
3073
  e.forEach(function(t) {
3102
- if (delete t.location, Qt(t) || Yt(t))
3074
+ if (delete t.location, Jt(t) || qt(t))
3103
3075
  for (var r in t.options)
3104
3076
  delete t.options[r].location, tt(t.options[r].value);
3105
3077
  else
3106
- Xt(t) && qt(t.style) || (zt(t) || Zt(t)) && Ye(t.style) ? delete t.style.location : Jt(t) && tt(t.children);
3078
+ Zt(t) && er(t.style) || (Qt(t) || Yt(t)) && Ye(t.style) ? delete t.style.location : Kt(t) && tt(t.children);
3107
3079
  });
3108
3080
  }
3109
- function rn(e, t) {
3110
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3111
- var r = new qi(e, t).parse();
3081
+ function on(e, t) {
3082
+ t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3083
+ var r = new en(e, t).parse();
3112
3084
  if (r.err) {
3113
- var i = SyntaxError(g[r.err.kind]);
3085
+ var i = SyntaxError(b[r.err.kind]);
3114
3086
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3115
3087
  }
3116
3088
  return t?.captureLocation || tt(r.val), r.val;
3117
3089
  }
3118
- var ee;
3090
+ var K;
3119
3091
  (function(e) {
3120
3092
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3121
- })(ee || (ee = {}));
3122
- var Ae = (
3093
+ })(K || (K = {}));
3094
+ var He = (
3123
3095
  /** @class */
3124
3096
  function(e) {
3125
- G(t, e);
3097
+ Pe(t, e);
3126
3098
  function t(r, i, n) {
3127
3099
  var o = e.call(this, r) || this;
3128
3100
  return o.code = i, o.originalMessage = n, o;
@@ -3131,155 +3103,155 @@ var Ae = (
3131
3103
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3132
3104
  }, t;
3133
3105
  }(Error)
3134
- ), Lt = (
3106
+ ), wt = (
3135
3107
  /** @class */
3136
3108
  function(e) {
3137
- G(t, e);
3109
+ Pe(t, e);
3138
3110
  function t(r, i, n, o) {
3139
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3111
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3140
3112
  }
3141
3113
  return t;
3142
- }(Ae)
3143
- ), nn = (
3114
+ }(He)
3115
+ ), sn = (
3144
3116
  /** @class */
3145
3117
  function(e) {
3146
- G(t, e);
3118
+ Pe(t, e);
3147
3119
  function t(r, i, n) {
3148
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3120
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), K.INVALID_VALUE, n) || this;
3149
3121
  }
3150
3122
  return t;
3151
- }(Ae)
3152
- ), on = (
3123
+ }(He)
3124
+ ), an = (
3153
3125
  /** @class */
3154
3126
  function(e) {
3155
- G(t, e);
3127
+ Pe(t, e);
3156
3128
  function t(r, i) {
3157
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3129
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), K.MISSING_VALUE, i) || this;
3158
3130
  }
3159
3131
  return t;
3160
- }(Ae)
3161
- ), I;
3132
+ }(He)
3133
+ ), O;
3162
3134
  (function(e) {
3163
3135
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3164
- })(I || (I = {}));
3165
- function sn(e) {
3136
+ })(O || (O = {}));
3137
+ function un(e) {
3166
3138
  return e.length < 2 ? e : e.reduce(function(t, r) {
3167
3139
  var i = t[t.length - 1];
3168
- return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3140
+ return !i || i.type !== O.literal || r.type !== O.literal ? t.push(r) : i.value += r.value, t;
3169
3141
  }, []);
3170
3142
  }
3171
- function an(e) {
3143
+ function ln(e) {
3172
3144
  return typeof e == "function";
3173
3145
  }
3174
- function Ee(e, t, r, i, n, o, a) {
3175
- if (e.length === 1 && bt(e[0]))
3146
+ function _e(e, t, r, i, n, o, a) {
3147
+ if (e.length === 1 && vt(e[0]))
3176
3148
  return [
3177
3149
  {
3178
- type: I.literal,
3150
+ type: O.literal,
3179
3151
  value: e[0].value
3180
3152
  }
3181
3153
  ];
3182
3154
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3183
3155
  var l = u[h];
3184
- if (bt(l)) {
3156
+ if (vt(l)) {
3185
3157
  s.push({
3186
- type: I.literal,
3158
+ type: O.literal,
3187
3159
  value: l.value
3188
3160
  });
3189
3161
  continue;
3190
3162
  }
3191
- if (Hi(l)) {
3163
+ if (Oi(l)) {
3192
3164
  typeof o == "number" && s.push({
3193
- type: I.literal,
3165
+ type: O.literal,
3194
3166
  value: r.getNumberFormat(t).format(o)
3195
3167
  });
3196
3168
  continue;
3197
3169
  }
3198
3170
  var c = l.value;
3199
3171
  if (!(n && c in n))
3200
- throw new on(c, a);
3172
+ throw new an(c, a);
3201
3173
  var f = n[c];
3202
- if (Ai(l)) {
3174
+ if (Hi(l)) {
3203
3175
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3204
- type: typeof f == "string" ? I.literal : I.object,
3176
+ type: typeof f == "string" ? O.literal : O.object,
3205
3177
  value: f
3206
3178
  });
3207
3179
  continue;
3208
3180
  }
3209
- if (zt(l)) {
3181
+ if (Qt(l)) {
3210
3182
  var p = typeof l.style == "string" ? i.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3211
3183
  s.push({
3212
- type: I.literal,
3184
+ type: O.literal,
3213
3185
  value: r.getDateTimeFormat(t, p).format(f)
3214
3186
  });
3215
3187
  continue;
3216
3188
  }
3217
- if (Zt(l)) {
3189
+ if (Yt(l)) {
3218
3190
  var p = typeof l.style == "string" ? i.time[l.style] : Ye(l.style) ? l.style.parsedOptions : i.time.medium;
3219
3191
  s.push({
3220
- type: I.literal,
3192
+ type: O.literal,
3221
3193
  value: r.getDateTimeFormat(t, p).format(f)
3222
3194
  });
3223
3195
  continue;
3224
3196
  }
3225
- if (Xt(l)) {
3226
- var p = typeof l.style == "string" ? i.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3197
+ if (Zt(l)) {
3198
+ var p = typeof l.style == "string" ? i.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
3227
3199
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3228
- type: I.literal,
3200
+ type: O.literal,
3229
3201
  value: r.getNumberFormat(t, p).format(f)
3230
3202
  });
3231
3203
  continue;
3232
3204
  }
3233
- if (Jt(l)) {
3205
+ if (Kt(l)) {
3234
3206
  var y = l.children, d = l.value, v = n[d];
3235
- if (!an(v))
3236
- throw new nn(d, "function", a);
3237
- var P = Ee(y, t, r, i, n, o), b = v(P.map(function(N) {
3207
+ if (!ln(v))
3208
+ throw new sn(d, "function", a);
3209
+ var H = _e(y, t, r, i, n, o), g = v(H.map(function(N) {
3238
3210
  return N.value;
3239
3211
  }));
3240
- Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(N) {
3212
+ Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
3241
3213
  return {
3242
- type: typeof N == "string" ? I.literal : I.object,
3214
+ type: typeof N == "string" ? O.literal : O.object,
3243
3215
  value: N
3244
3216
  };
3245
3217
  }));
3246
3218
  }
3247
- if (Qt(l)) {
3248
- var w = l.options[f] || l.options.other;
3249
- if (!w)
3250
- throw new Lt(l.value, f, Object.keys(l.options), a);
3251
- s.push.apply(s, Ee(w.value, t, r, i, n));
3219
+ if (Jt(l)) {
3220
+ var S = l.options[f] || l.options.other;
3221
+ if (!S)
3222
+ throw new wt(l.value, f, Object.keys(l.options), a);
3223
+ s.push.apply(s, _e(S.value, t, r, i, n));
3252
3224
  continue;
3253
3225
  }
3254
- if (Yt(l)) {
3255
- var w = l.options["=".concat(f)];
3256
- if (!w) {
3226
+ if (qt(l)) {
3227
+ var S = l.options["=".concat(f)];
3228
+ if (!S) {
3257
3229
  if (!Intl.PluralRules)
3258
- throw new Ae(`Intl.PluralRules is not available in this environment.
3230
+ throw new He(`Intl.PluralRules is not available in this environment.
3259
3231
  Try polyfilling it using "@formatjs/intl-pluralrules"
3260
- `, ee.MISSING_INTL_API, a);
3261
- var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3262
- w = l.options[R] || l.options.other;
3232
+ `, K.MISSING_INTL_API, a);
3233
+ var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3234
+ S = l.options[M] || l.options.other;
3263
3235
  }
3264
- if (!w)
3265
- throw new Lt(l.value, f, Object.keys(l.options), a);
3266
- s.push.apply(s, Ee(w.value, t, r, i, n, f - (l.offset || 0)));
3236
+ if (!S)
3237
+ throw new wt(l.value, f, Object.keys(l.options), a);
3238
+ s.push.apply(s, _e(S.value, t, r, i, n, f - (l.offset || 0)));
3267
3239
  continue;
3268
3240
  }
3269
3241
  }
3270
- return sn(s);
3242
+ return un(s);
3271
3243
  }
3272
- function un(e, t) {
3273
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3274
- return r[i] = _(_({}, e[i]), t[i] || {}), r;
3244
+ function hn(e, t) {
3245
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3246
+ return r[i] = R(R({}, e[i]), t[i] || {}), r;
3275
3247
  }, {})) : e;
3276
3248
  }
3277
- function ln(e, t) {
3249
+ function cn(e, t) {
3278
3250
  return t ? Object.keys(e).reduce(function(r, i) {
3279
- return r[i] = un(e[i], t[i]), r;
3280
- }, _({}, e)) : e;
3251
+ return r[i] = hn(e[i], t[i]), r;
3252
+ }, R({}, e)) : e;
3281
3253
  }
3282
- function Ue(e) {
3254
+ function je(e) {
3283
3255
  return {
3284
3256
  create: function() {
3285
3257
  return {
@@ -3293,39 +3265,39 @@ function Ue(e) {
3293
3265
  }
3294
3266
  };
3295
3267
  }
3296
- function hn(e) {
3268
+ function fn(e) {
3297
3269
  return e === void 0 && (e = {
3298
3270
  number: {},
3299
3271
  dateTime: {},
3300
3272
  pluralRules: {}
3301
3273
  }), {
3302
- getNumberFormat: Me(function() {
3274
+ getNumberFormat: Ue(function() {
3303
3275
  for (var t, r = [], i = 0; i < arguments.length; i++)
3304
3276
  r[i] = arguments[i];
3305
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3277
+ return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3306
3278
  }, {
3307
- cache: Ue(e.number),
3308
- strategy: De.variadic
3279
+ cache: je(e.number),
3280
+ strategy: Ge.variadic
3309
3281
  }),
3310
- getDateTimeFormat: Me(function() {
3282
+ getDateTimeFormat: Ue(function() {
3311
3283
  for (var t, r = [], i = 0; i < arguments.length; i++)
3312
3284
  r[i] = arguments[i];
3313
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3285
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3314
3286
  }, {
3315
- cache: Ue(e.dateTime),
3316
- strategy: De.variadic
3287
+ cache: je(e.dateTime),
3288
+ strategy: Ge.variadic
3317
3289
  }),
3318
- getPluralRules: Me(function() {
3290
+ getPluralRules: Ue(function() {
3319
3291
  for (var t, r = [], i = 0; i < arguments.length; i++)
3320
3292
  r[i] = arguments[i];
3321
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3293
+ return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3322
3294
  }, {
3323
- cache: Ue(e.pluralRules),
3324
- strategy: De.variadic
3295
+ cache: je(e.pluralRules),
3296
+ strategy: Ge.variadic
3325
3297
  })
3326
3298
  };
3327
3299
  }
3328
- var cn = (
3300
+ var mn = (
3329
3301
  /** @class */
3330
3302
  function() {
3331
3303
  function e(t, r, i, n) {
@@ -3340,11 +3312,11 @@ var cn = (
3340
3312
  if (u.length === 1)
3341
3313
  return u[0].value;
3342
3314
  var l = u.reduce(function(c, f) {
3343
- return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3315
+ return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3344
3316
  }, []);
3345
3317
  return l.length <= 1 ? l[0] || "" : l;
3346
3318
  }, this.formatToParts = function(h) {
3347
- return Ee(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3319
+ return _e(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3348
3320
  }, this.resolvedOptions = function() {
3349
3321
  var h;
3350
3322
  return {
@@ -3358,12 +3330,12 @@ var cn = (
3358
3330
  var a = n || {};
3359
3331
  a.formatters;
3360
3332
  var s = Ei(a, ["formatters"]);
3361
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
3333
+ this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
3362
3334
  } else
3363
3335
  this.ast = t;
3364
3336
  if (!Array.isArray(this.ast))
3365
3337
  throw new TypeError("A message must be provided as a String or AST.");
3366
- this.formats = ln(e.formats, i), this.formatters = n && n.formatters || hn(this.formatterCache);
3338
+ this.formats = cn(e.formats, i), this.formatters = n && n.formatters || fn(this.formatterCache);
3367
3339
  }
3368
3340
  return Object.defineProperty(e, "defaultLocale", {
3369
3341
  get: function() {
@@ -3376,7 +3348,7 @@ var cn = (
3376
3348
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3377
3349
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3378
3350
  }
3379
- }, e.__parse = rn, e.formats = {
3351
+ }, e.__parse = on, e.formats = {
3380
3352
  number: {
3381
3353
  integer: {
3382
3354
  maximumFractionDigits: 0
@@ -3437,7 +3409,7 @@ var cn = (
3437
3409
  }, e;
3438
3410
  }()
3439
3411
  );
3440
- function fn(e, t) {
3412
+ function pn(e, t) {
3441
3413
  if (t == null)
3442
3414
  return;
3443
3415
  if (t in e)
@@ -3458,92 +3430,92 @@ function fn(e, t) {
3458
3430
  i = void 0;
3459
3431
  return i;
3460
3432
  }
3461
- const F = {}, mn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), sr = (e, t) => {
3433
+ const F = {}, dn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ur = (e, t) => {
3462
3434
  if (t == null)
3463
3435
  return;
3464
3436
  if (t in F && e in F[t])
3465
3437
  return F[t][e];
3466
- const r = He(t);
3438
+ const r = Oe(t);
3467
3439
  for (let i = 0; i < r.length; i++) {
3468
- const n = r[i], o = dn(n, e);
3440
+ const n = r[i], o = gn(n, e);
3469
3441
  if (o)
3470
- return mn(e, t, o);
3442
+ return dn(e, t, o);
3471
3443
  }
3472
3444
  };
3473
- let lt;
3474
- const fe = we({});
3475
- function pn(e) {
3476
- return lt[e] || null;
3445
+ let ct;
3446
+ const ce = Ae({});
3447
+ function yn(e) {
3448
+ return ct[e] || null;
3477
3449
  }
3478
- function ar(e) {
3479
- return e in lt;
3450
+ function lr(e) {
3451
+ return e in ct;
3480
3452
  }
3481
- function dn(e, t) {
3482
- if (!ar(e))
3453
+ function gn(e, t) {
3454
+ if (!lr(e))
3483
3455
  return null;
3484
- const r = pn(e);
3485
- return fn(r, t);
3456
+ const r = yn(e);
3457
+ return pn(r, t);
3486
3458
  }
3487
- function yn(e) {
3459
+ function bn(e) {
3488
3460
  if (e == null)
3489
3461
  return;
3490
- const t = He(e);
3462
+ const t = Oe(e);
3491
3463
  for (let r = 0; r < t.length; r++) {
3492
3464
  const i = t[r];
3493
- if (ar(i))
3465
+ if (lr(i))
3494
3466
  return i;
3495
3467
  }
3496
3468
  }
3497
- function ur(e, ...t) {
3498
- delete F[e], fe.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3469
+ function hr(e, ...t) {
3470
+ delete F[e], ce.update((r) => (r[e] = _i.all([r[e] || {}, ...t]), r));
3499
3471
  }
3500
- re(
3501
- [fe],
3472
+ te(
3473
+ [ce],
3502
3474
  ([e]) => Object.keys(e)
3503
3475
  );
3504
- fe.subscribe((e) => lt = e);
3505
- const _e = {};
3506
- function bn(e, t) {
3507
- _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3476
+ ce.subscribe((e) => ct = e);
3477
+ const Ee = {};
3478
+ function vn(e, t) {
3479
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3508
3480
  }
3509
- function lr(e) {
3510
- return _e[e];
3481
+ function cr(e) {
3482
+ return Ee[e];
3511
3483
  }
3512
- function gn(e) {
3513
- return He(e).map((t) => {
3514
- const r = lr(t);
3484
+ function _n(e) {
3485
+ return Oe(e).map((t) => {
3486
+ const r = cr(t);
3515
3487
  return [t, r ? [...r] : []];
3516
3488
  }).filter(([, t]) => t.length > 0);
3517
3489
  }
3518
3490
  function rt(e) {
3519
- return e == null ? !1 : He(e).some(
3491
+ return e == null ? !1 : Oe(e).some(
3520
3492
  (t) => {
3521
3493
  var r;
3522
- return (r = lr(t)) == null ? void 0 : r.size;
3494
+ return (r = cr(t)) == null ? void 0 : r.size;
3523
3495
  }
3524
3496
  );
3525
3497
  }
3526
- function vn(e, t) {
3498
+ function En(e, t) {
3527
3499
  return Promise.all(
3528
- t.map((i) => (bn(e, i), i().then((n) => n.default || n)))
3529
- ).then((i) => ur(e, ...i));
3500
+ t.map((i) => (vn(e, i), i().then((n) => n.default || n)))
3501
+ ).then((i) => hr(e, ...i));
3530
3502
  }
3531
- const se = {};
3532
- function hr(e) {
3503
+ const oe = {};
3504
+ function fr(e) {
3533
3505
  if (!rt(e))
3534
- return e in se ? se[e] : Promise.resolve();
3535
- const t = gn(e);
3536
- return se[e] = Promise.all(
3506
+ return e in oe ? oe[e] : Promise.resolve();
3507
+ const t = _n(e);
3508
+ return oe[e] = Promise.all(
3537
3509
  t.map(
3538
- ([r, i]) => vn(r, i)
3510
+ ([r, i]) => En(r, i)
3539
3511
  )
3540
3512
  ).then(() => {
3541
3513
  if (rt(e))
3542
- return hr(e);
3543
- delete se[e];
3544
- }), se[e];
3514
+ return fr(e);
3515
+ delete oe[e];
3516
+ }), oe[e];
3545
3517
  }
3546
- const En = {
3518
+ const xn = {
3547
3519
  number: {
3548
3520
  scientific: { notation: "scientific" },
3549
3521
  engineering: { notation: "engineering" },
@@ -3572,135 +3544,135 @@ const En = {
3572
3544
  timeZoneName: "short"
3573
3545
  }
3574
3546
  }
3575
- }, _n = {
3547
+ }, Tn = {
3576
3548
  fallbackLocale: null,
3577
3549
  loadingDelay: 200,
3578
- formats: En,
3550
+ formats: xn,
3579
3551
  warnOnMissingMessages: !0,
3580
3552
  handleMissingMessage: void 0,
3581
3553
  ignoreTag: !0
3582
- }, xn = _n;
3583
- function te() {
3584
- return xn;
3554
+ }, Ln = Tn;
3555
+ function ee() {
3556
+ return Ln;
3585
3557
  }
3586
- const Ge = we(!1);
3587
- var Tn = Object.defineProperty, Ln = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hn = (e, t) => {
3558
+ const ke = Ae(!1);
3559
+ var Sn = Object.defineProperty, wn = Object.defineProperties, An = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
3588
3560
  for (var r in t || (t = {}))
3589
- wn.call(t, r) && wt(e, r, t[r]);
3590
- if (St)
3591
- for (var r of St(t))
3592
- An.call(t, r) && wt(e, r, t[r]);
3561
+ Pn.call(t, r) && Pt(e, r, t[r]);
3562
+ if (At)
3563
+ for (var r of At(t))
3564
+ Hn.call(t, r) && Pt(e, r, t[r]);
3593
3565
  return e;
3594
- }, Pn = (e, t) => Ln(e, Sn(t));
3566
+ }, In = (e, t) => wn(e, An(t));
3595
3567
  let it;
3596
- const Le = we(null);
3597
- function At(e) {
3568
+ const Se = Ae(null);
3569
+ function Ht(e) {
3598
3570
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3599
3571
  }
3600
- function He(e, t = te().fallbackLocale) {
3601
- const r = At(e);
3602
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3572
+ function Oe(e, t = ee().fallbackLocale) {
3573
+ const r = Ht(e);
3574
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3603
3575
  }
3604
3576
  function X() {
3605
3577
  return it ?? void 0;
3606
3578
  }
3607
- Le.subscribe((e) => {
3579
+ Se.subscribe((e) => {
3608
3580
  it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3609
3581
  });
3610
- const In = (e) => {
3611
- if (e && yn(e) && rt(e)) {
3612
- const { loadingDelay: t } = te();
3582
+ const Bn = (e) => {
3583
+ if (e && bn(e) && rt(e)) {
3584
+ const { loadingDelay: t } = ee();
3613
3585
  let r;
3614
3586
  return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3615
- () => Ge.set(!0),
3587
+ () => ke.set(!0),
3616
3588
  t
3617
- ) : Ge.set(!0), hr(e).then(() => {
3618
- Le.set(e);
3589
+ ) : ke.set(!0), fr(e).then(() => {
3590
+ Se.set(e);
3619
3591
  }).finally(() => {
3620
- clearTimeout(r), Ge.set(!1);
3592
+ clearTimeout(r), ke.set(!1);
3621
3593
  });
3622
3594
  }
3623
- return Le.set(e);
3624
- }, ie = Pn(Hn({}, Le), {
3625
- set: In
3626
- }), Pe = (e) => {
3595
+ return Se.set(e);
3596
+ }, re = In(On({}, Se), {
3597
+ set: Bn
3598
+ }), Ie = (e) => {
3627
3599
  const t = /* @__PURE__ */ Object.create(null);
3628
3600
  return (i) => {
3629
3601
  const n = JSON.stringify(i);
3630
3602
  return n in t ? t[n] : t[n] = e(i);
3631
3603
  };
3632
3604
  };
3633
- var Bn = Object.defineProperty, Se = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3605
+ var Cn = Object.defineProperty, we = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
3634
3606
  for (var r in t || (t = {}))
3635
- cr.call(t, r) && Ht(e, r, t[r]);
3636
- if (Se)
3637
- for (var r of Se(t))
3638
- fr.call(t, r) && Ht(e, r, t[r]);
3607
+ mr.call(t, r) && Ot(e, r, t[r]);
3608
+ if (we)
3609
+ for (var r of we(t))
3610
+ pr.call(t, r) && Ot(e, r, t[r]);
3639
3611
  return e;
3640
- }, ne = (e, t) => {
3612
+ }, ie = (e, t) => {
3641
3613
  var r = {};
3642
3614
  for (var i in e)
3643
- cr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3644
- if (e != null && Se)
3645
- for (var i of Se(e))
3646
- t.indexOf(i) < 0 && fr.call(e, i) && (r[i] = e[i]);
3615
+ mr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3616
+ if (e != null && we)
3617
+ for (var i of we(e))
3618
+ t.indexOf(i) < 0 && pr.call(e, i) && (r[i] = e[i]);
3647
3619
  return r;
3648
3620
  };
3649
- const he = (e, t) => {
3650
- const { formats: r } = te();
3621
+ const le = (e, t) => {
3622
+ const { formats: r } = ee();
3651
3623
  if (e in r && t in r[e])
3652
3624
  return r[e][t];
3653
3625
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3654
- }, On = Pe(
3626
+ }, Nn = Ie(
3655
3627
  (e) => {
3656
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3628
+ var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3657
3629
  if (r == null)
3658
3630
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3659
- return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
3631
+ return i && (n = le("number", i)), new Intl.NumberFormat(r, n);
3660
3632
  }
3661
- ), Cn = Pe(
3633
+ ), Rn = Ie(
3662
3634
  (e) => {
3663
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3635
+ var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3664
3636
  if (r == null)
3665
3637
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3666
- return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
3638
+ return i ? n = le("date", i) : Object.keys(n).length === 0 && (n = le("date", "short")), new Intl.DateTimeFormat(r, n);
3667
3639
  }
3668
- ), Nn = Pe(
3640
+ ), Mn = Ie(
3669
3641
  (e) => {
3670
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3642
+ var t = e, { locale: r, format: i } = t, n = ie(t, ["locale", "format"]);
3671
3643
  if (r == null)
3672
3644
  throw new Error(
3673
3645
  '[svelte-i18n] A "locale" must be set to format time values'
3674
3646
  );
3675
- return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
3647
+ return i ? n = le("time", i) : Object.keys(n).length === 0 && (n = le("time", "short")), new Intl.DateTimeFormat(r, n);
3676
3648
  }
3677
- ), Rn = (e = {}) => {
3649
+ ), Dn = (e = {}) => {
3678
3650
  var t = e, {
3679
3651
  locale: r = X()
3680
- } = t, i = ne(t, [
3652
+ } = t, i = ie(t, [
3681
3653
  "locale"
3682
3654
  ]);
3683
- return On(ht({ locale: r }, i));
3684
- }, Mn = (e = {}) => {
3655
+ return Nn(ft({ locale: r }, i));
3656
+ }, $n = (e = {}) => {
3685
3657
  var t = e, {
3686
3658
  locale: r = X()
3687
- } = t, i = ne(t, [
3659
+ } = t, i = ie(t, [
3688
3660
  "locale"
3689
3661
  ]);
3690
- return Cn(ht({ locale: r }, i));
3691
- }, Dn = (e = {}) => {
3662
+ return Rn(ft({ locale: r }, i));
3663
+ }, Un = (e = {}) => {
3692
3664
  var t = e, {
3693
3665
  locale: r = X()
3694
- } = t, i = ne(t, [
3666
+ } = t, i = ie(t, [
3695
3667
  "locale"
3696
3668
  ]);
3697
- return Nn(ht({ locale: r }, i));
3698
- }, $n = Pe(
3669
+ return Mn(ft({ locale: r }, i));
3670
+ }, Gn = Ie(
3699
3671
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3700
- (e, t = X()) => new cn(e, t, te().formats, {
3701
- ignoreTag: te().ignoreTag
3672
+ (e, t = X()) => new mn(e, t, ee().formats, {
3673
+ ignoreTag: ee().ignoreTag
3702
3674
  })
3703
- ), Un = (e, t = {}) => {
3675
+ ), Fn = (e, t = {}) => {
3704
3676
  var r, i, n, o;
3705
3677
  let a = t;
3706
3678
  typeof e == "object" && (a = e, e = a.id);
@@ -3713,9 +3685,9 @@ const he = (e, t) => {
3713
3685
  throw new Error(
3714
3686
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3715
3687
  );
3716
- let l = sr(e, h);
3688
+ let l = ur(e, h);
3717
3689
  if (!l)
3718
- l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3690
+ l = (o = (n = (i = (r = ee()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3719
3691
  else if (typeof l != "string")
3720
3692
  return console.warn(
3721
3693
  `[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.`
@@ -3724,7 +3696,7 @@ const he = (e, t) => {
3724
3696
  return l;
3725
3697
  let c = l;
3726
3698
  try {
3727
- c = $n(l, h).format(s);
3699
+ c = Gn(l, h).format(s);
3728
3700
  } catch (f) {
3729
3701
  f instanceof Error && console.warn(
3730
3702
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3732,18 +3704,18 @@ const he = (e, t) => {
3732
3704
  );
3733
3705
  }
3734
3706
  return c;
3735
- }, Gn = (e, t) => Dn(t).format(e), Fn = (e, t) => Mn(t).format(e), jn = (e, t) => Rn(t).format(e), kn = (e, t = X()) => sr(e, t), Vn = re([ie, fe], () => Un);
3736
- re([ie], () => Gn);
3737
- re([ie], () => Fn);
3738
- re([ie], () => jn);
3739
- re([ie, fe], () => kn);
3740
- function Pt(e, t) {
3741
- ur(e, t);
3742
- }
3743
- function Wn(e) {
3744
- ie.set(e);
3745
- }
3746
- const Fe = {
3707
+ }, jn = (e, t) => Un(t).format(e), kn = (e, t) => $n(t).format(e), Vn = (e, t) => Dn(t).format(e), Wn = (e, t = X()) => ur(e, t), Xn = te([re, ce], () => Fn);
3708
+ te([re], () => jn);
3709
+ te([re], () => kn);
3710
+ te([re], () => Vn);
3711
+ te([re, ce], () => Wn);
3712
+ function It(e, t) {
3713
+ hr(e, t);
3714
+ }
3715
+ function zn(e) {
3716
+ re.set(e);
3717
+ }
3718
+ const Ve = {
3747
3719
  en: {
3748
3720
  expandLimits: "LIMIT HISTORY",
3749
3721
  daily: "per day",
@@ -3994,16 +3966,85 @@ const Fe = {
3994
3966
  historyLimitTypeLoss: "Loss Limit"
3995
3967
  }
3996
3968
  };
3997
- function U(e) {
3969
+ /*! *****************************************************************************
3970
+ Copyright (c) Microsoft Corporation.
3971
+
3972
+ Permission to use, copy, modify, and/or distribute this software for any
3973
+ purpose with or without fee is hereby granted.
3974
+
3975
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3976
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3977
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3978
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3979
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3980
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3981
+ PERFORMANCE OF THIS SOFTWARE.
3982
+ ***************************************************************************** */
3983
+ var nt = function(e, t) {
3984
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
3985
+ r.__proto__ = i;
3986
+ } || function(r, i) {
3987
+ for (var n in i)
3988
+ Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
3989
+ }, nt(e, t);
3990
+ };
3991
+ function fe(e, t) {
3992
+ if (typeof t != "function" && t !== null)
3993
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3994
+ nt(e, t);
3995
+ function r() {
3996
+ this.constructor = e;
3997
+ }
3998
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3999
+ }
4000
+ function ot(e) {
4001
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
4002
+ if (r)
4003
+ return r.call(e);
4004
+ if (e && typeof e.length == "number")
4005
+ return {
4006
+ next: function() {
4007
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
4008
+ }
4009
+ };
4010
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4011
+ }
4012
+ function st(e, t) {
4013
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
4014
+ if (!r)
4015
+ return e;
4016
+ var i = r.call(e), n, o = [], a;
4017
+ try {
4018
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
4019
+ o.push(n.value);
4020
+ } catch (s) {
4021
+ a = { error: s };
4022
+ } finally {
4023
+ try {
4024
+ n && !n.done && (r = i.return) && r.call(i);
4025
+ } finally {
4026
+ if (a)
4027
+ throw a.error;
4028
+ }
4029
+ }
4030
+ return o;
4031
+ }
4032
+ function at(e, t, r) {
4033
+ if (arguments.length === 2)
4034
+ for (var i = 0, n = t.length, o; i < n; i++)
4035
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4036
+ return e.concat(o || t);
4037
+ }
4038
+ function G(e) {
3998
4039
  return typeof e == "function";
3999
4040
  }
4000
- function mr(e) {
4041
+ function dr(e) {
4001
4042
  var t = function(i) {
4002
4043
  Error.call(i), i.stack = new Error().stack;
4003
4044
  }, r = e(t);
4004
4045
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4005
4046
  }
4006
- var je = mr(function(e) {
4047
+ var We = dr(function(e) {
4007
4048
  return function(r) {
4008
4049
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4009
4050
  ` + r.map(function(i, n) {
@@ -4012,13 +4053,13 @@ var je = mr(function(e) {
4012
4053
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4013
4054
  };
4014
4055
  });
4015
- function nt(e, t) {
4056
+ function ut(e, t) {
4016
4057
  if (e) {
4017
4058
  var r = e.indexOf(t);
4018
4059
  0 <= r && e.splice(r, 1);
4019
4060
  }
4020
4061
  }
4021
- var Ie = function() {
4062
+ var Be = function() {
4022
4063
  function e(t) {
4023
4064
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4024
4065
  }
@@ -4030,7 +4071,7 @@ var Ie = function() {
4030
4071
  if (a)
4031
4072
  if (this._parentage = null, Array.isArray(a))
4032
4073
  try {
4033
- for (var s = Ze(a), h = s.next(); !h.done; h = s.next()) {
4074
+ for (var s = ot(a), h = s.next(); !h.done; h = s.next()) {
4034
4075
  var u = h.value;
4035
4076
  u.remove(this);
4036
4077
  }
@@ -4047,22 +4088,22 @@ var Ie = function() {
4047
4088
  else
4048
4089
  a.remove(this);
4049
4090
  var l = this.initialTeardown;
4050
- if (U(l))
4091
+ if (G(l))
4051
4092
  try {
4052
4093
  l();
4053
4094
  } catch (d) {
4054
- o = d instanceof je ? d.errors : [d];
4095
+ o = d instanceof We ? d.errors : [d];
4055
4096
  }
4056
4097
  var c = this._finalizers;
4057
4098
  if (c) {
4058
4099
  this._finalizers = null;
4059
4100
  try {
4060
- for (var f = Ze(c), p = f.next(); !p.done; p = f.next()) {
4101
+ for (var f = ot(c), p = f.next(); !p.done; p = f.next()) {
4061
4102
  var y = p.value;
4062
4103
  try {
4063
- It(y);
4104
+ Bt(y);
4064
4105
  } catch (d) {
4065
- o = o ?? [], d instanceof je ? o = J(J([], Qe(o)), Qe(d.errors)) : o.push(d);
4106
+ o = o ?? [], d instanceof We ? o = at(at([], st(o)), st(d.errors)) : o.push(d);
4066
4107
  }
4067
4108
  }
4068
4109
  } catch (d) {
@@ -4077,13 +4118,13 @@ var Ie = function() {
4077
4118
  }
4078
4119
  }
4079
4120
  if (o)
4080
- throw new je(o);
4121
+ throw new We(o);
4081
4122
  }
4082
4123
  }, e.prototype.add = function(t) {
4083
4124
  var r;
4084
4125
  if (t && t !== this)
4085
4126
  if (this.closed)
4086
- It(t);
4127
+ Bt(t);
4087
4128
  else {
4088
4129
  if (t instanceof e) {
4089
4130
  if (t.closed || t._hasParent(this))
@@ -4100,56 +4141,52 @@ var Ie = function() {
4100
4141
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4101
4142
  }, e.prototype._removeParent = function(t) {
4102
4143
  var r = this._parentage;
4103
- r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
4144
+ r === t ? this._parentage = null : Array.isArray(r) && ut(r, t);
4104
4145
  }, e.prototype.remove = function(t) {
4105
4146
  var r = this._finalizers;
4106
- r && nt(r, t), t instanceof e && t._removeParent(this);
4147
+ r && ut(r, t), t instanceof e && t._removeParent(this);
4107
4148
  }, e.EMPTY = function() {
4108
4149
  var t = new e();
4109
4150
  return t.closed = !0, t;
4110
4151
  }(), e;
4111
- }(), pr = Ie.EMPTY;
4112
- function dr(e) {
4113
- return e instanceof Ie || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
4114
- }
4115
- function It(e) {
4116
- U(e) ? e() : e.unsubscribe();
4117
- }
4118
- var yr = {
4119
- onUnhandledError: null,
4120
- onStoppedNotification: null,
4121
- Promise: void 0,
4122
- useDeprecatedSynchronousErrorHandling: !1,
4123
- useDeprecatedNextContext: !1
4124
- }, Xn = {
4152
+ }(), yr = Be.EMPTY;
4153
+ function gr(e) {
4154
+ return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4155
+ }
4156
+ function Bt(e) {
4157
+ G(e) ? e() : e.unsubscribe();
4158
+ }
4159
+ var Zn = {
4160
+ Promise: void 0
4161
+ }, Qn = {
4125
4162
  setTimeout: function(e, t) {
4126
4163
  for (var r = [], i = 2; i < arguments.length; i++)
4127
4164
  r[i - 2] = arguments[i];
4128
- return setTimeout.apply(void 0, J([e, t], Qe(r)));
4165
+ return setTimeout.apply(void 0, at([e, t], st(r)));
4129
4166
  },
4130
4167
  clearTimeout: function(e) {
4131
4168
  return clearTimeout(e);
4132
4169
  },
4133
4170
  delegate: void 0
4134
4171
  };
4135
- function zn(e) {
4136
- Xn.setTimeout(function() {
4172
+ function Yn(e) {
4173
+ Qn.setTimeout(function() {
4137
4174
  throw e;
4138
4175
  });
4139
4176
  }
4140
- function Bt() {
4177
+ function Ct() {
4141
4178
  }
4142
4179
  function xe(e) {
4143
4180
  e();
4144
4181
  }
4145
4182
  var br = function(e) {
4146
- G(t, e);
4183
+ fe(t, e);
4147
4184
  function t(r) {
4148
4185
  var i = e.call(this) || this;
4149
- return i.isStopped = !1, r ? (i.destination = r, dr(r) && r.add(i)) : i.destination = Jn, i;
4186
+ return i.isStopped = !1, r ? (i.destination = r, gr(r) && r.add(i)) : i.destination = Kn, i;
4150
4187
  }
4151
4188
  return t.create = function(r, i, n) {
4152
- return new ot(r, i, n);
4189
+ return new lt(r, i, n);
4153
4190
  }, t.prototype.next = function(r) {
4154
4191
  this.isStopped || this._next(r);
4155
4192
  }, t.prototype.error = function(r) {
@@ -4173,11 +4210,7 @@ var br = function(e) {
4173
4210
  this.unsubscribe();
4174
4211
  }
4175
4212
  }, t;
4176
- }(Ie), Zn = Function.prototype.bind;
4177
- function ke(e, t) {
4178
- return Zn.call(e, t);
4179
- }
4180
- var Qn = function() {
4213
+ }(Be), Jn = function() {
4181
4214
  function e(t) {
4182
4215
  this.partialObserver = t;
4183
4216
  }
@@ -4187,7 +4220,7 @@ var Qn = function() {
4187
4220
  try {
4188
4221
  r.next(t);
4189
4222
  } catch (i) {
4190
- ge(i);
4223
+ be(i);
4191
4224
  }
4192
4225
  }, e.prototype.error = function(t) {
4193
4226
  var r = this.partialObserver;
@@ -4195,68 +4228,56 @@ var Qn = function() {
4195
4228
  try {
4196
4229
  r.error(t);
4197
4230
  } catch (i) {
4198
- ge(i);
4231
+ be(i);
4199
4232
  }
4200
4233
  else
4201
- ge(t);
4234
+ be(t);
4202
4235
  }, e.prototype.complete = function() {
4203
4236
  var t = this.partialObserver;
4204
4237
  if (t.complete)
4205
4238
  try {
4206
4239
  t.complete();
4207
4240
  } catch (r) {
4208
- ge(r);
4241
+ be(r);
4209
4242
  }
4210
4243
  }, e;
4211
- }(), ot = function(e) {
4212
- G(t, e);
4244
+ }(), lt = function(e) {
4245
+ fe(t, e);
4213
4246
  function t(r, i, n) {
4214
4247
  var o = e.call(this) || this, a;
4215
- if (U(r) || !r)
4216
- a = {
4217
- next: r ?? void 0,
4218
- error: i ?? void 0,
4219
- complete: n ?? void 0
4220
- };
4221
- else {
4222
- var s;
4223
- o && yr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
4224
- return o.unsubscribe();
4225
- }, a = {
4226
- next: r.next && ke(r.next, s),
4227
- error: r.error && ke(r.error, s),
4228
- complete: r.complete && ke(r.complete, s)
4229
- }) : a = r;
4230
- }
4231
- return o.destination = new Qn(a), o;
4248
+ return G(r) || !r ? a = {
4249
+ next: r ?? void 0,
4250
+ error: i ?? void 0,
4251
+ complete: n ?? void 0
4252
+ } : a = r, o.destination = new Jn(a), o;
4232
4253
  }
4233
4254
  return t;
4234
4255
  }(br);
4235
- function ge(e) {
4236
- zn(e);
4256
+ function be(e) {
4257
+ Yn(e);
4237
4258
  }
4238
- function Yn(e) {
4259
+ function qn(e) {
4239
4260
  throw e;
4240
4261
  }
4241
- var Jn = {
4262
+ var Kn = {
4242
4263
  closed: !0,
4243
- next: Bt,
4244
- error: Yn,
4245
- complete: Bt
4246
- }, qn = function() {
4264
+ next: Ct,
4265
+ error: qn,
4266
+ complete: Ct
4267
+ }, eo = function() {
4247
4268
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4248
4269
  }();
4249
- function Kn(e) {
4270
+ function to(e) {
4250
4271
  return e;
4251
4272
  }
4252
- function eo(e) {
4253
- return e.length === 0 ? Kn : e.length === 1 ? e[0] : function(r) {
4273
+ function ro(e) {
4274
+ return e.length === 0 ? to : e.length === 1 ? e[0] : function(r) {
4254
4275
  return e.reduce(function(i, n) {
4255
4276
  return n(i);
4256
4277
  }, r);
4257
4278
  };
4258
4279
  }
4259
- var Ot = function() {
4280
+ var Nt = function() {
4260
4281
  function e(t) {
4261
4282
  t && (this._subscribe = t);
4262
4283
  }
@@ -4264,7 +4285,7 @@ var Ot = function() {
4264
4285
  var r = new e();
4265
4286
  return r.source = this, r.operator = t, r;
4266
4287
  }, e.prototype.subscribe = function(t, r, i) {
4267
- var n = this, o = ro(t) ? t : new ot(t, r, i);
4288
+ var n = this, o = no(t) ? t : new lt(t, r, i);
4268
4289
  return xe(function() {
4269
4290
  var a = n, s = a.operator, h = a.source;
4270
4291
  o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
@@ -4277,8 +4298,8 @@ var Ot = function() {
4277
4298
  }
4278
4299
  }, e.prototype.forEach = function(t, r) {
4279
4300
  var i = this;
4280
- return r = Ct(r), new r(function(n, o) {
4281
- var a = new ot({
4301
+ return r = Rt(r), new r(function(n, o) {
4302
+ var a = new lt({
4282
4303
  next: function(s) {
4283
4304
  try {
4284
4305
  t(s);
@@ -4294,15 +4315,15 @@ var Ot = function() {
4294
4315
  }, e.prototype._subscribe = function(t) {
4295
4316
  var r;
4296
4317
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4297
- }, e.prototype[qn] = function() {
4318
+ }, e.prototype[eo] = function() {
4298
4319
  return this;
4299
4320
  }, e.prototype.pipe = function() {
4300
4321
  for (var t = [], r = 0; r < arguments.length; r++)
4301
4322
  t[r] = arguments[r];
4302
- return eo(t)(this);
4323
+ return ro(t)(this);
4303
4324
  }, e.prototype.toPromise = function(t) {
4304
4325
  var r = this;
4305
- return t = Ct(t), new t(function(i, n) {
4326
+ return t = Rt(t), new t(function(i, n) {
4306
4327
  var o;
4307
4328
  r.subscribe(function(a) {
4308
4329
  return o = a;
@@ -4316,32 +4337,32 @@ var Ot = function() {
4316
4337
  return new e(t);
4317
4338
  }, e;
4318
4339
  }();
4319
- function Ct(e) {
4340
+ function Rt(e) {
4320
4341
  var t;
4321
- return (t = e ?? yr.Promise) !== null && t !== void 0 ? t : Promise;
4342
+ return (t = e ?? Zn.Promise) !== null && t !== void 0 ? t : Promise;
4322
4343
  }
4323
- function to(e) {
4324
- return e && U(e.next) && U(e.error) && U(e.complete);
4344
+ function io(e) {
4345
+ return e && G(e.next) && G(e.error) && G(e.complete);
4325
4346
  }
4326
- function ro(e) {
4327
- return e && e instanceof br || to(e) && dr(e);
4347
+ function no(e) {
4348
+ return e && e instanceof br || io(e) && gr(e);
4328
4349
  }
4329
- var io = mr(function(e) {
4350
+ var oo = dr(function(e) {
4330
4351
  return function() {
4331
4352
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4332
4353
  };
4333
- }), gr = function(e) {
4334
- G(t, e);
4354
+ }), vr = function(e) {
4355
+ fe(t, e);
4335
4356
  function t() {
4336
4357
  var r = e.call(this) || this;
4337
4358
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4338
4359
  }
4339
4360
  return t.prototype.lift = function(r) {
4340
- var i = new Nt(this, this);
4361
+ var i = new Mt(this, this);
4341
4362
  return i.operator = r, i;
4342
4363
  }, t.prototype._throwIfClosed = function() {
4343
4364
  if (this.closed)
4344
- throw new io();
4365
+ throw new oo();
4345
4366
  }, t.prototype.next = function(r) {
4346
4367
  var i = this;
4347
4368
  xe(function() {
@@ -4349,7 +4370,7 @@ var io = mr(function(e) {
4349
4370
  if (i._throwIfClosed(), !i.isStopped) {
4350
4371
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
4351
4372
  try {
4352
- for (var a = Ze(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
4373
+ for (var a = ot(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
4353
4374
  var h = s.value;
4354
4375
  h.next(r);
4355
4376
  }
@@ -4398,20 +4419,20 @@ var io = mr(function(e) {
4398
4419
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4399
4420
  }, t.prototype._innerSubscribe = function(r) {
4400
4421
  var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
4401
- return o || a ? pr : (this.currentObservers = null, s.push(r), new Ie(function() {
4402
- i.currentObservers = null, nt(s, r);
4422
+ return o || a ? yr : (this.currentObservers = null, s.push(r), new Be(function() {
4423
+ i.currentObservers = null, ut(s, r);
4403
4424
  }));
4404
4425
  }, t.prototype._checkFinalizedStatuses = function(r) {
4405
4426
  var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
4406
4427
  n ? r.error(o) : a && r.complete();
4407
4428
  }, t.prototype.asObservable = function() {
4408
- var r = new Ot();
4429
+ var r = new Nt();
4409
4430
  return r.source = this, r;
4410
4431
  }, t.create = function(r, i) {
4411
- return new Nt(r, i);
4432
+ return new Mt(r, i);
4412
4433
  }, t;
4413
- }(Ot), Nt = function(e) {
4414
- G(t, e);
4434
+ }(Nt), Mt = function(e) {
4435
+ fe(t, e);
4415
4436
  function t(r, i) {
4416
4437
  var n = e.call(this) || this;
4417
4438
  return n.destination = r, n.source = i, n;
@@ -4427,17 +4448,17 @@ var io = mr(function(e) {
4427
4448
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
4428
4449
  }, t.prototype._subscribe = function(r) {
4429
4450
  var i, n;
4430
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : pr;
4451
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : yr;
4431
4452
  }, t;
4432
- }(gr), vr = {
4453
+ }(vr), _r = {
4433
4454
  now: function() {
4434
- return (vr.delegate || Date).now();
4455
+ return (_r.delegate || Date).now();
4435
4456
  },
4436
4457
  delegate: void 0
4437
- }, no = function(e) {
4438
- G(t, e);
4458
+ }, so = function(e) {
4459
+ fe(t, e);
4439
4460
  function t(r, i, n) {
4440
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = vr);
4461
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = _r);
4441
4462
  var o = e.call(this) || this;
4442
4463
  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;
4443
4464
  }
@@ -4457,24 +4478,24 @@ var io = mr(function(e) {
4457
4478
  u && o.splice(0, u + 1);
4458
4479
  }
4459
4480
  }, t;
4460
- }(gr);
4461
- const Rt = [], Mt = {}, oo = (e, t = 0) => {
4462
- if (Rt.indexOf(e) == -1) {
4463
- const r = new no(t);
4464
- Mt[e] = r, Rt.push(e);
4481
+ }(vr);
4482
+ const Dt = [], $t = {}, ao = (e, t = 0) => {
4483
+ if (Dt.indexOf(e) == -1) {
4484
+ const r = new so(t);
4485
+ $t[e] = r, Dt.push(e);
4465
4486
  }
4466
- return Mt[e];
4487
+ return $t[e];
4467
4488
  };
4468
- window.emWidgets = { topic: oo };
4469
- const so = (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));
4489
+ window.emWidgets = { topic: ao };
4490
+ const uo = (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));
4470
4491
  String(Number.MAX_SAFE_INTEGER).length;
4471
- function ao(e, t) {
4492
+ function lo(e, t) {
4472
4493
  if (e) {
4473
4494
  const r = document.createElement("style");
4474
4495
  r.innerHTML = t, e.appendChild(r);
4475
4496
  }
4476
4497
  }
4477
- function uo(e, t) {
4498
+ function ho(e, t) {
4478
4499
  if (!e || !t)
4479
4500
  return;
4480
4501
  const r = new URL(t);
@@ -4485,7 +4506,7 @@ function uo(e, t) {
4485
4506
  console.error("There was an error while trying to load client styling from URL", i);
4486
4507
  });
4487
4508
  }
4488
- function lo(e, t, r) {
4509
+ function co(e, t, r) {
4489
4510
  if (window.emMessageBus) {
4490
4511
  const i = document.createElement("style");
4491
4512
  window.emMessageBus.subscribe(t, (n) => {
@@ -4493,77 +4514,77 @@ function lo(e, t, r) {
4493
4514
  });
4494
4515
  }
4495
4516
  }
4496
- function ho(e) {
4497
- Rr(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)}}');
4517
+ function fo(e) {
4518
+ Mr(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)}}');
4498
4519
  }
4499
- function Dt(e, t, r) {
4520
+ function Ut(e, t, r) {
4500
4521
  const i = e.slice();
4501
4522
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4502
4523
  }
4503
- function co(e) {
4524
+ function mo(e) {
4504
4525
  let t, r, i, n = (
4505
4526
  /*$_*/
4506
4527
  e[9]("expandLimits") + ""
4507
- ), o, a, s, h, u, l, c, f, p, y = dt(
4528
+ ), o, a, s, h, u, l, c, f, p, y = gt(
4508
4529
  /*lazyShowedHistoryArray*/
4509
4530
  e[7]
4510
4531
  ), d = [];
4511
4532
  for (let v = 0; v < y.length; v += 1)
4512
- d[v] = $t(Dt(e, y, v));
4533
+ d[v] = Gt(Ut(e, y, v));
4513
4534
  return {
4514
4535
  c() {
4515
- t = H("div"), r = H("div"), i = H("button"), o = $(n), a = Ve(), s = Ne("svg"), h = Ne("path"), u = Ne("path"), l = Ve(), c = H("div");
4536
+ t = P("div"), r = P("div"), i = P("button"), o = U(n), a = Xe(), s = Me("svg"), h = Me("path"), u = Me("path"), l = Xe(), c = P("div");
4516
4537
  for (let v = 0; v < d.length; v += 1)
4517
4538
  d[v].c();
4518
- 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"), ye(
4539
+ E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-19ml84y"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-19ml84y"), E(s, "class", "ExpandArrow svelte-19ml84y"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), E(s, "fill", "#999"), ye(
4519
4540
  s,
4520
4541
  "extended",
4521
4542
  /*extended*/
4522
4543
  e[8]
4523
- ), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ye(
4544
+ ), E(i, "class", "ExpandButton svelte-19ml84y"), E(c, "class", "HistoryDisplayArea svelte-19ml84y"), ye(
4524
4545
  c,
4525
4546
  "hidden",
4526
4547
  /*hidden*/
4527
4548
  e[5]
4528
- ), x(r, "class", "HistoryWrapper " + /*isDesktop*/
4529
- (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4549
+ ), E(r, "class", "HistoryWrapper " + /*isDesktop*/
4550
+ (e[10] ? "Desktop" : "") + " svelte-19ml84y"), E(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4530
4551
  },
4531
- m(v, P) {
4532
- W(v, t, P), 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);
4533
- for (let b = 0; b < d.length; b += 1)
4534
- d[b] && d[b].m(c, null);
4535
- f || (p = Ur(
4552
+ m(v, H) {
4553
+ W(v, t, H), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
4554
+ for (let g = 0; g < d.length; g += 1)
4555
+ d[g] && d[g].m(c, null);
4556
+ f || (p = Gr(
4536
4557
  i,
4537
4558
  "click",
4538
4559
  /*toggleHistoryDisplayArea*/
4539
4560
  e[11]
4540
4561
  ), f = !0);
4541
4562
  },
4542
- p(v, P) {
4543
- if (P[0] & /*$_*/
4563
+ p(v, H) {
4564
+ if (H[0] & /*$_*/
4544
4565
  512 && n !== (n = /*$_*/
4545
- v[9]("expandLimits") + "") && j(o, n), P[0] & /*extended*/
4566
+ v[9]("expandLimits") + "") && j(o, n), H[0] & /*extended*/
4546
4567
  256 && ye(
4547
4568
  s,
4548
4569
  "extended",
4549
4570
  /*extended*/
4550
4571
  v[8]
4551
- ), P[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4572
+ ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4552
4573
  650) {
4553
- y = dt(
4574
+ y = gt(
4554
4575
  /*lazyShowedHistoryArray*/
4555
4576
  v[7]
4556
4577
  );
4557
- let b;
4558
- for (b = 0; b < y.length; b += 1) {
4559
- const w = Dt(v, y, b);
4560
- d[b] ? d[b].p(w, P) : (d[b] = $t(w), d[b].c(), d[b].m(c, null));
4578
+ let g;
4579
+ for (g = 0; g < y.length; g += 1) {
4580
+ const S = Ut(v, y, g);
4581
+ d[g] ? d[g].p(S, H) : (d[g] = Gt(S), d[g].c(), d[g].m(c, null));
4561
4582
  }
4562
- for (; b < d.length; b += 1)
4563
- d[b].d(1);
4583
+ for (; g < d.length; g += 1)
4584
+ d[g].d(1);
4564
4585
  d.length = y.length;
4565
4586
  }
4566
- P[0] & /*hidden*/
4587
+ H[0] & /*hidden*/
4567
4588
  32 && ye(
4568
4589
  c,
4569
4590
  "hidden",
@@ -4572,14 +4593,14 @@ function co(e) {
4572
4593
  );
4573
4594
  },
4574
4595
  d(v) {
4575
- v && k(t), $r(d, v), f = !1, p();
4596
+ v && k(t), Ur(d, v), f = !1, p();
4576
4597
  }
4577
4598
  };
4578
4599
  }
4579
- function fo(e) {
4580
- return { c: B, m: B, p: B, d: B };
4600
+ function po(e) {
4601
+ return { c: I, m: I, p: I, d: I };
4581
4602
  }
4582
- function mo(e) {
4603
+ function yo(e) {
4583
4604
  let t, r = (
4584
4605
  /*lang*/
4585
4606
  (e[0] ? (
@@ -4589,10 +4610,10 @@ function mo(e) {
4589
4610
  ), i;
4590
4611
  return {
4591
4612
  c() {
4592
- t = H("p"), i = $(r), x(t, "class", "svelte-19ml84y");
4613
+ t = P("p"), i = U(r), E(t, "class", "svelte-19ml84y");
4593
4614
  },
4594
4615
  m(n, o) {
4595
- W(n, t, o), T(t, i);
4616
+ W(n, t, o), x(t, i);
4596
4617
  },
4597
4618
  p(n, o) {
4598
4619
  o[0] & /*lang, $_*/
@@ -4607,7 +4628,7 @@ function mo(e) {
4607
4628
  }
4608
4629
  };
4609
4630
  }
4610
- function po(e) {
4631
+ function go(e) {
4611
4632
  let t, r, i, n = (
4612
4633
  /*history*/
4613
4634
  e[37].type + ""
@@ -4620,10 +4641,10 @@ function po(e) {
4620
4641
  ), c;
4621
4642
  return {
4622
4643
  c() {
4623
- t = H("div"), r = H("span"), i = H("span"), o = $(n), a = H("span"), h = $(s), u = H("span"), c = $(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");
4644
+ t = P("div"), r = P("span"), i = P("span"), o = U(n), a = P("span"), h = U(s), u = P("span"), c = U(l), E(i, "class", "LimitType svelte-19ml84y"), E(a, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
4624
4645
  },
4625
4646
  m(f, p) {
4626
- W(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
4647
+ W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
4627
4648
  },
4628
4649
  p(f, p) {
4629
4650
  p[0] & /*lazyShowedHistoryArray*/
@@ -4639,7 +4660,7 @@ function po(e) {
4639
4660
  }
4640
4661
  };
4641
4662
  }
4642
- function yo(e) {
4663
+ function bo(e) {
4643
4664
  let t, r, i, n = (
4644
4665
  /*history*/
4645
4666
  e[37].type + ""
@@ -4652,10 +4673,10 @@ function yo(e) {
4652
4673
  ), c;
4653
4674
  return {
4654
4675
  c() {
4655
- t = H("div"), r = H("span"), i = H("span"), o = $(n), a = H("span"), h = $(s), u = H("span"), c = $(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");
4676
+ t = P("div"), r = P("span"), i = P("span"), o = U(n), a = P("span"), h = U(s), u = P("span"), c = U(l), E(i, "class", "LimitType svelte-19ml84y"), E(a, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
4656
4677
  },
4657
4678
  m(f, p) {
4658
- W(f, t, p), T(t, r), T(r, i), T(i, o), T(r, a), T(a, h), T(t, u), T(u, c);
4679
+ W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
4659
4680
  },
4660
4681
  p(f, p) {
4661
4682
  p[0] & /*lazyShowedHistoryArray*/
@@ -4671,7 +4692,7 @@ function yo(e) {
4671
4692
  }
4672
4693
  };
4673
4694
  }
4674
- function $t(e) {
4695
+ function Gt(e) {
4675
4696
  let t, r, i, n = (
4676
4697
  /*index*/
4677
4698
  e[39]
@@ -4679,7 +4700,7 @@ function $t(e) {
4679
4700
  function o(l, c) {
4680
4701
  return (
4681
4702
  /*history*/
4682
- l[37].removed ? yo : po
4703
+ l[37].removed ? bo : go
4683
4704
  );
4684
4705
  }
4685
4706
  let a = o(e), s = a(e);
@@ -4692,22 +4713,22 @@ function $t(e) {
4692
4713
  );
4693
4714
  return {
4694
4715
  c() {
4695
- t = H("div"), s.c(), r = Ve(), x(t, "class", i = mt(
4716
+ t = P("div"), s.c(), r = Xe(), E(t, "class", i = dt(
4696
4717
  /*index*/
4697
4718
  e[39] > +/*numberofentries*/
4698
4719
  e[1] ? "LimitContainer" : ""
4699
4720
  ) + " svelte-19ml84y");
4700
4721
  },
4701
4722
  m(l, c) {
4702
- W(l, t, c), s.m(t, null), T(t, r), h();
4723
+ W(l, t, c), s.m(t, null), x(t, r), h();
4703
4724
  },
4704
4725
  p(l, c) {
4705
4726
  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*/
4706
- 2 && i !== (i = mt(
4727
+ 2 && i !== (i = dt(
4707
4728
  /*index*/
4708
4729
  e[39] > +/*numberofentries*/
4709
4730
  e[1] ? "LimitContainer" : ""
4710
- ) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
4731
+ ) + " svelte-19ml84y") && E(t, "class", i), n !== /*index*/
4711
4732
  e[39] && (u(), n = /*index*/
4712
4733
  e[39], h());
4713
4734
  },
@@ -4716,21 +4737,21 @@ function $t(e) {
4716
4737
  }
4717
4738
  };
4718
4739
  }
4719
- function bo(e) {
4740
+ function vo(e) {
4720
4741
  let t;
4721
4742
  function r(o, a) {
4722
4743
  return (
4723
4744
  /*hasErrors*/
4724
- o[6] ? mo : (
4745
+ o[6] ? yo : (
4725
4746
  /*isLoading*/
4726
- o[4] ? fo : co
4747
+ o[4] ? po : mo
4727
4748
  )
4728
4749
  );
4729
4750
  }
4730
4751
  let i = r(e), n = i(e);
4731
4752
  return {
4732
4753
  c() {
4733
- t = H("div"), n.c(), x(t, "class", "svelte-19ml84y");
4754
+ t = P("div"), n.c(), E(t, "class", "svelte-19ml84y");
4734
4755
  },
4735
4756
  m(o, a) {
4736
4757
  W(o, t, a), n.m(t, null), e[23](t);
@@ -4738,52 +4759,52 @@ function bo(e) {
4738
4759
  p(o, a) {
4739
4760
  i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4740
4761
  },
4741
- i: B,
4742
- o: B,
4762
+ i: I,
4763
+ o: I,
4743
4764
  d(o) {
4744
4765
  o && k(t), n.d(), e[23](null);
4745
4766
  }
4746
4767
  };
4747
4768
  }
4748
- function go(e, t, r) {
4769
+ function _o(e, t, r) {
4749
4770
  let i;
4750
- Nr(e, Vn, (m) => r(9, i = m));
4751
- let n = window.navigator.userAgent, o = !so(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: P = "" } = t, b, w = new Array(), R = parseInt(c, 10), N = !1, M = !0, V = [], me = [], pe = !0, Be = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
4771
+ Rr(e, Xn, (m) => r(9, i = m));
4772
+ let n = window.navigator.userAgent, o = !uo(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, S = new Array(), M = parseInt(c, 10), N = !1, D = !0, V = [], me = [], pe = !0, Ce = !1, ne = { EUR: "€", RON: "lei", TRY: "₺" };
4752
4773
  const Er = () => {
4753
- fetch(P).then((L) => L.json()).then((L) => {
4754
- Object.keys(L).forEach((C) => {
4755
- Pt(C, L[C]);
4774
+ fetch(H).then((T) => T.json()).then((T) => {
4775
+ Object.keys(T).forEach((C) => {
4776
+ It(C, T[C]);
4756
4777
  });
4757
- }).catch((L) => {
4758
- console.log(L);
4778
+ }).catch((T) => {
4779
+ console.log(T);
4759
4780
  });
4760
4781
  };
4761
- Object.keys(Fe).forEach((m) => {
4762
- Pt(m, Fe[m]);
4782
+ Object.keys(Ve).forEach((m) => {
4783
+ It(m, Ve[m]);
4763
4784
  });
4764
- const _r = () => {
4765
- let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, L = new URL(m, u);
4766
- L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4785
+ const xr = () => {
4786
+ let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, u);
4787
+ T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4767
4788
  let C = {
4768
4789
  method: "GET",
4769
4790
  headers: { "X-SessionID": h }
4770
4791
  };
4771
- fetch(L.href, C).then((A) => {
4792
+ fetch(T.href, C).then((A) => {
4772
4793
  if (A.status >= 300)
4773
- throw r(4, M = !1), r(6, N = !0), new Error("There was an error fetching the limits");
4794
+ throw r(4, D = !1), r(6, N = !0), new Error("There was an error fetching the limits");
4774
4795
  return A.json();
4775
4796
  }).then(
4776
4797
  (A) => {
4777
- A.length && (V = xr(A), r(7, me = V.slice(0, R))), r(4, M = !1);
4798
+ A.length && (V = Tr(A), r(7, me = V.slice(0, M))), r(4, D = !1);
4778
4799
  },
4779
4800
  (A) => {
4780
4801
  console.error("There was an error", A), r(6, N = !0);
4781
4802
  }
4782
4803
  );
4783
- }, xr = (m) => {
4784
- const L = !!Fe[a];
4804
+ }, Tr = (m) => {
4805
+ const T = !!Ve[a];
4785
4806
  return m.map((A) => {
4786
- let D = {
4807
+ let $ = {
4787
4808
  amount: "",
4788
4809
  currency: "",
4789
4810
  date: "",
@@ -4791,82 +4812,82 @@ function go(e, t, r) {
4791
4812
  type: "",
4792
4813
  removed: !1
4793
4814
  };
4794
- return D.amount = Tr(A), D.currency = L ? oe[A.limitCurrencyCode] : A.limitCurrencyCode, D.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), D.period = i(`${A.limitPeriod.toLowerCase()}`), D.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), D.removed = A.limitAmount === -1, D;
4815
+ return $.amount = Lr(A), $.currency = T ? ne[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4795
4816
  });
4796
- }, Tr = (m) => {
4797
- let L = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4817
+ }, Lr = (m) => {
4818
+ let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4798
4819
  if (!p) {
4799
- let Or = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
4800
- return `${L}${Or}`;
4820
+ let Cr = ne[m.limitCurrencyCode] || m.limitCurrencyCode;
4821
+ return `${T}${Cr}`;
4801
4822
  }
4802
4823
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4803
- const C = L.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, D = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4824
+ const C = T.match(/\{(\d+)decimals\}/), A = C ? parseInt(C[1], 10) : 2, $ = C ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4804
4825
  let de = parseFloat(m.limitAmount).toFixed(A);
4805
- const [Ir, Oe] = p.includes(".") ? [",", "."] : [".", ","];
4806
- let [Ce, Br] = de.split(".");
4807
- return Ce = Ce.replace(/\B(?=(\d{3})+(?!\d))/g, Ir), de = `${Ce}${Oe}${Br}`, L = L.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Oe)[0]).replace(
4808
- D,
4809
- de.split(Oe)[1]
4810
- ), L;
4811
- }, Lr = () => {
4812
- r(5, pe = !pe), r(8, Be = !Be);
4826
+ const [Ir, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4827
+ let [Re, Br] = de.split(".");
4828
+ return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Ir), de = `${Re}${Ne}${Br}`, T = T.replace("{currency}", ne[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Ne)[0]).replace(
4829
+ $,
4830
+ de.split(Ne)[1]
4831
+ ), T;
4832
+ }, Sr = () => {
4833
+ r(5, pe = !pe), r(8, Ce = !Ce);
4813
4834
  };
4814
- let ct = new IntersectionObserver((m) => {
4815
- m.forEach((L) => {
4816
- L.isIntersecting && (R += parseInt(c, 10) || 10, me.length < V.length && r(7, me = V.slice(0, R)));
4835
+ let mt = new IntersectionObserver((m) => {
4836
+ m.forEach((T) => {
4837
+ T.isIntersecting && (M += parseInt(c, 10) || 10, me.length < V.length && r(7, me = V.slice(0, M)));
4817
4838
  });
4818
4839
  });
4819
- const Sr = () => {
4820
- ct.observe(w[w.length - 1]);
4821
- }, wr = () => {
4840
+ const wr = () => {
4841
+ mt.observe(S[S.length - 1]);
4842
+ }, Ar = () => {
4822
4843
  if (!f)
4823
4844
  return;
4824
4845
  let m = {};
4825
- f.split(",").forEach((L) => {
4826
- let C = L.split(":");
4846
+ f.split(",").forEach((T) => {
4847
+ let C = T.split(":");
4827
4848
  m[C[0].trim()] = C[1].trim();
4828
- }), oe = { ...oe, ...m };
4829
- }, Ar = () => {
4830
- Wn(a);
4849
+ }), ne = { ...ne, ...m };
4850
+ }, Pr = () => {
4851
+ zn(a);
4831
4852
  };
4832
- kr(() => () => {
4833
- ct.unobserve(w[w.length - 1]);
4853
+ Vr(() => () => {
4854
+ mt.unobserve(S[S.length - 1]);
4834
4855
  });
4835
- function Hr(m, L) {
4856
+ function Hr(m, T) {
4836
4857
  Te[m ? "unshift" : "push"](() => {
4837
- w[L] = m, r(3, w);
4858
+ S[T] = m, r(3, S);
4838
4859
  });
4839
4860
  }
4840
- function Pr(m) {
4861
+ function Or(m) {
4841
4862
  Te[m ? "unshift" : "push"](() => {
4842
- b = m, r(2, b);
4863
+ g = m, r(2, g);
4843
4864
  });
4844
4865
  }
4845
4866
  return e.$$set = (m) => {
4846
- "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, P = m.translationurl);
4867
+ "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);
4847
4868
  }, e.$$.update = () => {
4848
4869
  e.$$.dirty[0] & /*customcurrencysymbols*/
4849
- 65536 && f && wr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4850
- 61440 && u && s && h && l && _r(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4851
- 56 && w[0] && !M && !pe && Sr(), e.$$.dirty[0] & /*lang*/
4852
- 1 && a && Ar(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4853
- 262148 && y && b && ao(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4854
- 524292 && d && b && uo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4855
- 1048580 && v && b && lo(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4856
- 2097156 && P && b && Er();
4870
+ 65536 && f && Ar(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4871
+ 61440 && u && s && h && l && xr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4872
+ 56 && S[0] && !D && !pe && wr(), e.$$.dirty[0] & /*lang*/
4873
+ 1 && a && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4874
+ 262148 && y && g && lo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4875
+ 524292 && d && g && ho(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4876
+ 1048580 && v && g && co(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4877
+ 2097156 && H && g && Er();
4857
4878
  }, [
4858
4879
  a,
4859
4880
  c,
4860
- b,
4861
- w,
4862
- M,
4881
+ g,
4882
+ S,
4883
+ D,
4863
4884
  pe,
4864
4885
  N,
4865
4886
  me,
4866
- Be,
4887
+ Ce,
4867
4888
  i,
4868
4889
  o,
4869
- Lr,
4890
+ Sr,
4870
4891
  s,
4871
4892
  h,
4872
4893
  u,
@@ -4876,19 +4897,19 @@ function go(e, t, r) {
4876
4897
  y,
4877
4898
  d,
4878
4899
  v,
4879
- P,
4900
+ H,
4880
4901
  Hr,
4881
- Pr
4902
+ Or
4882
4903
  ];
4883
4904
  }
4884
- class vo extends ti {
4905
+ class Eo extends ri {
4885
4906
  constructor(t) {
4886
- super(), Kr(
4907
+ super(), ei(
4887
4908
  this,
4888
4909
  t,
4889
- go,
4890
- bo,
4891
- Gt,
4910
+ _o,
4911
+ vo,
4912
+ jt,
4892
4913
  {
4893
4914
  lang: 0,
4894
4915
  userid: 12,
@@ -4903,7 +4924,7 @@ class vo extends ti {
4903
4924
  mbsource: 20,
4904
4925
  translationurl: 21
4905
4926
  },
4906
- ho,
4927
+ fo,
4907
4928
  [-1, -1]
4908
4929
  );
4909
4930
  }
@@ -4911,76 +4932,76 @@ class vo extends ti {
4911
4932
  return this.$$.ctx[0];
4912
4933
  }
4913
4934
  set lang(t) {
4914
- this.$$set({ lang: t }), O();
4935
+ this.$$set({ lang: t }), B();
4915
4936
  }
4916
4937
  get userid() {
4917
4938
  return this.$$.ctx[12];
4918
4939
  }
4919
4940
  set userid(t) {
4920
- this.$$set({ userid: t }), O();
4941
+ this.$$set({ userid: t }), B();
4921
4942
  }
4922
4943
  get session() {
4923
4944
  return this.$$.ctx[13];
4924
4945
  }
4925
4946
  set session(t) {
4926
- this.$$set({ session: t }), O();
4947
+ this.$$set({ session: t }), B();
4927
4948
  }
4928
4949
  get endpoint() {
4929
4950
  return this.$$.ctx[14];
4930
4951
  }
4931
4952
  set endpoint(t) {
4932
- this.$$set({ endpoint: t }), O();
4953
+ this.$$set({ endpoint: t }), B();
4933
4954
  }
4934
4955
  get apiversion() {
4935
4956
  return this.$$.ctx[15];
4936
4957
  }
4937
4958
  set apiversion(t) {
4938
- this.$$set({ apiversion: t }), O();
4959
+ this.$$set({ apiversion: t }), B();
4939
4960
  }
4940
4961
  get numberofentries() {
4941
4962
  return this.$$.ctx[1];
4942
4963
  }
4943
4964
  set numberofentries(t) {
4944
- this.$$set({ numberofentries: t }), O();
4965
+ this.$$set({ numberofentries: t }), B();
4945
4966
  }
4946
4967
  get customcurrencysymbols() {
4947
4968
  return this.$$.ctx[16];
4948
4969
  }
4949
4970
  set customcurrencysymbols(t) {
4950
- this.$$set({ customcurrencysymbols: t }), O();
4971
+ this.$$set({ customcurrencysymbols: t }), B();
4951
4972
  }
4952
4973
  get limitformat() {
4953
4974
  return this.$$.ctx[17];
4954
4975
  }
4955
4976
  set limitformat(t) {
4956
- this.$$set({ limitformat: t }), O();
4977
+ this.$$set({ limitformat: t }), B();
4957
4978
  }
4958
4979
  get clientstyling() {
4959
4980
  return this.$$.ctx[18];
4960
4981
  }
4961
4982
  set clientstyling(t) {
4962
- this.$$set({ clientstyling: t }), O();
4983
+ this.$$set({ clientstyling: t }), B();
4963
4984
  }
4964
4985
  get clientstylingurl() {
4965
4986
  return this.$$.ctx[19];
4966
4987
  }
4967
4988
  set clientstylingurl(t) {
4968
- this.$$set({ clientstylingurl: t }), O();
4989
+ this.$$set({ clientstylingurl: t }), B();
4969
4990
  }
4970
4991
  get mbsource() {
4971
4992
  return this.$$.ctx[20];
4972
4993
  }
4973
4994
  set mbsource(t) {
4974
- this.$$set({ mbsource: t }), O();
4995
+ this.$$set({ mbsource: t }), B();
4975
4996
  }
4976
4997
  get translationurl() {
4977
4998
  return this.$$.ctx[21];
4978
4999
  }
4979
5000
  set translationurl(t) {
4980
- this.$$set({ translationurl: t }), O();
5001
+ this.$$set({ translationurl: t }), B();
4981
5002
  }
4982
5003
  }
4983
- ei(vo, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5004
+ ti(Eo, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4984
5005
  export {
4985
- vo as P
5006
+ Eo as P
4986
5007
  };