@everymatrix/general-player-forgot-password-sms-form 1.86.3 → 1.86.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- var In = Object.defineProperty, Mn = Object.defineProperties;
2
- var Bn = Object.getOwnPropertyDescriptors;
1
+ var In = Object.defineProperty, Bn = Object.defineProperties;
2
+ var Mn = Object.getOwnPropertyDescriptors;
3
3
  var ir = Object.getOwnPropertySymbols;
4
4
  var On = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable;
5
- var Ct = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, or = (e, t) => {
5
+ var Lt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, or = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- On.call(t, r) && Ct(e, r, t[r]);
7
+ On.call(t, r) && Lt(e, r, t[r]);
8
8
  if (ir)
9
9
  for (var r of ir(t))
10
- kn.call(t, r) && Ct(e, r, t[r]);
10
+ kn.call(t, r) && Lt(e, r, t[r]);
11
11
  return e;
12
- }, sr = (e, t) => Mn(e, Bn(t));
13
- var ce = (e, t, r) => (Ct(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, sr = (e, t) => Bn(e, Mn(t));
13
+ var ce = (e, t, r) => (Lt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var me = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (d) => {
16
16
  try {
@@ -29,7 +29,7 @@ var me = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function ue() {
31
31
  }
32
- const wt = (e) => e;
32
+ const Pt = (e) => e;
33
33
  function Fr(e) {
34
34
  return e();
35
35
  }
@@ -39,7 +39,7 @@ function ar() {
39
39
  function be(e) {
40
40
  e.forEach(Fr);
41
41
  }
42
- function $e(e) {
42
+ function qe(e) {
43
43
  return typeof e == "function";
44
44
  }
45
45
  function jr(e, t) {
@@ -69,21 +69,21 @@ function Fn(e) {
69
69
  ];
70
70
  }
71
71
  const Gr = typeof window != "undefined";
72
- let qt = Gr ? () => window.performance.now() : () => Date.now(), Xt = Gr ? (e) => requestAnimationFrame(e) : ue;
73
- const Ue = /* @__PURE__ */ new Set();
74
- function Vr(e) {
75
- Ue.forEach((t) => {
76
- t.c(e) || (Ue.delete(t), t.f());
77
- }), Ue.size !== 0 && Xt(Vr);
78
- }
79
- function Wt(e) {
72
+ let Wt = Gr ? () => window.performance.now() : () => Date.now(), Zt = Gr ? (e) => requestAnimationFrame(e) : ue;
73
+ const De = /* @__PURE__ */ new Set();
74
+ function $r(e) {
75
+ De.forEach((t) => {
76
+ t.c(e) || (De.delete(t), t.f());
77
+ }), De.size !== 0 && Zt($r);
78
+ }
79
+ function Yt(e) {
80
80
  let t;
81
- return Ue.size === 0 && Xt(Vr), {
81
+ return De.size === 0 && Zt($r), {
82
82
  promise: new Promise((r) => {
83
- Ue.add(t = { c: e, f: r });
83
+ De.add(t = { c: e, f: r });
84
84
  }),
85
85
  abort() {
86
- Ue.delete(t);
86
+ De.delete(t);
87
87
  }
88
88
  };
89
89
  }
@@ -91,13 +91,13 @@ function m(e, t) {
91
91
  e.appendChild(t);
92
92
  }
93
93
  function jn(e, t, r) {
94
- const n = Zt(e);
94
+ const n = Qt(e);
95
95
  if (!n.getElementById(t)) {
96
96
  const i = x("style");
97
- i.id = t, i.textContent = r, $r(n, i);
97
+ i.id = t, i.textContent = r, Vr(n, i);
98
98
  }
99
99
  }
100
- function Zt(e) {
100
+ function Qt(e) {
101
101
  if (!e)
102
102
  return document;
103
103
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -109,9 +109,9 @@ function Zt(e) {
109
109
  }
110
110
  function zn(e) {
111
111
  const t = x("style");
112
- return t.textContent = "/* empty */", $r(Zt(e), t), t.sheet;
112
+ return t.textContent = "/* empty */", Vr(Qt(e), t), t.sheet;
113
113
  }
114
- function $r(e, t) {
114
+ function Vr(e, t) {
115
115
  return m(
116
116
  /** @type {Document} */
117
117
  e.head || e,
@@ -131,36 +131,36 @@ function Gn(e, t) {
131
131
  function x(e) {
132
132
  return document.createElement(e);
133
133
  }
134
- function k(e) {
134
+ function O(e) {
135
135
  return document.createTextNode(e);
136
136
  }
137
- function $() {
138
- return k(" ");
137
+ function V() {
138
+ return O(" ");
139
139
  }
140
- function Te(e, t, r, n) {
140
+ function Ce(e, t, r, n) {
141
141
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
142
142
  }
143
143
  function p(e, t, r) {
144
144
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
145
145
  }
146
- function Ae(e, t, r) {
146
+ function Ne(e, t, r) {
147
147
  const n = t.toLowerCase();
148
148
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : p(e, t, r);
149
149
  }
150
- function Vn(e) {
150
+ function $n(e) {
151
151
  return Array.from(e.childNodes);
152
152
  }
153
153
  function W(e, t) {
154
154
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
155
155
  t);
156
156
  }
157
- function ft(e, t) {
157
+ function ht(e, t) {
158
158
  e.value = t == null ? "" : t;
159
159
  }
160
- function st(e, t, r) {
160
+ function at(e, t, r) {
161
161
  e.classList.toggle(t, !!r);
162
162
  }
163
- function $n(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
163
+ function Vn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
164
164
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
165
165
  }
166
166
  function qn(e) {
@@ -172,8 +172,8 @@ function qn(e) {
172
172
  }
173
173
  ), t;
174
174
  }
175
- const ht = /* @__PURE__ */ new Map();
176
- let pt = 0;
175
+ const pt = /* @__PURE__ */ new Map();
176
+ let mt = 0;
177
177
  function Xn(e) {
178
178
  let t = 5381, r = e.length;
179
179
  for (; r--; )
@@ -182,9 +182,9 @@ function Xn(e) {
182
182
  }
183
183
  function Wn(e, t) {
184
184
  const r = { stylesheet: zn(t), rules: {} };
185
- return ht.set(e, r), r;
185
+ return pt.set(e, r), r;
186
186
  }
187
- function mt(e, t, r, n, i, o, s, a = 0) {
187
+ function bt(e, t, r, n, i, o, s, a = 0) {
188
188
  const d = 16.666 / n;
189
189
  let l = `{
190
190
  `;
@@ -194,74 +194,74 @@ function mt(e, t, r, n, i, o, s, a = 0) {
194
194
  `;
195
195
  }
196
196
  const u = l + `100% {${s(r, 1 - r)}}
197
- }`, c = `__svelte_${Xn(u)}_${a}`, h = Zt(e), { stylesheet: g, rules: b } = ht.get(h) || Wn(h, e);
197
+ }`, c = `__svelte_${Xn(u)}_${a}`, h = Qt(e), { stylesheet: g, rules: b } = pt.get(h) || Wn(h, e);
198
198
  b[c] || (b[c] = !0, g.insertRule(`@keyframes ${c} ${u}`, g.cssRules.length));
199
199
  const w = e.style.animation || "";
200
- return e.style.animation = `${w ? `${w}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, pt += 1, c;
200
+ return e.style.animation = `${w ? `${w}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, mt += 1, c;
201
201
  }
202
- function bt(e, t) {
202
+ function gt(e, t) {
203
203
  const r = (e.style.animation || "").split(", "), n = r.filter(
204
204
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
205
205
  // remove all Svelte animations
206
206
  ), i = r.length - n.length;
207
- i && (e.style.animation = n.join(", "), pt -= i, pt || Zn());
207
+ i && (e.style.animation = n.join(", "), mt -= i, mt || Zn());
208
208
  }
209
209
  function Zn() {
210
- Xt(() => {
211
- pt || (ht.forEach((e) => {
210
+ Zt(() => {
211
+ mt || (pt.forEach((e) => {
212
212
  const { ownerNode: t } = e.stylesheet;
213
213
  t && Y(t);
214
- }), ht.clear());
214
+ }), pt.clear());
215
215
  });
216
216
  }
217
- let et;
218
- function Ke(e) {
219
- et = e;
217
+ let tt;
218
+ function et(e) {
219
+ tt = e;
220
220
  }
221
221
  function Yn() {
222
- if (!et)
222
+ if (!tt)
223
223
  throw new Error("Function called outside component initialization");
224
- return et;
224
+ return tt;
225
225
  }
226
226
  function Qn(e) {
227
227
  Yn().$$.on_mount.push(e);
228
228
  }
229
- const ke = [], gt = [];
230
- let De = [];
229
+ const Ue = [], vt = [];
230
+ let Fe = [];
231
231
  const lr = [], Jn = /* @__PURE__ */ Promise.resolve();
232
- let Ot = !1;
232
+ let Ut = !1;
233
233
  function Kn() {
234
- Ot || (Ot = !0, Jn.then(se));
234
+ Ut || (Ut = !0, Jn.then(se));
235
235
  }
236
236
  function he(e) {
237
- De.push(e);
237
+ Fe.push(e);
238
238
  }
239
- const Rt = /* @__PURE__ */ new Set();
240
- let Be = 0;
239
+ const Ht = /* @__PURE__ */ new Set();
240
+ let Oe = 0;
241
241
  function se() {
242
- if (Be !== 0)
242
+ if (Oe !== 0)
243
243
  return;
244
- const e = et;
244
+ const e = tt;
245
245
  do {
246
246
  try {
247
- for (; Be < ke.length; ) {
248
- const t = ke[Be];
249
- Be++, Ke(t), ei(t.$$);
247
+ for (; Oe < Ue.length; ) {
248
+ const t = Ue[Oe];
249
+ Oe++, et(t), ei(t.$$);
250
250
  }
251
251
  } catch (t) {
252
- throw ke.length = 0, Be = 0, t;
252
+ throw Ue.length = 0, Oe = 0, t;
253
253
  }
254
- for (Ke(null), ke.length = 0, Be = 0; gt.length; )
255
- gt.pop()();
256
- for (let t = 0; t < De.length; t += 1) {
257
- const r = De[t];
258
- Rt.has(r) || (Rt.add(r), r());
254
+ for (et(null), Ue.length = 0, Oe = 0; vt.length; )
255
+ vt.pop()();
256
+ for (let t = 0; t < Fe.length; t += 1) {
257
+ const r = Fe[t];
258
+ Ht.has(r) || (Ht.add(r), r());
259
259
  }
260
- De.length = 0;
261
- } while (ke.length);
260
+ Fe.length = 0;
261
+ } while (Ue.length);
262
262
  for (; lr.length; )
263
263
  lr.pop()();
264
- Ot = !1, Rt.clear(), Ke(e);
264
+ Ut = !1, Ht.clear(), et(e);
265
265
  }
266
266
  function ei(e) {
267
267
  if (e.fragment !== null) {
@@ -272,64 +272,64 @@ function ei(e) {
272
272
  }
273
273
  function ti(e) {
274
274
  const t = [], r = [];
275
- De.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), De = t;
275
+ Fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Fe = t;
276
276
  }
277
- let Qe;
278
- function Yt() {
279
- return Qe || (Qe = Promise.resolve(), Qe.then(() => {
280
- Qe = null;
281
- })), Qe;
277
+ let Je;
278
+ function Jt() {
279
+ return Je || (Je = Promise.resolve(), Je.then(() => {
280
+ Je = null;
281
+ })), Je;
282
282
  }
283
- function Ne(e, t, r) {
284
- e.dispatchEvent($n(`${t ? "intro" : "outro"}${r}`));
283
+ function Ie(e, t, r) {
284
+ e.dispatchEvent(Vn(`${t ? "intro" : "outro"}${r}`));
285
285
  }
286
- const lt = /* @__PURE__ */ new Set();
287
- let _e;
288
- function tt() {
289
- _e = {
286
+ const ut = /* @__PURE__ */ new Set();
287
+ let Pe;
288
+ function rt() {
289
+ Pe = {
290
290
  r: 0,
291
291
  c: [],
292
- p: _e
292
+ p: Pe
293
293
  // parent group
294
294
  };
295
295
  }
296
- function rt() {
297
- _e.r || be(_e.c), _e = _e.p;
296
+ function nt() {
297
+ Pe.r || be(Pe.c), Pe = Pe.p;
298
298
  }
299
299
  function fe(e, t) {
300
- e && e.i && (lt.delete(e), e.i(t));
300
+ e && e.i && (ut.delete(e), e.i(t));
301
301
  }
302
- function Fe(e, t, r, n) {
302
+ function je(e, t, r, n) {
303
303
  if (e && e.o) {
304
- if (lt.has(e))
304
+ if (ut.has(e))
305
305
  return;
306
- lt.add(e), _e.c.push(() => {
307
- lt.delete(e), n && (r && e.d(1), n());
306
+ ut.add(e), Pe.c.push(() => {
307
+ ut.delete(e), n && (r && e.d(1), n());
308
308
  }), e.o(t);
309
309
  } else
310
310
  n && n();
311
311
  }
312
- const Qt = { duration: 0 };
312
+ const Kt = { duration: 0 };
313
313
  function ri(e, t, r) {
314
314
  const n = { direction: "in" };
315
315
  let i = t(e, r, n), o = !1, s, a, d = 0;
316
316
  function l() {
317
- s && bt(e, s);
317
+ s && gt(e, s);
318
318
  }
319
319
  function u() {
320
320
  const {
321
321
  delay: h = 0,
322
322
  duration: g = 300,
323
- easing: b = wt,
323
+ easing: b = Pt,
324
324
  tick: w = ue,
325
325
  css: P
326
- } = i || Qt;
327
- P && (s = mt(e, 0, 1, g, h, b, P, d++)), w(0, 1);
328
- const S = qt() + h, E = S + g;
329
- a && a.abort(), o = !0, he(() => Ne(e, !0, "start")), a = Wt((_) => {
326
+ } = i || Kt;
327
+ P && (s = bt(e, 0, 1, g, h, b, P, d++)), w(0, 1);
328
+ const S = Wt() + h, E = S + g;
329
+ a && a.abort(), o = !0, he(() => Ie(e, !0, "start")), a = Yt((_) => {
330
330
  if (o) {
331
331
  if (_ >= E)
332
- return w(1, 0), Ne(e, !0, "end"), l(), o = !1;
332
+ return w(1, 0), Ie(e, !0, "end"), l(), o = !1;
333
333
  if (_ >= S) {
334
334
  const H = b((_ - S) / g);
335
335
  w(H, 1 - H);
@@ -341,7 +341,7 @@ function ri(e, t, r) {
341
341
  let c = !1;
342
342
  return {
343
343
  start() {
344
- c || (c = !0, bt(e), $e(i) ? (i = i(n), Yt().then(u)) : u());
344
+ c || (c = !0, gt(e), qe(i) ? (i = i(n), Jt().then(u)) : u());
345
345
  },
346
346
  invalidate() {
347
347
  c = !1;
@@ -354,24 +354,24 @@ function ri(e, t, r) {
354
354
  function ni(e, t, r) {
355
355
  const n = { direction: "out" };
356
356
  let i = t(e, r, n), o = !0, s;
357
- const a = _e;
357
+ const a = Pe;
358
358
  a.r += 1;
359
359
  let d;
360
360
  function l() {
361
361
  const {
362
362
  delay: u = 0,
363
363
  duration: c = 300,
364
- easing: h = wt,
364
+ easing: h = Pt,
365
365
  tick: g = ue,
366
366
  css: b
367
- } = i || Qt;
368
- b && (s = mt(e, 1, 0, c, u, h, b));
369
- const w = qt() + u, P = w + c;
370
- he(() => Ne(e, !1, "start")), "inert" in e && (d = /** @type {HTMLElement} */
371
- e.inert, e.inert = !0), Wt((S) => {
367
+ } = i || Kt;
368
+ b && (s = bt(e, 1, 0, c, u, h, b));
369
+ const w = Wt() + u, P = w + c;
370
+ he(() => Ie(e, !1, "start")), "inert" in e && (d = /** @type {HTMLElement} */
371
+ e.inert, e.inert = !0), Yt((S) => {
372
372
  if (o) {
373
373
  if (S >= P)
374
- return g(0, 1), Ne(e, !1, "end"), --a.r || be(a.c), !1;
374
+ return g(0, 1), Ie(e, !1, "end"), --a.r || be(a.c), !1;
375
375
  if (S >= w) {
376
376
  const E = h((S - w) / c);
377
377
  g(1 - E, E);
@@ -380,18 +380,18 @@ function ni(e, t, r) {
380
380
  return o;
381
381
  });
382
382
  }
383
- return $e(i) ? Yt().then(() => {
383
+ return qe(i) ? Jt().then(() => {
384
384
  i = i(n), l();
385
385
  }) : l(), {
386
386
  end(u) {
387
- u && "inert" in e && (e.inert = d), u && i.tick && i.tick(1, 0), o && (s && bt(e, s), o = !1);
387
+ u && "inert" in e && (e.inert = d), u && i.tick && i.tick(1, 0), o && (s && gt(e, s), o = !1);
388
388
  }
389
389
  };
390
390
  }
391
- function Pe(e, t, r, n) {
391
+ function xe(e, t, r, n) {
392
392
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, d = null, l = null, u;
393
393
  function c() {
394
- l && bt(e, l);
394
+ l && gt(e, l);
395
395
  }
396
396
  function h(b, w) {
397
397
  const P = (
@@ -412,16 +412,16 @@ function Pe(e, t, r, n) {
412
412
  const {
413
413
  delay: w = 0,
414
414
  duration: P = 300,
415
- easing: S = wt,
415
+ easing: S = Pt,
416
416
  tick: E = ue,
417
417
  css: _
418
- } = o || Qt, H = {
419
- start: qt() + w,
418
+ } = o || Kt, H = {
419
+ start: Wt() + w,
420
420
  b
421
421
  };
422
- b || (H.group = _e, _e.r += 1), "inert" in e && (b ? u !== void 0 && (e.inert = u) : (u = /** @type {HTMLElement} */
423
- e.inert, e.inert = !0)), a || d ? d = H : (_ && (c(), l = mt(e, s, b, P, w, S, _)), b && E(0, 1), a = h(H, P), he(() => Ne(e, b, "start")), Wt((T) => {
424
- if (d && T > d.start && (a = h(d, P), d = null, Ne(e, a.b, "start"), _ && (c(), l = mt(
422
+ b || (H.group = Pe, Pe.r += 1), "inert" in e && (b ? u !== void 0 && (e.inert = u) : (u = /** @type {HTMLElement} */
423
+ e.inert, e.inert = !0)), a || d ? d = H : (_ && (c(), l = bt(e, s, b, P, w, S, _)), b && E(0, 1), a = h(H, P), he(() => Ie(e, b, "start")), Yt((T) => {
424
+ if (d && T > d.start && (a = h(d, P), d = null, Ie(e, a.b, "start"), _ && (c(), l = bt(
425
425
  e,
426
426
  s,
427
427
  a.b,
@@ -431,10 +431,10 @@ function Pe(e, t, r, n) {
431
431
  o.css
432
432
  ))), a) {
433
433
  if (T >= a.end)
434
- E(s = a.b, 1 - s), Ne(e, a.b, "end"), d || (a.b ? c() : --a.group.r || be(a.group.c)), a = null;
434
+ E(s = a.b, 1 - s), Ie(e, a.b, "end"), d || (a.b ? c() : --a.group.r || be(a.group.c)), a = null;
435
435
  else if (T >= a.start) {
436
- const j = T - a.start;
437
- s = a.a + a.d * S(j / a.duration), E(s, 1 - s);
436
+ const F = T - a.start;
437
+ s = a.a + a.d * S(F / a.duration), E(s, 1 - s);
438
438
  }
439
439
  }
440
440
  return !!(a || d);
@@ -442,7 +442,7 @@ function Pe(e, t, r, n) {
442
442
  }
443
443
  return {
444
444
  run(b) {
445
- $e(o) ? Yt().then(() => {
445
+ qe(o) ? Jt().then(() => {
446
446
  o = o({ direction: b ? "in" : "out" }), g(b);
447
447
  }) : g(b);
448
448
  },
@@ -457,7 +457,7 @@ function ur(e) {
457
457
  function ii(e, t, r) {
458
458
  const { fragment: n, after_update: i } = e.$$;
459
459
  n && n.m(t, r), he(() => {
460
- const o = e.$$.on_mount.map(Fr).filter($e);
460
+ const o = e.$$.on_mount.map(Fr).filter(qe);
461
461
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : be(o), e.$$.on_mount = [];
462
462
  }), i.forEach(he);
463
463
  }
@@ -466,11 +466,11 @@ function oi(e, t) {
466
466
  r.fragment !== null && (ti(r.after_update), be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
467
467
  }
468
468
  function si(e, t) {
469
- e.$$.dirty[0] === -1 && (ke.push(e), Kn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
469
+ e.$$.dirty[0] === -1 && (Ue.push(e), Kn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
470
470
  }
471
471
  function ai(e, t, r, n, i, o, s = null, a = [-1]) {
472
- const d = et;
473
- Ke(e);
472
+ const d = tt;
473
+ et(e);
474
474
  const l = e.$$ = {
475
475
  fragment: null,
476
476
  ctx: [],
@@ -499,13 +499,13 @@ function ai(e, t, r, n, i, o, s = null, a = [-1]) {
499
499
  return l.ctx && i(l.ctx[c], l.ctx[c] = b) && (!l.skip_bound && l.bound[c] && l.bound[c](b), u && si(e, c)), h;
500
500
  }) : [], l.update(), u = !0, be(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
501
501
  if (t.hydrate) {
502
- const c = Vn(t.target);
502
+ const c = $n(t.target);
503
503
  l.fragment && l.fragment.l(c), c.forEach(Y);
504
504
  } else
505
505
  l.fragment && l.fragment.c();
506
506
  t.intro && fe(e.$$.fragment), ii(e, t.target, t.anchor), se();
507
507
  }
508
- Ke(d);
508
+ et(d);
509
509
  }
510
510
  let qr;
511
511
  typeof HTMLElement == "function" && (qr = class extends HTMLElement {
@@ -574,7 +574,7 @@ typeof HTMLElement == "function" && (qr = class extends HTMLElement {
574
574
  o in n && (r[o] = [t(o)]);
575
575
  for (const o of this.attributes) {
576
576
  const s = this.$$g_p(o.name);
577
- s in this.$$d || (this.$$d[s] = ut(s, o.value, this.$$p_d, "toProp"));
577
+ s in this.$$d || (this.$$d[s] = dt(s, o.value, this.$$p_d, "toProp"));
578
578
  }
579
579
  for (const o in this.$$p_d)
580
580
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
@@ -591,7 +591,7 @@ typeof HTMLElement == "function" && (qr = class extends HTMLElement {
591
591
  this.$$r = !0;
592
592
  for (const o in this.$$p_d)
593
593
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
594
- const s = ut(
594
+ const s = dt(
595
595
  o,
596
596
  this.$$d[o],
597
597
  this.$$p_d,
@@ -615,7 +615,7 @@ typeof HTMLElement == "function" && (qr = class extends HTMLElement {
615
615
  // and setting attributes through setAttribute etc, this is helpful
616
616
  attributeChangedCallback(t, r, n) {
617
617
  var i;
618
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ut(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
618
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = dt(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
619
619
  }
620
620
  disconnectedCallback() {
621
621
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -628,7 +628,7 @@ typeof HTMLElement == "function" && (qr = class extends HTMLElement {
628
628
  ) || t;
629
629
  }
630
630
  });
631
- function ut(e, t, r, n) {
631
+ function dt(e, t, r, n) {
632
632
  var o;
633
633
  const i = (o = r[e]) == null ? void 0 : o.type;
634
634
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -676,7 +676,7 @@ function li(e, t, r, n, i, o) {
676
676
  },
677
677
  set(d) {
678
678
  var l;
679
- d = ut(a, d, t), this.$$d[a] = d, (l = this.$$c) == null || l.$set({ [a]: d });
679
+ d = dt(a, d, t), this.$$d[a] = d, (l = this.$$c) == null || l.$set({ [a]: d });
680
680
  }
681
681
  });
682
682
  }), n.forEach((a) => {
@@ -719,7 +719,7 @@ class ui {
719
719
  * @returns {() => void}
720
720
  */
721
721
  $on(t, r) {
722
- if (!$e(r))
722
+ if (!qe(r))
723
723
  return ue;
724
724
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
725
725
  return n.push(r), () => {
@@ -744,10 +744,10 @@ function fi(e) {
744
744
  const t = e - 1;
745
745
  return t * t * t + 1;
746
746
  }
747
- function Lt(e) {
747
+ function At(e) {
748
748
  return --e * e * e * e * e + 1;
749
749
  }
750
- function Ce(e, { delay: t = 0, duration: r = 400, easing: n = ci, amount: i = 5, opacity: o = 0 } = {}) {
750
+ function Re(e, { delay: t = 0, duration: r = 400, easing: n = ci, amount: i = 5, opacity: o = 0 } = {}) {
751
751
  const s = getComputedStyle(e), a = +s.opacity, d = s.filter === "none" ? "" : s.filter, l = a * (1 - o), [u, c] = Fn(i);
752
752
  return {
753
753
  delay: t,
@@ -756,7 +756,7 @@ function Ce(e, { delay: t = 0, duration: r = 400, easing: n = ci, amount: i = 5,
756
756
  css: (h, g) => `opacity: ${a - l * g}; filter: ${d} blur(${g * u}${c});`
757
757
  };
758
758
  }
759
- function dr(e, { delay: t = 0, duration: r = 400, easing: n = wt } = {}) {
759
+ function dr(e, { delay: t = 0, duration: r = 400, easing: n = Pt } = {}) {
760
760
  const i = +getComputedStyle(e).opacity;
761
761
  return {
762
762
  delay: t,
@@ -777,24 +777,24 @@ function cr(e, { delay: t = 0, duration: r = 400, easing: n = fi, start: i = 0,
777
777
  `
778
778
  };
779
779
  }
780
- const Oe = [];
780
+ const ke = [];
781
781
  function hi(e, t) {
782
782
  return {
783
- subscribe: _t(e, t).subscribe
783
+ subscribe: xt(e, t).subscribe
784
784
  };
785
785
  }
786
- function _t(e, t = ue) {
786
+ function xt(e, t = ue) {
787
787
  let r;
788
788
  const n = /* @__PURE__ */ new Set();
789
789
  function i(a) {
790
790
  if (jr(e, a) && (e = a, r)) {
791
- const d = !Oe.length;
791
+ const d = !ke.length;
792
792
  for (const l of n)
793
- l[1](), Oe.push(l, e);
793
+ l[1](), ke.push(l, e);
794
794
  if (d) {
795
- for (let l = 0; l < Oe.length; l += 2)
796
- Oe[l][0](Oe[l + 1]);
797
- Oe.length = 0;
795
+ for (let l = 0; l < ke.length; l += 2)
796
+ ke[l][0](ke[l + 1]);
797
+ ke.length = 0;
798
798
  }
799
799
  }
800
800
  }
@@ -809,7 +809,7 @@ function _t(e, t = ue) {
809
809
  }
810
810
  return { set: i, update: o, subscribe: s };
811
811
  }
812
- function qe(e, t, r) {
812
+ function Xe(e, t, r) {
813
813
  const n = !Array.isArray(e), i = n ? [e] : e;
814
814
  if (!i.every(Boolean))
815
815
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -823,7 +823,7 @@ function qe(e, t, r) {
823
823
  return;
824
824
  c();
825
825
  const b = t(n ? l[0] : l, s, a);
826
- o ? s(b) : c = $e(b) ? b : ue;
826
+ o ? s(b) : c = qe(b) ? b : ue;
827
827
  }, g = i.map(
828
828
  (b, w) => zr(
829
829
  b,
@@ -860,19 +860,19 @@ function wi(e) {
860
860
  function _i(e) {
861
861
  return Array.isArray(e) ? [] : {};
862
862
  }
863
- function nt(e, t) {
864
- return t.clone !== !1 && t.isMergeableObject(e) ? je(_i(e), e, t) : e;
863
+ function it(e, t) {
864
+ return t.clone !== !1 && t.isMergeableObject(e) ? ze(_i(e), e, t) : e;
865
865
  }
866
866
  function Pi(e, t, r) {
867
867
  return e.concat(t).map(function(n) {
868
- return nt(n, r);
868
+ return it(n, r);
869
869
  });
870
870
  }
871
871
  function xi(e, t) {
872
872
  if (!t.customMerge)
873
- return je;
873
+ return ze;
874
874
  var r = t.customMerge(e);
875
- return typeof r == "function" ? r : je;
875
+ return typeof r == "function" ? r : ze;
876
876
  }
877
877
  function Ei(e) {
878
878
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -895,65 +895,51 @@ function Si(e, t) {
895
895
  function Ti(e, t, r) {
896
896
  var n = {};
897
897
  return r.isMergeableObject(e) && fr(e).forEach(function(i) {
898
- n[i] = nt(e[i], r);
898
+ n[i] = it(e[i], r);
899
899
  }), fr(t).forEach(function(i) {
900
- Si(e, i) || (Xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = xi(i, r)(e[i], t[i], r) : n[i] = nt(t[i], r));
900
+ Si(e, i) || (Xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = xi(i, r)(e[i], t[i], r) : n[i] = it(t[i], r));
901
901
  }), n;
902
902
  }
903
- function je(e, t, r) {
904
- r = r || {}, r.arrayMerge = r.arrayMerge || Pi, r.isMergeableObject = r.isMergeableObject || mi, r.cloneUnlessOtherwiseSpecified = nt;
903
+ function ze(e, t, r) {
904
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pi, r.isMergeableObject = r.isMergeableObject || mi, r.cloneUnlessOtherwiseSpecified = it;
905
905
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
906
- return o ? n ? r.arrayMerge(e, t, r) : Ti(e, t, r) : nt(t, r);
906
+ return o ? n ? r.arrayMerge(e, t, r) : Ti(e, t, r) : it(t, r);
907
907
  }
908
- je.all = function(t, r) {
908
+ ze.all = function(t, r) {
909
909
  if (!Array.isArray(t))
910
910
  throw new Error("first argument should be an array");
911
911
  return t.reduce(function(n, i) {
912
- return je(n, i, r);
912
+ return ze(n, i, r);
913
913
  }, {});
914
914
  };
915
- var Ci = je, Ri = Ci;
915
+ var Ci = ze, Ri = Ci;
916
916
  const Li = /* @__PURE__ */ pi(Ri);
917
- /*! *****************************************************************************
918
- Copyright (c) Microsoft Corporation.
919
-
920
- Permission to use, copy, modify, and/or distribute this software for any
921
- purpose with or without fee is hereby granted.
922
-
923
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
924
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
925
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
926
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
927
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
928
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
929
- PERFORMANCE OF THIS SOFTWARE.
930
- ***************************************************************************** */
931
- var kt = function(e, t) {
932
- return kt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
917
+ var Dt = function(e, t) {
918
+ return Dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
933
919
  r.__proto__ = n;
934
920
  } || function(r, n) {
935
921
  for (var i in n)
936
922
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
937
- }, kt(e, t);
923
+ }, Dt(e, t);
938
924
  };
939
- function Pt(e, t) {
925
+ function Et(e, t) {
940
926
  if (typeof t != "function" && t !== null)
941
927
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
942
- kt(e, t);
928
+ Dt(e, t);
943
929
  function r() {
944
930
  this.constructor = e;
945
931
  }
946
932
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
947
933
  }
948
- var B = function() {
949
- return B = Object.assign || function(t) {
934
+ var _e = function() {
935
+ return _e = Object.assign || function(t) {
950
936
  for (var r, n = 1, i = arguments.length; n < i; n++) {
951
937
  r = arguments[n];
952
938
  for (var o in r)
953
939
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
954
940
  }
955
941
  return t;
956
- }, B.apply(this, arguments);
942
+ }, _e.apply(this, arguments);
957
943
  };
958
944
  function Hi(e, t) {
959
945
  var r = {};
@@ -964,14 +950,14 @@ function Hi(e, t) {
964
950
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
965
951
  return r;
966
952
  }
967
- function Ht(e, t, r) {
968
- if (arguments.length === 2)
953
+ function Nt(e, t, r) {
954
+ if (r || arguments.length === 2)
969
955
  for (var n = 0, i = t.length, o; n < i; n++)
970
956
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
971
- return e.concat(o || t);
957
+ return e.concat(o || Array.prototype.slice.call(t));
972
958
  }
973
- function At(e, t) {
974
- var r = t && t.cache ? t.cache : Oi, n = t && t.serializer ? t.serializer : Bi, i = t && t.strategy ? t.strategy : Ni;
959
+ function It(e, t) {
960
+ var r = t && t.cache ? t.cache : ki, n = t && t.serializer ? t.serializer : Mi, i = t && t.strategy ? t.strategy : Ii;
975
961
  return i(e, {
976
962
  cache: r,
977
963
  serializer: n
@@ -980,95 +966,103 @@ function At(e, t) {
980
966
  function Ai(e) {
981
967
  return e == null || typeof e == "number" || typeof e == "boolean";
982
968
  }
983
- function Wr(e, t, r, n) {
969
+ function Ni(e, t, r, n) {
984
970
  var i = Ai(n) ? n : r(n), o = t.get(i);
985
971
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
986
972
  }
987
- function Zr(e, t, r) {
973
+ function Wr(e, t, r) {
988
974
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
989
975
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
990
976
  }
991
- function Jt(e, t, r, n, i) {
977
+ function Zr(e, t, r, n, i) {
992
978
  return r.bind(t, e, n, i);
993
979
  }
994
- function Ni(e, t) {
995
- var r = e.length === 1 ? Wr : Zr;
996
- return Jt(e, this, r, t.cache.create(), t.serializer);
997
- }
998
980
  function Ii(e, t) {
999
- return Jt(e, this, Zr, t.cache.create(), t.serializer);
981
+ var r = e.length === 1 ? Ni : Wr;
982
+ return Zr(e, this, r, t.cache.create(), t.serializer);
1000
983
  }
1001
- function Mi(e, t) {
1002
- return Jt(e, this, Wr, t.cache.create(), t.serializer);
984
+ function Bi(e, t) {
985
+ return Zr(e, this, Wr, t.cache.create(), t.serializer);
1003
986
  }
1004
- var Bi = function() {
987
+ var Mi = function() {
1005
988
  return JSON.stringify(arguments);
1006
- };
1007
- function Kt() {
1008
- this.cache = /* @__PURE__ */ Object.create(null);
1009
- }
1010
- Kt.prototype.get = function(e) {
1011
- return this.cache[e];
1012
- };
1013
- Kt.prototype.set = function(e, t) {
1014
- this.cache[e] = t;
1015
- };
1016
- var Oi = {
989
+ }, Oi = (
990
+ /** @class */
991
+ function() {
992
+ function e() {
993
+ this.cache = /* @__PURE__ */ Object.create(null);
994
+ }
995
+ return e.prototype.get = function(t) {
996
+ return this.cache[t];
997
+ }, e.prototype.set = function(t, r) {
998
+ this.cache[t] = r;
999
+ }, e;
1000
+ }()
1001
+ ), ki = {
1017
1002
  create: function() {
1018
- return new Kt();
1003
+ return new Oi();
1019
1004
  }
1020
- }, Nt = {
1021
- variadic: Ii,
1022
- monadic: Mi
1023
- }, A;
1005
+ }, Bt = {
1006
+ variadic: Bi
1007
+ }, yt = function() {
1008
+ return yt = Object.assign || function(t) {
1009
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1010
+ r = arguments[n];
1011
+ for (var o in r)
1012
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1013
+ }
1014
+ return t;
1015
+ }, yt.apply(this, arguments);
1016
+ };
1017
+ var A;
1024
1018
  (function(e) {
1025
1019
  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";
1026
1020
  })(A || (A = {}));
1027
- var z;
1021
+ var j;
1028
1022
  (function(e) {
1029
1023
  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";
1030
- })(z || (z = {}));
1031
- var ze;
1024
+ })(j || (j = {}));
1025
+ var Ge;
1032
1026
  (function(e) {
1033
1027
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1034
- })(ze || (ze = {}));
1028
+ })(Ge || (Ge = {}));
1035
1029
  function hr(e) {
1036
- return e.type === z.literal;
1030
+ return e.type === j.literal;
1037
1031
  }
1038
- function ki(e) {
1039
- return e.type === z.argument;
1032
+ function Ui(e) {
1033
+ return e.type === j.argument;
1040
1034
  }
1041
1035
  function Yr(e) {
1042
- return e.type === z.number;
1036
+ return e.type === j.number;
1043
1037
  }
1044
1038
  function Qr(e) {
1045
- return e.type === z.date;
1039
+ return e.type === j.date;
1046
1040
  }
1047
1041
  function Jr(e) {
1048
- return e.type === z.time;
1042
+ return e.type === j.time;
1049
1043
  }
1050
1044
  function Kr(e) {
1051
- return e.type === z.select;
1045
+ return e.type === j.select;
1052
1046
  }
1053
1047
  function en(e) {
1054
- return e.type === z.plural;
1048
+ return e.type === j.plural;
1055
1049
  }
1056
- function Ui(e) {
1057
- return e.type === z.pound;
1050
+ function Di(e) {
1051
+ return e.type === j.pound;
1058
1052
  }
1059
1053
  function tn(e) {
1060
- return e.type === z.tag;
1054
+ return e.type === j.tag;
1061
1055
  }
1062
1056
  function rn(e) {
1063
- return !!(e && typeof e == "object" && e.type === ze.number);
1057
+ return !!(e && typeof e == "object" && e.type === Ge.number);
1064
1058
  }
1065
- function Ut(e) {
1066
- return !!(e && typeof e == "object" && e.type === ze.dateTime);
1059
+ function Ft(e) {
1060
+ return !!(e && typeof e == "object" && e.type === Ge.dateTime);
1067
1061
  }
1068
- var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[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;
1069
- function Fi(e) {
1062
+ var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fi = /(?:[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;
1063
+ function ji(e) {
1070
1064
  var t = {};
1071
- return e.replace(Di, function(r) {
1065
+ return e.replace(Fi, function(r) {
1072
1066
  var n = r.length;
1073
1067
  switch (r[0]) {
1074
1068
  case "G":
@@ -1157,11 +1151,21 @@ function Fi(e) {
1157
1151
  return "";
1158
1152
  }), t;
1159
1153
  }
1160
- var ji = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1161
- function zi(e) {
1154
+ var $ = function() {
1155
+ return $ = Object.assign || function(t) {
1156
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1157
+ r = arguments[n];
1158
+ for (var o in r)
1159
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1160
+ }
1161
+ return t;
1162
+ }, $.apply(this, arguments);
1163
+ };
1164
+ var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1165
+ function Gi(e) {
1162
1166
  if (e.length === 0)
1163
1167
  throw new Error("Number skeleton cannot be empty");
1164
- for (var t = e.split(ji).filter(function(h) {
1168
+ for (var t = e.split(zi).filter(function(h) {
1165
1169
  return h.length > 0;
1166
1170
  }), r = [], n = 0, i = t; n < i.length; n++) {
1167
1171
  var o = i[n], s = o.split("/");
@@ -1176,7 +1180,7 @@ function zi(e) {
1176
1180
  }
1177
1181
  return r;
1178
1182
  }
1179
- function Gi(e) {
1183
+ function $i(e) {
1180
1184
  return e.replace(/^(.*?)-/, "");
1181
1185
  }
1182
1186
  var pr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, on = /^(@+)?(\+|#+)?[rs]?$/g, Vi = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
@@ -1226,7 +1230,7 @@ function an(e) {
1226
1230
  };
1227
1231
  }
1228
1232
  }
1229
- function $i(e) {
1233
+ function qi(e) {
1230
1234
  var t;
1231
1235
  if (e[0] === "E" && e[1] === "E" ? (t = {
1232
1236
  notation: "engineering"
@@ -1244,7 +1248,7 @@ function br(e) {
1244
1248
  var t = {}, r = an(e);
1245
1249
  return r || t;
1246
1250
  }
1247
- function qi(e) {
1251
+ function Xi(e) {
1248
1252
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1249
1253
  var i = n[r];
1250
1254
  switch (i.stem) {
@@ -1268,7 +1272,7 @@ function qi(e) {
1268
1272
  continue;
1269
1273
  case "measure-unit":
1270
1274
  case "unit":
1271
- t.style = "unit", t.unit = Gi(i.options[0]);
1275
+ t.style = "unit", t.unit = $i(i.options[0]);
1272
1276
  continue;
1273
1277
  case "compact-short":
1274
1278
  case "K":
@@ -1279,13 +1283,13 @@ function qi(e) {
1279
1283
  t.notation = "compact", t.compactDisplay = "long";
1280
1284
  continue;
1281
1285
  case "scientific":
1282
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(d, l) {
1283
- return B(B({}, d), br(l));
1286
+ t = $($($({}, t), { notation: "scientific" }), i.options.reduce(function(d, l) {
1287
+ return $($({}, d), br(l));
1284
1288
  }, {}));
1285
1289
  continue;
1286
1290
  case "engineering":
1287
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(d, l) {
1288
- return B(B({}, d), br(l));
1291
+ t = $($($({}, t), { notation: "engineering" }), i.options.reduce(function(d, l) {
1292
+ return $($({}, d), br(l));
1289
1293
  }, {}));
1290
1294
  continue;
1291
1295
  case "notation-simple":
@@ -1354,21 +1358,21 @@ function qi(e) {
1354
1358
  return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1355
1359
  });
1356
1360
  var o = i.options[0];
1357
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), mr(o)));
1361
+ o === "w" ? t = $($({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = $($({}, t), mr(o)));
1358
1362
  continue;
1359
1363
  }
1360
1364
  if (on.test(i.stem)) {
1361
- t = B(B({}, t), mr(i.stem));
1365
+ t = $($({}, t), mr(i.stem));
1362
1366
  continue;
1363
1367
  }
1364
1368
  var s = an(i.stem);
1365
- s && (t = B(B({}, t), s));
1366
- var a = $i(i.stem);
1367
- a && (t = B(B({}, t), a));
1369
+ s && (t = $($({}, t), s));
1370
+ var a = qi(i.stem);
1371
+ a && (t = $($({}, t), a));
1368
1372
  }
1369
1373
  return t;
1370
1374
  }
1371
- var at = {
1375
+ var lt = {
1372
1376
  "001": [
1373
1377
  "H",
1374
1378
  "h"
@@ -2783,13 +2787,13 @@ var at = {
2783
2787
  "h"
2784
2788
  ]
2785
2789
  };
2786
- function Xi(e, t) {
2790
+ function Wi(e, t) {
2787
2791
  for (var r = "", n = 0; n < e.length; n++) {
2788
2792
  var i = e.charAt(n);
2789
2793
  if (i === "j") {
2790
2794
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2791
2795
  o++, n++;
2792
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), d = "a", l = Wi(t);
2796
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), d = "a", l = Zi(t);
2793
2797
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2794
2798
  r += d;
2795
2799
  for (; s-- > 0; )
@@ -2799,7 +2803,7 @@ function Xi(e, t) {
2799
2803
  }
2800
2804
  return r;
2801
2805
  }
2802
- function Wi(e) {
2806
+ function Zi(e) {
2803
2807
  var t = e.hourCycle;
2804
2808
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2805
2809
  e.hourCycles && // @ts-ignore
@@ -2818,23 +2822,23 @@ function Wi(e) {
2818
2822
  }
2819
2823
  var r = e.language, n;
2820
2824
  r !== "root" && (n = e.maximize().region);
2821
- var i = at[n || ""] || at[r || ""] || at["".concat(r, "-001")] || at["001"];
2825
+ var i = lt[n || ""] || lt[r || ""] || lt["".concat(r, "-001")] || lt["001"];
2822
2826
  return i[0];
2823
2827
  }
2824
- var It, Zi = new RegExp("^".concat(nn.source, "*")), Yi = new RegExp("".concat(nn.source, "*$"));
2828
+ var Mt, Yi = new RegExp("^".concat(nn.source, "*")), Qi = new RegExp("".concat(nn.source, "*$"));
2825
2829
  function N(e, t) {
2826
2830
  return { start: e, end: t };
2827
2831
  }
2828
- var Qi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ji = !!String.fromCodePoint, Ki = !!Object.fromEntries, eo = !!String.prototype.codePointAt, to = !!String.prototype.trimStart, ro = !!String.prototype.trimEnd, no = !!Number.isSafeInteger, io = no ? Number.isSafeInteger : function(e) {
2832
+ var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ki = !!String.fromCodePoint, eo = !!Object.fromEntries, to = !!String.prototype.codePointAt, ro = !!String.prototype.trimStart, no = !!String.prototype.trimEnd, io = !!Number.isSafeInteger, oo = io ? Number.isSafeInteger : function(e) {
2829
2833
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2830
- }, Dt = !0;
2834
+ }, jt = !0;
2831
2835
  try {
2832
- var oo = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2833
- Dt = ((It = oo.exec("a")) === null || It === void 0 ? void 0 : It[0]) === "a";
2836
+ var so = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2837
+ jt = ((Mt = so.exec("a")) === null || Mt === void 0 ? void 0 : Mt[0]) === "a";
2834
2838
  } catch (e) {
2835
- Dt = !1;
2839
+ jt = !1;
2836
2840
  }
2837
- var gr = Qi ? (
2841
+ var gr = Ji ? (
2838
2842
  // Native
2839
2843
  function(t, r, n) {
2840
2844
  return t.startsWith(r, n);
@@ -2844,7 +2848,7 @@ var gr = Qi ? (
2844
2848
  function(t, r, n) {
2845
2849
  return t.slice(n, n + r.length) === r;
2846
2850
  }
2847
- ), Ft = Ji ? String.fromCodePoint : (
2851
+ ), zt = Ki ? String.fromCodePoint : (
2848
2852
  // IE11
2849
2853
  function() {
2850
2854
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2858,7 +2862,7 @@ var gr = Qi ? (
2858
2862
  }
2859
2863
  ), vr = (
2860
2864
  // native
2861
- Ki ? Object.fromEntries : (
2865
+ eo ? Object.fromEntries : (
2862
2866
  // Ponyfill
2863
2867
  function(t) {
2864
2868
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2868,7 +2872,7 @@ var gr = Qi ? (
2868
2872
  return r;
2869
2873
  }
2870
2874
  )
2871
- ), ln = eo ? (
2875
+ ), ln = to ? (
2872
2876
  // Native
2873
2877
  function(t, r) {
2874
2878
  return t.codePointAt(r);
@@ -2882,7 +2886,7 @@ var gr = Qi ? (
2882
2886
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2883
2887
  }
2884
2888
  }
2885
- ), so = to ? (
2889
+ ), ao = ro ? (
2886
2890
  // Native
2887
2891
  function(t) {
2888
2892
  return t.trimStart();
@@ -2890,9 +2894,9 @@ var gr = Qi ? (
2890
2894
  ) : (
2891
2895
  // Ponyfill
2892
2896
  function(t) {
2893
- return t.replace(Zi, "");
2897
+ return t.replace(Yi, "");
2894
2898
  }
2895
- ), ao = ro ? (
2899
+ ), lo = no ? (
2896
2900
  // Native
2897
2901
  function(t) {
2898
2902
  return t.trimEnd();
@@ -2900,32 +2904,32 @@ var gr = Qi ? (
2900
2904
  ) : (
2901
2905
  // Ponyfill
2902
2906
  function(t) {
2903
- return t.replace(Yi, "");
2907
+ return t.replace(Qi, "");
2904
2908
  }
2905
2909
  );
2906
2910
  function un(e, t) {
2907
2911
  return new RegExp(e, t);
2908
2912
  }
2909
- var jt;
2910
- if (Dt) {
2913
+ var Gt;
2914
+ if (jt) {
2911
2915
  var yr = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2912
- jt = function(t, r) {
2916
+ Gt = function(t, r) {
2913
2917
  var n;
2914
2918
  yr.lastIndex = r;
2915
2919
  var i = yr.exec(t);
2916
2920
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2917
2921
  };
2918
2922
  } else
2919
- jt = function(t, r) {
2923
+ Gt = function(t, r) {
2920
2924
  for (var n = []; ; ) {
2921
2925
  var i = ln(t, r);
2922
- if (i === void 0 || dn(i) || fo(i))
2926
+ if (i === void 0 || dn(i) || ho(i))
2923
2927
  break;
2924
2928
  n.push(i), r += i >= 65536 ? 2 : 1;
2925
2929
  }
2926
- return Ft.apply(void 0, n);
2930
+ return zt.apply(void 0, n);
2927
2931
  };
2928
- var lo = (
2932
+ var uo = (
2929
2933
  /** @class */
2930
2934
  function() {
2931
2935
  function e(t, r) {
@@ -2949,14 +2953,14 @@ var lo = (
2949
2953
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2950
2954
  var a = this.clonePosition();
2951
2955
  this.bump(), i.push({
2952
- type: z.pound,
2956
+ type: j.pound,
2953
2957
  location: N(a, this.clonePosition())
2954
2958
  });
2955
2959
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2956
2960
  if (n)
2957
2961
  break;
2958
2962
  return this.error(A.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2959
- } else if (o === 60 && !this.ignoreTag && zt(this.peek() || 0)) {
2963
+ } else if (o === 60 && !this.ignoreTag && $t(this.peek() || 0)) {
2960
2964
  var s = this.parseTag(t, r);
2961
2965
  if (s.err)
2962
2966
  return s;
@@ -2977,7 +2981,7 @@ var lo = (
2977
2981
  if (this.bumpSpace(), this.bumpIf("/>"))
2978
2982
  return {
2979
2983
  val: {
2980
- type: z.literal,
2984
+ type: j.literal,
2981
2985
  value: "<".concat(i, "/>"),
2982
2986
  location: N(n, this.clonePosition())
2983
2987
  },
@@ -2989,12 +2993,12 @@ var lo = (
2989
2993
  return o;
2990
2994
  var s = o.val, a = this.clonePosition();
2991
2995
  if (this.bumpIf("</")) {
2992
- if (this.isEOF() || !zt(this.char()))
2996
+ if (this.isEOF() || !$t(this.char()))
2993
2997
  return this.error(A.INVALID_TAG, N(a, this.clonePosition()));
2994
2998
  var d = this.clonePosition(), l = this.parseTagName();
2995
2999
  return i !== l ? this.error(A.UNMATCHED_CLOSING_TAG, N(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2996
3000
  val: {
2997
- type: z.tag,
3001
+ type: j.tag,
2998
3002
  value: i,
2999
3003
  children: s,
3000
3004
  location: N(n, this.clonePosition())
@@ -3007,7 +3011,7 @@ var lo = (
3007
3011
  return this.error(A.INVALID_TAG, N(n, this.clonePosition()));
3008
3012
  }, e.prototype.parseTagName = function() {
3009
3013
  var t = this.offset();
3010
- for (this.bump(); !this.isEOF() && co(this.char()); )
3014
+ for (this.bump(); !this.isEOF() && fo(this.char()); )
3011
3015
  this.bump();
3012
3016
  return this.message.slice(t, this.offset());
3013
3017
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3031,12 +3035,12 @@ var lo = (
3031
3035
  }
3032
3036
  var d = N(n, this.clonePosition());
3033
3037
  return {
3034
- val: { type: z.literal, value: i, location: d },
3038
+ val: { type: j.literal, value: i, location: d },
3035
3039
  err: null
3036
3040
  };
3037
3041
  }, e.prototype.tryParseLeftAngleBracket = function() {
3038
3042
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3039
- !uo(this.peek() || 0)) ? (this.bump(), "<") : null;
3043
+ !co(this.peek() || 0)) ? (this.bump(), "<") : null;
3040
3044
  }, e.prototype.tryParseQuote = function(t) {
3041
3045
  if (this.isEOF() || this.char() !== 39)
3042
3046
  return null;
@@ -3070,12 +3074,12 @@ var lo = (
3070
3074
  r.push(n);
3071
3075
  this.bump();
3072
3076
  }
3073
- return Ft.apply(void 0, r);
3077
+ return zt.apply(void 0, r);
3074
3078
  }, e.prototype.tryParseUnquoted = function(t, r) {
3075
3079
  if (this.isEOF())
3076
3080
  return null;
3077
3081
  var n = this.char();
3078
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ft(n));
3082
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), zt(n));
3079
3083
  }, e.prototype.parseArgument = function(t, r) {
3080
3084
  var n = this.clonePosition();
3081
3085
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3091,7 +3095,7 @@ var lo = (
3091
3095
  case 125:
3092
3096
  return this.bump(), {
3093
3097
  val: {
3094
- type: z.argument,
3098
+ type: j.argument,
3095
3099
  // value does not include the opening and closing braces.
3096
3100
  value: i,
3097
3101
  location: N(n, this.clonePosition())
@@ -3104,7 +3108,7 @@ var lo = (
3104
3108
  return this.error(A.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
3105
3109
  }
3106
3110
  }, e.prototype.parseIdentifierIfPossible = function() {
3107
- var t = this.clonePosition(), r = this.offset(), n = jt(this.message, r), i = r + n.length;
3111
+ var t = this.clonePosition(), r = this.offset(), n = Gt(this.message, r), i = r + n.length;
3108
3112
  this.bumpTo(i);
3109
3113
  var o = this.clonePosition(), s = N(t, o);
3110
3114
  return { value: n, location: s };
@@ -3123,7 +3127,7 @@ var lo = (
3123
3127
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3124
3128
  if (c.err)
3125
3129
  return c;
3126
- var h = ao(c.val);
3130
+ var h = lo(c.val);
3127
3131
  if (h.length === 0)
3128
3132
  return this.error(A.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
3129
3133
  var g = N(u, this.clonePosition());
@@ -3134,24 +3138,24 @@ var lo = (
3134
3138
  return b;
3135
3139
  var w = N(i, this.clonePosition());
3136
3140
  if (l && gr(l == null ? void 0 : l.style, "::", 0)) {
3137
- var P = so(l.style.slice(2));
3141
+ var P = ao(l.style.slice(2));
3138
3142
  if (a === "number") {
3139
3143
  var c = this.parseNumberSkeletonFromString(P, l.styleLocation);
3140
3144
  return c.err ? c : {
3141
- val: { type: z.number, value: n, location: w, style: c.val },
3145
+ val: { type: j.number, value: n, location: w, style: c.val },
3142
3146
  err: null
3143
3147
  };
3144
3148
  } else {
3145
3149
  if (P.length === 0)
3146
3150
  return this.error(A.EXPECT_DATE_TIME_SKELETON, w);
3147
3151
  var S = P;
3148
- this.locale && (S = Xi(P, this.locale));
3152
+ this.locale && (S = Wi(P, this.locale));
3149
3153
  var h = {
3150
- type: ze.dateTime,
3154
+ type: Ge.dateTime,
3151
3155
  pattern: S,
3152
3156
  location: l.styleLocation,
3153
- parsedOptions: this.shouldParseSkeletons ? Fi(S) : {}
3154
- }, E = a === "date" ? z.date : z.time;
3157
+ parsedOptions: this.shouldParseSkeletons ? ji(S) : {}
3158
+ }, E = a === "date" ? j.date : j.time;
3155
3159
  return {
3156
3160
  val: { type: E, value: n, location: w, style: h },
3157
3161
  err: null
@@ -3160,7 +3164,7 @@ var lo = (
3160
3164
  }
3161
3165
  return {
3162
3166
  val: {
3163
- type: a === "number" ? z.number : a === "date" ? z.date : z.time,
3167
+ type: a === "number" ? j.number : a === "date" ? j.date : j.time,
3164
3168
  value: n,
3165
3169
  location: w,
3166
3170
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3173,7 +3177,7 @@ var lo = (
3173
3177
  case "select": {
3174
3178
  var _ = this.clonePosition();
3175
3179
  if (this.bumpSpace(), !this.bumpIf(","))
3176
- return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, N(_, B({}, _)));
3180
+ return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, N(_, yt({}, _)));
3177
3181
  this.bumpSpace();
3178
3182
  var H = this.parseIdentifierIfPossible(), T = 0;
3179
3183
  if (a !== "select" && H.value === "offset") {
@@ -3185,26 +3189,26 @@ var lo = (
3185
3189
  return c;
3186
3190
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), T = c.val;
3187
3191
  }
3188
- var j = this.tryParsePluralOrSelectOptions(t, a, r, H);
3189
- if (j.err)
3190
- return j;
3192
+ var F = this.tryParsePluralOrSelectOptions(t, a, r, H);
3193
+ if (F.err)
3194
+ return F;
3191
3195
  var b = this.tryParseArgumentClose(i);
3192
3196
  if (b.err)
3193
3197
  return b;
3194
3198
  var C = N(i, this.clonePosition());
3195
3199
  return a === "select" ? {
3196
3200
  val: {
3197
- type: z.select,
3201
+ type: j.select,
3198
3202
  value: n,
3199
- options: vr(j.val),
3203
+ options: vr(F.val),
3200
3204
  location: C
3201
3205
  },
3202
3206
  err: null
3203
3207
  } : {
3204
3208
  val: {
3205
- type: z.plural,
3209
+ type: j.plural,
3206
3210
  value: n,
3207
- options: vr(j.val),
3211
+ options: vr(F.val),
3208
3212
  offset: T,
3209
3213
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3210
3214
  location: C
@@ -3255,16 +3259,16 @@ var lo = (
3255
3259
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3256
3260
  var n = [];
3257
3261
  try {
3258
- n = zi(t);
3262
+ n = Gi(t);
3259
3263
  } catch (i) {
3260
3264
  return this.error(A.INVALID_NUMBER_SKELETON, r);
3261
3265
  }
3262
3266
  return {
3263
3267
  val: {
3264
- type: ze.number,
3268
+ type: Ge.number,
3265
3269
  tokens: n,
3266
3270
  location: r,
3267
- parsedOptions: this.shouldParseSkeletons ? qi(n) : {}
3271
+ parsedOptions: this.shouldParseSkeletons ? Xi(n) : {}
3268
3272
  },
3269
3273
  err: null
3270
3274
  };
@@ -3312,7 +3316,7 @@ var lo = (
3312
3316
  break;
3313
3317
  }
3314
3318
  var d = N(i, this.clonePosition());
3315
- return o ? (s *= n, io(s) ? { val: s, err: null } : this.error(r, d)) : this.error(t, d);
3319
+ return o ? (s *= n, oo(s) ? { val: s, err: null } : this.error(r, d)) : this.error(t, d);
3316
3320
  }, e.prototype.offset = function() {
3317
3321
  return this.position.offset;
3318
3322
  }, e.prototype.isEOF = function() {
@@ -3378,47 +3382,47 @@ var lo = (
3378
3382
  }, e;
3379
3383
  }()
3380
3384
  );
3381
- function zt(e) {
3385
+ function $t(e) {
3382
3386
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3383
3387
  }
3384
- function uo(e) {
3385
- return zt(e) || e === 47;
3386
- }
3387
3388
  function co(e) {
3389
+ return $t(e) || e === 47;
3390
+ }
3391
+ function fo(e) {
3388
3392
  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;
3389
3393
  }
3390
3394
  function dn(e) {
3391
3395
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3392
3396
  }
3393
- function fo(e) {
3397
+ function ho(e) {
3394
3398
  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;
3395
3399
  }
3396
- function Gt(e) {
3400
+ function Vt(e) {
3397
3401
  e.forEach(function(t) {
3398
3402
  if (delete t.location, Kr(t) || en(t))
3399
3403
  for (var r in t.options)
3400
- delete t.options[r].location, Gt(t.options[r].value);
3404
+ delete t.options[r].location, Vt(t.options[r].value);
3401
3405
  else
3402
- Yr(t) && rn(t.style) || (Qr(t) || Jr(t)) && Ut(t.style) ? delete t.style.location : tn(t) && Gt(t.children);
3406
+ Yr(t) && rn(t.style) || (Qr(t) || Jr(t)) && Ft(t.style) ? delete t.style.location : tn(t) && Vt(t.children);
3403
3407
  });
3404
3408
  }
3405
- function ho(e, t) {
3406
- t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3407
- var r = new lo(e, t).parse();
3409
+ function po(e, t) {
3410
+ t === void 0 && (t = {}), t = yt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3411
+ var r = new uo(e, t).parse();
3408
3412
  if (r.err) {
3409
3413
  var n = SyntaxError(A[r.err.kind]);
3410
3414
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3411
3415
  }
3412
- return t != null && t.captureLocation || Gt(r.val), r.val;
3416
+ return t != null && t.captureLocation || Vt(r.val), r.val;
3413
3417
  }
3414
- var Ge;
3418
+ var $e;
3415
3419
  (function(e) {
3416
3420
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3417
- })(Ge || (Ge = {}));
3418
- var xt = (
3421
+ })($e || ($e = {}));
3422
+ var St = (
3419
3423
  /** @class */
3420
3424
  function(e) {
3421
- Pt(t, e);
3425
+ Et(t, e);
3422
3426
  function t(r, n, i) {
3423
3427
  var o = e.call(this, r) || this;
3424
3428
  return o.code = n, o.originalMessage = i, o;
@@ -3430,44 +3434,44 @@ var xt = (
3430
3434
  ), wr = (
3431
3435
  /** @class */
3432
3436
  function(e) {
3433
- Pt(t, e);
3437
+ Et(t, e);
3434
3438
  function t(r, n, i, o) {
3435
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ge.INVALID_VALUE, o) || this;
3439
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), $e.INVALID_VALUE, o) || this;
3436
3440
  }
3437
3441
  return t;
3438
- }(xt)
3439
- ), po = (
3442
+ }(St)
3443
+ ), mo = (
3440
3444
  /** @class */
3441
3445
  function(e) {
3442
- Pt(t, e);
3446
+ Et(t, e);
3443
3447
  function t(r, n, i) {
3444
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ge.INVALID_VALUE, i) || this;
3448
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), $e.INVALID_VALUE, i) || this;
3445
3449
  }
3446
3450
  return t;
3447
- }(xt)
3448
- ), mo = (
3451
+ }(St)
3452
+ ), bo = (
3449
3453
  /** @class */
3450
3454
  function(e) {
3451
- Pt(t, e);
3455
+ Et(t, e);
3452
3456
  function t(r, n) {
3453
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ge.MISSING_VALUE, n) || this;
3457
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), $e.MISSING_VALUE, n) || this;
3454
3458
  }
3455
3459
  return t;
3456
- }(xt)
3460
+ }(St)
3457
3461
  ), ie;
3458
3462
  (function(e) {
3459
3463
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3460
3464
  })(ie || (ie = {}));
3461
- function bo(e) {
3465
+ function go(e) {
3462
3466
  return e.length < 2 ? e : e.reduce(function(t, r) {
3463
3467
  var n = t[t.length - 1];
3464
3468
  return !n || n.type !== ie.literal || r.type !== ie.literal ? t.push(r) : n.value += r.value, t;
3465
3469
  }, []);
3466
3470
  }
3467
- function go(e) {
3471
+ function vo(e) {
3468
3472
  return typeof e == "function";
3469
3473
  }
3470
- function dt(e, t, r, n, i, o, s) {
3474
+ function ct(e, t, r, n, i, o, s) {
3471
3475
  if (e.length === 1 && hr(e[0]))
3472
3476
  return [
3473
3477
  {
@@ -3484,7 +3488,7 @@ function dt(e, t, r, n, i, o, s) {
3484
3488
  });
3485
3489
  continue;
3486
3490
  }
3487
- if (Ui(u)) {
3491
+ if (Di(u)) {
3488
3492
  typeof o == "number" && a.push({
3489
3493
  type: ie.literal,
3490
3494
  value: r.getNumberFormat(t).format(o)
@@ -3493,9 +3497,9 @@ function dt(e, t, r, n, i, o, s) {
3493
3497
  }
3494
3498
  var c = u.value;
3495
3499
  if (!(i && c in i))
3496
- throw new mo(c, s);
3500
+ throw new bo(c, s);
3497
3501
  var h = i[c];
3498
- if (ki(u)) {
3502
+ if (Ui(u)) {
3499
3503
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3500
3504
  type: typeof h == "string" ? ie.literal : ie.object,
3501
3505
  value: h
@@ -3503,7 +3507,7 @@ function dt(e, t, r, n, i, o, s) {
3503
3507
  continue;
3504
3508
  }
3505
3509
  if (Qr(u)) {
3506
- var g = typeof u.style == "string" ? n.date[u.style] : Ut(u.style) ? u.style.parsedOptions : void 0;
3510
+ var g = typeof u.style == "string" ? n.date[u.style] : Ft(u.style) ? u.style.parsedOptions : void 0;
3507
3511
  a.push({
3508
3512
  type: ie.literal,
3509
3513
  value: r.getDateTimeFormat(t, g).format(h)
@@ -3511,7 +3515,7 @@ function dt(e, t, r, n, i, o, s) {
3511
3515
  continue;
3512
3516
  }
3513
3517
  if (Jr(u)) {
3514
- var g = typeof u.style == "string" ? n.time[u.style] : Ut(u.style) ? u.style.parsedOptions : n.time.medium;
3518
+ var g = typeof u.style == "string" ? n.time[u.style] : Ft(u.style) ? u.style.parsedOptions : n.time.medium;
3515
3519
  a.push({
3516
3520
  type: ie.literal,
3517
3521
  value: r.getDateTimeFormat(t, g).format(h)
@@ -3528,9 +3532,9 @@ function dt(e, t, r, n, i, o, s) {
3528
3532
  }
3529
3533
  if (tn(u)) {
3530
3534
  var b = u.children, w = u.value, P = i[w];
3531
- if (!go(P))
3532
- throw new po(w, "function", s);
3533
- var S = dt(b, t, r, n, i, o), E = P(S.map(function(T) {
3535
+ if (!vo(P))
3536
+ throw new mo(w, "function", s);
3537
+ var S = ct(b, t, r, n, i, o), E = P(S.map(function(T) {
3534
3538
  return T.value;
3535
3539
  }));
3536
3540
  Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(T) {
@@ -3544,38 +3548,38 @@ function dt(e, t, r, n, i, o, s) {
3544
3548
  var _ = u.options[h] || u.options.other;
3545
3549
  if (!_)
3546
3550
  throw new wr(u.value, h, Object.keys(u.options), s);
3547
- a.push.apply(a, dt(_.value, t, r, n, i));
3551
+ a.push.apply(a, ct(_.value, t, r, n, i));
3548
3552
  continue;
3549
3553
  }
3550
3554
  if (en(u)) {
3551
3555
  var _ = u.options["=".concat(h)];
3552
3556
  if (!_) {
3553
3557
  if (!Intl.PluralRules)
3554
- throw new xt(`Intl.PluralRules is not available in this environment.
3558
+ throw new St(`Intl.PluralRules is not available in this environment.
3555
3559
  Try polyfilling it using "@formatjs/intl-pluralrules"
3556
- `, Ge.MISSING_INTL_API, s);
3560
+ `, $e.MISSING_INTL_API, s);
3557
3561
  var H = r.getPluralRules(t, { type: u.pluralType }).select(h - (u.offset || 0));
3558
3562
  _ = u.options[H] || u.options.other;
3559
3563
  }
3560
3564
  if (!_)
3561
3565
  throw new wr(u.value, h, Object.keys(u.options), s);
3562
- a.push.apply(a, dt(_.value, t, r, n, i, h - (u.offset || 0)));
3566
+ a.push.apply(a, ct(_.value, t, r, n, i, h - (u.offset || 0)));
3563
3567
  continue;
3564
3568
  }
3565
3569
  }
3566
- return bo(a);
3570
+ return go(a);
3567
3571
  }
3568
- function vo(e, t) {
3569
- return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3570
- return r[n] = B(B({}, e[n]), t[n] || {}), r;
3572
+ function yo(e, t) {
3573
+ return t ? _e(_e(_e({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3574
+ return r[n] = _e(_e({}, e[n]), t[n] || {}), r;
3571
3575
  }, {})) : e;
3572
3576
  }
3573
- function yo(e, t) {
3577
+ function wo(e, t) {
3574
3578
  return t ? Object.keys(e).reduce(function(r, n) {
3575
- return r[n] = vo(e[n], t[n]), r;
3576
- }, B({}, e)) : e;
3579
+ return r[n] = yo(e[n], t[n]), r;
3580
+ }, _e({}, e)) : e;
3577
3581
  }
3578
- function Mt(e) {
3582
+ function Ot(e) {
3579
3583
  return {
3580
3584
  create: function() {
3581
3585
  return {
@@ -3589,39 +3593,39 @@ function Mt(e) {
3589
3593
  }
3590
3594
  };
3591
3595
  }
3592
- function wo(e) {
3596
+ function _o(e) {
3593
3597
  return e === void 0 && (e = {
3594
3598
  number: {},
3595
3599
  dateTime: {},
3596
3600
  pluralRules: {}
3597
3601
  }), {
3598
- getNumberFormat: At(function() {
3602
+ getNumberFormat: It(function() {
3599
3603
  for (var t, r = [], n = 0; n < arguments.length; n++)
3600
3604
  r[n] = arguments[n];
3601
- return new ((t = Intl.NumberFormat).bind.apply(t, Ht([void 0], r, !1)))();
3605
+ return new ((t = Intl.NumberFormat).bind.apply(t, Nt([void 0], r, !1)))();
3602
3606
  }, {
3603
- cache: Mt(e.number),
3604
- strategy: Nt.variadic
3607
+ cache: Ot(e.number),
3608
+ strategy: Bt.variadic
3605
3609
  }),
3606
- getDateTimeFormat: At(function() {
3610
+ getDateTimeFormat: It(function() {
3607
3611
  for (var t, r = [], n = 0; n < arguments.length; n++)
3608
3612
  r[n] = arguments[n];
3609
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ht([void 0], r, !1)))();
3613
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Nt([void 0], r, !1)))();
3610
3614
  }, {
3611
- cache: Mt(e.dateTime),
3612
- strategy: Nt.variadic
3615
+ cache: Ot(e.dateTime),
3616
+ strategy: Bt.variadic
3613
3617
  }),
3614
- getPluralRules: At(function() {
3618
+ getPluralRules: It(function() {
3615
3619
  for (var t, r = [], n = 0; n < arguments.length; n++)
3616
3620
  r[n] = arguments[n];
3617
- return new ((t = Intl.PluralRules).bind.apply(t, Ht([void 0], r, !1)))();
3621
+ return new ((t = Intl.PluralRules).bind.apply(t, Nt([void 0], r, !1)))();
3618
3622
  }, {
3619
- cache: Mt(e.pluralRules),
3620
- strategy: Nt.variadic
3623
+ cache: Ot(e.pluralRules),
3624
+ strategy: Bt.variadic
3621
3625
  })
3622
3626
  };
3623
3627
  }
3624
- var _o = (
3628
+ var Po = (
3625
3629
  /** @class */
3626
3630
  function() {
3627
3631
  function e(t, r, n, i) {
@@ -3640,7 +3644,7 @@ var _o = (
3640
3644
  }, []);
3641
3645
  return u.length <= 1 ? u[0] || "" : u;
3642
3646
  }, this.formatToParts = function(d) {
3643
- return dt(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
3647
+ return ct(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
3644
3648
  }, this.resolvedOptions = function() {
3645
3649
  var d;
3646
3650
  return {
@@ -3654,12 +3658,12 @@ var _o = (
3654
3658
  var s = i || {};
3655
3659
  s.formatters;
3656
3660
  var a = Hi(s, ["formatters"]);
3657
- this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3661
+ this.ast = e.__parse(t, _e(_e({}, a), { locale: this.resolvedLocale }));
3658
3662
  } else
3659
3663
  this.ast = t;
3660
3664
  if (!Array.isArray(this.ast))
3661
3665
  throw new TypeError("A message must be provided as a String or AST.");
3662
- this.formats = yo(e.formats, n), this.formatters = i && i.formatters || wo(this.formatterCache);
3666
+ this.formats = wo(e.formats, n), this.formatters = i && i.formatters || _o(this.formatterCache);
3663
3667
  }
3664
3668
  return Object.defineProperty(e, "defaultLocale", {
3665
3669
  get: function() {
@@ -3672,7 +3676,7 @@ var _o = (
3672
3676
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3673
3677
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3674
3678
  }
3675
- }, e.__parse = ho, e.formats = {
3679
+ }, e.__parse = po, e.formats = {
3676
3680
  number: {
3677
3681
  integer: {
3678
3682
  maximumFractionDigits: 0
@@ -3733,7 +3737,7 @@ var _o = (
3733
3737
  }, e;
3734
3738
  }()
3735
3739
  );
3736
- function Po(e, t) {
3740
+ function xo(e, t) {
3737
3741
  if (t == null)
3738
3742
  return;
3739
3743
  if (t in e)
@@ -3754,36 +3758,36 @@ function Po(e, t) {
3754
3758
  n = void 0;
3755
3759
  return n;
3756
3760
  }
3757
- const Se = {}, xo = (e, t, r) => r && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = r), r), cn = (e, t) => {
3761
+ const Te = {}, Eo = (e, t, r) => r && (t in Te || (Te[t] = {}), e in Te[t] || (Te[t][e] = r), r), cn = (e, t) => {
3758
3762
  if (t == null)
3759
3763
  return;
3760
- if (t in Se && e in Se[t])
3761
- return Se[t][e];
3762
- const r = Et(t);
3764
+ if (t in Te && e in Te[t])
3765
+ return Te[t][e];
3766
+ const r = Tt(t);
3763
3767
  for (let n = 0; n < r.length; n++) {
3764
- const i = r[n], o = So(i, e);
3768
+ const i = r[n], o = To(i, e);
3765
3769
  if (o)
3766
- return xo(e, t, o);
3770
+ return Eo(e, t, o);
3767
3771
  }
3768
3772
  };
3769
3773
  let er;
3770
- const Xe = _t({});
3771
- function Eo(e) {
3774
+ const We = xt({});
3775
+ function So(e) {
3772
3776
  return er[e] || null;
3773
3777
  }
3774
3778
  function fn(e) {
3775
3779
  return e in er;
3776
3780
  }
3777
- function So(e, t) {
3781
+ function To(e, t) {
3778
3782
  if (!fn(e))
3779
3783
  return null;
3780
- const r = Eo(e);
3781
- return Po(r, t);
3784
+ const r = So(e);
3785
+ return xo(r, t);
3782
3786
  }
3783
- function To(e) {
3787
+ function Co(e) {
3784
3788
  if (e == null)
3785
3789
  return;
3786
- const t = Et(e);
3790
+ const t = Tt(e);
3787
3791
  for (let r = 0; r < t.length; r++) {
3788
3792
  const n = t[r];
3789
3793
  if (fn(n))
@@ -3791,55 +3795,55 @@ function To(e) {
3791
3795
  }
3792
3796
  }
3793
3797
  function hn(e, ...t) {
3794
- delete Se[e], Xe.update((r) => (r[e] = Li.all([r[e] || {}, ...t]), r));
3798
+ delete Te[e], We.update((r) => (r[e] = Li.all([r[e] || {}, ...t]), r));
3795
3799
  }
3796
- qe(
3797
- [Xe],
3800
+ Xe(
3801
+ [We],
3798
3802
  ([e]) => Object.keys(e)
3799
3803
  );
3800
- Xe.subscribe((e) => er = e);
3801
- const ct = {};
3802
- function Co(e, t) {
3803
- ct[e].delete(t), ct[e].size === 0 && delete ct[e];
3804
+ We.subscribe((e) => er = e);
3805
+ const ft = {};
3806
+ function Ro(e, t) {
3807
+ ft[e].delete(t), ft[e].size === 0 && delete ft[e];
3804
3808
  }
3805
3809
  function pn(e) {
3806
- return ct[e];
3810
+ return ft[e];
3807
3811
  }
3808
- function Ro(e) {
3809
- return Et(e).map((t) => {
3812
+ function Lo(e) {
3813
+ return Tt(e).map((t) => {
3810
3814
  const r = pn(t);
3811
3815
  return [t, r ? [...r] : []];
3812
3816
  }).filter(([, t]) => t.length > 0);
3813
3817
  }
3814
- function Vt(e) {
3815
- return e == null ? !1 : Et(e).some(
3818
+ function qt(e) {
3819
+ return e == null ? !1 : Tt(e).some(
3816
3820
  (t) => {
3817
3821
  var r;
3818
3822
  return (r = pn(t)) == null ? void 0 : r.size;
3819
3823
  }
3820
3824
  );
3821
3825
  }
3822
- function Lo(e, t) {
3826
+ function Ho(e, t) {
3823
3827
  return Promise.all(
3824
- t.map((n) => (Co(e, n), n().then((i) => i.default || i)))
3828
+ t.map((n) => (Ro(e, n), n().then((i) => i.default || i)))
3825
3829
  ).then((n) => hn(e, ...n));
3826
3830
  }
3827
- const Je = {};
3831
+ const Ke = {};
3828
3832
  function mn(e) {
3829
- if (!Vt(e))
3830
- return e in Je ? Je[e] : Promise.resolve();
3831
- const t = Ro(e);
3832
- return Je[e] = Promise.all(
3833
+ if (!qt(e))
3834
+ return e in Ke ? Ke[e] : Promise.resolve();
3835
+ const t = Lo(e);
3836
+ return Ke[e] = Promise.all(
3833
3837
  t.map(
3834
- ([r, n]) => Lo(r, n)
3838
+ ([r, n]) => Ho(r, n)
3835
3839
  )
3836
3840
  ).then(() => {
3837
- if (Vt(e))
3841
+ if (qt(e))
3838
3842
  return mn(e);
3839
- delete Je[e];
3840
- }), Je[e];
3843
+ delete Ke[e];
3844
+ }), Ke[e];
3841
3845
  }
3842
- const Ho = {
3846
+ const Ao = {
3843
3847
  number: {
3844
3848
  scientific: { notation: "scientific" },
3845
3849
  engineering: { notation: "engineering" },
@@ -3868,141 +3872,141 @@ const Ho = {
3868
3872
  timeZoneName: "short"
3869
3873
  }
3870
3874
  }
3871
- }, Ao = {
3875
+ }, No = {
3872
3876
  fallbackLocale: null,
3873
3877
  loadingDelay: 200,
3874
- formats: Ho,
3878
+ formats: Ao,
3875
3879
  warnOnMissingMessages: !0,
3876
3880
  handleMissingMessage: void 0,
3877
3881
  ignoreTag: !0
3878
- }, No = Ao;
3882
+ }, Io = No;
3879
3883
  function Ve() {
3880
- return No;
3884
+ return Io;
3881
3885
  }
3882
- const Bt = _t(!1);
3883
- var Io = Object.defineProperty, Mo = Object.defineProperties, Bo = Object.getOwnPropertyDescriptors, _r = Object.getOwnPropertySymbols, Oo = Object.prototype.hasOwnProperty, ko = Object.prototype.propertyIsEnumerable, Pr = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Uo = (e, t) => {
3886
+ const kt = xt(!1);
3887
+ var Bo = Object.defineProperty, Mo = Object.defineProperties, Oo = Object.getOwnPropertyDescriptors, _r = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, Uo = Object.prototype.propertyIsEnumerable, Pr = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Do = (e, t) => {
3884
3888
  for (var r in t || (t = {}))
3885
- Oo.call(t, r) && Pr(e, r, t[r]);
3889
+ ko.call(t, r) && Pr(e, r, t[r]);
3886
3890
  if (_r)
3887
3891
  for (var r of _r(t))
3888
- ko.call(t, r) && Pr(e, r, t[r]);
3892
+ Uo.call(t, r) && Pr(e, r, t[r]);
3889
3893
  return e;
3890
- }, Do = (e, t) => Mo(e, Bo(t));
3891
- let $t;
3892
- const vt = _t(null);
3894
+ }, Fo = (e, t) => Mo(e, Oo(t));
3895
+ let Xt;
3896
+ const wt = xt(null);
3893
3897
  function xr(e) {
3894
3898
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3895
3899
  }
3896
- function Et(e, t = Ve().fallbackLocale) {
3900
+ function Tt(e, t = Ve().fallbackLocale) {
3897
3901
  const r = xr(e);
3898
3902
  return t ? [.../* @__PURE__ */ new Set([...r, ...xr(t)])] : r;
3899
3903
  }
3900
- function Ie() {
3901
- return $t != null ? $t : void 0;
3904
+ function Be() {
3905
+ return Xt != null ? Xt : void 0;
3902
3906
  }
3903
- vt.subscribe((e) => {
3904
- $t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3907
+ wt.subscribe((e) => {
3908
+ Xt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3905
3909
  });
3906
- const Fo = (e) => {
3907
- if (e && To(e) && Vt(e)) {
3910
+ const jo = (e) => {
3911
+ if (e && Co(e) && qt(e)) {
3908
3912
  const { loadingDelay: t } = Ve();
3909
3913
  let r;
3910
- return typeof window != "undefined" && Ie() != null && t ? r = window.setTimeout(
3911
- () => Bt.set(!0),
3914
+ return typeof window != "undefined" && Be() != null && t ? r = window.setTimeout(
3915
+ () => kt.set(!0),
3912
3916
  t
3913
- ) : Bt.set(!0), mn(e).then(() => {
3914
- vt.set(e);
3917
+ ) : kt.set(!0), mn(e).then(() => {
3918
+ wt.set(e);
3915
3919
  }).finally(() => {
3916
- clearTimeout(r), Bt.set(!1);
3920
+ clearTimeout(r), kt.set(!1);
3917
3921
  });
3918
3922
  }
3919
- return vt.set(e);
3920
- }, Re = Do(Uo({}, vt), {
3921
- set: Fo
3922
- }), St = (e) => {
3923
+ return wt.set(e);
3924
+ }, Le = Fo(Do({}, wt), {
3925
+ set: jo
3926
+ }), Ct = (e) => {
3923
3927
  const t = /* @__PURE__ */ Object.create(null);
3924
3928
  return (n) => {
3925
3929
  const i = JSON.stringify(n);
3926
3930
  return i in t ? t[i] : t[i] = e(n);
3927
3931
  };
3928
3932
  };
3929
- var jo = Object.defineProperty, yt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tr = (e, t) => {
3933
+ var zo = Object.defineProperty, _t = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tr = (e, t) => {
3930
3934
  for (var r in t || (t = {}))
3931
3935
  bn.call(t, r) && Er(e, r, t[r]);
3932
- if (yt)
3933
- for (var r of yt(t))
3936
+ if (_t)
3937
+ for (var r of _t(t))
3934
3938
  gn.call(t, r) && Er(e, r, t[r]);
3935
3939
  return e;
3936
- }, We = (e, t) => {
3940
+ }, Ze = (e, t) => {
3937
3941
  var r = {};
3938
3942
  for (var n in e)
3939
3943
  bn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3940
- if (e != null && yt)
3941
- for (var n of yt(e))
3944
+ if (e != null && _t)
3945
+ for (var n of _t(e))
3942
3946
  t.indexOf(n) < 0 && gn.call(e, n) && (r[n] = e[n]);
3943
3947
  return r;
3944
3948
  };
3945
- const it = (e, t) => {
3949
+ const ot = (e, t) => {
3946
3950
  const { formats: r } = Ve();
3947
3951
  if (e in r && t in r[e])
3948
3952
  return r[e][t];
3949
3953
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3950
- }, zo = St(
3954
+ }, Go = Ct(
3951
3955
  (e) => {
3952
- var t = e, { locale: r, format: n } = t, i = We(t, ["locale", "format"]);
3956
+ var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3953
3957
  if (r == null)
3954
3958
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3955
- return n && (i = it("number", n)), new Intl.NumberFormat(r, i);
3959
+ return n && (i = ot("number", n)), new Intl.NumberFormat(r, i);
3956
3960
  }
3957
- ), Go = St(
3961
+ ), $o = Ct(
3958
3962
  (e) => {
3959
- var t = e, { locale: r, format: n } = t, i = We(t, ["locale", "format"]);
3963
+ var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3960
3964
  if (r == null)
3961
3965
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3962
- return n ? i = it("date", n) : Object.keys(i).length === 0 && (i = it("date", "short")), new Intl.DateTimeFormat(r, i);
3966
+ return n ? i = ot("date", n) : Object.keys(i).length === 0 && (i = ot("date", "short")), new Intl.DateTimeFormat(r, i);
3963
3967
  }
3964
- ), Vo = St(
3968
+ ), Vo = Ct(
3965
3969
  (e) => {
3966
- var t = e, { locale: r, format: n } = t, i = We(t, ["locale", "format"]);
3970
+ var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3967
3971
  if (r == null)
3968
3972
  throw new Error(
3969
3973
  '[svelte-i18n] A "locale" must be set to format time values'
3970
3974
  );
3971
- return n ? i = it("time", n) : Object.keys(i).length === 0 && (i = it("time", "short")), new Intl.DateTimeFormat(r, i);
3975
+ return n ? i = ot("time", n) : Object.keys(i).length === 0 && (i = ot("time", "short")), new Intl.DateTimeFormat(r, i);
3972
3976
  }
3973
- ), $o = (e = {}) => {
3977
+ ), qo = (e = {}) => {
3974
3978
  var t = e, {
3975
- locale: r = Ie()
3976
- } = t, n = We(t, [
3979
+ locale: r = Be()
3980
+ } = t, n = Ze(t, [
3977
3981
  "locale"
3978
3982
  ]);
3979
- return zo(tr({ locale: r }, n));
3980
- }, qo = (e = {}) => {
3983
+ return Go(tr({ locale: r }, n));
3984
+ }, Xo = (e = {}) => {
3981
3985
  var t = e, {
3982
- locale: r = Ie()
3983
- } = t, n = We(t, [
3986
+ locale: r = Be()
3987
+ } = t, n = Ze(t, [
3984
3988
  "locale"
3985
3989
  ]);
3986
- return Go(tr({ locale: r }, n));
3987
- }, Xo = (e = {}) => {
3990
+ return $o(tr({ locale: r }, n));
3991
+ }, Wo = (e = {}) => {
3988
3992
  var t = e, {
3989
- locale: r = Ie()
3990
- } = t, n = We(t, [
3993
+ locale: r = Be()
3994
+ } = t, n = Ze(t, [
3991
3995
  "locale"
3992
3996
  ]);
3993
3997
  return Vo(tr({ locale: r }, n));
3994
- }, Wo = St(
3998
+ }, Zo = Ct(
3995
3999
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3996
- (e, t = Ie()) => new _o(e, t, Ve().formats, {
4000
+ (e, t = Be()) => new Po(e, t, Ve().formats, {
3997
4001
  ignoreTag: Ve().ignoreTag
3998
4002
  })
3999
- ), Zo = (e, t = {}) => {
4003
+ ), Yo = (e, t = {}) => {
4000
4004
  var r, n, i, o;
4001
4005
  let s = t;
4002
4006
  typeof e == "object" && (s = e, e = s.id);
4003
4007
  const {
4004
4008
  values: a,
4005
- locale: d = Ie(),
4009
+ locale: d = Be(),
4006
4010
  default: l
4007
4011
  } = s;
4008
4012
  if (d == null)
@@ -4020,7 +4024,7 @@ const it = (e, t) => {
4020
4024
  return u;
4021
4025
  let c = u;
4022
4026
  try {
4023
- c = Wo(u, d).format(a);
4027
+ c = Zo(u, d).format(a);
4024
4028
  } catch (h) {
4025
4029
  h instanceof Error && console.warn(
4026
4030
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4028,29 +4032,29 @@ const it = (e, t) => {
4028
4032
  );
4029
4033
  }
4030
4034
  return c;
4031
- }, Yo = (e, t) => Xo(t).format(e), Qo = (e, t) => qo(t).format(e), Jo = (e, t) => $o(t).format(e), Ko = (e, t = Ie()) => cn(e, t), es = qe([Re, Xe], () => Zo);
4032
- qe([Re], () => Yo);
4033
- qe([Re], () => Qo);
4034
- qe([Re], () => Jo);
4035
- qe([Re, Xe], () => Ko);
4036
- function ts({ withLocale: e, translations: t }) {
4037
- Re.subscribe((r) => {
4038
- r == null && (Xe.set(t), Re.set(e));
4035
+ }, Qo = (e, t) => Wo(t).format(e), Jo = (e, t) => Xo(t).format(e), Ko = (e, t) => qo(t).format(e), es = (e, t = Be()) => cn(e, t), ts = Xe([Le, We], () => Yo);
4036
+ Xe([Le], () => Qo);
4037
+ Xe([Le], () => Jo);
4038
+ Xe([Le], () => Ko);
4039
+ Xe([Le, We], () => es);
4040
+ function rs({ withLocale: e, translations: t }) {
4041
+ Le.subscribe((r) => {
4042
+ r == null && (We.set(t), Le.set(e));
4039
4043
  });
4040
4044
  }
4041
4045
  function Sr(e, t) {
4042
4046
  hn(e, t);
4043
4047
  }
4044
- function rs(e) {
4045
- Re.set(e);
4048
+ function ns(e) {
4049
+ Le.set(e);
4046
4050
  }
4047
- function ns(e, t) {
4051
+ function is(e, t) {
4048
4052
  if (e) {
4049
4053
  const r = document.createElement("style");
4050
4054
  r.innerHTML = t, e.appendChild(r);
4051
4055
  }
4052
4056
  }
4053
- function is(e, t) {
4057
+ function os(e, t) {
4054
4058
  if (!e || !t)
4055
4059
  return;
4056
4060
  const r = new URL(t);
@@ -4061,7 +4065,7 @@ function is(e, t) {
4061
4065
  console.error("There was an error while trying to load client styling from URL", n);
4062
4066
  });
4063
4067
  }
4064
- function os(e, t, r) {
4068
+ function ss(e, t, r) {
4065
4069
  if (window.emMessageBus) {
4066
4070
  const n = document.createElement("style");
4067
4071
  window.emMessageBus.subscribe(t, (i) => {
@@ -4490,7 +4494,7 @@ function Rr(e, t) {
4490
4494
  } catch (r) {
4491
4495
  }
4492
4496
  }
4493
- function ss(e) {
4497
+ function as(e) {
4494
4498
  try {
4495
4499
  const t = localStorage.getItem(rr(e));
4496
4500
  return t != null ? Math.max(0, parseInt(t, 10)) : null;
@@ -4498,13 +4502,13 @@ function ss(e) {
4498
4502
  return null;
4499
4503
  }
4500
4504
  }
4501
- function as(e) {
4505
+ function ls(e) {
4502
4506
  try {
4503
4507
  localStorage.removeItem(rr(e));
4504
4508
  } catch (t) {
4505
4509
  }
4506
4510
  }
4507
- function ls(e) {
4511
+ function us(e) {
4508
4512
  jn(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}}");
4509
4513
  }
4510
4514
  function Lr(e, t, r) {
@@ -4518,29 +4522,29 @@ function Hr(e) {
4518
4522
  ), u, c, h, g = (
4519
4523
  /*$_*/
4520
4524
  e[10]("resetSubtitle") + ""
4521
- ), b, w, P, S, E, _, H, T, j, C = (
4525
+ ), b, w, P, S, E, _, H, T, F, C = (
4522
4526
  /*step*/
4523
4527
  e[2] === "phone" && Ar(e)
4524
4528
  ), L = (
4525
4529
  /*step*/
4526
- e[2] === "code" && Mr(e)
4530
+ e[2] === "code" && Br(e)
4527
4531
  );
4528
4532
  return {
4529
4533
  c() {
4530
- t = x("div"), r = x("div"), n = x("button"), i = k("×"), a = $(), d = x("h2"), u = k(l), c = $(), h = x("p"), b = k(g), w = $(), C && C.c(), P = $(), L && L.c(), p(n, "class", "ResetPwdClose"), p(n, "type", "button"), p(n, "aria-label", o = /*$_*/
4534
+ t = x("div"), r = x("div"), n = x("button"), i = O("×"), a = V(), d = x("h2"), u = O(l), c = V(), h = x("p"), b = O(g), w = V(), C && C.c(), P = V(), L && L.c(), p(n, "class", "ResetPwdClose"), p(n, "type", "button"), p(n, "aria-label", o = /*$_*/
4531
4535
  e[10]("close")), p(n, "title", s = /*$_*/
4532
4536
  e[10]("close")), p(d, "id", "ResetPwdTitle"), p(d, "class", "ResetPwdTitle"), p(h, "class", "ResetPwdSub"), p(r, "class", "ResetPwdCard"), p(t, "class", "ResetPwdOverlay"), p(t, "role", "dialog"), p(t, "aria-modal", "true"), p(t, "aria-labelledby", "ResetPwdTitle");
4533
4537
  },
4534
- m(M, Z) {
4535
- te(M, t, Z), m(t, r), m(r, n), m(n, i), m(r, a), m(r, d), m(d, u), m(r, c), m(r, h), m(h, b), m(r, w), C && C.m(r, null), m(r, P), L && L.m(r, null), H = !0, T || (j = Te(
4538
+ m(B, Z) {
4539
+ te(B, t, Z), m(t, r), m(r, n), m(n, i), m(r, a), m(r, d), m(d, u), m(r, c), m(r, h), m(h, b), m(r, w), C && C.m(r, null), m(r, P), L && L.m(r, null), H = !0, T || (F = Ce(
4536
4540
  n,
4537
4541
  "click",
4538
4542
  /*closeModal*/
4539
4543
  e[25]
4540
4544
  ), T = !0);
4541
4545
  },
4542
- p(M, Z) {
4543
- e = M, (!H || Z[0] & /*$_*/
4546
+ p(B, Z) {
4547
+ e = B, (!H || Z[0] & /*$_*/
4544
4548
  1024 && o !== (o = /*$_*/
4545
4549
  e[10]("close"))) && p(n, "aria-label", o), (!H || Z[0] & /*$_*/
4546
4550
  1024 && s !== (s = /*$_*/
@@ -4550,18 +4554,18 @@ function Hr(e) {
4550
4554
  1024) && g !== (g = /*$_*/
4551
4555
  e[10]("resetSubtitle") + "") && W(b, g), /*step*/
4552
4556
  e[2] === "phone" ? C ? C.p(e, Z) : (C = Ar(e), C.c(), C.m(r, P)) : C && (C.d(1), C = null), /*step*/
4553
- e[2] === "code" ? L ? L.p(e, Z) : (L = Mr(e), L.c(), L.m(r, null)) : L && (L.d(1), L = null);
4557
+ e[2] === "code" ? L ? L.p(e, Z) : (L = Br(e), L.c(), L.m(r, null)) : L && (L.d(1), L = null);
4554
4558
  },
4555
- i(M) {
4556
- H || (M && he(() => {
4559
+ i(B) {
4560
+ H || (B && he(() => {
4557
4561
  H && (E && E.end(1), S = ri(
4558
4562
  r,
4559
4563
  cr,
4560
4564
  /*cardIn*/
4561
4565
  e[23]
4562
4566
  ), S.start());
4563
- }), M && he(() => {
4564
- H && (_ || (_ = Pe(
4567
+ }), B && he(() => {
4568
+ H && (_ || (_ = xe(
4565
4569
  t,
4566
4570
  dr,
4567
4571
  /*overlayFade*/
@@ -4570,13 +4574,13 @@ function Hr(e) {
4570
4574
  )), _.run(1));
4571
4575
  }), H = !0);
4572
4576
  },
4573
- o(M) {
4574
- S && S.invalidate(), M && (E = ni(
4577
+ o(B) {
4578
+ S && S.invalidate(), B && (E = ni(
4575
4579
  r,
4576
4580
  cr,
4577
4581
  /*cardOut*/
4578
4582
  e[24]
4579
- )), M && (_ || (_ = Pe(
4583
+ )), B && (_ || (_ = xe(
4580
4584
  t,
4581
4585
  dr,
4582
4586
  /*overlayFade*/
@@ -4584,8 +4588,8 @@ function Hr(e) {
4584
4588
  !1
4585
4589
  )), _.run(0)), H = !1;
4586
4590
  },
4587
- d(M) {
4588
- M && Y(t), C && C.d(), L && L.d(), M && E && E.end(), M && _ && _.end(), T = !1, j();
4591
+ d(B) {
4592
+ B && Y(t), C && C.d(), L && L.d(), B && E && E.end(), B && _ && _.end(), T = !1, F();
4589
4593
  }
4590
4594
  };
4591
4595
  }
@@ -4599,7 +4603,7 @@ function Ar(e) {
4599
4603
  ), u, c, h, g, b, w = (
4600
4604
  /*$_*/
4601
4605
  e[10]("phoneLabel") + ""
4602
- ), P, S, E, _, H, T, j, C, L, M = (
4606
+ ), P, S, E, _, H, T, F, C, L, B = (
4603
4607
  /*loading*/
4604
4608
  (e[11] ? (
4605
4609
  /*$_*/
@@ -4608,29 +4612,29 @@ function Ar(e) {
4608
4612
  /*$_*/
4609
4613
  e[10]("requestCode")
4610
4614
  )) + ""
4611
- ), Z, ge, xe;
4612
- function Le(I, R) {
4615
+ ), Z, ge, Ee;
4616
+ function He(I, R) {
4613
4617
  return (
4614
4618
  /*phoneprefixeditable*/
4615
- I[0] === "true" ? ds : us
4619
+ I[0] === "true" ? cs : ds
4616
4620
  );
4617
4621
  }
4618
- let ae = Le(e), G = ae(e), O = (
4622
+ let ae = He(e), z = ae(e), M = (
4619
4623
  /*phoneError*/
4620
4624
  e[15] && Nr(e)
4621
- ), D = (
4625
+ ), U = (
4622
4626
  /*phoneInfo*/
4623
4627
  e[16] && Ir(e)
4624
4628
  );
4625
4629
  return {
4626
4630
  c() {
4627
- t = x("section"), r = x("p"), i = k(n), o = $(), s = x("div"), a = x("div"), d = x("label"), u = k(l), c = $(), G.c(), h = $(), g = x("div"), b = x("label"), P = k(w), S = $(), E = x("input"), H = $(), T = x("div"), O && O.c(), j = $(), D && D.c(), C = $(), L = x("button"), Z = k(M), p(r, "class", "ResetPwdHelp"), p(d, "class", "ResetPwdLabel"), p(d, "for", "ResetPwdPrefix"), p(a, "class", "ResetPwdField ResetPwdFieldPrefix"), st(
4631
+ t = x("section"), r = x("p"), i = O(n), o = V(), s = x("div"), a = x("div"), d = x("label"), u = O(l), c = V(), z.c(), h = V(), g = x("div"), b = x("label"), P = O(w), S = V(), E = x("input"), H = V(), T = x("div"), M && M.c(), F = V(), U && U.c(), C = V(), L = x("button"), Z = O(B), p(r, "class", "ResetPwdHelp"), p(d, "class", "ResetPwdLabel"), p(d, "for", "ResetPwdPrefix"), p(a, "class", "ResetPwdField ResetPwdFieldPrefix"), at(
4628
4632
  a,
4629
4633
  "ResetPwdFieldFilled",
4630
4634
  /*mobilePrefix*/
4631
4635
  e[14]
4632
4636
  ), p(b, "class", "ResetPwdLabel"), p(b, "for", "ResetPwdPhone"), p(E, "id", "ResetPwdPhone"), p(E, "class", "ResetPwdInput ResetPwdInputPhone"), p(E, "type", "tel"), p(E, "autocomplete", "tel-national"), p(E, "aria-invalid", _ = /*phoneError*/
4633
- e[15] ? "true" : "false"), p(g, "class", "ResetPwdField ResetPwdFieldPhone"), st(
4637
+ e[15] ? "true" : "false"), p(g, "class", "ResetPwdField ResetPwdFieldPhone"), at(
4634
4638
  g,
4635
4639
  "ResetPwdFieldFilled",
4636
4640
  /*phone*/
@@ -4639,18 +4643,18 @@ function Ar(e) {
4639
4643
  e[11], p(t, "class", "ResetPwdSection ResetPwdSectionPhone");
4640
4644
  },
4641
4645
  m(I, R) {
4642
- te(I, t, R), m(t, r), m(r, i), m(t, o), m(t, s), m(s, a), m(a, d), m(d, u), m(a, c), G.m(a, null), m(s, h), m(s, g), m(g, b), m(b, P), m(g, S), m(g, E), ft(
4646
+ te(I, t, R), m(t, r), m(r, i), m(t, o), m(t, s), m(s, a), m(a, d), m(d, u), m(a, c), z.m(a, null), m(s, h), m(s, g), m(g, b), m(b, P), m(g, S), m(g, E), ht(
4643
4647
  E,
4644
4648
  /*phone*/
4645
4649
  e[3]
4646
- ), m(t, H), m(t, T), O && O.m(T, null), m(T, j), D && D.m(T, null), m(t, C), m(t, L), m(L, Z), ge || (xe = [
4647
- Te(
4650
+ ), m(t, H), m(t, T), M && M.m(T, null), m(T, F), U && U.m(T, null), m(t, C), m(t, L), m(L, Z), ge || (Ee = [
4651
+ Ce(
4648
4652
  E,
4649
4653
  "input",
4650
4654
  /*input_input_handler_1*/
4651
4655
  e[49]
4652
4656
  ),
4653
- Te(
4657
+ Ce(
4654
4658
  L,
4655
4659
  "click",
4656
4660
  /*handleRequestCode*/
@@ -4663,8 +4667,8 @@ function Ar(e) {
4663
4667
  1024 && n !== (n = /*$_*/
4664
4668
  I[10]("enterPhoneHelp") + "") && W(i, n), R[0] & /*$_*/
4665
4669
  1024 && l !== (l = /*$_*/
4666
- I[10]("countryCodeLabel") + "") && W(u, l), ae === (ae = Le(I)) && G ? G.p(I, R) : (G.d(1), G = ae(I), G && (G.c(), G.m(a, null))), R[0] & /*mobilePrefix*/
4667
- 16384 && st(
4670
+ I[10]("countryCodeLabel") + "") && W(u, l), ae === (ae = He(I)) && z ? z.p(I, R) : (z.d(1), z = ae(I), z && (z.c(), z.m(a, null))), R[0] & /*mobilePrefix*/
4671
+ 16384 && at(
4668
4672
  a,
4669
4673
  "ResetPwdFieldFilled",
4670
4674
  /*mobilePrefix*/
@@ -4674,42 +4678,42 @@ function Ar(e) {
4674
4678
  I[10]("phoneLabel") + "") && W(P, w), R[0] & /*phoneError*/
4675
4679
  32768 && _ !== (_ = /*phoneError*/
4676
4680
  I[15] ? "true" : "false") && p(E, "aria-invalid", _), R[0] & /*phone*/
4677
- 8 && ft(
4681
+ 8 && ht(
4678
4682
  E,
4679
4683
  /*phone*/
4680
4684
  I[3]
4681
4685
  ), R[0] & /*phone*/
4682
- 8 && st(
4686
+ 8 && at(
4683
4687
  g,
4684
4688
  "ResetPwdFieldFilled",
4685
4689
  /*phone*/
4686
4690
  I[3]
4687
4691
  ), /*phoneError*/
4688
- I[15] ? O ? (O.p(I, R), R[0] & /*phoneError*/
4689
- 32768 && fe(O, 1)) : (O = Nr(I), O.c(), fe(O, 1), O.m(T, j)) : O && (tt(), Fe(O, 1, 1, () => {
4690
- O = null;
4691
- }), rt()), /*phoneInfo*/
4692
- I[16] ? D ? (D.p(I, R), R[0] & /*phoneInfo*/
4693
- 65536 && fe(D, 1)) : (D = Ir(I), D.c(), fe(D, 1), D.m(T, null)) : D && (tt(), Fe(D, 1, 1, () => {
4694
- D = null;
4695
- }), rt()), R[0] & /*loading, $_*/
4696
- 3072 && M !== (M = /*loading*/
4692
+ I[15] ? M ? (M.p(I, R), R[0] & /*phoneError*/
4693
+ 32768 && fe(M, 1)) : (M = Nr(I), M.c(), fe(M, 1), M.m(T, F)) : M && (rt(), je(M, 1, 1, () => {
4694
+ M = null;
4695
+ }), nt()), /*phoneInfo*/
4696
+ I[16] ? U ? (U.p(I, R), R[0] & /*phoneInfo*/
4697
+ 65536 && fe(U, 1)) : (U = Ir(I), U.c(), fe(U, 1), U.m(T, null)) : U && (rt(), je(U, 1, 1, () => {
4698
+ U = null;
4699
+ }), nt()), R[0] & /*loading, $_*/
4700
+ 3072 && B !== (B = /*loading*/
4697
4701
  (I[11] ? (
4698
4702
  /*$_*/
4699
4703
  I[10]("requesting")
4700
4704
  ) : (
4701
4705
  /*$_*/
4702
4706
  I[10]("requestCode")
4703
- )) + "") && W(Z, M), R[0] & /*loading*/
4707
+ )) + "") && W(Z, B), R[0] & /*loading*/
4704
4708
  2048 && (L.disabled = /*loading*/
4705
4709
  I[11]);
4706
4710
  },
4707
4711
  d(I) {
4708
- I && Y(t), G.d(), O && O.d(), D && D.d(), ge = !1, be(xe);
4712
+ I && Y(t), z.d(), M && M.d(), U && U.d(), ge = !1, be(Ee);
4709
4713
  }
4710
4714
  };
4711
4715
  }
4712
- function us(e) {
4716
+ function ds(e) {
4713
4717
  let t, r, n, i;
4714
4718
  return {
4715
4719
  c() {
@@ -4717,11 +4721,11 @@ function us(e) {
4717
4721
  e[0] !== "true", p(t, "autocomplete", "tel-country-code");
4718
4722
  },
4719
4723
  m(o, s) {
4720
- te(o, t, s), ft(
4724
+ te(o, t, s), ht(
4721
4725
  t,
4722
4726
  /*mobilePrefix*/
4723
4727
  e[14]
4724
- ), n || (i = Te(
4728
+ ), n || (i = Ce(
4725
4729
  t,
4726
4730
  "input",
4727
4731
  /*input_input_handler*/
@@ -4733,7 +4737,7 @@ function us(e) {
4733
4737
  1 && r !== (r = /*phoneprefixeditable*/
4734
4738
  o[0] !== "true") && (t.readOnly = r), s[0] & /*mobilePrefix*/
4735
4739
  16384 && t.value !== /*mobilePrefix*/
4736
- o[14] && ft(
4740
+ o[14] && ht(
4737
4741
  t,
4738
4742
  /*mobilePrefix*/
4739
4743
  o[14]
@@ -4744,22 +4748,22 @@ function us(e) {
4744
4748
  }
4745
4749
  };
4746
4750
  }
4747
- function ds(e) {
4751
+ function cs(e) {
4748
4752
  let t, r;
4749
4753
  return {
4750
4754
  c() {
4751
- t = x("vaadin-combo-box"), Ae(
4755
+ t = x("vaadin-combo-box"), Ne(
4752
4756
  t,
4753
4757
  "items",
4754
4758
  /*phoneCodes*/
4755
4759
  e[13]
4756
- ), Ae(
4760
+ ), Ne(
4757
4761
  t,
4758
4762
  "value",
4759
4763
  /*mobilePrefix*/
4760
4764
  e[14]
4761
- ), Ae(t, "errorMessage", r = /*$_*/
4762
- e[10]("invalidPrefix")), Ae(
4765
+ ), Ne(t, "errorMessage", r = /*$_*/
4766
+ e[10]("invalidPrefix")), Ne(
4763
4767
  t,
4764
4768
  "onChange",
4765
4769
  /*handlePrefixDropdown*/
@@ -4771,20 +4775,20 @@ function ds(e) {
4771
4775
  },
4772
4776
  p(n, i) {
4773
4777
  i[0] & /*phoneCodes*/
4774
- 8192 && Ae(
4778
+ 8192 && Ne(
4775
4779
  t,
4776
4780
  "items",
4777
4781
  /*phoneCodes*/
4778
4782
  n[13]
4779
4783
  ), i[0] & /*mobilePrefix*/
4780
- 16384 && Ae(
4784
+ 16384 && Ne(
4781
4785
  t,
4782
4786
  "value",
4783
4787
  /*mobilePrefix*/
4784
4788
  n[14]
4785
4789
  ), i[0] & /*$_*/
4786
4790
  1024 && r !== (r = /*$_*/
4787
- n[10]("invalidPrefix")) && Ae(t, "errorMessage", r);
4791
+ n[10]("invalidPrefix")) && Ne(t, "errorMessage", r);
4788
4792
  },
4789
4793
  d(n) {
4790
4794
  n && Y(t);
@@ -4795,7 +4799,7 @@ function Nr(e) {
4795
4799
  let t, r, n, i;
4796
4800
  return {
4797
4801
  c() {
4798
- t = x("div"), r = k(
4802
+ t = x("div"), r = O(
4799
4803
  /*phoneError*/
4800
4804
  e[15]
4801
4805
  ), p(t, "class", "ResetPwdError");
@@ -4813,11 +4817,11 @@ function Nr(e) {
4813
4817
  },
4814
4818
  i(o) {
4815
4819
  i || (o && he(() => {
4816
- i && (n || (n = Pe(t, Ce, { amount: 5 }, !0)), n.run(1));
4820
+ i && (n || (n = xe(t, Re, { amount: 5 }, !0)), n.run(1));
4817
4821
  }), i = !0);
4818
4822
  },
4819
4823
  o(o) {
4820
- o && (n || (n = Pe(t, Ce, { amount: 5 }, !1)), n.run(0)), i = !1;
4824
+ o && (n || (n = xe(t, Re, { amount: 5 }, !1)), n.run(0)), i = !1;
4821
4825
  },
4822
4826
  d(o) {
4823
4827
  o && Y(t), o && n && n.end();
@@ -4828,7 +4832,7 @@ function Ir(e) {
4828
4832
  let t, r, n, i;
4829
4833
  return {
4830
4834
  c() {
4831
- t = x("div"), r = k(
4835
+ t = x("div"), r = O(
4832
4836
  /*phoneInfo*/
4833
4837
  e[16]
4834
4838
  ), p(t, "class", "ResetPwdHint");
@@ -4846,18 +4850,18 @@ function Ir(e) {
4846
4850
  },
4847
4851
  i(o) {
4848
4852
  i || (o && he(() => {
4849
- i && (n || (n = Pe(t, Ce, { amount: 5 }, !0)), n.run(1));
4853
+ i && (n || (n = xe(t, Re, { amount: 5 }, !0)), n.run(1));
4850
4854
  }), i = !0);
4851
4855
  },
4852
4856
  o(o) {
4853
- o && (n || (n = Pe(t, Ce, { amount: 5 }, !1)), n.run(0)), i = !1;
4857
+ o && (n || (n = xe(t, Re, { amount: 5 }, !1)), n.run(0)), i = !1;
4854
4858
  },
4855
4859
  d(o) {
4856
4860
  o && Y(t), o && n && n.end();
4857
4861
  }
4858
4862
  };
4859
4863
  }
4860
- function Mr(e) {
4864
+ function Br(e) {
4861
4865
  let t, r, n = (
4862
4866
  /*$_*/
4863
4867
  e[10]("enterCodeTitle") + ""
@@ -4870,10 +4874,10 @@ function Mr(e) {
4870
4874
  ), d, l, u, c, h, g = (
4871
4875
  /*$_*/
4872
4876
  e[10]("verificationCodeLabel") + ""
4873
- ), b, w, P, S, E, _, H, T, j, C, L, M, Z, ge = (
4877
+ ), b, w, P, S, E, _, H, T, F, C, L, B, Z, ge = (
4874
4878
  /*$_*/
4875
4879
  e[10]("attemptsLeft") + ""
4876
- ), xe, Le, ae, G, O, D, I, R, ne, q, pe, ve, Me = (
4880
+ ), Ee, He, ae, z, M, U, I, R, ne, q, pe, ve, Me = (
4877
4881
  /*loading*/
4878
4882
  (e[11] ? (
4879
4883
  /*$_*/
@@ -4882,16 +4886,16 @@ function Mr(e) {
4882
4886
  /*$_*/
4883
4887
  e[10]("submitCode")
4884
4888
  )) + ""
4885
- ), ye, Ee, we, Ze, de = ur(Array(
4889
+ ), ye, Se, we, Ye, de = ur(Array(
4886
4890
  /*codeLength*/
4887
4891
  e[26]
4888
4892
  )), re = [];
4889
4893
  for (let v = 0; v < de.length; v += 1)
4890
- re[v] = Br(Lr(e, de, v));
4894
+ re[v] = Mr(Lr(e, de, v));
4891
4895
  let Q = (
4892
4896
  /*codeError*/
4893
4897
  e[17] && Or(e)
4894
- ), U = (
4898
+ ), k = (
4895
4899
  /*codeExpiredHint*/
4896
4900
  e[18] && /*remainingSeconds*/
4897
4901
  e[9] === 0 && kr(e)
@@ -4899,25 +4903,25 @@ function Mr(e) {
4899
4903
  /*expiresAt*/
4900
4904
  e[5] && Ur(e)
4901
4905
  );
4902
- function J(v, V) {
4906
+ function J(v, G) {
4903
4907
  return (
4904
4908
  /*canResendAt*/
4905
4909
  v[6] && /*now*/
4906
4910
  v[7] < /*canResendAt*/
4907
- v[6] ? fs : cs
4911
+ v[6] ? hs : fs
4908
4912
  );
4909
4913
  }
4910
- let He = J(e), le = He(e);
4914
+ let Ae = J(e), le = Ae(e);
4911
4915
  return {
4912
4916
  c() {
4913
- t = x("section"), r = x("h3"), i = k(n), o = $(), s = x("p"), d = k(a), l = $(), u = x("div"), c = x("div"), h = x("label"), b = k(g), w = $(), P = x("div");
4917
+ t = x("section"), r = x("h3"), i = O(n), o = V(), s = x("p"), d = O(a), l = V(), u = x("div"), c = x("div"), h = x("label"), b = O(g), w = V(), P = x("div");
4914
4918
  for (let v = 0; v < re.length; v += 1)
4915
4919
  re[v].c();
4916
- E = $(), _ = x("div"), Q && Q.c(), H = $(), U && U.c(), T = $(), j = x("div"), C = x("div"), L = x("div"), M = x("span"), Z = x("strong"), xe = k(ge), Le = k(":"), ae = $(), G = x("span"), O = k(
4920
+ E = V(), _ = x("div"), Q && Q.c(), H = V(), k && k.c(), T = V(), F = x("div"), C = x("div"), L = x("div"), B = x("span"), Z = x("strong"), Ee = O(ge), He = O(":"), ae = V(), z = x("span"), M = O(
4917
4921
  /*attemptsRemaining*/
4918
4922
  e[4]
4919
- ), D = $(), X && X.c(), I = $(), R = x("button"), le.c(), pe = $(), ve = x("button"), ye = k(Me), p(r, "id", "ResetPwdCodeTitle"), p(r, "class", "ResetPwdStepTitle"), p(s, "class", "ResetPwdHelp"), p(h, "class", "ResetPwdLabel"), p(h, "for", "ResetPwdCode"), p(P, "class", "ResetPwdCodeGroup"), p(P, "role", "group"), p(P, "aria-label", S = /*$_*/
4920
- e[10]("verificationCodeLabel")), p(c, "class", "ResetPwdField ResetPwdFieldCode"), p(u, "class", "ResetPwdRow"), p(u, "aria-describedby", "ResetPwdRowErrorsCode"), p(_, "id", "ResetPwdRowErrorsCode"), p(_, "class", "ResetPwdErrors"), p(_, "role", "alert"), p(_, "aria-live", "assertive"), p(G, "class", "ResetPwdAttempts"), p(M, "class", "ResetPwdMeta"), p(L, "class", "ResetPwdMetaRow"), p(R, "class", "ResetPwdLink"), p(R, "type", "button"), R.disabled = ne = /*loading*/
4923
+ ), U = V(), X && X.c(), I = V(), R = x("button"), le.c(), pe = V(), ve = x("button"), ye = O(Me), p(r, "id", "ResetPwdCodeTitle"), p(r, "class", "ResetPwdStepTitle"), p(s, "class", "ResetPwdHelp"), p(h, "class", "ResetPwdLabel"), p(h, "for", "ResetPwdCode"), p(P, "class", "ResetPwdCodeGroup"), p(P, "role", "group"), p(P, "aria-label", S = /*$_*/
4924
+ e[10]("verificationCodeLabel")), p(c, "class", "ResetPwdField ResetPwdFieldCode"), p(u, "class", "ResetPwdRow"), p(u, "aria-describedby", "ResetPwdRowErrorsCode"), p(_, "id", "ResetPwdRowErrorsCode"), p(_, "class", "ResetPwdErrors"), p(_, "role", "alert"), p(_, "aria-live", "assertive"), p(z, "class", "ResetPwdAttempts"), p(B, "class", "ResetPwdMeta"), p(L, "class", "ResetPwdMetaRow"), p(R, "class", "ResetPwdLink"), p(R, "type", "button"), R.disabled = ne = /*loading*/
4921
4925
  e[11] || /*canResendAt*/
4922
4926
  e[6] && /*now*/
4923
4927
  e[7] < /*canResendAt*/
@@ -4925,22 +4929,22 @@ function Mr(e) {
4925
4929
  e[11] || /*canResendAt*/
4926
4930
  e[6] && /*now*/
4927
4931
  e[7] < /*canResendAt*/
4928
- e[6]), p(C, "class", "ResetPwdField ResetPwdFieldMeta"), p(j, "class", "ResetPwdRow"), p(j, "aria-describedby", "ResetPwdRowErrorsCode"), p(ve, "class", "ResetPwdButton"), p(ve, "type", "button"), ve.disabled = Ee = /*loading*/
4932
+ e[6]), p(C, "class", "ResetPwdField ResetPwdFieldMeta"), p(F, "class", "ResetPwdRow"), p(F, "aria-describedby", "ResetPwdRowErrorsCode"), p(ve, "class", "ResetPwdButton"), p(ve, "type", "button"), ve.disabled = Se = /*loading*/
4929
4933
  e[11] || /*disableSubmitCode*/
4930
4934
  e[20], p(t, "class", "ResetPwdSection ResetPwdSectionCode"), p(t, "aria-labelledby", "ResetPwdCodeTitle");
4931
4935
  },
4932
- m(v, V) {
4933
- te(v, t, V), m(t, r), m(r, i), m(t, o), m(t, s), m(s, d), m(t, l), m(t, u), m(u, c), m(c, h), m(h, b), m(c, w), m(c, P);
4936
+ m(v, G) {
4937
+ te(v, t, G), m(t, r), m(r, i), m(t, o), m(t, s), m(s, d), m(t, l), m(t, u), m(u, c), m(c, h), m(h, b), m(c, w), m(c, P);
4934
4938
  for (let K = 0; K < re.length; K += 1)
4935
4939
  re[K] && re[K].m(P, null);
4936
- m(t, E), m(t, _), Q && Q.m(_, null), m(_, H), U && U.m(_, null), m(t, T), m(t, j), m(j, C), m(C, L), m(L, M), m(M, Z), m(Z, xe), m(Z, Le), m(M, ae), m(M, G), m(G, O), m(L, D), X && X.m(L, null), m(C, I), m(C, R), le.m(R, null), m(t, pe), m(t, ve), m(ve, ye), we || (Ze = [
4937
- Te(
4940
+ m(t, E), m(t, _), Q && Q.m(_, null), m(_, H), k && k.m(_, null), m(t, T), m(t, F), m(F, C), m(C, L), m(L, B), m(B, Z), m(Z, Ee), m(Z, He), m(B, ae), m(B, z), m(z, M), m(L, U), X && X.m(L, null), m(C, I), m(C, R), le.m(R, null), m(t, pe), m(t, ve), m(ve, ye), we || (Ye = [
4941
+ Ce(
4938
4942
  R,
4939
4943
  "click",
4940
4944
  /*handleResend*/
4941
4945
  e[32]
4942
4946
  ),
4943
- Te(
4947
+ Ce(
4944
4948
  ve,
4945
4949
  "click",
4946
4950
  /*handleVerifyCode*/
@@ -4948,17 +4952,17 @@ function Mr(e) {
4948
4952
  )
4949
4953
  ], we = !0);
4950
4954
  },
4951
- p(v, V) {
4952
- if (V[0] & /*$_*/
4955
+ p(v, G) {
4956
+ if (G[0] & /*$_*/
4953
4957
  1024 && n !== (n = /*$_*/
4954
- v[10]("enterCodeTitle") + "") && W(i, n), V[0] & /*$_*/
4958
+ v[10]("enterCodeTitle") + "") && W(i, n), G[0] & /*$_*/
4955
4959
  1024 && a !== (a = /*$_*/
4956
4960
  v[10]("codeSubtitle").replace("{n}", String(
4957
4961
  /*codeLength*/
4958
4962
  v[26]
4959
- )) + "") && W(d, a), V[0] & /*$_*/
4963
+ )) + "") && W(d, a), G[0] & /*$_*/
4960
4964
  1024 && g !== (g = /*$_*/
4961
- v[10]("verificationCodeLabel") + "") && W(b, g), V[0] & /*codeDigits, codeError, codeInputs, handleCodeInput, handleCodeKeyDown*/
4965
+ v[10]("verificationCodeLabel") + "") && W(b, g), G[0] & /*codeDigits, codeError, codeInputs, handleCodeInput, handleCodeKeyDown*/
4962
4966
  403308800) {
4963
4967
  de = ur(Array(
4964
4968
  /*codeLength*/
@@ -4966,43 +4970,43 @@ function Mr(e) {
4966
4970
  ));
4967
4971
  let K;
4968
4972
  for (K = 0; K < de.length; K += 1) {
4969
- const Ye = Lr(v, de, K);
4970
- re[K] ? re[K].p(Ye, V) : (re[K] = Br(Ye), re[K].c(), re[K].m(P, null));
4973
+ const Qe = Lr(v, de, K);
4974
+ re[K] ? re[K].p(Qe, G) : (re[K] = Mr(Qe), re[K].c(), re[K].m(P, null));
4971
4975
  }
4972
4976
  for (; K < re.length; K += 1)
4973
4977
  re[K].d(1);
4974
4978
  re.length = de.length;
4975
4979
  }
4976
- V[0] & /*$_*/
4980
+ G[0] & /*$_*/
4977
4981
  1024 && S !== (S = /*$_*/
4978
4982
  v[10]("verificationCodeLabel")) && p(P, "aria-label", S), /*codeError*/
4979
- v[17] ? Q ? (Q.p(v, V), V[0] & /*codeError*/
4980
- 131072 && fe(Q, 1)) : (Q = Or(v), Q.c(), fe(Q, 1), Q.m(_, H)) : Q && (tt(), Fe(Q, 1, 1, () => {
4983
+ v[17] ? Q ? (Q.p(v, G), G[0] & /*codeError*/
4984
+ 131072 && fe(Q, 1)) : (Q = Or(v), Q.c(), fe(Q, 1), Q.m(_, H)) : Q && (rt(), je(Q, 1, 1, () => {
4981
4985
  Q = null;
4982
- }), rt()), /*codeExpiredHint*/
4986
+ }), nt()), /*codeExpiredHint*/
4983
4987
  v[18] && /*remainingSeconds*/
4984
- v[9] === 0 ? U ? (U.p(v, V), V[0] & /*codeExpiredHint, remainingSeconds*/
4985
- 262656 && fe(U, 1)) : (U = kr(v), U.c(), fe(U, 1), U.m(_, null)) : U && (tt(), Fe(U, 1, 1, () => {
4986
- U = null;
4987
- }), rt()), V[0] & /*$_*/
4988
+ v[9] === 0 ? k ? (k.p(v, G), G[0] & /*codeExpiredHint, remainingSeconds*/
4989
+ 262656 && fe(k, 1)) : (k = kr(v), k.c(), fe(k, 1), k.m(_, null)) : k && (rt(), je(k, 1, 1, () => {
4990
+ k = null;
4991
+ }), nt()), G[0] & /*$_*/
4988
4992
  1024 && ge !== (ge = /*$_*/
4989
- v[10]("attemptsLeft") + "") && W(xe, ge), V[0] & /*attemptsRemaining*/
4993
+ v[10]("attemptsLeft") + "") && W(Ee, ge), G[0] & /*attemptsRemaining*/
4990
4994
  16 && W(
4991
- O,
4995
+ M,
4992
4996
  /*attemptsRemaining*/
4993
4997
  v[4]
4994
4998
  ), /*expiresAt*/
4995
- v[5] ? X ? X.p(v, V) : (X = Ur(v), X.c(), X.m(L, null)) : X && (X.d(1), X = null), He === (He = J(v)) && le ? le.p(v, V) : (le.d(1), le = He(v), le && (le.c(), le.m(R, null))), V[0] & /*loading, canResendAt, now*/
4999
+ v[5] ? X ? X.p(v, G) : (X = Ur(v), X.c(), X.m(L, null)) : X && (X.d(1), X = null), Ae === (Ae = J(v)) && le ? le.p(v, G) : (le.d(1), le = Ae(v), le && (le.c(), le.m(R, null))), G[0] & /*loading, canResendAt, now*/
4996
5000
  2240 && ne !== (ne = /*loading*/
4997
5001
  v[11] || /*canResendAt*/
4998
5002
  v[6] && /*now*/
4999
5003
  v[7] < /*canResendAt*/
5000
- v[6]) && (R.disabled = ne), V[0] & /*loading, canResendAt, now*/
5004
+ v[6]) && (R.disabled = ne), G[0] & /*loading, canResendAt, now*/
5001
5005
  2240 && q !== (q = /*loading*/
5002
5006
  v[11] || /*canResendAt*/
5003
5007
  v[6] && /*now*/
5004
5008
  v[7] < /*canResendAt*/
5005
- v[6]) && p(R, "aria-disabled", q), V[0] & /*loading, $_*/
5009
+ v[6]) && p(R, "aria-disabled", q), G[0] & /*loading, $_*/
5006
5010
  3072 && Me !== (Me = /*loading*/
5007
5011
  (v[11] ? (
5008
5012
  /*$_*/
@@ -5010,17 +5014,17 @@ function Mr(e) {
5010
5014
  ) : (
5011
5015
  /*$_*/
5012
5016
  v[10]("submitCode")
5013
- )) + "") && W(ye, Me), V[0] & /*loading, disableSubmitCode*/
5014
- 1050624 && Ee !== (Ee = /*loading*/
5017
+ )) + "") && W(ye, Me), G[0] & /*loading, disableSubmitCode*/
5018
+ 1050624 && Se !== (Se = /*loading*/
5015
5019
  v[11] || /*disableSubmitCode*/
5016
- v[20]) && (ve.disabled = Ee);
5020
+ v[20]) && (ve.disabled = Se);
5017
5021
  },
5018
5022
  d(v) {
5019
- v && Y(t), Gn(re, v), Q && Q.d(), U && U.d(), X && X.d(), le.d(), we = !1, be(Ze);
5023
+ v && Y(t), Gn(re, v), Q && Q.d(), k && k.d(), X && X.d(), le.d(), we = !1, be(Ye);
5020
5024
  }
5021
5025
  };
5022
5026
  }
5023
- function Br(e) {
5027
+ function Mr(e) {
5024
5028
  let t, r, n, i = (
5025
5029
  /*index*/
5026
5030
  e[74]
@@ -5063,8 +5067,8 @@ function Br(e) {
5063
5067
  },
5064
5068
  m(c, h) {
5065
5069
  te(c, t, h), a(), o || (s = [
5066
- Te(t, "input", l),
5067
- Te(t, "keydown", u)
5070
+ Ce(t, "input", l),
5071
+ Ce(t, "keydown", u)
5068
5072
  ], o = !0);
5069
5073
  },
5070
5074
  p(c, h) {
@@ -5088,7 +5092,7 @@ function Or(e) {
5088
5092
  let t, r, n, i;
5089
5093
  return {
5090
5094
  c() {
5091
- t = x("div"), r = k(
5095
+ t = x("div"), r = O(
5092
5096
  /*codeError*/
5093
5097
  e[17]
5094
5098
  ), p(t, "class", "ResetPwdError");
@@ -5106,11 +5110,11 @@ function Or(e) {
5106
5110
  },
5107
5111
  i(o) {
5108
5112
  i || (o && he(() => {
5109
- i && (n || (n = Pe(t, Ce, { amount: 5 }, !0)), n.run(1));
5113
+ i && (n || (n = xe(t, Re, { amount: 5 }, !0)), n.run(1));
5110
5114
  }), i = !0);
5111
5115
  },
5112
5116
  o(o) {
5113
- o && (n || (n = Pe(t, Ce, { amount: 5 }, !1)), n.run(0)), i = !1;
5117
+ o && (n || (n = xe(t, Re, { amount: 5 }, !1)), n.run(0)), i = !1;
5114
5118
  },
5115
5119
  d(o) {
5116
5120
  o && Y(t), o && n && n.end();
@@ -5121,7 +5125,7 @@ function kr(e) {
5121
5125
  let t, r, n, i;
5122
5126
  return {
5123
5127
  c() {
5124
- t = x("div"), r = k(
5128
+ t = x("div"), r = O(
5125
5129
  /*codeExpiredHint*/
5126
5130
  e[18]
5127
5131
  ), p(t, "class", "ResetPwdHint");
@@ -5139,11 +5143,11 @@ function kr(e) {
5139
5143
  },
5140
5144
  i(o) {
5141
5145
  i || (o && he(() => {
5142
- i && (n || (n = Pe(t, Ce, { amount: 5 }, !0)), n.run(1));
5146
+ i && (n || (n = xe(t, Re, { amount: 5 }, !0)), n.run(1));
5143
5147
  }), i = !0);
5144
5148
  },
5145
5149
  o(o) {
5146
- o && (n || (n = Pe(t, Ce, { amount: 5 }, !1)), n.run(0)), i = !1;
5150
+ o && (n || (n = xe(t, Re, { amount: 5 }, !1)), n.run(0)), i = !1;
5147
5151
  },
5148
5152
  d(o) {
5149
5153
  o && Y(t), o && n && n.end();
@@ -5157,10 +5161,10 @@ function Ur(e) {
5157
5161
  ), i, o, s, a, d, l;
5158
5162
  return {
5159
5163
  c() {
5160
- t = x("span"), r = x("strong"), i = k(n), o = k(":"), s = $(), a = x("span"), d = k(
5164
+ t = x("span"), r = x("strong"), i = O(n), o = O(":"), s = V(), a = x("span"), d = O(
5161
5165
  /*remainingSeconds*/
5162
5166
  e[9]
5163
- ), l = k("s"), p(a, "class", "ResetPwdExpires"), p(t, "class", "ResetPwdMeta");
5167
+ ), l = O("s"), p(a, "class", "ResetPwdExpires"), p(t, "class", "ResetPwdMeta");
5164
5168
  },
5165
5169
  m(u, c) {
5166
5170
  te(u, t, c), m(t, r), m(r, i), m(r, o), m(t, s), m(t, a), m(a, d), m(a, l);
@@ -5180,14 +5184,14 @@ function Ur(e) {
5180
5184
  }
5181
5185
  };
5182
5186
  }
5183
- function cs(e) {
5187
+ function fs(e) {
5184
5188
  let t = (
5185
5189
  /*$_*/
5186
5190
  e[10]("resendCode") + ""
5187
5191
  ), r;
5188
5192
  return {
5189
5193
  c() {
5190
- r = k(t);
5194
+ r = O(t);
5191
5195
  },
5192
5196
  m(n, i) {
5193
5197
  te(n, r, i);
@@ -5202,17 +5206,17 @@ function cs(e) {
5202
5206
  }
5203
5207
  };
5204
5208
  }
5205
- function fs(e) {
5209
+ function hs(e) {
5206
5210
  let t = (
5207
5211
  /*$_*/
5208
5212
  e[10]("resendCode") + ""
5209
5213
  ), r, n, i, o, s, a;
5210
5214
  return {
5211
5215
  c() {
5212
- r = k(t), n = k(" ("), i = x("span"), o = k(
5216
+ r = O(t), n = O(" ("), i = x("span"), o = O(
5213
5217
  /*resendSeconds*/
5214
5218
  e[21]
5215
- ), s = k("s"), a = k(")"), p(i, "class", "ResetPwdResend");
5219
+ ), s = O("s"), a = O(")"), p(i, "class", "ResetPwdResend");
5216
5220
  },
5217
5221
  m(d, l) {
5218
5222
  te(d, r, l), te(d, n, l), te(d, i, l), m(i, o), m(i, s), te(d, a, l);
@@ -5232,7 +5236,7 @@ function fs(e) {
5232
5236
  }
5233
5237
  };
5234
5238
  }
5235
- function hs(e) {
5239
+ function ps(e) {
5236
5240
  let t, r = (
5237
5241
  /*isModalOpen*/
5238
5242
  e[12] && Hr(e)
@@ -5247,22 +5251,22 @@ function hs(e) {
5247
5251
  p(n, i) {
5248
5252
  /*isModalOpen*/
5249
5253
  n[12] ? r ? (r.p(n, i), i[0] & /*isModalOpen*/
5250
- 4096 && fe(r, 1)) : (r = Hr(n), r.c(), fe(r, 1), r.m(t, null)) : r && (tt(), Fe(r, 1, 1, () => {
5254
+ 4096 && fe(r, 1)) : (r = Hr(n), r.c(), fe(r, 1), r.m(t, null)) : r && (rt(), je(r, 1, 1, () => {
5251
5255
  r = null;
5252
- }), rt());
5256
+ }), nt());
5253
5257
  },
5254
5258
  i(n) {
5255
5259
  fe(r);
5256
5260
  },
5257
5261
  o(n) {
5258
- Fe(r);
5262
+ je(r);
5259
5263
  },
5260
5264
  d(n) {
5261
5265
  n && Y(t), r && r.d(), e[53](null);
5262
5266
  }
5263
5267
  };
5264
5268
  }
5265
- function ps(e) {
5269
+ function ms(e) {
5266
5270
  try {
5267
5271
  return JSON.parse(e);
5268
5272
  } catch (t) {
@@ -5278,20 +5282,20 @@ function Dr(e, t = "error") {
5278
5282
  window.location.href
5279
5283
  );
5280
5284
  }
5281
- function ms(e, t, r) {
5285
+ function bs(e, t, r) {
5282
5286
  let n, i, o, s, a, d, l, u;
5283
- Dn(e, es, (f) => r(10, u = f));
5284
- let { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: g = "" } = t, { mbsource: b } = t, { phoneregex: w = "" } = t, { phoneprefixeditable: P = "true" } = t, { smscodelength: S = "6" } = t, { smscodemaxattempts: E = "5" } = t, { smscodettl: _ = "5" } = t, { resenddelay: H = "1" } = t, { endpoint: T = "" } = t, { lang: j = "en" } = t, C, L = "phone", M = !1, Z = !0;
5285
- const ge = { duration: 140, easing: Lt }, xe = {
5287
+ Dn(e, ts, (f) => r(10, u = f));
5288
+ let { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: g = "" } = t, { mbsource: b } = t, { phoneregex: w = "" } = t, { phoneprefixeditable: P = "true" } = t, { smscodelength: S = "6" } = t, { smscodemaxattempts: E = "5" } = t, { smscodettl: _ = "5" } = t, { resenddelay: H = "1" } = t, { endpoint: T = "" } = t, { lang: F = "en" } = t, C, L = "phone", B = !1, Z = !0;
5289
+ const ge = { duration: 140, easing: At }, Ee = {
5286
5290
  duration: 220,
5287
5291
  start: 0.96,
5288
- easing: Lt
5289
- }, Le = {
5292
+ easing: At
5293
+ }, He = {
5290
5294
  duration: 140,
5291
5295
  start: 1,
5292
- easing: Lt
5296
+ easing: At
5293
5297
  };
5294
- let ae = [], G = "", O = "", D = "", I = "", R = null, ne = "", q = "", pe = /^[\d\.]+$/.test(E) ? Number(E) : 5, ve = Number(/^[\d\.]+$/.test(_) ? _ : 5) * 60 * 1e3, Me = Number(/^[\d\.]+$/.test(H) ? H : 1) * 60 * 1e3, ye = null, Ee = "", we = null, Ze = null, de = Date.now();
5298
+ let ae = [], z = "", M = "", U = "", I = "", R = null, ne = "", q = "", pe = /^[\d\.]+$/.test(E) ? Number(E) : 5, ve = Number(/^[\d\.]+$/.test(_) ? _ : 5) * 60 * 1e3, Me = Number(/^[\d\.]+$/.test(H) ? H : 1) * 60 * 1e3, ye = null, Se = "", we = null, Ye = null, de = Date.now();
5295
5299
  setInterval(
5296
5300
  () => {
5297
5301
  r(7, de = Date.now());
@@ -5314,66 +5318,66 @@ function ms(e, t, r) {
5314
5318
  function Q(f) {
5315
5319
  return w ? (typeof w == "string" ? new RegExp(w) : w).test(f.trim()) : !1;
5316
5320
  }
5317
- let U = Number(S), X = [], J = Array(Number(U)).fill("");
5318
- function He(f, y) {
5319
- const F = f.target.value.replace(/\D/g, "");
5320
- if (F.length === 1)
5321
- r(8, J[y] = F, J), v(y);
5322
- else if (F.length > 1) {
5323
- const oe = F.split("").slice(0, U - y);
5324
- oe.forEach((ot, Nn) => {
5325
- r(8, J[y + Nn] = ot, J);
5321
+ let k = Number(S), X = [], J = Array(Number(k)).fill("");
5322
+ function Ae(f, y) {
5323
+ const D = f.target.value.replace(/\D/g, "");
5324
+ if (D.length === 1)
5325
+ r(8, J[y] = D, J), v(y);
5326
+ else if (D.length > 1) {
5327
+ const oe = D.split("").slice(0, k - y);
5328
+ oe.forEach((st, Nn) => {
5329
+ r(8, J[y + Nn] = st, J);
5326
5330
  }), K(y + oe.length - 1);
5327
5331
  }
5328
5332
  ne = J.join("");
5329
5333
  }
5330
5334
  function le(f, y) {
5331
- f.key === "Backspace" ? J[y] ? r(8, J[y] = "", J) : y > 0 && (V(y), r(8, J[y - 1] = "", J)) : !/\d/.test(f.key) && f.key !== "Tab" && f.key.length === 1 && f.preventDefault();
5335
+ f.key === "Backspace" ? J[y] ? r(8, J[y] = "", J) : y > 0 && (G(y), r(8, J[y - 1] = "", J)) : !/\d/.test(f.key) && f.key !== "Tab" && f.key.length === 1 && f.preventDefault();
5332
5336
  }
5333
5337
  function v(f) {
5334
5338
  var y;
5335
- f < U - 1 && ((y = X[f + 1]) == null || y.focus());
5339
+ f < k - 1 && ((y = X[f + 1]) == null || y.focus());
5336
5340
  }
5337
- function V(f) {
5341
+ function G(f) {
5338
5342
  var y;
5339
5343
  f > 0 && ((y = X[f - 1]) == null || y.focus());
5340
5344
  }
5341
5345
  function K(f) {
5342
5346
  var y;
5343
- f >= 0 && f < U && ((y = X[f]) == null || y.focus());
5347
+ f >= 0 && f < k && ((y = X[f]) == null || y.focus());
5344
5348
  }
5345
- function Ye(f, y) {
5349
+ function Qe(f, y) {
5346
5350
  return me(this, null, function* () {
5347
- var ot;
5351
+ var st;
5348
5352
  const ee = yield fetch(f, {
5349
5353
  method: "POST",
5350
5354
  headers: { "Content-Type": "application/json" },
5351
5355
  body: void 0
5352
- }), F = yield ee.text(), oe = F ? ps(F) : void 0;
5356
+ }), D = yield ee.text(), oe = D ? ms(D) : void 0;
5353
5357
  if (!ee.ok)
5354
- throw new Cr(ee.status, (ot = oe == null ? void 0 : oe.error) != null ? ot : ee.statusText, oe);
5358
+ throw new Cr(ee.status, (st = oe == null ? void 0 : oe.error) != null ? st : ee.statusText, oe);
5355
5359
  return oe != null ? oe : {};
5356
5360
  });
5357
5361
  }
5358
5362
  function vn(f) {
5359
5363
  return me(this, null, function* () {
5360
- const { mobileNumber: y, mobilePrefix: ee } = f, F = new URLSearchParams({ mobileNumber: y });
5361
- ee && F.set("mobilePrefix", ee);
5362
- const oe = `${T}/v1/player/resetPasswordByMobilePhone?${F.toString()}`;
5363
- return yield Ye(oe);
5364
+ const { mobileNumber: y, mobilePrefix: ee } = f, D = new URLSearchParams({ mobileNumber: y });
5365
+ ee && D.set("mobilePrefix", ee);
5366
+ const oe = `${T}/v1/player/resetPasswordByMobilePhone?${D.toString()}`;
5367
+ return yield Qe(oe);
5364
5368
  });
5365
5369
  }
5366
5370
  function yn(f) {
5367
5371
  return me(this, null, function* () {
5368
- const { tokenId: y, validationCode: ee } = f, F = new URLSearchParams({ tokenId: y, validationCode: ee }), oe = `${T}/v1/player/resetPasswordByMobilePhone/validate?${F.toString()}`;
5369
- return yield Ye(oe);
5372
+ const { tokenId: y, validationCode: ee } = f, D = new URLSearchParams({ tokenId: y, validationCode: ee }), oe = `${T}/v1/player/resetPasswordByMobilePhone/validate?${D.toString()}`;
5373
+ return yield Qe(oe);
5370
5374
  });
5371
5375
  }
5372
5376
  function wn() {
5373
5377
  return me(this, null, function* () {
5374
5378
  const f = new URL(`${T}/v1/player/operatorSupportedPhoneCodes`), y = yield fetch(f.href);
5375
5379
  try {
5376
- return (yield y.json()).phoneCodes.map((F) => ({ label: F, value: F }));
5380
+ return (yield y.json()).phoneCodes.map((D) => ({ label: D, value: D }));
5377
5381
  } catch (ee) {
5378
5382
  return [];
5379
5383
  }
@@ -5381,43 +5385,43 @@ function ms(e, t, r) {
5381
5385
  }
5382
5386
  function _n(f) {
5383
5387
  const y = f.target.value;
5384
- r(14, O = y);
5388
+ r(14, M = y);
5385
5389
  }
5386
5390
  function nr() {
5387
5391
  return me(this, null, function* () {
5388
- r(15, D = ""), r(16, I = ""), r(17, q = ""), r(11, M = !0);
5392
+ r(15, U = ""), r(16, I = ""), r(17, q = ""), r(11, B = !0);
5389
5393
  try {
5390
- if (!Q(G)) {
5391
- r(15, D = u("invalidPhone"));
5394
+ if (!Q(z)) {
5395
+ r(15, U = u("invalidPhone"));
5392
5396
  return;
5393
5397
  }
5394
5398
  const f = yield vn({
5395
- mobileNumber: G.trim(),
5396
- mobilePrefix: (O == null ? void 0 : O.trim()) || void 0
5399
+ mobileNumber: z.trim(),
5400
+ mobilePrefix: (M == null ? void 0 : M.trim()) || void 0
5397
5401
  });
5398
5402
  if (f != null && f.tokenId) {
5399
- R = f.tokenId, r(5, ye = Date.now() + ve), r(6, we = Date.now() + Me), r(18, Ee = ""), ne = "", r(8, J = Array.from({ length: U }, () => ""));
5400
- const y = ss(R);
5403
+ R = f.tokenId, r(5, ye = Date.now() + ve), r(6, we = Date.now() + Me), r(18, Se = ""), ne = "", r(8, J = Array.from({ length: k }, () => ""));
5404
+ const y = as(R);
5401
5405
  r(4, pe = y != null ? y : Number(E)), Rr(R, pe), r(2, L = "code");
5402
5406
  } else
5403
5407
  r(16, I = u("genericIfRegistered"));
5404
5408
  } catch (f) {
5405
5409
  const { message: y, thirdPartyResponse: { message: ee } = {} } = f;
5406
- r(15, D = ee || y), Dr(D);
5410
+ r(15, U = ee || y), Dr(U);
5407
5411
  } finally {
5408
- r(11, M = !1);
5412
+ r(11, B = !1);
5409
5413
  }
5410
5414
  });
5411
5415
  }
5412
- function Tt() {
5416
+ function Rt() {
5413
5417
  r(4, pe = Math.max(0, pe - 1)), Rr(R, pe);
5414
5418
  }
5415
5419
  function Pn() {
5416
5420
  return me(this, null, function* () {
5417
- r(17, q = ""), r(11, M = !0);
5421
+ r(17, q = ""), r(11, B = !0);
5418
5422
  try {
5419
- if (!ne || ne.trim().length !== U || !/^\d+$/.test(ne.trim())) {
5420
- r(17, q = u("enterDigitsCode").replace("{n}", String(U)));
5423
+ if (!ne || ne.trim().length !== k || !/^\d+$/.test(ne.trim())) {
5424
+ r(17, q = u("enterDigitsCode").replace("{n}", String(k)));
5421
5425
  return;
5422
5426
  }
5423
5427
  if (!R) {
@@ -5425,23 +5429,23 @@ function ms(e, t, r) {
5425
5429
  return;
5426
5430
  }
5427
5431
  const f = yield yn({ tokenId: R, validationCode: ne.trim() });
5428
- Ze = f.hashKey.charAt(0) === "/" ? f.hashKey.slice(1) : f.hashKey, r(2, L = "password"), as(R), window.postMessage(
5432
+ Ye = f.hashKey.charAt(0) === "/" ? f.hashKey.slice(1) : f.hashKey, r(2, L = "password"), ls(R), window.postMessage(
5429
5433
  {
5430
5434
  type: "SwitchToResetPasswordScreen",
5431
- key: Ze
5435
+ key: Ye
5432
5436
  },
5433
5437
  window.location.href
5434
5438
  );
5435
5439
  } catch (f) {
5436
5440
  if (r(17, q = u("unableToVerify")), f instanceof Cr) {
5437
- const y = f.payload, ee = f.status, F = ((y == null ? void 0 : y.error) || "").toLowerCase();
5441
+ const y = f.payload, ee = f.status, D = ((y == null ? void 0 : y.error) || "").toLowerCase();
5438
5442
  switch (ee) {
5439
5443
  case 400: {
5440
- F.includes("invalid validation code") ? (Tt(), r(17, q = pe > 0 ? u("incorrectCode") : u("tooManyAttempts"))) : F.includes("expired") ? (r(17, q = u("codeExpired")), r(18, Ee = u("codeExpired")), r(5, ye = null)) : F.includes("not valid") || F.includes("invalid token") ? r(17, q = u("invalidRequest")) : r(17, q = u("unableToVerify"));
5444
+ D.includes("invalid validation code") ? (Rt(), r(17, q = pe > 0 ? u("incorrectCode") : u("tooManyAttempts"))) : D.includes("expired") ? (r(17, q = u("codeExpired")), r(18, Se = u("codeExpired")), r(5, ye = null)) : D.includes("not valid") || D.includes("invalid token") ? r(17, q = u("invalidRequest")) : r(17, q = u("unableToVerify"));
5441
5445
  break;
5442
5446
  }
5443
5447
  case 424: {
5444
- F.includes("input is not match") ? (Tt(), r(17, q = u("incorrectCode"))) : F.includes("validation max attempts exceeded") ? (Tt(), r(17, q = u("tooManyAttempts"))) : r(17, q = u("unableToVerify"));
5448
+ D.includes("input is not match") ? (Rt(), r(17, q = u("incorrectCode"))) : D.includes("validation max attempts exceeded") ? (Rt(), r(17, q = u("tooManyAttempts"))) : r(17, q = u("unableToVerify"));
5445
5449
  break;
5446
5450
  }
5447
5451
  case 404: {
@@ -5456,24 +5460,24 @@ function ms(e, t, r) {
5456
5460
  Dr(q);
5457
5461
  }
5458
5462
  } finally {
5459
- r(11, M = !1);
5463
+ r(11, B = !1);
5460
5464
  }
5461
5465
  });
5462
5466
  }
5463
5467
  function xn() {
5464
5468
  return me(this, null, function* () {
5465
- M || we && de < we || (yield nr());
5469
+ B || we && de < we || (yield nr());
5466
5470
  });
5467
5471
  }
5468
- ts({ withLocale: "en", translations: {} });
5472
+ rs({ withLocale: "en", translations: {} });
5469
5473
  const En = (f) => me(this, null, function* () {
5470
5474
  try {
5471
5475
  const y = yield fetch(f);
5472
5476
  if (!y.ok)
5473
5477
  throw new Error(`Fetch failed with status ${y.status}`);
5474
5478
  const ee = yield y.json();
5475
- for (const F in ee)
5476
- Sr(F, ee[F]);
5479
+ for (const D in ee)
5480
+ Sr(D, ee[D]);
5477
5481
  } catch (y) {
5478
5482
  console.error("Error fetching translation", y);
5479
5483
  }
@@ -5482,49 +5486,49 @@ function ms(e, t, r) {
5482
5486
  Sr(f, Tr[f]);
5483
5487
  });
5484
5488
  const Sn = () => {
5485
- rs(j);
5489
+ ns(F);
5486
5490
  };
5487
5491
  Qn(() => me(this, null, function* () {
5488
5492
  var f;
5489
- return r(13, ae = yield wn()), r(14, O = (f = ae == null ? void 0 : ae[0]) == null ? void 0 : f.value), ne && ne.length === U && r(8, J = ne.split("")), () => {
5493
+ return r(13, ae = yield wn()), r(14, M = (f = ae == null ? void 0 : ae[0]) == null ? void 0 : f.value), ne && ne.length === k && r(8, J = ne.split("")), () => {
5490
5494
  };
5491
5495
  }));
5492
5496
  function Tn() {
5493
- O = this.value, r(14, O);
5497
+ M = this.value, r(14, M);
5494
5498
  }
5495
5499
  function Cn() {
5496
- G = this.value, r(3, G);
5500
+ z = this.value, r(3, z);
5497
5501
  }
5498
5502
  function Rn(f, y) {
5499
- gt[f ? "unshift" : "push"](() => {
5503
+ vt[f ? "unshift" : "push"](() => {
5500
5504
  X[y] = f, r(19, X);
5501
5505
  });
5502
5506
  }
5503
- const Ln = (f, y) => He(y, f), Hn = (f, y) => le(y, f);
5507
+ const Ln = (f, y) => Ae(y, f), Hn = (f, y) => le(y, f);
5504
5508
  function An(f) {
5505
- gt[f ? "unshift" : "push"](() => {
5509
+ vt[f ? "unshift" : "push"](() => {
5506
5510
  C = f, r(1, C);
5507
5511
  });
5508
5512
  }
5509
5513
  return e.$$set = (f) => {
5510
- "clientstyling" in f && r(33, c = f.clientstyling), "clientstylingurl" in f && r(34, h = f.clientstylingurl), "translationurl" in f && r(35, g = f.translationurl), "mbsource" in f && r(36, b = f.mbsource), "phoneregex" in f && r(37, w = f.phoneregex), "phoneprefixeditable" in f && r(0, P = f.phoneprefixeditable), "smscodelength" in f && r(38, S = f.smscodelength), "smscodemaxattempts" in f && r(39, E = f.smscodemaxattempts), "smscodettl" in f && r(40, _ = f.smscodettl), "resenddelay" in f && r(41, H = f.resenddelay), "endpoint" in f && r(42, T = f.endpoint), "lang" in f && r(43, j = f.lang);
5514
+ "clientstyling" in f && r(33, c = f.clientstyling), "clientstylingurl" in f && r(34, h = f.clientstylingurl), "translationurl" in f && r(35, g = f.translationurl), "mbsource" in f && r(36, b = f.mbsource), "phoneregex" in f && r(37, w = f.phoneregex), "phoneprefixeditable" in f && r(0, P = f.phoneprefixeditable), "smscodelength" in f && r(38, S = f.smscodelength), "smscodemaxattempts" in f && r(39, E = f.smscodemaxattempts), "smscodettl" in f && r(40, _ = f.smscodettl), "resenddelay" in f && r(41, H = f.resenddelay), "endpoint" in f && r(42, T = f.endpoint), "lang" in f && r(43, F = f.lang);
5511
5515
  }, e.$$.update = () => {
5512
5516
  e.$$.dirty[0] & /*customStylingContainer*/
5513
5517
  2 | e.$$.dirty[1] & /*clientstyling*/
5514
- 4 && c && C && ns(C, c), e.$$.dirty[0] & /*customStylingContainer*/
5518
+ 4 && c && C && is(C, c), e.$$.dirty[0] & /*customStylingContainer*/
5515
5519
  2 | e.$$.dirty[1] & /*clientstylingurl*/
5516
- 8 && h && C && is(C, h), e.$$.dirty[0] & /*customStylingContainer*/
5520
+ 8 && h && C && os(C, h), e.$$.dirty[0] & /*customStylingContainer*/
5517
5521
  2 | e.$$.dirty[1] & /*mbsource*/
5518
- 32 && b && C && os(C, `${b}.Style`), e.$$.dirty[1] & /*lang*/
5519
- 4096 && j && Sn(), e.$$.dirty[1] & /*translationurl*/
5522
+ 32 && b && C && ss(C, `${b}.Style`), e.$$.dirty[1] & /*lang*/
5523
+ 4096 && F && Sn(), e.$$.dirty[1] & /*translationurl*/
5520
5524
  16 && g && En(g), e.$$.dirty[0] & /*expiresAt, now*/
5521
5525
  160 && r(9, n = ye ? Math.max(0, Math.ceil((ye - de) / 1e3)) : 0), e.$$.dirty[0] & /*canResendAt, now*/
5522
5526
  192 && r(21, i = we ? Math.max(0, Math.ceil((we - de) / 1e3)) : 0), e.$$.dirty[0] & /*expiresAt, remainingSeconds*/
5523
5527
  544 && r(44, o = !!ye && n === 0), e.$$.dirty[0] & /*step, phone, $_*/
5524
- 1036 && r(15, D = L === "phone" && G ? Q(G) ? "" : u("invalidPhone") : ""), e.$$.dirty[0] & /*codeDigits*/
5528
+ 1036 && r(15, U = L === "phone" && z ? Q(z) ? "" : u("invalidPhone") : ""), e.$$.dirty[0] & /*codeDigits*/
5525
5529
  256 && r(46, s = J.join("")), e.$$.dirty[0] & /*codeDigits*/
5526
5530
  256 && r(47, a = J.every((f) => /^\d$/.test(f))), e.$$.dirty[1] & /*isCodeFilled, codeCombined*/
5527
- 98304 && r(45, d = a && s.length === U), e.$$.dirty[0] & /*codeDigits*/
5531
+ 98304 && r(45, d = a && s.length === k), e.$$.dirty[0] & /*codeDigits*/
5528
5532
  256 && (ne = J.join("")), e.$$.dirty[0] & /*attemptsRemaining*/
5529
5533
  16 | e.$$.dirty[1] & /*isCodeValid, isTokenExpired*/
5530
5534
  24576 && r(20, l = !d || o || pe <= 0);
@@ -5532,7 +5536,7 @@ function ms(e, t, r) {
5532
5536
  P,
5533
5537
  C,
5534
5538
  L,
5535
- G,
5539
+ z,
5536
5540
  pe,
5537
5541
  ye,
5538
5542
  we,
@@ -5540,23 +5544,23 @@ function ms(e, t, r) {
5540
5544
  J,
5541
5545
  n,
5542
5546
  u,
5543
- M,
5547
+ B,
5544
5548
  Z,
5545
5549
  ae,
5546
- O,
5547
- D,
5550
+ M,
5551
+ U,
5548
5552
  I,
5549
5553
  q,
5550
- Ee,
5554
+ Se,
5551
5555
  X,
5552
5556
  l,
5553
5557
  i,
5554
5558
  ge,
5555
- xe,
5556
- Le,
5557
- re,
5558
- U,
5559
+ Ee,
5559
5560
  He,
5561
+ re,
5562
+ k,
5563
+ Ae,
5560
5564
  le,
5561
5565
  _n,
5562
5566
  nr,
@@ -5572,7 +5576,7 @@ function ms(e, t, r) {
5572
5576
  _,
5573
5577
  H,
5574
5578
  T,
5575
- j,
5579
+ F,
5576
5580
  o,
5577
5581
  d,
5578
5582
  s,
@@ -5585,13 +5589,13 @@ function ms(e, t, r) {
5585
5589
  An
5586
5590
  ];
5587
5591
  }
5588
- class bs extends ui {
5592
+ class gs extends ui {
5589
5593
  constructor(t) {
5590
5594
  super(), ai(
5591
5595
  this,
5592
5596
  t,
5593
- ms,
5594
- hs,
5597
+ bs,
5598
+ ps,
5595
5599
  jr,
5596
5600
  {
5597
5601
  clientstyling: 33,
@@ -5607,7 +5611,7 @@ class bs extends ui {
5607
5611
  endpoint: 42,
5608
5612
  lang: 43
5609
5613
  },
5610
- ls,
5614
+ us,
5611
5615
  [-1, -1, -1]
5612
5616
  );
5613
5617
  }
@@ -5684,7 +5688,7 @@ class bs extends ui {
5684
5688
  this.$$set({ lang: t }), se();
5685
5689
  }
5686
5690
  }
5687
- li(bs, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, phoneregex: {}, phoneprefixeditable: {}, smscodelength: {}, smscodemaxattempts: {}, smscodettl: {}, resenddelay: {}, endpoint: {}, lang: {} }, [], [], !0);
5691
+ li(gs, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, phoneregex: {}, phoneprefixeditable: {}, smscodelength: {}, smscodemaxattempts: {}, smscodettl: {}, resenddelay: {}, endpoint: {}, lang: {} }, [], [], !0);
5688
5692
  export {
5689
- bs as default
5693
+ gs as default
5690
5694
  };