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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/components/GeneralPlayerRegisterForm-BFbWxlar.cjs +5 -0
  2. package/components/{GeneralPlayerRegisterForm-OYfKg3Gz.js → GeneralPlayerRegisterForm-DQoOy50k.js} +1080 -1045
  3. package/components/{GeneralPlayerRegisterForm-CCoIeenv.js → GeneralPlayerRegisterForm-DUYIZTYO.js} +1102 -1067
  4. package/components/{GeneralPlayerRegisterFormStep1-C1h9gv6m.js → GeneralPlayerRegisterFormStep1-AyzdJWo4.js} +520 -527
  5. package/components/{GeneralPlayerRegisterFormStep1-DVIa2rjJ.js → GeneralPlayerRegisterFormStep1-D1LEX8PA.js} +521 -528
  6. package/components/{GeneralPlayerRegisterFormStep1-58R7jgfc.cjs → GeneralPlayerRegisterFormStep1-DQ7meqgF.cjs} +1 -1
  7. package/components/{GeneralPlayerRegisterFormStep2-D4TfY_zd.js → GeneralPlayerRegisterFormStep2-BGBu3VtJ.js} +1361 -1368
  8. package/components/{GeneralPlayerRegisterFormStep2-Cx3DNcUb.js → GeneralPlayerRegisterFormStep2-Cm5xIDmL.js} +1293 -1300
  9. package/components/{GeneralPlayerRegisterFormStep2-C4Uvs4-y.cjs → GeneralPlayerRegisterFormStep2-D62Ymei8.cjs} +5 -5
  10. package/components/GeneralPlayerRegisterFormStep3-Bkc50gc1.cjs +1 -0
  11. package/components/{GeneralPlayerRegisterFormStep3-D1rK9Bf0.js → GeneralPlayerRegisterFormStep3-CD04wcLk.js} +498 -505
  12. package/components/{GeneralPlayerRegisterFormStep3-BxpP5Ns-.js → GeneralPlayerRegisterFormStep3-CfG_VDa4.js} +487 -494
  13. package/components/{GeneralPlayerSmsVerificationForm-aor0cQO-.js → GeneralPlayerSmsVerificationForm-BaXDMqKB.js} +182 -189
  14. package/components/GeneralPlayerSmsVerificationForm-gR7pHb6z.cjs +1 -0
  15. package/components/{GeneralPlayerSmsVerificationForm-CBGEYebq.js → GeneralPlayerSmsVerificationForm-rQ9SIkQT.js} +183 -190
  16. package/es2015/general-player-register-form.cjs +1 -1
  17. package/es2015/general-player-register-form.js +1 -1
  18. package/esnext/general-player-register-form.js +1 -1
  19. package/package.json +1 -1
  20. package/components/GeneralPlayerRegisterForm-t6rLlCV2.cjs +0 -5
  21. package/components/GeneralPlayerRegisterFormStep3-B4v67EHk.cjs +0 -1
  22. package/components/GeneralPlayerSmsVerificationForm-GzoAbila.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var ln = Object.defineProperty, hn = Object.defineProperties;
