@everymatrix/general-player-sms-verification-form 1.57.0 → 1.58.0

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,24 +1,24 @@
1
1
  function U() {
2
2
  }
3
- function vt(e) {
3
+ function bt(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function Je() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ne(e) {
10
- e.forEach(vt);
10
+ e.forEach(bt);
11
11
  }
12
12
  function ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function yt(e, t) {
15
+ function gt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function zt(e) {
18
+ function Vt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Et(e, ...t) {
21
+ function vt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function Et(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Wt(e, t, r) {
31
- e.$$.on_destroy.push(Et(t, r));
30
+ function Xt(e, t, r) {
31
+ e.$$.on_destroy.push(vt(t, r));
32
32
  }
33
33
  function E(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Zt(e, t, r) {
37
- const n = Jt(e);
36
+ function zt(e, t, r) {
37
+ const n = Wt(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = M("style");
40
- i.id = t, i.textContent = r, Qt(n, i);
39
+ const i = O("style");
40
+ i.id = t, i.textContent = r, Zt(n, i);
41
41
  }
42
42
  }
43
- function Jt(e) {
43
+ function Wt(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,7 +50,7 @@ function Jt(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Qt(e, t) {
53
+ function Zt(e, t) {
54
54
  return E(
55
55
  /** @type {Document} */
56
56
  e.head || e,
@@ -63,14 +63,14 @@ function W(e, t, r) {
63
63
  function k(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function M(e) {
66
+ function O(e) {
67
67
  return document.createElement(e);
68
68
  }
69
- function O(e) {
69
+ function M(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
72
  function X() {
73
- return O(" ");
73
+ return M(" ");
74
74
  }
75
75
  function pe(e, t, r, n) {
76
76
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -78,17 +78,17 @@ function pe(e, t, r, n) {
78
78
  function A(e, t, r) {
79
79
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
80
80
  }
81
- function qt(e) {
81
+ function Jt(e) {
82
82
  return Array.from(e.childNodes);
83
83
  }
84
84
  function F(e, t) {
85
85
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
86
86
  t);
87
87
  }
88
- function Ye(e, t) {
88
+ function Qe(e, t) {
89
89
  e.value = t ?? "";
90
90
  }
91
- function Yt(e) {
91
+ function Qt(e) {
92
92
  const t = {};
93
93
  return e.childNodes.forEach(
94
94
  /** @param {Element} node */
@@ -101,20 +101,20 @@ let fe;
101
101
  function ce(e) {
102
102
  fe = e;
103
103
  }
104
- function Kt() {
104
+ function qt() {
105
105
  if (!fe)
106
106
  throw new Error("Function called outside component initialization");
107
107
  return fe;
108
108
  }
109
- function er(e) {
110
- Kt().$$.on_mount.push(e);
109
+ function Yt(e) {
110
+ qt().$$.on_mount.push(e);
111
111
  }
112
- const q = [], Oe = [];
112
+ const q = [], Me = [];
113
113
  let Y = [];
114
- const Ke = [], tr = /* @__PURE__ */ Promise.resolve();
114
+ const qe = [], Kt = /* @__PURE__ */ Promise.resolve();
115
115
  let Le = !1;
116
- function rr() {
117
- Le || (Le = !0, tr.then($));
116
+ function er() {
117
+ Le || (Le = !0, Kt.then($));
118
118
  }
119
119
  function Re(e) {
120
120
  Y.push(e);
@@ -129,53 +129,53 @@ function $() {
129
129
  try {
130
130
  for (; J < q.length; ) {
131
131
  const t = q[J];
132
- J++, ce(t), nr(t.$$);
132
+ J++, ce(t), tr(t.$$);
133
133
  }
134
134
  } catch (t) {
135
135
  throw q.length = 0, J = 0, t;
136
136
  }
137
- for (ce(null), q.length = 0, J = 0; Oe.length; )
138
- Oe.pop()();
137
+ for (ce(null), q.length = 0, J = 0; Me.length; )
138
+ Me.pop()();
139
139
  for (let t = 0; t < Y.length; t += 1) {
140
140
  const r = Y[t];
141
141
  Be.has(r) || (Be.add(r), r());
142
142
  }
143
143
  Y.length = 0;
144
144
  } while (q.length);
145
- for (; Ke.length; )
146
- Ke.pop()();
145
+ for (; qe.length; )
146
+ qe.pop()();
147
147
  Le = !1, Be.clear(), ce(e);
148
148
  }
149
- function nr(e) {
149
+ function tr(e) {
150
150
  if (e.fragment !== null) {
151
151
  e.update(), ne(e.before_update);
152
152
  const t = e.dirty;
153
153
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
154
154
  }
155
155
  }
156
- function ir(e) {
156
+ function rr(e) {
157
157
  const t = [], r = [];
158
158
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
159
159
  }
160
- const or = /* @__PURE__ */ new Set();
161
- function sr(e, t) {
162
- e && e.i && (or.delete(e), e.i(t));
160
+ const nr = /* @__PURE__ */ new Set();
161
+ function ir(e, t) {
162
+ e && e.i && (nr.delete(e), e.i(t));
163
163
  }
164
- function ar(e, t, r) {
164
+ function or(e, t, r) {
165
165
  const { fragment: n, after_update: i } = e.$$;
166
166
  n && n.m(t, r), Re(() => {
167
- const o = e.$$.on_mount.map(vt).filter(ze);
167
+ const o = e.$$.on_mount.map(bt).filter(ze);
168
168
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
169
169
  }), i.forEach(Re);
170
170
  }
171
- function ur(e, t) {
171
+ function sr(e, t) {
172
172
  const r = e.$$;
173
- r.fragment !== null && (ir(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (rr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
174
  }
175
- function lr(e, t) {
176
- e.$$.dirty[0] === -1 && (q.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function ar(e, t) {
176
+ e.$$.dirty[0] === -1 && (q.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
177
  }
178
- function hr(e, t, r, n, i, o, a = null, s = [-1]) {
178
+ function ur(e, t, r, n, i, o, a = null, s = [-1]) {
179
179
  const h = fe;
180
180
  ce(e);
181
181
  const u = e.$$ = {
@@ -185,7 +185,7 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
185
185
  props: o,
186
186
  update: U,
187
187
  not_equal: i,
188
- bound: qe(),
188
+ bound: Je(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,7 +194,7 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(t.context || (h ? h.$$.context : [])),
196
196
  // everything else
197
- callbacks: qe(),
197
+ callbacks: Je(),
198
198
  dirty: s,
199
199
  skip_bound: !1,
200
200
  root: t.target || h.$$.root
@@ -203,19 +203,19 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
203
203
  let l = !1;
204
204
  if (u.ctx = r ? r(e, t.props || {}, (c, d, ...g) => {
205
205
  const y = g.length ? g[0] : d;
206
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && lr(e, c)), d;
206
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ar(e, c)), d;
207
207
  }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
208
  if (t.hydrate) {
209
- const c = qt(t.target);
209
+ const c = Jt(t.target);
210
210
  u.fragment && u.fragment.l(c), c.forEach(k);
211
211
  } else
212
212
  u.fragment && u.fragment.c();
213
- t.intro && sr(e.$$.fragment), ar(e, t.target, t.anchor), $();
213
+ t.intro && ir(e.$$.fragment), or(e, t.target, t.anchor), $();
214
214
  }
215
215
  ce(h);
216
216
  }
217
- let xt;
218
- typeof HTMLElement == "function" && (xt = class extends HTMLElement {
217
+ let yt;
218
+ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -257,7 +257,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
257
257
  let o;
258
258
  return {
259
259
  c: function() {
260
- o = M("slot"), i !== "default" && A(o, "name", i);
260
+ o = O("slot"), i !== "default" && A(o, "name", i);
261
261
  },
262
262
  /**
263
263
  * @param {HTMLElement} target
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const t = {}, r = Yt(this);
277
+ const t = {}, r = Qt(this);
278
278
  for (const i of this.$$s)
279
279
  i in r && (t[i] = [e(i)]);
280
280
  for (const i of this.attributes) {
@@ -361,8 +361,8 @@ function ge(e, t, r, n) {
361
361
  return t;
362
362
  }
363
363
  }
364
- function cr(e, t, r, n, i, o) {
365
- let a = class extends xt {
364
+ function lr(e, t, r, n, i, o) {
365
+ let a = class extends yt {
366
366
  constructor() {
367
367
  super(e, r, i), this.$$p_d = t;
368
368
  }
@@ -390,7 +390,7 @@ function cr(e, t, r, n, i, o) {
390
390
  }), e.element = /** @type {any} */
391
391
  a, a;
392
392
  }
393
- class fr {
393
+ class hr {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class fr {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- ur(this, 1), this.$destroy = U;
412
+ sr(this, 1), this.$destroy = U;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -431,13 +431,13 @@ class fr {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(t) {
434
- this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !Vt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const dr = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
437
+ const cr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cr);
439
439
  const Q = [];
440
- function mr(e, t) {
440
+ function fr(e, t) {
441
441
  return {
442
442
  subscribe: _e(e, t).subscribe
443
443
  };
@@ -446,7 +446,7 @@ function _e(e, t = U) {
446
446
  let r;
447
447
  const n = /* @__PURE__ */ new Set();
448
448
  function i(s) {
449
- if (yt(e, s) && (e = s, r)) {
449
+ if (gt(e, s) && (e = s, r)) {
450
450
  const h = !Q.length;
451
451
  for (const u of n)
452
452
  u[1](), Q.push(u, e);
@@ -473,7 +473,7 @@ function ie(e, t, r) {
473
473
  if (!i.every(Boolean))
474
474
  throw new Error("derived() expects stores as input, got a falsy value");
475
475
  const o = t.length < 2;
476
- return mr(r, (a, s) => {
476
+ return fr(r, (a, s) => {
477
477
  let h = !1;
478
478
  const u = [];
479
479
  let l = 0, c = U;
@@ -484,7 +484,7 @@ function ie(e, t, r) {
484
484
  const y = t(n ? u[0] : u, a, s);
485
485
  o ? a(y) : c = ze(y) ? y : U;
486
486
  }, g = i.map(
487
- (y, _) => Et(
487
+ (y, _) => vt(
488
488
  y,
489
489
  (T) => {
490
490
  u[_] = T, l &= ~(1 << _), h && d();
@@ -499,70 +499,70 @@ function ie(e, t, r) {
499
499
  };
500
500
  });
501
501
  }
502
- function pr(e) {
502
+ function dr(e) {
503
503
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
504
504
  }
505
- var br = function(t) {
506
- return gr(t) && !vr(t);
505
+ var mr = function(t) {
506
+ return pr(t) && !br(t);
507
507
  };
508
- function gr(e) {
508
+ function pr(e) {
509
509
  return !!e && typeof e == "object";
510
510
  }
511
- function vr(e) {
511
+ function br(e) {
512
512
  var t = Object.prototype.toString.call(e);
513
- return t === "[object RegExp]" || t === "[object Date]" || xr(e);
513
+ return t === "[object RegExp]" || t === "[object Date]" || yr(e);
514
514
  }
515
- var yr = typeof Symbol == "function" && Symbol.for, Er = yr ? Symbol.for("react.element") : 60103;
516
- function xr(e) {
517
- return e.$$typeof === Er;
515
+ var gr = typeof Symbol == "function" && Symbol.for, vr = gr ? Symbol.for("react.element") : 60103;
516
+ function yr(e) {
517
+ return e.$$typeof === vr;
518
518
  }
519
- function _r(e) {
519
+ function Er(e) {
520
520
  return Array.isArray(e) ? [] : {};
521
521
  }
522
522
  function de(e, t) {
523
- return t.clone !== !1 && t.isMergeableObject(e) ? K(_r(e), e, t) : e;
523
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Er(e), e, t) : e;
524
524
  }
525
- function Sr(e, t, r) {
525
+ function xr(e, t, r) {
526
526
  return e.concat(t).map(function(n) {
527
527
  return de(n, r);
528
528
  });
529
529
  }
530
- function Tr(e, t) {
530
+ function _r(e, t) {
531
531
  if (!t.customMerge)
532
532
  return K;
533
533
  var r = t.customMerge(e);
534
534
  return typeof r == "function" ? r : K;
535
535
  }
536
- function Hr(e) {
536
+ function Sr(e) {
537
537
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
538
538
  return Object.propertyIsEnumerable.call(e, t);
539
539
  }) : [];
540
540
  }
541
- function et(e) {
542
- return Object.keys(e).concat(Hr(e));
541
+ function Ye(e) {
542
+ return Object.keys(e).concat(Sr(e));
543
543
  }
544
- function _t(e, t) {
544
+ function Et(e, t) {
545
545
  try {
546
546
  return t in e;
547
547
  } catch {
548
548
  return !1;
549
549
  }
550
550
  }
551
- function Ar(e, t) {
552
- return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
551
+ function Tr(e, t) {
552
+ return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
553
553
  }
554
- function Br(e, t, r) {
554
+ function Hr(e, t, r) {
555
555
  var n = {};
556
- return r.isMergeableObject(e) && et(e).forEach(function(i) {
556
+ return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
557
557
  n[i] = de(e[i], r);
558
- }), et(t).forEach(function(i) {
559
- Ar(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
558
+ }), Ye(t).forEach(function(i) {
559
+ Tr(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = _r(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
560
560
  }), n;
561
561
  }
562
562
  function K(e, t, r) {
563
- r = r || {}, r.arrayMerge = r.arrayMerge || Sr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = de;
563
+ r = r || {}, r.arrayMerge = r.arrayMerge || xr, r.isMergeableObject = r.isMergeableObject || mr, r.cloneUnlessOtherwiseSpecified = de;
564
564
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
565
- return o ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : de(t, r);
565
+ return o ? n ? r.arrayMerge(e, t, r) : Hr(e, t, r) : de(t, r);
566
566
  }
567
567
  K.all = function(t, r) {
568
568
  if (!Array.isArray(t))
@@ -571,8 +571,8 @@ K.all = function(t, r) {
571
571
  return K(n, i, r);
572
572
  }, {});
573
573
  };
574
- var wr = K, Pr = wr;
575
- const Cr = /* @__PURE__ */ pr(Pr);
574
+ var Ar = K, Br = Ar;
575
+ const wr = /* @__PURE__ */ dr(Br);
576
576
  /*! *****************************************************************************
577
577
  Copyright (c) Microsoft Corporation.
578
578
 
@@ -614,7 +614,7 @@ var v = function() {
614
614
  return t;
615
615
  }, v.apply(this, arguments);
616
616
  };
617
- function Ir(e, t) {
617
+ function Pr(e, t) {
618
618
  var r = {};
619
619
  for (var n in e)
620
620
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -630,55 +630,53 @@ function we(e, t, r) {
630
630
  return e.concat(o || t);
631
631
  }
632
632
  function Pe(e, t) {
633
- var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Mr;
633
+ var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Nr;
634
634
  return i(e, {
635
635
  cache: r,
636
636
  serializer: n
637
637
  });
638
638
  }
639
- function Nr(e) {
639
+ function Cr(e) {
640
640
  return e == null || typeof e == "number" || typeof e == "boolean";
641
641
  }
642
- function St(e, t, r, n) {
643
- var i = Nr(n) ? n : r(n), o = t.get(i);
642
+ function Ir(e, t, r, n) {
643
+ var i = Cr(n) ? n : r(n), o = t.get(i);
644
644
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
645
645
  }
646
- function Tt(e, t, r) {
646
+ function xt(e, t, r) {
647
647
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
648
648
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
649
649
  }
650
- function We(e, t, r, n, i) {
650
+ function _t(e, t, r, n, i) {
651
651
  return r.bind(t, e, n, i);
652
652
  }
653
- function Mr(e, t) {
654
- var r = e.length === 1 ? St : Tt;
655
- return We(e, this, r, t.cache.create(), t.serializer);
653
+ function Nr(e, t) {
654
+ var r = e.length === 1 ? Ir : xt;
655
+ return _t(e, this, r, t.cache.create(), t.serializer);
656
656
  }
657
657
  function Or(e, t) {
658
- return We(e, this, Tt, t.cache.create(), t.serializer);
659
- }
660
- function Lr(e, t) {
661
- return We(e, this, St, t.cache.create(), t.serializer);
658
+ return _t(e, this, xt, t.cache.create(), t.serializer);
662
659
  }
663
- var Rr = function() {
660
+ var Mr = function() {
664
661
  return JSON.stringify(arguments);
665
- };
666
- function Ze() {
667
- this.cache = /* @__PURE__ */ Object.create(null);
668
- }
669
- Ze.prototype.get = function(e) {
670
- return this.cache[e];
671
- };
672
- Ze.prototype.set = function(e, t) {
673
- this.cache[e] = t;
674
- };
675
- var $r = {
662
+ }, Lr = (
663
+ /** @class */
664
+ function() {
665
+ function e() {
666
+ this.cache = /* @__PURE__ */ Object.create(null);
667
+ }
668
+ return e.prototype.get = function(t) {
669
+ return this.cache[t];
670
+ }, e.prototype.set = function(t, r) {
671
+ this.cache[t] = r;
672
+ }, e;
673
+ }()
674
+ ), Rr = {
676
675
  create: function() {
677
- return new Ze();
676
+ return new Lr();
678
677
  }
679
678
  }, Ce = {
680
- variadic: Or,
681
- monadic: Lr
679
+ variadic: Or
682
680
  }, m;
683
681
  (function(e) {
684
682
  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";
@@ -691,43 +689,43 @@ var ee;
691
689
  (function(e) {
692
690
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
693
691
  })(ee || (ee = {}));
694
- function tt(e) {
692
+ function Ke(e) {
695
693
  return e.type === x.literal;
696
694
  }
697
- function Ur(e) {
695
+ function $r(e) {
698
696
  return e.type === x.argument;
699
697
  }
700
- function Ht(e) {
698
+ function St(e) {
701
699
  return e.type === x.number;
702
700
  }
703
- function At(e) {
701
+ function Tt(e) {
704
702
  return e.type === x.date;
705
703
  }
706
- function Bt(e) {
704
+ function Ht(e) {
707
705
  return e.type === x.time;
708
706
  }
709
- function wt(e) {
707
+ function At(e) {
710
708
  return e.type === x.select;
711
709
  }
712
- function Pt(e) {
710
+ function Bt(e) {
713
711
  return e.type === x.plural;
714
712
  }
715
- function Dr(e) {
713
+ function Ur(e) {
716
714
  return e.type === x.pound;
717
715
  }
718
- function Ct(e) {
716
+ function wt(e) {
719
717
  return e.type === x.tag;
720
718
  }
721
- function It(e) {
719
+ function Pt(e) {
722
720
  return !!(e && typeof e == "object" && e.type === ee.number);
723
721
  }
724
722
  function Ue(e) {
725
723
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
726
724
  }
727
- var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[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;
728
- function Gr(e) {
725
+ var Ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
726
+ function Fr(e) {
729
727
  var t = {};
730
- return e.replace(Fr, function(r) {
728
+ return e.replace(Dr, function(r) {
731
729
  var n = r.length;
732
730
  switch (r[0]) {
733
731
  case "G":
@@ -816,11 +814,11 @@ function Gr(e) {
816
814
  return "";
817
815
  }), t;
818
816
  }
819
- var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
820
- function jr(e) {
817
+ var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
818
+ function kr(e) {
821
819
  if (e.length === 0)
822
820
  throw new Error("Number skeleton cannot be empty");
823
- for (var t = e.split(kr).filter(function(d) {
821
+ for (var t = e.split(Gr).filter(function(d) {
824
822
  return d.length > 0;
825
823
  }), r = [], n = 0, i = t; n < i.length; n++) {
826
824
  var o = i[n], a = o.split("/");
@@ -835,17 +833,17 @@ function jr(e) {
835
833
  }
836
834
  return r;
837
835
  }
838
- function Vr(e) {
836
+ function jr(e) {
839
837
  return e.replace(/^(.*?)-/, "");
840
838
  }
841
- var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ot = /^(0+)$/;
842
- function nt(e) {
839
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, It = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
840
+ function tt(e) {
843
841
  var t = {};
844
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
842
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(It, function(r, n, i) {
845
843
  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)), "";
846
844
  }), t;
847
845
  }
848
- function Lt(e) {
846
+ function Ot(e) {
849
847
  switch (e) {
850
848
  case "sign-auto":
851
849
  return {
@@ -885,7 +883,7 @@ function Lt(e) {
885
883
  };
886
884
  }
887
885
  }
888
- function zr(e) {
886
+ function Xr(e) {
889
887
  var t;
890
888
  if (e[0] === "E" && e[1] === "E" ? (t = {
891
889
  notation: "engineering"
@@ -893,17 +891,17 @@ function zr(e) {
893
891
  notation: "scientific"
894
892
  }, e = e.slice(1)), t) {
895
893
  var r = e.slice(0, 2);
896
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ot.test(e))
894
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
897
895
  throw new Error("Malformed concise eng/scientific notation");
898
896
  t.minimumIntegerDigits = e.length;
899
897
  }
900
898
  return t;
901
899
  }
902
- function it(e) {
903
- var t = {}, r = Lt(e);
900
+ function rt(e) {
901
+ var t = {}, r = Ot(e);
904
902
  return r || t;
905
903
  }
906
- function Wr(e) {
904
+ function zr(e) {
907
905
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
908
906
  var i = n[r];
909
907
  switch (i.stem) {
@@ -927,7 +925,7 @@ function Wr(e) {
927
925
  continue;
928
926
  case "measure-unit":
929
927
  case "unit":
930
- t.style = "unit", t.unit = Vr(i.options[0]);
928
+ t.style = "unit", t.unit = jr(i.options[0]);
931
929
  continue;
932
930
  case "compact-short":
933
931
  case "K":
@@ -939,12 +937,12 @@ function Wr(e) {
939
937
  continue;
940
938
  case "scientific":
941
939
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
942
- return v(v({}, h), it(u));
940
+ return v(v({}, h), rt(u));
943
941
  }, {}));
944
942
  continue;
945
943
  case "engineering":
946
944
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
947
- return v(v({}, h), it(u));
945
+ return v(v({}, h), rt(u));
948
946
  }, {}));
949
947
  continue;
950
948
  case "notation-simple":
@@ -989,7 +987,7 @@ function Wr(e) {
989
987
  case "integer-width":
990
988
  if (i.options.length > 1)
991
989
  throw new RangeError("integer-width stems only accept a single optional option");
992
- i.options[0].replace(Xr, function(h, u, l, c, d, g) {
990
+ i.options[0].replace(Vr, function(h, u, l, c, d, g) {
993
991
  if (u)
994
992
  t.minimumIntegerDigits = l.length;
995
993
  else {
@@ -1002,27 +1000,27 @@ function Wr(e) {
1002
1000
  });
1003
1001
  continue;
1004
1002
  }
1005
- if (Ot.test(i.stem)) {
1003
+ if (Nt.test(i.stem)) {
1006
1004
  t.minimumIntegerDigits = i.stem.length;
1007
1005
  continue;
1008
1006
  }
1009
- if (rt.test(i.stem)) {
1007
+ if (et.test(i.stem)) {
1010
1008
  if (i.options.length > 1)
1011
1009
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1012
- i.stem.replace(rt, function(h, u, l, c, d, g) {
1010
+ i.stem.replace(et, function(h, u, l, c, d, g) {
1013
1011
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1014
1012
  });
1015
1013
  var o = i.options[0];
1016
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), nt(o)));
1014
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), tt(o)));
1017
1015
  continue;
1018
1016
  }
1019
- if (Mt.test(i.stem)) {
1020
- t = v(v({}, t), nt(i.stem));
1017
+ if (It.test(i.stem)) {
1018
+ t = v(v({}, t), tt(i.stem));
1021
1019
  continue;
1022
1020
  }
1023
- var a = Lt(i.stem);
1021
+ var a = Ot(i.stem);
1024
1022
  a && (t = v(v({}, t), a));
1025
- var s = zr(i.stem);
1023
+ var s = Xr(i.stem);
1026
1024
  s && (t = v(v({}, t), s));
1027
1025
  }
1028
1026
  return t;
@@ -2442,13 +2440,13 @@ var be = {
2442
2440
  "h"
2443
2441
  ]
2444
2442
  };
2445
- function Zr(e, t) {
2443
+ function Wr(e, t) {
2446
2444
  for (var r = "", n = 0; n < e.length; n++) {
2447
2445
  var i = e.charAt(n);
2448
2446
  if (i === "j") {
2449
2447
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2450
2448
  o++, n++;
2451
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Jr(t);
2449
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Zr(t);
2452
2450
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2453
2451
  r += h;
2454
2452
  for (; a-- > 0; )
@@ -2458,7 +2456,7 @@ function Zr(e, t) {
2458
2456
  }
2459
2457
  return r;
2460
2458
  }
2461
- function Jr(e) {
2459
+ function Zr(e) {
2462
2460
  var t = e.hourCycle;
2463
2461
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2464
2462
  e.hourCycles && // @ts-ignore
@@ -2480,20 +2478,20 @@ function Jr(e) {
2480
2478
  var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2481
2479
  return i[0];
2482
2480
  }
2483
- var Ie, Qr = new RegExp("^".concat(Nt.source, "*")), qr = new RegExp("".concat(Nt.source, "*$"));
2481
+ var Ie, Jr = new RegExp("^".concat(Ct.source, "*")), Qr = new RegExp("".concat(Ct.source, "*$"));
2484
2482
  function b(e, t) {
2485
2483
  return { start: e, end: t };
2486
2484
  }
2487
- var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, sn = on ? Number.isSafeInteger : function(e) {
2485
+ var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, on = nn ? Number.isSafeInteger : function(e) {
2488
2486
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2489
2487
  }, De = !0;
2490
2488
  try {
2491
- var an = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2492
- De = ((Ie = an.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2489
+ var sn = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2490
+ De = ((Ie = sn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2493
2491
  } catch {
2494
2492
  De = !1;
2495
2493
  }
2496
- var ot = Yr ? (
2494
+ var nt = qr ? (
2497
2495
  // Native
2498
2496
  function(t, r, n) {
2499
2497
  return t.startsWith(r, n);
@@ -2503,7 +2501,7 @@ var ot = Yr ? (
2503
2501
  function(t, r, n) {
2504
2502
  return t.slice(n, n + r.length) === r;
2505
2503
  }
2506
- ), Fe = Kr ? String.fromCodePoint : (
2504
+ ), Fe = Yr ? String.fromCodePoint : (
2507
2505
  // IE11
2508
2506
  function() {
2509
2507
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2515,9 +2513,9 @@ var ot = Yr ? (
2515
2513
  }
2516
2514
  return n;
2517
2515
  }
2518
- ), st = (
2516
+ ), it = (
2519
2517
  // native
2520
- en ? Object.fromEntries : (
2518
+ Kr ? Object.fromEntries : (
2521
2519
  // Ponyfill
2522
2520
  function(t) {
2523
2521
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2527,7 +2525,7 @@ var ot = Yr ? (
2527
2525
  return r;
2528
2526
  }
2529
2527
  )
2530
- ), Rt = tn ? (
2528
+ ), Mt = en ? (
2531
2529
  // Native
2532
2530
  function(t, r) {
2533
2531
  return t.codePointAt(r);
@@ -2541,7 +2539,7 @@ var ot = Yr ? (
2541
2539
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2542
2540
  }
2543
2541
  }
2544
- ), un = rn ? (
2542
+ ), an = tn ? (
2545
2543
  // Native
2546
2544
  function(t) {
2547
2545
  return t.trimStart();
@@ -2549,9 +2547,9 @@ var ot = Yr ? (
2549
2547
  ) : (
2550
2548
  // Ponyfill
2551
2549
  function(t) {
2552
- return t.replace(Qr, "");
2550
+ return t.replace(Jr, "");
2553
2551
  }
2554
- ), ln = nn ? (
2552
+ ), un = rn ? (
2555
2553
  // Native
2556
2554
  function(t) {
2557
2555
  return t.trimEnd();
@@ -2559,32 +2557,32 @@ var ot = Yr ? (
2559
2557
  ) : (
2560
2558
  // Ponyfill
2561
2559
  function(t) {
2562
- return t.replace(qr, "");
2560
+ return t.replace(Qr, "");
2563
2561
  }
2564
2562
  );
2565
- function $t(e, t) {
2563
+ function Lt(e, t) {
2566
2564
  return new RegExp(e, t);
2567
2565
  }
2568
2566
  var Ge;
2569
2567
  if (De) {
2570
- var at = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2568
+ var ot = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2571
2569
  Ge = function(t, r) {
2572
2570
  var n;
2573
- at.lastIndex = r;
2574
- var i = at.exec(t);
2571
+ ot.lastIndex = r;
2572
+ var i = ot.exec(t);
2575
2573
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2576
2574
  };
2577
2575
  } else
2578
2576
  Ge = function(t, r) {
2579
2577
  for (var n = []; ; ) {
2580
- var i = Rt(t, r);
2581
- if (i === void 0 || Ut(i) || dn(i))
2578
+ var i = Mt(t, r);
2579
+ if (i === void 0 || Rt(i) || fn(i))
2582
2580
  break;
2583
2581
  n.push(i), r += i >= 65536 ? 2 : 1;
2584
2582
  }
2585
2583
  return Fe.apply(void 0, n);
2586
2584
  };
2587
- var hn = (
2585
+ var ln = (
2588
2586
  /** @class */
2589
2587
  function() {
2590
2588
  function e(t, r) {
@@ -2666,7 +2664,7 @@ var hn = (
2666
2664
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2667
2665
  }, e.prototype.parseTagName = function() {
2668
2666
  var t = this.offset();
2669
- for (this.bump(); !this.isEOF() && fn(this.char()); )
2667
+ for (this.bump(); !this.isEOF() && cn(this.char()); )
2670
2668
  this.bump();
2671
2669
  return this.message.slice(t, this.offset());
2672
2670
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2695,7 +2693,7 @@ var hn = (
2695
2693
  };
2696
2694
  }, e.prototype.tryParseLeftAngleBracket = function() {
2697
2695
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2698
- !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2696
+ !hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2699
2697
  }, e.prototype.tryParseQuote = function(t) {
2700
2698
  if (this.isEOF() || this.char() !== 39)
2701
2699
  return null;
@@ -2782,7 +2780,7 @@ var hn = (
2782
2780
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2783
2781
  if (c.err)
2784
2782
  return c;
2785
- var d = ln(c.val);
2783
+ var d = un(c.val);
2786
2784
  if (d.length === 0)
2787
2785
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2788
2786
  var g = b(l, this.clonePosition());
@@ -2792,8 +2790,8 @@ var hn = (
2792
2790
  if (y.err)
2793
2791
  return y;
2794
2792
  var _ = b(i, this.clonePosition());
2795
- if (u && ot(u?.style, "::", 0)) {
2796
- var T = un(u.style.slice(2));
2793
+ if (u && nt(u?.style, "::", 0)) {
2794
+ var T = an(u.style.slice(2));
2797
2795
  if (s === "number") {
2798
2796
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2799
2797
  return c.err ? c : {
@@ -2804,12 +2802,12 @@ var hn = (
2804
2802
  if (T.length === 0)
2805
2803
  return this.error(m.EXPECT_DATE_TIME_SKELETON, _);
2806
2804
  var H = T;
2807
- this.locale && (H = Zr(T, this.locale));
2805
+ this.locale && (H = Wr(T, this.locale));
2808
2806
  var d = {
2809
2807
  type: ee.dateTime,
2810
2808
  pattern: H,
2811
2809
  location: u.styleLocation,
2812
- parsedOptions: this.shouldParseSkeletons ? Gr(H) : {}
2810
+ parsedOptions: this.shouldParseSkeletons ? Fr(H) : {}
2813
2811
  }, L = s === "date" ? x.date : x.time;
2814
2812
  return {
2815
2813
  val: { type: L, value: n, location: _, style: d },
@@ -2855,7 +2853,7 @@ var hn = (
2855
2853
  val: {
2856
2854
  type: x.select,
2857
2855
  value: n,
2858
- options: st(D.val),
2856
+ options: it(D.val),
2859
2857
  location: j
2860
2858
  },
2861
2859
  err: null
@@ -2863,7 +2861,7 @@ var hn = (
2863
2861
  val: {
2864
2862
  type: x.plural,
2865
2863
  value: n,
2866
- options: st(D.val),
2864
+ options: it(D.val),
2867
2865
  offset: N,
2868
2866
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2869
2867
  location: j
@@ -2914,7 +2912,7 @@ var hn = (
2914
2912
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2915
2913
  var n = [];
2916
2914
  try {
2917
- n = jr(t);
2915
+ n = kr(t);
2918
2916
  } catch {
2919
2917
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2920
2918
  }
@@ -2923,7 +2921,7 @@ var hn = (
2923
2921
  type: ee.number,
2924
2922
  tokens: n,
2925
2923
  location: r,
2926
- parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2924
+ parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
2927
2925
  },
2928
2926
  err: null
2929
2927
  };
@@ -2971,7 +2969,7 @@ var hn = (
2971
2969
  break;
2972
2970
  }
2973
2971
  var h = b(i, this.clonePosition());
2974
- return o ? (a *= n, sn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2972
+ return o ? (a *= n, on(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2975
2973
  }, e.prototype.offset = function() {
2976
2974
  return this.position.offset;
2977
2975
  }, e.prototype.isEOF = function() {
@@ -2986,7 +2984,7 @@ var hn = (
2986
2984
  var t = this.position.offset;
2987
2985
  if (t >= this.message.length)
2988
2986
  throw Error("out of bound");
2989
- var r = Rt(this.message, t);
2987
+ var r = Mt(this.message, t);
2990
2988
  if (r === void 0)
2991
2989
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2992
2990
  return r;
@@ -3005,7 +3003,7 @@ var hn = (
3005
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);
3006
3004
  }
3007
3005
  }, e.prototype.bumpIf = function(t) {
3008
- if (ot(this.message, t, this.offset())) {
3006
+ if (nt(this.message, t, this.offset())) {
3009
3007
  for (var r = 0; r < t.length; r++)
3010
3008
  this.bump();
3011
3009
  return !0;
@@ -3027,7 +3025,7 @@ var hn = (
3027
3025
  break;
3028
3026
  }
3029
3027
  }, e.prototype.bumpSpace = function() {
3030
- for (; !this.isEOF() && Ut(this.char()); )
3028
+ for (; !this.isEOF() && Rt(this.char()); )
3031
3029
  this.bump();
3032
3030
  }, e.prototype.peek = function() {
3033
3031
  if (this.isEOF())
@@ -3040,30 +3038,30 @@ var hn = (
3040
3038
  function ke(e) {
3041
3039
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3042
3040
  }
3043
- function cn(e) {
3041
+ function hn(e) {
3044
3042
  return ke(e) || e === 47;
3045
3043
  }
3046
- function fn(e) {
3044
+ function cn(e) {
3047
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;
3048
3046
  }
3049
- function Ut(e) {
3047
+ function Rt(e) {
3050
3048
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3051
3049
  }
3052
- function dn(e) {
3050
+ function fn(e) {
3053
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;
3054
3052
  }
3055
3053
  function je(e) {
3056
3054
  e.forEach(function(t) {
3057
- if (delete t.location, wt(t) || Pt(t))
3055
+ if (delete t.location, At(t) || Bt(t))
3058
3056
  for (var r in t.options)
3059
3057
  delete t.options[r].location, je(t.options[r].value);
3060
3058
  else
3061
- Ht(t) && It(t.style) || (At(t) || Bt(t)) && Ue(t.style) ? delete t.style.location : Ct(t) && je(t.children);
3059
+ St(t) && Pt(t.style) || (Tt(t) || Ht(t)) && Ue(t.style) ? delete t.style.location : wt(t) && je(t.children);
3062
3060
  });
3063
3061
  }
3064
- function mn(e, t) {
3062
+ function dn(e, t) {
3065
3063
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3066
- var r = new hn(e, t).parse();
3064
+ var r = new ln(e, t).parse();
3067
3065
  if (r.err) {
3068
3066
  var n = SyntaxError(m[r.err.kind]);
3069
3067
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3086,7 +3084,7 @@ var Te = (
3086
3084
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3087
3085
  }, t;
3088
3086
  }(Error)
3089
- ), ut = (
3087
+ ), st = (
3090
3088
  /** @class */
3091
3089
  function(e) {
3092
3090
  Se(t, e);
@@ -3095,7 +3093,7 @@ var Te = (
3095
3093
  }
3096
3094
  return t;
3097
3095
  }(Te)
3098
- ), pn = (
3096
+ ), mn = (
3099
3097
  /** @class */
3100
3098
  function(e) {
3101
3099
  Se(t, e);
@@ -3104,7 +3102,7 @@ var Te = (
3104
3102
  }
3105
3103
  return t;
3106
3104
  }(Te)
3107
- ), bn = (
3105
+ ), pn = (
3108
3106
  /** @class */
3109
3107
  function(e) {
3110
3108
  Se(t, e);
@@ -3117,17 +3115,17 @@ var Te = (
3117
3115
  (function(e) {
3118
3116
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3119
3117
  })(I || (I = {}));
3120
- function gn(e) {
3118
+ function bn(e) {
3121
3119
  return e.length < 2 ? e : e.reduce(function(t, r) {
3122
3120
  var n = t[t.length - 1];
3123
3121
  return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3124
3122
  }, []);
3125
3123
  }
3126
- function vn(e) {
3124
+ function gn(e) {
3127
3125
  return typeof e == "function";
3128
3126
  }
3129
3127
  function ve(e, t, r, n, i, o, a) {
3130
- if (e.length === 1 && tt(e[0]))
3128
+ if (e.length === 1 && Ke(e[0]))
3131
3129
  return [
3132
3130
  {
3133
3131
  type: I.literal,
@@ -3136,14 +3134,14 @@ function ve(e, t, r, n, i, o, a) {
3136
3134
  ];
3137
3135
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3138
3136
  var l = u[h];
3139
- if (tt(l)) {
3137
+ if (Ke(l)) {
3140
3138
  s.push({
3141
3139
  type: I.literal,
3142
3140
  value: l.value
3143
3141
  });
3144
3142
  continue;
3145
3143
  }
3146
- if (Dr(l)) {
3144
+ if (Ur(l)) {
3147
3145
  typeof o == "number" && s.push({
3148
3146
  type: I.literal,
3149
3147
  value: r.getNumberFormat(t).format(o)
@@ -3152,16 +3150,16 @@ function ve(e, t, r, n, i, o, a) {
3152
3150
  }
3153
3151
  var c = l.value;
3154
3152
  if (!(i && c in i))
3155
- throw new bn(c, a);
3153
+ throw new pn(c, a);
3156
3154
  var d = i[c];
3157
- if (Ur(l)) {
3155
+ if ($r(l)) {
3158
3156
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3159
3157
  type: typeof d == "string" ? I.literal : I.object,
3160
3158
  value: d
3161
3159
  });
3162
3160
  continue;
3163
3161
  }
3164
- if (At(l)) {
3162
+ if (Tt(l)) {
3165
3163
  var g = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3166
3164
  s.push({
3167
3165
  type: I.literal,
@@ -3169,7 +3167,7 @@ function ve(e, t, r, n, i, o, a) {
3169
3167
  });
3170
3168
  continue;
3171
3169
  }
3172
- if (Bt(l)) {
3170
+ if (Ht(l)) {
3173
3171
  var g = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3174
3172
  s.push({
3175
3173
  type: I.literal,
@@ -3177,18 +3175,18 @@ function ve(e, t, r, n, i, o, a) {
3177
3175
  });
3178
3176
  continue;
3179
3177
  }
3180
- if (Ht(l)) {
3181
- var g = typeof l.style == "string" ? n.number[l.style] : It(l.style) ? l.style.parsedOptions : void 0;
3178
+ if (St(l)) {
3179
+ var g = typeof l.style == "string" ? n.number[l.style] : Pt(l.style) ? l.style.parsedOptions : void 0;
3182
3180
  g && g.scale && (d = d * (g.scale || 1)), s.push({
3183
3181
  type: I.literal,
3184
3182
  value: r.getNumberFormat(t, g).format(d)
3185
3183
  });
3186
3184
  continue;
3187
3185
  }
3188
- if (Ct(l)) {
3186
+ if (wt(l)) {
3189
3187
  var y = l.children, _ = l.value, T = i[_];
3190
- if (!vn(T))
3191
- throw new pn(_, "function", a);
3188
+ if (!gn(T))
3189
+ throw new mn(_, "function", a);
3192
3190
  var H = ve(y, t, r, n, i, o), L = T(H.map(function(N) {
3193
3191
  return N.value;
3194
3192
  }));
@@ -3199,14 +3197,14 @@ function ve(e, t, r, n, i, o, a) {
3199
3197
  };
3200
3198
  }));
3201
3199
  }
3202
- if (wt(l)) {
3200
+ if (At(l)) {
3203
3201
  var B = l.options[d] || l.options.other;
3204
3202
  if (!B)
3205
- throw new ut(l.value, d, Object.keys(l.options), a);
3203
+ throw new st(l.value, d, Object.keys(l.options), a);
3206
3204
  s.push.apply(s, ve(B.value, t, r, n, i));
3207
3205
  continue;
3208
3206
  }
3209
- if (Pt(l)) {
3207
+ if (Bt(l)) {
3210
3208
  var B = l.options["=".concat(d)];
3211
3209
  if (!B) {
3212
3210
  if (!Intl.PluralRules)
@@ -3217,21 +3215,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3217
3215
  B = l.options[S] || l.options.other;
3218
3216
  }
3219
3217
  if (!B)
3220
- throw new ut(l.value, d, Object.keys(l.options), a);
3218
+ throw new st(l.value, d, Object.keys(l.options), a);
3221
3219
  s.push.apply(s, ve(B.value, t, r, n, i, d - (l.offset || 0)));
3222
3220
  continue;
3223
3221
  }
3224
3222
  }
3225
- return gn(s);
3223
+ return bn(s);
3226
3224
  }
3227
- function yn(e, t) {
3225
+ function vn(e, t) {
3228
3226
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3229
3227
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3230
3228
  }, {})) : e;
3231
3229
  }
3232
- function En(e, t) {
3230
+ function yn(e, t) {
3233
3231
  return t ? Object.keys(e).reduce(function(r, n) {
3234
- return r[n] = yn(e[n], t[n]), r;
3232
+ return r[n] = vn(e[n], t[n]), r;
3235
3233
  }, v({}, e)) : e;
3236
3234
  }
3237
3235
  function Ne(e) {
@@ -3248,7 +3246,7 @@ function Ne(e) {
3248
3246
  }
3249
3247
  };
3250
3248
  }
3251
- function xn(e) {
3249
+ function En(e) {
3252
3250
  return e === void 0 && (e = {
3253
3251
  number: {},
3254
3252
  dateTime: {},
@@ -3280,7 +3278,7 @@ function xn(e) {
3280
3278
  })
3281
3279
  };
3282
3280
  }
3283
- var _n = (
3281
+ var xn = (
3284
3282
  /** @class */
3285
3283
  function() {
3286
3284
  function e(t, r, n, i) {
@@ -3312,13 +3310,13 @@ var _n = (
3312
3310
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3313
3311
  var a = i || {};
3314
3312
  a.formatters;
3315
- var s = Ir(a, ["formatters"]);
3313
+ var s = Pr(a, ["formatters"]);
3316
3314
  this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3317
3315
  } else
3318
3316
  this.ast = t;
3319
3317
  if (!Array.isArray(this.ast))
3320
3318
  throw new TypeError("A message must be provided as a String or AST.");
3321
- this.formats = En(e.formats, n), this.formatters = i && i.formatters || xn(this.formatterCache);
3319
+ this.formats = yn(e.formats, n), this.formatters = i && i.formatters || En(this.formatterCache);
3322
3320
  }
3323
3321
  return Object.defineProperty(e, "defaultLocale", {
3324
3322
  get: function() {
@@ -3331,7 +3329,7 @@ var _n = (
3331
3329
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3332
3330
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3333
3331
  }
3334
- }, e.__parse = mn, e.formats = {
3332
+ }, e.__parse = dn, e.formats = {
3335
3333
  number: {
3336
3334
  integer: {
3337
3335
  maximumFractionDigits: 0
@@ -3392,7 +3390,7 @@ var _n = (
3392
3390
  }, e;
3393
3391
  }()
3394
3392
  );
3395
- function Sn(e, t) {
3393
+ function _n(e, t) {
3396
3394
  if (t == null)
3397
3395
  return;
3398
3396
  if (t in e)
@@ -3413,60 +3411,60 @@ function Sn(e, t) {
3413
3411
  n = void 0;
3414
3412
  return n;
3415
3413
  }
3416
- const G = {}, Tn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Dt = (e, t) => {
3414
+ const G = {}, Sn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), $t = (e, t) => {
3417
3415
  if (t == null)
3418
3416
  return;
3419
3417
  if (t in G && e in G[t])
3420
3418
  return G[t][e];
3421
3419
  const r = He(t);
3422
3420
  for (let n = 0; n < r.length; n++) {
3423
- const i = r[n], o = An(i, e);
3421
+ const i = r[n], o = Hn(i, e);
3424
3422
  if (o)
3425
- return Tn(e, t, o);
3423
+ return Sn(e, t, o);
3426
3424
  }
3427
3425
  };
3428
- let Je;
3426
+ let We;
3429
3427
  const oe = _e({});
3430
- function Hn(e) {
3431
- return Je[e] || null;
3428
+ function Tn(e) {
3429
+ return We[e] || null;
3432
3430
  }
3433
- function Ft(e) {
3434
- return e in Je;
3431
+ function Ut(e) {
3432
+ return e in We;
3435
3433
  }
3436
- function An(e, t) {
3437
- if (!Ft(e))
3434
+ function Hn(e, t) {
3435
+ if (!Ut(e))
3438
3436
  return null;
3439
- const r = Hn(e);
3440
- return Sn(r, t);
3437
+ const r = Tn(e);
3438
+ return _n(r, t);
3441
3439
  }
3442
- function Bn(e) {
3440
+ function An(e) {
3443
3441
  if (e == null)
3444
3442
  return;
3445
3443
  const t = He(e);
3446
3444
  for (let r = 0; r < t.length; r++) {
3447
3445
  const n = t[r];
3448
- if (Ft(n))
3446
+ if (Ut(n))
3449
3447
  return n;
3450
3448
  }
3451
3449
  }
3452
- function Gt(e, ...t) {
3453
- delete G[e], oe.update((r) => (r[e] = Cr.all([r[e] || {}, ...t]), r));
3450
+ function Dt(e, ...t) {
3451
+ delete G[e], oe.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
3454
3452
  }
3455
3453
  ie(
3456
3454
  [oe],
3457
3455
  ([e]) => Object.keys(e)
3458
3456
  );
3459
- oe.subscribe((e) => Je = e);
3457
+ oe.subscribe((e) => We = e);
3460
3458
  const ye = {};
3461
- function wn(e, t) {
3459
+ function Bn(e, t) {
3462
3460
  ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3463
3461
  }
3464
- function kt(e) {
3462
+ function Ft(e) {
3465
3463
  return ye[e];
3466
3464
  }
3467
- function Pn(e) {
3465
+ function wn(e) {
3468
3466
  return He(e).map((t) => {
3469
- const r = kt(t);
3467
+ const r = Ft(t);
3470
3468
  return [t, r ? [...r] : []];
3471
3469
  }).filter(([, t]) => t.length > 0);
3472
3470
  }
@@ -3474,31 +3472,31 @@ function Ve(e) {
3474
3472
  return e == null ? !1 : He(e).some(
3475
3473
  (t) => {
3476
3474
  var r;
3477
- return (r = kt(t)) == null ? void 0 : r.size;
3475
+ return (r = Ft(t)) == null ? void 0 : r.size;
3478
3476
  }
3479
3477
  );
3480
3478
  }
3481
- function Cn(e, t) {
3479
+ function Pn(e, t) {
3482
3480
  return Promise.all(
3483
- t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
3484
- ).then((n) => Gt(e, ...n));
3481
+ t.map((n) => (Bn(e, n), n().then((i) => i.default || i)))
3482
+ ).then((n) => Dt(e, ...n));
3485
3483
  }
3486
3484
  const he = {};
3487
- function jt(e) {
3485
+ function Gt(e) {
3488
3486
  if (!Ve(e))
3489
3487
  return e in he ? he[e] : Promise.resolve();
3490
- const t = Pn(e);
3488
+ const t = wn(e);
3491
3489
  return he[e] = Promise.all(
3492
3490
  t.map(
3493
- ([r, n]) => Cn(r, n)
3491
+ ([r, n]) => Pn(r, n)
3494
3492
  )
3495
3493
  ).then(() => {
3496
3494
  if (Ve(e))
3497
- return jt(e);
3495
+ return Gt(e);
3498
3496
  delete he[e];
3499
3497
  }), he[e];
3500
3498
  }
3501
- const In = {
3499
+ const Cn = {
3502
3500
  number: {
3503
3501
  scientific: { notation: "scientific" },
3504
3502
  engineering: { notation: "engineering" },
@@ -3527,34 +3525,34 @@ const In = {
3527
3525
  timeZoneName: "short"
3528
3526
  }
3529
3527
  }
3530
- }, Nn = {
3528
+ }, In = {
3531
3529
  fallbackLocale: null,
3532
3530
  loadingDelay: 200,
3533
- formats: In,
3531
+ formats: Cn,
3534
3532
  warnOnMissingMessages: !0,
3535
3533
  handleMissingMessage: void 0,
3536
3534
  ignoreTag: !0
3537
- }, Mn = Nn;
3535
+ }, Nn = In;
3538
3536
  function re() {
3539
- return Mn;
3537
+ return Nn;
3540
3538
  }
3541
- const Me = _e(!1);
3542
- var On = Object.defineProperty, Ln = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3539
+ const Oe = _e(!1);
3540
+ var On = Object.defineProperty, Mn = Object.defineProperties, Ln = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3543
3541
  for (var r in t || (t = {}))
3544
- $n.call(t, r) && ht(e, r, t[r]);
3545
- if (lt)
3546
- for (var r of lt(t))
3547
- Un.call(t, r) && ht(e, r, t[r]);
3542
+ Rn.call(t, r) && ut(e, r, t[r]);
3543
+ if (at)
3544
+ for (var r of at(t))
3545
+ $n.call(t, r) && ut(e, r, t[r]);
3548
3546
  return e;
3549
- }, Fn = (e, t) => Ln(e, Rn(t));
3547
+ }, Dn = (e, t) => Mn(e, Ln(t));
3550
3548
  let Xe;
3551
3549
  const Ee = _e(null);
3552
- function ct(e) {
3550
+ function lt(e) {
3553
3551
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3554
3552
  }
3555
3553
  function He(e, t = re().fallbackLocale) {
3556
- const r = ct(e);
3557
- return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
3554
+ const r = lt(e);
3555
+ return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3558
3556
  }
3559
3557
  function Z() {
3560
3558
  return Xe ?? void 0;
@@ -3562,22 +3560,22 @@ function Z() {
3562
3560
  Ee.subscribe((e) => {
3563
3561
  Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3564
3562
  });
3565
- const Gn = (e) => {
3566
- if (e && Bn(e) && Ve(e)) {
3563
+ const Fn = (e) => {
3564
+ if (e && An(e) && Ve(e)) {
3567
3565
  const { loadingDelay: t } = re();
3568
3566
  let r;
3569
3567
  return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
3570
- () => Me.set(!0),
3568
+ () => Oe.set(!0),
3571
3569
  t
3572
- ) : Me.set(!0), jt(e).then(() => {
3570
+ ) : Oe.set(!0), Gt(e).then(() => {
3573
3571
  Ee.set(e);
3574
3572
  }).finally(() => {
3575
- clearTimeout(r), Me.set(!1);
3573
+ clearTimeout(r), Oe.set(!1);
3576
3574
  });
3577
3575
  }
3578
3576
  return Ee.set(e);
3579
- }, z = Fn(Dn({}, Ee), {
3580
- set: Gn
3577
+ }, z = Dn(Un({}, Ee), {
3578
+ set: Fn
3581
3579
  }), Ae = (e) => {
3582
3580
  const t = /* @__PURE__ */ Object.create(null);
3583
3581
  return (n) => {
@@ -3585,20 +3583,20 @@ const Gn = (e) => {
3585
3583
  return i in t ? t[i] : t[i] = e(n);
3586
3584
  };
3587
3585
  };
3588
- var kn = Object.defineProperty, xe = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3586
+ var Gn = Object.defineProperty, xe = Object.getOwnPropertySymbols, kt = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3589
3587
  for (var r in t || (t = {}))
3590
- Vt.call(t, r) && ft(e, r, t[r]);
3588
+ kt.call(t, r) && ht(e, r, t[r]);
3591
3589
  if (xe)
3592
3590
  for (var r of xe(t))
3593
- Xt.call(t, r) && ft(e, r, t[r]);
3591
+ jt.call(t, r) && ht(e, r, t[r]);
3594
3592
  return e;
3595
3593
  }, se = (e, t) => {
3596
3594
  var r = {};
3597
3595
  for (var n in e)
3598
- Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3596
+ kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3599
3597
  if (e != null && xe)
3600
3598
  for (var n of xe(e))
3601
- t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3599
+ t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
3602
3600
  return r;
3603
3601
  };
3604
3602
  const me = (e, t) => {
@@ -3606,21 +3604,21 @@ const me = (e, t) => {
3606
3604
  if (e in r && t in r[e])
3607
3605
  return r[e][t];
3608
3606
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3609
- }, jn = Ae(
3607
+ }, kn = Ae(
3610
3608
  (e) => {
3611
3609
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3612
3610
  if (r == null)
3613
3611
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3614
3612
  return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3615
3613
  }
3616
- ), Vn = Ae(
3614
+ ), jn = Ae(
3617
3615
  (e) => {
3618
3616
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3619
3617
  if (r == null)
3620
3618
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3621
3619
  return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3622
3620
  }
3623
- ), Xn = Ae(
3621
+ ), Vn = Ae(
3624
3622
  (e) => {
3625
3623
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3626
3624
  if (r == null)
@@ -3629,33 +3627,33 @@ const me = (e, t) => {
3629
3627
  );
3630
3628
  return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3631
3629
  }
3632
- ), zn = (e = {}) => {
3630
+ ), Xn = (e = {}) => {
3633
3631
  var t = e, {
3634
3632
  locale: r = Z()
3635
3633
  } = t, n = se(t, [
3636
3634
  "locale"
3637
3635
  ]);
3638
- return jn(Qe({ locale: r }, n));
3639
- }, Wn = (e = {}) => {
3636
+ return kn(Ze({ locale: r }, n));
3637
+ }, zn = (e = {}) => {
3640
3638
  var t = e, {
3641
3639
  locale: r = Z()
3642
3640
  } = t, n = se(t, [
3643
3641
  "locale"
3644
3642
  ]);
3645
- return Vn(Qe({ locale: r }, n));
3646
- }, Zn = (e = {}) => {
3643
+ return jn(Ze({ locale: r }, n));
3644
+ }, Wn = (e = {}) => {
3647
3645
  var t = e, {
3648
3646
  locale: r = Z()
3649
3647
  } = t, n = se(t, [
3650
3648
  "locale"
3651
3649
  ]);
3652
- return Xn(Qe({ locale: r }, n));
3653
- }, Jn = Ae(
3650
+ return Vn(Ze({ locale: r }, n));
3651
+ }, Zn = Ae(
3654
3652
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3655
- (e, t = Z()) => new _n(e, t, re().formats, {
3653
+ (e, t = Z()) => new xn(e, t, re().formats, {
3656
3654
  ignoreTag: re().ignoreTag
3657
3655
  })
3658
- ), Qn = (e, t = {}) => {
3656
+ ), Jn = (e, t = {}) => {
3659
3657
  var r, n, i, o;
3660
3658
  let a = t;
3661
3659
  typeof e == "object" && (a = e, e = a.id);
@@ -3668,7 +3666,7 @@ const me = (e, t) => {
3668
3666
  throw new Error(
3669
3667
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3670
3668
  );
3671
- let l = Dt(e, h);
3669
+ let l = $t(e, h);
3672
3670
  if (!l)
3673
3671
  l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3674
3672
  else if (typeof l != "string")
@@ -3679,7 +3677,7 @@ const me = (e, t) => {
3679
3677
  return l;
3680
3678
  let c = l;
3681
3679
  try {
3682
- c = Jn(l, h).format(s);
3680
+ c = Zn(l, h).format(s);
3683
3681
  } catch (d) {
3684
3682
  d instanceof Error && console.warn(
3685
3683
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3687,20 +3685,20 @@ const me = (e, t) => {
3687
3685
  );
3688
3686
  }
3689
3687
  return c;
3690
- }, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = Z()) => Dt(e, t), ti = ie([z, oe], () => Qn);
3688
+ }, Qn = (e, t) => Wn(t).format(e), qn = (e, t) => zn(t).format(e), Yn = (e, t) => Xn(t).format(e), Kn = (e, t = Z()) => $t(e, t), ei = ie([z, oe], () => Jn);
3689
+ ie([z], () => Qn);
3691
3690
  ie([z], () => qn);
3692
3691
  ie([z], () => Yn);
3693
- ie([z], () => Kn);
3694
- ie([z, oe], () => ei);
3695
- function ri({ withLocale: e, translations: t }) {
3692
+ ie([z, oe], () => Kn);
3693
+ function ti({ withLocale: e, translations: t }) {
3696
3694
  z.subscribe((r) => {
3697
3695
  r == null && (oe.set(t), z.set(e));
3698
3696
  });
3699
3697
  }
3700
- function dt(e, t) {
3701
- Gt(e, t);
3698
+ function ct(e, t) {
3699
+ Dt(e, t);
3702
3700
  }
3703
- const mt = {
3701
+ const ft = {
3704
3702
  en: {
3705
3703
  title: "Please enter the verification code you received on your number",
3706
3704
  errorTitle: "Your code was invalid, you can resend the code and try again",
@@ -3807,13 +3805,13 @@ const mt = {
3807
3805
  loginSMSHint: "A new verification code has been sent to your phone number"
3808
3806
  }
3809
3807
  };
3810
- function ni(e, t) {
3808
+ function ri(e, t) {
3811
3809
  if (e) {
3812
3810
  const r = document.createElement("style");
3813
3811
  r.innerHTML = t, e.appendChild(r);
3814
3812
  }
3815
3813
  }
3816
- function ii(e, t) {
3814
+ function ni(e, t) {
3817
3815
  const r = new URL(t);
3818
3816
  fetch(r.href).then((n) => n.text()).then((n) => {
3819
3817
  const i = document.createElement("style");
@@ -3822,7 +3820,7 @@ function ii(e, t) {
3822
3820
  console.error("There was an error while trying to load client styling from URL", n);
3823
3821
  });
3824
3822
  }
3825
- function oi(e, t, r) {
3823
+ function ii(e, t, r) {
3826
3824
  if (window.emMessageBus) {
3827
3825
  const n = document.createElement("style");
3828
3826
  window.emMessageBus.subscribe(t, (i) => {
@@ -3830,17 +3828,17 @@ function oi(e, t, r) {
3830
3828
  });
3831
3829
  }
3832
3830
  }
3833
- function si(e) {
3834
- Zt(e, "svelte-uutjwi", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input,.Field select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.Button{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A))}");
3831
+ function oi(e) {
3832
+ zt(e, "svelte-uutjwi", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input,.Field select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.Button{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A))}");
3835
3833
  }
3836
- function ai(e) {
3834
+ function si(e) {
3837
3835
  let t = (
3838
3836
  /*$_*/
3839
3837
  e[5]("errorTitle") + ""
3840
3838
  ), r;
3841
3839
  return {
3842
3840
  c() {
3843
- r = O(t);
3841
+ r = M(t);
3844
3842
  },
3845
3843
  m(n, i) {
3846
3844
  W(n, r, i);
@@ -3855,14 +3853,14 @@ function ai(e) {
3855
3853
  }
3856
3854
  };
3857
3855
  }
3858
- function ui(e) {
3856
+ function ai(e) {
3859
3857
  let t = (
3860
3858
  /*$_*/
3861
3859
  e[5]("title") + ""
3862
3860
  ), r;
3863
3861
  return {
3864
3862
  c() {
3865
- r = O(t);
3863
+ r = M(t);
3866
3864
  },
3867
3865
  m(n, i) {
3868
3866
  W(n, r, i);
@@ -3877,14 +3875,14 @@ function ui(e) {
3877
3875
  }
3878
3876
  };
3879
3877
  }
3880
- function pt(e) {
3878
+ function dt(e) {
3881
3879
  let t, r = (
3882
3880
  /*$_*/
3883
3881
  e[5]("smsCodeError") + ""
3884
3882
  ), n;
3885
3883
  return {
3886
3884
  c() {
3887
- t = M("p"), n = O(r), A(t, "class", "InvalidInput");
3885
+ t = O("p"), n = M(r), A(t, "class", "InvalidInput");
3888
3886
  },
3889
3887
  m(i, o) {
3890
3888
  W(i, t, o), E(t, n);
@@ -3899,14 +3897,14 @@ function pt(e) {
3899
3897
  }
3900
3898
  };
3901
3899
  }
3902
- function bt(e) {
3900
+ function mt(e) {
3903
3901
  let t, r = (
3904
3902
  /*$_*/
3905
3903
  e[5]("resendMessage") + ""
3906
3904
  ), n;
3907
3905
  return {
3908
3906
  c() {
3909
- t = M("p"), n = O(r), A(t, "class", "SmsVerificationResendMessage");
3907
+ t = O("p"), n = M(r), A(t, "class", "SmsVerificationResendMessage");
3910
3908
  },
3911
3909
  m(i, o) {
3912
3910
  W(i, t, o), E(t, n);
@@ -3921,17 +3919,17 @@ function bt(e) {
3921
3919
  }
3922
3920
  };
3923
3921
  }
3924
- function gt(e) {
3922
+ function pt(e) {
3925
3923
  let t, r, n = (
3926
3924
  /*secondsLeft*/
3927
3925
  e[4] < 10 ? "0" : ""
3928
3926
  ), i, o, a;
3929
3927
  return {
3930
3928
  c() {
3931
- t = M("span"), r = O("(0:"), i = O(n), o = O(
3929
+ t = O("span"), r = M("(0:"), i = M(n), o = M(
3932
3930
  /*secondsLeft*/
3933
3931
  e[4]
3934
- ), a = O(")"), A(t, "class", "SmsVerificationResendTimer");
3932
+ ), a = M(")"), A(t, "class", "SmsVerificationResendTimer");
3935
3933
  },
3936
3934
  m(s, h) {
3937
3935
  W(s, t, h), E(t, r), E(t, i), E(t, o), E(t, a);
@@ -3951,7 +3949,7 @@ function gt(e) {
3951
3949
  }
3952
3950
  };
3953
3951
  }
3954
- function li(e) {
3952
+ function ui(e) {
3955
3953
  let t, r, n, i, o, a = (
3956
3954
  /*$_*/
3957
3955
  e[5]("code") + ""
@@ -3965,25 +3963,25 @@ function li(e) {
3965
3963
  function le(p, C) {
3966
3964
  return (
3967
3965
  /*isSmsValid*/
3968
- p[2] ? ui : ai
3966
+ p[2] ? ai : si
3969
3967
  );
3970
3968
  }
3971
3969
  let V = le(e), R = V(e), w = !/*isSmsValid*/
3972
- e[2] && pt(e), P = (
3970
+ e[2] && dt(e), P = (
3973
3971
  /*timer*/
3974
- e[3] && bt(e)
3972
+ e[3] && mt(e)
3975
3973
  ), f = (
3976
3974
  /*timer*/
3977
- e[3] && gt(e)
3975
+ e[3] && pt(e)
3978
3976
  );
3979
3977
  return {
3980
3978
  c() {
3981
- t = M("div"), r = M("h3"), R.c(), n = X(), i = M("div"), o = M("label"), s = O(a), h = O(":"), u = M("span"), u.textContent = "*", l = X(), c = M("input"), d = X(), w && w.c(), y = X(), P && P.c(), _ = X(), T = M("button"), L = O(H), B = X(), S = M("button"), D = O(N), j = X(), f && f.c(), A(r, "class", "Title"), A(u, "class", "FormRequired"), A(o, "for", "SmsCode"), A(c, "type", "text"), A(c, "id", "SmsCode"), A(c, "inputmode", "numeric"), A(c, "pattern", "[0-9]*"), A(c, "maxlength", "6"), A(i, "class", g = "Field SmsVerificationField " + (/*isSmsValid*/
3979
+ t = O("div"), r = O("h3"), R.c(), n = X(), i = O("div"), o = O("label"), s = M(a), h = M(":"), u = O("span"), u.textContent = "*", l = X(), c = O("input"), d = X(), w && w.c(), y = X(), P && P.c(), _ = X(), T = O("button"), L = M(H), B = X(), S = O("button"), D = M(N), j = X(), f && f.c(), A(r, "class", "Title"), A(u, "class", "FormRequired"), A(o, "for", "SmsCode"), A(c, "type", "text"), A(c, "id", "SmsCode"), A(c, "inputmode", "numeric"), A(c, "pattern", "[0-9]*"), A(c, "maxlength", "6"), A(i, "class", g = "Field SmsVerificationField " + (/*isSmsValid*/
3982
3980
  e[2] ? "" : "InvalidField")), A(T, "class", "Button SmsVerificationValidate"), A(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
3983
3981
  e[3], A(t, "class", "Container SmsVerificationContainer");
3984
3982
  },
3985
3983
  m(p, C) {
3986
- W(p, t, C), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, s), E(o, h), E(o, u), E(i, l), E(i, c), Ye(
3984
+ W(p, t, C), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, s), E(o, h), E(o, u), E(i, l), E(i, c), Qe(
3987
3985
  c,
3988
3986
  /*smsCode*/
3989
3987
  e[1]
@@ -4019,20 +4017,20 @@ function li(e) {
4019
4017
  32 && a !== (a = /*$_*/
4020
4018
  p[5]("code") + "") && F(s, a), C & /*smsCode*/
4021
4019
  2 && c.value !== /*smsCode*/
4022
- p[1] && Ye(
4020
+ p[1] && Qe(
4023
4021
  c,
4024
4022
  /*smsCode*/
4025
4023
  p[1]
4026
4024
  ), /*isSmsValid*/
4027
- p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = pt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4025
+ p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = dt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4028
4026
  4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
4029
4027
  p[2] ? "" : "InvalidField")) && A(i, "class", g), /*timer*/
4030
- p[3] ? P ? P.p(p, C) : (P = bt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4028
+ p[3] ? P ? P.p(p, C) : (P = mt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4031
4029
  32 && H !== (H = /*$_*/
4032
4030
  p[5]("activate") + "") && F(L, H), C & /*$_*/
4033
4031
  32 && N !== (N = /*$_*/
4034
4032
  p[5]("resend") + "") && F(D, N), /*timer*/
4035
- p[3] ? f ? f.p(p, C) : (f = gt(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
4033
+ p[3] ? f ? f.p(p, C) : (f = pt(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
4036
4034
  8 && (S.disabled = /*timer*/
4037
4035
  p[3]);
4038
4036
  },
@@ -4043,23 +4041,23 @@ function li(e) {
4043
4041
  }
4044
4042
  };
4045
4043
  }
4046
- function hi(e, t, r) {
4044
+ function li(e, t, r) {
4047
4045
  let n;
4048
- Wt(e, ti, (f) => r(5, n = f));
4046
+ Xt(e, ei, (f) => r(5, n = f));
4049
4047
  let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: a = "" } = t, { smstemplate: s = "Please use this code {0} to activate your accout" } = t, { number: h = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g, y = !0, _ = !1, T, H, L = +localStorage.getItem("smsTimer") || 0, B = Date.now() / 1e3 - L, S = 60 - Math.floor(B);
4050
4048
  const N = { numeric: /^[0-9]{0,6}$/ };
4051
- ri({ withLocale: "en", translations: {} });
4049
+ ti({ withLocale: "en", translations: {} });
4052
4050
  const D = () => {
4053
4051
  fetch(d).then((p) => p.json()).then((p) => {
4054
4052
  Object.keys(p).forEach((C) => {
4055
- dt(C, p[C]);
4053
+ ct(C, p[C]);
4056
4054
  });
4057
4055
  }).catch((p) => {
4058
4056
  console.log(p);
4059
4057
  });
4060
4058
  };
4061
- Object.keys(mt).forEach((f) => {
4062
- dt(f, mt[f]);
4059
+ Object.keys(ft).forEach((f) => {
4060
+ ct(f, ft[f]);
4063
4061
  });
4064
4062
  const j = async () => {
4065
4063
  try {
@@ -4118,7 +4116,7 @@ function hi(e, t, r) {
4118
4116
  }, V = (f) => {
4119
4117
  !N.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4120
4118
  };
4121
- er(() => {
4119
+ Yt(() => {
4122
4120
  if (!a || !h) {
4123
4121
  let f = JSON.parse(localStorage.getItem("playerData"));
4124
4122
  r(10, a = f.playerid), r(11, h = f.number);
@@ -4131,7 +4129,7 @@ function hi(e, t, r) {
4131
4129
  }
4132
4130
  const w = (f) => V(f);
4133
4131
  function P(f) {
4134
- Oe[f ? "unshift" : "push"](() => {
4132
+ Me[f ? "unshift" : "push"](() => {
4135
4133
  H = f, r(0, H);
4136
4134
  });
4137
4135
  }
@@ -4140,9 +4138,9 @@ function hi(e, t, r) {
4140
4138
  }, e.$$.update = () => {
4141
4139
  e.$$.dirty & /*tokenid, playerid, endpoint*/
4142
4140
  5632, e.$$.dirty & /*clientstyling, customStylingContainer*/
4143
- 32769 && l && H && ni(H, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4144
- 65537 && c && H && ii(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4145
- 16385 && u && H && oi(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
4141
+ 32769 && l && H && ri(H, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4142
+ 65537 && c && H && ni(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4143
+ 16385 && u && H && ii(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
4146
4144
  131072 && d && D();
4147
4145
  }, [
4148
4146
  H,
@@ -4168,14 +4166,14 @@ function hi(e, t, r) {
4168
4166
  P
4169
4167
  ];
4170
4168
  }
4171
- class ci extends fr {
4169
+ class hi extends hr {
4172
4170
  constructor(t) {
4173
- super(), hr(
4171
+ super(), ur(
4174
4172
  this,
4175
4173
  t,
4176
- hi,
4177
4174
  li,
4178
- yt,
4175
+ ui,
4176
+ gt,
4179
4177
  {
4180
4178
  endpoint: 12,
4181
4179
  tokenid: 9,
@@ -4187,7 +4185,7 @@ class ci extends fr {
4187
4185
  clientstylingurl: 16,
4188
4186
  translationurl: 17
4189
4187
  },
4190
- si
4188
+ oi
4191
4189
  );
4192
4190
  }
4193
4191
  get endpoint() {
@@ -4245,7 +4243,7 @@ class ci extends fr {
4245
4243
  this.$$set({ translationurl: t }), $();
4246
4244
  }
4247
4245
  }
4248
- cr(ci, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4246
+ lr(hi, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4249
4247
  export {
4250
- ci as G
4248
+ hi as G
4251
4249
  };