@everymatrix/general-player-register-form-step3-nd 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- var Yn = Object.defineProperty, Kn = Object.defineProperties;
2
- var ei = Object.getOwnPropertyDescriptors;
1
+ var Jn = Object.defineProperty, Yn = Object.defineProperties;
2
+ var Kn = Object.getOwnPropertyDescriptors;
3
3
  var Ur = Object.getOwnPropertySymbols;
4
- var ti = Object.prototype.hasOwnProperty, ri = Object.prototype.propertyIsEnumerable;
5
- var ar = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lr = (e, t) => {
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) => {
6
6
  for (var r in t || (t = {}))
7
- ti.call(t, r) && ar(e, r, t[r]);
7
+ ei.call(t, r) && ar(e, r, t[r]);
8
8
  if (Ur)
9
9
  for (var r of Ur(t))
10
- ri.call(t, r) && ar(e, r, t[r]);
10
+ ti.call(t, r) && ar(e, r, t[r]);
11
11
  return e;
12
- }, ur = (e, t) => Kn(e, ei(t));
13
- var ge = (e, t, r) => ar(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, ur = (e, t) => Yn(e, Kn(t));
13
+ var be = (e, t, r) => (ar(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 {
@@ -27,58 +27,55 @@ var Fr = (e, t, r) => new Promise((n, i) => {
27
27
  }, l = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(s, o);
28
28
  l((r = r.apply(e, t)).next());
29
29
  });
30
- function ve() {
30
+ function Ce() {
31
31
  }
32
- function An(e) {
32
+ function xn(e) {
33
33
  return e();
34
34
  }
35
35
  function Dr() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function mt(e) {
39
- e.forEach(An);
38
+ function gt(e) {
39
+ e.forEach(xn);
40
40
  }
41
41
  function Pr(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function wn(e, t) {
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 Zt;
47
+ let qt;
48
48
  function Gr(e, t) {
49
- return e === t ? !0 : (Zt || (Zt = document.createElement("a")), Zt.href = t, e === Zt.href);
49
+ return e === t ? !0 : (qt || (qt = document.createElement("a")), qt.href = t, e === qt.href);
50
50
  }
51
- function ni(e) {
51
+ function ri(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Tn(e, ...t) {
54
+ function wn(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return ve;
58
+ return Ce;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function ii(e, t, r) {
64
- e.$$.on_destroy.push(Tn(t, r));
63
+ function ni(e, t, r) {
64
+ e.$$.on_destroy.push(wn(t, r));
65
65
  }
66
- const si = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
67
- // @ts-ignore Node typings have this
68
- global
69
- );
70
66
  function u(e, t) {
71
67
  e.appendChild(t);
72
68
  }
73
- function oi(e, t, r) {
74
- const n = ai(e);
69
+ function ii(e, t, r) {
70
+ const n = si(e);
75
71
  if (!n.getElementById(t)) {
76
- const i = y("style");
77
- i.id = t, i.textContent = r, li(n, i);
72
+ const i = b("style");
73
+ i.id = t, i.textContent = r, oi(n, i);
78
74
  }
79
75
  }
80
- function ai(e) {
81
- if (!e) return document;
76
+ function si(e) {
77
+ if (!e)
78
+ return document;
82
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
80
  return t && /** @type {ShadowRoot} */
84
81
  t.host ? (
@@ -86,14 +83,14 @@ function ai(e) {
86
83
  t
87
84
  ) : e.ownerDocument;
88
85
  }
89
- function li(e, t) {
86
+ function oi(e, t) {
90
87
  return u(
91
88
  /** @type {Document} */
92
89
  e.head || e,
93
90
  t
94
91
  ), t.sheet;
95
92
  }
96
- function U(e, t, r) {
93
+ function R(e, t, r) {
97
94
  e.insertBefore(t, r || null);
98
95
  }
99
96
  function I(e) {
@@ -103,16 +100,16 @@ function cr(e, t) {
103
100
  for (let r = 0; r < e.length; r += 1)
104
101
  e[r] && e[r].d(t);
105
102
  }
106
- function y(e) {
103
+ function b(e) {
107
104
  return document.createElement(e);
108
105
  }
109
- function $t(e) {
106
+ function Zt(e) {
110
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
111
108
  }
112
109
  function M(e) {
113
110
  return document.createTextNode(e);
114
111
  }
115
- function S() {
112
+ function T() {
116
113
  return M(" ");
117
114
  }
118
115
  function Or() {
@@ -121,20 +118,20 @@ function Or() {
121
118
  function k(e, t, r, n) {
122
119
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
120
  }
124
- function g(e, t, r) {
121
+ function p(e, t, r) {
125
122
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
126
123
  }
127
- function ui(e) {
124
+ function ai(e) {
128
125
  return Array.from(e.childNodes);
129
126
  }
130
- function G(e, t) {
127
+ function D(e, t) {
131
128
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
132
129
  t);
133
130
  }
134
- function le(e, t) {
131
+ function ce(e, t) {
135
132
  e.value = t == null ? "" : t;
136
133
  }
137
- function nt(e, t, r) {
134
+ function st(e, t, r) {
138
135
  for (let n = 0; n < e.options.length; n += 1) {
139
136
  const i = e.options[n];
140
137
  if (i.__value === t) {
@@ -148,7 +145,7 @@ function hr(e) {
148
145
  const t = e.querySelector(":checked");
149
146
  return t && t.__value;
150
147
  }
151
- function ci(e) {
148
+ function li(e) {
152
149
  const t = {};
153
150
  return e.childNodes.forEach(
154
151
  /** @param {Element} node */
@@ -161,82 +158,84 @@ let Mt;
161
158
  function Ot(e) {
162
159
  Mt = e;
163
160
  }
164
- function hi() {
165
- if (!Mt) throw new Error("Function called outside component initialization");
161
+ function ui() {
162
+ if (!Mt)
163
+ throw new Error("Function called outside component initialization");
166
164
  return Mt;
167
165
  }
168
- function fi(e) {
169
- hi().$$.on_mount.push(e);
166
+ function ci(e) {
167
+ ui().$$.on_mount.push(e);
170
168
  }
171
- const at = [], _r = [];
172
- let lt = [];
173
- const jr = [], di = /* @__PURE__ */ Promise.resolve();
174
- let Er = !1;
175
- function mi() {
176
- Er || (Er = !0, di.then(ae));
169
+ const ut = [], _r = [];
170
+ let ct = [];
171
+ const jr = [], hi = /* @__PURE__ */ Promise.resolve();
172
+ let vr = !1;
173
+ function fi() {
174
+ vr || (vr = !0, hi.then(K));
177
175
  }
178
- function ut(e) {
179
- lt.push(e);
176
+ function ht(e) {
177
+ ct.push(e);
180
178
  }
181
179
  const fr = /* @__PURE__ */ new Set();
182
- let it = 0;
183
- function ae() {
184
- if (it !== 0)
180
+ let ot = 0;
181
+ function K() {
182
+ if (ot !== 0)
185
183
  return;
186
184
  const e = Mt;
187
185
  do {
188
186
  try {
189
- for (; it < at.length; ) {
190
- const t = at[it];
191
- it++, Ot(t), pi(t.$$);
187
+ for (; ot < ut.length; ) {
188
+ const t = ut[ot];
189
+ ot++, Ot(t), di(t.$$);
192
190
  }
193
191
  } catch (t) {
194
- throw at.length = 0, it = 0, t;
192
+ throw ut.length = 0, ot = 0, t;
195
193
  }
196
- for (Ot(null), at.length = 0, it = 0; _r.length; ) _r.pop()();
197
- for (let t = 0; t < lt.length; t += 1) {
198
- const r = lt[t];
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];
199
198
  fr.has(r) || (fr.add(r), r());
200
199
  }
201
- lt.length = 0;
202
- } while (at.length);
200
+ ct.length = 0;
201
+ } while (ut.length);
203
202
  for (; jr.length; )
204
203
  jr.pop()();
205
- Er = !1, fr.clear(), Ot(e);
204
+ vr = !1, fr.clear(), Ot(e);
206
205
  }
207
- function pi(e) {
206
+ function di(e) {
208
207
  if (e.fragment !== null) {
209
- e.update(), mt(e.before_update);
208
+ e.update(), gt(e.before_update);
210
209
  const t = e.dirty;
211
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ut);
210
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ht);
212
211
  }
213
212
  }
214
- function gi(e) {
213
+ function mi(e) {
215
214
  const t = [], r = [];
216
- lt.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), lt = t;
215
+ ct.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ct = t;
217
216
  }
218
- const bi = /* @__PURE__ */ new Set();
219
- function yi(e, t) {
220
- e && e.i && (bi.delete(e), e.i(t));
217
+ const pi = /* @__PURE__ */ new Set();
218
+ function gi(e, t) {
219
+ e && e.i && (pi.delete(e), e.i(t));
221
220
  }
222
- function st(e) {
221
+ function at(e) {
223
222
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
224
223
  }
225
- function _i(e, t, r) {
224
+ function bi(e, t, r) {
226
225
  const { fragment: n, after_update: i } = e.$$;
227
- n && n.m(t, r), ut(() => {
228
- const s = e.$$.on_mount.map(An).filter(Pr);
229
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : mt(s), e.$$.on_mount = [];
230
- }), i.forEach(ut);
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);
231
230
  }
232
- function Ei(e, t) {
231
+ function yi(e, t) {
233
232
  const r = e.$$;
234
- r.fragment !== null && (gi(r.after_update), mt(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), gt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
235
234
  }
236
- function vi(e, t) {
237
- e.$$.dirty[0] === -1 && (at.push(e), mi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
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;
238
237
  }
239
- function Ci(e, t, r, n, i, s, o = null, l = [-1]) {
238
+ function vi(e, t, r, n, i, s, o = null, l = [-1]) {
240
239
  const c = Mt;
241
240
  Ot(e);
242
241
  const a = e.$$ = {
@@ -244,7 +243,7 @@ function Ci(e, t, r, n, i, s, o = null, l = [-1]) {
244
243
  ctx: [],
245
244
  // state
246
245
  props: s,
247
- update: ve,
246
+ update: Ce,
248
247
  not_equal: i,
249
248
  bound: Dr(),
250
249
  // lifecycle
@@ -262,41 +261,41 @@ function Ci(e, t, r, n, i, s, o = null, l = [-1]) {
262
261
  };
263
262
  o && o(a.root);
264
263
  let h = !1;
265
- if (a.ctx = r ? r(e, t.props || {}, (d, m, ...E) => {
266
- const _ = E.length ? E[0] : m;
267
- return a.ctx && i(a.ctx[d], a.ctx[d] = _) && (!a.skip_bound && a.bound[d] && a.bound[d](_), h && vi(e, d)), m;
268
- }) : [], a.update(), h = !0, mt(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
264
+ if (a.ctx = r ? r(e, t.props || {}, (d, m, ...v) => {
265
+ const _ = v.length ? v[0] : m;
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) {
269
268
  if (t.hydrate) {
270
- const d = ui(t.target);
269
+ const d = ai(t.target);
271
270
  a.fragment && a.fragment.l(d), d.forEach(I);
272
271
  } else
273
272
  a.fragment && a.fragment.c();
274
- t.intro && yi(e.$$.fragment), _i(e, t.target, t.anchor), ae();
273
+ t.intro && gi(e.$$.fragment), bi(e, t.target, t.anchor), K();
275
274
  }
276
275
  Ot(c);
277
276
  }
278
- let Sn;
279
- typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
277
+ let Tn;
278
+ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
280
279
  constructor(t, r, n) {
281
280
  super();
282
281
  /** The Svelte component constructor */
283
- ge(this, "$$ctor");
282
+ be(this, "$$ctor");
284
283
  /** Slots */
285
- ge(this, "$$s");
284
+ be(this, "$$s");
286
285
  /** The Svelte component instance */
287
- ge(this, "$$c");
286
+ be(this, "$$c");
288
287
  /** Whether or not the custom element is connected */
289
- ge(this, "$$cn", !1);
288
+ be(this, "$$cn", !1);
290
289
  /** Component props data */
291
- ge(this, "$$d", {});
290
+ be(this, "$$d", {});
292
291
  /** `true` if currently in the process of reflecting component props back to attributes */
293
- ge(this, "$$r", !1);
292
+ be(this, "$$r", !1);
294
293
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
295
- ge(this, "$$p_d", {});
294
+ be(this, "$$p_d", {});
296
295
  /** @type {Record<string, Function[]>} Event listeners */
297
- ge(this, "$$l", {});
296
+ be(this, "$$l", {});
298
297
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
299
- ge(this, "$$l_u", /* @__PURE__ */ new Map());
298
+ be(this, "$$l_u", /* @__PURE__ */ new Map());
300
299
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
301
300
  }
302
301
  addEventListener(t, r, n) {
@@ -320,14 +319,14 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
320
319
  let o;
321
320
  return {
322
321
  c: function() {
323
- o = y("slot"), s !== "default" && g(o, "name", s);
322
+ o = b("slot"), s !== "default" && p(o, "name", s);
324
323
  },
325
324
  /**
326
325
  * @param {HTMLElement} target
327
326
  * @param {HTMLElement} [anchor]
328
327
  */
329
328
  m: function(a, h) {
330
- U(a, o, h);
329
+ R(a, o, h);
331
330
  },
332
331
  d: function(a) {
333
332
  a && I(o);
@@ -337,12 +336,12 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
337
336
  };
338
337
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
339
338
  return;
340
- const r = {}, n = ci(this);
339
+ const r = {}, n = li(this);
341
340
  for (const s of this.$$s)
342
341
  s in n && (r[s] = [t(s)]);
343
342
  for (const s of this.attributes) {
344
343
  const o = this.$$g_p(s.name);
345
- o in this.$$d || (this.$$d[o] = Jt(o, s.value, this.$$p_d, "toProp"));
344
+ o in this.$$d || (this.$$d[o] = Qt(o, s.value, this.$$p_d, "toProp"));
346
345
  }
347
346
  for (const s in this.$$p_d)
348
347
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -359,7 +358,7 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
359
358
  this.$$r = !0;
360
359
  for (const s in this.$$p_d)
361
360
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
362
- const o = Jt(
361
+ const o = Qt(
363
362
  s,
364
363
  this.$$d[s],
365
364
  this.$$p_d,
@@ -383,7 +382,7 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
383
382
  // and setting attributes through setAttribute etc, this is helpful
384
383
  attributeChangedCallback(t, r, n) {
385
384
  var i;
386
- 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] }));
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] }));
387
386
  }
388
387
  disconnectedCallback() {
389
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -396,7 +395,7 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
396
395
  ) || t;
397
396
  }
398
397
  });
399
- function Jt(e, t, r, n) {
398
+ function Qt(e, t, r, n) {
400
399
  var s;
401
400
  const i = (s = r[e]) == null ? void 0 : s.type;
402
401
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -426,8 +425,8 @@ function Jt(e, t, r, n) {
426
425
  return t;
427
426
  }
428
427
  }
429
- function xi(e, t, r, n, i, s) {
430
- let o = class extends Sn {
428
+ function Ei(e, t, r, n, i, s) {
429
+ let o = class extends Tn {
431
430
  constructor() {
432
431
  super(e, r, i), this.$$p_d = t;
433
432
  }
@@ -444,7 +443,7 @@ function xi(e, t, r, n, i, s) {
444
443
  },
445
444
  set(c) {
446
445
  var a;
447
- c = Jt(l, c, t), this.$$d[l] = c, (a = this.$$c) == null || a.$set({ [l]: c });
446
+ c = Qt(l, c, t), this.$$d[l] = c, (a = this.$$c) == null || a.$set({ [l]: c });
448
447
  }
449
448
  });
450
449
  }), n.forEach((l) => {
@@ -457,7 +456,7 @@ function xi(e, t, r, n, i, s) {
457
456
  }), e.element = /** @type {any} */
458
457
  o, o;
459
458
  }
460
- class Ai {
459
+ class Ci {
461
460
  constructor() {
462
461
  /**
463
462
  * ### PRIVATE API
@@ -466,7 +465,7 @@ class Ai {
466
465
  *
467
466
  * @type {any}
468
467
  */
469
- ge(this, "$$");
468
+ be(this, "$$");
470
469
  /**
471
470
  * ### PRIVATE API
472
471
  *
@@ -474,11 +473,11 @@ class Ai {
474
473
  *
475
474
  * @type {any}
476
475
  */
477
- ge(this, "$$set");
476
+ be(this, "$$set");
478
477
  }
479
478
  /** @returns {void} */
480
479
  $destroy() {
481
- Ei(this, 1), this.$destroy = ve;
480
+ yi(this, 1), this.$destroy = Ce;
482
481
  }
483
482
  /**
484
483
  * @template {Extract<keyof Events, string>} K
@@ -488,7 +487,7 @@ class Ai {
488
487
  */
489
488
  $on(t, r) {
490
489
  if (!Pr(r))
491
- return ve;
490
+ return Ce;
492
491
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
493
492
  return n.push(r), () => {
494
493
  const i = n.indexOf(r);
@@ -500,159 +499,174 @@ class Ai {
500
499
  * @returns {void}
501
500
  */
502
501
  $set(t) {
503
- this.$$set && !ni(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
502
+ this.$$set && !ri(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
504
503
  }
505
504
  }
506
- const wi = "4";
507
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wi);
508
- const ot = [];
509
- function Ti(e, t) {
505
+ const xi = "4";
506
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xi);
507
+ const lt = [];
508
+ function Ai(e, t) {
510
509
  return {
511
- subscribe: rr(e, t).subscribe
510
+ subscribe: tr(e, t).subscribe
512
511
  };
513
512
  }
514
- function rr(e, t = ve) {
513
+ function tr(e, t = Ce) {
515
514
  let r;
516
515
  const n = /* @__PURE__ */ new Set();
517
516
  function i(l) {
518
- if (wn(e, l) && (e = l, r)) {
519
- const c = !ot.length;
517
+ if (An(e, l) && (e = l, r)) {
518
+ const c = !lt.length;
520
519
  for (const a of n)
521
- a[1](), ot.push(a, e);
520
+ a[1](), lt.push(a, e);
522
521
  if (c) {
523
- for (let a = 0; a < ot.length; a += 2)
524
- ot[a][0](ot[a + 1]);
525
- ot.length = 0;
522
+ for (let a = 0; a < lt.length; a += 2)
523
+ lt[a][0](lt[a + 1]);
524
+ lt.length = 0;
526
525
  }
527
526
  }
528
527
  }
529
528
  function s(l) {
530
529
  i(l(e));
531
530
  }
532
- function o(l, c = ve) {
531
+ function o(l, c = Ce) {
533
532
  const a = [l, c];
534
- return n.add(a), n.size === 1 && (r = t(i, s) || ve), l(e), () => {
533
+ return n.add(a), n.size === 1 && (r = t(i, s) || Ce), l(e), () => {
535
534
  n.delete(a), n.size === 0 && r && (r(), r = null);
536
535
  };
537
536
  }
538
537
  return { set: i, update: s, subscribe: o };
539
538
  }
540
- function pt(e, t, r) {
539
+ function bt(e, t, r) {
541
540
  const n = !Array.isArray(e), i = n ? [e] : e;
542
541
  if (!i.every(Boolean))
543
542
  throw new Error("derived() expects stores as input, got a falsy value");
544
543
  const s = t.length < 2;
545
- return Ti(r, (o, l) => {
544
+ return Ai(r, (o, l) => {
546
545
  let c = !1;
547
546
  const a = [];
548
- let h = 0, d = ve;
547
+ let h = 0, d = Ce;
549
548
  const m = () => {
550
549
  if (h)
551
550
  return;
552
551
  d();
553
552
  const _ = t(n ? a[0] : a, o, l);
554
- s ? o(_) : d = Pr(_) ? _ : ve;
555
- }, E = i.map(
556
- (_, v) => Tn(
553
+ s ? o(_) : d = Pr(_) ? _ : Ce;
554
+ }, v = i.map(
555
+ (_, E) => wn(
557
556
  _,
558
557
  (O) => {
559
- a[v] = O, h &= ~(1 << v), c && m();
558
+ a[E] = O, h &= ~(1 << E), c && m();
560
559
  },
561
560
  () => {
562
- h |= 1 << v;
561
+ h |= 1 << E;
563
562
  }
564
563
  )
565
564
  );
566
565
  return c = !0, m(), function() {
567
- mt(E), d(), c = !1;
566
+ gt(v), d(), c = !1;
568
567
  };
569
568
  });
570
569
  }
571
- function Si(e) {
570
+ function wi(e) {
572
571
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
573
572
  }
574
- var Hi = function(t) {
575
- return Bi(t) && !Pi(t);
573
+ var Ti = function(t) {
574
+ return Si(t) && !Hi(t);
576
575
  };
577
- function Bi(e) {
576
+ function Si(e) {
578
577
  return !!e && typeof e == "object";
579
578
  }
580
- function Pi(e) {
579
+ function Hi(e) {
581
580
  var t = Object.prototype.toString.call(e);
582
- return t === "[object RegExp]" || t === "[object Date]" || Ni(e);
581
+ return t === "[object RegExp]" || t === "[object Date]" || Oi(e);
583
582
  }
584
- var Oi = typeof Symbol == "function" && Symbol.for, Mi = Oi ? Symbol.for("react.element") : 60103;
585
- function Ni(e) {
586
- return e.$$typeof === Mi;
583
+ var Bi = typeof Symbol == "function" && Symbol.for, Pi = Bi ? Symbol.for("react.element") : 60103;
584
+ function Oi(e) {
585
+ return e.$$typeof === Pi;
587
586
  }
588
- function ki(e) {
587
+ function Mi(e) {
589
588
  return Array.isArray(e) ? [] : {};
590
589
  }
591
590
  function Nt(e, t) {
592
- return t.clone !== !1 && t.isMergeableObject(e) ? ct(ki(e), e, t) : e;
591
+ return t.clone !== !1 && t.isMergeableObject(e) ? ft(Mi(e), e, t) : e;
593
592
  }
594
- function Ii(e, t, r) {
593
+ function Ni(e, t, r) {
595
594
  return e.concat(t).map(function(n) {
596
595
  return Nt(n, r);
597
596
  });
598
597
  }
599
- function Li(e, t) {
598
+ function ki(e, t) {
600
599
  if (!t.customMerge)
601
- return ct;
600
+ return ft;
602
601
  var r = t.customMerge(e);
603
- return typeof r == "function" ? r : ct;
602
+ return typeof r == "function" ? r : ft;
604
603
  }
605
- function Ri(e) {
604
+ function Ii(e) {
606
605
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
607
606
  return Object.propertyIsEnumerable.call(e, t);
608
607
  }) : [];
609
608
  }
610
609
  function zr(e) {
611
- return Object.keys(e).concat(Ri(e));
610
+ return Object.keys(e).concat(Ii(e));
612
611
  }
613
- function Hn(e, t) {
612
+ function Sn(e, t) {
614
613
  try {
615
614
  return t in e;
616
615
  } catch (r) {
617
616
  return !1;
618
617
  }
619
618
  }
620
- function Ui(e, t) {
621
- return Hn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
619
+ function Li(e, t) {
620
+ return Sn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
622
621
  }
623
- function Fi(e, t, r) {
622
+ function Ri(e, t, r) {
624
623
  var n = {};
625
624
  return r.isMergeableObject(e) && zr(e).forEach(function(i) {
626
625
  n[i] = Nt(e[i], r);
627
626
  }), zr(t).forEach(function(i) {
628
- Ui(e, i) || (Hn(e, i) && r.isMergeableObject(t[i]) ? n[i] = Li(i, r)(e[i], t[i], r) : n[i] = Nt(t[i], r));
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));
629
628
  }), n;
630
629
  }
631
- function ct(e, t, r) {
632
- r = r || {}, r.arrayMerge = r.arrayMerge || Ii, r.isMergeableObject = r.isMergeableObject || Hi, r.cloneUnlessOtherwiseSpecified = Nt;
630
+ function ft(e, t, r) {
631
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ni, r.isMergeableObject = r.isMergeableObject || Ti, r.cloneUnlessOtherwiseSpecified = Nt;
633
632
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
634
- return s ? n ? r.arrayMerge(e, t, r) : Fi(e, t, r) : Nt(t, r);
633
+ return s ? n ? r.arrayMerge(e, t, r) : Ri(e, t, r) : Nt(t, r);
635
634
  }
636
- ct.all = function(t, r) {
635
+ ft.all = function(t, r) {
637
636
  if (!Array.isArray(t))
638
637
  throw new Error("first argument should be an array");
639
638
  return t.reduce(function(n, i) {
640
- return ct(n, i, r);
639
+ return ft(n, i, r);
641
640
  }, {});
642
641
  };
643
- var Di = ct, Gi = Di;
644
- const ji = /* @__PURE__ */ Si(Gi);
645
- var vr = function(e, t) {
646
- return vr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
642
+ var Ui = ft, Fi = Ui;
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 Er = function(e, t) {
659
+ return Er = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
647
660
  r.__proto__ = n;
648
661
  } || function(r, n) {
649
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
650
- }, vr(e, t);
662
+ for (var i in n)
663
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
664
+ }, Er(e, t);
651
665
  };
652
- function nr(e, t) {
666
+ function rr(e, t) {
653
667
  if (typeof t != "function" && t !== null)
654
668
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
655
- vr(e, t);
669
+ Er(e, t);
656
670
  function r() {
657
671
  this.constructor = e;
658
672
  }
@@ -662,56 +676,59 @@ var P = function() {
662
676
  return P = Object.assign || function(t) {
663
677
  for (var r, n = 1, i = arguments.length; n < i; n++) {
664
678
  r = arguments[n];
665
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
679
+ for (var s in r)
680
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
666
681
  }
667
682
  return t;
668
683
  }, P.apply(this, arguments);
669
684
  };
670
- function zi(e, t) {
685
+ function Gi(e, t) {
671
686
  var r = {};
672
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
687
+ for (var n in e)
688
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
673
689
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
674
690
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
675
691
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
676
692
  return r;
677
693
  }
678
694
  function dr(e, t, r) {
679
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
680
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
681
- return e.concat(s || Array.prototype.slice.call(t));
695
+ if (arguments.length === 2)
696
+ for (var n = 0, i = t.length, s; n < i; n++)
697
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
698
+ return e.concat(s || t);
682
699
  }
683
700
  function mr(e, t) {
684
- var r = t && t.cache ? t.cache : $i, n = t && t.serializer ? t.serializer : Zi, i = t && t.strategy ? t.strategy : Xi;
701
+ var r = t && t.cache ? t.cache : qi, n = t && t.serializer ? t.serializer : Wi, i = t && t.strategy ? t.strategy : zi;
685
702
  return i(e, {
686
703
  cache: r,
687
704
  serializer: n
688
705
  });
689
706
  }
690
- function Vi(e) {
707
+ function ji(e) {
691
708
  return e == null || typeof e == "number" || typeof e == "boolean";
692
709
  }
693
- function Bn(e, t, r, n) {
694
- var i = Vi(n) ? n : r(n), s = t.get(i);
710
+ function Hn(e, t, r, n) {
711
+ var i = ji(n) ? n : r(n), s = t.get(i);
695
712
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
696
713
  }
697
- function Pn(e, t, r) {
714
+ function Bn(e, t, r) {
698
715
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
699
716
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
700
717
  }
701
718
  function Mr(e, t, r, n, i) {
702
719
  return r.bind(t, e, n, i);
703
720
  }
704
- function Xi(e, t) {
705
- var r = e.length === 1 ? Bn : Pn;
721
+ function zi(e, t) {
722
+ var r = e.length === 1 ? Hn : Bn;
706
723
  return Mr(e, this, r, t.cache.create(), t.serializer);
707
724
  }
708
- function Wi(e, t) {
709
- return Mr(e, this, Pn, t.cache.create(), t.serializer);
710
- }
711
- function qi(e, t) {
725
+ function Vi(e, t) {
712
726
  return Mr(e, this, Bn, t.cache.create(), t.serializer);
713
727
  }
714
- var Zi = function() {
728
+ function Xi(e, t) {
729
+ return Mr(e, this, Hn, t.cache.create(), t.serializer);
730
+ }
731
+ var Wi = function() {
715
732
  return JSON.stringify(arguments);
716
733
  };
717
734
  function Nr() {
@@ -723,62 +740,62 @@ Nr.prototype.get = function(e) {
723
740
  Nr.prototype.set = function(e, t) {
724
741
  this.cache[e] = t;
725
742
  };
726
- var $i = {
743
+ var qi = {
727
744
  create: function() {
728
745
  return new Nr();
729
746
  }
730
747
  }, pr = {
731
- variadic: Wi,
732
- monadic: qi
733
- }, T;
748
+ variadic: Vi,
749
+ monadic: Xi
750
+ }, w;
734
751
  (function(e) {
735
752
  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";
736
- })(T || (T = {}));
737
- var R;
753
+ })(w || (w = {}));
754
+ var L;
738
755
  (function(e) {
739
756
  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";
740
- })(R || (R = {}));
741
- var ht;
757
+ })(L || (L = {}));
758
+ var dt;
742
759
  (function(e) {
743
760
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
744
- })(ht || (ht = {}));
761
+ })(dt || (dt = {}));
745
762
  function Vr(e) {
746
- return e.type === R.literal;
763
+ return e.type === L.literal;
764
+ }
765
+ function Zi(e) {
766
+ return e.type === L.argument;
747
767
  }
748
- function Qi(e) {
749
- return e.type === R.argument;
768
+ function Pn(e) {
769
+ return e.type === L.number;
750
770
  }
751
771
  function On(e) {
752
- return e.type === R.number;
772
+ return e.type === L.date;
753
773
  }
754
774
  function Mn(e) {
755
- return e.type === R.date;
775
+ return e.type === L.time;
756
776
  }
757
777
  function Nn(e) {
758
- return e.type === R.time;
778
+ return e.type === L.select;
759
779
  }
760
780
  function kn(e) {
761
- return e.type === R.select;
781
+ return e.type === L.plural;
762
782
  }
763
- function In(e) {
764
- return e.type === R.plural;
783
+ function $i(e) {
784
+ return e.type === L.pound;
765
785
  }
766
- function Ji(e) {
767
- return e.type === R.pound;
786
+ function In(e) {
787
+ return e.type === L.tag;
768
788
  }
769
789
  function Ln(e) {
770
- return e.type === R.tag;
771
- }
772
- function Rn(e) {
773
- return !!(e && typeof e == "object" && e.type === ht.number);
790
+ return !!(e && typeof e == "object" && e.type === dt.number);
774
791
  }
775
792
  function Cr(e) {
776
- return !!(e && typeof e == "object" && e.type === ht.dateTime);
793
+ return !!(e && typeof e == "object" && e.type === dt.dateTime);
777
794
  }
778
- var Un = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
779
- function Ki(e) {
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) {
780
797
  var t = {};
781
- return e.replace(Yi, function(r) {
798
+ return e.replace(Qi, function(r) {
782
799
  var n = r.length;
783
800
  switch (r[0]) {
784
801
  case "G":
@@ -867,11 +884,11 @@ function Ki(e) {
867
884
  return "";
868
885
  }), t;
869
886
  }
870
- var es = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
871
- function ts(e) {
887
+ var Yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
888
+ function Ki(e) {
872
889
  if (e.length === 0)
873
890
  throw new Error("Number skeleton cannot be empty");
874
- for (var t = e.split(es).filter(function(m) {
891
+ for (var t = e.split(Yi).filter(function(m) {
875
892
  return m.length > 0;
876
893
  }), r = [], n = 0, i = t; n < i.length; n++) {
877
894
  var s = i[n], o = s.split("/");
@@ -886,17 +903,17 @@ function ts(e) {
886
903
  }
887
904
  return r;
888
905
  }
889
- function rs(e) {
906
+ function es(e) {
890
907
  return e.replace(/^(.*?)-/, "");
891
908
  }
892
- var Xr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fn = /^(@+)?(\+|#+)?[rs]?$/g, ns = /(\*)(0+)|(#+)(0+)|(0+)/g, Dn = /^(0+)$/;
909
+ var Xr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Un = /^(@+)?(\+|#+)?[rs]?$/g, ts = /(\*)(0+)|(#+)(0+)|(0+)/g, Fn = /^(0+)$/;
893
910
  function Wr(e) {
894
911
  var t = {};
895
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fn, function(r, n, i) {
912
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Un, function(r, n, i) {
896
913
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
897
914
  }), t;
898
915
  }
899
- function Gn(e) {
916
+ function Dn(e) {
900
917
  switch (e) {
901
918
  case "sign-auto":
902
919
  return {
@@ -936,7 +953,7 @@ function Gn(e) {
936
953
  };
937
954
  }
938
955
  }
939
- function is(e) {
956
+ function rs(e) {
940
957
  var t;
941
958
  if (e[0] === "E" && e[1] === "E" ? (t = {
942
959
  notation: "engineering"
@@ -944,17 +961,17 @@ function is(e) {
944
961
  notation: "scientific"
945
962
  }, e = e.slice(1)), t) {
946
963
  var r = e.slice(0, 2);
947
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dn.test(e))
964
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fn.test(e))
948
965
  throw new Error("Malformed concise eng/scientific notation");
949
966
  t.minimumIntegerDigits = e.length;
950
967
  }
951
968
  return t;
952
969
  }
953
970
  function qr(e) {
954
- var t = {}, r = Gn(e);
971
+ var t = {}, r = Dn(e);
955
972
  return r || t;
956
973
  }
957
- function ss(e) {
974
+ function ns(e) {
958
975
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
959
976
  var i = n[r];
960
977
  switch (i.stem) {
@@ -978,7 +995,7 @@ function ss(e) {
978
995
  continue;
979
996
  case "measure-unit":
980
997
  case "unit":
981
- t.style = "unit", t.unit = rs(i.options[0]);
998
+ t.style = "unit", t.unit = es(i.options[0]);
982
999
  continue;
983
1000
  case "compact-short":
984
1001
  case "K":
@@ -1040,45 +1057,45 @@ function ss(e) {
1040
1057
  case "integer-width":
1041
1058
  if (i.options.length > 1)
1042
1059
  throw new RangeError("integer-width stems only accept a single optional option");
1043
- i.options[0].replace(ns, function(c, a, h, d, m, E) {
1060
+ i.options[0].replace(ts, function(c, a, h, d, m, v) {
1044
1061
  if (a)
1045
1062
  t.minimumIntegerDigits = h.length;
1046
1063
  else {
1047
1064
  if (d && m)
1048
1065
  throw new Error("We currently do not support maximum integer digits");
1049
- if (E)
1066
+ if (v)
1050
1067
  throw new Error("We currently do not support exact integer digits");
1051
1068
  }
1052
1069
  return "";
1053
1070
  });
1054
1071
  continue;
1055
1072
  }
1056
- if (Dn.test(i.stem)) {
1073
+ if (Fn.test(i.stem)) {
1057
1074
  t.minimumIntegerDigits = i.stem.length;
1058
1075
  continue;
1059
1076
  }
1060
1077
  if (Xr.test(i.stem)) {
1061
1078
  if (i.options.length > 1)
1062
1079
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1063
- i.stem.replace(Xr, function(c, a, h, d, m, E) {
1064
- 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), "";
1080
+ i.stem.replace(Xr, function(c, a, h, d, m, v) {
1081
+ return h === "*" ? t.minimumFractionDigits = a.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1065
1082
  });
1066
1083
  var s = i.options[0];
1067
1084
  s === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), Wr(s)));
1068
1085
  continue;
1069
1086
  }
1070
- if (Fn.test(i.stem)) {
1087
+ if (Un.test(i.stem)) {
1071
1088
  t = P(P({}, t), Wr(i.stem));
1072
1089
  continue;
1073
1090
  }
1074
- var o = Gn(i.stem);
1091
+ var o = Dn(i.stem);
1075
1092
  o && (t = P(P({}, t), o));
1076
- var l = is(i.stem);
1093
+ var l = rs(i.stem);
1077
1094
  l && (t = P(P({}, t), l));
1078
1095
  }
1079
1096
  return t;
1080
1097
  }
1081
- var Qt = {
1098
+ var $t = {
1082
1099
  "001": [
1083
1100
  "H",
1084
1101
  "h"
@@ -2493,22 +2510,23 @@ var Qt = {
2493
2510
  "h"
2494
2511
  ]
2495
2512
  };
2496
- function os(e, t) {
2513
+ function is(e, t) {
2497
2514
  for (var r = "", n = 0; n < e.length; n++) {
2498
2515
  var i = e.charAt(n);
2499
2516
  if (i === "j") {
2500
2517
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2501
2518
  s++, n++;
2502
- var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", a = as(t);
2519
+ var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", a = ss(t);
2503
2520
  for ((a == "H" || a == "k") && (l = 0); l-- > 0; )
2504
2521
  r += c;
2505
2522
  for (; o-- > 0; )
2506
2523
  r = a + r;
2507
- } else i === "J" ? r += "H" : r += i;
2524
+ } else
2525
+ i === "J" ? r += "H" : r += i;
2508
2526
  }
2509
2527
  return r;
2510
2528
  }
2511
- function as(e) {
2529
+ function ss(e) {
2512
2530
  var t = e.hourCycle;
2513
2531
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2514
2532
  e.hourCycles && // @ts-ignore
@@ -2527,23 +2545,23 @@ function as(e) {
2527
2545
  }
2528
2546
  var r = e.language, n;
2529
2547
  r !== "root" && (n = e.maximize().region);
2530
- var i = Qt[n || ""] || Qt[r || ""] || Qt["".concat(r, "-001")] || Qt["001"];
2548
+ var i = $t[n || ""] || $t[r || ""] || $t["".concat(r, "-001")] || $t["001"];
2531
2549
  return i[0];
2532
2550
  }
2533
- var gr, ls = new RegExp("^".concat(Un.source, "*")), us = new RegExp("".concat(Un.source, "*$"));
2534
- function B(e, t) {
2551
+ var gr, os = new RegExp("^".concat(Rn.source, "*")), as = new RegExp("".concat(Rn.source, "*$"));
2552
+ function H(e, t) {
2535
2553
  return { start: e, end: t };
2536
2554
  }
2537
- var cs = !!String.prototype.startsWith && "_a".startsWith("a", 1), hs = !!String.fromCodePoint, fs = !!Object.fromEntries, ds = !!String.prototype.codePointAt, ms = !!String.prototype.trimStart, ps = !!String.prototype.trimEnd, gs = !!Number.isSafeInteger, bs = gs ? Number.isSafeInteger : function(e) {
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) {
2538
2556
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2539
2557
  }, xr = !0;
2540
2558
  try {
2541
- var ys = zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2542
- xr = ((gr = ys.exec("a")) === null || gr === void 0 ? void 0 : gr[0]) === "a";
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";
2543
2561
  } catch (e) {
2544
2562
  xr = !1;
2545
2563
  }
2546
- var Zr = cs ? (
2564
+ var Zr = ls ? (
2547
2565
  // Native
2548
2566
  function(t, r, n) {
2549
2567
  return t.startsWith(r, n);
@@ -2553,7 +2571,7 @@ var Zr = cs ? (
2553
2571
  function(t, r, n) {
2554
2572
  return t.slice(n, n + r.length) === r;
2555
2573
  }
2556
- ), Ar = hs ? String.fromCodePoint : (
2574
+ ), Ar = us ? String.fromCodePoint : (
2557
2575
  // IE11
2558
2576
  function() {
2559
2577
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2567,7 +2585,7 @@ var Zr = cs ? (
2567
2585
  }
2568
2586
  ), $r = (
2569
2587
  // native
2570
- fs ? Object.fromEntries : (
2588
+ cs ? Object.fromEntries : (
2571
2589
  // Ponyfill
2572
2590
  function(t) {
2573
2591
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2577,7 +2595,7 @@ var Zr = cs ? (
2577
2595
  return r;
2578
2596
  }
2579
2597
  )
2580
- ), jn = ds ? (
2598
+ ), Gn = hs ? (
2581
2599
  // Native
2582
2600
  function(t, r) {
2583
2601
  return t.codePointAt(r);
@@ -2591,7 +2609,7 @@ var Zr = cs ? (
2591
2609
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2592
2610
  }
2593
2611
  }
2594
- ), _s = ms ? (
2612
+ ), bs = fs ? (
2595
2613
  // Native
2596
2614
  function(t) {
2597
2615
  return t.trimStart();
@@ -2599,9 +2617,9 @@ var Zr = cs ? (
2599
2617
  ) : (
2600
2618
  // Ponyfill
2601
2619
  function(t) {
2602
- return t.replace(ls, "");
2620
+ return t.replace(os, "");
2603
2621
  }
2604
- ), Es = ps ? (
2622
+ ), ys = ds ? (
2605
2623
  // Native
2606
2624
  function(t) {
2607
2625
  return t.trimEnd();
@@ -2609,15 +2627,15 @@ var Zr = cs ? (
2609
2627
  ) : (
2610
2628
  // Ponyfill
2611
2629
  function(t) {
2612
- return t.replace(us, "");
2630
+ return t.replace(as, "");
2613
2631
  }
2614
2632
  );
2615
- function zn(e, t) {
2633
+ function jn(e, t) {
2616
2634
  return new RegExp(e, t);
2617
2635
  }
2618
2636
  var wr;
2619
2637
  if (xr) {
2620
- var Qr = zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2638
+ var Qr = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2621
2639
  wr = function(t, r) {
2622
2640
  var n;
2623
2641
  Qr.lastIndex = r;
@@ -2627,14 +2645,14 @@ if (xr) {
2627
2645
  } else
2628
2646
  wr = function(t, r) {
2629
2647
  for (var n = []; ; ) {
2630
- var i = jn(t, r);
2631
- if (i === void 0 || Vn(i) || As(i))
2648
+ var i = Gn(t, r);
2649
+ if (i === void 0 || zn(i) || Cs(i))
2632
2650
  break;
2633
2651
  n.push(i), r += i >= 65536 ? 2 : 1;
2634
2652
  }
2635
2653
  return Ar.apply(void 0, n);
2636
2654
  };
2637
- var vs = (
2655
+ var _s = (
2638
2656
  /** @class */
2639
2657
  function() {
2640
2658
  function e(t, r) {
@@ -2658,13 +2676,13 @@ var vs = (
2658
2676
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2659
2677
  var l = this.clonePosition();
2660
2678
  this.bump(), i.push({
2661
- type: R.pound,
2662
- location: B(l, this.clonePosition())
2679
+ type: L.pound,
2680
+ location: H(l, this.clonePosition())
2663
2681
  });
2664
2682
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2665
2683
  if (n)
2666
2684
  break;
2667
- return this.error(T.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
2685
+ return this.error(w.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2668
2686
  } else if (s === 60 && !this.ignoreTag && Tr(this.peek() || 0)) {
2669
2687
  var o = this.parseTag(t, r);
2670
2688
  if (o.err)
@@ -2686,9 +2704,9 @@ var vs = (
2686
2704
  if (this.bumpSpace(), this.bumpIf("/>"))
2687
2705
  return {
2688
2706
  val: {
2689
- type: R.literal,
2707
+ type: L.literal,
2690
2708
  value: "<".concat(i, "/>"),
2691
- location: B(n, this.clonePosition())
2709
+ location: H(n, this.clonePosition())
2692
2710
  },
2693
2711
  err: null
2694
2712
  };
@@ -2699,24 +2717,24 @@ var vs = (
2699
2717
  var o = s.val, l = this.clonePosition();
2700
2718
  if (this.bumpIf("</")) {
2701
2719
  if (this.isEOF() || !Tr(this.char()))
2702
- return this.error(T.INVALID_TAG, B(l, this.clonePosition()));
2720
+ return this.error(w.INVALID_TAG, H(l, this.clonePosition()));
2703
2721
  var c = this.clonePosition(), a = this.parseTagName();
2704
- return i !== a ? this.error(T.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2722
+ return i !== a ? this.error(w.UNMATCHED_CLOSING_TAG, H(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2705
2723
  val: {
2706
- type: R.tag,
2724
+ type: L.tag,
2707
2725
  value: i,
2708
2726
  children: o,
2709
- location: B(n, this.clonePosition())
2727
+ location: H(n, this.clonePosition())
2710
2728
  },
2711
2729
  err: null
2712
- } : this.error(T.INVALID_TAG, B(l, this.clonePosition())));
2730
+ } : this.error(w.INVALID_TAG, H(l, this.clonePosition())));
2713
2731
  } else
2714
- return this.error(T.UNCLOSED_TAG, B(n, this.clonePosition()));
2732
+ return this.error(w.UNCLOSED_TAG, H(n, this.clonePosition()));
2715
2733
  } else
2716
- return this.error(T.INVALID_TAG, B(n, this.clonePosition()));
2734
+ return this.error(w.INVALID_TAG, H(n, this.clonePosition()));
2717
2735
  }, e.prototype.parseTagName = function() {
2718
2736
  var t = this.offset();
2719
- for (this.bump(); !this.isEOF() && xs(this.char()); )
2737
+ for (this.bump(); !this.isEOF() && Es(this.char()); )
2720
2738
  this.bump();
2721
2739
  return this.message.slice(t, this.offset());
2722
2740
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2738,14 +2756,14 @@ var vs = (
2738
2756
  }
2739
2757
  break;
2740
2758
  }
2741
- var c = B(n, this.clonePosition());
2759
+ var c = H(n, this.clonePosition());
2742
2760
  return {
2743
- val: { type: R.literal, value: i, location: c },
2761
+ val: { type: L.literal, value: i, location: c },
2744
2762
  err: null
2745
2763
  };
2746
2764
  }, e.prototype.tryParseLeftAngleBracket = function() {
2747
2765
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2748
- !Cs(this.peek() || 0)) ? (this.bump(), "<") : null;
2766
+ !vs(this.peek() || 0)) ? (this.bump(), "<") : null;
2749
2767
  }, e.prototype.tryParseQuote = function(t) {
2750
2768
  if (this.isEOF() || this.char() !== 39)
2751
2769
  return null;
@@ -2788,40 +2806,40 @@ var vs = (
2788
2806
  }, e.prototype.parseArgument = function(t, r) {
2789
2807
  var n = this.clonePosition();
2790
2808
  if (this.bump(), this.bumpSpace(), this.isEOF())
2791
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, B(n, this.clonePosition()));
2809
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
2792
2810
  if (this.char() === 125)
2793
- return this.bump(), this.error(T.EMPTY_ARGUMENT, B(n, this.clonePosition()));
2811
+ return this.bump(), this.error(w.EMPTY_ARGUMENT, H(n, this.clonePosition()));
2794
2812
  var i = this.parseIdentifierIfPossible().value;
2795
2813
  if (!i)
2796
- return this.error(T.MALFORMED_ARGUMENT, B(n, this.clonePosition()));
2814
+ return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
2797
2815
  if (this.bumpSpace(), this.isEOF())
2798
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, B(n, this.clonePosition()));
2816
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
2799
2817
  switch (this.char()) {
2800
2818
  case 125:
2801
2819
  return this.bump(), {
2802
2820
  val: {
2803
- type: R.argument,
2821
+ type: L.argument,
2804
2822
  // value does not include the opening and closing braces.
2805
2823
  value: i,
2806
- location: B(n, this.clonePosition())
2824
+ location: H(n, this.clonePosition())
2807
2825
  },
2808
2826
  err: null
2809
2827
  };
2810
2828
  case 44:
2811
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, B(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2829
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2812
2830
  default:
2813
- return this.error(T.MALFORMED_ARGUMENT, B(n, this.clonePosition()));
2831
+ return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
2814
2832
  }
2815
2833
  }, e.prototype.parseIdentifierIfPossible = function() {
2816
2834
  var t = this.clonePosition(), r = this.offset(), n = wr(this.message, r), i = r + n.length;
2817
2835
  this.bumpTo(i);
2818
- var s = this.clonePosition(), o = B(t, s);
2836
+ var s = this.clonePosition(), o = H(t, s);
2819
2837
  return { value: n, location: o };
2820
2838
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2821
2839
  var s, o = this.clonePosition(), l = this.parseIdentifierIfPossible().value, c = this.clonePosition();
2822
2840
  switch (l) {
2823
2841
  case "":
2824
- return this.error(T.EXPECT_ARGUMENT_TYPE, B(o, c));
2842
+ return this.error(w.EXPECT_ARGUMENT_TYPE, H(o, c));
2825
2843
  case "number":
2826
2844
  case "date":
2827
2845
  case "time": {
@@ -2832,46 +2850,46 @@ var vs = (
2832
2850
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2833
2851
  if (d.err)
2834
2852
  return d;
2835
- var m = Es(d.val);
2853
+ var m = ys(d.val);
2836
2854
  if (m.length === 0)
2837
- return this.error(T.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
2838
- var E = B(h, this.clonePosition());
2839
- a = { style: m, styleLocation: E };
2855
+ return this.error(w.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2856
+ var v = H(h, this.clonePosition());
2857
+ a = { style: m, styleLocation: v };
2840
2858
  }
2841
2859
  var _ = this.tryParseArgumentClose(i);
2842
2860
  if (_.err)
2843
2861
  return _;
2844
- var v = B(i, this.clonePosition());
2862
+ var E = H(i, this.clonePosition());
2845
2863
  if (a && Zr(a == null ? void 0 : a.style, "::", 0)) {
2846
- var O = _s(a.style.slice(2));
2864
+ var O = bs(a.style.slice(2));
2847
2865
  if (l === "number") {
2848
2866
  var d = this.parseNumberSkeletonFromString(O, a.styleLocation);
2849
2867
  return d.err ? d : {
2850
- val: { type: R.number, value: n, location: v, style: d.val },
2868
+ val: { type: L.number, value: n, location: E, style: d.val },
2851
2869
  err: null
2852
2870
  };
2853
2871
  } else {
2854
2872
  if (O.length === 0)
2855
- return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2856
- var H = O;
2857
- this.locale && (H = os(O, this.locale));
2873
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, E);
2874
+ var S = O;
2875
+ this.locale && (S = is(O, this.locale));
2858
2876
  var m = {
2859
- type: ht.dateTime,
2860
- pattern: H,
2877
+ type: dt.dateTime,
2878
+ pattern: S,
2861
2879
  location: a.styleLocation,
2862
- parsedOptions: this.shouldParseSkeletons ? Ki(H) : {}
2863
- }, V = l === "date" ? R.date : R.time;
2880
+ parsedOptions: this.shouldParseSkeletons ? Ji(S) : {}
2881
+ }, z = l === "date" ? L.date : L.time;
2864
2882
  return {
2865
- val: { type: V, value: n, location: v, style: m },
2883
+ val: { type: z, value: n, location: E, style: m },
2866
2884
  err: null
2867
2885
  };
2868
2886
  }
2869
2887
  }
2870
2888
  return {
2871
2889
  val: {
2872
- type: l === "number" ? R.number : l === "date" ? R.date : R.time,
2890
+ type: l === "number" ? L.number : l === "date" ? L.date : L.time,
2873
2891
  value: n,
2874
- location: v,
2892
+ location: E,
2875
2893
  style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2876
2894
  },
2877
2895
  err: null
@@ -2882,39 +2900,39 @@ var vs = (
2882
2900
  case "select": {
2883
2901
  var N = this.clonePosition();
2884
2902
  if (this.bumpSpace(), !this.bumpIf(","))
2885
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, B(N, P({}, N)));
2903
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(N, P({}, N)));
2886
2904
  this.bumpSpace();
2887
- var X = this.parseIdentifierIfPossible(), W = 0;
2888
- if (l !== "select" && X.value === "offset") {
2905
+ var V = this.parseIdentifierIfPossible(), X = 0;
2906
+ if (l !== "select" && V.value === "offset") {
2889
2907
  if (!this.bumpIf(":"))
2890
- return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
2908
+ return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
2891
2909
  this.bumpSpace();
2892
- var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2910
+ var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2893
2911
  if (d.err)
2894
2912
  return d;
2895
- this.bumpSpace(), X = this.parseIdentifierIfPossible(), W = d.val;
2913
+ this.bumpSpace(), V = this.parseIdentifierIfPossible(), X = d.val;
2896
2914
  }
2897
- var fe = this.tryParsePluralOrSelectOptions(t, l, r, X);
2898
- if (fe.err)
2899
- return fe;
2915
+ var me = this.tryParsePluralOrSelectOptions(t, l, r, V);
2916
+ if (me.err)
2917
+ return me;
2900
2918
  var _ = this.tryParseArgumentClose(i);
2901
2919
  if (_.err)
2902
2920
  return _;
2903
- var we = B(i, this.clonePosition());
2921
+ var we = H(i, this.clonePosition());
2904
2922
  return l === "select" ? {
2905
2923
  val: {
2906
- type: R.select,
2924
+ type: L.select,
2907
2925
  value: n,
2908
- options: $r(fe.val),
2926
+ options: $r(me.val),
2909
2927
  location: we
2910
2928
  },
2911
2929
  err: null
2912
2930
  } : {
2913
2931
  val: {
2914
- type: R.plural,
2932
+ type: L.plural,
2915
2933
  value: n,
2916
- options: $r(fe.val),
2917
- offset: W,
2934
+ options: $r(me.val),
2935
+ offset: X,
2918
2936
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2919
2937
  location: we
2920
2938
  },
@@ -2922,10 +2940,10 @@ var vs = (
2922
2940
  };
2923
2941
  }
2924
2942
  default:
2925
- return this.error(T.INVALID_ARGUMENT_TYPE, B(o, c));
2943
+ return this.error(w.INVALID_ARGUMENT_TYPE, H(o, c));
2926
2944
  }
2927
2945
  }, e.prototype.tryParseArgumentClose = function(t) {
2928
- return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, B(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2946
+ return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2929
2947
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2930
2948
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2931
2949
  var n = this.char();
@@ -2934,7 +2952,7 @@ var vs = (
2934
2952
  this.bump();
2935
2953
  var i = this.clonePosition();
2936
2954
  if (!this.bumpUntil("'"))
2937
- return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, B(i, this.clonePosition()));
2955
+ return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
2938
2956
  this.bump();
2939
2957
  break;
2940
2958
  }
@@ -2964,16 +2982,16 @@ var vs = (
2964
2982
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2965
2983
  var n = [];
2966
2984
  try {
2967
- n = ts(t);
2985
+ n = Ki(t);
2968
2986
  } catch (i) {
2969
- return this.error(T.INVALID_NUMBER_SKELETON, r);
2987
+ return this.error(w.INVALID_NUMBER_SKELETON, r);
2970
2988
  }
2971
2989
  return {
2972
2990
  val: {
2973
- type: ht.number,
2991
+ type: dt.number,
2974
2992
  tokens: n,
2975
2993
  location: r,
2976
- parsedOptions: this.shouldParseSkeletons ? ss(n) : {}
2994
+ parsedOptions: this.shouldParseSkeletons ? ns(n) : {}
2977
2995
  },
2978
2996
  err: null
2979
2997
  };
@@ -2982,34 +3000,34 @@ var vs = (
2982
3000
  if (a.length === 0) {
2983
3001
  var d = this.clonePosition();
2984
3002
  if (r !== "select" && this.bumpIf("=")) {
2985
- var m = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
3003
+ var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
2986
3004
  if (m.err)
2987
3005
  return m;
2988
- h = B(d, this.clonePosition()), a = this.message.slice(d.offset, this.offset());
3006
+ h = H(d, this.clonePosition()), a = this.message.slice(d.offset, this.offset());
2989
3007
  } else
2990
3008
  break;
2991
3009
  }
2992
3010
  if (c.has(a))
2993
- return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3011
+ return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2994
3012
  a === "other" && (o = !0), this.bumpSpace();
2995
- var E = this.clonePosition();
3013
+ var v = this.clonePosition();
2996
3014
  if (!this.bumpIf("{"))
2997
- return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
3015
+ return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
2998
3016
  var _ = this.parseMessage(t + 1, r, n);
2999
3017
  if (_.err)
3000
3018
  return _;
3001
- var v = this.tryParseArgumentClose(E);
3002
- if (v.err)
3003
- return v;
3019
+ var E = this.tryParseArgumentClose(v);
3020
+ if (E.err)
3021
+ return E;
3004
3022
  l.push([
3005
3023
  a,
3006
3024
  {
3007
3025
  value: _.val,
3008
- location: B(E, this.clonePosition())
3026
+ location: H(v, this.clonePosition())
3009
3027
  }
3010
3028
  ]), c.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3011
3029
  }
3012
- return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(T.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
3030
+ return l.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(w.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
3013
3031
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3014
3032
  var n = 1, i = this.clonePosition();
3015
3033
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3020,8 +3038,8 @@ var vs = (
3020
3038
  else
3021
3039
  break;
3022
3040
  }
3023
- var c = B(i, this.clonePosition());
3024
- return s ? (o *= n, bs(o) ? { val: o, err: null } : this.error(r, c)) : this.error(t, c);
3041
+ 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);
3025
3043
  }, e.prototype.offset = function() {
3026
3044
  return this.position.offset;
3027
3045
  }, e.prototype.isEOF = function() {
@@ -3036,7 +3054,7 @@ var vs = (
3036
3054
  var t = this.position.offset;
3037
3055
  if (t >= this.message.length)
3038
3056
  throw Error("out of bound");
3039
- var r = jn(this.message, t);
3057
+ var r = Gn(this.message, t);
3040
3058
  if (r === void 0)
3041
3059
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3042
3060
  return r;
@@ -3077,7 +3095,7 @@ var vs = (
3077
3095
  break;
3078
3096
  }
3079
3097
  }, e.prototype.bumpSpace = function() {
3080
- for (; !this.isEOF() && Vn(this.char()); )
3098
+ for (; !this.isEOF() && zn(this.char()); )
3081
3099
  this.bump();
3082
3100
  }, e.prototype.peek = function() {
3083
3101
  if (this.isEOF())
@@ -3090,43 +3108,44 @@ var vs = (
3090
3108
  function Tr(e) {
3091
3109
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3092
3110
  }
3093
- function Cs(e) {
3111
+ function vs(e) {
3094
3112
  return Tr(e) || e === 47;
3095
3113
  }
3096
- function xs(e) {
3114
+ function Es(e) {
3097
3115
  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;
3098
3116
  }
3099
- function Vn(e) {
3117
+ function zn(e) {
3100
3118
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3101
3119
  }
3102
- function As(e) {
3120
+ function Cs(e) {
3103
3121
  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;
3104
3122
  }
3105
3123
  function Sr(e) {
3106
3124
  e.forEach(function(t) {
3107
- if (delete t.location, kn(t) || In(t))
3125
+ if (delete t.location, Nn(t) || kn(t))
3108
3126
  for (var r in t.options)
3109
3127
  delete t.options[r].location, Sr(t.options[r].value);
3110
- else On(t) && Rn(t.style) || (Mn(t) || Nn(t)) && Cr(t.style) ? delete t.style.location : Ln(t) && Sr(t.children);
3128
+ else
3129
+ Pn(t) && Ln(t.style) || (On(t) || Mn(t)) && Cr(t.style) ? delete t.style.location : In(t) && Sr(t.children);
3111
3130
  });
3112
3131
  }
3113
- function ws(e, t) {
3132
+ function xs(e, t) {
3114
3133
  t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3115
- var r = new vs(e, t).parse();
3134
+ var r = new _s(e, t).parse();
3116
3135
  if (r.err) {
3117
- var n = SyntaxError(T[r.err.kind]);
3136
+ var n = SyntaxError(w[r.err.kind]);
3118
3137
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3119
3138
  }
3120
3139
  return t != null && t.captureLocation || Sr(r.val), r.val;
3121
3140
  }
3122
- var ft;
3141
+ var mt;
3123
3142
  (function(e) {
3124
3143
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3125
- })(ft || (ft = {}));
3126
- var ir = (
3144
+ })(mt || (mt = {}));
3145
+ var nr = (
3127
3146
  /** @class */
3128
3147
  function(e) {
3129
- nr(t, e);
3148
+ rr(t, e);
3130
3149
  function t(r, n, i) {
3131
3150
  var s = e.call(this, r) || this;
3132
3151
  return s.code = n, s.originalMessage = i, s;
@@ -3138,48 +3157,48 @@ var ir = (
3138
3157
  ), Jr = (
3139
3158
  /** @class */
3140
3159
  function(e) {
3141
- nr(t, e);
3160
+ rr(t, e);
3142
3161
  function t(r, n, i, s) {
3143
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ft.INVALID_VALUE, s) || this;
3162
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), mt.INVALID_VALUE, s) || this;
3144
3163
  }
3145
3164
  return t;
3146
- }(ir)
3147
- ), Ts = (
3165
+ }(nr)
3166
+ ), As = (
3148
3167
  /** @class */
3149
3168
  function(e) {
3150
- nr(t, e);
3169
+ rr(t, e);
3151
3170
  function t(r, n, i) {
3152
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ft.INVALID_VALUE, i) || this;
3171
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), mt.INVALID_VALUE, i) || this;
3153
3172
  }
3154
3173
  return t;
3155
- }(ir)
3156
- ), Ss = (
3174
+ }(nr)
3175
+ ), ws = (
3157
3176
  /** @class */
3158
3177
  function(e) {
3159
- nr(t, e);
3178
+ rr(t, e);
3160
3179
  function t(r, n) {
3161
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ft.MISSING_VALUE, n) || this;
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;
3162
3181
  }
3163
3182
  return t;
3164
- }(ir)
3165
- ), J;
3183
+ }(nr)
3184
+ ), ee;
3166
3185
  (function(e) {
3167
3186
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3168
- })(J || (J = {}));
3169
- function Hs(e) {
3187
+ })(ee || (ee = {}));
3188
+ function Ts(e) {
3170
3189
  return e.length < 2 ? e : e.reduce(function(t, r) {
3171
3190
  var n = t[t.length - 1];
3172
- return !n || n.type !== J.literal || r.type !== J.literal ? t.push(r) : n.value += r.value, t;
3191
+ return !n || n.type !== ee.literal || r.type !== ee.literal ? t.push(r) : n.value += r.value, t;
3173
3192
  }, []);
3174
3193
  }
3175
- function Bs(e) {
3194
+ function Ss(e) {
3176
3195
  return typeof e == "function";
3177
3196
  }
3178
- function Yt(e, t, r, n, i, s, o) {
3197
+ function Jt(e, t, r, n, i, s, o) {
3179
3198
  if (e.length === 1 && Vr(e[0]))
3180
3199
  return [
3181
3200
  {
3182
- type: J.literal,
3201
+ type: ee.literal,
3183
3202
  value: e[0].value
3184
3203
  }
3185
3204
  ];
@@ -3187,100 +3206,100 @@ function Yt(e, t, r, n, i, s, o) {
3187
3206
  var h = a[c];
3188
3207
  if (Vr(h)) {
3189
3208
  l.push({
3190
- type: J.literal,
3209
+ type: ee.literal,
3191
3210
  value: h.value
3192
3211
  });
3193
3212
  continue;
3194
3213
  }
3195
- if (Ji(h)) {
3214
+ if ($i(h)) {
3196
3215
  typeof s == "number" && l.push({
3197
- type: J.literal,
3216
+ type: ee.literal,
3198
3217
  value: r.getNumberFormat(t).format(s)
3199
3218
  });
3200
3219
  continue;
3201
3220
  }
3202
3221
  var d = h.value;
3203
3222
  if (!(i && d in i))
3204
- throw new Ss(d, o);
3223
+ throw new ws(d, o);
3205
3224
  var m = i[d];
3206
- if (Qi(h)) {
3225
+ if (Zi(h)) {
3207
3226
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
3208
- type: typeof m == "string" ? J.literal : J.object,
3227
+ type: typeof m == "string" ? ee.literal : ee.object,
3209
3228
  value: m
3210
3229
  });
3211
3230
  continue;
3212
3231
  }
3213
- if (Mn(h)) {
3214
- var E = typeof h.style == "string" ? n.date[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
3232
+ if (On(h)) {
3233
+ var v = typeof h.style == "string" ? n.date[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
3215
3234
  l.push({
3216
- type: J.literal,
3217
- value: r.getDateTimeFormat(t, E).format(m)
3235
+ type: ee.literal,
3236
+ value: r.getDateTimeFormat(t, v).format(m)
3218
3237
  });
3219
3238
  continue;
3220
3239
  }
3221
- if (Nn(h)) {
3222
- var E = typeof h.style == "string" ? n.time[h.style] : Cr(h.style) ? h.style.parsedOptions : n.time.medium;
3240
+ if (Mn(h)) {
3241
+ var v = typeof h.style == "string" ? n.time[h.style] : Cr(h.style) ? h.style.parsedOptions : n.time.medium;
3223
3242
  l.push({
3224
- type: J.literal,
3225
- value: r.getDateTimeFormat(t, E).format(m)
3243
+ type: ee.literal,
3244
+ value: r.getDateTimeFormat(t, v).format(m)
3226
3245
  });
3227
3246
  continue;
3228
3247
  }
3229
- if (On(h)) {
3230
- var E = typeof h.style == "string" ? n.number[h.style] : Rn(h.style) ? h.style.parsedOptions : void 0;
3231
- E && E.scale && (m = m * (E.scale || 1)), l.push({
3232
- type: J.literal,
3233
- value: r.getNumberFormat(t, E).format(m)
3248
+ if (Pn(h)) {
3249
+ var v = typeof h.style == "string" ? n.number[h.style] : Ln(h.style) ? h.style.parsedOptions : void 0;
3250
+ v && v.scale && (m = m * (v.scale || 1)), l.push({
3251
+ type: ee.literal,
3252
+ value: r.getNumberFormat(t, v).format(m)
3234
3253
  });
3235
3254
  continue;
3236
3255
  }
3237
- if (Ln(h)) {
3238
- var _ = h.children, v = h.value, O = i[v];
3239
- if (!Bs(O))
3240
- throw new Ts(v, "function", o);
3241
- var H = Yt(_, t, r, n, i, s), V = O(H.map(function(W) {
3242
- return W.value;
3256
+ if (In(h)) {
3257
+ var _ = h.children, E = h.value, O = i[E];
3258
+ if (!Ss(O))
3259
+ throw new As(E, "function", o);
3260
+ var S = Jt(_, t, r, n, i, s), z = O(S.map(function(X) {
3261
+ return X.value;
3243
3262
  }));
3244
- Array.isArray(V) || (V = [V]), l.push.apply(l, V.map(function(W) {
3263
+ Array.isArray(z) || (z = [z]), l.push.apply(l, z.map(function(X) {
3245
3264
  return {
3246
- type: typeof W == "string" ? J.literal : J.object,
3247
- value: W
3265
+ type: typeof X == "string" ? ee.literal : ee.object,
3266
+ value: X
3248
3267
  };
3249
3268
  }));
3250
3269
  }
3251
- if (kn(h)) {
3270
+ if (Nn(h)) {
3252
3271
  var N = h.options[m] || h.options.other;
3253
3272
  if (!N)
3254
3273
  throw new Jr(h.value, m, Object.keys(h.options), o);
3255
- l.push.apply(l, Yt(N.value, t, r, n, i));
3274
+ l.push.apply(l, Jt(N.value, t, r, n, i));
3256
3275
  continue;
3257
3276
  }
3258
- if (In(h)) {
3277
+ if (kn(h)) {
3259
3278
  var N = h.options["=".concat(m)];
3260
3279
  if (!N) {
3261
3280
  if (!Intl.PluralRules)
3262
- throw new ir(`Intl.PluralRules is not available in this environment.
3281
+ throw new nr(`Intl.PluralRules is not available in this environment.
3263
3282
  Try polyfilling it using "@formatjs/intl-pluralrules"
3264
- `, ft.MISSING_INTL_API, o);
3265
- var X = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3266
- N = h.options[X] || h.options.other;
3283
+ `, mt.MISSING_INTL_API, o);
3284
+ var V = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3285
+ N = h.options[V] || h.options.other;
3267
3286
  }
3268
3287
  if (!N)
3269
3288
  throw new Jr(h.value, m, Object.keys(h.options), o);
3270
- l.push.apply(l, Yt(N.value, t, r, n, i, m - (h.offset || 0)));
3289
+ l.push.apply(l, Jt(N.value, t, r, n, i, m - (h.offset || 0)));
3271
3290
  continue;
3272
3291
  }
3273
3292
  }
3274
- return Hs(l);
3293
+ return Ts(l);
3275
3294
  }
3276
- function Ps(e, t) {
3295
+ function Hs(e, t) {
3277
3296
  return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3278
3297
  return r[n] = P(P({}, e[n]), t[n] || {}), r;
3279
3298
  }, {})) : e;
3280
3299
  }
3281
- function Os(e, t) {
3300
+ function Bs(e, t) {
3282
3301
  return t ? Object.keys(e).reduce(function(r, n) {
3283
- return r[n] = Ps(e[n], t[n]), r;
3302
+ return r[n] = Hs(e[n], t[n]), r;
3284
3303
  }, P({}, e)) : e;
3285
3304
  }
3286
3305
  function br(e) {
@@ -3297,7 +3316,7 @@ function br(e) {
3297
3316
  }
3298
3317
  };
3299
3318
  }
3300
- function Ms(e) {
3319
+ function Ps(e) {
3301
3320
  return e === void 0 && (e = {
3302
3321
  number: {},
3303
3322
  dateTime: {},
@@ -3329,7 +3348,7 @@ function Ms(e) {
3329
3348
  })
3330
3349
  };
3331
3350
  }
3332
- var Ns = (
3351
+ var Os = (
3333
3352
  /** @class */
3334
3353
  function() {
3335
3354
  function e(t, r, n, i) {
@@ -3344,11 +3363,11 @@ var Ns = (
3344
3363
  if (a.length === 1)
3345
3364
  return a[0].value;
3346
3365
  var h = a.reduce(function(d, m) {
3347
- return !d.length || m.type !== J.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3366
+ return !d.length || m.type !== ee.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3348
3367
  }, []);
3349
3368
  return h.length <= 1 ? h[0] || "" : h;
3350
3369
  }, this.formatToParts = function(c) {
3351
- return Yt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3370
+ return Jt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3352
3371
  }, this.resolvedOptions = function() {
3353
3372
  var c;
3354
3373
  return {
@@ -3361,13 +3380,13 @@ var Ns = (
3361
3380
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3362
3381
  var o = i || {};
3363
3382
  o.formatters;
3364
- var l = zi(o, ["formatters"]);
3383
+ var l = Gi(o, ["formatters"]);
3365
3384
  this.ast = e.__parse(t, P(P({}, l), { locale: this.resolvedLocale }));
3366
3385
  } else
3367
3386
  this.ast = t;
3368
3387
  if (!Array.isArray(this.ast))
3369
3388
  throw new TypeError("A message must be provided as a String or AST.");
3370
- this.formats = Os(e.formats, n), this.formatters = i && i.formatters || Ms(this.formatterCache);
3389
+ this.formats = Bs(e.formats, n), this.formatters = i && i.formatters || Ps(this.formatterCache);
3371
3390
  }
3372
3391
  return Object.defineProperty(e, "defaultLocale", {
3373
3392
  get: function() {
@@ -3380,7 +3399,7 @@ var Ns = (
3380
3399
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3381
3400
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3382
3401
  }
3383
- }, e.__parse = ws, e.formats = {
3402
+ }, e.__parse = xs, e.formats = {
3384
3403
  number: {
3385
3404
  integer: {
3386
3405
  maximumFractionDigits: 0
@@ -3441,7 +3460,7 @@ var Ns = (
3441
3460
  }, e;
3442
3461
  }()
3443
3462
  );
3444
- function ks(e, t) {
3463
+ function Ms(e, t) {
3445
3464
  if (t == null)
3446
3465
  return;
3447
3466
  if (t in e)
@@ -3462,92 +3481,92 @@ function ks(e, t) {
3462
3481
  n = void 0;
3463
3482
  return n;
3464
3483
  }
3465
- const Le = {}, Is = (e, t, r) => r && (t in Le || (Le[t] = {}), e in Le[t] || (Le[t][e] = r), r), Xn = (e, t) => {
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) => {
3466
3485
  if (t == null)
3467
3486
  return;
3468
3487
  if (t in Le && e in Le[t])
3469
3488
  return Le[t][e];
3470
- const r = sr(t);
3489
+ const r = ir(t);
3471
3490
  for (let n = 0; n < r.length; n++) {
3472
- const i = r[n], s = Rs(i, e);
3491
+ const i = r[n], s = Is(i, e);
3473
3492
  if (s)
3474
- return Is(e, t, s);
3493
+ return Ns(e, t, s);
3475
3494
  }
3476
3495
  };
3477
3496
  let kr;
3478
- const gt = rr({});
3479
- function Ls(e) {
3497
+ const yt = tr({});
3498
+ function ks(e) {
3480
3499
  return kr[e] || null;
3481
3500
  }
3482
- function Wn(e) {
3501
+ function Xn(e) {
3483
3502
  return e in kr;
3484
3503
  }
3485
- function Rs(e, t) {
3486
- if (!Wn(e))
3504
+ function Is(e, t) {
3505
+ if (!Xn(e))
3487
3506
  return null;
3488
- const r = Ls(e);
3489
- return ks(r, t);
3507
+ const r = ks(e);
3508
+ return Ms(r, t);
3490
3509
  }
3491
- function Us(e) {
3510
+ function Ls(e) {
3492
3511
  if (e == null)
3493
3512
  return;
3494
- const t = sr(e);
3513
+ const t = ir(e);
3495
3514
  for (let r = 0; r < t.length; r++) {
3496
3515
  const n = t[r];
3497
- if (Wn(n))
3516
+ if (Xn(n))
3498
3517
  return n;
3499
3518
  }
3500
3519
  }
3501
- function qn(e, ...t) {
3502
- delete Le[e], gt.update((r) => (r[e] = ji.all([r[e] || {}, ...t]), r));
3520
+ function Wn(e, ...t) {
3521
+ delete Le[e], yt.update((r) => (r[e] = Di.all([r[e] || {}, ...t]), r));
3503
3522
  }
3504
- pt(
3505
- [gt],
3523
+ bt(
3524
+ [yt],
3506
3525
  ([e]) => Object.keys(e)
3507
3526
  );
3508
- gt.subscribe((e) => kr = e);
3509
- const Kt = {};
3510
- function Fs(e, t) {
3511
- Kt[e].delete(t), Kt[e].size === 0 && delete Kt[e];
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];
3512
3531
  }
3513
- function Zn(e) {
3514
- return Kt[e];
3532
+ function qn(e) {
3533
+ return Yt[e];
3515
3534
  }
3516
- function Ds(e) {
3517
- return sr(e).map((t) => {
3518
- const r = Zn(t);
3535
+ function Us(e) {
3536
+ return ir(e).map((t) => {
3537
+ const r = qn(t);
3519
3538
  return [t, r ? [...r] : []];
3520
3539
  }).filter(([, t]) => t.length > 0);
3521
3540
  }
3522
3541
  function Hr(e) {
3523
- return e == null ? !1 : sr(e).some(
3542
+ return e == null ? !1 : ir(e).some(
3524
3543
  (t) => {
3525
3544
  var r;
3526
- return (r = Zn(t)) == null ? void 0 : r.size;
3545
+ return (r = qn(t)) == null ? void 0 : r.size;
3527
3546
  }
3528
3547
  );
3529
3548
  }
3530
- function Gs(e, t) {
3549
+ function Fs(e, t) {
3531
3550
  return Promise.all(
3532
- t.map((n) => (Fs(e, n), n().then((i) => i.default || i)))
3533
- ).then((n) => qn(e, ...n));
3551
+ t.map((n) => (Rs(e, n), n().then((i) => i.default || i)))
3552
+ ).then((n) => Wn(e, ...n));
3534
3553
  }
3535
3554
  const Pt = {};
3536
- function $n(e) {
3555
+ function Zn(e) {
3537
3556
  if (!Hr(e))
3538
3557
  return e in Pt ? Pt[e] : Promise.resolve();
3539
- const t = Ds(e);
3558
+ const t = Us(e);
3540
3559
  return Pt[e] = Promise.all(
3541
3560
  t.map(
3542
- ([r, n]) => Gs(r, n)
3561
+ ([r, n]) => Fs(r, n)
3543
3562
  )
3544
3563
  ).then(() => {
3545
3564
  if (Hr(e))
3546
- return $n(e);
3565
+ return Zn(e);
3547
3566
  delete Pt[e];
3548
3567
  }), Pt[e];
3549
3568
  }
3550
- const js = {
3569
+ const Ds = {
3551
3570
  number: {
3552
3571
  scientific: { notation: "scientific" },
3553
3572
  engineering: { notation: "engineering" },
@@ -3576,150 +3595,150 @@ const js = {
3576
3595
  timeZoneName: "short"
3577
3596
  }
3578
3597
  }
3579
- }, zs = {
3598
+ }, Gs = {
3580
3599
  fallbackLocale: null,
3581
3600
  loadingDelay: 200,
3582
- formats: js,
3601
+ formats: Ds,
3583
3602
  warnOnMissingMessages: !0,
3584
3603
  handleMissingMessage: void 0,
3585
3604
  ignoreTag: !0
3586
- }, Vs = zs;
3587
- function dt() {
3588
- return Vs;
3605
+ }, js = Gs;
3606
+ function pt() {
3607
+ return js;
3589
3608
  }
3590
- const yr = rr(!1);
3591
- var Xs = Object.defineProperty, Ws = Object.defineProperties, qs = Object.getOwnPropertyDescriptors, Yr = Object.getOwnPropertySymbols, Zs = Object.prototype.hasOwnProperty, $s = Object.prototype.propertyIsEnumerable, Kr = (e, t, r) => t in e ? Xs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qs = (e, t) => {
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) => {
3592
3611
  for (var r in t || (t = {}))
3593
- Zs.call(t, r) && Kr(e, r, t[r]);
3612
+ Ws.call(t, r) && Kr(e, r, t[r]);
3594
3613
  if (Yr)
3595
3614
  for (var r of Yr(t))
3596
- $s.call(t, r) && Kr(e, r, t[r]);
3615
+ qs.call(t, r) && Kr(e, r, t[r]);
3597
3616
  return e;
3598
- }, Js = (e, t) => Ws(e, qs(t));
3617
+ }, $s = (e, t) => Vs(e, Xs(t));
3599
3618
  let Br;
3600
- const er = rr(null);
3619
+ const Kt = tr(null);
3601
3620
  function en(e) {
3602
3621
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3603
3622
  }
3604
- function sr(e, t = dt().fallbackLocale) {
3623
+ function ir(e, t = pt().fallbackLocale) {
3605
3624
  const r = en(e);
3606
3625
  return t ? [.../* @__PURE__ */ new Set([...r, ...en(t)])] : r;
3607
3626
  }
3608
- function ze() {
3627
+ function Ve() {
3609
3628
  return Br != null ? Br : void 0;
3610
3629
  }
3611
- er.subscribe((e) => {
3630
+ Kt.subscribe((e) => {
3612
3631
  Br = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3613
3632
  });
3614
- const Ys = (e) => {
3615
- if (e && Us(e) && Hr(e)) {
3616
- const { loadingDelay: t } = dt();
3633
+ const Qs = (e) => {
3634
+ if (e && Ls(e) && Hr(e)) {
3635
+ const { loadingDelay: t } = pt();
3617
3636
  let r;
3618
- return typeof window != "undefined" && ze() != null && t ? r = window.setTimeout(
3637
+ return typeof window != "undefined" && Ve() != null && t ? r = window.setTimeout(
3619
3638
  () => yr.set(!0),
3620
3639
  t
3621
- ) : yr.set(!0), $n(e).then(() => {
3622
- er.set(e);
3640
+ ) : yr.set(!0), Zn(e).then(() => {
3641
+ Kt.set(e);
3623
3642
  }).finally(() => {
3624
3643
  clearTimeout(r), yr.set(!1);
3625
3644
  });
3626
3645
  }
3627
- return er.set(e);
3628
- }, Re = Js(Qs({}, er), {
3629
- set: Ys
3630
- }), or = (e) => {
3646
+ return Kt.set(e);
3647
+ }, Re = $s(Zs({}, Kt), {
3648
+ set: Qs
3649
+ }), sr = (e) => {
3631
3650
  const t = /* @__PURE__ */ Object.create(null);
3632
3651
  return (n) => {
3633
3652
  const i = JSON.stringify(n);
3634
3653
  return i in t ? t[i] : t[i] = e(n);
3635
3654
  };
3636
3655
  };
3637
- var Ks = Object.defineProperty, tr = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, tn = (e, t, r) => t in e ? Ks(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ir = (e, t) => {
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) => {
3638
3657
  for (var r in t || (t = {}))
3639
- Qn.call(t, r) && tn(e, r, t[r]);
3640
- if (tr)
3641
- for (var r of tr(t))
3642
- Jn.call(t, r) && tn(e, r, t[r]);
3658
+ $n.call(t, r) && tn(e, r, t[r]);
3659
+ if (er)
3660
+ for (var r of er(t))
3661
+ Qn.call(t, r) && tn(e, r, t[r]);
3643
3662
  return e;
3644
- }, bt = (e, t) => {
3663
+ }, _t = (e, t) => {
3645
3664
  var r = {};
3646
3665
  for (var n in e)
3647
- Qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3648
- if (e != null && tr)
3649
- for (var n of tr(e))
3650
- t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3666
+ $n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3667
+ if (e != null && er)
3668
+ for (var n of er(e))
3669
+ t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3651
3670
  return r;
3652
3671
  };
3653
3672
  const kt = (e, t) => {
3654
- const { formats: r } = dt();
3673
+ const { formats: r } = pt();
3655
3674
  if (e in r && t in r[e])
3656
3675
  return r[e][t];
3657
3676
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3658
- }, eo = or(
3677
+ }, Ys = sr(
3659
3678
  (e) => {
3660
- var t = e, { locale: r, format: n } = t, i = bt(t, ["locale", "format"]);
3679
+ var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3661
3680
  if (r == null)
3662
3681
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3663
3682
  return n && (i = kt("number", n)), new Intl.NumberFormat(r, i);
3664
3683
  }
3665
- ), to = or(
3684
+ ), Ks = sr(
3666
3685
  (e) => {
3667
- var t = e, { locale: r, format: n } = t, i = bt(t, ["locale", "format"]);
3686
+ var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3668
3687
  if (r == null)
3669
3688
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3670
3689
  return n ? i = kt("date", n) : Object.keys(i).length === 0 && (i = kt("date", "short")), new Intl.DateTimeFormat(r, i);
3671
3690
  }
3672
- ), ro = or(
3691
+ ), eo = sr(
3673
3692
  (e) => {
3674
- var t = e, { locale: r, format: n } = t, i = bt(t, ["locale", "format"]);
3693
+ var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3675
3694
  if (r == null)
3676
3695
  throw new Error(
3677
3696
  '[svelte-i18n] A "locale" must be set to format time values'
3678
3697
  );
3679
3698
  return n ? i = kt("time", n) : Object.keys(i).length === 0 && (i = kt("time", "short")), new Intl.DateTimeFormat(r, i);
3680
3699
  }
3681
- ), no = (e = {}) => {
3700
+ ), to = (e = {}) => {
3682
3701
  var t = e, {
3683
- locale: r = ze()
3684
- } = t, n = bt(t, [
3702
+ locale: r = Ve()
3703
+ } = t, n = _t(t, [
3685
3704
  "locale"
3686
3705
  ]);
3687
- return eo(Ir({ locale: r }, n));
3688
- }, io = (e = {}) => {
3706
+ return Ys(Ir({ locale: r }, n));
3707
+ }, ro = (e = {}) => {
3689
3708
  var t = e, {
3690
- locale: r = ze()
3691
- } = t, n = bt(t, [
3709
+ locale: r = Ve()
3710
+ } = t, n = _t(t, [
3692
3711
  "locale"
3693
3712
  ]);
3694
- return to(Ir({ locale: r }, n));
3695
- }, so = (e = {}) => {
3713
+ return Ks(Ir({ locale: r }, n));
3714
+ }, no = (e = {}) => {
3696
3715
  var t = e, {
3697
- locale: r = ze()
3698
- } = t, n = bt(t, [
3716
+ locale: r = Ve()
3717
+ } = t, n = _t(t, [
3699
3718
  "locale"
3700
3719
  ]);
3701
- return ro(Ir({ locale: r }, n));
3702
- }, oo = or(
3720
+ return eo(Ir({ locale: r }, n));
3721
+ }, io = sr(
3703
3722
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3704
- (e, t = ze()) => new Ns(e, t, dt().formats, {
3705
- ignoreTag: dt().ignoreTag
3723
+ (e, t = Ve()) => new Os(e, t, pt().formats, {
3724
+ ignoreTag: pt().ignoreTag
3706
3725
  })
3707
- ), ao = (e, t = {}) => {
3726
+ ), so = (e, t = {}) => {
3708
3727
  var r, n, i, s;
3709
3728
  let o = t;
3710
3729
  typeof e == "object" && (o = e, e = o.id);
3711
3730
  const {
3712
3731
  values: l,
3713
- locale: c = ze(),
3732
+ locale: c = Ve(),
3714
3733
  default: a
3715
3734
  } = o;
3716
3735
  if (c == null)
3717
3736
  throw new Error(
3718
3737
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3719
3738
  );
3720
- let h = Xn(e, c);
3739
+ let h = Vn(e, c);
3721
3740
  if (!h)
3722
- h = (s = (i = (n = (r = dt()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
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;
3723
3742
  else if (typeof h != "string")
3724
3743
  return console.warn(
3725
3744
  `[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.`
@@ -3728,7 +3747,7 @@ const kt = (e, t) => {
3728
3747
  return h;
3729
3748
  let d = h;
3730
3749
  try {
3731
- d = oo(h, c).format(l);
3750
+ d = io(h, c).format(l);
3732
3751
  } catch (m) {
3733
3752
  m instanceof Error && console.warn(
3734
3753
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3736,20 +3755,20 @@ const kt = (e, t) => {
3736
3755
  );
3737
3756
  }
3738
3757
  return d;
3739
- }, lo = (e, t) => so(t).format(e), uo = (e, t) => io(t).format(e), co = (e, t) => no(t).format(e), ho = (e, t = ze()) => Xn(e, t), fo = pt([Re, gt], () => ao);
3740
- pt([Re], () => lo);
3741
- pt([Re], () => uo);
3742
- pt([Re], () => co);
3743
- pt([Re, gt], () => ho);
3744
- function mo({ withLocale: e, translations: t }) {
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 }) {
3745
3764
  Re.subscribe((r) => {
3746
- r == null && (gt.set(t), Re.set(e));
3765
+ r == null && (yt.set(t), Re.set(e));
3747
3766
  });
3748
3767
  }
3749
3768
  function rn(e, t) {
3750
- qn(e, t);
3769
+ Wn(e, t);
3751
3770
  }
3752
- function po(e) {
3771
+ function fo(e) {
3753
3772
  Re.set(e);
3754
3773
  }
3755
3774
  const nn = {
@@ -3943,225 +3962,248 @@ const nn = {
3943
3962
  registerTermsConditionsError: "Por favor acepte los Términos y Condiciones antes de proceder.",
3944
3963
  registerOpenAccount: "Abrir cuenta"
3945
3964
  }
3946
- }, { document: sn } = si;
3947
- function go(e) {
3948
- oi(e, "svelte-4rxo9f", `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, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}`);
3965
+ };
3966
+ function mo(e, t) {
3967
+ if (e) {
3968
+ const r = document.createElement("style");
3969
+ r.innerHTML = t, e.appendChild(r);
3970
+ }
3949
3971
  }
3950
- function on(e, t, r) {
3972
+ function po(e, t) {
3973
+ const r = new URL(t);
3974
+ fetch(r.href).then((n) => n.text()).then((n) => {
3975
+ const i = document.createElement("style");
3976
+ i.innerHTML = n, e && e.appendChild(i);
3977
+ }).catch((n) => {
3978
+ console.error("There was an error while trying to load client styling from URL", n);
3979
+ });
3980
+ }
3981
+ function go(e, t, r) {
3982
+ if (window.emMessageBus) {
3983
+ const n = document.createElement("style");
3984
+ window.emMessageBus.subscribe(t, (i) => {
3985
+ n.innerHTML = i, e && e.appendChild(n);
3986
+ });
3987
+ }
3988
+ }
3989
+ function bo(e) {
3990
+ ii(e, "svelte-4rxo9f", `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, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}`);
3991
+ }
3992
+ function sn(e, t, r) {
3951
3993
  const n = e.slice();
3952
- return n[88] = t[r], n;
3994
+ return n[87] = t[r], n;
3953
3995
  }
3954
- function an(e, t, r) {
3996
+ function on(e, t, r) {
3955
3997
  const n = e.slice();
3956
- return n[91] = t[r], n;
3998
+ return n[90] = t[r], n;
3957
3999
  }
3958
- function ln(e, t, r) {
4000
+ function an(e, t, r) {
3959
4001
  const n = e.slice();
3960
- return n[94] = t[r], n;
4002
+ return n[93] = t[r], n;
3961
4003
  }
3962
- function un(e) {
4004
+ function ln(e) {
3963
4005
  let t, r;
3964
4006
  return {
3965
4007
  c() {
3966
- t = y("script"), Gr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
3967
- e[4]) || g(t, "src", r), t.async = !0, t.defer = !0;
4008
+ t = b("script"), Gr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4009
+ e[4]) || p(t, "src", r), t.async = !0, t.defer = !0;
3968
4010
  },
3969
4011
  m(n, i) {
3970
- U(n, t, i);
4012
+ R(n, t, i);
3971
4013
  },
3972
4014
  p(n, i) {
3973
4015
  i[0] & /*captchakey*/
3974
4016
  16 && !Gr(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
3975
- n[4]) && g(t, "src", r);
4017
+ n[4]) && p(t, "src", r);
3976
4018
  },
3977
4019
  d(n) {
3978
4020
  n && I(t);
3979
4021
  }
3980
4022
  };
3981
4023
  }
3982
- function cn(e) {
4024
+ function un(e) {
3983
4025
  let t, r = (
3984
4026
  /*$_*/
3985
4027
  e[31]("registerAddressError") + ""
3986
4028
  ), n;
3987
4029
  return {
3988
4030
  c() {
3989
- t = y("p"), n = M(r), g(t, "class", "InvalidInput");
4031
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
3990
4032
  },
3991
4033
  m(i, s) {
3992
- U(i, t, s), u(t, n);
4034
+ R(i, t, s), u(t, n);
3993
4035
  },
3994
4036
  p(i, s) {
3995
4037
  s[1] & /*$_*/
3996
4038
  1 && r !== (r = /*$_*/
3997
- i[31]("registerAddressError") + "") && G(n, r);
4039
+ i[31]("registerAddressError") + "") && D(n, r);
3998
4040
  },
3999
4041
  d(i) {
4000
4042
  i && I(t);
4001
4043
  }
4002
4044
  };
4003
4045
  }
4004
- function hn(e) {
4046
+ function cn(e) {
4005
4047
  let t, r = (
4006
4048
  /*$_*/
4007
4049
  e[31]("registerPostalCodeError") + ""
4008
4050
  ), n;
4009
4051
  return {
4010
4052
  c() {
4011
- t = y("p"), n = M(r), g(t, "class", "InvalidInput");
4053
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4012
4054
  },
4013
4055
  m(i, s) {
4014
- U(i, t, s), u(t, n);
4056
+ R(i, t, s), u(t, n);
4015
4057
  },
4016
4058
  p(i, s) {
4017
4059
  s[1] & /*$_*/
4018
4060
  1 && r !== (r = /*$_*/
4019
- i[31]("registerPostalCodeError") + "") && G(n, r);
4061
+ i[31]("registerPostalCodeError") + "") && D(n, r);
4020
4062
  },
4021
4063
  d(i) {
4022
4064
  i && I(t);
4023
4065
  }
4024
4066
  };
4025
4067
  }
4026
- function fn(e) {
4068
+ function hn(e) {
4027
4069
  let t, r = (
4028
4070
  /*$_*/
4029
4071
  e[31]("registerCityError") + ""
4030
4072
  ), n;
4031
4073
  return {
4032
4074
  c() {
4033
- t = y("p"), n = M(r), g(t, "class", "InvalidInput");
4075
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4034
4076
  },
4035
4077
  m(i, s) {
4036
- U(i, t, s), u(t, n);
4078
+ R(i, t, s), u(t, n);
4037
4079
  },
4038
4080
  p(i, s) {
4039
4081
  s[1] & /*$_*/
4040
4082
  1 && r !== (r = /*$_*/
4041
- i[31]("registerCityError") + "") && G(n, r);
4083
+ i[31]("registerCityError") + "") && D(n, r);
4042
4084
  },
4043
4085
  d(i) {
4044
4086
  i && I(t);
4045
4087
  }
4046
4088
  };
4047
4089
  }
4048
- function dn(e) {
4090
+ function fn(e) {
4049
4091
  let t, r = (
4050
4092
  /*country*/
4051
- e[94].Name + ""
4093
+ e[93].Name + ""
4052
4094
  ), n, i;
4053
4095
  return {
4054
4096
  c() {
4055
- t = y("option"), n = M(r), t.__value = i = /*country*/
4056
- e[94].Alpha2Code, le(t, t.__value);
4097
+ t = b("option"), n = M(r), t.__value = i = /*country*/
4098
+ e[93].Alpha2Code, ce(t, t.__value);
4057
4099
  },
4058
4100
  m(s, o) {
4059
- U(s, t, o), u(t, n);
4101
+ R(s, t, o), u(t, n);
4060
4102
  },
4061
4103
  p(s, o) {
4062
4104
  o[0] & /*countries*/
4063
4105
  1048576 && r !== (r = /*country*/
4064
- s[94].Name + "") && G(n, r), o[0] & /*countries*/
4106
+ s[93].Name + "") && D(n, r), o[0] & /*countries*/
4065
4107
  1048576 && i !== (i = /*country*/
4066
- s[94].Alpha2Code) && (t.__value = i, le(t, t.__value));
4108
+ s[93].Alpha2Code) && (t.__value = i, ce(t, t.__value));
4067
4109
  },
4068
4110
  d(s) {
4069
4111
  s && I(t);
4070
4112
  }
4071
4113
  };
4072
4114
  }
4073
- function mn(e) {
4115
+ function dn(e) {
4074
4116
  let t, r = (
4075
4117
  /*nationality*/
4076
- e[91].Name + ""
4118
+ e[90].Name + ""
4077
4119
  ), n, i;
4078
4120
  return {
4079
4121
  c() {
4080
- t = y("option"), n = M(r), t.__value = i = /*nationality*/
4081
- e[91].Alpha2Code, le(t, t.__value);
4122
+ t = b("option"), n = M(r), t.__value = i = /*nationality*/
4123
+ e[90].Alpha2Code, ce(t, t.__value);
4082
4124
  },
4083
4125
  m(s, o) {
4084
- U(s, t, o), u(t, n);
4126
+ R(s, t, o), u(t, n);
4085
4127
  },
4086
4128
  p(s, o) {
4087
4129
  o[0] & /*nationalities*/
4088
4130
  4194304 && r !== (r = /*nationality*/
4089
- s[91].Name + "") && G(n, r), o[0] & /*nationalities*/
4131
+ s[90].Name + "") && D(n, r), o[0] & /*nationalities*/
4090
4132
  4194304 && i !== (i = /*nationality*/
4091
- s[91].Alpha2Code) && (t.__value = i, le(t, t.__value));
4133
+ s[90].Alpha2Code) && (t.__value = i, ce(t, t.__value));
4092
4134
  },
4093
4135
  d(s) {
4094
4136
  s && I(t);
4095
4137
  }
4096
4138
  };
4097
4139
  }
4098
- function pn(e) {
4140
+ function mn(e) {
4099
4141
  let t, r = (
4100
4142
  /*mobilePrefix*/
4101
- e[88].Prefix + ""
4143
+ e[87].Prefix + ""
4102
4144
  ), n, i;
4103
4145
  return {
4104
4146
  c() {
4105
- t = y("option"), n = M(r), t.__value = i = /*mobilePrefix*/
4106
- e[88].Prefix, le(t, t.__value);
4147
+ t = b("option"), n = M(r), t.__value = i = /*mobilePrefix*/
4148
+ e[87].Prefix, ce(t, t.__value);
4107
4149
  },
4108
4150
  m(s, o) {
4109
- U(s, t, o), u(t, n);
4151
+ R(s, t, o), u(t, n);
4110
4152
  },
4111
4153
  p(s, o) {
4112
4154
  o[0] & /*mobilePrefixes*/
4113
4155
  33554432 && r !== (r = /*mobilePrefix*/
4114
- s[88].Prefix + "") && G(n, r), o[0] & /*mobilePrefixes*/
4156
+ s[87].Prefix + "") && D(n, r), o[0] & /*mobilePrefixes*/
4115
4157
  33554432 && i !== (i = /*mobilePrefix*/
4116
- s[88].Prefix) && (t.__value = i, le(t, t.__value));
4158
+ s[87].Prefix) && (t.__value = i, ce(t, t.__value));
4117
4159
  },
4118
4160
  d(s) {
4119
4161
  s && I(t);
4120
4162
  }
4121
4163
  };
4122
4164
  }
4123
- function gn(e) {
4165
+ function pn(e) {
4124
4166
  let t, r = (
4125
4167
  /*$_*/
4126
4168
  e[31]("registerMobileError") + ""
4127
4169
  ), n;
4128
4170
  return {
4129
4171
  c() {
4130
- t = y("p"), n = M(r), g(t, "class", "InvalidInput");
4172
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4131
4173
  },
4132
4174
  m(i, s) {
4133
- U(i, t, s), u(t, n);
4175
+ R(i, t, s), u(t, n);
4134
4176
  },
4135
4177
  p(i, s) {
4136
4178
  s[1] & /*$_*/
4137
4179
  1 && r !== (r = /*$_*/
4138
- i[31]("registerMobileError") + "") && G(n, r);
4180
+ i[31]("registerMobileError") + "") && D(n, r);
4139
4181
  },
4140
4182
  d(i) {
4141
4183
  i && I(t);
4142
4184
  }
4143
4185
  };
4144
4186
  }
4145
- function bn(e) {
4187
+ function gn(e) {
4146
4188
  let t, r, n = (
4147
4189
  /*smsoffers*/
4148
4190
  (e[2] === "true" || /*emailmarketing*/
4149
- e[3] === "true") && yn(e)
4191
+ e[3] === "true") && bn(e)
4150
4192
  ), i = (
4151
4193
  /*termsconditions*/
4152
4194
  e[1] === "true" && vn(e)
4153
4195
  );
4154
4196
  return {
4155
4197
  c() {
4156
- n && n.c(), t = S(), i && i.c(), r = Or();
4198
+ n && n.c(), t = T(), i && i.c(), r = Or();
4157
4199
  },
4158
4200
  m(s, o) {
4159
- n && n.m(s, o), U(s, t, o), i && i.m(s, o), U(s, r, o);
4201
+ n && n.m(s, o), R(s, t, o), i && i.m(s, o), R(s, r, o);
4160
4202
  },
4161
4203
  p(s, o) {
4162
4204
  /*smsoffers*/
4163
4205
  s[2] === "true" || /*emailmarketing*/
4164
- s[3] === "true" ? n ? n.p(s, o) : (n = yn(s), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*termsconditions*/
4206
+ s[3] === "true" ? n ? n.p(s, o) : (n = bn(s), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*termsconditions*/
4165
4207
  s[1] === "true" ? i ? i.p(s, o) : (i = vn(s), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4166
4208
  },
4167
4209
  d(s) {
@@ -4169,66 +4211,66 @@ function bn(e) {
4169
4211
  }
4170
4212
  };
4171
4213
  }
4172
- function yn(e) {
4214
+ function bn(e) {
4173
4215
  let t, r, n = (
4174
4216
  /*$_*/
4175
4217
  e[31]("registerUserConsents") + ""
4176
- ), i, s, o, l, c, a, h, d, m, E, _ = (
4218
+ ), i, s, o, l, c, a, h, d, m, v, _ = (
4177
4219
  /*smsoffers*/
4178
- e[2] === "true" && _n(e)
4179
- ), v = (
4220
+ e[2] === "true" && yn(e)
4221
+ ), E = (
4180
4222
  /*emailmarketing*/
4181
- e[3] === "true" && En(e)
4223
+ e[3] === "true" && _n(e)
4182
4224
  );
4183
4225
  return {
4184
4226
  c() {
4185
- t = y("div"), r = y("label"), i = M(n), s = S(), o = y("input"), l = S(), c = y("span"), a = S(), h = y("div"), _ && _.c(), d = S(), v && v.c(), g(o, "type", "Checkbox"), o.checked = /*consentOffers*/
4186
- e[27], g(c, "class", "Checkmark"), g(r, "class", "Offers"), g(h, "class", "OffersMethodsWrapper"), g(t, "class", "OffersContainer");
4227
+ 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(), E && E.c(), p(o, "type", "Checkbox"), o.checked = /*consentOffers*/
4228
+ e[27], p(c, "class", "Checkmark"), p(r, "class", "Offers"), p(h, "class", "OffersMethodsWrapper"), p(t, "class", "OffersContainer");
4187
4229
  },
4188
- m(O, H) {
4189
- U(O, t, H), 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(
4230
+ m(O, S) {
4231
+ 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), E && E.m(h, null), m || (v = k(
4190
4232
  o,
4191
4233
  "click",
4192
4234
  /*click_handler*/
4193
- e[63]
4235
+ e[64]
4194
4236
  ), m = !0);
4195
4237
  },
4196
- p(O, H) {
4197
- H[1] & /*$_*/
4238
+ p(O, S) {
4239
+ S[1] & /*$_*/
4198
4240
  1 && n !== (n = /*$_*/
4199
- O[31]("registerUserConsents") + "") && G(i, n), H[0] & /*consentOffers*/
4241
+ O[31]("registerUserConsents") + "") && D(i, n), S[0] & /*consentOffers*/
4200
4242
  134217728 && (o.checked = /*consentOffers*/
4201
4243
  O[27]), /*smsoffers*/
4202
- O[2] === "true" ? _ ? _.p(O, H) : (_ = _n(O), _.c(), _.m(h, d)) : _ && (_.d(1), _ = null), /*emailmarketing*/
4203
- O[3] === "true" ? v ? v.p(O, H) : (v = En(O), v.c(), v.m(h, null)) : v && (v.d(1), v = null);
4244
+ O[2] === "true" ? _ ? _.p(O, S) : (_ = yn(O), _.c(), _.m(h, d)) : _ && (_.d(1), _ = null), /*emailmarketing*/
4245
+ O[3] === "true" ? E ? E.p(O, S) : (E = _n(O), E.c(), E.m(h, null)) : E && (E.d(1), E = null);
4204
4246
  },
4205
4247
  d(O) {
4206
- O && I(t), _ && _.d(), v && v.d(), m = !1, E();
4248
+ O && I(t), _ && _.d(), E && E.d(), m = !1, v();
4207
4249
  }
4208
4250
  };
4209
4251
  }
4210
- function _n(e) {
4252
+ function yn(e) {
4211
4253
  let t, r = (
4212
4254
  /*$_*/
4213
4255
  e[31]("registerUserConsentsSMS") + ""
4214
4256
  ), n, i, s, o, l, c, a, h;
4215
4257
  return {
4216
4258
  c() {
4217
- t = y("label"), n = M(r), i = S(), s = y("input"), l = S(), c = y("span"), g(s, "type", "Checkbox"), s.checked = o = /*allData*/
4218
- e[29].userConsents.sms, g(c, "class", "Checkmark"), g(t, "class", "OffersMethod");
4259
+ t = b("label"), n = M(r), i = T(), s = b("input"), l = T(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4260
+ e[29].userConsents.sms, p(c, "class", "Checkmark"), p(t, "class", "OffersMethod");
4219
4261
  },
4220
4262
  m(d, m) {
4221
- U(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = k(
4263
+ R(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = k(
4222
4264
  s,
4223
4265
  "click",
4224
4266
  /*click_handler_1*/
4225
- e[64]
4267
+ e[65]
4226
4268
  ), a = !0);
4227
4269
  },
4228
4270
  p(d, m) {
4229
4271
  m[1] & /*$_*/
4230
4272
  1 && r !== (r = /*$_*/
4231
- d[31]("registerUserConsentsSMS") + "") && G(n, r), m[0] & /*allData*/
4273
+ d[31]("registerUserConsentsSMS") + "") && D(n, r), m[0] & /*allData*/
4232
4274
  536870912 && o !== (o = /*allData*/
4233
4275
  d[29].userConsents.sms) && (s.checked = o);
4234
4276
  },
@@ -4237,28 +4279,28 @@ function _n(e) {
4237
4279
  }
4238
4280
  };
4239
4281
  }
4240
- function En(e) {
4282
+ function _n(e) {
4241
4283
  let t, r = (
4242
4284
  /*$_*/
4243
4285
  e[31]("registerUserConsentsEmail") + ""
4244
4286
  ), n, i, s, o, l, c, a, h;
4245
4287
  return {
4246
4288
  c() {
4247
- t = y("label"), n = M(r), i = S(), s = y("input"), l = S(), c = y("span"), g(s, "type", "Checkbox"), s.checked = o = /*allData*/
4248
- e[29].userConsents.emailmarketing, g(c, "class", "Checkmark"), g(t, "class", "OffersMethod");
4289
+ t = b("label"), n = M(r), i = T(), s = b("input"), l = T(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4290
+ e[29].userConsents.emailmarketing, p(c, "class", "Checkmark"), p(t, "class", "OffersMethod");
4249
4291
  },
4250
4292
  m(d, m) {
4251
- U(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = k(
4293
+ R(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = k(
4252
4294
  s,
4253
4295
  "click",
4254
4296
  /*click_handler_2*/
4255
- e[65]
4297
+ e[66]
4256
4298
  ), a = !0);
4257
4299
  },
4258
4300
  p(d, m) {
4259
4301
  m[1] & /*$_*/
4260
4302
  1 && r !== (r = /*$_*/
4261
- d[31]("registerUserConsentsEmail") + "") && G(n, r), m[0] & /*allData*/
4303
+ d[31]("registerUserConsentsEmail") + "") && D(n, r), m[0] & /*allData*/
4262
4304
  536870912 && o !== (o = /*allData*/
4263
4305
  d[29].userConsents.emailmarketing) && (s.checked = o);
4264
4306
  },
@@ -4268,70 +4310,70 @@ function En(e) {
4268
4310
  };
4269
4311
  }
4270
4312
  function vn(e) {
4271
- let t, r, n, i, s, o, l, c, a, h, d, m, E = !/*validData*/
4272
- e[30].termsandconditions && Cn(e);
4313
+ let t, r, n, i, s, o, l, c, a, h, d, m, v = !/*validData*/
4314
+ e[30].termsandconditions && En(e);
4273
4315
  return {
4274
4316
  c() {
4275
- t = y("div"), r = y("label"), n = y("span"), i = S(), s = y("input"), l = S(), c = y("span"), a = S(), E && E.c(), h = Or(), g(s, "type", "Checkbox"), s.checked = o = /*allData*/
4276
- e[29].userConsents.termsandconditions, g(c, "class", "Checkmark"), g(r, "class", "AgeConsent"), g(t, "class", "AgeContainer");
4317
+ t = b("div"), r = b("label"), n = b("span"), i = T(), s = b("input"), l = T(), c = b("span"), a = T(), v && v.c(), h = Or(), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4318
+ e[29].userConsents.termsandconditions, p(c, "class", "Checkmark"), p(r, "class", "AgeConsent"), p(t, "class", "AgeContainer");
4277
4319
  },
4278
- m(_, v) {
4279
- U(_, t, v), u(t, r), u(r, n), n.innerHTML = /*textTC*/
4280
- e[32], u(r, i), u(r, s), u(r, l), u(r, c), U(_, a, v), E && E.m(_, v), U(_, h, v), d || (m = k(
4320
+ m(_, E) {
4321
+ R(_, t, E), u(t, r), u(r, n), n.innerHTML = /*textTC*/
4322
+ e[32], u(r, i), u(r, s), u(r, l), u(r, c), R(_, a, E), v && v.m(_, E), R(_, h, E), d || (m = k(
4281
4323
  s,
4282
4324
  "click",
4283
4325
  /*click_handler_3*/
4284
- e[66]
4326
+ e[67]
4285
4327
  ), d = !0);
4286
4328
  },
4287
- p(_, v) {
4288
- v[0] & /*allData*/
4329
+ p(_, E) {
4330
+ E[0] & /*allData*/
4289
4331
  536870912 && o !== (o = /*allData*/
4290
4332
  _[29].userConsents.termsandconditions) && (s.checked = o), /*validData*/
4291
- _[30].termsandconditions ? E && (E.d(1), E = null) : E ? E.p(_, v) : (E = Cn(_), E.c(), E.m(h.parentNode, h));
4333
+ _[30].termsandconditions ? v && (v.d(1), v = null) : v ? v.p(_, E) : (v = En(_), v.c(), v.m(h.parentNode, h));
4292
4334
  },
4293
4335
  d(_) {
4294
- _ && (I(t), I(a), I(h)), E && E.d(_), d = !1, m();
4336
+ _ && (I(t), I(a), I(h)), v && v.d(_), d = !1, m();
4295
4337
  }
4296
4338
  };
4297
4339
  }
4298
- function Cn(e) {
4340
+ function En(e) {
4299
4341
  let t, r, n = (
4300
4342
  /*$_*/
4301
4343
  e[31]("registerTermsConditionsError") + ""
4302
4344
  ), i;
4303
4345
  return {
4304
4346
  c() {
4305
- t = y("div"), r = y("p"), i = M(n), g(t, "class", "NotificationContainer");
4347
+ t = b("div"), r = b("p"), i = M(n), p(t, "class", "NotificationContainer");
4306
4348
  },
4307
4349
  m(s, o) {
4308
- U(s, t, o), u(t, r), u(r, i);
4350
+ R(s, t, o), u(t, r), u(r, i);
4309
4351
  },
4310
4352
  p(s, o) {
4311
4353
  o[1] & /*$_*/
4312
4354
  1 && n !== (n = /*$_*/
4313
- s[31]("registerTermsConditionsError") + "") && G(i, n);
4355
+ s[31]("registerTermsConditionsError") + "") && D(i, n);
4314
4356
  },
4315
4357
  d(s) {
4316
4358
  s && I(t);
4317
4359
  }
4318
4360
  };
4319
4361
  }
4320
- function xn(e) {
4362
+ function Cn(e) {
4321
4363
  let t, r, n;
4322
4364
  return {
4323
4365
  c() {
4324
- t = y("div"), r = y("p"), n = M(
4366
+ t = b("div"), r = b("p"), n = M(
4325
4367
  /*error*/
4326
4368
  e[16]
4327
- ), g(r, "class", "RegisterError");
4369
+ ), p(r, "class", "RegisterError");
4328
4370
  },
4329
4371
  m(i, s) {
4330
- U(i, t, s), u(t, r), u(r, n);
4372
+ R(i, t, s), u(t, r), u(r, n);
4331
4373
  },
4332
4374
  p(i, s) {
4333
4375
  s[0] & /*error*/
4334
- 65536 && G(
4376
+ 65536 && D(
4335
4377
  n,
4336
4378
  /*error*/
4337
4379
  i[16]
@@ -4342,159 +4384,159 @@ function xn(e) {
4342
4384
  }
4343
4385
  };
4344
4386
  }
4345
- function bo(e) {
4346
- let t, r, n, i, s, o, l, c, a, h, d, m, E, _ = (
4387
+ function yo(e) {
4388
+ let t, r, n, i, s, o, l, c, a, h, d, m, v, _ = (
4347
4389
  /*$_*/
4348
4390
  e[31]("registerBackButton") + ""
4349
- ), v, O, H, V, N, X, W = (
4391
+ ), E, O, S, z, N, V, X = (
4350
4392
  /*$_*/
4351
4393
  e[31]("registerAddress") + ""
4352
- ), fe, we, Ue, Fe, Y, yt, de, Ce, j, be, ue = (
4394
+ ), me, we, Oe, vt, W, Et, Ue, xe, j, te, Te = (
4353
4395
  /*$_*/
4354
4396
  e[31]("registerPostalCode") + ""
4355
- ), Pe, ye, ce, De, F, he, Oe, xe, b, w, Ve = (
4397
+ ), pe, Fe, he, ye, q, fe, Z, Xe, U, y, B = (
4356
4398
  /*$_*/
4357
4399
  e[31]("registerCity") + ""
4358
- ), _t, It, Xe, Lt, z, Rt, Ge, Ut, Ae, Me, je = (
4400
+ ), Ct, It, We, Lt, de, Se, qe, xt, He, Be, Ze = (
4359
4401
  /*$_*/
4360
4402
  e[31]("registerCountry") + ""
4361
- ), Et, vt, Te, Ft, me, We, Ct, Se, He, qe = (
4403
+ ), $e, Rt, De, Ge, _e, je, Ut, Ae, Me, ze = (
4362
4404
  /*$_*/
4363
4405
  e[31]("registerNationality") + ""
4364
- ), xt, Dt, Ze, Gt, _e, $e, jt, pe, Ne, Qe = (
4406
+ ), At, Ft, Qe, Dt, ve, Je, Gt, ge, Ne, Ye = (
4365
4407
  /*$_*/
4366
4408
  e[31]("registerMobile") + ""
4367
- ), At, zt, Je, Vt, ke, Ee, Xt, q, Wt, Ye, qt, wt, Be, Ke = (
4409
+ ), wt, jt, Ke, zt, ke, Ee, Vt, $, Xt, et, Wt, Tt, Pe, tt = (
4368
4410
  /*$_*/
4369
4411
  e[31]("registerOpenAccount") + ""
4370
- ), Tt, p, x, L, Lr, K = (
4412
+ ), g, x, G, or, Lr, re = (
4371
4413
  /*captchakey*/
4372
- e[4] && un(e)
4373
- ), ee = (
4414
+ e[4] && ln(e)
4415
+ ), ne = (
4374
4416
  /*invalidAddress*/
4375
- e[6] && cn(e)
4376
- ), te = (
4417
+ e[6] && un(e)
4418
+ ), ie = (
4377
4419
  /*invalidPostalCode*/
4378
- e[7] && hn(e)
4379
- ), re = (
4420
+ e[7] && cn(e)
4421
+ ), se = (
4380
4422
  /*invalidCity*/
4381
- e[9] && fn(e)
4382
- ), et = st(
4423
+ e[9] && hn(e)
4424
+ ), rt = at(
4383
4425
  /*countries*/
4384
4426
  e[20]
4385
- ), Z = [];
4386
- for (let f = 0; f < et.length; f += 1)
4387
- Z[f] = dn(ln(e, et, f));
4388
- let tt = st(
4427
+ ), Q = [];
4428
+ for (let f = 0; f < rt.length; f += 1)
4429
+ Q[f] = fn(an(e, rt, f));
4430
+ let nt = at(
4389
4431
  /*nationalities*/
4390
4432
  e[22]
4391
- ), $ = [];
4392
- for (let f = 0; f < tt.length; f += 1)
4393
- $[f] = mn(an(e, tt, f));
4394
- let rt = st(
4433
+ ), J = [];
4434
+ for (let f = 0; f < nt.length; f += 1)
4435
+ J[f] = dn(on(e, nt, f));
4436
+ let it = at(
4395
4437
  /*mobilePrefixes*/
4396
4438
  e[25]
4397
- ), Q = [];
4398
- for (let f = 0; f < rt.length; f += 1)
4399
- Q[f] = pn(on(e, rt, f));
4400
- let ne = (
4439
+ ), Y = [];
4440
+ for (let f = 0; f < it.length; f += 1)
4441
+ Y[f] = mn(sn(e, it, f));
4442
+ let oe = (
4401
4443
  /*invalidMobile*/
4402
- e[8] && gn(e)
4403
- ), ie = (
4444
+ e[8] && pn(e)
4445
+ ), ae = (
4404
4446
  /*userconsentsexist*/
4405
- e[0] === "true" && bn(e)
4406
- ), se = (
4447
+ e[0] === "true" && gn(e)
4448
+ ), le = (
4407
4449
  /*showError*/
4408
- e[15] && xn(e)
4450
+ e[15] && Cn(e)
4409
4451
  );
4410
4452
  return {
4411
4453
  c() {
4412
- var f, C, D, St, Ht, Bt;
4413
- K && K.c(), t = Or(), r = S(), n = y("div"), i = S(), s = y("div"), o = y("div"), l = y("button"), c = $t("svg"), a = $t("defs"), h = $t("style"), d = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));}"), m = $t("path"), E = S(), v = M(_), O = S(), H = y("form"), V = y("div"), N = y("div"), X = y("label"), fe = M(W), we = M(":"), Ue = y("span"), Ue.textContent = "*", Fe = S(), Y = y("input"), yt = S(), ee && ee.c(), Ce = S(), j = y("div"), be = y("label"), Pe = M(ue), ye = M(":"), ce = y("span"), ce.textContent = "*", De = S(), F = y("input"), he = S(), te && te.c(), xe = S(), b = y("div"), w = y("label"), _t = M(Ve), It = M(":"), Xe = y("span"), Xe.textContent = "*", Lt = S(), z = y("input"), Rt = S(), re && re.c(), Ut = S(), Ae = y("div"), Me = y("label"), Et = M(je), vt = M(":"), Te = y("span"), Te.textContent = "*", Ft = S(), me = y("select");
4414
- for (let oe = 0; oe < Z.length; oe += 1)
4415
- Z[oe].c();
4416
- Ct = S(), Se = y("div"), He = y("label"), xt = M(qe), Dt = M(":"), Ze = y("span"), Ze.textContent = "*", Gt = S(), _e = y("select");
4417
- for (let oe = 0; oe < $.length; oe += 1)
4418
- $[oe].c();
4419
- jt = S(), pe = y("div"), Ne = y("label"), At = M(Qe), zt = M(":"), Je = y("span"), Je.textContent = "*", Vt = S(), ke = y("div"), Ee = y("select");
4420
- for (let oe = 0; oe < Q.length; oe += 1)
4421
- Q[oe].c();
4422
- Xt = S(), q = y("input"), Wt = S(), ne && ne.c(), qt = S(), ie && ie.c(), wt = S(), Be = y("button"), Tt = M(Ke), x = S(), se && se.c(), g(n, "class", "g-recaptcha"), g(
4454
+ var f, C, F, St, Ht, Bt;
4455
+ 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, #D0046C));}"), m = Zt("path"), v = T(), E = 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 = "*", vt = T(), W = b("input"), Et = 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");
4456
+ for (let ue = 0; ue < Q.length; ue += 1)
4457
+ Q[ue].c();
4458
+ Ut = T(), Ae = b("div"), Me = b("label"), At = M(ze), Ft = M(":"), Qe = b("span"), Qe.textContent = "*", Dt = T(), ve = b("select");
4459
+ for (let ue = 0; ue < J.length; ue += 1)
4460
+ J[ue].c();
4461
+ Gt = T(), ge = b("div"), Ne = b("label"), wt = M(Ye), jt = M(":"), Ke = b("span"), Ke.textContent = "*", zt = T(), ke = b("div"), Ee = b("select");
4462
+ for (let ue = 0; ue < Y.length; ue += 1)
4463
+ Y[ue].c();
4464
+ 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(
4423
4465
  n,
4424
4466
  "data-sitekey",
4425
4467
  /*captchakey*/
4426
4468
  e[4]
4427
- ), g(m, "class", "a"), g(m, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), g(m, "transform", "translate(24 24) rotate(180)"), g(c, "xmlns", "http://www.w3.org/2000/svg"), g(c, "viewBox", "0 0 24 24"), g(l, "class", "BackButton"), g(o, "class", "RegisterFormHeader"), g(Ue, "class", "FormRequired"), g(X, "for", "Address"), g(Y, "type", "text"), g(Y, "id", "Address"), g(N, "class", de = "AddressContainer " + /*invalidAddress*/
4469
+ ), 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*/
4428
4470
  (e[6] && !/*addressFocus*/
4429
4471
  e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4430
- (((f = e[14]) == null ? void 0 : f.indexOf("address")) >= 0 ? "Hidden" : "")), g(ce, "class", "FormRequired"), g(be, "for", "PostalCode"), g(F, "type", "text"), g(F, "id", "PostalCode"), g(j, "class", Oe = "PostalCodeContainer " + /*invalidPostalCode*/
4472
+ (((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*/
4431
4473
  (e[7] && !/*postalCodeFocus*/
4432
4474
  e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4433
- (((C = e[14]) == null ? void 0 : C.indexOf("postalCode")) >= 0 ? "Hidden" : "")), g(V, "class", "AddressPostalCodeContainer"), g(Xe, "class", "FormRequired"), g(w, "for", "City"), g(z, "type", "text"), g(z, "id", "City"), g(b, "class", Ge = "CityContainer " + /*invalidCity*/
4475
+ (((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*/
4434
4476
  (e[9] && /*cityFocus*/
4435
4477
  e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4436
- (((D = e[14]) == null ? void 0 : D.indexOf("city")) >= 0 ? "Hidden" : "")), g(Te, "class", "FormRequired"), g(Me, "for", "Country"), g(me, "id", "Country"), /*countrySelected*/
4437
- e[21] === void 0 && ut(() => (
4478
+ (((F = e[14]) == null ? void 0 : F.indexOf("city")) >= 0 ? "Hidden" : "")), p(De, "class", "FormRequired"), p(Be, "for", "Country"), p(_e, "id", "Country"), /*countrySelected*/
4479
+ e[21] === void 0 && ht(() => (
4438
4480
  /*select0_change_handler*/
4439
- e[57].call(me)
4440
- )), g(Ae, "class", We = "CountryContainer " + /*disabledFieldsList*/
4441
- (((St = e[14]) == null ? void 0 : St.indexOf("country")) >= 0 ? "Hidden" : "")), g(Ze, "class", "FormRequired"), g(He, "for", "Nationality"), g(_e, "id", "Nationality"), /*nationalitySelected*/
4442
- e[23] === void 0 && ut(() => (
4443
- /*select1_change_handler*/
4444
4481
  e[58].call(_e)
4445
- )), g(Se, "class", $e = "NationalityContainer " + /*disabledFieldsList*/
4446
- (((Ht = e[14]) == null ? void 0 : Ht.indexOf("nationality")) >= 0 ? "Hidden" : "")), g(Je, "class", "FormRequired"), g(Ne, "for", "Mobile"), g(Ee, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
4447
- e[26] === void 0 && ut(() => (
4482
+ )), p(He, "class", je = "CountryContainer " + /*disabledFieldsList*/
4483
+ (((St = e[14]) == null ? void 0 : St.indexOf("country")) >= 0 ? "Hidden" : "")), p(Qe, "class", "FormRequired"), p(Me, "for", "Nationality"), p(ve, "id", "Nationality"), /*nationalitySelected*/
4484
+ e[23] === void 0 && ht(() => (
4485
+ /*select1_change_handler*/
4486
+ e[59].call(ve)
4487
+ )), p(Ae, "class", Je = "NationalityContainer " + /*disabledFieldsList*/
4488
+ (((Ht = e[14]) == null ? void 0 : Ht.indexOf("nationality")) >= 0 ? "Hidden" : "")), p(Ke, "class", "FormRequired"), p(Ne, "for", "Mobile"), p(Ee, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
4489
+ e[26] === void 0 && ht(() => (
4448
4490
  /*select2_change_handler*/
4449
- e[59].call(Ee)
4450
- )), g(q, "type", "text"), g(q, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"), g(q, "id", "Mobile"), g(q, "class", "MobileInput"), g(ke, "class", "MobileWrapper"), g(pe, "class", Ye = "MobileContainer " + /*invalidMobile*/
4491
+ e[60].call(Ee)
4492
+ )), 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*/
4451
4493
  (e[8] && !/*mobileFocus*/
4452
4494
  e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4453
- (((Bt = e[14]) == null ? void 0 : Bt.indexOf("mobile")) >= 0 ? "Hidden" : "")), g(Be, "class", "RegisterStepNext"), Be.disabled = p = !/*isValid*/
4454
- e[28], g(H, "class", "RegisterFormContent");
4495
+ (((Bt = e[14]) == null ? void 0 : Bt.indexOf("mobile")) >= 0 ? "Hidden" : "")), p(Pe, "class", "RegisterStepNext"), Pe.disabled = x = !/*isValid*/
4496
+ e[28], p(S, "class", "RegisterFormContent");
4455
4497
  },
4456
4498
  m(f, C) {
4457
- K && K.m(sn.head, null), u(sn.head, t), U(f, r, C), U(f, n, C), U(f, i, C), U(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, H), u(H, V), u(V, N), u(N, X), u(X, fe), u(X, we), u(X, Ue), u(N, Fe), u(N, Y), le(
4458
- Y,
4499
+ 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, v), u(l, E), 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, vt), u(N, W), ce(
4500
+ W,
4459
4501
  /*address*/
4460
4502
  e[17]
4461
- ), u(N, yt), ee && ee.m(N, null), u(V, Ce), u(V, j), u(j, be), u(be, Pe), u(be, ye), u(be, ce), u(j, De), u(j, F), le(
4462
- F,
4503
+ ), u(N, Et), 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(
4504
+ q,
4463
4505
  /*postalCode*/
4464
4506
  e[18]
4465
- ), u(j, he), te && te.m(j, null), u(H, xe), u(H, b), u(b, w), u(w, _t), u(w, It), u(w, Xe), u(b, Lt), u(b, z), le(
4466
- z,
4507
+ ), 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(
4508
+ de,
4467
4509
  /*city*/
4468
4510
  e[19]
4469
- ), u(b, Rt), re && re.m(b, null), u(H, Ut), u(H, Ae), u(Ae, Me), u(Me, Et), u(Me, vt), u(Me, Te), u(Ae, Ft), u(Ae, me);
4470
- for (let D = 0; D < Z.length; D += 1)
4471
- Z[D] && Z[D].m(me, null);
4472
- nt(
4473
- me,
4511
+ ), 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);
4512
+ for (let F = 0; F < Q.length; F += 1)
4513
+ Q[F] && Q[F].m(_e, null);
4514
+ st(
4515
+ _e,
4474
4516
  /*countrySelected*/
4475
4517
  e[21],
4476
4518
  !0
4477
- ), u(H, Ct), u(H, Se), u(Se, He), u(He, xt), u(He, Dt), u(He, Ze), u(Se, Gt), u(Se, _e);
4478
- for (let D = 0; D < $.length; D += 1)
4479
- $[D] && $[D].m(_e, null);
4480
- nt(
4481
- _e,
4519
+ ), u(S, Ut), u(S, Ae), u(Ae, Me), u(Me, At), u(Me, Ft), u(Me, Qe), u(Ae, Dt), u(Ae, ve);
4520
+ for (let F = 0; F < J.length; F += 1)
4521
+ J[F] && J[F].m(ve, null);
4522
+ st(
4523
+ ve,
4482
4524
  /*nationalitySelected*/
4483
4525
  e[23],
4484
4526
  !0
4485
- ), u(H, jt), u(H, pe), u(pe, Ne), u(Ne, At), u(Ne, zt), u(Ne, Je), u(pe, Vt), u(pe, ke), u(ke, Ee);
4486
- for (let D = 0; D < Q.length; D += 1)
4487
- Q[D] && Q[D].m(Ee, null);
4488
- nt(
4527
+ ), 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, Ee);
4528
+ for (let F = 0; F < Y.length; F += 1)
4529
+ Y[F] && Y[F].m(Ee, null);
4530
+ st(
4489
4531
  Ee,
4490
4532
  /*mobilePrefixSelected*/
4491
4533
  e[26],
4492
4534
  !0
4493
- ), u(ke, Xt), u(ke, q), le(
4494
- q,
4535
+ ), u(ke, Vt), u(ke, $), ce(
4536
+ $,
4495
4537
  /*mobile*/
4496
4538
  e[24]
4497
- ), u(pe, Wt), ne && ne.m(pe, null), u(H, qt), ie && ie.m(H, null), u(H, wt), u(H, Be), u(Be, Tt), u(s, x), se && se.m(s, null), e[68](s), L || (Lr = [
4539
+ ), 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 = [
4498
4540
  k(
4499
4541
  l,
4500
4542
  "click",
@@ -4502,277 +4544,277 @@ function bo(e) {
4502
4544
  e[40]
4503
4545
  ),
4504
4546
  k(
4505
- Y,
4547
+ W,
4506
4548
  "input",
4507
4549
  /*input0_input_handler*/
4508
- e[48]
4550
+ e[49]
4509
4551
  ),
4510
4552
  k(
4511
- Y,
4553
+ W,
4512
4554
  "keyup",
4513
4555
  /*validateAddress*/
4514
4556
  e[33]
4515
4557
  ),
4516
4558
  k(
4517
- Y,
4559
+ W,
4518
4560
  "focus",
4519
4561
  /*focus_handler*/
4520
- e[49]
4562
+ e[50]
4521
4563
  ),
4522
4564
  k(
4523
- Y,
4565
+ W,
4524
4566
  "blur",
4525
4567
  /*blur_handler*/
4526
- e[50]
4568
+ e[51]
4527
4569
  ),
4528
4570
  k(
4529
- F,
4571
+ q,
4530
4572
  "input",
4531
4573
  /*input1_input_handler*/
4532
- e[51]
4574
+ e[52]
4533
4575
  ),
4534
4576
  k(
4535
- F,
4577
+ q,
4536
4578
  "keyup",
4537
4579
  /*validatePostalCode*/
4538
4580
  e[34]
4539
4581
  ),
4540
4582
  k(
4541
- F,
4583
+ q,
4542
4584
  "focus",
4543
4585
  /*focus_handler_1*/
4544
- e[52]
4586
+ e[53]
4545
4587
  ),
4546
4588
  k(
4547
- F,
4589
+ q,
4548
4590
  "blur",
4549
4591
  /*blur_handler_1*/
4550
- e[53]
4592
+ e[54]
4551
4593
  ),
4552
4594
  k(
4553
- z,
4595
+ de,
4554
4596
  "input",
4555
4597
  /*input2_input_handler*/
4556
- e[54]
4598
+ e[55]
4557
4599
  ),
4558
4600
  k(
4559
- z,
4601
+ de,
4560
4602
  "keyup",
4561
4603
  /*validateCity*/
4562
4604
  e[35]
4563
4605
  ),
4564
4606
  k(
4565
- z,
4607
+ de,
4566
4608
  "focus",
4567
4609
  /*focus_handler_2*/
4568
- e[55]
4610
+ e[56]
4569
4611
  ),
4570
4612
  k(
4571
- z,
4613
+ de,
4572
4614
  "blur",
4573
4615
  /*blur_handler_2*/
4574
- e[56]
4616
+ e[57]
4575
4617
  ),
4576
4618
  k(
4577
- me,
4619
+ _e,
4578
4620
  "change",
4579
4621
  /*select0_change_handler*/
4580
- e[57]
4622
+ e[58]
4581
4623
  ),
4582
4624
  k(
4583
- _e,
4625
+ ve,
4584
4626
  "change",
4585
4627
  /*select1_change_handler*/
4586
- e[58]
4628
+ e[59]
4587
4629
  ),
4588
4630
  k(
4589
4631
  Ee,
4590
4632
  "change",
4591
4633
  /*select2_change_handler*/
4592
- e[59]
4634
+ e[60]
4593
4635
  ),
4594
4636
  k(
4595
- q,
4637
+ $,
4596
4638
  "input",
4597
4639
  /*input3_input_handler*/
4598
- e[60]
4640
+ e[61]
4599
4641
  ),
4600
4642
  k(
4601
- q,
4643
+ $,
4602
4644
  "keyup",
4603
4645
  /*validateMobile*/
4604
4646
  e[36]
4605
4647
  ),
4606
4648
  k(
4607
- q,
4649
+ $,
4608
4650
  "focus",
4609
4651
  /*focus_handler_3*/
4610
- e[61]
4652
+ e[62]
4611
4653
  ),
4612
4654
  k(
4613
- q,
4655
+ $,
4614
4656
  "blur",
4615
4657
  /*blur_handler_3*/
4616
- e[62]
4658
+ e[63]
4617
4659
  ),
4618
4660
  k(
4619
- Be,
4661
+ Pe,
4620
4662
  "click",
4621
4663
  /*click_handler_4*/
4622
- e[67]
4664
+ e[68]
4623
4665
  )
4624
- ], L = !0);
4666
+ ], or = !0);
4625
4667
  },
4626
4668
  p(f, C) {
4627
- var D, St, Ht, Bt, oe, Rr;
4669
+ var F, St, Ht, Bt, ue, Rr;
4628
4670
  if (/*captchakey*/
4629
- f[4] ? K ? K.p(f, C) : (K = un(f), K.c(), K.m(t.parentNode, t)) : K && (K.d(1), K = null), C[0] & /*captchakey*/
4630
- 16 && g(
4671
+ 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*/
4672
+ 16 && p(
4631
4673
  n,
4632
4674
  "data-sitekey",
4633
4675
  /*captchakey*/
4634
4676
  f[4]
4635
4677
  ), C[1] & /*$_*/
4636
4678
  1 && _ !== (_ = /*$_*/
4637
- f[31]("registerBackButton") + "") && G(v, _), C[1] & /*$_*/
4638
- 1 && W !== (W = /*$_*/
4639
- f[31]("registerAddress") + "") && G(fe, W), C[0] & /*address*/
4640
- 131072 && Y.value !== /*address*/
4641
- f[17] && le(
4642
- Y,
4679
+ f[31]("registerBackButton") + "") && D(E, _), C[1] & /*$_*/
4680
+ 1 && X !== (X = /*$_*/
4681
+ f[31]("registerAddress") + "") && D(me, X), C[0] & /*address*/
4682
+ 131072 && W.value !== /*address*/
4683
+ f[17] && ce(
4684
+ W,
4643
4685
  /*address*/
4644
4686
  f[17]
4645
4687
  ), /*invalidAddress*/
4646
- f[6] ? ee ? ee.p(f, C) : (ee = cn(f), ee.c(), ee.m(N, null)) : ee && (ee.d(1), ee = null), C[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
4647
- 17472 && de !== (de = "AddressContainer " + /*invalidAddress*/
4688
+ 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*/
4689
+ 17472 && Ue !== (Ue = "AddressContainer " + /*invalidAddress*/
4648
4690
  (f[6] && !/*addressFocus*/
4649
4691
  f[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4650
- (((D = f[14]) == null ? void 0 : D.indexOf("address")) >= 0 ? "Hidden" : "")) && g(N, "class", de), C[1] & /*$_*/
4651
- 1 && ue !== (ue = /*$_*/
4652
- f[31]("registerPostalCode") + "") && G(Pe, ue), C[0] & /*postalCode*/
4653
- 262144 && F.value !== /*postalCode*/
4654
- f[18] && le(
4655
- F,
4692
+ (((F = f[14]) == null ? void 0 : F.indexOf("address")) >= 0 ? "Hidden" : "")) && p(N, "class", Ue), C[1] & /*$_*/
4693
+ 1 && Te !== (Te = /*$_*/
4694
+ f[31]("registerPostalCode") + "") && D(pe, Te), C[0] & /*postalCode*/
4695
+ 262144 && q.value !== /*postalCode*/
4696
+ f[18] && ce(
4697
+ q,
4656
4698
  /*postalCode*/
4657
4699
  f[18]
4658
4700
  ), /*invalidPostalCode*/
4659
- f[7] ? te ? te.p(f, C) : (te = hn(f), te.c(), te.m(j, null)) : te && (te.d(1), te = null), C[0] & /*invalidPostalCode, postalCodeFocus, disabledFieldsList*/
4660
- 18560 && Oe !== (Oe = "PostalCodeContainer " + /*invalidPostalCode*/
4701
+ f[7] ? ie ? ie.p(f, C) : (ie = cn(f), ie.c(), ie.m(j, null)) : ie && (ie.d(1), ie = null), C[0] & /*invalidPostalCode, postalCodeFocus, disabledFieldsList*/
4702
+ 18560 && Z !== (Z = "PostalCodeContainer " + /*invalidPostalCode*/
4661
4703
  (f[7] && !/*postalCodeFocus*/
4662
4704
  f[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4663
- (((St = f[14]) == null ? void 0 : St.indexOf("postalCode")) >= 0 ? "Hidden" : "")) && g(j, "class", Oe), C[1] & /*$_*/
4664
- 1 && Ve !== (Ve = /*$_*/
4665
- f[31]("registerCity") + "") && G(_t, Ve), C[0] & /*city*/
4666
- 524288 && z.value !== /*city*/
4667
- f[19] && le(
4668
- z,
4705
+ (((St = f[14]) == null ? void 0 : St.indexOf("postalCode")) >= 0 ? "Hidden" : "")) && p(j, "class", Z), C[1] & /*$_*/
4706
+ 1 && B !== (B = /*$_*/
4707
+ f[31]("registerCity") + "") && D(Ct, B), C[0] & /*city*/
4708
+ 524288 && de.value !== /*city*/
4709
+ f[19] && ce(
4710
+ de,
4669
4711
  /*city*/
4670
4712
  f[19]
4671
4713
  ), /*invalidCity*/
4672
- f[9] ? re ? re.p(f, C) : (re = fn(f), re.c(), re.m(b, null)) : re && (re.d(1), re = null), C[0] & /*invalidCity, cityFocus, disabledFieldsList*/
4673
- 25088 && Ge !== (Ge = "CityContainer " + /*invalidCity*/
4714
+ 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*/
4715
+ 25088 && qe !== (qe = "CityContainer " + /*invalidCity*/
4674
4716
  (f[9] && /*cityFocus*/
4675
4717
  f[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4676
- (((Ht = f[14]) == null ? void 0 : Ht.indexOf("city")) >= 0 ? "Hidden" : "")) && g(b, "class", Ge), C[1] & /*$_*/
4677
- 1 && je !== (je = /*$_*/
4678
- f[31]("registerCountry") + "") && G(Et, je), C[0] & /*countries*/
4718
+ (((Ht = f[14]) == null ? void 0 : Ht.indexOf("city")) >= 0 ? "Hidden" : "")) && p(U, "class", qe), C[1] & /*$_*/
4719
+ 1 && Ze !== (Ze = /*$_*/
4720
+ f[31]("registerCountry") + "") && D($e, Ze), C[0] & /*countries*/
4679
4721
  1048576) {
4680
- et = st(
4722
+ rt = at(
4681
4723
  /*countries*/
4682
4724
  f[20]
4683
4725
  );
4684
4726
  let A;
4685
- for (A = 0; A < et.length; A += 1) {
4686
- const Ie = ln(f, et, A);
4687
- Z[A] ? Z[A].p(Ie, C) : (Z[A] = dn(Ie), Z[A].c(), Z[A].m(me, null));
4727
+ for (A = 0; A < rt.length; A += 1) {
4728
+ const Ie = an(f, rt, A);
4729
+ Q[A] ? Q[A].p(Ie, C) : (Q[A] = fn(Ie), Q[A].c(), Q[A].m(_e, null));
4688
4730
  }
4689
- for (; A < Z.length; A += 1)
4690
- Z[A].d(1);
4691
- Z.length = et.length;
4731
+ for (; A < Q.length; A += 1)
4732
+ Q[A].d(1);
4733
+ Q.length = rt.length;
4692
4734
  }
4693
4735
  if (C[0] & /*countrySelected, countries*/
4694
- 3145728 && nt(
4695
- me,
4736
+ 3145728 && st(
4737
+ _e,
4696
4738
  /*countrySelected*/
4697
4739
  f[21]
4698
4740
  ), C[0] & /*disabledFieldsList*/
4699
- 16384 && We !== (We = "CountryContainer " + /*disabledFieldsList*/
4700
- (((Bt = f[14]) == null ? void 0 : Bt.indexOf("country")) >= 0 ? "Hidden" : "")) && g(Ae, "class", We), C[1] & /*$_*/
4701
- 1 && qe !== (qe = /*$_*/
4702
- f[31]("registerNationality") + "") && G(xt, qe), C[0] & /*nationalities*/
4741
+ 16384 && je !== (je = "CountryContainer " + /*disabledFieldsList*/
4742
+ (((Bt = f[14]) == null ? void 0 : Bt.indexOf("country")) >= 0 ? "Hidden" : "")) && p(He, "class", je), C[1] & /*$_*/
4743
+ 1 && ze !== (ze = /*$_*/
4744
+ f[31]("registerNationality") + "") && D(At, ze), C[0] & /*nationalities*/
4703
4745
  4194304) {
4704
- tt = st(
4746
+ nt = at(
4705
4747
  /*nationalities*/
4706
4748
  f[22]
4707
4749
  );
4708
4750
  let A;
4709
- for (A = 0; A < tt.length; A += 1) {
4710
- const Ie = an(f, tt, A);
4711
- $[A] ? $[A].p(Ie, C) : ($[A] = mn(Ie), $[A].c(), $[A].m(_e, null));
4751
+ for (A = 0; A < nt.length; A += 1) {
4752
+ const Ie = on(f, nt, A);
4753
+ J[A] ? J[A].p(Ie, C) : (J[A] = dn(Ie), J[A].c(), J[A].m(ve, null));
4712
4754
  }
4713
- for (; A < $.length; A += 1)
4714
- $[A].d(1);
4715
- $.length = tt.length;
4755
+ for (; A < J.length; A += 1)
4756
+ J[A].d(1);
4757
+ J.length = nt.length;
4716
4758
  }
4717
4759
  if (C[0] & /*nationalitySelected, nationalities*/
4718
- 12582912 && nt(
4719
- _e,
4760
+ 12582912 && st(
4761
+ ve,
4720
4762
  /*nationalitySelected*/
4721
4763
  f[23]
4722
4764
  ), C[0] & /*disabledFieldsList*/
4723
- 16384 && $e !== ($e = "NationalityContainer " + /*disabledFieldsList*/
4724
- (((oe = f[14]) == null ? void 0 : oe.indexOf("nationality")) >= 0 ? "Hidden" : "")) && g(Se, "class", $e), C[1] & /*$_*/
4725
- 1 && Qe !== (Qe = /*$_*/
4726
- f[31]("registerMobile") + "") && G(At, Qe), C[0] & /*mobilePrefixes*/
4765
+ 16384 && Je !== (Je = "NationalityContainer " + /*disabledFieldsList*/
4766
+ (((ue = f[14]) == null ? void 0 : ue.indexOf("nationality")) >= 0 ? "Hidden" : "")) && p(Ae, "class", Je), C[1] & /*$_*/
4767
+ 1 && Ye !== (Ye = /*$_*/
4768
+ f[31]("registerMobile") + "") && D(wt, Ye), C[0] & /*mobilePrefixes*/
4727
4769
  33554432) {
4728
- rt = st(
4770
+ it = at(
4729
4771
  /*mobilePrefixes*/
4730
4772
  f[25]
4731
4773
  );
4732
4774
  let A;
4733
- for (A = 0; A < rt.length; A += 1) {
4734
- const Ie = on(f, rt, A);
4735
- Q[A] ? Q[A].p(Ie, C) : (Q[A] = pn(Ie), Q[A].c(), Q[A].m(Ee, null));
4775
+ for (A = 0; A < it.length; A += 1) {
4776
+ const Ie = sn(f, it, A);
4777
+ Y[A] ? Y[A].p(Ie, C) : (Y[A] = mn(Ie), Y[A].c(), Y[A].m(Ee, null));
4736
4778
  }
4737
- for (; A < Q.length; A += 1)
4738
- Q[A].d(1);
4739
- Q.length = rt.length;
4779
+ for (; A < Y.length; A += 1)
4780
+ Y[A].d(1);
4781
+ Y.length = it.length;
4740
4782
  }
4741
4783
  C[0] & /*mobilePrefixSelected, mobilePrefixes*/
4742
- 100663296 && nt(
4784
+ 100663296 && st(
4743
4785
  Ee,
4744
4786
  /*mobilePrefixSelected*/
4745
4787
  f[26]
4746
4788
  ), C[0] & /*mobile*/
4747
- 16777216 && q.value !== /*mobile*/
4748
- f[24] && le(
4749
- q,
4789
+ 16777216 && $.value !== /*mobile*/
4790
+ f[24] && ce(
4791
+ $,
4750
4792
  /*mobile*/
4751
4793
  f[24]
4752
4794
  ), /*invalidMobile*/
4753
- f[8] ? ne ? ne.p(f, C) : (ne = gn(f), ne.c(), ne.m(pe, null)) : ne && (ne.d(1), ne = null), C[0] & /*invalidMobile, mobileFocus, disabledFieldsList*/
4754
- 20736 && Ye !== (Ye = "MobileContainer " + /*invalidMobile*/
4795
+ 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*/
4796
+ 20736 && et !== (et = "MobileContainer " + /*invalidMobile*/
4755
4797
  (f[8] && !/*mobileFocus*/
4756
4798
  f[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4757
- (((Rr = f[14]) == null ? void 0 : Rr.indexOf("mobile")) >= 0 ? "Hidden" : "")) && g(pe, "class", Ye), /*userconsentsexist*/
4758
- f[0] === "true" ? ie ? ie.p(f, C) : (ie = bn(f), ie.c(), ie.m(H, wt)) : ie && (ie.d(1), ie = null), C[1] & /*$_*/
4759
- 1 && Ke !== (Ke = /*$_*/
4760
- f[31]("registerOpenAccount") + "") && G(Tt, Ke), C[0] & /*isValid*/
4761
- 268435456 && p !== (p = !/*isValid*/
4762
- f[28]) && (Be.disabled = p), /*showError*/
4763
- f[15] ? se ? se.p(f, C) : (se = xn(f), se.c(), se.m(s, null)) : se && (se.d(1), se = null);
4799
+ (((Rr = f[14]) == null ? void 0 : Rr.indexOf("mobile")) >= 0 ? "Hidden" : "")) && p(ge, "class", et), /*userconsentsexist*/
4800
+ 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] & /*$_*/
4801
+ 1 && tt !== (tt = /*$_*/
4802
+ f[31]("registerOpenAccount") + "") && D(g, tt), C[0] & /*isValid*/
4803
+ 268435456 && x !== (x = !/*isValid*/
4804
+ f[28]) && (Pe.disabled = x), /*showError*/
4805
+ f[15] ? le ? le.p(f, C) : (le = Cn(f), le.c(), le.m(s, null)) : le && (le.d(1), le = null);
4764
4806
  },
4765
- i: ve,
4766
- o: ve,
4807
+ i: Ce,
4808
+ o: Ce,
4767
4809
  d(f) {
4768
- f && (I(r), I(n), I(i), I(s)), K && K.d(f), I(t), ee && ee.d(), te && te.d(), re && re.d(), cr(Z, f), cr($, f), cr(Q, f), ne && ne.d(), ie && ie.d(), se && se.d(), e[68](null), L = !1, mt(Lr);
4810
+ 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);
4769
4811
  }
4770
4812
  };
4771
4813
  }
4772
- function yo(e, t, r) {
4814
+ function _o(e, t, r) {
4773
4815
  let n;
4774
- ii(e, fo, (p) => r(31, n = p));
4775
- 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, { clientstyling: E = "" } = t, { clientstylingurl: _ = "" } = t, { translationurl: v = "" } = t, O, H, V, N, X = !1, W = !1, fe = !1, we = !1, Ue, Fe, Y = !1, yt = "", de = "", Ce = "", j = "", be = [], ue = "", Pe = [], ye = "", ce = "", De = [], F = "", he = !1, Oe = !1, xe, b = { mobile: {}, userConsents: {} }, w = {
4816
+ ni(e, co, (g) => r(31, n = g));
4817
+ 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: v } = t, { clientstyling: _ = "" } = t, { clientstylingurl: E = "" } = t, { translationurl: O = "" } = t, S, z, N, V, X = !1, me = !1, we = !1, Oe = !1, vt, W, Et = !1, Ue = "", xe = "", j = "", te = "", Te = [], pe = "", Fe = [], he = "", ye = "", q = [], fe = "", Z = !1, Xe = !1, U, y = { mobile: {}, userConsents: {} }, B = {
4776
4818
  address1: !1,
4777
4819
  postalCode: !1,
4778
4820
  city: !1,
@@ -4781,82 +4823,82 @@ function yo(e, t, r) {
4781
4823
  mobile: !1,
4782
4824
  termsandconditions: s === "false"
4783
4825
  };
4784
- mo({ withLocale: "en", translations: {} });
4785
- const Ve = () => {
4786
- fetch(v).then((x) => x.json()).then((x) => {
4787
- Object.keys(x).forEach((L) => {
4788
- rn(L, x[L]);
4826
+ ho({ withLocale: "en", translations: {} });
4827
+ const Ct = () => {
4828
+ fetch(O).then((x) => x.json()).then((x) => {
4829
+ Object.keys(x).forEach((G) => {
4830
+ rn(G, x[G]);
4789
4831
  });
4790
4832
  }).catch((x) => {
4791
4833
  console.log(x);
4792
4834
  });
4793
4835
  };
4794
- Object.keys(nn).forEach((p) => {
4795
- rn(p, nn[p]);
4836
+ Object.keys(nn).forEach((g) => {
4837
+ rn(g, nn[g]);
4796
4838
  });
4797
- let _t = n("registerTermsConditions");
4798
- const It = () => {
4799
- fetch(`${c}/v1/player/countries`).then((p) => p.json()).then((p) => {
4839
+ let It = n("registerTermsConditions");
4840
+ const We = () => {
4841
+ fetch(`${c}/v1/player/countries`).then((g) => g.json()).then((g) => {
4800
4842
  fetch(`${c}/v1/player/operatorSupportedCountries`).then((x) => x.status >= 300 ? new Error("Error while fetching the supported countries") : x.json()).then((x) => {
4801
- r(20, be = p.countries.filter((L) => x.countries.indexOf(L.Alpha2Code) >= 0)), ue || (r(21, ue = be[0].Alpha2Code), r(30, w.country = !0, w)), r(22, Pe = p.countries), ye || (r(23, ye = Pe.filter((L) => x.countries.indexOf(L.Alpha2Code) >= 0)[0].Alpha2Code), r(30, w.nationality = !0, w));
4843
+ 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));
4802
4844
  });
4803
4845
  });
4804
- }, Xe = () => {
4805
- fetch(`${c}/v1/player/phonecodes`).then((p) => p.json()).then((p) => {
4806
- r(25, De = p.phoneCodes), F || r(26, F = De[0].Prefix);
4846
+ }, Lt = () => {
4847
+ fetch(`${c}/v1/player/phonecodes`).then((g) => g.json()).then((g) => {
4848
+ r(25, q = g.phoneCodes), fe || r(26, fe = q[0].Prefix);
4807
4849
  });
4808
- }, Lt = (p, x) => {
4809
- if (!(d.indexOf(p) >= 0))
4810
- switch (p) {
4850
+ }, de = (g, x) => {
4851
+ if (!(d.indexOf(g) >= 0))
4852
+ switch (g) {
4811
4853
  case "address1":
4812
- r(17, de = x), Ge();
4854
+ r(17, xe = x), xt();
4813
4855
  break;
4814
4856
  case "postalCode":
4815
- r(18, Ce = x), Ae();
4857
+ r(18, j = x), Be();
4816
4858
  break;
4817
4859
  case "city":
4818
- r(19, j = x), je();
4860
+ r(19, te = x), $e();
4819
4861
  break;
4820
4862
  case "country":
4821
- r(21, ue = x), r(30, w.country = !0, w);
4863
+ r(21, pe = x), r(30, B.country = !0, B);
4822
4864
  break;
4823
4865
  case "nationality":
4824
- r(23, ye = x), r(30, w.nationality = !0, w);
4866
+ r(23, he = x), r(30, B.nationality = !0, B);
4825
4867
  break;
4826
4868
  case "mobile":
4827
- r(26, F = x.prefix), r(24, ce = x.number), vt();
4869
+ r(26, fe = x.prefix), r(24, ye = x.number), De();
4828
4870
  break;
4829
4871
  case "userConsents":
4830
- Object.keys(x).length !== 0 && (x.termsandconditions && x.sms && r(27, he = !0), r(30, w.termsandconditions = x.termsandconditions, w), r(29, b.userConsents.termsandconditions = x.termsandconditions, b), r(29, b.userConsents.sms = x.sms, b), r(29, b.userConsents.emailmarketing = x.emailmarketing, b)), z();
4872
+ 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();
4831
4873
  break;
4832
4874
  }
4833
- }, z = () => {
4834
- r(28, Oe = Object.keys(w).every((p) => d.includes(p) ? !0 : w[p] !== !1));
4835
- }, Rt = () => !!(de && de.length <= 100), Ge = () => {
4836
- r(29, b.address1 = de, b), r(6, O = !Rt()), r(30, w.address1 = !O, w), z();
4837
- }, Ut = () => !!(Ce && Ce.length <= 20), Ae = () => {
4838
- r(29, b.postalCode = Ce, b), r(7, H = !Ut()), r(30, w.postalCode = !H, w), z();
4839
- }, Me = () => !!(j && j.length <= 50), je = () => {
4840
- r(29, b.city = j, b), r(9, N = !Me()), r(30, w.city = !N, w), z();
4841
- }, Et = () => !!(ce && ce.length >= 5 && ce.length <= 12), vt = () => {
4842
- r(29, b.mobile.number = ce, b), r(8, V = !Et()), r(30, w.mobile = !V, w), z();
4843
- }, Te = (p) => {
4844
- p === "GeneralOffers" ? (r(27, he = !he), r(29, b.userConsents.sms = he, b), r(29, b.userConsents.emailmarketing = he, b)) : p === "SmsOffers" ? (r(29, b.userConsents.sms = !b.userConsents.sms, b), b.userConsents.sms && r(27, he = !0)) : p === "EmailOffers" && (r(29, b.userConsents.emailmarketing = !b.userConsents.emailmarketing, b), b.userConsents.emailmarketing && r(27, he = !0)), Ft();
4845
- }, Ft = () => {
4846
- !b.userConsents.sms && !b.userConsents.emailmarketing && r(27, he = !1);
4847
- }, me = () => {
4848
- r(29, b.userConsents.termsandconditions = !b.userConsents.termsandconditions, b), r(30, w.termsandconditions = !w.termsandconditions, w), z();
4849
- }, We = () => new Promise((p, x) => {
4875
+ }, Se = () => {
4876
+ r(28, Xe = Object.keys(B).every((g) => d.includes(g) ? !0 : B[g] !== !1));
4877
+ }, qe = () => !!(xe && xe.length <= 100), xt = () => {
4878
+ r(29, y.address1 = xe, y), r(6, S = !qe()), r(30, B.address1 = !S, B), Se();
4879
+ }, He = () => !!(j && j.length <= 20), Be = () => {
4880
+ r(29, y.postalCode = j, y), r(7, z = !He()), r(30, B.postalCode = !z, B), Se();
4881
+ }, Ze = () => !!(te && te.length <= 50), $e = () => {
4882
+ r(29, y.city = te, y), r(9, V = !Ze()), r(30, B.city = !V, B), Se();
4883
+ }, Rt = () => !!(ye && ye.length >= 5 && ye.length <= 12), De = () => {
4884
+ r(29, y.mobile.number = ye, y), r(8, N = !Rt()), r(30, B.mobile = !N, B), Se();
4885
+ }, Ge = (g) => {
4886
+ 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();
4887
+ }, _e = () => {
4888
+ !y.userConsents.sms && !y.userConsents.emailmarketing && r(27, Z = !1);
4889
+ }, je = () => {
4890
+ r(29, y.userConsents.termsandconditions = !y.userConsents.termsandconditions, y), r(30, B.termsandconditions = !B.termsandconditions, B), Se();
4891
+ }, Ut = () => new Promise((g, x) => {
4850
4892
  grecaptcha.ready(() => {
4851
- grecaptcha.execute(a, { action: "submit" }).then((L) => {
4852
- p(L);
4893
+ grecaptcha.execute(a, { action: "submit" }).then((G) => {
4894
+ g(G);
4853
4895
  });
4854
4896
  });
4855
- }), Ct = (p) => {
4856
- p.preventDefault(), r(29, b.nationality = ye, b), r(29, b.country = ue, b), r(29, b.mobile.prefix = F, b);
4897
+ }), Ae = (g) => {
4898
+ g.preventDefault(), r(29, y.nationality = he, y), r(29, y.country = pe, y), r(29, y.mobile.prefix = fe, y);
4857
4899
  let x = {};
4858
- We().then((L) => {
4859
- x = ur(lr({}, b), { token: L }), window.postMessage(
4900
+ Ut().then((G) => {
4901
+ x = ur(lr({}, y), { token: G }), window.postMessage(
4860
4902
  {
4861
4903
  type: "RegisterStepThree",
4862
4904
  registerStepThreeData: x
@@ -4864,180 +4906,166 @@ function yo(e, t, r) {
4864
4906
  window.location.href
4865
4907
  );
4866
4908
  });
4867
- }, Se = () => {
4868
- r(29, b.nationality = ye, b), r(29, b.country = ue, b), r(29, b.mobile.prefix = F, b), window.postMessage(
4909
+ }, Me = () => {
4910
+ r(29, y.nationality = he, y), r(29, y.country = pe, y), r(29, y.mobile.prefix = fe, y), window.postMessage(
4869
4911
  {
4870
4912
  type: "GoBackStepThree",
4871
- registerStepThreeData: b
4913
+ registerStepThreeData: y
4872
4914
  },
4873
4915
  window.location.href
4874
4916
  );
4875
- }, He = (p) => {
4876
- if (p.data)
4877
- switch (p.data.type) {
4917
+ }, ze = (g) => {
4918
+ if (g.data)
4919
+ switch (g.data.type) {
4878
4920
  case "StepThreeDataBackup":
4879
- const x = p.data.userData;
4880
- for (const L in x)
4881
- Lt(L, x[L]);
4882
- r(28, Oe = Object.keys(w).every((L) => d.includes(L) ? !0 : w[L] !== !1));
4921
+ const x = g.data.userData;
4922
+ for (const G in x)
4923
+ de(G, x[G]);
4924
+ r(28, Xe = Object.keys(B).every((G) => d.includes(G) ? !0 : B[G] !== !1));
4883
4925
  break;
4884
4926
  case "ShowRegistrationError":
4885
- r(15, Y = p.data.showError), r(16, yt = p.data.error);
4927
+ r(15, Et = g.data.showError), r(16, Ue = g.data.error);
4886
4928
  }
4887
- }, qe = () => {
4888
- r(14, Ue = d.split(","));
4889
- }, xt = () => {
4890
- Fe = m.split(","), Fe.indexOf("consentsTerms") >= 0 && r(29, b.userConsents.termsandconditions = !0, b), Fe.indexOf("consentsOffers") >= 0 && (r(27, he = !0), r(29, b.userConsents.sms = !0, b), r(29, b.userConsents.emailmarketing = !0, b)), Fe.forEach((p) => {
4891
- p.includes("phonePrefix") && (r(26, F = p.split(":")[1].toString()), r(29, b.mobile.prefix = F, b));
4892
- });
4893
- }, Dt = () => {
4894
- po(h);
4895
- }, Ze = () => {
4896
- let p = document.createElement("style");
4897
- p.innerHTML = E, xe.appendChild(p);
4898
- }, Gt = () => {
4899
- let p = new URL(_), x = document.createElement("style");
4900
- fetch(p.href).then((L) => L.text()).then((L) => {
4901
- x.innerHTML = L, setTimeout(
4902
- () => {
4903
- xe.appendChild(x);
4904
- },
4905
- 1
4906
- ), setTimeout(
4907
- () => {
4908
- },
4909
- 500
4910
- );
4929
+ }, At = () => {
4930
+ r(14, vt = d.split(","));
4931
+ }, Ft = () => {
4932
+ 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) => {
4933
+ g.includes("phonePrefix") && (r(26, fe = g.split(":")[1].toString()), r(29, y.mobile.prefix = fe, y));
4911
4934
  });
4935
+ }, Qe = () => {
4936
+ fo(h);
4912
4937
  };
4913
- fi(() => (window.addEventListener("message", He, !1), () => {
4914
- window.removeEventListener("message", He);
4938
+ ci(() => (window.addEventListener("message", ze, !1), () => {
4939
+ window.removeEventListener("message", ze);
4915
4940
  }));
4916
- function _e() {
4917
- de = this.value, r(17, de);
4941
+ function Dt() {
4942
+ xe = this.value, r(17, xe);
4918
4943
  }
4919
- const $e = () => r(10, X = !0), jt = () => r(10, X = !1);
4920
- function pe() {
4921
- Ce = this.value, r(18, Ce);
4944
+ const ve = () => r(10, X = !0), Je = () => r(10, X = !1);
4945
+ function Gt() {
4946
+ j = this.value, r(18, j);
4922
4947
  }
4923
- const Ne = () => r(11, W = !0), Qe = () => r(11, W = !1);
4924
- function At() {
4925
- j = this.value, r(19, j);
4948
+ const ge = () => r(11, me = !0), Ne = () => r(11, me = !1);
4949
+ function Ye() {
4950
+ te = this.value, r(19, te);
4926
4951
  }
4927
- const zt = () => r(13, we = !0), Je = () => r(13, we = !1);
4928
- function Vt() {
4929
- ue = hr(this), r(21, ue), r(20, be);
4952
+ const wt = () => r(13, Oe = !0), jt = () => r(13, Oe = !1);
4953
+ function Ke() {
4954
+ pe = hr(this), r(21, pe), r(20, Te);
4955
+ }
4956
+ function zt() {
4957
+ he = hr(this), r(23, he), r(22, Fe);
4930
4958
  }
4931
4959
  function ke() {
4932
- ye = hr(this), r(23, ye), r(22, Pe);
4960
+ fe = hr(this), r(26, fe), r(25, q);
4933
4961
  }
4934
4962
  function Ee() {
4935
- F = hr(this), r(26, F), r(25, De);
4936
- }
4937
- function Xt() {
4938
- ce = this.value, r(24, ce);
4963
+ ye = this.value, r(24, ye);
4939
4964
  }
4940
- const q = () => r(12, fe = !0), Wt = () => r(12, fe = !1), Ye = () => Te("GeneralOffers"), qt = () => Te("SmsOffers"), wt = () => Te("EmailOffers"), Be = () => me(), Ke = (p) => Ct(p);
4941
- function Tt(p) {
4942
- _r[p ? "unshift" : "push"](() => {
4943
- xe = p, r(5, xe);
4965
+ 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);
4966
+ function tt(g) {
4967
+ _r[g ? "unshift" : "push"](() => {
4968
+ U = g, r(5, U);
4944
4969
  });
4945
4970
  }
4946
- return e.$$set = (p) => {
4947
- "userconsentsexist" in p && r(0, i = p.userconsentsexist), "termsconditions" in p && r(1, s = p.termsconditions), "smsoffers" in p && r(2, o = p.smsoffers), "emailmarketing" in p && r(3, l = p.emailmarketing), "endpoint" in p && r(41, c = p.endpoint), "captchakey" in p && r(4, a = p.captchakey), "lang" in p && r(42, h = p.lang), "disabledfields" in p && r(43, d = p.disabledfields), "defaultoptions" in p && r(44, m = p.defaultoptions), "clientstyling" in p && r(45, E = p.clientstyling), "clientstylingurl" in p && r(46, _ = p.clientstylingurl), "translationurl" in p && r(47, v = p.translationurl);
4971
+ return e.$$set = (g) => {
4972
+ "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, v = g.mbsource), "clientstyling" in g && r(46, _ = g.clientstyling), "clientstylingurl" in g && r(47, E = g.clientstylingurl), "translationurl" in g && r(48, O = g.translationurl);
4948
4973
  }, e.$$.update = () => {
4949
4974
  e.$$.dirty[1] & /*endpoint*/
4950
- 1024 && c && It(), e.$$.dirty[1] & /*endpoint*/
4951
- 1024 && c && Xe(), e.$$.dirty[1] & /*lang*/
4952
- 2048 && h && Dt(), e.$$.dirty[1] & /*disabledfields*/
4953
- 4096 && d && qe(), e.$$.dirty[1] & /*defaultoptions*/
4954
- 8192 && m && xt(), e.$$.dirty[0] & /*customStylingContainer*/
4975
+ 1024 && c && We(), e.$$.dirty[1] & /*endpoint*/
4976
+ 1024 && c && Lt(), e.$$.dirty[1] & /*lang*/
4977
+ 2048 && h && Qe(), e.$$.dirty[1] & /*disabledfields*/
4978
+ 4096 && d && At(), e.$$.dirty[1] & /*defaultoptions*/
4979
+ 8192 && m && Ft(), e.$$.dirty[0] & /*customStylingContainer*/
4955
4980
  32 | e.$$.dirty[1] & /*clientstyling*/
4956
- 16384 && E && xe && Ze(), e.$$.dirty[0] & /*customStylingContainer*/
4981
+ 32768 && _ && U && mo(U, _), e.$$.dirty[0] & /*customStylingContainer*/
4957
4982
  32 | e.$$.dirty[1] & /*clientstylingurl*/
4958
- 32768 && _ && xe && Gt(), e.$$.dirty[1] & /*translationurl*/
4959
- 65536 && v && Ve(), e.$$.dirty[0] & /*userconsentsexist, termsconditions*/
4960
- 3 && i && r(30, w.termsandconditions = s === "false", w);
4983
+ 65536 && E && U && po(U, E), e.$$.dirty[0] & /*customStylingContainer*/
4984
+ 32 | e.$$.dirty[1] & /*mbsource*/
4985
+ 16384 && v && U && go(U, `${v}.Style`), e.$$.dirty[1] & /*translationurl*/
4986
+ 131072 && O && Ct(), e.$$.dirty[0] & /*userconsentsexist, termsconditions*/
4987
+ 3 && i && r(30, B.termsandconditions = s === "false", B);
4961
4988
  }, [
4962
4989
  i,
4963
4990
  s,
4964
4991
  o,
4965
4992
  l,
4966
4993
  a,
4967
- xe,
4968
- O,
4969
- H,
4970
- V,
4994
+ U,
4995
+ S,
4996
+ z,
4971
4997
  N,
4998
+ V,
4972
4999
  X,
4973
- W,
4974
- fe,
5000
+ me,
4975
5001
  we,
5002
+ Oe,
5003
+ vt,
5004
+ Et,
4976
5005
  Ue,
4977
- Y,
4978
- yt,
4979
- de,
4980
- Ce,
5006
+ xe,
4981
5007
  j,
4982
- be,
4983
- ue,
4984
- Pe,
4985
- ye,
4986
- ce,
4987
- De,
4988
- F,
5008
+ te,
5009
+ Te,
5010
+ pe,
5011
+ Fe,
4989
5012
  he,
4990
- Oe,
4991
- b,
4992
- w,
5013
+ ye,
5014
+ q,
5015
+ fe,
5016
+ Z,
5017
+ Xe,
5018
+ y,
5019
+ B,
4993
5020
  n,
4994
- _t,
5021
+ It,
5022
+ xt,
5023
+ Be,
5024
+ $e,
5025
+ De,
4995
5026
  Ge,
4996
- Ae,
4997
5027
  je,
4998
- vt,
4999
- Te,
5000
- me,
5001
- Ct,
5002
- Se,
5028
+ Ae,
5029
+ Me,
5003
5030
  c,
5004
5031
  h,
5005
5032
  d,
5006
5033
  m,
5007
- E,
5008
- _,
5009
5034
  v,
5010
- _e,
5011
- $e,
5012
- jt,
5013
- pe,
5035
+ _,
5036
+ E,
5037
+ O,
5038
+ Dt,
5039
+ ve,
5040
+ Je,
5041
+ Gt,
5042
+ ge,
5014
5043
  Ne,
5015
- Qe,
5016
- At,
5044
+ Ye,
5045
+ wt,
5046
+ jt,
5047
+ Ke,
5017
5048
  zt,
5018
- Je,
5019
- Vt,
5020
5049
  ke,
5021
5050
  Ee,
5051
+ Vt,
5052
+ $,
5022
5053
  Xt,
5023
- q,
5054
+ et,
5024
5055
  Wt,
5025
- Ye,
5026
- qt,
5027
- wt,
5028
- Be,
5029
- Ke,
5030
- Tt
5056
+ Tt,
5057
+ Pe,
5058
+ tt
5031
5059
  ];
5032
5060
  }
5033
- class _o extends Ai {
5061
+ class vo extends Ci {
5034
5062
  constructor(t) {
5035
- super(), Ci(
5063
+ super(), vi(
5036
5064
  this,
5037
5065
  t,
5066
+ _o,
5038
5067
  yo,
5039
- bo,
5040
- wn,
5068
+ An,
5041
5069
  {
5042
5070
  userconsentsexist: 0,
5043
5071
  termsconditions: 1,
@@ -5048,11 +5076,12 @@ class _o extends Ai {
5048
5076
  lang: 42,
5049
5077
  disabledfields: 43,
5050
5078
  defaultoptions: 44,
5051
- clientstyling: 45,
5052
- clientstylingurl: 46,
5053
- translationurl: 47
5079
+ mbsource: 45,
5080
+ clientstyling: 46,
5081
+ clientstylingurl: 47,
5082
+ translationurl: 48
5054
5083
  },
5055
- go,
5084
+ bo,
5056
5085
  [-1, -1, -1, -1]
5057
5086
  );
5058
5087
  }
@@ -5060,76 +5089,82 @@ class _o extends Ai {
5060
5089
  return this.$$.ctx[0];
5061
5090
  }
5062
5091
  set userconsentsexist(t) {
5063
- this.$$set({ userconsentsexist: t }), ae();
5092
+ this.$$set({ userconsentsexist: t }), K();
5064
5093
  }
5065
5094
  get termsconditions() {
5066
5095
  return this.$$.ctx[1];
5067
5096
  }
5068
5097
  set termsconditions(t) {
5069
- this.$$set({ termsconditions: t }), ae();
5098
+ this.$$set({ termsconditions: t }), K();
5070
5099
  }
5071
5100
  get smsoffers() {
5072
5101
  return this.$$.ctx[2];
5073
5102
  }
5074
5103
  set smsoffers(t) {
5075
- this.$$set({ smsoffers: t }), ae();
5104
+ this.$$set({ smsoffers: t }), K();
5076
5105
  }
5077
5106
  get emailmarketing() {
5078
5107
  return this.$$.ctx[3];
5079
5108
  }
5080
5109
  set emailmarketing(t) {
5081
- this.$$set({ emailmarketing: t }), ae();
5110
+ this.$$set({ emailmarketing: t }), K();
5082
5111
  }
5083
5112
  get endpoint() {
5084
5113
  return this.$$.ctx[41];
5085
5114
  }
5086
5115
  set endpoint(t) {
5087
- this.$$set({ endpoint: t }), ae();
5116
+ this.$$set({ endpoint: t }), K();
5088
5117
  }
5089
5118
  get captchakey() {
5090
5119
  return this.$$.ctx[4];
5091
5120
  }
5092
5121
  set captchakey(t) {
5093
- this.$$set({ captchakey: t }), ae();
5122
+ this.$$set({ captchakey: t }), K();
5094
5123
  }
5095
5124
  get lang() {
5096
5125
  return this.$$.ctx[42];
5097
5126
  }
5098
5127
  set lang(t) {
5099
- this.$$set({ lang: t }), ae();
5128
+ this.$$set({ lang: t }), K();
5100
5129
  }
5101
5130
  get disabledfields() {
5102
5131
  return this.$$.ctx[43];
5103
5132
  }
5104
5133
  set disabledfields(t) {
5105
- this.$$set({ disabledfields: t }), ae();
5134
+ this.$$set({ disabledfields: t }), K();
5106
5135
  }
5107
5136
  get defaultoptions() {
5108
5137
  return this.$$.ctx[44];
5109
5138
  }
5110
5139
  set defaultoptions(t) {
5111
- this.$$set({ defaultoptions: t }), ae();
5140
+ this.$$set({ defaultoptions: t }), K();
5112
5141
  }
5113
- get clientstyling() {
5142
+ get mbsource() {
5114
5143
  return this.$$.ctx[45];
5115
5144
  }
5145
+ set mbsource(t) {
5146
+ this.$$set({ mbsource: t }), K();
5147
+ }
5148
+ get clientstyling() {
5149
+ return this.$$.ctx[46];
5150
+ }
5116
5151
  set clientstyling(t) {
5117
- this.$$set({ clientstyling: t }), ae();
5152
+ this.$$set({ clientstyling: t }), K();
5118
5153
  }
5119
5154
  get clientstylingurl() {
5120
- return this.$$.ctx[46];
5155
+ return this.$$.ctx[47];
5121
5156
  }
5122
5157
  set clientstylingurl(t) {
5123
- this.$$set({ clientstylingurl: t }), ae();
5158
+ this.$$set({ clientstylingurl: t }), K();
5124
5159
  }
5125
5160
  get translationurl() {
5126
- return this.$$.ctx[47];
5161
+ return this.$$.ctx[48];
5127
5162
  }
5128
5163
  set translationurl(t) {
5129
- this.$$set({ translationurl: t }), ae();
5164
+ this.$$set({ translationurl: t }), K();
5130
5165
  }
5131
5166
  }
5132
- xi(_o, { userconsentsexist: {}, termsconditions: {}, smsoffers: {}, emailmarketing: {}, endpoint: {}, captchakey: {}, lang: {}, disabledfields: {}, defaultoptions: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5167
+ Ei(vo, { userconsentsexist: {}, termsconditions: {}, smsoffers: {}, emailmarketing: {}, endpoint: {}, captchakey: {}, lang: {}, disabledfields: {}, defaultoptions: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5133
5168
  export {
5134
- _o as default
5169
+ vo as default
5135
5170
  };