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

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,6 +1,6 @@
1
1
  function O() {
2
2
  }
3
- function Gr(e, t) {
3
+ function Mr(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,25 +8,25 @@ function Gr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function kt(e) {
11
+ function Ut(e) {
12
12
  return e();
13
13
  }
14
- function yt() {
14
+ function ct() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function re(e) {
18
- e.forEach(kt);
17
+ function ie(e) {
18
+ e.forEach(Ut);
19
19
  }
20
- function ft(e) {
20
+ function at(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Vt(e, t) {
23
+ function $t(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function Fr(e) {
26
+ function Rr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Wt(e, ...t) {
29
+ function Gt(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const i of t)
32
32
  i(void 0);
@@ -35,19 +35,19 @@ function Wt(e, ...t) {
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function jr(e, t, r) {
39
- e.$$.on_destroy.push(Wt(t, r));
38
+ function Dr(e, t, r) {
39
+ e.$$.on_destroy.push(Gt(t, r));
40
40
  }
41
- function So(e, t, r, i) {
41
+ function xo(e, t, r, i) {
42
42
  if (e) {
43
- const n = zt(e, t, r, i);
43
+ const n = Ft(e, t, r, i);
44
44
  return e[0](n);
45
45
  }
46
46
  }
47
- function zt(e, t, r, i) {
48
- return e[1] && i ? Gr(r.ctx.slice(), e[1](i(t))) : r.ctx;
47
+ function Ft(e, t, r, i) {
48
+ return e[1] && i ? Mr(r.ctx.slice(), e[1](i(t))) : r.ctx;
49
49
  }
50
- function Ao(e, t, r, i) {
50
+ function Eo(e, t, r, i) {
51
51
  if (e[2] && i) {
52
52
  const n = e[2](i(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function Ao(e, t, r, i) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function Po(e, t, r, i, n, o) {
65
+ function wo(e, t, r, i, n, o) {
66
66
  if (n) {
67
- const a = zt(t, r, i, o);
67
+ const a = Ft(t, r, i, o);
68
68
  e.p(a, n);
69
69
  }
70
70
  }
71
- function Ho(e) {
71
+ function To(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let i = 0; i < r; i++)
@@ -77,20 +77,20 @@ function Ho(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function gt(e) {
80
+ function ft(e) {
81
81
  return e ?? "";
82
82
  }
83
- function x(e, t) {
83
+ function w(e, t) {
84
84
  e.appendChild(t);
85
85
  }
86
- function kr(e, t, r) {
87
- const i = Vr(e);
86
+ function Ur(e, t, r) {
87
+ const i = $r(e);
88
88
  if (!i.getElementById(t)) {
89
89
  const n = A("style");
90
- n.id = t, n.textContent = r, Wr(i, n);
90
+ n.id = t, n.textContent = r, Gr(i, n);
91
91
  }
92
92
  }
93
- function Vr(e) {
93
+ function $r(e) {
94
94
  if (!e)
95
95
  return document;
96
96
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -100,8 +100,8 @@ function Vr(e) {
100
100
  t
101
101
  ) : e.ownerDocument;
102
102
  }
103
- function Wr(e, t) {
104
- return x(
103
+ function Gr(e, t) {
104
+ return w(
105
105
  /** @type {Document} */
106
106
  e.head || e,
107
107
  t
@@ -110,10 +110,10 @@ function Wr(e, t) {
110
110
  function V(e, t, r) {
111
111
  e.insertBefore(t, r || null);
112
112
  }
113
- function F(e) {
113
+ function G(e) {
114
114
  e.parentNode && e.parentNode.removeChild(e);
115
115
  }
116
- function zr(e, t) {
116
+ function Fr(e, t) {
117
117
  for (let r = 0; r < e.length; r += 1)
118
118
  e[r] && e[r].d(t);
119
119
  }
@@ -123,42 +123,42 @@ function A(e) {
123
123
  function _e(e) {
124
124
  return document.createElementNS("http://www.w3.org/2000/svg", e);
125
125
  }
126
- function R(e) {
126
+ function M(e) {
127
127
  return document.createTextNode(e);
128
128
  }
129
- function Ze() {
130
- return R(" ");
129
+ function We() {
130
+ return M(" ");
131
131
  }
132
- function Bo() {
133
- return R("");
132
+ function Lo() {
133
+ return M("");
134
134
  }
135
- function Xr(e, t, r, i) {
135
+ function jr(e, t, r, i) {
136
136
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
137
137
  }
138
138
  function E(e, t, r) {
139
139
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
140
140
  }
141
- function Oo(e, t, r) {
141
+ function So(e, t, r) {
142
142
  const i = t.toLowerCase();
143
143
  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);
144
144
  }
145
- function Co(e) {
145
+ function Ao(e) {
146
146
  return e === "" ? null : +e;
147
147
  }
148
- function Zr(e) {
148
+ function kr(e) {
149
149
  return Array.from(e.childNodes);
150
150
  }
151
151
  function k(e, t) {
152
152
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
153
153
  t);
154
154
  }
155
- function Io(e, t) {
155
+ function Po(e, t) {
156
156
  e.value = t ?? "";
157
157
  }
158
- function Qr(e, t, r, i) {
158
+ function Vr(e, t, r, i) {
159
159
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
160
160
  }
161
- function No(e, t, r) {
161
+ function Ho(e, t, r) {
162
162
  for (let i = 0; i < e.options.length; i += 1) {
163
163
  const n = e.options[i];
164
164
  if (n.__value === t) {
@@ -168,14 +168,14 @@ function No(e, t, r) {
168
168
  }
169
169
  (!r || t !== void 0) && (e.selectedIndex = -1);
170
170
  }
171
- function Mo(e) {
171
+ function Bo(e) {
172
172
  const t = e.querySelector(":checked");
173
173
  return t && t.__value;
174
174
  }
175
- function ge(e, t, r) {
175
+ function be(e, t, r) {
176
176
  e.classList.toggle(t, !!r);
177
177
  }
178
- class Ro {
178
+ class Oo {
179
179
  /**
180
180
  * @private
181
181
  * @default false
@@ -242,10 +242,10 @@ class Ro {
242
242
  /**
243
243
  * @returns {void} */
244
244
  d() {
245
- this.n.forEach(F);
245
+ this.n.forEach(G);
246
246
  }
247
247
  }
248
- function Yr(e) {
248
+ function Wr(e) {
249
249
  const t = {};
250
250
  return e.childNodes.forEach(
251
251
  /** @param {Element} node */
@@ -254,72 +254,72 @@ function Yr(e) {
254
254
  }
255
255
  ), t;
256
256
  }
257
- let le;
258
- function ue(e) {
259
- le = e;
257
+ let he;
258
+ function le(e) {
259
+ he = e;
260
260
  }
261
- function Jr() {
262
- if (!le)
261
+ function zr() {
262
+ if (!he)
263
263
  throw new Error("Function called outside component initialization");
264
- return le;
264
+ return he;
265
265
  }
266
- function qr(e) {
267
- Jr().$$.on_mount.push(e);
266
+ function Xr(e) {
267
+ zr().$$.on_mount.push(e);
268
268
  }
269
269
  const Y = [], Se = [];
270
270
  let J = [];
271
- const bt = [], Xt = /* @__PURE__ */ Promise.resolve();
272
- let Qe = !1;
273
- function Zt() {
274
- Qe || (Qe = !0, Xt.then(C));
271
+ const mt = [], jt = /* @__PURE__ */ Promise.resolve();
272
+ let ze = !1;
273
+ function kt() {
274
+ ze || (ze = !0, jt.then(C));
275
275
  }
276
- function Do() {
277
- return Zt(), Xt;
276
+ function Co() {
277
+ return kt(), jt;
278
278
  }
279
- function Ye(e) {
279
+ function Xe(e) {
280
280
  J.push(e);
281
281
  }
282
- const Ue = /* @__PURE__ */ new Set();
282
+ const De = /* @__PURE__ */ new Set();
283
283
  let Z = 0;
284
284
  function C() {
285
285
  if (Z !== 0)
286
286
  return;
287
- const e = le;
287
+ const e = he;
288
288
  do {
289
289
  try {
290
290
  for (; Z < Y.length; ) {
291
291
  const t = Y[Z];
292
- Z++, ue(t), Kr(t.$$);
292
+ Z++, le(t), Zr(t.$$);
293
293
  }
294
294
  } catch (t) {
295
295
  throw Y.length = 0, Z = 0, t;
296
296
  }
297
- for (ue(null), Y.length = 0, Z = 0; Se.length; )
297
+ for (le(null), Y.length = 0, Z = 0; Se.length; )
298
298
  Se.pop()();
299
299
  for (let t = 0; t < J.length; t += 1) {
300
300
  const r = J[t];
301
- Ue.has(r) || (Ue.add(r), r());
301
+ De.has(r) || (De.add(r), r());
302
302
  }
303
303
  J.length = 0;
304
304
  } while (Y.length);
305
- for (; bt.length; )
306
- bt.pop()();
307
- Qe = !1, Ue.clear(), ue(e);
305
+ for (; mt.length; )
306
+ mt.pop()();
307
+ ze = !1, De.clear(), le(e);
308
308
  }
309
- function Kr(e) {
309
+ function Zr(e) {
310
310
  if (e.fragment !== null) {
311
- e.update(), re(e.before_update);
311
+ e.update(), ie(e.before_update);
312
312
  const t = e.dirty;
313
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
313
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
314
314
  }
315
315
  }
316
- function ei(e) {
316
+ function Qr(e) {
317
317
  const t = [], r = [];
318
318
  J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
319
319
  }
320
- const Ee = /* @__PURE__ */ new Set();
320
+ const xe = /* @__PURE__ */ new Set();
321
321
  let z;
322
- function $o() {
322
+ function Io() {
323
323
  z = {
324
324
  r: 0,
325
325
  c: [],
@@ -327,42 +327,42 @@ function $o() {
327
327
  // parent group
328
328
  };
329
329
  }
330
- function Uo() {
331
- z.r || re(z.c), z = z.p;
330
+ function No() {
331
+ z.r || ie(z.c), z = z.p;
332
332
  }
333
- function ti(e, t) {
334
- e && e.i && (Ee.delete(e), e.i(t));
333
+ function Yr(e, t) {
334
+ e && e.i && (xe.delete(e), e.i(t));
335
335
  }
336
- function Go(e, t, r, i) {
336
+ function Mo(e, t, r, i) {
337
337
  if (e && e.o) {
338
- if (Ee.has(e))
338
+ if (xe.has(e))
339
339
  return;
340
- Ee.add(e), z.c.push(() => {
341
- Ee.delete(e), i && (r && e.d(1), i());
340
+ xe.add(e), z.c.push(() => {
341
+ xe.delete(e), i && (r && e.d(1), i());
342
342
  }), e.o(t);
343
343
  } else
344
344
  i && i();
345
345
  }
346
- function vt(e) {
346
+ function pt(e) {
347
347
  return e?.length !== void 0 ? e : Array.from(e);
348
348
  }
349
- function ri(e, t, r) {
349
+ function Jr(e, t, r) {
350
350
  const { fragment: i, after_update: n } = e.$$;
351
- i && i.m(t, r), Ye(() => {
352
- const o = e.$$.on_mount.map(kt).filter(ft);
353
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
354
- }), n.forEach(Ye);
351
+ i && i.m(t, r), Xe(() => {
352
+ const o = e.$$.on_mount.map(Ut).filter(at);
353
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
354
+ }), n.forEach(Xe);
355
355
  }
356
- function ii(e, t) {
356
+ function qr(e, t) {
357
357
  const r = e.$$;
358
- r.fragment !== null && (ei(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
358
+ r.fragment !== null && (Qr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
359
359
  }
360
- function ni(e, t) {
361
- e.$$.dirty[0] === -1 && (Y.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
360
+ function Kr(e, t) {
361
+ e.$$.dirty[0] === -1 && (Y.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
362
362
  }
363
- function oi(e, t, r, i, n, o, a = null, s = [-1]) {
364
- const h = le;
365
- ue(e);
363
+ function ei(e, t, r, i, n, o, a = null, s = [-1]) {
364
+ const h = he;
365
+ le(e);
366
366
  const u = e.$$ = {
367
367
  fragment: null,
368
368
  ctx: [],
@@ -370,7 +370,7 @@ function oi(e, t, r, i, n, o, a = null, s = [-1]) {
370
370
  props: o,
371
371
  update: O,
372
372
  not_equal: n,
373
- bound: yt(),
373
+ bound: ct(),
374
374
  // lifecycle
375
375
  on_mount: [],
376
376
  on_destroy: [],
@@ -379,7 +379,7 @@ function oi(e, t, r, i, n, o, a = null, s = [-1]) {
379
379
  after_update: [],
380
380
  context: new Map(t.context || (h ? h.$$.context : [])),
381
381
  // everything else
382
- callbacks: yt(),
382
+ callbacks: ct(),
383
383
  dirty: s,
384
384
  skip_bound: !1,
385
385
  root: t.target || h.$$.root
@@ -388,19 +388,19 @@ function oi(e, t, r, i, n, o, a = null, s = [-1]) {
388
388
  let l = !1;
389
389
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
390
390
  const y = p.length ? p[0] : f;
391
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ni(e, c)), f;
392
- }) : [], u.update(), l = !0, re(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
391
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Kr(e, c)), f;
392
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
393
393
  if (t.hydrate) {
394
- const c = Zr(t.target);
395
- u.fragment && u.fragment.l(c), c.forEach(F);
394
+ const c = kr(t.target);
395
+ u.fragment && u.fragment.l(c), c.forEach(G);
396
396
  } else
397
397
  u.fragment && u.fragment.c();
398
- t.intro && ti(e.$$.fragment), ri(e, t.target, t.anchor), C();
398
+ t.intro && Yr(e.$$.fragment), Jr(e, t.target, t.anchor), C();
399
399
  }
400
- ue(h);
400
+ le(h);
401
401
  }
402
- let Qt;
403
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
402
+ let Vt;
403
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
404
404
  /** The Svelte component constructor */
405
405
  $$ctor;
406
406
  /** Slots */
@@ -452,19 +452,19 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
452
452
  V(h, o, u);
453
453
  },
454
454
  d: function(h) {
455
- h && F(o);
455
+ h && G(o);
456
456
  }
457
457
  };
458
458
  };
459
459
  };
460
460
  if (await Promise.resolve(), !this.$$cn || this.$$c)
461
461
  return;
462
- const t = {}, r = Yr(this);
462
+ const t = {}, r = Wr(this);
463
463
  for (const n of this.$$s)
464
464
  n in r && (t[n] = [e(n)]);
465
465
  for (const n of this.attributes) {
466
466
  const o = this.$$g_p(n.name);
467
- o in this.$$d || (this.$$d[o] = xe(o, n.value, this.$$p_d, "toProp"));
467
+ o in this.$$d || (this.$$d[o] = Ee(o, n.value, this.$$p_d, "toProp"));
468
468
  }
469
469
  for (const n in this.$$p_d)
470
470
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -482,7 +482,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
482
482
  this.$$r = !0;
483
483
  for (const n in this.$$p_d)
484
484
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
485
- const o = xe(
485
+ const o = Ee(
486
486
  n,
487
487
  this.$$d[n],
488
488
  this.$$p_d,
@@ -504,7 +504,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
504
504
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
505
505
  // and setting attributes through setAttribute etc, this is helpful
506
506
  attributeChangedCallback(e, t, r) {
507
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = xe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
507
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
508
508
  }
509
509
  disconnectedCallback() {
510
510
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -517,7 +517,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
517
517
  ) || e;
518
518
  }
519
519
  });
520
- function xe(e, t, r, i) {
520
+ function Ee(e, t, r, i) {
521
521
  const n = r[e]?.type;
522
522
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
523
523
  return t;
@@ -546,8 +546,8 @@ function xe(e, t, r, i) {
546
546
  return t;
547
547
  }
548
548
  }
549
- function si(e, t, r, i, n, o) {
550
- let a = class extends Qt {
549
+ function ti(e, t, r, i, n, o) {
550
+ let a = class extends Vt {
551
551
  constructor() {
552
552
  super(e, r, n), this.$$p_d = t;
553
553
  }
@@ -563,7 +563,7 @@ function si(e, t, r, i, n, o) {
563
563
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
564
564
  },
565
565
  set(h) {
566
- h = xe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
566
+ h = Ee(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
567
567
  }
568
568
  });
569
569
  }), i.forEach((s) => {
@@ -575,7 +575,7 @@ function si(e, t, r, i, n, o) {
575
575
  }), e.element = /** @type {any} */
576
576
  a, a;
577
577
  }
578
- class ai {
578
+ class ri {
579
579
  /**
580
580
  * ### PRIVATE API
581
581
  *
@@ -594,7 +594,7 @@ class ai {
594
594
  $$set = void 0;
595
595
  /** @returns {void} */
596
596
  $destroy() {
597
- ii(this, 1), this.$destroy = O;
597
+ qr(this, 1), this.$destroy = O;
598
598
  }
599
599
  /**
600
600
  * @template {Extract<keyof Events, string>} K
@@ -603,7 +603,7 @@ class ai {
603
603
  * @returns {() => void}
604
604
  */
605
605
  $on(t, r) {
606
- if (!ft(r))
606
+ if (!at(r))
607
607
  return O;
608
608
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
609
609
  return i.push(r), () => {
@@ -616,11 +616,11 @@ class ai {
616
616
  * @returns {void}
617
617
  */
618
618
  $set(t) {
619
- this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
619
+ this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
620
620
  }
621
621
  }
622
- const ui = "4";
623
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ui);
622
+ const ii = "4";
623
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ii);
624
624
  /*! *****************************************************************************
625
625
  Copyright (c) Microsoft Corporation.
626
626
 
@@ -635,24 +635,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
635
635
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
636
636
  PERFORMANCE OF THIS SOFTWARE.
637
637
  ***************************************************************************** */
638
- var Je = function(e, t) {
639
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
638
+ var Ze = function(e, t) {
639
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
640
640
  r.__proto__ = i;
641
641
  } || function(r, i) {
642
642
  for (var n in i)
643
643
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
644
- }, Je(e, t);
644
+ }, Ze(e, t);
645
645
  };
646
- function fe(e, t) {
646
+ function F(e, t) {
647
647
  if (typeof t != "function" && t !== null)
648
648
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
649
- Je(e, t);
649
+ Ze(e, t);
650
650
  function r() {
651
651
  this.constructor = e;
652
652
  }
653
653
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
654
654
  }
655
- function qe(e) {
655
+ var x = function() {
656
+ return x = Object.assign || function(t) {
657
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
658
+ r = arguments[i];
659
+ for (var o in r)
660
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
661
+ }
662
+ return t;
663
+ }, x.apply(this, arguments);
664
+ };
665
+ function ni(e, t) {
666
+ var r = {};
667
+ for (var i in e)
668
+ Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
669
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
670
+ for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
671
+ t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
672
+ return r;
673
+ }
674
+ function Qe(e) {
656
675
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
657
676
  if (r)
658
677
  return r.call(e);
@@ -664,7 +683,7 @@ function qe(e) {
664
683
  };
665
684
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
666
685
  }
667
- function Ke(e, t) {
686
+ function Ye(e, t) {
668
687
  var r = typeof Symbol == "function" && e[Symbol.iterator];
669
688
  if (!r)
670
689
  return e;
@@ -684,22 +703,22 @@ function Ke(e, t) {
684
703
  }
685
704
  return o;
686
705
  }
687
- function et(e, t, r) {
688
- if (arguments.length === 2)
706
+ function q(e, t, r) {
707
+ if (r || arguments.length === 2)
689
708
  for (var i = 0, n = t.length, o; i < n; i++)
690
709
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
691
710
  return e.concat(o || t);
692
711
  }
693
- function G(e) {
712
+ function $(e) {
694
713
  return typeof e == "function";
695
714
  }
696
- function Yt(e) {
715
+ function Wt(e) {
697
716
  var t = function(i) {
698
717
  Error.call(i), i.stack = new Error().stack;
699
718
  }, r = e(t);
700
719
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
701
720
  }
702
- var Ge = Yt(function(e) {
721
+ var Ue = Wt(function(e) {
703
722
  return function(r) {
704
723
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
705
724
  ` + r.map(function(i, n) {
@@ -708,13 +727,13 @@ var Ge = Yt(function(e) {
708
727
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
709
728
  };
710
729
  });
711
- function tt(e, t) {
730
+ function Je(e, t) {
712
731
  if (e) {
713
732
  var r = e.indexOf(t);
714
733
  0 <= r && e.splice(r, 1);
715
734
  }
716
735
  }
717
- var Be = function() {
736
+ var He = function() {
718
737
  function e(t) {
719
738
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
720
739
  }
@@ -726,7 +745,7 @@ var Be = function() {
726
745
  if (a)
727
746
  if (this._parentage = null, Array.isArray(a))
728
747
  try {
729
- for (var s = qe(a), h = s.next(); !h.done; h = s.next()) {
748
+ for (var s = Qe(a), h = s.next(); !h.done; h = s.next()) {
730
749
  var u = h.value;
731
750
  u.remove(this);
732
751
  }
@@ -743,22 +762,22 @@ var Be = function() {
743
762
  else
744
763
  a.remove(this);
745
764
  var l = this.initialTeardown;
746
- if (G(l))
765
+ if ($(l))
747
766
  try {
748
767
  l();
749
768
  } catch (d) {
750
- o = d instanceof Ge ? d.errors : [d];
769
+ o = d instanceof Ue ? d.errors : [d];
751
770
  }
752
771
  var c = this._finalizers;
753
772
  if (c) {
754
773
  this._finalizers = null;
755
774
  try {
756
- for (var f = qe(c), p = f.next(); !p.done; p = f.next()) {
775
+ for (var f = Qe(c), p = f.next(); !p.done; p = f.next()) {
757
776
  var y = p.value;
758
777
  try {
759
- _t(y);
778
+ dt(y);
760
779
  } catch (d) {
761
- o = o ?? [], d instanceof Ge ? o = et(et([], Ke(o)), Ke(d.errors)) : o.push(d);
780
+ o = o ?? [], d instanceof Ue ? o = q(q([], Ye(o)), Ye(d.errors)) : o.push(d);
762
781
  }
763
782
  }
764
783
  } catch (d) {
@@ -773,13 +792,13 @@ var Be = function() {
773
792
  }
774
793
  }
775
794
  if (o)
776
- throw new Ge(o);
795
+ throw new Ue(o);
777
796
  }
778
797
  }, e.prototype.add = function(t) {
779
798
  var r;
780
799
  if (t && t !== this)
781
800
  if (this.closed)
782
- _t(t);
801
+ dt(t);
783
802
  else {
784
803
  if (t instanceof e) {
785
804
  if (t.closed || t._hasParent(this))
@@ -796,52 +815,52 @@ var Be = function() {
796
815
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
797
816
  }, e.prototype._removeParent = function(t) {
798
817
  var r = this._parentage;
799
- r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
818
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
800
819
  }, e.prototype.remove = function(t) {
801
820
  var r = this._finalizers;
802
- r && tt(r, t), t instanceof e && t._removeParent(this);
821
+ r && Je(r, t), t instanceof e && t._removeParent(this);
803
822
  }, e.EMPTY = function() {
804
823
  var t = new e();
805
824
  return t.closed = !0, t;
806
825
  }(), e;
807
- }(), Jt = Be.EMPTY;
808
- function qt(e) {
809
- return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
826
+ }(), zt = He.EMPTY;
827
+ function Xt(e) {
828
+ return e instanceof He || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
810
829
  }
811
- function _t(e) {
812
- G(e) ? e() : e.unsubscribe();
830
+ function dt(e) {
831
+ $(e) ? e() : e.unsubscribe();
813
832
  }
814
- var li = {
833
+ var oi = {
815
834
  Promise: void 0
816
- }, hi = {
835
+ }, si = {
817
836
  setTimeout: function(e, t) {
818
837
  for (var r = [], i = 2; i < arguments.length; i++)
819
838
  r[i - 2] = arguments[i];
820
- return setTimeout.apply(void 0, et([e, t], Ke(r)));
839
+ return setTimeout.apply(void 0, q([e, t], Ye(r)));
821
840
  },
822
841
  clearTimeout: function(e) {
823
842
  return clearTimeout(e);
824
843
  },
825
844
  delegate: void 0
826
845
  };
827
- function ci(e) {
828
- hi.setTimeout(function() {
846
+ function ai(e) {
847
+ si.setTimeout(function() {
829
848
  throw e;
830
849
  });
831
850
  }
832
- function Et() {
851
+ function yt() {
833
852
  }
834
853
  function we(e) {
835
854
  e();
836
855
  }
837
- var Kt = function(e) {
838
- fe(t, e);
856
+ var Zt = function(e) {
857
+ F(t, e);
839
858
  function t(r) {
840
859
  var i = e.call(this) || this;
841
- return i.isStopped = !1, r ? (i.destination = r, qt(r) && r.add(i)) : i.destination = pi, i;
860
+ return i.isStopped = !1, r ? (i.destination = r, Xt(r) && r.add(i)) : i.destination = hi, i;
842
861
  }
843
862
  return t.create = function(r, i, n) {
844
- return new rt(r, i, n);
863
+ return new qe(r, i, n);
845
864
  }, t.prototype.next = function(r) {
846
865
  this.isStopped || this._next(r);
847
866
  }, t.prototype.error = function(r) {
@@ -865,7 +884,7 @@ var Kt = function(e) {
865
884
  this.unsubscribe();
866
885
  }
867
886
  }, t;
868
- }(Be), fi = function() {
887
+ }(He), ui = function() {
869
888
  function e(t) {
870
889
  this.partialObserver = t;
871
890
  }
@@ -875,7 +894,7 @@ var Kt = function(e) {
875
894
  try {
876
895
  r.next(t);
877
896
  } catch (i) {
878
- be(i);
897
+ ge(i);
879
898
  }
880
899
  }, e.prototype.error = function(t) {
881
900
  var r = this.partialObserver;
@@ -883,56 +902,56 @@ var Kt = function(e) {
883
902
  try {
884
903
  r.error(t);
885
904
  } catch (i) {
886
- be(i);
905
+ ge(i);
887
906
  }
888
907
  else
889
- be(t);
908
+ ge(t);
890
909
  }, e.prototype.complete = function() {
891
910
  var t = this.partialObserver;
892
911
  if (t.complete)
893
912
  try {
894
913
  t.complete();
895
914
  } catch (r) {
896
- be(r);
915
+ ge(r);
897
916
  }
898
917
  }, e;
899
- }(), rt = function(e) {
900
- fe(t, e);
918
+ }(), qe = function(e) {
919
+ F(t, e);
901
920
  function t(r, i, n) {
902
921
  var o = e.call(this) || this, a;
903
- return G(r) || !r ? a = {
922
+ return $(r) || !r ? a = {
904
923
  next: r ?? void 0,
905
924
  error: i ?? void 0,
906
925
  complete: n ?? void 0
907
- } : a = r, o.destination = new fi(a), o;
926
+ } : a = r, o.destination = new ui(a), o;
908
927
  }
909
928
  return t;
910
- }(Kt);
911
- function be(e) {
912
- ci(e);
929
+ }(Zt);
930
+ function ge(e) {
931
+ ai(e);
913
932
  }
914
- function mi(e) {
933
+ function li(e) {
915
934
  throw e;
916
935
  }
917
- var pi = {
936
+ var hi = {
918
937
  closed: !0,
919
- next: Et,
920
- error: mi,
921
- complete: Et
922
- }, di = function() {
938
+ next: yt,
939
+ error: li,
940
+ complete: yt
941
+ }, ci = function() {
923
942
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
924
943
  }();
925
- function yi(e) {
944
+ function fi(e) {
926
945
  return e;
927
946
  }
928
- function gi(e) {
929
- return e.length === 0 ? yi : e.length === 1 ? e[0] : function(r) {
947
+ function mi(e) {
948
+ return e.length === 0 ? fi : e.length === 1 ? e[0] : function(r) {
930
949
  return e.reduce(function(i, n) {
931
950
  return n(i);
932
951
  }, r);
933
952
  };
934
953
  }
935
- var xt = function() {
954
+ var bt = function() {
936
955
  function e(t) {
937
956
  t && (this._subscribe = t);
938
957
  }
@@ -940,7 +959,7 @@ var xt = function() {
940
959
  var r = new e();
941
960
  return r.source = this, r.operator = t, r;
942
961
  }, e.prototype.subscribe = function(t, r, i) {
943
- var n = this, o = vi(t) ? t : new rt(t, r, i);
962
+ var n = this, o = di(t) ? t : new qe(t, r, i);
944
963
  return we(function() {
945
964
  var a = n, s = a.operator, h = a.source;
946
965
  o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
@@ -953,8 +972,8 @@ var xt = function() {
953
972
  }
954
973
  }, e.prototype.forEach = function(t, r) {
955
974
  var i = this;
956
- return r = wt(r), new r(function(n, o) {
957
- var a = new rt({
975
+ return r = gt(r), new r(function(n, o) {
976
+ var a = new qe({
958
977
  next: function(s) {
959
978
  try {
960
979
  t(s);
@@ -970,15 +989,15 @@ var xt = function() {
970
989
  }, e.prototype._subscribe = function(t) {
971
990
  var r;
972
991
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
973
- }, e.prototype[di] = function() {
992
+ }, e.prototype[ci] = function() {
974
993
  return this;
975
994
  }, e.prototype.pipe = function() {
976
995
  for (var t = [], r = 0; r < arguments.length; r++)
977
996
  t[r] = arguments[r];
978
- return gi(t)(this);
997
+ return mi(t)(this);
979
998
  }, e.prototype.toPromise = function(t) {
980
999
  var r = this;
981
- return t = wt(t), new t(function(i, n) {
1000
+ return t = gt(t), new t(function(i, n) {
982
1001
  var o;
983
1002
  r.subscribe(function(a) {
984
1003
  return o = a;
@@ -992,32 +1011,32 @@ var xt = function() {
992
1011
  return new e(t);
993
1012
  }, e;
994
1013
  }();
995
- function wt(e) {
1014
+ function gt(e) {
996
1015
  var t;
997
- return (t = e ?? li.Promise) !== null && t !== void 0 ? t : Promise;
1016
+ return (t = e ?? oi.Promise) !== null && t !== void 0 ? t : Promise;
998
1017
  }
999
- function bi(e) {
1000
- return e && G(e.next) && G(e.error) && G(e.complete);
1018
+ function pi(e) {
1019
+ return e && $(e.next) && $(e.error) && $(e.complete);
1001
1020
  }
1002
- function vi(e) {
1003
- return e && e instanceof Kt || bi(e) && qt(e);
1021
+ function di(e) {
1022
+ return e && e instanceof Zt || pi(e) && Xt(e);
1004
1023
  }
1005
- var _i = Yt(function(e) {
1024
+ var yi = Wt(function(e) {
1006
1025
  return function() {
1007
1026
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1008
1027
  };
1009
- }), er = function(e) {
1010
- fe(t, e);
1028
+ }), Qt = function(e) {
1029
+ F(t, e);
1011
1030
  function t() {
1012
1031
  var r = e.call(this) || this;
1013
1032
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1014
1033
  }
1015
1034
  return t.prototype.lift = function(r) {
1016
- var i = new Tt(this, this);
1035
+ var i = new vt(this, this);
1017
1036
  return i.operator = r, i;
1018
1037
  }, t.prototype._throwIfClosed = function() {
1019
1038
  if (this.closed)
1020
- throw new _i();
1039
+ throw new yi();
1021
1040
  }, t.prototype.next = function(r) {
1022
1041
  var i = this;
1023
1042
  we(function() {
@@ -1025,7 +1044,7 @@ var _i = Yt(function(e) {
1025
1044
  if (i._throwIfClosed(), !i.isStopped) {
1026
1045
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
1027
1046
  try {
1028
- for (var a = qe(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
1047
+ for (var a = Qe(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
1029
1048
  var h = s.value;
1030
1049
  h.next(r);
1031
1050
  }
@@ -1074,20 +1093,20 @@ var _i = Yt(function(e) {
1074
1093
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1075
1094
  }, t.prototype._innerSubscribe = function(r) {
1076
1095
  var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
1077
- return o || a ? Jt : (this.currentObservers = null, s.push(r), new Be(function() {
1078
- i.currentObservers = null, tt(s, r);
1096
+ return o || a ? zt : (this.currentObservers = null, s.push(r), new He(function() {
1097
+ i.currentObservers = null, Je(s, r);
1079
1098
  }));
1080
1099
  }, t.prototype._checkFinalizedStatuses = function(r) {
1081
1100
  var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
1082
1101
  n ? r.error(o) : a && r.complete();
1083
1102
  }, t.prototype.asObservable = function() {
1084
- var r = new xt();
1103
+ var r = new bt();
1085
1104
  return r.source = this, r;
1086
1105
  }, t.create = function(r, i) {
1087
- return new Tt(r, i);
1106
+ return new vt(r, i);
1088
1107
  }, t;
1089
- }(xt), Tt = function(e) {
1090
- fe(t, e);
1108
+ }(bt), vt = function(e) {
1109
+ F(t, e);
1091
1110
  function t(r, i) {
1092
1111
  var n = e.call(this) || this;
1093
1112
  return n.destination = r, n.source = i, n;
@@ -1103,17 +1122,17 @@ var _i = Yt(function(e) {
1103
1122
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
1104
1123
  }, t.prototype._subscribe = function(r) {
1105
1124
  var i, n;
1106
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Jt;
1125
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : zt;
1107
1126
  }, t;
1108
- }(er), tr = {
1127
+ }(Qt), Yt = {
1109
1128
  now: function() {
1110
- return (tr.delegate || Date).now();
1129
+ return (Yt.delegate || Date).now();
1111
1130
  },
1112
1131
  delegate: void 0
1113
- }, Ei = function(e) {
1114
- fe(t, e);
1132
+ }, bi = function(e) {
1133
+ F(t, e);
1115
1134
  function t(r, i, n) {
1116
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = tr);
1135
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Yt);
1117
1136
  var o = e.call(this) || this;
1118
1137
  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;
1119
1138
  }
@@ -1133,24 +1152,24 @@ var _i = Yt(function(e) {
1133
1152
  u && o.splice(0, u + 1);
1134
1153
  }
1135
1154
  }, t;
1136
- }(er);
1137
- const Lt = [], St = {}, xi = (e, t = 0) => {
1138
- if (Lt.indexOf(e) == -1) {
1139
- const r = new Ei(t);
1140
- St[e] = r, Lt.push(e);
1155
+ }(Qt);
1156
+ const _t = [], xt = {}, gi = (e, t = 0) => {
1157
+ if (_t.indexOf(e) == -1) {
1158
+ const r = new bi(t);
1159
+ xt[e] = r, _t.push(e);
1141
1160
  }
1142
- return St[e];
1161
+ return xt[e];
1143
1162
  }, Q = [];
1144
- function wi(e, t) {
1163
+ function vi(e, t) {
1145
1164
  return {
1146
- subscribe: Oe(e, t).subscribe
1165
+ subscribe: Be(e, t).subscribe
1147
1166
  };
1148
1167
  }
1149
- function Oe(e, t = O) {
1168
+ function Be(e, t = O) {
1150
1169
  let r;
1151
1170
  const i = /* @__PURE__ */ new Set();
1152
1171
  function n(s) {
1153
- if (Vt(e, s) && (e = s, r)) {
1172
+ if ($t(e, s) && (e = s, r)) {
1154
1173
  const h = !Q.length;
1155
1174
  for (const u of i)
1156
1175
  u[1](), Q.push(u, e);
@@ -1172,12 +1191,12 @@ function Oe(e, t = O) {
1172
1191
  }
1173
1192
  return { set: n, update: o, subscribe: a };
1174
1193
  }
1175
- function ie(e, t, r) {
1194
+ function ne(e, t, r) {
1176
1195
  const i = !Array.isArray(e), n = i ? [e] : e;
1177
1196
  if (!n.every(Boolean))
1178
1197
  throw new Error("derived() expects stores as input, got a falsy value");
1179
1198
  const o = t.length < 2;
1180
- return wi(r, (a, s) => {
1199
+ return vi(r, (a, s) => {
1181
1200
  let h = !1;
1182
1201
  const u = [];
1183
1202
  let l = 0, c = O;
@@ -1186,9 +1205,9 @@ function ie(e, t, r) {
1186
1205
  return;
1187
1206
  c();
1188
1207
  const y = t(i ? u[0] : u, a, s);
1189
- o ? a(y) : c = ft(y) ? y : O;
1208
+ o ? a(y) : c = at(y) ? y : O;
1190
1209
  }, p = n.map(
1191
- (y, d) => Wt(
1210
+ (y, d) => Gt(
1192
1211
  y,
1193
1212
  (v) => {
1194
1213
  u[d] = v, l &= ~(1 << d), h && f();
@@ -1199,157 +1218,115 @@ function ie(e, t, r) {
1199
1218
  )
1200
1219
  );
1201
1220
  return h = !0, f(), function() {
1202
- re(p), c(), h = !1;
1221
+ ie(p), c(), h = !1;
1203
1222
  };
1204
1223
  });
1205
1224
  }
1206
- function Ti(e) {
1225
+ function _i(e) {
1207
1226
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1208
1227
  }
1209
- var Li = function(t) {
1210
- return Si(t) && !Ai(t);
1228
+ var xi = function(t) {
1229
+ return Ei(t) && !wi(t);
1211
1230
  };
1212
- function Si(e) {
1231
+ function Ei(e) {
1213
1232
  return !!e && typeof e == "object";
1214
1233
  }
1215
- function Ai(e) {
1234
+ function wi(e) {
1216
1235
  var t = Object.prototype.toString.call(e);
1217
- return t === "[object RegExp]" || t === "[object Date]" || Bi(e);
1236
+ return t === "[object RegExp]" || t === "[object Date]" || Si(e);
1218
1237
  }
1219
- var Pi = typeof Symbol == "function" && Symbol.for, Hi = Pi ? Symbol.for("react.element") : 60103;
1220
- function Bi(e) {
1221
- return e.$$typeof === Hi;
1238
+ var Ti = typeof Symbol == "function" && Symbol.for, Li = Ti ? Symbol.for("react.element") : 60103;
1239
+ function Si(e) {
1240
+ return e.$$typeof === Li;
1222
1241
  }
1223
- function Oi(e) {
1242
+ function Ai(e) {
1224
1243
  return Array.isArray(e) ? [] : {};
1225
1244
  }
1226
- function he(e, t) {
1227
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Oi(e), e, t) : e;
1245
+ function ce(e, t) {
1246
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Ai(e), e, t) : e;
1228
1247
  }
1229
- function Ci(e, t, r) {
1248
+ function Pi(e, t, r) {
1230
1249
  return e.concat(t).map(function(i) {
1231
- return he(i, r);
1250
+ return ce(i, r);
1232
1251
  });
1233
1252
  }
1234
- function Ii(e, t) {
1253
+ function Hi(e, t) {
1235
1254
  if (!t.customMerge)
1236
- return q;
1255
+ return K;
1237
1256
  var r = t.customMerge(e);
1238
- return typeof r == "function" ? r : q;
1257
+ return typeof r == "function" ? r : K;
1239
1258
  }
1240
- function Ni(e) {
1259
+ function Bi(e) {
1241
1260
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1242
1261
  return Object.propertyIsEnumerable.call(e, t);
1243
1262
  }) : [];
1244
1263
  }
1245
- function At(e) {
1246
- return Object.keys(e).concat(Ni(e));
1264
+ function Et(e) {
1265
+ return Object.keys(e).concat(Bi(e));
1247
1266
  }
1248
- function rr(e, t) {
1267
+ function Jt(e, t) {
1249
1268
  try {
1250
1269
  return t in e;
1251
1270
  } catch {
1252
1271
  return !1;
1253
1272
  }
1254
1273
  }
1255
- function Mi(e, t) {
1256
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1274
+ function Oi(e, t) {
1275
+ return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1257
1276
  }
1258
- function Ri(e, t, r) {
1277
+ function Ci(e, t, r) {
1259
1278
  var i = {};
1260
- return r.isMergeableObject(e) && At(e).forEach(function(n) {
1261
- i[n] = he(e[n], r);
1262
- }), At(t).forEach(function(n) {
1263
- Mi(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Ii(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
1279
+ return r.isMergeableObject(e) && Et(e).forEach(function(n) {
1280
+ i[n] = ce(e[n], r);
1281
+ }), Et(t).forEach(function(n) {
1282
+ Oi(e, n) || (Jt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Hi(n, r)(e[n], t[n], r) : i[n] = ce(t[n], r));
1264
1283
  }), i;
1265
1284
  }
1266
- function q(e, t, r) {
1267
- r = r || {}, r.arrayMerge = r.arrayMerge || Ci, r.isMergeableObject = r.isMergeableObject || Li, r.cloneUnlessOtherwiseSpecified = he;
1285
+ function K(e, t, r) {
1286
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pi, r.isMergeableObject = r.isMergeableObject || xi, r.cloneUnlessOtherwiseSpecified = ce;
1268
1287
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1269
- return o ? i ? r.arrayMerge(e, t, r) : Ri(e, t, r) : he(t, r);
1288
+ return o ? i ? r.arrayMerge(e, t, r) : Ci(e, t, r) : ce(t, r);
1270
1289
  }
1271
- q.all = function(t, r) {
1290
+ K.all = function(t, r) {
1272
1291
  if (!Array.isArray(t))
1273
1292
  throw new Error("first argument should be an array");
1274
1293
  return t.reduce(function(i, n) {
1275
- return q(i, n, r);
1294
+ return K(i, n, r);
1276
1295
  }, {});
1277
1296
  };
1278
- var Di = q, $i = Di;
1279
- const Ui = /* @__PURE__ */ Ti($i);
1280
- var it = function(e, t) {
1281
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
1282
- r.__proto__ = i;
1283
- } || function(r, i) {
1284
- for (var n in i)
1285
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
1286
- }, it(e, t);
1287
- };
1288
- function Ce(e, t) {
1289
- if (typeof t != "function" && t !== null)
1290
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1291
- it(e, t);
1292
- function r() {
1293
- this.constructor = e;
1294
- }
1295
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1296
- }
1297
- var M = function() {
1298
- return M = Object.assign || function(t) {
1299
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1300
- r = arguments[i];
1301
- for (var o in r)
1302
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1303
- }
1304
- return t;
1305
- }, M.apply(this, arguments);
1306
- };
1307
- function Gi(e, t) {
1308
- var r = {};
1309
- for (var i in e)
1310
- Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
1311
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1312
- for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
1313
- t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
1314
- return r;
1315
- }
1316
- function Fe(e, t, r) {
1317
- if (r || arguments.length === 2)
1318
- for (var i = 0, n = t.length, o; i < n; i++)
1319
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
1320
- return e.concat(o || Array.prototype.slice.call(t));
1321
- }
1322
- function je(e, t) {
1323
- var r = t && t.cache ? t.cache : Xi, i = t && t.serializer ? t.serializer : Wi, n = t && t.strategy ? t.strategy : ki;
1297
+ var Ii = K, Ni = Ii;
1298
+ const Mi = /* @__PURE__ */ _i(Ni);
1299
+ function $e(e, t) {
1300
+ var r = t && t.cache ? t.cache : ji, i = t && t.serializer ? t.serializer : Gi, n = t && t.strategy ? t.strategy : Ui;
1324
1301
  return n(e, {
1325
1302
  cache: r,
1326
1303
  serializer: i
1327
1304
  });
1328
1305
  }
1329
- function Fi(e) {
1306
+ function Ri(e) {
1330
1307
  return e == null || typeof e == "number" || typeof e == "boolean";
1331
1308
  }
1332
- function ji(e, t, r, i) {
1333
- var n = Fi(i) ? i : r(i), o = t.get(n);
1309
+ function Di(e, t, r, i) {
1310
+ var n = Ri(i) ? i : r(i), o = t.get(n);
1334
1311
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
1335
1312
  }
1336
- function ir(e, t, r) {
1313
+ function qt(e, t, r) {
1337
1314
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1338
1315
  return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
1339
1316
  }
1340
- function nr(e, t, r, i, n) {
1317
+ function Kt(e, t, r, i, n) {
1341
1318
  return r.bind(t, e, i, n);
1342
1319
  }
1343
- function ki(e, t) {
1344
- var r = e.length === 1 ? ji : ir;
1345
- return nr(e, this, r, t.cache.create(), t.serializer);
1320
+ function Ui(e, t) {
1321
+ var r = e.length === 1 ? Di : qt;
1322
+ return Kt(e, this, r, t.cache.create(), t.serializer);
1346
1323
  }
1347
- function Vi(e, t) {
1348
- return nr(e, this, ir, t.cache.create(), t.serializer);
1324
+ function $i(e, t) {
1325
+ return Kt(e, this, qt, t.cache.create(), t.serializer);
1349
1326
  }
1350
- var Wi = function() {
1327
+ var Gi = function() {
1351
1328
  return JSON.stringify(arguments);
1352
- }, zi = (
1329
+ }, Fi = (
1353
1330
  /** @class */
1354
1331
  function() {
1355
1332
  function e() {
@@ -1361,71 +1338,61 @@ var Wi = function() {
1361
1338
  this.cache[t] = r;
1362
1339
  }, e;
1363
1340
  }()
1364
- ), Xi = {
1341
+ ), ji = {
1365
1342
  create: function() {
1366
- return new zi();
1343
+ return new Fi();
1367
1344
  }
1368
- }, ke = {
1369
- variadic: Vi
1370
- }, Ae = function() {
1371
- return Ae = Object.assign || function(t) {
1372
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1373
- r = arguments[i];
1374
- for (var o in r)
1375
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1376
- }
1377
- return t;
1378
- }, Ae.apply(this, arguments);
1379
- };
1380
- var b;
1345
+ }, Ge = {
1346
+ variadic: $i
1347
+ }, g;
1381
1348
  (function(e) {
1382
1349
  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";
1383
- })(b || (b = {}));
1384
- var T;
1350
+ })(g || (g = {}));
1351
+ var L;
1385
1352
  (function(e) {
1386
1353
  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";
1387
- })(T || (T = {}));
1388
- var K;
1354
+ })(L || (L = {}));
1355
+ var ee;
1389
1356
  (function(e) {
1390
1357
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1391
- })(K || (K = {}));
1392
- function Pt(e) {
1393
- return e.type === T.literal;
1358
+ })(ee || (ee = {}));
1359
+ function wt(e) {
1360
+ return e.type === L.literal;
1394
1361
  }
1395
- function Zi(e) {
1396
- return e.type === T.argument;
1362
+ function ki(e) {
1363
+ return e.type === L.argument;
1397
1364
  }
1398
- function or(e) {
1399
- return e.type === T.number;
1365
+ function er(e) {
1366
+ return e.type === L.number;
1400
1367
  }
1401
- function sr(e) {
1402
- return e.type === T.date;
1368
+ function tr(e) {
1369
+ return e.type === L.date;
1403
1370
  }
1404
- function ar(e) {
1405
- return e.type === T.time;
1371
+ function rr(e) {
1372
+ return e.type === L.time;
1406
1373
  }
1407
- function ur(e) {
1408
- return e.type === T.select;
1374
+ function ir(e) {
1375
+ return e.type === L.select;
1409
1376
  }
1410
- function lr(e) {
1411
- return e.type === T.plural;
1377
+ function nr(e) {
1378
+ return e.type === L.plural;
1412
1379
  }
1413
- function Qi(e) {
1414
- return e.type === T.pound;
1380
+ function Vi(e) {
1381
+ return e.type === L.pound;
1415
1382
  }
1416
- function hr(e) {
1417
- return e.type === T.tag;
1383
+ function or(e) {
1384
+ return e.type === L.tag;
1418
1385
  }
1419
- function cr(e) {
1420
- return !!(e && typeof e == "object" && e.type === K.number);
1386
+ function sr(e) {
1387
+ return !!(e && typeof e == "object" && e.type === ee.number);
1421
1388
  }
1422
- function nt(e) {
1423
- return !!(e && typeof e == "object" && e.type === K.dateTime);
1389
+ function Ke(e) {
1390
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1424
1391
  }
1425
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yi = /(?:[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;
1426
- function Ji(e) {
1392
+ var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1393
+ function zi(e) {
1427
1394
  var t = {};
1428
- return e.replace(Yi, function(r) {
1395
+ return e.replace(Wi, function(r) {
1429
1396
  var i = r.length;
1430
1397
  switch (r[0]) {
1431
1398
  case "G":
@@ -1514,21 +1481,11 @@ function Ji(e) {
1514
1481
  return "";
1515
1482
  }), t;
1516
1483
  }
1517
- var S = function() {
1518
- return S = Object.assign || function(t) {
1519
- for (var r, i = 1, n = arguments.length; i < n; i++) {
1520
- r = arguments[i];
1521
- for (var o in r)
1522
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1523
- }
1524
- return t;
1525
- }, S.apply(this, arguments);
1526
- };
1527
- var qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1528
- function Ki(e) {
1484
+ var Xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1485
+ function Zi(e) {
1529
1486
  if (e.length === 0)
1530
1487
  throw new Error("Number skeleton cannot be empty");
1531
- for (var t = e.split(qi).filter(function(f) {
1488
+ for (var t = e.split(Xi).filter(function(f) {
1532
1489
  return f.length > 0;
1533
1490
  }), r = [], i = 0, n = t; i < n.length; i++) {
1534
1491
  var o = n[i], a = o.split("/");
@@ -1543,17 +1500,17 @@ function Ki(e) {
1543
1500
  }
1544
1501
  return r;
1545
1502
  }
1546
- function en(e) {
1503
+ function Qi(e) {
1547
1504
  return e.replace(/^(.*?)-/, "");
1548
1505
  }
1549
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, pr = /^(0+)$/;
1550
- function Bt(e) {
1506
+ var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1507
+ function Lt(e) {
1551
1508
  var t = {};
1552
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, i, n) {
1509
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, i, n) {
1553
1510
  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)), "";
1554
1511
  }), t;
1555
1512
  }
1556
- function dr(e) {
1513
+ function hr(e) {
1557
1514
  switch (e) {
1558
1515
  case "sign-auto":
1559
1516
  return {
@@ -1593,7 +1550,7 @@ function dr(e) {
1593
1550
  };
1594
1551
  }
1595
1552
  }
1596
- function rn(e) {
1553
+ function Ji(e) {
1597
1554
  var t;
1598
1555
  if (e[0] === "E" && e[1] === "E" ? (t = {
1599
1556
  notation: "engineering"
@@ -1601,17 +1558,17 @@ function rn(e) {
1601
1558
  notation: "scientific"
1602
1559
  }, e = e.slice(1)), t) {
1603
1560
  var r = e.slice(0, 2);
1604
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pr.test(e))
1561
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1605
1562
  throw new Error("Malformed concise eng/scientific notation");
1606
1563
  t.minimumIntegerDigits = e.length;
1607
1564
  }
1608
1565
  return t;
1609
1566
  }
1610
- function Ot(e) {
1611
- var t = {}, r = dr(e);
1567
+ function St(e) {
1568
+ var t = {}, r = hr(e);
1612
1569
  return r || t;
1613
1570
  }
1614
- function nn(e) {
1571
+ function qi(e) {
1615
1572
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1616
1573
  var n = i[r];
1617
1574
  switch (n.stem) {
@@ -1635,7 +1592,7 @@ function nn(e) {
1635
1592
  continue;
1636
1593
  case "measure-unit":
1637
1594
  case "unit":
1638
- t.style = "unit", t.unit = en(n.options[0]);
1595
+ t.style = "unit", t.unit = Qi(n.options[0]);
1639
1596
  continue;
1640
1597
  case "compact-short":
1641
1598
  case "K":
@@ -1646,13 +1603,13 @@ function nn(e) {
1646
1603
  t.notation = "compact", t.compactDisplay = "long";
1647
1604
  continue;
1648
1605
  case "scientific":
1649
- t = S(S(S({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
1650
- return S(S({}, h), Ot(u));
1606
+ t = x(x(x({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
1607
+ return x(x({}, h), St(u));
1651
1608
  }, {}));
1652
1609
  continue;
1653
1610
  case "engineering":
1654
- t = S(S(S({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
1655
- return S(S({}, h), Ot(u));
1611
+ t = x(x(x({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
1612
+ return x(x({}, h), St(u));
1656
1613
  }, {}));
1657
1614
  continue;
1658
1615
  case "notation-simple":
@@ -1697,7 +1654,7 @@ function nn(e) {
1697
1654
  case "integer-width":
1698
1655
  if (n.options.length > 1)
1699
1656
  throw new RangeError("integer-width stems only accept a single optional option");
1700
- n.options[0].replace(tn, function(h, u, l, c, f, p) {
1657
+ n.options[0].replace(Yi, function(h, u, l, c, f, p) {
1701
1658
  if (u)
1702
1659
  t.minimumIntegerDigits = l.length;
1703
1660
  else {
@@ -1710,28 +1667,28 @@ function nn(e) {
1710
1667
  });
1711
1668
  continue;
1712
1669
  }
1713
- if (pr.test(n.stem)) {
1670
+ if (lr.test(n.stem)) {
1714
1671
  t.minimumIntegerDigits = n.stem.length;
1715
1672
  continue;
1716
1673
  }
1717
- if (Ht.test(n.stem)) {
1674
+ if (Tt.test(n.stem)) {
1718
1675
  if (n.options.length > 1)
1719
1676
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1720
- n.stem.replace(Ht, function(h, u, l, c, f, p) {
1677
+ n.stem.replace(Tt, function(h, u, l, c, f, p) {
1721
1678
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1722
1679
  });
1723
1680
  var o = n.options[0];
1724
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Bt(o)));
1681
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Lt(o)));
1725
1682
  continue;
1726
1683
  }
1727
- if (mr.test(n.stem)) {
1728
- t = S(S({}, t), Bt(n.stem));
1684
+ if (ur.test(n.stem)) {
1685
+ t = x(x({}, t), Lt(n.stem));
1729
1686
  continue;
1730
1687
  }
1731
- var a = dr(n.stem);
1732
- a && (t = S(S({}, t), a));
1733
- var s = rn(n.stem);
1734
- s && (t = S(S({}, t), s));
1688
+ var a = hr(n.stem);
1689
+ a && (t = x(x({}, t), a));
1690
+ var s = Ji(n.stem);
1691
+ s && (t = x(x({}, t), s));
1735
1692
  }
1736
1693
  return t;
1737
1694
  }
@@ -3150,13 +3107,13 @@ var ve = {
3150
3107
  "h"
3151
3108
  ]
3152
3109
  };
3153
- function on(e, t) {
3110
+ function Ki(e, t) {
3154
3111
  for (var r = "", i = 0; i < e.length; i++) {
3155
3112
  var n = e.charAt(i);
3156
3113
  if (n === "j") {
3157
3114
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
3158
3115
  o++, i++;
3159
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = sn(t);
3116
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = en(t);
3160
3117
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3161
3118
  r += h;
3162
3119
  for (; a-- > 0; )
@@ -3166,7 +3123,7 @@ function on(e, t) {
3166
3123
  }
3167
3124
  return r;
3168
3125
  }
3169
- function sn(e) {
3126
+ function en(e) {
3170
3127
  var t = e.hourCycle;
3171
3128
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3172
3129
  e.hourCycles && // @ts-ignore
@@ -3188,20 +3145,20 @@ function sn(e) {
3188
3145
  var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3189
3146
  return n[0];
3190
3147
  }
3191
- var Ve, an = new RegExp("^".concat(fr.source, "*")), un = new RegExp("".concat(fr.source, "*$"));
3148
+ var Fe, tn = new RegExp("^".concat(ar.source, "*")), rn = new RegExp("".concat(ar.source, "*$"));
3192
3149
  function _(e, t) {
3193
3150
  return { start: e, end: t };
3194
3151
  }
3195
- var ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String.fromCodePoint, cn = !!Object.fromEntries, fn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, yn = dn ? Number.isSafeInteger : function(e) {
3152
+ var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, sn = !!Object.fromEntries, an = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, cn = hn ? Number.isSafeInteger : function(e) {
3196
3153
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3197
- }, ot = !0;
3154
+ }, et = !0;
3198
3155
  try {
3199
- var gn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3200
- ot = ((Ve = gn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3156
+ var fn = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3157
+ et = ((Fe = fn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3201
3158
  } catch {
3202
- ot = !1;
3159
+ et = !1;
3203
3160
  }
3204
- var Ct = ln ? (
3161
+ var At = nn ? (
3205
3162
  // Native
3206
3163
  function(t, r, i) {
3207
3164
  return t.startsWith(r, i);
@@ -3211,7 +3168,7 @@ var Ct = ln ? (
3211
3168
  function(t, r, i) {
3212
3169
  return t.slice(i, i + r.length) === r;
3213
3170
  }
3214
- ), st = hn ? String.fromCodePoint : (
3171
+ ), tt = on ? String.fromCodePoint : (
3215
3172
  // IE11
3216
3173
  function() {
3217
3174
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3223,9 +3180,9 @@ var Ct = ln ? (
3223
3180
  }
3224
3181
  return i;
3225
3182
  }
3226
- ), It = (
3183
+ ), Pt = (
3227
3184
  // native
3228
- cn ? Object.fromEntries : (
3185
+ sn ? Object.fromEntries : (
3229
3186
  // Ponyfill
3230
3187
  function(t) {
3231
3188
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -3235,7 +3192,7 @@ var Ct = ln ? (
3235
3192
  return r;
3236
3193
  }
3237
3194
  )
3238
- ), yr = fn ? (
3195
+ ), cr = an ? (
3239
3196
  // Native
3240
3197
  function(t, r) {
3241
3198
  return t.codePointAt(r);
@@ -3249,7 +3206,7 @@ var Ct = ln ? (
3249
3206
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3250
3207
  }
3251
3208
  }
3252
- ), bn = mn ? (
3209
+ ), mn = un ? (
3253
3210
  // Native
3254
3211
  function(t) {
3255
3212
  return t.trimStart();
@@ -3257,9 +3214,9 @@ var Ct = ln ? (
3257
3214
  ) : (
3258
3215
  // Ponyfill
3259
3216
  function(t) {
3260
- return t.replace(an, "");
3217
+ return t.replace(tn, "");
3261
3218
  }
3262
- ), vn = pn ? (
3219
+ ), pn = ln ? (
3263
3220
  // Native
3264
3221
  function(t) {
3265
3222
  return t.trimEnd();
@@ -3267,32 +3224,32 @@ var Ct = ln ? (
3267
3224
  ) : (
3268
3225
  // Ponyfill
3269
3226
  function(t) {
3270
- return t.replace(un, "");
3227
+ return t.replace(rn, "");
3271
3228
  }
3272
3229
  );
3273
- function gr(e, t) {
3230
+ function fr(e, t) {
3274
3231
  return new RegExp(e, t);
3275
3232
  }
3276
- var at;
3277
- if (ot) {
3278
- var Nt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3279
- at = function(t, r) {
3233
+ var rt;
3234
+ if (et) {
3235
+ var Ht = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3236
+ rt = function(t, r) {
3280
3237
  var i;
3281
- Nt.lastIndex = r;
3282
- var n = Nt.exec(t);
3238
+ Ht.lastIndex = r;
3239
+ var n = Ht.exec(t);
3283
3240
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3284
3241
  };
3285
3242
  } else
3286
- at = function(t, r) {
3243
+ rt = function(t, r) {
3287
3244
  for (var i = []; ; ) {
3288
- var n = yr(t, r);
3289
- if (n === void 0 || br(n) || wn(n))
3245
+ var n = cr(t, r);
3246
+ if (n === void 0 || mr(n) || gn(n))
3290
3247
  break;
3291
3248
  i.push(n), r += n >= 65536 ? 2 : 1;
3292
3249
  }
3293
- return st.apply(void 0, i);
3250
+ return tt.apply(void 0, i);
3294
3251
  };
3295
- var _n = (
3252
+ var dn = (
3296
3253
  /** @class */
3297
3254
  function() {
3298
3255
  function e(t, r) {
@@ -3316,14 +3273,14 @@ var _n = (
3316
3273
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3317
3274
  var s = this.clonePosition();
3318
3275
  this.bump(), n.push({
3319
- type: T.pound,
3276
+ type: L.pound,
3320
3277
  location: _(s, this.clonePosition())
3321
3278
  });
3322
3279
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3323
3280
  if (i)
3324
3281
  break;
3325
- return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3326
- } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
3282
+ return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3283
+ } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3327
3284
  var a = this.parseTag(t, r);
3328
3285
  if (a.err)
3329
3286
  return a;
@@ -3344,7 +3301,7 @@ var _n = (
3344
3301
  if (this.bumpSpace(), this.bumpIf("/>"))
3345
3302
  return {
3346
3303
  val: {
3347
- type: T.literal,
3304
+ type: L.literal,
3348
3305
  value: "<".concat(n, "/>"),
3349
3306
  location: _(i, this.clonePosition())
3350
3307
  },
@@ -3356,25 +3313,25 @@ var _n = (
3356
3313
  return o;
3357
3314
  var a = o.val, s = this.clonePosition();
3358
3315
  if (this.bumpIf("</")) {
3359
- if (this.isEOF() || !ut(this.char()))
3360
- return this.error(b.INVALID_TAG, _(s, this.clonePosition()));
3316
+ if (this.isEOF() || !it(this.char()))
3317
+ return this.error(g.INVALID_TAG, _(s, this.clonePosition()));
3361
3318
  var h = this.clonePosition(), u = this.parseTagName();
3362
- return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3319
+ return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3363
3320
  val: {
3364
- type: T.tag,
3321
+ type: L.tag,
3365
3322
  value: n,
3366
3323
  children: a,
3367
3324
  location: _(i, this.clonePosition())
3368
3325
  },
3369
3326
  err: null
3370
- } : this.error(b.INVALID_TAG, _(s, this.clonePosition())));
3327
+ } : this.error(g.INVALID_TAG, _(s, this.clonePosition())));
3371
3328
  } else
3372
- return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
3329
+ return this.error(g.UNCLOSED_TAG, _(i, this.clonePosition()));
3373
3330
  } else
3374
- return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
3331
+ return this.error(g.INVALID_TAG, _(i, this.clonePosition()));
3375
3332
  }, e.prototype.parseTagName = function() {
3376
3333
  var t = this.offset();
3377
- for (this.bump(); !this.isEOF() && xn(this.char()); )
3334
+ for (this.bump(); !this.isEOF() && bn(this.char()); )
3378
3335
  this.bump();
3379
3336
  return this.message.slice(t, this.offset());
3380
3337
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3398,12 +3355,12 @@ var _n = (
3398
3355
  }
3399
3356
  var h = _(i, this.clonePosition());
3400
3357
  return {
3401
- val: { type: T.literal, value: n, location: h },
3358
+ val: { type: L.literal, value: n, location: h },
3402
3359
  err: null
3403
3360
  };
3404
3361
  }, e.prototype.tryParseLeftAngleBracket = function() {
3405
3362
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3406
- !En(this.peek() || 0)) ? (this.bump(), "<") : null;
3363
+ !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3407
3364
  }, e.prototype.tryParseQuote = function(t) {
3408
3365
  if (this.isEOF() || this.char() !== 39)
3409
3366
  return null;
@@ -3437,28 +3394,28 @@ var _n = (
3437
3394
  r.push(i);
3438
3395
  this.bump();
3439
3396
  }
3440
- return st.apply(void 0, r);
3397
+ return tt.apply(void 0, r);
3441
3398
  }, e.prototype.tryParseUnquoted = function(t, r) {
3442
3399
  if (this.isEOF())
3443
3400
  return null;
3444
3401
  var i = this.char();
3445
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), st(i));
3402
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
3446
3403
  }, e.prototype.parseArgument = function(t, r) {
3447
3404
  var i = this.clonePosition();
3448
3405
  if (this.bump(), this.bumpSpace(), this.isEOF())
3449
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3406
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3450
3407
  if (this.char() === 125)
3451
- return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
3408
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, _(i, this.clonePosition()));
3452
3409
  var n = this.parseIdentifierIfPossible().value;
3453
3410
  if (!n)
3454
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3411
+ return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3455
3412
  if (this.bumpSpace(), this.isEOF())
3456
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3413
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
3457
3414
  switch (this.char()) {
3458
3415
  case 125:
3459
3416
  return this.bump(), {
3460
3417
  val: {
3461
- type: T.argument,
3418
+ type: L.argument,
3462
3419
  // value does not include the opening and closing braces.
3463
3420
  value: n,
3464
3421
  location: _(i, this.clonePosition())
@@ -3466,12 +3423,12 @@ var _n = (
3466
3423
  err: null
3467
3424
  };
3468
3425
  case 44:
3469
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
3426
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
3470
3427
  default:
3471
- return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3428
+ return this.error(g.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
3472
3429
  }
3473
3430
  }, e.prototype.parseIdentifierIfPossible = function() {
3474
- var t = this.clonePosition(), r = this.offset(), i = at(this.message, r), n = r + i.length;
3431
+ var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
3475
3432
  this.bumpTo(n);
3476
3433
  var o = this.clonePosition(), a = _(t, o);
3477
3434
  return { value: i, location: a };
@@ -3479,7 +3436,7 @@ var _n = (
3479
3436
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3480
3437
  switch (s) {
3481
3438
  case "":
3482
- return this.error(b.EXPECT_ARGUMENT_TYPE, _(a, h));
3439
+ return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, h));
3483
3440
  case "number":
3484
3441
  case "date":
3485
3442
  case "time": {
@@ -3490,9 +3447,9 @@ var _n = (
3490
3447
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3491
3448
  if (c.err)
3492
3449
  return c;
3493
- var f = vn(c.val);
3450
+ var f = pn(c.val);
3494
3451
  if (f.length === 0)
3495
- return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3452
+ return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3496
3453
  var p = _(l, this.clonePosition());
3497
3454
  u = { style: f, styleLocation: p };
3498
3455
  }
@@ -3500,34 +3457,34 @@ var _n = (
3500
3457
  if (y.err)
3501
3458
  return y;
3502
3459
  var d = _(n, this.clonePosition());
3503
- if (u && Ct(u?.style, "::", 0)) {
3504
- var v = bn(u.style.slice(2));
3460
+ if (u && At(u?.style, "::", 0)) {
3461
+ var v = mn(u.style.slice(2));
3505
3462
  if (s === "number") {
3506
3463
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3507
3464
  return c.err ? c : {
3508
- val: { type: T.number, value: i, location: d, style: c.val },
3465
+ val: { type: L.number, value: i, location: d, style: c.val },
3509
3466
  err: null
3510
3467
  };
3511
3468
  } else {
3512
3469
  if (v.length === 0)
3513
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3470
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3514
3471
  var H = v;
3515
- this.locale && (H = on(v, this.locale));
3472
+ this.locale && (H = Ki(v, this.locale));
3516
3473
  var f = {
3517
- type: K.dateTime,
3474
+ type: ee.dateTime,
3518
3475
  pattern: H,
3519
3476
  location: u.styleLocation,
3520
- parsedOptions: this.shouldParseSkeletons ? Ji(H) : {}
3521
- }, g = s === "date" ? T.date : T.time;
3477
+ parsedOptions: this.shouldParseSkeletons ? zi(H) : {}
3478
+ }, b = s === "date" ? L.date : L.time;
3522
3479
  return {
3523
- val: { type: g, value: i, location: d, style: f },
3480
+ val: { type: b, value: i, location: d, style: f },
3524
3481
  err: null
3525
3482
  };
3526
3483
  }
3527
3484
  }
3528
3485
  return {
3529
3486
  val: {
3530
- type: s === "number" ? T.number : s === "date" ? T.date : T.time,
3487
+ type: s === "number" ? L.number : s === "date" ? L.date : L.time,
3531
3488
  value: i,
3532
3489
  location: d,
3533
3490
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3538,40 +3495,40 @@ var _n = (
3538
3495
  case "plural":
3539
3496
  case "selectordinal":
3540
3497
  case "select": {
3541
- var L = this.clonePosition();
3498
+ var S = this.clonePosition();
3542
3499
  if (this.bumpSpace(), !this.bumpIf(","))
3543
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(L, Ae({}, L)));
3500
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, x({}, S)));
3544
3501
  this.bumpSpace();
3545
- var D = this.parseIdentifierIfPossible(), N = 0;
3546
- if (s !== "select" && D.value === "offset") {
3502
+ var R = this.parseIdentifierIfPossible(), N = 0;
3503
+ if (s !== "select" && R.value === "offset") {
3547
3504
  if (!this.bumpIf(":"))
3548
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3505
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3549
3506
  this.bumpSpace();
3550
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3507
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3551
3508
  if (c.err)
3552
3509
  return c;
3553
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
3510
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
3554
3511
  }
3555
- var $ = this.tryParsePluralOrSelectOptions(t, s, r, D);
3556
- if ($.err)
3557
- return $;
3512
+ var D = this.tryParsePluralOrSelectOptions(t, s, r, R);
3513
+ if (D.err)
3514
+ return D;
3558
3515
  var y = this.tryParseArgumentClose(n);
3559
3516
  if (y.err)
3560
3517
  return y;
3561
3518
  var W = _(n, this.clonePosition());
3562
3519
  return s === "select" ? {
3563
3520
  val: {
3564
- type: T.select,
3521
+ type: L.select,
3565
3522
  value: i,
3566
- options: It($.val),
3523
+ options: Pt(D.val),
3567
3524
  location: W
3568
3525
  },
3569
3526
  err: null
3570
3527
  } : {
3571
3528
  val: {
3572
- type: T.plural,
3529
+ type: L.plural,
3573
3530
  value: i,
3574
- options: It($.val),
3531
+ options: Pt(D.val),
3575
3532
  offset: N,
3576
3533
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3577
3534
  location: W
@@ -3580,10 +3537,10 @@ var _n = (
3580
3537
  };
3581
3538
  }
3582
3539
  default:
3583
- return this.error(b.INVALID_ARGUMENT_TYPE, _(a, h));
3540
+ return this.error(g.INVALID_ARGUMENT_TYPE, _(a, h));
3584
3541
  }
3585
3542
  }, e.prototype.tryParseArgumentClose = function(t) {
3586
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3543
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3587
3544
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3588
3545
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3589
3546
  var i = this.char();
@@ -3592,7 +3549,7 @@ var _n = (
3592
3549
  this.bump();
3593
3550
  var n = this.clonePosition();
3594
3551
  if (!this.bumpUntil("'"))
3595
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
3552
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
3596
3553
  this.bump();
3597
3554
  break;
3598
3555
  }
@@ -3622,16 +3579,16 @@ var _n = (
3622
3579
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3623
3580
  var i = [];
3624
3581
  try {
3625
- i = Ki(t);
3582
+ i = Zi(t);
3626
3583
  } catch {
3627
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3584
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3628
3585
  }
3629
3586
  return {
3630
3587
  val: {
3631
- type: K.number,
3588
+ type: ee.number,
3632
3589
  tokens: i,
3633
3590
  location: r,
3634
- parsedOptions: this.shouldParseSkeletons ? nn(i) : {}
3591
+ parsedOptions: this.shouldParseSkeletons ? qi(i) : {}
3635
3592
  },
3636
3593
  err: null
3637
3594
  };
@@ -3640,7 +3597,7 @@ var _n = (
3640
3597
  if (u.length === 0) {
3641
3598
  var c = this.clonePosition();
3642
3599
  if (r !== "select" && this.bumpIf("=")) {
3643
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3600
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3644
3601
  if (f.err)
3645
3602
  return f;
3646
3603
  l = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3648,11 +3605,11 @@ var _n = (
3648
3605
  break;
3649
3606
  }
3650
3607
  if (h.has(u))
3651
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3608
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3652
3609
  u === "other" && (a = !0), this.bumpSpace();
3653
3610
  var p = this.clonePosition();
3654
3611
  if (!this.bumpIf("{"))
3655
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3612
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3656
3613
  var y = this.parseMessage(t + 1, r, i);
3657
3614
  if (y.err)
3658
3615
  return y;
@@ -3667,7 +3624,7 @@ var _n = (
3667
3624
  }
3668
3625
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3669
3626
  }
3670
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3627
+ return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3671
3628
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3672
3629
  var i = 1, n = this.clonePosition();
3673
3630
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3679,7 +3636,7 @@ var _n = (
3679
3636
  break;
3680
3637
  }
3681
3638
  var h = _(n, this.clonePosition());
3682
- return o ? (a *= i, yn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3639
+ return o ? (a *= i, cn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3683
3640
  }, e.prototype.offset = function() {
3684
3641
  return this.position.offset;
3685
3642
  }, e.prototype.isEOF = function() {
@@ -3694,7 +3651,7 @@ var _n = (
3694
3651
  var t = this.position.offset;
3695
3652
  if (t >= this.message.length)
3696
3653
  throw Error("out of bound");
3697
- var r = yr(this.message, t);
3654
+ var r = cr(this.message, t);
3698
3655
  if (r === void 0)
3699
3656
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3700
3657
  return r;
@@ -3713,7 +3670,7 @@ var _n = (
3713
3670
  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);
3714
3671
  }
3715
3672
  }, e.prototype.bumpIf = function(t) {
3716
- if (Ct(this.message, t, this.offset())) {
3673
+ if (At(this.message, t, this.offset())) {
3717
3674
  for (var r = 0; r < t.length; r++)
3718
3675
  this.bump();
3719
3676
  return !0;
@@ -3735,7 +3692,7 @@ var _n = (
3735
3692
  break;
3736
3693
  }
3737
3694
  }, e.prototype.bumpSpace = function() {
3738
- for (; !this.isEOF() && br(this.char()); )
3695
+ for (; !this.isEOF() && mr(this.char()); )
3739
3696
  this.bump();
3740
3697
  }, e.prototype.peek = function() {
3741
3698
  if (this.isEOF())
@@ -3745,47 +3702,47 @@ var _n = (
3745
3702
  }, e;
3746
3703
  }()
3747
3704
  );
3748
- function ut(e) {
3705
+ function it(e) {
3749
3706
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3750
3707
  }
3751
- function En(e) {
3752
- return ut(e) || e === 47;
3708
+ function yn(e) {
3709
+ return it(e) || e === 47;
3753
3710
  }
3754
- function xn(e) {
3711
+ function bn(e) {
3755
3712
  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;
3756
3713
  }
3757
- function br(e) {
3714
+ function mr(e) {
3758
3715
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3759
3716
  }
3760
- function wn(e) {
3717
+ function gn(e) {
3761
3718
  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;
3762
3719
  }
3763
- function lt(e) {
3720
+ function nt(e) {
3764
3721
  e.forEach(function(t) {
3765
- if (delete t.location, ur(t) || lr(t))
3722
+ if (delete t.location, ir(t) || nr(t))
3766
3723
  for (var r in t.options)
3767
- delete t.options[r].location, lt(t.options[r].value);
3724
+ delete t.options[r].location, nt(t.options[r].value);
3768
3725
  else
3769
- or(t) && cr(t.style) || (sr(t) || ar(t)) && nt(t.style) ? delete t.style.location : hr(t) && lt(t.children);
3726
+ er(t) && sr(t.style) || (tr(t) || rr(t)) && Ke(t.style) ? delete t.style.location : or(t) && nt(t.children);
3770
3727
  });
3771
3728
  }
3772
- function Tn(e, t) {
3773
- t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3774
- var r = new _n(e, t).parse();
3729
+ function vn(e, t) {
3730
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3731
+ var r = new dn(e, t).parse();
3775
3732
  if (r.err) {
3776
- var i = SyntaxError(b[r.err.kind]);
3733
+ var i = SyntaxError(g[r.err.kind]);
3777
3734
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3778
3735
  }
3779
- return t?.captureLocation || lt(r.val), r.val;
3736
+ return t?.captureLocation || nt(r.val), r.val;
3780
3737
  }
3781
- var ee;
3738
+ var te;
3782
3739
  (function(e) {
3783
3740
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3784
- })(ee || (ee = {}));
3785
- var Ie = (
3741
+ })(te || (te = {}));
3742
+ var Oe = (
3786
3743
  /** @class */
3787
3744
  function(e) {
3788
- Ce(t, e);
3745
+ F(t, e);
3789
3746
  function t(r, i, n) {
3790
3747
  var o = e.call(this, r) || this;
3791
3748
  return o.code = i, o.originalMessage = n, o;
@@ -3794,48 +3751,48 @@ var Ie = (
3794
3751
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3795
3752
  }, t;
3796
3753
  }(Error)
3797
- ), Mt = (
3754
+ ), Bt = (
3798
3755
  /** @class */
3799
3756
  function(e) {
3800
- Ce(t, e);
3757
+ F(t, e);
3801
3758
  function t(r, i, n, o) {
3802
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3759
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3803
3760
  }
3804
3761
  return t;
3805
- }(Ie)
3806
- ), Ln = (
3762
+ }(Oe)
3763
+ ), _n = (
3807
3764
  /** @class */
3808
3765
  function(e) {
3809
- Ce(t, e);
3766
+ F(t, e);
3810
3767
  function t(r, i, n) {
3811
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3768
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3812
3769
  }
3813
3770
  return t;
3814
- }(Ie)
3815
- ), Sn = (
3771
+ }(Oe)
3772
+ ), xn = (
3816
3773
  /** @class */
3817
3774
  function(e) {
3818
- Ce(t, e);
3775
+ F(t, e);
3819
3776
  function t(r, i) {
3820
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3777
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3821
3778
  }
3822
3779
  return t;
3823
- }(Ie)
3780
+ }(Oe)
3824
3781
  ), B;
3825
3782
  (function(e) {
3826
3783
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3827
3784
  })(B || (B = {}));
3828
- function An(e) {
3785
+ function En(e) {
3829
3786
  return e.length < 2 ? e : e.reduce(function(t, r) {
3830
3787
  var i = t[t.length - 1];
3831
3788
  return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3832
3789
  }, []);
3833
3790
  }
3834
- function Pn(e) {
3791
+ function wn(e) {
3835
3792
  return typeof e == "function";
3836
3793
  }
3837
3794
  function Te(e, t, r, i, n, o, a) {
3838
- if (e.length === 1 && Pt(e[0]))
3795
+ if (e.length === 1 && wt(e[0]))
3839
3796
  return [
3840
3797
  {
3841
3798
  type: B.literal,
@@ -3844,14 +3801,14 @@ function Te(e, t, r, i, n, o, a) {
3844
3801
  ];
3845
3802
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3846
3803
  var l = u[h];
3847
- if (Pt(l)) {
3804
+ if (wt(l)) {
3848
3805
  s.push({
3849
3806
  type: B.literal,
3850
3807
  value: l.value
3851
3808
  });
3852
3809
  continue;
3853
3810
  }
3854
- if (Qi(l)) {
3811
+ if (Vi(l)) {
3855
3812
  typeof o == "number" && s.push({
3856
3813
  type: B.literal,
3857
3814
  value: r.getNumberFormat(t).format(o)
@@ -3860,89 +3817,89 @@ function Te(e, t, r, i, n, o, a) {
3860
3817
  }
3861
3818
  var c = l.value;
3862
3819
  if (!(n && c in n))
3863
- throw new Sn(c, a);
3820
+ throw new xn(c, a);
3864
3821
  var f = n[c];
3865
- if (Zi(l)) {
3822
+ if (ki(l)) {
3866
3823
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3867
3824
  type: typeof f == "string" ? B.literal : B.object,
3868
3825
  value: f
3869
3826
  });
3870
3827
  continue;
3871
3828
  }
3872
- if (sr(l)) {
3873
- var p = typeof l.style == "string" ? i.date[l.style] : nt(l.style) ? l.style.parsedOptions : void 0;
3829
+ if (tr(l)) {
3830
+ var p = typeof l.style == "string" ? i.date[l.style] : Ke(l.style) ? l.style.parsedOptions : void 0;
3874
3831
  s.push({
3875
3832
  type: B.literal,
3876
3833
  value: r.getDateTimeFormat(t, p).format(f)
3877
3834
  });
3878
3835
  continue;
3879
3836
  }
3880
- if (ar(l)) {
3881
- var p = typeof l.style == "string" ? i.time[l.style] : nt(l.style) ? l.style.parsedOptions : i.time.medium;
3837
+ if (rr(l)) {
3838
+ var p = typeof l.style == "string" ? i.time[l.style] : Ke(l.style) ? l.style.parsedOptions : i.time.medium;
3882
3839
  s.push({
3883
3840
  type: B.literal,
3884
3841
  value: r.getDateTimeFormat(t, p).format(f)
3885
3842
  });
3886
3843
  continue;
3887
3844
  }
3888
- if (or(l)) {
3889
- var p = typeof l.style == "string" ? i.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
3845
+ if (er(l)) {
3846
+ var p = typeof l.style == "string" ? i.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3890
3847
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3891
3848
  type: B.literal,
3892
3849
  value: r.getNumberFormat(t, p).format(f)
3893
3850
  });
3894
3851
  continue;
3895
3852
  }
3896
- if (hr(l)) {
3853
+ if (or(l)) {
3897
3854
  var y = l.children, d = l.value, v = n[d];
3898
- if (!Pn(v))
3899
- throw new Ln(d, "function", a);
3900
- var H = Te(y, t, r, i, n, o), g = v(H.map(function(N) {
3855
+ if (!wn(v))
3856
+ throw new _n(d, "function", a);
3857
+ var H = Te(y, t, r, i, n, o), b = v(H.map(function(N) {
3901
3858
  return N.value;
3902
3859
  }));
3903
- Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(N) {
3860
+ Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(N) {
3904
3861
  return {
3905
3862
  type: typeof N == "string" ? B.literal : B.object,
3906
3863
  value: N
3907
3864
  };
3908
3865
  }));
3909
3866
  }
3910
- if (ur(l)) {
3911
- var L = l.options[f] || l.options.other;
3912
- if (!L)
3913
- throw new Mt(l.value, f, Object.keys(l.options), a);
3914
- s.push.apply(s, Te(L.value, t, r, i, n));
3867
+ if (ir(l)) {
3868
+ var S = l.options[f] || l.options.other;
3869
+ if (!S)
3870
+ throw new Bt(l.value, f, Object.keys(l.options), a);
3871
+ s.push.apply(s, Te(S.value, t, r, i, n));
3915
3872
  continue;
3916
3873
  }
3917
- if (lr(l)) {
3918
- var L = l.options["=".concat(f)];
3919
- if (!L) {
3874
+ if (nr(l)) {
3875
+ var S = l.options["=".concat(f)];
3876
+ if (!S) {
3920
3877
  if (!Intl.PluralRules)
3921
- throw new Ie(`Intl.PluralRules is not available in this environment.
3878
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3922
3879
  Try polyfilling it using "@formatjs/intl-pluralrules"
3923
- `, ee.MISSING_INTL_API, a);
3924
- var D = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3925
- L = l.options[D] || l.options.other;
3880
+ `, te.MISSING_INTL_API, a);
3881
+ var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3882
+ S = l.options[R] || l.options.other;
3926
3883
  }
3927
- if (!L)
3928
- throw new Mt(l.value, f, Object.keys(l.options), a);
3929
- s.push.apply(s, Te(L.value, t, r, i, n, f - (l.offset || 0)));
3884
+ if (!S)
3885
+ throw new Bt(l.value, f, Object.keys(l.options), a);
3886
+ s.push.apply(s, Te(S.value, t, r, i, n, f - (l.offset || 0)));
3930
3887
  continue;
3931
3888
  }
3932
3889
  }
3933
- return An(s);
3890
+ return En(s);
3934
3891
  }
3935
- function Hn(e, t) {
3936
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3937
- return r[i] = M(M({}, e[i]), t[i] || {}), r;
3892
+ function Tn(e, t) {
3893
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3894
+ return r[i] = x(x({}, e[i]), t[i] || {}), r;
3938
3895
  }, {})) : e;
3939
3896
  }
3940
- function Bn(e, t) {
3897
+ function Ln(e, t) {
3941
3898
  return t ? Object.keys(e).reduce(function(r, i) {
3942
- return r[i] = Hn(e[i], t[i]), r;
3943
- }, M({}, e)) : e;
3899
+ return r[i] = Tn(e[i], t[i]), r;
3900
+ }, x({}, e)) : e;
3944
3901
  }
3945
- function We(e) {
3902
+ function je(e) {
3946
3903
  return {
3947
3904
  create: function() {
3948
3905
  return {
@@ -3956,39 +3913,39 @@ function We(e) {
3956
3913
  }
3957
3914
  };
3958
3915
  }
3959
- function On(e) {
3916
+ function Sn(e) {
3960
3917
  return e === void 0 && (e = {
3961
3918
  number: {},
3962
3919
  dateTime: {},
3963
3920
  pluralRules: {}
3964
3921
  }), {
3965
- getNumberFormat: je(function() {
3922
+ getNumberFormat: $e(function() {
3966
3923
  for (var t, r = [], i = 0; i < arguments.length; i++)
3967
3924
  r[i] = arguments[i];
3968
- return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
3925
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3969
3926
  }, {
3970
- cache: We(e.number),
3971
- strategy: ke.variadic
3927
+ cache: je(e.number),
3928
+ strategy: Ge.variadic
3972
3929
  }),
3973
- getDateTimeFormat: je(function() {
3930
+ getDateTimeFormat: $e(function() {
3974
3931
  for (var t, r = [], i = 0; i < arguments.length; i++)
3975
3932
  r[i] = arguments[i];
3976
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
3933
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3977
3934
  }, {
3978
- cache: We(e.dateTime),
3979
- strategy: ke.variadic
3935
+ cache: je(e.dateTime),
3936
+ strategy: Ge.variadic
3980
3937
  }),
3981
- getPluralRules: je(function() {
3938
+ getPluralRules: $e(function() {
3982
3939
  for (var t, r = [], i = 0; i < arguments.length; i++)
3983
3940
  r[i] = arguments[i];
3984
- return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
3941
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3985
3942
  }, {
3986
- cache: We(e.pluralRules),
3987
- strategy: ke.variadic
3943
+ cache: je(e.pluralRules),
3944
+ strategy: Ge.variadic
3988
3945
  })
3989
3946
  };
3990
3947
  }
3991
- var Cn = (
3948
+ var An = (
3992
3949
  /** @class */
3993
3950
  function() {
3994
3951
  function e(t, r, i, n) {
@@ -4020,13 +3977,13 @@ var Cn = (
4020
3977
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4021
3978
  var a = n || {};
4022
3979
  a.formatters;
4023
- var s = Gi(a, ["formatters"]);
4024
- this.ast = e.__parse(t, M(M({}, s), { locale: this.resolvedLocale }));
3980
+ var s = ni(a, ["formatters"]);
3981
+ this.ast = e.__parse(t, x(x({}, s), { locale: this.resolvedLocale }));
4025
3982
  } else
4026
3983
  this.ast = t;
4027
3984
  if (!Array.isArray(this.ast))
4028
3985
  throw new TypeError("A message must be provided as a String or AST.");
4029
- this.formats = Bn(e.formats, i), this.formatters = n && n.formatters || On(this.formatterCache);
3986
+ this.formats = Ln(e.formats, i), this.formatters = n && n.formatters || Sn(this.formatterCache);
4030
3987
  }
4031
3988
  return Object.defineProperty(e, "defaultLocale", {
4032
3989
  get: function() {
@@ -4039,7 +3996,7 @@ var Cn = (
4039
3996
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4040
3997
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4041
3998
  }
4042
- }, e.__parse = Tn, e.formats = {
3999
+ }, e.__parse = vn, e.formats = {
4043
4000
  number: {
4044
4001
  integer: {
4045
4002
  maximumFractionDigits: 0
@@ -4100,7 +4057,7 @@ var Cn = (
4100
4057
  }, e;
4101
4058
  }()
4102
4059
  );
4103
- function In(e, t) {
4060
+ function Pn(e, t) {
4104
4061
  if (t == null)
4105
4062
  return;
4106
4063
  if (t in e)
@@ -4121,92 +4078,92 @@ function In(e, t) {
4121
4078
  i = void 0;
4122
4079
  return i;
4123
4080
  }
4124
- const j = {}, Nn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
4081
+ const j = {}, Hn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), pr = (e, t) => {
4125
4082
  if (t == null)
4126
4083
  return;
4127
4084
  if (t in j && e in j[t])
4128
4085
  return j[t][e];
4129
- const r = Ne(t);
4086
+ const r = Ce(t);
4130
4087
  for (let i = 0; i < r.length; i++) {
4131
- const n = r[i], o = Rn(n, e);
4088
+ const n = r[i], o = On(n, e);
4132
4089
  if (o)
4133
- return Nn(e, t, o);
4090
+ return Hn(e, t, o);
4134
4091
  }
4135
4092
  };
4136
- let mt;
4137
- const me = Oe({});
4138
- function Mn(e) {
4139
- return mt[e] || null;
4093
+ let ut;
4094
+ const me = Be({});
4095
+ function Bn(e) {
4096
+ return ut[e] || null;
4140
4097
  }
4141
- function _r(e) {
4142
- return e in mt;
4098
+ function dr(e) {
4099
+ return e in ut;
4143
4100
  }
4144
- function Rn(e, t) {
4145
- if (!_r(e))
4101
+ function On(e, t) {
4102
+ if (!dr(e))
4146
4103
  return null;
4147
- const r = Mn(e);
4148
- return In(r, t);
4104
+ const r = Bn(e);
4105
+ return Pn(r, t);
4149
4106
  }
4150
- function Dn(e) {
4107
+ function Cn(e) {
4151
4108
  if (e == null)
4152
4109
  return;
4153
- const t = Ne(e);
4110
+ const t = Ce(e);
4154
4111
  for (let r = 0; r < t.length; r++) {
4155
4112
  const i = t[r];
4156
- if (_r(i))
4113
+ if (dr(i))
4157
4114
  return i;
4158
4115
  }
4159
4116
  }
4160
- function Er(e, ...t) {
4161
- delete j[e], me.update((r) => (r[e] = Ui.all([r[e] || {}, ...t]), r));
4117
+ function yr(e, ...t) {
4118
+ delete j[e], me.update((r) => (r[e] = Mi.all([r[e] || {}, ...t]), r));
4162
4119
  }
4163
- ie(
4120
+ ne(
4164
4121
  [me],
4165
4122
  ([e]) => Object.keys(e)
4166
4123
  );
4167
- me.subscribe((e) => mt = e);
4124
+ me.subscribe((e) => ut = e);
4168
4125
  const Le = {};
4169
- function $n(e, t) {
4126
+ function In(e, t) {
4170
4127
  Le[e].delete(t), Le[e].size === 0 && delete Le[e];
4171
4128
  }
4172
- function xr(e) {
4129
+ function br(e) {
4173
4130
  return Le[e];
4174
4131
  }
4175
- function Un(e) {
4176
- return Ne(e).map((t) => {
4177
- const r = xr(t);
4132
+ function Nn(e) {
4133
+ return Ce(e).map((t) => {
4134
+ const r = br(t);
4178
4135
  return [t, r ? [...r] : []];
4179
4136
  }).filter(([, t]) => t.length > 0);
4180
4137
  }
4181
- function ht(e) {
4182
- return e == null ? !1 : Ne(e).some(
4138
+ function ot(e) {
4139
+ return e == null ? !1 : Ce(e).some(
4183
4140
  (t) => {
4184
4141
  var r;
4185
- return (r = xr(t)) == null ? void 0 : r.size;
4142
+ return (r = br(t)) == null ? void 0 : r.size;
4186
4143
  }
4187
4144
  );
4188
4145
  }
4189
- function Gn(e, t) {
4146
+ function Mn(e, t) {
4190
4147
  return Promise.all(
4191
- t.map((i) => ($n(e, i), i().then((n) => n.default || n)))
4192
- ).then((i) => Er(e, ...i));
4193
- }
4194
- const ae = {};
4195
- function wr(e) {
4196
- if (!ht(e))
4197
- return e in ae ? ae[e] : Promise.resolve();
4198
- const t = Un(e);
4199
- return ae[e] = Promise.all(
4148
+ t.map((i) => (In(e, i), i().then((n) => n.default || n)))
4149
+ ).then((i) => yr(e, ...i));
4150
+ }
4151
+ const ue = {};
4152
+ function gr(e) {
4153
+ if (!ot(e))
4154
+ return e in ue ? ue[e] : Promise.resolve();
4155
+ const t = Nn(e);
4156
+ return ue[e] = Promise.all(
4200
4157
  t.map(
4201
- ([r, i]) => Gn(r, i)
4158
+ ([r, i]) => Mn(r, i)
4202
4159
  )
4203
4160
  ).then(() => {
4204
- if (ht(e))
4205
- return wr(e);
4206
- delete ae[e];
4207
- }), ae[e];
4161
+ if (ot(e))
4162
+ return gr(e);
4163
+ delete ue[e];
4164
+ }), ue[e];
4208
4165
  }
4209
- const Fn = {
4166
+ const Rn = {
4210
4167
  number: {
4211
4168
  scientific: { notation: "scientific" },
4212
4169
  engineering: { notation: "engineering" },
@@ -4235,135 +4192,135 @@ const Fn = {
4235
4192
  timeZoneName: "short"
4236
4193
  }
4237
4194
  }
4238
- }, jn = {
4195
+ }, Dn = {
4239
4196
  fallbackLocale: null,
4240
4197
  loadingDelay: 200,
4241
- formats: Fn,
4198
+ formats: Rn,
4242
4199
  warnOnMissingMessages: !0,
4243
4200
  handleMissingMessage: void 0,
4244
4201
  ignoreTag: !0
4245
- }, kn = jn;
4246
- function te() {
4247
- return kn;
4202
+ }, Un = Dn;
4203
+ function re() {
4204
+ return Un;
4248
4205
  }
4249
- const ze = Oe(!1);
4250
- var Vn = Object.defineProperty, Wn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
4206
+ const ke = Be(!1);
4207
+ var $n = Object.defineProperty, Gn = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vn = (e, t) => {
4251
4208
  for (var r in t || (t = {}))
4252
- Xn.call(t, r) && Dt(e, r, t[r]);
4253
- if (Rt)
4254
- for (var r of Rt(t))
4255
- Zn.call(t, r) && Dt(e, r, t[r]);
4209
+ jn.call(t, r) && Ct(e, r, t[r]);
4210
+ if (Ot)
4211
+ for (var r of Ot(t))
4212
+ kn.call(t, r) && Ct(e, r, t[r]);
4256
4213
  return e;
4257
- }, Yn = (e, t) => Wn(e, zn(t));
4258
- let ct;
4259
- const Pe = Oe(null);
4260
- function $t(e) {
4214
+ }, Wn = (e, t) => Gn(e, Fn(t));
4215
+ let st;
4216
+ const Ae = Be(null);
4217
+ function It(e) {
4261
4218
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4262
4219
  }
4263
- function Ne(e, t = te().fallbackLocale) {
4264
- const r = $t(e);
4265
- return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4220
+ function Ce(e, t = re().fallbackLocale) {
4221
+ const r = It(e);
4222
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4266
4223
  }
4267
4224
  function X() {
4268
- return ct ?? void 0;
4225
+ return st ?? void 0;
4269
4226
  }
4270
- Pe.subscribe((e) => {
4271
- ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4227
+ Ae.subscribe((e) => {
4228
+ st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4272
4229
  });
4273
- const Jn = (e) => {
4274
- if (e && Dn(e) && ht(e)) {
4275
- const { loadingDelay: t } = te();
4230
+ const zn = (e) => {
4231
+ if (e && Cn(e) && ot(e)) {
4232
+ const { loadingDelay: t } = re();
4276
4233
  let r;
4277
4234
  return typeof window < "u" && X() != null && t ? r = window.setTimeout(
4278
- () => ze.set(!0),
4235
+ () => ke.set(!0),
4279
4236
  t
4280
- ) : ze.set(!0), wr(e).then(() => {
4281
- Pe.set(e);
4237
+ ) : ke.set(!0), gr(e).then(() => {
4238
+ Ae.set(e);
4282
4239
  }).finally(() => {
4283
- clearTimeout(r), ze.set(!1);
4240
+ clearTimeout(r), ke.set(!1);
4284
4241
  });
4285
4242
  }
4286
- return Pe.set(e);
4287
- }, ne = Yn(Qn({}, Pe), {
4288
- set: Jn
4289
- }), Me = (e) => {
4243
+ return Ae.set(e);
4244
+ }, oe = Wn(Vn({}, Ae), {
4245
+ set: zn
4246
+ }), Ie = (e) => {
4290
4247
  const t = /* @__PURE__ */ Object.create(null);
4291
4248
  return (i) => {
4292
4249
  const n = JSON.stringify(i);
4293
4250
  return n in t ? t[n] : t[n] = e(i);
4294
4251
  };
4295
4252
  };
4296
- var qn = Object.defineProperty, He = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4253
+ var Xn = Object.defineProperty, Pe = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4297
4254
  for (var r in t || (t = {}))
4298
- Tr.call(t, r) && Ut(e, r, t[r]);
4299
- if (He)
4300
- for (var r of He(t))
4301
- Lr.call(t, r) && Ut(e, r, t[r]);
4255
+ vr.call(t, r) && Nt(e, r, t[r]);
4256
+ if (Pe)
4257
+ for (var r of Pe(t))
4258
+ _r.call(t, r) && Nt(e, r, t[r]);
4302
4259
  return e;
4303
- }, oe = (e, t) => {
4260
+ }, se = (e, t) => {
4304
4261
  var r = {};
4305
4262
  for (var i in e)
4306
- Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4307
- if (e != null && He)
4308
- for (var i of He(e))
4309
- t.indexOf(i) < 0 && Lr.call(e, i) && (r[i] = e[i]);
4263
+ vr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4264
+ if (e != null && Pe)
4265
+ for (var i of Pe(e))
4266
+ t.indexOf(i) < 0 && _r.call(e, i) && (r[i] = e[i]);
4310
4267
  return r;
4311
4268
  };
4312
- const ce = (e, t) => {
4313
- const { formats: r } = te();
4269
+ const fe = (e, t) => {
4270
+ const { formats: r } = re();
4314
4271
  if (e in r && t in r[e])
4315
4272
  return r[e][t];
4316
4273
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4317
- }, Kn = Me(
4274
+ }, Zn = Ie(
4318
4275
  (e) => {
4319
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4276
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4320
4277
  if (r == null)
4321
4278
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4322
- return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
4279
+ return i && (n = fe("number", i)), new Intl.NumberFormat(r, n);
4323
4280
  }
4324
- ), eo = Me(
4281
+ ), Qn = Ie(
4325
4282
  (e) => {
4326
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4283
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4327
4284
  if (r == null)
4328
4285
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4329
- return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
4286
+ return i ? n = fe("date", i) : Object.keys(n).length === 0 && (n = fe("date", "short")), new Intl.DateTimeFormat(r, n);
4330
4287
  }
4331
- ), to = Me(
4288
+ ), Yn = Ie(
4332
4289
  (e) => {
4333
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4290
+ var t = e, { locale: r, format: i } = t, n = se(t, ["locale", "format"]);
4334
4291
  if (r == null)
4335
4292
  throw new Error(
4336
4293
  '[svelte-i18n] A "locale" must be set to format time values'
4337
4294
  );
4338
- return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
4295
+ return i ? n = fe("time", i) : Object.keys(n).length === 0 && (n = fe("time", "short")), new Intl.DateTimeFormat(r, n);
4339
4296
  }
4340
- ), ro = (e = {}) => {
4297
+ ), Jn = (e = {}) => {
4341
4298
  var t = e, {
4342
4299
  locale: r = X()
4343
- } = t, i = oe(t, [
4300
+ } = t, i = se(t, [
4344
4301
  "locale"
4345
4302
  ]);
4346
- return Kn(pt({ locale: r }, i));
4347
- }, io = (e = {}) => {
4303
+ return Zn(lt({ locale: r }, i));
4304
+ }, qn = (e = {}) => {
4348
4305
  var t = e, {
4349
4306
  locale: r = X()
4350
- } = t, i = oe(t, [
4307
+ } = t, i = se(t, [
4351
4308
  "locale"
4352
4309
  ]);
4353
- return eo(pt({ locale: r }, i));
4354
- }, no = (e = {}) => {
4310
+ return Qn(lt({ locale: r }, i));
4311
+ }, Kn = (e = {}) => {
4355
4312
  var t = e, {
4356
4313
  locale: r = X()
4357
- } = t, i = oe(t, [
4314
+ } = t, i = se(t, [
4358
4315
  "locale"
4359
4316
  ]);
4360
- return to(pt({ locale: r }, i));
4361
- }, oo = Me(
4317
+ return Yn(lt({ locale: r }, i));
4318
+ }, eo = Ie(
4362
4319
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4363
- (e, t = X()) => new Cn(e, t, te().formats, {
4364
- ignoreTag: te().ignoreTag
4320
+ (e, t = X()) => new An(e, t, re().formats, {
4321
+ ignoreTag: re().ignoreTag
4365
4322
  })
4366
- ), so = (e, t = {}) => {
4323
+ ), to = (e, t = {}) => {
4367
4324
  var r, i, n, o;
4368
4325
  let a = t;
4369
4326
  typeof e == "object" && (a = e, e = a.id);
@@ -4376,9 +4333,9 @@ const ce = (e, t) => {
4376
4333
  throw new Error(
4377
4334
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4378
4335
  );
4379
- let l = vr(e, h);
4336
+ let l = pr(e, h);
4380
4337
  if (!l)
4381
- l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4338
+ l = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4382
4339
  else if (typeof l != "string")
4383
4340
  return console.warn(
4384
4341
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4387,7 +4344,7 @@ const ce = (e, t) => {
4387
4344
  return l;
4388
4345
  let c = l;
4389
4346
  try {
4390
- c = oo(l, h).format(s);
4347
+ c = eo(l, h).format(s);
4391
4348
  } catch (f) {
4392
4349
  f instanceof Error && console.warn(
4393
4350
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4395,20 +4352,20 @@ const ce = (e, t) => {
4395
4352
  );
4396
4353
  }
4397
4354
  return c;
4398
- }, ao = (e, t) => no(t).format(e), uo = (e, t) => io(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = X()) => vr(e, t), co = ie([ne, me], () => so);
4399
- ie([ne], () => ao);
4400
- ie([ne], () => uo);
4401
- ie([ne], () => lo);
4402
- ie([ne, me], () => ho);
4403
- window.emWidgets = { topic: xi };
4404
- const fo = (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)), Fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4405
- function mo(e, t) {
4355
+ }, ro = (e, t) => Kn(t).format(e), io = (e, t) => qn(t).format(e), no = (e, t) => Jn(t).format(e), oo = (e, t = X()) => pr(e, t), so = ne([oe, me], () => to);
4356
+ ne([oe], () => ro);
4357
+ ne([oe], () => io);
4358
+ ne([oe], () => no);
4359
+ ne([oe, me], () => oo);
4360
+ window.emWidgets = { topic: gi };
4361
+ const ao = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4362
+ function uo(e, t) {
4406
4363
  if (e) {
4407
4364
  const r = document.createElement("style");
4408
4365
  r.innerHTML = t, e.appendChild(r);
4409
4366
  }
4410
4367
  }
4411
- function po(e, t) {
4368
+ function lo(e, t) {
4412
4369
  const r = new URL(t);
4413
4370
  fetch(r.href).then((i) => i.text()).then((i) => {
4414
4371
  const n = document.createElement("style");
@@ -4417,7 +4374,7 @@ function po(e, t) {
4417
4374
  console.error("There was an error while trying to load client styling from URL", i);
4418
4375
  });
4419
4376
  }
4420
- function yo(e, t, r) {
4377
+ function ho(e, t, r) {
4421
4378
  if (window.emMessageBus) {
4422
4379
  const i = document.createElement("style");
4423
4380
  window.emMessageBus.subscribe(t, (n) => {
@@ -4425,13 +4382,13 @@ function yo(e, t, r) {
4425
4382
  });
4426
4383
  }
4427
4384
  }
4428
- function Gt(e, t) {
4429
- Er(e, t);
4385
+ function Mt(e, t) {
4386
+ yr(e, t);
4430
4387
  }
4431
- function go(e) {
4432
- ne.set(e);
4388
+ function co(e) {
4389
+ oe.set(e);
4433
4390
  }
4434
- const Xe = {
4391
+ const Ve = {
4435
4392
  en: {
4436
4393
  expandLimits: "Limit history",
4437
4394
  daily: "per day",
@@ -4662,37 +4619,37 @@ const Xe = {
4662
4619
  historyLimitTypeLoss: "Kayıp Limiti"
4663
4620
  }
4664
4621
  };
4665
- function bo(e) {
4666
- kr(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)}}');
4622
+ function fo(e) {
4623
+ Ur(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)}}');
4667
4624
  }
4668
- function Ft(e, t, r) {
4625
+ function Rt(e, t, r) {
4669
4626
  const i = e.slice();
4670
4627
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4671
4628
  }
4672
- function vo(e) {
4629
+ function mo(e) {
4673
4630
  let t, r, i, n = (
4674
4631
  /*$_*/
4675
4632
  e[9]("expandLimits") + ""
4676
- ), o, a, s, h, u, l, c, f, p, y = vt(
4633
+ ), o, a, s, h, u, l, c, f, p, y = pt(
4677
4634
  /*lazyShowedHistoryArray*/
4678
4635
  e[7]
4679
4636
  ), d = [];
4680
4637
  for (let v = 0; v < y.length; v += 1)
4681
- d[v] = jt(Ft(e, y, v));
4638
+ d[v] = Dt(Rt(e, y, v));
4682
4639
  return {
4683
4640
  c() {
4684
- t = A("div"), r = A("div"), i = A("button"), o = R(n), a = Ze(), s = _e("svg"), h = _e("path"), u = _e("path"), l = Ze(), c = A("div");
4641
+ t = A("div"), r = A("div"), i = A("button"), o = M(n), a = We(), s = _e("svg"), h = _e("path"), u = _e("path"), l = We(), c = A("div");
4685
4642
  for (let v = 0; v < d.length; v += 1)
4686
4643
  d[v].c();
4687
4644
  E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(s, "class", "ExpandArrow " + (/*isDesktop*/
4688
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), Qr(s, "fill", "var(--emw--color-primary, #22B04E)"), ge(
4645
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), Vr(s, "fill", "var(--emw--color-primary, #22B04E)"), be(
4689
4646
  s,
4690
4647
  "extended",
4691
4648
  /*extended*/
4692
4649
  e[8]
4693
4650
  ), E(i, "class", "ExpandButton " + (/*isDesktop*/
4694
4651
  e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
4695
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), ge(
4652
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), be(
4696
4653
  c,
4697
4654
  "hidden",
4698
4655
  /*hidden*/
@@ -4700,10 +4657,10 @@ function vo(e) {
4700
4657
  ), E(r, "class", "HistoryWrapper svelte-1wi0iai"), E(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
4701
4658
  },
4702
4659
  m(v, H) {
4703
- V(v, t, H), x(t, r), x(r, i), x(i, o), x(i, a), x(i, s), x(s, h), x(s, u), x(r, l), x(r, c);
4704
- for (let g = 0; g < d.length; g += 1)
4705
- d[g] && d[g].m(c, null);
4706
- f || (p = Xr(
4660
+ V(v, t, H), w(t, r), w(r, i), w(i, o), w(i, a), w(i, s), w(s, h), w(s, u), w(r, l), w(r, c);
4661
+ for (let b = 0; b < d.length; b += 1)
4662
+ d[b] && d[b].m(c, null);
4663
+ f || (p = jr(
4707
4664
  i,
4708
4665
  "click",
4709
4666
  /*toggleHistoryDisplayArea*/
@@ -4714,28 +4671,28 @@ function vo(e) {
4714
4671
  if (H[0] & /*$_*/
4715
4672
  512 && n !== (n = /*$_*/
4716
4673
  v[9]("expandLimits") + "") && k(o, n), H[0] & /*extended*/
4717
- 256 && ge(
4674
+ 256 && be(
4718
4675
  s,
4719
4676
  "extended",
4720
4677
  /*extended*/
4721
4678
  v[8]
4722
4679
  ), H[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4723
4680
  650) {
4724
- y = vt(
4681
+ y = pt(
4725
4682
  /*lazyShowedHistoryArray*/
4726
4683
  v[7]
4727
4684
  );
4728
- let g;
4729
- for (g = 0; g < y.length; g += 1) {
4730
- const L = Ft(v, y, g);
4731
- d[g] ? d[g].p(L, H) : (d[g] = jt(L), d[g].c(), d[g].m(c, null));
4685
+ let b;
4686
+ for (b = 0; b < y.length; b += 1) {
4687
+ const S = Rt(v, y, b);
4688
+ d[b] ? d[b].p(S, H) : (d[b] = Dt(S), d[b].c(), d[b].m(c, null));
4732
4689
  }
4733
- for (; g < d.length; g += 1)
4734
- d[g].d(1);
4690
+ for (; b < d.length; b += 1)
4691
+ d[b].d(1);
4735
4692
  d.length = y.length;
4736
4693
  }
4737
4694
  H[0] & /*hidden*/
4738
- 32 && ge(
4695
+ 32 && be(
4739
4696
  c,
4740
4697
  "hidden",
4741
4698
  /*hidden*/
@@ -4743,14 +4700,14 @@ function vo(e) {
4743
4700
  );
4744
4701
  },
4745
4702
  d(v) {
4746
- v && F(t), zr(d, v), f = !1, p();
4703
+ v && G(t), Fr(d, v), f = !1, p();
4747
4704
  }
4748
4705
  };
4749
4706
  }
4750
- function _o(e) {
4707
+ function po(e) {
4751
4708
  return { c: O, m: O, p: O, d: O };
4752
4709
  }
4753
- function Eo(e) {
4710
+ function yo(e) {
4754
4711
  let t, r = (
4755
4712
  /*lang*/
4756
4713
  (e[0] ? (
@@ -4760,10 +4717,10 @@ function Eo(e) {
4760
4717
  ), i;
4761
4718
  return {
4762
4719
  c() {
4763
- t = A("p"), i = R(r), E(t, "class", "svelte-1wi0iai");
4720
+ t = A("p"), i = M(r), E(t, "class", "svelte-1wi0iai");
4764
4721
  },
4765
4722
  m(n, o) {
4766
- V(n, t, o), x(t, i);
4723
+ V(n, t, o), w(t, i);
4767
4724
  },
4768
4725
  p(n, o) {
4769
4726
  o[0] & /*lang, $_*/
@@ -4774,11 +4731,11 @@ function Eo(e) {
4774
4731
  ) : "500 Server Error") + "") && k(i, r);
4775
4732
  },
4776
4733
  d(n) {
4777
- n && F(t);
4734
+ n && G(t);
4778
4735
  }
4779
4736
  };
4780
4737
  }
4781
- function xo(e) {
4738
+ function bo(e) {
4782
4739
  let t, r, i, n = (
4783
4740
  /*history*/
4784
4741
  e[37].type + ""
@@ -4791,10 +4748,10 @@ function xo(e) {
4791
4748
  ), c;
4792
4749
  return {
4793
4750
  c() {
4794
- t = A("div"), r = A("span"), i = A("span"), o = R(n), a = A("span"), h = R(s), u = A("span"), c = R(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4751
+ t = A("div"), r = A("span"), i = A("span"), o = M(n), a = A("span"), h = M(s), u = A("span"), c = M(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4795
4752
  },
4796
4753
  m(f, p) {
4797
- V(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
4754
+ V(f, t, p), w(t, r), w(r, i), w(i, o), w(r, a), w(a, h), w(t, u), w(u, c);
4798
4755
  },
4799
4756
  p(f, p) {
4800
4757
  p[0] & /*lazyShowedHistoryArray*/
@@ -4806,11 +4763,11 @@ function xo(e) {
4806
4763
  f[37].date + "") && k(c, l);
4807
4764
  },
4808
4765
  d(f) {
4809
- f && F(t);
4766
+ f && G(t);
4810
4767
  }
4811
4768
  };
4812
4769
  }
4813
- function wo(e) {
4770
+ function go(e) {
4814
4771
  let t, r, i, n = (
4815
4772
  /*history*/
4816
4773
  e[37].type + ""
@@ -4823,10 +4780,10 @@ function wo(e) {
4823
4780
  ), c;
4824
4781
  return {
4825
4782
  c() {
4826
- t = A("div"), r = A("span"), i = A("span"), o = R(n), a = A("span"), h = R(s), u = A("span"), c = R(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4783
+ t = A("div"), r = A("span"), i = A("span"), o = M(n), a = A("span"), h = M(s), u = A("span"), c = M(l), E(i, "class", "LimitType svelte-1wi0iai"), E(a, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4827
4784
  },
4828
4785
  m(f, p) {
4829
- V(f, t, p), x(t, r), x(r, i), x(i, o), x(r, a), x(a, h), x(t, u), x(u, c);
4786
+ V(f, t, p), w(t, r), w(r, i), w(i, o), w(r, a), w(a, h), w(t, u), w(u, c);
4830
4787
  },
4831
4788
  p(f, p) {
4832
4789
  p[0] & /*lazyShowedHistoryArray*/
@@ -4838,11 +4795,11 @@ function wo(e) {
4838
4795
  f[37].date + "") && k(c, l);
4839
4796
  },
4840
4797
  d(f) {
4841
- f && F(t);
4798
+ f && G(t);
4842
4799
  }
4843
4800
  };
4844
4801
  }
4845
- function jt(e) {
4802
+ function Dt(e) {
4846
4803
  let t, r, i, n = (
4847
4804
  /*index*/
4848
4805
  e[39]
@@ -4850,7 +4807,7 @@ function jt(e) {
4850
4807
  function o(l, c) {
4851
4808
  return (
4852
4809
  /*history*/
4853
- l[37].removed ? wo : xo
4810
+ l[37].removed ? go : bo
4854
4811
  );
4855
4812
  }
4856
4813
  let a = o(e), s = a(e);
@@ -4863,18 +4820,18 @@ function jt(e) {
4863
4820
  );
4864
4821
  return {
4865
4822
  c() {
4866
- t = A("div"), s.c(), r = Ze(), E(t, "class", i = gt(
4823
+ t = A("div"), s.c(), r = We(), E(t, "class", i = ft(
4867
4824
  /*index*/
4868
4825
  e[39] > +/*numberofentries*/
4869
4826
  e[1] ? "LimitContainer" : ""
4870
4827
  ) + " svelte-1wi0iai");
4871
4828
  },
4872
4829
  m(l, c) {
4873
- V(l, t, c), s.m(t, null), x(t, r), h();
4830
+ V(l, t, c), s.m(t, null), w(t, r), h();
4874
4831
  },
4875
4832
  p(l, c) {
4876
4833
  e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4877
- 2 && i !== (i = gt(
4834
+ 2 && i !== (i = ft(
4878
4835
  /*index*/
4879
4836
  e[39] > +/*numberofentries*/
4880
4837
  e[1] ? "LimitContainer" : ""
@@ -4883,18 +4840,18 @@ function jt(e) {
4883
4840
  e[39], h());
4884
4841
  },
4885
4842
  d(l) {
4886
- l && F(t), s.d(), u();
4843
+ l && G(t), s.d(), u();
4887
4844
  }
4888
4845
  };
4889
4846
  }
4890
- function To(e) {
4847
+ function vo(e) {
4891
4848
  let t;
4892
4849
  function r(o, a) {
4893
4850
  return (
4894
4851
  /*hasErrors*/
4895
- o[6] ? Eo : (
4852
+ o[6] ? yo : (
4896
4853
  /*isLoading*/
4897
- o[4] ? _o : vo
4854
+ o[4] ? po : mo
4898
4855
  )
4899
4856
  );
4900
4857
  }
@@ -4912,47 +4869,47 @@ function To(e) {
4912
4869
  i: O,
4913
4870
  o: O,
4914
4871
  d(o) {
4915
- o && F(t), n.d(), e[23](null);
4872
+ o && G(t), n.d(), e[23](null);
4916
4873
  }
4917
4874
  };
4918
4875
  }
4919
- function Lo(e, t, r) {
4876
+ function _o(e, t, r) {
4920
4877
  let i;
4921
- jr(e, co, (m) => r(9, i = m));
4922
- let n = window.navigator.userAgent, o = !fo(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, g, L = new Array(), D = parseInt(c, 10), N = !1, $ = !0, W = [], pe = [], de = !0, Re = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4923
- const Ar = () => {
4924
- fetch(H).then((w) => w.json()).then((w) => {
4925
- Object.keys(w).forEach((I) => {
4926
- Gt(I, w[I]);
4878
+ Dr(e, so, (m) => r(9, i = m));
4879
+ let n = window.navigator.userAgent, o = !ao(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: v } = t, { translationurl: H = "" } = t, b, S = new Array(), R = parseInt(c, 10), N = !1, D = !0, W = [], pe = [], de = !0, Ne = !1, ae = { EUR: "€", RON: "lei", TRY: "₺" };
4880
+ const Er = () => {
4881
+ fetch(H).then((T) => T.json()).then((T) => {
4882
+ Object.keys(T).forEach((I) => {
4883
+ Mt(I, T[I]);
4927
4884
  });
4928
- }).catch((w) => {
4929
- console.log(w);
4885
+ }).catch((T) => {
4886
+ console.log(T);
4930
4887
  });
4931
4888
  };
4932
- Object.keys(Xe).forEach((m) => {
4933
- Gt(m, Xe[m]);
4889
+ Object.keys(Ve).forEach((m) => {
4890
+ Mt(m, Ve[m]);
4934
4891
  });
4935
- const Pr = () => {
4936
- let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, w = new URL(`${u}${m}`);
4937
- w.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), w.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), w.searchParams.append("limit", "10000");
4892
+ const wr = () => {
4893
+ let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(`${u}${m}`);
4894
+ T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4938
4895
  let I = {
4939
4896
  method: "GET",
4940
4897
  headers: { "X-SessionID": h }
4941
4898
  };
4942
- fetch(w.href, I).then((P) => {
4899
+ fetch(T.href, I).then((P) => {
4943
4900
  if (P.status >= 300)
4944
- throw r(4, $ = !1), r(6, N = !0), new Error("There was an error fetching the limits");
4901
+ throw r(4, D = !1), r(6, N = !0), new Error("There was an error fetching the limits");
4945
4902
  return P.json();
4946
4903
  }).then(
4947
4904
  (P) => {
4948
- P.length && (W = Hr(P), r(7, pe = W.slice(0, D))), r(4, $ = !1);
4905
+ P.length && (W = Tr(P), r(7, pe = W.slice(0, R))), r(4, D = !1);
4949
4906
  },
4950
4907
  (P) => {
4951
4908
  console.error("There was an error", P), r(6, N = !0);
4952
4909
  }
4953
4910
  );
4954
- }, Hr = (m) => {
4955
- const w = !!Xe[a];
4911
+ }, Tr = (m) => {
4912
+ const T = !!Ve[a];
4956
4913
  return m.map((P) => {
4957
4914
  let U = {
4958
4915
  amount: "",
@@ -4962,82 +4919,82 @@ function Lo(e, t, r) {
4962
4919
  type: "",
4963
4920
  removed: !1
4964
4921
  };
4965
- return U.amount = Br(P), U.currency = w ? se[P.limitCurrencyCode] : P.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), U.period = i(`${P.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), U.removed = P.limitAmount === -1, U;
4922
+ return U.amount = Lr(P), U.currency = T ? ae[P.limitCurrencyCode] : P.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(P.limitDate)), U.period = i(`${P.limitPeriod.toLowerCase()}`), U.type = l === "gmcore" ? i(`historyLimitType${P.limitType.split(" ")[0]}`) : i(`historyLimitType${P.limitType.split(" ")[0]}`) + " " + i(`historyProductType${P.limitProductType}`), U.removed = P.limitAmount === -1, U;
4966
4923
  });
4967
- }, Br = (m) => {
4968
- let w = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4924
+ }, Lr = (m) => {
4925
+ let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4969
4926
  if (!p) {
4970
- let Ur = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4971
- return `${w}${Ur}`;
4927
+ let Nr = ae[m.limitCurrencyCode] || m.limitCurrencyCode;
4928
+ return `${T}${Nr}`;
4972
4929
  }
4973
4930
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4974
- const I = w.match(/\{(\d+)decimals\}/), P = I ? parseInt(I[1], 10) : 2, U = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4931
+ const I = T.match(/\{(\d+)decimals\}/), P = I ? parseInt(I[1], 10) : 2, U = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4975
4932
  let ye = parseFloat(m.limitAmount).toFixed(P);
4976
- const [Dr, De] = p.includes(".") ? [",", "."] : [".", ","];
4977
- let [$e, $r] = ye.split(".");
4978
- return $e = $e.replace(/\B(?=(\d{3})+(?!\d))/g, Dr), ye = `${$e}${De}${$r}`, w = w.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(De)[0]).replace(
4933
+ const [Cr, Me] = p.includes(".") ? [",", "."] : [".", ","];
4934
+ let [Re, Ir] = ye.split(".");
4935
+ return Re = Re.replace(/\B(?=(\d{3})+(?!\d))/g, Cr), ye = `${Re}${Me}${Ir}`, T = T.replace("{currency}", ae[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Me)[0]).replace(
4979
4936
  U,
4980
- ye.split(De)[1]
4981
- ), w;
4982
- }, Or = () => {
4983
- r(5, de = !de), r(8, Re = !Re);
4937
+ ye.split(Me)[1]
4938
+ ), T;
4939
+ }, Sr = () => {
4940
+ r(5, de = !de), r(8, Ne = !Ne);
4984
4941
  };
4985
- let dt = new IntersectionObserver((m) => {
4986
- m.forEach((w) => {
4987
- w.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, D)));
4942
+ let ht = new IntersectionObserver((m) => {
4943
+ m.forEach((T) => {
4944
+ T.isIntersecting && (R += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, R)));
4988
4945
  });
4989
4946
  });
4990
- const Cr = () => {
4991
- dt.observe(L[L.length - 1]);
4992
- }, Ir = () => {
4947
+ const Ar = () => {
4948
+ ht.observe(S[S.length - 1]);
4949
+ }, Pr = () => {
4993
4950
  if (!f)
4994
4951
  return;
4995
4952
  let m = {};
4996
- f.split(",").forEach((w) => {
4997
- let I = w.split(":");
4953
+ f.split(",").forEach((T) => {
4954
+ let I = T.split(":");
4998
4955
  m[I[0].trim()] = I[1].trim();
4999
- }), se = { ...se, ...m };
5000
- }, Nr = () => {
5001
- go(a);
4956
+ }), ae = { ...ae, ...m };
4957
+ }, Hr = () => {
4958
+ co(a);
5002
4959
  };
5003
- qr(() => () => {
5004
- dt.unobserve(L[L.length - 1]);
4960
+ Xr(() => () => {
4961
+ ht.unobserve(S[S.length - 1]);
5005
4962
  });
5006
- function Mr(m, w) {
4963
+ function Br(m, T) {
5007
4964
  Se[m ? "unshift" : "push"](() => {
5008
- L[w] = m, r(3, L);
4965
+ S[T] = m, r(3, S);
5009
4966
  });
5010
4967
  }
5011
- function Rr(m) {
4968
+ function Or(m) {
5012
4969
  Se[m ? "unshift" : "push"](() => {
5013
- g = m, r(2, g);
4970
+ b = m, r(2, b);
5014
4971
  });
5015
4972
  }
5016
4973
  return e.$$set = (m) => {
5017
4974
  "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, H = m.translationurl);
5018
4975
  }, e.$$.update = () => {
5019
4976
  e.$$.dirty[0] & /*customcurrencysymbols*/
5020
- 65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
5021
- 61440 && u && s && h && l && Pr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
5022
- 56 && L[0] && !$ && !de && Cr(), e.$$.dirty[0] & /*lang*/
5023
- 1 && a && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5024
- 262148 && y && g && mo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5025
- 524292 && d && g && po(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5026
- 1048580 && v && g && yo(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
5027
- 2097156 && H && g && Ar();
4977
+ 65536 && f && Pr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4978
+ 61440 && u && s && h && l && wr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4979
+ 56 && S[0] && !D && !de && Ar(), e.$$.dirty[0] & /*lang*/
4980
+ 1 && a && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4981
+ 262148 && y && b && uo(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4982
+ 524292 && d && b && lo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4983
+ 1048580 && v && b && ho(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4984
+ 2097156 && H && b && Er();
5028
4985
  }, [
5029
4986
  a,
5030
4987
  c,
5031
- g,
5032
- L,
5033
- $,
4988
+ b,
4989
+ S,
4990
+ D,
5034
4991
  de,
5035
4992
  N,
5036
4993
  pe,
5037
- Re,
4994
+ Ne,
5038
4995
  i,
5039
4996
  o,
5040
- Or,
4997
+ Sr,
5041
4998
  s,
5042
4999
  h,
5043
5000
  u,
@@ -5048,18 +5005,18 @@ function Lo(e, t, r) {
5048
5005
  d,
5049
5006
  v,
5050
5007
  H,
5051
- Mr,
5052
- Rr
5008
+ Br,
5009
+ Or
5053
5010
  ];
5054
5011
  }
5055
- class Sr extends ai {
5012
+ class xr extends ri {
5056
5013
  constructor(t) {
5057
- super(), oi(
5014
+ super(), ei(
5058
5015
  this,
5059
5016
  t,
5060
- Lo,
5061
- To,
5062
- Vt,
5017
+ _o,
5018
+ vo,
5019
+ $t,
5063
5020
  {
5064
5021
  lang: 0,
5065
5022
  userid: 12,
@@ -5074,7 +5031,7 @@ class Sr extends ai {
5074
5031
  mbsource: 20,
5075
5032
  translationurl: 21
5076
5033
  },
5077
- bo,
5034
+ fo,
5078
5035
  [-1, -1]
5079
5036
  );
5080
5037
  }
@@ -5151,60 +5108,60 @@ class Sr extends ai {
5151
5108
  this.$$set({ translationurl: t }), C();
5152
5109
  }
5153
5110
  }
5154
- si(Sr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5155
- const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5111
+ ti(xr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5112
+ const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5156
5113
  __proto__: null,
5157
- default: Sr
5114
+ default: xr
5158
5115
  }, Symbol.toStringTag, { value: "Module" }));
5159
5116
  export {
5160
- ne as $,
5161
- R as A,
5162
- Qr as B,
5163
- Bo as C,
5164
- No as D,
5165
- Ye as E,
5117
+ oe as $,
5118
+ M as A,
5119
+ Vr as B,
5120
+ Lo as C,
5121
+ Ho as D,
5122
+ Xe as E,
5166
5123
  _e as F,
5167
- co as G,
5168
- mo as H,
5169
- po as I,
5170
- yo as J,
5171
- Go as K,
5172
- ti as L,
5173
- Uo as M,
5174
- Fo as N,
5175
- $o as O,
5176
- Oo as P,
5177
- Ro as Q,
5178
- So as R,
5179
- ai as S,
5180
- Po as T,
5181
- Ho as U,
5182
- Ao as V,
5183
- jo as W,
5184
- Er as a,
5185
- kr as b,
5186
- si as c,
5187
- F as d,
5124
+ so as G,
5125
+ uo as H,
5126
+ lo as I,
5127
+ ho as J,
5128
+ Mo as K,
5129
+ Yr as L,
5130
+ No as M,
5131
+ Ro as N,
5132
+ Io as O,
5133
+ So as P,
5134
+ Oo as Q,
5135
+ xo as R,
5136
+ ri as S,
5137
+ wo as T,
5138
+ To as U,
5139
+ Eo as V,
5140
+ Do as W,
5141
+ yr as a,
5142
+ Ur as b,
5143
+ ti as c,
5144
+ G as d,
5188
5145
  V as e,
5189
5146
  C as f,
5190
- x as g,
5147
+ w as g,
5191
5148
  A as h,
5192
- oi as i,
5193
- Ze as j,
5194
- jr as k,
5195
- fo as l,
5149
+ ei as i,
5150
+ We as j,
5151
+ Dr as k,
5152
+ ao as l,
5196
5153
  E as m,
5197
5154
  O as n,
5198
- qr as o,
5155
+ Xr as o,
5199
5156
  Se as p,
5200
- Mo as q,
5201
- Co as r,
5202
- Vt as s,
5203
- Do as t,
5204
- vt as u,
5205
- zr as v,
5206
- re as w,
5157
+ Bo as q,
5158
+ Ao as r,
5159
+ $t as s,
5160
+ Co as t,
5161
+ pt as u,
5162
+ Fr as v,
5163
+ ie as w,
5207
5164
  k as x,
5208
- Io as y,
5209
- Xr as z
5165
+ Po as y,
5166
+ jr as z
5210
5167
  };