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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/PlayerAccountGamingLimitsHistory2-CTnjW3xp.cjs +18 -0
  2. package/components/{PlayerAccountGamingLimitsHistory2-BNsAmZYN.js → PlayerAccountGamingLimitsHistory2-D0vDUU9k.js} +1052 -1087
  3. package/components/{PlayerAccountGamingLimitsHistory2-Cpa0GVk9.js → PlayerAccountGamingLimitsHistory2-D18-oBtE.js} +1086 -1121
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-DlyZHKNP.cjs → PlayerAccountGamingLimitsPage2Gm16-20gFr2-R.cjs} +4 -4
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-CB2sBWVO.js → PlayerAccountGamingLimitsPage2Gm16-BRZUBbol.js} +135 -135
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16-EUs9kZ-d.js → PlayerAccountGamingLimitsPage2Gm16-hDnAndqZ.js} +154 -154
  7. package/components/{PlayerAccountGamingLimitsWrapper2-BTnlXzrm.js → PlayerAccountGamingLimitsWrapper2-C3oq05WD.js} +45 -45
  8. package/components/{PlayerAccountGamingLimitsWrapper2-CKOc6VZf.js → PlayerAccountGamingLimitsWrapper2-C79R8sKm.js} +37 -37
  9. package/components/{PlayerAccountGamingLimitsWrapper2-BALyszQL.cjs → PlayerAccountGamingLimitsWrapper2-Dm5O7cwB.cjs} +1 -1
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BbCeNxUG.js +519 -0
  15. package/stencil/index-b2193545-C9PH-6qK.js +503 -0
  16. package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
  17. package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-BKDs0-7H.js} +2 -2
  18. package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CJbkvgG7.js} +2 -2
  19. package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
  20. package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
  21. package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
  22. package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
  23. package/components/PlayerAccountGamingLimitsHistory2-BsSmOM97.cjs +0 -18
  24. package/stencil/index-b2193545-BeKKnKhR.js +0 -519
  25. package/stencil/index-b2193545-HC0t7mHa.js +0 -503
  26. package/stencil/index-b2193545-YW9b062G.cjs +0 -1
@@ -1,35 +1,35 @@
1
- var Vr = Object.defineProperty, Wr = Object.defineProperties;
2
- var Xr = Object.getOwnPropertyDescriptors;
3
- var vt = Object.getOwnPropertySymbols;
4
- var zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
5
- var Fe = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
1
+ var Gr = Object.defineProperty, Fr = Object.defineProperties;
2
+ var jr = Object.getOwnPropertyDescriptors;
3
+ var pt = Object.getOwnPropertySymbols;
4
+ var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- zr.call(t, r) && Fe(e, r, t[r]);
8
- if (vt)
9
- for (var r of vt(t))
10
- Zr.call(t, r) && Fe(e, r, t[r]);
7
+ kr.call(t, r) && $e(e, r, t[r]);
8
+ if (pt)
9
+ for (var r of pt(t))
10
+ Vr.call(t, r) && $e(e, r, t[r]);
11
11
  return e;
