@everymatrix/general-player-register-form-step3-nd 1.86.3 → 1.86.5

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.
@@ -2,15 +2,15 @@ var Jn = Object.defineProperty, Yn = Object.defineProperties;
2
2
  var Kn = Object.getOwnPropertyDescriptors;
3
3
  var Ur = Object.getOwnPropertySymbols;
4
4
  var ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable;
5
- var ar = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lr = (e, t) => {
5
+ var ur = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, cr = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ei.call(t, r) && ar(e, r, t[r]);
7
+ ei.call(t, r) && ur(e, r, t[r]);
8
8
  if (Ur)
9
9
  for (var r of Ur(t))
10
- ti.call(t, r) && ar(e, r, t[r]);
10
+ ti.call(t, r) && ur(e, r, t[r]);
11
11
  return e;
12
- }, ur = (e, t) => Yn(e, Kn(t));
13
- var be = (e, t, r) => (ar(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, hr = (e, t) => Yn(e, Kn(t));
13
+ var be = (e, t, r) => (ur(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Fr = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (c) => {
16
16
  try {
@@ -35,18 +35,18 @@ function xn(e) {
35
35
  function Dr() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function gt(e) {
38
+ function bt(e) {
39
39
  e.forEach(xn);
40
40
  }
41
- function Pr(e) {
41
+ function Mr(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function An(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let qt;
47
+ let Zt;
48
48
  function Gr(e, t) {
49
- return e === t ? !0 : (qt || (qt = document.createElement("a")), qt.href = t, e === qt.href);
49
+ return e === t ? !0 : (Zt || (Zt = document.createElement("a")), Zt.href = t, e === Zt.href);
50
50
  }
51
51
  function ri(e) {
52
52
  return Object.keys(e).length === 0;
@@ -90,32 +90,32 @@ function oi(e, t) {
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function R(e, t, r) {
93
+ function L(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function I(e) {
96
+ function k(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function cr(e, t) {
99
+ function fr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
103
  function b(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Zt(e) {
106
+ function $t(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function M(e) {
109
+ function O(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function T() {
113
- return M(" ");
112
+ function S() {
113
+ return O(" ");
114
114
  }
115
- function Or() {
116
- return M("");
115
+ function Nr() {
116
+ return O("");
117
117
  }
118
- function k(e, t, r, n) {
118
+ function N(e, t, r, n) {
119
119
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
120
120
  }
121
121
  function p(e, t, r) {
@@ -131,7 +131,7 @@ function D(e, t) {
131
131
  function ce(e, t) {
132
132
  e.value = t == null ? "" : t;
133
133
  }
134
- function st(e, t, r) {
134
+ function ot(e, t, r) {
135
135
  for (let n = 0; n < e.options.length; n += 1) {
136
136
  const i = e.options[n];
137
137
  if (i.__value === t) {
@@ -141,7 +141,7 @@ function st(e, t, r) {
141
141
  }
142
142
  (!r || t !== void 0) && (e.selectedIndex = -1);
143
143
  }
144
- function hr(e) {
144
+ function dr(e) {
145
145
  const t = e.querySelector(":checked");
146
146
  return t && t.__value;
147
147
  }
@@ -154,90 +154,90 @@ function li(e) {
154
154
  }
155
155
  ), t;
156
156
  }
157
- let Mt;
158
- function Ot(e) {
159
- Mt = e;
157
+ let Nt;
158
+ function Mt(e) {
159
+ Nt = e;
160
160
  }
161
161
  function ui() {
162
- if (!Mt)
162
+ if (!Nt)
163
163
  throw new Error("Function called outside component initialization");
164
- return Mt;
164
+ return Nt;
165
165
  }
166
166
  function ci(e) {
167
167
  ui().$$.on_mount.push(e);
168
168
  }
169
- const ut = [], _r = [];
170
- let ct = [];
169
+ const ct = [], vr = [];
170
+ let ht = [];
171
171
  const jr = [], hi = /* @__PURE__ */ Promise.resolve();
172
- let Er = !1;
172
+ let Cr = !1;
173
173
  function fi() {
174
- Er || (Er = !0, hi.then(K));
174
+ Cr || (Cr = !0, hi.then(K));
175
175
  }
176
- function ht(e) {
177
- ct.push(e);
176
+ function ft(e) {
177
+ ht.push(e);
178
178
  }
179
- const fr = /* @__PURE__ */ new Set();
180
- let ot = 0;
179
+ const mr = /* @__PURE__ */ new Set();
180
+ let at = 0;
181
181
  function K() {
182
- if (ot !== 0)
182
+ if (at !== 0)
183
183
  return;
184
- const e = Mt;
184
+ const e = Nt;
185
185
  do {
186
186
  try {
187
- for (; ot < ut.length; ) {
188
- const t = ut[ot];
189
- ot++, Ot(t), di(t.$$);
187
+ for (; at < ct.length; ) {
188
+ const t = ct[at];
189
+ at++, Mt(t), di(t.$$);
190
190
  }
191
191
  } catch (t) {
192
- throw ut.length = 0, ot = 0, t;
192
+ throw ct.length = 0, at = 0, t;
193
193
  }
194
- for (Ot(null), ut.length = 0, ot = 0; _r.length; )
195
- _r.pop()();
196
- for (let t = 0; t < ct.length; t += 1) {
197
- const r = ct[t];
198
- fr.has(r) || (fr.add(r), r());
194
+ for (Mt(null), ct.length = 0, at = 0; vr.length; )
195
+ vr.pop()();
196
+ for (let t = 0; t < ht.length; t += 1) {
197
+ const r = ht[t];
198
+ mr.has(r) || (mr.add(r), r());
199
199
  }
200
- ct.length = 0;
201
- } while (ut.length);
200
+ ht.length = 0;
201
+ } while (ct.length);
202
202
  for (; jr.length; )
203
203
  jr.pop()();
204
- Er = !1, fr.clear(), Ot(e);
204
+ Cr = !1, mr.clear(), Mt(e);
205
205
  }
206
206
  function di(e) {
207
207
  if (e.fragment !== null) {
208
- e.update(), gt(e.before_update);
208
+ e.update(), bt(e.before_update);
209
209
  const t = e.dirty;
210
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ht);
210
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
211
211
  }
212
212
  }
213
213
  function mi(e) {
214
214
  const t = [], r = [];
215
- ct.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ct = t;
215
+ ht.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ht = t;
216
216
  }
217
217
  const pi = /* @__PURE__ */ new Set();
218
218
  function gi(e, t) {
219
219
  e && e.i && (pi.delete(e), e.i(t));
220
220
  }
221
- function at(e) {
221
+ function lt(e) {
222
222
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
223
223
  }
224
224
  function bi(e, t, r) {
225
225
  const { fragment: n, after_update: i } = e.$$;
226
- n && n.m(t, r), ht(() => {
227
- const s = e.$$.on_mount.map(xn).filter(Pr);
228
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : gt(s), e.$$.on_mount = [];
229
- }), i.forEach(ht);
226
+ n && n.m(t, r), ft(() => {
227
+ const s = e.$$.on_mount.map(xn).filter(Mr);
228
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : bt(s), e.$$.on_mount = [];
229
+ }), i.forEach(ft);
230
230
  }
231
231
  function yi(e, t) {
232
232
  const r = e.$$;
233
- r.fragment !== null && (mi(r.after_update), gt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
233
+ r.fragment !== null && (mi(r.after_update), bt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
234
234
  }
235
235
  function _i(e, t) {
236
- e.$$.dirty[0] === -1 && (ut.push(e), fi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
236
+ e.$$.dirty[0] === -1 && (ct.push(e), fi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
237
  }
238
238
  function Ei(e, t, r, n, i, s, o = null, l = [-1]) {
239
- const c = Mt;
240
- Ot(e);
239
+ const c = Nt;
240
+ Mt(e);
241
241
  const a = e.$$ = {
242
242
  fragment: null,
243
243
  ctx: [],
@@ -264,18 +264,18 @@ function Ei(e, t, r, n, i, s, o = null, l = [-1]) {
264
264
  if (a.ctx = r ? r(e, t.props || {}, (d, m, ...E) => {
265
265
  const _ = E.length ? E[0] : m;
266
266
  return a.ctx && i(a.ctx[d], a.ctx[d] = _) && (!a.skip_bound && a.bound[d] && a.bound[d](_), h && _i(e, d)), m;
267
- }) : [], a.update(), h = !0, gt(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
267
+ }) : [], a.update(), h = !0, bt(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
268
268
  if (t.hydrate) {
269
269
  const d = ai(t.target);
270
- a.fragment && a.fragment.l(d), d.forEach(I);
270
+ a.fragment && a.fragment.l(d), d.forEach(k);
271
271
  } else
272
272
  a.fragment && a.fragment.c();
273
273
  t.intro && gi(e.$$.fragment), bi(e, t.target, t.anchor), K();
274
274
  }
275
- Ot(c);
275
+ Mt(c);
276
276
  }
277
- let Tn;
278
- typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
277
+ let Sn;
278
+ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
279
279
  constructor(t, r, n) {
280
280
  super();
281
281
  /** The Svelte component constructor */
@@ -326,10 +326,10 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
326
326
  * @param {HTMLElement} [anchor]
327
327
  */
328
328
  m: function(a, h) {
329
- R(a, o, h);
329
+ L(a, o, h);
330
330
  },
331
331
  d: function(a) {
332
- a && I(o);
332
+ a && k(o);
333
333
  }
334
334
  };
335
335
  };
@@ -341,13 +341,13 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
341
341
  s in n && (r[s] = [t(s)]);
342
342
  for (const s of this.attributes) {
343
343
  const o = this.$$g_p(s.name);
344
- o in this.$$d || (this.$$d[o] = Qt(o, s.value, this.$$p_d, "toProp"));
344
+ o in this.$$d || (this.$$d[o] = Jt(o, s.value, this.$$p_d, "toProp"));
345
345
  }
346
346
  for (const s in this.$$p_d)
347
347
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
348
348
  this.$$c = new this.$$ctor({
349
349
  target: this.shadowRoot || this,
350
- props: ur(lr({}, this.$$d), {
350
+ props: hr(cr({}, this.$$d), {
351
351
  $$slots: r,
352
352
  $$scope: {
353
353
  ctx: []
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
358
358
  this.$$r = !0;
359
359
  for (const s in this.$$p_d)
360
360
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
361
- const o = Qt(
361
+ const o = Jt(
362
362
  s,
363
363
  this.$$d[s],
364
364
  this.$$p_d,
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
382
382
  // and setting attributes through setAttribute etc, this is helpful
383
383
  attributeChangedCallback(t, r, n) {
384
384
  var i;
385
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Qt(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
385
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Jt(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
386
386
  }
387
387
  disconnectedCallback() {
388
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
395
395
  ) || t;
396
396
  }
397
397
  });
398
- function Qt(e, t, r, n) {
398
+ function Jt(e, t, r, n) {
399
399
  var s;
400
400
  const i = (s = r[e]) == null ? void 0 : s.type;
401
401
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -426,7 +426,7 @@ function Qt(e, t, r, n) {
426
426
  }
427
427
  }
428
428
  function vi(e, t, r, n, i, s) {
429
- let o = class extends Tn {
429
+ let o = class extends Sn {
430
430
  constructor() {
431
431
  super(e, r, i), this.$$p_d = t;
432
432
  }
@@ -443,7 +443,7 @@ function vi(e, t, r, n, i, s) {
443
443
  },
444
444
  set(c) {
445
445
  var a;
446
- c = Qt(l, c, t), this.$$d[l] = c, (a = this.$$c) == null || a.$set({ [l]: c });
446
+ c = Jt(l, c, t), this.$$d[l] = c, (a = this.$$c) == null || a.$set({ [l]: c });
447
447
  }
448
448
  });
449
449
  }), n.forEach((l) => {
@@ -486,7 +486,7 @@ class Ci {
486
486
  * @returns {() => void}
487
487
  */
488
488
  $on(t, r) {
489
- if (!Pr(r))
489
+ if (!Mr(r))
490
490
  return Ce;
491
491
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
492
492
  return n.push(r), () => {
@@ -504,24 +504,24 @@ class Ci {
504
504
  }
505
505
  const xi = "4";
506
506
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xi);
507
- const lt = [];
507
+ const ut = [];
508
508
  function Ai(e, t) {
509
509
  return {
510
- subscribe: tr(e, t).subscribe
510
+ subscribe: nr(e, t).subscribe
511
511
  };
512
512
  }
513
- function tr(e, t = Ce) {
513
+ function nr(e, t = Ce) {
514
514
  let r;
515
515
  const n = /* @__PURE__ */ new Set();
516
516
  function i(l) {
517
517
  if (An(e, l) && (e = l, r)) {
518
- const c = !lt.length;
518
+ const c = !ut.length;
519
519
  for (const a of n)
520
- a[1](), lt.push(a, e);
520
+ a[1](), ut.push(a, e);
521
521
  if (c) {
522
- for (let a = 0; a < lt.length; a += 2)
523
- lt[a][0](lt[a + 1]);
524
- lt.length = 0;
522
+ for (let a = 0; a < ut.length; a += 2)
523
+ ut[a][0](ut[a + 1]);
524
+ ut.length = 0;
525
525
  }
526
526
  }
527
527
  }
@@ -536,7 +536,7 @@ function tr(e, t = Ce) {
536
536
  }
537
537
  return { set: i, update: s, subscribe: o };
538
538
  }
539
- function bt(e, t, r) {
539
+ function yt(e, t, r) {
540
540
  const n = !Array.isArray(e), i = n ? [e] : e;
541
541
  if (!i.every(Boolean))
542
542
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -550,12 +550,12 @@ function bt(e, t, r) {
550
550
  return;
551
551
  d();
552
552
  const _ = t(n ? a[0] : a, o, l);
553
- s ? o(_) : d = Pr(_) ? _ : Ce;
553
+ s ? o(_) : d = Mr(_) ? _ : Ce;
554
554
  }, E = i.map(
555
555
  (_, v) => wn(
556
556
  _,
557
- (O) => {
558
- a[v] = O, h &= ~(1 << v), c && m();
557
+ (P) => {
558
+ a[v] = P, h &= ~(1 << v), c && m();
559
559
  },
560
560
  () => {
561
561
  h |= 1 << v;
@@ -563,17 +563,17 @@ function bt(e, t, r) {
563
563
  )
564
564
  );
565
565
  return c = !0, m(), function() {
566
- gt(E), d(), c = !1;
566
+ bt(E), d(), c = !1;
567
567
  };
568
568
  });
569
569
  }
570
570
  function wi(e) {
571
571
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
572
572
  }
573
- var Ti = function(t) {
574
- return Si(t) && !Hi(t);
573
+ var Si = function(t) {
574
+ return Ti(t) && !Hi(t);
575
575
  };
576
- function Si(e) {
576
+ function Ti(e) {
577
577
  return !!e && typeof e == "object";
578
578
  }
579
579
  function Hi(e) {
@@ -587,19 +587,19 @@ function Oi(e) {
587
587
  function Mi(e) {
588
588
  return Array.isArray(e) ? [] : {};
589
589
  }
590
- function Nt(e, t) {
591
- return t.clone !== !1 && t.isMergeableObject(e) ? ft(Mi(e), e, t) : e;
590
+ function kt(e, t) {
591
+ return t.clone !== !1 && t.isMergeableObject(e) ? dt(Mi(e), e, t) : e;
592
592
  }
593
593
  function Ni(e, t, r) {
594
594
  return e.concat(t).map(function(n) {
595
- return Nt(n, r);
595
+ return kt(n, r);
596
596
  });
597
597
  }
598
598
  function ki(e, t) {
599
599
  if (!t.customMerge)
600
- return ft;
600
+ return dt;
601
601
  var r = t.customMerge(e);
602
- return typeof r == "function" ? r : ft;
602
+ return typeof r == "function" ? r : dt;
603
603
  }
604
604
  function Ii(e) {
605
605
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -609,7 +609,7 @@ function Ii(e) {
609
609
  function zr(e) {
610
610
  return Object.keys(e).concat(Ii(e));
611
611
  }
612
- function Sn(e, t) {
612
+ function Tn(e, t) {
613
613
  try {
614
614
  return t in e;
615
615
  } catch (r) {
@@ -617,70 +617,56 @@ function Sn(e, t) {
617
617
  }
618
618
  }
619
619
  function Li(e, t) {
620
- return Sn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
620
+ return Tn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
621
621
  }
622
622
  function Ri(e, t, r) {
623
623
  var n = {};
624
624
  return r.isMergeableObject(e) && zr(e).forEach(function(i) {
625
- n[i] = Nt(e[i], r);
625
+ n[i] = kt(e[i], r);
626
626
  }), zr(t).forEach(function(i) {
627
- Li(e, i) || (Sn(e, i) && r.isMergeableObject(t[i]) ? n[i] = ki(i, r)(e[i], t[i], r) : n[i] = Nt(t[i], r));
627
+ Li(e, i) || (Tn(e, i) && r.isMergeableObject(t[i]) ? n[i] = ki(i, r)(e[i], t[i], r) : n[i] = kt(t[i], r));
628
628
  }), n;
629
629
  }
630
- function ft(e, t, r) {
631
- r = r || {}, r.arrayMerge = r.arrayMerge || Ni, r.isMergeableObject = r.isMergeableObject || Ti, r.cloneUnlessOtherwiseSpecified = Nt;
630
+ function dt(e, t, r) {
631
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ni, r.isMergeableObject = r.isMergeableObject || Si, r.cloneUnlessOtherwiseSpecified = kt;
632
632
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
633
- return s ? n ? r.arrayMerge(e, t, r) : Ri(e, t, r) : Nt(t, r);
633
+ return s ? n ? r.arrayMerge(e, t, r) : Ri(e, t, r) : kt(t, r);
634
634
  }
635
- ft.all = function(t, r) {
635
+ dt.all = function(t, r) {
636
636
  if (!Array.isArray(t))
637
637
  throw new Error("first argument should be an array");
638
638
  return t.reduce(function(n, i) {
639
- return ft(n, i, r);
639
+ return dt(n, i, r);
640
640
  }, {});
641
641
  };
642
- var Ui = ft, Fi = Ui;
642
+ var Ui = dt, Fi = Ui;
643
643
  const Di = /* @__PURE__ */ wi(Fi);
644
- /*! *****************************************************************************
645
- Copyright (c) Microsoft Corporation.
646
-
647
- Permission to use, copy, modify, and/or distribute this software for any
648
- purpose with or without fee is hereby granted.
649
-
650
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
651
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
652
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
653
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
654
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
655
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
656
- PERFORMANCE OF THIS SOFTWARE.
657
- ***************************************************************************** */
658
- var vr = function(e, t) {
659
- return vr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
644
+ var xr = function(e, t) {
645
+ return xr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
660
646
  r.__proto__ = n;
661
647
  } || function(r, n) {
662
648
  for (var i in n)
663
649
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
664
- }, vr(e, t);
650
+ }, xr(e, t);
665
651
  };
666
- function rr(e, t) {
652
+ function ir(e, t) {
667
653
  if (typeof t != "function" && t !== null)
668
654
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
669
- vr(e, t);
655
+ xr(e, t);
670
656
  function r() {
671
657
  this.constructor = e;
672
658
  }
673
659
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
674
660
  }
675
- var P = function() {
676
- return P = Object.assign || function(t) {
661
+ var we = function() {
662
+ return we = Object.assign || function(t) {
677
663
  for (var r, n = 1, i = arguments.length; n < i; n++) {
678
664
  r = arguments[n];
679
665
  for (var s in r)
680
666
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
681
667
  }
682
668
  return t;
683
- }, P.apply(this, arguments);
669
+ }, we.apply(this, arguments);
684
670
  };
685
671
  function Gi(e, t) {
686
672
  var r = {};
@@ -691,14 +677,14 @@ function Gi(e, t) {
691
677
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
692
678
  return r;
693
679
  }
694
- function dr(e, t, r) {
695
- if (arguments.length === 2)
680
+ function pr(e, t, r) {
681
+ if (r || arguments.length === 2)
696
682
  for (var n = 0, i = t.length, s; n < i; n++)
697
683
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
698
- return e.concat(s || t);
684
+ return e.concat(s || Array.prototype.slice.call(t));
699
685
  }
700
- function mr(e, t) {
701
- var r = t && t.cache ? t.cache : qi, n = t && t.serializer ? t.serializer : Wi, i = t && t.strategy ? t.strategy : zi;
686
+ function gr(e, t) {
687
+ var r = t && t.cache ? t.cache : Zi, n = t && t.serializer ? t.serializer : Wi, i = t && t.strategy ? t.strategy : Vi;
702
688
  return i(e, {
703
689
  cache: r,
704
690
  serializer: n
@@ -707,95 +693,103 @@ function mr(e, t) {
707
693
  function ji(e) {
708
694
  return e == null || typeof e == "number" || typeof e == "boolean";
709
695
  }
710
- function Hn(e, t, r, n) {
696
+ function zi(e, t, r, n) {
711
697
  var i = ji(n) ? n : r(n), s = t.get(i);
712
698
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
713
699
  }
714
- function Bn(e, t, r) {
700
+ function Hn(e, t, r) {
715
701
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
716
702
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
717
703
  }
718
- function Mr(e, t, r, n, i) {
704
+ function Bn(e, t, r, n, i) {
719
705
  return r.bind(t, e, n, i);
720
706
  }
721
- function zi(e, t) {
722
- var r = e.length === 1 ? Hn : Bn;
723
- return Mr(e, this, r, t.cache.create(), t.serializer);
724
- }
725
707
  function Vi(e, t) {
726
- return Mr(e, this, Bn, t.cache.create(), t.serializer);
708
+ var r = e.length === 1 ? zi : Hn;
709
+ return Bn(e, this, r, t.cache.create(), t.serializer);
727
710
  }
728
711
  function Xi(e, t) {
729
- return Mr(e, this, Hn, t.cache.create(), t.serializer);
712
+ return Bn(e, this, Hn, t.cache.create(), t.serializer);
730
713
  }
731
714
  var Wi = function() {
732
715
  return JSON.stringify(arguments);
733
- };
734
- function Nr() {
735
- this.cache = /* @__PURE__ */ Object.create(null);
736
- }
737
- Nr.prototype.get = function(e) {
738
- return this.cache[e];
739
- };
740
- Nr.prototype.set = function(e, t) {
741
- this.cache[e] = t;
742
- };
743
- var qi = {
716
+ }, qi = (
717
+ /** @class */
718
+ function() {
719
+ function e() {
720
+ this.cache = /* @__PURE__ */ Object.create(null);
721
+ }
722
+ return e.prototype.get = function(t) {
723
+ return this.cache[t];
724
+ }, e.prototype.set = function(t, r) {
725
+ this.cache[t] = r;
726
+ }, e;
727
+ }()
728
+ ), Zi = {
744
729
  create: function() {
745
- return new Nr();
730
+ return new qi();
746
731
  }
747
- }, pr = {
748
- variadic: Vi,
749
- monadic: Xi
750
- }, w;
732
+ }, br = {
733
+ variadic: Xi
734
+ }, er = function() {
735
+ return er = Object.assign || function(t) {
736
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
737
+ r = arguments[n];
738
+ for (var s in r)
739
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
740
+ }
741
+ return t;
742
+ }, er.apply(this, arguments);
743
+ };
744
+ var w;
751
745
  (function(e) {
752
746
  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";
753
747
  })(w || (w = {}));
754
- var L;
748
+ var I;
755
749
  (function(e) {
756
750
  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";
757
- })(L || (L = {}));
758
- var dt;
751
+ })(I || (I = {}));
752
+ var mt;
759
753
  (function(e) {
760
754
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
761
- })(dt || (dt = {}));
755
+ })(mt || (mt = {}));
762
756
  function Vr(e) {
763
- return e.type === L.literal;
757
+ return e.type === I.literal;
764
758
  }
765
- function Zi(e) {
766
- return e.type === L.argument;
759
+ function $i(e) {
760
+ return e.type === I.argument;
767
761
  }
768
762
  function Pn(e) {
769
- return e.type === L.number;
763
+ return e.type === I.number;
770
764
  }
771
765
  function On(e) {
772
- return e.type === L.date;
766
+ return e.type === I.date;
773
767
  }
774
768
  function Mn(e) {
775
- return e.type === L.time;
769
+ return e.type === I.time;
776
770
  }
777
771
  function Nn(e) {
778
- return e.type === L.select;
772
+ return e.type === I.select;
779
773
  }
780
774
  function kn(e) {
781
- return e.type === L.plural;
775
+ return e.type === I.plural;
782
776
  }
783
- function $i(e) {
784
- return e.type === L.pound;
777
+ function Qi(e) {
778
+ return e.type === I.pound;
785
779
  }
786
780
  function In(e) {
787
- return e.type === L.tag;
781
+ return e.type === I.tag;
788
782
  }
789
783
  function Ln(e) {
790
- return !!(e && typeof e == "object" && e.type === dt.number);
784
+ return !!(e && typeof e == "object" && e.type === mt.number);
791
785
  }
792
- function Cr(e) {
793
- return !!(e && typeof e == "object" && e.type === dt.dateTime);
786
+ function Ar(e) {
787
+ return !!(e && typeof e == "object" && e.type === mt.dateTime);
794
788
  }
795
- var Rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qi = /(?:[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;
796
- function Ji(e) {
789
+ var Rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ji = /(?:[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;
790
+ function Yi(e) {
797
791
  var t = {};
798
- return e.replace(Qi, function(r) {
792
+ return e.replace(Ji, function(r) {
799
793
  var n = r.length;
800
794
  switch (r[0]) {
801
795
  case "G":
@@ -884,11 +878,21 @@ function Ji(e) {
884
878
  return "";
885
879
  }), t;
886
880
  }
887
- var Yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
888
- function Ki(e) {
881
+ var R = function() {
882
+ return R = Object.assign || function(t) {
883
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
884
+ r = arguments[n];
885
+ for (var s in r)
886
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
887
+ }
888
+ return t;
889
+ }, R.apply(this, arguments);
890
+ };
891
+ var Ki = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
892
+ function es(e) {
889
893
  if (e.length === 0)
890
894
  throw new Error("Number skeleton cannot be empty");
891
- for (var t = e.split(Yi).filter(function(m) {
895
+ for (var t = e.split(Ki).filter(function(m) {
892
896
  return m.length > 0;
893
897
  }), r = [], n = 0, i = t; n < i.length; n++) {
894
898
  var s = i[n], o = s.split("/");
@@ -903,10 +907,10 @@ function Ki(e) {
903
907
  }
904
908
  return r;
905
909
  }
906
- function es(e) {
910
+ function ts(e) {
907
911
  return e.replace(/^(.*?)-/, "");
908
912
  }
909
- var Xr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Un = /^(@+)?(\+|#+)?[rs]?$/g, ts = /(\*)(0+)|(#+)(0+)|(0+)/g, Fn = /^(0+)$/;
913
+ var Xr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Un = /^(@+)?(\+|#+)?[rs]?$/g, rs = /(\*)(0+)|(#+)(0+)|(0+)/g, Fn = /^(0+)$/;
910
914
  function Wr(e) {
911
915
  var t = {};
912
916
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Un, function(r, n, i) {
@@ -953,7 +957,7 @@ function Dn(e) {
953
957
  };
954
958
  }
955
959
  }
956
- function rs(e) {
960
+ function ns(e) {
957
961
  var t;
958
962
  if (e[0] === "E" && e[1] === "E" ? (t = {
959
963
  notation: "engineering"
@@ -971,7 +975,7 @@ function qr(e) {
971
975
  var t = {}, r = Dn(e);
972
976
  return r || t;
973
977
  }
974
- function ns(e) {
978
+ function is(e) {
975
979
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
976
980
  var i = n[r];
977
981
  switch (i.stem) {
@@ -995,7 +999,7 @@ function ns(e) {
995
999
  continue;
996
1000
  case "measure-unit":
997
1001
  case "unit":
998
- t.style = "unit", t.unit = es(i.options[0]);
1002
+ t.style = "unit", t.unit = ts(i.options[0]);
999
1003
  continue;
1000
1004
  case "compact-short":
1001
1005
  case "K":
@@ -1006,13 +1010,13 @@ function ns(e) {
1006
1010
  t.notation = "compact", t.compactDisplay = "long";
1007
1011
  continue;
1008
1012
  case "scientific":
1009
- t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(c, a) {
1010
- return P(P({}, c), qr(a));
1013
+ t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(c, a) {
1014
+ return R(R({}, c), qr(a));
1011
1015
  }, {}));
1012
1016
  continue;
1013
1017
  case "engineering":
1014
- t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(c, a) {
1015
- return P(P({}, c), qr(a));
1018
+ t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(c, a) {
1019
+ return R(R({}, c), qr(a));
1016
1020
  }, {}));
1017
1021
  continue;
1018
1022
  case "notation-simple":
@@ -1057,7 +1061,7 @@ function ns(e) {
1057
1061
  case "integer-width":
1058
1062
  if (i.options.length > 1)
1059
1063
  throw new RangeError("integer-width stems only accept a single optional option");
1060
- i.options[0].replace(ts, function(c, a, h, d, m, E) {
1064
+ i.options[0].replace(rs, function(c, a, h, d, m, E) {
1061
1065
  if (a)
1062
1066
  t.minimumIntegerDigits = h.length;
1063
1067
  else {
@@ -1081,21 +1085,21 @@ function ns(e) {
1081
1085
  return h === "*" ? t.minimumFractionDigits = a.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1082
1086
  });
1083
1087
  var s = i.options[0];
1084
- s === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), Wr(s)));
1088
+ s === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = R(R({}, t), Wr(s)));
1085
1089
  continue;
1086
1090
  }
1087
1091
  if (Un.test(i.stem)) {
1088
- t = P(P({}, t), Wr(i.stem));
1092
+ t = R(R({}, t), Wr(i.stem));
1089
1093
  continue;
1090
1094
  }
1091
1095
  var o = Dn(i.stem);
1092
- o && (t = P(P({}, t), o));
1093
- var l = rs(i.stem);
1094
- l && (t = P(P({}, t), l));
1096
+ o && (t = R(R({}, t), o));
1097
+ var l = ns(i.stem);
1098
+ l && (t = R(R({}, t), l));
1095
1099
  }
1096
1100
  return t;
1097
1101
  }
1098
- var $t = {
1102
+ var Qt = {
1099
1103
  "001": [
1100
1104
  "H",
1101
1105
  "h"
@@ -2510,13 +2514,13 @@ var $t = {
2510
2514
  "h"
2511
2515
  ]
2512
2516
  };
2513
- function is(e, t) {
2517
+ function ss(e, t) {
2514
2518
  for (var r = "", n = 0; n < e.length; n++) {
2515
2519
  var i = e.charAt(n);
2516
2520
  if (i === "j") {
2517
2521
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2518
2522
  s++, n++;
2519
- var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", a = ss(t);
2523
+ var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", a = os(t);
2520
2524
  for ((a == "H" || a == "k") && (l = 0); l-- > 0; )
2521
2525
  r += c;
2522
2526
  for (; o-- > 0; )
@@ -2526,7 +2530,7 @@ function is(e, t) {
2526
2530
  }
2527
2531
  return r;
2528
2532
  }
2529
- function ss(e) {
2533
+ function os(e) {
2530
2534
  var t = e.hourCycle;
2531
2535
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2532
2536
  e.hourCycles && // @ts-ignore
@@ -2545,23 +2549,23 @@ function ss(e) {
2545
2549
  }
2546
2550
  var r = e.language, n;
2547
2551
  r !== "root" && (n = e.maximize().region);
2548
- var i = $t[n || ""] || $t[r || ""] || $t["".concat(r, "-001")] || $t["001"];
2552
+ var i = Qt[n || ""] || Qt[r || ""] || Qt["".concat(r, "-001")] || Qt["001"];
2549
2553
  return i[0];
2550
2554
  }
2551
- var gr, os = new RegExp("^".concat(Rn.source, "*")), as = new RegExp("".concat(Rn.source, "*$"));
2555
+ var yr, as = new RegExp("^".concat(Rn.source, "*")), ls = new RegExp("".concat(Rn.source, "*$"));
2552
2556
  function H(e, t) {
2553
2557
  return { start: e, end: t };
2554
2558
  }
2555
- var ls = !!String.prototype.startsWith && "_a".startsWith("a", 1), us = !!String.fromCodePoint, cs = !!Object.fromEntries, hs = !!String.prototype.codePointAt, fs = !!String.prototype.trimStart, ds = !!String.prototype.trimEnd, ms = !!Number.isSafeInteger, ps = ms ? Number.isSafeInteger : function(e) {
2559
+ var us = !!String.prototype.startsWith && "_a".startsWith("a", 1), cs = !!String.fromCodePoint, hs = !!Object.fromEntries, fs = !!String.prototype.codePointAt, ds = !!String.prototype.trimStart, ms = !!String.prototype.trimEnd, ps = !!Number.isSafeInteger, gs = ps ? Number.isSafeInteger : function(e) {
2556
2560
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2557
- }, xr = !0;
2561
+ }, wr = !0;
2558
2562
  try {
2559
- var gs = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2560
- xr = ((gr = gs.exec("a")) === null || gr === void 0 ? void 0 : gr[0]) === "a";
2563
+ var bs = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2564
+ wr = ((yr = bs.exec("a")) === null || yr === void 0 ? void 0 : yr[0]) === "a";
2561
2565
  } catch (e) {
2562
- xr = !1;
2566
+ wr = !1;
2563
2567
  }
2564
- var Zr = ls ? (
2568
+ var Zr = us ? (
2565
2569
  // Native
2566
2570
  function(t, r, n) {
2567
2571
  return t.startsWith(r, n);
@@ -2571,7 +2575,7 @@ var Zr = ls ? (
2571
2575
  function(t, r, n) {
2572
2576
  return t.slice(n, n + r.length) === r;
2573
2577
  }
2574
- ), Ar = us ? String.fromCodePoint : (
2578
+ ), Sr = cs ? String.fromCodePoint : (
2575
2579
  // IE11
2576
2580
  function() {
2577
2581
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2585,7 +2589,7 @@ var Zr = ls ? (
2585
2589
  }
2586
2590
  ), $r = (
2587
2591
  // native
2588
- cs ? Object.fromEntries : (
2592
+ hs ? Object.fromEntries : (
2589
2593
  // Ponyfill
2590
2594
  function(t) {
2591
2595
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2595,7 +2599,7 @@ var Zr = ls ? (
2595
2599
  return r;
2596
2600
  }
2597
2601
  )
2598
- ), Gn = hs ? (
2602
+ ), Gn = fs ? (
2599
2603
  // Native
2600
2604
  function(t, r) {
2601
2605
  return t.codePointAt(r);
@@ -2609,7 +2613,7 @@ var Zr = ls ? (
2609
2613
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2610
2614
  }
2611
2615
  }
2612
- ), bs = fs ? (
2616
+ ), ys = ds ? (
2613
2617
  // Native
2614
2618
  function(t) {
2615
2619
  return t.trimStart();
@@ -2617,9 +2621,9 @@ var Zr = ls ? (
2617
2621
  ) : (
2618
2622
  // Ponyfill
2619
2623
  function(t) {
2620
- return t.replace(os, "");
2624
+ return t.replace(as, "");
2621
2625
  }
2622
- ), ys = ds ? (
2626
+ ), _s = ms ? (
2623
2627
  // Native
2624
2628
  function(t) {
2625
2629
  return t.trimEnd();
@@ -2627,32 +2631,32 @@ var Zr = ls ? (
2627
2631
  ) : (
2628
2632
  // Ponyfill
2629
2633
  function(t) {
2630
- return t.replace(as, "");
2634
+ return t.replace(ls, "");
2631
2635
  }
2632
2636
  );
2633
2637
  function jn(e, t) {
2634
2638
  return new RegExp(e, t);
2635
2639
  }
2636
- var wr;
2637
- if (xr) {
2640
+ var Tr;
2641
+ if (wr) {
2638
2642
  var Qr = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2639
- wr = function(t, r) {
2643
+ Tr = function(t, r) {
2640
2644
  var n;
2641
2645
  Qr.lastIndex = r;
2642
2646
  var i = Qr.exec(t);
2643
2647
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2644
2648
  };
2645
2649
  } else
2646
- wr = function(t, r) {
2650
+ Tr = function(t, r) {
2647
2651
  for (var n = []; ; ) {
2648
2652
  var i = Gn(t, r);
2649
- if (i === void 0 || zn(i) || Cs(i))
2653
+ if (i === void 0 || zn(i) || xs(i))
2650
2654
  break;
2651
2655
  n.push(i), r += i >= 65536 ? 2 : 1;
2652
2656
  }
2653
- return Ar.apply(void 0, n);
2657
+ return Sr.apply(void 0, n);
2654
2658
  };
2655
- var _s = (
2659
+ var Es = (
2656
2660
  /** @class */
2657
2661
  function() {
2658
2662
  function e(t, r) {
@@ -2676,14 +2680,14 @@ var _s = (
2676
2680
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2677
2681
  var l = this.clonePosition();
2678
2682
  this.bump(), i.push({
2679
- type: L.pound,
2683
+ type: I.pound,
2680
2684
  location: H(l, this.clonePosition())
2681
2685
  });
2682
2686
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2683
2687
  if (n)
2684
2688
  break;
2685
2689
  return this.error(w.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2686
- } else if (s === 60 && !this.ignoreTag && Tr(this.peek() || 0)) {
2690
+ } else if (s === 60 && !this.ignoreTag && Hr(this.peek() || 0)) {
2687
2691
  var o = this.parseTag(t, r);
2688
2692
  if (o.err)
2689
2693
  return o;
@@ -2704,7 +2708,7 @@ var _s = (
2704
2708
  if (this.bumpSpace(), this.bumpIf("/>"))
2705
2709
  return {
2706
2710
  val: {
2707
- type: L.literal,
2711
+ type: I.literal,
2708
2712
  value: "<".concat(i, "/>"),
2709
2713
  location: H(n, this.clonePosition())
2710
2714
  },
@@ -2716,12 +2720,12 @@ var _s = (
2716
2720
  return s;
2717
2721
  var o = s.val, l = this.clonePosition();
2718
2722
  if (this.bumpIf("</")) {
2719
- if (this.isEOF() || !Tr(this.char()))
2723
+ if (this.isEOF() || !Hr(this.char()))
2720
2724
  return this.error(w.INVALID_TAG, H(l, this.clonePosition()));
2721
2725
  var c = this.clonePosition(), a = this.parseTagName();
2722
2726
  return i !== a ? this.error(w.UNMATCHED_CLOSING_TAG, H(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2723
2727
  val: {
2724
- type: L.tag,
2728
+ type: I.tag,
2725
2729
  value: i,
2726
2730
  children: o,
2727
2731
  location: H(n, this.clonePosition())
@@ -2734,7 +2738,7 @@ var _s = (
2734
2738
  return this.error(w.INVALID_TAG, H(n, this.clonePosition()));
2735
2739
  }, e.prototype.parseTagName = function() {
2736
2740
  var t = this.offset();
2737
- for (this.bump(); !this.isEOF() && vs(this.char()); )
2741
+ for (this.bump(); !this.isEOF() && Cs(this.char()); )
2738
2742
  this.bump();
2739
2743
  return this.message.slice(t, this.offset());
2740
2744
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2758,12 +2762,12 @@ var _s = (
2758
2762
  }
2759
2763
  var c = H(n, this.clonePosition());
2760
2764
  return {
2761
- val: { type: L.literal, value: i, location: c },
2765
+ val: { type: I.literal, value: i, location: c },
2762
2766
  err: null
2763
2767
  };
2764
2768
  }, e.prototype.tryParseLeftAngleBracket = function() {
2765
2769
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2766
- !Es(this.peek() || 0)) ? (this.bump(), "<") : null;
2770
+ !vs(this.peek() || 0)) ? (this.bump(), "<") : null;
2767
2771
  }, e.prototype.tryParseQuote = function(t) {
2768
2772
  if (this.isEOF() || this.char() !== 39)
2769
2773
  return null;
@@ -2797,12 +2801,12 @@ var _s = (
2797
2801
  r.push(n);
2798
2802
  this.bump();
2799
2803
  }
2800
- return Ar.apply(void 0, r);
2804
+ return Sr.apply(void 0, r);
2801
2805
  }, e.prototype.tryParseUnquoted = function(t, r) {
2802
2806
  if (this.isEOF())
2803
2807
  return null;
2804
2808
  var n = this.char();
2805
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ar(n));
2809
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Sr(n));
2806
2810
  }, e.prototype.parseArgument = function(t, r) {
2807
2811
  var n = this.clonePosition();
2808
2812
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2818,7 +2822,7 @@ var _s = (
2818
2822
  case 125:
2819
2823
  return this.bump(), {
2820
2824
  val: {
2821
- type: L.argument,
2825
+ type: I.argument,
2822
2826
  // value does not include the opening and closing braces.
2823
2827
  value: i,
2824
2828
  location: H(n, this.clonePosition())
@@ -2831,7 +2835,7 @@ var _s = (
2831
2835
  return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
2832
2836
  }
2833
2837
  }, e.prototype.parseIdentifierIfPossible = function() {
2834
- var t = this.clonePosition(), r = this.offset(), n = wr(this.message, r), i = r + n.length;
2838
+ var t = this.clonePosition(), r = this.offset(), n = Tr(this.message, r), i = r + n.length;
2835
2839
  this.bumpTo(i);
2836
2840
  var s = this.clonePosition(), o = H(t, s);
2837
2841
  return { value: n, location: o };
@@ -2850,7 +2854,7 @@ var _s = (
2850
2854
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2851
2855
  if (d.err)
2852
2856
  return d;
2853
- var m = ys(d.val);
2857
+ var m = _s(d.val);
2854
2858
  if (m.length === 0)
2855
2859
  return this.error(w.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2856
2860
  var E = H(h, this.clonePosition());
@@ -2861,24 +2865,24 @@ var _s = (
2861
2865
  return _;
2862
2866
  var v = H(i, this.clonePosition());
2863
2867
  if (a && Zr(a == null ? void 0 : a.style, "::", 0)) {
2864
- var O = bs(a.style.slice(2));
2868
+ var P = ys(a.style.slice(2));
2865
2869
  if (l === "number") {
2866
- var d = this.parseNumberSkeletonFromString(O, a.styleLocation);
2870
+ var d = this.parseNumberSkeletonFromString(P, a.styleLocation);
2867
2871
  return d.err ? d : {
2868
- val: { type: L.number, value: n, location: v, style: d.val },
2872
+ val: { type: I.number, value: n, location: v, style: d.val },
2869
2873
  err: null
2870
2874
  };
2871
2875
  } else {
2872
- if (O.length === 0)
2876
+ if (P.length === 0)
2873
2877
  return this.error(w.EXPECT_DATE_TIME_SKELETON, v);
2874
- var S = O;
2875
- this.locale && (S = is(O, this.locale));
2878
+ var T = P;
2879
+ this.locale && (T = ss(P, this.locale));
2876
2880
  var m = {
2877
- type: dt.dateTime,
2878
- pattern: S,
2881
+ type: mt.dateTime,
2882
+ pattern: T,
2879
2883
  location: a.styleLocation,
2880
- parsedOptions: this.shouldParseSkeletons ? Ji(S) : {}
2881
- }, z = l === "date" ? L.date : L.time;
2884
+ parsedOptions: this.shouldParseSkeletons ? Yi(T) : {}
2885
+ }, z = l === "date" ? I.date : I.time;
2882
2886
  return {
2883
2887
  val: { type: z, value: n, location: v, style: m },
2884
2888
  err: null
@@ -2887,7 +2891,7 @@ var _s = (
2887
2891
  }
2888
2892
  return {
2889
2893
  val: {
2890
- type: l === "number" ? L.number : l === "date" ? L.date : L.time,
2894
+ type: l === "number" ? I.number : l === "date" ? I.date : I.time,
2891
2895
  value: n,
2892
2896
  location: v,
2893
2897
  style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
@@ -2898,9 +2902,9 @@ var _s = (
2898
2902
  case "plural":
2899
2903
  case "selectordinal":
2900
2904
  case "select": {
2901
- var N = this.clonePosition();
2905
+ var M = this.clonePosition();
2902
2906
  if (this.bumpSpace(), !this.bumpIf(","))
2903
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(N, P({}, N)));
2907
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(M, er({}, M)));
2904
2908
  this.bumpSpace();
2905
2909
  var V = this.parseIdentifierIfPossible(), X = 0;
2906
2910
  if (l !== "select" && V.value === "offset") {
@@ -2918,23 +2922,23 @@ var _s = (
2918
2922
  var _ = this.tryParseArgumentClose(i);
2919
2923
  if (_.err)
2920
2924
  return _;
2921
- var we = H(i, this.clonePosition());
2925
+ var Se = H(i, this.clonePosition());
2922
2926
  return l === "select" ? {
2923
2927
  val: {
2924
- type: L.select,
2928
+ type: I.select,
2925
2929
  value: n,
2926
2930
  options: $r(me.val),
2927
- location: we
2931
+ location: Se
2928
2932
  },
2929
2933
  err: null
2930
2934
  } : {
2931
2935
  val: {
2932
- type: L.plural,
2936
+ type: I.plural,
2933
2937
  value: n,
2934
2938
  options: $r(me.val),
2935
2939
  offset: X,
2936
2940
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2937
- location: we
2941
+ location: Se
2938
2942
  },
2939
2943
  err: null
2940
2944
  };
@@ -2982,16 +2986,16 @@ var _s = (
2982
2986
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2983
2987
  var n = [];
2984
2988
  try {
2985
- n = Ki(t);
2989
+ n = es(t);
2986
2990
  } catch (i) {
2987
2991
  return this.error(w.INVALID_NUMBER_SKELETON, r);
2988
2992
  }
2989
2993
  return {
2990
2994
  val: {
2991
- type: dt.number,
2995
+ type: mt.number,
2992
2996
  tokens: n,
2993
2997
  location: r,
2994
- parsedOptions: this.shouldParseSkeletons ? ns(n) : {}
2998
+ parsedOptions: this.shouldParseSkeletons ? is(n) : {}
2995
2999
  },
2996
3000
  err: null
2997
3001
  };
@@ -3039,7 +3043,7 @@ var _s = (
3039
3043
  break;
3040
3044
  }
3041
3045
  var c = H(i, this.clonePosition());
3042
- return s ? (o *= n, ps(o) ? { val: o, err: null } : this.error(r, c)) : this.error(t, c);
3046
+ return s ? (o *= n, gs(o) ? { val: o, err: null } : this.error(r, c)) : this.error(t, c);
3043
3047
  }, e.prototype.offset = function() {
3044
3048
  return this.position.offset;
3045
3049
  }, e.prototype.isEOF = function() {
@@ -3105,47 +3109,47 @@ var _s = (
3105
3109
  }, e;
3106
3110
  }()
3107
3111
  );
3108
- function Tr(e) {
3112
+ function Hr(e) {
3109
3113
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3110
3114
  }
3111
- function Es(e) {
3112
- return Tr(e) || e === 47;
3113
- }
3114
3115
  function vs(e) {
3116
+ return Hr(e) || e === 47;
3117
+ }
3118
+ function Cs(e) {
3115
3119
  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;
3116
3120
  }
3117
3121
  function zn(e) {
3118
3122
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3119
3123
  }
3120
- function Cs(e) {
3124
+ function xs(e) {
3121
3125
  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;
3122
3126
  }
3123
- function Sr(e) {
3127
+ function Br(e) {
3124
3128
  e.forEach(function(t) {
3125
3129
  if (delete t.location, Nn(t) || kn(t))
3126
3130
  for (var r in t.options)
3127
- delete t.options[r].location, Sr(t.options[r].value);
3131
+ delete t.options[r].location, Br(t.options[r].value);
3128
3132
  else
3129
- Pn(t) && Ln(t.style) || (On(t) || Mn(t)) && Cr(t.style) ? delete t.style.location : In(t) && Sr(t.children);
3133
+ Pn(t) && Ln(t.style) || (On(t) || Mn(t)) && Ar(t.style) ? delete t.style.location : In(t) && Br(t.children);
3130
3134
  });
3131
3135
  }
3132
- function xs(e, t) {
3133
- t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3134
- var r = new _s(e, t).parse();
3136
+ function As(e, t) {
3137
+ t === void 0 && (t = {}), t = er({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3138
+ var r = new Es(e, t).parse();
3135
3139
  if (r.err) {
3136
3140
  var n = SyntaxError(w[r.err.kind]);
3137
3141
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3138
3142
  }
3139
- return t != null && t.captureLocation || Sr(r.val), r.val;
3143
+ return t != null && t.captureLocation || Br(r.val), r.val;
3140
3144
  }
3141
- var mt;
3145
+ var pt;
3142
3146
  (function(e) {
3143
3147
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3144
- })(mt || (mt = {}));
3145
- var nr = (
3148
+ })(pt || (pt = {}));
3149
+ var sr = (
3146
3150
  /** @class */
3147
3151
  function(e) {
3148
- rr(t, e);
3152
+ ir(t, e);
3149
3153
  function t(r, n, i) {
3150
3154
  var s = e.call(this, r) || this;
3151
3155
  return s.code = n, s.originalMessage = i, s;
@@ -3157,30 +3161,30 @@ var nr = (
3157
3161
  ), Jr = (
3158
3162
  /** @class */
3159
3163
  function(e) {
3160
- rr(t, e);
3164
+ ir(t, e);
3161
3165
  function t(r, n, i, s) {
3162
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), mt.INVALID_VALUE, s) || this;
3166
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pt.INVALID_VALUE, s) || this;
3163
3167
  }
3164
3168
  return t;
3165
- }(nr)
3166
- ), As = (
3169
+ }(sr)
3170
+ ), ws = (
3167
3171
  /** @class */
3168
3172
  function(e) {
3169
- rr(t, e);
3173
+ ir(t, e);
3170
3174
  function t(r, n, i) {
3171
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), mt.INVALID_VALUE, i) || this;
3175
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pt.INVALID_VALUE, i) || this;
3172
3176
  }
3173
3177
  return t;
3174
- }(nr)
3175
- ), ws = (
3178
+ }(sr)
3179
+ ), Ss = (
3176
3180
  /** @class */
3177
3181
  function(e) {
3178
- rr(t, e);
3182
+ ir(t, e);
3179
3183
  function t(r, n) {
3180
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), mt.MISSING_VALUE, n) || this;
3184
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pt.MISSING_VALUE, n) || this;
3181
3185
  }
3182
3186
  return t;
3183
- }(nr)
3187
+ }(sr)
3184
3188
  ), ee;
3185
3189
  (function(e) {
3186
3190
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3191,10 +3195,10 @@ function Ts(e) {
3191
3195
  return !n || n.type !== ee.literal || r.type !== ee.literal ? t.push(r) : n.value += r.value, t;
3192
3196
  }, []);
3193
3197
  }
3194
- function Ss(e) {
3198
+ function Hs(e) {
3195
3199
  return typeof e == "function";
3196
3200
  }
3197
- function Jt(e, t, r, n, i, s, o) {
3201
+ function Yt(e, t, r, n, i, s, o) {
3198
3202
  if (e.length === 1 && Vr(e[0]))
3199
3203
  return [
3200
3204
  {
@@ -3211,7 +3215,7 @@ function Jt(e, t, r, n, i, s, o) {
3211
3215
  });
3212
3216
  continue;
3213
3217
  }
3214
- if ($i(h)) {
3218
+ if (Qi(h)) {
3215
3219
  typeof s == "number" && l.push({
3216
3220
  type: ee.literal,
3217
3221
  value: r.getNumberFormat(t).format(s)
@@ -3220,9 +3224,9 @@ function Jt(e, t, r, n, i, s, o) {
3220
3224
  }
3221
3225
  var d = h.value;
3222
3226
  if (!(i && d in i))
3223
- throw new ws(d, o);
3227
+ throw new Ss(d, o);
3224
3228
  var m = i[d];
3225
- if (Zi(h)) {
3229
+ if ($i(h)) {
3226
3230
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
3227
3231
  type: typeof m == "string" ? ee.literal : ee.object,
3228
3232
  value: m
@@ -3230,7 +3234,7 @@ function Jt(e, t, r, n, i, s, o) {
3230
3234
  continue;
3231
3235
  }
3232
3236
  if (On(h)) {
3233
- var E = typeof h.style == "string" ? n.date[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
3237
+ var E = typeof h.style == "string" ? n.date[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
3234
3238
  l.push({
3235
3239
  type: ee.literal,
3236
3240
  value: r.getDateTimeFormat(t, E).format(m)
@@ -3238,7 +3242,7 @@ function Jt(e, t, r, n, i, s, o) {
3238
3242
  continue;
3239
3243
  }
3240
3244
  if (Mn(h)) {
3241
- var E = typeof h.style == "string" ? n.time[h.style] : Cr(h.style) ? h.style.parsedOptions : n.time.medium;
3245
+ var E = typeof h.style == "string" ? n.time[h.style] : Ar(h.style) ? h.style.parsedOptions : n.time.medium;
3242
3246
  l.push({
3243
3247
  type: ee.literal,
3244
3248
  value: r.getDateTimeFormat(t, E).format(m)
@@ -3254,10 +3258,10 @@ function Jt(e, t, r, n, i, s, o) {
3254
3258
  continue;
3255
3259
  }
3256
3260
  if (In(h)) {
3257
- var _ = h.children, v = h.value, O = i[v];
3258
- if (!Ss(O))
3259
- throw new As(v, "function", o);
3260
- var S = Jt(_, t, r, n, i, s), z = O(S.map(function(X) {
3261
+ var _ = h.children, v = h.value, P = i[v];
3262
+ if (!Hs(P))
3263
+ throw new ws(v, "function", o);
3264
+ var T = Yt(_, t, r, n, i, s), z = P(T.map(function(X) {
3261
3265
  return X.value;
3262
3266
  }));
3263
3267
  Array.isArray(z) || (z = [z]), l.push.apply(l, z.map(function(X) {
@@ -3268,41 +3272,41 @@ function Jt(e, t, r, n, i, s, o) {
3268
3272
  }));
3269
3273
  }
3270
3274
  if (Nn(h)) {
3271
- var N = h.options[m] || h.options.other;
3272
- if (!N)
3275
+ var M = h.options[m] || h.options.other;
3276
+ if (!M)
3273
3277
  throw new Jr(h.value, m, Object.keys(h.options), o);
3274
- l.push.apply(l, Jt(N.value, t, r, n, i));
3278
+ l.push.apply(l, Yt(M.value, t, r, n, i));
3275
3279
  continue;
3276
3280
  }
3277
3281
  if (kn(h)) {
3278
- var N = h.options["=".concat(m)];
3279
- if (!N) {
3282
+ var M = h.options["=".concat(m)];
3283
+ if (!M) {
3280
3284
  if (!Intl.PluralRules)
3281
- throw new nr(`Intl.PluralRules is not available in this environment.
3285
+ throw new sr(`Intl.PluralRules is not available in this environment.
3282
3286
  Try polyfilling it using "@formatjs/intl-pluralrules"
3283
- `, mt.MISSING_INTL_API, o);
3287
+ `, pt.MISSING_INTL_API, o);
3284
3288
  var V = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3285
- N = h.options[V] || h.options.other;
3289
+ M = h.options[V] || h.options.other;
3286
3290
  }
3287
- if (!N)
3291
+ if (!M)
3288
3292
  throw new Jr(h.value, m, Object.keys(h.options), o);
3289
- l.push.apply(l, Jt(N.value, t, r, n, i, m - (h.offset || 0)));
3293
+ l.push.apply(l, Yt(M.value, t, r, n, i, m - (h.offset || 0)));
3290
3294
  continue;
3291
3295
  }
3292
3296
  }
3293
3297
  return Ts(l);
3294
3298
  }
3295
- function Hs(e, t) {
3296
- return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3297
- return r[n] = P(P({}, e[n]), t[n] || {}), r;
3299
+ function Bs(e, t) {
3300
+ return t ? we(we(we({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3301
+ return r[n] = we(we({}, e[n]), t[n] || {}), r;
3298
3302
  }, {})) : e;
3299
3303
  }
3300
- function Bs(e, t) {
3304
+ function Ps(e, t) {
3301
3305
  return t ? Object.keys(e).reduce(function(r, n) {
3302
- return r[n] = Hs(e[n], t[n]), r;
3303
- }, P({}, e)) : e;
3306
+ return r[n] = Bs(e[n], t[n]), r;
3307
+ }, we({}, e)) : e;
3304
3308
  }
3305
- function br(e) {
3309
+ function _r(e) {
3306
3310
  return {
3307
3311
  create: function() {
3308
3312
  return {
@@ -3316,39 +3320,39 @@ function br(e) {
3316
3320
  }
3317
3321
  };
3318
3322
  }
3319
- function Ps(e) {
3323
+ function Os(e) {
3320
3324
  return e === void 0 && (e = {
3321
3325
  number: {},
3322
3326
  dateTime: {},
3323
3327
  pluralRules: {}
3324
3328
  }), {
3325
- getNumberFormat: mr(function() {
3329
+ getNumberFormat: gr(function() {
3326
3330
  for (var t, r = [], n = 0; n < arguments.length; n++)
3327
3331
  r[n] = arguments[n];
3328
- return new ((t = Intl.NumberFormat).bind.apply(t, dr([void 0], r, !1)))();
3332
+ return new ((t = Intl.NumberFormat).bind.apply(t, pr([void 0], r, !1)))();
3329
3333
  }, {
3330
- cache: br(e.number),
3331
- strategy: pr.variadic
3334
+ cache: _r(e.number),
3335
+ strategy: br.variadic
3332
3336
  }),
3333
- getDateTimeFormat: mr(function() {
3337
+ getDateTimeFormat: gr(function() {
3334
3338
  for (var t, r = [], n = 0; n < arguments.length; n++)
3335
3339
  r[n] = arguments[n];
3336
- return new ((t = Intl.DateTimeFormat).bind.apply(t, dr([void 0], r, !1)))();
3340
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, pr([void 0], r, !1)))();
3337
3341
  }, {
3338
- cache: br(e.dateTime),
3339
- strategy: pr.variadic
3342
+ cache: _r(e.dateTime),
3343
+ strategy: br.variadic
3340
3344
  }),
3341
- getPluralRules: mr(function() {
3345
+ getPluralRules: gr(function() {
3342
3346
  for (var t, r = [], n = 0; n < arguments.length; n++)
3343
3347
  r[n] = arguments[n];
3344
- return new ((t = Intl.PluralRules).bind.apply(t, dr([void 0], r, !1)))();
3348
+ return new ((t = Intl.PluralRules).bind.apply(t, pr([void 0], r, !1)))();
3345
3349
  }, {
3346
- cache: br(e.pluralRules),
3347
- strategy: pr.variadic
3350
+ cache: _r(e.pluralRules),
3351
+ strategy: br.variadic
3348
3352
  })
3349
3353
  };
3350
3354
  }
3351
- var Os = (
3355
+ var Ms = (
3352
3356
  /** @class */
3353
3357
  function() {
3354
3358
  function e(t, r, n, i) {
@@ -3367,7 +3371,7 @@ var Os = (
3367
3371
  }, []);
3368
3372
  return h.length <= 1 ? h[0] || "" : h;
3369
3373
  }, this.formatToParts = function(c) {
3370
- return Jt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3374
+ return Yt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3371
3375
  }, this.resolvedOptions = function() {
3372
3376
  var c;
3373
3377
  return {
@@ -3381,12 +3385,12 @@ var Os = (
3381
3385
  var o = i || {};
3382
3386
  o.formatters;
3383
3387
  var l = Gi(o, ["formatters"]);
3384
- this.ast = e.__parse(t, P(P({}, l), { locale: this.resolvedLocale }));
3388
+ this.ast = e.__parse(t, we(we({}, l), { locale: this.resolvedLocale }));
3385
3389
  } else
3386
3390
  this.ast = t;
3387
3391
  if (!Array.isArray(this.ast))
3388
3392
  throw new TypeError("A message must be provided as a String or AST.");
3389
- this.formats = Bs(e.formats, n), this.formatters = i && i.formatters || Ps(this.formatterCache);
3393
+ this.formats = Ps(e.formats, n), this.formatters = i && i.formatters || Os(this.formatterCache);
3390
3394
  }
3391
3395
  return Object.defineProperty(e, "defaultLocale", {
3392
3396
  get: function() {
@@ -3399,7 +3403,7 @@ var Os = (
3399
3403
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3400
3404
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3401
3405
  }
3402
- }, e.__parse = xs, e.formats = {
3406
+ }, e.__parse = As, e.formats = {
3403
3407
  number: {
3404
3408
  integer: {
3405
3409
  maximumFractionDigits: 0
@@ -3460,7 +3464,7 @@ var Os = (
3460
3464
  }, e;
3461
3465
  }()
3462
3466
  );
3463
- function Ms(e, t) {
3467
+ function Ns(e, t) {
3464
3468
  if (t == null)
3465
3469
  return;
3466
3470
  if (t in e)
@@ -3481,36 +3485,36 @@ function Ms(e, t) {
3481
3485
  n = void 0;
3482
3486
  return n;
3483
3487
  }
3484
- const Le = {}, Ns = (e, t, r) => r && (t in Le || (Le[t] = {}), e in Le[t] || (Le[t][e] = r), r), Vn = (e, t) => {
3488
+ const Re = {}, ks = (e, t, r) => r && (t in Re || (Re[t] = {}), e in Re[t] || (Re[t][e] = r), r), Vn = (e, t) => {
3485
3489
  if (t == null)
3486
3490
  return;
3487
- if (t in Le && e in Le[t])
3488
- return Le[t][e];
3489
- const r = ir(t);
3491
+ if (t in Re && e in Re[t])
3492
+ return Re[t][e];
3493
+ const r = or(t);
3490
3494
  for (let n = 0; n < r.length; n++) {
3491
- const i = r[n], s = Is(i, e);
3495
+ const i = r[n], s = Ls(i, e);
3492
3496
  if (s)
3493
- return Ns(e, t, s);
3497
+ return ks(e, t, s);
3494
3498
  }
3495
3499
  };
3496
3500
  let kr;
3497
- const yt = tr({});
3498
- function ks(e) {
3501
+ const _t = nr({});
3502
+ function Is(e) {
3499
3503
  return kr[e] || null;
3500
3504
  }
3501
3505
  function Xn(e) {
3502
3506
  return e in kr;
3503
3507
  }
3504
- function Is(e, t) {
3508
+ function Ls(e, t) {
3505
3509
  if (!Xn(e))
3506
3510
  return null;
3507
- const r = ks(e);
3508
- return Ms(r, t);
3511
+ const r = Is(e);
3512
+ return Ns(r, t);
3509
3513
  }
3510
- function Ls(e) {
3514
+ function Rs(e) {
3511
3515
  if (e == null)
3512
3516
  return;
3513
- const t = ir(e);
3517
+ const t = or(e);
3514
3518
  for (let r = 0; r < t.length; r++) {
3515
3519
  const n = t[r];
3516
3520
  if (Xn(n))
@@ -3518,55 +3522,55 @@ function Ls(e) {
3518
3522
  }
3519
3523
  }
3520
3524
  function Wn(e, ...t) {
3521
- delete Le[e], yt.update((r) => (r[e] = Di.all([r[e] || {}, ...t]), r));
3525
+ delete Re[e], _t.update((r) => (r[e] = Di.all([r[e] || {}, ...t]), r));
3522
3526
  }
3523
- bt(
3524
- [yt],
3527
+ yt(
3528
+ [_t],
3525
3529
  ([e]) => Object.keys(e)
3526
3530
  );
3527
- yt.subscribe((e) => kr = e);
3528
- const Yt = {};
3529
- function Rs(e, t) {
3530
- Yt[e].delete(t), Yt[e].size === 0 && delete Yt[e];
3531
+ _t.subscribe((e) => kr = e);
3532
+ const Kt = {};
3533
+ function Us(e, t) {
3534
+ Kt[e].delete(t), Kt[e].size === 0 && delete Kt[e];
3531
3535
  }
3532
3536
  function qn(e) {
3533
- return Yt[e];
3537
+ return Kt[e];
3534
3538
  }
3535
- function Us(e) {
3536
- return ir(e).map((t) => {
3539
+ function Fs(e) {
3540
+ return or(e).map((t) => {
3537
3541
  const r = qn(t);
3538
3542
  return [t, r ? [...r] : []];
3539
3543
  }).filter(([, t]) => t.length > 0);
3540
3544
  }
3541
- function Hr(e) {
3542
- return e == null ? !1 : ir(e).some(
3545
+ function Pr(e) {
3546
+ return e == null ? !1 : or(e).some(
3543
3547
  (t) => {
3544
3548
  var r;
3545
3549
  return (r = qn(t)) == null ? void 0 : r.size;
3546
3550
  }
3547
3551
  );
3548
3552
  }
3549
- function Fs(e, t) {
3553
+ function Ds(e, t) {
3550
3554
  return Promise.all(
3551
- t.map((n) => (Rs(e, n), n().then((i) => i.default || i)))
3555
+ t.map((n) => (Us(e, n), n().then((i) => i.default || i)))
3552
3556
  ).then((n) => Wn(e, ...n));
3553
3557
  }
3554
- const Pt = {};
3558
+ const Ot = {};
3555
3559
  function Zn(e) {
3556
- if (!Hr(e))
3557
- return e in Pt ? Pt[e] : Promise.resolve();
3558
- const t = Us(e);
3559
- return Pt[e] = Promise.all(
3560
+ if (!Pr(e))
3561
+ return e in Ot ? Ot[e] : Promise.resolve();
3562
+ const t = Fs(e);
3563
+ return Ot[e] = Promise.all(
3560
3564
  t.map(
3561
- ([r, n]) => Fs(r, n)
3565
+ ([r, n]) => Ds(r, n)
3562
3566
  )
3563
3567
  ).then(() => {
3564
- if (Hr(e))
3568
+ if (Pr(e))
3565
3569
  return Zn(e);
3566
- delete Pt[e];
3567
- }), Pt[e];
3570
+ delete Ot[e];
3571
+ }), Ot[e];
3568
3572
  }
3569
- const Ds = {
3573
+ const Gs = {
3570
3574
  number: {
3571
3575
  scientific: { notation: "scientific" },
3572
3576
  engineering: { notation: "engineering" },
@@ -3595,141 +3599,141 @@ const Ds = {
3595
3599
  timeZoneName: "short"
3596
3600
  }
3597
3601
  }
3598
- }, Gs = {
3602
+ }, js = {
3599
3603
  fallbackLocale: null,
3600
3604
  loadingDelay: 200,
3601
- formats: Ds,
3605
+ formats: Gs,
3602
3606
  warnOnMissingMessages: !0,
3603
3607
  handleMissingMessage: void 0,
3604
3608
  ignoreTag: !0
3605
- }, js = Gs;
3606
- function pt() {
3607
- return js;
3609
+ }, zs = js;
3610
+ function gt() {
3611
+ return zs;
3608
3612
  }
3609
- const yr = tr(!1);
3610
- var zs = Object.defineProperty, Vs = Object.defineProperties, Xs = Object.getOwnPropertyDescriptors, Yr = Object.getOwnPropertySymbols, Ws = Object.prototype.hasOwnProperty, qs = Object.prototype.propertyIsEnumerable, Kr = (e, t, r) => t in e ? zs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zs = (e, t) => {
3613
+ const Er = nr(!1);
3614
+ var Vs = Object.defineProperty, Xs = Object.defineProperties, Ws = Object.getOwnPropertyDescriptors, Yr = Object.getOwnPropertySymbols, qs = Object.prototype.hasOwnProperty, Zs = Object.prototype.propertyIsEnumerable, Kr = (e, t, r) => t in e ? Vs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $s = (e, t) => {
3611
3615
  for (var r in t || (t = {}))
3612
- Ws.call(t, r) && Kr(e, r, t[r]);
3616
+ qs.call(t, r) && Kr(e, r, t[r]);
3613
3617
  if (Yr)
3614
3618
  for (var r of Yr(t))
3615
- qs.call(t, r) && Kr(e, r, t[r]);
3619
+ Zs.call(t, r) && Kr(e, r, t[r]);
3616
3620
  return e;
3617
- }, $s = (e, t) => Vs(e, Xs(t));
3618
- let Br;
3619
- const Kt = tr(null);
3621
+ }, Qs = (e, t) => Xs(e, Ws(t));
3622
+ let Or;
3623
+ const tr = nr(null);
3620
3624
  function en(e) {
3621
3625
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3622
3626
  }
3623
- function ir(e, t = pt().fallbackLocale) {
3627
+ function or(e, t = gt().fallbackLocale) {
3624
3628
  const r = en(e);
3625
3629
  return t ? [.../* @__PURE__ */ new Set([...r, ...en(t)])] : r;
3626
3630
  }
3627
- function Ve() {
3628
- return Br != null ? Br : void 0;
3631
+ function Xe() {
3632
+ return Or != null ? Or : void 0;
3629
3633
  }
3630
- Kt.subscribe((e) => {
3631
- Br = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3634
+ tr.subscribe((e) => {
3635
+ Or = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3632
3636
  });
3633
- const Qs = (e) => {
3634
- if (e && Ls(e) && Hr(e)) {
3635
- const { loadingDelay: t } = pt();
3637
+ const Js = (e) => {
3638
+ if (e && Rs(e) && Pr(e)) {
3639
+ const { loadingDelay: t } = gt();
3636
3640
  let r;
3637
- return typeof window != "undefined" && Ve() != null && t ? r = window.setTimeout(
3638
- () => yr.set(!0),
3641
+ return typeof window != "undefined" && Xe() != null && t ? r = window.setTimeout(
3642
+ () => Er.set(!0),
3639
3643
  t
3640
- ) : yr.set(!0), Zn(e).then(() => {
3641
- Kt.set(e);
3644
+ ) : Er.set(!0), Zn(e).then(() => {
3645
+ tr.set(e);
3642
3646
  }).finally(() => {
3643
- clearTimeout(r), yr.set(!1);
3647
+ clearTimeout(r), Er.set(!1);
3644
3648
  });
3645
3649
  }
3646
- return Kt.set(e);
3647
- }, Re = $s(Zs({}, Kt), {
3648
- set: Qs
3649
- }), sr = (e) => {
3650
+ return tr.set(e);
3651
+ }, Ue = Qs($s({}, tr), {
3652
+ set: Js
3653
+ }), ar = (e) => {
3650
3654
  const t = /* @__PURE__ */ Object.create(null);
3651
3655
  return (n) => {
3652
3656
  const i = JSON.stringify(n);
3653
3657
  return i in t ? t[i] : t[i] = e(n);
3654
3658
  };
3655
3659
  };
3656
- var Js = Object.defineProperty, er = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, tn = (e, t, r) => t in e ? Js(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ir = (e, t) => {
3660
+ var Ys = Object.defineProperty, rr = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, tn = (e, t, r) => t in e ? Ys(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ir = (e, t) => {
3657
3661
  for (var r in t || (t = {}))
3658
3662
  $n.call(t, r) && tn(e, r, t[r]);
3659
- if (er)
3660
- for (var r of er(t))
3663
+ if (rr)
3664
+ for (var r of rr(t))
3661
3665
  Qn.call(t, r) && tn(e, r, t[r]);
3662
3666
  return e;
3663
- }, _t = (e, t) => {
3667
+ }, Et = (e, t) => {
3664
3668
  var r = {};
3665
3669
  for (var n in e)
3666
3670
  $n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3667
- if (e != null && er)
3668
- for (var n of er(e))
3671
+ if (e != null && rr)
3672
+ for (var n of rr(e))
3669
3673
  t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3670
3674
  return r;
3671
3675
  };
3672
- const kt = (e, t) => {
3673
- const { formats: r } = pt();
3676
+ const It = (e, t) => {
3677
+ const { formats: r } = gt();
3674
3678
  if (e in r && t in r[e])
3675
3679
  return r[e][t];
3676
3680
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3677
- }, Ys = sr(
3681
+ }, Ks = ar(
3678
3682
  (e) => {
3679
- var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3683
+ var t = e, { locale: r, format: n } = t, i = Et(t, ["locale", "format"]);
3680
3684
  if (r == null)
3681
3685
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3682
- return n && (i = kt("number", n)), new Intl.NumberFormat(r, i);
3686
+ return n && (i = It("number", n)), new Intl.NumberFormat(r, i);
3683
3687
  }
3684
- ), Ks = sr(
3688
+ ), eo = ar(
3685
3689
  (e) => {
3686
- var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3690
+ var t = e, { locale: r, format: n } = t, i = Et(t, ["locale", "format"]);
3687
3691
  if (r == null)
3688
3692
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3689
- return n ? i = kt("date", n) : Object.keys(i).length === 0 && (i = kt("date", "short")), new Intl.DateTimeFormat(r, i);
3693
+ return n ? i = It("date", n) : Object.keys(i).length === 0 && (i = It("date", "short")), new Intl.DateTimeFormat(r, i);
3690
3694
  }
3691
- ), eo = sr(
3695
+ ), to = ar(
3692
3696
  (e) => {
3693
- var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3697
+ var t = e, { locale: r, format: n } = t, i = Et(t, ["locale", "format"]);
3694
3698
  if (r == null)
3695
3699
  throw new Error(
3696
3700
  '[svelte-i18n] A "locale" must be set to format time values'
3697
3701
  );
3698
- return n ? i = kt("time", n) : Object.keys(i).length === 0 && (i = kt("time", "short")), new Intl.DateTimeFormat(r, i);
3702
+ return n ? i = It("time", n) : Object.keys(i).length === 0 && (i = It("time", "short")), new Intl.DateTimeFormat(r, i);
3699
3703
  }
3700
- ), to = (e = {}) => {
3704
+ ), ro = (e = {}) => {
3701
3705
  var t = e, {
3702
- locale: r = Ve()
3703
- } = t, n = _t(t, [
3704
- "locale"
3705
- ]);
3706
- return Ys(Ir({ locale: r }, n));
3707
- }, ro = (e = {}) => {
3708
- var t = e, {
3709
- locale: r = Ve()
3710
- } = t, n = _t(t, [
3706
+ locale: r = Xe()
3707
+ } = t, n = Et(t, [
3711
3708
  "locale"
3712
3709
  ]);
3713
3710
  return Ks(Ir({ locale: r }, n));
3714
3711
  }, no = (e = {}) => {
3715
3712
  var t = e, {
3716
- locale: r = Ve()
3717
- } = t, n = _t(t, [
3713
+ locale: r = Xe()
3714
+ } = t, n = Et(t, [
3718
3715
  "locale"
3719
3716
  ]);
3720
3717
  return eo(Ir({ locale: r }, n));
3721
- }, io = sr(
3718
+ }, io = (e = {}) => {
3719
+ var t = e, {
3720
+ locale: r = Xe()
3721
+ } = t, n = Et(t, [
3722
+ "locale"
3723
+ ]);
3724
+ return to(Ir({ locale: r }, n));
3725
+ }, so = ar(
3722
3726
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3723
- (e, t = Ve()) => new Os(e, t, pt().formats, {
3724
- ignoreTag: pt().ignoreTag
3727
+ (e, t = Xe()) => new Ms(e, t, gt().formats, {
3728
+ ignoreTag: gt().ignoreTag
3725
3729
  })
3726
- ), so = (e, t = {}) => {
3730
+ ), oo = (e, t = {}) => {
3727
3731
  var r, n, i, s;
3728
3732
  let o = t;
3729
3733
  typeof e == "object" && (o = e, e = o.id);
3730
3734
  const {
3731
3735
  values: l,
3732
- locale: c = Ve(),
3736
+ locale: c = Xe(),
3733
3737
  default: a
3734
3738
  } = o;
3735
3739
  if (c == null)
@@ -3738,7 +3742,7 @@ const kt = (e, t) => {
3738
3742
  );
3739
3743
  let h = Vn(e, c);
3740
3744
  if (!h)
3741
- h = (s = (i = (n = (r = pt()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3745
+ h = (s = (i = (n = (r = gt()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3742
3746
  else if (typeof h != "string")
3743
3747
  return console.warn(
3744
3748
  `[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.`
@@ -3747,7 +3751,7 @@ const kt = (e, t) => {
3747
3751
  return h;
3748
3752
  let d = h;
3749
3753
  try {
3750
- d = io(h, c).format(l);
3754
+ d = so(h, c).format(l);
3751
3755
  } catch (m) {
3752
3756
  m instanceof Error && console.warn(
3753
3757
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3755,21 +3759,21 @@ const kt = (e, t) => {
3755
3759
  );
3756
3760
  }
3757
3761
  return d;
3758
- }, oo = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = Ve()) => Vn(e, t), co = bt([Re, yt], () => so);
3759
- bt([Re], () => oo);
3760
- bt([Re], () => ao);
3761
- bt([Re], () => lo);
3762
- bt([Re, yt], () => uo);
3763
- function ho({ withLocale: e, translations: t }) {
3764
- Re.subscribe((r) => {
3765
- r == null && (yt.set(t), Re.set(e));
3762
+ }, ao = (e, t) => io(t).format(e), lo = (e, t) => no(t).format(e), uo = (e, t) => ro(t).format(e), co = (e, t = Xe()) => Vn(e, t), ho = yt([Ue, _t], () => oo);
3763
+ yt([Ue], () => ao);
3764
+ yt([Ue], () => lo);
3765
+ yt([Ue], () => uo);
3766
+ yt([Ue, _t], () => co);
3767
+ function fo({ withLocale: e, translations: t }) {
3768
+ Ue.subscribe((r) => {
3769
+ r == null && (_t.set(t), Ue.set(e));
3766
3770
  });
3767
3771
  }
3768
3772
  function rn(e, t) {
3769
3773
  Wn(e, t);
3770
3774
  }
3771
- function fo(e) {
3772
- Re.set(e);
3775
+ function mo(e) {
3776
+ Ue.set(e);
3773
3777
  }
3774
3778
  const nn = {
3775
3779
  en: {
@@ -3963,13 +3967,13 @@ const nn = {
3963
3967
  registerOpenAccount: "Abrir cuenta"
3964
3968
  }
3965
3969
  };
3966
- function mo(e, t) {
3970
+ function po(e, t) {
3967
3971
  if (e) {
3968
3972
  const r = document.createElement("style");
3969
3973
  r.innerHTML = t, e.appendChild(r);
3970
3974
  }
3971
3975
  }
3972
- function po(e, t) {
3976
+ function go(e, t) {
3973
3977
  if (!e || !t)
3974
3978
  return;
3975
3979
  const r = new URL(t);
@@ -3980,7 +3984,7 @@ function po(e, t) {
3980
3984
  console.error("There was an error while trying to load client styling from URL", n);
3981
3985
  });
3982
3986
  }
3983
- function go(e, t, r) {
3987
+ function bo(e, t, r) {
3984
3988
  if (window.emMessageBus) {
3985
3989
  const n = document.createElement("style");
3986
3990
  window.emMessageBus.subscribe(t, (i) => {
@@ -3988,7 +3992,7 @@ function go(e, t, r) {
3988
3992
  });
3989
3993
  }
3990
3994
  }
3991
- function bo(e) {
3995
+ function yo(e) {
3992
3996
  ii(e, "svelte-1b2qzhz", `input,select{font-family:inherit}.BackButton{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:15px;border-radius:var(--emw--border-radius-small, 5px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-medium, 15px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.AddressContainer input,.AddressContainer select,.PostalCodeContainer input,.PostalCodeContainer select,.CityContainer input,.CityContainer select,.CountryContainer input,.CountryContainer select,.NationalityContainer input,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.AddressContainer input:focus,.AddressContainer select:focus,.PostalCodeContainer input:focus,.PostalCodeContainer select:focus,.CityContainer input:focus,.CityContainer select:focus,.CountryContainer input:focus,.CountryContainer select:focus,.NationalityContainer input:focus,.NationalityContainer select:focus,.MobileContainer input:focus,.MobileContainer select:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.CountryContainer.InvalidField input,.NationalityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.MobileWrapper .MobileInput{width:70%}.grecaptcha-badge{opacity:0}.FormRequired{color:var(--emw--color-secondary, #E1A749)}.InvalidInput{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:var(--emw--font-size-medium, 16px);user-select:none;line-height:18px}.Offers label,.OffersMethod label,.AgeConsent label{font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #E1A749));font-size:var(--emw--font-size-small, 14px)}.RegisterError{color:var(--emw--color-error, #ed0909);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}`);
3993
3997
  }
3994
3998
  function sn(e, t, r) {
@@ -4011,7 +4015,7 @@ function ln(e) {
4011
4015
  e[4]) || p(t, "src", r), t.async = !0, t.defer = !0;
4012
4016
  },
4013
4017
  m(n, i) {
4014
- R(n, t, i);
4018
+ L(n, t, i);
4015
4019
  },
4016
4020
  p(n, i) {
4017
4021
  i[0] & /*captchakey*/
@@ -4019,7 +4023,7 @@ function ln(e) {
4019
4023
  n[4]) && p(t, "src", r);
4020
4024
  },
4021
4025
  d(n) {
4022
- n && I(t);
4026
+ n && k(t);
4023
4027
  }
4024
4028
  };
4025
4029
  }
@@ -4030,10 +4034,10 @@ function un(e) {
4030
4034
  ), n;
4031
4035
  return {
4032
4036
  c() {
4033
- t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4037
+ t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4034
4038
  },
4035
4039
  m(i, s) {
4036
- R(i, t, s), u(t, n);
4040
+ L(i, t, s), u(t, n);
4037
4041
  },
4038
4042
  p(i, s) {
4039
4043
  s[1] & /*$_*/
@@ -4041,7 +4045,7 @@ function un(e) {
4041
4045
  i[31]("registerAddressError") + "") && D(n, r);
4042
4046
  },
4043
4047
  d(i) {
4044
- i && I(t);
4048
+ i && k(t);
4045
4049
  }
4046
4050
  };
4047
4051
  }
@@ -4052,10 +4056,10 @@ function cn(e) {
4052
4056
  ), n;
4053
4057
  return {
4054
4058
  c() {
4055
- t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4059
+ t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4056
4060
  },
4057
4061
  m(i, s) {
4058
- R(i, t, s), u(t, n);
4062
+ L(i, t, s), u(t, n);
4059
4063
  },
4060
4064
  p(i, s) {
4061
4065
  s[1] & /*$_*/
@@ -4063,7 +4067,7 @@ function cn(e) {
4063
4067
  i[31]("registerPostalCodeError") + "") && D(n, r);
4064
4068
  },
4065
4069
  d(i) {
4066
- i && I(t);
4070
+ i && k(t);
4067
4071
  }
4068
4072
  };
4069
4073
  }
@@ -4074,10 +4078,10 @@ function hn(e) {
4074
4078
  ), n;
4075
4079
  return {
4076
4080
  c() {
4077
- t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4081
+ t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4078
4082
  },
4079
4083
  m(i, s) {
4080
- R(i, t, s), u(t, n);
4084
+ L(i, t, s), u(t, n);
4081
4085
  },
4082
4086
  p(i, s) {
4083
4087
  s[1] & /*$_*/
@@ -4085,7 +4089,7 @@ function hn(e) {
4085
4089
  i[31]("registerCityError") + "") && D(n, r);
4086
4090
  },
4087
4091
  d(i) {
4088
- i && I(t);
4092
+ i && k(t);
4089
4093
  }
4090
4094
  };
4091
4095
  }
@@ -4096,11 +4100,11 @@ function fn(e) {
4096
4100
  ), n, i;
4097
4101
  return {
4098
4102
  c() {
4099
- t = b("option"), n = M(r), t.__value = i = /*country*/
4103
+ t = b("option"), n = O(r), t.__value = i = /*country*/
4100
4104
  e[93].Alpha2Code, ce(t, t.__value);
4101
4105
  },
4102
4106
  m(s, o) {
4103
- R(s, t, o), u(t, n);
4107
+ L(s, t, o), u(t, n);
4104
4108
  },
4105
4109
  p(s, o) {
4106
4110
  o[0] & /*countries*/
@@ -4110,7 +4114,7 @@ function fn(e) {
4110
4114
  s[93].Alpha2Code) && (t.__value = i, ce(t, t.__value));
4111
4115
  },
4112
4116
  d(s) {
4113
- s && I(t);
4117
+ s && k(t);
4114
4118
  }
4115
4119
  };
4116
4120
  }
@@ -4121,11 +4125,11 @@ function dn(e) {
4121
4125
  ), n, i;
4122
4126
  return {
4123
4127
  c() {
4124
- t = b("option"), n = M(r), t.__value = i = /*nationality*/
4128
+ t = b("option"), n = O(r), t.__value = i = /*nationality*/
4125
4129
  e[90].Alpha2Code, ce(t, t.__value);
4126
4130
  },
4127
4131
  m(s, o) {
4128
- R(s, t, o), u(t, n);
4132
+ L(s, t, o), u(t, n);
4129
4133
  },
4130
4134
  p(s, o) {
4131
4135
  o[0] & /*nationalities*/
@@ -4135,7 +4139,7 @@ function dn(e) {
4135
4139
  s[90].Alpha2Code) && (t.__value = i, ce(t, t.__value));
4136
4140
  },
4137
4141
  d(s) {
4138
- s && I(t);
4142
+ s && k(t);
4139
4143
  }
4140
4144
  };
4141
4145
  }
@@ -4146,11 +4150,11 @@ function mn(e) {
4146
4150
  ), n, i;
4147
4151
  return {
4148
4152
  c() {
4149
- t = b("option"), n = M(r), t.__value = i = /*mobilePrefix*/
4153
+ t = b("option"), n = O(r), t.__value = i = /*mobilePrefix*/
4150
4154
  e[87].Prefix, ce(t, t.__value);
4151
4155
  },
4152
4156
  m(s, o) {
4153
- R(s, t, o), u(t, n);
4157
+ L(s, t, o), u(t, n);
4154
4158
  },
4155
4159
  p(s, o) {
4156
4160
  o[0] & /*mobilePrefixes*/
@@ -4160,7 +4164,7 @@ function mn(e) {
4160
4164
  s[87].Prefix) && (t.__value = i, ce(t, t.__value));
4161
4165
  },
4162
4166
  d(s) {
4163
- s && I(t);
4167
+ s && k(t);
4164
4168
  }
4165
4169
  };
4166
4170
  }
@@ -4171,10 +4175,10 @@ function pn(e) {
4171
4175
  ), n;
4172
4176
  return {
4173
4177
  c() {
4174
- t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4178
+ t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4175
4179
  },
4176
4180
  m(i, s) {
4177
- R(i, t, s), u(t, n);
4181
+ L(i, t, s), u(t, n);
4178
4182
  },
4179
4183
  p(i, s) {
4180
4184
  s[1] & /*$_*/
@@ -4182,7 +4186,7 @@ function pn(e) {
4182
4186
  i[31]("registerMobileError") + "") && D(n, r);
4183
4187
  },
4184
4188
  d(i) {
4185
- i && I(t);
4189
+ i && k(t);
4186
4190
  }
4187
4191
  };
4188
4192
  }
@@ -4197,10 +4201,10 @@ function gn(e) {
4197
4201
  );
4198
4202
  return {
4199
4203
  c() {
4200
- n && n.c(), t = T(), i && i.c(), r = Or();
4204
+ n && n.c(), t = S(), i && i.c(), r = Nr();
4201
4205
  },
4202
4206
  m(s, o) {
4203
- n && n.m(s, o), R(s, t, o), i && i.m(s, o), R(s, r, o);
4207
+ n && n.m(s, o), L(s, t, o), i && i.m(s, o), L(s, r, o);
4204
4208
  },
4205
4209
  p(s, o) {
4206
4210
  /*smsoffers*/
@@ -4209,7 +4213,7 @@ function gn(e) {
4209
4213
  s[1] === "true" ? i ? i.p(s, o) : (i = En(s), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4210
4214
  },
4211
4215
  d(s) {
4212
- s && (I(t), I(r)), n && n.d(s), i && i.d(s);
4216
+ s && (k(t), k(r)), n && n.d(s), i && i.d(s);
4213
4217
  }
4214
4218
  };
4215
4219
  }
@@ -4226,28 +4230,28 @@ function bn(e) {
4226
4230
  );
4227
4231
  return {
4228
4232
  c() {
4229
- t = b("div"), r = b("label"), i = M(n), s = T(), o = b("input"), l = T(), c = b("span"), a = T(), h = b("div"), _ && _.c(), d = T(), v && v.c(), p(o, "type", "Checkbox"), o.checked = /*consentOffers*/
4233
+ t = b("div"), r = b("label"), i = O(n), s = S(), o = b("input"), l = S(), c = b("span"), a = S(), h = b("div"), _ && _.c(), d = S(), v && v.c(), p(o, "type", "Checkbox"), o.checked = /*consentOffers*/
4230
4234
  e[27], p(c, "class", "Checkmark"), p(r, "class", "Offers"), p(h, "class", "OffersMethodsWrapper"), p(t, "class", "OffersContainer");
4231
4235
  },
4232
- m(O, S) {
4233
- R(O, t, S), u(t, r), u(r, i), u(r, s), u(r, o), u(r, l), u(r, c), u(t, a), u(t, h), _ && _.m(h, null), u(h, d), v && v.m(h, null), m || (E = k(
4236
+ m(P, T) {
4237
+ L(P, t, T), u(t, r), u(r, i), u(r, s), u(r, o), u(r, l), u(r, c), u(t, a), u(t, h), _ && _.m(h, null), u(h, d), v && v.m(h, null), m || (E = N(
4234
4238
  o,
4235
4239
  "click",
4236
4240
  /*click_handler*/
4237
4241
  e[64]
4238
4242
  ), m = !0);
4239
4243
  },
4240
- p(O, S) {
4241
- S[1] & /*$_*/
4244
+ p(P, T) {
4245
+ T[1] & /*$_*/
4242
4246
  1 && n !== (n = /*$_*/
4243
- O[31]("registerUserConsents") + "") && D(i, n), S[0] & /*consentOffers*/
4247
+ P[31]("registerUserConsents") + "") && D(i, n), T[0] & /*consentOffers*/
4244
4248
  134217728 && (o.checked = /*consentOffers*/
4245
- O[27]), /*smsoffers*/
4246
- O[2] === "true" ? _ ? _.p(O, S) : (_ = yn(O), _.c(), _.m(h, d)) : _ && (_.d(1), _ = null), /*emailmarketing*/
4247
- O[3] === "true" ? v ? v.p(O, S) : (v = _n(O), v.c(), v.m(h, null)) : v && (v.d(1), v = null);
4249
+ P[27]), /*smsoffers*/
4250
+ P[2] === "true" ? _ ? _.p(P, T) : (_ = yn(P), _.c(), _.m(h, d)) : _ && (_.d(1), _ = null), /*emailmarketing*/
4251
+ P[3] === "true" ? v ? v.p(P, T) : (v = _n(P), v.c(), v.m(h, null)) : v && (v.d(1), v = null);
4248
4252
  },
4249
- d(O) {
4250
- O && I(t), _ && _.d(), v && v.d(), m = !1, E();
4253
+ d(P) {
4254
+ P && k(t), _ && _.d(), v && v.d(), m = !1, E();
4251
4255
  }
4252
4256
  };
4253
4257
  }
@@ -4258,11 +4262,11 @@ function yn(e) {
4258
4262
  ), n, i, s, o, l, c, a, h;
4259
4263
  return {
4260
4264
  c() {
4261
- t = b("label"), n = M(r), i = T(), s = b("input"), l = T(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4265
+ t = b("label"), n = O(r), i = S(), s = b("input"), l = S(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4262
4266
  e[29].userConsents.sms, p(c, "class", "Checkmark"), p(t, "class", "OffersMethod");
4263
4267
  },
4264
4268
  m(d, m) {
4265
- R(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = k(
4269
+ L(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = N(
4266
4270
  s,
4267
4271
  "click",
4268
4272
  /*click_handler_1*/
@@ -4277,7 +4281,7 @@ function yn(e) {
4277
4281
  d[29].userConsents.sms) && (s.checked = o);
4278
4282
  },
4279
4283
  d(d) {
4280
- d && I(t), a = !1, h();
4284
+ d && k(t), a = !1, h();
4281
4285
  }
4282
4286
  };
4283
4287
  }
@@ -4288,11 +4292,11 @@ function _n(e) {
4288
4292
  ), n, i, s, o, l, c, a, h;
4289
4293
  return {
4290
4294
  c() {
4291
- t = b("label"), n = M(r), i = T(), s = b("input"), l = T(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4295
+ t = b("label"), n = O(r), i = S(), s = b("input"), l = S(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4292
4296
  e[29].userConsents.emailmarketing, p(c, "class", "Checkmark"), p(t, "class", "OffersMethod");
4293
4297
  },
4294
4298
  m(d, m) {
4295
- R(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = k(
4299
+ L(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = N(
4296
4300
  s,
4297
4301
  "click",
4298
4302
  /*click_handler_2*/
@@ -4307,7 +4311,7 @@ function _n(e) {
4307
4311
  d[29].userConsents.emailmarketing) && (s.checked = o);
4308
4312
  },
4309
4313
  d(d) {
4310
- d && I(t), a = !1, h();
4314
+ d && k(t), a = !1, h();
4311
4315
  }
4312
4316
  };
4313
4317
  }
@@ -4316,12 +4320,12 @@ function En(e) {
4316
4320
  e[30].termsandconditions && vn(e);
4317
4321
  return {
4318
4322
  c() {
4319
- t = b("div"), r = b("label"), n = b("span"), i = T(), s = b("input"), l = T(), c = b("span"), a = T(), E && E.c(), h = Or(), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4323
+ t = b("div"), r = b("label"), n = b("span"), i = S(), s = b("input"), l = S(), c = b("span"), a = S(), E && E.c(), h = Nr(), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4320
4324
  e[29].userConsents.termsandconditions, p(c, "class", "Checkmark"), p(r, "class", "AgeConsent"), p(t, "class", "AgeContainer");
4321
4325
  },
4322
4326
  m(_, v) {
4323
- R(_, t, v), u(t, r), u(r, n), n.innerHTML = /*textTC*/
4324
- e[32], u(r, i), u(r, s), u(r, l), u(r, c), R(_, a, v), E && E.m(_, v), R(_, h, v), d || (m = k(
4327
+ L(_, t, v), u(t, r), u(r, n), n.innerHTML = /*textTC*/
4328
+ e[32], u(r, i), u(r, s), u(r, l), u(r, c), L(_, a, v), E && E.m(_, v), L(_, h, v), d || (m = N(
4325
4329
  s,
4326
4330
  "click",
4327
4331
  /*click_handler_3*/
@@ -4335,7 +4339,7 @@ function En(e) {
4335
4339
  _[30].termsandconditions ? E && (E.d(1), E = null) : E ? E.p(_, v) : (E = vn(_), E.c(), E.m(h.parentNode, h));
4336
4340
  },
4337
4341
  d(_) {
4338
- _ && (I(t), I(a), I(h)), E && E.d(_), d = !1, m();
4342
+ _ && (k(t), k(a), k(h)), E && E.d(_), d = !1, m();
4339
4343
  }
4340
4344
  };
4341
4345
  }
@@ -4346,10 +4350,10 @@ function vn(e) {
4346
4350
  ), i;
4347
4351
  return {
4348
4352
  c() {
4349
- t = b("div"), r = b("p"), i = M(n), p(t, "class", "NotificationContainer");
4353
+ t = b("div"), r = b("p"), i = O(n), p(t, "class", "NotificationContainer");
4350
4354
  },
4351
4355
  m(s, o) {
4352
- R(s, t, o), u(t, r), u(r, i);
4356
+ L(s, t, o), u(t, r), u(r, i);
4353
4357
  },
4354
4358
  p(s, o) {
4355
4359
  o[1] & /*$_*/
@@ -4357,7 +4361,7 @@ function vn(e) {
4357
4361
  s[31]("registerTermsConditionsError") + "") && D(i, n);
4358
4362
  },
4359
4363
  d(s) {
4360
- s && I(t);
4364
+ s && k(t);
4361
4365
  }
4362
4366
  };
4363
4367
  }
@@ -4365,13 +4369,13 @@ function Cn(e) {
4365
4369
  let t, r, n;
4366
4370
  return {
4367
4371
  c() {
4368
- t = b("div"), r = b("p"), n = M(
4372
+ t = b("div"), r = b("p"), n = O(
4369
4373
  /*error*/
4370
4374
  e[16]
4371
4375
  ), p(r, "class", "RegisterError");
4372
4376
  },
4373
4377
  m(i, s) {
4374
- R(i, t, s), u(t, r), u(r, n);
4378
+ L(i, t, s), u(t, r), u(r, n);
4375
4379
  },
4376
4380
  p(i, s) {
4377
4381
  s[0] & /*error*/
@@ -4382,36 +4386,36 @@ function Cn(e) {
4382
4386
  );
4383
4387
  },
4384
4388
  d(i) {
4385
- i && I(t);
4389
+ i && k(t);
4386
4390
  }
4387
4391
  };
4388
4392
  }
4389
- function yo(e) {
4393
+ function _o(e) {
4390
4394
  let t, r, n, i, s, o, l, c, a, h, d, m, E, _ = (
4391
4395
  /*$_*/
4392
4396
  e[31]("registerBackButton") + ""
4393
- ), v, O, S, z, N, V, X = (
4397
+ ), v, P, T, z, M, V, X = (
4394
4398
  /*$_*/
4395
4399
  e[31]("registerAddress") + ""
4396
- ), me, we, Oe, Et, W, vt, Ue, xe, j, te, Te = (
4400
+ ), me, Se, Me, vt, W, Ct, Fe, xe, j, te, Te = (
4397
4401
  /*$_*/
4398
4402
  e[31]("registerPostalCode") + ""
4399
- ), pe, Fe, he, ye, q, fe, Z, Xe, U, y, B = (
4403
+ ), pe, De, he, ye, q, fe, Z, We, U, y, B = (
4400
4404
  /*$_*/
4401
4405
  e[31]("registerCity") + ""
4402
- ), Ct, It, We, Lt, de, Se, qe, xt, He, Be, Ze = (
4406
+ ), xt, Lt, qe, Rt, de, He, Ze, At, Be, Pe, $e = (
4403
4407
  /*$_*/
4404
4408
  e[31]("registerCountry") + ""
4405
- ), $e, Rt, De, Ge, _e, je, Ut, Ae, Me, ze = (
4409
+ ), Qe, Ut, Ge, je, _e, ze, Ft, Ae, Ne, Ve = (
4406
4410
  /*$_*/
4407
4411
  e[31]("registerNationality") + ""
4408
- ), At, Ft, Qe, Dt, Ee, Je, Gt, ge, Ne, Ye = (
4412
+ ), wt, Dt, Je, Gt, Ee, Ye, jt, ge, ke, Ke = (
4409
4413
  /*$_*/
4410
4414
  e[31]("registerMobile") + ""
4411
- ), wt, jt, Ke, zt, ke, ve, Vt, $, Xt, et, Wt, Tt, Pe, tt = (
4415
+ ), St, zt, et, Vt, Ie, ve, Xt, $, Wt, tt, qt, Tt, Oe, rt = (
4412
4416
  /*$_*/
4413
4417
  e[31]("registerOpenAccount") + ""
4414
- ), g, x, G, or, Lr, re = (
4418
+ ), g, x, G, lr, Lr, re = (
4415
4419
  /*captchakey*/
4416
4420
  e[4] && ln(e)
4417
4421
  ), ne = (
@@ -4423,24 +4427,24 @@ function yo(e) {
4423
4427
  ), se = (
4424
4428
  /*invalidCity*/
4425
4429
  e[9] && hn(e)
4426
- ), rt = at(
4430
+ ), nt = lt(
4427
4431
  /*countries*/
4428
4432
  e[20]
4429
4433
  ), Q = [];
4430
- for (let f = 0; f < rt.length; f += 1)
4431
- Q[f] = fn(an(e, rt, f));
4432
- let nt = at(
4434
+ for (let f = 0; f < nt.length; f += 1)
4435
+ Q[f] = fn(an(e, nt, f));
4436
+ let it = lt(
4433
4437
  /*nationalities*/
4434
4438
  e[22]
4435
4439
  ), J = [];
4436
- for (let f = 0; f < nt.length; f += 1)
4437
- J[f] = dn(on(e, nt, f));
4438
- let it = at(
4440
+ for (let f = 0; f < it.length; f += 1)
4441
+ J[f] = dn(on(e, it, f));
4442
+ let st = lt(
4439
4443
  /*mobilePrefixes*/
4440
4444
  e[25]
4441
4445
  ), Y = [];
4442
- for (let f = 0; f < it.length; f += 1)
4443
- Y[f] = mn(sn(e, it, f));
4446
+ for (let f = 0; f < st.length; f += 1)
4447
+ Y[f] = mn(sn(e, st, f));
4444
4448
  let oe = (
4445
4449
  /*invalidMobile*/
4446
4450
  e[8] && pn(e)
@@ -4453,222 +4457,222 @@ function yo(e) {
4453
4457
  );
4454
4458
  return {
4455
4459
  c() {
4456
- var f, C, F, St, Ht, Bt;
4457
- re && re.c(), t = Or(), r = T(), n = b("div"), i = T(), s = b("div"), o = b("div"), l = b("button"), c = Zt("svg"), a = Zt("defs"), h = Zt("style"), d = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), m = Zt("path"), E = T(), v = M(_), O = T(), S = b("form"), z = b("div"), N = b("div"), V = b("label"), me = M(X), we = M(":"), Oe = b("span"), Oe.textContent = "*", Et = T(), W = b("input"), vt = T(), ne && ne.c(), xe = T(), j = b("div"), te = b("label"), pe = M(Te), Fe = M(":"), he = b("span"), he.textContent = "*", ye = T(), q = b("input"), fe = T(), ie && ie.c(), Xe = T(), U = b("div"), y = b("label"), Ct = M(B), It = M(":"), We = b("span"), We.textContent = "*", Lt = T(), de = b("input"), Se = T(), se && se.c(), xt = T(), He = b("div"), Be = b("label"), $e = M(Ze), Rt = M(":"), De = b("span"), De.textContent = "*", Ge = T(), _e = b("select");
4460
+ var f, C, F, Ht, Bt, Pt;
4461
+ re && re.c(), t = Nr(), r = S(), n = b("div"), i = S(), s = b("div"), o = b("div"), l = b("button"), c = $t("svg"), a = $t("defs"), h = $t("style"), d = O(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), m = $t("path"), E = S(), v = O(_), P = S(), T = b("form"), z = b("div"), M = b("div"), V = b("label"), me = O(X), Se = O(":"), Me = b("span"), Me.textContent = "*", vt = S(), W = b("input"), Ct = S(), ne && ne.c(), xe = S(), j = b("div"), te = b("label"), pe = O(Te), De = O(":"), he = b("span"), he.textContent = "*", ye = S(), q = b("input"), fe = S(), ie && ie.c(), We = S(), U = b("div"), y = b("label"), xt = O(B), Lt = O(":"), qe = b("span"), qe.textContent = "*", Rt = S(), de = b("input"), He = S(), se && se.c(), At = S(), Be = b("div"), Pe = b("label"), Qe = O($e), Ut = O(":"), Ge = b("span"), Ge.textContent = "*", je = S(), _e = b("select");
4458
4462
  for (let ue = 0; ue < Q.length; ue += 1)
4459
4463
  Q[ue].c();
4460
- Ut = T(), Ae = b("div"), Me = b("label"), At = M(ze), Ft = M(":"), Qe = b("span"), Qe.textContent = "*", Dt = T(), Ee = b("select");
4464
+ Ft = S(), Ae = b("div"), Ne = b("label"), wt = O(Ve), Dt = O(":"), Je = b("span"), Je.textContent = "*", Gt = S(), Ee = b("select");
4461
4465
  for (let ue = 0; ue < J.length; ue += 1)
4462
4466
  J[ue].c();
4463
- Gt = T(), ge = b("div"), Ne = b("label"), wt = M(Ye), jt = M(":"), Ke = b("span"), Ke.textContent = "*", zt = T(), ke = b("div"), ve = b("select");
4467
+ jt = S(), ge = b("div"), ke = b("label"), St = O(Ke), zt = O(":"), et = b("span"), et.textContent = "*", Vt = S(), Ie = b("div"), ve = b("select");
4464
4468
  for (let ue = 0; ue < Y.length; ue += 1)
4465
4469
  Y[ue].c();
4466
- Vt = T(), $ = b("input"), Xt = T(), oe && oe.c(), Wt = T(), ae && ae.c(), Tt = T(), Pe = b("button"), g = M(tt), G = T(), le && le.c(), p(n, "class", "g-recaptcha"), p(
4470
+ Xt = S(), $ = b("input"), Wt = S(), oe && oe.c(), qt = S(), ae && ae.c(), Tt = S(), Oe = b("button"), g = O(rt), G = S(), le && le.c(), p(n, "class", "g-recaptcha"), p(
4467
4471
  n,
4468
4472
  "data-sitekey",
4469
4473
  /*captchakey*/
4470
4474
  e[4]
4471
- ), p(m, "class", "a"), p(m, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), p(m, "transform", "translate(24 24) rotate(180)"), p(c, "xmlns", "http://www.w3.org/2000/svg"), p(c, "viewBox", "0 0 24 24"), p(l, "class", "BackButton"), p(o, "class", "RegisterFormHeader"), p(Oe, "class", "FormRequired"), p(V, "for", "Address"), p(W, "type", "text"), p(W, "id", "Address"), p(N, "class", Ue = "AddressContainer " + /*invalidAddress*/
4475
+ ), p(m, "class", "a"), p(m, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), p(m, "transform", "translate(24 24) rotate(180)"), p(c, "xmlns", "http://www.w3.org/2000/svg"), p(c, "viewBox", "0 0 24 24"), p(l, "class", "BackButton"), p(o, "class", "RegisterFormHeader"), p(Me, "class", "FormRequired"), p(V, "for", "Address"), p(W, "type", "text"), p(W, "id", "Address"), p(M, "class", Fe = "AddressContainer " + /*invalidAddress*/
4472
4476
  (e[6] && !/*addressFocus*/
4473
4477
  e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4474
4478
  (((f = e[14]) == null ? void 0 : f.indexOf("address")) >= 0 ? "Hidden" : "")), p(he, "class", "FormRequired"), p(te, "for", "PostalCode"), p(q, "type", "text"), p(q, "id", "PostalCode"), p(j, "class", Z = "PostalCodeContainer " + /*invalidPostalCode*/
4475
4479
  (e[7] && !/*postalCodeFocus*/
4476
4480
  e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4477
- (((C = e[14]) == null ? void 0 : C.indexOf("postalCode")) >= 0 ? "Hidden" : "")), p(z, "class", "AddressPostalCodeContainer"), p(We, "class", "FormRequired"), p(y, "for", "City"), p(de, "type", "text"), p(de, "id", "City"), p(U, "class", qe = "CityContainer " + /*invalidCity*/
4481
+ (((C = e[14]) == null ? void 0 : C.indexOf("postalCode")) >= 0 ? "Hidden" : "")), p(z, "class", "AddressPostalCodeContainer"), p(qe, "class", "FormRequired"), p(y, "for", "City"), p(de, "type", "text"), p(de, "id", "City"), p(U, "class", Ze = "CityContainer " + /*invalidCity*/
4478
4482
  (e[9] && /*cityFocus*/
4479
4483
  e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4480
- (((F = e[14]) == null ? void 0 : F.indexOf("city")) >= 0 ? "Hidden" : "")), p(De, "class", "FormRequired"), p(Be, "for", "Country"), p(_e, "id", "Country"), /*countrySelected*/
4481
- e[21] === void 0 && ht(() => (
4484
+ (((F = e[14]) == null ? void 0 : F.indexOf("city")) >= 0 ? "Hidden" : "")), p(Ge, "class", "FormRequired"), p(Pe, "for", "Country"), p(_e, "id", "Country"), /*countrySelected*/
4485
+ e[21] === void 0 && ft(() => (
4482
4486
  /*select0_change_handler*/
4483
4487
  e[58].call(_e)
4484
- )), p(He, "class", je = "CountryContainer " + /*disabledFieldsList*/
4485
- (((St = e[14]) == null ? void 0 : St.indexOf("country")) >= 0 ? "Hidden" : "")), p(Qe, "class", "FormRequired"), p(Me, "for", "Nationality"), p(Ee, "id", "Nationality"), /*nationalitySelected*/
4486
- e[23] === void 0 && ht(() => (
4488
+ )), p(Be, "class", ze = "CountryContainer " + /*disabledFieldsList*/
4489
+ (((Ht = e[14]) == null ? void 0 : Ht.indexOf("country")) >= 0 ? "Hidden" : "")), p(Je, "class", "FormRequired"), p(Ne, "for", "Nationality"), p(Ee, "id", "Nationality"), /*nationalitySelected*/
4490
+ e[23] === void 0 && ft(() => (
4487
4491
  /*select1_change_handler*/
4488
4492
  e[59].call(Ee)
4489
- )), p(Ae, "class", Je = "NationalityContainer " + /*disabledFieldsList*/
4490
- (((Ht = e[14]) == null ? void 0 : Ht.indexOf("nationality")) >= 0 ? "Hidden" : "")), p(Ke, "class", "FormRequired"), p(Ne, "for", "Mobile"), p(ve, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
4491
- e[26] === void 0 && ht(() => (
4493
+ )), p(Ae, "class", Ye = "NationalityContainer " + /*disabledFieldsList*/
4494
+ (((Bt = e[14]) == null ? void 0 : Bt.indexOf("nationality")) >= 0 ? "Hidden" : "")), p(et, "class", "FormRequired"), p(ke, "for", "Mobile"), p(ve, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
4495
+ e[26] === void 0 && ft(() => (
4492
4496
  /*select2_change_handler*/
4493
4497
  e[60].call(ve)
4494
- )), p($, "type", "text"), p($, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"), p($, "id", "Mobile"), p($, "class", "MobileInput"), p(ke, "class", "MobileWrapper"), p(ge, "class", et = "MobileContainer " + /*invalidMobile*/
4498
+ )), p($, "type", "text"), p($, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"), p($, "id", "Mobile"), p($, "class", "MobileInput"), p(Ie, "class", "MobileWrapper"), p(ge, "class", tt = "MobileContainer " + /*invalidMobile*/
4495
4499
  (e[8] && !/*mobileFocus*/
4496
4500
  e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4497
- (((Bt = e[14]) == null ? void 0 : Bt.indexOf("mobile")) >= 0 ? "Hidden" : "")), p(Pe, "class", "RegisterStepNext"), Pe.disabled = x = !/*isValid*/
4498
- e[28], p(S, "class", "RegisterFormContent");
4501
+ (((Pt = e[14]) == null ? void 0 : Pt.indexOf("mobile")) >= 0 ? "Hidden" : "")), p(Oe, "class", "RegisterStepNext"), Oe.disabled = x = !/*isValid*/
4502
+ e[28], p(T, "class", "RegisterFormContent");
4499
4503
  },
4500
4504
  m(f, C) {
4501
- re && re.m(document.head, null), u(document.head, t), R(f, r, C), R(f, n, C), R(f, i, C), R(f, s, C), u(s, o), u(o, l), u(l, c), u(c, a), u(a, h), u(h, d), u(c, m), u(l, E), u(l, v), u(s, O), u(s, S), u(S, z), u(z, N), u(N, V), u(V, me), u(V, we), u(V, Oe), u(N, Et), u(N, W), ce(
4505
+ re && re.m(document.head, null), u(document.head, t), L(f, r, C), L(f, n, C), L(f, i, C), L(f, s, C), u(s, o), u(o, l), u(l, c), u(c, a), u(a, h), u(h, d), u(c, m), u(l, E), u(l, v), u(s, P), u(s, T), u(T, z), u(z, M), u(M, V), u(V, me), u(V, Se), u(V, Me), u(M, vt), u(M, W), ce(
4502
4506
  W,
4503
4507
  /*address*/
4504
4508
  e[17]
4505
- ), u(N, vt), ne && ne.m(N, null), u(z, xe), u(z, j), u(j, te), u(te, pe), u(te, Fe), u(te, he), u(j, ye), u(j, q), ce(
4509
+ ), u(M, Ct), ne && ne.m(M, null), u(z, xe), u(z, j), u(j, te), u(te, pe), u(te, De), u(te, he), u(j, ye), u(j, q), ce(
4506
4510
  q,
4507
4511
  /*postalCode*/
4508
4512
  e[18]
4509
- ), u(j, fe), ie && ie.m(j, null), u(S, Xe), u(S, U), u(U, y), u(y, Ct), u(y, It), u(y, We), u(U, Lt), u(U, de), ce(
4513
+ ), u(j, fe), ie && ie.m(j, null), u(T, We), u(T, U), u(U, y), u(y, xt), u(y, Lt), u(y, qe), u(U, Rt), u(U, de), ce(
4510
4514
  de,
4511
4515
  /*city*/
4512
4516
  e[19]
4513
- ), u(U, Se), se && se.m(U, null), u(S, xt), u(S, He), u(He, Be), u(Be, $e), u(Be, Rt), u(Be, De), u(He, Ge), u(He, _e);
4517
+ ), u(U, He), se && se.m(U, null), u(T, At), u(T, Be), u(Be, Pe), u(Pe, Qe), u(Pe, Ut), u(Pe, Ge), u(Be, je), u(Be, _e);
4514
4518
  for (let F = 0; F < Q.length; F += 1)
4515
4519
  Q[F] && Q[F].m(_e, null);
4516
- st(
4520
+ ot(
4517
4521
  _e,
4518
4522
  /*countrySelected*/
4519
4523
  e[21],
4520
4524
  !0
4521
- ), u(S, Ut), u(S, Ae), u(Ae, Me), u(Me, At), u(Me, Ft), u(Me, Qe), u(Ae, Dt), u(Ae, Ee);
4525
+ ), u(T, Ft), u(T, Ae), u(Ae, Ne), u(Ne, wt), u(Ne, Dt), u(Ne, Je), u(Ae, Gt), u(Ae, Ee);
4522
4526
  for (let F = 0; F < J.length; F += 1)
4523
4527
  J[F] && J[F].m(Ee, null);
4524
- st(
4528
+ ot(
4525
4529
  Ee,
4526
4530
  /*nationalitySelected*/
4527
4531
  e[23],
4528
4532
  !0
4529
- ), u(S, Gt), u(S, ge), u(ge, Ne), u(Ne, wt), u(Ne, jt), u(Ne, Ke), u(ge, zt), u(ge, ke), u(ke, ve);
4533
+ ), u(T, jt), u(T, ge), u(ge, ke), u(ke, St), u(ke, zt), u(ke, et), u(ge, Vt), u(ge, Ie), u(Ie, ve);
4530
4534
  for (let F = 0; F < Y.length; F += 1)
4531
4535
  Y[F] && Y[F].m(ve, null);
4532
- st(
4536
+ ot(
4533
4537
  ve,
4534
4538
  /*mobilePrefixSelected*/
4535
4539
  e[26],
4536
4540
  !0
4537
- ), u(ke, Vt), u(ke, $), ce(
4541
+ ), u(Ie, Xt), u(Ie, $), ce(
4538
4542
  $,
4539
4543
  /*mobile*/
4540
4544
  e[24]
4541
- ), u(ge, Xt), oe && oe.m(ge, null), u(S, Wt), ae && ae.m(S, null), u(S, Tt), u(S, Pe), u(Pe, g), u(s, G), le && le.m(s, null), e[69](s), or || (Lr = [
4542
- k(
4545
+ ), u(ge, Wt), oe && oe.m(ge, null), u(T, qt), ae && ae.m(T, null), u(T, Tt), u(T, Oe), u(Oe, g), u(s, G), le && le.m(s, null), e[69](s), lr || (Lr = [
4546
+ N(
4543
4547
  l,
4544
4548
  "click",
4545
4549
  /*goBack*/
4546
4550
  e[40]
4547
4551
  ),
4548
- k(
4552
+ N(
4549
4553
  W,
4550
4554
  "input",
4551
4555
  /*input0_input_handler*/
4552
4556
  e[49]
4553
4557
  ),
4554
- k(
4558
+ N(
4555
4559
  W,
4556
4560
  "keyup",
4557
4561
  /*validateAddress*/
4558
4562
  e[33]
4559
4563
  ),
4560
- k(
4564
+ N(
4561
4565
  W,
4562
4566
  "focus",
4563
4567
  /*focus_handler*/
4564
4568
  e[50]
4565
4569
  ),
4566
- k(
4570
+ N(
4567
4571
  W,
4568
4572
  "blur",
4569
4573
  /*blur_handler*/
4570
4574
  e[51]
4571
4575
  ),
4572
- k(
4576
+ N(
4573
4577
  q,
4574
4578
  "input",
4575
4579
  /*input1_input_handler*/
4576
4580
  e[52]
4577
4581
  ),
4578
- k(
4582
+ N(
4579
4583
  q,
4580
4584
  "keyup",
4581
4585
  /*validatePostalCode*/
4582
4586
  e[34]
4583
4587
  ),
4584
- k(
4588
+ N(
4585
4589
  q,
4586
4590
  "focus",
4587
4591
  /*focus_handler_1*/
4588
4592
  e[53]
4589
4593
  ),
4590
- k(
4594
+ N(
4591
4595
  q,
4592
4596
  "blur",
4593
4597
  /*blur_handler_1*/
4594
4598
  e[54]
4595
4599
  ),
4596
- k(
4600
+ N(
4597
4601
  de,
4598
4602
  "input",
4599
4603
  /*input2_input_handler*/
4600
4604
  e[55]
4601
4605
  ),
4602
- k(
4606
+ N(
4603
4607
  de,
4604
4608
  "keyup",
4605
4609
  /*validateCity*/
4606
4610
  e[35]
4607
4611
  ),
4608
- k(
4612
+ N(
4609
4613
  de,
4610
4614
  "focus",
4611
4615
  /*focus_handler_2*/
4612
4616
  e[56]
4613
4617
  ),
4614
- k(
4618
+ N(
4615
4619
  de,
4616
4620
  "blur",
4617
4621
  /*blur_handler_2*/
4618
4622
  e[57]
4619
4623
  ),
4620
- k(
4624
+ N(
4621
4625
  _e,
4622
4626
  "change",
4623
4627
  /*select0_change_handler*/
4624
4628
  e[58]
4625
4629
  ),
4626
- k(
4630
+ N(
4627
4631
  Ee,
4628
4632
  "change",
4629
4633
  /*select1_change_handler*/
4630
4634
  e[59]
4631
4635
  ),
4632
- k(
4636
+ N(
4633
4637
  ve,
4634
4638
  "change",
4635
4639
  /*select2_change_handler*/
4636
4640
  e[60]
4637
4641
  ),
4638
- k(
4642
+ N(
4639
4643
  $,
4640
4644
  "input",
4641
4645
  /*input3_input_handler*/
4642
4646
  e[61]
4643
4647
  ),
4644
- k(
4648
+ N(
4645
4649
  $,
4646
4650
  "keyup",
4647
4651
  /*validateMobile*/
4648
4652
  e[36]
4649
4653
  ),
4650
- k(
4654
+ N(
4651
4655
  $,
4652
4656
  "focus",
4653
4657
  /*focus_handler_3*/
4654
4658
  e[62]
4655
4659
  ),
4656
- k(
4660
+ N(
4657
4661
  $,
4658
4662
  "blur",
4659
4663
  /*blur_handler_3*/
4660
4664
  e[63]
4661
4665
  ),
4662
- k(
4663
- Pe,
4666
+ N(
4667
+ Oe,
4664
4668
  "click",
4665
4669
  /*click_handler_4*/
4666
4670
  e[68]
4667
4671
  )
4668
- ], or = !0);
4672
+ ], lr = !0);
4669
4673
  },
4670
4674
  p(f, C) {
4671
- var F, St, Ht, Bt, ue, Rr;
4675
+ var F, Ht, Bt, Pt, ue, Rr;
4672
4676
  if (/*captchakey*/
4673
4677
  f[4] ? re ? re.p(f, C) : (re = ln(f), re.c(), re.m(t.parentNode, t)) : re && (re.d(1), re = null), C[0] & /*captchakey*/
4674
4678
  16 && p(
@@ -4687,11 +4691,11 @@ function yo(e) {
4687
4691
  /*address*/
4688
4692
  f[17]
4689
4693
  ), /*invalidAddress*/
4690
- f[6] ? ne ? ne.p(f, C) : (ne = un(f), ne.c(), ne.m(N, null)) : ne && (ne.d(1), ne = null), C[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
4691
- 17472 && Ue !== (Ue = "AddressContainer " + /*invalidAddress*/
4694
+ f[6] ? ne ? ne.p(f, C) : (ne = un(f), ne.c(), ne.m(M, null)) : ne && (ne.d(1), ne = null), C[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
4695
+ 17472 && Fe !== (Fe = "AddressContainer " + /*invalidAddress*/
4692
4696
  (f[6] && !/*addressFocus*/
4693
4697
  f[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4694
- (((F = f[14]) == null ? void 0 : F.indexOf("address")) >= 0 ? "Hidden" : "")) && p(N, "class", Ue), C[1] & /*$_*/
4698
+ (((F = f[14]) == null ? void 0 : F.indexOf("address")) >= 0 ? "Hidden" : "")) && p(M, "class", Fe), C[1] & /*$_*/
4695
4699
  1 && Te !== (Te = /*$_*/
4696
4700
  f[31]("registerPostalCode") + "") && D(pe, Te), C[0] & /*postalCode*/
4697
4701
  262144 && q.value !== /*postalCode*/
@@ -4704,9 +4708,9 @@ function yo(e) {
4704
4708
  18560 && Z !== (Z = "PostalCodeContainer " + /*invalidPostalCode*/
4705
4709
  (f[7] && !/*postalCodeFocus*/
4706
4710
  f[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4707
- (((St = f[14]) == null ? void 0 : St.indexOf("postalCode")) >= 0 ? "Hidden" : "")) && p(j, "class", Z), C[1] & /*$_*/
4711
+ (((Ht = f[14]) == null ? void 0 : Ht.indexOf("postalCode")) >= 0 ? "Hidden" : "")) && p(j, "class", Z), C[1] & /*$_*/
4708
4712
  1 && B !== (B = /*$_*/
4709
- f[31]("registerCity") + "") && D(Ct, B), C[0] & /*city*/
4713
+ f[31]("registerCity") + "") && D(xt, B), C[0] & /*city*/
4710
4714
  524288 && de.value !== /*city*/
4711
4715
  f[19] && ce(
4712
4716
  de,
@@ -4714,76 +4718,76 @@ function yo(e) {
4714
4718
  f[19]
4715
4719
  ), /*invalidCity*/
4716
4720
  f[9] ? se ? se.p(f, C) : (se = hn(f), se.c(), se.m(U, null)) : se && (se.d(1), se = null), C[0] & /*invalidCity, cityFocus, disabledFieldsList*/
4717
- 25088 && qe !== (qe = "CityContainer " + /*invalidCity*/
4721
+ 25088 && Ze !== (Ze = "CityContainer " + /*invalidCity*/
4718
4722
  (f[9] && /*cityFocus*/
4719
4723
  f[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4720
- (((Ht = f[14]) == null ? void 0 : Ht.indexOf("city")) >= 0 ? "Hidden" : "")) && p(U, "class", qe), C[1] & /*$_*/
4721
- 1 && Ze !== (Ze = /*$_*/
4722
- f[31]("registerCountry") + "") && D($e, Ze), C[0] & /*countries*/
4724
+ (((Bt = f[14]) == null ? void 0 : Bt.indexOf("city")) >= 0 ? "Hidden" : "")) && p(U, "class", Ze), C[1] & /*$_*/
4725
+ 1 && $e !== ($e = /*$_*/
4726
+ f[31]("registerCountry") + "") && D(Qe, $e), C[0] & /*countries*/
4723
4727
  1048576) {
4724
- rt = at(
4728
+ nt = lt(
4725
4729
  /*countries*/
4726
4730
  f[20]
4727
4731
  );
4728
4732
  let A;
4729
- for (A = 0; A < rt.length; A += 1) {
4730
- const Ie = an(f, rt, A);
4731
- Q[A] ? Q[A].p(Ie, C) : (Q[A] = fn(Ie), Q[A].c(), Q[A].m(_e, null));
4733
+ for (A = 0; A < nt.length; A += 1) {
4734
+ const Le = an(f, nt, A);
4735
+ Q[A] ? Q[A].p(Le, C) : (Q[A] = fn(Le), Q[A].c(), Q[A].m(_e, null));
4732
4736
  }
4733
4737
  for (; A < Q.length; A += 1)
4734
4738
  Q[A].d(1);
4735
- Q.length = rt.length;
4739
+ Q.length = nt.length;
4736
4740
  }
4737
4741
  if (C[0] & /*countrySelected, countries*/
4738
- 3145728 && st(
4742
+ 3145728 && ot(
4739
4743
  _e,
4740
4744
  /*countrySelected*/
4741
4745
  f[21]
4742
4746
  ), C[0] & /*disabledFieldsList*/
4743
- 16384 && je !== (je = "CountryContainer " + /*disabledFieldsList*/
4744
- (((Bt = f[14]) == null ? void 0 : Bt.indexOf("country")) >= 0 ? "Hidden" : "")) && p(He, "class", je), C[1] & /*$_*/
4745
- 1 && ze !== (ze = /*$_*/
4746
- f[31]("registerNationality") + "") && D(At, ze), C[0] & /*nationalities*/
4747
+ 16384 && ze !== (ze = "CountryContainer " + /*disabledFieldsList*/
4748
+ (((Pt = f[14]) == null ? void 0 : Pt.indexOf("country")) >= 0 ? "Hidden" : "")) && p(Be, "class", ze), C[1] & /*$_*/
4749
+ 1 && Ve !== (Ve = /*$_*/
4750
+ f[31]("registerNationality") + "") && D(wt, Ve), C[0] & /*nationalities*/
4747
4751
  4194304) {
4748
- nt = at(
4752
+ it = lt(
4749
4753
  /*nationalities*/
4750
4754
  f[22]
4751
4755
  );
4752
4756
  let A;
4753
- for (A = 0; A < nt.length; A += 1) {
4754
- const Ie = on(f, nt, A);
4755
- J[A] ? J[A].p(Ie, C) : (J[A] = dn(Ie), J[A].c(), J[A].m(Ee, null));
4757
+ for (A = 0; A < it.length; A += 1) {
4758
+ const Le = on(f, it, A);
4759
+ J[A] ? J[A].p(Le, C) : (J[A] = dn(Le), J[A].c(), J[A].m(Ee, null));
4756
4760
  }
4757
4761
  for (; A < J.length; A += 1)
4758
4762
  J[A].d(1);
4759
- J.length = nt.length;
4763
+ J.length = it.length;
4760
4764
  }
4761
4765
  if (C[0] & /*nationalitySelected, nationalities*/
4762
- 12582912 && st(
4766
+ 12582912 && ot(
4763
4767
  Ee,
4764
4768
  /*nationalitySelected*/
4765
4769
  f[23]
4766
4770
  ), C[0] & /*disabledFieldsList*/
4767
- 16384 && Je !== (Je = "NationalityContainer " + /*disabledFieldsList*/
4768
- (((ue = f[14]) == null ? void 0 : ue.indexOf("nationality")) >= 0 ? "Hidden" : "")) && p(Ae, "class", Je), C[1] & /*$_*/
4769
- 1 && Ye !== (Ye = /*$_*/
4770
- f[31]("registerMobile") + "") && D(wt, Ye), C[0] & /*mobilePrefixes*/
4771
+ 16384 && Ye !== (Ye = "NationalityContainer " + /*disabledFieldsList*/
4772
+ (((ue = f[14]) == null ? void 0 : ue.indexOf("nationality")) >= 0 ? "Hidden" : "")) && p(Ae, "class", Ye), C[1] & /*$_*/
4773
+ 1 && Ke !== (Ke = /*$_*/
4774
+ f[31]("registerMobile") + "") && D(St, Ke), C[0] & /*mobilePrefixes*/
4771
4775
  33554432) {
4772
- it = at(
4776
+ st = lt(
4773
4777
  /*mobilePrefixes*/
4774
4778
  f[25]
4775
4779
  );
4776
4780
  let A;
4777
- for (A = 0; A < it.length; A += 1) {
4778
- const Ie = sn(f, it, A);
4779
- Y[A] ? Y[A].p(Ie, C) : (Y[A] = mn(Ie), Y[A].c(), Y[A].m(ve, null));
4781
+ for (A = 0; A < st.length; A += 1) {
4782
+ const Le = sn(f, st, A);
4783
+ Y[A] ? Y[A].p(Le, C) : (Y[A] = mn(Le), Y[A].c(), Y[A].m(ve, null));
4780
4784
  }
4781
4785
  for (; A < Y.length; A += 1)
4782
4786
  Y[A].d(1);
4783
- Y.length = it.length;
4787
+ Y.length = st.length;
4784
4788
  }
4785
4789
  C[0] & /*mobilePrefixSelected, mobilePrefixes*/
4786
- 100663296 && st(
4790
+ 100663296 && ot(
4787
4791
  ve,
4788
4792
  /*mobilePrefixSelected*/
4789
4793
  f[26]
@@ -4795,28 +4799,28 @@ function yo(e) {
4795
4799
  f[24]
4796
4800
  ), /*invalidMobile*/
4797
4801
  f[8] ? oe ? oe.p(f, C) : (oe = pn(f), oe.c(), oe.m(ge, null)) : oe && (oe.d(1), oe = null), C[0] & /*invalidMobile, mobileFocus, disabledFieldsList*/
4798
- 20736 && et !== (et = "MobileContainer " + /*invalidMobile*/
4802
+ 20736 && tt !== (tt = "MobileContainer " + /*invalidMobile*/
4799
4803
  (f[8] && !/*mobileFocus*/
4800
4804
  f[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4801
- (((Rr = f[14]) == null ? void 0 : Rr.indexOf("mobile")) >= 0 ? "Hidden" : "")) && p(ge, "class", et), /*userconsentsexist*/
4802
- f[0] === "true" ? ae ? ae.p(f, C) : (ae = gn(f), ae.c(), ae.m(S, Tt)) : ae && (ae.d(1), ae = null), C[1] & /*$_*/
4803
- 1 && tt !== (tt = /*$_*/
4804
- f[31]("registerOpenAccount") + "") && D(g, tt), C[0] & /*isValid*/
4805
+ (((Rr = f[14]) == null ? void 0 : Rr.indexOf("mobile")) >= 0 ? "Hidden" : "")) && p(ge, "class", tt), /*userconsentsexist*/
4806
+ f[0] === "true" ? ae ? ae.p(f, C) : (ae = gn(f), ae.c(), ae.m(T, Tt)) : ae && (ae.d(1), ae = null), C[1] & /*$_*/
4807
+ 1 && rt !== (rt = /*$_*/
4808
+ f[31]("registerOpenAccount") + "") && D(g, rt), C[0] & /*isValid*/
4805
4809
  268435456 && x !== (x = !/*isValid*/
4806
- f[28]) && (Pe.disabled = x), /*showError*/
4810
+ f[28]) && (Oe.disabled = x), /*showError*/
4807
4811
  f[15] ? le ? le.p(f, C) : (le = Cn(f), le.c(), le.m(s, null)) : le && (le.d(1), le = null);
4808
4812
  },
4809
4813
  i: Ce,
4810
4814
  o: Ce,
4811
4815
  d(f) {
4812
- f && (I(r), I(n), I(i), I(s)), re && re.d(f), I(t), ne && ne.d(), ie && ie.d(), se && se.d(), cr(Q, f), cr(J, f), cr(Y, f), oe && oe.d(), ae && ae.d(), le && le.d(), e[69](null), or = !1, gt(Lr);
4816
+ f && (k(r), k(n), k(i), k(s)), re && re.d(f), k(t), ne && ne.d(), ie && ie.d(), se && se.d(), fr(Q, f), fr(J, f), fr(Y, f), oe && oe.d(), ae && ae.d(), le && le.d(), e[69](null), lr = !1, bt(Lr);
4813
4817
  }
4814
4818
  };
4815
4819
  }
4816
- function _o(e, t, r) {
4820
+ function Eo(e, t, r) {
4817
4821
  let n;
4818
- ni(e, co, (g) => r(31, n = g));
4819
- let { userconsentsexist: i = "false" } = t, { termsconditions: s = "false" } = t, { smsoffers: o = "false" } = t, { emailmarketing: l = "false" } = t, { endpoint: c = "" } = t, { captchakey: a = "" } = t, { lang: h = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: m = "" } = t, { mbsource: E } = t, { clientstyling: _ = "" } = t, { clientstylingurl: v = "" } = t, { translationurl: O = "" } = t, S, z, N, V, X = !1, me = !1, we = !1, Oe = !1, Et, W, vt = !1, Ue = "", xe = "", j = "", te = "", Te = [], pe = "", Fe = [], he = "", ye = "", q = [], fe = "", Z = !1, Xe = !1, U, y = { mobile: {}, userConsents: {} }, B = {
4822
+ ni(e, ho, (g) => r(31, n = g));
4823
+ let { userconsentsexist: i = "false" } = t, { termsconditions: s = "false" } = t, { smsoffers: o = "false" } = t, { emailmarketing: l = "false" } = t, { endpoint: c = "" } = t, { captchakey: a = "" } = t, { lang: h = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: m = "" } = t, { mbsource: E } = t, { clientstyling: _ = "" } = t, { clientstylingurl: v = "" } = t, { translationurl: P = "" } = t, T, z, M, V, X = !1, me = !1, Se = !1, Me = !1, vt, W, Ct = !1, Fe = "", xe = "", j = "", te = "", Te = [], pe = "", De = [], he = "", ye = "", q = [], fe = "", Z = !1, We = !1, U, y = { mobile: {}, userConsents: {} }, B = {
4820
4824
  address1: !1,
4821
4825
  postalCode: !1,
4822
4826
  city: !1,
@@ -4825,9 +4829,9 @@ function _o(e, t, r) {
4825
4829
  mobile: !1,
4826
4830
  termsandconditions: s === "false"
4827
4831
  };
4828
- ho({ withLocale: "en", translations: {} });
4829
- const Ct = () => {
4830
- fetch(O).then((x) => x.json()).then((x) => {
4832
+ fo({ withLocale: "en", translations: {} });
4833
+ const xt = () => {
4834
+ fetch(P).then((x) => x.json()).then((x) => {
4831
4835
  Object.keys(x).forEach((G) => {
4832
4836
  rn(G, x[G]);
4833
4837
  });
@@ -4838,14 +4842,14 @@ function _o(e, t, r) {
4838
4842
  Object.keys(nn).forEach((g) => {
4839
4843
  rn(g, nn[g]);
4840
4844
  });
4841
- let It = n("registerTermsConditions");
4842
- const We = () => {
4845
+ let Lt = n("registerTermsConditions");
4846
+ const qe = () => {
4843
4847
  fetch(`${c}/v1/player/countries`).then((g) => g.json()).then((g) => {
4844
4848
  fetch(`${c}/v1/player/operatorSupportedCountries`).then((x) => x.status >= 300 ? new Error("Error while fetching the supported countries") : x.json()).then((x) => {
4845
- r(20, Te = g.countries.filter((G) => x.countries.indexOf(G.Alpha2Code) >= 0)), pe || (r(21, pe = Te[0].Alpha2Code), r(30, B.country = !0, B)), r(22, Fe = g.countries), he || (r(23, he = Fe.filter((G) => x.countries.indexOf(G.Alpha2Code) >= 0)[0].Alpha2Code), r(30, B.nationality = !0, B));
4849
+ r(20, Te = g.countries.filter((G) => x.countries.indexOf(G.Alpha2Code) >= 0)), pe || (r(21, pe = Te[0].Alpha2Code), r(30, B.country = !0, B)), r(22, De = g.countries), he || (r(23, he = De.filter((G) => x.countries.indexOf(G.Alpha2Code) >= 0)[0].Alpha2Code), r(30, B.nationality = !0, B));
4846
4850
  });
4847
4851
  });
4848
- }, Lt = () => {
4852
+ }, Rt = () => {
4849
4853
  fetch(`${c}/v1/player/phonecodes`).then((g) => g.json()).then((g) => {
4850
4854
  r(25, q = g.phoneCodes), fe || r(26, fe = q[0].Prefix);
4851
4855
  });
@@ -4853,13 +4857,13 @@ function _o(e, t, r) {
4853
4857
  if (!(d.indexOf(g) >= 0))
4854
4858
  switch (g) {
4855
4859
  case "address1":
4856
- r(17, xe = x), xt();
4860
+ r(17, xe = x), At();
4857
4861
  break;
4858
4862
  case "postalCode":
4859
- r(18, j = x), Be();
4863
+ r(18, j = x), Pe();
4860
4864
  break;
4861
4865
  case "city":
4862
- r(19, te = x), $e();
4866
+ r(19, te = x), Qe();
4863
4867
  break;
4864
4868
  case "country":
4865
4869
  r(21, pe = x), r(30, B.country = !0, B);
@@ -4868,29 +4872,29 @@ function _o(e, t, r) {
4868
4872
  r(23, he = x), r(30, B.nationality = !0, B);
4869
4873
  break;
4870
4874
  case "mobile":
4871
- r(26, fe = x.prefix), r(24, ye = x.number), De();
4875
+ r(26, fe = x.prefix), r(24, ye = x.number), Ge();
4872
4876
  break;
4873
4877
  case "userConsents":
4874
- Object.keys(x).length !== 0 && (x.termsandconditions && x.sms && r(27, Z = !0), r(30, B.termsandconditions = x.termsandconditions, B), r(29, y.userConsents.termsandconditions = x.termsandconditions, y), r(29, y.userConsents.sms = x.sms, y), r(29, y.userConsents.emailmarketing = x.emailmarketing, y)), Se();
4878
+ Object.keys(x).length !== 0 && (x.termsandconditions && x.sms && r(27, Z = !0), r(30, B.termsandconditions = x.termsandconditions, B), r(29, y.userConsents.termsandconditions = x.termsandconditions, y), r(29, y.userConsents.sms = x.sms, y), r(29, y.userConsents.emailmarketing = x.emailmarketing, y)), He();
4875
4879
  break;
4876
4880
  }
4877
- }, Se = () => {
4878
- r(28, Xe = Object.keys(B).every((g) => d.includes(g) ? !0 : B[g] !== !1));
4879
- }, qe = () => !!(xe && xe.length <= 100), xt = () => {
4880
- r(29, y.address1 = xe, y), r(6, S = !qe()), r(30, B.address1 = !S, B), Se();
4881
- }, He = () => !!(j && j.length <= 20), Be = () => {
4882
- r(29, y.postalCode = j, y), r(7, z = !He()), r(30, B.postalCode = !z, B), Se();
4883
- }, Ze = () => !!(te && te.length <= 50), $e = () => {
4884
- r(29, y.city = te, y), r(9, V = !Ze()), r(30, B.city = !V, B), Se();
4885
- }, Rt = () => !!(ye && ye.length >= 5 && ye.length <= 12), De = () => {
4886
- r(29, y.mobile.number = ye, y), r(8, N = !Rt()), r(30, B.mobile = !N, B), Se();
4887
- }, Ge = (g) => {
4881
+ }, He = () => {
4882
+ r(28, We = Object.keys(B).every((g) => d.includes(g) ? !0 : B[g] !== !1));
4883
+ }, Ze = () => !!(xe && xe.length <= 100), At = () => {
4884
+ r(29, y.address1 = xe, y), r(6, T = !Ze()), r(30, B.address1 = !T, B), He();
4885
+ }, Be = () => !!(j && j.length <= 20), Pe = () => {
4886
+ r(29, y.postalCode = j, y), r(7, z = !Be()), r(30, B.postalCode = !z, B), He();
4887
+ }, $e = () => !!(te && te.length <= 50), Qe = () => {
4888
+ r(29, y.city = te, y), r(9, V = !$e()), r(30, B.city = !V, B), He();
4889
+ }, Ut = () => !!(ye && ye.length >= 5 && ye.length <= 12), Ge = () => {
4890
+ r(29, y.mobile.number = ye, y), r(8, M = !Ut()), r(30, B.mobile = !M, B), He();
4891
+ }, je = (g) => {
4888
4892
  g === "GeneralOffers" ? (r(27, Z = !Z), r(29, y.userConsents.sms = Z, y), r(29, y.userConsents.emailmarketing = Z, y)) : g === "SmsOffers" ? (r(29, y.userConsents.sms = !y.userConsents.sms, y), y.userConsents.sms && r(27, Z = !0)) : g === "EmailOffers" && (r(29, y.userConsents.emailmarketing = !y.userConsents.emailmarketing, y), y.userConsents.emailmarketing && r(27, Z = !0)), _e();
4889
4893
  }, _e = () => {
4890
4894
  !y.userConsents.sms && !y.userConsents.emailmarketing && r(27, Z = !1);
4891
- }, je = () => {
4892
- r(29, y.userConsents.termsandconditions = !y.userConsents.termsandconditions, y), r(30, B.termsandconditions = !B.termsandconditions, B), Se();
4893
- }, Ut = () => new Promise((g, x) => {
4895
+ }, ze = () => {
4896
+ r(29, y.userConsents.termsandconditions = !y.userConsents.termsandconditions, y), r(30, B.termsandconditions = !B.termsandconditions, B), He();
4897
+ }, Ft = () => new Promise((g, x) => {
4894
4898
  grecaptcha.ready(() => {
4895
4899
  grecaptcha.execute(a, { action: "submit" }).then((G) => {
4896
4900
  g(G);
@@ -4899,8 +4903,8 @@ function _o(e, t, r) {
4899
4903
  }), Ae = (g) => {
4900
4904
  g.preventDefault(), r(29, y.nationality = he, y), r(29, y.country = pe, y), r(29, y.mobile.prefix = fe, y);
4901
4905
  let x = {};
4902
- Ut().then((G) => {
4903
- x = ur(lr({}, y), { token: G }), window.postMessage(
4906
+ Ft().then((G) => {
4907
+ x = hr(cr({}, y), { token: G }), window.postMessage(
4904
4908
  {
4905
4909
  type: "RegisterStepThree",
4906
4910
  registerStepThreeData: x
@@ -4908,7 +4912,7 @@ function _o(e, t, r) {
4908
4912
  window.location.href
4909
4913
  );
4910
4914
  });
4911
- }, Me = () => {
4915
+ }, Ne = () => {
4912
4916
  r(29, y.nationality = he, y), r(29, y.country = pe, y), r(29, y.mobile.prefix = fe, y), window.postMessage(
4913
4917
  {
4914
4918
  type: "GoBackStepThree",
@@ -4916,76 +4920,76 @@ function _o(e, t, r) {
4916
4920
  },
4917
4921
  window.location.href
4918
4922
  );
4919
- }, ze = (g) => {
4923
+ }, Ve = (g) => {
4920
4924
  if (g.data)
4921
4925
  switch (g.data.type) {
4922
4926
  case "StepThreeDataBackup":
4923
4927
  const x = g.data.userData;
4924
4928
  for (const G in x)
4925
4929
  de(G, x[G]);
4926
- r(28, Xe = Object.keys(B).every((G) => d.includes(G) ? !0 : B[G] !== !1));
4930
+ r(28, We = Object.keys(B).every((G) => d.includes(G) ? !0 : B[G] !== !1));
4927
4931
  break;
4928
4932
  case "ShowRegistrationError":
4929
- r(15, vt = g.data.showError), r(16, Ue = g.data.error);
4933
+ r(15, Ct = g.data.showError), r(16, Fe = g.data.error);
4930
4934
  }
4931
- }, At = () => {
4932
- r(14, Et = d.split(","));
4933
- }, Ft = () => {
4935
+ }, wt = () => {
4936
+ r(14, vt = d.split(","));
4937
+ }, Dt = () => {
4934
4938
  W = m.split(","), W.indexOf("consentsTerms") >= 0 && r(29, y.userConsents.termsandconditions = !0, y), W.indexOf("consentsOffers") >= 0 && (r(27, Z = !0), r(29, y.userConsents.sms = !0, y), r(29, y.userConsents.emailmarketing = !0, y)), W.forEach((g) => {
4935
4939
  g.includes("phonePrefix") && (r(26, fe = g.split(":")[1].toString()), r(29, y.mobile.prefix = fe, y));
4936
4940
  });
4937
- }, Qe = () => {
4938
- fo(h);
4941
+ }, Je = () => {
4942
+ mo(h);
4939
4943
  };
4940
- ci(() => (window.addEventListener("message", ze, !1), () => {
4941
- window.removeEventListener("message", ze);
4944
+ ci(() => (window.addEventListener("message", Ve, !1), () => {
4945
+ window.removeEventListener("message", Ve);
4942
4946
  }));
4943
- function Dt() {
4947
+ function Gt() {
4944
4948
  xe = this.value, r(17, xe);
4945
4949
  }
4946
- const Ee = () => r(10, X = !0), Je = () => r(10, X = !1);
4947
- function Gt() {
4950
+ const Ee = () => r(10, X = !0), Ye = () => r(10, X = !1);
4951
+ function jt() {
4948
4952
  j = this.value, r(18, j);
4949
4953
  }
4950
- const ge = () => r(11, me = !0), Ne = () => r(11, me = !1);
4951
- function Ye() {
4954
+ const ge = () => r(11, me = !0), ke = () => r(11, me = !1);
4955
+ function Ke() {
4952
4956
  te = this.value, r(19, te);
4953
4957
  }
4954
- const wt = () => r(13, Oe = !0), jt = () => r(13, Oe = !1);
4955
- function Ke() {
4956
- pe = hr(this), r(21, pe), r(20, Te);
4958
+ const St = () => r(13, Me = !0), zt = () => r(13, Me = !1);
4959
+ function et() {
4960
+ pe = dr(this), r(21, pe), r(20, Te);
4957
4961
  }
4958
- function zt() {
4959
- he = hr(this), r(23, he), r(22, Fe);
4962
+ function Vt() {
4963
+ he = dr(this), r(23, he), r(22, De);
4960
4964
  }
4961
- function ke() {
4962
- fe = hr(this), r(26, fe), r(25, q);
4965
+ function Ie() {
4966
+ fe = dr(this), r(26, fe), r(25, q);
4963
4967
  }
4964
4968
  function ve() {
4965
4969
  ye = this.value, r(24, ye);
4966
4970
  }
4967
- const Vt = () => r(12, we = !0), $ = () => r(12, we = !1), Xt = () => Ge("GeneralOffers"), et = () => Ge("SmsOffers"), Wt = () => Ge("EmailOffers"), Tt = () => je(), Pe = (g) => Ae(g);
4968
- function tt(g) {
4969
- _r[g ? "unshift" : "push"](() => {
4971
+ const Xt = () => r(12, Se = !0), $ = () => r(12, Se = !1), Wt = () => je("GeneralOffers"), tt = () => je("SmsOffers"), qt = () => je("EmailOffers"), Tt = () => ze(), Oe = (g) => Ae(g);
4972
+ function rt(g) {
4973
+ vr[g ? "unshift" : "push"](() => {
4970
4974
  U = g, r(5, U);
4971
4975
  });
4972
4976
  }
4973
4977
  return e.$$set = (g) => {
4974
- "userconsentsexist" in g && r(0, i = g.userconsentsexist), "termsconditions" in g && r(1, s = g.termsconditions), "smsoffers" in g && r(2, o = g.smsoffers), "emailmarketing" in g && r(3, l = g.emailmarketing), "endpoint" in g && r(41, c = g.endpoint), "captchakey" in g && r(4, a = g.captchakey), "lang" in g && r(42, h = g.lang), "disabledfields" in g && r(43, d = g.disabledfields), "defaultoptions" in g && r(44, m = g.defaultoptions), "mbsource" in g && r(45, E = g.mbsource), "clientstyling" in g && r(46, _ = g.clientstyling), "clientstylingurl" in g && r(47, v = g.clientstylingurl), "translationurl" in g && r(48, O = g.translationurl);
4978
+ "userconsentsexist" in g && r(0, i = g.userconsentsexist), "termsconditions" in g && r(1, s = g.termsconditions), "smsoffers" in g && r(2, o = g.smsoffers), "emailmarketing" in g && r(3, l = g.emailmarketing), "endpoint" in g && r(41, c = g.endpoint), "captchakey" in g && r(4, a = g.captchakey), "lang" in g && r(42, h = g.lang), "disabledfields" in g && r(43, d = g.disabledfields), "defaultoptions" in g && r(44, m = g.defaultoptions), "mbsource" in g && r(45, E = g.mbsource), "clientstyling" in g && r(46, _ = g.clientstyling), "clientstylingurl" in g && r(47, v = g.clientstylingurl), "translationurl" in g && r(48, P = g.translationurl);
4975
4979
  }, e.$$.update = () => {
4976
4980
  e.$$.dirty[1] & /*endpoint*/
4977
- 1024 && c && We(), e.$$.dirty[1] & /*endpoint*/
4978
- 1024 && c && Lt(), e.$$.dirty[1] & /*lang*/
4979
- 2048 && h && Qe(), e.$$.dirty[1] & /*disabledfields*/
4980
- 4096 && d && At(), e.$$.dirty[1] & /*defaultoptions*/
4981
- 8192 && m && Ft(), e.$$.dirty[0] & /*customStylingContainer*/
4981
+ 1024 && c && qe(), e.$$.dirty[1] & /*endpoint*/
4982
+ 1024 && c && Rt(), e.$$.dirty[1] & /*lang*/
4983
+ 2048 && h && Je(), e.$$.dirty[1] & /*disabledfields*/
4984
+ 4096 && d && wt(), e.$$.dirty[1] & /*defaultoptions*/
4985
+ 8192 && m && Dt(), e.$$.dirty[0] & /*customStylingContainer*/
4982
4986
  32 | e.$$.dirty[1] & /*clientstyling*/
4983
- 32768 && _ && U && mo(U, _), e.$$.dirty[0] & /*customStylingContainer*/
4987
+ 32768 && _ && U && po(U, _), e.$$.dirty[0] & /*customStylingContainer*/
4984
4988
  32 | e.$$.dirty[1] & /*clientstylingurl*/
4985
- 65536 && v && U && po(U, v), e.$$.dirty[0] & /*customStylingContainer*/
4989
+ 65536 && v && U && go(U, v), e.$$.dirty[0] & /*customStylingContainer*/
4986
4990
  32 | e.$$.dirty[1] & /*mbsource*/
4987
- 16384 && E && U && go(U, `${E}.Style`), e.$$.dirty[1] & /*translationurl*/
4988
- 131072 && O && Ct(), e.$$.dirty[0] & /*userconsentsexist, termsconditions*/
4991
+ 16384 && E && U && bo(U, `${E}.Style`), e.$$.dirty[1] & /*translationurl*/
4992
+ 131072 && P && xt(), e.$$.dirty[0] & /*userconsentsexist, termsconditions*/
4989
4993
  3 && i && r(30, B.termsandconditions = s === "false", B);
4990
4994
  }, [
4991
4995
  i,
@@ -4994,41 +4998,41 @@ function _o(e, t, r) {
4994
4998
  l,
4995
4999
  a,
4996
5000
  U,
4997
- S,
5001
+ T,
4998
5002
  z,
4999
- N,
5003
+ M,
5000
5004
  V,
5001
5005
  X,
5002
5006
  me,
5003
- we,
5004
- Oe,
5005
- Et,
5007
+ Se,
5008
+ Me,
5006
5009
  vt,
5007
- Ue,
5010
+ Ct,
5011
+ Fe,
5008
5012
  xe,
5009
5013
  j,
5010
5014
  te,
5011
5015
  Te,
5012
5016
  pe,
5013
- Fe,
5017
+ De,
5014
5018
  he,
5015
5019
  ye,
5016
5020
  q,
5017
5021
  fe,
5018
5022
  Z,
5019
- Xe,
5023
+ We,
5020
5024
  y,
5021
5025
  B,
5022
5026
  n,
5023
- It,
5024
- xt,
5025
- Be,
5026
- $e,
5027
- De,
5027
+ Lt,
5028
+ At,
5029
+ Pe,
5030
+ Qe,
5028
5031
  Ge,
5029
5032
  je,
5033
+ ze,
5030
5034
  Ae,
5031
- Me,
5035
+ Ne,
5032
5036
  c,
5033
5037
  h,
5034
5038
  d,
@@ -5036,37 +5040,37 @@ function _o(e, t, r) {
5036
5040
  E,
5037
5041
  _,
5038
5042
  v,
5039
- O,
5040
- Dt,
5041
- Ee,
5042
- Je,
5043
+ P,
5043
5044
  Gt,
5044
- ge,
5045
- Ne,
5045
+ Ee,
5046
5046
  Ye,
5047
- wt,
5048
5047
  jt,
5048
+ ge,
5049
+ ke,
5049
5050
  Ke,
5051
+ St,
5050
5052
  zt,
5051
- ke,
5052
- ve,
5053
+ et,
5053
5054
  Vt,
5054
- $,
5055
+ Ie,
5056
+ ve,
5055
5057
  Xt,
5056
- et,
5058
+ $,
5057
5059
  Wt,
5060
+ tt,
5061
+ qt,
5058
5062
  Tt,
5059
- Pe,
5060
- tt
5063
+ Oe,
5064
+ rt
5061
5065
  ];
5062
5066
  }
5063
- class Eo extends Ci {
5067
+ class vo extends Ci {
5064
5068
  constructor(t) {
5065
5069
  super(), Ei(
5066
5070
  this,
5067
5071
  t,
5072
+ Eo,
5068
5073
  _o,
5069
- yo,
5070
5074
  An,
5071
5075
  {
5072
5076
  userconsentsexist: 0,
@@ -5083,7 +5087,7 @@ class Eo extends Ci {
5083
5087
  clientstylingurl: 47,
5084
5088
  translationurl: 48
5085
5089
  },
5086
- bo,
5090
+ yo,
5087
5091
  [-1, -1, -1, -1]
5088
5092
  );
5089
5093
  }
@@ -5166,7 +5170,7 @@ class Eo extends Ci {
5166
5170
  this.$$set({ translationurl: t }), K();
5167
5171
  }
5168
5172
  }
5169
- vi(Eo, { userconsentsexist: {}, termsconditions: {}, smsoffers: {}, emailmarketing: {}, endpoint: {}, captchakey: {}, lang: {}, disabledfields: {}, defaultoptions: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5173
+ vi(vo, { userconsentsexist: {}, termsconditions: {}, smsoffers: {}, emailmarketing: {}, endpoint: {}, captchakey: {}, lang: {}, disabledfields: {}, defaultoptions: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5170
5174
  export {
5171
- Eo as default
5175
+ vo as default
5172
5176
  };