@everymatrix/general-player-register-form-nd 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.
Files changed (22) hide show
  1. package/components/{GeneralPlayerRegisterFormNd-QoCxLCNr.js → GeneralPlayerRegisterFormNd-BUMyIh_U.js} +1052 -1017
  2. package/components/GeneralPlayerRegisterFormNd-D_476bDL.cjs +5 -0
  3. package/components/{GeneralPlayerRegisterFormNd-Dr0PY5XW.js → GeneralPlayerRegisterFormNd-DiQsI4kU.js} +998 -963
  4. package/components/{GeneralPlayerRegisterFormStep1-DOTUzvZi.js → GeneralPlayerRegisterFormStep1-Ctnn3VLy.js} +520 -527
  5. package/components/{GeneralPlayerRegisterFormStep1-JRIJq5z_.cjs → GeneralPlayerRegisterFormStep1-Di85W0GA.cjs} +1 -1
  6. package/components/{GeneralPlayerRegisterFormStep1-I6tVsjST.js → GeneralPlayerRegisterFormStep1-ohqnb9Z5.js} +521 -528
  7. package/components/{GeneralPlayerRegisterFormStep2-DwejkktO.cjs → GeneralPlayerRegisterFormStep2-BzFYy8Ta.cjs} +5 -5
  8. package/components/{GeneralPlayerRegisterFormStep2-BRIurvy3.js → GeneralPlayerRegisterFormStep2-Dn3Oqt8U.js} +1293 -1300
  9. package/components/{GeneralPlayerRegisterFormStep2-BDIjqPh7.js → GeneralPlayerRegisterFormStep2-bfUHBIKJ.js} +1361 -1368
  10. package/components/GeneralPlayerRegisterFormStep3-BG4PaZHC.cjs +1 -0
  11. package/components/{GeneralPlayerRegisterFormStep3-B7AqiDVg.js → GeneralPlayerRegisterFormStep3-Bem9xLXM.js} +487 -494
  12. package/components/{GeneralPlayerRegisterFormStep3-3yVHwKDi.js → GeneralPlayerRegisterFormStep3-DtEbjUb_.js} +498 -505
  13. package/components/{GeneralPlayerSmsVerificationForm-I_smD871.js → GeneralPlayerSmsVerificationForm-CU2--1J3.js} +182 -189
  14. package/components/GeneralPlayerSmsVerificationForm-jQD-XdiY.cjs +1 -0
  15. package/components/{GeneralPlayerSmsVerificationForm-D93ijZa3.js → GeneralPlayerSmsVerificationForm-tOuaq6vc.js} +183 -190
  16. package/es2015/general-player-register-form-nd.cjs +1 -1
  17. package/es2015/general-player-register-form-nd.js +1 -1
  18. package/esnext/general-player-register-form-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/GeneralPlayerRegisterFormNd-B3B0HgIH.cjs +0 -5
  21. package/components/GeneralPlayerRegisterFormStep3-DGNV6yud.cjs +0 -1
  22. package/components/GeneralPlayerSmsVerificationForm-BkFD5fn4.cjs +0 -1
@@ -1,28 +1,28 @@
1
1
  function k() {
2
2
  }
