@everymatrix/player-withdrawal 1.86.4 → 1.86.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var br = Object.defineProperty, gr = Object.defineProperties;
2
- var yr = Object.getOwnPropertyDescriptors;
3
- var nt = Object.getOwnPropertySymbols;
4
- var vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable;
5
- var Te = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
1
+ var yr = Object.defineProperty, gr = Object.defineProperties;
2
+ var vr = Object.getOwnPropertyDescriptors;
3
+ var ot = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
+ var Be = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- vr.call(t, r) && Te(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- _r.call(t, r) && Te(e, r, t[r]);
7
+ _r.call(t, r) && Be(e, r, t[r]);
8
+ if (ot)
9
+ for (var r of ot(t))
10
+ Er.call(t, r) && Be(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => gr(e, yr(t));
13
- var H = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var st = (e, t, r) => new Promise((n, i) => {
12
+ }, at = (e, t) => gr(e, vr(t));
13
+ var H = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ut = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var st = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function P() {
31
31
  }
32
- function Nt(e) {
32
+ function Mt(e) {
33
33
  return e();
34
34
  }
35
- function at() {
35
+ function ht() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ae(e) {
39
- e.forEach(Nt);
38
+ function se(e) {
39
+ e.forEach(Mt);
40
40
  }
41
- function qe(e) {
41
+ function tt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Lt(e, t) {
44
+ function Ct(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ce;
48
- function ut(e, t) {
48
+ function lt(e, t) {
49
49
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
50
50
  }
51
- function Er(e) {
51
+ function xr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Mt(e, ...t) {
54
+ function Rt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Mt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function xr(e, t, r) {
64
- e.$$.on_destroy.push(Mt(t, r));
63
+ function wr(e, t, r) {
64
+ e.$$.on_destroy.push(Rt(t, r));
65
65
  }
66
66
  function x(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function wr(e, t, r) {
70
- const n = Sr(e);
69
+ function Sr(e, t, r) {
70
+ const n = Tr(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = N("style");
73
- i.id = t, i.textContent = r, Tr(n, i);
72
+ const i = L("style");
73
+ i.id = t, i.textContent = r, Hr(n, i);
74
74
  }
75
75
  }
76
- function Sr(e) {
76
+ function Tr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,45 +83,45 @@ function Sr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Tr(e, t) {
86
+ function Hr(e, t) {
87
87
  return x(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function ue(e, t, r) {
93
+ function ae(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function q(e) {
96
+ function J(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function N(e) {
99
+ function L(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function F(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
- function ne(e) {
105
+ function re(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function Me() {
109
- return ne(" ");
108
+ function Re() {
109
+ return re(" ");
110
110
  }
111
- function Hr(e, t, r, n) {
111
+ function Br(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function E(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function Br(e) {
117
+ function Pr(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function Ye(e, t) {
120
+ function rt(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function Pr(e) {
124
+ function Ar(e) {
125
125
  const t = {};
126
126
  return e.childNodes.forEach(
127
127
  /** @param {Element} node */
@@ -130,87 +130,87 @@ function Pr(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let ie;
134
- function re(e) {
135
- ie = e;
133
+ let ne;
134
+ function te(e) {
135
+ ne = e;
136
136
  }
137
- function Ar() {
138
- if (!ie)
137
+ function Or() {
138
+ if (!ne)
139
139
  throw new Error("Function called outside component initialization");
140
- return ie;
140
+ return ne;
141
141
  }
142
- function Or(e) {
143
- Ar().$$.on_mount.push(e);
142
+ function Ir(e) {
143
+ Or().$$.on_mount.push(e);
144
144
  }
145
- const W = [], Ce = [];
145
+ const W = [], $e = [];
146
146
  let V = [];
147
- const ht = [], Ir = /* @__PURE__ */ Promise.resolve();
148
- let Re = !1;
149
- function Nr() {
150
- Re || (Re = !0, Ir.then(B));
147
+ const ct = [], Nr = /* @__PURE__ */ Promise.resolve();
148
+ let Ue = !1;
149
+ function Lr() {
150
+ Ue || (Ue = !0, Nr.then(B));
151
151
  }
152
- function $e(e) {
152
+ function De(e) {
153
153
  V.push(e);
154
154
  }
155
- const He = /* @__PURE__ */ new Set();
155
+ const Pe = /* @__PURE__ */ new Set();
156
156
  let j = 0;
157
157
  function B() {
158
158
  if (j !== 0)
159
159
  return;
160
- const e = ie;
160
+ const e = ne;
161
161
  do {
162
162
  try {
163
163
  for (; j < W.length; ) {
164
164
  const t = W[j];
165
- j++, re(t), Lr(t.$$);
165
+ j++, te(t), Mr(t.$$);
166
166
  }
167
167
  } catch (t) {
168
168
  throw W.length = 0, j = 0, t;
169
169
  }
170
- for (re(null), W.length = 0, j = 0; Ce.length; )
171
- Ce.pop()();
170
+ for (te(null), W.length = 0, j = 0; $e.length; )
171
+ $e.pop()();
172
172
  for (let t = 0; t < V.length; t += 1) {
173
173
  const r = V[t];
174
- He.has(r) || (He.add(r), r());
174
+ Pe.has(r) || (Pe.add(r), r());
175
175
  }
176
176
  V.length = 0;
177
177
  } while (W.length);
178
- for (; ht.length; )
179
- ht.pop()();
180
- Re = !1, He.clear(), re(e);
178
+ for (; ct.length; )
179
+ ct.pop()();
180
+ Ue = !1, Pe.clear(), te(e);
181
181
  }
182
- function Lr(e) {
182
+ function Mr(e) {
183
183
  if (e.fragment !== null) {
184
- e.update(), ae(e.before_update);
184
+ e.update(), se(e.before_update);
185
185
  const t = e.dirty;
186
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
186
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
187
187
  }
188
188
  }
189
- function Mr(e) {
189
+ function Cr(e) {
190
190
  const t = [], r = [];
191
191
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
192
192
  }
193
- const Cr = /* @__PURE__ */ new Set();
194
- function Rr(e, t) {
195
- e && e.i && (Cr.delete(e), e.i(t));
193
+ const Rr = /* @__PURE__ */ new Set();
194
+ function $r(e, t) {
195
+ e && e.i && (Rr.delete(e), e.i(t));
196
196
  }
197
- function $r(e, t, r) {
197
+ function Ur(e, t, r) {
198
198
  const { fragment: n, after_update: i } = e.$$;
199
- n && n.m(t, r), $e(() => {
200
- const o = e.$$.on_mount.map(Nt).filter(qe);
201
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
202
- }), i.forEach($e);
199
+ n && n.m(t, r), De(() => {
200
+ const o = e.$$.on_mount.map(Mt).filter(tt);
201
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
202
+ }), i.forEach(De);
203
203
  }
204
- function Ur(e, t) {
204
+ function Dr(e, t) {
205
205
  const r = e.$$;
206
- r.fragment !== null && (Mr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
+ r.fragment !== null && (Cr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
207
207
  }
208
- function Dr(e, t) {
209
- e.$$.dirty[0] === -1 && (W.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
+ function Gr(e, t) {
209
+ e.$$.dirty[0] === -1 && (W.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
210
210
  }
211
- function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
212
- const h = ie;
213
- re(e);
211
+ function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
212
+ const h = ne;
213
+ te(e);
214
214
  const u = e.$$ = {
215
215
  fragment: null,
216
216
  ctx: [],
@@ -218,7 +218,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
218
218
  props: o,
219
219
  update: P,
220
220
  not_equal: i,
221
- bound: at(),
221
+ bound: ht(),
222
222
  // lifecycle
223
223
  on_mount: [],
224
224
  on_destroy: [],
@@ -227,7 +227,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
227
227
  after_update: [],
228
228
  context: new Map(t.context || (h ? h.$$.context : [])),
229
229
  // everything else
230
- callbacks: at(),
230
+ callbacks: ht(),
231
231
  dirty: a,
232
232
  skip_bound: !1,
233
233
  root: t.target || h.$$.root
@@ -236,19 +236,19 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
236
236
  let l = !1;
237
237
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
238
238
  const m = p.length ? p[0] : f;
239
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Dr(e, c)), f;
240
- }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
239
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Gr(e, c)), f;
240
+ }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
241
241
  if (t.hydrate) {
242
- const c = Br(t.target);
243
- u.fragment && u.fragment.l(c), c.forEach(q);
242
+ const c = Pr(t.target);
243
+ u.fragment && u.fragment.l(c), c.forEach(J);
244
244
  } else
245
245
  u.fragment && u.fragment.c();
246
- t.intro && Rr(e.$$.fragment), $r(e, t.target, t.anchor), B();
246
+ t.intro && $r(e.$$.fragment), Ur(e, t.target, t.anchor), B();
247
247
  }
248
- re(h);
248
+ te(h);
249
249
  }
250
- let Ct;
251
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
250
+ let $t;
251
+ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
252
252
  constructor(t, r, n) {
253
253
  super();
254
254
  /** The Svelte component constructor */
@@ -285,31 +285,31 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
285
285
  }
286
286
  }
287
287
  connectedCallback() {
288
- return st(this, null, function* () {
288
+ return ut(this, null, function* () {
289
289
  if (this.$$cn = !0, !this.$$c) {
290
290
  let t = function(o) {
291
291
  return () => {
292
292
  let s;
293
293
  return {
294
294
  c: function() {
295
- s = N("slot"), o !== "default" && E(s, "name", o);
295
+ s = L("slot"), o !== "default" && E(s, "name", o);
296
296
  },
297
297
  /**
298
298
  * @param {HTMLElement} target
299
299
  * @param {HTMLElement} [anchor]
300
300
  */
301
301
  m: function(u, l) {
302
- ue(u, s, l);
302
+ ae(u, s, l);
303
303
  },
304
304
  d: function(u) {
305
- u && q(s);
305
+ u && J(s);
306
306
  }
307
307
  };
308
308
  };
309
309
  };
310
310
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
311
311
  return;
312
- const r = {}, n = Pr(this);
312
+ const r = {}, n = Ar(this);
313
313
  for (const o of this.$$s)
314
314
  o in n && (r[o] = [t(o)]);
315
315
  for (const o of this.attributes) {
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
320
320
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
321
321
  this.$$c = new this.$$ctor({
322
322
  target: this.shadowRoot || this,
323
- props: ot(it({}, this.$$d), {
323
+ props: at(st({}, this.$$d), {
324
324
  $$slots: r,
325
325
  $$scope: {
326
326
  ctx: []
@@ -398,8 +398,8 @@ function de(e, t, r, n) {
398
398
  return t;
399
399
  }
400
400
  }
401
- function Fr(e, t, r, n, i, o) {
402
- let s = class extends Ct {
401
+ function jr(e, t, r, n, i, o) {
402
+ let s = class extends $t {
403
403
  constructor() {
404
404
  super(e, r, i), this.$$p_d = t;
405
405
  }
@@ -429,7 +429,7 @@ function Fr(e, t, r, n, i, o) {
429
429
  }), e.element = /** @type {any} */
430
430
  s, s;
431
431
  }
432
- class jr {
432
+ class kr {
433
433
  constructor() {
434
434
  /**
435
435
  * ### PRIVATE API
@@ -450,7 +450,7 @@ class jr {
450
450
  }
451
451
  /** @returns {void} */
452
452
  $destroy() {
453
- Ur(this, 1), this.$destroy = P;
453
+ Dr(this, 1), this.$destroy = P;
454
454
  }
455
455
  /**
456
456
  * @template {Extract<keyof Events, string>} K
@@ -459,7 +459,7 @@ class jr {
459
459
  * @returns {() => void}
460
460
  */
461
461
  $on(t, r) {
462
- if (!qe(r))
462
+ if (!tt(r))
463
463
  return P;
464
464
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
465
465
  return n.push(r), () => {
@@ -472,18 +472,18 @@ class jr {
472
472
  * @returns {void}
473
473
  */
474
474
  $set(t) {
475
- this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
476
  }
477
477
  }
478
- const kr = "4";
479
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
480
- function Wr(e, t) {
478
+ const Wr = "4";
479
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
480
+ function Vr(e, t) {
481
481
  if (e) {
482
482
  const r = document.createElement("style");
483
483
  r.innerHTML = t, e.appendChild(r);
484
484
  }
485
485
  }
486
- function Vr(e, t) {
486
+ function Xr(e, t) {
487
487
  if (!e || !t)
488
488
  return;
489
489
  const r = new URL(t);
@@ -494,7 +494,7 @@ function Vr(e, t) {
494
494
  console.error("There was an error while trying to load client styling from URL", n);
495
495
  });
496
496
  }
497
- function Xr(e, t, r) {
497
+ function zr(e, t, r) {
498
498
  if (window.emMessageBus) {
499
499
  const n = document.createElement("style");
500
500
  window.emMessageBus.subscribe(t, (i) => {
@@ -516,43 +516,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
516
516
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
517
517
  PERFORMANCE OF THIS SOFTWARE.
518
518
  ***************************************************************************** */
519
- var Ue = function(e, t) {
520
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
519
+ var Ge = function(e, t) {
520
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
521
521
  r.__proto__ = n;
522
522
  } || function(r, n) {
523
523
  for (var i in n)
524
524
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
525
- }, Ue(e, t);
525
+ }, Ge(e, t);
526
526
  };
527
- function L(e, t) {
527
+ function ue(e, t) {
528
528
  if (typeof t != "function" && t !== null)
529
529
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
530
- Ue(e, t);
530
+ Ge(e, t);
531
531
  function r() {
532
532
  this.constructor = e;
533
533
  }
534
534
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
535
535
  }
536
- var v = function() {
537
- return v = Object.assign || function(t) {
538
- for (var r, n = 1, i = arguments.length; n < i; n++) {
539
- r = arguments[n];
540
- for (var o in r)
541
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
542
- }
543
- return t;
544
- }, v.apply(this, arguments);
545
- };
546
- function zr(e, t) {
547
- var r = {};
548
- for (var n in e)
549
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
550
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
551
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
552
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
553
- return r;
554
- }
555
- function De(e) {
536
+ function Fe(e) {
556
537
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
557
538
  if (r)
558
539
  return r.call(e);
@@ -564,7 +545,7 @@ function De(e) {
564
545
  };
565
546
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
566
547
  }
567
- function Ge(e, t) {
548
+ function je(e, t) {
568
549
  var r = typeof Symbol == "function" && e[Symbol.iterator];
569
550
  if (!r)
570
551
  return e;
@@ -584,22 +565,22 @@ function Ge(e, t) {
584
565
  }
585
566
  return o;
586
567
  }
587
- function X(e, t, r) {
588
- if (r || arguments.length === 2)
568
+ function ke(e, t, r) {
569
+ if (arguments.length === 2)
589
570
  for (var n = 0, i = t.length, o; n < i; n++)
590
571
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
591
572
  return e.concat(o || t);
592
573
  }
593
- function I(e) {
574
+ function N(e) {
594
575
  return typeof e == "function";
595
576
  }
596
- function Rt(e) {
577
+ function Ut(e) {
597
578
  var t = function(n) {
598
579
  Error.call(n), n.stack = new Error().stack;
599
580
  }, r = e(t);
600
581
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
601
582
  }
602
- var Be = Rt(function(e) {
583
+ var Ae = Ut(function(e) {
603
584
  return function(r) {
604
585
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
605
586
  ` + r.map(function(n, i) {
@@ -608,13 +589,13 @@ var Be = Rt(function(e) {
608
589
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
609
590
  };
610
591
  });
611
- function Fe(e, t) {
592
+ function We(e, t) {
612
593
  if (e) {
613
594
  var r = e.indexOf(t);
614
595
  0 <= r && e.splice(r, 1);
615
596
  }
616
597
  }
617
- var _e = function() {
598
+ var Ee = function() {
618
599
  function e(t) {
619
600
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
620
601
  }
@@ -626,12 +607,12 @@ var _e = function() {
626
607
  if (s)
627
608
  if (this._parentage = null, Array.isArray(s))
628
609
  try {
629
- for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
610
+ for (var a = Fe(s), h = a.next(); !h.done; h = a.next()) {
630
611
  var u = h.value;
631
612
  u.remove(this);
632
613
  }
633
- } catch (g) {
634
- t = { error: g };
614
+ } catch (y) {
615
+ t = { error: y };
635
616
  } finally {
636
617
  try {
637
618
  h && !h.done && (r = a.return) && r.call(a);
@@ -643,26 +624,26 @@ var _e = function() {
643
624
  else
644
625
  s.remove(this);
645
626
  var l = this.initialTeardown;
646
- if (I(l))
627
+ if (N(l))
647
628
  try {
648
629
  l();
649
- } catch (g) {
650
- o = g instanceof Be ? g.errors : [g];
630
+ } catch (y) {
631
+ o = y instanceof Ae ? y.errors : [y];
651
632
  }
652
633
  var c = this._finalizers;
653
634
  if (c) {
654
635
  this._finalizers = null;
655
636
  try {
656
- for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
637
+ for (var f = Fe(c), p = f.next(); !p.done; p = f.next()) {
657
638
  var m = p.value;
658
639
  try {
659
- lt(m);
660
- } catch (g) {
661
- o = o != null ? o : [], g instanceof Be ? o = X(X([], Ge(o)), Ge(g.errors)) : o.push(g);
640
+ ft(m);
641
+ } catch (y) {
642
+ o = o != null ? o : [], y instanceof Ae ? o = ke(ke([], je(o)), je(y.errors)) : o.push(y);
662
643
  }
663
644
  }
664
- } catch (g) {
665
- n = { error: g };
645
+ } catch (y) {
646
+ n = { error: y };
666
647
  } finally {
667
648
  try {
668
649
  p && !p.done && (i = f.return) && i.call(f);
@@ -673,13 +654,13 @@ var _e = function() {
673
654
  }
674
655
  }
675
656
  if (o)
676
- throw new Be(o);
657
+ throw new Ae(o);
677
658
  }
678
659
  }, e.prototype.add = function(t) {
679
660
  var r;
680
661
  if (t && t !== this)
681
662
  if (this.closed)
682
- lt(t);
663
+ ft(t);
683
664
  else {
684
665
  if (t instanceof e) {
685
666
  if (t.closed || t._hasParent(this))
@@ -696,56 +677,52 @@ var _e = function() {
696
677
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
697
678
  }, e.prototype._removeParent = function(t) {
698
679
  var r = this._parentage;
699
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
680
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
700
681
  }, e.prototype.remove = function(t) {
701
682
  var r = this._finalizers;
702
- r && Fe(r, t), t instanceof e && t._removeParent(this);
683
+ r && We(r, t), t instanceof e && t._removeParent(this);
703
684
  }, e.EMPTY = function() {
704
685
  var t = new e();
705
686
  return t.closed = !0, t;
706
687
  }(), e;
707
- }(), $t = _e.EMPTY;
708
- function Ut(e) {
709
- return e instanceof _e || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
710
- }
711
- function lt(e) {
712
- I(e) ? e() : e.unsubscribe();
713
- }
714
- var Dt = {
715
- onUnhandledError: null,
716
- onStoppedNotification: null,
717
- Promise: void 0,
718
- useDeprecatedSynchronousErrorHandling: !1,
719
- useDeprecatedNextContext: !1
720
- }, Zr = {
688
+ }(), Dt = Ee.EMPTY;
689
+ function Gt(e) {
690
+ return e instanceof Ee || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
691
+ }
692
+ function ft(e) {
693
+ N(e) ? e() : e.unsubscribe();
694
+ }
695
+ var Zr = {
696
+ Promise: void 0
697
+ }, Qr = {
721
698
  setTimeout: function(e, t) {
722
699
  for (var r = [], n = 2; n < arguments.length; n++)
723
700
  r[n - 2] = arguments[n];
724
- return setTimeout.apply(void 0, X([e, t], Ge(r)));
701
+ return setTimeout.apply(void 0, ke([e, t], je(r)));
725
702
  },
726
703
  clearTimeout: function(e) {
727
704
  return clearTimeout(e);
728
705
  },
729
706
  delegate: void 0
730
707
  };
731
- function Qr(e) {
732
- Zr.setTimeout(function() {
708
+ function Jr(e) {
709
+ Qr.setTimeout(function() {
733
710
  throw e;
734
711
  });
735
712
  }
736
- function ct() {
713
+ function pt() {
737
714
  }
738
715
  function me(e) {
739
716
  e();
740
717
  }
741
- var Gt = function(e) {
742
- L(t, e);
718
+ var Ft = function(e) {
719
+ ue(t, e);
743
720
  function t(r) {
744
721
  var n = e.call(this) || this;
745
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Kr, n;
722
+ return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = Kr, n;
746
723
  }
747
724
  return t.create = function(r, n, i) {
748
- return new je(r, n, i);
725
+ return new Ve(r, n, i);
749
726
  }, t.prototype.next = function(r) {
750
727
  this.isStopped || this._next(r);
751
728
  }, t.prototype.error = function(r) {
@@ -769,11 +746,7 @@ var Gt = function(e) {
769
746
  this.unsubscribe();
770
747
  }
771
748
  }, t;
772
- }(_e), Jr = Function.prototype.bind;
773
- function Pe(e, t) {
774
- return Jr.call(e, t);
775
- }
776
- var qr = function() {
749
+ }(Ee), qr = function() {
777
750
  function e(t) {
778
751
  this.partialObserver = t;
779
752
  }
@@ -804,41 +777,29 @@ var qr = function() {
804
777
  fe(r);
805
778
  }
806
779
  }, e;
807
- }(), je = function(e) {
808
- L(t, e);
780
+ }(), Ve = function(e) {
781
+ ue(t, e);
809
782
  function t(r, n, i) {
810
783
  var o = e.call(this) || this, s;
811
- if (I(r) || !r)
812
- s = {
813
- next: r != null ? r : void 0,
814
- error: n != null ? n : void 0,
815
- complete: i != null ? i : void 0
816
- };
817
- else {
818
- var a;
819
- o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
820
- return o.unsubscribe();
821
- }, s = {
822
- next: r.next && Pe(r.next, a),
823
- error: r.error && Pe(r.error, a),
824
- complete: r.complete && Pe(r.complete, a)
825
- }) : s = r;
826
- }
827
- return o.destination = new qr(s), o;
784
+ return N(r) || !r ? s = {
785
+ next: r != null ? r : void 0,
786
+ error: n != null ? n : void 0,
787
+ complete: i != null ? i : void 0
788
+ } : s = r, o.destination = new qr(s), o;
828
789
  }
829
790
  return t;
830
- }(Gt);
791
+ }(Ft);
831
792
  function fe(e) {
832
- Qr(e);
793
+ Jr(e);
833
794
  }
834
795
  function Yr(e) {
835
796
  throw e;
836
797
  }
837
798
  var Kr = {
838
799
  closed: !0,
839
- next: ct,
800
+ next: pt,
840
801
  error: Yr,
841
- complete: ct
802
+ complete: pt
842
803
  }, en = function() {
843
804
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
844
805
  }();
@@ -852,7 +813,7 @@ function rn(e) {
852
813
  }, r);
853
814
  };
854
815
  }
855
- var ft = function() {
816
+ var dt = function() {
856
817
  function e(t) {
857
818
  t && (this._subscribe = t);
858
819
  }
@@ -860,7 +821,7 @@ var ft = function() {
860
821
  var r = new e();
861
822
  return r.source = this, r.operator = t, r;
862
823
  }, e.prototype.subscribe = function(t, r, n) {
863
- var i = this, o = on(t) ? t : new je(t, r, n);
824
+ var i = this, o = on(t) ? t : new Ve(t, r, n);
864
825
  return me(function() {
865
826
  var s = i, a = s.operator, h = s.source;
866
827
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -873,8 +834,8 @@ var ft = function() {
873
834
  }
874
835
  }, e.prototype.forEach = function(t, r) {
875
836
  var n = this;
876
- return r = pt(r), new r(function(i, o) {
877
- var s = new je({
837
+ return r = mt(r), new r(function(i, o) {
838
+ var s = new Ve({
878
839
  next: function(a) {
879
840
  try {
880
841
  t(a);
@@ -898,7 +859,7 @@ var ft = function() {
898
859
  return rn(t)(this);
899
860
  }, e.prototype.toPromise = function(t) {
900
861
  var r = this;
901
- return t = pt(t), new t(function(n, i) {
862
+ return t = mt(t), new t(function(n, i) {
902
863
  var o;
903
864
  r.subscribe(function(s) {
904
865
  return o = s;
@@ -912,28 +873,28 @@ var ft = function() {
912
873
  return new e(t);
913
874
  }, e;
914
875
  }();
915
- function pt(e) {
876
+ function mt(e) {
916
877
  var t;
917
- return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
878
+ return (t = e != null ? e : Zr.Promise) !== null && t !== void 0 ? t : Promise;
918
879
  }
919
880
  function nn(e) {
920
- return e && I(e.next) && I(e.error) && I(e.complete);
881
+ return e && N(e.next) && N(e.error) && N(e.complete);
921
882
  }
922
883
  function on(e) {
923
- return e && e instanceof Gt || nn(e) && Ut(e);
884
+ return e && e instanceof Ft || nn(e) && Gt(e);
924
885
  }
925
- var sn = Rt(function(e) {
886
+ var sn = Ut(function(e) {
926
887
  return function() {
927
888
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
928
889
  };
929
- }), Ft = function(e) {
930
- L(t, e);
890
+ }), jt = function(e) {
891
+ ue(t, e);
931
892
  function t() {
932
893
  var r = e.call(this) || this;
933
894
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
934
895
  }
935
896
  return t.prototype.lift = function(r) {
936
- var n = new dt(this, this);
897
+ var n = new bt(this, this);
937
898
  return n.operator = r, n;
938
899
  }, t.prototype._throwIfClosed = function() {
939
900
  if (this.closed)
@@ -945,7 +906,7 @@ var sn = Rt(function(e) {
945
906
  if (n._throwIfClosed(), !n.isStopped) {
946
907
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
947
908
  try {
948
- for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
909
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
949
910
  var h = a.value;
950
911
  h.next(r);
951
912
  }
@@ -994,20 +955,20 @@ var sn = Rt(function(e) {
994
955
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
995
956
  }, t.prototype._innerSubscribe = function(r) {
996
957
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
997
- return o || s ? $t : (this.currentObservers = null, a.push(r), new _e(function() {
998
- n.currentObservers = null, Fe(a, r);
958
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new Ee(function() {
959
+ n.currentObservers = null, We(a, r);
999
960
  }));
1000
961
  }, t.prototype._checkFinalizedStatuses = function(r) {
1001
962
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1002
963
  i ? r.error(o) : s && r.complete();
1003
964
  }, t.prototype.asObservable = function() {
1004
- var r = new ft();
965
+ var r = new dt();
1005
966
  return r.source = this, r;
1006
967
  }, t.create = function(r, n) {
1007
- return new dt(r, n);
968
+ return new bt(r, n);
1008
969
  }, t;
1009
- }(ft), dt = function(e) {
1010
- L(t, e);
970
+ }(dt), bt = function(e) {
971
+ ue(t, e);
1011
972
  function t(r, n) {
1012
973
  var i = e.call(this) || this;
1013
974
  return i.destination = r, i.source = n, i;
@@ -1023,17 +984,17 @@ var sn = Rt(function(e) {
1023
984
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1024
985
  }, t.prototype._subscribe = function(r) {
1025
986
  var n, i;
1026
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
987
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1027
988
  }, t;
1028
- }(Ft), jt = {
989
+ }(jt), kt = {
1029
990
  now: function() {
1030
- return (jt.delegate || Date).now();
991
+ return (kt.delegate || Date).now();
1031
992
  },
1032
993
  delegate: void 0
1033
994
  }, an = function(e) {
1034
- L(t, e);
995
+ ue(t, e);
1035
996
  function t(r, n, i) {
1036
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
997
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1037
998
  var o = e.call(this) || this;
1038
999
  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;
1039
1000
  }
@@ -1053,24 +1014,24 @@ var sn = Rt(function(e) {
1053
1014
  u && o.splice(0, u + 1);
1054
1015
  }
1055
1016
  }, t;
1056
- }(Ft);
1057
- const mt = [], bt = {}, un = (e, t = 0) => {
1058
- if (mt.indexOf(e) == -1) {
1017
+ }(jt);
1018
+ const yt = [], gt = {}, un = (e, t = 0) => {
1019
+ if (yt.indexOf(e) == -1) {
1059
1020
  const r = new an(t);
1060
- bt[e] = r, mt.push(e);
1021
+ gt[e] = r, yt.push(e);
1061
1022
  }
1062
- return bt[e];
1023
+ return gt[e];
1063
1024
  }, k = [];
1064
1025
  function hn(e, t) {
1065
1026
  return {
1066
- subscribe: Ee(e, t).subscribe
1027
+ subscribe: xe(e, t).subscribe
1067
1028
  };
1068
1029
  }
1069
- function Ee(e, t = P) {
1030
+ function xe(e, t = P) {
1070
1031
  let r;
1071
1032
  const n = /* @__PURE__ */ new Set();
1072
1033
  function i(a) {
1073
- if (Lt(e, a) && (e = a, r)) {
1034
+ if (Ct(e, a) && (e = a, r)) {
1074
1035
  const h = !k.length;
1075
1036
  for (const u of n)
1076
1037
  u[1](), k.push(u, e);
@@ -1092,7 +1053,7 @@ function Ee(e, t = P) {
1092
1053
  }
1093
1054
  return { set: i, update: o, subscribe: s };
1094
1055
  }
1095
- function Y(e, t, r) {
1056
+ function q(e, t, r) {
1096
1057
  const n = !Array.isArray(e), i = n ? [e] : e;
1097
1058
  if (!i.every(Boolean))
1098
1059
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1106,20 +1067,20 @@ function Y(e, t, r) {
1106
1067
  return;
1107
1068
  c();
1108
1069
  const m = t(n ? u[0] : u, s, a);
1109
- o ? s(m) : c = qe(m) ? m : P;
1070
+ o ? s(m) : c = tt(m) ? m : P;
1110
1071
  }, p = i.map(
1111
- (m, g) => Mt(
1072
+ (m, y) => Rt(
1112
1073
  m,
1113
1074
  (w) => {
1114
- u[g] = w, l &= ~(1 << g), h && f();
1075
+ u[y] = w, l &= ~(1 << y), h && f();
1115
1076
  },
1116
1077
  () => {
1117
- l |= 1 << g;
1078
+ l |= 1 << y;
1118
1079
  }
1119
1080
  )
1120
1081
  );
1121
1082
  return h = !0, f(), function() {
1122
- ae(p), c(), h = !1;
1083
+ se(p), c(), h = !1;
1123
1084
  };
1124
1085
  });
1125
1086
  }
@@ -1140,32 +1101,32 @@ var dn = typeof Symbol == "function" && Symbol.for, mn = dn ? Symbol.for("react.
1140
1101
  function bn(e) {
1141
1102
  return e.$$typeof === mn;
1142
1103
  }
1143
- function gn(e) {
1104
+ function yn(e) {
1144
1105
  return Array.isArray(e) ? [] : {};
1145
1106
  }
1146
- function oe(e, t) {
1147
- return t.clone !== !1 && t.isMergeableObject(e) ? z(gn(e), e, t) : e;
1107
+ function ie(e, t) {
1108
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(yn(e), e, t) : e;
1148
1109
  }
1149
- function yn(e, t, r) {
1110
+ function gn(e, t, r) {
1150
1111
  return e.concat(t).map(function(n) {
1151
- return oe(n, r);
1112
+ return ie(n, r);
1152
1113
  });
1153
1114
  }
1154
1115
  function vn(e, t) {
1155
1116
  if (!t.customMerge)
1156
- return z;
1117
+ return X;
1157
1118
  var r = t.customMerge(e);
1158
- return typeof r == "function" ? r : z;
1119
+ return typeof r == "function" ? r : X;
1159
1120
  }
1160
1121
  function _n(e) {
1161
1122
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1162
1123
  return Object.propertyIsEnumerable.call(e, t);
1163
1124
  }) : [];
1164
1125
  }
1165
- function gt(e) {
1126
+ function vt(e) {
1166
1127
  return Object.keys(e).concat(_n(e));
1167
1128
  }
1168
- function kt(e, t) {
1129
+ function Wt(e, t) {
1169
1130
  try {
1170
1131
  return t in e;
1171
1132
  } catch (r) {
@@ -1173,129 +1134,179 @@ function kt(e, t) {
1173
1134
  }
1174
1135
  }
1175
1136
  function En(e, t) {
1176
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1137
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1177
1138
  }
1178
1139
  function xn(e, t, r) {
1179
1140
  var n = {};
1180
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1181
- n[i] = oe(e[i], r);
1182
- }), gt(t).forEach(function(i) {
1183
- En(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1141
+ return r.isMergeableObject(e) && vt(e).forEach(function(i) {
1142
+ n[i] = ie(e[i], r);
1143
+ }), vt(t).forEach(function(i) {
1144
+ En(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1184
1145
  }), n;
1185
1146
  }
1186
- function z(e, t, r) {
1187
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = oe;
1147
+ function X(e, t, r) {
1148
+ r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ie;
1188
1149
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1189
- return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : oe(t, r);
1150
+ return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ie(t, r);
1190
1151
  }
1191
- z.all = function(t, r) {
1152
+ X.all = function(t, r) {
1192
1153
  if (!Array.isArray(t))
1193
1154
  throw new Error("first argument should be an array");
1194
1155
  return t.reduce(function(n, i) {
1195
- return z(n, i, r);
1156
+ return X(n, i, r);
1196
1157
  }, {});
1197
1158
  };
1198
- var wn = z, Sn = wn;
1159
+ var wn = X, Sn = wn;
1199
1160
  const Tn = /* @__PURE__ */ ln(Sn);
1200
- function Ae(e, t) {
1201
- var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Bn;
1161
+ var Xe = function(e, t) {
1162
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1163
+ r.__proto__ = n;
1164
+ } || function(r, n) {
1165
+ for (var i in n)
1166
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1167
+ }, Xe(e, t);
1168
+ };
1169
+ function we(e, t) {
1170
+ if (typeof t != "function" && t !== null)
1171
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1172
+ Xe(e, t);
1173
+ function r() {
1174
+ this.constructor = e;
1175
+ }
1176
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1177
+ }
1178
+ var I = function() {
1179
+ return I = Object.assign || function(t) {
1180
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1181
+ r = arguments[n];
1182
+ for (var o in r)
1183
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1184
+ }
1185
+ return t;
1186
+ }, I.apply(this, arguments);
1187
+ };
1188
+ function Hn(e, t) {
1189
+ var r = {};
1190
+ for (var n in e)
1191
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1192
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1193
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1194
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1195
+ return r;
1196
+ }
1197
+ function Oe(e, t, r) {
1198
+ if (r || arguments.length === 2)
1199
+ for (var n = 0, i = t.length, o; n < i; n++)
1200
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1201
+ return e.concat(o || Array.prototype.slice.call(t));
1202
+ }
1203
+ function Ie(e, t) {
1204
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : An;
1202
1205
  return i(e, {
1203
1206
  cache: r,
1204
1207
  serializer: n
1205
1208
  });
1206
1209
  }
1207
- function Hn(e) {
1210
+ function Bn(e) {
1208
1211
  return e == null || typeof e == "number" || typeof e == "boolean";
1209
1212
  }
1210
- function Wt(e, t, r, n) {
1211
- var i = Hn(n) ? n : r(n), o = t.get(i);
1213
+ function Pn(e, t, r, n) {
1214
+ var i = Bn(n) ? n : r(n), o = t.get(i);
1212
1215
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1213
1216
  }
1214
1217
  function Vt(e, t, r) {
1215
1218
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1216
1219
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1217
1220
  }
1218
- function Ke(e, t, r, n, i) {
1221
+ function Xt(e, t, r, n, i) {
1219
1222
  return r.bind(t, e, n, i);
1220
1223
  }
1221
- function Bn(e, t) {
1222
- var r = e.length === 1 ? Wt : Vt;
1223
- return Ke(e, this, r, t.cache.create(), t.serializer);
1224
- }
1225
- function Pn(e, t) {
1226
- return Ke(e, this, Vt, t.cache.create(), t.serializer);
1227
- }
1228
1224
  function An(e, t) {
1229
- return Ke(e, this, Wt, t.cache.create(), t.serializer);
1225
+ var r = e.length === 1 ? Pn : Vt;
1226
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1230
1227
  }
1231
- var On = function() {
1232
- return JSON.stringify(arguments);
1233
- };
1234
- function et() {
1235
- this.cache = /* @__PURE__ */ Object.create(null);
1228
+ function On(e, t) {
1229
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1236
1230
  }
1237
- et.prototype.get = function(e) {
1238
- return this.cache[e];
1239
- };
1240
- et.prototype.set = function(e, t) {
1241
- this.cache[e] = t;
1242
- };
1243
- var In = {
1231
+ var In = function() {
1232
+ return JSON.stringify(arguments);
1233
+ }, Nn = (
1234
+ /** @class */
1235
+ function() {
1236
+ function e() {
1237
+ this.cache = /* @__PURE__ */ Object.create(null);
1238
+ }
1239
+ return e.prototype.get = function(t) {
1240
+ return this.cache[t];
1241
+ }, e.prototype.set = function(t, r) {
1242
+ this.cache[t] = r;
1243
+ }, e;
1244
+ }()
1245
+ ), Ln = {
1244
1246
  create: function() {
1245
- return new et();
1247
+ return new Nn();
1246
1248
  }
1247
- }, Oe = {
1248
- variadic: Pn,
1249
- monadic: An
1250
- }, b;
1249
+ }, Ne = {
1250
+ variadic: On
1251
+ }, ge = function() {
1252
+ return ge = Object.assign || function(t) {
1253
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1254
+ r = arguments[n];
1255
+ for (var o in r)
1256
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1257
+ }
1258
+ return t;
1259
+ }, ge.apply(this, arguments);
1260
+ };
1261
+ var b;
1251
1262
  (function(e) {
1252
1263
  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";
1253
1264
  })(b || (b = {}));
1254
- var _;
1265
+ var v;
1255
1266
  (function(e) {
1256
1267
  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";
1257
- })(_ || (_ = {}));
1258
- var Z;
1268
+ })(v || (v = {}));
1269
+ var z;
1259
1270
  (function(e) {
1260
1271
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1261
- })(Z || (Z = {}));
1262
- function yt(e) {
1263
- return e.type === _.literal;
1264
- }
1265
- function Nn(e) {
1266
- return e.type === _.argument;
1272
+ })(z || (z = {}));
1273
+ function _t(e) {
1274
+ return e.type === v.literal;
1267
1275
  }
1268
- function Xt(e) {
1269
- return e.type === _.number;
1276
+ function Mn(e) {
1277
+ return e.type === v.argument;
1270
1278
  }
1271
1279
  function zt(e) {
1272
- return e.type === _.date;
1280
+ return e.type === v.number;
1273
1281
  }
1274
1282
  function Zt(e) {
1275
- return e.type === _.time;
1283
+ return e.type === v.date;
1276
1284
  }
1277
1285
  function Qt(e) {
1278
- return e.type === _.select;
1286
+ return e.type === v.time;
1279
1287
  }
1280
1288
  function Jt(e) {
1281
- return e.type === _.plural;
1282
- }
1283
- function Ln(e) {
1284
- return e.type === _.pound;
1289
+ return e.type === v.select;
1285
1290
  }
1286
1291
  function qt(e) {
1287
- return e.type === _.tag;
1292
+ return e.type === v.plural;
1293
+ }
1294
+ function Cn(e) {
1295
+ return e.type === v.pound;
1288
1296
  }
1289
1297
  function Yt(e) {
1290
- return !!(e && typeof e == "object" && e.type === Z.number);
1298
+ return e.type === v.tag;
1291
1299
  }
1292
- function ke(e) {
1293
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1300
+ function Kt(e) {
1301
+ return !!(e && typeof e == "object" && e.type === z.number);
1294
1302
  }
1295
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
1296
- function Cn(e) {
1303
+ function ze(e) {
1304
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1305
+ }
1306
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1307
+ function $n(e) {
1297
1308
  var t = {};
1298
- return e.replace(Mn, function(r) {
1309
+ return e.replace(Rn, function(r) {
1299
1310
  var n = r.length;
1300
1311
  switch (r[0]) {
1301
1312
  case "G":
@@ -1384,11 +1395,21 @@ function Cn(e) {
1384
1395
  return "";
1385
1396
  }), t;
1386
1397
  }
1387
- var Rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1388
- function $n(e) {
1398
+ var _ = function() {
1399
+ return _ = Object.assign || function(t) {
1400
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1401
+ r = arguments[n];
1402
+ for (var o in r)
1403
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1404
+ }
1405
+ return t;
1406
+ }, _.apply(this, arguments);
1407
+ };
1408
+ var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1409
+ function Dn(e) {
1389
1410
  if (e.length === 0)
1390
1411
  throw new Error("Number skeleton cannot be empty");
1391
- for (var t = e.split(Rn).filter(function(f) {
1412
+ for (var t = e.split(Un).filter(function(f) {
1392
1413
  return f.length > 0;
1393
1414
  }), r = [], n = 0, i = t; n < i.length; n++) {
1394
1415
  var o = i[n], s = o.split("/");
@@ -1403,17 +1424,17 @@ function $n(e) {
1403
1424
  }
1404
1425
  return r;
1405
1426
  }
1406
- function Un(e) {
1427
+ function Gn(e) {
1407
1428
  return e.replace(/^(.*?)-/, "");
1408
1429
  }
1409
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1410
- function _t(e) {
1430
+ var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1431
+ function xt(e) {
1411
1432
  var t = {};
1412
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1433
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1413
1434
  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)), "";
1414
1435
  }), t;
1415
1436
  }
1416
- function rr(e) {
1437
+ function nr(e) {
1417
1438
  switch (e) {
1418
1439
  case "sign-auto":
1419
1440
  return {
@@ -1453,7 +1474,7 @@ function rr(e) {
1453
1474
  };
1454
1475
  }
1455
1476
  }
1456
- function Gn(e) {
1477
+ function jn(e) {
1457
1478
  var t;
1458
1479
  if (e[0] === "E" && e[1] === "E" ? (t = {
1459
1480
  notation: "engineering"
@@ -1461,17 +1482,17 @@ function Gn(e) {
1461
1482
  notation: "scientific"
1462
1483
  }, e = e.slice(1)), t) {
1463
1484
  var r = e.slice(0, 2);
1464
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1485
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1465
1486
  throw new Error("Malformed concise eng/scientific notation");
1466
1487
  t.minimumIntegerDigits = e.length;
1467
1488
  }
1468
1489
  return t;
1469
1490
  }
1470
- function Et(e) {
1471
- var t = {}, r = rr(e);
1491
+ function wt(e) {
1492
+ var t = {}, r = nr(e);
1472
1493
  return r || t;
1473
1494
  }
1474
- function Fn(e) {
1495
+ function kn(e) {
1475
1496
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1476
1497
  var i = n[r];
1477
1498
  switch (i.stem) {
@@ -1495,7 +1516,7 @@ function Fn(e) {
1495
1516
  continue;
1496
1517
  case "measure-unit":
1497
1518
  case "unit":
1498
- t.style = "unit", t.unit = Un(i.options[0]);
1519
+ t.style = "unit", t.unit = Gn(i.options[0]);
1499
1520
  continue;
1500
1521
  case "compact-short":
1501
1522
  case "K":
@@ -1506,13 +1527,13 @@ function Fn(e) {
1506
1527
  t.notation = "compact", t.compactDisplay = "long";
1507
1528
  continue;
1508
1529
  case "scientific":
1509
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1510
- return v(v({}, h), Et(u));
1530
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1531
+ return _(_({}, h), wt(u));
1511
1532
  }, {}));
1512
1533
  continue;
1513
1534
  case "engineering":
1514
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1515
- return v(v({}, h), Et(u));
1535
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1536
+ return _(_({}, h), wt(u));
1516
1537
  }, {}));
1517
1538
  continue;
1518
1539
  case "notation-simple":
@@ -1557,7 +1578,7 @@ function Fn(e) {
1557
1578
  case "integer-width":
1558
1579
  if (i.options.length > 1)
1559
1580
  throw new RangeError("integer-width stems only accept a single optional option");
1560
- i.options[0].replace(Dn, function(h, u, l, c, f, p) {
1581
+ i.options[0].replace(Fn, function(h, u, l, c, f, p) {
1561
1582
  if (u)
1562
1583
  t.minimumIntegerDigits = l.length;
1563
1584
  else {
@@ -1570,28 +1591,28 @@ function Fn(e) {
1570
1591
  });
1571
1592
  continue;
1572
1593
  }
1573
- if (tr.test(i.stem)) {
1594
+ if (rr.test(i.stem)) {
1574
1595
  t.minimumIntegerDigits = i.stem.length;
1575
1596
  continue;
1576
1597
  }
1577
- if (vt.test(i.stem)) {
1598
+ if (Et.test(i.stem)) {
1578
1599
  if (i.options.length > 1)
1579
1600
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1580
- i.stem.replace(vt, function(h, u, l, c, f, p) {
1601
+ i.stem.replace(Et, function(h, u, l, c, f, p) {
1581
1602
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1582
1603
  });
1583
1604
  var o = i.options[0];
1584
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), _t(o)));
1605
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), xt(o)));
1585
1606
  continue;
1586
1607
  }
1587
- if (er.test(i.stem)) {
1588
- t = v(v({}, t), _t(i.stem));
1608
+ if (tr.test(i.stem)) {
1609
+ t = _(_({}, t), xt(i.stem));
1589
1610
  continue;
1590
1611
  }
1591
- var s = rr(i.stem);
1592
- s && (t = v(v({}, t), s));
1593
- var a = Gn(i.stem);
1594
- a && (t = v(v({}, t), a));
1612
+ var s = nr(i.stem);
1613
+ s && (t = _(_({}, t), s));
1614
+ var a = jn(i.stem);
1615
+ a && (t = _(_({}, t), a));
1595
1616
  }
1596
1617
  return t;
1597
1618
  }
@@ -3010,13 +3031,13 @@ var pe = {
3010
3031
  "h"
3011
3032
  ]
3012
3033
  };
3013
- function jn(e, t) {
3034
+ function Wn(e, t) {
3014
3035
  for (var r = "", n = 0; n < e.length; n++) {
3015
3036
  var i = e.charAt(n);
3016
3037
  if (i === "j") {
3017
3038
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3018
3039
  o++, n++;
3019
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = kn(t);
3040
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Vn(t);
3020
3041
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3021
3042
  r += h;
3022
3043
  for (; s-- > 0; )
@@ -3026,7 +3047,7 @@ function jn(e, t) {
3026
3047
  }
3027
3048
  return r;
3028
3049
  }
3029
- function kn(e) {
3050
+ function Vn(e) {
3030
3051
  var t = e.hourCycle;
3031
3052
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3032
3053
  e.hourCycles && // @ts-ignore
@@ -3048,20 +3069,20 @@ function kn(e) {
3048
3069
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3049
3070
  return i[0];
3050
3071
  }
3051
- var Ie, Wn = new RegExp("^".concat(Kt.source, "*")), Vn = new RegExp("".concat(Kt.source, "*$"));
3052
- function y(e, t) {
3072
+ var Le, Xn = new RegExp("^".concat(er.source, "*")), zn = new RegExp("".concat(er.source, "*$"));
3073
+ function g(e, t) {
3053
3074
  return { start: e, end: t };
3054
3075
  }
3055
- var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Yn = !!Number.isSafeInteger, Kn = Yn ? Number.isSafeInteger : function(e) {
3076
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3056
3077
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3057
- }, We = !0;
3078
+ }, Ze = !0;
3058
3079
  try {
3059
- var ei = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3060
- We = ((Ie = ei.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3080
+ var ri = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3081
+ Ze = ((Le = ri.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
3061
3082
  } catch (e) {
3062
- We = !1;
3083
+ Ze = !1;
3063
3084
  }
3064
- var xt = Xn ? (
3085
+ var St = Zn ? (
3065
3086
  // Native
3066
3087
  function(t, r, n) {
3067
3088
  return t.startsWith(r, n);
@@ -3071,7 +3092,7 @@ var xt = Xn ? (
3071
3092
  function(t, r, n) {
3072
3093
  return t.slice(n, n + r.length) === r;
3073
3094
  }
3074
- ), Ve = zn ? String.fromCodePoint : (
3095
+ ), Qe = Qn ? String.fromCodePoint : (
3075
3096
  // IE11
3076
3097
  function() {
3077
3098
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3083,9 +3104,9 @@ var xt = Xn ? (
3083
3104
  }
3084
3105
  return n;
3085
3106
  }
3086
- ), wt = (
3107
+ ), Tt = (
3087
3108
  // native
3088
- Zn ? Object.fromEntries : (
3109
+ Jn ? Object.fromEntries : (
3089
3110
  // Ponyfill
3090
3111
  function(t) {
3091
3112
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3095,7 +3116,7 @@ var xt = Xn ? (
3095
3116
  return r;
3096
3117
  }
3097
3118
  )
3098
- ), nr = Qn ? (
3119
+ ), ir = qn ? (
3099
3120
  // Native
3100
3121
  function(t, r) {
3101
3122
  return t.codePointAt(r);
@@ -3109,7 +3130,7 @@ var xt = Xn ? (
3109
3130
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3110
3131
  }
3111
3132
  }
3112
- ), ti = Jn ? (
3133
+ ), ni = Yn ? (
3113
3134
  // Native
3114
3135
  function(t) {
3115
3136
  return t.trimStart();
@@ -3117,9 +3138,9 @@ var xt = Xn ? (
3117
3138
  ) : (
3118
3139
  // Ponyfill
3119
3140
  function(t) {
3120
- return t.replace(Wn, "");
3141
+ return t.replace(Xn, "");
3121
3142
  }
3122
- ), ri = qn ? (
3143
+ ), ii = Kn ? (
3123
3144
  // Native
3124
3145
  function(t) {
3125
3146
  return t.trimEnd();
@@ -3127,32 +3148,32 @@ var xt = Xn ? (
3127
3148
  ) : (
3128
3149
  // Ponyfill
3129
3150
  function(t) {
3130
- return t.replace(Vn, "");
3151
+ return t.replace(zn, "");
3131
3152
  }
3132
3153
  );
3133
- function ir(e, t) {
3154
+ function or(e, t) {
3134
3155
  return new RegExp(e, t);
3135
3156
  }
3136
- var Xe;
3137
- if (We) {
3138
- var St = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3139
- Xe = function(t, r) {
3157
+ var Je;
3158
+ if (Ze) {
3159
+ var Ht = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3160
+ Je = function(t, r) {
3140
3161
  var n;
3141
- St.lastIndex = r;
3142
- var i = St.exec(t);
3162
+ Ht.lastIndex = r;
3163
+ var i = Ht.exec(t);
3143
3164
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3144
3165
  };
3145
3166
  } else
3146
- Xe = function(t, r) {
3167
+ Je = function(t, r) {
3147
3168
  for (var n = []; ; ) {
3148
- var i = nr(t, r);
3149
- if (i === void 0 || or(i) || si(i))
3169
+ var i = ir(t, r);
3170
+ if (i === void 0 || sr(i) || ui(i))
3150
3171
  break;
3151
3172
  n.push(i), r += i >= 65536 ? 2 : 1;
3152
3173
  }
3153
- return Ve.apply(void 0, n);
3174
+ return Qe.apply(void 0, n);
3154
3175
  };
3155
- var ni = (
3176
+ var oi = (
3156
3177
  /** @class */
3157
3178
  function() {
3158
3179
  function e(t, r) {
@@ -3176,14 +3197,14 @@ var ni = (
3176
3197
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3177
3198
  var a = this.clonePosition();
3178
3199
  this.bump(), i.push({
3179
- type: _.pound,
3180
- location: y(a, this.clonePosition())
3200
+ type: v.pound,
3201
+ location: g(a, this.clonePosition())
3181
3202
  });
3182
3203
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3183
3204
  if (n)
3184
3205
  break;
3185
- return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3186
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3206
+ return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3207
+ } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3187
3208
  var s = this.parseTag(t, r);
3188
3209
  if (s.err)
3189
3210
  return s;
@@ -3204,9 +3225,9 @@ var ni = (
3204
3225
  if (this.bumpSpace(), this.bumpIf("/>"))
3205
3226
  return {
3206
3227
  val: {
3207
- type: _.literal,
3228
+ type: v.literal,
3208
3229
  value: "<".concat(i, "/>"),
3209
- location: y(n, this.clonePosition())
3230
+ location: g(n, this.clonePosition())
3210
3231
  },
3211
3232
  err: null
3212
3233
  };
@@ -3216,25 +3237,25 @@ var ni = (
3216
3237
  return o;
3217
3238
  var s = o.val, a = this.clonePosition();
3218
3239
  if (this.bumpIf("</")) {
3219
- if (this.isEOF() || !ze(this.char()))
3220
- return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3240
+ if (this.isEOF() || !qe(this.char()))
3241
+ return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3221
3242
  var h = this.clonePosition(), u = this.parseTagName();
3222
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3243
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3223
3244
  val: {
3224
- type: _.tag,
3245
+ type: v.tag,
3225
3246
  value: i,
3226
3247
  children: s,
3227
- location: y(n, this.clonePosition())
3248
+ location: g(n, this.clonePosition())
3228
3249
  },
3229
3250
  err: null
3230
- } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
3251
+ } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3231
3252
  } else
3232
- return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3253
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3233
3254
  } else
3234
- return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3255
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3235
3256
  }, e.prototype.parseTagName = function() {
3236
3257
  var t = this.offset();
3237
- for (this.bump(); !this.isEOF() && oi(this.char()); )
3258
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
3238
3259
  this.bump();
3239
3260
  return this.message.slice(t, this.offset());
3240
3261
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3256,14 +3277,14 @@ var ni = (
3256
3277
  }
3257
3278
  break;
3258
3279
  }
3259
- var h = y(n, this.clonePosition());
3280
+ var h = g(n, this.clonePosition());
3260
3281
  return {
3261
- val: { type: _.literal, value: i, location: h },
3282
+ val: { type: v.literal, value: i, location: h },
3262
3283
  err: null
3263
3284
  };
3264
3285
  }, e.prototype.tryParseLeftAngleBracket = function() {
3265
3286
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3266
- !ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3287
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3267
3288
  }, e.prototype.tryParseQuote = function(t) {
3268
3289
  if (this.isEOF() || this.char() !== 39)
3269
3290
  return null;
@@ -3297,49 +3318,49 @@ var ni = (
3297
3318
  r.push(n);
3298
3319
  this.bump();
3299
3320
  }
3300
- return Ve.apply(void 0, r);
3321
+ return Qe.apply(void 0, r);
3301
3322
  }, e.prototype.tryParseUnquoted = function(t, r) {
3302
3323
  if (this.isEOF())
3303
3324
  return null;
3304
3325
  var n = this.char();
3305
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3326
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3306
3327
  }, e.prototype.parseArgument = function(t, r) {
3307
3328
  var n = this.clonePosition();
3308
3329
  if (this.bump(), this.bumpSpace(), this.isEOF())
3309
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3330
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3310
3331
  if (this.char() === 125)
3311
- return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3332
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3312
3333
  var i = this.parseIdentifierIfPossible().value;
3313
3334
  if (!i)
3314
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3335
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3315
3336
  if (this.bumpSpace(), this.isEOF())
3316
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3337
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3317
3338
  switch (this.char()) {
3318
3339
  case 125:
3319
3340
  return this.bump(), {
3320
3341
  val: {
3321
- type: _.argument,
3342
+ type: v.argument,
3322
3343
  // value does not include the opening and closing braces.
3323
3344
  value: i,
3324
- location: y(n, this.clonePosition())
3345
+ location: g(n, this.clonePosition())
3325
3346
  },
3326
3347
  err: null
3327
3348
  };
3328
3349
  case 44:
3329
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3350
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3330
3351
  default:
3331
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3352
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3332
3353
  }
3333
3354
  }, e.prototype.parseIdentifierIfPossible = function() {
3334
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3355
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3335
3356
  this.bumpTo(i);
3336
- var o = this.clonePosition(), s = y(t, o);
3357
+ var o = this.clonePosition(), s = g(t, o);
3337
3358
  return { value: n, location: s };
3338
3359
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3339
3360
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3340
3361
  switch (a) {
3341
3362
  case "":
3342
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
3363
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
3343
3364
  case "number":
3344
3365
  case "date":
3345
3366
  case "time": {
@@ -3350,46 +3371,46 @@ var ni = (
3350
3371
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3351
3372
  if (c.err)
3352
3373
  return c;
3353
- var f = ri(c.val);
3374
+ var f = ii(c.val);
3354
3375
  if (f.length === 0)
3355
- return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3356
- var p = y(l, this.clonePosition());
3376
+ return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3377
+ var p = g(l, this.clonePosition());
3357
3378
  u = { style: f, styleLocation: p };
3358
3379
  }
3359
3380
  var m = this.tryParseArgumentClose(i);
3360
3381
  if (m.err)
3361
3382
  return m;
3362
- var g = y(i, this.clonePosition());
3363
- if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3364
- var w = ti(u.style.slice(2));
3383
+ var y = g(i, this.clonePosition());
3384
+ if (u && St(u == null ? void 0 : u.style, "::", 0)) {
3385
+ var w = ni(u.style.slice(2));
3365
3386
  if (a === "number") {
3366
3387
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3367
3388
  return c.err ? c : {
3368
- val: { type: _.number, value: n, location: g, style: c.val },
3389
+ val: { type: v.number, value: n, location: y, style: c.val },
3369
3390
  err: null
3370
3391
  };
3371
3392
  } else {
3372
3393
  if (w.length === 0)
3373
- return this.error(b.EXPECT_DATE_TIME_SKELETON, g);
3394
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, y);
3374
3395
  var M = w;
3375
- this.locale && (M = jn(w, this.locale));
3396
+ this.locale && (M = Wn(w, this.locale));
3376
3397
  var f = {
3377
- type: Z.dateTime,
3398
+ type: z.dateTime,
3378
3399
  pattern: M,
3379
3400
  location: u.styleLocation,
3380
- parsedOptions: this.shouldParseSkeletons ? Cn(M) : {}
3381
- }, A = a === "date" ? _.date : _.time;
3401
+ parsedOptions: this.shouldParseSkeletons ? $n(M) : {}
3402
+ }, A = a === "date" ? v.date : v.time;
3382
3403
  return {
3383
- val: { type: A, value: n, location: g, style: f },
3404
+ val: { type: A, value: n, location: y, style: f },
3384
3405
  err: null
3385
3406
  };
3386
3407
  }
3387
3408
  }
3388
3409
  return {
3389
3410
  val: {
3390
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3411
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3391
3412
  value: n,
3392
- location: g,
3413
+ location: y,
3393
3414
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3394
3415
  },
3395
3416
  err: null
@@ -3400,12 +3421,12 @@ var ni = (
3400
3421
  case "select": {
3401
3422
  var T = this.clonePosition();
3402
3423
  if (this.bumpSpace(), !this.bumpIf(","))
3403
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, v({}, T)));
3424
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ge({}, T)));
3404
3425
  this.bumpSpace();
3405
3426
  var U = this.parseIdentifierIfPossible(), O = 0;
3406
3427
  if (a !== "select" && U.value === "offset") {
3407
3428
  if (!this.bumpIf(":"))
3408
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3429
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3409
3430
  this.bumpSpace();
3410
3431
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3411
3432
  if (c.err)
@@ -3418,20 +3439,20 @@ var ni = (
3418
3439
  var m = this.tryParseArgumentClose(i);
3419
3440
  if (m.err)
3420
3441
  return m;
3421
- var le = y(i, this.clonePosition());
3442
+ var le = g(i, this.clonePosition());
3422
3443
  return a === "select" ? {
3423
3444
  val: {
3424
- type: _.select,
3445
+ type: v.select,
3425
3446
  value: n,
3426
- options: wt(D.val),
3447
+ options: Tt(D.val),
3427
3448
  location: le
3428
3449
  },
3429
3450
  err: null
3430
3451
  } : {
3431
3452
  val: {
3432
- type: _.plural,
3453
+ type: v.plural,
3433
3454
  value: n,
3434
- options: wt(D.val),
3455
+ options: Tt(D.val),
3435
3456
  offset: O,
3436
3457
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3437
3458
  location: le
@@ -3440,10 +3461,10 @@ var ni = (
3440
3461
  };
3441
3462
  }
3442
3463
  default:
3443
- return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
3464
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
3444
3465
  }
3445
3466
  }, e.prototype.tryParseArgumentClose = function(t) {
3446
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3467
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3447
3468
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3448
3469
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3449
3470
  var n = this.char();
@@ -3452,7 +3473,7 @@ var ni = (
3452
3473
  this.bump();
3453
3474
  var i = this.clonePosition();
3454
3475
  if (!this.bumpUntil("'"))
3455
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3476
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3456
3477
  this.bump();
3457
3478
  break;
3458
3479
  }
@@ -3482,16 +3503,16 @@ var ni = (
3482
3503
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3483
3504
  var n = [];
3484
3505
  try {
3485
- n = $n(t);
3506
+ n = Dn(t);
3486
3507
  } catch (i) {
3487
3508
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3488
3509
  }
3489
3510
  return {
3490
3511
  val: {
3491
- type: Z.number,
3512
+ type: z.number,
3492
3513
  tokens: n,
3493
3514
  location: r,
3494
- parsedOptions: this.shouldParseSkeletons ? Fn(n) : {}
3515
+ parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3495
3516
  },
3496
3517
  err: null
3497
3518
  };
@@ -3503,7 +3524,7 @@ var ni = (
3503
3524
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3504
3525
  if (f.err)
3505
3526
  return f;
3506
- l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3527
+ l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3507
3528
  } else
3508
3529
  break;
3509
3530
  }
@@ -3512,22 +3533,22 @@ var ni = (
3512
3533
  u === "other" && (s = !0), this.bumpSpace();
3513
3534
  var p = this.clonePosition();
3514
3535
  if (!this.bumpIf("{"))
3515
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3536
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3516
3537
  var m = this.parseMessage(t + 1, r, n);
3517
3538
  if (m.err)
3518
3539
  return m;
3519
- var g = this.tryParseArgumentClose(p);
3520
- if (g.err)
3521
- return g;
3540
+ var y = this.tryParseArgumentClose(p);
3541
+ if (y.err)
3542
+ return y;
3522
3543
  a.push([
3523
3544
  u,
3524
3545
  {
3525
3546
  value: m.val,
3526
- location: y(p, this.clonePosition())
3547
+ location: g(p, this.clonePosition())
3527
3548
  }
3528
3549
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3529
3550
  }
3530
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3551
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3531
3552
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3532
3553
  var n = 1, i = this.clonePosition();
3533
3554
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3538,8 +3559,8 @@ var ni = (
3538
3559
  else
3539
3560
  break;
3540
3561
  }
3541
- var h = y(i, this.clonePosition());
3542
- return o ? (s *= n, Kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3562
+ var h = g(i, this.clonePosition());
3563
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3543
3564
  }, e.prototype.offset = function() {
3544
3565
  return this.position.offset;
3545
3566
  }, e.prototype.isEOF = function() {
@@ -3554,7 +3575,7 @@ var ni = (
3554
3575
  var t = this.position.offset;
3555
3576
  if (t >= this.message.length)
3556
3577
  throw Error("out of bound");
3557
- var r = nr(this.message, t);
3578
+ var r = ir(this.message, t);
3558
3579
  if (r === void 0)
3559
3580
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3560
3581
  return r;
@@ -3573,7 +3594,7 @@ var ni = (
3573
3594
  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);
3574
3595
  }
3575
3596
  }, e.prototype.bumpIf = function(t) {
3576
- if (xt(this.message, t, this.offset())) {
3597
+ if (St(this.message, t, this.offset())) {
3577
3598
  for (var r = 0; r < t.length; r++)
3578
3599
  this.bump();
3579
3600
  return !0;
@@ -3595,7 +3616,7 @@ var ni = (
3595
3616
  break;
3596
3617
  }
3597
3618
  }, e.prototype.bumpSpace = function() {
3598
- for (; !this.isEOF() && or(this.char()); )
3619
+ for (; !this.isEOF() && sr(this.char()); )
3599
3620
  this.bump();
3600
3621
  }, e.prototype.peek = function() {
3601
3622
  if (this.isEOF())
@@ -3605,47 +3626,47 @@ var ni = (
3605
3626
  }, e;
3606
3627
  }()
3607
3628
  );
3608
- function ze(e) {
3629
+ function qe(e) {
3609
3630
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3610
3631
  }
3611
- function ii(e) {
3612
- return ze(e) || e === 47;
3632
+ function si(e) {
3633
+ return qe(e) || e === 47;
3613
3634
  }
3614
- function oi(e) {
3635
+ function ai(e) {
3615
3636
  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;
3616
3637
  }
3617
- function or(e) {
3638
+ function sr(e) {
3618
3639
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3619
3640
  }
3620
- function si(e) {
3641
+ function ui(e) {
3621
3642
  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;
3622
3643
  }
3623
- function Ze(e) {
3644
+ function Ye(e) {
3624
3645
  e.forEach(function(t) {
3625
- if (delete t.location, Qt(t) || Jt(t))
3646
+ if (delete t.location, Jt(t) || qt(t))
3626
3647
  for (var r in t.options)
3627
- delete t.options[r].location, Ze(t.options[r].value);
3648
+ delete t.options[r].location, Ye(t.options[r].value);
3628
3649
  else
3629
- Xt(t) && Yt(t.style) || (zt(t) || Zt(t)) && ke(t.style) ? delete t.style.location : qt(t) && Ze(t.children);
3650
+ zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && ze(t.style) ? delete t.style.location : Yt(t) && Ye(t.children);
3630
3651
  });
3631
3652
  }
3632
- function ai(e, t) {
3633
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3634
- var r = new ni(e, t).parse();
3653
+ function hi(e, t) {
3654
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3655
+ var r = new oi(e, t).parse();
3635
3656
  if (r.err) {
3636
3657
  var n = SyntaxError(b[r.err.kind]);
3637
3658
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3638
3659
  }
3639
- return t != null && t.captureLocation || Ze(r.val), r.val;
3660
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3640
3661
  }
3641
- var Q;
3662
+ var Z;
3642
3663
  (function(e) {
3643
3664
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3644
- })(Q || (Q = {}));
3645
- var xe = (
3665
+ })(Z || (Z = {}));
3666
+ var Se = (
3646
3667
  /** @class */
3647
3668
  function(e) {
3648
- L(t, e);
3669
+ we(t, e);
3649
3670
  function t(r, n, i) {
3650
3671
  var o = e.call(this, r) || this;
3651
3672
  return o.code = n, o.originalMessage = i, o;
@@ -3654,48 +3675,48 @@ var xe = (
3654
3675
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3655
3676
  }, t;
3656
3677
  }(Error)
3657
- ), Tt = (
3678
+ ), Bt = (
3658
3679
  /** @class */
3659
3680
  function(e) {
3660
- L(t, e);
3681
+ we(t, e);
3661
3682
  function t(r, n, i, o) {
3662
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3683
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3663
3684
  }
3664
3685
  return t;
3665
- }(xe)
3666
- ), ui = (
3686
+ }(Se)
3687
+ ), li = (
3667
3688
  /** @class */
3668
3689
  function(e) {
3669
- L(t, e);
3690
+ we(t, e);
3670
3691
  function t(r, n, i) {
3671
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3692
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3672
3693
  }
3673
3694
  return t;
3674
- }(xe)
3675
- ), hi = (
3695
+ }(Se)
3696
+ ), ci = (
3676
3697
  /** @class */
3677
3698
  function(e) {
3678
- L(t, e);
3699
+ we(t, e);
3679
3700
  function t(r, n) {
3680
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3701
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3681
3702
  }
3682
3703
  return t;
3683
- }(xe)
3704
+ }(Se)
3684
3705
  ), S;
3685
3706
  (function(e) {
3686
3707
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3687
3708
  })(S || (S = {}));
3688
- function li(e) {
3709
+ function fi(e) {
3689
3710
  return e.length < 2 ? e : e.reduce(function(t, r) {
3690
3711
  var n = t[t.length - 1];
3691
3712
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3692
3713
  }, []);
3693
3714
  }
3694
- function ci(e) {
3715
+ function pi(e) {
3695
3716
  return typeof e == "function";
3696
3717
  }
3697
3718
  function be(e, t, r, n, i, o, s) {
3698
- if (e.length === 1 && yt(e[0]))
3719
+ if (e.length === 1 && _t(e[0]))
3699
3720
  return [
3700
3721
  {
3701
3722
  type: S.literal,
@@ -3704,14 +3725,14 @@ function be(e, t, r, n, i, o, s) {
3704
3725
  ];
3705
3726
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3706
3727
  var l = u[h];
3707
- if (yt(l)) {
3728
+ if (_t(l)) {
3708
3729
  a.push({
3709
3730
  type: S.literal,
3710
3731
  value: l.value
3711
3732
  });
3712
3733
  continue;
3713
3734
  }
3714
- if (Ln(l)) {
3735
+ if (Cn(l)) {
3715
3736
  typeof o == "number" && a.push({
3716
3737
  type: S.literal,
3717
3738
  value: r.getNumberFormat(t).format(o)
@@ -3720,43 +3741,43 @@ function be(e, t, r, n, i, o, s) {
3720
3741
  }
3721
3742
  var c = l.value;
3722
3743
  if (!(i && c in i))
3723
- throw new hi(c, s);
3744
+ throw new ci(c, s);
3724
3745
  var f = i[c];
3725
- if (Nn(l)) {
3746
+ if (Mn(l)) {
3726
3747
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3727
3748
  type: typeof f == "string" ? S.literal : S.object,
3728
3749
  value: f
3729
3750
  });
3730
3751
  continue;
3731
3752
  }
3732
- if (zt(l)) {
3733
- var p = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3753
+ if (Zt(l)) {
3754
+ var p = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3734
3755
  a.push({
3735
3756
  type: S.literal,
3736
3757
  value: r.getDateTimeFormat(t, p).format(f)
3737
3758
  });
3738
3759
  continue;
3739
3760
  }
3740
- if (Zt(l)) {
3741
- var p = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3761
+ if (Qt(l)) {
3762
+ var p = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3742
3763
  a.push({
3743
3764
  type: S.literal,
3744
3765
  value: r.getDateTimeFormat(t, p).format(f)
3745
3766
  });
3746
3767
  continue;
3747
3768
  }
3748
- if (Xt(l)) {
3749
- var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3769
+ if (zt(l)) {
3770
+ var p = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
3750
3771
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3751
3772
  type: S.literal,
3752
3773
  value: r.getNumberFormat(t, p).format(f)
3753
3774
  });
3754
3775
  continue;
3755
3776
  }
3756
- if (qt(l)) {
3757
- var m = l.children, g = l.value, w = i[g];
3758
- if (!ci(w))
3759
- throw new ui(g, "function", s);
3777
+ if (Yt(l)) {
3778
+ var m = l.children, y = l.value, w = i[y];
3779
+ if (!pi(w))
3780
+ throw new li(y, "function", s);
3760
3781
  var M = be(m, t, r, n, i, o), A = w(M.map(function(O) {
3761
3782
  return O.value;
3762
3783
  }));
@@ -3767,42 +3788,42 @@ function be(e, t, r, n, i, o, s) {
3767
3788
  };
3768
3789
  }));
3769
3790
  }
3770
- if (Qt(l)) {
3791
+ if (Jt(l)) {
3771
3792
  var T = l.options[f] || l.options.other;
3772
3793
  if (!T)
3773
- throw new Tt(l.value, f, Object.keys(l.options), s);
3794
+ throw new Bt(l.value, f, Object.keys(l.options), s);
3774
3795
  a.push.apply(a, be(T.value, t, r, n, i));
3775
3796
  continue;
3776
3797
  }
3777
- if (Jt(l)) {
3798
+ if (qt(l)) {
3778
3799
  var T = l.options["=".concat(f)];
3779
3800
  if (!T) {
3780
3801
  if (!Intl.PluralRules)
3781
- throw new xe(`Intl.PluralRules is not available in this environment.
3802
+ throw new Se(`Intl.PluralRules is not available in this environment.
3782
3803
  Try polyfilling it using "@formatjs/intl-pluralrules"
3783
- `, Q.MISSING_INTL_API, s);
3804
+ `, Z.MISSING_INTL_API, s);
3784
3805
  var U = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3785
3806
  T = l.options[U] || l.options.other;
3786
3807
  }
3787
3808
  if (!T)
3788
- throw new Tt(l.value, f, Object.keys(l.options), s);
3809
+ throw new Bt(l.value, f, Object.keys(l.options), s);
3789
3810
  a.push.apply(a, be(T.value, t, r, n, i, f - (l.offset || 0)));
3790
3811
  continue;
3791
3812
  }
3792
3813
  }
3793
- return li(a);
3814
+ return fi(a);
3794
3815
  }
3795
- function fi(e, t) {
3796
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3797
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3816
+ function di(e, t) {
3817
+ return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3818
+ return r[n] = I(I({}, e[n]), t[n] || {}), r;
3798
3819
  }, {})) : e;
3799
3820
  }
3800
- function pi(e, t) {
3821
+ function mi(e, t) {
3801
3822
  return t ? Object.keys(e).reduce(function(r, n) {
3802
- return r[n] = fi(e[n], t[n]), r;
3803
- }, v({}, e)) : e;
3823
+ return r[n] = di(e[n], t[n]), r;
3824
+ }, I({}, e)) : e;
3804
3825
  }
3805
- function Ne(e) {
3826
+ function Me(e) {
3806
3827
  return {
3807
3828
  create: function() {
3808
3829
  return {
@@ -3816,39 +3837,39 @@ function Ne(e) {
3816
3837
  }
3817
3838
  };
3818
3839
  }
3819
- function di(e) {
3840
+ function bi(e) {
3820
3841
  return e === void 0 && (e = {
3821
3842
  number: {},
3822
3843
  dateTime: {},
3823
3844
  pluralRules: {}
3824
3845
  }), {
3825
- getNumberFormat: Ae(function() {
3846
+ getNumberFormat: Ie(function() {
3826
3847
  for (var t, r = [], n = 0; n < arguments.length; n++)
3827
3848
  r[n] = arguments[n];
3828
- return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3849
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3829
3850
  }, {
3830
- cache: Ne(e.number),
3831
- strategy: Oe.variadic
3851
+ cache: Me(e.number),
3852
+ strategy: Ne.variadic
3832
3853
  }),
3833
- getDateTimeFormat: Ae(function() {
3854
+ getDateTimeFormat: Ie(function() {
3834
3855
  for (var t, r = [], n = 0; n < arguments.length; n++)
3835
3856
  r[n] = arguments[n];
3836
- return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3857
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3837
3858
  }, {
3838
- cache: Ne(e.dateTime),
3839
- strategy: Oe.variadic
3859
+ cache: Me(e.dateTime),
3860
+ strategy: Ne.variadic
3840
3861
  }),
3841
- getPluralRules: Ae(function() {
3862
+ getPluralRules: Ie(function() {
3842
3863
  for (var t, r = [], n = 0; n < arguments.length; n++)
3843
3864
  r[n] = arguments[n];
3844
- return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3865
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3845
3866
  }, {
3846
- cache: Ne(e.pluralRules),
3847
- strategy: Oe.variadic
3867
+ cache: Me(e.pluralRules),
3868
+ strategy: Ne.variadic
3848
3869
  })
3849
3870
  };
3850
3871
  }
3851
- var mi = (
3872
+ var yi = (
3852
3873
  /** @class */
3853
3874
  function() {
3854
3875
  function e(t, r, n, i) {
@@ -3880,13 +3901,13 @@ var mi = (
3880
3901
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3881
3902
  var s = i || {};
3882
3903
  s.formatters;
3883
- var a = zr(s, ["formatters"]);
3884
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3904
+ var a = Hn(s, ["formatters"]);
3905
+ this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
3885
3906
  } else
3886
3907
  this.ast = t;
3887
3908
  if (!Array.isArray(this.ast))
3888
3909
  throw new TypeError("A message must be provided as a String or AST.");
3889
- this.formats = pi(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
3910
+ this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3890
3911
  }
3891
3912
  return Object.defineProperty(e, "defaultLocale", {
3892
3913
  get: function() {
@@ -3899,7 +3920,7 @@ var mi = (
3899
3920
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3900
3921
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3901
3922
  }
3902
- }, e.__parse = ai, e.formats = {
3923
+ }, e.__parse = hi, e.formats = {
3903
3924
  number: {
3904
3925
  integer: {
3905
3926
  maximumFractionDigits: 0
@@ -3960,7 +3981,7 @@ var mi = (
3960
3981
  }, e;
3961
3982
  }()
3962
3983
  );
3963
- function bi(e, t) {
3984
+ function gi(e, t) {
3964
3985
  if (t == null)
3965
3986
  return;
3966
3987
  if (t in e)
@@ -3981,92 +4002,92 @@ function bi(e, t) {
3981
4002
  n = void 0;
3982
4003
  return n;
3983
4004
  }
3984
- const $ = {}, gi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
4005
+ const $ = {}, vi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), ar = (e, t) => {
3985
4006
  if (t == null)
3986
4007
  return;
3987
4008
  if (t in $ && e in $[t])
3988
4009
  return $[t][e];
3989
- const r = we(t);
4010
+ const r = Te(t);
3990
4011
  for (let n = 0; n < r.length; n++) {
3991
- const i = r[n], o = vi(i, e);
4012
+ const i = r[n], o = Ei(i, e);
3992
4013
  if (o)
3993
- return gi(e, t, o);
4014
+ return vi(e, t, o);
3994
4015
  }
3995
4016
  };
3996
- let tt;
3997
- const he = Ee({});
3998
- function yi(e) {
3999
- return tt[e] || null;
4017
+ let nt;
4018
+ const he = xe({});
4019
+ function _i(e) {
4020
+ return nt[e] || null;
4000
4021
  }
4001
- function ar(e) {
4002
- return e in tt;
4022
+ function ur(e) {
4023
+ return e in nt;
4003
4024
  }
4004
- function vi(e, t) {
4005
- if (!ar(e))
4025
+ function Ei(e, t) {
4026
+ if (!ur(e))
4006
4027
  return null;
4007
- const r = yi(e);
4008
- return bi(r, t);
4028
+ const r = _i(e);
4029
+ return gi(r, t);
4009
4030
  }
4010
- function _i(e) {
4031
+ function xi(e) {
4011
4032
  if (e == null)
4012
4033
  return;
4013
- const t = we(e);
4034
+ const t = Te(e);
4014
4035
  for (let r = 0; r < t.length; r++) {
4015
4036
  const n = t[r];
4016
- if (ar(n))
4037
+ if (ur(n))
4017
4038
  return n;
4018
4039
  }
4019
4040
  }
4020
- function ur(e, ...t) {
4041
+ function hr(e, ...t) {
4021
4042
  delete $[e], he.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
4022
4043
  }
4023
- Y(
4044
+ q(
4024
4045
  [he],
4025
4046
  ([e]) => Object.keys(e)
4026
4047
  );
4027
- he.subscribe((e) => tt = e);
4028
- const ge = {};
4029
- function Ei(e, t) {
4030
- ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4048
+ he.subscribe((e) => nt = e);
4049
+ const ye = {};
4050
+ function wi(e, t) {
4051
+ ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4031
4052
  }
4032
- function hr(e) {
4033
- return ge[e];
4053
+ function lr(e) {
4054
+ return ye[e];
4034
4055
  }
4035
- function xi(e) {
4036
- return we(e).map((t) => {
4037
- const r = hr(t);
4056
+ function Si(e) {
4057
+ return Te(e).map((t) => {
4058
+ const r = lr(t);
4038
4059
  return [t, r ? [...r] : []];
4039
4060
  }).filter(([, t]) => t.length > 0);
4040
4061
  }
4041
- function Qe(e) {
4042
- return e == null ? !1 : we(e).some(
4062
+ function Ke(e) {
4063
+ return e == null ? !1 : Te(e).some(
4043
4064
  (t) => {
4044
4065
  var r;
4045
- return (r = hr(t)) == null ? void 0 : r.size;
4066
+ return (r = lr(t)) == null ? void 0 : r.size;
4046
4067
  }
4047
4068
  );
4048
4069
  }
4049
- function wi(e, t) {
4070
+ function Ti(e, t) {
4050
4071
  return Promise.all(
4051
- t.map((n) => (Ei(e, n), n().then((i) => i.default || i)))
4052
- ).then((n) => ur(e, ...n));
4053
- }
4054
- const te = {};
4055
- function lr(e) {
4056
- if (!Qe(e))
4057
- return e in te ? te[e] : Promise.resolve();
4058
- const t = xi(e);
4059
- return te[e] = Promise.all(
4072
+ t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4073
+ ).then((n) => hr(e, ...n));
4074
+ }
4075
+ const ee = {};
4076
+ function cr(e) {
4077
+ if (!Ke(e))
4078
+ return e in ee ? ee[e] : Promise.resolve();
4079
+ const t = Si(e);
4080
+ return ee[e] = Promise.all(
4060
4081
  t.map(
4061
- ([r, n]) => wi(r, n)
4082
+ ([r, n]) => Ti(r, n)
4062
4083
  )
4063
4084
  ).then(() => {
4064
- if (Qe(e))
4065
- return lr(e);
4066
- delete te[e];
4067
- }), te[e];
4085
+ if (Ke(e))
4086
+ return cr(e);
4087
+ delete ee[e];
4088
+ }), ee[e];
4068
4089
  }
4069
- const Si = {
4090
+ const Hi = {
4070
4091
  number: {
4071
4092
  scientific: { notation: "scientific" },
4072
4093
  engineering: { notation: "engineering" },
@@ -4095,135 +4116,135 @@ const Si = {
4095
4116
  timeZoneName: "short"
4096
4117
  }
4097
4118
  }
4098
- }, Ti = {
4119
+ }, Bi = {
4099
4120
  fallbackLocale: null,
4100
4121
  loadingDelay: 200,
4101
- formats: Si,
4122
+ formats: Hi,
4102
4123
  warnOnMissingMessages: !0,
4103
4124
  handleMissingMessage: void 0,
4104
4125
  ignoreTag: !0
4105
- }, Hi = Ti;
4106
- function J() {
4107
- return Hi;
4126
+ }, Pi = Bi;
4127
+ function Q() {
4128
+ return Pi;
4108
4129
  }
4109
- const Le = Ee(!1);
4110
- var Bi = Object.defineProperty, Pi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4130
+ const Ce = xe(!1);
4131
+ var Ai = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4111
4132
  for (var r in t || (t = {}))
4112
- Oi.call(t, r) && Bt(e, r, t[r]);
4113
- if (Ht)
4114
- for (var r of Ht(t))
4115
- Ii.call(t, r) && Bt(e, r, t[r]);
4133
+ Ni.call(t, r) && At(e, r, t[r]);
4134
+ if (Pt)
4135
+ for (var r of Pt(t))
4136
+ Li.call(t, r) && At(e, r, t[r]);
4116
4137
  return e;
4117
- }, Li = (e, t) => Pi(e, Ai(t));
4118
- let Je;
4119
- const ye = Ee(null);
4120
- function Pt(e) {
4138
+ }, Ci = (e, t) => Oi(e, Ii(t));
4139
+ let et;
4140
+ const ve = xe(null);
4141
+ function Ot(e) {
4121
4142
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4122
4143
  }
4123
- function we(e, t = J().fallbackLocale) {
4124
- const r = Pt(e);
4125
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4144
+ function Te(e, t = Q().fallbackLocale) {
4145
+ const r = Ot(e);
4146
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4126
4147
  }
4127
4148
  function G() {
4128
- return Je != null ? Je : void 0;
4149
+ return et != null ? et : void 0;
4129
4150
  }
4130
- ye.subscribe((e) => {
4131
- Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4151
+ ve.subscribe((e) => {
4152
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4132
4153
  });
4133
- const Mi = (e) => {
4134
- if (e && _i(e) && Qe(e)) {
4135
- const { loadingDelay: t } = J();
4154
+ const Ri = (e) => {
4155
+ if (e && xi(e) && Ke(e)) {
4156
+ const { loadingDelay: t } = Q();
4136
4157
  let r;
4137
4158
  return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4138
- () => Le.set(!0),
4159
+ () => Ce.set(!0),
4139
4160
  t
4140
- ) : Le.set(!0), lr(e).then(() => {
4141
- ye.set(e);
4161
+ ) : Ce.set(!0), cr(e).then(() => {
4162
+ ve.set(e);
4142
4163
  }).finally(() => {
4143
- clearTimeout(r), Le.set(!1);
4164
+ clearTimeout(r), Ce.set(!1);
4144
4165
  });
4145
4166
  }
4146
- return ye.set(e);
4147
- }, K = Li(Ni({}, ye), {
4148
- set: Mi
4149
- }), Se = (e) => {
4167
+ return ve.set(e);
4168
+ }, Y = Ci(Mi({}, ve), {
4169
+ set: Ri
4170
+ }), He = (e) => {
4150
4171
  const t = /* @__PURE__ */ Object.create(null);
4151
4172
  return (n) => {
4152
4173
  const i = JSON.stringify(n);
4153
4174
  return i in t ? t[i] : t[i] = e(n);
4154
4175
  };
4155
4176
  };
4156
- var Ci = Object.defineProperty, ve = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4177
+ var $i = Object.defineProperty, _e = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4157
4178
  for (var r in t || (t = {}))
4158
- cr.call(t, r) && At(e, r, t[r]);
4159
- if (ve)
4160
- for (var r of ve(t))
4161
- fr.call(t, r) && At(e, r, t[r]);
4179
+ fr.call(t, r) && It(e, r, t[r]);
4180
+ if (_e)
4181
+ for (var r of _e(t))
4182
+ pr.call(t, r) && It(e, r, t[r]);
4162
4183
  return e;
4163
- }, ee = (e, t) => {
4184
+ }, K = (e, t) => {
4164
4185
  var r = {};
4165
4186
  for (var n in e)
4166
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4167
- if (e != null && ve)
4168
- for (var n of ve(e))
4169
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4187
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4188
+ if (e != null && _e)
4189
+ for (var n of _e(e))
4190
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4170
4191
  return r;
4171
4192
  };
4172
- const se = (e, t) => {
4173
- const { formats: r } = J();
4193
+ const oe = (e, t) => {
4194
+ const { formats: r } = Q();
4174
4195
  if (e in r && t in r[e])
4175
4196
  return r[e][t];
4176
4197
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4177
- }, Ri = Se(
4198
+ }, Ui = He(
4178
4199
  (e) => {
4179
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4200
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4180
4201
  if (r == null)
4181
4202
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4182
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4203
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4183
4204
  }
4184
- ), $i = Se(
4205
+ ), Di = He(
4185
4206
  (e) => {
4186
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4207
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4187
4208
  if (r == null)
4188
4209
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4189
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4210
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4190
4211
  }
4191
- ), Ui = Se(
4212
+ ), Gi = He(
4192
4213
  (e) => {
4193
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4214
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4194
4215
  if (r == null)
4195
4216
  throw new Error(
4196
4217
  '[svelte-i18n] A "locale" must be set to format time values'
4197
4218
  );
4198
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4219
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4199
4220
  }
4200
- ), Di = (e = {}) => {
4221
+ ), Fi = (e = {}) => {
4201
4222
  var t = e, {
4202
4223
  locale: r = G()
4203
- } = t, n = ee(t, [
4224
+ } = t, n = K(t, [
4204
4225
  "locale"
4205
4226
  ]);
4206
- return Ri(rt({ locale: r }, n));
4207
- }, Gi = (e = {}) => {
4227
+ return Ui(it({ locale: r }, n));
4228
+ }, ji = (e = {}) => {
4208
4229
  var t = e, {
4209
4230
  locale: r = G()
4210
- } = t, n = ee(t, [
4231
+ } = t, n = K(t, [
4211
4232
  "locale"
4212
4233
  ]);
4213
- return $i(rt({ locale: r }, n));
4214
- }, Fi = (e = {}) => {
4234
+ return Di(it({ locale: r }, n));
4235
+ }, ki = (e = {}) => {
4215
4236
  var t = e, {
4216
4237
  locale: r = G()
4217
- } = t, n = ee(t, [
4238
+ } = t, n = K(t, [
4218
4239
  "locale"
4219
4240
  ]);
4220
- return Ui(rt({ locale: r }, n));
4221
- }, ji = Se(
4241
+ return Gi(it({ locale: r }, n));
4242
+ }, Wi = He(
4222
4243
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4223
- (e, t = G()) => new mi(e, t, J().formats, {
4224
- ignoreTag: J().ignoreTag
4244
+ (e, t = G()) => new yi(e, t, Q().formats, {
4245
+ ignoreTag: Q().ignoreTag
4225
4246
  })
4226
- ), ki = (e, t = {}) => {
4247
+ ), Vi = (e, t = {}) => {
4227
4248
  var r, n, i, o;
4228
4249
  let s = t;
4229
4250
  typeof e == "object" && (s = e, e = s.id);
@@ -4236,9 +4257,9 @@ const se = (e, t) => {
4236
4257
  throw new Error(
4237
4258
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4238
4259
  );
4239
- let l = sr(e, h);
4260
+ let l = ar(e, h);
4240
4261
  if (!l)
4241
- l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4262
+ l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4242
4263
  else if (typeof l != "string")
4243
4264
  return console.warn(
4244
4265
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4247,7 +4268,7 @@ const se = (e, t) => {
4247
4268
  return l;
4248
4269
  let c = l;
4249
4270
  try {
4250
- c = ji(l, h).format(a);
4271
+ c = Wi(l, h).format(a);
4251
4272
  } catch (f) {
4252
4273
  f instanceof Error && console.warn(
4253
4274
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4255,21 +4276,21 @@ const se = (e, t) => {
4255
4276
  );
4256
4277
  }
4257
4278
  return c;
4258
- }, Wi = (e, t) => Fi(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Di(t).format(e), zi = (e, t = G()) => sr(e, t), Zi = Y([K, he], () => ki);
4259
- Y([K], () => Wi);
4260
- Y([K], () => Vi);
4261
- Y([K], () => Xi);
4262
- Y([K, he], () => zi);
4279
+ }, Xi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = G()) => ar(e, t), Ji = q([Y, he], () => Vi);
4280
+ q([Y], () => Xi);
4281
+ q([Y], () => zi);
4282
+ q([Y], () => Zi);
4283
+ q([Y, he], () => Qi);
4263
4284
  window.emWidgets = { topic: un };
4264
- const Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4285
+ const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4265
4286
  String(Number.MAX_SAFE_INTEGER).length;
4266
- function Ot(e, t) {
4267
- ur(e, t);
4287
+ function Nt(e, t) {
4288
+ hr(e, t);
4268
4289
  }
4269
- function Ji(e) {
4270
- K.set(e);
4290
+ function Yi(e) {
4291
+ Y.set(e);
4271
4292
  }
4272
- const It = {
4293
+ const Lt = {
4273
4294
  en: {
4274
4295
  titlePlayerWithdrawal: "Withdrawal",
4275
4296
  loading: "Loading, please wait ..."
@@ -4303,130 +4324,130 @@ const It = {
4303
4324
  loading: "Loading, please wait ..."
4304
4325
  }
4305
4326
  };
4306
- function qi(e) {
4307
- wr(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)}");
4327
+ function Ki(e) {
4328
+ Sr(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)}");
4308
4329
  }
4309
- function Yi(e) {
4330
+ function eo(e) {
4310
4331
  let t, r, n, i, o, s, a, h, u, l, c = (
4311
4332
  /*$_*/
4312
4333
  e[3]("titlePlayerWithdrawal") + ""
4313
4334
  ), f, p, m;
4314
4335
  return {
4315
4336
  c() {
4316
- t = N("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Me(), l = N("h2"), f = ne(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "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(l, "class", "WithdrawalTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
4337
+ t = L("div"), r = F("svg"), n = F("defs"), i = F("style"), o = re(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Re(), l = L("h2"), f = re(c), E(h, "class", "aaa"), E(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(h, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(s, "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(l, "class", "WithdrawalTitleMobile"), E(t, "class", "MenuReturnButton"), E(t, "part", "MenuReturnButton");
4317
4338
  },
4318
- m(g, w) {
4319
- ue(g, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (m = Hr(
4339
+ m(y, w) {
4340
+ ae(y, t, w), x(t, r), x(r, n), x(n, i), x(i, o), x(r, s), x(s, a), x(a, h), x(t, u), x(t, l), x(l, f), p || (m = Br(
4320
4341
  t,
4321
4342
  "click",
4322
4343
  /*click_handler*/
4323
4344
  e[16]
4324
4345
  ), p = !0);
4325
4346
  },
4326
- p(g, w) {
4347
+ p(y, w) {
4327
4348
  w & /*$_*/
4328
4349
  8 && c !== (c = /*$_*/
4329
- g[3]("titlePlayerWithdrawal") + "") && Ye(f, c);
4350
+ y[3]("titlePlayerWithdrawal") + "") && rt(f, c);
4330
4351
  },
4331
- d(g) {
4332
- g && q(t), p = !1, m();
4352
+ d(y) {
4353
+ y && J(t), p = !1, m();
4333
4354
  }
4334
4355
  };
4335
4356
  }
4336
- function Ki(e) {
4357
+ function to(e) {
4337
4358
  let t, r, n;
4338
4359
  return {
4339
4360
  c() {
4340
- t = N("div"), r = N("iframe"), ut(r.src, n = /*iframeUrl*/
4361
+ t = L("div"), r = L("iframe"), lt(r.src, n = /*iframeUrl*/
4341
4362
  e[2]) || E(r, "src", n), E(r, "title", "Withdrawal Iframe"), E(t, "class", "WithdrawalIframeWrapper");
4342
4363
  },
4343
4364
  m(i, o) {
4344
- ue(i, t, o), x(t, r);
4365
+ ae(i, t, o), x(t, r);
4345
4366
  },
4346
4367
  p(i, o) {
4347
4368
  o & /*iframeUrl*/
4348
- 4 && !ut(r.src, n = /*iframeUrl*/
4369
+ 4 && !lt(r.src, n = /*iframeUrl*/
4349
4370
  i[2]) && E(r, "src", n);
4350
4371
  },
4351
4372
  d(i) {
4352
- i && q(t);
4373
+ i && J(t);
4353
4374
  }
4354
4375
  };
4355
4376
  }
4356
- function eo(e) {
4377
+ function ro(e) {
4357
4378
  let t, r = (
4358
4379
  /*$_*/
4359
4380
  e[3]("loading") + ""
4360
4381
  ), n;
4361
4382
  return {
4362
4383
  c() {
4363
- t = N("p"), n = ne(r);
4384
+ t = L("p"), n = re(r);
4364
4385
  },
4365
4386
  m(i, o) {
4366
- ue(i, t, o), x(t, n);
4387
+ ae(i, t, o), x(t, n);
4367
4388
  },
4368
4389
  p(i, o) {
4369
4390
  o & /*$_*/
4370
4391
  8 && r !== (r = /*$_*/
4371
- i[3]("loading") + "") && Ye(n, r);
4392
+ i[3]("loading") + "") && rt(n, r);
4372
4393
  },
4373
4394
  d(i) {
4374
- i && q(t);
4395
+ i && J(t);
4375
4396
  }
4376
4397
  };
4377
4398
  }
4378
- function to(e) {
4399
+ function no(e) {
4379
4400
  let t, r, n, i = (
4380
4401
  /*$_*/
4381
4402
  e[3]("titlePlayerWithdrawal") + ""
4382
4403
  ), o, s, a = (
4383
4404
  /*isMobile*/
4384
- e[4] && Yi(e)
4405
+ e[4] && eo(e)
4385
4406
  );
4386
4407
  function h(c, f) {
4387
4408
  return (
4388
4409
  /*isLoading*/
4389
- c[1] ? eo : Ki
4410
+ c[1] ? ro : to
4390
4411
  );
4391
4412
  }
4392
4413
  let u = h(e), l = u(e);
4393
4414
  return {
4394
4415
  c() {
4395
- t = N("div"), a && a.c(), r = Me(), n = N("h2"), o = ne(i), s = Me(), l.c(), E(n, "class", "WithdrawalTitle " + /*isMobile*/
4416
+ t = L("div"), a && a.c(), r = Re(), n = L("h2"), o = re(i), s = Re(), l.c(), E(n, "class", "WithdrawalTitle " + /*isMobile*/
4396
4417
  (e[4] ? "WithdrawalTitleNone" : "")), E(t, "class", "WithdrawalWrapper " + /*isMobile*/
4397
4418
  (e[4] ? "WithdrawalWrapperMobile" : ""));
4398
4419
  },
4399
4420
  m(c, f) {
4400
- ue(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[17](t);
4421
+ ae(c, t, f), a && a.m(t, null), x(t, r), x(t, n), x(n, o), x(t, s), l.m(t, null), e[17](t);
4401
4422
  },
4402
4423
  p(c, [f]) {
4403
4424
  /*isMobile*/
4404
4425
  c[4] && a.p(c, f), f & /*$_*/
4405
4426
  8 && i !== (i = /*$_*/
4406
- c[3]("titlePlayerWithdrawal") + "") && Ye(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4427
+ c[3]("titlePlayerWithdrawal") + "") && rt(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null)));
4407
4428
  },
4408
4429
  i: P,
4409
4430
  o: P,
4410
4431
  d(c) {
4411
- c && q(t), a && a.d(), l.d(), e[17](null);
4432
+ c && J(t), a && a.d(), l.d(), e[17](null);
4412
4433
  }
4413
4434
  };
4414
4435
  }
4415
- function ro(e, t, r) {
4436
+ function io(e, t, r) {
4416
4437
  let n;
4417
- xr(e, Zi, (d) => r(3, n = d));
4418
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { hasdefaultamount: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, { currency: p = "" } = t, m, g = window.navigator.userAgent, w = Qi(g) !== "PC", M = !0, A = 0, T = "";
4438
+ wr(e, Ji, (d) => r(3, n = d));
4439
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { hasdefaultamount: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, { currency: p = "" } = t, m, y = window.navigator.userAgent, w = qi(y) !== "PC", M = !0, A = 0, T = "";
4419
4440
  const U = () => {
4420
4441
  fetch(f).then((C) => C.json()).then((C) => {
4421
4442
  Object.keys(C).forEach((R) => {
4422
- Ot(R, C[R]);
4443
+ Nt(R, C[R]);
4423
4444
  });
4424
4445
  }).catch((C) => {
4425
4446
  console.log(C);
4426
4447
  });
4427
4448
  };
4428
- Object.keys(It).forEach((d) => {
4429
- Ot(d, It[d]);
4449
+ Object.keys(Lt).forEach((d) => {
4450
+ Nt(d, Lt[d]);
4430
4451
  });
4431
4452
  const O = () => {
4432
4453
  window.postMessage(
@@ -4496,15 +4517,15 @@ function ro(e, t, r) {
4496
4517
  console.error(R);
4497
4518
  }
4498
4519
  );
4499
- }, pr = () => {
4500
- Ji(a);
4520
+ }, dr = () => {
4521
+ Yi(a);
4501
4522
  };
4502
- Or(() => (window.addEventListener("message", D, !1), () => {
4523
+ Ir(() => (window.addEventListener("message", D, !1), () => {
4503
4524
  window.removeEventListener("message", D);
4504
4525
  }));
4505
- const dr = () => O();
4506
- function mr(d) {
4507
- Ce[d ? "unshift" : "push"](() => {
4526
+ const mr = () => O();
4527
+ function br(d) {
4528
+ $e[d ? "unshift" : "push"](() => {
4508
4529
  m = d, r(0, m);
4509
4530
  });
4510
4531
  }
@@ -4512,10 +4533,10 @@ function ro(e, t, r) {
4512
4533
  "endpoint" in d && r(7, i = d.endpoint), "session" in d && r(8, o = d.session), "playerid" in d && r(9, s = d.playerid), "lang" in d && r(10, a = d.lang), "hasdefaultamount" in d && r(11, h = d.hasdefaultamount), "clientstyling" in d && r(12, u = d.clientstyling), "clientstylingurl" in d && r(13, l = 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);
4513
4534
  }, e.$$.update = () => {
4514
4535
  e.$$.dirty & /*lang*/
4515
- 1024 && a && pr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4516
- 4097 && u && m && Wr(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4517
- 8193 && l && m && Vr(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4518
- 16385 && c && m && Xr(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4536
+ 1024 && a && dr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4537
+ 4097 && u && m && Vr(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4538
+ 8193 && l && m && Xr(m, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4539
+ 16385 && c && m && zr(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4519
4540
  32768 && f && U(), e.$$.dirty & /*session, playerid, endpoint, currency, lang*/
4520
4541
  1984 && o && s && i && p && a && le();
4521
4542
  }, [
@@ -4535,18 +4556,18 @@ function ro(e, t, r) {
4535
4556
  l,
4536
4557
  c,
4537
4558
  f,
4538
- dr,
4539
- mr
4559
+ mr,
4560
+ br
4540
4561
  ];
4541
4562
  }
4542
- class no extends jr {
4563
+ class oo extends kr {
4543
4564
  constructor(t) {
4544
- super(), Gr(
4565
+ super(), Fr(
4545
4566
  this,
4546
4567
  t,
4547
- ro,
4548
- to,
4549
- Lt,
4568
+ io,
4569
+ no,
4570
+ Ct,
4550
4571
  {
4551
4572
  endpoint: 7,
4552
4573
  session: 8,
@@ -4559,7 +4580,7 @@ class no extends jr {
4559
4580
  translationurl: 15,
4560
4581
  currency: 6
4561
4582
  },
4562
- qi
4583
+ Ki
4563
4584
  );
4564
4585
  }
4565
4586
  get endpoint() {
@@ -4623,7 +4644,7 @@ class no extends jr {
4623
4644
  this.$$set({ currency: t }), B();
4624
4645
  }
4625
4646
  }
4626
- Fr(no, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
4647
+ jr(oo, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
4627
4648
  export {
4628
- no as default
4649
+ oo as default
4629
4650
  };