@everymatrix/player-withdrawal 1.76.1 → 1.76.4

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,50 +1,50 @@
1
- function B() {
1
+ function P() {
2
2
  }
3
- function Ht(e) {
3
+ function Bt(e) {
4
4
  return e();
5
5
  }
6
- function tt() {
6
+ function nt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Ht);
9
+ function oe(e) {
10
+ e.forEach(Bt);
11
11
  }
12
- function Qe(e) {
12
+ function Ke(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Bt(e, t) {
15
+ function At(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let le;
19
- function rt(e, t) {
19
+ function it(e, t) {
20
20
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
21
21
  }
22
- function lr(e) {
22
+ function cr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Pt(e, ...t) {
25
+ function Ot(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return B;
29
+ return P;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function cr(e, t, r) {
35
- e.$$.on_destroy.push(Pt(t, r));
34
+ function fr(e, t, r) {
35
+ e.$$.on_destroy.push(Ot(t, r));
36
36
  }
37
37
  function x(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function fr(e, t, r) {
41
- const n = pr(e);
40
+ function pr(e, t, r) {
41
+ const n = dr(e);
42
42
  if (!n.getElementById(t)) {
43
- const i = I("style");
44
- i.id = t, i.textContent = r, dr(n, i);
43
+ const i = N("style");
44
+ i.id = t, i.textContent = r, mr(n, i);
45
45
  }
46
46
  }
47
- function pr(e) {
47
+ function dr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,41 +54,41 @@ function pr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function dr(e, t) {
57
+ function mr(e, t) {
58
58
  return x(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ae(e, t, r) {
64
+ function se(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function J(e) {
67
+ function Q(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function I(e) {
70
+ function N(e) {
71
71
  return document.createElement(e);
72
72
  }
73
73
  function G(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function re(e) {
76
+ function te(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function Ne() {
80
- return re(" ");
79
+ function Me() {
80
+ return te(" ");
81
81
  }
82
- function mr(e, t, r, n) {
82
+ function br(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
85
  function E(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function br(e) {
88
+ function yr(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function Je(e, t) {
91
+ function et(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
@@ -101,95 +101,95 @@ function gr(e) {
101
101
  }
102
102
  ), t;
103
103
  }
104
- let ne;
105
- function te(e) {
106
- ne = e;
104
+ let re;
105
+ function ee(e) {
106
+ re = e;
107
107
  }
108
- function yr() {
109
- if (!ne)
108
+ function vr() {
109
+ if (!re)
110
110
  throw new Error("Function called outside component initialization");
111
- return ne;
111
+ return re;
112
112
  }
113
- function vr(e) {
114
- yr().$$.on_mount.push(e);
113
+ function _r(e) {
114
+ vr().$$.on_mount.push(e);
115
115
  }
116
- const k = [], Le = [];
116
+ const k = [], Ce = [];
117
117
  let W = [];
118
- const nt = [], _r = /* @__PURE__ */ Promise.resolve();
119
- let Me = !1;
120
- function Er() {
121
- Me || (Me = !0, _r.then(H));
118
+ const ot = [], Er = /* @__PURE__ */ Promise.resolve();
119
+ let Re = !1;
120
+ function xr() {
121
+ Re || (Re = !0, Er.then(H));
122
122
  }
123
- function Ce(e) {
123
+ function $e(e) {
124
124
  W.push(e);
125
125
  }
126
- const Se = /* @__PURE__ */ new Set();
126
+ const He = /* @__PURE__ */ new Set();
127
127
  let F = 0;
128
128
  function H() {
129
129
  if (F !== 0)
130
130
  return;
131
- const e = ne;
131
+ const e = re;
132
132
  do {
133
133
  try {
134
134
  for (; F < k.length; ) {
135
135
  const t = k[F];
136
- F++, te(t), xr(t.$$);
136
+ F++, ee(t), wr(t.$$);
137
137
  }
138
138
  } catch (t) {
139
139
  throw k.length = 0, F = 0, t;
140
140
  }
141
- for (te(null), k.length = 0, F = 0; Le.length; )
142
- Le.pop()();
141
+ for (ee(null), k.length = 0, F = 0; Ce.length; )
142
+ Ce.pop()();
143
143
  for (let t = 0; t < W.length; t += 1) {
144
144
  const r = W[t];
145
- Se.has(r) || (Se.add(r), r());
145
+ He.has(r) || (He.add(r), r());
146
146
  }
147
147
  W.length = 0;
148
148
  } while (k.length);
149
- for (; nt.length; )
150
- nt.pop()();
151
- Me = !1, Se.clear(), te(e);
149
+ for (; ot.length; )
150
+ ot.pop()();
151
+ Re = !1, He.clear(), ee(e);
152
152
  }
153
- function xr(e) {
153
+ function wr(e) {
154
154
  if (e.fragment !== null) {
155
- e.update(), se(e.before_update);
155
+ e.update(), oe(e.before_update);
156
156
  const t = e.dirty;
157
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
157
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
158
158
  }
159
159
  }
160
- function wr(e) {
160
+ function Sr(e) {
161
161
  const t = [], r = [];
162
162
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
163
163
  }
164
- const Sr = /* @__PURE__ */ new Set();
165
- function Tr(e, t) {
166
- e && e.i && (Sr.delete(e), e.i(t));
164
+ const Tr = /* @__PURE__ */ new Set();
165
+ function Hr(e, t) {
166
+ e && e.i && (Tr.delete(e), e.i(t));
167
167
  }
168
- function Hr(e, t, r) {
168
+ function Pr(e, t, r) {
169
169
  const { fragment: n, after_update: i } = e.$$;
170
- n && n.m(t, r), Ce(() => {
171
- const o = e.$$.on_mount.map(Ht).filter(Qe);
172
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
173
- }), i.forEach(Ce);
170
+ n && n.m(t, r), $e(() => {
171
+ const o = e.$$.on_mount.map(Bt).filter(Ke);
172
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
173
+ }), i.forEach($e);
174
174
  }
175
175
  function Br(e, t) {
176
176
  const r = e.$$;
177
- r.fragment !== null && (wr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
177
+ r.fragment !== null && (Sr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
178
178
  }
179
- function Pr(e, t) {
180
- e.$$.dirty[0] === -1 && (k.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
179
+ function Ar(e, t) {
180
+ e.$$.dirty[0] === -1 && (k.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
181
181
  }
182
- function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
183
- const l = ne;
184
- te(e);
182
+ function Or(e, t, r, n, i, o, a = null, s = [-1]) {
183
+ const l = re;
184
+ ee(e);
185
185
  const u = e.$$ = {
186
186
  fragment: null,
187
187
  ctx: [],
188
188
  // state
189
189
  props: o,
190
- update: B,
190
+ update: P,
191
191
  not_equal: i,
192
- bound: tt(),
192
+ bound: nt(),
193
193
  // lifecycle
194
194
  on_mount: [],
195
195
  on_destroy: [],
@@ -198,7 +198,7 @@ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
198
198
  after_update: [],
199
199
  context: new Map(t.context || (l ? l.$$.context : [])),
200
200
  // everything else
201
- callbacks: tt(),
201
+ callbacks: nt(),
202
202
  dirty: s,
203
203
  skip_bound: !1,
204
204
  root: t.target || l.$$.root
@@ -207,19 +207,19 @@ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
207
207
  let h = !1;
208
208
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
209
209
  const m = p.length ? p[0] : f;
210
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && Pr(e, c)), f;
211
- }) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
210
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && Ar(e, c)), f;
211
+ }) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
212
212
  if (t.hydrate) {
213
- const c = br(t.target);
214
- u.fragment && u.fragment.l(c), c.forEach(J);
213
+ const c = yr(t.target);
214
+ u.fragment && u.fragment.l(c), c.forEach(Q);
215
215
  } else
216
216
  u.fragment && u.fragment.c();
217
- t.intro && Tr(e.$$.fragment), Hr(e, t.target, t.anchor), H();
217
+ t.intro && Hr(e.$$.fragment), Pr(e, t.target, t.anchor), H();
218
218
  }
219
- te(l);
219
+ ee(l);
220
220
  }
221
- let At;
222
- typeof HTMLElement == "function" && (At = class extends HTMLElement {
221
+ let It;
222
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
223
223
  /** The Svelte component constructor */
224
224
  $$ctor;
225
225
  /** Slots */
@@ -261,17 +261,17 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
261
261
  let o;
262
262
  return {
263
263
  c: function() {
264
- o = I("slot"), i !== "default" && E(o, "name", i);
264
+ o = N("slot"), i !== "default" && E(o, "name", i);
265
265
  },
266
266
  /**
267
267
  * @param {HTMLElement} target
268
268
  * @param {HTMLElement} [anchor]
269
269
  */
270
270
  m: function(l, u) {
271
- ae(l, o, u);
271
+ se(l, o, u);
272
272
  },
273
273
  d: function(l) {
274
- l && J(o);
274
+ l && Q(o);
275
275
  }
276
276
  };
277
277
  };
@@ -365,8 +365,8 @@ function pe(e, t, r, n) {
365
365
  return t;
366
366
  }
367
367
  }
368
- function Or(e, t, r, n, i, o) {
369
- let a = class extends At {
368
+ function Ir(e, t, r, n, i, o) {
369
+ let a = class extends It {
370
370
  constructor() {
371
371
  super(e, r, i), this.$$p_d = t;
372
372
  }
@@ -394,7 +394,7 @@ function Or(e, t, r, n, i, o) {
394
394
  }), e.element = /** @type {any} */
395
395
  a, a;
396
396
  }
397
- class Ir {
397
+ class Nr {
398
398
  /**
399
399
  * ### PRIVATE API
400
400
  *
@@ -413,7 +413,7 @@ class Ir {
413
413
  $$set = void 0;
414
414
  /** @returns {void} */
415
415
  $destroy() {
416
- Br(this, 1), this.$destroy = B;
416
+ Br(this, 1), this.$destroy = P;
417
417
  }
418
418
  /**
419
419
  * @template {Extract<keyof Events, string>} K
@@ -422,8 +422,8 @@ class Ir {
422
422
  * @returns {() => void}
423
423
  */
424
424
  $on(t, r) {
425
- if (!Qe(r))
426
- return B;
425
+ if (!Ke(r))
426
+ return P;
427
427
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
428
428
  return n.push(r), () => {
429
429
  const i = n.indexOf(r);
@@ -435,18 +435,18 @@ class Ir {
435
435
  * @returns {void}
436
436
  */
437
437
  $set(t) {
438
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
438
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
439
439
  }
440
440
  }
441
- const Nr = "4";
442
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
443
- function Lr(e, t) {
441
+ const Lr = "4";
442
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
443
+ function Mr(e, t) {
444
444
  if (e) {
445
445
  const r = document.createElement("style");
446
446
  r.innerHTML = t, e.appendChild(r);
447
447
  }
448
448
  }
449
- function Mr(e, t) {
449
+ function Cr(e, t) {
450
450
  const r = new URL(t);
451
451
  fetch(r.href).then((n) => n.text()).then((n) => {
452
452
  const i = document.createElement("style");
@@ -455,7 +455,7 @@ function Mr(e, t) {
455
455
  console.error("There was an error while trying to load client styling from URL", n);
456
456
  });
457
457
  }
458
- function Cr(e, t, r) {
458
+ function Rr(e, t, r) {
459
459
  if (window.emMessageBus) {
460
460
  const n = document.createElement("style");
461
461
  window.emMessageBus.subscribe(t, (i) => {
@@ -477,43 +477,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
477
477
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
478
478
  PERFORMANCE OF THIS SOFTWARE.
479
479
  ***************************************************************************** */
480
- var Re = function(e, t) {
481
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
480
+ var Ue = function(e, t) {
481
+ return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
482
482
  r.__proto__ = n;
483
483
  } || function(r, n) {
484
484
  for (var i in n)
485
485
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
486
- }, Re(e, t);
486
+ }, Ue(e, t);
487
487
  };
488
- function N(e, t) {
488
+ function ae(e, t) {
489
489
  if (typeof t != "function" && t !== null)
490
490
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
491
- Re(e, t);
491
+ Ue(e, t);
492
492
  function r() {
493
493
  this.constructor = e;
494
494
  }
495
495
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
496
496
  }
497
- var v = function() {
498
- return v = Object.assign || function(t) {
499
- for (var r, n = 1, i = arguments.length; n < i; n++) {
500
- r = arguments[n];
501
- for (var o in r)
502
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
503
- }
504
- return t;
505
- }, v.apply(this, arguments);
506
- };
507
- function Rr(e, t) {
508
- var r = {};
509
- for (var n in e)
510
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
511
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
512
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
513
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
514
- return r;
515
- }
516
- function $e(e) {
497
+ function De(e) {
517
498
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
518
499
  if (r)
519
500
  return r.call(e);
@@ -525,7 +506,7 @@ function $e(e) {
525
506
  };
526
507
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
527
508
  }
528
- function Ue(e, t) {
509
+ function Ge(e, t) {
529
510
  var r = typeof Symbol == "function" && e[Symbol.iterator];
530
511
  if (!r)
531
512
  return e;
@@ -545,22 +526,22 @@ function Ue(e, t) {
545
526
  }
546
527
  return o;
547
528
  }
548
- function V(e, t, r) {
549
- if (r || arguments.length === 2)
529
+ function Fe(e, t, r) {
530
+ if (arguments.length === 2)
550
531
  for (var n = 0, i = t.length, o; n < i; n++)
551
532
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
552
533
  return e.concat(o || t);
553
534
  }
554
- function O(e) {
535
+ function I(e) {
555
536
  return typeof e == "function";
556
537
  }
557
- function Ot(e) {
538
+ function Nt(e) {
558
539
  var t = function(n) {
559
540
  Error.call(n), n.stack = new Error().stack;
560
541
  }, r = e(t);
561
542
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
562
543
  }
563
- var Te = Ot(function(e) {
544
+ var Pe = Nt(function(e) {
564
545
  return function(r) {
565
546
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
566
547
  ` + r.map(function(n, i) {
@@ -569,13 +550,13 @@ var Te = Ot(function(e) {
569
550
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
570
551
  };
571
552
  });
572
- function De(e, t) {
553
+ function je(e, t) {
573
554
  if (e) {
574
555
  var r = e.indexOf(t);
575
556
  0 <= r && e.splice(r, 1);
576
557
  }
577
558
  }
578
- var ve = function() {
559
+ var _e = function() {
579
560
  function e(t) {
580
561
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
581
562
  }
@@ -587,12 +568,12 @@ var ve = function() {
587
568
  if (a)
588
569
  if (this._parentage = null, Array.isArray(a))
589
570
  try {
590
- for (var s = $e(a), l = s.next(); !l.done; l = s.next()) {
571
+ for (var s = De(a), l = s.next(); !l.done; l = s.next()) {
591
572
  var u = l.value;
592
573
  u.remove(this);
593
574
  }
594
- } catch (g) {
595
- t = { error: g };
575
+ } catch (y) {
576
+ t = { error: y };
596
577
  } finally {
597
578
  try {
598
579
  l && !l.done && (r = s.return) && r.call(s);
@@ -604,26 +585,26 @@ var ve = function() {
604
585
  else
605
586
  a.remove(this);
606
587
  var h = this.initialTeardown;
607
- if (O(h))
588
+ if (I(h))
608
589
  try {
609
590
  h();
610
- } catch (g) {
611
- o = g instanceof Te ? g.errors : [g];
591
+ } catch (y) {
592
+ o = y instanceof Pe ? y.errors : [y];
612
593
  }
613
594
  var c = this._finalizers;
614
595
  if (c) {
615
596
  this._finalizers = null;
616
597
  try {
617
- for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
598
+ for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
618
599
  var m = p.value;
619
600
  try {
620
- it(m);
621
- } catch (g) {
622
- o = o ?? [], g instanceof Te ? o = V(V([], Ue(o)), Ue(g.errors)) : o.push(g);
601
+ st(m);
602
+ } catch (y) {
603
+ o = o ?? [], y instanceof Pe ? o = Fe(Fe([], Ge(o)), Ge(y.errors)) : o.push(y);
623
604
  }
624
605
  }
625
- } catch (g) {
626
- n = { error: g };
606
+ } catch (y) {
607
+ n = { error: y };
627
608
  } finally {
628
609
  try {
629
610
  p && !p.done && (i = f.return) && i.call(f);
@@ -634,13 +615,13 @@ var ve = function() {
634
615
  }
635
616
  }
636
617
  if (o)
637
- throw new Te(o);
618
+ throw new Pe(o);
638
619
  }
639
620
  }, e.prototype.add = function(t) {
640
621
  var r;
641
622
  if (t && t !== this)
642
623
  if (this.closed)
643
- it(t);
624
+ st(t);
644
625
  else {
645
626
  if (t instanceof e) {
646
627
  if (t.closed || t._hasParent(this))
@@ -657,56 +638,52 @@ var ve = function() {
657
638
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
658
639
  }, e.prototype._removeParent = function(t) {
659
640
  var r = this._parentage;
660
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
641
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
661
642
  }, e.prototype.remove = function(t) {
662
643
  var r = this._finalizers;
663
- r && De(r, t), t instanceof e && t._removeParent(this);
644
+ r && je(r, t), t instanceof e && t._removeParent(this);
664
645
  }, e.EMPTY = function() {
665
646
  var t = new e();
666
647
  return t.closed = !0, t;
667
648
  }(), e;
668
- }(), It = ve.EMPTY;
669
- function Nt(e) {
670
- return e instanceof ve || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
671
- }
672
- function it(e) {
673
- O(e) ? e() : e.unsubscribe();
674
- }
675
- var Lt = {
676
- onUnhandledError: null,
677
- onStoppedNotification: null,
678
- Promise: void 0,
679
- useDeprecatedSynchronousErrorHandling: !1,
680
- useDeprecatedNextContext: !1
681
- }, $r = {
649
+ }(), Lt = _e.EMPTY;
650
+ function Mt(e) {
651
+ return e instanceof _e || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
652
+ }
653
+ function st(e) {
654
+ I(e) ? e() : e.unsubscribe();
655
+ }
656
+ var $r = {
657
+ Promise: void 0
658
+ }, Ur = {
682
659
  setTimeout: function(e, t) {
683
660
  for (var r = [], n = 2; n < arguments.length; n++)
684
661
  r[n - 2] = arguments[n];
685
- return setTimeout.apply(void 0, V([e, t], Ue(r)));
662
+ return setTimeout.apply(void 0, Fe([e, t], Ge(r)));
686
663
  },
687
664
  clearTimeout: function(e) {
688
665
  return clearTimeout(e);
689
666
  },
690
667
  delegate: void 0
691
668
  };
692
- function Ur(e) {
693
- $r.setTimeout(function() {
669
+ function Dr(e) {
670
+ Ur.setTimeout(function() {
694
671
  throw e;
695
672
  });
696
673
  }
697
- function ot() {
674
+ function at() {
698
675
  }
699
676
  function de(e) {
700
677
  e();
701
678
  }
702
- var Mt = function(e) {
703
- N(t, e);
679
+ var Ct = function(e) {
680
+ ae(t, e);
704
681
  function t(r) {
705
682
  var n = e.call(this) || this;
706
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = jr, n;
683
+ return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = jr, n;
707
684
  }
708
685
  return t.create = function(r, n, i) {
709
- return new Ge(r, n, i);
686
+ return new ke(r, n, i);
710
687
  }, t.prototype.next = function(r) {
711
688
  this.isStopped || this._next(r);
712
689
  }, t.prototype.error = function(r) {
@@ -730,11 +707,7 @@ var Mt = function(e) {
730
707
  this.unsubscribe();
731
708
  }
732
709
  }, t;
733
- }(ve), Dr = Function.prototype.bind;
734
- function He(e, t) {
735
- return Dr.call(e, t);
736
- }
737
- var Gr = function() {
710
+ }(_e), Gr = function() {
738
711
  function e(t) {
739
712
  this.partialObserver = t;
740
713
  }
@@ -765,41 +738,29 @@ var Gr = function() {
765
738
  ce(r);
766
739
  }
767
740
  }, e;
768
- }(), Ge = function(e) {
769
- N(t, e);
741
+ }(), ke = function(e) {
742
+ ae(t, e);
770
743
  function t(r, n, i) {
771
744
  var o = e.call(this) || this, a;
772
- if (O(r) || !r)
773
- a = {
774
- next: r ?? void 0,
775
- error: n ?? void 0,
776
- complete: i ?? void 0
777
- };
778
- else {
779
- var s;
780
- o && Lt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
781
- return o.unsubscribe();
782
- }, a = {
783
- next: r.next && He(r.next, s),
784
- error: r.error && He(r.error, s),
785
- complete: r.complete && He(r.complete, s)
786
- }) : a = r;
787
- }
788
- return o.destination = new Gr(a), o;
745
+ return I(r) || !r ? a = {
746
+ next: r ?? void 0,
747
+ error: n ?? void 0,
748
+ complete: i ?? void 0
749
+ } : a = r, o.destination = new Gr(a), o;
789
750
  }
790
751
  return t;
791
- }(Mt);
752
+ }(Ct);
792
753
  function ce(e) {
793
- Ur(e);
754
+ Dr(e);
794
755
  }
795
756
  function Fr(e) {
796
757
  throw e;
797
758
  }
798
759
  var jr = {
799
760
  closed: !0,
800
- next: ot,
761
+ next: at,
801
762
  error: Fr,
802
- complete: ot
763
+ complete: at
803
764
  }, kr = function() {
804
765
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
805
766
  }();
@@ -813,7 +774,7 @@ function Vr(e) {
813
774
  }, r);
814
775
  };
815
776
  }
816
- var st = function() {
777
+ var ut = function() {
817
778
  function e(t) {
818
779
  t && (this._subscribe = t);
819
780
  }
@@ -821,7 +782,7 @@ var st = function() {
821
782
  var r = new e();
822
783
  return r.source = this, r.operator = t, r;
823
784
  }, e.prototype.subscribe = function(t, r, n) {
824
- var i = this, o = zr(t) ? t : new Ge(t, r, n);
785
+ var i = this, o = zr(t) ? t : new ke(t, r, n);
825
786
  return de(function() {
826
787
  var a = i, s = a.operator, l = a.source;
827
788
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -834,8 +795,8 @@ var st = function() {
834
795
  }
835
796
  }, e.prototype.forEach = function(t, r) {
836
797
  var n = this;
837
- return r = at(r), new r(function(i, o) {
838
- var a = new Ge({
798
+ return r = ht(r), new r(function(i, o) {
799
+ var a = new ke({
839
800
  next: function(s) {
840
801
  try {
841
802
  t(s);
@@ -859,7 +820,7 @@ var st = function() {
859
820
  return Vr(t)(this);
860
821
  }, e.prototype.toPromise = function(t) {
861
822
  var r = this;
862
- return t = at(t), new t(function(n, i) {
823
+ return t = ht(t), new t(function(n, i) {
863
824
  var o;
864
825
  r.subscribe(function(a) {
865
826
  return o = a;
@@ -873,28 +834,28 @@ var st = function() {
873
834
  return new e(t);
874
835
  }, e;
875
836
  }();
876
- function at(e) {
837
+ function ht(e) {
877
838
  var t;
878
- return (t = e ?? Lt.Promise) !== null && t !== void 0 ? t : Promise;
839
+ return (t = e ?? $r.Promise) !== null && t !== void 0 ? t : Promise;
879
840
  }
880
841
  function Xr(e) {
881
- return e && O(e.next) && O(e.error) && O(e.complete);
842
+ return e && I(e.next) && I(e.error) && I(e.complete);
882
843
  }
883
844
  function zr(e) {
884
- return e && e instanceof Mt || Xr(e) && Nt(e);
845
+ return e && e instanceof Ct || Xr(e) && Mt(e);
885
846
  }
886
- var Zr = Ot(function(e) {
847
+ var Zr = Nt(function(e) {
887
848
  return function() {
888
849
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
889
850
  };
890
- }), Ct = function(e) {
891
- N(t, e);
851
+ }), Rt = function(e) {
852
+ ae(t, e);
892
853
  function t() {
893
854
  var r = e.call(this) || this;
894
855
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
895
856
  }
896
857
  return t.prototype.lift = function(r) {
897
- var n = new ut(this, this);
858
+ var n = new lt(this, this);
898
859
  return n.operator = r, n;
899
860
  }, t.prototype._throwIfClosed = function() {
900
861
  if (this.closed)
@@ -906,7 +867,7 @@ var Zr = Ot(function(e) {
906
867
  if (n._throwIfClosed(), !n.isStopped) {
907
868
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
908
869
  try {
909
- for (var a = $e(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
870
+ for (var a = De(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
910
871
  var l = s.value;
911
872
  l.next(r);
912
873
  }
@@ -955,20 +916,20 @@ var Zr = Ot(function(e) {
955
916
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
956
917
  }, t.prototype._innerSubscribe = function(r) {
957
918
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
958
- return o || a ? It : (this.currentObservers = null, s.push(r), new ve(function() {
959
- n.currentObservers = null, De(s, r);
919
+ return o || a ? Lt : (this.currentObservers = null, s.push(r), new _e(function() {
920
+ n.currentObservers = null, je(s, r);
960
921
  }));
961
922
  }, t.prototype._checkFinalizedStatuses = function(r) {
962
923
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
963
924
  i ? r.error(o) : a && r.complete();
964
925
  }, t.prototype.asObservable = function() {
965
- var r = new st();
926
+ var r = new ut();
966
927
  return r.source = this, r;
967
928
  }, t.create = function(r, n) {
968
- return new ut(r, n);
929
+ return new lt(r, n);
969
930
  }, t;
970
- }(st), ut = function(e) {
971
- N(t, e);
931
+ }(ut), lt = function(e) {
932
+ ae(t, e);
972
933
  function t(r, n) {
973
934
  var i = e.call(this) || this;
974
935
  return i.destination = r, i.source = n, i;
@@ -984,17 +945,17 @@ var Zr = Ot(function(e) {
984
945
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
985
946
  }, t.prototype._subscribe = function(r) {
986
947
  var n, i;
987
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
948
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
988
949
  }, t;
989
- }(Ct), Rt = {
950
+ }(Rt), $t = {
990
951
  now: function() {
991
- return (Rt.delegate || Date).now();
952
+ return ($t.delegate || Date).now();
992
953
  },
993
954
  delegate: void 0
994
955
  }, Qr = function(e) {
995
- N(t, e);
956
+ ae(t, e);
996
957
  function t(r, n, i) {
997
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
958
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
998
959
  var o = e.call(this) || this;
999
960
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1000
961
  }
@@ -1014,24 +975,24 @@ var Zr = Ot(function(e) {
1014
975
  u && o.splice(0, u + 1);
1015
976
  }
1016
977
  }, t;
1017
- }(Ct);
1018
- const ht = [], lt = {}, Jr = (e, t = 0) => {
1019
- if (ht.indexOf(e) == -1) {
978
+ }(Rt);
979
+ const ct = [], ft = {}, Jr = (e, t = 0) => {
980
+ if (ct.indexOf(e) == -1) {
1020
981
  const r = new Qr(t);
1021
- lt[e] = r, ht.push(e);
982
+ ft[e] = r, ct.push(e);
1022
983
  }
1023
- return lt[e];
984
+ return ft[e];
1024
985
  }, j = [];
1025
986
  function qr(e, t) {
1026
987
  return {
1027
- subscribe: _e(e, t).subscribe
988
+ subscribe: Ee(e, t).subscribe
1028
989
  };
1029
990
  }
1030
- function _e(e, t = B) {
991
+ function Ee(e, t = P) {
1031
992
  let r;
1032
993
  const n = /* @__PURE__ */ new Set();
1033
994
  function i(s) {
1034
- if (Bt(e, s) && (e = s, r)) {
995
+ if (At(e, s) && (e = s, r)) {
1035
996
  const l = !j.length;
1036
997
  for (const u of n)
1037
998
  u[1](), j.push(u, e);
@@ -1045,15 +1006,15 @@ function _e(e, t = B) {
1045
1006
  function o(s) {
1046
1007
  i(s(e));
1047
1008
  }
1048
- function a(s, l = B) {
1009
+ function a(s, l = P) {
1049
1010
  const u = [s, l];
1050
- return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1011
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), s(e), () => {
1051
1012
  n.delete(u), n.size === 0 && r && (r(), r = null);
1052
1013
  };
1053
1014
  }
1054
1015
  return { set: i, update: o, subscribe: a };
1055
1016
  }
1056
- function q(e, t, r) {
1017
+ function J(e, t, r) {
1057
1018
  const n = !Array.isArray(e), i = n ? [e] : e;
1058
1019
  if (!i.every(Boolean))
1059
1020
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1061,26 +1022,26 @@ function q(e, t, r) {
1061
1022
  return qr(r, (a, s) => {
1062
1023
  let l = !1;
1063
1024
  const u = [];
1064
- let h = 0, c = B;
1025
+ let h = 0, c = P;
1065
1026
  const f = () => {
1066
1027
  if (h)
1067
1028
  return;
1068
1029
  c();
1069
1030
  const m = t(n ? u[0] : u, a, s);
1070
- o ? a(m) : c = Qe(m) ? m : B;
1031
+ o ? a(m) : c = Ke(m) ? m : P;
1071
1032
  }, p = i.map(
1072
- (m, g) => Pt(
1033
+ (m, y) => Ot(
1073
1034
  m,
1074
1035
  (w) => {
1075
- u[g] = w, h &= ~(1 << g), l && f();
1036
+ u[y] = w, h &= ~(1 << y), l && f();
1076
1037
  },
1077
1038
  () => {
1078
- h |= 1 << g;
1039
+ h |= 1 << y;
1079
1040
  }
1080
1041
  )
1081
1042
  );
1082
1043
  return l = !0, f(), function() {
1083
- se(p), c(), l = !1;
1044
+ oe(p), c(), l = !1;
1084
1045
  };
1085
1046
  });
1086
1047
  }
@@ -1104,29 +1065,29 @@ function on(e) {
1104
1065
  function sn(e) {
1105
1066
  return Array.isArray(e) ? [] : {};
1106
1067
  }
1107
- function ie(e, t) {
1108
- return t.clone !== !1 && t.isMergeableObject(e) ? X(sn(e), e, t) : e;
1068
+ function ne(e, t) {
1069
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(sn(e), e, t) : e;
1109
1070
  }
1110
1071
  function an(e, t, r) {
1111
1072
  return e.concat(t).map(function(n) {
1112
- return ie(n, r);
1073
+ return ne(n, r);
1113
1074
  });
1114
1075
  }
1115
1076
  function un(e, t) {
1116
1077
  if (!t.customMerge)
1117
- return X;
1078
+ return V;
1118
1079
  var r = t.customMerge(e);
1119
- return typeof r == "function" ? r : X;
1080
+ return typeof r == "function" ? r : V;
1120
1081
  }
1121
1082
  function hn(e) {
1122
1083
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1123
1084
  return Object.propertyIsEnumerable.call(e, t);
1124
1085
  }) : [];
1125
1086
  }
1126
- function ct(e) {
1087
+ function pt(e) {
1127
1088
  return Object.keys(e).concat(hn(e));
1128
1089
  }
1129
- function $t(e, t) {
1090
+ function Ut(e, t) {
1130
1091
  try {
1131
1092
  return t in e;
1132
1093
  } catch {
@@ -1134,129 +1095,179 @@ function $t(e, t) {
1134
1095
  }
1135
1096
  }
1136
1097
  function ln(e, t) {
1137
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1098
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1138
1099
  }
1139
1100
  function cn(e, t, r) {
1140
1101
  var n = {};
1141
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1142
- n[i] = ie(e[i], r);
1143
- }), ct(t).forEach(function(i) {
1144
- ln(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1102
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1103
+ n[i] = ne(e[i], r);
1104
+ }), pt(t).forEach(function(i) {
1105
+ ln(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1145
1106
  }), n;
1146
1107
  }
1147
- function X(e, t, r) {
1148
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = ie;
1108
+ function V(e, t, r) {
1109
+ r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = ne;
1149
1110
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1150
- return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ie(t, r);
1111
+ return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ne(t, r);
1151
1112
  }
1152
- X.all = function(t, r) {
1113
+ V.all = function(t, r) {
1153
1114
  if (!Array.isArray(t))
1154
1115
  throw new Error("first argument should be an array");
1155
1116
  return t.reduce(function(n, i) {
1156
- return X(n, i, r);
1117
+ return V(n, i, r);
1157
1118
  }, {});
1158
1119
  };
1159
- var fn = X, pn = fn;
1120
+ var fn = V, pn = fn;
1160
1121
  const dn = /* @__PURE__ */ Yr(pn);
1161
- function Be(e, t) {
1162
- var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
1122
+ var We = function(e, t) {
1123
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1124
+ r.__proto__ = n;
1125
+ } || function(r, n) {
1126
+ for (var i in n)
1127
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1128
+ }, We(e, t);
1129
+ };
1130
+ function xe(e, t) {
1131
+ if (typeof t != "function" && t !== null)
1132
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1133
+ We(e, t);
1134
+ function r() {
1135
+ this.constructor = e;
1136
+ }
1137
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1138
+ }
1139
+ var O = function() {
1140
+ return O = Object.assign || function(t) {
1141
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1142
+ r = arguments[n];
1143
+ for (var o in r)
1144
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1145
+ }
1146
+ return t;
1147
+ }, O.apply(this, arguments);
1148
+ };
1149
+ function mn(e, t) {
1150
+ var r = {};
1151
+ for (var n in e)
1152
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1153
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1154
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1155
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1156
+ return r;
1157
+ }
1158
+ function Be(e, t, r) {
1159
+ if (r || arguments.length === 2)
1160
+ for (var n = 0, i = t.length, o; n < i; n++)
1161
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1162
+ return e.concat(o || Array.prototype.slice.call(t));
1163
+ }
1164
+ function Ae(e, t) {
1165
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
1163
1166
  return i(e, {
1164
1167
  cache: r,
1165
1168
  serializer: n
1166
1169
  });
1167
1170
  }
1168
- function mn(e) {
1171
+ function bn(e) {
1169
1172
  return e == null || typeof e == "number" || typeof e == "boolean";
1170
1173
  }
1171
- function Ut(e, t, r, n) {
1172
- var i = mn(n) ? n : r(n), o = t.get(i);
1174
+ function yn(e, t, r, n) {
1175
+ var i = bn(n) ? n : r(n), o = t.get(i);
1173
1176
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1174
1177
  }
1175
1178
  function Dt(e, t, r) {
1176
1179
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1177
1180
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1178
1181
  }
1179
- function qe(e, t, r, n, i) {
1182
+ function Gt(e, t, r, n, i) {
1180
1183
  return r.bind(t, e, n, i);
1181
1184
  }
1182
- function bn(e, t) {
1183
- var r = e.length === 1 ? Ut : Dt;
1184
- return qe(e, this, r, t.cache.create(), t.serializer);
1185
- }
1186
1185
  function gn(e, t) {
1187
- return qe(e, this, Dt, t.cache.create(), t.serializer);
1186
+ var r = e.length === 1 ? yn : Dt;
1187
+ return Gt(e, this, r, t.cache.create(), t.serializer);
1188
1188
  }
1189
- function yn(e, t) {
1190
- return qe(e, this, Ut, t.cache.create(), t.serializer);
1189
+ function vn(e, t) {
1190
+ return Gt(e, this, Dt, t.cache.create(), t.serializer);
1191
1191
  }
1192
- var vn = function() {
1192
+ var _n = function() {
1193
1193
  return JSON.stringify(arguments);
1194
- };
1195
- function Ye() {
1196
- this.cache = /* @__PURE__ */ Object.create(null);
1197
- }
1198
- Ye.prototype.get = function(e) {
1199
- return this.cache[e];
1200
- };
1201
- Ye.prototype.set = function(e, t) {
1202
- this.cache[e] = t;
1203
- };
1204
- var _n = {
1194
+ }, En = (
1195
+ /** @class */
1196
+ function() {
1197
+ function e() {
1198
+ this.cache = /* @__PURE__ */ Object.create(null);
1199
+ }
1200
+ return e.prototype.get = function(t) {
1201
+ return this.cache[t];
1202
+ }, e.prototype.set = function(t, r) {
1203
+ this.cache[t] = r;
1204
+ }, e;
1205
+ }()
1206
+ ), xn = {
1205
1207
  create: function() {
1206
- return new Ye();
1208
+ return new En();
1207
1209
  }
1208
- }, Pe = {
1209
- variadic: gn,
1210
- monadic: yn
1211
- }, b;
1210
+ }, Oe = {
1211
+ variadic: vn
1212
+ }, ye = function() {
1213
+ return ye = Object.assign || function(t) {
1214
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1215
+ r = arguments[n];
1216
+ for (var o in r)
1217
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1218
+ }
1219
+ return t;
1220
+ }, ye.apply(this, arguments);
1221
+ };
1222
+ var b;
1212
1223
  (function(e) {
1213
1224
  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";
1214
1225
  })(b || (b = {}));
1215
- var _;
1226
+ var v;
1216
1227
  (function(e) {
1217
1228
  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";
1218
- })(_ || (_ = {}));
1219
- var z;
1229
+ })(v || (v = {}));
1230
+ var X;
1220
1231
  (function(e) {
1221
1232
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1222
- })(z || (z = {}));
1223
- function ft(e) {
1224
- return e.type === _.literal;
1225
- }
1226
- function En(e) {
1227
- return e.type === _.argument;
1233
+ })(X || (X = {}));
1234
+ function dt(e) {
1235
+ return e.type === v.literal;
1228
1236
  }
1229
- function Gt(e) {
1230
- return e.type === _.number;
1237
+ function wn(e) {
1238
+ return e.type === v.argument;
1231
1239
  }
1232
1240
  function Ft(e) {
1233
- return e.type === _.date;
1241
+ return e.type === v.number;
1234
1242
  }
1235
1243
  function jt(e) {
1236
- return e.type === _.time;
1244
+ return e.type === v.date;
1237
1245
  }
1238
1246
  function kt(e) {
1239
- return e.type === _.select;
1247
+ return e.type === v.time;
1240
1248
  }
1241
1249
  function Wt(e) {
1242
- return e.type === _.plural;
1243
- }
1244
- function xn(e) {
1245
- return e.type === _.pound;
1250
+ return e.type === v.select;
1246
1251
  }
1247
1252
  function Vt(e) {
1248
- return e.type === _.tag;
1253
+ return e.type === v.plural;
1254
+ }
1255
+ function Sn(e) {
1256
+ return e.type === v.pound;
1249
1257
  }
1250
1258
  function Xt(e) {
1251
- return !!(e && typeof e == "object" && e.type === z.number);
1259
+ return e.type === v.tag;
1252
1260
  }
1253
- function Fe(e) {
1254
- return !!(e && typeof e == "object" && e.type === z.dateTime);
1261
+ function zt(e) {
1262
+ return !!(e && typeof e == "object" && e.type === X.number);
1255
1263
  }
1256
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1257
- function Sn(e) {
1264
+ function Ve(e) {
1265
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1266
+ }
1267
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1268
+ function Hn(e) {
1258
1269
  var t = {};
1259
- return e.replace(wn, function(r) {
1270
+ return e.replace(Tn, function(r) {
1260
1271
  var n = r.length;
1261
1272
  switch (r[0]) {
1262
1273
  case "G":
@@ -1345,11 +1356,21 @@ function Sn(e) {
1345
1356
  return "";
1346
1357
  }), t;
1347
1358
  }
1348
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1349
- function Hn(e) {
1359
+ var _ = function() {
1360
+ return _ = Object.assign || function(t) {
1361
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1362
+ r = arguments[n];
1363
+ for (var o in r)
1364
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1365
+ }
1366
+ return t;
1367
+ }, _.apply(this, arguments);
1368
+ };
1369
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1370
+ function Bn(e) {
1350
1371
  if (e.length === 0)
1351
1372
  throw new Error("Number skeleton cannot be empty");
1352
- for (var t = e.split(Tn).filter(function(f) {
1373
+ for (var t = e.split(Pn).filter(function(f) {
1353
1374
  return f.length > 0;
1354
1375
  }), r = [], n = 0, i = t; n < i.length; n++) {
1355
1376
  var o = i[n], a = o.split("/");
@@ -1364,17 +1385,17 @@ function Hn(e) {
1364
1385
  }
1365
1386
  return r;
1366
1387
  }
1367
- function Bn(e) {
1388
+ function An(e) {
1368
1389
  return e.replace(/^(.*?)-/, "");
1369
1390
  }
1370
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1371
- function dt(e) {
1391
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1392
+ function bt(e) {
1372
1393
  var t = {};
1373
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1394
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1374
1395
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1375
1396
  }), t;
1376
1397
  }
1377
- function Jt(e) {
1398
+ function qt(e) {
1378
1399
  switch (e) {
1379
1400
  case "sign-auto":
1380
1401
  return {
@@ -1414,7 +1435,7 @@ function Jt(e) {
1414
1435
  };
1415
1436
  }
1416
1437
  }
1417
- function An(e) {
1438
+ function In(e) {
1418
1439
  var t;
1419
1440
  if (e[0] === "E" && e[1] === "E" ? (t = {
1420
1441
  notation: "engineering"
@@ -1422,17 +1443,17 @@ function An(e) {
1422
1443
  notation: "scientific"
1423
1444
  }, e = e.slice(1)), t) {
1424
1445
  var r = e.slice(0, 2);
1425
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1446
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1426
1447
  throw new Error("Malformed concise eng/scientific notation");
1427
1448
  t.minimumIntegerDigits = e.length;
1428
1449
  }
1429
1450
  return t;
1430
1451
  }
1431
- function mt(e) {
1432
- var t = {}, r = Jt(e);
1452
+ function yt(e) {
1453
+ var t = {}, r = qt(e);
1433
1454
  return r || t;
1434
1455
  }
1435
- function On(e) {
1456
+ function Nn(e) {
1436
1457
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1437
1458
  var i = n[r];
1438
1459
  switch (i.stem) {
@@ -1456,7 +1477,7 @@ function On(e) {
1456
1477
  continue;
1457
1478
  case "measure-unit":
1458
1479
  case "unit":
1459
- t.style = "unit", t.unit = Bn(i.options[0]);
1480
+ t.style = "unit", t.unit = An(i.options[0]);
1460
1481
  continue;
1461
1482
  case "compact-short":
1462
1483
  case "K":
@@ -1467,13 +1488,13 @@ function On(e) {
1467
1488
  t.notation = "compact", t.compactDisplay = "long";
1468
1489
  continue;
1469
1490
  case "scientific":
1470
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1471
- return v(v({}, l), mt(u));
1491
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1492
+ return _(_({}, l), yt(u));
1472
1493
  }, {}));
1473
1494
  continue;
1474
1495
  case "engineering":
1475
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1476
- return v(v({}, l), mt(u));
1496
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1497
+ return _(_({}, l), yt(u));
1477
1498
  }, {}));
1478
1499
  continue;
1479
1500
  case "notation-simple":
@@ -1518,7 +1539,7 @@ function On(e) {
1518
1539
  case "integer-width":
1519
1540
  if (i.options.length > 1)
1520
1541
  throw new RangeError("integer-width stems only accept a single optional option");
1521
- i.options[0].replace(Pn, function(l, u, h, c, f, p) {
1542
+ i.options[0].replace(On, function(l, u, h, c, f, p) {
1522
1543
  if (u)
1523
1544
  t.minimumIntegerDigits = h.length;
1524
1545
  else {
@@ -1531,28 +1552,28 @@ function On(e) {
1531
1552
  });
1532
1553
  continue;
1533
1554
  }
1534
- if (Qt.test(i.stem)) {
1555
+ if (Jt.test(i.stem)) {
1535
1556
  t.minimumIntegerDigits = i.stem.length;
1536
1557
  continue;
1537
1558
  }
1538
- if (pt.test(i.stem)) {
1559
+ if (mt.test(i.stem)) {
1539
1560
  if (i.options.length > 1)
1540
1561
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1541
- i.stem.replace(pt, function(l, u, h, c, f, p) {
1562
+ i.stem.replace(mt, function(l, u, h, c, f, p) {
1542
1563
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1543
1564
  });
1544
1565
  var o = i.options[0];
1545
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), dt(o)));
1566
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1546
1567
  continue;
1547
1568
  }
1548
- if (Zt.test(i.stem)) {
1549
- t = v(v({}, t), dt(i.stem));
1569
+ if (Qt.test(i.stem)) {
1570
+ t = _(_({}, t), bt(i.stem));
1550
1571
  continue;
1551
1572
  }
1552
- var a = Jt(i.stem);
1553
- a && (t = v(v({}, t), a));
1554
- var s = An(i.stem);
1555
- s && (t = v(v({}, t), s));
1573
+ var a = qt(i.stem);
1574
+ a && (t = _(_({}, t), a));
1575
+ var s = In(i.stem);
1576
+ s && (t = _(_({}, t), s));
1556
1577
  }
1557
1578
  return t;
1558
1579
  }
@@ -2971,13 +2992,13 @@ var fe = {
2971
2992
  "h"
2972
2993
  ]
2973
2994
  };
2974
- function In(e, t) {
2995
+ function Ln(e, t) {
2975
2996
  for (var r = "", n = 0; n < e.length; n++) {
2976
2997
  var i = e.charAt(n);
2977
2998
  if (i === "j") {
2978
2999
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2979
3000
  o++, n++;
2980
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Nn(t);
3001
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Mn(t);
2981
3002
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2982
3003
  r += l;
2983
3004
  for (; a-- > 0; )
@@ -2987,7 +3008,7 @@ function In(e, t) {
2987
3008
  }
2988
3009
  return r;
2989
3010
  }
2990
- function Nn(e) {
3011
+ function Mn(e) {
2991
3012
  var t = e.hourCycle;
2992
3013
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2993
3014
  e.hourCycles && // @ts-ignore
@@ -3009,20 +3030,20 @@ function Nn(e) {
3009
3030
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3010
3031
  return i[0];
3011
3032
  }
3012
- var Ae, Ln = new RegExp("^".concat(zt.source, "*")), Mn = new RegExp("".concat(zt.source, "*$"));
3013
- function y(e, t) {
3033
+ var Ie, Cn = new RegExp("^".concat(Zt.source, "*")), Rn = new RegExp("".concat(Zt.source, "*$"));
3034
+ function g(e, t) {
3014
3035
  return { start: e, end: t };
3015
3036
  }
3016
- var Cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, $n = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
3037
+ var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Wn = kn ? Number.isSafeInteger : function(e) {
3017
3038
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3018
- }, je = !0;
3039
+ }, Xe = !0;
3019
3040
  try {
3020
- var kn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3021
- je = ((Ae = kn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3041
+ var Vn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3042
+ Xe = ((Ie = Vn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3022
3043
  } catch {
3023
- je = !1;
3044
+ Xe = !1;
3024
3045
  }
3025
- var bt = Cn ? (
3046
+ var gt = $n ? (
3026
3047
  // Native
3027
3048
  function(t, r, n) {
3028
3049
  return t.startsWith(r, n);
@@ -3032,7 +3053,7 @@ var bt = Cn ? (
3032
3053
  function(t, r, n) {
3033
3054
  return t.slice(n, n + r.length) === r;
3034
3055
  }
3035
- ), ke = Rn ? String.fromCodePoint : (
3056
+ ), ze = Un ? String.fromCodePoint : (
3036
3057
  // IE11
3037
3058
  function() {
3038
3059
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3044,9 +3065,9 @@ var bt = Cn ? (
3044
3065
  }
3045
3066
  return n;
3046
3067
  }
3047
- ), gt = (
3068
+ ), vt = (
3048
3069
  // native
3049
- $n ? Object.fromEntries : (
3070
+ Dn ? Object.fromEntries : (
3050
3071
  // Ponyfill
3051
3072
  function(t) {
3052
3073
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3056,7 +3077,7 @@ var bt = Cn ? (
3056
3077
  return r;
3057
3078
  }
3058
3079
  )
3059
- ), qt = Un ? (
3080
+ ), Yt = Gn ? (
3060
3081
  // Native
3061
3082
  function(t, r) {
3062
3083
  return t.codePointAt(r);
@@ -3070,7 +3091,7 @@ var bt = Cn ? (
3070
3091
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3071
3092
  }
3072
3093
  }
3073
- ), Wn = Dn ? (
3094
+ ), Xn = Fn ? (
3074
3095
  // Native
3075
3096
  function(t) {
3076
3097
  return t.trimStart();
@@ -3078,9 +3099,9 @@ var bt = Cn ? (
3078
3099
  ) : (
3079
3100
  // Ponyfill
3080
3101
  function(t) {
3081
- return t.replace(Ln, "");
3102
+ return t.replace(Cn, "");
3082
3103
  }
3083
- ), Vn = Gn ? (
3104
+ ), zn = jn ? (
3084
3105
  // Native
3085
3106
  function(t) {
3086
3107
  return t.trimEnd();
@@ -3088,32 +3109,32 @@ var bt = Cn ? (
3088
3109
  ) : (
3089
3110
  // Ponyfill
3090
3111
  function(t) {
3091
- return t.replace(Mn, "");
3112
+ return t.replace(Rn, "");
3092
3113
  }
3093
3114
  );
3094
- function Yt(e, t) {
3115
+ function Kt(e, t) {
3095
3116
  return new RegExp(e, t);
3096
3117
  }
3097
- var We;
3098
- if (je) {
3099
- var yt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3100
- We = function(t, r) {
3118
+ var Ze;
3119
+ if (Xe) {
3120
+ var _t = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3121
+ Ze = function(t, r) {
3101
3122
  var n;
3102
- yt.lastIndex = r;
3103
- var i = yt.exec(t);
3123
+ _t.lastIndex = r;
3124
+ var i = _t.exec(t);
3104
3125
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3105
3126
  };
3106
3127
  } else
3107
- We = function(t, r) {
3128
+ Ze = function(t, r) {
3108
3129
  for (var n = []; ; ) {
3109
- var i = qt(t, r);
3110
- if (i === void 0 || Kt(i) || Qn(i))
3130
+ var i = Yt(t, r);
3131
+ if (i === void 0 || er(i) || qn(i))
3111
3132
  break;
3112
3133
  n.push(i), r += i >= 65536 ? 2 : 1;
3113
3134
  }
3114
- return ke.apply(void 0, n);
3135
+ return ze.apply(void 0, n);
3115
3136
  };
3116
- var Xn = (
3137
+ var Zn = (
3117
3138
  /** @class */
3118
3139
  function() {
3119
3140
  function e(t, r) {
@@ -3137,14 +3158,14 @@ var Xn = (
3137
3158
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3138
3159
  var s = this.clonePosition();
3139
3160
  this.bump(), i.push({
3140
- type: _.pound,
3141
- location: y(s, this.clonePosition())
3161
+ type: v.pound,
3162
+ location: g(s, this.clonePosition())
3142
3163
  });
3143
3164
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3144
3165
  if (n)
3145
3166
  break;
3146
- return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3147
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3167
+ return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3168
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3148
3169
  var a = this.parseTag(t, r);
3149
3170
  if (a.err)
3150
3171
  return a;
@@ -3165,9 +3186,9 @@ var Xn = (
3165
3186
  if (this.bumpSpace(), this.bumpIf("/>"))
3166
3187
  return {
3167
3188
  val: {
3168
- type: _.literal,
3189
+ type: v.literal,
3169
3190
  value: "<".concat(i, "/>"),
3170
- location: y(n, this.clonePosition())
3191
+ location: g(n, this.clonePosition())
3171
3192
  },
3172
3193
  err: null
3173
3194
  };
@@ -3177,25 +3198,25 @@ var Xn = (
3177
3198
  return o;
3178
3199
  var a = o.val, s = this.clonePosition();
3179
3200
  if (this.bumpIf("</")) {
3180
- if (this.isEOF() || !Ve(this.char()))
3181
- return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
3201
+ if (this.isEOF() || !Qe(this.char()))
3202
+ return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3182
3203
  var l = this.clonePosition(), u = this.parseTagName();
3183
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3204
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3184
3205
  val: {
3185
- type: _.tag,
3206
+ type: v.tag,
3186
3207
  value: i,
3187
3208
  children: a,
3188
- location: y(n, this.clonePosition())
3209
+ location: g(n, this.clonePosition())
3189
3210
  },
3190
3211
  err: null
3191
- } : this.error(b.INVALID_TAG, y(s, this.clonePosition())));
3212
+ } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3192
3213
  } else
3193
- return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3214
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3194
3215
  } else
3195
- return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3216
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3196
3217
  }, e.prototype.parseTagName = function() {
3197
3218
  var t = this.offset();
3198
- for (this.bump(); !this.isEOF() && Zn(this.char()); )
3219
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3199
3220
  this.bump();
3200
3221
  return this.message.slice(t, this.offset());
3201
3222
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3217,14 +3238,14 @@ var Xn = (
3217
3238
  }
3218
3239
  break;
3219
3240
  }
3220
- var l = y(n, this.clonePosition());
3241
+ var l = g(n, this.clonePosition());
3221
3242
  return {
3222
- val: { type: _.literal, value: i, location: l },
3243
+ val: { type: v.literal, value: i, location: l },
3223
3244
  err: null
3224
3245
  };
3225
3246
  }, e.prototype.tryParseLeftAngleBracket = function() {
3226
3247
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3227
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3248
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3228
3249
  }, e.prototype.tryParseQuote = function(t) {
3229
3250
  if (this.isEOF() || this.char() !== 39)
3230
3251
  return null;
@@ -3258,49 +3279,49 @@ var Xn = (
3258
3279
  r.push(n);
3259
3280
  this.bump();
3260
3281
  }
3261
- return ke.apply(void 0, r);
3282
+ return ze.apply(void 0, r);
3262
3283
  }, e.prototype.tryParseUnquoted = function(t, r) {
3263
3284
  if (this.isEOF())
3264
3285
  return null;
3265
3286
  var n = this.char();
3266
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3287
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3267
3288
  }, e.prototype.parseArgument = function(t, r) {
3268
3289
  var n = this.clonePosition();
3269
3290
  if (this.bump(), this.bumpSpace(), this.isEOF())
3270
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3291
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3271
3292
  if (this.char() === 125)
3272
- return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3293
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3273
3294
  var i = this.parseIdentifierIfPossible().value;
3274
3295
  if (!i)
3275
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3296
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3276
3297
  if (this.bumpSpace(), this.isEOF())
3277
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3298
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3278
3299
  switch (this.char()) {
3279
3300
  case 125:
3280
3301
  return this.bump(), {
3281
3302
  val: {
3282
- type: _.argument,
3303
+ type: v.argument,
3283
3304
  // value does not include the opening and closing braces.
3284
3305
  value: i,
3285
- location: y(n, this.clonePosition())
3306
+ location: g(n, this.clonePosition())
3286
3307
  },
3287
3308
  err: null
3288
3309
  };
3289
3310
  case 44:
3290
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3311
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3291
3312
  default:
3292
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3313
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3293
3314
  }
3294
3315
  }, e.prototype.parseIdentifierIfPossible = function() {
3295
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3316
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3296
3317
  this.bumpTo(i);
3297
- var o = this.clonePosition(), a = y(t, o);
3318
+ var o = this.clonePosition(), a = g(t, o);
3298
3319
  return { value: n, location: a };
3299
3320
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3300
3321
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3301
3322
  switch (s) {
3302
3323
  case "":
3303
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, l));
3324
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, l));
3304
3325
  case "number":
3305
3326
  case "date":
3306
3327
  case "time": {
@@ -3311,46 +3332,46 @@ var Xn = (
3311
3332
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3312
3333
  if (c.err)
3313
3334
  return c;
3314
- var f = Vn(c.val);
3335
+ var f = zn(c.val);
3315
3336
  if (f.length === 0)
3316
- return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3317
- var p = y(h, this.clonePosition());
3337
+ return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3338
+ var p = g(h, this.clonePosition());
3318
3339
  u = { style: f, styleLocation: p };
3319
3340
  }
3320
3341
  var m = this.tryParseArgumentClose(i);
3321
3342
  if (m.err)
3322
3343
  return m;
3323
- var g = y(i, this.clonePosition());
3324
- if (u && bt(u?.style, "::", 0)) {
3325
- var w = Wn(u.style.slice(2));
3344
+ var y = g(i, this.clonePosition());
3345
+ if (u && gt(u?.style, "::", 0)) {
3346
+ var w = Xn(u.style.slice(2));
3326
3347
  if (s === "number") {
3327
3348
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3328
3349
  return c.err ? c : {
3329
- val: { type: _.number, value: n, location: g, style: c.val },
3350
+ val: { type: v.number, value: n, location: y, style: c.val },
3330
3351
  err: null
3331
3352
  };
3332
3353
  } else {
3333
3354
  if (w.length === 0)
3334
- return this.error(b.EXPECT_DATE_TIME_SKELETON, g);
3355
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
3335
3356
  var L = w;
3336
- this.locale && (L = In(w, this.locale));
3357
+ this.locale && (L = Ln(w, this.locale));
3337
3358
  var f = {
3338
- type: z.dateTime,
3359
+ type: X.dateTime,
3339
3360
  pattern: L,
3340
3361
  location: u.styleLocation,
3341
- parsedOptions: this.shouldParseSkeletons ? Sn(L) : {}
3342
- }, P = s === "date" ? _.date : _.time;
3362
+ parsedOptions: this.shouldParseSkeletons ? Hn(L) : {}
3363
+ }, B = s === "date" ? v.date : v.time;
3343
3364
  return {
3344
- val: { type: P, value: n, location: g, style: f },
3365
+ val: { type: B, value: n, location: y, style: f },
3345
3366
  err: null
3346
3367
  };
3347
3368
  }
3348
3369
  }
3349
3370
  return {
3350
3371
  val: {
3351
- type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3372
+ type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3352
3373
  value: n,
3353
- location: g,
3374
+ location: y,
3354
3375
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3355
3376
  },
3356
3377
  err: null
@@ -3361,12 +3382,12 @@ var Xn = (
3361
3382
  case "select": {
3362
3383
  var T = this.clonePosition();
3363
3384
  if (this.bumpSpace(), !this.bumpIf(","))
3364
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, v({}, T)));
3385
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ye({}, T)));
3365
3386
  this.bumpSpace();
3366
3387
  var $ = this.parseIdentifierIfPossible(), A = 0;
3367
3388
  if (s !== "select" && $.value === "offset") {
3368
3389
  if (!this.bumpIf(":"))
3369
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3390
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3370
3391
  this.bumpSpace();
3371
3392
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3372
3393
  if (c.err)
@@ -3379,20 +3400,20 @@ var Xn = (
3379
3400
  var m = this.tryParseArgumentClose(i);
3380
3401
  if (m.err)
3381
3402
  return m;
3382
- var he = y(i, this.clonePosition());
3403
+ var he = g(i, this.clonePosition());
3383
3404
  return s === "select" ? {
3384
3405
  val: {
3385
- type: _.select,
3406
+ type: v.select,
3386
3407
  value: n,
3387
- options: gt(U.val),
3408
+ options: vt(U.val),
3388
3409
  location: he
3389
3410
  },
3390
3411
  err: null
3391
3412
  } : {
3392
3413
  val: {
3393
- type: _.plural,
3414
+ type: v.plural,
3394
3415
  value: n,
3395
- options: gt(U.val),
3416
+ options: vt(U.val),
3396
3417
  offset: A,
3397
3418
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3398
3419
  location: he
@@ -3401,10 +3422,10 @@ var Xn = (
3401
3422
  };
3402
3423
  }
3403
3424
  default:
3404
- return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
3425
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, l));
3405
3426
  }
3406
3427
  }, e.prototype.tryParseArgumentClose = function(t) {
3407
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3428
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3408
3429
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3409
3430
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3410
3431
  var n = this.char();
@@ -3413,7 +3434,7 @@ var Xn = (
3413
3434
  this.bump();
3414
3435
  var i = this.clonePosition();
3415
3436
  if (!this.bumpUntil("'"))
3416
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3437
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3417
3438
  this.bump();
3418
3439
  break;
3419
3440
  }
@@ -3443,16 +3464,16 @@ var Xn = (
3443
3464
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3444
3465
  var n = [];
3445
3466
  try {
3446
- n = Hn(t);
3467
+ n = Bn(t);
3447
3468
  } catch {
3448
3469
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3449
3470
  }
3450
3471
  return {
3451
3472
  val: {
3452
- type: z.number,
3473
+ type: X.number,
3453
3474
  tokens: n,
3454
3475
  location: r,
3455
- parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3476
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3456
3477
  },
3457
3478
  err: null
3458
3479
  };
@@ -3464,7 +3485,7 @@ var Xn = (
3464
3485
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3465
3486
  if (f.err)
3466
3487
  return f;
3467
- h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3488
+ h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3468
3489
  } else
3469
3490
  break;
3470
3491
  }
@@ -3473,22 +3494,22 @@ var Xn = (
3473
3494
  u === "other" && (a = !0), this.bumpSpace();
3474
3495
  var p = this.clonePosition();
3475
3496
  if (!this.bumpIf("{"))
3476
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3497
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3477
3498
  var m = this.parseMessage(t + 1, r, n);
3478
3499
  if (m.err)
3479
3500
  return m;
3480
- var g = this.tryParseArgumentClose(p);
3481
- if (g.err)
3482
- return g;
3501
+ var y = this.tryParseArgumentClose(p);
3502
+ if (y.err)
3503
+ return y;
3483
3504
  s.push([
3484
3505
  u,
3485
3506
  {
3486
3507
  value: m.val,
3487
- location: y(p, this.clonePosition())
3508
+ location: g(p, this.clonePosition())
3488
3509
  }
3489
3510
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3490
3511
  }
3491
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3512
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3492
3513
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3493
3514
  var n = 1, i = this.clonePosition();
3494
3515
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3499,8 +3520,8 @@ var Xn = (
3499
3520
  else
3500
3521
  break;
3501
3522
  }
3502
- var l = y(i, this.clonePosition());
3503
- return o ? (a *= n, jn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3523
+ var l = g(i, this.clonePosition());
3524
+ return o ? (a *= n, Wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3504
3525
  }, e.prototype.offset = function() {
3505
3526
  return this.position.offset;
3506
3527
  }, e.prototype.isEOF = function() {
@@ -3515,7 +3536,7 @@ var Xn = (
3515
3536
  var t = this.position.offset;
3516
3537
  if (t >= this.message.length)
3517
3538
  throw Error("out of bound");
3518
- var r = qt(this.message, t);
3539
+ var r = Yt(this.message, t);
3519
3540
  if (r === void 0)
3520
3541
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3521
3542
  return r;
@@ -3534,7 +3555,7 @@ var Xn = (
3534
3555
  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);
3535
3556
  }
3536
3557
  }, e.prototype.bumpIf = function(t) {
3537
- if (bt(this.message, t, this.offset())) {
3558
+ if (gt(this.message, t, this.offset())) {
3538
3559
  for (var r = 0; r < t.length; r++)
3539
3560
  this.bump();
3540
3561
  return !0;
@@ -3556,7 +3577,7 @@ var Xn = (
3556
3577
  break;
3557
3578
  }
3558
3579
  }, e.prototype.bumpSpace = function() {
3559
- for (; !this.isEOF() && Kt(this.char()); )
3580
+ for (; !this.isEOF() && er(this.char()); )
3560
3581
  this.bump();
3561
3582
  }, e.prototype.peek = function() {
3562
3583
  if (this.isEOF())
@@ -3566,47 +3587,47 @@ var Xn = (
3566
3587
  }, e;
3567
3588
  }()
3568
3589
  );
3569
- function Ve(e) {
3590
+ function Qe(e) {
3570
3591
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3571
3592
  }
3572
- function zn(e) {
3573
- return Ve(e) || e === 47;
3593
+ function Qn(e) {
3594
+ return Qe(e) || e === 47;
3574
3595
  }
3575
- function Zn(e) {
3596
+ function Jn(e) {
3576
3597
  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;
3577
3598
  }
3578
- function Kt(e) {
3599
+ function er(e) {
3579
3600
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3580
3601
  }
3581
- function Qn(e) {
3602
+ function qn(e) {
3582
3603
  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;
3583
3604
  }
3584
- function Xe(e) {
3605
+ function Je(e) {
3585
3606
  e.forEach(function(t) {
3586
- if (delete t.location, kt(t) || Wt(t))
3607
+ if (delete t.location, Wt(t) || Vt(t))
3587
3608
  for (var r in t.options)
3588
- delete t.options[r].location, Xe(t.options[r].value);
3609
+ delete t.options[r].location, Je(t.options[r].value);
3589
3610
  else
3590
- Gt(t) && Xt(t.style) || (Ft(t) || jt(t)) && Fe(t.style) ? delete t.style.location : Vt(t) && Xe(t.children);
3611
+ Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Ve(t.style) ? delete t.style.location : Xt(t) && Je(t.children);
3591
3612
  });
3592
3613
  }
3593
- function Jn(e, t) {
3594
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3595
- var r = new Xn(e, t).parse();
3614
+ function Yn(e, t) {
3615
+ t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3616
+ var r = new Zn(e, t).parse();
3596
3617
  if (r.err) {
3597
3618
  var n = SyntaxError(b[r.err.kind]);
3598
3619
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3599
3620
  }
3600
- return t?.captureLocation || Xe(r.val), r.val;
3621
+ return t?.captureLocation || Je(r.val), r.val;
3601
3622
  }
3602
- var Z;
3623
+ var z;
3603
3624
  (function(e) {
3604
3625
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3605
- })(Z || (Z = {}));
3606
- var Ee = (
3626
+ })(z || (z = {}));
3627
+ var we = (
3607
3628
  /** @class */
3608
3629
  function(e) {
3609
- N(t, e);
3630
+ xe(t, e);
3610
3631
  function t(r, n, i) {
3611
3632
  var o = e.call(this, r) || this;
3612
3633
  return o.code = n, o.originalMessage = i, o;
@@ -3615,48 +3636,48 @@ var Ee = (
3615
3636
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3616
3637
  }, t;
3617
3638
  }(Error)
3618
- ), vt = (
3639
+ ), Et = (
3619
3640
  /** @class */
3620
3641
  function(e) {
3621
- N(t, e);
3642
+ xe(t, e);
3622
3643
  function t(r, n, i, o) {
3623
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3644
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3624
3645
  }
3625
3646
  return t;
3626
- }(Ee)
3627
- ), qn = (
3647
+ }(we)
3648
+ ), Kn = (
3628
3649
  /** @class */
3629
3650
  function(e) {
3630
- N(t, e);
3651
+ xe(t, e);
3631
3652
  function t(r, n, i) {
3632
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3653
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3633
3654
  }
3634
3655
  return t;
3635
- }(Ee)
3636
- ), Yn = (
3656
+ }(we)
3657
+ ), ei = (
3637
3658
  /** @class */
3638
3659
  function(e) {
3639
- N(t, e);
3660
+ xe(t, e);
3640
3661
  function t(r, n) {
3641
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3662
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3642
3663
  }
3643
3664
  return t;
3644
- }(Ee)
3665
+ }(we)
3645
3666
  ), S;
3646
3667
  (function(e) {
3647
3668
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3648
3669
  })(S || (S = {}));
3649
- function Kn(e) {
3670
+ function ti(e) {
3650
3671
  return e.length < 2 ? e : e.reduce(function(t, r) {
3651
3672
  var n = t[t.length - 1];
3652
3673
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3653
3674
  }, []);
3654
3675
  }
3655
- function ei(e) {
3676
+ function ri(e) {
3656
3677
  return typeof e == "function";
3657
3678
  }
3658
3679
  function me(e, t, r, n, i, o, a) {
3659
- if (e.length === 1 && ft(e[0]))
3680
+ if (e.length === 1 && dt(e[0]))
3660
3681
  return [
3661
3682
  {
3662
3683
  type: S.literal,
@@ -3665,14 +3686,14 @@ function me(e, t, r, n, i, o, a) {
3665
3686
  ];
3666
3687
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3667
3688
  var h = u[l];
3668
- if (ft(h)) {
3689
+ if (dt(h)) {
3669
3690
  s.push({
3670
3691
  type: S.literal,
3671
3692
  value: h.value
3672
3693
  });
3673
3694
  continue;
3674
3695
  }
3675
- if (xn(h)) {
3696
+ if (Sn(h)) {
3676
3697
  typeof o == "number" && s.push({
3677
3698
  type: S.literal,
3678
3699
  value: r.getNumberFormat(t).format(o)
@@ -3681,89 +3702,89 @@ function me(e, t, r, n, i, o, a) {
3681
3702
  }
3682
3703
  var c = h.value;
3683
3704
  if (!(i && c in i))
3684
- throw new Yn(c, a);
3705
+ throw new ei(c, a);
3685
3706
  var f = i[c];
3686
- if (En(h)) {
3707
+ if (wn(h)) {
3687
3708
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3688
3709
  type: typeof f == "string" ? S.literal : S.object,
3689
3710
  value: f
3690
3711
  });
3691
3712
  continue;
3692
3713
  }
3693
- if (Ft(h)) {
3694
- var p = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
3714
+ if (jt(h)) {
3715
+ var p = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3695
3716
  s.push({
3696
3717
  type: S.literal,
3697
3718
  value: r.getDateTimeFormat(t, p).format(f)
3698
3719
  });
3699
3720
  continue;
3700
3721
  }
3701
- if (jt(h)) {
3702
- var p = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
3722
+ if (kt(h)) {
3723
+ var p = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3703
3724
  s.push({
3704
3725
  type: S.literal,
3705
3726
  value: r.getDateTimeFormat(t, p).format(f)
3706
3727
  });
3707
3728
  continue;
3708
3729
  }
3709
- if (Gt(h)) {
3710
- var p = typeof h.style == "string" ? n.number[h.style] : Xt(h.style) ? h.style.parsedOptions : void 0;
3730
+ if (Ft(h)) {
3731
+ var p = typeof h.style == "string" ? n.number[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
3711
3732
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3712
3733
  type: S.literal,
3713
3734
  value: r.getNumberFormat(t, p).format(f)
3714
3735
  });
3715
3736
  continue;
3716
3737
  }
3717
- if (Vt(h)) {
3718
- var m = h.children, g = h.value, w = i[g];
3719
- if (!ei(w))
3720
- throw new qn(g, "function", a);
3721
- var L = me(m, t, r, n, i, o), P = w(L.map(function(A) {
3738
+ if (Xt(h)) {
3739
+ var m = h.children, y = h.value, w = i[y];
3740
+ if (!ri(w))
3741
+ throw new Kn(y, "function", a);
3742
+ var L = me(m, t, r, n, i, o), B = w(L.map(function(A) {
3722
3743
  return A.value;
3723
3744
  }));
3724
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(A) {
3745
+ Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(A) {
3725
3746
  return {
3726
3747
  type: typeof A == "string" ? S.literal : S.object,
3727
3748
  value: A
3728
3749
  };
3729
3750
  }));
3730
3751
  }
3731
- if (kt(h)) {
3752
+ if (Wt(h)) {
3732
3753
  var T = h.options[f] || h.options.other;
3733
3754
  if (!T)
3734
- throw new vt(h.value, f, Object.keys(h.options), a);
3755
+ throw new Et(h.value, f, Object.keys(h.options), a);
3735
3756
  s.push.apply(s, me(T.value, t, r, n, i));
3736
3757
  continue;
3737
3758
  }
3738
- if (Wt(h)) {
3759
+ if (Vt(h)) {
3739
3760
  var T = h.options["=".concat(f)];
3740
3761
  if (!T) {
3741
3762
  if (!Intl.PluralRules)
3742
- throw new Ee(`Intl.PluralRules is not available in this environment.
3763
+ throw new we(`Intl.PluralRules is not available in this environment.
3743
3764
  Try polyfilling it using "@formatjs/intl-pluralrules"
3744
- `, Z.MISSING_INTL_API, a);
3765
+ `, z.MISSING_INTL_API, a);
3745
3766
  var $ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3746
3767
  T = h.options[$] || h.options.other;
3747
3768
  }
3748
3769
  if (!T)
3749
- throw new vt(h.value, f, Object.keys(h.options), a);
3770
+ throw new Et(h.value, f, Object.keys(h.options), a);
3750
3771
  s.push.apply(s, me(T.value, t, r, n, i, f - (h.offset || 0)));
3751
3772
  continue;
3752
3773
  }
3753
3774
  }
3754
- return Kn(s);
3775
+ return ti(s);
3755
3776
  }
3756
- function ti(e, t) {
3757
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3758
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3777
+ function ni(e, t) {
3778
+ return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3779
+ return r[n] = O(O({}, e[n]), t[n] || {}), r;
3759
3780
  }, {})) : e;
3760
3781
  }
3761
- function ri(e, t) {
3782
+ function ii(e, t) {
3762
3783
  return t ? Object.keys(e).reduce(function(r, n) {
3763
- return r[n] = ti(e[n], t[n]), r;
3764
- }, v({}, e)) : e;
3784
+ return r[n] = ni(e[n], t[n]), r;
3785
+ }, O({}, e)) : e;
3765
3786
  }
3766
- function Oe(e) {
3787
+ function Ne(e) {
3767
3788
  return {
3768
3789
  create: function() {
3769
3790
  return {
@@ -3777,39 +3798,39 @@ function Oe(e) {
3777
3798
  }
3778
3799
  };
3779
3800
  }
3780
- function ni(e) {
3801
+ function oi(e) {
3781
3802
  return e === void 0 && (e = {
3782
3803
  number: {},
3783
3804
  dateTime: {},
3784
3805
  pluralRules: {}
3785
3806
  }), {
3786
- getNumberFormat: Be(function() {
3807
+ getNumberFormat: Ae(function() {
3787
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3788
3809
  r[n] = arguments[n];
3789
- return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3810
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3790
3811
  }, {
3791
- cache: Oe(e.number),
3792
- strategy: Pe.variadic
3812
+ cache: Ne(e.number),
3813
+ strategy: Oe.variadic
3793
3814
  }),
3794
- getDateTimeFormat: Be(function() {
3815
+ getDateTimeFormat: Ae(function() {
3795
3816
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3817
  r[n] = arguments[n];
3797
- return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3818
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3798
3819
  }, {
3799
- cache: Oe(e.dateTime),
3800
- strategy: Pe.variadic
3820
+ cache: Ne(e.dateTime),
3821
+ strategy: Oe.variadic
3801
3822
  }),
3802
- getPluralRules: Be(function() {
3823
+ getPluralRules: Ae(function() {
3803
3824
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3825
  r[n] = arguments[n];
3805
- return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3826
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3806
3827
  }, {
3807
- cache: Oe(e.pluralRules),
3808
- strategy: Pe.variadic
3828
+ cache: Ne(e.pluralRules),
3829
+ strategy: Oe.variadic
3809
3830
  })
3810
3831
  };
3811
3832
  }
3812
- var ii = (
3833
+ var si = (
3813
3834
  /** @class */
3814
3835
  function() {
3815
3836
  function e(t, r, n, i) {
@@ -3841,13 +3862,13 @@ var ii = (
3841
3862
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3842
3863
  var a = i || {};
3843
3864
  a.formatters;
3844
- var s = Rr(a, ["formatters"]);
3845
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3865
+ var s = mn(a, ["formatters"]);
3866
+ this.ast = e.__parse(t, O(O({}, s), { locale: this.resolvedLocale }));
3846
3867
  } else
3847
3868
  this.ast = t;
3848
3869
  if (!Array.isArray(this.ast))
3849
3870
  throw new TypeError("A message must be provided as a String or AST.");
3850
- this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3871
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3851
3872
  }
3852
3873
  return Object.defineProperty(e, "defaultLocale", {
3853
3874
  get: function() {
@@ -3860,7 +3881,7 @@ var ii = (
3860
3881
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3861
3882
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3862
3883
  }
3863
- }, e.__parse = Jn, e.formats = {
3884
+ }, e.__parse = Yn, e.formats = {
3864
3885
  number: {
3865
3886
  integer: {
3866
3887
  maximumFractionDigits: 0
@@ -3921,7 +3942,7 @@ var ii = (
3921
3942
  }, e;
3922
3943
  }()
3923
3944
  );
3924
- function oi(e, t) {
3945
+ function ai(e, t) {
3925
3946
  if (t == null)
3926
3947
  return;
3927
3948
  if (t in e)
@@ -3942,92 +3963,92 @@ function oi(e, t) {
3942
3963
  n = void 0;
3943
3964
  return n;
3944
3965
  }
3945
- const R = {}, si = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), er = (e, t) => {
3966
+ const R = {}, ui = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), tr = (e, t) => {
3946
3967
  if (t == null)
3947
3968
  return;
3948
3969
  if (t in R && e in R[t])
3949
3970
  return R[t][e];
3950
- const r = xe(t);
3971
+ const r = Se(t);
3951
3972
  for (let n = 0; n < r.length; n++) {
3952
- const i = r[n], o = ui(i, e);
3973
+ const i = r[n], o = li(i, e);
3953
3974
  if (o)
3954
- return si(e, t, o);
3975
+ return ui(e, t, o);
3955
3976
  }
3956
3977
  };
3957
- let Ke;
3958
- const ue = _e({});
3959
- function ai(e) {
3960
- return Ke[e] || null;
3978
+ let tt;
3979
+ const ue = Ee({});
3980
+ function hi(e) {
3981
+ return tt[e] || null;
3961
3982
  }
3962
- function tr(e) {
3963
- return e in Ke;
3983
+ function rr(e) {
3984
+ return e in tt;
3964
3985
  }
3965
- function ui(e, t) {
3966
- if (!tr(e))
3986
+ function li(e, t) {
3987
+ if (!rr(e))
3967
3988
  return null;
3968
- const r = ai(e);
3969
- return oi(r, t);
3989
+ const r = hi(e);
3990
+ return ai(r, t);
3970
3991
  }
3971
- function hi(e) {
3992
+ function ci(e) {
3972
3993
  if (e == null)
3973
3994
  return;
3974
- const t = xe(e);
3995
+ const t = Se(e);
3975
3996
  for (let r = 0; r < t.length; r++) {
3976
3997
  const n = t[r];
3977
- if (tr(n))
3998
+ if (rr(n))
3978
3999
  return n;
3979
4000
  }
3980
4001
  }
3981
- function rr(e, ...t) {
4002
+ function nr(e, ...t) {
3982
4003
  delete R[e], ue.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3983
4004
  }
3984
- q(
4005
+ J(
3985
4006
  [ue],
3986
4007
  ([e]) => Object.keys(e)
3987
4008
  );
3988
- ue.subscribe((e) => Ke = e);
4009
+ ue.subscribe((e) => tt = e);
3989
4010
  const be = {};
3990
- function li(e, t) {
4011
+ function fi(e, t) {
3991
4012
  be[e].delete(t), be[e].size === 0 && delete be[e];
3992
4013
  }
3993
- function nr(e) {
4014
+ function ir(e) {
3994
4015
  return be[e];
3995
4016
  }
3996
- function ci(e) {
3997
- return xe(e).map((t) => {
3998
- const r = nr(t);
4017
+ function pi(e) {
4018
+ return Se(e).map((t) => {
4019
+ const r = ir(t);
3999
4020
  return [t, r ? [...r] : []];
4000
4021
  }).filter(([, t]) => t.length > 0);
4001
4022
  }
4002
- function ze(e) {
4003
- return e == null ? !1 : xe(e).some(
4023
+ function qe(e) {
4024
+ return e == null ? !1 : Se(e).some(
4004
4025
  (t) => {
4005
4026
  var r;
4006
- return (r = nr(t)) == null ? void 0 : r.size;
4027
+ return (r = ir(t)) == null ? void 0 : r.size;
4007
4028
  }
4008
4029
  );
4009
4030
  }
4010
- function fi(e, t) {
4031
+ function di(e, t) {
4011
4032
  return Promise.all(
4012
- t.map((n) => (li(e, n), n().then((i) => i.default || i)))
4013
- ).then((n) => rr(e, ...n));
4014
- }
4015
- const ee = {};
4016
- function ir(e) {
4017
- if (!ze(e))
4018
- return e in ee ? ee[e] : Promise.resolve();
4019
- const t = ci(e);
4020
- return ee[e] = Promise.all(
4033
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4034
+ ).then((n) => nr(e, ...n));
4035
+ }
4036
+ const K = {};
4037
+ function or(e) {
4038
+ if (!qe(e))
4039
+ return e in K ? K[e] : Promise.resolve();
4040
+ const t = pi(e);
4041
+ return K[e] = Promise.all(
4021
4042
  t.map(
4022
- ([r, n]) => fi(r, n)
4043
+ ([r, n]) => di(r, n)
4023
4044
  )
4024
4045
  ).then(() => {
4025
- if (ze(e))
4026
- return ir(e);
4027
- delete ee[e];
4028
- }), ee[e];
4046
+ if (qe(e))
4047
+ return or(e);
4048
+ delete K[e];
4049
+ }), K[e];
4029
4050
  }
4030
- const pi = {
4051
+ const mi = {
4031
4052
  number: {
4032
4053
  scientific: { notation: "scientific" },
4033
4054
  engineering: { notation: "engineering" },
@@ -4056,135 +4077,135 @@ const pi = {
4056
4077
  timeZoneName: "short"
4057
4078
  }
4058
4079
  }
4059
- }, di = {
4080
+ }, bi = {
4060
4081
  fallbackLocale: null,
4061
4082
  loadingDelay: 200,
4062
- formats: pi,
4083
+ formats: mi,
4063
4084
  warnOnMissingMessages: !0,
4064
4085
  handleMissingMessage: void 0,
4065
4086
  ignoreTag: !0
4066
- }, mi = di;
4067
- function Q() {
4068
- return mi;
4087
+ }, yi = bi;
4088
+ function Z() {
4089
+ return yi;
4069
4090
  }
4070
- const Ie = _e(!1);
4071
- var bi = Object.defineProperty, gi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4091
+ const Le = Ee(!1);
4092
+ var gi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4072
4093
  for (var r in t || (t = {}))
4073
- vi.call(t, r) && Et(e, r, t[r]);
4074
- if (_t)
4075
- for (var r of _t(t))
4076
- _i.call(t, r) && Et(e, r, t[r]);
4094
+ Ei.call(t, r) && wt(e, r, t[r]);
4095
+ if (xt)
4096
+ for (var r of xt(t))
4097
+ xi.call(t, r) && wt(e, r, t[r]);
4077
4098
  return e;
4078
- }, xi = (e, t) => gi(e, yi(t));
4079
- let Ze;
4080
- const ge = _e(null);
4081
- function xt(e) {
4099
+ }, Si = (e, t) => vi(e, _i(t));
4100
+ let Ye;
4101
+ const ge = Ee(null);
4102
+ function St(e) {
4082
4103
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4083
4104
  }
4084
- function xe(e, t = Q().fallbackLocale) {
4085
- const r = xt(e);
4086
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4105
+ function Se(e, t = Z().fallbackLocale) {
4106
+ const r = St(e);
4107
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4087
4108
  }
4088
4109
  function D() {
4089
- return Ze ?? void 0;
4110
+ return Ye ?? void 0;
4090
4111
  }
4091
4112
  ge.subscribe((e) => {
4092
- Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4113
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4093
4114
  });
4094
- const wi = (e) => {
4095
- if (e && hi(e) && ze(e)) {
4096
- const { loadingDelay: t } = Q();
4115
+ const Ti = (e) => {
4116
+ if (e && ci(e) && qe(e)) {
4117
+ const { loadingDelay: t } = Z();
4097
4118
  let r;
4098
4119
  return typeof window < "u" && D() != null && t ? r = window.setTimeout(
4099
- () => Ie.set(!0),
4120
+ () => Le.set(!0),
4100
4121
  t
4101
- ) : Ie.set(!0), ir(e).then(() => {
4122
+ ) : Le.set(!0), or(e).then(() => {
4102
4123
  ge.set(e);
4103
4124
  }).finally(() => {
4104
- clearTimeout(r), Ie.set(!1);
4125
+ clearTimeout(r), Le.set(!1);
4105
4126
  });
4106
4127
  }
4107
4128
  return ge.set(e);
4108
- }, Y = xi(Ei({}, ge), {
4109
- set: wi
4110
- }), we = (e) => {
4129
+ }, q = Si(wi({}, ge), {
4130
+ set: Ti
4131
+ }), Te = (e) => {
4111
4132
  const t = /* @__PURE__ */ Object.create(null);
4112
4133
  return (n) => {
4113
4134
  const i = JSON.stringify(n);
4114
4135
  return i in t ? t[i] : t[i] = e(n);
4115
4136
  };
4116
4137
  };
4117
- var Si = Object.defineProperty, ye = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4138
+ var Hi = Object.defineProperty, ve = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4118
4139
  for (var r in t || (t = {}))
4119
- or.call(t, r) && wt(e, r, t[r]);
4120
- if (ye)
4121
- for (var r of ye(t))
4122
- sr.call(t, r) && wt(e, r, t[r]);
4140
+ sr.call(t, r) && Tt(e, r, t[r]);
4141
+ if (ve)
4142
+ for (var r of ve(t))
4143
+ ar.call(t, r) && Tt(e, r, t[r]);
4123
4144
  return e;
4124
- }, K = (e, t) => {
4145
+ }, Y = (e, t) => {
4125
4146
  var r = {};
4126
4147
  for (var n in e)
4127
- or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4128
- if (e != null && ye)
4129
- for (var n of ye(e))
4130
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4148
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4149
+ if (e != null && ve)
4150
+ for (var n of ve(e))
4151
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4131
4152
  return r;
4132
4153
  };
4133
- const oe = (e, t) => {
4134
- const { formats: r } = Q();
4154
+ const ie = (e, t) => {
4155
+ const { formats: r } = Z();
4135
4156
  if (e in r && t in r[e])
4136
4157
  return r[e][t];
4137
4158
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4138
- }, Ti = we(
4159
+ }, Pi = Te(
4139
4160
  (e) => {
4140
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4161
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4141
4162
  if (r == null)
4142
4163
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4143
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4164
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4144
4165
  }
4145
- ), Hi = we(
4166
+ ), Bi = Te(
4146
4167
  (e) => {
4147
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4168
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4148
4169
  if (r == null)
4149
4170
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4150
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4171
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4151
4172
  }
4152
- ), Bi = we(
4173
+ ), Ai = Te(
4153
4174
  (e) => {
4154
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4175
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4155
4176
  if (r == null)
4156
4177
  throw new Error(
4157
4178
  '[svelte-i18n] A "locale" must be set to format time values'
4158
4179
  );
4159
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4180
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4160
4181
  }
4161
- ), Pi = (e = {}) => {
4182
+ ), Oi = (e = {}) => {
4162
4183
  var t = e, {
4163
4184
  locale: r = D()
4164
- } = t, n = K(t, [
4185
+ } = t, n = Y(t, [
4165
4186
  "locale"
4166
4187
  ]);
4167
- return Ti(et({ locale: r }, n));
4168
- }, Ai = (e = {}) => {
4188
+ return Pi(rt({ locale: r }, n));
4189
+ }, Ii = (e = {}) => {
4169
4190
  var t = e, {
4170
4191
  locale: r = D()
4171
- } = t, n = K(t, [
4192
+ } = t, n = Y(t, [
4172
4193
  "locale"
4173
4194
  ]);
4174
- return Hi(et({ locale: r }, n));
4175
- }, Oi = (e = {}) => {
4195
+ return Bi(rt({ locale: r }, n));
4196
+ }, Ni = (e = {}) => {
4176
4197
  var t = e, {
4177
4198
  locale: r = D()
4178
- } = t, n = K(t, [
4199
+ } = t, n = Y(t, [
4179
4200
  "locale"
4180
4201
  ]);
4181
- return Bi(et({ locale: r }, n));
4182
- }, Ii = we(
4202
+ return Ai(rt({ locale: r }, n));
4203
+ }, Li = Te(
4183
4204
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4184
- (e, t = D()) => new ii(e, t, Q().formats, {
4185
- ignoreTag: Q().ignoreTag
4205
+ (e, t = D()) => new si(e, t, Z().formats, {
4206
+ ignoreTag: Z().ignoreTag
4186
4207
  })
4187
- ), Ni = (e, t = {}) => {
4208
+ ), Mi = (e, t = {}) => {
4188
4209
  var r, n, i, o;
4189
4210
  let a = t;
4190
4211
  typeof e == "object" && (a = e, e = a.id);
@@ -4197,9 +4218,9 @@ const oe = (e, t) => {
4197
4218
  throw new Error(
4198
4219
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4199
4220
  );
4200
- let h = er(e, l);
4221
+ let h = tr(e, l);
4201
4222
  if (!h)
4202
- h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4223
+ h = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4203
4224
  else if (typeof h != "string")
4204
4225
  return console.warn(
4205
4226
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4208,7 +4229,7 @@ const oe = (e, t) => {
4208
4229
  return h;
4209
4230
  let c = h;
4210
4231
  try {
4211
- c = Ii(h, l).format(s);
4232
+ c = Li(h, l).format(s);
4212
4233
  } catch (f) {
4213
4234
  f instanceof Error && console.warn(
4214
4235
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4216,20 +4237,20 @@ const oe = (e, t) => {
4216
4237
  );
4217
4238
  }
4218
4239
  return c;
4219
- }, Li = (e, t) => Oi(t).format(e), Mi = (e, t) => Ai(t).format(e), Ci = (e, t) => Pi(t).format(e), Ri = (e, t = D()) => er(e, t), $i = q([Y, ue], () => Ni);
4220
- q([Y], () => Li);
4221
- q([Y], () => Mi);
4222
- q([Y], () => Ci);
4223
- q([Y, ue], () => Ri);
4240
+ }, Ci = (e, t) => Ni(t).format(e), Ri = (e, t) => Ii(t).format(e), $i = (e, t) => Oi(t).format(e), Ui = (e, t = D()) => tr(e, t), Di = J([q, ue], () => Mi);
4241
+ J([q], () => Ci);
4242
+ J([q], () => Ri);
4243
+ J([q], () => $i);
4244
+ J([q, ue], () => Ui);
4224
4245
  window.emWidgets = { topic: Jr };
4225
- const Ui = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4226
- function St(e, t) {
4227
- rr(e, t);
4246
+ const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4247
+ function Ht(e, t) {
4248
+ nr(e, t);
4228
4249
  }
4229
- function Di(e) {
4230
- Y.set(e);
4250
+ function Fi(e) {
4251
+ q.set(e);
4231
4252
  }
4232
- const Tt = {
4253
+ const Pt = {
4233
4254
  en: {
4234
4255
  titlePlayerWithdrawal: "Withdrawal",
4235
4256
  loading: "Loading, please wait ..."
@@ -4263,130 +4284,130 @@ const Tt = {
4263
4284
  loading: "Loading, please wait ..."
4264
4285
  }
4265
4286
  };
4266
- function Gi(e) {
4267
- fr(e, "svelte-19p9ovb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4287
+ function ji(e) {
4288
+ pr(e, "svelte-19p9ovb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
4268
4289
  }
4269
- function Fi(e) {
4290
+ function ki(e) {
4270
4291
  let t, r, n, i, o, a, s, l, u, h, c = (
4271
4292
  /*$_*/
4272
4293
  e[3]("titlePlayerWithdrawal") + ""
4273
4294
  ), f, p, m;
4274
4295
  return {
4275
4296
  c() {
4276
- t = I("div"), r = G("svg"), n = G("defs"), i = G("style"), o = re(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = G("g"), s = G("g"), l = G("path"), u = Ne(), h = I("h2"), f = re(c), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(s, "transform", "translate(20 158)"), E(a, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(h, "class", "WithdrawalTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
4297
+ t = N("div"), r = G("svg"), n = G("defs"), i = G("style"), o = te(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = G("g"), s = G("g"), l = G("path"), u = Me(), h = N("h2"), f = te(c), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(s, "transform", "translate(20 158)"), E(a, "transform", "translate(-20 -158)"), E(r, "xmlns", "http://www.w3.org/2000/svg"), E(r, "width", "15"), E(r, "height", "15"), E(r, "viewBox", "0 0 15 15"), E(h, "class", "WithdrawalTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
4277
4298
  },
4278
- m(g, w) {
4279
- ae(g, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, a), x(a, s), x(s, l), x(t, u), x(t, h), x(h, f), p || (m = mr(
4299
+ m(y, w) {
4300
+ se(y, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, a), x(a, s), x(s, l), x(t, u), x(t, h), x(h, f), p || (m = br(
4280
4301
  t,
4281
4302
  "click",
4282
4303
  /*click_handler*/
4283
4304
  e[16]
4284
4305
  ), p = !0);
4285
4306
  },
4286
- p(g, w) {
4307
+ p(y, w) {
4287
4308
  w & /*$_*/
4288
4309
  8 && c !== (c = /*$_*/
4289
- g[3]("titlePlayerWithdrawal") + "") && Je(f, c);
4310
+ y[3]("titlePlayerWithdrawal") + "") && et(f, c);
4290
4311
  },
4291
- d(g) {
4292
- g && J(t), p = !1, m();
4312
+ d(y) {
4313
+ y && Q(t), p = !1, m();
4293
4314
  }
4294
4315
  };
4295
4316
  }
4296
- function ji(e) {
4317
+ function Wi(e) {
4297
4318
  let t, r, n;
4298
4319
  return {
4299
4320
  c() {
4300
- t = I("div"), r = I("iframe"), rt(r.src, n = /*iframeUrl*/
4321
+ t = N("div"), r = N("iframe"), it(r.src, n = /*iframeUrl*/
4301
4322
  e[2]) || E(r, "src", n), E(r, "title", "Withdrawal Iframe"), E(t, "class", "WithdrawalIframeWrapper");
4302
4323
  },
4303
4324
  m(i, o) {
4304
- ae(i, t, o), x(t, r);
4325
+ se(i, t, o), x(t, r);
4305
4326
  },
4306
4327
  p(i, o) {
4307
4328
  o & /*iframeUrl*/
4308
- 4 && !rt(r.src, n = /*iframeUrl*/
4329
+ 4 && !it(r.src, n = /*iframeUrl*/
4309
4330
  i[2]) && E(r, "src", n);
4310
4331
  },
4311
4332
  d(i) {
4312
- i && J(t);
4333
+ i && Q(t);
4313
4334
  }
4314
4335
  };
4315
4336
  }
4316
- function ki(e) {
4337
+ function Vi(e) {
4317
4338
  let t, r = (
4318
4339
  /*$_*/
4319
4340
  e[3]("loading") + ""
4320
4341
  ), n;
4321
4342
  return {
4322
4343
  c() {
4323
- t = I("p"), n = re(r);
4344
+ t = N("p"), n = te(r);
4324
4345
  },
4325
4346
  m(i, o) {
4326
- ae(i, t, o), x(t, n);
4347
+ se(i, t, o), x(t, n);
4327
4348
  },
4328
4349
  p(i, o) {
4329
4350
  o & /*$_*/
4330
4351
  8 && r !== (r = /*$_*/
4331
- i[3]("loading") + "") && Je(n, r);
4352
+ i[3]("loading") + "") && et(n, r);
4332
4353
  },
4333
4354
  d(i) {
4334
- i && J(t);
4355
+ i && Q(t);
4335
4356
  }
4336
4357
  };
4337
4358
  }
4338
- function Wi(e) {
4359
+ function Xi(e) {
4339
4360
  let t, r, n, i = (
4340
4361
  /*$_*/
4341
4362
  e[3]("titlePlayerWithdrawal") + ""
4342
4363
  ), o, a, s = (
4343
4364
  /*isMobile*/
4344
- e[4] && Fi(e)
4365
+ e[4] && ki(e)
4345
4366
  );
4346
4367
  function l(c, f) {
4347
4368
  return (
4348
4369
  /*isLoading*/
4349
- c[1] ? ki : ji
4370
+ c[1] ? Vi : Wi
4350
4371
  );
4351
4372
  }
4352
4373
  let u = l(e), h = u(e);
4353
4374
  return {
4354
4375
  c() {
4355
- t = I("div"), s && s.c(), r = Ne(), n = I("h2"), o = re(i), a = Ne(), h.c(), E(n, "class", "WithdrawalTitle " + /*isMobile*/
4376
+ t = N("div"), s && s.c(), r = Me(), n = N("h2"), o = te(i), a = Me(), h.c(), E(n, "class", "WithdrawalTitle " + /*isMobile*/
4356
4377
  (e[4] ? "WithdrawalTitleNone" : "")), E(t, "class", "WithdrawalWrapper " + /*isMobile*/
4357
4378
  (e[4] ? "WithdrawalWrapperMobile" : ""));
4358
4379
  },
4359
4380
  m(c, f) {
4360
- ae(c, t, f), s && s.m(t, null), x(t, r), x(t, n), x(n, o), x(t, a), h.m(t, null), e[17](t);
4381
+ se(c, t, f), s && s.m(t, null), x(t, r), x(t, n), x(n, o), x(t, a), h.m(t, null), e[17](t);
4361
4382
  },
4362
4383
  p(c, [f]) {
4363
4384
  /*isMobile*/
4364
4385
  c[4] && s.p(c, f), f & /*$_*/
4365
4386
  8 && i !== (i = /*$_*/
4366
- c[3]("titlePlayerWithdrawal") + "") && Je(o, i), u === (u = l(c)) && h ? h.p(c, f) : (h.d(1), h = u(c), h && (h.c(), h.m(t, null)));
4387
+ c[3]("titlePlayerWithdrawal") + "") && et(o, i), u === (u = l(c)) && h ? h.p(c, f) : (h.d(1), h = u(c), h && (h.c(), h.m(t, null)));
4367
4388
  },
4368
- i: B,
4369
- o: B,
4389
+ i: P,
4390
+ o: P,
4370
4391
  d(c) {
4371
- c && J(t), s && s.d(), h.d(), e[17](null);
4392
+ c && Q(t), s && s.d(), h.d(), e[17](null);
4372
4393
  }
4373
4394
  };
4374
4395
  }
4375
- function Vi(e, t, r) {
4396
+ function zi(e, t, r) {
4376
4397
  let n;
4377
- cr(e, $i, (d) => r(3, n = d));
4378
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: a = "" } = t, { lang: s = "en" } = t, { hasdefaultamount: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, { currency: p = "" } = t, m, g = window.navigator.userAgent, w = Ui(g) !== "PC", L = !0, P = 0, T = "";
4398
+ fr(e, Di, (d) => r(3, n = d));
4399
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: a = "" } = t, { lang: s = "en" } = t, { hasdefaultamount: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, { currency: p = "" } = t, m, y = window.navigator.userAgent, w = Gi(y) !== "PC", L = !0, B = 0, T = "";
4379
4400
  const $ = () => {
4380
4401
  fetch(f).then((M) => M.json()).then((M) => {
4381
4402
  Object.keys(M).forEach((C) => {
4382
- St(C, M[C]);
4403
+ Ht(C, M[C]);
4383
4404
  });
4384
4405
  }).catch((M) => {
4385
4406
  console.log(M);
4386
4407
  });
4387
4408
  };
4388
- Object.keys(Tt).forEach((d) => {
4389
- St(d, Tt[d]);
4409
+ Object.keys(Pt).forEach((d) => {
4410
+ Ht(d, Pt[d]);
4390
4411
  });
4391
4412
  const A = () => {
4392
4413
  window.postMessage(
@@ -4431,10 +4452,10 @@ function Vi(e, t, r) {
4431
4452
  if (d.searchParams.append("language", s), l)
4432
4453
  switch (p) {
4433
4454
  case "USD":
4434
- P = 0.4;
4455
+ B = 0.4;
4435
4456
  break;
4436
4457
  case "CDF":
4437
- P = 1e3;
4458
+ B = 1e3;
4438
4459
  break;
4439
4460
  }
4440
4461
  let M = {
@@ -4442,7 +4463,7 @@ function Vi(e, t, r) {
4442
4463
  headers: {
4443
4464
  "X-SessionId": o,
4444
4465
  currency: p || "EUR",
4445
- amount: P,
4466
+ amount: B,
4446
4467
  cashierMode: "Default",
4447
4468
  IsShortCashier: !1,
4448
4469
  accept: "application/json"
@@ -4456,15 +4477,15 @@ function Vi(e, t, r) {
4456
4477
  console.error(C);
4457
4478
  }
4458
4479
  );
4459
- }, ar = () => {
4460
- Di(s);
4480
+ }, ur = () => {
4481
+ Fi(s);
4461
4482
  };
4462
- vr(() => (window.addEventListener("message", U, !1), () => {
4483
+ _r(() => (window.addEventListener("message", U, !1), () => {
4463
4484
  window.removeEventListener("message", U);
4464
4485
  }));
4465
- const ur = () => A();
4466
- function hr(d) {
4467
- Le[d ? "unshift" : "push"](() => {
4486
+ const hr = () => A();
4487
+ function lr(d) {
4488
+ Ce[d ? "unshift" : "push"](() => {
4468
4489
  m = d, r(0, m);
4469
4490
  });
4470
4491
  }
@@ -4472,10 +4493,10 @@ function Vi(e, t, r) {
4472
4493
  "endpoint" in d && r(7, i = d.endpoint), "session" in d && r(8, o = d.session), "playerid" in d && r(9, a = d.playerid), "lang" in d && r(10, s = d.lang), "hasdefaultamount" in d && r(11, l = d.hasdefaultamount), "clientstyling" in d && r(12, u = d.clientstyling), "clientstylingurl" in d && r(13, h = d.clientstylingurl), "mbsource" in d && r(14, c = d.mbsource), "translationurl" in d && r(15, f = d.translationurl), "currency" in d && r(6, p = d.currency);
4473
4494
  }, e.$$.update = () => {
4474
4495
  e.$$.dirty & /*lang*/
4475
- 1024 && s && ar(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4476
- 4097 && u && m && Lr(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4477
- 8193 && h && m && Mr(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4478
- 16385 && c && m && Cr(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4496
+ 1024 && s && ur(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4497
+ 4097 && u && m && Mr(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4498
+ 8193 && h && m && Cr(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4499
+ 16385 && c && m && Rr(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4479
4500
  32768 && f && $(), e.$$.dirty & /*session, playerid, endpoint, currency, lang*/
4480
4501
  1984 && o && a && i && p && s && he();
4481
4502
  }, [
@@ -4495,18 +4516,18 @@ function Vi(e, t, r) {
4495
4516
  h,
4496
4517
  c,
4497
4518
  f,
4498
- ur,
4499
- hr
4519
+ hr,
4520
+ lr
4500
4521
  ];
4501
4522
  }
4502
- class Xi extends Ir {
4523
+ class Zi extends Nr {
4503
4524
  constructor(t) {
4504
- super(), Ar(
4525
+ super(), Or(
4505
4526
  this,
4506
4527
  t,
4507
- Vi,
4508
- Wi,
4509
- Bt,
4528
+ zi,
4529
+ Xi,
4530
+ At,
4510
4531
  {
4511
4532
  endpoint: 7,
4512
4533
  session: 8,
@@ -4519,7 +4540,7 @@ class Xi extends Ir {
4519
4540
  translationurl: 15,
4520
4541
  currency: 6
4521
4542
  },
4522
- Gi
4543
+ ji
4523
4544
  );
4524
4545
  }
4525
4546
  get endpoint() {
@@ -4583,7 +4604,7 @@ class Xi extends Ir {
4583
4604
  this.$$set({ currency: t }), H();
4584
4605
  }
4585
4606
  }
4586
- Or(Xi, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
4607
+ Ir(Zi, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
4587
4608
  export {
4588
- Xi as P
4609
+ Zi as P
4589
4610
  };