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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function U() {
2
2
  }
3
- function bt(e) {
3
+ function vt(e) {
4
4
  return e();
5
5
  }
6
- function Je() {
6
+ function qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ne(e) {
10
- e.forEach(bt);
9
+ function ie(e) {
10
+ e.forEach(vt);
11
11
  }
12
- function ze(e) {
12
+ function Ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function gt(e, t) {
15
+ function yt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Vt(e) {
18
+ function zt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function vt(e, ...t) {
21
+ function Et(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function vt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Xt(e, t, r) {
31
- e.$$.on_destroy.push(vt(t, r));
30
+ function Wt(e, t, r) {
31
+ e.$$.on_destroy.push(Et(t, r));
32
32
  }
33
- function E(e, t) {
33
+ function y(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function zt(e, t, r) {
37
- const n = Wt(e);
36
+ function Zt(e, t, r) {
37
+ const n = Jt(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = O("style");
40
- i.id = t, i.textContent = r, Zt(n, i);
39
+ const i = N("style");
40
+ i.id = t, i.textContent = r, Qt(n, i);
41
41
  }
42
42
  }
43
- function Wt(e) {
43
+ function Jt(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,45 +50,45 @@ function Wt(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Zt(e, t) {
54
- return E(
53
+ function Qt(e, t) {
54
+ return y(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function W(e, t, r) {
60
+ function Z(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function k(e) {
63
+ function j(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function O(e) {
66
+ function N(e) {
67
67
  return document.createElement(e);
68
68
  }
69
69
  function M(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function X() {
72
+ function z() {
73
73
  return M(" ");
74
74
  }
75
- function pe(e, t, r, n) {
75
+ function be(e, t, r, n) {
76
76
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
77
77
  }
78
- function B(e, t, r) {
78
+ function A(e, t, r) {
79
79
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
80
80
  }
81
- function Jt(e) {
81
+ function qt(e) {
82
82
  return Array.from(e.childNodes);
83
83
  }
84
- function F(e, t) {
84
+ function G(e, t) {
85
85
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
86
86
  t);
87
87
  }
88
- function Qe(e, t) {
88
+ function Ye(e, t) {
89
89
  e.value = t ?? "";
90
90
  }
91
- function Qt(e) {
91
+ function Yt(e) {
92
92
  const t = {};
93
93
  return e.childNodes.forEach(
94
94
  /** @param {Element} node */
@@ -97,87 +97,87 @@ function Qt(e) {
97
97
  }
98
98
  ), t;
99
99
  }
100
- let fe;
101
- function ce(e) {
102
- fe = e;
100
+ let de;
101
+ function fe(e) {
102
+ de = e;
103
103
  }
104
- function qt() {
105
- if (!fe)
104
+ function Kt() {
105
+ if (!de)
106
106
  throw new Error("Function called outside component initialization");
107
- return fe;
107
+ return de;
108
108
  }
109
- function Yt(e) {
110
- qt().$$.on_mount.push(e);
109
+ function er(e) {
110
+ Kt().$$.on_mount.push(e);
111
111
  }
112
- const q = [], Me = [];
113
- let Y = [];
114
- const qe = [], Kt = /* @__PURE__ */ Promise.resolve();
115
- let Le = !1;
116
- function er() {
117
- Le || (Le = !0, Kt.then($));
112
+ const Y = [], Re = [];
113
+ let K = [];
114
+ const Ke = [], tr = /* @__PURE__ */ Promise.resolve();
115
+ let $e = !1;
116
+ function rr() {
117
+ $e || ($e = !0, tr.then($));
118
118
  }
119
- function Re(e) {
120
- Y.push(e);
119
+ function Ue(e) {
120
+ K.push(e);
121
121
  }
122
- const Ae = /* @__PURE__ */ new Set();
123
- let J = 0;
122
+ const Pe = /* @__PURE__ */ new Set();
123
+ let Q = 0;
124
124
  function $() {
125
- if (J !== 0)
125
+ if (Q !== 0)
126
126
  return;
127
- const e = fe;
127
+ const e = de;
128
128
  do {
129
129
  try {
130
- for (; J < q.length; ) {
131
- const t = q[J];
132
- J++, ce(t), tr(t.$$);
130
+ for (; Q < Y.length; ) {
131
+ const t = Y[Q];
132
+ Q++, fe(t), nr(t.$$);
133
133
  }
134
134
  } catch (t) {
135
- throw q.length = 0, J = 0, t;
135
+ throw Y.length = 0, Q = 0, t;
136
136
  }
137
- for (ce(null), q.length = 0, J = 0; Me.length; )
138
- Me.pop()();
139
- for (let t = 0; t < Y.length; t += 1) {
140
- const r = Y[t];
141
- Ae.has(r) || (Ae.add(r), r());
137
+ for (fe(null), Y.length = 0, Q = 0; Re.length; )
138
+ Re.pop()();
139
+ for (let t = 0; t < K.length; t += 1) {
140
+ const r = K[t];
141
+ Pe.has(r) || (Pe.add(r), r());
142
142
  }
143
- Y.length = 0;
144
- } while (q.length);
145
- for (; qe.length; )
146
- qe.pop()();
147
- Le = !1, Ae.clear(), ce(e);
143
+ K.length = 0;
144
+ } while (Y.length);
145
+ for (; Ke.length; )
146
+ Ke.pop()();
147
+ $e = !1, Pe.clear(), fe(e);
148
148
  }
149
- function tr(e) {
149
+ function nr(e) {
150
150
  if (e.fragment !== null) {
151
- e.update(), ne(e.before_update);
151
+ e.update(), ie(e.before_update);
152
152
  const t = e.dirty;
153
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
153
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
154
154
  }
155
155
  }
156
- function rr(e) {
156
+ function ir(e) {
157
157
  const t = [], r = [];
158
- Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
158
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
159
159
  }
160
- const nr = /* @__PURE__ */ new Set();
161
- function ir(e, t) {
162
- e && e.i && (nr.delete(e), e.i(t));
160
+ const or = /* @__PURE__ */ new Set();
161
+ function sr(e, t) {
162
+ e && e.i && (or.delete(e), e.i(t));
163
163
  }
164
- function or(e, t, r) {
164
+ function ar(e, t, r) {
165
165
  const { fragment: n, after_update: i } = e.$$;
166
- n && n.m(t, r), Re(() => {
167
- const o = e.$$.on_mount.map(bt).filter(ze);
168
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
169
- }), i.forEach(Re);
166
+ n && n.m(t, r), Ue(() => {
167
+ const o = e.$$.on_mount.map(vt).filter(Ze);
168
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
169
+ }), i.forEach(Ue);
170
170
  }
171
- function sr(e, t) {
171
+ function ur(e, t) {
172
172
  const r = e.$$;
173
- r.fragment !== null && (rr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (ir(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
174
  }
175
- function ar(e, t) {
176
- e.$$.dirty[0] === -1 && (q.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function lr(e, t) {
176
+ e.$$.dirty[0] === -1 && (Y.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
177
  }
178
- function ur(e, t, r, n, i, o, a = null, s = [-1]) {
179
- const h = fe;
180
- ce(e);
178
+ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
179
+ const h = de;
180
+ fe(e);
181
181
  const u = e.$$ = {
182
182
  fragment: null,
183
183
  ctx: [],
@@ -185,7 +185,7 @@ function ur(e, t, r, n, i, o, a = null, s = [-1]) {
185
185
  props: o,
186
186
  update: U,
187
187
  not_equal: i,
188
- bound: Je(),
188
+ bound: qe(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,7 +194,7 @@ function ur(e, t, r, n, i, o, a = null, s = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(t.context || (h ? h.$$.context : [])),
196
196
  // everything else
197
- callbacks: Je(),
197
+ callbacks: qe(),
198
198
  dirty: s,
199
199
  skip_bound: !1,
200
200
  root: t.target || h.$$.root
@@ -202,20 +202,20 @@ function ur(e, t, r, n, i, o, a = null, s = [-1]) {
202
202
  a && a(u.root);
203
203
  let l = !1;
204
204
  if (u.ctx = r ? r(e, t.props || {}, (c, d, ...g) => {
205
- const y = g.length ? g[0] : d;
206
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ar(e, c)), d;
207
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
205
+ const v = g.length ? g[0] : d;
206
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && lr(e, c)), d;
207
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
208
  if (t.hydrate) {
209
- const c = Jt(t.target);
210
- u.fragment && u.fragment.l(c), c.forEach(k);
209
+ const c = qt(t.target);
210
+ u.fragment && u.fragment.l(c), c.forEach(j);
211
211
  } else
212
212
  u.fragment && u.fragment.c();
213
- t.intro && ir(e.$$.fragment), or(e, t.target, t.anchor), $();
213
+ t.intro && sr(e.$$.fragment), ar(e, t.target, t.anchor), $();
214
214
  }
215
- ce(h);
215
+ fe(h);
216
216
  }
217
- let yt;
218
- typeof HTMLElement == "function" && (yt = class extends HTMLElement {
217
+ let _t;
218
+ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -257,29 +257,29 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
257
257
  let o;
258
258
  return {
259
259
  c: function() {
260
- o = O("slot"), i !== "default" && B(o, "name", i);
260
+ o = N("slot"), i !== "default" && A(o, "name", i);
261
261
  },
262
262
  /**
263
263
  * @param {HTMLElement} target
264
264
  * @param {HTMLElement} [anchor]
265
265
  */
266
266
  m: function(h, u) {
267
- W(h, o, u);
267
+ Z(h, o, u);
268
268
  },
269
269
  d: function(h) {
270
- h && k(o);
270
+ h && j(o);
271
271
  }
272
272
  };
273
273
  };
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const t = {}, r = Qt(this);
277
+ const t = {}, r = Yt(this);
278
278
  for (const i of this.$$s)
279
279
  i in r && (t[i] = [e(i)]);
280
280
  for (const i of this.attributes) {
281
281
  const o = this.$$g_p(i.name);
282
- o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
282
+ o in this.$$d || (this.$$d[o] = ve(o, i.value, this.$$p_d, "toProp"));
283
283
  }
284
284
  for (const i in this.$$p_d)
285
285
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
297
297
  this.$$r = !0;
298
298
  for (const i in this.$$p_d)
299
299
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
300
- const o = ge(
300
+ const o = ve(
301
301
  i,
302
302
  this.$$d[i],
303
303
  this.$$p_d,
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
319
319
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
320
320
  // and setting attributes through setAttribute etc, this is helpful
321
321
  attributeChangedCallback(e, t, r) {
322
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
322
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
323
323
  }
324
324
  disconnectedCallback() {
325
325
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
332
332
  ) || e;
333
333
  }
334
334
  });
335
- function ge(e, t, r, n) {
335
+ function ve(e, t, r, n) {
336
336
  const i = r[e]?.type;
337
337
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
338
338
  return t;
@@ -361,8 +361,8 @@ function ge(e, t, r, n) {
361
361
  return t;
362
362
  }
363
363
  }
364
- function lr(e, t, r, n, i, o) {
365
- let a = class extends yt {
364
+ function cr(e, t, r, n, i, o) {
365
+ let a = class extends _t {
366
366
  constructor() {
367
367
  super(e, r, i), this.$$p_d = t;
368
368
  }
@@ -378,7 +378,7 @@ function lr(e, t, r, n, i, o) {
378
378
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
379
379
  },
380
380
  set(h) {
381
- h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
381
+ h = ve(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
382
382
  }
383
383
  });
384
384
  }), n.forEach((s) => {
@@ -390,7 +390,7 @@ function lr(e, t, r, n, i, o) {
390
390
  }), e.element = /** @type {any} */
391
391
  a, a;
392
392
  }
393
- class hr {
393
+ class fr {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class hr {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- sr(this, 1), this.$destroy = U;
412
+ ur(this, 1), this.$destroy = U;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -418,7 +418,7 @@ class hr {
418
418
  * @returns {() => void}
419
419
  */
420
420
  $on(t, r) {
421
- if (!ze(r))
421
+ if (!Ze(r))
422
422
  return U;
423
423
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
424
424
  return n.push(r), () => {
@@ -431,29 +431,29 @@ class hr {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(t) {
434
- this.$$set && !Vt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const cr = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cr);
439
- const Q = [];
440
- function fr(e, t) {
437
+ const dr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
439
+ const q = [];
440
+ function mr(e, t) {
441
441
  return {
442
- subscribe: _e(e, t).subscribe
442
+ subscribe: Te(e, t).subscribe
443
443
  };
444
444
  }
445
- function _e(e, t = U) {
445
+ function Te(e, t = U) {
446
446
  let r;
447
447
  const n = /* @__PURE__ */ new Set();
448
448
  function i(s) {
449
- if (gt(e, s) && (e = s, r)) {
450
- const h = !Q.length;
449
+ if (yt(e, s) && (e = s, r)) {
450
+ const h = !q.length;
451
451
  for (const u of n)
452
- u[1](), Q.push(u, e);
452
+ u[1](), q.push(u, e);
453
453
  if (h) {
454
- for (let u = 0; u < Q.length; u += 2)
455
- Q[u][0](Q[u + 1]);
456
- Q.length = 0;
454
+ for (let u = 0; u < q.length; u += 2)
455
+ q[u][0](q[u + 1]);
456
+ q.length = 0;
457
457
  }
458
458
  }
459
459
  }
@@ -468,12 +468,12 @@ function _e(e, t = U) {
468
468
  }
469
469
  return { set: i, update: o, subscribe: a };
470
470
  }
471
- function ie(e, t, r) {
471
+ function oe(e, t, r) {
472
472
  const n = !Array.isArray(e), i = n ? [e] : e;
473
473
  if (!i.every(Boolean))
474
474
  throw new Error("derived() expects stores as input, got a falsy value");
475
475
  const o = t.length < 2;
476
- return fr(r, (a, s) => {
476
+ return mr(r, (a, s) => {
477
477
  let h = !1;
478
478
  const u = [];
479
479
  let l = 0, c = U;
@@ -481,11 +481,11 @@ function ie(e, t, r) {
481
481
  if (l)
482
482
  return;
483
483
  c();
484
- const y = t(n ? u[0] : u, a, s);
485
- o ? a(y) : c = ze(y) ? y : U;
484
+ const v = t(n ? u[0] : u, a, s);
485
+ o ? a(v) : c = Ze(v) ? v : U;
486
486
  }, g = i.map(
487
- (y, _) => vt(
488
- y,
487
+ (v, _) => Et(
488
+ v,
489
489
  (T) => {
490
490
  u[_] = T, l &= ~(1 << _), h && d();
491
491
  },
@@ -495,126 +495,112 @@ function ie(e, t, r) {
495
495
  )
496
496
  );
497
497
  return h = !0, d(), function() {
498
- ne(g), c(), h = !1;
498
+ ie(g), c(), h = !1;
499
499
  };
500
500
  });
501
501
  }
502
- function dr(e) {
502
+ function pr(e) {
503
503
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
504
504
  }
505
- var mr = function(t) {
506
- return pr(t) && !br(t);
505
+ var br = function(t) {
506
+ return gr(t) && !vr(t);
507
507
  };
508
- function pr(e) {
508
+ function gr(e) {
509
509
  return !!e && typeof e == "object";
510
510
  }
511
- function br(e) {
511
+ function vr(e) {
512
512
  var t = Object.prototype.toString.call(e);
513
- return t === "[object RegExp]" || t === "[object Date]" || yr(e);
513
+ return t === "[object RegExp]" || t === "[object Date]" || _r(e);
514
514
  }
515
- var gr = typeof Symbol == "function" && Symbol.for, vr = gr ? Symbol.for("react.element") : 60103;
516
- function yr(e) {
517
- return e.$$typeof === vr;
515
+ var yr = typeof Symbol == "function" && Symbol.for, Er = yr ? Symbol.for("react.element") : 60103;
516
+ function _r(e) {
517
+ return e.$$typeof === Er;
518
518
  }
519
- function Er(e) {
519
+ function xr(e) {
520
520
  return Array.isArray(e) ? [] : {};
521
521
  }
522
- function de(e, t) {
523
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Er(e), e, t) : e;
522
+ function me(e, t) {
523
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(xr(e), e, t) : e;
524
524
  }
525
- function xr(e, t, r) {
525
+ function Sr(e, t, r) {
526
526
  return e.concat(t).map(function(n) {
527
- return de(n, r);
527
+ return me(n, r);
528
528
  });
529
529
  }
530
- function _r(e, t) {
530
+ function Tr(e, t) {
531
531
  if (!t.customMerge)
532
- return K;
532
+ return ee;
533
533
  var r = t.customMerge(e);
534
- return typeof r == "function" ? r : K;
534
+ return typeof r == "function" ? r : ee;
535
535
  }
536
- function Sr(e) {
536
+ function Hr(e) {
537
537
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
538
538
  return Object.propertyIsEnumerable.call(e, t);
539
539
  }) : [];
540
540
  }
541
- function Ye(e) {
542
- return Object.keys(e).concat(Sr(e));
541
+ function et(e) {
542
+ return Object.keys(e).concat(Hr(e));
543
543
  }
544
- function Et(e, t) {
544
+ function xt(e, t) {
545
545
  try {
546
546
  return t in e;
547
547
  } catch {
548
548
  return !1;
549
549
  }
550
550
  }
551
- function Tr(e, t) {
552
- return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
551
+ function Ar(e, t) {
552
+ return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
553
553
  }
554
- function Hr(e, t, r) {
554
+ function Br(e, t, r) {
555
555
  var n = {};
556
- return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
557
- n[i] = de(e[i], r);
558
- }), Ye(t).forEach(function(i) {
559
- Tr(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = _r(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
556
+ return r.isMergeableObject(e) && et(e).forEach(function(i) {
557
+ n[i] = me(e[i], r);
558
+ }), et(t).forEach(function(i) {
559
+ Ar(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
560
560
  }), n;
561
561
  }
562
- function K(e, t, r) {
563
- r = r || {}, r.arrayMerge = r.arrayMerge || xr, r.isMergeableObject = r.isMergeableObject || mr, r.cloneUnlessOtherwiseSpecified = de;
562
+ function ee(e, t, r) {
563
+ r = r || {}, r.arrayMerge = r.arrayMerge || Sr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = me;
564
564
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
565
- return o ? n ? r.arrayMerge(e, t, r) : Hr(e, t, r) : de(t, r);
565
+ return o ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : me(t, r);
566
566
  }
567
- K.all = function(t, r) {
567
+ ee.all = function(t, r) {
568
568
  if (!Array.isArray(t))
569
569
  throw new Error("first argument should be an array");
570
570
  return t.reduce(function(n, i) {
571
- return K(n, i, r);
571
+ return ee(n, i, r);
572
572
  }, {});
573
573
  };
574
- var Br = K, Ar = Br;
575
- const wr = /* @__PURE__ */ dr(Ar);
576
- /*! *****************************************************************************
577
- Copyright (c) Microsoft Corporation.
578
-
579
- Permission to use, copy, modify, and/or distribute this software for any
580
- purpose with or without fee is hereby granted.
581
-
582
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
583
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
584
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
585
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
586
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
587
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
588
- PERFORMANCE OF THIS SOFTWARE.
589
- ***************************************************************************** */
590
- var $e = function(e, t) {
591
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
574
+ var wr = ee, Pr = wr;
575
+ const Cr = /* @__PURE__ */ pr(Pr);
576
+ var De = function(e, t) {
577
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
592
578
  r.__proto__ = n;
593
579
  } || function(r, n) {
594
580
  for (var i in n)
595
581
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
596
- }, $e(e, t);
582
+ }, De(e, t);
597
583
  };
598
- function Se(e, t) {
584
+ function He(e, t) {
599
585
  if (typeof t != "function" && t !== null)
600
586
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
601
- $e(e, t);
587
+ De(e, t);
602
588
  function r() {
603
589
  this.constructor = e;
604
590
  }
605
591
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
606
592
  }
607
- var v = function() {
608
- return v = Object.assign || function(t) {
593
+ var F = function() {
594
+ return F = Object.assign || function(t) {
609
595
  for (var r, n = 1, i = arguments.length; n < i; n++) {
610
596
  r = arguments[n];
611
597
  for (var o in r)
612
598
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
613
599
  }
614
600
  return t;
615
- }, v.apply(this, arguments);
601
+ }, F.apply(this, arguments);
616
602
  };
617
- function Pr(e, t) {
603
+ function Ir(e, t) {
618
604
  var r = {};
619
605
  for (var n in e)
620
606
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -623,43 +609,43 @@ function Pr(e, t) {
623
609
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
624
610
  return r;
625
611
  }
626
- function we(e, t, r) {
627
- if (arguments.length === 2)
612
+ function Ce(e, t, r) {
613
+ if (r || arguments.length === 2)
628
614
  for (var n = 0, i = t.length, o; n < i; n++)
629
615
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
630
- return e.concat(o || t);
616
+ return e.concat(o || Array.prototype.slice.call(t));
631
617
  }
632
- function Pe(e, t) {
633
- var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Nr;
618
+ function Ie(e, t) {
619
+ var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Mr;
634
620
  return i(e, {
635
621
  cache: r,
636
622
  serializer: n
637
623
  });
638
624
  }
639
- function Cr(e) {
625
+ function Or(e) {
640
626
  return e == null || typeof e == "number" || typeof e == "boolean";
641
627
  }
642
- function Ir(e, t, r, n) {
643
- var i = Cr(n) ? n : r(n), o = t.get(i);
628
+ function Nr(e, t, r, n) {
629
+ var i = Or(n) ? n : r(n), o = t.get(i);
644
630
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
645
631
  }
646
- function xt(e, t, r) {
632
+ function St(e, t, r) {
647
633
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
648
634
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
649
635
  }
650
- function _t(e, t, r, n, i) {
636
+ function Tt(e, t, r, n, i) {
651
637
  return r.bind(t, e, n, i);
652
638
  }
653
- function Nr(e, t) {
654
- var r = e.length === 1 ? Ir : xt;
655
- return _t(e, this, r, t.cache.create(), t.serializer);
639
+ function Mr(e, t) {
640
+ var r = e.length === 1 ? Nr : St;
641
+ return Tt(e, this, r, t.cache.create(), t.serializer);
656
642
  }
657
- function Or(e, t) {
658
- return _t(e, this, xt, t.cache.create(), t.serializer);
643
+ function Lr(e, t) {
644
+ return Tt(e, this, St, t.cache.create(), t.serializer);
659
645
  }
660
- var Mr = function() {
646
+ var Rr = function() {
661
647
  return JSON.stringify(arguments);
662
- }, Lr = (
648
+ }, $r = (
663
649
  /** @class */
664
650
  function() {
665
651
  function e() {
@@ -671,61 +657,71 @@ var Mr = function() {
671
657
  this.cache[t] = r;
672
658
  }, e;
673
659
  }()
674
- ), Rr = {
660
+ ), Ur = {
675
661
  create: function() {
676
- return new Lr();
662
+ return new $r();
677
663
  }
678
- }, Ce = {
679
- variadic: Or
680
- }, m;
664
+ }, Oe = {
665
+ variadic: Lr
666
+ }, _e = function() {
667
+ return _e = Object.assign || function(t) {
668
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
669
+ r = arguments[n];
670
+ for (var o in r)
671
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
672
+ }
673
+ return t;
674
+ }, _e.apply(this, arguments);
675
+ };
676
+ var m;
681
677
  (function(e) {
682
678
  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";
683
679
  })(m || (m = {}));
684
- var x;
680
+ var E;
685
681
  (function(e) {
686
682
  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";
687
- })(x || (x = {}));
688
- var ee;
683
+ })(E || (E = {}));
684
+ var te;
689
685
  (function(e) {
690
686
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
691
- })(ee || (ee = {}));
692
- function Ke(e) {
693
- return e.type === x.literal;
694
- }
695
- function $r(e) {
696
- return e.type === x.argument;
697
- }
698
- function St(e) {
699
- return e.type === x.number;
687
+ })(te || (te = {}));
688
+ function tt(e) {
689
+ return e.type === E.literal;
700
690
  }
701
- function Tt(e) {
702
- return e.type === x.date;
691
+ function Dr(e) {
692
+ return e.type === E.argument;
703
693
  }
704
694
  function Ht(e) {
705
- return e.type === x.time;
706
- }
707
- function Bt(e) {
708
- return e.type === x.select;
695
+ return e.type === E.number;
709
696
  }
710
697
  function At(e) {
711
- return e.type === x.plural;
698
+ return e.type === E.date;
712
699
  }
713
- function Ur(e) {
714
- return e.type === x.pound;
700
+ function Bt(e) {
701
+ return e.type === E.time;
715
702
  }
716
703
  function wt(e) {
717
- return e.type === x.tag;
704
+ return e.type === E.select;
718
705
  }
719
706
  function Pt(e) {
720
- return !!(e && typeof e == "object" && e.type === ee.number);
707
+ return e.type === E.plural;
721
708
  }
722
- function Ue(e) {
723
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
724
- }
725
- var Ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
726
709
  function Fr(e) {
710
+ return e.type === E.pound;
711
+ }
712
+ function Ct(e) {
713
+ return e.type === E.tag;
714
+ }
715
+ function It(e) {
716
+ return !!(e && typeof e == "object" && e.type === te.number);
717
+ }
718
+ function Fe(e) {
719
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
720
+ }
721
+ var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
722
+ function kr(e) {
727
723
  var t = {};
728
- return e.replace(Dr, function(r) {
724
+ return e.replace(Gr, function(r) {
729
725
  var n = r.length;
730
726
  switch (r[0]) {
731
727
  case "G":
@@ -814,11 +810,21 @@ function Fr(e) {
814
810
  return "";
815
811
  }), t;
816
812
  }
817
- var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
818
- function kr(e) {
813
+ var S = function() {
814
+ return S = Object.assign || function(t) {
815
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
816
+ r = arguments[n];
817
+ for (var o in r)
818
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
819
+ }
820
+ return t;
821
+ }, S.apply(this, arguments);
822
+ };
823
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
824
+ function Vr(e) {
819
825
  if (e.length === 0)
820
826
  throw new Error("Number skeleton cannot be empty");
821
- for (var t = e.split(Gr).filter(function(d) {
827
+ for (var t = e.split(jr).filter(function(d) {
822
828
  return d.length > 0;
823
829
  }), r = [], n = 0, i = t; n < i.length; n++) {
824
830
  var o = i[n], a = o.split("/");
@@ -833,17 +839,17 @@ function kr(e) {
833
839
  }
834
840
  return r;
835
841
  }
836
- function jr(e) {
842
+ function Xr(e) {
837
843
  return e.replace(/^(.*?)-/, "");
838
844
  }
839
- var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, It = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
840
- function tt(e) {
845
+ var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Mt = /^(0+)$/;
846
+ function nt(e) {
841
847
  var t = {};
842
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(It, function(r, n, i) {
848
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
843
849
  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)), "";
844
850
  }), t;
845
851
  }
846
- function Ot(e) {
852
+ function Lt(e) {
847
853
  switch (e) {
848
854
  case "sign-auto":
849
855
  return {
@@ -883,7 +889,7 @@ function Ot(e) {
883
889
  };
884
890
  }
885
891
  }
886
- function Xr(e) {
892
+ function Wr(e) {
887
893
  var t;
888
894
  if (e[0] === "E" && e[1] === "E" ? (t = {
889
895
  notation: "engineering"
@@ -891,17 +897,17 @@ function Xr(e) {
891
897
  notation: "scientific"
892
898
  }, e = e.slice(1)), t) {
893
899
  var r = e.slice(0, 2);
894
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
900
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mt.test(e))
895
901
  throw new Error("Malformed concise eng/scientific notation");
896
902
  t.minimumIntegerDigits = e.length;
897
903
  }
898
904
  return t;
899
905
  }
900
- function rt(e) {
901
- var t = {}, r = Ot(e);
906
+ function it(e) {
907
+ var t = {}, r = Lt(e);
902
908
  return r || t;
903
909
  }
904
- function zr(e) {
910
+ function Zr(e) {
905
911
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
906
912
  var i = n[r];
907
913
  switch (i.stem) {
@@ -925,7 +931,7 @@ function zr(e) {
925
931
  continue;
926
932
  case "measure-unit":
927
933
  case "unit":
928
- t.style = "unit", t.unit = jr(i.options[0]);
934
+ t.style = "unit", t.unit = Xr(i.options[0]);
929
935
  continue;
930
936
  case "compact-short":
931
937
  case "K":
@@ -936,13 +942,13 @@ function zr(e) {
936
942
  t.notation = "compact", t.compactDisplay = "long";
937
943
  continue;
938
944
  case "scientific":
939
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
940
- return v(v({}, h), rt(u));
945
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
946
+ return S(S({}, h), it(u));
941
947
  }, {}));
942
948
  continue;
943
949
  case "engineering":
944
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
945
- return v(v({}, h), rt(u));
950
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
951
+ return S(S({}, h), it(u));
946
952
  }, {}));
947
953
  continue;
948
954
  case "notation-simple":
@@ -987,7 +993,7 @@ function zr(e) {
987
993
  case "integer-width":
988
994
  if (i.options.length > 1)
989
995
  throw new RangeError("integer-width stems only accept a single optional option");
990
- i.options[0].replace(Vr, function(h, u, l, c, d, g) {
996
+ i.options[0].replace(zr, function(h, u, l, c, d, g) {
991
997
  if (u)
992
998
  t.minimumIntegerDigits = l.length;
993
999
  else {
@@ -1000,32 +1006,32 @@ function zr(e) {
1000
1006
  });
1001
1007
  continue;
1002
1008
  }
1003
- if (Nt.test(i.stem)) {
1009
+ if (Mt.test(i.stem)) {
1004
1010
  t.minimumIntegerDigits = i.stem.length;
1005
1011
  continue;
1006
1012
  }
1007
- if (et.test(i.stem)) {
1013
+ if (rt.test(i.stem)) {
1008
1014
  if (i.options.length > 1)
1009
1015
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1010
- i.stem.replace(et, function(h, u, l, c, d, g) {
1016
+ i.stem.replace(rt, function(h, u, l, c, d, g) {
1011
1017
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1012
1018
  });
1013
1019
  var o = i.options[0];
1014
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), tt(o)));
1020
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), nt(o)));
1015
1021
  continue;
1016
1022
  }
1017
- if (It.test(i.stem)) {
1018
- t = v(v({}, t), tt(i.stem));
1023
+ if (Nt.test(i.stem)) {
1024
+ t = S(S({}, t), nt(i.stem));
1019
1025
  continue;
1020
1026
  }
1021
- var a = Ot(i.stem);
1022
- a && (t = v(v({}, t), a));
1023
- var s = Xr(i.stem);
1024
- s && (t = v(v({}, t), s));
1027
+ var a = Lt(i.stem);
1028
+ a && (t = S(S({}, t), a));
1029
+ var s = Wr(i.stem);
1030
+ s && (t = S(S({}, t), s));
1025
1031
  }
1026
1032
  return t;
1027
1033
  }
1028
- var be = {
1034
+ var ge = {
1029
1035
  "001": [
1030
1036
  "H",
1031
1037
  "h"
@@ -2440,13 +2446,13 @@ var be = {
2440
2446
  "h"
2441
2447
  ]
2442
2448
  };
2443
- function Wr(e, t) {
2449
+ function Jr(e, t) {
2444
2450
  for (var r = "", n = 0; n < e.length; n++) {
2445
2451
  var i = e.charAt(n);
2446
2452
  if (i === "j") {
2447
2453
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2448
2454
  o++, n++;
2449
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Zr(t);
2455
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Qr(t);
2450
2456
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2451
2457
  r += h;
2452
2458
  for (; a-- > 0; )
@@ -2456,7 +2462,7 @@ function Wr(e, t) {
2456
2462
  }
2457
2463
  return r;
2458
2464
  }
2459
- function Zr(e) {
2465
+ function Qr(e) {
2460
2466
  var t = e.hourCycle;
2461
2467
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2462
2468
  e.hourCycles && // @ts-ignore
@@ -2475,23 +2481,23 @@ function Zr(e) {
2475
2481
  }
2476
2482
  var r = e.language, n;
2477
2483
  r !== "root" && (n = e.maximize().region);
2478
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2484
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2479
2485
  return i[0];
2480
2486
  }
2481
- var Ie, Jr = new RegExp("^".concat(Ct.source, "*")), Qr = new RegExp("".concat(Ct.source, "*$"));
2487
+ var Ne, qr = new RegExp("^".concat(Ot.source, "*")), Yr = new RegExp("".concat(Ot.source, "*$"));
2482
2488
  function b(e, t) {
2483
2489
  return { start: e, end: t };
2484
2490
  }
2485
- var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, on = nn ? Number.isSafeInteger : function(e) {
2491
+ var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, an = sn ? Number.isSafeInteger : function(e) {
2486
2492
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2487
- }, De = !0;
2493
+ }, Ge = !0;
2488
2494
  try {
2489
- var sn = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2490
- De = ((Ie = sn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2495
+ var un = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2496
+ Ge = ((Ne = un.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2491
2497
  } catch {
2492
- De = !1;
2498
+ Ge = !1;
2493
2499
  }
2494
- var nt = qr ? (
2500
+ var ot = Kr ? (
2495
2501
  // Native
2496
2502
  function(t, r, n) {
2497
2503
  return t.startsWith(r, n);
@@ -2501,7 +2507,7 @@ var nt = qr ? (
2501
2507
  function(t, r, n) {
2502
2508
  return t.slice(n, n + r.length) === r;
2503
2509
  }
2504
- ), Fe = Yr ? String.fromCodePoint : (
2510
+ ), ke = en ? String.fromCodePoint : (
2505
2511
  // IE11
2506
2512
  function() {
2507
2513
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2513,9 +2519,9 @@ var nt = qr ? (
2513
2519
  }
2514
2520
  return n;
2515
2521
  }
2516
- ), it = (
2522
+ ), st = (
2517
2523
  // native
2518
- Kr ? Object.fromEntries : (
2524
+ tn ? Object.fromEntries : (
2519
2525
  // Ponyfill
2520
2526
  function(t) {
2521
2527
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2525,7 +2531,7 @@ var nt = qr ? (
2525
2531
  return r;
2526
2532
  }
2527
2533
  )
2528
- ), Mt = en ? (
2534
+ ), Rt = rn ? (
2529
2535
  // Native
2530
2536
  function(t, r) {
2531
2537
  return t.codePointAt(r);
@@ -2539,7 +2545,7 @@ var nt = qr ? (
2539
2545
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2540
2546
  }
2541
2547
  }
2542
- ), an = tn ? (
2548
+ ), ln = nn ? (
2543
2549
  // Native
2544
2550
  function(t) {
2545
2551
  return t.trimStart();
@@ -2547,9 +2553,9 @@ var nt = qr ? (
2547
2553
  ) : (
2548
2554
  // Ponyfill
2549
2555
  function(t) {
2550
- return t.replace(Jr, "");
2556
+ return t.replace(qr, "");
2551
2557
  }
2552
- ), un = rn ? (
2558
+ ), hn = on ? (
2553
2559
  // Native
2554
2560
  function(t) {
2555
2561
  return t.trimEnd();
@@ -2557,32 +2563,32 @@ var nt = qr ? (
2557
2563
  ) : (
2558
2564
  // Ponyfill
2559
2565
  function(t) {
2560
- return t.replace(Qr, "");
2566
+ return t.replace(Yr, "");
2561
2567
  }
2562
2568
  );
2563
- function Lt(e, t) {
2569
+ function $t(e, t) {
2564
2570
  return new RegExp(e, t);
2565
2571
  }
2566
- var Ge;
2567
- if (De) {
2568
- var ot = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2569
- Ge = function(t, r) {
2572
+ var je;
2573
+ if (Ge) {
2574
+ var at = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2575
+ je = function(t, r) {
2570
2576
  var n;
2571
- ot.lastIndex = r;
2572
- var i = ot.exec(t);
2577
+ at.lastIndex = r;
2578
+ var i = at.exec(t);
2573
2579
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2574
2580
  };
2575
2581
  } else
2576
- Ge = function(t, r) {
2582
+ je = function(t, r) {
2577
2583
  for (var n = []; ; ) {
2578
- var i = Mt(t, r);
2579
- if (i === void 0 || Rt(i) || fn(i))
2584
+ var i = Rt(t, r);
2585
+ if (i === void 0 || Ut(i) || mn(i))
2580
2586
  break;
2581
2587
  n.push(i), r += i >= 65536 ? 2 : 1;
2582
2588
  }
2583
- return Fe.apply(void 0, n);
2589
+ return ke.apply(void 0, n);
2584
2590
  };
2585
- var ln = (
2591
+ var cn = (
2586
2592
  /** @class */
2587
2593
  function() {
2588
2594
  function e(t, r) {
@@ -2606,14 +2612,14 @@ var ln = (
2606
2612
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2607
2613
  var s = this.clonePosition();
2608
2614
  this.bump(), i.push({
2609
- type: x.pound,
2615
+ type: E.pound,
2610
2616
  location: b(s, this.clonePosition())
2611
2617
  });
2612
2618
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2613
2619
  if (n)
2614
2620
  break;
2615
2621
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2616
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2622
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2617
2623
  var a = this.parseTag(t, r);
2618
2624
  if (a.err)
2619
2625
  return a;
@@ -2634,7 +2640,7 @@ var ln = (
2634
2640
  if (this.bumpSpace(), this.bumpIf("/>"))
2635
2641
  return {
2636
2642
  val: {
2637
- type: x.literal,
2643
+ type: E.literal,
2638
2644
  value: "<".concat(i, "/>"),
2639
2645
  location: b(n, this.clonePosition())
2640
2646
  },
@@ -2646,12 +2652,12 @@ var ln = (
2646
2652
  return o;
2647
2653
  var a = o.val, s = this.clonePosition();
2648
2654
  if (this.bumpIf("</")) {
2649
- if (this.isEOF() || !ke(this.char()))
2655
+ if (this.isEOF() || !Ve(this.char()))
2650
2656
  return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
2651
2657
  var h = this.clonePosition(), u = this.parseTagName();
2652
2658
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2653
2659
  val: {
2654
- type: x.tag,
2660
+ type: E.tag,
2655
2661
  value: i,
2656
2662
  children: a,
2657
2663
  location: b(n, this.clonePosition())
@@ -2664,7 +2670,7 @@ var ln = (
2664
2670
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2665
2671
  }, e.prototype.parseTagName = function() {
2666
2672
  var t = this.offset();
2667
- for (this.bump(); !this.isEOF() && cn(this.char()); )
2673
+ for (this.bump(); !this.isEOF() && dn(this.char()); )
2668
2674
  this.bump();
2669
2675
  return this.message.slice(t, this.offset());
2670
2676
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2688,12 +2694,12 @@ var ln = (
2688
2694
  }
2689
2695
  var h = b(n, this.clonePosition());
2690
2696
  return {
2691
- val: { type: x.literal, value: i, location: h },
2697
+ val: { type: E.literal, value: i, location: h },
2692
2698
  err: null
2693
2699
  };
2694
2700
  }, e.prototype.tryParseLeftAngleBracket = function() {
2695
2701
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2696
- !hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2702
+ !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2697
2703
  }, e.prototype.tryParseQuote = function(t) {
2698
2704
  if (this.isEOF() || this.char() !== 39)
2699
2705
  return null;
@@ -2727,12 +2733,12 @@ var ln = (
2727
2733
  r.push(n);
2728
2734
  this.bump();
2729
2735
  }
2730
- return Fe.apply(void 0, r);
2736
+ return ke.apply(void 0, r);
2731
2737
  }, e.prototype.tryParseUnquoted = function(t, r) {
2732
2738
  if (this.isEOF())
2733
2739
  return null;
2734
2740
  var n = this.char();
2735
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2741
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
2736
2742
  }, e.prototype.parseArgument = function(t, r) {
2737
2743
  var n = this.clonePosition();
2738
2744
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2748,7 +2754,7 @@ var ln = (
2748
2754
  case 125:
2749
2755
  return this.bump(), {
2750
2756
  val: {
2751
- type: x.argument,
2757
+ type: E.argument,
2752
2758
  // value does not include the opening and closing braces.
2753
2759
  value: i,
2754
2760
  location: b(n, this.clonePosition())
@@ -2761,7 +2767,7 @@ var ln = (
2761
2767
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2762
2768
  }
2763
2769
  }, e.prototype.parseIdentifierIfPossible = function() {
2764
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2770
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2765
2771
  this.bumpTo(i);
2766
2772
  var o = this.clonePosition(), a = b(t, o);
2767
2773
  return { value: n, location: a };
@@ -2780,35 +2786,35 @@ var ln = (
2780
2786
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2781
2787
  if (c.err)
2782
2788
  return c;
2783
- var d = un(c.val);
2789
+ var d = hn(c.val);
2784
2790
  if (d.length === 0)
2785
2791
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2786
2792
  var g = b(l, this.clonePosition());
2787
2793
  u = { style: d, styleLocation: g };
2788
2794
  }
2789
- var y = this.tryParseArgumentClose(i);
2790
- if (y.err)
2791
- return y;
2795
+ var v = this.tryParseArgumentClose(i);
2796
+ if (v.err)
2797
+ return v;
2792
2798
  var _ = b(i, this.clonePosition());
2793
- if (u && nt(u?.style, "::", 0)) {
2794
- var T = an(u.style.slice(2));
2799
+ if (u && ot(u?.style, "::", 0)) {
2800
+ var T = ln(u.style.slice(2));
2795
2801
  if (s === "number") {
2796
2802
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2797
2803
  return c.err ? c : {
2798
- val: { type: x.number, value: n, location: _, style: c.val },
2804
+ val: { type: E.number, value: n, location: _, style: c.val },
2799
2805
  err: null
2800
2806
  };
2801
2807
  } else {
2802
2808
  if (T.length === 0)
2803
2809
  return this.error(m.EXPECT_DATE_TIME_SKELETON, _);
2804
2810
  var H = T;
2805
- this.locale && (H = Wr(T, this.locale));
2811
+ this.locale && (H = Jr(T, this.locale));
2806
2812
  var d = {
2807
- type: ee.dateTime,
2813
+ type: te.dateTime,
2808
2814
  pattern: H,
2809
2815
  location: u.styleLocation,
2810
- parsedOptions: this.shouldParseSkeletons ? Fr(H) : {}
2811
- }, L = s === "date" ? x.date : x.time;
2816
+ parsedOptions: this.shouldParseSkeletons ? kr(H) : {}
2817
+ }, L = s === "date" ? E.date : E.time;
2812
2818
  return {
2813
2819
  val: { type: L, value: n, location: _, style: d },
2814
2820
  err: null
@@ -2817,7 +2823,7 @@ var ln = (
2817
2823
  }
2818
2824
  return {
2819
2825
  val: {
2820
- type: s === "number" ? x.number : s === "date" ? x.date : x.time,
2826
+ type: s === "number" ? E.number : s === "date" ? E.date : E.time,
2821
2827
  value: n,
2822
2828
  location: _,
2823
2829
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2828,43 +2834,43 @@ var ln = (
2828
2834
  case "plural":
2829
2835
  case "selectordinal":
2830
2836
  case "select": {
2831
- var A = this.clonePosition();
2837
+ var B = this.clonePosition();
2832
2838
  if (this.bumpSpace(), !this.bumpIf(","))
2833
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(A, v({}, A)));
2839
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(B, _e({}, B)));
2834
2840
  this.bumpSpace();
2835
- var S = this.parseIdentifierIfPossible(), N = 0;
2836
- if (s !== "select" && S.value === "offset") {
2841
+ var x = this.parseIdentifierIfPossible(), O = 0;
2842
+ if (s !== "select" && x.value === "offset") {
2837
2843
  if (!this.bumpIf(":"))
2838
2844
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2839
2845
  this.bumpSpace();
2840
2846
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2841
2847
  if (c.err)
2842
2848
  return c;
2843
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = c.val;
2849
+ this.bumpSpace(), x = this.parseIdentifierIfPossible(), O = c.val;
2844
2850
  }
2845
- var D = this.tryParsePluralOrSelectOptions(t, s, r, S);
2851
+ var D = this.tryParsePluralOrSelectOptions(t, s, r, x);
2846
2852
  if (D.err)
2847
2853
  return D;
2848
- var y = this.tryParseArgumentClose(i);
2849
- if (y.err)
2850
- return y;
2851
- var j = b(i, this.clonePosition());
2854
+ var v = this.tryParseArgumentClose(i);
2855
+ if (v.err)
2856
+ return v;
2857
+ var V = b(i, this.clonePosition());
2852
2858
  return s === "select" ? {
2853
2859
  val: {
2854
- type: x.select,
2860
+ type: E.select,
2855
2861
  value: n,
2856
- options: it(D.val),
2857
- location: j
2862
+ options: st(D.val),
2863
+ location: V
2858
2864
  },
2859
2865
  err: null
2860
2866
  } : {
2861
2867
  val: {
2862
- type: x.plural,
2868
+ type: E.plural,
2863
2869
  value: n,
2864
- options: it(D.val),
2865
- offset: N,
2870
+ options: st(D.val),
2871
+ offset: O,
2866
2872
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2867
- location: j
2873
+ location: V
2868
2874
  },
2869
2875
  err: null
2870
2876
  };
@@ -2912,16 +2918,16 @@ var ln = (
2912
2918
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2913
2919
  var n = [];
2914
2920
  try {
2915
- n = kr(t);
2921
+ n = Vr(t);
2916
2922
  } catch {
2917
2923
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2918
2924
  }
2919
2925
  return {
2920
2926
  val: {
2921
- type: ee.number,
2927
+ type: te.number,
2922
2928
  tokens: n,
2923
2929
  location: r,
2924
- parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
2930
+ parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2925
2931
  },
2926
2932
  err: null
2927
2933
  };
@@ -2943,16 +2949,16 @@ var ln = (
2943
2949
  var g = this.clonePosition();
2944
2950
  if (!this.bumpIf("{"))
2945
2951
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2946
- var y = this.parseMessage(t + 1, r, n);
2947
- if (y.err)
2948
- return y;
2952
+ var v = this.parseMessage(t + 1, r, n);
2953
+ if (v.err)
2954
+ return v;
2949
2955
  var _ = this.tryParseArgumentClose(g);
2950
2956
  if (_.err)
2951
2957
  return _;
2952
2958
  s.push([
2953
2959
  u,
2954
2960
  {
2955
- value: y.val,
2961
+ value: v.val,
2956
2962
  location: b(g, this.clonePosition())
2957
2963
  }
2958
2964
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -2969,7 +2975,7 @@ var ln = (
2969
2975
  break;
2970
2976
  }
2971
2977
  var h = b(i, this.clonePosition());
2972
- return o ? (a *= n, on(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2978
+ return o ? (a *= n, an(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2973
2979
  }, e.prototype.offset = function() {
2974
2980
  return this.position.offset;
2975
2981
  }, e.prototype.isEOF = function() {
@@ -2984,7 +2990,7 @@ var ln = (
2984
2990
  var t = this.position.offset;
2985
2991
  if (t >= this.message.length)
2986
2992
  throw Error("out of bound");
2987
- var r = Mt(this.message, t);
2993
+ var r = Rt(this.message, t);
2988
2994
  if (r === void 0)
2989
2995
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2990
2996
  return r;
@@ -3003,7 +3009,7 @@ var ln = (
3003
3009
  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);
3004
3010
  }
3005
3011
  }, e.prototype.bumpIf = function(t) {
3006
- if (nt(this.message, t, this.offset())) {
3012
+ if (ot(this.message, t, this.offset())) {
3007
3013
  for (var r = 0; r < t.length; r++)
3008
3014
  this.bump();
3009
3015
  return !0;
@@ -3025,7 +3031,7 @@ var ln = (
3025
3031
  break;
3026
3032
  }
3027
3033
  }, e.prototype.bumpSpace = function() {
3028
- for (; !this.isEOF() && Rt(this.char()); )
3034
+ for (; !this.isEOF() && Ut(this.char()); )
3029
3035
  this.bump();
3030
3036
  }, e.prototype.peek = function() {
3031
3037
  if (this.isEOF())
@@ -3035,47 +3041,47 @@ var ln = (
3035
3041
  }, e;
3036
3042
  }()
3037
3043
  );
3038
- function ke(e) {
3044
+ function Ve(e) {
3039
3045
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3040
3046
  }
3041
- function hn(e) {
3042
- return ke(e) || e === 47;
3047
+ function fn(e) {
3048
+ return Ve(e) || e === 47;
3043
3049
  }
3044
- function cn(e) {
3050
+ function dn(e) {
3045
3051
  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;
3046
3052
  }
3047
- function Rt(e) {
3053
+ function Ut(e) {
3048
3054
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3049
3055
  }
3050
- function fn(e) {
3056
+ function mn(e) {
3051
3057
  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;
3052
3058
  }
3053
- function je(e) {
3059
+ function Xe(e) {
3054
3060
  e.forEach(function(t) {
3055
- if (delete t.location, Bt(t) || At(t))
3061
+ if (delete t.location, wt(t) || Pt(t))
3056
3062
  for (var r in t.options)
3057
- delete t.options[r].location, je(t.options[r].value);
3063
+ delete t.options[r].location, Xe(t.options[r].value);
3058
3064
  else
3059
- St(t) && Pt(t.style) || (Tt(t) || Ht(t)) && Ue(t.style) ? delete t.style.location : wt(t) && je(t.children);
3065
+ Ht(t) && It(t.style) || (At(t) || Bt(t)) && Fe(t.style) ? delete t.style.location : Ct(t) && Xe(t.children);
3060
3066
  });
3061
3067
  }
3062
- function dn(e, t) {
3063
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3064
- var r = new ln(e, t).parse();
3068
+ function pn(e, t) {
3069
+ t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3070
+ var r = new cn(e, t).parse();
3065
3071
  if (r.err) {
3066
3072
  var n = SyntaxError(m[r.err.kind]);
3067
3073
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3068
3074
  }
3069
- return t?.captureLocation || je(r.val), r.val;
3075
+ return t?.captureLocation || Xe(r.val), r.val;
3070
3076
  }
3071
- var te;
3077
+ var re;
3072
3078
  (function(e) {
3073
3079
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3074
- })(te || (te = {}));
3075
- var Te = (
3080
+ })(re || (re = {}));
3081
+ var Ae = (
3076
3082
  /** @class */
3077
3083
  function(e) {
3078
- Se(t, e);
3084
+ He(t, e);
3079
3085
  function t(r, n, i) {
3080
3086
  var o = e.call(this, r) || this;
3081
3087
  return o.code = n, o.originalMessage = i, o;
@@ -3084,48 +3090,48 @@ var Te = (
3084
3090
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3085
3091
  }, t;
3086
3092
  }(Error)
3087
- ), st = (
3093
+ ), ut = (
3088
3094
  /** @class */
3089
3095
  function(e) {
3090
- Se(t, e);
3096
+ He(t, e);
3091
3097
  function t(r, n, i, o) {
3092
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3098
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3093
3099
  }
3094
3100
  return t;
3095
- }(Te)
3096
- ), mn = (
3101
+ }(Ae)
3102
+ ), bn = (
3097
3103
  /** @class */
3098
3104
  function(e) {
3099
- Se(t, e);
3105
+ He(t, e);
3100
3106
  function t(r, n, i) {
3101
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3107
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3102
3108
  }
3103
3109
  return t;
3104
- }(Te)
3105
- ), pn = (
3110
+ }(Ae)
3111
+ ), gn = (
3106
3112
  /** @class */
3107
3113
  function(e) {
3108
- Se(t, e);
3114
+ He(t, e);
3109
3115
  function t(r, n) {
3110
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3116
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3111
3117
  }
3112
3118
  return t;
3113
- }(Te)
3119
+ }(Ae)
3114
3120
  ), I;
3115
3121
  (function(e) {
3116
3122
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3117
3123
  })(I || (I = {}));
3118
- function bn(e) {
3124
+ function vn(e) {
3119
3125
  return e.length < 2 ? e : e.reduce(function(t, r) {
3120
3126
  var n = t[t.length - 1];
3121
3127
  return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3122
3128
  }, []);
3123
3129
  }
3124
- function gn(e) {
3130
+ function yn(e) {
3125
3131
  return typeof e == "function";
3126
3132
  }
3127
- function ve(e, t, r, n, i, o, a) {
3128
- if (e.length === 1 && Ke(e[0]))
3133
+ function ye(e, t, r, n, i, o, a) {
3134
+ if (e.length === 1 && tt(e[0]))
3129
3135
  return [
3130
3136
  {
3131
3137
  type: I.literal,
@@ -3134,14 +3140,14 @@ function ve(e, t, r, n, i, o, a) {
3134
3140
  ];
3135
3141
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3136
3142
  var l = u[h];
3137
- if (Ke(l)) {
3143
+ if (tt(l)) {
3138
3144
  s.push({
3139
3145
  type: I.literal,
3140
3146
  value: l.value
3141
3147
  });
3142
3148
  continue;
3143
3149
  }
3144
- if (Ur(l)) {
3150
+ if (Fr(l)) {
3145
3151
  typeof o == "number" && s.push({
3146
3152
  type: I.literal,
3147
3153
  value: r.getNumberFormat(t).format(o)
@@ -3150,89 +3156,89 @@ function ve(e, t, r, n, i, o, a) {
3150
3156
  }
3151
3157
  var c = l.value;
3152
3158
  if (!(i && c in i))
3153
- throw new pn(c, a);
3159
+ throw new gn(c, a);
3154
3160
  var d = i[c];
3155
- if ($r(l)) {
3161
+ if (Dr(l)) {
3156
3162
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3157
3163
  type: typeof d == "string" ? I.literal : I.object,
3158
3164
  value: d
3159
3165
  });
3160
3166
  continue;
3161
3167
  }
3162
- if (Tt(l)) {
3163
- var g = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3168
+ if (At(l)) {
3169
+ var g = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3164
3170
  s.push({
3165
3171
  type: I.literal,
3166
3172
  value: r.getDateTimeFormat(t, g).format(d)
3167
3173
  });
3168
3174
  continue;
3169
3175
  }
3170
- if (Ht(l)) {
3171
- var g = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3176
+ if (Bt(l)) {
3177
+ var g = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3172
3178
  s.push({
3173
3179
  type: I.literal,
3174
3180
  value: r.getDateTimeFormat(t, g).format(d)
3175
3181
  });
3176
3182
  continue;
3177
3183
  }
3178
- if (St(l)) {
3179
- var g = typeof l.style == "string" ? n.number[l.style] : Pt(l.style) ? l.style.parsedOptions : void 0;
3184
+ if (Ht(l)) {
3185
+ var g = typeof l.style == "string" ? n.number[l.style] : It(l.style) ? l.style.parsedOptions : void 0;
3180
3186
  g && g.scale && (d = d * (g.scale || 1)), s.push({
3181
3187
  type: I.literal,
3182
3188
  value: r.getNumberFormat(t, g).format(d)
3183
3189
  });
3184
3190
  continue;
3185
3191
  }
3186
- if (wt(l)) {
3187
- var y = l.children, _ = l.value, T = i[_];
3188
- if (!gn(T))
3189
- throw new mn(_, "function", a);
3190
- var H = ve(y, t, r, n, i, o), L = T(H.map(function(N) {
3191
- return N.value;
3192
+ if (Ct(l)) {
3193
+ var v = l.children, _ = l.value, T = i[_];
3194
+ if (!yn(T))
3195
+ throw new bn(_, "function", a);
3196
+ var H = ye(v, t, r, n, i, o), L = T(H.map(function(O) {
3197
+ return O.value;
3192
3198
  }));
3193
- Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(N) {
3199
+ Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(O) {
3194
3200
  return {
3195
- type: typeof N == "string" ? I.literal : I.object,
3196
- value: N
3201
+ type: typeof O == "string" ? I.literal : I.object,
3202
+ value: O
3197
3203
  };
3198
3204
  }));
3199
3205
  }
3200
- if (Bt(l)) {
3201
- var A = l.options[d] || l.options.other;
3202
- if (!A)
3203
- throw new st(l.value, d, Object.keys(l.options), a);
3204
- s.push.apply(s, ve(A.value, t, r, n, i));
3206
+ if (wt(l)) {
3207
+ var B = l.options[d] || l.options.other;
3208
+ if (!B)
3209
+ throw new ut(l.value, d, Object.keys(l.options), a);
3210
+ s.push.apply(s, ye(B.value, t, r, n, i));
3205
3211
  continue;
3206
3212
  }
3207
- if (At(l)) {
3208
- var A = l.options["=".concat(d)];
3209
- if (!A) {
3213
+ if (Pt(l)) {
3214
+ var B = l.options["=".concat(d)];
3215
+ if (!B) {
3210
3216
  if (!Intl.PluralRules)
3211
- throw new Te(`Intl.PluralRules is not available in this environment.
3217
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3212
3218
  Try polyfilling it using "@formatjs/intl-pluralrules"
3213
- `, te.MISSING_INTL_API, a);
3214
- var S = r.getPluralRules(t, { type: l.pluralType }).select(d - (l.offset || 0));
3215
- A = l.options[S] || l.options.other;
3219
+ `, re.MISSING_INTL_API, a);
3220
+ var x = r.getPluralRules(t, { type: l.pluralType }).select(d - (l.offset || 0));
3221
+ B = l.options[x] || l.options.other;
3216
3222
  }
3217
- if (!A)
3218
- throw new st(l.value, d, Object.keys(l.options), a);
3219
- s.push.apply(s, ve(A.value, t, r, n, i, d - (l.offset || 0)));
3223
+ if (!B)
3224
+ throw new ut(l.value, d, Object.keys(l.options), a);
3225
+ s.push.apply(s, ye(B.value, t, r, n, i, d - (l.offset || 0)));
3220
3226
  continue;
3221
3227
  }
3222
3228
  }
3223
- return bn(s);
3229
+ return vn(s);
3224
3230
  }
3225
- function vn(e, t) {
3226
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3227
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3231
+ function En(e, t) {
3232
+ return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3233
+ return r[n] = F(F({}, e[n]), t[n] || {}), r;
3228
3234
  }, {})) : e;
3229
3235
  }
3230
- function yn(e, t) {
3236
+ function _n(e, t) {
3231
3237
  return t ? Object.keys(e).reduce(function(r, n) {
3232
- return r[n] = vn(e[n], t[n]), r;
3233
- }, v({}, e)) : e;
3238
+ return r[n] = En(e[n], t[n]), r;
3239
+ }, F({}, e)) : e;
3234
3240
  }
3235
- function Ne(e) {
3241
+ function Me(e) {
3236
3242
  return {
3237
3243
  create: function() {
3238
3244
  return {
@@ -3246,39 +3252,39 @@ function Ne(e) {
3246
3252
  }
3247
3253
  };
3248
3254
  }
3249
- function En(e) {
3255
+ function xn(e) {
3250
3256
  return e === void 0 && (e = {
3251
3257
  number: {},
3252
3258
  dateTime: {},
3253
3259
  pluralRules: {}
3254
3260
  }), {
3255
- getNumberFormat: Pe(function() {
3261
+ getNumberFormat: Ie(function() {
3256
3262
  for (var t, r = [], n = 0; n < arguments.length; n++)
3257
3263
  r[n] = arguments[n];
3258
- return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3264
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3259
3265
  }, {
3260
- cache: Ne(e.number),
3261
- strategy: Ce.variadic
3266
+ cache: Me(e.number),
3267
+ strategy: Oe.variadic
3262
3268
  }),
3263
- getDateTimeFormat: Pe(function() {
3269
+ getDateTimeFormat: Ie(function() {
3264
3270
  for (var t, r = [], n = 0; n < arguments.length; n++)
3265
3271
  r[n] = arguments[n];
3266
- return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3272
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3267
3273
  }, {
3268
- cache: Ne(e.dateTime),
3269
- strategy: Ce.variadic
3274
+ cache: Me(e.dateTime),
3275
+ strategy: Oe.variadic
3270
3276
  }),
3271
- getPluralRules: Pe(function() {
3277
+ getPluralRules: Ie(function() {
3272
3278
  for (var t, r = [], n = 0; n < arguments.length; n++)
3273
3279
  r[n] = arguments[n];
3274
- return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3280
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3275
3281
  }, {
3276
- cache: Ne(e.pluralRules),
3277
- strategy: Ce.variadic
3282
+ cache: Me(e.pluralRules),
3283
+ strategy: Oe.variadic
3278
3284
  })
3279
3285
  };
3280
3286
  }
3281
- var xn = (
3287
+ var Sn = (
3282
3288
  /** @class */
3283
3289
  function() {
3284
3290
  function e(t, r, n, i) {
@@ -3297,7 +3303,7 @@ var xn = (
3297
3303
  }, []);
3298
3304
  return l.length <= 1 ? l[0] || "" : l;
3299
3305
  }, this.formatToParts = function(h) {
3300
- return ve(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3306
+ return ye(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3301
3307
  }, this.resolvedOptions = function() {
3302
3308
  var h;
3303
3309
  return {
@@ -3310,13 +3316,13 @@ var xn = (
3310
3316
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3311
3317
  var a = i || {};
3312
3318
  a.formatters;
3313
- var s = Pr(a, ["formatters"]);
3314
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3319
+ var s = Ir(a, ["formatters"]);
3320
+ this.ast = e.__parse(t, F(F({}, s), { locale: this.resolvedLocale }));
3315
3321
  } else
3316
3322
  this.ast = t;
3317
3323
  if (!Array.isArray(this.ast))
3318
3324
  throw new TypeError("A message must be provided as a String or AST.");
3319
- this.formats = yn(e.formats, n), this.formatters = i && i.formatters || En(this.formatterCache);
3325
+ this.formats = _n(e.formats, n), this.formatters = i && i.formatters || xn(this.formatterCache);
3320
3326
  }
3321
3327
  return Object.defineProperty(e, "defaultLocale", {
3322
3328
  get: function() {
@@ -3329,7 +3335,7 @@ var xn = (
3329
3335
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3330
3336
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3331
3337
  }
3332
- }, e.__parse = dn, e.formats = {
3338
+ }, e.__parse = pn, e.formats = {
3333
3339
  number: {
3334
3340
  integer: {
3335
3341
  maximumFractionDigits: 0
@@ -3390,7 +3396,7 @@ var xn = (
3390
3396
  }, e;
3391
3397
  }()
3392
3398
  );
3393
- function _n(e, t) {
3399
+ function Tn(e, t) {
3394
3400
  if (t == null)
3395
3401
  return;
3396
3402
  if (t in e)
@@ -3411,92 +3417,92 @@ function _n(e, t) {
3411
3417
  n = void 0;
3412
3418
  return n;
3413
3419
  }
3414
- const G = {}, Sn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), $t = (e, t) => {
3420
+ const k = {}, Hn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Dt = (e, t) => {
3415
3421
  if (t == null)
3416
3422
  return;
3417
- if (t in G && e in G[t])
3418
- return G[t][e];
3419
- const r = He(t);
3423
+ if (t in k && e in k[t])
3424
+ return k[t][e];
3425
+ const r = Be(t);
3420
3426
  for (let n = 0; n < r.length; n++) {
3421
- const i = r[n], o = Hn(i, e);
3427
+ const i = r[n], o = Bn(i, e);
3422
3428
  if (o)
3423
- return Sn(e, t, o);
3429
+ return Hn(e, t, o);
3424
3430
  }
3425
3431
  };
3426
- let We;
3427
- const oe = _e({});
3428
- function Tn(e) {
3429
- return We[e] || null;
3432
+ let Je;
3433
+ const se = Te({});
3434
+ function An(e) {
3435
+ return Je[e] || null;
3430
3436
  }
3431
- function Ut(e) {
3432
- return e in We;
3437
+ function Ft(e) {
3438
+ return e in Je;
3433
3439
  }
3434
- function Hn(e, t) {
3435
- if (!Ut(e))
3440
+ function Bn(e, t) {
3441
+ if (!Ft(e))
3436
3442
  return null;
3437
- const r = Tn(e);
3438
- return _n(r, t);
3443
+ const r = An(e);
3444
+ return Tn(r, t);
3439
3445
  }
3440
- function Bn(e) {
3446
+ function wn(e) {
3441
3447
  if (e == null)
3442
3448
  return;
3443
- const t = He(e);
3449
+ const t = Be(e);
3444
3450
  for (let r = 0; r < t.length; r++) {
3445
3451
  const n = t[r];
3446
- if (Ut(n))
3452
+ if (Ft(n))
3447
3453
  return n;
3448
3454
  }
3449
3455
  }
3450
- function Dt(e, ...t) {
3451
- delete G[e], oe.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
3456
+ function Gt(e, ...t) {
3457
+ delete k[e], se.update((r) => (r[e] = Cr.all([r[e] || {}, ...t]), r));
3452
3458
  }
3453
- ie(
3454
- [oe],
3459
+ oe(
3460
+ [se],
3455
3461
  ([e]) => Object.keys(e)
3456
3462
  );
3457
- oe.subscribe((e) => We = e);
3458
- const ye = {};
3459
- function An(e, t) {
3460
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3463
+ se.subscribe((e) => Je = e);
3464
+ const Ee = {};
3465
+ function Pn(e, t) {
3466
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3461
3467
  }
3462
- function Ft(e) {
3463
- return ye[e];
3468
+ function kt(e) {
3469
+ return Ee[e];
3464
3470
  }
3465
- function wn(e) {
3466
- return He(e).map((t) => {
3467
- const r = Ft(t);
3471
+ function Cn(e) {
3472
+ return Be(e).map((t) => {
3473
+ const r = kt(t);
3468
3474
  return [t, r ? [...r] : []];
3469
3475
  }).filter(([, t]) => t.length > 0);
3470
3476
  }
3471
- function Ve(e) {
3472
- return e == null ? !1 : He(e).some(
3477
+ function ze(e) {
3478
+ return e == null ? !1 : Be(e).some(
3473
3479
  (t) => {
3474
3480
  var r;
3475
- return (r = Ft(t)) == null ? void 0 : r.size;
3481
+ return (r = kt(t)) == null ? void 0 : r.size;
3476
3482
  }
3477
3483
  );
3478
3484
  }
3479
- function Pn(e, t) {
3485
+ function In(e, t) {
3480
3486
  return Promise.all(
3481
- t.map((n) => (An(e, n), n().then((i) => i.default || i)))
3482
- ).then((n) => Dt(e, ...n));
3483
- }
3484
- const he = {};
3485
- function Gt(e) {
3486
- if (!Ve(e))
3487
- return e in he ? he[e] : Promise.resolve();
3488
- const t = wn(e);
3489
- return he[e] = Promise.all(
3487
+ t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3488
+ ).then((n) => Gt(e, ...n));
3489
+ }
3490
+ const ce = {};
3491
+ function jt(e) {
3492
+ if (!ze(e))
3493
+ return e in ce ? ce[e] : Promise.resolve();
3494
+ const t = Cn(e);
3495
+ return ce[e] = Promise.all(
3490
3496
  t.map(
3491
- ([r, n]) => Pn(r, n)
3497
+ ([r, n]) => In(r, n)
3492
3498
  )
3493
3499
  ).then(() => {
3494
- if (Ve(e))
3495
- return Gt(e);
3496
- delete he[e];
3497
- }), he[e];
3500
+ if (ze(e))
3501
+ return jt(e);
3502
+ delete ce[e];
3503
+ }), ce[e];
3498
3504
  }
3499
- const Cn = {
3505
+ const On = {
3500
3506
  number: {
3501
3507
  scientific: { notation: "scientific" },
3502
3508
  engineering: { notation: "engineering" },
@@ -3525,150 +3531,150 @@ const Cn = {
3525
3531
  timeZoneName: "short"
3526
3532
  }
3527
3533
  }
3528
- }, In = {
3534
+ }, Nn = {
3529
3535
  fallbackLocale: null,
3530
3536
  loadingDelay: 200,
3531
- formats: Cn,
3537
+ formats: On,
3532
3538
  warnOnMissingMessages: !0,
3533
3539
  handleMissingMessage: void 0,
3534
3540
  ignoreTag: !0
3535
- }, Nn = In;
3536
- function re() {
3537
- return Nn;
3541
+ }, Mn = Nn;
3542
+ function ne() {
3543
+ return Mn;
3538
3544
  }
3539
- const Oe = _e(!1);
3540
- var On = Object.defineProperty, Mn = Object.defineProperties, Ln = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, $n = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3545
+ const Le = Te(!1);
3546
+ var Ln = Object.defineProperty, Rn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3541
3547
  for (var r in t || (t = {}))
3542
- Rn.call(t, r) && ut(e, r, t[r]);
3543
- if (at)
3544
- for (var r of at(t))
3545
- $n.call(t, r) && ut(e, r, t[r]);
3548
+ Un.call(t, r) && ht(e, r, t[r]);
3549
+ if (lt)
3550
+ for (var r of lt(t))
3551
+ Dn.call(t, r) && ht(e, r, t[r]);
3546
3552
  return e;
3547
- }, Dn = (e, t) => Mn(e, Ln(t));
3548
- let Xe;
3549
- const Ee = _e(null);
3550
- function lt(e) {
3553
+ }, Gn = (e, t) => Rn(e, $n(t));
3554
+ let We;
3555
+ const xe = Te(null);
3556
+ function ct(e) {
3551
3557
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3552
3558
  }
3553
- function He(e, t = re().fallbackLocale) {
3554
- const r = lt(e);
3555
- return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3559
+ function Be(e, t = ne().fallbackLocale) {
3560
+ const r = ct(e);
3561
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
3556
3562
  }
3557
- function Z() {
3558
- return Xe ?? void 0;
3563
+ function J() {
3564
+ return We ?? void 0;
3559
3565
  }
3560
- Ee.subscribe((e) => {
3561
- Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3566
+ xe.subscribe((e) => {
3567
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3562
3568
  });
3563
- const Fn = (e) => {
3564
- if (e && Bn(e) && Ve(e)) {
3565
- const { loadingDelay: t } = re();
3569
+ const kn = (e) => {
3570
+ if (e && wn(e) && ze(e)) {
3571
+ const { loadingDelay: t } = ne();
3566
3572
  let r;
3567
- return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
3568
- () => Oe.set(!0),
3573
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3574
+ () => Le.set(!0),
3569
3575
  t
3570
- ) : Oe.set(!0), Gt(e).then(() => {
3571
- Ee.set(e);
3576
+ ) : Le.set(!0), jt(e).then(() => {
3577
+ xe.set(e);
3572
3578
  }).finally(() => {
3573
- clearTimeout(r), Oe.set(!1);
3579
+ clearTimeout(r), Le.set(!1);
3574
3580
  });
3575
3581
  }
3576
- return Ee.set(e);
3577
- }, z = Dn(Un({}, Ee), {
3578
- set: Fn
3579
- }), Be = (e) => {
3582
+ return xe.set(e);
3583
+ }, W = Gn(Fn({}, xe), {
3584
+ set: kn
3585
+ }), we = (e) => {
3580
3586
  const t = /* @__PURE__ */ Object.create(null);
3581
3587
  return (n) => {
3582
3588
  const i = JSON.stringify(n);
3583
3589
  return i in t ? t[i] : t[i] = e(n);
3584
3590
  };
3585
3591
  };
3586
- var Gn = Object.defineProperty, xe = Object.getOwnPropertySymbols, kt = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3592
+ var jn = Object.defineProperty, Se = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3587
3593
  for (var r in t || (t = {}))
3588
- kt.call(t, r) && ht(e, r, t[r]);
3589
- if (xe)
3590
- for (var r of xe(t))
3591
- jt.call(t, r) && ht(e, r, t[r]);
3594
+ Vt.call(t, r) && ft(e, r, t[r]);
3595
+ if (Se)
3596
+ for (var r of Se(t))
3597
+ Xt.call(t, r) && ft(e, r, t[r]);
3592
3598
  return e;
3593
- }, se = (e, t) => {
3599
+ }, ae = (e, t) => {
3594
3600
  var r = {};
3595
3601
  for (var n in e)
3596
- kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3597
- if (e != null && xe)
3598
- for (var n of xe(e))
3599
- t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
3602
+ Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3603
+ if (e != null && Se)
3604
+ for (var n of Se(e))
3605
+ t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3600
3606
  return r;
3601
3607
  };
3602
- const me = (e, t) => {
3603
- const { formats: r } = re();
3608
+ const pe = (e, t) => {
3609
+ const { formats: r } = ne();
3604
3610
  if (e in r && t in r[e])
3605
3611
  return r[e][t];
3606
3612
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3607
- }, kn = Be(
3613
+ }, Vn = we(
3608
3614
  (e) => {
3609
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3615
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3610
3616
  if (r == null)
3611
3617
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3612
- return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3618
+ return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
3613
3619
  }
3614
- ), jn = Be(
3620
+ ), Xn = we(
3615
3621
  (e) => {
3616
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3622
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3617
3623
  if (r == null)
3618
3624
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3619
- return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3625
+ return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
3620
3626
  }
3621
- ), Vn = Be(
3627
+ ), zn = we(
3622
3628
  (e) => {
3623
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3629
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3624
3630
  if (r == null)
3625
3631
  throw new Error(
3626
3632
  '[svelte-i18n] A "locale" must be set to format time values'
3627
3633
  );
3628
- return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3634
+ return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
3629
3635
  }
3630
- ), Xn = (e = {}) => {
3636
+ ), Wn = (e = {}) => {
3631
3637
  var t = e, {
3632
- locale: r = Z()
3633
- } = t, n = se(t, [
3638
+ locale: r = J()
3639
+ } = t, n = ae(t, [
3634
3640
  "locale"
3635
3641
  ]);
3636
- return kn(Ze({ locale: r }, n));
3637
- }, zn = (e = {}) => {
3642
+ return Vn(Qe({ locale: r }, n));
3643
+ }, Zn = (e = {}) => {
3638
3644
  var t = e, {
3639
- locale: r = Z()
3640
- } = t, n = se(t, [
3645
+ locale: r = J()
3646
+ } = t, n = ae(t, [
3641
3647
  "locale"
3642
3648
  ]);
3643
- return jn(Ze({ locale: r }, n));
3644
- }, Wn = (e = {}) => {
3649
+ return Xn(Qe({ locale: r }, n));
3650
+ }, Jn = (e = {}) => {
3645
3651
  var t = e, {
3646
- locale: r = Z()
3647
- } = t, n = se(t, [
3652
+ locale: r = J()
3653
+ } = t, n = ae(t, [
3648
3654
  "locale"
3649
3655
  ]);
3650
- return Vn(Ze({ locale: r }, n));
3651
- }, Zn = Be(
3656
+ return zn(Qe({ locale: r }, n));
3657
+ }, Qn = we(
3652
3658
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3653
- (e, t = Z()) => new xn(e, t, re().formats, {
3654
- ignoreTag: re().ignoreTag
3659
+ (e, t = J()) => new Sn(e, t, ne().formats, {
3660
+ ignoreTag: ne().ignoreTag
3655
3661
  })
3656
- ), Jn = (e, t = {}) => {
3662
+ ), qn = (e, t = {}) => {
3657
3663
  var r, n, i, o;
3658
3664
  let a = t;
3659
3665
  typeof e == "object" && (a = e, e = a.id);
3660
3666
  const {
3661
3667
  values: s,
3662
- locale: h = Z(),
3668
+ locale: h = J(),
3663
3669
  default: u
3664
3670
  } = a;
3665
3671
  if (h == null)
3666
3672
  throw new Error(
3667
3673
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3668
3674
  );
3669
- let l = $t(e, h);
3675
+ let l = Dt(e, h);
3670
3676
  if (!l)
3671
- l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3677
+ l = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3672
3678
  else if (typeof l != "string")
3673
3679
  return console.warn(
3674
3680
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3677,7 +3683,7 @@ const me = (e, t) => {
3677
3683
  return l;
3678
3684
  let c = l;
3679
3685
  try {
3680
- c = Zn(l, h).format(s);
3686
+ c = Qn(l, h).format(s);
3681
3687
  } catch (d) {
3682
3688
  d instanceof Error && console.warn(
3683
3689
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3685,20 +3691,20 @@ const me = (e, t) => {
3685
3691
  );
3686
3692
  }
3687
3693
  return c;
3688
- }, Qn = (e, t) => Wn(t).format(e), qn = (e, t) => zn(t).format(e), Yn = (e, t) => Xn(t).format(e), Kn = (e, t = Z()) => $t(e, t), ei = ie([z, oe], () => Jn);
3689
- ie([z], () => Qn);
3690
- ie([z], () => qn);
3691
- ie([z], () => Yn);
3692
- ie([z, oe], () => Kn);
3693
- function ti({ withLocale: e, translations: t }) {
3694
- z.subscribe((r) => {
3695
- r == null && (oe.set(t), z.set(e));
3694
+ }, Yn = (e, t) => Jn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => Wn(t).format(e), ti = (e, t = J()) => Dt(e, t), ri = oe([W, se], () => qn);
3695
+ oe([W], () => Yn);
3696
+ oe([W], () => Kn);
3697
+ oe([W], () => ei);
3698
+ oe([W, se], () => ti);
3699
+ function ni({ withLocale: e, translations: t }) {
3700
+ W.subscribe((r) => {
3701
+ r == null && (se.set(t), W.set(e));
3696
3702
  });
3697
3703
  }
3698
- function ct(e, t) {
3699
- Dt(e, t);
3704
+ function dt(e, t) {
3705
+ Gt(e, t);
3700
3706
  }
3701
- const ft = {
3707
+ const mt = {
3702
3708
  en: {
3703
3709
  title: "Please enter the verification code you received on your number",
3704
3710
  errorTitle: "Your code was invalid, you can resend the code and try again",
@@ -3805,13 +3811,13 @@ const ft = {
3805
3811
  loginSMSHint: "A new verification code has been sent to your phone number"
3806
3812
  }
3807
3813
  };
3808
- function ri(e, t) {
3814
+ function ii(e, t) {
3809
3815
  if (e) {
3810
3816
  const r = document.createElement("style");
3811
3817
  r.innerHTML = t, e.appendChild(r);
3812
3818
  }
3813
3819
  }
3814
- function ni(e, t) {
3820
+ function oi(e, t) {
3815
3821
  const r = new URL(t);
3816
3822
  fetch(r.href).then((n) => n.text()).then((n) => {
3817
3823
  const i = document.createElement("style");
@@ -3820,7 +3826,7 @@ function ni(e, t) {
3820
3826
  console.error("There was an error while trying to load client styling from URL", n);
3821
3827
  });
3822
3828
  }
3823
- function ii(e, t, r) {
3829
+ function si(e, t, r) {
3824
3830
  if (window.emMessageBus) {
3825
3831
  const n = document.createElement("style");
3826
3832
  window.emMessageBus.subscribe(t, (i) => {
@@ -3828,10 +3834,10 @@ function ii(e, t, r) {
3828
3834
  });
3829
3835
  }
3830
3836
  }
3831
- function oi(e) {
3832
- zt(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))}");
3837
+ function ai(e) {
3838
+ Zt(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))}");
3833
3839
  }
3834
- function si(e) {
3840
+ function ui(e) {
3835
3841
  let t = (
3836
3842
  /*$_*/
3837
3843
  e[5]("errorTitle") + ""
@@ -3841,19 +3847,19 @@ function si(e) {
3841
3847
  r = M(t);
3842
3848
  },
3843
3849
  m(n, i) {
3844
- W(n, r, i);
3850
+ Z(n, r, i);
3845
3851
  },
3846
3852
  p(n, i) {
3847
3853
  i & /*$_*/
3848
3854
  32 && t !== (t = /*$_*/
3849
- n[5]("errorTitle") + "") && F(r, t);
3855
+ n[5]("errorTitle") + "") && G(r, t);
3850
3856
  },
3851
3857
  d(n) {
3852
- n && k(r);
3858
+ n && j(r);
3853
3859
  }
3854
3860
  };
3855
3861
  }
3856
- function ai(e) {
3862
+ function li(e) {
3857
3863
  let t = (
3858
3864
  /*$_*/
3859
3865
  e[5]("title") + ""
@@ -3863,203 +3869,203 @@ function ai(e) {
3863
3869
  r = M(t);
3864
3870
  },
3865
3871
  m(n, i) {
3866
- W(n, r, i);
3872
+ Z(n, r, i);
3867
3873
  },
3868
3874
  p(n, i) {
3869
3875
  i & /*$_*/
3870
3876
  32 && t !== (t = /*$_*/
3871
- n[5]("title") + "") && F(r, t);
3877
+ n[5]("title") + "") && G(r, t);
3872
3878
  },
3873
3879
  d(n) {
3874
- n && k(r);
3880
+ n && j(r);
3875
3881
  }
3876
3882
  };
3877
3883
  }
3878
- function dt(e) {
3884
+ function pt(e) {
3879
3885
  let t, r = (
3880
3886
  /*$_*/
3881
3887
  e[5]("smsCodeError") + ""
3882
3888
  ), n;
3883
3889
  return {
3884
3890
  c() {
3885
- t = O("p"), n = M(r), B(t, "class", "InvalidInput");
3891
+ t = N("p"), n = M(r), A(t, "class", "InvalidInput");
3886
3892
  },
3887
3893
  m(i, o) {
3888
- W(i, t, o), E(t, n);
3894
+ Z(i, t, o), y(t, n);
3889
3895
  },
3890
3896
  p(i, o) {
3891
3897
  o & /*$_*/
3892
3898
  32 && r !== (r = /*$_*/
3893
- i[5]("smsCodeError") + "") && F(n, r);
3899
+ i[5]("smsCodeError") + "") && G(n, r);
3894
3900
  },
3895
3901
  d(i) {
3896
- i && k(t);
3902
+ i && j(t);
3897
3903
  }
3898
3904
  };
3899
3905
  }
3900
- function mt(e) {
3906
+ function bt(e) {
3901
3907
  let t, r = (
3902
3908
  /*$_*/
3903
3909
  e[5]("resendMessage") + ""
3904
3910
  ), n;
3905
3911
  return {
3906
3912
  c() {
3907
- t = O("p"), n = M(r), B(t, "class", "SmsVerificationResendMessage");
3913
+ t = N("p"), n = M(r), A(t, "class", "SmsVerificationResendMessage");
3908
3914
  },
3909
3915
  m(i, o) {
3910
- W(i, t, o), E(t, n);
3916
+ Z(i, t, o), y(t, n);
3911
3917
  },
3912
3918
  p(i, o) {
3913
3919
  o & /*$_*/
3914
3920
  32 && r !== (r = /*$_*/
3915
- i[5]("resendMessage") + "") && F(n, r);
3921
+ i[5]("resendMessage") + "") && G(n, r);
3916
3922
  },
3917
3923
  d(i) {
3918
- i && k(t);
3924
+ i && j(t);
3919
3925
  }
3920
3926
  };
3921
3927
  }
3922
- function pt(e) {
3928
+ function gt(e) {
3923
3929
  let t, r, n = (
3924
3930
  /*secondsLeft*/
3925
3931
  e[4] < 10 ? "0" : ""
3926
3932
  ), i, o, a;
3927
3933
  return {
3928
3934
  c() {
3929
- t = O("span"), r = M("(0:"), i = M(n), o = M(
3935
+ t = N("span"), r = M("(0:"), i = M(n), o = M(
3930
3936
  /*secondsLeft*/
3931
3937
  e[4]
3932
- ), a = M(")"), B(t, "class", "SmsVerificationResendTimer");
3938
+ ), a = M(")"), A(t, "class", "SmsVerificationResendTimer");
3933
3939
  },
3934
3940
  m(s, h) {
3935
- W(s, t, h), E(t, r), E(t, i), E(t, o), E(t, a);
3941
+ Z(s, t, h), y(t, r), y(t, i), y(t, o), y(t, a);
3936
3942
  },
3937
3943
  p(s, h) {
3938
3944
  h & /*secondsLeft*/
3939
3945
  16 && n !== (n = /*secondsLeft*/
3940
- s[4] < 10 ? "0" : "") && F(i, n), h & /*secondsLeft*/
3941
- 16 && F(
3946
+ s[4] < 10 ? "0" : "") && G(i, n), h & /*secondsLeft*/
3947
+ 16 && G(
3942
3948
  o,
3943
3949
  /*secondsLeft*/
3944
3950
  s[4]
3945
3951
  );
3946
3952
  },
3947
3953
  d(s) {
3948
- s && k(t);
3954
+ s && j(t);
3949
3955
  }
3950
3956
  };
3951
3957
  }
3952
- function ui(e) {
3958
+ function hi(e) {
3953
3959
  let t, r, n, i, o, a = (
3954
3960
  /*$_*/
3955
3961
  e[5]("code") + ""
3956
- ), s, h, u, l, c, d, g, y, _, T, H = (
3962
+ ), s, h, u, l, c, d, g, v, _, T, H = (
3957
3963
  /*$_*/
3958
3964
  e[5]("activate") + ""
3959
- ), L, A, S, N = (
3965
+ ), L, B, x, O = (
3960
3966
  /*$_*/
3961
3967
  e[5]("resend") + ""
3962
- ), D, j, ae, ue;
3963
- function le(p, C) {
3968
+ ), D, V, ue, le;
3969
+ function he(p, C) {
3964
3970
  return (
3965
3971
  /*isSmsValid*/
3966
- p[2] ? ai : si
3972
+ p[2] ? li : ui
3967
3973
  );
3968
3974
  }
3969
- let V = le(e), R = V(e), w = !/*isSmsValid*/
3970
- e[2] && dt(e), P = (
3975
+ let X = he(e), R = X(e), w = !/*isSmsValid*/
3976
+ e[2] && pt(e), P = (
3971
3977
  /*timer*/
3972
- e[3] && mt(e)
3978
+ e[3] && bt(e)
3973
3979
  ), f = (
3974
3980
  /*timer*/
3975
- e[3] && pt(e)
3981
+ e[3] && gt(e)
3976
3982
  );
3977
3983
  return {
3978
3984
  c() {
3979
- t = O("div"), r = O("h3"), R.c(), n = X(), i = O("div"), o = O("label"), s = M(a), h = M(":"), u = O("span"), u.textContent = "*", l = X(), c = O("input"), d = X(), w && w.c(), y = X(), P && P.c(), _ = X(), T = O("button"), L = M(H), A = X(), S = O("button"), D = M(N), j = X(), 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*/
3980
- e[2] ? "" : "InvalidField")), B(T, "class", "Button SmsVerificationValidate"), B(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
3981
- e[3], B(t, "class", "Container SmsVerificationContainer");
3985
+ t = N("div"), r = N("h3"), R.c(), n = z(), i = N("div"), o = N("label"), s = M(a), h = M(":"), u = N("span"), u.textContent = "*", l = z(), c = N("input"), d = z(), w && w.c(), v = z(), P && P.c(), _ = z(), T = N("button"), L = M(H), B = z(), x = N("button"), D = M(O), V = z(), f && f.c(), A(r, "class", "Title"), A(u, "class", "FormRequired"), A(o, "for", "SmsCode"), A(c, "type", "text"), A(c, "id", "SmsCode"), A(c, "inputmode", "numeric"), A(c, "pattern", "[0-9]*"), A(c, "maxlength", "6"), A(i, "class", g = "Field SmsVerificationField " + (/*isSmsValid*/
3986
+ e[2] ? "" : "InvalidField")), A(T, "class", "Button SmsVerificationValidate"), A(x, "class", "Button SmsVerificationResend"), x.disabled = /*timer*/
3987
+ e[3], A(t, "class", "Container SmsVerificationContainer");
3982
3988
  },
3983
3989
  m(p, C) {
3984
- W(p, t, C), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, s), E(o, h), E(o, u), E(i, l), E(i, c), Qe(
3990
+ Z(p, t, C), y(t, r), R.m(r, null), y(t, n), y(t, i), y(i, o), y(o, s), y(o, h), y(o, u), y(i, l), y(i, c), Ye(
3985
3991
  c,
3986
3992
  /*smsCode*/
3987
3993
  e[1]
3988
- ), 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, D), E(S, j), f && f.m(S, null), e[20](t), ae || (ue = [
3989
- pe(
3994
+ ), 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, D), y(x, V), f && f.m(x, null), e[20](t), ue || (le = [
3995
+ be(
3990
3996
  c,
3991
3997
  "input",
3992
3998
  /*input_input_handler*/
3993
3999
  e[18]
3994
4000
  ),
3995
- pe(
4001
+ be(
3996
4002
  c,
3997
4003
  "keydown",
3998
4004
  /*keydown_handler*/
3999
4005
  e[19]
4000
4006
  ),
4001
- pe(
4007
+ be(
4002
4008
  T,
4003
4009
  "click",
4004
4010
  /*activateUser*/
4005
4011
  e[6]
4006
4012
  ),
4007
- pe(
4008
- S,
4013
+ be(
4014
+ x,
4009
4015
  "click",
4010
4016
  /*resendCode*/
4011
4017
  e[7]
4012
4018
  )
4013
- ], ae = !0);
4019
+ ], ue = !0);
4014
4020
  },
4015
4021
  p(p, [C]) {
4016
- V === (V = le(p)) && R ? R.p(p, C) : (R.d(1), R = V(p), R && (R.c(), R.m(r, null))), C & /*$_*/
4022
+ X === (X = he(p)) && R ? R.p(p, C) : (R.d(1), R = X(p), R && (R.c(), R.m(r, null))), C & /*$_*/
4017
4023
  32 && a !== (a = /*$_*/
4018
- p[5]("code") + "") && F(s, a), C & /*smsCode*/
4024
+ p[5]("code") + "") && G(s, a), C & /*smsCode*/
4019
4025
  2 && c.value !== /*smsCode*/
4020
- p[1] && Qe(
4026
+ p[1] && Ye(
4021
4027
  c,
4022
4028
  /*smsCode*/
4023
4029
  p[1]
4024
4030
  ), /*isSmsValid*/
4025
- p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = dt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4031
+ p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = pt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4026
4032
  4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
4027
- p[2] ? "" : "InvalidField")) && B(i, "class", g), /*timer*/
4028
- p[3] ? P ? P.p(p, C) : (P = mt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4033
+ p[2] ? "" : "InvalidField")) && A(i, "class", g), /*timer*/
4034
+ p[3] ? P ? P.p(p, C) : (P = bt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4029
4035
  32 && H !== (H = /*$_*/
4030
- p[5]("activate") + "") && F(L, H), C & /*$_*/
4031
- 32 && N !== (N = /*$_*/
4032
- p[5]("resend") + "") && F(D, N), /*timer*/
4033
- p[3] ? f ? f.p(p, C) : (f = pt(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
4034
- 8 && (S.disabled = /*timer*/
4036
+ p[5]("activate") + "") && G(L, H), C & /*$_*/
4037
+ 32 && O !== (O = /*$_*/
4038
+ p[5]("resend") + "") && G(D, O), /*timer*/
4039
+ p[3] ? f ? f.p(p, C) : (f = gt(p), f.c(), f.m(x, null)) : f && (f.d(1), f = null), C & /*timer*/
4040
+ 8 && (x.disabled = /*timer*/
4035
4041
  p[3]);
4036
4042
  },
4037
4043
  i: U,
4038
4044
  o: U,
4039
4045
  d(p) {
4040
- p && k(t), R.d(), w && w.d(), P && P.d(), f && f.d(), e[20](null), ae = !1, ne(ue);
4046
+ p && j(t), R.d(), w && w.d(), P && P.d(), f && f.d(), e[20](null), ue = !1, ie(le);
4041
4047
  }
4042
4048
  };
4043
4049
  }
4044
- function li(e, t, r) {
4050
+ function ci(e, t, r) {
4045
4051
  let n;
4046
- Xt(e, ei, (f) => r(5, n = f));
4047
- let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: a = "" } = t, { smstemplate: s = "Please use this code {0} to activate your accout" } = t, { number: h = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g, y = !0, _ = !1, T, H, L = +localStorage.getItem("smsTimer") || 0, A = Date.now() / 1e3 - L, S = 60 - Math.floor(A);
4048
- const N = { numeric: /^[0-9]{0,6}$/ };
4049
- ti({ withLocale: "en", translations: {} });
4052
+ Wt(e, ri, (f) => r(5, n = f));
4053
+ let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: a = "" } = t, { smstemplate: s = "Please use this code {0} to activate your accout" } = t, { number: h = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g, v = !0, _ = !1, T, H, L = +localStorage.getItem("smsTimer") || 0, B = Date.now() / 1e3 - L, x = 60 - Math.floor(B);
4054
+ const O = { numeric: /^[0-9]{0,6}$/ };
4055
+ ni({ withLocale: "en", translations: {} });
4050
4056
  const D = () => {
4051
4057
  fetch(d).then((p) => p.json()).then((p) => {
4052
4058
  Object.keys(p).forEach((C) => {
4053
- ct(C, p[C]);
4059
+ dt(C, p[C]);
4054
4060
  });
4055
4061
  }).catch((p) => {
4056
4062
  console.log(p);
4057
4063
  });
4058
4064
  };
4059
- Object.keys(ft).forEach((f) => {
4060
- ct(f, ft[f]);
4065
+ Object.keys(mt).forEach((f) => {
4066
+ dt(f, mt[f]);
4061
4067
  });
4062
- const j = async () => {
4068
+ const V = async () => {
4063
4069
  try {
4064
4070
  if ((await fetch(`${i}/v1/player/${a}/activateSMS?tokenId=${o}&validationCode=${g}`, {
4065
4071
  headers: {
@@ -4067,7 +4073,7 @@ function li(e, t, r) {
4067
4073
  accept: "application/json"
4068
4074
  }
4069
4075
  })).ok)
4070
- r(2, y = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
4076
+ r(2, v = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
4071
4077
  else
4072
4078
  throw window.postMessage(
4073
4079
  {
@@ -4078,12 +4084,12 @@ function li(e, t, r) {
4078
4084
  }
4079
4085
  },
4080
4086
  window.location.href
4081
- ), r(2, y = !1), new Error("Could not activate user");
4087
+ ), r(2, v = !1), new Error("Could not activate user");
4082
4088
  } catch (f) {
4083
4089
  console.log(f);
4084
4090
  }
4085
- }, ae = async () => {
4086
- localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), le();
4091
+ }, ue = async () => {
4092
+ localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), he();
4087
4093
  try {
4088
4094
  const f = await fetch(`${i}/v1/player/sms/token`, {
4089
4095
  method: "POST",
@@ -4098,38 +4104,38 @@ function li(e, t, r) {
4098
4104
  })
4099
4105
  }), p = await f.json();
4100
4106
  if (f.ok)
4101
- r(9, o = p.id), _ = !1, ue();
4107
+ r(9, o = p.id), _ = !1, le();
4102
4108
  else
4103
4109
  throw _ = !0, new Error("Failed to fetch");
4104
4110
  } catch (f) {
4105
4111
  _ = !0, console.error(f);
4106
4112
  }
4107
- }, ue = () => {
4108
- S > 0 ? r(4, S--, S) : (clearInterval(T), r(3, T = !1), r(4, S = 60));
4109
4113
  }, le = () => {
4110
- A < 60 && r(3, T = setInterval(
4114
+ x > 0 ? r(4, x--, x) : (clearInterval(T), r(3, T = !1), r(4, x = 60));
4115
+ }, he = () => {
4116
+ B < 60 && r(3, T = setInterval(
4111
4117
  () => {
4112
- ue();
4118
+ le();
4113
4119
  },
4114
4120
  1e3
4115
4121
  ));
4116
- }, V = (f) => {
4117
- !N.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4122
+ }, X = (f) => {
4123
+ !O.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4118
4124
  };
4119
- Yt(() => {
4125
+ er(() => {
4120
4126
  if (!a || !h) {
4121
4127
  let f = JSON.parse(localStorage.getItem("playerData"));
4122
4128
  r(10, a = f.playerid), r(11, h = f.number);
4123
4129
  }
4124
- return le(), () => {
4130
+ return he(), () => {
4125
4131
  };
4126
4132
  });
4127
4133
  function R() {
4128
4134
  g = this.value, r(1, g);
4129
4135
  }
4130
- const w = (f) => V(f);
4136
+ const w = (f) => X(f);
4131
4137
  function P(f) {
4132
- Me[f ? "unshift" : "push"](() => {
4138
+ Re[f ? "unshift" : "push"](() => {
4133
4139
  H = f, r(0, H);
4134
4140
  });
4135
4141
  }
@@ -4138,20 +4144,20 @@ function li(e, t, r) {
4138
4144
  }, e.$$.update = () => {
4139
4145
  e.$$.dirty & /*tokenid, playerid, endpoint*/
4140
4146
  5632, e.$$.dirty & /*clientstyling, customStylingContainer*/
4141
- 32769 && l && H && ri(H, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4142
- 65537 && c && H && ni(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4143
- 16385 && u && H && ii(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
4147
+ 32769 && l && H && ii(H, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4148
+ 65537 && c && H && oi(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4149
+ 16385 && u && H && si(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
4144
4150
  131072 && d && D();
4145
4151
  }, [
4146
4152
  H,
4147
4153
  g,
4148
- y,
4154
+ v,
4149
4155
  T,
4150
- S,
4156
+ x,
4151
4157
  n,
4152
- j,
4153
- ae,
4154
4158
  V,
4159
+ ue,
4160
+ X,
4155
4161
  o,
4156
4162
  a,
4157
4163
  h,
@@ -4166,14 +4172,14 @@ function li(e, t, r) {
4166
4172
  P
4167
4173
  ];
4168
4174
  }
4169
- class hi extends hr {
4175
+ class fi extends fr {
4170
4176
  constructor(t) {
4171
- super(), ur(
4177
+ super(), hr(
4172
4178
  this,
4173
4179
  t,
4174
- li,
4175
- ui,
4176
- gt,
4180
+ ci,
4181
+ hi,
4182
+ yt,
4177
4183
  {
4178
4184
  endpoint: 12,
4179
4185
  tokenid: 9,
@@ -4185,7 +4191,7 @@ class hi extends hr {
4185
4191
  clientstylingurl: 16,
4186
4192
  translationurl: 17
4187
4193
  },
4188
- oi
4194
+ ai
4189
4195
  );
4190
4196
  }
4191
4197
  get endpoint() {
@@ -4243,7 +4249,7 @@ class hi extends hr {
4243
4249
  this.$$set({ translationurl: t }), $();
4244
4250
  }
4245
4251
  }
4246
- lr(hi, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4252
+ cr(fi, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4247
4253
  export {
4248
- hi as G
4254
+ fi as G
4249
4255
  };