@everymatrix/general-player-sms-verification-form 1.77.18 → 1.77.20

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,17 +1,17 @@
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 Ie = (e, t, r) => t in e ? Yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
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) => {
6
6
  for (var r in t || (t = {}))
7
- tr.call(t, r) && Ie(e, r, t[r]);
8
- if (et)
9
- for (var r of et(t))
10
- rr.call(t, r) && Ie(e, r, t[r]);
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]);
11
11
  return e;
12
- }, rt = (e, t) => Kt(e, er(t));
13
- var $ = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ge = (e, t, r) => new Promise((n, i) => {
12
+ }, et = (e, t) => qt(e, Yt(t));
13
+ var $ = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var be = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,25 +29,25 @@ var ge = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function D() {
31
31
  }
32
- function Tt(e) {
32
+ function _t(e) {
33
33
  return e();
34
34
  }
35
- function nt() {
35
+ function tt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function oe(e) {
39
- e.forEach(Tt);
38
+ function ie(e) {
39
+ e.forEach(_t);
40
40
  }
41
- function qe(e) {
41
+ function Je(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ht(e, t) {
44
+ function St(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function nr(e) {
47
+ function tr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function At(e, ...t) {
50
+ function Tt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function At(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function ir(e, t, r) {
60
- e.$$.on_destroy.push(At(t, r));
59
+ function rr(e, t, r) {
60
+ e.$$.on_destroy.push(Tt(t, r));
61
61
  }
62
- function y(e, t) {
62
+ function E(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function or(e, t, r) {
66
- const n = sr(e);
65
+ function nr(e, t, r) {
66
+ const n = ir(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = N("style");
69
- i.id = t, i.textContent = r, ar(n, i);
68
+ const i = O("style");
69
+ i.id = t, i.textContent = r, or(n, i);
70
70
  }
71
71
  }
72
- function sr(e) {
72
+ function ir(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,45 +79,45 @@ function sr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function ar(e, t) {
83
- return y(
82
+ function or(e, t) {
83
+ return E(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function J(e, t, r) {
89
+ function Z(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function V(e) {
92
+ function j(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function N(e) {
95
+ function O(e) {
96
96
  return document.createElement(e);
97
97
  }
98
98
  function M(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
- function W() {
101
+ function z() {
102
102
  return M(" ");
103
103
  }
104
- function ve(e, t, r, n) {
104
+ function ge(e, t, r, n) {
105
105
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
106
106
  }
107
- function A(e, t, r) {
107
+ function B(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
- function ur(e) {
110
+ function sr(e) {
111
111
  return Array.from(e.childNodes);
112
112
  }
113
- function k(e, t) {
113
+ function G(e, t) {
114
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
115
115
  t);
116
116
  }
117
- function it(e, t) {
117
+ function rt(e, t) {
118
118
  e.value = t == null ? "" : t;
119
119
  }
120
- function lr(e) {
120
+ function ar(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -126,87 +126,87 @@ function lr(e) {
126
126
  }
127
127
  ), t;
128
128
  }
129
- let me;
130
- function de(e) {
131
- me = e;
129
+ let de;
130
+ function fe(e) {
131
+ de = e;
132
132
  }
133
- function hr() {
134
- if (!me)
133
+ function ur() {
134
+ if (!de)
135
135
  throw new Error("Function called outside component initialization");
136
- return me;
136
+ return de;
137
137
  }
138
- function cr(e) {
139
- hr().$$.on_mount.push(e);
138
+ function lr(e) {
139
+ ur().$$.on_mount.push(e);
140
140
  }
141
- const K = [], De = [];
142
- let ee = [];
143
- const ot = [], fr = /* @__PURE__ */ Promise.resolve();
144
- let Fe = !1;
145
- function dr() {
146
- Fe || (Fe = !0, fr.then(U));
141
+ const Y = [], $e = [];
142
+ let K = [];
143
+ const nt = [], hr = /* @__PURE__ */ Promise.resolve();
144
+ let Ue = !1;
145
+ function cr() {
146
+ Ue || (Ue = !0, hr.then(U));
147
147
  }
148
- function Ge(e) {
149
- ee.push(e);
148
+ function De(e) {
149
+ K.push(e);
150
150
  }
151
- const Oe = /* @__PURE__ */ new Set();
152
- let q = 0;
151
+ const Ce = /* @__PURE__ */ new Set();
152
+ let Q = 0;
153
153
  function U() {
154
- if (q !== 0)
154
+ if (Q !== 0)
155
155
  return;
156
- const e = me;
156
+ const e = de;
157
157
  do {
158
158
  try {
159
- for (; q < K.length; ) {
160
- const t = K[q];
161
- q++, de(t), mr(t.$$);
159
+ for (; Q < Y.length; ) {
160
+ const t = Y[Q];
161
+ Q++, fe(t), fr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
- throw K.length = 0, q = 0, t;
164
+ throw Y.length = 0, Q = 0, t;
165
165
  }
166
- for (de(null), K.length = 0, q = 0; De.length; )
167
- De.pop()();
168
- for (let t = 0; t < ee.length; t += 1) {
169
- const r = ee[t];
170
- Oe.has(r) || (Oe.add(r), r());
166
+ for (fe(null), Y.length = 0, Q = 0; $e.length; )
167
+ $e.pop()();
168
+ for (let t = 0; t < K.length; t += 1) {
169
+ const r = K[t];
170
+ Ce.has(r) || (Ce.add(r), r());
171
171
  }
172
- ee.length = 0;
173
- } while (K.length);
174
- for (; ot.length; )
175
- ot.pop()();
176
- Fe = !1, Oe.clear(), de(e);
172
+ K.length = 0;
173
+ } while (Y.length);
174
+ for (; nt.length; )
175
+ nt.pop()();
176
+ Ue = !1, Ce.clear(), fe(e);
177
177
  }
178
- function mr(e) {
178
+ function fr(e) {
179
179
  if (e.fragment !== null) {
180
- e.update(), oe(e.before_update);
180
+ e.update(), ie(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
183
183
  }
184
184
  }
185
- function pr(e) {
185
+ function dr(e) {
186
186
  const t = [], r = [];
187
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
187
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
188
188
  }
189
- const br = /* @__PURE__ */ new Set();
190
- function gr(e, t) {
191
- e && e.i && (br.delete(e), e.i(t));
189
+ const mr = /* @__PURE__ */ new Set();
190
+ function pr(e, t) {
191
+ e && e.i && (mr.delete(e), e.i(t));
192
192
  }
193
- function vr(e, t, r) {
193
+ function br(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
- n && n.m(t, r), Ge(() => {
196
- const o = e.$$.on_mount.map(Tt).filter(qe);
197
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
198
- }), i.forEach(Ge);
195
+ n && n.m(t, r), De(() => {
196
+ const o = e.$$.on_mount.map(_t).filter(Je);
197
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
198
+ }), i.forEach(De);
199
199
  }
200
- function yr(e, t) {
200
+ function gr(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (pr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
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 = []);
203
203
  }
204
- function Er(e, t) {
205
- e.$$.dirty[0] === -1 && (K.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
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;
206
206
  }
207
- function _r(e, t, r, n, i, o, s = null, a = [-1]) {
208
- const l = me;
209
- de(e);
207
+ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
208
+ const l = de;
209
+ fe(e);
210
210
  const u = e.$$ = {
211
211
  fragment: null,
212
212
  ctx: [],
@@ -214,7 +214,7 @@ function _r(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: nt(),
217
+ bound: tt(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,7 +223,7 @@ function _r(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: nt(),
226
+ callbacks: tt(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || l.$$.root
@@ -231,20 +231,20 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
231
231
  s && s(u.root);
232
232
  let h = !1;
233
233
  if (u.ctx = r ? r(e, t.props || {}, (c, d, ...g) => {
234
- const v = g.length ? g[0] : d;
235
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Er(e, c)), d;
236
- }) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
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;
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 = ur(t.target);
239
- u.fragment && u.fragment.l(c), c.forEach(V);
238
+ const c = sr(t.target);
239
+ u.fragment && u.fragment.l(c), c.forEach(j);
240
240
  } else
241
241
  u.fragment && u.fragment.c();
242
- t.intro && gr(e.$$.fragment), vr(e, t.target, t.anchor), U();
242
+ t.intro && pr(e.$$.fragment), br(e, t.target, t.anchor), U();
243
243
  }
244
- de(l);
244
+ fe(l);
245
245
  }
246
- let Bt;
247
- typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
246
+ let Ht;
247
+ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,42 +281,42 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return ge(this, null, function* () {
284
+ return be(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(o) {
287
287
  return () => {
288
288
  let s;
289
289
  return {
290
290
  c: function() {
291
- s = N("slot"), o !== "default" && A(s, "name", o);
291
+ s = O("slot"), o !== "default" && B(s, "name", o);
292
292
  },
293
293
  /**
294
294
  * @param {HTMLElement} target
295
295
  * @param {HTMLElement} [anchor]
296
296
  */
297
297
  m: function(u, h) {
298
- J(u, s, h);
298
+ Z(u, s, h);
299
299
  },
300
300
  d: function(u) {
301
- u && V(s);
301
+ u && j(s);
302
302
  }
303
303
  };
304
304
  };
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = lr(this);
308
+ const r = {}, n = ar(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) {
312
312
  const s = this.$$g_p(o.name);
313
- s in this.$$d || (this.$$d[s] = Ee(s, o.value, this.$$p_d, "toProp"));
313
+ s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
314
314
  }
315
315
  for (const o in this.$$p_d)
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: rt(tt({}, this.$$d), {
319
+ props: et(Ke({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
327
327
  this.$$r = !0;
328
328
  for (const o in this.$$p_d)
329
329
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
330
- const s = Ee(
330
+ const s = ye(
331
331
  o,
332
332
  this.$$d[o],
333
333
  this.$$p_d,
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
351
351
  // and setting attributes through setAttribute etc, this is helpful
352
352
  attributeChangedCallback(t, r, n) {
353
353
  var i;
354
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
354
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
355
355
  }
356
356
  disconnectedCallback() {
357
357
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
364
364
  ) || t;
365
365
  }
366
366
  });
367
- function Ee(e, t, r, n) {
367
+ function ye(e, t, r, n) {
368
368
  var o;
369
369
  const i = (o = r[e]) == null ? void 0 : o.type;
370
370
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -394,8 +394,8 @@ function Ee(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function xr(e, t, r, n, i, o) {
398
- let s = class extends Bt {
397
+ function Er(e, t, r, n, i, o) {
398
+ let s = class extends Ht {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -412,7 +412,7 @@ function xr(e, t, r, n, i, o) {
412
412
  },
413
413
  set(l) {
414
414
  var u;
415
- l = Ee(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
415
+ l = ye(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
416
416
  }
417
417
  });
418
418
  }), n.forEach((a) => {
@@ -425,7 +425,7 @@ function xr(e, t, r, n, i, o) {
425
425
  }), e.element = /** @type {any} */
426
426
  s, s;
427
427
  }
428
- class Sr {
428
+ class xr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class Sr {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- yr(this, 1), this.$destroy = D;
449
+ gr(this, 1), this.$destroy = D;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +455,7 @@ class Sr {
455
455
  * @returns {() => void}
456
456
  */
457
457
  $on(t, r) {
458
- if (!qe(r))
458
+ if (!Je(r))
459
459
  return D;
460
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
461
461
  return n.push(r), () => {
@@ -468,29 +468,29 @@ class Sr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const Tr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
476
- const Y = [];
477
- function Hr(e, t) {
474
+ const _r = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
476
+ const q = [];
477
+ function Sr(e, t) {
478
478
  return {
479
- subscribe: Ae(e, t).subscribe
479
+ subscribe: Te(e, t).subscribe
480
480
  };
481
481
  }
482
- function Ae(e, t = D) {
482
+ function Te(e, t = D) {
483
483
  let r;
484
484
  const n = /* @__PURE__ */ new Set();
485
485
  function i(a) {
486
- if (Ht(e, a) && (e = a, r)) {
487
- const l = !Y.length;
486
+ if (St(e, a) && (e = a, r)) {
487
+ const l = !q.length;
488
488
  for (const u of n)
489
- u[1](), Y.push(u, e);
489
+ u[1](), q.push(u, e);
490
490
  if (l) {
491
- for (let u = 0; u < Y.length; u += 2)
492
- Y[u][0](Y[u + 1]);
493
- Y.length = 0;
491
+ for (let u = 0; u < q.length; u += 2)
492
+ q[u][0](q[u + 1]);
493
+ q.length = 0;
494
494
  }
495
495
  }
496
496
  }
@@ -505,12 +505,12 @@ function Ae(e, t = D) {
505
505
  }
506
506
  return { set: i, update: o, subscribe: s };
507
507
  }
508
- function se(e, t, r) {
508
+ function oe(e, t, r) {
509
509
  const n = !Array.isArray(e), i = n ? [e] : e;
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 Hr(r, (s, a) => {
513
+ return Sr(r, (s, a) => {
514
514
  let l = !1;
515
515
  const u = [];
516
516
  let h = 0, c = D;
@@ -518,11 +518,11 @@ function se(e, t, r) {
518
518
  if (h)
519
519
  return;
520
520
  c();
521
- const v = t(n ? u[0] : u, s, a);
522
- o ? s(v) : c = qe(v) ? v : D;
521
+ const y = t(n ? u[0] : u, s, a);
522
+ o ? s(y) : c = Je(y) ? y : D;
523
523
  }, g = i.map(
524
- (v, _) => At(
525
- v,
524
+ (y, _) => Tt(
525
+ y,
526
526
  (T) => {
527
527
  u[_] = T, h &= ~(1 << _), l && d();
528
528
  },
@@ -532,112 +532,126 @@ function se(e, t, r) {
532
532
  )
533
533
  );
534
534
  return l = !0, d(), function() {
535
- oe(g), c(), l = !1;
535
+ ie(g), c(), l = !1;
536
536
  };
537
537
  });
538
538
  }
539
- function Ar(e) {
539
+ function Tr(e) {
540
540
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var Br = function(t) {
543
- return wr(t) && !Pr(t);
542
+ var Hr = function(t) {
543
+ return Br(t) && !Ar(t);
544
544
  };
545
- function wr(e) {
545
+ function Br(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function Pr(e) {
548
+ function Ar(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || Or(e);
550
+ return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
551
551
  }
552
- var Cr = typeof Symbol == "function" && Symbol.for, Ir = Cr ? Symbol.for("react.element") : 60103;
553
- function Or(e) {
554
- return e.$$typeof === Ir;
552
+ var wr = typeof Symbol == "function" && Symbol.for, Pr = wr ? Symbol.for("react.element") : 60103;
553
+ function Cr(e) {
554
+ return e.$$typeof === Pr;
555
555
  }
556
- function Nr(e) {
556
+ function Ir(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
- function pe(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? te(Nr(e), e, t) : e;
559
+ function me(e, t) {
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Ir(e), e, t) : e;
561
561
  }
562
- function Mr(e, t, r) {
562
+ function Nr(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
- return pe(n, r);
564
+ return me(n, r);
565
565
  });
566
566
  }
567
- function Lr(e, t) {
567
+ function Or(e, t) {
568
568
  if (!t.customMerge)
569
- return te;
569
+ return ee;
570
570
  var r = t.customMerge(e);
571
- return typeof r == "function" ? r : te;
571
+ return typeof r == "function" ? r : ee;
572
572
  }
573
- function Rr(e) {
573
+ function Mr(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 st(e) {
579
- return Object.keys(e).concat(Rr(e));
578
+ function it(e) {
579
+ return Object.keys(e).concat(Mr(e));
580
580
  }
581
- function wt(e, t) {
581
+ function Bt(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 $r(e, t) {
589
- return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ function Lr(e, t) {
589
+ return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
- function Ur(e, t, r) {
591
+ function Rr(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
594
- n[i] = pe(e[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] = pe(t[i], r));
593
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
594
+ n[i] = me(e[i], r);
595
+ }), it(t).forEach(function(i) {
596
+ Lr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Or(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
597
597
  }), n;
598
598
  }
599
- function te(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = pe;
599
+ function ee(e, t, r) {
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || Nr, r.isMergeableObject = r.isMergeableObject || Hr, 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) : Ur(e, t, r) : pe(t, r);
602
+ return o ? n ? r.arrayMerge(e, t, r) : Rr(e, t, r) : me(t, r);
603
603
  }
604
- te.all = function(t, r) {
604
+ ee.all = function(t, r) {
605
605
  if (!Array.isArray(t))
606
606
  throw new Error("first argument should be an array");
607
607
  return t.reduce(function(n, i) {
608
- return te(n, i, r);
608
+ return ee(n, i, r);
609
609
  }, {});
610
610
  };
611
- var Dr = te, Fr = Dr;
612
- const Gr = /* @__PURE__ */ Ar(Fr);
613
- var ke = function(e, t) {
614
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
611
+ var $r = ee, Ur = $r;
612
+ const Dr = /* @__PURE__ */ Tr(Ur);
613
+ /*! *****************************************************************************
614
+ Copyright (c) Microsoft Corporation.
615
+
616
+ Permission to use, copy, modify, and/or distribute this software for any
617
+ purpose with or without fee is hereby granted.
618
+
619
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
620
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
621
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
622
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
623
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
624
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
625
+ PERFORMANCE OF THIS SOFTWARE.
626
+ ***************************************************************************** */
627
+ var Fe = function(e, t) {
628
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
615
629
  r.__proto__ = n;
616
630
  } || function(r, n) {
617
631
  for (var i in n)
618
632
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
619
- }, ke(e, t);
633
+ }, Fe(e, t);
620
634
  };
621
- function Be(e, t) {
635
+ function He(e, t) {
622
636
  if (typeof t != "function" && t !== null)
623
637
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
624
- ke(e, t);
638
+ Fe(e, t);
625
639
  function r() {
626
640
  this.constructor = e;
627
641
  }
628
642
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
629
643
  }
630
- var G = function() {
631
- return G = Object.assign || function(t) {
644
+ var v = function() {
645
+ return v = Object.assign || function(t) {
632
646
  for (var r, n = 1, i = arguments.length; n < i; n++) {
633
647
  r = arguments[n];
634
648
  for (var o in r)
635
649
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
636
650
  }
637
651
  return t;
638
- }, G.apply(this, arguments);
652
+ }, v.apply(this, arguments);
639
653
  };
640
- function kr(e, t) {
654
+ function Fr(e, t) {
641
655
  var r = {};
642
656
  for (var n in e)
643
657
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -646,43 +660,43 @@ function kr(e, t) {
646
660
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
647
661
  return r;
648
662
  }
649
- function Ne(e, t, r) {
650
- if (r || arguments.length === 2)
663
+ function Ie(e, t, r) {
664
+ if (arguments.length === 2)
651
665
  for (var n = 0, i = t.length, o; n < i; n++)
652
666
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
653
- return e.concat(o || Array.prototype.slice.call(t));
667
+ return e.concat(o || t);
654
668
  }
655
- function Me(e, t) {
656
- var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Wr, i = t && t.strategy ? t.strategy : Xr;
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;
657
671
  return i(e, {
658
672
  cache: r,
659
673
  serializer: n
660
674
  });
661
675
  }
662
- function jr(e) {
676
+ function Gr(e) {
663
677
  return e == null || typeof e == "number" || typeof e == "boolean";
664
678
  }
665
- function Vr(e, t, r, n) {
666
- var i = jr(n) ? n : r(n), o = t.get(i);
679
+ function kr(e, t, r, n) {
680
+ var i = Gr(n) ? n : r(n), o = t.get(i);
667
681
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
668
682
  }
669
- function Pt(e, t, r) {
683
+ function At(e, t, r) {
670
684
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
671
685
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
672
686
  }
673
- function Ct(e, t, r, n, i) {
687
+ function wt(e, t, r, n, i) {
674
688
  return r.bind(t, e, n, i);
675
689
  }
676
- function Xr(e, t) {
677
- var r = e.length === 1 ? Vr : Pt;
678
- return Ct(e, this, r, t.cache.create(), t.serializer);
690
+ function jr(e, t) {
691
+ var r = e.length === 1 ? kr : At;
692
+ return wt(e, this, r, t.cache.create(), t.serializer);
679
693
  }
680
- function zr(e, t) {
681
- return Ct(e, this, Pt, t.cache.create(), t.serializer);
694
+ function Vr(e, t) {
695
+ return wt(e, this, At, t.cache.create(), t.serializer);
682
696
  }
683
- var Wr = function() {
697
+ var Xr = function() {
684
698
  return JSON.stringify(arguments);
685
- }, Zr = (
699
+ }, zr = (
686
700
  /** @class */
687
701
  function() {
688
702
  function e() {
@@ -694,71 +708,61 @@ var Wr = function() {
694
708
  this.cache[t] = r;
695
709
  }, e;
696
710
  }()
697
- ), Jr = {
711
+ ), Wr = {
698
712
  create: function() {
699
- return new Zr();
713
+ return new zr();
700
714
  }
701
- }, Le = {
702
- variadic: zr
703
- }, Se = function() {
704
- return Se = Object.assign || function(t) {
705
- for (var r, n = 1, i = arguments.length; n < i; n++) {
706
- r = arguments[n];
707
- for (var o in r)
708
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
709
- }
710
- return t;
711
- }, Se.apply(this, arguments);
712
- };
713
- var m;
715
+ }, Oe = {
716
+ variadic: Vr
717
+ }, m;
714
718
  (function(e) {
715
719
  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";
716
720
  })(m || (m = {}));
717
- var E;
721
+ var x;
718
722
  (function(e) {
719
723
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
720
- })(E || (E = {}));
721
- var re;
724
+ })(x || (x = {}));
725
+ var te;
722
726
  (function(e) {
723
727
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
724
- })(re || (re = {}));
725
- function at(e) {
726
- return e.type === E.literal;
728
+ })(te || (te = {}));
729
+ function ot(e) {
730
+ return e.type === x.literal;
727
731
  }
728
- function Qr(e) {
729
- return e.type === E.argument;
732
+ function Zr(e) {
733
+ return e.type === x.argument;
734
+ }
735
+ function Pt(e) {
736
+ return e.type === x.number;
737
+ }
738
+ function Ct(e) {
739
+ return e.type === x.date;
730
740
  }
731
741
  function It(e) {
732
- return e.type === E.number;
742
+ return e.type === x.time;
743
+ }
744
+ function Nt(e) {
745
+ return e.type === x.select;
733
746
  }
734
747
  function Ot(e) {
735
- return e.type === E.date;
748
+ return e.type === x.plural;
736
749
  }
737
- function Nt(e) {
738
- return e.type === E.time;
750
+ function Jr(e) {
751
+ return e.type === x.pound;
739
752
  }
740
753
  function Mt(e) {
741
- return e.type === E.select;
754
+ return e.type === x.tag;
742
755
  }
743
756
  function Lt(e) {
744
- return e.type === E.plural;
745
- }
746
- function qr(e) {
747
- return e.type === E.pound;
748
- }
749
- function Rt(e) {
750
- return e.type === E.tag;
751
- }
752
- function $t(e) {
753
- return !!(e && typeof e == "object" && e.type === re.number);
757
+ return !!(e && typeof e == "object" && e.type === te.number);
754
758
  }
755
- function je(e) {
756
- return !!(e && typeof e == "object" && e.type === re.dateTime);
759
+ function Ge(e) {
760
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
757
761
  }
758
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[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;
759
- function Kr(e) {
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) {
760
764
  var t = {};
761
- return e.replace(Yr, function(r) {
765
+ return e.replace(Qr, function(r) {
762
766
  var n = r.length;
763
767
  switch (r[0]) {
764
768
  case "G":
@@ -847,21 +851,11 @@ function Kr(e) {
847
851
  return "";
848
852
  }), t;
849
853
  }
850
- var S = function() {
851
- return S = Object.assign || function(t) {
852
- for (var r, n = 1, i = arguments.length; n < i; n++) {
853
- r = arguments[n];
854
- for (var o in r)
855
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
856
- }
857
- return t;
858
- }, S.apply(this, arguments);
859
- };
860
- var en = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
861
- function tn(e) {
854
+ var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
855
+ function Kr(e) {
862
856
  if (e.length === 0)
863
857
  throw new Error("Number skeleton cannot be empty");
864
- for (var t = e.split(en).filter(function(d) {
858
+ for (var t = e.split(Yr).filter(function(d) {
865
859
  return d.length > 0;
866
860
  }), r = [], n = 0, i = t; n < i.length; n++) {
867
861
  var o = i[n], s = o.split("/");
@@ -876,17 +870,17 @@ function tn(e) {
876
870
  }
877
871
  return r;
878
872
  }
879
- function rn(e) {
873
+ function en(e) {
880
874
  return e.replace(/^(.*?)-/, "");
881
875
  }
882
- var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
883
- function lt(e) {
876
+ var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
877
+ function at(e) {
884
878
  var t = {};
885
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
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) {
886
880
  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)), "";
887
881
  }), t;
888
882
  }
889
- function Gt(e) {
883
+ function Dt(e) {
890
884
  switch (e) {
891
885
  case "sign-auto":
892
886
  return {
@@ -926,7 +920,7 @@ function Gt(e) {
926
920
  };
927
921
  }
928
922
  }
929
- function on(e) {
923
+ function rn(e) {
930
924
  var t;
931
925
  if (e[0] === "E" && e[1] === "E" ? (t = {
932
926
  notation: "engineering"
@@ -934,17 +928,17 @@ function on(e) {
934
928
  notation: "scientific"
935
929
  }, e = e.slice(1)), t) {
936
930
  var r = e.slice(0, 2);
937
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
931
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
938
932
  throw new Error("Malformed concise eng/scientific notation");
939
933
  t.minimumIntegerDigits = e.length;
940
934
  }
941
935
  return t;
942
936
  }
943
- function ht(e) {
944
- var t = {}, r = Gt(e);
937
+ function ut(e) {
938
+ var t = {}, r = Dt(e);
945
939
  return r || t;
946
940
  }
947
- function sn(e) {
941
+ function nn(e) {
948
942
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
949
943
  var i = n[r];
950
944
  switch (i.stem) {
@@ -968,7 +962,7 @@ function sn(e) {
968
962
  continue;
969
963
  case "measure-unit":
970
964
  case "unit":
971
- t.style = "unit", t.unit = rn(i.options[0]);
965
+ t.style = "unit", t.unit = en(i.options[0]);
972
966
  continue;
973
967
  case "compact-short":
974
968
  case "K":
@@ -979,13 +973,13 @@ function sn(e) {
979
973
  t.notation = "compact", t.compactDisplay = "long";
980
974
  continue;
981
975
  case "scientific":
982
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
983
- return S(S({}, l), ht(u));
976
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
977
+ return v(v({}, l), ut(u));
984
978
  }, {}));
985
979
  continue;
986
980
  case "engineering":
987
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
988
- return S(S({}, l), ht(u));
981
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
982
+ return v(v({}, l), ut(u));
989
983
  }, {}));
990
984
  continue;
991
985
  case "notation-simple":
@@ -1030,7 +1024,7 @@ function sn(e) {
1030
1024
  case "integer-width":
1031
1025
  if (i.options.length > 1)
1032
1026
  throw new RangeError("integer-width stems only accept a single optional option");
1033
- i.options[0].replace(nn, function(l, u, h, c, d, g) {
1027
+ i.options[0].replace(tn, function(l, u, h, c, d, g) {
1034
1028
  if (u)
1035
1029
  t.minimumIntegerDigits = h.length;
1036
1030
  else {
@@ -1043,32 +1037,32 @@ function sn(e) {
1043
1037
  });
1044
1038
  continue;
1045
1039
  }
1046
- if (Ft.test(i.stem)) {
1040
+ if (Ut.test(i.stem)) {
1047
1041
  t.minimumIntegerDigits = i.stem.length;
1048
1042
  continue;
1049
1043
  }
1050
- if (ut.test(i.stem)) {
1044
+ if (st.test(i.stem)) {
1051
1045
  if (i.options.length > 1)
1052
1046
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1053
- i.stem.replace(ut, function(l, u, h, c, d, g) {
1047
+ i.stem.replace(st, function(l, u, h, c, d, g) {
1054
1048
  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), "";
1055
1049
  });
1056
1050
  var o = i.options[0];
1057
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), lt(o)));
1051
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), at(o)));
1058
1052
  continue;
1059
1053
  }
1060
- if (Dt.test(i.stem)) {
1061
- t = S(S({}, t), lt(i.stem));
1054
+ if ($t.test(i.stem)) {
1055
+ t = v(v({}, t), at(i.stem));
1062
1056
  continue;
1063
1057
  }
1064
- var s = Gt(i.stem);
1065
- s && (t = S(S({}, t), s));
1066
- var a = on(i.stem);
1067
- a && (t = S(S({}, t), a));
1058
+ var s = Dt(i.stem);
1059
+ s && (t = v(v({}, t), s));
1060
+ var a = rn(i.stem);
1061
+ a && (t = v(v({}, t), a));
1068
1062
  }
1069
1063
  return t;
1070
1064
  }
1071
- var ye = {
1065
+ var ve = {
1072
1066
  "001": [
1073
1067
  "H",
1074
1068
  "h"
@@ -2483,13 +2477,13 @@ var ye = {
2483
2477
  "h"
2484
2478
  ]
2485
2479
  };
2486
- function an(e, t) {
2480
+ function on(e, t) {
2487
2481
  for (var r = "", n = 0; n < e.length; n++) {
2488
2482
  var i = e.charAt(n);
2489
2483
  if (i === "j") {
2490
2484
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2491
2485
  o++, n++;
2492
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = un(t);
2486
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = sn(t);
2493
2487
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2494
2488
  r += l;
2495
2489
  for (; s-- > 0; )
@@ -2499,7 +2493,7 @@ function an(e, t) {
2499
2493
  }
2500
2494
  return r;
2501
2495
  }
2502
- function un(e) {
2496
+ function sn(e) {
2503
2497
  var t = e.hourCycle;
2504
2498
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2505
2499
  e.hourCycles && // @ts-ignore
@@ -2518,23 +2512,23 @@ function un(e) {
2518
2512
  }
2519
2513
  var r = e.language, n;
2520
2514
  r !== "root" && (n = e.maximize().region);
2521
- var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2515
+ var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2522
2516
  return i[0];
2523
2517
  }
2524
- var Re, ln = new RegExp("^".concat(Ut.source, "*")), hn = new RegExp("".concat(Ut.source, "*$"));
2518
+ var Me, an = new RegExp("^".concat(Rt.source, "*")), un = new RegExp("".concat(Rt.source, "*$"));
2525
2519
  function b(e, t) {
2526
2520
  return { start: e, end: t };
2527
2521
  }
2528
- var cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), fn = !!String.fromCodePoint, dn = !!Object.fromEntries, mn = !!String.prototype.codePointAt, pn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, gn = !!Number.isSafeInteger, vn = gn ? Number.isSafeInteger : function(e) {
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) {
2529
2523
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2530
- }, Ve = !0;
2524
+ }, ke = !0;
2531
2525
  try {
2532
- var yn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2533
- Ve = ((Re = yn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
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";
2534
2528
  } catch (e) {
2535
- Ve = !1;
2529
+ ke = !1;
2536
2530
  }
2537
- var ct = cn ? (
2531
+ var lt = ln ? (
2538
2532
  // Native
2539
2533
  function(t, r, n) {
2540
2534
  return t.startsWith(r, n);
@@ -2544,7 +2538,7 @@ var ct = cn ? (
2544
2538
  function(t, r, n) {
2545
2539
  return t.slice(n, n + r.length) === r;
2546
2540
  }
2547
- ), Xe = fn ? String.fromCodePoint : (
2541
+ ), je = hn ? String.fromCodePoint : (
2548
2542
  // IE11
2549
2543
  function() {
2550
2544
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2556,9 +2550,9 @@ var ct = cn ? (
2556
2550
  }
2557
2551
  return n;
2558
2552
  }
2559
- ), ft = (
2553
+ ), ht = (
2560
2554
  // native
2561
- dn ? Object.fromEntries : (
2555
+ cn ? Object.fromEntries : (
2562
2556
  // Ponyfill
2563
2557
  function(t) {
2564
2558
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2568,7 +2562,7 @@ var ct = cn ? (
2568
2562
  return r;
2569
2563
  }
2570
2564
  )
2571
- ), kt = mn ? (
2565
+ ), Ft = fn ? (
2572
2566
  // Native
2573
2567
  function(t, r) {
2574
2568
  return t.codePointAt(r);
@@ -2582,7 +2576,7 @@ var ct = cn ? (
2582
2576
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2583
2577
  }
2584
2578
  }
2585
- ), En = pn ? (
2579
+ ), vn = dn ? (
2586
2580
  // Native
2587
2581
  function(t) {
2588
2582
  return t.trimStart();
@@ -2590,9 +2584,9 @@ var ct = cn ? (
2590
2584
  ) : (
2591
2585
  // Ponyfill
2592
2586
  function(t) {
2593
- return t.replace(ln, "");
2587
+ return t.replace(an, "");
2594
2588
  }
2595
- ), _n = bn ? (
2589
+ ), yn = mn ? (
2596
2590
  // Native
2597
2591
  function(t) {
2598
2592
  return t.trimEnd();
@@ -2600,32 +2594,32 @@ var ct = cn ? (
2600
2594
  ) : (
2601
2595
  // Ponyfill
2602
2596
  function(t) {
2603
- return t.replace(hn, "");
2597
+ return t.replace(un, "");
2604
2598
  }
2605
2599
  );
2606
- function jt(e, t) {
2600
+ function Gt(e, t) {
2607
2601
  return new RegExp(e, t);
2608
2602
  }
2609
- var ze;
2610
- if (Ve) {
2611
- var dt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2612
- ze = function(t, r) {
2603
+ var Ve;
2604
+ if (ke) {
2605
+ var ct = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2606
+ Ve = function(t, r) {
2613
2607
  var n;
2614
- dt.lastIndex = r;
2615
- var i = dt.exec(t);
2608
+ ct.lastIndex = r;
2609
+ var i = ct.exec(t);
2616
2610
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2617
2611
  };
2618
2612
  } else
2619
- ze = function(t, r) {
2613
+ Ve = function(t, r) {
2620
2614
  for (var n = []; ; ) {
2621
- var i = kt(t, r);
2622
- if (i === void 0 || Vt(i) || Hn(i))
2615
+ var i = Ft(t, r);
2616
+ if (i === void 0 || kt(i) || Sn(i))
2623
2617
  break;
2624
2618
  n.push(i), r += i >= 65536 ? 2 : 1;
2625
2619
  }
2626
- return Xe.apply(void 0, n);
2620
+ return je.apply(void 0, n);
2627
2621
  };
2628
- var xn = (
2622
+ var En = (
2629
2623
  /** @class */
2630
2624
  function() {
2631
2625
  function e(t, r) {
@@ -2649,14 +2643,14 @@ var xn = (
2649
2643
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2650
2644
  var a = this.clonePosition();
2651
2645
  this.bump(), i.push({
2652
- type: E.pound,
2646
+ type: x.pound,
2653
2647
  location: b(a, this.clonePosition())
2654
2648
  });
2655
2649
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2656
2650
  if (n)
2657
2651
  break;
2658
2652
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2659
- } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
2653
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
2660
2654
  var s = this.parseTag(t, r);
2661
2655
  if (s.err)
2662
2656
  return s;
@@ -2677,7 +2671,7 @@ var xn = (
2677
2671
  if (this.bumpSpace(), this.bumpIf("/>"))
2678
2672
  return {
2679
2673
  val: {
2680
- type: E.literal,
2674
+ type: x.literal,
2681
2675
  value: "<".concat(i, "/>"),
2682
2676
  location: b(n, this.clonePosition())
2683
2677
  },
@@ -2689,12 +2683,12 @@ var xn = (
2689
2683
  return o;
2690
2684
  var s = o.val, a = this.clonePosition();
2691
2685
  if (this.bumpIf("</")) {
2692
- if (this.isEOF() || !We(this.char()))
2686
+ if (this.isEOF() || !Xe(this.char()))
2693
2687
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
2694
2688
  var l = this.clonePosition(), u = this.parseTagName();
2695
2689
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2696
2690
  val: {
2697
- type: E.tag,
2691
+ type: x.tag,
2698
2692
  value: i,
2699
2693
  children: s,
2700
2694
  location: b(n, this.clonePosition())
@@ -2707,7 +2701,7 @@ var xn = (
2707
2701
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2708
2702
  }, e.prototype.parseTagName = function() {
2709
2703
  var t = this.offset();
2710
- for (this.bump(); !this.isEOF() && Tn(this.char()); )
2704
+ for (this.bump(); !this.isEOF() && _n(this.char()); )
2711
2705
  this.bump();
2712
2706
  return this.message.slice(t, this.offset());
2713
2707
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2731,12 +2725,12 @@ var xn = (
2731
2725
  }
2732
2726
  var l = b(n, this.clonePosition());
2733
2727
  return {
2734
- val: { type: E.literal, value: i, location: l },
2728
+ val: { type: x.literal, value: i, location: l },
2735
2729
  err: null
2736
2730
  };
2737
2731
  }, e.prototype.tryParseLeftAngleBracket = function() {
2738
2732
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2739
- !Sn(this.peek() || 0)) ? (this.bump(), "<") : null;
2733
+ !xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2740
2734
  }, e.prototype.tryParseQuote = function(t) {
2741
2735
  if (this.isEOF() || this.char() !== 39)
2742
2736
  return null;
@@ -2770,12 +2764,12 @@ var xn = (
2770
2764
  r.push(n);
2771
2765
  this.bump();
2772
2766
  }
2773
- return Xe.apply(void 0, r);
2767
+ return je.apply(void 0, r);
2774
2768
  }, e.prototype.tryParseUnquoted = function(t, r) {
2775
2769
  if (this.isEOF())
2776
2770
  return null;
2777
2771
  var n = this.char();
2778
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
2772
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
2779
2773
  }, e.prototype.parseArgument = function(t, r) {
2780
2774
  var n = this.clonePosition();
2781
2775
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2791,7 +2785,7 @@ var xn = (
2791
2785
  case 125:
2792
2786
  return this.bump(), {
2793
2787
  val: {
2794
- type: E.argument,
2788
+ type: x.argument,
2795
2789
  // value does not include the opening and closing braces.
2796
2790
  value: i,
2797
2791
  location: b(n, this.clonePosition())
@@ -2804,7 +2798,7 @@ var xn = (
2804
2798
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2805
2799
  }
2806
2800
  }, e.prototype.parseIdentifierIfPossible = function() {
2807
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2801
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
2808
2802
  this.bumpTo(i);
2809
2803
  var o = this.clonePosition(), s = b(t, o);
2810
2804
  return { value: n, location: s };
@@ -2823,35 +2817,35 @@ var xn = (
2823
2817
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2824
2818
  if (c.err)
2825
2819
  return c;
2826
- var d = _n(c.val);
2820
+ var d = yn(c.val);
2827
2821
  if (d.length === 0)
2828
2822
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2829
2823
  var g = b(h, this.clonePosition());
2830
2824
  u = { style: d, styleLocation: g };
2831
2825
  }
2832
- var v = this.tryParseArgumentClose(i);
2833
- if (v.err)
2834
- return v;
2826
+ var y = this.tryParseArgumentClose(i);
2827
+ if (y.err)
2828
+ return y;
2835
2829
  var _ = b(i, this.clonePosition());
2836
- if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
2837
- var T = En(u.style.slice(2));
2830
+ if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2831
+ var T = vn(u.style.slice(2));
2838
2832
  if (a === "number") {
2839
2833
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2840
2834
  return c.err ? c : {
2841
- val: { type: E.number, value: n, location: _, style: c.val },
2835
+ val: { type: x.number, value: n, location: _, style: c.val },
2842
2836
  err: null
2843
2837
  };
2844
2838
  } else {
2845
2839
  if (T.length === 0)
2846
2840
  return this.error(m.EXPECT_DATE_TIME_SKELETON, _);
2847
2841
  var H = T;
2848
- this.locale && (H = an(T, this.locale));
2842
+ this.locale && (H = on(T, this.locale));
2849
2843
  var d = {
2850
- type: re.dateTime,
2844
+ type: te.dateTime,
2851
2845
  pattern: H,
2852
2846
  location: u.styleLocation,
2853
- parsedOptions: this.shouldParseSkeletons ? Kr(H) : {}
2854
- }, L = a === "date" ? E.date : E.time;
2847
+ parsedOptions: this.shouldParseSkeletons ? qr(H) : {}
2848
+ }, L = a === "date" ? x.date : x.time;
2855
2849
  return {
2856
2850
  val: { type: L, value: n, location: _, style: d },
2857
2851
  err: null
@@ -2860,7 +2854,7 @@ var xn = (
2860
2854
  }
2861
2855
  return {
2862
2856
  val: {
2863
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
2857
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2864
2858
  value: n,
2865
2859
  location: _,
2866
2860
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -2871,43 +2865,43 @@ var xn = (
2871
2865
  case "plural":
2872
2866
  case "selectordinal":
2873
2867
  case "select": {
2874
- var B = this.clonePosition();
2868
+ var A = this.clonePosition();
2875
2869
  if (this.bumpSpace(), !this.bumpIf(","))
2876
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(B, Se({}, B)));
2870
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(A, v({}, A)));
2877
2871
  this.bumpSpace();
2878
- var x = this.parseIdentifierIfPossible(), O = 0;
2879
- if (a !== "select" && x.value === "offset") {
2872
+ var S = this.parseIdentifierIfPossible(), N = 0;
2873
+ if (a !== "select" && S.value === "offset") {
2880
2874
  if (!this.bumpIf(":"))
2881
2875
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2882
2876
  this.bumpSpace();
2883
2877
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2884
2878
  if (c.err)
2885
2879
  return c;
2886
- this.bumpSpace(), x = this.parseIdentifierIfPossible(), O = c.val;
2880
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = c.val;
2887
2881
  }
2888
- var F = this.tryParsePluralOrSelectOptions(t, a, r, x);
2882
+ var F = this.tryParsePluralOrSelectOptions(t, a, r, S);
2889
2883
  if (F.err)
2890
2884
  return F;
2891
- var v = this.tryParseArgumentClose(i);
2892
- if (v.err)
2893
- return v;
2894
- var X = b(i, this.clonePosition());
2885
+ var y = this.tryParseArgumentClose(i);
2886
+ if (y.err)
2887
+ return y;
2888
+ var V = b(i, this.clonePosition());
2895
2889
  return a === "select" ? {
2896
2890
  val: {
2897
- type: E.select,
2891
+ type: x.select,
2898
2892
  value: n,
2899
- options: ft(F.val),
2900
- location: X
2893
+ options: ht(F.val),
2894
+ location: V
2901
2895
  },
2902
2896
  err: null
2903
2897
  } : {
2904
2898
  val: {
2905
- type: E.plural,
2899
+ type: x.plural,
2906
2900
  value: n,
2907
- options: ft(F.val),
2908
- offset: O,
2901
+ options: ht(F.val),
2902
+ offset: N,
2909
2903
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2910
- location: X
2904
+ location: V
2911
2905
  },
2912
2906
  err: null
2913
2907
  };
@@ -2955,16 +2949,16 @@ var xn = (
2955
2949
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2956
2950
  var n = [];
2957
2951
  try {
2958
- n = tn(t);
2952
+ n = Kr(t);
2959
2953
  } catch (i) {
2960
2954
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2961
2955
  }
2962
2956
  return {
2963
2957
  val: {
2964
- type: re.number,
2958
+ type: te.number,
2965
2959
  tokens: n,
2966
2960
  location: r,
2967
- parsedOptions: this.shouldParseSkeletons ? sn(n) : {}
2961
+ parsedOptions: this.shouldParseSkeletons ? nn(n) : {}
2968
2962
  },
2969
2963
  err: null
2970
2964
  };
@@ -2986,16 +2980,16 @@ var xn = (
2986
2980
  var g = this.clonePosition();
2987
2981
  if (!this.bumpIf("{"))
2988
2982
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2989
- var v = this.parseMessage(t + 1, r, n);
2990
- if (v.err)
2991
- return v;
2983
+ var y = this.parseMessage(t + 1, r, n);
2984
+ if (y.err)
2985
+ return y;
2992
2986
  var _ = this.tryParseArgumentClose(g);
2993
2987
  if (_.err)
2994
2988
  return _;
2995
2989
  a.push([
2996
2990
  u,
2997
2991
  {
2998
- value: v.val,
2992
+ value: y.val,
2999
2993
  location: b(g, this.clonePosition())
3000
2994
  }
3001
2995
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3012,7 +3006,7 @@ var xn = (
3012
3006
  break;
3013
3007
  }
3014
3008
  var l = b(i, this.clonePosition());
3015
- return o ? (s *= n, vn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3009
+ return o ? (s *= n, bn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3016
3010
  }, e.prototype.offset = function() {
3017
3011
  return this.position.offset;
3018
3012
  }, e.prototype.isEOF = function() {
@@ -3027,7 +3021,7 @@ var xn = (
3027
3021
  var t = this.position.offset;
3028
3022
  if (t >= this.message.length)
3029
3023
  throw Error("out of bound");
3030
- var r = kt(this.message, t);
3024
+ var r = Ft(this.message, t);
3031
3025
  if (r === void 0)
3032
3026
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3033
3027
  return r;
@@ -3046,7 +3040,7 @@ var xn = (
3046
3040
  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);
3047
3041
  }
3048
3042
  }, e.prototype.bumpIf = function(t) {
3049
- if (ct(this.message, t, this.offset())) {
3043
+ if (lt(this.message, t, this.offset())) {
3050
3044
  for (var r = 0; r < t.length; r++)
3051
3045
  this.bump();
3052
3046
  return !0;
@@ -3068,7 +3062,7 @@ var xn = (
3068
3062
  break;
3069
3063
  }
3070
3064
  }, e.prototype.bumpSpace = function() {
3071
- for (; !this.isEOF() && Vt(this.char()); )
3065
+ for (; !this.isEOF() && kt(this.char()); )
3072
3066
  this.bump();
3073
3067
  }, e.prototype.peek = function() {
3074
3068
  if (this.isEOF())
@@ -3078,47 +3072,47 @@ var xn = (
3078
3072
  }, e;
3079
3073
  }()
3080
3074
  );
3081
- function We(e) {
3075
+ function Xe(e) {
3082
3076
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3083
3077
  }
3084
- function Sn(e) {
3085
- return We(e) || e === 47;
3078
+ function xn(e) {
3079
+ return Xe(e) || e === 47;
3086
3080
  }
3087
- function Tn(e) {
3081
+ function _n(e) {
3088
3082
  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;
3089
3083
  }
3090
- function Vt(e) {
3084
+ function kt(e) {
3091
3085
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3092
3086
  }
3093
- function Hn(e) {
3087
+ function Sn(e) {
3094
3088
  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;
3095
3089
  }
3096
- function Ze(e) {
3090
+ function ze(e) {
3097
3091
  e.forEach(function(t) {
3098
- if (delete t.location, Mt(t) || Lt(t))
3092
+ if (delete t.location, Nt(t) || Ot(t))
3099
3093
  for (var r in t.options)
3100
- delete t.options[r].location, Ze(t.options[r].value);
3094
+ delete t.options[r].location, ze(t.options[r].value);
3101
3095
  else
3102
- It(t) && $t(t.style) || (Ot(t) || Nt(t)) && je(t.style) ? delete t.style.location : Rt(t) && Ze(t.children);
3096
+ Pt(t) && Lt(t.style) || (Ct(t) || It(t)) && Ge(t.style) ? delete t.style.location : Mt(t) && ze(t.children);
3103
3097
  });
3104
3098
  }
3105
- function An(e, t) {
3106
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3107
- var r = new xn(e, t).parse();
3099
+ function Tn(e, t) {
3100
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3101
+ var r = new En(e, t).parse();
3108
3102
  if (r.err) {
3109
3103
  var n = SyntaxError(m[r.err.kind]);
3110
3104
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3111
3105
  }
3112
- return t != null && t.captureLocation || Ze(r.val), r.val;
3106
+ return t != null && t.captureLocation || ze(r.val), r.val;
3113
3107
  }
3114
- var ne;
3108
+ var re;
3115
3109
  (function(e) {
3116
3110
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3117
- })(ne || (ne = {}));
3118
- var we = (
3111
+ })(re || (re = {}));
3112
+ var Be = (
3119
3113
  /** @class */
3120
3114
  function(e) {
3121
- Be(t, e);
3115
+ He(t, e);
3122
3116
  function t(r, n, i) {
3123
3117
  var o = e.call(this, r) || this;
3124
3118
  return o.code = n, o.originalMessage = i, o;
@@ -3127,48 +3121,48 @@ var we = (
3127
3121
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3128
3122
  }, t;
3129
3123
  }(Error)
3130
- ), mt = (
3124
+ ), ft = (
3131
3125
  /** @class */
3132
3126
  function(e) {
3133
- Be(t, e);
3127
+ He(t, e);
3134
3128
  function t(r, n, i, o) {
3135
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
3129
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3136
3130
  }
3137
3131
  return t;
3138
- }(we)
3139
- ), Bn = (
3132
+ }(Be)
3133
+ ), Hn = (
3140
3134
  /** @class */
3141
3135
  function(e) {
3142
- Be(t, e);
3136
+ He(t, e);
3143
3137
  function t(r, n, i) {
3144
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3138
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3145
3139
  }
3146
3140
  return t;
3147
- }(we)
3148
- ), wn = (
3141
+ }(Be)
3142
+ ), Bn = (
3149
3143
  /** @class */
3150
3144
  function(e) {
3151
- Be(t, e);
3145
+ He(t, e);
3152
3146
  function t(r, n) {
3153
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3147
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3154
3148
  }
3155
3149
  return t;
3156
- }(we)
3150
+ }(Be)
3157
3151
  ), I;
3158
3152
  (function(e) {
3159
3153
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3160
3154
  })(I || (I = {}));
3161
- function Pn(e) {
3155
+ function An(e) {
3162
3156
  return e.length < 2 ? e : e.reduce(function(t, r) {
3163
3157
  var n = t[t.length - 1];
3164
3158
  return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3165
3159
  }, []);
3166
3160
  }
3167
- function Cn(e) {
3161
+ function wn(e) {
3168
3162
  return typeof e == "function";
3169
3163
  }
3170
- function _e(e, t, r, n, i, o, s) {
3171
- if (e.length === 1 && at(e[0]))
3164
+ function Ee(e, t, r, n, i, o, s) {
3165
+ if (e.length === 1 && ot(e[0]))
3172
3166
  return [
3173
3167
  {
3174
3168
  type: I.literal,
@@ -3177,14 +3171,14 @@ function _e(e, t, r, n, i, o, s) {
3177
3171
  ];
3178
3172
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3179
3173
  var h = u[l];
3180
- if (at(h)) {
3174
+ if (ot(h)) {
3181
3175
  a.push({
3182
3176
  type: I.literal,
3183
3177
  value: h.value
3184
3178
  });
3185
3179
  continue;
3186
3180
  }
3187
- if (qr(h)) {
3181
+ if (Jr(h)) {
3188
3182
  typeof o == "number" && a.push({
3189
3183
  type: I.literal,
3190
3184
  value: r.getNumberFormat(t).format(o)
@@ -3193,89 +3187,89 @@ function _e(e, t, r, n, i, o, s) {
3193
3187
  }
3194
3188
  var c = h.value;
3195
3189
  if (!(i && c in i))
3196
- throw new wn(c, s);
3190
+ throw new Bn(c, s);
3197
3191
  var d = i[c];
3198
- if (Qr(h)) {
3192
+ if (Zr(h)) {
3199
3193
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3200
3194
  type: typeof d == "string" ? I.literal : I.object,
3201
3195
  value: d
3202
3196
  });
3203
3197
  continue;
3204
3198
  }
3205
- if (Ot(h)) {
3206
- var g = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3199
+ if (Ct(h)) {
3200
+ var g = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3207
3201
  a.push({
3208
3202
  type: I.literal,
3209
3203
  value: r.getDateTimeFormat(t, g).format(d)
3210
3204
  });
3211
3205
  continue;
3212
3206
  }
3213
- if (Nt(h)) {
3214
- var g = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3207
+ if (It(h)) {
3208
+ var g = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3215
3209
  a.push({
3216
3210
  type: I.literal,
3217
3211
  value: r.getDateTimeFormat(t, g).format(d)
3218
3212
  });
3219
3213
  continue;
3220
3214
  }
3221
- if (It(h)) {
3222
- var g = typeof h.style == "string" ? n.number[h.style] : $t(h.style) ? h.style.parsedOptions : void 0;
3215
+ if (Pt(h)) {
3216
+ var g = typeof h.style == "string" ? n.number[h.style] : Lt(h.style) ? h.style.parsedOptions : void 0;
3223
3217
  g && g.scale && (d = d * (g.scale || 1)), a.push({
3224
3218
  type: I.literal,
3225
3219
  value: r.getNumberFormat(t, g).format(d)
3226
3220
  });
3227
3221
  continue;
3228
3222
  }
3229
- if (Rt(h)) {
3230
- var v = h.children, _ = h.value, T = i[_];
3231
- if (!Cn(T))
3232
- throw new Bn(_, "function", s);
3233
- var H = _e(v, t, r, n, i, o), L = T(H.map(function(O) {
3234
- return O.value;
3223
+ if (Mt(h)) {
3224
+ var y = h.children, _ = h.value, T = i[_];
3225
+ if (!wn(T))
3226
+ throw new Hn(_, "function", s);
3227
+ var H = Ee(y, t, r, n, i, o), L = T(H.map(function(N) {
3228
+ return N.value;
3235
3229
  }));
3236
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(O) {
3230
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(N) {
3237
3231
  return {
3238
- type: typeof O == "string" ? I.literal : I.object,
3239
- value: O
3232
+ type: typeof N == "string" ? I.literal : I.object,
3233
+ value: N
3240
3234
  };
3241
3235
  }));
3242
3236
  }
3243
- if (Mt(h)) {
3244
- var B = h.options[d] || h.options.other;
3245
- if (!B)
3246
- throw new mt(h.value, d, Object.keys(h.options), s);
3247
- a.push.apply(a, _e(B.value, t, r, n, i));
3237
+ if (Nt(h)) {
3238
+ var A = h.options[d] || h.options.other;
3239
+ if (!A)
3240
+ throw new ft(h.value, d, Object.keys(h.options), s);
3241
+ a.push.apply(a, Ee(A.value, t, r, n, i));
3248
3242
  continue;
3249
3243
  }
3250
- if (Lt(h)) {
3251
- var B = h.options["=".concat(d)];
3252
- if (!B) {
3244
+ if (Ot(h)) {
3245
+ var A = h.options["=".concat(d)];
3246
+ if (!A) {
3253
3247
  if (!Intl.PluralRules)
3254
- throw new we(`Intl.PluralRules is not available in this environment.
3248
+ throw new Be(`Intl.PluralRules is not available in this environment.
3255
3249
  Try polyfilling it using "@formatjs/intl-pluralrules"
3256
- `, ne.MISSING_INTL_API, s);
3257
- var x = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
3258
- B = h.options[x] || h.options.other;
3250
+ `, re.MISSING_INTL_API, s);
3251
+ var S = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
3252
+ A = h.options[S] || h.options.other;
3259
3253
  }
3260
- if (!B)
3261
- throw new mt(h.value, d, Object.keys(h.options), s);
3262
- a.push.apply(a, _e(B.value, t, r, n, i, d - (h.offset || 0)));
3254
+ if (!A)
3255
+ throw new ft(h.value, d, Object.keys(h.options), s);
3256
+ a.push.apply(a, Ee(A.value, t, r, n, i, d - (h.offset || 0)));
3263
3257
  continue;
3264
3258
  }
3265
3259
  }
3266
- return Pn(a);
3260
+ return An(a);
3267
3261
  }
3268
- function In(e, t) {
3269
- return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3270
- return r[n] = G(G({}, e[n]), t[n] || {}), r;
3262
+ function Pn(e, t) {
3263
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3264
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3271
3265
  }, {})) : e;
3272
3266
  }
3273
- function On(e, t) {
3267
+ function Cn(e, t) {
3274
3268
  return t ? Object.keys(e).reduce(function(r, n) {
3275
- return r[n] = In(e[n], t[n]), r;
3276
- }, G({}, e)) : e;
3269
+ return r[n] = Pn(e[n], t[n]), r;
3270
+ }, v({}, e)) : e;
3277
3271
  }
3278
- function $e(e) {
3272
+ function Le(e) {
3279
3273
  return {
3280
3274
  create: function() {
3281
3275
  return {
@@ -3289,39 +3283,39 @@ function $e(e) {
3289
3283
  }
3290
3284
  };
3291
3285
  }
3292
- function Nn(e) {
3286
+ function In(e) {
3293
3287
  return e === void 0 && (e = {
3294
3288
  number: {},
3295
3289
  dateTime: {},
3296
3290
  pluralRules: {}
3297
3291
  }), {
3298
- getNumberFormat: Me(function() {
3292
+ getNumberFormat: Ne(function() {
3299
3293
  for (var t, r = [], n = 0; n < arguments.length; n++)
3300
3294
  r[n] = arguments[n];
3301
- return new ((t = Intl.NumberFormat).bind.apply(t, Ne([void 0], r, !1)))();
3295
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3302
3296
  }, {
3303
- cache: $e(e.number),
3304
- strategy: Le.variadic
3297
+ cache: Le(e.number),
3298
+ strategy: Oe.variadic
3305
3299
  }),
3306
- getDateTimeFormat: Me(function() {
3300
+ getDateTimeFormat: Ne(function() {
3307
3301
  for (var t, r = [], n = 0; n < arguments.length; n++)
3308
3302
  r[n] = arguments[n];
3309
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ne([void 0], r, !1)))();
3303
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3310
3304
  }, {
3311
- cache: $e(e.dateTime),
3312
- strategy: Le.variadic
3305
+ cache: Le(e.dateTime),
3306
+ strategy: Oe.variadic
3313
3307
  }),
3314
- getPluralRules: Me(function() {
3308
+ getPluralRules: Ne(function() {
3315
3309
  for (var t, r = [], n = 0; n < arguments.length; n++)
3316
3310
  r[n] = arguments[n];
3317
- return new ((t = Intl.PluralRules).bind.apply(t, Ne([void 0], r, !1)))();
3311
+ return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3318
3312
  }, {
3319
- cache: $e(e.pluralRules),
3320
- strategy: Le.variadic
3313
+ cache: Le(e.pluralRules),
3314
+ strategy: Oe.variadic
3321
3315
  })
3322
3316
  };
3323
3317
  }
3324
- var Mn = (
3318
+ var Nn = (
3325
3319
  /** @class */
3326
3320
  function() {
3327
3321
  function e(t, r, n, i) {
@@ -3340,7 +3334,7 @@ var Mn = (
3340
3334
  }, []);
3341
3335
  return h.length <= 1 ? h[0] || "" : h;
3342
3336
  }, this.formatToParts = function(l) {
3343
- return _e(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3337
+ return Ee(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3344
3338
  }, this.resolvedOptions = function() {
3345
3339
  var l;
3346
3340
  return {
@@ -3353,13 +3347,13 @@ var Mn = (
3353
3347
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3354
3348
  var s = i || {};
3355
3349
  s.formatters;
3356
- var a = kr(s, ["formatters"]);
3357
- this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3350
+ var a = Fr(s, ["formatters"]);
3351
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3358
3352
  } else
3359
3353
  this.ast = t;
3360
3354
  if (!Array.isArray(this.ast))
3361
3355
  throw new TypeError("A message must be provided as a String or AST.");
3362
- this.formats = On(e.formats, n), this.formatters = i && i.formatters || Nn(this.formatterCache);
3356
+ this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || In(this.formatterCache);
3363
3357
  }
3364
3358
  return Object.defineProperty(e, "defaultLocale", {
3365
3359
  get: function() {
@@ -3372,7 +3366,7 @@ var Mn = (
3372
3366
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3373
3367
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3374
3368
  }
3375
- }, e.__parse = An, e.formats = {
3369
+ }, e.__parse = Tn, e.formats = {
3376
3370
  number: {
3377
3371
  integer: {
3378
3372
  maximumFractionDigits: 0
@@ -3433,7 +3427,7 @@ var Mn = (
3433
3427
  }, e;
3434
3428
  }()
3435
3429
  );
3436
- function Ln(e, t) {
3430
+ function On(e, t) {
3437
3431
  if (t == null)
3438
3432
  return;
3439
3433
  if (t in e)
@@ -3454,92 +3448,92 @@ function Ln(e, t) {
3454
3448
  n = void 0;
3455
3449
  return n;
3456
3450
  }
3457
- const j = {}, Rn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Xt = (e, t) => {
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) => {
3458
3452
  if (t == null)
3459
3453
  return;
3460
- if (t in j && e in j[t])
3461
- return j[t][e];
3462
- const r = Pe(t);
3454
+ if (t in k && e in k[t])
3455
+ return k[t][e];
3456
+ const r = Ae(t);
3463
3457
  for (let n = 0; n < r.length; n++) {
3464
- const i = r[n], o = Un(i, e);
3458
+ const i = r[n], o = Rn(i, e);
3465
3459
  if (o)
3466
- return Rn(e, t, o);
3460
+ return Mn(e, t, o);
3467
3461
  }
3468
3462
  };
3469
- let Ye;
3470
- const ae = Ae({});
3471
- function $n(e) {
3472
- return Ye[e] || null;
3463
+ let Qe;
3464
+ const se = Te({});
3465
+ function Ln(e) {
3466
+ return Qe[e] || null;
3473
3467
  }
3474
- function zt(e) {
3475
- return e in Ye;
3468
+ function Vt(e) {
3469
+ return e in Qe;
3476
3470
  }
3477
- function Un(e, t) {
3478
- if (!zt(e))
3471
+ function Rn(e, t) {
3472
+ if (!Vt(e))
3479
3473
  return null;
3480
- const r = $n(e);
3481
- return Ln(r, t);
3474
+ const r = Ln(e);
3475
+ return On(r, t);
3482
3476
  }
3483
- function Dn(e) {
3477
+ function $n(e) {
3484
3478
  if (e == null)
3485
3479
  return;
3486
- const t = Pe(e);
3480
+ const t = Ae(e);
3487
3481
  for (let r = 0; r < t.length; r++) {
3488
3482
  const n = t[r];
3489
- if (zt(n))
3483
+ if (Vt(n))
3490
3484
  return n;
3491
3485
  }
3492
3486
  }
3493
- function Wt(e, ...t) {
3494
- delete j[e], ae.update((r) => (r[e] = Gr.all([r[e] || {}, ...t]), r));
3487
+ function Xt(e, ...t) {
3488
+ delete k[e], se.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3495
3489
  }
3496
- se(
3497
- [ae],
3490
+ oe(
3491
+ [se],
3498
3492
  ([e]) => Object.keys(e)
3499
3493
  );
3500
- ae.subscribe((e) => Ye = e);
3494
+ se.subscribe((e) => Qe = e);
3501
3495
  const xe = {};
3502
- function Fn(e, t) {
3496
+ function Un(e, t) {
3503
3497
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3504
3498
  }
3505
- function Zt(e) {
3499
+ function zt(e) {
3506
3500
  return xe[e];
3507
3501
  }
3508
- function Gn(e) {
3509
- return Pe(e).map((t) => {
3510
- const r = Zt(t);
3502
+ function Dn(e) {
3503
+ return Ae(e).map((t) => {
3504
+ const r = zt(t);
3511
3505
  return [t, r ? [...r] : []];
3512
3506
  }).filter(([, t]) => t.length > 0);
3513
3507
  }
3514
- function Je(e) {
3515
- return e == null ? !1 : Pe(e).some(
3508
+ function We(e) {
3509
+ return e == null ? !1 : Ae(e).some(
3516
3510
  (t) => {
3517
3511
  var r;
3518
- return (r = Zt(t)) == null ? void 0 : r.size;
3512
+ return (r = zt(t)) == null ? void 0 : r.size;
3519
3513
  }
3520
3514
  );
3521
3515
  }
3522
- function kn(e, t) {
3516
+ function Fn(e, t) {
3523
3517
  return Promise.all(
3524
- t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
3525
- ).then((n) => Wt(e, ...n));
3526
- }
3527
- const fe = {};
3528
- function Jt(e) {
3529
- if (!Je(e))
3530
- return e in fe ? fe[e] : Promise.resolve();
3531
- const t = Gn(e);
3532
- return fe[e] = Promise.all(
3518
+ t.map((n) => (Un(e, n), n().then((i) => i.default || i)))
3519
+ ).then((n) => Xt(e, ...n));
3520
+ }
3521
+ const ce = {};
3522
+ function Wt(e) {
3523
+ if (!We(e))
3524
+ return e in ce ? ce[e] : Promise.resolve();
3525
+ const t = Dn(e);
3526
+ return ce[e] = Promise.all(
3533
3527
  t.map(
3534
- ([r, n]) => kn(r, n)
3528
+ ([r, n]) => Fn(r, n)
3535
3529
  )
3536
3530
  ).then(() => {
3537
- if (Je(e))
3538
- return Jt(e);
3539
- delete fe[e];
3540
- }), fe[e];
3531
+ if (We(e))
3532
+ return Wt(e);
3533
+ delete ce[e];
3534
+ }), ce[e];
3541
3535
  }
3542
- const jn = {
3536
+ const Gn = {
3543
3537
  number: {
3544
3538
  scientific: { notation: "scientific" },
3545
3539
  engineering: { notation: "engineering" },
@@ -3568,150 +3562,150 @@ const jn = {
3568
3562
  timeZoneName: "short"
3569
3563
  }
3570
3564
  }
3571
- }, Vn = {
3565
+ }, kn = {
3572
3566
  fallbackLocale: null,
3573
3567
  loadingDelay: 200,
3574
- formats: jn,
3568
+ formats: Gn,
3575
3569
  warnOnMissingMessages: !0,
3576
3570
  handleMissingMessage: void 0,
3577
3571
  ignoreTag: !0
3578
- }, Xn = Vn;
3579
- function ie() {
3580
- return Xn;
3572
+ }, jn = kn;
3573
+ function ne() {
3574
+ return jn;
3581
3575
  }
3582
- const Ue = Ae(!1);
3583
- var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
3576
+ 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) => {
3584
3578
  for (var r in t || (t = {}))
3585
- Jn.call(t, r) && bt(e, r, t[r]);
3586
- if (pt)
3587
- for (var r of pt(t))
3588
- Qn.call(t, r) && bt(e, r, t[r]);
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]);
3589
3583
  return e;
3590
- }, Yn = (e, t) => Wn(e, Zn(t));
3591
- let Qe;
3592
- const Te = Ae(null);
3593
- function gt(e) {
3584
+ }, Qn = (e, t) => Xn(e, zn(t));
3585
+ let Ze;
3586
+ const _e = Te(null);
3587
+ function pt(e) {
3594
3588
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3595
3589
  }
3596
- function Pe(e, t = ie().fallbackLocale) {
3597
- const r = gt(e);
3598
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3590
+ function Ae(e, t = ne().fallbackLocale) {
3591
+ const r = pt(e);
3592
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3599
3593
  }
3600
- function Q() {
3601
- return Qe != null ? Qe : void 0;
3594
+ function J() {
3595
+ return Ze != null ? Ze : void 0;
3602
3596
  }
3603
- Te.subscribe((e) => {
3604
- Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3597
+ _e.subscribe((e) => {
3598
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3605
3599
  });
3606
- const Kn = (e) => {
3607
- if (e && Dn(e) && Je(e)) {
3608
- const { loadingDelay: t } = ie();
3600
+ const qn = (e) => {
3601
+ if (e && $n(e) && We(e)) {
3602
+ const { loadingDelay: t } = ne();
3609
3603
  let r;
3610
- return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
3611
- () => Ue.set(!0),
3604
+ return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
3605
+ () => Re.set(!0),
3612
3606
  t
3613
- ) : Ue.set(!0), Jt(e).then(() => {
3614
- Te.set(e);
3607
+ ) : Re.set(!0), Wt(e).then(() => {
3608
+ _e.set(e);
3615
3609
  }).finally(() => {
3616
- clearTimeout(r), Ue.set(!1);
3610
+ clearTimeout(r), Re.set(!1);
3617
3611
  });
3618
3612
  }
3619
- return Te.set(e);
3620
- }, Z = Yn(qn({}, Te), {
3621
- set: Kn
3622
- }), Ce = (e) => {
3613
+ return _e.set(e);
3614
+ }, W = Qn(Jn({}, _e), {
3615
+ set: qn
3616
+ }), we = (e) => {
3623
3617
  const t = /* @__PURE__ */ Object.create(null);
3624
3618
  return (n) => {
3625
3619
  const i = JSON.stringify(n);
3626
3620
  return i in t ? t[i] : t[i] = e(n);
3627
3621
  };
3628
3622
  };
3629
- var ei = Object.defineProperty, He = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
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) => {
3630
3624
  for (var r in t || (t = {}))
3631
- Qt.call(t, r) && vt(e, r, t[r]);
3632
- if (He)
3633
- for (var r of He(t))
3634
- qt.call(t, r) && vt(e, r, t[r]);
3625
+ Zt.call(t, r) && bt(e, r, t[r]);
3626
+ if (Se)
3627
+ for (var r of Se(t))
3628
+ Jt.call(t, r) && bt(e, r, t[r]);
3635
3629
  return e;
3636
- }, ue = (e, t) => {
3630
+ }, ae = (e, t) => {
3637
3631
  var r = {};
3638
3632
  for (var n in e)
3639
- Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3640
- if (e != null && He)
3641
- for (var n of He(e))
3642
- t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3633
+ Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3634
+ if (e != null && Se)
3635
+ for (var n of Se(e))
3636
+ t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3643
3637
  return r;
3644
3638
  };
3645
- const be = (e, t) => {
3646
- const { formats: r } = ie();
3639
+ const pe = (e, t) => {
3640
+ const { formats: r } = ne();
3647
3641
  if (e in r && t in r[e])
3648
3642
  return r[e][t];
3649
3643
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3650
- }, ti = Ce(
3644
+ }, Kn = we(
3651
3645
  (e) => {
3652
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3646
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3653
3647
  if (r == null)
3654
3648
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3655
- return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3649
+ return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
3656
3650
  }
3657
- ), ri = Ce(
3651
+ ), ei = we(
3658
3652
  (e) => {
3659
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3653
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3660
3654
  if (r == null)
3661
3655
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3662
- return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3656
+ return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
3663
3657
  }
3664
- ), ni = Ce(
3658
+ ), ti = we(
3665
3659
  (e) => {
3666
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3660
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3667
3661
  if (r == null)
3668
3662
  throw new Error(
3669
3663
  '[svelte-i18n] A "locale" must be set to format time values'
3670
3664
  );
3671
- return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3665
+ return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
3672
3666
  }
3673
- ), ii = (e = {}) => {
3667
+ ), ri = (e = {}) => {
3674
3668
  var t = e, {
3675
- locale: r = Q()
3676
- } = t, n = ue(t, [
3669
+ locale: r = J()
3670
+ } = t, n = ae(t, [
3677
3671
  "locale"
3678
3672
  ]);
3679
- return ti(Ke({ locale: r }, n));
3680
- }, oi = (e = {}) => {
3673
+ return Kn(qe({ locale: r }, n));
3674
+ }, ni = (e = {}) => {
3681
3675
  var t = e, {
3682
- locale: r = Q()
3683
- } = t, n = ue(t, [
3676
+ locale: r = J()
3677
+ } = t, n = ae(t, [
3684
3678
  "locale"
3685
3679
  ]);
3686
- return ri(Ke({ locale: r }, n));
3687
- }, si = (e = {}) => {
3680
+ return ei(qe({ locale: r }, n));
3681
+ }, ii = (e = {}) => {
3688
3682
  var t = e, {
3689
- locale: r = Q()
3690
- } = t, n = ue(t, [
3683
+ locale: r = J()
3684
+ } = t, n = ae(t, [
3691
3685
  "locale"
3692
3686
  ]);
3693
- return ni(Ke({ locale: r }, n));
3694
- }, ai = Ce(
3687
+ return ti(qe({ locale: r }, n));
3688
+ }, oi = we(
3695
3689
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3696
- (e, t = Q()) => new Mn(e, t, ie().formats, {
3697
- ignoreTag: ie().ignoreTag
3690
+ (e, t = J()) => new Nn(e, t, ne().formats, {
3691
+ ignoreTag: ne().ignoreTag
3698
3692
  })
3699
- ), ui = (e, t = {}) => {
3693
+ ), si = (e, t = {}) => {
3700
3694
  var r, n, i, o;
3701
3695
  let s = t;
3702
3696
  typeof e == "object" && (s = e, e = s.id);
3703
3697
  const {
3704
3698
  values: a,
3705
- locale: l = Q(),
3699
+ locale: l = J(),
3706
3700
  default: u
3707
3701
  } = s;
3708
3702
  if (l == null)
3709
3703
  throw new Error(
3710
3704
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3711
3705
  );
3712
- let h = Xt(e, l);
3706
+ let h = jt(e, l);
3713
3707
  if (!h)
3714
- h = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3708
+ 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;
3715
3709
  else if (typeof h != "string")
3716
3710
  return console.warn(
3717
3711
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3720,7 +3714,7 @@ const be = (e, t) => {
3720
3714
  return h;
3721
3715
  let c = h;
3722
3716
  try {
3723
- c = ai(h, l).format(a);
3717
+ c = oi(h, l).format(a);
3724
3718
  } catch (d) {
3725
3719
  d instanceof Error && console.warn(
3726
3720
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3728,20 +3722,20 @@ const be = (e, t) => {
3728
3722
  );
3729
3723
  }
3730
3724
  return c;
3731
- }, li = (e, t) => si(t).format(e), hi = (e, t) => oi(t).format(e), ci = (e, t) => ii(t).format(e), fi = (e, t = Q()) => Xt(e, t), di = se([Z, ae], () => ui);
3732
- se([Z], () => li);
3733
- se([Z], () => hi);
3734
- se([Z], () => ci);
3735
- se([Z, ae], () => fi);
3736
- function mi({ withLocale: e, translations: t }) {
3737
- Z.subscribe((r) => {
3738
- r == null && (ae.set(t), Z.set(e));
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
+ oe([W], () => ui);
3728
+ oe([W], () => li);
3729
+ oe([W, se], () => hi);
3730
+ function fi({ withLocale: e, translations: t }) {
3731
+ W.subscribe((r) => {
3732
+ r == null && (se.set(t), W.set(e));
3739
3733
  });
3740
3734
  }
3741
- function yt(e, t) {
3742
- Wt(e, t);
3735
+ function gt(e, t) {
3736
+ Xt(e, t);
3743
3737
  }
3744
- const Et = {
3738
+ const vt = {
3745
3739
  en: {
3746
3740
  title: "Please enter the verification code you received on your number",
3747
3741
  errorTitle: "Your code was invalid, you can resend the code and try again",
@@ -3848,13 +3842,13 @@ const Et = {
3848
3842
  loginSMSHint: "A new verification code has been sent to your phone number"
3849
3843
  }
3850
3844
  };
3851
- function pi(e, t) {
3845
+ function di(e, t) {
3852
3846
  if (e) {
3853
3847
  const r = document.createElement("style");
3854
3848
  r.innerHTML = t, e.appendChild(r);
3855
3849
  }
3856
3850
  }
3857
- function bi(e, t) {
3851
+ function mi(e, t) {
3858
3852
  const r = new URL(t);
3859
3853
  fetch(r.href).then((n) => n.text()).then((n) => {
3860
3854
  const i = document.createElement("style");
@@ -3863,7 +3857,7 @@ function bi(e, t) {
3863
3857
  console.error("There was an error while trying to load client styling from URL", n);
3864
3858
  });
3865
3859
  }
3866
- function gi(e, t, r) {
3860
+ function pi(e, t, r) {
3867
3861
  if (window.emMessageBus) {
3868
3862
  const n = document.createElement("style");
3869
3863
  window.emMessageBus.subscribe(t, (i) => {
@@ -3871,10 +3865,10 @@ function gi(e, t, r) {
3871
3865
  });
3872
3866
  }
3873
3867
  }
3874
- function vi(e) {
3875
- or(e, "svelte-c25n4u", "*,*::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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));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))}");
3868
+ function bi(e) {
3869
+ nr(e, "svelte-c25n4u", "*,*::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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));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))}");
3876
3870
  }
3877
- function yi(e) {
3871
+ function gi(e) {
3878
3872
  let t = (
3879
3873
  /*$_*/
3880
3874
  e[5]("errorTitle") + ""
@@ -3884,19 +3878,19 @@ function yi(e) {
3884
3878
  r = M(t);
3885
3879
  },
3886
3880
  m(n, i) {
3887
- J(n, r, i);
3881
+ Z(n, r, i);
3888
3882
  },
3889
3883
  p(n, i) {
3890
3884
  i & /*$_*/
3891
3885
  32 && t !== (t = /*$_*/
3892
- n[5]("errorTitle") + "") && k(r, t);
3886
+ n[5]("errorTitle") + "") && G(r, t);
3893
3887
  },
3894
3888
  d(n) {
3895
- n && V(r);
3889
+ n && j(r);
3896
3890
  }
3897
3891
  };
3898
3892
  }
3899
- function Ei(e) {
3893
+ function vi(e) {
3900
3894
  let t = (
3901
3895
  /*$_*/
3902
3896
  e[5]("title") + ""
@@ -3906,203 +3900,203 @@ function Ei(e) {
3906
3900
  r = M(t);
3907
3901
  },
3908
3902
  m(n, i) {
3909
- J(n, r, i);
3903
+ Z(n, r, i);
3910
3904
  },
3911
3905
  p(n, i) {
3912
3906
  i & /*$_*/
3913
3907
  32 && t !== (t = /*$_*/
3914
- n[5]("title") + "") && k(r, t);
3908
+ n[5]("title") + "") && G(r, t);
3915
3909
  },
3916
3910
  d(n) {
3917
- n && V(r);
3911
+ n && j(r);
3918
3912
  }
3919
3913
  };
3920
3914
  }
3921
- function _t(e) {
3915
+ function yt(e) {
3922
3916
  let t, r = (
3923
3917
  /*$_*/
3924
3918
  e[5]("smsCodeError") + ""
3925
3919
  ), n;
3926
3920
  return {
3927
3921
  c() {
3928
- t = N("p"), n = M(r), A(t, "class", "InvalidInput");
3922
+ t = O("p"), n = M(r), B(t, "class", "InvalidInput");
3929
3923
  },
3930
3924
  m(i, o) {
3931
- J(i, t, o), y(t, n);
3925
+ Z(i, t, o), E(t, n);
3932
3926
  },
3933
3927
  p(i, o) {
3934
3928
  o & /*$_*/
3935
3929
  32 && r !== (r = /*$_*/
3936
- i[5]("smsCodeError") + "") && k(n, r);
3930
+ i[5]("smsCodeError") + "") && G(n, r);
3937
3931
  },
3938
3932
  d(i) {
3939
- i && V(t);
3933
+ i && j(t);
3940
3934
  }
3941
3935
  };
3942
3936
  }
3943
- function xt(e) {
3937
+ function Et(e) {
3944
3938
  let t, r = (
3945
3939
  /*$_*/
3946
3940
  e[5]("resendMessage") + ""
3947
3941
  ), n;
3948
3942
  return {
3949
3943
  c() {
3950
- t = N("p"), n = M(r), A(t, "class", "SmsVerificationResendMessage");
3944
+ t = O("p"), n = M(r), B(t, "class", "SmsVerificationResendMessage");
3951
3945
  },
3952
3946
  m(i, o) {
3953
- J(i, t, o), y(t, n);
3947
+ Z(i, t, o), E(t, n);
3954
3948
  },
3955
3949
  p(i, o) {
3956
3950
  o & /*$_*/
3957
3951
  32 && r !== (r = /*$_*/
3958
- i[5]("resendMessage") + "") && k(n, r);
3952
+ i[5]("resendMessage") + "") && G(n, r);
3959
3953
  },
3960
3954
  d(i) {
3961
- i && V(t);
3955
+ i && j(t);
3962
3956
  }
3963
3957
  };
3964
3958
  }
3965
- function St(e) {
3959
+ function xt(e) {
3966
3960
  let t, r, n = (
3967
3961
  /*secondsLeft*/
3968
3962
  e[4] < 10 ? "0" : ""
3969
3963
  ), i, o, s;
3970
3964
  return {
3971
3965
  c() {
3972
- t = N("span"), r = M("(0:"), i = M(n), o = M(
3966
+ t = O("span"), r = M("(0:"), i = M(n), o = M(
3973
3967
  /*secondsLeft*/
3974
3968
  e[4]
3975
- ), s = M(")"), A(t, "class", "SmsVerificationResendTimer");
3969
+ ), s = M(")"), B(t, "class", "SmsVerificationResendTimer");
3976
3970
  },
3977
3971
  m(a, l) {
3978
- J(a, t, l), y(t, r), y(t, i), y(t, o), y(t, s);
3972
+ Z(a, t, l), E(t, r), E(t, i), E(t, o), E(t, s);
3979
3973
  },
3980
3974
  p(a, l) {
3981
3975
  l & /*secondsLeft*/
3982
3976
  16 && n !== (n = /*secondsLeft*/
3983
- a[4] < 10 ? "0" : "") && k(i, n), l & /*secondsLeft*/
3984
- 16 && k(
3977
+ a[4] < 10 ? "0" : "") && G(i, n), l & /*secondsLeft*/
3978
+ 16 && G(
3985
3979
  o,
3986
3980
  /*secondsLeft*/
3987
3981
  a[4]
3988
3982
  );
3989
3983
  },
3990
3984
  d(a) {
3991
- a && V(t);
3985
+ a && j(t);
3992
3986
  }
3993
3987
  };
3994
3988
  }
3995
- function _i(e) {
3989
+ function yi(e) {
3996
3990
  let t, r, n, i, o, s = (
3997
3991
  /*$_*/
3998
3992
  e[5]("code") + ""
3999
- ), a, l, u, h, c, d, g, v, _, T, H = (
3993
+ ), a, l, u, h, c, d, g, y, _, T, H = (
4000
3994
  /*$_*/
4001
3995
  e[5]("activate") + ""
4002
- ), L, B, x, O = (
3996
+ ), L, A, S, N = (
4003
3997
  /*$_*/
4004
3998
  e[5]("resend") + ""
4005
- ), F, X, le, he;
4006
- function ce(p, C) {
3999
+ ), F, V, ue, le;
4000
+ function he(p, C) {
4007
4001
  return (
4008
4002
  /*isSmsValid*/
4009
- p[2] ? Ei : yi
4003
+ p[2] ? vi : gi
4010
4004
  );
4011
4005
  }
4012
- let z = ce(e), R = z(e), w = !/*isSmsValid*/
4013
- e[2] && _t(e), P = (
4006
+ let X = he(e), R = X(e), w = !/*isSmsValid*/
4007
+ e[2] && yt(e), P = (
4014
4008
  /*timer*/
4015
- e[3] && xt(e)
4009
+ e[3] && Et(e)
4016
4010
  ), f = (
4017
4011
  /*timer*/
4018
- e[3] && St(e)
4012
+ e[3] && xt(e)
4019
4013
  );
4020
4014
  return {
4021
4015
  c() {
4022
- t = N("div"), r = N("h3"), R.c(), n = W(), i = N("div"), o = N("label"), a = M(s), l = M(":"), u = N("span"), u.textContent = "*", h = W(), c = N("input"), d = W(), w && w.c(), v = W(), P && P.c(), _ = W(), T = N("button"), L = M(H), B = W(), x = N("button"), F = M(O), X = W(), 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*/
4023
- e[2] ? "" : "InvalidField")), A(T, "class", "Button SmsVerificationValidate"), A(x, "class", "Button SmsVerificationResend"), x.disabled = /*timer*/
4024
- e[3], A(t, "class", "Container SmsVerificationContainer");
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), A = z(), S = O("button"), F = M(N), V = z(), f && f.c(), B(r, "class", "Title"), B(u, "class", "FormRequired"), B(o, "for", "SmsCode"), B(c, "type", "text"), B(c, "id", "SmsCode"), B(c, "inputmode", "numeric"), B(c, "pattern", "[0-9]*"), B(c, "maxlength", "6"), B(i, "class", g = "Field SmsVerificationField " + (/*isSmsValid*/
4017
+ e[2] ? "" : "InvalidField")), B(T, "class", "Button SmsVerificationValidate"), B(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
4018
+ e[3], B(t, "class", "Container SmsVerificationContainer");
4025
4019
  },
4026
4020
  m(p, C) {
4027
- J(p, t, C), y(t, r), R.m(r, null), y(t, n), y(t, i), y(i, o), y(o, a), y(o, l), y(o, u), y(i, h), y(i, c), it(
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(
4028
4022
  c,
4029
4023
  /*smsCode*/
4030
4024
  e[1]
4031
- ), y(i, d), w && w.m(i, null), y(t, v), P && P.m(t, null), y(t, _), y(t, T), y(T, L), y(t, B), y(t, x), y(x, F), y(x, X), f && f.m(x, null), e[20](t), le || (he = [
4032
- ve(
4025
+ ), E(i, d), w && w.m(i, null), E(t, y), P && P.m(t, null), E(t, _), E(t, T), E(T, L), E(t, A), E(t, S), E(S, F), E(S, V), f && f.m(S, null), e[20](t), ue || (le = [
4026
+ ge(
4033
4027
  c,
4034
4028
  "input",
4035
4029
  /*input_input_handler*/
4036
4030
  e[18]
4037
4031
  ),
4038
- ve(
4032
+ ge(
4039
4033
  c,
4040
4034
  "keydown",
4041
4035
  /*keydown_handler*/
4042
4036
  e[19]
4043
4037
  ),
4044
- ve(
4038
+ ge(
4045
4039
  T,
4046
4040
  "click",
4047
4041
  /*activateUser*/
4048
4042
  e[6]
4049
4043
  ),
4050
- ve(
4051
- x,
4044
+ ge(
4045
+ S,
4052
4046
  "click",
4053
4047
  /*resendCode*/
4054
4048
  e[7]
4055
4049
  )
4056
- ], le = !0);
4050
+ ], ue = !0);
4057
4051
  },
4058
4052
  p(p, [C]) {
4059
- z === (z = ce(p)) && R ? R.p(p, C) : (R.d(1), R = z(p), R && (R.c(), R.m(r, null))), C & /*$_*/
4053
+ X === (X = he(p)) && R ? R.p(p, C) : (R.d(1), R = X(p), R && (R.c(), R.m(r, null))), C & /*$_*/
4060
4054
  32 && s !== (s = /*$_*/
4061
- p[5]("code") + "") && k(a, s), C & /*smsCode*/
4055
+ p[5]("code") + "") && G(a, s), C & /*smsCode*/
4062
4056
  2 && c.value !== /*smsCode*/
4063
- p[1] && it(
4057
+ p[1] && rt(
4064
4058
  c,
4065
4059
  /*smsCode*/
4066
4060
  p[1]
4067
4061
  ), /*isSmsValid*/
4068
- p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = _t(p), w.c(), w.m(i, null)), C & /*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*/
4069
4063
  4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
4070
- p[2] ? "" : "InvalidField")) && A(i, "class", g), /*timer*/
4071
- p[3] ? P ? P.p(p, C) : (P = xt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4064
+ p[2] ? "" : "InvalidField")) && B(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 & /*$_*/
4072
4066
  32 && H !== (H = /*$_*/
4073
- p[5]("activate") + "") && k(L, H), C & /*$_*/
4074
- 32 && O !== (O = /*$_*/
4075
- p[5]("resend") + "") && k(F, O), /*timer*/
4076
- p[3] ? f ? f.p(p, C) : (f = St(p), f.c(), f.m(x, null)) : f && (f.d(1), f = null), C & /*timer*/
4077
- 8 && (x.disabled = /*timer*/
4067
+ p[5]("activate") + "") && G(L, H), C & /*$_*/
4068
+ 32 && N !== (N = /*$_*/
4069
+ 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*/
4071
+ 8 && (S.disabled = /*timer*/
4078
4072
  p[3]);
4079
4073
  },
4080
4074
  i: D,
4081
4075
  o: D,
4082
4076
  d(p) {
4083
- p && V(t), R.d(), w && w.d(), P && P.d(), f && f.d(), e[20](null), le = !1, oe(he);
4077
+ p && j(t), R.d(), w && w.d(), P && P.d(), f && f.d(), e[20](null), ue = !1, ie(le);
4084
4078
  }
4085
4079
  };
4086
4080
  }
4087
- function xi(e, t, r) {
4081
+ function Ei(e, t, r) {
4088
4082
  let n;
4089
- ir(e, di, (f) => r(5, n = f));
4090
- 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, v = !0, _ = !1, T, H, L = +localStorage.getItem("smsTimer") || 0, B = Date.now() / 1e3 - L, x = 60 - Math.floor(B);
4091
- const O = { numeric: /^[0-9]{0,6}$/ };
4092
- mi({ withLocale: "en", translations: {} });
4083
+ rr(e, ci, (f) => r(5, n = f));
4084
+ 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, A = Date.now() / 1e3 - L, S = 60 - Math.floor(A);
4085
+ const N = { numeric: /^[0-9]{0,6}$/ };
4086
+ fi({ withLocale: "en", translations: {} });
4093
4087
  const F = () => {
4094
4088
  fetch(d).then((p) => p.json()).then((p) => {
4095
4089
  Object.keys(p).forEach((C) => {
4096
- yt(C, p[C]);
4090
+ gt(C, p[C]);
4097
4091
  });
4098
4092
  }).catch((p) => {
4099
4093
  console.log(p);
4100
4094
  });
4101
4095
  };
4102
- Object.keys(Et).forEach((f) => {
4103
- yt(f, Et[f]);
4096
+ Object.keys(vt).forEach((f) => {
4097
+ gt(f, vt[f]);
4104
4098
  });
4105
- const X = () => ge(this, null, function* () {
4099
+ const V = () => be(this, null, function* () {
4106
4100
  try {
4107
4101
  if ((yield fetch(`${i}/v1/player/${s}/activateSMS?tokenId=${o}&validationCode=${g}`, {
4108
4102
  headers: {
@@ -4110,7 +4104,7 @@ function xi(e, t, r) {
4110
4104
  accept: "application/json"
4111
4105
  }
4112
4106
  })).ok)
4113
- r(2, v = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
4107
+ r(2, y = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
4114
4108
  else
4115
4109
  throw window.postMessage(
4116
4110
  {
@@ -4121,12 +4115,12 @@ function xi(e, t, r) {
4121
4115
  }
4122
4116
  },
4123
4117
  window.location.href
4124
- ), r(2, v = !1), new Error("Could not activate user");
4118
+ ), r(2, y = !1), new Error("Could not activate user");
4125
4119
  } catch (f) {
4126
4120
  console.log(f);
4127
4121
  }
4128
- }), le = () => ge(this, null, function* () {
4129
- localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), ce();
4122
+ }), ue = () => be(this, null, function* () {
4123
+ localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), he();
4130
4124
  try {
4131
4125
  const f = yield fetch(`${i}/v1/player/sms/token`, {
4132
4126
  method: "POST",
@@ -4141,38 +4135,38 @@ function xi(e, t, r) {
4141
4135
  })
4142
4136
  }), p = yield f.json();
4143
4137
  if (f.ok)
4144
- r(9, o = p.id), _ = !1, he();
4138
+ r(9, o = p.id), _ = !1, le();
4145
4139
  else
4146
4140
  throw _ = !0, new Error("Failed to fetch");
4147
4141
  } catch (f) {
4148
4142
  _ = !0, console.error(f);
4149
4143
  }
4150
- }), he = () => {
4151
- x > 0 ? r(4, x--, x) : (clearInterval(T), r(3, T = !1), r(4, x = 60));
4152
- }, ce = () => {
4153
- B < 60 && r(3, T = setInterval(
4144
+ }), le = () => {
4145
+ S > 0 ? r(4, S--, S) : (clearInterval(T), r(3, T = !1), r(4, S = 60));
4146
+ }, he = () => {
4147
+ A < 60 && r(3, T = setInterval(
4154
4148
  () => {
4155
- he();
4149
+ le();
4156
4150
  },
4157
4151
  1e3
4158
4152
  ));
4159
- }, z = (f) => {
4160
- !O.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4153
+ }, X = (f) => {
4154
+ !N.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4161
4155
  };
4162
- cr(() => {
4156
+ lr(() => {
4163
4157
  if (!s || !l) {
4164
4158
  let f = JSON.parse(localStorage.getItem("playerData"));
4165
4159
  r(10, s = f.playerid), r(11, l = f.number);
4166
4160
  }
4167
- return ce(), () => {
4161
+ return he(), () => {
4168
4162
  };
4169
4163
  });
4170
4164
  function R() {
4171
4165
  g = this.value, r(1, g);
4172
4166
  }
4173
- const w = (f) => z(f);
4167
+ const w = (f) => X(f);
4174
4168
  function P(f) {
4175
- De[f ? "unshift" : "push"](() => {
4169
+ $e[f ? "unshift" : "push"](() => {
4176
4170
  H = f, r(0, H);
4177
4171
  });
4178
4172
  }
@@ -4181,20 +4175,20 @@ function xi(e, t, r) {
4181
4175
  }, e.$$.update = () => {
4182
4176
  e.$$.dirty & /*tokenid, playerid, endpoint*/
4183
4177
  5632, e.$$.dirty & /*clientstyling, customStylingContainer*/
4184
- 32769 && h && H && pi(H, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4185
- 65537 && c && H && bi(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4186
- 16385 && u && H && gi(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
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*/
4187
4181
  131072 && d && F();
4188
4182
  }, [
4189
4183
  H,
4190
4184
  g,
4191
- v,
4185
+ y,
4192
4186
  T,
4193
- x,
4187
+ S,
4194
4188
  n,
4189
+ V,
4190
+ ue,
4195
4191
  X,
4196
- le,
4197
- z,
4198
4192
  o,
4199
4193
  s,
4200
4194
  l,
@@ -4209,14 +4203,14 @@ function xi(e, t, r) {
4209
4203
  P
4210
4204
  ];
4211
4205
  }
4212
- class Si extends Sr {
4206
+ class xi extends xr {
4213
4207
  constructor(t) {
4214
- super(), _r(
4208
+ super(), yr(
4215
4209
  this,
4216
4210
  t,
4217
- xi,
4218
- _i,
4219
- Ht,
4211
+ Ei,
4212
+ yi,
4213
+ St,
4220
4214
  {
4221
4215
  endpoint: 12,
4222
4216
  tokenid: 9,
@@ -4228,7 +4222,7 @@ class Si extends Sr {
4228
4222
  clientstylingurl: 16,
4229
4223
  translationurl: 17
4230
4224
  },
4231
- vi
4225
+ bi
4232
4226
  );
4233
4227
  }
4234
4228
  get endpoint() {
@@ -4286,7 +4280,7 @@ class Si extends Sr {
4286
4280
  this.$$set({ translationurl: t }), U();
4287
4281
  }
4288
4282
  }
4289
- xr(Si, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4283
+ Er(xi, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4290
4284
  export {
4291
- Si as default
4285
+ xi as default
4292
4286
  };