@everymatrix/general-player-sms-verification-form 1.54.4 → 1.54.8

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 $() {
2
2
  }
3
- function vt(e) {
3
+ function gt(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function Qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function oe(e) {
10
- e.forEach(vt);
10
+ e.forEach(gt);
11
11
  }
12
12
  function We(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function yt(e, t) {
15
+ function vt(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 Xt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Et(e, ...t) {
21
+ function yt(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 zt(e, t, r) {
31
+ e.$$.on_destroy.push(yt(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 Wt(e, t, r) {
37
+ const n = Zt(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = M("style");
40
- i.id = t, i.textContent = r, Qt(n, i);
40
+ i.id = t, i.textContent = r, Jt(n, i);
41
41
  }
42
42
  }
43
- function Jt(e) {
43
+ function Zt(e) {
44
44
  if (!e) return document;
45
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return t && /** @type {ShadowRoot} */
@@ -49,7 +49,7 @@ function Jt(e) {
49
49
  t
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function Qt(e, t) {
52
+ function Jt(e, t) {
53
53
  return E(
54
54
  /** @type {Document} */
55
55
  e.head || e,
@@ -77,17 +77,17 @@ function be(e, t, r, n) {
77
77
  function A(e, t, r) {
78
78
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
79
79
  }
80
- function qt(e) {
80
+ function Qt(e) {
81
81
  return Array.from(e.childNodes);
82
82
  }
83
83
  function F(e, t) {
84
84
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
85
85
  t);
86
86
  }
87
- function Ye(e, t) {
87
+ function qe(e, t) {
88
88
  e.value = t ?? "";
89
89
  }
90
- function Yt(e) {
90
+ function qt(e) {
91
91
  const t = {};
92
92
  return e.childNodes.forEach(
93
93
  /** @param {Element} node */
@@ -100,19 +100,19 @@ let ce;
100
100
  function he(e) {
101
101
  ce = e;
102
102
  }
103
- function Kt() {
103
+ function Yt() {
104
104
  if (!ce) throw new Error("Function called outside component initialization");
105
105
  return ce;
106
106
  }
107
- function er(e) {
108
- Kt().$$.on_mount.push(e);
107
+ function Kt(e) {
108
+ Yt().$$.on_mount.push(e);
109
109
  }
110
110
  const K = [], Le = [];
111
111
  let ee = [];
112
- const Ke = [], tr = /* @__PURE__ */ Promise.resolve();
112
+ const Ye = [], er = /* @__PURE__ */ Promise.resolve();
113
113
  let Re = !1;
114
- function rr() {
115
- Re || (Re = !0, tr.then(D));
114
+ function tr() {
115
+ Re || (Re = !0, er.then(D));
116
116
  }
117
117
  function $e(e) {
118
118
  ee.push(e);
@@ -127,7 +127,7 @@ function D() {
127
127
  try {
128
128
  for (; q < K.length; ) {
129
129
  const t = K[q];
130
- q++, he(t), nr(t.$$);
130
+ q++, he(t), rr(t.$$);
131
131
  }
132
132
  } catch (t) {
133
133
  throw K.length = 0, q = 0, t;
@@ -139,40 +139,40 @@ function D() {
139
139
  }
140
140
  ee.length = 0;
141
141
  } while (K.length);
142
- for (; Ke.length; )
143
- Ke.pop()();
142
+ for (; Ye.length; )
143
+ Ye.pop()();
144
144
  Re = !1, we.clear(), he(e);
145
145
  }
146
- function nr(e) {
146
+ function rr(e) {
147
147
  if (e.fragment !== null) {
148
148
  e.update(), oe(e.before_update);
149
149
  const t = e.dirty;
150
150
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
151
151
  }
152
152
  }
153
- function ir(e) {
153
+ function nr(e) {
154
154
  const t = [], r = [];
155
155
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
156
156
  }
157
- const or = /* @__PURE__ */ new Set();
158
- function sr(e, t) {
159
- e && e.i && (or.delete(e), e.i(t));
157
+ const ir = /* @__PURE__ */ new Set();
158
+ function or(e, t) {
159
+ e && e.i && (ir.delete(e), e.i(t));
160
160
  }
161
- function ar(e, t, r) {
161
+ function sr(e, t, r) {
162
162
  const { fragment: n, after_update: i } = e.$$;
163
163
  n && n.m(t, r), $e(() => {
164
- const o = e.$$.on_mount.map(vt).filter(We);
164
+ const o = e.$$.on_mount.map(gt).filter(We);
165
165
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
166
166
  }), i.forEach($e);
167
167
  }
168
- function ur(e, t) {
168
+ function ar(e, t) {
169
169
  const r = e.$$;
170
- r.fragment !== null && (ir(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (nr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
171
171
  }
172
- function lr(e, t) {
173
- e.$$.dirty[0] === -1 && (K.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
172
+ function ur(e, t) {
173
+ e.$$.dirty[0] === -1 && (K.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
174
174
  }
175
- function hr(e, t, r, n, i, o, a = null, s = [-1]) {
175
+ function lr(e, t, r, n, i, o, a = null, s = [-1]) {
176
176
  const h = ce;
177
177
  he(e);
178
178
  const u = e.$$ = {
@@ -182,7 +182,7 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
182
182
  props: o,
183
183
  update: $,
184
184
  not_equal: i,
185
- bound: qe(),
185
+ bound: Qe(),
186
186
  // lifecycle
187
187
  on_mount: [],
188
188
  on_destroy: [],
@@ -191,28 +191,28 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
191
191
  after_update: [],
192
192
  context: new Map(t.context || (h ? h.$$.context : [])),
193
193
  // everything else
194
- callbacks: qe(),
194
+ callbacks: Qe(),
195
195
  dirty: s,
196
196
  skip_bound: !1,
197
197
  root: t.target || h.$$.root
198
198
  };
199
199
  a && a(u.root);
200
200
  let l = !1;
201
- if (u.ctx = r(e, t.props || {}, (f, d, ...b) => {
201
+ if (u.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
202
202
  const v = b.length ? b[0] : d;
203
- return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && lr(e, f)), d;
204
- }), u.update(), l = !0, oe(u.before_update), u.fragment = n(u.ctx), t.target) {
203
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && ur(e, f)), d;
204
+ }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
205
205
  if (t.hydrate) {
206
- const f = qt(t.target);
206
+ const f = Qt(t.target);
207
207
  u.fragment && u.fragment.l(f), f.forEach(k);
208
208
  } else
209
209
  u.fragment && u.fragment.c();
210
- t.intro && sr(e.$$.fragment), ar(e, t.target, t.anchor), D();
210
+ t.intro && or(e.$$.fragment), sr(e, t.target, t.anchor), D();
211
211
  }
212
212
  he(h);
213
213
  }
214
- let xt;
215
- typeof HTMLElement == "function" && (xt = class extends HTMLElement {
214
+ let Et;
215
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
216
216
  /** The Svelte component constructor */
217
217
  $$ctor;
218
218
  /** Slots */
@@ -271,7 +271,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
271
271
  };
272
272
  if (await Promise.resolve(), !this.$$cn || this.$$c)
273
273
  return;
274
- const t = {}, r = Yt(this);
274
+ const t = {}, r = qt(this);
275
275
  for (const i of this.$$s)
276
276
  i in r && (t[i] = [e(i)]);
277
277
  for (const i of this.attributes) {
@@ -358,8 +358,8 @@ function ve(e, t, r, n) {
358
358
  return t;
359
359
  }
360
360
  }
361
- function cr(e, t, r, n, i, o) {
362
- let a = class extends xt {
361
+ function hr(e, t, r, n, i, o) {
362
+ let a = class extends Et {
363
363
  constructor() {
364
364
  super(e, r, i), this.$$p_d = t;
365
365
  }
@@ -387,7 +387,7 @@ function cr(e, t, r, n, i, o) {
387
387
  }), e.element = /** @type {any} */
388
388
  a, a;
389
389
  }
390
- class fr {
390
+ class cr {
391
391
  /**
392
392
  * ### PRIVATE API
393
393
  *
@@ -406,7 +406,7 @@ class fr {
406
406
  $$set = void 0;
407
407
  /** @returns {void} */
408
408
  $destroy() {
409
- ur(this, 1), this.$destroy = $;
409
+ ar(this, 1), this.$destroy = $;
410
410
  }
411
411
  /**
412
412
  * @template {Extract<keyof Events, string>} K
@@ -428,13 +428,13 @@ class fr {
428
428
  * @returns {void}
429
429
  */
430
430
  $set(t) {
431
- this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
431
+ this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
432
432
  }
433
433
  }
434
- const dr = "4";
435
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
434
+ const fr = "4";
435
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
436
436
  const Y = [];
437
- function mr(e, t) {
437
+ function dr(e, t) {
438
438
  return {
439
439
  subscribe: Se(e, t).subscribe
440
440
  };
@@ -443,7 +443,7 @@ function Se(e, t = $) {
443
443
  let r;
444
444
  const n = /* @__PURE__ */ new Set();
445
445
  function i(s) {
446
- if (yt(e, s) && (e = s, r)) {
446
+ if (vt(e, s) && (e = s, r)) {
447
447
  const h = !Y.length;
448
448
  for (const u of n)
449
449
  u[1](), Y.push(u, e);
@@ -470,7 +470,7 @@ function se(e, t, r) {
470
470
  if (!i.every(Boolean))
471
471
  throw new Error("derived() expects stores as input, got a falsy value");
472
472
  const o = t.length < 2;
473
- return mr(r, (a, s) => {
473
+ return dr(r, (a, s) => {
474
474
  let h = !1;
475
475
  const u = [];
476
476
  let l = 0, f = $;
@@ -481,7 +481,7 @@ function se(e, t, r) {
481
481
  const v = t(n ? u[0] : u, a, s);
482
482
  o ? a(v) : f = We(v) ? v : $;
483
483
  }, b = i.map(
484
- (v, _) => Et(
484
+ (v, _) => yt(
485
485
  v,
486
486
  (S) => {
487
487
  u[_] = S, l &= ~(1 << _), h && d();
@@ -496,70 +496,70 @@ function se(e, t, r) {
496
496
  };
497
497
  });
498
498
  }
499
- function pr(e) {
500
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
499
+ function mr(e) {
500
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
501
501
  }
502
- var br = function(t) {
503
- return gr(t) && !vr(t);
502
+ var pr = function(t) {
503
+ return br(t) && !gr(t);
504
504
  };
505
- function gr(e) {
505
+ function br(e) {
506
506
  return !!e && typeof e == "object";
507
507
  }
508
- function vr(e) {
508
+ function gr(e) {
509
509
  var t = Object.prototype.toString.call(e);
510
- return t === "[object RegExp]" || t === "[object Date]" || xr(e);
510
+ return t === "[object RegExp]" || t === "[object Date]" || Er(e);
511
511
  }
512
- var yr = typeof Symbol == "function" && Symbol.for, Er = yr ? Symbol.for("react.element") : 60103;
513
- function xr(e) {
514
- return e.$$typeof === Er;
512
+ var vr = typeof Symbol == "function" && Symbol.for, yr = vr ? Symbol.for("react.element") : 60103;
513
+ function Er(e) {
514
+ return e.$$typeof === yr;
515
515
  }
516
- function _r(e) {
516
+ function xr(e) {
517
517
  return Array.isArray(e) ? [] : {};
518
518
  }
519
519
  function fe(e, t) {
520
- return t.clone !== !1 && t.isMergeableObject(e) ? te(_r(e), e, t) : e;
520
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(xr(e), e, t) : e;
521
521
  }
522
- function Sr(e, t, r) {
522
+ function _r(e, t, r) {
523
523
  return e.concat(t).map(function(n) {
524
524
  return fe(n, r);
525
525
  });
526
526
  }
527
- function Tr(e, t) {
527
+ function Sr(e, t) {
528
528
  if (!t.customMerge)
529
529
  return te;
530
530
  var r = t.customMerge(e);
531
531
  return typeof r == "function" ? r : te;
532
532
  }
533
- function Hr(e) {
533
+ function Tr(e) {
534
534
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
535
535
  return Object.propertyIsEnumerable.call(e, t);
536
536
  }) : [];
537
537
  }
538
- function et(e) {
539
- return Object.keys(e).concat(Hr(e));
538
+ function Ke(e) {
539
+ return Object.keys(e).concat(Tr(e));
540
540
  }
541
- function _t(e, t) {
541
+ function xt(e, t) {
542
542
  try {
543
543
  return t in e;
544
544
  } catch {
545
545
  return !1;
546
546
  }
547
547
  }
548
- function Ar(e, t) {
549
- return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
548
+ function Hr(e, t) {
549
+ return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
550
550
  }
551
- function Br(e, t, r) {
551
+ function Ar(e, t, r) {
552
552
  var n = {};
553
- return r.isMergeableObject(e) && et(e).forEach(function(i) {
553
+ return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
554
554
  n[i] = fe(e[i], r);
555
- }), et(t).forEach(function(i) {
556
- Ar(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
555
+ }), Ke(t).forEach(function(i) {
556
+ Hr(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sr(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
557
557
  }), n;
558
558
  }
559
559
  function te(e, t, r) {
560
- r = r || {}, r.arrayMerge = r.arrayMerge || Sr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = fe;
560
+ r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || pr, r.cloneUnlessOtherwiseSpecified = fe;
561
561
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
562
- return o ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : fe(t, r);
562
+ return o ? n ? r.arrayMerge(e, t, r) : Ar(e, t, r) : fe(t, r);
563
563
  }
564
564
  te.all = function(t, r) {
565
565
  if (!Array.isArray(t))
@@ -568,8 +568,8 @@ te.all = function(t, r) {
568
568
  return te(n, i, r);
569
569
  }, {});
570
570
  };
571
- var wr = te, Pr = wr;
572
- const Cr = /* @__PURE__ */ pr(Pr);
571
+ var Br = te, wr = Br;
572
+ const Pr = /* @__PURE__ */ mr(wr);
573
573
  var Ue = function(e, t) {
574
574
  return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
575
575
  r.__proto__ = n;
@@ -595,7 +595,7 @@ var g = function() {
595
595
  return t;
596
596
  }, g.apply(this, arguments);
597
597
  };
598
- function Ir(e, t) {
598
+ function Cr(e, t) {
599
599
  var r = {};
600
600
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
601
601
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -609,39 +609,36 @@ function Pe(e, t, r) {
609
609
  return e.concat(o || Array.prototype.slice.call(t));
610
610
  }
611
611
  function Ce(e, t) {
612
- var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Or;
612
+ var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : Or;
613
613
  return i(e, {
614
614
  cache: r,
615
615
  serializer: n
616
616
  });
617
617
  }
618
- function Nr(e) {
618
+ function Ir(e) {
619
619
  return e == null || typeof e == "number" || typeof e == "boolean";
620
620
  }
621
- function St(e, t, r, n) {
622
- var i = Nr(n) ? n : r(n), o = t.get(i);
621
+ function Nr(e, t, r, n) {
622
+ var i = Ir(n) ? n : r(n), o = t.get(i);
623
623
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
624
624
  }
625
- function Tt(e, t, r) {
625
+ function _t(e, t, r) {
626
626
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
627
627
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
628
628
  }
629
- function Ze(e, t, r, n, i) {
629
+ function St(e, t, r, n, i) {
630
630
  return r.bind(t, e, n, i);
631
631
  }
632
632
  function Or(e, t) {
633
- var r = e.length === 1 ? St : Tt;
634
- return Ze(e, this, r, t.cache.create(), t.serializer);
633
+ var r = e.length === 1 ? Nr : _t;
634
+ return St(e, this, r, t.cache.create(), t.serializer);
635
635
  }
636
636
  function Mr(e, t) {
637
- return Ze(e, this, Tt, t.cache.create(), t.serializer);
637
+ return St(e, this, _t, t.cache.create(), t.serializer);
638
638
  }
639
- function Lr(e, t) {
640
- return Ze(e, this, St, t.cache.create(), t.serializer);
641
- }
642
- var Rr = function() {
639
+ var Lr = function() {
643
640
  return JSON.stringify(arguments);
644
- }, $r = (
641
+ }, Rr = (
645
642
  /** @class */
646
643
  function() {
647
644
  function e() {
@@ -653,13 +650,12 @@ var Rr = function() {
653
650
  this.cache[t] = r;
654
651
  }, e;
655
652
  }()
656
- ), Ur = {
653
+ ), $r = {
657
654
  create: function() {
658
- return new $r();
655
+ return new Rr();
659
656
  }
660
657
  }, Ie = {
661
- variadic: Mr,
662
- monadic: Lr
658
+ variadic: Mr
663
659
  }, m;
664
660
  (function(e) {
665
661
  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";
@@ -672,43 +668,43 @@ var re;
672
668
  (function(e) {
673
669
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
674
670
  })(re || (re = {}));
675
- function tt(e) {
671
+ function et(e) {
676
672
  return e.type === x.literal;
677
673
  }
678
- function Dr(e) {
674
+ function Ur(e) {
679
675
  return e.type === x.argument;
680
676
  }
681
- function Ht(e) {
677
+ function Tt(e) {
682
678
  return e.type === x.number;
683
679
  }
684
- function At(e) {
680
+ function Ht(e) {
685
681
  return e.type === x.date;
686
682
  }
687
- function Bt(e) {
683
+ function At(e) {
688
684
  return e.type === x.time;
689
685
  }
690
- function wt(e) {
686
+ function Bt(e) {
691
687
  return e.type === x.select;
692
688
  }
693
- function Pt(e) {
689
+ function wt(e) {
694
690
  return e.type === x.plural;
695
691
  }
696
- function Fr(e) {
692
+ function Dr(e) {
697
693
  return e.type === x.pound;
698
694
  }
699
- function Ct(e) {
695
+ function Pt(e) {
700
696
  return e.type === x.tag;
701
697
  }
702
- function It(e) {
698
+ function Ct(e) {
703
699
  return !!(e && typeof e == "object" && e.type === re.number);
704
700
  }
705
701
  function De(e) {
706
702
  return !!(e && typeof e == "object" && e.type === re.dateTime);
707
703
  }
708
- var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
709
- function kr(e) {
704
+ var It = /[ \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;
705
+ function Gr(e) {
710
706
  var t = {};
711
- return e.replace(Gr, function(r) {
707
+ return e.replace(Fr, function(r) {
712
708
  var n = r.length;
713
709
  switch (r[0]) {
714
710
  case "G":
@@ -797,11 +793,11 @@ function kr(e) {
797
793
  return "";
798
794
  }), t;
799
795
  }
800
- var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
801
- function Vr(e) {
796
+ var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
797
+ function jr(e) {
802
798
  if (e.length === 0)
803
799
  throw new Error("Number skeleton cannot be empty");
804
- for (var t = e.split(jr).filter(function(d) {
800
+ for (var t = e.split(kr).filter(function(d) {
805
801
  return d.length > 0;
806
802
  }), r = [], n = 0, i = t; n < i.length; n++) {
807
803
  var o = i[n], a = o.split("/");
@@ -816,17 +812,17 @@ function Vr(e) {
816
812
  }
817
813
  return r;
818
814
  }
819
- function Xr(e) {
815
+ function Vr(e) {
820
816
  return e.replace(/^(.*?)-/, "");
821
817
  }
822
- var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ot = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Mt = /^(0+)$/;
823
- function nt(e) {
818
+ var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ot = /^(0+)$/;
819
+ function rt(e) {
824
820
  var t = {};
825
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ot, function(r, n, i) {
821
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
826
822
  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)), "";
827
823
  }), t;
828
824
  }
829
- function Lt(e) {
825
+ function Mt(e) {
830
826
  switch (e) {
831
827
  case "sign-auto":
832
828
  return {
@@ -866,7 +862,7 @@ function Lt(e) {
866
862
  };
867
863
  }
868
864
  }
869
- function Wr(e) {
865
+ function zr(e) {
870
866
  var t;
871
867
  if (e[0] === "E" && e[1] === "E" ? (t = {
872
868
  notation: "engineering"
@@ -874,17 +870,17 @@ function Wr(e) {
874
870
  notation: "scientific"
875
871
  }, e = e.slice(1)), t) {
876
872
  var r = e.slice(0, 2);
877
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mt.test(e))
873
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ot.test(e))
878
874
  throw new Error("Malformed concise eng/scientific notation");
879
875
  t.minimumIntegerDigits = e.length;
880
876
  }
881
877
  return t;
882
878
  }
883
- function it(e) {
884
- var t = {}, r = Lt(e);
879
+ function nt(e) {
880
+ var t = {}, r = Mt(e);
885
881
  return r || t;
886
882
  }
887
- function Zr(e) {
883
+ function Wr(e) {
888
884
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
889
885
  var i = n[r];
890
886
  switch (i.stem) {
@@ -908,7 +904,7 @@ function Zr(e) {
908
904
  continue;
909
905
  case "measure-unit":
910
906
  case "unit":
911
- t.style = "unit", t.unit = Xr(i.options[0]);
907
+ t.style = "unit", t.unit = Vr(i.options[0]);
912
908
  continue;
913
909
  case "compact-short":
914
910
  case "K":
@@ -920,12 +916,12 @@ function Zr(e) {
920
916
  continue;
921
917
  case "scientific":
922
918
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
923
- return g(g({}, h), it(u));
919
+ return g(g({}, h), nt(u));
924
920
  }, {}));
925
921
  continue;
926
922
  case "engineering":
927
923
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
928
- return g(g({}, h), it(u));
924
+ return g(g({}, h), nt(u));
929
925
  }, {}));
930
926
  continue;
931
927
  case "notation-simple":
@@ -970,7 +966,7 @@ function Zr(e) {
970
966
  case "integer-width":
971
967
  if (i.options.length > 1)
972
968
  throw new RangeError("integer-width stems only accept a single optional option");
973
- i.options[0].replace(zr, function(h, u, l, f, d, b) {
969
+ i.options[0].replace(Xr, function(h, u, l, f, d, b) {
974
970
  if (u)
975
971
  t.minimumIntegerDigits = l.length;
976
972
  else {
@@ -983,27 +979,27 @@ function Zr(e) {
983
979
  });
984
980
  continue;
985
981
  }
986
- if (Mt.test(i.stem)) {
982
+ if (Ot.test(i.stem)) {
987
983
  t.minimumIntegerDigits = i.stem.length;
988
984
  continue;
989
985
  }
990
- if (rt.test(i.stem)) {
986
+ if (tt.test(i.stem)) {
991
987
  if (i.options.length > 1)
992
988
  throw new RangeError("Fraction-precision stems only accept a single optional option");
993
- i.stem.replace(rt, function(h, u, l, f, d, b) {
989
+ i.stem.replace(tt, function(h, u, l, f, d, b) {
994
990
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
995
991
  });
996
992
  var o = i.options[0];
997
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), nt(o)));
993
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), rt(o)));
998
994
  continue;
999
995
  }
1000
- if (Ot.test(i.stem)) {
1001
- t = g(g({}, t), nt(i.stem));
996
+ if (Nt.test(i.stem)) {
997
+ t = g(g({}, t), rt(i.stem));
1002
998
  continue;
1003
999
  }
1004
- var a = Lt(i.stem);
1000
+ var a = Mt(i.stem);
1005
1001
  a && (t = g(g({}, t), a));
1006
- var s = Wr(i.stem);
1002
+ var s = zr(i.stem);
1007
1003
  s && (t = g(g({}, t), s));
1008
1004
  }
1009
1005
  return t;
@@ -2423,13 +2419,13 @@ var ge = {
2423
2419
  "h"
2424
2420
  ]
2425
2421
  };
2426
- function Jr(e, t) {
2422
+ function Zr(e, t) {
2427
2423
  for (var r = "", n = 0; n < e.length; n++) {
2428
2424
  var i = e.charAt(n);
2429
2425
  if (i === "j") {
2430
2426
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2431
2427
  o++, n++;
2432
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Qr(t);
2428
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Jr(t);
2433
2429
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2434
2430
  r += h;
2435
2431
  for (; a-- > 0; )
@@ -2438,7 +2434,7 @@ function Jr(e, t) {
2438
2434
  }
2439
2435
  return r;
2440
2436
  }
2441
- function Qr(e) {
2437
+ function Jr(e) {
2442
2438
  var t = e.hourCycle;
2443
2439
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2444
2440
  e.hourCycles && // @ts-ignore
@@ -2460,20 +2456,20 @@ function Qr(e) {
2460
2456
  var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2461
2457
  return i[0];
2462
2458
  }
2463
- var Ne, qr = new RegExp("^".concat(Nt.source, "*")), Yr = new RegExp("".concat(Nt.source, "*$"));
2459
+ var Ne, Qr = new RegExp("^".concat(It.source, "*")), qr = new RegExp("".concat(It.source, "*$"));
2464
2460
  function p(e, t) {
2465
2461
  return { start: e, end: t };
2466
2462
  }
2467
- var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, an = sn ? Number.isSafeInteger : function(e) {
2463
+ 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) {
2468
2464
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2469
2465
  }, Fe = !0;
2470
2466
  try {
2471
- var un = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2472
- Fe = ((Ne = un.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2467
+ var an = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2468
+ Fe = ((Ne = an.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2473
2469
  } catch {
2474
2470
  Fe = !1;
2475
2471
  }
2476
- var ot = Kr ? (
2472
+ var it = Yr ? (
2477
2473
  // Native
2478
2474
  function(t, r, n) {
2479
2475
  return t.startsWith(r, n);
@@ -2483,7 +2479,7 @@ var ot = Kr ? (
2483
2479
  function(t, r, n) {
2484
2480
  return t.slice(n, n + r.length) === r;
2485
2481
  }
2486
- ), Ge = en ? String.fromCodePoint : (
2482
+ ), Ge = Kr ? String.fromCodePoint : (
2487
2483
  // IE11
2488
2484
  function() {
2489
2485
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2495,9 +2491,9 @@ var ot = Kr ? (
2495
2491
  }
2496
2492
  return n;
2497
2493
  }
2498
- ), st = (
2494
+ ), ot = (
2499
2495
  // native
2500
- tn ? Object.fromEntries : (
2496
+ en ? Object.fromEntries : (
2501
2497
  // Ponyfill
2502
2498
  function(t) {
2503
2499
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2507,7 +2503,7 @@ var ot = Kr ? (
2507
2503
  return r;
2508
2504
  }
2509
2505
  )
2510
- ), Rt = rn ? (
2506
+ ), Lt = tn ? (
2511
2507
  // Native
2512
2508
  function(t, r) {
2513
2509
  return t.codePointAt(r);
@@ -2521,7 +2517,7 @@ var ot = Kr ? (
2521
2517
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2522
2518
  }
2523
2519
  }
2524
- ), ln = nn ? (
2520
+ ), un = rn ? (
2525
2521
  // Native
2526
2522
  function(t) {
2527
2523
  return t.trimStart();
@@ -2529,9 +2525,9 @@ var ot = Kr ? (
2529
2525
  ) : (
2530
2526
  // Ponyfill
2531
2527
  function(t) {
2532
- return t.replace(qr, "");
2528
+ return t.replace(Qr, "");
2533
2529
  }
2534
- ), hn = on ? (
2530
+ ), ln = nn ? (
2535
2531
  // Native
2536
2532
  function(t) {
2537
2533
  return t.trimEnd();
@@ -2539,32 +2535,32 @@ var ot = Kr ? (
2539
2535
  ) : (
2540
2536
  // Ponyfill
2541
2537
  function(t) {
2542
- return t.replace(Yr, "");
2538
+ return t.replace(qr, "");
2543
2539
  }
2544
2540
  );
2545
- function $t(e, t) {
2541
+ function Rt(e, t) {
2546
2542
  return new RegExp(e, t);
2547
2543
  }
2548
2544
  var ke;
2549
2545
  if (Fe) {
2550
- var at = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2546
+ var st = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2551
2547
  ke = function(t, r) {
2552
2548
  var n;
2553
- at.lastIndex = r;
2554
- var i = at.exec(t);
2549
+ st.lastIndex = r;
2550
+ var i = st.exec(t);
2555
2551
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2556
2552
  };
2557
2553
  } else
2558
2554
  ke = function(t, r) {
2559
2555
  for (var n = []; ; ) {
2560
- var i = Rt(t, r);
2561
- if (i === void 0 || Ut(i) || mn(i))
2556
+ var i = Lt(t, r);
2557
+ if (i === void 0 || $t(i) || dn(i))
2562
2558
  break;
2563
2559
  n.push(i), r += i >= 65536 ? 2 : 1;
2564
2560
  }
2565
2561
  return Ge.apply(void 0, n);
2566
2562
  };
2567
- var cn = (
2563
+ var hn = (
2568
2564
  /** @class */
2569
2565
  function() {
2570
2566
  function e(t, r) {
@@ -2646,7 +2642,7 @@ var cn = (
2646
2642
  return this.error(m.INVALID_TAG, p(n, this.clonePosition()));
2647
2643
  }, e.prototype.parseTagName = function() {
2648
2644
  var t = this.offset();
2649
- for (this.bump(); !this.isEOF() && dn(this.char()); )
2645
+ for (this.bump(); !this.isEOF() && fn(this.char()); )
2650
2646
  this.bump();
2651
2647
  return this.message.slice(t, this.offset());
2652
2648
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2675,7 +2671,7 @@ var cn = (
2675
2671
  };
2676
2672
  }, e.prototype.tryParseLeftAngleBracket = function() {
2677
2673
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2678
- !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2674
+ !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2679
2675
  }, e.prototype.tryParseQuote = function(t) {
2680
2676
  if (this.isEOF() || this.char() !== 39)
2681
2677
  return null;
@@ -2762,7 +2758,7 @@ var cn = (
2762
2758
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2763
2759
  if (f.err)
2764
2760
  return f;
2765
- var d = hn(f.val);
2761
+ var d = ln(f.val);
2766
2762
  if (d.length === 0)
2767
2763
  return this.error(m.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2768
2764
  var b = p(l, this.clonePosition());
@@ -2772,8 +2768,8 @@ var cn = (
2772
2768
  if (v.err)
2773
2769
  return v;
2774
2770
  var _ = p(i, this.clonePosition());
2775
- if (u && ot(u?.style, "::", 0)) {
2776
- var S = ln(u.style.slice(2));
2771
+ if (u && it(u?.style, "::", 0)) {
2772
+ var S = un(u.style.slice(2));
2777
2773
  if (s === "number") {
2778
2774
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
2779
2775
  return f.err ? f : {
@@ -2784,12 +2780,12 @@ var cn = (
2784
2780
  if (S.length === 0)
2785
2781
  return this.error(m.EXPECT_DATE_TIME_SKELETON, _);
2786
2782
  var R = S;
2787
- this.locale && (R = Jr(S, this.locale));
2783
+ this.locale && (R = Zr(S, this.locale));
2788
2784
  var d = {
2789
2785
  type: re.dateTime,
2790
2786
  pattern: R,
2791
2787
  location: u.styleLocation,
2792
- parsedOptions: this.shouldParseSkeletons ? kr(R) : {}
2788
+ parsedOptions: this.shouldParseSkeletons ? Gr(R) : {}
2793
2789
  }, N = s === "date" ? x.date : x.time;
2794
2790
  return {
2795
2791
  val: { type: N, value: n, location: _, style: d },
@@ -2835,7 +2831,7 @@ var cn = (
2835
2831
  val: {
2836
2832
  type: x.select,
2837
2833
  value: n,
2838
- options: st(U.val),
2834
+ options: ot(U.val),
2839
2835
  location: j
2840
2836
  },
2841
2837
  err: null
@@ -2843,7 +2839,7 @@ var cn = (
2843
2839
  val: {
2844
2840
  type: x.plural,
2845
2841
  value: n,
2846
- options: st(U.val),
2842
+ options: ot(U.val),
2847
2843
  offset: I,
2848
2844
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2849
2845
  location: j
@@ -2894,7 +2890,7 @@ var cn = (
2894
2890
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2895
2891
  var n = [];
2896
2892
  try {
2897
- n = Vr(t);
2893
+ n = jr(t);
2898
2894
  } catch {
2899
2895
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2900
2896
  }
@@ -2903,7 +2899,7 @@ var cn = (
2903
2899
  type: re.number,
2904
2900
  tokens: n,
2905
2901
  location: r,
2906
- parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2902
+ parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2907
2903
  },
2908
2904
  err: null
2909
2905
  };
@@ -2951,7 +2947,7 @@ var cn = (
2951
2947
  break;
2952
2948
  }
2953
2949
  var h = p(i, this.clonePosition());
2954
- return o ? (a *= n, an(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2950
+ return o ? (a *= n, sn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2955
2951
  }, e.prototype.offset = function() {
2956
2952
  return this.position.offset;
2957
2953
  }, e.prototype.isEOF = function() {
@@ -2966,7 +2962,7 @@ var cn = (
2966
2962
  var t = this.position.offset;
2967
2963
  if (t >= this.message.length)
2968
2964
  throw Error("out of bound");
2969
- var r = Rt(this.message, t);
2965
+ var r = Lt(this.message, t);
2970
2966
  if (r === void 0)
2971
2967
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2972
2968
  return r;
@@ -2985,7 +2981,7 @@ var cn = (
2985
2981
  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);
2986
2982
  }
2987
2983
  }, e.prototype.bumpIf = function(t) {
2988
- if (ot(this.message, t, this.offset())) {
2984
+ if (it(this.message, t, this.offset())) {
2989
2985
  for (var r = 0; r < t.length; r++)
2990
2986
  this.bump();
2991
2987
  return !0;
@@ -3007,7 +3003,7 @@ var cn = (
3007
3003
  break;
3008
3004
  }
3009
3005
  }, e.prototype.bumpSpace = function() {
3010
- for (; !this.isEOF() && Ut(this.char()); )
3006
+ for (; !this.isEOF() && $t(this.char()); )
3011
3007
  this.bump();
3012
3008
  }, e.prototype.peek = function() {
3013
3009
  if (this.isEOF())
@@ -3020,29 +3016,29 @@ var cn = (
3020
3016
  function je(e) {
3021
3017
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3022
3018
  }
3023
- function fn(e) {
3019
+ function cn(e) {
3024
3020
  return je(e) || e === 47;
3025
3021
  }
3026
- function dn(e) {
3022
+ function fn(e) {
3027
3023
  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;
3028
3024
  }
3029
- function Ut(e) {
3025
+ function $t(e) {
3030
3026
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3031
3027
  }
3032
- function mn(e) {
3028
+ function dn(e) {
3033
3029
  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;
3034
3030
  }
3035
3031
  function Ve(e) {
3036
3032
  e.forEach(function(t) {
3037
- if (delete t.location, wt(t) || Pt(t))
3033
+ if (delete t.location, Bt(t) || wt(t))
3038
3034
  for (var r in t.options)
3039
3035
  delete t.options[r].location, Ve(t.options[r].value);
3040
- else Ht(t) && It(t.style) || (At(t) || Bt(t)) && De(t.style) ? delete t.style.location : Ct(t) && Ve(t.children);
3036
+ else Tt(t) && Ct(t.style) || (Ht(t) || At(t)) && De(t.style) ? delete t.style.location : Pt(t) && Ve(t.children);
3041
3037
  });
3042
3038
  }
3043
- function pn(e, t) {
3039
+ function mn(e, t) {
3044
3040
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3045
- var r = new cn(e, t).parse();
3041
+ var r = new hn(e, t).parse();
3046
3042
  if (r.err) {
3047
3043
  var n = SyntaxError(m[r.err.kind]);
3048
3044
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3065,7 +3061,7 @@ var He = (
3065
3061
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3066
3062
  }, t;
3067
3063
  }(Error)
3068
- ), ut = (
3064
+ ), at = (
3069
3065
  /** @class */
3070
3066
  function(e) {
3071
3067
  Te(t, e);
@@ -3074,7 +3070,7 @@ var He = (
3074
3070
  }
3075
3071
  return t;
3076
3072
  }(He)
3077
- ), bn = (
3073
+ ), pn = (
3078
3074
  /** @class */
3079
3075
  function(e) {
3080
3076
  Te(t, e);
@@ -3083,7 +3079,7 @@ var He = (
3083
3079
  }
3084
3080
  return t;
3085
3081
  }(He)
3086
- ), gn = (
3082
+ ), bn = (
3087
3083
  /** @class */
3088
3084
  function(e) {
3089
3085
  Te(t, e);
@@ -3096,17 +3092,17 @@ var He = (
3096
3092
  (function(e) {
3097
3093
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3098
3094
  })(C || (C = {}));
3099
- function vn(e) {
3095
+ function gn(e) {
3100
3096
  return e.length < 2 ? e : e.reduce(function(t, r) {
3101
3097
  var n = t[t.length - 1];
3102
3098
  return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3103
3099
  }, []);
3104
3100
  }
3105
- function yn(e) {
3101
+ function vn(e) {
3106
3102
  return typeof e == "function";
3107
3103
  }
3108
3104
  function ye(e, t, r, n, i, o, a) {
3109
- if (e.length === 1 && tt(e[0]))
3105
+ if (e.length === 1 && et(e[0]))
3110
3106
  return [
3111
3107
  {
3112
3108
  type: C.literal,
@@ -3115,14 +3111,14 @@ function ye(e, t, r, n, i, o, a) {
3115
3111
  ];
3116
3112
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3117
3113
  var l = u[h];
3118
- if (tt(l)) {
3114
+ if (et(l)) {
3119
3115
  s.push({
3120
3116
  type: C.literal,
3121
3117
  value: l.value
3122
3118
  });
3123
3119
  continue;
3124
3120
  }
3125
- if (Fr(l)) {
3121
+ if (Dr(l)) {
3126
3122
  typeof o == "number" && s.push({
3127
3123
  type: C.literal,
3128
3124
  value: r.getNumberFormat(t).format(o)
@@ -3131,16 +3127,16 @@ function ye(e, t, r, n, i, o, a) {
3131
3127
  }
3132
3128
  var f = l.value;
3133
3129
  if (!(i && f in i))
3134
- throw new gn(f, a);
3130
+ throw new bn(f, a);
3135
3131
  var d = i[f];
3136
- if (Dr(l)) {
3132
+ if (Ur(l)) {
3137
3133
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3138
3134
  type: typeof d == "string" ? C.literal : C.object,
3139
3135
  value: d
3140
3136
  });
3141
3137
  continue;
3142
3138
  }
3143
- if (At(l)) {
3139
+ if (Ht(l)) {
3144
3140
  var b = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3145
3141
  s.push({
3146
3142
  type: C.literal,
@@ -3148,7 +3144,7 @@ function ye(e, t, r, n, i, o, a) {
3148
3144
  });
3149
3145
  continue;
3150
3146
  }
3151
- if (Bt(l)) {
3147
+ if (At(l)) {
3152
3148
  var b = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3153
3149
  s.push({
3154
3150
  type: C.literal,
@@ -3156,18 +3152,18 @@ function ye(e, t, r, n, i, o, a) {
3156
3152
  });
3157
3153
  continue;
3158
3154
  }
3159
- if (Ht(l)) {
3160
- var b = typeof l.style == "string" ? n.number[l.style] : It(l.style) ? l.style.parsedOptions : void 0;
3155
+ if (Tt(l)) {
3156
+ var b = typeof l.style == "string" ? n.number[l.style] : Ct(l.style) ? l.style.parsedOptions : void 0;
3161
3157
  b && b.scale && (d = d * (b.scale || 1)), s.push({
3162
3158
  type: C.literal,
3163
3159
  value: r.getNumberFormat(t, b).format(d)
3164
3160
  });
3165
3161
  continue;
3166
3162
  }
3167
- if (Ct(l)) {
3163
+ if (Pt(l)) {
3168
3164
  var v = l.children, _ = l.value, S = i[_];
3169
- if (!yn(S))
3170
- throw new bn(_, "function", a);
3165
+ if (!vn(S))
3166
+ throw new pn(_, "function", a);
3171
3167
  var R = ye(v, t, r, n, i, o), N = S(R.map(function(I) {
3172
3168
  return I.value;
3173
3169
  }));
@@ -3178,14 +3174,14 @@ function ye(e, t, r, n, i, o, a) {
3178
3174
  };
3179
3175
  }));
3180
3176
  }
3181
- if (wt(l)) {
3177
+ if (Bt(l)) {
3182
3178
  var T = l.options[d] || l.options.other;
3183
3179
  if (!T)
3184
- throw new ut(l.value, d, Object.keys(l.options), a);
3180
+ throw new at(l.value, d, Object.keys(l.options), a);
3185
3181
  s.push.apply(s, ye(T.value, t, r, n, i));
3186
3182
  continue;
3187
3183
  }
3188
- if (Pt(l)) {
3184
+ if (wt(l)) {
3189
3185
  var T = l.options["=".concat(d)];
3190
3186
  if (!T) {
3191
3187
  if (!Intl.PluralRules)
@@ -3196,21 +3192,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3196
3192
  T = l.options[H] || l.options.other;
3197
3193
  }
3198
3194
  if (!T)
3199
- throw new ut(l.value, d, Object.keys(l.options), a);
3195
+ throw new at(l.value, d, Object.keys(l.options), a);
3200
3196
  s.push.apply(s, ye(T.value, t, r, n, i, d - (l.offset || 0)));
3201
3197
  continue;
3202
3198
  }
3203
3199
  }
3204
- return vn(s);
3200
+ return gn(s);
3205
3201
  }
3206
- function En(e, t) {
3202
+ function yn(e, t) {
3207
3203
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3208
3204
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3209
3205
  }, {})) : e;
3210
3206
  }
3211
- function xn(e, t) {
3207
+ function En(e, t) {
3212
3208
  return t ? Object.keys(e).reduce(function(r, n) {
3213
- return r[n] = En(e[n], t[n]), r;
3209
+ return r[n] = yn(e[n], t[n]), r;
3214
3210
  }, g({}, e)) : e;
3215
3211
  }
3216
3212
  function Oe(e) {
@@ -3227,7 +3223,7 @@ function Oe(e) {
3227
3223
  }
3228
3224
  };
3229
3225
  }
3230
- function _n(e) {
3226
+ function xn(e) {
3231
3227
  return e === void 0 && (e = {
3232
3228
  number: {},
3233
3229
  dateTime: {},
@@ -3259,7 +3255,7 @@ function _n(e) {
3259
3255
  })
3260
3256
  };
3261
3257
  }
3262
- var Sn = (
3258
+ var _n = (
3263
3259
  /** @class */
3264
3260
  function() {
3265
3261
  function e(t, r, n, i) {
@@ -3291,13 +3287,13 @@ var Sn = (
3291
3287
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3292
3288
  var a = i || {};
3293
3289
  a.formatters;
3294
- var s = Ir(a, ["formatters"]);
3290
+ var s = Cr(a, ["formatters"]);
3295
3291
  this.ast = e.__parse(t, g(g({}, s), { locale: this.resolvedLocale }));
3296
3292
  } else
3297
3293
  this.ast = t;
3298
3294
  if (!Array.isArray(this.ast))
3299
3295
  throw new TypeError("A message must be provided as a String or AST.");
3300
- this.formats = xn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3296
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || xn(this.formatterCache);
3301
3297
  }
3302
3298
  return Object.defineProperty(e, "defaultLocale", {
3303
3299
  get: function() {
@@ -3310,7 +3306,7 @@ var Sn = (
3310
3306
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3311
3307
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3312
3308
  }
3313
- }, e.__parse = pn, e.formats = {
3309
+ }, e.__parse = mn, e.formats = {
3314
3310
  number: {
3315
3311
  integer: {
3316
3312
  maximumFractionDigits: 0
@@ -3371,7 +3367,7 @@ var Sn = (
3371
3367
  }, e;
3372
3368
  }()
3373
3369
  );
3374
- function Tn(e, t) {
3370
+ function Sn(e, t) {
3375
3371
  if (t == null)
3376
3372
  return;
3377
3373
  if (t in e)
@@ -3392,60 +3388,60 @@ function Tn(e, t) {
3392
3388
  n = void 0;
3393
3389
  return n;
3394
3390
  }
3395
- const G = {}, Hn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Dt = (e, t) => {
3391
+ const G = {}, Tn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Ut = (e, t) => {
3396
3392
  if (t == null)
3397
3393
  return;
3398
3394
  if (t in G && e in G[t])
3399
3395
  return G[t][e];
3400
3396
  const r = Ae(t);
3401
3397
  for (let n = 0; n < r.length; n++) {
3402
- const i = r[n], o = Bn(i, e);
3398
+ const i = r[n], o = An(i, e);
3403
3399
  if (o)
3404
- return Hn(e, t, o);
3400
+ return Tn(e, t, o);
3405
3401
  }
3406
3402
  };
3407
- let Je;
3403
+ let Ze;
3408
3404
  const ae = Se({});
3409
- function An(e) {
3410
- return Je[e] || null;
3405
+ function Hn(e) {
3406
+ return Ze[e] || null;
3411
3407
  }
3412
- function Ft(e) {
3413
- return e in Je;
3408
+ function Dt(e) {
3409
+ return e in Ze;
3414
3410
  }
3415
- function Bn(e, t) {
3416
- if (!Ft(e))
3411
+ function An(e, t) {
3412
+ if (!Dt(e))
3417
3413
  return null;
3418
- const r = An(e);
3419
- return Tn(r, t);
3414
+ const r = Hn(e);
3415
+ return Sn(r, t);
3420
3416
  }
3421
- function wn(e) {
3417
+ function Bn(e) {
3422
3418
  if (e == null)
3423
3419
  return;
3424
3420
  const t = Ae(e);
3425
3421
  for (let r = 0; r < t.length; r++) {
3426
3422
  const n = t[r];
3427
- if (Ft(n))
3423
+ if (Dt(n))
3428
3424
  return n;
3429
3425
  }
3430
3426
  }
3431
- function Gt(e, ...t) {
3432
- delete G[e], ae.update((r) => (r[e] = Cr.all([r[e] || {}, ...t]), r));
3427
+ function Ft(e, ...t) {
3428
+ delete G[e], ae.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
3433
3429
  }
3434
3430
  se(
3435
3431
  [ae],
3436
3432
  ([e]) => Object.keys(e)
3437
3433
  );
3438
- ae.subscribe((e) => Je = e);
3434
+ ae.subscribe((e) => Ze = e);
3439
3435
  const Ee = {};
3440
- function Pn(e, t) {
3436
+ function wn(e, t) {
3441
3437
  Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3442
3438
  }
3443
- function kt(e) {
3439
+ function Gt(e) {
3444
3440
  return Ee[e];
3445
3441
  }
3446
- function Cn(e) {
3442
+ function Pn(e) {
3447
3443
  return Ae(e).map((t) => {
3448
- const r = kt(t);
3444
+ const r = Gt(t);
3449
3445
  return [t, r ? [...r] : []];
3450
3446
  }).filter(([, t]) => t.length > 0);
3451
3447
  }
@@ -3453,31 +3449,31 @@ function Xe(e) {
3453
3449
  return e == null ? !1 : Ae(e).some(
3454
3450
  (t) => {
3455
3451
  var r;
3456
- return (r = kt(t)) == null ? void 0 : r.size;
3452
+ return (r = Gt(t)) == null ? void 0 : r.size;
3457
3453
  }
3458
3454
  );
3459
3455
  }
3460
- function In(e, t) {
3456
+ function Cn(e, t) {
3461
3457
  return Promise.all(
3462
- t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3463
- ).then((n) => Gt(e, ...n));
3458
+ t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
3459
+ ).then((n) => Ft(e, ...n));
3464
3460
  }
3465
3461
  const le = {};
3466
- function jt(e) {
3462
+ function kt(e) {
3467
3463
  if (!Xe(e))
3468
3464
  return e in le ? le[e] : Promise.resolve();
3469
- const t = Cn(e);
3465
+ const t = Pn(e);
3470
3466
  return le[e] = Promise.all(
3471
3467
  t.map(
3472
- ([r, n]) => In(r, n)
3468
+ ([r, n]) => Cn(r, n)
3473
3469
  )
3474
3470
  ).then(() => {
3475
3471
  if (Xe(e))
3476
- return jt(e);
3472
+ return kt(e);
3477
3473
  delete le[e];
3478
3474
  }), le[e];
3479
3475
  }
3480
- const Nn = {
3476
+ const In = {
3481
3477
  number: {
3482
3478
  scientific: { notation: "scientific" },
3483
3479
  engineering: { notation: "engineering" },
@@ -3506,34 +3502,34 @@ const Nn = {
3506
3502
  timeZoneName: "short"
3507
3503
  }
3508
3504
  }
3509
- }, On = {
3505
+ }, Nn = {
3510
3506
  fallbackLocale: null,
3511
3507
  loadingDelay: 200,
3512
- formats: Nn,
3508
+ formats: In,
3513
3509
  warnOnMissingMessages: !0,
3514
3510
  handleMissingMessage: void 0,
3515
3511
  ignoreTag: !0
3516
- }, Mn = On;
3512
+ }, On = Nn;
3517
3513
  function ie() {
3518
- return Mn;
3514
+ return On;
3519
3515
  }
3520
3516
  const Me = Se(!1);
3521
- var Ln = Object.defineProperty, Rn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3522
- for (var r in t)
3523
- Un.call(t, r) && ht(e, r, t[r]);
3524
- if (lt)
3525
- for (var r of lt(t))
3526
- Dn.call(t, r) && ht(e, r, t[r]);
3517
+ var Mn = Object.defineProperty, Ln = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3518
+ for (var r in t || (t = {}))
3519
+ $n.call(t, r) && lt(e, r, t[r]);
3520
+ if (ut)
3521
+ for (var r of ut(t))
3522
+ Un.call(t, r) && lt(e, r, t[r]);
3527
3523
  return e;
3528
- }, Gn = (e, t) => Rn(e, $n(t));
3524
+ }, Fn = (e, t) => Ln(e, Rn(t));
3529
3525
  let ze;
3530
3526
  const xe = Se(null);
3531
- function ct(e) {
3527
+ function ht(e) {
3532
3528
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3533
3529
  }
3534
3530
  function Ae(e, t = ie().fallbackLocale) {
3535
- const r = ct(e);
3536
- return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
3531
+ const r = ht(e);
3532
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3537
3533
  }
3538
3534
  function Z() {
3539
3535
  return ze ?? void 0;
@@ -3541,22 +3537,22 @@ function Z() {
3541
3537
  xe.subscribe((e) => {
3542
3538
  ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3543
3539
  });
3544
- const kn = (e) => {
3545
- if (e && wn(e) && Xe(e)) {
3540
+ const Gn = (e) => {
3541
+ if (e && Bn(e) && Xe(e)) {
3546
3542
  const { loadingDelay: t } = ie();
3547
3543
  let r;
3548
3544
  return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
3549
3545
  () => Me.set(!0),
3550
3546
  t
3551
- ) : Me.set(!0), jt(e).then(() => {
3547
+ ) : Me.set(!0), kt(e).then(() => {
3552
3548
  xe.set(e);
3553
3549
  }).finally(() => {
3554
3550
  clearTimeout(r), Me.set(!1);
3555
3551
  });
3556
3552
  }
3557
3553
  return xe.set(e);
3558
- }, z = Gn(Fn({}, xe), {
3559
- set: kn
3554
+ }, z = Fn(Dn({}, xe), {
3555
+ set: Gn
3560
3556
  }), Be = (e) => {
3561
3557
  const t = /* @__PURE__ */ Object.create(null);
3562
3558
  return (n) => {
@@ -3564,20 +3560,20 @@ const kn = (e) => {
3564
3560
  return i in t ? t[i] : t[i] = e(n);
3565
3561
  };
3566
3562
  };
3567
- var jn = Object.defineProperty, _e = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3563
+ var kn = Object.defineProperty, _e = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3568
3564
  for (var r in t || (t = {}))
3569
- Vt.call(t, r) && ft(e, r, t[r]);
3565
+ jt.call(t, r) && ct(e, r, t[r]);
3570
3566
  if (_e)
3571
3567
  for (var r of _e(t))
3572
- Xt.call(t, r) && ft(e, r, t[r]);
3568
+ Vt.call(t, r) && ct(e, r, t[r]);
3573
3569
  return e;
3574
3570
  }, ue = (e, t) => {
3575
3571
  var r = {};
3576
3572
  for (var n in e)
3577
- Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3573
+ jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3578
3574
  if (e != null && _e)
3579
3575
  for (var n of _e(e))
3580
- t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3576
+ t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
3581
3577
  return r;
3582
3578
  };
3583
3579
  const de = (e, t) => {
@@ -3585,21 +3581,21 @@ const de = (e, t) => {
3585
3581
  if (e in r && t in r[e])
3586
3582
  return r[e][t];
3587
3583
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3588
- }, Vn = Be(
3584
+ }, jn = Be(
3589
3585
  (e) => {
3590
3586
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3591
3587
  if (r == null)
3592
3588
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3593
3589
  return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
3594
3590
  }
3595
- ), Xn = Be(
3591
+ ), Vn = Be(
3596
3592
  (e) => {
3597
3593
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3598
3594
  if (r == null)
3599
3595
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3600
3596
  return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
3601
3597
  }
3602
- ), zn = Be(
3598
+ ), Xn = Be(
3603
3599
  (e) => {
3604
3600
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3605
3601
  if (r == null)
@@ -3608,33 +3604,33 @@ const de = (e, t) => {
3608
3604
  );
3609
3605
  return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
3610
3606
  }
3611
- ), Wn = (e = {}) => {
3607
+ ), zn = (e = {}) => {
3612
3608
  var t = e, {
3613
3609
  locale: r = Z()
3614
3610
  } = t, n = ue(t, [
3615
3611
  "locale"
3616
3612
  ]);
3617
- return Vn(Qe({ locale: r }, n));
3618
- }, Zn = (e = {}) => {
3613
+ return jn(Je({ locale: r }, n));
3614
+ }, Wn = (e = {}) => {
3619
3615
  var t = e, {
3620
3616
  locale: r = Z()
3621
3617
  } = t, n = ue(t, [
3622
3618
  "locale"
3623
3619
  ]);
3624
- return Xn(Qe({ locale: r }, n));
3625
- }, Jn = (e = {}) => {
3620
+ return Vn(Je({ locale: r }, n));
3621
+ }, Zn = (e = {}) => {
3626
3622
  var t = e, {
3627
3623
  locale: r = Z()
3628
3624
  } = t, n = ue(t, [
3629
3625
  "locale"
3630
3626
  ]);
3631
- return zn(Qe({ locale: r }, n));
3632
- }, Qn = Be(
3627
+ return Xn(Je({ locale: r }, n));
3628
+ }, Jn = Be(
3633
3629
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3634
- (e, t = Z()) => new Sn(e, t, ie().formats, {
3630
+ (e, t = Z()) => new _n(e, t, ie().formats, {
3635
3631
  ignoreTag: ie().ignoreTag
3636
3632
  })
3637
- ), qn = (e, t = {}) => {
3633
+ ), Qn = (e, t = {}) => {
3638
3634
  var r, n, i, o;
3639
3635
  let a = t;
3640
3636
  typeof e == "object" && (a = e, e = a.id);
@@ -3647,7 +3643,7 @@ const de = (e, t) => {
3647
3643
  throw new Error(
3648
3644
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3649
3645
  );
3650
- let l = Dt(e, h);
3646
+ let l = Ut(e, h);
3651
3647
  if (!l)
3652
3648
  l = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3653
3649
  else if (typeof l != "string")
@@ -3658,7 +3654,7 @@ const de = (e, t) => {
3658
3654
  return l;
3659
3655
  let f = l;
3660
3656
  try {
3661
- f = Qn(l, h).format(s);
3657
+ f = Jn(l, h).format(s);
3662
3658
  } catch (d) {
3663
3659
  d instanceof Error && console.warn(
3664
3660
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3666,20 +3662,20 @@ const de = (e, t) => {
3666
3662
  );
3667
3663
  }
3668
3664
  return f;
3669
- }, Yn = (e, t) => Jn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => Wn(t).format(e), ti = (e, t = Z()) => Dt(e, t), ri = se([z, ae], () => qn);
3665
+ }, 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()) => Ut(e, t), ti = se([z, ae], () => Qn);
3666
+ se([z], () => qn);
3670
3667
  se([z], () => Yn);
3671
3668
  se([z], () => Kn);
3672
- se([z], () => ei);
3673
- se([z, ae], () => ti);
3674
- function ni({ withLocale: e, translations: t }) {
3669
+ se([z, ae], () => ei);
3670
+ function ri({ withLocale: e, translations: t }) {
3675
3671
  z.subscribe((r) => {
3676
3672
  r == null && (ae.set(t), z.set(e));
3677
3673
  });
3678
3674
  }
3679
- function dt(e, t) {
3680
- Gt(e, t);
3675
+ function ft(e, t) {
3676
+ Ft(e, t);
3681
3677
  }
3682
- const mt = {
3678
+ const dt = {
3683
3679
  en: {
3684
3680
  title: "Please enter the verification code you received on your number",
3685
3681
  errorTitle: "Your code was invalid, you can resend the code and try again",
@@ -3786,10 +3782,10 @@ const mt = {
3786
3782
  loginSMSHint: "A new verification code has been sent to your phone number"
3787
3783
  }
3788
3784
  };
3789
- function ii(e) {
3790
- 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))}");
3785
+ function ni(e) {
3786
+ Wt(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))}");
3791
3787
  }
3792
- function oi(e) {
3788
+ function ii(e) {
3793
3789
  let t = (
3794
3790
  /*$_*/
3795
3791
  e[5]("errorTitle") + ""
@@ -3811,7 +3807,7 @@ function oi(e) {
3811
3807
  }
3812
3808
  };
3813
3809
  }
3814
- function si(e) {
3810
+ function oi(e) {
3815
3811
  let t = (
3816
3812
  /*$_*/
3817
3813
  e[5]("title") + ""
@@ -3833,7 +3829,7 @@ function si(e) {
3833
3829
  }
3834
3830
  };
3835
3831
  }
3836
- function pt(e) {
3832
+ function mt(e) {
3837
3833
  let t, r = (
3838
3834
  /*$_*/
3839
3835
  e[5]("smsCodeError") + ""
@@ -3855,7 +3851,7 @@ function pt(e) {
3855
3851
  }
3856
3852
  };
3857
3853
  }
3858
- function bt(e) {
3854
+ function pt(e) {
3859
3855
  let t, r = (
3860
3856
  /*$_*/
3861
3857
  e[5]("resendMessage") + ""
@@ -3877,7 +3873,7 @@ function bt(e) {
3877
3873
  }
3878
3874
  };
3879
3875
  }
3880
- function gt(e) {
3876
+ function bt(e) {
3881
3877
  let t, r, n = (
3882
3878
  /*secondsLeft*/
3883
3879
  e[4] < 10 ? "0" : ""
@@ -3907,7 +3903,7 @@ function gt(e) {
3907
3903
  }
3908
3904
  };
3909
3905
  }
3910
- function ai(e) {
3906
+ function si(e) {
3911
3907
  let t, r, n, i, o, a = (
3912
3908
  /*$_*/
3913
3909
  e[5]("code") + ""
@@ -3921,16 +3917,16 @@ function ai(e) {
3921
3917
  function pe(c, y) {
3922
3918
  return (
3923
3919
  /*isSmsValid*/
3924
- c[2] ? si : oi
3920
+ c[2] ? oi : ii
3925
3921
  );
3926
3922
  }
3927
3923
  let V = pe(e), O = V(e), B = !/*isSmsValid*/
3928
- e[2] && pt(e), w = (
3924
+ e[2] && mt(e), w = (
3929
3925
  /*timer*/
3930
- e[3] && bt(e)
3926
+ e[3] && pt(e)
3931
3927
  ), P = (
3932
3928
  /*timer*/
3933
- e[3] && gt(e)
3929
+ e[3] && bt(e)
3934
3930
  );
3935
3931
  return {
3936
3932
  c() {
@@ -3939,7 +3935,7 @@ function ai(e) {
3939
3935
  e[3], A(t, "class", "Container SmsVerificationContainer");
3940
3936
  },
3941
3937
  m(c, y) {
3942
- W(c, t, y), E(t, r), O.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, f), Ye(
3938
+ W(c, t, y), E(t, r), O.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, f), qe(
3943
3939
  f,
3944
3940
  /*smsCode*/
3945
3941
  e[1]
@@ -3975,20 +3971,20 @@ function ai(e) {
3975
3971
  32 && a !== (a = /*$_*/
3976
3972
  c[5]("code") + "") && F(s, a), y & /*smsCode*/
3977
3973
  2 && f.value !== /*smsCode*/
3978
- c[1] && Ye(
3974
+ c[1] && qe(
3979
3975
  f,
3980
3976
  /*smsCode*/
3981
3977
  c[1]
3982
3978
  ), /*isSmsValid*/
3983
- c[2] ? B && (B.d(1), B = null) : B ? B.p(c, y) : (B = pt(c), B.c(), B.m(i, null)), y & /*isSmsValid*/
3979
+ c[2] ? B && (B.d(1), B = null) : B ? B.p(c, y) : (B = mt(c), B.c(), B.m(i, null)), y & /*isSmsValid*/
3984
3980
  4 && b !== (b = "Field SmsVerificationField " + (/*isSmsValid*/
3985
3981
  c[2] ? "" : "InvalidField")) && A(i, "class", b), /*timer*/
3986
- c[3] ? w ? w.p(c, y) : (w = bt(c), w.c(), w.m(t, _)) : w && (w.d(1), w = null), y & /*$_*/
3982
+ c[3] ? w ? w.p(c, y) : (w = pt(c), w.c(), w.m(t, _)) : w && (w.d(1), w = null), y & /*$_*/
3987
3983
  32 && R !== (R = /*$_*/
3988
3984
  c[5]("activate") + "") && F(N, R), y & /*$_*/
3989
3985
  32 && I !== (I = /*$_*/
3990
3986
  c[5]("resend") + "") && F(U, I), /*timer*/
3991
- c[3] ? P ? P.p(c, y) : (P = gt(c), P.c(), P.m(H, null)) : P && (P.d(1), P = null), y & /*timer*/
3987
+ c[3] ? P ? P.p(c, y) : (P = bt(c), P.c(), P.m(H, null)) : P && (P.d(1), P = null), y & /*timer*/
3992
3988
  8 && (H.disabled = /*timer*/
3993
3989
  c[3]);
3994
3990
  },
@@ -3999,23 +3995,23 @@ function ai(e) {
3999
3995
  }
4000
3996
  };
4001
3997
  }
4002
- function ui(e, t, r) {
3998
+ function ai(e, t, r) {
4003
3999
  let n;
4004
- Wt(e, ri, (c) => r(5, n = c));
4000
+ zt(e, ti, (c) => r(5, n = c));
4005
4001
  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, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, d, b = !0, v = !1, _, S, R = +localStorage.getItem("smsTimer") || 0, N = Date.now() / 1e3 - R, T = 60 - Math.floor(N);
4006
4002
  const H = { numeric: /^[0-9]{0,6}$/ };
4007
- ni({ withLocale: "en", translations: {} });
4003
+ ri({ withLocale: "en", translations: {} });
4008
4004
  const I = () => {
4009
4005
  fetch(f).then((y) => y.json()).then((y) => {
4010
4006
  Object.keys(y).forEach((Q) => {
4011
- dt(Q, y[Q]);
4007
+ ft(Q, y[Q]);
4012
4008
  });
4013
4009
  }).catch((y) => {
4014
4010
  console.log(y);
4015
4011
  });
4016
4012
  };
4017
- Object.keys(mt).forEach((c) => {
4018
- dt(c, mt[c]);
4013
+ Object.keys(dt).forEach((c) => {
4014
+ ft(c, dt[c]);
4019
4015
  });
4020
4016
  const U = async () => {
4021
4017
  try {
@@ -4091,7 +4087,7 @@ function ui(e, t, r) {
4091
4087
  }, O = (c) => {
4092
4088
  !H.numeric.test(c.key) && c.keyCode !== 8 && c.keyCode !== 9 && c.keyCode !== 46 && c.preventDefault();
4093
4089
  };
4094
- er(() => {
4090
+ Kt(() => {
4095
4091
  if (!a || !h) {
4096
4092
  let c = JSON.parse(localStorage.getItem("playerData"));
4097
4093
  r(10, a = c.playerid), r(11, h = c.number);
@@ -4138,14 +4134,14 @@ function ui(e, t, r) {
4138
4134
  P
4139
4135
  ];
4140
4136
  }
4141
- class li extends fr {
4137
+ class ui extends cr {
4142
4138
  constructor(t) {
4143
- super(), hr(
4139
+ super(), lr(
4144
4140
  this,
4145
4141
  t,
4146
- ui,
4147
4142
  ai,
4148
- yt,
4143
+ si,
4144
+ vt,
4149
4145
  {
4150
4146
  endpoint: 12,
4151
4147
  tokenid: 9,
@@ -4156,7 +4152,7 @@ class li extends fr {
4156
4152
  clientstylingurl: 15,
4157
4153
  translationurl: 16
4158
4154
  },
4159
- ii
4155
+ ni
4160
4156
  );
4161
4157
  }
4162
4158
  get endpoint() {
@@ -4208,7 +4204,7 @@ class li extends fr {
4208
4204
  this.$$set({ translationurl: t }), D();
4209
4205
  }
4210
4206
  }
4211
- cr(li, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4207
+ hr(ui, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4212
4208
  export {
4213
- li as G
4209
+ ui as G
4214
4210
  };