2
- var fn = Object.getOwnPropertyDescriptors;
3
- var Rt = Object.getOwnPropertySymbols;
4
- var cn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable;
5
- var $e = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lt = (e, t) => {
1
+ var nn = Object.defineProperty, sn = Object.defineProperties;
2
+ var on = Object.getOwnPropertyDescriptors;
3
+ var Ct = Object.getOwnPropertySymbols;
4
+ var an = Object.prototype.hasOwnProperty, un = Object.prototype.propertyIsEnumerable;
5
+ var Ve = (e, t, r) => t in e ? nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- cn.call(t, r) && $e(e, r, t[r]);
8
- if (Rt)
9
- for (var r of Rt(t))
10
- pn.call(t, r) && $e(e, r, t[r]);
7
+ an.call(t, r) && Ve(e, r, t[r]);
8
+ if (Ct)
9
+ for (var r of Ct(t))
10
+ un.call(t, r) && Ve(e, r, t[r]);
11
11
  return e;
12
- }, Mt = (e, t) => hn(e, fn(t));
13
- var F = (e, t, r) => $e(e, typeof t != "symbol" ? t + "" : t, r);
14
- var Se = (e, t, r) => new Promise((n, i) => {
12
+ }, Rt = (e, t) => sn(e, on(t));
13
+ var F = (e, t, r) => Ve(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var we = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,29 +29,29 @@ var Se = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function k() {
31
31
  }
32
- function cr(e) {
32
+ function hr(e) {
33
33
  return e();
34
34
  }
35
- function Nt() {
35
+ function Lt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ge(e) {
39
- e.forEach(cr);
38
+ function be(e) {
39
+ e.forEach(hr);
40
40
  }
41
- function pt(e) {
41
+ function mt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function pr(e, t) {
44
+ function fr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let we;
48
- function Ys(e, t) {
49
- return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
47
+ let xe;
48
+ function Qs(e, t) {
49
+ return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
50
50
  }
51
- function mn(e) {
51
+ function ln(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function mr(e, ...t) {
54
+ function cr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,24 +60,20 @@ function mr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function dn(e, t, r) {
64
- e.$$.on_destroy.push(mr(t, r));
63
+ function hn(e, t, r) {
64
+ e.$$.on_destroy.push(cr(t, r));
65
65
  }
66
- const Ks = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
67
- // @ts-ignore Node typings have this
68
- global
69
- );
70
66
  function E(e, t) {
71
67
  e.appendChild(t);
72
68
  }
73
- function gn(e, t, r) {
74
- const n = bn(e);
69
+ function fn(e, t, r) {
70
+ const n = cn(e);
75
71
  if (!n.getElementById(t)) {
76
72
  const i = B("style");
77
- i.id = t, i.textContent = r, yn(n, i);
73
+ i.id = t, i.textContent = r, mn(n, i);
78
74
  }
79
75
  }
80
- function bn(e) {
76
+ function cn(e) {
81
77
  if (!e) return document;
82
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
79
  return t && /** @type {ShadowRoot} */
@@ -86,7 +82,7 @@ function bn(e) {
86
82
  t
87
83
  ) : e.ownerDocument;
88
84
  }
89
- function yn(e, t) {
85
+ function mn(e, t) {
90
86
  return E(
91
87
  /** @type {Document} */
92
88
  e.head || e,
@@ -99,46 +95,46 @@ function U(e, t, r) {
99
95
  function N(e) {
100
96
  e.parentNode && e.parentNode.removeChild(e);
101
97
  }
102
- function eo(e, t) {
98
+ function Ys(e, t) {
103
99
  for (let r = 0; r < e.length; r += 1)
104
100
  e[r] && e[r].d(t);
105
101
  }
106
102
  function B(e) {
107
103
  return document.createElement(e);
108
104
  }
109
- function xe(e) {
105
+ function Te(e) {
110
106
  return document.createElementNS("http://www.w3.org/2000/svg", e);
111
107
  }
112
- function $(e) {
108
+ function V(e) {
113
109
  return document.createTextNode(e);
114
110
  }
115
111
  function G() {
116
- return $(" ");
112
+ return V(" ");
117
113
  }
118
- function vn() {
119
- return $("");
114
+ function pn() {
115
+ return V("");
120
116
  }
121
- function _n(e, t, r, n) {
117
+ function dn(e, t, r, n) {
122
118
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
119
  }
124
- function T(e, t, r) {
120
+ function x(e, t, r) {
125
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
126
122
  }
127
- function p(e, t, r) {
123
+ function m(e, t, r) {
128
124
  const n = t.toLowerCase();
129
- 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);
125
+ 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);
130
126
  }
131
- function En(e) {
127
+ function gn(e) {
132
128
  return Array.from(e.childNodes);
133
129
  }
134
- function K(e, t) {
130
+ function ee(e, t) {
135
131
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
132
  t);
137
133
  }
138
- function to(e, t) {
134
+ function Ks(e, t) {
139
135
  e.value = t == null ? "" : t;
140
136
  }
141
- function ro(e, t, r) {
137
+ function eo(e, t, r) {
142
138
  for (let n = 0; n < e.options.length; n += 1) {
143
139
  const i = e.options[n];
144
140
  if (i.__value === t) {
@@ -148,11 +144,11 @@ function ro(e, t, r) {
148
144
  }
149
145
  (!r || t !== void 0) && (e.selectedIndex = -1);
150
146
  }
151
- function no(e) {
147
+ function to(e) {
152
148
  const t = e.querySelector(":checked");
153
149
  return t && t.__value;
154
150
  }
155
- function Sn(e) {
151
+ function bn(e) {
156
152
  const t = {};
157
153
  return e.childNodes.forEach(
158
154
  /** @param {Element} node */
@@ -162,87 +158,87 @@ function Sn(e) {
162
158
  ), t;
163
159
  }
164
160
  let pe;
165
- function ce(e) {
161
+ function me(e) {
166
162
  pe = e;
167
163
  }
168
- function wn() {
164
+ function yn() {
169
165
  if (!pe) throw new Error("Function called outside component initialization");
170
166
  return pe;
171
167
  }
172
- function xn(e) {
173
- wn().$$.on_mount.push(e);
168
+ function vn(e) {
169
+ yn().$$.on_mount.push(e);
174
170
  }
175
- const Y = [], Oe = [];
176
- let ee = [];
177
- const Dt = [], Tn = /* @__PURE__ */ Promise.resolve();
171
+ const K = [], Ie = [];
172
+ let te = [];
173
+ const Mt = [], _n = /* @__PURE__ */ Promise.resolve();
178
174
  let Ye = !1;
179
- function Hn() {
180
- Ye || (Ye = !0, Tn.then(A));
175
+ function En() {
176
+ Ye || (Ye = !0, _n.then(A));
181
177
  }
182
178
  function Ke(e) {
183
- ee.push(e);
179
+ te.push(e);
184
180
  }
185
- const Ve = /* @__PURE__ */ new Set();
186
- let J = 0;
181
+ const Xe = /* @__PURE__ */ new Set();
182
+ let Q = 0;
187
183
  function A() {
188
- if (J !== 0)
184
+ if (Q !== 0)
189
185
  return;
190
186
  const e = pe;
191
187
  do {
192
188
  try {
193
- for (; J < Y.length; ) {
194
- const t = Y[J];
195
- J++, ce(t), Bn(t.$$);
189
+ for (; Q < K.length; ) {
190
+ const t = K[Q];
191
+ Q++, me(t), Sn(t.$$);
196
192
  }
197
193
  } catch (t) {
198
- throw Y.length = 0, J = 0, t;
194
+ throw K.length = 0, Q = 0, t;
199
195
  }
200
- for (ce(null), Y.length = 0, J = 0; Oe.length; ) Oe.pop()();
201
- for (let t = 0; t < ee.length; t += 1) {
202
- const r = ee[t];
203
- Ve.has(r) || (Ve.add(r), r());
196
+ for (me(null), K.length = 0, Q = 0; Ie.length; ) Ie.pop()();
197
+ for (let t = 0; t < te.length; t += 1) {
198
+ const r = te[t];
199
+ Xe.has(r) || (Xe.add(r), r());
204
200
  }
205
- ee.length = 0;
206
- } while (Y.length);
207
- for (; Dt.length; )
208
- Dt.pop()();
209
- Ye = !1, Ve.clear(), ce(e);
201
+ te.length = 0;
202
+ } while (K.length);
203
+ for (; Mt.length; )
204
+ Mt.pop()();
205
+ Ye = !1, Xe.clear(), me(e);
210
206
  }
211
- function Bn(e) {
207
+ function Sn(e) {
212
208
  if (e.fragment !== null) {
213
- e.update(), ge(e.before_update);
209
+ e.update(), be(e.before_update);
214
210
  const t = e.dirty;
215
211
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
216
212
  }
217
213
  }
218
- function An(e) {
214
+ function wn(e) {
219
215
  const t = [], r = [];
220
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
216
+ te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
221
217
  }
222
- const Pn = /* @__PURE__ */ new Set();
223
- function Cn(e, t) {
224
- e && e.i && (Pn.delete(e), e.i(t));
218
+ const xn = /* @__PURE__ */ new Set();
219
+ function Tn(e, t) {
220
+ e && e.i && (xn.delete(e), e.i(t));
225
221
  }
226
- function io(e) {
222
+ function ro(e) {
227
223
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
228
224
  }
229
- function On(e, t, r) {
225
+ function Hn(e, t, r) {
230
226
  const { fragment: n, after_update: i } = e.$$;
231
227
  n && n.m(t, r), Ke(() => {
232
- const s = e.$$.on_mount.map(cr).filter(pt);
233
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
228
+ const s = e.$$.on_mount.map(hr).filter(mt);
229
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : be(s), e.$$.on_mount = [];
234
230
  }), i.forEach(Ke);
235
231
  }
236
- function In(e, t) {
232
+ function Bn(e, t) {
237
233
  const r = e.$$;
238
- r.fragment !== null && (An(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
234
+ r.fragment !== null && (wn(r.after_update), be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
239
235
  }
240
- function Rn(e, t) {
241
- e.$$.dirty[0] === -1 && (Y.push(e), Hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
236
+ function An(e, t) {
237
+ e.$$.dirty[0] === -1 && (K.push(e), En(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
242
238
  }
243
- function Ln(e, t, r, n, i, s, o = null, a = [-1]) {
239
+ function Pn(e, t, r, n, i, s, o = null, a = [-1]) {
244
240
  const l = pe;
245
- ce(e);
241
+ me(e);
246
242
  const u = e.$$ = {
247
243
  fragment: null,
248
244
  ctx: [],
@@ -250,7 +246,7 @@ function Ln(e, t, r, n, i, s, o = null, a = [-1]) {
250
246
  props: s,
251
247
  update: k,
252
248
  not_equal: i,
253
- bound: Nt(),
249
+ bound: Lt(),
254
250
  // lifecycle
255
251
  on_mount: [],
256
252
  on_destroy: [],
@@ -259,28 +255,28 @@ function Ln(e, t, r, n, i, s, o = null, a = [-1]) {
259
255
  after_update: [],
260
256
  context: new Map(t.context || (l ? l.$$.context : [])),
261
257
  // everything else
262
- callbacks: Nt(),
258
+ callbacks: Lt(),
263
259
  dirty: a,
264
260
  skip_bound: !1,
265
261
  root: t.target || l.$$.root
266
262
  };
267
263
  o && o(u.root);
268
264
  let h = !1;
269
- if (u.ctx = r ? r(e, t.props || {}, (c, m, ...y) => {
270
- const g = y.length ? y[0] : m;
271
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && Rn(e, c)), m;
272
- }) : [], u.update(), h = !0, ge(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
+ if (u.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
266
+ const g = y.length ? y[0] : p;
267
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && An(e, c)), p;
268
+ }) : [], u.update(), h = !0, be(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
273
269
  if (t.hydrate) {
274
- const c = En(t.target);
270
+ const c = gn(t.target);
275
271
  u.fragment && u.fragment.l(c), c.forEach(N);
276
272
  } else
277
273
  u.fragment && u.fragment.c();
278
- t.intro && Cn(e.$$.fragment), On(e, t.target, t.anchor), A();
274
+ t.intro && Tn(e.$$.fragment), Hn(e, t.target, t.anchor), A();
279
275
  }
280
- ce(l);
276
+ me(l);
281
277
  }
282
- let dr;
283
- typeof HTMLElement == "function" && (dr = class extends HTMLElement {
278
+ let mr;
279
+ typeof HTMLElement == "function" && (mr = class extends HTMLElement {
284
280
  constructor(t, r, n) {
285
281
  super();
286
282
  /** The Svelte component constructor */
@@ -317,14 +313,14 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
317
313
  }
318
314
  }
319
315
  connectedCallback() {
320
- return Se(this, null, function* () {
316
+ return we(this, null, function* () {
321
317
  if (this.$$cn = !0, !this.$$c) {
322
318
  let t = function(s) {
323
319
  return () => {
324
320
  let o;
325
321
  return {
326
322
  c: function() {
327
- o = B("slot"), s !== "default" && T(o, "name", s);
323
+ o = B("slot"), s !== "default" && x(o, "name", s);
328
324
  },
329
325
  /**
330
326
  * @param {HTMLElement} target
@@ -341,18 +337,18 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
341
337
  };
342
338
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
343
339
  return;
344
- const r = {}, n = Sn(this);
340
+ const r = {}, n = bn(this);
345
341
  for (const s of this.$$s)
346
342
  s in n && (r[s] = [t(s)]);
347
343
  for (const s of this.attributes) {
348
344
  const o = this.$$g_p(s.name);
349
- o in this.$$d || (this.$$d[o] = Be(o, s.value, this.$$p_d, "toProp"));
345
+ o in this.$$d || (this.$$d[o] = Ae(o, s.value, this.$$p_d, "toProp"));
350
346
  }
351
347
  for (const s in this.$$p_d)
352
348
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
353
349
  this.$$c = new this.$$ctor({
354
350
  target: this.shadowRoot || this,
355
- props: Mt(Lt({}, this.$$d), {
351
+ props: Rt(It({}, this.$$d), {
356
352
  $$slots: r,
357
353
  $$scope: {
358
354
  ctx: []
@@ -363,7 +359,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
363
359
  this.$$r = !0;
364
360
  for (const s in this.$$p_d)
365
361
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
366
- const o = Be(
362
+ const o = Ae(
367
363
  s,
368
364
  this.$$d[s],
369
365
  this.$$p_d,
@@ -387,7 +383,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
387
383
  // and setting attributes through setAttribute etc, this is helpful
388
384
  attributeChangedCallback(t, r, n) {
389
385
  var i;
390
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
386
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
391
387
  }
392
388
  disconnectedCallback() {
393
389
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -400,7 +396,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
400
396
  ) || t;
401
397
  }
402
398
  });
403
- function Be(e, t, r, n) {
399
+ function Ae(e, t, r, n) {
404
400
  var s;
405
401
  const i = (s = r[e]) == null ? void 0 : s.type;
406
402
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -430,8 +426,8 @@ function Be(e, t, r, n) {
430
426
  return t;
431
427
  }
432
428
  }
433
- function Mn(e, t, r, n, i, s) {
434
- let o = class extends dr {
429
+ function On(e, t, r, n, i, s) {
430
+ let o = class extends mr {
435
431
  constructor() {
436
432
  super(e, r, i), this.$$p_d = t;
437
433
  }
@@ -448,7 +444,7 @@ function Mn(e, t, r, n, i, s) {
448
444
  },
449
445
  set(l) {
450
446
  var u;
451
- l = Be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
447
+ l = Ae(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
452
448
  }
453
449
  });
454
450
  }), n.forEach((a) => {
@@ -461,7 +457,7 @@ function Mn(e, t, r, n, i, s) {
461
457
  }), e.element = /** @type {any} */
462
458
  o, o;
463
459
  }
464
- class Nn {
460
+ class Cn {
465
461
  constructor() {
466
462
  /**
467
463
  * ### PRIVATE API
@@ -482,7 +478,7 @@ class Nn {
482
478
  }
483
479
  /** @returns {void} */
484
480
  $destroy() {
485
- In(this, 1), this.$destroy = k;
481
+ Bn(this, 1), this.$destroy = k;
486
482
  }
487
483
  /**
488
484
  * @template {Extract<keyof Events, string>} K
@@ -491,7 +487,7 @@ class Nn {
491
487
  * @returns {() => void}
492
488
  */
493
489
  $on(t, r) {
494
- if (!pt(r))
490
+ if (!mt(r))
495
491
  return k;
496
492
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
497
493
  return n.push(r), () => {
@@ -504,11 +500,11 @@ class Nn {
504
500
  * @returns {void}
505
501
  */
506
502
  $set(t) {
507
- this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
503
+ this.$$set && !ln(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
508
504
  }
509
505
  }
510
- const Dn = "4";
511
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dn);
506
+ const In = "4";
507
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(In);
512
508
  var et = function(e, t) {
513
509
  return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
514
510
  r.__proto__ = n;
@@ -516,7 +512,7 @@ var et = function(e, t) {
516
512
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
517
513
  }, et(e, t);
518
514
  };
519
- function X(e, t) {
515
+ function W(e, t) {
520
516
  if (typeof t != "function" && t !== null)
521
517
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
522
518
  et(e, t);
@@ -534,7 +530,7 @@ var S = function() {
534
530
  return t;
535
531
  }, S.apply(this, arguments);
536
532
  };
537
- function Fn(e, t) {
533
+ function Rn(e, t) {
538
534
  var r = {};
539
535
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
540
536
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -569,21 +565,21 @@ function rt(e, t) {
569
565
  }
570
566
  return s;
571
567
  }
572
- function te(e, t, r) {
568
+ function re(e, t, r) {
573
569
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
574
570
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
575
571
  return e.concat(s || Array.prototype.slice.call(t));
576
572
  }
577
- function V(e) {
573
+ function X(e) {
578
574
  return typeof e == "function";
579
575
  }
580
- function gr(e) {
576
+ function pr(e) {
581
577
  var t = function(n) {
582
578
  Error.call(n), n.stack = new Error().stack;
583
579
  }, r = e(t);
584
580
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
585
581
  }
586
- var Xe = gr(function(e) {
582
+ var We = pr(function(e) {
587
583
  return function(r) {
588
584
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
589
585
  ` + r.map(function(n, i) {
@@ -598,7 +594,7 @@ function nt(e, t) {
598
594
  0 <= r && e.splice(r, 1);
599
595
  }
600
596
  }
601
- var Le = function() {
597
+ var Me = function() {
602
598
  function e(t) {
603
599
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
604
600
  }
@@ -626,42 +622,42 @@ var Le = function() {
626
622
  else
627
623
  o.remove(this);
628
624
  var h = this.initialTeardown;
629
- if (V(h))
625
+ if (X(h))
630
626
  try {
631
627
  h();
632
628
  } catch (d) {
633
- s = d instanceof Xe ? d.errors : [d];
629
+ s = d instanceof We ? d.errors : [d];
634
630
  }
635
631
  var c = this._finalizers;
636
632
  if (c) {
637
633
  this._finalizers = null;
638
634
  try {
639
- for (var m = tt(c), y = m.next(); !y.done; y = m.next()) {
635
+ for (var p = tt(c), y = p.next(); !y.done; y = p.next()) {
640
636
  var g = y.value;
641
637
  try {
642
- Ft(g);
638
+ Nt(g);
643
639
  } catch (d) {
644
- s = s != null ? s : [], d instanceof Xe ? s = te(te([], rt(s)), rt(d.errors)) : s.push(d);
640
+ s = s != null ? s : [], d instanceof We ? s = re(re([], rt(s)), rt(d.errors)) : s.push(d);
645
641
  }
646
642
  }
647
643
  } catch (d) {
648
644
  n = { error: d };
649
645
  } finally {
650
646
  try {
651
- y && !y.done && (i = m.return) && i.call(m);
647
+ y && !y.done && (i = p.return) && i.call(p);
652
648
  } finally {
653
649
  if (n) throw n.error;
654
650
  }
655
651
  }
656
652
  }
657
653
  if (s)
658
- throw new Xe(s);
654
+ throw new We(s);
659
655
  }
660
656
  }, e.prototype.add = function(t) {
661
657
  var r;
662
658
  if (t && t !== this)
663
659
  if (this.closed)
664
- Ft(t);
660
+ Nt(t);
665
661
  else {
666
662
  if (t instanceof e) {
667
663
  if (t.closed || t._hasParent(this))
@@ -686,45 +682,41 @@ var Le = function() {
686
682
  var t = new e();
687
683
  return t.closed = !0, t;
688
684
  }(), e;
689
- }(), br = Le.EMPTY;
690
- function yr(e) {
691
- return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
692
- }
693
- function Ft(e) {
694
- V(e) ? e() : e.unsubscribe();
695
- }
696
- var vr = {
697
- onUnhandledError: null,
698
- onStoppedNotification: null,
699
- Promise: void 0,
700
- useDeprecatedSynchronousErrorHandling: !1,
701
- useDeprecatedNextContext: !1
702
- }, Un = {
685
+ }(), dr = Me.EMPTY;
686
+ function gr(e) {
687
+ return e instanceof Me || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
688
+ }
689
+ function Nt(e) {
690
+ X(e) ? e() : e.unsubscribe();
691
+ }
692
+ var Ln = {
693
+ Promise: void 0
694
+ }, Mn = {
703
695
  setTimeout: function(e, t) {
704
696
  for (var r = [], n = 2; n < arguments.length; n++)
705
697
  r[n - 2] = arguments[n];
706
- return setTimeout.apply(void 0, te([e, t], rt(r)));
698
+ return setTimeout.apply(void 0, re([e, t], rt(r)));
707
699
  },
708
700
  clearTimeout: function(e) {
709
701
  return clearTimeout(e);
710
702
  },
711
703
  delegate: void 0
712
704
  };
713
- function Gn(e) {
714
- Un.setTimeout(function() {
705
+ function Nn(e) {
706
+ Mn.setTimeout(function() {
715
707
  throw e;
716
708
  });
717
709
  }
718
- function Ut() {
710
+ function Dt() {
719
711
  }
720
- function Ae(e) {
712
+ function Pe(e) {
721
713
  e();
722
714
  }
723
- var _r = function(e) {
724
- X(t, e);
715
+ var br = function(e) {
716
+ W(t, e);
725
717
  function t(r) {
726
718
  var n = e.call(this) || this;
727
- return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = Vn, n;
719
+ return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = Un, n;
728
720
  }
729
721
  return t.create = function(r, n, i) {
730
722
  return new it(r, n, i);
@@ -751,11 +743,7 @@ var _r = function(e) {
751
743
  this.unsubscribe();
752
744
  }
753
745
  }, t;
754
- }(Le), kn = Function.prototype.bind;
755
- function We(e, t) {
756
- return kn.call(e, t);
757
- }
758
- var jn = function() {
746
+ }(Me), Dn = function() {
759
747
  function e(t) {
760
748
  this.partialObserver = t;
761
749
  }
@@ -765,7 +753,7 @@ var jn = function() {
765
753
  try {
766
754
  r.next(t);
767
755
  } catch (n) {
768
- Te(n);
756
+ He(n);
769
757
  }
770
758
  }, e.prototype.error = function(t) {
771
759
  var r = this.partialObserver;
@@ -773,68 +761,56 @@ var jn = function() {
773
761
  try {
774
762
  r.error(t);
775
763
  } catch (n) {
776
- Te(n);
764
+ He(n);
777
765
  }
778
766
  else
779
- Te(t);
767
+ He(t);
780
768
  }, e.prototype.complete = function() {
781
769
  var t = this.partialObserver;
782
770
  if (t.complete)
783
771
  try {
784
772
  t.complete();
785
773
  } catch (r) {
786
- Te(r);
774
+ He(r);
787
775
  }
788
776
  }, e;
789
777
  }(), it = function(e) {
790
- X(t, e);
778
+ W(t, e);
791
779
  function t(r, n, i) {
792
780
  var s = e.call(this) || this, o;
793
- if (V(r) || !r)
794
- o = {
795
- next: r != null ? r : void 0,
796
- error: n != null ? n : void 0,
797
- complete: i != null ? i : void 0
798
- };
799
- else {
800
- var a;
801
- s && vr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
802
- return s.unsubscribe();
803
- }, o = {
804
- next: r.next && We(r.next, a),
805
- error: r.error && We(r.error, a),
806
- complete: r.complete && We(r.complete, a)
807
- }) : o = r;
808
- }
809
- return s.destination = new jn(o), s;
781
+ return X(r) || !r ? o = {
782
+ next: r != null ? r : void 0,
783
+ error: n != null ? n : void 0,
784
+ complete: i != null ? i : void 0
785
+ } : o = r, s.destination = new Dn(o), s;
810
786
  }
811
787
  return t;
812
- }(_r);
813
- function Te(e) {
814
- Gn(e);
788
+ }(br);
789
+ function He(e) {
790
+ Nn(e);
815
791
  }
816
- function $n(e) {
792
+ function Fn(e) {
817
793
  throw e;
818
794
  }
819
- var Vn = {
795
+ var Un = {
820
796
  closed: !0,
821
- next: Ut,
822
- error: $n,
823
- complete: Ut
824
- }, Xn = function() {
797
+ next: Dt,
798
+ error: Fn,
799
+ complete: Dt
800
+ }, Gn = function() {
825
801
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
826
802
  }();
827
- function Wn(e) {
803
+ function kn(e) {
828
804
  return e;
829
805
  }
830
- function zn(e) {
831
- return e.length === 0 ? Wn : e.length === 1 ? e[0] : function(r) {
806
+ function jn(e) {
807
+ return e.length === 0 ? kn : e.length === 1 ? e[0] : function(r) {
832
808
  return e.reduce(function(n, i) {
833
809
  return i(n);
834
810
  }, r);
835
811
  };
836
812
  }
837
- var Gt = function() {
813
+ var Ft = function() {
838
814
  function e(t) {
839
815
  t && (this._subscribe = t);
840
816
  }
@@ -842,8 +818,8 @@ var Gt = function() {
842
818
  var r = new e();
843
819
  return r.source = this, r.operator = t, r;
844
820
  }, e.prototype.subscribe = function(t, r, n) {
845
- var i = this, s = qn(t) ? t : new it(t, r, n);
846
- return Ae(function() {
821
+ var i = this, s = Vn(t) ? t : new it(t, r, n);
822
+ return Pe(function() {
847
823
  var o = i, a = o.operator, l = o.source;
848
824
  s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
849
825
  }), s;
@@ -855,7 +831,7 @@ var Gt = function() {
855
831
  }
856
832
  }, e.prototype.forEach = function(t, r) {
857
833
  var n = this;
858
- return r = kt(r), new r(function(i, s) {
834
+ return r = Ut(r), new r(function(i, s) {
859
835
  var o = new it({
860
836
  next: function(a) {
861
837
  try {
@@ -872,15 +848,15 @@ var Gt = function() {
872
848
  }, e.prototype._subscribe = function(t) {
873
849
  var r;
874
850
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
875
- }, e.prototype[Xn] = function() {
851
+ }, e.prototype[Gn] = function() {
876
852
  return this;
877
853
  }, e.prototype.pipe = function() {
878
854
  for (var t = [], r = 0; r < arguments.length; r++)
879
855
  t[r] = arguments[r];
880
- return zn(t)(this);
856
+ return jn(t)(this);
881
857
  }, e.prototype.toPromise = function(t) {
882
858
  var r = this;
883
- return t = kt(t), new t(function(n, i) {
859
+ return t = Ut(t), new t(function(n, i) {
884
860
  var s;
885
861
  r.subscribe(function(o) {
886
862
  return s = o;
@@ -894,35 +870,35 @@ var Gt = function() {
894
870
  return new e(t);
895
871
  }, e;
896
872
  }();
897
- function kt(e) {
873
+ function Ut(e) {
898
874
  var t;
899
- return (t = e != null ? e : vr.Promise) !== null && t !== void 0 ? t : Promise;
875
+ return (t = e != null ? e : Ln.Promise) !== null && t !== void 0 ? t : Promise;
900
876
  }
901
- function Zn(e) {
902
- return e && V(e.next) && V(e.error) && V(e.complete);
877
+ function $n(e) {
878
+ return e && X(e.next) && X(e.error) && X(e.complete);
903
879
  }
904
- function qn(e) {
905
- return e && e instanceof _r || Zn(e) && yr(e);
880
+ function Vn(e) {
881
+ return e && e instanceof br || $n(e) && gr(e);
906
882
  }
907
- var Jn = gr(function(e) {
883
+ var Xn = pr(function(e) {
908
884
  return function() {
909
885
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
910
886
  };
911
- }), Er = function(e) {
912
- X(t, e);
887
+ }), yr = function(e) {
888
+ W(t, e);
913
889
  function t() {
914
890
  var r = e.call(this) || this;
915
891
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
916
892
  }
917
893
  return t.prototype.lift = function(r) {
918
- var n = new jt(this, this);
894
+ var n = new Gt(this, this);
919
895
  return n.operator = r, n;
920
896
  }, t.prototype._throwIfClosed = function() {
921
897
  if (this.closed)
922
- throw new Jn();
898
+ throw new Xn();
923
899
  }, t.prototype.next = function(r) {
924
900
  var n = this;
925
- Ae(function() {
901
+ Pe(function() {
926
902
  var i, s;
927
903
  if (n._throwIfClosed(), !n.isStopped) {
928
904
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -944,7 +920,7 @@ var Jn = gr(function(e) {
944
920
  });
945
921
  }, t.prototype.error = function(r) {
946
922
  var n = this;
947
- Ae(function() {
923
+ Pe(function() {
948
924
  if (n._throwIfClosed(), !n.isStopped) {
949
925
  n.hasError = n.isStopped = !0, n.thrownError = r;
950
926
  for (var i = n.observers; i.length; )
@@ -953,7 +929,7 @@ var Jn = gr(function(e) {
953
929
  });
954
930
  }, t.prototype.complete = function() {
955
931
  var r = this;
956
- Ae(function() {
932
+ Pe(function() {
957
933
  if (r._throwIfClosed(), !r.isStopped) {
958
934
  r.isStopped = !0;
959
935
  for (var n = r.observers; n.length; )
@@ -975,20 +951,20 @@ var Jn = gr(function(e) {
975
951
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
976
952
  }, t.prototype._innerSubscribe = function(r) {
977
953
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
978
- return s || o ? br : (this.currentObservers = null, a.push(r), new Le(function() {
954
+ return s || o ? dr : (this.currentObservers = null, a.push(r), new Me(function() {
979
955
  n.currentObservers = null, nt(a, r);
980
956
  }));
981
957
  }, t.prototype._checkFinalizedStatuses = function(r) {
982
958
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
983
959
  i ? r.error(s) : o && r.complete();
984
960
  }, t.prototype.asObservable = function() {
985
- var r = new Gt();
961
+ var r = new Ft();
986
962
  return r.source = this, r;
987
963
  }, t.create = function(r, n) {
988
- return new jt(r, n);
964
+ return new Gt(r, n);
989
965
  }, t;
990
- }(Gt), jt = function(e) {
991
- X(t, e);
966
+ }(Ft), Gt = function(e) {
967
+ W(t, e);
992
968
  function t(r, n) {
993
969
  var i = e.call(this) || this;
994
970
  return i.destination = r, i.source = n, i;
@@ -1004,17 +980,17 @@ var Jn = gr(function(e) {
1004
980
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1005
981
  }, t.prototype._subscribe = function(r) {
1006
982
  var n, i;
1007
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
983
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : dr;
1008
984
  }, t;
1009
- }(Er), Sr = {
985
+ }(yr), vr = {
1010
986
  now: function() {
1011
- return (Sr.delegate || Date).now();
987
+ return (vr.delegate || Date).now();
1012
988
  },
1013
989
  delegate: void 0
1014
- }, Qn = function(e) {
1015
- X(t, e);
990
+ }, Wn = function(e) {
991
+ W(t, e);
1016
992
  function t(r, n, i) {
1017
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Sr);
993
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = vr);
1018
994
  var s = e.call(this) || this;
1019
995
  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;
1020
996
  }
@@ -1034,31 +1010,31 @@ var Jn = gr(function(e) {
1034
1010
  u && s.splice(0, u + 1);
1035
1011
  }
1036
1012
  }, t;
1037
- }(Er);
1038
- const $t = [], Vt = {}, Yn = (e, t = 0) => {
1039
- if ($t.indexOf(e) == -1) {
1040
- const r = new Qn(t);
1041
- Vt[e] = r, $t.push(e);
1013
+ }(yr);
1014
+ const kt = [], jt = {}, zn = (e, t = 0) => {
1015
+ if (kt.indexOf(e) == -1) {
1016
+ const r = new Wn(t);
1017
+ jt[e] = r, kt.push(e);
1042
1018
  }
1043
- return Vt[e];
1044
- }, Q = [];
1045
- function Kn(e, t) {
1019
+ return jt[e];
1020
+ }, Y = [];
1021
+ function Zn(e, t) {
1046
1022
  return {
1047
- subscribe: Me(e, t).subscribe
1023
+ subscribe: Ne(e, t).subscribe
1048
1024
  };
1049
1025
  }
1050
- function Me(e, t = k) {
1026
+ function Ne(e, t = k) {
1051
1027
  let r;
1052
1028
  const n = /* @__PURE__ */ new Set();
1053
1029
  function i(a) {
1054
- if (pr(e, a) && (e = a, r)) {
1055
- const l = !Q.length;
1030
+ if (fr(e, a) && (e = a, r)) {
1031
+ const l = !Y.length;
1056
1032
  for (const u of n)
1057
- u[1](), Q.push(u, e);
1033
+ u[1](), Y.push(u, e);
1058
1034
  if (l) {
1059
- for (let u = 0; u < Q.length; u += 2)
1060
- Q[u][0](Q[u + 1]);
1061
- Q.length = 0;
1035
+ for (let u = 0; u < Y.length; u += 2)
1036
+ Y[u][0](Y[u + 1]);
1037
+ Y.length = 0;
1062
1038
  }
1063
1039
  }
1064
1040
  }
@@ -1073,210 +1049,208 @@ function Me(e, t = k) {
1073
1049
  }
1074
1050
  return { set: i, update: s, subscribe: o };
1075
1051
  }
1076
- function oe(e, t, r) {
1052
+ function ae(e, t, r) {
1077
1053
  const n = !Array.isArray(e), i = n ? [e] : e;
1078
1054
  if (!i.every(Boolean))
1079
1055
  throw new Error("derived() expects stores as input, got a falsy value");
1080
1056
  const s = t.length < 2;
1081
- return Kn(r, (o, a) => {
1057
+ return Zn(r, (o, a) => {
1082
1058
  let l = !1;
1083
1059
  const u = [];
1084
1060
  let h = 0, c = k;
1085
- const m = () => {
1061
+ const p = () => {
1086
1062
  if (h)
1087
1063
  return;
1088
1064
  c();
1089
1065
  const g = t(n ? u[0] : u, o, a);
1090
- s ? o(g) : c = pt(g) ? g : k;
1066
+ s ? o(g) : c = mt(g) ? g : k;
1091
1067
  }, y = i.map(
1092
- (g, d) => mr(
1068
+ (g, d) => cr(
1093
1069
  g,
1094
1070
  (b) => {
1095
- u[d] = b, h &= ~(1 << d), l && m();
1071
+ u[d] = b, h &= ~(1 << d), l && p();
1096
1072
  },
1097
1073
  () => {
1098
1074
  h |= 1 << d;
1099
1075
  }
1100
1076
  )
1101
1077
  );
1102
- return l = !0, m(), function() {
1103
- ge(y), c(), l = !1;
1078
+ return l = !0, p(), function() {
1079
+ be(y), c(), l = !1;
1104
1080
  };
1105
1081
  });
1106
1082
  }
1107
- function ei(e) {
1083
+ function qn(e) {
1108
1084
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1109
1085
  }
1110
- var ti = function(t) {
1111
- return ri(t) && !ni(t);
1086
+ var Jn = function(t) {
1087
+ return Qn(t) && !Yn(t);
1112
1088
  };
1113
- function ri(e) {
1089
+ function Qn(e) {
1114
1090
  return !!e && typeof e == "object";
1115
1091
  }
1116
- function ni(e) {
1092
+ function Yn(e) {
1117
1093
  var t = Object.prototype.toString.call(e);
1118
- return t === "[object RegExp]" || t === "[object Date]" || oi(e);
1094
+ return t === "[object RegExp]" || t === "[object Date]" || ti(e);
1119
1095
  }
1120
- var ii = typeof Symbol == "function" && Symbol.for, si = ii ? Symbol.for("react.element") : 60103;
1121
- function oi(e) {
1122
- return e.$$typeof === si;
1096
+ var Kn = typeof Symbol == "function" && Symbol.for, ei = Kn ? Symbol.for("react.element") : 60103;
1097
+ function ti(e) {
1098
+ return e.$$typeof === ei;
1123
1099
  }
1124
- function ai(e) {
1100
+ function ri(e) {
1125
1101
  return Array.isArray(e) ? [] : {};
1126
1102
  }
1127
- function me(e, t) {
1128
- return t.clone !== !1 && t.isMergeableObject(e) ? re(ai(e), e, t) : e;
1103
+ function de(e, t) {
1104
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(ri(e), e, t) : e;
1129
1105
  }
1130
- function ui(e, t, r) {
1106
+ function ni(e, t, r) {
1131
1107
  return e.concat(t).map(function(n) {
1132
- return me(n, r);
1108
+ return de(n, r);
1133
1109
  });
1134
1110
  }
1135
- function li(e, t) {
1111
+ function ii(e, t) {
1136
1112
  if (!t.customMerge)
1137
- return re;
1113
+ return ne;
1138
1114
  var r = t.customMerge(e);
1139
- return typeof r == "function" ? r : re;
1115
+ return typeof r == "function" ? r : ne;
1140
1116
  }
1141
- function hi(e) {
1117
+ function si(e) {
1142
1118
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1143
1119
  return Object.propertyIsEnumerable.call(e, t);
1144
1120
  }) : [];
1145
1121
  }
1146
- function Xt(e) {
1147
- return Object.keys(e).concat(hi(e));
1122
+ function $t(e) {
1123
+ return Object.keys(e).concat(si(e));
1148
1124
  }
1149
- function wr(e, t) {
1125
+ function _r(e, t) {
1150
1126
  try {
1151
1127
  return t in e;
1152
1128
  } catch (r) {
1153
1129
  return !1;
1154
1130
  }
1155
1131
  }
1156
- function fi(e, t) {
1157
- return wr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1132
+ function oi(e, t) {
1133
+ return _r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1158
1134
  }
1159
- function ci(e, t, r) {
1135
+ function ai(e, t, r) {
1160
1136
  var n = {};
1161
- return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1162
- n[i] = me(e[i], r);
1163
- }), Xt(t).forEach(function(i) {
1164
- fi(e, i) || (wr(e, i) && r.isMergeableObject(t[i]) ? n[i] = li(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1137
+ return r.isMergeableObject(e) && $t(e).forEach(function(i) {
1138
+ n[i] = de(e[i], r);
1139
+ }), $t(t).forEach(function(i) {
1140
+ oi(e, i) || (_r(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1165
1141
  }), n;
1166
1142
  }
1167
- function re(e, t, r) {
1168
- r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = me;
1143
+ function ne(e, t, r) {
1144
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Jn, r.cloneUnlessOtherwiseSpecified = de;
1169
1145
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1170
- return s ? n ? r.arrayMerge(e, t, r) : ci(e, t, r) : me(t, r);
1146
+ return s ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : de(t, r);
1171
1147
  }
1172
- re.all = function(t, r) {
1148
+ ne.all = function(t, r) {
1173
1149
  if (!Array.isArray(t))
1174
1150
  throw new Error("first argument should be an array");
1175
1151
  return t.reduce(function(n, i) {
1176
- return re(n, i, r);
1152
+ return ne(n, i, r);
1177
1153
  }, {});
1178
1154
  };
1179
- var pi = re, mi = pi;
1180
- const di = /* @__PURE__ */ ei(mi);
1155
+ var ui = ne, li = ui;
1156
+ const hi = /* @__PURE__ */ qn(li);
1181
1157
  function ze(e, t) {
1182
- var r = t && t.cache ? t.cache : Ei, n = t && t.serializer ? t.serializer : _i, i = t && t.strategy ? t.strategy : bi;
1158
+ var r = t && t.cache ? t.cache : bi, n = t && t.serializer ? t.serializer : di, i = t && t.strategy ? t.strategy : mi;
1183
1159
  return i(e, {
1184
1160
  cache: r,
1185
1161
  serializer: n
1186
1162
  });
1187
1163
  }
1188
- function gi(e) {
1164
+ function fi(e) {
1189
1165
  return e == null || typeof e == "number" || typeof e == "boolean";
1190
1166
  }
1191
- function xr(e, t, r, n) {
1192
- var i = gi(n) ? n : r(n), s = t.get(i);
1167
+ function ci(e, t, r, n) {
1168
+ var i = fi(n) ? n : r(n), s = t.get(i);
1193
1169
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1194
1170
  }
1195
- function Tr(e, t, r) {
1171
+ function Er(e, t, r) {
1196
1172
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1197
1173
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1198
1174
  }
1199
- function mt(e, t, r, n, i) {
1175
+ function Sr(e, t, r, n, i) {
1200
1176
  return r.bind(t, e, n, i);
1201
1177
  }
1202
- function bi(e, t) {
1203
- var r = e.length === 1 ? xr : Tr;
1204
- return mt(e, this, r, t.cache.create(), t.serializer);
1205
- }
1206
- function yi(e, t) {
1207
- return mt(e, this, Tr, t.cache.create(), t.serializer);
1178
+ function mi(e, t) {
1179
+ var r = e.length === 1 ? ci : Er;
1180
+ return Sr(e, this, r, t.cache.create(), t.serializer);
1208
1181
  }
1209
- function vi(e, t) {
1210
- return mt(e, this, xr, t.cache.create(), t.serializer);
1182
+ function pi(e, t) {
1183
+ return Sr(e, this, Er, t.cache.create(), t.serializer);
1211
1184
  }
1212
- var _i = function() {
1185
+ var di = function() {
1213
1186
  return JSON.stringify(arguments);
1214
- };
1215
- function dt() {
1216
- this.cache = /* @__PURE__ */ Object.create(null);
1217
- }
1218
- dt.prototype.get = function(e) {
1219
- return this.cache[e];
1220
- };
1221
- dt.prototype.set = function(e, t) {
1222
- this.cache[e] = t;
1223
- };
1224
- var Ei = {
1187
+ }, gi = (
1188
+ /** @class */
1189
+ function() {
1190
+ function e() {
1191
+ this.cache = /* @__PURE__ */ Object.create(null);
1192
+ }
1193
+ return e.prototype.get = function(t) {
1194
+ return this.cache[t];
1195
+ }, e.prototype.set = function(t, r) {
1196
+ this.cache[t] = r;
1197
+ }, e;
1198
+ }()
1199
+ ), bi = {
1225
1200
  create: function() {
1226
- return new dt();
1201
+ return new gi();
1227
1202
  }
1228
1203
  }, Ze = {
1229
- variadic: yi,
1230
- monadic: vi
1204
+ variadic: pi
1231
1205
  }, v;
1232
1206
  (function(e) {
1233
1207
  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";
1234
1208
  })(v || (v = {}));
1235
- var H;
1209
+ var T;
1236
1210
  (function(e) {
1237
1211
  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";
1238
- })(H || (H = {}));
1239
- var ne;
1212
+ })(T || (T = {}));
1213
+ var ie;
1240
1214
  (function(e) {
1241
1215
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1242
- })(ne || (ne = {}));
1243
- function Wt(e) {
1244
- return e.type === H.literal;
1216
+ })(ie || (ie = {}));
1217
+ function Vt(e) {
1218
+ return e.type === T.literal;
1245
1219
  }
1246
- function Si(e) {
1247
- return e.type === H.argument;
1220
+ function yi(e) {
1221
+ return e.type === T.argument;
1248
1222
  }
1249
- function Hr(e) {
1250
- return e.type === H.number;
1223
+ function wr(e) {
1224
+ return e.type === T.number;
1251
1225
  }
1252
- function Br(e) {
1253
- return e.type === H.date;
1226
+ function xr(e) {
1227
+ return e.type === T.date;
1254
1228
  }
1255
- function Ar(e) {
1256
- return e.type === H.time;
1229
+ function Tr(e) {
1230
+ return e.type === T.time;
1257
1231
  }
1258
- function Pr(e) {
1259
- return e.type === H.select;
1232
+ function Hr(e) {
1233
+ return e.type === T.select;
1260
1234
  }
1261
- function Cr(e) {
1262
- return e.type === H.plural;
1235
+ function Br(e) {
1236
+ return e.type === T.plural;
1263
1237
  }
1264
- function wi(e) {
1265
- return e.type === H.pound;
1238
+ function vi(e) {
1239
+ return e.type === T.pound;
1266
1240
  }
1267
- function Or(e) {
1268
- return e.type === H.tag;
1241
+ function Ar(e) {
1242
+ return e.type === T.tag;
1269
1243
  }
1270
- function Ir(e) {
1271
- return !!(e && typeof e == "object" && e.type === ne.number);
1244
+ function Pr(e) {
1245
+ return !!(e && typeof e == "object" && e.type === ie.number);
1272
1246
  }
1273
1247
  function st(e) {
1274
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1248
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
1275
1249
  }
1276
- var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
1277
- function Ti(e) {
1250
+ var Or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _i = /(?:[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;
1251
+ function Ei(e) {
1278
1252
  var t = {};
1279
- return e.replace(xi, function(r) {
1253
+ return e.replace(_i, function(r) {
1280
1254
  var n = r.length;
1281
1255
  switch (r[0]) {
1282
1256
  case "G":
@@ -1365,12 +1339,12 @@ function Ti(e) {
1365
1339
  return "";
1366
1340
  }), t;
1367
1341
  }
1368
- var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1369
- function Bi(e) {
1342
+ var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
+ function wi(e) {
1370
1344
  if (e.length === 0)
1371
1345
  throw new Error("Number skeleton cannot be empty");
1372
- for (var t = e.split(Hi).filter(function(m) {
1373
- return m.length > 0;
1346
+ for (var t = e.split(Si).filter(function(p) {
1347
+ return p.length > 0;
1374
1348
  }), r = [], n = 0, i = t; n < i.length; n++) {
1375
1349
  var s = i[n], o = s.split("/");
1376
1350
  if (o.length === 0)
@@ -1384,17 +1358,17 @@ function Bi(e) {
1384
1358
  }
1385
1359
  return r;
1386
1360
  }
1387
- function Ai(e) {
1361
+ function xi(e) {
1388
1362
  return e.replace(/^(.*?)-/, "");
1389
1363
  }
1390
- var zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lr = /^(@+)?(\+|#+)?[rs]?$/g, Pi = /(\*)(0+)|(#+)(0+)|(0+)/g, Mr = /^(0+)$/;
1391
- function Zt(e) {
1364
+ var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, Ti = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
1365
+ function Wt(e) {
1392
1366
  var t = {};
1393
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lr, function(r, n, i) {
1367
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
1394
1368
  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)), "";
1395
1369
  }), t;
1396
1370
  }
1397
- function Nr(e) {
1371
+ function Rr(e) {
1398
1372
  switch (e) {
1399
1373
  case "sign-auto":
1400
1374
  return {
@@ -1434,7 +1408,7 @@ function Nr(e) {
1434
1408
  };
1435
1409
  }
1436
1410
  }
1437
- function Ci(e) {
1411
+ function Hi(e) {
1438
1412
  var t;
1439
1413
  if (e[0] === "E" && e[1] === "E" ? (t = {
1440
1414
  notation: "engineering"
@@ -1442,17 +1416,17 @@ function Ci(e) {
1442
1416
  notation: "scientific"
1443
1417
  }, e = e.slice(1)), t) {
1444
1418
  var r = e.slice(0, 2);
1445
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mr.test(e))
1419
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ir.test(e))
1446
1420
  throw new Error("Malformed concise eng/scientific notation");
1447
1421
  t.minimumIntegerDigits = e.length;
1448
1422
  }
1449
1423
  return t;
1450
1424
  }
1451
- function qt(e) {
1452
- var t = {}, r = Nr(e);
1425
+ function zt(e) {
1426
+ var t = {}, r = Rr(e);
1453
1427
  return r || t;
1454
1428
  }
1455
- function Oi(e) {
1429
+ function Bi(e) {
1456
1430
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1457
1431
  var i = n[r];
1458
1432
  switch (i.stem) {
@@ -1476,7 +1450,7 @@ function Oi(e) {
1476
1450
  continue;
1477
1451
  case "measure-unit":
1478
1452
  case "unit":
1479
- t.style = "unit", t.unit = Ai(i.options[0]);
1453
+ t.style = "unit", t.unit = xi(i.options[0]);
1480
1454
  continue;
1481
1455
  case "compact-short":
1482
1456
  case "K":
@@ -1488,12 +1462,12 @@ function Oi(e) {
1488
1462
  continue;
1489
1463
  case "scientific":
1490
1464
  t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1491
- return S(S({}, l), qt(u));
1465
+ return S(S({}, l), zt(u));
1492
1466
  }, {}));
1493
1467
  continue;
1494
1468
  case "engineering":
1495
1469
  t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1496
- return S(S({}, l), qt(u));
1470
+ return S(S({}, l), zt(u));
1497
1471
  }, {}));
1498
1472
  continue;
1499
1473
  case "notation-simple":
@@ -1538,11 +1512,11 @@ function Oi(e) {
1538
1512
  case "integer-width":
1539
1513
  if (i.options.length > 1)
1540
1514
  throw new RangeError("integer-width stems only accept a single optional option");
1541
- i.options[0].replace(Pi, function(l, u, h, c, m, y) {
1515
+ i.options[0].replace(Ti, function(l, u, h, c, p, y) {
1542
1516
  if (u)
1543
1517
  t.minimumIntegerDigits = h.length;
1544
1518
  else {
1545
- if (c && m)
1519
+ if (c && p)
1546
1520
  throw new Error("We currently do not support maximum integer digits");
1547
1521
  if (y)
1548
1522
  throw new Error("We currently do not support exact integer digits");
@@ -1551,32 +1525,32 @@ function Oi(e) {
1551
1525
  });
1552
1526
  continue;
1553
1527
  }
1554
- if (Mr.test(i.stem)) {
1528
+ if (Ir.test(i.stem)) {
1555
1529
  t.minimumIntegerDigits = i.stem.length;
1556
1530
  continue;
1557
1531
  }
1558
- if (zt.test(i.stem)) {
1532
+ if (Xt.test(i.stem)) {
1559
1533
  if (i.options.length > 1)
1560
1534
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1561
- i.stem.replace(zt, function(l, u, h, c, m, y) {
1562
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1535
+ i.stem.replace(Xt, function(l, u, h, c, p, y) {
1536
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1563
1537
  });
1564
1538
  var s = i.options[0];
1565
- s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Zt(s)));
1539
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Wt(s)));
1566
1540
  continue;
1567
1541
  }
1568
- if (Lr.test(i.stem)) {
1569
- t = S(S({}, t), Zt(i.stem));
1542
+ if (Cr.test(i.stem)) {
1543
+ t = S(S({}, t), Wt(i.stem));
1570
1544
  continue;
1571
1545
  }
1572
- var o = Nr(i.stem);
1546
+ var o = Rr(i.stem);
1573
1547
  o && (t = S(S({}, t), o));
1574
- var a = Ci(i.stem);
1548
+ var a = Hi(i.stem);
1575
1549
  a && (t = S(S({}, t), a));
1576
1550
  }
1577
1551
  return t;
1578
1552
  }
1579
- var He = {
1553
+ var Be = {
1580
1554
  "001": [
1581
1555
  "H",
1582
1556
  "h"
@@ -2991,13 +2965,13 @@ var He = {
2991
2965
  "h"
2992
2966
  ]
2993
2967
  };
2994
- function Ii(e, t) {
2968
+ function Ai(e, t) {
2995
2969
  for (var r = "", n = 0; n < e.length; n++) {
2996
2970
  var i = e.charAt(n);
2997
2971
  if (i === "j") {
2998
2972
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2999
2973
  s++, n++;
3000
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Ri(t);
2974
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Pi(t);
3001
2975
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3002
2976
  r += l;
3003
2977
  for (; o-- > 0; )
@@ -3006,7 +2980,7 @@ function Ii(e, t) {
3006
2980
  }
3007
2981
  return r;
3008
2982
  }
3009
- function Ri(e) {
2983
+ function Pi(e) {
3010
2984
  var t = e.hourCycle;
3011
2985
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3012
2986
  e.hourCycles && // @ts-ignore
@@ -3025,23 +2999,23 @@ function Ri(e) {
3025
2999
  }
3026
3000
  var r = e.language, n;
3027
3001
  r !== "root" && (n = e.maximize().region);
3028
- var i = He[n || ""] || He[r || ""] || He["".concat(r, "-001")] || He["001"];
3002
+ var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
3029
3003
  return i[0];
3030
3004
  }
3031
- var qe, Li = new RegExp("^".concat(Rr.source, "*")), Mi = new RegExp("".concat(Rr.source, "*$"));
3005
+ var qe, Oi = new RegExp("^".concat(Or.source, "*")), Ci = new RegExp("".concat(Or.source, "*$"));
3032
3006
  function _(e, t) {
3033
3007
  return { start: e, end: t };
3034
3008
  }
3035
- var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Di = !!String.fromCodePoint, Fi = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, $i = ji ? Number.isSafeInteger : function(e) {
3009
+ var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Li = !!Object.fromEntries, Mi = !!String.prototype.codePointAt, Ni = !!String.prototype.trimStart, Di = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Ui = Fi ? Number.isSafeInteger : function(e) {
3036
3010
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3037
3011
  }, ot = !0;
3038
3012
  try {
3039
- var Vi = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3040
- ot = ((qe = Vi.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3013
+ var Gi = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3014
+ ot = ((qe = Gi.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3041
3015
  } catch (e) {
3042
3016
  ot = !1;
3043
3017
  }
3044
- var Jt = Ni ? (
3018
+ var Zt = Ii ? (
3045
3019
  // Native
3046
3020
  function(t, r, n) {
3047
3021
  return t.startsWith(r, n);
@@ -3051,7 +3025,7 @@ var Jt = Ni ? (
3051
3025
  function(t, r, n) {
3052
3026
  return t.slice(n, n + r.length) === r;
3053
3027
  }
3054
- ), at = Di ? String.fromCodePoint : (
3028
+ ), at = Ri ? String.fromCodePoint : (
3055
3029
  // IE11
3056
3030
  function() {
3057
3031
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3063,9 +3037,9 @@ var Jt = Ni ? (
3063
3037
  }
3064
3038
  return n;
3065
3039
  }
3066
- ), Qt = (
3040
+ ), qt = (
3067
3041
  // native
3068
- Fi ? Object.fromEntries : (
3042
+ Li ? Object.fromEntries : (
3069
3043
  // Ponyfill
3070
3044
  function(t) {
3071
3045
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3075,7 +3049,7 @@ var Jt = Ni ? (
3075
3049
  return r;
3076
3050
  }
3077
3051
  )
3078
- ), Dr = Ui ? (
3052
+ ), Lr = Mi ? (
3079
3053
  // Native
3080
3054
  function(t, r) {
3081
3055
  return t.codePointAt(r);
@@ -3089,7 +3063,7 @@ var Jt = Ni ? (
3089
3063
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3090
3064
  }
3091
3065
  }
3092
- ), Xi = Gi ? (
3066
+ ), ki = Ni ? (
3093
3067
  // Native
3094
3068
  function(t) {
3095
3069
  return t.trimStart();
@@ -3097,9 +3071,9 @@ var Jt = Ni ? (
3097
3071
  ) : (
3098
3072
  // Ponyfill
3099
3073
  function(t) {
3100
- return t.replace(Li, "");
3074
+ return t.replace(Oi, "");
3101
3075
  }
3102
- ), Wi = ki ? (
3076
+ ), ji = Di ? (
3103
3077
  // Native
3104
3078
  function(t) {
3105
3079
  return t.trimEnd();
@@ -3107,32 +3081,32 @@ var Jt = Ni ? (
3107
3081
  ) : (
3108
3082
  // Ponyfill
3109
3083
  function(t) {
3110
- return t.replace(Mi, "");
3084
+ return t.replace(Ci, "");
3111
3085
  }
3112
3086
  );
3113
- function Fr(e, t) {
3087
+ function Mr(e, t) {
3114
3088
  return new RegExp(e, t);
3115
3089
  }
3116
3090
  var ut;
3117
3091
  if (ot) {
3118
- var Yt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3092
+ var Jt = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3119
3093
  ut = function(t, r) {
3120
3094
  var n;
3121
- Yt.lastIndex = r;
3122
- var i = Yt.exec(t);
3095
+ Jt.lastIndex = r;
3096
+ var i = Jt.exec(t);
3123
3097
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3124
3098
  };
3125
3099
  } else
3126
3100
  ut = function(t, r) {
3127
3101
  for (var n = []; ; ) {
3128
- var i = Dr(t, r);
3129
- if (i === void 0 || Ur(i) || Ji(i))
3102
+ var i = Lr(t, r);
3103
+ if (i === void 0 || Nr(i) || Wi(i))
3130
3104
  break;
3131
3105
  n.push(i), r += i >= 65536 ? 2 : 1;
3132
3106
  }
3133
3107
  return at.apply(void 0, n);
3134
3108
  };
3135
- var zi = (
3109
+ var $i = (
3136
3110
  /** @class */
3137
3111
  function() {
3138
3112
  function e(t, r) {
@@ -3156,7 +3130,7 @@ var zi = (
3156
3130
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3157
3131
  var a = this.clonePosition();
3158
3132
  this.bump(), i.push({
3159
- type: H.pound,
3133
+ type: T.pound,
3160
3134
  location: _(a, this.clonePosition())
3161
3135
  });
3162
3136
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3184,7 +3158,7 @@ var zi = (
3184
3158
  if (this.bumpSpace(), this.bumpIf("/>"))
3185
3159
  return {
3186
3160
  val: {
3187
- type: H.literal,
3161
+ type: T.literal,
3188
3162
  value: "<".concat(i, "/>"),
3189
3163
  location: _(n, this.clonePosition())
3190
3164
  },
@@ -3201,7 +3175,7 @@ var zi = (
3201
3175
  var l = this.clonePosition(), u = this.parseTagName();
3202
3176
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3203
3177
  val: {
3204
- type: H.tag,
3178
+ type: T.tag,
3205
3179
  value: i,
3206
3180
  children: o,
3207
3181
  location: _(n, this.clonePosition())
@@ -3214,7 +3188,7 @@ var zi = (
3214
3188
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3215
3189
  }, e.prototype.parseTagName = function() {
3216
3190
  var t = this.offset();
3217
- for (this.bump(); !this.isEOF() && qi(this.char()); )
3191
+ for (this.bump(); !this.isEOF() && Xi(this.char()); )
3218
3192
  this.bump();
3219
3193
  return this.message.slice(t, this.offset());
3220
3194
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3238,12 +3212,12 @@ var zi = (
3238
3212
  }
3239
3213
  var l = _(n, this.clonePosition());
3240
3214
  return {
3241
- val: { type: H.literal, value: i, location: l },
3215
+ val: { type: T.literal, value: i, location: l },
3242
3216
  err: null
3243
3217
  };
3244
3218
  }, e.prototype.tryParseLeftAngleBracket = function() {
3245
3219
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3246
- !Zi(this.peek() || 0)) ? (this.bump(), "<") : null;
3220
+ !Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3247
3221
  }, e.prototype.tryParseQuote = function(t) {
3248
3222
  if (this.isEOF() || this.char() !== 39)
3249
3223
  return null;
@@ -3298,7 +3272,7 @@ var zi = (
3298
3272
  case 125:
3299
3273
  return this.bump(), {
3300
3274
  val: {
3301
- type: H.argument,
3275
+ type: T.argument,
3302
3276
  // value does not include the opening and closing braces.
3303
3277
  value: i,
3304
3278
  location: _(n, this.clonePosition())
@@ -3330,44 +3304,44 @@ var zi = (
3330
3304
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3331
3305
  if (c.err)
3332
3306
  return c;
3333
- var m = Wi(c.val);
3334
- if (m.length === 0)
3307
+ var p = ji(c.val);
3308
+ if (p.length === 0)
3335
3309
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3336
3310
  var y = _(h, this.clonePosition());
3337
- u = { style: m, styleLocation: y };
3311
+ u = { style: p, styleLocation: y };
3338
3312
  }
3339
3313
  var g = this.tryParseArgumentClose(i);
3340
3314
  if (g.err)
3341
3315
  return g;
3342
3316
  var d = _(i, this.clonePosition());
3343
- if (u && Jt(u == null ? void 0 : u.style, "::", 0)) {
3344
- var b = Xi(u.style.slice(2));
3317
+ if (u && Zt(u == null ? void 0 : u.style, "::", 0)) {
3318
+ var b = ki(u.style.slice(2));
3345
3319
  if (a === "number") {
3346
3320
  var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
3347
3321
  return c.err ? c : {
3348
- val: { type: H.number, value: n, location: d, style: c.val },
3322
+ val: { type: T.number, value: n, location: d, style: c.val },
3349
3323
  err: null
3350
3324
  };
3351
3325
  } else {
3352
3326
  if (b.length === 0)
3353
3327
  return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
3354
3328
  var w = b;
3355
- this.locale && (w = Ii(b, this.locale));
3356
- var m = {
3357
- type: ne.dateTime,
3329
+ this.locale && (w = Ai(b, this.locale));
3330
+ var p = {
3331
+ type: ie.dateTime,
3358
3332
  pattern: w,
3359
3333
  location: u.styleLocation,
3360
- parsedOptions: this.shouldParseSkeletons ? Ti(w) : {}
3361
- }, I = a === "date" ? H.date : H.time;
3334
+ parsedOptions: this.shouldParseSkeletons ? Ei(w) : {}
3335
+ }, O = a === "date" ? T.date : T.time;
3362
3336
  return {
3363
- val: { type: I, value: n, location: d, style: m },
3337
+ val: { type: O, value: n, location: d, style: p },
3364
3338
  err: null
3365
3339
  };
3366
3340
  }
3367
3341
  }
3368
3342
  return {
3369
3343
  val: {
3370
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3344
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3371
3345
  value: n,
3372
3346
  location: d,
3373
3347
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3378,43 +3352,43 @@ var zi = (
3378
3352
  case "plural":
3379
3353
  case "selectordinal":
3380
3354
  case "select": {
3381
- var C = this.clonePosition();
3355
+ var P = this.clonePosition();
3382
3356
  if (this.bumpSpace(), !this.bumpIf(","))
3383
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(C, S({}, C)));
3357
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, S({}, P)));
3384
3358
  this.bumpSpace();
3385
- var D = this.parseIdentifierIfPossible(), M = 0;
3386
- if (a !== "select" && D.value === "offset") {
3359
+ var L = this.parseIdentifierIfPossible(), M = 0;
3360
+ if (a !== "select" && L.value === "offset") {
3387
3361
  if (!this.bumpIf(":"))
3388
3362
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3389
3363
  this.bumpSpace();
3390
3364
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3391
3365
  if (c.err)
3392
3366
  return c;
3393
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
3367
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = c.val;
3394
3368
  }
3395
- var R = this.tryParsePluralOrSelectOptions(t, a, r, D);
3396
- if (R.err)
3397
- return R;
3369
+ var C = this.tryParsePluralOrSelectOptions(t, a, r, L);
3370
+ if (C.err)
3371
+ return C;
3398
3372
  var g = this.tryParseArgumentClose(i);
3399
3373
  if (g.err)
3400
3374
  return g;
3401
- var O = _(i, this.clonePosition());
3375
+ var D = _(i, this.clonePosition());
3402
3376
  return a === "select" ? {
3403
3377
  val: {
3404
- type: H.select,
3378
+ type: T.select,
3405
3379
  value: n,
3406
- options: Qt(R.val),
3407
- location: O
3380
+ options: qt(C.val),
3381
+ location: D
3408
3382
  },
3409
3383
  err: null
3410
3384
  } : {
3411
3385
  val: {
3412
- type: H.plural,
3386
+ type: T.plural,
3413
3387
  value: n,
3414
- options: Qt(R.val),
3388
+ options: qt(C.val),
3415
3389
  offset: M,
3416
3390
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3417
- location: O
3391
+ location: D
3418
3392
  },
3419
3393
  err: null
3420
3394
  };
@@ -3462,16 +3436,16 @@ var zi = (
3462
3436
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3463
3437
  var n = [];
3464
3438
  try {
3465
- n = Bi(t);
3439
+ n = wi(t);
3466
3440
  } catch (i) {
3467
3441
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3468
3442
  }
3469
3443
  return {
3470
3444
  val: {
3471
- type: ne.number,
3445
+ type: ie.number,
3472
3446
  tokens: n,
3473
3447
  location: r,
3474
- parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
3448
+ parsedOptions: this.shouldParseSkeletons ? Bi(n) : {}
3475
3449
  },
3476
3450
  err: null
3477
3451
  };
@@ -3480,9 +3454,9 @@ var zi = (
3480
3454
  if (u.length === 0) {
3481
3455
  var c = this.clonePosition();
3482
3456
  if (r !== "select" && this.bumpIf("=")) {
3483
- var m = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3484
- if (m.err)
3485
- return m;
3457
+ var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3458
+ if (p.err)
3459
+ return p;
3486
3460
  h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3487
3461
  } else
3488
3462
  break;
@@ -3519,7 +3493,7 @@ var zi = (
3519
3493
  break;
3520
3494
  }
3521
3495
  var l = _(i, this.clonePosition());
3522
- return s ? (o *= n, $i(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3496
+ return s ? (o *= n, Ui(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3523
3497
  }, e.prototype.offset = function() {
3524
3498
  return this.position.offset;
3525
3499
  }, e.prototype.isEOF = function() {
@@ -3534,7 +3508,7 @@ var zi = (
3534
3508
  var t = this.position.offset;
3535
3509
  if (t >= this.message.length)
3536
3510
  throw Error("out of bound");
3537
- var r = Dr(this.message, t);
3511
+ var r = Lr(this.message, t);
3538
3512
  if (r === void 0)
3539
3513
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3540
3514
  return r;
@@ -3553,7 +3527,7 @@ var zi = (
3553
3527
  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);
3554
3528
  }
3555
3529
  }, e.prototype.bumpIf = function(t) {
3556
- if (Jt(this.message, t, this.offset())) {
3530
+ if (Zt(this.message, t, this.offset())) {
3557
3531
  for (var r = 0; r < t.length; r++)
3558
3532
  this.bump();
3559
3533
  return !0;
@@ -3575,7 +3549,7 @@ var zi = (
3575
3549
  break;
3576
3550
  }
3577
3551
  }, e.prototype.bumpSpace = function() {
3578
- for (; !this.isEOF() && Ur(this.char()); )
3552
+ for (; !this.isEOF() && Nr(this.char()); )
3579
3553
  this.bump();
3580
3554
  }, e.prototype.peek = function() {
3581
3555
  if (this.isEOF())
@@ -3588,43 +3562,43 @@ var zi = (
3588
3562
  function lt(e) {
3589
3563
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3590
3564
  }
3591
- function Zi(e) {
3565
+ function Vi(e) {
3592
3566
  return lt(e) || e === 47;
3593
3567
  }
3594
- function qi(e) {
3568
+ function Xi(e) {
3595
3569
  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;
3596
3570
  }
3597
- function Ur(e) {
3571
+ function Nr(e) {
3598
3572
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3599
3573
  }
3600
- function Ji(e) {
3574
+ function Wi(e) {
3601
3575
  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;
3602
3576
  }
3603
3577
  function ht(e) {
3604
3578
  e.forEach(function(t) {
3605
- if (delete t.location, Pr(t) || Cr(t))
3579
+ if (delete t.location, Hr(t) || Br(t))
3606
3580
  for (var r in t.options)
3607
3581
  delete t.options[r].location, ht(t.options[r].value);
3608
- else Hr(t) && Ir(t.style) || (Br(t) || Ar(t)) && st(t.style) ? delete t.style.location : Or(t) && ht(t.children);
3582
+ else wr(t) && Pr(t.style) || (xr(t) || Tr(t)) && st(t.style) ? delete t.style.location : Ar(t) && ht(t.children);
3609
3583
  });
3610
3584
  }
3611
- function Qi(e, t) {
3585
+ function zi(e, t) {
3612
3586
  t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3613
- var r = new zi(e, t).parse();
3587
+ var r = new $i(e, t).parse();
3614
3588
  if (r.err) {
3615
3589
  var n = SyntaxError(v[r.err.kind]);
3616
3590
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3617
3591
  }
3618
3592
  return t != null && t.captureLocation || ht(r.val), r.val;
3619
3593
  }
3620
- var ie;
3594
+ var se;
3621
3595
  (function(e) {
3622
3596
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3623
- })(ie || (ie = {}));
3624
- var Ne = (
3597
+ })(se || (se = {}));
3598
+ var De = (
3625
3599
  /** @class */
3626
3600
  function(e) {
3627
- X(t, e);
3601
+ W(t, e);
3628
3602
  function t(r, n, i) {
3629
3603
  var s = e.call(this, r) || this;
3630
3604
  return s.code = n, s.originalMessage = i, s;
@@ -3633,152 +3607,152 @@ var Ne = (
3633
3607
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3634
3608
  }, t;
3635
3609
  }(Error)
3636
- ), Kt = (
3610
+ ), Qt = (
3637
3611
  /** @class */
3638
3612
  function(e) {
3639
- X(t, e);
3613
+ W(t, e);
3640
3614
  function t(r, n, i, s) {
3641
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3615
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, s) || this;
3642
3616
  }
3643
3617
  return t;
3644
- }(Ne)
3645
- ), Yi = (
3618
+ }(De)
3619
+ ), Zi = (
3646
3620
  /** @class */
3647
3621
  function(e) {
3648
- X(t, e);
3622
+ W(t, e);
3649
3623
  function t(r, n, i) {
3650
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3624
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3651
3625
  }
3652
3626
  return t;
3653
- }(Ne)
3654
- ), Ki = (
3627
+ }(De)
3628
+ ), qi = (
3655
3629
  /** @class */
3656
3630
  function(e) {
3657
- X(t, e);
3631
+ W(t, e);
3658
3632
  function t(r, n) {
3659
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3633
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3660
3634
  }
3661
3635
  return t;
3662
- }(Ne)
3663
- ), L;
3636
+ }(De)
3637
+ ), R;
3664
3638
  (function(e) {
3665
3639
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3666
- })(L || (L = {}));
3667
- function es(e) {
3640
+ })(R || (R = {}));
3641
+ function Ji(e) {
3668
3642
  return e.length < 2 ? e : e.reduce(function(t, r) {
3669
3643
  var n = t[t.length - 1];
3670
- return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3644
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3671
3645
  }, []);
3672
3646
  }
3673
- function ts(e) {
3647
+ function Qi(e) {
3674
3648
  return typeof e == "function";
3675
3649
  }
3676
- function Pe(e, t, r, n, i, s, o) {
3677
- if (e.length === 1 && Wt(e[0]))
3650
+ function Oe(e, t, r, n, i, s, o) {
3651
+ if (e.length === 1 && Vt(e[0]))
3678
3652
  return [
3679
3653
  {
3680
- type: L.literal,
3654
+ type: R.literal,
3681
3655
  value: e[0].value
3682
3656
  }
3683
3657
  ];
3684
3658
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3685
3659
  var h = u[l];
3686
- if (Wt(h)) {
3660
+ if (Vt(h)) {
3687
3661
  a.push({
3688
- type: L.literal,
3662
+ type: R.literal,
3689
3663
  value: h.value
3690
3664
  });
3691
3665
  continue;
3692
3666
  }
3693
- if (wi(h)) {
3667
+ if (vi(h)) {
3694
3668
  typeof s == "number" && a.push({
3695
- type: L.literal,
3669
+ type: R.literal,
3696
3670
  value: r.getNumberFormat(t).format(s)
3697
3671
  });
3698
3672
  continue;
3699
3673
  }
3700
3674
  var c = h.value;
3701
3675
  if (!(i && c in i))
3702
- throw new Ki(c, o);
3703
- var m = i[c];
3704
- if (Si(h)) {
3705
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3706
- type: typeof m == "string" ? L.literal : L.object,
3707
- value: m
3676
+ throw new qi(c, o);
3677
+ var p = i[c];
3678
+ if (yi(h)) {
3679
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3680
+ type: typeof p == "string" ? R.literal : R.object,
3681
+ value: p
3708
3682
  });
3709
3683
  continue;
3710
3684
  }
3711
- if (Br(h)) {
3685
+ if (xr(h)) {
3712
3686
  var y = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
3713
3687
  a.push({
3714
- type: L.literal,
3715
- value: r.getDateTimeFormat(t, y).format(m)
3688
+ type: R.literal,
3689
+ value: r.getDateTimeFormat(t, y).format(p)
3716
3690
  });
3717
3691
  continue;
3718
3692
  }
3719
- if (Ar(h)) {
3693
+ if (Tr(h)) {
3720
3694
  var y = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
3721
3695
  a.push({
3722
- type: L.literal,
3723
- value: r.getDateTimeFormat(t, y).format(m)
3696
+ type: R.literal,
3697
+ value: r.getDateTimeFormat(t, y).format(p)
3724
3698
  });
3725
3699
  continue;
3726
3700
  }
3727
- if (Hr(h)) {
3728
- var y = typeof h.style == "string" ? n.number[h.style] : Ir(h.style) ? h.style.parsedOptions : void 0;
3729
- y && y.scale && (m = m * (y.scale || 1)), a.push({
3730
- type: L.literal,
3731
- value: r.getNumberFormat(t, y).format(m)
3701
+ if (wr(h)) {
3702
+ var y = typeof h.style == "string" ? n.number[h.style] : Pr(h.style) ? h.style.parsedOptions : void 0;
3703
+ y && y.scale && (p = p * (y.scale || 1)), a.push({
3704
+ type: R.literal,
3705
+ value: r.getNumberFormat(t, y).format(p)
3732
3706
  });
3733
3707
  continue;
3734
3708
  }
3735
- if (Or(h)) {
3709
+ if (Ar(h)) {
3736
3710
  var g = h.children, d = h.value, b = i[d];
3737
- if (!ts(b))
3738
- throw new Yi(d, "function", o);
3739
- var w = Pe(g, t, r, n, i, s), I = b(w.map(function(M) {
3711
+ if (!Qi(b))
3712
+ throw new Zi(d, "function", o);
3713
+ var w = Oe(g, t, r, n, i, s), O = b(w.map(function(M) {
3740
3714
  return M.value;
3741
3715
  }));
3742
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(M) {
3716
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(M) {
3743
3717
  return {
3744
- type: typeof M == "string" ? L.literal : L.object,
3718
+ type: typeof M == "string" ? R.literal : R.object,
3745
3719
  value: M
3746
3720
  };
3747
3721
  }));
3748
3722
  }
3749
- if (Pr(h)) {
3750
- var C = h.options[m] || h.options.other;
3751
- if (!C)
3752
- throw new Kt(h.value, m, Object.keys(h.options), o);
3753
- a.push.apply(a, Pe(C.value, t, r, n, i));
3723
+ if (Hr(h)) {
3724
+ var P = h.options[p] || h.options.other;
3725
+ if (!P)
3726
+ throw new Qt(h.value, p, Object.keys(h.options), o);
3727
+ a.push.apply(a, Oe(P.value, t, r, n, i));
3754
3728
  continue;
3755
3729
  }
3756
- if (Cr(h)) {
3757
- var C = h.options["=".concat(m)];
3758
- if (!C) {
3730
+ if (Br(h)) {
3731
+ var P = h.options["=".concat(p)];
3732
+ if (!P) {
3759
3733
  if (!Intl.PluralRules)
3760
- throw new Ne(`Intl.PluralRules is not available in this environment.
3734
+ throw new De(`Intl.PluralRules is not available in this environment.
3761
3735
  Try polyfilling it using "@formatjs/intl-pluralrules"
3762
- `, ie.MISSING_INTL_API, o);
3763
- var D = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3764
- C = h.options[D] || h.options.other;
3736
+ `, se.MISSING_INTL_API, o);
3737
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3738
+ P = h.options[L] || h.options.other;
3765
3739
  }
3766
- if (!C)
3767
- throw new Kt(h.value, m, Object.keys(h.options), o);
3768
- a.push.apply(a, Pe(C.value, t, r, n, i, m - (h.offset || 0)));
3740
+ if (!P)
3741
+ throw new Qt(h.value, p, Object.keys(h.options), o);
3742
+ a.push.apply(a, Oe(P.value, t, r, n, i, p - (h.offset || 0)));
3769
3743
  continue;
3770
3744
  }
3771
3745
  }
3772
- return es(a);
3746
+ return Ji(a);
3773
3747
  }
3774
- function rs(e, t) {
3748
+ function Yi(e, t) {
3775
3749
  return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3776
3750
  return r[n] = S(S({}, e[n]), t[n] || {}), r;
3777
3751
  }, {})) : e;
3778
3752
  }
3779
- function ns(e, t) {
3753
+ function Ki(e, t) {
3780
3754
  return t ? Object.keys(e).reduce(function(r, n) {
3781
- return r[n] = rs(e[n], t[n]), r;
3755
+ return r[n] = Yi(e[n], t[n]), r;
3782
3756
  }, S({}, e)) : e;
3783
3757
  }
3784
3758
  function Je(e) {
@@ -3795,7 +3769,7 @@ function Je(e) {
3795
3769
  }
3796
3770
  };
3797
3771
  }
3798
- function is(e) {
3772
+ function es(e) {
3799
3773
  return e === void 0 && (e = {
3800
3774
  number: {},
3801
3775
  dateTime: {},
@@ -3804,7 +3778,7 @@ function is(e) {
3804
3778
  getNumberFormat: ze(function() {
3805
3779
  for (var t, r = [], n = 0; n < arguments.length; n++)
3806
3780
  r[n] = arguments[n];
3807
- return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3781
+ return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
3808
3782
  }, {
3809
3783
  cache: Je(e.number),
3810
3784
  strategy: Ze.variadic
@@ -3812,7 +3786,7 @@ function is(e) {
3812
3786
  getDateTimeFormat: ze(function() {
3813
3787
  for (var t, r = [], n = 0; n < arguments.length; n++)
3814
3788
  r[n] = arguments[n];
3815
- return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3789
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
3816
3790
  }, {
3817
3791
  cache: Je(e.dateTime),
3818
3792
  strategy: Ze.variadic
@@ -3820,14 +3794,14 @@ function is(e) {
3820
3794
  getPluralRules: ze(function() {
3821
3795
  for (var t, r = [], n = 0; n < arguments.length; n++)
3822
3796
  r[n] = arguments[n];
3823
- return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3797
+ return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
3824
3798
  }, {
3825
3799
  cache: Je(e.pluralRules),
3826
3800
  strategy: Ze.variadic
3827
3801
  })
3828
3802
  };
3829
3803
  }
3830
- var ss = (
3804
+ var ts = (
3831
3805
  /** @class */
3832
3806
  function() {
3833
3807
  function e(t, r, n, i) {
@@ -3841,12 +3815,12 @@ var ss = (
3841
3815
  var u = s.formatToParts(l);
3842
3816
  if (u.length === 1)
3843
3817
  return u[0].value;
3844
- var h = u.reduce(function(c, m) {
3845
- return !c.length || m.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3818
+ var h = u.reduce(function(c, p) {
3819
+ return !c.length || p.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3846
3820
  }, []);
3847
3821
  return h.length <= 1 ? h[0] || "" : h;
3848
3822
  }, this.formatToParts = function(l) {
3849
- return Pe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3823
+ return Oe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3850
3824
  }, this.resolvedOptions = function() {
3851
3825
  var l;
3852
3826
  return {
@@ -3859,13 +3833,13 @@ var ss = (
3859
3833
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3860
3834
  var o = i || {};
3861
3835
  o.formatters;
3862
- var a = Fn(o, ["formatters"]);
3836
+ var a = Rn(o, ["formatters"]);
3863
3837
  this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3864
3838
  } else
3865
3839
  this.ast = t;
3866
3840
  if (!Array.isArray(this.ast))
3867
3841
  throw new TypeError("A message must be provided as a String or AST.");
3868
- this.formats = ns(e.formats, n), this.formatters = i && i.formatters || is(this.formatterCache);
3842
+ this.formats = Ki(e.formats, n), this.formatters = i && i.formatters || es(this.formatterCache);
3869
3843
  }
3870
3844
  return Object.defineProperty(e, "defaultLocale", {
3871
3845
  get: function() {
@@ -3878,7 +3852,7 @@ var ss = (
3878
3852
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3879
3853
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3880
3854
  }
3881
- }, e.__parse = Qi, e.formats = {
3855
+ }, e.__parse = zi, e.formats = {
3882
3856
  number: {
3883
3857
  integer: {
3884
3858
  maximumFractionDigits: 0
@@ -3939,7 +3913,7 @@ var ss = (
3939
3913
  }, e;
3940
3914
  }()
3941
3915
  );
3942
- function os(e, t) {
3916
+ function rs(e, t) {
3943
3917
  if (t == null)
3944
3918
  return;
3945
3919
  if (t in e)
@@ -3960,92 +3934,92 @@ function os(e, t) {
3960
3934
  n = void 0;
3961
3935
  return n;
3962
3936
  }
3963
- const z = {}, as = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Gr = (e, t) => {
3937
+ const Z = {}, ns = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), Dr = (e, t) => {
3964
3938
  if (t == null)
3965
3939
  return;
3966
- if (t in z && e in z[t])
3967
- return z[t][e];
3968
- const r = De(t);
3940
+ if (t in Z && e in Z[t])
3941
+ return Z[t][e];
3942
+ const r = Fe(t);
3969
3943
  for (let n = 0; n < r.length; n++) {
3970
- const i = r[n], s = ls(i, e);
3944
+ const i = r[n], s = ss(i, e);
3971
3945
  if (s)
3972
- return as(e, t, s);
3946
+ return ns(e, t, s);
3973
3947
  }
3974
3948
  };
3975
- let gt;
3976
- const ae = Me({});
3977
- function us(e) {
3978
- return gt[e] || null;
3949
+ let pt;
3950
+ const ue = Ne({});
3951
+ function is(e) {
3952
+ return pt[e] || null;
3979
3953
  }
3980
- function kr(e) {
3981
- return e in gt;
3954
+ function Fr(e) {
3955
+ return e in pt;
3982
3956
  }
3983
- function ls(e, t) {
3984
- if (!kr(e))
3957
+ function ss(e, t) {
3958
+ if (!Fr(e))
3985
3959
  return null;
3986
- const r = us(e);
3987
- return os(r, t);
3960
+ const r = is(e);
3961
+ return rs(r, t);
3988
3962
  }
3989
- function hs(e) {
3963
+ function os(e) {
3990
3964
  if (e == null)
3991
3965
  return;
3992
- const t = De(e);
3966
+ const t = Fe(e);
3993
3967
  for (let r = 0; r < t.length; r++) {
3994
3968
  const n = t[r];
3995
- if (kr(n))
3969
+ if (Fr(n))
3996
3970
  return n;
3997
3971
  }
3998
3972
  }
3999
- function jr(e, ...t) {
4000
- delete z[e], ae.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3973
+ function Ur(e, ...t) {
3974
+ delete Z[e], ue.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
4001
3975
  }
4002
- oe(
4003
- [ae],
3976
+ ae(
3977
+ [ue],
4004
3978
  ([e]) => Object.keys(e)
4005
3979
  );
4006
- ae.subscribe((e) => gt = e);
3980
+ ue.subscribe((e) => pt = e);
4007
3981
  const Ce = {};
4008
- function fs(e, t) {
3982
+ function as(e, t) {
4009
3983
  Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
4010
3984
  }
4011
- function $r(e) {
3985
+ function Gr(e) {
4012
3986
  return Ce[e];
4013
3987
  }
4014
- function cs(e) {
4015
- return De(e).map((t) => {
4016
- const r = $r(t);
3988
+ function us(e) {
3989
+ return Fe(e).map((t) => {
3990
+ const r = Gr(t);
4017
3991
  return [t, r ? [...r] : []];
4018
3992
  }).filter(([, t]) => t.length > 0);
4019
3993
  }
4020
3994
  function ft(e) {
4021
- return e == null ? !1 : De(e).some(
3995
+ return e == null ? !1 : Fe(e).some(
4022
3996
  (t) => {
4023
3997
  var r;
4024
- return (r = $r(t)) == null ? void 0 : r.size;
3998
+ return (r = Gr(t)) == null ? void 0 : r.size;
4025
3999
  }
4026
4000
  );
4027
4001
  }
4028
- function ps(e, t) {
4002
+ function ls(e, t) {
4029
4003
  return Promise.all(
4030
- t.map((n) => (fs(e, n), n().then((i) => i.default || i)))
4031
- ).then((n) => jr(e, ...n));
4004
+ t.map((n) => (as(e, n), n().then((i) => i.default || i)))
4005
+ ).then((n) => Ur(e, ...n));
4032
4006
  }
4033
- const fe = {};
4034
- function Vr(e) {
4007
+ const ce = {};
4008
+ function kr(e) {
4035
4009
  if (!ft(e))
4036
- return e in fe ? fe[e] : Promise.resolve();
4037
- const t = cs(e);
4038
- return fe[e] = Promise.all(
4010
+ return e in ce ? ce[e] : Promise.resolve();
4011
+ const t = us(e);
4012
+ return ce[e] = Promise.all(
4039
4013
  t.map(
4040
- ([r, n]) => ps(r, n)
4014
+ ([r, n]) => ls(r, n)
4041
4015
  )
4042
4016
  ).then(() => {
4043
4017
  if (ft(e))
4044
- return Vr(e);
4045
- delete fe[e];
4046
- }), fe[e];
4018
+ return kr(e);
4019
+ delete ce[e];
4020
+ }), ce[e];
4047
4021
  }
4048
- const ms = {
4022
+ const hs = {
4049
4023
  number: {
4050
4024
  scientific: { notation: "scientific" },
4051
4025
  engineering: { notation: "engineering" },
@@ -4074,150 +4048,150 @@ const ms = {
4074
4048
  timeZoneName: "short"
4075
4049
  }
4076
4050
  }
4077
- }, ds = {
4051
+ }, fs = {
4078
4052
  fallbackLocale: null,
4079
4053
  loadingDelay: 200,
4080
- formats: ms,
4054
+ formats: hs,
4081
4055
  warnOnMissingMessages: !0,
4082
4056
  handleMissingMessage: void 0,
4083
4057
  ignoreTag: !0
4084
- }, gs = ds;
4085
- function se() {
4086
- return gs;
4058
+ }, cs = fs;
4059
+ function oe() {
4060
+ return cs;
4087
4061
  }
4088
- const Qe = Me(!1);
4089
- var bs = Object.defineProperty, ys = Object.defineProperties, vs = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, _s = Object.prototype.hasOwnProperty, Es = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ss = (e, t) => {
4062
+ const Qe = Ne(!1);
4063
+ var ms = Object.defineProperty, ps = Object.defineProperties, ds = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, gs = Object.prototype.hasOwnProperty, bs = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? ms(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ys = (e, t) => {
4090
4064
  for (var r in t || (t = {}))
4091
- _s.call(t, r) && tr(e, r, t[r]);
4092
- if (er)
4093
- for (var r of er(t))
4094
- Es.call(t, r) && tr(e, r, t[r]);
4065
+ gs.call(t, r) && Kt(e, r, t[r]);
4066
+ if (Yt)
4067
+ for (var r of Yt(t))
4068
+ bs.call(t, r) && Kt(e, r, t[r]);
4095
4069
  return e;
4096
- }, ws = (e, t) => ys(e, vs(t));
4070
+ }, vs = (e, t) => ps(e, ds(t));
4097
4071
  let ct;
4098
- const Ie = Me(null);
4099
- function rr(e) {
4072
+ const Re = Ne(null);
4073
+ function er(e) {
4100
4074
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4101
4075
  }
4102
- function De(e, t = se().fallbackLocale) {
4103
- const r = rr(e);
4104
- return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
4076
+ function Fe(e, t = oe().fallbackLocale) {
4077
+ const r = er(e);
4078
+ return t ? [.../* @__PURE__ */ new Set([...r, ...er(t)])] : r;
4105
4079
  }
4106
- function q() {
4080
+ function J() {
4107
4081
  return ct != null ? ct : void 0;
4108
4082
  }
4109
- Ie.subscribe((e) => {
4083
+ Re.subscribe((e) => {
4110
4084
  ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4111
4085
  });
4112
- const xs = (e) => {
4113
- if (e && hs(e) && ft(e)) {
4114
- const { loadingDelay: t } = se();
4086
+ const _s = (e) => {
4087
+ if (e && os(e) && ft(e)) {
4088
+ const { loadingDelay: t } = oe();
4115
4089
  let r;
4116
- return typeof window != "undefined" && q() != null && t ? r = window.setTimeout(
4090
+ return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
4117
4091
  () => Qe.set(!0),
4118
4092
  t
4119
- ) : Qe.set(!0), Vr(e).then(() => {
4120
- Ie.set(e);
4093
+ ) : Qe.set(!0), kr(e).then(() => {
4094
+ Re.set(e);
4121
4095
  }).finally(() => {
4122
4096
  clearTimeout(r), Qe.set(!1);
4123
4097
  });
4124
4098
  }
4125
- return Ie.set(e);
4126
- }, Z = ws(Ss({}, Ie), {
4127
- set: xs
4128
- }), Fe = (e) => {
4099
+ return Re.set(e);
4100
+ }, q = vs(ys({}, Re), {
4101
+ set: _s
4102
+ }), Ue = (e) => {
4129
4103
  const t = /* @__PURE__ */ Object.create(null);
4130
4104
  return (n) => {
4131
4105
  const i = JSON.stringify(n);
4132
4106
  return i in t ? t[i] : t[i] = e(n);
4133
4107
  };
4134
4108
  };
4135
- var Ts = Object.defineProperty, Re = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4109
+ var Es = Object.defineProperty, Le = Object.getOwnPropertySymbols, jr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? Es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
4136
4110
  for (var r in t || (t = {}))
4137
- Xr.call(t, r) && nr(e, r, t[r]);
4138
- if (Re)
4139
- for (var r of Re(t))
4140
- Wr.call(t, r) && nr(e, r, t[r]);
4111
+ jr.call(t, r) && tr(e, r, t[r]);
4112
+ if (Le)
4113
+ for (var r of Le(t))
4114
+ $r.call(t, r) && tr(e, r, t[r]);
4141
4115
  return e;
4142
- }, ue = (e, t) => {
4116
+ }, le = (e, t) => {
4143
4117
  var r = {};
4144
4118
  for (var n in e)
4145
- Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4146
- if (e != null && Re)
4147
- for (var n of Re(e))
4148
- t.indexOf(n) < 0 && Wr.call(e, n) && (r[n] = e[n]);
4119
+ jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4120
+ if (e != null && Le)
4121
+ for (var n of Le(e))
4122
+ t.indexOf(n) < 0 && $r.call(e, n) && (r[n] = e[n]);
4149
4123
  return r;
4150
4124
  };
4151
- const de = (e, t) => {
4152
- const { formats: r } = se();
4125
+ const ge = (e, t) => {
4126
+ const { formats: r } = oe();
4153
4127
  if (e in r && t in r[e])
4154
4128
  return r[e][t];
4155
4129
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4156
- }, Hs = Fe(
4130
+ }, Ss = Ue(
4157
4131
  (e) => {
4158
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4132
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4159
4133
  if (r == null)
4160
4134
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4161
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4135
+ return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
4162
4136
  }
4163
- ), Bs = Fe(
4137
+ ), ws = Ue(
4164
4138
  (e) => {
4165
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4139
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4166
4140
  if (r == null)
4167
4141
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4168
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4142
+ return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
4169
4143
  }
4170
- ), As = Fe(
4144
+ ), xs = Ue(
4171
4145
  (e) => {
4172
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4146
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4173
4147
  if (r == null)
4174
4148
  throw new Error(
4175
4149
  '[svelte-i18n] A "locale" must be set to format time values'
4176
4150
  );
4177
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4151
+ return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
4178
4152
  }
4179
- ), Ps = (e = {}) => {
4153
+ ), Ts = (e = {}) => {
4180
4154
  var t = e, {
4181
- locale: r = q()
4182
- } = t, n = ue(t, [
4155
+ locale: r = J()
4156
+ } = t, n = le(t, [
4183
4157
  "locale"
4184
4158
  ]);
4185
- return Hs(bt({ locale: r }, n));
4186
- }, Cs = (e = {}) => {
4159
+ return Ss(dt({ locale: r }, n));
4160
+ }, Hs = (e = {}) => {
4187
4161
  var t = e, {
4188
- locale: r = q()
4189
- } = t, n = ue(t, [
4162
+ locale: r = J()
4163
+ } = t, n = le(t, [
4190
4164
  "locale"
4191
4165
  ]);
4192
- return Bs(bt({ locale: r }, n));
4193
- }, Os = (e = {}) => {
4166
+ return ws(dt({ locale: r }, n));
4167
+ }, Bs = (e = {}) => {
4194
4168
  var t = e, {
4195
- locale: r = q()
4196
- } = t, n = ue(t, [
4169
+ locale: r = J()
4170
+ } = t, n = le(t, [
4197
4171
  "locale"
4198
4172
  ]);
4199
- return As(bt({ locale: r }, n));
4200
- }, Is = Fe(
4173
+ return xs(dt({ locale: r }, n));
4174
+ }, As = Ue(
4201
4175
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4202
- (e, t = q()) => new ss(e, t, se().formats, {
4203
- ignoreTag: se().ignoreTag
4176
+ (e, t = J()) => new ts(e, t, oe().formats, {
4177
+ ignoreTag: oe().ignoreTag
4204
4178
  })
4205
- ), Rs = (e, t = {}) => {
4179
+ ), Ps = (e, t = {}) => {
4206
4180
  var r, n, i, s;
4207
4181
  let o = t;
4208
4182
  typeof e == "object" && (o = e, e = o.id);
4209
4183
  const {
4210
4184
  values: a,
4211
- locale: l = q(),
4185
+ locale: l = J(),
4212
4186
  default: u
4213
4187
  } = o;
4214
4188
  if (l == null)
4215
4189
  throw new Error(
4216
4190
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4217
4191
  );
4218
- let h = Gr(e, l);
4192
+ let h = Dr(e, l);
4219
4193
  if (!h)
4220
- h = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4194
+ h = (s = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4221
4195
  else if (typeof h != "string")
4222
4196
  return console.warn(
4223
4197
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4226,33 +4200,33 @@ const de = (e, t) => {
4226
4200
  return h;
4227
4201
  let c = h;
4228
4202
  try {
4229
- c = Is(h, l).format(a);
4230
- } catch (m) {
4231
- m instanceof Error && console.warn(
4203
+ c = As(h, l).format(a);
4204
+ } catch (p) {
4205
+ p instanceof Error && console.warn(
4232
4206
  `[svelte-i18n] Message "${e}" has syntax error:`,
4233
- m.message
4207
+ p.message
4234
4208
  );
4235
4209
  }
4236
4210
  return c;
4237
- }, Ls = (e, t) => Os(t).format(e), Ms = (e, t) => Cs(t).format(e), Ns = (e, t) => Ps(t).format(e), Ds = (e, t = q()) => Gr(e, t), Fs = oe([Z, ae], () => Rs);
4238
- oe([Z], () => Ls);
4239
- oe([Z], () => Ms);
4240
- oe([Z], () => Ns);
4241
- oe([Z, ae], () => Ds);
4242
- window.emWidgets = { topic: Yn };
4243
- const ir = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4244
- function Us({ withLocale: e, translations: t }) {
4245
- Z.subscribe((r) => {
4246
- r == null && (ae.set(t), Z.set(e));
4211
+ }, Os = (e, t) => Bs(t).format(e), Cs = (e, t) => Hs(t).format(e), Is = (e, t) => Ts(t).format(e), Rs = (e, t = J()) => Dr(e, t), Ls = ae([q, ue], () => Ps);
4212
+ ae([q], () => Os);
4213
+ ae([q], () => Cs);
4214
+ ae([q], () => Is);
4215
+ ae([q, ue], () => Rs);
4216
+ window.emWidgets = { topic: zn };
4217
+ const rr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4218
+ function Ms({ withLocale: e, translations: t }) {
4219
+ q.subscribe((r) => {
4220
+ r == null && (ue.set(t), q.set(e));
4247
4221
  });
4248
4222
  }
4249
- function sr(e, t) {
4250
- jr(e, t);
4223
+ function nr(e, t) {
4224
+ Ur(e, t);
4251
4225
  }
4252
- function Gs(e) {
4253
- Z.set(e);
4226
+ function Ns(e) {
4227
+ q.set(e);
4254
4228
  }
4255
- const or = {
4229
+ const ir = {
4256
4230
  en: {
4257
4231
  goToLoginButton: "Go To Login",
4258
4232
  error: "We encountered an issue. Please go to Login to receive your SMS code."
@@ -4298,6 +4272,29 @@ const or = {
4298
4272
  error: "We encountered an issue. Please go to Login to receive your SMS code."
4299
4273
  }
4300
4274
  };
4275
+ function Ds(e, t) {
4276
+ if (e) {
4277
+ const r = document.createElement("style");
4278
+ r.innerHTML = t, e.appendChild(r);
4279
+ }
4280
+ }
4281
+ function Fs(e, t) {
4282
+ const r = new URL(t);
4283
+ fetch(r.href).then((n) => n.text()).then((n) => {
4284
+ const i = document.createElement("style");
4285
+ i.innerHTML = n, e && e.appendChild(i);
4286
+ }).catch((n) => {
4287
+ console.error("There was an error while trying to load client styling from URL", n);
4288
+ });
4289
+ }
4290
+ function Us(e, t, r) {
4291
+ if (window.emMessageBus) {
4292
+ const n = document.createElement("style");
4293
+ window.emMessageBus.subscribe(t, (i) => {
4294
+ n.innerHTML = i, e && e.appendChild(n);
4295
+ });
4296
+ }
4297
+ }
4301
4298
  if (typeof window != "undefined") {
4302
4299
  let e = function(t) {
4303
4300
  return function(...r) {
@@ -4310,7 +4307,7 @@ if (typeof window != "undefined") {
4310
4307
  }
4311
4308
  };
4312
4309
  };
4313
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-DVIa2rjJ.js").then(({ default: t }) => {
4310
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-D1LEX8PA.js").then(({ default: t }) => {
4314
4311
  !customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
4315
4312
  });
4316
4313
  }
@@ -4326,7 +4323,7 @@ if (typeof window != "undefined") {
4326
4323
  }
4327
4324
  };
4328
4325
  };
4329
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-Cx3DNcUb.js").then(({ default: t }) => {
4326
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-Cm5xIDmL.js").then(({ default: t }) => {
4330
4327
  !customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
4331
4328
  });
4332
4329
  }
@@ -4342,7 +4339,7 @@ if (typeof window != "undefined") {
4342
4339
  }
4343
4340
  };
4344
4341
  };
4345
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-D1rK9Bf0.js").then(({ default: t }) => {
4342
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-CD04wcLk.js").then(({ default: t }) => {
4346
4343
  !customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
4347
4344
  });
4348
4345
  }
@@ -4358,218 +4355,229 @@ if (typeof window != "undefined") {
4358
4355
  }
4359
4356
  };
4360
4357
  };
4361
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CBGEYebq.js").then(({ default: t }) => {
4358
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-rQ9SIkQT.js").then(({ default: t }) => {
4362
4359
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4363
4360
  });
4364
4361
  }
4365
- function ks(e) {
4366
- gn(e, "svelte-1scqzon", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.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, #D0046C))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.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-green, #48952a));font-size:24px;font-weight:400;text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:16px;line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:18px;line-height:22px}.RegisterConfirmationGoToLogin{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}");
4362
+ function Gs(e) {
4363
+ fn(e, "svelte-1scqzon", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.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, #D0046C))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.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-green, #48952a));font-size:24px;font-weight:400;text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:16px;line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:18px;line-height:22px}.RegisterConfirmationGoToLogin{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}");
4367
4364
  }
4368
- function js(e) {
4365
+ function ks(e) {
4369
4366
  let t, r, n, i, s, o, a, l = (
4370
4367
  /*showRegisterStepOne*/
4371
- (e[17] || /*showRegisterStepTwo*/
4372
- e[18] || /*showRegisterStepThree*/
4373
- e[19]) && ar(e)
4368
+ (e[18] || /*showRegisterStepTwo*/
4369
+ e[19] || /*showRegisterStepThree*/
4370
+ e[20]) && sr(e)
4374
4371
  ), u = (
4375
4372
  /*showRegisterStepOne*/
4376
- e[17] && ur(e)
4373
+ e[18] && or(e)
4377
4374
  ), h = (
4378
4375
  /*showRegisterStepTwo*/
4379
- e[18] && lr(e)
4376
+ e[19] && ar(e)
4380
4377
  ), c = (
4381
4378
  /*showRegisterStepThree*/
4382
- e[19] && hr(e)
4379
+ e[20] && ur(e)
4383
4380
  );
4384
- function m(b, w) {
4381
+ function p(b, w) {
4385
4382
  if (
4386
4383
  /*smsverification*/
4387
4384
  b[7] && /*showSmsVerification*/
4388
- b[20]
4389
- ) return Vs;
4385
+ b[21]
4386
+ ) return $s;
4390
4387
  if (
4391
4388
  /*smsSendApiFailed*/
4392
- b[30]
4393
- ) return $s;
4389
+ b[31]
4390
+ ) return js;
4394
4391
  }
4395
- let y = m(e), g = y && y(e), d = (
4392
+ let y = p(e), g = y && y(e), d = (
4396
4393
  /*showConfirmation*/
4397
- e[21] && fr(e)
4394
+ e[22] && lr(e)
4398
4395
  );
4399
4396
  return {
4400
4397
  c() {
4401
- t = B("div"), r = B("div"), l && l.c(), n = G(), u && u.c(), i = G(), h && h.c(), s = G(), c && c.c(), o = G(), g && g.c(), a = G(), d && d.c(), T(r, "class", "RegisterFormContainer " + /*isMobile*/
4402
- (e[34] ? "RegisterFormContainerMobile" : "")), T(t, "class", "RegisterFormWrapper");
4398
+ t = B("div"), r = B("div"), l && l.c(), n = G(), u && u.c(), i = G(), h && h.c(), s = G(), c && c.c(), o = G(), g && g.c(), a = G(), d && d.c(), x(r, "class", "RegisterFormContainer " + /*isMobile*/
4399
+ (e[35] ? "RegisterFormContainerMobile" : "")), x(t, "class", "RegisterFormWrapper");
4403
4400
  },
4404
4401
  m(b, w) {
4405
4402
  U(b, t, w), E(t, r), l && l.m(r, null), E(r, n), u && u.m(r, null), E(r, i), h && h.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);
4406
4403
  },
4407
4404
  p(b, w) {
4408
4405
  /*showRegisterStepOne*/
4409
- b[17] || /*showRegisterStepTwo*/
4410
- b[18] || /*showRegisterStepThree*/
4411
- b[19] ? l ? l.p(b, w) : (l = ar(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
4412
- b[17] ? u ? u.p(b, w) : (u = ur(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
4413
- b[18] ? h ? h.p(b, w) : (h = lr(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
4414
- b[19] ? c ? c.p(b, w) : (c = hr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = m(b)) && g ? g.p(b, w) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4415
- b[21] ? d ? d.p(b, w) : (d = fr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
4406
+ b[18] || /*showRegisterStepTwo*/
4407
+ b[19] || /*showRegisterStepThree*/
4408
+ b[20] ? l ? l.p(b, w) : (l = sr(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
4409
+ b[18] ? u ? u.p(b, w) : (u = or(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
4410
+ b[19] ? h ? h.p(b, w) : (h = ar(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
4411
+ b[20] ? c ? c.p(b, w) : (c = ur(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, w) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4412
+ b[22] ? d ? d.p(b, w) : (d = lr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
4416
4413
  },
4417
4414
  d(b) {
4418
4415
  b && N(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(), d && d.d();
4419
4416
  }
4420
4417
  };
4421
4418
  }
4422
- function ar(e) {
4419
+ function sr(e) {
4423
4420
  let t, r, n, i, s, o, a, l, u;
4424
4421
  return {
4425
4422
  c() {
4426
- t = B("div"), r = B("div"), i = G(), s = B("div"), a = G(), l = B("div"), T(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4427
- (e[17] || !/*showRegisterStepOne*/
4428
- e[17] && /*showRegisterStepTwo*/
4429
- e[18] || !/*showRegisterStepOne*/
4430
- e[17] && !/*showRegisterStepTwo*/
4431
- e[18] && /*showRegisterStepThree*/
4432
- e[19] ? "RegisterStepDashColor" : "")), T(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4423
+ t = B("div"), r = B("div"), i = G(), s = B("div"), a = G(), l = B("div"), x(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4433
4424
  (e[18] || !/*showRegisterStepOne*/
4434
- e[17] && !/*showRegisterStepTwo*/
4435
- e[18] && /*showRegisterStepThree*/
4436
- e[19] ? "RegisterStepDashColor" : "")), T(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4437
- (e[19] ? "RegisterStepDashColor" : "")), T(t, "class", "RegisterSteps");
4425
+ e[18] && /*showRegisterStepTwo*/
4426
+ e[19] || !/*showRegisterStepOne*/
4427
+ e[18] && !/*showRegisterStepTwo*/
4428
+ e[19] && /*showRegisterStepThree*/
4429
+ e[20] ? "RegisterStepDashColor" : "")), x(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4430
+ (e[19] || !/*showRegisterStepOne*/
4431
+ e[18] && !/*showRegisterStepTwo*/
4432
+ e[19] && /*showRegisterStepThree*/
4433
+ e[20] ? "RegisterStepDashColor" : "")), x(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4434
+ (e[20] ? "RegisterStepDashColor" : "")), x(t, "class", "RegisterSteps");
4438
4435
  },
4439
4436
  m(h, c) {
4440
- U(h, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, l), e[40](t);
4437
+ U(h, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, l), e[41](t);
4441
4438
  },
4442
4439
  p(h, c) {
4443
4440
  c[0] & /*showRegisterStepOne, showRegisterStepTwo, showRegisterStepThree*/
4444
- 917504 && n !== (n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4445
- (h[17] || !/*showRegisterStepOne*/
4446
- h[17] && /*showRegisterStepTwo*/
4447
- h[18] || !/*showRegisterStepOne*/
4448
- h[17] && !/*showRegisterStepTwo*/
4449
- h[18] && /*showRegisterStepThree*/
4450
- h[19] ? "RegisterStepDashColor" : "")) && T(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4451
- 917504 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4441
+ 1835008 && n !== (n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4452
4442
  (h[18] || !/*showRegisterStepOne*/
4453
- h[17] && !/*showRegisterStepTwo*/
4454
- h[18] && /*showRegisterStepThree*/
4455
- h[19] ? "RegisterStepDashColor" : "")) && T(s, "class", o), c[0] & /*showRegisterStepThree*/
4456
- 524288 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4457
- (h[19] ? "RegisterStepDashColor" : "")) && T(l, "class", u);
4443
+ h[18] && /*showRegisterStepTwo*/
4444
+ h[19] || !/*showRegisterStepOne*/
4445
+ h[18] && !/*showRegisterStepTwo*/
4446
+ h[19] && /*showRegisterStepThree*/
4447
+ h[20] ? "RegisterStepDashColor" : "")) && x(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4448
+ 1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4449
+ (h[19] || !/*showRegisterStepOne*/
4450
+ h[18] && !/*showRegisterStepTwo*/
4451
+ h[19] && /*showRegisterStepThree*/
4452
+ h[20] ? "RegisterStepDashColor" : "")) && x(s, "class", o), c[0] & /*showRegisterStepThree*/
4453
+ 1048576 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4454
+ (h[20] ? "RegisterStepDashColor" : "")) && x(l, "class", u);
4458
4455
  },
4459
4456
  d(h) {
4460
- h && N(t), e[40](null);
4457
+ h && N(t), e[41](null);
4461
4458
  }
4462
4459
  };
4463
4460
  }
4464
- function ur(e) {
4461
+ function or(e) {
4465
4462
  let t, r;
4466
4463
  return {
4467
4464
  c() {
4468
- t = B("div"), r = B("general-player-register-form-step1"), p(
4465
+ t = B("div"), r = B("general-player-register-form-step1"), m(
4469
4466
  r,
4470
4467
  "lang",
4471
4468
  /*lang*/
4472
4469
  e[3]
4473
- ), p(
4470
+ ), m(
4474
4471
  r,
4475
4472
  "disabledfields",
4476
4473
  /*disabledfields*/
4477
4474
  e[5]
4478
- ), p(
4475
+ ), m(
4479
4476
  r,
4480
4477
  "defaultoptions",
4481
4478
  /*defaultoptions*/
4482
4479
  e[6]
4483
- ), p(
4480
+ ), m(
4484
4481
  r,
4485
4482
  "custominputtextswitch",
4486
4483
  /*custominputtextswitch*/
4487
- e[13]
4488
- ), p(
4484
+ e[14]
4485
+ ), m(
4489
4486
  r,
4490
4487
  "simplepasswordvalidation",
4491
4488
  /*simplepasswordvalidation*/
4492
4489
  e[8]
4493
- ), p(
4490
+ ), m(
4494
4491
  r,
4495
4492
  "clientstyling",
4496
4493
  /*clientstyling*/
4497
- e[9]
4498
- ), p(
4494
+ e[10]
4495
+ ), m(
4499
4496
  r,
4500
4497
  "clientstylingurl",
4501
4498
  /*clientstylingurl*/
4502
- e[10]
4503
- ), p(
4499
+ e[11]
4500
+ ), m(
4504
4501
  r,
4505
4502
  "savecredentials",
4506
4503
  /*savecredentials*/
4507
- e[12]
4508
- ), p(
4504
+ e[13]
4505
+ ), m(
4509
4506
  r,
4510
4507
  "translationurl",
4511
4508
  /*translationurl*/
4512
- e[11]
4513
- ), T(t, "class", "RegisterFormStep1");
4509
+ e[12]
4510
+ ), m(
4511
+ r,
4512
+ "mbsource",
4513
+ /*mbsource*/
4514
+ e[9]
4515
+ ), x(t, "class", "RegisterFormStep1");
4514
4516
  },
4515
4517
  m(n, i) {
4516
4518
  U(n, t, i), E(t, r);
4517
4519
  },
4518
4520
  p(n, i) {
4519
4521
  i[0] & /*lang*/
4520
- 8 && p(
4522
+ 8 && m(
4521
4523
  r,
4522
4524
  "lang",
4523
4525
  /*lang*/
4524
4526
  n[3]
4525
4527
  ), i[0] & /*disabledfields*/
4526
- 32 && p(
4528
+ 32 && m(
4527
4529
  r,
4528
4530
  "disabledfields",
4529
4531
  /*disabledfields*/
4530
4532
  n[5]
4531
4533
  ), i[0] & /*defaultoptions*/
4532
- 64 && p(
4534
+ 64 && m(
4533
4535
  r,
4534
4536
  "defaultoptions",
4535
4537
  /*defaultoptions*/
4536
4538
  n[6]
4537
4539
  ), i[0] & /*custominputtextswitch*/
4538
- 8192 && p(
4540
+ 16384 && m(
4539
4541
  r,
4540
4542
  "custominputtextswitch",
4541
4543
  /*custominputtextswitch*/
4542
- n[13]
4544
+ n[14]
4543
4545
  ), i[0] & /*simplepasswordvalidation*/
4544
- 256 && p(
4546
+ 256 && m(
4545
4547
  r,
4546
4548
  "simplepasswordvalidation",
4547
4549
  /*simplepasswordvalidation*/
4548
4550
  n[8]
4549
4551
  ), i[0] & /*clientstyling*/
4550
- 512 && p(
4552
+ 1024 && m(
4551
4553
  r,
4552
4554
  "clientstyling",
4553
4555
  /*clientstyling*/
4554
- n[9]
4556
+ n[10]
4555
4557
  ), i[0] & /*clientstylingurl*/
4556
- 1024 && p(
4558
+ 2048 && m(
4557
4559
  r,
4558
4560
  "clientstylingurl",
4559
4561
  /*clientstylingurl*/
4560
- n[10]
4562
+ n[11]
4561
4563
  ), i[0] & /*savecredentials*/
4562
- 4096 && p(
4564
+ 8192 && m(
4563
4565
  r,
4564
4566
  "savecredentials",
4565
4567
  /*savecredentials*/
4566
- n[12]
4568
+ n[13]
4567
4569
  ), i[0] & /*translationurl*/
4568
- 2048 && p(
4570
+ 4096 && m(
4569
4571
  r,
4570
4572
  "translationurl",
4571
4573
  /*translationurl*/
4572
- n[11]
4574
+ n[12]
4575
+ ), i[0] & /*mbsource*/
4576
+ 512 && m(
4577
+ r,
4578
+ "mbsource",
4579
+ /*mbsource*/
4580
+ n[9]
4573
4581
  );
4574
4582
  },
4575
4583
  d(n) {
@@ -4577,115 +4585,126 @@ function ur(e) {
4577
4585
  }
4578
4586
  };
4579
4587
  }
4580
- function lr(e) {
4588
+ function ar(e) {
4581
4589
  let t, r;
4582
4590
  return {
4583
4591
  c() {
4584
- t = B("div"), r = B("general-player-register-form-step2"), p(
4592
+ t = B("div"), r = B("general-player-register-form-step2"), m(
4585
4593
  r,
4586
4594
  "endpoint",
4587
4595
  /*endpoint*/
4588
4596
  e[0]
4589
- ), p(
4597
+ ), m(
4590
4598
  r,
4591
4599
  "lang",
4592
4600
  /*lang*/
4593
4601
  e[3]
4594
- ), p(
4602
+ ), m(
4595
4603
  r,
4596
4604
  "licenseyears",
4597
4605
  /*licenseyears*/
4598
4606
  e[4]
4599
- ), p(
4607
+ ), m(
4600
4608
  r,
4601
4609
  "disabledfields",
4602
4610
  /*disabledfields*/
4603
4611
  e[5]
4604
- ), p(
4612
+ ), m(
4605
4613
  r,
4606
4614
  "defaultoptions",
4607
4615
  /*defaultoptions*/
4608
4616
  e[6]
4609
- ), p(
4617
+ ), m(
4610
4618
  r,
4611
4619
  "personalidlength",
4612
4620
  /*personalidlength*/
4613
- e[14]
4614
- ), p(
4621
+ e[15]
4622
+ ), m(
4615
4623
  r,
4616
4624
  "clientstyling",
4617
4625
  /*clientstyling*/
4618
- e[9]
4619
- ), p(
4626
+ e[10]
4627
+ ), m(
4620
4628
  r,
4621
4629
  "clientstylingurl",
4622
4630
  /*clientstylingurl*/
4623
- e[10]
4624
- ), p(
4631
+ e[11]
4632
+ ), m(
4625
4633
  r,
4626
4634
  "translationurl",
4627
4635
  /*translationurl*/
4628
- e[11]
4629
- ), T(t, "class", "RegisterFormStep2");
4636
+ e[12]
4637
+ ), m(
4638
+ r,
4639
+ "mbsource",
4640
+ /*mbsource*/
4641
+ e[9]
4642
+ ), x(t, "class", "RegisterFormStep2");
4630
4643
  },
4631
4644
  m(n, i) {
4632
4645
  U(n, t, i), E(t, r);
4633
4646
  },
4634
4647
  p(n, i) {
4635
4648
  i[0] & /*endpoint*/
4636
- 1 && p(
4649
+ 1 && m(
4637
4650
  r,
4638
4651
  "endpoint",
4639
4652
  /*endpoint*/
4640
4653
  n[0]
4641
4654
  ), i[0] & /*lang*/
4642
- 8 && p(
4655
+ 8 && m(
4643
4656
  r,
4644
4657
  "lang",
4645
4658
  /*lang*/
4646
4659
  n[3]
4647
4660
  ), i[0] & /*licenseyears*/
4648
- 16 && p(
4661
+ 16 && m(
4649
4662
  r,
4650
4663
  "licenseyears",
4651
4664
  /*licenseyears*/
4652
4665
  n[4]
4653
4666
  ), i[0] & /*disabledfields*/
4654
- 32 && p(
4667
+ 32 && m(
4655
4668
  r,
4656
4669
  "disabledfields",
4657
4670
  /*disabledfields*/
4658
4671
  n[5]
4659
4672
  ), i[0] & /*defaultoptions*/
4660
- 64 && p(
4673
+ 64 && m(
4661
4674
  r,
4662
4675
  "defaultoptions",
4663
4676
  /*defaultoptions*/
4664
4677
  n[6]
4665
4678
  ), i[0] & /*personalidlength*/
4666
- 16384 && p(
4679
+ 32768 && m(
4667
4680
  r,
4668
4681
  "personalidlength",
4669
4682
  /*personalidlength*/
4670
- n[14]
4683
+ n[15]
4671
4684
  ), i[0] & /*clientstyling*/
4672
- 512 && p(
4685
+ 1024 && m(
4673
4686
  r,
4674
4687
  "clientstyling",
4675
4688
  /*clientstyling*/
4676
- n[9]
4689
+ n[10]
4677
4690
  ), i[0] & /*clientstylingurl*/
4678
- 1024 && p(
4691
+ 2048 && m(
4679
4692
  r,
4680
4693
  "clientstylingurl",
4681
4694
  /*clientstylingurl*/
4682
- n[10]
4695
+ n[11]
4683
4696
  ), i[0] & /*translationurl*/
4684
- 2048 && p(
4697
+ 4096 && m(
4685
4698
  r,
4686
4699
  "translationurl",
4687
4700
  /*translationurl*/
4688
- n[11]
4701
+ n[12]
4702
+ ), i[0] & /*mbsource*/
4703
+ 512 && m(
4704
+ r,
4705
+ "mbsource",
4706
+ /*mbsource*/
4707
+ n[9]
4689
4708
  );
4690
4709
  },
4691
4710
  d(n) {
@@ -4693,148 +4712,159 @@ function lr(e) {
4693
4712
  }
4694
4713
  };
4695
4714
  }
4696
- function hr(e) {
4715
+ function ur(e) {
4697
4716
  let t, r;
4698
4717
  return {
4699
4718
  c() {
4700
- t = B("div"), r = B("general-player-register-form-step3"), p(
4719
+ t = B("div"), r = B("general-player-register-form-step3"), m(
4701
4720
  r,
4702
4721
  "userconsentsexist",
4703
4722
  /*userconsentsexist*/
4704
- e[25]
4705
- ), p(
4723
+ e[26]
4724
+ ), m(
4706
4725
  r,
4707
4726
  "termsconditions",
4708
4727
  /*termsconditions*/
4709
- e[26]
4710
- ), p(
4728
+ e[27]
4729
+ ), m(
4711
4730
  r,
4712
4731
  "smsoffers",
4713
4732
  /*smsoffers*/
4714
- e[27]
4715
- ), p(
4733
+ e[28]
4734
+ ), m(
4716
4735
  r,
4717
4736
  "emailmarketing",
4718
4737
  /*emailmarketing*/
4719
- e[28]
4720
- ), p(
4738
+ e[29]
4739
+ ), m(
4721
4740
  r,
4722
4741
  "endpoint",
4723
4742
  /*endpoint*/
4724
4743
  e[0]
4725
- ), p(
4744
+ ), m(
4726
4745
  r,
4727
4746
  "captchakey",
4728
4747
  /*captchakey*/
4729
4748
  e[2]
4730
- ), p(
4749
+ ), m(
4731
4750
  r,
4732
4751
  "lang",
4733
4752
  /*lang*/
4734
4753
  e[3]
4735
- ), p(
4754
+ ), m(
4736
4755
  r,
4737
4756
  "defaultoptions",
4738
4757
  /*defaultoptions*/
4739
4758
  e[6]
4740
- ), p(
4759
+ ), m(
4741
4760
  r,
4742
4761
  "disabledfields",
4743
4762
  /*disabledfields*/
4744
4763
  e[5]
4745
- ), p(
4764
+ ), m(
4746
4765
  r,
4747
4766
  "clientstyling",
4748
4767
  /*clientstyling*/
4749
- e[9]
4750
- ), p(
4768
+ e[10]
4769
+ ), m(
4751
4770
  r,
4752
4771
  "clientstylingurl",
4753
4772
  /*clientstylingurl*/
4754
- e[10]
4755
- ), p(
4773
+ e[11]
4774
+ ), m(
4756
4775
  r,
4757
4776
  "translationurl",
4758
4777
  /*translationurl*/
4759
- e[11]
4760
- ), T(t, "class", "RegisterFormStep3");
4778
+ e[12]
4779
+ ), m(
4780
+ r,
4781
+ "mbsource",
4782
+ /*mbsource*/
4783
+ e[9]
4784
+ ), x(t, "class", "RegisterFormStep3");
4761
4785
  },
4762
4786
  m(n, i) {
4763
4787
  U(n, t, i), E(t, r);
4764
4788
  },
4765
4789
  p(n, i) {
4766
4790
  i[0] & /*userconsentsexist*/
4767
- 33554432 && p(
4791
+ 67108864 && m(
4768
4792
  r,
4769
4793
  "userconsentsexist",
4770
4794
  /*userconsentsexist*/
4771
- n[25]
4795
+ n[26]
4772
4796
  ), i[0] & /*termsconditions*/
4773
- 67108864 && p(
4797
+ 134217728 && m(
4774
4798
  r,
4775
4799
  "termsconditions",
4776
4800
  /*termsconditions*/
4777
- n[26]
4801
+ n[27]
4778
4802
  ), i[0] & /*smsoffers*/
4779
- 134217728 && p(
4803
+ 268435456 && m(
4780
4804
  r,
4781
4805
  "smsoffers",
4782
4806
  /*smsoffers*/
4783
- n[27]
4807
+ n[28]
4784
4808
  ), i[0] & /*emailmarketing*/
4785
- 268435456 && p(
4809
+ 536870912 && m(
4786
4810
  r,
4787
4811
  "emailmarketing",
4788
4812
  /*emailmarketing*/
4789
- n[28]
4813
+ n[29]
4790
4814
  ), i[0] & /*endpoint*/
4791
- 1 && p(
4815
+ 1 && m(
4792
4816
  r,
4793
4817
  "endpoint",
4794
4818
  /*endpoint*/
4795
4819
  n[0]
4796
4820
  ), i[0] & /*captchakey*/
4797
- 4 && p(
4821
+ 4 && m(
4798
4822
  r,
4799
4823
  "captchakey",
4800
4824
  /*captchakey*/
4801
4825
  n[2]
4802
4826
  ), i[0] & /*lang*/
4803
- 8 && p(
4827
+ 8 && m(
4804
4828
  r,
4805
4829
  "lang",
4806
4830
  /*lang*/
4807
4831
  n[3]
4808
4832
  ), i[0] & /*defaultoptions*/
4809
- 64 && p(
4833
+ 64 && m(
4810
4834
  r,
4811
4835
  "defaultoptions",
4812
4836
  /*defaultoptions*/
4813
4837
  n[6]
4814
4838
  ), i[0] & /*disabledfields*/
4815
- 32 && p(
4839
+ 32 && m(
4816
4840
  r,
4817
4841
  "disabledfields",
4818
4842
  /*disabledfields*/
4819
4843
  n[5]
4820
4844
  ), i[0] & /*clientstyling*/
4821
- 512 && p(
4845
+ 1024 && m(
4822
4846
  r,
4823
4847
  "clientstyling",
4824
4848
  /*clientstyling*/
4825
- n[9]
4849
+ n[10]
4826
4850
  ), i[0] & /*clientstylingurl*/
4827
- 1024 && p(
4851
+ 2048 && m(
4828
4852
  r,
4829
4853
  "clientstylingurl",
4830
4854
  /*clientstylingurl*/
4831
- n[10]
4855
+ n[11]
4832
4856
  ), i[0] & /*translationurl*/
4833
- 2048 && p(
4857
+ 4096 && m(
4834
4858
  r,
4835
4859
  "translationurl",
4836
4860
  /*translationurl*/
4837
- n[11]
4861
+ n[12]
4862
+ ), i[0] & /*mbsource*/
4863
+ 512 && m(
4864
+ r,
4865
+ "mbsource",
4866
+ /*mbsource*/
4867
+ n[9]
4838
4868
  );
4839
4869
  },
4840
4870
  d(n) {
@@ -4842,40 +4872,40 @@ function hr(e) {
4842
4872
  }
4843
4873
  };
4844
4874
  }
4845
- function $s(e) {
4875
+ function js(e) {
4846
4876
  let t, r = (
4847
4877
  /*$_*/
4848
- e[33]("error") + ""
4878
+ e[34]("error") + ""
4849
4879
  ), n;
4850
4880
  return {
4851
4881
  c() {
4852
- t = B("p"), n = $(r), T(t, "class", "SMSErrorText");
4882
+ t = B("p"), n = V(r), x(t, "class", "SMSErrorText");
4853
4883
  },
4854
4884
  m(i, s) {
4855
4885
  U(i, t, s), E(t, n);
4856
4886
  },
4857
4887
  p(i, s) {
4858
4888
  s[1] & /*$_*/
4859
- 4 && r !== (r = /*$_*/
4860
- i[33]("error") + "") && K(n, r);
4889
+ 8 && r !== (r = /*$_*/
4890
+ i[34]("error") + "") && ee(n, r);
4861
4891
  },
4862
4892
  d(i) {
4863
4893
  i && N(t);
4864
4894
  }
4865
4895
  };
4866
4896
  }
4867
- function Vs(e) {
4897
+ function $s(e) {
4868
4898
  let t;
4869
4899
  function r(s, o) {
4870
4900
  return (
4871
4901
  /*smsSendApiFailed*/
4872
- s[30] ? Xs : Ws
4902
+ s[31] ? Vs : Xs
4873
4903
  );
4874
4904
  }
4875
4905
  let n = r(e), i = n(e);
4876
4906
  return {
4877
4907
  c() {
4878
- i.c(), t = vn();
4908
+ i.c(), t = pn();
4879
4909
  },
4880
4910
  m(s, o) {
4881
4911
  i.m(s, o), U(s, t, o);
@@ -4888,67 +4918,72 @@ function Vs(e) {
4888
4918
  }
4889
4919
  };
4890
4920
  }
4891
- function Xs(e) {
4921
+ function Vs(e) {
4892
4922
  let t, r = (
4893
4923
  /*$_*/
4894
- e[33]("error") + ""
4924
+ e[34]("error") + ""
4895
4925
  ), n;
4896
4926
  return {
4897
4927
  c() {
4898
- t = B("p"), n = $(r), T(t, "class", "SMSErrorText");
4928
+ t = B("p"), n = V(r), x(t, "class", "SMSErrorText");
4899
4929
  },
4900
4930
  m(i, s) {
4901
4931
  U(i, t, s), E(t, n);
4902
4932
  },
4903
4933
  p(i, s) {
4904
4934
  s[1] & /*$_*/
4905
- 4 && r !== (r = /*$_*/
4906
- i[33]("error") + "") && K(n, r);
4935
+ 8 && r !== (r = /*$_*/
4936
+ i[34]("error") + "") && ee(n, r);
4907
4937
  },
4908
4938
  d(i) {
4909
4939
  i && N(t);
4910
4940
  }
4911
4941
  };
4912
4942
  }
4913
- function Ws(e) {
4943
+ function Xs(e) {
4914
4944
  let t;
4915
4945
  return {
4916
4946
  c() {
4917
- t = B("general-player-sms-verification-form"), p(
4947
+ t = B("general-player-sms-verification-form"), m(
4918
4948
  t,
4919
4949
  "endpoint",
4920
4950
  /*endpoint*/
4921
4951
  e[0]
4922
- ), p(
4952
+ ), m(
4923
4953
  t,
4924
4954
  "session",
4925
4955
  /*session*/
4926
4956
  e[1]
4927
- ), p(
4957
+ ), m(
4928
4958
  t,
4929
4959
  "number",
4930
4960
  /*number*/
4931
- e[31]
4932
- ), p(
4961
+ e[32]
4962
+ ), m(
4933
4963
  t,
4934
4964
  "playerid",
4935
4965
  /*playerid*/
4936
- e[16]
4937
- ), p(
4966
+ e[17]
4967
+ ), m(
4938
4968
  t,
4939
4969
  "tokenid",
4940
4970
  /*smstokenid*/
4941
- e[29]
4942
- ), p(
4971
+ e[30]
4972
+ ), m(
4943
4973
  t,
4944
4974
  "clientstyling",
4945
4975
  /*clientstyling*/
4946
- e[9]
4947
- ), p(
4976
+ e[10]
4977
+ ), m(
4948
4978
  t,
4949
4979
  "clientstylingurl",
4950
4980
  /*clientstylingurl*/
4951
- e[10]
4981
+ e[11]
4982
+ ), m(
4983
+ t,
4984
+ "mbsource",
4985
+ /*mbsource*/
4986
+ e[9]
4952
4987
  );
4953
4988
  },
4954
4989
  m(r, n) {
@@ -4956,47 +4991,53 @@ function Ws(e) {
4956
4991
  },
4957
4992
  p(r, n) {
4958
4993
  n[0] & /*endpoint*/
4959
- 1 && p(
4994
+ 1 && m(
4960
4995
  t,
4961
4996
  "endpoint",
4962
4997
  /*endpoint*/
4963
4998
  r[0]
4964
4999
  ), n[0] & /*session*/
4965
- 2 && p(
5000
+ 2 && m(
4966
5001
  t,
4967
5002
  "session",
4968
5003
  /*session*/
4969
5004
  r[1]
4970
5005
  ), n[1] & /*number*/
4971
- 1 && p(
5006
+ 2 && m(
4972
5007
  t,
4973
5008
  "number",
4974
5009
  /*number*/
4975
- r[31]
5010
+ r[32]
4976
5011
  ), n[0] & /*playerid*/
4977
- 65536 && p(
5012
+ 131072 && m(
4978
5013
  t,
4979
5014
  "playerid",
4980
5015
  /*playerid*/
4981
- r[16]
5016
+ r[17]
4982
5017
  ), n[0] & /*smstokenid*/
4983
- 536870912 && p(
5018
+ 1073741824 && m(
4984
5019
  t,
4985
5020
  "tokenid",
4986
5021
  /*smstokenid*/
4987
- r[29]
5022
+ r[30]
4988
5023
  ), n[0] & /*clientstyling*/
4989
- 512 && p(
5024
+ 1024 && m(
4990
5025
  t,
4991
5026
  "clientstyling",
4992
5027
  /*clientstyling*/
4993
- r[9]
5028
+ r[10]
4994
5029
  ), n[0] & /*clientstylingurl*/
4995
- 1024 && p(
5030
+ 2048 && m(
4996
5031
  t,
4997
5032
  "clientstylingurl",
4998
5033
  /*clientstylingurl*/
4999
- r[10]
5034
+ r[11]
5035
+ ), n[0] & /*mbsource*/
5036
+ 512 && m(
5037
+ t,
5038
+ "mbsource",
5039
+ /*mbsource*/
5040
+ r[9]
5000
5041
  );
5001
5042
  },
5002
5043
  d(r) {
@@ -5004,61 +5045,61 @@ function Ws(e) {
5004
5045
  }
5005
5046
  };
5006
5047
  }
5007
- function fr(e) {
5008
- let t, r, n, i, s, o, a, l, u, h, c, m, y, g, d, b, w, I = (
5048
+ function lr(e) {
5049
+ let t, r, n, i, s, o, a, l, u, h, c, p, y, g, d, b, w, O = (
5009
5050
  /*$_*/
5010
- e[33]("goToLoginButton") + ""
5011
- ), C, D, M;
5051
+ e[34]("goToLoginButton") + ""
5052
+ ), P, L, M;
5012
5053
  return {
5013
5054
  c() {
5014
- t = B("div"), r = xe("svg"), n = xe("defs"), i = xe("style"), s = $(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = xe("path"), a = G(), l = B("h2"), u = $(
5055
+ t = B("div"), r = Te("svg"), n = Te("defs"), i = Te("style"), s = V(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Te("path"), a = G(), l = B("h2"), u = V(
5015
5056
  /*accountCreationTitle*/
5016
- e[22]
5017
- ), h = G(), c = B("p"), m = $(
5018
- /*accountCreationSubTitle*/
5019
5057
  e[23]
5020
- ), y = G(), g = B("p"), d = $(
5021
- /*accountCreationMessage*/
5058
+ ), h = G(), c = B("p"), p = V(
5059
+ /*accountCreationSubTitle*/
5022
5060
  e[24]
5023
- ), b = G(), w = B("button"), C = $(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(l, "class", "RegisterConfirmationTitle"), T(c, "class", "RegisterConfirmationSubtitle"), T(g, "class", "RegisterConfirmationNote"), T(w, "class", "RegisterConfirmationGoToLogin"), T(t, "class", "RegisterConfirmation");
5061
+ ), y = G(), g = B("p"), d = V(
5062
+ /*accountCreationMessage*/
5063
+ e[25]
5064
+ ), b = G(), w = B("button"), P = V(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(l, "class", "RegisterConfirmationTitle"), x(c, "class", "RegisterConfirmationSubtitle"), x(g, "class", "RegisterConfirmationNote"), x(w, "class", "RegisterConfirmationGoToLogin"), x(t, "class", "RegisterConfirmation");
5024
5065
  },
5025
- m(R, O) {
5026
- U(R, t, O), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, l), E(l, u), E(t, h), E(t, c), E(c, m), E(t, y), E(t, g), E(g, d), E(t, b), E(t, w), E(w, C), D || (M = _n(
5066
+ m(C, D) {
5067
+ U(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, l), E(l, u), E(t, h), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, w), E(w, P), L || (M = dn(
5027
5068
  w,
5028
5069
  "click",
5029
5070
  /*switchToLogin*/
5030
- e[35]
5031
- ), D = !0);
5071
+ e[36]
5072
+ ), L = !0);
5032
5073
  },
5033
- p(R, O) {
5034
- O[0] & /*accountCreationTitle*/
5035
- 4194304 && K(
5074
+ p(C, D) {
5075
+ D[0] & /*accountCreationTitle*/
5076
+ 8388608 && ee(
5036
5077
  u,
5037
5078
  /*accountCreationTitle*/
5038
- R[22]
5039
- ), O[0] & /*accountCreationSubTitle*/
5040
- 8388608 && K(
5041
- m,
5079
+ C[23]
5080
+ ), D[0] & /*accountCreationSubTitle*/
5081
+ 16777216 && ee(
5082
+ p,
5042
5083
  /*accountCreationSubTitle*/
5043
- R[23]
5044
- ), O[0] & /*accountCreationMessage*/
5045
- 16777216 && K(
5084
+ C[24]
5085
+ ), D[0] & /*accountCreationMessage*/
5086
+ 33554432 && ee(
5046
5087
  d,
5047
5088
  /*accountCreationMessage*/
5048
- R[24]
5049
- ), O[1] & /*$_*/
5050
- 4 && I !== (I = /*$_*/
5051
- R[33]("goToLoginButton") + "") && K(C, I);
5089
+ C[25]
5090
+ ), D[1] & /*$_*/
5091
+ 8 && O !== (O = /*$_*/
5092
+ C[34]("goToLoginButton") + "") && ee(P, O);
5052
5093
  },
5053
- d(R) {
5054
- R && N(t), D = !1, M();
5094
+ d(C) {
5095
+ C && N(t), L = !1, M();
5055
5096
  }
5056
5097
  };
5057
5098
  }
5058
- function zs(e) {
5099
+ function Ws(e) {
5059
5100
  let t;
5060
5101
  function r(s, o) {
5061
- return js;
5102
+ return ks;
5062
5103
  }
5063
5104
  let i = r()(e);
5064
5105
  return {
@@ -5066,7 +5107,7 @@ function zs(e) {
5066
5107
  t = B("div"), i.c();
5067
5108
  },
5068
5109
  m(s, o) {
5069
- U(s, t, o), i.m(t, null), e[41](t);
5110
+ U(s, t, o), i.m(t, null), e[42](t);
5070
5111
  },
5071
5112
  p(s, o) {
5072
5113
  i.p(s, o);
@@ -5074,84 +5115,84 @@ function zs(e) {
5074
5115
  i: k,
5075
5116
  o: k,
5076
5117
  d(s) {
5077
- s && N(t), i.d(), e[41](null);
5118
+ s && N(t), i.d(), e[42](null);
5078
5119
  }
5079
5120
  };
5080
5121
  }
5081
- let Zs = "Please use this code {0} to activate your account";
5082
- function qs(e, t, r) {
5122
+ let zs = "Please use this code {0} to activate your account";
5123
+ function Zs(e, t, r) {
5083
5124
  let n;
5084
- dn(e, Fs, (f) => r(33, n = f));
5085
- let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: m = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { clientstyling: w = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: C = "" } = t, { savecredentials: D = "" } = t, { custominputtextswitch: M = "false" } = t, { personalidlength: R = "13" } = t, O, yt = "", Ue = !0, le = !1, be = !1, Ge = !1, ke = !1, ye, vt = !1, _t = "", Et = "", St = "", wt = window.navigator.userAgent, Zr = ir(wt) !== "PC", j = {}, xt = !1, Tt = !1, je = "false", Ht = "false", Bt = "false", At = "false", Pt = "", Ct, ve = !1, Ot, _e;
5086
- Us({ withLocale: "en", translations: {} });
5087
- const qr = () => {
5088
- fetch(C).then((x) => x.json()).then((x) => {
5089
- Object.keys(x).forEach((P) => {
5090
- sr(P, x[P]);
5125
+ hn(e, Ls, (f) => r(34, n = f));
5126
+ let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: w } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: L = "" } = t, { savecredentials: M = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, j, gt = "", Ge = !0, he = !1, ye = !1, ke = !1, je = !1, ve, bt = !1, yt = "", vt = "", _t = "", Et = window.navigator.userAgent, Xr = rr(Et) !== "PC", $ = {}, St = !1, wt = !1, $e = "false", xt = "false", Tt = "false", Ht = "false", Bt = "", At, _e = !1, Pt, Ee;
5127
+ Ms({ withLocale: "en", translations: {} });
5128
+ const Wr = () => {
5129
+ fetch(L).then((H) => H.json()).then((H) => {
5130
+ Object.keys(H).forEach((I) => {
5131
+ nr(I, H[I]);
5091
5132
  });
5092
- }).catch((x) => {
5093
- console.log(x);
5133
+ }).catch((H) => {
5134
+ console.log(H);
5094
5135
  });
5095
5136
  };
5096
- Object.keys(or).forEach((f) => {
5097
- sr(f, or[f]);
5137
+ Object.keys(ir).forEach((f) => {
5138
+ nr(f, ir[f]);
5098
5139
  });
5099
- const Jr = () => {
5140
+ const zr = () => {
5100
5141
  fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
5101
- f.items.length > 0 ? (r(25, je = "true"), f.items.forEach((x) => {
5102
- switch (x.tagCode) {
5142
+ f.items.length > 0 ? (r(26, $e = "true"), f.items.forEach((H) => {
5143
+ switch (H.tagCode) {
5103
5144
  case "termsandconditions":
5104
- r(26, Ht = "true");
5145
+ r(27, xt = "true");
5105
5146
  break;
5106
5147
  case "sms":
5107
- r(27, Bt = "true");
5148
+ r(28, Tt = "true");
5108
5149
  break;
5109
5150
  case "emailmarketing":
5110
- r(28, At = "true");
5151
+ r(29, Ht = "true");
5111
5152
  break;
5112
5153
  }
5113
- })) : r(25, je = "false");
5154
+ })) : r(26, $e = "false");
5114
5155
  });
5115
- }, Qr = () => {
5116
- let f = new URL(`${s}/${h}/login-register-content?env=${o}`), x = ir(wt);
5117
- x && (x === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((P) => P.json()).then((P) => {
5118
- ye = P.registerData, r(22, _t = ye.title), r(23, Et = ye.subtitle), r(24, St = ye.content);
5119
- }).catch((P) => {
5120
- console.error(P);
5156
+ }, Zr = () => {
5157
+ let f = new URL(`${s}/${h}/login-register-content?env=${o}`), H = rr(Et);
5158
+ H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
5159
+ ve = I.registerData, r(23, yt = ve.title), r(24, vt = ve.subtitle), r(25, _t = ve.content);
5160
+ }).catch((I) => {
5161
+ console.error(I);
5121
5162
  });
5122
- }, Ee = () => {
5123
- _e.scrollIntoView();
5124
- }, he = (f) => {
5125
- for (const x in f)
5126
- j[x] = f[x], x === "mobile" && r(31, Ot = `${f[x].prefix}${f[x].number}`);
5127
- j.affiliateMarker = j.promoCode ? j.promoCode : l != null ? l : "";
5128
- }, It = (f) => {
5163
+ }, Se = () => {
5164
+ Ee.scrollIntoView();
5165
+ }, fe = (f) => {
5166
+ for (const H in f)
5167
+ $[H] = f[H], H === "mobile" && r(32, Pt = `${f[H].prefix}${f[H].number}`);
5168
+ $.affiliateMarker = $.promoCode ? $.promoCode : l != null ? l : "";
5169
+ }, Ot = (f) => {
5129
5170
  if (f.data)
5130
5171
  switch (f.data.type) {
5131
5172
  case "RegisterStepOne":
5132
- he(f.data.registerStepOneData), Ee(), r(17, Ue = !1), r(18, le = !0), xt == !1 ? xt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5173
+ fe(f.data.registerStepOneData), Se(), r(18, Ge = !1), r(19, he = !0), St == !1 ? St = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
5133
5174
  break;
5134
5175
  case "RegisterStepTwo":
5135
- he(f.data.registerStepTwoData), Ee(), r(18, le = !1), r(19, be = !0), Tt == !1 ? Tt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
5176
+ fe(f.data.registerStepTwoData), Se(), r(19, he = !1), r(20, ye = !0), wt == !1 ? wt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: $ }, window.location.href);
5136
5177
  break;
5137
5178
  case "RegisterStepThree":
5138
- he(f.data.registerStepThreeData), Kr(j);
5179
+ fe(f.data.registerStepThreeData), Jr($);
5139
5180
  break;
5140
5181
  case "SmsHasBeenValidated":
5141
- r(21, ke = !0), r(20, Ge = !1);
5182
+ r(22, je = !0), r(21, ke = !1);
5142
5183
  break;
5143
5184
  case "GoBackStepTwo":
5144
- he(f.data.registerStepTwoData), Ee(), r(17, Ue = !0), r(18, le = !1), window.postMessage({ type: "StepOneDataBackup", userData: j }, window.location.href);
5185
+ fe(f.data.registerStepTwoData), Se(), r(18, Ge = !0), r(19, he = !1), window.postMessage({ type: "StepOneDataBackup", userData: $ }, window.location.href);
5145
5186
  break;
5146
5187
  case "GoBackStepThree":
5147
- he(f.data.registerStepThreeData), Ee(), r(18, le = !0), r(19, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5188
+ fe(f.data.registerStepThreeData), Se(), r(19, he = !0), r(20, ye = !1), window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
5148
5189
  break;
5149
5190
  }
5150
- }, Yr = () => {
5191
+ }, qr = () => {
5151
5192
  typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
5152
- }, Kr = (f) => Se(this, null, function* () {
5193
+ }, Jr = (f) => we(this, null, function* () {
5153
5194
  f.language = h;
5154
- let x = {
5195
+ let H = {
5155
5196
  method: "PUT",
5156
5197
  headers: {
5157
5198
  "g-recaptcha-response": f.token,
@@ -5159,148 +5200,133 @@ function qs(e, t, r) {
5159
5200
  Accept: "application/json"
5160
5201
  },
5161
5202
  body: JSON.stringify(f)
5162
- }, P = yield fetch(`${i}/v1/player/register`, x), W = yield P.json();
5163
- P.ok ? (r(19, be = !1), g === "false" ? r(21, ke = !0) : (r(16, yt = W.id), en(f, W.id)), f.username, f.password, Yr()) : (Pt = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), vt = !0, window.postMessage(
5203
+ }, I = yield fetch(`${i}/v1/player/register`, H), z = yield I.json();
5204
+ I.ok ? (r(20, ye = !1), g === "false" ? r(22, je = !0) : (r(17, gt = z.id), Qr(f, z.id)), f.username, f.password, qr()) : (Bt = z.error.substring(z.error.indexOf("errorMessage") + 13, z.error.length), bt = !0, window.postMessage(
5164
5205
  {
5165
5206
  type: "ShowRegistrationError",
5166
- showError: vt,
5167
- error: Pt
5207
+ showError: bt,
5208
+ error: Bt
5168
5209
  },
5169
5210
  window.location.href
5170
5211
  ));
5171
- }), en = (f, x) => Se(this, null, function* () {
5212
+ }), Qr = (f, H) => we(this, null, function* () {
5172
5213
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
5173
5214
  try {
5174
- const P = yield fetch(`${i}/v1/player/sms/token`, {
5215
+ const I = yield fetch(`${i}/v1/player/sms/token`, {
5175
5216
  method: "POST",
5176
5217
  headers: {
5177
5218
  "Content-Type": "application/json",
5178
5219
  accept: "application/json"
5179
5220
  },
5180
5221
  body: JSON.stringify({
5181
- userId: x,
5182
- messageTemplate: Zs,
5222
+ userId: H,
5223
+ messageTemplate: zs,
5183
5224
  destination: `${f.mobile.prefix}${f.mobile.number}`
5184
5225
  })
5185
- }), W = yield P.json();
5186
- if (P.ok) {
5187
- r(29, Ct = W.id);
5188
- let Js = W.maxValidationAttempts;
5189
- r(20, Ge = !0), r(30, ve = !1);
5226
+ }), z = yield I.json();
5227
+ if (I.ok) {
5228
+ r(30, At = z.id);
5229
+ let qs = z.maxValidationAttempts;
5230
+ r(21, ke = !0), r(31, _e = !1);
5190
5231
  } else
5191
- throw r(30, ve = !0), new Error("Failed to fetch");
5192
- } catch (P) {
5193
- r(30, ve = !0), console.error(P);
5232
+ throw r(31, _e = !0), new Error("Failed to fetch");
5233
+ } catch (I) {
5234
+ r(31, _e = !0), console.error(I);
5194
5235
  }
5195
- }), tn = () => {
5196
- m.split(",");
5197
- }, rn = () => {
5236
+ }), Yr = () => {
5237
+ p.split(",");
5238
+ }, Kr = () => {
5198
5239
  window.postMessage({ type: "ToLogin" }, window.location.href);
5199
- }, nn = () => {
5200
- Gs(h);
5201
- }, sn = () => {
5202
- let f = document.createElement("style");
5203
- f.innerHTML = w, O.appendChild(f);
5204
- }, on = () => {
5205
- let f = new URL(I), x = document.createElement("style");
5206
- fetch(f.href).then((P) => P.text()).then((P) => {
5207
- x.innerHTML = P, setTimeout(
5208
- () => {
5209
- O.appendChild(x);
5210
- },
5211
- 1
5212
- ), setTimeout(
5213
- () => {
5214
- },
5215
- 500
5216
- );
5217
- });
5240
+ }, en = () => {
5241
+ Ns(h);
5218
5242
  };
5219
- xn(() => (window.addEventListener("message", It, !1), () => {
5220
- window.removeEventListener("message", It);
5243
+ vn(() => (window.addEventListener("message", Ot, !1), () => {
5244
+ window.removeEventListener("message", Ot);
5221
5245
  }));
5222
- function an(f) {
5223
- Oe[f ? "unshift" : "push"](() => {
5224
- _e = f, r(32, _e);
5246
+ function tn(f) {
5247
+ Ie[f ? "unshift" : "push"](() => {
5248
+ Ee = f, r(33, Ee);
5225
5249
  });
5226
5250
  }
5227
- function un(f) {
5228
- Oe[f ? "unshift" : "push"](() => {
5229
- O = f, r(15, O);
5251
+ function rn(f) {
5252
+ Ie[f ? "unshift" : "push"](() => {
5253
+ j = f, r(16, j);
5230
5254
  });
5231
5255
  }
5232
5256
  return e.$$set = (f) => {
5233
- "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, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, m = 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, w = 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);
5257
+ "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, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = 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, w = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, L = f.translationurl), "savecredentials" in f && r(13, M = f.savecredentials), "custominputtextswitch" in f && r(14, C = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
5234
5258
  }, e.$$.update = () => {
5235
5259
  e.$$.dirty[0] & /*endpoint*/
5236
- 1 && i && Jr(), e.$$.dirty[0] & /*lang*/
5260
+ 1 && i && zr(), e.$$.dirty[0] & /*lang*/
5237
5261
  8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
5238
- 352 && s && h && o && b && Qr(), e.$$.dirty[0] & /*playerid, session*/
5239
- 65538, e.$$.dirty[0] & /*lang*/
5240
- 8 && h && nn(), e.$$.dirty[0] & /*disabledfields*/
5241
- 32 && m && tn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5242
- 33280 && w && O && sn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5243
- 33792 && I && O && on(), e.$$.dirty[0] & /*translationurl*/
5244
- 2048 && C && qr();
5262
+ 704 && s && h && o && b && Zr(), e.$$.dirty[0] & /*playerid, session*/
5263
+ 131074, e.$$.dirty[0] & /*lang*/
5264
+ 8 && h && en(), e.$$.dirty[0] & /*disabledfields*/
5265
+ 32 && p && Yr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5266
+ 66560 && O && j && Ds(j, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5267
+ 67584 && P && j && Fs(j, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5268
+ 66048 && w && j && Us(j, `${w}.Style`), e.$$.dirty[0] & /*translationurl*/
5269
+ 4096 && L && Wr();
5245
5270
  }, [
5246
5271
  i,
5247
5272
  a,
5248
5273
  u,
5249
5274
  h,
5250
5275
  c,
5251
- m,
5276
+ p,
5252
5277
  y,
5253
5278
  g,
5254
5279
  d,
5255
5280
  w,
5256
- I,
5281
+ O,
5282
+ P,
5283
+ L,
5284
+ M,
5257
5285
  C,
5258
5286
  D,
5259
- M,
5260
- R,
5261
- O,
5262
- yt,
5263
- Ue,
5264
- le,
5265
- be,
5287
+ j,
5288
+ gt,
5266
5289
  Ge,
5290
+ he,
5291
+ ye,
5267
5292
  ke,
5268
- _t,
5269
- Et,
5270
- St,
5271
5293
  je,
5294
+ yt,
5295
+ vt,
5296
+ _t,
5297
+ $e,
5298
+ xt,
5299
+ Tt,
5272
5300
  Ht,
5273
- Bt,
5274
5301
  At,
5275
- Ct,
5276
- ve,
5277
- Ot,
5278
5302
  _e,
5303
+ Pt,
5304
+ Ee,
5279
5305
  n,
5280
- Zr,
5281
- rn,
5306
+ Xr,
5307
+ Kr,
5282
5308
  s,
5283
5309
  o,
5284
5310
  l,
5285
5311
  b,
5286
- an,
5287
- un
5312
+ tn,
5313
+ rn
5288
5314
  ];
5289
5315
  }
5290
- class zr extends Nn {
5316
+ class Vr extends Cn {
5291
5317
  constructor(t) {
5292
- super(), Ln(
5318
+ super(), Pn(
5293
5319
  this,
5294
5320
  t,
5295
- qs,
5296
- zs,
5297
- pr,
5321
+ Zs,
5322
+ Ws,
5323
+ fr,
5298
5324
  {
5299
5325
  endpoint: 0,
5300
- cmsendpoint: 36,
5301
- env: 37,
5326
+ cmsendpoint: 37,
5327
+ env: 38,
5302
5328
  session: 1,
5303
- trackedanalyticsdata: 38,
5329
+ trackedanalyticsdata: 39,
5304
5330
  captchakey: 2,
5305
5331
  lang: 3,
5306
5332
  licenseyears: 4,
@@ -5308,15 +5334,16 @@ class zr extends Nn {
5308
5334
  defaultoptions: 6,
5309
5335
  smsverification: 7,
5310
5336
  simplepasswordvalidation: 8,
5311
- userroles: 39,
5312
- clientstyling: 9,
5313
- clientstylingurl: 10,
5314
- translationurl: 11,
5315
- savecredentials: 12,
5316
- custominputtextswitch: 13,
5317
- personalidlength: 14
5337
+ userroles: 40,
5338
+ mbsource: 9,
5339
+ clientstyling: 10,
5340
+ clientstylingurl: 11,
5341
+ translationurl: 12,
5342
+ savecredentials: 13,
5343
+ custominputtextswitch: 14,
5344
+ personalidlength: 15
5318
5345
  },
5319
- ks,
5346
+ Gs,
5320
5347
  [-1, -1, -1]
5321
5348
  );
5322
5349
  }
@@ -5327,13 +5354,13 @@ class zr extends Nn {
5327
5354
  this.$$set({ endpoint: t }), A();
5328
5355
  }
5329
5356
  get cmsendpoint() {
5330
- return this.$$.ctx[36];
5357
+ return this.$$.ctx[37];
5331
5358
  }
5332
5359
  set cmsendpoint(t) {
5333
5360
  this.$$set({ cmsendpoint: t }), A();
5334
5361
  }
5335
5362
  get env() {
5336
- return this.$$.ctx[37];
5363
+ return this.$$.ctx[38];
5337
5364
  }
5338
5365
  set env(t) {
5339
5366
  this.$$set({ env: t }), A();
@@ -5345,7 +5372,7 @@ class zr extends Nn {
5345
5372
  this.$$set({ session: t }), A();
5346
5373
  }
5347
5374
  get trackedanalyticsdata() {
5348
- return this.$$.ctx[38];
5375
+ return this.$$.ctx[39];
5349
5376
  }
5350
5377
  set trackedanalyticsdata(t) {
5351
5378
  this.$$set({ trackedanalyticsdata: t }), A();
@@ -5393,87 +5420,95 @@ class zr extends Nn {
5393
5420
  this.$$set({ simplepasswordvalidation: t }), A();
5394
5421
  }
5395
5422
  get userroles() {
5396
- return this.$$.ctx[39];
5423
+ return this.$$.ctx[40];
5397
5424
  }
5398
5425
  set userroles(t) {
5399
5426
  this.$$set({ userroles: t }), A();
5400
5427
  }
5401
- get clientstyling() {
5428
+ get mbsource() {
5402
5429
  return this.$$.ctx[9];
5403
5430
  }
5431
+ set mbsource(t) {
5432
+ this.$$set({ mbsource: t }), A();
5433
+ }
5434
+ get clientstyling() {
5435
+ return this.$$.ctx[10];
5436
+ }
5404
5437
  set clientstyling(t) {
5405
5438
  this.$$set({ clientstyling: t }), A();
5406
5439
  }
5407
5440
  get clientstylingurl() {
5408
- return this.$$.ctx[10];
5441
+ return this.$$.ctx[11];
5409
5442
  }
5410
5443
  set clientstylingurl(t) {
5411
5444
  this.$$set({ clientstylingurl: t }), A();
5412
5445
  }
5413
5446
  get translationurl() {
5414
- return this.$$.ctx[11];
5447
+ return this.$$.ctx[12];
5415
5448
  }
5416
5449
  set translationurl(t) {
5417
5450
  this.$$set({ translationurl: t }), A();
5418
5451
  }
5419
5452
  get savecredentials() {
5420
- return this.$$.ctx[12];
5453
+ return this.$$.ctx[13];
5421
5454
  }
5422
5455
  set savecredentials(t) {
5423
5456
  this.$$set({ savecredentials: t }), A();
5424
5457
  }
5425
5458
  get custominputtextswitch() {
5426
- return this.$$.ctx[13];
5459
+ return this.$$.ctx[14];
5427
5460
  }
5428
5461
  set custominputtextswitch(t) {
5429
5462
  this.$$set({ custominputtextswitch: t }), A();
5430
5463
  }
5431
5464
  get personalidlength() {
5432
- return this.$$.ctx[14];
5465
+ return this.$$.ctx[15];
5433
5466
  }
5434
5467
  set personalidlength(t) {
5435
5468
  this.$$set({ personalidlength: t }), A();
5436
5469
  }
5437
5470
  }
5438
- Mn(zr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5439
- const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5471
+ On(Vr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5472
+ const no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5440
5473
  __proto__: null,
5441
- default: zr
5474
+ default: Vr
5442
5475
  }, Symbol.toStringTag, { value: "Module" }));
5443
5476
  export {
5444
- Z as $,
5477
+ q as $,
5445
5478
  eo as A,
5446
- vn as B,
5447
- no as C,
5448
- ae as D,
5449
- Ks as E,
5450
- Ys as F,
5451
- so as G,
5452
- Nn as S,
5453
- jr as a,
5454
- gn as b,
5455
- Mn as c,
5456
- G as d,
5457
- B as e,
5479
+ Ke as B,
5480
+ ro as C,
5481
+ Ys as D,
5482
+ to as E,
5483
+ pn as F,
5484
+ ue as G,
5485
+ Qs as H,
5486
+ no as I,
5487
+ Cn as S,
5488
+ Ur as a,
5489
+ fn as b,
5490
+ ee as c,
5491
+ N as d,
5492
+ Ks as e,
5458
5493
  A as f,
5459
- T as g,
5494
+ x as g,
5460
5495
  U as h,
5461
- Ln as i,
5496
+ Pn as i,
5462
5497
  E as j,
5463
- to as k,
5464
- _n as l,
5465
- K as m,
5498
+ B as k,
5499
+ dn as l,
5500
+ G as m,
5466
5501
  k as n,
5467
- N as o,
5468
- dn as p,
5469
- xn as q,
5470
- ge as r,
5471
- pr as s,
5472
- $ as t,
5473
- Oe as u,
5474
- xe as v,
5502
+ hn as o,
5503
+ vn as p,
5504
+ Ie as q,
5505
+ be as r,
5506
+ fr as s,
5507
+ V as t,
5508
+ Te as u,
5509
+ Ds as v,
5475
5510
  Fs as w,
5476
- Ke as x,
5477
- ro as y,
5478
- io as z
5511
+ Us as x,
5512
+ On as y,
5513
+ Ls as z
5479
5514
  };