@everymatrix/general-player-login-form 1.87.25 → 1.87.27

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,28 +1,28 @@
1
1
  function Z() {
2
2
  }
3
- function Sr(e) {
3
+ function Pr(e) {
4
4
  return e();
5
5
  }
6
- function Zt() {
6
+ function qt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Le(e) {
10
- e.forEach(Sr);
10
+ e.forEach(Pr);
11
11
  }
12
- function Vt(e) {
12
+ function zt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Pr(e, t) {
15
+ function Tr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let tt;
19
- function qt(e, t) {
20
- return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
18
+ let rt;
19
+ function Jt(e, t) {
20
+ return e === t ? !0 : (rt || (rt = document.createElement("a")), rt.href = t, e === rt.href);
21
21
  }
22
- function an(e) {
22
+ function un(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Tr(e, ...t) {
25
+ function Br(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Tr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function ln(e, t, r) {
35
- e.$$.on_destroy.push(Tr(t, r));
34
+ function cn(e, t, r) {
35
+ e.$$.on_destroy.push(Br(t, r));
36
36
  }
37
37
  function p(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function un(e, t, r) {
41
- const n = cn(e);
40
+ function hn(e, t, r) {
41
+ const n = fn(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = w("style");
44
- i.id = t, i.textContent = r, hn(n, i);
44
+ i.id = t, i.textContent = r, dn(n, i);
45
45
  }
46
46
  }
47
- function cn(e) {
47
+ function fn(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function cn(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function hn(e, t) {
57
+ function dn(e, t) {
58
58
  return p(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -64,7 +64,7 @@ function hn(e, t) {
64
64
  function M(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function I(e) {
67
+ function O(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
70
  function w(e) {
@@ -79,7 +79,7 @@ function N(e) {
79
79
  function j() {
80
80
  return N(" ");
81
81
  }
82
- function fn() {
82
+ function pn() {
83
83
  return N("");
84
84
  }
85
85
  function se(e, t, r, n) {
@@ -92,17 +92,17 @@ function W(e, t, r) {
92
92
  const n = t.toLowerCase();
93
93
  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);
94
94
  }
95
- function dn(e) {
95
+ function mn(e) {
96
96
  return Array.from(e.childNodes);
97
97
  }
98
98
  function te(e, t) {
99
99
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
100
100
  t);
101
101
  }
102
- function rt(e, t) {
102
+ function nt(e, t) {
103
103
  e.value = t ?? "";
104
104
  }
105
- function pn(e) {
105
+ function gn(e) {
106
106
  const t = {};
107
107
  return e.childNodes.forEach(
108
108
  /** @param {Element} node */
@@ -111,87 +111,87 @@ function pn(e) {
111
111
  }
112
112
  ), t;
113
113
  }
114
- let Ve;
115
- function je(e) {
116
- Ve = e;
114
+ let Xe;
115
+ function ze(e) {
116
+ Xe = e;
117
117
  }
118
- function mn() {
119
- if (!Ve)
118
+ function bn() {
119
+ if (!Xe)
120
120
  throw new Error("Function called outside component initialization");
121
- return Ve;
121
+ return Xe;
122
122
  }
123
- function gn(e) {
124
- mn().$$.on_mount.push(e);
123
+ function vn(e) {
124
+ bn().$$.on_mount.push(e);
125
125
  }
126
- const Be = [], ut = [];
126
+ const Te = [], ct = [];
127
127
  let He = [];
128
- const Jt = [], bn = /* @__PURE__ */ Promise.resolve();
129
- let Bt = !1;
130
- function vn() {
131
- Bt || (Bt = !0, bn.then(K));
128
+ const Qt = [], yn = /* @__PURE__ */ Promise.resolve();
129
+ let Ht = !1;
130
+ function _n() {
131
+ Ht || (Ht = !0, yn.then(Y));
132
132
  }
133
- function Ht(e) {
133
+ function At(e) {
134
134
  He.push(e);
135
135
  }
136
- const yt = /* @__PURE__ */ new Set();
137
- let Pe = 0;
138
- function K() {
139
- if (Pe !== 0)
136
+ const _t = /* @__PURE__ */ new Set();
137
+ let Se = 0;
138
+ function Y() {
139
+ if (Se !== 0)
140
140
  return;
141
- const e = Ve;
141
+ const e = Xe;
142
142
  do {
143
143
  try {
144
- for (; Pe < Be.length; ) {
145
- const t = Be[Pe];
146
- Pe++, je(t), yn(t.$$);
144
+ for (; Se < Te.length; ) {
145
+ const t = Te[Se];
146
+ Se++, ze(t), En(t.$$);
147
147
  }
148
148
  } catch (t) {
149
- throw Be.length = 0, Pe = 0, t;
149
+ throw Te.length = 0, Se = 0, t;
150
150
  }
151
- for (je(null), Be.length = 0, Pe = 0; ut.length; )
152
- ut.pop()();
151
+ for (ze(null), Te.length = 0, Se = 0; ct.length; )
152
+ ct.pop()();
153
153
  for (let t = 0; t < He.length; t += 1) {
154
154
  const r = He[t];
155
- yt.has(r) || (yt.add(r), r());
155
+ _t.has(r) || (_t.add(r), r());
156
156
  }
157
157
  He.length = 0;
158
- } while (Be.length);
159
- for (; Jt.length; )
160
- Jt.pop()();
161
- Bt = !1, yt.clear(), je(e);
158
+ } while (Te.length);
159
+ for (; Qt.length; )
160
+ Qt.pop()();
161
+ Ht = !1, _t.clear(), ze(e);
162
162
  }
163
- function yn(e) {
163
+ function En(e) {
164
164
  if (e.fragment !== null) {
165
165
  e.update(), Le(e.before_update);
166
166
  const t = e.dirty;
167
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
167
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(At);
168
168
  }
169
169
  }
170
- function _n(e) {
170
+ function wn(e) {
171
171
  const t = [], r = [];
172
172
  He.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), He = t;
173
173
  }
174
- const En = /* @__PURE__ */ new Set();
175
- function wn(e, t) {
176
- e && e.i && (En.delete(e), e.i(t));
174
+ const xn = /* @__PURE__ */ new Set();
175
+ function Sn(e, t) {
176
+ e && e.i && (xn.delete(e), e.i(t));
177
177
  }
178
- function xn(e, t, r) {
178
+ function Pn(e, t, r) {
179
179
  const { fragment: n, after_update: i } = e.$$;
180
- n && n.m(t, r), Ht(() => {
181
- const o = e.$$.on_mount.map(Sr).filter(Vt);
180
+ n && n.m(t, r), At(() => {
181
+ const o = e.$$.on_mount.map(Pr).filter(zt);
182
182
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
183
- }), i.forEach(Ht);
183
+ }), i.forEach(At);
184
184
  }
185
- function Sn(e, t) {
185
+ function Tn(e, t) {
186
186
  const r = e.$$;
187
- r.fragment !== null && (_n(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
+ r.fragment !== null && (wn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
188
188
  }
189
- function Pn(e, t) {
190
- e.$$.dirty[0] === -1 && (Be.push(e), vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
+ function Bn(e, t) {
190
+ e.$$.dirty[0] === -1 && (Te.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
191
  }
192
- function Tn(e, t, r, n, i, o, s = null, a = [-1]) {
193
- const c = Ve;
194
- je(e);
192
+ function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
193
+ const c = Xe;
194
+ ze(e);
195
195
  const l = e.$$ = {
196
196
  fragment: null,
197
197
  ctx: [],
@@ -199,7 +199,7 @@ function Tn(e, t, r, n, i, o, s = null, a = [-1]) {
199
199
  props: o,
200
200
  update: Z,
201
201
  not_equal: i,
202
- bound: Zt(),
202
+ bound: qt(),
203
203
  // lifecycle
204
204
  on_mount: [],
205
205
  on_destroy: [],
@@ -208,7 +208,7 @@ function Tn(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  after_update: [],
209
209
  context: new Map(t.context || (c ? c.$$.context : [])),
210
210
  // everything else
211
- callbacks: Zt(),
211
+ callbacks: qt(),
212
212
  dirty: a,
213
213
  skip_bound: !1,
214
214
  root: t.target || c.$$.root
@@ -217,19 +217,19 @@ function Tn(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  let u = !1;
218
218
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
219
219
  const y = b.length ? b[0] : d;
220
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Pn(e, f)), d;
220
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Bn(e, f)), d;
221
221
  }) : [], l.update(), u = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
222
222
  if (t.hydrate) {
223
- const f = dn(t.target);
224
- l.fragment && l.fragment.l(f), f.forEach(I);
223
+ const f = mn(t.target);
224
+ l.fragment && l.fragment.l(f), f.forEach(O);
225
225
  } else
226
226
  l.fragment && l.fragment.c();
227
- t.intro && wn(e.$$.fragment), xn(e, t.target, t.anchor), K();
227
+ t.intro && Sn(e.$$.fragment), Pn(e, t.target, t.anchor), Y();
228
228
  }
229
- je(c);
229
+ ze(c);
230
230
  }
231
- let Br;
232
- typeof HTMLElement == "function" && (Br = class extends HTMLElement {
231
+ let Hr;
232
+ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
233
233
  /** The Svelte component constructor */
234
234
  $$ctor;
235
235
  /** Slots */
@@ -281,19 +281,19 @@ typeof HTMLElement == "function" && (Br = class extends HTMLElement {
281
281
  M(c, o, l);
282
282
  },
283
283
  d: function(c) {
284
- c && I(o);
284
+ c && O(o);
285
285
  }
286
286
  };
287
287
  };
288
288
  };
289
289
  if (await Promise.resolve(), !this.$$cn || this.$$c)
290
290
  return;
291
- const t = {}, r = pn(this);
291
+ const t = {}, r = gn(this);
292
292
  for (const i of this.$$s)
293
293
  i in r && (t[i] = [e(i)]);
294
294
  for (const i of this.attributes) {
295
295
  const o = this.$$g_p(i.name);
296
- o in this.$$d || (this.$$d[o] = ot(o, i.value, this.$$p_d, "toProp"));
296
+ o in this.$$d || (this.$$d[o] = st(o, i.value, this.$$p_d, "toProp"));
297
297
  }
298
298
  for (const i in this.$$p_d)
299
299
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -311,7 +311,7 @@ typeof HTMLElement == "function" && (Br = class extends HTMLElement {
311
311
  this.$$r = !0;
312
312
  for (const i in this.$$p_d)
313
313
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
314
- const o = ot(
314
+ const o = st(
315
315
  i,
316
316
  this.$$d[i],
317
317
  this.$$p_d,
@@ -333,7 +333,7 @@ typeof HTMLElement == "function" && (Br = class extends HTMLElement {
333
333
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
334
334
  // and setting attributes through setAttribute etc, this is helpful
335
335
  attributeChangedCallback(e, t, r) {
336
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ot(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
336
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = st(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
337
337
  }
338
338
  disconnectedCallback() {
339
339
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -346,7 +346,7 @@ typeof HTMLElement == "function" && (Br = class extends HTMLElement {
346
346
  ) || e;
347
347
  }
348
348
  });
349
- function ot(e, t, r, n) {
349
+ function st(e, t, r, n) {
350
350
  const i = r[e]?.type;
351
351
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
352
352
  return t;
@@ -375,8 +375,8 @@ function ot(e, t, r, n) {
375
375
  return t;
376
376
  }
377
377
  }
378
- function Bn(e, t, r, n, i, o) {
379
- let s = class extends Br {
378
+ function An(e, t, r, n, i, o) {
379
+ let s = class extends Hr {
380
380
  constructor() {
381
381
  super(e, r, i), this.$$p_d = t;
382
382
  }
@@ -392,7 +392,7 @@ function Bn(e, t, r, n, i, o) {
392
392
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
393
393
  },
394
394
  set(c) {
395
- c = ot(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
395
+ c = st(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
396
396
  }
397
397
  });
398
398
  }), n.forEach((a) => {
@@ -404,7 +404,7 @@ function Bn(e, t, r, n, i, o) {
404
404
  }), e.element = /** @type {any} */
405
405
  s, s;
406
406
  }
407
- class Hn {
407
+ class In {
408
408
  /**
409
409
  * ### PRIVATE API
410
410
  *
@@ -423,7 +423,7 @@ class Hn {
423
423
  $$set = void 0;
424
424
  /** @returns {void} */
425
425
  $destroy() {
426
- Sn(this, 1), this.$destroy = Z;
426
+ Tn(this, 1), this.$destroy = Z;
427
427
  }
428
428
  /**
429
429
  * @template {Extract<keyof Events, string>} K
@@ -432,7 +432,7 @@ class Hn {
432
432
  * @returns {() => void}
433
433
  */
434
434
  $on(t, r) {
435
- if (!Vt(r))
435
+ if (!zt(r))
436
436
  return Z;
437
437
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
438
438
  return n.push(r), () => {
@@ -445,11 +445,11 @@ class Hn {
445
445
  * @returns {void}
446
446
  */
447
447
  $set(t) {
448
- this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
+ this.$$set && !un(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
449
449
  }
450
450
  }
451
- const An = "4";
452
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
451
+ const On = "4";
452
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(On);
453
453
  /*! *****************************************************************************
454
454
  Copyright (c) Microsoft Corporation.
455
455
 
@@ -464,24 +464,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
464
464
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
465
465
  PERFORMANCE OF THIS SOFTWARE.
466
466
  ***************************************************************************** */
467
- var At = function(e, t) {
468
- return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
467
+ var It = function(e, t) {
468
+ return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
469
469
  r.__proto__ = n;
470
470
  } || function(r, n) {
471
471
  for (var i in n)
472
472
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
473
- }, At(e, t);
473
+ }, It(e, t);
474
474
  };
475
- function We(e, t) {
475
+ function qe(e, t) {
476
476
  if (typeof t != "function" && t !== null)
477
477
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
478
- At(e, t);
478
+ It(e, t);
479
479
  function r() {
480
480
  this.constructor = e;
481
481
  }
482
482
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
483
483
  }
484
- function It(e) {
484
+ function Ot(e) {
485
485
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
486
486
  if (r)
487
487
  return r.call(e);
@@ -493,7 +493,7 @@ function It(e) {
493
493
  };
494
494
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
495
495
  }
496
- function Ot(e, t) {
496
+ function Ct(e, t) {
497
497
  var r = typeof Symbol == "function" && e[Symbol.iterator];
498
498
  if (!r)
499
499
  return e;
@@ -513,7 +513,7 @@ function Ot(e, t) {
513
513
  }
514
514
  return o;
515
515
  }
516
- function Ct(e, t, r) {
516
+ function Lt(e, t, r) {
517
517
  if (arguments.length === 2)
518
518
  for (var n = 0, i = t.length, o; n < i; n++)
519
519
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -522,13 +522,13 @@ function Ct(e, t, r) {
522
522
  function ae(e) {
523
523
  return typeof e == "function";
524
524
  }
525
- function Hr(e) {
525
+ function Ar(e) {
526
526
  var t = function(n) {
527
527
  Error.call(n), n.stack = new Error().stack;
528
528
  }, r = e(t);
529
529
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
530
530
  }
531
- var _t = Hr(function(e) {
531
+ var Et = Ar(function(e) {
532
532
  return function(r) {
533
533
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
534
534
  ` + r.map(function(n, i) {
@@ -537,13 +537,13 @@ var _t = Hr(function(e) {
537
537
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
538
538
  };
539
539
  });
540
- function Lt(e, t) {
540
+ function Mt(e, t) {
541
541
  if (e) {
542
542
  var r = e.indexOf(t);
543
543
  0 <= r && e.splice(r, 1);
544
544
  }
545
545
  }
546
- var dt = function() {
546
+ var pt = function() {
547
547
  function e(t) {
548
548
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
549
549
  }
@@ -555,7 +555,7 @@ var dt = function() {
555
555
  if (s)
556
556
  if (this._parentage = null, Array.isArray(s))
557
557
  try {
558
- for (var a = It(s), c = a.next(); !c.done; c = a.next()) {
558
+ for (var a = Ot(s), c = a.next(); !c.done; c = a.next()) {
559
559
  var l = c.value;
560
560
  l.remove(this);
561
561
  }
@@ -576,18 +576,18 @@ var dt = function() {
576
576
  try {
577
577
  u();
578
578
  } catch (g) {
579
- o = g instanceof _t ? g.errors : [g];
579
+ o = g instanceof Et ? g.errors : [g];
580
580
  }
581
581
  var f = this._finalizers;
582
582
  if (f) {
583
583
  this._finalizers = null;
584
584
  try {
585
- for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
585
+ for (var d = Ot(f), b = d.next(); !b.done; b = d.next()) {
586
586
  var y = b.value;
587
587
  try {
588
- Qt(y);
588
+ Yt(y);
589
589
  } catch (g) {
590
- o = o ?? [], g instanceof _t ? o = Ct(Ct([], Ot(o)), Ot(g.errors)) : o.push(g);
590
+ o = o ?? [], g instanceof Et ? o = Lt(Lt([], Ct(o)), Ct(g.errors)) : o.push(g);
591
591
  }
592
592
  }
593
593
  } catch (g) {
@@ -602,13 +602,13 @@ var dt = function() {
602
602
  }
603
603
  }
604
604
  if (o)
605
- throw new _t(o);
605
+ throw new Et(o);
606
606
  }
607
607
  }, e.prototype.add = function(t) {
608
608
  var r;
609
609
  if (t && t !== this)
610
610
  if (this.closed)
611
- Qt(t);
611
+ Yt(t);
612
612
  else {
613
613
  if (t instanceof e) {
614
614
  if (t.closed || t._hasParent(this))
@@ -625,52 +625,52 @@ var dt = function() {
625
625
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
626
626
  }, e.prototype._removeParent = function(t) {
627
627
  var r = this._parentage;
628
- r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
628
+ r === t ? this._parentage = null : Array.isArray(r) && Mt(r, t);
629
629
  }, e.prototype.remove = function(t) {
630
630
  var r = this._finalizers;
631
- r && Lt(r, t), t instanceof e && t._removeParent(this);
631
+ r && Mt(r, t), t instanceof e && t._removeParent(this);
632
632
  }, e.EMPTY = function() {
633
633
  var t = new e();
634
634
  return t.closed = !0, t;
635
635
  }(), e;
636
- }(), Ar = dt.EMPTY;
637
- function Ir(e) {
638
- return e instanceof dt || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
636
+ }(), Ir = pt.EMPTY;
637
+ function Or(e) {
638
+ return e instanceof pt || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
639
639
  }
640
- function Qt(e) {
640
+ function Yt(e) {
641
641
  ae(e) ? e() : e.unsubscribe();
642
642
  }
643
- var In = {
643
+ var Cn = {
644
644
  Promise: void 0
645
- }, On = {
645
+ }, Ln = {
646
646
  setTimeout: function(e, t) {
647
647
  for (var r = [], n = 2; n < arguments.length; n++)
648
648
  r[n - 2] = arguments[n];
649
- return setTimeout.apply(void 0, Ct([e, t], Ot(r)));
649
+ return setTimeout.apply(void 0, Lt([e, t], Ct(r)));
650
650
  },
651
651
  clearTimeout: function(e) {
652
652
  return clearTimeout(e);
653
653
  },
654
654
  delegate: void 0
655
655
  };
656
- function Cn(e) {
657
- On.setTimeout(function() {
656
+ function Mn(e) {
657
+ Ln.setTimeout(function() {
658
658
  throw e;
659
659
  });
660
660
  }
661
- function Yt() {
661
+ function Kt() {
662
662
  }
663
- function st(e) {
663
+ function at(e) {
664
664
  e();
665
665
  }
666
- var Or = function(e) {
667
- We(t, e);
666
+ var Cr = function(e) {
667
+ qe(t, e);
668
668
  function t(r) {
669
669
  var n = e.call(this) || this;
670
- return n.isStopped = !1, r ? (n.destination = r, Ir(r) && r.add(n)) : n.destination = Nn, n;
670
+ return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = Un, n;
671
671
  }
672
672
  return t.create = function(r, n, i) {
673
- return new Mt(r, n, i);
673
+ return new Nt(r, n, i);
674
674
  }, t.prototype.next = function(r) {
675
675
  this.isStopped || this._next(r);
676
676
  }, t.prototype.error = function(r) {
@@ -694,7 +694,7 @@ var Or = function(e) {
694
694
  this.unsubscribe();
695
695
  }
696
696
  }, t;
697
- }(dt), Ln = function() {
697
+ }(pt), Nn = function() {
698
698
  function e(t) {
699
699
  this.partialObserver = t;
700
700
  }
@@ -704,7 +704,7 @@ var Or = function(e) {
704
704
  try {
705
705
  r.next(t);
706
706
  } catch (n) {
707
- nt(n);
707
+ it(n);
708
708
  }
709
709
  }, e.prototype.error = function(t) {
710
710
  var r = this.partialObserver;
@@ -712,56 +712,56 @@ var Or = function(e) {
712
712
  try {
713
713
  r.error(t);
714
714
  } catch (n) {
715
- nt(n);
715
+ it(n);
716
716
  }
717
717
  else
718
- nt(t);
718
+ it(t);
719
719
  }, e.prototype.complete = function() {
720
720
  var t = this.partialObserver;
721
721
  if (t.complete)
722
722
  try {
723
723
  t.complete();
724
724
  } catch (r) {
725
- nt(r);
725
+ it(r);
726
726
  }
727
727
  }, e;
728
- }(), Mt = function(e) {
729
- We(t, e);
728
+ }(), Nt = function(e) {
729
+ qe(t, e);
730
730
  function t(r, n, i) {
731
731
  var o = e.call(this) || this, s;
732
732
  return ae(r) || !r ? s = {
733
733
  next: r ?? void 0,
734
734
  error: n ?? void 0,
735
735
  complete: i ?? void 0
736
- } : s = r, o.destination = new Ln(s), o;
736
+ } : s = r, o.destination = new Nn(s), o;
737
737
  }
738
738
  return t;
739
- }(Or);
740
- function nt(e) {
741
- Cn(e);
739
+ }(Cr);
740
+ function it(e) {
741
+ Mn(e);
742
742
  }
743
- function Mn(e) {
743
+ function Rn(e) {
744
744
  throw e;
745
745
  }
746
- var Nn = {
746
+ var Un = {
747
747
  closed: !0,
748
- next: Yt,
749
- error: Mn,
750
- complete: Yt
751
- }, Rn = function() {
748
+ next: Kt,
749
+ error: Rn,
750
+ complete: Kt
751
+ }, Fn = function() {
752
752
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
753
753
  }();
754
- function Un(e) {
754
+ function Dn(e) {
755
755
  return e;
756
756
  }
757
- function Fn(e) {
758
- return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
757
+ function kn(e) {
758
+ return e.length === 0 ? Dn : e.length === 1 ? e[0] : function(r) {
759
759
  return e.reduce(function(n, i) {
760
760
  return i(n);
761
761
  }, r);
762
762
  };
763
763
  }
764
- var Kt = function() {
764
+ var er = function() {
765
765
  function e(t) {
766
766
  t && (this._subscribe = t);
767
767
  }
@@ -769,8 +769,8 @@ var Kt = function() {
769
769
  var r = new e();
770
770
  return r.source = this, r.operator = t, r;
771
771
  }, e.prototype.subscribe = function(t, r, n) {
772
- var i = this, o = kn(t) ? t : new Mt(t, r, n);
773
- return st(function() {
772
+ var i = this, o = Gn(t) ? t : new Nt(t, r, n);
773
+ return at(function() {
774
774
  var s = i, a = s.operator, c = s.source;
775
775
  o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
776
776
  }), o;
@@ -782,8 +782,8 @@ var Kt = function() {
782
782
  }
783
783
  }, e.prototype.forEach = function(t, r) {
784
784
  var n = this;
785
- return r = er(r), new r(function(i, o) {
786
- var s = new Mt({
785
+ return r = tr(r), new r(function(i, o) {
786
+ var s = new Nt({
787
787
  next: function(a) {
788
788
  try {
789
789
  t(a);
@@ -799,15 +799,15 @@ var Kt = function() {
799
799
  }, e.prototype._subscribe = function(t) {
800
800
  var r;
801
801
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
802
- }, e.prototype[Rn] = function() {
802
+ }, e.prototype[Fn] = function() {
803
803
  return this;
804
804
  }, e.prototype.pipe = function() {
805
805
  for (var t = [], r = 0; r < arguments.length; r++)
806
806
  t[r] = arguments[r];
807
- return Fn(t)(this);
807
+ return kn(t)(this);
808
808
  }, e.prototype.toPromise = function(t) {
809
809
  var r = this;
810
- return t = er(t), new t(function(n, i) {
810
+ return t = tr(t), new t(function(n, i) {
811
811
  var o;
812
812
  r.subscribe(function(s) {
813
813
  return o = s;
@@ -821,40 +821,40 @@ var Kt = function() {
821
821
  return new e(t);
822
822
  }, e;
823
823
  }();
824
- function er(e) {
824
+ function tr(e) {
825
825
  var t;
826
- return (t = e ?? In.Promise) !== null && t !== void 0 ? t : Promise;
826
+ return (t = e ?? Cn.Promise) !== null && t !== void 0 ? t : Promise;
827
827
  }
828
- function Dn(e) {
828
+ function $n(e) {
829
829
  return e && ae(e.next) && ae(e.error) && ae(e.complete);
830
830
  }
831
- function kn(e) {
832
- return e && e instanceof Or || Dn(e) && Ir(e);
831
+ function Gn(e) {
832
+ return e && e instanceof Cr || $n(e) && Or(e);
833
833
  }
834
- var $n = Hr(function(e) {
834
+ var jn = Ar(function(e) {
835
835
  return function() {
836
836
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
837
837
  };
838
- }), Cr = function(e) {
839
- We(t, e);
838
+ }), Lr = function(e) {
839
+ qe(t, e);
840
840
  function t() {
841
841
  var r = e.call(this) || this;
842
842
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
843
843
  }
844
844
  return t.prototype.lift = function(r) {
845
- var n = new tr(this, this);
845
+ var n = new rr(this, this);
846
846
  return n.operator = r, n;
847
847
  }, t.prototype._throwIfClosed = function() {
848
848
  if (this.closed)
849
- throw new $n();
849
+ throw new jn();
850
850
  }, t.prototype.next = function(r) {
851
851
  var n = this;
852
- st(function() {
852
+ at(function() {
853
853
  var i, o;
854
854
  if (n._throwIfClosed(), !n.isStopped) {
855
855
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
856
856
  try {
857
- for (var s = It(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
857
+ for (var s = Ot(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
858
858
  var c = a.value;
859
859
  c.next(r);
860
860
  }
@@ -872,7 +872,7 @@ var $n = Hr(function(e) {
872
872
  });
873
873
  }, t.prototype.error = function(r) {
874
874
  var n = this;
875
- st(function() {
875
+ at(function() {
876
876
  if (n._throwIfClosed(), !n.isStopped) {
877
877
  n.hasError = n.isStopped = !0, n.thrownError = r;
878
878
  for (var i = n.observers; i.length; )
@@ -881,7 +881,7 @@ var $n = Hr(function(e) {
881
881
  });
882
882
  }, t.prototype.complete = function() {
883
883
  var r = this;
884
- st(function() {
884
+ at(function() {
885
885
  if (r._throwIfClosed(), !r.isStopped) {
886
886
  r.isStopped = !0;
887
887
  for (var n = r.observers; n.length; )
@@ -903,20 +903,20 @@ var $n = Hr(function(e) {
903
903
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
904
904
  }, t.prototype._innerSubscribe = function(r) {
905
905
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
906
- return o || s ? Ar : (this.currentObservers = null, a.push(r), new dt(function() {
907
- n.currentObservers = null, Lt(a, r);
906
+ return o || s ? Ir : (this.currentObservers = null, a.push(r), new pt(function() {
907
+ n.currentObservers = null, Mt(a, r);
908
908
  }));
909
909
  }, t.prototype._checkFinalizedStatuses = function(r) {
910
910
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
911
911
  i ? r.error(o) : s && r.complete();
912
912
  }, t.prototype.asObservable = function() {
913
- var r = new Kt();
913
+ var r = new er();
914
914
  return r.source = this, r;
915
915
  }, t.create = function(r, n) {
916
- return new tr(r, n);
916
+ return new rr(r, n);
917
917
  }, t;
918
- }(Kt), tr = function(e) {
919
- We(t, e);
918
+ }(er), rr = function(e) {
919
+ qe(t, e);
920
920
  function t(r, n) {
921
921
  var i = e.call(this) || this;
922
922
  return i.destination = r, i.source = n, i;
@@ -932,17 +932,17 @@ var $n = Hr(function(e) {
932
932
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
933
933
  }, t.prototype._subscribe = function(r) {
934
934
  var n, i;
935
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
935
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ir;
936
936
  }, t;
937
- }(Cr), Lr = {
937
+ }(Lr), Mr = {
938
938
  now: function() {
939
- return (Lr.delegate || Date).now();
939
+ return (Mr.delegate || Date).now();
940
940
  },
941
941
  delegate: void 0
942
- }, Gn = function(e) {
943
- We(t, e);
942
+ }, Vn = function(e) {
943
+ qe(t, e);
944
944
  function t(r, n, i) {
945
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lr);
945
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mr);
946
946
  var o = e.call(this) || this;
947
947
  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;
948
948
  }
@@ -962,31 +962,31 @@ var $n = Hr(function(e) {
962
962
  l && o.splice(0, l + 1);
963
963
  }
964
964
  }, t;
965
- }(Cr);
966
- const rr = [], nr = {}, jn = (e, t = 0) => {
967
- if (rr.indexOf(e) == -1) {
968
- const r = new Gn(t);
969
- nr[e] = r, rr.push(e);
965
+ }(Lr);
966
+ const nr = [], ir = {}, zn = (e, t = 0) => {
967
+ if (nr.indexOf(e) == -1) {
968
+ const r = new Vn(t);
969
+ ir[e] = r, nr.push(e);
970
970
  }
971
- return nr[e];
972
- }, Te = [];
973
- function Vn(e, t) {
971
+ return ir[e];
972
+ }, Pe = [];
973
+ function Xn(e, t) {
974
974
  return {
975
- subscribe: pt(e, t).subscribe
975
+ subscribe: mt(e, t).subscribe
976
976
  };
977
977
  }
978
- function pt(e, t = Z) {
978
+ function mt(e, t = Z) {
979
979
  let r;
980
980
  const n = /* @__PURE__ */ new Set();
981
981
  function i(a) {
982
- if (Pr(e, a) && (e = a, r)) {
983
- const c = !Te.length;
982
+ if (Tr(e, a) && (e = a, r)) {
983
+ const c = !Pe.length;
984
984
  for (const l of n)
985
- l[1](), Te.push(l, e);
985
+ l[1](), Pe.push(l, e);
986
986
  if (c) {
987
- for (let l = 0; l < Te.length; l += 2)
988
- Te[l][0](Te[l + 1]);
989
- Te.length = 0;
987
+ for (let l = 0; l < Pe.length; l += 2)
988
+ Pe[l][0](Pe[l + 1]);
989
+ Pe.length = 0;
990
990
  }
991
991
  }
992
992
  }
@@ -1006,7 +1006,7 @@ function Me(e, t, r) {
1006
1006
  if (!i.every(Boolean))
1007
1007
  throw new Error("derived() expects stores as input, got a falsy value");
1008
1008
  const o = t.length < 2;
1009
- return Vn(r, (s, a) => {
1009
+ return Xn(r, (s, a) => {
1010
1010
  let c = !1;
1011
1011
  const l = [];
1012
1012
  let u = 0, f = Z;
@@ -1015,9 +1015,9 @@ function Me(e, t, r) {
1015
1015
  return;
1016
1016
  f();
1017
1017
  const y = t(n ? l[0] : l, s, a);
1018
- o ? s(y) : f = Vt(y) ? y : Z;
1018
+ o ? s(y) : f = zt(y) ? y : Z;
1019
1019
  }, b = i.map(
1020
- (y, g) => Tr(
1020
+ (y, g) => Br(
1021
1021
  y,
1022
1022
  (x) => {
1023
1023
  l[g] = x, u &= ~(1 << g), c && d();
@@ -1032,70 +1032,70 @@ function Me(e, t, r) {
1032
1032
  };
1033
1033
  });
1034
1034
  }
1035
- function zn(e) {
1035
+ function Wn(e) {
1036
1036
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1037
1037
  }
1038
- var Xn = function(t) {
1039
- return Wn(t) && !Zn(t);
1038
+ var Zn = function(t) {
1039
+ return qn(t) && !Jn(t);
1040
1040
  };
1041
- function Wn(e) {
1041
+ function qn(e) {
1042
1042
  return !!e && typeof e == "object";
1043
1043
  }
1044
- function Zn(e) {
1044
+ function Jn(e) {
1045
1045
  var t = Object.prototype.toString.call(e);
1046
- return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
1046
+ return t === "[object RegExp]" || t === "[object Date]" || Kn(e);
1047
1047
  }
1048
- var qn = typeof Symbol == "function" && Symbol.for, Jn = qn ? Symbol.for("react.element") : 60103;
1049
- function Qn(e) {
1050
- return e.$$typeof === Jn;
1048
+ var Qn = typeof Symbol == "function" && Symbol.for, Yn = Qn ? Symbol.for("react.element") : 60103;
1049
+ function Kn(e) {
1050
+ return e.$$typeof === Yn;
1051
1051
  }
1052
- function Yn(e) {
1052
+ function ei(e) {
1053
1053
  return Array.isArray(e) ? [] : {};
1054
1054
  }
1055
- function ze(e, t) {
1056
- return t.clone !== !1 && t.isMergeableObject(e) ? Ae(Yn(e), e, t) : e;
1055
+ function We(e, t) {
1056
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ae(ei(e), e, t) : e;
1057
1057
  }
1058
- function Kn(e, t, r) {
1058
+ function ti(e, t, r) {
1059
1059
  return e.concat(t).map(function(n) {
1060
- return ze(n, r);
1060
+ return We(n, r);
1061
1061
  });
1062
1062
  }
1063
- function ei(e, t) {
1063
+ function ri(e, t) {
1064
1064
  if (!t.customMerge)
1065
1065
  return Ae;
1066
1066
  var r = t.customMerge(e);
1067
1067
  return typeof r == "function" ? r : Ae;
1068
1068
  }
1069
- function ti(e) {
1069
+ function ni(e) {
1070
1070
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1071
1071
  return Object.propertyIsEnumerable.call(e, t);
1072
1072
  }) : [];
1073
1073
  }
1074
- function ir(e) {
1075
- return Object.keys(e).concat(ti(e));
1074
+ function or(e) {
1075
+ return Object.keys(e).concat(ni(e));
1076
1076
  }
1077
- function Mr(e, t) {
1077
+ function Nr(e, t) {
1078
1078
  try {
1079
1079
  return t in e;
1080
1080
  } catch {
1081
1081
  return !1;
1082
1082
  }
1083
1083
  }
1084
- function ri(e, t) {
1085
- return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1084
+ function ii(e, t) {
1085
+ return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1086
1086
  }
1087
- function ni(e, t, r) {
1087
+ function oi(e, t, r) {
1088
1088
  var n = {};
1089
- return r.isMergeableObject(e) && ir(e).forEach(function(i) {
1090
- n[i] = ze(e[i], r);
1091
- }), ir(t).forEach(function(i) {
1092
- ri(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
1089
+ return r.isMergeableObject(e) && or(e).forEach(function(i) {
1090
+ n[i] = We(e[i], r);
1091
+ }), or(t).forEach(function(i) {
1092
+ ii(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ri(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1093
1093
  }), n;
1094
1094
  }
1095
1095
  function Ae(e, t, r) {
1096
- r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = ze;
1096
+ r = r || {}, r.arrayMerge = r.arrayMerge || ti, r.isMergeableObject = r.isMergeableObject || Zn, r.cloneUnlessOtherwiseSpecified = We;
1097
1097
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1098
- return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : ze(t, r);
1098
+ return o ? n ? r.arrayMerge(e, t, r) : oi(e, t, r) : We(t, r);
1099
1099
  }
1100
1100
  Ae.all = function(t, r) {
1101
1101
  if (!Array.isArray(t))
@@ -1104,20 +1104,20 @@ Ae.all = function(t, r) {
1104
1104
  return Ae(n, i, r);
1105
1105
  }, {});
1106
1106
  };
1107
- var ii = Ae, oi = ii;
1108
- const si = /* @__PURE__ */ zn(oi);
1109
- var Nt = function(e, t) {
1110
- return Nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1107
+ var si = Ae, ai = si;
1108
+ const li = /* @__PURE__ */ Wn(ai);
1109
+ var Rt = function(e, t) {
1110
+ return Rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1111
1111
  r.__proto__ = n;
1112
1112
  } || function(r, n) {
1113
1113
  for (var i in n)
1114
1114
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1115
- }, Nt(e, t);
1115
+ }, Rt(e, t);
1116
1116
  };
1117
- function mt(e, t) {
1117
+ function gt(e, t) {
1118
1118
  if (typeof t != "function" && t !== null)
1119
1119
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1120
- Nt(e, t);
1120
+ Rt(e, t);
1121
1121
  function r() {
1122
1122
  this.constructor = e;
1123
1123
  }
@@ -1133,7 +1133,7 @@ var ie = function() {
1133
1133
  return t;
1134
1134
  }, ie.apply(this, arguments);
1135
1135
  };
1136
- function ai(e, t) {
1136
+ function ui(e, t) {
1137
1137
  var r = {};
1138
1138
  for (var n in e)
1139
1139
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1142,43 +1142,43 @@ function ai(e, t) {
1142
1142
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1143
1143
  return r;
1144
1144
  }
1145
- function Et(e, t, r) {
1145
+ function wt(e, t, r) {
1146
1146
  if (r || arguments.length === 2)
1147
1147
  for (var n = 0, i = t.length, o; n < i; n++)
1148
1148
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1149
1149
  return e.concat(o || Array.prototype.slice.call(t));
1150
1150
  }
1151
- function wt(e, t) {
1152
- var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : ci;
1151
+ function xt(e, t) {
1152
+ var r = t && t.cache ? t.cache : gi, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : fi;
1153
1153
  return i(e, {
1154
1154
  cache: r,
1155
1155
  serializer: n
1156
1156
  });
1157
1157
  }
1158
- function li(e) {
1158
+ function ci(e) {
1159
1159
  return e == null || typeof e == "number" || typeof e == "boolean";
1160
1160
  }
1161
- function ui(e, t, r, n) {
1162
- var i = li(n) ? n : r(n), o = t.get(i);
1161
+ function hi(e, t, r, n) {
1162
+ var i = ci(n) ? n : r(n), o = t.get(i);
1163
1163
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1164
1164
  }
1165
- function Nr(e, t, r) {
1165
+ function Rr(e, t, r) {
1166
1166
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1167
1167
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1168
1168
  }
1169
- function Rr(e, t, r, n, i) {
1169
+ function Ur(e, t, r, n, i) {
1170
1170
  return r.bind(t, e, n, i);
1171
1171
  }
1172
- function ci(e, t) {
1173
- var r = e.length === 1 ? ui : Nr;
1174
- return Rr(e, this, r, t.cache.create(), t.serializer);
1172
+ function fi(e, t) {
1173
+ var r = e.length === 1 ? hi : Rr;
1174
+ return Ur(e, this, r, t.cache.create(), t.serializer);
1175
1175
  }
1176
- function hi(e, t) {
1177
- return Rr(e, this, Nr, t.cache.create(), t.serializer);
1176
+ function di(e, t) {
1177
+ return Ur(e, this, Rr, t.cache.create(), t.serializer);
1178
1178
  }
1179
- var fi = function() {
1179
+ var pi = function() {
1180
1180
  return JSON.stringify(arguments);
1181
- }, di = (
1181
+ }, mi = (
1182
1182
  /** @class */
1183
1183
  function() {
1184
1184
  function e() {
@@ -1190,21 +1190,21 @@ var fi = function() {
1190
1190
  this.cache[t] = r;
1191
1191
  }, e;
1192
1192
  }()
1193
- ), pi = {
1193
+ ), gi = {
1194
1194
  create: function() {
1195
- return new di();
1195
+ return new mi();
1196
1196
  }
1197
- }, xt = {
1198
- variadic: hi
1199
- }, ct = function() {
1200
- return ct = Object.assign || function(t) {
1197
+ }, St = {
1198
+ variadic: di
1199
+ }, ht = function() {
1200
+ return ht = Object.assign || function(t) {
1201
1201
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1202
1202
  r = arguments[n];
1203
1203
  for (var o in r)
1204
1204
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1205
1205
  }
1206
1206
  return t;
1207
- }, ct.apply(this, arguments);
1207
+ }, ht.apply(this, arguments);
1208
1208
  };
1209
1209
  var _;
1210
1210
  (function(e) {
@@ -1218,43 +1218,43 @@ var Ie;
1218
1218
  (function(e) {
1219
1219
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1220
1220
  })(Ie || (Ie = {}));
1221
- function or(e) {
1221
+ function sr(e) {
1222
1222
  return e.type === P.literal;
1223
1223
  }
1224
- function mi(e) {
1224
+ function bi(e) {
1225
1225
  return e.type === P.argument;
1226
1226
  }
1227
- function Ur(e) {
1227
+ function Fr(e) {
1228
1228
  return e.type === P.number;
1229
1229
  }
1230
- function Fr(e) {
1230
+ function Dr(e) {
1231
1231
  return e.type === P.date;
1232
1232
  }
1233
- function Dr(e) {
1233
+ function kr(e) {
1234
1234
  return e.type === P.time;
1235
1235
  }
1236
- function kr(e) {
1236
+ function $r(e) {
1237
1237
  return e.type === P.select;
1238
1238
  }
1239
- function $r(e) {
1239
+ function Gr(e) {
1240
1240
  return e.type === P.plural;
1241
1241
  }
1242
- function gi(e) {
1242
+ function vi(e) {
1243
1243
  return e.type === P.pound;
1244
1244
  }
1245
- function Gr(e) {
1245
+ function jr(e) {
1246
1246
  return e.type === P.tag;
1247
1247
  }
1248
- function jr(e) {
1248
+ function Vr(e) {
1249
1249
  return !!(e && typeof e == "object" && e.type === Ie.number);
1250
1250
  }
1251
- function Rt(e) {
1251
+ function Ut(e) {
1252
1252
  return !!(e && typeof e == "object" && e.type === Ie.dateTime);
1253
1253
  }
1254
- var Vr = /[ \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;
1255
- function vi(e) {
1254
+ var zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
1255
+ function _i(e) {
1256
1256
  var t = {};
1257
- return e.replace(bi, function(r) {
1257
+ return e.replace(yi, function(r) {
1258
1258
  var n = r.length;
1259
1259
  switch (r[0]) {
1260
1260
  case "G":
@@ -1353,11 +1353,11 @@ var B = function() {
1353
1353
  return t;
1354
1354
  }, B.apply(this, arguments);
1355
1355
  };
1356
- var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
- function _i(e) {
1356
+ var Ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1357
+ function wi(e) {
1358
1358
  if (e.length === 0)
1359
1359
  throw new Error("Number skeleton cannot be empty");
1360
- for (var t = e.split(yi).filter(function(d) {
1360
+ for (var t = e.split(Ei).filter(function(d) {
1361
1361
  return d.length > 0;
1362
1362
  }), r = [], n = 0, i = t; n < i.length; n++) {
1363
1363
  var o = i[n], s = o.split("/");
@@ -1372,17 +1372,17 @@ function _i(e) {
1372
1372
  }
1373
1373
  return r;
1374
1374
  }
1375
- function Ei(e) {
1375
+ function xi(e) {
1376
1376
  return e.replace(/^(.*?)-/, "");
1377
1377
  }
1378
- var sr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g, wi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
1379
- function ar(e) {
1378
+ var ar = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xr = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
1379
+ function lr(e) {
1380
1380
  var t = {};
1381
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zr, function(r, n, i) {
1381
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xr, function(r, n, i) {
1382
1382
  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)), "";
1383
1383
  }), t;
1384
1384
  }
1385
- function Wr(e) {
1385
+ function Zr(e) {
1386
1386
  switch (e) {
1387
1387
  case "sign-auto":
1388
1388
  return {
@@ -1422,7 +1422,7 @@ function Wr(e) {
1422
1422
  };
1423
1423
  }
1424
1424
  }
1425
- function xi(e) {
1425
+ function Pi(e) {
1426
1426
  var t;
1427
1427
  if (e[0] === "E" && e[1] === "E" ? (t = {
1428
1428
  notation: "engineering"
@@ -1430,17 +1430,17 @@ function xi(e) {
1430
1430
  notation: "scientific"
1431
1431
  }, e = e.slice(1)), t) {
1432
1432
  var r = e.slice(0, 2);
1433
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
1433
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
1434
1434
  throw new Error("Malformed concise eng/scientific notation");
1435
1435
  t.minimumIntegerDigits = e.length;
1436
1436
  }
1437
1437
  return t;
1438
1438
  }
1439
- function lr(e) {
1440
- var t = {}, r = Wr(e);
1439
+ function ur(e) {
1440
+ var t = {}, r = Zr(e);
1441
1441
  return r || t;
1442
1442
  }
1443
- function Si(e) {
1443
+ function Ti(e) {
1444
1444
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1445
1445
  var i = n[r];
1446
1446
  switch (i.stem) {
@@ -1464,7 +1464,7 @@ function Si(e) {
1464
1464
  continue;
1465
1465
  case "measure-unit":
1466
1466
  case "unit":
1467
- t.style = "unit", t.unit = Ei(i.options[0]);
1467
+ t.style = "unit", t.unit = xi(i.options[0]);
1468
1468
  continue;
1469
1469
  case "compact-short":
1470
1470
  case "K":
@@ -1476,12 +1476,12 @@ function Si(e) {
1476
1476
  continue;
1477
1477
  case "scientific":
1478
1478
  t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1479
- return B(B({}, c), lr(l));
1479
+ return B(B({}, c), ur(l));
1480
1480
  }, {}));
1481
1481
  continue;
1482
1482
  case "engineering":
1483
1483
  t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1484
- return B(B({}, c), lr(l));
1484
+ return B(B({}, c), ur(l));
1485
1485
  }, {}));
1486
1486
  continue;
1487
1487
  case "notation-simple":
@@ -1526,7 +1526,7 @@ function Si(e) {
1526
1526
  case "integer-width":
1527
1527
  if (i.options.length > 1)
1528
1528
  throw new RangeError("integer-width stems only accept a single optional option");
1529
- i.options[0].replace(wi, function(c, l, u, f, d, b) {
1529
+ i.options[0].replace(Si, function(c, l, u, f, d, b) {
1530
1530
  if (l)
1531
1531
  t.minimumIntegerDigits = u.length;
1532
1532
  else {
@@ -1539,32 +1539,32 @@ function Si(e) {
1539
1539
  });
1540
1540
  continue;
1541
1541
  }
1542
- if (Xr.test(i.stem)) {
1542
+ if (Wr.test(i.stem)) {
1543
1543
  t.minimumIntegerDigits = i.stem.length;
1544
1544
  continue;
1545
1545
  }
1546
- if (sr.test(i.stem)) {
1546
+ if (ar.test(i.stem)) {
1547
1547
  if (i.options.length > 1)
1548
1548
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1549
- i.stem.replace(sr, function(c, l, u, f, d, b) {
1549
+ i.stem.replace(ar, function(c, l, u, f, d, b) {
1550
1550
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1551
1551
  });
1552
1552
  var o = i.options[0];
1553
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), ar(o)));
1553
+ o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), lr(o)));
1554
1554
  continue;
1555
1555
  }
1556
- if (zr.test(i.stem)) {
1557
- t = B(B({}, t), ar(i.stem));
1556
+ if (Xr.test(i.stem)) {
1557
+ t = B(B({}, t), lr(i.stem));
1558
1558
  continue;
1559
1559
  }
1560
- var s = Wr(i.stem);
1560
+ var s = Zr(i.stem);
1561
1561
  s && (t = B(B({}, t), s));
1562
- var a = xi(i.stem);
1562
+ var a = Pi(i.stem);
1563
1563
  a && (t = B(B({}, t), a));
1564
1564
  }
1565
1565
  return t;
1566
1566
  }
1567
- var it = {
1567
+ var ot = {
1568
1568
  "001": [
1569
1569
  "H",
1570
1570
  "h"
@@ -2979,13 +2979,13 @@ var it = {
2979
2979
  "h"
2980
2980
  ]
2981
2981
  };
2982
- function Pi(e, t) {
2982
+ function Bi(e, t) {
2983
2983
  for (var r = "", n = 0; n < e.length; n++) {
2984
2984
  var i = e.charAt(n);
2985
2985
  if (i === "j") {
2986
2986
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2987
2987
  o++, n++;
2988
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ti(t);
2988
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Hi(t);
2989
2989
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2990
2990
  r += c;
2991
2991
  for (; s-- > 0; )
@@ -2995,7 +2995,7 @@ function Pi(e, t) {
2995
2995
  }
2996
2996
  return r;
2997
2997
  }
2998
- function Ti(e) {
2998
+ function Hi(e) {
2999
2999
  var t = e.hourCycle;
3000
3000
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3001
3001
  e.hourCycles && // @ts-ignore
@@ -3014,23 +3014,23 @@ function Ti(e) {
3014
3014
  }
3015
3015
  var r = e.language, n;
3016
3016
  r !== "root" && (n = e.maximize().region);
3017
- var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
3017
+ var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
3018
3018
  return i[0];
3019
3019
  }
3020
- var St, Bi = new RegExp("^".concat(Vr.source, "*")), Hi = new RegExp("".concat(Vr.source, "*$"));
3020
+ var Pt, Ai = new RegExp("^".concat(zr.source, "*")), Ii = new RegExp("".concat(zr.source, "*$"));
3021
3021
  function E(e, t) {
3022
3022
  return { start: e, end: t };
3023
3023
  }
3024
- var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ii = !!String.fromCodePoint, Oi = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Li = !!String.prototype.trimStart, Mi = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Ri = Ni ? Number.isSafeInteger : function(e) {
3024
+ var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Li = !!Object.fromEntries, Mi = !!String.prototype.codePointAt, Ni = !!String.prototype.trimStart, Ri = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Fi = Ui ? Number.isSafeInteger : function(e) {
3025
3025
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3026
- }, Ut = !0;
3026
+ }, Ft = !0;
3027
3027
  try {
3028
- var Ui = qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3029
- Ut = ((St = Ui.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
3028
+ var Di = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3029
+ Ft = ((Pt = Di.exec("a")) === null || Pt === void 0 ? void 0 : Pt[0]) === "a";
3030
3030
  } catch {
3031
- Ut = !1;
3031
+ Ft = !1;
3032
3032
  }
3033
- var ur = Ai ? (
3033
+ var cr = Oi ? (
3034
3034
  // Native
3035
3035
  function(t, r, n) {
3036
3036
  return t.startsWith(r, n);
@@ -3040,7 +3040,7 @@ var ur = Ai ? (
3040
3040
  function(t, r, n) {
3041
3041
  return t.slice(n, n + r.length) === r;
3042
3042
  }
3043
- ), Ft = Ii ? String.fromCodePoint : (
3043
+ ), Dt = Ci ? String.fromCodePoint : (
3044
3044
  // IE11
3045
3045
  function() {
3046
3046
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3052,9 +3052,9 @@ var ur = Ai ? (
3052
3052
  }
3053
3053
  return n;
3054
3054
  }
3055
- ), cr = (
3055
+ ), hr = (
3056
3056
  // native
3057
- Oi ? Object.fromEntries : (
3057
+ Li ? Object.fromEntries : (
3058
3058
  // Ponyfill
3059
3059
  function(t) {
3060
3060
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3064,7 +3064,7 @@ var ur = Ai ? (
3064
3064
  return r;
3065
3065
  }
3066
3066
  )
3067
- ), Zr = Ci ? (
3067
+ ), qr = Mi ? (
3068
3068
  // Native
3069
3069
  function(t, r) {
3070
3070
  return t.codePointAt(r);
@@ -3078,7 +3078,7 @@ var ur = Ai ? (
3078
3078
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3079
3079
  }
3080
3080
  }
3081
- ), Fi = Li ? (
3081
+ ), ki = Ni ? (
3082
3082
  // Native
3083
3083
  function(t) {
3084
3084
  return t.trimStart();
@@ -3086,9 +3086,9 @@ var ur = Ai ? (
3086
3086
  ) : (
3087
3087
  // Ponyfill
3088
3088
  function(t) {
3089
- return t.replace(Bi, "");
3089
+ return t.replace(Ai, "");
3090
3090
  }
3091
- ), Di = Mi ? (
3091
+ ), $i = Ri ? (
3092
3092
  // Native
3093
3093
  function(t) {
3094
3094
  return t.trimEnd();
@@ -3096,32 +3096,32 @@ var ur = Ai ? (
3096
3096
  ) : (
3097
3097
  // Ponyfill
3098
3098
  function(t) {
3099
- return t.replace(Hi, "");
3099
+ return t.replace(Ii, "");
3100
3100
  }
3101
3101
  );
3102
- function qr(e, t) {
3102
+ function Jr(e, t) {
3103
3103
  return new RegExp(e, t);
3104
3104
  }
3105
- var Dt;
3106
- if (Ut) {
3107
- var hr = qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3108
- Dt = function(t, r) {
3105
+ var kt;
3106
+ if (Ft) {
3107
+ var fr = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3108
+ kt = function(t, r) {
3109
3109
  var n;
3110
- hr.lastIndex = r;
3111
- var i = hr.exec(t);
3110
+ fr.lastIndex = r;
3111
+ var i = fr.exec(t);
3112
3112
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3113
3113
  };
3114
3114
  } else
3115
- Dt = function(t, r) {
3115
+ kt = function(t, r) {
3116
3116
  for (var n = []; ; ) {
3117
- var i = Zr(t, r);
3118
- if (i === void 0 || Jr(i) || ji(i))
3117
+ var i = qr(t, r);
3118
+ if (i === void 0 || Qr(i) || zi(i))
3119
3119
  break;
3120
3120
  n.push(i), r += i >= 65536 ? 2 : 1;
3121
3121
  }
3122
- return Ft.apply(void 0, n);
3122
+ return Dt.apply(void 0, n);
3123
3123
  };
3124
- var ki = (
3124
+ var Gi = (
3125
3125
  /** @class */
3126
3126
  function() {
3127
3127
  function e(t, r) {
@@ -3152,7 +3152,7 @@ var ki = (
3152
3152
  if (n)
3153
3153
  break;
3154
3154
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3155
- } else if (o === 60 && !this.ignoreTag && kt(this.peek() || 0)) {
3155
+ } else if (o === 60 && !this.ignoreTag && $t(this.peek() || 0)) {
3156
3156
  var s = this.parseTag(t, r);
3157
3157
  if (s.err)
3158
3158
  return s;
@@ -3185,7 +3185,7 @@ var ki = (
3185
3185
  return o;
3186
3186
  var s = o.val, a = this.clonePosition();
3187
3187
  if (this.bumpIf("</")) {
3188
- if (this.isEOF() || !kt(this.char()))
3188
+ if (this.isEOF() || !$t(this.char()))
3189
3189
  return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3190
3190
  var c = this.clonePosition(), l = this.parseTagName();
3191
3191
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3203,7 +3203,7 @@ var ki = (
3203
3203
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3204
3204
  }, e.prototype.parseTagName = function() {
3205
3205
  var t = this.offset();
3206
- for (this.bump(); !this.isEOF() && Gi(this.char()); )
3206
+ for (this.bump(); !this.isEOF() && Vi(this.char()); )
3207
3207
  this.bump();
3208
3208
  return this.message.slice(t, this.offset());
3209
3209
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3232,7 +3232,7 @@ var ki = (
3232
3232
  };
3233
3233
  }, e.prototype.tryParseLeftAngleBracket = function() {
3234
3234
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3235
- !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3235
+ !ji(this.peek() || 0)) ? (this.bump(), "<") : null;
3236
3236
  }, e.prototype.tryParseQuote = function(t) {
3237
3237
  if (this.isEOF() || this.char() !== 39)
3238
3238
  return null;
@@ -3266,12 +3266,12 @@ var ki = (
3266
3266
  r.push(n);
3267
3267
  this.bump();
3268
3268
  }
3269
- return Ft.apply(void 0, r);
3269
+ return Dt.apply(void 0, r);
3270
3270
  }, e.prototype.tryParseUnquoted = function(t, r) {
3271
3271
  if (this.isEOF())
3272
3272
  return null;
3273
3273
  var n = this.char();
3274
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ft(n));
3274
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Dt(n));
3275
3275
  }, e.prototype.parseArgument = function(t, r) {
3276
3276
  var n = this.clonePosition();
3277
3277
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3300,7 +3300,7 @@ var ki = (
3300
3300
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3301
3301
  }
3302
3302
  }, e.prototype.parseIdentifierIfPossible = function() {
3303
- var t = this.clonePosition(), r = this.offset(), n = Dt(this.message, r), i = r + n.length;
3303
+ var t = this.clonePosition(), r = this.offset(), n = kt(this.message, r), i = r + n.length;
3304
3304
  this.bumpTo(i);
3305
3305
  var o = this.clonePosition(), s = E(t, o);
3306
3306
  return { value: n, location: s };
@@ -3319,7 +3319,7 @@ var ki = (
3319
3319
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3320
3320
  if (f.err)
3321
3321
  return f;
3322
- var d = Di(f.val);
3322
+ var d = $i(f.val);
3323
3323
  if (d.length === 0)
3324
3324
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3325
3325
  var b = E(u, this.clonePosition());
@@ -3329,8 +3329,8 @@ var ki = (
3329
3329
  if (y.err)
3330
3330
  return y;
3331
3331
  var g = E(i, this.clonePosition());
3332
- if (l && ur(l?.style, "::", 0)) {
3333
- var x = Fi(l.style.slice(2));
3332
+ if (l && cr(l?.style, "::", 0)) {
3333
+ var x = ki(l.style.slice(2));
3334
3334
  if (a === "number") {
3335
3335
  var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3336
3336
  return f.err ? f : {
@@ -3340,13 +3340,13 @@ var ki = (
3340
3340
  } else {
3341
3341
  if (x.length === 0)
3342
3342
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3343
- var O = x;
3344
- this.locale && (O = Pi(x, this.locale));
3343
+ var C = x;
3344
+ this.locale && (C = Bi(x, this.locale));
3345
3345
  var d = {
3346
3346
  type: Ie.dateTime,
3347
- pattern: O,
3347
+ pattern: C,
3348
3348
  location: l.styleLocation,
3349
- parsedOptions: this.shouldParseSkeletons ? vi(O) : {}
3349
+ parsedOptions: this.shouldParseSkeletons ? _i(C) : {}
3350
3350
  }, z = a === "date" ? P.date : P.time;
3351
3351
  return {
3352
3352
  val: { type: z, value: n, location: g, style: d },
@@ -3369,9 +3369,9 @@ var ki = (
3369
3369
  case "select": {
3370
3370
  var R = this.clonePosition();
3371
3371
  if (this.bumpSpace(), !this.bumpIf(","))
3372
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, ct({}, R)));
3372
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, ht({}, R)));
3373
3373
  this.bumpSpace();
3374
- var U = this.parseIdentifierIfPossible(), A = 0;
3374
+ var U = this.parseIdentifierIfPossible(), I = 0;
3375
3375
  if (a !== "select" && U.value === "offset") {
3376
3376
  if (!this.bumpIf(":"))
3377
3377
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
@@ -3379,7 +3379,7 @@ var ki = (
3379
3379
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3380
3380
  if (f.err)
3381
3381
  return f;
3382
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), A = f.val;
3382
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), I = f.val;
3383
3383
  }
3384
3384
  var re = this.tryParsePluralOrSelectOptions(t, a, r, U);
3385
3385
  if (re.err)
@@ -3392,7 +3392,7 @@ var ki = (
3392
3392
  val: {
3393
3393
  type: P.select,
3394
3394
  value: n,
3395
- options: cr(re.val),
3395
+ options: hr(re.val),
3396
3396
  location: T
3397
3397
  },
3398
3398
  err: null
@@ -3400,8 +3400,8 @@ var ki = (
3400
3400
  val: {
3401
3401
  type: P.plural,
3402
3402
  value: n,
3403
- options: cr(re.val),
3404
- offset: A,
3403
+ options: hr(re.val),
3404
+ offset: I,
3405
3405
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3406
3406
  location: T
3407
3407
  },
@@ -3451,7 +3451,7 @@ var ki = (
3451
3451
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3452
3452
  var n = [];
3453
3453
  try {
3454
- n = _i(t);
3454
+ n = wi(t);
3455
3455
  } catch {
3456
3456
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3457
3457
  }
@@ -3460,7 +3460,7 @@ var ki = (
3460
3460
  type: Ie.number,
3461
3461
  tokens: n,
3462
3462
  location: r,
3463
- parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
3463
+ parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
3464
3464
  },
3465
3465
  err: null
3466
3466
  };
@@ -3508,7 +3508,7 @@ var ki = (
3508
3508
  break;
3509
3509
  }
3510
3510
  var c = E(i, this.clonePosition());
3511
- return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3511
+ return o ? (s *= n, Fi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3512
3512
  }, e.prototype.offset = function() {
3513
3513
  return this.position.offset;
3514
3514
  }, e.prototype.isEOF = function() {
@@ -3523,7 +3523,7 @@ var ki = (
3523
3523
  var t = this.position.offset;
3524
3524
  if (t >= this.message.length)
3525
3525
  throw Error("out of bound");
3526
- var r = Zr(this.message, t);
3526
+ var r = qr(this.message, t);
3527
3527
  if (r === void 0)
3528
3528
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3529
3529
  return r;
@@ -3542,7 +3542,7 @@ var ki = (
3542
3542
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3543
3543
  }
3544
3544
  }, e.prototype.bumpIf = function(t) {
3545
- if (ur(this.message, t, this.offset())) {
3545
+ if (cr(this.message, t, this.offset())) {
3546
3546
  for (var r = 0; r < t.length; r++)
3547
3547
  this.bump();
3548
3548
  return !0;
@@ -3564,7 +3564,7 @@ var ki = (
3564
3564
  break;
3565
3565
  }
3566
3566
  }, e.prototype.bumpSpace = function() {
3567
- for (; !this.isEOF() && Jr(this.char()); )
3567
+ for (; !this.isEOF() && Qr(this.char()); )
3568
3568
  this.bump();
3569
3569
  }, e.prototype.peek = function() {
3570
3570
  if (this.isEOF())
@@ -3574,47 +3574,47 @@ var ki = (
3574
3574
  }, e;
3575
3575
  }()
3576
3576
  );
3577
- function kt(e) {
3577
+ function $t(e) {
3578
3578
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3579
3579
  }
3580
- function $i(e) {
3581
- return kt(e) || e === 47;
3580
+ function ji(e) {
3581
+ return $t(e) || e === 47;
3582
3582
  }
3583
- function Gi(e) {
3583
+ function Vi(e) {
3584
3584
  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;
3585
3585
  }
3586
- function Jr(e) {
3586
+ function Qr(e) {
3587
3587
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3588
3588
  }
3589
- function ji(e) {
3589
+ function zi(e) {
3590
3590
  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;
3591
3591
  }
3592
- function $t(e) {
3592
+ function Gt(e) {
3593
3593
  e.forEach(function(t) {
3594
- if (delete t.location, kr(t) || $r(t))
3594
+ if (delete t.location, $r(t) || Gr(t))
3595
3595
  for (var r in t.options)
3596
- delete t.options[r].location, $t(t.options[r].value);
3596
+ delete t.options[r].location, Gt(t.options[r].value);
3597
3597
  else
3598
- Ur(t) && jr(t.style) || (Fr(t) || Dr(t)) && Rt(t.style) ? delete t.style.location : Gr(t) && $t(t.children);
3598
+ Fr(t) && Vr(t.style) || (Dr(t) || kr(t)) && Ut(t.style) ? delete t.style.location : jr(t) && Gt(t.children);
3599
3599
  });
3600
3600
  }
3601
- function Vi(e, t) {
3602
- t === void 0 && (t = {}), t = ct({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3603
- var r = new ki(e, t).parse();
3601
+ function Xi(e, t) {
3602
+ t === void 0 && (t = {}), t = ht({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3603
+ var r = new Gi(e, t).parse();
3604
3604
  if (r.err) {
3605
3605
  var n = SyntaxError(_[r.err.kind]);
3606
3606
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3607
3607
  }
3608
- return t?.captureLocation || $t(r.val), r.val;
3608
+ return t?.captureLocation || Gt(r.val), r.val;
3609
3609
  }
3610
3610
  var Oe;
3611
3611
  (function(e) {
3612
3612
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3613
3613
  })(Oe || (Oe = {}));
3614
- var gt = (
3614
+ var bt = (
3615
3615
  /** @class */
3616
3616
  function(e) {
3617
- mt(t, e);
3617
+ gt(t, e);
3618
3618
  function t(r, n, i) {
3619
3619
  var o = e.call(this, r) || this;
3620
3620
  return o.code = n, o.originalMessage = i, o;
@@ -3623,48 +3623,48 @@ var gt = (
3623
3623
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3624
3624
  }, t;
3625
3625
  }(Error)
3626
- ), fr = (
3626
+ ), dr = (
3627
3627
  /** @class */
3628
3628
  function(e) {
3629
- mt(t, e);
3629
+ gt(t, e);
3630
3630
  function t(r, n, i, o) {
3631
3631
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
3632
3632
  }
3633
3633
  return t;
3634
- }(gt)
3635
- ), zi = (
3634
+ }(bt)
3635
+ ), Wi = (
3636
3636
  /** @class */
3637
3637
  function(e) {
3638
- mt(t, e);
3638
+ gt(t, e);
3639
3639
  function t(r, n, i) {
3640
3640
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
3641
3641
  }
3642
3642
  return t;
3643
- }(gt)
3644
- ), Xi = (
3643
+ }(bt)
3644
+ ), Zi = (
3645
3645
  /** @class */
3646
3646
  function(e) {
3647
- mt(t, e);
3647
+ gt(t, e);
3648
3648
  function t(r, n) {
3649
3649
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
3650
3650
  }
3651
3651
  return t;
3652
- }(gt)
3652
+ }(bt)
3653
3653
  ), V;
3654
3654
  (function(e) {
3655
3655
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3656
3656
  })(V || (V = {}));
3657
- function Wi(e) {
3657
+ function qi(e) {
3658
3658
  return e.length < 2 ? e : e.reduce(function(t, r) {
3659
3659
  var n = t[t.length - 1];
3660
3660
  return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
3661
3661
  }, []);
3662
3662
  }
3663
- function Zi(e) {
3663
+ function Ji(e) {
3664
3664
  return typeof e == "function";
3665
3665
  }
3666
- function at(e, t, r, n, i, o, s) {
3667
- if (e.length === 1 && or(e[0]))
3666
+ function lt(e, t, r, n, i, o, s) {
3667
+ if (e.length === 1 && sr(e[0]))
3668
3668
  return [
3669
3669
  {
3670
3670
  type: V.literal,
@@ -3673,14 +3673,14 @@ function at(e, t, r, n, i, o, s) {
3673
3673
  ];
3674
3674
  for (var a = [], c = 0, l = e; c < l.length; c++) {
3675
3675
  var u = l[c];
3676
- if (or(u)) {
3676
+ if (sr(u)) {
3677
3677
  a.push({
3678
3678
  type: V.literal,
3679
3679
  value: u.value
3680
3680
  });
3681
3681
  continue;
3682
3682
  }
3683
- if (gi(u)) {
3683
+ if (vi(u)) {
3684
3684
  typeof o == "number" && a.push({
3685
3685
  type: V.literal,
3686
3686
  value: r.getNumberFormat(t).format(o)
@@ -3689,89 +3689,89 @@ function at(e, t, r, n, i, o, s) {
3689
3689
  }
3690
3690
  var f = u.value;
3691
3691
  if (!(i && f in i))
3692
- throw new Xi(f, s);
3692
+ throw new Zi(f, s);
3693
3693
  var d = i[f];
3694
- if (mi(u)) {
3694
+ if (bi(u)) {
3695
3695
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3696
3696
  type: typeof d == "string" ? V.literal : V.object,
3697
3697
  value: d
3698
3698
  });
3699
3699
  continue;
3700
3700
  }
3701
- if (Fr(u)) {
3702
- var b = typeof u.style == "string" ? n.date[u.style] : Rt(u.style) ? u.style.parsedOptions : void 0;
3701
+ if (Dr(u)) {
3702
+ var b = typeof u.style == "string" ? n.date[u.style] : Ut(u.style) ? u.style.parsedOptions : void 0;
3703
3703
  a.push({
3704
3704
  type: V.literal,
3705
3705
  value: r.getDateTimeFormat(t, b).format(d)
3706
3706
  });
3707
3707
  continue;
3708
3708
  }
3709
- if (Dr(u)) {
3710
- var b = typeof u.style == "string" ? n.time[u.style] : Rt(u.style) ? u.style.parsedOptions : n.time.medium;
3709
+ if (kr(u)) {
3710
+ var b = typeof u.style == "string" ? n.time[u.style] : Ut(u.style) ? u.style.parsedOptions : n.time.medium;
3711
3711
  a.push({
3712
3712
  type: V.literal,
3713
3713
  value: r.getDateTimeFormat(t, b).format(d)
3714
3714
  });
3715
3715
  continue;
3716
3716
  }
3717
- if (Ur(u)) {
3718
- var b = typeof u.style == "string" ? n.number[u.style] : jr(u.style) ? u.style.parsedOptions : void 0;
3717
+ if (Fr(u)) {
3718
+ var b = typeof u.style == "string" ? n.number[u.style] : Vr(u.style) ? u.style.parsedOptions : void 0;
3719
3719
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3720
3720
  type: V.literal,
3721
3721
  value: r.getNumberFormat(t, b).format(d)
3722
3722
  });
3723
3723
  continue;
3724
3724
  }
3725
- if (Gr(u)) {
3725
+ if (jr(u)) {
3726
3726
  var y = u.children, g = u.value, x = i[g];
3727
- if (!Zi(x))
3728
- throw new zi(g, "function", s);
3729
- var O = at(y, t, r, n, i, o), z = x(O.map(function(A) {
3730
- return A.value;
3727
+ if (!Ji(x))
3728
+ throw new Wi(g, "function", s);
3729
+ var C = lt(y, t, r, n, i, o), z = x(C.map(function(I) {
3730
+ return I.value;
3731
3731
  }));
3732
- Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
3732
+ Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(I) {
3733
3733
  return {
3734
- type: typeof A == "string" ? V.literal : V.object,
3735
- value: A
3734
+ type: typeof I == "string" ? V.literal : V.object,
3735
+ value: I
3736
3736
  };
3737
3737
  }));
3738
3738
  }
3739
- if (kr(u)) {
3739
+ if ($r(u)) {
3740
3740
  var R = u.options[d] || u.options.other;
3741
3741
  if (!R)
3742
- throw new fr(u.value, d, Object.keys(u.options), s);
3743
- a.push.apply(a, at(R.value, t, r, n, i));
3742
+ throw new dr(u.value, d, Object.keys(u.options), s);
3743
+ a.push.apply(a, lt(R.value, t, r, n, i));
3744
3744
  continue;
3745
3745
  }
3746
- if ($r(u)) {
3746
+ if (Gr(u)) {
3747
3747
  var R = u.options["=".concat(d)];
3748
3748
  if (!R) {
3749
3749
  if (!Intl.PluralRules)
3750
- throw new gt(`Intl.PluralRules is not available in this environment.
3750
+ throw new bt(`Intl.PluralRules is not available in this environment.
3751
3751
  Try polyfilling it using "@formatjs/intl-pluralrules"
3752
3752
  `, Oe.MISSING_INTL_API, s);
3753
3753
  var U = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3754
3754
  R = u.options[U] || u.options.other;
3755
3755
  }
3756
3756
  if (!R)
3757
- throw new fr(u.value, d, Object.keys(u.options), s);
3758
- a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
3757
+ throw new dr(u.value, d, Object.keys(u.options), s);
3758
+ a.push.apply(a, lt(R.value, t, r, n, i, d - (u.offset || 0)));
3759
3759
  continue;
3760
3760
  }
3761
3761
  }
3762
- return Wi(a);
3762
+ return qi(a);
3763
3763
  }
3764
- function qi(e, t) {
3764
+ function Qi(e, t) {
3765
3765
  return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3766
3766
  return r[n] = ie(ie({}, e[n]), t[n] || {}), r;
3767
3767
  }, {})) : e;
3768
3768
  }
3769
- function Ji(e, t) {
3769
+ function Yi(e, t) {
3770
3770
  return t ? Object.keys(e).reduce(function(r, n) {
3771
- return r[n] = qi(e[n], t[n]), r;
3771
+ return r[n] = Qi(e[n], t[n]), r;
3772
3772
  }, ie({}, e)) : e;
3773
3773
  }
3774
- function Pt(e) {
3774
+ function Tt(e) {
3775
3775
  return {
3776
3776
  create: function() {
3777
3777
  return {
@@ -3785,39 +3785,39 @@ function Pt(e) {
3785
3785
  }
3786
3786
  };
3787
3787
  }
3788
- function Qi(e) {
3788
+ function Ki(e) {
3789
3789
  return e === void 0 && (e = {
3790
3790
  number: {},
3791
3791
  dateTime: {},
3792
3792
  pluralRules: {}
3793
3793
  }), {
3794
- getNumberFormat: wt(function() {
3794
+ getNumberFormat: xt(function() {
3795
3795
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3796
  r[n] = arguments[n];
3797
- return new ((t = Intl.NumberFormat).bind.apply(t, Et([void 0], r, !1)))();
3797
+ return new ((t = Intl.NumberFormat).bind.apply(t, wt([void 0], r, !1)))();
3798
3798
  }, {
3799
- cache: Pt(e.number),
3800
- strategy: xt.variadic
3799
+ cache: Tt(e.number),
3800
+ strategy: St.variadic
3801
3801
  }),
3802
- getDateTimeFormat: wt(function() {
3802
+ getDateTimeFormat: xt(function() {
3803
3803
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3804
  r[n] = arguments[n];
3805
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Et([void 0], r, !1)))();
3805
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, wt([void 0], r, !1)))();
3806
3806
  }, {
3807
- cache: Pt(e.dateTime),
3808
- strategy: xt.variadic
3807
+ cache: Tt(e.dateTime),
3808
+ strategy: St.variadic
3809
3809
  }),
3810
- getPluralRules: wt(function() {
3810
+ getPluralRules: xt(function() {
3811
3811
  for (var t, r = [], n = 0; n < arguments.length; n++)
3812
3812
  r[n] = arguments[n];
3813
- return new ((t = Intl.PluralRules).bind.apply(t, Et([void 0], r, !1)))();
3813
+ return new ((t = Intl.PluralRules).bind.apply(t, wt([void 0], r, !1)))();
3814
3814
  }, {
3815
- cache: Pt(e.pluralRules),
3816
- strategy: xt.variadic
3815
+ cache: Tt(e.pluralRules),
3816
+ strategy: St.variadic
3817
3817
  })
3818
3818
  };
3819
3819
  }
3820
- var Yi = (
3820
+ var eo = (
3821
3821
  /** @class */
3822
3822
  function() {
3823
3823
  function e(t, r, n, i) {
@@ -3836,7 +3836,7 @@ var Yi = (
3836
3836
  }, []);
3837
3837
  return u.length <= 1 ? u[0] || "" : u;
3838
3838
  }, this.formatToParts = function(c) {
3839
- return at(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3839
+ return lt(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3840
3840
  }, this.resolvedOptions = function() {
3841
3841
  var c;
3842
3842
  return {
@@ -3849,13 +3849,13 @@ var Yi = (
3849
3849
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3850
3850
  var s = i || {};
3851
3851
  s.formatters;
3852
- var a = ai(s, ["formatters"]);
3852
+ var a = ui(s, ["formatters"]);
3853
3853
  this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3854
3854
  } else
3855
3855
  this.ast = t;
3856
3856
  if (!Array.isArray(this.ast))
3857
3857
  throw new TypeError("A message must be provided as a String or AST.");
3858
- this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
3858
+ this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
3859
3859
  }
3860
3860
  return Object.defineProperty(e, "defaultLocale", {
3861
3861
  get: function() {
@@ -3868,7 +3868,7 @@ var Yi = (
3868
3868
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3869
3869
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3870
3870
  }
3871
- }, e.__parse = Vi, e.formats = {
3871
+ }, e.__parse = Xi, e.formats = {
3872
3872
  number: {
3873
3873
  integer: {
3874
3874
  maximumFractionDigits: 0
@@ -3929,7 +3929,7 @@ var Yi = (
3929
3929
  }, e;
3930
3930
  }()
3931
3931
  );
3932
- function Ki(e, t) {
3932
+ function to(e, t) {
3933
3933
  if (t == null)
3934
3934
  return;
3935
3935
  if (t in e)
@@ -3950,92 +3950,92 @@ function Ki(e, t) {
3950
3950
  n = void 0;
3951
3951
  return n;
3952
3952
  }
3953
- const ue = {}, eo = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Qr = (e, t) => {
3953
+ const ce = {}, ro = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Yr = (e, t) => {
3954
3954
  if (t == null)
3955
3955
  return;
3956
- if (t in ue && e in ue[t])
3957
- return ue[t][e];
3958
- const r = bt(t);
3956
+ if (t in ce && e in ce[t])
3957
+ return ce[t][e];
3958
+ const r = vt(t);
3959
3959
  for (let n = 0; n < r.length; n++) {
3960
- const i = r[n], o = ro(i, e);
3960
+ const i = r[n], o = io(i, e);
3961
3961
  if (o)
3962
- return eo(e, t, o);
3962
+ return ro(e, t, o);
3963
3963
  }
3964
3964
  };
3965
- let zt;
3966
- const Ne = pt({});
3967
- function to(e) {
3968
- return zt[e] || null;
3965
+ let Xt;
3966
+ const Ne = mt({});
3967
+ function no(e) {
3968
+ return Xt[e] || null;
3969
3969
  }
3970
- function Yr(e) {
3971
- return e in zt;
3970
+ function Kr(e) {
3971
+ return e in Xt;
3972
3972
  }
3973
- function ro(e, t) {
3974
- if (!Yr(e))
3973
+ function io(e, t) {
3974
+ if (!Kr(e))
3975
3975
  return null;
3976
- const r = to(e);
3977
- return Ki(r, t);
3976
+ const r = no(e);
3977
+ return to(r, t);
3978
3978
  }
3979
- function no(e) {
3979
+ function oo(e) {
3980
3980
  if (e == null)
3981
3981
  return;
3982
- const t = bt(e);
3982
+ const t = vt(e);
3983
3983
  for (let r = 0; r < t.length; r++) {
3984
3984
  const n = t[r];
3985
- if (Yr(n))
3985
+ if (Kr(n))
3986
3986
  return n;
3987
3987
  }
3988
3988
  }
3989
- function Kr(e, ...t) {
3990
- delete ue[e], Ne.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3989
+ function en(e, ...t) {
3990
+ delete ce[e], Ne.update((r) => (r[e] = li.all([r[e] || {}, ...t]), r));
3991
3991
  }
3992
3992
  Me(
3993
3993
  [Ne],
3994
3994
  ([e]) => Object.keys(e)
3995
3995
  );
3996
- Ne.subscribe((e) => zt = e);
3997
- const lt = {};
3998
- function io(e, t) {
3999
- lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3996
+ Ne.subscribe((e) => Xt = e);
3997
+ const ut = {};
3998
+ function so(e, t) {
3999
+ ut[e].delete(t), ut[e].size === 0 && delete ut[e];
4000
4000
  }
4001
- function en(e) {
4002
- return lt[e];
4001
+ function tn(e) {
4002
+ return ut[e];
4003
4003
  }
4004
- function oo(e) {
4005
- return bt(e).map((t) => {
4006
- const r = en(t);
4004
+ function ao(e) {
4005
+ return vt(e).map((t) => {
4006
+ const r = tn(t);
4007
4007
  return [t, r ? [...r] : []];
4008
4008
  }).filter(([, t]) => t.length > 0);
4009
4009
  }
4010
- function Gt(e) {
4011
- return e == null ? !1 : bt(e).some(
4010
+ function jt(e) {
4011
+ return e == null ? !1 : vt(e).some(
4012
4012
  (t) => {
4013
4013
  var r;
4014
- return (r = en(t)) == null ? void 0 : r.size;
4014
+ return (r = tn(t)) == null ? void 0 : r.size;
4015
4015
  }
4016
4016
  );
4017
4017
  }
4018
- function so(e, t) {
4018
+ function lo(e, t) {
4019
4019
  return Promise.all(
4020
- t.map((n) => (io(e, n), n().then((i) => i.default || i)))
4021
- ).then((n) => Kr(e, ...n));
4022
- }
4023
- const Ge = {};
4024
- function tn(e) {
4025
- if (!Gt(e))
4026
- return e in Ge ? Ge[e] : Promise.resolve();
4027
- const t = oo(e);
4028
- return Ge[e] = Promise.all(
4020
+ t.map((n) => (so(e, n), n().then((i) => i.default || i)))
4021
+ ).then((n) => en(e, ...n));
4022
+ }
4023
+ const Ve = {};
4024
+ function rn(e) {
4025
+ if (!jt(e))
4026
+ return e in Ve ? Ve[e] : Promise.resolve();
4027
+ const t = ao(e);
4028
+ return Ve[e] = Promise.all(
4029
4029
  t.map(
4030
- ([r, n]) => so(r, n)
4030
+ ([r, n]) => lo(r, n)
4031
4031
  )
4032
4032
  ).then(() => {
4033
- if (Gt(e))
4034
- return tn(e);
4035
- delete Ge[e];
4036
- }), Ge[e];
4033
+ if (jt(e))
4034
+ return rn(e);
4035
+ delete Ve[e];
4036
+ }), Ve[e];
4037
4037
  }
4038
- const ao = {
4038
+ const uo = {
4039
4039
  number: {
4040
4040
  scientific: { notation: "scientific" },
4041
4041
  engineering: { notation: "engineering" },
@@ -4064,148 +4064,148 @@ const ao = {
4064
4064
  timeZoneName: "short"
4065
4065
  }
4066
4066
  }
4067
- }, lo = {
4067
+ }, co = {
4068
4068
  fallbackLocale: null,
4069
4069
  loadingDelay: 200,
4070
- formats: ao,
4070
+ formats: uo,
4071
4071
  warnOnMissingMessages: !0,
4072
4072
  handleMissingMessage: void 0,
4073
4073
  ignoreTag: !0
4074
- }, uo = lo;
4074
+ }, ho = co;
4075
4075
  function Ce() {
4076
- return uo;
4076
+ return ho;
4077
4077
  }
4078
- const Tt = pt(!1);
4079
- var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, dr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, pr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
4078
+ const Bt = mt(!1);
4079
+ var fo = Object.defineProperty, po = Object.defineProperties, mo = Object.getOwnPropertyDescriptors, pr = Object.getOwnPropertySymbols, go = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vo = (e, t) => {
4080
4080
  for (var r in t || (t = {}))
4081
- po.call(t, r) && pr(e, r, t[r]);
4082
- if (dr)
4083
- for (var r of dr(t))
4084
- mo.call(t, r) && pr(e, r, t[r]);
4081
+ go.call(t, r) && mr(e, r, t[r]);
4082
+ if (pr)
4083
+ for (var r of pr(t))
4084
+ bo.call(t, r) && mr(e, r, t[r]);
4085
4085
  return e;
4086
- }, bo = (e, t) => ho(e, fo(t));
4087
- let jt;
4088
- const ht = pt(null);
4089
- function mr(e) {
4086
+ }, yo = (e, t) => po(e, mo(t));
4087
+ let Vt;
4088
+ const ft = mt(null);
4089
+ function gr(e) {
4090
4090
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4091
4091
  }
4092
- function bt(e, t = Ce().fallbackLocale) {
4093
- const r = mr(e);
4094
- return t ? [.../* @__PURE__ */ new Set([...r, ...mr(t)])] : r;
4092
+ function vt(e, t = Ce().fallbackLocale) {
4093
+ const r = gr(e);
4094
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gr(t)])] : r;
4095
4095
  }
4096
- function ve() {
4097
- return jt ?? void 0;
4096
+ function me() {
4097
+ return Vt ?? void 0;
4098
4098
  }
4099
- ht.subscribe((e) => {
4100
- jt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4099
+ ft.subscribe((e) => {
4100
+ Vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4101
4101
  });
4102
- const vo = (e) => {
4103
- if (e && no(e) && Gt(e)) {
4102
+ const _o = (e) => {
4103
+ if (e && oo(e) && jt(e)) {
4104
4104
  const { loadingDelay: t } = Ce();
4105
4105
  let r;
4106
- return typeof window < "u" && ve() != null && t ? r = window.setTimeout(
4107
- () => Tt.set(!0),
4106
+ return typeof window < "u" && me() != null && t ? r = window.setTimeout(
4107
+ () => Bt.set(!0),
4108
4108
  t
4109
- ) : Tt.set(!0), tn(e).then(() => {
4110
- ht.set(e);
4109
+ ) : Bt.set(!0), rn(e).then(() => {
4110
+ ft.set(e);
4111
4111
  }).finally(() => {
4112
- clearTimeout(r), Tt.set(!1);
4112
+ clearTimeout(r), Bt.set(!1);
4113
4113
  });
4114
4114
  }
4115
- return ht.set(e);
4116
- }, ce = bo(go({}, ht), {
4117
- set: vo
4118
- }), vt = (e) => {
4115
+ return ft.set(e);
4116
+ }, he = yo(vo({}, ft), {
4117
+ set: _o
4118
+ }), yt = (e) => {
4119
4119
  const t = /* @__PURE__ */ Object.create(null);
4120
4120
  return (n) => {
4121
4121
  const i = JSON.stringify(n);
4122
4122
  return i in t ? t[i] : t[i] = e(n);
4123
4123
  };
4124
4124
  };
4125
- var yo = Object.defineProperty, ft = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
4125
+ var Eo = Object.defineProperty, dt = Object.getOwnPropertySymbols, nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable, br = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wt = (e, t) => {
4126
4126
  for (var r in t || (t = {}))
4127
- rn.call(t, r) && gr(e, r, t[r]);
4128
- if (ft)
4129
- for (var r of ft(t))
4130
- nn.call(t, r) && gr(e, r, t[r]);
4127
+ nn.call(t, r) && br(e, r, t[r]);
4128
+ if (dt)
4129
+ for (var r of dt(t))
4130
+ on.call(t, r) && br(e, r, t[r]);
4131
4131
  return e;
4132
4132
  }, Re = (e, t) => {
4133
4133
  var r = {};
4134
4134
  for (var n in e)
4135
- rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4136
- if (e != null && ft)
4137
- for (var n of ft(e))
4138
- t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
4135
+ nn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4136
+ if (e != null && dt)
4137
+ for (var n of dt(e))
4138
+ t.indexOf(n) < 0 && on.call(e, n) && (r[n] = e[n]);
4139
4139
  return r;
4140
4140
  };
4141
- const Xe = (e, t) => {
4141
+ const Ze = (e, t) => {
4142
4142
  const { formats: r } = Ce();
4143
4143
  if (e in r && t in r[e])
4144
4144
  return r[e][t];
4145
4145
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4146
- }, _o = vt(
4146
+ }, wo = yt(
4147
4147
  (e) => {
4148
4148
  var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4149
4149
  if (r == null)
4150
4150
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4151
- return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
4151
+ return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
4152
4152
  }
4153
- ), Eo = vt(
4153
+ ), xo = yt(
4154
4154
  (e) => {
4155
4155
  var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4156
4156
  if (r == null)
4157
4157
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4158
- return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
4158
+ return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
4159
4159
  }
4160
- ), wo = vt(
4160
+ ), So = yt(
4161
4161
  (e) => {
4162
4162
  var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4163
4163
  if (r == null)
4164
4164
  throw new Error(
4165
4165
  '[svelte-i18n] A "locale" must be set to format time values'
4166
4166
  );
4167
- return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
4167
+ return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
4168
4168
  }
4169
- ), xo = (e = {}) => {
4169
+ ), Po = (e = {}) => {
4170
4170
  var t = e, {
4171
- locale: r = ve()
4171
+ locale: r = me()
4172
4172
  } = t, n = Re(t, [
4173
4173
  "locale"
4174
4174
  ]);
4175
- return _o(Xt({ locale: r }, n));
4176
- }, So = (e = {}) => {
4175
+ return wo(Wt({ locale: r }, n));
4176
+ }, To = (e = {}) => {
4177
4177
  var t = e, {
4178
- locale: r = ve()
4178
+ locale: r = me()
4179
4179
  } = t, n = Re(t, [
4180
4180
  "locale"
4181
4181
  ]);
4182
- return Eo(Xt({ locale: r }, n));
4183
- }, Po = (e = {}) => {
4182
+ return xo(Wt({ locale: r }, n));
4183
+ }, Bo = (e = {}) => {
4184
4184
  var t = e, {
4185
- locale: r = ve()
4185
+ locale: r = me()
4186
4186
  } = t, n = Re(t, [
4187
4187
  "locale"
4188
4188
  ]);
4189
- return wo(Xt({ locale: r }, n));
4190
- }, To = vt(
4189
+ return So(Wt({ locale: r }, n));
4190
+ }, Ho = yt(
4191
4191
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4192
- (e, t = ve()) => new Yi(e, t, Ce().formats, {
4192
+ (e, t = me()) => new eo(e, t, Ce().formats, {
4193
4193
  ignoreTag: Ce().ignoreTag
4194
4194
  })
4195
- ), Bo = (e, t = {}) => {
4195
+ ), Ao = (e, t = {}) => {
4196
4196
  var r, n, i, o;
4197
4197
  let s = t;
4198
4198
  typeof e == "object" && (s = e, e = s.id);
4199
4199
  const {
4200
4200
  values: a,
4201
- locale: c = ve(),
4201
+ locale: c = me(),
4202
4202
  default: l
4203
4203
  } = s;
4204
4204
  if (c == null)
4205
4205
  throw new Error(
4206
4206
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4207
4207
  );
4208
- let u = Qr(e, c);
4208
+ let u = Yr(e, c);
4209
4209
  if (!u)
4210
4210
  u = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4211
4211
  else if (typeof u != "string")
@@ -4216,7 +4216,7 @@ const Xe = (e, t) => {
4216
4216
  return u;
4217
4217
  let f = u;
4218
4218
  try {
4219
- f = To(u, c).format(a);
4219
+ f = Ho(u, c).format(a);
4220
4220
  } catch (d) {
4221
4221
  d instanceof Error && console.warn(
4222
4222
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4224,21 +4224,22 @@ const Xe = (e, t) => {
4224
4224
  );
4225
4225
  }
4226
4226
  return f;
4227
- }, Ho = (e, t) => Po(t).format(e), Ao = (e, t) => So(t).format(e), Io = (e, t) => xo(t).format(e), Oo = (e, t = ve()) => Qr(e, t), Co = Me([ce, Ne], () => Bo);
4228
- Me([ce], () => Ho);
4229
- Me([ce], () => Ao);
4230
- Me([ce], () => Io);
4231
- Me([ce, Ne], () => Oo);
4232
- window.emWidgets = { topic: jn };
4233
- const Lo = (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));
4227
+ }, Io = (e, t) => Bo(t).format(e), Oo = (e, t) => To(t).format(e), Co = (e, t) => Po(t).format(e), Lo = (e, t = me()) => Yr(e, t), Mo = Me([he, Ne], () => Ao);
4228
+ Me([he], () => Io);
4229
+ Me([he], () => Oo);
4230
+ Me([he], () => Co);
4231
+ Me([he, Ne], () => Lo);
4232
+ window.emWidgets = { topic: zn };
4233
+ const No = (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));
4234
4234
  String(Number.MAX_SAFE_INTEGER).length;
4235
- function Mo(e, t) {
4235
+ const Be = "__WIDGET_GLOBAL_STYLE_CACHE__";
4236
+ function Ro(e, t) {
4236
4237
  if (e) {
4237
4238
  const r = document.createElement("style");
4238
4239
  r.innerHTML = t, e.appendChild(r);
4239
4240
  }
4240
4241
  }
4241
- function No(e, t) {
4242
+ function Uo(e, t) {
4242
4243
  if (!e || !t)
4243
4244
  return;
4244
4245
  const r = new URL(t);
@@ -4249,13 +4250,40 @@ function No(e, t) {
4249
4250
  console.error("There was an error while trying to load client styling from URL", n);
4250
4251
  });
4251
4252
  }
4252
- function Ro(e, t, r) {
4253
- if (window.emMessageBus) {
4254
- const n = document.createElement("style");
4255
- window.emMessageBus.subscribe(t, (i) => {
4256
- n.innerHTML = i, e && e.appendChild(n);
4253
+ function Fo(e, t, r, n = !1) {
4254
+ if (!window.emMessageBus)
4255
+ return;
4256
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
4257
+ return r = Do(e, t), r;
4258
+ window[Be] || (window[Be] = {}), r = ko(e, t);
4259
+ const o = r.unsubscribe.bind(r), s = () => {
4260
+ if (window[Be][t]) {
4261
+ const a = window[Be][t];
4262
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Be][t];
4263
+ }
4264
+ o();
4265
+ };
4266
+ return r.unsubscribe = s, r;
4267
+ }
4268
+ function Do(e, t) {
4269
+ const r = document.createElement("style");
4270
+ return window.emMessageBus.subscribe(t, (n) => {
4271
+ e && (r.innerHTML = n, e.appendChild(r));
4272
+ });
4273
+ }
4274
+ function ko(e, t) {
4275
+ return window.emMessageBus.subscribe(t, (r) => {
4276
+ if (!e)
4277
+ return;
4278
+ const n = e.getRootNode(), i = window[Be];
4279
+ let o = i[t]?.sheet;
4280
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
4281
+ sheet: o,
4282
+ refCount: 1
4257
4283
  });
4258
- }
4284
+ const s = n.adoptedStyleSheets || [];
4285
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
4286
+ });
4259
4287
  }
4260
4288
  if (typeof window < "u") {
4261
4289
  let e = function(t) {
@@ -4269,22 +4297,22 @@ if (typeof window < "u") {
4269
4297
  }
4270
4298
  };
4271
4299
  };
4272
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-DQys_RhZ.js").then(({ default: t }) => {
4300
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-DZpucIO0.js").then(({ default: t }) => {
4273
4301
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4274
4302
  });
4275
4303
  }
4276
- function Uo({ withLocale: e, translations: t }) {
4277
- ce.subscribe((r) => {
4278
- r == null && (Ne.set(t), ce.set(e));
4304
+ function $o({ withLocale: e, translations: t }) {
4305
+ he.subscribe((r) => {
4306
+ r == null && (Ne.set(t), he.set(e));
4279
4307
  });
4280
4308
  }
4281
- function br(e, t) {
4282
- Kr(e, t);
4309
+ function vr(e, t) {
4310
+ en(e, t);
4283
4311
  }
4284
- function Fo(e) {
4285
- ce.set(e);
4312
+ function Go(e) {
4313
+ he.set(e);
4286
4314
  }
4287
- const vr = {
4315
+ const yr = {
4288
4316
  en: {
4289
4317
  loginTitle: "Welcome",
4290
4318
  loginSubtitle: "Don't have an account yet?",
@@ -4429,14 +4457,14 @@ const vr = {
4429
4457
  successMessage: "Login successful"
4430
4458
  }
4431
4459
  };
4432
- function Do(e) {
4433
- un(e, "svelte-1l95g5", '.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, #22B04E));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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.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, #22B04E));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, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) 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)}}');
4460
+ function jo(e) {
4461
+ hn(e, "svelte-1l95g5", '.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, #22B04E));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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.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, #22B04E));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, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) 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)}}');
4434
4462
  }
4435
- function yr(e) {
4463
+ function _r(e) {
4436
4464
  let t, r;
4437
4465
  return {
4438
4466
  c() {
4439
- t = w("script"), qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4467
+ t = w("script"), Jt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4440
4468
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4441
4469
  },
4442
4470
  m(n, i) {
@@ -4444,20 +4472,20 @@ function yr(e) {
4444
4472
  },
4445
4473
  p(n, i) {
4446
4474
  i[0] & /*captchakey*/
4447
- 2 && !qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4475
+ 2 && !Jt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4448
4476
  n[1]) && h(t, "src", r);
4449
4477
  },
4450
4478
  d(n) {
4451
- n && I(t);
4479
+ n && O(t);
4452
4480
  }
4453
4481
  };
4454
4482
  }
4455
- function ko(e) {
4483
+ function Vo(e) {
4456
4484
  let t, r, n;
4457
4485
  function i(a, c) {
4458
4486
  return (
4459
4487
  /*startSmsValidation*/
4460
- a[21] ? jo : Go
4488
+ a[21] ? Wo : Xo
4461
4489
  );
4462
4490
  }
4463
4491
  let o = i(e), s = o(e);
@@ -4475,11 +4503,11 @@ function ko(e) {
4475
4503
  (a[11] ? "FormMobileContainer" : "")) && h(t, "class", n);
4476
4504
  },
4477
4505
  d(a) {
4478
- a && I(t), s.d();
4506
+ a && O(t), s.d();
4479
4507
  }
4480
4508
  };
4481
4509
  }
4482
- function $o(e) {
4510
+ function zo(e) {
4483
4511
  let t;
4484
4512
  return {
4485
4513
  c() {
@@ -4490,11 +4518,11 @@ function $o(e) {
4490
4518
  },
4491
4519
  p: Z,
4492
4520
  d(r) {
4493
- r && I(t);
4521
+ r && O(t);
4494
4522
  }
4495
4523
  };
4496
4524
  }
4497
- function Go(e) {
4525
+ function Xo(e) {
4498
4526
  let t, r, n = (
4499
4527
  /*$_*/
4500
4528
  e[22]("loginTitle") + ""
@@ -4504,59 +4532,59 @@ function Go(e) {
4504
4532
  ), c, l, u, f = (
4505
4533
  /*$_*/
4506
4534
  e[22]("loginSubtitleRegister") + ""
4507
- ), d, b, y, g, x, O, z = (
4535
+ ), d, b, y, g, x, C, z = (
4508
4536
  /*$_*/
4509
4537
  e[22]("loginUsername") + ""
4510
- ), R, U, A, re, T, oe, he, J, le, H, ne, X = (
4538
+ ), R, U, I, re, T, oe, fe, J, le, H, ne, X = (
4511
4539
  /*$_*/
4512
4540
  e[22]("loginPassword") + ""
4513
- ), Ue, Ze, fe, de, C, ye, qe, _e, Ee, pe, Fe, we, Q, me = (
4541
+ ), Ue, Je, ge, Fe, A, be, Qe, De, ve, de, ke, ye, K, ue = (
4514
4542
  /*$_*/
4515
4543
  e[22]("loginButton") + ""
4516
- ), xe, Je, ge, be = (
4544
+ ), _e, $e, pe, Ee = (
4517
4545
  /*$_*/
4518
4546
  e[22]("loginForgotPassword") + ""
4519
- ), De, ke, Qe, F = (
4547
+ ), we, Ge, Ye, F = (
4520
4548
  /*invalidName*/
4521
- e[14] && _r(e)
4549
+ e[14] && Er(e)
4522
4550
  );
4523
- function Ye(v, S) {
4551
+ function Ke(v, S) {
4524
4552
  return (
4525
4553
  /*isPasswordVisible*/
4526
- v[19] ? zo : Vo
4554
+ v[19] ? qo : Zo
4527
4555
  );
4528
4556
  }
4529
- let Se = Ye(e), Y = Se(e), D = (
4557
+ let xe = Ke(e), Q = xe(e), D = (
4530
4558
  /*invalidPassword*/
4531
4559
  e[15] && /*simplepasswordvalidation*/
4532
- e[2] !== "true" && Er(e)
4560
+ e[2] !== "true" && wr(e)
4533
4561
  ), k = (
4534
4562
  /*invalidPassword*/
4535
4563
  e[15] && /*simplepasswordvalidation*/
4536
- e[2] === "true" && wr(e)
4564
+ e[2] === "true" && xr(e)
4537
4565
  ), $ = (
4538
4566
  /*errorMessage*/
4539
- e[16] && xr(e)
4567
+ e[16] && Sr(e)
4540
4568
  );
4541
4569
  return {
4542
4570
  c() {
4543
- t = w("div"), r = w("h4"), i = N(n), o = j(), s = w("p"), c = N(a), l = j(), u = w("span"), d = N(f), b = j(), y = w("div"), g = w("form"), x = w("div"), O = w("label"), R = N(z), U = N(":"), A = w("span"), A.textContent = "*", re = j(), T = w("input"), he = j(), F && F.c(), le = j(), H = w("div"), ne = w("label"), Ue = N(X), Ze = N(":"), fe = w("span"), fe.textContent = "*", de = j(), C = w("input"), qe = j(), Y.c(), _e = j(), D && D.c(), Ee = j(), k && k.c(), Fe = j(), $ && $.c(), we = j(), Q = w("button"), xe = N(me), Je = j(), ge = w("button"), De = N(be), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(O, "for", "username"), h(T, "type", "text"), h(T, "id", "email"), h(T, "name", "email"), h(T, "autocapitalize", "none"), h(T, "autocomplete", oe = /*savecredentials*/
4571
+ t = w("div"), r = w("h4"), i = N(n), o = j(), s = w("p"), c = N(a), l = j(), u = w("span"), d = N(f), b = j(), y = w("div"), g = w("form"), x = w("div"), C = w("label"), R = N(z), U = N(":"), I = w("span"), I.textContent = "*", re = j(), T = w("input"), fe = j(), F && F.c(), le = j(), H = w("div"), ne = w("label"), Ue = N(X), Je = N(":"), ge = w("span"), ge.textContent = "*", Fe = j(), A = w("input"), Qe = j(), Q.c(), De = j(), D && D.c(), ve = j(), k && k.c(), ke = j(), $ && $.c(), ye = j(), K = w("button"), _e = N(ue), $e = j(), pe = w("button"), we = N(Ee), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(I, "class", "FormRequired"), h(C, "for", "username"), h(T, "type", "text"), h(T, "id", "email"), h(T, "name", "email"), h(T, "autocapitalize", "none"), h(T, "autocomplete", oe = /*savecredentials*/
4544
4572
  e[6] ? "username email" : "off"), T.required = !0, h(x, "class", J = "UserContainer " + /*invalidName*/
4545
- (e[14] ? "InvalidField" : "")), h(fe, "class", "FormRequired"), h(ne, "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*/
4546
- e[6] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(H, "class", pe = "PasswordContainer " + /*invalidPassword*/
4547
- (e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
4548
- e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4573
+ (e[14] ? "InvalidField" : "")), h(ge, "class", "FormRequired"), h(ne, "for", "current-password"), h(A, "type", "password"), h(A, "name", "current-password"), h(A, "id", "current-password"), h(A, "autocapitalize", "none"), h(A, "autocomplete", be = /*savecredentials*/
4574
+ e[6] ? "current-password" : "off"), h(A, "aria-describedby", "password-constraints"), A.required = !0, h(H, "class", de = "PasswordContainer " + /*invalidPassword*/
4575
+ (e[15] ? "InvalidField" : "")), h(K, "class", "SignInButton"), K.disabled = /*isFormDataInvalid*/
4576
+ e[20], h(K, "id", "signin-button"), h(pe, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
4549
4577
  },
4550
4578
  m(v, S) {
4551
- M(v, t, S), p(t, r), p(r, i), p(t, o), p(t, s), p(s, c), p(s, l), p(s, u), p(u, d), M(v, b, S), M(v, y, S), p(y, g), p(g, x), p(x, O), p(O, R), p(O, U), p(O, A), p(x, re), p(x, T), rt(
4579
+ M(v, t, S), p(t, r), p(r, i), p(t, o), p(t, s), p(s, c), p(s, l), p(s, u), p(u, d), M(v, b, S), M(v, y, S), p(y, g), p(g, x), p(x, C), p(C, R), p(C, U), p(C, I), p(x, re), p(x, T), nt(
4552
4580
  T,
4553
4581
  /*userValue*/
4554
4582
  e[12]
4555
- ), p(x, he), F && F.m(x, null), p(g, le), p(g, H), p(H, ne), p(ne, Ue), p(ne, Ze), p(ne, fe), p(H, de), p(H, C), rt(
4556
- C,
4583
+ ), p(x, fe), F && F.m(x, null), p(g, le), p(g, H), p(H, ne), p(ne, Ue), p(ne, Je), p(ne, ge), p(H, Fe), p(H, A), nt(
4584
+ A,
4557
4585
  /*userPassword*/
4558
4586
  e[13]
4559
- ), e[36](C), p(H, qe), Y.m(H, null), p(H, _e), D && D.m(H, null), p(H, Ee), k && k.m(H, null), p(g, Fe), $ && $.m(g, null), p(g, we), p(g, Q), p(Q, xe), p(g, Je), p(g, ge), p(ge, De), ke || (Qe = [
4587
+ ), e[36](A), p(H, Qe), Q.m(H, null), p(H, De), D && D.m(H, null), p(H, ve), k && k.m(H, null), p(g, ke), $ && $.m(g, null), p(g, ye), p(g, K), p(K, _e), p(g, $e), p(g, pe), p(pe, we), Ge || (Ye = [
4560
4588
  se(
4561
4589
  u,
4562
4590
  "click",
@@ -4576,30 +4604,30 @@ function Go(e) {
4576
4604
  e[28]
4577
4605
  ),
4578
4606
  se(
4579
- C,
4607
+ A,
4580
4608
  "input",
4581
4609
  /*input1_input_handler*/
4582
4610
  e[35]
4583
4611
  ),
4584
4612
  se(
4585
- C,
4613
+ A,
4586
4614
  "input",
4587
4615
  /*validatePassword*/
4588
4616
  e[29]
4589
4617
  ),
4590
4618
  se(
4591
- Q,
4619
+ K,
4592
4620
  "click",
4593
4621
  /*click_handler_3*/
4594
4622
  e[39]
4595
4623
  ),
4596
4624
  se(
4597
- ge,
4625
+ pe,
4598
4626
  "click",
4599
4627
  /*click_handler_4*/
4600
4628
  e[40]
4601
4629
  )
4602
- ], ke = !0);
4630
+ ], Ge = !0);
4603
4631
  },
4604
4632
  p(v, S) {
4605
4633
  S[0] & /*$_*/
@@ -4614,44 +4642,44 @@ function Go(e) {
4614
4642
  64 && oe !== (oe = /*savecredentials*/
4615
4643
  v[6] ? "username email" : "off") && h(T, "autocomplete", oe), S[0] & /*userValue*/
4616
4644
  4096 && T.value !== /*userValue*/
4617
- v[12] && rt(
4645
+ v[12] && nt(
4618
4646
  T,
4619
4647
  /*userValue*/
4620
4648
  v[12]
4621
4649
  ), /*invalidName*/
4622
- v[14] ? F ? F.p(v, S) : (F = _r(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
4650
+ v[14] ? F ? F.p(v, S) : (F = Er(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
4623
4651
  16384 && J !== (J = "UserContainer " + /*invalidName*/
4624
4652
  (v[14] ? "InvalidField" : "")) && h(x, "class", J), S[0] & /*$_*/
4625
4653
  4194304 && X !== (X = /*$_*/
4626
4654
  v[22]("loginPassword") + "") && te(Ue, X), S[0] & /*savecredentials*/
4627
- 64 && ye !== (ye = /*savecredentials*/
4628
- v[6] ? "current-password" : "off") && h(C, "autocomplete", ye), S[0] & /*userPassword*/
4629
- 8192 && C.value !== /*userPassword*/
4630
- v[13] && rt(
4631
- C,
4655
+ 64 && be !== (be = /*savecredentials*/
4656
+ v[6] ? "current-password" : "off") && h(A, "autocomplete", be), S[0] & /*userPassword*/
4657
+ 8192 && A.value !== /*userPassword*/
4658
+ v[13] && nt(
4659
+ A,
4632
4660
  /*userPassword*/
4633
4661
  v[13]
4634
- ), Se === (Se = Ye(v)) && Y ? Y.p(v, S) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(H, _e))), /*invalidPassword*/
4662
+ ), xe === (xe = Ke(v)) && Q ? Q.p(v, S) : (Q.d(1), Q = xe(v), Q && (Q.c(), Q.m(H, De))), /*invalidPassword*/
4635
4663
  v[15] && /*simplepasswordvalidation*/
4636
- v[2] !== "true" ? D ? D.p(v, S) : (D = Er(v), D.c(), D.m(H, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
4664
+ v[2] !== "true" ? D ? D.p(v, S) : (D = wr(v), D.c(), D.m(H, ve)) : D && (D.d(1), D = null), /*invalidPassword*/
4637
4665
  v[15] && /*simplepasswordvalidation*/
4638
- v[2] === "true" ? k ? k.p(v, S) : (k = wr(v), k.c(), k.m(H, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
4639
- 32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
4640
- (v[15] ? "InvalidField" : "")) && h(H, "class", pe), /*errorMessage*/
4641
- v[16] ? $ ? $.p(v, S) : ($ = xr(v), $.c(), $.m(g, we)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
4642
- 4194304 && me !== (me = /*$_*/
4643
- v[22]("loginButton") + "") && te(xe, me), S[0] & /*isFormDataInvalid*/
4644
- 1048576 && (Q.disabled = /*isFormDataInvalid*/
4666
+ v[2] === "true" ? k ? k.p(v, S) : (k = xr(v), k.c(), k.m(H, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
4667
+ 32768 && de !== (de = "PasswordContainer " + /*invalidPassword*/
4668
+ (v[15] ? "InvalidField" : "")) && h(H, "class", de), /*errorMessage*/
4669
+ v[16] ? $ ? $.p(v, S) : ($ = Sr(v), $.c(), $.m(g, ye)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
4670
+ 4194304 && ue !== (ue = /*$_*/
4671
+ v[22]("loginButton") + "") && te(_e, ue), S[0] & /*isFormDataInvalid*/
4672
+ 1048576 && (K.disabled = /*isFormDataInvalid*/
4645
4673
  v[20]), S[0] & /*$_*/
4646
- 4194304 && be !== (be = /*$_*/
4647
- v[22]("loginForgotPassword") + "") && te(De, be);
4674
+ 4194304 && Ee !== (Ee = /*$_*/
4675
+ v[22]("loginForgotPassword") + "") && te(we, Ee);
4648
4676
  },
4649
4677
  d(v) {
4650
- v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), $ && $.d(), ke = !1, Le(Qe);
4678
+ v && (O(t), O(b), O(y)), F && F.d(), e[36](null), Q.d(), D && D.d(), k && k.d(), $ && $.d(), Ge = !1, Le(Ye);
4651
4679
  }
4652
4680
  };
4653
4681
  }
4654
- function jo(e) {
4682
+ function Wo(e) {
4655
4683
  let t;
4656
4684
  return {
4657
4685
  c() {
@@ -4741,11 +4769,11 @@ function jo(e) {
4741
4769
  );
4742
4770
  },
4743
4771
  d(r) {
4744
- r && I(t);
4772
+ r && O(t);
4745
4773
  }
4746
4774
  };
4747
4775
  }
4748
- function _r(e) {
4776
+ function Er(e) {
4749
4777
  let t, r = (
4750
4778
  /*$_*/
4751
4779
  e[22]("loginUsernameError") + ""
@@ -4763,11 +4791,11 @@ function _r(e) {
4763
4791
  i[22]("loginUsernameError") + "") && te(n, r);
4764
4792
  },
4765
4793
  d(i) {
4766
- i && I(t);
4794
+ i && O(t);
4767
4795
  }
4768
4796
  };
4769
4797
  }
4770
- function Vo(e) {
4798
+ function Zo(e) {
4771
4799
  let t, r, n, i, o, s, a, c, l;
4772
4800
  return {
4773
4801
  c() {
@@ -4783,18 +4811,18 @@ function Vo(e) {
4783
4811
  },
4784
4812
  p: Z,
4785
4813
  d(u) {
4786
- u && I(t), c = !1, l();
4814
+ u && O(t), c = !1, l();
4787
4815
  }
4788
4816
  };
4789
4817
  }
4790
- function zo(e) {
4818
+ function qo(e) {
4791
4819
  let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
4792
4820
  return {
4793
4821
  c() {
4794
4822
  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"), c = L("path"), l = L("path"), u = 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(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "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(u, "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");
4795
4823
  },
4796
- m(x, O) {
4797
- M(x, t, O), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), p(a, c), p(a, l), p(o, u), p(u, f), p(u, d), p(o, b), y || (g = se(
4824
+ m(x, C) {
4825
+ M(x, t, C), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), p(a, c), p(a, l), p(o, u), p(u, f), p(u, d), p(o, b), y || (g = se(
4798
4826
  t,
4799
4827
  "click",
4800
4828
  /*click_handler_1*/
@@ -4803,11 +4831,11 @@ function zo(e) {
4803
4831
  },
4804
4832
  p: Z,
4805
4833
  d(x) {
4806
- x && I(t), y = !1, g();
4834
+ x && O(t), y = !1, g();
4807
4835
  }
4808
4836
  };
4809
4837
  }
4810
- function Er(e) {
4838
+ function wr(e) {
4811
4839
  let t, r = (
4812
4840
  /*$_*/
4813
4841
  e[22]("loginPasswordError") + ""
@@ -4825,11 +4853,11 @@ function Er(e) {
4825
4853
  i[22]("loginPasswordError") + "") && te(n, r);
4826
4854
  },
4827
4855
  d(i) {
4828
- i && I(t);
4856
+ i && O(t);
4829
4857
  }
4830
4858
  };
4831
4859
  }
4832
- function wr(e) {
4860
+ function xr(e) {
4833
4861
  let t, r = (
4834
4862
  /*$_*/
4835
4863
  e[22]("loginSimplePasswordError") + ""
@@ -4847,11 +4875,11 @@ function wr(e) {
4847
4875
  i[22]("loginSimplePasswordError") + "") && te(n, r);
4848
4876
  },
4849
4877
  d(i) {
4850
- i && I(t);
4878
+ i && O(t);
4851
4879
  }
4852
4880
  };
4853
4881
  }
4854
- function xr(e) {
4882
+ function Sr(e) {
4855
4883
  let t, r;
4856
4884
  return {
4857
4885
  c() {
@@ -4872,25 +4900,25 @@ function xr(e) {
4872
4900
  );
4873
4901
  },
4874
4902
  d(n) {
4875
- n && I(t);
4903
+ n && O(t);
4876
4904
  }
4877
4905
  };
4878
4906
  }
4879
- function Xo(e) {
4907
+ function Jo(e) {
4880
4908
  let t, r, n, i, o, s = (
4881
4909
  /*captchakey*/
4882
- e[1] && yr(e)
4910
+ e[1] && _r(e)
4883
4911
  );
4884
4912
  function a(u, f) {
4885
4913
  return (
4886
4914
  /*isLoading*/
4887
- u[17] ? $o : ko
4915
+ u[17] ? zo : Vo
4888
4916
  );
4889
4917
  }
4890
4918
  let c = a(e), l = c(e);
4891
4919
  return {
4892
4920
  c() {
4893
- s && s.c(), t = fn(), r = j(), n = w("div"), i = j(), o = w("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4921
+ s && s.c(), t = pn(), r = j(), n = w("div"), i = j(), o = w("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4894
4922
  n,
4895
4923
  "data-sitekey",
4896
4924
  /*captchakey*/
@@ -4902,7 +4930,7 @@ function Xo(e) {
4902
4930
  },
4903
4931
  p(u, f) {
4904
4932
  /*captchakey*/
4905
- u[1] ? s ? s.p(u, f) : (s = yr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4933
+ u[1] ? s ? s.p(u, f) : (s = _r(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4906
4934
  2 && h(
4907
4935
  n,
4908
4936
  "data-sitekey",
@@ -4913,63 +4941,63 @@ function Xo(e) {
4913
4941
  i: Z,
4914
4942
  o: Z,
4915
4943
  d(u) {
4916
- u && (I(r), I(n), I(i), I(o)), s && s.d(u), I(t), l.d(), e[41](null);
4944
+ u && (O(r), O(n), O(i), O(o)), s && s.d(u), O(t), l.d(), e[41](null);
4917
4945
  }
4918
4946
  };
4919
4947
  }
4920
- let Wo = "Please use this code {0} to activate your account";
4921
- function Zo(e, t, r) {
4948
+ let Qo = "Please use this code {0} to activate your account";
4949
+ function Yo(e, t, r) {
4922
4950
  let n;
4923
- ln(e, Co, (m) => r(22, n = m));
4924
- let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, x = !1, O, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, T = !1, oe = !1, he = "", J = !1, le, H = !1, ne = !0, X, Ue = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Ue, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
4951
+ cn(e, Mo, (m) => r(22, n = m));
4952
+ let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, x = !1, C, z = !1, R = window.navigator.userAgent, U = "", I = "", re = { username: "", password: "" }, T = !1, oe = !1, fe = "", J = !1, le, H = !1, ne = !0, X, Ue, Je = +localStorage.getItem("smsTimer") || 0, ge = Date.now() / 1e3 - Je, Fe = localStorage.getItem("smsValidation") == "true" && ge < 60, A = {
4925
4953
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4926
4954
  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,
4927
4955
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4928
4956
  };
4929
- Uo({ withLocale: "en", translations: {} });
4930
- const C = () => {
4957
+ $o({ withLocale: "en", translations: {} });
4958
+ const be = () => {
4931
4959
  fetch(d).then((q) => q.json()).then((q) => {
4932
4960
  Object.keys(q).forEach((ee) => {
4933
- br(ee, q[ee]);
4961
+ vr(ee, q[ee]);
4934
4962
  });
4935
4963
  }).catch((q) => {
4936
4964
  console.log(q);
4937
4965
  });
4938
4966
  };
4939
- Object.keys(vr).forEach((m) => {
4940
- br(m, vr[m]);
4967
+ Object.keys(yr).forEach((m) => {
4968
+ vr(m, yr[m]);
4941
4969
  });
4942
- const ye = () => new Promise((m, q) => {
4970
+ const Qe = () => new Promise((m, q) => {
4943
4971
  grecaptcha.ready(() => {
4944
4972
  grecaptcha.execute(o, { action: "submit" }).then((ee) => {
4945
4973
  m(ee);
4946
4974
  });
4947
4975
  });
4948
- }), qe = () => {
4949
- c == "true" && (de.password = /^(?!.* ).{8,20}$/);
4950
- }, _e = () => {
4951
- r(19, H = !0), pe();
4952
- }, Ee = () => {
4953
- r(19, H = !1), pe();
4954
- }, pe = () => {
4976
+ }), De = () => {
4977
+ c == "true" && (A.password = /^(?!.* ).{8,20}$/);
4978
+ }, ve = () => {
4979
+ r(19, H = !0), ke();
4980
+ }, de = () => {
4981
+ r(19, H = !1), ke();
4982
+ }, ke = () => {
4955
4983
  r(18, le.type = H ? "text" : "password", le);
4956
- }, Fe = () => {
4984
+ }, ye = () => {
4957
4985
  window.postMessage({ type: "ToRegister" }, window.location.href);
4958
- }, we = (m) => {
4986
+ }, K = (m) => {
4959
4987
  m.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
4960
- }, Q = (m) => {
4961
- m?.preventDefault(), ye().then((q) => {
4962
- me(U) && xe(A) && (re = {
4988
+ }, ue = (m) => {
4989
+ m?.preventDefault(), Qe().then((q) => {
4990
+ _e(U) && $e(I) && (re = {
4963
4991
  username: U,
4964
- password: A,
4992
+ password: I,
4965
4993
  token: q
4966
- }, r(17, J = !0), ke(re));
4994
+ }, r(17, J = !0), Ye(re));
4967
4995
  });
4968
- }, me = (m) => !!((de.user.test(m) || de.email.test(m)) && m.length <= 100), xe = (m) => !!de.password.test(m), Je = () => {
4969
- r(14, T = !me(U)), r(20, ne = !(!T && !oe && A));
4970
- }, ge = () => {
4971
- r(15, oe = !xe(A)), r(20, ne = !(!T && !oe && U));
4972
- }, be = (m) => {
4996
+ }, _e = (m) => !!((A.user.test(m) || A.email.test(m)) && m.length <= 100), $e = (m) => !!A.password.test(m), pe = () => {
4997
+ r(14, T = !_e(U)), r(20, ne = !(!T && !oe && I));
4998
+ }, Ee = () => {
4999
+ r(15, oe = !$e(I)), r(20, ne = !(!T && !oe && U));
5000
+ }, we = (m) => {
4973
5001
  if (m.data)
4974
5002
  switch (m.data.type) {
4975
5003
  case "ModalLoader":
@@ -4979,23 +5007,23 @@ function Zo(e, t, r) {
4979
5007
  r(17, J = !1);
4980
5008
  break;
4981
5009
  case "SmsHasBeenValidated":
4982
- Q();
5010
+ ue();
4983
5011
  break;
4984
5012
  }
4985
- }, De = (m) => {
5013
+ }, Ge = (m) => {
4986
5014
  typeof gtag == "function" && gtag("event", "Login", {
4987
5015
  context: "GeneralPlayerLoginRegisterPage"
4988
5016
  });
4989
- }, ke = async ({ username: m, password: q, token: ee }) => {
4990
- let Ke = {
5017
+ }, Ye = async ({ username: m, password: q, token: ee }) => {
5018
+ let et = {
4991
5019
  "Content-Type": "application/json",
4992
5020
  "g-recaptcha-response": ee
4993
- }, et = { username: m, password: q }, sn = {
5021
+ }, tt = { username: m, password: q }, ln = {
4994
5022
  method: "POST",
4995
- headers: Ke,
4996
- body: JSON.stringify(et)
5023
+ headers: et,
5024
+ body: JSON.stringify(tt)
4997
5025
  };
4998
- fetch(`${i}/v1/player/login/player`, sn).then((G) => (G.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
5026
+ fetch(`${i}/v1/player/login/player`, ln).then((G) => (G.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4999
5027
  {
5000
5028
  type: "WidgetNotification",
5001
5029
  data: {
@@ -5005,7 +5033,7 @@ function Zo(e, t, r) {
5005
5033
  },
5006
5034
  window.location.href
5007
5035
  )), G.json())).then((G) => {
5008
- if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10, O = G.detail.phonePrefix + G.detail.phone), r(21, fe = !0), Qe(O, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: O }))), G.sessionID) {
5036
+ if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10, C = G.detail.phonePrefix + G.detail.phone), r(21, Fe = !0), F(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), G.sessionID) {
5009
5037
  if (window.postMessage(
5010
5038
  {
5011
5039
  type: "UserSessionID",
@@ -5023,35 +5051,35 @@ function Zo(e, t, r) {
5023
5051
  },
5024
5052
  window.location.href
5025
5053
  ), window.PasswordCredential && b == "true") {
5026
- const $e = new PasswordCredential({
5027
- password: et.password,
5028
- id: et.username
5054
+ const je = new PasswordCredential({
5055
+ password: tt.password,
5056
+ id: tt.username
5029
5057
  });
5030
- navigator.credentials.store($e);
5058
+ navigator.credentials.store(je);
5031
5059
  }
5032
- De();
5060
+ Ge();
5033
5061
  } else
5034
5062
  try {
5035
- let $e = G.error;
5036
- r(16, he = $e), r(17, J = !1), window.postMessage(
5063
+ let je = G.error;
5064
+ r(16, fe = je), r(17, J = !1), window.postMessage(
5037
5065
  {
5038
5066
  type: "WidgetNotification",
5039
- data: { type: "error", message: $e }
5067
+ data: { type: "error", message: je }
5040
5068
  },
5041
5069
  window.location.href
5042
5070
  );
5043
5071
  } catch {
5044
- let Wt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
5045
- r(16, he = Wt), r(17, J = !1), window.postMessage(
5072
+ let Zt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
5073
+ r(16, fe = Zt), r(17, J = !1), window.postMessage(
5046
5074
  {
5047
5075
  type: "WidgetNotification",
5048
- data: { type: "error", message: Wt }
5076
+ data: { type: "error", message: Zt }
5049
5077
  },
5050
5078
  window.location.href
5051
5079
  );
5052
5080
  }
5053
5081
  });
5054
- }, Qe = async (m, q) => {
5082
+ }, F = async (m, q) => {
5055
5083
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
5056
5084
  try {
5057
5085
  const ee = await fetch(`${i}/v1/player/sms/token`, {
@@ -5062,40 +5090,40 @@ function Zo(e, t, r) {
5062
5090
  },
5063
5091
  body: JSON.stringify({
5064
5092
  userId: q,
5065
- messageTemplate: Wo,
5093
+ messageTemplate: Qo,
5066
5094
  destination: m
5067
5095
  })
5068
- }), Ke = await ee.json();
5096
+ }), et = await ee.json();
5069
5097
  if (ee.ok) {
5070
- r(9, g = Ke.id);
5071
- let et = Ke.maxValidationAttempts;
5098
+ r(9, g = et.id);
5099
+ let tt = et.maxValidationAttempts;
5072
5100
  x = !1;
5073
5101
  } else
5074
5102
  throw x = !0, new Error("Failed to fetch");
5075
5103
  } catch (ee) {
5076
5104
  x = !0, console.error(ee);
5077
5105
  }
5078
- }, F = () => {
5079
- Fo(s);
5106
+ }, Ke = () => {
5107
+ Go(s);
5080
5108
  };
5081
- gn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Lo(R)), () => {
5082
- window.removeEventListener("message", be);
5109
+ vn(() => (window.addEventListener("message", we, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = No(R)), () => {
5110
+ window.removeEventListener("message", we);
5083
5111
  }));
5084
- const Ye = () => Fe();
5085
- function Se() {
5112
+ const xe = () => ye();
5113
+ function Q() {
5086
5114
  U = this.value, r(12, U);
5087
5115
  }
5088
- function Y() {
5089
- A = this.value, r(13, A);
5116
+ function D() {
5117
+ I = this.value, r(13, I);
5090
5118
  }
5091
- function D(m) {
5092
- ut[m ? "unshift" : "push"](() => {
5119
+ function k(m) {
5120
+ ct[m ? "unshift" : "push"](() => {
5093
5121
  le = m, r(18, le);
5094
5122
  });
5095
5123
  }
5096
- const k = () => Ee(), $ = () => _e(), v = (m) => Q(m), S = (m) => we(m);
5097
- function on(m) {
5098
- ut[m ? "unshift" : "push"](() => {
5124
+ const $ = () => de(), v = () => ve(), S = (m) => ue(m), sn = (m) => K(m);
5125
+ function an(m) {
5126
+ ct[m ? "unshift" : "push"](() => {
5099
5127
  X = m, r(7, X);
5100
5128
  });
5101
5129
  }
@@ -5103,12 +5131,12 @@ function Zo(e, t, r) {
5103
5131
  "endpoint" in m && r(0, i = m.endpoint), "captchakey" in m && r(1, o = m.captchakey), "lang" in m && r(30, s = m.lang), "smsverification" in m && r(31, a = m.smsverification), "simplepasswordvalidation" in m && r(2, c = m.simplepasswordvalidation), "mbsource" in m && r(3, l = m.mbsource), "clientstyling" in m && r(4, u = m.clientstyling), "clientstylingurl" in m && r(5, f = m.clientstylingurl), "translationurl" in m && r(32, d = m.translationurl), "savecredentials" in m && r(6, b = m.savecredentials);
5104
5132
  }, e.$$.update = () => {
5105
5133
  e.$$.dirty[0] & /*endpoint, lang*/
5106
- 1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5107
- 4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5108
- 144 && u && X && Mo(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5109
- 160 && f && X && No(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5110
- 136 && l && X && Ro(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5111
- 2 && d && C();
5134
+ 1073741825 && i && s && Ke(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5135
+ 4 && c && De(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5136
+ 144 && u && X && Ro(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5137
+ 160 && f && X && Uo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5138
+ 136 && l && X && Fo(X, `${l}.Style`, Ue), e.$$.dirty[1] & /*translationurl*/
5139
+ 2 && d && be();
5112
5140
  }, [
5113
5141
  i,
5114
5142
  o,
@@ -5120,48 +5148,48 @@ function Zo(e, t, r) {
5120
5148
  X,
5121
5149
  y,
5122
5150
  g,
5123
- O,
5151
+ C,
5124
5152
  z,
5125
5153
  U,
5126
- A,
5154
+ I,
5127
5155
  T,
5128
5156
  oe,
5129
- he,
5157
+ fe,
5130
5158
  J,
5131
5159
  le,
5132
5160
  H,
5133
5161
  ne,
5134
- fe,
5162
+ Fe,
5135
5163
  n,
5136
- _e,
5164
+ ve,
5165
+ de,
5166
+ ye,
5167
+ K,
5168
+ ue,
5169
+ pe,
5137
5170
  Ee,
5138
- Fe,
5139
- we,
5140
- Q,
5141
- Je,
5142
- ge,
5143
5171
  s,
5144
5172
  a,
5145
5173
  d,
5146
- Ye,
5147
- Se,
5148
- Y,
5174
+ xe,
5175
+ Q,
5149
5176
  D,
5150
5177
  k,
5151
5178
  $,
5152
5179
  v,
5153
5180
  S,
5154
- on
5181
+ sn,
5182
+ an
5155
5183
  ];
5156
5184
  }
5157
- class qo extends Hn {
5185
+ class Ko extends In {
5158
5186
  constructor(t) {
5159
- super(), Tn(
5187
+ super(), Hn(
5160
5188
  this,
5161
5189
  t,
5162
- Zo,
5163
- Xo,
5164
- Pr,
5190
+ Yo,
5191
+ Jo,
5192
+ Tr,
5165
5193
  {
5166
5194
  endpoint: 0,
5167
5195
  captchakey: 1,
@@ -5174,7 +5202,7 @@ class qo extends Hn {
5174
5202
  translationurl: 32,
5175
5203
  savecredentials: 6
5176
5204
  },
5177
- Do,
5205
+ jo,
5178
5206
  [-1, -1]
5179
5207
  );
5180
5208
  }
@@ -5182,77 +5210,77 @@ class qo extends Hn {
5182
5210
  return this.$$.ctx[0];
5183
5211
  }
5184
5212
  set endpoint(t) {
5185
- this.$$set({ endpoint: t }), K();
5213
+ this.$$set({ endpoint: t }), Y();
5186
5214
  }
5187
5215
  get captchakey() {
5188
5216
  return this.$$.ctx[1];
5189
5217
  }
5190
5218
  set captchakey(t) {
5191
- this.$$set({ captchakey: t }), K();
5219
+ this.$$set({ captchakey: t }), Y();
5192
5220
  }
5193
5221
  get lang() {
5194
5222
  return this.$$.ctx[30];
5195
5223
  }
5196
5224
  set lang(t) {
5197
- this.$$set({ lang: t }), K();
5225
+ this.$$set({ lang: t }), Y();
5198
5226
  }
5199
5227
  get smsverification() {
5200
5228
  return this.$$.ctx[31];
5201
5229
  }
5202
5230
  set smsverification(t) {
5203
- this.$$set({ smsverification: t }), K();
5231
+ this.$$set({ smsverification: t }), Y();
5204
5232
  }
5205
5233
  get simplepasswordvalidation() {
5206
5234
  return this.$$.ctx[2];
5207
5235
  }
5208
5236
  set simplepasswordvalidation(t) {
5209
- this.$$set({ simplepasswordvalidation: t }), K();
5237
+ this.$$set({ simplepasswordvalidation: t }), Y();
5210
5238
  }
5211
5239
  get mbsource() {
5212
5240
  return this.$$.ctx[3];
5213
5241
  }
5214
5242
  set mbsource(t) {
5215
- this.$$set({ mbsource: t }), K();
5243
+ this.$$set({ mbsource: t }), Y();
5216
5244
  }
5217
5245
  get clientstyling() {
5218
5246
  return this.$$.ctx[4];
5219
5247
  }
5220
5248
  set clientstyling(t) {
5221
- this.$$set({ clientstyling: t }), K();
5249
+ this.$$set({ clientstyling: t }), Y();
5222
5250
  }
5223
5251
  get clientstylingurl() {
5224
5252
  return this.$$.ctx[5];
5225
5253
  }
5226
5254
  set clientstylingurl(t) {
5227
- this.$$set({ clientstylingurl: t }), K();
5255
+ this.$$set({ clientstylingurl: t }), Y();
5228
5256
  }
5229
5257
  get translationurl() {
5230
5258
  return this.$$.ctx[32];
5231
5259
  }
5232
5260
  set translationurl(t) {
5233
- this.$$set({ translationurl: t }), K();
5261
+ this.$$set({ translationurl: t }), Y();
5234
5262
  }
5235
5263
  get savecredentials() {
5236
5264
  return this.$$.ctx[6];
5237
5265
  }
5238
5266
  set savecredentials(t) {
5239
- this.$$set({ savecredentials: t }), K();
5267
+ this.$$set({ savecredentials: t }), Y();
5240
5268
  }
5241
5269
  }
5242
- Bn(qo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5270
+ An(Ko, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5243
5271
  export {
5244
- ce as $,
5245
- qo as G,
5246
- Hn as S,
5272
+ he as $,
5273
+ Ko as G,
5274
+ In as S,
5247
5275
  Ne as a,
5248
- Kr as b,
5249
- Bn as c,
5250
- un as d,
5251
- I as e,
5252
- K as f,
5276
+ en as b,
5277
+ An as c,
5278
+ hn as d,
5279
+ O as e,
5280
+ Y as f,
5253
5281
  te as g,
5254
- rt as h,
5255
- Tn as i,
5282
+ nt as h,
5283
+ Hn as i,
5256
5284
  h as j,
5257
5285
  M as k,
5258
5286
  p as l,
@@ -5260,14 +5288,14 @@ export {
5260
5288
  Z as n,
5261
5289
  w as o,
5262
5290
  j as p,
5263
- ln as q,
5291
+ cn as q,
5264
5292
  Le as r,
5265
- Pr as s,
5293
+ Tr as s,
5266
5294
  N as t,
5267
- gn as u,
5268
- ut as v,
5269
- Co as w,
5270
- Mo as x,
5271
- No as y,
5272
- Ro as z
5295
+ vn as u,
5296
+ ct as v,
5297
+ Mo as w,
5298
+ Ro as x,
5299
+ Uo as y,
5300
+ Fo as z
5273
5301
  };