@everymatrix/cashier-verifications 1.54.6 → 1.54.9

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,28 +1,28 @@
1
1
  function Q() {
2
2
  }
3
- function qt(e) {
3
+ function Wt(e) {
4
4
  return e();
5
5
  }
6
- function wt() {
6
+ function Et() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Ie(e) {
10
- e.forEach(qt);
10
+ e.forEach(Wt);
11
11
  }
12
12
  function gt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Yt(e, t) {
15
+ function qt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ke;
19
- function Kn(e, t) {
19
+ function Qn(e, t) {
20
20
  return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
21
21
  }
22
- function Ar(e) {
22
+ function Or(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Zt(e, ...t) {
25
+ function Yt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const i of t)
28
28
  i(void 0);
@@ -31,20 +31,20 @@ function Zt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Pr(e, t, r) {
35
- e.$$.on_destroy.push(Zt(t, r));
34
+ function Ar(e, t, r) {
35
+ e.$$.on_destroy.push(Yt(t, r));
36
36
  }
37
37
  function re(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function $r(e, t, r) {
41
- const i = Br(e);
40
+ function Pr(e, t, r) {
41
+ const i = $r(e);
42
42
  if (!i.getElementById(t)) {
43
43
  const n = Z("style");
44
- n.id = t, n.textContent = r, Mr(i, n);
44
+ n.id = t, n.textContent = r, Br(i, n);
45
45
  }
46
46
  }
47
- function Br(e) {
47
+ function $r(e) {
48
48
  if (!e) return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
50
  return t && /** @type {ShadowRoot} */
@@ -53,7 +53,7 @@ function Br(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function Mr(e, t) {
56
+ function Br(e, t) {
57
57
  return re(
58
58
  /** @type {Document} */
59
59
  e.head || e,
@@ -66,14 +66,14 @@ function ae(e, t, r) {
66
66
  function ie(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function Cr(e, t) {
69
+ function Mr(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
73
73
  function Z(e) {
74
74
  return document.createElement(e);
75
75
  }
76
- function es(e) {
76
+ function Kn(e) {
77
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
78
  }
79
79
  function vt(e) {
@@ -82,7 +82,7 @@ function vt(e) {
82
82
  function xe() {
83
83
  return vt(" ");
84
84
  }
85
- function ts() {
85
+ function es() {
86
86
  return vt("");
87
87
  }
88
88
  function bt(e, t, r, i) {
@@ -95,17 +95,17 @@ function le(e, t, r) {
95
95
  const i = t.toLowerCase();
96
96
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
97
97
  }
98
- function Dr(e) {
98
+ function Cr(e) {
99
99
  return Array.from(e.childNodes);
100
100
  }
101
- function Ir(e, t) {
101
+ function Dr(e, t) {
102
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
103
103
  t);
104
104
  }
105
105
  function Ee(e, t, r) {
106
106
  e.classList.toggle(t, !!r);
107
107
  }
108
- function Lr(e) {
108
+ function Ir(e) {
109
109
  const t = {};
110
110
  return e.childNodes.forEach(
111
111
  /** @param {Element} node */
@@ -118,19 +118,19 @@ let Me;
118
118
  function Be(e) {
119
119
  Me = e;
120
120
  }
121
- function Nr() {
121
+ function Lr() {
122
122
  if (!Me) throw new Error("Function called outside component initialization");
123
123
  return Me;
124
124
  }
125
- function rs(e) {
126
- Nr().$$.on_mount.push(e);
125
+ function ts(e) {
126
+ Lr().$$.on_mount.push(e);
127
127
  }
128
128
  const ye = [], st = [];
129
129
  let _e = [];
130
- const St = [], Rr = /* @__PURE__ */ Promise.resolve();
130
+ const wt = [], Nr = /* @__PURE__ */ Promise.resolve();
131
131
  let ot = !1;
132
- function kr() {
133
- ot || (ot = !0, Rr.then(te));
132
+ function Rr() {
133
+ ot || (ot = !0, Nr.then(te));
134
134
  }
135
135
  function at(e) {
136
136
  _e.push(e);
@@ -145,7 +145,7 @@ function te() {
145
145
  try {
146
146
  for (; ve < ye.length; ) {
147
147
  const t = ye[ve];
148
- ve++, Be(t), Ur(t.$$);
148
+ ve++, Be(t), kr(t.$$);
149
149
  }
150
150
  } catch (t) {
151
151
  throw ye.length = 0, ve = 0, t;
@@ -157,43 +157,43 @@ function te() {
157
157
  }
158
158
  _e.length = 0;
159
159
  } while (ye.length);
160
- for (; St.length; )
161
- St.pop()();
160
+ for (; wt.length; )
161
+ wt.pop()();
162
162
  ot = !1, Qe.clear(), Be(e);
163
163
  }
164
- function Ur(e) {
164
+ function kr(e) {
165
165
  if (e.fragment !== null) {
166
166
  e.update(), Ie(e.before_update);
167
167
  const t = e.dirty;
168
168
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
169
169
  }
170
170
  }
171
- function Fr(e) {
171
+ function Ur(e) {
172
172
  const t = [], r = [];
173
173
  _e.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), _e = t;
174
174
  }
175
- const Vr = /* @__PURE__ */ new Set();
176
- function Gr(e, t) {
177
- e && e.i && (Vr.delete(e), e.i(t));
175
+ const Fr = /* @__PURE__ */ new Set();
176
+ function Vr(e, t) {
177
+ e && e.i && (Fr.delete(e), e.i(t));
178
178
  }
179
- function Tt(e) {
179
+ function St(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function jr(e, t, r) {
182
+ function Gr(e, t, r) {
183
183
  const { fragment: i, after_update: n } = e.$$;
184
184
  i && i.m(t, r), at(() => {
185
- const s = e.$$.on_mount.map(qt).filter(gt);
185
+ const s = e.$$.on_mount.map(Wt).filter(gt);
186
186
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
187
187
  }), n.forEach(at);
188
188
  }
189
- function zr(e, t) {
189
+ function jr(e, t) {
190
190
  const r = e.$$;
191
- r.fragment !== null && (Fr(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
191
+ r.fragment !== null && (Ur(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
192
  }
193
- function Xr(e, t) {
194
- e.$$.dirty[0] === -1 && (ye.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
+ function zr(e, t) {
194
+ e.$$.dirty[0] === -1 && (ye.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
195
  }
196
- function Wr(e, t, r, i, n, s, l = null, a = [-1]) {
196
+ function Xr(e, t, r, i, n, s, l = null, a = [-1]) {
197
197
  const o = Me;
198
198
  Be(e);
199
199
  const u = e.$$ = {
@@ -203,7 +203,7 @@ function Wr(e, t, r, i, n, s, l = null, a = [-1]) {
203
203
  props: s,
204
204
  update: Q,
205
205
  not_equal: n,
206
- bound: wt(),
206
+ bound: Et(),
207
207
  // lifecycle
208
208
  on_mount: [],
209
209
  on_destroy: [],
@@ -212,7 +212,7 @@ function Wr(e, t, r, i, n, s, l = null, a = [-1]) {
212
212
  after_update: [],
213
213
  context: new Map(t.context || (o ? o.$$.context : [])),
214
214
  // everything else
215
- callbacks: wt(),
215
+ callbacks: Et(),
216
216
  dirty: a,
217
217
  skip_bound: !1,
218
218
  root: t.target || o.$$.root
@@ -221,19 +221,19 @@ function Wr(e, t, r, i, n, s, l = null, a = [-1]) {
221
221
  let h = !1;
222
222
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
223
223
  const H = E.length ? E[0] : m;
224
- return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && Xr(e, c)), m;
224
+ return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && zr(e, c)), m;
225
225
  }) : [], u.update(), h = !0, Ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
226
226
  if (t.hydrate) {
227
- const c = Dr(t.target);
227
+ const c = Cr(t.target);
228
228
  u.fragment && u.fragment.l(c), c.forEach(ie);
229
229
  } else
230
230
  u.fragment && u.fragment.c();
231
- t.intro && Gr(e.$$.fragment), jr(e, t.target, t.anchor), te();
231
+ t.intro && Vr(e.$$.fragment), Gr(e, t.target, t.anchor), te();
232
232
  }
233
233
  Be(o);
234
234
  }
235
- let Jt;
236
- typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
235
+ let Zt;
236
+ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
237
237
  /** The Svelte component constructor */
238
238
  $$ctor;
239
239
  /** Slots */
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
292
292
  };
293
293
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
294
  return;
295
- const t = {}, r = Lr(this);
295
+ const t = {}, r = Ir(this);
296
296
  for (const n of this.$$s)
297
297
  n in r && (t[n] = [e(n)]);
298
298
  for (const n of this.attributes) {
@@ -379,8 +379,8 @@ function Fe(e, t, r, i) {
379
379
  return t;
380
380
  }
381
381
  }
382
- function qr(e, t, r, i, n, s) {
383
- let l = class extends Jt {
382
+ function Wr(e, t, r, i, n, s) {
383
+ let l = class extends Zt {
384
384
  constructor() {
385
385
  super(e, r, n), this.$$p_d = t;
386
386
  }
@@ -408,7 +408,7 @@ function qr(e, t, r, i, n, s) {
408
408
  }), e.element = /** @type {any} */
409
409
  l, l;
410
410
  }
411
- class Yr {
411
+ class qr {
412
412
  /**
413
413
  * ### PRIVATE API
414
414
  *
@@ -427,7 +427,7 @@ class Yr {
427
427
  $$set = void 0;
428
428
  /** @returns {void} */
429
429
  $destroy() {
430
- zr(this, 1), this.$destroy = Q;
430
+ jr(this, 1), this.$destroy = Q;
431
431
  }
432
432
  /**
433
433
  * @template {Extract<keyof Events, string>} K
@@ -449,13 +449,13 @@ class Yr {
449
449
  * @returns {void}
450
450
  */
451
451
  $set(t) {
452
- this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
452
+ this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
453
  }
454
454
  }
455
- const Zr = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
455
+ const Yr = "4";
456
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
457
457
  const be = [];
458
- function Jr(e, t) {
458
+ function Zr(e, t) {
459
459
  return {
460
460
  subscribe: We(e, t).subscribe
461
461
  };
@@ -464,7 +464,7 @@ function We(e, t = Q) {
464
464
  let r;
465
465
  const i = /* @__PURE__ */ new Set();
466
466
  function n(a) {
467
- if (Yt(e, a) && (e = a, r)) {
467
+ if (qt(e, a) && (e = a, r)) {
468
468
  const o = !be.length;
469
469
  for (const u of i)
470
470
  u[1](), be.push(u, e);
@@ -491,7 +491,7 @@ function Oe(e, t, r) {
491
491
  if (!n.every(Boolean))
492
492
  throw new Error("derived() expects stores as input, got a falsy value");
493
493
  const s = t.length < 2;
494
- return Jr(r, (l, a) => {
494
+ return Zr(r, (l, a) => {
495
495
  let o = !1;
496
496
  const u = [];
497
497
  let h = 0, c = Q;
@@ -502,7 +502,7 @@ function Oe(e, t, r) {
502
502
  const H = t(i ? u[0] : u, l, a);
503
503
  s ? l(H) : c = gt(H) ? H : Q;
504
504
  }, E = n.map(
505
- (H, v) => Zt(
505
+ (H, v) => Yt(
506
506
  H,
507
507
  ($) => {
508
508
  u[v] = $, h &= ~(1 << v), o && m();
@@ -517,71 +517,71 @@ function Oe(e, t, r) {
517
517
  };
518
518
  });
519
519
  }
520
- var Qt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
520
+ var Jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
521
521
  function yt(e) {
522
522
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
523
523
  }
524
- var Qr = function(t) {
525
- return Kr(t) && !ei(t);
524
+ var Jr = function(t) {
525
+ return Qr(t) && !Kr(t);
526
526
  };
527
- function Kr(e) {
527
+ function Qr(e) {
528
528
  return !!e && typeof e == "object";
529
529
  }
530
- function ei(e) {
530
+ function Kr(e) {
531
531
  var t = Object.prototype.toString.call(e);
532
- return t === "[object RegExp]" || t === "[object Date]" || ii(e);
532
+ return t === "[object RegExp]" || t === "[object Date]" || ri(e);
533
533
  }
534
- var ti = typeof Symbol == "function" && Symbol.for, ri = ti ? Symbol.for("react.element") : 60103;
535
- function ii(e) {
536
- return e.$$typeof === ri;
534
+ var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
535
+ function ri(e) {
536
+ return e.$$typeof === ti;
537
537
  }
538
- function ni(e) {
538
+ function ii(e) {
539
539
  return Array.isArray(e) ? [] : {};
540
540
  }
541
541
  function Ce(e, t) {
542
- return t.clone !== !1 && t.isMergeableObject(e) ? we(ni(e), e, t) : e;
542
+ return t.clone !== !1 && t.isMergeableObject(e) ? we(ii(e), e, t) : e;
543
543
  }
544
- function si(e, t, r) {
544
+ function ni(e, t, r) {
545
545
  return e.concat(t).map(function(i) {
546
546
  return Ce(i, r);
547
547
  });
548
548
  }
549
- function oi(e, t) {
549
+ function si(e, t) {
550
550
  if (!t.customMerge)
551
551
  return we;
552
552
  var r = t.customMerge(e);
553
553
  return typeof r == "function" ? r : we;
554
554
  }
555
- function ai(e) {
555
+ function oi(e) {
556
556
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
557
557
  return Object.propertyIsEnumerable.call(e, t);
558
558
  }) : [];
559
559
  }
560
- function Ht(e) {
561
- return Object.keys(e).concat(ai(e));
560
+ function Tt(e) {
561
+ return Object.keys(e).concat(oi(e));
562
562
  }
563
- function Kt(e, t) {
563
+ function Qt(e, t) {
564
564
  try {
565
565
  return t in e;
566
566
  } catch {
567
567
  return !1;
568
568
  }
569
569
  }
570
- function ui(e, t) {
571
- return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
570
+ function ai(e, t) {
571
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
572
572
  }
573
- function li(e, t, r) {
573
+ function ui(e, t, r) {
574
574
  var i = {};
575
- return r.isMergeableObject(e) && Ht(e).forEach(function(n) {
575
+ return r.isMergeableObject(e) && Tt(e).forEach(function(n) {
576
576
  i[n] = Ce(e[n], r);
577
- }), Ht(t).forEach(function(n) {
578
- ui(e, n) || (Kt(e, n) && r.isMergeableObject(t[n]) ? i[n] = oi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
577
+ }), Tt(t).forEach(function(n) {
578
+ ai(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = si(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
579
579
  }), i;
580
580
  }
581
581
  function we(e, t, r) {
582
- r = r || {}, r.arrayMerge = r.arrayMerge || si, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = Ce;
582
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = Ce;
583
583
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
584
- return s ? i ? r.arrayMerge(e, t, r) : li(e, t, r) : Ce(t, r);
584
+ return s ? i ? r.arrayMerge(e, t, r) : ui(e, t, r) : Ce(t, r);
585
585
  }
586
586
  we.all = function(t, r) {
587
587
  if (!Array.isArray(t))
@@ -590,8 +590,8 @@ we.all = function(t, r) {
590
590
  return we(i, n, r);
591
591
  }, {});
592
592
  };
593
- var hi = we, fi = hi;
594
- const ci = /* @__PURE__ */ yt(fi);
593
+ var li = we, hi = li;
594
+ const fi = /* @__PURE__ */ yt(hi);
595
595
  var ut = function(e, t) {
596
596
  return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
597
597
  r.__proto__ = i;
@@ -617,7 +617,7 @@ var A = function() {
617
617
  return t;
618
618
  }, A.apply(this, arguments);
619
619
  };
620
- function di(e, t) {
620
+ function ci(e, t) {
621
621
  var r = {};
622
622
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
623
623
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -631,39 +631,36 @@ function Ke(e, t, r) {
631
631
  return e.concat(s || Array.prototype.slice.call(t));
632
632
  }
633
633
  function et(e, t) {
634
- var r = t && t.cache ? t.cache : xi, i = t && t.serializer ? t.serializer : bi, n = t && t.strategy ? t.strategy : pi;
634
+ var r = t && t.cache ? t.cache : yi, i = t && t.serializer ? t.serializer : vi, n = t && t.strategy ? t.strategy : pi;
635
635
  return n(e, {
636
636
  cache: r,
637
637
  serializer: i
638
638
  });
639
639
  }
640
- function mi(e) {
640
+ function di(e) {
641
641
  return e == null || typeof e == "number" || typeof e == "boolean";
642
642
  }
643
- function er(e, t, r, i) {
644
- var n = mi(i) ? i : r(i), s = t.get(n);
643
+ function mi(e, t, r, i) {
644
+ var n = di(i) ? i : r(i), s = t.get(n);
645
645
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
646
646
  }
647
- function tr(e, t, r) {
647
+ function Kt(e, t, r) {
648
648
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
649
649
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
650
650
  }
651
- function xt(e, t, r, i, n) {
651
+ function er(e, t, r, i, n) {
652
652
  return r.bind(t, e, i, n);
653
653
  }
654
654
  function pi(e, t) {
655
- var r = e.length === 1 ? er : tr;
656
- return xt(e, this, r, t.cache.create(), t.serializer);
655
+ var r = e.length === 1 ? mi : Kt;
656
+ return er(e, this, r, t.cache.create(), t.serializer);
657
657
  }
658
658
  function gi(e, t) {
659
- return xt(e, this, tr, t.cache.create(), t.serializer);
660
- }
661
- function vi(e, t) {
662
- return xt(e, this, er, t.cache.create(), t.serializer);
659
+ return er(e, this, Kt, t.cache.create(), t.serializer);
663
660
  }
664
- var bi = function() {
661
+ var vi = function() {
665
662
  return JSON.stringify(arguments);
666
- }, yi = (
663
+ }, bi = (
667
664
  /** @class */
668
665
  function() {
669
666
  function e() {
@@ -675,13 +672,12 @@ var bi = function() {
675
672
  this.cache[t] = r;
676
673
  }, e;
677
674
  }()
678
- ), xi = {
675
+ ), yi = {
679
676
  create: function() {
680
- return new yi();
677
+ return new bi();
681
678
  }
682
679
  }, tt = {
683
- variadic: gi,
684
- monadic: vi
680
+ variadic: gi
685
681
  }, T;
686
682
  (function(e) {
687
683
  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";
@@ -694,43 +690,43 @@ var Se;
694
690
  (function(e) {
695
691
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
696
692
  })(Se || (Se = {}));
697
- function Ot(e) {
693
+ function Ht(e) {
698
694
  return e.type === C.literal;
699
695
  }
700
- function _i(e) {
696
+ function xi(e) {
701
697
  return e.type === C.argument;
702
698
  }
703
- function rr(e) {
699
+ function tr(e) {
704
700
  return e.type === C.number;
705
701
  }
706
- function ir(e) {
702
+ function rr(e) {
707
703
  return e.type === C.date;
708
704
  }
709
- function nr(e) {
705
+ function ir(e) {
710
706
  return e.type === C.time;
711
707
  }
712
- function sr(e) {
708
+ function nr(e) {
713
709
  return e.type === C.select;
714
710
  }
715
- function or(e) {
711
+ function sr(e) {
716
712
  return e.type === C.plural;
717
713
  }
718
- function Ei(e) {
714
+ function _i(e) {
719
715
  return e.type === C.pound;
720
716
  }
721
- function ar(e) {
717
+ function or(e) {
722
718
  return e.type === C.tag;
723
719
  }
724
- function ur(e) {
720
+ function ar(e) {
725
721
  return !!(e && typeof e == "object" && e.type === Se.number);
726
722
  }
727
723
  function lt(e) {
728
724
  return !!(e && typeof e == "object" && e.type === Se.dateTime);
729
725
  }
730
- var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
731
- function Si(e) {
726
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ei = /(?:[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;
727
+ function wi(e) {
732
728
  var t = {};
733
- return e.replace(wi, function(r) {
729
+ return e.replace(Ei, function(r) {
734
730
  var i = r.length;
735
731
  switch (r[0]) {
736
732
  case "G":
@@ -819,11 +815,11 @@ function Si(e) {
819
815
  return "";
820
816
  }), t;
821
817
  }
822
- var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
823
- function Hi(e) {
818
+ var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
819
+ function Ti(e) {
824
820
  if (e.length === 0)
825
821
  throw new Error("Number skeleton cannot be empty");
826
- for (var t = e.split(Ti).filter(function(m) {
822
+ for (var t = e.split(Si).filter(function(m) {
827
823
  return m.length > 0;
828
824
  }), r = [], i = 0, n = t; i < n.length; i++) {
829
825
  var s = n[i], l = s.split("/");
@@ -838,17 +834,17 @@ function Hi(e) {
838
834
  }
839
835
  return r;
840
836
  }
841
- function Oi(e) {
837
+ function Hi(e) {
842
838
  return e.replace(/^(.*?)-/, "");
843
839
  }
844
- var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
845
- function Pt(e) {
840
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Oi = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
841
+ function At(e) {
846
842
  var t = {};
847
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, i, n) {
843
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
848
844
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
849
845
  }), t;
850
846
  }
851
- function cr(e) {
847
+ function fr(e) {
852
848
  switch (e) {
853
849
  case "sign-auto":
854
850
  return {
@@ -888,7 +884,7 @@ function cr(e) {
888
884
  };
889
885
  }
890
886
  }
891
- function Pi(e) {
887
+ function Ai(e) {
892
888
  var t;
893
889
  if (e[0] === "E" && e[1] === "E" ? (t = {
894
890
  notation: "engineering"
@@ -896,17 +892,17 @@ function Pi(e) {
896
892
  notation: "scientific"
897
893
  }, e = e.slice(1)), t) {
898
894
  var r = e.slice(0, 2);
899
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
895
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
900
896
  throw new Error("Malformed concise eng/scientific notation");
901
897
  t.minimumIntegerDigits = e.length;
902
898
  }
903
899
  return t;
904
900
  }
905
- function $t(e) {
906
- var t = {}, r = cr(e);
901
+ function Pt(e) {
902
+ var t = {}, r = fr(e);
907
903
  return r || t;
908
904
  }
909
- function $i(e) {
905
+ function Pi(e) {
910
906
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
911
907
  var n = i[r];
912
908
  switch (n.stem) {
@@ -930,7 +926,7 @@ function $i(e) {
930
926
  continue;
931
927
  case "measure-unit":
932
928
  case "unit":
933
- t.style = "unit", t.unit = Oi(n.options[0]);
929
+ t.style = "unit", t.unit = Hi(n.options[0]);
934
930
  continue;
935
931
  case "compact-short":
936
932
  case "K":
@@ -942,12 +938,12 @@ function $i(e) {
942
938
  continue;
943
939
  case "scientific":
944
940
  t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
945
- return A(A({}, o), $t(u));
941
+ return A(A({}, o), Pt(u));
946
942
  }, {}));
947
943
  continue;
948
944
  case "engineering":
949
945
  t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
950
- return A(A({}, o), $t(u));
946
+ return A(A({}, o), Pt(u));
951
947
  }, {}));
952
948
  continue;
953
949
  case "notation-simple":
@@ -992,7 +988,7 @@ function $i(e) {
992
988
  case "integer-width":
993
989
  if (n.options.length > 1)
994
990
  throw new RangeError("integer-width stems only accept a single optional option");
995
- n.options[0].replace(Ai, function(o, u, h, c, m, E) {
991
+ n.options[0].replace(Oi, function(o, u, h, c, m, E) {
996
992
  if (u)
997
993
  t.minimumIntegerDigits = h.length;
998
994
  else {
@@ -1005,27 +1001,27 @@ function $i(e) {
1005
1001
  });
1006
1002
  continue;
1007
1003
  }
1008
- if (fr.test(n.stem)) {
1004
+ if (hr.test(n.stem)) {
1009
1005
  t.minimumIntegerDigits = n.stem.length;
1010
1006
  continue;
1011
1007
  }
1012
- if (At.test(n.stem)) {
1008
+ if (Ot.test(n.stem)) {
1013
1009
  if (n.options.length > 1)
1014
1010
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1015
- n.stem.replace(At, function(o, u, h, c, m, E) {
1011
+ n.stem.replace(Ot, function(o, u, h, c, m, E) {
1016
1012
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1017
1013
  });
1018
1014
  var s = n.options[0];
1019
- s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Pt(s)));
1015
+ s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), At(s)));
1020
1016
  continue;
1021
1017
  }
1022
- if (hr.test(n.stem)) {
1023
- t = A(A({}, t), Pt(n.stem));
1018
+ if (lr.test(n.stem)) {
1019
+ t = A(A({}, t), At(n.stem));
1024
1020
  continue;
1025
1021
  }
1026
- var l = cr(n.stem);
1022
+ var l = fr(n.stem);
1027
1023
  l && (t = A(A({}, t), l));
1028
- var a = Pi(n.stem);
1024
+ var a = Ai(n.stem);
1029
1025
  a && (t = A(A({}, t), a));
1030
1026
  }
1031
1027
  return t;
@@ -2445,13 +2441,13 @@ var Ue = {
2445
2441
  "h"
2446
2442
  ]
2447
2443
  };
2448
- function Bi(e, t) {
2444
+ function $i(e, t) {
2449
2445
  for (var r = "", i = 0; i < e.length; i++) {
2450
2446
  var n = e.charAt(i);
2451
2447
  if (n === "j") {
2452
2448
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2453
2449
  s++, i++;
2454
- var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Mi(t);
2450
+ var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Bi(t);
2455
2451
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2456
2452
  r += o;
2457
2453
  for (; l-- > 0; )
@@ -2460,7 +2456,7 @@ function Bi(e, t) {
2460
2456
  }
2461
2457
  return r;
2462
2458
  }
2463
- function Mi(e) {
2459
+ function Bi(e) {
2464
2460
  var t = e.hourCycle;
2465
2461
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2466
2462
  e.hourCycles && // @ts-ignore
@@ -2482,20 +2478,20 @@ function Mi(e) {
2482
2478
  var n = Ue[i || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2483
2479
  return n[0];
2484
2480
  }
2485
- var rt, Ci = new RegExp("^".concat(lr.source, "*")), Di = new RegExp("".concat(lr.source, "*$"));
2481
+ var rt, Mi = new RegExp("^".concat(ur.source, "*")), Ci = new RegExp("".concat(ur.source, "*$"));
2486
2482
  function O(e, t) {
2487
2483
  return { start: e, end: t };
2488
2484
  }
2489
- var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Vi = Fi ? Number.isSafeInteger : function(e) {
2485
+ var Di = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ii = !!String.fromCodePoint, Li = !!Object.fromEntries, Ni = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Fi = Ui ? Number.isSafeInteger : function(e) {
2490
2486
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2491
2487
  }, ht = !0;
2492
2488
  try {
2493
- var Gi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2494
- ht = ((rt = Gi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2489
+ var Vi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2490
+ ht = ((rt = Vi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2495
2491
  } catch {
2496
2492
  ht = !1;
2497
2493
  }
2498
- var Bt = Ii ? (
2494
+ var $t = Di ? (
2499
2495
  // Native
2500
2496
  function(t, r, i) {
2501
2497
  return t.startsWith(r, i);
@@ -2505,7 +2501,7 @@ var Bt = Ii ? (
2505
2501
  function(t, r, i) {
2506
2502
  return t.slice(i, i + r.length) === r;
2507
2503
  }
2508
- ), ft = Li ? String.fromCodePoint : (
2504
+ ), ft = Ii ? String.fromCodePoint : (
2509
2505
  // IE11
2510
2506
  function() {
2511
2507
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2517,9 +2513,9 @@ var Bt = Ii ? (
2517
2513
  }
2518
2514
  return i;
2519
2515
  }
2520
- ), Mt = (
2516
+ ), Bt = (
2521
2517
  // native
2522
- Ni ? Object.fromEntries : (
2518
+ Li ? Object.fromEntries : (
2523
2519
  // Ponyfill
2524
2520
  function(t) {
2525
2521
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2529,7 +2525,7 @@ var Bt = Ii ? (
2529
2525
  return r;
2530
2526
  }
2531
2527
  )
2532
- ), dr = Ri ? (
2528
+ ), cr = Ni ? (
2533
2529
  // Native
2534
2530
  function(t, r) {
2535
2531
  return t.codePointAt(r);
@@ -2543,7 +2539,7 @@ var Bt = Ii ? (
2543
2539
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2544
2540
  }
2545
2541
  }
2546
- ), ji = ki ? (
2542
+ ), Gi = Ri ? (
2547
2543
  // Native
2548
2544
  function(t) {
2549
2545
  return t.trimStart();
@@ -2551,9 +2547,9 @@ var Bt = Ii ? (
2551
2547
  ) : (
2552
2548
  // Ponyfill
2553
2549
  function(t) {
2554
- return t.replace(Ci, "");
2550
+ return t.replace(Mi, "");
2555
2551
  }
2556
- ), zi = Ui ? (
2552
+ ), ji = ki ? (
2557
2553
  // Native
2558
2554
  function(t) {
2559
2555
  return t.trimEnd();
@@ -2561,32 +2557,32 @@ var Bt = Ii ? (
2561
2557
  ) : (
2562
2558
  // Ponyfill
2563
2559
  function(t) {
2564
- return t.replace(Di, "");
2560
+ return t.replace(Ci, "");
2565
2561
  }
2566
2562
  );
2567
- function mr(e, t) {
2563
+ function dr(e, t) {
2568
2564
  return new RegExp(e, t);
2569
2565
  }
2570
2566
  var ct;
2571
2567
  if (ht) {
2572
- var Ct = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2568
+ var Mt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2573
2569
  ct = function(t, r) {
2574
2570
  var i;
2575
- Ct.lastIndex = r;
2576
- var n = Ct.exec(t);
2571
+ Mt.lastIndex = r;
2572
+ var n = Mt.exec(t);
2577
2573
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2578
2574
  };
2579
2575
  } else
2580
2576
  ct = function(t, r) {
2581
2577
  for (var i = []; ; ) {
2582
- var n = dr(t, r);
2583
- if (n === void 0 || pr(n) || Yi(n))
2578
+ var n = cr(t, r);
2579
+ if (n === void 0 || mr(n) || qi(n))
2584
2580
  break;
2585
2581
  i.push(n), r += n >= 65536 ? 2 : 1;
2586
2582
  }
2587
2583
  return ft.apply(void 0, i);
2588
2584
  };
2589
- var Xi = (
2585
+ var zi = (
2590
2586
  /** @class */
2591
2587
  function() {
2592
2588
  function e(t, r) {
@@ -2668,7 +2664,7 @@ var Xi = (
2668
2664
  return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
2669
2665
  }, e.prototype.parseTagName = function() {
2670
2666
  var t = this.offset();
2671
- for (this.bump(); !this.isEOF() && qi(this.char()); )
2667
+ for (this.bump(); !this.isEOF() && Wi(this.char()); )
2672
2668
  this.bump();
2673
2669
  return this.message.slice(t, this.offset());
2674
2670
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2697,7 +2693,7 @@ var Xi = (
2697
2693
  };
2698
2694
  }, e.prototype.tryParseLeftAngleBracket = function() {
2699
2695
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2700
- !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
2696
+ !Xi(this.peek() || 0)) ? (this.bump(), "<") : null;
2701
2697
  }, e.prototype.tryParseQuote = function(t) {
2702
2698
  if (this.isEOF() || this.char() !== 39)
2703
2699
  return null;
@@ -2784,7 +2780,7 @@ var Xi = (
2784
2780
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2785
2781
  if (c.err)
2786
2782
  return c;
2787
- var m = zi(c.val);
2783
+ var m = ji(c.val);
2788
2784
  if (m.length === 0)
2789
2785
  return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2790
2786
  var E = O(h, this.clonePosition());
@@ -2794,8 +2790,8 @@ var Xi = (
2794
2790
  if (H.err)
2795
2791
  return H;
2796
2792
  var v = O(n, this.clonePosition());
2797
- if (u && Bt(u?.style, "::", 0)) {
2798
- var $ = ji(u.style.slice(2));
2793
+ if (u && $t(u?.style, "::", 0)) {
2794
+ var $ = Gi(u.style.slice(2));
2799
2795
  if (a === "number") {
2800
2796
  var c = this.parseNumberSkeletonFromString($, u.styleLocation);
2801
2797
  return c.err ? c : {
@@ -2806,12 +2802,12 @@ var Xi = (
2806
2802
  if ($.length === 0)
2807
2803
  return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2808
2804
  var V = $;
2809
- this.locale && (V = Bi($, this.locale));
2805
+ this.locale && (V = $i($, this.locale));
2810
2806
  var m = {
2811
2807
  type: Se.dateTime,
2812
2808
  pattern: V,
2813
2809
  location: u.styleLocation,
2814
- parsedOptions: this.shouldParseSkeletons ? Si(V) : {}
2810
+ parsedOptions: this.shouldParseSkeletons ? wi(V) : {}
2815
2811
  }, U = a === "date" ? C.date : C.time;
2816
2812
  return {
2817
2813
  val: { type: U, value: i, location: v, style: m },
@@ -2857,7 +2853,7 @@ var Xi = (
2857
2853
  val: {
2858
2854
  type: C.select,
2859
2855
  value: i,
2860
- options: Mt(L.val),
2856
+ options: Bt(L.val),
2861
2857
  location: q
2862
2858
  },
2863
2859
  err: null
@@ -2865,7 +2861,7 @@ var Xi = (
2865
2861
  val: {
2866
2862
  type: C.plural,
2867
2863
  value: i,
2868
- options: Mt(L.val),
2864
+ options: Bt(L.val),
2869
2865
  offset: I,
2870
2866
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2871
2867
  location: q
@@ -2916,7 +2912,7 @@ var Xi = (
2916
2912
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2917
2913
  var i = [];
2918
2914
  try {
2919
- i = Hi(t);
2915
+ i = Ti(t);
2920
2916
  } catch {
2921
2917
  return this.error(T.INVALID_NUMBER_SKELETON, r);
2922
2918
  }
@@ -2925,7 +2921,7 @@ var Xi = (
2925
2921
  type: Se.number,
2926
2922
  tokens: i,
2927
2923
  location: r,
2928
- parsedOptions: this.shouldParseSkeletons ? $i(i) : {}
2924
+ parsedOptions: this.shouldParseSkeletons ? Pi(i) : {}
2929
2925
  },
2930
2926
  err: null
2931
2927
  };
@@ -2973,7 +2969,7 @@ var Xi = (
2973
2969
  break;
2974
2970
  }
2975
2971
  var o = O(n, this.clonePosition());
2976
- return s ? (l *= i, Vi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2972
+ return s ? (l *= i, Fi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2977
2973
  }, e.prototype.offset = function() {
2978
2974
  return this.position.offset;
2979
2975
  }, e.prototype.isEOF = function() {
@@ -2988,7 +2984,7 @@ var Xi = (
2988
2984
  var t = this.position.offset;
2989
2985
  if (t >= this.message.length)
2990
2986
  throw Error("out of bound");
2991
- var r = dr(this.message, t);
2987
+ var r = cr(this.message, t);
2992
2988
  if (r === void 0)
2993
2989
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2994
2990
  return r;
@@ -3007,7 +3003,7 @@ var Xi = (
3007
3003
  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);
3008
3004
  }
3009
3005
  }, e.prototype.bumpIf = function(t) {
3010
- if (Bt(this.message, t, this.offset())) {
3006
+ if ($t(this.message, t, this.offset())) {
3011
3007
  for (var r = 0; r < t.length; r++)
3012
3008
  this.bump();
3013
3009
  return !0;
@@ -3029,7 +3025,7 @@ var Xi = (
3029
3025
  break;
3030
3026
  }
3031
3027
  }, e.prototype.bumpSpace = function() {
3032
- for (; !this.isEOF() && pr(this.char()); )
3028
+ for (; !this.isEOF() && mr(this.char()); )
3033
3029
  this.bump();
3034
3030
  }, e.prototype.peek = function() {
3035
3031
  if (this.isEOF())
@@ -3042,29 +3038,29 @@ var Xi = (
3042
3038
  function dt(e) {
3043
3039
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3044
3040
  }
3045
- function Wi(e) {
3041
+ function Xi(e) {
3046
3042
  return dt(e) || e === 47;
3047
3043
  }
3048
- function qi(e) {
3044
+ function Wi(e) {
3049
3045
  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;
3050
3046
  }
3051
- function pr(e) {
3047
+ function mr(e) {
3052
3048
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3053
3049
  }
3054
- function Yi(e) {
3050
+ function qi(e) {
3055
3051
  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;
3056
3052
  }
3057
3053
  function mt(e) {
3058
3054
  e.forEach(function(t) {
3059
- if (delete t.location, sr(t) || or(t))
3055
+ if (delete t.location, nr(t) || sr(t))
3060
3056
  for (var r in t.options)
3061
3057
  delete t.options[r].location, mt(t.options[r].value);
3062
- else rr(t) && ur(t.style) || (ir(t) || nr(t)) && lt(t.style) ? delete t.style.location : ar(t) && mt(t.children);
3058
+ else tr(t) && ar(t.style) || (rr(t) || ir(t)) && lt(t.style) ? delete t.style.location : or(t) && mt(t.children);
3063
3059
  });
3064
3060
  }
3065
- function Zi(e, t) {
3061
+ function Yi(e, t) {
3066
3062
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3067
- var r = new Xi(e, t).parse();
3063
+ var r = new zi(e, t).parse();
3068
3064
  if (r.err) {
3069
3065
  var i = SyntaxError(T[r.err.kind]);
3070
3066
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
@@ -3087,7 +3083,7 @@ var Ye = (
3087
3083
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3088
3084
  }, t;
3089
3085
  }(Error)
3090
- ), Dt = (
3086
+ ), Ct = (
3091
3087
  /** @class */
3092
3088
  function(e) {
3093
3089
  qe(t, e);
@@ -3096,7 +3092,7 @@ var Ye = (
3096
3092
  }
3097
3093
  return t;
3098
3094
  }(Ye)
3099
- ), Ji = (
3095
+ ), Zi = (
3100
3096
  /** @class */
3101
3097
  function(e) {
3102
3098
  qe(t, e);
@@ -3105,7 +3101,7 @@ var Ye = (
3105
3101
  }
3106
3102
  return t;
3107
3103
  }(Ye)
3108
- ), Qi = (
3104
+ ), Ji = (
3109
3105
  /** @class */
3110
3106
  function(e) {
3111
3107
  qe(t, e);
@@ -3118,17 +3114,17 @@ var Ye = (
3118
3114
  (function(e) {
3119
3115
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3120
3116
  })(j || (j = {}));
3121
- function Ki(e) {
3117
+ function Qi(e) {
3122
3118
  return e.length < 2 ? e : e.reduce(function(t, r) {
3123
3119
  var i = t[t.length - 1];
3124
3120
  return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
3125
3121
  }, []);
3126
3122
  }
3127
- function en(e) {
3123
+ function Ki(e) {
3128
3124
  return typeof e == "function";
3129
3125
  }
3130
3126
  function Ve(e, t, r, i, n, s, l) {
3131
- if (e.length === 1 && Ot(e[0]))
3127
+ if (e.length === 1 && Ht(e[0]))
3132
3128
  return [
3133
3129
  {
3134
3130
  type: j.literal,
@@ -3137,14 +3133,14 @@ function Ve(e, t, r, i, n, s, l) {
3137
3133
  ];
3138
3134
  for (var a = [], o = 0, u = e; o < u.length; o++) {
3139
3135
  var h = u[o];
3140
- if (Ot(h)) {
3136
+ if (Ht(h)) {
3141
3137
  a.push({
3142
3138
  type: j.literal,
3143
3139
  value: h.value
3144
3140
  });
3145
3141
  continue;
3146
3142
  }
3147
- if (Ei(h)) {
3143
+ if (_i(h)) {
3148
3144
  typeof s == "number" && a.push({
3149
3145
  type: j.literal,
3150
3146
  value: r.getNumberFormat(t).format(s)
@@ -3153,16 +3149,16 @@ function Ve(e, t, r, i, n, s, l) {
3153
3149
  }
3154
3150
  var c = h.value;
3155
3151
  if (!(n && c in n))
3156
- throw new Qi(c, l);
3152
+ throw new Ji(c, l);
3157
3153
  var m = n[c];
3158
- if (_i(h)) {
3154
+ if (xi(h)) {
3159
3155
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3160
3156
  type: typeof m == "string" ? j.literal : j.object,
3161
3157
  value: m
3162
3158
  });
3163
3159
  continue;
3164
3160
  }
3165
- if (ir(h)) {
3161
+ if (rr(h)) {
3166
3162
  var E = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3167
3163
  a.push({
3168
3164
  type: j.literal,
@@ -3170,7 +3166,7 @@ function Ve(e, t, r, i, n, s, l) {
3170
3166
  });
3171
3167
  continue;
3172
3168
  }
3173
- if (nr(h)) {
3169
+ if (ir(h)) {
3174
3170
  var E = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
3175
3171
  a.push({
3176
3172
  type: j.literal,
@@ -3178,18 +3174,18 @@ function Ve(e, t, r, i, n, s, l) {
3178
3174
  });
3179
3175
  continue;
3180
3176
  }
3181
- if (rr(h)) {
3182
- var E = typeof h.style == "string" ? i.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
3177
+ if (tr(h)) {
3178
+ var E = typeof h.style == "string" ? i.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3183
3179
  E && E.scale && (m = m * (E.scale || 1)), a.push({
3184
3180
  type: j.literal,
3185
3181
  value: r.getNumberFormat(t, E).format(m)
3186
3182
  });
3187
3183
  continue;
3188
3184
  }
3189
- if (ar(h)) {
3185
+ if (or(h)) {
3190
3186
  var H = h.children, v = h.value, $ = n[v];
3191
- if (!en($))
3192
- throw new Ji(v, "function", l);
3187
+ if (!Ki($))
3188
+ throw new Zi(v, "function", l);
3193
3189
  var V = Ve(H, t, r, i, n, s), U = $(V.map(function(I) {
3194
3190
  return I.value;
3195
3191
  }));
@@ -3200,14 +3196,14 @@ function Ve(e, t, r, i, n, s, l) {
3200
3196
  };
3201
3197
  }));
3202
3198
  }
3203
- if (sr(h)) {
3199
+ if (nr(h)) {
3204
3200
  var B = h.options[m] || h.options.other;
3205
3201
  if (!B)
3206
- throw new Dt(h.value, m, Object.keys(h.options), l);
3202
+ throw new Ct(h.value, m, Object.keys(h.options), l);
3207
3203
  a.push.apply(a, Ve(B.value, t, r, i, n));
3208
3204
  continue;
3209
3205
  }
3210
- if (or(h)) {
3206
+ if (sr(h)) {
3211
3207
  var B = h.options["=".concat(m)];
3212
3208
  if (!B) {
3213
3209
  if (!Intl.PluralRules)
@@ -3218,21 +3214,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3218
3214
  B = h.options[z] || h.options.other;
3219
3215
  }
3220
3216
  if (!B)
3221
- throw new Dt(h.value, m, Object.keys(h.options), l);
3217
+ throw new Ct(h.value, m, Object.keys(h.options), l);
3222
3218
  a.push.apply(a, Ve(B.value, t, r, i, n, m - (h.offset || 0)));
3223
3219
  continue;
3224
3220
  }
3225
3221
  }
3226
- return Ki(a);
3222
+ return Qi(a);
3227
3223
  }
3228
- function tn(e, t) {
3224
+ function en(e, t) {
3229
3225
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3230
3226
  return r[i] = A(A({}, e[i]), t[i] || {}), r;
3231
3227
  }, {})) : e;
3232
3228
  }
3233
- function rn(e, t) {
3229
+ function tn(e, t) {
3234
3230
  return t ? Object.keys(e).reduce(function(r, i) {
3235
- return r[i] = tn(e[i], t[i]), r;
3231
+ return r[i] = en(e[i], t[i]), r;
3236
3232
  }, A({}, e)) : e;
3237
3233
  }
3238
3234
  function it(e) {
@@ -3249,7 +3245,7 @@ function it(e) {
3249
3245
  }
3250
3246
  };
3251
3247
  }
3252
- function nn(e) {
3248
+ function rn(e) {
3253
3249
  return e === void 0 && (e = {
3254
3250
  number: {},
3255
3251
  dateTime: {},
@@ -3281,7 +3277,7 @@ function nn(e) {
3281
3277
  })
3282
3278
  };
3283
3279
  }
3284
- var gr = (
3280
+ var pr = (
3285
3281
  /** @class */
3286
3282
  function() {
3287
3283
  function e(t, r, i, n) {
@@ -3313,13 +3309,13 @@ var gr = (
3313
3309
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3314
3310
  var l = n || {};
3315
3311
  l.formatters;
3316
- var a = di(l, ["formatters"]);
3312
+ var a = ci(l, ["formatters"]);
3317
3313
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3318
3314
  } else
3319
3315
  this.ast = t;
3320
3316
  if (!Array.isArray(this.ast))
3321
3317
  throw new TypeError("A message must be provided as a String or AST.");
3322
- this.formats = rn(e.formats, i), this.formatters = n && n.formatters || nn(this.formatterCache);
3318
+ this.formats = tn(e.formats, i), this.formatters = n && n.formatters || rn(this.formatterCache);
3323
3319
  }
3324
3320
  return Object.defineProperty(e, "defaultLocale", {
3325
3321
  get: function() {
@@ -3332,7 +3328,7 @@ var gr = (
3332
3328
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3333
3329
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3334
3330
  }
3335
- }, e.__parse = Zi, e.formats = {
3331
+ }, e.__parse = Yi, e.formats = {
3336
3332
  number: {
3337
3333
  integer: {
3338
3334
  maximumFractionDigits: 0
@@ -3393,7 +3389,7 @@ var gr = (
3393
3389
  }, e;
3394
3390
  }()
3395
3391
  );
3396
- function sn(e, t) {
3392
+ function nn(e, t) {
3397
3393
  if (t == null)
3398
3394
  return;
3399
3395
  if (t in e)
@@ -3414,60 +3410,60 @@ function sn(e, t) {
3414
3410
  i = void 0;
3415
3411
  return i;
3416
3412
  }
3417
- const he = {}, on = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), vr = (e, t) => {
3413
+ const he = {}, sn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), gr = (e, t) => {
3418
3414
  if (t == null)
3419
3415
  return;
3420
3416
  if (t in he && e in he[t])
3421
3417
  return he[t][e];
3422
3418
  const r = Ne(t);
3423
3419
  for (let i = 0; i < r.length; i++) {
3424
- const n = r[i], s = un(n, e);
3420
+ const n = r[i], s = an(n, e);
3425
3421
  if (s)
3426
- return on(e, t, s);
3422
+ return sn(e, t, s);
3427
3423
  }
3428
3424
  };
3429
- let _t;
3425
+ let xt;
3430
3426
  const Le = We({});
3431
- function an(e) {
3432
- return _t[e] || null;
3427
+ function on(e) {
3428
+ return xt[e] || null;
3433
3429
  }
3434
- function br(e) {
3435
- return e in _t;
3430
+ function vr(e) {
3431
+ return e in xt;
3436
3432
  }
3437
- function un(e, t) {
3438
- if (!br(e))
3433
+ function an(e, t) {
3434
+ if (!vr(e))
3439
3435
  return null;
3440
- const r = an(e);
3441
- return sn(r, t);
3436
+ const r = on(e);
3437
+ return nn(r, t);
3442
3438
  }
3443
- function ln(e) {
3439
+ function un(e) {
3444
3440
  if (e == null)
3445
3441
  return;
3446
3442
  const t = Ne(e);
3447
3443
  for (let r = 0; r < t.length; r++) {
3448
3444
  const i = t[r];
3449
- if (br(i))
3445
+ if (vr(i))
3450
3446
  return i;
3451
3447
  }
3452
3448
  }
3453
- function yr(e, ...t) {
3454
- delete he[e], Le.update((r) => (r[e] = ci.all([r[e] || {}, ...t]), r));
3449
+ function br(e, ...t) {
3450
+ delete he[e], Le.update((r) => (r[e] = fi.all([r[e] || {}, ...t]), r));
3455
3451
  }
3456
3452
  Oe(
3457
3453
  [Le],
3458
3454
  ([e]) => Object.keys(e)
3459
3455
  );
3460
- Le.subscribe((e) => _t = e);
3456
+ Le.subscribe((e) => xt = e);
3461
3457
  const Ge = {};
3462
- function hn(e, t) {
3458
+ function ln(e, t) {
3463
3459
  Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
3464
3460
  }
3465
- function xr(e) {
3461
+ function yr(e) {
3466
3462
  return Ge[e];
3467
3463
  }
3468
- function fn(e) {
3464
+ function hn(e) {
3469
3465
  return Ne(e).map((t) => {
3470
- const r = xr(t);
3466
+ const r = yr(t);
3471
3467
  return [t, r ? [...r] : []];
3472
3468
  }).filter(([, t]) => t.length > 0);
3473
3469
  }
@@ -3475,40 +3471,40 @@ function je(e) {
3475
3471
  return e == null ? !1 : Ne(e).some(
3476
3472
  (t) => {
3477
3473
  var r;
3478
- return (r = xr(t)) == null ? void 0 : r.size;
3474
+ return (r = yr(t)) == null ? void 0 : r.size;
3479
3475
  }
3480
3476
  );
3481
3477
  }
3482
- function cn(e, t) {
3478
+ function fn(e, t) {
3483
3479
  return Promise.all(
3484
- t.map((i) => (hn(e, i), i().then((n) => n.default || n)))
3485
- ).then((i) => yr(e, ...i));
3480
+ t.map((i) => (ln(e, i), i().then((n) => n.default || n)))
3481
+ ).then((i) => br(e, ...i));
3486
3482
  }
3487
3483
  const Pe = {};
3488
- function _r(e) {
3484
+ function xr(e) {
3489
3485
  if (!je(e))
3490
3486
  return e in Pe ? Pe[e] : Promise.resolve();
3491
- const t = fn(e);
3487
+ const t = hn(e);
3492
3488
  return Pe[e] = Promise.all(
3493
3489
  t.map(
3494
- ([r, i]) => cn(r, i)
3490
+ ([r, i]) => fn(r, i)
3495
3491
  )
3496
3492
  ).then(() => {
3497
3493
  if (je(e))
3498
- return _r(e);
3494
+ return xr(e);
3499
3495
  delete Pe[e];
3500
3496
  }), Pe[e];
3501
3497
  }
3502
- var It = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, pn = (e, t) => {
3498
+ var Dt = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, mn = (e, t) => {
3503
3499
  var r = {};
3504
3500
  for (var i in e)
3505
- dn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3506
- if (e != null && It)
3507
- for (var i of It(e))
3508
- t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
3501
+ cn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3502
+ if (e != null && Dt)
3503
+ for (var i of Dt(e))
3504
+ t.indexOf(i) < 0 && dn.call(e, i) && (r[i] = e[i]);
3509
3505
  return r;
3510
3506
  };
3511
- const gn = {
3507
+ const pn = {
3512
3508
  number: {
3513
3509
  scientific: { notation: "scientific" },
3514
3510
  engineering: { notation: "engineering" },
@@ -3538,7 +3534,7 @@ const gn = {
3538
3534
  }
3539
3535
  }
3540
3536
  };
3541
- function vn({ locale: e, id: t }) {
3537
+ function gn({ locale: e, id: t }) {
3542
3538
  console.warn(
3543
3539
  `[svelte-i18n] The message "${t}" was not found in "${Ne(
3544
3540
  e
@@ -3547,49 +3543,49 @@ function vn({ locale: e, id: t }) {
3547
3543
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3548
3544
  );
3549
3545
  }
3550
- const bn = {
3546
+ const vn = {
3551
3547
  fallbackLocale: null,
3552
3548
  loadingDelay: 200,
3553
- formats: gn,
3549
+ formats: pn,
3554
3550
  warnOnMissingMessages: !0,
3555
3551
  handleMissingMessage: void 0,
3556
3552
  ignoreTag: !0
3557
- }, $e = bn;
3553
+ }, $e = vn;
3558
3554
  function He() {
3559
3555
  return $e;
3560
3556
  }
3561
- function yn(e) {
3562
- const t = e, { formats: r } = t, i = pn(t, ["formats"]);
3557
+ function bn(e) {
3558
+ const t = e, { formats: r } = t, i = mn(t, ["formats"]);
3563
3559
  let n = e.fallbackLocale;
3564
3560
  if (e.initialLocale)
3565
3561
  try {
3566
- gr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3562
+ pr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3567
3563
  } catch {
3568
3564
  console.warn(
3569
3565
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3570
3566
  );
3571
3567
  }
3572
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = vn : console.warn(
3568
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = gn : console.warn(
3573
3569
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3574
3570
  )), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), de.set(n);
3575
3571
  }
3576
3572
  const nt = We(!1);
3577
- var xn = Object.defineProperty, _n = Object.defineProperties, En = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tn = (e, t) => {
3578
- for (var r in t)
3579
- wn.call(t, r) && Nt(e, r, t[r]);
3580
- if (Lt)
3581
- for (var r of Lt(t))
3582
- Sn.call(t, r) && Nt(e, r, t[r]);
3573
+ var yn = Object.defineProperty, xn = Object.defineProperties, _n = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, En = Object.prototype.hasOwnProperty, wn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
3574
+ for (var r in t || (t = {}))
3575
+ En.call(t, r) && Lt(e, r, t[r]);
3576
+ if (It)
3577
+ for (var r of It(t))
3578
+ wn.call(t, r) && Lt(e, r, t[r]);
3583
3579
  return e;
3584
- }, Hn = (e, t) => _n(e, En(t));
3580
+ }, Tn = (e, t) => xn(e, _n(t));
3585
3581
  let pt;
3586
3582
  const ze = We(null);
3587
- function Rt(e) {
3583
+ function Nt(e) {
3588
3584
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3589
3585
  }
3590
3586
  function Ne(e, t = He().fallbackLocale) {
3591
- const r = Rt(e);
3592
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
3587
+ const r = Nt(e);
3588
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3593
3589
  }
3594
3590
  function fe() {
3595
3591
  return pt ?? void 0;
@@ -3597,22 +3593,22 @@ function fe() {
3597
3593
  ze.subscribe((e) => {
3598
3594
  pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3599
3595
  });
3600
- const On = (e) => {
3601
- if (e && ln(e) && je(e)) {
3596
+ const Hn = (e) => {
3597
+ if (e && un(e) && je(e)) {
3602
3598
  const { loadingDelay: t } = He();
3603
3599
  let r;
3604
3600
  return typeof window < "u" && fe() != null && t ? r = window.setTimeout(
3605
3601
  () => nt.set(!0),
3606
3602
  t
3607
- ) : nt.set(!0), _r(e).then(() => {
3603
+ ) : nt.set(!0), xr(e).then(() => {
3608
3604
  ze.set(e);
3609
3605
  }).finally(() => {
3610
3606
  clearTimeout(r), nt.set(!1);
3611
3607
  });
3612
3608
  }
3613
3609
  return ze.set(e);
3614
- }, de = Hn(Tn({}, ze), {
3615
- set: On
3610
+ }, de = Tn(Sn({}, ze), {
3611
+ set: Hn
3616
3612
  }), Ze = (e) => {
3617
3613
  const t = /* @__PURE__ */ Object.create(null);
3618
3614
  return (i) => {
@@ -3620,20 +3616,20 @@ const On = (e) => {
3620
3616
  return n in t ? t[n] : t[n] = e(i);
3621
3617
  };
3622
3618
  };
3623
- var An = Object.defineProperty, Xe = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
3619
+ var On = Object.defineProperty, Xe = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
3624
3620
  for (var r in t || (t = {}))
3625
- Er.call(t, r) && kt(e, r, t[r]);
3621
+ _r.call(t, r) && Rt(e, r, t[r]);
3626
3622
  if (Xe)
3627
3623
  for (var r of Xe(t))
3628
- wr.call(t, r) && kt(e, r, t[r]);
3624
+ Er.call(t, r) && Rt(e, r, t[r]);
3629
3625
  return e;
3630
3626
  }, Ae = (e, t) => {
3631
3627
  var r = {};
3632
3628
  for (var i in e)
3633
- Er.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3629
+ _r.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3634
3630
  if (e != null && Xe)
3635
3631
  for (var i of Xe(e))
3636
- t.indexOf(i) < 0 && wr.call(e, i) && (r[i] = e[i]);
3632
+ t.indexOf(i) < 0 && Er.call(e, i) && (r[i] = e[i]);
3637
3633
  return r;
3638
3634
  };
3639
3635
  const De = (e, t) => {
@@ -3641,21 +3637,21 @@ const De = (e, t) => {
3641
3637
  if (e in r && t in r[e])
3642
3638
  return r[e][t];
3643
3639
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3644
- }, Pn = Ze(
3640
+ }, An = Ze(
3645
3641
  (e) => {
3646
3642
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3647
3643
  if (r == null)
3648
3644
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3649
3645
  return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3650
3646
  }
3651
- ), $n = Ze(
3647
+ ), Pn = Ze(
3652
3648
  (e) => {
3653
3649
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3654
3650
  if (r == null)
3655
3651
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3656
3652
  return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3657
3653
  }
3658
- ), Bn = Ze(
3654
+ ), $n = Ze(
3659
3655
  (e) => {
3660
3656
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3661
3657
  if (r == null)
@@ -3664,33 +3660,33 @@ const De = (e, t) => {
3664
3660
  );
3665
3661
  return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3666
3662
  }
3667
- ), Mn = (e = {}) => {
3663
+ ), Bn = (e = {}) => {
3668
3664
  var t = e, {
3669
3665
  locale: r = fe()
3670
3666
  } = t, i = Ae(t, [
3671
3667
  "locale"
3672
3668
  ]);
3673
- return Pn(Et({ locale: r }, i));
3674
- }, Cn = (e = {}) => {
3669
+ return An(_t({ locale: r }, i));
3670
+ }, Mn = (e = {}) => {
3675
3671
  var t = e, {
3676
3672
  locale: r = fe()
3677
3673
  } = t, i = Ae(t, [
3678
3674
  "locale"
3679
3675
  ]);
3680
- return $n(Et({ locale: r }, i));
3681
- }, Dn = (e = {}) => {
3676
+ return Pn(_t({ locale: r }, i));
3677
+ }, Cn = (e = {}) => {
3682
3678
  var t = e, {
3683
3679
  locale: r = fe()
3684
3680
  } = t, i = Ae(t, [
3685
3681
  "locale"
3686
3682
  ]);
3687
- return Bn(Et({ locale: r }, i));
3688
- }, In = Ze(
3683
+ return $n(_t({ locale: r }, i));
3684
+ }, Dn = Ze(
3689
3685
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3690
- (e, t = fe()) => new gr(e, t, He().formats, {
3686
+ (e, t = fe()) => new pr(e, t, He().formats, {
3691
3687
  ignoreTag: He().ignoreTag
3692
3688
  })
3693
- ), Ln = (e, t = {}) => {
3689
+ ), In = (e, t = {}) => {
3694
3690
  var r, i, n, s;
3695
3691
  let l = t;
3696
3692
  typeof e == "object" && (l = e, e = l.id);
@@ -3703,7 +3699,7 @@ const De = (e, t) => {
3703
3699
  throw new Error(
3704
3700
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3705
3701
  );
3706
- let h = vr(e, o);
3702
+ let h = gr(e, o);
3707
3703
  if (!h)
3708
3704
  h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3709
3705
  else if (typeof h != "string")
@@ -3714,7 +3710,7 @@ const De = (e, t) => {
3714
3710
  return h;
3715
3711
  let c = h;
3716
3712
  try {
3717
- c = In(h, o).format(a);
3713
+ c = Dn(h, o).format(a);
3718
3714
  } catch (m) {
3719
3715
  m instanceof Error && console.warn(
3720
3716
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3722,20 +3718,20 @@ const De = (e, t) => {
3722
3718
  );
3723
3719
  }
3724
3720
  return c;
3725
- }, Nn = (e, t) => Dn(t).format(e), Rn = (e, t) => Cn(t).format(e), kn = (e, t) => Mn(t).format(e), Un = (e, t = fe()) => vr(e, t), Fn = Oe([de, Le], () => Ln);
3721
+ }, Ln = (e, t) => Cn(t).format(e), Nn = (e, t) => Mn(t).format(e), Rn = (e, t) => Bn(t).format(e), kn = (e, t = fe()) => gr(e, t), Un = Oe([de, Le], () => In);
3722
+ Oe([de], () => Ln);
3726
3723
  Oe([de], () => Nn);
3727
3724
  Oe([de], () => Rn);
3728
- Oe([de], () => kn);
3729
- Oe([de, Le], () => Un);
3730
- function Ut(e, t) {
3731
- yr(e, t);
3725
+ Oe([de, Le], () => kn);
3726
+ function kt(e, t) {
3727
+ br(e, t);
3732
3728
  }
3733
- function Vn(e) {
3734
- yn({
3729
+ function Fn(e) {
3730
+ bn({
3735
3731
  fallbackLocale: "en"
3736
3732
  }), de.set(e);
3737
3733
  }
3738
- const Ft = {
3734
+ const Ut = {
3739
3735
  en: {
3740
3736
  "verification.video.how-to": "How to verify yourself",
3741
3737
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3803,15 +3799,15 @@ if (typeof window < "u") {
3803
3799
  }
3804
3800
  };
3805
3801
  };
3806
- customElements.define = e(customElements.define), import("./CashierVideoModal-CEwD3fcB.js").then(({ default: t }) => {
3802
+ customElements.define = e(customElements.define), import("./CashierVideoModal-BmFxk33v.js").then(({ default: t }) => {
3807
3803
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3808
3804
  });
3809
3805
  }
3810
- var Sr = { exports: {} };
3806
+ var wr = { exports: {} };
3811
3807
  (function(e, t) {
3812
3808
  (function(r, i) {
3813
3809
  e.exports = i();
3814
- })(Qt, function() {
3810
+ })(Jt, function() {
3815
3811
  var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3816
3812
  var g = ["th", "st", "nd", "rd"], d = x % 100;
3817
3813
  return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
@@ -4082,14 +4078,14 @@ var Sr = { exports: {} };
4082
4078
  return k(1e3 * x);
4083
4079
  }, k.en = L[I], k.Ls = L, k.p = {}, k;
4084
4080
  });
4085
- })(Sr);
4086
- var Gn = Sr.exports;
4087
- const Vt = /* @__PURE__ */ yt(Gn);
4088
- var Tr = { exports: {} };
4081
+ })(wr);
4082
+ var Vn = wr.exports;
4083
+ const Ft = /* @__PURE__ */ yt(Vn);
4084
+ var Sr = { exports: {} };
4089
4085
  (function(e, t) {
4090
4086
  (function(r, i) {
4091
4087
  e.exports = i();
4092
- })(Qt, function() {
4088
+ })(Jt, function() {
4093
4089
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4094
4090
  return function(s, l, a) {
4095
4091
  var o = l.prototype;
@@ -4158,26 +4154,26 @@ var Tr = { exports: {} };
4158
4154
  };
4159
4155
  };
4160
4156
  });
4161
- })(Tr);
4162
- var jn = Tr.exports;
4163
- const zn = /* @__PURE__ */ yt(jn);
4164
- function Xn(e) {
4165
- $r(e, "svelte-ektv0y", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4157
+ })(Sr);
4158
+ var Gn = Sr.exports;
4159
+ const jn = /* @__PURE__ */ yt(Gn);
4160
+ function zn(e) {
4161
+ Pr(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4166
4162
  }
4167
- function Gt(e, t, r) {
4163
+ function Vt(e, t, r) {
4168
4164
  const i = e.slice();
4169
4165
  return i[49] = t[r], i[51] = r, i;
4170
4166
  }
4171
- function jt(e) {
4172
- let t, r, i, n, s = Tt(
4167
+ function Gt(e) {
4168
+ let t, r, i, n, s = St(
4173
4169
  /*displayMessages*/
4174
4170
  e[4]
4175
4171
  ), l = [];
4176
4172
  for (let o = 0; o < s.length; o += 1)
4177
- l[o] = Xt(Gt(e, s, o));
4173
+ l[o] = zt(Vt(e, s, o));
4178
4174
  let a = (
4179
4175
  /*videoExists*/
4180
- e[7] && Wt(e)
4176
+ e[7] && Xt(e)
4181
4177
  );
4182
4178
  return {
4183
4179
  c() {
@@ -4215,21 +4211,21 @@ function jt(e) {
4215
4211
  p(o, u) {
4216
4212
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4217
4213
  1072) {
4218
- s = Tt(
4214
+ s = St(
4219
4215
  /*displayMessages*/
4220
4216
  o[4]
4221
4217
  );
4222
4218
  let h;
4223
4219
  for (h = 0; h < s.length; h += 1) {
4224
- const c = Gt(o, s, h);
4225
- l[h] ? l[h].p(c, u) : (l[h] = Xt(c), l[h].c(), l[h].m(t, null));
4220
+ const c = Vt(o, s, h);
4221
+ l[h] ? l[h].p(c, u) : (l[h] = zt(c), l[h].c(), l[h].m(t, null));
4226
4222
  }
4227
4223
  for (; h < l.length; h += 1)
4228
4224
  l[h].d(1);
4229
4225
  l.length = s.length;
4230
4226
  }
4231
4227
  /*videoExists*/
4232
- o[7] ? a ? a.p(o, u) : (a = Wt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4228
+ o[7] ? a ? a.p(o, u) : (a = Xt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4233
4229
  2 && le(
4234
4230
  n,
4235
4231
  "clientstylingurl",
@@ -4256,11 +4252,11 @@ function jt(e) {
4256
4252
  );
4257
4253
  },
4258
4254
  d(o) {
4259
- o && (ie(t), ie(r), ie(i), ie(n)), Cr(l, o), a && a.d(o);
4255
+ o && (ie(t), ie(r), ie(i), ie(n)), Mr(l, o), a && a.d(o);
4260
4256
  }
4261
4257
  };
4262
4258
  }
4263
- function zt(e) {
4259
+ function jt(e) {
4264
4260
  let t, r, i;
4265
4261
  function n(...s) {
4266
4262
  return (
@@ -4287,14 +4283,14 @@ function zt(e) {
4287
4283
  }
4288
4284
  };
4289
4285
  }
4290
- function Xt(e) {
4286
+ function zt(e) {
4291
4287
  let t, r, i, n, s = (
4292
4288
  /*message*/
4293
4289
  e[49] + ""
4294
4290
  ), l, a, o, u, h = (
4295
4291
  /*displayMessages*/
4296
4292
  e[4].length > 1 && /*index*/
4297
- e[51] === 0 && zt(e)
4293
+ e[51] === 0 && jt(e)
4298
4294
  );
4299
4295
  function c(...m) {
4300
4296
  return (
@@ -4323,7 +4319,7 @@ function Xt(e) {
4323
4319
  16 && s !== (s = /*message*/
4324
4320
  e[49] + "") && (n.innerHTML = s), /*displayMessages*/
4325
4321
  e[4].length > 1 && /*index*/
4326
- e[51] === 0 ? h ? h.p(e, E) : (h = zt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
4322
+ e[51] === 0 ? h ? h.p(e, E) : (h = jt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
4327
4323
  32 && Ee(
4328
4324
  t,
4329
4325
  "ShowAll",
@@ -4336,7 +4332,7 @@ function Xt(e) {
4336
4332
  }
4337
4333
  };
4338
4334
  }
4339
- function Wt(e) {
4335
+ function Xt(e) {
4340
4336
  let t, r, i, n, s = (
4341
4337
  /*$_*/
4342
4338
  e[9]("verification.video.how-to") + ""
@@ -4361,7 +4357,7 @@ function Wt(e) {
4361
4357
  p(u, h) {
4362
4358
  h[0] & /*$_*/
4363
4359
  512 && s !== (s = /*$_*/
4364
- u[9]("verification.video.how-to") + "") && Ir(l, s), h[0] & /*desktopView*/
4360
+ u[9]("verification.video.how-to") + "") && Dr(l, s), h[0] & /*desktopView*/
4365
4361
  64 && Ee(
4366
4362
  n,
4367
4363
  "CashierVerificationVideoLinkDesktop",
@@ -4374,10 +4370,10 @@ function Wt(e) {
4374
4370
  }
4375
4371
  };
4376
4372
  }
4377
- function Wn(e) {
4373
+ function Xn(e) {
4378
4374
  let t, r = (
4379
4375
  /*displayMessages*/
4380
- e[4] && jt(e)
4376
+ e[4] && Gt(e)
4381
4377
  );
4382
4378
  return {
4383
4379
  c() {
@@ -4393,7 +4389,7 @@ function Wn(e) {
4393
4389
  },
4394
4390
  p(i, n) {
4395
4391
  /*displayMessages*/
4396
- i[4] ? r ? r.p(i, n) : (r = jt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4392
+ i[4] ? r ? r.p(i, n) : (r = Gt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4397
4393
  64 && Ee(
4398
4394
  t,
4399
4395
  "CashierVerificationsDesktop",
@@ -4408,10 +4404,10 @@ function Wn(e) {
4408
4404
  }
4409
4405
  };
4410
4406
  }
4411
- const qn = "verification_explanation_video_widgets.MP4", Yn = "700px", Zn = "500px";
4412
- function Jn(e, t, r) {
4407
+ const Wn = "verification_explanation_video_widgets.MP4", qn = "700px", Yn = "500px";
4408
+ function Zn(e, t, r) {
4413
4409
  let i;
4414
- Pr(e, Fn, (f) => r(9, i = f)), Vt.extend(zn);
4410
+ Ar(e, Un, (f) => r(9, i = f)), Ft.extend(jn);
4415
4411
  let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, V, U = !0, B = !0, z = !1, I = "";
4416
4412
  var L;
4417
4413
  (function(f) {
@@ -4438,17 +4434,17 @@ function Jn(e, t, r) {
4438
4434
  if (f)
4439
4435
  return fetch(f).then((y) => y.json()).then((y) => {
4440
4436
  Object.keys(y).forEach((S) => {
4441
- Ut(S, y[S]);
4437
+ kt(S, y[S]);
4442
4438
  });
4443
4439
  }).catch((y) => {
4444
4440
  console.log(y);
4445
4441
  });
4446
4442
  };
4447
- Object.keys(Ft).forEach((f) => {
4448
- Ut(f, Ft[f]);
4443
+ Object.keys(Ut).forEach((f) => {
4444
+ kt(f, Ut[f]);
4449
4445
  });
4450
4446
  const me = () => {
4451
- Vn(s);
4447
+ Fn(s);
4452
4448
  }, Re = () => {
4453
4449
  let f = document.createElement("style");
4454
4450
  f.innerHTML = a, m.appendChild(f);
@@ -4467,7 +4463,7 @@ function Jn(e, t, r) {
4467
4463
  if (!f)
4468
4464
  return;
4469
4465
  const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), Y = new Headers();
4470
- Y.append("accept", "application/json"), Y.append("Content-Type", "application/json"), Y.append("X-Client-Request-Timestamp", Vt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4466
+ Y.append("accept", "application/json"), Y.append("Content-Type", "application/json"), Y.append("X-Client-Request-Timestamp", Ft.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4471
4467
  const Je = {
4472
4468
  method: "POST",
4473
4469
  headers: Y,
@@ -4569,7 +4565,7 @@ function Jn(e, t, r) {
4569
4565
  }, oe = () => {
4570
4566
  r(6, B = c === "false");
4571
4567
  }, G = () => {
4572
- r(8, I = $ + "/" + s + "/" + qn);
4568
+ r(8, I = $ + "/" + s + "/" + Wn);
4573
4569
  try {
4574
4570
  fetch(I, { method: "HEAD" }).then((f) => {
4575
4571
  r(7, z = f.ok);
@@ -4581,12 +4577,12 @@ function Jn(e, t, r) {
4581
4577
  window.postMessage(
4582
4578
  {
4583
4579
  type: "ShowCashierVideoModal",
4584
- details: B ? Yn : Zn
4580
+ details: B ? qn : Yn
4585
4581
  },
4586
4582
  window.location.href
4587
4583
  );
4588
- }, ce = (f, y) => se(y, f), pe = (f, y) => se(y, f), Hr = () => J();
4589
- function Or(f) {
4584
+ }, ce = (f, y) => se(y, f), pe = (f, y) => se(y, f), Tr = () => J();
4585
+ function Hr(f) {
4590
4586
  st[f ? "unshift" : "push"](() => {
4591
4587
  m = f, r(3, m);
4592
4588
  });
@@ -4623,18 +4619,18 @@ function Jn(e, t, r) {
4623
4619
  $,
4624
4620
  ce,
4625
4621
  pe,
4626
- Hr,
4627
- Or
4622
+ Tr,
4623
+ Hr
4628
4624
  ];
4629
4625
  }
4630
- class Qn extends Yr {
4626
+ class Jn extends qr {
4631
4627
  constructor(t) {
4632
- super(), Wr(
4628
+ super(), Xr(
4633
4629
  this,
4634
4630
  t,
4635
- Jn,
4636
- Wn,
4637
- Yt,
4631
+ Zn,
4632
+ Xn,
4633
+ qt,
4638
4634
  {
4639
4635
  endpoint: 12,
4640
4636
  lang: 13,
@@ -4645,7 +4641,7 @@ class Qn extends Yr {
4645
4641
  customerid: 16,
4646
4642
  ismobileview: 2
4647
4643
  },
4648
- Xn,
4644
+ zn,
4649
4645
  [-1, -1]
4650
4646
  );
4651
4647
  }
@@ -4698,27 +4694,27 @@ class Qn extends Yr {
4698
4694
  this.$$set({ ismobileview: t }), te();
4699
4695
  }
4700
4696
  }
4701
- qr(Qn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4697
+ Wr(Jn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4702
4698
  export {
4703
- Qn as C,
4704
- Yr as S,
4705
- $r as a,
4699
+ Jn as C,
4700
+ qr as S,
4701
+ Pr as a,
4706
4702
  ae as b,
4707
- qr as c,
4703
+ Wr as c,
4708
4704
  ie as d,
4709
- ts as e,
4705
+ es as e,
4710
4706
  te as f,
4711
- Z as g,
4712
- xe as h,
4713
- Wr as i,
4714
- Kn as j,
4715
- K as k,
4716
- re as l,
4717
- es as m,
4707
+ Qn as g,
4708
+ K as h,
4709
+ Xr as i,
4710
+ re as j,
4711
+ Z as k,
4712
+ xe as l,
4713
+ st as m,
4718
4714
  Q as n,
4719
- rs as o,
4715
+ ts as o,
4720
4716
  bt as p,
4721
- st as q,
4722
- Yt as s,
4717
+ Kn as q,
4718
+ qt as s,
4723
4719
  Ee as t
4724
4720
  };