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

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