@everymatrix/general-player-register-form-step1 1.53.0 → 1.53.11

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,53 +1,24 @@
1
- var ji = Object.defineProperty, Vi = Object.defineProperties;
2
- var $i = Object.getOwnPropertyDescriptors;
3
- var Dt = Object.getOwnPropertySymbols;
4
- var Qi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable;
5
- var ht = (e, r, t) => r in e ? ji(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Gt = (e, r) => {
6
- for (var t in r || (r = {}))
7
- Qi.call(r, t) && ht(e, t, r[t]);
8
- if (Dt)
9
- for (var t of Dt(r))
10
- zi.call(r, t) && ht(e, t, r[t]);
11
- return e;
12
- }, jt = (e, r) => Vi(e, $i(r));
13
- var be = (e, r, t) => ht(e, typeof r != "symbol" ? r + "" : r, t);
14
- var Vt = (e, r, t) => new Promise((i, n) => {
15
- var s = (h) => {
16
- try {
17
- l(t.next(h));
18
- } catch (c) {
19
- n(c);
20
- }
21
- }, a = (h) => {
22
- try {
23
- l(t.throw(h));
24
- } catch (c) {
25
- n(c);
26
- }
27
- }, l = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(s, a);
28
- l((t = t.apply(e, r)).next());
29
- });
30
1
  function X() {
31
2
  }
32
- function mi(e) {
3
+ function Kt(e) {
33
4
  return e();
34
5
  }
35
- function $t() {
6
+ function Ht() {
36
7
  return /* @__PURE__ */ Object.create(null);
37
8
  }
38
- function cr(e) {
39
- e.forEach(mi);
9
+ function ur(e) {
10
+ e.forEach(Kt);
40
11
  }
41
- function It(e) {
12
+ function wt(e) {
42
13
  return typeof e == "function";
43
14
  }
44
- function gi(e, r) {
15
+ function ei(e, r) {
45
16
  return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
46
17
  }
47
- function Xi(e) {
18
+ function Ai(e) {
48
19
  return Object.keys(e).length === 0;
49
20
  }
50
- function pi(e, ...r) {
21
+ function ri(e, ...r) {
51
22
  if (e == null) {
52
23
  for (const i of r)
53
24
  i(void 0);
@@ -56,20 +27,20 @@ function pi(e, ...r) {
56
27
  const t = e.subscribe(...r);
57
28
  return t.unsubscribe ? () => t.unsubscribe() : t;
58
29
  }
59
- function Zi(e, r, t) {
60
- e.$$.on_destroy.push(pi(r, t));
30
+ function Ti(e, r, t) {
31
+ e.$$.on_destroy.push(ri(r, t));
61
32
  }
62
- function u(e, r) {
33
+ function l(e, r) {
63
34
  e.appendChild(r);
64
35
  }
65
- function Wi(e, r, t) {
66
- const i = qi(e);
36
+ function Hi(e, r, t) {
37
+ const i = Ii(e);
67
38
  if (!i.getElementById(r)) {
68
- const n = v("style");
69
- n.id = r, n.textContent = t, Ji(i, n);
39
+ const n = E("style");
40
+ n.id = r, n.textContent = t, Bi(i, n);
70
41
  }
71
42
  }
72
- function qi(e) {
43
+ function Ii(e) {
73
44
  if (!e) return document;
74
45
  const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
46
  return r && /** @type {ShadowRoot} */
@@ -78,8 +49,8 @@ function qi(e) {
78
49
  r
79
50
  ) : e.ownerDocument;
80
51
  }
81
- function Ji(e, r) {
82
- return u(
52
+ function Bi(e, r) {
53
+ return l(
83
54
  /** @type {Document} */
84
55
  e.head || e,
85
56
  r
@@ -91,7 +62,7 @@ function fe(e, r, t) {
91
62
  function se(e) {
92
63
  e.parentNode && e.parentNode.removeChild(e);
93
64
  }
94
- function v(e) {
65
+ function E(e) {
95
66
  return document.createElement(e);
96
67
  }
97
68
  function S(e) {
@@ -106,10 +77,10 @@ function H() {
106
77
  function x(e, r, t, i) {
107
78
  return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
108
79
  }
109
- function o(e, r, t) {
80
+ function a(e, r, t) {
110
81
  t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
111
82
  }
112
- function Yi(e) {
83
+ function Ni(e) {
113
84
  return Array.from(e.childNodes);
114
85
  }
115
86
  function F(e, r) {
@@ -117,9 +88,9 @@ function F(e, r) {
117
88
  r);
118
89
  }
119
90
  function ne(e, r) {
120
- e.value = r == null ? "" : r;
91
+ e.value = r ?? "";
121
92
  }
122
- function Ki(e) {
93
+ function Oi(e) {
123
94
  const r = {};
124
95
  return e.childNodes.forEach(
125
96
  /** @param {Element} node */
@@ -128,85 +99,85 @@ function Ki(e) {
128
99
  }
129
100
  ), r;
130
101
  }
131
- let Nr;
132
- function Ir(e) {
133
- Nr = e;
102
+ let Cr;
103
+ function Sr(e) {
104
+ Cr = e;
134
105
  }
135
- function en() {
136
- if (!Nr) throw new Error("Function called outside component initialization");
137
- return Nr;
106
+ function Li() {
107
+ if (!Cr) throw new Error("Function called outside component initialization");
108
+ return Cr;
138
109
  }
139
- function rn(e) {
140
- en().$$.on_mount.push(e);
110
+ function Mi(e) {
111
+ Li().$$.on_mount.push(e);
141
112
  }
142
- const nr = [], Br = [];
143
- let sr = [];
144
- const Qt = [], tn = /* @__PURE__ */ Promise.resolve();
145
- let Et = !1;
146
- function nn() {
147
- Et || (Et = !0, tn.then(xe));
113
+ const ir = [], Pr = [];
114
+ let nr = [];
115
+ const It = [], Ri = /* @__PURE__ */ Promise.resolve();
116
+ let ht = !1;
117
+ function Ui() {
118
+ ht || (ht = !0, Ri.then(Ce));
148
119
  }
149
- function vt(e) {
150
- sr.push(e);
120
+ function ft(e) {
121
+ nr.push(e);
151
122
  }
152
- const ft = /* @__PURE__ */ new Set();
153
- let tr = 0;
154
- function xe() {
155
- if (tr !== 0)
123
+ const nt = /* @__PURE__ */ new Set();
124
+ let rr = 0;
125
+ function Ce() {
126
+ if (rr !== 0)
156
127
  return;
157
- const e = Nr;
128
+ const e = Cr;
158
129
  do {
159
130
  try {
160
- for (; tr < nr.length; ) {
161
- const r = nr[tr];
162
- tr++, Ir(r), sn(r.$$);
131
+ for (; rr < ir.length; ) {
132
+ const r = ir[rr];
133
+ rr++, Sr(r), ki(r.$$);
163
134
  }
164
135
  } catch (r) {
165
- throw nr.length = 0, tr = 0, r;
136
+ throw ir.length = 0, rr = 0, r;
166
137
  }
167
- for (Ir(null), nr.length = 0, tr = 0; Br.length; ) Br.pop()();
168
- for (let r = 0; r < sr.length; r += 1) {
169
- const t = sr[r];
170
- ft.has(t) || (ft.add(t), t());
138
+ for (Sr(null), ir.length = 0, rr = 0; Pr.length; ) Pr.pop()();
139
+ for (let r = 0; r < nr.length; r += 1) {
140
+ const t = nr[r];
141
+ nt.has(t) || (nt.add(t), t());
171
142
  }
172
- sr.length = 0;
173
- } while (nr.length);
174
- for (; Qt.length; )
175
- Qt.pop()();
176
- Et = !1, ft.clear(), Ir(e);
143
+ nr.length = 0;
144
+ } while (ir.length);
145
+ for (; It.length; )
146
+ It.pop()();
147
+ ht = !1, nt.clear(), Sr(e);
177
148
  }
178
- function sn(e) {
149
+ function ki(e) {
179
150
  if (e.fragment !== null) {
180
- e.update(), cr(e.before_update);
151
+ e.update(), ur(e.before_update);
181
152
  const r = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(vt);
153
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
183
154
  }
184
155
  }
185
- function on(e) {
156
+ function Fi(e) {
186
157
  const r = [], t = [];
187
- sr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), sr = r;
158
+ nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
188
159
  }
189
- const an = /* @__PURE__ */ new Set();
190
- function ln(e, r) {
191
- e && e.i && (an.delete(e), e.i(r));
160
+ const Di = /* @__PURE__ */ new Set();
161
+ function Gi(e, r) {
162
+ e && e.i && (Di.delete(e), e.i(r));
192
163
  }
193
- function un(e, r, t) {
164
+ function ji(e, r, t) {
194
165
  const { fragment: i, after_update: n } = e.$$;
195
- i && i.m(r, t), vt(() => {
196
- const s = e.$$.on_mount.map(mi).filter(It);
197
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : cr(s), e.$$.on_mount = [];
198
- }), n.forEach(vt);
166
+ i && i.m(r, t), ft(() => {
167
+ const s = e.$$.on_mount.map(Kt).filter(wt);
168
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
169
+ }), n.forEach(ft);
199
170
  }
200
- function cn(e, r) {
171
+ function Vi(e, r) {
201
172
  const t = e.$$;
202
- t.fragment !== null && (on(t.after_update), cr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
173
+ t.fragment !== null && (Fi(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
203
174
  }
204
- function hn(e, r) {
205
- e.$$.dirty[0] === -1 && (nr.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
175
+ function $i(e, r) {
176
+ e.$$.dirty[0] === -1 && (ir.push(e), Ui(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
206
177
  }
207
- function fn(e, r, t, i, n, s, a = null, l = [-1]) {
208
- const h = Nr;
209
- Ir(e);
178
+ function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
179
+ const f = Cr;
180
+ Sr(e);
210
181
  const c = e.$$ = {
211
182
  fragment: null,
212
183
  ctx: [],
@@ -214,159 +185,155 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
214
185
  props: s,
215
186
  update: X,
216
187
  not_equal: n,
217
- bound: $t(),
188
+ bound: Ht(),
218
189
  // lifecycle
219
190
  on_mount: [],
220
191
  on_destroy: [],
221
192
  on_disconnect: [],
222
193
  before_update: [],
223
194
  after_update: [],
224
- context: new Map(r.context || (h ? h.$$.context : [])),
195
+ context: new Map(r.context || (f ? f.$$.context : [])),
225
196
  // everything else
226
- callbacks: $t(),
227
- dirty: l,
197
+ callbacks: Ht(),
198
+ dirty: o,
228
199
  skip_bound: !1,
229
- root: r.target || h.$$.root
200
+ root: r.target || f.$$.root
230
201
  };
231
- a && a(c.root);
232
- let f = !1;
233
- if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
234
- const _ = b.length ? b[0] : g;
235
- return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), f && hn(e, m)), g;
236
- }) : [], c.update(), f = !0, cr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
202
+ u && u(c.root);
203
+ let h = !1;
204
+ if (c.ctx = t(e, r.props || {}, (m, g, ...b) => {
205
+ const v = b.length ? b[0] : g;
206
+ return c.ctx && n(c.ctx[m], c.ctx[m] = v) && (!c.skip_bound && c.bound[m] && c.bound[m](v), h && $i(e, m)), g;
207
+ }), c.update(), h = !0, ur(c.before_update), c.fragment = i(c.ctx), r.target) {
237
208
  if (r.hydrate) {
238
- const m = Yi(r.target);
209
+ const m = Ni(r.target);
239
210
  c.fragment && c.fragment.l(m), m.forEach(se);
240
211
  } else
241
212
  c.fragment && c.fragment.c();
242
- r.intro && ln(e.$$.fragment), un(e, r.target, r.anchor), xe();
213
+ r.intro && Gi(e.$$.fragment), ji(e, r.target, r.anchor), Ce();
243
214
  }
244
- Ir(h);
245
- }
246
- let bi;
247
- typeof HTMLElement == "function" && (bi = class extends HTMLElement {
248
- constructor(r, t, i) {
249
- super();
250
- /** The Svelte component constructor */
251
- be(this, "$$ctor");
252
- /** Slots */
253
- be(this, "$$s");
254
- /** The Svelte component instance */
255
- be(this, "$$c");
256
- /** Whether or not the custom element is connected */
257
- be(this, "$$cn", !1);
258
- /** Component props data */
259
- be(this, "$$d", {});
260
- /** `true` if currently in the process of reflecting component props back to attributes */
261
- be(this, "$$r", !1);
262
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
263
- be(this, "$$p_d", {});
264
- /** @type {Record<string, Function[]>} Event listeners */
265
- be(this, "$$l", {});
266
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
267
- be(this, "$$l_u", /* @__PURE__ */ new Map());
268
- this.$$ctor = r, this.$$s = t, i && this.attachShadow({ mode: "open" });
215
+ Sr(f);
216
+ }
217
+ let ti;
218
+ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
219
+ /** The Svelte component constructor */
220
+ $$ctor;
221
+ /** Slots */
222
+ $$s;
223
+ /** The Svelte component instance */
224
+ $$c;
225
+ /** Whether or not the custom element is connected */
226
+ $$cn = !1;
227
+ /** Component props data */
228
+ $$d = {};
229
+ /** `true` if currently in the process of reflecting component props back to attributes */
230
+ $$r = !1;
231
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
232
+ $$p_d = {};
233
+ /** @type {Record<string, Function[]>} Event listeners */
234
+ $$l = {};
235
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
236
+ $$l_u = /* @__PURE__ */ new Map();
237
+ constructor(e, r, t) {
238
+ super(), this.$$ctor = e, this.$$s = r, t && this.attachShadow({ mode: "open" });
269
239
  }
270
- addEventListener(r, t, i) {
271
- if (this.$$l[r] = this.$$l[r] || [], this.$$l[r].push(t), this.$$c) {
272
- const n = this.$$c.$on(r, t);
273
- this.$$l_u.set(t, n);
240
+ addEventListener(e, r, t) {
241
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(r), this.$$c) {
242
+ const i = this.$$c.$on(e, r);
243
+ this.$$l_u.set(r, i);
274
244
  }
275
- super.addEventListener(r, t, i);
245
+ super.addEventListener(e, r, t);
276
246
  }
277
- removeEventListener(r, t, i) {
278
- if (super.removeEventListener(r, t, i), this.$$c) {
279
- const n = this.$$l_u.get(t);
280
- n && (n(), this.$$l_u.delete(t));
247
+ removeEventListener(e, r, t) {
248
+ if (super.removeEventListener(e, r, t), this.$$c) {
249
+ const i = this.$$l_u.get(r);
250
+ i && (i(), this.$$l_u.delete(r));
281
251
  }
282
252
  }
283
- connectedCallback() {
284
- return Vt(this, null, function* () {
285
- if (this.$$cn = !0, !this.$$c) {
286
- let r = function(s) {
287
- return () => {
288
- let a;
289
- return {
290
- c: function() {
291
- a = v("slot"), s !== "default" && o(a, "name", s);
292
- },
293
- /**
294
- * @param {HTMLElement} target
295
- * @param {HTMLElement} [anchor]
296
- */
297
- m: function(c, f) {
298
- fe(c, a, f);
299
- },
300
- d: function(c) {
301
- c && se(a);
302
- }
303
- };
253
+ async connectedCallback() {
254
+ if (this.$$cn = !0, !this.$$c) {
255
+ let e = function(n) {
256
+ return () => {
257
+ let s;
258
+ return {
259
+ c: function() {
260
+ s = E("slot"), n !== "default" && a(s, "name", n);
261
+ },
262
+ /**
263
+ * @param {HTMLElement} target
264
+ * @param {HTMLElement} [anchor]
265
+ */
266
+ m: function(f, c) {
267
+ fe(f, s, c);
268
+ },
269
+ d: function(f) {
270
+ f && se(s);
271
+ }
304
272
  };
305
273
  };
306
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
- return;
308
- const t = {}, i = Ki(this);
309
- for (const s of this.$$s)
310
- s in i && (t[s] = [r(s)]);
311
- for (const s of this.attributes) {
312
- const a = this.$$g_p(s.name);
313
- a in this.$$d || (this.$$d[a] = et(a, s.value, this.$$p_d, "toProp"));
274
+ };
275
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
276
+ return;
277
+ const r = {}, t = Oi(this);
278
+ for (const n of this.$$s)
279
+ n in t && (r[n] = [e(n)]);
280
+ for (const n of this.attributes) {
281
+ const s = this.$$g_p(n.name);
282
+ s in this.$$d || (this.$$d[s] = Xr(s, n.value, this.$$p_d, "toProp"));
283
+ }
284
+ for (const n in this.$$p_d)
285
+ !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
286
+ this.$$c = new this.$$ctor({
287
+ target: this.shadowRoot || this,
288
+ props: {
289
+ ...this.$$d,
290
+ $$slots: r,
291
+ $$scope: {
292
+ ctx: []
293
+ }
314
294
  }
315
- for (const s in this.$$p_d)
316
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
317
- this.$$c = new this.$$ctor({
318
- target: this.shadowRoot || this,
319
- props: jt(Gt({}, this.$$d), {
320
- $$slots: t,
321
- $$scope: {
322
- ctx: []
323
- }
324
- })
325
- });
326
- const n = () => {
327
- this.$$r = !0;
328
- for (const s in this.$$p_d)
329
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
330
- const a = et(
331
- s,
332
- this.$$d[s],
333
- this.$$p_d,
334
- "toAttribute"
335
- );
336
- a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
337
- }
338
- this.$$r = !1;
339
- };
340
- this.$$c.$$.after_update.push(n), n();
341
- for (const s in this.$$l)
342
- for (const a of this.$$l[s]) {
343
- const l = this.$$c.$on(s, a);
344
- this.$$l_u.set(a, l);
295
+ });
296
+ const i = () => {
297
+ this.$$r = !0;
298
+ for (const n in this.$$p_d)
299
+ if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
300
+ const s = Xr(
301
+ n,
302
+ this.$$d[n],
303
+ this.$$p_d,
304
+ "toAttribute"
305
+ );
306
+ s == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, s);
345
307
  }
346
- this.$$l = {};
347
- }
348
- });
308
+ this.$$r = !1;
309
+ };
310
+ this.$$c.$$.after_update.push(i), i();
311
+ for (const n in this.$$l)
312
+ for (const s of this.$$l[n]) {
313
+ const u = this.$$c.$on(n, s);
314
+ this.$$l_u.set(s, u);
315
+ }
316
+ this.$$l = {};
317
+ }
349
318
  }
350
319
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
351
320
  // and setting attributes through setAttribute etc, this is helpful
352
- attributeChangedCallback(r, t, i) {
353
- var n;
354
- this.$$r || (r = this.$$g_p(r), this.$$d[r] = et(r, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [r]: this.$$d[r] }));
321
+ attributeChangedCallback(e, r, t) {
322
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Xr(e, t, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
355
323
  }
356
324
  disconnectedCallback() {
357
325
  this.$$cn = !1, Promise.resolve().then(() => {
358
326
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
359
327
  });
360
328
  }
361
- $$g_p(r) {
329
+ $$g_p(e) {
362
330
  return Object.keys(this.$$p_d).find(
363
- (t) => this.$$p_d[t].attribute === r || !this.$$p_d[t].attribute && t.toLowerCase() === r
364
- ) || r;
331
+ (r) => this.$$p_d[r].attribute === e || !this.$$p_d[r].attribute && r.toLowerCase() === e
332
+ ) || e;
365
333
  }
366
334
  });
367
- function et(e, r, t, i) {
368
- var s;
369
- const n = (s = t[e]) == null ? void 0 : s.type;
335
+ function Xr(e, r, t, i) {
336
+ const n = t[e]?.type;
370
337
  if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
371
338
  return r;
372
339
  if (i === "toAttribute")
@@ -377,7 +344,7 @@ function et(e, r, t, i) {
377
344
  case "Boolean":
378
345
  return r ? "" : null;
379
346
  case "Number":
380
- return r == null ? null : r;
347
+ return r ?? null;
381
348
  default:
382
349
  return r;
383
350
  }
@@ -394,59 +361,55 @@ function et(e, r, t, i) {
394
361
  return r;
395
362
  }
396
363
  }
397
- function dn(e, r, t, i, n, s) {
398
- let a = class extends bi {
364
+ function zi(e, r, t, i, n, s) {
365
+ let u = class extends ti {
399
366
  constructor() {
400
367
  super(e, t, n), this.$$p_d = r;
401
368
  }
402
369
  static get observedAttributes() {
403
370
  return Object.keys(r).map(
404
- (l) => (r[l].attribute || l).toLowerCase()
371
+ (o) => (r[o].attribute || o).toLowerCase()
405
372
  );
406
373
  }
407
374
  };
408
- return Object.keys(r).forEach((l) => {
409
- Object.defineProperty(a.prototype, l, {
375
+ return Object.keys(r).forEach((o) => {
376
+ Object.defineProperty(u.prototype, o, {
410
377
  get() {
411
- return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
378
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
412
379
  },
413
- set(h) {
414
- var c;
415
- h = et(l, h, r), this.$$d[l] = h, (c = this.$$c) == null || c.$set({ [l]: h });
380
+ set(f) {
381
+ f = Xr(o, f, r), this.$$d[o] = f, this.$$c?.$set({ [o]: f });
416
382
  }
417
383
  });
418
- }), i.forEach((l) => {
419
- Object.defineProperty(a.prototype, l, {
384
+ }), i.forEach((o) => {
385
+ Object.defineProperty(u.prototype, o, {
420
386
  get() {
421
- var h;
422
- return (h = this.$$c) == null ? void 0 : h[l];
387
+ return this.$$c?.[o];
423
388
  }
424
389
  });
425
390
  }), e.element = /** @type {any} */
426
- a, a;
427
- }
428
- class mn {
429
- constructor() {
430
- /**
431
- * ### PRIVATE API
432
- *
433
- * Do not use, may change at any time
434
- *
435
- * @type {any}
436
- */
437
- be(this, "$$");
438
- /**
439
- * ### PRIVATE API
440
- *
441
- * Do not use, may change at any time
442
- *
443
- * @type {any}
444
- */
445
- be(this, "$$set");
446
- }
391
+ u, u;
392
+ }
393
+ class Xi {
394
+ /**
395
+ * ### PRIVATE API
396
+ *
397
+ * Do not use, may change at any time
398
+ *
399
+ * @type {any}
400
+ */
401
+ $$ = void 0;
402
+ /**
403
+ * ### PRIVATE API
404
+ *
405
+ * Do not use, may change at any time
406
+ *
407
+ * @type {any}
408
+ */
409
+ $$set = void 0;
447
410
  /** @returns {void} */
448
411
  $destroy() {
449
- cn(this, 1), this.$destroy = X;
412
+ Vi(this, 1), this.$destroy = X;
450
413
  }
451
414
  /**
452
415
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +418,7 @@ class mn {
455
418
  * @returns {() => void}
456
419
  */
457
420
  $on(r, t) {
458
- if (!It(t))
421
+ if (!wt(t))
459
422
  return X;
460
423
  const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
461
424
  return i.push(t), () => {
@@ -468,159 +431,159 @@ class mn {
468
431
  * @returns {void}
469
432
  */
470
433
  $set(r) {
471
- this.$$set && !Xi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
434
+ this.$$set && !Ai(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
472
435
  }
473
436
  }
474
- const gn = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
476
- const ir = [];
477
- function pn(e, r) {
437
+ const Zi = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zi);
439
+ const tr = [];
440
+ function Wi(e, r) {
478
441
  return {
479
- subscribe: st(e, r).subscribe
442
+ subscribe: Yr(e, r).subscribe
480
443
  };
481
444
  }
482
- function st(e, r = X) {
445
+ function Yr(e, r = X) {
483
446
  let t;
484
447
  const i = /* @__PURE__ */ new Set();
485
- function n(l) {
486
- if (gi(e, l) && (e = l, t)) {
487
- const h = !ir.length;
448
+ function n(o) {
449
+ if (ei(e, o) && (e = o, t)) {
450
+ const f = !tr.length;
488
451
  for (const c of i)
489
- c[1](), ir.push(c, e);
490
- if (h) {
491
- for (let c = 0; c < ir.length; c += 2)
492
- ir[c][0](ir[c + 1]);
493
- ir.length = 0;
452
+ c[1](), tr.push(c, e);
453
+ if (f) {
454
+ for (let c = 0; c < tr.length; c += 2)
455
+ tr[c][0](tr[c + 1]);
456
+ tr.length = 0;
494
457
  }
495
458
  }
496
459
  }
497
- function s(l) {
498
- n(l(e));
460
+ function s(o) {
461
+ n(o(e));
499
462
  }
500
- function a(l, h = X) {
501
- const c = [l, h];
502
- return i.add(c), i.size === 1 && (t = r(n, s) || X), l(e), () => {
463
+ function u(o, f = X) {
464
+ const c = [o, f];
465
+ return i.add(c), i.size === 1 && (t = r(n, s) || X), o(e), () => {
503
466
  i.delete(c), i.size === 0 && t && (t(), t = null);
504
467
  };
505
468
  }
506
- return { set: n, update: s, subscribe: a };
469
+ return { set: n, update: s, subscribe: u };
507
470
  }
508
- function hr(e, r, t) {
471
+ function cr(e, r, t) {
509
472
  const i = !Array.isArray(e), n = i ? [e] : e;
510
473
  if (!n.every(Boolean))
511
474
  throw new Error("derived() expects stores as input, got a falsy value");
512
475
  const s = r.length < 2;
513
- return pn(t, (a, l) => {
514
- let h = !1;
476
+ return Wi(t, (u, o) => {
477
+ let f = !1;
515
478
  const c = [];
516
- let f = 0, m = X;
479
+ let h = 0, m = X;
517
480
  const g = () => {
518
- if (f)
481
+ if (h)
519
482
  return;
520
483
  m();
521
- const _ = r(i ? c[0] : c, a, l);
522
- s ? a(_) : m = It(_) ? _ : X;
484
+ const v = r(i ? c[0] : c, u, o);
485
+ s ? u(v) : m = wt(v) ? v : X;
523
486
  }, b = n.map(
524
- (_, E) => pi(
525
- _,
487
+ (v, y) => ri(
488
+ v,
526
489
  (w) => {
527
- c[E] = w, f &= ~(1 << E), h && g();
490
+ c[y] = w, h &= ~(1 << y), f && g();
528
491
  },
529
492
  () => {
530
- f |= 1 << E;
493
+ h |= 1 << y;
531
494
  }
532
495
  )
533
496
  );
534
- return h = !0, g(), function() {
535
- cr(b), m(), h = !1;
497
+ return f = !0, g(), function() {
498
+ ur(b), m(), f = !1;
536
499
  };
537
500
  });
538
501
  }
539
- function bn(e) {
540
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
502
+ function qi(e) {
503
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
504
  }
542
- var yn = function(r) {
543
- return En(r) && !vn(r);
505
+ var Ji = function(r) {
506
+ return Yi(r) && !Ki(r);
544
507
  };
545
- function En(e) {
508
+ function Yi(e) {
546
509
  return !!e && typeof e == "object";
547
510
  }
548
- function vn(e) {
511
+ function Ki(e) {
549
512
  var r = Object.prototype.toString.call(e);
550
- return r === "[object RegExp]" || r === "[object Date]" || Sn(e);
513
+ return r === "[object RegExp]" || r === "[object Date]" || tn(e);
551
514
  }
552
- var _n = typeof Symbol == "function" && Symbol.for, wn = _n ? Symbol.for("react.element") : 60103;
553
- function Sn(e) {
554
- return e.$$typeof === wn;
515
+ var en = typeof Symbol == "function" && Symbol.for, rn = en ? Symbol.for("react.element") : 60103;
516
+ function tn(e) {
517
+ return e.$$typeof === rn;
555
518
  }
556
- function Pn(e) {
519
+ function nn(e) {
557
520
  return Array.isArray(e) ? [] : {};
558
521
  }
559
- function Or(e, r) {
560
- return r.clone !== !1 && r.isMergeableObject(e) ? or(Pn(e), e, r) : e;
522
+ function xr(e, r) {
523
+ return r.clone !== !1 && r.isMergeableObject(e) ? sr(nn(e), e, r) : e;
561
524
  }
562
- function Cn(e, r, t) {
525
+ function sn(e, r, t) {
563
526
  return e.concat(r).map(function(i) {
564
- return Or(i, t);
527
+ return xr(i, t);
565
528
  });
566
529
  }
567
- function xn(e, r) {
530
+ function an(e, r) {
568
531
  if (!r.customMerge)
569
- return or;
532
+ return sr;
570
533
  var t = r.customMerge(e);
571
- return typeof t == "function" ? t : or;
534
+ return typeof t == "function" ? t : sr;
572
535
  }
573
- function An(e) {
536
+ function on(e) {
574
537
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
575
538
  return Object.propertyIsEnumerable.call(e, r);
576
539
  }) : [];
577
540
  }
578
- function zt(e) {
579
- return Object.keys(e).concat(An(e));
541
+ function Bt(e) {
542
+ return Object.keys(e).concat(on(e));
580
543
  }
581
- function yi(e, r) {
544
+ function ii(e, r) {
582
545
  try {
583
546
  return r in e;
584
- } catch (t) {
547
+ } catch {
585
548
  return !1;
586
549
  }
587
550
  }
588
- function Tn(e, r) {
589
- return yi(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
551
+ function ln(e, r) {
552
+ return ii(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
590
553
  }
591
- function Hn(e, r, t) {
554
+ function un(e, r, t) {
592
555
  var i = {};
593
- return t.isMergeableObject(e) && zt(e).forEach(function(n) {
594
- i[n] = Or(e[n], t);
595
- }), zt(r).forEach(function(n) {
596
- Tn(e, n) || (yi(e, n) && t.isMergeableObject(r[n]) ? i[n] = xn(n, t)(e[n], r[n], t) : i[n] = Or(r[n], t));
556
+ return t.isMergeableObject(e) && Bt(e).forEach(function(n) {
557
+ i[n] = xr(e[n], t);
558
+ }), Bt(r).forEach(function(n) {
559
+ ln(e, n) || (ii(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = xr(r[n], t));
597
560
  }), i;
598
561
  }
599
- function or(e, r, t) {
600
- t = t || {}, t.arrayMerge = t.arrayMerge || Cn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified = Or;
562
+ function sr(e, r, t) {
563
+ t = t || {}, t.arrayMerge = t.arrayMerge || sn, t.isMergeableObject = t.isMergeableObject || Ji, t.cloneUnlessOtherwiseSpecified = xr;
601
564
  var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
602
- return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) : Or(r, t);
565
+ return s ? i ? t.arrayMerge(e, r, t) : un(e, r, t) : xr(r, t);
603
566
  }
604
- or.all = function(r, t) {
567
+ sr.all = function(r, t) {
605
568
  if (!Array.isArray(r))
606
569
  throw new Error("first argument should be an array");
607
570
  return r.reduce(function(i, n) {
608
- return or(i, n, t);
571
+ return sr(i, n, t);
609
572
  }, {});
610
573
  };
611
- var In = or, Bn = In;
612
- const Nn = /* @__PURE__ */ bn(Bn);
613
- var _t = function(e, r) {
614
- return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
574
+ var cn = sr, hn = cn;
575
+ const fn = /* @__PURE__ */ qi(hn);
576
+ var dt = function(e, r) {
577
+ return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
615
578
  t.__proto__ = i;
616
579
  } || function(t, i) {
617
580
  for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
618
- }, _t(e, r);
581
+ }, dt(e, r);
619
582
  };
620
- function ot(e, r) {
583
+ function Kr(e, r) {
621
584
  if (typeof r != "function" && r !== null)
622
585
  throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
623
- _t(e, r);
586
+ dt(e, r);
624
587
  function t() {
625
588
  this.constructor = e;
626
589
  }
@@ -635,7 +598,7 @@ var A = function() {
635
598
  return r;
636
599
  }, A.apply(this, arguments);
637
600
  };
638
- function On(e, r) {
601
+ function dn(e, r) {
639
602
  var t = {};
640
603
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
641
604
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -643,61 +606,63 @@ function On(e, r) {
643
606
  r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
644
607
  return t;
645
608
  }
646
- function dt(e, r, t) {
609
+ function st(e, r, t) {
647
610
  if (t || arguments.length === 2) for (var i = 0, n = r.length, s; i < n; i++)
648
611
  (s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
649
612
  return e.concat(s || Array.prototype.slice.call(r));
650
613
  }
651
- function mt(e, r) {
652
- var t = r && r.cache ? r.cache : Fn, i = r && r.serializer ? r.serializer : kn, n = r && r.strategy ? r.strategy : Mn;
614
+ function at(e, r) {
615
+ var t = r && r.cache ? r.cache : _n, i = r && r.serializer ? r.serializer : yn, n = r && r.strategy ? r.strategy : gn;
653
616
  return n(e, {
654
617
  cache: t,
655
618
  serializer: i
656
619
  });
657
620
  }
658
- function Ln(e) {
621
+ function mn(e) {
659
622
  return e == null || typeof e == "number" || typeof e == "boolean";
660
623
  }
661
- function Ei(e, r, t, i) {
662
- var n = Ln(i) ? i : t(i), s = r.get(n);
663
- return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
624
+ function ni(e, r, t, i) {
625
+ var n = mn(i) ? i : t(i), s = r.get(n);
626
+ return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
664
627
  }
665
- function vi(e, r, t) {
628
+ function si(e, r, t) {
666
629
  var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
667
- return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
630
+ return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
668
631
  }
669
- function Bt(e, r, t, i, n) {
632
+ function St(e, r, t, i, n) {
670
633
  return t.bind(r, e, i, n);
671
634
  }
672
- function Mn(e, r) {
673
- var t = e.length === 1 ? Ei : vi;
674
- return Bt(e, this, t, r.cache.create(), r.serializer);
635
+ function gn(e, r) {
636
+ var t = e.length === 1 ? ni : si;
637
+ return St(e, this, t, r.cache.create(), r.serializer);
675
638
  }
676
- function Rn(e, r) {
677
- return Bt(e, this, vi, r.cache.create(), r.serializer);
639
+ function pn(e, r) {
640
+ return St(e, this, si, r.cache.create(), r.serializer);
678
641
  }
679
- function Un(e, r) {
680
- return Bt(e, this, Ei, r.cache.create(), r.serializer);
642
+ function bn(e, r) {
643
+ return St(e, this, ni, r.cache.create(), r.serializer);
681
644
  }
682
- var kn = function() {
645
+ var yn = function() {
683
646
  return JSON.stringify(arguments);
684
- };
685
- function Nt() {
686
- this.cache = /* @__PURE__ */ Object.create(null);
687
- }
688
- Nt.prototype.get = function(e) {
689
- return this.cache[e];
690
- };
691
- Nt.prototype.set = function(e, r) {
692
- this.cache[e] = r;
693
- };
694
- var Fn = {
647
+ }, En = (
648
+ /** @class */
649
+ function() {
650
+ function e() {
651
+ this.cache = /* @__PURE__ */ Object.create(null);
652
+ }
653
+ return e.prototype.get = function(r) {
654
+ return this.cache[r];
655
+ }, e.prototype.set = function(r, t) {
656
+ this.cache[r] = t;
657
+ }, e;
658
+ }()
659
+ ), _n = {
695
660
  create: function() {
696
- return new Nt();
661
+ return new En();
697
662
  }
698
- }, gt = {
699
- variadic: Rn,
700
- monadic: Un
663
+ }, ot = {
664
+ variadic: pn,
665
+ monadic: bn
701
666
  }, P;
702
667
  (function(e) {
703
668
  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";
@@ -710,43 +675,43 @@ var ar;
710
675
  (function(e) {
711
676
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
712
677
  })(ar || (ar = {}));
713
- function Xt(e) {
678
+ function Nt(e) {
714
679
  return e.type === N.literal;
715
680
  }
716
- function Dn(e) {
681
+ function vn(e) {
717
682
  return e.type === N.argument;
718
683
  }
719
- function _i(e) {
684
+ function ai(e) {
720
685
  return e.type === N.number;
721
686
  }
722
- function wi(e) {
687
+ function oi(e) {
723
688
  return e.type === N.date;
724
689
  }
725
- function Si(e) {
690
+ function li(e) {
726
691
  return e.type === N.time;
727
692
  }
728
- function Pi(e) {
693
+ function ui(e) {
729
694
  return e.type === N.select;
730
695
  }
731
- function Ci(e) {
696
+ function ci(e) {
732
697
  return e.type === N.plural;
733
698
  }
734
- function Gn(e) {
699
+ function wn(e) {
735
700
  return e.type === N.pound;
736
701
  }
737
- function xi(e) {
702
+ function hi(e) {
738
703
  return e.type === N.tag;
739
704
  }
740
- function Ai(e) {
705
+ function fi(e) {
741
706
  return !!(e && typeof e == "object" && e.type === ar.number);
742
707
  }
743
- function wt(e) {
708
+ function mt(e) {
744
709
  return !!(e && typeof e == "object" && e.type === ar.dateTime);
745
710
  }
746
- var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
747
- function Vn(e) {
711
+ var di = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
712
+ function Pn(e) {
748
713
  var r = {};
749
- return e.replace(jn, function(t) {
714
+ return e.replace(Sn, function(t) {
750
715
  var i = t.length;
751
716
  switch (t[0]) {
752
717
  case "G":
@@ -835,36 +800,36 @@ function Vn(e) {
835
800
  return "";
836
801
  }), r;
837
802
  }
838
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
839
- function Qn(e) {
803
+ var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
804
+ function xn(e) {
840
805
  if (e.length === 0)
841
806
  throw new Error("Number skeleton cannot be empty");
842
- for (var r = e.split($n).filter(function(g) {
807
+ for (var r = e.split(Cn).filter(function(g) {
843
808
  return g.length > 0;
844
809
  }), t = [], i = 0, n = r; i < n.length; i++) {
845
- var s = n[i], a = s.split("/");
846
- if (a.length === 0)
810
+ var s = n[i], u = s.split("/");
811
+ if (u.length === 0)
847
812
  throw new Error("Invalid number skeleton");
848
- for (var l = a[0], h = a.slice(1), c = 0, f = h; c < f.length; c++) {
849
- var m = f[c];
813
+ for (var o = u[0], f = u.slice(1), c = 0, h = f; c < h.length; c++) {
814
+ var m = h[c];
850
815
  if (m.length === 0)
851
816
  throw new Error("Invalid number skeleton");
852
817
  }
853
- t.push({ stem: l, options: h });
818
+ t.push({ stem: o, options: f });
854
819
  }
855
820
  return t;
856
821
  }
857
- function zn(e) {
822
+ function An(e) {
858
823
  return e.replace(/^(.*?)-/, "");
859
824
  }
860
- var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ii = /^(0+)$/;
861
- function Wt(e) {
825
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mi = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, gi = /^(0+)$/;
826
+ function Lt(e) {
862
827
  var r = {};
863
- return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Hi, function(t, i, n) {
828
+ return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(mi, function(t, i, n) {
864
829
  return typeof n != "string" ? (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length) : n === "+" ? r.minimumSignificantDigits = i.length : i[0] === "#" ? r.maximumSignificantDigits = i.length : (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
865
830
  }), r;
866
831
  }
867
- function Bi(e) {
832
+ function pi(e) {
868
833
  switch (e) {
869
834
  case "sign-auto":
870
835
  return {
@@ -904,7 +869,7 @@ function Bi(e) {
904
869
  };
905
870
  }
906
871
  }
907
- function Zn(e) {
872
+ function Hn(e) {
908
873
  var r;
909
874
  if (e[0] === "E" && e[1] === "E" ? (r = {
910
875
  notation: "engineering"
@@ -912,17 +877,17 @@ function Zn(e) {
912
877
  notation: "scientific"
913
878
  }, e = e.slice(1)), r) {
914
879
  var t = e.slice(0, 2);
915
- if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Ii.test(e))
880
+ if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !gi.test(e))
916
881
  throw new Error("Malformed concise eng/scientific notation");
917
882
  r.minimumIntegerDigits = e.length;
918
883
  }
919
884
  return r;
920
885
  }
921
- function qt(e) {
922
- var r = {}, t = Bi(e);
886
+ function Mt(e) {
887
+ var r = {}, t = pi(e);
923
888
  return t || r;
924
889
  }
925
- function Wn(e) {
890
+ function In(e) {
926
891
  for (var r = {}, t = 0, i = e; t < i.length; t++) {
927
892
  var n = i[t];
928
893
  switch (n.stem) {
@@ -946,7 +911,7 @@ function Wn(e) {
946
911
  continue;
947
912
  case "measure-unit":
948
913
  case "unit":
949
- r.style = "unit", r.unit = zn(n.options[0]);
914
+ r.style = "unit", r.unit = An(n.options[0]);
950
915
  continue;
951
916
  case "compact-short":
952
917
  case "K":
@@ -957,13 +922,13 @@ function Wn(e) {
957
922
  r.notation = "compact", r.compactDisplay = "long";
958
923
  continue;
959
924
  case "scientific":
960
- r = A(A(A({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
961
- return A(A({}, h), qt(c));
925
+ r = A(A(A({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
926
+ return A(A({}, f), Mt(c));
962
927
  }, {}));
963
928
  continue;
964
929
  case "engineering":
965
- r = A(A(A({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
966
- return A(A({}, h), qt(c));
930
+ r = A(A(A({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
931
+ return A(A({}, f), Mt(c));
967
932
  }, {}));
968
933
  continue;
969
934
  case "notation-simple":
@@ -1008,9 +973,9 @@ function Wn(e) {
1008
973
  case "integer-width":
1009
974
  if (n.options.length > 1)
1010
975
  throw new RangeError("integer-width stems only accept a single optional option");
1011
- n.options[0].replace(Xn, function(h, c, f, m, g, b) {
976
+ n.options[0].replace(Tn, function(f, c, h, m, g, b) {
1012
977
  if (c)
1013
- r.minimumIntegerDigits = f.length;
978
+ r.minimumIntegerDigits = h.length;
1014
979
  else {
1015
980
  if (m && g)
1016
981
  throw new Error("We currently do not support maximum integer digits");
@@ -1021,32 +986,32 @@ function Wn(e) {
1021
986
  });
1022
987
  continue;
1023
988
  }
1024
- if (Ii.test(n.stem)) {
989
+ if (gi.test(n.stem)) {
1025
990
  r.minimumIntegerDigits = n.stem.length;
1026
991
  continue;
1027
992
  }
1028
- if (Zt.test(n.stem)) {
993
+ if (Ot.test(n.stem)) {
1029
994
  if (n.options.length > 1)
1030
995
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1031
- n.stem.replace(Zt, function(h, c, f, m, g, b) {
1032
- return f === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
996
+ n.stem.replace(Ot, function(f, c, h, m, g, b) {
997
+ return h === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
1033
998
  });
1034
999
  var s = n.options[0];
1035
- s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Wt(s)));
1000
+ s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Lt(s)));
1036
1001
  continue;
1037
1002
  }
1038
- if (Hi.test(n.stem)) {
1039
- r = A(A({}, r), Wt(n.stem));
1003
+ if (mi.test(n.stem)) {
1004
+ r = A(A({}, r), Lt(n.stem));
1040
1005
  continue;
1041
1006
  }
1042
- var a = Bi(n.stem);
1043
- a && (r = A(A({}, r), a));
1044
- var l = Zn(n.stem);
1045
- l && (r = A(A({}, r), l));
1007
+ var u = pi(n.stem);
1008
+ u && (r = A(A({}, r), u));
1009
+ var o = Hn(n.stem);
1010
+ o && (r = A(A({}, r), o));
1046
1011
  }
1047
1012
  return r;
1048
1013
  }
1049
- var Kr = {
1014
+ var zr = {
1050
1015
  "001": [
1051
1016
  "H",
1052
1017
  "h"
@@ -2461,22 +2426,22 @@ var Kr = {
2461
2426
  "h"
2462
2427
  ]
2463
2428
  };
2464
- function qn(e, r) {
2429
+ function Bn(e, r) {
2465
2430
  for (var t = "", i = 0; i < e.length; i++) {
2466
2431
  var n = e.charAt(i);
2467
2432
  if (n === "j") {
2468
2433
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2469
2434
  s++, i++;
2470
- var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = Jn(r);
2471
- for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
2472
- t += h;
2473
- for (; a-- > 0; )
2435
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Nn(r);
2436
+ for ((c == "H" || c == "k") && (o = 0); o-- > 0; )
2437
+ t += f;
2438
+ for (; u-- > 0; )
2474
2439
  t = c + t;
2475
2440
  } else n === "J" ? t += "H" : t += n;
2476
2441
  }
2477
2442
  return t;
2478
2443
  }
2479
- function Jn(e) {
2444
+ function Nn(e) {
2480
2445
  var r = e.hourCycle;
2481
2446
  if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2482
2447
  e.hourCycles && // @ts-ignore
@@ -2495,23 +2460,23 @@ function Jn(e) {
2495
2460
  }
2496
2461
  var t = e.language, i;
2497
2462
  t !== "root" && (i = e.maximize().region);
2498
- var n = Kr[i || ""] || Kr[t || ""] || Kr["".concat(t, "-001")] || Kr["001"];
2463
+ var n = zr[i || ""] || zr[t || ""] || zr["".concat(t, "-001")] || zr["001"];
2499
2464
  return n[0];
2500
2465
  }
2501
- var pt, Yn = new RegExp("^".concat(Ti.source, "*")), Kn = new RegExp("".concat(Ti.source, "*$"));
2466
+ var lt, On = new RegExp("^".concat(di.source, "*")), Ln = new RegExp("".concat(di.source, "*$"));
2502
2467
  function C(e, r) {
2503
2468
  return { start: e, end: r };
2504
2469
  }
2505
- var es = !!String.prototype.startsWith && "_a".startsWith("a", 1), rs = !!String.fromCodePoint, ts = !!Object.fromEntries, is = !!String.prototype.codePointAt, ns = !!String.prototype.trimStart, ss = !!String.prototype.trimEnd, os = !!Number.isSafeInteger, as = os ? Number.isSafeInteger : function(e) {
2470
+ var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
2506
2471
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2507
- }, St = !0;
2472
+ }, gt = !0;
2508
2473
  try {
2509
- var ls = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2510
- St = ((pt = ls.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2511
- } catch (e) {
2512
- St = !1;
2474
+ var Vn = yi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2475
+ gt = ((lt = Vn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2476
+ } catch {
2477
+ gt = !1;
2513
2478
  }
2514
- var Jt = es ? (
2479
+ var Rt = Mn ? (
2515
2480
  // Native
2516
2481
  function(r, t, i) {
2517
2482
  return r.startsWith(t, i);
@@ -2521,31 +2486,31 @@ var Jt = es ? (
2521
2486
  function(r, t, i) {
2522
2487
  return r.slice(i, i + t.length) === t;
2523
2488
  }
2524
- ), Pt = rs ? String.fromCodePoint : (
2489
+ ), pt = Rn ? String.fromCodePoint : (
2525
2490
  // IE11
2526
2491
  function() {
2527
2492
  for (var r = [], t = 0; t < arguments.length; t++)
2528
2493
  r[t] = arguments[t];
2529
- for (var i = "", n = r.length, s = 0, a; n > s; ) {
2530
- if (a = r[s++], a > 1114111)
2531
- throw RangeError(a + " is not a valid code point");
2532
- i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2494
+ for (var i = "", n = r.length, s = 0, u; n > s; ) {
2495
+ if (u = r[s++], u > 1114111)
2496
+ throw RangeError(u + " is not a valid code point");
2497
+ i += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2533
2498
  }
2534
2499
  return i;
2535
2500
  }
2536
- ), Yt = (
2501
+ ), Ut = (
2537
2502
  // native
2538
- ts ? Object.fromEntries : (
2503
+ Un ? Object.fromEntries : (
2539
2504
  // Ponyfill
2540
2505
  function(r) {
2541
2506
  for (var t = {}, i = 0, n = r; i < n.length; i++) {
2542
- var s = n[i], a = s[0], l = s[1];
2543
- t[a] = l;
2507
+ var s = n[i], u = s[0], o = s[1];
2508
+ t[u] = o;
2544
2509
  }
2545
2510
  return t;
2546
2511
  }
2547
2512
  )
2548
- ), Ni = is ? (
2513
+ ), bi = kn ? (
2549
2514
  // Native
2550
2515
  function(r, t) {
2551
2516
  return r.codePointAt(t);
@@ -2559,7 +2524,7 @@ var Jt = es ? (
2559
2524
  return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2560
2525
  }
2561
2526
  }
2562
- ), us = ns ? (
2527
+ ), $n = Fn ? (
2563
2528
  // Native
2564
2529
  function(r) {
2565
2530
  return r.trimStart();
@@ -2567,9 +2532,9 @@ var Jt = es ? (
2567
2532
  ) : (
2568
2533
  // Ponyfill
2569
2534
  function(r) {
2570
- return r.replace(Yn, "");
2535
+ return r.replace(On, "");
2571
2536
  }
2572
- ), cs = ss ? (
2537
+ ), Qn = Dn ? (
2573
2538
  // Native
2574
2539
  function(r) {
2575
2540
  return r.trimEnd();
@@ -2577,32 +2542,32 @@ var Jt = es ? (
2577
2542
  ) : (
2578
2543
  // Ponyfill
2579
2544
  function(r) {
2580
- return r.replace(Kn, "");
2545
+ return r.replace(Ln, "");
2581
2546
  }
2582
2547
  );
2583
- function Oi(e, r) {
2548
+ function yi(e, r) {
2584
2549
  return new RegExp(e, r);
2585
2550
  }
2586
- var Ct;
2587
- if (St) {
2588
- var Kt = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2589
- Ct = function(r, t) {
2551
+ var bt;
2552
+ if (gt) {
2553
+ var kt = yi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2554
+ bt = function(r, t) {
2590
2555
  var i;
2591
- Kt.lastIndex = t;
2592
- var n = Kt.exec(r);
2556
+ kt.lastIndex = t;
2557
+ var n = kt.exec(r);
2593
2558
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2594
2559
  };
2595
2560
  } else
2596
- Ct = function(r, t) {
2561
+ bt = function(r, t) {
2597
2562
  for (var i = []; ; ) {
2598
- var n = Ni(r, t);
2599
- if (n === void 0 || Li(n) || ms(n))
2563
+ var n = bi(r, t);
2564
+ if (n === void 0 || Ei(n) || Wn(n))
2600
2565
  break;
2601
2566
  i.push(n), t += n >= 65536 ? 2 : 1;
2602
2567
  }
2603
- return Pt.apply(void 0, i);
2568
+ return pt.apply(void 0, i);
2604
2569
  };
2605
- var hs = (
2570
+ var zn = (
2606
2571
  /** @class */
2607
2572
  function() {
2608
2573
  function e(r, t) {
@@ -2616,33 +2581,33 @@ var hs = (
2616
2581
  for (var n = []; !this.isEOF(); ) {
2617
2582
  var s = this.char();
2618
2583
  if (s === 123) {
2619
- var a = this.parseArgument(r, i);
2620
- if (a.err)
2621
- return a;
2622
- n.push(a.val);
2584
+ var u = this.parseArgument(r, i);
2585
+ if (u.err)
2586
+ return u;
2587
+ n.push(u.val);
2623
2588
  } else {
2624
2589
  if (s === 125 && r > 0)
2625
2590
  break;
2626
2591
  if (s === 35 && (t === "plural" || t === "selectordinal")) {
2627
- var l = this.clonePosition();
2592
+ var o = this.clonePosition();
2628
2593
  this.bump(), n.push({
2629
2594
  type: N.pound,
2630
- location: C(l, this.clonePosition())
2595
+ location: C(o, this.clonePosition())
2631
2596
  });
2632
2597
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2633
2598
  if (i)
2634
2599
  break;
2635
2600
  return this.error(P.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
2636
- } else if (s === 60 && !this.ignoreTag && xt(this.peek() || 0)) {
2637
- var a = this.parseTag(r, t);
2638
- if (a.err)
2639
- return a;
2640
- n.push(a.val);
2601
+ } else if (s === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
2602
+ var u = this.parseTag(r, t);
2603
+ if (u.err)
2604
+ return u;
2605
+ n.push(u.val);
2641
2606
  } else {
2642
- var a = this.parseLiteral(r, t);
2643
- if (a.err)
2644
- return a;
2645
- n.push(a.val);
2607
+ var u = this.parseLiteral(r, t);
2608
+ if (u.err)
2609
+ return u;
2610
+ n.push(u.val);
2646
2611
  }
2647
2612
  }
2648
2613
  }
@@ -2664,27 +2629,27 @@ var hs = (
2664
2629
  var s = this.parseMessage(r + 1, t, !0);
2665
2630
  if (s.err)
2666
2631
  return s;
2667
- var a = s.val, l = this.clonePosition();
2632
+ var u = s.val, o = this.clonePosition();
2668
2633
  if (this.bumpIf("</")) {
2669
- if (this.isEOF() || !xt(this.char()))
2670
- return this.error(P.INVALID_TAG, C(l, this.clonePosition()));
2671
- var h = this.clonePosition(), c = this.parseTagName();
2672
- return n !== c ? this.error(P.UNMATCHED_CLOSING_TAG, C(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2634
+ if (this.isEOF() || !yt(this.char()))
2635
+ return this.error(P.INVALID_TAG, C(o, this.clonePosition()));
2636
+ var f = this.clonePosition(), c = this.parseTagName();
2637
+ return n !== c ? this.error(P.UNMATCHED_CLOSING_TAG, C(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2673
2638
  val: {
2674
2639
  type: N.tag,
2675
2640
  value: n,
2676
- children: a,
2641
+ children: u,
2677
2642
  location: C(i, this.clonePosition())
2678
2643
  },
2679
2644
  err: null
2680
- } : this.error(P.INVALID_TAG, C(l, this.clonePosition())));
2645
+ } : this.error(P.INVALID_TAG, C(o, this.clonePosition())));
2681
2646
  } else
2682
2647
  return this.error(P.UNCLOSED_TAG, C(i, this.clonePosition()));
2683
2648
  } else
2684
2649
  return this.error(P.INVALID_TAG, C(i, this.clonePosition()));
2685
2650
  }, e.prototype.parseTagName = function() {
2686
2651
  var r = this.offset();
2687
- for (this.bump(); !this.isEOF() && ds(this.char()); )
2652
+ for (this.bump(); !this.isEOF() && Zn(this.char()); )
2688
2653
  this.bump();
2689
2654
  return this.message.slice(r, this.offset());
2690
2655
  }, e.prototype.parseLiteral = function(r, t) {
@@ -2694,26 +2659,26 @@ var hs = (
2694
2659
  n += s;
2695
2660
  continue;
2696
2661
  }
2697
- var a = this.tryParseUnquoted(r, t);
2698
- if (a) {
2699
- n += a;
2662
+ var u = this.tryParseUnquoted(r, t);
2663
+ if (u) {
2664
+ n += u;
2700
2665
  continue;
2701
2666
  }
2702
- var l = this.tryParseLeftAngleBracket();
2703
- if (l) {
2704
- n += l;
2667
+ var o = this.tryParseLeftAngleBracket();
2668
+ if (o) {
2669
+ n += o;
2705
2670
  continue;
2706
2671
  }
2707
2672
  break;
2708
2673
  }
2709
- var h = C(i, this.clonePosition());
2674
+ var f = C(i, this.clonePosition());
2710
2675
  return {
2711
- val: { type: N.literal, value: n, location: h },
2676
+ val: { type: N.literal, value: n, location: f },
2712
2677
  err: null
2713
2678
  };
2714
2679
  }, e.prototype.tryParseLeftAngleBracket = function() {
2715
2680
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2716
- !fs(this.peek() || 0)) ? (this.bump(), "<") : null;
2681
+ !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2717
2682
  }, e.prototype.tryParseQuote = function(r) {
2718
2683
  if (this.isEOF() || this.char() !== 39)
2719
2684
  return null;
@@ -2747,12 +2712,12 @@ var hs = (
2747
2712
  t.push(i);
2748
2713
  this.bump();
2749
2714
  }
2750
- return Pt.apply(void 0, t);
2715
+ return pt.apply(void 0, t);
2751
2716
  }, e.prototype.tryParseUnquoted = function(r, t) {
2752
2717
  if (this.isEOF())
2753
2718
  return null;
2754
2719
  var i = this.char();
2755
- return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), Pt(i));
2720
+ return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), pt(i));
2756
2721
  }, e.prototype.parseArgument = function(r, t) {
2757
2722
  var i = this.clonePosition();
2758
2723
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2781,15 +2746,15 @@ var hs = (
2781
2746
  return this.error(P.MALFORMED_ARGUMENT, C(i, this.clonePosition()));
2782
2747
  }
2783
2748
  }, e.prototype.parseIdentifierIfPossible = function() {
2784
- var r = this.clonePosition(), t = this.offset(), i = Ct(this.message, t), n = t + i.length;
2749
+ var r = this.clonePosition(), t = this.offset(), i = bt(this.message, t), n = t + i.length;
2785
2750
  this.bumpTo(n);
2786
- var s = this.clonePosition(), a = C(r, s);
2787
- return { value: i, location: a };
2751
+ var s = this.clonePosition(), u = C(r, s);
2752
+ return { value: i, location: u };
2788
2753
  }, e.prototype.parseArgumentOptions = function(r, t, i, n) {
2789
- var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2790
- switch (l) {
2754
+ var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, f = this.clonePosition();
2755
+ switch (o) {
2791
2756
  case "":
2792
- return this.error(P.EXPECT_ARGUMENT_TYPE, C(a, h));
2757
+ return this.error(P.EXPECT_ARGUMENT_TYPE, C(u, f));
2793
2758
  case "number":
2794
2759
  case "date":
2795
2760
  case "time": {
@@ -2797,50 +2762,50 @@ var hs = (
2797
2762
  var c = null;
2798
2763
  if (this.bumpIf(",")) {
2799
2764
  this.bumpSpace();
2800
- var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2765
+ var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2801
2766
  if (m.err)
2802
2767
  return m;
2803
- var g = cs(m.val);
2768
+ var g = Qn(m.val);
2804
2769
  if (g.length === 0)
2805
2770
  return this.error(P.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
2806
- var b = C(f, this.clonePosition());
2771
+ var b = C(h, this.clonePosition());
2807
2772
  c = { style: g, styleLocation: b };
2808
2773
  }
2809
- var _ = this.tryParseArgumentClose(n);
2810
- if (_.err)
2811
- return _;
2812
- var E = C(n, this.clonePosition());
2813
- if (c && Jt(c == null ? void 0 : c.style, "::", 0)) {
2814
- var w = us(c.style.slice(2));
2815
- if (l === "number") {
2774
+ var v = this.tryParseArgumentClose(n);
2775
+ if (v.err)
2776
+ return v;
2777
+ var y = C(n, this.clonePosition());
2778
+ if (c && Rt(c?.style, "::", 0)) {
2779
+ var w = $n(c.style.slice(2));
2780
+ if (o === "number") {
2816
2781
  var m = this.parseNumberSkeletonFromString(w, c.styleLocation);
2817
2782
  return m.err ? m : {
2818
- val: { type: N.number, value: i, location: E, style: m.val },
2783
+ val: { type: N.number, value: i, location: y, style: m.val },
2819
2784
  err: null
2820
2785
  };
2821
2786
  } else {
2822
2787
  if (w.length === 0)
2823
- return this.error(P.EXPECT_DATE_TIME_SKELETON, E);
2788
+ return this.error(P.EXPECT_DATE_TIME_SKELETON, y);
2824
2789
  var B = w;
2825
- this.locale && (B = qn(w, this.locale));
2790
+ this.locale && (B = Bn(w, this.locale));
2826
2791
  var g = {
2827
2792
  type: ar.dateTime,
2828
2793
  pattern: B,
2829
2794
  location: c.styleLocation,
2830
- parsedOptions: this.shouldParseSkeletons ? Vn(B) : {}
2831
- }, $ = l === "date" ? N.date : N.time;
2795
+ parsedOptions: this.shouldParseSkeletons ? Pn(B) : {}
2796
+ }, $ = o === "date" ? N.date : N.time;
2832
2797
  return {
2833
- val: { type: $, value: i, location: E, style: g },
2798
+ val: { type: $, value: i, location: y, style: g },
2834
2799
  err: null
2835
2800
  };
2836
2801
  }
2837
2802
  }
2838
2803
  return {
2839
2804
  val: {
2840
- type: l === "number" ? N.number : l === "date" ? N.date : N.time,
2805
+ type: o === "number" ? N.number : o === "date" ? N.date : N.time,
2841
2806
  value: i,
2842
- location: E,
2843
- style: (s = c == null ? void 0 : c.style) !== null && s !== void 0 ? s : null
2807
+ location: y,
2808
+ style: (s = c?.style) !== null && s !== void 0 ? s : null
2844
2809
  },
2845
2810
  err: null
2846
2811
  };
@@ -2853,7 +2818,7 @@ var hs = (
2853
2818
  return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, C(M, A({}, M)));
2854
2819
  this.bumpSpace();
2855
2820
  var de = this.parseIdentifierIfPossible(), G = 0;
2856
- if (l !== "select" && de.value === "offset") {
2821
+ if (o !== "select" && de.value === "offset") {
2857
2822
  if (!this.bumpIf(":"))
2858
2823
  return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
2859
2824
  this.bumpSpace();
@@ -2862,18 +2827,18 @@ var hs = (
2862
2827
  return m;
2863
2828
  this.bumpSpace(), de = this.parseIdentifierIfPossible(), G = m.val;
2864
2829
  }
2865
- var ye = this.tryParsePluralOrSelectOptions(r, l, t, de);
2866
- if (ye.err)
2867
- return ye;
2868
- var _ = this.tryParseArgumentClose(n);
2869
- if (_.err)
2870
- return _;
2830
+ var be = this.tryParsePluralOrSelectOptions(r, o, t, de);
2831
+ if (be.err)
2832
+ return be;
2833
+ var v = this.tryParseArgumentClose(n);
2834
+ if (v.err)
2835
+ return v;
2871
2836
  var R = C(n, this.clonePosition());
2872
- return l === "select" ? {
2837
+ return o === "select" ? {
2873
2838
  val: {
2874
2839
  type: N.select,
2875
2840
  value: i,
2876
- options: Yt(ye.val),
2841
+ options: Ut(be.val),
2877
2842
  location: R
2878
2843
  },
2879
2844
  err: null
@@ -2881,16 +2846,16 @@ var hs = (
2881
2846
  val: {
2882
2847
  type: N.plural,
2883
2848
  value: i,
2884
- options: Yt(ye.val),
2849
+ options: Ut(be.val),
2885
2850
  offset: G,
2886
- pluralType: l === "plural" ? "cardinal" : "ordinal",
2851
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
2887
2852
  location: R
2888
2853
  },
2889
2854
  err: null
2890
2855
  };
2891
2856
  }
2892
2857
  default:
2893
- return this.error(P.INVALID_ARGUMENT_TYPE, C(a, h));
2858
+ return this.error(P.INVALID_ARGUMENT_TYPE, C(u, f));
2894
2859
  }
2895
2860
  }, e.prototype.tryParseArgumentClose = function(r) {
2896
2861
  return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, C(r, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2932,8 +2897,8 @@ var hs = (
2932
2897
  }, e.prototype.parseNumberSkeletonFromString = function(r, t) {
2933
2898
  var i = [];
2934
2899
  try {
2935
- i = Qn(r);
2936
- } catch (n) {
2900
+ i = xn(r);
2901
+ } catch {
2937
2902
  return this.error(P.INVALID_NUMBER_SKELETON, t);
2938
2903
  }
2939
2904
  return {
@@ -2941,55 +2906,55 @@ var hs = (
2941
2906
  type: ar.number,
2942
2907
  tokens: i,
2943
2908
  location: t,
2944
- parsedOptions: this.shouldParseSkeletons ? Wn(i) : {}
2909
+ parsedOptions: this.shouldParseSkeletons ? In(i) : {}
2945
2910
  },
2946
2911
  err: null
2947
2912
  };
2948
2913
  }, e.prototype.tryParsePluralOrSelectOptions = function(r, t, i, n) {
2949
- for (var s, a = !1, l = [], h = /* @__PURE__ */ new Set(), c = n.value, f = n.location; ; ) {
2914
+ for (var s, u = !1, o = [], f = /* @__PURE__ */ new Set(), c = n.value, h = n.location; ; ) {
2950
2915
  if (c.length === 0) {
2951
2916
  var m = this.clonePosition();
2952
2917
  if (t !== "select" && this.bumpIf("=")) {
2953
2918
  var g = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
2954
2919
  if (g.err)
2955
2920
  return g;
2956
- f = C(m, this.clonePosition()), c = this.message.slice(m.offset, this.offset());
2921
+ h = C(m, this.clonePosition()), c = this.message.slice(m.offset, this.offset());
2957
2922
  } else
2958
2923
  break;
2959
2924
  }
2960
- if (h.has(c))
2961
- return this.error(t === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2962
- c === "other" && (a = !0), this.bumpSpace();
2925
+ if (f.has(c))
2926
+ return this.error(t === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2927
+ c === "other" && (u = !0), this.bumpSpace();
2963
2928
  var b = this.clonePosition();
2964
2929
  if (!this.bumpIf("{"))
2965
2930
  return this.error(t === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, C(this.clonePosition(), this.clonePosition()));
2966
- var _ = this.parseMessage(r + 1, t, i);
2967
- if (_.err)
2968
- return _;
2969
- var E = this.tryParseArgumentClose(b);
2970
- if (E.err)
2971
- return E;
2972
- l.push([
2931
+ var v = this.parseMessage(r + 1, t, i);
2932
+ if (v.err)
2933
+ return v;
2934
+ var y = this.tryParseArgumentClose(b);
2935
+ if (y.err)
2936
+ return y;
2937
+ o.push([
2973
2938
  c,
2974
2939
  {
2975
- value: _.val,
2940
+ value: v.val,
2976
2941
  location: C(b, this.clonePosition())
2977
2942
  }
2978
- ]), h.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, f = s.location;
2943
+ ]), f.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, h = s.location;
2979
2944
  }
2980
- return l.length === 0 ? this.error(t === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
2945
+ return o.length === 0 ? this.error(t === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(P.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2981
2946
  }, e.prototype.tryParseDecimalInteger = function(r, t) {
2982
2947
  var i = 1, n = this.clonePosition();
2983
2948
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
2984
- for (var s = !1, a = 0; !this.isEOF(); ) {
2985
- var l = this.char();
2986
- if (l >= 48 && l <= 57)
2987
- s = !0, a = a * 10 + (l - 48), this.bump();
2949
+ for (var s = !1, u = 0; !this.isEOF(); ) {
2950
+ var o = this.char();
2951
+ if (o >= 48 && o <= 57)
2952
+ s = !0, u = u * 10 + (o - 48), this.bump();
2988
2953
  else
2989
2954
  break;
2990
2955
  }
2991
- var h = C(n, this.clonePosition());
2992
- return s ? (a *= i, as(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
2956
+ var f = C(n, this.clonePosition());
2957
+ return s ? (u *= i, jn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
2993
2958
  }, e.prototype.offset = function() {
2994
2959
  return this.position.offset;
2995
2960
  }, e.prototype.isEOF = function() {
@@ -3004,7 +2969,7 @@ var hs = (
3004
2969
  var r = this.position.offset;
3005
2970
  if (r >= this.message.length)
3006
2971
  throw Error("out of bound");
3007
- var t = Ni(this.message, r);
2972
+ var t = bi(this.message, r);
3008
2973
  if (t === void 0)
3009
2974
  throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
3010
2975
  return t;
@@ -3023,7 +2988,7 @@ var hs = (
3023
2988
  r === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += r < 65536 ? 1 : 2);
3024
2989
  }
3025
2990
  }, e.prototype.bumpIf = function(r) {
3026
- if (Jt(this.message, r, this.offset())) {
2991
+ if (Rt(this.message, r, this.offset())) {
3027
2992
  for (var t = 0; t < r.length; t++)
3028
2993
  this.bump();
3029
2994
  return !0;
@@ -3045,56 +3010,56 @@ var hs = (
3045
3010
  break;
3046
3011
  }
3047
3012
  }, e.prototype.bumpSpace = function() {
3048
- for (; !this.isEOF() && Li(this.char()); )
3013
+ for (; !this.isEOF() && Ei(this.char()); )
3049
3014
  this.bump();
3050
3015
  }, e.prototype.peek = function() {
3051
3016
  if (this.isEOF())
3052
3017
  return null;
3053
3018
  var r = this.char(), t = this.offset(), i = this.message.charCodeAt(t + (r >= 65536 ? 2 : 1));
3054
- return i != null ? i : null;
3019
+ return i ?? null;
3055
3020
  }, e;
3056
3021
  }()
3057
3022
  );
3058
- function xt(e) {
3023
+ function yt(e) {
3059
3024
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3060
3025
  }
3061
- function fs(e) {
3062
- return xt(e) || e === 47;
3026
+ function Xn(e) {
3027
+ return yt(e) || e === 47;
3063
3028
  }
3064
- function ds(e) {
3029
+ function Zn(e) {
3065
3030
  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;
3066
3031
  }
3067
- function Li(e) {
3032
+ function Ei(e) {
3068
3033
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3069
3034
  }
3070
- function ms(e) {
3035
+ function Wn(e) {
3071
3036
  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;
3072
3037
  }
3073
- function At(e) {
3038
+ function Et(e) {
3074
3039
  e.forEach(function(r) {
3075
- if (delete r.location, Pi(r) || Ci(r))
3040
+ if (delete r.location, ui(r) || ci(r))
3076
3041
  for (var t in r.options)
3077
- delete r.options[t].location, At(r.options[t].value);
3078
- else _i(r) && Ai(r.style) || (wi(r) || Si(r)) && wt(r.style) ? delete r.style.location : xi(r) && At(r.children);
3042
+ delete r.options[t].location, Et(r.options[t].value);
3043
+ else ai(r) && fi(r.style) || (oi(r) || li(r)) && mt(r.style) ? delete r.style.location : hi(r) && Et(r.children);
3079
3044
  });
3080
3045
  }
3081
- function gs(e, r) {
3046
+ function qn(e, r) {
3082
3047
  r === void 0 && (r = {}), r = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
3083
- var t = new hs(e, r).parse();
3048
+ var t = new zn(e, r).parse();
3084
3049
  if (t.err) {
3085
3050
  var i = SyntaxError(P[t.err.kind]);
3086
3051
  throw i.location = t.err.location, i.originalMessage = t.err.message, i;
3087
3052
  }
3088
- return r != null && r.captureLocation || At(t.val), t.val;
3053
+ return r?.captureLocation || Et(t.val), t.val;
3089
3054
  }
3090
- var lr;
3055
+ var or;
3091
3056
  (function(e) {
3092
3057
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3093
- })(lr || (lr = {}));
3094
- var at = (
3058
+ })(or || (or = {}));
3059
+ var et = (
3095
3060
  /** @class */
3096
3061
  function(e) {
3097
- ot(r, e);
3062
+ Kr(r, e);
3098
3063
  function r(t, i, n) {
3099
3064
  var s = e.call(this, t) || this;
3100
3065
  return s.code = i, s.originalMessage = n, s;
@@ -3103,155 +3068,155 @@ var at = (
3103
3068
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3104
3069
  }, r;
3105
3070
  }(Error)
3106
- ), ei = (
3071
+ ), Ft = (
3107
3072
  /** @class */
3108
3073
  function(e) {
3109
- ot(r, e);
3074
+ Kr(r, e);
3110
3075
  function r(t, i, n, s) {
3111
- return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), lr.INVALID_VALUE, s) || this;
3076
+ return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), or.INVALID_VALUE, s) || this;
3112
3077
  }
3113
3078
  return r;
3114
- }(at)
3115
- ), ps = (
3079
+ }(et)
3080
+ ), Jn = (
3116
3081
  /** @class */
3117
3082
  function(e) {
3118
- ot(r, e);
3083
+ Kr(r, e);
3119
3084
  function r(t, i, n) {
3120
- return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), lr.INVALID_VALUE, n) || this;
3085
+ return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), or.INVALID_VALUE, n) || this;
3121
3086
  }
3122
3087
  return r;
3123
- }(at)
3124
- ), bs = (
3088
+ }(et)
3089
+ ), Yn = (
3125
3090
  /** @class */
3126
3091
  function(e) {
3127
- ot(r, e);
3092
+ Kr(r, e);
3128
3093
  function r(t, i) {
3129
- return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), lr.MISSING_VALUE, i) || this;
3094
+ return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), or.MISSING_VALUE, i) || this;
3130
3095
  }
3131
3096
  return r;
3132
- }(at)
3097
+ }(et)
3133
3098
  ), z;
3134
3099
  (function(e) {
3135
3100
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3136
3101
  })(z || (z = {}));
3137
- function ys(e) {
3102
+ function Kn(e) {
3138
3103
  return e.length < 2 ? e : e.reduce(function(r, t) {
3139
3104
  var i = r[r.length - 1];
3140
3105
  return !i || i.type !== z.literal || t.type !== z.literal ? r.push(t) : i.value += t.value, r;
3141
3106
  }, []);
3142
3107
  }
3143
- function Es(e) {
3108
+ function es(e) {
3144
3109
  return typeof e == "function";
3145
3110
  }
3146
- function rt(e, r, t, i, n, s, a) {
3147
- if (e.length === 1 && Xt(e[0]))
3111
+ function Zr(e, r, t, i, n, s, u) {
3112
+ if (e.length === 1 && Nt(e[0]))
3148
3113
  return [
3149
3114
  {
3150
3115
  type: z.literal,
3151
3116
  value: e[0].value
3152
3117
  }
3153
3118
  ];
3154
- for (var l = [], h = 0, c = e; h < c.length; h++) {
3155
- var f = c[h];
3156
- if (Xt(f)) {
3157
- l.push({
3119
+ for (var o = [], f = 0, c = e; f < c.length; f++) {
3120
+ var h = c[f];
3121
+ if (Nt(h)) {
3122
+ o.push({
3158
3123
  type: z.literal,
3159
- value: f.value
3124
+ value: h.value
3160
3125
  });
3161
3126
  continue;
3162
3127
  }
3163
- if (Gn(f)) {
3164
- typeof s == "number" && l.push({
3128
+ if (wn(h)) {
3129
+ typeof s == "number" && o.push({
3165
3130
  type: z.literal,
3166
3131
  value: t.getNumberFormat(r).format(s)
3167
3132
  });
3168
3133
  continue;
3169
3134
  }
3170
- var m = f.value;
3135
+ var m = h.value;
3171
3136
  if (!(n && m in n))
3172
- throw new bs(m, a);
3137
+ throw new Yn(m, u);
3173
3138
  var g = n[m];
3174
- if (Dn(f)) {
3175
- (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
3139
+ if (vn(h)) {
3140
+ (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), o.push({
3176
3141
  type: typeof g == "string" ? z.literal : z.object,
3177
3142
  value: g
3178
3143
  });
3179
3144
  continue;
3180
3145
  }
3181
- if (wi(f)) {
3182
- var b = typeof f.style == "string" ? i.date[f.style] : wt(f.style) ? f.style.parsedOptions : void 0;
3183
- l.push({
3146
+ if (oi(h)) {
3147
+ var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3148
+ o.push({
3184
3149
  type: z.literal,
3185
3150
  value: t.getDateTimeFormat(r, b).format(g)
3186
3151
  });
3187
3152
  continue;
3188
3153
  }
3189
- if (Si(f)) {
3190
- var b = typeof f.style == "string" ? i.time[f.style] : wt(f.style) ? f.style.parsedOptions : i.time.medium;
3191
- l.push({
3154
+ if (li(h)) {
3155
+ var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
3156
+ o.push({
3192
3157
  type: z.literal,
3193
3158
  value: t.getDateTimeFormat(r, b).format(g)
3194
3159
  });
3195
3160
  continue;
3196
3161
  }
3197
- if (_i(f)) {
3198
- var b = typeof f.style == "string" ? i.number[f.style] : Ai(f.style) ? f.style.parsedOptions : void 0;
3199
- b && b.scale && (g = g * (b.scale || 1)), l.push({
3162
+ if (ai(h)) {
3163
+ var b = typeof h.style == "string" ? i.number[h.style] : fi(h.style) ? h.style.parsedOptions : void 0;
3164
+ b && b.scale && (g = g * (b.scale || 1)), o.push({
3200
3165
  type: z.literal,
3201
3166
  value: t.getNumberFormat(r, b).format(g)
3202
3167
  });
3203
3168
  continue;
3204
3169
  }
3205
- if (xi(f)) {
3206
- var _ = f.children, E = f.value, w = n[E];
3207
- if (!Es(w))
3208
- throw new ps(E, "function", a);
3209
- var B = rt(_, r, t, i, n, s), $ = w(B.map(function(G) {
3170
+ if (hi(h)) {
3171
+ var v = h.children, y = h.value, w = n[y];
3172
+ if (!es(w))
3173
+ throw new Jn(y, "function", u);
3174
+ var B = Zr(v, r, t, i, n, s), $ = w(B.map(function(G) {
3210
3175
  return G.value;
3211
3176
  }));
3212
- Array.isArray($) || ($ = [$]), l.push.apply(l, $.map(function(G) {
3177
+ Array.isArray($) || ($ = [$]), o.push.apply(o, $.map(function(G) {
3213
3178
  return {
3214
3179
  type: typeof G == "string" ? z.literal : z.object,
3215
3180
  value: G
3216
3181
  };
3217
3182
  }));
3218
3183
  }
3219
- if (Pi(f)) {
3220
- var M = f.options[g] || f.options.other;
3184
+ if (ui(h)) {
3185
+ var M = h.options[g] || h.options.other;
3221
3186
  if (!M)
3222
- throw new ei(f.value, g, Object.keys(f.options), a);
3223
- l.push.apply(l, rt(M.value, r, t, i, n));
3187
+ throw new Ft(h.value, g, Object.keys(h.options), u);
3188
+ o.push.apply(o, Zr(M.value, r, t, i, n));
3224
3189
  continue;
3225
3190
  }
3226
- if (Ci(f)) {
3227
- var M = f.options["=".concat(g)];
3191
+ if (ci(h)) {
3192
+ var M = h.options["=".concat(g)];
3228
3193
  if (!M) {
3229
3194
  if (!Intl.PluralRules)
3230
- throw new at(`Intl.PluralRules is not available in this environment.
3195
+ throw new et(`Intl.PluralRules is not available in this environment.
3231
3196
  Try polyfilling it using "@formatjs/intl-pluralrules"
3232
- `, lr.MISSING_INTL_API, a);
3233
- var de = t.getPluralRules(r, { type: f.pluralType }).select(g - (f.offset || 0));
3234
- M = f.options[de] || f.options.other;
3197
+ `, or.MISSING_INTL_API, u);
3198
+ var de = t.getPluralRules(r, { type: h.pluralType }).select(g - (h.offset || 0));
3199
+ M = h.options[de] || h.options.other;
3235
3200
  }
3236
3201
  if (!M)
3237
- throw new ei(f.value, g, Object.keys(f.options), a);
3238
- l.push.apply(l, rt(M.value, r, t, i, n, g - (f.offset || 0)));
3202
+ throw new Ft(h.value, g, Object.keys(h.options), u);
3203
+ o.push.apply(o, Zr(M.value, r, t, i, n, g - (h.offset || 0)));
3239
3204
  continue;
3240
3205
  }
3241
3206
  }
3242
- return ys(l);
3207
+ return Kn(o);
3243
3208
  }
3244
- function vs(e, r) {
3209
+ function rs(e, r) {
3245
3210
  return r ? A(A(A({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
3246
3211
  return t[i] = A(A({}, e[i]), r[i] || {}), t;
3247
3212
  }, {})) : e;
3248
3213
  }
3249
- function _s(e, r) {
3214
+ function ts(e, r) {
3250
3215
  return r ? Object.keys(e).reduce(function(t, i) {
3251
- return t[i] = vs(e[i], r[i]), t;
3216
+ return t[i] = rs(e[i], r[i]), t;
3252
3217
  }, A({}, e)) : e;
3253
3218
  }
3254
- function bt(e) {
3219
+ function ut(e) {
3255
3220
  return {
3256
3221
  create: function() {
3257
3222
  return {
@@ -3265,39 +3230,39 @@ function bt(e) {
3265
3230
  }
3266
3231
  };
3267
3232
  }
3268
- function ws(e) {
3233
+ function is(e) {
3269
3234
  return e === void 0 && (e = {
3270
3235
  number: {},
3271
3236
  dateTime: {},
3272
3237
  pluralRules: {}
3273
3238
  }), {
3274
- getNumberFormat: mt(function() {
3239
+ getNumberFormat: at(function() {
3275
3240
  for (var r, t = [], i = 0; i < arguments.length; i++)
3276
3241
  t[i] = arguments[i];
3277
- return new ((r = Intl.NumberFormat).bind.apply(r, dt([void 0], t, !1)))();
3242
+ return new ((r = Intl.NumberFormat).bind.apply(r, st([void 0], t, !1)))();
3278
3243
  }, {
3279
- cache: bt(e.number),
3280
- strategy: gt.variadic
3244
+ cache: ut(e.number),
3245
+ strategy: ot.variadic
3281
3246
  }),
3282
- getDateTimeFormat: mt(function() {
3247
+ getDateTimeFormat: at(function() {
3283
3248
  for (var r, t = [], i = 0; i < arguments.length; i++)
3284
3249
  t[i] = arguments[i];
3285
- return new ((r = Intl.DateTimeFormat).bind.apply(r, dt([void 0], t, !1)))();
3250
+ return new ((r = Intl.DateTimeFormat).bind.apply(r, st([void 0], t, !1)))();
3286
3251
  }, {
3287
- cache: bt(e.dateTime),
3288
- strategy: gt.variadic
3252
+ cache: ut(e.dateTime),
3253
+ strategy: ot.variadic
3289
3254
  }),
3290
- getPluralRules: mt(function() {
3255
+ getPluralRules: at(function() {
3291
3256
  for (var r, t = [], i = 0; i < arguments.length; i++)
3292
3257
  t[i] = arguments[i];
3293
- return new ((r = Intl.PluralRules).bind.apply(r, dt([void 0], t, !1)))();
3258
+ return new ((r = Intl.PluralRules).bind.apply(r, st([void 0], t, !1)))();
3294
3259
  }, {
3295
- cache: bt(e.pluralRules),
3296
- strategy: gt.variadic
3260
+ cache: ut(e.pluralRules),
3261
+ strategy: ot.variadic
3297
3262
  })
3298
3263
  };
3299
3264
  }
3300
- var Ss = (
3265
+ var ns = (
3301
3266
  /** @class */
3302
3267
  function() {
3303
3268
  function e(r, t, i, n) {
@@ -3307,35 +3272,35 @@ var Ss = (
3307
3272
  number: {},
3308
3273
  dateTime: {},
3309
3274
  pluralRules: {}
3310
- }, this.format = function(h) {
3311
- var c = s.formatToParts(h);
3275
+ }, this.format = function(f) {
3276
+ var c = s.formatToParts(f);
3312
3277
  if (c.length === 1)
3313
3278
  return c[0].value;
3314
- var f = c.reduce(function(m, g) {
3279
+ var h = c.reduce(function(m, g) {
3315
3280
  return !m.length || g.type !== z.literal || typeof m[m.length - 1] != "string" ? m.push(g.value) : m[m.length - 1] += g.value, m;
3316
3281
  }, []);
3317
- return f.length <= 1 ? f[0] || "" : f;
3318
- }, this.formatToParts = function(h) {
3319
- return rt(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3282
+ return h.length <= 1 ? h[0] || "" : h;
3283
+ }, this.formatToParts = function(f) {
3284
+ return Zr(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3320
3285
  }, this.resolvedOptions = function() {
3321
- var h;
3286
+ var f;
3322
3287
  return {
3323
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3288
+ locale: ((f = s.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3324
3289
  };
3325
3290
  }, this.getAst = function() {
3326
3291
  return s.ast;
3327
3292
  }, this.locales = t, this.resolvedLocale = e.resolveLocale(t), typeof r == "string") {
3328
3293
  if (this.message = r, !e.__parse)
3329
3294
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3330
- var a = n || {};
3331
- a.formatters;
3332
- var l = On(a, ["formatters"]);
3333
- this.ast = e.__parse(r, A(A({}, l), { locale: this.resolvedLocale }));
3295
+ var u = n || {};
3296
+ u.formatters;
3297
+ var o = dn(u, ["formatters"]);
3298
+ this.ast = e.__parse(r, A(A({}, o), { locale: this.resolvedLocale }));
3334
3299
  } else
3335
3300
  this.ast = r;
3336
3301
  if (!Array.isArray(this.ast))
3337
3302
  throw new TypeError("A message must be provided as a String or AST.");
3338
- this.formats = _s(e.formats, i), this.formatters = n && n.formatters || ws(this.formatterCache);
3303
+ this.formats = ts(e.formats, i), this.formatters = n && n.formatters || is(this.formatterCache);
3339
3304
  }
3340
3305
  return Object.defineProperty(e, "defaultLocale", {
3341
3306
  get: function() {
@@ -3344,11 +3309,11 @@ var Ss = (
3344
3309
  enumerable: !1,
3345
3310
  configurable: !0
3346
3311
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(r) {
3347
- if (typeof Intl.Locale != "undefined") {
3312
+ if (!(typeof Intl.Locale > "u")) {
3348
3313
  var t = Intl.NumberFormat.supportedLocalesOf(r);
3349
3314
  return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
3350
3315
  }
3351
- }, e.__parse = gs, e.formats = {
3316
+ }, e.__parse = qn, e.formats = {
3352
3317
  number: {
3353
3318
  integer: {
3354
3319
  maximumFractionDigits: 0
@@ -3409,7 +3374,7 @@ var Ss = (
3409
3374
  }, e;
3410
3375
  }()
3411
3376
  );
3412
- function Ps(e, r) {
3377
+ function ss(e, r) {
3413
3378
  if (r == null)
3414
3379
  return;
3415
3380
  if (r in e)
@@ -3430,92 +3395,92 @@ function Ps(e, r) {
3430
3395
  i = void 0;
3431
3396
  return i;
3432
3397
  }
3433
- const Ne = {}, Cs = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), Mi = (e, r) => {
3398
+ const Be = {}, as = (e, r, t) => t && (r in Be || (Be[r] = {}), e in Be[r] || (Be[r][e] = t), t), _i = (e, r) => {
3434
3399
  if (r == null)
3435
3400
  return;
3436
- if (r in Ne && e in Ne[r])
3437
- return Ne[r][e];
3438
- const t = lt(r);
3401
+ if (r in Be && e in Be[r])
3402
+ return Be[r][e];
3403
+ const t = rt(r);
3439
3404
  for (let i = 0; i < t.length; i++) {
3440
- const n = t[i], s = As(n, e);
3405
+ const n = t[i], s = ls(n, e);
3441
3406
  if (s)
3442
- return Cs(e, r, s);
3407
+ return as(e, r, s);
3443
3408
  }
3444
3409
  };
3445
- let Ot;
3446
- const Mr = st({});
3447
- function xs(e) {
3448
- return Ot[e] || null;
3410
+ let Pt;
3411
+ const Tr = Yr({});
3412
+ function os(e) {
3413
+ return Pt[e] || null;
3449
3414
  }
3450
- function Ri(e) {
3451
- return e in Ot;
3415
+ function vi(e) {
3416
+ return e in Pt;
3452
3417
  }
3453
- function As(e, r) {
3454
- if (!Ri(e))
3418
+ function ls(e, r) {
3419
+ if (!vi(e))
3455
3420
  return null;
3456
- const t = xs(e);
3457
- return Ps(t, r);
3421
+ const t = os(e);
3422
+ return ss(t, r);
3458
3423
  }
3459
- function Ts(e) {
3424
+ function us(e) {
3460
3425
  if (e == null)
3461
3426
  return;
3462
- const r = lt(e);
3427
+ const r = rt(e);
3463
3428
  for (let t = 0; t < r.length; t++) {
3464
3429
  const i = r[t];
3465
- if (Ri(i))
3430
+ if (vi(i))
3466
3431
  return i;
3467
3432
  }
3468
3433
  }
3469
- function Ui(e, ...r) {
3470
- delete Ne[e], Mr.update((t) => (t[e] = Nn.all([t[e] || {}, ...r]), t));
3434
+ function wi(e, ...r) {
3435
+ delete Be[e], Tr.update((t) => (t[e] = fn.all([t[e] || {}, ...r]), t));
3471
3436
  }
3472
- hr(
3473
- [Mr],
3437
+ cr(
3438
+ [Tr],
3474
3439
  ([e]) => Object.keys(e)
3475
3440
  );
3476
- Mr.subscribe((e) => Ot = e);
3477
- const tt = {};
3478
- function Hs(e, r) {
3479
- tt[e].delete(r), tt[e].size === 0 && delete tt[e];
3441
+ Tr.subscribe((e) => Pt = e);
3442
+ const Wr = {};
3443
+ function cs(e, r) {
3444
+ Wr[e].delete(r), Wr[e].size === 0 && delete Wr[e];
3480
3445
  }
3481
- function ki(e) {
3482
- return tt[e];
3446
+ function Si(e) {
3447
+ return Wr[e];
3483
3448
  }
3484
- function Is(e) {
3485
- return lt(e).map((r) => {
3486
- const t = ki(r);
3449
+ function hs(e) {
3450
+ return rt(e).map((r) => {
3451
+ const t = Si(r);
3487
3452
  return [r, t ? [...t] : []];
3488
3453
  }).filter(([, r]) => r.length > 0);
3489
3454
  }
3490
- function Tt(e) {
3491
- return e == null ? !1 : lt(e).some(
3455
+ function _t(e) {
3456
+ return e == null ? !1 : rt(e).some(
3492
3457
  (r) => {
3493
3458
  var t;
3494
- return (t = ki(r)) == null ? void 0 : t.size;
3459
+ return (t = Si(r)) == null ? void 0 : t.size;
3495
3460
  }
3496
3461
  );
3497
3462
  }
3498
- function Bs(e, r) {
3463
+ function fs(e, r) {
3499
3464
  return Promise.all(
3500
- r.map((i) => (Hs(e, i), i().then((n) => n.default || n)))
3501
- ).then((i) => Ui(e, ...i));
3465
+ r.map((i) => (cs(e, i), i().then((n) => n.default || n)))
3466
+ ).then((i) => wi(e, ...i));
3502
3467
  }
3503
- const Hr = {};
3504
- function Fi(e) {
3505
- if (!Tt(e))
3506
- return e in Hr ? Hr[e] : Promise.resolve();
3507
- const r = Is(e);
3508
- return Hr[e] = Promise.all(
3468
+ const wr = {};
3469
+ function Pi(e) {
3470
+ if (!_t(e))
3471
+ return e in wr ? wr[e] : Promise.resolve();
3472
+ const r = hs(e);
3473
+ return wr[e] = Promise.all(
3509
3474
  r.map(
3510
- ([t, i]) => Bs(t, i)
3475
+ ([t, i]) => fs(t, i)
3511
3476
  )
3512
3477
  ).then(() => {
3513
- if (Tt(e))
3514
- return Fi(e);
3515
- delete Hr[e];
3516
- }), Hr[e];
3478
+ if (_t(e))
3479
+ return Pi(e);
3480
+ delete wr[e];
3481
+ }), wr[e];
3517
3482
  }
3518
- const Ns = {
3483
+ const ds = {
3519
3484
  number: {
3520
3485
  scientific: { notation: "scientific" },
3521
3486
  engineering: { notation: "engineering" },
@@ -3544,159 +3509,159 @@ const Ns = {
3544
3509
  timeZoneName: "short"
3545
3510
  }
3546
3511
  }
3547
- }, Os = {
3512
+ }, ms = {
3548
3513
  fallbackLocale: null,
3549
3514
  loadingDelay: 200,
3550
- formats: Ns,
3515
+ formats: ds,
3551
3516
  warnOnMissingMessages: !0,
3552
3517
  handleMissingMessage: void 0,
3553
3518
  ignoreTag: !0
3554
- }, Ls = Os;
3555
- function ur() {
3556
- return Ls;
3557
- }
3558
- const yt = st(!1);
3559
- var Ms = Object.defineProperty, Rs = Object.defineProperties, Us = Object.getOwnPropertyDescriptors, ri = Object.getOwnPropertySymbols, ks = Object.prototype.hasOwnProperty, Fs = Object.prototype.propertyIsEnumerable, ti = (e, r, t) => r in e ? Ms(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ds = (e, r) => {
3560
- for (var t in r || (r = {}))
3561
- ks.call(r, t) && ti(e, t, r[t]);
3562
- if (ri)
3563
- for (var t of ri(r))
3564
- Fs.call(r, t) && ti(e, t, r[t]);
3519
+ }, gs = ms;
3520
+ function lr() {
3521
+ return gs;
3522
+ }
3523
+ const ct = Yr(!1);
3524
+ var ps = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, _s = Object.prototype.propertyIsEnumerable, Gt = (e, r, t) => r in e ? ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, vs = (e, r) => {
3525
+ for (var t in r)
3526
+ Es.call(r, t) && Gt(e, t, r[t]);
3527
+ if (Dt)
3528
+ for (var t of Dt(r))
3529
+ _s.call(r, t) && Gt(e, t, r[t]);
3565
3530
  return e;
3566
- }, Gs = (e, r) => Rs(e, Us(r));
3567
- let Ht;
3568
- const it = st(null);
3569
- function ii(e) {
3531
+ }, ws = (e, r) => bs(e, ys(r));
3532
+ let vt;
3533
+ const qr = Yr(null);
3534
+ function jt(e) {
3570
3535
  return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
3571
3536
  }
3572
- function lt(e, r = ur().fallbackLocale) {
3573
- const t = ii(e);
3574
- return r ? [.../* @__PURE__ */ new Set([...t, ...ii(r)])] : t;
3537
+ function rt(e, r = lr().fallbackLocale) {
3538
+ const t = jt(e);
3539
+ return r ? [.../* @__PURE__ */ new Set([...t, ...jt(r)])] : t;
3575
3540
  }
3576
- function De() {
3577
- return Ht != null ? Ht : void 0;
3541
+ function Fe() {
3542
+ return vt ?? void 0;
3578
3543
  }
3579
- it.subscribe((e) => {
3580
- Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3544
+ qr.subscribe((e) => {
3545
+ vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3581
3546
  });
3582
- const js = (e) => {
3583
- if (e && Ts(e) && Tt(e)) {
3584
- const { loadingDelay: r } = ur();
3547
+ const Ss = (e) => {
3548
+ if (e && us(e) && _t(e)) {
3549
+ const { loadingDelay: r } = lr();
3585
3550
  let t;
3586
- return typeof window != "undefined" && De() != null && r ? t = window.setTimeout(
3587
- () => yt.set(!0),
3551
+ return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
3552
+ () => ct.set(!0),
3588
3553
  r
3589
- ) : yt.set(!0), Fi(e).then(() => {
3590
- it.set(e);
3554
+ ) : ct.set(!0), Pi(e).then(() => {
3555
+ qr.set(e);
3591
3556
  }).finally(() => {
3592
- clearTimeout(t), yt.set(!1);
3557
+ clearTimeout(t), ct.set(!1);
3593
3558
  });
3594
3559
  }
3595
- return it.set(e);
3596
- }, fr = Gs(Ds({}, it), {
3597
- set: js
3598
- }), ut = (e) => {
3560
+ return qr.set(e);
3561
+ }, hr = ws(vs({}, qr), {
3562
+ set: Ss
3563
+ }), tt = (e) => {
3599
3564
  const r = /* @__PURE__ */ Object.create(null);
3600
3565
  return (i) => {
3601
3566
  const n = JSON.stringify(i);
3602
3567
  return n in r ? r[n] : r[n] = e(i);
3603
3568
  };
3604
3569
  };
3605
- var Vs = Object.defineProperty, nt = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, ni = (e, r, t) => r in e ? Vs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Lt = (e, r) => {
3570
+ var Ps = Object.defineProperty, Jr = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Vt = (e, r, t) => r in e ? Ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ct = (e, r) => {
3606
3571
  for (var t in r || (r = {}))
3607
- Di.call(r, t) && ni(e, t, r[t]);
3608
- if (nt)
3609
- for (var t of nt(r))
3610
- Gi.call(r, t) && ni(e, t, r[t]);
3572
+ Ci.call(r, t) && Vt(e, t, r[t]);
3573
+ if (Jr)
3574
+ for (var t of Jr(r))
3575
+ xi.call(r, t) && Vt(e, t, r[t]);
3611
3576
  return e;
3612
- }, dr = (e, r) => {
3577
+ }, fr = (e, r) => {
3613
3578
  var t = {};
3614
3579
  for (var i in e)
3615
- Di.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3616
- if (e != null && nt)
3617
- for (var i of nt(e))
3618
- r.indexOf(i) < 0 && Gi.call(e, i) && (t[i] = e[i]);
3580
+ Ci.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
3581
+ if (e != null && Jr)
3582
+ for (var i of Jr(e))
3583
+ r.indexOf(i) < 0 && xi.call(e, i) && (t[i] = e[i]);
3619
3584
  return t;
3620
3585
  };
3621
- const Lr = (e, r) => {
3622
- const { formats: t } = ur();
3586
+ const Ar = (e, r) => {
3587
+ const { formats: t } = lr();
3623
3588
  if (e in t && r in t[e])
3624
3589
  return t[e][r];
3625
3590
  throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
3626
- }, $s = ut(
3591
+ }, Cs = tt(
3627
3592
  (e) => {
3628
- var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
3593
+ var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3629
3594
  if (t == null)
3630
3595
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3631
- return i && (n = Lr("number", i)), new Intl.NumberFormat(t, n);
3596
+ return i && (n = Ar("number", i)), new Intl.NumberFormat(t, n);
3632
3597
  }
3633
- ), Qs = ut(
3598
+ ), xs = tt(
3634
3599
  (e) => {
3635
- var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
3600
+ var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3636
3601
  if (t == null)
3637
3602
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3638
- return i ? n = Lr("date", i) : Object.keys(n).length === 0 && (n = Lr("date", "short")), new Intl.DateTimeFormat(t, n);
3603
+ return i ? n = Ar("date", i) : Object.keys(n).length === 0 && (n = Ar("date", "short")), new Intl.DateTimeFormat(t, n);
3639
3604
  }
3640
- ), zs = ut(
3605
+ ), As = tt(
3641
3606
  (e) => {
3642
- var r = e, { locale: t, format: i } = r, n = dr(r, ["locale", "format"]);
3607
+ var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
3643
3608
  if (t == null)
3644
3609
  throw new Error(
3645
3610
  '[svelte-i18n] A "locale" must be set to format time values'
3646
3611
  );
3647
- return i ? n = Lr("time", i) : Object.keys(n).length === 0 && (n = Lr("time", "short")), new Intl.DateTimeFormat(t, n);
3612
+ return i ? n = Ar("time", i) : Object.keys(n).length === 0 && (n = Ar("time", "short")), new Intl.DateTimeFormat(t, n);
3648
3613
  }
3649
- ), Xs = (e = {}) => {
3614
+ ), Ts = (e = {}) => {
3650
3615
  var r = e, {
3651
- locale: t = De()
3652
- } = r, i = dr(r, [
3616
+ locale: t = Fe()
3617
+ } = r, i = fr(r, [
3653
3618
  "locale"
3654
3619
  ]);
3655
- return $s(Lt({ locale: t }, i));
3656
- }, Zs = (e = {}) => {
3620
+ return Cs(Ct({ locale: t }, i));
3621
+ }, Hs = (e = {}) => {
3657
3622
  var r = e, {
3658
- locale: t = De()
3659
- } = r, i = dr(r, [
3623
+ locale: t = Fe()
3624
+ } = r, i = fr(r, [
3660
3625
  "locale"
3661
3626
  ]);
3662
- return Qs(Lt({ locale: t }, i));
3663
- }, Ws = (e = {}) => {
3627
+ return xs(Ct({ locale: t }, i));
3628
+ }, Is = (e = {}) => {
3664
3629
  var r = e, {
3665
- locale: t = De()
3666
- } = r, i = dr(r, [
3630
+ locale: t = Fe()
3631
+ } = r, i = fr(r, [
3667
3632
  "locale"
3668
3633
  ]);
3669
- return zs(Lt({ locale: t }, i));
3670
- }, qs = ut(
3634
+ return As(Ct({ locale: t }, i));
3635
+ }, Bs = tt(
3671
3636
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3672
- (e, r = De()) => new Ss(e, r, ur().formats, {
3673
- ignoreTag: ur().ignoreTag
3637
+ (e, r = Fe()) => new ns(e, r, lr().formats, {
3638
+ ignoreTag: lr().ignoreTag
3674
3639
  })
3675
- ), Js = (e, r = {}) => {
3640
+ ), Ns = (e, r = {}) => {
3676
3641
  var t, i, n, s;
3677
- let a = r;
3678
- typeof e == "object" && (a = e, e = a.id);
3642
+ let u = r;
3643
+ typeof e == "object" && (u = e, e = u.id);
3679
3644
  const {
3680
- values: l,
3681
- locale: h = De(),
3645
+ values: o,
3646
+ locale: f = Fe(),
3682
3647
  default: c
3683
- } = a;
3684
- if (h == null)
3648
+ } = u;
3649
+ if (f == null)
3685
3650
  throw new Error(
3686
3651
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3687
3652
  );
3688
- let f = Mi(e, h);
3689
- if (!f)
3690
- f = (s = (n = (i = (t = ur()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
3691
- else if (typeof f != "string")
3653
+ let h = _i(e, f);
3654
+ if (!h)
3655
+ h = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
3656
+ else if (typeof h != "string")
3692
3657
  return console.warn(
3693
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3694
- ), f;
3695
- if (!l)
3696
- return f;
3697
- let m = f;
3658
+ `[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.`
3659
+ ), h;
3660
+ if (!o)
3661
+ return h;
3662
+ let m = h;
3698
3663
  try {
3699
- m = qs(f, h).format(l);
3664
+ m = Bs(h, f).format(o);
3700
3665
  } catch (g) {
3701
3666
  g instanceof Error && console.warn(
3702
3667
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3704,18 +3669,18 @@ const Lr = (e, r) => {
3704
3669
  );
3705
3670
  }
3706
3671
  return m;
3707
- }, Ys = (e, r) => Ws(r).format(e), Ks = (e, r) => Zs(r).format(e), eo = (e, r) => Xs(r).format(e), ro = (e, r = De()) => Mi(e, r), to = hr([fr, Mr], () => Js);
3708
- hr([fr], () => Ys);
3709
- hr([fr], () => Ks);
3710
- hr([fr], () => eo);
3711
- hr([fr, Mr], () => ro);
3712
- function si(e, r) {
3713
- Ui(e, r);
3714
- }
3715
- function io(e) {
3716
- fr.set(e);
3717
- }
3718
- const oi = {
3672
+ }, Os = (e, r) => Is(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => _i(e, r), Us = cr([hr, Tr], () => Ns);
3673
+ cr([hr], () => Os);
3674
+ cr([hr], () => Ls);
3675
+ cr([hr], () => Ms);
3676
+ cr([hr, Tr], () => Rs);
3677
+ function $t(e, r) {
3678
+ wi(e, r);
3679
+ }
3680
+ function ks(e) {
3681
+ hr.set(e);
3682
+ }
3683
+ const Qt = {
3719
3684
  en: {
3720
3685
  registerTitle: "Create your account",
3721
3686
  registerSubtitle: "Already have an account?",
@@ -3970,20 +3935,20 @@ const oi = {
3970
3935
  registerNext: "Next"
3971
3936
  }
3972
3937
  };
3973
- function no(e) {
3974
- Wi(e, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
3938
+ function Fs(e) {
3939
+ Hi(e, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
3975
3940
  }
3976
- function ai(e) {
3941
+ function zt(e) {
3977
3942
  let r, t = (
3978
3943
  /*$_*/
3979
3944
  e[30]("registerEmailError") + ""
3980
3945
  ), i;
3981
3946
  return {
3982
3947
  c() {
3983
- r = v("p"), i = T(t), o(r, "class", "InvalidInput");
3948
+ r = E("p"), i = T(t), a(r, "class", "InvalidInput");
3984
3949
  },
3985
3950
  m(n, s) {
3986
- fe(n, r, s), u(r, i);
3951
+ fe(n, r, s), l(r, i);
3987
3952
  },
3988
3953
  p(n, s) {
3989
3954
  s[0] & /*$_*/
@@ -3995,17 +3960,17 @@ function ai(e) {
3995
3960
  }
3996
3961
  };
3997
3962
  }
3998
- function li(e) {
3963
+ function Xt(e) {
3999
3964
  let r, t = (
4000
3965
  /*$_*/
4001
3966
  e[30]("registerUsernameError") + ""
4002
3967
  ), i;
4003
3968
  return {
4004
3969
  c() {
4005
- r = v("p"), i = T(t), o(r, "class", "InvalidInput");
3970
+ r = E("p"), i = T(t), a(r, "class", "InvalidInput");
4006
3971
  },
4007
3972
  m(n, s) {
4008
- fe(n, r, s), u(r, i);
3973
+ fe(n, r, s), l(r, i);
4009
3974
  },
4010
3975
  p(n, s) {
4011
3976
  s[0] & /*$_*/
@@ -4017,57 +3982,57 @@ function li(e) {
4017
3982
  }
4018
3983
  };
4019
3984
  }
4020
- function so(e) {
4021
- let r, t, i, n, s, a, l, h, c;
3985
+ function Ds(e) {
3986
+ let r, t, i, n, s, u, o, f, c;
4022
3987
  return {
4023
3988
  c() {
4024
- r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), a = S("path"), l = S("circle"), o(a, "class", "a"), o(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
3989
+ r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("path"), o = S("circle"), a(u, "class", "a"), a(u, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), a(u, "transform", "translate(0)"), a(o, "class", "a"), a(o, "cx", "2.779"), a(o, "cy", "2.779"), a(o, "r", "2.779"), a(o, "transform", "translate(20.827 30.303)"), a(s, "transform", "translate(-14.185 -27.832)"), a(r, "class", "TogglePasswordVisibility"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "18.843"), a(r, "height", "10.5"), a(r, "viewBox", "0 0 18.843 10.5");
4025
3990
  },
4026
- m(f, m) {
4027
- fe(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), h || (c = x(
3991
+ m(h, m) {
3992
+ fe(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, o), f || (c = x(
4028
3993
  r,
4029
3994
  "click",
4030
3995
  /*click_handler_2*/
4031
3996
  e[61]
4032
- ), h = !0);
3997
+ ), f = !0);
4033
3998
  },
4034
3999
  p: X,
4035
- d(f) {
4036
- f && se(r), h = !1, c();
4000
+ d(h) {
4001
+ h && se(r), f = !1, c();
4037
4002
  }
4038
4003
  };
4039
4004
  }
4040
- function oo(e) {
4041
- let r, t, i, n, s, a, l, h, c, f, m, g, b, _, E;
4005
+ function Gs(e) {
4006
+ let r, t, i, n, s, u, o, f, c, h, m, g, b, v, y;
4042
4007
  return {
4043
4008
  c() {
4044
- r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), a = S("circle"), l = S("g"), h = S("path"), c = S("path"), f = S("g"), m = S("path"), g = S("path"), b = S("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(h, "class", "a"), o(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(h, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(f, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
4009
+ r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("circle"), o = S("g"), f = S("path"), c = S("path"), h = S("g"), m = S("path"), g = S("path"), b = S("rect"), a(u, "class", "a"), a(u, "cx", "0.05"), a(u, "cy", "0.05"), a(u, "r", "0.05"), a(u, "transform", "translate(121.017 31.148)"), a(f, "class", "a"), a(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), a(f, "transform", "translate(-142.164 -39.123)"), a(c, "class", "a"), a(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), a(c, "transform", "translate(-136.413 -42.068)"), a(o, "transform", "translate(117.499 27.37)"), a(m, "class", "a"), a(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), a(m, "transform", "translate(-110.856 -33.157)"), a(g, "class", "a"), a(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), a(g, "transform", "translate(-130.743 -29.617)"), a(h, "transform", "translate(110.856 24.899)"), a(b, "class", "a"), a(b, "width", "0.972"), a(b, "height", "15.861"), a(b, "rx", "0.486"), a(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), a(s, "transform", "translate(-110.856 -23.242)"), a(r, "class", "TogglePasswordVisibility"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "18.844"), a(r, "height", "12.887"), a(r, "viewBox", "0 0 18.844 12.887");
4045
4010
  },
4046
4011
  m(w, B) {
4047
- fe(w, r, B), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), _ || (E = x(
4012
+ fe(w, r, B), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, o), l(o, f), l(o, c), l(s, h), l(h, m), l(h, g), l(s, b), v || (y = x(
4048
4013
  r,
4049
4014
  "click",
4050
4015
  /*click_handler_1*/
4051
4016
  e[60]
4052
- ), _ = !0);
4017
+ ), v = !0);
4053
4018
  },
4054
4019
  p: X,
4055
4020
  d(w) {
4056
- w && se(r), _ = !1, E();
4021
+ w && se(r), v = !1, y();
4057
4022
  }
4058
4023
  };
4059
4024
  }
4060
- function ui(e) {
4025
+ function Zt(e) {
4061
4026
  let r, t = (
4062
4027
  /*$_*/
4063
4028
  e[30]("registerPasswordError") + ""
4064
4029
  ), i;
4065
4030
  return {
4066
4031
  c() {
4067
- r = v("p"), i = T(t), o(r, "class", "InvalidInput");
4032
+ r = E("p"), i = T(t), a(r, "class", "InvalidInput");
4068
4033
  },
4069
4034
  m(n, s) {
4070
- fe(n, r, s), u(r, i);
4035
+ fe(n, r, s), l(r, i);
4071
4036
  },
4072
4037
  p(n, s) {
4073
4038
  s[0] & /*$_*/
@@ -4079,17 +4044,17 @@ function ui(e) {
4079
4044
  }
4080
4045
  };
4081
4046
  }
4082
- function ci(e) {
4047
+ function Wt(e) {
4083
4048
  let r, t = (
4084
4049
  /*$_*/
4085
4050
  e[30]("registerSimplePasswordError") + ""
4086
4051
  ), i;
4087
4052
  return {
4088
4053
  c() {
4089
- r = v("p"), i = T(t), o(r, "class", "InvalidInput");
4054
+ r = E("p"), i = T(t), a(r, "class", "InvalidInput");
4090
4055
  },
4091
4056
  m(n, s) {
4092
- fe(n, r, s), u(r, i);
4057
+ fe(n, r, s), l(r, i);
4093
4058
  },
4094
4059
  p(n, s) {
4095
4060
  s[0] & /*$_*/
@@ -4101,57 +4066,57 @@ function ci(e) {
4101
4066
  }
4102
4067
  };
4103
4068
  }
4104
- function ao(e) {
4105
- let r, t, i, n, s, a, l, h, c;
4069
+ function js(e) {
4070
+ let r, t, i, n, s, u, o, f, c;
4106
4071
  return {
4107
4072
  c() {
4108
- r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), a = S("path"), l = S("circle"), o(a, "class", "a"), o(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
4073
+ r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("path"), o = S("circle"), a(u, "class", "a"), a(u, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), a(u, "transform", "translate(0)"), a(o, "class", "a"), a(o, "cx", "2.779"), a(o, "cy", "2.779"), a(o, "r", "2.779"), a(o, "transform", "translate(20.827 30.303)"), a(s, "transform", "translate(-14.185 -27.832)"), a(r, "class", "ToggleConfirmPasswordVisibility"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "18.843"), a(r, "height", "10.5"), a(r, "viewBox", "0 0 18.843 10.5");
4109
4074
  },
4110
- m(f, m) {
4111
- fe(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), h || (c = x(
4075
+ m(h, m) {
4076
+ fe(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, o), f || (c = x(
4112
4077
  r,
4113
4078
  "click",
4114
4079
  /*click_handler_4*/
4115
4080
  e[67]
4116
- ), h = !0);
4081
+ ), f = !0);
4117
4082
  },
4118
4083
  p: X,
4119
- d(f) {
4120
- f && se(r), h = !1, c();
4084
+ d(h) {
4085
+ h && se(r), f = !1, c();
4121
4086
  }
4122
4087
  };
4123
4088
  }
4124
- function lo(e) {
4125
- let r, t, i, n, s, a, l, h, c, f, m, g, b, _, E;
4089
+ function Vs(e) {
4090
+ let r, t, i, n, s, u, o, f, c, h, m, g, b, v, y;
4126
4091
  return {
4127
4092
  c() {
4128
- r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), a = S("circle"), l = S("g"), h = S("path"), c = S("path"), f = S("g"), m = S("path"), g = S("path"), b = S("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(h, "class", "a"), o(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(h, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(f, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
4093
+ r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("circle"), o = S("g"), f = S("path"), c = S("path"), h = S("g"), m = S("path"), g = S("path"), b = S("rect"), a(u, "class", "a"), a(u, "cx", "0.05"), a(u, "cy", "0.05"), a(u, "r", "0.05"), a(u, "transform", "translate(121.017 31.148)"), a(f, "class", "a"), a(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), a(f, "transform", "translate(-142.164 -39.123)"), a(c, "class", "a"), a(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), a(c, "transform", "translate(-136.413 -42.068)"), a(o, "transform", "translate(117.499 27.37)"), a(m, "class", "a"), a(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), a(m, "transform", "translate(-110.856 -33.157)"), a(g, "class", "a"), a(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), a(g, "transform", "translate(-130.743 -29.617)"), a(h, "transform", "translate(110.856 24.899)"), a(b, "class", "a"), a(b, "width", "0.972"), a(b, "height", "15.861"), a(b, "rx", "0.486"), a(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), a(s, "transform", "translate(-110.856 -23.242)"), a(r, "class", "ToggleConfirmPasswordVisibility"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "18.844"), a(r, "height", "12.887"), a(r, "viewBox", "0 0 18.844 12.887");
4129
4094
  },
4130
4095
  m(w, B) {
4131
- fe(w, r, B), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), _ || (E = x(
4096
+ fe(w, r, B), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, o), l(o, f), l(o, c), l(s, h), l(h, m), l(h, g), l(s, b), v || (y = x(
4132
4097
  r,
4133
4098
  "click",
4134
4099
  /*click_handler_3*/
4135
4100
  e[66]
4136
- ), _ = !0);
4101
+ ), v = !0);
4137
4102
  },
4138
4103
  p: X,
4139
4104
  d(w) {
4140
- w && se(r), _ = !1, E();
4105
+ w && se(r), v = !1, y();
4141
4106
  }
4142
4107
  };
4143
4108
  }
4144
- function hi(e) {
4109
+ function qt(e) {
4145
4110
  let r, t = (
4146
4111
  /*$_*/
4147
4112
  e[30]("registerConfirmPasswordError") + ""
4148
4113
  ), i;
4149
4114
  return {
4150
4115
  c() {
4151
- r = v("p"), i = T(t), o(r, "class", "InvalidInput");
4116
+ r = E("p"), i = T(t), a(r, "class", "InvalidInput");
4152
4117
  },
4153
4118
  m(n, s) {
4154
- fe(n, r, s), u(r, i);
4119
+ fe(n, r, s), l(r, i);
4155
4120
  },
4156
4121
  p(n, s) {
4157
4122
  s[0] & /*$_*/
@@ -4163,7 +4128,7 @@ function hi(e) {
4163
4128
  }
4164
4129
  };
4165
4130
  }
4166
- function fi(e) {
4131
+ function Jt(e) {
4167
4132
  let r, t = (
4168
4133
  /*custominputtextswitch*/
4169
4134
  (e[2] == "true" ? (
@@ -4176,10 +4141,10 @@ function fi(e) {
4176
4141
  ), i;
4177
4142
  return {
4178
4143
  c() {
4179
- r = v("p"), i = T(t), o(r, "class", "InvalidInput");
4144
+ r = E("p"), i = T(t), a(r, "class", "InvalidInput");
4180
4145
  },
4181
4146
  m(n, s) {
4182
- fe(n, r, s), u(r, i);
4147
+ fe(n, r, s), l(r, i);
4183
4148
  },
4184
4149
  p(n, s) {
4185
4150
  s[0] & /*custominputtextswitch, $_*/
@@ -4197,7 +4162,7 @@ function fi(e) {
4197
4162
  }
4198
4163
  };
4199
4164
  }
4200
- function di(e) {
4165
+ function Yt(e) {
4201
4166
  let r, t = (
4202
4167
  /*custominputtextswitch*/
4203
4168
  (e[2] == "true" ? (
@@ -4210,10 +4175,10 @@ function di(e) {
4210
4175
  ), i;
4211
4176
  return {
4212
4177
  c() {
4213
- r = v("p"), i = T(t), o(r, "class", "InvalidInput");
4178
+ r = E("p"), i = T(t), a(r, "class", "InvalidInput");
4214
4179
  },
4215
4180
  m(n, s) {
4216
- fe(n, r, s), u(r, i);
4181
+ fe(n, r, s), l(r, i);
4217
4182
  },
4218
4183
  p(n, s) {
4219
4184
  s[0] & /*custominputtextswitch, $_*/
@@ -4231,32 +4196,32 @@ function di(e) {
4231
4196
  }
4232
4197
  };
4233
4198
  }
4234
- function uo(e) {
4199
+ function $s(e) {
4235
4200
  let r, t, i, n = (
4236
4201
  /*$_*/
4237
4202
  e[30]("registerTitle") + ""
4238
- ), s, a, l, h = (
4203
+ ), s, u, o, f = (
4239
4204
  /*$_*/
4240
4205
  e[30]("registerSubtitle") + ""
4241
- ), c, f, m, g = (
4206
+ ), c, h, m, g = (
4242
4207
  /*$_*/
4243
4208
  e[30]("registerSubtitleLogin") + ""
4244
- ), b, _, E, w, B, $ = (
4209
+ ), b, v, y, w, B, $ = (
4245
4210
  /*$_*/
4246
4211
  e[30]("registerEmail") + ""
4247
- ), M, de, G, ye, R, Ge, Ae, ve, U, Z, me = (
4212
+ ), M, de, G, be, R, De, xe, Ee, U, Z, me = (
4248
4213
  /*$_*/
4249
4214
  e[30]("registerUsername") + ""
4250
- ), W, oe, _e, Oe, k, we, Te, ae, D, O, q, Ee = (
4215
+ ), W, ae, _e, Ne, k, ve, Ae, oe, D, O, q, ye = (
4251
4216
  /*$_*/
4252
4217
  e[30]("registerPassword") + ""
4253
- ), mr, gr, je, le, L, Le, Rr, Ve, $e, Me, Re, pr, j, He, Ue = (
4218
+ ), dr, mr, Ge, le, L, Oe, Hr, je, Ve, Le, Me, gr, j, Te, Re = (
4254
4219
  /*$_*/
4255
4220
  e[30]("registerConfirmPassword") + ""
4256
- ), br, Qe, ke, yr, Q, Er, ze, Xe, Ur, Se, Fe, Ze = (
4221
+ ), pr, $e, Ue, br, Q, yr, Qe, ze, Ir, we, ke, Xe = (
4257
4222
  /*$_*/
4258
4223
  e[30]("registerPromoCode") + ""
4259
- ), vr, kr, Fr, ue, Dr, We, Gr, ge, Ie, qe = (
4224
+ ), Er, Br, Nr, ue, Or, Ze, Lr, ge, He, We = (
4260
4225
  /*custominputtextswitch*/
4261
4226
  (e[2] == "true" ? (
4262
4227
  /*$_*/
@@ -4265,7 +4230,7 @@ function uo(e) {
4265
4230
  /*$_*/
4266
4231
  e[30]("registerSecurityQuestion")
4267
4232
  )) + ""
4268
- ), _r, jr, Je, Vr, ce, $r, Ye, Qr, pe, Be, Ke = (
4233
+ ), _r, Mr, qe, Rr, ce, Ur, Je, kr, pe, Ie, Ye = (
4269
4234
  /*custominputtextswitch*/
4270
4235
  (e[2] == "true" ? (
4271
4236
  /*$_*/
@@ -4274,105 +4239,104 @@ function uo(e) {
4274
4239
  /*$_*/
4275
4240
  e[30]("registerSecurityAnswer")
4276
4241
  )) + ""
4277
- ), wr, zr, er, Xr, he, Zr, rr, Wr, p, I = (
4242
+ ), vr, Fr, Ke, Dr, he, Gr, er, jr, p, I = (
4278
4243
  /*$_*/
4279
4244
  e[30]("registerNext") + ""
4280
- ), V, qr, ct, Mt, J = (
4245
+ ), V, Vr, it, xt, J = (
4281
4246
  /*invalidEmail*/
4282
- e[4] && ai(e)
4247
+ e[4] && zt(e)
4283
4248
  ), Y = (
4284
4249
  /*invalidName*/
4285
- e[5] && li(e)
4250
+ e[5] && Xt(e)
4286
4251
  );
4287
- function Rt(d, y) {
4252
+ function At(d, _) {
4288
4253
  return (
4289
4254
  /*isPasswordVisible*/
4290
- d[25] ? oo : so
4255
+ d[25] ? Gs : Ds
4291
4256
  );
4292
4257
  }
4293
- let Jr = Rt(e), Pe = Jr(e), K = (
4258
+ let $r = At(e), Se = $r(e), K = (
4294
4259
  /*invalidPassword*/
4295
4260
  e[6] && /*simplepasswordvalidation*/
4296
- e[0] !== "true" && ui(e)
4261
+ e[0] !== "true" && Zt(e)
4297
4262
  ), ee = (
4298
4263
  /*invalidPassword*/
4299
4264
  e[6] && /*simplepasswordvalidation*/
4300
- e[0] === "true" && ci(e)
4265
+ e[0] === "true" && Wt(e)
4301
4266
  );
4302
- function Ut(d, y) {
4267
+ function Tt(d, _) {
4303
4268
  return (
4304
4269
  /*isConfirmPasswordVisible*/
4305
- d[26] ? lo : ao
4270
+ d[26] ? Vs : js
4306
4271
  );
4307
4272
  }
4308
- let Yr = Ut(e), Ce = Yr(e), re = (
4273
+ let Qr = Tt(e), Pe = Qr(e), re = (
4309
4274
  /*invalidConfirmPassword*/
4310
- e[7] && hi(e)
4275
+ e[7] && qt(e)
4311
4276
  ), te = (
4312
4277
  /*invalidSecurityQuestion*/
4313
- e[8] && fi(e)
4278
+ e[8] && Jt(e)
4314
4279
  ), ie = (
4315
4280
  /*invalidSecurityAnswer*/
4316
- e[9] && di(e)
4281
+ e[9] && Yt(e)
4317
4282
  );
4318
4283
  return {
4319
4284
  c() {
4320
- var d, y, Sr, Pr, Cr, xr, Ar, Tr;
4321
- r = v("div"), t = v("div"), i = v("h2"), s = T(n), a = H(), l = v("p"), c = T(h), f = H(), m = v("span"), b = T(g), _ = H(), E = v("form"), w = v("div"), B = v("label"), M = T($), de = T(":"), G = v("span"), G.textContent = "*", ye = H(), R = v("input"), Ge = H(), J && J.c(), ve = H(), U = v("div"), Z = v("label"), W = T(me), oe = T(":"), _e = v("span"), _e.textContent = "*", Oe = H(), k = v("input"), Te = H(), Y && Y.c(), D = H(), O = v("div"), q = v("label"), mr = T(Ee), gr = T(":"), je = v("span"), je.textContent = "*", le = H(), L = v("input"), Rr = H(), Pe.c(), Ve = H(), K && K.c(), $e = H(), ee && ee.c(), pr = H(), j = v("div"), He = v("label"), br = T(Ue), Qe = T(":"), ke = v("span"), ke.textContent = "*", yr = H(), Q = v("input"), Er = H(), Ce.c(), ze = H(), re && re.c(), Ur = H(), Se = v("div"), Fe = v("label"), vr = T(Ze), kr = T(":"), Fr = H(), ue = v("input"), Dr = H(), Gr = H(), ge = v("div"), Ie = v("label"), _r = T(qe), jr = T(":"), Je = v("span"), Je.textContent = "*", Vr = H(), ce = v("input"), $r = H(), te && te.c(), Qr = H(), pe = v("div"), Be = v("label"), wr = T(Ke), zr = T(":"), er = v("span"), er.textContent = "*", Xr = H(), he = v("input"), Zr = H(), ie && ie.c(), Wr = H(), p = v("button"), V = T(I), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(l, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(B, "for", "Email"), o(R, "type", "text"), o(R, "id", "Email"), o(w, "class", Ae = "EmailContainer " + /*invalidEmail*/
4285
+ r = E("div"), t = E("div"), i = E("h2"), s = T(n), u = H(), o = E("p"), c = T(f), h = H(), m = E("span"), b = T(g), v = H(), y = E("form"), w = E("div"), B = E("label"), M = T($), de = T(":"), G = E("span"), G.textContent = "*", be = H(), R = E("input"), De = H(), J && J.c(), Ee = H(), U = E("div"), Z = E("label"), W = T(me), ae = T(":"), _e = E("span"), _e.textContent = "*", Ne = H(), k = E("input"), Ae = H(), Y && Y.c(), D = H(), O = E("div"), q = E("label"), dr = T(ye), mr = T(":"), Ge = E("span"), Ge.textContent = "*", le = H(), L = E("input"), Hr = H(), Se.c(), je = H(), K && K.c(), Ve = H(), ee && ee.c(), gr = H(), j = E("div"), Te = E("label"), pr = T(Re), $e = T(":"), Ue = E("span"), Ue.textContent = "*", br = H(), Q = E("input"), yr = H(), Pe.c(), Qe = H(), re && re.c(), Ir = H(), we = E("div"), ke = E("label"), Er = T(Xe), Br = T(":"), Nr = H(), ue = E("input"), Or = H(), Lr = H(), ge = E("div"), He = E("label"), _r = T(We), Mr = T(":"), qe = E("span"), qe.textContent = "*", Rr = H(), ce = E("input"), Ur = H(), te && te.c(), kr = H(), pe = E("div"), Ie = E("label"), vr = T(Ye), Fr = T(":"), Ke = E("span"), Ke.textContent = "*", Dr = H(), he = E("input"), Gr = H(), ie && ie.c(), jr = H(), p = E("button"), V = T(I), a(i, "class", "RegisterFormTitle"), a(m, "class", "FormLoginCallToAction"), a(o, "class", "RegisterFormSubtitle"), a(t, "class", "RegisterFormHeader"), a(G, "class", "FormRequired"), a(B, "for", "Email"), a(R, "type", "text"), a(R, "id", "Email"), a(w, "class", xe = "EmailContainer " + /*invalidEmail*/
4322
4286
  (e[4] && !/*emailFocus*/
4323
4287
  e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4324
- (((d = e[17]) == null ? void 0 : d.indexOf("email")) >= 0 ? "Hidden" : "")), o(_e, "class", "FormRequired"), o(Z, "for", "UserName"), o(k, "type", "text"), o(k, "id", "UserName"), o(k, "autocomplete", we = /*savecredentials*/
4325
- e[1] ? "username" : "off"), o(U, "class", ae = "UserContainer " + /*invalidName*/
4288
+ (e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), a(_e, "class", "FormRequired"), a(Z, "for", "UserName"), a(k, "type", "text"), a(k, "id", "UserName"), a(k, "autocomplete", ve = /*savecredentials*/
4289
+ e[1] ? "username" : "off"), a(U, "class", oe = "UserContainer " + /*invalidName*/
4326
4290
  (e[5] && !/*usernameFocus*/
4327
4291
  e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4328
- (((y = e[17]) == null ? void 0 : y.indexOf("username")) >= 0 ? "Hidden" : "")), o(je, "class", "FormRequired"), o(q, "for", "Password"), o(L, "name", "new-password"), o(L, "type", "password"), o(L, "id", "new-password"), o(L, "autocomplete", Le = /*savecredentials*/
4329
- e[1] ? "new-password" : "off"), o(L, "aria-describedby", "password-constraints"), o(O, "class", Me = "PasswordContainer " + /*invalidPassword*/
4292
+ (e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), a(Ge, "class", "FormRequired"), a(q, "for", "Password"), a(L, "name", "new-password"), a(L, "type", "password"), a(L, "id", "new-password"), a(L, "autocomplete", Oe = /*savecredentials*/
4293
+ e[1] ? "new-password" : "off"), a(L, "aria-describedby", "password-constraints"), a(O, "class", Le = "PasswordContainer " + /*invalidPassword*/
4330
4294
  (e[6] && !/*passwordFocus*/
4331
4295
  e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4332
- (((Sr = e[17]) == null ? void 0 : Sr.indexOf("password")) >= 0 ? "Hidden" : "")), O.hidden = Re = /*disabledFieldsList*/
4333
- ((Pr = e[17]) == null ? void 0 : Pr.indexOf("password")) >= 0, o(ke, "class", "FormRequired"), o(He, "for", "ConfirmPassword"), o(Q, "type", "password"), o(Q, "id", "ConfirmPassword"), o(j, "class", Xe = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
4296
+ (e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), O.hidden = Me = /*disabledFieldsList*/
4297
+ e[17]?.indexOf("password") >= 0, a(Ue, "class", "FormRequired"), a(Te, "for", "ConfirmPassword"), a(Q, "type", "password"), a(Q, "id", "ConfirmPassword"), a(j, "class", ze = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
4334
4298
  (e[7] && !/*confirmPasswordFocus*/
4335
4299
  e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4336
- (((Cr = e[17]) == null ? void 0 : Cr.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")), o(Fe, "for", "PromoCode"), o(ue, "type", "text"), o(ue, "id", "PromoCode"), o(Se, "class", We = "PromoCodeContainer " + /*disabledFieldsList*/
4337
- (((xr = e[17]) == null ? void 0 : xr.indexOf("promoCode")) >= 0 ? "Hidden" : "")), o(Je, "class", "FormRequired"), o(Ie, "for", "SecurityQuestion"), o(ce, "type", "text"), o(ce, "id", "SecurityQuestion"), o(ge, "class", Ye = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
4300
+ (e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), a(ke, "for", "PromoCode"), a(ue, "type", "text"), a(ue, "id", "PromoCode"), a(we, "class", Ze = "PromoCodeContainer " + /*disabledFieldsList*/
4301
+ (e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), a(qe, "class", "FormRequired"), a(He, "for", "SecurityQuestion"), a(ce, "type", "text"), a(ce, "id", "SecurityQuestion"), a(ge, "class", Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
4338
4302
  (e[8] && !/*securityQFocus*/
4339
4303
  e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
4340
- (((Ar = e[17]) == null ? void 0 : Ar.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")), o(er, "class", "FormRequired"), o(Be, "for", "SecurityAnswer"), o(he, "type", "text"), o(he, "id", "SecurityAnswer"), o(pe, "class", rr = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
4304
+ (e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), a(Ke, "class", "FormRequired"), a(Ie, "for", "SecurityAnswer"), a(he, "type", "text"), a(he, "id", "SecurityAnswer"), a(pe, "class", er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
4341
4305
  (e[9] && !/*securityAFocus*/
4342
4306
  e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
4343
- (((Tr = e[17]) == null ? void 0 : Tr.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")), o(p, "class", "RegisterStepNext"), p.disabled = qr = !/*isValid*/
4344
- e[29], o(E, "class", "RegisterFormContent");
4307
+ (e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), a(p, "class", "RegisterStepNext"), p.disabled = Vr = !/*isValid*/
4308
+ e[29], a(y, "class", "RegisterFormContent");
4345
4309
  },
4346
- m(d, y) {
4347
- fe(d, r, y), u(r, t), u(t, i), u(i, s), u(t, a), u(t, l), u(l, c), u(l, f), u(l, m), u(m, b), u(r, _), u(r, E), u(E, w), u(w, B), u(B, M), u(B, de), u(B, G), u(w, ye), u(w, R), ne(
4310
+ m(d, _) {
4311
+ fe(d, r, _), l(r, t), l(t, i), l(i, s), l(t, u), l(t, o), l(o, c), l(o, h), l(o, m), l(m, b), l(r, v), l(r, y), l(y, w), l(w, B), l(B, M), l(B, de), l(B, G), l(w, be), l(w, R), ne(
4348
4312
  R,
4349
4313
  /*userEmail*/
4350
4314
  e[19]
4351
- ), u(w, Ge), J && J.m(w, null), u(E, ve), u(E, U), u(U, Z), u(Z, W), u(Z, oe), u(Z, _e), u(U, Oe), u(U, k), ne(
4315
+ ), l(w, De), J && J.m(w, null), l(y, Ee), l(y, U), l(U, Z), l(Z, W), l(Z, ae), l(Z, _e), l(U, Ne), l(U, k), ne(
4352
4316
  k,
4353
4317
  /*userValue*/
4354
4318
  e[18]
4355
- ), u(U, Te), Y && Y.m(U, null), u(E, D), u(E, O), u(O, q), u(q, mr), u(q, gr), u(q, je), u(O, le), u(O, L), ne(
4319
+ ), l(U, Ae), Y && Y.m(U, null), l(y, D), l(y, O), l(O, q), l(q, dr), l(q, mr), l(q, Ge), l(O, le), l(O, L), ne(
4356
4320
  L,
4357
4321
  /*userPassword*/
4358
4322
  e[20]
4359
- ), e[59](L), u(O, Rr), Pe.m(O, null), u(O, Ve), K && K.m(O, null), u(O, $e), ee && ee.m(O, null), u(E, pr), u(E, j), u(j, He), u(He, br), u(He, Qe), u(He, ke), u(j, yr), u(j, Q), ne(
4323
+ ), e[59](L), l(O, Hr), Se.m(O, null), l(O, je), K && K.m(O, null), l(O, Ve), ee && ee.m(O, null), l(y, gr), l(y, j), l(j, Te), l(Te, pr), l(Te, $e), l(Te, Ue), l(j, br), l(j, Q), ne(
4360
4324
  Q,
4361
4325
  /*confirmUserPassword*/
4362
4326
  e[21]
4363
- ), e[65](Q), u(j, Er), Ce.m(j, null), u(j, ze), re && re.m(j, null), u(E, Ur), u(E, Se), u(Se, Fe), u(Fe, vr), u(Fe, kr), u(Se, Fr), u(Se, ue), ne(
4327
+ ), e[65](Q), l(j, yr), Pe.m(j, null), l(j, Qe), re && re.m(j, null), l(y, Ir), l(y, we), l(we, ke), l(ke, Er), l(ke, Br), l(we, Nr), l(we, ue), ne(
4364
4328
  ue,
4365
4329
  /*promoCode*/
4366
4330
  e[24]
4367
- ), u(Se, Dr), u(E, Gr), u(E, ge), u(ge, Ie), u(Ie, _r), u(Ie, jr), u(Ie, Je), u(ge, Vr), u(ge, ce), ne(
4331
+ ), l(we, Or), l(y, Lr), l(y, ge), l(ge, He), l(He, _r), l(He, Mr), l(He, qe), l(ge, Rr), l(ge, ce), ne(
4368
4332
  ce,
4369
4333
  /*securityQuestion*/
4370
4334
  e[22]
4371
- ), u(ge, $r), te && te.m(ge, null), u(E, Qr), u(E, pe), u(pe, Be), u(Be, wr), u(Be, zr), u(Be, er), u(pe, Xr), u(pe, he), ne(
4335
+ ), l(ge, Ur), te && te.m(ge, null), l(y, kr), l(y, pe), l(pe, Ie), l(Ie, vr), l(Ie, Fr), l(Ie, Ke), l(pe, Dr), l(pe, he), ne(
4372
4336
  he,
4373
4337
  /*securityAnswer*/
4374
4338
  e[23]
4375
- ), u(pe, Zr), ie && ie.m(pe, null), u(E, Wr), u(E, p), u(p, V), e[78](r), ct || (Mt = [
4339
+ ), l(pe, Gr), ie && ie.m(pe, null), l(y, jr), l(y, p), l(p, V), e[78](r), it || (xt = [
4376
4340
  x(
4377
4341
  m,
4378
4342
  "click",
@@ -4553,142 +4517,141 @@ function uo(e) {
4553
4517
  /*click_handler_5*/
4554
4518
  e[77]
4555
4519
  )
4556
- ], ct = !0);
4520
+ ], it = !0);
4557
4521
  },
4558
- p(d, y) {
4559
- var Sr, Pr, Cr, xr, Ar, Tr, kt, Ft;
4560
- y[0] & /*$_*/
4522
+ p(d, _) {
4523
+ _[0] & /*$_*/
4561
4524
  1073741824 && n !== (n = /*$_*/
4562
- d[30]("registerTitle") + "") && F(s, n), y[0] & /*$_*/
4563
- 1073741824 && h !== (h = /*$_*/
4564
- d[30]("registerSubtitle") + "") && F(c, h), y[0] & /*$_*/
4525
+ d[30]("registerTitle") + "") && F(s, n), _[0] & /*$_*/
4526
+ 1073741824 && f !== (f = /*$_*/
4527
+ d[30]("registerSubtitle") + "") && F(c, f), _[0] & /*$_*/
4565
4528
  1073741824 && g !== (g = /*$_*/
4566
- d[30]("registerSubtitleLogin") + "") && F(b, g), y[0] & /*$_*/
4529
+ d[30]("registerSubtitleLogin") + "") && F(b, g), _[0] & /*$_*/
4567
4530
  1073741824 && $ !== ($ = /*$_*/
4568
- d[30]("registerEmail") + "") && F(M, $), y[0] & /*userEmail*/
4531
+ d[30]("registerEmail") + "") && F(M, $), _[0] & /*userEmail*/
4569
4532
  524288 && R.value !== /*userEmail*/
4570
4533
  d[19] && ne(
4571
4534
  R,
4572
4535
  /*userEmail*/
4573
4536
  d[19]
4574
4537
  ), /*invalidEmail*/
4575
- d[4] ? J ? J.p(d, y) : (J = ai(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4576
- 132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
4538
+ d[4] ? J ? J.p(d, _) : (J = zt(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), _[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
4539
+ 132112 && xe !== (xe = "EmailContainer " + /*invalidEmail*/
4577
4540
  (d[4] && !/*emailFocus*/
4578
4541
  d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4579
- (((Sr = d[17]) == null ? void 0 : Sr.indexOf("email")) >= 0 ? "Hidden" : "")) && o(w, "class", Ae), y[0] & /*$_*/
4542
+ (d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && a(w, "class", xe), _[0] & /*$_*/
4580
4543
  1073741824 && me !== (me = /*$_*/
4581
- d[30]("registerUsername") + "") && F(W, me), y[0] & /*savecredentials*/
4582
- 2 && we !== (we = /*savecredentials*/
4583
- d[1] ? "username" : "off") && o(k, "autocomplete", we), y[0] & /*userValue*/
4544
+ d[30]("registerUsername") + "") && F(W, me), _[0] & /*savecredentials*/
4545
+ 2 && ve !== (ve = /*savecredentials*/
4546
+ d[1] ? "username" : "off") && a(k, "autocomplete", ve), _[0] & /*userValue*/
4584
4547
  262144 && k.value !== /*userValue*/
4585
4548
  d[18] && ne(
4586
4549
  k,
4587
4550
  /*userValue*/
4588
4551
  d[18]
4589
4552
  ), /*invalidName*/
4590
- d[5] ? Y ? Y.p(d, y) : (Y = li(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4591
- 133152 && ae !== (ae = "UserContainer " + /*invalidName*/
4553
+ d[5] ? Y ? Y.p(d, _) : (Y = Xt(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), _[0] & /*invalidName, usernameFocus, disabledFieldsList*/
4554
+ 133152 && oe !== (oe = "UserContainer " + /*invalidName*/
4592
4555
  (d[5] && !/*usernameFocus*/
4593
4556
  d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4594
- (((Pr = d[17]) == null ? void 0 : Pr.indexOf("username")) >= 0 ? "Hidden" : "")) && o(U, "class", ae), y[0] & /*$_*/
4595
- 1073741824 && Ee !== (Ee = /*$_*/
4596
- d[30]("registerPassword") + "") && F(mr, Ee), y[0] & /*savecredentials*/
4597
- 2 && Le !== (Le = /*savecredentials*/
4598
- d[1] ? "new-password" : "off") && o(L, "autocomplete", Le), y[0] & /*userPassword*/
4557
+ (d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && a(U, "class", oe), _[0] & /*$_*/
4558
+ 1073741824 && ye !== (ye = /*$_*/
4559
+ d[30]("registerPassword") + "") && F(dr, ye), _[0] & /*savecredentials*/
4560
+ 2 && Oe !== (Oe = /*savecredentials*/
4561
+ d[1] ? "new-password" : "off") && a(L, "autocomplete", Oe), _[0] & /*userPassword*/
4599
4562
  1048576 && L.value !== /*userPassword*/
4600
4563
  d[20] && ne(
4601
4564
  L,
4602
4565
  /*userPassword*/
4603
4566
  d[20]
4604
- ), Jr === (Jr = Rt(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(O, Ve))), /*invalidPassword*/
4567
+ ), $r === ($r = At(d)) && Se ? Se.p(d, _) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(O, je))), /*invalidPassword*/
4605
4568
  d[6] && /*simplepasswordvalidation*/
4606
- d[0] !== "true" ? K ? K.p(d, y) : (K = ui(d), K.c(), K.m(O, $e)) : K && (K.d(1), K = null), /*invalidPassword*/
4569
+ d[0] !== "true" ? K ? K.p(d, _) : (K = Zt(d), K.c(), K.m(O, Ve)) : K && (K.d(1), K = null), /*invalidPassword*/
4607
4570
  d[6] && /*simplepasswordvalidation*/
4608
- d[0] === "true" ? ee ? ee.p(d, y) : (ee = ci(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4609
- 135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
4571
+ d[0] === "true" ? ee ? ee.p(d, _) : (ee = Wt(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), _[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
4572
+ 135232 && Le !== (Le = "PasswordContainer " + /*invalidPassword*/
4610
4573
  (d[6] && !/*passwordFocus*/
4611
4574
  d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4612
- (((Cr = d[17]) == null ? void 0 : Cr.indexOf("password")) >= 0 ? "Hidden" : "")) && o(O, "class", Me), y[0] & /*disabledFieldsList*/
4613
- 131072 && Re !== (Re = /*disabledFieldsList*/
4614
- ((xr = d[17]) == null ? void 0 : xr.indexOf("password")) >= 0) && (O.hidden = Re), y[0] & /*$_*/
4615
- 1073741824 && Ue !== (Ue = /*$_*/
4616
- d[30]("registerConfirmPassword") + "") && F(br, Ue), y[0] & /*confirmUserPassword*/
4575
+ (d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && a(O, "class", Le), _[0] & /*disabledFieldsList*/
4576
+ 131072 && Me !== (Me = /*disabledFieldsList*/
4577
+ d[17]?.indexOf("password") >= 0) && (O.hidden = Me), _[0] & /*$_*/
4578
+ 1073741824 && Re !== (Re = /*$_*/
4579
+ d[30]("registerConfirmPassword") + "") && F(pr, Re), _[0] & /*confirmUserPassword*/
4617
4580
  2097152 && Q.value !== /*confirmUserPassword*/
4618
4581
  d[21] && ne(
4619
4582
  Q,
4620
4583
  /*confirmUserPassword*/
4621
4584
  d[21]
4622
- ), Yr === (Yr = Ut(d)) && Ce ? Ce.p(d, y) : (Ce.d(1), Ce = Yr(d), Ce && (Ce.c(), Ce.m(j, ze))), /*invalidConfirmPassword*/
4623
- d[7] ? re ? re.p(d, y) : (re = hi(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4624
- 139392 && Xe !== (Xe = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
4585
+ ), Qr === (Qr = Tt(d)) && Pe ? Pe.p(d, _) : (Pe.d(1), Pe = Qr(d), Pe && (Pe.c(), Pe.m(j, Qe))), /*invalidConfirmPassword*/
4586
+ d[7] ? re ? re.p(d, _) : (re = qt(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), _[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
4587
+ 139392 && ze !== (ze = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
4625
4588
  (d[7] && !/*confirmPasswordFocus*/
4626
4589
  d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4627
- (((Ar = d[17]) == null ? void 0 : Ar.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")) && o(j, "class", Xe), y[0] & /*$_*/
4628
- 1073741824 && Ze !== (Ze = /*$_*/
4629
- d[30]("registerPromoCode") + "") && F(vr, Ze), y[0] & /*promoCode*/
4590
+ (d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && a(j, "class", ze), _[0] & /*$_*/
4591
+ 1073741824 && Xe !== (Xe = /*$_*/
4592
+ d[30]("registerPromoCode") + "") && F(Er, Xe), _[0] & /*promoCode*/
4630
4593
  16777216 && ue.value !== /*promoCode*/
4631
4594
  d[24] && ne(
4632
4595
  ue,
4633
4596
  /*promoCode*/
4634
4597
  d[24]
4635
- ), y[0] & /*disabledFieldsList*/
4636
- 131072 && We !== (We = "PromoCodeContainer " + /*disabledFieldsList*/
4637
- (((Tr = d[17]) == null ? void 0 : Tr.indexOf("promoCode")) >= 0 ? "Hidden" : "")) && o(Se, "class", We), y[0] & /*custominputtextswitch, $_*/
4638
- 1073741828 && qe !== (qe = /*custominputtextswitch*/
4598
+ ), _[0] & /*disabledFieldsList*/
4599
+ 131072 && Ze !== (Ze = "PromoCodeContainer " + /*disabledFieldsList*/
4600
+ (d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && a(we, "class", Ze), _[0] & /*custominputtextswitch, $_*/
4601
+ 1073741828 && We !== (We = /*custominputtextswitch*/
4639
4602
  (d[2] == "true" ? (
4640
4603
  /*$_*/
4641
4604
  d[30]("registerSecurityQuestion2")
4642
4605
  ) : (
4643
4606
  /*$_*/
4644
4607
  d[30]("registerSecurityQuestion")
4645
- )) + "") && F(_r, qe), y[0] & /*securityQuestion*/
4608
+ )) + "") && F(_r, We), _[0] & /*securityQuestion*/
4646
4609
  4194304 && ce.value !== /*securityQuestion*/
4647
4610
  d[22] && ne(
4648
4611
  ce,
4649
4612
  /*securityQuestion*/
4650
4613
  d[22]
4651
4614
  ), /*invalidSecurityQuestion*/
4652
- d[8] ? te ? te.p(d, y) : (te = fi(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4653
- 147712 && Ye !== (Ye = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
4615
+ d[8] ? te ? te.p(d, _) : (te = Jt(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), _[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
4616
+ 147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
4654
4617
  (d[8] && !/*securityQFocus*/
4655
4618
  d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
4656
- (((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(ge, "class", Ye), y[0] & /*custominputtextswitch, $_*/
4657
- 1073741828 && Ke !== (Ke = /*custominputtextswitch*/
4619
+ (d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && a(ge, "class", Je), _[0] & /*custominputtextswitch, $_*/
4620
+ 1073741828 && Ye !== (Ye = /*custominputtextswitch*/
4658
4621
  (d[2] == "true" ? (
4659
4622
  /*$_*/
4660
4623
  d[30]("registerSecurityAnswer2")
4661
4624
  ) : (
4662
4625
  /*$_*/
4663
4626
  d[30]("registerSecurityAnswer")
4664
- )) + "") && F(wr, Ke), y[0] & /*securityAnswer*/
4627
+ )) + "") && F(vr, Ye), _[0] & /*securityAnswer*/
4665
4628
  8388608 && he.value !== /*securityAnswer*/
4666
4629
  d[23] && ne(
4667
4630
  he,
4668
4631
  /*securityAnswer*/
4669
4632
  d[23]
4670
4633
  ), /*invalidSecurityAnswer*/
4671
- d[9] ? ie ? ie.p(d, y) : (ie = di(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4672
- 164352 && rr !== (rr = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
4634
+ d[9] ? ie ? ie.p(d, _) : (ie = Yt(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), _[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
4635
+ 164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
4673
4636
  (d[9] && !/*securityAFocus*/
4674
4637
  d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
4675
- (((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(pe, "class", rr), y[0] & /*$_*/
4638
+ (d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && a(pe, "class", er), _[0] & /*$_*/
4676
4639
  1073741824 && I !== (I = /*$_*/
4677
- d[30]("registerNext") + "") && F(V, I), y[0] & /*isValid*/
4678
- 536870912 && qr !== (qr = !/*isValid*/
4679
- d[29]) && (p.disabled = qr);
4640
+ d[30]("registerNext") + "") && F(V, I), _[0] & /*isValid*/
4641
+ 536870912 && Vr !== (Vr = !/*isValid*/
4642
+ d[29]) && (p.disabled = Vr);
4680
4643
  },
4681
4644
  i: X,
4682
4645
  o: X,
4683
4646
  d(d) {
4684
- d && se(r), J && J.d(), Y && Y.d(), e[59](null), Pe.d(), K && K.d(), ee && ee.d(), e[65](null), Ce.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), ct = !1, cr(Mt);
4647
+ d && se(r), J && J.d(), Y && Y.d(), e[59](null), Se.d(), K && K.d(), ee && ee.d(), e[65](null), Pe.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), it = !1, ur(xt);
4685
4648
  }
4686
4649
  };
4687
4650
  }
4688
- function co(e, r, t) {
4651
+ function Qs(e, r, t) {
4689
4652
  let i;
4690
- Zi(e, to, (p) => t(30, i = p));
4691
- let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { clientstyling: l = "" } = r, { clientstylingurl: h = "" } = r, { translationurl: c = "" } = r, { savecredentials: f = "" } = r, { custominputtextswitch: m = "false" } = r, g = !1, b = !1, _ = !1, E = !1, w = !1, B = !1, $ = !1, M = !1, de = !1, G = !1, ye = !1, R = !1, Ge = !1, Ae, ve = "", U = "", Z = "", me = "", W = "", oe = "", _e = "", Oe = !1, k = !1, we, Te, ae = {}, D = {
4653
+ Ti(e, Us, (p) => t(30, i = p));
4654
+ let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { clientstyling: o = "" } = r, { clientstylingurl: f = "" } = r, { translationurl: c = "" } = r, { savecredentials: h = "" } = r, { custominputtextswitch: m = "false" } = r, g = !1, b = !1, v = !1, y = !1, w = !1, B = !1, $ = !1, M = !1, de = !1, G = !1, be = !1, R = !1, De = !1, xe, Ee = "", U = "", Z = "", me = "", W = "", ae = "", _e = "", Ne = !1, k = !1, ve, Ae, oe = {}, D = {
4692
4655
  username: !1,
4693
4656
  email: !1,
4694
4657
  password: !1,
@@ -4696,81 +4659,81 @@ function co(e, r, t) {
4696
4659
  securityAnswer: !1,
4697
4660
  securityQuestion: !1,
4698
4661
  promoCode: !0
4699
- }, O = !1, q, Ee = {
4662
+ }, O = !1, q, ye = {
4700
4663
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4701
4664
  email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
4702
4665
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
4703
4666
  document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
4704
4667
  };
4705
- const mr = () => {
4668
+ const dr = () => {
4706
4669
  fetch(c).then((I) => I.json()).then((I) => {
4707
4670
  Object.keys(I).forEach((V) => {
4708
- si(V, I[V]);
4671
+ $t(V, I[V]);
4709
4672
  });
4710
4673
  }).catch((I) => {
4711
4674
  console.log(I);
4712
4675
  });
4713
4676
  };
4714
- Object.keys(oi).forEach((p) => {
4715
- si(p, oi[p]);
4677
+ Object.keys(Qt).forEach((p) => {
4678
+ $t(p, Qt[p]);
4716
4679
  });
4717
- const gr = () => {
4680
+ const mr = () => {
4718
4681
  window.postMessage({ type: "ToLogin" }, window.location.href);
4719
- }, je = (p, I) => {
4720
- if (!(Ae.indexOf(p) >= 0))
4682
+ }, Ge = (p, I) => {
4683
+ if (!(xe.indexOf(p) >= 0))
4721
4684
  switch (p) {
4722
4685
  case "username":
4723
- t(18, ve = I), Le();
4686
+ t(18, Ee = I), Oe();
4724
4687
  break;
4725
4688
  case "email":
4726
4689
  t(19, U = I), L();
4727
4690
  break;
4728
4691
  case "password":
4729
- t(20, Z = I), Ue();
4692
+ t(20, Z = I), Re();
4730
4693
  break;
4731
4694
  case "confirmUserPassword":
4732
- t(21, me = I), Qe();
4695
+ t(21, me = I), $e();
4733
4696
  break;
4734
4697
  case "securityQuestion":
4735
- t(22, W = I), yr();
4698
+ t(22, W = I), br();
4736
4699
  break;
4737
4700
  case "securityAnswer":
4738
- t(23, oe = I), Q();
4701
+ t(23, ae = I), Q();
4739
4702
  break;
4740
4703
  case "promoCode":
4741
- t(24, _e = I), ke();
4704
+ t(24, _e = I), Ue();
4742
4705
  break;
4743
4706
  }
4744
4707
  }, le = () => {
4745
4708
  t(29, O = Object.keys(D).every((p) => s.includes(p) ? !0 : D[p] !== !1));
4746
4709
  }, L = () => {
4747
- ae.email = U, Ee.email.test(U) && U.length <= 100 ? t(4, g = !1) : t(4, g = !0), D.email = !g, le();
4748
- }, Le = () => {
4749
- ae.username = ve, Ee.user.test(ve) && ve.length <= 20 ? t(5, b = !1) : t(5, b = !0), D.username = !b, le();
4750
- }, Rr = () => {
4751
- a == "true" && (Ee.password = /^(?!.* ).{8,20}$/);
4710
+ oe.email = U, ye.email.test(U) && U.length <= 100 ? t(4, g = !1) : t(4, g = !0), D.email = !g, le();
4711
+ }, Oe = () => {
4712
+ oe.username = Ee, ye.user.test(Ee) && Ee.length <= 20 ? t(5, b = !1) : t(5, b = !0), D.username = !b, le();
4713
+ }, Hr = () => {
4714
+ u == "true" && (ye.password = /^(?!.* ).{8,20}$/);
4715
+ }, je = () => {
4716
+ t(25, Ne = !0), gr();
4752
4717
  }, Ve = () => {
4753
- t(25, Oe = !0), pr();
4754
- }, $e = () => {
4755
4718
  t(26, k = !0), j();
4719
+ }, Le = () => {
4720
+ t(25, Ne = !1), gr();
4756
4721
  }, Me = () => {
4757
- t(25, Oe = !1), pr();
4758
- }, Re = () => {
4759
4722
  t(26, k = !1), j();
4760
- }, pr = () => {
4761
- t(27, we.type = Oe ? "text" : "password", we);
4723
+ }, gr = () => {
4724
+ t(27, ve.type = Ne ? "text" : "password", ve);
4762
4725
  }, j = () => {
4763
- t(28, Te.type = k ? "text" : "password", Te);
4764
- }, He = () => !!Ee.password.test(Z), Ue = () => {
4765
- ae.password = Z, t(6, _ = !He()), me.length !== 0 && Qe(), D.password = !_, le();
4766
- }, br = () => Z === me, Qe = () => {
4767
- ae.confirmUserPassword = me, t(7, E = !br()), D.confirmUserPassword = !E, le();
4768
- }, ke = () => {
4769
- ae.promoCode = _e;
4770
- }, yr = () => {
4771
- if (ae.securityQuestion = W, W) switch (m) {
4726
+ t(28, Ae.type = k ? "text" : "password", Ae);
4727
+ }, Te = () => !!ye.password.test(Z), Re = () => {
4728
+ oe.password = Z, t(6, v = !Te()), me.length !== 0 && $e(), D.password = !v, le();
4729
+ }, pr = () => Z === me, $e = () => {
4730
+ oe.confirmUserPassword = me, t(7, y = !pr()), D.confirmUserPassword = !y, le();
4731
+ }, Ue = () => {
4732
+ oe.promoCode = _e;
4733
+ }, br = () => {
4734
+ if (oe.securityQuestion = W, W) switch (m) {
4772
4735
  case "true":
4773
- if (Ee.document.test(W) && W.length <= 50) {
4736
+ if (ye.document.test(W) && W.length <= 50) {
4774
4737
  t(8, w = !1), D.securityQuestion = !w, le();
4775
4738
  return;
4776
4739
  }
@@ -4784,48 +4747,48 @@ function co(e, r, t) {
4784
4747
  }
4785
4748
  t(8, w = !0), D.securityQuestion = !w, le();
4786
4749
  }, Q = () => {
4787
- if (ae.securityAnswer = oe, oe) switch (m) {
4750
+ if (oe.securityAnswer = ae, ae) switch (m) {
4788
4751
  case "true":
4789
- if (Ee.document.test(oe) && oe.length <= 50) {
4752
+ if (ye.document.test(ae) && ae.length <= 50) {
4790
4753
  t(9, B = !1), D.securityAnswer = !B, le();
4791
4754
  return;
4792
4755
  }
4793
4756
  break;
4794
4757
  case "false":
4795
- if (oe && oe.length <= 120) {
4758
+ if (ae && ae.length <= 120) {
4796
4759
  t(9, B = !1), D.securityAnswer = !B, le();
4797
4760
  return;
4798
4761
  }
4799
4762
  break;
4800
4763
  }
4801
4764
  t(9, B = !0), D.securityAnswer = !B, le();
4802
- }, Er = (p) => {
4765
+ }, yr = (p) => {
4803
4766
  p.preventDefault(), window.postMessage(
4804
4767
  {
4805
4768
  type: "RegisterStepOne",
4806
- registerStepOneData: ae
4769
+ registerStepOneData: oe
4807
4770
  },
4808
4771
  window.location.href
4809
4772
  );
4810
- }, ze = (p) => {
4773
+ }, Qe = (p) => {
4811
4774
  if (p.data)
4812
4775
  switch (p.data.type) {
4813
4776
  case "StepOneDataBackup":
4814
4777
  const I = p.data.userData;
4815
4778
  for (const V in I)
4816
- je(V, I[V]);
4779
+ Ge(V, I[V]);
4817
4780
  t(29, O = Object.keys(D).every((V) => s.includes(V) ? !0 : D[V] !== !1));
4818
4781
  break;
4819
4782
  }
4820
- }, Xe = () => {
4821
- t(17, Ae = s.split(","));
4822
- }, Ur = () => {
4823
- io(n);
4824
- }, Se = () => {
4783
+ }, ze = () => {
4784
+ t(17, xe = s.split(","));
4785
+ }, Ir = () => {
4786
+ ks(n);
4787
+ }, we = () => {
4825
4788
  let p = document.createElement("style");
4826
- p.innerHTML = l, q.appendChild(p);
4827
- }, Fe = () => {
4828
- let p = new URL(h), I = document.createElement("style");
4789
+ p.innerHTML = o, q.appendChild(p);
4790
+ }, ke = () => {
4791
+ let p = new URL(f), I = document.createElement("style");
4829
4792
  fetch(p.href).then((V) => V.text()).then((V) => {
4830
4793
  I.innerHTML = V, setTimeout(
4831
4794
  () => {
@@ -4839,157 +4802,157 @@ function co(e, r, t) {
4839
4802
  );
4840
4803
  });
4841
4804
  };
4842
- rn(() => (window.addEventListener("message", ze, !1), () => {
4843
- window.removeEventListener("message", ze);
4805
+ Mi(() => (window.addEventListener("message", Qe, !1), () => {
4806
+ window.removeEventListener("message", Qe);
4844
4807
  }));
4845
- const Ze = () => gr();
4846
- function vr() {
4808
+ const Xe = () => mr();
4809
+ function Er() {
4847
4810
  U = this.value, t(19, U);
4848
4811
  }
4849
- const kr = () => t(10, $ = !0), Fr = () => t(10, $ = !1);
4812
+ const Br = () => t(10, $ = !0), Nr = () => t(10, $ = !1);
4850
4813
  function ue() {
4851
- ve = this.value, t(18, ve);
4814
+ Ee = this.value, t(18, Ee);
4852
4815
  }
4853
- const Dr = () => t(11, M = !0), We = () => t(11, M = !1);
4854
- function Gr() {
4816
+ const Or = () => t(11, M = !0), Ze = () => t(11, M = !1);
4817
+ function Lr() {
4855
4818
  Z = this.value, t(20, Z);
4856
4819
  }
4857
- const ge = () => t(12, de = !0), Ie = () => t(12, de = !1);
4858
- function qe(p) {
4859
- Br[p ? "unshift" : "push"](() => {
4860
- we = p, t(27, we);
4820
+ const ge = () => t(12, de = !0), He = () => t(12, de = !1);
4821
+ function We(p) {
4822
+ Pr[p ? "unshift" : "push"](() => {
4823
+ ve = p, t(27, ve);
4861
4824
  });
4862
4825
  }
4863
- const _r = () => Me(), jr = () => Ve();
4864
- function Je() {
4826
+ const _r = () => Le(), Mr = () => je();
4827
+ function qe() {
4865
4828
  me = this.value, t(21, me);
4866
4829
  }
4867
- const Vr = () => t(13, G = !0), ce = () => t(13, G = !1);
4868
- function $r(p) {
4869
- Br[p ? "unshift" : "push"](() => {
4870
- Te = p, t(28, Te);
4830
+ const Rr = () => t(13, G = !0), ce = () => t(13, G = !1);
4831
+ function Ur(p) {
4832
+ Pr[p ? "unshift" : "push"](() => {
4833
+ Ae = p, t(28, Ae);
4871
4834
  });
4872
4835
  }
4873
- const Ye = () => Re(), Qr = () => $e();
4836
+ const Je = () => Me(), kr = () => Ve();
4874
4837
  function pe() {
4875
4838
  _e = this.value, t(24, _e);
4876
4839
  }
4877
- const Be = () => t(16, Ge = !0), Ke = () => t(16, Ge = !1);
4878
- function wr() {
4840
+ const Ie = () => t(16, De = !0), Ye = () => t(16, De = !1);
4841
+ function vr() {
4879
4842
  W = this.value, t(22, W);
4880
4843
  }
4881
- const zr = () => t(14, ye = !0), er = () => t(14, ye = !1);
4882
- function Xr() {
4883
- oe = this.value, t(23, oe);
4844
+ const Fr = () => t(14, be = !0), Ke = () => t(14, be = !1);
4845
+ function Dr() {
4846
+ ae = this.value, t(23, ae);
4884
4847
  }
4885
- const he = () => t(15, R = !0), Zr = () => t(15, R = !1), rr = (p) => Er(p);
4886
- function Wr(p) {
4887
- Br[p ? "unshift" : "push"](() => {
4848
+ const he = () => t(15, R = !0), Gr = () => t(15, R = !1), er = (p) => yr(p);
4849
+ function jr(p) {
4850
+ Pr[p ? "unshift" : "push"](() => {
4888
4851
  q = p, t(3, q);
4889
4852
  });
4890
4853
  }
4891
4854
  return e.$$set = (p) => {
4892
- "lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, a = p.simplepasswordvalidation), "clientstyling" in p && t(46, l = p.clientstyling), "clientstylingurl" in p && t(47, h = p.clientstylingurl), "translationurl" in p && t(48, c = p.translationurl), "savecredentials" in p && t(1, f = p.savecredentials), "custominputtextswitch" in p && t(2, m = p.custominputtextswitch);
4855
+ "lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "clientstyling" in p && t(46, o = p.clientstyling), "clientstylingurl" in p && t(47, f = p.clientstylingurl), "translationurl" in p && t(48, c = p.translationurl), "savecredentials" in p && t(1, h = p.savecredentials), "custominputtextswitch" in p && t(2, m = p.custominputtextswitch);
4893
4856
  }, e.$$.update = () => {
4894
4857
  e.$$.dirty[1] & /*lang*/
4895
- 8192 && n && Ur(), e.$$.dirty[1] & /*disabledfields*/
4896
- 16384 && s && Xe(), e.$$.dirty[0] & /*simplepasswordvalidation*/
4897
- 1 && a && Rr(), e.$$.dirty[0] & /*customStylingContainer*/
4858
+ 8192 && n && Ir(), e.$$.dirty[1] & /*disabledfields*/
4859
+ 16384 && s && ze(), e.$$.dirty[0] & /*simplepasswordvalidation*/
4860
+ 1 && u && Hr(), e.$$.dirty[0] & /*customStylingContainer*/
4898
4861
  8 | e.$$.dirty[1] & /*clientstyling*/
4899
- 32768 && l && q && Se(), e.$$.dirty[0] & /*customStylingContainer*/
4862
+ 32768 && o && q && we(), e.$$.dirty[0] & /*customStylingContainer*/
4900
4863
  8 | e.$$.dirty[1] & /*clientstylingurl*/
4901
- 65536 && h && q && Fe(), e.$$.dirty[1] & /*translationurl*/
4902
- 131072 && c && mr();
4864
+ 65536 && f && q && ke(), e.$$.dirty[1] & /*translationurl*/
4865
+ 131072 && c && dr();
4903
4866
  }, [
4904
- a,
4905
- f,
4867
+ u,
4868
+ h,
4906
4869
  m,
4907
4870
  q,
4908
4871
  g,
4909
4872
  b,
4910
- _,
4911
- E,
4873
+ v,
4874
+ y,
4912
4875
  w,
4913
4876
  B,
4914
4877
  $,
4915
4878
  M,
4916
4879
  de,
4917
4880
  G,
4918
- ye,
4881
+ be,
4919
4882
  R,
4920
- Ge,
4921
- Ae,
4922
- ve,
4883
+ De,
4884
+ xe,
4885
+ Ee,
4923
4886
  U,
4924
4887
  Z,
4925
4888
  me,
4926
4889
  W,
4927
- oe,
4890
+ ae,
4928
4891
  _e,
4929
- Oe,
4892
+ Ne,
4930
4893
  k,
4931
- we,
4932
- Te,
4894
+ ve,
4895
+ Ae,
4933
4896
  O,
4934
4897
  i,
4935
- gr,
4898
+ mr,
4936
4899
  L,
4937
- Le,
4900
+ Oe,
4901
+ je,
4938
4902
  Ve,
4939
- $e,
4903
+ Le,
4940
4904
  Me,
4941
4905
  Re,
4906
+ $e,
4942
4907
  Ue,
4943
- Qe,
4944
- ke,
4945
- yr,
4908
+ br,
4946
4909
  Q,
4947
- Er,
4910
+ yr,
4948
4911
  n,
4949
4912
  s,
4950
- l,
4951
- h,
4913
+ o,
4914
+ f,
4952
4915
  c,
4953
- Ze,
4954
- vr,
4955
- kr,
4956
- Fr,
4916
+ Xe,
4917
+ Er,
4918
+ Br,
4919
+ Nr,
4957
4920
  ue,
4958
- Dr,
4959
- We,
4960
- Gr,
4921
+ Or,
4922
+ Ze,
4923
+ Lr,
4961
4924
  ge,
4962
- Ie,
4963
- qe,
4925
+ He,
4926
+ We,
4964
4927
  _r,
4965
- jr,
4966
- Je,
4967
- Vr,
4928
+ Mr,
4929
+ qe,
4930
+ Rr,
4968
4931
  ce,
4969
- $r,
4970
- Ye,
4971
- Qr,
4932
+ Ur,
4933
+ Je,
4934
+ kr,
4972
4935
  pe,
4973
- Be,
4936
+ Ie,
4937
+ Ye,
4938
+ vr,
4939
+ Fr,
4974
4940
  Ke,
4975
- wr,
4976
- zr,
4977
- er,
4978
- Xr,
4941
+ Dr,
4979
4942
  he,
4980
- Zr,
4981
- rr,
4982
- Wr
4943
+ Gr,
4944
+ er,
4945
+ jr
4983
4946
  ];
4984
4947
  }
4985
- class ho extends mn {
4948
+ class zs extends Xi {
4986
4949
  constructor(r) {
4987
- super(), fn(
4950
+ super(), Qi(
4988
4951
  this,
4989
4952
  r,
4990
- co,
4991
- uo,
4992
- gi,
4953
+ Qs,
4954
+ $s,
4955
+ ei,
4993
4956
  {
4994
4957
  lang: 44,
4995
4958
  disabledfields: 45,
@@ -5000,7 +4963,7 @@ class ho extends mn {
5000
4963
  savecredentials: 1,
5001
4964
  custominputtextswitch: 2
5002
4965
  },
5003
- no,
4966
+ Fs,
5004
4967
  [-1, -1, -1, -1]
5005
4968
  );
5006
4969
  }
@@ -5008,52 +4971,52 @@ class ho extends mn {
5008
4971
  return this.$$.ctx[44];
5009
4972
  }
5010
4973
  set lang(r) {
5011
- this.$$set({ lang: r }), xe();
4974
+ this.$$set({ lang: r }), Ce();
5012
4975
  }
5013
4976
  get disabledfields() {
5014
4977
  return this.$$.ctx[45];
5015
4978
  }
5016
4979
  set disabledfields(r) {
5017
- this.$$set({ disabledfields: r }), xe();
4980
+ this.$$set({ disabledfields: r }), Ce();
5018
4981
  }
5019
4982
  get simplepasswordvalidation() {
5020
4983
  return this.$$.ctx[0];
5021
4984
  }
5022
4985
  set simplepasswordvalidation(r) {
5023
- this.$$set({ simplepasswordvalidation: r }), xe();
4986
+ this.$$set({ simplepasswordvalidation: r }), Ce();
5024
4987
  }
5025
4988
  get clientstyling() {
5026
4989
  return this.$$.ctx[46];
5027
4990
  }
5028
4991
  set clientstyling(r) {
5029
- this.$$set({ clientstyling: r }), xe();
4992
+ this.$$set({ clientstyling: r }), Ce();
5030
4993
  }
5031
4994
  get clientstylingurl() {
5032
4995
  return this.$$.ctx[47];
5033
4996
  }
5034
4997
  set clientstylingurl(r) {
5035
- this.$$set({ clientstylingurl: r }), xe();
4998
+ this.$$set({ clientstylingurl: r }), Ce();
5036
4999
  }
5037
5000
  get translationurl() {
5038
5001
  return this.$$.ctx[48];
5039
5002
  }
5040
5003
  set translationurl(r) {
5041
- this.$$set({ translationurl: r }), xe();
5004
+ this.$$set({ translationurl: r }), Ce();
5042
5005
  }
5043
5006
  get savecredentials() {
5044
5007
  return this.$$.ctx[1];
5045
5008
  }
5046
5009
  set savecredentials(r) {
5047
- this.$$set({ savecredentials: r }), xe();
5010
+ this.$$set({ savecredentials: r }), Ce();
5048
5011
  }
5049
5012
  get custominputtextswitch() {
5050
5013
  return this.$$.ctx[2];
5051
5014
  }
5052
5015
  set custominputtextswitch(r) {
5053
- this.$$set({ custominputtextswitch: r }), xe();
5016
+ this.$$set({ custominputtextswitch: r }), Ce();
5054
5017
  }
5055
5018
  }
5056
- dn(ho, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5019
+ zi(zs, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
5057
5020
  export {
5058
- ho as default
5021
+ zs as G
5059
5022
  };