@everymatrix/general-player-register-form-step1 1.54.6 → 1.54.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function X() {
2
2
  }
3
- function Kt(e) {
3
+ function Yt(e) {
4
4
  return e();
5
5
  }
6
- function Ht() {
6
+ function Tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ur(e) {
10
- e.forEach(Kt);
10
+ e.forEach(Yt);
11
11
  }
12
12
  function wt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function ei(e, r) {
15
+ function Kt(e, r) {
16
16
  return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Ai(e) {
18
+ function xi(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function ri(e, ...r) {
21
+ function ei(e, ...r) {
22
22
  if (e == null) {
23
23
  for (const i of r)
24
24
  i(void 0);
@@ -27,20 +27,20 @@ function ri(e, ...r) {
27
27
  const t = e.subscribe(...r);
28
28
  return t.unsubscribe ? () => t.unsubscribe() : t;
29
29
  }
30
- function Ti(e, r, t) {
31
- e.$$.on_destroy.push(ri(r, t));
30
+ function Ai(e, r, t) {
31
+ e.$$.on_destroy.push(ei(r, t));
32
32
  }
33
33
  function l(e, r) {
34
34
  e.appendChild(r);
35
35
  }
36
- function Hi(e, r, t) {
37
- const i = Ii(e);
36
+ function Ti(e, r, t) {
37
+ const i = Hi(e);
38
38
  if (!i.getElementById(r)) {
39
39
  const n = E("style");
40
- n.id = r, n.textContent = t, Bi(i, n);
40
+ n.id = r, n.textContent = t, Ii(i, n);
41
41
  }
42
42
  }
43
- function Ii(e) {
43
+ function Hi(e) {
44
44
  if (!e) return document;
45
45
  const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return r && /** @type {ShadowRoot} */
@@ -49,7 +49,7 @@ function Ii(e) {
49
49
  r
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function Bi(e, r) {
52
+ function Ii(e, r) {
53
53
  return l(
54
54
  /** @type {Document} */
55
55
  e.head || e,
@@ -80,7 +80,7 @@ function x(e, r, t, i) {
80
80
  function a(e, r, t) {
81
81
  t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
82
82
  }
83
- function Ni(e) {
83
+ function Bi(e) {
84
84
  return Array.from(e.childNodes);
85
85
  }
86
86
  function F(e, r) {
@@ -90,7 +90,7 @@ function F(e, r) {
90
90
  function ne(e, r) {
91
91
  e.value = r ?? "";
92
92
  }
93
- function Oi(e) {
93
+ function Ni(e) {
94
94
  const r = {};
95
95
  return e.childNodes.forEach(
96
96
  /** @param {Element} node */
@@ -103,19 +103,19 @@ let Cr;
103
103
  function Sr(e) {
104
104
  Cr = e;
105
105
  }
106
- function Li() {
106
+ function Oi() {
107
107
  if (!Cr) throw new Error("Function called outside component initialization");
108
108
  return Cr;
109
109
  }
110
- function Mi(e) {
111
- Li().$$.on_mount.push(e);
110
+ function Li(e) {
111
+ Oi().$$.on_mount.push(e);
112
112
  }
113
113
  const ir = [], Pr = [];
114
114
  let nr = [];
115
- const It = [], Ri = /* @__PURE__ */ Promise.resolve();
115
+ const Ht = [], Mi = /* @__PURE__ */ Promise.resolve();
116
116
  let ht = !1;
117
- function Ui() {
118
- ht || (ht = !0, Ri.then(Ce));
117
+ function Ri() {
118
+ ht || (ht = !0, Mi.then(Ce));
119
119
  }
120
120
  function ft(e) {
121
121
  nr.push(e);
@@ -130,7 +130,7 @@ function Ce() {
130
130
  try {
131
131
  for (; rr < ir.length; ) {
132
132
  const r = ir[rr];
133
- rr++, Sr(r), ki(r.$$);
133
+ rr++, Sr(r), Ui(r.$$);
134
134
  }
135
135
  } catch (r) {
136
136
  throw ir.length = 0, rr = 0, r;
@@ -142,40 +142,40 @@ function Ce() {
142
142
  }
143
143
  nr.length = 0;
144
144
  } while (ir.length);
145
- for (; It.length; )
146
- It.pop()();
145
+ for (; Ht.length; )
146
+ Ht.pop()();
147
147
  ht = !1, nt.clear(), Sr(e);
148
148
  }
149
- function ki(e) {
149
+ function Ui(e) {
150
150
  if (e.fragment !== null) {
151
151
  e.update(), ur(e.before_update);
152
152
  const r = e.dirty;
153
153
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
154
154
  }
155
155
  }
156
- function Fi(e) {
156
+ function ki(e) {
157
157
  const r = [], t = [];
158
158
  nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
159
159
  }
160
- const Di = /* @__PURE__ */ new Set();
161
- function Gi(e, r) {
162
- e && e.i && (Di.delete(e), e.i(r));
160
+ const Fi = /* @__PURE__ */ new Set();
161
+ function Di(e, r) {
162
+ e && e.i && (Fi.delete(e), e.i(r));
163
163
  }
164
- function ji(e, r, t) {
164
+ function Gi(e, r, t) {
165
165
  const { fragment: i, after_update: n } = e.$$;
166
166
  i && i.m(r, t), ft(() => {
167
- const s = e.$$.on_mount.map(Kt).filter(wt);
167
+ const s = e.$$.on_mount.map(Yt).filter(wt);
168
168
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
169
169
  }), n.forEach(ft);
170
170
  }
171
- function Vi(e, r) {
171
+ function ji(e, r) {
172
172
  const t = e.$$;
173
- t.fragment !== null && (Fi(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
173
+ t.fragment !== null && (ki(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
174
174
  }
175
- function $i(e, r) {
176
- e.$$.dirty[0] === -1 && (ir.push(e), Ui(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
175
+ function Vi(e, r) {
176
+ e.$$.dirty[0] === -1 && (ir.push(e), Ri(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
177
177
  }
178
- function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
178
+ function $i(e, r, t, i, n, s, u = null, o = [-1]) {
179
179
  const f = Cr;
180
180
  Sr(e);
181
181
  const c = e.$$ = {
@@ -185,7 +185,7 @@ function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
185
185
  props: s,
186
186
  update: X,
187
187
  not_equal: n,
188
- bound: Ht(),
188
+ bound: Tt(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,28 +194,28 @@ function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(r.context || (f ? f.$$.context : [])),
196
196
  // everything else
197
- callbacks: Ht(),
197
+ callbacks: Tt(),
198
198
  dirty: o,
199
199
  skip_bound: !1,
200
200
  root: r.target || f.$$.root
201
201
  };
202
202
  u && u(c.root);
203
203
  let h = !1;
204
- if (c.ctx = t(e, r.props || {}, (m, g, ...b) => {
204
+ if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
205
205
  const v = b.length ? b[0] : g;
206
- return c.ctx && n(c.ctx[m], c.ctx[m] = v) && (!c.skip_bound && c.bound[m] && c.bound[m](v), h && $i(e, m)), g;
207
- }), c.update(), h = !0, ur(c.before_update), c.fragment = i(c.ctx), r.target) {
206
+ return c.ctx && n(c.ctx[m], c.ctx[m] = v) && (!c.skip_bound && c.bound[m] && c.bound[m](v), h && Vi(e, m)), g;
207
+ }) : [], c.update(), h = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
208
208
  if (r.hydrate) {
209
- const m = Ni(r.target);
209
+ const m = Bi(r.target);
210
210
  c.fragment && c.fragment.l(m), m.forEach(se);
211
211
  } else
212
212
  c.fragment && c.fragment.c();
213
- r.intro && Gi(e.$$.fragment), ji(e, r.target, r.anchor), Ce();
213
+ r.intro && Di(e.$$.fragment), Gi(e, r.target, r.anchor), Ce();
214
214
  }
215
215
  Sr(f);
216
216
  }
217
- let ti;
218
- typeof HTMLElement == "function" && (ti = class extends HTMLElement {
217
+ let ri;
218
+ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const r = {}, t = Oi(this);
277
+ const r = {}, t = Ni(this);
278
278
  for (const n of this.$$s)
279
279
  n in t && (r[n] = [e(n)]);
280
280
  for (const n of this.attributes) {
@@ -361,8 +361,8 @@ function Xr(e, r, t, i) {
361
361
  return r;
362
362
  }
363
363
  }
364
- function zi(e, r, t, i, n, s) {
365
- let u = class extends ti {
364
+ function Qi(e, r, t, i, n, s) {
365
+ let u = class extends ri {
366
366
  constructor() {
367
367
  super(e, t, n), this.$$p_d = r;
368
368
  }
@@ -390,7 +390,7 @@ function zi(e, r, t, i, n, s) {
390
390
  }), e.element = /** @type {any} */
391
391
  u, u;
392
392
  }
393
- class Xi {
393
+ class zi {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class Xi {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- Vi(this, 1), this.$destroy = X;
412
+ ji(this, 1), this.$destroy = X;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -431,13 +431,13 @@ class Xi {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(r) {
434
- this.$$set && !Ai(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
434
+ this.$$set && !xi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const Zi = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zi);
437
+ const Xi = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xi);
439
439
  const tr = [];
440
- function Wi(e, r) {
440
+ function Zi(e, r) {
441
441
  return {
442
442
  subscribe: Yr(e, r).subscribe
443
443
  };
@@ -446,7 +446,7 @@ function Yr(e, r = X) {
446
446
  let t;
447
447
  const i = /* @__PURE__ */ new Set();
448
448
  function n(o) {
449
- if (ei(e, o) && (e = o, t)) {
449
+ if (Kt(e, o) && (e = o, t)) {
450
450
  const f = !tr.length;
451
451
  for (const c of i)
452
452
  c[1](), tr.push(c, e);
@@ -473,7 +473,7 @@ function cr(e, r, t) {
473
473
  if (!n.every(Boolean))
474
474
  throw new Error("derived() expects stores as input, got a falsy value");
475
475
  const s = r.length < 2;
476
- return Wi(t, (u, o) => {
476
+ return Zi(t, (u, o) => {
477
477
  let f = !1;
478
478
  const c = [];
479
479
  let h = 0, m = X;
@@ -484,7 +484,7 @@ function cr(e, r, t) {
484
484
  const v = r(i ? c[0] : c, u, o);
485
485
  s ? u(v) : m = wt(v) ? v : X;
486
486
  }, b = n.map(
487
- (v, y) => ri(
487
+ (v, y) => ei(
488
488
  v,
489
489
  (w) => {
490
490
  c[y] = w, h &= ~(1 << y), f && g();
@@ -499,70 +499,70 @@ function cr(e, r, t) {
499
499
  };
500
500
  });
501
501
  }
502
- function qi(e) {
503
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
502
+ function Wi(e) {
503
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
504
504
  }
505
- var Ji = function(r) {
506
- return Yi(r) && !Ki(r);
505
+ var qi = function(r) {
506
+ return Ji(r) && !Yi(r);
507
507
  };
508
- function Yi(e) {
508
+ function Ji(e) {
509
509
  return !!e && typeof e == "object";
510
510
  }
511
- function Ki(e) {
511
+ function Yi(e) {
512
512
  var r = Object.prototype.toString.call(e);
513
- return r === "[object RegExp]" || r === "[object Date]" || tn(e);
513
+ return r === "[object RegExp]" || r === "[object Date]" || rn(e);
514
514
  }
515
- var en = typeof Symbol == "function" && Symbol.for, rn = en ? Symbol.for("react.element") : 60103;
516
- function tn(e) {
517
- return e.$$typeof === rn;
515
+ var Ki = typeof Symbol == "function" && Symbol.for, en = Ki ? Symbol.for("react.element") : 60103;
516
+ function rn(e) {
517
+ return e.$$typeof === en;
518
518
  }
519
- function nn(e) {
519
+ function tn(e) {
520
520
  return Array.isArray(e) ? [] : {};
521
521
  }
522
522
  function xr(e, r) {
523
- return r.clone !== !1 && r.isMergeableObject(e) ? sr(nn(e), e, r) : e;
523
+ return r.clone !== !1 && r.isMergeableObject(e) ? sr(tn(e), e, r) : e;
524
524
  }
525
- function sn(e, r, t) {
525
+ function nn(e, r, t) {
526
526
  return e.concat(r).map(function(i) {
527
527
  return xr(i, t);
528
528
  });
529
529
  }
530
- function an(e, r) {
530
+ function sn(e, r) {
531
531
  if (!r.customMerge)
532
532
  return sr;
533
533
  var t = r.customMerge(e);
534
534
  return typeof t == "function" ? t : sr;
535
535
  }
536
- function on(e) {
536
+ function an(e) {
537
537
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
538
538
  return Object.propertyIsEnumerable.call(e, r);
539
539
  }) : [];
540
540
  }
541
- function Bt(e) {
542
- return Object.keys(e).concat(on(e));
541
+ function It(e) {
542
+ return Object.keys(e).concat(an(e));
543
543
  }
544
- function ii(e, r) {
544
+ function ti(e, r) {
545
545
  try {
546
546
  return r in e;
547
547
  } catch {
548
548
  return !1;
549
549
  }
550
550
  }
551
- function ln(e, r) {
552
- return ii(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
551
+ function on(e, r) {
552
+ return ti(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
553
553
  }
554
- function un(e, r, t) {
554
+ function ln(e, r, t) {
555
555
  var i = {};
556
- return t.isMergeableObject(e) && Bt(e).forEach(function(n) {
556
+ return t.isMergeableObject(e) && It(e).forEach(function(n) {
557
557
  i[n] = xr(e[n], t);
558
- }), Bt(r).forEach(function(n) {
559
- ln(e, n) || (ii(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = xr(r[n], t));
558
+ }), It(r).forEach(function(n) {
559
+ on(e, n) || (ti(e, n) && t.isMergeableObject(r[n]) ? i[n] = sn(n, t)(e[n], r[n], t) : i[n] = xr(r[n], t));
560
560
  }), i;
561
561
  }
562
562
  function sr(e, r, t) {
563
- t = t || {}, t.arrayMerge = t.arrayMerge || sn, t.isMergeableObject = t.isMergeableObject || Ji, t.cloneUnlessOtherwiseSpecified = xr;
563
+ t = t || {}, t.arrayMerge = t.arrayMerge || nn, t.isMergeableObject = t.isMergeableObject || qi, t.cloneUnlessOtherwiseSpecified = xr;
564
564
  var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
565
- return s ? i ? t.arrayMerge(e, r, t) : un(e, r, t) : xr(r, t);
565
+ return s ? i ? t.arrayMerge(e, r, t) : ln(e, r, t) : xr(r, t);
566
566
  }
567
567
  sr.all = function(r, t) {
568
568
  if (!Array.isArray(r))
@@ -571,8 +571,8 @@ sr.all = function(r, t) {
571
571
  return sr(i, n, t);
572
572
  }, {});
573
573
  };
574
- var cn = sr, hn = cn;
575
- const fn = /* @__PURE__ */ qi(hn);
574
+ var un = sr, cn = un;
575
+ const hn = /* @__PURE__ */ Wi(cn);
576
576
  var dt = function(e, r) {
577
577
  return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
578
578
  t.__proto__ = i;
@@ -598,7 +598,7 @@ var A = function() {
598
598
  return r;
599
599
  }, A.apply(this, arguments);
600
600
  };
601
- function dn(e, r) {
601
+ function fn(e, r) {
602
602
  var t = {};
603
603
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
604
604
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -612,39 +612,36 @@ function st(e, r, t) {
612
612
  return e.concat(s || Array.prototype.slice.call(r));
613
613
  }
614
614
  function at(e, r) {
615
- var t = r && r.cache ? r.cache : _n, i = r && r.serializer ? r.serializer : yn, n = r && r.strategy ? r.strategy : gn;
615
+ var t = r && r.cache ? r.cache : En, i = r && r.serializer ? r.serializer : bn, n = r && r.strategy ? r.strategy : gn;
616
616
  return n(e, {
617
617
  cache: t,
618
618
  serializer: i
619
619
  });
620
620
  }
621
- function mn(e) {
621
+ function dn(e) {
622
622
  return e == null || typeof e == "number" || typeof e == "boolean";
623
623
  }
624
- function ni(e, r, t, i) {
625
- var n = mn(i) ? i : t(i), s = r.get(n);
624
+ function mn(e, r, t, i) {
625
+ var n = dn(i) ? i : t(i), s = r.get(n);
626
626
  return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
627
627
  }
628
- function si(e, r, t) {
628
+ function ii(e, r, t) {
629
629
  var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
630
630
  return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
631
631
  }
632
- function St(e, r, t, i, n) {
632
+ function ni(e, r, t, i, n) {
633
633
  return t.bind(r, e, i, n);
634
634
  }
635
635
  function gn(e, r) {
636
- var t = e.length === 1 ? ni : si;
637
- return St(e, this, t, r.cache.create(), r.serializer);
636
+ var t = e.length === 1 ? mn : ii;
637
+ return ni(e, this, t, r.cache.create(), r.serializer);
638
638
  }
639
639
  function pn(e, r) {
640
- return St(e, this, si, r.cache.create(), r.serializer);
641
- }
642
- function bn(e, r) {
643
- return St(e, this, ni, r.cache.create(), r.serializer);
640
+ return ni(e, this, ii, r.cache.create(), r.serializer);
644
641
  }
645
- var yn = function() {
642
+ var bn = function() {
646
643
  return JSON.stringify(arguments);
647
- }, En = (
644
+ }, yn = (
648
645
  /** @class */
649
646
  function() {
650
647
  function e() {
@@ -656,13 +653,12 @@ var yn = function() {
656
653
  this.cache[r] = t;
657
654
  }, e;
658
655
  }()
659
- ), _n = {
656
+ ), En = {
660
657
  create: function() {
661
- return new En();
658
+ return new yn();
662
659
  }
663
660
  }, ot = {
664
- variadic: pn,
665
- monadic: bn
661
+ variadic: pn
666
662
  }, P;
667
663
  (function(e) {
668
664
  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";
@@ -675,43 +671,43 @@ var ar;
675
671
  (function(e) {
676
672
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
677
673
  })(ar || (ar = {}));
678
- function Nt(e) {
674
+ function Bt(e) {
679
675
  return e.type === N.literal;
680
676
  }
681
- function vn(e) {
677
+ function _n(e) {
682
678
  return e.type === N.argument;
683
679
  }
684
- function ai(e) {
680
+ function si(e) {
685
681
  return e.type === N.number;
686
682
  }
687
- function oi(e) {
683
+ function ai(e) {
688
684
  return e.type === N.date;
689
685
  }
690
- function li(e) {
686
+ function oi(e) {
691
687
  return e.type === N.time;
692
688
  }
693
- function ui(e) {
689
+ function li(e) {
694
690
  return e.type === N.select;
695
691
  }
696
- function ci(e) {
692
+ function ui(e) {
697
693
  return e.type === N.plural;
698
694
  }
699
- function wn(e) {
695
+ function vn(e) {
700
696
  return e.type === N.pound;
701
697
  }
702
- function hi(e) {
698
+ function ci(e) {
703
699
  return e.type === N.tag;
704
700
  }
705
- function fi(e) {
701
+ function hi(e) {
706
702
  return !!(e && typeof e == "object" && e.type === ar.number);
707
703
  }
708
704
  function mt(e) {
709
705
  return !!(e && typeof e == "object" && e.type === ar.dateTime);
710
706
  }
711
- var di = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
712
- function Pn(e) {
707
+ var fi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
708
+ function Sn(e) {
713
709
  var r = {};
714
- return e.replace(Sn, function(t) {
710
+ return e.replace(wn, function(t) {
715
711
  var i = t.length;
716
712
  switch (t[0]) {
717
713
  case "G":
@@ -800,11 +796,11 @@ function Pn(e) {
800
796
  return "";
801
797
  }), r;
802
798
  }
803
- var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
804
- function xn(e) {
799
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
800
+ function Cn(e) {
805
801
  if (e.length === 0)
806
802
  throw new Error("Number skeleton cannot be empty");
807
- for (var r = e.split(Cn).filter(function(g) {
803
+ for (var r = e.split(Pn).filter(function(g) {
808
804
  return g.length > 0;
809
805
  }), t = [], i = 0, n = r; i < n.length; i++) {
810
806
  var s = n[i], u = s.split("/");
@@ -819,17 +815,17 @@ function xn(e) {
819
815
  }
820
816
  return t;
821
817
  }
822
- function An(e) {
818
+ function xn(e) {
823
819
  return e.replace(/^(.*?)-/, "");
824
820
  }
825
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mi = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, gi = /^(0+)$/;
826
- function Lt(e) {
821
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, di = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, mi = /^(0+)$/;
822
+ function Ot(e) {
827
823
  var r = {};
828
- return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(mi, function(t, i, n) {
824
+ return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(di, function(t, i, n) {
829
825
  return typeof n != "string" ? (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length) : n === "+" ? r.minimumSignificantDigits = i.length : i[0] === "#" ? r.maximumSignificantDigits = i.length : (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
830
826
  }), r;
831
827
  }
832
- function pi(e) {
828
+ function gi(e) {
833
829
  switch (e) {
834
830
  case "sign-auto":
835
831
  return {
@@ -869,7 +865,7 @@ function pi(e) {
869
865
  };
870
866
  }
871
867
  }
872
- function Hn(e) {
868
+ function Tn(e) {
873
869
  var r;
874
870
  if (e[0] === "E" && e[1] === "E" ? (r = {
875
871
  notation: "engineering"
@@ -877,17 +873,17 @@ function Hn(e) {
877
873
  notation: "scientific"
878
874
  }, e = e.slice(1)), r) {
879
875
  var t = e.slice(0, 2);
880
- if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !gi.test(e))
876
+ if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !mi.test(e))
881
877
  throw new Error("Malformed concise eng/scientific notation");
882
878
  r.minimumIntegerDigits = e.length;
883
879
  }
884
880
  return r;
885
881
  }
886
- function Mt(e) {
887
- var r = {}, t = pi(e);
882
+ function Lt(e) {
883
+ var r = {}, t = gi(e);
888
884
  return t || r;
889
885
  }
890
- function In(e) {
886
+ function Hn(e) {
891
887
  for (var r = {}, t = 0, i = e; t < i.length; t++) {
892
888
  var n = i[t];
893
889
  switch (n.stem) {
@@ -911,7 +907,7 @@ function In(e) {
911
907
  continue;
912
908
  case "measure-unit":
913
909
  case "unit":
914
- r.style = "unit", r.unit = An(n.options[0]);
910
+ r.style = "unit", r.unit = xn(n.options[0]);
915
911
  continue;
916
912
  case "compact-short":
917
913
  case "K":
@@ -923,12 +919,12 @@ function In(e) {
923
919
  continue;
924
920
  case "scientific":
925
921
  r = A(A(A({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
926
- return A(A({}, f), Mt(c));
922
+ return A(A({}, f), Lt(c));
927
923
  }, {}));
928
924
  continue;
929
925
  case "engineering":
930
926
  r = A(A(A({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
931
- return A(A({}, f), Mt(c));
927
+ return A(A({}, f), Lt(c));
932
928
  }, {}));
933
929
  continue;
934
930
  case "notation-simple":
@@ -973,7 +969,7 @@ function In(e) {
973
969
  case "integer-width":
974
970
  if (n.options.length > 1)
975
971
  throw new RangeError("integer-width stems only accept a single optional option");
976
- n.options[0].replace(Tn, function(f, c, h, m, g, b) {
972
+ n.options[0].replace(An, function(f, c, h, m, g, b) {
977
973
  if (c)
978
974
  r.minimumIntegerDigits = h.length;
979
975
  else {
@@ -986,27 +982,27 @@ function In(e) {
986
982
  });
987
983
  continue;
988
984
  }
989
- if (gi.test(n.stem)) {
985
+ if (mi.test(n.stem)) {
990
986
  r.minimumIntegerDigits = n.stem.length;
991
987
  continue;
992
988
  }
993
- if (Ot.test(n.stem)) {
989
+ if (Nt.test(n.stem)) {
994
990
  if (n.options.length > 1)
995
991
  throw new RangeError("Fraction-precision stems only accept a single optional option");
996
- n.stem.replace(Ot, function(f, c, h, m, g, b) {
992
+ n.stem.replace(Nt, function(f, c, h, m, g, b) {
997
993
  return h === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
998
994
  });
999
995
  var s = n.options[0];
1000
- s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Lt(s)));
996
+ s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Ot(s)));
1001
997
  continue;
1002
998
  }
1003
- if (mi.test(n.stem)) {
1004
- r = A(A({}, r), Lt(n.stem));
999
+ if (di.test(n.stem)) {
1000
+ r = A(A({}, r), Ot(n.stem));
1005
1001
  continue;
1006
1002
  }
1007
- var u = pi(n.stem);
1003
+ var u = gi(n.stem);
1008
1004
  u && (r = A(A({}, r), u));
1009
- var o = Hn(n.stem);
1005
+ var o = Tn(n.stem);
1010
1006
  o && (r = A(A({}, r), o));
1011
1007
  }
1012
1008
  return r;
@@ -2426,13 +2422,13 @@ var zr = {
2426
2422
  "h"
2427
2423
  ]
2428
2424
  };
2429
- function Bn(e, r) {
2425
+ function In(e, r) {
2430
2426
  for (var t = "", i = 0; i < e.length; i++) {
2431
2427
  var n = e.charAt(i);
2432
2428
  if (n === "j") {
2433
2429
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2434
2430
  s++, i++;
2435
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Nn(r);
2431
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Bn(r);
2436
2432
  for ((c == "H" || c == "k") && (o = 0); o-- > 0; )
2437
2433
  t += f;
2438
2434
  for (; u-- > 0; )
@@ -2441,7 +2437,7 @@ function Bn(e, r) {
2441
2437
  }
2442
2438
  return t;
2443
2439
  }
2444
- function Nn(e) {
2440
+ function Bn(e) {
2445
2441
  var r = e.hourCycle;
2446
2442
  if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2447
2443
  e.hourCycles && // @ts-ignore
@@ -2463,20 +2459,20 @@ function Nn(e) {
2463
2459
  var n = zr[i || ""] || zr[t || ""] || zr["".concat(t, "-001")] || zr["001"];
2464
2460
  return n[0];
2465
2461
  }
2466
- var lt, On = new RegExp("^".concat(di.source, "*")), Ln = new RegExp("".concat(di.source, "*$"));
2462
+ var lt, Nn = new RegExp("^".concat(fi.source, "*")), On = new RegExp("".concat(fi.source, "*$"));
2467
2463
  function C(e, r) {
2468
2464
  return { start: e, end: r };
2469
2465
  }
2470
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
2466
+ var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Rn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? Number.isSafeInteger : function(e) {
2471
2467
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2472
2468
  }, gt = !0;
2473
2469
  try {
2474
- var Vn = yi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2475
- gt = ((lt = Vn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2470
+ var jn = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2471
+ gt = ((lt = jn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2476
2472
  } catch {
2477
2473
  gt = !1;
2478
2474
  }
2479
- var Rt = Mn ? (
2475
+ var Mt = Ln ? (
2480
2476
  // Native
2481
2477
  function(r, t, i) {
2482
2478
  return r.startsWith(t, i);
@@ -2486,7 +2482,7 @@ var Rt = Mn ? (
2486
2482
  function(r, t, i) {
2487
2483
  return r.slice(i, i + t.length) === t;
2488
2484
  }
2489
- ), pt = Rn ? String.fromCodePoint : (
2485
+ ), pt = Mn ? String.fromCodePoint : (
2490
2486
  // IE11
2491
2487
  function() {
2492
2488
  for (var r = [], t = 0; t < arguments.length; t++)
@@ -2498,9 +2494,9 @@ var Rt = Mn ? (
2498
2494
  }
2499
2495
  return i;
2500
2496
  }
2501
- ), Ut = (
2497
+ ), Rt = (
2502
2498
  // native
2503
- Un ? Object.fromEntries : (
2499
+ Rn ? Object.fromEntries : (
2504
2500
  // Ponyfill
2505
2501
  function(r) {
2506
2502
  for (var t = {}, i = 0, n = r; i < n.length; i++) {
@@ -2510,7 +2506,7 @@ var Rt = Mn ? (
2510
2506
  return t;
2511
2507
  }
2512
2508
  )
2513
- ), bi = kn ? (
2509
+ ), pi = Un ? (
2514
2510
  // Native
2515
2511
  function(r, t) {
2516
2512
  return r.codePointAt(t);
@@ -2524,7 +2520,7 @@ var Rt = Mn ? (
2524
2520
  return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2525
2521
  }
2526
2522
  }
2527
- ), $n = Fn ? (
2523
+ ), Vn = kn ? (
2528
2524
  // Native
2529
2525
  function(r) {
2530
2526
  return r.trimStart();
@@ -2532,9 +2528,9 @@ var Rt = Mn ? (
2532
2528
  ) : (
2533
2529
  // Ponyfill
2534
2530
  function(r) {
2535
- return r.replace(On, "");
2531
+ return r.replace(Nn, "");
2536
2532
  }
2537
- ), Qn = Dn ? (
2533
+ ), $n = Fn ? (
2538
2534
  // Native
2539
2535
  function(r) {
2540
2536
  return r.trimEnd();
@@ -2542,32 +2538,32 @@ var Rt = Mn ? (
2542
2538
  ) : (
2543
2539
  // Ponyfill
2544
2540
  function(r) {
2545
- return r.replace(Ln, "");
2541
+ return r.replace(On, "");
2546
2542
  }
2547
2543
  );
2548
- function yi(e, r) {
2544
+ function bi(e, r) {
2549
2545
  return new RegExp(e, r);
2550
2546
  }
2551
2547
  var bt;
2552
2548
  if (gt) {
2553
- var kt = yi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
+ var Ut = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2554
2550
  bt = function(r, t) {
2555
2551
  var i;
2556
- kt.lastIndex = t;
2557
- var n = kt.exec(r);
2552
+ Ut.lastIndex = t;
2553
+ var n = Ut.exec(r);
2558
2554
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2559
2555
  };
2560
2556
  } else
2561
2557
  bt = function(r, t) {
2562
2558
  for (var i = []; ; ) {
2563
- var n = bi(r, t);
2564
- if (n === void 0 || Ei(n) || Wn(n))
2559
+ var n = pi(r, t);
2560
+ if (n === void 0 || yi(n) || Zn(n))
2565
2561
  break;
2566
2562
  i.push(n), t += n >= 65536 ? 2 : 1;
2567
2563
  }
2568
2564
  return pt.apply(void 0, i);
2569
2565
  };
2570
- var zn = (
2566
+ var Qn = (
2571
2567
  /** @class */
2572
2568
  function() {
2573
2569
  function e(r, t) {
@@ -2649,7 +2645,7 @@ var zn = (
2649
2645
  return this.error(P.INVALID_TAG, C(i, this.clonePosition()));
2650
2646
  }, e.prototype.parseTagName = function() {
2651
2647
  var r = this.offset();
2652
- for (this.bump(); !this.isEOF() && Zn(this.char()); )
2648
+ for (this.bump(); !this.isEOF() && Xn(this.char()); )
2653
2649
  this.bump();
2654
2650
  return this.message.slice(r, this.offset());
2655
2651
  }, e.prototype.parseLiteral = function(r, t) {
@@ -2678,7 +2674,7 @@ var zn = (
2678
2674
  };
2679
2675
  }, e.prototype.tryParseLeftAngleBracket = function() {
2680
2676
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2681
- !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2677
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2682
2678
  }, e.prototype.tryParseQuote = function(r) {
2683
2679
  if (this.isEOF() || this.char() !== 39)
2684
2680
  return null;
@@ -2765,7 +2761,7 @@ var zn = (
2765
2761
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2766
2762
  if (m.err)
2767
2763
  return m;
2768
- var g = Qn(m.val);
2764
+ var g = $n(m.val);
2769
2765
  if (g.length === 0)
2770
2766
  return this.error(P.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
2771
2767
  var b = C(h, this.clonePosition());
@@ -2775,8 +2771,8 @@ var zn = (
2775
2771
  if (v.err)
2776
2772
  return v;
2777
2773
  var y = C(n, this.clonePosition());
2778
- if (c && Rt(c?.style, "::", 0)) {
2779
- var w = $n(c.style.slice(2));
2774
+ if (c && Mt(c?.style, "::", 0)) {
2775
+ var w = Vn(c.style.slice(2));
2780
2776
  if (o === "number") {
2781
2777
  var m = this.parseNumberSkeletonFromString(w, c.styleLocation);
2782
2778
  return m.err ? m : {
@@ -2787,12 +2783,12 @@ var zn = (
2787
2783
  if (w.length === 0)
2788
2784
  return this.error(P.EXPECT_DATE_TIME_SKELETON, y);
2789
2785
  var B = w;
2790
- this.locale && (B = Bn(w, this.locale));
2786
+ this.locale && (B = In(w, this.locale));
2791
2787
  var g = {
2792
2788
  type: ar.dateTime,
2793
2789
  pattern: B,
2794
2790
  location: c.styleLocation,
2795
- parsedOptions: this.shouldParseSkeletons ? Pn(B) : {}
2791
+ parsedOptions: this.shouldParseSkeletons ? Sn(B) : {}
2796
2792
  }, $ = o === "date" ? N.date : N.time;
2797
2793
  return {
2798
2794
  val: { type: $, value: i, location: y, style: g },
@@ -2838,7 +2834,7 @@ var zn = (
2838
2834
  val: {
2839
2835
  type: N.select,
2840
2836
  value: i,
2841
- options: Ut(be.val),
2837
+ options: Rt(be.val),
2842
2838
  location: R
2843
2839
  },
2844
2840
  err: null
@@ -2846,7 +2842,7 @@ var zn = (
2846
2842
  val: {
2847
2843
  type: N.plural,
2848
2844
  value: i,
2849
- options: Ut(be.val),
2845
+ options: Rt(be.val),
2850
2846
  offset: G,
2851
2847
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2852
2848
  location: R
@@ -2897,7 +2893,7 @@ var zn = (
2897
2893
  }, e.prototype.parseNumberSkeletonFromString = function(r, t) {
2898
2894
  var i = [];
2899
2895
  try {
2900
- i = xn(r);
2896
+ i = Cn(r);
2901
2897
  } catch {
2902
2898
  return this.error(P.INVALID_NUMBER_SKELETON, t);
2903
2899
  }
@@ -2906,7 +2902,7 @@ var zn = (
2906
2902
  type: ar.number,
2907
2903
  tokens: i,
2908
2904
  location: t,
2909
- parsedOptions: this.shouldParseSkeletons ? In(i) : {}
2905
+ parsedOptions: this.shouldParseSkeletons ? Hn(i) : {}
2910
2906
  },
2911
2907
  err: null
2912
2908
  };
@@ -2954,7 +2950,7 @@ var zn = (
2954
2950
  break;
2955
2951
  }
2956
2952
  var f = C(n, this.clonePosition());
2957
- return s ? (u *= i, jn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
2953
+ return s ? (u *= i, Gn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
2958
2954
  }, e.prototype.offset = function() {
2959
2955
  return this.position.offset;
2960
2956
  }, e.prototype.isEOF = function() {
@@ -2969,7 +2965,7 @@ var zn = (
2969
2965
  var r = this.position.offset;
2970
2966
  if (r >= this.message.length)
2971
2967
  throw Error("out of bound");
2972
- var t = bi(this.message, r);
2968
+ var t = pi(this.message, r);
2973
2969
  if (t === void 0)
2974
2970
  throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
2975
2971
  return t;
@@ -2988,7 +2984,7 @@ var zn = (
2988
2984
  r === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += r < 65536 ? 1 : 2);
2989
2985
  }
2990
2986
  }, e.prototype.bumpIf = function(r) {
2991
- if (Rt(this.message, r, this.offset())) {
2987
+ if (Mt(this.message, r, this.offset())) {
2992
2988
  for (var t = 0; t < r.length; t++)
2993
2989
  this.bump();
2994
2990
  return !0;
@@ -3010,7 +3006,7 @@ var zn = (
3010
3006
  break;
3011
3007
  }
3012
3008
  }, e.prototype.bumpSpace = function() {
3013
- for (; !this.isEOF() && Ei(this.char()); )
3009
+ for (; !this.isEOF() && yi(this.char()); )
3014
3010
  this.bump();
3015
3011
  }, e.prototype.peek = function() {
3016
3012
  if (this.isEOF())
@@ -3023,29 +3019,29 @@ var zn = (
3023
3019
  function yt(e) {
3024
3020
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3025
3021
  }
3026
- function Xn(e) {
3022
+ function zn(e) {
3027
3023
  return yt(e) || e === 47;
3028
3024
  }
3029
- function Zn(e) {
3025
+ function Xn(e) {
3030
3026
  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;
3031
3027
  }
3032
- function Ei(e) {
3028
+ function yi(e) {
3033
3029
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3034
3030
  }
3035
- function Wn(e) {
3031
+ function Zn(e) {
3036
3032
  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;
3037
3033
  }
3038
3034
  function Et(e) {
3039
3035
  e.forEach(function(r) {
3040
- if (delete r.location, ui(r) || ci(r))
3036
+ if (delete r.location, li(r) || ui(r))
3041
3037
  for (var t in r.options)
3042
3038
  delete r.options[t].location, Et(r.options[t].value);
3043
- else ai(r) && fi(r.style) || (oi(r) || li(r)) && mt(r.style) ? delete r.style.location : hi(r) && Et(r.children);
3039
+ else si(r) && hi(r.style) || (ai(r) || oi(r)) && mt(r.style) ? delete r.style.location : ci(r) && Et(r.children);
3044
3040
  });
3045
3041
  }
3046
- function qn(e, r) {
3042
+ function Wn(e, r) {
3047
3043
  r === void 0 && (r = {}), r = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
3048
- var t = new zn(e, r).parse();
3044
+ var t = new Qn(e, r).parse();
3049
3045
  if (t.err) {
3050
3046
  var i = SyntaxError(P[t.err.kind]);
3051
3047
  throw i.location = t.err.location, i.originalMessage = t.err.message, i;
@@ -3068,7 +3064,7 @@ var et = (
3068
3064
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3069
3065
  }, r;
3070
3066
  }(Error)
3071
- ), Ft = (
3067
+ ), kt = (
3072
3068
  /** @class */
3073
3069
  function(e) {
3074
3070
  Kr(r, e);
@@ -3077,7 +3073,7 @@ var et = (
3077
3073
  }
3078
3074
  return r;
3079
3075
  }(et)
3080
- ), Jn = (
3076
+ ), qn = (
3081
3077
  /** @class */
3082
3078
  function(e) {
3083
3079
  Kr(r, e);
@@ -3086,7 +3082,7 @@ var et = (
3086
3082
  }
3087
3083
  return r;
3088
3084
  }(et)
3089
- ), Yn = (
3085
+ ), Jn = (
3090
3086
  /** @class */
3091
3087
  function(e) {
3092
3088
  Kr(r, e);
@@ -3099,17 +3095,17 @@ var et = (
3099
3095
  (function(e) {
3100
3096
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3101
3097
  })(z || (z = {}));
3102
- function Kn(e) {
3098
+ function Yn(e) {
3103
3099
  return e.length < 2 ? e : e.reduce(function(r, t) {
3104
3100
  var i = r[r.length - 1];
3105
3101
  return !i || i.type !== z.literal || t.type !== z.literal ? r.push(t) : i.value += t.value, r;
3106
3102
  }, []);
3107
3103
  }
3108
- function es(e) {
3104
+ function Kn(e) {
3109
3105
  return typeof e == "function";
3110
3106
  }
3111
3107
  function Zr(e, r, t, i, n, s, u) {
3112
- if (e.length === 1 && Nt(e[0]))
3108
+ if (e.length === 1 && Bt(e[0]))
3113
3109
  return [
3114
3110
  {
3115
3111
  type: z.literal,
@@ -3118,14 +3114,14 @@ function Zr(e, r, t, i, n, s, u) {
3118
3114
  ];
3119
3115
  for (var o = [], f = 0, c = e; f < c.length; f++) {
3120
3116
  var h = c[f];
3121
- if (Nt(h)) {
3117
+ if (Bt(h)) {
3122
3118
  o.push({
3123
3119
  type: z.literal,
3124
3120
  value: h.value
3125
3121
  });
3126
3122
  continue;
3127
3123
  }
3128
- if (wn(h)) {
3124
+ if (vn(h)) {
3129
3125
  typeof s == "number" && o.push({
3130
3126
  type: z.literal,
3131
3127
  value: t.getNumberFormat(r).format(s)
@@ -3134,16 +3130,16 @@ function Zr(e, r, t, i, n, s, u) {
3134
3130
  }
3135
3131
  var m = h.value;
3136
3132
  if (!(n && m in n))
3137
- throw new Yn(m, u);
3133
+ throw new Jn(m, u);
3138
3134
  var g = n[m];
3139
- if (vn(h)) {
3135
+ if (_n(h)) {
3140
3136
  (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), o.push({
3141
3137
  type: typeof g == "string" ? z.literal : z.object,
3142
3138
  value: g
3143
3139
  });
3144
3140
  continue;
3145
3141
  }
3146
- if (oi(h)) {
3142
+ if (ai(h)) {
3147
3143
  var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3148
3144
  o.push({
3149
3145
  type: z.literal,
@@ -3151,7 +3147,7 @@ function Zr(e, r, t, i, n, s, u) {
3151
3147
  });
3152
3148
  continue;
3153
3149
  }
3154
- if (li(h)) {
3150
+ if (oi(h)) {
3155
3151
  var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
3156
3152
  o.push({
3157
3153
  type: z.literal,
@@ -3159,18 +3155,18 @@ function Zr(e, r, t, i, n, s, u) {
3159
3155
  });
3160
3156
  continue;
3161
3157
  }
3162
- if (ai(h)) {
3163
- var b = typeof h.style == "string" ? i.number[h.style] : fi(h.style) ? h.style.parsedOptions : void 0;
3158
+ if (si(h)) {
3159
+ var b = typeof h.style == "string" ? i.number[h.style] : hi(h.style) ? h.style.parsedOptions : void 0;
3164
3160
  b && b.scale && (g = g * (b.scale || 1)), o.push({
3165
3161
  type: z.literal,
3166
3162
  value: t.getNumberFormat(r, b).format(g)
3167
3163
  });
3168
3164
  continue;
3169
3165
  }
3170
- if (hi(h)) {
3166
+ if (ci(h)) {
3171
3167
  var v = h.children, y = h.value, w = n[y];
3172
- if (!es(w))
3173
- throw new Jn(y, "function", u);
3168
+ if (!Kn(w))
3169
+ throw new qn(y, "function", u);
3174
3170
  var B = Zr(v, r, t, i, n, s), $ = w(B.map(function(G) {
3175
3171
  return G.value;
3176
3172
  }));
@@ -3181,14 +3177,14 @@ function Zr(e, r, t, i, n, s, u) {
3181
3177
  };
3182
3178
  }));
3183
3179
  }
3184
- if (ui(h)) {
3180
+ if (li(h)) {
3185
3181
  var M = h.options[g] || h.options.other;
3186
3182
  if (!M)
3187
- throw new Ft(h.value, g, Object.keys(h.options), u);
3183
+ throw new kt(h.value, g, Object.keys(h.options), u);
3188
3184
  o.push.apply(o, Zr(M.value, r, t, i, n));
3189
3185
  continue;
3190
3186
  }
3191
- if (ci(h)) {
3187
+ if (ui(h)) {
3192
3188
  var M = h.options["=".concat(g)];
3193
3189
  if (!M) {
3194
3190
  if (!Intl.PluralRules)
@@ -3199,21 +3195,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3199
3195
  M = h.options[de] || h.options.other;
3200
3196
  }
3201
3197
  if (!M)
3202
- throw new Ft(h.value, g, Object.keys(h.options), u);
3198
+ throw new kt(h.value, g, Object.keys(h.options), u);
3203
3199
  o.push.apply(o, Zr(M.value, r, t, i, n, g - (h.offset || 0)));
3204
3200
  continue;
3205
3201
  }
3206
3202
  }
3207
- return Kn(o);
3203
+ return Yn(o);
3208
3204
  }
3209
- function rs(e, r) {
3205
+ function es(e, r) {
3210
3206
  return r ? A(A(A({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
3211
3207
  return t[i] = A(A({}, e[i]), r[i] || {}), t;
3212
3208
  }, {})) : e;
3213
3209
  }
3214
- function ts(e, r) {
3210
+ function rs(e, r) {
3215
3211
  return r ? Object.keys(e).reduce(function(t, i) {
3216
- return t[i] = rs(e[i], r[i]), t;
3212
+ return t[i] = es(e[i], r[i]), t;
3217
3213
  }, A({}, e)) : e;
3218
3214
  }
3219
3215
  function ut(e) {
@@ -3230,7 +3226,7 @@ function ut(e) {
3230
3226
  }
3231
3227
  };
3232
3228
  }
3233
- function is(e) {
3229
+ function ts(e) {
3234
3230
  return e === void 0 && (e = {
3235
3231
  number: {},
3236
3232
  dateTime: {},
@@ -3262,7 +3258,7 @@ function is(e) {
3262
3258
  })
3263
3259
  };
3264
3260
  }
3265
- var ns = (
3261
+ var is = (
3266
3262
  /** @class */
3267
3263
  function() {
3268
3264
  function e(r, t, i, n) {
@@ -3294,13 +3290,13 @@ var ns = (
3294
3290
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3295
3291
  var u = n || {};
3296
3292
  u.formatters;
3297
- var o = dn(u, ["formatters"]);
3293
+ var o = fn(u, ["formatters"]);
3298
3294
  this.ast = e.__parse(r, A(A({}, o), { locale: this.resolvedLocale }));
3299
3295
  } else
3300
3296
  this.ast = r;
3301
3297
  if (!Array.isArray(this.ast))
3302
3298
  throw new TypeError("A message must be provided as a String or AST.");
3303
- this.formats = ts(e.formats, i), this.formatters = n && n.formatters || is(this.formatterCache);
3299
+ this.formats = rs(e.formats, i), this.formatters = n && n.formatters || ts(this.formatterCache);
3304
3300
  }
3305
3301
  return Object.defineProperty(e, "defaultLocale", {
3306
3302
  get: function() {
@@ -3313,7 +3309,7 @@ var ns = (
3313
3309
  var t = Intl.NumberFormat.supportedLocalesOf(r);
3314
3310
  return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
3315
3311
  }
3316
- }, e.__parse = qn, e.formats = {
3312
+ }, e.__parse = Wn, e.formats = {
3317
3313
  number: {
3318
3314
  integer: {
3319
3315
  maximumFractionDigits: 0
@@ -3374,7 +3370,7 @@ var ns = (
3374
3370
  }, e;
3375
3371
  }()
3376
3372
  );
3377
- function ss(e, r) {
3373
+ function ns(e, r) {
3378
3374
  if (r == null)
3379
3375
  return;
3380
3376
  if (r in e)
@@ -3395,60 +3391,60 @@ function ss(e, r) {
3395
3391
  i = void 0;
3396
3392
  return i;
3397
3393
  }
3398
- const Be = {}, as = (e, r, t) => t && (r in Be || (Be[r] = {}), e in Be[r] || (Be[r][e] = t), t), _i = (e, r) => {
3394
+ const Be = {}, ss = (e, r, t) => t && (r in Be || (Be[r] = {}), e in Be[r] || (Be[r][e] = t), t), Ei = (e, r) => {
3399
3395
  if (r == null)
3400
3396
  return;
3401
3397
  if (r in Be && e in Be[r])
3402
3398
  return Be[r][e];
3403
3399
  const t = rt(r);
3404
3400
  for (let i = 0; i < t.length; i++) {
3405
- const n = t[i], s = ls(n, e);
3401
+ const n = t[i], s = os(n, e);
3406
3402
  if (s)
3407
- return as(e, r, s);
3403
+ return ss(e, r, s);
3408
3404
  }
3409
3405
  };
3410
- let Pt;
3406
+ let St;
3411
3407
  const Tr = Yr({});
3412
- function os(e) {
3413
- return Pt[e] || null;
3408
+ function as(e) {
3409
+ return St[e] || null;
3414
3410
  }
3415
- function vi(e) {
3416
- return e in Pt;
3411
+ function _i(e) {
3412
+ return e in St;
3417
3413
  }
3418
- function ls(e, r) {
3419
- if (!vi(e))
3414
+ function os(e, r) {
3415
+ if (!_i(e))
3420
3416
  return null;
3421
- const t = os(e);
3422
- return ss(t, r);
3417
+ const t = as(e);
3418
+ return ns(t, r);
3423
3419
  }
3424
- function us(e) {
3420
+ function ls(e) {
3425
3421
  if (e == null)
3426
3422
  return;
3427
3423
  const r = rt(e);
3428
3424
  for (let t = 0; t < r.length; t++) {
3429
3425
  const i = r[t];
3430
- if (vi(i))
3426
+ if (_i(i))
3431
3427
  return i;
3432
3428
  }
3433
3429
  }
3434
- function wi(e, ...r) {
3435
- delete Be[e], Tr.update((t) => (t[e] = fn.all([t[e] || {}, ...r]), t));
3430
+ function vi(e, ...r) {
3431
+ delete Be[e], Tr.update((t) => (t[e] = hn.all([t[e] || {}, ...r]), t));
3436
3432
  }
3437
3433
  cr(
3438
3434
  [Tr],
3439
3435
  ([e]) => Object.keys(e)
3440
3436
  );
3441
- Tr.subscribe((e) => Pt = e);
3437
+ Tr.subscribe((e) => St = e);
3442
3438
  const Wr = {};
3443
- function cs(e, r) {
3439
+ function us(e, r) {
3444
3440
  Wr[e].delete(r), Wr[e].size === 0 && delete Wr[e];
3445
3441
  }
3446
- function Si(e) {
3442
+ function wi(e) {
3447
3443
  return Wr[e];
3448
3444
  }
3449
- function hs(e) {
3445
+ function cs(e) {
3450
3446
  return rt(e).map((r) => {
3451
- const t = Si(r);
3447
+ const t = wi(r);
3452
3448
  return [r, t ? [...t] : []];
3453
3449
  }).filter(([, r]) => r.length > 0);
3454
3450
  }
@@ -3456,31 +3452,31 @@ function _t(e) {
3456
3452
  return e == null ? !1 : rt(e).some(
3457
3453
  (r) => {
3458
3454
  var t;
3459
- return (t = Si(r)) == null ? void 0 : t.size;
3455
+ return (t = wi(r)) == null ? void 0 : t.size;
3460
3456
  }
3461
3457
  );
3462
3458
  }
3463
- function fs(e, r) {
3459
+ function hs(e, r) {
3464
3460
  return Promise.all(
3465
- r.map((i) => (cs(e, i), i().then((n) => n.default || n)))
3466
- ).then((i) => wi(e, ...i));
3461
+ r.map((i) => (us(e, i), i().then((n) => n.default || n)))
3462
+ ).then((i) => vi(e, ...i));
3467
3463
  }
3468
3464
  const wr = {};
3469
- function Pi(e) {
3465
+ function Si(e) {
3470
3466
  if (!_t(e))
3471
3467
  return e in wr ? wr[e] : Promise.resolve();
3472
- const r = hs(e);
3468
+ const r = cs(e);
3473
3469
  return wr[e] = Promise.all(
3474
3470
  r.map(
3475
- ([t, i]) => fs(t, i)
3471
+ ([t, i]) => hs(t, i)
3476
3472
  )
3477
3473
  ).then(() => {
3478
3474
  if (_t(e))
3479
- return Pi(e);
3475
+ return Si(e);
3480
3476
  delete wr[e];
3481
3477
  }), wr[e];
3482
3478
  }
3483
- const ds = {
3479
+ const fs = {
3484
3480
  number: {
3485
3481
  scientific: { notation: "scientific" },
3486
3482
  engineering: { notation: "engineering" },
@@ -3509,34 +3505,34 @@ const ds = {
3509
3505
  timeZoneName: "short"
3510
3506
  }
3511
3507
  }
3512
- }, ms = {
3508
+ }, ds = {
3513
3509
  fallbackLocale: null,
3514
3510
  loadingDelay: 200,
3515
- formats: ds,
3511
+ formats: fs,
3516
3512
  warnOnMissingMessages: !0,
3517
3513
  handleMissingMessage: void 0,
3518
3514
  ignoreTag: !0
3519
- }, gs = ms;
3515
+ }, ms = ds;
3520
3516
  function lr() {
3521
- return gs;
3517
+ return ms;
3522
3518
  }
3523
3519
  const ct = Yr(!1);
3524
- var ps = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, _s = Object.prototype.propertyIsEnumerable, Gt = (e, r, t) => r in e ? ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, vs = (e, r) => {
3525
- for (var t in r)
3526
- Es.call(r, t) && Gt(e, t, r[t]);
3527
- if (Dt)
3528
- for (var t of Dt(r))
3529
- _s.call(r, t) && Gt(e, t, r[t]);
3520
+ var gs = Object.defineProperty, ps = Object.defineProperties, bs = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, ys = Object.prototype.hasOwnProperty, Es = Object.prototype.propertyIsEnumerable, Dt = (e, r, t) => r in e ? gs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, _s = (e, r) => {
3521
+ for (var t in r || (r = {}))
3522
+ ys.call(r, t) && Dt(e, t, r[t]);
3523
+ if (Ft)
3524
+ for (var t of Ft(r))
3525
+ Es.call(r, t) && Dt(e, t, r[t]);
3530
3526
  return e;
3531
- }, ws = (e, r) => bs(e, ys(r));
3527
+ }, vs = (e, r) => ps(e, bs(r));
3532
3528
  let vt;
3533
3529
  const qr = Yr(null);
3534
- function jt(e) {
3530
+ function Gt(e) {
3535
3531
  return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
3536
3532
  }
3537
3533
  function rt(e, r = lr().fallbackLocale) {
3538
- const t = jt(e);
3539
- return r ? [.../* @__PURE__ */ new Set([...t, ...jt(r)])] : t;
3534
+ const t = Gt(e);
3535
+ return r ? [.../* @__PURE__ */ new Set([...t, ...Gt(r)])] : t;
3540
3536
  }
3541
3537
  function Fe() {
3542
3538
  return vt ?? void 0;
@@ -3544,22 +3540,22 @@ function Fe() {
3544
3540
  qr.subscribe((e) => {
3545
3541
  vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3546
3542
  });
3547
- const Ss = (e) => {
3548
- if (e && us(e) && _t(e)) {
3543
+ const ws = (e) => {
3544
+ if (e && ls(e) && _t(e)) {
3549
3545
  const { loadingDelay: r } = lr();
3550
3546
  let t;
3551
3547
  return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
3552
3548
  () => ct.set(!0),
3553
3549
  r
3554
- ) : ct.set(!0), Pi(e).then(() => {
3550
+ ) : ct.set(!0), Si(e).then(() => {
3555
3551
  qr.set(e);
3556
3552
  }).finally(() => {
3557
3553
  clearTimeout(t), ct.set(!1);
3558
3554
  });
3559
3555
  }
3560
3556
  return qr.set(e);
3561
- }, hr = ws(vs({}, qr), {
3562
- set: Ss
3557
+ }, hr = vs(_s({}, qr), {
3558
+ set: ws
3563
3559
  }), tt = (e) => {
3564
3560
  const r = /* @__PURE__ */ Object.create(null);
3565
3561
  return (i) => {
@@ -3567,20 +3563,20 @@ const Ss = (e) => {
3567
3563
  return n in r ? r[n] : r[n] = e(i);
3568
3564
  };
3569
3565
  };
3570
- var Ps = Object.defineProperty, Jr = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Vt = (e, r, t) => r in e ? Ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ct = (e, r) => {
3566
+ var Ss = Object.defineProperty, Jr = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? Ss(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Pt = (e, r) => {
3571
3567
  for (var t in r || (r = {}))
3572
- Ci.call(r, t) && Vt(e, t, r[t]);
3568
+ Pi.call(r, t) && jt(e, t, r[t]);
3573
3569
  if (Jr)
3574
3570
  for (var t of Jr(r))
3575
- xi.call(r, t) && Vt(e, t, r[t]);
3571
+ Ci.call(r, t) && jt(e, t, r[t]);
3576
3572
  return e;
3577
3573
  }, fr = (e, r) => {
3578
3574
  var t = {};
3579
3575
  for (var i in e)
3580
- Ci.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3576
+ Pi.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3581
3577
  if (e != null && Jr)
3582
3578
  for (var i of Jr(e))
3583
- r.indexOf(i) < 0 && xi.call(e, i) && (t[i] = e[i]);
3579
+ r.indexOf(i) < 0 && Ci.call(e, i) && (t[i] = e[i]);
3584
3580
  return t;
3585
3581
  };
3586
3582
  const Ar = (e, r) => {
@@ -3588,21 +3584,21 @@ const Ar = (e, r) => {
3588
3584
  if (e in t && r in t[e])
3589
3585
  return t[e][r];
3590
3586
  throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
3591
- }, Cs = tt(
3587
+ }, Ps = tt(
3592
3588
  (e) => {
3593
3589
  var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3594
3590
  if (t == null)
3595
3591
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3596
3592
  return i && (n = Ar("number", i)), new Intl.NumberFormat(t, n);
3597
3593
  }
3598
- ), xs = tt(
3594
+ ), Cs = tt(
3599
3595
  (e) => {
3600
3596
  var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3601
3597
  if (t == null)
3602
3598
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3603
3599
  return i ? n = Ar("date", i) : Object.keys(n).length === 0 && (n = Ar("date", "short")), new Intl.DateTimeFormat(t, n);
3604
3600
  }
3605
- ), As = tt(
3601
+ ), xs = tt(
3606
3602
  (e) => {
3607
3603
  var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3608
3604
  if (t == null)
@@ -3611,33 +3607,33 @@ const Ar = (e, r) => {
3611
3607
  );
3612
3608
  return i ? n = Ar("time", i) : Object.keys(n).length === 0 && (n = Ar("time", "short")), new Intl.DateTimeFormat(t, n);
3613
3609
  }
3614
- ), Ts = (e = {}) => {
3610
+ ), As = (e = {}) => {
3615
3611
  var r = e, {
3616
3612
  locale: t = Fe()
3617
3613
  } = r, i = fr(r, [
3618
3614
  "locale"
3619
3615
  ]);
3620
- return Cs(Ct({ locale: t }, i));
3621
- }, Hs = (e = {}) => {
3616
+ return Ps(Pt({ locale: t }, i));
3617
+ }, Ts = (e = {}) => {
3622
3618
  var r = e, {
3623
3619
  locale: t = Fe()
3624
3620
  } = r, i = fr(r, [
3625
3621
  "locale"
3626
3622
  ]);
3627
- return xs(Ct({ locale: t }, i));
3628
- }, Is = (e = {}) => {
3623
+ return Cs(Pt({ locale: t }, i));
3624
+ }, Hs = (e = {}) => {
3629
3625
  var r = e, {
3630
3626
  locale: t = Fe()
3631
3627
  } = r, i = fr(r, [
3632
3628
  "locale"
3633
3629
  ]);
3634
- return As(Ct({ locale: t }, i));
3635
- }, Bs = tt(
3630
+ return xs(Pt({ locale: t }, i));
3631
+ }, Is = tt(
3636
3632
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3637
- (e, r = Fe()) => new ns(e, r, lr().formats, {
3633
+ (e, r = Fe()) => new is(e, r, lr().formats, {
3638
3634
  ignoreTag: lr().ignoreTag
3639
3635
  })
3640
- ), Ns = (e, r = {}) => {
3636
+ ), Bs = (e, r = {}) => {
3641
3637
  var t, i, n, s;
3642
3638
  let u = r;
3643
3639
  typeof e == "object" && (u = e, e = u.id);
@@ -3650,7 +3646,7 @@ const Ar = (e, r) => {
3650
3646
  throw new Error(
3651
3647
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3652
3648
  );
3653
- let h = _i(e, f);
3649
+ let h = Ei(e, f);
3654
3650
  if (!h)
3655
3651
  h = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
3656
3652
  else if (typeof h != "string")
@@ -3661,7 +3657,7 @@ const Ar = (e, r) => {
3661
3657
  return h;
3662
3658
  let m = h;
3663
3659
  try {
3664
- m = Bs(h, f).format(o);
3660
+ m = Is(h, f).format(o);
3665
3661
  } catch (g) {
3666
3662
  g instanceof Error && console.warn(
3667
3663
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3669,18 +3665,18 @@ const Ar = (e, r) => {
3669
3665
  );
3670
3666
  }
3671
3667
  return m;
3672
- }, Os = (e, r) => Is(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => _i(e, r), Us = cr([hr, Tr], () => Ns);
3668
+ }, Ns = (e, r) => Hs(r).format(e), Os = (e, r) => Ts(r).format(e), Ls = (e, r) => As(r).format(e), Ms = (e, r = Fe()) => Ei(e, r), Rs = cr([hr, Tr], () => Bs);
3669
+ cr([hr], () => Ns);
3673
3670
  cr([hr], () => Os);
3674
3671
  cr([hr], () => Ls);
3675
- cr([hr], () => Ms);
3676
- cr([hr, Tr], () => Rs);
3677
- function $t(e, r) {
3678
- wi(e, r);
3672
+ cr([hr, Tr], () => Ms);
3673
+ function Vt(e, r) {
3674
+ vi(e, r);
3679
3675
  }
3680
- function ks(e) {
3676
+ function Us(e) {
3681
3677
  hr.set(e);
3682
3678
  }
3683
- const Qt = {
3679
+ const $t = {
3684
3680
  en: {
3685
3681
  registerTitle: "Create your account",
3686
3682
  registerSubtitle: "Already have an account?",
@@ -3935,10 +3931,10 @@ const Qt = {
3935
3931
  registerNext: "Next"
3936
3932
  }
3937
3933
  };
3938
- function Fs(e) {
3939
- Hi(e, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{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}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
3934
+ function ks(e) {
3935
+ Ti(e, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{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}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
3940
3936
  }
3941
- function zt(e) {
3937
+ function Qt(e) {
3942
3938
  let r, t = (
3943
3939
  /*$_*/
3944
3940
  e[30]("registerEmailError") + ""
@@ -3960,7 +3956,7 @@ function zt(e) {
3960
3956
  }
3961
3957
  };
3962
3958
  }
3963
- function Xt(e) {
3959
+ function zt(e) {
3964
3960
  let r, t = (
3965
3961
  /*$_*/
3966
3962
  e[30]("registerUsernameError") + ""
@@ -3982,7 +3978,7 @@ function Xt(e) {
3982
3978
  }
3983
3979
  };
3984
3980
  }
3985
- function Ds(e) {
3981
+ function Fs(e) {
3986
3982
  let r, t, i, n, s, u, o, f, c;
3987
3983
  return {
3988
3984
  c() {
@@ -4002,7 +3998,7 @@ function Ds(e) {
4002
3998
  }
4003
3999
  };
4004
4000
  }
4005
- function Gs(e) {
4001
+ function Ds(e) {
4006
4002
  let r, t, i, n, s, u, o, f, c, h, m, g, b, v, y;
4007
4003
  return {
4008
4004
  c() {
@@ -4022,7 +4018,7 @@ function Gs(e) {
4022
4018
  }
4023
4019
  };
4024
4020
  }
4025
- function Zt(e) {
4021
+ function Xt(e) {
4026
4022
  let r, t = (
4027
4023
  /*$_*/
4028
4024
  e[30]("registerPasswordError") + ""
@@ -4044,7 +4040,7 @@ function Zt(e) {
4044
4040
  }
4045
4041
  };
4046
4042
  }
4047
- function Wt(e) {
4043
+ function Zt(e) {
4048
4044
  let r, t = (
4049
4045
  /*$_*/
4050
4046
  e[30]("registerSimplePasswordError") + ""
@@ -4066,7 +4062,7 @@ function Wt(e) {
4066
4062
  }
4067
4063
  };
4068
4064
  }
4069
- function js(e) {
4065
+ function Gs(e) {
4070
4066
  let r, t, i, n, s, u, o, f, c;
4071
4067
  return {
4072
4068
  c() {
@@ -4086,7 +4082,7 @@ function js(e) {
4086
4082
  }
4087
4083
  };
4088
4084
  }
4089
- function Vs(e) {
4085
+ function js(e) {
4090
4086
  let r, t, i, n, s, u, o, f, c, h, m, g, b, v, y;
4091
4087
  return {
4092
4088
  c() {
@@ -4106,7 +4102,7 @@ function Vs(e) {
4106
4102
  }
4107
4103
  };
4108
4104
  }
4109
- function qt(e) {
4105
+ function Wt(e) {
4110
4106
  let r, t = (
4111
4107
  /*$_*/
4112
4108
  e[30]("registerConfirmPasswordError") + ""
@@ -4128,7 +4124,7 @@ function qt(e) {
4128
4124
  }
4129
4125
  };
4130
4126
  }
4131
- function Jt(e) {
4127
+ function qt(e) {
4132
4128
  let r, t = (
4133
4129
  /*custominputtextswitch*/
4134
4130
  (e[2] == "true" ? (
@@ -4162,7 +4158,7 @@ function Jt(e) {
4162
4158
  }
4163
4159
  };
4164
4160
  }
4165
- function Yt(e) {
4161
+ function Jt(e) {
4166
4162
  let r, t = (
4167
4163
  /*custominputtextswitch*/
4168
4164
  (e[2] == "true" ? (
@@ -4196,7 +4192,7 @@ function Yt(e) {
4196
4192
  }
4197
4193
  };
4198
4194
  }
4199
- function $s(e) {
4195
+ function Vs(e) {
4200
4196
  let r, t, i, n = (
4201
4197
  /*$_*/
4202
4198
  e[30]("registerTitle") + ""
@@ -4242,43 +4238,43 @@ function $s(e) {
4242
4238
  ), vr, Fr, Ke, Dr, he, Gr, er, jr, p, I = (
4243
4239
  /*$_*/
4244
4240
  e[30]("registerNext") + ""
4245
- ), V, Vr, it, xt, J = (
4241
+ ), V, Vr, it, Ct, J = (
4246
4242
  /*invalidEmail*/
4247
- e[4] && zt(e)
4243
+ e[4] && Qt(e)
4248
4244
  ), Y = (
4249
4245
  /*invalidName*/
4250
- e[5] && Xt(e)
4246
+ e[5] && zt(e)
4251
4247
  );
4252
- function At(d, _) {
4248
+ function xt(d, _) {
4253
4249
  return (
4254
4250
  /*isPasswordVisible*/
4255
- d[25] ? Gs : Ds
4251
+ d[25] ? Ds : Fs
4256
4252
  );
4257
4253
  }
4258
- let $r = At(e), Se = $r(e), K = (
4254
+ let $r = xt(e), Se = $r(e), K = (
4259
4255
  /*invalidPassword*/
4260
4256
  e[6] && /*simplepasswordvalidation*/
4261
- e[0] !== "true" && Zt(e)
4257
+ e[0] !== "true" && Xt(e)
4262
4258
  ), ee = (
4263
4259
  /*invalidPassword*/
4264
4260
  e[6] && /*simplepasswordvalidation*/
4265
- e[0] === "true" && Wt(e)
4261
+ e[0] === "true" && Zt(e)
4266
4262
  );
4267
- function Tt(d, _) {
4263
+ function At(d, _) {
4268
4264
  return (
4269
4265
  /*isConfirmPasswordVisible*/
4270
- d[26] ? Vs : js
4266
+ d[26] ? js : Gs
4271
4267
  );
4272
4268
  }
4273
- let Qr = Tt(e), Pe = Qr(e), re = (
4269
+ let Qr = At(e), Pe = Qr(e), re = (
4274
4270
  /*invalidConfirmPassword*/
4275
- e[7] && qt(e)
4271
+ e[7] && Wt(e)
4276
4272
  ), te = (
4277
4273
  /*invalidSecurityQuestion*/
4278
- e[8] && Jt(e)
4274
+ e[8] && qt(e)
4279
4275
  ), ie = (
4280
4276
  /*invalidSecurityAnswer*/
4281
- e[9] && Yt(e)
4277
+ e[9] && Jt(e)
4282
4278
  );
4283
4279
  return {
4284
4280
  c() {
@@ -4336,7 +4332,7 @@ function $s(e) {
4336
4332
  he,
4337
4333
  /*securityAnswer*/
4338
4334
  e[23]
4339
- ), l(pe, Gr), ie && ie.m(pe, null), l(y, jr), l(y, p), l(p, V), e[78](r), it || (xt = [
4335
+ ), l(pe, Gr), ie && ie.m(pe, null), l(y, jr), l(y, p), l(p, V), e[78](r), it || (Ct = [
4340
4336
  x(
4341
4337
  m,
4342
4338
  "click",
@@ -4535,7 +4531,7 @@ function $s(e) {
4535
4531
  /*userEmail*/
4536
4532
  d[19]
4537
4533
  ), /*invalidEmail*/
4538
- d[4] ? J ? J.p(d, _) : (J = zt(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), _[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4534
+ d[4] ? J ? J.p(d, _) : (J = Qt(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), _[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4539
4535
  132112 && xe !== (xe = "EmailContainer " + /*invalidEmail*/
4540
4536
  (d[4] && !/*emailFocus*/
4541
4537
  d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4550,7 +4546,7 @@ function $s(e) {
4550
4546
  /*userValue*/
4551
4547
  d[18]
4552
4548
  ), /*invalidName*/
4553
- d[5] ? Y ? Y.p(d, _) : (Y = Xt(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), _[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4549
+ d[5] ? Y ? Y.p(d, _) : (Y = zt(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), _[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4554
4550
  133152 && oe !== (oe = "UserContainer " + /*invalidName*/
4555
4551
  (d[5] && !/*usernameFocus*/
4556
4552
  d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4564,11 +4560,11 @@ function $s(e) {
4564
4560
  L,
4565
4561
  /*userPassword*/
4566
4562
  d[20]
4567
- ), $r === ($r = At(d)) && Se ? Se.p(d, _) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(O, je))), /*invalidPassword*/
4563
+ ), $r === ($r = xt(d)) && Se ? Se.p(d, _) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(O, je))), /*invalidPassword*/
4568
4564
  d[6] && /*simplepasswordvalidation*/
4569
- d[0] !== "true" ? K ? K.p(d, _) : (K = Zt(d), K.c(), K.m(O, Ve)) : K && (K.d(1), K = null), /*invalidPassword*/
4565
+ d[0] !== "true" ? K ? K.p(d, _) : (K = Xt(d), K.c(), K.m(O, Ve)) : K && (K.d(1), K = null), /*invalidPassword*/
4570
4566
  d[6] && /*simplepasswordvalidation*/
4571
- d[0] === "true" ? ee ? ee.p(d, _) : (ee = Wt(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), _[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4567
+ d[0] === "true" ? ee ? ee.p(d, _) : (ee = Zt(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), _[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4572
4568
  135232 && Le !== (Le = "PasswordContainer " + /*invalidPassword*/
4573
4569
  (d[6] && !/*passwordFocus*/
4574
4570
  d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4582,8 +4578,8 @@ function $s(e) {
4582
4578
  Q,
4583
4579
  /*confirmUserPassword*/
4584
4580
  d[21]
4585
- ), Qr === (Qr = Tt(d)) && Pe ? Pe.p(d, _) : (Pe.d(1), Pe = Qr(d), Pe && (Pe.c(), Pe.m(j, Qe))), /*invalidConfirmPassword*/
4586
- d[7] ? re ? re.p(d, _) : (re = qt(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), _[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4581
+ ), Qr === (Qr = At(d)) && Pe ? Pe.p(d, _) : (Pe.d(1), Pe = Qr(d), Pe && (Pe.c(), Pe.m(j, Qe))), /*invalidConfirmPassword*/
4582
+ d[7] ? re ? re.p(d, _) : (re = Wt(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), _[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4587
4583
  139392 && ze !== (ze = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
4588
4584
  (d[7] && !/*confirmPasswordFocus*/
4589
4585
  d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4612,7 +4608,7 @@ function $s(e) {
4612
4608
  /*securityQuestion*/
4613
4609
  d[22]
4614
4610
  ), /*invalidSecurityQuestion*/
4615
- d[8] ? te ? te.p(d, _) : (te = Jt(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), _[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4611
+ d[8] ? te ? te.p(d, _) : (te = qt(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), _[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4616
4612
  147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
4617
4613
  (d[8] && !/*securityQFocus*/
4618
4614
  d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4631,7 +4627,7 @@ function $s(e) {
4631
4627
  /*securityAnswer*/
4632
4628
  d[23]
4633
4629
  ), /*invalidSecurityAnswer*/
4634
- d[9] ? ie ? ie.p(d, _) : (ie = Yt(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), _[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4630
+ d[9] ? ie ? ie.p(d, _) : (ie = Jt(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), _[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4635
4631
  164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
4636
4632
  (d[9] && !/*securityAFocus*/
4637
4633
  d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
@@ -4644,13 +4640,13 @@ function $s(e) {
4644
4640
  i: X,
4645
4641
  o: X,
4646
4642
  d(d) {
4647
- d && se(r), J && J.d(), Y && Y.d(), e[59](null), Se.d(), K && K.d(), ee && ee.d(), e[65](null), Pe.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), it = !1, ur(xt);
4643
+ d && se(r), J && J.d(), Y && Y.d(), e[59](null), Se.d(), K && K.d(), ee && ee.d(), e[65](null), Pe.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), it = !1, ur(Ct);
4648
4644
  }
4649
4645
  };
4650
4646
  }
4651
- function Qs(e, r, t) {
4647
+ function $s(e, r, t) {
4652
4648
  let i;
4653
- Ti(e, Us, (p) => t(30, i = p));
4649
+ Ai(e, Rs, (p) => t(30, i = p));
4654
4650
  let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { clientstyling: o = "" } = r, { clientstylingurl: f = "" } = r, { translationurl: c = "" } = r, { savecredentials: h = "" } = r, { custominputtextswitch: m = "false" } = r, g = !1, b = !1, v = !1, y = !1, w = !1, B = !1, $ = !1, M = !1, de = !1, G = !1, be = !1, R = !1, De = !1, xe, Ee = "", U = "", Z = "", me = "", W = "", ae = "", _e = "", Ne = !1, k = !1, ve, Ae, oe = {}, D = {
4655
4651
  username: !1,
4656
4652
  email: !1,
@@ -4668,14 +4664,14 @@ function Qs(e, r, t) {
4668
4664
  const dr = () => {
4669
4665
  fetch(c).then((I) => I.json()).then((I) => {
4670
4666
  Object.keys(I).forEach((V) => {
4671
- $t(V, I[V]);
4667
+ Vt(V, I[V]);
4672
4668
  });
4673
4669
  }).catch((I) => {
4674
4670
  console.log(I);
4675
4671
  });
4676
4672
  };
4677
- Object.keys(Qt).forEach((p) => {
4678
- $t(p, Qt[p]);
4673
+ Object.keys($t).forEach((p) => {
4674
+ Vt(p, $t[p]);
4679
4675
  });
4680
4676
  const mr = () => {
4681
4677
  window.postMessage({ type: "ToLogin" }, window.location.href);
@@ -4783,7 +4779,7 @@ function Qs(e, r, t) {
4783
4779
  }, ze = () => {
4784
4780
  t(17, xe = s.split(","));
4785
4781
  }, Ir = () => {
4786
- ks(n);
4782
+ Us(n);
4787
4783
  }, we = () => {
4788
4784
  let p = document.createElement("style");
4789
4785
  p.innerHTML = o, q.appendChild(p);
@@ -4802,7 +4798,7 @@ function Qs(e, r, t) {
4802
4798
  );
4803
4799
  });
4804
4800
  };
4805
- Mi(() => (window.addEventListener("message", Qe, !1), () => {
4801
+ Li(() => (window.addEventListener("message", Qe, !1), () => {
4806
4802
  window.removeEventListener("message", Qe);
4807
4803
  }));
4808
4804
  const Xe = () => mr();
@@ -4945,14 +4941,14 @@ function Qs(e, r, t) {
4945
4941
  jr
4946
4942
  ];
4947
4943
  }
4948
- class zs extends Xi {
4944
+ class Qs extends zi {
4949
4945
  constructor(r) {
4950
- super(), Qi(
4946
+ super(), $i(
4951
4947
  this,
4952
4948
  r,
4953
- Qs,
4954
4949
  $s,
4955
- ei,
4950
+ Vs,
4951
+ Kt,
4956
4952
  {
4957
4953
  lang: 44,
4958
4954
  disabledfields: 45,
@@ -4963,7 +4959,7 @@ class zs extends Xi {
4963
4959
  savecredentials: 1,
4964
4960
  custominputtextswitch: 2
4965
4961
  },
4966
- Fs,
4962
+ ks,
4967
4963
  [-1, -1, -1, -1]
4968
4964
  );
4969
4965
  }
@@ -5016,7 +5012,7 @@ class zs extends Xi {
5016
5012
  this.$$set({ custominputtextswitch: r }), Ce();
5017
5013
  }
5018
5014
  }
5019
- zi(zs, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5015
+ Qi(Qs, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5020
5016
  export {
5021
- zs as G
5017
+ Qs as G
5022
5018
  };