12
- }, _t = (e, t) => Wr(e, Xr(t));
13
- var O = (e, t, r) => (Fe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Et = (e, t, r) => new Promise((i, n) => {
15
- var o = (l) => {
12
+ }, yt = (e, t) => Fr(e, jr(t));
13
+ var I = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var gt = (e, t, r) => new Promise((i, n) => {
15
+ var s = (l) => {
16
16
  try {
17
17
  a(r.next(l));
18
18
  } catch (u) {
19
19
  n(u);
20
20
  }
21
- }, s = (l) => {
21
+ }, o = (l) => {
22
22
  try {
23
23
  a(r.throw(l));
24
24
  } catch (u) {
25
25
  n(u);
26
26
  }
27
- }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, s);
27
+ }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function B() {
30
+ function O() {
31
31
  }
32
- function Qr(e, t) {
32
+ function Wr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,67 +37,67 @@ function Qr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Qt(e) {
40
+ function Wt(e) {
41
41
  return e();
42
42
  }
43
- function xt() {
43
+ function bt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function ie(e) {
47
- e.forEach(Qt);
46
+ function ne(e) {
47
+ e.forEach(Wt);
48
48
  }
49
- function dt(e) {
49
+ function ht(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Yt(e, t) {
52
+ function Xt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function Yr(e) {
55
+ function Xr(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function Jt(e, ...t) {
58
+ function zt(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const i of t)
61
61
  i(void 0);
62
- return B;
62
+ return O;
63
63
  }
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function Jr(e, t, r) {
68
- e.$$.on_destroy.push(Jt(t, r));
67
+ function zr(e, t, r) {
68
+ e.$$.on_destroy.push(zt(t, r));
69
69
  }
70
- function Do(e, t, r, i) {
70
+ function Os(e, t, r, i) {
71
71
  if (e) {
72
- const n = qt(e, t, r, i);
72
+ const n = Zt(e, t, r, i);
73
73
  return e[0](n);
74
74
  }
75
75
  }
76
- function qt(e, t, r, i) {
77
- return e[1] && i ? Qr(r.ctx.slice(), e[1](i(t))) : r.ctx;
76
+ function Zt(e, t, r, i) {
77
+ return e[1] && i ? Wr(r.ctx.slice(), e[1](i(t))) : r.ctx;
78
78
  }
79
- function Uo(e, t, r, i) {
79
+ function Cs(e, t, r, i) {
80
80
  if (e[2] && i) {
81
81
  const n = e[2](i(r));
82
82
  if (t.dirty === void 0)
83
83
  return n;
84
84
  if (typeof n == "object") {
85
- const o = [], s = Math.max(t.dirty.length, n.length);
86
- for (let a = 0; a < s; a += 1)
87
- o[a] = t.dirty[a] | n[a];
88
- return o;
85
+ const s = [], o = Math.max(t.dirty.length, n.length);
86
+ for (let a = 0; a < o; a += 1)
87
+ s[a] = t.dirty[a] | n[a];
88
+ return s;
89
89
  }
90
90
  return t.dirty | n;
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function $o(e, t, r, i, n, o) {
94
+ function Ns(e, t, r, i, n, s) {
95
95
  if (n) {
96
- const s = qt(t, r, i, o);
97
- e.p(s, n);
96
+ const o = Zt(t, r, i, s);
97
+ e.p(o, n);
98
98
  }
99
99
  }
100
- function Go(e) {
100
+ function Ms(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], r = e.ctx.length / 32;
103
103
  for (let i = 0; i < r; i++)
@@ -106,20 +106,20 @@ function Go(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function Tt(e) {
109
+ function vt(e) {
110
110
  return e == null ? "" : e;
111
111
  }
112
- function x(e, t) {
112
+ function T(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function qr(e, t, r) {
116
- const i = Kr(e);
115
+ function Zr(e, t, r) {
116
+ const i = Qr(e);
117
117
  if (!i.getElementById(t)) {
118
118
  const n = A("style");
119
- n.id = t, n.textContent = r, ei(i, n);
119
+ n.id = t, n.textContent = r, Yr(i, n);
120
120
  }
121
121
  }
122
- function Kr(e) {
122
+ function Qr(e) {
123
123
  if (!e)
124
124
  return document;
125
125
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -129,8 +129,8 @@ function Kr(e) {
129
129
  t
130
130
  ) : e.ownerDocument;
131
131
  }
132
- function ei(e, t) {
133
- return x(
132
+ function Yr(e, t) {
133
+ return T(
134
134
  /** @type {Document} */
135
135
  e.head || e,
136
136
  t
@@ -139,10 +139,10 @@ function ei(e, t) {
139
139
  function W(e, t, r) {
140
140
  e.insertBefore(t, r || null);
141
141
  }
142
- function j(e) {
142
+ function F(e) {
143
143
  e.parentNode && e.parentNode.removeChild(e);
144
144
  }
145
- function ti(e, t) {
145
+ function Jr(e, t) {
146
146
  for (let r = 0; r < e.length; r += 1)
147
147
  e[r] && e[r].d(t);
148
148
  }
@@ -152,42 +152,42 @@ function A(e) {
152
152
  function xe(e) {
153
153
  return document.createElementNS("http://www.w3.org/2000/svg", e);
154
154
  }
155
- function D(e) {
155
+ function R(e) {
156
156
  return document.createTextNode(e);
157
157
  }
158
- function Je() {
159
- return D(" ");
158
+ function Ze() {
159
+ return R(" ");
160
160
  }
161
- function Fo() {
162
- return D("");
161
+ function Rs() {
162
+ return R("");
163
163
  }
164
- function ri(e, t, r, i) {
164
+ function qr(e, t, r, i) {
165
165
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
166
166
  }
167
- function E(e, t, r) {
167
+ function x(e, t, r) {
168
168
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
169
169
  }
170
- function jo(e, t, r) {
170
+ function Ds(e, t, r) {
171
171
  const i = t.toLowerCase();
172
- i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
172
+ i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
173
173
  }
174
- function ko(e) {
174
+ function Us(e) {
175
175
  return e === "" ? null : +e;
176
176
  }
177
- function ii(e) {
177
+ function Kr(e) {
178
178
  return Array.from(e.childNodes);
179
179
  }
180
180
  function V(e, t) {
181
181
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
182
182
  t);
183
183
  }
184
- function Vo(e, t) {
184
+ function $s(e, t) {
185
185
  e.value = t == null ? "" : t;
186
186
  }
187
- function Wo(e, t, r, i) {
187
+ function Gs(e, t, r, i) {
188
188
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
189
189
  }
190
- function Xo(e, t, r) {
190
+ function Fs(e, t, r) {
191
191
  for (let i = 0; i < e.options.length; i += 1) {
192
192
  const n = e.options[i];
193
193
  if (n.__value === t) {
@@ -197,28 +197,28 @@ function Xo(e, t, r) {
197
197
  }
198
198
  (!r || t !== void 0) && (e.selectedIndex = -1);
199
199
  }
200
- function zo(e) {
200
+ function js(e) {
201
201
  const t = e.querySelector(":checked");
202
202
  return t && t.__value;
203
203
  }
204
204
  function ve(e, t, r) {
205
205
  e.classList.toggle(t, !!r);
206
206
  }
207
- class Zo {
207
+ class ks {
208
208
  constructor(t = !1) {
209
209
  /**
210
210
  * @private
211
211
  * @default false
212
212
  */
213
- O(this, "is_svg", !1);
213
+ I(this, "is_svg", !1);
214
214
  /** parent for creating node */
215
- O(this, "e");
215
+ I(this, "e");
216
216
  /** html tag nodes */
217
- O(this, "n");
217
+ I(this, "n");
218
218
  /** target */
219
- O(this, "t");
219
+ I(this, "t");
220
220
  /** anchor */
221
- O(this, "a");
221
+ I(this, "a");
222
222
  this.is_svg = t, this.e = this.n = null;
223
223
  }
224
224
  /**
@@ -271,10 +271,10 @@ class Zo {
271
271
  /**
272
272
  * @returns {void} */
273
273
  d() {
274
- this.n.forEach(j);
274
+ this.n.forEach(F);
275
275
  }
276
276
  }
277
- function ni(e) {
277
+ function ei(e) {
278
278
  const t = {};
279
279
  return e.childNodes.forEach(
280
280
  /** @param {Element} node */
@@ -283,69 +283,69 @@ function ni(e) {
283
283
  }
284
284
  ), t;
285
285
  }
286
- let he;
287
- function le(e) {
288
- he = e;
286
+ let ce;
287
+ function he(e) {
288
+ ce = e;
289
289
  }
290
- function oi() {
291
- if (!he)
290
+ function ti() {
291
+ if (!ce)
292
292
  throw new Error("Function called outside component initialization");
293
- return he;
293
+ return ce;
294
294
  }
295
- function si(e) {
296
- oi().$$.on_mount.push(e);
295
+ function ri(e) {
296
+ ti().$$.on_mount.push(e);
297
297
  }
298
298
  const J = [], Pe = [];
299
299
  let q = [];
300
- const Lt = [], ai = /* @__PURE__ */ Promise.resolve();
301
- let qe = !1;
302
- function ui() {
303
- qe || (qe = !0, ai.then(C));
300
+ const _t = [], ii = /* @__PURE__ */ Promise.resolve();
301
+ let Qe = !1;
302
+ function ni() {
303
+ Qe || (Qe = !0, ii.then(C));
304
304
  }
305
- function Ke(e) {
305
+ function Ye(e) {
306
306
  q.push(e);
307
307
  }
308
- const je = /* @__PURE__ */ new Set();
308
+ const Ge = /* @__PURE__ */ new Set();
309
309
  let Q = 0;
310
310
  function C() {
311
311
  if (Q !== 0)
312
312
  return;
313
- const e = he;
313
+ const e = ce;
314
314
  do {
315
315
  try {
316
316
  for (; Q < J.length; ) {
317
317
  const t = J[Q];
318
- Q++, le(t), li(t.$$);
318
+ Q++, he(t), si(t.$$);
319
319
  }
320
320
  } catch (t) {
321
321
  throw J.length = 0, Q = 0, t;
322
322
  }
323
- for (le(null), J.length = 0, Q = 0; Pe.length; )
323
+ for (he(null), J.length = 0, Q = 0; Pe.length; )
324
324
  Pe.pop()();
325
325
  for (let t = 0; t < q.length; t += 1) {
326
326
  const r = q[t];
327
- je.has(r) || (je.add(r), r());
327
+ Ge.has(r) || (Ge.add(r), r());
328
328
  }
329
329
  q.length = 0;
330
330
  } while (J.length);
331
- for (; Lt.length; )
332
- Lt.pop()();
333
- qe = !1, je.clear(), le(e);
331
+ for (; _t.length; )
332
+ _t.pop()();
333
+ Qe = !1, Ge.clear(), he(e);
334
334
  }
335
- function li(e) {
335
+ function si(e) {
336
336
  if (e.fragment !== null) {
337
- e.update(), ie(e.before_update);
337
+ e.update(), ne(e.before_update);
338
338
  const t = e.dirty;
339
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
339
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
340
340
  }
341
341
  }
342
- function hi(e) {
342
+ function oi(e) {
343
343
  const t = [], r = [];
344
344
  q.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), q = t;
345
345
  }
346
346
  const Te = /* @__PURE__ */ new Set();
347
347
  let z;
348
- function Qo() {
348
+ function Vs() {
349
349
  z = {
350
350
  r: 0,
351
351
  c: [],
@@ -353,13 +353,13 @@ function Qo() {
353
353
  // parent group
354
354
  };
355
355
  }
356
- function Yo() {
357
- z.r || ie(z.c), z = z.p;
356
+ function Ws() {
357
+ z.r || ne(z.c), z = z.p;
358
358
  }
359
- function ci(e, t) {
359
+ function ai(e, t) {
360
360
  e && e.i && (Te.delete(e), e.i(t));
361
361
  }
362
- function Jo(e, t, r, i) {
362
+ function Xs(e, t, r, i) {
363
363
  if (e && e.o) {
364
364
  if (Te.has(e))
365
365
  return;
@@ -369,34 +369,34 @@ function Jo(e, t, r, i) {
369
369
  } else
370
370
  i && i();
371
371
  }
372
- function St(e) {
372
+ function Et(e) {
373
373
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
374
374
  }
375
- function fi(e, t, r) {
375
+ function ui(e, t, r) {
376
376
  const { fragment: i, after_update: n } = e.$$;
377
- i && i.m(t, r), Ke(() => {
378
- const o = e.$$.on_mount.map(Qt).filter(dt);
379
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
380
- }), n.forEach(Ke);
377
+ i && i.m(t, r), Ye(() => {
378
+ const s = e.$$.on_mount.map(Wt).filter(ht);
379
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
380
+ }), n.forEach(Ye);
381
381
  }
382
- function mi(e, t) {
382
+ function li(e, t) {
383
383
  const r = e.$$;
384
- r.fragment !== null && (hi(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
384
+ r.fragment !== null && (oi(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
385
385
  }
386
- function pi(e, t) {
387
- e.$$.dirty[0] === -1 && (J.push(e), ui(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
386
+ function hi(e, t) {
387
+ e.$$.dirty[0] === -1 && (J.push(e), ni(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
388
388
  }
389
- function di(e, t, r, i, n, o, s = null, a = [-1]) {
390
- const l = he;
391
- le(e);
389
+ function ci(e, t, r, i, n, s, o = null, a = [-1]) {
390
+ const l = ce;
391
+ he(e);
392
392
  const u = e.$$ = {
393
393
  fragment: null,
394
394
  ctx: [],
395
395
  // state
396
- props: o,
397
- update: B,
396
+ props: s,
397
+ update: O,
398
398
  not_equal: n,
399
- bound: xt(),
399
+ bound: bt(),
400
400
  // lifecycle
401
401
  on_mount: [],
402
402
  on_destroy: [],
@@ -405,48 +405,48 @@ function di(e, t, r, i, n, o, s = null, a = [-1]) {
405
405
  after_update: [],
406
406
  context: new Map(t.context || (l ? l.$$.context : [])),
407
407
  // everything else
408
- callbacks: xt(),
408
+ callbacks: bt(),
409
409
  dirty: a,
410
410
  skip_bound: !1,
411
411
  root: t.target || l.$$.root
412
412
  };
413
- s && s(u.root);
413
+ o && o(u.root);
414
414
  let h = !1;
415
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
416
- const y = p.length ? p[0] : f;
417
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && pi(e, c)), f;
418
- }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
415
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
416
+ const y = d.length ? d[0] : f;
417
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && hi(e, c)), f;
418
+ }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
419
419
  if (t.hydrate) {
420
- const c = ii(t.target);
421
- u.fragment && u.fragment.l(c), c.forEach(j);
420
+ const c = Kr(t.target);
421
+ u.fragment && u.fragment.l(c), c.forEach(F);
422
422
  } else
423
423
  u.fragment && u.fragment.c();
424
- t.intro && ci(e.$$.fragment), fi(e, t.target, t.anchor), C();
424
+ t.intro && ai(e.$$.fragment), ui(e, t.target, t.anchor), C();
425
425
  }
426
- le(l);
426
+ he(l);
427
427
  }
428
- let Kt;
429
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
428
+ let Qt;
429
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
430
430
  constructor(t, r, i) {
431
431
  super();
432
432
  /** The Svelte component constructor */
433
- O(this, "$$ctor");
433
+ I(this, "$$ctor");
434
434
  /** Slots */
435
- O(this, "$$s");
435
+ I(this, "$$s");
436
436
  /** The Svelte component instance */
437
- O(this, "$$c");
437
+ I(this, "$$c");
438
438
  /** Whether or not the custom element is connected */
439
- O(this, "$$cn", !1);
439
+ I(this, "$$cn", !1);
440
440
  /** Component props data */
441
- O(this, "$$d", {});
441
+ I(this, "$$d", {});
442
442
  /** `true` if currently in the process of reflecting component props back to attributes */
443
- O(this, "$$r", !1);
443
+ I(this, "$$r", !1);
444
444
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
445
- O(this, "$$p_d", {});
445
+ I(this, "$$p_d", {});
446
446
  /** @type {Record<string, Function[]>} Event listeners */
447
- O(this, "$$l", {});
447
+ I(this, "$$l", {});
448
448
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
449
- O(this, "$$l_u", /* @__PURE__ */ new Map());
449
+ I(this, "$$l_u", /* @__PURE__ */ new Map());
450
450
  this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
451
451
  }
452
452
  addEventListener(t, r, i) {
@@ -463,42 +463,42 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
463
463
  }
464
464
  }
465
465
  connectedCallback() {
466
- return Et(this, null, function* () {
466
+ return gt(this, null, function* () {
467
467
  if (this.$$cn = !0, !this.$$c) {
468
- let t = function(o) {
468
+ let t = function(s) {
469
469
  return () => {
470
- let s;
470
+ let o;
471
471
  return {
472
472
  c: function() {
473
- s = A("slot"), o !== "default" && E(s, "name", o);
473
+ o = A("slot"), s !== "default" && x(o, "name", s);
474
474
  },
475
475
  /**
476
476
  * @param {HTMLElement} target
477
477
  * @param {HTMLElement} [anchor]
478
478
  */
479
479
  m: function(u, h) {
480
- W(u, s, h);
480
+ W(u, o, h);
481
481
  },
482
482
  d: function(u) {
483
- u && j(s);
483
+ u && F(o);
484
484
  }
485
485
  };
486
486
  };
487
487
  };
488
488
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
489
489
  return;
490
- const r = {}, i = ni(this);
491
- for (const o of this.$$s)
492
- o in i && (r[o] = [t(o)]);
493
- for (const o of this.attributes) {
494
- const s = this.$$g_p(o.name);
495
- s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
490
+ const r = {}, i = ei(this);
491
+ for (const s of this.$$s)
492
+ s in i && (r[s] = [t(s)]);
493
+ for (const s of this.attributes) {
494
+ const o = this.$$g_p(s.name);
495
+ o in this.$$d || (this.$$d[o] = Le(o, s.value, this.$$p_d, "toProp"));
496
496
  }
497
- for (const o in this.$$p_d)
498
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
497
+ for (const s in this.$$p_d)
498
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
499
499
  this.$$c = new this.$$ctor({
500
500
  target: this.shadowRoot || this,
501
- props: _t(be({}, this.$$d), {
501
+ props: yt(be({}, this.$$d), {
502
502
  $$slots: r,
503
503
  $$scope: {
504
504
  ctx: []
@@ -507,23 +507,23 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
507
507
  });
508
508
  const n = () => {
509
509
  this.$$r = !0;
510
- for (const o in this.$$p_d)
511
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
512
- const s = Le(
513
- o,
514
- this.$$d[o],
510
+ for (const s in this.$$p_d)
511
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
512
+ const o = Le(
513
+ s,
514
+ this.$$d[s],
515
515
  this.$$p_d,
516
516
  "toAttribute"
517
517
  );
518
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
518
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
519
519
  }
520
520
  this.$$r = !1;
521
521
  };
522
522
  this.$$c.$$.after_update.push(n), n();
523
- for (const o in this.$$l)
524
- for (const s of this.$$l[o]) {
525
- const a = this.$$c.$on(o, s);
526
- this.$$l_u.set(s, a);
523
+ for (const s in this.$$l)
524
+ for (const o of this.$$l[s]) {
525
+ const a = this.$$c.$on(s, o);
526
+ this.$$l_u.set(o, a);
527
527
  }
528
528
  this.$$l = {};
529
529
  }
@@ -547,8 +547,8 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
547
547
  }
548
548
  });
549
549
  function Le(e, t, r, i) {
550
- var o;
551
- const n = (o = r[e]) == null ? void 0 : o.type;
550
+ var s;
551
+ const n = (s = r[e]) == null ? void 0 : s.type;
552
552
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
553
553
  return t;
554
554
  if (i === "toAttribute")
@@ -576,8 +576,8 @@ function Le(e, t, r, i) {
576
576
  return t;
577
577
  }
578
578
  }
579
- function yi(e, t, r, i, n, o) {
580
- let s = class extends Kt {
579
+ function fi(e, t, r, i, n, s) {
580
+ let o = class extends Qt {
581
581
  constructor() {
582
582
  super(e, r, n), this.$$p_d = t;
583
583
  }
@@ -588,7 +588,7 @@ function yi(e, t, r, i, n, o) {
588
588
  }
589
589
  };
590
590
  return Object.keys(t).forEach((a) => {
591
- Object.defineProperty(s.prototype, a, {
591
+ Object.defineProperty(o.prototype, a, {
592
592
  get() {
593
593
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
594
594
  },
@@ -598,16 +598,16 @@ function yi(e, t, r, i, n, o) {
598
598
  }
599
599
  });
600
600
  }), i.forEach((a) => {
601
- Object.defineProperty(s.prototype, a, {
601
+ Object.defineProperty(o.prototype, a, {
602
602
  get() {
603
603
  var l;
604
604
  return (l = this.$$c) == null ? void 0 : l[a];
605
605
  }
606
606
  });
607
607
  }), e.element = /** @type {any} */
608
- s, s;
608
+ o, o;
609
609
  }
610
- class gi {
610
+ class mi {
611
611
  constructor() {
612
612
  /**
613
613
  * ### PRIVATE API
@@ -616,7 +616,7 @@ class gi {
616
616
  *
617
617
  * @type {any}
618
618
  */
619
- O(this, "$$");
619
+ I(this, "$$");
620
620
  /**
621
621
  * ### PRIVATE API
622
622
  *
@@ -624,11 +624,11 @@ class gi {
624
624
  *
625
625
  * @type {any}
626
626
  */
627
- O(this, "$$set");
627
+ I(this, "$$set");
628
628
  }
629
629
  /** @returns {void} */
630
630
  $destroy() {
631
- mi(this, 1), this.$destroy = B;
631
+ li(this, 1), this.$destroy = O;
632
632
  }
633
633
  /**
634
634
  * @template {Extract<keyof Events, string>} K
@@ -637,8 +637,8 @@ class gi {
637
637
  * @returns {() => void}
638
638
  */
639
639
  $on(t, r) {
640
- if (!dt(r))
641
- return B;
640
+ if (!ht(r))
641
+ return O;
642
642
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
643
643
  return i.push(r), () => {
644
644
  const n = i.indexOf(r);
@@ -650,11 +650,11 @@ class gi {
650
650
  * @returns {void}
651
651
  */
652
652
  $set(t) {
653
- this.$$set && !Yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
653
+ this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
654
654
  }
655
655
  }
656
- const bi = "4";
657
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bi);
656
+ const di = "4";
657
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
658
658
  /*! *****************************************************************************
659
659
  Copyright (c) Microsoft Corporation.
660
660
 
@@ -669,24 +669,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
669
669
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
670
670
  PERFORMANCE OF THIS SOFTWARE.
671
671
  ***************************************************************************** */
672
- var et = function(e, t) {
673
- return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
672
+ var Je = function(e, t) {
673
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
674
674
  r.__proto__ = i;
675
675
  } || function(r, i) {
676
676
  for (var n in i)
677
677
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
678
- }, et(e, t);
678
+ }, Je(e, t);
679
679
  };
680
- function me(e, t) {
680
+ function j(e, t) {
681
681
  if (typeof t != "function" && t !== null)
682
682
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
683
- et(e, t);
683
+ Je(e, t);
684
684
  function r() {
685
685
  this.constructor = e;
686
686
  }
687
687
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
688
688
  }
689
- function tt(e) {
689
+ var E = function() {
690
+ return E = Object.assign || function(t) {
691
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
692
+ r = arguments[i];
693
+ for (var s in r)
694
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
695
+ }
696
+ return t;
697
+ }, E.apply(this, arguments);
698
+ };
699
+ function pi(e, t) {
700
+ var r = {};
701
+ for (var i in e)
702
+ Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
703
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
704
+ for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
705
+ t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
706
+ return r;
707
+ }
708
+ function qe(e) {
690
709
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
691
710
  if (r)
692
711
  return r.call(e);
@@ -698,42 +717,42 @@ function tt(e) {
698
717
  };
699
718
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
700
719
  }
701
- function rt(e, t) {
720
+ function Ke(e, t) {
702
721
  var r = typeof Symbol == "function" && e[Symbol.iterator];
703
722
  if (!r)
704
723
  return e;
705
- var i = r.call(e), n, o = [], s;
724
+ var i = r.call(e), n, s = [], o;
706
725
  try {
707
726
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
708
- o.push(n.value);
727
+ s.push(n.value);
709
728
  } catch (a) {
710
- s = { error: a };
729
+ o = { error: a };
711
730
  } finally {
712
731
  try {
713
732
  n && !n.done && (r = i.return) && r.call(i);
714
733
  } finally {
715
- if (s)
716
- throw s.error;
734
+ if (o)
735
+ throw o.error;
717
736
  }
718
737
  }
719
- return o;
738
+ return s;
720
739
  }
721
- function it(e, t, r) {
722
- if (arguments.length === 2)
723
- for (var i = 0, n = t.length, o; i < n; i++)
724
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
725
- return e.concat(o || t);
740
+ function K(e, t, r) {
741
+ if (r || arguments.length === 2)
742
+ for (var i = 0, n = t.length, s; i < n; i++)
743
+ (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
744
+ return e.concat(s || t);
726
745
  }
727
- function F(e) {
746
+ function G(e) {
728
747
  return typeof e == "function";
729
748
  }
730
- function er(e) {
749
+ function Yt(e) {
731
750
  var t = function(i) {
732
751
  Error.call(i), i.stack = new Error().stack;
733
752
  }, r = e(t);
734
753
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
735
754
  }
736
- var ke = er(function(e) {
755
+ var Fe = Yt(function(e) {
737
756
  return function(r) {
738
757
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
739
758
  ` + r.map(function(i, n) {
@@ -742,7 +761,7 @@ var ke = er(function(e) {
742
761
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
743
762
  };
744
763
  });
745
- function nt(e, t) {
764
+ function et(e, t) {
746
765
  if (e) {
747
766
  var r = e.indexOf(t);
748
767
  0 <= r && e.splice(r, 1);
@@ -753,19 +772,19 @@ var Be = function() {
753
772
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
754
773
  }
755
774
  return e.prototype.unsubscribe = function() {
756
- var t, r, i, n, o;
775
+ var t, r, i, n, s;
757
776
  if (!this.closed) {
758
777
  this.closed = !0;
759
- var s = this._parentage;
760
- if (s)
761
- if (this._parentage = null, Array.isArray(s))
778
+ var o = this._parentage;
779
+ if (o)
780
+ if (this._parentage = null, Array.isArray(o))
762
781
  try {
763
- for (var a = tt(s), l = a.next(); !l.done; l = a.next()) {
782
+ for (var a = qe(o), l = a.next(); !l.done; l = a.next()) {
764
783
  var u = l.value;
765
784
  u.remove(this);
766
785
  }
767
- } catch (d) {
768
- t = { error: d };
786
+ } catch (p) {
787
+ t = { error: p };
769
788
  } finally {
770
789
  try {
771
790
  l && !l.done && (r = a.return) && r.call(a);
@@ -775,45 +794,45 @@ var Be = function() {
775
794
  }
776
795
  }
777
796
  else
778
- s.remove(this);
797
+ o.remove(this);
779
798
  var h = this.initialTeardown;
780
- if (F(h))
799
+ if (G(h))
781
800
  try {
782
801
  h();
783
- } catch (d) {
784
- o = d instanceof ke ? d.errors : [d];
802
+ } catch (p) {
803
+ s = p instanceof Fe ? p.errors : [p];
785
804
  }
786
805
  var c = this._finalizers;
787
806
  if (c) {
788
807
  this._finalizers = null;
789
808
  try {
790
- for (var f = tt(c), p = f.next(); !p.done; p = f.next()) {
791
- var y = p.value;
809
+ for (var f = qe(c), d = f.next(); !d.done; d = f.next()) {
810
+ var y = d.value;
792
811
  try {
793
- wt(y);
794
- } catch (d) {
795
- o = o != null ? o : [], d instanceof ke ? o = it(it([], rt(o)), rt(d.errors)) : o.push(d);
812
+ xt(y);
813
+ } catch (p) {
814
+ s = s != null ? s : [], p instanceof Fe ? s = K(K([], Ke(s)), Ke(p.errors)) : s.push(p);
796
815
  }
797
816
  }
798
- } catch (d) {
799
- i = { error: d };
817
+ } catch (p) {
818
+ i = { error: p };
800
819
  } finally {
801
820
  try {
802
- p && !p.done && (n = f.return) && n.call(f);
821
+ d && !d.done && (n = f.return) && n.call(f);
803
822
  } finally {
804
823
  if (i)
805
824
  throw i.error;
806
825
  }
807
826
  }
808
827
  }
809
- if (o)
810
- throw new ke(o);
828
+ if (s)
829
+ throw new Fe(s);
811
830
  }
812
831
  }, e.prototype.add = function(t) {
813
832
  var r;
814
833
  if (t && t !== this)
815
834
  if (this.closed)
816
- wt(t);
835
+ xt(t);
817
836
  else {
818
837
  if (t instanceof e) {
819
838
  if (t.closed || t._hasParent(this))
@@ -830,52 +849,56 @@ var Be = function() {
830
849
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
831
850
  }, e.prototype._removeParent = function(t) {
832
851
  var r = this._parentage;
833
- r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
852
+ r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
834
853
  }, e.prototype.remove = function(t) {
835
854
  var r = this._finalizers;
836
- r && nt(r, t), t instanceof e && t._removeParent(this);
855
+ r && et(r, t), t instanceof e && t._removeParent(this);
837
856
  }, e.EMPTY = function() {
838
857
  var t = new e();
839
858
  return t.closed = !0, t;
840
859
  }(), e;
841
- }(), tr = Be.EMPTY;
842
- function rr(e) {
843
- return e instanceof Be || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
844
- }
845
- function wt(e) {
846
- F(e) ? e() : e.unsubscribe();
847
- }
848
- var vi = {
849
- Promise: void 0
850
- }, _i = {
860
+ }(), Jt = Be.EMPTY;
861
+ function qt(e) {
862
+ return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
863
+ }
864
+ function xt(e) {
865
+ G(e) ? e() : e.unsubscribe();
866
+ }
867
+ var yi = {
868
+ onUnhandledError: null,
869
+ onStoppedNotification: null,
870
+ Promise: void 0,
871
+ useDeprecatedSynchronousErrorHandling: !1,
872
+ useDeprecatedNextContext: !1
873
+ }, gi = {
851
874
  setTimeout: function(e, t) {
852
875
  for (var r = [], i = 2; i < arguments.length; i++)
853
876
  r[i - 2] = arguments[i];
854
- return setTimeout.apply(void 0, it([e, t], rt(r)));
877
+ return setTimeout.apply(void 0, K([e, t], Ke(r)));
855
878
  },
856
879
  clearTimeout: function(e) {
857
880
  return clearTimeout(e);
858
881
  },
859
882
  delegate: void 0
860
883
  };
861
- function Ei(e) {
862
- _i.setTimeout(function() {
884
+ function bi(e) {
885
+ gi.setTimeout(function() {
863
886
  throw e;
864
887
  });
865
888
  }
866
- function At() {
889
+ function Tt() {
867
890
  }
868
891
  function Se(e) {
869
892
  e();
870
893
  }
871
- var ir = function(e) {
872
- me(t, e);
894
+ var Kt = function(e) {
895
+ j(t, e);
873
896
  function t(r) {
874
897
  var i = e.call(this) || this;
875
- return i.isStopped = !1, r ? (i.destination = r, rr(r) && r.add(i)) : i.destination = Li, i;
898
+ return i.isStopped = !1, r ? (i.destination = r, qt(r) && r.add(i)) : i.destination = Ei, i;
876
899
  }
877
900
  return t.create = function(r, i, n) {
878
- return new ot(r, i, n);
901
+ return new tt(r, i, n);
879
902
  }, t.prototype.next = function(r) {
880
903
  this.isStopped || this._next(r);
881
904
  }, t.prototype.error = function(r) {
@@ -899,7 +922,7 @@ var ir = function(e) {
899
922
  this.unsubscribe();
900
923
  }
901
924
  }, t;
902
- }(Be), xi = function() {
925
+ }(Be), vi = function() {
903
926
  function e(t) {
904
927
  this.partialObserver = t;
905
928
  }
@@ -930,43 +953,43 @@ var ir = function(e) {
930
953
  _e(r);
931
954
  }
932
955
  }, e;
933
- }(), ot = function(e) {
934
- me(t, e);
956
+ }(), tt = function(e) {
957
+ j(t, e);
935
958
  function t(r, i, n) {
936
- var o = e.call(this) || this, s;
937
- return F(r) || !r ? s = {
959
+ var s = e.call(this) || this, o;
960
+ return G(r) || !r ? o = {
938
961
  next: r != null ? r : void 0,
939
962
  error: i != null ? i : void 0,
940
963
  complete: n != null ? n : void 0
941
- } : s = r, o.destination = new xi(s), o;
964
+ } : o = r, s.destination = new vi(o), s;
942
965
  }
943
966
  return t;
944
- }(ir);
967
+ }(Kt);
945
968
  function _e(e) {
946
- Ei(e);
969
+ bi(e);
947
970
  }
948
- function Ti(e) {
971
+ function _i(e) {
949
972
  throw e;
950
973
  }
951
- var Li = {
974
+ var Ei = {
952
975
  closed: !0,
953
- next: At,
954
- error: Ti,
955
- complete: At
956
- }, Si = function() {
976
+ next: Tt,
977
+ error: _i,
978
+ complete: Tt
979
+ }, xi = function() {
957
980
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
958
981
  }();
959
- function wi(e) {
982
+ function Ti(e) {
960
983
  return e;
961
984
  }
962
- function Ai(e) {
963
- return e.length === 0 ? wi : e.length === 1 ? e[0] : function(r) {
985
+ function Li(e) {
986
+ return e.length === 0 ? Ti : e.length === 1 ? e[0] : function(r) {
964
987
  return e.reduce(function(i, n) {
965
988
  return n(i);
966
989
  }, r);
967
990
  };
968
991
  }
969
- var Pt = function() {
992
+ var Lt = function() {
970
993
  function e(t) {
971
994
  t && (this._subscribe = t);
972
995
  }
@@ -974,11 +997,11 @@ var Pt = function() {
974
997
  var r = new e();
975
998
  return r.source = this, r.operator = t, r;
976
999
  }, e.prototype.subscribe = function(t, r, i) {
977
- var n = this, o = Hi(t) ? t : new ot(t, r, i);
1000
+ var n = this, s = wi(t) ? t : new tt(t, r, i);
978
1001
  return Se(function() {
979
- var s = n, a = s.operator, l = s.source;
980
- o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
981
- }), o;
1002
+ var o = n, a = o.operator, l = o.source;
1003
+ s.add(a ? a.call(s, l) : l ? n._subscribe(s) : n._trySubscribe(s));
1004
+ }), s;
982
1005
  }, e.prototype._trySubscribe = function(t) {
983
1006
  try {
984
1007
  return this._subscribe(t);
@@ -987,79 +1010,79 @@ var Pt = function() {
987
1010
  }
988
1011
  }, e.prototype.forEach = function(t, r) {
989
1012
  var i = this;
990
- return r = Ht(r), new r(function(n, o) {
991
- var s = new ot({
1013
+ return r = St(r), new r(function(n, s) {
1014
+ var o = new tt({
992
1015
  next: function(a) {
993
1016
  try {
994
1017
  t(a);
995
1018
  } catch (l) {
996
- o(l), s.unsubscribe();
1019
+ s(l), o.unsubscribe();
997
1020
  }
998
1021
  },
999
- error: o,
1022
+ error: s,
1000
1023
  complete: n
1001
1024
  });
1002
- i.subscribe(s);
1025
+ i.subscribe(o);
1003
1026
  });
1004
1027
  }, e.prototype._subscribe = function(t) {
1005
1028
  var r;
1006
1029
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1007
- }, e.prototype[Si] = function() {
1030
+ }, e.prototype[xi] = function() {
1008
1031
  return this;
1009
1032
  }, e.prototype.pipe = function() {
1010
1033
  for (var t = [], r = 0; r < arguments.length; r++)
1011
1034
  t[r] = arguments[r];
1012
- return Ai(t)(this);
1035
+ return Li(t)(this);
1013
1036
  }, e.prototype.toPromise = function(t) {
1014
1037
  var r = this;
1015
- return t = Ht(t), new t(function(i, n) {
1016
- var o;
1017
- r.subscribe(function(s) {
1018
- return o = s;
1019
- }, function(s) {
1020
- return n(s);
1038
+ return t = St(t), new t(function(i, n) {
1039
+ var s;
1040
+ r.subscribe(function(o) {
1041
+ return s = o;
1042
+ }, function(o) {
1043
+ return n(o);
1021
1044
  }, function() {
1022
- return i(o);
1045
+ return i(s);
1023
1046
  });
1024
1047
  });
1025
1048
  }, e.create = function(t) {
1026
1049
  return new e(t);
1027
1050
  }, e;
1028
1051
  }();
1029
- function Ht(e) {
1052
+ function St(e) {
1030
1053
  var t;
1031
- return (t = e != null ? e : vi.Promise) !== null && t !== void 0 ? t : Promise;
1054
+ return (t = e != null ? e : yi.Promise) !== null && t !== void 0 ? t : Promise;
1032
1055
  }
1033
- function Pi(e) {
1034
- return e && F(e.next) && F(e.error) && F(e.complete);
1056
+ function Si(e) {
1057
+ return e && G(e.next) && G(e.error) && G(e.complete);
1035
1058
  }
1036
- function Hi(e) {
1037
- return e && e instanceof ir || Pi(e) && rr(e);
1059
+ function wi(e) {
1060
+ return e && e instanceof Kt || Si(e) && qt(e);
1038
1061
  }
1039
- var Oi = er(function(e) {
1062
+ var Ai = Yt(function(e) {
1040
1063
  return function() {
1041
1064
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1042
1065
  };
1043
- }), nr = function(e) {
1044
- me(t, e);
1066
+ }), er = function(e) {
1067
+ j(t, e);
1045
1068
  function t() {
1046
1069
  var r = e.call(this) || this;
1047
1070
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1048
1071
  }
1049
1072
  return t.prototype.lift = function(r) {
1050
- var i = new Ot(this, this);
1073
+ var i = new wt(this, this);
1051
1074
  return i.operator = r, i;
1052
1075
  }, t.prototype._throwIfClosed = function() {
1053
1076
  if (this.closed)
1054
- throw new Oi();
1077
+ throw new Ai();
1055
1078
  }, t.prototype.next = function(r) {
1056
1079
  var i = this;
1057
1080
  Se(function() {
1058
- var n, o;
1081
+ var n, s;
1059
1082
  if (i._throwIfClosed(), !i.isStopped) {
1060
1083
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
1061
1084
  try {
1062
- for (var s = tt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
1085
+ for (var o = qe(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
1063
1086
  var l = a.value;
1064
1087
  l.next(r);
1065
1088
  }
@@ -1067,7 +1090,7 @@ var Oi = er(function(e) {
1067
1090
  n = { error: u };
1068
1091
  } finally {
1069
1092
  try {
1070
- a && !a.done && (o = s.return) && o.call(s);
1093
+ a && !a.done && (s = o.return) && s.call(o);
1071
1094
  } finally {
1072
1095
  if (n)
1073
1096
  throw n.error;
@@ -1107,21 +1130,21 @@ var Oi = er(function(e) {
1107
1130
  }, t.prototype._subscribe = function(r) {
1108
1131
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1109
1132
  }, t.prototype._innerSubscribe = function(r) {
1110
- var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
1111
- return o || s ? tr : (this.currentObservers = null, a.push(r), new Be(function() {
1112
- i.currentObservers = null, nt(a, r);
1133
+ var i = this, n = this, s = n.hasError, o = n.isStopped, a = n.observers;
1134
+ return s || o ? Jt : (this.currentObservers = null, a.push(r), new Be(function() {
1135
+ i.currentObservers = null, et(a, r);
1113
1136
  }));
1114
1137
  }, t.prototype._checkFinalizedStatuses = function(r) {
1115
- var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
1116
- n ? r.error(o) : s && r.complete();
1138
+ var i = this, n = i.hasError, s = i.thrownError, o = i.isStopped;
1139
+ n ? r.error(s) : o && r.complete();
1117
1140
  }, t.prototype.asObservable = function() {
1118
- var r = new Pt();
1141
+ var r = new Lt();
1119
1142
  return r.source = this, r;
1120
1143
  }, t.create = function(r, i) {
1121
- return new Ot(r, i);
1144
+ return new wt(r, i);
1122
1145
  }, t;
1123
- }(Pt), Ot = function(e) {
1124
- me(t, e);
1146
+ }(Lt), wt = function(e) {
1147
+ j(t, e);
1125
1148
  function t(r, i) {
1126
1149
  var n = e.call(this) || this;
1127
1150
  return n.destination = r, n.source = i, n;
@@ -1137,54 +1160,54 @@ var Oi = er(function(e) {
1137
1160
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1138
1161
  }, t.prototype._subscribe = function(r) {
1139
1162
  var i, n;
1140
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : tr;
1163
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Jt;
1141
1164
  }, t;
1142
- }(nr), or = {
1165
+ }(er), tr = {
1143
1166
  now: function() {
1144
- return (or.delegate || Date).now();
1167
+ return (tr.delegate || Date).now();
1145
1168
  },
1146
1169
  delegate: void 0
1147
- }, Ii = function(e) {
1148
- me(t, e);
1170
+ }, Pi = function(e) {
1171
+ j(t, e);
1149
1172
  function t(r, i, n) {
1150
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = or);
1151
- var o = e.call(this) || this;
1152
- 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;
1173
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = tr);
1174
+ var s = e.call(this) || this;
1175
+ return s._bufferSize = r, s._windowTime = i, s._timestampProvider = n, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = i === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, i), s;
1153
1176
  }
1154
1177
  return t.prototype.next = function(r) {
1155
- var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
1156
- n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1178
+ var i = this, n = i.isStopped, s = i._buffer, o = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
1179
+ n || (s.push(r), !o && s.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1157
1180
  }, t.prototype._subscribe = function(r) {
1158
1181
  this._throwIfClosed(), this._trimBuffer();
1159
- for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1182
+ for (var i = this._innerSubscribe(r), n = this, s = n._infiniteTimeWindow, o = n._buffer, a = o.slice(), l = 0; l < a.length && !r.closed; l += s ? 1 : 2)
1160
1183
  r.next(a[l]);
1161
1184
  return this._checkFinalizedStatuses(r), i;
1162
1185
  }, t.prototype._trimBuffer = function() {
1163
- var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
1164
- if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1165
- for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1186
+ var r = this, i = r._bufferSize, n = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * i;
1187
+ if (i < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1188
+ for (var l = n.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1166
1189
  u = h;
1167
- u && o.splice(0, u + 1);
1190
+ u && s.splice(0, u + 1);
1168
1191
  }
1169
1192
  }, t;
1170
- }(nr);
1171
- const It = [], Bt = {}, Bi = (e, t = 0) => {
1172
- if (It.indexOf(e) == -1) {
1173
- const r = new Ii(t);
1174
- Bt[e] = r, It.push(e);
1193
+ }(er);
1194
+ const At = [], Pt = {}, Hi = (e, t = 0) => {
1195
+ if (At.indexOf(e) == -1) {
1196
+ const r = new Pi(t);
1197
+ Pt[e] = r, At.push(e);
1175
1198
  }
1176
- return Bt[e];
1199
+ return Pt[e];
1177
1200
  }, Y = [];
1178
- function Ci(e, t) {
1201
+ function Ii(e, t) {
1179
1202
  return {
1180
- subscribe: Ce(e, t).subscribe
1203
+ subscribe: Oe(e, t).subscribe
1181
1204
  };
1182
1205
  }
1183
- function Ce(e, t = B) {
1206
+ function Oe(e, t = O) {
1184
1207
  let r;
1185
1208
  const i = /* @__PURE__ */ new Set();
1186
1209
  function n(a) {
1187
- if (Yt(e, a) && (e = a, r)) {
1210
+ if (Xt(e, a) && (e = a, r)) {
1188
1211
  const l = !Y.length;
1189
1212
  for (const u of i)
1190
1213
  u[1](), Y.push(u, e);
@@ -1195,195 +1218,156 @@ function Ce(e, t = B) {
1195
1218
  }
1196
1219
  }
1197
1220
  }
1198
- function o(a) {
1221
+ function s(a) {
1199
1222
  n(a(e));
1200
1223
  }
1201
- function s(a, l = B) {
1224
+ function o(a, l = O) {
1202
1225
  const u = [a, l];
1203
- return i.add(u), i.size === 1 && (r = t(n, o) || B), a(e), () => {
1226
+ return i.add(u), i.size === 1 && (r = t(n, s) || O), a(e), () => {
1204
1227
  i.delete(u), i.size === 0 && r && (r(), r = null);
1205
1228
  };
1206
1229
  }
1207
- return { set: n, update: o, subscribe: s };
1230
+ return { set: n, update: s, subscribe: o };
1208
1231
  }
1209
- function ne(e, t, r) {
1232
+ function se(e, t, r) {
1210
1233
  const i = !Array.isArray(e), n = i ? [e] : e;
1211
1234
  if (!n.every(Boolean))
1212
1235
  throw new Error("derived() expects stores as input, got a falsy value");
1213
- const o = t.length < 2;
1214
- return Ci(r, (s, a) => {
1236
+ const s = t.length < 2;
1237
+ return Ii(r, (o, a) => {
1215
1238
  let l = !1;
1216
1239
  const u = [];
1217
- let h = 0, c = B;
1240
+ let h = 0, c = O;
1218
1241
  const f = () => {
1219
1242
  if (h)
1220
1243
  return;
1221
1244
  c();
1222
- const y = t(i ? u[0] : u, s, a);
1223
- o ? s(y) : c = dt(y) ? y : B;
1224
- }, p = n.map(
1225
- (y, d) => Jt(
1245
+ const y = t(i ? u[0] : u, o, a);
1246
+ s ? o(y) : c = ht(y) ? y : O;
1247
+ }, d = n.map(
1248
+ (y, p) => zt(
1226
1249
  y,
1227
1250
  (v) => {
1228
- u[d] = v, h &= ~(1 << d), l && f();
1251
+ u[p] = v, h &= ~(1 << p), l && f();
1229
1252
  },
1230
1253
  () => {
1231
- h |= 1 << d;
1254
+ h |= 1 << p;
1232
1255
  }
1233
1256
  )
1234
1257
  );
1235
1258
  return l = !0, f(), function() {
1236
- ie(p), c(), l = !1;
1259
+ ne(d), c(), l = !1;
1237
1260
  };
1238
1261
  });
1239
1262
  }
1240
- function Ni(e) {
1241
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1263
+ function Bi(e) {
1264
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1242
1265
  }
1243
- var Mi = function(t) {
1244
- return Ri(t) && !Di(t);
1266
+ var Oi = function(t) {
1267
+ return Ci(t) && !Ni(t);
1245
1268
  };
1246
- function Ri(e) {
1269
+ function Ci(e) {
1247
1270
  return !!e && typeof e == "object";
1248
1271
  }
1249
- function Di(e) {
1272
+ function Ni(e) {
1250
1273
  var t = Object.prototype.toString.call(e);
1251
- return t === "[object RegExp]" || t === "[object Date]" || Gi(e);
1274
+ return t === "[object RegExp]" || t === "[object Date]" || Di(e);
1252
1275
  }
1253
- var Ui = typeof Symbol == "function" && Symbol.for, $i = Ui ? Symbol.for("react.element") : 60103;
1254
- function Gi(e) {
1255
- return e.$$typeof === $i;
1276
+ var Mi = typeof Symbol == "function" && Symbol.for, Ri = Mi ? Symbol.for("react.element") : 60103;
1277
+ function Di(e) {
1278
+ return e.$$typeof === Ri;
1256
1279
  }
1257
- function Fi(e) {
1280
+ function Ui(e) {
1258
1281
  return Array.isArray(e) ? [] : {};
1259
1282
  }
1260
- function ce(e, t) {
1261
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Fi(e), e, t) : e;
1283
+ function fe(e, t) {
1284
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Ui(e), e, t) : e;
1262
1285
  }
1263
- function ji(e, t, r) {
1286
+ function $i(e, t, r) {
1264
1287
  return e.concat(t).map(function(i) {
1265
- return ce(i, r);
1288
+ return fe(i, r);
1266
1289
  });
1267
1290
  }
1268
- function ki(e, t) {
1291
+ function Gi(e, t) {
1269
1292
  if (!t.customMerge)
1270
- return K;
1293
+ return ee;
1271
1294
  var r = t.customMerge(e);
1272
- return typeof r == "function" ? r : K;
1295
+ return typeof r == "function" ? r : ee;
1273
1296
  }
1274
- function Vi(e) {
1297
+ function Fi(e) {
1275
1298
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1276
1299
  return Object.propertyIsEnumerable.call(e, t);
1277
1300
  }) : [];
1278
1301
  }
1279
- function Ct(e) {
1280
- return Object.keys(e).concat(Vi(e));
1302
+ function Ht(e) {
1303
+ return Object.keys(e).concat(Fi(e));
1281
1304
  }
1282
- function sr(e, t) {
1305
+ function rr(e, t) {
1283
1306
  try {
1284
1307
  return t in e;
1285
1308
  } catch (r) {
1286
1309
  return !1;
1287
1310
  }
1288
1311
  }
1289
- function Wi(e, t) {
1290
- return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1312
+ function ji(e, t) {
1313
+ return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1291
1314
  }
1292
- function Xi(e, t, r) {
1315
+ function ki(e, t, r) {
1293
1316
  var i = {};
1294
- return r.isMergeableObject(e) && Ct(e).forEach(function(n) {
1295
- i[n] = ce(e[n], r);
1296
- }), Ct(t).forEach(function(n) {
1297
- Wi(e, n) || (sr(e, n) && r.isMergeableObject(t[n]) ? i[n] = ki(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1317
+ return r.isMergeableObject(e) && Ht(e).forEach(function(n) {
1318
+ i[n] = fe(e[n], r);
1319
+ }), Ht(t).forEach(function(n) {
1320
+ ji(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Gi(n, r)(e[n], t[n], r) : i[n] = fe(t[n], r));
1298
1321
  }), i;
1299
1322
  }
1300
- function K(e, t, r) {
1301
- r = r || {}, r.arrayMerge = r.arrayMerge || ji, r.isMergeableObject = r.isMergeableObject || Mi, r.cloneUnlessOtherwiseSpecified = ce;
1302
- var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1303
- return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) : ce(t, r);
1323
+ function ee(e, t, r) {
1324
+ r = r || {}, r.arrayMerge = r.arrayMerge || $i, r.isMergeableObject = r.isMergeableObject || Oi, r.cloneUnlessOtherwiseSpecified = fe;
1325
+ var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
1326
+ return s ? i ? r.arrayMerge(e, t, r) : ki(e, t, r) : fe(t, r);
1304
1327
  }
1305
- K.all = function(t, r) {
1328
+ ee.all = function(t, r) {
1306
1329
  if (!Array.isArray(t))
1307
1330
  throw new Error("first argument should be an array");
1308
1331
  return t.reduce(function(i, n) {
1309
- return K(i, n, r);
1332
+ return ee(i, n, r);
1310
1333
  }, {});
1311
1334
  };
1312
- var zi = K, Zi = zi;
1313
- const Qi = /* @__PURE__ */ Ni(Zi);
1314
- var st = function(e, t) {
1315
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
1316
- r.__proto__ = i;
1317
- } || function(r, i) {
1318
- for (var n in i)
1319
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
1320
- }, st(e, t);
1321
- };
1322
- function Ne(e, t) {
1323
- if (typeof t != "function" && t !== null)
1324
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1325
- st(e, t);
1326
- function r() {
1327
- this.constructor = e;
1328
- }
1329
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1330
- }
1331
- var R = function() {
1332
- return R = Object.assign || function(t) {
1333
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1334
- r = arguments[i];
1335
- for (var o in r)
1336
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1337
- }
1338
- return t;
1339
- }, R.apply(this, arguments);
1340
- };
1341
- function Yi(e, t) {
1342
- var r = {};
1343
- for (var i in e)
1344
- Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
1345
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1346
- for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
1347
- t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
1348
- return r;
1349
- }
1350
- function Ve(e, t, r) {
1351
- if (r || arguments.length === 2)
1352
- for (var i = 0, n = t.length, o; i < n; i++)
1353
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
1354
- return e.concat(o || Array.prototype.slice.call(t));
1355
- }
1356
- function We(e, t) {
1357
- var r = t && t.cache ? t.cache : nn, i = t && t.serializer ? t.serializer : tn, n = t && t.strategy ? t.strategy : Ki;
1335
+ var Vi = ee, Wi = Vi;
1336
+ const Xi = /* @__PURE__ */ Bi(Wi);
1337
+ function je(e, t) {
1338
+ var r = t && t.cache ? t.cache : Ki, i = t && t.serializer ? t.serializer : Ji, n = t && t.strategy ? t.strategy : Zi;
1358
1339
  return n(e, {
1359
1340
  cache: r,
1360
1341
  serializer: i
1361
1342
  });
1362
1343
  }
1363
- function Ji(e) {
1344
+ function zi(e) {
1364
1345
  return e == null || typeof e == "number" || typeof e == "boolean";
1365
1346
  }
1366
- function qi(e, t, r, i) {
1367
- var n = Ji(i) ? i : r(i), o = t.get(n);
1368
- return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1347
+ function ir(e, t, r, i) {
1348
+ var n = zi(i) ? i : r(i), s = t.get(n);
1349
+ return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
1369
1350
  }
1370
- function ar(e, t, r) {
1371
- var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1372
- return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1351
+ function nr(e, t, r) {
1352
+ var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
1353
+ return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
1373
1354
  }
1374
- function ur(e, t, r, i, n) {
1355
+ function ct(e, t, r, i, n) {
1375
1356
  return r.bind(t, e, i, n);
1376
1357
  }
1377
- function Ki(e, t) {
1378
- var r = e.length === 1 ? qi : ar;
1379
- return ur(e, this, r, t.cache.create(), t.serializer);
1358
+ function Zi(e, t) {
1359
+ var r = e.length === 1 ? ir : nr;
1360
+ return ct(e, this, r, t.cache.create(), t.serializer);
1380
1361
  }
1381
- function en(e, t) {
1382
- return ur(e, this, ar, t.cache.create(), t.serializer);
1362
+ function Qi(e, t) {
1363
+ return ct(e, this, nr, t.cache.create(), t.serializer);
1383
1364
  }
1384
- var tn = function() {
1365
+ function Yi(e, t) {
1366
+ return ct(e, this, ir, t.cache.create(), t.serializer);
1367
+ }
1368
+ var Ji = function() {
1385
1369
  return JSON.stringify(arguments);
1386
- }, rn = (
1370
+ }, qi = (
1387
1371
  /** @class */
1388
1372
  function() {
1389
1373
  function e() {
@@ -1395,71 +1379,62 @@ var tn = function() {
1395
1379
  this.cache[t] = r;
1396
1380
  }, e;
1397
1381
  }()
1398
- ), nn = {
1382
+ ), Ki = {
1399
1383
  create: function() {
1400
- return new rn();
1384
+ return new qi();
1401
1385
  }
1402
- }, Xe = {
1403
- variadic: en
1404
- }, He = function() {
1405
- return He = Object.assign || function(t) {
1406
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1407
- r = arguments[i];
1408
- for (var o in r)
1409
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1410
- }
1411
- return t;
1412
- }, He.apply(this, arguments);
1413
- };
1414
- var b;
1386
+ }, ke = {
1387
+ variadic: Qi,
1388
+ monadic: Yi
1389
+ }, b;
1415
1390
  (function(e) {
1416
1391
  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";
1417
1392
  })(b || (b = {}));
1418
- var L;
1393
+ var S;
1419
1394
  (function(e) {
1420
1395
  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";
1421
- })(L || (L = {}));
1422
- var ee;
1396
+ })(S || (S = {}));
1397
+ var te;
1423
1398
  (function(e) {
1424
1399
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1425
- })(ee || (ee = {}));
1426
- function Nt(e) {
1427
- return e.type === L.literal;
1400
+ })(te || (te = {}));
1401
+ function It(e) {
1402
+ return e.type === S.literal;
1428
1403
  }
1429
- function on(e) {
1430
- return e.type === L.argument;
1404
+ function en(e) {
1405
+ return e.type === S.argument;
1431
1406
  }
1432
- function lr(e) {
1433
- return e.type === L.number;
1407
+ function sr(e) {
1408
+ return e.type === S.number;
1434
1409
  }
1435
- function hr(e) {
1436
- return e.type === L.date;
1410
+ function or(e) {
1411
+ return e.type === S.date;
1437
1412
  }
1438
- function cr(e) {
1439
- return e.type === L.time;
1413
+ function ar(e) {
1414
+ return e.type === S.time;
1440
1415
  }
1441
- function fr(e) {
1442
- return e.type === L.select;
1416
+ function ur(e) {
1417
+ return e.type === S.select;
1443
1418
  }
1444
- function mr(e) {
1445
- return e.type === L.plural;
1419
+ function lr(e) {
1420
+ return e.type === S.plural;
1446
1421
  }
1447
- function sn(e) {
1448
- return e.type === L.pound;
1422
+ function tn(e) {
1423
+ return e.type === S.pound;
1449
1424
  }
1450
- function pr(e) {
1451
- return e.type === L.tag;
1425
+ function hr(e) {
1426
+ return e.type === S.tag;
1452
1427
  }
1453
- function dr(e) {
1454
- return !!(e && typeof e == "object" && e.type === ee.number);
1428
+ function cr(e) {
1429
+ return !!(e && typeof e == "object" && e.type === te.number);
1455
1430
  }
1456
- function at(e) {
1457
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1431
+ function rt(e) {
1432
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
1458
1433
  }
1459
- var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
1460
- function un(e) {
1434
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[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;
1435
+ function nn(e) {
1461
1436
  var t = {};
1462
- return e.replace(an, function(r) {
1437
+ return e.replace(rn, function(r) {
1463
1438
  var i = r.length;
1464
1439
  switch (r[0]) {
1465
1440
  case "G":
@@ -1548,27 +1523,17 @@ function un(e) {
1548
1523
  return "";
1549
1524
  }), t;
1550
1525
  }
1551
- var w = function() {
1552
- return w = Object.assign || function(t) {
1553
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1554
- r = arguments[i];
1555
- for (var o in r)
1556
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1557
- }
1558
- return t;
1559
- }, w.apply(this, arguments);
1560
- };
1561
- var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1562
- function hn(e) {
1526
+ var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1527
+ function on(e) {
1563
1528
  if (e.length === 0)
1564
1529
  throw new Error("Number skeleton cannot be empty");
1565
- for (var t = e.split(ln).filter(function(f) {
1530
+ for (var t = e.split(sn).filter(function(f) {
1566
1531
  return f.length > 0;
1567
1532
  }), r = [], i = 0, n = t; i < n.length; i++) {
1568
- var o = n[i], s = o.split("/");
1569
- if (s.length === 0)
1533
+ var s = n[i], o = s.split("/");
1534
+ if (o.length === 0)
1570
1535
  throw new Error("Invalid number skeleton");
1571
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1536
+ for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
1572
1537
  var c = h[u];
1573
1538
  if (c.length === 0)
1574
1539
  throw new Error("Invalid number skeleton");
@@ -1577,17 +1542,17 @@ function hn(e) {
1577
1542
  }
1578
1543
  return r;
1579
1544
  }
1580
- function cn(e) {
1545
+ function an(e) {
1581
1546
  return e.replace(/^(.*?)-/, "");
1582
1547
  }
1583
- var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1584
- function Rt(e) {
1548
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1549
+ function Ot(e) {
1585
1550
  var t = {};
1586
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, i, n) {
1551
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, i, n) {
1587
1552
  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)), "";
1588
1553
  }), t;
1589
1554
  }
1590
- function vr(e) {
1555
+ function pr(e) {
1591
1556
  switch (e) {
1592
1557
  case "sign-auto":
1593
1558
  return {
@@ -1627,7 +1592,7 @@ function vr(e) {
1627
1592
  };
1628
1593
  }
1629
1594
  }
1630
- function mn(e) {
1595
+ function ln(e) {
1631
1596
  var t;
1632
1597
  if (e[0] === "E" && e[1] === "E" ? (t = {
1633
1598
  notation: "engineering"
@@ -1635,17 +1600,17 @@ function mn(e) {
1635
1600
  notation: "scientific"
1636
1601
  }, e = e.slice(1)), t) {
1637
1602
  var r = e.slice(0, 2);
1638
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
1603
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1639
1604
  throw new Error("Malformed concise eng/scientific notation");
1640
1605
  t.minimumIntegerDigits = e.length;
1641
1606
  }
1642
1607
  return t;
1643
1608
  }
1644
- function Dt(e) {
1645
- var t = {}, r = vr(e);
1609
+ function Ct(e) {
1610
+ var t = {}, r = pr(e);
1646
1611
  return r || t;
1647
1612
  }
1648
- function pn(e) {
1613
+ function hn(e) {
1649
1614
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1650
1615
  var n = i[r];
1651
1616
  switch (n.stem) {
@@ -1669,7 +1634,7 @@ function pn(e) {
1669
1634
  continue;
1670
1635
  case "measure-unit":
1671
1636
  case "unit":
1672
- t.style = "unit", t.unit = cn(n.options[0]);
1637
+ t.style = "unit", t.unit = an(n.options[0]);
1673
1638
  continue;
1674
1639
  case "compact-short":
1675
1640
  case "K":
@@ -1680,13 +1645,13 @@ function pn(e) {
1680
1645
  t.notation = "compact", t.compactDisplay = "long";
1681
1646
  continue;
1682
1647
  case "scientific":
1683
- t = w(w(w({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1684
- return w(w({}, l), Dt(u));
1648
+ t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1649
+ return E(E({}, l), Ct(u));
1685
1650
  }, {}));
1686
1651
  continue;
1687
1652
  case "engineering":
1688
- t = w(w(w({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1689
- return w(w({}, l), Dt(u));
1653
+ t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1654
+ return E(E({}, l), Ct(u));
1690
1655
  }, {}));
1691
1656
  continue;
1692
1657
  case "notation-simple":
@@ -1731,41 +1696,41 @@ function pn(e) {
1731
1696
  case "integer-width":
1732
1697
  if (n.options.length > 1)
1733
1698
  throw new RangeError("integer-width stems only accept a single optional option");
1734
- n.options[0].replace(fn, function(l, u, h, c, f, p) {
1699
+ n.options[0].replace(un, function(l, u, h, c, f, d) {
1735
1700
  if (u)
1736
1701
  t.minimumIntegerDigits = h.length;
1737
1702
  else {
1738
1703
  if (c && f)
1739
1704
  throw new Error("We currently do not support maximum integer digits");
1740
- if (p)
1705
+ if (d)
1741
1706
  throw new Error("We currently do not support exact integer digits");
1742
1707
  }
1743
1708
  return "";
1744
1709
  });
1745
1710
  continue;
1746
1711
  }
1747
- if (br.test(n.stem)) {
1712
+ if (dr.test(n.stem)) {
1748
1713
  t.minimumIntegerDigits = n.stem.length;
1749
1714
  continue;
1750
1715
  }
1751
- if (Mt.test(n.stem)) {
1716
+ if (Bt.test(n.stem)) {
1752
1717
  if (n.options.length > 1)
1753
1718
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1754
- n.stem.replace(Mt, function(l, u, h, c, f, p) {
1755
- return h === "*" ? 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), "";
1719
+ n.stem.replace(Bt, function(l, u, h, c, f, d) {
1720
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1756
1721
  });
1757
- var o = n.options[0];
1758
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Rt(o)));
1722
+ var s = n.options[0];
1723
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ot(s)));
1759
1724
  continue;
1760
1725
  }
1761
- if (gr.test(n.stem)) {
1762
- t = w(w({}, t), Rt(n.stem));
1726
+ if (mr.test(n.stem)) {
1727
+ t = E(E({}, t), Ot(n.stem));
1763
1728
  continue;
1764
1729
  }
1765
- var s = vr(n.stem);
1766
- s && (t = w(w({}, t), s));
1767
- var a = mn(n.stem);
1768
- a && (t = w(w({}, t), a));
1730
+ var o = pr(n.stem);
1731
+ o && (t = E(E({}, t), o));
1732
+ var a = ln(n.stem);
1733
+ a && (t = E(E({}, t), a));
1769
1734
  }
1770
1735
  return t;
1771
1736
  }
@@ -3184,23 +3149,23 @@ var Ee = {
3184
3149
  "h"
3185
3150
  ]
3186
3151
  };
3187
- function dn(e, t) {
3152
+ function cn(e, t) {
3188
3153
  for (var r = "", i = 0; i < e.length; i++) {
3189
3154
  var n = e.charAt(i);
3190
3155
  if (n === "j") {
3191
- for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3192
- o++, i++;
3193
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yn(t);
3156
+ for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3157
+ s++, i++;
3158
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = fn(t);
3194
3159
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3195
3160
  r += l;
3196
- for (; s-- > 0; )
3161
+ for (; o-- > 0; )
3197
3162
  r = u + r;
3198
3163
  } else
3199
3164
  n === "J" ? r += "H" : r += n;
3200
3165
  }
3201
3166
  return r;
3202
3167
  }
3203
- function yn(e) {
3168
+ function fn(e) {
3204
3169
  var t = e.hourCycle;
3205
3170
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3206
3171
  e.hourCycles && // @ts-ignore
@@ -3222,20 +3187,20 @@ function yn(e) {
3222
3187
  var n = Ee[i || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3223
3188
  return n[0];
3224
3189
  }
3225
- var ze, gn = new RegExp("^".concat(yr.source, "*")), bn = new RegExp("".concat(yr.source, "*$"));
3190
+ var Ve, mn = new RegExp("^".concat(fr.source, "*")), dn = new RegExp("".concat(fr.source, "*$"));
3226
3191
  function _(e, t) {
3227
3192
  return { start: e, end: t };
3228
3193
  }
3229
- var vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, En = !!Object.fromEntries, xn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, wn = Sn ? Number.isSafeInteger : function(e) {
3194
+ var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), yn = !!String.fromCodePoint, gn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, En = !!Number.isSafeInteger, xn = En ? Number.isSafeInteger : function(e) {
3230
3195
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3231
- }, ut = !0;
3196
+ }, it = !0;
3232
3197
  try {
3233
- var An = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3234
- ut = ((ze = An.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
3198
+ var Tn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3199
+ it = ((Ve = Tn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3235
3200
  } catch (e) {
3236
- ut = !1;
3201
+ it = !1;
3237
3202
  }
3238
- var Ut = vn ? (
3203
+ var Nt = pn ? (
3239
3204
  // Native
3240
3205
  function(t, r, i) {
3241
3206
  return t.startsWith(r, i);
@@ -3245,31 +3210,31 @@ var Ut = vn ? (
3245
3210
  function(t, r, i) {
3246
3211
  return t.slice(i, i + r.length) === r;
3247
3212
  }
3248
- ), lt = _n ? String.fromCodePoint : (
3213
+ ), nt = yn ? String.fromCodePoint : (
3249
3214
  // IE11
3250
3215
  function() {
3251
3216
  for (var t = [], r = 0; r < arguments.length; r++)
3252
3217
  t[r] = arguments[r];
3253
- for (var i = "", n = t.length, o = 0, s; n > o; ) {
3254
- if (s = t[o++], s > 1114111)
3255
- throw RangeError(s + " is not a valid code point");
3256
- i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3218
+ for (var i = "", n = t.length, s = 0, o; n > s; ) {
3219
+ if (o = t[s++], o > 1114111)
3220
+ throw RangeError(o + " is not a valid code point");
3221
+ i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3257
3222
  }
3258
3223
  return i;
3259
3224
  }
3260
- ), $t = (
3225
+ ), Mt = (
3261
3226
  // native
3262
- En ? Object.fromEntries : (
3227
+ gn ? Object.fromEntries : (
3263
3228
  // Ponyfill
3264
3229
  function(t) {
3265
3230
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3266
- var o = n[i], s = o[0], a = o[1];
3267
- r[s] = a;
3231
+ var s = n[i], o = s[0], a = s[1];
3232
+ r[o] = a;
3268
3233
  }
3269
3234
  return r;
3270
3235
  }
3271
3236
  )
3272
- ), _r = xn ? (
3237
+ ), yr = bn ? (
3273
3238
  // Native
3274
3239
  function(t, r) {
3275
3240
  return t.codePointAt(r);
@@ -3279,11 +3244,11 @@ var Ut = vn ? (
3279
3244
  function(t, r) {
3280
3245
  var i = t.length;
3281
3246
  if (!(r < 0 || r >= i)) {
3282
- var n = t.charCodeAt(r), o;
3283
- return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3247
+ var n = t.charCodeAt(r), s;
3248
+ return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
3284
3249
  }
3285
3250
  }
3286
- ), Pn = Tn ? (
3251
+ ), Ln = vn ? (
3287
3252
  // Native
3288
3253
  function(t) {
3289
3254
  return t.trimStart();
@@ -3291,9 +3256,9 @@ var Ut = vn ? (
3291
3256
  ) : (
3292
3257
  // Ponyfill
3293
3258
  function(t) {
3294
- return t.replace(gn, "");
3259
+ return t.replace(mn, "");
3295
3260
  }
3296
- ), Hn = Ln ? (
3261
+ ), Sn = _n ? (
3297
3262
  // Native
3298
3263
  function(t) {
3299
3264
  return t.trimEnd();
@@ -3301,32 +3266,32 @@ var Ut = vn ? (
3301
3266
  ) : (
3302
3267
  // Ponyfill
3303
3268
  function(t) {
3304
- return t.replace(bn, "");
3269
+ return t.replace(dn, "");
3305
3270
  }
3306
3271
  );
3307
- function Er(e, t) {
3272
+ function gr(e, t) {
3308
3273
  return new RegExp(e, t);
3309
3274
  }
3310
- var ht;
3311
- if (ut) {
3312
- var Gt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3313
- ht = function(t, r) {
3275
+ var st;
3276
+ if (it) {
3277
+ var Rt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3278
+ st = function(t, r) {
3314
3279
  var i;
3315
- Gt.lastIndex = r;
3316
- var n = Gt.exec(t);
3280
+ Rt.lastIndex = r;
3281
+ var n = Rt.exec(t);
3317
3282
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3318
3283
  };
3319
3284
  } else
3320
- ht = function(t, r) {
3285
+ st = function(t, r) {
3321
3286
  for (var i = []; ; ) {
3322
- var n = _r(t, r);
3323
- if (n === void 0 || xr(n) || Cn(n))
3287
+ var n = yr(t, r);
3288
+ if (n === void 0 || br(n) || Hn(n))
3324
3289
  break;
3325
3290
  i.push(n), r += n >= 65536 ? 2 : 1;
3326
3291
  }
3327
- return lt.apply(void 0, i);
3292
+ return nt.apply(void 0, i);
3328
3293
  };
3329
- var On = (
3294
+ var wn = (
3330
3295
  /** @class */
3331
3296
  function() {
3332
3297
  function e(t, r) {
@@ -3338,35 +3303,35 @@ var On = (
3338
3303
  return this.parseMessage(0, "", !1);
3339
3304
  }, e.prototype.parseMessage = function(t, r, i) {
3340
3305
  for (var n = []; !this.isEOF(); ) {
3341
- var o = this.char();
3342
- if (o === 123) {
3343
- var s = this.parseArgument(t, i);
3344
- if (s.err)
3345
- return s;
3346
- n.push(s.val);
3306
+ var s = this.char();
3307
+ if (s === 123) {
3308
+ var o = this.parseArgument(t, i);
3309
+ if (o.err)
3310
+ return o;
3311
+ n.push(o.val);
3347
3312
  } else {
3348
- if (o === 125 && t > 0)
3313
+ if (s === 125 && t > 0)
3349
3314
  break;
3350
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3315
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3351
3316
  var a = this.clonePosition();
3352
3317
  this.bump(), n.push({
3353
- type: L.pound,
3318
+ type: S.pound,
3354
3319
  location: _(a, this.clonePosition())
3355
3320
  });
3356
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3321
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3357
3322
  if (i)
3358
3323
  break;
3359
3324
  return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3360
- } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3361
- var s = this.parseTag(t, r);
3362
- if (s.err)
3363
- return s;
3364
- n.push(s.val);
3325
+ } else if (s === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3326
+ var o = this.parseTag(t, r);
3327
+ if (o.err)
3328
+ return o;
3329
+ n.push(o.val);
3365
3330
  } else {
3366
- var s = this.parseLiteral(t, r);
3367
- if (s.err)
3368
- return s;
3369
- n.push(s.val);
3331
+ var o = this.parseLiteral(t, r);
3332
+ if (o.err)
3333
+ return o;
3334
+ n.push(o.val);
3370
3335
  }
3371
3336
  }
3372
3337
  }
@@ -3378,26 +3343,26 @@ var On = (
3378
3343
  if (this.bumpSpace(), this.bumpIf("/>"))
3379
3344
  return {
3380
3345
  val: {
3381
- type: L.literal,
3346
+ type: S.literal,
3382
3347
  value: "<".concat(n, "/>"),
3383
3348
  location: _(i, this.clonePosition())
3384
3349
  },
3385
3350
  err: null
3386
3351
  };
3387
3352
  if (this.bumpIf(">")) {
3388
- var o = this.parseMessage(t + 1, r, !0);
3389
- if (o.err)
3390
- return o;
3391
- var s = o.val, a = this.clonePosition();
3353
+ var s = this.parseMessage(t + 1, r, !0);
3354
+ if (s.err)
3355
+ return s;
3356
+ var o = s.val, a = this.clonePosition();
3392
3357
  if (this.bumpIf("</")) {
3393
- if (this.isEOF() || !ct(this.char()))
3358
+ if (this.isEOF() || !ot(this.char()))
3394
3359
  return this.error(b.INVALID_TAG, _(a, this.clonePosition()));
3395
3360
  var l = this.clonePosition(), u = this.parseTagName();
3396
3361
  return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3397
3362
  val: {
3398
- type: L.tag,
3363
+ type: S.tag,
3399
3364
  value: n,
3400
- children: s,
3365
+ children: o,
3401
3366
  location: _(i, this.clonePosition())
3402
3367
  },
3403
3368
  err: null
@@ -3408,21 +3373,21 @@ var On = (
3408
3373
  return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
3409
3374
  }, e.prototype.parseTagName = function() {
3410
3375
  var t = this.offset();
3411
- for (this.bump(); !this.isEOF() && Bn(this.char()); )
3376
+ for (this.bump(); !this.isEOF() && Pn(this.char()); )
3412
3377
  this.bump();
3413
3378
  return this.message.slice(t, this.offset());
3414
3379
  }, e.prototype.parseLiteral = function(t, r) {
3415
3380
  for (var i = this.clonePosition(), n = ""; ; ) {
3416
- var o = this.tryParseQuote(r);
3417
- if (o) {
3418
- n += o;
3419
- continue;
3420
- }
3421
- var s = this.tryParseUnquoted(t, r);
3381
+ var s = this.tryParseQuote(r);
3422
3382
  if (s) {
3423
3383
  n += s;
3424
3384
  continue;
3425
3385
  }
3386
+ var o = this.tryParseUnquoted(t, r);
3387
+ if (o) {
3388
+ n += o;
3389
+ continue;
3390
+ }
3426
3391
  var a = this.tryParseLeftAngleBracket();
3427
3392
  if (a) {
3428
3393
  n += a;
@@ -3432,12 +3397,12 @@ var On = (
3432
3397
  }
3433
3398
  var l = _(i, this.clonePosition());
3434
3399
  return {
3435
- val: { type: L.literal, value: n, location: l },
3400
+ val: { type: S.literal, value: n, location: l },
3436
3401
  err: null
3437
3402
  };
3438
3403
  }, e.prototype.tryParseLeftAngleBracket = function() {
3439
3404
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3440
- !In(this.peek() || 0)) ? (this.bump(), "<") : null;
3405
+ !An(this.peek() || 0)) ? (this.bump(), "<") : null;
3441
3406
  }, e.prototype.tryParseQuote = function(t) {
3442
3407
  if (this.isEOF() || this.char() !== 39)
3443
3408
  return null;
@@ -3471,12 +3436,12 @@ var On = (
3471
3436
  r.push(i);
3472
3437
  this.bump();
3473
3438
  }
3474
- return lt.apply(void 0, r);
3439
+ return nt.apply(void 0, r);
3475
3440
  }, e.prototype.tryParseUnquoted = function(t, r) {
3476
3441
  if (this.isEOF())
3477
3442
  return null;
3478
3443
  var i = this.char();
3479
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), lt(i));
3444
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), nt(i));
3480
3445
  }, e.prototype.parseArgument = function(t, r) {
3481
3446
  var i = this.clonePosition();
3482
3447
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3492,7 +3457,7 @@ var On = (
3492
3457
  case 125:
3493
3458
  return this.bump(), {
3494
3459
  val: {
3495
- type: L.argument,
3460
+ type: S.argument,
3496
3461
  // value does not include the opening and closing braces.
3497
3462
  value: n,
3498
3463
  location: _(i, this.clonePosition())
@@ -3505,15 +3470,15 @@ var On = (
3505
3470
  return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3506
3471
  }
3507
3472
  }, e.prototype.parseIdentifierIfPossible = function() {
3508
- var t = this.clonePosition(), r = this.offset(), i = ht(this.message, r), n = r + i.length;
3473
+ var t = this.clonePosition(), r = this.offset(), i = st(this.message, r), n = r + i.length;
3509
3474
  this.bumpTo(n);
3510
- var o = this.clonePosition(), s = _(t, o);
3511
- return { value: i, location: s };
3475
+ var s = this.clonePosition(), o = _(t, s);
3476
+ return { value: i, location: o };
3512
3477
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3513
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3478
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3514
3479
  switch (a) {
3515
3480
  case "":
3516
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(s, l));
3481
+ return this.error(b.EXPECT_ARGUMENT_TYPE, _(o, l));
3517
3482
  case "number":
3518
3483
  case "date":
3519
3484
  case "time": {
@@ -3524,47 +3489,47 @@ var On = (
3524
3489
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3525
3490
  if (c.err)
3526
3491
  return c;
3527
- var f = Hn(c.val);
3492
+ var f = Sn(c.val);
3528
3493
  if (f.length === 0)
3529
3494
  return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3530
- var p = _(h, this.clonePosition());
3531
- u = { style: f, styleLocation: p };
3495
+ var d = _(h, this.clonePosition());
3496
+ u = { style: f, styleLocation: d };
3532
3497
  }
3533
3498
  var y = this.tryParseArgumentClose(n);
3534
3499
  if (y.err)
3535
3500
  return y;
3536
- var d = _(n, this.clonePosition());
3537
- if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
3538
- var v = Pn(u.style.slice(2));
3501
+ var p = _(n, this.clonePosition());
3502
+ if (u && Nt(u == null ? void 0 : u.style, "::", 0)) {
3503
+ var v = Ln(u.style.slice(2));
3539
3504
  if (a === "number") {
3540
3505
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3541
3506
  return c.err ? c : {
3542
- val: { type: L.number, value: i, location: d, style: c.val },
3507
+ val: { type: S.number, value: i, location: p, style: c.val },
3543
3508
  err: null
3544
3509
  };
3545
3510
  } else {
3546
3511
  if (v.length === 0)
3547
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3512
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3548
3513
  var H = v;
3549
- this.locale && (H = dn(v, this.locale));
3514
+ this.locale && (H = cn(v, this.locale));
3550
3515
  var f = {
3551
- type: ee.dateTime,
3516
+ type: te.dateTime,
3552
3517
  pattern: H,
3553
3518
  location: u.styleLocation,
3554
- parsedOptions: this.shouldParseSkeletons ? un(H) : {}
3555
- }, g = a === "date" ? L.date : L.time;
3519
+ parsedOptions: this.shouldParseSkeletons ? nn(H) : {}
3520
+ }, g = a === "date" ? S.date : S.time;
3556
3521
  return {
3557
- val: { type: g, value: i, location: d, style: f },
3522
+ val: { type: g, value: i, location: p, style: f },
3558
3523
  err: null
3559
3524
  };
3560
3525
  }
3561
3526
  }
3562
3527
  return {
3563
3528
  val: {
3564
- type: a === "number" ? L.number : a === "date" ? L.date : L.time,
3529
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3565
3530
  value: i,
3566
- location: d,
3567
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3531
+ location: p,
3532
+ style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3568
3533
  },
3569
3534
  err: null
3570
3535
  };
@@ -3572,40 +3537,40 @@ var On = (
3572
3537
  case "plural":
3573
3538
  case "selectordinal":
3574
3539
  case "select": {
3575
- var S = this.clonePosition();
3540
+ var w = this.clonePosition();
3576
3541
  if (this.bumpSpace(), !this.bumpIf(","))
3577
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, He({}, S)));
3542
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, E({}, w)));
3578
3543
  this.bumpSpace();
3579
- var U = this.parseIdentifierIfPossible(), M = 0;
3580
- if (a !== "select" && U.value === "offset") {
3544
+ var D = this.parseIdentifierIfPossible(), M = 0;
3545
+ if (a !== "select" && D.value === "offset") {
3581
3546
  if (!this.bumpIf(":"))
3582
3547
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3583
3548
  this.bumpSpace();
3584
3549
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3585
3550
  if (c.err)
3586
3551
  return c;
3587
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), M = c.val;
3552
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
3588
3553
  }
3589
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, U);
3590
- if ($.err)
3591
- return $;
3554
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, D);
3555
+ if (U.err)
3556
+ return U;
3592
3557
  var y = this.tryParseArgumentClose(n);
3593
3558
  if (y.err)
3594
3559
  return y;
3595
3560
  var X = _(n, this.clonePosition());
3596
3561
  return a === "select" ? {
3597
3562
  val: {
3598
- type: L.select,
3563
+ type: S.select,
3599
3564
  value: i,
3600
- options: $t($.val),
3565
+ options: Mt(U.val),
3601
3566
  location: X
3602
3567
  },
3603
3568
  err: null
3604
3569
  } : {
3605
3570
  val: {
3606
- type: L.plural,
3571
+ type: S.plural,
3607
3572
  value: i,
3608
- options: $t($.val),
3573
+ options: Mt(U.val),
3609
3574
  offset: M,
3610
3575
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3611
3576
  location: X
@@ -3614,7 +3579,7 @@ var On = (
3614
3579
  };
3615
3580
  }
3616
3581
  default:
3617
- return this.error(b.INVALID_ARGUMENT_TYPE, _(s, l));
3582
+ return this.error(b.INVALID_ARGUMENT_TYPE, _(o, l));
3618
3583
  }
3619
3584
  }, e.prototype.tryParseArgumentClose = function(t) {
3620
3585
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3656,21 +3621,21 @@ var On = (
3656
3621
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3657
3622
  var i = [];
3658
3623
  try {
3659
- i = hn(t);
3624
+ i = on(t);
3660
3625
  } catch (n) {
3661
3626
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3662
3627
  }
3663
3628
  return {
3664
3629
  val: {
3665
- type: ee.number,
3630
+ type: te.number,
3666
3631
  tokens: i,
3667
3632
  location: r,
3668
- parsedOptions: this.shouldParseSkeletons ? pn(i) : {}
3633
+ parsedOptions: this.shouldParseSkeletons ? hn(i) : {}
3669
3634
  },
3670
3635
  err: null
3671
3636
  };
3672
3637
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3673
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3638
+ for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3674
3639
  if (u.length === 0) {
3675
3640
  var c = this.clonePosition();
3676
3641
  if (r !== "select" && this.bumpIf("=")) {
@@ -3683,37 +3648,37 @@ var On = (
3683
3648
  }
3684
3649
  if (l.has(u))
3685
3650
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3686
- u === "other" && (s = !0), this.bumpSpace();
3687
- var p = this.clonePosition();
3651
+ u === "other" && (o = !0), this.bumpSpace();
3652
+ var d = this.clonePosition();
3688
3653
  if (!this.bumpIf("{"))
3689
3654
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3690
3655
  var y = this.parseMessage(t + 1, r, i);
3691
3656
  if (y.err)
3692
3657
  return y;
3693
- var d = this.tryParseArgumentClose(p);
3694
- if (d.err)
3695
- return d;
3658
+ var p = this.tryParseArgumentClose(d);
3659
+ if (p.err)
3660
+ return p;
3696
3661
  a.push([
3697
3662
  u,
3698
3663
  {
3699
3664
  value: y.val,
3700
- location: _(p, this.clonePosition())
3665
+ location: _(d, this.clonePosition())
3701
3666
  }
3702
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3667
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3703
3668
  }
3704
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3669
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3705
3670
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3706
3671
  var i = 1, n = this.clonePosition();
3707
3672
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3708
- for (var o = !1, s = 0; !this.isEOF(); ) {
3673
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3709
3674
  var a = this.char();
3710
3675
  if (a >= 48 && a <= 57)
3711
- o = !0, s = s * 10 + (a - 48), this.bump();
3676
+ s = !0, o = o * 10 + (a - 48), this.bump();
3712
3677
  else
3713
3678
  break;
3714
3679
  }
3715
3680
  var l = _(n, this.clonePosition());
3716
- return o ? (s *= i, wn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3681
+ return s ? (o *= i, xn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3717
3682
  }, e.prototype.offset = function() {
3718
3683
  return this.position.offset;
3719
3684
  }, e.prototype.isEOF = function() {
@@ -3728,7 +3693,7 @@ var On = (
3728
3693
  var t = this.position.offset;
3729
3694
  if (t >= this.message.length)
3730
3695
  throw Error("out of bound");
3731
- var r = _r(this.message, t);
3696
+ var r = yr(this.message, t);
3732
3697
  if (r === void 0)
3733
3698
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3734
3699
  return r;
@@ -3747,7 +3712,7 @@ var On = (
3747
3712
  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);
3748
3713
  }
3749
3714
  }, e.prototype.bumpIf = function(t) {
3750
- if (Ut(this.message, t, this.offset())) {
3715
+ if (Nt(this.message, t, this.offset())) {
3751
3716
  for (var r = 0; r < t.length; r++)
3752
3717
  this.bump();
3753
3718
  return !0;
@@ -3769,7 +3734,7 @@ var On = (
3769
3734
  break;
3770
3735
  }
3771
3736
  }, e.prototype.bumpSpace = function() {
3772
- for (; !this.isEOF() && xr(this.char()); )
3737
+ for (; !this.isEOF() && br(this.char()); )
3773
3738
  this.bump();
3774
3739
  }, e.prototype.peek = function() {
3775
3740
  if (this.isEOF())
@@ -3779,204 +3744,204 @@ var On = (
3779
3744
  }, e;
3780
3745
  }()
3781
3746
  );
3782
- function ct(e) {
3747
+ function ot(e) {
3783
3748
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3784
3749
  }
3785
- function In(e) {
3786
- return ct(e) || e === 47;
3750
+ function An(e) {
3751
+ return ot(e) || e === 47;
3787
3752
  }
3788
- function Bn(e) {
3753
+ function Pn(e) {
3789
3754
  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;
3790
3755
  }
3791
- function xr(e) {
3756
+ function br(e) {
3792
3757
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3793
3758
  }
3794
- function Cn(e) {
3759
+ function Hn(e) {
3795
3760
  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;
3796
3761
  }
3797
- function ft(e) {
3762
+ function at(e) {
3798
3763
  e.forEach(function(t) {
3799
- if (delete t.location, fr(t) || mr(t))
3764
+ if (delete t.location, ur(t) || lr(t))
3800
3765
  for (var r in t.options)
3801
- delete t.options[r].location, ft(t.options[r].value);
3766
+ delete t.options[r].location, at(t.options[r].value);
3802
3767
  else
3803
- lr(t) && dr(t.style) || (hr(t) || cr(t)) && at(t.style) ? delete t.style.location : pr(t) && ft(t.children);
3768
+ sr(t) && cr(t.style) || (or(t) || ar(t)) && rt(t.style) ? delete t.style.location : hr(t) && at(t.children);
3804
3769
  });
3805
3770
  }
3806
- function Nn(e, t) {
3807
- t === void 0 && (t = {}), t = He({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3808
- var r = new On(e, t).parse();
3771
+ function In(e, t) {
3772
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3773
+ var r = new wn(e, t).parse();
3809
3774
  if (r.err) {
3810
3775
  var i = SyntaxError(b[r.err.kind]);
3811
3776
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3812
3777
  }
3813
- return t != null && t.captureLocation || ft(r.val), r.val;
3778
+ return t != null && t.captureLocation || at(r.val), r.val;
3814
3779
  }
3815
- var te;
3780
+ var re;
3816
3781
  (function(e) {
3817
3782
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3818
- })(te || (te = {}));
3819
- var Me = (
3783
+ })(re || (re = {}));
3784
+ var Ce = (
3820
3785
  /** @class */
3821
3786
  function(e) {
3822
- Ne(t, e);
3787
+ j(t, e);
3823
3788
  function t(r, i, n) {
3824
- var o = e.call(this, r) || this;
3825
- return o.code = i, o.originalMessage = n, o;
3789
+ var s = e.call(this, r) || this;
3790
+ return s.code = i, s.originalMessage = n, s;
3826
3791
  }
3827
3792
  return t.prototype.toString = function() {
3828
3793
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3829
3794
  }, t;
3830
3795
  }(Error)
3831
- ), Ft = (
3796
+ ), Dt = (
3832
3797
  /** @class */
3833
3798
  function(e) {
3834
- Ne(t, e);
3835
- function t(r, i, n, o) {
3836
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3799
+ j(t, e);
3800
+ function t(r, i, n, s) {
3801
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3837
3802
  }
3838
3803
  return t;
3839
- }(Me)
3840
- ), Mn = (
3804
+ }(Ce)
3805
+ ), Bn = (
3841
3806
  /** @class */
3842
3807
  function(e) {
3843
- Ne(t, e);
3808
+ j(t, e);
3844
3809
  function t(r, i, n) {
3845
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3810
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), re.INVALID_VALUE, n) || this;
3846
3811
  }
3847
3812
  return t;
3848
- }(Me)
3849
- ), Rn = (
3813
+ }(Ce)
3814
+ ), On = (
3850
3815
  /** @class */
3851
3816
  function(e) {
3852
- Ne(t, e);
3817
+ j(t, e);
3853
3818
  function t(r, i) {
3854
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3819
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), re.MISSING_VALUE, i) || this;
3855
3820
  }
3856
3821
  return t;
3857
- }(Me)
3858
- ), I;
3822
+ }(Ce)
3823
+ ), B;
3859
3824
  (function(e) {
3860
3825
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3861
- })(I || (I = {}));
3862
- function Dn(e) {
3826
+ })(B || (B = {}));
3827
+ function Cn(e) {
3863
3828
  return e.length < 2 ? e : e.reduce(function(t, r) {
3864
3829
  var i = t[t.length - 1];
3865
- return !i || i.type !== I.literal || r.type !== I.literal ? t.push(r) : i.value += r.value, t;
3830
+ return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3866
3831
  }, []);
3867
3832
  }
3868
- function Un(e) {
3833
+ function Nn(e) {
3869
3834
  return typeof e == "function";
3870
3835
  }
3871
- function we(e, t, r, i, n, o, s) {
3872
- if (e.length === 1 && Nt(e[0]))
3836
+ function we(e, t, r, i, n, s, o) {
3837
+ if (e.length === 1 && It(e[0]))
3873
3838
  return [
3874
3839
  {
3875
- type: I.literal,
3840
+ type: B.literal,
3876
3841
  value: e[0].value
3877
3842
  }
3878
3843
  ];
3879
3844
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3880
3845
  var h = u[l];
3881
- if (Nt(h)) {
3846
+ if (It(h)) {
3882
3847
  a.push({
3883
- type: I.literal,
3848
+ type: B.literal,
3884
3849
  value: h.value
3885
3850
  });
3886
3851
  continue;
3887
3852
  }
3888
- if (sn(h)) {
3889
- typeof o == "number" && a.push({
3890
- type: I.literal,
3891
- value: r.getNumberFormat(t).format(o)
3853
+ if (tn(h)) {
3854
+ typeof s == "number" && a.push({
3855
+ type: B.literal,
3856
+ value: r.getNumberFormat(t).format(s)
3892
3857
  });
3893
3858
  continue;
3894
3859
  }
3895
3860
  var c = h.value;
3896
3861
  if (!(n && c in n))
3897
- throw new Rn(c, s);
3862
+ throw new On(c, o);
3898
3863
  var f = n[c];
3899
- if (on(h)) {
3864
+ if (en(h)) {
3900
3865
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3901
- type: typeof f == "string" ? I.literal : I.object,
3866
+ type: typeof f == "string" ? B.literal : B.object,
3902
3867
  value: f
3903
3868
  });
3904
3869
  continue;
3905
3870
  }
3906
- if (hr(h)) {
3907
- var p = typeof h.style == "string" ? i.date[h.style] : at(h.style) ? h.style.parsedOptions : void 0;
3871
+ if (or(h)) {
3872
+ var d = typeof h.style == "string" ? i.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
3908
3873
  a.push({
3909
- type: I.literal,
3910
- value: r.getDateTimeFormat(t, p).format(f)
3874
+ type: B.literal,
3875
+ value: r.getDateTimeFormat(t, d).format(f)
3911
3876
  });
3912
3877
  continue;
3913
3878
  }
3914
- if (cr(h)) {
3915
- var p = typeof h.style == "string" ? i.time[h.style] : at(h.style) ? h.style.parsedOptions : i.time.medium;
3879
+ if (ar(h)) {
3880
+ var d = typeof h.style == "string" ? i.time[h.style] : rt(h.style) ? h.style.parsedOptions : i.time.medium;
3916
3881
  a.push({
3917
- type: I.literal,
3918
- value: r.getDateTimeFormat(t, p).format(f)
3882
+ type: B.literal,
3883
+ value: r.getDateTimeFormat(t, d).format(f)
3919
3884
  });
3920
3885
  continue;
3921
3886
  }
3922
- if (lr(h)) {
3923
- var p = typeof h.style == "string" ? i.number[h.style] : dr(h.style) ? h.style.parsedOptions : void 0;
3924
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3925
- type: I.literal,
3926
- value: r.getNumberFormat(t, p).format(f)
3887
+ if (sr(h)) {
3888
+ var d = typeof h.style == "string" ? i.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3889
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3890
+ type: B.literal,
3891
+ value: r.getNumberFormat(t, d).format(f)
3927
3892
  });
3928
3893
  continue;
3929
3894
  }
3930
- if (pr(h)) {
3931
- var y = h.children, d = h.value, v = n[d];
3932
- if (!Un(v))
3933
- throw new Mn(d, "function", s);
3934
- var H = we(y, t, r, i, n, o), g = v(H.map(function(M) {
3895
+ if (hr(h)) {
3896
+ var y = h.children, p = h.value, v = n[p];
3897
+ if (!Nn(v))
3898
+ throw new Bn(p, "function", o);
3899
+ var H = we(y, t, r, i, n, s), g = v(H.map(function(M) {
3935
3900
  return M.value;
3936
3901
  }));
3937
3902
  Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(M) {
3938
3903
  return {
3939
- type: typeof M == "string" ? I.literal : I.object,
3904
+ type: typeof M == "string" ? B.literal : B.object,
3940
3905
  value: M
3941
3906
  };
3942
3907
  }));
3943
3908
  }
3944
- if (fr(h)) {
3945
- var S = h.options[f] || h.options.other;
3946
- if (!S)
3947
- throw new Ft(h.value, f, Object.keys(h.options), s);
3948
- a.push.apply(a, we(S.value, t, r, i, n));
3909
+ if (ur(h)) {
3910
+ var w = h.options[f] || h.options.other;
3911
+ if (!w)
3912
+ throw new Dt(h.value, f, Object.keys(h.options), o);
3913
+ a.push.apply(a, we(w.value, t, r, i, n));
3949
3914
  continue;
3950
3915
  }
3951
- if (mr(h)) {
3952
- var S = h.options["=".concat(f)];
3953
- if (!S) {
3916
+ if (lr(h)) {
3917
+ var w = h.options["=".concat(f)];
3918
+ if (!w) {
3954
3919
  if (!Intl.PluralRules)
3955
- throw new Me(`Intl.PluralRules is not available in this environment.
3920
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3956
3921
  Try polyfilling it using "@formatjs/intl-pluralrules"
3957
- `, te.MISSING_INTL_API, s);
3958
- var U = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3959
- S = h.options[U] || h.options.other;
3922
+ `, re.MISSING_INTL_API, o);
3923
+ var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3924
+ w = h.options[D] || h.options.other;
3960
3925
  }
3961
- if (!S)
3962
- throw new Ft(h.value, f, Object.keys(h.options), s);
3963
- a.push.apply(a, we(S.value, t, r, i, n, f - (h.offset || 0)));
3926
+ if (!w)
3927
+ throw new Dt(h.value, f, Object.keys(h.options), o);
3928
+ a.push.apply(a, we(w.value, t, r, i, n, f - (h.offset || 0)));
3964
3929
  continue;
3965
3930
  }
3966
3931
  }
3967
- return Dn(a);
3932
+ return Cn(a);
3968
3933
  }
3969
- function $n(e, t) {
3970
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3971
- return r[i] = R(R({}, e[i]), t[i] || {}), r;
3934
+ function Mn(e, t) {
3935
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3936
+ return r[i] = E(E({}, e[i]), t[i] || {}), r;
3972
3937
  }, {})) : e;
3973
3938
  }
3974
- function Gn(e, t) {
3939
+ function Rn(e, t) {
3975
3940
  return t ? Object.keys(e).reduce(function(r, i) {
3976
- return r[i] = $n(e[i], t[i]), r;
3977
- }, R({}, e)) : e;
3941
+ return r[i] = Mn(e[i], t[i]), r;
3942
+ }, E({}, e)) : e;
3978
3943
  }
3979
- function Ze(e) {
3944
+ function We(e) {
3980
3945
  return {
3981
3946
  create: function() {
3982
3947
  return {
@@ -3990,77 +3955,77 @@ function Ze(e) {
3990
3955
  }
3991
3956
  };
3992
3957
  }
3993
- function Fn(e) {
3958
+ function Dn(e) {
3994
3959
  return e === void 0 && (e = {
3995
3960
  number: {},
3996
3961
  dateTime: {},
3997
3962
  pluralRules: {}
3998
3963
  }), {
3999
- getNumberFormat: We(function() {
3964
+ getNumberFormat: je(function() {
4000
3965
  for (var t, r = [], i = 0; i < arguments.length; i++)
4001
3966
  r[i] = arguments[i];
4002
- return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3967
+ return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4003
3968
  }, {
4004
- cache: Ze(e.number),
4005
- strategy: Xe.variadic
3969
+ cache: We(e.number),
3970
+ strategy: ke.variadic
4006
3971
  }),
4007
- getDateTimeFormat: We(function() {
3972
+ getDateTimeFormat: je(function() {
4008
3973
  for (var t, r = [], i = 0; i < arguments.length; i++)
4009
3974
  r[i] = arguments[i];
4010
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3975
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4011
3976
  }, {
4012
- cache: Ze(e.dateTime),
4013
- strategy: Xe.variadic
3977
+ cache: We(e.dateTime),
3978
+ strategy: ke.variadic
4014
3979
  }),
4015
- getPluralRules: We(function() {
3980
+ getPluralRules: je(function() {
4016
3981
  for (var t, r = [], i = 0; i < arguments.length; i++)
4017
3982
  r[i] = arguments[i];
4018
- return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3983
+ return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4019
3984
  }, {
4020
- cache: Ze(e.pluralRules),
4021
- strategy: Xe.variadic
3985
+ cache: We(e.pluralRules),
3986
+ strategy: ke.variadic
4022
3987
  })
4023
3988
  };
4024
3989
  }
4025
- var jn = (
3990
+ var Un = (
4026
3991
  /** @class */
4027
3992
  function() {
4028
3993
  function e(t, r, i, n) {
4029
3994
  r === void 0 && (r = e.defaultLocale);
4030
- var o = this;
3995
+ var s = this;
4031
3996
  if (this.formatterCache = {
4032
3997
  number: {},
4033
3998
  dateTime: {},
4034
3999
  pluralRules: {}
4035
4000
  }, this.format = function(l) {
4036
- var u = o.formatToParts(l);
4001
+ var u = s.formatToParts(l);
4037
4002
  if (u.length === 1)
4038
4003
  return u[0].value;
4039
4004
  var h = u.reduce(function(c, f) {
4040
- return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4005
+ return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4041
4006
  }, []);
4042
4007
  return h.length <= 1 ? h[0] || "" : h;
4043
4008
  }, this.formatToParts = function(l) {
4044
- return we(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4009
+ return we(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4045
4010
  }, this.resolvedOptions = function() {
4046
4011
  var l;
4047
4012
  return {
4048
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4013
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4049
4014
  };
4050
4015
  }, this.getAst = function() {
4051
- return o.ast;
4016
+ return s.ast;
4052
4017
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4053
4018
  if (this.message = t, !e.__parse)
4054
4019
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4055
- var s = n || {};
4056
- s.formatters;
4057
- var a = Yi(s, ["formatters"]);
4058
- this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
4020
+ var o = n || {};
4021
+ o.formatters;
4022
+ var a = pi(o, ["formatters"]);
4023
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
4059
4024
  } else
4060
4025
  this.ast = t;
4061
4026
  if (!Array.isArray(this.ast))
4062
4027
  throw new TypeError("A message must be provided as a String or AST.");
4063
- this.formats = Gn(e.formats, i), this.formatters = n && n.formatters || Fn(this.formatterCache);
4028
+ this.formats = Rn(e.formats, i), this.formatters = n && n.formatters || Dn(this.formatterCache);
4064
4029
  }
4065
4030
  return Object.defineProperty(e, "defaultLocale", {
4066
4031
  get: function() {
@@ -4073,7 +4038,7 @@ var jn = (
4073
4038
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4074
4039
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4075
4040
  }
4076
- }, e.__parse = Nn, e.formats = {
4041
+ }, e.__parse = In, e.formats = {
4077
4042
  number: {
4078
4043
  integer: {
4079
4044
  maximumFractionDigits: 0
@@ -4134,7 +4099,7 @@ var jn = (
4134
4099
  }, e;
4135
4100
  }()
4136
4101
  );
4137
- function kn(e, t) {
4102
+ function $n(e, t) {
4138
4103
  if (t == null)
4139
4104
  return;
4140
4105
  if (t in e)
@@ -4144,9 +4109,9 @@ function kn(e, t) {
4144
4109
  for (let n = 0; n < r.length; n++)
4145
4110
  if (typeof i == "object") {
4146
4111
  if (n > 0) {
4147
- const o = r.slice(n, r.length).join(".");
4148
- if (o in i) {
4149
- i = i[o];
4112
+ const s = r.slice(n, r.length).join(".");
4113
+ if (s in i) {
4114
+ i = i[s];
4150
4115
  break;
4151
4116
  }
4152
4117
  }
@@ -4155,92 +4120,92 @@ function kn(e, t) {
4155
4120
  i = void 0;
4156
4121
  return i;
4157
4122
  }
4158
- const k = {}, Vn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Tr = (e, t) => {
4123
+ const k = {}, Gn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), vr = (e, t) => {
4159
4124
  if (t == null)
4160
4125
  return;
4161
4126
  if (t in k && e in k[t])
4162
4127
  return k[t][e];
4163
- const r = Re(t);
4128
+ const r = Ne(t);
4164
4129
  for (let i = 0; i < r.length; i++) {
4165
- const n = r[i], o = Xn(n, e);
4166
- if (o)
4167
- return Vn(e, t, o);
4130
+ const n = r[i], s = jn(n, e);
4131
+ if (s)
4132
+ return Gn(e, t, s);
4168
4133
  }
4169
4134
  };
4170
- let yt;
4171
- const pe = Ce({});
4172
- function Wn(e) {
4173
- return yt[e] || null;
4135
+ let ft;
4136
+ const de = Oe({});
4137
+ function Fn(e) {
4138
+ return ft[e] || null;
4174
4139
  }
4175
- function Lr(e) {
4176
- return e in yt;
4140
+ function _r(e) {
4141
+ return e in ft;
4177
4142
  }
4178
- function Xn(e, t) {
4179
- if (!Lr(e))
4143
+ function jn(e, t) {
4144
+ if (!_r(e))
4180
4145
  return null;
4181
- const r = Wn(e);
4182
- return kn(r, t);
4146
+ const r = Fn(e);
4147
+ return $n(r, t);
4183
4148
  }
4184
- function zn(e) {
4149
+ function kn(e) {
4185
4150
  if (e == null)
4186
4151
  return;
4187
- const t = Re(e);
4152
+ const t = Ne(e);
4188
4153
  for (let r = 0; r < t.length; r++) {
4189
4154
  const i = t[r];
4190
- if (Lr(i))
4155
+ if (_r(i))
4191
4156
  return i;
4192
4157
  }
4193
4158
  }
4194
- function Sr(e, ...t) {
4195
- delete k[e], pe.update((r) => (r[e] = Qi.all([r[e] || {}, ...t]), r));
4159
+ function Er(e, ...t) {
4160
+ delete k[e], de.update((r) => (r[e] = Xi.all([r[e] || {}, ...t]), r));
4196
4161
  }
4197
- ne(
4198
- [pe],
4162
+ se(
4163
+ [de],
4199
4164
  ([e]) => Object.keys(e)
4200
4165
  );
4201
- pe.subscribe((e) => yt = e);
4166
+ de.subscribe((e) => ft = e);
4202
4167
  const Ae = {};
4203
- function Zn(e, t) {
4168
+ function Vn(e, t) {
4204
4169
  Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
4205
4170
  }
4206
- function wr(e) {
4171
+ function xr(e) {
4207
4172
  return Ae[e];
4208
4173
  }
4209
- function Qn(e) {
4210
- return Re(e).map((t) => {
4211
- const r = wr(t);
4174
+ function Wn(e) {
4175
+ return Ne(e).map((t) => {
4176
+ const r = xr(t);
4212
4177
  return [t, r ? [...r] : []];
4213
4178
  }).filter(([, t]) => t.length > 0);
4214
4179
  }
4215
- function mt(e) {
4216
- return e == null ? !1 : Re(e).some(
4180
+ function ut(e) {
4181
+ return e == null ? !1 : Ne(e).some(
4217
4182
  (t) => {
4218
4183
  var r;
4219
- return (r = wr(t)) == null ? void 0 : r.size;
4184
+ return (r = xr(t)) == null ? void 0 : r.size;
4220
4185
  }
4221
4186
  );
4222
4187
  }
4223
- function Yn(e, t) {
4188
+ function Xn(e, t) {
4224
4189
  return Promise.all(
4225
- t.map((i) => (Zn(e, i), i().then((n) => n.default || n)))
4226
- ).then((i) => Sr(e, ...i));
4227
- }
4228
- const ue = {};
4229
- function Ar(e) {
4230
- if (!mt(e))
4231
- return e in ue ? ue[e] : Promise.resolve();
4232
- const t = Qn(e);
4233
- return ue[e] = Promise.all(
4190
+ t.map((i) => (Vn(e, i), i().then((n) => n.default || n)))
4191
+ ).then((i) => Er(e, ...i));
4192
+ }
4193
+ const le = {};
4194
+ function Tr(e) {
4195
+ if (!ut(e))
4196
+ return e in le ? le[e] : Promise.resolve();
4197
+ const t = Wn(e);
4198
+ return le[e] = Promise.all(
4234
4199
  t.map(
4235
- ([r, i]) => Yn(r, i)
4200
+ ([r, i]) => Xn(r, i)
4236
4201
  )
4237
4202
  ).then(() => {
4238
- if (mt(e))
4239
- return Ar(e);
4240
- delete ue[e];
4241
- }), ue[e];
4203
+ if (ut(e))
4204
+ return Tr(e);
4205
+ delete le[e];
4206
+ }), le[e];
4242
4207
  }
4243
- const Jn = {
4208
+ const zn = {
4244
4209
  number: {
4245
4210
  scientific: { notation: "scientific" },
4246
4211
  engineering: { notation: "engineering" },
@@ -4269,150 +4234,150 @@ const Jn = {
4269
4234
  timeZoneName: "short"
4270
4235
  }
4271
4236
  }
4272
- }, qn = {
4237
+ }, Zn = {
4273
4238
  fallbackLocale: null,
4274
4239
  loadingDelay: 200,
4275
- formats: Jn,
4240
+ formats: zn,
4276
4241
  warnOnMissingMessages: !0,
4277
4242
  handleMissingMessage: void 0,
4278
4243
  ignoreTag: !0
4279
- }, Kn = qn;
4280
- function re() {
4281
- return Kn;
4282
- }
4283
- const Qe = Ce(!1);
4284
- var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
4285
- for (var r in t || (t = {}))
4286
- io.call(t, r) && kt(e, r, t[r]);
4287
- if (jt)
4288
- for (var r of jt(t))
4289
- no.call(t, r) && kt(e, r, t[r]);
4244
+ }, Qn = Zn;
4245
+ function ie() {
4246
+ return Qn;
4247
+ }
4248
+ const Xe = Oe(!1);
4249
+ var Yn = Object.defineProperty, Jn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, es = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ts = (e, t) => {
4250
+ for (var r in t)
4251
+ Kn.call(t, r) && $t(e, r, t[r]);
4252
+ if (Ut)
4253
+ for (var r of Ut(t))
4254
+ es.call(t, r) && $t(e, r, t[r]);
4290
4255
  return e;
4291
- }, so = (e, t) => to(e, ro(t));
4292
- let pt;
4293
- const Oe = Ce(null);
4294
- function Vt(e) {
4256
+ }, rs = (e, t) => Jn(e, qn(t));
4257
+ let lt;
4258
+ const He = Oe(null);
4259
+ function Gt(e) {
4295
4260
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4296
4261
  }
4297
- function Re(e, t = re().fallbackLocale) {
4298
- const r = Vt(e);
4299
- return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4262
+ function Ne(e, t = ie().fallbackLocale) {
4263
+ const r = Gt(e);
4264
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
4300
4265
  }
4301
4266
  function Z() {
4302
- return pt != null ? pt : void 0;
4267
+ return lt != null ? lt : void 0;
4303
4268
  }
4304
- Oe.subscribe((e) => {
4305
- pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4269
+ He.subscribe((e) => {
4270
+ lt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4306
4271
  });
4307
- const ao = (e) => {
4308
- if (e && zn(e) && mt(e)) {
4309
- const { loadingDelay: t } = re();
4272
+ const is = (e) => {
4273
+ if (e && kn(e) && ut(e)) {
4274
+ const { loadingDelay: t } = ie();
4310
4275
  let r;
4311
4276
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
4312
- () => Qe.set(!0),
4277
+ () => Xe.set(!0),
4313
4278
  t
4314
- ) : Qe.set(!0), Ar(e).then(() => {
4315
- Oe.set(e);
4279
+ ) : Xe.set(!0), Tr(e).then(() => {
4280
+ He.set(e);
4316
4281
  }).finally(() => {
4317
- clearTimeout(r), Qe.set(!1);
4282
+ clearTimeout(r), Xe.set(!1);
4318
4283
  });
4319
4284
  }
4320
- return Oe.set(e);
4321
- }, oe = so(oo({}, Oe), {
4322
- set: ao
4323
- }), De = (e) => {
4285
+ return He.set(e);
4286
+ }, oe = rs(ts({}, He), {
4287
+ set: is
4288
+ }), Me = (e) => {
4324
4289
  const t = /* @__PURE__ */ Object.create(null);
4325
4290
  return (i) => {
4326
4291
  const n = JSON.stringify(i);
4327
4292
  return n in t ? t[n] : t[n] = e(i);
4328
4293
  };
4329
4294
  };
4330
- var uo = Object.defineProperty, Ie = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
4295
+ var ns = Object.defineProperty, Ie = Object.getOwnPropertySymbols, Lr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? ns(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4331
4296
  for (var r in t || (t = {}))
4332
- Pr.call(t, r) && Wt(e, r, t[r]);
4297
+ Lr.call(t, r) && Ft(e, r, t[r]);
4333
4298
  if (Ie)
4334
4299
  for (var r of Ie(t))
4335
- Hr.call(t, r) && Wt(e, r, t[r]);
4300
+ Sr.call(t, r) && Ft(e, r, t[r]);
4336
4301
  return e;
4337
- }, se = (e, t) => {
4302
+ }, ae = (e, t) => {
4338
4303
  var r = {};
4339
4304
  for (var i in e)
4340
- Pr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4305
+ Lr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4341
4306
  if (e != null && Ie)
4342
4307
  for (var i of Ie(e))
4343
- t.indexOf(i) < 0 && Hr.call(e, i) && (r[i] = e[i]);
4308
+ t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
4344
4309
  return r;
4345
4310
  };
4346
- const fe = (e, t) => {
4347
- const { formats: r } = re();
4311
+ const me = (e, t) => {
4312
+ const { formats: r } = ie();
4348
4313
  if (e in r && t in r[e])
4349
4314
  return r[e][t];
4350
4315
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4351
- }, lo = De(
4316
+ }, ss = Me(
4352
4317
  (e) => {
4353
- var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4318
+ var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4354
4319
  if (r == null)
4355
4320
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4356
- return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4321
+ return i && (n = me("number", i)), new Intl.NumberFormat(r, n);
4357
4322
  }
4358
- ), ho = De(
4323
+ ), os = Me(
4359
4324
  (e) => {
4360
- var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4325
+ var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4361
4326
  if (r == null)
4362
4327
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4363
- return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4328
+ return i ? n = me("date", i) : Object.keys(n).length === 0 && (n = me("date", "short")), new Intl.DateTimeFormat(r, n);
4364
4329
  }
4365
- ), co = De(
4330
+ ), as = Me(
4366
4331
  (e) => {
4367
- var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4332
+ var t = e, { locale: r, format: i } = t, n = ae(t, ["locale", "format"]);
4368
4333
  if (r == null)
4369
4334
  throw new Error(
4370
4335
  '[svelte-i18n] A "locale" must be set to format time values'
4371
4336
  );
4372
- return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4337
+ return i ? n = me("time", i) : Object.keys(n).length === 0 && (n = me("time", "short")), new Intl.DateTimeFormat(r, n);
4373
4338
  }
4374
- ), fo = (e = {}) => {
4339
+ ), us = (e = {}) => {
4375
4340
  var t = e, {
4376
4341
  locale: r = Z()
4377
- } = t, i = se(t, [
4342
+ } = t, i = ae(t, [
4378
4343
  "locale"
4379
4344
  ]);
4380
- return lo(gt({ locale: r }, i));
4381
- }, mo = (e = {}) => {
4345
+ return ss(mt({ locale: r }, i));
4346
+ }, ls = (e = {}) => {
4382
4347
  var t = e, {
4383
4348
  locale: r = Z()
4384
- } = t, i = se(t, [
4349
+ } = t, i = ae(t, [
4385
4350
  "locale"
4386
4351
  ]);
4387
- return ho(gt({ locale: r }, i));
4388
- }, po = (e = {}) => {
4352
+ return os(mt({ locale: r }, i));
4353
+ }, hs = (e = {}) => {
4389
4354
  var t = e, {
4390
4355
  locale: r = Z()
4391
- } = t, i = se(t, [
4356
+ } = t, i = ae(t, [
4392
4357
  "locale"
4393
4358
  ]);
4394
- return co(gt({ locale: r }, i));
4395
- }, yo = De(
4359
+ return as(mt({ locale: r }, i));
4360
+ }, cs = Me(
4396
4361
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4397
- (e, t = Z()) => new jn(e, t, re().formats, {
4398
- ignoreTag: re().ignoreTag
4362
+ (e, t = Z()) => new Un(e, t, ie().formats, {
4363
+ ignoreTag: ie().ignoreTag
4399
4364
  })
4400
- ), go = (e, t = {}) => {
4401
- var r, i, n, o;
4402
- let s = t;
4403
- typeof e == "object" && (s = e, e = s.id);
4365
+ ), fs = (e, t = {}) => {
4366
+ var r, i, n, s;
4367
+ let o = t;
4368
+ typeof e == "object" && (o = e, e = o.id);
4404
4369
  const {
4405
4370
  values: a,
4406
4371
  locale: l = Z(),
4407
4372
  default: u
4408
- } = s;
4373
+ } = o;
4409
4374
  if (l == null)
4410
4375
  throw new Error(
4411
4376
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4412
4377
  );
4413
- let h = Tr(e, l);
4378
+ let h = vr(e, l);
4414
4379
  if (!h)
4415
- h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4380
+ h = (s = (n = (i = (r = ie()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
4416
4381
  else if (typeof h != "string")
4417
4382
  return console.warn(
4418
4383
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4421,7 +4386,7 @@ const fe = (e, t) => {
4421
4386
  return h;
4422
4387
  let c = h;
4423
4388
  try {
4424
- c = yo(h, l).format(a);
4389
+ c = cs(h, l).format(a);
4425
4390
  } catch (f) {
4426
4391
  f instanceof Error && console.warn(
4427
4392
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4429,20 +4394,20 @@ const fe = (e, t) => {
4429
4394
  );
4430
4395
  }
4431
4396
  return c;
4432
- }, bo = (e, t) => po(t).format(e), vo = (e, t) => mo(t).format(e), _o = (e, t) => fo(t).format(e), Eo = (e, t = Z()) => Tr(e, t), xo = ne([oe, pe], () => go);
4433
- ne([oe], () => bo);
4434
- ne([oe], () => vo);
4435
- ne([oe], () => _o);
4436
- ne([oe, pe], () => Eo);
4437
- window.emWidgets = { topic: Bi };
4438
- const To = (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)), qo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4439
- function Lo(e, t) {
4397
+ }, ms = (e, t) => hs(t).format(e), ds = (e, t) => ls(t).format(e), ps = (e, t) => us(t).format(e), ys = (e, t = Z()) => vr(e, t), gs = se([oe, de], () => fs);
4398
+ se([oe], () => ms);
4399
+ se([oe], () => ds);
4400
+ se([oe], () => ps);
4401
+ se([oe, de], () => ys);
4402
+ window.emWidgets = { topic: Hi };
4403
+ const bs = (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)), zs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4404
+ function vs(e, t) {
4440
4405
  if (e) {
4441
4406
  const r = document.createElement("style");
4442
4407
  r.innerHTML = t, e.appendChild(r);
4443
4408
  }
4444
4409
  }
4445
- function So(e, t) {
4410
+ function _s(e, t) {
4446
4411
  const r = new URL(t);
4447
4412
  fetch(r.href).then((i) => i.text()).then((i) => {
4448
4413
  const n = document.createElement("style");
@@ -4451,7 +4416,7 @@ function So(e, t) {
4451
4416
  console.error("There was an error while trying to load client styling from URL", i);
4452
4417
  });
4453
4418
  }
4454
- function wo(e, t, r) {
4419
+ function Es(e, t, r) {
4455
4420
  if (window.emMessageBus) {
4456
4421
  const i = document.createElement("style");
4457
4422
  window.emMessageBus.subscribe(t, (n) => {
@@ -4459,13 +4424,13 @@ function wo(e, t, r) {
4459
4424
  });
4460
4425
  }
4461
4426
  }
4462
- function Xt(e, t) {
4463
- Sr(e, t);
4427
+ function jt(e, t) {
4428
+ Er(e, t);
4464
4429
  }
4465
- function Ao(e) {
4430
+ function xs(e) {
4466
4431
  oe.set(e);
4467
4432
  }
4468
- const Ye = {
4433
+ const ze = {
4469
4434
  en: {
4470
4435
  expandLimits: "LIMIT HISTORY",
4471
4436
  daily: "per day",
@@ -4716,46 +4681,46 @@ const Ye = {
4716
4681
  historyLimitTypeLoss: "Loss Limit"
4717
4682
  }
4718
4683
  };
4719
- function Po(e) {
4720
- qr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4684
+ function Ts(e) {
4685
+ Zr(e, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4721
4686
  }
4722
- function zt(e, t, r) {
4687
+ function kt(e, t, r) {
4723
4688
  const i = e.slice();
4724
4689
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4725
4690
  }
4726
- function Ho(e) {
4691
+ function Ls(e) {
4727
4692
  let t, r, i, n = (
4728
4693
  /*$_*/
4729
4694
  e[9]("expandLimits") + ""
4730
- ), o, s, a, l, u, h, c, f, p, y = St(
4695
+ ), s, o, a, l, u, h, c, f, d, y = Et(
4731
4696
  /*lazyShowedHistoryArray*/
4732
4697
  e[7]
4733
- ), d = [];
4698
+ ), p = [];
4734
4699
  for (let v = 0; v < y.length; v += 1)
4735
- d[v] = Zt(zt(e, y, v));
4700
+ p[v] = Vt(kt(e, y, v));
4736
4701
  return {
4737
4702
  c() {
4738
- t = A("div"), r = A("div"), i = A("button"), o = D(n), s = Je(), a = xe("svg"), l = xe("path"), u = xe("path"), h = Je(), c = A("div");
4739
- for (let v = 0; v < d.length; v += 1)
4740
- d[v].c();
4741
- E(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(l, "class", "svelte-19ml84y"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-19ml84y"), E(a, "class", "ExpandArrow svelte-19ml84y"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), E(a, "fill", "#999"), ve(
4703
+ t = A("div"), r = A("div"), i = A("button"), s = R(n), o = Ze(), a = xe("svg"), l = xe("path"), u = xe("path"), h = Ze(), c = A("div");
4704
+ for (let v = 0; v < p.length; v += 1)
4705
+ p[v].c();
4706
+ x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-19ml84y"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-19ml84y"), x(a, "class", "ExpandArrow svelte-19ml84y"), x(a, "xmlns", "http://www.w3.org/2000/svg"), x(a, "width", "36"), x(a, "height", "36"), x(a, "viewBox", "0 0 36 36"), x(a, "fill", "#999"), ve(
4742
4707
  a,
4743
4708
  "extended",
4744
4709
  /*extended*/
4745
4710
  e[8]
4746
- ), E(i, "class", "ExpandButton svelte-19ml84y"), E(c, "class", "HistoryDisplayArea svelte-19ml84y"), ve(
4711
+ ), x(i, "class", "ExpandButton svelte-19ml84y"), x(c, "class", "HistoryDisplayArea svelte-19ml84y"), ve(
4747
4712
  c,
4748
4713
  "hidden",
4749
4714
  /*hidden*/
4750
4715
  e[5]
4751
- ), E(r, "class", "HistoryWrapper " + /*isDesktop*/
4752
- (e[10] ? "Desktop" : "") + " svelte-19ml84y"), E(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4716
+ ), x(r, "class", "HistoryWrapper " + /*isDesktop*/
4717
+ (e[10] ? "Desktop" : "") + " svelte-19ml84y"), x(t, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
4753
4718
  },
4754
4719
  m(v, H) {
4755
- W(v, t, H), x(t, r), x(r, i), x(i, o), x(i, s), x(i, a), x(a, l), x(a, u), x(r, h), x(r, c);
4756
- for (let g = 0; g < d.length; g += 1)
4757
- d[g] && d[g].m(c, null);
4758
- f || (p = ri(
4720
+ W(v, t, H), T(t, r), T(r, i), T(i, s), T(i, o), T(i, a), T(a, l), T(a, u), T(r, h), T(r, c);
4721
+ for (let g = 0; g < p.length; g += 1)
4722
+ p[g] && p[g].m(c, null);
4723
+ f || (d = qr(
4759
4724
  i,
4760
4725
  "click",
4761
4726
  /*toggleHistoryDisplayArea*/
@@ -4765,7 +4730,7 @@ function Ho(e) {
4765
4730
  p(v, H) {
4766
4731
  if (H[0] & /*$_*/
4767
4732
  512 && n !== (n = /*$_*/
4768
- v[9]("expandLimits") + "") && V(o, n), H[0] & /*extended*/
4733
+ v[9]("expandLimits") + "") && V(s, n), H[0] & /*extended*/
4769
4734
  256 && ve(
4770
4735
  a,
4771
4736
  "extended",
@@ -4773,18 +4738,18 @@ function Ho(e) {
4773
4738
  v[8]
4774
4739
  ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4775
4740
  650) {
4776
- y = St(
4741
+ y = Et(
4777
4742
  /*lazyShowedHistoryArray*/
4778
4743
  v[7]
4779
4744
  );
4780
4745
  let g;
4781
4746
  for (g = 0; g < y.length; g += 1) {
4782
- const S = zt(v, y, g);
4783
- d[g] ? d[g].p(S, H) : (d[g] = Zt(S), d[g].c(), d[g].m(c, null));
4747
+ const w = kt(v, y, g);
4748
+ p[g] ? p[g].p(w, H) : (p[g] = Vt(w), p[g].c(), p[g].m(c, null));
4784
4749
  }
4785
- for (; g < d.length; g += 1)
4786
- d[g].d(1);
4787
- d.length = y.length;
4750
+ for (; g < p.length; g += 1)
4751
+ p[g].d(1);
4752
+ p.length = y.length;
4788
4753
  }
4789
4754
  H[0] & /*hidden*/
4790
4755
  32 && ve(
@@ -4795,14 +4760,14 @@ function Ho(e) {
4795
4760
  );
4796
4761
  },
4797
4762
  d(v) {
4798
- v && j(t), ti(d, v), f = !1, p();
4763
+ v && F(t), Jr(p, v), f = !1, d();
4799
4764
  }
4800
4765
  };
4801
4766
  }
4802
- function Oo(e) {
4803
- return { c: B, m: B, p: B, d: B };
4767
+ function Ss(e) {
4768
+ return { c: O, m: O, p: O, d: O };
4804
4769
  }
4805
- function Io(e) {
4770
+ function ws(e) {
4806
4771
  let t, r = (
4807
4772
  /*lang*/
4808
4773
  (e[0] ? (
@@ -4812,13 +4777,13 @@ function Io(e) {
4812
4777
  ), i;
4813
4778
  return {
4814
4779
  c() {
4815
- t = A("p"), i = D(r), E(t, "class", "svelte-19ml84y");
4780
+ t = A("p"), i = R(r), x(t, "class", "svelte-19ml84y");
4816
4781
  },
4817
- m(n, o) {
4818
- W(n, t, o), x(t, i);
4782
+ m(n, s) {
4783
+ W(n, t, s), T(t, i);
4819
4784
  },
4820
- p(n, o) {
4821
- o[0] & /*lang, $_*/
4785
+ p(n, s) {
4786
+ s[0] & /*lang, $_*/
4822
4787
  513 && r !== (r = /*lang*/
4823
4788
  (n[0] ? (
4824
4789
  /*$_*/
@@ -4826,15 +4791,15 @@ function Io(e) {
4826
4791
  ) : "500 Server Error") + "") && V(i, r);
4827
4792
  },
4828
4793
  d(n) {
4829
- n && j(t);
4794
+ n && F(t);
4830
4795
  }
4831
4796
  };
4832
4797
  }
4833
- function Bo(e) {
4798
+ function As(e) {
4834
4799
  let t, r, i, n = (
4835
4800
  /*history*/
4836
4801
  e[37].type + ""
4837
- ), o, s, a = (
4802
+ ), s, o, a = (
4838
4803
  /*history*/
4839
4804
  e[37].amount + ""
4840
4805
  ), l, u, h = (
@@ -4843,30 +4808,30 @@ function Bo(e) {
4843
4808
  ), c;
4844
4809
  return {
4845
4810
  c() {
4846
- t = A("div"), r = A("span"), i = A("span"), o = D(n), s = A("span"), l = D(a), u = A("span"), c = D(h), E(i, "class", "LimitType svelte-19ml84y"), E(s, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
4811
+ t = A("div"), r = A("span"), i = A("span"), s = R(n), o = A("span"), l = R(a), u = A("span"), c = R(h), x(i, "class", "LimitType svelte-19ml84y"), x(o, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4847
4812
  },
4848
- m(f, p) {
4849
- W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
4813
+ m(f, d) {
4814
+ W(f, t, d), T(t, r), T(r, i), T(i, s), T(r, o), T(o, l), T(t, u), T(u, c);
4850
4815
  },
4851
- p(f, p) {
4852
- p[0] & /*lazyShowedHistoryArray*/
4816
+ p(f, d) {
4817
+ d[0] & /*lazyShowedHistoryArray*/
4853
4818
  128 && n !== (n = /*history*/
4854
- f[37].type + "") && V(o, n), p[0] & /*lazyShowedHistoryArray*/
4819
+ f[37].type + "") && V(s, n), d[0] & /*lazyShowedHistoryArray*/
4855
4820
  128 && a !== (a = /*history*/
4856
- f[37].amount + "") && V(l, a), p[0] & /*lazyShowedHistoryArray*/
4821
+ f[37].amount + "") && V(l, a), d[0] & /*lazyShowedHistoryArray*/
4857
4822
  128 && h !== (h = /*history*/
4858
4823
  f[37].date + "") && V(c, h);
4859
4824
  },
4860
4825
  d(f) {
4861
- f && j(t);
4826
+ f && F(t);
4862
4827
  }
4863
4828
  };
4864
4829
  }
4865
- function Co(e) {
4830
+ function Ps(e) {
4866
4831
  let t, r, i, n = (
4867
4832
  /*history*/
4868
4833
  e[37].type + ""
4869
- ), o, s, a = (
4834
+ ), s, o, a = (
4870
4835
  /*$_*/
4871
4836
  e[9]("limitRemoved") + ""
4872
4837
  ), l, u, h = (
@@ -4875,37 +4840,37 @@ function Co(e) {
4875
4840
  ), c;
4876
4841
  return {
4877
4842
  c() {
4878
- t = A("div"), r = A("span"), i = A("span"), o = D(n), s = A("span"), l = D(a), u = A("span"), c = D(h), E(i, "class", "LimitType svelte-19ml84y"), E(s, "class", "LimitAmountPeriod svelte-19ml84y"), E(r, "class", "GeneralLimitInformation svelte-19ml84y"), E(u, "class", "DateLimitInformation svelte-19ml84y"), E(t, "class", "HistoryRow svelte-19ml84y");
4843
+ t = A("div"), r = A("span"), i = A("span"), s = R(n), o = A("span"), l = R(a), u = A("span"), c = R(h), x(i, "class", "LimitType svelte-19ml84y"), x(o, "class", "LimitAmountPeriod svelte-19ml84y"), x(r, "class", "GeneralLimitInformation svelte-19ml84y"), x(u, "class", "DateLimitInformation svelte-19ml84y"), x(t, "class", "HistoryRow svelte-19ml84y");
4879
4844
  },
4880
- m(f, p) {
4881
- W(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
4845
+ m(f, d) {
4846
+ W(f, t, d), T(t, r), T(r, i), T(i, s), T(r, o), T(o, l), T(t, u), T(u, c);
4882
4847
  },
4883
- p(f, p) {
4884
- p[0] & /*lazyShowedHistoryArray*/
4848
+ p(f, d) {
4849
+ d[0] & /*lazyShowedHistoryArray*/
4885
4850
  128 && n !== (n = /*history*/
4886
- f[37].type + "") && V(o, n), p[0] & /*$_*/
4851
+ f[37].type + "") && V(s, n), d[0] & /*$_*/
4887
4852
  512 && a !== (a = /*$_*/
4888
- f[9]("limitRemoved") + "") && V(l, a), p[0] & /*lazyShowedHistoryArray*/
4853
+ f[9]("limitRemoved") + "") && V(l, a), d[0] & /*lazyShowedHistoryArray*/
4889
4854
  128 && h !== (h = /*history*/
4890
4855
  f[37].date + "") && V(c, h);
4891
4856
  },
4892
4857
  d(f) {
4893
- f && j(t);
4858
+ f && F(t);
4894
4859
  }
4895
4860
  };
4896
4861
  }
4897
- function Zt(e) {
4862
+ function Vt(e) {
4898
4863
  let t, r, i, n = (
4899
4864
  /*index*/
4900
4865
  e[39]
4901
4866
  );
4902
- function o(h, c) {
4867
+ function s(h, c) {
4903
4868
  return (
4904
4869
  /*history*/
4905
- h[37].removed ? Co : Bo
4870
+ h[37].removed ? Ps : As
4906
4871
  );
4907
4872
  }
4908
- let s = o(e), a = s(e);
4873
+ let o = s(e), a = o(e);
4909
4874
  const l = () => (
4910
4875
  /*div_binding*/
4911
4876
  e[22](t, n)
@@ -4915,98 +4880,98 @@ function Zt(e) {
4915
4880
  );
4916
4881
  return {
4917
4882
  c() {
4918
- t = A("div"), a.c(), r = Je(), E(t, "class", i = Tt(
4883
+ t = A("div"), a.c(), r = Ze(), x(t, "class", i = vt(
4919
4884
  /*index*/
4920
4885
  e[39] > +/*numberofentries*/
4921
4886
  e[1] ? "LimitContainer" : ""
4922
4887
  ) + " svelte-19ml84y");
4923
4888
  },
4924
4889
  m(h, c) {
4925
- W(h, t, c), a.m(t, null), x(t, r), l();
4890
+ W(h, t, c), a.m(t, null), T(t, r), l();
4926
4891
  },
4927
4892
  p(h, c) {
4928
- e = h, s === (s = o(e)) && a ? a.p(e, c) : (a.d(1), a = s(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4929
- 2 && i !== (i = Tt(
4893
+ e = h, o === (o = s(e)) && a ? a.p(e, c) : (a.d(1), a = o(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4894
+ 2 && i !== (i = vt(
4930
4895
  /*index*/
4931
4896
  e[39] > +/*numberofentries*/
4932
4897
  e[1] ? "LimitContainer" : ""
4933
- ) + " svelte-19ml84y") && E(t, "class", i), n !== /*index*/
4898
+ ) + " svelte-19ml84y") && x(t, "class", i), n !== /*index*/
4934
4899
  e[39] && (u(), n = /*index*/
4935
4900
  e[39], l());
4936
4901
  },
4937
4902
  d(h) {
4938
- h && j(t), a.d(), u();
4903
+ h && F(t), a.d(), u();
4939
4904
  }
4940
4905
  };
4941
4906
  }
4942
- function No(e) {
4907
+ function Hs(e) {
4943
4908
  let t;
4944
- function r(o, s) {
4909
+ function r(s, o) {
4945
4910
  return (
4946
4911
  /*hasErrors*/
4947
- o[6] ? Io : (
4912
+ s[6] ? ws : (
4948
4913
  /*isLoading*/
4949
- o[4] ? Oo : Ho
4914
+ s[4] ? Ss : Ls
4950
4915
  )
4951
4916
  );
4952
4917
  }
4953
4918
  let i = r(e), n = i(e);
4954
4919
  return {
4955
4920
  c() {
4956
- t = A("div"), n.c(), E(t, "class", "svelte-19ml84y");
4921
+ t = A("div"), n.c(), x(t, "class", "svelte-19ml84y");
4957
4922
  },
4958
- m(o, s) {
4959
- W(o, t, s), n.m(t, null), e[23](t);
4923
+ m(s, o) {
4924
+ W(s, t, o), n.m(t, null), e[23](t);
4960
4925
  },
4961
- p(o, s) {
4962
- i === (i = r(o)) && n ? n.p(o, s) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4926
+ p(s, o) {
4927
+ i === (i = r(s)) && n ? n.p(s, o) : (n.d(1), n = i(s), n && (n.c(), n.m(t, null)));
4963
4928
  },
4964
- i: B,
4965
- o: B,
4966
- d(o) {
4967
- o && j(t), n.d(), e[23](null);
4929
+ i: O,
4930
+ o: O,
4931
+ d(s) {
4932
+ s && F(t), n.d(), e[23](null);
4968
4933
  }
4969
4934
  };
4970
4935
  }
4971
- function Mo(e, t, r) {
4936
+ function Is(e, t, r) {
4972
4937
  let i;
4973
- Jr(e, xo, (m) => r(9, i = m));
4974
- let n = window.navigator.userAgent, o = !To(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, S = new Array(), U = parseInt(c, 10), M = !1, $ = !0, X = [], de = [], ye = !0, Ue = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4975
- const Ir = () => {
4976
- fetch(H).then((T) => T.json()).then((T) => {
4977
- Object.keys(T).forEach((N) => {
4978
- Xt(N, T[N]);
4938
+ zr(e, gs, (m) => r(9, i = m));
4939
+ let n = window.navigator.userAgent, s = !bs(n), { lang: o = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: d = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, w = new Array(), D = parseInt(c, 10), M = !1, U = !0, X = [], pe = [], ye = !0, Re = !1, ue = { EUR: "€", RON: "lei", TRY: "₺" };
4940
+ const Ar = () => {
4941
+ fetch(H).then((L) => L.json()).then((L) => {
4942
+ Object.keys(L).forEach((N) => {
4943
+ jt(N, L[N]);
4979
4944
  });
4980
- }).catch((T) => {
4981
- console.log(T);
4945
+ }).catch((L) => {
4946
+ console.log(L);
4982
4947
  });
4983
4948
  };
4984
- Object.keys(Ye).forEach((m) => {
4985
- Xt(m, Ye[m]);
4949
+ Object.keys(ze).forEach((m) => {
4950
+ jt(m, ze[m]);
4986
4951
  });
4987
- const Br = () => {
4988
- let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, T = new URL(m, u);
4989
- T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4952
+ const Pr = () => {
4953
+ let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, L = new URL(m, u);
4954
+ L.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), L.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), L.searchParams.append("limit", "10000");
4990
4955
  let N = {
4991
4956
  method: "GET",
4992
4957
  headers: { "X-SessionID": l }
4993
4958
  };
4994
- fetch(T.href, N).then((P) => {
4959
+ fetch(L.href, N).then((P) => {
4995
4960
  if (P.status >= 300)
4996
- throw r(4, $ = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4961
+ throw r(4, U = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4997
4962
  return P.json();
4998
4963
  }).then(
4999
4964
  (P) => {
5000
- P.length && (X = Cr(P), r(7, de = X.slice(0, U))), r(4, $ = !1);
4965
+ P.length && (X = Hr(P), r(7, pe = X.slice(0, D))), r(4, U = !1);
5001
4966
  },
5002
4967
  (P) => {
5003
4968
  console.error("There was an error", P), r(6, M = !0);
5004
4969
  }
5005
4970
  );
5006
- }, Cr = (m) => {
5007
- const T = !!Ye[s];
4971
+ }, Hr = (m) => {
4972
+ const L = !!ze[o];
5008
4973
  return m.map((P) => {
5009
- let G = {
4974
+ let $ = {
5010
4975
  amount: "",
5011
4976
  currency: "",
5012
4977
  date: "",
@@ -5014,104 +4979,104 @@ function Mo(e, t, r) {
5014
4979
  type: "",
5015
4980
  removed: !1
5016
4981
  };
5017
- return G.amount = Nr(P), G.currency = T ? ae[P.limitCurrencyCode] : P.limitCurrencyCode, G.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), G.period = i(`${P.limitPeriod.toLowerCase()}`), G.type = h === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), G.removed = P.limitAmount === -1, G;
4982
+ return $.amount = Ir(P), $.currency = L ? ue[P.limitCurrencyCode] : P.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), $.period = i(`${P.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), $.removed = P.limitAmount === -1, $;
5018
4983
  });
5019
- }, Nr = (m) => {
5020
- let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
5021
- if (!p) {
5022
- let kr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
5023
- return `${T}${kr}`;
4984
+ }, Ir = (m) => {
4985
+ let L = d || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4986
+ if (!d) {
4987
+ let $r = ue[m.limitCurrencyCode] || m.limitCurrencyCode;
4988
+ return `${L}${$r}`;
5024
4989
  }
5025
4990
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
5026
- const N = T.match(/\{(\d+)decimals\}/), P = N ? parseInt(N[1], 10) : 2, G = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4991
+ const N = L.match(/\{(\d+)decimals\}/), P = N ? parseInt(N[1], 10) : 2, $ = N ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
5027
4992
  let ge = parseFloat(m.limitAmount).toFixed(P);
5028
- const [Fr, $e] = p.includes(".") ? [",", "."] : [".", ","];
5029
- let [Ge, jr] = ge.split(".");
5030
- return Ge = Ge.replace(/\B(?=(\d{3})+(?!\d))/g, Fr), ge = `${Ge}${$e}${jr}`, T = T.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split($e)[0]).replace(
5031
- G,
5032
- ge.split($e)[1]
5033
- ), T;
5034
- }, Mr = () => {
5035
- r(5, ye = !ye), r(8, Ue = !Ue);
4993
+ const [Dr, De] = d.includes(".") ? [",", "."] : [".", ","];
4994
+ let [Ue, Ur] = ge.split(".");
4995
+ return Ue = Ue.replace(/\B(?=(\d{3})+(?!\d))/g, Dr), ge = `${Ue}${De}${Ur}`, L = L.replace("{currency}", ue[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ge.split(De)[0]).replace(
4996
+ $,
4997
+ ge.split(De)[1]
4998
+ ), L;
4999
+ }, Br = () => {
5000
+ r(5, ye = !ye), r(8, Re = !Re);
5036
5001
  };
5037
- let bt = new IntersectionObserver((m) => {
5038
- m.forEach((T) => {
5039
- T.isIntersecting && (U += parseInt(c, 10) || 10, de.length < X.length && r(7, de = X.slice(0, U)));
5002
+ let dt = new IntersectionObserver((m) => {
5003
+ m.forEach((L) => {
5004
+ L.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < X.length && r(7, pe = X.slice(0, D)));
5040
5005
  });
5041
5006
  });
5042
- const Rr = () => {
5043
- bt.observe(S[S.length - 1]);
5044
- }, Dr = () => {
5007
+ const Or = () => {
5008
+ dt.observe(w[w.length - 1]);
5009
+ }, Cr = () => {
5045
5010
  if (!f)
5046
5011
  return;
5047
5012
  let m = {};
5048
- f.split(",").forEach((T) => {
5049
- let N = T.split(":");
5013
+ f.split(",").forEach((L) => {
5014
+ let N = L.split(":");
5050
5015
  m[N[0].trim()] = N[1].trim();
5051
- }), ae = be(be({}, ae), m);
5052
- }, Ur = () => {
5053
- Ao(s);
5016
+ }), ue = be(be({}, ue), m);
5017
+ }, Nr = () => {
5018
+ xs(o);
5054
5019
  };
5055
- si(() => () => {
5056
- bt.unobserve(S[S.length - 1]);
5020
+ ri(() => () => {
5021
+ dt.unobserve(w[w.length - 1]);
5057
5022
  });
5058
- function $r(m, T) {
5023
+ function Mr(m, L) {
5059
5024
  Pe[m ? "unshift" : "push"](() => {
5060
- S[T] = m, r(3, S);
5025
+ w[L] = m, r(3, w);
5061
5026
  });
5062
5027
  }
5063
- function Gr(m) {
5028
+ function Rr(m) {
5064
5029
  Pe[m ? "unshift" : "push"](() => {
5065
5030
  g = m, r(2, g);
5066
5031
  });
5067
5032
  }
5068
5033
  return e.$$set = (m) => {
5069
- "lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
5034
+ "lang" in m && r(0, o = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, d = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, p = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
5070
5035
  }, e.$$.update = () => {
5071
5036
  e.$$.dirty[0] & /*customcurrencysymbols*/
5072
- 65536 && f && Dr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5073
- 61440 && u && a && l && h && Br(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5074
- 56 && S[0] && !$ && !ye && Rr(), e.$$.dirty[0] & /*lang*/
5075
- 1 && s && Ur(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5076
- 262148 && y && g && Lo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5077
- 524292 && d && g && So(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5078
- 1048580 && v && g && wo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5079
- 2097156 && H && g && Ir();
5037
+ 65536 && f && Cr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5038
+ 61440 && u && a && l && h && Pr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5039
+ 56 && w[0] && !U && !ye && Or(), e.$$.dirty[0] & /*lang*/
5040
+ 1 && o && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5041
+ 262148 && y && g && vs(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5042
+ 524292 && p && g && _s(g, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5043
+ 1048580 && v && g && Es(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5044
+ 2097156 && H && g && Ar();
5080
5045
  }, [
5081
- s,
5046
+ o,
5082
5047
  c,
5083
5048
  g,
5084
- S,
5085
- $,
5049
+ w,
5050
+ U,
5086
5051
  ye,
5087
5052
  M,
5088
- de,
5089
- Ue,
5053
+ pe,
5054
+ Re,
5090
5055
  i,
5091
- o,
5092
- Mr,
5056
+ s,
5057
+ Br,
5093
5058
  a,
5094
5059
  l,
5095
5060
  u,
5096
5061
  h,
5097
5062
  f,
5098
- p,
5099
- y,
5100
5063
  d,
5064
+ y,
5065
+ p,
5101
5066
  v,
5102
5067
  H,
5103
- $r,
5104
- Gr
5068
+ Mr,
5069
+ Rr
5105
5070
  ];
5106
5071
  }
5107
- class Or extends gi {
5072
+ class wr extends mi {
5108
5073
  constructor(t) {
5109
- super(), di(
5074
+ super(), ci(
5110
5075
  this,
5111
5076
  t,
5112
- Mo,
5113
- No,
5114
- Yt,
5077
+ Is,
5078
+ Hs,
5079
+ Xt,
5115
5080
  {
5116
5081
  lang: 0,
5117
5082
  userid: 12,
@@ -5126,7 +5091,7 @@ class Or extends gi {
5126
5091
  mbsource: 20,
5127
5092
  translationurl: 21
5128
5093
  },
5129
- Po,
5094
+ Ts,
5130
5095
  [-1, -1]
5131
5096
  );
5132
5097
  }
@@ -5203,59 +5168,59 @@ class Or extends gi {
5203
5168
  this.$$set({ translationurl: t }), C();
5204
5169
  }
5205
5170
  }
5206
- yi(Or, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5207
- const Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5171
+ fi(wr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5172
+ const Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5208
5173
  __proto__: null,
5209
- default: Or
5174
+ default: wr
5210
5175
  }, Symbol.toStringTag, { value: "Module" }));
5211
5176
  export {
5212
5177
  oe as $,
5213
- Fo as A,
5214
- Xo as B,
5215
- Ke as C,
5216
- xe as D,
5217
- Lo as E,
5218
- So as F,
5219
- wo as G,
5220
- yi as H,
5221
- xo as I,
5222
- Jo as J,
5223
- ci as K,
5224
- Yo as L,
5225
- qo as M,
5226
- Qo as N,
5227
- jo as O,
5228
- Zo as P,
5229
- Do as Q,
5230
- $o as R,
5231
- gi as S,
5232
- Go as T,
5233
- Uo as U,
5234
- Ko as V,
5235
- Sr as a,
5236
- qr as b,
5237
- W as c,
5238
- j as d,
5239
- x as e,
5178
+ Gs as A,
5179
+ ne as B,
5180
+ Et as C,
5181
+ $s as D,
5182
+ Jr as E,
5183
+ Ye as F,
5184
+ Fs as G,
5185
+ gs as H,
5186
+ xe as I,
5187
+ Xs as J,
5188
+ Ws as K,
5189
+ ai as L,
5190
+ zs as M,
5191
+ Vs as N,
5192
+ Ds as O,
5193
+ ks as P,
5194
+ Os as Q,
5195
+ Ns as R,
5196
+ mi as S,
5197
+ Ms as T,
5198
+ Cs as U,
5199
+ Zs as V,
5200
+ Er as a,
5201
+ Zr as b,
5202
+ fi as c,
5203
+ Ze as d,
5204
+ A as e,
5240
5205
  C as f,
5241
- A as g,
5242
- Je as h,
5243
- di as i,
5244
- Jr as j,
5245
- To as k,
5246
- E as l,
5247
- zo as m,
5248
- B as n,
5249
- si as o,
5250
- Pe as p,
5251
- St as q,
5252
- ti as r,
5253
- Yt as s,
5254
- ko as t,
5255
- ie as u,
5256
- V as v,
5257
- Vo as w,
5258
- ri as x,
5259
- D as y,
5260
- Wo as z
5206
+ W as g,
5207
+ T as h,
5208
+ ci as i,
5209
+ F as j,
5210
+ zr as k,
5211
+ bs as l,
5212
+ x as m,
5213
+ O as n,
5214
+ ri as o,
5215
+ js as p,
5216
+ Pe as q,
5217
+ vs as r,
5218
+ Xt as s,
5219
+ Us as t,
5220
+ _s as u,
5221
+ Es as v,
5222
+ R as w,
5223
+ Rs as x,
5224
+ qr as y,
5225
+ V as z
5261
5226
  };