@everymatrix/general-player-forgot-password-sms-form 1.86.4 → 1.86.6

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,6 +1,6 @@
1
1
  function ae() {
2
2
  }
3
- const gt = (e) => e;
3
+ const yt = (e) => e;
4
4
  function Ir(e) {
5
5
  return e();
6
6
  }
@@ -10,16 +10,16 @@ function er() {
10
10
  function he(e) {
11
11
  e.forEach(Ir);
12
12
  }
13
- function Ge(e) {
13
+ function $e(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Mr(e, t) {
16
+ function Br(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  function Cn(e) {
20
20
  return Object.keys(e).length === 0;
21
21
  }
22
- function Br(e, ...t) {
22
+ function Mr(e, ...t) {
23
23
  if (e == null) {
24
24
  for (const n of t)
25
25
  n(void 0);
@@ -29,7 +29,7 @@ function Br(e, ...t) {
29
29
  return r.unsubscribe ? () => r.unsubscribe() : r;
30
30
  }
31
31
  function Rn(e, t, r) {
32
- e.$$.on_destroy.push(Br(t, r));
32
+ e.$$.on_destroy.push(Mr(t, r));
33
33
  }
34
34
  function Ln(e) {
35
35
  const t = typeof e == "string" && e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
@@ -40,21 +40,21 @@ function Ln(e) {
40
40
  ];
41
41
  }
42
42
  const Or = typeof window < "u";
43
- let zt = Or ? () => window.performance.now() : () => Date.now(), Gt = Or ? (e) => requestAnimationFrame(e) : ae;
44
- const Oe = /* @__PURE__ */ new Set();
43
+ let $t = Or ? () => window.performance.now() : () => Date.now(), Vt = Or ? (e) => requestAnimationFrame(e) : ae;
44
+ const ke = /* @__PURE__ */ new Set();
45
45
  function kr(e) {
46
- Oe.forEach((t) => {
47
- t.c(e) || (Oe.delete(t), t.f());
48
- }), Oe.size !== 0 && Gt(kr);
46
+ ke.forEach((t) => {
47
+ t.c(e) || (ke.delete(t), t.f());
48
+ }), ke.size !== 0 && Vt(kr);
49
49
  }
50
- function Vt(e) {
50
+ function qt(e) {
51
51
  let t;
52
- return Oe.size === 0 && Gt(kr), {
52
+ return ke.size === 0 && Vt(kr), {
53
53
  promise: new Promise((r) => {
54
- Oe.add(t = { c: e, f: r });
54
+ ke.add(t = { c: e, f: r });
55
55
  }),
56
56
  abort() {
57
- Oe.delete(t);
57
+ ke.delete(t);
58
58
  }
59
59
  };
60
60
  }
@@ -62,13 +62,13 @@ function m(e, t) {
62
62
  e.appendChild(t);
63
63
  }
64
64
  function Hn(e, t, r) {
65
- const n = $t(e);
65
+ const n = Xt(e);
66
66
  if (!n.getElementById(t)) {
67
67
  const i = P("style");
68
68
  i.id = t, i.textContent = r, Ur(n, i);
69
69
  }
70
70
  }
71
- function $t(e) {
71
+ function Xt(e) {
72
72
  if (!e)
73
73
  return document;
74
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,7 +80,7 @@ function $t(e) {
80
80
  }
81
81
  function An(e) {
82
82
  const t = P("style");
83
- return t.textContent = "/* empty */", Ur($t(e), t), t.sheet;
83
+ return t.textContent = "/* empty */", Ur(Xt(e), t), t.sheet;
84
84
  }
85
85
  function Ur(e, t) {
86
86
  return m(
@@ -102,19 +102,19 @@ function Nn(e, t) {
102
102
  function P(e) {
103
103
  return document.createElement(e);
104
104
  }
105
- function O(e) {
105
+ function M(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function $() {
109
- return O(" ");
108
+ function V() {
109
+ return M(" ");
110
110
  }
111
- function Ee(e, t, r, n) {
111
+ function Se(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function h(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function Le(e, t, r) {
117
+ function He(e, t, r) {
118
118
  const n = t.toLowerCase();
119
119
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
120
120
  }
@@ -125,16 +125,16 @@ function W(e, t) {
125
125
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
126
126
  t);
127
127
  }
128
- function ut(e, t) {
128
+ function dt(e, t) {
129
129
  e.value = t ?? "";
130
130
  }
131
- function nt(e, t, r) {
131
+ function it(e, t, r) {
132
132
  e.classList.toggle(t, !!r);
133
133
  }
134
- function Mn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
134
+ function Bn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
135
135
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
136
136
  }
137
- function Bn(e) {
137
+ function Mn(e) {
138
138
  const t = {};
139
139
  return e.childNodes.forEach(
140
140
  /** @param {Element} node */
@@ -143,8 +143,8 @@ function Bn(e) {
143
143
  }
144
144
  ), t;
145
145
  }
146
- const dt = /* @__PURE__ */ new Map();
147
- let ct = 0;
146
+ const ct = /* @__PURE__ */ new Map();
147
+ let ft = 0;
148
148
  function On(e) {
149
149
  let t = 5381, r = e.length;
150
150
  for (; r--; )
@@ -153,9 +153,9 @@ function On(e) {
153
153
  }
154
154
  function kn(e, t) {
155
155
  const r = { stylesheet: An(t), rules: {} };
156
- return dt.set(e, r), r;
156
+ return ct.set(e, r), r;
157
157
  }
158
- function ft(e, t, r, n, i, o, s, a = 0) {
158
+ function ht(e, t, r, n, i, o, s, a = 0) {
159
159
  const d = 16.666 / n;
160
160
  let u = `{
161
161
  `;
@@ -165,74 +165,74 @@ function ft(e, t, r, n, i, o, s, a = 0) {
165
165
  `;
166
166
  }
167
167
  const l = u + `100% {${s(r, 1 - r)}}
168
- }`, c = `__svelte_${On(l)}_${a}`, f = $t(e), { stylesheet: g, rules: b } = dt.get(f) || kn(f, e);
168
+ }`, c = `__svelte_${On(l)}_${a}`, f = Xt(e), { stylesheet: g, rules: b } = ct.get(f) || kn(f, e);
169
169
  b[c] || (b[c] = !0, g.insertRule(`@keyframes ${c} ${l}`, g.cssRules.length));
170
170
  const y = e.style.animation || "";
171
- return e.style.animation = `${y ? `${y}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, ct += 1, c;
171
+ return e.style.animation = `${y ? `${y}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, ft += 1, c;
172
172
  }
173
- function ht(e, t) {
173
+ function pt(e, t) {
174
174
  const r = (e.style.animation || "").split(", "), n = r.filter(
175
175
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
176
176
  // remove all Svelte animations
177
177
  ), i = r.length - n.length;
178
- i && (e.style.animation = n.join(", "), ct -= i, ct || Un());
178
+ i && (e.style.animation = n.join(", "), ft -= i, ft || Un());
179
179
  }
180
180
  function Un() {
181
- Gt(() => {
182
- ct || (dt.forEach((e) => {
181
+ Vt(() => {
182
+ ft || (ct.forEach((e) => {
183
183
  const { ownerNode: t } = e.stylesheet;
184
184
  t && Y(t);
185
- }), dt.clear());
185
+ }), ct.clear());
186
186
  });
187
187
  }
188
- let Qe;
189
- function Je(e) {
190
- Qe = e;
188
+ let Ke;
189
+ function Qe(e) {
190
+ Ke = e;
191
191
  }
192
192
  function Dn() {
193
- if (!Qe)
193
+ if (!Ke)
194
194
  throw new Error("Function called outside component initialization");
195
- return Qe;
195
+ return Ke;
196
196
  }
197
197
  function Fn(e) {
198
198
  Dn().$$.on_mount.push(e);
199
199
  }
200
- const Be = [], pt = [];
201
- let ke = [];
200
+ const Oe = [], mt = [];
201
+ let Ue = [];
202
202
  const tr = [], jn = /* @__PURE__ */ Promise.resolve();
203
- let Nt = !1;
203
+ let Bt = !1;
204
204
  function zn() {
205
- Nt || (Nt = !0, jn.then(oe));
205
+ Bt || (Bt = !0, jn.then(oe));
206
206
  }
207
207
  function de(e) {
208
- ke.push(e);
208
+ Ue.push(e);
209
209
  }
210
- const Et = /* @__PURE__ */ new Set();
211
- let Ie = 0;
210
+ const Tt = /* @__PURE__ */ new Set();
211
+ let Be = 0;
212
212
  function oe() {
213
- if (Ie !== 0)
213
+ if (Be !== 0)
214
214
  return;
215
- const e = Qe;
215
+ const e = Ke;
216
216
  do {
217
217
  try {
218
- for (; Ie < Be.length; ) {
219
- const t = Be[Ie];
220
- Ie++, Je(t), Gn(t.$$);
218
+ for (; Be < Oe.length; ) {
219
+ const t = Oe[Be];
220
+ Be++, Qe(t), Gn(t.$$);
221
221
  }
222
222
  } catch (t) {
223
- throw Be.length = 0, Ie = 0, t;
223
+ throw Oe.length = 0, Be = 0, t;
224
224
  }
225
- for (Je(null), Be.length = 0, Ie = 0; pt.length; )
226
- pt.pop()();
227
- for (let t = 0; t < ke.length; t += 1) {
228
- const r = ke[t];
229
- Et.has(r) || (Et.add(r), r());
225
+ for (Qe(null), Oe.length = 0, Be = 0; mt.length; )
226
+ mt.pop()();
227
+ for (let t = 0; t < Ue.length; t += 1) {
228
+ const r = Ue[t];
229
+ Tt.has(r) || (Tt.add(r), r());
230
230
  }
231
- ke.length = 0;
232
- } while (Be.length);
231
+ Ue.length = 0;
232
+ } while (Oe.length);
233
233
  for (; tr.length; )
234
234
  tr.pop()();
235
- Nt = !1, Et.clear(), Je(e);
235
+ Bt = !1, Tt.clear(), Qe(e);
236
236
  }
237
237
  function Gn(e) {
238
238
  if (e.fragment !== null) {
@@ -241,66 +241,66 @@ function Gn(e) {
241
241
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(de);
242
242
  }
243
243
  }
244
- function Vn(e) {
244
+ function $n(e) {
245
245
  const t = [], r = [];
246
- ke.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ke = t;
246
+ Ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ue = t;
247
247
  }
248
- let Ze;
249
- function qt() {
250
- return Ze || (Ze = Promise.resolve(), Ze.then(() => {
251
- Ze = null;
252
- })), Ze;
248
+ let Ye;
249
+ function Wt() {
250
+ return Ye || (Ye = Promise.resolve(), Ye.then(() => {
251
+ Ye = null;
252
+ })), Ye;
253
253
  }
254
- function He(e, t, r) {
255
- e.dispatchEvent(Mn(`${t ? "intro" : "outro"}${r}`));
254
+ function Ae(e, t, r) {
255
+ e.dispatchEvent(Bn(`${t ? "intro" : "outro"}${r}`));
256
256
  }
257
- const ot = /* @__PURE__ */ new Set();
258
- let ye;
259
- function Ke() {
260
- ye = {
257
+ const st = /* @__PURE__ */ new Set();
258
+ let we;
259
+ function et() {
260
+ we = {
261
261
  r: 0,
262
262
  c: [],
263
- p: ye
263
+ p: we
264
264
  // parent group
265
265
  };
266
266
  }
267
- function et() {
268
- ye.r || he(ye.c), ye = ye.p;
267
+ function tt() {
268
+ we.r || he(we.c), we = we.p;
269
269
  }
270
270
  function ue(e, t) {
271
- e && e.i && (ot.delete(e), e.i(t));
271
+ e && e.i && (st.delete(e), e.i(t));
272
272
  }
273
- function Ue(e, t, r, n) {
273
+ function De(e, t, r, n) {
274
274
  if (e && e.o) {
275
- if (ot.has(e))
275
+ if (st.has(e))
276
276
  return;
277
- ot.add(e), ye.c.push(() => {
278
- ot.delete(e), n && (r && e.d(1), n());
277
+ st.add(e), we.c.push(() => {
278
+ st.delete(e), n && (r && e.d(1), n());
279
279
  }), e.o(t);
280
280
  } else
281
281
  n && n();
282
282
  }
283
- const Xt = { duration: 0 };
284
- function $n(e, t, r) {
283
+ const Zt = { duration: 0 };
284
+ function Vn(e, t, r) {
285
285
  const n = { direction: "in" };
286
286
  let i = t(e, r, n), o = !1, s, a, d = 0;
287
287
  function u() {
288
- s && ht(e, s);
288
+ s && pt(e, s);
289
289
  }
290
290
  function l() {
291
291
  const {
292
292
  delay: f = 0,
293
293
  duration: g = 300,
294
- easing: b = gt,
294
+ easing: b = yt,
295
295
  tick: y = ae,
296
296
  css: _
297
- } = i || Xt;
298
- _ && (s = ft(e, 0, 1, g, f, b, _, d++)), y(0, 1);
299
- const S = zt() + f, x = S + g;
300
- a && a.abort(), o = !0, de(() => He(e, !0, "start")), a = Vt((w) => {
297
+ } = i || Zt;
298
+ _ && (s = ht(e, 0, 1, g, f, b, _, d++)), y(0, 1);
299
+ const S = $t() + f, x = S + g;
300
+ a && a.abort(), o = !0, de(() => Ae(e, !0, "start")), a = qt((w) => {
301
301
  if (o) {
302
302
  if (w >= x)
303
- return y(1, 0), He(e, !0, "end"), u(), o = !1;
303
+ return y(1, 0), Ae(e, !0, "end"), u(), o = !1;
304
304
  if (w >= S) {
305
305
  const H = b((w - S) / g);
306
306
  y(H, 1 - H);
@@ -312,7 +312,7 @@ function $n(e, t, r) {
312
312
  let c = !1;
313
313
  return {
314
314
  start() {
315
- c || (c = !0, ht(e), Ge(i) ? (i = i(n), qt().then(l)) : l());
315
+ c || (c = !0, pt(e), $e(i) ? (i = i(n), Wt().then(l)) : l());
316
316
  },
317
317
  invalidate() {
318
318
  c = !1;
@@ -325,24 +325,24 @@ function $n(e, t, r) {
325
325
  function qn(e, t, r) {
326
326
  const n = { direction: "out" };
327
327
  let i = t(e, r, n), o = !0, s;
328
- const a = ye;
328
+ const a = we;
329
329
  a.r += 1;
330
330
  let d;
331
331
  function u() {
332
332
  const {
333
333
  delay: l = 0,
334
334
  duration: c = 300,
335
- easing: f = gt,
335
+ easing: f = yt,
336
336
  tick: g = ae,
337
337
  css: b
338
- } = i || Xt;
339
- b && (s = ft(e, 1, 0, c, l, f, b));
340
- const y = zt() + l, _ = y + c;
341
- de(() => He(e, !1, "start")), "inert" in e && (d = /** @type {HTMLElement} */
342
- e.inert, e.inert = !0), Vt((S) => {
338
+ } = i || Zt;
339
+ b && (s = ht(e, 1, 0, c, l, f, b));
340
+ const y = $t() + l, _ = y + c;
341
+ de(() => Ae(e, !1, "start")), "inert" in e && (d = /** @type {HTMLElement} */
342
+ e.inert, e.inert = !0), qt((S) => {
343
343
  if (o) {
344
344
  if (S >= _)
345
- return g(0, 1), He(e, !1, "end"), --a.r || he(a.c), !1;
345
+ return g(0, 1), Ae(e, !1, "end"), --a.r || he(a.c), !1;
346
346
  if (S >= y) {
347
347
  const x = f((S - y) / c);
348
348
  g(1 - x, x);
@@ -351,18 +351,18 @@ function qn(e, t, r) {
351
351
  return o;
352
352
  });
353
353
  }
354
- return Ge(i) ? qt().then(() => {
354
+ return $e(i) ? Wt().then(() => {
355
355
  i = i(n), u();
356
356
  }) : u(), {
357
357
  end(l) {
358
- l && "inert" in e && (e.inert = d), l && i.tick && i.tick(1, 0), o && (s && ht(e, s), o = !1);
358
+ l && "inert" in e && (e.inert = d), l && i.tick && i.tick(1, 0), o && (s && pt(e, s), o = !1);
359
359
  }
360
360
  };
361
361
  }
362
- function we(e, t, r, n) {
362
+ function _e(e, t, r, n) {
363
363
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, d = null, u = null, l;
364
364
  function c() {
365
- u && ht(e, u);
365
+ u && pt(e, u);
366
366
  }
367
367
  function f(b, y) {
368
368
  const _ = (
@@ -383,16 +383,16 @@ function we(e, t, r, n) {
383
383
  const {
384
384
  delay: y = 0,
385
385
  duration: _ = 300,
386
- easing: S = gt,
386
+ easing: S = yt,
387
387
  tick: x = ae,
388
388
  css: w
389
- } = o || Xt, H = {
390
- start: zt() + y,
389
+ } = o || Zt, H = {
390
+ start: $t() + y,
391
391
  b
392
392
  };
393
- b || (H.group = ye, ye.r += 1), "inert" in e && (b ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
394
- e.inert, e.inert = !0)), a || d ? d = H : (w && (c(), u = ft(e, s, b, _, y, S, w)), b && x(0, 1), a = f(H, _), de(() => He(e, b, "start")), Vt((T) => {
395
- if (d && T > d.start && (a = f(d, _), d = null, He(e, a.b, "start"), w && (c(), u = ft(
393
+ b || (H.group = we, we.r += 1), "inert" in e && (b ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
394
+ e.inert, e.inert = !0)), a || d ? d = H : (w && (c(), u = ht(e, s, b, _, y, S, w)), b && x(0, 1), a = f(H, _), de(() => Ae(e, b, "start")), qt((T) => {
395
+ if (d && T > d.start && (a = f(d, _), d = null, Ae(e, a.b, "start"), w && (c(), u = ht(
396
396
  e,
397
397
  s,
398
398
  a.b,
@@ -402,10 +402,10 @@ function we(e, t, r, n) {
402
402
  o.css
403
403
  ))), a) {
404
404
  if (T >= a.end)
405
- x(s = a.b, 1 - s), He(e, a.b, "end"), d || (a.b ? c() : --a.group.r || he(a.group.c)), a = null;
405
+ x(s = a.b, 1 - s), Ae(e, a.b, "end"), d || (a.b ? c() : --a.group.r || he(a.group.c)), a = null;
406
406
  else if (T >= a.start) {
407
- const j = T - a.start;
408
- s = a.a + a.d * S(j / a.duration), x(s, 1 - s);
407
+ const F = T - a.start;
408
+ s = a.a + a.d * S(F / a.duration), x(s, 1 - s);
409
409
  }
410
410
  }
411
411
  return !!(a || d);
@@ -413,7 +413,7 @@ function we(e, t, r, n) {
413
413
  }
414
414
  return {
415
415
  run(b) {
416
- Ge(o) ? qt().then(() => {
416
+ $e(o) ? Wt().then(() => {
417
417
  o = o({ direction: b ? "in" : "out" }), g(b);
418
418
  }) : g(b);
419
419
  },
@@ -428,20 +428,20 @@ function rr(e) {
428
428
  function Xn(e, t, r) {
429
429
  const { fragment: n, after_update: i } = e.$$;
430
430
  n && n.m(t, r), de(() => {
431
- const o = e.$$.on_mount.map(Ir).filter(Ge);
431
+ const o = e.$$.on_mount.map(Ir).filter($e);
432
432
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
433
433
  }), i.forEach(de);
434
434
  }
435
435
  function Wn(e, t) {
436
436
  const r = e.$$;
437
- r.fragment !== null && (Vn(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
437
+ r.fragment !== null && ($n(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
438
438
  }
439
439
  function Zn(e, t) {
440
- e.$$.dirty[0] === -1 && (Be.push(e), zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
440
+ e.$$.dirty[0] === -1 && (Oe.push(e), zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
441
441
  }
442
442
  function Yn(e, t, r, n, i, o, s = null, a = [-1]) {
443
- const d = Qe;
444
- Je(e);
443
+ const d = Ke;
444
+ Qe(e);
445
445
  const u = e.$$ = {
446
446
  fragment: null,
447
447
  ctx: [],
@@ -476,7 +476,7 @@ function Yn(e, t, r, n, i, o, s = null, a = [-1]) {
476
476
  u.fragment && u.fragment.c();
477
477
  t.intro && ue(e.$$.fragment), Xn(e, t.target, t.anchor), oe();
478
478
  }
479
- Je(d);
479
+ Qe(d);
480
480
  }
481
481
  let Dr;
482
482
  typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
@@ -538,12 +538,12 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
538
538
  };
539
539
  if (await Promise.resolve(), !this.$$cn || this.$$c)
540
540
  return;
541
- const t = {}, r = Bn(this);
541
+ const t = {}, r = Mn(this);
542
542
  for (const i of this.$$s)
543
543
  i in r && (t[i] = [e(i)]);
544
544
  for (const i of this.attributes) {
545
545
  const o = this.$$g_p(i.name);
546
- o in this.$$d || (this.$$d[o] = st(o, i.value, this.$$p_d, "toProp"));
546
+ o in this.$$d || (this.$$d[o] = at(o, i.value, this.$$p_d, "toProp"));
547
547
  }
548
548
  for (const i in this.$$p_d)
549
549
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -561,7 +561,7 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
561
561
  this.$$r = !0;
562
562
  for (const i in this.$$p_d)
563
563
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
564
- const o = st(
564
+ const o = at(
565
565
  i,
566
566
  this.$$d[i],
567
567
  this.$$p_d,
@@ -583,7 +583,7 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
583
583
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
584
584
  // and setting attributes through setAttribute etc, this is helpful
585
585
  attributeChangedCallback(e, t, r) {
586
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = st(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
586
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = at(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
587
587
  }
588
588
  disconnectedCallback() {
589
589
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -596,7 +596,7 @@ typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
596
596
  ) || e;
597
597
  }
598
598
  });
599
- function st(e, t, r, n) {
599
+ function at(e, t, r, n) {
600
600
  const i = r[e]?.type;
601
601
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
602
602
  return t;
@@ -642,7 +642,7 @@ function Jn(e, t, r, n, i, o) {
642
642
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
643
643
  },
644
644
  set(d) {
645
- d = st(a, d, t), this.$$d[a] = d, this.$$c?.$set({ [a]: d });
645
+ d = at(a, d, t), this.$$d[a] = d, this.$$c?.$set({ [a]: d });
646
646
  }
647
647
  });
648
648
  }), n.forEach((a) => {
@@ -682,7 +682,7 @@ class Qn {
682
682
  * @returns {() => void}
683
683
  */
684
684
  $on(t, r) {
685
- if (!Ge(r))
685
+ if (!$e(r))
686
686
  return ae;
687
687
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
688
688
  return n.push(r), () => {
@@ -707,10 +707,10 @@ function ti(e) {
707
707
  const t = e - 1;
708
708
  return t * t * t + 1;
709
709
  }
710
- function St(e) {
710
+ function Ct(e) {
711
711
  return --e * e * e * e * e + 1;
712
712
  }
713
- function Se(e, { delay: t = 0, duration: r = 400, easing: n = ei, amount: i = 5, opacity: o = 0 } = {}) {
713
+ function Te(e, { delay: t = 0, duration: r = 400, easing: n = ei, amount: i = 5, opacity: o = 0 } = {}) {
714
714
  const s = getComputedStyle(e), a = +s.opacity, d = s.filter === "none" ? "" : s.filter, u = a * (1 - o), [l, c] = Ln(i);
715
715
  return {
716
716
  delay: t,
@@ -719,7 +719,7 @@ function Se(e, { delay: t = 0, duration: r = 400, easing: n = ei, amount: i = 5,
719
719
  css: (f, g) => `opacity: ${a - u * g}; filter: ${d} blur(${g * l}${c});`
720
720
  };
721
721
  }
722
- function nr(e, { delay: t = 0, duration: r = 400, easing: n = gt } = {}) {
722
+ function nr(e, { delay: t = 0, duration: r = 400, easing: n = yt } = {}) {
723
723
  const i = +getComputedStyle(e).opacity;
724
724
  return {
725
725
  delay: t,
@@ -743,14 +743,14 @@ function ir(e, { delay: t = 0, duration: r = 400, easing: n = ti, start: i = 0,
743
743
  const Me = [];
744
744
  function ri(e, t) {
745
745
  return {
746
- subscribe: vt(e, t).subscribe
746
+ subscribe: wt(e, t).subscribe
747
747
  };
748
748
  }
749
- function vt(e, t = ae) {
749
+ function wt(e, t = ae) {
750
750
  let r;
751
751
  const n = /* @__PURE__ */ new Set();
752
752
  function i(a) {
753
- if (Mr(e, a) && (e = a, r)) {
753
+ if (Br(e, a) && (e = a, r)) {
754
754
  const d = !Me.length;
755
755
  for (const u of n)
756
756
  u[1](), Me.push(u, e);
@@ -786,9 +786,9 @@ function Ve(e, t, r) {
786
786
  return;
787
787
  c();
788
788
  const b = t(n ? u[0] : u, s, a);
789
- o ? s(b) : c = Ge(b) ? b : ae;
789
+ o ? s(b) : c = $e(b) ? b : ae;
790
790
  }, g = i.map(
791
- (b, y) => Br(
791
+ (b, y) => Mr(
792
792
  b,
793
793
  (_) => {
794
794
  u[y] = _, l &= ~(1 << y), d && f();
@@ -823,19 +823,19 @@ function ui(e) {
823
823
  function di(e) {
824
824
  return Array.isArray(e) ? [] : {};
825
825
  }
826
- function tt(e, t) {
827
- return t.clone !== !1 && t.isMergeableObject(e) ? De(di(e), e, t) : e;
826
+ function rt(e, t) {
827
+ return t.clone !== !1 && t.isMergeableObject(e) ? Fe(di(e), e, t) : e;
828
828
  }
829
829
  function ci(e, t, r) {
830
830
  return e.concat(t).map(function(n) {
831
- return tt(n, r);
831
+ return rt(n, r);
832
832
  });
833
833
  }
834
834
  function fi(e, t) {
835
835
  if (!t.customMerge)
836
- return De;
836
+ return Fe;
837
837
  var r = t.customMerge(e);
838
- return typeof r == "function" ? r : De;
838
+ return typeof r == "function" ? r : Fe;
839
839
  }
840
840
  function hi(e) {
841
841
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -858,65 +858,51 @@ function pi(e, t) {
858
858
  function mi(e, t, r) {
859
859
  var n = {};
860
860
  return r.isMergeableObject(e) && or(e).forEach(function(i) {
861
- n[i] = tt(e[i], r);
861
+ n[i] = rt(e[i], r);
862
862
  }), or(t).forEach(function(i) {
863
- pi(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = fi(i, r)(e[i], t[i], r) : n[i] = tt(t[i], r));
863
+ pi(e, i) || (Fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = fi(i, r)(e[i], t[i], r) : n[i] = rt(t[i], r));
864
864
  }), n;
865
865
  }
866
- function De(e, t, r) {
867
- r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = tt;
866
+ function Fe(e, t, r) {
867
+ r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = rt;
868
868
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
869
- return o ? n ? r.arrayMerge(e, t, r) : mi(e, t, r) : tt(t, r);
869
+ return o ? n ? r.arrayMerge(e, t, r) : mi(e, t, r) : rt(t, r);
870
870
  }
871
- De.all = function(t, r) {
871
+ Fe.all = function(t, r) {
872
872
  if (!Array.isArray(t))
873
873
  throw new Error("first argument should be an array");
874
874
  return t.reduce(function(n, i) {
875
- return De(n, i, r);
875
+ return Fe(n, i, r);
876
876
  }, {});
877
877
  };
878
- var bi = De, gi = bi;
878
+ var bi = Fe, gi = bi;
879
879
  const vi = /* @__PURE__ */ ni(gi);
880
- /*! *****************************************************************************
881
- Copyright (c) Microsoft Corporation.
882
-
883
- Permission to use, copy, modify, and/or distribute this software for any
884
- purpose with or without fee is hereby granted.
885
-
886
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
887
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
888
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
889
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
890
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
891
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
892
- PERFORMANCE OF THIS SOFTWARE.
893
- ***************************************************************************** */
894
- var It = function(e, t) {
895
- return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
880
+ var Mt = function(e, t) {
881
+ return Mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
896
882
  r.__proto__ = n;
897
883
  } || function(r, n) {
898
884
  for (var i in n)
899
885
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
900
- }, It(e, t);
886
+ }, Mt(e, t);
901
887
  };
902
- function yt(e, t) {
888
+ function _t(e, t) {
903
889
  if (typeof t != "function" && t !== null)
904
890
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
905
- It(e, t);
891
+ Mt(e, t);
906
892
  function r() {
907
893
  this.constructor = e;
908
894
  }
909
895
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
910
896
  }
911
- var B = function() {
912
- return B = Object.assign || function(t) {
897
+ var ye = function() {
898
+ return ye = Object.assign || function(t) {
913
899
  for (var r, n = 1, i = arguments.length; n < i; n++) {
914
900
  r = arguments[n];
915
901
  for (var o in r)
916
902
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
917
903
  }
918
904
  return t;
919
- }, B.apply(this, arguments);
905
+ }, ye.apply(this, arguments);
920
906
  };
921
907
  function yi(e, t) {
922
908
  var r = {};
@@ -927,14 +913,14 @@ function yi(e, t) {
927
913
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
928
914
  return r;
929
915
  }
930
- function Tt(e, t, r) {
931
- if (arguments.length === 2)
916
+ function Rt(e, t, r) {
917
+ if (r || arguments.length === 2)
932
918
  for (var n = 0, i = t.length, o; n < i; n++)
933
919
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
934
- return e.concat(o || t);
920
+ return e.concat(o || Array.prototype.slice.call(t));
935
921
  }
936
- function Ct(e, t) {
937
- var r = t && t.cache ? t.cache : Si, n = t && t.serializer ? t.serializer : Ei, i = t && t.strategy ? t.strategy : _i;
922
+ function Lt(e, t) {
923
+ var r = t && t.cache ? t.cache : Ti, n = t && t.serializer ? t.serializer : Ei, i = t && t.strategy ? t.strategy : Pi;
938
924
  return i(e, {
939
925
  cache: r,
940
926
  serializer: n
@@ -943,95 +929,103 @@ function Ct(e, t) {
943
929
  function wi(e) {
944
930
  return e == null || typeof e == "number" || typeof e == "boolean";
945
931
  }
946
- function jr(e, t, r, n) {
932
+ function _i(e, t, r, n) {
947
933
  var i = wi(n) ? n : r(n), o = t.get(i);
948
934
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
949
935
  }
950
- function zr(e, t, r) {
936
+ function jr(e, t, r) {
951
937
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
952
938
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
953
939
  }
954
- function Wt(e, t, r, n, i) {
940
+ function zr(e, t, r, n, i) {
955
941
  return r.bind(t, e, n, i);
956
942
  }
957
- function _i(e, t) {
958
- var r = e.length === 1 ? jr : zr;
959
- return Wt(e, this, r, t.cache.create(), t.serializer);
960
- }
961
943
  function Pi(e, t) {
962
- return Wt(e, this, zr, t.cache.create(), t.serializer);
944
+ var r = e.length === 1 ? _i : jr;
945
+ return zr(e, this, r, t.cache.create(), t.serializer);
963
946
  }
964
947
  function xi(e, t) {
965
- return Wt(e, this, jr, t.cache.create(), t.serializer);
948
+ return zr(e, this, jr, t.cache.create(), t.serializer);
966
949
  }
967
950
  var Ei = function() {
968
951
  return JSON.stringify(arguments);
969
- };
970
- function Zt() {
971
- this.cache = /* @__PURE__ */ Object.create(null);
972
- }
973
- Zt.prototype.get = function(e) {
974
- return this.cache[e];
975
- };
976
- Zt.prototype.set = function(e, t) {
977
- this.cache[e] = t;
978
- };
979
- var Si = {
952
+ }, Si = (
953
+ /** @class */
954
+ function() {
955
+ function e() {
956
+ this.cache = /* @__PURE__ */ Object.create(null);
957
+ }
958
+ return e.prototype.get = function(t) {
959
+ return this.cache[t];
960
+ }, e.prototype.set = function(t, r) {
961
+ this.cache[t] = r;
962
+ }, e;
963
+ }()
964
+ ), Ti = {
980
965
  create: function() {
981
- return new Zt();
966
+ return new Si();
982
967
  }
983
- }, Rt = {
984
- variadic: Pi,
985
- monadic: xi
986
- }, A;
968
+ }, Ht = {
969
+ variadic: xi
970
+ }, bt = function() {
971
+ return bt = Object.assign || function(t) {
972
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
973
+ r = arguments[n];
974
+ for (var o in r)
975
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
976
+ }
977
+ return t;
978
+ }, bt.apply(this, arguments);
979
+ };
980
+ var A;
987
981
  (function(e) {
988
982
  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";
989
983
  })(A || (A = {}));
990
- var z;
984
+ var j;
991
985
  (function(e) {
992
986
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
993
- })(z || (z = {}));
994
- var Fe;
987
+ })(j || (j = {}));
988
+ var je;
995
989
  (function(e) {
996
990
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
997
- })(Fe || (Fe = {}));
991
+ })(je || (je = {}));
998
992
  function sr(e) {
999
- return e.type === z.literal;
993
+ return e.type === j.literal;
1000
994
  }
1001
- function Ti(e) {
1002
- return e.type === z.argument;
995
+ function Ci(e) {
996
+ return e.type === j.argument;
1003
997
  }
1004
998
  function Gr(e) {
1005
- return e.type === z.number;
1006
- }
1007
- function Vr(e) {
1008
- return e.type === z.date;
999
+ return e.type === j.number;
1009
1000
  }
1010
1001
  function $r(e) {
1011
- return e.type === z.time;
1002
+ return e.type === j.date;
1003
+ }
1004
+ function Vr(e) {
1005
+ return e.type === j.time;
1012
1006
  }
1013
1007
  function qr(e) {
1014
- return e.type === z.select;
1008
+ return e.type === j.select;
1015
1009
  }
1016
1010
  function Xr(e) {
1017
- return e.type === z.plural;
1011
+ return e.type === j.plural;
1018
1012
  }
1019
- function Ci(e) {
1020
- return e.type === z.pound;
1013
+ function Ri(e) {
1014
+ return e.type === j.pound;
1021
1015
  }
1022
1016
  function Wr(e) {
1023
- return e.type === z.tag;
1017
+ return e.type === j.tag;
1024
1018
  }
1025
1019
  function Zr(e) {
1026
- return !!(e && typeof e == "object" && e.type === Fe.number);
1020
+ return !!(e && typeof e == "object" && e.type === je.number);
1027
1021
  }
1028
- function Mt(e) {
1029
- return !!(e && typeof e == "object" && e.type === Fe.dateTime);
1022
+ function Ot(e) {
1023
+ return !!(e && typeof e == "object" && e.type === je.dateTime);
1030
1024
  }
1031
- var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ri = /(?:[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;
1032
- function Li(e) {
1025
+ var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Li = /(?:[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;
1026
+ function Hi(e) {
1033
1027
  var t = {};
1034
- return e.replace(Ri, function(r) {
1028
+ return e.replace(Li, function(r) {
1035
1029
  var n = r.length;
1036
1030
  switch (r[0]) {
1037
1031
  case "G":
@@ -1120,11 +1114,21 @@ function Li(e) {
1120
1114
  return "";
1121
1115
  }), t;
1122
1116
  }
1123
- var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1124
- function Ai(e) {
1117
+ var $ = function() {
1118
+ return $ = Object.assign || function(t) {
1119
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1120
+ r = arguments[n];
1121
+ for (var o in r)
1122
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1123
+ }
1124
+ return t;
1125
+ }, $.apply(this, arguments);
1126
+ };
1127
+ var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1128
+ function Ni(e) {
1125
1129
  if (e.length === 0)
1126
1130
  throw new Error("Number skeleton cannot be empty");
1127
- for (var t = e.split(Hi).filter(function(f) {
1131
+ for (var t = e.split(Ai).filter(function(f) {
1128
1132
  return f.length > 0;
1129
1133
  }), r = [], n = 0, i = t; n < i.length; n++) {
1130
1134
  var o = i[n], s = o.split("/");
@@ -1139,10 +1143,10 @@ function Ai(e) {
1139
1143
  }
1140
1144
  return r;
1141
1145
  }
1142
- function Ni(e) {
1146
+ function Ii(e) {
1143
1147
  return e.replace(/^(.*?)-/, "");
1144
1148
  }
1145
- var ar = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jr = /^(@+)?(\+|#+)?[rs]?$/g, Ii = /(\*)(0+)|(#+)(0+)|(0+)/g, Qr = /^(0+)$/;
1149
+ var ar = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Qr = /^(0+)$/;
1146
1150
  function lr(e) {
1147
1151
  var t = {};
1148
1152
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jr, function(r, n, i) {
@@ -1207,7 +1211,7 @@ function ur(e) {
1207
1211
  var t = {}, r = Kr(e);
1208
1212
  return r || t;
1209
1213
  }
1210
- function Bi(e) {
1214
+ function Oi(e) {
1211
1215
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1212
1216
  var i = n[r];
1213
1217
  switch (i.stem) {
@@ -1231,7 +1235,7 @@ function Bi(e) {
1231
1235
  continue;
1232
1236
  case "measure-unit":
1233
1237
  case "unit":
1234
- t.style = "unit", t.unit = Ni(i.options[0]);
1238
+ t.style = "unit", t.unit = Ii(i.options[0]);
1235
1239
  continue;
1236
1240
  case "compact-short":
1237
1241
  case "K":
@@ -1242,13 +1246,13 @@ function Bi(e) {
1242
1246
  t.notation = "compact", t.compactDisplay = "long";
1243
1247
  continue;
1244
1248
  case "scientific":
1245
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(d, u) {
1246
- return B(B({}, d), ur(u));
1249
+ t = $($($({}, t), { notation: "scientific" }), i.options.reduce(function(d, u) {
1250
+ return $($({}, d), ur(u));
1247
1251
  }, {}));
1248
1252
  continue;
1249
1253
  case "engineering":
1250
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(d, u) {
1251
- return B(B({}, d), ur(u));
1254
+ t = $($($({}, t), { notation: "engineering" }), i.options.reduce(function(d, u) {
1255
+ return $($({}, d), ur(u));
1252
1256
  }, {}));
1253
1257
  continue;
1254
1258
  case "notation-simple":
@@ -1293,7 +1297,7 @@ function Bi(e) {
1293
1297
  case "integer-width":
1294
1298
  if (i.options.length > 1)
1295
1299
  throw new RangeError("integer-width stems only accept a single optional option");
1296
- i.options[0].replace(Ii, function(d, u, l, c, f, g) {
1300
+ i.options[0].replace(Bi, function(d, u, l, c, f, g) {
1297
1301
  if (u)
1298
1302
  t.minimumIntegerDigits = l.length;
1299
1303
  else {
@@ -1317,21 +1321,21 @@ function Bi(e) {
1317
1321
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1318
1322
  });
1319
1323
  var o = i.options[0];
1320
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), lr(o)));
1324
+ o === "w" ? t = $($({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = $($({}, t), lr(o)));
1321
1325
  continue;
1322
1326
  }
1323
1327
  if (Jr.test(i.stem)) {
1324
- t = B(B({}, t), lr(i.stem));
1328
+ t = $($({}, t), lr(i.stem));
1325
1329
  continue;
1326
1330
  }
1327
1331
  var s = Kr(i.stem);
1328
- s && (t = B(B({}, t), s));
1332
+ s && (t = $($({}, t), s));
1329
1333
  var a = Mi(i.stem);
1330
- a && (t = B(B({}, t), a));
1334
+ a && (t = $($({}, t), a));
1331
1335
  }
1332
1336
  return t;
1333
1337
  }
1334
- var it = {
1338
+ var ot = {
1335
1339
  "001": [
1336
1340
  "H",
1337
1341
  "h"
@@ -2746,13 +2750,13 @@ var it = {
2746
2750
  "h"
2747
2751
  ]
2748
2752
  };
2749
- function Oi(e, t) {
2753
+ function ki(e, t) {
2750
2754
  for (var r = "", n = 0; n < e.length; n++) {
2751
2755
  var i = e.charAt(n);
2752
2756
  if (i === "j") {
2753
2757
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2754
2758
  o++, n++;
2755
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = ki(t);
2759
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = Ui(t);
2756
2760
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2757
2761
  r += d;
2758
2762
  for (; s-- > 0; )
@@ -2762,7 +2766,7 @@ function Oi(e, t) {
2762
2766
  }
2763
2767
  return r;
2764
2768
  }
2765
- function ki(e) {
2769
+ function Ui(e) {
2766
2770
  var t = e.hourCycle;
2767
2771
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2768
2772
  e.hourCycles && // @ts-ignore
@@ -2781,23 +2785,23 @@ function ki(e) {
2781
2785
  }
2782
2786
  var r = e.language, n;
2783
2787
  r !== "root" && (n = e.maximize().region);
2784
- var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2788
+ var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
2785
2789
  return i[0];
2786
2790
  }
2787
- var Lt, Ui = new RegExp("^".concat(Yr.source, "*")), Di = new RegExp("".concat(Yr.source, "*$"));
2791
+ var At, Di = new RegExp("^".concat(Yr.source, "*")), Fi = new RegExp("".concat(Yr.source, "*$"));
2788
2792
  function N(e, t) {
2789
2793
  return { start: e, end: t };
2790
2794
  }
2791
- var Fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ji = !!String.fromCodePoint, zi = !!Object.fromEntries, Gi = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, $i = !!String.prototype.trimEnd, qi = !!Number.isSafeInteger, Xi = qi ? Number.isSafeInteger : function(e) {
2795
+ var ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), zi = !!String.fromCodePoint, Gi = !!Object.fromEntries, $i = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, qi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
2792
2796
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2793
- }, Bt = !0;
2797
+ }, kt = !0;
2794
2798
  try {
2795
- var Wi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2796
- Bt = ((Lt = Wi.exec("a")) === null || Lt === void 0 ? void 0 : Lt[0]) === "a";
2799
+ var Zi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2800
+ kt = ((At = Zi.exec("a")) === null || At === void 0 ? void 0 : At[0]) === "a";
2797
2801
  } catch {
2798
- Bt = !1;
2802
+ kt = !1;
2799
2803
  }
2800
- var dr = Fi ? (
2804
+ var dr = ji ? (
2801
2805
  // Native
2802
2806
  function(t, r, n) {
2803
2807
  return t.startsWith(r, n);
@@ -2807,7 +2811,7 @@ var dr = Fi ? (
2807
2811
  function(t, r, n) {
2808
2812
  return t.slice(n, n + r.length) === r;
2809
2813
  }
2810
- ), Ot = ji ? String.fromCodePoint : (
2814
+ ), Ut = zi ? String.fromCodePoint : (
2811
2815
  // IE11
2812
2816
  function() {
2813
2817
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2821,7 +2825,7 @@ var dr = Fi ? (
2821
2825
  }
2822
2826
  ), cr = (
2823
2827
  // native
2824
- zi ? Object.fromEntries : (
2828
+ Gi ? Object.fromEntries : (
2825
2829
  // Ponyfill
2826
2830
  function(t) {
2827
2831
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2831,7 +2835,7 @@ var dr = Fi ? (
2831
2835
  return r;
2832
2836
  }
2833
2837
  )
2834
- ), en = Gi ? (
2838
+ ), en = $i ? (
2835
2839
  // Native
2836
2840
  function(t, r) {
2837
2841
  return t.codePointAt(r);
@@ -2845,7 +2849,7 @@ var dr = Fi ? (
2845
2849
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2846
2850
  }
2847
2851
  }
2848
- ), Zi = Vi ? (
2852
+ ), Yi = Vi ? (
2849
2853
  // Native
2850
2854
  function(t) {
2851
2855
  return t.trimStart();
@@ -2853,9 +2857,9 @@ var dr = Fi ? (
2853
2857
  ) : (
2854
2858
  // Ponyfill
2855
2859
  function(t) {
2856
- return t.replace(Ui, "");
2860
+ return t.replace(Di, "");
2857
2861
  }
2858
- ), Yi = $i ? (
2862
+ ), Ji = qi ? (
2859
2863
  // Native
2860
2864
  function(t) {
2861
2865
  return t.trimEnd();
@@ -2863,32 +2867,32 @@ var dr = Fi ? (
2863
2867
  ) : (
2864
2868
  // Ponyfill
2865
2869
  function(t) {
2866
- return t.replace(Di, "");
2870
+ return t.replace(Fi, "");
2867
2871
  }
2868
2872
  );
2869
2873
  function tn(e, t) {
2870
2874
  return new RegExp(e, t);
2871
2875
  }
2872
- var kt;
2873
- if (Bt) {
2876
+ var Dt;
2877
+ if (kt) {
2874
2878
  var fr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2875
- kt = function(t, r) {
2879
+ Dt = function(t, r) {
2876
2880
  var n;
2877
2881
  fr.lastIndex = r;
2878
2882
  var i = fr.exec(t);
2879
2883
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2880
2884
  };
2881
2885
  } else
2882
- kt = function(t, r) {
2886
+ Dt = function(t, r) {
2883
2887
  for (var n = []; ; ) {
2884
2888
  var i = en(t, r);
2885
- if (i === void 0 || rn(i) || eo(i))
2889
+ if (i === void 0 || rn(i) || to(i))
2886
2890
  break;
2887
2891
  n.push(i), r += i >= 65536 ? 2 : 1;
2888
2892
  }
2889
- return Ot.apply(void 0, n);
2893
+ return Ut.apply(void 0, n);
2890
2894
  };
2891
- var Ji = (
2895
+ var Qi = (
2892
2896
  /** @class */
2893
2897
  function() {
2894
2898
  function e(t, r) {
@@ -2912,14 +2916,14 @@ var Ji = (
2912
2916
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2913
2917
  var a = this.clonePosition();
2914
2918
  this.bump(), i.push({
2915
- type: z.pound,
2919
+ type: j.pound,
2916
2920
  location: N(a, this.clonePosition())
2917
2921
  });
2918
2922
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2919
2923
  if (n)
2920
2924
  break;
2921
2925
  return this.error(A.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2922
- } else if (o === 60 && !this.ignoreTag && Ut(this.peek() || 0)) {
2926
+ } else if (o === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
2923
2927
  var s = this.parseTag(t, r);
2924
2928
  if (s.err)
2925
2929
  return s;
@@ -2940,7 +2944,7 @@ var Ji = (
2940
2944
  if (this.bumpSpace(), this.bumpIf("/>"))
2941
2945
  return {
2942
2946
  val: {
2943
- type: z.literal,
2947
+ type: j.literal,
2944
2948
  value: "<".concat(i, "/>"),
2945
2949
  location: N(n, this.clonePosition())
2946
2950
  },
@@ -2952,12 +2956,12 @@ var Ji = (
2952
2956
  return o;
2953
2957
  var s = o.val, a = this.clonePosition();
2954
2958
  if (this.bumpIf("</")) {
2955
- if (this.isEOF() || !Ut(this.char()))
2959
+ if (this.isEOF() || !Ft(this.char()))
2956
2960
  return this.error(A.INVALID_TAG, N(a, this.clonePosition()));
2957
2961
  var d = this.clonePosition(), u = this.parseTagName();
2958
2962
  return i !== u ? this.error(A.UNMATCHED_CLOSING_TAG, N(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2959
2963
  val: {
2960
- type: z.tag,
2964
+ type: j.tag,
2961
2965
  value: i,
2962
2966
  children: s,
2963
2967
  location: N(n, this.clonePosition())
@@ -2970,7 +2974,7 @@ var Ji = (
2970
2974
  return this.error(A.INVALID_TAG, N(n, this.clonePosition()));
2971
2975
  }, e.prototype.parseTagName = function() {
2972
2976
  var t = this.offset();
2973
- for (this.bump(); !this.isEOF() && Ki(this.char()); )
2977
+ for (this.bump(); !this.isEOF() && eo(this.char()); )
2974
2978
  this.bump();
2975
2979
  return this.message.slice(t, this.offset());
2976
2980
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2994,12 +2998,12 @@ var Ji = (
2994
2998
  }
2995
2999
  var d = N(n, this.clonePosition());
2996
3000
  return {
2997
- val: { type: z.literal, value: i, location: d },
3001
+ val: { type: j.literal, value: i, location: d },
2998
3002
  err: null
2999
3003
  };
3000
3004
  }, e.prototype.tryParseLeftAngleBracket = function() {
3001
3005
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3002
- !Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
3006
+ !Ki(this.peek() || 0)) ? (this.bump(), "<") : null;
3003
3007
  }, e.prototype.tryParseQuote = function(t) {
3004
3008
  if (this.isEOF() || this.char() !== 39)
3005
3009
  return null;
@@ -3033,12 +3037,12 @@ var Ji = (
3033
3037
  r.push(n);
3034
3038
  this.bump();
3035
3039
  }
3036
- return Ot.apply(void 0, r);
3040
+ return Ut.apply(void 0, r);
3037
3041
  }, e.prototype.tryParseUnquoted = function(t, r) {
3038
3042
  if (this.isEOF())
3039
3043
  return null;
3040
3044
  var n = this.char();
3041
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
3045
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ut(n));
3042
3046
  }, e.prototype.parseArgument = function(t, r) {
3043
3047
  var n = this.clonePosition();
3044
3048
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3054,7 +3058,7 @@ var Ji = (
3054
3058
  case 125:
3055
3059
  return this.bump(), {
3056
3060
  val: {
3057
- type: z.argument,
3061
+ type: j.argument,
3058
3062
  // value does not include the opening and closing braces.
3059
3063
  value: i,
3060
3064
  location: N(n, this.clonePosition())
@@ -3067,7 +3071,7 @@ var Ji = (
3067
3071
  return this.error(A.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
3068
3072
  }
3069
3073
  }, e.prototype.parseIdentifierIfPossible = function() {
3070
- var t = this.clonePosition(), r = this.offset(), n = kt(this.message, r), i = r + n.length;
3074
+ var t = this.clonePosition(), r = this.offset(), n = Dt(this.message, r), i = r + n.length;
3071
3075
  this.bumpTo(i);
3072
3076
  var o = this.clonePosition(), s = N(t, o);
3073
3077
  return { value: n, location: s };
@@ -3086,7 +3090,7 @@ var Ji = (
3086
3090
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3087
3091
  if (c.err)
3088
3092
  return c;
3089
- var f = Yi(c.val);
3093
+ var f = Ji(c.val);
3090
3094
  if (f.length === 0)
3091
3095
  return this.error(A.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
3092
3096
  var g = N(l, this.clonePosition());
@@ -3097,24 +3101,24 @@ var Ji = (
3097
3101
  return b;
3098
3102
  var y = N(i, this.clonePosition());
3099
3103
  if (u && dr(u?.style, "::", 0)) {
3100
- var _ = Zi(u.style.slice(2));
3104
+ var _ = Yi(u.style.slice(2));
3101
3105
  if (a === "number") {
3102
3106
  var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3103
3107
  return c.err ? c : {
3104
- val: { type: z.number, value: n, location: y, style: c.val },
3108
+ val: { type: j.number, value: n, location: y, style: c.val },
3105
3109
  err: null
3106
3110
  };
3107
3111
  } else {
3108
3112
  if (_.length === 0)
3109
3113
  return this.error(A.EXPECT_DATE_TIME_SKELETON, y);
3110
3114
  var S = _;
3111
- this.locale && (S = Oi(_, this.locale));
3115
+ this.locale && (S = ki(_, this.locale));
3112
3116
  var f = {
3113
- type: Fe.dateTime,
3117
+ type: je.dateTime,
3114
3118
  pattern: S,
3115
3119
  location: u.styleLocation,
3116
- parsedOptions: this.shouldParseSkeletons ? Li(S) : {}
3117
- }, x = a === "date" ? z.date : z.time;
3120
+ parsedOptions: this.shouldParseSkeletons ? Hi(S) : {}
3121
+ }, x = a === "date" ? j.date : j.time;
3118
3122
  return {
3119
3123
  val: { type: x, value: n, location: y, style: f },
3120
3124
  err: null
@@ -3123,7 +3127,7 @@ var Ji = (
3123
3127
  }
3124
3128
  return {
3125
3129
  val: {
3126
- type: a === "number" ? z.number : a === "date" ? z.date : z.time,
3130
+ type: a === "number" ? j.number : a === "date" ? j.date : j.time,
3127
3131
  value: n,
3128
3132
  location: y,
3129
3133
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3136,7 +3140,7 @@ var Ji = (
3136
3140
  case "select": {
3137
3141
  var w = this.clonePosition();
3138
3142
  if (this.bumpSpace(), !this.bumpIf(","))
3139
- return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, N(w, B({}, w)));
3143
+ return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, N(w, bt({}, w)));
3140
3144
  this.bumpSpace();
3141
3145
  var H = this.parseIdentifierIfPossible(), T = 0;
3142
3146
  if (a !== "select" && H.value === "offset") {
@@ -3148,26 +3152,26 @@ var Ji = (
3148
3152
  return c;
3149
3153
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), T = c.val;
3150
3154
  }
3151
- var j = this.tryParsePluralOrSelectOptions(t, a, r, H);
3152
- if (j.err)
3153
- return j;
3155
+ var F = this.tryParsePluralOrSelectOptions(t, a, r, H);
3156
+ if (F.err)
3157
+ return F;
3154
3158
  var b = this.tryParseArgumentClose(i);
3155
3159
  if (b.err)
3156
3160
  return b;
3157
3161
  var C = N(i, this.clonePosition());
3158
3162
  return a === "select" ? {
3159
3163
  val: {
3160
- type: z.select,
3164
+ type: j.select,
3161
3165
  value: n,
3162
- options: cr(j.val),
3166
+ options: cr(F.val),
3163
3167
  location: C
3164
3168
  },
3165
3169
  err: null
3166
3170
  } : {
3167
3171
  val: {
3168
- type: z.plural,
3172
+ type: j.plural,
3169
3173
  value: n,
3170
- options: cr(j.val),
3174
+ options: cr(F.val),
3171
3175
  offset: T,
3172
3176
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3173
3177
  location: C
@@ -3218,16 +3222,16 @@ var Ji = (
3218
3222
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3219
3223
  var n = [];
3220
3224
  try {
3221
- n = Ai(t);
3225
+ n = Ni(t);
3222
3226
  } catch {
3223
3227
  return this.error(A.INVALID_NUMBER_SKELETON, r);
3224
3228
  }
3225
3229
  return {
3226
3230
  val: {
3227
- type: Fe.number,
3231
+ type: je.number,
3228
3232
  tokens: n,
3229
3233
  location: r,
3230
- parsedOptions: this.shouldParseSkeletons ? Bi(n) : {}
3234
+ parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
3231
3235
  },
3232
3236
  err: null
3233
3237
  };
@@ -3275,7 +3279,7 @@ var Ji = (
3275
3279
  break;
3276
3280
  }
3277
3281
  var d = N(i, this.clonePosition());
3278
- return o ? (s *= n, Xi(s) ? { val: s, err: null } : this.error(r, d)) : this.error(t, d);
3282
+ return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, d)) : this.error(t, d);
3279
3283
  }, e.prototype.offset = function() {
3280
3284
  return this.position.offset;
3281
3285
  }, e.prototype.isEOF = function() {
@@ -3341,47 +3345,47 @@ var Ji = (
3341
3345
  }, e;
3342
3346
  }()
3343
3347
  );
3344
- function Ut(e) {
3348
+ function Ft(e) {
3345
3349
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3346
3350
  }
3347
- function Qi(e) {
3348
- return Ut(e) || e === 47;
3349
- }
3350
3351
  function Ki(e) {
3352
+ return Ft(e) || e === 47;
3353
+ }
3354
+ function eo(e) {
3351
3355
  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;
3352
3356
  }
3353
3357
  function rn(e) {
3354
3358
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3355
3359
  }
3356
- function eo(e) {
3360
+ function to(e) {
3357
3361
  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;
3358
3362
  }
3359
- function Dt(e) {
3363
+ function jt(e) {
3360
3364
  e.forEach(function(t) {
3361
3365
  if (delete t.location, qr(t) || Xr(t))
3362
3366
  for (var r in t.options)
3363
- delete t.options[r].location, Dt(t.options[r].value);
3367
+ delete t.options[r].location, jt(t.options[r].value);
3364
3368
  else
3365
- Gr(t) && Zr(t.style) || (Vr(t) || $r(t)) && Mt(t.style) ? delete t.style.location : Wr(t) && Dt(t.children);
3369
+ Gr(t) && Zr(t.style) || ($r(t) || Vr(t)) && Ot(t.style) ? delete t.style.location : Wr(t) && jt(t.children);
3366
3370
  });
3367
3371
  }
3368
- function to(e, t) {
3369
- t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3370
- var r = new Ji(e, t).parse();
3372
+ function ro(e, t) {
3373
+ t === void 0 && (t = {}), t = bt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3374
+ var r = new Qi(e, t).parse();
3371
3375
  if (r.err) {
3372
3376
  var n = SyntaxError(A[r.err.kind]);
3373
3377
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3374
3378
  }
3375
- return t?.captureLocation || Dt(r.val), r.val;
3379
+ return t?.captureLocation || jt(r.val), r.val;
3376
3380
  }
3377
- var je;
3381
+ var ze;
3378
3382
  (function(e) {
3379
3383
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3380
- })(je || (je = {}));
3381
- var wt = (
3384
+ })(ze || (ze = {}));
3385
+ var Pt = (
3382
3386
  /** @class */
3383
3387
  function(e) {
3384
- yt(t, e);
3388
+ _t(t, e);
3385
3389
  function t(r, n, i) {
3386
3390
  var o = e.call(this, r) || this;
3387
3391
  return o.code = n, o.originalMessage = i, o;
@@ -3393,44 +3397,44 @@ var wt = (
3393
3397
  ), hr = (
3394
3398
  /** @class */
3395
3399
  function(e) {
3396
- yt(t, e);
3400
+ _t(t, e);
3397
3401
  function t(r, n, i, o) {
3398
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), je.INVALID_VALUE, o) || this;
3402
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ze.INVALID_VALUE, o) || this;
3399
3403
  }
3400
3404
  return t;
3401
- }(wt)
3402
- ), ro = (
3405
+ }(Pt)
3406
+ ), no = (
3403
3407
  /** @class */
3404
3408
  function(e) {
3405
- yt(t, e);
3409
+ _t(t, e);
3406
3410
  function t(r, n, i) {
3407
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), je.INVALID_VALUE, i) || this;
3411
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ze.INVALID_VALUE, i) || this;
3408
3412
  }
3409
3413
  return t;
3410
- }(wt)
3411
- ), no = (
3414
+ }(Pt)
3415
+ ), io = (
3412
3416
  /** @class */
3413
3417
  function(e) {
3414
- yt(t, e);
3418
+ _t(t, e);
3415
3419
  function t(r, n) {
3416
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), je.MISSING_VALUE, n) || this;
3420
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ze.MISSING_VALUE, n) || this;
3417
3421
  }
3418
3422
  return t;
3419
- }(wt)
3423
+ }(Pt)
3420
3424
  ), ie;
3421
3425
  (function(e) {
3422
3426
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3423
3427
  })(ie || (ie = {}));
3424
- function io(e) {
3428
+ function oo(e) {
3425
3429
  return e.length < 2 ? e : e.reduce(function(t, r) {
3426
3430
  var n = t[t.length - 1];
3427
3431
  return !n || n.type !== ie.literal || r.type !== ie.literal ? t.push(r) : n.value += r.value, t;
3428
3432
  }, []);
3429
3433
  }
3430
- function oo(e) {
3434
+ function so(e) {
3431
3435
  return typeof e == "function";
3432
3436
  }
3433
- function at(e, t, r, n, i, o, s) {
3437
+ function lt(e, t, r, n, i, o, s) {
3434
3438
  if (e.length === 1 && sr(e[0]))
3435
3439
  return [
3436
3440
  {
@@ -3447,7 +3451,7 @@ function at(e, t, r, n, i, o, s) {
3447
3451
  });
3448
3452
  continue;
3449
3453
  }
3450
- if (Ci(l)) {
3454
+ if (Ri(l)) {
3451
3455
  typeof o == "number" && a.push({
3452
3456
  type: ie.literal,
3453
3457
  value: r.getNumberFormat(t).format(o)
@@ -3456,25 +3460,25 @@ function at(e, t, r, n, i, o, s) {
3456
3460
  }
3457
3461
  var c = l.value;
3458
3462
  if (!(i && c in i))
3459
- throw new no(c, s);
3463
+ throw new io(c, s);
3460
3464
  var f = i[c];
3461
- if (Ti(l)) {
3465
+ if (Ci(l)) {
3462
3466
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3463
3467
  type: typeof f == "string" ? ie.literal : ie.object,
3464
3468
  value: f
3465
3469
  });
3466
3470
  continue;
3467
3471
  }
3468
- if (Vr(l)) {
3469
- var g = typeof l.style == "string" ? n.date[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
3472
+ if ($r(l)) {
3473
+ var g = typeof l.style == "string" ? n.date[l.style] : Ot(l.style) ? l.style.parsedOptions : void 0;
3470
3474
  a.push({
3471
3475
  type: ie.literal,
3472
3476
  value: r.getDateTimeFormat(t, g).format(f)
3473
3477
  });
3474
3478
  continue;
3475
3479
  }
3476
- if ($r(l)) {
3477
- var g = typeof l.style == "string" ? n.time[l.style] : Mt(l.style) ? l.style.parsedOptions : n.time.medium;
3480
+ if (Vr(l)) {
3481
+ var g = typeof l.style == "string" ? n.time[l.style] : Ot(l.style) ? l.style.parsedOptions : n.time.medium;
3478
3482
  a.push({
3479
3483
  type: ie.literal,
3480
3484
  value: r.getDateTimeFormat(t, g).format(f)
@@ -3491,9 +3495,9 @@ function at(e, t, r, n, i, o, s) {
3491
3495
  }
3492
3496
  if (Wr(l)) {
3493
3497
  var b = l.children, y = l.value, _ = i[y];
3494
- if (!oo(_))
3495
- throw new ro(y, "function", s);
3496
- var S = at(b, t, r, n, i, o), x = _(S.map(function(T) {
3498
+ if (!so(_))
3499
+ throw new no(y, "function", s);
3500
+ var S = lt(b, t, r, n, i, o), x = _(S.map(function(T) {
3497
3501
  return T.value;
3498
3502
  }));
3499
3503
  Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(T) {
@@ -3507,38 +3511,38 @@ function at(e, t, r, n, i, o, s) {
3507
3511
  var w = l.options[f] || l.options.other;
3508
3512
  if (!w)
3509
3513
  throw new hr(l.value, f, Object.keys(l.options), s);
3510
- a.push.apply(a, at(w.value, t, r, n, i));
3514
+ a.push.apply(a, lt(w.value, t, r, n, i));
3511
3515
  continue;
3512
3516
  }
3513
3517
  if (Xr(l)) {
3514
3518
  var w = l.options["=".concat(f)];
3515
3519
  if (!w) {
3516
3520
  if (!Intl.PluralRules)
3517
- throw new wt(`Intl.PluralRules is not available in this environment.
3521
+ throw new Pt(`Intl.PluralRules is not available in this environment.
3518
3522
  Try polyfilling it using "@formatjs/intl-pluralrules"
3519
- `, je.MISSING_INTL_API, s);
3523
+ `, ze.MISSING_INTL_API, s);
3520
3524
  var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3521
3525
  w = l.options[H] || l.options.other;
3522
3526
  }
3523
3527
  if (!w)
3524
3528
  throw new hr(l.value, f, Object.keys(l.options), s);
3525
- a.push.apply(a, at(w.value, t, r, n, i, f - (l.offset || 0)));
3529
+ a.push.apply(a, lt(w.value, t, r, n, i, f - (l.offset || 0)));
3526
3530
  continue;
3527
3531
  }
3528
3532
  }
3529
- return io(a);
3533
+ return oo(a);
3530
3534
  }
3531
- function so(e, t) {
3532
- return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3533
- return r[n] = B(B({}, e[n]), t[n] || {}), r;
3535
+ function ao(e, t) {
3536
+ return t ? ye(ye(ye({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3537
+ return r[n] = ye(ye({}, e[n]), t[n] || {}), r;
3534
3538
  }, {})) : e;
3535
3539
  }
3536
- function ao(e, t) {
3540
+ function lo(e, t) {
3537
3541
  return t ? Object.keys(e).reduce(function(r, n) {
3538
- return r[n] = so(e[n], t[n]), r;
3539
- }, B({}, e)) : e;
3542
+ return r[n] = ao(e[n], t[n]), r;
3543
+ }, ye({}, e)) : e;
3540
3544
  }
3541
- function Ht(e) {
3545
+ function Nt(e) {
3542
3546
  return {
3543
3547
  create: function() {
3544
3548
  return {
@@ -3552,39 +3556,39 @@ function Ht(e) {
3552
3556
  }
3553
3557
  };
3554
3558
  }
3555
- function lo(e) {
3559
+ function uo(e) {
3556
3560
  return e === void 0 && (e = {
3557
3561
  number: {},
3558
3562
  dateTime: {},
3559
3563
  pluralRules: {}
3560
3564
  }), {
3561
- getNumberFormat: Ct(function() {
3565
+ getNumberFormat: Lt(function() {
3562
3566
  for (var t, r = [], n = 0; n < arguments.length; n++)
3563
3567
  r[n] = arguments[n];
3564
- return new ((t = Intl.NumberFormat).bind.apply(t, Tt([void 0], r, !1)))();
3568
+ return new ((t = Intl.NumberFormat).bind.apply(t, Rt([void 0], r, !1)))();
3565
3569
  }, {
3566
- cache: Ht(e.number),
3567
- strategy: Rt.variadic
3570
+ cache: Nt(e.number),
3571
+ strategy: Ht.variadic
3568
3572
  }),
3569
- getDateTimeFormat: Ct(function() {
3573
+ getDateTimeFormat: Lt(function() {
3570
3574
  for (var t, r = [], n = 0; n < arguments.length; n++)
3571
3575
  r[n] = arguments[n];
3572
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Tt([void 0], r, !1)))();
3576
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Rt([void 0], r, !1)))();
3573
3577
  }, {
3574
- cache: Ht(e.dateTime),
3575
- strategy: Rt.variadic
3578
+ cache: Nt(e.dateTime),
3579
+ strategy: Ht.variadic
3576
3580
  }),
3577
- getPluralRules: Ct(function() {
3581
+ getPluralRules: Lt(function() {
3578
3582
  for (var t, r = [], n = 0; n < arguments.length; n++)
3579
3583
  r[n] = arguments[n];
3580
- return new ((t = Intl.PluralRules).bind.apply(t, Tt([void 0], r, !1)))();
3584
+ return new ((t = Intl.PluralRules).bind.apply(t, Rt([void 0], r, !1)))();
3581
3585
  }, {
3582
- cache: Ht(e.pluralRules),
3583
- strategy: Rt.variadic
3586
+ cache: Nt(e.pluralRules),
3587
+ strategy: Ht.variadic
3584
3588
  })
3585
3589
  };
3586
3590
  }
3587
- var uo = (
3591
+ var co = (
3588
3592
  /** @class */
3589
3593
  function() {
3590
3594
  function e(t, r, n, i) {
@@ -3603,7 +3607,7 @@ var uo = (
3603
3607
  }, []);
3604
3608
  return l.length <= 1 ? l[0] || "" : l;
3605
3609
  }, this.formatToParts = function(d) {
3606
- return at(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
3610
+ return lt(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
3607
3611
  }, this.resolvedOptions = function() {
3608
3612
  var d;
3609
3613
  return {
@@ -3617,12 +3621,12 @@ var uo = (
3617
3621
  var s = i || {};
3618
3622
  s.formatters;
3619
3623
  var a = yi(s, ["formatters"]);
3620
- this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3624
+ this.ast = e.__parse(t, ye(ye({}, a), { locale: this.resolvedLocale }));
3621
3625
  } else
3622
3626
  this.ast = t;
3623
3627
  if (!Array.isArray(this.ast))
3624
3628
  throw new TypeError("A message must be provided as a String or AST.");
3625
- this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
3629
+ this.formats = lo(e.formats, n), this.formatters = i && i.formatters || uo(this.formatterCache);
3626
3630
  }
3627
3631
  return Object.defineProperty(e, "defaultLocale", {
3628
3632
  get: function() {
@@ -3635,7 +3639,7 @@ var uo = (
3635
3639
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3636
3640
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3637
3641
  }
3638
- }, e.__parse = to, e.formats = {
3642
+ }, e.__parse = ro, e.formats = {
3639
3643
  number: {
3640
3644
  integer: {
3641
3645
  maximumFractionDigits: 0
@@ -3696,7 +3700,7 @@ var uo = (
3696
3700
  }, e;
3697
3701
  }()
3698
3702
  );
3699
- function co(e, t) {
3703
+ function fo(e, t) {
3700
3704
  if (t == null)
3701
3705
  return;
3702
3706
  if (t in e)
@@ -3717,36 +3721,36 @@ function co(e, t) {
3717
3721
  n = void 0;
3718
3722
  return n;
3719
3723
  }
3720
- const xe = {}, fo = (e, t, r) => r && (t in xe || (xe[t] = {}), e in xe[t] || (xe[t][e] = r), r), nn = (e, t) => {
3724
+ const Ee = {}, ho = (e, t, r) => r && (t in Ee || (Ee[t] = {}), e in Ee[t] || (Ee[t][e] = r), r), nn = (e, t) => {
3721
3725
  if (t == null)
3722
3726
  return;
3723
- if (t in xe && e in xe[t])
3724
- return xe[t][e];
3725
- const r = _t(t);
3727
+ if (t in Ee && e in Ee[t])
3728
+ return Ee[t][e];
3729
+ const r = xt(t);
3726
3730
  for (let n = 0; n < r.length; n++) {
3727
- const i = r[n], o = po(i, e);
3731
+ const i = r[n], o = mo(i, e);
3728
3732
  if (o)
3729
- return fo(e, t, o);
3733
+ return ho(e, t, o);
3730
3734
  }
3731
3735
  };
3732
3736
  let Yt;
3733
- const $e = vt({});
3734
- function ho(e) {
3737
+ const qe = wt({});
3738
+ function po(e) {
3735
3739
  return Yt[e] || null;
3736
3740
  }
3737
3741
  function on(e) {
3738
3742
  return e in Yt;
3739
3743
  }
3740
- function po(e, t) {
3744
+ function mo(e, t) {
3741
3745
  if (!on(e))
3742
3746
  return null;
3743
- const r = ho(e);
3744
- return co(r, t);
3747
+ const r = po(e);
3748
+ return fo(r, t);
3745
3749
  }
3746
- function mo(e) {
3750
+ function bo(e) {
3747
3751
  if (e == null)
3748
3752
  return;
3749
- const t = _t(e);
3753
+ const t = xt(e);
3750
3754
  for (let r = 0; r < t.length; r++) {
3751
3755
  const n = t[r];
3752
3756
  if (on(n))
@@ -3754,55 +3758,55 @@ function mo(e) {
3754
3758
  }
3755
3759
  }
3756
3760
  function sn(e, ...t) {
3757
- delete xe[e], $e.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3761
+ delete Ee[e], qe.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3758
3762
  }
3759
3763
  Ve(
3760
- [$e],
3764
+ [qe],
3761
3765
  ([e]) => Object.keys(e)
3762
3766
  );
3763
- $e.subscribe((e) => Yt = e);
3764
- const lt = {};
3765
- function bo(e, t) {
3766
- lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3767
+ qe.subscribe((e) => Yt = e);
3768
+ const ut = {};
3769
+ function go(e, t) {
3770
+ ut[e].delete(t), ut[e].size === 0 && delete ut[e];
3767
3771
  }
3768
3772
  function an(e) {
3769
- return lt[e];
3773
+ return ut[e];
3770
3774
  }
3771
- function go(e) {
3772
- return _t(e).map((t) => {
3775
+ function vo(e) {
3776
+ return xt(e).map((t) => {
3773
3777
  const r = an(t);
3774
3778
  return [t, r ? [...r] : []];
3775
3779
  }).filter(([, t]) => t.length > 0);
3776
3780
  }
3777
- function Ft(e) {
3778
- return e == null ? !1 : _t(e).some(
3781
+ function zt(e) {
3782
+ return e == null ? !1 : xt(e).some(
3779
3783
  (t) => {
3780
3784
  var r;
3781
3785
  return (r = an(t)) == null ? void 0 : r.size;
3782
3786
  }
3783
3787
  );
3784
3788
  }
3785
- function vo(e, t) {
3789
+ function yo(e, t) {
3786
3790
  return Promise.all(
3787
- t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
3791
+ t.map((n) => (go(e, n), n().then((i) => i.default || i)))
3788
3792
  ).then((n) => sn(e, ...n));
3789
3793
  }
3790
- const Ye = {};
3794
+ const Je = {};
3791
3795
  function ln(e) {
3792
- if (!Ft(e))
3793
- return e in Ye ? Ye[e] : Promise.resolve();
3794
- const t = go(e);
3795
- return Ye[e] = Promise.all(
3796
+ if (!zt(e))
3797
+ return e in Je ? Je[e] : Promise.resolve();
3798
+ const t = vo(e);
3799
+ return Je[e] = Promise.all(
3796
3800
  t.map(
3797
- ([r, n]) => vo(r, n)
3801
+ ([r, n]) => yo(r, n)
3798
3802
  )
3799
3803
  ).then(() => {
3800
- if (Ft(e))
3804
+ if (zt(e))
3801
3805
  return ln(e);
3802
- delete Ye[e];
3803
- }), Ye[e];
3806
+ delete Je[e];
3807
+ }), Je[e];
3804
3808
  }
3805
- const yo = {
3809
+ const wo = {
3806
3810
  number: {
3807
3811
  scientific: { notation: "scientific" },
3808
3812
  engineering: { notation: "engineering" },
@@ -3831,141 +3835,141 @@ const yo = {
3831
3835
  timeZoneName: "short"
3832
3836
  }
3833
3837
  }
3834
- }, wo = {
3838
+ }, _o = {
3835
3839
  fallbackLocale: null,
3836
3840
  loadingDelay: 200,
3837
- formats: yo,
3841
+ formats: wo,
3838
3842
  warnOnMissingMessages: !0,
3839
3843
  handleMissingMessage: void 0,
3840
3844
  ignoreTag: !0
3841
- }, _o = wo;
3842
- function ze() {
3843
- return _o;
3845
+ }, Po = _o;
3846
+ function Ge() {
3847
+ return Po;
3844
3848
  }
3845
- const At = vt(!1);
3846
- var Po = Object.defineProperty, xo = Object.defineProperties, Eo = Object.getOwnPropertyDescriptors, pr = Object.getOwnPropertySymbols, So = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? Po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Co = (e, t) => {
3849
+ const It = wt(!1);
3850
+ var xo = Object.defineProperty, Eo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, pr = Object.getOwnPropertySymbols, To = Object.prototype.hasOwnProperty, Co = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ro = (e, t) => {
3847
3851
  for (var r in t || (t = {}))
3848
- So.call(t, r) && mr(e, r, t[r]);
3852
+ To.call(t, r) && mr(e, r, t[r]);
3849
3853
  if (pr)
3850
3854
  for (var r of pr(t))
3851
- To.call(t, r) && mr(e, r, t[r]);
3855
+ Co.call(t, r) && mr(e, r, t[r]);
3852
3856
  return e;
3853
- }, Ro = (e, t) => xo(e, Eo(t));
3854
- let jt;
3855
- const mt = vt(null);
3857
+ }, Lo = (e, t) => Eo(e, So(t));
3858
+ let Gt;
3859
+ const gt = wt(null);
3856
3860
  function br(e) {
3857
3861
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3858
3862
  }
3859
- function _t(e, t = ze().fallbackLocale) {
3863
+ function xt(e, t = Ge().fallbackLocale) {
3860
3864
  const r = br(e);
3861
3865
  return t ? [.../* @__PURE__ */ new Set([...r, ...br(t)])] : r;
3862
3866
  }
3863
- function Ae() {
3864
- return jt ?? void 0;
3867
+ function Ne() {
3868
+ return Gt ?? void 0;
3865
3869
  }
3866
- mt.subscribe((e) => {
3867
- jt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3870
+ gt.subscribe((e) => {
3871
+ Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3868
3872
  });
3869
- const Lo = (e) => {
3870
- if (e && mo(e) && Ft(e)) {
3871
- const { loadingDelay: t } = ze();
3873
+ const Ho = (e) => {
3874
+ if (e && bo(e) && zt(e)) {
3875
+ const { loadingDelay: t } = Ge();
3872
3876
  let r;
3873
- return typeof window < "u" && Ae() != null && t ? r = window.setTimeout(
3874
- () => At.set(!0),
3877
+ return typeof window < "u" && Ne() != null && t ? r = window.setTimeout(
3878
+ () => It.set(!0),
3875
3879
  t
3876
- ) : At.set(!0), ln(e).then(() => {
3877
- mt.set(e);
3880
+ ) : It.set(!0), ln(e).then(() => {
3881
+ gt.set(e);
3878
3882
  }).finally(() => {
3879
- clearTimeout(r), At.set(!1);
3883
+ clearTimeout(r), It.set(!1);
3880
3884
  });
3881
3885
  }
3882
- return mt.set(e);
3883
- }, Te = Ro(Co({}, mt), {
3884
- set: Lo
3885
- }), Pt = (e) => {
3886
+ return gt.set(e);
3887
+ }, Ce = Lo(Ro({}, gt), {
3888
+ set: Ho
3889
+ }), Et = (e) => {
3886
3890
  const t = /* @__PURE__ */ Object.create(null);
3887
3891
  return (n) => {
3888
3892
  const i = JSON.stringify(n);
3889
3893
  return i in t ? t[i] : t[i] = e(n);
3890
3894
  };
3891
3895
  };
3892
- var Ho = Object.defineProperty, bt = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? Ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jt = (e, t) => {
3896
+ var Ao = Object.defineProperty, vt = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jt = (e, t) => {
3893
3897
  for (var r in t || (t = {}))
3894
3898
  un.call(t, r) && gr(e, r, t[r]);
3895
- if (bt)
3896
- for (var r of bt(t))
3899
+ if (vt)
3900
+ for (var r of vt(t))
3897
3901
  dn.call(t, r) && gr(e, r, t[r]);
3898
3902
  return e;
3899
- }, qe = (e, t) => {
3903
+ }, Xe = (e, t) => {
3900
3904
  var r = {};
3901
3905
  for (var n in e)
3902
3906
  un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3903
- if (e != null && bt)
3904
- for (var n of bt(e))
3907
+ if (e != null && vt)
3908
+ for (var n of vt(e))
3905
3909
  t.indexOf(n) < 0 && dn.call(e, n) && (r[n] = e[n]);
3906
3910
  return r;
3907
3911
  };
3908
- const rt = (e, t) => {
3909
- const { formats: r } = ze();
3912
+ const nt = (e, t) => {
3913
+ const { formats: r } = Ge();
3910
3914
  if (e in r && t in r[e])
3911
3915
  return r[e][t];
3912
3916
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3913
- }, Ao = Pt(
3917
+ }, No = Et(
3914
3918
  (e) => {
3915
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
3919
+ var t = e, { locale: r, format: n } = t, i = Xe(t, ["locale", "format"]);
3916
3920
  if (r == null)
3917
3921
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3918
- return n && (i = rt("number", n)), new Intl.NumberFormat(r, i);
3922
+ return n && (i = nt("number", n)), new Intl.NumberFormat(r, i);
3919
3923
  }
3920
- ), No = Pt(
3924
+ ), Io = Et(
3921
3925
  (e) => {
3922
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
3926
+ var t = e, { locale: r, format: n } = t, i = Xe(t, ["locale", "format"]);
3923
3927
  if (r == null)
3924
3928
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3925
- return n ? i = rt("date", n) : Object.keys(i).length === 0 && (i = rt("date", "short")), new Intl.DateTimeFormat(r, i);
3929
+ return n ? i = nt("date", n) : Object.keys(i).length === 0 && (i = nt("date", "short")), new Intl.DateTimeFormat(r, i);
3926
3930
  }
3927
- ), Io = Pt(
3931
+ ), Bo = Et(
3928
3932
  (e) => {
3929
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
3933
+ var t = e, { locale: r, format: n } = t, i = Xe(t, ["locale", "format"]);
3930
3934
  if (r == null)
3931
3935
  throw new Error(
3932
3936
  '[svelte-i18n] A "locale" must be set to format time values'
3933
3937
  );
3934
- return n ? i = rt("time", n) : Object.keys(i).length === 0 && (i = rt("time", "short")), new Intl.DateTimeFormat(r, i);
3938
+ return n ? i = nt("time", n) : Object.keys(i).length === 0 && (i = nt("time", "short")), new Intl.DateTimeFormat(r, i);
3935
3939
  }
3936
3940
  ), Mo = (e = {}) => {
3937
3941
  var t = e, {
3938
- locale: r = Ae()
3939
- } = t, n = qe(t, [
3940
- "locale"
3941
- ]);
3942
- return Ao(Jt({ locale: r }, n));
3943
- }, Bo = (e = {}) => {
3944
- var t = e, {
3945
- locale: r = Ae()
3946
- } = t, n = qe(t, [
3942
+ locale: r = Ne()
3943
+ } = t, n = Xe(t, [
3947
3944
  "locale"
3948
3945
  ]);
3949
3946
  return No(Jt({ locale: r }, n));
3950
3947
  }, Oo = (e = {}) => {
3951
3948
  var t = e, {
3952
- locale: r = Ae()
3953
- } = t, n = qe(t, [
3949
+ locale: r = Ne()
3950
+ } = t, n = Xe(t, [
3954
3951
  "locale"
3955
3952
  ]);
3956
3953
  return Io(Jt({ locale: r }, n));
3957
- }, ko = Pt(
3954
+ }, ko = (e = {}) => {
3955
+ var t = e, {
3956
+ locale: r = Ne()
3957
+ } = t, n = Xe(t, [
3958
+ "locale"
3959
+ ]);
3960
+ return Bo(Jt({ locale: r }, n));
3961
+ }, Uo = Et(
3958
3962
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3959
- (e, t = Ae()) => new uo(e, t, ze().formats, {
3960
- ignoreTag: ze().ignoreTag
3963
+ (e, t = Ne()) => new co(e, t, Ge().formats, {
3964
+ ignoreTag: Ge().ignoreTag
3961
3965
  })
3962
- ), Uo = (e, t = {}) => {
3966
+ ), Do = (e, t = {}) => {
3963
3967
  var r, n, i, o;
3964
3968
  let s = t;
3965
3969
  typeof e == "object" && (s = e, e = s.id);
3966
3970
  const {
3967
3971
  values: a,
3968
- locale: d = Ae(),
3972
+ locale: d = Ne(),
3969
3973
  default: u
3970
3974
  } = s;
3971
3975
  if (d == null)
@@ -3974,7 +3978,7 @@ const rt = (e, t) => {
3974
3978
  );
3975
3979
  let l = nn(e, d);
3976
3980
  if (!l)
3977
- l = (o = (i = (n = (r = ze()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3981
+ l = (o = (i = (n = (r = Ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3978
3982
  else if (typeof l != "string")
3979
3983
  return console.warn(
3980
3984
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3983,7 +3987,7 @@ const rt = (e, t) => {
3983
3987
  return l;
3984
3988
  let c = l;
3985
3989
  try {
3986
- c = ko(l, d).format(a);
3990
+ c = Uo(l, d).format(a);
3987
3991
  } catch (f) {
3988
3992
  f instanceof Error && console.warn(
3989
3993
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3991,29 +3995,29 @@ const rt = (e, t) => {
3991
3995
  );
3992
3996
  }
3993
3997
  return c;
3994
- }, Do = (e, t) => Oo(t).format(e), Fo = (e, t) => Bo(t).format(e), jo = (e, t) => Mo(t).format(e), zo = (e, t = Ae()) => nn(e, t), Go = Ve([Te, $e], () => Uo);
3995
- Ve([Te], () => Do);
3996
- Ve([Te], () => Fo);
3997
- Ve([Te], () => jo);
3998
- Ve([Te, $e], () => zo);
3998
+ }, Fo = (e, t) => ko(t).format(e), jo = (e, t) => Oo(t).format(e), zo = (e, t) => Mo(t).format(e), Go = (e, t = Ne()) => nn(e, t), $o = Ve([Ce, qe], () => Do);
3999
+ Ve([Ce], () => Fo);
4000
+ Ve([Ce], () => jo);
4001
+ Ve([Ce], () => zo);
4002
+ Ve([Ce, qe], () => Go);
3999
4003
  function Vo({ withLocale: e, translations: t }) {
4000
- Te.subscribe((r) => {
4001
- r == null && ($e.set(t), Te.set(e));
4004
+ Ce.subscribe((r) => {
4005
+ r == null && (qe.set(t), Ce.set(e));
4002
4006
  });
4003
4007
  }
4004
4008
  function vr(e, t) {
4005
4009
  sn(e, t);
4006
4010
  }
4007
- function $o(e) {
4008
- Te.set(e);
4011
+ function qo(e) {
4012
+ Ce.set(e);
4009
4013
  }
4010
- function qo(e, t) {
4014
+ function Xo(e, t) {
4011
4015
  if (e) {
4012
4016
  const r = document.createElement("style");
4013
4017
  r.innerHTML = t, e.appendChild(r);
4014
4018
  }
4015
4019
  }
4016
- function Xo(e, t) {
4020
+ function Wo(e, t) {
4017
4021
  if (!e || !t)
4018
4022
  return;
4019
4023
  const r = new URL(t);
@@ -4024,7 +4028,7 @@ function Xo(e, t) {
4024
4028
  console.error("There was an error while trying to load client styling from URL", n);
4025
4029
  });
4026
4030
  }
4027
- function Wo(e, t, r) {
4031
+ function Zo(e, t, r) {
4028
4032
  if (window.emMessageBus) {
4029
4033
  const n = document.createElement("style");
4030
4034
  window.emMessageBus.subscribe(t, (i) => {
@@ -4453,7 +4457,7 @@ function _r(e, t) {
4453
4457
  } catch {
4454
4458
  }
4455
4459
  }
4456
- function Zo(e) {
4460
+ function Yo(e) {
4457
4461
  try {
4458
4462
  const t = localStorage.getItem(Qt(e));
4459
4463
  return t != null ? Math.max(0, parseInt(t, 10)) : null;
@@ -4461,13 +4465,13 @@ function Zo(e) {
4461
4465
  return null;
4462
4466
  }
4463
4467
  }
4464
- function Yo(e) {
4468
+ function Jo(e) {
4465
4469
  try {
4466
4470
  localStorage.removeItem(Qt(e));
4467
4471
  } catch {
4468
4472
  }
4469
4473
  }
4470
- function Jo(e) {
4474
+ function Qo(e) {
4471
4475
  Hn(e, "svelte-1nua6jd", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.ResetPwdOverlay{position:fixed;inset:0;background:rgba(17, 24, 39, 0.6);display:grid;place-items:center;z-index:100}.ResetPwdCard{position:relative;width:min(92vw, 520px);background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #f9f8f8));color:var(--emw--color-typography-contrast);border-radius:var(--emw--border-radius-large, 16px);padding:20px;box-shadow:0 10px 30px rgba(0, 0, 0, 0.2)}.ResetPwdClose{position:absolute;top:10px;right:10px;width:20px;height:20px;border:none;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background 120ms ease-in-out, filter 120ms ease-in-out}.ResetPwdClose:hover{background:rgba(0, 0, 0, 0.04);filter:brightness(1.02)}.ResetPwdClose:active{filter:brightness(0.98)}.ResetPwdTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-semi-bold, 600);padding:0;margin:0 0 10px 0}.ResetPwdSub{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-medium, 16px);padding:0;margin-bottom:10px}.ResetPwdStepTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-size:var(--emw--font-size-medium, 1rem);font-weight:var(--emw--font-weight-semi-bold, 700);padding:0;margin:0 0 5px 0}.ResetPwdHelp{font-size:var(--emw--font-size-medium, 14px);color:#4b5563;margin-bottom:20px}.ResetPwdRow{display:flex;gap:12px;align-items:flex-end;margin-bottom:8px;flex-wrap:wrap}.ResetPwdField{display:flex;flex-direction:column;min-width:0;position:relative}.ResetPwdFieldPrefix{flex:0 1 100px}.ResetPwdFieldPhone{flex:1 1 160px}vaadin-combo-box{width:100%;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));border-radius:var(--emw--border-radius-small, 6px);font-size:var(--emw--font-size-medium, 16px);background:transparent;color:inherit}vaadin-combo-box input{width:100%;border-radius:var(--emw--border-radius-small, 6px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}vaadin-combo-box-overlay{z-index:101}.ResetPwdFieldCode{flex:1 1 100%}.ResetPwdFieldMeta{flex:1 1 auto;min-width:200px}.ResetPwdMetaRow{display:flex;gap:12px;justify-content:space-between;margin-bottom:4px;flex-wrap:wrap}.ResetPwdMeta{font-size:var(--emw--font-size-xtra-small, 10px);color:#4b5563}.ResetPwdLabel{display:block;font-size:var(--emw--font-size-small, 12px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPwdInput{width:100%;background:transparent;color:inherit;border-radius:var(--emw--border-radius-small, 6px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));padding:6px 12px;box-sizing:border-box;font-size:var(--emw--font-size-medium, 14px);line-height:18px}.ResetPwdInput::placeholder{color:#4b5563}.ResetPwdInput:focus{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22b04e));outline:none}.ResetPwdInput[aria-invalid=true]{box-shadow:0 0 0 2px rgba(185, 28, 28, 0.08);border:1px solid var(--emw--color-error, #fecaca);background:var(--emw--color-pale, #fbecf4);color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444))}.ResetPwdCodeGroup{display:flex;gap:12px}.ResetPwdCodeInput{width:32px;height:32px;text-align:center;font-size:var(--emw--font-size-medium, 16px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));border-radius:var(--emw--border-radius-medium, 10px);background:transparent;color:inherit}.ResetPwdCodeInput:focus{outline:none;border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 2px rgba(17, 24, 39, 0.08)}.ResetPwdCodeInput[aria-invalid=true]{box-shadow:0 0 0 2px rgba(185, 28, 28, 0.08);border:1px solid var(--emw--color-error, #fecaca);background:var(--emw--color-pale, #fbecf4);color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444))}.ResetPwdErrors{margin-top:8px;margin-bottom:8px}.ResetPwdError{color:var(--emw--color-error, #b91c1c);font-size:var(--emw--font-size-xtra-small, 9px)}.ResetPwdError+.ResetPwdError{margin-top:4px}.ResetPwdHint{color:#92400e;background:#fef3c7;border:1px solid #fde68a;padding:8px 12px;border-radius:var(--emw--border-radius-medium, 10px);font-size:var(--emw--font-size-xtra-small, 9px);margin-top:4px}.ResetPwdButton{width:100%;margin-top:20px;font-family:var(--emw--button-typography, inherit);background:var(--emw--color-primary, #000000);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));border:none;border-radius:var(--emw--button-border-radius, 6px);padding:10px;font-size:var(--emw--font-size-small, 14px);cursor:pointer;transition:filter 120ms ease-in-out}.ResetPwdButton:hover{filter:brightness(1.02)}.ResetPwdButton:active{filter:brightness(0.98)}.ResetPwdButton:disabled{opacity:0.6;cursor:not-allowed}.ResetPwdLink{color:var(--emw--color-typography-contrast);cursor:pointer;background:transparent;text-decoration:underline;border:none;padding:8px 0;font-size:var(--emw--font-size-xtra-small, 10px)}.ResetPwdLink[disabled],.ResetPwdLink[aria-disabled=true]{opacity:0.6;cursor:not-allowed;text-decoration:none}@media(min-width: 768px){.ResetPwdFieldPrefix{flex:0 1 140px}.ResetPwdFieldPhone{flex:1 1 200px}.ResetPwdCodeInput{width:48px;height:48px}}@media(prefers-reduced-motion: reduce){.ResetPwdOverlay,.ResetPwdCard{transition:none !important;animation:none !important}}");
4472
4476
  }
4473
4477
  function Pr(e, t, r) {
@@ -4481,7 +4485,7 @@ function xr(e) {
4481
4485
  ), l, c, f, g = (
4482
4486
  /*$_*/
4483
4487
  e[10]("resetSubtitle") + ""
4484
- ), b, y, _, S, x, w, H, T, j, C = (
4488
+ ), b, y, _, S, x, w, H, T, F, C = (
4485
4489
  /*step*/
4486
4490
  e[2] === "phone" && Er(e)
4487
4491
  ), L = (
@@ -4490,20 +4494,20 @@ function xr(e) {
4490
4494
  );
4491
4495
  return {
4492
4496
  c() {
4493
- t = P("div"), r = P("div"), n = P("button"), i = O("×"), a = $(), d = P("h2"), l = O(u), c = $(), f = P("p"), b = O(g), y = $(), C && C.c(), _ = $(), L && L.c(), h(n, "class", "ResetPwdClose"), h(n, "type", "button"), h(n, "aria-label", o = /*$_*/
4497
+ t = P("div"), r = P("div"), n = P("button"), i = M("×"), a = V(), d = P("h2"), l = M(u), c = V(), f = P("p"), b = M(g), y = V(), C && C.c(), _ = V(), L && L.c(), h(n, "class", "ResetPwdClose"), h(n, "type", "button"), h(n, "aria-label", o = /*$_*/
4494
4498
  e[10]("close")), h(n, "title", s = /*$_*/
4495
4499
  e[10]("close")), h(d, "id", "ResetPwdTitle"), h(d, "class", "ResetPwdTitle"), h(f, "class", "ResetPwdSub"), h(r, "class", "ResetPwdCard"), h(t, "class", "ResetPwdOverlay"), h(t, "role", "dialog"), h(t, "aria-modal", "true"), h(t, "aria-labelledby", "ResetPwdTitle");
4496
4500
  },
4497
- m(M, Z) {
4498
- te(M, t, Z), m(t, r), m(r, n), m(n, i), m(r, a), m(r, d), m(d, l), m(r, c), m(r, f), m(f, b), m(r, y), C && C.m(r, null), m(r, _), L && L.m(r, null), H = !0, T || (j = Ee(
4501
+ m(B, Z) {
4502
+ te(B, t, Z), m(t, r), m(r, n), m(n, i), m(r, a), m(r, d), m(d, l), m(r, c), m(r, f), m(f, b), m(r, y), C && C.m(r, null), m(r, _), L && L.m(r, null), H = !0, T || (F = Se(
4499
4503
  n,
4500
4504
  "click",
4501
4505
  /*closeModal*/
4502
4506
  e[25]
4503
4507
  ), T = !0);
4504
4508
  },
4505
- p(M, Z) {
4506
- e = M, (!H || Z[0] & /*$_*/
4509
+ p(B, Z) {
4510
+ e = B, (!H || Z[0] & /*$_*/
4507
4511
  1024 && o !== (o = /*$_*/
4508
4512
  e[10]("close"))) && h(n, "aria-label", o), (!H || Z[0] & /*$_*/
4509
4513
  1024 && s !== (s = /*$_*/
@@ -4515,16 +4519,16 @@ function xr(e) {
4515
4519
  e[2] === "phone" ? C ? C.p(e, Z) : (C = Er(e), C.c(), C.m(r, _)) : C && (C.d(1), C = null), /*step*/
4516
4520
  e[2] === "code" ? L ? L.p(e, Z) : (L = Cr(e), L.c(), L.m(r, null)) : L && (L.d(1), L = null);
4517
4521
  },
4518
- i(M) {
4519
- H || (M && de(() => {
4520
- H && (x && x.end(1), S = $n(
4522
+ i(B) {
4523
+ H || (B && de(() => {
4524
+ H && (x && x.end(1), S = Vn(
4521
4525
  r,
4522
4526
  ir,
4523
4527
  /*cardIn*/
4524
4528
  e[23]
4525
4529
  ), S.start());
4526
- }), M && de(() => {
4527
- H && (w || (w = we(
4530
+ }), B && de(() => {
4531
+ H && (w || (w = _e(
4528
4532
  t,
4529
4533
  nr,
4530
4534
  /*overlayFade*/
@@ -4533,13 +4537,13 @@ function xr(e) {
4533
4537
  )), w.run(1));
4534
4538
  }), H = !0);
4535
4539
  },
4536
- o(M) {
4537
- S && S.invalidate(), M && (x = qn(
4540
+ o(B) {
4541
+ S && S.invalidate(), B && (x = qn(
4538
4542
  r,
4539
4543
  ir,
4540
4544
  /*cardOut*/
4541
4545
  e[24]
4542
- )), M && (w || (w = we(
4546
+ )), B && (w || (w = _e(
4543
4547
  t,
4544
4548
  nr,
4545
4549
  /*overlayFade*/
@@ -4547,8 +4551,8 @@ function xr(e) {
4547
4551
  !1
4548
4552
  )), w.run(0)), H = !1;
4549
4553
  },
4550
- d(M) {
4551
- M && Y(t), C && C.d(), L && L.d(), M && x && x.end(), M && w && w.end(), T = !1, j();
4554
+ d(B) {
4555
+ B && Y(t), C && C.d(), L && L.d(), B && x && x.end(), B && w && w.end(), T = !1, F();
4552
4556
  }
4553
4557
  };
4554
4558
  }
@@ -4562,7 +4566,7 @@ function Er(e) {
4562
4566
  ), l, c, f, g, b, y = (
4563
4567
  /*$_*/
4564
4568
  e[10]("phoneLabel") + ""
4565
- ), _, S, x, w, H, T, j, C, L, M = (
4569
+ ), _, S, x, w, H, T, F, C, L, B = (
4566
4570
  /*loading*/
4567
4571
  (e[11] ? (
4568
4572
  /*$_*/
@@ -4571,29 +4575,29 @@ function Er(e) {
4571
4575
  /*$_*/
4572
4576
  e[10]("requestCode")
4573
4577
  )) + ""
4574
- ), Z, pe, _e;
4575
- function Ce(I, R) {
4578
+ ), Z, pe, Pe;
4579
+ function Re(I, R) {
4576
4580
  return (
4577
4581
  /*phoneprefixeditable*/
4578
- I[0] === "true" ? Ko : Qo
4582
+ I[0] === "true" ? es : Ko
4579
4583
  );
4580
4584
  }
4581
- let ce = Ce(e), G = ce(e), k = (
4585
+ let ce = Re(e), z = ce(e), O = (
4582
4586
  /*phoneError*/
4583
4587
  e[15] && Sr(e)
4584
- ), D = (
4588
+ ), U = (
4585
4589
  /*phoneInfo*/
4586
4590
  e[16] && Tr(e)
4587
4591
  );
4588
4592
  return {
4589
4593
  c() {
4590
- t = P("section"), r = P("p"), i = O(n), o = $(), s = P("div"), a = P("div"), d = P("label"), l = O(u), c = $(), G.c(), f = $(), g = P("div"), b = P("label"), _ = O(y), S = $(), x = P("input"), H = $(), T = P("div"), k && k.c(), j = $(), D && D.c(), C = $(), L = P("button"), Z = O(M), h(r, "class", "ResetPwdHelp"), h(d, "class", "ResetPwdLabel"), h(d, "for", "ResetPwdPrefix"), h(a, "class", "ResetPwdField ResetPwdFieldPrefix"), nt(
4594
+ t = P("section"), r = P("p"), i = M(n), o = V(), s = P("div"), a = P("div"), d = P("label"), l = M(u), c = V(), z.c(), f = V(), g = P("div"), b = P("label"), _ = M(y), S = V(), x = P("input"), H = V(), T = P("div"), O && O.c(), F = V(), U && U.c(), C = V(), L = P("button"), Z = M(B), h(r, "class", "ResetPwdHelp"), h(d, "class", "ResetPwdLabel"), h(d, "for", "ResetPwdPrefix"), h(a, "class", "ResetPwdField ResetPwdFieldPrefix"), it(
4591
4595
  a,
4592
4596
  "ResetPwdFieldFilled",
4593
4597
  /*mobilePrefix*/
4594
4598
  e[14]
4595
4599
  ), h(b, "class", "ResetPwdLabel"), h(b, "for", "ResetPwdPhone"), h(x, "id", "ResetPwdPhone"), h(x, "class", "ResetPwdInput ResetPwdInputPhone"), h(x, "type", "tel"), h(x, "autocomplete", "tel-national"), h(x, "aria-invalid", w = /*phoneError*/
4596
- e[15] ? "true" : "false"), h(g, "class", "ResetPwdField ResetPwdFieldPhone"), nt(
4600
+ e[15] ? "true" : "false"), h(g, "class", "ResetPwdField ResetPwdFieldPhone"), it(
4597
4601
  g,
4598
4602
  "ResetPwdFieldFilled",
4599
4603
  /*phone*/
@@ -4602,18 +4606,18 @@ function Er(e) {
4602
4606
  e[11], h(t, "class", "ResetPwdSection ResetPwdSectionPhone");
4603
4607
  },
4604
4608
  m(I, R) {
4605
- te(I, t, R), m(t, r), m(r, i), m(t, o), m(t, s), m(s, a), m(a, d), m(d, l), m(a, c), G.m(a, null), m(s, f), m(s, g), m(g, b), m(b, _), m(g, S), m(g, x), ut(
4609
+ te(I, t, R), m(t, r), m(r, i), m(t, o), m(t, s), m(s, a), m(a, d), m(d, l), m(a, c), z.m(a, null), m(s, f), m(s, g), m(g, b), m(b, _), m(g, S), m(g, x), dt(
4606
4610
  x,
4607
4611
  /*phone*/
4608
4612
  e[3]
4609
- ), m(t, H), m(t, T), k && k.m(T, null), m(T, j), D && D.m(T, null), m(t, C), m(t, L), m(L, Z), pe || (_e = [
4610
- Ee(
4613
+ ), m(t, H), m(t, T), O && O.m(T, null), m(T, F), U && U.m(T, null), m(t, C), m(t, L), m(L, Z), pe || (Pe = [
4614
+ Se(
4611
4615
  x,
4612
4616
  "input",
4613
4617
  /*input_input_handler_1*/
4614
4618
  e[49]
4615
4619
  ),
4616
- Ee(
4620
+ Se(
4617
4621
  L,
4618
4622
  "click",
4619
4623
  /*handleRequestCode*/
@@ -4626,8 +4630,8 @@ function Er(e) {
4626
4630
  1024 && n !== (n = /*$_*/
4627
4631
  I[10]("enterPhoneHelp") + "") && W(i, n), R[0] & /*$_*/
4628
4632
  1024 && u !== (u = /*$_*/
4629
- I[10]("countryCodeLabel") + "") && W(l, u), ce === (ce = Ce(I)) && G ? G.p(I, R) : (G.d(1), G = ce(I), G && (G.c(), G.m(a, null))), R[0] & /*mobilePrefix*/
4630
- 16384 && nt(
4633
+ I[10]("countryCodeLabel") + "") && W(l, u), ce === (ce = Re(I)) && z ? z.p(I, R) : (z.d(1), z = ce(I), z && (z.c(), z.m(a, null))), R[0] & /*mobilePrefix*/
4634
+ 16384 && it(
4631
4635
  a,
4632
4636
  "ResetPwdFieldFilled",
4633
4637
  /*mobilePrefix*/
@@ -4637,42 +4641,42 @@ function Er(e) {
4637
4641
  I[10]("phoneLabel") + "") && W(_, y), R[0] & /*phoneError*/
4638
4642
  32768 && w !== (w = /*phoneError*/
4639
4643
  I[15] ? "true" : "false") && h(x, "aria-invalid", w), R[0] & /*phone*/
4640
- 8 && ut(
4644
+ 8 && dt(
4641
4645
  x,
4642
4646
  /*phone*/
4643
4647
  I[3]
4644
4648
  ), R[0] & /*phone*/
4645
- 8 && nt(
4649
+ 8 && it(
4646
4650
  g,
4647
4651
  "ResetPwdFieldFilled",
4648
4652
  /*phone*/
4649
4653
  I[3]
4650
4654
  ), /*phoneError*/
4651
- I[15] ? k ? (k.p(I, R), R[0] & /*phoneError*/
4652
- 32768 && ue(k, 1)) : (k = Sr(I), k.c(), ue(k, 1), k.m(T, j)) : k && (Ke(), Ue(k, 1, 1, () => {
4653
- k = null;
4654
- }), et()), /*phoneInfo*/
4655
- I[16] ? D ? (D.p(I, R), R[0] & /*phoneInfo*/
4656
- 65536 && ue(D, 1)) : (D = Tr(I), D.c(), ue(D, 1), D.m(T, null)) : D && (Ke(), Ue(D, 1, 1, () => {
4657
- D = null;
4658
- }), et()), R[0] & /*loading, $_*/
4659
- 3072 && M !== (M = /*loading*/
4655
+ I[15] ? O ? (O.p(I, R), R[0] & /*phoneError*/
4656
+ 32768 && ue(O, 1)) : (O = Sr(I), O.c(), ue(O, 1), O.m(T, F)) : O && (et(), De(O, 1, 1, () => {
4657
+ O = null;
4658
+ }), tt()), /*phoneInfo*/
4659
+ I[16] ? U ? (U.p(I, R), R[0] & /*phoneInfo*/
4660
+ 65536 && ue(U, 1)) : (U = Tr(I), U.c(), ue(U, 1), U.m(T, null)) : U && (et(), De(U, 1, 1, () => {
4661
+ U = null;
4662
+ }), tt()), R[0] & /*loading, $_*/
4663
+ 3072 && B !== (B = /*loading*/
4660
4664
  (I[11] ? (
4661
4665
  /*$_*/
4662
4666
  I[10]("requesting")
4663
4667
  ) : (
4664
4668
  /*$_*/
4665
4669
  I[10]("requestCode")
4666
- )) + "") && W(Z, M), R[0] & /*loading*/
4670
+ )) + "") && W(Z, B), R[0] & /*loading*/
4667
4671
  2048 && (L.disabled = /*loading*/
4668
4672
  I[11]);
4669
4673
  },
4670
4674
  d(I) {
4671
- I && Y(t), G.d(), k && k.d(), D && D.d(), pe = !1, he(_e);
4675
+ I && Y(t), z.d(), O && O.d(), U && U.d(), pe = !1, he(Pe);
4672
4676
  }
4673
4677
  };
4674
4678
  }
4675
- function Qo(e) {
4679
+ function Ko(e) {
4676
4680
  let t, r, n, i;
4677
4681
  return {
4678
4682
  c() {
@@ -4680,11 +4684,11 @@ function Qo(e) {
4680
4684
  e[0] !== "true", h(t, "autocomplete", "tel-country-code");
4681
4685
  },
4682
4686
  m(o, s) {
4683
- te(o, t, s), ut(
4687
+ te(o, t, s), dt(
4684
4688
  t,
4685
4689
  /*mobilePrefix*/
4686
4690
  e[14]
4687
- ), n || (i = Ee(
4691
+ ), n || (i = Se(
4688
4692
  t,
4689
4693
  "input",
4690
4694
  /*input_input_handler*/
@@ -4696,7 +4700,7 @@ function Qo(e) {
4696
4700
  1 && r !== (r = /*phoneprefixeditable*/
4697
4701
  o[0] !== "true") && (t.readOnly = r), s[0] & /*mobilePrefix*/
4698
4702
  16384 && t.value !== /*mobilePrefix*/
4699
- o[14] && ut(
4703
+ o[14] && dt(
4700
4704
  t,
4701
4705
  /*mobilePrefix*/
4702
4706
  o[14]
@@ -4707,22 +4711,22 @@ function Qo(e) {
4707
4711
  }
4708
4712
  };
4709
4713
  }
4710
- function Ko(e) {
4714
+ function es(e) {
4711
4715
  let t, r;
4712
4716
  return {
4713
4717
  c() {
4714
- t = P("vaadin-combo-box"), Le(
4718
+ t = P("vaadin-combo-box"), He(
4715
4719
  t,
4716
4720
  "items",
4717
4721
  /*phoneCodes*/
4718
4722
  e[13]
4719
- ), Le(
4723
+ ), He(
4720
4724
  t,
4721
4725
  "value",
4722
4726
  /*mobilePrefix*/
4723
4727
  e[14]
4724
- ), Le(t, "errorMessage", r = /*$_*/
4725
- e[10]("invalidPrefix")), Le(
4728
+ ), He(t, "errorMessage", r = /*$_*/
4729
+ e[10]("invalidPrefix")), He(
4726
4730
  t,
4727
4731
  "onChange",
4728
4732
  /*handlePrefixDropdown*/
@@ -4734,20 +4738,20 @@ function Ko(e) {
4734
4738
  },
4735
4739
  p(n, i) {
4736
4740
  i[0] & /*phoneCodes*/
4737
- 8192 && Le(
4741
+ 8192 && He(
4738
4742
  t,
4739
4743
  "items",
4740
4744
  /*phoneCodes*/
4741
4745
  n[13]
4742
4746
  ), i[0] & /*mobilePrefix*/
4743
- 16384 && Le(
4747
+ 16384 && He(
4744
4748
  t,
4745
4749
  "value",
4746
4750
  /*mobilePrefix*/
4747
4751
  n[14]
4748
4752
  ), i[0] & /*$_*/
4749
4753
  1024 && r !== (r = /*$_*/
4750
- n[10]("invalidPrefix")) && Le(t, "errorMessage", r);
4754
+ n[10]("invalidPrefix")) && He(t, "errorMessage", r);
4751
4755
  },
4752
4756
  d(n) {
4753
4757
  n && Y(t);
@@ -4758,7 +4762,7 @@ function Sr(e) {
4758
4762
  let t, r, n, i;
4759
4763
  return {
4760
4764
  c() {
4761
- t = P("div"), r = O(
4765
+ t = P("div"), r = M(
4762
4766
  /*phoneError*/
4763
4767
  e[15]
4764
4768
  ), h(t, "class", "ResetPwdError");
@@ -4776,11 +4780,11 @@ function Sr(e) {
4776
4780
  },
4777
4781
  i(o) {
4778
4782
  i || (o && de(() => {
4779
- i && (n || (n = we(t, Se, { amount: 5 }, !0)), n.run(1));
4783
+ i && (n || (n = _e(t, Te, { amount: 5 }, !0)), n.run(1));
4780
4784
  }), i = !0);
4781
4785
  },
4782
4786
  o(o) {
4783
- o && (n || (n = we(t, Se, { amount: 5 }, !1)), n.run(0)), i = !1;
4787
+ o && (n || (n = _e(t, Te, { amount: 5 }, !1)), n.run(0)), i = !1;
4784
4788
  },
4785
4789
  d(o) {
4786
4790
  o && Y(t), o && n && n.end();
@@ -4791,7 +4795,7 @@ function Tr(e) {
4791
4795
  let t, r, n, i;
4792
4796
  return {
4793
4797
  c() {
4794
- t = P("div"), r = O(
4798
+ t = P("div"), r = M(
4795
4799
  /*phoneInfo*/
4796
4800
  e[16]
4797
4801
  ), h(t, "class", "ResetPwdHint");
@@ -4809,11 +4813,11 @@ function Tr(e) {
4809
4813
  },
4810
4814
  i(o) {
4811
4815
  i || (o && de(() => {
4812
- i && (n || (n = we(t, Se, { amount: 5 }, !0)), n.run(1));
4816
+ i && (n || (n = _e(t, Te, { amount: 5 }, !0)), n.run(1));
4813
4817
  }), i = !0);
4814
4818
  },
4815
4819
  o(o) {
4816
- o && (n || (n = we(t, Se, { amount: 5 }, !1)), n.run(0)), i = !1;
4820
+ o && (n || (n = _e(t, Te, { amount: 5 }, !1)), n.run(0)), i = !1;
4817
4821
  },
4818
4822
  d(o) {
4819
4823
  o && Y(t), o && n && n.end();
@@ -4833,10 +4837,10 @@ function Cr(e) {
4833
4837
  ), d, u, l, c, f, g = (
4834
4838
  /*$_*/
4835
4839
  e[10]("verificationCodeLabel") + ""
4836
- ), b, y, _, S, x, w, H, T, j, C, L, M, Z, pe = (
4840
+ ), b, y, _, S, x, w, H, T, F, C, L, B, Z, pe = (
4837
4841
  /*$_*/
4838
4842
  e[10]("attemptsLeft") + ""
4839
- ), _e, Ce, ce, G, k, D, I, R, ne, q, fe, me, Ne = (
4843
+ ), Pe, Re, ce, z, O, U, I, R, ne, q, fe, me, Ie = (
4840
4844
  /*loading*/
4841
4845
  (e[11] ? (
4842
4846
  /*$_*/
@@ -4845,7 +4849,7 @@ function Cr(e) {
4845
4849
  /*$_*/
4846
4850
  e[10]("submitCode")
4847
4851
  )) + ""
4848
- ), be, Pe, ge, Xe, le = rr(Array(
4852
+ ), be, xe, ge, We, le = rr(Array(
4849
4853
  /*codeLength*/
4850
4854
  e[26]
4851
4855
  )), re = [];
@@ -4854,7 +4858,7 @@ function Cr(e) {
4854
4858
  let J = (
4855
4859
  /*codeError*/
4856
4860
  e[17] && Lr(e)
4857
- ), U = (
4861
+ ), k = (
4858
4862
  /*codeExpiredHint*/
4859
4863
  e[18] && /*remainingSeconds*/
4860
4864
  e[9] === 0 && Hr(e)
@@ -4862,25 +4866,25 @@ function Cr(e) {
4862
4866
  /*expiresAt*/
4863
4867
  e[5] && Ar(e)
4864
4868
  );
4865
- function Q(v, V) {
4869
+ function Q(v, G) {
4866
4870
  return (
4867
4871
  /*canResendAt*/
4868
4872
  v[6] && /*now*/
4869
4873
  v[7] < /*canResendAt*/
4870
- v[6] ? ts : es
4874
+ v[6] ? rs : ts
4871
4875
  );
4872
4876
  }
4873
- let Re = Q(e), se = Re(e);
4877
+ let Le = Q(e), se = Le(e);
4874
4878
  return {
4875
4879
  c() {
4876
- t = P("section"), r = P("h3"), i = O(n), o = $(), s = P("p"), d = O(a), u = $(), l = P("div"), c = P("div"), f = P("label"), b = O(g), y = $(), _ = P("div");
4880
+ t = P("section"), r = P("h3"), i = M(n), o = V(), s = P("p"), d = M(a), u = V(), l = P("div"), c = P("div"), f = P("label"), b = M(g), y = V(), _ = P("div");
4877
4881
  for (let v = 0; v < re.length; v += 1)
4878
4882
  re[v].c();
4879
- x = $(), w = P("div"), J && J.c(), H = $(), U && U.c(), T = $(), j = P("div"), C = P("div"), L = P("div"), M = P("span"), Z = P("strong"), _e = O(pe), Ce = O(":"), ce = $(), G = P("span"), k = O(
4883
+ x = V(), w = P("div"), J && J.c(), H = V(), k && k.c(), T = V(), F = P("div"), C = P("div"), L = P("div"), B = P("span"), Z = P("strong"), Pe = M(pe), Re = M(":"), ce = V(), z = P("span"), O = M(
4880
4884
  /*attemptsRemaining*/
4881
4885
  e[4]
4882
- ), D = $(), X && X.c(), I = $(), R = P("button"), se.c(), fe = $(), me = P("button"), be = O(Ne), h(r, "id", "ResetPwdCodeTitle"), h(r, "class", "ResetPwdStepTitle"), h(s, "class", "ResetPwdHelp"), h(f, "class", "ResetPwdLabel"), h(f, "for", "ResetPwdCode"), h(_, "class", "ResetPwdCodeGroup"), h(_, "role", "group"), h(_, "aria-label", S = /*$_*/
4883
- e[10]("verificationCodeLabel")), h(c, "class", "ResetPwdField ResetPwdFieldCode"), h(l, "class", "ResetPwdRow"), h(l, "aria-describedby", "ResetPwdRowErrorsCode"), h(w, "id", "ResetPwdRowErrorsCode"), h(w, "class", "ResetPwdErrors"), h(w, "role", "alert"), h(w, "aria-live", "assertive"), h(G, "class", "ResetPwdAttempts"), h(M, "class", "ResetPwdMeta"), h(L, "class", "ResetPwdMetaRow"), h(R, "class", "ResetPwdLink"), h(R, "type", "button"), R.disabled = ne = /*loading*/
4886
+ ), U = V(), X && X.c(), I = V(), R = P("button"), se.c(), fe = V(), me = P("button"), be = M(Ie), h(r, "id", "ResetPwdCodeTitle"), h(r, "class", "ResetPwdStepTitle"), h(s, "class", "ResetPwdHelp"), h(f, "class", "ResetPwdLabel"), h(f, "for", "ResetPwdCode"), h(_, "class", "ResetPwdCodeGroup"), h(_, "role", "group"), h(_, "aria-label", S = /*$_*/
4887
+ e[10]("verificationCodeLabel")), h(c, "class", "ResetPwdField ResetPwdFieldCode"), h(l, "class", "ResetPwdRow"), h(l, "aria-describedby", "ResetPwdRowErrorsCode"), h(w, "id", "ResetPwdRowErrorsCode"), h(w, "class", "ResetPwdErrors"), h(w, "role", "alert"), h(w, "aria-live", "assertive"), h(z, "class", "ResetPwdAttempts"), h(B, "class", "ResetPwdMeta"), h(L, "class", "ResetPwdMetaRow"), h(R, "class", "ResetPwdLink"), h(R, "type", "button"), R.disabled = ne = /*loading*/
4884
4888
  e[11] || /*canResendAt*/
4885
4889
  e[6] && /*now*/
4886
4890
  e[7] < /*canResendAt*/
@@ -4888,22 +4892,22 @@ function Cr(e) {
4888
4892
  e[11] || /*canResendAt*/
4889
4893
  e[6] && /*now*/
4890
4894
  e[7] < /*canResendAt*/
4891
- e[6]), h(C, "class", "ResetPwdField ResetPwdFieldMeta"), h(j, "class", "ResetPwdRow"), h(j, "aria-describedby", "ResetPwdRowErrorsCode"), h(me, "class", "ResetPwdButton"), h(me, "type", "button"), me.disabled = Pe = /*loading*/
4895
+ e[6]), h(C, "class", "ResetPwdField ResetPwdFieldMeta"), h(F, "class", "ResetPwdRow"), h(F, "aria-describedby", "ResetPwdRowErrorsCode"), h(me, "class", "ResetPwdButton"), h(me, "type", "button"), me.disabled = xe = /*loading*/
4892
4896
  e[11] || /*disableSubmitCode*/
4893
4897
  e[20], h(t, "class", "ResetPwdSection ResetPwdSectionCode"), h(t, "aria-labelledby", "ResetPwdCodeTitle");
4894
4898
  },
4895
- m(v, V) {
4896
- te(v, t, V), m(t, r), m(r, i), m(t, o), m(t, s), m(s, d), m(t, u), m(t, l), m(l, c), m(c, f), m(f, b), m(c, y), m(c, _);
4899
+ m(v, G) {
4900
+ te(v, t, G), m(t, r), m(r, i), m(t, o), m(t, s), m(s, d), m(t, u), m(t, l), m(l, c), m(c, f), m(f, b), m(c, y), m(c, _);
4897
4901
  for (let K = 0; K < re.length; K += 1)
4898
4902
  re[K] && re[K].m(_, null);
4899
- m(t, x), m(t, w), J && J.m(w, null), m(w, H), U && U.m(w, null), m(t, T), m(t, j), m(j, C), m(C, L), m(L, M), m(M, Z), m(Z, _e), m(Z, Ce), m(M, ce), m(M, G), m(G, k), m(L, D), X && X.m(L, null), m(C, I), m(C, R), se.m(R, null), m(t, fe), m(t, me), m(me, be), ge || (Xe = [
4900
- Ee(
4903
+ m(t, x), m(t, w), J && J.m(w, null), m(w, H), k && k.m(w, null), m(t, T), m(t, F), m(F, C), m(C, L), m(L, B), m(B, Z), m(Z, Pe), m(Z, Re), m(B, ce), m(B, z), m(z, O), m(L, U), X && X.m(L, null), m(C, I), m(C, R), se.m(R, null), m(t, fe), m(t, me), m(me, be), ge || (We = [
4904
+ Se(
4901
4905
  R,
4902
4906
  "click",
4903
4907
  /*handleResend*/
4904
4908
  e[32]
4905
4909
  ),
4906
- Ee(
4910
+ Se(
4907
4911
  me,
4908
4912
  "click",
4909
4913
  /*handleVerifyCode*/
@@ -4911,17 +4915,17 @@ function Cr(e) {
4911
4915
  )
4912
4916
  ], ge = !0);
4913
4917
  },
4914
- p(v, V) {
4915
- if (V[0] & /*$_*/
4918
+ p(v, G) {
4919
+ if (G[0] & /*$_*/
4916
4920
  1024 && n !== (n = /*$_*/
4917
- v[10]("enterCodeTitle") + "") && W(i, n), V[0] & /*$_*/
4921
+ v[10]("enterCodeTitle") + "") && W(i, n), G[0] & /*$_*/
4918
4922
  1024 && a !== (a = /*$_*/
4919
4923
  v[10]("codeSubtitle").replace("{n}", String(
4920
4924
  /*codeLength*/
4921
4925
  v[26]
4922
- )) + "") && W(d, a), V[0] & /*$_*/
4926
+ )) + "") && W(d, a), G[0] & /*$_*/
4923
4927
  1024 && g !== (g = /*$_*/
4924
- v[10]("verificationCodeLabel") + "") && W(b, g), V[0] & /*codeDigits, codeError, codeInputs, handleCodeInput, handleCodeKeyDown*/
4928
+ v[10]("verificationCodeLabel") + "") && W(b, g), G[0] & /*codeDigits, codeError, codeInputs, handleCodeInput, handleCodeKeyDown*/
4925
4929
  403308800) {
4926
4930
  le = rr(Array(
4927
4931
  /*codeLength*/
@@ -4929,57 +4933,57 @@ function Cr(e) {
4929
4933
  ));
4930
4934
  let K;
4931
4935
  for (K = 0; K < le.length; K += 1) {
4932
- const We = Pr(v, le, K);
4933
- re[K] ? re[K].p(We, V) : (re[K] = Rr(We), re[K].c(), re[K].m(_, null));
4936
+ const Ze = Pr(v, le, K);
4937
+ re[K] ? re[K].p(Ze, G) : (re[K] = Rr(Ze), re[K].c(), re[K].m(_, null));
4934
4938
  }
4935
4939
  for (; K < re.length; K += 1)
4936
4940
  re[K].d(1);
4937
4941
  re.length = le.length;
4938
4942
  }
4939
- V[0] & /*$_*/
4943
+ G[0] & /*$_*/
4940
4944
  1024 && S !== (S = /*$_*/
4941
4945
  v[10]("verificationCodeLabel")) && h(_, "aria-label", S), /*codeError*/
4942
- v[17] ? J ? (J.p(v, V), V[0] & /*codeError*/
4943
- 131072 && ue(J, 1)) : (J = Lr(v), J.c(), ue(J, 1), J.m(w, H)) : J && (Ke(), Ue(J, 1, 1, () => {
4946
+ v[17] ? J ? (J.p(v, G), G[0] & /*codeError*/
4947
+ 131072 && ue(J, 1)) : (J = Lr(v), J.c(), ue(J, 1), J.m(w, H)) : J && (et(), De(J, 1, 1, () => {
4944
4948
  J = null;
4945
- }), et()), /*codeExpiredHint*/
4949
+ }), tt()), /*codeExpiredHint*/
4946
4950
  v[18] && /*remainingSeconds*/
4947
- v[9] === 0 ? U ? (U.p(v, V), V[0] & /*codeExpiredHint, remainingSeconds*/
4948
- 262656 && ue(U, 1)) : (U = Hr(v), U.c(), ue(U, 1), U.m(w, null)) : U && (Ke(), Ue(U, 1, 1, () => {
4949
- U = null;
4950
- }), et()), V[0] & /*$_*/
4951
+ v[9] === 0 ? k ? (k.p(v, G), G[0] & /*codeExpiredHint, remainingSeconds*/
4952
+ 262656 && ue(k, 1)) : (k = Hr(v), k.c(), ue(k, 1), k.m(w, null)) : k && (et(), De(k, 1, 1, () => {
4953
+ k = null;
4954
+ }), tt()), G[0] & /*$_*/
4951
4955
  1024 && pe !== (pe = /*$_*/
4952
- v[10]("attemptsLeft") + "") && W(_e, pe), V[0] & /*attemptsRemaining*/
4956
+ v[10]("attemptsLeft") + "") && W(Pe, pe), G[0] & /*attemptsRemaining*/
4953
4957
  16 && W(
4954
- k,
4958
+ O,
4955
4959
  /*attemptsRemaining*/
4956
4960
  v[4]
4957
4961
  ), /*expiresAt*/
4958
- v[5] ? X ? X.p(v, V) : (X = Ar(v), X.c(), X.m(L, null)) : X && (X.d(1), X = null), Re === (Re = Q(v)) && se ? se.p(v, V) : (se.d(1), se = Re(v), se && (se.c(), se.m(R, null))), V[0] & /*loading, canResendAt, now*/
4962
+ v[5] ? X ? X.p(v, G) : (X = Ar(v), X.c(), X.m(L, null)) : X && (X.d(1), X = null), Le === (Le = Q(v)) && se ? se.p(v, G) : (se.d(1), se = Le(v), se && (se.c(), se.m(R, null))), G[0] & /*loading, canResendAt, now*/
4959
4963
  2240 && ne !== (ne = /*loading*/
4960
4964
  v[11] || /*canResendAt*/
4961
4965
  v[6] && /*now*/
4962
4966
  v[7] < /*canResendAt*/
4963
- v[6]) && (R.disabled = ne), V[0] & /*loading, canResendAt, now*/
4967
+ v[6]) && (R.disabled = ne), G[0] & /*loading, canResendAt, now*/
4964
4968
  2240 && q !== (q = /*loading*/
4965
4969
  v[11] || /*canResendAt*/
4966
4970
  v[6] && /*now*/
4967
4971
  v[7] < /*canResendAt*/
4968
- v[6]) && h(R, "aria-disabled", q), V[0] & /*loading, $_*/
4969
- 3072 && Ne !== (Ne = /*loading*/
4972
+ v[6]) && h(R, "aria-disabled", q), G[0] & /*loading, $_*/
4973
+ 3072 && Ie !== (Ie = /*loading*/
4970
4974
  (v[11] ? (
4971
4975
  /*$_*/
4972
4976
  v[10]("verifying")
4973
4977
  ) : (
4974
4978
  /*$_*/
4975
4979
  v[10]("submitCode")
4976
- )) + "") && W(be, Ne), V[0] & /*loading, disableSubmitCode*/
4977
- 1050624 && Pe !== (Pe = /*loading*/
4980
+ )) + "") && W(be, Ie), G[0] & /*loading, disableSubmitCode*/
4981
+ 1050624 && xe !== (xe = /*loading*/
4978
4982
  v[11] || /*disableSubmitCode*/
4979
- v[20]) && (me.disabled = Pe);
4983
+ v[20]) && (me.disabled = xe);
4980
4984
  },
4981
4985
  d(v) {
4982
- v && Y(t), Nn(re, v), J && J.d(), U && U.d(), X && X.d(), se.d(), ge = !1, he(Xe);
4986
+ v && Y(t), Nn(re, v), J && J.d(), k && k.d(), X && X.d(), se.d(), ge = !1, he(We);
4983
4987
  }
4984
4988
  };
4985
4989
  }
@@ -5026,8 +5030,8 @@ function Rr(e) {
5026
5030
  },
5027
5031
  m(c, f) {
5028
5032
  te(c, t, f), a(), o || (s = [
5029
- Ee(t, "input", u),
5030
- Ee(t, "keydown", l)
5033
+ Se(t, "input", u),
5034
+ Se(t, "keydown", l)
5031
5035
  ], o = !0);
5032
5036
  },
5033
5037
  p(c, f) {
@@ -5051,7 +5055,7 @@ function Lr(e) {
5051
5055
  let t, r, n, i;
5052
5056
  return {
5053
5057
  c() {
5054
- t = P("div"), r = O(
5058
+ t = P("div"), r = M(
5055
5059
  /*codeError*/
5056
5060
  e[17]
5057
5061
  ), h(t, "class", "ResetPwdError");
@@ -5069,11 +5073,11 @@ function Lr(e) {
5069
5073
  },
5070
5074
  i(o) {
5071
5075
  i || (o && de(() => {
5072
- i && (n || (n = we(t, Se, { amount: 5 }, !0)), n.run(1));
5076
+ i && (n || (n = _e(t, Te, { amount: 5 }, !0)), n.run(1));
5073
5077
  }), i = !0);
5074
5078
  },
5075
5079
  o(o) {
5076
- o && (n || (n = we(t, Se, { amount: 5 }, !1)), n.run(0)), i = !1;
5080
+ o && (n || (n = _e(t, Te, { amount: 5 }, !1)), n.run(0)), i = !1;
5077
5081
  },
5078
5082
  d(o) {
5079
5083
  o && Y(t), o && n && n.end();
@@ -5084,7 +5088,7 @@ function Hr(e) {
5084
5088
  let t, r, n, i;
5085
5089
  return {
5086
5090
  c() {
5087
- t = P("div"), r = O(
5091
+ t = P("div"), r = M(
5088
5092
  /*codeExpiredHint*/
5089
5093
  e[18]
5090
5094
  ), h(t, "class", "ResetPwdHint");
@@ -5102,11 +5106,11 @@ function Hr(e) {
5102
5106
  },
5103
5107
  i(o) {
5104
5108
  i || (o && de(() => {
5105
- i && (n || (n = we(t, Se, { amount: 5 }, !0)), n.run(1));
5109
+ i && (n || (n = _e(t, Te, { amount: 5 }, !0)), n.run(1));
5106
5110
  }), i = !0);
5107
5111
  },
5108
5112
  o(o) {
5109
- o && (n || (n = we(t, Se, { amount: 5 }, !1)), n.run(0)), i = !1;
5113
+ o && (n || (n = _e(t, Te, { amount: 5 }, !1)), n.run(0)), i = !1;
5110
5114
  },
5111
5115
  d(o) {
5112
5116
  o && Y(t), o && n && n.end();
@@ -5120,10 +5124,10 @@ function Ar(e) {
5120
5124
  ), i, o, s, a, d, u;
5121
5125
  return {
5122
5126
  c() {
5123
- t = P("span"), r = P("strong"), i = O(n), o = O(":"), s = $(), a = P("span"), d = O(
5127
+ t = P("span"), r = P("strong"), i = M(n), o = M(":"), s = V(), a = P("span"), d = M(
5124
5128
  /*remainingSeconds*/
5125
5129
  e[9]
5126
- ), u = O("s"), h(a, "class", "ResetPwdExpires"), h(t, "class", "ResetPwdMeta");
5130
+ ), u = M("s"), h(a, "class", "ResetPwdExpires"), h(t, "class", "ResetPwdMeta");
5127
5131
  },
5128
5132
  m(l, c) {
5129
5133
  te(l, t, c), m(t, r), m(r, i), m(r, o), m(t, s), m(t, a), m(a, d), m(a, u);
@@ -5143,14 +5147,14 @@ function Ar(e) {
5143
5147
  }
5144
5148
  };
5145
5149
  }
5146
- function es(e) {
5150
+ function ts(e) {
5147
5151
  let t = (
5148
5152
  /*$_*/
5149
5153
  e[10]("resendCode") + ""
5150
5154
  ), r;
5151
5155
  return {
5152
5156
  c() {
5153
- r = O(t);
5157
+ r = M(t);
5154
5158
  },
5155
5159
  m(n, i) {
5156
5160
  te(n, r, i);
@@ -5165,17 +5169,17 @@ function es(e) {
5165
5169
  }
5166
5170
  };
5167
5171
  }
5168
- function ts(e) {
5172
+ function rs(e) {
5169
5173
  let t = (
5170
5174
  /*$_*/
5171
5175
  e[10]("resendCode") + ""
5172
5176
  ), r, n, i, o, s, a;
5173
5177
  return {
5174
5178
  c() {
5175
- r = O(t), n = O(" ("), i = P("span"), o = O(
5179
+ r = M(t), n = M(" ("), i = P("span"), o = M(
5176
5180
  /*resendSeconds*/
5177
5181
  e[21]
5178
- ), s = O("s"), a = O(")"), h(i, "class", "ResetPwdResend");
5182
+ ), s = M("s"), a = M(")"), h(i, "class", "ResetPwdResend");
5179
5183
  },
5180
5184
  m(d, u) {
5181
5185
  te(d, r, u), te(d, n, u), te(d, i, u), m(i, o), m(i, s), te(d, a, u);
@@ -5195,7 +5199,7 @@ function ts(e) {
5195
5199
  }
5196
5200
  };
5197
5201
  }
5198
- function rs(e) {
5202
+ function ns(e) {
5199
5203
  let t, r = (
5200
5204
  /*isModalOpen*/
5201
5205
  e[12] && xr(e)
@@ -5210,22 +5214,22 @@ function rs(e) {
5210
5214
  p(n, i) {
5211
5215
  /*isModalOpen*/
5212
5216
  n[12] ? r ? (r.p(n, i), i[0] & /*isModalOpen*/
5213
- 4096 && ue(r, 1)) : (r = xr(n), r.c(), ue(r, 1), r.m(t, null)) : r && (Ke(), Ue(r, 1, 1, () => {
5217
+ 4096 && ue(r, 1)) : (r = xr(n), r.c(), ue(r, 1), r.m(t, null)) : r && (et(), De(r, 1, 1, () => {
5214
5218
  r = null;
5215
- }), et());
5219
+ }), tt());
5216
5220
  },
5217
5221
  i(n) {
5218
5222
  ue(r);
5219
5223
  },
5220
5224
  o(n) {
5221
- Ue(r);
5225
+ De(r);
5222
5226
  },
5223
5227
  d(n) {
5224
5228
  n && Y(t), r && r.d(), e[53](null);
5225
5229
  }
5226
5230
  };
5227
5231
  }
5228
- function ns(e) {
5232
+ function is(e) {
5229
5233
  try {
5230
5234
  return JSON.parse(e);
5231
5235
  } catch {
@@ -5241,20 +5245,20 @@ function Nr(e, t = "error") {
5241
5245
  window.location.href
5242
5246
  );
5243
5247
  }
5244
- function is(e, t, r) {
5248
+ function os(e, t, r) {
5245
5249
  let n, i, o, s, a, d, u, l;
5246
- Rn(e, Go, (p) => r(10, l = p));
5247
- let { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { mbsource: b } = t, { phoneregex: y = "" } = t, { phoneprefixeditable: _ = "true" } = t, { smscodelength: S = "6" } = t, { smscodemaxattempts: x = "5" } = t, { smscodettl: w = "5" } = t, { resenddelay: H = "1" } = t, { endpoint: T = "" } = t, { lang: j = "en" } = t, C, L = "phone", M = !1, Z = !0;
5248
- const pe = { duration: 140, easing: St }, _e = {
5250
+ Rn(e, $o, (p) => r(10, l = p));
5251
+ let { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { mbsource: b } = t, { phoneregex: y = "" } = t, { phoneprefixeditable: _ = "true" } = t, { smscodelength: S = "6" } = t, { smscodemaxattempts: x = "5" } = t, { smscodettl: w = "5" } = t, { resenddelay: H = "1" } = t, { endpoint: T = "" } = t, { lang: F = "en" } = t, C, L = "phone", B = !1, Z = !0;
5252
+ const pe = { duration: 140, easing: Ct }, Pe = {
5249
5253
  duration: 220,
5250
5254
  start: 0.96,
5251
- easing: St
5252
- }, Ce = {
5255
+ easing: Ct
5256
+ }, Re = {
5253
5257
  duration: 140,
5254
5258
  start: 1,
5255
- easing: St
5259
+ easing: Ct
5256
5260
  };
5257
- let ce = [], G = "", k = "", D = "", I = "", R = null, ne = "", q = "", fe = /^[\d\.]+$/.test(x) ? Number(x) : 5, me = Number(/^[\d\.]+$/.test(w) ? w : 5) * 60 * 1e3, Ne = Number(/^[\d\.]+$/.test(H) ? H : 1) * 60 * 1e3, be = null, Pe = "", ge = null, Xe = null, le = Date.now();
5261
+ let ce = [], z = "", O = "", U = "", I = "", R = null, ne = "", q = "", fe = /^[\d\.]+$/.test(x) ? Number(x) : 5, me = Number(/^[\d\.]+$/.test(w) ? w : 5) * 60 * 1e3, Ie = Number(/^[\d\.]+$/.test(H) ? H : 1) * 60 * 1e3, be = null, xe = "", ge = null, We = null, le = Date.now();
5258
5262
  setInterval(
5259
5263
  () => {
5260
5264
  r(7, le = Date.now());
@@ -5277,13 +5281,13 @@ function is(e, t, r) {
5277
5281
  function J(p) {
5278
5282
  return y ? (typeof y == "string" ? new RegExp(y) : y).test(p.trim()) : !1;
5279
5283
  }
5280
- let U = Number(S), X = [], Q = Array(Number(U)).fill("");
5281
- function Re(p, E) {
5282
- const F = p.target.value.replace(/\D/g, "");
5283
- if (F.length === 1)
5284
- r(8, Q[E] = F, Q), v(E);
5285
- else if (F.length > 1) {
5286
- const ve = F.split("").slice(0, U - E);
5284
+ let k = Number(S), X = [], Q = Array(Number(k)).fill("");
5285
+ function Le(p, E) {
5286
+ const D = p.target.value.replace(/\D/g, "");
5287
+ if (D.length === 1)
5288
+ r(8, Q[E] = D, Q), v(E);
5289
+ else if (D.length > 1) {
5290
+ const ve = D.split("").slice(0, k - E);
5287
5291
  ve.forEach((Sn, Tn) => {
5288
5292
  r(8, Q[E + Tn] = Sn, Q);
5289
5293
  }), K(E + ve.length - 1);
@@ -5291,81 +5295,81 @@ function is(e, t, r) {
5291
5295
  ne = Q.join("");
5292
5296
  }
5293
5297
  function se(p, E) {
5294
- p.key === "Backspace" ? Q[E] ? r(8, Q[E] = "", Q) : E > 0 && (V(E), r(8, Q[E - 1] = "", Q)) : !/\d/.test(p.key) && p.key !== "Tab" && p.key.length === 1 && p.preventDefault();
5298
+ p.key === "Backspace" ? Q[E] ? r(8, Q[E] = "", Q) : E > 0 && (G(E), r(8, Q[E - 1] = "", Q)) : !/\d/.test(p.key) && p.key !== "Tab" && p.key.length === 1 && p.preventDefault();
5295
5299
  }
5296
5300
  function v(p) {
5297
- p < U - 1 && X[p + 1]?.focus();
5301
+ p < k - 1 && X[p + 1]?.focus();
5298
5302
  }
5299
- function V(p) {
5303
+ function G(p) {
5300
5304
  p > 0 && X[p - 1]?.focus();
5301
5305
  }
5302
5306
  function K(p) {
5303
- p >= 0 && p < U && X[p]?.focus();
5307
+ p >= 0 && p < k && X[p]?.focus();
5304
5308
  }
5305
- async function We(p, E) {
5309
+ async function Ze(p, E) {
5306
5310
  const ee = await fetch(p, {
5307
5311
  method: "POST",
5308
5312
  headers: { "Content-Type": "application/json" },
5309
5313
  body: void 0
5310
- }), F = await ee.text(), ve = F ? ns(F) : void 0;
5314
+ }), D = await ee.text(), ve = D ? is(D) : void 0;
5311
5315
  if (!ee.ok)
5312
5316
  throw new wr(ee.status, ve?.error ?? ee.statusText, ve);
5313
5317
  return ve ?? {};
5314
5318
  }
5315
5319
  async function cn(p) {
5316
- const { mobileNumber: E, mobilePrefix: ee } = p, F = new URLSearchParams({ mobileNumber: E });
5317
- ee && F.set("mobilePrefix", ee);
5318
- const ve = `${T}/v1/player/resetPasswordByMobilePhone?${F.toString()}`;
5319
- return await We(ve);
5320
+ const { mobileNumber: E, mobilePrefix: ee } = p, D = new URLSearchParams({ mobileNumber: E });
5321
+ ee && D.set("mobilePrefix", ee);
5322
+ const ve = `${T}/v1/player/resetPasswordByMobilePhone?${D.toString()}`;
5323
+ return await Ze(ve);
5320
5324
  }
5321
5325
  async function fn(p) {
5322
- const { tokenId: E, validationCode: ee } = p, F = new URLSearchParams({ tokenId: E, validationCode: ee }), ve = `${T}/v1/player/resetPasswordByMobilePhone/validate?${F.toString()}`;
5323
- return await We(ve);
5326
+ const { tokenId: E, validationCode: ee } = p, D = new URLSearchParams({ tokenId: E, validationCode: ee }), ve = `${T}/v1/player/resetPasswordByMobilePhone/validate?${D.toString()}`;
5327
+ return await Ze(ve);
5324
5328
  }
5325
5329
  async function hn() {
5326
5330
  const p = new URL(`${T}/v1/player/operatorSupportedPhoneCodes`), E = await fetch(p.href);
5327
5331
  try {
5328
- return (await E.json()).phoneCodes.map((F) => ({ label: F, value: F }));
5332
+ return (await E.json()).phoneCodes.map((D) => ({ label: D, value: D }));
5329
5333
  } catch {
5330
5334
  return [];
5331
5335
  }
5332
5336
  }
5333
5337
  function pn(p) {
5334
5338
  const E = p.target.value;
5335
- r(14, k = E);
5339
+ r(14, O = E);
5336
5340
  }
5337
5341
  async function Kt() {
5338
- r(15, D = ""), r(16, I = ""), r(17, q = ""), r(11, M = !0);
5342
+ r(15, U = ""), r(16, I = ""), r(17, q = ""), r(11, B = !0);
5339
5343
  try {
5340
- if (!J(G)) {
5341
- r(15, D = l("invalidPhone"));
5344
+ if (!J(z)) {
5345
+ r(15, U = l("invalidPhone"));
5342
5346
  return;
5343
5347
  }
5344
5348
  const p = await cn({
5345
- mobileNumber: G.trim(),
5346
- mobilePrefix: k?.trim() || void 0
5349
+ mobileNumber: z.trim(),
5350
+ mobilePrefix: O?.trim() || void 0
5347
5351
  });
5348
5352
  if (p?.tokenId) {
5349
- R = p.tokenId, r(5, be = Date.now() + me), r(6, ge = Date.now() + Ne), r(18, Pe = ""), ne = "", r(8, Q = Array.from({ length: U }, () => ""));
5350
- const E = Zo(R);
5353
+ R = p.tokenId, r(5, be = Date.now() + me), r(6, ge = Date.now() + Ie), r(18, xe = ""), ne = "", r(8, Q = Array.from({ length: k }, () => ""));
5354
+ const E = Yo(R);
5351
5355
  r(4, fe = E ?? Number(x)), _r(R, fe), r(2, L = "code");
5352
5356
  } else
5353
5357
  r(16, I = l("genericIfRegistered"));
5354
5358
  } catch (p) {
5355
5359
  const { message: E, thirdPartyResponse: { message: ee } = {} } = p;
5356
- r(15, D = ee || E), Nr(D);
5360
+ r(15, U = ee || E), Nr(U);
5357
5361
  } finally {
5358
- r(11, M = !1);
5362
+ r(11, B = !1);
5359
5363
  }
5360
5364
  }
5361
- function xt() {
5365
+ function St() {
5362
5366
  r(4, fe = Math.max(0, fe - 1)), _r(R, fe);
5363
5367
  }
5364
5368
  async function mn() {
5365
- r(17, q = ""), r(11, M = !0);
5369
+ r(17, q = ""), r(11, B = !0);
5366
5370
  try {
5367
- if (!ne || ne.trim().length !== U || !/^\d+$/.test(ne.trim())) {
5368
- r(17, q = l("enterDigitsCode").replace("{n}", String(U)));
5371
+ if (!ne || ne.trim().length !== k || !/^\d+$/.test(ne.trim())) {
5372
+ r(17, q = l("enterDigitsCode").replace("{n}", String(k)));
5369
5373
  return;
5370
5374
  }
5371
5375
  if (!R) {
@@ -5373,23 +5377,23 @@ function is(e, t, r) {
5373
5377
  return;
5374
5378
  }
5375
5379
  const p = await fn({ tokenId: R, validationCode: ne.trim() });
5376
- Xe = p.hashKey.charAt(0) === "/" ? p.hashKey.slice(1) : p.hashKey, r(2, L = "password"), Yo(R), window.postMessage(
5380
+ We = p.hashKey.charAt(0) === "/" ? p.hashKey.slice(1) : p.hashKey, r(2, L = "password"), Jo(R), window.postMessage(
5377
5381
  {
5378
5382
  type: "SwitchToResetPasswordScreen",
5379
- key: Xe
5383
+ key: We
5380
5384
  },
5381
5385
  window.location.href
5382
5386
  );
5383
5387
  } catch (p) {
5384
5388
  if (r(17, q = l("unableToVerify")), p instanceof wr) {
5385
- const E = p.payload, ee = p.status, F = (E?.error || "").toLowerCase();
5389
+ const E = p.payload, ee = p.status, D = (E?.error || "").toLowerCase();
5386
5390
  switch (ee) {
5387
5391
  case 400: {
5388
- F.includes("invalid validation code") ? (xt(), r(17, q = fe > 0 ? l("incorrectCode") : l("tooManyAttempts"))) : F.includes("expired") ? (r(17, q = l("codeExpired")), r(18, Pe = l("codeExpired")), r(5, be = null)) : F.includes("not valid") || F.includes("invalid token") ? r(17, q = l("invalidRequest")) : r(17, q = l("unableToVerify"));
5392
+ D.includes("invalid validation code") ? (St(), r(17, q = fe > 0 ? l("incorrectCode") : l("tooManyAttempts"))) : D.includes("expired") ? (r(17, q = l("codeExpired")), r(18, xe = l("codeExpired")), r(5, be = null)) : D.includes("not valid") || D.includes("invalid token") ? r(17, q = l("invalidRequest")) : r(17, q = l("unableToVerify"));
5389
5393
  break;
5390
5394
  }
5391
5395
  case 424: {
5392
- F.includes("input is not match") ? (xt(), r(17, q = l("incorrectCode"))) : F.includes("validation max attempts exceeded") ? (xt(), r(17, q = l("tooManyAttempts"))) : r(17, q = l("unableToVerify"));
5396
+ D.includes("input is not match") ? (St(), r(17, q = l("incorrectCode"))) : D.includes("validation max attempts exceeded") ? (St(), r(17, q = l("tooManyAttempts"))) : r(17, q = l("unableToVerify"));
5393
5397
  break;
5394
5398
  }
5395
5399
  case 404: {
@@ -5404,11 +5408,11 @@ function is(e, t, r) {
5404
5408
  Nr(q);
5405
5409
  }
5406
5410
  } finally {
5407
- r(11, M = !1);
5411
+ r(11, B = !1);
5408
5412
  }
5409
5413
  }
5410
5414
  async function bn() {
5411
- M || ge && le < ge || await Kt();
5415
+ B || ge && le < ge || await Kt();
5412
5416
  }
5413
5417
  Vo({ withLocale: "en", translations: {} });
5414
5418
  const gn = async (p) => {
@@ -5417,8 +5421,8 @@ function is(e, t, r) {
5417
5421
  if (!E.ok)
5418
5422
  throw new Error(`Fetch failed with status ${E.status}`);
5419
5423
  const ee = await E.json();
5420
- for (const F in ee)
5421
- vr(F, ee[F]);
5424
+ for (const D in ee)
5425
+ vr(D, ee[D]);
5422
5426
  } catch (E) {
5423
5427
  console.error("Error fetching translation", E);
5424
5428
  }
@@ -5427,46 +5431,46 @@ function is(e, t, r) {
5427
5431
  vr(p, yr[p]);
5428
5432
  });
5429
5433
  const vn = () => {
5430
- $o(j);
5434
+ qo(F);
5431
5435
  };
5432
- Fn(async () => (r(13, ce = await hn()), r(14, k = ce?.[0]?.value), ne && ne.length === U && r(8, Q = ne.split("")), () => {
5436
+ Fn(async () => (r(13, ce = await hn()), r(14, O = ce?.[0]?.value), ne && ne.length === k && r(8, Q = ne.split("")), () => {
5433
5437
  }));
5434
5438
  function yn() {
5435
- k = this.value, r(14, k);
5439
+ O = this.value, r(14, O);
5436
5440
  }
5437
5441
  function wn() {
5438
- G = this.value, r(3, G);
5442
+ z = this.value, r(3, z);
5439
5443
  }
5440
5444
  function _n(p, E) {
5441
- pt[p ? "unshift" : "push"](() => {
5445
+ mt[p ? "unshift" : "push"](() => {
5442
5446
  X[E] = p, r(19, X);
5443
5447
  });
5444
5448
  }
5445
- const Pn = (p, E) => Re(E, p), xn = (p, E) => se(E, p);
5449
+ const Pn = (p, E) => Le(E, p), xn = (p, E) => se(E, p);
5446
5450
  function En(p) {
5447
- pt[p ? "unshift" : "push"](() => {
5451
+ mt[p ? "unshift" : "push"](() => {
5448
5452
  C = p, r(1, C);
5449
5453
  });
5450
5454
  }
5451
5455
  return e.$$set = (p) => {
5452
- "clientstyling" in p && r(33, c = p.clientstyling), "clientstylingurl" in p && r(34, f = p.clientstylingurl), "translationurl" in p && r(35, g = p.translationurl), "mbsource" in p && r(36, b = p.mbsource), "phoneregex" in p && r(37, y = p.phoneregex), "phoneprefixeditable" in p && r(0, _ = p.phoneprefixeditable), "smscodelength" in p && r(38, S = p.smscodelength), "smscodemaxattempts" in p && r(39, x = p.smscodemaxattempts), "smscodettl" in p && r(40, w = p.smscodettl), "resenddelay" in p && r(41, H = p.resenddelay), "endpoint" in p && r(42, T = p.endpoint), "lang" in p && r(43, j = p.lang);
5456
+ "clientstyling" in p && r(33, c = p.clientstyling), "clientstylingurl" in p && r(34, f = p.clientstylingurl), "translationurl" in p && r(35, g = p.translationurl), "mbsource" in p && r(36, b = p.mbsource), "phoneregex" in p && r(37, y = p.phoneregex), "phoneprefixeditable" in p && r(0, _ = p.phoneprefixeditable), "smscodelength" in p && r(38, S = p.smscodelength), "smscodemaxattempts" in p && r(39, x = p.smscodemaxattempts), "smscodettl" in p && r(40, w = p.smscodettl), "resenddelay" in p && r(41, H = p.resenddelay), "endpoint" in p && r(42, T = p.endpoint), "lang" in p && r(43, F = p.lang);
5453
5457
  }, e.$$.update = () => {
5454
5458
  e.$$.dirty[0] & /*customStylingContainer*/
5455
5459
  2 | e.$$.dirty[1] & /*clientstyling*/
5456
- 4 && c && C && qo(C, c), e.$$.dirty[0] & /*customStylingContainer*/
5460
+ 4 && c && C && Xo(C, c), e.$$.dirty[0] & /*customStylingContainer*/
5457
5461
  2 | e.$$.dirty[1] & /*clientstylingurl*/
5458
- 8 && f && C && Xo(C, f), e.$$.dirty[0] & /*customStylingContainer*/
5462
+ 8 && f && C && Wo(C, f), e.$$.dirty[0] & /*customStylingContainer*/
5459
5463
  2 | e.$$.dirty[1] & /*mbsource*/
5460
- 32 && b && C && Wo(C, `${b}.Style`), e.$$.dirty[1] & /*lang*/
5461
- 4096 && j && vn(), e.$$.dirty[1] & /*translationurl*/
5464
+ 32 && b && C && Zo(C, `${b}.Style`), e.$$.dirty[1] & /*lang*/
5465
+ 4096 && F && vn(), e.$$.dirty[1] & /*translationurl*/
5462
5466
  16 && g && gn(g), e.$$.dirty[0] & /*expiresAt, now*/
5463
5467
  160 && r(9, n = be ? Math.max(0, Math.ceil((be - le) / 1e3)) : 0), e.$$.dirty[0] & /*canResendAt, now*/
5464
5468
  192 && r(21, i = ge ? Math.max(0, Math.ceil((ge - le) / 1e3)) : 0), e.$$.dirty[0] & /*expiresAt, remainingSeconds*/
5465
5469
  544 && r(44, o = !!be && n === 0), e.$$.dirty[0] & /*step, phone, $_*/
5466
- 1036 && r(15, D = L === "phone" && G ? J(G) ? "" : l("invalidPhone") : ""), e.$$.dirty[0] & /*codeDigits*/
5470
+ 1036 && r(15, U = L === "phone" && z ? J(z) ? "" : l("invalidPhone") : ""), e.$$.dirty[0] & /*codeDigits*/
5467
5471
  256 && r(46, s = Q.join("")), e.$$.dirty[0] & /*codeDigits*/
5468
5472
  256 && r(47, a = Q.every((p) => /^\d$/.test(p))), e.$$.dirty[1] & /*isCodeFilled, codeCombined*/
5469
- 98304 && r(45, d = a && s.length === U), e.$$.dirty[0] & /*codeDigits*/
5473
+ 98304 && r(45, d = a && s.length === k), e.$$.dirty[0] & /*codeDigits*/
5470
5474
  256 && (ne = Q.join("")), e.$$.dirty[0] & /*attemptsRemaining*/
5471
5475
  16 | e.$$.dirty[1] & /*isCodeValid, isTokenExpired*/
5472
5476
  24576 && r(20, u = !d || o || fe <= 0);
@@ -5474,7 +5478,7 @@ function is(e, t, r) {
5474
5478
  _,
5475
5479
  C,
5476
5480
  L,
5477
- G,
5481
+ z,
5478
5482
  fe,
5479
5483
  be,
5480
5484
  ge,
@@ -5482,23 +5486,23 @@ function is(e, t, r) {
5482
5486
  Q,
5483
5487
  n,
5484
5488
  l,
5485
- M,
5489
+ B,
5486
5490
  Z,
5487
5491
  ce,
5488
- k,
5489
- D,
5492
+ O,
5493
+ U,
5490
5494
  I,
5491
5495
  q,
5492
- Pe,
5496
+ xe,
5493
5497
  X,
5494
5498
  u,
5495
5499
  i,
5496
5500
  pe,
5497
- _e,
5498
- Ce,
5499
- re,
5500
- U,
5501
+ Pe,
5501
5502
  Re,
5503
+ re,
5504
+ k,
5505
+ Le,
5502
5506
  se,
5503
5507
  pn,
5504
5508
  Kt,
@@ -5514,7 +5518,7 @@ function is(e, t, r) {
5514
5518
  w,
5515
5519
  H,
5516
5520
  T,
5517
- j,
5521
+ F,
5518
5522
  o,
5519
5523
  d,
5520
5524
  s,
@@ -5527,14 +5531,14 @@ function is(e, t, r) {
5527
5531
  En
5528
5532
  ];
5529
5533
  }
5530
- class os extends Qn {
5534
+ class ss extends Qn {
5531
5535
  constructor(t) {
5532
5536
  super(), Yn(
5533
5537
  this,
5534
5538
  t,
5535
- is,
5536
- rs,
5537
- Mr,
5539
+ os,
5540
+ ns,
5541
+ Br,
5538
5542
  {
5539
5543
  clientstyling: 33,
5540
5544
  clientstylingurl: 34,
@@ -5549,7 +5553,7 @@ class os extends Qn {
5549
5553
  endpoint: 42,
5550
5554
  lang: 43
5551
5555
  },
5552
- Jo,
5556
+ Qo,
5553
5557
  [-1, -1, -1]
5554
5558
  );
5555
5559
  }
@@ -5626,7 +5630,7 @@ class os extends Qn {
5626
5630
  this.$$set({ lang: t }), oe();
5627
5631
  }
5628
5632
  }
5629
- Jn(os, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, phoneregex: {}, phoneprefixeditable: {}, smscodelength: {}, smscodemaxattempts: {}, smscodettl: {}, resenddelay: {}, endpoint: {}, lang: {} }, [], [], !0);
5633
+ Jn(ss, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, phoneregex: {}, phoneprefixeditable: {}, smscodelength: {}, smscodemaxattempts: {}, smscodettl: {}, resenddelay: {}, endpoint: {}, lang: {} }, [], [], !0);
5630
5634
  export {
5631
- os as G
5635
+ ss as G
5632
5636
  };