@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.77.20 → 1.77.21

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