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