3
- function or(e) {
3
+ function ir(e) {
4
4
  return e();
5
5
  }
6
- function Ct() {
6
+ function At() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function de(e) {
10
- e.forEach(or);
9
+ function ge(e) {
10
+ e.forEach(ir);
11
11
  }
12
12
  function ht(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function ar(e, t) {
15
+ function sr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Ee;
19
- function ks(e, t) {
20
- return e === t ? !0 : (Ee || (Ee = document.createElement("a")), Ee.href = t, e === Ee.href);
18
+ let we;
19
+ function Us(e, t) {
20
+ return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
21
21
  }
22
- function tn(e) {
22
+ function qr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function ur(e, ...t) {
25
+ function or(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,24 +31,20 @@ function ur(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function rn(e, t, r) {
35
- e.$$.on_destroy.push(ur(t, r));
34
+ function Qr(e, t, r) {
35
+ e.$$.on_destroy.push(or(t, r));
36
36
  }
37
- const Gs = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
38
- // @ts-ignore Node typings have this
39
- global
40
- );
41
37
  function E(e, t) {
42
38
  e.appendChild(t);
43
39
  }
44
- function nn(e, t, r) {
45
- const n = sn(e);
40
+ function Yr(e, t, r) {
41
+ const n = Kr(e);
46
42
  if (!n.getElementById(t)) {
47
43
  const i = B("style");
48
- i.id = t, i.textContent = r, on(n, i);
44
+ i.id = t, i.textContent = r, en(n, i);
49
45
  }
50
46
  }
51
- function sn(e) {
47
+ function Kr(e) {
52
48
  if (!e) return document;
53
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
54
50
  return t && /** @type {ShadowRoot} */
@@ -57,7 +53,7 @@ function sn(e) {
57
53
  t
58
54
  ) : e.ownerDocument;
59
55
  }
60
- function on(e, t) {
56
+ function en(e, t) {
61
57
  return E(
62
58
  /** @type {Document} */
63
59
  e.head || e,
@@ -67,49 +63,49 @@ function on(e, t) {
67
63
  function F(e, t, r) {
68
64
  e.insertBefore(t, r || null);
69
65
  }
70
- function N(e) {
66
+ function M(e) {
71
67
  e.parentNode && e.parentNode.removeChild(e);
72
68
  }
73
- function js(e, t) {
69
+ function ks(e, t) {
74
70
  for (let r = 0; r < e.length; r += 1)
75
71
  e[r] && e[r].d(t);
76
72
  }
77
73
  function B(e) {
78
74
  return document.createElement(e);
79
75
  }
80
- function we(e) {
76
+ function Se(e) {
81
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
82
78
  }
83
- function j(e) {
79
+ function $(e) {
84
80
  return document.createTextNode(e);
85
81
  }
86
82
  function U() {
87
- return j(" ");
83
+ return $(" ");
88
84
  }
89
- function an() {
90
- return j("");
85
+ function tn() {
86
+ return $("");
91
87
  }
92
- function un(e, t, r, n) {
88
+ function rn(e, t, r, n) {
93
89
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
94
90
  }
95
- function T(e, t, r) {
91
+ function x(e, t, r) {
96
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
97
93
  }
98
94
  function m(e, t, r) {
99
95
  const n = t.toLowerCase();
100
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
96
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
101
97
  }
102
- function ln(e) {
98
+ function nn(e) {
103
99
  return Array.from(e.childNodes);
104
100
  }
105
- function Y(e, t) {
101
+ function K(e, t) {
106
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
107
103
  t);
108
104
  }
109
- function $s(e, t) {
105
+ function Gs(e, t) {
110
106
  e.value = t ?? "";
111
107
  }
112
- function Vs(e, t, r) {
108
+ function js(e, t, r) {
113
109
  for (let n = 0; n < e.options.length; n += 1) {
114
110
  const i = e.options[n];
115
111
  if (i.__value === t) {
@@ -119,11 +115,11 @@ function Vs(e, t, r) {
119
115
  }
120
116
  (!r || t !== void 0) && (e.selectedIndex = -1);
121
117
  }
122
- function Xs(e) {
118
+ function $s(e) {
123
119
  const t = e.querySelector(":checked");
124
120
  return t && t.__value;
125
121
  }
126
- function hn(e) {
122
+ function sn(e) {
127
123
  const t = {};
128
124
  return e.childNodes.forEach(
129
125
  /** @param {Element} node */
@@ -132,88 +128,88 @@ function hn(e) {
132
128
  }
133
129
  ), t;
134
130
  }
135
- let ce;
136
- function fe(e) {
137
- ce = e;
131
+ let me;
132
+ function ce(e) {
133
+ me = e;
138
134
  }
139
- function fn() {
140
- if (!ce) throw new Error("Function called outside component initialization");
141
- return ce;
135
+ function on() {
136
+ if (!me) throw new Error("Function called outside component initialization");
137
+ return me;
142
138
  }
143
- function cn(e) {
144
- fn().$$.on_mount.push(e);
139
+ function an(e) {
140
+ on().$$.on_mount.push(e);
145
141
  }
146
- const Q = [], Pe = [];
147
- let K = [];
148
- const Ot = [], mn = /* @__PURE__ */ Promise.resolve();
142
+ const Y = [], Oe = [];
143
+ let ee = [];
144
+ const Pt = [], un = /* @__PURE__ */ Promise.resolve();
149
145
  let Je = !1;
150
- function pn() {
151
- Je || (Je = !0, mn.then(A));
146
+ function ln() {
147
+ Je || (Je = !0, un.then(A));
152
148
  }
153
149
  function qe(e) {
154
- K.push(e);
150
+ ee.push(e);
155
151
  }
156
- const Ge = /* @__PURE__ */ new Set();
157
- let J = 0;
152
+ const je = /* @__PURE__ */ new Set();
153
+ let q = 0;
158
154
  function A() {
159
- if (J !== 0)
155
+ if (q !== 0)
160
156
  return;
161
- const e = ce;
157
+ const e = me;
162
158
  do {
163
159
  try {
164
- for (; J < Q.length; ) {
165
- const t = Q[J];
166
- J++, fe(t), dn(t.$$);
160
+ for (; q < Y.length; ) {
161
+ const t = Y[q];
162
+ q++, ce(t), hn(t.$$);
167
163
  }
168
164
  } catch (t) {
169
- throw Q.length = 0, J = 0, t;
165
+ throw Y.length = 0, q = 0, t;
170
166
  }
171
- for (fe(null), Q.length = 0, J = 0; Pe.length; ) Pe.pop()();
172
- for (let t = 0; t < K.length; t += 1) {
173
- const r = K[t];
174
- Ge.has(r) || (Ge.add(r), r());
167
+ for (ce(null), Y.length = 0, q = 0; Oe.length; ) Oe.pop()();
168
+ for (let t = 0; t < ee.length; t += 1) {
169
+ const r = ee[t];
170
+ je.has(r) || (je.add(r), r());
175
171
  }
176
- K.length = 0;
177
- } while (Q.length);
178
- for (; Ot.length; )
179
- Ot.pop()();
180
- Je = !1, Ge.clear(), fe(e);
172
+ ee.length = 0;
173
+ } while (Y.length);
174
+ for (; Pt.length; )
175
+ Pt.pop()();
176
+ Je = !1, je.clear(), ce(e);
181
177
  }
182
- function dn(e) {
178
+ function hn(e) {
183
179
  if (e.fragment !== null) {
184
- e.update(), de(e.before_update);
180
+ e.update(), ge(e.before_update);
185
181
  const t = e.dirty;
186
182
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qe);
187
183
  }
188
184
  }
189
- function gn(e) {
185
+ function fn(e) {
190
186
  const t = [], r = [];
191
- K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
187
+ ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
192
188
  }
193
- const bn = /* @__PURE__ */ new Set();
194
- function yn(e, t) {
195
- e && e.i && (bn.delete(e), e.i(t));
189
+ const cn = /* @__PURE__ */ new Set();
190
+ function mn(e, t) {
191
+ e && e.i && (cn.delete(e), e.i(t));
196
192
  }
197
- function Ws(e) {
193
+ function Vs(e) {
198
194
  return e?.length !== void 0 ? e : Array.from(e);
199
195
  }
200
- function vn(e, t, r) {
196
+ function pn(e, t, r) {
201
197
  const { fragment: n, after_update: i } = e.$$;
202
198
  n && n.m(t, r), qe(() => {
203
- const s = e.$$.on_mount.map(or).filter(ht);
204
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : de(s), e.$$.on_mount = [];
199
+ const s = e.$$.on_mount.map(ir).filter(ht);
200
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
205
201
  }), i.forEach(qe);
206
202
  }
207
- function _n(e, t) {
203
+ function dn(e, t) {
208
204
  const r = e.$$;
209
- r.fragment !== null && (gn(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
+ r.fragment !== null && (fn(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
206
  }
211
- function En(e, t) {
212
- e.$$.dirty[0] === -1 && (Q.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
+ function gn(e, t) {
208
+ e.$$.dirty[0] === -1 && (Y.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
209
  }
214
- function wn(e, t, r, n, i, s, o = null, a = [-1]) {
215
- const h = ce;
216
- fe(e);
210
+ function bn(e, t, r, n, i, s, o = null, a = [-1]) {
211
+ const h = me;
212
+ ce(e);
217
213
  const l = e.$$ = {
218
214
  fragment: null,
219
215
  ctx: [],
@@ -221,7 +217,7 @@ function wn(e, t, r, n, i, s, o = null, a = [-1]) {
221
217
  props: s,
222
218
  update: k,
223
219
  not_equal: i,
224
- bound: Ct(),
220
+ bound: At(),
225
221
  // lifecycle
226
222
  on_mount: [],
227
223
  on_destroy: [],
@@ -230,7 +226,7 @@ function wn(e, t, r, n, i, s, o = null, a = [-1]) {
230
226
  after_update: [],
231
227
  context: new Map(t.context || (h ? h.$$.context : [])),
232
228
  // everything else
233
- callbacks: Ct(),
229
+ callbacks: At(),
234
230
  dirty: a,
235
231
  skip_bound: !1,
236
232
  root: t.target || h.$$.root
@@ -239,19 +235,19 @@ function wn(e, t, r, n, i, s, o = null, a = [-1]) {
239
235
  let u = !1;
240
236
  if (l.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
241
237
  const g = y.length ? y[0] : p;
242
- return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && En(e, c)), p;
243
- }) : [], l.update(), u = !0, de(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
238
+ return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && gn(e, c)), p;
239
+ }) : [], l.update(), u = !0, ge(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
244
240
  if (t.hydrate) {
245
- const c = ln(t.target);
246
- l.fragment && l.fragment.l(c), c.forEach(N);
241
+ const c = nn(t.target);
242
+ l.fragment && l.fragment.l(c), c.forEach(M);
247
243
  } else
248
244
  l.fragment && l.fragment.c();
249
- t.intro && yn(e.$$.fragment), vn(e, t.target, t.anchor), A();
245
+ t.intro && mn(e.$$.fragment), pn(e, t.target, t.anchor), A();
250
246
  }
251
- fe(h);
247
+ ce(h);
252
248
  }
253
- let lr;
254
- typeof HTMLElement == "function" && (lr = class extends HTMLElement {
249
+ let ar;
250
+ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
255
251
  /** The Svelte component constructor */
256
252
  $$ctor;
257
253
  /** Slots */
@@ -293,7 +289,7 @@ typeof HTMLElement == "function" && (lr = class extends HTMLElement {
293
289
  let s;
294
290
  return {
295
291
  c: function() {
296
- s = B("slot"), i !== "default" && T(s, "name", i);
292
+ s = B("slot"), i !== "default" && x(s, "name", i);
297
293
  },
298
294
  /**
299
295
  * @param {HTMLElement} target
@@ -303,19 +299,19 @@ typeof HTMLElement == "function" && (lr = class extends HTMLElement {
303
299
  F(h, s, l);
304
300
  },
305
301
  d: function(h) {
306
- h && N(s);
302
+ h && M(s);
307
303
  }
308
304
  };
309
305
  };
310
306
  };
311
307
  if (await Promise.resolve(), !this.$$cn || this.$$c)
312
308
  return;
313
- const t = {}, r = hn(this);
309
+ const t = {}, r = sn(this);
314
310
  for (const i of this.$$s)
315
311
  i in r && (t[i] = [e(i)]);
316
312
  for (const i of this.attributes) {
317
313
  const s = this.$$g_p(i.name);
318
- s in this.$$d || (this.$$d[s] = Te(s, i.value, this.$$p_d, "toProp"));
314
+ s in this.$$d || (this.$$d[s] = He(s, i.value, this.$$p_d, "toProp"));
319
315
  }
320
316
  for (const i in this.$$p_d)
321
317
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -333,7 +329,7 @@ typeof HTMLElement == "function" && (lr = class extends HTMLElement {
333
329
  this.$$r = !0;
334
330
  for (const i in this.$$p_d)
335
331
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
336
- const s = Te(
332
+ const s = He(
337
333
  i,
338
334
  this.$$d[i],
339
335
  this.$$p_d,
@@ -355,7 +351,7 @@ typeof HTMLElement == "function" && (lr = class extends HTMLElement {
355
351
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
356
352
  // and setting attributes through setAttribute etc, this is helpful
357
353
  attributeChangedCallback(e, t, r) {
358
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Te(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
354
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = He(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
359
355
  }
360
356
  disconnectedCallback() {
361
357
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -368,7 +364,7 @@ typeof HTMLElement == "function" && (lr = class extends HTMLElement {
368
364
  ) || e;
369
365
  }
370
366
  });
371
- function Te(e, t, r, n) {
367
+ function He(e, t, r, n) {
372
368
  const i = r[e]?.type;
373
369
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
374
370
  return t;
@@ -397,8 +393,8 @@ function Te(e, t, r, n) {
397
393
  return t;
398
394
  }
399
395
  }
400
- function xn(e, t, r, n, i, s) {
401
- let o = class extends lr {
396
+ function yn(e, t, r, n, i, s) {
397
+ let o = class extends ar {
402
398
  constructor() {
403
399
  super(e, r, i), this.$$p_d = t;
404
400
  }
@@ -414,7 +410,7 @@ function xn(e, t, r, n, i, s) {
414
410
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
415
411
  },
416
412
  set(h) {
417
- h = Te(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
413
+ h = He(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
418
414
  }
419
415
  });
420
416
  }), n.forEach((a) => {
@@ -426,7 +422,7 @@ function xn(e, t, r, n, i, s) {
426
422
  }), e.element = /** @type {any} */
427
423
  o, o;
428
424
  }
429
- class Sn {
425
+ class vn {
430
426
  /**
431
427
  * ### PRIVATE API
432
428
  *
@@ -445,7 +441,7 @@ class Sn {
445
441
  $$set = void 0;
446
442
  /** @returns {void} */
447
443
  $destroy() {
448
- _n(this, 1), this.$destroy = k;
444
+ dn(this, 1), this.$destroy = k;
449
445
  }
450
446
  /**
451
447
  * @template {Extract<keyof Events, string>} K
@@ -467,11 +463,11 @@ class Sn {
467
463
  * @returns {void}
468
464
  */
469
465
  $set(t) {
470
- this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
466
+ this.$$set && !qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
467
  }
472
468
  }
473
- const Tn = "4";
474
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tn);
469
+ const _n = "4";
470
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
475
471
  var Qe = function(e, t) {
476
472
  return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
477
473
  r.__proto__ = n;
@@ -479,7 +475,7 @@ var Qe = function(e, t) {
479
475
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
480
476
  }, Qe(e, t);
481
477
  };
482
- function V(e, t) {
478
+ function X(e, t) {
483
479
  if (typeof t != "function" && t !== null)
484
480
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
485
481
  Qe(e, t);
@@ -497,7 +493,7 @@ var w = function() {
497
493
  return t;
498
494
  }, w.apply(this, arguments);
499
495
  };
500
- function Hn(e, t) {
496
+ function En(e, t) {
501
497
  var r = {};
502
498
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
503
499
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -532,21 +528,21 @@ function Ke(e, t) {
532
528
  }
533
529
  return s;
534
530
  }
535
- function ee(e, t, r) {
531
+ function te(e, t, r) {
536
532
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
537
533
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
538
534
  return e.concat(s || Array.prototype.slice.call(t));
539
535
  }
540
- function $(e) {
536
+ function V(e) {
541
537
  return typeof e == "function";
542
538
  }
543
- function hr(e) {
539
+ function ur(e) {
544
540
  var t = function(n) {
545
541
  Error.call(n), n.stack = new Error().stack;
546
542
  }, r = e(t);
547
543
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
548
544
  }
549
- var je = hr(function(e) {
545
+ var $e = ur(function(e) {
550
546
  return function(r) {
551
547
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
552
548
  ` + r.map(function(n, i) {
@@ -561,7 +557,7 @@ function et(e, t) {
561
557
  0 <= r && e.splice(r, 1);
562
558
  }
563
559
  }
564
- var Ie = function() {
560
+ var Le = function() {
565
561
  function e(t) {
566
562
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
567
563
  }
@@ -589,11 +585,11 @@ var Ie = function() {
589
585
  else
590
586
  o.remove(this);
591
587
  var u = this.initialTeardown;
592
- if ($(u))
588
+ if (V(u))
593
589
  try {
594
590
  u();
595
591
  } catch (d) {
596
- s = d instanceof je ? d.errors : [d];
592
+ s = d instanceof $e ? d.errors : [d];
597
593
  }
598
594
  var c = this._finalizers;
599
595
  if (c) {
@@ -602,9 +598,9 @@ var Ie = function() {
602
598
  for (var p = Ye(c), y = p.next(); !y.done; y = p.next()) {
603
599
  var g = y.value;
604
600
  try {
605
- It(g);
601
+ Ot(g);
606
602
  } catch (d) {
607
- s = s ?? [], d instanceof je ? s = ee(ee([], Ke(s)), Ke(d.errors)) : s.push(d);
603
+ s = s ?? [], d instanceof $e ? s = te(te([], Ke(s)), Ke(d.errors)) : s.push(d);
608
604
  }
609
605
  }
610
606
  } catch (d) {
@@ -618,13 +614,13 @@ var Ie = function() {
618
614
  }
619
615
  }
620
616
  if (s)
621
- throw new je(s);
617
+ throw new $e(s);
622
618
  }
623
619
  }, e.prototype.add = function(t) {
624
620
  var r;
625
621
  if (t && t !== this)
626
622
  if (this.closed)
627
- It(t);
623
+ Ot(t);
628
624
  else {
629
625
  if (t instanceof e) {
630
626
  if (t.closed || t._hasParent(this))
@@ -649,45 +645,41 @@ var Ie = function() {
649
645
  var t = new e();
650
646
  return t.closed = !0, t;
651
647
  }(), e;
652
- }(), fr = Ie.EMPTY;
653
- function cr(e) {
654
- return e instanceof Ie || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
655
- }
656
- function It(e) {
657
- $(e) ? e() : e.unsubscribe();
658
- }
659
- var mr = {
660
- onUnhandledError: null,
661
- onStoppedNotification: null,
662
- Promise: void 0,
663
- useDeprecatedSynchronousErrorHandling: !1,
664
- useDeprecatedNextContext: !1
665
- }, Bn = {
648
+ }(), lr = Le.EMPTY;
649
+ function hr(e) {
650
+ return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
651
+ }
652
+ function Ot(e) {
653
+ V(e) ? e() : e.unsubscribe();
654
+ }
655
+ var wn = {
656
+ Promise: void 0
657
+ }, Sn = {
666
658
  setTimeout: function(e, t) {
667
659
  for (var r = [], n = 2; n < arguments.length; n++)
668
660
  r[n - 2] = arguments[n];
669
- return setTimeout.apply(void 0, ee([e, t], Ke(r)));
661
+ return setTimeout.apply(void 0, te([e, t], Ke(r)));
670
662
  },
671
663
  clearTimeout: function(e) {
672
664
  return clearTimeout(e);
673
665
  },
674
666
  delegate: void 0
675
667
  };
676
- function An(e) {
677
- Bn.setTimeout(function() {
668
+ function xn(e) {
669
+ Sn.setTimeout(function() {
678
670
  throw e;
679
671
  });
680
672
  }
681
- function Rt() {
673
+ function Ct() {
682
674
  }
683
- function He(e) {
675
+ function Be(e) {
684
676
  e();
685
677
  }
686
- var pr = function(e) {
687
- V(t, e);
678
+ var fr = function(e) {
679
+ X(t, e);
688
680
  function t(r) {
689
681
  var n = e.call(this) || this;
690
- return n.isStopped = !1, r ? (n.destination = r, cr(r) && r.add(n)) : n.destination = In, n;
682
+ return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = Bn, n;
691
683
  }
692
684
  return t.create = function(r, n, i) {
693
685
  return new tt(r, n, i);
@@ -714,11 +706,7 @@ var pr = function(e) {
714
706
  this.unsubscribe();
715
707
  }
716
708
  }, t;
717
- }(Ie), Pn = Function.prototype.bind;
718
- function $e(e, t) {
719
- return Pn.call(e, t);
720
- }
721
- var Cn = function() {
709
+ }(Le), Tn = function() {
722
710
  function e(t) {
723
711
  this.partialObserver = t;
724
712
  }
@@ -750,54 +738,42 @@ var Cn = function() {
750
738
  }
751
739
  }, e;
752
740
  }(), tt = function(e) {
753
- V(t, e);
741
+ X(t, e);
754
742
  function t(r, n, i) {
755
743
  var s = e.call(this) || this, o;
756
- if ($(r) || !r)
757
- o = {
758
- next: r ?? void 0,
759
- error: n ?? void 0,
760
- complete: i ?? void 0
761
- };
762
- else {
763
- var a;
764
- s && mr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
765
- return s.unsubscribe();
766
- }, o = {
767
- next: r.next && $e(r.next, a),
768
- error: r.error && $e(r.error, a),
769
- complete: r.complete && $e(r.complete, a)
770
- }) : o = r;
771
- }
772
- return s.destination = new Cn(o), s;
744
+ return V(r) || !r ? o = {
745
+ next: r ?? void 0,
746
+ error: n ?? void 0,
747
+ complete: i ?? void 0
748
+ } : o = r, s.destination = new Tn(o), s;
773
749
  }
774
750
  return t;
775
- }(pr);
751
+ }(fr);
776
752
  function xe(e) {
777
- An(e);
753
+ xn(e);
778
754
  }
779
- function On(e) {
755
+ function Hn(e) {
780
756
  throw e;
781
757
  }
782
- var In = {
758
+ var Bn = {
783
759
  closed: !0,
784
- next: Rt,
785
- error: On,
786
- complete: Rt
787
- }, Rn = function() {
760
+ next: Ct,
761
+ error: Hn,
762
+ complete: Ct
763
+ }, An = function() {
788
764
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
789
765
  }();
790
- function Ln(e) {
766
+ function Pn(e) {
791
767
  return e;
792
768
  }
793
- function Mn(e) {
794
- return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
769
+ function On(e) {
770
+ return e.length === 0 ? Pn : e.length === 1 ? e[0] : function(r) {
795
771
  return e.reduce(function(n, i) {
796
772
  return i(n);
797
773
  }, r);
798
774
  };
799
775
  }
800
- var Lt = function() {
776
+ var It = function() {
801
777
  function e(t) {
802
778
  t && (this._subscribe = t);
803
779
  }
@@ -805,8 +781,8 @@ var Lt = function() {
805
781
  var r = new e();
806
782
  return r.source = this, r.operator = t, r;
807
783
  }, e.prototype.subscribe = function(t, r, n) {
808
- var i = this, s = Dn(t) ? t : new tt(t, r, n);
809
- return He(function() {
784
+ var i = this, s = In(t) ? t : new tt(t, r, n);
785
+ return Be(function() {
810
786
  var o = i, a = o.operator, h = o.source;
811
787
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
812
788
  }), s;
@@ -818,7 +794,7 @@ var Lt = function() {
818
794
  }
819
795
  }, e.prototype.forEach = function(t, r) {
820
796
  var n = this;
821
- return r = Mt(r), new r(function(i, s) {
797
+ return r = Lt(r), new r(function(i, s) {
822
798
  var o = new tt({
823
799
  next: function(a) {
824
800
  try {
@@ -835,15 +811,15 @@ var Lt = function() {
835
811
  }, e.prototype._subscribe = function(t) {
836
812
  var r;
837
813
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
838
- }, e.prototype[Rn] = function() {
814
+ }, e.prototype[An] = function() {
839
815
  return this;
840
816
  }, e.prototype.pipe = function() {
841
817
  for (var t = [], r = 0; r < arguments.length; r++)
842
818
  t[r] = arguments[r];
843
- return Mn(t)(this);
819
+ return On(t)(this);
844
820
  }, e.prototype.toPromise = function(t) {
845
821
  var r = this;
846
- return t = Mt(t), new t(function(n, i) {
822
+ return t = Lt(t), new t(function(n, i) {
847
823
  var s;
848
824
  r.subscribe(function(o) {
849
825
  return s = o;
@@ -857,35 +833,35 @@ var Lt = function() {
857
833
  return new e(t);
858
834
  }, e;
859
835
  }();
860
- function Mt(e) {
836
+ function Lt(e) {
861
837
  var t;
862
- return (t = e ?? mr.Promise) !== null && t !== void 0 ? t : Promise;
838
+ return (t = e ?? wn.Promise) !== null && t !== void 0 ? t : Promise;
863
839
  }
864
- function Nn(e) {
865
- return e && $(e.next) && $(e.error) && $(e.complete);
840
+ function Cn(e) {
841
+ return e && V(e.next) && V(e.error) && V(e.complete);
866
842
  }
867
- function Dn(e) {
868
- return e && e instanceof pr || Nn(e) && cr(e);
843
+ function In(e) {
844
+ return e && e instanceof fr || Cn(e) && hr(e);
869
845
  }
870
- var Fn = hr(function(e) {
846
+ var Ln = ur(function(e) {
871
847
  return function() {
872
848
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
873
849
  };
874
- }), dr = function(e) {
875
- V(t, e);
850
+ }), cr = function(e) {
851
+ X(t, e);
876
852
  function t() {
877
853
  var r = e.call(this) || this;
878
854
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
879
855
  }
880
856
  return t.prototype.lift = function(r) {
881
- var n = new Nt(this, this);
857
+ var n = new Rt(this, this);
882
858
  return n.operator = r, n;
883
859
  }, t.prototype._throwIfClosed = function() {
884
860
  if (this.closed)
885
- throw new Fn();
861
+ throw new Ln();
886
862
  }, t.prototype.next = function(r) {
887
863
  var n = this;
888
- He(function() {
864
+ Be(function() {
889
865
  var i, s;
890
866
  if (n._throwIfClosed(), !n.isStopped) {
891
867
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -907,7 +883,7 @@ var Fn = hr(function(e) {
907
883
  });
908
884
  }, t.prototype.error = function(r) {
909
885
  var n = this;
910
- He(function() {
886
+ Be(function() {
911
887
  if (n._throwIfClosed(), !n.isStopped) {
912
888
  n.hasError = n.isStopped = !0, n.thrownError = r;
913
889
  for (var i = n.observers; i.length; )
@@ -916,7 +892,7 @@ var Fn = hr(function(e) {
916
892
  });
917
893
  }, t.prototype.complete = function() {
918
894
  var r = this;
919
- He(function() {
895
+ Be(function() {
920
896
  if (r._throwIfClosed(), !r.isStopped) {
921
897
  r.isStopped = !0;
922
898
  for (var n = r.observers; n.length; )
@@ -938,20 +914,20 @@ var Fn = hr(function(e) {
938
914
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
939
915
  }, t.prototype._innerSubscribe = function(r) {
940
916
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
941
- return s || o ? fr : (this.currentObservers = null, a.push(r), new Ie(function() {
917
+ return s || o ? lr : (this.currentObservers = null, a.push(r), new Le(function() {
942
918
  n.currentObservers = null, et(a, r);
943
919
  }));
944
920
  }, t.prototype._checkFinalizedStatuses = function(r) {
945
921
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
946
922
  i ? r.error(s) : o && r.complete();
947
923
  }, t.prototype.asObservable = function() {
948
- var r = new Lt();
924
+ var r = new It();
949
925
  return r.source = this, r;
950
926
  }, t.create = function(r, n) {
951
- return new Nt(r, n);
927
+ return new Rt(r, n);
952
928
  }, t;
953
- }(Lt), Nt = function(e) {
954
- V(t, e);
929
+ }(It), Rt = function(e) {
930
+ X(t, e);
955
931
  function t(r, n) {
956
932
  var i = e.call(this) || this;
957
933
  return i.destination = r, i.source = n, i;
@@ -967,17 +943,17 @@ var Fn = hr(function(e) {
967
943
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
968
944
  }, t.prototype._subscribe = function(r) {
969
945
  var n, i;
970
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : fr;
946
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : lr;
971
947
  }, t;
972
- }(dr), gr = {
948
+ }(cr), mr = {
973
949
  now: function() {
974
- return (gr.delegate || Date).now();
950
+ return (mr.delegate || Date).now();
975
951
  },
976
952
  delegate: void 0
977
- }, Un = function(e) {
978
- V(t, e);
953
+ }, Rn = function(e) {
954
+ X(t, e);
979
955
  function t(r, n, i) {
980
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = gr);
956
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = mr);
981
957
  var s = e.call(this) || this;
982
958
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
983
959
  }
@@ -997,15 +973,15 @@ var Fn = hr(function(e) {
997
973
  l && s.splice(0, l + 1);
998
974
  }
999
975
  }, t;
1000
- }(dr);
1001
- const Dt = [], Ft = {}, kn = (e, t = 0) => {
1002
- if (Dt.indexOf(e) == -1) {
1003
- const r = new Un(t);
1004
- Ft[e] = r, Dt.push(e);
976
+ }(cr);
977
+ const Nt = [], Mt = {}, Nn = (e, t = 0) => {
978
+ if (Nt.indexOf(e) == -1) {
979
+ const r = new Rn(t);
980
+ Mt[e] = r, Nt.push(e);
1005
981
  }
1006
- return Ft[e];
1007
- }, q = [];
1008
- function Gn(e, t) {
982
+ return Mt[e];
983
+ }, Q = [];
984
+ function Mn(e, t) {
1009
985
  return {
1010
986
  subscribe: Re(e, t).subscribe
1011
987
  };
@@ -1014,14 +990,14 @@ function Re(e, t = k) {
1014
990
  let r;
1015
991
  const n = /* @__PURE__ */ new Set();
1016
992
  function i(a) {
1017
- if (ar(e, a) && (e = a, r)) {
1018
- const h = !q.length;
993
+ if (sr(e, a) && (e = a, r)) {
994
+ const h = !Q.length;
1019
995
  for (const l of n)
1020
- l[1](), q.push(l, e);
996
+ l[1](), Q.push(l, e);
1021
997
  if (h) {
1022
- for (let l = 0; l < q.length; l += 2)
1023
- q[l][0](q[l + 1]);
1024
- q.length = 0;
998
+ for (let l = 0; l < Q.length; l += 2)
999
+ Q[l][0](Q[l + 1]);
1000
+ Q.length = 0;
1025
1001
  }
1026
1002
  }
1027
1003
  }
@@ -1036,12 +1012,12 @@ function Re(e, t = k) {
1036
1012
  }
1037
1013
  return { set: i, update: s, subscribe: o };
1038
1014
  }
1039
- function se(e, t, r) {
1015
+ function oe(e, t, r) {
1040
1016
  const n = !Array.isArray(e), i = n ? [e] : e;
1041
1017
  if (!i.every(Boolean))
1042
1018
  throw new Error("derived() expects stores as input, got a falsy value");
1043
1019
  const s = t.length < 2;
1044
- return Gn(r, (o, a) => {
1020
+ return Mn(r, (o, a) => {
1045
1021
  let h = !1;
1046
1022
  const l = [];
1047
1023
  let u = 0, c = k;
@@ -1052,7 +1028,7 @@ function se(e, t, r) {
1052
1028
  const g = t(n ? l[0] : l, o, a);
1053
1029
  s ? o(g) : c = ht(g) ? g : k;
1054
1030
  }, y = i.map(
1055
- (g, d) => ur(
1031
+ (g, d) => or(
1056
1032
  g,
1057
1033
  (b) => {
1058
1034
  l[d] = b, u &= ~(1 << d), h && p();
@@ -1063,183 +1039,181 @@ function se(e, t, r) {
1063
1039
  )
1064
1040
  );
1065
1041
  return h = !0, p(), function() {
1066
- de(y), c(), h = !1;
1042
+ ge(y), c(), h = !1;
1067
1043
  };
1068
1044
  });
1069
1045
  }
1070
- function jn(e) {
1046
+ function Dn(e) {
1071
1047
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1072
1048
  }
1073
- var $n = function(t) {
1074
- return Vn(t) && !Xn(t);
1049
+ var Fn = function(t) {
1050
+ return Un(t) && !kn(t);
1075
1051
  };
1076
- function Vn(e) {
1052
+ function Un(e) {
1077
1053
  return !!e && typeof e == "object";
1078
1054
  }
1079
- function Xn(e) {
1055
+ function kn(e) {
1080
1056
  var t = Object.prototype.toString.call(e);
1081
- return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
1057
+ return t === "[object RegExp]" || t === "[object Date]" || $n(e);
1082
1058
  }
1083
- var Wn = typeof Symbol == "function" && Symbol.for, zn = Wn ? Symbol.for("react.element") : 60103;
1084
- function Zn(e) {
1085
- return e.$$typeof === zn;
1059
+ var Gn = typeof Symbol == "function" && Symbol.for, jn = Gn ? Symbol.for("react.element") : 60103;
1060
+ function $n(e) {
1061
+ return e.$$typeof === jn;
1086
1062
  }
1087
- function Jn(e) {
1063
+ function Vn(e) {
1088
1064
  return Array.isArray(e) ? [] : {};
1089
1065
  }
1090
- function me(e, t) {
1091
- return t.clone !== !1 && t.isMergeableObject(e) ? te(Jn(e), e, t) : e;
1066
+ function pe(e, t) {
1067
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(Vn(e), e, t) : e;
1092
1068
  }
1093
- function qn(e, t, r) {
1069
+ function Xn(e, t, r) {
1094
1070
  return e.concat(t).map(function(n) {
1095
- return me(n, r);
1071
+ return pe(n, r);
1096
1072
  });
1097
1073
  }
1098
- function Qn(e, t) {
1074
+ function Wn(e, t) {
1099
1075
  if (!t.customMerge)
1100
- return te;
1076
+ return re;
1101
1077
  var r = t.customMerge(e);
1102
- return typeof r == "function" ? r : te;
1078
+ return typeof r == "function" ? r : re;
1103
1079
  }
1104
- function Yn(e) {
1080
+ function zn(e) {
1105
1081
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1106
1082
  return Object.propertyIsEnumerable.call(e, t);
1107
1083
  }) : [];
1108
1084
  }
1109
- function Ut(e) {
1110
- return Object.keys(e).concat(Yn(e));
1085
+ function Dt(e) {
1086
+ return Object.keys(e).concat(zn(e));
1111
1087
  }
1112
- function br(e, t) {
1088
+ function pr(e, t) {
1113
1089
  try {
1114
1090
  return t in e;
1115
1091
  } catch {
1116
1092
  return !1;
1117
1093
  }
1118
1094
  }
1119
- function Kn(e, t) {
1120
- return br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1095
+ function Zn(e, t) {
1096
+ return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1121
1097
  }
1122
- function ei(e, t, r) {
1098
+ function Jn(e, t, r) {
1123
1099
  var n = {};
1124
- return r.isMergeableObject(e) && Ut(e).forEach(function(i) {
1125
- n[i] = me(e[i], r);
1126
- }), Ut(t).forEach(function(i) {
1127
- Kn(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1100
+ return r.isMergeableObject(e) && Dt(e).forEach(function(i) {
1101
+ n[i] = pe(e[i], r);
1102
+ }), Dt(t).forEach(function(i) {
1103
+ Zn(e, i) || (pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
1128
1104
  }), n;
1129
1105
  }
1130
- function te(e, t, r) {
1131
- r = r || {}, r.arrayMerge = r.arrayMerge || qn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = me;
1106
+ function re(e, t, r) {
1107
+ r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = pe;
1132
1108
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1133
- return s ? n ? r.arrayMerge(e, t, r) : ei(e, t, r) : me(t, r);
1109
+ return s ? n ? r.arrayMerge(e, t, r) : Jn(e, t, r) : pe(t, r);
1134
1110
  }
1135
- te.all = function(t, r) {
1111
+ re.all = function(t, r) {
1136
1112
  if (!Array.isArray(t))
1137
1113
  throw new Error("first argument should be an array");
1138
1114
  return t.reduce(function(n, i) {
1139
- return te(n, i, r);
1115
+ return re(n, i, r);
1140
1116
  }, {});
1141
1117
  };
1142
- var ti = te, ri = ti;
1143
- const ni = /* @__PURE__ */ jn(ri);
1118
+ var qn = re, Qn = qn;
1119
+ const Yn = /* @__PURE__ */ Dn(Qn);
1144
1120
  function Ve(e, t) {
1145
- var r = t && t.cache ? t.cache : li, n = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : si;
1121
+ var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
1146
1122
  return i(e, {
1147
1123
  cache: r,
1148
1124
  serializer: n
1149
1125
  });
1150
1126
  }
1151
- function ii(e) {
1127
+ function Kn(e) {
1152
1128
  return e == null || typeof e == "number" || typeof e == "boolean";
1153
1129
  }
1154
- function yr(e, t, r, n) {
1155
- var i = ii(n) ? n : r(n), s = t.get(i);
1130
+ function ei(e, t, r, n) {
1131
+ var i = Kn(n) ? n : r(n), s = t.get(i);
1156
1132
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1157
1133
  }
1158
- function vr(e, t, r) {
1134
+ function dr(e, t, r) {
1159
1135
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1160
1136
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1161
1137
  }
1162
- function ft(e, t, r, n, i) {
1138
+ function gr(e, t, r, n, i) {
1163
1139
  return r.bind(t, e, n, i);
1164
1140
  }
1165
- function si(e, t) {
1166
- var r = e.length === 1 ? yr : vr;
1167
- return ft(e, this, r, t.cache.create(), t.serializer);
1141
+ function ti(e, t) {
1142
+ var r = e.length === 1 ? ei : dr;
1143
+ return gr(e, this, r, t.cache.create(), t.serializer);
1168
1144
  }
1169
- function oi(e, t) {
1170
- return ft(e, this, vr, t.cache.create(), t.serializer);
1145
+ function ri(e, t) {
1146
+ return gr(e, this, dr, t.cache.create(), t.serializer);
1171
1147
  }
1172
- function ai(e, t) {
1173
- return ft(e, this, yr, t.cache.create(), t.serializer);
1174
- }
1175
- var ui = function() {
1148
+ var ni = function() {
1176
1149
  return JSON.stringify(arguments);
1177
- };
1178
- function ct() {
1179
- this.cache = /* @__PURE__ */ Object.create(null);
1180
- }
1181
- ct.prototype.get = function(e) {
1182
- return this.cache[e];
1183
- };
1184
- ct.prototype.set = function(e, t) {
1185
- this.cache[e] = t;
1186
- };
1187
- var li = {
1150
+ }, ii = (
1151
+ /** @class */
1152
+ function() {
1153
+ function e() {
1154
+ this.cache = /* @__PURE__ */ Object.create(null);
1155
+ }
1156
+ return e.prototype.get = function(t) {
1157
+ return this.cache[t];
1158
+ }, e.prototype.set = function(t, r) {
1159
+ this.cache[t] = r;
1160
+ }, e;
1161
+ }()
1162
+ ), si = {
1188
1163
  create: function() {
1189
- return new ct();
1164
+ return new ii();
1190
1165
  }
1191
1166
  }, Xe = {
1192
- variadic: oi,
1193
- monadic: ai
1167
+ variadic: ri
1194
1168
  }, v;
1195
1169
  (function(e) {
1196
1170
  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";
1197
1171
  })(v || (v = {}));
1198
- var H;
1172
+ var T;
1199
1173
  (function(e) {
1200
1174
  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";
1201
- })(H || (H = {}));
1202
- var re;
1175
+ })(T || (T = {}));
1176
+ var ne;
1203
1177
  (function(e) {
1204
1178
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1205
- })(re || (re = {}));
1206
- function kt(e) {
1207
- return e.type === H.literal;
1179
+ })(ne || (ne = {}));
1180
+ function Ft(e) {
1181
+ return e.type === T.literal;
1208
1182
  }
1209
- function hi(e) {
1210
- return e.type === H.argument;
1183
+ function oi(e) {
1184
+ return e.type === T.argument;
1211
1185
  }
1212
- function _r(e) {
1213
- return e.type === H.number;
1186
+ function br(e) {
1187
+ return e.type === T.number;
1214
1188
  }
1215
- function Er(e) {
1216
- return e.type === H.date;
1189
+ function yr(e) {
1190
+ return e.type === T.date;
1217
1191
  }
1218
- function wr(e) {
1219
- return e.type === H.time;
1192
+ function vr(e) {
1193
+ return e.type === T.time;
1220
1194
  }
1221
- function xr(e) {
1222
- return e.type === H.select;
1195
+ function _r(e) {
1196
+ return e.type === T.select;
1223
1197
  }
1224
- function Sr(e) {
1225
- return e.type === H.plural;
1198
+ function Er(e) {
1199
+ return e.type === T.plural;
1226
1200
  }
1227
- function fi(e) {
1228
- return e.type === H.pound;
1201
+ function ai(e) {
1202
+ return e.type === T.pound;
1229
1203
  }
1230
- function Tr(e) {
1231
- return e.type === H.tag;
1204
+ function wr(e) {
1205
+ return e.type === T.tag;
1232
1206
  }
1233
- function Hr(e) {
1234
- return !!(e && typeof e == "object" && e.type === re.number);
1207
+ function Sr(e) {
1208
+ return !!(e && typeof e == "object" && e.type === ne.number);
1235
1209
  }
1236
1210
  function rt(e) {
1237
- return !!(e && typeof e == "object" && e.type === re.dateTime);
1211
+ return !!(e && typeof e == "object" && e.type === ne.dateTime);
1238
1212
  }
1239
- var Br = /[ \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;
1240
- function mi(e) {
1213
+ var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
1214
+ function li(e) {
1241
1215
  var t = {};
1242
- return e.replace(ci, function(r) {
1216
+ return e.replace(ui, function(r) {
1243
1217
  var n = r.length;
1244
1218
  switch (r[0]) {
1245
1219
  case "G":
@@ -1328,11 +1302,11 @@ function mi(e) {
1328
1302
  return "";
1329
1303
  }), t;
1330
1304
  }
1331
- var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1332
- function di(e) {
1305
+ var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1306
+ function fi(e) {
1333
1307
  if (e.length === 0)
1334
1308
  throw new Error("Number skeleton cannot be empty");
1335
- for (var t = e.split(pi).filter(function(p) {
1309
+ for (var t = e.split(hi).filter(function(p) {
1336
1310
  return p.length > 0;
1337
1311
  }), r = [], n = 0, i = t; n < i.length; n++) {
1338
1312
  var s = i[n], o = s.split("/");
@@ -1347,17 +1321,17 @@ function di(e) {
1347
1321
  }
1348
1322
  return r;
1349
1323
  }
1350
- function gi(e) {
1324
+ function ci(e) {
1351
1325
  return e.replace(/^(.*?)-/, "");
1352
1326
  }
1353
- var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ar = /^(@+)?(\+|#+)?[rs]?$/g, bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Pr = /^(0+)$/;
1354
- function jt(e) {
1327
+ var Ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tr = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, Hr = /^(0+)$/;
1328
+ function kt(e) {
1355
1329
  var t = {};
1356
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ar, function(r, n, i) {
1330
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tr, function(r, n, i) {
1357
1331
  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)), "";
1358
1332
  }), t;
1359
1333
  }
1360
- function Cr(e) {
1334
+ function Br(e) {
1361
1335
  switch (e) {
1362
1336
  case "sign-auto":
1363
1337
  return {
@@ -1397,7 +1371,7 @@ function Cr(e) {
1397
1371
  };
1398
1372
  }
1399
1373
  }
1400
- function yi(e) {
1374
+ function pi(e) {
1401
1375
  var t;
1402
1376
  if (e[0] === "E" && e[1] === "E" ? (t = {
1403
1377
  notation: "engineering"
@@ -1405,17 +1379,17 @@ function yi(e) {
1405
1379
  notation: "scientific"
1406
1380
  }, e = e.slice(1)), t) {
1407
1381
  var r = e.slice(0, 2);
1408
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pr.test(e))
1382
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Hr.test(e))
1409
1383
  throw new Error("Malformed concise eng/scientific notation");
1410
1384
  t.minimumIntegerDigits = e.length;
1411
1385
  }
1412
1386
  return t;
1413
1387
  }
1414
- function $t(e) {
1415
- var t = {}, r = Cr(e);
1388
+ function Gt(e) {
1389
+ var t = {}, r = Br(e);
1416
1390
  return r || t;
1417
1391
  }
1418
- function vi(e) {
1392
+ function di(e) {
1419
1393
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1420
1394
  var i = n[r];
1421
1395
  switch (i.stem) {
@@ -1439,7 +1413,7 @@ function vi(e) {
1439
1413
  continue;
1440
1414
  case "measure-unit":
1441
1415
  case "unit":
1442
- t.style = "unit", t.unit = gi(i.options[0]);
1416
+ t.style = "unit", t.unit = ci(i.options[0]);
1443
1417
  continue;
1444
1418
  case "compact-short":
1445
1419
  case "K":
@@ -1451,12 +1425,12 @@ function vi(e) {
1451
1425
  continue;
1452
1426
  case "scientific":
1453
1427
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1454
- return w(w({}, h), $t(l));
1428
+ return w(w({}, h), Gt(l));
1455
1429
  }, {}));
1456
1430
  continue;
1457
1431
  case "engineering":
1458
1432
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1459
- return w(w({}, h), $t(l));
1433
+ return w(w({}, h), Gt(l));
1460
1434
  }, {}));
1461
1435
  continue;
1462
1436
  case "notation-simple":
@@ -1501,7 +1475,7 @@ function vi(e) {
1501
1475
  case "integer-width":
1502
1476
  if (i.options.length > 1)
1503
1477
  throw new RangeError("integer-width stems only accept a single optional option");
1504
- i.options[0].replace(bi, function(h, l, u, c, p, y) {
1478
+ i.options[0].replace(mi, function(h, l, u, c, p, y) {
1505
1479
  if (l)
1506
1480
  t.minimumIntegerDigits = u.length;
1507
1481
  else {
@@ -1514,32 +1488,32 @@ function vi(e) {
1514
1488
  });
1515
1489
  continue;
1516
1490
  }
1517
- if (Pr.test(i.stem)) {
1491
+ if (Hr.test(i.stem)) {
1518
1492
  t.minimumIntegerDigits = i.stem.length;
1519
1493
  continue;
1520
1494
  }
1521
- if (Gt.test(i.stem)) {
1495
+ if (Ut.test(i.stem)) {
1522
1496
  if (i.options.length > 1)
1523
1497
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1524
- i.stem.replace(Gt, function(h, l, u, c, p, y) {
1498
+ i.stem.replace(Ut, function(h, l, u, c, p, y) {
1525
1499
  return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1526
1500
  });
1527
1501
  var s = i.options[0];
1528
- s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), jt(s)));
1502
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), kt(s)));
1529
1503
  continue;
1530
1504
  }
1531
- if (Ar.test(i.stem)) {
1532
- t = w(w({}, t), jt(i.stem));
1505
+ if (Tr.test(i.stem)) {
1506
+ t = w(w({}, t), kt(i.stem));
1533
1507
  continue;
1534
1508
  }
1535
- var o = Cr(i.stem);
1509
+ var o = Br(i.stem);
1536
1510
  o && (t = w(w({}, t), o));
1537
- var a = yi(i.stem);
1511
+ var a = pi(i.stem);
1538
1512
  a && (t = w(w({}, t), a));
1539
1513
  }
1540
1514
  return t;
1541
1515
  }
1542
- var Se = {
1516
+ var Te = {
1543
1517
  "001": [
1544
1518
  "H",
1545
1519
  "h"
@@ -2954,13 +2928,13 @@ var Se = {
2954
2928
  "h"
2955
2929
  ]
2956
2930
  };
2957
- function _i(e, t) {
2931
+ function gi(e, t) {
2958
2932
  for (var r = "", n = 0; n < e.length; n++) {
2959
2933
  var i = e.charAt(n);
2960
2934
  if (i === "j") {
2961
2935
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2962
2936
  s++, n++;
2963
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Ei(t);
2937
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = bi(t);
2964
2938
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2965
2939
  r += h;
2966
2940
  for (; o-- > 0; )
@@ -2969,7 +2943,7 @@ function _i(e, t) {
2969
2943
  }
2970
2944
  return r;
2971
2945
  }
2972
- function Ei(e) {
2946
+ function bi(e) {
2973
2947
  var t = e.hourCycle;
2974
2948
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2975
2949
  e.hourCycles && // @ts-ignore
@@ -2988,23 +2962,23 @@ function Ei(e) {
2988
2962
  }
2989
2963
  var r = e.language, n;
2990
2964
  r !== "root" && (n = e.maximize().region);
2991
- var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
2965
+ var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
2992
2966
  return i[0];
2993
2967
  }
2994
- var We, wi = new RegExp("^".concat(Br.source, "*")), xi = new RegExp("".concat(Br.source, "*$"));
2968
+ var We, yi = new RegExp("^".concat(xr.source, "*")), vi = new RegExp("".concat(xr.source, "*$"));
2995
2969
  function _(e, t) {
2996
2970
  return { start: e, end: t };
2997
2971
  }
2998
- var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ti = !!String.fromCodePoint, Hi = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Oi = Ci ? Number.isSafeInteger : function(e) {
2972
+ var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ei = !!String.fromCodePoint, wi = !!Object.fromEntries, Si = !!String.prototype.codePointAt, xi = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Bi = Hi ? Number.isSafeInteger : function(e) {
2999
2973
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3000
2974
  }, nt = !0;
3001
2975
  try {
3002
- var Ii = Ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3003
- nt = ((We = Ii.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
2976
+ var Ai = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2977
+ nt = ((We = Ai.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
3004
2978
  } catch {
3005
2979
  nt = !1;
3006
2980
  }
3007
- var Vt = Si ? (
2981
+ var jt = _i ? (
3008
2982
  // Native
3009
2983
  function(t, r, n) {
3010
2984
  return t.startsWith(r, n);
@@ -3014,7 +2988,7 @@ var Vt = Si ? (
3014
2988
  function(t, r, n) {
3015
2989
  return t.slice(n, n + r.length) === r;
3016
2990
  }
3017
- ), it = Ti ? String.fromCodePoint : (
2991
+ ), it = Ei ? String.fromCodePoint : (
3018
2992
  // IE11
3019
2993
  function() {
3020
2994
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3026,9 +3000,9 @@ var Vt = Si ? (
3026
3000
  }
3027
3001
  return n;
3028
3002
  }
3029
- ), Xt = (
3003
+ ), $t = (
3030
3004
  // native
3031
- Hi ? Object.fromEntries : (
3005
+ wi ? Object.fromEntries : (
3032
3006
  // Ponyfill
3033
3007
  function(t) {
3034
3008
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3038,7 +3012,7 @@ var Vt = Si ? (
3038
3012
  return r;
3039
3013
  }
3040
3014
  )
3041
- ), Or = Bi ? (
3015
+ ), Ar = Si ? (
3042
3016
  // Native
3043
3017
  function(t, r) {
3044
3018
  return t.codePointAt(r);
@@ -3052,7 +3026,7 @@ var Vt = Si ? (
3052
3026
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3053
3027
  }
3054
3028
  }
3055
- ), Ri = Ai ? (
3029
+ ), Pi = xi ? (
3056
3030
  // Native
3057
3031
  function(t) {
3058
3032
  return t.trimStart();
@@ -3060,9 +3034,9 @@ var Vt = Si ? (
3060
3034
  ) : (
3061
3035
  // Ponyfill
3062
3036
  function(t) {
3063
- return t.replace(wi, "");
3037
+ return t.replace(yi, "");
3064
3038
  }
3065
- ), Li = Pi ? (
3039
+ ), Oi = Ti ? (
3066
3040
  // Native
3067
3041
  function(t) {
3068
3042
  return t.trimEnd();
@@ -3070,32 +3044,32 @@ var Vt = Si ? (
3070
3044
  ) : (
3071
3045
  // Ponyfill
3072
3046
  function(t) {
3073
- return t.replace(xi, "");
3047
+ return t.replace(vi, "");
3074
3048
  }
3075
3049
  );
3076
- function Ir(e, t) {
3050
+ function Pr(e, t) {
3077
3051
  return new RegExp(e, t);
3078
3052
  }
3079
3053
  var st;
3080
3054
  if (nt) {
3081
- var Wt = Ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3055
+ var Vt = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3082
3056
  st = function(t, r) {
3083
3057
  var n;
3084
- Wt.lastIndex = r;
3085
- var i = Wt.exec(t);
3058
+ Vt.lastIndex = r;
3059
+ var i = Vt.exec(t);
3086
3060
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3087
3061
  };
3088
3062
  } else
3089
3063
  st = function(t, r) {
3090
3064
  for (var n = []; ; ) {
3091
- var i = Or(t, r);
3092
- if (i === void 0 || Rr(i) || Fi(i))
3065
+ var i = Ar(t, r);
3066
+ if (i === void 0 || Or(i) || Ri(i))
3093
3067
  break;
3094
3068
  n.push(i), r += i >= 65536 ? 2 : 1;
3095
3069
  }
3096
3070
  return it.apply(void 0, n);
3097
3071
  };
3098
- var Mi = (
3072
+ var Ci = (
3099
3073
  /** @class */
3100
3074
  function() {
3101
3075
  function e(t, r) {
@@ -3119,7 +3093,7 @@ var Mi = (
3119
3093
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3120
3094
  var a = this.clonePosition();
3121
3095
  this.bump(), i.push({
3122
- type: H.pound,
3096
+ type: T.pound,
3123
3097
  location: _(a, this.clonePosition())
3124
3098
  });
3125
3099
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3147,7 +3121,7 @@ var Mi = (
3147
3121
  if (this.bumpSpace(), this.bumpIf("/>"))
3148
3122
  return {
3149
3123
  val: {
3150
- type: H.literal,
3124
+ type: T.literal,
3151
3125
  value: "<".concat(i, "/>"),
3152
3126
  location: _(n, this.clonePosition())
3153
3127
  },
@@ -3164,7 +3138,7 @@ var Mi = (
3164
3138
  var h = this.clonePosition(), l = this.parseTagName();
3165
3139
  return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3166
3140
  val: {
3167
- type: H.tag,
3141
+ type: T.tag,
3168
3142
  value: i,
3169
3143
  children: o,
3170
3144
  location: _(n, this.clonePosition())
@@ -3177,7 +3151,7 @@ var Mi = (
3177
3151
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3178
3152
  }, e.prototype.parseTagName = function() {
3179
3153
  var t = this.offset();
3180
- for (this.bump(); !this.isEOF() && Di(this.char()); )
3154
+ for (this.bump(); !this.isEOF() && Li(this.char()); )
3181
3155
  this.bump();
3182
3156
  return this.message.slice(t, this.offset());
3183
3157
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3201,12 +3175,12 @@ var Mi = (
3201
3175
  }
3202
3176
  var h = _(n, this.clonePosition());
3203
3177
  return {
3204
- val: { type: H.literal, value: i, location: h },
3178
+ val: { type: T.literal, value: i, location: h },
3205
3179
  err: null
3206
3180
  };
3207
3181
  }, e.prototype.tryParseLeftAngleBracket = function() {
3208
3182
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3209
- !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
3183
+ !Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3210
3184
  }, e.prototype.tryParseQuote = function(t) {
3211
3185
  if (this.isEOF() || this.char() !== 39)
3212
3186
  return null;
@@ -3261,7 +3235,7 @@ var Mi = (
3261
3235
  case 125:
3262
3236
  return this.bump(), {
3263
3237
  val: {
3264
- type: H.argument,
3238
+ type: T.argument,
3265
3239
  // value does not include the opening and closing braces.
3266
3240
  value: i,
3267
3241
  location: _(n, this.clonePosition())
@@ -3293,7 +3267,7 @@ var Mi = (
3293
3267
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3294
3268
  if (c.err)
3295
3269
  return c;
3296
- var p = Li(c.val);
3270
+ var p = Oi(c.val);
3297
3271
  if (p.length === 0)
3298
3272
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3299
3273
  var y = _(u, this.clonePosition());
@@ -3303,34 +3277,34 @@ var Mi = (
3303
3277
  if (g.err)
3304
3278
  return g;
3305
3279
  var d = _(i, this.clonePosition());
3306
- if (l && Vt(l?.style, "::", 0)) {
3307
- var b = Ri(l.style.slice(2));
3280
+ if (l && jt(l?.style, "::", 0)) {
3281
+ var b = Pi(l.style.slice(2));
3308
3282
  if (a === "number") {
3309
3283
  var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
3310
3284
  return c.err ? c : {
3311
- val: { type: H.number, value: n, location: d, style: c.val },
3285
+ val: { type: T.number, value: n, location: d, style: c.val },
3312
3286
  err: null
3313
3287
  };
3314
3288
  } else {
3315
3289
  if (b.length === 0)
3316
3290
  return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
3317
- var x = b;
3318
- this.locale && (x = _i(b, this.locale));
3291
+ var S = b;
3292
+ this.locale && (S = gi(b, this.locale));
3319
3293
  var p = {
3320
- type: re.dateTime,
3321
- pattern: x,
3294
+ type: ne.dateTime,
3295
+ pattern: S,
3322
3296
  location: l.styleLocation,
3323
- parsedOptions: this.shouldParseSkeletons ? mi(x) : {}
3324
- }, I = a === "date" ? H.date : H.time;
3297
+ parsedOptions: this.shouldParseSkeletons ? li(S) : {}
3298
+ }, O = a === "date" ? T.date : T.time;
3325
3299
  return {
3326
- val: { type: I, value: n, location: d, style: p },
3300
+ val: { type: O, value: n, location: d, style: p },
3327
3301
  err: null
3328
3302
  };
3329
3303
  }
3330
3304
  }
3331
3305
  return {
3332
3306
  val: {
3333
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3307
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3334
3308
  value: n,
3335
3309
  location: d,
3336
3310
  style: (s = l?.style) !== null && s !== void 0 ? s : null
@@ -3341,43 +3315,43 @@ var Mi = (
3341
3315
  case "plural":
3342
3316
  case "selectordinal":
3343
3317
  case "select": {
3344
- var C = this.clonePosition();
3318
+ var P = this.clonePosition();
3345
3319
  if (this.bumpSpace(), !this.bumpIf(","))
3346
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(C, w({}, C)));
3320
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, w({}, P)));
3347
3321
  this.bumpSpace();
3348
- var D = this.parseIdentifierIfPossible(), M = 0;
3349
- if (a !== "select" && D.value === "offset") {
3322
+ var R = this.parseIdentifierIfPossible(), N = 0;
3323
+ if (a !== "select" && R.value === "offset") {
3350
3324
  if (!this.bumpIf(":"))
3351
3325
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3352
3326
  this.bumpSpace();
3353
3327
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3354
3328
  if (c.err)
3355
3329
  return c;
3356
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
3330
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
3357
3331
  }
3358
- var R = this.tryParsePluralOrSelectOptions(t, a, r, D);
3359
- if (R.err)
3360
- return R;
3332
+ var C = this.tryParsePluralOrSelectOptions(t, a, r, R);
3333
+ if (C.err)
3334
+ return C;
3361
3335
  var g = this.tryParseArgumentClose(i);
3362
3336
  if (g.err)
3363
3337
  return g;
3364
- var O = _(i, this.clonePosition());
3338
+ var D = _(i, this.clonePosition());
3365
3339
  return a === "select" ? {
3366
3340
  val: {
3367
- type: H.select,
3341
+ type: T.select,
3368
3342
  value: n,
3369
- options: Xt(R.val),
3370
- location: O
3343
+ options: $t(C.val),
3344
+ location: D
3371
3345
  },
3372
3346
  err: null
3373
3347
  } : {
3374
3348
  val: {
3375
- type: H.plural,
3349
+ type: T.plural,
3376
3350
  value: n,
3377
- options: Xt(R.val),
3378
- offset: M,
3351
+ options: $t(C.val),
3352
+ offset: N,
3379
3353
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3380
- location: O
3354
+ location: D
3381
3355
  },
3382
3356
  err: null
3383
3357
  };
@@ -3425,16 +3399,16 @@ var Mi = (
3425
3399
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3426
3400
  var n = [];
3427
3401
  try {
3428
- n = di(t);
3402
+ n = fi(t);
3429
3403
  } catch {
3430
3404
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3431
3405
  }
3432
3406
  return {
3433
3407
  val: {
3434
- type: re.number,
3408
+ type: ne.number,
3435
3409
  tokens: n,
3436
3410
  location: r,
3437
- parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
3411
+ parsedOptions: this.shouldParseSkeletons ? di(n) : {}
3438
3412
  },
3439
3413
  err: null
3440
3414
  };
@@ -3482,7 +3456,7 @@ var Mi = (
3482
3456
  break;
3483
3457
  }
3484
3458
  var h = _(i, this.clonePosition());
3485
- return s ? (o *= n, Oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3459
+ return s ? (o *= n, Bi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3486
3460
  }, e.prototype.offset = function() {
3487
3461
  return this.position.offset;
3488
3462
  }, e.prototype.isEOF = function() {
@@ -3497,7 +3471,7 @@ var Mi = (
3497
3471
  var t = this.position.offset;
3498
3472
  if (t >= this.message.length)
3499
3473
  throw Error("out of bound");
3500
- var r = Or(this.message, t);
3474
+ var r = Ar(this.message, t);
3501
3475
  if (r === void 0)
3502
3476
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3503
3477
  return r;
@@ -3516,7 +3490,7 @@ var Mi = (
3516
3490
  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);
3517
3491
  }
3518
3492
  }, e.prototype.bumpIf = function(t) {
3519
- if (Vt(this.message, t, this.offset())) {
3493
+ if (jt(this.message, t, this.offset())) {
3520
3494
  for (var r = 0; r < t.length; r++)
3521
3495
  this.bump();
3522
3496
  return !0;
@@ -3538,7 +3512,7 @@ var Mi = (
3538
3512
  break;
3539
3513
  }
3540
3514
  }, e.prototype.bumpSpace = function() {
3541
- for (; !this.isEOF() && Rr(this.char()); )
3515
+ for (; !this.isEOF() && Or(this.char()); )
3542
3516
  this.bump();
3543
3517
  }, e.prototype.peek = function() {
3544
3518
  if (this.isEOF())
@@ -3551,43 +3525,43 @@ var Mi = (
3551
3525
  function ot(e) {
3552
3526
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3553
3527
  }
3554
- function Ni(e) {
3528
+ function Ii(e) {
3555
3529
  return ot(e) || e === 47;
3556
3530
  }
3557
- function Di(e) {
3531
+ function Li(e) {
3558
3532
  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;
3559
3533
  }
3560
- function Rr(e) {
3534
+ function Or(e) {
3561
3535
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3562
3536
  }
3563
- function Fi(e) {
3537
+ function Ri(e) {
3564
3538
  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;
3565
3539
  }
3566
3540
  function at(e) {
3567
3541
  e.forEach(function(t) {
3568
- if (delete t.location, xr(t) || Sr(t))
3542
+ if (delete t.location, _r(t) || Er(t))
3569
3543
  for (var r in t.options)
3570
3544
  delete t.options[r].location, at(t.options[r].value);
3571
- else _r(t) && Hr(t.style) || (Er(t) || wr(t)) && rt(t.style) ? delete t.style.location : Tr(t) && at(t.children);
3545
+ else br(t) && Sr(t.style) || (yr(t) || vr(t)) && rt(t.style) ? delete t.style.location : wr(t) && at(t.children);
3572
3546
  });
3573
3547
  }
3574
- function Ui(e, t) {
3548
+ function Ni(e, t) {
3575
3549
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3576
- var r = new Mi(e, t).parse();
3550
+ var r = new Ci(e, t).parse();
3577
3551
  if (r.err) {
3578
3552
  var n = SyntaxError(v[r.err.kind]);
3579
3553
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3580
3554
  }
3581
3555
  return t?.captureLocation || at(r.val), r.val;
3582
3556
  }
3583
- var ne;
3557
+ var ie;
3584
3558
  (function(e) {
3585
3559
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3586
- })(ne || (ne = {}));
3587
- var Le = (
3560
+ })(ie || (ie = {}));
3561
+ var Ne = (
3588
3562
  /** @class */
3589
3563
  function(e) {
3590
- V(t, e);
3564
+ X(t, e);
3591
3565
  function t(r, n, i) {
3592
3566
  var s = e.call(this, r) || this;
3593
3567
  return s.code = n, s.originalMessage = i, s;
@@ -3596,48 +3570,48 @@ var Le = (
3596
3570
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3597
3571
  }, t;
3598
3572
  }(Error)
3599
- ), zt = (
3573
+ ), Xt = (
3600
3574
  /** @class */
3601
3575
  function(e) {
3602
- V(t, e);
3576
+ X(t, e);
3603
3577
  function t(r, n, i, s) {
3604
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
3578
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3605
3579
  }
3606
3580
  return t;
3607
- }(Le)
3608
- ), ki = (
3581
+ }(Ne)
3582
+ ), Mi = (
3609
3583
  /** @class */
3610
3584
  function(e) {
3611
- V(t, e);
3585
+ X(t, e);
3612
3586
  function t(r, n, i) {
3613
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3587
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3614
3588
  }
3615
3589
  return t;
3616
- }(Le)
3617
- ), Gi = (
3590
+ }(Ne)
3591
+ ), Di = (
3618
3592
  /** @class */
3619
3593
  function(e) {
3620
- V(t, e);
3594
+ X(t, e);
3621
3595
  function t(r, n) {
3622
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3596
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3623
3597
  }
3624
3598
  return t;
3625
- }(Le)
3599
+ }(Ne)
3626
3600
  ), L;
3627
3601
  (function(e) {
3628
3602
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3629
3603
  })(L || (L = {}));
3630
- function ji(e) {
3604
+ function Fi(e) {
3631
3605
  return e.length < 2 ? e : e.reduce(function(t, r) {
3632
3606
  var n = t[t.length - 1];
3633
3607
  return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3634
3608
  }, []);
3635
3609
  }
3636
- function $i(e) {
3610
+ function Ui(e) {
3637
3611
  return typeof e == "function";
3638
3612
  }
3639
- function Be(e, t, r, n, i, s, o) {
3640
- if (e.length === 1 && kt(e[0]))
3613
+ function Ae(e, t, r, n, i, s, o) {
3614
+ if (e.length === 1 && Ft(e[0]))
3641
3615
  return [
3642
3616
  {
3643
3617
  type: L.literal,
@@ -3646,14 +3620,14 @@ function Be(e, t, r, n, i, s, o) {
3646
3620
  ];
3647
3621
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3648
3622
  var u = l[h];
3649
- if (kt(u)) {
3623
+ if (Ft(u)) {
3650
3624
  a.push({
3651
3625
  type: L.literal,
3652
3626
  value: u.value
3653
3627
  });
3654
3628
  continue;
3655
3629
  }
3656
- if (fi(u)) {
3630
+ if (ai(u)) {
3657
3631
  typeof s == "number" && a.push({
3658
3632
  type: L.literal,
3659
3633
  value: r.getNumberFormat(t).format(s)
@@ -3662,16 +3636,16 @@ function Be(e, t, r, n, i, s, o) {
3662
3636
  }
3663
3637
  var c = u.value;
3664
3638
  if (!(i && c in i))
3665
- throw new Gi(c, o);
3639
+ throw new Di(c, o);
3666
3640
  var p = i[c];
3667
- if (hi(u)) {
3641
+ if (oi(u)) {
3668
3642
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3669
3643
  type: typeof p == "string" ? L.literal : L.object,
3670
3644
  value: p
3671
3645
  });
3672
3646
  continue;
3673
3647
  }
3674
- if (Er(u)) {
3648
+ if (yr(u)) {
3675
3649
  var y = typeof u.style == "string" ? n.date[u.style] : rt(u.style) ? u.style.parsedOptions : void 0;
3676
3650
  a.push({
3677
3651
  type: L.literal,
@@ -3679,7 +3653,7 @@ function Be(e, t, r, n, i, s, o) {
3679
3653
  });
3680
3654
  continue;
3681
3655
  }
3682
- if (wr(u)) {
3656
+ if (vr(u)) {
3683
3657
  var y = typeof u.style == "string" ? n.time[u.style] : rt(u.style) ? u.style.parsedOptions : n.time.medium;
3684
3658
  a.push({
3685
3659
  type: L.literal,
@@ -3687,61 +3661,61 @@ function Be(e, t, r, n, i, s, o) {
3687
3661
  });
3688
3662
  continue;
3689
3663
  }
3690
- if (_r(u)) {
3691
- var y = typeof u.style == "string" ? n.number[u.style] : Hr(u.style) ? u.style.parsedOptions : void 0;
3664
+ if (br(u)) {
3665
+ var y = typeof u.style == "string" ? n.number[u.style] : Sr(u.style) ? u.style.parsedOptions : void 0;
3692
3666
  y && y.scale && (p = p * (y.scale || 1)), a.push({
3693
3667
  type: L.literal,
3694
3668
  value: r.getNumberFormat(t, y).format(p)
3695
3669
  });
3696
3670
  continue;
3697
3671
  }
3698
- if (Tr(u)) {
3672
+ if (wr(u)) {
3699
3673
  var g = u.children, d = u.value, b = i[d];
3700
- if (!$i(b))
3701
- throw new ki(d, "function", o);
3702
- var x = Be(g, t, r, n, i, s), I = b(x.map(function(M) {
3703
- return M.value;
3674
+ if (!Ui(b))
3675
+ throw new Mi(d, "function", o);
3676
+ var S = Ae(g, t, r, n, i, s), O = b(S.map(function(N) {
3677
+ return N.value;
3704
3678
  }));
3705
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(M) {
3679
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
3706
3680
  return {
3707
- type: typeof M == "string" ? L.literal : L.object,
3708
- value: M
3681
+ type: typeof N == "string" ? L.literal : L.object,
3682
+ value: N
3709
3683
  };
3710
3684
  }));
3711
3685
  }
3712
- if (xr(u)) {
3713
- var C = u.options[p] || u.options.other;
3714
- if (!C)
3715
- throw new zt(u.value, p, Object.keys(u.options), o);
3716
- a.push.apply(a, Be(C.value, t, r, n, i));
3686
+ if (_r(u)) {
3687
+ var P = u.options[p] || u.options.other;
3688
+ if (!P)
3689
+ throw new Xt(u.value, p, Object.keys(u.options), o);
3690
+ a.push.apply(a, Ae(P.value, t, r, n, i));
3717
3691
  continue;
3718
3692
  }
3719
- if (Sr(u)) {
3720
- var C = u.options["=".concat(p)];
3721
- if (!C) {
3693
+ if (Er(u)) {
3694
+ var P = u.options["=".concat(p)];
3695
+ if (!P) {
3722
3696
  if (!Intl.PluralRules)
3723
- throw new Le(`Intl.PluralRules is not available in this environment.
3697
+ throw new Ne(`Intl.PluralRules is not available in this environment.
3724
3698
  Try polyfilling it using "@formatjs/intl-pluralrules"
3725
- `, ne.MISSING_INTL_API, o);
3726
- var D = r.getPluralRules(t, { type: u.pluralType }).select(p - (u.offset || 0));
3727
- C = u.options[D] || u.options.other;
3699
+ `, ie.MISSING_INTL_API, o);
3700
+ var R = r.getPluralRules(t, { type: u.pluralType }).select(p - (u.offset || 0));
3701
+ P = u.options[R] || u.options.other;
3728
3702
  }
3729
- if (!C)
3730
- throw new zt(u.value, p, Object.keys(u.options), o);
3731
- a.push.apply(a, Be(C.value, t, r, n, i, p - (u.offset || 0)));
3703
+ if (!P)
3704
+ throw new Xt(u.value, p, Object.keys(u.options), o);
3705
+ a.push.apply(a, Ae(P.value, t, r, n, i, p - (u.offset || 0)));
3732
3706
  continue;
3733
3707
  }
3734
3708
  }
3735
- return ji(a);
3709
+ return Fi(a);
3736
3710
  }
3737
- function Vi(e, t) {
3711
+ function ki(e, t) {
3738
3712
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3739
3713
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3740
3714
  }, {})) : e;
3741
3715
  }
3742
- function Xi(e, t) {
3716
+ function Gi(e, t) {
3743
3717
  return t ? Object.keys(e).reduce(function(r, n) {
3744
- return r[n] = Vi(e[n], t[n]), r;
3718
+ return r[n] = ki(e[n], t[n]), r;
3745
3719
  }, w({}, e)) : e;
3746
3720
  }
3747
3721
  function ze(e) {
@@ -3758,7 +3732,7 @@ function ze(e) {
3758
3732
  }
3759
3733
  };
3760
3734
  }
3761
- function Wi(e) {
3735
+ function ji(e) {
3762
3736
  return e === void 0 && (e = {
3763
3737
  number: {},
3764
3738
  dateTime: {},
@@ -3767,7 +3741,7 @@ function Wi(e) {
3767
3741
  getNumberFormat: Ve(function() {
3768
3742
  for (var t, r = [], n = 0; n < arguments.length; n++)
3769
3743
  r[n] = arguments[n];
3770
- return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
3744
+ return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3771
3745
  }, {
3772
3746
  cache: ze(e.number),
3773
3747
  strategy: Xe.variadic
@@ -3775,7 +3749,7 @@ function Wi(e) {
3775
3749
  getDateTimeFormat: Ve(function() {
3776
3750
  for (var t, r = [], n = 0; n < arguments.length; n++)
3777
3751
  r[n] = arguments[n];
3778
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
3752
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3779
3753
  }, {
3780
3754
  cache: ze(e.dateTime),
3781
3755
  strategy: Xe.variadic
@@ -3783,14 +3757,14 @@ function Wi(e) {
3783
3757
  getPluralRules: Ve(function() {
3784
3758
  for (var t, r = [], n = 0; n < arguments.length; n++)
3785
3759
  r[n] = arguments[n];
3786
- return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
3760
+ return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3787
3761
  }, {
3788
3762
  cache: ze(e.pluralRules),
3789
3763
  strategy: Xe.variadic
3790
3764
  })
3791
3765
  };
3792
3766
  }
3793
- var zi = (
3767
+ var $i = (
3794
3768
  /** @class */
3795
3769
  function() {
3796
3770
  function e(t, r, n, i) {
@@ -3809,7 +3783,7 @@ var zi = (
3809
3783
  }, []);
3810
3784
  return u.length <= 1 ? u[0] || "" : u;
3811
3785
  }, this.formatToParts = function(h) {
3812
- return Be(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3786
+ return Ae(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3813
3787
  }, this.resolvedOptions = function() {
3814
3788
  var h;
3815
3789
  return {
@@ -3822,13 +3796,13 @@ var zi = (
3822
3796
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3823
3797
  var o = i || {};
3824
3798
  o.formatters;
3825
- var a = Hn(o, ["formatters"]);
3799
+ var a = En(o, ["formatters"]);
3826
3800
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3827
3801
  } else
3828
3802
  this.ast = t;
3829
3803
  if (!Array.isArray(this.ast))
3830
3804
  throw new TypeError("A message must be provided as a String or AST.");
3831
- this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || Wi(this.formatterCache);
3805
+ this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
3832
3806
  }
3833
3807
  return Object.defineProperty(e, "defaultLocale", {
3834
3808
  get: function() {
@@ -3841,7 +3815,7 @@ var zi = (
3841
3815
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3842
3816
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3843
3817
  }
3844
- }, e.__parse = Ui, e.formats = {
3818
+ }, e.__parse = Ni, e.formats = {
3845
3819
  number: {
3846
3820
  integer: {
3847
3821
  maximumFractionDigits: 0
@@ -3902,7 +3876,7 @@ var zi = (
3902
3876
  }, e;
3903
3877
  }()
3904
3878
  );
3905
- function Zi(e, t) {
3879
+ function Vi(e, t) {
3906
3880
  if (t == null)
3907
3881
  return;
3908
3882
  if (t in e)
@@ -3923,60 +3897,60 @@ function Zi(e, t) {
3923
3897
  n = void 0;
3924
3898
  return n;
3925
3899
  }
3926
- const W = {}, Ji = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Lr = (e, t) => {
3900
+ const z = {}, Xi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Cr = (e, t) => {
3927
3901
  if (t == null)
3928
3902
  return;
3929
- if (t in W && e in W[t])
3930
- return W[t][e];
3903
+ if (t in z && e in z[t])
3904
+ return z[t][e];
3931
3905
  const r = Me(t);
3932
3906
  for (let n = 0; n < r.length; n++) {
3933
- const i = r[n], s = Qi(i, e);
3907
+ const i = r[n], s = zi(i, e);
3934
3908
  if (s)
3935
- return Ji(e, t, s);
3909
+ return Xi(e, t, s);
3936
3910
  }
3937
3911
  };
3938
- let mt;
3939
- const oe = Re({});
3940
- function qi(e) {
3941
- return mt[e] || null;
3912
+ let ft;
3913
+ const ae = Re({});
3914
+ function Wi(e) {
3915
+ return ft[e] || null;
3942
3916
  }
3943
- function Mr(e) {
3944
- return e in mt;
3917
+ function Ir(e) {
3918
+ return e in ft;
3945
3919
  }
3946
- function Qi(e, t) {
3947
- if (!Mr(e))
3920
+ function zi(e, t) {
3921
+ if (!Ir(e))
3948
3922
  return null;
3949
- const r = qi(e);
3950
- return Zi(r, t);
3923
+ const r = Wi(e);
3924
+ return Vi(r, t);
3951
3925
  }
3952
- function Yi(e) {
3926
+ function Zi(e) {
3953
3927
  if (e == null)
3954
3928
  return;
3955
3929
  const t = Me(e);
3956
3930
  for (let r = 0; r < t.length; r++) {
3957
3931
  const n = t[r];
3958
- if (Mr(n))
3932
+ if (Ir(n))
3959
3933
  return n;
3960
3934
  }
3961
3935
  }
3962
- function Nr(e, ...t) {
3963
- delete W[e], oe.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
3936
+ function Lr(e, ...t) {
3937
+ delete z[e], ae.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
3964
3938
  }
3965
- se(
3966
- [oe],
3939
+ oe(
3940
+ [ae],
3967
3941
  ([e]) => Object.keys(e)
3968
3942
  );
3969
- oe.subscribe((e) => mt = e);
3970
- const Ae = {};
3971
- function Ki(e, t) {
3972
- Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
3943
+ ae.subscribe((e) => ft = e);
3944
+ const Pe = {};
3945
+ function Ji(e, t) {
3946
+ Pe[e].delete(t), Pe[e].size === 0 && delete Pe[e];
3973
3947
  }
3974
- function Dr(e) {
3975
- return Ae[e];
3948
+ function Rr(e) {
3949
+ return Pe[e];
3976
3950
  }
3977
- function es(e) {
3951
+ function qi(e) {
3978
3952
  return Me(e).map((t) => {
3979
- const r = Dr(t);
3953
+ const r = Rr(t);
3980
3954
  return [t, r ? [...r] : []];
3981
3955
  }).filter(([, t]) => t.length > 0);
3982
3956
  }
@@ -3984,31 +3958,31 @@ function ut(e) {
3984
3958
  return e == null ? !1 : Me(e).some(
3985
3959
  (t) => {
3986
3960
  var r;
3987
- return (r = Dr(t)) == null ? void 0 : r.size;
3961
+ return (r = Rr(t)) == null ? void 0 : r.size;
3988
3962
  }
3989
3963
  );
3990
3964
  }
3991
- function ts(e, t) {
3965
+ function Qi(e, t) {
3992
3966
  return Promise.all(
3993
- t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
3994
- ).then((n) => Nr(e, ...n));
3967
+ t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
3968
+ ).then((n) => Lr(e, ...n));
3995
3969
  }
3996
- const he = {};
3997
- function Fr(e) {
3970
+ const fe = {};
3971
+ function Nr(e) {
3998
3972
  if (!ut(e))
3999
- return e in he ? he[e] : Promise.resolve();
4000
- const t = es(e);
4001
- return he[e] = Promise.all(
3973
+ return e in fe ? fe[e] : Promise.resolve();
3974
+ const t = qi(e);
3975
+ return fe[e] = Promise.all(
4002
3976
  t.map(
4003
- ([r, n]) => ts(r, n)
3977
+ ([r, n]) => Qi(r, n)
4004
3978
  )
4005
3979
  ).then(() => {
4006
3980
  if (ut(e))
4007
- return Fr(e);
4008
- delete he[e];
4009
- }), he[e];
3981
+ return Nr(e);
3982
+ delete fe[e];
3983
+ }), fe[e];
4010
3984
  }
4011
- const rs = {
3985
+ const Yi = {
4012
3986
  number: {
4013
3987
  scientific: { notation: "scientific" },
4014
3988
  engineering: { notation: "engineering" },
@@ -4037,150 +4011,150 @@ const rs = {
4037
4011
  timeZoneName: "short"
4038
4012
  }
4039
4013
  }
4040
- }, ns = {
4014
+ }, Ki = {
4041
4015
  fallbackLocale: null,
4042
4016
  loadingDelay: 200,
4043
- formats: rs,
4017
+ formats: Yi,
4044
4018
  warnOnMissingMessages: !0,
4045
4019
  handleMissingMessage: void 0,
4046
4020
  ignoreTag: !0
4047
- }, is = ns;
4048
- function ie() {
4049
- return is;
4021
+ }, es = Ki;
4022
+ function se() {
4023
+ return es;
4050
4024
  }
4051
4025
  const Ze = Re(!1);
4052
- var ss = Object.defineProperty, os = Object.defineProperties, as = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, us = Object.prototype.hasOwnProperty, ls = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? ss(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hs = (e, t) => {
4026
+ var ts = Object.defineProperty, rs = Object.defineProperties, ns = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, is = Object.prototype.hasOwnProperty, ss = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, os = (e, t) => {
4053
4027
  for (var r in t || (t = {}))
4054
- us.call(t, r) && Jt(e, r, t[r]);
4055
- if (Zt)
4056
- for (var r of Zt(t))
4057
- ls.call(t, r) && Jt(e, r, t[r]);
4028
+ is.call(t, r) && zt(e, r, t[r]);
4029
+ if (Wt)
4030
+ for (var r of Wt(t))
4031
+ ss.call(t, r) && zt(e, r, t[r]);
4058
4032
  return e;
4059
- }, fs = (e, t) => os(e, as(t));
4033
+ }, as = (e, t) => rs(e, ns(t));
4060
4034
  let lt;
4061
4035
  const Ce = Re(null);
4062
- function qt(e) {
4036
+ function Zt(e) {
4063
4037
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4064
4038
  }
4065
- function Me(e, t = ie().fallbackLocale) {
4066
- const r = qt(e);
4067
- return t ? [.../* @__PURE__ */ new Set([...r, ...qt(t)])] : r;
4039
+ function Me(e, t = se().fallbackLocale) {
4040
+ const r = Zt(e);
4041
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Zt(t)])] : r;
4068
4042
  }
4069
- function Z() {
4043
+ function J() {
4070
4044
  return lt ?? void 0;
4071
4045
  }
4072
4046
  Ce.subscribe((e) => {
4073
4047
  lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4074
4048
  });
4075
- const cs = (e) => {
4076
- if (e && Yi(e) && ut(e)) {
4077
- const { loadingDelay: t } = ie();
4049
+ const us = (e) => {
4050
+ if (e && Zi(e) && ut(e)) {
4051
+ const { loadingDelay: t } = se();
4078
4052
  let r;
4079
- return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
4053
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
4080
4054
  () => Ze.set(!0),
4081
4055
  t
4082
- ) : Ze.set(!0), Fr(e).then(() => {
4056
+ ) : Ze.set(!0), Nr(e).then(() => {
4083
4057
  Ce.set(e);
4084
4058
  }).finally(() => {
4085
4059
  clearTimeout(r), Ze.set(!1);
4086
4060
  });
4087
4061
  }
4088
4062
  return Ce.set(e);
4089
- }, z = fs(hs({}, Ce), {
4090
- set: cs
4091
- }), Ne = (e) => {
4063
+ }, Z = as(os({}, Ce), {
4064
+ set: us
4065
+ }), De = (e) => {
4092
4066
  const t = /* @__PURE__ */ Object.create(null);
4093
4067
  return (n) => {
4094
4068
  const i = JSON.stringify(n);
4095
4069
  return i in t ? t[i] : t[i] = e(n);
4096
4070
  };
4097
4071
  };
4098
- var ms = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Ur = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? ms(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4072
+ var ls = Object.defineProperty, Ie = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? ls(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4099
4073
  for (var r in t || (t = {}))
4100
- Ur.call(t, r) && Qt(e, r, t[r]);
4101
- if (Oe)
4102
- for (var r of Oe(t))
4103
- kr.call(t, r) && Qt(e, r, t[r]);
4074
+ Mr.call(t, r) && Jt(e, r, t[r]);
4075
+ if (Ie)
4076
+ for (var r of Ie(t))
4077
+ Dr.call(t, r) && Jt(e, r, t[r]);
4104
4078
  return e;
4105
- }, ae = (e, t) => {
4079
+ }, ue = (e, t) => {
4106
4080
  var r = {};
4107
4081
  for (var n in e)
4108
- Ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4109
- if (e != null && Oe)
4110
- for (var n of Oe(e))
4111
- t.indexOf(n) < 0 && kr.call(e, n) && (r[n] = e[n]);
4082
+ Mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4083
+ if (e != null && Ie)
4084
+ for (var n of Ie(e))
4085
+ t.indexOf(n) < 0 && Dr.call(e, n) && (r[n] = e[n]);
4112
4086
  return r;
4113
4087
  };
4114
- const pe = (e, t) => {
4115
- const { formats: r } = ie();
4088
+ const de = (e, t) => {
4089
+ const { formats: r } = se();
4116
4090
  if (e in r && t in r[e])
4117
4091
  return r[e][t];
4118
4092
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4119
- }, ps = Ne(
4093
+ }, hs = De(
4120
4094
  (e) => {
4121
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4095
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4122
4096
  if (r == null)
4123
4097
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4124
- return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4098
+ return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4125
4099
  }
4126
- ), ds = Ne(
4100
+ ), fs = De(
4127
4101
  (e) => {
4128
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4102
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4129
4103
  if (r == null)
4130
4104
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4131
- return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4105
+ return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4132
4106
  }
4133
- ), gs = Ne(
4107
+ ), cs = De(
4134
4108
  (e) => {
4135
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
4109
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4136
4110
  if (r == null)
4137
4111
  throw new Error(
4138
4112
  '[svelte-i18n] A "locale" must be set to format time values'
4139
4113
  );
4140
- return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4114
+ return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4141
4115
  }
4142
- ), bs = (e = {}) => {
4116
+ ), ms = (e = {}) => {
4143
4117
  var t = e, {
4144
- locale: r = Z()
4145
- } = t, n = ae(t, [
4118
+ locale: r = J()
4119
+ } = t, n = ue(t, [
4146
4120
  "locale"
4147
4121
  ]);
4148
- return ps(pt({ locale: r }, n));
4149
- }, ys = (e = {}) => {
4122
+ return hs(ct({ locale: r }, n));
4123
+ }, ps = (e = {}) => {
4150
4124
  var t = e, {
4151
- locale: r = Z()
4152
- } = t, n = ae(t, [
4125
+ locale: r = J()
4126
+ } = t, n = ue(t, [
4153
4127
  "locale"
4154
4128
  ]);
4155
- return ds(pt({ locale: r }, n));
4156
- }, vs = (e = {}) => {
4129
+ return fs(ct({ locale: r }, n));
4130
+ }, ds = (e = {}) => {
4157
4131
  var t = e, {
4158
- locale: r = Z()
4159
- } = t, n = ae(t, [
4132
+ locale: r = J()
4133
+ } = t, n = ue(t, [
4160
4134
  "locale"
4161
4135
  ]);
4162
- return gs(pt({ locale: r }, n));
4163
- }, _s = Ne(
4136
+ return cs(ct({ locale: r }, n));
4137
+ }, gs = De(
4164
4138
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4165
- (e, t = Z()) => new zi(e, t, ie().formats, {
4166
- ignoreTag: ie().ignoreTag
4139
+ (e, t = J()) => new $i(e, t, se().formats, {
4140
+ ignoreTag: se().ignoreTag
4167
4141
  })
4168
- ), Es = (e, t = {}) => {
4142
+ ), bs = (e, t = {}) => {
4169
4143
  var r, n, i, s;
4170
4144
  let o = t;
4171
4145
  typeof e == "object" && (o = e, e = o.id);
4172
4146
  const {
4173
4147
  values: a,
4174
- locale: h = Z(),
4148
+ locale: h = J(),
4175
4149
  default: l
4176
4150
  } = o;
4177
4151
  if (h == null)
4178
4152
  throw new Error(
4179
4153
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4180
4154
  );
4181
- let u = Lr(e, h);
4155
+ let u = Cr(e, h);
4182
4156
  if (!u)
4183
- u = (s = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
4157
+ u = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
4184
4158
  else if (typeof u != "string")
4185
4159
  return console.warn(
4186
4160
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4189,7 +4163,7 @@ const pe = (e, t) => {
4189
4163
  return u;
4190
4164
  let c = u;
4191
4165
  try {
4192
- c = _s(u, h).format(a);
4166
+ c = gs(u, h).format(a);
4193
4167
  } catch (p) {
4194
4168
  p instanceof Error && console.warn(
4195
4169
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4197,25 +4171,25 @@ const pe = (e, t) => {
4197
4171
  );
4198
4172
  }
4199
4173
  return c;
4200
- }, ws = (e, t) => vs(t).format(e), xs = (e, t) => ys(t).format(e), Ss = (e, t) => bs(t).format(e), Ts = (e, t = Z()) => Lr(e, t), Hs = se([z, oe], () => Es);
4201
- se([z], () => ws);
4202
- se([z], () => xs);
4203
- se([z], () => Ss);
4204
- se([z, oe], () => Ts);
4205
- window.emWidgets = { topic: kn };
4206
- const Yt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4207
- function Bs({ withLocale: e, translations: t }) {
4208
- z.subscribe((r) => {
4209
- r == null && (oe.set(t), z.set(e));
4174
+ }, ys = (e, t) => ds(t).format(e), vs = (e, t) => ps(t).format(e), _s = (e, t) => ms(t).format(e), Es = (e, t = J()) => Cr(e, t), ws = oe([Z, ae], () => bs);
4175
+ oe([Z], () => ys);
4176
+ oe([Z], () => vs);
4177
+ oe([Z], () => _s);
4178
+ oe([Z, ae], () => Es);
4179
+ window.emWidgets = { topic: Nn };
4180
+ const qt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4181
+ function Ss({ withLocale: e, translations: t }) {
4182
+ Z.subscribe((r) => {
4183
+ r == null && (ae.set(t), Z.set(e));
4210
4184
  });
4211
4185
  }
4212
- function Kt(e, t) {
4213
- Nr(e, t);
4186
+ function Qt(e, t) {
4187
+ Lr(e, t);
4214
4188
  }
4215
- function As(e) {
4216
- z.set(e);
4189
+ function xs(e) {
4190
+ Z.set(e);
4217
4191
  }
4218
- const er = {
4192
+ const Yt = {
4219
4193
  en: {
4220
4194
  goToLoginButton: "Go To Login",
4221
4195
  error: "We encountered an issue. Please go to Login to receive your SMS code."
@@ -4261,6 +4235,29 @@ const er = {
4261
4235
  error: "We encountered an issue. Please go to Login to receive your SMS code."
4262
4236
  }
4263
4237
  };
4238
+ function Ts(e, t) {
4239
+ if (e) {
4240
+ const r = document.createElement("style");
4241
+ r.innerHTML = t, e.appendChild(r);
4242
+ }
4243
+ }
4244
+ function Hs(e, t) {
4245
+ const r = new URL(t);
4246
+ fetch(r.href).then((n) => n.text()).then((n) => {
4247
+ const i = document.createElement("style");
4248
+ i.innerHTML = n, e && e.appendChild(i);
4249
+ }).catch((n) => {
4250
+ console.error("There was an error while trying to load client styling from URL", n);
4251
+ });
4252
+ }
4253
+ function Bs(e, t, r) {
4254
+ if (window.emMessageBus) {
4255
+ const n = document.createElement("style");
4256
+ window.emMessageBus.subscribe(t, (i) => {
4257
+ n.innerHTML = i, e && e.appendChild(n);
4258
+ });
4259
+ }
4260
+ }
4264
4261
  if (typeof window < "u") {
4265
4262
  let e = function(t) {
4266
4263
  return function(...r) {
@@ -4273,7 +4270,7 @@ if (typeof window < "u") {
4273
4270
  }
4274
4271
  };
4275
4272
  };
4276
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-DOTUzvZi.js").then(({ default: t }) => {
4273
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-Ctnn3VLy.js").then(({ default: t }) => {
4277
4274
  !customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
4278
4275
  });
4279
4276
  }
@@ -4289,7 +4286,7 @@ if (typeof window < "u") {
4289
4286
  }
4290
4287
  };
4291
4288
  };
4292
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-BDIjqPh7.js").then(({ default: t }) => {
4289
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-bfUHBIKJ.js").then(({ default: t }) => {
4293
4290
  !customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
4294
4291
  });
4295
4292
  }
@@ -4305,7 +4302,7 @@ if (typeof window < "u") {
4305
4302
  }
4306
4303
  };
4307
4304
  };
4308
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-B7AqiDVg.js").then(({ default: t }) => {
4305
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-Bem9xLXM.js").then(({ default: t }) => {
4309
4306
  !customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
4310
4307
  });
4311
4308
  }
@@ -4321,110 +4318,110 @@ if (typeof window < "u") {
4321
4318
  }
4322
4319
  };
4323
4320
  };
4324
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-I_smD871.js").then(({ default: t }) => {
4321
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CU2--1J3.js").then(({ default: t }) => {
4325
4322
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4326
4323
  });
4327
4324
  }
4328
- function Ps(e) {
4329
- nn(e, "svelte-1ybwcf6", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
4325
+ function As(e) {
4326
+ Yr(e, "svelte-1ybwcf6", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
4330
4327
  }
4331
- function Cs(e) {
4328
+ function Ps(e) {
4332
4329
  let t, r, n, i, s, o, a, h = (
4333
4330
  /*showRegisterStepOne*/
4334
- (e[17] || /*showRegisterStepTwo*/
4335
- e[18] || /*showRegisterStepThree*/
4336
- e[19]) && tr(e)
4331
+ (e[18] || /*showRegisterStepTwo*/
4332
+ e[19] || /*showRegisterStepThree*/
4333
+ e[20]) && Kt(e)
4337
4334
  ), l = (
4338
4335
  /*showRegisterStepOne*/
4339
- e[17] && rr(e)
4336
+ e[18] && er(e)
4340
4337
  ), u = (
4341
4338
  /*showRegisterStepTwo*/
4342
- e[18] && nr(e)
4339
+ e[19] && tr(e)
4343
4340
  ), c = (
4344
4341
  /*showRegisterStepThree*/
4345
- e[19] && ir(e)
4342
+ e[20] && rr(e)
4346
4343
  );
4347
- function p(b, x) {
4344
+ function p(b, S) {
4348
4345
  if (
4349
4346
  /*smsverification*/
4350
4347
  b[7] && /*showSmsVerification*/
4351
- b[20]
4352
- ) return Is;
4348
+ b[21]
4349
+ ) return Cs;
4353
4350
  if (
4354
4351
  /*smsSendApiFailed*/
4355
- b[30]
4352
+ b[31]
4356
4353
  ) return Os;
4357
4354
  }
4358
4355
  let y = p(e), g = y && y(e), d = (
4359
4356
  /*showConfirmation*/
4360
- e[21] && sr(e)
4357
+ e[22] && nr(e)
4361
4358
  );
4362
4359
  return {
4363
4360
  c() {
4364
- t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), d && d.c(), T(r, "class", "RegisterFormContainer " + /*isMobile*/
4365
- (e[34] ? "RegisterFormContainerMobile" : "")), T(t, "class", "RegisterFormWrapper");
4361
+ t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), d && d.c(), x(r, "class", "RegisterFormContainer " + /*isMobile*/
4362
+ (e[35] ? "RegisterFormContainerMobile" : "")), x(t, "class", "RegisterFormWrapper");
4366
4363
  },
4367
- m(b, x) {
4368
- F(b, t, x), E(t, r), h && h.m(r, null), E(r, n), l && l.m(r, null), E(r, i), u && u.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
4364
+ m(b, S) {
4365
+ F(b, t, S), E(t, r), h && h.m(r, null), E(r, n), l && l.m(r, null), E(r, i), u && u.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
4369
4366
  },
4370
- p(b, x) {
4367
+ p(b, S) {
4371
4368
  /*showRegisterStepOne*/
4372
- b[17] || /*showRegisterStepTwo*/
4373
- b[18] || /*showRegisterStepThree*/
4374
- b[19] ? h ? h.p(b, x) : (h = tr(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
4375
- b[17] ? l ? l.p(b, x) : (l = rr(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
4376
- b[18] ? u ? u.p(b, x) : (u = nr(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
4377
- b[19] ? c ? c.p(b, x) : (c = ir(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, x) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4378
- b[21] ? d ? d.p(b, x) : (d = sr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
4369
+ b[18] || /*showRegisterStepTwo*/
4370
+ b[19] || /*showRegisterStepThree*/
4371
+ b[20] ? h ? h.p(b, S) : (h = Kt(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
4372
+ b[18] ? l ? l.p(b, S) : (l = er(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
4373
+ b[19] ? u ? u.p(b, S) : (u = tr(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
4374
+ b[20] ? c ? c.p(b, S) : (c = rr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, S) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4375
+ b[22] ? d ? d.p(b, S) : (d = nr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
4379
4376
  },
4380
4377
  d(b) {
4381
- b && N(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), d && d.d();
4378
+ b && M(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), d && d.d();
4382
4379
  }
4383
4380
  };
4384
4381
  }
4385
- function tr(e) {
4382
+ function Kt(e) {
4386
4383
  let t, r, n, i, s, o, a, h, l;
4387
4384
  return {
4388
4385
  c() {
4389
- t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"), T(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4390
- (e[17] || !/*showRegisterStepOne*/
4391
- e[17] && /*showRegisterStepTwo*/
4392
- e[18] || !/*showRegisterStepOne*/
4393
- e[17] && !/*showRegisterStepTwo*/
4394
- e[18] && /*showRegisterStepThree*/
4395
- e[19] ? "RegisterStepDashColor" : "")), T(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4386
+ t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"), x(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4396
4387
  (e[18] || !/*showRegisterStepOne*/
4397
- e[17] && !/*showRegisterStepTwo*/
4398
- e[18] && /*showRegisterStepThree*/
4399
- e[19] ? "RegisterStepDashColor" : "")), T(h, "class", l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4400
- (e[19] ? "RegisterStepDashColor" : "")), T(t, "class", "RegisterSteps");
4388
+ e[18] && /*showRegisterStepTwo*/
4389
+ e[19] || !/*showRegisterStepOne*/
4390
+ e[18] && !/*showRegisterStepTwo*/
4391
+ e[19] && /*showRegisterStepThree*/
4392
+ e[20] ? "RegisterStepDashColor" : "")), x(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4393
+ (e[19] || !/*showRegisterStepOne*/
4394
+ e[18] && !/*showRegisterStepTwo*/
4395
+ e[19] && /*showRegisterStepThree*/
4396
+ e[20] ? "RegisterStepDashColor" : "")), x(h, "class", l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4397
+ (e[20] ? "RegisterStepDashColor" : "")), x(t, "class", "RegisterSteps");
4401
4398
  },
4402
4399
  m(u, c) {
4403
- F(u, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, h), e[40](t);
4400
+ F(u, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, h), e[41](t);
4404
4401
  },
4405
4402
  p(u, c) {
4406
4403
  c[0] & /*showRegisterStepOne, showRegisterStepTwo, showRegisterStepThree*/
4407
- 917504 && n !== (n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4408
- (u[17] || !/*showRegisterStepOne*/
4409
- u[17] && /*showRegisterStepTwo*/
4410
- u[18] || !/*showRegisterStepOne*/
4411
- u[17] && !/*showRegisterStepTwo*/
4412
- u[18] && /*showRegisterStepThree*/
4413
- u[19] ? "RegisterStepDashColor" : "")) && T(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4414
- 917504 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4404
+ 1835008 && n !== (n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4415
4405
  (u[18] || !/*showRegisterStepOne*/
4416
- u[17] && !/*showRegisterStepTwo*/
4417
- u[18] && /*showRegisterStepThree*/
4418
- u[19] ? "RegisterStepDashColor" : "")) && T(s, "class", o), c[0] & /*showRegisterStepThree*/
4419
- 524288 && l !== (l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4420
- (u[19] ? "RegisterStepDashColor" : "")) && T(h, "class", l);
4406
+ u[18] && /*showRegisterStepTwo*/
4407
+ u[19] || !/*showRegisterStepOne*/
4408
+ u[18] && !/*showRegisterStepTwo*/
4409
+ u[19] && /*showRegisterStepThree*/
4410
+ u[20] ? "RegisterStepDashColor" : "")) && x(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4411
+ 1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4412
+ (u[19] || !/*showRegisterStepOne*/
4413
+ u[18] && !/*showRegisterStepTwo*/
4414
+ u[19] && /*showRegisterStepThree*/
4415
+ u[20] ? "RegisterStepDashColor" : "")) && x(s, "class", o), c[0] & /*showRegisterStepThree*/
4416
+ 1048576 && l !== (l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4417
+ (u[20] ? "RegisterStepDashColor" : "")) && x(h, "class", l);
4421
4418
  },
4422
4419
  d(u) {
4423
- u && N(t), e[40](null);
4420
+ u && M(t), e[41](null);
4424
4421
  }
4425
4422
  };
4426
4423
  }
4427
- function rr(e) {
4424
+ function er(e) {
4428
4425
  let t, r;
4429
4426
  return {
4430
4427
  c() {
@@ -4447,7 +4444,7 @@ function rr(e) {
4447
4444
  r,
4448
4445
  "custominputtextswitch",
4449
4446
  /*custominputtextswitch*/
4450
- e[13]
4447
+ e[14]
4451
4448
  ), m(
4452
4449
  r,
4453
4450
  "simplepasswordvalidation",
@@ -4457,23 +4454,28 @@ function rr(e) {
4457
4454
  r,
4458
4455
  "clientstyling",
4459
4456
  /*clientstyling*/
4460
- e[9]
4457
+ e[10]
4461
4458
  ), m(
4462
4459
  r,
4463
4460
  "clientstylingurl",
4464
4461
  /*clientstylingurl*/
4465
- e[10]
4462
+ e[11]
4466
4463
  ), m(
4467
4464
  r,
4468
4465
  "savecredentials",
4469
4466
  /*savecredentials*/
4470
- e[12]
4467
+ e[13]
4471
4468
  ), m(
4472
4469
  r,
4473
4470
  "translationurl",
4474
4471
  /*translationurl*/
4475
- e[11]
4476
- ), T(t, "class", "RegisterFormStep1");
4472
+ e[12]
4473
+ ), m(
4474
+ r,
4475
+ "mbsource",
4476
+ /*mbsource*/
4477
+ e[9]
4478
+ ), x(t, "class", "RegisterFormStep1");
4477
4479
  },
4478
4480
  m(n, i) {
4479
4481
  F(n, t, i), E(t, r);
@@ -4498,11 +4500,11 @@ function rr(e) {
4498
4500
  /*defaultoptions*/
4499
4501
  n[6]
4500
4502
  ), i[0] & /*custominputtextswitch*/
4501
- 8192 && m(
4503
+ 16384 && m(
4502
4504
  r,
4503
4505
  "custominputtextswitch",
4504
4506
  /*custominputtextswitch*/
4505
- n[13]
4507
+ n[14]
4506
4508
  ), i[0] & /*simplepasswordvalidation*/
4507
4509
  256 && m(
4508
4510
  r,
@@ -4510,37 +4512,43 @@ function rr(e) {
4510
4512
  /*simplepasswordvalidation*/
4511
4513
  n[8]
4512
4514
  ), i[0] & /*clientstyling*/
4513
- 512 && m(
4515
+ 1024 && m(
4514
4516
  r,
4515
4517
  "clientstyling",
4516
4518
  /*clientstyling*/
4517
- n[9]
4519
+ n[10]
4518
4520
  ), i[0] & /*clientstylingurl*/
4519
- 1024 && m(
4521
+ 2048 && m(
4520
4522
  r,
4521
4523
  "clientstylingurl",
4522
4524
  /*clientstylingurl*/
4523
- n[10]
4525
+ n[11]
4524
4526
  ), i[0] & /*savecredentials*/
4525
- 4096 && m(
4527
+ 8192 && m(
4526
4528
  r,
4527
4529
  "savecredentials",
4528
4530
  /*savecredentials*/
4529
- n[12]
4531
+ n[13]
4530
4532
  ), i[0] & /*translationurl*/
4531
- 2048 && m(
4533
+ 4096 && m(
4532
4534
  r,
4533
4535
  "translationurl",
4534
4536
  /*translationurl*/
4535
- n[11]
4537
+ n[12]
4538
+ ), i[0] & /*mbsource*/
4539
+ 512 && m(
4540
+ r,
4541
+ "mbsource",
4542
+ /*mbsource*/
4543
+ n[9]
4536
4544
  );
4537
4545
  },
4538
4546
  d(n) {
4539
- n && N(t);
4547
+ n && M(t);
4540
4548
  }
4541
4549
  };
4542
4550
  }
4543
- function nr(e) {
4551
+ function tr(e) {
4544
4552
  let t, r;
4545
4553
  return {
4546
4554
  c() {
@@ -4573,23 +4581,28 @@ function nr(e) {
4573
4581
  r,
4574
4582
  "personalidlength",
4575
4583
  /*personalidlength*/
4576
- e[14]
4584
+ e[15]
4577
4585
  ), m(
4578
4586
  r,
4579
4587
  "clientstyling",
4580
4588
  /*clientstyling*/
4581
- e[9]
4589
+ e[10]
4582
4590
  ), m(
4583
4591
  r,
4584
4592
  "clientstylingurl",
4585
4593
  /*clientstylingurl*/
4586
- e[10]
4594
+ e[11]
4587
4595
  ), m(
4588
4596
  r,
4589
4597
  "translationurl",
4590
4598
  /*translationurl*/
4591
- e[11]
4592
- ), T(t, "class", "RegisterFormStep2");
4599
+ e[12]
4600
+ ), m(
4601
+ r,
4602
+ "mbsource",
4603
+ /*mbsource*/
4604
+ e[9]
4605
+ ), x(t, "class", "RegisterFormStep2");
4593
4606
  },
4594
4607
  m(n, i) {
4595
4608
  F(n, t, i), E(t, r);
@@ -4626,37 +4639,43 @@ function nr(e) {
4626
4639
  /*defaultoptions*/
4627
4640
  n[6]
4628
4641
  ), i[0] & /*personalidlength*/
4629
- 16384 && m(
4642
+ 32768 && m(
4630
4643
  r,
4631
4644
  "personalidlength",
4632
4645
  /*personalidlength*/
4633
- n[14]
4646
+ n[15]
4634
4647
  ), i[0] & /*clientstyling*/
4635
- 512 && m(
4648
+ 1024 && m(
4636
4649
  r,
4637
4650
  "clientstyling",
4638
4651
  /*clientstyling*/
4639
- n[9]
4652
+ n[10]
4640
4653
  ), i[0] & /*clientstylingurl*/
4641
- 1024 && m(
4654
+ 2048 && m(
4642
4655
  r,
4643
4656
  "clientstylingurl",
4644
4657
  /*clientstylingurl*/
4645
- n[10]
4658
+ n[11]
4646
4659
  ), i[0] & /*translationurl*/
4647
- 2048 && m(
4660
+ 4096 && m(
4648
4661
  r,
4649
4662
  "translationurl",
4650
4663
  /*translationurl*/
4651
- n[11]
4664
+ n[12]
4665
+ ), i[0] & /*mbsource*/
4666
+ 512 && m(
4667
+ r,
4668
+ "mbsource",
4669
+ /*mbsource*/
4670
+ n[9]
4652
4671
  );
4653
4672
  },
4654
4673
  d(n) {
4655
- n && N(t);
4674
+ n && M(t);
4656
4675
  }
4657
4676
  };
4658
4677
  }
4659
- function ir(e) {
4678
+ function rr(e) {
4660
4679
  let t, r;
4661
4680
  return {
4662
4681
  c() {
@@ -4664,22 +4683,22 @@ function ir(e) {
4664
4683
  r,
4665
4684
  "userconsentsexist",
4666
4685
  /*userconsentsexist*/
4667
- e[25]
4686
+ e[26]
4668
4687
  ), m(
4669
4688
  r,
4670
4689
  "termsconditions",
4671
4690
  /*termsconditions*/
4672
- e[26]
4691
+ e[27]
4673
4692
  ), m(
4674
4693
  r,
4675
4694
  "smsoffers",
4676
4695
  /*smsoffers*/
4677
- e[27]
4696
+ e[28]
4678
4697
  ), m(
4679
4698
  r,
4680
4699
  "emailmarketing",
4681
4700
  /*emailmarketing*/
4682
- e[28]
4701
+ e[29]
4683
4702
  ), m(
4684
4703
  r,
4685
4704
  "endpoint",
@@ -4709,47 +4728,52 @@ function ir(e) {
4709
4728
  r,
4710
4729
  "clientstyling",
4711
4730
  /*clientstyling*/
4712
- e[9]
4731
+ e[10]
4713
4732
  ), m(
4714
4733
  r,
4715
4734
  "clientstylingurl",
4716
4735
  /*clientstylingurl*/
4717
- e[10]
4736
+ e[11]
4718
4737
  ), m(
4719
4738
  r,
4720
4739
  "translationurl",
4721
4740
  /*translationurl*/
4722
- e[11]
4723
- ), T(t, "class", "RegisterFormStep3");
4741
+ e[12]
4742
+ ), m(
4743
+ r,
4744
+ "mbsource",
4745
+ /*mbsource*/
4746
+ e[9]
4747
+ ), x(t, "class", "RegisterFormStep3");
4724
4748
  },
4725
4749
  m(n, i) {
4726
4750
  F(n, t, i), E(t, r);
4727
4751
  },
4728
4752
  p(n, i) {
4729
4753
  i[0] & /*userconsentsexist*/
4730
- 33554432 && m(
4754
+ 67108864 && m(
4731
4755
  r,
4732
4756
  "userconsentsexist",
4733
4757
  /*userconsentsexist*/
4734
- n[25]
4758
+ n[26]
4735
4759
  ), i[0] & /*termsconditions*/
4736
- 67108864 && m(
4760
+ 134217728 && m(
4737
4761
  r,
4738
4762
  "termsconditions",
4739
4763
  /*termsconditions*/
4740
- n[26]
4764
+ n[27]
4741
4765
  ), i[0] & /*smsoffers*/
4742
- 134217728 && m(
4766
+ 268435456 && m(
4743
4767
  r,
4744
4768
  "smsoffers",
4745
4769
  /*smsoffers*/
4746
- n[27]
4770
+ n[28]
4747
4771
  ), i[0] & /*emailmarketing*/
4748
- 268435456 && m(
4772
+ 536870912 && m(
4749
4773
  r,
4750
4774
  "emailmarketing",
4751
4775
  /*emailmarketing*/
4752
- n[28]
4776
+ n[29]
4753
4777
  ), i[0] & /*endpoint*/
4754
4778
  1 && m(
4755
4779
  r,
@@ -4781,64 +4805,70 @@ function ir(e) {
4781
4805
  /*disabledfields*/
4782
4806
  n[5]
4783
4807
  ), i[0] & /*clientstyling*/
4784
- 512 && m(
4808
+ 1024 && m(
4785
4809
  r,
4786
4810
  "clientstyling",
4787
4811
  /*clientstyling*/
4788
- n[9]
4812
+ n[10]
4789
4813
  ), i[0] & /*clientstylingurl*/
4790
- 1024 && m(
4814
+ 2048 && m(
4791
4815
  r,
4792
4816
  "clientstylingurl",
4793
4817
  /*clientstylingurl*/
4794
- n[10]
4818
+ n[11]
4795
4819
  ), i[0] & /*translationurl*/
4796
- 2048 && m(
4820
+ 4096 && m(
4797
4821
  r,
4798
4822
  "translationurl",
4799
4823
  /*translationurl*/
4800
- n[11]
4824
+ n[12]
4825
+ ), i[0] & /*mbsource*/
4826
+ 512 && m(
4827
+ r,
4828
+ "mbsource",
4829
+ /*mbsource*/
4830
+ n[9]
4801
4831
  );
4802
4832
  },
4803
4833
  d(n) {
4804
- n && N(t);
4834
+ n && M(t);
4805
4835
  }
4806
4836
  };
4807
4837
  }
4808
4838
  function Os(e) {
4809
4839
  let t, r = (
4810
4840
  /*$_*/
4811
- e[33]("error") + ""
4841
+ e[34]("error") + ""
4812
4842
  ), n;
4813
4843
  return {
4814
4844
  c() {
4815
- t = B("p"), n = j(r), T(t, "class", "SMSErrorText");
4845
+ t = B("p"), n = $(r), x(t, "class", "SMSErrorText");
4816
4846
  },
4817
4847
  m(i, s) {
4818
4848
  F(i, t, s), E(t, n);
4819
4849
  },
4820
4850
  p(i, s) {
4821
4851
  s[1] & /*$_*/
4822
- 4 && r !== (r = /*$_*/
4823
- i[33]("error") + "") && Y(n, r);
4852
+ 8 && r !== (r = /*$_*/
4853
+ i[34]("error") + "") && K(n, r);
4824
4854
  },
4825
4855
  d(i) {
4826
- i && N(t);
4856
+ i && M(t);
4827
4857
  }
4828
4858
  };
4829
4859
  }
4830
- function Is(e) {
4860
+ function Cs(e) {
4831
4861
  let t;
4832
4862
  function r(s, o) {
4833
4863
  return (
4834
4864
  /*smsSendApiFailed*/
4835
- s[30] ? Rs : Ls
4865
+ s[31] ? Is : Ls
4836
4866
  );
4837
4867
  }
4838
4868
  let n = r(e), i = n(e);
4839
4869
  return {
4840
4870
  c() {
4841
- i.c(), t = an();
4871
+ i.c(), t = tn();
4842
4872
  },
4843
4873
  m(s, o) {
4844
4874
  i.m(s, o), F(s, t, o);
@@ -4847,29 +4877,29 @@ function Is(e) {
4847
4877
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
4848
4878
  },
4849
4879
  d(s) {
4850
- s && N(t), i.d(s);
4880
+ s && M(t), i.d(s);
4851
4881
  }
4852
4882
  };
4853
4883
  }
4854
- function Rs(e) {
4884
+ function Is(e) {
4855
4885
  let t, r = (
4856
4886
  /*$_*/
4857
- e[33]("error") + ""
4887
+ e[34]("error") + ""
4858
4888
  ), n;
4859
4889
  return {
4860
4890
  c() {
4861
- t = B("p"), n = j(r), T(t, "class", "SMSErrorText");
4891
+ t = B("p"), n = $(r), x(t, "class", "SMSErrorText");
4862
4892
  },
4863
4893
  m(i, s) {
4864
4894
  F(i, t, s), E(t, n);
4865
4895
  },
4866
4896
  p(i, s) {
4867
4897
  s[1] & /*$_*/
4868
- 4 && r !== (r = /*$_*/
4869
- i[33]("error") + "") && Y(n, r);
4898
+ 8 && r !== (r = /*$_*/
4899
+ i[34]("error") + "") && K(n, r);
4870
4900
  },
4871
4901
  d(i) {
4872
- i && N(t);
4902
+ i && M(t);
4873
4903
  }
4874
4904
  };
4875
4905
  }
@@ -4891,27 +4921,32 @@ function Ls(e) {
4891
4921
  t,
4892
4922
  "number",
4893
4923
  /*number*/
4894
- e[31]
4924
+ e[32]
4895
4925
  ), m(
4896
4926
  t,
4897
4927
  "playerid",
4898
4928
  /*playerid*/
4899
- e[16]
4929
+ e[17]
4900
4930
  ), m(
4901
4931
  t,
4902
4932
  "tokenid",
4903
4933
  /*smstokenid*/
4904
- e[29]
4934
+ e[30]
4905
4935
  ), m(
4906
4936
  t,
4907
4937
  "clientstyling",
4908
4938
  /*clientstyling*/
4909
- e[9]
4939
+ e[10]
4910
4940
  ), m(
4911
4941
  t,
4912
4942
  "clientstylingurl",
4913
4943
  /*clientstylingurl*/
4914
- e[10]
4944
+ e[11]
4945
+ ), m(
4946
+ t,
4947
+ "mbsource",
4948
+ /*mbsource*/
4949
+ e[9]
4915
4950
  );
4916
4951
  },
4917
4952
  m(r, n) {
@@ -4931,97 +4966,103 @@ function Ls(e) {
4931
4966
  /*session*/
4932
4967
  r[1]
4933
4968
  ), n[1] & /*number*/
4934
- 1 && m(
4969
+ 2 && m(
4935
4970
  t,
4936
4971
  "number",
4937
4972
  /*number*/
4938
- r[31]
4973
+ r[32]
4939
4974
  ), n[0] & /*playerid*/
4940
- 65536 && m(
4975
+ 131072 && m(
4941
4976
  t,
4942
4977
  "playerid",
4943
4978
  /*playerid*/
4944
- r[16]
4979
+ r[17]
4945
4980
  ), n[0] & /*smstokenid*/
4946
- 536870912 && m(
4981
+ 1073741824 && m(
4947
4982
  t,
4948
4983
  "tokenid",
4949
4984
  /*smstokenid*/
4950
- r[29]
4985
+ r[30]
4951
4986
  ), n[0] & /*clientstyling*/
4952
- 512 && m(
4987
+ 1024 && m(
4953
4988
  t,
4954
4989
  "clientstyling",
4955
4990
  /*clientstyling*/
4956
- r[9]
4991
+ r[10]
4957
4992
  ), n[0] & /*clientstylingurl*/
4958
- 1024 && m(
4993
+ 2048 && m(
4959
4994
  t,
4960
4995
  "clientstylingurl",
4961
4996
  /*clientstylingurl*/
4962
- r[10]
4997
+ r[11]
4998
+ ), n[0] & /*mbsource*/
4999
+ 512 && m(
5000
+ t,
5001
+ "mbsource",
5002
+ /*mbsource*/
5003
+ r[9]
4963
5004
  );
4964
5005
  },
4965
5006
  d(r) {
4966
- r && N(t);
5007
+ r && M(t);
4967
5008
  }
4968
5009
  };
4969
5010
  }
4970
- function sr(e) {
4971
- let t, r, n, i, s, o, a, h, l, u, c, p, y, g, d, b, x, I = (
5011
+ function nr(e) {
5012
+ let t, r, n, i, s, o, a, h, l, u, c, p, y, g, d, b, S, O = (
4972
5013
  /*$_*/
4973
- e[33]("goToLoginButton") + ""
4974
- ), C, D, M;
5014
+ e[34]("goToLoginButton") + ""
5015
+ ), P, R, N;
4975
5016
  return {
4976
5017
  c() {
4977
- t = B("div"), r = we("svg"), n = we("defs"), i = we("style"), s = j(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = we("path"), a = U(), h = B("h2"), l = j(
5018
+ t = B("div"), r = Se("svg"), n = Se("defs"), i = Se("style"), s = $(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Se("path"), a = U(), h = B("h2"), l = $(
4978
5019
  /*accountCreationTitle*/
4979
- e[22]
4980
- ), u = U(), c = B("p"), p = j(
4981
- /*accountCreationSubTitle*/
4982
5020
  e[23]
4983
- ), y = U(), g = B("p"), d = j(
4984
- /*accountCreationMessage*/
5021
+ ), u = U(), c = B("p"), p = $(
5022
+ /*accountCreationSubTitle*/
4985
5023
  e[24]
4986
- ), b = U(), x = B("button"), C = j(I), T(o, "class", "a"), T(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), T(r, "xmlns", "http://www.w3.org/2000/svg"), T(r, "viewBox", "0 0 73.95 51"), T(h, "class", "RegisterConfirmationTitle"), T(c, "class", "RegisterConfirmationSubtitle"), T(g, "class", "RegisterConfirmationNote"), T(x, "class", "RegisterConfirmationGoToLogin"), T(t, "class", "RegisterConfirmation");
5024
+ ), y = U(), g = B("p"), d = $(
5025
+ /*accountCreationMessage*/
5026
+ e[25]
5027
+ ), b = U(), S = B("button"), P = $(O), x(o, "class", "a"), x(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "viewBox", "0 0 73.95 51"), x(h, "class", "RegisterConfirmationTitle"), x(c, "class", "RegisterConfirmationSubtitle"), x(g, "class", "RegisterConfirmationNote"), x(S, "class", "RegisterConfirmationGoToLogin"), x(t, "class", "RegisterConfirmation");
4987
5028
  },
4988
- m(R, O) {
4989
- F(R, t, O), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, x), E(x, C), D || (M = un(
4990
- x,
5029
+ m(C, D) {
5030
+ F(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, S), E(S, P), R || (N = rn(
5031
+ S,
4991
5032
  "click",
4992
5033
  /*switchToLogin*/
4993
- e[35]
4994
- ), D = !0);
5034
+ e[36]
5035
+ ), R = !0);
4995
5036
  },
4996
- p(R, O) {
4997
- O[0] & /*accountCreationTitle*/
4998
- 4194304 && Y(
5037
+ p(C, D) {
5038
+ D[0] & /*accountCreationTitle*/
5039
+ 8388608 && K(
4999
5040
  l,
5000
5041
  /*accountCreationTitle*/
5001
- R[22]
5002
- ), O[0] & /*accountCreationSubTitle*/
5003
- 8388608 && Y(
5042
+ C[23]
5043
+ ), D[0] & /*accountCreationSubTitle*/
5044
+ 16777216 && K(
5004
5045
  p,
5005
5046
  /*accountCreationSubTitle*/
5006
- R[23]
5007
- ), O[0] & /*accountCreationMessage*/
5008
- 16777216 && Y(
5047
+ C[24]
5048
+ ), D[0] & /*accountCreationMessage*/
5049
+ 33554432 && K(
5009
5050
  d,
5010
5051
  /*accountCreationMessage*/
5011
- R[24]
5012
- ), O[1] & /*$_*/
5013
- 4 && I !== (I = /*$_*/
5014
- R[33]("goToLoginButton") + "") && Y(C, I);
5052
+ C[25]
5053
+ ), D[1] & /*$_*/
5054
+ 8 && O !== (O = /*$_*/
5055
+ C[34]("goToLoginButton") + "") && K(P, O);
5015
5056
  },
5016
- d(R) {
5017
- R && N(t), D = !1, M();
5057
+ d(C) {
5058
+ C && M(t), R = !1, N();
5018
5059
  }
5019
5060
  };
5020
5061
  }
5021
- function Ms(e) {
5062
+ function Rs(e) {
5022
5063
  let t;
5023
5064
  function r(s, o) {
5024
- return Cs;
5065
+ return Ps;
5025
5066
  }
5026
5067
  let i = r()(e);
5027
5068
  return {
@@ -5029,7 +5070,7 @@ function Ms(e) {
5029
5070
  t = B("div"), i.c();
5030
5071
  },
5031
5072
  m(s, o) {
5032
- F(s, t, o), i.m(t, null), e[41](t);
5073
+ F(s, t, o), i.m(t, null), e[42](t);
5033
5074
  },
5034
5075
  p(s, o) {
5035
5076
  i.p(s, o);
@@ -5037,84 +5078,84 @@ function Ms(e) {
5037
5078
  i: k,
5038
5079
  o: k,
5039
5080
  d(s) {
5040
- s && N(t), i.d(), e[41](null);
5081
+ s && M(t), i.d(), e[42](null);
5041
5082
  }
5042
5083
  };
5043
5084
  }
5044
5085
  let Ns = "Please use this code {0} to activate your account";
5045
- function Ds(e, t, r) {
5086
+ function Ms(e, t, r) {
5046
5087
  let n;
5047
- rn(e, Hs, (f) => r(33, n = f));
5048
- let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: C = "" } = t, { savecredentials: D = "" } = t, { custominputtextswitch: M = "false" } = t, { personalidlength: R = "13" } = t, O, dt = "", De = !0, ue = !1, ge = !1, Fe = !1, Ue = !1, be, gt = !1, bt = "", yt = "", vt = "", _t = window.navigator.userAgent, Gr = Yt(_t) !== "PC", G = {}, Et = !1, wt = !1, ke = "false", xt = "false", St = "false", Tt = "false", Ht = "", Bt, ye = !1, At, ve;
5049
- Bs({ withLocale: "en", translations: {} });
5050
- const jr = () => {
5051
- fetch(C).then((S) => S.json()).then((S) => {
5052
- Object.keys(S).forEach((P) => {
5053
- Kt(P, S[P]);
5088
+ Qr(e, ws, (f) => r(34, n = f));
5089
+ let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: S } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: R = "" } = t, { savecredentials: N = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, G, mt = "", Fe = !0, le = !1, be = !1, Ue = !1, ke = !1, ye, pt = !1, dt = "", gt = "", bt = "", yt = window.navigator.userAgent, Fr = qt(yt) !== "PC", j = {}, vt = !1, _t = !1, Ge = "false", Et = "false", wt = "false", St = "false", xt = "", Tt, ve = !1, Ht, _e;
5090
+ Ss({ withLocale: "en", translations: {} });
5091
+ const Ur = () => {
5092
+ fetch(R).then((H) => H.json()).then((H) => {
5093
+ Object.keys(H).forEach((I) => {
5094
+ Qt(I, H[I]);
5054
5095
  });
5055
- }).catch((S) => {
5056
- console.log(S);
5096
+ }).catch((H) => {
5097
+ console.log(H);
5057
5098
  });
5058
5099
  };
5059
- Object.keys(er).forEach((f) => {
5060
- Kt(f, er[f]);
5100
+ Object.keys(Yt).forEach((f) => {
5101
+ Qt(f, Yt[f]);
5061
5102
  });
5062
- const $r = () => {
5103
+ const kr = () => {
5063
5104
  fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
5064
- f.items.length > 0 ? (r(25, ke = "true"), f.items.forEach((S) => {
5065
- switch (S.tagCode) {
5105
+ f.items.length > 0 ? (r(26, Ge = "true"), f.items.forEach((H) => {
5106
+ switch (H.tagCode) {
5066
5107
  case "termsandconditions":
5067
- r(26, xt = "true");
5108
+ r(27, Et = "true");
5068
5109
  break;
5069
5110
  case "sms":
5070
- r(27, St = "true");
5111
+ r(28, wt = "true");
5071
5112
  break;
5072
5113
  case "emailmarketing":
5073
- r(28, Tt = "true");
5114
+ r(29, St = "true");
5074
5115
  break;
5075
5116
  }
5076
- })) : r(25, ke = "false");
5117
+ })) : r(26, Ge = "false");
5077
5118
  });
5078
- }, Vr = () => {
5079
- let f = new URL(`${s}/${u}/login-register-content?env=${o}`), S = Yt(_t);
5080
- S && (S === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((P) => P.json()).then((P) => {
5081
- be = P.registerData, r(22, bt = be.title), r(23, yt = be.subtitle), r(24, vt = be.content);
5082
- }).catch((P) => {
5083
- console.error(P);
5119
+ }, Gr = () => {
5120
+ let f = new URL(`${s}/${u}/login-register-content?env=${o}`), H = qt(yt);
5121
+ H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
5122
+ ye = I.registerData, r(23, dt = ye.title), r(24, gt = ye.subtitle), r(25, bt = ye.content);
5123
+ }).catch((I) => {
5124
+ console.error(I);
5084
5125
  });
5085
- }, _e = () => {
5086
- ve.scrollIntoView();
5087
- }, le = (f) => {
5088
- for (const S in f)
5089
- G[S] = f[S], S === "mobile" && r(31, At = `${f[S].prefix}${f[S].number}`);
5090
- G.affiliateMarker = G.promoCode ? G.promoCode : h ?? "";
5091
- }, Pt = (f) => {
5126
+ }, Ee = () => {
5127
+ _e.scrollIntoView();
5128
+ }, he = (f) => {
5129
+ for (const H in f)
5130
+ j[H] = f[H], H === "mobile" && r(32, Ht = `${f[H].prefix}${f[H].number}`);
5131
+ j.affiliateMarker = j.promoCode ? j.promoCode : h ?? "";
5132
+ }, Bt = (f) => {
5092
5133
  if (f.data)
5093
5134
  switch (f.data.type) {
5094
5135
  case "RegisterStepOne":
5095
- le(f.data.registerStepOneData), _e(), r(17, De = !1), r(18, ue = !0), Et == !1 ? Et = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: G }, window.location.href);
5136
+ he(f.data.registerStepOneData), Ee(), r(18, Fe = !1), r(19, le = !0), vt == !1 ? vt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5096
5137
  break;
5097
5138
  case "RegisterStepTwo":
5098
- le(f.data.registerStepTwoData), _e(), r(18, ue = !1), r(19, ge = !0), wt == !1 ? wt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: G }, window.location.href);
5139
+ he(f.data.registerStepTwoData), Ee(), r(19, le = !1), r(20, be = !0), _t == !1 ? _t = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
5099
5140
  break;
5100
5141
  case "RegisterStepThree":
5101
- le(f.data.registerStepThreeData), Wr(G);
5142
+ he(f.data.registerStepThreeData), $r(j);
5102
5143
  break;
5103
5144
  case "SmsHasBeenValidated":
5104
- r(21, Ue = !0), r(20, Fe = !1);
5145
+ r(22, ke = !0), r(21, Ue = !1);
5105
5146
  break;
5106
5147
  case "GoBackStepTwo":
5107
- le(f.data.registerStepTwoData), _e(), r(17, De = !0), r(18, ue = !1), window.postMessage({ type: "StepOneDataBackup", userData: G }, window.location.href);
5148
+ he(f.data.registerStepTwoData), Ee(), r(18, Fe = !0), r(19, le = !1), window.postMessage({ type: "StepOneDataBackup", userData: j }, window.location.href);
5108
5149
  break;
5109
5150
  case "GoBackStepThree":
5110
- le(f.data.registerStepThreeData), _e(), r(18, ue = !0), r(19, ge = !1), window.postMessage({ type: "StepTwoDataBackup", userData: G }, window.location.href);
5151
+ he(f.data.registerStepThreeData), Ee(), r(19, le = !0), r(20, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5111
5152
  break;
5112
5153
  }
5113
- }, Xr = () => {
5154
+ }, jr = () => {
5114
5155
  typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
5115
- }, Wr = async (f) => {
5156
+ }, $r = async (f) => {
5116
5157
  f.language = u;
5117
- let S = {
5158
+ let H = {
5118
5159
  method: "PUT",
5119
5160
  headers: {
5120
5161
  "g-recaptcha-response": f.token,
@@ -5122,89 +5163,73 @@ function Ds(e, t, r) {
5122
5163
  Accept: "application/json"
5123
5164
  },
5124
5165
  body: JSON.stringify(f)
5125
- }, P = await fetch(`${i}/v1/player/register`, S), X = await P.json();
5126
- P.ok ? (r(19, ge = !1), g === "false" ? r(21, Ue = !0) : (r(16, dt = X.id), zr(f, X.id)), f.username, f.password, Xr()) : (Ht = X.error.substring(X.error.indexOf("errorMessage") + 13, X.error.length), gt = !0, window.postMessage(
5166
+ }, I = await fetch(`${i}/v1/player/register`, H), W = await I.json();
5167
+ I.ok ? (r(20, be = !1), g === "false" ? r(22, ke = !0) : (r(17, mt = W.id), Vr(f, W.id)), f.username, f.password, jr()) : (xt = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), pt = !0, window.postMessage(
5127
5168
  {
5128
5169
  type: "ShowRegistrationError",
5129
- showError: gt,
5130
- error: Ht
5170
+ showError: pt,
5171
+ error: xt
5131
5172
  },
5132
5173
  window.location.href
5133
5174
  ));
5134
- }, zr = async (f, S) => {
5175
+ }, Vr = async (f, H) => {
5135
5176
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
5136
5177
  try {
5137
- const P = await fetch(`${i}/v1/player/sms/token`, {
5178
+ const I = await fetch(`${i}/v1/player/sms/token`, {
5138
5179
  method: "POST",
5139
5180
  headers: {
5140
5181
  "Content-Type": "application/json",
5141
5182
  accept: "application/json"
5142
5183
  },
5143
5184
  body: JSON.stringify({
5144
- userId: S,
5185
+ userId: H,
5145
5186
  messageTemplate: Ns,
5146
5187
  destination: `${f.mobile.prefix}${f.mobile.number}`
5147
5188
  })
5148
- }), X = await P.json();
5149
- if (P.ok) {
5150
- r(29, Bt = X.id);
5151
- let Us = X.maxValidationAttempts;
5152
- r(20, Fe = !0), r(30, ye = !1);
5189
+ }), W = await I.json();
5190
+ if (I.ok) {
5191
+ r(30, Tt = W.id);
5192
+ let Fs = W.maxValidationAttempts;
5193
+ r(21, Ue = !0), r(31, ve = !1);
5153
5194
  } else
5154
- throw r(30, ye = !0), new Error("Failed to fetch");
5155
- } catch (P) {
5156
- r(30, ye = !0), console.error(P);
5195
+ throw r(31, ve = !0), new Error("Failed to fetch");
5196
+ } catch (I) {
5197
+ r(31, ve = !0), console.error(I);
5157
5198
  }
5158
- }, Zr = () => {
5199
+ }, Xr = () => {
5159
5200
  p.split(",");
5160
- }, Jr = () => {
5201
+ }, Wr = () => {
5161
5202
  window.postMessage({ type: "ToLogin" }, window.location.href);
5162
- }, qr = () => {
5163
- As(u);
5164
- }, Qr = () => {
5165
- let f = document.createElement("style");
5166
- f.innerHTML = x, O.appendChild(f);
5167
- }, Yr = () => {
5168
- let f = new URL(I), S = document.createElement("style");
5169
- fetch(f.href).then((P) => P.text()).then((P) => {
5170
- S.innerHTML = P, setTimeout(
5171
- () => {
5172
- O.appendChild(S);
5173
- },
5174
- 1
5175
- ), setTimeout(
5176
- () => {
5177
- },
5178
- 500
5179
- );
5180
- });
5203
+ }, zr = () => {
5204
+ xs(u);
5181
5205
  };
5182
- cn(() => (window.addEventListener("message", Pt, !1), () => {
5183
- window.removeEventListener("message", Pt);
5206
+ an(() => (window.addEventListener("message", Bt, !1), () => {
5207
+ window.removeEventListener("message", Bt);
5184
5208
  }));
5185
- function Kr(f) {
5186
- Pe[f ? "unshift" : "push"](() => {
5187
- ve = f, r(32, ve);
5209
+ function Zr(f) {
5210
+ Oe[f ? "unshift" : "push"](() => {
5211
+ _e = f, r(33, _e);
5188
5212
  });
5189
5213
  }
5190
- function en(f) {
5191
- Pe[f ? "unshift" : "push"](() => {
5192
- O = f, r(15, O);
5214
+ function Jr(f) {
5215
+ Oe[f ? "unshift" : "push"](() => {
5216
+ G = f, r(16, G);
5193
5217
  });
5194
5218
  }
5195
5219
  return e.$$set = (f) => {
5196
- "endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(36, s = f.cmsendpoint), "env" in f && r(37, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(38, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(39, b = f.userroles), "clientstyling" in f && r(9, x = f.clientstyling), "clientstylingurl" in f && r(10, I = f.clientstylingurl), "translationurl" in f && r(11, C = f.translationurl), "savecredentials" in f && r(12, D = f.savecredentials), "custominputtextswitch" in f && r(13, M = f.custominputtextswitch), "personalidlength" in f && r(14, R = f.personalidlength);
5220
+ "endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, S = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, R = f.translationurl), "savecredentials" in f && r(13, N = f.savecredentials), "custominputtextswitch" in f && r(14, C = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
5197
5221
  }, e.$$.update = () => {
5198
5222
  e.$$.dirty[0] & /*endpoint*/
5199
- 1 && i && $r(), e.$$.dirty[0] & /*lang*/
5223
+ 1 && i && kr(), e.$$.dirty[0] & /*lang*/
5200
5224
  8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
5201
- 352 && s && u && o && b && Vr(), e.$$.dirty[0] & /*playerid, session*/
5202
- 65538, e.$$.dirty[0] & /*lang*/
5203
- 8 && u && qr(), e.$$.dirty[0] & /*disabledfields*/
5204
- 32 && p && Zr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5205
- 33280 && x && O && Qr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5206
- 33792 && I && O && Yr(), e.$$.dirty[0] & /*translationurl*/
5207
- 2048 && C && jr();
5225
+ 704 && s && u && o && b && Gr(), e.$$.dirty[0] & /*playerid, session*/
5226
+ 131074, e.$$.dirty[0] & /*lang*/
5227
+ 8 && u && zr(), e.$$.dirty[0] & /*disabledfields*/
5228
+ 32 && p && Xr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5229
+ 66560 && O && G && Ts(G, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5230
+ 67584 && P && G && Hs(G, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5231
+ 66048 && S && G && Bs(G, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
5232
+ 4096 && R && Ur();
5208
5233
  }, [
5209
5234
  i,
5210
5235
  a,
@@ -5215,55 +5240,56 @@ function Ds(e, t, r) {
5215
5240
  y,
5216
5241
  g,
5217
5242
  d,
5218
- x,
5219
- I,
5243
+ S,
5244
+ O,
5245
+ P,
5246
+ R,
5247
+ N,
5220
5248
  C,
5221
5249
  D,
5222
- M,
5223
- R,
5224
- O,
5225
- dt,
5226
- De,
5227
- ue,
5228
- ge,
5250
+ G,
5251
+ mt,
5229
5252
  Fe,
5253
+ le,
5254
+ be,
5230
5255
  Ue,
5231
- bt,
5232
- yt,
5233
- vt,
5234
5256
  ke,
5235
- xt,
5257
+ dt,
5258
+ gt,
5259
+ bt,
5260
+ Ge,
5261
+ Et,
5262
+ wt,
5236
5263
  St,
5237
5264
  Tt,
5238
- Bt,
5239
- ye,
5240
- At,
5241
5265
  ve,
5266
+ Ht,
5267
+ _e,
5242
5268
  n,
5243
- Gr,
5244
- Jr,
5269
+ Fr,
5270
+ Wr,
5245
5271
  s,
5246
5272
  o,
5247
5273
  h,
5248
5274
  b,
5249
- Kr,
5250
- en
5275
+ Zr,
5276
+ Jr
5251
5277
  ];
5252
5278
  }
5253
- class Fs extends Sn {
5279
+ class Ds extends vn {
5254
5280
  constructor(t) {
5255
- super(), wn(
5281
+ super(), bn(
5256
5282
  this,
5257
5283
  t,
5258
- Ds,
5259
5284
  Ms,
5260
- ar,
5285
+ Rs,
5286
+ sr,
5261
5287
  {
5262
5288
  endpoint: 0,
5263
- cmsendpoint: 36,
5264
- env: 37,
5289
+ cmsendpoint: 37,
5290
+ env: 38,
5265
5291
  session: 1,
5266
- trackedanalyticsdata: 38,
5292
+ trackedanalyticsdata: 39,
5267
5293
  captchakey: 2,
5268
5294
  lang: 3,
5269
5295
  licenseyears: 4,
@@ -5271,15 +5297,16 @@ class Fs extends Sn {
5271
5297
  defaultoptions: 6,
5272
5298
  smsverification: 7,
5273
5299
  simplepasswordvalidation: 8,
5274
- userroles: 39,
5275
- clientstyling: 9,
5276
- clientstylingurl: 10,
5277
- translationurl: 11,
5278
- savecredentials: 12,
5279
- custominputtextswitch: 13,
5280
- personalidlength: 14
5300
+ userroles: 40,
5301
+ mbsource: 9,
5302
+ clientstyling: 10,
5303
+ clientstylingurl: 11,
5304
+ translationurl: 12,
5305
+ savecredentials: 13,
5306
+ custominputtextswitch: 14,
5307
+ personalidlength: 15
5281
5308
  },
5282
- Ps,
5309
+ As,
5283
5310
  [-1, -1, -1]
5284
5311
  );
5285
5312
  }
@@ -5290,13 +5317,13 @@ class Fs extends Sn {
5290
5317
  this.$$set({ endpoint: t }), A();
5291
5318
  }
5292
5319
  get cmsendpoint() {
5293
- return this.$$.ctx[36];
5320
+ return this.$$.ctx[37];
5294
5321
  }
5295
5322
  set cmsendpoint(t) {
5296
5323
  this.$$set({ cmsendpoint: t }), A();
5297
5324
  }
5298
5325
  get env() {
5299
- return this.$$.ctx[37];
5326
+ return this.$$.ctx[38];
5300
5327
  }
5301
5328
  set env(t) {
5302
5329
  this.$$set({ env: t }), A();
@@ -5308,7 +5335,7 @@ class Fs extends Sn {
5308
5335
  this.$$set({ session: t }), A();
5309
5336
  }
5310
5337
  get trackedanalyticsdata() {
5311
- return this.$$.ctx[38];
5338
+ return this.$$.ctx[39];
5312
5339
  }
5313
5340
  set trackedanalyticsdata(t) {
5314
5341
  this.$$set({ trackedanalyticsdata: t }), A();
@@ -5356,83 +5383,91 @@ class Fs extends Sn {
5356
5383
  this.$$set({ simplepasswordvalidation: t }), A();
5357
5384
  }
5358
5385
  get userroles() {
5359
- return this.$$.ctx[39];
5386
+ return this.$$.ctx[40];
5360
5387
  }
5361
5388
  set userroles(t) {
5362
5389
  this.$$set({ userroles: t }), A();
5363
5390
  }
5364
- get clientstyling() {
5391
+ get mbsource() {
5365
5392
  return this.$$.ctx[9];
5366
5393
  }
5394
+ set mbsource(t) {
5395
+ this.$$set({ mbsource: t }), A();
5396
+ }
5397
+ get clientstyling() {
5398
+ return this.$$.ctx[10];
5399
+ }
5367
5400
  set clientstyling(t) {
5368
5401
  this.$$set({ clientstyling: t }), A();
5369
5402
  }
5370
5403
  get clientstylingurl() {
5371
- return this.$$.ctx[10];
5404
+ return this.$$.ctx[11];
5372
5405
  }
5373
5406
  set clientstylingurl(t) {
5374
5407
  this.$$set({ clientstylingurl: t }), A();
5375
5408
  }
5376
5409
  get translationurl() {
5377
- return this.$$.ctx[11];
5410
+ return this.$$.ctx[12];
5378
5411
  }
5379
5412
  set translationurl(t) {
5380
5413
  this.$$set({ translationurl: t }), A();
5381
5414
  }
5382
5415
  get savecredentials() {
5383
- return this.$$.ctx[12];
5416
+ return this.$$.ctx[13];
5384
5417
  }
5385
5418
  set savecredentials(t) {
5386
5419
  this.$$set({ savecredentials: t }), A();
5387
5420
  }
5388
5421
  get custominputtextswitch() {
5389
- return this.$$.ctx[13];
5422
+ return this.$$.ctx[14];
5390
5423
  }
5391
5424
  set custominputtextswitch(t) {
5392
5425
  this.$$set({ custominputtextswitch: t }), A();
5393
5426
  }
5394
5427
  get personalidlength() {
5395
- return this.$$.ctx[14];
5428
+ return this.$$.ctx[15];
5396
5429
  }
5397
5430
  set personalidlength(t) {
5398
5431
  this.$$set({ personalidlength: t }), A();
5399
5432
  }
5400
5433
  }
5401
- xn(Fs, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5434
+ yn(Ds, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5402
5435
  export {
5403
- z as $,
5436
+ Z as $,
5404
5437
  js as A,
5405
- an as B,
5406
- Xs as C,
5407
- oe as D,
5408
- Gs as E,
5409
- ks as F,
5410
- Fs as G,
5411
- Sn as S,
5412
- Nr as a,
5413
- nn as b,
5414
- xn as c,
5415
- U as d,
5416
- B as e,
5438
+ qe as B,
5439
+ Vs as C,
5440
+ ks as D,
5441
+ $s as E,
5442
+ tn as F,
5443
+ ae as G,
5444
+ Us as H,
5445
+ Ds as I,
5446
+ vn as S,
5447
+ Lr as a,
5448
+ Yr as b,
5449
+ yn as c,
5450
+ M as d,
5451
+ K as e,
5417
5452
  A as f,
5418
- T as g,
5419
- F as h,
5420
- wn as i,
5421
- E as j,
5422
- $s as k,
5423
- un as l,
5424
- Y as m,
5453
+ Gs as g,
5454
+ x as h,
5455
+ bn as i,
5456
+ F as j,
5457
+ E as k,
5458
+ rn as l,
5459
+ B as m,
5425
5460
  k as n,
5426
- N as o,
5427
- rn as p,
5428
- cn as q,
5429
- de as r,
5430
- ar as s,
5431
- j as t,
5432
- Pe as u,
5433
- we as v,
5434
- Hs as w,
5435
- qe as x,
5436
- Vs as y,
5437
- Ws as z
5461
+ U as o,
5462
+ Qr as p,
5463
+ an as q,
5464
+ ge as r,
5465
+ sr as s,
5466
+ $ as t,
5467
+ Oe as u,
5468
+ Se as v,
5469
+ ws as w,
5470
+ Ts as x,
5471
+ Hs as y,
5472
+ Bs as z
5438
5473
  };