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

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