@everymatrix/player-account-gaming-limits-history-2-nd 1.76.0 → 1.76.3

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