@everymatrix/general-player-sms-verification-form 1.59.0 → 1.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var Qt = Object.defineProperty, qt = Object.defineProperties;
2
- var Yt = Object.getOwnPropertyDescriptors;
3
- var Ye = Object.getOwnPropertySymbols;
4
- var Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? Qt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var Yt = Object.defineProperty, Kt = Object.defineProperties;
2
+ var er = Object.getOwnPropertyDescriptors;
3
+ var et = Object.getOwnPropertySymbols;
4
+ var tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable;
5
+ var Pe = (e, t, r) => t in e ? Yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Kt.call(t, r) && Pe(e, r, t[r]);
8
- if (Ye)
9
- for (var r of Ye(t))
10
- er.call(t, r) && Pe(e, r, t[r]);
7
+ tr.call(t, r) && Pe(e, r, t[r]);
8
+ if (et)
9
+ for (var r of et(t))
10
+ rr.call(t, r) && Pe(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => qt(e, Yt(t));
12
+ }, rt = (e, t) => Kt(e, er(t));
13
13
  var $ = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var be = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
@@ -29,25 +29,25 @@ var be = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function D() {
31
31
  }
32
- function _t(e) {
32
+ function Tt(e) {
33
33
  return e();
34
34
  }
35
- function tt() {
35
+ function nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ie(e) {
39
- e.forEach(_t);
39
+ e.forEach(Tt);
40
40
  }
41
41
  function Je(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function St(e, t) {
44
+ function Ht(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function tr(e) {
47
+ function nr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Tt(e, ...t) {
50
+ function At(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Tt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function rr(e, t, r) {
60
- e.$$.on_destroy.push(Tt(t, r));
59
+ function ir(e, t, r) {
60
+ e.$$.on_destroy.push(At(t, r));
61
61
  }
62
62
  function E(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function nr(e, t, r) {
66
- const n = ir(e);
65
+ function or(e, t, r) {
66
+ const n = sr(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = O("style");
69
- i.id = t, i.textContent = r, or(n, i);
68
+ const i = M("style");
69
+ i.id = t, i.textContent = r, ar(n, i);
70
70
  }
71
71
  }
72
- function ir(e) {
72
+ function sr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,7 +79,7 @@ function ir(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function or(e, t) {
82
+ function ar(e, t) {
83
83
  return E(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -92,14 +92,14 @@ function Z(e, t, r) {
92
92
  function j(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function O(e) {
95
+ function M(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function M(e) {
98
+ function O(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
101
  function z() {
102
- return M(" ");
102
+ return O(" ");
103
103
  }
104
104
  function ge(e, t, r, n) {
105
105
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -107,17 +107,17 @@ function ge(e, t, r, n) {
107
107
  function A(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
- function sr(e) {
110
+ function ur(e) {
111
111
  return Array.from(e.childNodes);
112
112
  }
113
113
  function G(e, t) {
114
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
115
115
  t);
116
116
  }
117
- function rt(e, t) {
117
+ function it(e, t) {
118
118
  e.value = t == null ? "" : t;
119
119
  }
120
- function ar(e) {
120
+ function lr(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -130,20 +130,20 @@ let de;
130
130
  function fe(e) {
131
131
  de = e;
132
132
  }
133
- function ur() {
133
+ function hr() {
134
134
  if (!de)
135
135
  throw new Error("Function called outside component initialization");
136
136
  return de;
137
137
  }
138
- function lr(e) {
139
- ur().$$.on_mount.push(e);
138
+ function cr(e) {
139
+ hr().$$.on_mount.push(e);
140
140
  }
141
141
  const Y = [], $e = [];
142
142
  let K = [];
143
- const nt = [], hr = /* @__PURE__ */ Promise.resolve();
143
+ const ot = [], fr = /* @__PURE__ */ Promise.resolve();
144
144
  let Ue = !1;
145
- function cr() {
146
- Ue || (Ue = !0, hr.then(U));
145
+ function dr() {
146
+ Ue || (Ue = !0, fr.then(U));
147
147
  }
148
148
  function De(e) {
149
149
  K.push(e);
@@ -158,7 +158,7 @@ function U() {
158
158
  try {
159
159
  for (; Q < Y.length; ) {
160
160
  const t = Y[Q];
161
- Q++, fe(t), fr(t.$$);
161
+ Q++, fe(t), mr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
164
  throw Y.length = 0, Q = 0, t;
@@ -171,40 +171,40 @@ function U() {
171
171
  }
172
172
  K.length = 0;
173
173
  } while (Y.length);
174
- for (; nt.length; )
175
- nt.pop()();
174
+ for (; ot.length; )
175
+ ot.pop()();
176
176
  Ue = !1, Ce.clear(), fe(e);
177
177
  }
178
- function fr(e) {
178
+ function mr(e) {
179
179
  if (e.fragment !== null) {
180
180
  e.update(), ie(e.before_update);
181
181
  const t = e.dirty;
182
182
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
183
183
  }
184
184
  }
185
- function dr(e) {
185
+ function pr(e) {
186
186
  const t = [], r = [];
187
187
  K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
188
188
  }
189
- const mr = /* @__PURE__ */ new Set();
190
- function pr(e, t) {
191
- e && e.i && (mr.delete(e), e.i(t));
189
+ const br = /* @__PURE__ */ new Set();
190
+ function gr(e, t) {
191
+ e && e.i && (br.delete(e), e.i(t));
192
192
  }
193
- function br(e, t, r) {
193
+ function vr(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
195
  n && n.m(t, r), De(() => {
196
- const o = e.$$.on_mount.map(_t).filter(Je);
196
+ const o = e.$$.on_mount.map(Tt).filter(Je);
197
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
198
198
  }), i.forEach(De);
199
199
  }
200
- function gr(e, t) {
200
+ function yr(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (dr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (pr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function vr(e, t) {
205
- e.$$.dirty[0] === -1 && (Y.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Er(e, t) {
205
+ e.$$.dirty[0] === -1 && (Y.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function yr(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  const l = de;
209
209
  fe(e);
210
210
  const u = e.$$ = {
@@ -214,7 +214,7 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
214
214
  props: o,
215
215
  update: D,
216
216
  not_equal: i,
217
- bound: tt(),
217
+ bound: nt(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,7 +223,7 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (l ? l.$$.context : [])),
225
225
  // everything else
226
- callbacks: tt(),
226
+ callbacks: nt(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || l.$$.root
@@ -232,19 +232,19 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
232
232
  let h = !1;
233
233
  if (u.ctx = r ? r(e, t.props || {}, (c, d, ...g) => {
234
234
  const y = g.length ? g[0] : d;
235
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && vr(e, c)), d;
235
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Er(e, c)), d;
236
236
  }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const c = sr(t.target);
238
+ const c = ur(t.target);
239
239
  u.fragment && u.fragment.l(c), c.forEach(j);
240
240
  } else
241
241
  u.fragment && u.fragment.c();
242
- t.intro && pr(e.$$.fragment), br(e, t.target, t.anchor), U();
242
+ t.intro && gr(e.$$.fragment), vr(e, t.target, t.anchor), U();
243
243
  }
244
244
  fe(l);
245
245
  }
246
- let Ht;
247
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
246
+ let Bt;
247
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
288
288
  let s;
289
289
  return {
290
290
  c: function() {
291
- s = O("slot"), o !== "default" && A(s, "name", o);
291
+ s = M("slot"), o !== "default" && A(s, "name", o);
292
292
  },
293
293
  /**
294
294
  * @param {HTMLElement} target
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = ar(this);
308
+ const r = {}, n = lr(this);
309
309
  for (const o of this.$$s)
310
310
  o in n && (r[o] = [t(o)]);
311
311
  for (const o of this.attributes) {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
316
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: et(Ke({}, this.$$d), {
319
+ props: rt(tt({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function ye(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function Er(e, t, r, n, i, o) {
398
- let s = class extends Ht {
397
+ function _r(e, t, r, n, i, o) {
398
+ let s = class extends Bt {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -425,7 +425,7 @@ function Er(e, t, r, n, i, o) {
425
425
  }), e.element = /** @type {any} */
426
426
  s, s;
427
427
  }
428
- class xr {
428
+ class Sr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class xr {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- gr(this, 1), this.$destroy = D;
449
+ yr(this, 1), this.$destroy = D;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -468,13 +468,13 @@ class xr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const _r = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
474
+ const Tr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
476
476
  const q = [];
477
- function Sr(e, t) {
477
+ function Hr(e, t) {
478
478
  return {
479
479
  subscribe: Te(e, t).subscribe
480
480
  };
@@ -483,7 +483,7 @@ function Te(e, t = D) {
483
483
  let r;
484
484
  const n = /* @__PURE__ */ new Set();
485
485
  function i(a) {
486
- if (St(e, a) && (e = a, r)) {
486
+ if (Ht(e, a) && (e = a, r)) {
487
487
  const l = !q.length;
488
488
  for (const u of n)
489
489
  u[1](), q.push(u, e);
@@ -510,7 +510,7 @@ function oe(e, t, r) {
510
510
  if (!i.every(Boolean))
511
511
  throw new Error("derived() expects stores as input, got a falsy value");
512
512
  const o = t.length < 2;
513
- return Sr(r, (s, a) => {
513
+ return Hr(r, (s, a) => {
514
514
  let l = !1;
515
515
  const u = [];
516
516
  let h = 0, c = D;
@@ -521,7 +521,7 @@ function oe(e, t, r) {
521
521
  const y = t(n ? u[0] : u, s, a);
522
522
  o ? s(y) : c = Je(y) ? y : D;
523
523
  }, g = i.map(
524
- (y, _) => Tt(
524
+ (y, _) => At(
525
525
  y,
526
526
  (T) => {
527
527
  u[_] = T, h &= ~(1 << _), l && d();
@@ -536,70 +536,70 @@ function oe(e, t, r) {
536
536
  };
537
537
  });
538
538
  }
539
- function Tr(e) {
539
+ function Ar(e) {
540
540
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var Hr = function(t) {
543
- return Ar(t) && !Br(t);
542
+ var Br = function(t) {
543
+ return wr(t) && !Pr(t);
544
544
  };
545
- function Ar(e) {
545
+ function wr(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function Br(e) {
548
+ function Pr(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
550
+ return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
551
551
  }
552
- var wr = typeof Symbol == "function" && Symbol.for, Pr = wr ? Symbol.for("react.element") : 60103;
553
- function Cr(e) {
554
- return e.$$typeof === Pr;
552
+ var Cr = typeof Symbol == "function" && Symbol.for, Ir = Cr ? Symbol.for("react.element") : 60103;
553
+ function Nr(e) {
554
+ return e.$$typeof === Ir;
555
555
  }
556
- function Ir(e) {
556
+ function Mr(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
559
  function me(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Ir(e), e, t) : e;
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Mr(e), e, t) : e;
561
561
  }
562
- function Nr(e, t, r) {
562
+ function Or(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
564
  return me(n, r);
565
565
  });
566
566
  }
567
- function Or(e, t) {
567
+ function Lr(e, t) {
568
568
  if (!t.customMerge)
569
569
  return ee;
570
570
  var r = t.customMerge(e);
571
571
  return typeof r == "function" ? r : ee;
572
572
  }
573
- function Mr(e) {
573
+ function Rr(e) {
574
574
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
575
575
  return Object.propertyIsEnumerable.call(e, t);
576
576
  }) : [];
577
577
  }
578
- function it(e) {
579
- return Object.keys(e).concat(Mr(e));
578
+ function st(e) {
579
+ return Object.keys(e).concat(Rr(e));
580
580
  }
581
- function At(e, t) {
581
+ function wt(e, t) {
582
582
  try {
583
583
  return t in e;
584
584
  } catch (r) {
585
585
  return !1;
586
586
  }
587
587
  }
588
- function Lr(e, t) {
589
- return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ function $r(e, t) {
589
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
- function Rr(e, t, r) {
591
+ function Ur(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
593
+ return r.isMergeableObject(e) && st(e).forEach(function(i) {
594
594
  n[i] = me(e[i], r);
595
- }), it(t).forEach(function(i) {
596
- Lr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Or(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
595
+ }), st(t).forEach(function(i) {
596
+ $r(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Lr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
597
597
  }), n;
598
598
  }
599
599
  function ee(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || Nr, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = me;
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = me;
601
601
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
602
- return o ? n ? r.arrayMerge(e, t, r) : Rr(e, t, r) : me(t, r);
602
+ return o ? n ? r.arrayMerge(e, t, r) : Ur(e, t, r) : me(t, r);
603
603
  }
604
604
  ee.all = function(t, r) {
605
605
  if (!Array.isArray(t))
@@ -608,8 +608,8 @@ ee.all = function(t, r) {
608
608
  return ee(n, i, r);
609
609
  }, {});
610
610
  };
611
- var $r = ee, Ur = $r;
612
- const Dr = /* @__PURE__ */ Tr(Ur);
611
+ var Dr = ee, Fr = Dr;
612
+ const Gr = /* @__PURE__ */ Ar(Fr);
613
613
  /*! *****************************************************************************
614
614
  Copyright (c) Microsoft Corporation.
615
615
 
@@ -651,7 +651,7 @@ var v = function() {
651
651
  return t;
652
652
  }, v.apply(this, arguments);
653
653
  };
654
- function Fr(e, t) {
654
+ function kr(e, t) {
655
655
  var r = {};
656
656
  for (var n in e)
657
657
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -667,53 +667,55 @@ function Ie(e, t, r) {
667
667
  return e.concat(o || t);
668
668
  }
669
669
  function Ne(e, t) {
670
- var r = t && t.cache ? t.cache : Wr, n = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : jr;
670
+ var r = t && t.cache ? t.cache : Zr, n = t && t.serializer ? t.serializer : Wr, i = t && t.strategy ? t.strategy : Vr;
671
671
  return i(e, {
672
672
  cache: r,
673
673
  serializer: n
674
674
  });
675
675
  }
676
- function Gr(e) {
676
+ function jr(e) {
677
677
  return e == null || typeof e == "number" || typeof e == "boolean";
678
678
  }
679
- function kr(e, t, r, n) {
680
- var i = Gr(n) ? n : r(n), o = t.get(i);
679
+ function Pt(e, t, r, n) {
680
+ var i = jr(n) ? n : r(n), o = t.get(i);
681
681
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
682
682
  }
683
- function Bt(e, t, r) {
683
+ function Ct(e, t, r) {
684
684
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
685
685
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
686
686
  }
687
- function wt(e, t, r, n, i) {
687
+ function Qe(e, t, r, n, i) {
688
688
  return r.bind(t, e, n, i);
689
689
  }
690
- function jr(e, t) {
691
- var r = e.length === 1 ? kr : Bt;
692
- return wt(e, this, r, t.cache.create(), t.serializer);
693
- }
694
690
  function Vr(e, t) {
695
- return wt(e, this, Bt, t.cache.create(), t.serializer);
691
+ var r = e.length === 1 ? Pt : Ct;
692
+ return Qe(e, this, r, t.cache.create(), t.serializer);
696
693
  }
697
- var Xr = function() {
694
+ function Xr(e, t) {
695
+ return Qe(e, this, Ct, t.cache.create(), t.serializer);
696
+ }
697
+ function zr(e, t) {
698
+ return Qe(e, this, Pt, t.cache.create(), t.serializer);
699
+ }
700
+ var Wr = function() {
698
701
  return JSON.stringify(arguments);
699
- }, zr = (
700
- /** @class */
701
- function() {
702
- function e() {
703
- this.cache = /* @__PURE__ */ Object.create(null);
704
- }
705
- return e.prototype.get = function(t) {
706
- return this.cache[t];
707
- }, e.prototype.set = function(t, r) {
708
- this.cache[t] = r;
709
- }, e;
710
- }()
711
- ), Wr = {
702
+ };
703
+ function qe() {
704
+ this.cache = /* @__PURE__ */ Object.create(null);
705
+ }
706
+ qe.prototype.get = function(e) {
707
+ return this.cache[e];
708
+ };
709
+ qe.prototype.set = function(e, t) {
710
+ this.cache[e] = t;
711
+ };
712
+ var Zr = {
712
713
  create: function() {
713
- return new zr();
714
+ return new qe();
714
715
  }
715
- }, Oe = {
716
- variadic: Vr
716
+ }, Me = {
717
+ variadic: Xr,
718
+ monadic: zr
717
719
  }, m;
718
720
  (function(e) {
719
721
  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";
@@ -726,43 +728,43 @@ var te;
726
728
  (function(e) {
727
729
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
728
730
  })(te || (te = {}));
729
- function ot(e) {
731
+ function at(e) {
730
732
  return e.type === x.literal;
731
733
  }
732
- function Zr(e) {
734
+ function Jr(e) {
733
735
  return e.type === x.argument;
734
736
  }
735
- function Pt(e) {
737
+ function It(e) {
736
738
  return e.type === x.number;
737
739
  }
738
- function Ct(e) {
740
+ function Nt(e) {
739
741
  return e.type === x.date;
740
742
  }
741
- function It(e) {
743
+ function Mt(e) {
742
744
  return e.type === x.time;
743
745
  }
744
- function Nt(e) {
746
+ function Ot(e) {
745
747
  return e.type === x.select;
746
748
  }
747
- function Ot(e) {
749
+ function Lt(e) {
748
750
  return e.type === x.plural;
749
751
  }
750
- function Jr(e) {
752
+ function Qr(e) {
751
753
  return e.type === x.pound;
752
754
  }
753
- function Mt(e) {
755
+ function Rt(e) {
754
756
  return e.type === x.tag;
755
757
  }
756
- function Lt(e) {
758
+ function $t(e) {
757
759
  return !!(e && typeof e == "object" && e.type === te.number);
758
760
  }
759
761
  function Ge(e) {
760
762
  return !!(e && typeof e == "object" && e.type === te.dateTime);
761
763
  }
762
- var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
763
- function qr(e) {
764
+ var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qr = /(?:[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;
765
+ function Yr(e) {
764
766
  var t = {};
765
- return e.replace(Qr, function(r) {
767
+ return e.replace(qr, function(r) {
766
768
  var n = r.length;
767
769
  switch (r[0]) {
768
770
  case "G":
@@ -851,11 +853,11 @@ function qr(e) {
851
853
  return "";
852
854
  }), t;
853
855
  }
854
- var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
855
- function Kr(e) {
856
+ var Kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
857
+ function en(e) {
856
858
  if (e.length === 0)
857
859
  throw new Error("Number skeleton cannot be empty");
858
- for (var t = e.split(Yr).filter(function(d) {
860
+ for (var t = e.split(Kr).filter(function(d) {
859
861
  return d.length > 0;
860
862
  }), r = [], n = 0, i = t; n < i.length; n++) {
861
863
  var o = i[n], s = o.split("/");
@@ -870,17 +872,17 @@ function Kr(e) {
870
872
  }
871
873
  return r;
872
874
  }
873
- function en(e) {
875
+ function tn(e) {
874
876
  return e.replace(/^(.*?)-/, "");
875
877
  }
876
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
877
- function at(e) {
878
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, rn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
879
+ function lt(e) {
878
880
  var t = {};
879
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
881
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
880
882
  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)), "";
881
883
  }), t;
882
884
  }
883
- function Dt(e) {
885
+ function Gt(e) {
884
886
  switch (e) {
885
887
  case "sign-auto":
886
888
  return {
@@ -920,7 +922,7 @@ function Dt(e) {
920
922
  };
921
923
  }
922
924
  }
923
- function rn(e) {
925
+ function nn(e) {
924
926
  var t;
925
927
  if (e[0] === "E" && e[1] === "E" ? (t = {
926
928
  notation: "engineering"
@@ -928,17 +930,17 @@ function rn(e) {
928
930
  notation: "scientific"
929
931
  }, e = e.slice(1)), t) {
930
932
  var r = e.slice(0, 2);
931
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
933
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
932
934
  throw new Error("Malformed concise eng/scientific notation");
933
935
  t.minimumIntegerDigits = e.length;
934
936
  }
935
937
  return t;
936
938
  }
937
- function ut(e) {
938
- var t = {}, r = Dt(e);
939
+ function ht(e) {
940
+ var t = {}, r = Gt(e);
939
941
  return r || t;
940
942
  }
941
- function nn(e) {
943
+ function on(e) {
942
944
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
943
945
  var i = n[r];
944
946
  switch (i.stem) {
@@ -962,7 +964,7 @@ function nn(e) {
962
964
  continue;
963
965
  case "measure-unit":
964
966
  case "unit":
965
- t.style = "unit", t.unit = en(i.options[0]);
967
+ t.style = "unit", t.unit = tn(i.options[0]);
966
968
  continue;
967
969
  case "compact-short":
968
970
  case "K":
@@ -974,12 +976,12 @@ function nn(e) {
974
976
  continue;
975
977
  case "scientific":
976
978
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
977
- return v(v({}, l), ut(u));
979
+ return v(v({}, l), ht(u));
978
980
  }, {}));
979
981
  continue;
980
982
  case "engineering":
981
983
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
982
- return v(v({}, l), ut(u));
984
+ return v(v({}, l), ht(u));
983
985
  }, {}));
984
986
  continue;
985
987
  case "notation-simple":
@@ -1024,7 +1026,7 @@ function nn(e) {
1024
1026
  case "integer-width":
1025
1027
  if (i.options.length > 1)
1026
1028
  throw new RangeError("integer-width stems only accept a single optional option");
1027
- i.options[0].replace(tn, function(l, u, h, c, d, g) {
1029
+ i.options[0].replace(rn, function(l, u, h, c, d, g) {
1028
1030
  if (u)
1029
1031
  t.minimumIntegerDigits = h.length;
1030
1032
  else {
@@ -1037,27 +1039,27 @@ function nn(e) {
1037
1039
  });
1038
1040
  continue;
1039
1041
  }
1040
- if (Ut.test(i.stem)) {
1042
+ if (Ft.test(i.stem)) {
1041
1043
  t.minimumIntegerDigits = i.stem.length;
1042
1044
  continue;
1043
1045
  }
1044
- if (st.test(i.stem)) {
1046
+ if (ut.test(i.stem)) {
1045
1047
  if (i.options.length > 1)
1046
1048
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1047
- i.stem.replace(st, function(l, u, h, c, d, g) {
1049
+ i.stem.replace(ut, function(l, u, h, c, d, g) {
1048
1050
  return h === "*" ? 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), "";
1049
1051
  });
1050
1052
  var o = i.options[0];
1051
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), at(o)));
1053
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), lt(o)));
1052
1054
  continue;
1053
1055
  }
1054
- if ($t.test(i.stem)) {
1055
- t = v(v({}, t), at(i.stem));
1056
+ if (Dt.test(i.stem)) {
1057
+ t = v(v({}, t), lt(i.stem));
1056
1058
  continue;
1057
1059
  }
1058
- var s = Dt(i.stem);
1060
+ var s = Gt(i.stem);
1059
1061
  s && (t = v(v({}, t), s));
1060
- var a = rn(i.stem);
1062
+ var a = nn(i.stem);
1061
1063
  a && (t = v(v({}, t), a));
1062
1064
  }
1063
1065
  return t;
@@ -2477,13 +2479,13 @@ var ve = {
2477
2479
  "h"
2478
2480
  ]
2479
2481
  };
2480
- function on(e, t) {
2482
+ function sn(e, t) {
2481
2483
  for (var r = "", n = 0; n < e.length; n++) {
2482
2484
  var i = e.charAt(n);
2483
2485
  if (i === "j") {
2484
2486
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2485
2487
  o++, n++;
2486
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = sn(t);
2488
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = an(t);
2487
2489
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2488
2490
  r += l;
2489
2491
  for (; s-- > 0; )
@@ -2493,7 +2495,7 @@ function on(e, t) {
2493
2495
  }
2494
2496
  return r;
2495
2497
  }
2496
- function sn(e) {
2498
+ function an(e) {
2497
2499
  var t = e.hourCycle;
2498
2500
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2499
2501
  e.hourCycles && // @ts-ignore
@@ -2515,20 +2517,20 @@ function sn(e) {
2515
2517
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2516
2518
  return i[0];
2517
2519
  }
2518
- var Me, an = new RegExp("^".concat(Rt.source, "*")), un = new RegExp("".concat(Rt.source, "*$"));
2520
+ var Oe, un = new RegExp("^".concat(Ut.source, "*")), ln = new RegExp("".concat(Ut.source, "*$"));
2519
2521
  function b(e, t) {
2520
2522
  return { start: e, end: t };
2521
2523
  }
2522
- var ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String.fromCodePoint, cn = !!Object.fromEntries, fn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, mn = !!String.prototype.trimEnd, pn = !!Number.isSafeInteger, bn = pn ? Number.isSafeInteger : function(e) {
2524
+ var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), cn = !!String.fromCodePoint, fn = !!Object.fromEntries, dn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, bn = !!Number.isSafeInteger, gn = bn ? Number.isSafeInteger : function(e) {
2523
2525
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2524
2526
  }, ke = !0;
2525
2527
  try {
2526
- var gn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2527
- ke = ((Me = gn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2528
+ var vn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2529
+ ke = ((Oe = vn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2528
2530
  } catch (e) {
2529
2531
  ke = !1;
2530
2532
  }
2531
- var lt = ln ? (
2533
+ var ct = hn ? (
2532
2534
  // Native
2533
2535
  function(t, r, n) {
2534
2536
  return t.startsWith(r, n);
@@ -2538,7 +2540,7 @@ var lt = ln ? (
2538
2540
  function(t, r, n) {
2539
2541
  return t.slice(n, n + r.length) === r;
2540
2542
  }
2541
- ), je = hn ? String.fromCodePoint : (
2543
+ ), je = cn ? String.fromCodePoint : (
2542
2544
  // IE11
2543
2545
  function() {
2544
2546
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2550,9 +2552,9 @@ var lt = ln ? (
2550
2552
  }
2551
2553
  return n;
2552
2554
  }
2553
- ), ht = (
2555
+ ), ft = (
2554
2556
  // native
2555
- cn ? Object.fromEntries : (
2557
+ fn ? Object.fromEntries : (
2556
2558
  // Ponyfill
2557
2559
  function(t) {
2558
2560
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2562,7 +2564,7 @@ var lt = ln ? (
2562
2564
  return r;
2563
2565
  }
2564
2566
  )
2565
- ), Ft = fn ? (
2567
+ ), kt = dn ? (
2566
2568
  // Native
2567
2569
  function(t, r) {
2568
2570
  return t.codePointAt(r);
@@ -2576,7 +2578,7 @@ var lt = ln ? (
2576
2578
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2577
2579
  }
2578
2580
  }
2579
- ), vn = dn ? (
2581
+ ), yn = mn ? (
2580
2582
  // Native
2581
2583
  function(t) {
2582
2584
  return t.trimStart();
@@ -2584,9 +2586,9 @@ var lt = ln ? (
2584
2586
  ) : (
2585
2587
  // Ponyfill
2586
2588
  function(t) {
2587
- return t.replace(an, "");
2589
+ return t.replace(un, "");
2588
2590
  }
2589
- ), yn = mn ? (
2591
+ ), En = pn ? (
2590
2592
  // Native
2591
2593
  function(t) {
2592
2594
  return t.trimEnd();
@@ -2594,32 +2596,32 @@ var lt = ln ? (
2594
2596
  ) : (
2595
2597
  // Ponyfill
2596
2598
  function(t) {
2597
- return t.replace(un, "");
2599
+ return t.replace(ln, "");
2598
2600
  }
2599
2601
  );
2600
- function Gt(e, t) {
2602
+ function jt(e, t) {
2601
2603
  return new RegExp(e, t);
2602
2604
  }
2603
2605
  var Ve;
2604
2606
  if (ke) {
2605
- var ct = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2607
+ var dt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2606
2608
  Ve = function(t, r) {
2607
2609
  var n;
2608
- ct.lastIndex = r;
2609
- var i = ct.exec(t);
2610
+ dt.lastIndex = r;
2611
+ var i = dt.exec(t);
2610
2612
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2611
2613
  };
2612
2614
  } else
2613
2615
  Ve = function(t, r) {
2614
2616
  for (var n = []; ; ) {
2615
- var i = Ft(t, r);
2616
- if (i === void 0 || kt(i) || Sn(i))
2617
+ var i = kt(t, r);
2618
+ if (i === void 0 || Vt(i) || Tn(i))
2617
2619
  break;
2618
2620
  n.push(i), r += i >= 65536 ? 2 : 1;
2619
2621
  }
2620
2622
  return je.apply(void 0, n);
2621
2623
  };
2622
- var En = (
2624
+ var xn = (
2623
2625
  /** @class */
2624
2626
  function() {
2625
2627
  function e(t, r) {
@@ -2701,7 +2703,7 @@ var En = (
2701
2703
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2702
2704
  }, e.prototype.parseTagName = function() {
2703
2705
  var t = this.offset();
2704
- for (this.bump(); !this.isEOF() && _n(this.char()); )
2706
+ for (this.bump(); !this.isEOF() && Sn(this.char()); )
2705
2707
  this.bump();
2706
2708
  return this.message.slice(t, this.offset());
2707
2709
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2730,7 +2732,7 @@ var En = (
2730
2732
  };
2731
2733
  }, e.prototype.tryParseLeftAngleBracket = function() {
2732
2734
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2733
- !xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2735
+ !_n(this.peek() || 0)) ? (this.bump(), "<") : null;
2734
2736
  }, e.prototype.tryParseQuote = function(t) {
2735
2737
  if (this.isEOF() || this.char() !== 39)
2736
2738
  return null;
@@ -2817,7 +2819,7 @@ var En = (
2817
2819
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2818
2820
  if (c.err)
2819
2821
  return c;
2820
- var d = yn(c.val);
2822
+ var d = En(c.val);
2821
2823
  if (d.length === 0)
2822
2824
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2823
2825
  var g = b(h, this.clonePosition());
@@ -2827,8 +2829,8 @@ var En = (
2827
2829
  if (y.err)
2828
2830
  return y;
2829
2831
  var _ = b(i, this.clonePosition());
2830
- if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2831
- var T = vn(u.style.slice(2));
2832
+ if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
2833
+ var T = yn(u.style.slice(2));
2832
2834
  if (a === "number") {
2833
2835
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2834
2836
  return c.err ? c : {
@@ -2839,12 +2841,12 @@ var En = (
2839
2841
  if (T.length === 0)
2840
2842
  return this.error(m.EXPECT_DATE_TIME_SKELETON, _);
2841
2843
  var H = T;
2842
- this.locale && (H = on(T, this.locale));
2844
+ this.locale && (H = sn(T, this.locale));
2843
2845
  var d = {
2844
2846
  type: te.dateTime,
2845
2847
  pattern: H,
2846
2848
  location: u.styleLocation,
2847
- parsedOptions: this.shouldParseSkeletons ? qr(H) : {}
2849
+ parsedOptions: this.shouldParseSkeletons ? Yr(H) : {}
2848
2850
  }, L = a === "date" ? x.date : x.time;
2849
2851
  return {
2850
2852
  val: { type: L, value: n, location: _, style: d },
@@ -2890,7 +2892,7 @@ var En = (
2890
2892
  val: {
2891
2893
  type: x.select,
2892
2894
  value: n,
2893
- options: ht(F.val),
2895
+ options: ft(F.val),
2894
2896
  location: V
2895
2897
  },
2896
2898
  err: null
@@ -2898,7 +2900,7 @@ var En = (
2898
2900
  val: {
2899
2901
  type: x.plural,
2900
2902
  value: n,
2901
- options: ht(F.val),
2903
+ options: ft(F.val),
2902
2904
  offset: N,
2903
2905
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2904
2906
  location: V
@@ -2949,7 +2951,7 @@ var En = (
2949
2951
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2950
2952
  var n = [];
2951
2953
  try {
2952
- n = Kr(t);
2954
+ n = en(t);
2953
2955
  } catch (i) {
2954
2956
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2955
2957
  }
@@ -2958,7 +2960,7 @@ var En = (
2958
2960
  type: te.number,
2959
2961
  tokens: n,
2960
2962
  location: r,
2961
- parsedOptions: this.shouldParseSkeletons ? nn(n) : {}
2963
+ parsedOptions: this.shouldParseSkeletons ? on(n) : {}
2962
2964
  },
2963
2965
  err: null
2964
2966
  };
@@ -3006,7 +3008,7 @@ var En = (
3006
3008
  break;
3007
3009
  }
3008
3010
  var l = b(i, this.clonePosition());
3009
- return o ? (s *= n, bn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3011
+ return o ? (s *= n, gn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3010
3012
  }, e.prototype.offset = function() {
3011
3013
  return this.position.offset;
3012
3014
  }, e.prototype.isEOF = function() {
@@ -3021,7 +3023,7 @@ var En = (
3021
3023
  var t = this.position.offset;
3022
3024
  if (t >= this.message.length)
3023
3025
  throw Error("out of bound");
3024
- var r = Ft(this.message, t);
3026
+ var r = kt(this.message, t);
3025
3027
  if (r === void 0)
3026
3028
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3027
3029
  return r;
@@ -3040,7 +3042,7 @@ var En = (
3040
3042
  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);
3041
3043
  }
3042
3044
  }, e.prototype.bumpIf = function(t) {
3043
- if (lt(this.message, t, this.offset())) {
3045
+ if (ct(this.message, t, this.offset())) {
3044
3046
  for (var r = 0; r < t.length; r++)
3045
3047
  this.bump();
3046
3048
  return !0;
@@ -3062,7 +3064,7 @@ var En = (
3062
3064
  break;
3063
3065
  }
3064
3066
  }, e.prototype.bumpSpace = function() {
3065
- for (; !this.isEOF() && kt(this.char()); )
3067
+ for (; !this.isEOF() && Vt(this.char()); )
3066
3068
  this.bump();
3067
3069
  }, e.prototype.peek = function() {
3068
3070
  if (this.isEOF())
@@ -3075,30 +3077,30 @@ var En = (
3075
3077
  function Xe(e) {
3076
3078
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3077
3079
  }
3078
- function xn(e) {
3080
+ function _n(e) {
3079
3081
  return Xe(e) || e === 47;
3080
3082
  }
3081
- function _n(e) {
3083
+ function Sn(e) {
3082
3084
  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;
3083
3085
  }
3084
- function kt(e) {
3086
+ function Vt(e) {
3085
3087
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3086
3088
  }
3087
- function Sn(e) {
3089
+ function Tn(e) {
3088
3090
  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;
3089
3091
  }
3090
3092
  function ze(e) {
3091
3093
  e.forEach(function(t) {
3092
- if (delete t.location, Nt(t) || Ot(t))
3094
+ if (delete t.location, Ot(t) || Lt(t))
3093
3095
  for (var r in t.options)
3094
3096
  delete t.options[r].location, ze(t.options[r].value);
3095
3097
  else
3096
- Pt(t) && Lt(t.style) || (Ct(t) || It(t)) && Ge(t.style) ? delete t.style.location : Mt(t) && ze(t.children);
3098
+ It(t) && $t(t.style) || (Nt(t) || Mt(t)) && Ge(t.style) ? delete t.style.location : Rt(t) && ze(t.children);
3097
3099
  });
3098
3100
  }
3099
- function Tn(e, t) {
3101
+ function Hn(e, t) {
3100
3102
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3101
- var r = new En(e, t).parse();
3103
+ var r = new xn(e, t).parse();
3102
3104
  if (r.err) {
3103
3105
  var n = SyntaxError(m[r.err.kind]);
3104
3106
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3121,7 +3123,7 @@ var Ae = (
3121
3123
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3122
3124
  }, t;
3123
3125
  }(Error)
3124
- ), ft = (
3126
+ ), mt = (
3125
3127
  /** @class */
3126
3128
  function(e) {
3127
3129
  He(t, e);
@@ -3130,7 +3132,7 @@ var Ae = (
3130
3132
  }
3131
3133
  return t;
3132
3134
  }(Ae)
3133
- ), Hn = (
3135
+ ), An = (
3134
3136
  /** @class */
3135
3137
  function(e) {
3136
3138
  He(t, e);
@@ -3139,7 +3141,7 @@ var Ae = (
3139
3141
  }
3140
3142
  return t;
3141
3143
  }(Ae)
3142
- ), An = (
3144
+ ), Bn = (
3143
3145
  /** @class */
3144
3146
  function(e) {
3145
3147
  He(t, e);
@@ -3152,17 +3154,17 @@ var Ae = (
3152
3154
  (function(e) {
3153
3155
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3154
3156
  })(I || (I = {}));
3155
- function Bn(e) {
3157
+ function wn(e) {
3156
3158
  return e.length < 2 ? e : e.reduce(function(t, r) {
3157
3159
  var n = t[t.length - 1];
3158
3160
  return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3159
3161
  }, []);
3160
3162
  }
3161
- function wn(e) {
3163
+ function Pn(e) {
3162
3164
  return typeof e == "function";
3163
3165
  }
3164
3166
  function Ee(e, t, r, n, i, o, s) {
3165
- if (e.length === 1 && ot(e[0]))
3167
+ if (e.length === 1 && at(e[0]))
3166
3168
  return [
3167
3169
  {
3168
3170
  type: I.literal,
@@ -3171,14 +3173,14 @@ function Ee(e, t, r, n, i, o, s) {
3171
3173
  ];
3172
3174
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3173
3175
  var h = u[l];
3174
- if (ot(h)) {
3176
+ if (at(h)) {
3175
3177
  a.push({
3176
3178
  type: I.literal,
3177
3179
  value: h.value
3178
3180
  });
3179
3181
  continue;
3180
3182
  }
3181
- if (Jr(h)) {
3183
+ if (Qr(h)) {
3182
3184
  typeof o == "number" && a.push({
3183
3185
  type: I.literal,
3184
3186
  value: r.getNumberFormat(t).format(o)
@@ -3187,16 +3189,16 @@ function Ee(e, t, r, n, i, o, s) {
3187
3189
  }
3188
3190
  var c = h.value;
3189
3191
  if (!(i && c in i))
3190
- throw new An(c, s);
3192
+ throw new Bn(c, s);
3191
3193
  var d = i[c];
3192
- if (Zr(h)) {
3194
+ if (Jr(h)) {
3193
3195
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3194
3196
  type: typeof d == "string" ? I.literal : I.object,
3195
3197
  value: d
3196
3198
  });
3197
3199
  continue;
3198
3200
  }
3199
- if (Ct(h)) {
3201
+ if (Nt(h)) {
3200
3202
  var g = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3201
3203
  a.push({
3202
3204
  type: I.literal,
@@ -3204,7 +3206,7 @@ function Ee(e, t, r, n, i, o, s) {
3204
3206
  });
3205
3207
  continue;
3206
3208
  }
3207
- if (It(h)) {
3209
+ if (Mt(h)) {
3208
3210
  var g = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3209
3211
  a.push({
3210
3212
  type: I.literal,
@@ -3212,18 +3214,18 @@ function Ee(e, t, r, n, i, o, s) {
3212
3214
  });
3213
3215
  continue;
3214
3216
  }
3215
- if (Pt(h)) {
3216
- var g = typeof h.style == "string" ? n.number[h.style] : Lt(h.style) ? h.style.parsedOptions : void 0;
3217
+ if (It(h)) {
3218
+ var g = typeof h.style == "string" ? n.number[h.style] : $t(h.style) ? h.style.parsedOptions : void 0;
3217
3219
  g && g.scale && (d = d * (g.scale || 1)), a.push({
3218
3220
  type: I.literal,
3219
3221
  value: r.getNumberFormat(t, g).format(d)
3220
3222
  });
3221
3223
  continue;
3222
3224
  }
3223
- if (Mt(h)) {
3225
+ if (Rt(h)) {
3224
3226
  var y = h.children, _ = h.value, T = i[_];
3225
- if (!wn(T))
3226
- throw new Hn(_, "function", s);
3227
+ if (!Pn(T))
3228
+ throw new An(_, "function", s);
3227
3229
  var H = Ee(y, t, r, n, i, o), L = T(H.map(function(N) {
3228
3230
  return N.value;
3229
3231
  }));
@@ -3234,14 +3236,14 @@ function Ee(e, t, r, n, i, o, s) {
3234
3236
  };
3235
3237
  }));
3236
3238
  }
3237
- if (Nt(h)) {
3239
+ if (Ot(h)) {
3238
3240
  var B = h.options[d] || h.options.other;
3239
3241
  if (!B)
3240
- throw new ft(h.value, d, Object.keys(h.options), s);
3242
+ throw new mt(h.value, d, Object.keys(h.options), s);
3241
3243
  a.push.apply(a, Ee(B.value, t, r, n, i));
3242
3244
  continue;
3243
3245
  }
3244
- if (Ot(h)) {
3246
+ if (Lt(h)) {
3245
3247
  var B = h.options["=".concat(d)];
3246
3248
  if (!B) {
3247
3249
  if (!Intl.PluralRules)
@@ -3252,21 +3254,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3252
3254
  B = h.options[S] || h.options.other;
3253
3255
  }
3254
3256
  if (!B)
3255
- throw new ft(h.value, d, Object.keys(h.options), s);
3257
+ throw new mt(h.value, d, Object.keys(h.options), s);
3256
3258
  a.push.apply(a, Ee(B.value, t, r, n, i, d - (h.offset || 0)));
3257
3259
  continue;
3258
3260
  }
3259
3261
  }
3260
- return Bn(a);
3262
+ return wn(a);
3261
3263
  }
3262
- function Pn(e, t) {
3264
+ function Cn(e, t) {
3263
3265
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3264
3266
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3265
3267
  }, {})) : e;
3266
3268
  }
3267
- function Cn(e, t) {
3269
+ function In(e, t) {
3268
3270
  return t ? Object.keys(e).reduce(function(r, n) {
3269
- return r[n] = Pn(e[n], t[n]), r;
3271
+ return r[n] = Cn(e[n], t[n]), r;
3270
3272
  }, v({}, e)) : e;
3271
3273
  }
3272
3274
  function Le(e) {
@@ -3283,7 +3285,7 @@ function Le(e) {
3283
3285
  }
3284
3286
  };
3285
3287
  }
3286
- function In(e) {
3288
+ function Nn(e) {
3287
3289
  return e === void 0 && (e = {
3288
3290
  number: {},
3289
3291
  dateTime: {},
@@ -3295,7 +3297,7 @@ function In(e) {
3295
3297
  return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3296
3298
  }, {
3297
3299
  cache: Le(e.number),
3298
- strategy: Oe.variadic
3300
+ strategy: Me.variadic
3299
3301
  }),
3300
3302
  getDateTimeFormat: Ne(function() {
3301
3303
  for (var t, r = [], n = 0; n < arguments.length; n++)
@@ -3303,7 +3305,7 @@ function In(e) {
3303
3305
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3304
3306
  }, {
3305
3307
  cache: Le(e.dateTime),
3306
- strategy: Oe.variadic
3308
+ strategy: Me.variadic
3307
3309
  }),
3308
3310
  getPluralRules: Ne(function() {
3309
3311
  for (var t, r = [], n = 0; n < arguments.length; n++)
@@ -3311,11 +3313,11 @@ function In(e) {
3311
3313
  return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3312
3314
  }, {
3313
3315
  cache: Le(e.pluralRules),
3314
- strategy: Oe.variadic
3316
+ strategy: Me.variadic
3315
3317
  })
3316
3318
  };
3317
3319
  }
3318
- var Nn = (
3320
+ var Mn = (
3319
3321
  /** @class */
3320
3322
  function() {
3321
3323
  function e(t, r, n, i) {
@@ -3347,13 +3349,13 @@ var Nn = (
3347
3349
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3348
3350
  var s = i || {};
3349
3351
  s.formatters;
3350
- var a = Fr(s, ["formatters"]);
3352
+ var a = kr(s, ["formatters"]);
3351
3353
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3352
3354
  } else
3353
3355
  this.ast = t;
3354
3356
  if (!Array.isArray(this.ast))
3355
3357
  throw new TypeError("A message must be provided as a String or AST.");
3356
- this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || In(this.formatterCache);
3358
+ this.formats = In(e.formats, n), this.formatters = i && i.formatters || Nn(this.formatterCache);
3357
3359
  }
3358
3360
  return Object.defineProperty(e, "defaultLocale", {
3359
3361
  get: function() {
@@ -3366,7 +3368,7 @@ var Nn = (
3366
3368
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3367
3369
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3368
3370
  }
3369
- }, e.__parse = Tn, e.formats = {
3371
+ }, e.__parse = Hn, e.formats = {
3370
3372
  number: {
3371
3373
  integer: {
3372
3374
  maximumFractionDigits: 0
@@ -3448,60 +3450,60 @@ function On(e, t) {
3448
3450
  n = void 0;
3449
3451
  return n;
3450
3452
  }
3451
- const k = {}, Mn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), jt = (e, t) => {
3453
+ const k = {}, Ln = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Xt = (e, t) => {
3452
3454
  if (t == null)
3453
3455
  return;
3454
3456
  if (t in k && e in k[t])
3455
3457
  return k[t][e];
3456
3458
  const r = Be(t);
3457
3459
  for (let n = 0; n < r.length; n++) {
3458
- const i = r[n], o = Rn(i, e);
3460
+ const i = r[n], o = $n(i, e);
3459
3461
  if (o)
3460
- return Mn(e, t, o);
3462
+ return Ln(e, t, o);
3461
3463
  }
3462
3464
  };
3463
- let Qe;
3465
+ let Ye;
3464
3466
  const se = Te({});
3465
- function Ln(e) {
3466
- return Qe[e] || null;
3467
+ function Rn(e) {
3468
+ return Ye[e] || null;
3467
3469
  }
3468
- function Vt(e) {
3469
- return e in Qe;
3470
+ function zt(e) {
3471
+ return e in Ye;
3470
3472
  }
3471
- function Rn(e, t) {
3472
- if (!Vt(e))
3473
+ function $n(e, t) {
3474
+ if (!zt(e))
3473
3475
  return null;
3474
- const r = Ln(e);
3476
+ const r = Rn(e);
3475
3477
  return On(r, t);
3476
3478
  }
3477
- function $n(e) {
3479
+ function Un(e) {
3478
3480
  if (e == null)
3479
3481
  return;
3480
3482
  const t = Be(e);
3481
3483
  for (let r = 0; r < t.length; r++) {
3482
3484
  const n = t[r];
3483
- if (Vt(n))
3485
+ if (zt(n))
3484
3486
  return n;
3485
3487
  }
3486
3488
  }
3487
- function Xt(e, ...t) {
3488
- delete k[e], se.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3489
+ function Wt(e, ...t) {
3490
+ delete k[e], se.update((r) => (r[e] = Gr.all([r[e] || {}, ...t]), r));
3489
3491
  }
3490
3492
  oe(
3491
3493
  [se],
3492
3494
  ([e]) => Object.keys(e)
3493
3495
  );
3494
- se.subscribe((e) => Qe = e);
3496
+ se.subscribe((e) => Ye = e);
3495
3497
  const xe = {};
3496
- function Un(e, t) {
3498
+ function Dn(e, t) {
3497
3499
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3498
3500
  }
3499
- function zt(e) {
3501
+ function Zt(e) {
3500
3502
  return xe[e];
3501
3503
  }
3502
- function Dn(e) {
3504
+ function Fn(e) {
3503
3505
  return Be(e).map((t) => {
3504
- const r = zt(t);
3506
+ const r = Zt(t);
3505
3507
  return [t, r ? [...r] : []];
3506
3508
  }).filter(([, t]) => t.length > 0);
3507
3509
  }
@@ -3509,31 +3511,31 @@ function We(e) {
3509
3511
  return e == null ? !1 : Be(e).some(
3510
3512
  (t) => {
3511
3513
  var r;
3512
- return (r = zt(t)) == null ? void 0 : r.size;
3514
+ return (r = Zt(t)) == null ? void 0 : r.size;
3513
3515
  }
3514
3516
  );
3515
3517
  }
3516
- function Fn(e, t) {
3518
+ function Gn(e, t) {
3517
3519
  return Promise.all(
3518
- t.map((n) => (Un(e, n), n().then((i) => i.default || i)))
3519
- ).then((n) => Xt(e, ...n));
3520
+ t.map((n) => (Dn(e, n), n().then((i) => i.default || i)))
3521
+ ).then((n) => Wt(e, ...n));
3520
3522
  }
3521
3523
  const ce = {};
3522
- function Wt(e) {
3524
+ function Jt(e) {
3523
3525
  if (!We(e))
3524
3526
  return e in ce ? ce[e] : Promise.resolve();
3525
- const t = Dn(e);
3527
+ const t = Fn(e);
3526
3528
  return ce[e] = Promise.all(
3527
3529
  t.map(
3528
- ([r, n]) => Fn(r, n)
3530
+ ([r, n]) => Gn(r, n)
3529
3531
  )
3530
3532
  ).then(() => {
3531
3533
  if (We(e))
3532
- return Wt(e);
3534
+ return Jt(e);
3533
3535
  delete ce[e];
3534
3536
  }), ce[e];
3535
3537
  }
3536
- const Gn = {
3538
+ const kn = {
3537
3539
  number: {
3538
3540
  scientific: { notation: "scientific" },
3539
3541
  engineering: { notation: "engineering" },
@@ -3562,34 +3564,34 @@ const Gn = {
3562
3564
  timeZoneName: "short"
3563
3565
  }
3564
3566
  }
3565
- }, kn = {
3567
+ }, jn = {
3566
3568
  fallbackLocale: null,
3567
3569
  loadingDelay: 200,
3568
- formats: Gn,
3570
+ formats: kn,
3569
3571
  warnOnMissingMessages: !0,
3570
3572
  handleMissingMessage: void 0,
3571
3573
  ignoreTag: !0
3572
- }, jn = kn;
3574
+ }, Vn = jn;
3573
3575
  function ne() {
3574
- return jn;
3576
+ return Vn;
3575
3577
  }
3576
3578
  const Re = Te(!1);
3577
- var Vn = Object.defineProperty, Xn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, Wn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
3579
+ var Xn = Object.defineProperty, zn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
3578
3580
  for (var r in t || (t = {}))
3579
- Wn.call(t, r) && mt(e, r, t[r]);
3580
- if (dt)
3581
- for (var r of dt(t))
3582
- Zn.call(t, r) && mt(e, r, t[r]);
3581
+ Zn.call(t, r) && bt(e, r, t[r]);
3582
+ if (pt)
3583
+ for (var r of pt(t))
3584
+ Jn.call(t, r) && bt(e, r, t[r]);
3583
3585
  return e;
3584
- }, Qn = (e, t) => Xn(e, zn(t));
3586
+ }, qn = (e, t) => zn(e, Wn(t));
3585
3587
  let Ze;
3586
3588
  const _e = Te(null);
3587
- function pt(e) {
3589
+ function gt(e) {
3588
3590
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3589
3591
  }
3590
3592
  function Be(e, t = ne().fallbackLocale) {
3591
- const r = pt(e);
3592
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3593
+ const r = gt(e);
3594
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3593
3595
  }
3594
3596
  function J() {
3595
3597
  return Ze != null ? Ze : void 0;
@@ -3597,22 +3599,22 @@ function J() {
3597
3599
  _e.subscribe((e) => {
3598
3600
  Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3599
3601
  });
3600
- const qn = (e) => {
3601
- if (e && $n(e) && We(e)) {
3602
+ const Yn = (e) => {
3603
+ if (e && Un(e) && We(e)) {
3602
3604
  const { loadingDelay: t } = ne();
3603
3605
  let r;
3604
3606
  return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
3605
3607
  () => Re.set(!0),
3606
3608
  t
3607
- ) : Re.set(!0), Wt(e).then(() => {
3609
+ ) : Re.set(!0), Jt(e).then(() => {
3608
3610
  _e.set(e);
3609
3611
  }).finally(() => {
3610
3612
  clearTimeout(r), Re.set(!1);
3611
3613
  });
3612
3614
  }
3613
3615
  return _e.set(e);
3614
- }, W = Qn(Jn({}, _e), {
3615
- set: qn
3616
+ }, W = qn(Qn({}, _e), {
3617
+ set: Yn
3616
3618
  }), we = (e) => {
3617
3619
  const t = /* @__PURE__ */ Object.create(null);
3618
3620
  return (n) => {
@@ -3620,20 +3622,20 @@ const qn = (e) => {
3620
3622
  return i in t ? t[i] : t[i] = e(n);
3621
3623
  };
3622
3624
  };
3623
- var Yn = Object.defineProperty, Se = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
3625
+ var Kn = Object.defineProperty, Se = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
3624
3626
  for (var r in t || (t = {}))
3625
- Zt.call(t, r) && bt(e, r, t[r]);
3627
+ Qt.call(t, r) && vt(e, r, t[r]);
3626
3628
  if (Se)
3627
3629
  for (var r of Se(t))
3628
- Jt.call(t, r) && bt(e, r, t[r]);
3630
+ qt.call(t, r) && vt(e, r, t[r]);
3629
3631
  return e;
3630
3632
  }, ae = (e, t) => {
3631
3633
  var r = {};
3632
3634
  for (var n in e)
3633
- Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3635
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3634
3636
  if (e != null && Se)
3635
3637
  for (var n of Se(e))
3636
- t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3638
+ t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3637
3639
  return r;
3638
3640
  };
3639
3641
  const pe = (e, t) => {
@@ -3641,21 +3643,21 @@ const pe = (e, t) => {
3641
3643
  if (e in r && t in r[e])
3642
3644
  return r[e][t];
3643
3645
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3644
- }, Kn = we(
3646
+ }, ei = we(
3645
3647
  (e) => {
3646
3648
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3647
3649
  if (r == null)
3648
3650
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3649
3651
  return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
3650
3652
  }
3651
- ), ei = we(
3653
+ ), ti = we(
3652
3654
  (e) => {
3653
3655
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3654
3656
  if (r == null)
3655
3657
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3656
3658
  return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
3657
3659
  }
3658
- ), ti = we(
3660
+ ), ri = we(
3659
3661
  (e) => {
3660
3662
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3661
3663
  if (r == null)
@@ -3664,33 +3666,33 @@ const pe = (e, t) => {
3664
3666
  );
3665
3667
  return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
3666
3668
  }
3667
- ), ri = (e = {}) => {
3669
+ ), ni = (e = {}) => {
3668
3670
  var t = e, {
3669
3671
  locale: r = J()
3670
3672
  } = t, n = ae(t, [
3671
3673
  "locale"
3672
3674
  ]);
3673
- return Kn(qe({ locale: r }, n));
3674
- }, ni = (e = {}) => {
3675
+ return ei(Ke({ locale: r }, n));
3676
+ }, ii = (e = {}) => {
3675
3677
  var t = e, {
3676
3678
  locale: r = J()
3677
3679
  } = t, n = ae(t, [
3678
3680
  "locale"
3679
3681
  ]);
3680
- return ei(qe({ locale: r }, n));
3681
- }, ii = (e = {}) => {
3682
+ return ti(Ke({ locale: r }, n));
3683
+ }, oi = (e = {}) => {
3682
3684
  var t = e, {
3683
3685
  locale: r = J()
3684
3686
  } = t, n = ae(t, [
3685
3687
  "locale"
3686
3688
  ]);
3687
- return ti(qe({ locale: r }, n));
3688
- }, oi = we(
3689
+ return ri(Ke({ locale: r }, n));
3690
+ }, si = we(
3689
3691
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3690
- (e, t = J()) => new Nn(e, t, ne().formats, {
3692
+ (e, t = J()) => new Mn(e, t, ne().formats, {
3691
3693
  ignoreTag: ne().ignoreTag
3692
3694
  })
3693
- ), si = (e, t = {}) => {
3695
+ ), ai = (e, t = {}) => {
3694
3696
  var r, n, i, o;
3695
3697
  let s = t;
3696
3698
  typeof e == "object" && (s = e, e = s.id);
@@ -3703,7 +3705,7 @@ const pe = (e, t) => {
3703
3705
  throw new Error(
3704
3706
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3705
3707
  );
3706
- let h = jt(e, l);
3708
+ let h = Xt(e, l);
3707
3709
  if (!h)
3708
3710
  h = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3709
3711
  else if (typeof h != "string")
@@ -3714,7 +3716,7 @@ const pe = (e, t) => {
3714
3716
  return h;
3715
3717
  let c = h;
3716
3718
  try {
3717
- c = oi(h, l).format(a);
3719
+ c = si(h, l).format(a);
3718
3720
  } catch (d) {
3719
3721
  d instanceof Error && console.warn(
3720
3722
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3722,20 +3724,20 @@ const pe = (e, t) => {
3722
3724
  );
3723
3725
  }
3724
3726
  return c;
3725
- }, ai = (e, t) => ii(t).format(e), ui = (e, t) => ni(t).format(e), li = (e, t) => ri(t).format(e), hi = (e, t = J()) => jt(e, t), ci = oe([W, se], () => si);
3726
- oe([W], () => ai);
3727
+ }, ui = (e, t) => oi(t).format(e), li = (e, t) => ii(t).format(e), hi = (e, t) => ni(t).format(e), ci = (e, t = J()) => Xt(e, t), fi = oe([W, se], () => ai);
3727
3728
  oe([W], () => ui);
3728
3729
  oe([W], () => li);
3729
- oe([W, se], () => hi);
3730
- function fi({ withLocale: e, translations: t }) {
3730
+ oe([W], () => hi);
3731
+ oe([W, se], () => ci);
3732
+ function di({ withLocale: e, translations: t }) {
3731
3733
  W.subscribe((r) => {
3732
3734
  r == null && (se.set(t), W.set(e));
3733
3735
  });
3734
3736
  }
3735
- function gt(e, t) {
3736
- Xt(e, t);
3737
+ function yt(e, t) {
3738
+ Wt(e, t);
3737
3739
  }
3738
- const vt = {
3740
+ const Et = {
3739
3741
  en: {
3740
3742
  title: "Please enter the verification code you received on your number",
3741
3743
  errorTitle: "Your code was invalid, you can resend the code and try again",
@@ -3842,13 +3844,13 @@ const vt = {
3842
3844
  loginSMSHint: "A new verification code has been sent to your phone number"
3843
3845
  }
3844
3846
  };
3845
- function di(e, t) {
3847
+ function mi(e, t) {
3846
3848
  if (e) {
3847
3849
  const r = document.createElement("style");
3848
3850
  r.innerHTML = t, e.appendChild(r);
3849
3851
  }
3850
3852
  }
3851
- function mi(e, t) {
3853
+ function pi(e, t) {
3852
3854
  const r = new URL(t);
3853
3855
  fetch(r.href).then((n) => n.text()).then((n) => {
3854
3856
  const i = document.createElement("style");
@@ -3857,7 +3859,7 @@ function mi(e, t) {
3857
3859
  console.error("There was an error while trying to load client styling from URL", n);
3858
3860
  });
3859
3861
  }
3860
- function pi(e, t, r) {
3862
+ function bi(e, t, r) {
3861
3863
  if (window.emMessageBus) {
3862
3864
  const n = document.createElement("style");
3863
3865
  window.emMessageBus.subscribe(t, (i) => {
@@ -3865,17 +3867,17 @@ function pi(e, t, r) {
3865
3867
  });
3866
3868
  }
3867
3869
  }
3868
- function bi(e) {
3869
- nr(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))}");
3870
- }
3871
3870
  function gi(e) {
3871
+ or(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))}");
3872
+ }
3873
+ function vi(e) {
3872
3874
  let t = (
3873
3875
  /*$_*/
3874
3876
  e[5]("errorTitle") + ""
3875
3877
  ), r;
3876
3878
  return {
3877
3879
  c() {
3878
- r = M(t);
3880
+ r = O(t);
3879
3881
  },
3880
3882
  m(n, i) {
3881
3883
  Z(n, r, i);
@@ -3890,14 +3892,14 @@ function gi(e) {
3890
3892
  }
3891
3893
  };
3892
3894
  }
3893
- function vi(e) {
3895
+ function yi(e) {
3894
3896
  let t = (
3895
3897
  /*$_*/
3896
3898
  e[5]("title") + ""
3897
3899
  ), r;
3898
3900
  return {
3899
3901
  c() {
3900
- r = M(t);
3902
+ r = O(t);
3901
3903
  },
3902
3904
  m(n, i) {
3903
3905
  Z(n, r, i);
@@ -3912,14 +3914,14 @@ function vi(e) {
3912
3914
  }
3913
3915
  };
3914
3916
  }
3915
- function yt(e) {
3917
+ function xt(e) {
3916
3918
  let t, r = (
3917
3919
  /*$_*/
3918
3920
  e[5]("smsCodeError") + ""
3919
3921
  ), n;
3920
3922
  return {
3921
3923
  c() {
3922
- t = O("p"), n = M(r), A(t, "class", "InvalidInput");
3924
+ t = M("p"), n = O(r), A(t, "class", "InvalidInput");
3923
3925
  },
3924
3926
  m(i, o) {
3925
3927
  Z(i, t, o), E(t, n);
@@ -3934,14 +3936,14 @@ function yt(e) {
3934
3936
  }
3935
3937
  };
3936
3938
  }
3937
- function Et(e) {
3939
+ function _t(e) {
3938
3940
  let t, r = (
3939
3941
  /*$_*/
3940
3942
  e[5]("resendMessage") + ""
3941
3943
  ), n;
3942
3944
  return {
3943
3945
  c() {
3944
- t = O("p"), n = M(r), A(t, "class", "SmsVerificationResendMessage");
3946
+ t = M("p"), n = O(r), A(t, "class", "SmsVerificationResendMessage");
3945
3947
  },
3946
3948
  m(i, o) {
3947
3949
  Z(i, t, o), E(t, n);
@@ -3956,17 +3958,17 @@ function Et(e) {
3956
3958
  }
3957
3959
  };
3958
3960
  }
3959
- function xt(e) {
3961
+ function St(e) {
3960
3962
  let t, r, n = (
3961
3963
  /*secondsLeft*/
3962
3964
  e[4] < 10 ? "0" : ""
3963
3965
  ), i, o, s;
3964
3966
  return {
3965
3967
  c() {
3966
- t = O("span"), r = M("(0:"), i = M(n), o = M(
3968
+ t = M("span"), r = O("(0:"), i = O(n), o = O(
3967
3969
  /*secondsLeft*/
3968
3970
  e[4]
3969
- ), s = M(")"), A(t, "class", "SmsVerificationResendTimer");
3971
+ ), s = O(")"), A(t, "class", "SmsVerificationResendTimer");
3970
3972
  },
3971
3973
  m(a, l) {
3972
3974
  Z(a, t, l), E(t, r), E(t, i), E(t, o), E(t, s);
@@ -3986,7 +3988,7 @@ function xt(e) {
3986
3988
  }
3987
3989
  };
3988
3990
  }
3989
- function yi(e) {
3991
+ function Ei(e) {
3990
3992
  let t, r, n, i, o, s = (
3991
3993
  /*$_*/
3992
3994
  e[5]("code") + ""
@@ -4000,25 +4002,25 @@ function yi(e) {
4000
4002
  function he(p, C) {
4001
4003
  return (
4002
4004
  /*isSmsValid*/
4003
- p[2] ? vi : gi
4005
+ p[2] ? yi : vi
4004
4006
  );
4005
4007
  }
4006
4008
  let X = he(e), R = X(e), w = !/*isSmsValid*/
4007
- e[2] && yt(e), P = (
4009
+ e[2] && xt(e), P = (
4008
4010
  /*timer*/
4009
- e[3] && Et(e)
4011
+ e[3] && _t(e)
4010
4012
  ), f = (
4011
4013
  /*timer*/
4012
- e[3] && xt(e)
4014
+ e[3] && St(e)
4013
4015
  );
4014
4016
  return {
4015
4017
  c() {
4016
- t = O("div"), r = O("h3"), R.c(), n = z(), i = O("div"), o = O("label"), a = M(s), l = M(":"), u = O("span"), u.textContent = "*", h = z(), c = O("input"), d = z(), w && w.c(), y = z(), P && P.c(), _ = z(), T = O("button"), L = M(H), B = z(), S = O("button"), F = M(N), V = z(), 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*/
4018
+ t = M("div"), r = M("h3"), R.c(), n = z(), i = M("div"), o = M("label"), a = O(s), l = O(":"), u = M("span"), u.textContent = "*", h = z(), c = M("input"), d = z(), w && w.c(), y = z(), P && P.c(), _ = z(), T = M("button"), L = O(H), B = z(), S = M("button"), F = O(N), V = z(), 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*/
4017
4019
  e[2] ? "" : "InvalidField")), A(T, "class", "Button SmsVerificationValidate"), A(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
4018
4020
  e[3], A(t, "class", "Container SmsVerificationContainer");
4019
4021
  },
4020
4022
  m(p, C) {
4021
- Z(p, t, C), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, a), E(o, l), E(o, u), E(i, h), E(i, c), rt(
4023
+ Z(p, t, C), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, a), E(o, l), E(o, u), E(i, h), E(i, c), it(
4022
4024
  c,
4023
4025
  /*smsCode*/
4024
4026
  e[1]
@@ -4054,20 +4056,20 @@ function yi(e) {
4054
4056
  32 && s !== (s = /*$_*/
4055
4057
  p[5]("code") + "") && G(a, s), C & /*smsCode*/
4056
4058
  2 && c.value !== /*smsCode*/
4057
- p[1] && rt(
4059
+ p[1] && it(
4058
4060
  c,
4059
4061
  /*smsCode*/
4060
4062
  p[1]
4061
4063
  ), /*isSmsValid*/
4062
- p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = yt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4064
+ p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = xt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4063
4065
  4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
4064
4066
  p[2] ? "" : "InvalidField")) && A(i, "class", g), /*timer*/
4065
- p[3] ? P ? P.p(p, C) : (P = Et(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4067
+ p[3] ? P ? P.p(p, C) : (P = _t(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4066
4068
  32 && H !== (H = /*$_*/
4067
4069
  p[5]("activate") + "") && G(L, H), C & /*$_*/
4068
4070
  32 && N !== (N = /*$_*/
4069
4071
  p[5]("resend") + "") && G(F, N), /*timer*/
4070
- p[3] ? f ? f.p(p, C) : (f = xt(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
4072
+ p[3] ? f ? f.p(p, C) : (f = St(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
4071
4073
  8 && (S.disabled = /*timer*/
4072
4074
  p[3]);
4073
4075
  },
@@ -4078,23 +4080,23 @@ function yi(e) {
4078
4080
  }
4079
4081
  };
4080
4082
  }
4081
- function Ei(e, t, r) {
4083
+ function xi(e, t, r) {
4082
4084
  let n;
4083
- rr(e, ci, (f) => r(5, n = f));
4085
+ ir(e, fi, (f) => r(5, n = f));
4084
4086
  let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: s = "" } = t, { smstemplate: a = "Please use this code {0} to activate your accout" } = t, { number: l = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = 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);
4085
4087
  const N = { numeric: /^[0-9]{0,6}$/ };
4086
- fi({ withLocale: "en", translations: {} });
4088
+ di({ withLocale: "en", translations: {} });
4087
4089
  const F = () => {
4088
4090
  fetch(d).then((p) => p.json()).then((p) => {
4089
4091
  Object.keys(p).forEach((C) => {
4090
- gt(C, p[C]);
4092
+ yt(C, p[C]);
4091
4093
  });
4092
4094
  }).catch((p) => {
4093
4095
  console.log(p);
4094
4096
  });
4095
4097
  };
4096
- Object.keys(vt).forEach((f) => {
4097
- gt(f, vt[f]);
4098
+ Object.keys(Et).forEach((f) => {
4099
+ yt(f, Et[f]);
4098
4100
  });
4099
4101
  const V = () => be(this, null, function* () {
4100
4102
  try {
@@ -4153,7 +4155,7 @@ function Ei(e, t, r) {
4153
4155
  }, X = (f) => {
4154
4156
  !N.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4155
4157
  };
4156
- lr(() => {
4158
+ cr(() => {
4157
4159
  if (!s || !l) {
4158
4160
  let f = JSON.parse(localStorage.getItem("playerData"));
4159
4161
  r(10, s = f.playerid), r(11, l = f.number);
@@ -4175,9 +4177,9 @@ function Ei(e, t, r) {
4175
4177
  }, e.$$.update = () => {
4176
4178
  e.$$.dirty & /*tokenid, playerid, endpoint*/
4177
4179
  5632, e.$$.dirty & /*clientstyling, customStylingContainer*/
4178
- 32769 && h && H && di(H, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4179
- 65537 && c && H && mi(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4180
- 16385 && u && H && pi(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
4180
+ 32769 && h && H && mi(H, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4181
+ 65537 && c && H && pi(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4182
+ 16385 && u && H && bi(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
4181
4183
  131072 && d && F();
4182
4184
  }, [
4183
4185
  H,
@@ -4203,14 +4205,14 @@ function Ei(e, t, r) {
4203
4205
  P
4204
4206
  ];
4205
4207
  }
4206
- class xi extends xr {
4208
+ class _i extends Sr {
4207
4209
  constructor(t) {
4208
- super(), yr(
4210
+ super(), xr(
4209
4211
  this,
4210
4212
  t,
4213
+ xi,
4211
4214
  Ei,
4212
- yi,
4213
- St,
4215
+ Ht,
4214
4216
  {
4215
4217
  endpoint: 12,
4216
4218
  tokenid: 9,
@@ -4222,7 +4224,7 @@ class xi extends xr {
4222
4224
  clientstylingurl: 16,
4223
4225
  translationurl: 17
4224
4226
  },
4225
- bi
4227
+ gi
4226
4228
  );
4227
4229
  }
4228
4230
  get endpoint() {
@@ -4280,7 +4282,7 @@ class xi extends xr {
4280
4282
  this.$$set({ translationurl: t }), U();
4281
4283
  }
4282
4284
  }
4283
- Er(xi, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4285
+ _r(_i, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4284
4286
  export {
4285
- xi as default
4287
+ _i as default
4286
4288
  };