@everymatrix/general-player-login-form 1.54.12 → 1.56.0

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,16 +1,16 @@
1
- var fn = Object.defineProperty, dn = Object.defineProperties;
2
- var mn = Object.getOwnPropertyDescriptors;
1
+ var cn = Object.defineProperty, hn = Object.defineProperties;
2
+ var fn = Object.getOwnPropertyDescriptors;
3
3
  var Wt = Object.getOwnPropertySymbols;
4
- var pn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable;
5
- var vt = (e, t, r) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zt = (e, t) => {
4
+ var dn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable;
5
+ var vt = (e, t, r) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- pn.call(t, r) && vt(e, r, t[r]);
7
+ dn.call(t, r) && vt(e, r, t[r]);
8
8
  if (Wt)
9
9
  for (var r of Wt(t))
10
- gn.call(t, r) && vt(e, r, t[r]);
10
+ mn.call(t, r) && vt(e, r, t[r]);
11
11
  return e;
12
- }, qt = (e, t) => dn(e, mn(t));
13
- var Y = (e, t, r) => vt(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, qt = (e, t) => hn(e, fn(t));
13
+ var K = (e, t, r) => vt(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var et = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function Z() {
31
31
  }
32
- function Hr(e) {
32
+ function Tr(e) {
33
33
  return e();
34
34
  }
35
35
  function Jt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Le(e) {
39
- e.forEach(Hr);
38
+ function Ne(e) {
39
+ e.forEach(Tr);
40
40
  }
41
- function $t(e) {
41
+ function Gt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Br(e, t) {
44
+ function Hr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let tt;
48
48
  function Qt(e, t) {
49
49
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
50
50
  }
51
- function bn(e) {
51
+ function pn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ar(e, ...t) {
54
+ function Br(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,24 +60,20 @@ function Ar(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function vn(e, t, r) {
64
- e.$$.on_destroy.push(Ar(t, r));
63
+ function gn(e, t, r) {
64
+ e.$$.on_destroy.push(Br(t, r));
65
65
  }
66
- const yn = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
67
- // @ts-ignore Node typings have this
68
- global
69
- );
70
- function p(e, t) {
66
+ function m(e, t) {
71
67
  e.appendChild(t);
72
68
  }
73
- function _n(e, t, r) {
74
- const n = En(e);
69
+ function bn(e, t, r) {
70
+ const n = vn(e);
75
71
  if (!n.getElementById(t)) {
76
- const i = S("style");
77
- i.id = t, i.textContent = r, wn(n, i);
72
+ const i = x("style");
73
+ i.id = t, i.textContent = r, yn(n, i);
78
74
  }
79
75
  }
80
- function En(e) {
76
+ function vn(e) {
81
77
  if (!e) return document;
82
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
79
  return t && /** @type {ShadowRoot} */
@@ -86,45 +82,45 @@ function En(e) {
86
82
  t
87
83
  ) : e.ownerDocument;
88
84
  }
89
- function wn(e, t) {
90
- return p(
85
+ function yn(e, t) {
86
+ return m(
91
87
  /** @type {Document} */
92
88
  e.head || e,
93
89
  t
94
90
  ), t.sheet;
95
91
  }
96
- function L(e, t, r) {
92
+ function M(e, t, r) {
97
93
  e.insertBefore(t, r || null);
98
94
  }
99
95
  function I(e) {
100
96
  e.parentNode && e.parentNode.removeChild(e);
101
97
  }
102
- function S(e) {
98
+ function x(e) {
103
99
  return document.createElement(e);
104
100
  }
105
- function O(e) {
101
+ function L(e) {
106
102
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
103
  }
108
104
  function N(e) {
109
105
  return document.createTextNode(e);
110
106
  }
111
- function z() {
107
+ function j() {
112
108
  return N(" ");
113
109
  }
114
- function xn() {
110
+ function _n() {
115
111
  return N("");
116
112
  }
117
- function ae(e, t, r, n) {
113
+ function se(e, t, r, n) {
118
114
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
119
115
  }
120
116
  function h(e, t, r) {
121
117
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
118
  }
123
- function K(e, t, r) {
119
+ function W(e, t, r) {
124
120
  const n = t.toLowerCase();
125
121
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
126
122
  }
127
- function Sn(e) {
123
+ function En(e) {
128
124
  return Array.from(e.childNodes);
129
125
  }
130
126
  function re(e, t) {
@@ -134,7 +130,7 @@ function re(e, t) {
134
130
  function rt(e, t) {
135
131
  e.value = t == null ? "" : t;
136
132
  }
137
- function Pn(e) {
133
+ function wn(e) {
138
134
  const t = {};
139
135
  return e.childNodes.forEach(
140
136
  /** @param {Element} node */
@@ -143,85 +139,85 @@ function Pn(e) {
143
139
  }
144
140
  ), t;
145
141
  }
146
- let We;
147
- function Xe(e) {
148
- We = e;
142
+ let Xe;
143
+ function ze(e) {
144
+ Xe = e;
149
145
  }
150
- function Tn() {
151
- if (!We) throw new Error("Function called outside component initialization");
152
- return We;
146
+ function xn() {
147
+ if (!Xe) throw new Error("Function called outside component initialization");
148
+ return Xe;
153
149
  }
154
- function Hn(e) {
155
- Tn().$$.on_mount.push(e);
150
+ function Sn(e) {
151
+ xn().$$.on_mount.push(e);
156
152
  }
157
- const Te = [], ut = [];
158
- let He = [];
159
- const Yt = [], Bn = /* @__PURE__ */ Promise.resolve();
153
+ const Be = [], ut = [];
154
+ let Ae = [];
155
+ const Yt = [], Pn = /* @__PURE__ */ Promise.resolve();
160
156
  let Tt = !1;
161
- function An() {
162
- Tt || (Tt = !0, Bn.then(te));
157
+ function Tn() {
158
+ Tt || (Tt = !0, Pn.then(ee));
163
159
  }
164
160
  function Ht(e) {
165
- He.push(e);
161
+ Ae.push(e);
166
162
  }
167
163
  const yt = /* @__PURE__ */ new Set();
168
- let Se = 0;
169
- function te() {
170
- if (Se !== 0)
164
+ let Te = 0;
165
+ function ee() {
166
+ if (Te !== 0)
171
167
  return;
172
- const e = We;
168
+ const e = Xe;
173
169
  do {
174
170
  try {
175
- for (; Se < Te.length; ) {
176
- const t = Te[Se];
177
- Se++, Xe(t), In(t.$$);
171
+ for (; Te < Be.length; ) {
172
+ const t = Be[Te];
173
+ Te++, ze(t), Hn(t.$$);
178
174
  }
179
175
  } catch (t) {
180
- throw Te.length = 0, Se = 0, t;
176
+ throw Be.length = 0, Te = 0, t;
181
177
  }
182
- for (Xe(null), Te.length = 0, Se = 0; ut.length; ) ut.pop()();
183
- for (let t = 0; t < He.length; t += 1) {
184
- const r = He[t];
178
+ for (ze(null), Be.length = 0, Te = 0; ut.length; ) ut.pop()();
179
+ for (let t = 0; t < Ae.length; t += 1) {
180
+ const r = Ae[t];
185
181
  yt.has(r) || (yt.add(r), r());
186
182
  }
187
- He.length = 0;
188
- } while (Te.length);
183
+ Ae.length = 0;
184
+ } while (Be.length);
189
185
  for (; Yt.length; )
190
186
  Yt.pop()();
191
- Tt = !1, yt.clear(), Xe(e);
187
+ Tt = !1, yt.clear(), ze(e);
192
188
  }
193
- function In(e) {
189
+ function Hn(e) {
194
190
  if (e.fragment !== null) {
195
- e.update(), Le(e.before_update);
191
+ e.update(), Ne(e.before_update);
196
192
  const t = e.dirty;
197
193
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
198
194
  }
199
195
  }
200
- function Cn(e) {
196
+ function Bn(e) {
201
197
  const t = [], r = [];
202
- He.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), He = t;
198
+ Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
203
199
  }
204
- const On = /* @__PURE__ */ new Set();
205
- function Ln(e, t) {
206
- e && e.i && (On.delete(e), e.i(t));
200
+ const An = /* @__PURE__ */ new Set();
201
+ function In(e, t) {
202
+ e && e.i && (An.delete(e), e.i(t));
207
203
  }
208
- function Mn(e, t, r) {
204
+ function Cn(e, t, r) {
209
205
  const { fragment: n, after_update: i } = e.$$;
210
206
  n && n.m(t, r), Ht(() => {
211
- const o = e.$$.on_mount.map(Hr).filter($t);
212
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
207
+ const o = e.$$.on_mount.map(Tr).filter(Gt);
208
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
213
209
  }), i.forEach(Ht);
214
210
  }
215
- function Nn(e, t) {
211
+ function On(e, t) {
216
212
  const r = e.$$;
217
- r.fragment !== null && (Cn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
213
+ r.fragment !== null && (Bn(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
214
  }
219
- function Rn(e, t) {
220
- e.$$.dirty[0] === -1 && (Te.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
+ function Ln(e, t) {
216
+ e.$$.dirty[0] === -1 && (Be.push(e), Tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
217
  }
222
- function Un(e, t, r, n, i, o, s = null, a = [-1]) {
223
- const u = We;
224
- Xe(e);
218
+ function Mn(e, t, r, n, i, o, s = null, a = [-1]) {
219
+ const u = Xe;
220
+ ze(e);
225
221
  const l = e.$$ = {
226
222
  fragment: null,
227
223
  ctx: [],
@@ -247,39 +243,39 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
247
243
  let c = !1;
248
244
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
249
245
  const y = b.length ? b[0] : d;
250
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Rn(e, f)), d;
251
- }) : [], l.update(), c = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
246
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Ln(e, f)), d;
247
+ }) : [], l.update(), c = !0, Ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
252
248
  if (t.hydrate) {
253
- const f = Sn(t.target);
249
+ const f = En(t.target);
254
250
  l.fragment && l.fragment.l(f), f.forEach(I);
255
251
  } else
256
252
  l.fragment && l.fragment.c();
257
- t.intro && Ln(e.$$.fragment), Mn(e, t.target, t.anchor), te();
253
+ t.intro && In(e.$$.fragment), Cn(e, t.target, t.anchor), ee();
258
254
  }
259
- Xe(u);
255
+ ze(u);
260
256
  }
261
- let Ir;
262
- typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
257
+ let Ar;
258
+ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
263
259
  constructor(t, r, n) {
264
260
  super();
265
261
  /** The Svelte component constructor */
266
- Y(this, "$$ctor");
262
+ K(this, "$$ctor");
267
263
  /** Slots */
268
- Y(this, "$$s");
264
+ K(this, "$$s");
269
265
  /** The Svelte component instance */
270
- Y(this, "$$c");
266
+ K(this, "$$c");
271
267
  /** Whether or not the custom element is connected */
272
- Y(this, "$$cn", !1);
268
+ K(this, "$$cn", !1);
273
269
  /** Component props data */
274
- Y(this, "$$d", {});
270
+ K(this, "$$d", {});
275
271
  /** `true` if currently in the process of reflecting component props back to attributes */
276
- Y(this, "$$r", !1);
272
+ K(this, "$$r", !1);
277
273
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
278
- Y(this, "$$p_d", {});
274
+ K(this, "$$p_d", {});
279
275
  /** @type {Record<string, Function[]>} Event listeners */
280
- Y(this, "$$l", {});
276
+ K(this, "$$l", {});
281
277
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
282
- Y(this, "$$l_u", /* @__PURE__ */ new Map());
278
+ K(this, "$$l_u", /* @__PURE__ */ new Map());
283
279
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
284
280
  }
285
281
  addEventListener(t, r, n) {
@@ -303,14 +299,14 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
303
299
  let s;
304
300
  return {
305
301
  c: function() {
306
- s = S("slot"), o !== "default" && h(s, "name", o);
302
+ s = x("slot"), o !== "default" && h(s, "name", o);
307
303
  },
308
304
  /**
309
305
  * @param {HTMLElement} target
310
306
  * @param {HTMLElement} [anchor]
311
307
  */
312
308
  m: function(l, c) {
313
- L(l, s, c);
309
+ M(l, s, c);
314
310
  },
315
311
  d: function(l) {
316
312
  l && I(s);
@@ -320,7 +316,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
320
316
  };
321
317
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
322
318
  return;
323
- const r = {}, n = Pn(this);
319
+ const r = {}, n = wn(this);
324
320
  for (const o of this.$$s)
325
321
  o in n && (r[o] = [t(o)]);
326
322
  for (const o of this.attributes) {
@@ -409,8 +405,8 @@ function ot(e, t, r, n) {
409
405
  return t;
410
406
  }
411
407
  }
412
- function Fn(e, t, r, n, i, o) {
413
- let s = class extends Ir {
408
+ function Nn(e, t, r, n, i, o) {
409
+ let s = class extends Ar {
414
410
  constructor() {
415
411
  super(e, r, i), this.$$p_d = t;
416
412
  }
@@ -440,7 +436,7 @@ function Fn(e, t, r, n, i, o) {
440
436
  }), e.element = /** @type {any} */
441
437
  s, s;
442
438
  }
443
- class Dn {
439
+ class Rn {
444
440
  constructor() {
445
441
  /**
446
442
  * ### PRIVATE API
@@ -449,7 +445,7 @@ class Dn {
449
445
  *
450
446
  * @type {any}
451
447
  */
452
- Y(this, "$$");
448
+ K(this, "$$");
453
449
  /**
454
450
  * ### PRIVATE API
455
451
  *
@@ -457,11 +453,11 @@ class Dn {
457
453
  *
458
454
  * @type {any}
459
455
  */
460
- Y(this, "$$set");
456
+ K(this, "$$set");
461
457
  }
462
458
  /** @returns {void} */
463
459
  $destroy() {
464
- Nn(this, 1), this.$destroy = Z;
460
+ On(this, 1), this.$destroy = Z;
465
461
  }
466
462
  /**
467
463
  * @template {Extract<keyof Events, string>} K
@@ -470,7 +466,7 @@ class Dn {
470
466
  * @returns {() => void}
471
467
  */
472
468
  $on(t, r) {
473
- if (!$t(r))
469
+ if (!Gt(r))
474
470
  return Z;
475
471
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
476
472
  return n.push(r), () => {
@@ -483,11 +479,11 @@ class Dn {
483
479
  * @returns {void}
484
480
  */
485
481
  $set(t) {
486
- this.$$set && !bn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
+ this.$$set && !pn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
483
  }
488
484
  }
489
- const kn = "4";
490
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kn);
485
+ const Un = "4";
486
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Un);
491
487
  var Bt = function(e, t) {
492
488
  return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
493
489
  r.__proto__ = n;
@@ -495,7 +491,7 @@ var Bt = function(e, t) {
495
491
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
492
  }, Bt(e, t);
497
493
  };
498
- function ue(e, t) {
494
+ function le(e, t) {
499
495
  if (typeof t != "function" && t !== null)
500
496
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
501
497
  Bt(e, t);
@@ -513,7 +509,7 @@ var w = function() {
513
509
  return t;
514
510
  }, w.apply(this, arguments);
515
511
  };
516
- function $n(e, t) {
512
+ function Fn(e, t) {
517
513
  var r = {};
518
514
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
519
515
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -548,21 +544,21 @@ function It(e, t) {
548
544
  }
549
545
  return o;
550
546
  }
551
- function Be(e, t, r) {
547
+ function Ie(e, t, r) {
552
548
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
553
549
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
554
550
  return e.concat(o || Array.prototype.slice.call(t));
555
551
  }
556
- function le(e) {
552
+ function ae(e) {
557
553
  return typeof e == "function";
558
554
  }
559
- function Cr(e) {
555
+ function Ir(e) {
560
556
  var t = function(n) {
561
557
  Error.call(n), n.stack = new Error().stack;
562
558
  }, r = e(t);
563
559
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
564
560
  }
565
- var _t = Cr(function(e) {
561
+ var _t = Ir(function(e) {
566
562
  return function(r) {
567
563
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
568
564
  ` + r.map(function(n, i) {
@@ -605,7 +601,7 @@ var ft = function() {
605
601
  else
606
602
  s.remove(this);
607
603
  var c = this.initialTeardown;
608
- if (le(c))
604
+ if (ae(c))
609
605
  try {
610
606
  c();
611
607
  } catch (g) {
@@ -620,7 +616,7 @@ var ft = function() {
620
616
  try {
621
617
  Kt(y);
622
618
  } catch (g) {
623
- o = o != null ? o : [], g instanceof _t ? o = Be(Be([], It(o)), It(g.errors)) : o.push(g);
619
+ o = o != null ? o : [], g instanceof _t ? o = Ie(Ie([], It(o)), It(g.errors)) : o.push(g);
624
620
  }
625
621
  }
626
622
  } catch (g) {
@@ -665,28 +661,28 @@ var ft = function() {
665
661
  var t = new e();
666
662
  return t.closed = !0, t;
667
663
  }(), e;
668
- }(), Or = ft.EMPTY;
669
- function Lr(e) {
670
- return e instanceof ft || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
664
+ }(), Cr = ft.EMPTY;
665
+ function Or(e) {
666
+ return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
671
667
  }
672
668
  function Kt(e) {
673
- le(e) ? e() : e.unsubscribe();
669
+ ae(e) ? e() : e.unsubscribe();
674
670
  }
675
- var Gn = {
671
+ var Dn = {
676
672
  Promise: void 0
677
- }, jn = {
673
+ }, kn = {
678
674
  setTimeout: function(e, t) {
679
675
  for (var r = [], n = 2; n < arguments.length; n++)
680
676
  r[n - 2] = arguments[n];
681
- return setTimeout.apply(void 0, Be([e, t], It(r)));
677
+ return setTimeout.apply(void 0, Ie([e, t], It(r)));
682
678
  },
683
679
  clearTimeout: function(e) {
684
680
  return clearTimeout(e);
685
681
  },
686
682
  delegate: void 0
687
683
  };
688
- function Vn(e) {
689
- jn.setTimeout(function() {
684
+ function Gn(e) {
685
+ kn.setTimeout(function() {
690
686
  throw e;
691
687
  });
692
688
  }
@@ -695,11 +691,11 @@ function er() {
695
691
  function st(e) {
696
692
  e();
697
693
  }
698
- var Mr = function(e) {
699
- ue(t, e);
694
+ var Lr = function(e) {
695
+ le(t, e);
700
696
  function t(r) {
701
697
  var n = e.call(this) || this;
702
- return n.isStopped = !1, r ? (n.destination = r, Lr(r) && r.add(n)) : n.destination = Wn, n;
698
+ return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = Vn, n;
703
699
  }
704
700
  return t.create = function(r, n, i) {
705
701
  return new Ot(r, n, i);
@@ -726,7 +722,7 @@ var Mr = function(e) {
726
722
  this.unsubscribe();
727
723
  }
728
724
  }, t;
729
- }(ft), zn = function() {
725
+ }(ft), $n = function() {
730
726
  function e(t) {
731
727
  this.partialObserver = t;
732
728
  }
@@ -758,36 +754,36 @@ var Mr = function(e) {
758
754
  }
759
755
  }, e;
760
756
  }(), Ot = function(e) {
761
- ue(t, e);
757
+ le(t, e);
762
758
  function t(r, n, i) {
763
759
  var o = e.call(this) || this, s;
764
- return le(r) || !r ? s = {
760
+ return ae(r) || !r ? s = {
765
761
  next: r != null ? r : void 0,
766
762
  error: n != null ? n : void 0,
767
763
  complete: i != null ? i : void 0
768
- } : s = r, o.destination = new zn(s), o;
764
+ } : s = r, o.destination = new $n(s), o;
769
765
  }
770
766
  return t;
771
- }(Mr);
767
+ }(Lr);
772
768
  function nt(e) {
773
- Vn(e);
769
+ Gn(e);
774
770
  }
775
- function Xn(e) {
771
+ function jn(e) {
776
772
  throw e;
777
773
  }
778
- var Wn = {
774
+ var Vn = {
779
775
  closed: !0,
780
776
  next: er,
781
- error: Xn,
777
+ error: jn,
782
778
  complete: er
783
- }, Zn = function() {
779
+ }, zn = function() {
784
780
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
785
781
  }();
786
- function qn(e) {
782
+ function Xn(e) {
787
783
  return e;
788
784
  }
789
- function Jn(e) {
790
- return e.length === 0 ? qn : e.length === 1 ? e[0] : function(r) {
785
+ function Wn(e) {
786
+ return e.length === 0 ? Xn : e.length === 1 ? e[0] : function(r) {
791
787
  return e.reduce(function(n, i) {
792
788
  return i(n);
793
789
  }, r);
@@ -801,7 +797,7 @@ var tr = function() {
801
797
  var r = new e();
802
798
  return r.source = this, r.operator = t, r;
803
799
  }, e.prototype.subscribe = function(t, r, n) {
804
- var i = this, o = Yn(t) ? t : new Ot(t, r, n);
800
+ var i = this, o = qn(t) ? t : new Ot(t, r, n);
805
801
  return st(function() {
806
802
  var s = i, a = s.operator, u = s.source;
807
803
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -831,12 +827,12 @@ var tr = function() {
831
827
  }, e.prototype._subscribe = function(t) {
832
828
  var r;
833
829
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
834
- }, e.prototype[Zn] = function() {
830
+ }, e.prototype[zn] = function() {
835
831
  return this;
836
832
  }, e.prototype.pipe = function() {
837
833
  for (var t = [], r = 0; r < arguments.length; r++)
838
834
  t[r] = arguments[r];
839
- return Jn(t)(this);
835
+ return Wn(t)(this);
840
836
  }, e.prototype.toPromise = function(t) {
841
837
  var r = this;
842
838
  return t = rr(t), new t(function(n, i) {
@@ -855,20 +851,20 @@ var tr = function() {
855
851
  }();
856
852
  function rr(e) {
857
853
  var t;
858
- return (t = e != null ? e : Gn.Promise) !== null && t !== void 0 ? t : Promise;
854
+ return (t = e != null ? e : Dn.Promise) !== null && t !== void 0 ? t : Promise;
859
855
  }
860
- function Qn(e) {
861
- return e && le(e.next) && le(e.error) && le(e.complete);
856
+ function Zn(e) {
857
+ return e && ae(e.next) && ae(e.error) && ae(e.complete);
862
858
  }
863
- function Yn(e) {
864
- return e && e instanceof Mr || Qn(e) && Lr(e);
859
+ function qn(e) {
860
+ return e && e instanceof Lr || Zn(e) && Or(e);
865
861
  }
866
- var Kn = Cr(function(e) {
862
+ var Jn = Ir(function(e) {
867
863
  return function() {
868
864
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
869
865
  };
870
- }), Nr = function(e) {
871
- ue(t, e);
866
+ }), Mr = function(e) {
867
+ le(t, e);
872
868
  function t() {
873
869
  var r = e.call(this) || this;
874
870
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -878,7 +874,7 @@ var Kn = Cr(function(e) {
878
874
  return n.operator = r, n;
879
875
  }, t.prototype._throwIfClosed = function() {
880
876
  if (this.closed)
881
- throw new Kn();
877
+ throw new Jn();
882
878
  }, t.prototype.next = function(r) {
883
879
  var n = this;
884
880
  st(function() {
@@ -934,7 +930,7 @@ var Kn = Cr(function(e) {
934
930
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
935
931
  }, t.prototype._innerSubscribe = function(r) {
936
932
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
937
- return o || s ? Or : (this.currentObservers = null, a.push(r), new ft(function() {
933
+ return o || s ? Cr : (this.currentObservers = null, a.push(r), new ft(function() {
938
934
  n.currentObservers = null, Ct(a, r);
939
935
  }));
940
936
  }, t.prototype._checkFinalizedStatuses = function(r) {
@@ -947,7 +943,7 @@ var Kn = Cr(function(e) {
947
943
  return new nr(r, n);
948
944
  }, t;
949
945
  }(tr), nr = function(e) {
950
- ue(t, e);
946
+ le(t, e);
951
947
  function t(r, n) {
952
948
  var i = e.call(this) || this;
953
949
  return i.destination = r, i.source = n, i;
@@ -963,17 +959,17 @@ var Kn = Cr(function(e) {
963
959
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
964
960
  }, t.prototype._subscribe = function(r) {
965
961
  var n, i;
966
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Or;
962
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Cr;
967
963
  }, t;
968
- }(Nr), Rr = {
964
+ }(Mr), Nr = {
969
965
  now: function() {
970
- return (Rr.delegate || Date).now();
966
+ return (Nr.delegate || Date).now();
971
967
  },
972
968
  delegate: void 0
973
- }, ei = function(e) {
974
- ue(t, e);
969
+ }, Qn = function(e) {
970
+ le(t, e);
975
971
  function t(r, n, i) {
976
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rr);
972
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
977
973
  var o = e.call(this) || this;
978
974
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
979
975
  }
@@ -993,15 +989,15 @@ var Kn = Cr(function(e) {
993
989
  l && o.splice(0, l + 1);
994
990
  }
995
991
  }, t;
996
- }(Nr);
997
- const ir = [], or = {}, ti = (e, t = 0) => {
992
+ }(Mr);
993
+ const ir = [], or = {}, Yn = (e, t = 0) => {
998
994
  if (ir.indexOf(e) == -1) {
999
- const r = new ei(t);
995
+ const r = new Qn(t);
1000
996
  or[e] = r, ir.push(e);
1001
997
  }
1002
998
  return or[e];
1003
- }, Pe = [];
1004
- function ri(e, t) {
999
+ }, He = [];
1000
+ function Kn(e, t) {
1005
1001
  return {
1006
1002
  subscribe: dt(e, t).subscribe
1007
1003
  };
@@ -1010,14 +1006,14 @@ function dt(e, t = Z) {
1010
1006
  let r;
1011
1007
  const n = /* @__PURE__ */ new Set();
1012
1008
  function i(a) {
1013
- if (Br(e, a) && (e = a, r)) {
1014
- const u = !Pe.length;
1009
+ if (Hr(e, a) && (e = a, r)) {
1010
+ const u = !He.length;
1015
1011
  for (const l of n)
1016
- l[1](), Pe.push(l, e);
1012
+ l[1](), He.push(l, e);
1017
1013
  if (u) {
1018
- for (let l = 0; l < Pe.length; l += 2)
1019
- Pe[l][0](Pe[l + 1]);
1020
- Pe.length = 0;
1014
+ for (let l = 0; l < He.length; l += 2)
1015
+ He[l][0](He[l + 1]);
1016
+ He.length = 0;
1021
1017
  }
1022
1018
  }
1023
1019
  }
@@ -1032,12 +1028,12 @@ function dt(e, t = Z) {
1032
1028
  }
1033
1029
  return { set: i, update: o, subscribe: s };
1034
1030
  }
1035
- function Me(e, t, r) {
1031
+ function Re(e, t, r) {
1036
1032
  const n = !Array.isArray(e), i = n ? [e] : e;
1037
1033
  if (!i.every(Boolean))
1038
1034
  throw new Error("derived() expects stores as input, got a falsy value");
1039
1035
  const o = t.length < 2;
1040
- return ri(r, (s, a) => {
1036
+ return Kn(r, (s, a) => {
1041
1037
  let u = !1;
1042
1038
  const l = [];
1043
1039
  let c = 0, f = Z;
@@ -1046,12 +1042,12 @@ function Me(e, t, r) {
1046
1042
  return;
1047
1043
  f();
1048
1044
  const y = t(n ? l[0] : l, s, a);
1049
- o ? s(y) : f = $t(y) ? y : Z;
1045
+ o ? s(y) : f = Gt(y) ? y : Z;
1050
1046
  }, b = i.map(
1051
- (y, g) => Ar(
1047
+ (y, g) => Br(
1052
1048
  y,
1053
- (x) => {
1054
- l[g] = x, c &= ~(1 << g), u && d();
1049
+ (S) => {
1050
+ l[g] = S, c &= ~(1 << g), u && d();
1055
1051
  },
1056
1052
  () => {
1057
1053
  c |= 1 << g;
@@ -1059,115 +1055,115 @@ function Me(e, t, r) {
1059
1055
  )
1060
1056
  );
1061
1057
  return u = !0, d(), function() {
1062
- Le(b), f(), u = !1;
1058
+ Ne(b), f(), u = !1;
1063
1059
  };
1064
1060
  });
1065
1061
  }
1066
- function ni(e) {
1062
+ function ei(e) {
1067
1063
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1068
1064
  }
1069
- var ii = function(t) {
1070
- return oi(t) && !si(t);
1065
+ var ti = function(t) {
1066
+ return ri(t) && !ni(t);
1071
1067
  };
1072
- function oi(e) {
1068
+ function ri(e) {
1073
1069
  return !!e && typeof e == "object";
1074
1070
  }
1075
- function si(e) {
1071
+ function ni(e) {
1076
1072
  var t = Object.prototype.toString.call(e);
1077
- return t === "[object RegExp]" || t === "[object Date]" || ui(e);
1073
+ return t === "[object RegExp]" || t === "[object Date]" || si(e);
1078
1074
  }
1079
- var ai = typeof Symbol == "function" && Symbol.for, li = ai ? Symbol.for("react.element") : 60103;
1080
- function ui(e) {
1081
- return e.$$typeof === li;
1075
+ var ii = typeof Symbol == "function" && Symbol.for, oi = ii ? Symbol.for("react.element") : 60103;
1076
+ function si(e) {
1077
+ return e.$$typeof === oi;
1082
1078
  }
1083
- function ci(e) {
1079
+ function ai(e) {
1084
1080
  return Array.isArray(e) ? [] : {};
1085
1081
  }
1086
- function Ze(e, t) {
1087
- return t.clone !== !1 && t.isMergeableObject(e) ? Ae(ci(e), e, t) : e;
1082
+ function We(e, t) {
1083
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ce(ai(e), e, t) : e;
1088
1084
  }
1089
- function hi(e, t, r) {
1085
+ function li(e, t, r) {
1090
1086
  return e.concat(t).map(function(n) {
1091
- return Ze(n, r);
1087
+ return We(n, r);
1092
1088
  });
1093
1089
  }
1094
- function fi(e, t) {
1090
+ function ui(e, t) {
1095
1091
  if (!t.customMerge)
1096
- return Ae;
1092
+ return Ce;
1097
1093
  var r = t.customMerge(e);
1098
- return typeof r == "function" ? r : Ae;
1094
+ return typeof r == "function" ? r : Ce;
1099
1095
  }
1100
- function di(e) {
1096
+ function ci(e) {
1101
1097
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1102
1098
  return Object.propertyIsEnumerable.call(e, t);
1103
1099
  }) : [];
1104
1100
  }
1105
1101
  function sr(e) {
1106
- return Object.keys(e).concat(di(e));
1102
+ return Object.keys(e).concat(ci(e));
1107
1103
  }
1108
- function Ur(e, t) {
1104
+ function Rr(e, t) {
1109
1105
  try {
1110
1106
  return t in e;
1111
1107
  } catch (r) {
1112
1108
  return !1;
1113
1109
  }
1114
1110
  }
1115
- function mi(e, t) {
1116
- return Ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1111
+ function hi(e, t) {
1112
+ return Rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1117
1113
  }
1118
- function pi(e, t, r) {
1114
+ function fi(e, t, r) {
1119
1115
  var n = {};
1120
1116
  return r.isMergeableObject(e) && sr(e).forEach(function(i) {
1121
- n[i] = Ze(e[i], r);
1117
+ n[i] = We(e[i], r);
1122
1118
  }), sr(t).forEach(function(i) {
1123
- mi(e, i) || (Ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = fi(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
1119
+ hi(e, i) || (Rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ui(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1124
1120
  }), n;
1125
1121
  }
1126
- function Ae(e, t, r) {
1127
- r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Ze;
1122
+ function Ce(e, t, r) {
1123
+ r = r || {}, r.arrayMerge = r.arrayMerge || li, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = We;
1128
1124
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1129
- return o ? n ? r.arrayMerge(e, t, r) : pi(e, t, r) : Ze(t, r);
1125
+ return o ? n ? r.arrayMerge(e, t, r) : fi(e, t, r) : We(t, r);
1130
1126
  }
1131
- Ae.all = function(t, r) {
1127
+ Ce.all = function(t, r) {
1132
1128
  if (!Array.isArray(t))
1133
1129
  throw new Error("first argument should be an array");
1134
1130
  return t.reduce(function(n, i) {
1135
- return Ae(n, i, r);
1131
+ return Ce(n, i, r);
1136
1132
  }, {});
1137
1133
  };
1138
- var gi = Ae, bi = gi;
1139
- const vi = /* @__PURE__ */ ni(bi);
1134
+ var di = Ce, mi = di;
1135
+ const pi = /* @__PURE__ */ ei(mi);
1140
1136
  function Et(e, t) {
1141
- var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : xi, i = t && t.strategy ? t.strategy : Ei;
1137
+ var r = t && t.cache ? t.cache : wi, n = t && t.serializer ? t.serializer : _i, i = t && t.strategy ? t.strategy : vi;
1142
1138
  return i(e, {
1143
1139
  cache: r,
1144
1140
  serializer: n
1145
1141
  });
1146
1142
  }
1147
- function yi(e) {
1143
+ function gi(e) {
1148
1144
  return e == null || typeof e == "number" || typeof e == "boolean";
1149
1145
  }
1150
- function _i(e, t, r, n) {
1151
- var i = yi(n) ? n : r(n), o = t.get(i);
1146
+ function bi(e, t, r, n) {
1147
+ var i = gi(n) ? n : r(n), o = t.get(i);
1152
1148
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1153
1149
  }
1154
- function Fr(e, t, r) {
1150
+ function Ur(e, t, r) {
1155
1151
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1156
1152
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1157
1153
  }
1158
- function Dr(e, t, r, n, i) {
1154
+ function Fr(e, t, r, n, i) {
1159
1155
  return r.bind(t, e, n, i);
1160
1156
  }
1161
- function Ei(e, t) {
1162
- var r = e.length === 1 ? _i : Fr;
1163
- return Dr(e, this, r, t.cache.create(), t.serializer);
1157
+ function vi(e, t) {
1158
+ var r = e.length === 1 ? bi : Ur;
1159
+ return Fr(e, this, r, t.cache.create(), t.serializer);
1164
1160
  }
1165
- function wi(e, t) {
1166
- return Dr(e, this, Fr, t.cache.create(), t.serializer);
1161
+ function yi(e, t) {
1162
+ return Fr(e, this, Ur, t.cache.create(), t.serializer);
1167
1163
  }
1168
- var xi = function() {
1164
+ var _i = function() {
1169
1165
  return JSON.stringify(arguments);
1170
- }, Si = (
1166
+ }, Ei = (
1171
1167
  /** @class */
1172
1168
  function() {
1173
1169
  function e() {
@@ -1179,12 +1175,12 @@ var xi = function() {
1179
1175
  this.cache[t] = r;
1180
1176
  }, e;
1181
1177
  }()
1182
- ), Pi = {
1178
+ ), wi = {
1183
1179
  create: function() {
1184
- return new Si();
1180
+ return new Ei();
1185
1181
  }
1186
1182
  }, wt = {
1187
- variadic: wi
1183
+ variadic: yi
1188
1184
  }, _;
1189
1185
  (function(e) {
1190
1186
  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";
@@ -1193,47 +1189,47 @@ var T;
1193
1189
  (function(e) {
1194
1190
  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";
1195
1191
  })(T || (T = {}));
1196
- var Ie;
1192
+ var Oe;
1197
1193
  (function(e) {
1198
1194
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1199
- })(Ie || (Ie = {}));
1195
+ })(Oe || (Oe = {}));
1200
1196
  function ar(e) {
1201
1197
  return e.type === T.literal;
1202
1198
  }
1203
- function Ti(e) {
1199
+ function xi(e) {
1204
1200
  return e.type === T.argument;
1205
1201
  }
1206
- function kr(e) {
1202
+ function Dr(e) {
1207
1203
  return e.type === T.number;
1208
1204
  }
1209
- function $r(e) {
1205
+ function kr(e) {
1210
1206
  return e.type === T.date;
1211
1207
  }
1212
1208
  function Gr(e) {
1213
1209
  return e.type === T.time;
1214
1210
  }
1215
- function jr(e) {
1211
+ function $r(e) {
1216
1212
  return e.type === T.select;
1217
1213
  }
1218
- function Vr(e) {
1214
+ function jr(e) {
1219
1215
  return e.type === T.plural;
1220
1216
  }
1221
- function Hi(e) {
1217
+ function Si(e) {
1222
1218
  return e.type === T.pound;
1223
1219
  }
1224
- function zr(e) {
1220
+ function Vr(e) {
1225
1221
  return e.type === T.tag;
1226
1222
  }
1227
- function Xr(e) {
1228
- return !!(e && typeof e == "object" && e.type === Ie.number);
1223
+ function zr(e) {
1224
+ return !!(e && typeof e == "object" && e.type === Oe.number);
1229
1225
  }
1230
1226
  function Lt(e) {
1231
- return !!(e && typeof e == "object" && e.type === Ie.dateTime);
1227
+ return !!(e && typeof e == "object" && e.type === Oe.dateTime);
1232
1228
  }
1233
- var Wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[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;
1234
- function Ai(e) {
1229
+ var Xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
1230
+ function Ti(e) {
1235
1231
  var t = {};
1236
- return e.replace(Bi, function(r) {
1232
+ return e.replace(Pi, function(r) {
1237
1233
  var n = r.length;
1238
1234
  switch (r[0]) {
1239
1235
  case "G":
@@ -1322,11 +1318,11 @@ function Ai(e) {
1322
1318
  return "";
1323
1319
  }), t;
1324
1320
  }
1325
- var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1326
- function Ci(e) {
1321
+ var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1322
+ function Bi(e) {
1327
1323
  if (e.length === 0)
1328
1324
  throw new Error("Number skeleton cannot be empty");
1329
- for (var t = e.split(Ii).filter(function(d) {
1325
+ for (var t = e.split(Hi).filter(function(d) {
1330
1326
  return d.length > 0;
1331
1327
  }), r = [], n = 0, i = t; n < i.length; n++) {
1332
1328
  var o = i[n], s = o.split("/");
@@ -1341,17 +1337,17 @@ function Ci(e) {
1341
1337
  }
1342
1338
  return r;
1343
1339
  }
1344
- function Oi(e) {
1340
+ function Ai(e) {
1345
1341
  return e.replace(/^(.*?)-/, "");
1346
1342
  }
1347
- var lr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, Li = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1343
+ var lr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, Zr = /^(0+)$/;
1348
1344
  function ur(e) {
1349
1345
  var t = {};
1350
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zr, function(r, n, i) {
1346
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
1351
1347
  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)), "";
1352
1348
  }), t;
1353
1349
  }
1354
- function Jr(e) {
1350
+ function qr(e) {
1355
1351
  switch (e) {
1356
1352
  case "sign-auto":
1357
1353
  return {
@@ -1391,7 +1387,7 @@ function Jr(e) {
1391
1387
  };
1392
1388
  }
1393
1389
  }
1394
- function Mi(e) {
1390
+ function Ci(e) {
1395
1391
  var t;
1396
1392
  if (e[0] === "E" && e[1] === "E" ? (t = {
1397
1393
  notation: "engineering"
@@ -1399,17 +1395,17 @@ function Mi(e) {
1399
1395
  notation: "scientific"
1400
1396
  }, e = e.slice(1)), t) {
1401
1397
  var r = e.slice(0, 2);
1402
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qr.test(e))
1398
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zr.test(e))
1403
1399
  throw new Error("Malformed concise eng/scientific notation");
1404
1400
  t.minimumIntegerDigits = e.length;
1405
1401
  }
1406
1402
  return t;
1407
1403
  }
1408
1404
  function cr(e) {
1409
- var t = {}, r = Jr(e);
1405
+ var t = {}, r = qr(e);
1410
1406
  return r || t;
1411
1407
  }
1412
- function Ni(e) {
1408
+ function Oi(e) {
1413
1409
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1414
1410
  var i = n[r];
1415
1411
  switch (i.stem) {
@@ -1433,7 +1429,7 @@ function Ni(e) {
1433
1429
  continue;
1434
1430
  case "measure-unit":
1435
1431
  case "unit":
1436
- t.style = "unit", t.unit = Oi(i.options[0]);
1432
+ t.style = "unit", t.unit = Ai(i.options[0]);
1437
1433
  continue;
1438
1434
  case "compact-short":
1439
1435
  case "K":
@@ -1495,7 +1491,7 @@ function Ni(e) {
1495
1491
  case "integer-width":
1496
1492
  if (i.options.length > 1)
1497
1493
  throw new RangeError("integer-width stems only accept a single optional option");
1498
- i.options[0].replace(Li, function(u, l, c, f, d, b) {
1494
+ i.options[0].replace(Ii, function(u, l, c, f, d, b) {
1499
1495
  if (l)
1500
1496
  t.minimumIntegerDigits = c.length;
1501
1497
  else {
@@ -1508,7 +1504,7 @@ function Ni(e) {
1508
1504
  });
1509
1505
  continue;
1510
1506
  }
1511
- if (qr.test(i.stem)) {
1507
+ if (Zr.test(i.stem)) {
1512
1508
  t.minimumIntegerDigits = i.stem.length;
1513
1509
  continue;
1514
1510
  }
@@ -1522,13 +1518,13 @@ function Ni(e) {
1522
1518
  o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), ur(o)));
1523
1519
  continue;
1524
1520
  }
1525
- if (Zr.test(i.stem)) {
1521
+ if (Wr.test(i.stem)) {
1526
1522
  t = w(w({}, t), ur(i.stem));
1527
1523
  continue;
1528
1524
  }
1529
- var s = Jr(i.stem);
1525
+ var s = qr(i.stem);
1530
1526
  s && (t = w(w({}, t), s));
1531
- var a = Mi(i.stem);
1527
+ var a = Ci(i.stem);
1532
1528
  a && (t = w(w({}, t), a));
1533
1529
  }
1534
1530
  return t;
@@ -2948,13 +2944,13 @@ var it = {
2948
2944
  "h"
2949
2945
  ]
2950
2946
  };
2951
- function Ri(e, t) {
2947
+ function Li(e, t) {
2952
2948
  for (var r = "", n = 0; n < e.length; n++) {
2953
2949
  var i = e.charAt(n);
2954
2950
  if (i === "j") {
2955
2951
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2956
2952
  o++, n++;
2957
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ui(t);
2953
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Mi(t);
2958
2954
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2959
2955
  r += u;
2960
2956
  for (; s-- > 0; )
@@ -2963,7 +2959,7 @@ function Ri(e, t) {
2963
2959
  }
2964
2960
  return r;
2965
2961
  }
2966
- function Ui(e) {
2962
+ function Mi(e) {
2967
2963
  var t = e.hourCycle;
2968
2964
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2969
2965
  e.hourCycles && // @ts-ignore
@@ -2985,20 +2981,20 @@ function Ui(e) {
2985
2981
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2986
2982
  return i[0];
2987
2983
  }
2988
- var xt, Fi = new RegExp("^".concat(Wr.source, "*")), Di = new RegExp("".concat(Wr.source, "*$"));
2984
+ var xt, Ni = new RegExp("^".concat(Xr.source, "*")), Ri = new RegExp("".concat(Xr.source, "*$"));
2989
2985
  function E(e, t) {
2990
2986
  return { start: e, end: t };
2991
2987
  }
2992
- var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), $i = !!String.fromCodePoint, Gi = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
2988
+ var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Di = !!Object.fromEntries, ki = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, $i = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, Vi = ji ? Number.isSafeInteger : function(e) {
2993
2989
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2994
2990
  }, Mt = !0;
2995
2991
  try {
2996
- var Zi = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
- Mt = ((xt = Zi.exec("a")) === null || xt === void 0 ? void 0 : xt[0]) === "a";
2992
+ var zi = Qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2993
+ Mt = ((xt = zi.exec("a")) === null || xt === void 0 ? void 0 : xt[0]) === "a";
2998
2994
  } catch (e) {
2999
2995
  Mt = !1;
3000
2996
  }
3001
- var hr = ki ? (
2997
+ var hr = Ui ? (
3002
2998
  // Native
3003
2999
  function(t, r, n) {
3004
3000
  return t.startsWith(r, n);
@@ -3008,7 +3004,7 @@ var hr = ki ? (
3008
3004
  function(t, r, n) {
3009
3005
  return t.slice(n, n + r.length) === r;
3010
3006
  }
3011
- ), Nt = $i ? String.fromCodePoint : (
3007
+ ), Nt = Fi ? String.fromCodePoint : (
3012
3008
  // IE11
3013
3009
  function() {
3014
3010
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3022,7 +3018,7 @@ var hr = ki ? (
3022
3018
  }
3023
3019
  ), fr = (
3024
3020
  // native
3025
- Gi ? Object.fromEntries : (
3021
+ Di ? Object.fromEntries : (
3026
3022
  // Ponyfill
3027
3023
  function(t) {
3028
3024
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3032,7 +3028,7 @@ var hr = ki ? (
3032
3028
  return r;
3033
3029
  }
3034
3030
  )
3035
- ), Qr = ji ? (
3031
+ ), Jr = ki ? (
3036
3032
  // Native
3037
3033
  function(t, r) {
3038
3034
  return t.codePointAt(r);
@@ -3046,7 +3042,7 @@ var hr = ki ? (
3046
3042
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3047
3043
  }
3048
3044
  }
3049
- ), qi = Vi ? (
3045
+ ), Xi = Gi ? (
3050
3046
  // Native
3051
3047
  function(t) {
3052
3048
  return t.trimStart();
@@ -3054,9 +3050,9 @@ var hr = ki ? (
3054
3050
  ) : (
3055
3051
  // Ponyfill
3056
3052
  function(t) {
3057
- return t.replace(Fi, "");
3053
+ return t.replace(Ni, "");
3058
3054
  }
3059
- ), Ji = zi ? (
3055
+ ), Wi = $i ? (
3060
3056
  // Native
3061
3057
  function(t) {
3062
3058
  return t.trimEnd();
@@ -3064,15 +3060,15 @@ var hr = ki ? (
3064
3060
  ) : (
3065
3061
  // Ponyfill
3066
3062
  function(t) {
3067
- return t.replace(Di, "");
3063
+ return t.replace(Ri, "");
3068
3064
  }
3069
3065
  );
3070
- function Yr(e, t) {
3066
+ function Qr(e, t) {
3071
3067
  return new RegExp(e, t);
3072
3068
  }
3073
3069
  var Rt;
3074
3070
  if (Mt) {
3075
- var dr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3071
+ var dr = Qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
3072
  Rt = function(t, r) {
3077
3073
  var n;
3078
3074
  dr.lastIndex = r;
@@ -3082,14 +3078,14 @@ if (Mt) {
3082
3078
  } else
3083
3079
  Rt = function(t, r) {
3084
3080
  for (var n = []; ; ) {
3085
- var i = Qr(t, r);
3086
- if (i === void 0 || Kr(i) || eo(i))
3081
+ var i = Jr(t, r);
3082
+ if (i === void 0 || Yr(i) || Qi(i))
3087
3083
  break;
3088
3084
  n.push(i), r += i >= 65536 ? 2 : 1;
3089
3085
  }
3090
3086
  return Nt.apply(void 0, n);
3091
3087
  };
3092
- var Qi = (
3088
+ var Zi = (
3093
3089
  /** @class */
3094
3090
  function() {
3095
3091
  function e(t, r) {
@@ -3171,7 +3167,7 @@ var Qi = (
3171
3167
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3172
3168
  }, e.prototype.parseTagName = function() {
3173
3169
  var t = this.offset();
3174
- for (this.bump(); !this.isEOF() && Ki(this.char()); )
3170
+ for (this.bump(); !this.isEOF() && Ji(this.char()); )
3175
3171
  this.bump();
3176
3172
  return this.message.slice(t, this.offset());
3177
3173
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3200,7 +3196,7 @@ var Qi = (
3200
3196
  };
3201
3197
  }, e.prototype.tryParseLeftAngleBracket = function() {
3202
3198
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3203
- !Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
3199
+ !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
3204
3200
  }, e.prototype.tryParseQuote = function(t) {
3205
3201
  if (this.isEOF() || this.char() !== 39)
3206
3202
  return null;
@@ -3287,7 +3283,7 @@ var Qi = (
3287
3283
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3288
3284
  if (f.err)
3289
3285
  return f;
3290
- var d = Ji(f.val);
3286
+ var d = Wi(f.val);
3291
3287
  if (d.length === 0)
3292
3288
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3293
3289
  var b = E(c, this.clonePosition());
@@ -3298,26 +3294,26 @@ var Qi = (
3298
3294
  return y;
3299
3295
  var g = E(i, this.clonePosition());
3300
3296
  if (l && hr(l == null ? void 0 : l.style, "::", 0)) {
3301
- var x = qi(l.style.slice(2));
3297
+ var S = Xi(l.style.slice(2));
3302
3298
  if (a === "number") {
3303
- var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3299
+ var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
3304
3300
  return f.err ? f : {
3305
3301
  val: { type: T.number, value: n, location: g, style: f.val },
3306
3302
  err: null
3307
3303
  };
3308
3304
  } else {
3309
- if (x.length === 0)
3305
+ if (S.length === 0)
3310
3306
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3311
- var M = x;
3312
- this.locale && (M = Ri(x, this.locale));
3307
+ var C = S;
3308
+ this.locale && (C = Li(S, this.locale));
3313
3309
  var d = {
3314
- type: Ie.dateTime,
3315
- pattern: M,
3310
+ type: Oe.dateTime,
3311
+ pattern: C,
3316
3312
  location: l.styleLocation,
3317
- parsedOptions: this.shouldParseSkeletons ? Ai(M) : {}
3318
- }, q = a === "date" ? T.date : T.time;
3313
+ parsedOptions: this.shouldParseSkeletons ? Ti(C) : {}
3314
+ }, z = a === "date" ? T.date : T.time;
3319
3315
  return {
3320
- val: { type: q, value: n, location: g, style: d },
3316
+ val: { type: z, value: n, location: g, style: d },
3321
3317
  err: null
3322
3318
  };
3323
3319
  }
@@ -3335,43 +3331,43 @@ var Qi = (
3335
3331
  case "plural":
3336
3332
  case "selectordinal":
3337
3333
  case "select": {
3338
- var H = this.clonePosition();
3334
+ var R = this.clonePosition();
3339
3335
  if (this.bumpSpace(), !this.bumpIf(","))
3340
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(H, w({}, H)));
3336
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, w({}, R)));
3341
3337
  this.bumpSpace();
3342
- var R = this.parseIdentifierIfPossible(), G = 0;
3343
- if (a !== "select" && R.value === "offset") {
3338
+ var U = this.parseIdentifierIfPossible(), A = 0;
3339
+ if (a !== "select" && U.value === "offset") {
3344
3340
  if (!this.bumpIf(":"))
3345
3341
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3346
3342
  this.bumpSpace();
3347
3343
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3348
3344
  if (f.err)
3349
3345
  return f;
3350
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), G = f.val;
3346
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), A = f.val;
3351
3347
  }
3352
- var J = this.tryParsePluralOrSelectOptions(t, a, r, R);
3353
- if (J.err)
3354
- return J;
3348
+ var ne = this.tryParsePluralOrSelectOptions(t, a, r, U);
3349
+ if (ne.err)
3350
+ return ne;
3355
3351
  var y = this.tryParseArgumentClose(i);
3356
3352
  if (y.err)
3357
3353
  return y;
3358
- var B = E(i, this.clonePosition());
3354
+ var H = E(i, this.clonePosition());
3359
3355
  return a === "select" ? {
3360
3356
  val: {
3361
3357
  type: T.select,
3362
3358
  value: n,
3363
- options: fr(J.val),
3364
- location: B
3359
+ options: fr(ne.val),
3360
+ location: H
3365
3361
  },
3366
3362
  err: null
3367
3363
  } : {
3368
3364
  val: {
3369
3365
  type: T.plural,
3370
3366
  value: n,
3371
- options: fr(J.val),
3372
- offset: G,
3367
+ options: fr(ne.val),
3368
+ offset: A,
3373
3369
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3374
- location: B
3370
+ location: H
3375
3371
  },
3376
3372
  err: null
3377
3373
  };
@@ -3419,16 +3415,16 @@ var Qi = (
3419
3415
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3420
3416
  var n = [];
3421
3417
  try {
3422
- n = Ci(t);
3418
+ n = Bi(t);
3423
3419
  } catch (i) {
3424
3420
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3425
3421
  }
3426
3422
  return {
3427
3423
  val: {
3428
- type: Ie.number,
3424
+ type: Oe.number,
3429
3425
  tokens: n,
3430
3426
  location: r,
3431
- parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
3427
+ parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
3432
3428
  },
3433
3429
  err: null
3434
3430
  };
@@ -3476,7 +3472,7 @@ var Qi = (
3476
3472
  break;
3477
3473
  }
3478
3474
  var u = E(i, this.clonePosition());
3479
- return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3475
+ return o ? (s *= n, Vi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3480
3476
  }, e.prototype.offset = function() {
3481
3477
  return this.position.offset;
3482
3478
  }, e.prototype.isEOF = function() {
@@ -3491,7 +3487,7 @@ var Qi = (
3491
3487
  var t = this.position.offset;
3492
3488
  if (t >= this.message.length)
3493
3489
  throw Error("out of bound");
3494
- var r = Qr(this.message, t);
3490
+ var r = Jr(this.message, t);
3495
3491
  if (r === void 0)
3496
3492
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3497
3493
  return r;
@@ -3532,7 +3528,7 @@ var Qi = (
3532
3528
  break;
3533
3529
  }
3534
3530
  }, e.prototype.bumpSpace = function() {
3535
- for (; !this.isEOF() && Kr(this.char()); )
3531
+ for (; !this.isEOF() && Yr(this.char()); )
3536
3532
  this.bump();
3537
3533
  }, e.prototype.peek = function() {
3538
3534
  if (this.isEOF())
@@ -3545,43 +3541,43 @@ var Qi = (
3545
3541
  function Ut(e) {
3546
3542
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3547
3543
  }
3548
- function Yi(e) {
3544
+ function qi(e) {
3549
3545
  return Ut(e) || e === 47;
3550
3546
  }
3551
- function Ki(e) {
3547
+ function Ji(e) {
3552
3548
  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;
3553
3549
  }
3554
- function Kr(e) {
3550
+ function Yr(e) {
3555
3551
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3556
3552
  }
3557
- function eo(e) {
3553
+ function Qi(e) {
3558
3554
  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;
3559
3555
  }
3560
3556
  function Ft(e) {
3561
3557
  e.forEach(function(t) {
3562
- if (delete t.location, jr(t) || Vr(t))
3558
+ if (delete t.location, $r(t) || jr(t))
3563
3559
  for (var r in t.options)
3564
3560
  delete t.options[r].location, Ft(t.options[r].value);
3565
- else kr(t) && Xr(t.style) || ($r(t) || Gr(t)) && Lt(t.style) ? delete t.style.location : zr(t) && Ft(t.children);
3561
+ else Dr(t) && zr(t.style) || (kr(t) || Gr(t)) && Lt(t.style) ? delete t.style.location : Vr(t) && Ft(t.children);
3566
3562
  });
3567
3563
  }
3568
- function to(e, t) {
3564
+ function Yi(e, t) {
3569
3565
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3570
- var r = new Qi(e, t).parse();
3566
+ var r = new Zi(e, t).parse();
3571
3567
  if (r.err) {
3572
3568
  var n = SyntaxError(_[r.err.kind]);
3573
3569
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3574
3570
  }
3575
3571
  return t != null && t.captureLocation || Ft(r.val), r.val;
3576
3572
  }
3577
- var Ce;
3573
+ var Le;
3578
3574
  (function(e) {
3579
3575
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3580
- })(Ce || (Ce = {}));
3576
+ })(Le || (Le = {}));
3581
3577
  var mt = (
3582
3578
  /** @class */
3583
3579
  function(e) {
3584
- ue(t, e);
3580
+ le(t, e);
3585
3581
  function t(r, n, i) {
3586
3582
  var o = e.call(this, r) || this;
3587
3583
  return o.code = n, o.originalMessage = i, o;
@@ -3593,48 +3589,48 @@ var mt = (
3593
3589
  ), mr = (
3594
3590
  /** @class */
3595
3591
  function(e) {
3596
- ue(t, e);
3592
+ le(t, e);
3597
3593
  function t(r, n, i, o) {
3598
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
3594
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
3599
3595
  }
3600
3596
  return t;
3601
3597
  }(mt)
3602
- ), ro = (
3598
+ ), Ki = (
3603
3599
  /** @class */
3604
3600
  function(e) {
3605
- ue(t, e);
3601
+ le(t, e);
3606
3602
  function t(r, n, i) {
3607
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
3603
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
3608
3604
  }
3609
3605
  return t;
3610
3606
  }(mt)
3611
- ), no = (
3607
+ ), eo = (
3612
3608
  /** @class */
3613
3609
  function(e) {
3614
- ue(t, e);
3610
+ le(t, e);
3615
3611
  function t(r, n) {
3616
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
3612
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
3617
3613
  }
3618
3614
  return t;
3619
3615
  }(mt)
3620
- ), X;
3616
+ ), V;
3621
3617
  (function(e) {
3622
3618
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3623
- })(X || (X = {}));
3624
- function io(e) {
3619
+ })(V || (V = {}));
3620
+ function to(e) {
3625
3621
  return e.length < 2 ? e : e.reduce(function(t, r) {
3626
3622
  var n = t[t.length - 1];
3627
- return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
3623
+ return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
3628
3624
  }, []);
3629
3625
  }
3630
- function oo(e) {
3626
+ function ro(e) {
3631
3627
  return typeof e == "function";
3632
3628
  }
3633
3629
  function at(e, t, r, n, i, o, s) {
3634
3630
  if (e.length === 1 && ar(e[0]))
3635
3631
  return [
3636
3632
  {
3637
- type: X.literal,
3633
+ type: V.literal,
3638
3634
  value: e[0].value
3639
3635
  }
3640
3636
  ];
@@ -3642,33 +3638,33 @@ function at(e, t, r, n, i, o, s) {
3642
3638
  var c = l[u];
3643
3639
  if (ar(c)) {
3644
3640
  a.push({
3645
- type: X.literal,
3641
+ type: V.literal,
3646
3642
  value: c.value
3647
3643
  });
3648
3644
  continue;
3649
3645
  }
3650
- if (Hi(c)) {
3646
+ if (Si(c)) {
3651
3647
  typeof o == "number" && a.push({
3652
- type: X.literal,
3648
+ type: V.literal,
3653
3649
  value: r.getNumberFormat(t).format(o)
3654
3650
  });
3655
3651
  continue;
3656
3652
  }
3657
3653
  var f = c.value;
3658
3654
  if (!(i && f in i))
3659
- throw new no(f, s);
3655
+ throw new eo(f, s);
3660
3656
  var d = i[f];
3661
- if (Ti(c)) {
3657
+ if (xi(c)) {
3662
3658
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3663
- type: typeof d == "string" ? X.literal : X.object,
3659
+ type: typeof d == "string" ? V.literal : V.object,
3664
3660
  value: d
3665
3661
  });
3666
3662
  continue;
3667
3663
  }
3668
- if ($r(c)) {
3664
+ if (kr(c)) {
3669
3665
  var b = typeof c.style == "string" ? n.date[c.style] : Lt(c.style) ? c.style.parsedOptions : void 0;
3670
3666
  a.push({
3671
- type: X.literal,
3667
+ type: V.literal,
3672
3668
  value: r.getDateTimeFormat(t, b).format(d)
3673
3669
  });
3674
3670
  continue;
@@ -3676,66 +3672,66 @@ function at(e, t, r, n, i, o, s) {
3676
3672
  if (Gr(c)) {
3677
3673
  var b = typeof c.style == "string" ? n.time[c.style] : Lt(c.style) ? c.style.parsedOptions : n.time.medium;
3678
3674
  a.push({
3679
- type: X.literal,
3675
+ type: V.literal,
3680
3676
  value: r.getDateTimeFormat(t, b).format(d)
3681
3677
  });
3682
3678
  continue;
3683
3679
  }
3684
- if (kr(c)) {
3685
- var b = typeof c.style == "string" ? n.number[c.style] : Xr(c.style) ? c.style.parsedOptions : void 0;
3680
+ if (Dr(c)) {
3681
+ var b = typeof c.style == "string" ? n.number[c.style] : zr(c.style) ? c.style.parsedOptions : void 0;
3686
3682
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3687
- type: X.literal,
3683
+ type: V.literal,
3688
3684
  value: r.getNumberFormat(t, b).format(d)
3689
3685
  });
3690
3686
  continue;
3691
3687
  }
3692
- if (zr(c)) {
3693
- var y = c.children, g = c.value, x = i[g];
3694
- if (!oo(x))
3695
- throw new ro(g, "function", s);
3696
- var M = at(y, t, r, n, i, o), q = x(M.map(function(G) {
3697
- return G.value;
3688
+ if (Vr(c)) {
3689
+ var y = c.children, g = c.value, S = i[g];
3690
+ if (!ro(S))
3691
+ throw new Ki(g, "function", s);
3692
+ var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
3693
+ return A.value;
3698
3694
  }));
3699
- Array.isArray(q) || (q = [q]), a.push.apply(a, q.map(function(G) {
3695
+ Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
3700
3696
  return {
3701
- type: typeof G == "string" ? X.literal : X.object,
3702
- value: G
3697
+ type: typeof A == "string" ? V.literal : V.object,
3698
+ value: A
3703
3699
  };
3704
3700
  }));
3705
3701
  }
3706
- if (jr(c)) {
3707
- var H = c.options[d] || c.options.other;
3708
- if (!H)
3702
+ if ($r(c)) {
3703
+ var R = c.options[d] || c.options.other;
3704
+ if (!R)
3709
3705
  throw new mr(c.value, d, Object.keys(c.options), s);
3710
- a.push.apply(a, at(H.value, t, r, n, i));
3706
+ a.push.apply(a, at(R.value, t, r, n, i));
3711
3707
  continue;
3712
3708
  }
3713
- if (Vr(c)) {
3714
- var H = c.options["=".concat(d)];
3715
- if (!H) {
3709
+ if (jr(c)) {
3710
+ var R = c.options["=".concat(d)];
3711
+ if (!R) {
3716
3712
  if (!Intl.PluralRules)
3717
3713
  throw new mt(`Intl.PluralRules is not available in this environment.
3718
3714
  Try polyfilling it using "@formatjs/intl-pluralrules"
3719
- `, Ce.MISSING_INTL_API, s);
3720
- var R = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3721
- H = c.options[R] || c.options.other;
3715
+ `, Le.MISSING_INTL_API, s);
3716
+ var U = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3717
+ R = c.options[U] || c.options.other;
3722
3718
  }
3723
- if (!H)
3719
+ if (!R)
3724
3720
  throw new mr(c.value, d, Object.keys(c.options), s);
3725
- a.push.apply(a, at(H.value, t, r, n, i, d - (c.offset || 0)));
3721
+ a.push.apply(a, at(R.value, t, r, n, i, d - (c.offset || 0)));
3726
3722
  continue;
3727
3723
  }
3728
3724
  }
3729
- return io(a);
3725
+ return to(a);
3730
3726
  }
3731
- function so(e, t) {
3727
+ function no(e, t) {
3732
3728
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3733
3729
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3734
3730
  }, {})) : e;
3735
3731
  }
3736
- function ao(e, t) {
3732
+ function io(e, t) {
3737
3733
  return t ? Object.keys(e).reduce(function(r, n) {
3738
- return r[n] = so(e[n], t[n]), r;
3734
+ return r[n] = no(e[n], t[n]), r;
3739
3735
  }, w({}, e)) : e;
3740
3736
  }
3741
3737
  function St(e) {
@@ -3752,7 +3748,7 @@ function St(e) {
3752
3748
  }
3753
3749
  };
3754
3750
  }
3755
- function lo(e) {
3751
+ function oo(e) {
3756
3752
  return e === void 0 && (e = {
3757
3753
  number: {},
3758
3754
  dateTime: {},
@@ -3761,7 +3757,7 @@ function lo(e) {
3761
3757
  getNumberFormat: Et(function() {
3762
3758
  for (var t, r = [], n = 0; n < arguments.length; n++)
3763
3759
  r[n] = arguments[n];
3764
- return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3760
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3765
3761
  }, {
3766
3762
  cache: St(e.number),
3767
3763
  strategy: wt.variadic
@@ -3769,7 +3765,7 @@ function lo(e) {
3769
3765
  getDateTimeFormat: Et(function() {
3770
3766
  for (var t, r = [], n = 0; n < arguments.length; n++)
3771
3767
  r[n] = arguments[n];
3772
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3768
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3773
3769
  }, {
3774
3770
  cache: St(e.dateTime),
3775
3771
  strategy: wt.variadic
@@ -3777,14 +3773,14 @@ function lo(e) {
3777
3773
  getPluralRules: Et(function() {
3778
3774
  for (var t, r = [], n = 0; n < arguments.length; n++)
3779
3775
  r[n] = arguments[n];
3780
- return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3776
+ return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3781
3777
  }, {
3782
3778
  cache: St(e.pluralRules),
3783
3779
  strategy: wt.variadic
3784
3780
  })
3785
3781
  };
3786
3782
  }
3787
- var uo = (
3783
+ var so = (
3788
3784
  /** @class */
3789
3785
  function() {
3790
3786
  function e(t, r, n, i) {
@@ -3799,7 +3795,7 @@ var uo = (
3799
3795
  if (l.length === 1)
3800
3796
  return l[0].value;
3801
3797
  var c = l.reduce(function(f, d) {
3802
- return !f.length || d.type !== X.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3798
+ return !f.length || d.type !== V.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3803
3799
  }, []);
3804
3800
  return c.length <= 1 ? c[0] || "" : c;
3805
3801
  }, this.formatToParts = function(u) {
@@ -3816,13 +3812,13 @@ var uo = (
3816
3812
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3817
3813
  var s = i || {};
3818
3814
  s.formatters;
3819
- var a = $n(s, ["formatters"]);
3815
+ var a = Fn(s, ["formatters"]);
3820
3816
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3821
3817
  } else
3822
3818
  this.ast = t;
3823
3819
  if (!Array.isArray(this.ast))
3824
3820
  throw new TypeError("A message must be provided as a String or AST.");
3825
- this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
3821
+ this.formats = io(e.formats, n), this.formatters = i && i.formatters || oo(this.formatterCache);
3826
3822
  }
3827
3823
  return Object.defineProperty(e, "defaultLocale", {
3828
3824
  get: function() {
@@ -3835,7 +3831,7 @@ var uo = (
3835
3831
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3836
3832
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3837
3833
  }
3838
- }, e.__parse = to, e.formats = {
3834
+ }, e.__parse = Yi, e.formats = {
3839
3835
  number: {
3840
3836
  integer: {
3841
3837
  maximumFractionDigits: 0
@@ -3896,7 +3892,7 @@ var uo = (
3896
3892
  }, e;
3897
3893
  }()
3898
3894
  );
3899
- function co(e, t) {
3895
+ function ao(e, t) {
3900
3896
  if (t == null)
3901
3897
  return;
3902
3898
  if (t in e)
@@ -3917,60 +3913,60 @@ function co(e, t) {
3917
3913
  n = void 0;
3918
3914
  return n;
3919
3915
  }
3920
- const he = {}, ho = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), en = (e, t) => {
3916
+ const ce = {}, lo = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Kr = (e, t) => {
3921
3917
  if (t == null)
3922
3918
  return;
3923
- if (t in he && e in he[t])
3924
- return he[t][e];
3919
+ if (t in ce && e in ce[t])
3920
+ return ce[t][e];
3925
3921
  const r = pt(t);
3926
3922
  for (let n = 0; n < r.length; n++) {
3927
- const i = r[n], o = mo(i, e);
3923
+ const i = r[n], o = co(i, e);
3928
3924
  if (o)
3929
- return ho(e, t, o);
3925
+ return lo(e, t, o);
3930
3926
  }
3931
3927
  };
3932
- let Gt;
3933
- const Ne = dt({});
3934
- function fo(e) {
3935
- return Gt[e] || null;
3928
+ let $t;
3929
+ const Ue = dt({});
3930
+ function uo(e) {
3931
+ return $t[e] || null;
3936
3932
  }
3937
- function tn(e) {
3938
- return e in Gt;
3933
+ function en(e) {
3934
+ return e in $t;
3939
3935
  }
3940
- function mo(e, t) {
3941
- if (!tn(e))
3936
+ function co(e, t) {
3937
+ if (!en(e))
3942
3938
  return null;
3943
- const r = fo(e);
3944
- return co(r, t);
3939
+ const r = uo(e);
3940
+ return ao(r, t);
3945
3941
  }
3946
- function po(e) {
3942
+ function ho(e) {
3947
3943
  if (e == null)
3948
3944
  return;
3949
3945
  const t = pt(e);
3950
3946
  for (let r = 0; r < t.length; r++) {
3951
3947
  const n = t[r];
3952
- if (tn(n))
3948
+ if (en(n))
3953
3949
  return n;
3954
3950
  }
3955
3951
  }
3956
- function rn(e, ...t) {
3957
- delete he[e], Ne.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3952
+ function tn(e, ...t) {
3953
+ delete ce[e], Ue.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
3958
3954
  }
3959
- Me(
3960
- [Ne],
3955
+ Re(
3956
+ [Ue],
3961
3957
  ([e]) => Object.keys(e)
3962
3958
  );
3963
- Ne.subscribe((e) => Gt = e);
3959
+ Ue.subscribe((e) => $t = e);
3964
3960
  const lt = {};
3965
- function go(e, t) {
3961
+ function fo(e, t) {
3966
3962
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3967
3963
  }
3968
- function nn(e) {
3964
+ function rn(e) {
3969
3965
  return lt[e];
3970
3966
  }
3971
- function bo(e) {
3967
+ function mo(e) {
3972
3968
  return pt(e).map((t) => {
3973
- const r = nn(t);
3969
+ const r = rn(t);
3974
3970
  return [t, r ? [...r] : []];
3975
3971
  }).filter(([, t]) => t.length > 0);
3976
3972
  }
@@ -3978,31 +3974,31 @@ function Dt(e) {
3978
3974
  return e == null ? !1 : pt(e).some(
3979
3975
  (t) => {
3980
3976
  var r;
3981
- return (r = nn(t)) == null ? void 0 : r.size;
3977
+ return (r = rn(t)) == null ? void 0 : r.size;
3982
3978
  }
3983
3979
  );
3984
3980
  }
3985
- function vo(e, t) {
3981
+ function po(e, t) {
3986
3982
  return Promise.all(
3987
- t.map((n) => (go(e, n), n().then((i) => i.default || i)))
3988
- ).then((n) => rn(e, ...n));
3983
+ t.map((n) => (fo(e, n), n().then((i) => i.default || i)))
3984
+ ).then((n) => tn(e, ...n));
3989
3985
  }
3990
- const ze = {};
3991
- function on(e) {
3986
+ const Ve = {};
3987
+ function nn(e) {
3992
3988
  if (!Dt(e))
3993
- return e in ze ? ze[e] : Promise.resolve();
3994
- const t = bo(e);
3995
- return ze[e] = Promise.all(
3989
+ return e in Ve ? Ve[e] : Promise.resolve();
3990
+ const t = mo(e);
3991
+ return Ve[e] = Promise.all(
3996
3992
  t.map(
3997
- ([r, n]) => vo(r, n)
3993
+ ([r, n]) => po(r, n)
3998
3994
  )
3999
3995
  ).then(() => {
4000
3996
  if (Dt(e))
4001
- return on(e);
4002
- delete ze[e];
4003
- }), ze[e];
3997
+ return nn(e);
3998
+ delete Ve[e];
3999
+ }), Ve[e];
4004
4000
  }
4005
- const yo = {
4001
+ const go = {
4006
4002
  number: {
4007
4003
  scientific: { notation: "scientific" },
4008
4004
  engineering: { notation: "engineering" },
@@ -4031,57 +4027,57 @@ const yo = {
4031
4027
  timeZoneName: "short"
4032
4028
  }
4033
4029
  }
4034
- }, _o = {
4030
+ }, bo = {
4035
4031
  fallbackLocale: null,
4036
4032
  loadingDelay: 200,
4037
- formats: yo,
4033
+ formats: go,
4038
4034
  warnOnMissingMessages: !0,
4039
4035
  handleMissingMessage: void 0,
4040
4036
  ignoreTag: !0
4041
- }, Eo = _o;
4042
- function Oe() {
4043
- return Eo;
4037
+ }, vo = bo;
4038
+ function Me() {
4039
+ return vo;
4044
4040
  }
4045
4041
  const Pt = dt(!1);
4046
- var wo = Object.defineProperty, xo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, pr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ho = (e, t) => {
4042
+ var yo = Object.defineProperty, _o = Object.defineProperties, Eo = Object.getOwnPropertyDescriptors, pr = Object.getOwnPropertySymbols, wo = Object.prototype.hasOwnProperty, xo = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, So = (e, t) => {
4047
4043
  for (var r in t || (t = {}))
4048
- Po.call(t, r) && gr(e, r, t[r]);
4044
+ wo.call(t, r) && gr(e, r, t[r]);
4049
4045
  if (pr)
4050
4046
  for (var r of pr(t))
4051
- To.call(t, r) && gr(e, r, t[r]);
4047
+ xo.call(t, r) && gr(e, r, t[r]);
4052
4048
  return e;
4053
- }, Bo = (e, t) => xo(e, So(t));
4049
+ }, Po = (e, t) => _o(e, Eo(t));
4054
4050
  let kt;
4055
4051
  const ct = dt(null);
4056
4052
  function br(e) {
4057
4053
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4058
4054
  }
4059
- function pt(e, t = Oe().fallbackLocale) {
4055
+ function pt(e, t = Me().fallbackLocale) {
4060
4056
  const r = br(e);
4061
4057
  return t ? [.../* @__PURE__ */ new Set([...r, ...br(t)])] : r;
4062
4058
  }
4063
- function be() {
4059
+ function ye() {
4064
4060
  return kt != null ? kt : void 0;
4065
4061
  }
4066
4062
  ct.subscribe((e) => {
4067
4063
  kt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4068
4064
  });
4069
- const Ao = (e) => {
4070
- if (e && po(e) && Dt(e)) {
4071
- const { loadingDelay: t } = Oe();
4065
+ const To = (e) => {
4066
+ if (e && ho(e) && Dt(e)) {
4067
+ const { loadingDelay: t } = Me();
4072
4068
  let r;
4073
- return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
4069
+ return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
4074
4070
  () => Pt.set(!0),
4075
4071
  t
4076
- ) : Pt.set(!0), on(e).then(() => {
4072
+ ) : Pt.set(!0), nn(e).then(() => {
4077
4073
  ct.set(e);
4078
4074
  }).finally(() => {
4079
4075
  clearTimeout(r), Pt.set(!1);
4080
4076
  });
4081
4077
  }
4082
4078
  return ct.set(e);
4083
- }, fe = Bo(Ho({}, ct), {
4084
- set: Ao
4079
+ }, he = Po(So({}, ct), {
4080
+ set: To
4085
4081
  }), gt = (e) => {
4086
4082
  const t = /* @__PURE__ */ Object.create(null);
4087
4083
  return (n) => {
@@ -4089,92 +4085,92 @@ const Ao = (e) => {
4089
4085
  return i in t ? t[i] : t[i] = e(n);
4090
4086
  };
4091
4087
  };
4092
- var Io = Object.defineProperty, ht = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, vr = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
4088
+ var Ho = Object.defineProperty, ht = Object.getOwnPropertySymbols, on = Object.prototype.hasOwnProperty, sn = Object.prototype.propertyIsEnumerable, vr = (e, t, r) => t in e ? Ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
4093
4089
  for (var r in t || (t = {}))
4094
- sn.call(t, r) && vr(e, r, t[r]);
4090
+ on.call(t, r) && vr(e, r, t[r]);
4095
4091
  if (ht)
4096
4092
  for (var r of ht(t))
4097
- an.call(t, r) && vr(e, r, t[r]);
4093
+ sn.call(t, r) && vr(e, r, t[r]);
4098
4094
  return e;
4099
- }, Re = (e, t) => {
4095
+ }, Fe = (e, t) => {
4100
4096
  var r = {};
4101
4097
  for (var n in e)
4102
- sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4098
+ on.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4103
4099
  if (e != null && ht)
4104
4100
  for (var n of ht(e))
4105
- t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4101
+ t.indexOf(n) < 0 && sn.call(e, n) && (r[n] = e[n]);
4106
4102
  return r;
4107
4103
  };
4108
- const qe = (e, t) => {
4109
- const { formats: r } = Oe();
4104
+ const Ze = (e, t) => {
4105
+ const { formats: r } = Me();
4110
4106
  if (e in r && t in r[e])
4111
4107
  return r[e][t];
4112
4108
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4113
- }, Co = gt(
4109
+ }, Bo = gt(
4114
4110
  (e) => {
4115
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4111
+ var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
4116
4112
  if (r == null)
4117
4113
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4118
- return n && (i = qe("number", n)), new Intl.NumberFormat(r, i);
4114
+ return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
4119
4115
  }
4120
- ), Oo = gt(
4116
+ ), Ao = gt(
4121
4117
  (e) => {
4122
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4118
+ var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
4123
4119
  if (r == null)
4124
4120
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4125
- return n ? i = qe("date", n) : Object.keys(i).length === 0 && (i = qe("date", "short")), new Intl.DateTimeFormat(r, i);
4121
+ return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
4126
4122
  }
4127
- ), Lo = gt(
4123
+ ), Io = gt(
4128
4124
  (e) => {
4129
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4125
+ var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
4130
4126
  if (r == null)
4131
4127
  throw new Error(
4132
4128
  '[svelte-i18n] A "locale" must be set to format time values'
4133
4129
  );
4134
- return n ? i = qe("time", n) : Object.keys(i).length === 0 && (i = qe("time", "short")), new Intl.DateTimeFormat(r, i);
4130
+ return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
4135
4131
  }
4136
- ), Mo = (e = {}) => {
4132
+ ), Co = (e = {}) => {
4137
4133
  var t = e, {
4138
- locale: r = be()
4139
- } = t, n = Re(t, [
4134
+ locale: r = ye()
4135
+ } = t, n = Fe(t, [
4140
4136
  "locale"
4141
4137
  ]);
4142
- return Co(jt({ locale: r }, n));
4143
- }, No = (e = {}) => {
4138
+ return Bo(jt({ locale: r }, n));
4139
+ }, Oo = (e = {}) => {
4144
4140
  var t = e, {
4145
- locale: r = be()
4146
- } = t, n = Re(t, [
4141
+ locale: r = ye()
4142
+ } = t, n = Fe(t, [
4147
4143
  "locale"
4148
4144
  ]);
4149
- return Oo(jt({ locale: r }, n));
4150
- }, Ro = (e = {}) => {
4145
+ return Ao(jt({ locale: r }, n));
4146
+ }, Lo = (e = {}) => {
4151
4147
  var t = e, {
4152
- locale: r = be()
4153
- } = t, n = Re(t, [
4148
+ locale: r = ye()
4149
+ } = t, n = Fe(t, [
4154
4150
  "locale"
4155
4151
  ]);
4156
- return Lo(jt({ locale: r }, n));
4157
- }, Uo = gt(
4152
+ return Io(jt({ locale: r }, n));
4153
+ }, Mo = gt(
4158
4154
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4159
- (e, t = be()) => new uo(e, t, Oe().formats, {
4160
- ignoreTag: Oe().ignoreTag
4155
+ (e, t = ye()) => new so(e, t, Me().formats, {
4156
+ ignoreTag: Me().ignoreTag
4161
4157
  })
4162
- ), Fo = (e, t = {}) => {
4158
+ ), No = (e, t = {}) => {
4163
4159
  var r, n, i, o;
4164
4160
  let s = t;
4165
4161
  typeof e == "object" && (s = e, e = s.id);
4166
4162
  const {
4167
4163
  values: a,
4168
- locale: u = be(),
4164
+ locale: u = ye(),
4169
4165
  default: l
4170
4166
  } = s;
4171
4167
  if (u == null)
4172
4168
  throw new Error(
4173
4169
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4174
4170
  );
4175
- let c = en(e, u);
4171
+ let c = Kr(e, u);
4176
4172
  if (!c)
4177
- c = (o = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4173
+ c = (o = (i = (n = (r = Me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4178
4174
  else if (typeof c != "string")
4179
4175
  return console.warn(
4180
4176
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4183,7 +4179,7 @@ const qe = (e, t) => {
4183
4179
  return c;
4184
4180
  let f = c;
4185
4181
  try {
4186
- f = Uo(c, u).format(a);
4182
+ f = Mo(c, u).format(a);
4187
4183
  } catch (d) {
4188
4184
  d instanceof Error && console.warn(
4189
4185
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4191,13 +4187,36 @@ const qe = (e, t) => {
4191
4187
  );
4192
4188
  }
4193
4189
  return f;
4194
- }, Do = (e, t) => Ro(t).format(e), ko = (e, t) => No(t).format(e), $o = (e, t) => Mo(t).format(e), Go = (e, t = be()) => en(e, t), jo = Me([fe, Ne], () => Fo);
4195
- Me([fe], () => Do);
4196
- Me([fe], () => ko);
4197
- Me([fe], () => $o);
4198
- Me([fe, Ne], () => Go);
4199
- window.emWidgets = { topic: ti };
4200
- const Vo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4190
+ }, Ro = (e, t) => Lo(t).format(e), Uo = (e, t) => Oo(t).format(e), Fo = (e, t) => Co(t).format(e), Do = (e, t = ye()) => Kr(e, t), ko = Re([he, Ue], () => No);
4191
+ Re([he], () => Ro);
4192
+ Re([he], () => Uo);
4193
+ Re([he], () => Fo);
4194
+ Re([he, Ue], () => Do);
4195
+ window.emWidgets = { topic: Yn };
4196
+ const Go = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4197
+ function $o(e, t) {
4198
+ if (e) {
4199
+ const r = document.createElement("style");
4200
+ r.innerHTML = t, e.appendChild(r);
4201
+ }
4202
+ }
4203
+ function jo(e, t) {
4204
+ const r = new URL(t);
4205
+ fetch(r.href).then((n) => n.text()).then((n) => {
4206
+ const i = document.createElement("style");
4207
+ i.innerHTML = n, e && e.appendChild(i);
4208
+ }).catch((n) => {
4209
+ console.error("There was an error while trying to load client styling from URL", n);
4210
+ });
4211
+ }
4212
+ function Vo(e, t, r) {
4213
+ if (window.emMessageBus) {
4214
+ const n = document.createElement("style");
4215
+ window.emMessageBus.subscribe(t, (i) => {
4216
+ n.innerHTML = i, e && e.appendChild(n);
4217
+ });
4218
+ }
4219
+ }
4201
4220
  if (typeof window != "undefined") {
4202
4221
  let e = function(t) {
4203
4222
  return function(...r) {
@@ -4210,20 +4229,20 @@ if (typeof window != "undefined") {
4210
4229
  }
4211
4230
  };
4212
4231
  };
4213
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CmqTxkUU.js").then(({ default: t }) => {
4232
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-JKaIZ8Iu.js").then(({ default: t }) => {
4214
4233
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4215
4234
  });
4216
4235
  }
4217
4236
  function zo({ withLocale: e, translations: t }) {
4218
- fe.subscribe((r) => {
4219
- r == null && (Ne.set(t), fe.set(e));
4237
+ he.subscribe((r) => {
4238
+ r == null && (Ue.set(t), he.set(e));
4220
4239
  });
4221
4240
  }
4222
4241
  function yr(e, t) {
4223
- rn(e, t);
4242
+ tn(e, t);
4224
4243
  }
4225
4244
  function Xo(e) {
4226
- fe.set(e);
4245
+ he.set(e);
4227
4246
  }
4228
4247
  const _r = {
4229
4248
  en: {
@@ -4369,19 +4388,19 @@ const _r = {
4369
4388
  loginForgotPassword: "I forgot my password",
4370
4389
  successMessage: "Login successful"
4371
4390
  }
4372
- }, { document: Er } = yn;
4391
+ };
4373
4392
  function Wo(e) {
4374
- _n(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer 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}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.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))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{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}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4393
+ bn(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer 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}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.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))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{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}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4375
4394
  }
4376
- function wr(e) {
4395
+ function Er(e) {
4377
4396
  let t, r;
4378
4397
  return {
4379
4398
  c() {
4380
- t = S("script"), Qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4399
+ t = x("script"), Qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4381
4400
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4382
4401
  },
4383
4402
  m(n, i) {
4384
- L(n, t, i);
4403
+ M(n, t, i);
4385
4404
  },
4386
4405
  p(n, i) {
4387
4406
  i[0] & /*captchakey*/
@@ -4398,22 +4417,22 @@ function Zo(e) {
4398
4417
  function i(a, u) {
4399
4418
  return (
4400
4419
  /*startSmsValidation*/
4401
- a[20] ? Qo : Jo
4420
+ a[21] ? Qo : Jo
4402
4421
  );
4403
4422
  }
4404
4423
  let o = i(e), s = o(e);
4405
4424
  return {
4406
4425
  c() {
4407
- t = S("div"), r = S("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4408
- (e[10] ? "FormMobileContainer" : ""));
4426
+ t = x("div"), r = x("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
4427
+ (e[11] ? "FormMobileContainer" : ""));
4409
4428
  },
4410
4429
  m(a, u) {
4411
- L(a, t, u), p(t, r), s.m(r, null);
4430
+ M(a, t, u), m(t, r), s.m(r, null);
4412
4431
  },
4413
4432
  p(a, u) {
4414
4433
  o === (o = i(a)) && s ? s.p(a, u) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), u[0] & /*mobileView*/
4415
- 1024 && n !== (n = "FormContainer " + /*mobileView*/
4416
- (a[10] ? "FormMobileContainer" : "")) && h(t, "class", n);
4434
+ 2048 && n !== (n = "FormContainer " + /*mobileView*/
4435
+ (a[11] ? "FormMobileContainer" : "")) && h(t, "class", n);
4417
4436
  },
4418
4437
  d(a) {
4419
4438
  a && I(t), s.d();
@@ -4424,10 +4443,10 @@ function qo(e) {
4424
4443
  let t;
4425
4444
  return {
4426
4445
  c() {
4427
- t = S("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4446
+ t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
4428
4447
  },
4429
4448
  m(r, n) {
4430
- L(r, t, n);
4449
+ M(r, t, n);
4431
4450
  },
4432
4451
  p: Z,
4433
4452
  d(r) {
@@ -4438,157 +4457,157 @@ function qo(e) {
4438
4457
  function Jo(e) {
4439
4458
  let t, r, n = (
4440
4459
  /*$_*/
4441
- e[21]("loginTitle") + ""
4460
+ e[22]("loginTitle") + ""
4442
4461
  ), i, o, s, a = (
4443
4462
  /*$_*/
4444
- e[21]("loginSubtitle") + ""
4463
+ e[22]("loginSubtitle") + ""
4445
4464
  ), u, l, c, f = (
4446
4465
  /*$_*/
4447
- e[21]("loginSubtitleRegister") + ""
4448
- ), d, b, y, g, x, M, q = (
4466
+ e[22]("loginSubtitleRegister") + ""
4467
+ ), d, b, y, g, S, C, z = (
4449
4468
  /*$_*/
4450
- e[21]("loginUsername") + ""
4451
- ), H, R, G, J, B, oe, ne, ie, de, A, W, ve = (
4469
+ e[22]("loginUsername") + ""
4470
+ ), R, U, A, ne, H, oe, fe, J, ue, B, ie, X = (
4452
4471
  /*$_*/
4453
- e[21]("loginPassword") + ""
4454
- ), Ue, Fe, se, Je, C, ye, De, _e, Ee, me, ke, pe, ee, ge = (
4472
+ e[22]("loginPassword") + ""
4473
+ ), De, qe, de, me, O, _e, Je, Ee, we, pe, ke, xe, Q, ge = (
4455
4474
  /*$_*/
4456
- e[21]("loginButton") + ""
4457
- ), $e, Qe, ce, we = (
4475
+ e[22]("loginButton") + ""
4476
+ ), Se, Qe, be, ve = (
4458
4477
  /*$_*/
4459
- e[21]("loginForgotPassword") + ""
4460
- ), Ge, je, Ye, U = (
4478
+ e[22]("loginForgotPassword") + ""
4479
+ ), Ge, $e, Ye, F = (
4461
4480
  /*invalidName*/
4462
- e[13] && xr(e)
4481
+ e[14] && wr(e)
4463
4482
  );
4464
4483
  function Ke(v, P) {
4465
4484
  return (
4466
4485
  /*isPasswordVisible*/
4467
- v[18] ? Ko : Yo
4486
+ v[19] ? Ko : Yo
4468
4487
  );
4469
4488
  }
4470
- let xe = Ke(e), Q = xe(e), F = (
4489
+ let Pe = Ke(e), Y = Pe(e), D = (
4471
4490
  /*invalidPassword*/
4472
- e[14] && /*simplepasswordvalidation*/
4473
- e[2] !== "true" && Sr(e)
4474
- ), D = (
4475
- /*invalidPassword*/
4476
- e[14] && /*simplepasswordvalidation*/
4477
- e[2] === "true" && Pr(e)
4491
+ e[15] && /*simplepasswordvalidation*/
4492
+ e[2] !== "true" && xr(e)
4478
4493
  ), k = (
4494
+ /*invalidPassword*/
4495
+ e[15] && /*simplepasswordvalidation*/
4496
+ e[2] === "true" && Sr(e)
4497
+ ), G = (
4479
4498
  /*errorMessage*/
4480
- e[15] && Tr(e)
4499
+ e[16] && Pr(e)
4481
4500
  );
4482
4501
  return {
4483
4502
  c() {
4484
- t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), u = N(a), l = z(), c = S("span"), d = N(f), b = z(), y = S("div"), g = S("form"), x = S("div"), M = S("label"), H = N(q), R = N(":"), G = S("span"), G.textContent = "*", J = z(), B = S("input"), ne = z(), U && U.c(), de = z(), A = S("div"), W = S("label"), Ue = N(ve), Fe = N(":"), se = S("span"), se.textContent = "*", Je = z(), C = S("input"), De = z(), Q.c(), _e = z(), F && F.c(), Ee = z(), D && D.c(), ke = z(), k && k.c(), pe = z(), ee = S("button"), $e = N(ge), Qe = z(), ce = S("button"), Ge = N(we), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(G, "class", "FormRequired"), h(M, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), h(B, "autocapitalize", "none"), h(B, "autocomplete", oe = /*savecredentials*/
4485
- e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ie = "UserContainer " + /*invalidName*/
4486
- (e[13] ? "InvalidField" : "")), h(se, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", ye = /*savecredentials*/
4487
- e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", me = "PasswordContainer " + /*invalidPassword*/
4488
- (e[14] ? "InvalidField" : "")), h(ee, "class", "SignInButton"), ee.disabled = /*isFormDataInvalid*/
4489
- e[19], h(ee, "id", "signin-button"), h(ce, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4503
+ t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), u = N(a), l = j(), c = x("span"), d = N(f), b = j(), y = x("div"), g = x("form"), S = x("div"), C = x("label"), R = N(z), U = N(":"), A = x("span"), A.textContent = "*", ne = j(), H = x("input"), fe = j(), F && F.c(), ue = j(), B = x("div"), ie = x("label"), De = N(X), qe = N(":"), de = x("span"), de.textContent = "*", me = j(), O = x("input"), Je = j(), Y.c(), Ee = j(), D && D.c(), we = j(), k && k.c(), ke = j(), G && G.c(), xe = j(), Q = x("button"), Se = N(ge), Qe = j(), be = x("button"), Ge = N(ve), h(r, "class", "FormHeaderTitle"), h(c, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(C, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocapitalize", "none"), h(H, "autocomplete", oe = /*savecredentials*/
4504
+ e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
4505
+ (e[14] ? "InvalidField" : "")), h(de, "class", "FormRequired"), h(ie, "for", "current-password"), h(O, "type", "password"), h(O, "name", "current-password"), h(O, "id", "current-password"), h(O, "autocapitalize", "none"), h(O, "autocomplete", _e = /*savecredentials*/
4506
+ e[6] ? "current-password" : "off"), h(O, "aria-describedby", "password-constraints"), O.required = !0, h(B, "class", pe = "PasswordContainer " + /*invalidPassword*/
4507
+ (e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
4508
+ e[20], h(Q, "id", "signin-button"), h(be, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4490
4509
  },
4491
4510
  m(v, P) {
4492
- L(v, t, P), p(t, r), p(r, i), p(t, o), p(t, s), p(s, u), p(s, l), p(s, c), p(c, d), L(v, b, P), L(v, y, P), p(y, g), p(g, x), p(x, M), p(M, H), p(M, R), p(M, G), p(x, J), p(x, B), rt(
4493
- B,
4511
+ M(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, u), m(s, l), m(s, c), m(c, d), M(v, b, P), M(v, y, P), m(y, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, ne), m(S, H), rt(
4512
+ H,
4494
4513
  /*userValue*/
4495
- e[11]
4496
- ), p(x, ne), U && U.m(x, null), p(g, de), p(g, A), p(A, W), p(W, Ue), p(W, Fe), p(W, se), p(A, Je), p(A, C), rt(
4497
- C,
4498
- /*userPassword*/
4499
4514
  e[12]
4500
- ), e[35](C), p(A, De), Q.m(A, null), p(A, _e), F && F.m(A, null), p(A, Ee), D && D.m(A, null), p(g, ke), k && k.m(g, null), p(g, pe), p(g, ee), p(ee, $e), p(g, Qe), p(g, ce), p(ce, Ge), je || (Ye = [
4501
- ae(
4515
+ ), m(S, fe), F && F.m(S, null), m(g, ue), m(g, B), m(B, ie), m(ie, De), m(ie, qe), m(ie, de), m(B, me), m(B, O), rt(
4516
+ O,
4517
+ /*userPassword*/
4518
+ e[13]
4519
+ ), e[36](O), m(B, Je), Y.m(B, null), m(B, Ee), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g, ke), G && G.m(g, null), m(g, xe), m(g, Q), m(Q, Se), m(g, Qe), m(g, be), m(be, Ge), $e || (Ye = [
4520
+ se(
4502
4521
  c,
4503
4522
  "click",
4504
4523
  /*click_handler*/
4505
- e[32]
4524
+ e[33]
4506
4525
  ),
4507
- ae(
4508
- B,
4526
+ se(
4527
+ H,
4509
4528
  "input",
4510
4529
  /*input0_input_handler*/
4511
- e[33]
4530
+ e[34]
4512
4531
  ),
4513
- ae(
4514
- B,
4532
+ se(
4533
+ H,
4515
4534
  "input",
4516
4535
  /*validateUserName*/
4517
- e[27]
4536
+ e[28]
4518
4537
  ),
4519
- ae(
4520
- C,
4538
+ se(
4539
+ O,
4521
4540
  "input",
4522
4541
  /*input1_input_handler*/
4523
- e[34]
4542
+ e[35]
4524
4543
  ),
4525
- ae(
4526
- C,
4544
+ se(
4545
+ O,
4527
4546
  "input",
4528
4547
  /*validatePassword*/
4529
- e[28]
4548
+ e[29]
4530
4549
  ),
4531
- ae(
4532
- ee,
4550
+ se(
4551
+ Q,
4533
4552
  "click",
4534
4553
  /*click_handler_3*/
4535
- e[38]
4554
+ e[39]
4536
4555
  ),
4537
- ae(
4538
- ce,
4556
+ se(
4557
+ be,
4539
4558
  "click",
4540
4559
  /*click_handler_4*/
4541
- e[39]
4560
+ e[40]
4542
4561
  )
4543
- ], je = !0);
4562
+ ], $e = !0);
4544
4563
  },
4545
4564
  p(v, P) {
4546
4565
  P[0] & /*$_*/
4547
- 2097152 && n !== (n = /*$_*/
4548
- v[21]("loginTitle") + "") && re(i, n), P[0] & /*$_*/
4549
- 2097152 && a !== (a = /*$_*/
4550
- v[21]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
4551
- 2097152 && f !== (f = /*$_*/
4552
- v[21]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
4553
- 2097152 && q !== (q = /*$_*/
4554
- v[21]("loginUsername") + "") && re(H, q), P[0] & /*savecredentials*/
4555
- 32 && oe !== (oe = /*savecredentials*/
4556
- v[5] ? "username email" : "off") && h(B, "autocomplete", oe), P[0] & /*userValue*/
4557
- 2048 && B.value !== /*userValue*/
4558
- v[11] && rt(
4559
- B,
4566
+ 4194304 && n !== (n = /*$_*/
4567
+ v[22]("loginTitle") + "") && re(i, n), P[0] & /*$_*/
4568
+ 4194304 && a !== (a = /*$_*/
4569
+ v[22]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
4570
+ 4194304 && f !== (f = /*$_*/
4571
+ v[22]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
4572
+ 4194304 && z !== (z = /*$_*/
4573
+ v[22]("loginUsername") + "") && re(R, z), P[0] & /*savecredentials*/
4574
+ 64 && oe !== (oe = /*savecredentials*/
4575
+ v[6] ? "username email" : "off") && h(H, "autocomplete", oe), P[0] & /*userValue*/
4576
+ 4096 && H.value !== /*userValue*/
4577
+ v[12] && rt(
4578
+ H,
4560
4579
  /*userValue*/
4561
- v[11]
4580
+ v[12]
4562
4581
  ), /*invalidName*/
4563
- v[13] ? U ? U.p(v, P) : (U = xr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4564
- 8192 && ie !== (ie = "UserContainer " + /*invalidName*/
4565
- (v[13] ? "InvalidField" : "")) && h(x, "class", ie), P[0] & /*$_*/
4566
- 2097152 && ve !== (ve = /*$_*/
4567
- v[21]("loginPassword") + "") && re(Ue, ve), P[0] & /*savecredentials*/
4568
- 32 && ye !== (ye = /*savecredentials*/
4569
- v[5] ? "current-password" : "off") && h(C, "autocomplete", ye), P[0] & /*userPassword*/
4570
- 4096 && C.value !== /*userPassword*/
4571
- v[12] && rt(
4572
- C,
4582
+ v[14] ? F ? F.p(v, P) : (F = wr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
4583
+ 16384 && J !== (J = "UserContainer " + /*invalidName*/
4584
+ (v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
4585
+ 4194304 && X !== (X = /*$_*/
4586
+ v[22]("loginPassword") + "") && re(De, X), P[0] & /*savecredentials*/
4587
+ 64 && _e !== (_e = /*savecredentials*/
4588
+ v[6] ? "current-password" : "off") && h(O, "autocomplete", _e), P[0] & /*userPassword*/
4589
+ 8192 && O.value !== /*userPassword*/
4590
+ v[13] && rt(
4591
+ O,
4573
4592
  /*userPassword*/
4574
- v[12]
4575
- ), xe === (xe = Ke(v)) && Q ? Q.p(v, P) : (Q.d(1), Q = xe(v), Q && (Q.c(), Q.m(A, _e))), /*invalidPassword*/
4576
- v[14] && /*simplepasswordvalidation*/
4577
- v[2] !== "true" ? F ? F.p(v, P) : (F = Sr(v), F.c(), F.m(A, Ee)) : F && (F.d(1), F = null), /*invalidPassword*/
4578
- v[14] && /*simplepasswordvalidation*/
4579
- v[2] === "true" ? D ? D.p(v, P) : (D = Pr(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4580
- 16384 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4581
- (v[14] ? "InvalidField" : "")) && h(A, "class", me), /*errorMessage*/
4582
- v[15] ? k ? k.p(v, P) : (k = Tr(v), k.c(), k.m(g, pe)) : k && (k.d(1), k = null), P[0] & /*$_*/
4583
- 2097152 && ge !== (ge = /*$_*/
4584
- v[21]("loginButton") + "") && re($e, ge), P[0] & /*isFormDataInvalid*/
4585
- 524288 && (ee.disabled = /*isFormDataInvalid*/
4586
- v[19]), P[0] & /*$_*/
4587
- 2097152 && we !== (we = /*$_*/
4588
- v[21]("loginForgotPassword") + "") && re(Ge, we);
4593
+ v[13]
4594
+ ), Pe === (Pe = Ke(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Pe(v), Y && (Y.c(), Y.m(B, Ee))), /*invalidPassword*/
4595
+ v[15] && /*simplepasswordvalidation*/
4596
+ v[2] !== "true" ? D ? D.p(v, P) : (D = xr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
4597
+ v[15] && /*simplepasswordvalidation*/
4598
+ v[2] === "true" ? k ? k.p(v, P) : (k = Sr(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
4599
+ 32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
4600
+ (v[15] ? "InvalidField" : "")) && h(B, "class", pe), /*errorMessage*/
4601
+ v[16] ? G ? G.p(v, P) : (G = Pr(v), G.c(), G.m(g, xe)) : G && (G.d(1), G = null), P[0] & /*$_*/
4602
+ 4194304 && ge !== (ge = /*$_*/
4603
+ v[22]("loginButton") + "") && re(Se, ge), P[0] & /*isFormDataInvalid*/
4604
+ 1048576 && (Q.disabled = /*isFormDataInvalid*/
4605
+ v[20]), P[0] & /*$_*/
4606
+ 4194304 && ve !== (ve = /*$_*/
4607
+ v[22]("loginForgotPassword") + "") && re(Ge, ve);
4589
4608
  },
4590
4609
  d(v) {
4591
- v && (I(t), I(b), I(y)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), je = !1, Le(Ye);
4610
+ v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), $e = !1, Ne(Ye);
4592
4611
  }
4593
4612
  };
4594
4613
  }
@@ -4596,78 +4615,89 @@ function Qo(e) {
4596
4615
  let t;
4597
4616
  return {
4598
4617
  c() {
4599
- t = S("general-player-sms-verification-form"), K(
4618
+ t = x("general-player-sms-verification-form"), W(
4600
4619
  t,
4601
4620
  "endpoint",
4602
4621
  /*endpoint*/
4603
4622
  e[0]
4604
- ), K(
4623
+ ), W(
4605
4624
  t,
4606
4625
  "number",
4607
4626
  /*number*/
4608
- e[9]
4609
- ), K(
4627
+ e[10]
4628
+ ), W(
4610
4629
  t,
4611
4630
  "clientstyling",
4612
4631
  /*clientstyling*/
4613
- e[3]
4614
- ), K(
4632
+ e[4]
4633
+ ), W(
4615
4634
  t,
4616
4635
  "clientstylingurl",
4617
4636
  /*clientstylingurl*/
4618
- e[4]
4619
- ), K(
4637
+ e[5]
4638
+ ), W(
4620
4639
  t,
4621
4640
  "playerid",
4622
4641
  /*playerId*/
4623
- e[7]
4624
- ), K(
4642
+ e[8]
4643
+ ), W(
4625
4644
  t,
4626
4645
  "tokenid",
4627
4646
  /*smsTokenId*/
4628
- e[8]
4647
+ e[9]
4648
+ ), W(
4649
+ t,
4650
+ "mbsource",
4651
+ /*mbsource*/
4652
+ e[3]
4629
4653
  );
4630
4654
  },
4631
4655
  m(r, n) {
4632
- L(r, t, n);
4656
+ M(r, t, n);
4633
4657
  },
4634
4658
  p(r, n) {
4635
4659
  n[0] & /*endpoint*/
4636
- 1 && K(
4660
+ 1 && W(
4637
4661
  t,
4638
4662
  "endpoint",
4639
4663
  /*endpoint*/
4640
4664
  r[0]
4641
4665
  ), n[0] & /*number*/
4642
- 512 && K(
4666
+ 1024 && W(
4643
4667
  t,
4644
4668
  "number",
4645
4669
  /*number*/
4646
- r[9]
4670
+ r[10]
4647
4671
  ), n[0] & /*clientstyling*/
4648
- 8 && K(
4672
+ 16 && W(
4649
4673
  t,
4650
4674
  "clientstyling",
4651
4675
  /*clientstyling*/
4652
- r[3]
4676
+ r[4]
4653
4677
  ), n[0] & /*clientstylingurl*/
4654
- 16 && K(
4678
+ 32 && W(
4655
4679
  t,
4656
4680
  "clientstylingurl",
4657
4681
  /*clientstylingurl*/
4658
- r[4]
4682
+ r[5]
4659
4683
  ), n[0] & /*playerId*/
4660
- 128 && K(
4684
+ 256 && W(
4661
4685
  t,
4662
4686
  "playerid",
4663
4687
  /*playerId*/
4664
- r[7]
4688
+ r[8]
4665
4689
  ), n[0] & /*smsTokenId*/
4666
- 256 && K(
4690
+ 512 && W(
4667
4691
  t,
4668
4692
  "tokenid",
4669
4693
  /*smsTokenId*/
4670
- r[8]
4694
+ r[9]
4695
+ ), n[0] & /*mbsource*/
4696
+ 8 && W(
4697
+ t,
4698
+ "mbsource",
4699
+ /*mbsource*/
4700
+ r[3]
4671
4701
  );
4672
4702
  },
4673
4703
  d(r) {
@@ -4675,22 +4705,22 @@ function Qo(e) {
4675
4705
  }
4676
4706
  };
4677
4707
  }
4678
- function xr(e) {
4708
+ function wr(e) {
4679
4709
  let t, r = (
4680
4710
  /*$_*/
4681
- e[21]("loginUsernameError") + ""
4711
+ e[22]("loginUsernameError") + ""
4682
4712
  ), n;
4683
4713
  return {
4684
4714
  c() {
4685
- t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4715
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4686
4716
  },
4687
4717
  m(i, o) {
4688
- L(i, t, o), p(t, n);
4718
+ M(i, t, o), m(t, n);
4689
4719
  },
4690
4720
  p(i, o) {
4691
4721
  o[0] & /*$_*/
4692
- 2097152 && r !== (r = /*$_*/
4693
- i[21]("loginUsernameError") + "") && re(n, r);
4722
+ 4194304 && r !== (r = /*$_*/
4723
+ i[22]("loginUsernameError") + "") && re(n, r);
4694
4724
  },
4695
4725
  d(i) {
4696
4726
  i && I(t);
@@ -4701,14 +4731,14 @@ function Yo(e) {
4701
4731
  let t, r, n, i, o, s, a, u, l;
4702
4732
  return {
4703
4733
  c() {
4704
- t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("path"), a = O("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
4734
+ t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("path"), a = L("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
4705
4735
  },
4706
4736
  m(c, f) {
4707
- L(c, t, f), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), u || (l = ae(
4737
+ M(c, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), u || (l = se(
4708
4738
  t,
4709
4739
  "click",
4710
4740
  /*click_handler_2*/
4711
- e[37]
4741
+ e[38]
4712
4742
  ), u = !0);
4713
4743
  },
4714
4744
  p: Z,
@@ -4721,84 +4751,84 @@ function Ko(e) {
4721
4751
  let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
4722
4752
  return {
4723
4753
  c() {
4724
- t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), u = O("path"), l = O("path"), c = O("g"), f = O("path"), d = O("path"), b = O("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(c, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
4754
+ t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("circle"), a = L("g"), u = L("path"), l = L("path"), c = L("g"), f = L("path"), d = L("path"), b = L("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(c, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
4725
4755
  },
4726
- m(x, M) {
4727
- L(x, t, M), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), p(a, u), p(a, l), p(o, c), p(c, f), p(c, d), p(o, b), y || (g = ae(
4756
+ m(S, C) {
4757
+ M(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, u), m(a, l), m(o, c), m(c, f), m(c, d), m(o, b), y || (g = se(
4728
4758
  t,
4729
4759
  "click",
4730
4760
  /*click_handler_1*/
4731
- e[36]
4761
+ e[37]
4732
4762
  ), y = !0);
4733
4763
  },
4734
4764
  p: Z,
4735
- d(x) {
4736
- x && I(t), y = !1, g();
4765
+ d(S) {
4766
+ S && I(t), y = !1, g();
4737
4767
  }
4738
4768
  };
4739
4769
  }
4740
- function Sr(e) {
4770
+ function xr(e) {
4741
4771
  let t, r = (
4742
4772
  /*$_*/
4743
- e[21]("loginPasswordError") + ""
4773
+ e[22]("loginPasswordError") + ""
4744
4774
  ), n;
4745
4775
  return {
4746
4776
  c() {
4747
- t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4777
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4748
4778
  },
4749
4779
  m(i, o) {
4750
- L(i, t, o), p(t, n);
4780
+ M(i, t, o), m(t, n);
4751
4781
  },
4752
4782
  p(i, o) {
4753
4783
  o[0] & /*$_*/
4754
- 2097152 && r !== (r = /*$_*/
4755
- i[21]("loginPasswordError") + "") && re(n, r);
4784
+ 4194304 && r !== (r = /*$_*/
4785
+ i[22]("loginPasswordError") + "") && re(n, r);
4756
4786
  },
4757
4787
  d(i) {
4758
4788
  i && I(t);
4759
4789
  }
4760
4790
  };
4761
4791
  }
4762
- function Pr(e) {
4792
+ function Sr(e) {
4763
4793
  let t, r = (
4764
4794
  /*$_*/
4765
- e[21]("loginSimplePasswordError") + ""
4795
+ e[22]("loginSimplePasswordError") + ""
4766
4796
  ), n;
4767
4797
  return {
4768
4798
  c() {
4769
- t = S("p"), n = N(r), h(t, "class", "InvalidInput");
4799
+ t = x("p"), n = N(r), h(t, "class", "InvalidInput");
4770
4800
  },
4771
4801
  m(i, o) {
4772
- L(i, t, o), p(t, n);
4802
+ M(i, t, o), m(t, n);
4773
4803
  },
4774
4804
  p(i, o) {
4775
4805
  o[0] & /*$_*/
4776
- 2097152 && r !== (r = /*$_*/
4777
- i[21]("loginSimplePasswordError") + "") && re(n, r);
4806
+ 4194304 && r !== (r = /*$_*/
4807
+ i[22]("loginSimplePasswordError") + "") && re(n, r);
4778
4808
  },
4779
4809
  d(i) {
4780
4810
  i && I(t);
4781
4811
  }
4782
4812
  };
4783
4813
  }
4784
- function Tr(e) {
4814
+ function Pr(e) {
4785
4815
  let t, r;
4786
4816
  return {
4787
4817
  c() {
4788
- t = S("p"), r = N(
4818
+ t = x("p"), r = N(
4789
4819
  /*errorMessage*/
4790
- e[15]
4820
+ e[16]
4791
4821
  ), h(t, "class", "ErrorMessage");
4792
4822
  },
4793
4823
  m(n, i) {
4794
- L(n, t, i), p(t, r);
4824
+ M(n, t, i), m(t, r);
4795
4825
  },
4796
4826
  p(n, i) {
4797
4827
  i[0] & /*errorMessage*/
4798
- 32768 && re(
4828
+ 65536 && re(
4799
4829
  r,
4800
4830
  /*errorMessage*/
4801
- n[15]
4831
+ n[16]
4802
4832
  );
4803
4833
  },
4804
4834
  d(n) {
@@ -4809,18 +4839,18 @@ function Tr(e) {
4809
4839
  function es(e) {
4810
4840
  let t, r, n, i, o, s = (
4811
4841
  /*captchakey*/
4812
- e[1] && wr(e)
4842
+ e[1] && Er(e)
4813
4843
  );
4814
4844
  function a(c, f) {
4815
4845
  return (
4816
4846
  /*isLoading*/
4817
- c[16] ? qo : Zo
4847
+ c[17] ? qo : Zo
4818
4848
  );
4819
4849
  }
4820
4850
  let u = a(e), l = u(e);
4821
4851
  return {
4822
4852
  c() {
4823
- s && s.c(), t = xn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4853
+ s && s.c(), t = _n(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4824
4854
  n,
4825
4855
  "data-sitekey",
4826
4856
  /*captchakey*/
@@ -4828,11 +4858,11 @@ function es(e) {
4828
4858
  ), h(o, "class", "PlayerLoginFormWrapper");
4829
4859
  },
4830
4860
  m(c, f) {
4831
- s && s.m(Er.head, null), p(Er.head, t), L(c, r, f), L(c, n, f), L(c, i, f), L(c, o, f), l.m(o, null), e[40](o);
4861
+ s && s.m(document.head, null), m(document.head, t), M(c, r, f), M(c, n, f), M(c, i, f), M(c, o, f), l.m(o, null), e[41](o);
4832
4862
  },
4833
4863
  p(c, f) {
4834
4864
  /*captchakey*/
4835
- c[1] ? s ? s.p(c, f) : (s = wr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4865
+ c[1] ? s ? s.p(c, f) : (s = Er(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4836
4866
  2 && h(
4837
4867
  n,
4838
4868
  "data-sitekey",
@@ -4843,89 +4873,89 @@ function es(e) {
4843
4873
  i: Z,
4844
4874
  o: Z,
4845
4875
  d(c) {
4846
- c && (I(r), I(n), I(i), I(o)), s && s.d(c), I(t), l.d(), e[40](null);
4876
+ c && (I(r), I(n), I(i), I(o)), s && s.d(c), I(t), l.d(), e[41](null);
4847
4877
  }
4848
4878
  };
4849
4879
  }
4850
4880
  let ts = "Please use this code {0} to activate your account";
4851
4881
  function rs(e, t, r) {
4852
4882
  let n;
4853
- vn(e, jo, (m) => r(21, n = m));
4854
- let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, y, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, oe = "", ne = !1, ie, de = !1, A = !0, W, ve = +localStorage.getItem("smsTimer") || 0, Ue = Date.now() / 1e3 - ve, Fe = localStorage.getItem("smsValidation") == "true" && Ue < 60, se = {
4883
+ gn(e, ko, (p) => r(22, n = p));
4884
+ let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", ne = { username: "", password: "" }, H = !1, oe = !1, fe = "", J = !1, ue, B = !1, ie = !0, X, De = +localStorage.getItem("smsTimer") || 0, qe = Date.now() / 1e3 - De, de = localStorage.getItem("smsValidation") == "true" && qe < 60, me = {
4855
4885
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4856
4886
  email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
4857
4887
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4858
4888
  };
4859
4889
  zo({ withLocale: "en", translations: {} });
4860
- const Je = () => {
4861
- fetch(f).then(($) => $.json()).then(($) => {
4862
- Object.keys($).forEach((j) => {
4863
- yr(j, $[j]);
4890
+ const O = () => {
4891
+ fetch(d).then((q) => q.json()).then((q) => {
4892
+ Object.keys(q).forEach((te) => {
4893
+ yr(te, q[te]);
4864
4894
  });
4865
- }).catch(($) => {
4866
- console.log($);
4895
+ }).catch((q) => {
4896
+ console.log(q);
4867
4897
  });
4868
4898
  };
4869
- Object.keys(_r).forEach((m) => {
4870
- yr(m, _r[m]);
4899
+ Object.keys(_r).forEach((p) => {
4900
+ yr(p, _r[p]);
4871
4901
  });
4872
- const C = () => new Promise((m, $) => {
4902
+ const _e = () => new Promise((p, q) => {
4873
4903
  grecaptcha.ready(() => {
4874
- grecaptcha.execute(o, { action: "submit" }).then((j) => {
4875
- m(j);
4904
+ grecaptcha.execute(o, { action: "submit" }).then((te) => {
4905
+ p(te);
4876
4906
  });
4877
4907
  });
4878
- }), ye = () => {
4879
- u == "true" && (se.password = /^(?!.* ).{8,20}$/);
4880
- }, De = () => {
4881
- r(18, de = !0), Ee();
4882
- }, _e = () => {
4883
- r(18, de = !1), Ee();
4908
+ }), Je = () => {
4909
+ u == "true" && (me.password = /^(?!.* ).{8,20}$/);
4884
4910
  }, Ee = () => {
4885
- r(17, ie.type = de ? "text" : "password", ie);
4886
- }, me = () => {
4911
+ r(19, B = !0), pe();
4912
+ }, we = () => {
4913
+ r(19, B = !1), pe();
4914
+ }, pe = () => {
4915
+ r(18, ue.type = B ? "text" : "password", ue);
4916
+ }, ke = () => {
4887
4917
  window.postMessage({ type: "ToRegister" }, window.location.href);
4888
- }, ke = (m) => {
4889
- m.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
4890
- }, pe = (m) => {
4891
- m == null || m.preventDefault(), C().then(($) => {
4892
- ee(H) && ge(R) && (G = {
4893
- username: H,
4894
- password: R,
4895
- token: $
4896
- }, r(16, ne = !0), Ge(G));
4918
+ }, xe = (p) => {
4919
+ p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
4920
+ }, Q = (p) => {
4921
+ p == null || p.preventDefault(), _e().then((q) => {
4922
+ ge(U) && Se(A) && (ne = {
4923
+ username: U,
4924
+ password: A,
4925
+ token: q
4926
+ }, r(17, J = !0), $e(ne));
4897
4927
  });
4898
- }, ee = (m) => !!((se.user.test(m) || se.email.test(m)) && m.length <= 100), ge = (m) => !!se.password.test(m), $e = () => {
4899
- r(13, J = !ee(H)), r(19, A = !(!J && !B && R));
4900
- }, Qe = () => {
4901
- r(14, B = !ge(R)), r(19, A = !(!J && !B && H));
4902
- }, ce = (m) => {
4903
- if (m.data)
4904
- switch (m.data.type) {
4928
+ }, ge = (p) => !!((me.user.test(p) || me.email.test(p)) && p.length <= 100), Se = (p) => !!me.password.test(p), Qe = () => {
4929
+ r(14, H = !ge(U)), r(20, ie = !(!H && !oe && A));
4930
+ }, be = () => {
4931
+ r(15, oe = !Se(A)), r(20, ie = !(!H && !oe && U));
4932
+ }, ve = (p) => {
4933
+ if (p.data)
4934
+ switch (p.data.type) {
4905
4935
  case "ModalLoader":
4906
- r(16, ne = !1);
4936
+ r(17, J = !1);
4907
4937
  break;
4908
4938
  case "UserSessionID":
4909
- r(16, ne = !1);
4939
+ r(17, J = !1);
4910
4940
  break;
4911
4941
  case "SmsHasBeenValidated":
4912
- pe();
4942
+ Q();
4913
4943
  break;
4914
4944
  }
4915
- }, we = (m) => {
4945
+ }, Ge = (p) => {
4916
4946
  typeof gtag == "function" && gtag("event", "Login", {
4917
4947
  context: "GeneralPlayerLoginRegisterPage"
4918
4948
  });
4919
- }, Ge = (Vt) => et(this, [Vt], function* ({ username: m, password: $, token: j }) {
4949
+ }, $e = (Vt) => et(this, [Vt], function* ({ username: p, password: q, token: te }) {
4920
4950
  let zt = {
4921
4951
  "Content-Type": "application/json",
4922
- "g-recaptcha-response": j
4923
- }, bt = { username: m, password: $ }, hn = {
4952
+ "g-recaptcha-response": te
4953
+ }, bt = { username: p, password: q }, un = {
4924
4954
  method: "POST",
4925
4955
  headers: zt,
4926
4956
  body: JSON.stringify(bt)
4927
4957
  };
4928
- fetch(`${i}/v1/player/login/player`, hn).then((V) => (V.status >= 500 && (r(15, oe = "Server might not be responsing"), r(16, ne = !1), window.postMessage(
4958
+ fetch(`${i}/v1/player/login/player`, un).then(($) => ($.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4929
4959
  {
4930
4960
  type: "WidgetNotification",
4931
4961
  data: {
@@ -4934,13 +4964,13 @@ function rs(e, t, r) {
4934
4964
  }
4935
4965
  },
4936
4966
  window.location.href
4937
- )), V.json())).then((V) => {
4938
- if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20, Fe = !0), je(x, b), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: b, number: x }))), V.sessionID) {
4967
+ )), $.json())).then(($) => {
4968
+ if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8, y = $.detail.userId), r(10, C = $.detail.phonePrefix + $.detail.phone), r(21, de = !0), Ye(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), $.sessionID) {
4939
4969
  if (window.postMessage(
4940
4970
  {
4941
4971
  type: "UserSessionID",
4942
- session: V.sessionID,
4943
- userid: V.universalID
4972
+ session: $.sessionID,
4973
+ userid: $.universalID
4944
4974
  },
4945
4975
  window.location.href
4946
4976
  ), window.postMessage(
@@ -4952,27 +4982,27 @@ function rs(e, t, r) {
4952
4982
  }
4953
4983
  },
4954
4984
  window.location.href
4955
- ), window.PasswordCredential && d == "true") {
4956
- const Ve = new PasswordCredential({
4985
+ ), window.PasswordCredential && b == "true") {
4986
+ const je = new PasswordCredential({
4957
4987
  password: bt.password,
4958
4988
  id: bt.username
4959
4989
  });
4960
- navigator.credentials.store(Ve);
4990
+ navigator.credentials.store(je);
4961
4991
  }
4962
- we();
4992
+ Ge();
4963
4993
  } else
4964
4994
  try {
4965
- let Ve = V.error;
4966
- r(15, oe = Ve), r(16, ne = !1), window.postMessage(
4995
+ let je = $.error;
4996
+ r(16, fe = je), r(17, J = !1), window.postMessage(
4967
4997
  {
4968
4998
  type: "WidgetNotification",
4969
- data: { type: "error", message: Ve }
4999
+ data: { type: "error", message: je }
4970
5000
  },
4971
5001
  window.location.href
4972
5002
  );
4973
- } catch (Ve) {
4974
- let Xt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4975
- r(15, oe = Xt), r(16, ne = !1), window.postMessage(
5003
+ } catch (je) {
5004
+ let Xt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
5005
+ r(16, fe = Xt), r(17, J = !1), window.postMessage(
4976
5006
  {
4977
5007
  type: "WidgetNotification",
4978
5008
  data: { type: "error", message: Xt }
@@ -4981,142 +5011,128 @@ function rs(e, t, r) {
4981
5011
  );
4982
5012
  }
4983
5013
  });
4984
- }), je = (m, $) => et(this, null, function* () {
5014
+ }), Ye = (p, q) => et(this, null, function* () {
4985
5015
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
4986
5016
  try {
4987
- const j = yield fetch(`${i}/v1/player/sms/token`, {
5017
+ const te = yield fetch(`${i}/v1/player/sms/token`, {
4988
5018
  method: "POST",
4989
5019
  headers: {
4990
5020
  "Content-Type": "application/json",
4991
5021
  accept: "application/json"
4992
5022
  },
4993
5023
  body: JSON.stringify({
4994
- userId: $,
5024
+ userId: q,
4995
5025
  messageTemplate: ts,
4996
- destination: m
5026
+ destination: p
4997
5027
  })
4998
- }), Vt = yield j.json();
4999
- if (j.ok) {
5000
- r(8, y = Vt.id);
5028
+ }), Vt = yield te.json();
5029
+ if (te.ok) {
5030
+ r(9, g = Vt.id);
5001
5031
  let zt = Vt.maxValidationAttempts;
5002
- g = !1;
5032
+ S = !1;
5003
5033
  } else
5004
- throw g = !0, new Error("Failed to fetch");
5005
- } catch (j) {
5006
- g = !0, console.error(j);
5034
+ throw S = !0, new Error("Failed to fetch");
5035
+ } catch (te) {
5036
+ S = !0, console.error(te);
5007
5037
  }
5008
- }), Ye = () => {
5038
+ }), F = () => {
5009
5039
  Xo(s);
5010
- }, U = () => {
5011
- let m = document.createElement("style");
5012
- m.innerHTML = l, W.appendChild(m);
5013
- }, Ke = () => {
5014
- let m = new URL(c), $ = document.createElement("style");
5015
- fetch(m.href).then((j) => j.text()).then((j) => {
5016
- $.innerHTML = j, setTimeout(
5017
- () => {
5018
- W.appendChild($);
5019
- },
5020
- 1
5021
- ), setTimeout(
5022
- () => {
5023
- },
5024
- 500
5025
- );
5026
- });
5027
5040
  };
5028
- Hn(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Vo(q)), () => {
5029
- window.removeEventListener("message", ce);
5041
+ Sn(() => (window.addEventListener("message", ve, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Go(R)), () => {
5042
+ window.removeEventListener("message", ve);
5030
5043
  }));
5031
- const xe = () => me();
5032
- function Q() {
5033
- H = this.value, r(11, H);
5044
+ const Ke = () => ke();
5045
+ function Pe() {
5046
+ U = this.value, r(12, U);
5034
5047
  }
5035
- function F() {
5036
- R = this.value, r(12, R);
5048
+ function Y() {
5049
+ A = this.value, r(13, A);
5037
5050
  }
5038
- function D(m) {
5039
- ut[m ? "unshift" : "push"](() => {
5040
- ie = m, r(17, ie);
5051
+ function D(p) {
5052
+ ut[p ? "unshift" : "push"](() => {
5053
+ ue = p, r(18, ue);
5041
5054
  });
5042
5055
  }
5043
- const k = () => _e(), v = () => De(), P = (m) => pe(m), un = (m) => ke(m);
5044
- function cn(m) {
5045
- ut[m ? "unshift" : "push"](() => {
5046
- W = m, r(6, W);
5056
+ const k = () => we(), G = () => Ee(), v = (p) => Q(p), P = (p) => xe(p);
5057
+ function ln(p) {
5058
+ ut[p ? "unshift" : "push"](() => {
5059
+ X = p, r(7, X);
5047
5060
  });
5048
5061
  }
5049
- return e.$$set = (m) => {
5050
- "endpoint" in m && r(0, i = m.endpoint), "captchakey" in m && r(1, o = m.captchakey), "lang" in m && r(29, s = m.lang), "smsverification" in m && r(30, a = m.smsverification), "simplepasswordvalidation" in m && r(2, u = m.simplepasswordvalidation), "clientstyling" in m && r(3, l = m.clientstyling), "clientstylingurl" in m && r(4, c = m.clientstylingurl), "translationurl" in m && r(31, f = m.translationurl), "savecredentials" in m && r(5, d = m.savecredentials);
5062
+ return e.$$set = (p) => {
5063
+ "endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(30, s = p.lang), "smsverification" in p && r(31, a = p.smsverification), "simplepasswordvalidation" in p && r(2, u = p.simplepasswordvalidation), "mbsource" in p && r(3, l = p.mbsource), "clientstyling" in p && r(4, c = p.clientstyling), "clientstylingurl" in p && r(5, f = p.clientstylingurl), "translationurl" in p && r(32, d = p.translationurl), "savecredentials" in p && r(6, b = p.savecredentials);
5051
5064
  }, e.$$.update = () => {
5052
5065
  e.$$.dirty[0] & /*endpoint, lang*/
5053
- 536870913 && i && s && Ye(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5054
- 4 && u && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5055
- 72 && l && W && U(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5056
- 80 && c && W && Ke(), e.$$.dirty[1] & /*translationurl*/
5057
- 1 && f && Je();
5066
+ 1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5067
+ 4 && u && Je(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5068
+ 144 && c && X && $o(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5069
+ 160 && f && X && jo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5070
+ 136 && l && X && Vo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5071
+ 2 && d && O();
5058
5072
  }, [
5059
5073
  i,
5060
5074
  o,
5061
5075
  u,
5062
5076
  l,
5063
5077
  c,
5064
- d,
5065
- W,
5078
+ f,
5066
5079
  b,
5080
+ X,
5067
5081
  y,
5068
- x,
5069
- M,
5082
+ g,
5083
+ C,
5084
+ z,
5085
+ U,
5086
+ A,
5070
5087
  H,
5071
- R,
5088
+ oe,
5089
+ fe,
5072
5090
  J,
5091
+ ue,
5073
5092
  B,
5074
- oe,
5075
- ne,
5076
5093
  ie,
5077
5094
  de,
5078
- A,
5079
- Fe,
5080
5095
  n,
5081
- De,
5082
- _e,
5083
- me,
5096
+ Ee,
5097
+ we,
5084
5098
  ke,
5085
- pe,
5086
- $e,
5099
+ xe,
5100
+ Q,
5087
5101
  Qe,
5102
+ be,
5088
5103
  s,
5089
5104
  a,
5090
- f,
5091
- xe,
5092
- Q,
5093
- F,
5105
+ d,
5106
+ Ke,
5107
+ Pe,
5108
+ Y,
5094
5109
  D,
5095
5110
  k,
5111
+ G,
5096
5112
  v,
5097
5113
  P,
5098
- un,
5099
- cn
5114
+ ln
5100
5115
  ];
5101
5116
  }
5102
- class ln extends Dn {
5117
+ class an extends Rn {
5103
5118
  constructor(t) {
5104
- super(), Un(
5119
+ super(), Mn(
5105
5120
  this,
5106
5121
  t,
5107
5122
  rs,
5108
5123
  es,
5109
- Br,
5124
+ Hr,
5110
5125
  {
5111
5126
  endpoint: 0,
5112
5127
  captchakey: 1,
5113
- lang: 29,
5114
- smsverification: 30,
5128
+ lang: 30,
5129
+ smsverification: 31,
5115
5130
  simplepasswordvalidation: 2,
5116
- clientstyling: 3,
5117
- clientstylingurl: 4,
5118
- translationurl: 31,
5119
- savecredentials: 5
5131
+ mbsource: 3,
5132
+ clientstyling: 4,
5133
+ clientstylingurl: 5,
5134
+ translationurl: 32,
5135
+ savecredentials: 6
5120
5136
  },
5121
5137
  Wo,
5122
5138
  [-1, -1]
@@ -5126,87 +5142,96 @@ class ln extends Dn {
5126
5142
  return this.$$.ctx[0];
5127
5143
  }
5128
5144
  set endpoint(t) {
5129
- this.$$set({ endpoint: t }), te();
5145
+ this.$$set({ endpoint: t }), ee();
5130
5146
  }
5131
5147
  get captchakey() {
5132
5148
  return this.$$.ctx[1];
5133
5149
  }
5134
5150
  set captchakey(t) {
5135
- this.$$set({ captchakey: t }), te();
5151
+ this.$$set({ captchakey: t }), ee();
5136
5152
  }
5137
5153
  get lang() {
5138
- return this.$$.ctx[29];
5154
+ return this.$$.ctx[30];
5139
5155
  }
5140
5156
  set lang(t) {
5141
- this.$$set({ lang: t }), te();
5157
+ this.$$set({ lang: t }), ee();
5142
5158
  }
5143
5159
  get smsverification() {
5144
- return this.$$.ctx[30];
5160
+ return this.$$.ctx[31];
5145
5161
  }
5146
5162
  set smsverification(t) {
5147
- this.$$set({ smsverification: t }), te();
5163
+ this.$$set({ smsverification: t }), ee();
5148
5164
  }
5149
5165
  get simplepasswordvalidation() {
5150
5166
  return this.$$.ctx[2];
5151
5167
  }
5152
5168
  set simplepasswordvalidation(t) {
5153
- this.$$set({ simplepasswordvalidation: t }), te();
5169
+ this.$$set({ simplepasswordvalidation: t }), ee();
5154
5170
  }
5155
- get clientstyling() {
5171
+ get mbsource() {
5156
5172
  return this.$$.ctx[3];
5157
5173
  }
5174
+ set mbsource(t) {
5175
+ this.$$set({ mbsource: t }), ee();
5176
+ }
5177
+ get clientstyling() {
5178
+ return this.$$.ctx[4];
5179
+ }
5158
5180
  set clientstyling(t) {
5159
- this.$$set({ clientstyling: t }), te();
5181
+ this.$$set({ clientstyling: t }), ee();
5160
5182
  }
5161
5183
  get clientstylingurl() {
5162
- return this.$$.ctx[4];
5184
+ return this.$$.ctx[5];
5163
5185
  }
5164
5186
  set clientstylingurl(t) {
5165
- this.$$set({ clientstylingurl: t }), te();
5187
+ this.$$set({ clientstylingurl: t }), ee();
5166
5188
  }
5167
5189
  get translationurl() {
5168
- return this.$$.ctx[31];
5190
+ return this.$$.ctx[32];
5169
5191
  }
5170
5192
  set translationurl(t) {
5171
- this.$$set({ translationurl: t }), te();
5193
+ this.$$set({ translationurl: t }), ee();
5172
5194
  }
5173
5195
  get savecredentials() {
5174
- return this.$$.ctx[5];
5196
+ return this.$$.ctx[6];
5175
5197
  }
5176
5198
  set savecredentials(t) {
5177
- this.$$set({ savecredentials: t }), te();
5199
+ this.$$set({ savecredentials: t }), ee();
5178
5200
  }
5179
5201
  }
5180
- Fn(ln, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5202
+ Nn(an, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5181
5203
  const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5182
5204
  __proto__: null,
5183
- default: ln
5205
+ default: an
5184
5206
  }, Symbol.toStringTag, { value: "Module" }));
5185
5207
  export {
5186
- fe as $,
5208
+ he as $,
5187
5209
  is as G,
5188
- Dn as S,
5189
- Ne as a,
5190
- rn as b,
5191
- _n as c,
5210
+ Rn as S,
5211
+ Ue as a,
5212
+ tn as b,
5213
+ bn as c,
5192
5214
  I as d,
5193
5215
  re as e,
5194
- te as f,
5216
+ ee as f,
5195
5217
  rt as g,
5196
5218
  h,
5197
- Un as i,
5198
- L as j,
5199
- p as k,
5200
- ae as l,
5201
- S as m,
5219
+ Mn as i,
5220
+ M as j,
5221
+ m as k,
5222
+ se as l,
5223
+ x as m,
5202
5224
  Z as n,
5203
- z as o,
5204
- vn as p,
5205
- Hn as q,
5206
- Le as r,
5207
- Br as s,
5225
+ j as o,
5226
+ gn as p,
5227
+ Sn as q,
5228
+ Ne as r,
5229
+ Hr as s,
5208
5230
  N as t,
5209
5231
  ut as u,
5210
- Fn as v,
5211
- jo as w
5232
+ $o as v,
5233
+ jo as w,
5234
+ Vo as x,
5235
+ Nn as y,
5236
+ ko as z
5212
5237
  };