@everymatrix/player-deposit 1.56.0 → 1.56.2

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,51 +1,52 @@
1
- function A() {
1
+ function B() {
2
2
  }
3
- function Ht(e) {
3
+ function Pt(e) {
4
4
  return e();
5
5
  }
6
- function et() {
6
+ function nt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Ht);
9
+ function ae(e) {
10
+ e.forEach(Pt);
11
11
  }
12
- function Ze(e) {
12
+ function Qe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Bt(e, t) {
15
+ function Ot(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let le;
19
- function tt(e, t) {
19
+ function it(e, t) {
20
20
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
21
21
  }
22
- function lr(e) {
22
+ function mr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function At(e, ...t) {
25
+ function It(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return A;
29
+ return B;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function cr(e, t, r) {
35
- e.$$.on_destroy.push(At(t, r));
34
+ function br(e, t, r) {
35
+ e.$$.on_destroy.push(It(t, r));
36
36
  }
37
37
  function w(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function fr(e, t, r) {
41
- const n = pr(e);
40
+ function gr(e, t, r) {
41
+ const n = yr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = I("style");
44
- i.id = t, i.textContent = r, mr(n, i);
44
+ i.id = t, i.textContent = r, vr(n, i);
45
45
  }
46
46
  }
47
- function pr(e) {
48
- if (!e) return document;
47
+ function yr(e) {
48
+ if (!e)
49
+ return document;
49
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
51
  return t && /** @type {ShadowRoot} */
51
52
  t.host ? (
@@ -53,14 +54,14 @@ function pr(e) {
53
54
  t
54
55
  ) : e.ownerDocument;
55
56
  }
56
- function mr(e, t) {
57
+ function vr(e, t) {
57
58
  return w(
58
59
  /** @type {Document} */
59
60
  e.head || e,
60
61
  t
61
62
  ), t.sheet;
62
63
  }
63
- function ae(e, t, r) {
64
+ function ue(e, t, r) {
64
65
  e.insertBefore(t, r || null);
65
66
  }
66
67
  function Y(e) {
@@ -72,29 +73,29 @@ function I(e) {
72
73
  function G(e) {
73
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
74
75
  }
75
- function re(e) {
76
+ function ne(e) {
76
77
  return document.createTextNode(e);
77
78
  }
78
- function Ie() {
79
- return re(" ");
79
+ function Ce() {
80
+ return ne(" ");
80
81
  }
81
- function dr(e, t, r, n) {
82
+ function _r(e, t, r, n) {
82
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
83
84
  }
84
85
  function x(e, t, r) {
85
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
86
87
  }
87
- function br(e) {
88
+ function Er(e) {
88
89
  return Array.from(e.childNodes);
89
90
  }
90
- function Qe(e, t) {
91
+ function Ye(e, t) {
91
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
92
93
  t);
93
94
  }
94
- function rt(e, t, r, n) {
95
+ function ot(e, t, r, n) {
95
96
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
96
97
  }
97
- function gr(e) {
98
+ function xr(e) {
98
99
  const t = {};
99
100
  return e.childNodes.forEach(
100
101
  /** @param {Element} node */
@@ -103,23 +104,24 @@ function gr(e) {
103
104
  }
104
105
  ), t;
105
106
  }
106
- let ne;
107
- function te(e) {
108
- ne = e;
107
+ let ie;
108
+ function re(e) {
109
+ ie = e;
109
110
  }
110
- function yr() {
111
- if (!ne) throw new Error("Function called outside component initialization");
112
- return ne;
111
+ function wr() {
112
+ if (!ie)
113
+ throw new Error("Function called outside component initialization");
114
+ return ie;
113
115
  }
114
- function vr(e) {
115
- yr().$$.on_mount.push(e);
116
+ function Sr(e) {
117
+ wr().$$.on_mount.push(e);
116
118
  }
117
- const k = [], Ce = [];
119
+ const k = [], Me = [];
118
120
  let V = [];
119
- const nt = [], _r = /* @__PURE__ */ Promise.resolve();
120
- let Me = !1;
121
- function Er() {
122
- Me || (Me = !0, _r.then(H));
121
+ const st = [], Tr = /* @__PURE__ */ Promise.resolve();
122
+ let Le = !1;
123
+ function Hr() {
124
+ Le || (Le = !0, Tr.then(H));
123
125
  }
124
126
  function Ne(e) {
125
127
  V.push(e);
@@ -129,67 +131,68 @@ let F = 0;
129
131
  function H() {
130
132
  if (F !== 0)
131
133
  return;
132
- const e = ne;
134
+ const e = ie;
133
135
  do {
134
136
  try {
135
137
  for (; F < k.length; ) {
136
138
  const t = k[F];
137
- F++, te(t), xr(t.$$);
139
+ F++, re(t), Br(t.$$);
138
140
  }
139
141
  } catch (t) {
140
142
  throw k.length = 0, F = 0, t;
141
143
  }
142
- for (te(null), k.length = 0, F = 0; Ce.length; ) Ce.pop()();
144
+ for (re(null), k.length = 0, F = 0; Me.length; )
145
+ Me.pop()();
143
146
  for (let t = 0; t < V.length; t += 1) {
144
147
  const r = V[t];
145
148
  Se.has(r) || (Se.add(r), r());
146
149
  }
147
150
  V.length = 0;
148
151
  } while (k.length);
149
- for (; nt.length; )
150
- nt.pop()();
151
- Me = !1, Se.clear(), te(e);
152
+ for (; st.length; )
153
+ st.pop()();
154
+ Le = !1, Se.clear(), re(e);
152
155
  }
153
- function xr(e) {
156
+ function Br(e) {
154
157
  if (e.fragment !== null) {
155
- e.update(), se(e.before_update);
158
+ e.update(), ae(e.before_update);
156
159
  const t = e.dirty;
157
160
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
158
161
  }
159
162
  }
160
- function wr(e) {
163
+ function Ar(e) {
161
164
  const t = [], r = [];
162
165
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
163
166
  }
164
- const Sr = /* @__PURE__ */ new Set();
165
- function Tr(e, t) {
166
- e && e.i && (Sr.delete(e), e.i(t));
167
+ const Pr = /* @__PURE__ */ new Set();
168
+ function Or(e, t) {
169
+ e && e.i && (Pr.delete(e), e.i(t));
167
170
  }
168
- function Hr(e, t, r) {
171
+ function Ir(e, t, r) {
169
172
  const { fragment: n, after_update: i } = e.$$;
170
173
  n && n.m(t, r), Ne(() => {
171
- const o = e.$$.on_mount.map(Ht).filter(Ze);
172
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
174
+ const o = e.$$.on_mount.map(Pt).filter(Qe);
175
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
173
176
  }), i.forEach(Ne);
174
177
  }
175
- function Br(e, t) {
178
+ function Cr(e, t) {
176
179
  const r = e.$$;
177
- r.fragment !== null && (wr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
180
+ r.fragment !== null && (Ar(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
178
181
  }
179
- function Ar(e, t) {
180
- e.$$.dirty[0] === -1 && (k.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
182
+ function Mr(e, t) {
183
+ e.$$.dirty[0] === -1 && (k.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
181
184
  }
182
- function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
183
- const h = ne;
184
- te(e);
185
+ function Lr(e, t, r, n, i, o, a = null, s = [-1]) {
186
+ const h = ie;
187
+ re(e);
185
188
  const u = e.$$ = {
186
189
  fragment: null,
187
190
  ctx: [],
188
191
  // state
189
192
  props: o,
190
- update: A,
193
+ update: B,
191
194
  not_equal: i,
192
- bound: et(),
195
+ bound: nt(),
193
196
  // lifecycle
194
197
  on_mount: [],
195
198
  on_destroy: [],
@@ -198,28 +201,28 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
198
201
  after_update: [],
199
202
  context: new Map(t.context || (h ? h.$$.context : [])),
200
203
  // everything else
201
- callbacks: et(),
202
- dirty: a,
204
+ callbacks: nt(),
205
+ dirty: s,
203
206
  skip_bound: !1,
204
207
  root: t.target || h.$$.root
205
208
  };
206
- s && s(u.root);
209
+ a && a(u.root);
207
210
  let l = !1;
208
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
209
- const v = m.length ? m[0] : f;
210
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Ar(e, c)), f;
211
- }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
211
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
212
+ const v = d.length ? d[0] : f;
213
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Mr(e, c)), f;
214
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
212
215
  if (t.hydrate) {
213
- const c = br(t.target);
216
+ const c = Er(t.target);
214
217
  u.fragment && u.fragment.l(c), c.forEach(Y);
215
218
  } else
216
219
  u.fragment && u.fragment.c();
217
- t.intro && Tr(e.$$.fragment), Hr(e, t.target, t.anchor), H();
220
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), H();
218
221
  }
219
- te(h);
222
+ re(h);
220
223
  }
221
- let Pt;
222
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
224
+ let Ct;
225
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
223
226
  /** The Svelte component constructor */
224
227
  $$ctor;
225
228
  /** Slots */
@@ -268,7 +271,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
268
271
  * @param {HTMLElement} [anchor]
269
272
  */
270
273
  m: function(h, u) {
271
- ae(h, o, u);
274
+ ue(h, o, u);
272
275
  },
273
276
  d: function(h) {
274
277
  h && Y(o);
@@ -278,7 +281,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
278
281
  };
279
282
  if (await Promise.resolve(), !this.$$cn || this.$$c)
280
283
  return;
281
- const t = {}, r = gr(this);
284
+ const t = {}, r = xr(this);
282
285
  for (const i of this.$$s)
283
286
  i in r && (t[i] = [e(i)]);
284
287
  for (const i of this.attributes) {
@@ -314,8 +317,8 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
314
317
  this.$$c.$$.after_update.push(n), n();
315
318
  for (const i in this.$$l)
316
319
  for (const o of this.$$l[i]) {
317
- const s = this.$$c.$on(i, o);
318
- this.$$l_u.set(o, s);
320
+ const a = this.$$c.$on(i, o);
321
+ this.$$l_u.set(o, a);
319
322
  }
320
323
  this.$$l = {};
321
324
  }
@@ -365,36 +368,36 @@ function pe(e, t, r, n) {
365
368
  return t;
366
369
  }
367
370
  }
368
- function Or(e, t, r, n, i, o) {
369
- let s = class extends Pt {
371
+ function Nr(e, t, r, n, i, o) {
372
+ let a = class extends Ct {
370
373
  constructor() {
371
374
  super(e, r, i), this.$$p_d = t;
372
375
  }
373
376
  static get observedAttributes() {
374
377
  return Object.keys(t).map(
375
- (a) => (t[a].attribute || a).toLowerCase()
378
+ (s) => (t[s].attribute || s).toLowerCase()
376
379
  );
377
380
  }
378
381
  };
379
- return Object.keys(t).forEach((a) => {
380
- Object.defineProperty(s.prototype, a, {
382
+ return Object.keys(t).forEach((s) => {
383
+ Object.defineProperty(a.prototype, s, {
381
384
  get() {
382
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
385
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
383
386
  },
384
387
  set(h) {
385
- h = pe(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
388
+ h = pe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
386
389
  }
387
390
  });
388
- }), n.forEach((a) => {
389
- Object.defineProperty(s.prototype, a, {
391
+ }), n.forEach((s) => {
392
+ Object.defineProperty(a.prototype, s, {
390
393
  get() {
391
- return this.$$c?.[a];
394
+ return this.$$c?.[s];
392
395
  }
393
396
  });
394
397
  }), e.element = /** @type {any} */
395
- s, s;
398
+ a, a;
396
399
  }
397
- class Ir {
400
+ class Rr {
398
401
  /**
399
402
  * ### PRIVATE API
400
403
  *
@@ -413,7 +416,7 @@ class Ir {
413
416
  $$set = void 0;
414
417
  /** @returns {void} */
415
418
  $destroy() {
416
- Br(this, 1), this.$destroy = A;
419
+ Cr(this, 1), this.$destroy = B;
417
420
  }
418
421
  /**
419
422
  * @template {Extract<keyof Events, string>} K
@@ -422,8 +425,8 @@ class Ir {
422
425
  * @returns {() => void}
423
426
  */
424
427
  $on(t, r) {
425
- if (!Ze(r))
426
- return A;
428
+ if (!Qe(r))
429
+ return B;
427
430
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
428
431
  return n.push(r), () => {
429
432
  const i = n.indexOf(r);
@@ -435,22 +438,37 @@ class Ir {
435
438
  * @returns {void}
436
439
  */
437
440
  $set(t) {
438
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
441
+ this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
439
442
  }
440
443
  }
441
- const Cr = "4";
442
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
443
- var Le = function(e, t) {
444
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
444
+ const Dr = "4";
445
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
446
+ /*! *****************************************************************************
447
+ Copyright (c) Microsoft Corporation.
448
+
449
+ Permission to use, copy, modify, and/or distribute this software for any
450
+ purpose with or without fee is hereby granted.
451
+
452
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
453
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
454
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
455
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
456
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
457
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
458
+ PERFORMANCE OF THIS SOFTWARE.
459
+ ***************************************************************************** */
460
+ var Re = function(e, t) {
461
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
445
462
  r.__proto__ = n;
446
463
  } || function(r, n) {
447
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
448
- }, Le(e, t);
464
+ for (var i in n)
465
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
466
+ }, Re(e, t);
449
467
  };
450
468
  function C(e, t) {
451
469
  if (typeof t != "function" && t !== null)
452
470
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
453
- Le(e, t);
471
+ Re(e, t);
454
472
  function r() {
455
473
  this.constructor = e;
456
474
  }
@@ -460,61 +478,69 @@ var y = function() {
460
478
  return y = Object.assign || function(t) {
461
479
  for (var r, n = 1, i = arguments.length; n < i; n++) {
462
480
  r = arguments[n];
463
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
481
+ for (var o in r)
482
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
464
483
  }
465
484
  return t;
466
485
  }, y.apply(this, arguments);
467
486
  };
468
- function Mr(e, t) {
487
+ function $r(e, t) {
469
488
  var r = {};
470
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
489
+ for (var n in e)
490
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
471
491
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
472
492
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
473
493
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
474
494
  return r;
475
495
  }
476
- function Re(e) {
496
+ function De(e) {
477
497
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
478
- if (r) return r.call(e);
479
- if (e && typeof e.length == "number") return {
480
- next: function() {
481
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
482
- }
483
- };
498
+ if (r)
499
+ return r.call(e);
500
+ if (e && typeof e.length == "number")
501
+ return {
502
+ next: function() {
503
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
504
+ }
505
+ };
484
506
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
485
507
  }
486
- function De(e, t) {
508
+ function $e(e, t) {
487
509
  var r = typeof Symbol == "function" && e[Symbol.iterator];
488
- if (!r) return e;
489
- var n = r.call(e), i, o = [], s;
510
+ if (!r)
511
+ return e;
512
+ var n = r.call(e), i, o = [], a;
490
513
  try {
491
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
492
- } catch (a) {
493
- s = { error: a };
514
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
515
+ o.push(i.value);
516
+ } catch (s) {
517
+ a = { error: s };
494
518
  } finally {
495
519
  try {
496
520
  i && !i.done && (r = n.return) && r.call(n);
497
521
  } finally {
498
- if (s) throw s.error;
522
+ if (a)
523
+ throw a.error;
499
524
  }
500
525
  }
501
526
  return o;
502
527
  }
503
528
  function X(e, t, r) {
504
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
505
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
506
- return e.concat(o || Array.prototype.slice.call(t));
529
+ if (r || arguments.length === 2)
530
+ for (var n = 0, i = t.length, o; n < i; n++)
531
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
532
+ return e.concat(o || t);
507
533
  }
508
534
  function O(e) {
509
535
  return typeof e == "function";
510
536
  }
511
- function Ot(e) {
537
+ function Mt(e) {
512
538
  var t = function(n) {
513
539
  Error.call(n), n.stack = new Error().stack;
514
540
  }, r = e(t);
515
541
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
516
542
  }
517
- var Te = Ot(function(e) {
543
+ var Te = Mt(function(e) {
518
544
  return function(r) {
519
545
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
520
546
  ` + r.map(function(n, i) {
@@ -523,7 +549,7 @@ var Te = Ot(function(e) {
523
549
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
524
550
  };
525
551
  });
526
- function $e(e, t) {
552
+ function Ue(e, t) {
527
553
  if (e) {
528
554
  var r = e.indexOf(t);
529
555
  0 <= r && e.splice(r, 1);
@@ -537,51 +563,53 @@ var ve = function() {
537
563
  var t, r, n, i, o;
538
564
  if (!this.closed) {
539
565
  this.closed = !0;
540
- var s = this._parentage;
541
- if (s)
542
- if (this._parentage = null, Array.isArray(s))
566
+ var a = this._parentage;
567
+ if (a)
568
+ if (this._parentage = null, Array.isArray(a))
543
569
  try {
544
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
570
+ for (var s = De(a), h = s.next(); !h.done; h = s.next()) {
545
571
  var u = h.value;
546
572
  u.remove(this);
547
573
  }
548
- } catch (d) {
549
- t = { error: d };
574
+ } catch (m) {
575
+ t = { error: m };
550
576
  } finally {
551
577
  try {
552
- h && !h.done && (r = a.return) && r.call(a);
578
+ h && !h.done && (r = s.return) && r.call(s);
553
579
  } finally {
554
- if (t) throw t.error;
580
+ if (t)
581
+ throw t.error;
555
582
  }
556
583
  }
557
584
  else
558
- s.remove(this);
585
+ a.remove(this);
559
586
  var l = this.initialTeardown;
560
587
  if (O(l))
561
588
  try {
562
589
  l();
563
- } catch (d) {
564
- o = d instanceof Te ? d.errors : [d];
590
+ } catch (m) {
591
+ o = m instanceof Te ? m.errors : [m];
565
592
  }
566
593
  var c = this._finalizers;
567
594
  if (c) {
568
595
  this._finalizers = null;
569
596
  try {
570
- for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
571
- var v = m.value;
597
+ for (var f = De(c), d = f.next(); !d.done; d = f.next()) {
598
+ var v = d.value;
572
599
  try {
573
- it(v);
574
- } catch (d) {
575
- o = o ?? [], d instanceof Te ? o = X(X([], De(o)), De(d.errors)) : o.push(d);
600
+ at(v);
601
+ } catch (m) {
602
+ o = o ?? [], m instanceof Te ? o = X(X([], $e(o)), $e(m.errors)) : o.push(m);
576
603
  }
577
604
  }
578
- } catch (d) {
579
- n = { error: d };
605
+ } catch (m) {
606
+ n = { error: m };
580
607
  } finally {
581
608
  try {
582
- m && !m.done && (i = f.return) && i.call(f);
609
+ d && !d.done && (i = f.return) && i.call(f);
583
610
  } finally {
584
- if (n) throw n.error;
611
+ if (n)
612
+ throw n.error;
585
613
  }
586
614
  }
587
615
  }
@@ -592,7 +620,7 @@ var ve = function() {
592
620
  var r;
593
621
  if (t && t !== this)
594
622
  if (this.closed)
595
- it(t);
623
+ at(t);
596
624
  else {
597
625
  if (t instanceof e) {
598
626
  if (t.closed || t._hasParent(this))
@@ -609,52 +637,56 @@ var ve = function() {
609
637
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
610
638
  }, e.prototype._removeParent = function(t) {
611
639
  var r = this._parentage;
612
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
640
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
613
641
  }, e.prototype.remove = function(t) {
614
642
  var r = this._finalizers;
615
- r && $e(r, t), t instanceof e && t._removeParent(this);
643
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
616
644
  }, e.EMPTY = function() {
617
645
  var t = new e();
618
646
  return t.closed = !0, t;
619
647
  }(), e;
620
- }(), It = ve.EMPTY;
621
- function Ct(e) {
648
+ }(), Lt = ve.EMPTY;
649
+ function Nt(e) {
622
650
  return e instanceof ve || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
623
651
  }
624
- function it(e) {
652
+ function at(e) {
625
653
  O(e) ? e() : e.unsubscribe();
626
654
  }
627
- var Nr = {
628
- Promise: void 0
629
- }, Lr = {
655
+ var Rt = {
656
+ onUnhandledError: null,
657
+ onStoppedNotification: null,
658
+ Promise: void 0,
659
+ useDeprecatedSynchronousErrorHandling: !1,
660
+ useDeprecatedNextContext: !1
661
+ }, Ur = {
630
662
  setTimeout: function(e, t) {
631
663
  for (var r = [], n = 2; n < arguments.length; n++)
632
664
  r[n - 2] = arguments[n];
633
- return setTimeout.apply(void 0, X([e, t], De(r)));
665
+ return setTimeout.apply(void 0, X([e, t], $e(r)));
634
666
  },
635
667
  clearTimeout: function(e) {
636
668
  return clearTimeout(e);
637
669
  },
638
670
  delegate: void 0
639
671
  };
640
- function Rr(e) {
641
- Lr.setTimeout(function() {
672
+ function Gr(e) {
673
+ Ur.setTimeout(function() {
642
674
  throw e;
643
675
  });
644
676
  }
645
- function ot() {
677
+ function ut() {
646
678
  }
647
- function me(e) {
679
+ function de(e) {
648
680
  e();
649
681
  }
650
- var Mt = function(e) {
682
+ var Dt = function(e) {
651
683
  C(t, e);
652
684
  function t(r) {
653
685
  var n = e.call(this) || this;
654
- return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = Ur, n;
686
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Vr, n;
655
687
  }
656
688
  return t.create = function(r, n, i) {
657
- return new Ue(r, n, i);
689
+ return new Ge(r, n, i);
658
690
  }, t.prototype.next = function(r) {
659
691
  this.isStopped || this._next(r);
660
692
  }, t.prototype.error = function(r) {
@@ -678,7 +710,11 @@ var Mt = function(e) {
678
710
  this.unsubscribe();
679
711
  }
680
712
  }, t;
681
- }(ve), Dr = function() {
713
+ }(ve), Fr = Function.prototype.bind;
714
+ function He(e, t) {
715
+ return Fr.call(e, t);
716
+ }
717
+ var jr = function() {
682
718
  function e(t) {
683
719
  this.partialObserver = t;
684
720
  }
@@ -709,43 +745,55 @@ var Mt = function(e) {
709
745
  ce(r);
710
746
  }
711
747
  }, e;
712
- }(), Ue = function(e) {
748
+ }(), Ge = function(e) {
713
749
  C(t, e);
714
750
  function t(r, n, i) {
715
- var o = e.call(this) || this, s;
716
- return O(r) || !r ? s = {
717
- next: r ?? void 0,
718
- error: n ?? void 0,
719
- complete: i ?? void 0
720
- } : s = r, o.destination = new Dr(s), o;
751
+ var o = e.call(this) || this, a;
752
+ if (O(r) || !r)
753
+ a = {
754
+ next: r ?? void 0,
755
+ error: n ?? void 0,
756
+ complete: i ?? void 0
757
+ };
758
+ else {
759
+ var s;
760
+ o && Rt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
761
+ return o.unsubscribe();
762
+ }, a = {
763
+ next: r.next && He(r.next, s),
764
+ error: r.error && He(r.error, s),
765
+ complete: r.complete && He(r.complete, s)
766
+ }) : a = r;
767
+ }
768
+ return o.destination = new jr(a), o;
721
769
  }
722
770
  return t;
723
- }(Mt);
771
+ }(Dt);
724
772
  function ce(e) {
725
- Rr(e);
773
+ Gr(e);
726
774
  }
727
- function $r(e) {
775
+ function kr(e) {
728
776
  throw e;
729
777
  }
730
- var Ur = {
778
+ var Vr = {
731
779
  closed: !0,
732
- next: ot,
733
- error: $r,
734
- complete: ot
735
- }, Gr = function() {
780
+ next: ut,
781
+ error: kr,
782
+ complete: ut
783
+ }, Xr = function() {
736
784
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
737
785
  }();
738
- function Fr(e) {
786
+ function Wr(e) {
739
787
  return e;
740
788
  }
741
- function jr(e) {
742
- return e.length === 0 ? Fr : e.length === 1 ? e[0] : function(r) {
789
+ function zr(e) {
790
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
743
791
  return e.reduce(function(n, i) {
744
792
  return i(n);
745
793
  }, r);
746
794
  };
747
795
  }
748
- var st = function() {
796
+ var ht = function() {
749
797
  function e(t) {
750
798
  t && (this._subscribe = t);
751
799
  }
@@ -753,10 +801,10 @@ var st = function() {
753
801
  var r = new e();
754
802
  return r.source = this, r.operator = t, r;
755
803
  }, e.prototype.subscribe = function(t, r, n) {
756
- var i = this, o = Vr(t) ? t : new Ue(t, r, n);
757
- return me(function() {
758
- var s = i, a = s.operator, h = s.source;
759
- o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
804
+ var i = this, o = Qr(t) ? t : new Ge(t, r, n);
805
+ return de(function() {
806
+ var a = i, s = a.operator, h = a.source;
807
+ o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
760
808
  }), o;
761
809
  }, e.prototype._trySubscribe = function(t) {
762
810
  try {
@@ -766,37 +814,37 @@ var st = function() {
766
814
  }
767
815
  }, e.prototype.forEach = function(t, r) {
768
816
  var n = this;
769
- return r = at(r), new r(function(i, o) {
770
- var s = new Ue({
771
- next: function(a) {
817
+ return r = lt(r), new r(function(i, o) {
818
+ var a = new Ge({
819
+ next: function(s) {
772
820
  try {
773
- t(a);
821
+ t(s);
774
822
  } catch (h) {
775
- o(h), s.unsubscribe();
823
+ o(h), a.unsubscribe();
776
824
  }
777
825
  },
778
826
  error: o,
779
827
  complete: i
780
828
  });
781
- n.subscribe(s);
829
+ n.subscribe(a);
782
830
  });
783
831
  }, e.prototype._subscribe = function(t) {
784
832
  var r;
785
833
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
786
- }, e.prototype[Gr] = function() {
834
+ }, e.prototype[Xr] = function() {
787
835
  return this;
788
836
  }, e.prototype.pipe = function() {
789
837
  for (var t = [], r = 0; r < arguments.length; r++)
790
838
  t[r] = arguments[r];
791
- return jr(t)(this);
839
+ return zr(t)(this);
792
840
  }, e.prototype.toPromise = function(t) {
793
841
  var r = this;
794
- return t = at(t), new t(function(n, i) {
842
+ return t = lt(t), new t(function(n, i) {
795
843
  var o;
796
- r.subscribe(function(s) {
797
- return o = s;
798
- }, function(s) {
799
- return i(s);
844
+ r.subscribe(function(a) {
845
+ return o = a;
846
+ }, function(a) {
847
+ return i(a);
800
848
  }, function() {
801
849
  return n(o);
802
850
  });
@@ -805,57 +853,58 @@ var st = function() {
805
853
  return new e(t);
806
854
  }, e;
807
855
  }();
808
- function at(e) {
856
+ function lt(e) {
809
857
  var t;
810
- return (t = e ?? Nr.Promise) !== null && t !== void 0 ? t : Promise;
858
+ return (t = e ?? Rt.Promise) !== null && t !== void 0 ? t : Promise;
811
859
  }
812
- function kr(e) {
860
+ function Zr(e) {
813
861
  return e && O(e.next) && O(e.error) && O(e.complete);
814
862
  }
815
- function Vr(e) {
816
- return e && e instanceof Mt || kr(e) && Ct(e);
863
+ function Qr(e) {
864
+ return e && e instanceof Dt || Zr(e) && Nt(e);
817
865
  }
818
- var Xr = Ot(function(e) {
866
+ var Yr = Mt(function(e) {
819
867
  return function() {
820
868
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
821
869
  };
822
- }), Nt = function(e) {
870
+ }), $t = function(e) {
823
871
  C(t, e);
824
872
  function t() {
825
873
  var r = e.call(this) || this;
826
874
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
827
875
  }
828
876
  return t.prototype.lift = function(r) {
829
- var n = new ut(this, this);
877
+ var n = new ct(this, this);
830
878
  return n.operator = r, n;
831
879
  }, t.prototype._throwIfClosed = function() {
832
880
  if (this.closed)
833
- throw new Xr();
881
+ throw new Yr();
834
882
  }, t.prototype.next = function(r) {
835
883
  var n = this;
836
- me(function() {
884
+ de(function() {
837
885
  var i, o;
838
886
  if (n._throwIfClosed(), !n.isStopped) {
839
887
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
840
888
  try {
841
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
842
- var h = a.value;
889
+ for (var a = De(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
890
+ var h = s.value;
843
891
  h.next(r);
844
892
  }
845
893
  } catch (u) {
846
894
  i = { error: u };
847
895
  } finally {
848
896
  try {
849
- a && !a.done && (o = s.return) && o.call(s);
897
+ s && !s.done && (o = a.return) && o.call(a);
850
898
  } finally {
851
- if (i) throw i.error;
899
+ if (i)
900
+ throw i.error;
852
901
  }
853
902
  }
854
903
  }
855
904
  });
856
905
  }, t.prototype.error = function(r) {
857
906
  var n = this;
858
- me(function() {
907
+ de(function() {
859
908
  if (n._throwIfClosed(), !n.isStopped) {
860
909
  n.hasError = n.isStopped = !0, n.thrownError = r;
861
910
  for (var i = n.observers; i.length; )
@@ -864,7 +913,7 @@ var Xr = Ot(function(e) {
864
913
  });
865
914
  }, t.prototype.complete = function() {
866
915
  var r = this;
867
- me(function() {
916
+ de(function() {
868
917
  if (r._throwIfClosed(), !r.isStopped) {
869
918
  r.isStopped = !0;
870
919
  for (var n = r.observers; n.length; )
@@ -885,20 +934,20 @@ var Xr = Ot(function(e) {
885
934
  }, t.prototype._subscribe = function(r) {
886
935
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
887
936
  }, t.prototype._innerSubscribe = function(r) {
888
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
889
- return o || s ? It : (this.currentObservers = null, a.push(r), new ve(function() {
890
- n.currentObservers = null, $e(a, r);
937
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
938
+ return o || a ? Lt : (this.currentObservers = null, s.push(r), new ve(function() {
939
+ n.currentObservers = null, Ue(s, r);
891
940
  }));
892
941
  }, t.prototype._checkFinalizedStatuses = function(r) {
893
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
894
- i ? r.error(o) : s && r.complete();
942
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
943
+ i ? r.error(o) : a && r.complete();
895
944
  }, t.prototype.asObservable = function() {
896
- var r = new st();
945
+ var r = new ht();
897
946
  return r.source = this, r;
898
947
  }, t.create = function(r, n) {
899
- return new ut(r, n);
948
+ return new ct(r, n);
900
949
  }, t;
901
- }(st), ut = function(e) {
950
+ }(ht), ct = function(e) {
902
951
  C(t, e);
903
952
  function t(r, n) {
904
953
  var i = e.call(this) || this;
@@ -915,54 +964,54 @@ var Xr = Ot(function(e) {
915
964
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
916
965
  }, t.prototype._subscribe = function(r) {
917
966
  var n, i;
918
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
967
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
919
968
  }, t;
920
- }(Nt), Lt = {
969
+ }($t), Ut = {
921
970
  now: function() {
922
- return (Lt.delegate || Date).now();
971
+ return (Ut.delegate || Date).now();
923
972
  },
924
973
  delegate: void 0
925
- }, Wr = function(e) {
974
+ }, qr = function(e) {
926
975
  C(t, e);
927
976
  function t(r, n, i) {
928
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
977
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
929
978
  var o = e.call(this) || this;
930
979
  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;
931
980
  }
932
981
  return t.prototype.next = function(r) {
933
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
934
- i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
982
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
983
+ i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
935
984
  }, t.prototype._subscribe = function(r) {
936
985
  this._throwIfClosed(), this._trimBuffer();
937
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
938
- r.next(a[h]);
986
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
987
+ r.next(s[h]);
939
988
  return this._checkFinalizedStatuses(r), n;
940
989
  }, t.prototype._trimBuffer = function() {
941
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
942
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
990
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
991
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
943
992
  for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
944
993
  u = l;
945
994
  u && o.splice(0, u + 1);
946
995
  }
947
996
  }, t;
948
- }(Nt);
949
- const ht = [], lt = {}, zr = (e, t = 0) => {
950
- if (ht.indexOf(e) == -1) {
951
- const r = new Wr(t);
952
- lt[e] = r, ht.push(e);
997
+ }($t);
998
+ const ft = [], pt = {}, Jr = (e, t = 0) => {
999
+ if (ft.indexOf(e) == -1) {
1000
+ const r = new qr(t);
1001
+ pt[e] = r, ft.push(e);
953
1002
  }
954
- return lt[e];
1003
+ return pt[e];
955
1004
  }, j = [];
956
- function Zr(e, t) {
1005
+ function Kr(e, t) {
957
1006
  return {
958
1007
  subscribe: _e(e, t).subscribe
959
1008
  };
960
1009
  }
961
- function _e(e, t = A) {
1010
+ function _e(e, t = B) {
962
1011
  let r;
963
1012
  const n = /* @__PURE__ */ new Set();
964
- function i(a) {
965
- if (Bt(e, a) && (e = a, r)) {
1013
+ function i(s) {
1014
+ if (Ot(e, s) && (e = s, r)) {
966
1015
  const h = !j.length;
967
1016
  for (const u of n)
968
1017
  u[1](), j.push(u, e);
@@ -973,112 +1022,112 @@ function _e(e, t = A) {
973
1022
  }
974
1023
  }
975
1024
  }
976
- function o(a) {
977
- i(a(e));
1025
+ function o(s) {
1026
+ i(s(e));
978
1027
  }
979
- function s(a, h = A) {
980
- const u = [a, h];
981
- return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1028
+ function a(s, h = B) {
1029
+ const u = [s, h];
1030
+ return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
982
1031
  n.delete(u), n.size === 0 && r && (r(), r = null);
983
1032
  };
984
1033
  }
985
- return { set: i, update: o, subscribe: s };
1034
+ return { set: i, update: o, subscribe: a };
986
1035
  }
987
1036
  function q(e, t, r) {
988
1037
  const n = !Array.isArray(e), i = n ? [e] : e;
989
1038
  if (!i.every(Boolean))
990
1039
  throw new Error("derived() expects stores as input, got a falsy value");
991
1040
  const o = t.length < 2;
992
- return Zr(r, (s, a) => {
1041
+ return Kr(r, (a, s) => {
993
1042
  let h = !1;
994
1043
  const u = [];
995
- let l = 0, c = A;
1044
+ let l = 0, c = B;
996
1045
  const f = () => {
997
1046
  if (l)
998
1047
  return;
999
1048
  c();
1000
- const v = t(n ? u[0] : u, s, a);
1001
- o ? s(v) : c = Ze(v) ? v : A;
1002
- }, m = i.map(
1003
- (v, d) => At(
1049
+ const v = t(n ? u[0] : u, a, s);
1050
+ o ? a(v) : c = Qe(v) ? v : B;
1051
+ }, d = i.map(
1052
+ (v, m) => It(
1004
1053
  v,
1005
1054
  (E) => {
1006
- u[d] = E, l &= ~(1 << d), h && f();
1055
+ u[m] = E, l &= ~(1 << m), h && f();
1007
1056
  },
1008
1057
  () => {
1009
- l |= 1 << d;
1058
+ l |= 1 << m;
1010
1059
  }
1011
1060
  )
1012
1061
  );
1013
1062
  return h = !0, f(), function() {
1014
- se(m), c(), h = !1;
1063
+ ae(d), c(), h = !1;
1015
1064
  };
1016
1065
  });
1017
1066
  }
1018
- function Qr(e) {
1067
+ function en(e) {
1019
1068
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1020
1069
  }
1021
- var Yr = function(t) {
1022
- return qr(t) && !Jr(t);
1070
+ var tn = function(t) {
1071
+ return rn(t) && !nn(t);
1023
1072
  };
1024
- function qr(e) {
1073
+ function rn(e) {
1025
1074
  return !!e && typeof e == "object";
1026
1075
  }
1027
- function Jr(e) {
1076
+ function nn(e) {
1028
1077
  var t = Object.prototype.toString.call(e);
1029
- return t === "[object RegExp]" || t === "[object Date]" || tn(e);
1078
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1030
1079
  }
1031
- var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
1032
- function tn(e) {
1033
- return e.$$typeof === en;
1080
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1081
+ function an(e) {
1082
+ return e.$$typeof === sn;
1034
1083
  }
1035
- function rn(e) {
1084
+ function un(e) {
1036
1085
  return Array.isArray(e) ? [] : {};
1037
1086
  }
1038
- function ie(e, t) {
1039
- return t.clone !== !1 && t.isMergeableObject(e) ? W(rn(e), e, t) : e;
1087
+ function oe(e, t) {
1088
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(un(e), e, t) : e;
1040
1089
  }
1041
- function nn(e, t, r) {
1090
+ function hn(e, t, r) {
1042
1091
  return e.concat(t).map(function(n) {
1043
- return ie(n, r);
1092
+ return oe(n, r);
1044
1093
  });
1045
1094
  }
1046
- function on(e, t) {
1095
+ function ln(e, t) {
1047
1096
  if (!t.customMerge)
1048
1097
  return W;
1049
1098
  var r = t.customMerge(e);
1050
1099
  return typeof r == "function" ? r : W;
1051
1100
  }
1052
- function sn(e) {
1101
+ function cn(e) {
1053
1102
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1054
1103
  return Object.propertyIsEnumerable.call(e, t);
1055
1104
  }) : [];
1056
1105
  }
1057
- function ct(e) {
1058
- return Object.keys(e).concat(sn(e));
1106
+ function dt(e) {
1107
+ return Object.keys(e).concat(cn(e));
1059
1108
  }
1060
- function Rt(e, t) {
1109
+ function Gt(e, t) {
1061
1110
  try {
1062
1111
  return t in e;
1063
1112
  } catch {
1064
1113
  return !1;
1065
1114
  }
1066
1115
  }
1067
- function an(e, t) {
1068
- return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1116
+ function fn(e, t) {
1117
+ return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1069
1118
  }
1070
- function un(e, t, r) {
1119
+ function pn(e, t, r) {
1071
1120
  var n = {};
1072
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1073
- n[i] = ie(e[i], r);
1074
- }), ct(t).forEach(function(i) {
1075
- an(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1121
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1122
+ n[i] = oe(e[i], r);
1123
+ }), dt(t).forEach(function(i) {
1124
+ fn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1076
1125
  }), n;
1077
1126
  }
1078
1127
  function W(e, t, r) {
1079
- r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = ie;
1128
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = oe;
1080
1129
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1081
- return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : ie(t, r);
1130
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : oe(t, r);
1082
1131
  }
1083
1132
  W.all = function(t, r) {
1084
1133
  if (!Array.isArray(t))
@@ -1087,56 +1136,58 @@ W.all = function(t, r) {
1087
1136
  return W(n, i, r);
1088
1137
  }, {});
1089
1138
  };
1090
- var hn = W, ln = hn;
1091
- const cn = /* @__PURE__ */ Qr(ln);
1092
- function He(e, t) {
1093
- var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : mn;
1139
+ var dn = W, mn = dn;
1140
+ const bn = /* @__PURE__ */ en(mn);
1141
+ function Be(e, t) {
1142
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
1094
1143
  return i(e, {
1095
1144
  cache: r,
1096
1145
  serializer: n
1097
1146
  });
1098
1147
  }
1099
- function fn(e) {
1148
+ function gn(e) {
1100
1149
  return e == null || typeof e == "number" || typeof e == "boolean";
1101
1150
  }
1102
- function pn(e, t, r, n) {
1103
- var i = fn(n) ? n : r(n), o = t.get(i);
1151
+ function Ft(e, t, r, n) {
1152
+ var i = gn(n) ? n : r(n), o = t.get(i);
1104
1153
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1105
1154
  }
1106
- function Dt(e, t, r) {
1155
+ function jt(e, t, r) {
1107
1156
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1108
1157
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1109
1158
  }
1110
- function $t(e, t, r, n, i) {
1159
+ function qe(e, t, r, n, i) {
1111
1160
  return r.bind(t, e, n, i);
1112
1161
  }
1113
- function mn(e, t) {
1114
- var r = e.length === 1 ? pn : Dt;
1115
- return $t(e, this, r, t.cache.create(), t.serializer);
1162
+ function yn(e, t) {
1163
+ var r = e.length === 1 ? Ft : jt;
1164
+ return qe(e, this, r, t.cache.create(), t.serializer);
1116
1165
  }
1117
- function dn(e, t) {
1118
- return $t(e, this, Dt, t.cache.create(), t.serializer);
1166
+ function vn(e, t) {
1167
+ return qe(e, this, jt, t.cache.create(), t.serializer);
1119
1168
  }
1120
- var bn = function() {
1169
+ function _n(e, t) {
1170
+ return qe(e, this, Ft, t.cache.create(), t.serializer);
1171
+ }
1172
+ var En = function() {
1121
1173
  return JSON.stringify(arguments);
1122
- }, gn = (
1123
- /** @class */
1124
- function() {
1125
- function e() {
1126
- this.cache = /* @__PURE__ */ Object.create(null);
1127
- }
1128
- return e.prototype.get = function(t) {
1129
- return this.cache[t];
1130
- }, e.prototype.set = function(t, r) {
1131
- this.cache[t] = r;
1132
- }, e;
1133
- }()
1134
- ), yn = {
1174
+ };
1175
+ function Je() {
1176
+ this.cache = /* @__PURE__ */ Object.create(null);
1177
+ }
1178
+ Je.prototype.get = function(e) {
1179
+ return this.cache[e];
1180
+ };
1181
+ Je.prototype.set = function(e, t) {
1182
+ this.cache[e] = t;
1183
+ };
1184
+ var xn = {
1135
1185
  create: function() {
1136
- return new gn();
1186
+ return new Je();
1137
1187
  }
1138
- }, Be = {
1139
- variadic: dn
1188
+ }, Ae = {
1189
+ variadic: vn,
1190
+ monadic: _n
1140
1191
  }, b;
1141
1192
  (function(e) {
1142
1193
  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";
@@ -1149,43 +1200,43 @@ var z;
1149
1200
  (function(e) {
1150
1201
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1151
1202
  })(z || (z = {}));
1152
- function ft(e) {
1203
+ function mt(e) {
1153
1204
  return e.type === _.literal;
1154
1205
  }
1155
- function vn(e) {
1206
+ function wn(e) {
1156
1207
  return e.type === _.argument;
1157
1208
  }
1158
- function Ut(e) {
1209
+ function kt(e) {
1159
1210
  return e.type === _.number;
1160
1211
  }
1161
- function Gt(e) {
1212
+ function Vt(e) {
1162
1213
  return e.type === _.date;
1163
1214
  }
1164
- function Ft(e) {
1215
+ function Xt(e) {
1165
1216
  return e.type === _.time;
1166
1217
  }
1167
- function jt(e) {
1218
+ function Wt(e) {
1168
1219
  return e.type === _.select;
1169
1220
  }
1170
- function kt(e) {
1221
+ function zt(e) {
1171
1222
  return e.type === _.plural;
1172
1223
  }
1173
- function _n(e) {
1224
+ function Sn(e) {
1174
1225
  return e.type === _.pound;
1175
1226
  }
1176
- function Vt(e) {
1227
+ function Zt(e) {
1177
1228
  return e.type === _.tag;
1178
1229
  }
1179
- function Xt(e) {
1230
+ function Qt(e) {
1180
1231
  return !!(e && typeof e == "object" && e.type === z.number);
1181
1232
  }
1182
- function Ge(e) {
1233
+ function Fe(e) {
1183
1234
  return !!(e && typeof e == "object" && e.type === z.dateTime);
1184
1235
  }
1185
- var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
1186
- function xn(e) {
1236
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1237
+ function Hn(e) {
1187
1238
  var t = {};
1188
- return e.replace(En, function(r) {
1239
+ return e.replace(Tn, function(r) {
1189
1240
  var n = r.length;
1190
1241
  switch (r[0]) {
1191
1242
  case "G":
@@ -1274,36 +1325,36 @@ function xn(e) {
1274
1325
  return "";
1275
1326
  }), t;
1276
1327
  }
1277
- var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1278
- function Sn(e) {
1328
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1329
+ function An(e) {
1279
1330
  if (e.length === 0)
1280
1331
  throw new Error("Number skeleton cannot be empty");
1281
- for (var t = e.split(wn).filter(function(f) {
1332
+ for (var t = e.split(Bn).filter(function(f) {
1282
1333
  return f.length > 0;
1283
1334
  }), r = [], n = 0, i = t; n < i.length; n++) {
1284
- var o = i[n], s = o.split("/");
1285
- if (s.length === 0)
1335
+ var o = i[n], a = o.split("/");
1336
+ if (a.length === 0)
1286
1337
  throw new Error("Invalid number skeleton");
1287
- for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1338
+ for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1288
1339
  var c = l[u];
1289
1340
  if (c.length === 0)
1290
1341
  throw new Error("Invalid number skeleton");
1291
1342
  }
1292
- r.push({ stem: a, options: h });
1343
+ r.push({ stem: s, options: h });
1293
1344
  }
1294
1345
  return r;
1295
1346
  }
1296
- function Tn(e) {
1347
+ function Pn(e) {
1297
1348
  return e.replace(/^(.*?)-/, "");
1298
1349
  }
1299
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1300
- function mt(e) {
1350
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1351
+ function gt(e) {
1301
1352
  var t = {};
1302
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1353
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1303
1354
  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)), "";
1304
1355
  }), t;
1305
1356
  }
1306
- function Qt(e) {
1357
+ function Kt(e) {
1307
1358
  switch (e) {
1308
1359
  case "sign-auto":
1309
1360
  return {
@@ -1343,7 +1394,7 @@ function Qt(e) {
1343
1394
  };
1344
1395
  }
1345
1396
  }
1346
- function Bn(e) {
1397
+ function In(e) {
1347
1398
  var t;
1348
1399
  if (e[0] === "E" && e[1] === "E" ? (t = {
1349
1400
  notation: "engineering"
@@ -1351,17 +1402,17 @@ function Bn(e) {
1351
1402
  notation: "scientific"
1352
1403
  }, e = e.slice(1)), t) {
1353
1404
  var r = e.slice(0, 2);
1354
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1405
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1355
1406
  throw new Error("Malformed concise eng/scientific notation");
1356
1407
  t.minimumIntegerDigits = e.length;
1357
1408
  }
1358
1409
  return t;
1359
1410
  }
1360
- function dt(e) {
1361
- var t = {}, r = Qt(e);
1411
+ function yt(e) {
1412
+ var t = {}, r = Kt(e);
1362
1413
  return r || t;
1363
1414
  }
1364
- function An(e) {
1415
+ function Cn(e) {
1365
1416
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1366
1417
  var i = n[r];
1367
1418
  switch (i.stem) {
@@ -1385,7 +1436,7 @@ function An(e) {
1385
1436
  continue;
1386
1437
  case "measure-unit":
1387
1438
  case "unit":
1388
- t.style = "unit", t.unit = Tn(i.options[0]);
1439
+ t.style = "unit", t.unit = Pn(i.options[0]);
1389
1440
  continue;
1390
1441
  case "compact-short":
1391
1442
  case "K":
@@ -1397,12 +1448,12 @@ function An(e) {
1397
1448
  continue;
1398
1449
  case "scientific":
1399
1450
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1400
- return y(y({}, h), dt(u));
1451
+ return y(y({}, h), yt(u));
1401
1452
  }, {}));
1402
1453
  continue;
1403
1454
  case "engineering":
1404
1455
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1405
- return y(y({}, h), dt(u));
1456
+ return y(y({}, h), yt(u));
1406
1457
  }, {}));
1407
1458
  continue;
1408
1459
  case "notation-simple":
@@ -1447,41 +1498,41 @@ function An(e) {
1447
1498
  case "integer-width":
1448
1499
  if (i.options.length > 1)
1449
1500
  throw new RangeError("integer-width stems only accept a single optional option");
1450
- i.options[0].replace(Hn, function(h, u, l, c, f, m) {
1501
+ i.options[0].replace(On, function(h, u, l, c, f, d) {
1451
1502
  if (u)
1452
1503
  t.minimumIntegerDigits = l.length;
1453
1504
  else {
1454
1505
  if (c && f)
1455
1506
  throw new Error("We currently do not support maximum integer digits");
1456
- if (m)
1507
+ if (d)
1457
1508
  throw new Error("We currently do not support exact integer digits");
1458
1509
  }
1459
1510
  return "";
1460
1511
  });
1461
1512
  continue;
1462
1513
  }
1463
- if (Zt.test(i.stem)) {
1514
+ if (Jt.test(i.stem)) {
1464
1515
  t.minimumIntegerDigits = i.stem.length;
1465
1516
  continue;
1466
1517
  }
1467
- if (pt.test(i.stem)) {
1518
+ if (bt.test(i.stem)) {
1468
1519
  if (i.options.length > 1)
1469
1520
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1470
- i.stem.replace(pt, function(h, u, l, c, f, m) {
1471
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1521
+ i.stem.replace(bt, function(h, u, l, c, f, d) {
1522
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1472
1523
  });
1473
1524
  var o = i.options[0];
1474
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), mt(o)));
1525
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
1475
1526
  continue;
1476
1527
  }
1477
- if (zt.test(i.stem)) {
1478
- t = y(y({}, t), mt(i.stem));
1528
+ if (qt.test(i.stem)) {
1529
+ t = y(y({}, t), gt(i.stem));
1479
1530
  continue;
1480
1531
  }
1481
- var s = Qt(i.stem);
1482
- s && (t = y(y({}, t), s));
1483
- var a = Bn(i.stem);
1532
+ var a = Kt(i.stem);
1484
1533
  a && (t = y(y({}, t), a));
1534
+ var s = In(i.stem);
1535
+ s && (t = y(y({}, t), s));
1485
1536
  }
1486
1537
  return t;
1487
1538
  }
@@ -2900,22 +2951,23 @@ var fe = {
2900
2951
  "h"
2901
2952
  ]
2902
2953
  };
2903
- function Pn(e, t) {
2954
+ function Mn(e, t) {
2904
2955
  for (var r = "", n = 0; n < e.length; n++) {
2905
2956
  var i = e.charAt(n);
2906
2957
  if (i === "j") {
2907
2958
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2908
2959
  o++, n++;
2909
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = On(t);
2910
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2960
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Ln(t);
2961
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2911
2962
  r += h;
2912
- for (; s-- > 0; )
2963
+ for (; a-- > 0; )
2913
2964
  r = u + r;
2914
- } else i === "J" ? r += "H" : r += i;
2965
+ } else
2966
+ i === "J" ? r += "H" : r += i;
2915
2967
  }
2916
2968
  return r;
2917
2969
  }
2918
- function On(e) {
2970
+ function Ln(e) {
2919
2971
  var t = e.hourCycle;
2920
2972
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2921
2973
  e.hourCycles && // @ts-ignore
@@ -2937,20 +2989,20 @@ function On(e) {
2937
2989
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2938
2990
  return i[0];
2939
2991
  }
2940
- var Ae, In = new RegExp("^".concat(Wt.source, "*")), Cn = new RegExp("".concat(Wt.source, "*$"));
2992
+ var Pe, Nn = new RegExp("^".concat(Yt.source, "*")), Rn = new RegExp("".concat(Yt.source, "*$"));
2941
2993
  function g(e, t) {
2942
2994
  return { start: e, end: t };
2943
2995
  }
2944
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Ln = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Gn = Un ? Number.isSafeInteger : function(e) {
2996
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
2945
2997
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2946
- }, Fe = !0;
2998
+ }, je = !0;
2947
2999
  try {
2948
- var Fn = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2949
- Fe = ((Ae = Fn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3000
+ var Xn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
+ je = ((Pe = Xn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2950
3002
  } catch {
2951
- Fe = !1;
3003
+ je = !1;
2952
3004
  }
2953
- var bt = Mn ? (
3005
+ var vt = Dn ? (
2954
3006
  // Native
2955
3007
  function(t, r, n) {
2956
3008
  return t.startsWith(r, n);
@@ -2960,31 +3012,31 @@ var bt = Mn ? (
2960
3012
  function(t, r, n) {
2961
3013
  return t.slice(n, n + r.length) === r;
2962
3014
  }
2963
- ), je = Nn ? String.fromCodePoint : (
3015
+ ), ke = $n ? String.fromCodePoint : (
2964
3016
  // IE11
2965
3017
  function() {
2966
3018
  for (var t = [], r = 0; r < arguments.length; r++)
2967
3019
  t[r] = arguments[r];
2968
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2969
- if (s = t[o++], s > 1114111)
2970
- throw RangeError(s + " is not a valid code point");
2971
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3020
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3021
+ if (a = t[o++], a > 1114111)
3022
+ throw RangeError(a + " is not a valid code point");
3023
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2972
3024
  }
2973
3025
  return n;
2974
3026
  }
2975
- ), gt = (
3027
+ ), _t = (
2976
3028
  // native
2977
- Ln ? Object.fromEntries : (
3029
+ Un ? Object.fromEntries : (
2978
3030
  // Ponyfill
2979
3031
  function(t) {
2980
3032
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2981
- var o = i[n], s = o[0], a = o[1];
2982
- r[s] = a;
3033
+ var o = i[n], a = o[0], s = o[1];
3034
+ r[a] = s;
2983
3035
  }
2984
3036
  return r;
2985
3037
  }
2986
3038
  )
2987
- ), Yt = Rn ? (
3039
+ ), er = Gn ? (
2988
3040
  // Native
2989
3041
  function(t, r) {
2990
3042
  return t.codePointAt(r);
@@ -2998,7 +3050,7 @@ var bt = Mn ? (
2998
3050
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2999
3051
  }
3000
3052
  }
3001
- ), jn = Dn ? (
3053
+ ), Wn = Fn ? (
3002
3054
  // Native
3003
3055
  function(t) {
3004
3056
  return t.trimStart();
@@ -3006,9 +3058,9 @@ var bt = Mn ? (
3006
3058
  ) : (
3007
3059
  // Ponyfill
3008
3060
  function(t) {
3009
- return t.replace(In, "");
3061
+ return t.replace(Nn, "");
3010
3062
  }
3011
- ), kn = $n ? (
3063
+ ), zn = jn ? (
3012
3064
  // Native
3013
3065
  function(t) {
3014
3066
  return t.trimEnd();
@@ -3016,32 +3068,32 @@ var bt = Mn ? (
3016
3068
  ) : (
3017
3069
  // Ponyfill
3018
3070
  function(t) {
3019
- return t.replace(Cn, "");
3071
+ return t.replace(Rn, "");
3020
3072
  }
3021
3073
  );
3022
- function qt(e, t) {
3074
+ function tr(e, t) {
3023
3075
  return new RegExp(e, t);
3024
3076
  }
3025
- var ke;
3026
- if (Fe) {
3027
- var yt = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3028
- ke = function(t, r) {
3077
+ var Ve;
3078
+ if (je) {
3079
+ var Et = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
+ Ve = function(t, r) {
3029
3081
  var n;
3030
- yt.lastIndex = r;
3031
- var i = yt.exec(t);
3082
+ Et.lastIndex = r;
3083
+ var i = Et.exec(t);
3032
3084
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3033
3085
  };
3034
3086
  } else
3035
- ke = function(t, r) {
3087
+ Ve = function(t, r) {
3036
3088
  for (var n = []; ; ) {
3037
- var i = Yt(t, r);
3038
- if (i === void 0 || Jt(i) || zn(i))
3089
+ var i = er(t, r);
3090
+ if (i === void 0 || rr(i) || qn(i))
3039
3091
  break;
3040
3092
  n.push(i), r += i >= 65536 ? 2 : 1;
3041
3093
  }
3042
- return je.apply(void 0, n);
3094
+ return ke.apply(void 0, n);
3043
3095
  };
3044
- var Vn = (
3096
+ var Zn = (
3045
3097
  /** @class */
3046
3098
  function() {
3047
3099
  function e(t, r) {
@@ -3055,33 +3107,33 @@ var Vn = (
3055
3107
  for (var i = []; !this.isEOF(); ) {
3056
3108
  var o = this.char();
3057
3109
  if (o === 123) {
3058
- var s = this.parseArgument(t, n);
3059
- if (s.err)
3060
- return s;
3061
- i.push(s.val);
3110
+ var a = this.parseArgument(t, n);
3111
+ if (a.err)
3112
+ return a;
3113
+ i.push(a.val);
3062
3114
  } else {
3063
3115
  if (o === 125 && t > 0)
3064
3116
  break;
3065
3117
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3066
- var a = this.clonePosition();
3118
+ var s = this.clonePosition();
3067
3119
  this.bump(), i.push({
3068
3120
  type: _.pound,
3069
- location: g(a, this.clonePosition())
3121
+ location: g(s, this.clonePosition())
3070
3122
  });
3071
3123
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3072
3124
  if (n)
3073
3125
  break;
3074
3126
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3075
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3076
- var s = this.parseTag(t, r);
3077
- if (s.err)
3078
- return s;
3079
- i.push(s.val);
3127
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3128
+ var a = this.parseTag(t, r);
3129
+ if (a.err)
3130
+ return a;
3131
+ i.push(a.val);
3080
3132
  } else {
3081
- var s = this.parseLiteral(t, r);
3082
- if (s.err)
3083
- return s;
3084
- i.push(s.val);
3133
+ var a = this.parseLiteral(t, r);
3134
+ if (a.err)
3135
+ return a;
3136
+ i.push(a.val);
3085
3137
  }
3086
3138
  }
3087
3139
  }
@@ -3103,27 +3155,27 @@ var Vn = (
3103
3155
  var o = this.parseMessage(t + 1, r, !0);
3104
3156
  if (o.err)
3105
3157
  return o;
3106
- var s = o.val, a = this.clonePosition();
3158
+ var a = o.val, s = this.clonePosition();
3107
3159
  if (this.bumpIf("</")) {
3108
- if (this.isEOF() || !Ve(this.char()))
3109
- return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3160
+ if (this.isEOF() || !Xe(this.char()))
3161
+ return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3110
3162
  var h = this.clonePosition(), u = this.parseTagName();
3111
3163
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3112
3164
  val: {
3113
3165
  type: _.tag,
3114
3166
  value: i,
3115
- children: s,
3167
+ children: a,
3116
3168
  location: g(n, this.clonePosition())
3117
3169
  },
3118
3170
  err: null
3119
- } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3171
+ } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3120
3172
  } else
3121
3173
  return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3122
3174
  } else
3123
3175
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3124
3176
  }, e.prototype.parseTagName = function() {
3125
3177
  var t = this.offset();
3126
- for (this.bump(); !this.isEOF() && Wn(this.char()); )
3178
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3127
3179
  this.bump();
3128
3180
  return this.message.slice(t, this.offset());
3129
3181
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3133,16 +3185,16 @@ var Vn = (
3133
3185
  i += o;
3134
3186
  continue;
3135
3187
  }
3136
- var s = this.tryParseUnquoted(t, r);
3137
- if (s) {
3138
- i += s;
3139
- continue;
3140
- }
3141
- var a = this.tryParseLeftAngleBracket();
3188
+ var a = this.tryParseUnquoted(t, r);
3142
3189
  if (a) {
3143
3190
  i += a;
3144
3191
  continue;
3145
3192
  }
3193
+ var s = this.tryParseLeftAngleBracket();
3194
+ if (s) {
3195
+ i += s;
3196
+ continue;
3197
+ }
3146
3198
  break;
3147
3199
  }
3148
3200
  var h = g(n, this.clonePosition());
@@ -3152,7 +3204,7 @@ var Vn = (
3152
3204
  };
3153
3205
  }, e.prototype.tryParseLeftAngleBracket = function() {
3154
3206
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3155
- !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
3207
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3156
3208
  }, e.prototype.tryParseQuote = function(t) {
3157
3209
  if (this.isEOF() || this.char() !== 39)
3158
3210
  return null;
@@ -3186,12 +3238,12 @@ var Vn = (
3186
3238
  r.push(n);
3187
3239
  this.bump();
3188
3240
  }
3189
- return je.apply(void 0, r);
3241
+ return ke.apply(void 0, r);
3190
3242
  }, e.prototype.tryParseUnquoted = function(t, r) {
3191
3243
  if (this.isEOF())
3192
3244
  return null;
3193
3245
  var n = this.char();
3194
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3246
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3195
3247
  }, e.prototype.parseArgument = function(t, r) {
3196
3248
  var n = this.clonePosition();
3197
3249
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3220,15 +3272,15 @@ var Vn = (
3220
3272
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3221
3273
  }
3222
3274
  }, e.prototype.parseIdentifierIfPossible = function() {
3223
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3275
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3224
3276
  this.bumpTo(i);
3225
- var o = this.clonePosition(), s = g(t, o);
3226
- return { value: n, location: s };
3277
+ var o = this.clonePosition(), a = g(t, o);
3278
+ return { value: n, location: a };
3227
3279
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3228
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3229
- switch (a) {
3280
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3281
+ switch (s) {
3230
3282
  case "":
3231
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
3283
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
3232
3284
  case "number":
3233
3285
  case "date":
3234
3286
  case "time": {
@@ -3239,46 +3291,46 @@ var Vn = (
3239
3291
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3240
3292
  if (c.err)
3241
3293
  return c;
3242
- var f = kn(c.val);
3294
+ var f = zn(c.val);
3243
3295
  if (f.length === 0)
3244
3296
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3245
- var m = g(l, this.clonePosition());
3246
- u = { style: f, styleLocation: m };
3297
+ var d = g(l, this.clonePosition());
3298
+ u = { style: f, styleLocation: d };
3247
3299
  }
3248
3300
  var v = this.tryParseArgumentClose(i);
3249
3301
  if (v.err)
3250
3302
  return v;
3251
- var d = g(i, this.clonePosition());
3252
- if (u && bt(u?.style, "::", 0)) {
3253
- var E = jn(u.style.slice(2));
3254
- if (a === "number") {
3303
+ var m = g(i, this.clonePosition());
3304
+ if (u && vt(u?.style, "::", 0)) {
3305
+ var E = Wn(u.style.slice(2));
3306
+ if (s === "number") {
3255
3307
  var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3256
3308
  return c.err ? c : {
3257
- val: { type: _.number, value: n, location: d, style: c.val },
3309
+ val: { type: _.number, value: n, location: m, style: c.val },
3258
3310
  err: null
3259
3311
  };
3260
3312
  } else {
3261
3313
  if (E.length === 0)
3262
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3263
- var D = E;
3264
- this.locale && (D = Pn(E, this.locale));
3314
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3315
+ var $ = E;
3316
+ this.locale && ($ = Mn(E, this.locale));
3265
3317
  var f = {
3266
3318
  type: z.dateTime,
3267
- pattern: D,
3319
+ pattern: $,
3268
3320
  location: u.styleLocation,
3269
- parsedOptions: this.shouldParseSkeletons ? xn(D) : {}
3270
- }, P = a === "date" ? _.date : _.time;
3321
+ parsedOptions: this.shouldParseSkeletons ? Hn($) : {}
3322
+ }, P = s === "date" ? _.date : _.time;
3271
3323
  return {
3272
- val: { type: P, value: n, location: d, style: f },
3324
+ val: { type: P, value: n, location: m, style: f },
3273
3325
  err: null
3274
3326
  };
3275
3327
  }
3276
3328
  }
3277
3329
  return {
3278
3330
  val: {
3279
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3331
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3280
3332
  value: n,
3281
- location: d,
3333
+ location: m,
3282
3334
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3283
3335
  },
3284
3336
  err: null
@@ -3291,45 +3343,45 @@ var Vn = (
3291
3343
  if (this.bumpSpace(), !this.bumpIf(","))
3292
3344
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3293
3345
  this.bumpSpace();
3294
- var M = this.parseIdentifierIfPossible(), B = 0;
3295
- if (a !== "select" && M.value === "offset") {
3346
+ var M = this.parseIdentifierIfPossible(), A = 0;
3347
+ if (s !== "select" && M.value === "offset") {
3296
3348
  if (!this.bumpIf(":"))
3297
3349
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3298
3350
  this.bumpSpace();
3299
3351
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3300
3352
  if (c.err)
3301
3353
  return c;
3302
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), B = c.val;
3354
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), A = c.val;
3303
3355
  }
3304
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, M);
3305
- if ($.err)
3306
- return $;
3356
+ var L = this.tryParsePluralOrSelectOptions(t, s, r, M);
3357
+ if (L.err)
3358
+ return L;
3307
3359
  var v = this.tryParseArgumentClose(i);
3308
3360
  if (v.err)
3309
3361
  return v;
3310
- var he = g(i, this.clonePosition());
3311
- return a === "select" ? {
3362
+ var ee = g(i, this.clonePosition());
3363
+ return s === "select" ? {
3312
3364
  val: {
3313
3365
  type: _.select,
3314
3366
  value: n,
3315
- options: gt($.val),
3316
- location: he
3367
+ options: _t(L.val),
3368
+ location: ee
3317
3369
  },
3318
3370
  err: null
3319
3371
  } : {
3320
3372
  val: {
3321
3373
  type: _.plural,
3322
3374
  value: n,
3323
- options: gt($.val),
3324
- offset: B,
3325
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3326
- location: he
3375
+ options: _t(L.val),
3376
+ offset: A,
3377
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3378
+ location: ee
3327
3379
  },
3328
3380
  err: null
3329
3381
  };
3330
3382
  }
3331
3383
  default:
3332
- return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
3384
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
3333
3385
  }
3334
3386
  }, e.prototype.tryParseArgumentClose = function(t) {
3335
3387
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3371,7 +3423,7 @@ var Vn = (
3371
3423
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3372
3424
  var n = [];
3373
3425
  try {
3374
- n = Sn(t);
3426
+ n = An(t);
3375
3427
  } catch {
3376
3428
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3377
3429
  }
@@ -3380,12 +3432,12 @@ var Vn = (
3380
3432
  type: z.number,
3381
3433
  tokens: n,
3382
3434
  location: r,
3383
- parsedOptions: this.shouldParseSkeletons ? An(n) : {}
3435
+ parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3384
3436
  },
3385
3437
  err: null
3386
3438
  };
3387
3439
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3388
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3440
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3389
3441
  if (u.length === 0) {
3390
3442
  var c = this.clonePosition();
3391
3443
  if (r !== "select" && this.bumpIf("=")) {
@@ -3398,37 +3450,37 @@ var Vn = (
3398
3450
  }
3399
3451
  if (h.has(u))
3400
3452
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3401
- u === "other" && (s = !0), this.bumpSpace();
3402
- var m = this.clonePosition();
3453
+ u === "other" && (a = !0), this.bumpSpace();
3454
+ var d = this.clonePosition();
3403
3455
  if (!this.bumpIf("{"))
3404
3456
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3405
3457
  var v = this.parseMessage(t + 1, r, n);
3406
3458
  if (v.err)
3407
3459
  return v;
3408
- var d = this.tryParseArgumentClose(m);
3409
- if (d.err)
3410
- return d;
3411
- a.push([
3460
+ var m = this.tryParseArgumentClose(d);
3461
+ if (m.err)
3462
+ return m;
3463
+ s.push([
3412
3464
  u,
3413
3465
  {
3414
3466
  value: v.val,
3415
- location: g(m, this.clonePosition())
3467
+ location: g(d, this.clonePosition())
3416
3468
  }
3417
3469
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3418
3470
  }
3419
- 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 };
3471
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3420
3472
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3421
3473
  var n = 1, i = this.clonePosition();
3422
3474
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3423
- for (var o = !1, s = 0; !this.isEOF(); ) {
3424
- var a = this.char();
3425
- if (a >= 48 && a <= 57)
3426
- o = !0, s = s * 10 + (a - 48), this.bump();
3475
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3476
+ var s = this.char();
3477
+ if (s >= 48 && s <= 57)
3478
+ o = !0, a = a * 10 + (s - 48), this.bump();
3427
3479
  else
3428
3480
  break;
3429
3481
  }
3430
3482
  var h = g(i, this.clonePosition());
3431
- return o ? (s *= n, Gn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3483
+ return o ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3432
3484
  }, e.prototype.offset = function() {
3433
3485
  return this.position.offset;
3434
3486
  }, e.prototype.isEOF = function() {
@@ -3443,7 +3495,7 @@ var Vn = (
3443
3495
  var t = this.position.offset;
3444
3496
  if (t >= this.message.length)
3445
3497
  throw Error("out of bound");
3446
- var r = Yt(this.message, t);
3498
+ var r = er(this.message, t);
3447
3499
  if (r === void 0)
3448
3500
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3449
3501
  return r;
@@ -3462,7 +3514,7 @@ var Vn = (
3462
3514
  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);
3463
3515
  }
3464
3516
  }, e.prototype.bumpIf = function(t) {
3465
- if (bt(this.message, t, this.offset())) {
3517
+ if (vt(this.message, t, this.offset())) {
3466
3518
  for (var r = 0; r < t.length; r++)
3467
3519
  this.bump();
3468
3520
  return !0;
@@ -3484,7 +3536,7 @@ var Vn = (
3484
3536
  break;
3485
3537
  }
3486
3538
  }, e.prototype.bumpSpace = function() {
3487
- for (; !this.isEOF() && Jt(this.char()); )
3539
+ for (; !this.isEOF() && rr(this.char()); )
3488
3540
  this.bump();
3489
3541
  }, e.prototype.peek = function() {
3490
3542
  if (this.isEOF())
@@ -3494,37 +3546,38 @@ var Vn = (
3494
3546
  }, e;
3495
3547
  }()
3496
3548
  );
3497
- function Ve(e) {
3549
+ function Xe(e) {
3498
3550
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3499
3551
  }
3500
- function Xn(e) {
3501
- return Ve(e) || e === 47;
3552
+ function Qn(e) {
3553
+ return Xe(e) || e === 47;
3502
3554
  }
3503
- function Wn(e) {
3555
+ function Yn(e) {
3504
3556
  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;
3505
3557
  }
3506
- function Jt(e) {
3558
+ function rr(e) {
3507
3559
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3508
3560
  }
3509
- function zn(e) {
3561
+ function qn(e) {
3510
3562
  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;
3511
3563
  }
3512
- function Xe(e) {
3564
+ function We(e) {
3513
3565
  e.forEach(function(t) {
3514
- if (delete t.location, jt(t) || kt(t))
3566
+ if (delete t.location, Wt(t) || zt(t))
3515
3567
  for (var r in t.options)
3516
- delete t.options[r].location, Xe(t.options[r].value);
3517
- else Ut(t) && Xt(t.style) || (Gt(t) || Ft(t)) && Ge(t.style) ? delete t.style.location : Vt(t) && Xe(t.children);
3568
+ delete t.options[r].location, We(t.options[r].value);
3569
+ else
3570
+ kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Fe(t.style) ? delete t.style.location : Zt(t) && We(t.children);
3518
3571
  });
3519
3572
  }
3520
- function Zn(e, t) {
3573
+ function Jn(e, t) {
3521
3574
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3522
- var r = new Vn(e, t).parse();
3575
+ var r = new Zn(e, t).parse();
3523
3576
  if (r.err) {
3524
3577
  var n = SyntaxError(b[r.err.kind]);
3525
3578
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3526
3579
  }
3527
- return t?.captureLocation || Xe(r.val), r.val;
3580
+ return t?.captureLocation || We(r.val), r.val;
3528
3581
  }
3529
3582
  var Z;
3530
3583
  (function(e) {
@@ -3542,7 +3595,7 @@ var Ee = (
3542
3595
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3543
3596
  }, t;
3544
3597
  }(Error)
3545
- ), vt = (
3598
+ ), xt = (
3546
3599
  /** @class */
3547
3600
  function(e) {
3548
3601
  C(t, e);
@@ -3551,7 +3604,7 @@ var Ee = (
3551
3604
  }
3552
3605
  return t;
3553
3606
  }(Ee)
3554
- ), Qn = (
3607
+ ), Kn = (
3555
3608
  /** @class */
3556
3609
  function(e) {
3557
3610
  C(t, e);
@@ -3560,7 +3613,7 @@ var Ee = (
3560
3613
  }
3561
3614
  return t;
3562
3615
  }(Ee)
3563
- ), Yn = (
3616
+ ), ei = (
3564
3617
  /** @class */
3565
3618
  function(e) {
3566
3619
  C(t, e);
@@ -3573,34 +3626,34 @@ var Ee = (
3573
3626
  (function(e) {
3574
3627
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3575
3628
  })(S || (S = {}));
3576
- function qn(e) {
3629
+ function ti(e) {
3577
3630
  return e.length < 2 ? e : e.reduce(function(t, r) {
3578
3631
  var n = t[t.length - 1];
3579
3632
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3580
3633
  }, []);
3581
3634
  }
3582
- function Jn(e) {
3635
+ function ri(e) {
3583
3636
  return typeof e == "function";
3584
3637
  }
3585
- function de(e, t, r, n, i, o, s) {
3586
- if (e.length === 1 && ft(e[0]))
3638
+ function me(e, t, r, n, i, o, a) {
3639
+ if (e.length === 1 && mt(e[0]))
3587
3640
  return [
3588
3641
  {
3589
3642
  type: S.literal,
3590
3643
  value: e[0].value
3591
3644
  }
3592
3645
  ];
3593
- for (var a = [], h = 0, u = e; h < u.length; h++) {
3646
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
3594
3647
  var l = u[h];
3595
- if (ft(l)) {
3596
- a.push({
3648
+ if (mt(l)) {
3649
+ s.push({
3597
3650
  type: S.literal,
3598
3651
  value: l.value
3599
3652
  });
3600
3653
  continue;
3601
3654
  }
3602
- if (_n(l)) {
3603
- typeof o == "number" && a.push({
3655
+ if (Sn(l)) {
3656
+ typeof o == "number" && s.push({
3604
3657
  type: S.literal,
3605
3658
  value: r.getNumberFormat(t).format(o)
3606
3659
  });
@@ -3608,89 +3661,89 @@ function de(e, t, r, n, i, o, s) {
3608
3661
  }
3609
3662
  var c = l.value;
3610
3663
  if (!(i && c in i))
3611
- throw new Yn(c, s);
3664
+ throw new ei(c, a);
3612
3665
  var f = i[c];
3613
- if (vn(l)) {
3614
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3666
+ if (wn(l)) {
3667
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3615
3668
  type: typeof f == "string" ? S.literal : S.object,
3616
3669
  value: f
3617
3670
  });
3618
3671
  continue;
3619
3672
  }
3620
- if (Gt(l)) {
3621
- var m = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3622
- a.push({
3673
+ if (Vt(l)) {
3674
+ var d = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3675
+ s.push({
3623
3676
  type: S.literal,
3624
- value: r.getDateTimeFormat(t, m).format(f)
3677
+ value: r.getDateTimeFormat(t, d).format(f)
3625
3678
  });
3626
3679
  continue;
3627
3680
  }
3628
- if (Ft(l)) {
3629
- var m = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3630
- a.push({
3681
+ if (Xt(l)) {
3682
+ var d = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3683
+ s.push({
3631
3684
  type: S.literal,
3632
- value: r.getDateTimeFormat(t, m).format(f)
3685
+ value: r.getDateTimeFormat(t, d).format(f)
3633
3686
  });
3634
3687
  continue;
3635
3688
  }
3636
- if (Ut(l)) {
3637
- var m = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
3638
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3689
+ if (kt(l)) {
3690
+ var d = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3691
+ d && d.scale && (f = f * (d.scale || 1)), s.push({
3639
3692
  type: S.literal,
3640
- value: r.getNumberFormat(t, m).format(f)
3693
+ value: r.getNumberFormat(t, d).format(f)
3641
3694
  });
3642
3695
  continue;
3643
3696
  }
3644
- if (Vt(l)) {
3645
- var v = l.children, d = l.value, E = i[d];
3646
- if (!Jn(E))
3647
- throw new Qn(d, "function", s);
3648
- var D = de(v, t, r, n, i, o), P = E(D.map(function(B) {
3649
- return B.value;
3697
+ if (Zt(l)) {
3698
+ var v = l.children, m = l.value, E = i[m];
3699
+ if (!ri(E))
3700
+ throw new Kn(m, "function", a);
3701
+ var $ = me(v, t, r, n, i, o), P = E($.map(function(A) {
3702
+ return A.value;
3650
3703
  }));
3651
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(B) {
3704
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(A) {
3652
3705
  return {
3653
- type: typeof B == "string" ? S.literal : S.object,
3654
- value: B
3706
+ type: typeof A == "string" ? S.literal : S.object,
3707
+ value: A
3655
3708
  };
3656
3709
  }));
3657
3710
  }
3658
- if (jt(l)) {
3711
+ if (Wt(l)) {
3659
3712
  var T = l.options[f] || l.options.other;
3660
3713
  if (!T)
3661
- throw new vt(l.value, f, Object.keys(l.options), s);
3662
- a.push.apply(a, de(T.value, t, r, n, i));
3714
+ throw new xt(l.value, f, Object.keys(l.options), a);
3715
+ s.push.apply(s, me(T.value, t, r, n, i));
3663
3716
  continue;
3664
3717
  }
3665
- if (kt(l)) {
3718
+ if (zt(l)) {
3666
3719
  var T = l.options["=".concat(f)];
3667
3720
  if (!T) {
3668
3721
  if (!Intl.PluralRules)
3669
3722
  throw new Ee(`Intl.PluralRules is not available in this environment.
3670
3723
  Try polyfilling it using "@formatjs/intl-pluralrules"
3671
- `, Z.MISSING_INTL_API, s);
3724
+ `, Z.MISSING_INTL_API, a);
3672
3725
  var M = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3673
3726
  T = l.options[M] || l.options.other;
3674
3727
  }
3675
3728
  if (!T)
3676
- throw new vt(l.value, f, Object.keys(l.options), s);
3677
- a.push.apply(a, de(T.value, t, r, n, i, f - (l.offset || 0)));
3729
+ throw new xt(l.value, f, Object.keys(l.options), a);
3730
+ s.push.apply(s, me(T.value, t, r, n, i, f - (l.offset || 0)));
3678
3731
  continue;
3679
3732
  }
3680
3733
  }
3681
- return qn(a);
3734
+ return ti(s);
3682
3735
  }
3683
- function Kn(e, t) {
3736
+ function ni(e, t) {
3684
3737
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3685
3738
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3686
3739
  }, {})) : e;
3687
3740
  }
3688
- function ei(e, t) {
3741
+ function ii(e, t) {
3689
3742
  return t ? Object.keys(e).reduce(function(r, n) {
3690
- return r[n] = Kn(e[n], t[n]), r;
3743
+ return r[n] = ni(e[n], t[n]), r;
3691
3744
  }, y({}, e)) : e;
3692
3745
  }
3693
- function Pe(e) {
3746
+ function Oe(e) {
3694
3747
  return {
3695
3748
  create: function() {
3696
3749
  return {
@@ -3704,39 +3757,39 @@ function Pe(e) {
3704
3757
  }
3705
3758
  };
3706
3759
  }
3707
- function ti(e) {
3760
+ function oi(e) {
3708
3761
  return e === void 0 && (e = {
3709
3762
  number: {},
3710
3763
  dateTime: {},
3711
3764
  pluralRules: {}
3712
3765
  }), {
3713
- getNumberFormat: He(function() {
3766
+ getNumberFormat: Be(function() {
3714
3767
  for (var t, r = [], n = 0; n < arguments.length; n++)
3715
3768
  r[n] = arguments[n];
3716
3769
  return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3717
3770
  }, {
3718
- cache: Pe(e.number),
3719
- strategy: Be.variadic
3771
+ cache: Oe(e.number),
3772
+ strategy: Ae.variadic
3720
3773
  }),
3721
- getDateTimeFormat: He(function() {
3774
+ getDateTimeFormat: Be(function() {
3722
3775
  for (var t, r = [], n = 0; n < arguments.length; n++)
3723
3776
  r[n] = arguments[n];
3724
3777
  return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3725
3778
  }, {
3726
- cache: Pe(e.dateTime),
3727
- strategy: Be.variadic
3779
+ cache: Oe(e.dateTime),
3780
+ strategy: Ae.variadic
3728
3781
  }),
3729
- getPluralRules: He(function() {
3782
+ getPluralRules: Be(function() {
3730
3783
  for (var t, r = [], n = 0; n < arguments.length; n++)
3731
3784
  r[n] = arguments[n];
3732
3785
  return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3733
3786
  }, {
3734
- cache: Pe(e.pluralRules),
3735
- strategy: Be.variadic
3787
+ cache: Oe(e.pluralRules),
3788
+ strategy: Ae.variadic
3736
3789
  })
3737
3790
  };
3738
3791
  }
3739
- var ri = (
3792
+ var si = (
3740
3793
  /** @class */
3741
3794
  function() {
3742
3795
  function e(t, r, n, i) {
@@ -3755,7 +3808,7 @@ var ri = (
3755
3808
  }, []);
3756
3809
  return l.length <= 1 ? l[0] || "" : l;
3757
3810
  }, this.formatToParts = function(h) {
3758
- return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3811
+ return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3759
3812
  }, this.resolvedOptions = function() {
3760
3813
  var h;
3761
3814
  return {
@@ -3766,15 +3819,15 @@ var ri = (
3766
3819
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3767
3820
  if (this.message = t, !e.__parse)
3768
3821
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3769
- var s = i || {};
3770
- s.formatters;
3771
- var a = Mr(s, ["formatters"]);
3772
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3822
+ var a = i || {};
3823
+ a.formatters;
3824
+ var s = $r(a, ["formatters"]);
3825
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
3773
3826
  } else
3774
3827
  this.ast = t;
3775
3828
  if (!Array.isArray(this.ast))
3776
3829
  throw new TypeError("A message must be provided as a String or AST.");
3777
- this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3830
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3778
3831
  }
3779
3832
  return Object.defineProperty(e, "defaultLocale", {
3780
3833
  get: function() {
@@ -3787,7 +3840,7 @@ var ri = (
3787
3840
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3788
3841
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3789
3842
  }
3790
- }, e.__parse = Zn, e.formats = {
3843
+ }, e.__parse = Jn, e.formats = {
3791
3844
  number: {
3792
3845
  integer: {
3793
3846
  maximumFractionDigits: 0
@@ -3848,7 +3901,7 @@ var ri = (
3848
3901
  }, e;
3849
3902
  }()
3850
3903
  );
3851
- function ni(e, t) {
3904
+ function ai(e, t) {
3852
3905
  if (t == null)
3853
3906
  return;
3854
3907
  if (t in e)
@@ -3869,92 +3922,92 @@ function ni(e, t) {
3869
3922
  n = void 0;
3870
3923
  return n;
3871
3924
  }
3872
- const R = {}, ii = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Kt = (e, t) => {
3925
+ const D = {}, ui = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), nr = (e, t) => {
3873
3926
  if (t == null)
3874
3927
  return;
3875
- if (t in R && e in R[t])
3876
- return R[t][e];
3928
+ if (t in D && e in D[t])
3929
+ return D[t][e];
3877
3930
  const r = xe(t);
3878
3931
  for (let n = 0; n < r.length; n++) {
3879
- const i = r[n], o = si(i, e);
3932
+ const i = r[n], o = li(i, e);
3880
3933
  if (o)
3881
- return ii(e, t, o);
3934
+ return ui(e, t, o);
3882
3935
  }
3883
3936
  };
3884
- let Ye;
3885
- const ue = _e({});
3886
- function oi(e) {
3887
- return Ye[e] || null;
3937
+ let Ke;
3938
+ const he = _e({});
3939
+ function hi(e) {
3940
+ return Ke[e] || null;
3888
3941
  }
3889
- function er(e) {
3890
- return e in Ye;
3942
+ function ir(e) {
3943
+ return e in Ke;
3891
3944
  }
3892
- function si(e, t) {
3893
- if (!er(e))
3945
+ function li(e, t) {
3946
+ if (!ir(e))
3894
3947
  return null;
3895
- const r = oi(e);
3896
- return ni(r, t);
3948
+ const r = hi(e);
3949
+ return ai(r, t);
3897
3950
  }
3898
- function ai(e) {
3951
+ function ci(e) {
3899
3952
  if (e == null)
3900
3953
  return;
3901
3954
  const t = xe(e);
3902
3955
  for (let r = 0; r < t.length; r++) {
3903
3956
  const n = t[r];
3904
- if (er(n))
3957
+ if (ir(n))
3905
3958
  return n;
3906
3959
  }
3907
3960
  }
3908
- function tr(e, ...t) {
3909
- delete R[e], ue.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3961
+ function or(e, ...t) {
3962
+ delete D[e], he.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3910
3963
  }
3911
3964
  q(
3912
- [ue],
3965
+ [he],
3913
3966
  ([e]) => Object.keys(e)
3914
3967
  );
3915
- ue.subscribe((e) => Ye = e);
3968
+ he.subscribe((e) => Ke = e);
3916
3969
  const be = {};
3917
- function ui(e, t) {
3970
+ function fi(e, t) {
3918
3971
  be[e].delete(t), be[e].size === 0 && delete be[e];
3919
3972
  }
3920
- function rr(e) {
3973
+ function sr(e) {
3921
3974
  return be[e];
3922
3975
  }
3923
- function hi(e) {
3976
+ function pi(e) {
3924
3977
  return xe(e).map((t) => {
3925
- const r = rr(t);
3978
+ const r = sr(t);
3926
3979
  return [t, r ? [...r] : []];
3927
3980
  }).filter(([, t]) => t.length > 0);
3928
3981
  }
3929
- function We(e) {
3982
+ function ze(e) {
3930
3983
  return e == null ? !1 : xe(e).some(
3931
3984
  (t) => {
3932
3985
  var r;
3933
- return (r = rr(t)) == null ? void 0 : r.size;
3986
+ return (r = sr(t)) == null ? void 0 : r.size;
3934
3987
  }
3935
3988
  );
3936
3989
  }
3937
- function li(e, t) {
3990
+ function di(e, t) {
3938
3991
  return Promise.all(
3939
- t.map((n) => (ui(e, n), n().then((i) => i.default || i)))
3940
- ).then((n) => tr(e, ...n));
3941
- }
3942
- const ee = {};
3943
- function nr(e) {
3944
- if (!We(e))
3945
- return e in ee ? ee[e] : Promise.resolve();
3946
- const t = hi(e);
3947
- return ee[e] = Promise.all(
3992
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3993
+ ).then((n) => or(e, ...n));
3994
+ }
3995
+ const te = {};
3996
+ function ar(e) {
3997
+ if (!ze(e))
3998
+ return e in te ? te[e] : Promise.resolve();
3999
+ const t = pi(e);
4000
+ return te[e] = Promise.all(
3948
4001
  t.map(
3949
- ([r, n]) => li(r, n)
4002
+ ([r, n]) => di(r, n)
3950
4003
  )
3951
4004
  ).then(() => {
3952
- if (We(e))
3953
- return nr(e);
3954
- delete ee[e];
3955
- }), ee[e];
4005
+ if (ze(e))
4006
+ return ar(e);
4007
+ delete te[e];
4008
+ }), te[e];
3956
4009
  }
3957
- const ci = {
4010
+ const mi = {
3958
4011
  number: {
3959
4012
  scientific: { notation: "scientific" },
3960
4013
  engineering: { notation: "engineering" },
@@ -3983,57 +4036,57 @@ const ci = {
3983
4036
  timeZoneName: "short"
3984
4037
  }
3985
4038
  }
3986
- }, fi = {
4039
+ }, bi = {
3987
4040
  fallbackLocale: null,
3988
4041
  loadingDelay: 200,
3989
- formats: ci,
4042
+ formats: mi,
3990
4043
  warnOnMissingMessages: !0,
3991
4044
  handleMissingMessage: void 0,
3992
4045
  ignoreTag: !0
3993
- }, pi = fi;
4046
+ }, gi = bi;
3994
4047
  function Q() {
3995
- return pi;
4048
+ return gi;
3996
4049
  }
3997
- const Oe = _e(!1);
3998
- var mi = Object.defineProperty, di = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vi = (e, t) => {
4050
+ const Ie = _e(!1);
4051
+ var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
3999
4052
  for (var r in t || (t = {}))
4000
- gi.call(t, r) && Et(e, r, t[r]);
4001
- if (_t)
4002
- for (var r of _t(t))
4003
- yi.call(t, r) && Et(e, r, t[r]);
4053
+ Ei.call(t, r) && St(e, r, t[r]);
4054
+ if (wt)
4055
+ for (var r of wt(t))
4056
+ xi.call(t, r) && St(e, r, t[r]);
4004
4057
  return e;
4005
- }, _i = (e, t) => di(e, bi(t));
4006
- let ze;
4058
+ }, Si = (e, t) => vi(e, _i(t));
4059
+ let Ze;
4007
4060
  const ge = _e(null);
4008
- function xt(e) {
4061
+ function Tt(e) {
4009
4062
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4010
4063
  }
4011
4064
  function xe(e, t = Q().fallbackLocale) {
4012
- const r = xt(e);
4013
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4065
+ const r = Tt(e);
4066
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4014
4067
  }
4015
4068
  function U() {
4016
- return ze ?? void 0;
4069
+ return Ze ?? void 0;
4017
4070
  }
4018
4071
  ge.subscribe((e) => {
4019
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4072
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4020
4073
  });
4021
- const Ei = (e) => {
4022
- if (e && ai(e) && We(e)) {
4074
+ const Ti = (e) => {
4075
+ if (e && ci(e) && ze(e)) {
4023
4076
  const { loadingDelay: t } = Q();
4024
4077
  let r;
4025
4078
  return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4026
- () => Oe.set(!0),
4079
+ () => Ie.set(!0),
4027
4080
  t
4028
- ) : Oe.set(!0), nr(e).then(() => {
4081
+ ) : Ie.set(!0), ar(e).then(() => {
4029
4082
  ge.set(e);
4030
4083
  }).finally(() => {
4031
- clearTimeout(r), Oe.set(!1);
4084
+ clearTimeout(r), Ie.set(!1);
4032
4085
  });
4033
4086
  }
4034
4087
  return ge.set(e);
4035
- }, J = _i(vi({}, ge), {
4036
- set: Ei
4088
+ }, J = Si(wi({}, ge), {
4089
+ set: Ti
4037
4090
  }), we = (e) => {
4038
4091
  const t = /* @__PURE__ */ Object.create(null);
4039
4092
  return (n) => {
@@ -4041,101 +4094,101 @@ const Ei = (e) => {
4041
4094
  return i in t ? t[i] : t[i] = e(n);
4042
4095
  };
4043
4096
  };
4044
- var xi = Object.defineProperty, ye = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4097
+ var Hi = Object.defineProperty, ye = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4045
4098
  for (var r in t || (t = {}))
4046
- ir.call(t, r) && wt(e, r, t[r]);
4099
+ ur.call(t, r) && Ht(e, r, t[r]);
4047
4100
  if (ye)
4048
4101
  for (var r of ye(t))
4049
- or.call(t, r) && wt(e, r, t[r]);
4102
+ hr.call(t, r) && Ht(e, r, t[r]);
4050
4103
  return e;
4051
4104
  }, K = (e, t) => {
4052
4105
  var r = {};
4053
4106
  for (var n in e)
4054
- ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4107
+ ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4055
4108
  if (e != null && ye)
4056
4109
  for (var n of ye(e))
4057
- t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
4110
+ t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4058
4111
  return r;
4059
4112
  };
4060
- const oe = (e, t) => {
4113
+ const se = (e, t) => {
4061
4114
  const { formats: r } = Q();
4062
4115
  if (e in r && t in r[e])
4063
4116
  return r[e][t];
4064
4117
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4065
- }, wi = we(
4118
+ }, Bi = we(
4066
4119
  (e) => {
4067
4120
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4068
4121
  if (r == null)
4069
4122
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4070
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4123
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4071
4124
  }
4072
- ), Si = we(
4125
+ ), Ai = we(
4073
4126
  (e) => {
4074
4127
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4075
4128
  if (r == null)
4076
4129
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4077
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4130
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4078
4131
  }
4079
- ), Ti = we(
4132
+ ), Pi = we(
4080
4133
  (e) => {
4081
4134
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4082
4135
  if (r == null)
4083
4136
  throw new Error(
4084
4137
  '[svelte-i18n] A "locale" must be set to format time values'
4085
4138
  );
4086
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4139
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4087
4140
  }
4088
- ), Hi = (e = {}) => {
4141
+ ), Oi = (e = {}) => {
4089
4142
  var t = e, {
4090
4143
  locale: r = U()
4091
4144
  } = t, n = K(t, [
4092
4145
  "locale"
4093
4146
  ]);
4094
- return wi(qe({ locale: r }, n));
4095
- }, Bi = (e = {}) => {
4147
+ return Bi(et({ locale: r }, n));
4148
+ }, Ii = (e = {}) => {
4096
4149
  var t = e, {
4097
4150
  locale: r = U()
4098
4151
  } = t, n = K(t, [
4099
4152
  "locale"
4100
4153
  ]);
4101
- return Si(qe({ locale: r }, n));
4102
- }, Ai = (e = {}) => {
4154
+ return Ai(et({ locale: r }, n));
4155
+ }, Ci = (e = {}) => {
4103
4156
  var t = e, {
4104
4157
  locale: r = U()
4105
4158
  } = t, n = K(t, [
4106
4159
  "locale"
4107
4160
  ]);
4108
- return Ti(qe({ locale: r }, n));
4109
- }, Pi = we(
4161
+ return Pi(et({ locale: r }, n));
4162
+ }, Mi = we(
4110
4163
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4111
- (e, t = U()) => new ri(e, t, Q().formats, {
4164
+ (e, t = U()) => new si(e, t, Q().formats, {
4112
4165
  ignoreTag: Q().ignoreTag
4113
4166
  })
4114
- ), Oi = (e, t = {}) => {
4167
+ ), Li = (e, t = {}) => {
4115
4168
  var r, n, i, o;
4116
- let s = t;
4117
- typeof e == "object" && (s = e, e = s.id);
4169
+ let a = t;
4170
+ typeof e == "object" && (a = e, e = a.id);
4118
4171
  const {
4119
- values: a,
4172
+ values: s,
4120
4173
  locale: h = U(),
4121
4174
  default: u
4122
- } = s;
4175
+ } = a;
4123
4176
  if (h == null)
4124
4177
  throw new Error(
4125
4178
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4126
4179
  );
4127
- let l = Kt(e, h);
4180
+ let l = nr(e, h);
4128
4181
  if (!l)
4129
4182
  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;
4130
4183
  else if (typeof l != "string")
4131
4184
  return console.warn(
4132
4185
  `[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.`
4133
4186
  ), l;
4134
- if (!a)
4187
+ if (!s)
4135
4188
  return l;
4136
4189
  let c = l;
4137
4190
  try {
4138
- c = Pi(l, h).format(a);
4191
+ c = Mi(l, h).format(s);
4139
4192
  } catch (f) {
4140
4193
  f instanceof Error && console.warn(
4141
4194
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4143,20 +4196,20 @@ const oe = (e, t) => {
4143
4196
  );
4144
4197
  }
4145
4198
  return c;
4146
- }, Ii = (e, t) => Ai(t).format(e), Ci = (e, t) => Bi(t).format(e), Mi = (e, t) => Hi(t).format(e), Ni = (e, t = U()) => Kt(e, t), Li = q([J, ue], () => Oi);
4147
- q([J], () => Ii);
4148
- q([J], () => Ci);
4149
- q([J], () => Mi);
4150
- q([J, ue], () => Ni);
4151
- window.emWidgets = { topic: zr };
4152
- const Ri = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4153
- function Di(e, t) {
4199
+ }, Ni = (e, t) => Ci(t).format(e), Ri = (e, t) => Ii(t).format(e), Di = (e, t) => Oi(t).format(e), $i = (e, t = U()) => nr(e, t), Ui = q([J, he], () => Li);
4200
+ q([J], () => Ni);
4201
+ q([J], () => Ri);
4202
+ q([J], () => Di);
4203
+ q([J, he], () => $i);
4204
+ window.emWidgets = { topic: Jr };
4205
+ const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4206
+ function Fi(e, t) {
4154
4207
  if (e) {
4155
4208
  const r = document.createElement("style");
4156
4209
  r.innerHTML = t, e.appendChild(r);
4157
4210
  }
4158
4211
  }
4159
- function $i(e, t) {
4212
+ function ji(e, t) {
4160
4213
  const r = new URL(t);
4161
4214
  fetch(r.href).then((n) => n.text()).then((n) => {
4162
4215
  const i = document.createElement("style");
@@ -4165,7 +4218,7 @@ function $i(e, t) {
4165
4218
  console.error("There was an error while trying to load client styling from URL", n);
4166
4219
  });
4167
4220
  }
4168
- function Ui(e, t, r) {
4221
+ function ki(e, t, r) {
4169
4222
  if (window.emMessageBus) {
4170
4223
  const n = document.createElement("style");
4171
4224
  window.emMessageBus.subscribe(t, (i) => {
@@ -4173,13 +4226,13 @@ function Ui(e, t, r) {
4173
4226
  });
4174
4227
  }
4175
4228
  }
4176
- function St(e, t) {
4177
- tr(e, t);
4229
+ function Bt(e, t) {
4230
+ or(e, t);
4178
4231
  }
4179
- function Gi(e) {
4232
+ function Vi(e) {
4180
4233
  J.set(e);
4181
4234
  }
4182
- const Tt = {
4235
+ const At = {
4183
4236
  en: {
4184
4237
  titleDeposit: "Deposit",
4185
4238
  loading: "Loading, please wait ..."
@@ -4221,49 +4274,49 @@ const Tt = {
4221
4274
  Loading: "Cargando, por favor espere..."
4222
4275
  }
4223
4276
  };
4224
- function Fi(e) {
4225
- fr(e, "svelte-lvm6lo", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.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))}.DepositTitle{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)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
4277
+ function Xi(e) {
4278
+ gr(e, "svelte-lvm6lo", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.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))}.DepositTitle{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)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
4226
4279
  }
4227
- function ji(e) {
4228
- let t, r, n, i, o, s, a, h, u, l, c = (
4280
+ function Wi(e) {
4281
+ let t, r, n, i, o, a, s, h, u, l, c = (
4229
4282
  /*$_*/
4230
4283
  e[4]("titleDeposit") + ""
4231
- ), f, m, v;
4284
+ ), f, d, v;
4232
4285
  return {
4233
4286
  c() {
4234
- t = I("div"), r = G("svg"), n = G("defs"), i = G("style"), o = re(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = G("g"), a = G("g"), h = G("path"), u = Ie(), l = I("h2"), f = re(c), x(h, "class", "aaa"), x(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(h, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(l, "class", "DepositTitleMobile"), x(t, "class", "MenuReturnButton");
4287
+ t = I("div"), r = G("svg"), n = G("defs"), i = G("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = G("g"), s = G("g"), h = G("path"), u = Ce(), l = I("h2"), f = ne(c), x(h, "class", "aaa"), x(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(h, "transform", "translate(15 15) rotate(180)"), x(s, "transform", "translate(20 158)"), x(a, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(l, "class", "DepositTitleMobile"), x(t, "class", "MenuReturnButton");
4235
4288
  },
4236
- m(d, E) {
4237
- ae(d, t, E), w(t, r), w(r, n), w(n, i), w(i, o), w(r, s), w(s, a), w(a, h), w(t, u), w(t, l), w(l, f), m || (v = dr(
4289
+ m(m, E) {
4290
+ ue(m, t, E), w(t, r), w(r, n), w(n, i), w(i, o), w(r, a), w(a, s), w(s, h), w(t, u), w(t, l), w(l, f), d || (v = _r(
4238
4291
  t,
4239
4292
  "click",
4240
4293
  /*click_handler*/
4241
4294
  e[18]
4242
- ), m = !0);
4295
+ ), d = !0);
4243
4296
  },
4244
- p(d, E) {
4297
+ p(m, E) {
4245
4298
  E & /*$_*/
4246
4299
  16 && c !== (c = /*$_*/
4247
- d[4]("titleDeposit") + "") && Qe(f, c);
4300
+ m[4]("titleDeposit") + "") && Ye(f, c);
4248
4301
  },
4249
- d(d) {
4250
- d && Y(t), m = !1, v();
4302
+ d(m) {
4303
+ m && Y(t), d = !1, v();
4251
4304
  }
4252
4305
  };
4253
4306
  }
4254
- function ki(e) {
4307
+ function zi(e) {
4255
4308
  let t, r, n;
4256
4309
  return {
4257
4310
  c() {
4258
- t = I("div"), r = I("iframe"), tt(r.src, n = /*iframeUrl*/
4311
+ t = I("div"), r = I("iframe"), it(r.src, n = /*iframeUrl*/
4259
4312
  e[3]) || x(r, "src", n), x(r, "title", "Deposit Iframe"), x(t, "class", "DepositIframeWrapper");
4260
4313
  },
4261
4314
  m(i, o) {
4262
- ae(i, t, o), w(t, r);
4315
+ ue(i, t, o), w(t, r);
4263
4316
  },
4264
4317
  p(i, o) {
4265
4318
  o & /*iframeUrl*/
4266
- 8 && !tt(r.src, n = /*iframeUrl*/
4319
+ 8 && !it(r.src, n = /*iframeUrl*/
4267
4320
  i[3]) && x(r, "src", n);
4268
4321
  },
4269
4322
  d(i) {
@@ -4271,48 +4324,48 @@ function ki(e) {
4271
4324
  }
4272
4325
  };
4273
4326
  }
4274
- function Vi(e) {
4327
+ function Zi(e) {
4275
4328
  let t, r = (
4276
4329
  /*$_*/
4277
4330
  e[4]("loading") + ""
4278
4331
  ), n;
4279
4332
  return {
4280
4333
  c() {
4281
- t = I("p"), n = re(r);
4334
+ t = I("p"), n = ne(r);
4282
4335
  },
4283
4336
  m(i, o) {
4284
- ae(i, t, o), w(t, n);
4337
+ ue(i, t, o), w(t, n);
4285
4338
  },
4286
4339
  p(i, o) {
4287
4340
  o & /*$_*/
4288
4341
  16 && r !== (r = /*$_*/
4289
- i[4]("loading") + "") && Qe(n, r);
4342
+ i[4]("loading") + "") && Ye(n, r);
4290
4343
  },
4291
4344
  d(i) {
4292
4345
  i && Y(t);
4293
4346
  }
4294
4347
  };
4295
4348
  }
4296
- function Xi(e) {
4349
+ function Qi(e) {
4297
4350
  let t, r, n, i = (
4298
4351
  /*$_*/
4299
4352
  e[4]("titleDeposit") + ""
4300
- ), o, s, a = (
4353
+ ), o, a, s = (
4301
4354
  /*isMobile*/
4302
- e[5] && ji(e)
4355
+ e[5] && Wi(e)
4303
4356
  );
4304
4357
  function h(c, f) {
4305
4358
  return (
4306
4359
  /*isLoading*/
4307
- c[1] ? Vi : ki
4360
+ c[1] ? Zi : zi
4308
4361
  );
4309
4362
  }
4310
4363
  let u = h(e), l = u(e);
4311
4364
  return {
4312
4365
  c() {
4313
- t = I("div"), a && a.c(), r = Ie(), n = I("h2"), o = re(i), s = Ie(), l.c(), x(n, "class", "DepositTitle " + /*isMobile*/
4366
+ t = I("div"), s && s.c(), r = Ce(), n = I("h2"), o = ne(i), a = Ce(), l.c(), x(n, "class", "DepositTitle " + /*isMobile*/
4314
4367
  (e[5] ? "DepositTitleNone" : "")), x(t, "class", "DepositWrapper " + /*isMobile*/
4315
- (e[5] ? "DepositWrapperMobile" : "")), rt(
4368
+ (e[5] ? "DepositWrapperMobile" : "")), ot(
4316
4369
  t,
4317
4370
  "--dynamic-height",
4318
4371
  /*dynamicHeight*/
@@ -4320,50 +4373,50 @@ function Xi(e) {
4320
4373
  );
4321
4374
  },
4322
4375
  m(c, f) {
4323
- ae(c, t, f), a && a.m(t, null), w(t, r), w(t, n), w(n, o), w(t, s), l.m(t, null), e[19](t);
4376
+ ue(c, t, f), s && s.m(t, null), w(t, r), w(t, n), w(n, o), w(t, a), l.m(t, null), e[19](t);
4324
4377
  },
4325
4378
  p(c, [f]) {
4326
4379
  /*isMobile*/
4327
- c[5] && a.p(c, f), f & /*$_*/
4380
+ c[5] && s.p(c, f), f & /*$_*/
4328
4381
  16 && i !== (i = /*$_*/
4329
- c[4]("titleDeposit") + "") && Qe(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null))), f & /*dynamicHeight*/
4330
- 4 && rt(
4382
+ c[4]("titleDeposit") + "") && 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))), f & /*dynamicHeight*/
4383
+ 4 && ot(
4331
4384
  t,
4332
4385
  "--dynamic-height",
4333
4386
  /*dynamicHeight*/
4334
4387
  c[2]
4335
4388
  );
4336
4389
  },
4337
- i: A,
4338
- o: A,
4390
+ i: B,
4391
+ o: B,
4339
4392
  d(c) {
4340
- c && Y(t), a && a.d(), l.d(), e[19](null);
4393
+ c && Y(t), s && s.d(), l.d(), e[19](null);
4341
4394
  }
4342
4395
  };
4343
4396
  }
4344
- function Wi(e, t, r) {
4397
+ function Yi(e, t, r) {
4345
4398
  let n, i;
4346
- cr(e, Li, (p) => r(4, i = p));
4347
- let { endpoint: o = "" } = t, { session: s = "" } = t, { playerid: a = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { playercurrency: m = "" } = t, { mbsource: v } = t, { shortcashierenabled: d = "false" } = t, E, D = window.navigator.userAgent, P = Ri(D) !== "PC", T = !0, M, B = 0, $ = "";
4348
- const he = () => {
4399
+ br(e, Ui, (p) => r(4, i = p));
4400
+ let { endpoint: o = "" } = t, { session: a = "" } = t, { playerid: s = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { playercurrency: d = "" } = t, { mbsource: v } = t, { shortcashierenabled: m = "false" } = t, E, $ = window.navigator.userAgent, P = Gi($) !== "PC", T = !0, M, A, L = 0, ee = "";
4401
+ const lr = () => {
4349
4402
  fetch(f).then((N) => N.json()).then((N) => {
4350
- Object.keys(N).forEach((L) => {
4351
- St(L, N[L]);
4403
+ Object.keys(N).forEach((R) => {
4404
+ Bt(R, N[R]);
4352
4405
  });
4353
4406
  }).catch((N) => {
4354
4407
  console.log(N);
4355
4408
  });
4356
4409
  };
4357
- Object.keys(Tt).forEach((p) => {
4358
- St(p, Tt[p]);
4410
+ Object.keys(At).forEach((p) => {
4411
+ Bt(p, At[p]);
4359
4412
  });
4360
- const Je = () => {
4413
+ const tt = () => {
4361
4414
  window.postMessage({ type: "GoToPreviousRoute", isMobile: P }, window.location.href);
4362
- }, Ke = (p) => {
4415
+ }, rt = (p) => {
4363
4416
  if (p.data) {
4364
4417
  switch (p.data.type) {
4365
4418
  case "ProfileDetailsData":
4366
- r(7, m = p.data.profileDetails.currency);
4419
+ r(7, d = p.data.profileDetails.currency);
4367
4420
  break;
4368
4421
  }
4369
4422
  switch (p.data["MMFE:setQuickDepositHeight"] && r(2, M = p.data["MMFE:setQuickDepositHeight"].toString() + "px"), p.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), p.data.redirect) {
@@ -4392,90 +4445,90 @@ function Wi(e, t, r) {
4392
4445
  break;
4393
4446
  }
4394
4447
  }
4395
- }, sr = () => {
4396
- let p = new URL(`${o}/v1/player/${a}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
4397
- if (p.searchParams.append("language", h), n && p.searchParams.append("isShortCashier", d), u)
4398
- switch (m) {
4448
+ }, cr = () => {
4449
+ let p = new URL(`${o}/v1/player/${s}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
4450
+ if (p.searchParams.append("language", h), n && p.searchParams.append("isShortCashier", m), u)
4451
+ switch (d) {
4399
4452
  case "USD":
4400
- B = 0.4;
4453
+ L = 0.4;
4401
4454
  break;
4402
4455
  case "CDF":
4403
- B = 1e3;
4456
+ L = 1e3;
4404
4457
  break;
4405
4458
  }
4406
4459
  let N = {
4407
4460
  method: "POST",
4408
4461
  headers: {
4409
- "X-SessionId": s,
4410
- currency: m || "EUR",
4411
- amount: B,
4462
+ "X-SessionId": a,
4463
+ currency: d || "EUR",
4464
+ amount: L,
4412
4465
  cashierMode: "Default",
4413
- IsShortCashier: d,
4466
+ IsShortCashier: m,
4414
4467
  accept: "application/json"
4415
4468
  }
4416
4469
  };
4417
- fetch(p.href, N).then((L) => L.json()).then(
4418
- (L) => {
4419
- r(1, T = !1), r(3, $ = L.CashierUrl);
4470
+ fetch(p.href, N).then((R) => R.json()).then(
4471
+ (R) => {
4472
+ r(1, T = !1), r(3, ee = R.CashierUrl);
4420
4473
  },
4421
- (L) => {
4422
- console.error(L);
4474
+ (R) => {
4475
+ console.error(R);
4423
4476
  }
4424
4477
  );
4425
- }, ar = () => {
4426
- Gi(h);
4478
+ }, fr = () => {
4479
+ Vi(h);
4427
4480
  };
4428
- vr(() => (window.addEventListener("message", Ke, !1), () => {
4429
- window.removeEventListener("message", Ke);
4481
+ Sr(() => (window.addEventListener("message", rt, !1), () => {
4482
+ window.emMessageBus && A && A.unsubscribe(), window.removeEventListener("message", rt);
4430
4483
  }));
4431
- const ur = () => Je();
4432
- function hr(p) {
4433
- Ce[p ? "unshift" : "push"](() => {
4484
+ const pr = () => tt();
4485
+ function dr(p) {
4486
+ Me[p ? "unshift" : "push"](() => {
4434
4487
  E = p, r(0, E);
4435
4488
  });
4436
4489
  }
4437
4490
  return e.$$set = (p) => {
4438
- "endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, s = p.session), "playerid" in p && r(10, a = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, c = p.clientstylingurl), "translationurl" in p && r(15, f = p.translationurl), "playercurrency" in p && r(7, m = p.playercurrency), "mbsource" in p && r(16, v = p.mbsource), "shortcashierenabled" in p && r(17, d = p.shortcashierenabled);
4491
+ "endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, a = p.session), "playerid" in p && r(10, s = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, c = p.clientstylingurl), "translationurl" in p && r(15, f = p.translationurl), "playercurrency" in p && r(7, d = p.playercurrency), "mbsource" in p && r(16, v = p.mbsource), "shortcashierenabled" in p && r(17, m = p.shortcashierenabled);
4439
4492
  }, e.$$.update = () => {
4440
4493
  e.$$.dirty & /*lang*/
4441
- 2048 && h && ar(), e.$$.dirty & /*shortcashierenabled*/
4442
- 131072 && (n = d.toLocaleLowerCase() === "true"), e.$$.dirty & /*clientstyling, customStylingContainer*/
4443
- 8193 && l && E && Di(E, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4444
- 16385 && c && E && $i(E, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4445
- 65537 && v && E && Ui(E, `${v}.Style`), e.$$.dirty & /*translationurl*/
4446
- 32768 && f && he(), e.$$.dirty & /*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/
4447
- 135040 && s && a && o && m && h && d && sr();
4494
+ 2048 && h && fr(), e.$$.dirty & /*shortcashierenabled*/
4495
+ 131072 && (n = m.toLocaleLowerCase() === "true"), e.$$.dirty & /*clientstyling, customStylingContainer*/
4496
+ 8193 && l && E && Fi(E, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4497
+ 16385 && c && E && ji(E, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4498
+ 65537 && v && E && ki(E, `${v}.Style`), e.$$.dirty & /*translationurl*/
4499
+ 32768 && f && lr(), e.$$.dirty & /*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/
4500
+ 135040 && a && s && o && d && h && m && cr();
4448
4501
  }, [
4449
4502
  E,
4450
4503
  T,
4451
4504
  M,
4452
- $,
4505
+ ee,
4453
4506
  i,
4454
4507
  P,
4455
- Je,
4456
- m,
4508
+ tt,
4509
+ d,
4457
4510
  o,
4458
- s,
4459
4511
  a,
4512
+ s,
4460
4513
  h,
4461
4514
  u,
4462
4515
  l,
4463
4516
  c,
4464
4517
  f,
4465
4518
  v,
4466
- d,
4467
- ur,
4468
- hr
4519
+ m,
4520
+ pr,
4521
+ dr
4469
4522
  ];
4470
4523
  }
4471
- class zi extends Ir {
4524
+ class qi extends Rr {
4472
4525
  constructor(t) {
4473
- super(), Pr(
4526
+ super(), Lr(
4474
4527
  this,
4475
4528
  t,
4476
- Wi,
4477
- Xi,
4478
- Bt,
4529
+ Yi,
4530
+ Qi,
4531
+ Ot,
4479
4532
  {
4480
4533
  endpoint: 8,
4481
4534
  session: 9,
@@ -4489,7 +4542,7 @@ class zi extends Ir {
4489
4542
  mbsource: 16,
4490
4543
  shortcashierenabled: 17
4491
4544
  },
4492
- Fi
4545
+ Xi
4493
4546
  );
4494
4547
  }
4495
4548
  get endpoint() {
@@ -4559,7 +4612,7 @@ class zi extends Ir {
4559
4612
  this.$$set({ shortcashierenabled: t }), H();
4560
4613
  }
4561
4614
  }
4562
- Or(zi, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
4615
+ Nr(qi, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
4563
4616
  export {
4564
- zi as P
4617
+ qi as P
4565
4618
  };