@everymatrix/player-change-password-nd 1.99.10 → 1.99.12

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,46 +1,46 @@
1
- function ne() {
1
+ function le() {
2
2
  }
3
- function mr(e) {
3
+ function wr(e) {
4
4
  return e();
5
5
  }
6
- function Gt() {
6
+ function zt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Oe(e) {
10
- e.forEach(mr);
9
+ function ke(e) {
10
+ e.forEach(wr);
11
11
  }
12
- function Be(e) {
12
+ function $t(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function gr(e, t) {
15
+ function vr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Qr(e) {
18
+ function an(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function br(e, ...t) {
21
+ function yr(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return ne;
25
+ return le;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Jr(e, t, r) {
31
- e.$$.on_destroy.push(br(t, r));
30
+ function ln(e, t, r) {
31
+ e.$$.on_destroy.push(yr(t, r));
32
32
  }
33
33
  function f(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function qr(e, t, r) {
37
- const n = Kr(e);
36
+ function un(e, t, r) {
37
+ const n = hn(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const s = P("style");
40
- s.id = t, s.textContent = r, en(n, s);
40
+ s.id = t, s.textContent = r, cn(n, s);
41
41
  }
42
42
  }
43
- function Kr(e) {
43
+ function hn(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,17 +50,17 @@ function Kr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function en(e, t) {
53
+ function cn(e, t) {
54
54
  return f(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function H(e, t, r) {
60
+ function B(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function B(e) {
63
+ function S(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
66
  function P(e) {
@@ -72,29 +72,29 @@ function g(e) {
72
72
  function I(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function F() {
75
+ function k() {
76
76
  return I(" ");
77
77
  }
78
- function wr() {
78
+ function _r() {
79
79
  return I("");
80
80
  }
81
- function z(e, t, r, n) {
81
+ function q(e, t, r, n) {
82
82
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
83
83
  }
84
84
  function l(e, t, r) {
85
85
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
86
86
  }
87
- function tn(e) {
87
+ function fn(e) {
88
88
  return Array.from(e.childNodes);
89
89
  }
90
- function U(e, t) {
90
+ function G(e, t) {
91
91
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
92
92
  t);
93
93
  }
94
- function Pe(e, t) {
94
+ function Ce(e, t) {
95
95
  e.value = t ?? "";
96
96
  }
97
- function rn(e) {
97
+ function dn(e) {
98
98
  const t = {};
99
99
  return e.childNodes.forEach(
100
100
  /** @param {Element} node */
@@ -103,125 +103,125 @@ function rn(e) {
103
103
  }
104
104
  ), t;
105
105
  }
106
- let je;
107
- function Ge(e) {
108
- je = e;
106
+ let Ze;
107
+ function Xe(e) {
108
+ Ze = e;
109
109
  }
110
- function nn() {
111
- if (!je)
110
+ function pn() {
111
+ if (!Ze)
112
112
  throw new Error("Function called outside component initialization");
113
- return je;
113
+ return Ze;
114
114
  }
115
- function sn(e) {
116
- nn().$$.on_mount.push(e);
115
+ function mn(e) {
116
+ pn().$$.on_mount.push(e);
117
117
  }
118
- const Te = [], Se = [];
119
- let Ae = [];
120
- const jt = [], an = /* @__PURE__ */ Promise.resolve();
121
- let Et = !1;
122
- function on() {
123
- Et || (Et = !0, an.then(oe));
118
+ const Ae = [], Ie = [];
119
+ let Me = [];
120
+ const Wt = [], gn = /* @__PURE__ */ Promise.resolve();
121
+ let Tt = !1;
122
+ function bn() {
123
+ Tt || (Tt = !0, gn.then(ae));
124
124
  }
125
- function xt(e) {
126
- Ae.push(e);
125
+ function Ct(e) {
126
+ Me.push(e);
127
127
  }
128
- const mt = /* @__PURE__ */ new Set();
129
- let Ee = 0;
130
- function oe() {
131
- if (Ee !== 0)
128
+ const bt = /* @__PURE__ */ new Set();
129
+ let Se = 0;
130
+ function ae() {
131
+ if (Se !== 0)
132
132
  return;
133
- const e = je;
133
+ const e = Ze;
134
134
  do {
135
135
  try {
136
- for (; Ee < Te.length; ) {
137
- const t = Te[Ee];
138
- Ee++, Ge(t), ln(t.$$);
136
+ for (; Se < Ae.length; ) {
137
+ const t = Ae[Se];
138
+ Se++, Xe(t), wn(t.$$);
139
139
  }
140
140
  } catch (t) {
141
- throw Te.length = 0, Ee = 0, t;
141
+ throw Ae.length = 0, Se = 0, t;
142
142
  }
143
- for (Ge(null), Te.length = 0, Ee = 0; Se.length; )
144
- Se.pop()();
145
- for (let t = 0; t < Ae.length; t += 1) {
146
- const r = Ae[t];
147
- mt.has(r) || (mt.add(r), r());
143
+ for (Xe(null), Ae.length = 0, Se = 0; Ie.length; )
144
+ Ie.pop()();
145
+ for (let t = 0; t < Me.length; t += 1) {
146
+ const r = Me[t];
147
+ bt.has(r) || (bt.add(r), r());
148
148
  }
149
- Ae.length = 0;
150
- } while (Te.length);
151
- for (; jt.length; )
152
- jt.pop()();
153
- Et = !1, mt.clear(), Ge(e);
149
+ Me.length = 0;
150
+ } while (Ae.length);
151
+ for (; Wt.length; )
152
+ Wt.pop()();
153
+ Tt = !1, bt.clear(), Xe(e);
154
154
  }
155
- function ln(e) {
155
+ function wn(e) {
156
156
  if (e.fragment !== null) {
157
- e.update(), Oe(e.before_update);
157
+ e.update(), ke(e.before_update);
158
158
  const t = e.dirty;
159
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xt);
159
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ct);
160
160
  }
161
161
  }
162
- function un(e) {
162
+ function vn(e) {
163
163
  const t = [], r = [];
164
- Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
164
+ Me.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Me = t;
165
165
  }
166
- const hn = /* @__PURE__ */ new Set();
167
- function cn(e, t) {
168
- e && e.i && (hn.delete(e), e.i(t));
166
+ const yn = /* @__PURE__ */ new Set();
167
+ function _n(e, t) {
168
+ e && e.i && (yn.delete(e), e.i(t));
169
169
  }
170
- function fn(e, t, r) {
170
+ function Pn(e, t, r) {
171
171
  const { fragment: n, after_update: s } = e.$$;
172
- n && n.m(t, r), xt(() => {
173
- const i = e.$$.on_mount.map(mr).filter(Be);
174
- e.$$.on_destroy ? e.$$.on_destroy.push(...i) : Oe(i), e.$$.on_mount = [];
175
- }), s.forEach(xt);
172
+ n && n.m(t, r), Ct(() => {
173
+ const i = e.$$.on_mount.map(wr).filter($t);
174
+ e.$$.on_destroy ? e.$$.on_destroy.push(...i) : ke(i), e.$$.on_mount = [];
175
+ }), s.forEach(Ct);
176
176
  }
177
- function dn(e, t) {
177
+ function xn(e, t) {
178
178
  const r = e.$$;
179
- r.fragment !== null && (un(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
179
+ r.fragment !== null && (vn(r.after_update), ke(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
180
180
  }
181
- function pn(e, t) {
182
- e.$$.dirty[0] === -1 && (Te.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
181
+ function En(e, t) {
182
+ e.$$.dirty[0] === -1 && (Ae.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
183
183
  }
184
- function mn(e, t, r, n, s, i, a = null, o = [-1]) {
185
- const u = je;
186
- Ge(e);
187
- const h = e.$$ = {
184
+ function Tn(e, t, r, n, s, i, o = null, a = [-1]) {
185
+ const h = Ze;
186
+ Xe(e);
187
+ const u = e.$$ = {
188
188
  fragment: null,
189
189
  ctx: [],
190
190
  // state
191
191
  props: i,
192
- update: ne,
192
+ update: le,
193
193
  not_equal: s,
194
- bound: Gt(),
194
+ bound: zt(),
195
195
  // lifecycle
196
196
  on_mount: [],
197
197
  on_destroy: [],
198
198
  on_disconnect: [],
199
199
  before_update: [],
200
200
  after_update: [],
201
- context: new Map(t.context || (u ? u.$$.context : [])),
201
+ context: new Map(t.context || (h ? h.$$.context : [])),
202
202
  // everything else
203
- callbacks: Gt(),
204
- dirty: o,
203
+ callbacks: zt(),
204
+ dirty: a,
205
205
  skip_bound: !1,
206
- root: t.target || u.$$.root
206
+ root: t.target || h.$$.root
207
207
  };
208
- a && a(h.root);
208
+ o && o(u.root);
209
209
  let c = !1;
210
- if (h.ctx = r ? r(e, t.props || {}, (d, p, ...m) => {
211
- const v = m.length ? m[0] : p;
212
- return h.ctx && s(h.ctx[d], h.ctx[d] = v) && (!h.skip_bound && h.bound[d] && h.bound[d](v), c && pn(e, d)), p;
213
- }) : [], h.update(), c = !0, Oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
210
+ if (u.ctx = r ? r(e, t.props || {}, (d, p, ...m) => {
211
+ const y = m.length ? m[0] : p;
212
+ return u.ctx && s(u.ctx[d], u.ctx[d] = y) && (!u.skip_bound && u.bound[d] && u.bound[d](y), c && En(e, d)), p;
213
+ }) : [], u.update(), c = !0, ke(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
214
214
  if (t.hydrate) {
215
- const d = tn(t.target);
216
- h.fragment && h.fragment.l(d), d.forEach(B);
215
+ const d = fn(t.target);
216
+ u.fragment && u.fragment.l(d), d.forEach(S);
217
217
  } else
218
- h.fragment && h.fragment.c();
219
- t.intro && cn(e.$$.fragment), fn(e, t.target, t.anchor), oe();
218
+ u.fragment && u.fragment.c();
219
+ t.intro && _n(e.$$.fragment), Pn(e, t.target, t.anchor), ae();
220
220
  }
221
- Ge(u);
221
+ Xe(h);
222
222
  }
223
- let vr;
224
- typeof HTMLElement == "function" && (vr = class extends HTMLElement {
223
+ let Pr;
224
+ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
225
225
  /** The Svelte component constructor */
226
226
  $$ctor;
227
227
  /** Slots */
@@ -269,23 +269,23 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
269
269
  * @param {HTMLElement} target
270
270
  * @param {HTMLElement} [anchor]
271
271
  */
272
- m: function(u, h) {
273
- H(u, i, h);
272
+ m: function(h, u) {
273
+ B(h, i, u);
274
274
  },
275
- d: function(u) {
276
- u && B(i);
275
+ d: function(h) {
276
+ h && S(i);
277
277
  }
278
278
  };
279
279
  };
280
280
  };
281
281
  if (await Promise.resolve(), !this.$$cn || this.$$c)
282
282
  return;
283
- const t = {}, r = rn(this);
283
+ const t = {}, r = dn(this);
284
284
  for (const s of this.$$s)
285
285
  s in r && (t[s] = [e(s)]);
286
286
  for (const s of this.attributes) {
287
287
  const i = this.$$g_p(s.name);
288
- i in this.$$d || (this.$$d[i] = rt(i, s.value, this.$$p_d, "toProp"));
288
+ i in this.$$d || (this.$$d[i] = st(i, s.value, this.$$p_d, "toProp"));
289
289
  }
290
290
  for (const s in this.$$p_d)
291
291
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -303,7 +303,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
303
303
  this.$$r = !0;
304
304
  for (const s in this.$$p_d)
305
305
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
306
- const i = rt(
306
+ const i = st(
307
307
  s,
308
308
  this.$$d[s],
309
309
  this.$$p_d,
@@ -316,8 +316,8 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
316
316
  this.$$c.$$.after_update.push(n), n();
317
317
  for (const s in this.$$l)
318
318
  for (const i of this.$$l[s]) {
319
- const a = this.$$c.$on(s, i);
320
- this.$$l_u.set(i, a);
319
+ const o = this.$$c.$on(s, i);
320
+ this.$$l_u.set(i, o);
321
321
  }
322
322
  this.$$l = {};
323
323
  }
@@ -325,7 +325,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
325
325
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
326
326
  // and setting attributes through setAttribute etc, this is helpful
327
327
  attributeChangedCallback(e, t, r) {
328
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = rt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
328
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = st(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
329
329
  }
330
330
  disconnectedCallback() {
331
331
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
338
338
  ) || e;
339
339
  }
340
340
  });
341
- function rt(e, t, r, n) {
341
+ function st(e, t, r, n) {
342
342
  const s = r[e]?.type;
343
343
  if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
344
344
  return t;
@@ -367,36 +367,36 @@ function rt(e, t, r, n) {
367
367
  return t;
368
368
  }
369
369
  }
370
- function gn(e, t, r, n, s, i) {
371
- let a = class extends vr {
370
+ function Cn(e, t, r, n, s, i) {
371
+ let o = class extends Pr {
372
372
  constructor() {
373
373
  super(e, r, s), this.$$p_d = t;
374
374
  }
375
375
  static get observedAttributes() {
376
376
  return Object.keys(t).map(
377
- (o) => (t[o].attribute || o).toLowerCase()
377
+ (a) => (t[a].attribute || a).toLowerCase()
378
378
  );
379
379
  }
380
380
  };
381
- return Object.keys(t).forEach((o) => {
382
- Object.defineProperty(a.prototype, o, {
381
+ return Object.keys(t).forEach((a) => {
382
+ Object.defineProperty(o.prototype, a, {
383
383
  get() {
384
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
384
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
385
385
  },
386
- set(u) {
387
- u = rt(o, u, t), this.$$d[o] = u, this.$$c?.$set({ [o]: u });
386
+ set(h) {
387
+ h = st(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
388
388
  }
389
389
  });
390
- }), n.forEach((o) => {
391
- Object.defineProperty(a.prototype, o, {
390
+ }), n.forEach((a) => {
391
+ Object.defineProperty(o.prototype, a, {
392
392
  get() {
393
- return this.$$c?.[o];
393
+ return this.$$c?.[a];
394
394
  }
395
395
  });
396
396
  }), e.element = /** @type {any} */
397
- a, a;
397
+ o, o;
398
398
  }
399
- class bn {
399
+ class Sn {
400
400
  /**
401
401
  * ### PRIVATE API
402
402
  *
@@ -415,7 +415,7 @@ class bn {
415
415
  $$set = void 0;
416
416
  /** @returns {void} */
417
417
  $destroy() {
418
- dn(this, 1), this.$destroy = ne;
418
+ xn(this, 1), this.$destroy = le;
419
419
  }
420
420
  /**
421
421
  * @template {Extract<keyof Events, string>} K
@@ -424,8 +424,8 @@ class bn {
424
424
  * @returns {() => void}
425
425
  */
426
426
  $on(t, r) {
427
- if (!Be(r))
428
- return ne;
427
+ if (!$t(r))
428
+ return le;
429
429
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
430
430
  return n.push(r), () => {
431
431
  const s = n.indexOf(r);
@@ -437,11 +437,11 @@ class bn {
437
437
  * @returns {void}
438
438
  */
439
439
  $set(t) {
440
- this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
440
+ this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
441
441
  }
442
442
  }
443
- const wn = "4";
444
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
443
+ const Bn = "4";
444
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
445
445
  /*! *****************************************************************************
446
446
  Copyright (c) Microsoft Corporation.
447
447
 
@@ -456,24 +456,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
456
456
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
457
457
  PERFORMANCE OF THIS SOFTWARE.
458
458
  ***************************************************************************** */
459
- var Tt = function(e, t) {
460
- return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
459
+ var St = function(e, t) {
460
+ return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
461
461
  r.__proto__ = n;
462
462
  } || function(r, n) {
463
463
  for (var s in n)
464
464
  Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
465
- }, Tt(e, t);
465
+ }, St(e, t);
466
466
  };
467
- function We(e, t) {
467
+ function qe(e, t) {
468
468
  if (typeof t != "function" && t !== null)
469
469
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
470
- Tt(e, t);
470
+ St(e, t);
471
471
  function r() {
472
472
  this.constructor = e;
473
473
  }
474
474
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
475
475
  }
476
- function Ct(e) {
476
+ function Bt(e) {
477
477
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
478
478
  if (r)
479
479
  return r.call(e);
@@ -485,42 +485,42 @@ function Ct(e) {
485
485
  };
486
486
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
487
487
  }
488
- function St(e, t) {
488
+ function At(e, t) {
489
489
  var r = typeof Symbol == "function" && e[Symbol.iterator];
490
490
  if (!r)
491
491
  return e;
492
- var n = r.call(e), s, i = [], a;
492
+ var n = r.call(e), s, i = [], o;
493
493
  try {
494
494
  for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
495
495
  i.push(s.value);
496
- } catch (o) {
497
- a = { error: o };
496
+ } catch (a) {
497
+ o = { error: a };
498
498
  } finally {
499
499
  try {
500
500
  s && !s.done && (r = n.return) && r.call(n);
501
501
  } finally {
502
- if (a)
503
- throw a.error;
502
+ if (o)
503
+ throw o.error;
504
504
  }
505
505
  }
506
506
  return i;
507
507
  }
508
- function Bt(e, t, r) {
508
+ function Ht(e, t, r) {
509
509
  if (arguments.length === 2)
510
510
  for (var n = 0, s = t.length, i; n < s; n++)
511
511
  (i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
512
512
  return e.concat(i || t);
513
513
  }
514
- function le(e) {
514
+ function me(e) {
515
515
  return typeof e == "function";
516
516
  }
517
- function yr(e) {
517
+ function xr(e) {
518
518
  var t = function(n) {
519
519
  Error.call(n), n.stack = new Error().stack;
520
520
  }, r = e(t);
521
521
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
522
522
  }
523
- var gt = yr(function(e) {
523
+ var wt = xr(function(e) {
524
524
  return function(r) {
525
525
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
526
526
  ` + r.map(function(n, s) {
@@ -529,13 +529,13 @@ var gt = yr(function(e) {
529
529
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
530
530
  };
531
531
  });
532
- function At(e, t) {
532
+ function It(e, t) {
533
533
  if (e) {
534
534
  var r = e.indexOf(t);
535
535
  0 <= r && e.splice(r, 1);
536
536
  }
537
537
  }
538
- var ut = function() {
538
+ var ct = function() {
539
539
  function e(t) {
540
540
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
541
541
  }
@@ -543,47 +543,47 @@ var ut = function() {
543
543
  var t, r, n, s, i;
544
544
  if (!this.closed) {
545
545
  this.closed = !0;
546
- var a = this._parentage;
547
- if (a)
548
- if (this._parentage = null, Array.isArray(a))
546
+ var o = this._parentage;
547
+ if (o)
548
+ if (this._parentage = null, Array.isArray(o))
549
549
  try {
550
- for (var o = Ct(a), u = o.next(); !u.done; u = o.next()) {
551
- var h = u.value;
552
- h.remove(this);
550
+ for (var a = Bt(o), h = a.next(); !h.done; h = a.next()) {
551
+ var u = h.value;
552
+ u.remove(this);
553
553
  }
554
- } catch (b) {
555
- t = { error: b };
554
+ } catch (w) {
555
+ t = { error: w };
556
556
  } finally {
557
557
  try {
558
- u && !u.done && (r = o.return) && r.call(o);
558
+ h && !h.done && (r = a.return) && r.call(a);
559
559
  } finally {
560
560
  if (t)
561
561
  throw t.error;
562
562
  }
563
563
  }
564
564
  else
565
- a.remove(this);
565
+ o.remove(this);
566
566
  var c = this.initialTeardown;
567
- if (le(c))
567
+ if (me(c))
568
568
  try {
569
569
  c();
570
- } catch (b) {
571
- i = b instanceof gt ? b.errors : [b];
570
+ } catch (w) {
571
+ i = w instanceof wt ? w.errors : [w];
572
572
  }
573
573
  var d = this._finalizers;
574
574
  if (d) {
575
575
  this._finalizers = null;
576
576
  try {
577
- for (var p = Ct(d), m = p.next(); !m.done; m = p.next()) {
578
- var v = m.value;
577
+ for (var p = Bt(d), m = p.next(); !m.done; m = p.next()) {
578
+ var y = m.value;
579
579
  try {
580
- Vt(v);
581
- } catch (b) {
582
- i = i ?? [], b instanceof gt ? i = Bt(Bt([], St(i)), St(b.errors)) : i.push(b);
580
+ Xt(y);
581
+ } catch (w) {
582
+ i = i ?? [], w instanceof wt ? i = Ht(Ht([], At(i)), At(w.errors)) : i.push(w);
583
583
  }
584
584
  }
585
- } catch (b) {
586
- n = { error: b };
585
+ } catch (w) {
586
+ n = { error: w };
587
587
  } finally {
588
588
  try {
589
589
  m && !m.done && (s = p.return) && s.call(p);
@@ -594,13 +594,13 @@ var ut = function() {
594
594
  }
595
595
  }
596
596
  if (i)
597
- throw new gt(i);
597
+ throw new wt(i);
598
598
  }
599
599
  }, e.prototype.add = function(t) {
600
600
  var r;
601
601
  if (t && t !== this)
602
602
  if (this.closed)
603
- Vt(t);
603
+ Xt(t);
604
604
  else {
605
605
  if (t instanceof e) {
606
606
  if (t.closed || t._hasParent(this))
@@ -617,52 +617,52 @@ var ut = function() {
617
617
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
618
618
  }, e.prototype._removeParent = function(t) {
619
619
  var r = this._parentage;
620
- r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
620
+ r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
621
621
  }, e.prototype.remove = function(t) {
622
622
  var r = this._finalizers;
623
- r && At(r, t), t instanceof e && t._removeParent(this);
623
+ r && It(r, t), t instanceof e && t._removeParent(this);
624
624
  }, e.EMPTY = function() {
625
625
  var t = new e();
626
626
  return t.closed = !0, t;
627
627
  }(), e;
628
- }(), _r = ut.EMPTY;
629
- function Pr(e) {
630
- return e instanceof ut || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
628
+ }(), Er = ct.EMPTY;
629
+ function Tr(e) {
630
+ return e instanceof ct || e && "closed" in e && me(e.remove) && me(e.add) && me(e.unsubscribe);
631
631
  }
632
- function Vt(e) {
633
- le(e) ? e() : e.unsubscribe();
632
+ function Xt(e) {
633
+ me(e) ? e() : e.unsubscribe();
634
634
  }
635
- var vn = {
635
+ var An = {
636
636
  Promise: void 0
637
- }, yn = {
637
+ }, Hn = {
638
638
  setTimeout: function(e, t) {
639
639
  for (var r = [], n = 2; n < arguments.length; n++)
640
640
  r[n - 2] = arguments[n];
641
- return setTimeout.apply(void 0, Bt([e, t], St(r)));
641
+ return setTimeout.apply(void 0, Ht([e, t], At(r)));
642
642
  },
643
643
  clearTimeout: function(e) {
644
644
  return clearTimeout(e);
645
645
  },
646
646
  delegate: void 0
647
647
  };
648
- function _n(e) {
649
- yn.setTimeout(function() {
648
+ function In(e) {
649
+ Hn.setTimeout(function() {
650
650
  throw e;
651
651
  });
652
652
  }
653
- function zt() {
653
+ function Zt() {
654
654
  }
655
- function nt(e) {
655
+ function it(e) {
656
656
  e();
657
657
  }
658
- var Er = function(e) {
659
- We(t, e);
658
+ var Cr = function(e) {
659
+ qe(t, e);
660
660
  function t(r) {
661
661
  var n = e.call(this) || this;
662
- return n.isStopped = !1, r ? (n.destination = r, Pr(r) && r.add(n)) : n.destination = xn, n;
662
+ return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = On, n;
663
663
  }
664
664
  return t.create = function(r, n, s) {
665
- return new Ht(r, n, s);
665
+ return new Mt(r, n, s);
666
666
  }, t.prototype.next = function(r) {
667
667
  this.isStopped || this._next(r);
668
668
  }, t.prototype.error = function(r) {
@@ -686,7 +686,7 @@ var Er = function(e) {
686
686
  this.unsubscribe();
687
687
  }
688
688
  }, t;
689
- }(ut), Pn = function() {
689
+ }(ct), Mn = function() {
690
690
  function e(t) {
691
691
  this.partialObserver = t;
692
692
  }
@@ -696,7 +696,7 @@ var Er = function(e) {
696
696
  try {
697
697
  r.next(t);
698
698
  } catch (n) {
699
- et(n);
699
+ rt(n);
700
700
  }
701
701
  }, e.prototype.error = function(t) {
702
702
  var r = this.partialObserver;
@@ -704,56 +704,56 @@ var Er = function(e) {
704
704
  try {
705
705
  r.error(t);
706
706
  } catch (n) {
707
- et(n);
707
+ rt(n);
708
708
  }
709
709
  else
710
- et(t);
710
+ rt(t);
711
711
  }, e.prototype.complete = function() {
712
712
  var t = this.partialObserver;
713
713
  if (t.complete)
714
714
  try {
715
715
  t.complete();
716
716
  } catch (r) {
717
- et(r);
717
+ rt(r);
718
718
  }
719
719
  }, e;
720
- }(), Ht = function(e) {
721
- We(t, e);
720
+ }(), Mt = function(e) {
721
+ qe(t, e);
722
722
  function t(r, n, s) {
723
- var i = e.call(this) || this, a;
724
- return le(r) || !r ? a = {
723
+ var i = e.call(this) || this, o;
724
+ return me(r) || !r ? o = {
725
725
  next: r ?? void 0,
726
726
  error: n ?? void 0,
727
727
  complete: s ?? void 0
728
- } : a = r, i.destination = new Pn(a), i;
728
+ } : o = r, i.destination = new Mn(o), i;
729
729
  }
730
730
  return t;
731
- }(Er);
732
- function et(e) {
733
- _n(e);
731
+ }(Cr);
732
+ function rt(e) {
733
+ In(e);
734
734
  }
735
- function En(e) {
735
+ function Nn(e) {
736
736
  throw e;
737
737
  }
738
- var xn = {
738
+ var On = {
739
739
  closed: !0,
740
- next: zt,
741
- error: En,
742
- complete: zt
743
- }, Tn = function() {
740
+ next: Zt,
741
+ error: Nn,
742
+ complete: Zt
743
+ }, Rn = function() {
744
744
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
745
745
  }();
746
- function Cn(e) {
746
+ function Ln(e) {
747
747
  return e;
748
748
  }
749
- function Sn(e) {
750
- return e.length === 0 ? Cn : e.length === 1 ? e[0] : function(r) {
749
+ function kn(e) {
750
+ return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
751
751
  return e.reduce(function(n, s) {
752
752
  return s(n);
753
753
  }, r);
754
754
  };
755
755
  }
756
- var Wt = function() {
756
+ var Yt = function() {
757
757
  function e(t) {
758
758
  t && (this._subscribe = t);
759
759
  }
@@ -761,10 +761,10 @@ var Wt = function() {
761
761
  var r = new e();
762
762
  return r.source = this, r.operator = t, r;
763
763
  }, e.prototype.subscribe = function(t, r, n) {
764
- var s = this, i = An(t) ? t : new Ht(t, r, n);
765
- return nt(function() {
766
- var a = s, o = a.operator, u = a.source;
767
- i.add(o ? o.call(i, u) : u ? s._subscribe(i) : s._trySubscribe(i));
764
+ var s = this, i = Un(t) ? t : new Mt(t, r, n);
765
+ return it(function() {
766
+ var o = s, a = o.operator, h = o.source;
767
+ i.add(a ? a.call(i, h) : h ? s._subscribe(i) : s._trySubscribe(i));
768
768
  }), i;
769
769
  }, e.prototype._trySubscribe = function(t) {
770
770
  try {
@@ -774,37 +774,37 @@ var Wt = function() {
774
774
  }
775
775
  }, e.prototype.forEach = function(t, r) {
776
776
  var n = this;
777
- return r = Xt(r), new r(function(s, i) {
778
- var a = new Ht({
779
- next: function(o) {
777
+ return r = Qt(r), new r(function(s, i) {
778
+ var o = new Mt({
779
+ next: function(a) {
780
780
  try {
781
- t(o);
782
- } catch (u) {
783
- i(u), a.unsubscribe();
781
+ t(a);
782
+ } catch (h) {
783
+ i(h), o.unsubscribe();
784
784
  }
785
785
  },
786
786
  error: i,
787
787
  complete: s
788
788
  });
789
- n.subscribe(a);
789
+ n.subscribe(o);
790
790
  });
791
791
  }, e.prototype._subscribe = function(t) {
792
792
  var r;
793
793
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
794
- }, e.prototype[Tn] = function() {
794
+ }, e.prototype[Rn] = function() {
795
795
  return this;
796
796
  }, e.prototype.pipe = function() {
797
797
  for (var t = [], r = 0; r < arguments.length; r++)
798
798
  t[r] = arguments[r];
799
- return Sn(t)(this);
799
+ return kn(t)(this);
800
800
  }, e.prototype.toPromise = function(t) {
801
801
  var r = this;
802
- return t = Xt(t), new t(function(n, s) {
802
+ return t = Qt(t), new t(function(n, s) {
803
803
  var i;
804
- r.subscribe(function(a) {
805
- return i = a;
806
- }, function(a) {
807
- return s(a);
804
+ r.subscribe(function(o) {
805
+ return i = o;
806
+ }, function(o) {
807
+ return s(o);
808
808
  }, function() {
809
809
  return n(i);
810
810
  });
@@ -813,48 +813,48 @@ var Wt = function() {
813
813
  return new e(t);
814
814
  }, e;
815
815
  }();
816
- function Xt(e) {
816
+ function Qt(e) {
817
817
  var t;
818
- return (t = e ?? vn.Promise) !== null && t !== void 0 ? t : Promise;
818
+ return (t = e ?? An.Promise) !== null && t !== void 0 ? t : Promise;
819
819
  }
820
- function Bn(e) {
821
- return e && le(e.next) && le(e.error) && le(e.complete);
820
+ function Fn(e) {
821
+ return e && me(e.next) && me(e.error) && me(e.complete);
822
822
  }
823
- function An(e) {
824
- return e && e instanceof Er || Bn(e) && Pr(e);
823
+ function Un(e) {
824
+ return e && e instanceof Cr || Fn(e) && Tr(e);
825
825
  }
826
- var Hn = yr(function(e) {
826
+ var Dn = xr(function(e) {
827
827
  return function() {
828
828
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
829
829
  };
830
- }), xr = function(e) {
831
- We(t, e);
830
+ }), Sr = function(e) {
831
+ qe(t, e);
832
832
  function t() {
833
833
  var r = e.call(this) || this;
834
834
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
835
835
  }
836
836
  return t.prototype.lift = function(r) {
837
- var n = new Zt(this, this);
837
+ var n = new qt(this, this);
838
838
  return n.operator = r, n;
839
839
  }, t.prototype._throwIfClosed = function() {
840
840
  if (this.closed)
841
- throw new Hn();
841
+ throw new Dn();
842
842
  }, t.prototype.next = function(r) {
843
843
  var n = this;
844
- nt(function() {
844
+ it(function() {
845
845
  var s, i;
846
846
  if (n._throwIfClosed(), !n.isStopped) {
847
847
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
848
848
  try {
849
- for (var a = Ct(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
850
- var u = o.value;
851
- u.next(r);
849
+ for (var o = Bt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
850
+ var h = a.value;
851
+ h.next(r);
852
852
  }
853
- } catch (h) {
854
- s = { error: h };
853
+ } catch (u) {
854
+ s = { error: u };
855
855
  } finally {
856
856
  try {
857
- o && !o.done && (i = a.return) && i.call(a);
857
+ a && !a.done && (i = o.return) && i.call(o);
858
858
  } finally {
859
859
  if (s)
860
860
  throw s.error;
@@ -864,7 +864,7 @@ var Hn = yr(function(e) {
864
864
  });
865
865
  }, t.prototype.error = function(r) {
866
866
  var n = this;
867
- nt(function() {
867
+ it(function() {
868
868
  if (n._throwIfClosed(), !n.isStopped) {
869
869
  n.hasError = n.isStopped = !0, n.thrownError = r;
870
870
  for (var s = n.observers; s.length; )
@@ -873,7 +873,7 @@ var Hn = yr(function(e) {
873
873
  });
874
874
  }, t.prototype.complete = function() {
875
875
  var r = this;
876
- nt(function() {
876
+ it(function() {
877
877
  if (r._throwIfClosed(), !r.isStopped) {
878
878
  r.isStopped = !0;
879
879
  for (var n = r.observers; n.length; )
@@ -894,21 +894,21 @@ var Hn = yr(function(e) {
894
894
  }, t.prototype._subscribe = function(r) {
895
895
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
896
896
  }, t.prototype._innerSubscribe = function(r) {
897
- var n = this, s = this, i = s.hasError, a = s.isStopped, o = s.observers;
898
- return i || a ? _r : (this.currentObservers = null, o.push(r), new ut(function() {
899
- n.currentObservers = null, At(o, r);
897
+ var n = this, s = this, i = s.hasError, o = s.isStopped, a = s.observers;
898
+ return i || o ? Er : (this.currentObservers = null, a.push(r), new ct(function() {
899
+ n.currentObservers = null, It(a, r);
900
900
  }));
901
901
  }, t.prototype._checkFinalizedStatuses = function(r) {
902
- var n = this, s = n.hasError, i = n.thrownError, a = n.isStopped;
903
- s ? r.error(i) : a && r.complete();
902
+ var n = this, s = n.hasError, i = n.thrownError, o = n.isStopped;
903
+ s ? r.error(i) : o && r.complete();
904
904
  }, t.prototype.asObservable = function() {
905
- var r = new Wt();
905
+ var r = new Yt();
906
906
  return r.source = this, r;
907
907
  }, t.create = function(r, n) {
908
- return new Zt(r, n);
908
+ return new qt(r, n);
909
909
  }, t;
910
- }(Wt), Zt = function(e) {
911
- We(t, e);
910
+ }(Yt), qt = function(e) {
911
+ qe(t, e);
912
912
  function t(r, n) {
913
913
  var s = e.call(this) || this;
914
914
  return s.destination = r, s.source = n, s;
@@ -924,208 +924,208 @@ var Hn = yr(function(e) {
924
924
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
925
925
  }, t.prototype._subscribe = function(r) {
926
926
  var n, s;
927
- return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : _r;
927
+ return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : Er;
928
928
  }, t;
929
- }(xr), Tr = {
929
+ }(Sr), Br = {
930
930
  now: function() {
931
- return (Tr.delegate || Date).now();
931
+ return (Br.delegate || Date).now();
932
932
  },
933
933
  delegate: void 0
934
- }, In = function(e) {
935
- We(t, e);
934
+ }, Gn = function(e) {
935
+ qe(t, e);
936
936
  function t(r, n, s) {
937
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Tr);
937
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Br);
938
938
  var i = e.call(this) || this;
939
939
  return i._bufferSize = r, i._windowTime = n, i._timestampProvider = s, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = n === 1 / 0, i._bufferSize = Math.max(1, r), i._windowTime = Math.max(1, n), i;
940
940
  }
941
941
  return t.prototype.next = function(r) {
942
- var n = this, s = n.isStopped, i = n._buffer, a = n._infiniteTimeWindow, o = n._timestampProvider, u = n._windowTime;
943
- s || (i.push(r), !a && i.push(o.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
942
+ var n = this, s = n.isStopped, i = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
943
+ s || (i.push(r), !o && i.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
944
944
  }, t.prototype._subscribe = function(r) {
945
945
  this._throwIfClosed(), this._trimBuffer();
946
- for (var n = this._innerSubscribe(r), s = this, i = s._infiniteTimeWindow, a = s._buffer, o = a.slice(), u = 0; u < o.length && !r.closed; u += i ? 1 : 2)
947
- r.next(o[u]);
946
+ for (var n = this._innerSubscribe(r), s = this, i = s._infiniteTimeWindow, o = s._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += i ? 1 : 2)
947
+ r.next(a[h]);
948
948
  return this._checkFinalizedStatuses(r), n;
949
949
  }, t.prototype._trimBuffer = function() {
950
- var r = this, n = r._bufferSize, s = r._timestampProvider, i = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * n;
951
- if (n < 1 / 0 && o < i.length && i.splice(0, i.length - o), !a) {
952
- for (var u = s.now(), h = 0, c = 1; c < i.length && i[c] <= u; c += 2)
953
- h = c;
954
- h && i.splice(0, h + 1);
950
+ var r = this, n = r._bufferSize, s = r._timestampProvider, i = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
951
+ if (n < 1 / 0 && a < i.length && i.splice(0, i.length - a), !o) {
952
+ for (var h = s.now(), u = 0, c = 1; c < i.length && i[c] <= h; c += 2)
953
+ u = c;
954
+ u && i.splice(0, u + 1);
955
955
  }
956
956
  }, t;
957
- }(xr);
958
- const Yt = [], Qt = {}, Mn = (e, t = 0) => {
959
- if (Yt.indexOf(e) == -1) {
960
- const r = new In(t);
961
- Qt[e] = r, Yt.push(e);
957
+ }(Sr);
958
+ const Jt = [], Kt = {}, $n = (e, t = 0) => {
959
+ if (Jt.indexOf(e) == -1) {
960
+ const r = new Gn(t);
961
+ Kt[e] = r, Jt.push(e);
962
962
  }
963
- return Qt[e];
964
- }, xe = [];
965
- function Nn(e, t) {
963
+ return Kt[e];
964
+ }, Be = [];
965
+ function jn(e, t) {
966
966
  return {
967
- subscribe: ht(e, t).subscribe
967
+ subscribe: ft(e, t).subscribe
968
968
  };
969
969
  }
970
- function ht(e, t = ne) {
970
+ function ft(e, t = le) {
971
971
  let r;
972
972
  const n = /* @__PURE__ */ new Set();
973
- function s(o) {
974
- if (gr(e, o) && (e = o, r)) {
975
- const u = !xe.length;
976
- for (const h of n)
977
- h[1](), xe.push(h, e);
978
- if (u) {
979
- for (let h = 0; h < xe.length; h += 2)
980
- xe[h][0](xe[h + 1]);
981
- xe.length = 0;
973
+ function s(a) {
974
+ if (vr(e, a) && (e = a, r)) {
975
+ const h = !Be.length;
976
+ for (const u of n)
977
+ u[1](), Be.push(u, e);
978
+ if (h) {
979
+ for (let u = 0; u < Be.length; u += 2)
980
+ Be[u][0](Be[u + 1]);
981
+ Be.length = 0;
982
982
  }
983
983
  }
984
984
  }
985
- function i(o) {
986
- s(o(e));
985
+ function i(a) {
986
+ s(a(e));
987
987
  }
988
- function a(o, u = ne) {
989
- const h = [o, u];
990
- return n.add(h), n.size === 1 && (r = t(s, i) || ne), o(e), () => {
991
- n.delete(h), n.size === 0 && r && (r(), r = null);
988
+ function o(a, h = le) {
989
+ const u = [a, h];
990
+ return n.add(u), n.size === 1 && (r = t(s, i) || le), a(e), () => {
991
+ n.delete(u), n.size === 0 && r && (r(), r = null);
992
992
  };
993
993
  }
994
- return { set: s, update: i, subscribe: a };
994
+ return { set: s, update: i, subscribe: o };
995
995
  }
996
- function Re(e, t, r) {
996
+ function Fe(e, t, r) {
997
997
  const n = !Array.isArray(e), s = n ? [e] : e;
998
998
  if (!s.every(Boolean))
999
999
  throw new Error("derived() expects stores as input, got a falsy value");
1000
1000
  const i = t.length < 2;
1001
- return Nn(r, (a, o) => {
1002
- let u = !1;
1003
- const h = [];
1004
- let c = 0, d = ne;
1001
+ return jn(r, (o, a) => {
1002
+ let h = !1;
1003
+ const u = [];
1004
+ let c = 0, d = le;
1005
1005
  const p = () => {
1006
1006
  if (c)
1007
1007
  return;
1008
1008
  d();
1009
- const v = t(n ? h[0] : h, a, o);
1010
- i ? a(v) : d = Be(v) ? v : ne;
1009
+ const y = t(n ? u[0] : u, o, a);
1010
+ i ? o(y) : d = $t(y) ? y : le;
1011
1011
  }, m = s.map(
1012
- (v, b) => br(
1013
- v,
1012
+ (y, w) => yr(
1013
+ y,
1014
1014
  (E) => {
1015
- h[b] = E, c &= ~(1 << b), u && p();
1015
+ u[w] = E, c &= ~(1 << w), h && p();
1016
1016
  },
1017
1017
  () => {
1018
- c |= 1 << b;
1018
+ c |= 1 << w;
1019
1019
  }
1020
1020
  )
1021
1021
  );
1022
- return u = !0, p(), function() {
1023
- Oe(m), d(), u = !1;
1022
+ return h = !0, p(), function() {
1023
+ ke(m), d(), h = !1;
1024
1024
  };
1025
1025
  });
1026
1026
  }
1027
- function On(e) {
1027
+ function Vn(e) {
1028
1028
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1029
1029
  }
1030
- var Rn = function(t) {
1031
- return Ln(t) && !Fn(t);
1030
+ var zn = function(t) {
1031
+ return Wn(t) && !Xn(t);
1032
1032
  };
1033
- function Ln(e) {
1033
+ function Wn(e) {
1034
1034
  return !!e && typeof e == "object";
1035
1035
  }
1036
- function Fn(e) {
1036
+ function Xn(e) {
1037
1037
  var t = Object.prototype.toString.call(e);
1038
- return t === "[object RegExp]" || t === "[object Date]" || Un(e);
1038
+ return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
1039
1039
  }
1040
- var kn = typeof Symbol == "function" && Symbol.for, Dn = kn ? Symbol.for("react.element") : 60103;
1041
- function Un(e) {
1042
- return e.$$typeof === Dn;
1040
+ var Zn = typeof Symbol == "function" && Symbol.for, Yn = Zn ? Symbol.for("react.element") : 60103;
1041
+ function Qn(e) {
1042
+ return e.$$typeof === Yn;
1043
1043
  }
1044
- function $n(e) {
1044
+ function qn(e) {
1045
1045
  return Array.isArray(e) ? [] : {};
1046
1046
  }
1047
- function Ve(e, t) {
1048
- return t.clone !== !1 && t.isMergeableObject(e) ? He($n(e), e, t) : e;
1047
+ function Ye(e, t) {
1048
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ne(qn(e), e, t) : e;
1049
1049
  }
1050
- function Gn(e, t, r) {
1050
+ function Jn(e, t, r) {
1051
1051
  return e.concat(t).map(function(n) {
1052
- return Ve(n, r);
1052
+ return Ye(n, r);
1053
1053
  });
1054
1054
  }
1055
- function jn(e, t) {
1055
+ function Kn(e, t) {
1056
1056
  if (!t.customMerge)
1057
- return He;
1057
+ return Ne;
1058
1058
  var r = t.customMerge(e);
1059
- return typeof r == "function" ? r : He;
1059
+ return typeof r == "function" ? r : Ne;
1060
1060
  }
1061
- function Vn(e) {
1061
+ function es(e) {
1062
1062
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1063
1063
  return Object.propertyIsEnumerable.call(e, t);
1064
1064
  }) : [];
1065
1065
  }
1066
- function Jt(e) {
1067
- return Object.keys(e).concat(Vn(e));
1066
+ function er(e) {
1067
+ return Object.keys(e).concat(es(e));
1068
1068
  }
1069
- function Cr(e, t) {
1069
+ function Ar(e, t) {
1070
1070
  try {
1071
1071
  return t in e;
1072
1072
  } catch {
1073
1073
  return !1;
1074
1074
  }
1075
1075
  }
1076
- function zn(e, t) {
1077
- return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1076
+ function ts(e, t) {
1077
+ return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1078
1078
  }
1079
- function Wn(e, t, r) {
1079
+ function rs(e, t, r) {
1080
1080
  var n = {};
1081
- return r.isMergeableObject(e) && Jt(e).forEach(function(s) {
1082
- n[s] = Ve(e[s], r);
1083
- }), Jt(t).forEach(function(s) {
1084
- zn(e, s) || (Cr(e, s) && r.isMergeableObject(t[s]) ? n[s] = jn(s, r)(e[s], t[s], r) : n[s] = Ve(t[s], r));
1081
+ return r.isMergeableObject(e) && er(e).forEach(function(s) {
1082
+ n[s] = Ye(e[s], r);
1083
+ }), er(t).forEach(function(s) {
1084
+ ts(e, s) || (Ar(e, s) && r.isMergeableObject(t[s]) ? n[s] = Kn(s, r)(e[s], t[s], r) : n[s] = Ye(t[s], r));
1085
1085
  }), n;
1086
1086
  }
1087
- function He(e, t, r) {
1088
- r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = Ve;
1087
+ function Ne(e, t, r) {
1088
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = Ye;
1089
1089
  var n = Array.isArray(t), s = Array.isArray(e), i = n === s;
1090
- return i ? n ? r.arrayMerge(e, t, r) : Wn(e, t, r) : Ve(t, r);
1090
+ return i ? n ? r.arrayMerge(e, t, r) : rs(e, t, r) : Ye(t, r);
1091
1091
  }
1092
- He.all = function(t, r) {
1092
+ Ne.all = function(t, r) {
1093
1093
  if (!Array.isArray(t))
1094
1094
  throw new Error("first argument should be an array");
1095
1095
  return t.reduce(function(n, s) {
1096
- return He(n, s, r);
1096
+ return Ne(n, s, r);
1097
1097
  }, {});
1098
1098
  };
1099
- var Xn = He, Zn = Xn;
1100
- const Yn = /* @__PURE__ */ On(Zn);
1101
- var It = function(e, t) {
1102
- return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1099
+ var ns = Ne, ss = ns;
1100
+ const is = /* @__PURE__ */ Vn(ss);
1101
+ var Nt = function(e, t) {
1102
+ return Nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1103
1103
  r.__proto__ = n;
1104
1104
  } || function(r, n) {
1105
1105
  for (var s in n)
1106
1106
  Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
1107
- }, It(e, t);
1107
+ }, Nt(e, t);
1108
1108
  };
1109
- function ct(e, t) {
1109
+ function dt(e, t) {
1110
1110
  if (typeof t != "function" && t !== null)
1111
1111
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1112
- It(e, t);
1112
+ Nt(e, t);
1113
1113
  function r() {
1114
1114
  this.constructor = e;
1115
1115
  }
1116
1116
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1117
1117
  }
1118
- var se = function() {
1119
- return se = Object.assign || function(t) {
1118
+ var ce = function() {
1119
+ return ce = Object.assign || function(t) {
1120
1120
  for (var r, n = 1, s = arguments.length; n < s; n++) {
1121
1121
  r = arguments[n];
1122
1122
  for (var i in r)
1123
1123
  Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
1124
1124
  }
1125
1125
  return t;
1126
- }, se.apply(this, arguments);
1126
+ }, ce.apply(this, arguments);
1127
1127
  };
1128
- function Qn(e, t) {
1128
+ function os(e, t) {
1129
1129
  var r = {};
1130
1130
  for (var n in e)
1131
1131
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1134,43 +1134,43 @@ function Qn(e, t) {
1134
1134
  t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
1135
1135
  return r;
1136
1136
  }
1137
- function bt(e, t, r) {
1137
+ function vt(e, t, r) {
1138
1138
  if (r || arguments.length === 2)
1139
1139
  for (var n = 0, s = t.length, i; n < s; n++)
1140
1140
  (i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
1141
1141
  return e.concat(i || Array.prototype.slice.call(t));
1142
1142
  }
1143
- function wt(e, t) {
1144
- var r = t && t.cache ? t.cache : ns, n = t && t.serializer ? t.serializer : ts, s = t && t.strategy ? t.strategy : Kn;
1143
+ function yt(e, t) {
1144
+ var r = t && t.cache ? t.cache : ds, n = t && t.serializer ? t.serializer : cs, s = t && t.strategy ? t.strategy : us;
1145
1145
  return s(e, {
1146
1146
  cache: r,
1147
1147
  serializer: n
1148
1148
  });
1149
1149
  }
1150
- function Jn(e) {
1150
+ function as(e) {
1151
1151
  return e == null || typeof e == "number" || typeof e == "boolean";
1152
1152
  }
1153
- function qn(e, t, r, n) {
1154
- var s = Jn(n) ? n : r(n), i = t.get(s);
1153
+ function ls(e, t, r, n) {
1154
+ var s = as(n) ? n : r(n), i = t.get(s);
1155
1155
  return typeof i > "u" && (i = e.call(this, n), t.set(s, i)), i;
1156
1156
  }
1157
- function Sr(e, t, r) {
1157
+ function Hr(e, t, r) {
1158
1158
  var n = Array.prototype.slice.call(arguments, 3), s = r(n), i = t.get(s);
1159
1159
  return typeof i > "u" && (i = e.apply(this, n), t.set(s, i)), i;
1160
1160
  }
1161
- function Br(e, t, r, n, s) {
1161
+ function Ir(e, t, r, n, s) {
1162
1162
  return r.bind(t, e, n, s);
1163
1163
  }
1164
- function Kn(e, t) {
1165
- var r = e.length === 1 ? qn : Sr;
1166
- return Br(e, this, r, t.cache.create(), t.serializer);
1164
+ function us(e, t) {
1165
+ var r = e.length === 1 ? ls : Hr;
1166
+ return Ir(e, this, r, t.cache.create(), t.serializer);
1167
1167
  }
1168
- function es(e, t) {
1169
- return Br(e, this, Sr, t.cache.create(), t.serializer);
1168
+ function hs(e, t) {
1169
+ return Ir(e, this, Hr, t.cache.create(), t.serializer);
1170
1170
  }
1171
- var ts = function() {
1171
+ var cs = function() {
1172
1172
  return JSON.stringify(arguments);
1173
- }, rs = (
1173
+ }, fs = (
1174
1174
  /** @class */
1175
1175
  function() {
1176
1176
  function e() {
@@ -1182,21 +1182,21 @@ var ts = function() {
1182
1182
  this.cache[t] = r;
1183
1183
  }, e;
1184
1184
  }()
1185
- ), ns = {
1185
+ ), ds = {
1186
1186
  create: function() {
1187
- return new rs();
1187
+ return new fs();
1188
1188
  }
1189
- }, vt = {
1190
- variadic: es
1191
- }, at = function() {
1192
- return at = Object.assign || function(t) {
1189
+ }, _t = {
1190
+ variadic: hs
1191
+ }, lt = function() {
1192
+ return lt = Object.assign || function(t) {
1193
1193
  for (var r, n = 1, s = arguments.length; n < s; n++) {
1194
1194
  r = arguments[n];
1195
1195
  for (var i in r)
1196
1196
  Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
1197
1197
  }
1198
1198
  return t;
1199
- }, at.apply(this, arguments);
1199
+ }, lt.apply(this, arguments);
1200
1200
  };
1201
1201
  var T;
1202
1202
  (function(e) {
@@ -1206,47 +1206,47 @@ var N;
1206
1206
  (function(e) {
1207
1207
  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";
1208
1208
  })(N || (N = {}));
1209
- var Ie;
1209
+ var Oe;
1210
1210
  (function(e) {
1211
1211
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1212
- })(Ie || (Ie = {}));
1213
- function qt(e) {
1212
+ })(Oe || (Oe = {}));
1213
+ function tr(e) {
1214
1214
  return e.type === N.literal;
1215
1215
  }
1216
- function ss(e) {
1216
+ function ps(e) {
1217
1217
  return e.type === N.argument;
1218
1218
  }
1219
- function Ar(e) {
1219
+ function Mr(e) {
1220
1220
  return e.type === N.number;
1221
1221
  }
1222
- function Hr(e) {
1222
+ function Nr(e) {
1223
1223
  return e.type === N.date;
1224
1224
  }
1225
- function Ir(e) {
1225
+ function Or(e) {
1226
1226
  return e.type === N.time;
1227
1227
  }
1228
- function Mr(e) {
1228
+ function Rr(e) {
1229
1229
  return e.type === N.select;
1230
1230
  }
1231
- function Nr(e) {
1231
+ function Lr(e) {
1232
1232
  return e.type === N.plural;
1233
1233
  }
1234
- function is(e) {
1234
+ function ms(e) {
1235
1235
  return e.type === N.pound;
1236
1236
  }
1237
- function Or(e) {
1237
+ function kr(e) {
1238
1238
  return e.type === N.tag;
1239
1239
  }
1240
- function Rr(e) {
1241
- return !!(e && typeof e == "object" && e.type === Ie.number);
1240
+ function Fr(e) {
1241
+ return !!(e && typeof e == "object" && e.type === Oe.number);
1242
1242
  }
1243
- function Mt(e) {
1244
- return !!(e && typeof e == "object" && e.type === Ie.dateTime);
1243
+ function Ot(e) {
1244
+ return !!(e && typeof e == "object" && e.type === Oe.dateTime);
1245
1245
  }
1246
- var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, as = /(?:[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;
1247
- function os(e) {
1246
+ var Ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gs = /(?:[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;
1247
+ function bs(e) {
1248
1248
  var t = {};
1249
- return e.replace(as, function(r) {
1249
+ return e.replace(gs, function(r) {
1250
1250
  var n = r.length;
1251
1251
  switch (r[0]) {
1252
1252
  case "G":
@@ -1345,36 +1345,36 @@ var L = function() {
1345
1345
  return t;
1346
1346
  }, L.apply(this, arguments);
1347
1347
  };
1348
- var ls = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1349
- function us(e) {
1348
+ var ws = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1349
+ function vs(e) {
1350
1350
  if (e.length === 0)
1351
1351
  throw new Error("Number skeleton cannot be empty");
1352
- for (var t = e.split(ls).filter(function(p) {
1352
+ for (var t = e.split(ws).filter(function(p) {
1353
1353
  return p.length > 0;
1354
1354
  }), r = [], n = 0, s = t; n < s.length; n++) {
1355
- var i = s[n], a = i.split("/");
1356
- if (a.length === 0)
1355
+ var i = s[n], o = i.split("/");
1356
+ if (o.length === 0)
1357
1357
  throw new Error("Invalid number skeleton");
1358
- for (var o = a[0], u = a.slice(1), h = 0, c = u; h < c.length; h++) {
1359
- var d = c[h];
1358
+ for (var a = o[0], h = o.slice(1), u = 0, c = h; u < c.length; u++) {
1359
+ var d = c[u];
1360
1360
  if (d.length === 0)
1361
1361
  throw new Error("Invalid number skeleton");
1362
1362
  }
1363
- r.push({ stem: o, options: u });
1363
+ r.push({ stem: a, options: h });
1364
1364
  }
1365
1365
  return r;
1366
1366
  }
1367
- function hs(e) {
1367
+ function ys(e) {
1368
1368
  return e.replace(/^(.*?)-/, "");
1369
1369
  }
1370
- var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, cs = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
1371
- function er(e) {
1370
+ var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dr = /^(@+)?(\+|#+)?[rs]?$/g, _s = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1371
+ function nr(e) {
1372
1372
  var t = {};
1373
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, s) {
1373
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dr, function(r, n, s) {
1374
1374
  return typeof s != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : s === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof s == "string" ? s.length : 0)), "";
1375
1375
  }), t;
1376
1376
  }
1377
- function Dr(e) {
1377
+ function $r(e) {
1378
1378
  switch (e) {
1379
1379
  case "sign-auto":
1380
1380
  return {
@@ -1414,7 +1414,7 @@ function Dr(e) {
1414
1414
  };
1415
1415
  }
1416
1416
  }
1417
- function fs(e) {
1417
+ function Ps(e) {
1418
1418
  var t;
1419
1419
  if (e[0] === "E" && e[1] === "E" ? (t = {
1420
1420
  notation: "engineering"
@@ -1422,17 +1422,17 @@ function fs(e) {
1422
1422
  notation: "scientific"
1423
1423
  }, e = e.slice(1)), t) {
1424
1424
  var r = e.slice(0, 2);
1425
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
1425
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1426
1426
  throw new Error("Malformed concise eng/scientific notation");
1427
1427
  t.minimumIntegerDigits = e.length;
1428
1428
  }
1429
1429
  return t;
1430
1430
  }
1431
- function tr(e) {
1432
- var t = {}, r = Dr(e);
1431
+ function sr(e) {
1432
+ var t = {}, r = $r(e);
1433
1433
  return r || t;
1434
1434
  }
1435
- function ds(e) {
1435
+ function xs(e) {
1436
1436
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1437
1437
  var s = n[r];
1438
1438
  switch (s.stem) {
@@ -1456,7 +1456,7 @@ function ds(e) {
1456
1456
  continue;
1457
1457
  case "measure-unit":
1458
1458
  case "unit":
1459
- t.style = "unit", t.unit = hs(s.options[0]);
1459
+ t.style = "unit", t.unit = ys(s.options[0]);
1460
1460
  continue;
1461
1461
  case "compact-short":
1462
1462
  case "K":
@@ -1467,13 +1467,13 @@ function ds(e) {
1467
1467
  t.notation = "compact", t.compactDisplay = "long";
1468
1468
  continue;
1469
1469
  case "scientific":
1470
- t = L(L(L({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
1471
- return L(L({}, u), tr(h));
1470
+ t = L(L(L({}, t), { notation: "scientific" }), s.options.reduce(function(h, u) {
1471
+ return L(L({}, h), sr(u));
1472
1472
  }, {}));
1473
1473
  continue;
1474
1474
  case "engineering":
1475
- t = L(L(L({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
1476
- return L(L({}, u), tr(h));
1475
+ t = L(L(L({}, t), { notation: "engineering" }), s.options.reduce(function(h, u) {
1476
+ return L(L({}, h), sr(u));
1477
1477
  }, {}));
1478
1478
  continue;
1479
1479
  case "notation-simple":
@@ -1518,8 +1518,8 @@ function ds(e) {
1518
1518
  case "integer-width":
1519
1519
  if (s.options.length > 1)
1520
1520
  throw new RangeError("integer-width stems only accept a single optional option");
1521
- s.options[0].replace(cs, function(u, h, c, d, p, m) {
1522
- if (h)
1521
+ s.options[0].replace(_s, function(h, u, c, d, p, m) {
1522
+ if (u)
1523
1523
  t.minimumIntegerDigits = c.length;
1524
1524
  else {
1525
1525
  if (d && p)
@@ -1531,32 +1531,32 @@ function ds(e) {
1531
1531
  });
1532
1532
  continue;
1533
1533
  }
1534
- if (kr.test(s.stem)) {
1534
+ if (Gr.test(s.stem)) {
1535
1535
  t.minimumIntegerDigits = s.stem.length;
1536
1536
  continue;
1537
1537
  }
1538
- if (Kt.test(s.stem)) {
1538
+ if (rr.test(s.stem)) {
1539
1539
  if (s.options.length > 1)
1540
1540
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1541
- s.stem.replace(Kt, function(u, h, c, d, p, m) {
1542
- return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1541
+ s.stem.replace(rr, function(h, u, c, d, p, m) {
1542
+ return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1543
1543
  });
1544
1544
  var i = s.options[0];
1545
- i === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = L(L({}, t), er(i)));
1545
+ i === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = L(L({}, t), nr(i)));
1546
1546
  continue;
1547
1547
  }
1548
- if (Fr.test(s.stem)) {
1549
- t = L(L({}, t), er(s.stem));
1548
+ if (Dr.test(s.stem)) {
1549
+ t = L(L({}, t), nr(s.stem));
1550
1550
  continue;
1551
1551
  }
1552
- var a = Dr(s.stem);
1553
- a && (t = L(L({}, t), a));
1554
- var o = fs(s.stem);
1552
+ var o = $r(s.stem);
1555
1553
  o && (t = L(L({}, t), o));
1554
+ var a = Ps(s.stem);
1555
+ a && (t = L(L({}, t), a));
1556
1556
  }
1557
1557
  return t;
1558
1558
  }
1559
- var tt = {
1559
+ var nt = {
1560
1560
  "001": [
1561
1561
  "H",
1562
1562
  "h"
@@ -2971,23 +2971,23 @@ var tt = {
2971
2971
  "h"
2972
2972
  ]
2973
2973
  };
2974
- function ps(e, t) {
2974
+ function Es(e, t) {
2975
2975
  for (var r = "", n = 0; n < e.length; n++) {
2976
2976
  var s = e.charAt(n);
2977
2977
  if (s === "j") {
2978
2978
  for (var i = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
2979
2979
  i++, n++;
2980
- var a = 1 + (i & 1), o = i < 2 ? 1 : 3 + (i >> 1), u = "a", h = ms(t);
2981
- for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
2982
- r += u;
2983
- for (; a-- > 0; )
2984
- r = h + r;
2980
+ var o = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), h = "a", u = Ts(t);
2981
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2982
+ r += h;
2983
+ for (; o-- > 0; )
2984
+ r = u + r;
2985
2985
  } else
2986
2986
  s === "J" ? r += "H" : r += s;
2987
2987
  }
2988
2988
  return r;
2989
2989
  }
2990
- function ms(e) {
2990
+ function Ts(e) {
2991
2991
  var t = e.hourCycle;
2992
2992
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2993
2993
  e.hourCycles && // @ts-ignore
@@ -3006,23 +3006,23 @@ function ms(e) {
3006
3006
  }
3007
3007
  var r = e.language, n;
3008
3008
  r !== "root" && (n = e.maximize().region);
3009
- var s = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
3009
+ var s = nt[n || ""] || nt[r || ""] || nt["".concat(r, "-001")] || nt["001"];
3010
3010
  return s[0];
3011
3011
  }
3012
- var yt, gs = new RegExp("^".concat(Lr.source, "*")), bs = new RegExp("".concat(Lr.source, "*$"));
3012
+ var Pt, Cs = new RegExp("^".concat(Ur.source, "*")), Ss = new RegExp("".concat(Ur.source, "*$"));
3013
3013
  function C(e, t) {
3014
3014
  return { start: e, end: t };
3015
3015
  }
3016
- var ws = !!String.prototype.startsWith && "_a".startsWith("a", 1), vs = !!String.fromCodePoint, ys = !!Object.fromEntries, _s = !!String.prototype.codePointAt, Ps = !!String.prototype.trimStart, Es = !!String.prototype.trimEnd, xs = !!Number.isSafeInteger, Ts = xs ? Number.isSafeInteger : function(e) {
3016
+ var Bs = !!String.prototype.startsWith && "_a".startsWith("a", 1), As = !!String.fromCodePoint, Hs = !!Object.fromEntries, Is = !!String.prototype.codePointAt, Ms = !!String.prototype.trimStart, Ns = !!String.prototype.trimEnd, Os = !!Number.isSafeInteger, Rs = Os ? Number.isSafeInteger : function(e) {
3017
3017
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3018
- }, Nt = !0;
3018
+ }, Rt = !0;
3019
3019
  try {
3020
- var Cs = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3021
- Nt = ((yt = Cs.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
3020
+ var Ls = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3021
+ Rt = ((Pt = Ls.exec("a")) === null || Pt === void 0 ? void 0 : Pt[0]) === "a";
3022
3022
  } catch {
3023
- Nt = !1;
3023
+ Rt = !1;
3024
3024
  }
3025
- var rr = ws ? (
3025
+ var ir = Bs ? (
3026
3026
  // Native
3027
3027
  function(t, r, n) {
3028
3028
  return t.startsWith(r, n);
@@ -3032,31 +3032,31 @@ var rr = ws ? (
3032
3032
  function(t, r, n) {
3033
3033
  return t.slice(n, n + r.length) === r;
3034
3034
  }
3035
- ), Ot = vs ? String.fromCodePoint : (
3035
+ ), Lt = As ? String.fromCodePoint : (
3036
3036
  // IE11
3037
3037
  function() {
3038
3038
  for (var t = [], r = 0; r < arguments.length; r++)
3039
3039
  t[r] = arguments[r];
3040
- for (var n = "", s = t.length, i = 0, a; s > i; ) {
3041
- if (a = t[i++], a > 1114111)
3042
- throw RangeError(a + " is not a valid code point");
3043
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3040
+ for (var n = "", s = t.length, i = 0, o; s > i; ) {
3041
+ if (o = t[i++], o > 1114111)
3042
+ throw RangeError(o + " is not a valid code point");
3043
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3044
3044
  }
3045
3045
  return n;
3046
3046
  }
3047
- ), nr = (
3047
+ ), or = (
3048
3048
  // native
3049
- ys ? Object.fromEntries : (
3049
+ Hs ? Object.fromEntries : (
3050
3050
  // Ponyfill
3051
3051
  function(t) {
3052
3052
  for (var r = {}, n = 0, s = t; n < s.length; n++) {
3053
- var i = s[n], a = i[0], o = i[1];
3054
- r[a] = o;
3053
+ var i = s[n], o = i[0], a = i[1];
3054
+ r[o] = a;
3055
3055
  }
3056
3056
  return r;
3057
3057
  }
3058
3058
  )
3059
- ), Ur = _s ? (
3059
+ ), jr = Is ? (
3060
3060
  // Native
3061
3061
  function(t, r) {
3062
3062
  return t.codePointAt(r);
@@ -3070,7 +3070,7 @@ var rr = ws ? (
3070
3070
  return s < 55296 || s > 56319 || r + 1 === n || (i = t.charCodeAt(r + 1)) < 56320 || i > 57343 ? s : (s - 55296 << 10) + (i - 56320) + 65536;
3071
3071
  }
3072
3072
  }
3073
- ), Ss = Ps ? (
3073
+ ), ks = Ms ? (
3074
3074
  // Native
3075
3075
  function(t) {
3076
3076
  return t.trimStart();
@@ -3078,9 +3078,9 @@ var rr = ws ? (
3078
3078
  ) : (
3079
3079
  // Ponyfill
3080
3080
  function(t) {
3081
- return t.replace(gs, "");
3081
+ return t.replace(Cs, "");
3082
3082
  }
3083
- ), Bs = Es ? (
3083
+ ), Fs = Ns ? (
3084
3084
  // Native
3085
3085
  function(t) {
3086
3086
  return t.trimEnd();
@@ -3088,32 +3088,32 @@ var rr = ws ? (
3088
3088
  ) : (
3089
3089
  // Ponyfill
3090
3090
  function(t) {
3091
- return t.replace(bs, "");
3091
+ return t.replace(Ss, "");
3092
3092
  }
3093
3093
  );
3094
- function $r(e, t) {
3094
+ function Vr(e, t) {
3095
3095
  return new RegExp(e, t);
3096
3096
  }
3097
- var Rt;
3098
- if (Nt) {
3099
- var sr = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3100
- Rt = function(t, r) {
3097
+ var kt;
3098
+ if (Rt) {
3099
+ var ar = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3100
+ kt = function(t, r) {
3101
3101
  var n;
3102
- sr.lastIndex = r;
3103
- var s = sr.exec(t);
3102
+ ar.lastIndex = r;
3103
+ var s = ar.exec(t);
3104
3104
  return (n = s[1]) !== null && n !== void 0 ? n : "";
3105
3105
  };
3106
3106
  } else
3107
- Rt = function(t, r) {
3107
+ kt = function(t, r) {
3108
3108
  for (var n = []; ; ) {
3109
- var s = Ur(t, r);
3110
- if (s === void 0 || Gr(s) || Ms(s))
3109
+ var s = jr(t, r);
3110
+ if (s === void 0 || zr(s) || $s(s))
3111
3111
  break;
3112
3112
  n.push(s), r += s >= 65536 ? 2 : 1;
3113
3113
  }
3114
- return Ot.apply(void 0, n);
3114
+ return Lt.apply(void 0, n);
3115
3115
  };
3116
- var As = (
3116
+ var Us = (
3117
3117
  /** @class */
3118
3118
  function() {
3119
3119
  function e(t, r) {
@@ -3127,33 +3127,33 @@ var As = (
3127
3127
  for (var s = []; !this.isEOF(); ) {
3128
3128
  var i = this.char();
3129
3129
  if (i === 123) {
3130
- var a = this.parseArgument(t, n);
3131
- if (a.err)
3132
- return a;
3133
- s.push(a.val);
3130
+ var o = this.parseArgument(t, n);
3131
+ if (o.err)
3132
+ return o;
3133
+ s.push(o.val);
3134
3134
  } else {
3135
3135
  if (i === 125 && t > 0)
3136
3136
  break;
3137
3137
  if (i === 35 && (r === "plural" || r === "selectordinal")) {
3138
- var o = this.clonePosition();
3138
+ var a = this.clonePosition();
3139
3139
  this.bump(), s.push({
3140
3140
  type: N.pound,
3141
- location: C(o, this.clonePosition())
3141
+ location: C(a, this.clonePosition())
3142
3142
  });
3143
3143
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
3144
3144
  if (n)
3145
3145
  break;
3146
3146
  return this.error(T.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
3147
- } else if (i === 60 && !this.ignoreTag && Lt(this.peek() || 0)) {
3148
- var a = this.parseTag(t, r);
3149
- if (a.err)
3150
- return a;
3151
- s.push(a.val);
3147
+ } else if (i === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
3148
+ var o = this.parseTag(t, r);
3149
+ if (o.err)
3150
+ return o;
3151
+ s.push(o.val);
3152
3152
  } else {
3153
- var a = this.parseLiteral(t, r);
3154
- if (a.err)
3155
- return a;
3156
- s.push(a.val);
3153
+ var o = this.parseLiteral(t, r);
3154
+ if (o.err)
3155
+ return o;
3156
+ s.push(o.val);
3157
3157
  }
3158
3158
  }
3159
3159
  }
@@ -3175,27 +3175,27 @@ var As = (
3175
3175
  var i = this.parseMessage(t + 1, r, !0);
3176
3176
  if (i.err)
3177
3177
  return i;
3178
- var a = i.val, o = this.clonePosition();
3178
+ var o = i.val, a = this.clonePosition();
3179
3179
  if (this.bumpIf("</")) {
3180
- if (this.isEOF() || !Lt(this.char()))
3181
- return this.error(T.INVALID_TAG, C(o, this.clonePosition()));
3182
- var u = this.clonePosition(), h = this.parseTagName();
3183
- return s !== h ? this.error(T.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3180
+ if (this.isEOF() || !Ft(this.char()))
3181
+ return this.error(T.INVALID_TAG, C(a, this.clonePosition()));
3182
+ var h = this.clonePosition(), u = this.parseTagName();
3183
+ return s !== u ? this.error(T.UNMATCHED_CLOSING_TAG, C(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3184
3184
  val: {
3185
3185
  type: N.tag,
3186
3186
  value: s,
3187
- children: a,
3187
+ children: o,
3188
3188
  location: C(n, this.clonePosition())
3189
3189
  },
3190
3190
  err: null
3191
- } : this.error(T.INVALID_TAG, C(o, this.clonePosition())));
3191
+ } : this.error(T.INVALID_TAG, C(a, this.clonePosition())));
3192
3192
  } else
3193
3193
  return this.error(T.UNCLOSED_TAG, C(n, this.clonePosition()));
3194
3194
  } else
3195
3195
  return this.error(T.INVALID_TAG, C(n, this.clonePosition()));
3196
3196
  }, e.prototype.parseTagName = function() {
3197
3197
  var t = this.offset();
3198
- for (this.bump(); !this.isEOF() && Is(this.char()); )
3198
+ for (this.bump(); !this.isEOF() && Gs(this.char()); )
3199
3199
  this.bump();
3200
3200
  return this.message.slice(t, this.offset());
3201
3201
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3205,26 +3205,26 @@ var As = (
3205
3205
  s += i;
3206
3206
  continue;
3207
3207
  }
3208
- var a = this.tryParseUnquoted(t, r);
3209
- if (a) {
3210
- s += a;
3211
- continue;
3212
- }
3213
- var o = this.tryParseLeftAngleBracket();
3208
+ var o = this.tryParseUnquoted(t, r);
3214
3209
  if (o) {
3215
3210
  s += o;
3216
3211
  continue;
3217
3212
  }
3213
+ var a = this.tryParseLeftAngleBracket();
3214
+ if (a) {
3215
+ s += a;
3216
+ continue;
3217
+ }
3218
3218
  break;
3219
3219
  }
3220
- var u = C(n, this.clonePosition());
3220
+ var h = C(n, this.clonePosition());
3221
3221
  return {
3222
- val: { type: N.literal, value: s, location: u },
3222
+ val: { type: N.literal, value: s, location: h },
3223
3223
  err: null
3224
3224
  };
3225
3225
  }, e.prototype.tryParseLeftAngleBracket = function() {
3226
3226
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3227
- !Hs(this.peek() || 0)) ? (this.bump(), "<") : null;
3227
+ !Ds(this.peek() || 0)) ? (this.bump(), "<") : null;
3228
3228
  }, e.prototype.tryParseQuote = function(t) {
3229
3229
  if (this.isEOF() || this.char() !== 39)
3230
3230
  return null;
@@ -3258,12 +3258,12 @@ var As = (
3258
3258
  r.push(n);
3259
3259
  this.bump();
3260
3260
  }
3261
- return Ot.apply(void 0, r);
3261
+ return Lt.apply(void 0, r);
3262
3262
  }, e.prototype.tryParseUnquoted = function(t, r) {
3263
3263
  if (this.isEOF())
3264
3264
  return null;
3265
3265
  var n = this.char();
3266
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
3266
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
3267
3267
  }, e.prototype.parseArgument = function(t, r) {
3268
3268
  var n = this.clonePosition();
3269
3269
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3292,66 +3292,66 @@ var As = (
3292
3292
  return this.error(T.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
3293
3293
  }
3294
3294
  }, e.prototype.parseIdentifierIfPossible = function() {
3295
- var t = this.clonePosition(), r = this.offset(), n = Rt(this.message, r), s = r + n.length;
3295
+ var t = this.clonePosition(), r = this.offset(), n = kt(this.message, r), s = r + n.length;
3296
3296
  this.bumpTo(s);
3297
- var i = this.clonePosition(), a = C(t, i);
3298
- return { value: n, location: a };
3297
+ var i = this.clonePosition(), o = C(t, i);
3298
+ return { value: n, location: o };
3299
3299
  }, e.prototype.parseArgumentOptions = function(t, r, n, s) {
3300
- var i, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3301
- switch (o) {
3300
+ var i, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3301
+ switch (a) {
3302
3302
  case "":
3303
- return this.error(T.EXPECT_ARGUMENT_TYPE, C(a, u));
3303
+ return this.error(T.EXPECT_ARGUMENT_TYPE, C(o, h));
3304
3304
  case "number":
3305
3305
  case "date":
3306
3306
  case "time": {
3307
3307
  this.bumpSpace();
3308
- var h = null;
3308
+ var u = null;
3309
3309
  if (this.bumpIf(",")) {
3310
3310
  this.bumpSpace();
3311
3311
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3312
3312
  if (d.err)
3313
3313
  return d;
3314
- var p = Bs(d.val);
3314
+ var p = Fs(d.val);
3315
3315
  if (p.length === 0)
3316
3316
  return this.error(T.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
3317
3317
  var m = C(c, this.clonePosition());
3318
- h = { style: p, styleLocation: m };
3318
+ u = { style: p, styleLocation: m };
3319
3319
  }
3320
- var v = this.tryParseArgumentClose(s);
3321
- if (v.err)
3322
- return v;
3323
- var b = C(s, this.clonePosition());
3324
- if (h && rr(h?.style, "::", 0)) {
3325
- var E = Ss(h.style.slice(2));
3326
- if (o === "number") {
3327
- var d = this.parseNumberSkeletonFromString(E, h.styleLocation);
3320
+ var y = this.tryParseArgumentClose(s);
3321
+ if (y.err)
3322
+ return y;
3323
+ var w = C(s, this.clonePosition());
3324
+ if (u && ir(u?.style, "::", 0)) {
3325
+ var E = ks(u.style.slice(2));
3326
+ if (a === "number") {
3327
+ var d = this.parseNumberSkeletonFromString(E, u.styleLocation);
3328
3328
  return d.err ? d : {
3329
- val: { type: N.number, value: n, location: b, style: d.val },
3329
+ val: { type: N.number, value: n, location: w, style: d.val },
3330
3330
  err: null
3331
3331
  };
3332
3332
  } else {
3333
3333
  if (E.length === 0)
3334
- return this.error(T.EXPECT_DATE_TIME_SKELETON, b);
3335
- var y = E;
3336
- this.locale && (y = ps(E, this.locale));
3334
+ return this.error(T.EXPECT_DATE_TIME_SKELETON, w);
3335
+ var _ = E;
3336
+ this.locale && (_ = Es(E, this.locale));
3337
3337
  var p = {
3338
- type: Ie.dateTime,
3339
- pattern: y,
3340
- location: h.styleLocation,
3341
- parsedOptions: this.shouldParseSkeletons ? os(y) : {}
3342
- }, A = o === "date" ? N.date : N.time;
3338
+ type: Oe.dateTime,
3339
+ pattern: _,
3340
+ location: u.styleLocation,
3341
+ parsedOptions: this.shouldParseSkeletons ? bs(_) : {}
3342
+ }, A = a === "date" ? N.date : N.time;
3343
3343
  return {
3344
- val: { type: A, value: n, location: b, style: p },
3344
+ val: { type: A, value: n, location: w, style: p },
3345
3345
  err: null
3346
3346
  };
3347
3347
  }
3348
3348
  }
3349
3349
  return {
3350
3350
  val: {
3351
- type: o === "number" ? N.number : o === "date" ? N.date : N.time,
3351
+ type: a === "number" ? N.number : a === "date" ? N.date : N.time,
3352
3352
  value: n,
3353
- location: b,
3354
- style: (i = h?.style) !== null && i !== void 0 ? i : null
3353
+ location: w,
3354
+ style: (i = u?.style) !== null && i !== void 0 ? i : null
3355
3355
  },
3356
3356
  err: null
3357
3357
  };
@@ -3361,47 +3361,47 @@ var As = (
3361
3361
  case "select": {
3362
3362
  var O = this.clonePosition();
3363
3363
  if (this.bumpSpace(), !this.bumpIf(","))
3364
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O, at({}, O)));
3364
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O, lt({}, O)));
3365
3365
  this.bumpSpace();
3366
- var k = this.parseIdentifierIfPossible(), D = 0;
3367
- if (o !== "select" && k.value === "offset") {
3366
+ var U = this.parseIdentifierIfPossible(), F = 0;
3367
+ if (a !== "select" && U.value === "offset") {
3368
3368
  if (!this.bumpIf(":"))
3369
3369
  return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
3370
3370
  this.bumpSpace();
3371
3371
  var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3372
3372
  if (d.err)
3373
3373
  return d;
3374
- this.bumpSpace(), k = this.parseIdentifierIfPossible(), D = d.val;
3374
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), F = d.val;
3375
3375
  }
3376
- var M = this.tryParsePluralOrSelectOptions(t, o, r, k);
3376
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, U);
3377
3377
  if (M.err)
3378
3378
  return M;
3379
- var v = this.tryParseArgumentClose(s);
3380
- if (v.err)
3381
- return v;
3382
- var X = C(s, this.clonePosition());
3383
- return o === "select" ? {
3379
+ var y = this.tryParseArgumentClose(s);
3380
+ if (y.err)
3381
+ return y;
3382
+ var j = C(s, this.clonePosition());
3383
+ return a === "select" ? {
3384
3384
  val: {
3385
3385
  type: N.select,
3386
3386
  value: n,
3387
- options: nr(M.val),
3388
- location: X
3387
+ options: or(M.val),
3388
+ location: j
3389
3389
  },
3390
3390
  err: null
3391
3391
  } : {
3392
3392
  val: {
3393
3393
  type: N.plural,
3394
3394
  value: n,
3395
- options: nr(M.val),
3396
- offset: D,
3397
- pluralType: o === "plural" ? "cardinal" : "ordinal",
3398
- location: X
3395
+ options: or(M.val),
3396
+ offset: F,
3397
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3398
+ location: j
3399
3399
  },
3400
3400
  err: null
3401
3401
  };
3402
3402
  }
3403
3403
  default:
3404
- return this.error(T.INVALID_ARGUMENT_TYPE, C(a, u));
3404
+ return this.error(T.INVALID_ARGUMENT_TYPE, C(o, h));
3405
3405
  }
3406
3406
  }, e.prototype.tryParseArgumentClose = function(t) {
3407
3407
  return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, C(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3443,64 +3443,64 @@ var As = (
3443
3443
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3444
3444
  var n = [];
3445
3445
  try {
3446
- n = us(t);
3446
+ n = vs(t);
3447
3447
  } catch {
3448
3448
  return this.error(T.INVALID_NUMBER_SKELETON, r);
3449
3449
  }
3450
3450
  return {
3451
3451
  val: {
3452
- type: Ie.number,
3452
+ type: Oe.number,
3453
3453
  tokens: n,
3454
3454
  location: r,
3455
- parsedOptions: this.shouldParseSkeletons ? ds(n) : {}
3455
+ parsedOptions: this.shouldParseSkeletons ? xs(n) : {}
3456
3456
  },
3457
3457
  err: null
3458
3458
  };
3459
3459
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
3460
- for (var i, a = !1, o = [], u = /* @__PURE__ */ new Set(), h = s.value, c = s.location; ; ) {
3461
- if (h.length === 0) {
3460
+ for (var i, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = s.value, c = s.location; ; ) {
3461
+ if (u.length === 0) {
3462
3462
  var d = this.clonePosition();
3463
3463
  if (r !== "select" && this.bumpIf("=")) {
3464
3464
  var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
3465
3465
  if (p.err)
3466
3466
  return p;
3467
- c = C(d, this.clonePosition()), h = this.message.slice(d.offset, this.offset());
3467
+ c = C(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3468
3468
  } else
3469
3469
  break;
3470
3470
  }
3471
- if (u.has(h))
3471
+ if (h.has(u))
3472
3472
  return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3473
- h === "other" && (a = !0), this.bumpSpace();
3473
+ u === "other" && (o = !0), this.bumpSpace();
3474
3474
  var m = this.clonePosition();
3475
3475
  if (!this.bumpIf("{"))
3476
3476
  return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, C(this.clonePosition(), this.clonePosition()));
3477
- var v = this.parseMessage(t + 1, r, n);
3478
- if (v.err)
3479
- return v;
3480
- var b = this.tryParseArgumentClose(m);
3481
- if (b.err)
3482
- return b;
3483
- o.push([
3484
- h,
3477
+ var y = this.parseMessage(t + 1, r, n);
3478
+ if (y.err)
3479
+ return y;
3480
+ var w = this.tryParseArgumentClose(m);
3481
+ if (w.err)
3482
+ return w;
3483
+ a.push([
3484
+ u,
3485
3485
  {
3486
- value: v.val,
3486
+ value: y.val,
3487
3487
  location: C(m, this.clonePosition())
3488
3488
  }
3489
- ]), u.add(h), this.bumpSpace(), i = this.parseIdentifierIfPossible(), h = i.value, c = i.location;
3489
+ ]), h.add(u), this.bumpSpace(), i = this.parseIdentifierIfPossible(), u = i.value, c = i.location;
3490
3490
  }
3491
- return o.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(T.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3491
+ return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(T.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3492
3492
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3493
3493
  var n = 1, s = this.clonePosition();
3494
3494
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3495
- for (var i = !1, a = 0; !this.isEOF(); ) {
3496
- var o = this.char();
3497
- if (o >= 48 && o <= 57)
3498
- i = !0, a = a * 10 + (o - 48), this.bump();
3495
+ for (var i = !1, o = 0; !this.isEOF(); ) {
3496
+ var a = this.char();
3497
+ if (a >= 48 && a <= 57)
3498
+ i = !0, o = o * 10 + (a - 48), this.bump();
3499
3499
  else
3500
3500
  break;
3501
3501
  }
3502
- var u = C(s, this.clonePosition());
3503
- return i ? (a *= n, Ts(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3502
+ var h = C(s, this.clonePosition());
3503
+ return i ? (o *= n, Rs(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3504
3504
  }, e.prototype.offset = function() {
3505
3505
  return this.position.offset;
3506
3506
  }, e.prototype.isEOF = function() {
@@ -3515,7 +3515,7 @@ var As = (
3515
3515
  var t = this.position.offset;
3516
3516
  if (t >= this.message.length)
3517
3517
  throw Error("out of bound");
3518
- var r = Ur(this.message, t);
3518
+ var r = jr(this.message, t);
3519
3519
  if (r === void 0)
3520
3520
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3521
3521
  return r;
@@ -3534,7 +3534,7 @@ var As = (
3534
3534
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3535
3535
  }
3536
3536
  }, e.prototype.bumpIf = function(t) {
3537
- if (rr(this.message, t, this.offset())) {
3537
+ if (ir(this.message, t, this.offset())) {
3538
3538
  for (var r = 0; r < t.length; r++)
3539
3539
  this.bump();
3540
3540
  return !0;
@@ -3556,7 +3556,7 @@ var As = (
3556
3556
  break;
3557
3557
  }
3558
3558
  }, e.prototype.bumpSpace = function() {
3559
- for (; !this.isEOF() && Gr(this.char()); )
3559
+ for (; !this.isEOF() && zr(this.char()); )
3560
3560
  this.bump();
3561
3561
  }, e.prototype.peek = function() {
3562
3562
  if (this.isEOF())
@@ -3566,47 +3566,47 @@ var As = (
3566
3566
  }, e;
3567
3567
  }()
3568
3568
  );
3569
- function Lt(e) {
3569
+ function Ft(e) {
3570
3570
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3571
3571
  }
3572
- function Hs(e) {
3573
- return Lt(e) || e === 47;
3572
+ function Ds(e) {
3573
+ return Ft(e) || e === 47;
3574
3574
  }
3575
- function Is(e) {
3575
+ function Gs(e) {
3576
3576
  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;
3577
3577
  }
3578
- function Gr(e) {
3578
+ function zr(e) {
3579
3579
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3580
3580
  }
3581
- function Ms(e) {
3581
+ function $s(e) {
3582
3582
  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;
3583
3583
  }
3584
- function Ft(e) {
3584
+ function Ut(e) {
3585
3585
  e.forEach(function(t) {
3586
- if (delete t.location, Mr(t) || Nr(t))
3586
+ if (delete t.location, Rr(t) || Lr(t))
3587
3587
  for (var r in t.options)
3588
- delete t.options[r].location, Ft(t.options[r].value);
3588
+ delete t.options[r].location, Ut(t.options[r].value);
3589
3589
  else
3590
- Ar(t) && Rr(t.style) || (Hr(t) || Ir(t)) && Mt(t.style) ? delete t.style.location : Or(t) && Ft(t.children);
3590
+ Mr(t) && Fr(t.style) || (Nr(t) || Or(t)) && Ot(t.style) ? delete t.style.location : kr(t) && Ut(t.children);
3591
3591
  });
3592
3592
  }
3593
- function Ns(e, t) {
3594
- t === void 0 && (t = {}), t = at({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3595
- var r = new As(e, t).parse();
3593
+ function js(e, t) {
3594
+ t === void 0 && (t = {}), t = lt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3595
+ var r = new Us(e, t).parse();
3596
3596
  if (r.err) {
3597
3597
  var n = SyntaxError(T[r.err.kind]);
3598
3598
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3599
3599
  }
3600
- return t?.captureLocation || Ft(r.val), r.val;
3600
+ return t?.captureLocation || Ut(r.val), r.val;
3601
3601
  }
3602
- var Me;
3602
+ var Re;
3603
3603
  (function(e) {
3604
3604
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3605
- })(Me || (Me = {}));
3606
- var ft = (
3605
+ })(Re || (Re = {}));
3606
+ var pt = (
3607
3607
  /** @class */
3608
3608
  function(e) {
3609
- ct(t, e);
3609
+ dt(t, e);
3610
3610
  function t(r, n, s) {
3611
3611
  var i = e.call(this, r) || this;
3612
3612
  return i.code = n, i.originalMessage = s, i;
@@ -3615,155 +3615,155 @@ var ft = (
3615
3615
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3616
3616
  }, t;
3617
3617
  }(Error)
3618
- ), ir = (
3618
+ ), lr = (
3619
3619
  /** @class */
3620
3620
  function(e) {
3621
- ct(t, e);
3621
+ dt(t, e);
3622
3622
  function t(r, n, s, i) {
3623
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Me.INVALID_VALUE, i) || this;
3623
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Re.INVALID_VALUE, i) || this;
3624
3624
  }
3625
3625
  return t;
3626
- }(ft)
3627
- ), Os = (
3626
+ }(pt)
3627
+ ), Vs = (
3628
3628
  /** @class */
3629
3629
  function(e) {
3630
- ct(t, e);
3630
+ dt(t, e);
3631
3631
  function t(r, n, s) {
3632
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, s) || this;
3632
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Re.INVALID_VALUE, s) || this;
3633
3633
  }
3634
3634
  return t;
3635
- }(ft)
3636
- ), Rs = (
3635
+ }(pt)
3636
+ ), zs = (
3637
3637
  /** @class */
3638
3638
  function(e) {
3639
- ct(t, e);
3639
+ dt(t, e);
3640
3640
  function t(r, n) {
3641
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Me.MISSING_VALUE, n) || this;
3641
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Re.MISSING_VALUE, n) || this;
3642
3642
  }
3643
3643
  return t;
3644
- }(ft)
3645
- ), W;
3644
+ }(pt)
3645
+ ), J;
3646
3646
  (function(e) {
3647
3647
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3648
- })(W || (W = {}));
3649
- function Ls(e) {
3648
+ })(J || (J = {}));
3649
+ function Ws(e) {
3650
3650
  return e.length < 2 ? e : e.reduce(function(t, r) {
3651
3651
  var n = t[t.length - 1];
3652
- return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
3652
+ return !n || n.type !== J.literal || r.type !== J.literal ? t.push(r) : n.value += r.value, t;
3653
3653
  }, []);
3654
3654
  }
3655
- function Fs(e) {
3655
+ function Xs(e) {
3656
3656
  return typeof e == "function";
3657
3657
  }
3658
- function st(e, t, r, n, s, i, a) {
3659
- if (e.length === 1 && qt(e[0]))
3658
+ function ot(e, t, r, n, s, i, o) {
3659
+ if (e.length === 1 && tr(e[0]))
3660
3660
  return [
3661
3661
  {
3662
- type: W.literal,
3662
+ type: J.literal,
3663
3663
  value: e[0].value
3664
3664
  }
3665
3665
  ];
3666
- for (var o = [], u = 0, h = e; u < h.length; u++) {
3667
- var c = h[u];
3668
- if (qt(c)) {
3669
- o.push({
3670
- type: W.literal,
3666
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3667
+ var c = u[h];
3668
+ if (tr(c)) {
3669
+ a.push({
3670
+ type: J.literal,
3671
3671
  value: c.value
3672
3672
  });
3673
3673
  continue;
3674
3674
  }
3675
- if (is(c)) {
3676
- typeof i == "number" && o.push({
3677
- type: W.literal,
3675
+ if (ms(c)) {
3676
+ typeof i == "number" && a.push({
3677
+ type: J.literal,
3678
3678
  value: r.getNumberFormat(t).format(i)
3679
3679
  });
3680
3680
  continue;
3681
3681
  }
3682
3682
  var d = c.value;
3683
3683
  if (!(s && d in s))
3684
- throw new Rs(d, a);
3684
+ throw new zs(d, o);
3685
3685
  var p = s[d];
3686
- if (ss(c)) {
3687
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), o.push({
3688
- type: typeof p == "string" ? W.literal : W.object,
3686
+ if (ps(c)) {
3687
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3688
+ type: typeof p == "string" ? J.literal : J.object,
3689
3689
  value: p
3690
3690
  });
3691
3691
  continue;
3692
3692
  }
3693
- if (Hr(c)) {
3694
- var m = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
3695
- o.push({
3696
- type: W.literal,
3693
+ if (Nr(c)) {
3694
+ var m = typeof c.style == "string" ? n.date[c.style] : Ot(c.style) ? c.style.parsedOptions : void 0;
3695
+ a.push({
3696
+ type: J.literal,
3697
3697
  value: r.getDateTimeFormat(t, m).format(p)
3698
3698
  });
3699
3699
  continue;
3700
3700
  }
3701
- if (Ir(c)) {
3702
- var m = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
3703
- o.push({
3704
- type: W.literal,
3701
+ if (Or(c)) {
3702
+ var m = typeof c.style == "string" ? n.time[c.style] : Ot(c.style) ? c.style.parsedOptions : n.time.medium;
3703
+ a.push({
3704
+ type: J.literal,
3705
3705
  value: r.getDateTimeFormat(t, m).format(p)
3706
3706
  });
3707
3707
  continue;
3708
3708
  }
3709
- if (Ar(c)) {
3710
- var m = typeof c.style == "string" ? n.number[c.style] : Rr(c.style) ? c.style.parsedOptions : void 0;
3711
- m && m.scale && (p = p * (m.scale || 1)), o.push({
3712
- type: W.literal,
3709
+ if (Mr(c)) {
3710
+ var m = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
3711
+ m && m.scale && (p = p * (m.scale || 1)), a.push({
3712
+ type: J.literal,
3713
3713
  value: r.getNumberFormat(t, m).format(p)
3714
3714
  });
3715
3715
  continue;
3716
3716
  }
3717
- if (Or(c)) {
3718
- var v = c.children, b = c.value, E = s[b];
3719
- if (!Fs(E))
3720
- throw new Os(b, "function", a);
3721
- var y = st(v, t, r, n, s, i), A = E(y.map(function(D) {
3722
- return D.value;
3717
+ if (kr(c)) {
3718
+ var y = c.children, w = c.value, E = s[w];
3719
+ if (!Xs(E))
3720
+ throw new Vs(w, "function", o);
3721
+ var _ = ot(y, t, r, n, s, i), A = E(_.map(function(F) {
3722
+ return F.value;
3723
3723
  }));
3724
- Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(D) {
3724
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(F) {
3725
3725
  return {
3726
- type: typeof D == "string" ? W.literal : W.object,
3727
- value: D
3726
+ type: typeof F == "string" ? J.literal : J.object,
3727
+ value: F
3728
3728
  };
3729
3729
  }));
3730
3730
  }
3731
- if (Mr(c)) {
3731
+ if (Rr(c)) {
3732
3732
  var O = c.options[p] || c.options.other;
3733
3733
  if (!O)
3734
- throw new ir(c.value, p, Object.keys(c.options), a);
3735
- o.push.apply(o, st(O.value, t, r, n, s));
3734
+ throw new lr(c.value, p, Object.keys(c.options), o);
3735
+ a.push.apply(a, ot(O.value, t, r, n, s));
3736
3736
  continue;
3737
3737
  }
3738
- if (Nr(c)) {
3738
+ if (Lr(c)) {
3739
3739
  var O = c.options["=".concat(p)];
3740
3740
  if (!O) {
3741
3741
  if (!Intl.PluralRules)
3742
- throw new ft(`Intl.PluralRules is not available in this environment.
3742
+ throw new pt(`Intl.PluralRules is not available in this environment.
3743
3743
  Try polyfilling it using "@formatjs/intl-pluralrules"
3744
- `, Me.MISSING_INTL_API, a);
3745
- var k = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3746
- O = c.options[k] || c.options.other;
3744
+ `, Re.MISSING_INTL_API, o);
3745
+ var U = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3746
+ O = c.options[U] || c.options.other;
3747
3747
  }
3748
3748
  if (!O)
3749
- throw new ir(c.value, p, Object.keys(c.options), a);
3750
- o.push.apply(o, st(O.value, t, r, n, s, p - (c.offset || 0)));
3749
+ throw new lr(c.value, p, Object.keys(c.options), o);
3750
+ a.push.apply(a, ot(O.value, t, r, n, s, p - (c.offset || 0)));
3751
3751
  continue;
3752
3752
  }
3753
3753
  }
3754
- return Ls(o);
3754
+ return Ws(a);
3755
3755
  }
3756
- function ks(e, t) {
3757
- return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3758
- return r[n] = se(se({}, e[n]), t[n] || {}), r;
3756
+ function Zs(e, t) {
3757
+ return t ? ce(ce(ce({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3758
+ return r[n] = ce(ce({}, e[n]), t[n] || {}), r;
3759
3759
  }, {})) : e;
3760
3760
  }
3761
- function Ds(e, t) {
3761
+ function Ys(e, t) {
3762
3762
  return t ? Object.keys(e).reduce(function(r, n) {
3763
- return r[n] = ks(e[n], t[n]), r;
3764
- }, se({}, e)) : e;
3763
+ return r[n] = Zs(e[n], t[n]), r;
3764
+ }, ce({}, e)) : e;
3765
3765
  }
3766
- function _t(e) {
3766
+ function xt(e) {
3767
3767
  return {
3768
3768
  create: function() {
3769
3769
  return {
@@ -3777,39 +3777,39 @@ function _t(e) {
3777
3777
  }
3778
3778
  };
3779
3779
  }
3780
- function Us(e) {
3780
+ function Qs(e) {
3781
3781
  return e === void 0 && (e = {
3782
3782
  number: {},
3783
3783
  dateTime: {},
3784
3784
  pluralRules: {}
3785
3785
  }), {
3786
- getNumberFormat: wt(function() {
3786
+ getNumberFormat: yt(function() {
3787
3787
  for (var t, r = [], n = 0; n < arguments.length; n++)
3788
3788
  r[n] = arguments[n];
3789
- return new ((t = Intl.NumberFormat).bind.apply(t, bt([void 0], r, !1)))();
3789
+ return new ((t = Intl.NumberFormat).bind.apply(t, vt([void 0], r, !1)))();
3790
3790
  }, {
3791
- cache: _t(e.number),
3792
- strategy: vt.variadic
3791
+ cache: xt(e.number),
3792
+ strategy: _t.variadic
3793
3793
  }),
3794
- getDateTimeFormat: wt(function() {
3794
+ getDateTimeFormat: yt(function() {
3795
3795
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3796
  r[n] = arguments[n];
3797
- return new ((t = Intl.DateTimeFormat).bind.apply(t, bt([void 0], r, !1)))();
3797
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, vt([void 0], r, !1)))();
3798
3798
  }, {
3799
- cache: _t(e.dateTime),
3800
- strategy: vt.variadic
3799
+ cache: xt(e.dateTime),
3800
+ strategy: _t.variadic
3801
3801
  }),
3802
- getPluralRules: wt(function() {
3802
+ getPluralRules: yt(function() {
3803
3803
  for (var t, r = [], n = 0; n < arguments.length; n++)
3804
3804
  r[n] = arguments[n];
3805
- return new ((t = Intl.PluralRules).bind.apply(t, bt([void 0], r, !1)))();
3805
+ return new ((t = Intl.PluralRules).bind.apply(t, vt([void 0], r, !1)))();
3806
3806
  }, {
3807
- cache: _t(e.pluralRules),
3808
- strategy: vt.variadic
3807
+ cache: xt(e.pluralRules),
3808
+ strategy: _t.variadic
3809
3809
  })
3810
3810
  };
3811
3811
  }
3812
- var $s = (
3812
+ var qs = (
3813
3813
  /** @class */
3814
3814
  function() {
3815
3815
  function e(t, r, n, s) {
@@ -3819,35 +3819,35 @@ var $s = (
3819
3819
  number: {},
3820
3820
  dateTime: {},
3821
3821
  pluralRules: {}
3822
- }, this.format = function(u) {
3823
- var h = i.formatToParts(u);
3824
- if (h.length === 1)
3825
- return h[0].value;
3826
- var c = h.reduce(function(d, p) {
3827
- return !d.length || p.type !== W.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3822
+ }, this.format = function(h) {
3823
+ var u = i.formatToParts(h);
3824
+ if (u.length === 1)
3825
+ return u[0].value;
3826
+ var c = u.reduce(function(d, p) {
3827
+ return !d.length || p.type !== J.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3828
3828
  }, []);
3829
3829
  return c.length <= 1 ? c[0] || "" : c;
3830
- }, this.formatToParts = function(u) {
3831
- return st(i.ast, i.locales, i.formatters, i.formats, u, void 0, i.message);
3830
+ }, this.formatToParts = function(h) {
3831
+ return ot(i.ast, i.locales, i.formatters, i.formats, h, void 0, i.message);
3832
3832
  }, this.resolvedOptions = function() {
3833
- var u;
3833
+ var h;
3834
3834
  return {
3835
- locale: ((u = i.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(i.locales)[0]
3835
+ locale: ((h = i.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(i.locales)[0]
3836
3836
  };
3837
3837
  }, this.getAst = function() {
3838
3838
  return i.ast;
3839
3839
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3840
3840
  if (this.message = t, !e.__parse)
3841
3841
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3842
- var a = s || {};
3843
- a.formatters;
3844
- var o = Qn(a, ["formatters"]);
3845
- this.ast = e.__parse(t, se(se({}, o), { locale: this.resolvedLocale }));
3842
+ var o = s || {};
3843
+ o.formatters;
3844
+ var a = os(o, ["formatters"]);
3845
+ this.ast = e.__parse(t, ce(ce({}, a), { locale: this.resolvedLocale }));
3846
3846
  } else
3847
3847
  this.ast = t;
3848
3848
  if (!Array.isArray(this.ast))
3849
3849
  throw new TypeError("A message must be provided as a String or AST.");
3850
- this.formats = Ds(e.formats, n), this.formatters = s && s.formatters || Us(this.formatterCache);
3850
+ this.formats = Ys(e.formats, n), this.formatters = s && s.formatters || Qs(this.formatterCache);
3851
3851
  }
3852
3852
  return Object.defineProperty(e, "defaultLocale", {
3853
3853
  get: function() {
@@ -3860,7 +3860,7 @@ var $s = (
3860
3860
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3861
3861
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3862
3862
  }
3863
- }, e.__parse = Ns, e.formats = {
3863
+ }, e.__parse = js, e.formats = {
3864
3864
  number: {
3865
3865
  integer: {
3866
3866
  maximumFractionDigits: 0
@@ -3921,7 +3921,7 @@ var $s = (
3921
3921
  }, e;
3922
3922
  }()
3923
3923
  );
3924
- function Gs(e, t) {
3924
+ function Js(e, t) {
3925
3925
  if (t == null)
3926
3926
  return;
3927
3927
  if (t in e)
@@ -3942,92 +3942,92 @@ function Gs(e, t) {
3942
3942
  n = void 0;
3943
3943
  return n;
3944
3944
  }
3945
- const ce = {}, js = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), jr = (e, t) => {
3945
+ const we = {}, Ks = (e, t, r) => r && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = r), r), Wr = (e, t) => {
3946
3946
  if (t == null)
3947
3947
  return;
3948
- if (t in ce && e in ce[t])
3949
- return ce[t][e];
3950
- const r = dt(t);
3948
+ if (t in we && e in we[t])
3949
+ return we[t][e];
3950
+ const r = mt(t);
3951
3951
  for (let n = 0; n < r.length; n++) {
3952
- const s = r[n], i = zs(s, e);
3952
+ const s = r[n], i = ti(s, e);
3953
3953
  if (i)
3954
- return js(e, t, i);
3954
+ return Ks(e, t, i);
3955
3955
  }
3956
3956
  };
3957
- let Ut;
3958
- const Xe = ht({});
3959
- function Vs(e) {
3960
- return Ut[e] || null;
3957
+ let jt;
3958
+ const Je = ft({});
3959
+ function ei(e) {
3960
+ return jt[e] || null;
3961
3961
  }
3962
- function Vr(e) {
3963
- return e in Ut;
3962
+ function Xr(e) {
3963
+ return e in jt;
3964
3964
  }
3965
- function zs(e, t) {
3966
- if (!Vr(e))
3965
+ function ti(e, t) {
3966
+ if (!Xr(e))
3967
3967
  return null;
3968
- const r = Vs(e);
3969
- return Gs(r, t);
3968
+ const r = ei(e);
3969
+ return Js(r, t);
3970
3970
  }
3971
- function Ws(e) {
3971
+ function ri(e) {
3972
3972
  if (e == null)
3973
3973
  return;
3974
- const t = dt(e);
3974
+ const t = mt(e);
3975
3975
  for (let r = 0; r < t.length; r++) {
3976
3976
  const n = t[r];
3977
- if (Vr(n))
3977
+ if (Xr(n))
3978
3978
  return n;
3979
3979
  }
3980
3980
  }
3981
- function zr(e, ...t) {
3982
- delete ce[e], Xe.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
3981
+ function Zr(e, ...t) {
3982
+ delete we[e], Je.update((r) => (r[e] = is.all([r[e] || {}, ...t]), r));
3983
3983
  }
3984
- Re(
3985
- [Xe],
3984
+ Fe(
3985
+ [Je],
3986
3986
  ([e]) => Object.keys(e)
3987
3987
  );
3988
- Xe.subscribe((e) => Ut = e);
3989
- const it = {};
3990
- function Xs(e, t) {
3991
- it[e].delete(t), it[e].size === 0 && delete it[e];
3988
+ Je.subscribe((e) => jt = e);
3989
+ const at = {};
3990
+ function ni(e, t) {
3991
+ at[e].delete(t), at[e].size === 0 && delete at[e];
3992
3992
  }
3993
- function Wr(e) {
3994
- return it[e];
3993
+ function Yr(e) {
3994
+ return at[e];
3995
3995
  }
3996
- function Zs(e) {
3997
- return dt(e).map((t) => {
3998
- const r = Wr(t);
3996
+ function si(e) {
3997
+ return mt(e).map((t) => {
3998
+ const r = Yr(t);
3999
3999
  return [t, r ? [...r] : []];
4000
4000
  }).filter(([, t]) => t.length > 0);
4001
4001
  }
4002
- function kt(e) {
4003
- return e == null ? !1 : dt(e).some(
4002
+ function Dt(e) {
4003
+ return e == null ? !1 : mt(e).some(
4004
4004
  (t) => {
4005
4005
  var r;
4006
- return (r = Wr(t)) == null ? void 0 : r.size;
4006
+ return (r = Yr(t)) == null ? void 0 : r.size;
4007
4007
  }
4008
4008
  );
4009
4009
  }
4010
- function Ys(e, t) {
4010
+ function ii(e, t) {
4011
4011
  return Promise.all(
4012
- t.map((n) => (Xs(e, n), n().then((s) => s.default || s)))
4013
- ).then((n) => zr(e, ...n));
4012
+ t.map((n) => (ni(e, n), n().then((s) => s.default || s)))
4013
+ ).then((n) => Zr(e, ...n));
4014
4014
  }
4015
- const $e = {};
4016
- function Xr(e) {
4017
- if (!kt(e))
4018
- return e in $e ? $e[e] : Promise.resolve();
4019
- const t = Zs(e);
4020
- return $e[e] = Promise.all(
4015
+ const We = {};
4016
+ function Qr(e) {
4017
+ if (!Dt(e))
4018
+ return e in We ? We[e] : Promise.resolve();
4019
+ const t = si(e);
4020
+ return We[e] = Promise.all(
4021
4021
  t.map(
4022
- ([r, n]) => Ys(r, n)
4022
+ ([r, n]) => ii(r, n)
4023
4023
  )
4024
4024
  ).then(() => {
4025
- if (kt(e))
4026
- return Xr(e);
4027
- delete $e[e];
4028
- }), $e[e];
4025
+ if (Dt(e))
4026
+ return Qr(e);
4027
+ delete We[e];
4028
+ }), We[e];
4029
4029
  }
4030
- const Qs = {
4030
+ const oi = {
4031
4031
  number: {
4032
4032
  scientific: { notation: "scientific" },
4033
4033
  engineering: { notation: "engineering" },
@@ -4056,159 +4056,159 @@ const Qs = {
4056
4056
  timeZoneName: "short"
4057
4057
  }
4058
4058
  }
4059
- }, Js = {
4059
+ }, ai = {
4060
4060
  fallbackLocale: null,
4061
4061
  loadingDelay: 200,
4062
- formats: Qs,
4062
+ formats: oi,
4063
4063
  warnOnMissingMessages: !0,
4064
4064
  handleMissingMessage: void 0,
4065
4065
  ignoreTag: !0
4066
- }, qs = Js;
4067
- function Ne() {
4068
- return qs;
4066
+ }, li = ai;
4067
+ function Le() {
4068
+ return li;
4069
4069
  }
4070
- const Pt = ht(!1);
4071
- var Ks = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, ar = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? Ks(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
4070
+ const Et = ft(!1);
4071
+ var ui = Object.defineProperty, hi = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, fi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
4072
4072
  for (var r in t || (t = {}))
4073
- ri.call(t, r) && or(e, r, t[r]);
4074
- if (ar)
4075
- for (var r of ar(t))
4076
- ni.call(t, r) && or(e, r, t[r]);
4073
+ fi.call(t, r) && hr(e, r, t[r]);
4074
+ if (ur)
4075
+ for (var r of ur(t))
4076
+ di.call(t, r) && hr(e, r, t[r]);
4077
4077
  return e;
4078
- }, ii = (e, t) => ei(e, ti(t));
4079
- let Dt;
4080
- const ot = ht(null);
4081
- function lr(e) {
4078
+ }, mi = (e, t) => hi(e, ci(t));
4079
+ let Gt;
4080
+ const ut = ft(null);
4081
+ function cr(e) {
4082
4082
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4083
4083
  }
4084
- function dt(e, t = Ne().fallbackLocale) {
4085
- const r = lr(e);
4086
- return t ? [.../* @__PURE__ */ new Set([...r, ...lr(t)])] : r;
4084
+ function mt(e, t = Le().fallbackLocale) {
4085
+ const r = cr(e);
4086
+ return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4087
4087
  }
4088
- function pe() {
4089
- return Dt ?? void 0;
4088
+ function _e() {
4089
+ return Gt ?? void 0;
4090
4090
  }
4091
- ot.subscribe((e) => {
4092
- Dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4091
+ ut.subscribe((e) => {
4092
+ Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4093
4093
  });
4094
- const ai = (e) => {
4095
- if (e && Ws(e) && kt(e)) {
4096
- const { loadingDelay: t } = Ne();
4094
+ const gi = (e) => {
4095
+ if (e && ri(e) && Dt(e)) {
4096
+ const { loadingDelay: t } = Le();
4097
4097
  let r;
4098
- return typeof window < "u" && pe() != null && t ? r = window.setTimeout(
4099
- () => Pt.set(!0),
4098
+ return typeof window < "u" && _e() != null && t ? r = window.setTimeout(
4099
+ () => Et.set(!0),
4100
4100
  t
4101
- ) : Pt.set(!0), Xr(e).then(() => {
4102
- ot.set(e);
4101
+ ) : Et.set(!0), Qr(e).then(() => {
4102
+ ut.set(e);
4103
4103
  }).finally(() => {
4104
- clearTimeout(r), Pt.set(!1);
4104
+ clearTimeout(r), Et.set(!1);
4105
4105
  });
4106
4106
  }
4107
- return ot.set(e);
4108
- }, Le = ii(si({}, ot), {
4109
- set: ai
4110
- }), pt = (e) => {
4107
+ return ut.set(e);
4108
+ }, Ue = mi(pi({}, ut), {
4109
+ set: gi
4110
+ }), gt = (e) => {
4111
4111
  const t = /* @__PURE__ */ Object.create(null);
4112
4112
  return (n) => {
4113
4113
  const s = JSON.stringify(n);
4114
4114
  return s in t ? t[s] : t[s] = e(n);
4115
4115
  };
4116
4116
  };
4117
- var oi = Object.defineProperty, lt = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
4117
+ var bi = Object.defineProperty, ht = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4118
4118
  for (var r in t || (t = {}))
4119
- Zr.call(t, r) && ur(e, r, t[r]);
4120
- if (lt)
4121
- for (var r of lt(t))
4122
- Yr.call(t, r) && ur(e, r, t[r]);
4119
+ qr.call(t, r) && fr(e, r, t[r]);
4120
+ if (ht)
4121
+ for (var r of ht(t))
4122
+ Jr.call(t, r) && fr(e, r, t[r]);
4123
4123
  return e;
4124
- }, Fe = (e, t) => {
4124
+ }, De = (e, t) => {
4125
4125
  var r = {};
4126
4126
  for (var n in e)
4127
- Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4128
- if (e != null && lt)
4129
- for (var n of lt(e))
4130
- t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
4127
+ qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4128
+ if (e != null && ht)
4129
+ for (var n of ht(e))
4130
+ t.indexOf(n) < 0 && Jr.call(e, n) && (r[n] = e[n]);
4131
4131
  return r;
4132
4132
  };
4133
- const ze = (e, t) => {
4134
- const { formats: r } = Ne();
4133
+ const Qe = (e, t) => {
4134
+ const { formats: r } = Le();
4135
4135
  if (e in r && t in r[e])
4136
4136
  return r[e][t];
4137
4137
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4138
- }, li = pt(
4138
+ }, wi = gt(
4139
4139
  (e) => {
4140
- var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
4140
+ var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
4141
4141
  if (r == null)
4142
4142
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4143
- return n && (s = ze("number", n)), new Intl.NumberFormat(r, s);
4143
+ return n && (s = Qe("number", n)), new Intl.NumberFormat(r, s);
4144
4144
  }
4145
- ), ui = pt(
4145
+ ), vi = gt(
4146
4146
  (e) => {
4147
- var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
4147
+ var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
4148
4148
  if (r == null)
4149
4149
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4150
- return n ? s = ze("date", n) : Object.keys(s).length === 0 && (s = ze("date", "short")), new Intl.DateTimeFormat(r, s);
4150
+ return n ? s = Qe("date", n) : Object.keys(s).length === 0 && (s = Qe("date", "short")), new Intl.DateTimeFormat(r, s);
4151
4151
  }
4152
- ), hi = pt(
4152
+ ), yi = gt(
4153
4153
  (e) => {
4154
- var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
4154
+ var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
4155
4155
  if (r == null)
4156
4156
  throw new Error(
4157
4157
  '[svelte-i18n] A "locale" must be set to format time values'
4158
4158
  );
4159
- return n ? s = ze("time", n) : Object.keys(s).length === 0 && (s = ze("time", "short")), new Intl.DateTimeFormat(r, s);
4159
+ return n ? s = Qe("time", n) : Object.keys(s).length === 0 && (s = Qe("time", "short")), new Intl.DateTimeFormat(r, s);
4160
4160
  }
4161
- ), ci = (e = {}) => {
4161
+ ), _i = (e = {}) => {
4162
4162
  var t = e, {
4163
- locale: r = pe()
4164
- } = t, n = Fe(t, [
4163
+ locale: r = _e()
4164
+ } = t, n = De(t, [
4165
4165
  "locale"
4166
4166
  ]);
4167
- return li($t({ locale: r }, n));
4168
- }, fi = (e = {}) => {
4167
+ return wi(Vt({ locale: r }, n));
4168
+ }, Pi = (e = {}) => {
4169
4169
  var t = e, {
4170
- locale: r = pe()
4171
- } = t, n = Fe(t, [
4170
+ locale: r = _e()
4171
+ } = t, n = De(t, [
4172
4172
  "locale"
4173
4173
  ]);
4174
- return ui($t({ locale: r }, n));
4175
- }, di = (e = {}) => {
4174
+ return vi(Vt({ locale: r }, n));
4175
+ }, xi = (e = {}) => {
4176
4176
  var t = e, {
4177
- locale: r = pe()
4178
- } = t, n = Fe(t, [
4177
+ locale: r = _e()
4178
+ } = t, n = De(t, [
4179
4179
  "locale"
4180
4180
  ]);
4181
- return hi($t({ locale: r }, n));
4182
- }, pi = pt(
4181
+ return yi(Vt({ locale: r }, n));
4182
+ }, Ei = gt(
4183
4183
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4184
- (e, t = pe()) => new $s(e, t, Ne().formats, {
4185
- ignoreTag: Ne().ignoreTag
4184
+ (e, t = _e()) => new qs(e, t, Le().formats, {
4185
+ ignoreTag: Le().ignoreTag
4186
4186
  })
4187
- ), mi = (e, t = {}) => {
4187
+ ), Ti = (e, t = {}) => {
4188
4188
  var r, n, s, i;
4189
- let a = t;
4190
- typeof e == "object" && (a = e, e = a.id);
4189
+ let o = t;
4190
+ typeof e == "object" && (o = e, e = o.id);
4191
4191
  const {
4192
- values: o,
4193
- locale: u = pe(),
4194
- default: h
4195
- } = a;
4196
- if (u == null)
4192
+ values: a,
4193
+ locale: h = _e(),
4194
+ default: u
4195
+ } = o;
4196
+ if (h == null)
4197
4197
  throw new Error(
4198
4198
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4199
4199
  );
4200
- let c = jr(e, u);
4200
+ let c = Wr(e, h);
4201
4201
  if (!c)
4202
- c = (i = (s = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? i : e;
4202
+ c = (i = (s = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? s : u) != null ? i : e;
4203
4203
  else if (typeof c != "string")
4204
4204
  return console.warn(
4205
4205
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4206
4206
  ), c;
4207
- if (!o)
4207
+ if (!a)
4208
4208
  return c;
4209
4209
  let d = c;
4210
4210
  try {
4211
- d = pi(c, u).format(o);
4211
+ d = Ei(c, h).format(a);
4212
4212
  } catch (p) {
4213
4213
  p instanceof Error && console.warn(
4214
4214
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4216,21 +4216,49 @@ const ze = (e, t) => {
4216
4216
  );
4217
4217
  }
4218
4218
  return d;
4219
- }, gi = (e, t) => di(t).format(e), bi = (e, t) => fi(t).format(e), wi = (e, t) => ci(t).format(e), vi = (e, t = pe()) => jr(e, t), yi = Re([Le, Xe], () => mi);
4220
- Re([Le], () => gi);
4221
- Re([Le], () => bi);
4222
- Re([Le], () => wi);
4223
- Re([Le, Xe], () => vi);
4224
- window.emWidgets = { topic: Mn };
4225
- const _i = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4219
+ }, Ci = (e, t) => xi(t).format(e), Si = (e, t) => Pi(t).format(e), Bi = (e, t) => _i(t).format(e), Ai = (e, t = _e()) => Wr(e, t), Hi = Fe([Ue, Je], () => Ti);
4220
+ Fe([Ue], () => Ci);
4221
+ Fe([Ue], () => Si);
4222
+ Fe([Ue], () => Bi);
4223
+ Fe([Ue, Je], () => Ai);
4224
+ window.emWidgets = { topic: $n };
4225
+ const Ii = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4226
4226
  String(Number.MAX_SAFE_INTEGER).length;
4227
- function hr(e, t) {
4228
- zr(e, t);
4227
+ async function Mi(e) {
4228
+ const t = new URL(`${e}/v1/player/legislation/registration/config/`), r = await fetch(t.href, {
4229
+ method: "GET",
4230
+ headers: { "Content-Type": "application/json", Accept: "application/json" }
4231
+ });
4232
+ if (!r.ok)
4233
+ throw new Error(`HTTP error! Status: ${r.status}`);
4234
+ const n = await r.json(), s = Array.isArray(n?.content?.fields) ? n.content.fields.find((u) => u?.name === "Password")?.validate : null;
4235
+ if (!s || typeof s.mandatory != "boolean" || s.type != null && s.type !== "string" || s.custom != null && !Array.isArray(s.custom))
4236
+ throw new Error("Registration password validation is missing or invalid.");
4237
+ const { mandatory: i, minLength: o, maxLength: a } = s;
4238
+ for (const u of [o, a])
4239
+ if (u != null && (!Number.isInteger(u) || u < 0))
4240
+ throw new Error("Registration password length bound is invalid.");
4241
+ if (o != null && a != null && o > a)
4242
+ throw new Error("Registration password length bounds are inconsistent.");
4243
+ const h = [];
4244
+ for (const u of s.custom ?? []) {
4245
+ if (!u || typeof u.rule != "string")
4246
+ throw new Error("Registration password rule is invalid.");
4247
+ if (u.rule === "regex") {
4248
+ if (typeof u.pattern != "string")
4249
+ throw new Error("Registration password regex pattern is invalid.");
4250
+ h.push(new RegExp(u.pattern));
4251
+ }
4252
+ }
4253
+ return (u) => u.length === 0 ? !i : (o == null || u.length >= o) && (a == null || u.length <= a) && h.every((c) => c.test(u));
4229
4254
  }
4230
- function Pi(e) {
4231
- Le.set(e);
4255
+ function dr(e, t) {
4256
+ Zr(e, t);
4257
+ }
4258
+ function Ni(e) {
4259
+ Ue.set(e);
4232
4260
  }
4233
- const cr = {
4261
+ const pr = {
4234
4262
  en: {
4235
4263
  titleChangePassword: "Change Password",
4236
4264
  currentPassword: "Current Password:",
@@ -4413,14 +4441,14 @@ const cr = {
4413
4441
  passwordResetConfirmation: "Your password has been reset successfully.",
4414
4442
  backButtonText: "Back"
4415
4443
  }
4416
- }, Ce = "__WIDGET_GLOBAL_STYLE_CACHE__";
4417
- function Ei(e, t) {
4444
+ }, He = "__WIDGET_GLOBAL_STYLE_CACHE__";
4445
+ function Oi(e, t) {
4418
4446
  if (e) {
4419
4447
  const r = document.createElement("style");
4420
4448
  r.innerHTML = t, e.appendChild(r);
4421
4449
  }
4422
4450
  }
4423
- function xi(e, t) {
4451
+ function Ri(e, t) {
4424
4452
  if (!e || !t)
4425
4453
  return;
4426
4454
  const r = new URL(t);
@@ -4431,735 +4459,694 @@ function xi(e, t) {
4431
4459
  console.error("There was an error while trying to load client styling from URL", n);
4432
4460
  });
4433
4461
  }
4434
- function Ti(e, t, r, n = !1) {
4462
+ function Li(e, t, r, n = !1) {
4435
4463
  if (!window.emMessageBus)
4436
4464
  return;
4437
4465
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
4438
- return r = Ci(e, t), r;
4439
- window[Ce] || (window[Ce] = {}), r = Si(e, t);
4440
- const i = r.unsubscribe.bind(r), a = () => {
4441
- if (window[Ce][t]) {
4442
- const o = window[Ce][t];
4443
- o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[Ce][t];
4466
+ return r = ki(e, t), r;
4467
+ window[He] || (window[He] = {}), r = Fi(e, t);
4468
+ const i = r.unsubscribe.bind(r), o = () => {
4469
+ if (window[He][t]) {
4470
+ const a = window[He][t];
4471
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[He][t];
4444
4472
  }
4445
4473
  i();
4446
4474
  };
4447
- return r.unsubscribe = a, r;
4475
+ return r.unsubscribe = o, r;
4448
4476
  }
4449
- function Ci(e, t) {
4477
+ function ki(e, t) {
4450
4478
  const r = document.createElement("style");
4451
4479
  return window.emMessageBus.subscribe(t, (n) => {
4452
4480
  e && (r.innerHTML = n, e.appendChild(r));
4453
4481
  });
4454
4482
  }
4455
- function Si(e, t) {
4483
+ function Fi(e, t) {
4456
4484
  return window.emMessageBus.subscribe(t, (r) => {
4457
4485
  if (!e)
4458
4486
  return;
4459
- const n = e.getRootNode(), s = window[Ce];
4487
+ const n = e.getRootNode(), s = window[He];
4460
4488
  let i = s[t] && s[t].sheet;
4461
4489
  i ? s[t].refCount = s[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(r), s[t] = {
4462
4490
  sheet: i,
4463
4491
  refCount: 1
4464
4492
  });
4465
- const a = n.adoptedStyleSheets || [];
4466
- a.includes(i) || (n.adoptedStyleSheets = [...a, i]);
4493
+ const o = n.adoptedStyleSheets || [];
4494
+ o.includes(i) || (n.adoptedStyleSheets = [...o, i]);
4467
4495
  });
4468
4496
  }
4469
- function Bi(e) {
4470
- qr(e, "svelte-1qk6bmp", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;height:100vh;max-width:100%;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px;max-width:400px;min-width:200px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;display:flex;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);width:auto;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{filter:brightness(0.9)}.PlayerChangePasswordWrapperMobile{height:75vh;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;border-radius:0}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBackButton{width:100%;max-width:none}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}');
4497
+ function Ui(e) {
4498
+ un(e, "svelte-1qk6bmp", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;height:100vh;max-width:100%;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px;max-width:400px;min-width:200px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;display:flex;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);width:auto;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{filter:brightness(0.9)}.PlayerChangePasswordWrapperMobile{height:75vh;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;border-radius:0}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBackButton{width:100%;max-width:none}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}');
4471
4499
  }
4472
- function Ai(e) {
4500
+ function Di(e) {
4473
4501
  let t;
4474
- function r(i, a) {
4502
+ function r(i, o) {
4475
4503
  return (
4476
4504
  /*passwordChanged*/
4477
- i[2] ? Hi : Ii
4505
+ i[2] ? Gi : $i
4478
4506
  );
4479
4507
  }
4480
4508
  let n = r(e), s = n(e);
4481
4509
  return {
4482
4510
  c() {
4483
4511
  t = P("form"), s.c(), l(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
4484
- (e[20] ? "PlayerChangePasswordWrapperMobile" : ""));
4512
+ (e[21] ? "PlayerChangePasswordWrapperMobile" : ""));
4485
4513
  },
4486
- m(i, a) {
4487
- H(i, t, a), s.m(t, null);
4514
+ m(i, o) {
4515
+ B(i, t, o), s.m(t, null);
4488
4516
  },
4489
- p(i, a) {
4490
- n === (n = r(i)) && s ? s.p(i, a) : (s.d(1), s = n(i), s && (s.c(), s.m(t, null)));
4517
+ p(i, o) {
4518
+ n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t, null)));
4491
4519
  },
4492
4520
  d(i) {
4493
- i && B(t), s.d();
4521
+ i && S(t), s.d();
4494
4522
  }
4495
4523
  };
4496
4524
  }
4497
- function Hi(e) {
4525
+ function Gi(e) {
4498
4526
  let t, r, n, s = (
4499
4527
  /*$_*/
4500
- e[19]("changePasswordText") + ""
4501
- ), i, a, o, u, h, c, d, p, m = (
4528
+ e[20]("changePasswordText") + ""
4529
+ ), i, o, a, h, u, c, d, p, m = (
4502
4530
  /*$_*/
4503
- e[19]("passwordReset") + ""
4504
- ), v, b, E, y = (
4531
+ e[20]("passwordReset") + ""
4532
+ ), y, w, E, _ = (
4505
4533
  /*$_*/
4506
- e[19]("passwordResetConfirmation") + ""
4507
- ), A, O, k, D = (
4534
+ e[20]("passwordResetConfirmation") + ""
4535
+ ), A, O, U, F = (
4508
4536
  /*$_*/
4509
- e[19]("backButtonText") + ""
4510
- ), M, X, ee, $ = (
4537
+ e[20]("backButtonText") + ""
4538
+ ), M, j, K, $ = (
4511
4539
  /*isMobile*/
4512
- e[20] && Mi(e)
4540
+ e[21] && ji(e)
4513
4541
  );
4514
4542
  return {
4515
4543
  c() {
4516
- $ && $.c(), t = F(), r = P("div"), n = P("h3"), i = I(s), a = F(), o = P("div"), u = P("div"), h = P("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), d = P("div"), p = P("h3"), v = I(m), b = F(), E = P("p"), A = I(y), O = F(), k = P("div"), M = I(D), l(r, "class", "PlayerChangePasswordHeader"), l(h, "class", "IconContainer"), l(d, "class", "TextContainer"), l(u, "class", "SuccessWrapper"), l(k, "class", "PlayerChangePasswordBackButton"), l(o, "class", "ChangedPasswordSuccessfully");
4544
+ $ && $.c(), t = k(), r = P("div"), n = P("h3"), i = I(s), o = k(), a = P("div"), h = P("div"), u = P("div"), u.innerHTML = '<div class="Checkmark"></div>', c = k(), d = P("div"), p = P("h3"), y = I(m), w = k(), E = P("p"), A = I(_), O = k(), U = P("div"), M = I(F), l(r, "class", "PlayerChangePasswordHeader"), l(u, "class", "IconContainer"), l(d, "class", "TextContainer"), l(h, "class", "SuccessWrapper"), l(U, "class", "PlayerChangePasswordBackButton"), l(a, "class", "ChangedPasswordSuccessfully");
4517
4545
  },
4518
- m(R, S) {
4519
- $ && $.m(R, S), H(R, t, S), H(R, r, S), f(r, n), f(n, i), H(R, a, S), H(R, o, S), f(o, u), f(u, h), f(u, c), f(u, d), f(d, p), f(p, v), f(d, b), f(d, E), f(E, A), f(o, O), f(o, k), f(k, M), X || (ee = z(
4520
- k,
4546
+ m(R, H) {
4547
+ $ && $.m(R, H), B(R, t, H), B(R, r, H), f(r, n), f(n, i), B(R, o, H), B(R, a, H), f(a, h), f(h, u), f(h, c), f(h, d), f(d, p), f(p, y), f(d, w), f(d, E), f(E, A), f(a, O), f(a, U), f(U, M), j || (K = q(
4548
+ U,
4521
4549
  "click",
4522
4550
  /*click_handler_9*/
4523
- e[47]
4524
- ), X = !0);
4551
+ e[53]
4552
+ ), j = !0);
4525
4553
  },
4526
- p(R, S) {
4554
+ p(R, H) {
4527
4555
  /*isMobile*/
4528
- R[20] && $.p(R, S), S[0] & /*$_*/
4529
- 524288 && s !== (s = /*$_*/
4530
- R[19]("changePasswordText") + "") && U(i, s), S[0] & /*$_*/
4531
- 524288 && m !== (m = /*$_*/
4532
- R[19]("passwordReset") + "") && U(v, m), S[0] & /*$_*/
4533
- 524288 && y !== (y = /*$_*/
4534
- R[19]("passwordResetConfirmation") + "") && U(A, y), S[0] & /*$_*/
4535
- 524288 && D !== (D = /*$_*/
4536
- R[19]("backButtonText") + "") && U(M, D);
4556
+ R[21] && $.p(R, H), H[0] & /*$_*/
4557
+ 1048576 && s !== (s = /*$_*/
4558
+ R[20]("changePasswordText") + "") && G(i, s), H[0] & /*$_*/
4559
+ 1048576 && m !== (m = /*$_*/
4560
+ R[20]("passwordReset") + "") && G(y, m), H[0] & /*$_*/
4561
+ 1048576 && _ !== (_ = /*$_*/
4562
+ R[20]("passwordResetConfirmation") + "") && G(A, _), H[0] & /*$_*/
4563
+ 1048576 && F !== (F = /*$_*/
4564
+ R[20]("backButtonText") + "") && G(M, F);
4537
4565
  },
4538
4566
  d(R) {
4539
- R && (B(t), B(r), B(a), B(o)), $ && $.d(R), X = !1, ee();
4567
+ R && (S(t), S(r), S(o), S(a)), $ && $.d(R), j = !1, K();
4540
4568
  }
4541
4569
  };
4542
4570
  }
4543
- function Ii(e) {
4571
+ function $i(e) {
4544
4572
  let t, r, n = (
4545
4573
  /*$_*/
4546
- e[19]("titleChangePassword") + ""
4547
- ), s, i, a, o, u, h = (
4574
+ e[20]("titleChangePassword") + ""
4575
+ ), s, i, o, a, h, u = (
4548
4576
  /*$_*/
4549
- e[19]("currentPassword") + ""
4550
- ), c, d, p, m, v, b, E, y, A, O = (
4577
+ e[20]("currentPassword") + ""
4578
+ ), c, d, p, m, y, w, E, _, A, O = (
4551
4579
  /*$_*/
4552
- e[19]("newPassword") + ""
4553
- ), k, D, M, X, ee, $, R, S, Z, Q = (
4580
+ e[20]("newPassword") + ""
4581
+ ), U, F, M, j, K, $, R, H, fe, V = (
4554
4582
  /*$_*/
4555
- e[19]("confirmPassword") + ""
4556
- ), me, ke, Y, Ze, te, ge, De, ie, fe, re, ue = (
4583
+ e[20]("confirmPassword") + ""
4584
+ ), D, z, ee, Ge, Pe, ue, de, he, ve, W, ge = (
4557
4585
  /*$_*/
4558
- e[19]("submitChangePassword") + ""
4559
- ), be, we, de, Ue, Ye, ae = (
4586
+ e[20]("submitChangePassword") + ""
4587
+ ), $e, pe, re, ye, je, ie = (
4560
4588
  /*isMobile*/
4561
- e[20] && Ni(e)
4589
+ e[21] && Vi(e)
4562
4590
  );
4563
- function Qe(x, _) {
4591
+ function Ve(b, x) {
4564
4592
  return (
4565
4593
  /*isCurrentPasswordVisible*/
4566
- x[10] ? Ri : Oi
4594
+ b[10] ? Wi : zi
4567
4595
  );
4568
4596
  }
4569
- let ve = Qe(e), J = ve(e), G = (
4597
+ let xe = Ve(e), te = xe(e), X = (
4570
4598
  /*invalidCurrentPassword*/
4571
- e[4] && fr(e)
4599
+ e[4] && mr(e)
4572
4600
  );
4573
- function Je(x, _) {
4601
+ function Ke(b, x) {
4574
4602
  return (
4575
4603
  /*isNewPasswordVisible*/
4576
- x[11] ? Di : ki
4604
+ b[11] ? Qi : Yi
4577
4605
  );
4578
4606
  }
4579
- let ye = Je(e), q = ye(e);
4580
- function qe(x, _) {
4607
+ let Ee = Ke(e), ne = Ee(e);
4608
+ function et(b, x) {
4581
4609
  if (
4582
4610
  /*oldPasswordSameAsNew*/
4583
- x[13]
4611
+ b[13]
4584
4612
  )
4585
- return $i;
4613
+ return Ji;
4586
4614
  if (
4587
4615
  /*invalidNewPassword*/
4588
- x[5]
4616
+ b[5]
4589
4617
  )
4590
- return Ui;
4618
+ return qi;
4591
4619
  }
4592
- let he = qe(e), j = he && he(e);
4593
- function Ke(x, _) {
4620
+ let be = et(e), Z = be && be(e);
4621
+ function tt(b, x) {
4594
4622
  return (
4595
4623
  /*isConfirmPasswordVisible*/
4596
- x[12] ? zi : Vi
4624
+ b[12] ? ro : to
4597
4625
  );
4598
4626
  }
4599
- let _e = Ke(e), K = _e(e), V = (
4627
+ let Te = tt(e), se = Te(e), Y = (
4600
4628
  /*invalidConfirmPassword*/
4601
- e[6] && dr(e)
4602
- ), w = (
4629
+ e[6] && gr(e)
4630
+ ), Q = (
4603
4631
  /*showErrorPasswordChanged*/
4604
- e[18] && pr(e)
4632
+ e[18] && br(e)
4605
4633
  );
4606
4634
  return {
4607
4635
  c() {
4608
- ae && ae.c(), t = F(), r = P("h2"), s = I(n), i = F(), a = P("section"), o = P("div"), u = P("label"), c = I(h), d = F(), p = P("input"), m = F(), J.c(), v = F(), G && G.c(), E = F(), y = P("div"), A = P("label"), k = I(O), D = F(), M = P("input"), X = F(), q.c(), ee = F(), j && j.c(), R = F(), S = P("div"), Z = P("label"), me = I(Q), ke = F(), Y = P("input"), Ze = F(), K.c(), te = F(), V && V.c(), De = F(), w && w.c(), ie = F(), fe = P("section"), re = P("button"), be = I(ue), l(r, "class", "ChangePasswordTitle " + /*isMobile*/
4609
- (e[20] ? "ChangePasswordTitleNone" : "")), l(u, "for", "CurrentPassword"), l(p, "id", "CurrentPassword"), l(p, "type", "password"), l(o, "class", b = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
4610
- (e[4] ? "InvalidField" : "")), l(A, "for", "NewPassword"), l(M, "id", "NewPassword"), l(M, "autocomplete", "new-password"), l(M, "type", "password"), l(y, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
4611
- (e[5] ? "InvalidField" : "")), l(Z, "for", "ConfirmPassword"), l(Y, "id", "ConfirmPassword"), l(Y, "type", "password"), l(S, "class", ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
4612
- (e[6] ? "InvalidField" : "")), l(a, "class", "PlayerChangePasswordContent"), l(re, "class", we = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
4613
- (e[3] ? "" : "ButtonInactive")), re.disabled = de = !/*activateSubmit*/
4614
- e[3], l(fe, "class", "PlayerChangePasswordButtonsArea");
4636
+ ie && ie.c(), t = k(), r = P("h2"), s = I(n), i = k(), o = P("section"), a = P("div"), h = P("label"), c = I(u), d = k(), p = P("input"), m = k(), te.c(), y = k(), X && X.c(), E = k(), _ = P("div"), A = P("label"), U = I(O), F = k(), M = P("input"), j = k(), ne.c(), K = k(), Z && Z.c(), R = k(), H = P("div"), fe = P("label"), D = I(V), z = k(), ee = P("input"), Ge = k(), se.c(), Pe = k(), Y && Y.c(), de = k(), Q && Q.c(), he = k(), ve = P("section"), W = P("button"), $e = I(ge), l(r, "class", "ChangePasswordTitle " + /*isMobile*/
4637
+ (e[21] ? "ChangePasswordTitleNone" : "")), l(h, "for", "CurrentPassword"), l(p, "id", "CurrentPassword"), l(p, "type", "password"), l(a, "class", w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
4638
+ (e[4] ? "InvalidField" : "")), l(A, "for", "NewPassword"), l(M, "id", "NewPassword"), l(M, "autocomplete", "new-password"), l(M, "type", "password"), l(_, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
4639
+ (e[5] ? "InvalidField" : "")), l(fe, "for", "ConfirmPassword"), l(ee, "id", "ConfirmPassword"), l(ee, "type", "password"), l(H, "class", ue = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
4640
+ (e[6] ? "InvalidField" : "")), l(o, "class", "PlayerChangePasswordContent"), l(W, "class", pe = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
4641
+ (e[3] ? "" : "ButtonInactive")), W.disabled = re = !/*activateSubmit*/
4642
+ e[3], l(ve, "class", "PlayerChangePasswordButtonsArea");
4615
4643
  },
4616
- m(x, _) {
4617
- ae && ae.m(x, _), H(x, t, _), H(x, r, _), f(r, s), H(x, i, _), H(x, a, _), f(a, o), f(o, u), f(u, c), f(o, d), f(o, p), Pe(
4644
+ m(b, x) {
4645
+ ie && ie.m(b, x), B(b, t, x), B(b, r, x), f(r, s), B(b, i, x), B(b, o, x), f(o, a), f(a, h), f(h, c), f(a, d), f(a, p), Ce(
4618
4646
  p,
4619
4647
  /*userCurrentPassword*/
4620
4648
  e[14]
4621
- ), e[34](p), f(o, m), J.m(o, null), f(o, v), G && G.m(o, null), f(a, E), f(a, y), f(y, A), f(A, k), f(y, D), f(y, M), Pe(
4649
+ ), e[38](p), f(a, m), te.m(a, null), f(a, y), X && X.m(a, null), f(o, E), f(o, _), f(_, A), f(A, U), f(_, F), f(_, M), Ce(
4622
4650
  M,
4623
4651
  /*userNewPassword*/
4624
4652
  e[15]
4625
- ), e[38](M), f(y, X), q.m(y, null), f(y, ee), j && j.m(y, null), f(a, R), f(a, S), f(S, Z), f(Z, me), f(S, ke), f(S, Y), Pe(
4626
- Y,
4653
+ ), e[43](M), f(_, j), ne.m(_, null), f(_, K), Z && Z.m(_, null), f(o, R), f(o, H), f(H, fe), f(fe, D), f(H, z), f(H, ee), Ce(
4654
+ ee,
4627
4655
  /*userConfirmPassword*/
4628
4656
  e[16]
4629
- ), e[42](Y), f(S, Ze), K.m(S, null), f(S, te), V && V.m(S, null), H(x, De, _), w && w.m(x, _), H(x, ie, _), H(x, fe, _), f(fe, re), f(re, be), Ue || (Ye = [
4630
- z(
4657
+ ), e[48](ee), f(H, Ge), se.m(H, null), f(H, Pe), Y && Y.m(H, null), B(b, de, x), Q && Q.m(b, x), B(b, he, x), B(b, ve, x), f(ve, W), f(W, $e), ye || (je = [
4658
+ q(
4631
4659
  p,
4632
4660
  "input",
4633
4661
  /*input0_input_handler*/
4634
- e[33]
4662
+ e[36]
4635
4663
  ),
4636
- z(p, "blur", function() {
4637
- Be(
4638
- /*validatePassword*/
4639
- e[22](
4640
- /*invalidCurrentPassword*/
4641
- e[4],
4642
- /*userCurrentPassword*/
4643
- e[14],
4644
- /*currentPasswordVisibilityToggle*/
4645
- e[7]
4646
- )
4647
- ) && e[22](
4648
- /*invalidCurrentPassword*/
4649
- e[4],
4650
- /*userCurrentPassword*/
4651
- e[14],
4652
- /*currentPasswordVisibilityToggle*/
4653
- e[7]
4654
- ).apply(this, arguments);
4655
- }),
4656
- z(
4664
+ q(
4665
+ p,
4666
+ "blur",
4667
+ /*blur_handler*/
4668
+ e[37]
4669
+ ),
4670
+ q(
4657
4671
  M,
4658
4672
  "input",
4659
4673
  /*input1_input_handler*/
4660
- e[37]
4674
+ e[41]
4661
4675
  ),
4662
- z(M, "blur", function() {
4663
- Be(
4664
- /*validatePassword*/
4665
- e[22](
4666
- /*invalidNewPassword*/
4667
- e[5],
4668
- /*userNewPassword*/
4669
- e[15],
4670
- /*newPasswordVisibilityToggle*/
4671
- e[8]
4672
- )
4673
- ) && e[22](
4674
- /*invalidNewPassword*/
4675
- e[5],
4676
- /*userNewPassword*/
4677
- e[15],
4678
- /*newPasswordVisibilityToggle*/
4679
- e[8]
4680
- ).apply(this, arguments);
4681
- }),
4682
- z(
4683
- Y,
4676
+ q(
4677
+ M,
4678
+ "blur",
4679
+ /*blur_handler_1*/
4680
+ e[42]
4681
+ ),
4682
+ q(
4683
+ ee,
4684
4684
  "input",
4685
4685
  /*input2_input_handler*/
4686
- e[41]
4686
+ e[46]
4687
4687
  ),
4688
- z(Y, "blur", function() {
4689
- Be(
4690
- /*validatePassword*/
4691
- e[22](
4692
- /*invalidConfirmPassword*/
4693
- e[6],
4694
- /*userConfirmPassword*/
4695
- e[16],
4696
- /*confirmPasswordVisibilityToggle*/
4697
- e[9]
4698
- )
4699
- ) && e[22](
4700
- /*invalidConfirmPassword*/
4701
- e[6],
4702
- /*userConfirmPassword*/
4703
- e[16],
4704
- /*confirmPasswordVisibilityToggle*/
4705
- e[9]
4706
- ).apply(this, arguments);
4707
- }),
4708
- z(
4709
- re,
4688
+ q(
4689
+ ee,
4690
+ "blur",
4691
+ /*blur_handler_2*/
4692
+ e[47]
4693
+ ),
4694
+ q(
4695
+ W,
4710
4696
  "click",
4711
4697
  /*click_handler_7*/
4712
- e[45]
4698
+ e[51]
4713
4699
  )
4714
- ], Ue = !0);
4700
+ ], ye = !0);
4715
4701
  },
4716
- p(x, _) {
4717
- e = x, /*isMobile*/
4718
- e[20] && ae.p(e, _), _[0] & /*$_*/
4719
- 524288 && n !== (n = /*$_*/
4720
- e[19]("titleChangePassword") + "") && U(s, n), _[0] & /*$_*/
4721
- 524288 && h !== (h = /*$_*/
4722
- e[19]("currentPassword") + "") && U(c, h), _[0] & /*userCurrentPassword*/
4702
+ p(b, x) {
4703
+ /*isMobile*/
4704
+ b[21] && ie.p(b, x), x[0] & /*$_*/
4705
+ 1048576 && n !== (n = /*$_*/
4706
+ b[20]("titleChangePassword") + "") && G(s, n), x[0] & /*$_*/
4707
+ 1048576 && u !== (u = /*$_*/
4708
+ b[20]("currentPassword") + "") && G(c, u), x[0] & /*userCurrentPassword*/
4723
4709
  16384 && p.value !== /*userCurrentPassword*/
4724
- e[14] && Pe(
4710
+ b[14] && Ce(
4725
4711
  p,
4726
4712
  /*userCurrentPassword*/
4727
- e[14]
4728
- ), ve === (ve = Qe(e)) && J ? J.p(e, _) : (J.d(1), J = ve(e), J && (J.c(), J.m(o, v))), /*invalidCurrentPassword*/
4729
- e[4] ? G ? G.p(e, _) : (G = fr(e), G.c(), G.m(o, null)) : G && (G.d(1), G = null), _[0] & /*invalidCurrentPassword*/
4730
- 16 && b !== (b = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
4731
- (e[4] ? "InvalidField" : "")) && l(o, "class", b), _[0] & /*$_*/
4732
- 524288 && O !== (O = /*$_*/
4733
- e[19]("newPassword") + "") && U(k, O), _[0] & /*userNewPassword*/
4713
+ b[14]
4714
+ ), xe === (xe = Ve(b)) && te ? te.p(b, x) : (te.d(1), te = xe(b), te && (te.c(), te.m(a, y))), /*invalidCurrentPassword*/
4715
+ b[4] ? X ? X.p(b, x) : (X = mr(b), X.c(), X.m(a, null)) : X && (X.d(1), X = null), x[0] & /*invalidCurrentPassword*/
4716
+ 16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
4717
+ (b[4] ? "InvalidField" : "")) && l(a, "class", w), x[0] & /*$_*/
4718
+ 1048576 && O !== (O = /*$_*/
4719
+ b[20]("newPassword") + "") && G(U, O), x[0] & /*userNewPassword*/
4734
4720
  32768 && M.value !== /*userNewPassword*/
4735
- e[15] && Pe(
4721
+ b[15] && Ce(
4736
4722
  M,
4737
4723
  /*userNewPassword*/
4738
- e[15]
4739
- ), ye === (ye = Je(e)) && q ? q.p(e, _) : (q.d(1), q = ye(e), q && (q.c(), q.m(y, ee))), he === (he = qe(e)) && j ? j.p(e, _) : (j && j.d(1), j = he && he(e), j && (j.c(), j.m(y, null))), _[0] & /*invalidNewPassword*/
4724
+ b[15]
4725
+ ), Ee === (Ee = Ke(b)) && ne ? ne.p(b, x) : (ne.d(1), ne = Ee(b), ne && (ne.c(), ne.m(_, K))), be === (be = et(b)) && Z ? Z.p(b, x) : (Z && Z.d(1), Z = be && be(b), Z && (Z.c(), Z.m(_, null))), x[0] & /*invalidNewPassword*/
4740
4726
  32 && $ !== ($ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
4741
- (e[5] ? "InvalidField" : "")) && l(y, "class", $), _[0] & /*$_*/
4742
- 524288 && Q !== (Q = /*$_*/
4743
- e[19]("confirmPassword") + "") && U(me, Q), _[0] & /*userConfirmPassword*/
4744
- 65536 && Y.value !== /*userConfirmPassword*/
4745
- e[16] && Pe(
4746
- Y,
4727
+ (b[5] ? "InvalidField" : "")) && l(_, "class", $), x[0] & /*$_*/
4728
+ 1048576 && V !== (V = /*$_*/
4729
+ b[20]("confirmPassword") + "") && G(D, V), x[0] & /*userConfirmPassword*/
4730
+ 65536 && ee.value !== /*userConfirmPassword*/
4731
+ b[16] && Ce(
4732
+ ee,
4747
4733
  /*userConfirmPassword*/
4748
- e[16]
4749
- ), _e === (_e = Ke(e)) && K ? K.p(e, _) : (K.d(1), K = _e(e), K && (K.c(), K.m(S, te))), /*invalidConfirmPassword*/
4750
- e[6] ? V ? V.p(e, _) : (V = dr(e), V.c(), V.m(S, null)) : V && (V.d(1), V = null), _[0] & /*invalidConfirmPassword*/
4751
- 64 && ge !== (ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
4752
- (e[6] ? "InvalidField" : "")) && l(S, "class", ge), /*showErrorPasswordChanged*/
4753
- e[18] ? w ? w.p(e, _) : (w = pr(e), w.c(), w.m(ie.parentNode, ie)) : w && (w.d(1), w = null), _[0] & /*$_*/
4754
- 524288 && ue !== (ue = /*$_*/
4755
- e[19]("submitChangePassword") + "") && U(be, ue), _[0] & /*activateSubmit*/
4756
- 8 && we !== (we = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
4757
- (e[3] ? "" : "ButtonInactive")) && l(re, "class", we), _[0] & /*activateSubmit*/
4758
- 8 && de !== (de = !/*activateSubmit*/
4759
- e[3]) && (re.disabled = de);
4734
+ b[16]
4735
+ ), Te === (Te = tt(b)) && se ? se.p(b, x) : (se.d(1), se = Te(b), se && (se.c(), se.m(H, Pe))), /*invalidConfirmPassword*/
4736
+ b[6] ? Y ? Y.p(b, x) : (Y = gr(b), Y.c(), Y.m(H, null)) : Y && (Y.d(1), Y = null), x[0] & /*invalidConfirmPassword*/
4737
+ 64 && ue !== (ue = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
4738
+ (b[6] ? "InvalidField" : "")) && l(H, "class", ue), /*showErrorPasswordChanged*/
4739
+ b[18] ? Q ? Q.p(b, x) : (Q = br(b), Q.c(), Q.m(he.parentNode, he)) : Q && (Q.d(1), Q = null), x[0] & /*$_*/
4740
+ 1048576 && ge !== (ge = /*$_*/
4741
+ b[20]("submitChangePassword") + "") && G($e, ge), x[0] & /*activateSubmit*/
4742
+ 8 && pe !== (pe = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
4743
+ (b[3] ? "" : "ButtonInactive")) && l(W, "class", pe), x[0] & /*activateSubmit*/
4744
+ 8 && re !== (re = !/*activateSubmit*/
4745
+ b[3]) && (W.disabled = re);
4760
4746
  },
4761
- d(x) {
4762
- x && (B(t), B(r), B(i), B(a), B(De), B(ie), B(fe)), ae && ae.d(x), e[34](null), J.d(), G && G.d(), e[38](null), q.d(), j && j.d(), e[42](null), K.d(), V && V.d(), w && w.d(x), Ue = !1, Oe(Ye);
4747
+ d(b) {
4748
+ b && (S(t), S(r), S(i), S(o), S(de), S(he), S(ve)), ie && ie.d(b), e[38](null), te.d(), X && X.d(), e[43](null), ne.d(), Z && Z.d(), e[48](null), se.d(), Y && Y.d(), Q && Q.d(b), ye = !1, ke(je);
4763
4749
  }
4764
4750
  };
4765
4751
  }
4766
- function Mi(e) {
4767
- let t, r, n, s, i, a, o, u, h, c, d = (
4752
+ function ji(e) {
4753
+ let t, r, n, s, i, o, a, h, u, c, d = (
4768
4754
  /*$_*/
4769
- e[19]("returnToMenu") + ""
4770
- ), p, m, v;
4755
+ e[20]("returnToMenu") + ""
4756
+ ), p, m, y;
4771
4757
  return {
4772
4758
  c() {
4773
- t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"), o = g("g"), u = g("path"), h = F(), c = P("span"), p = I(d), l(u, "class", "aaa"), l(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), l(u, "transform", "translate(15 15) rotate(180)"), l(o, "transform", "translate(20 158)"), l(a, "transform", "translate(-20 -158)"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(r, "width", "15"), l(r, "height", "15"), l(r, "viewBox", "0 0 15 15"), l(t, "class", "MenuReturnButton");
4759
+ t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), o = g("g"), a = g("g"), h = g("path"), u = k(), c = P("span"), p = I(d), l(h, "class", "aaa"), l(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), l(h, "transform", "translate(15 15) rotate(180)"), l(a, "transform", "translate(20 158)"), l(o, "transform", "translate(-20 -158)"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(r, "width", "15"), l(r, "height", "15"), l(r, "viewBox", "0 0 15 15"), l(t, "class", "MenuReturnButton");
4774
4760
  },
4775
- m(b, E) {
4776
- H(b, t, E), f(t, r), f(r, n), f(n, s), f(s, i), f(r, a), f(a, o), f(o, u), f(t, h), f(t, c), f(c, p), m || (v = z(
4761
+ m(w, E) {
4762
+ B(w, t, E), f(t, r), f(r, n), f(n, s), f(s, i), f(r, o), f(o, a), f(a, h), f(t, u), f(t, c), f(c, p), m || (y = q(
4777
4763
  t,
4778
4764
  "click",
4779
4765
  /*click_handler_8*/
4780
- e[46]
4766
+ e[52]
4781
4767
  ), m = !0);
4782
4768
  },
4783
- p(b, E) {
4769
+ p(w, E) {
4784
4770
  E[0] & /*$_*/
4785
- 524288 && d !== (d = /*$_*/
4786
- b[19]("returnToMenu") + "") && U(p, d);
4771
+ 1048576 && d !== (d = /*$_*/
4772
+ w[20]("returnToMenu") + "") && G(p, d);
4787
4773
  },
4788
- d(b) {
4789
- b && B(t), m = !1, v();
4774
+ d(w) {
4775
+ w && S(t), m = !1, y();
4790
4776
  }
4791
4777
  };
4792
4778
  }
4793
- function Ni(e) {
4794
- let t, r, n, s, i, a, o, u, h, c, d = (
4779
+ function Vi(e) {
4780
+ let t, r, n, s, i, o, a, h, u, c, d = (
4795
4781
  /*$_*/
4796
- e[19]("titleChangePassword") + ""
4797
- ), p, m, v;
4782
+ e[20]("titleChangePassword") + ""
4783
+ ), p, m, y;
4798
4784
  return {
4799
4785
  c() {
4800
- t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"), o = g("g"), u = g("path"), h = F(), c = P("h2"), p = I(d), l(u, "class", "aaa"), l(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), l(u, "transform", "translate(15 15) rotate(180)"), l(o, "transform", "translate(20 158)"), l(a, "transform", "translate(-20 -158)"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(r, "width", "15"), l(r, "height", "15"), l(r, "viewBox", "0 0 15 15"), l(c, "class", "ChangePasswordTitleMobile"), l(t, "class", "MenuReturnButton");
4786
+ t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), o = g("g"), a = g("g"), h = g("path"), u = k(), c = P("h2"), p = I(d), l(h, "class", "aaa"), l(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), l(h, "transform", "translate(15 15) rotate(180)"), l(a, "transform", "translate(20 158)"), l(o, "transform", "translate(-20 -158)"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(r, "width", "15"), l(r, "height", "15"), l(r, "viewBox", "0 0 15 15"), l(c, "class", "ChangePasswordTitleMobile"), l(t, "class", "MenuReturnButton");
4801
4787
  },
4802
- m(b, E) {
4803
- H(b, t, E), f(t, r), f(r, n), f(n, s), f(s, i), f(r, a), f(a, o), f(o, u), f(t, h), f(t, c), f(c, p), m || (v = z(
4788
+ m(w, E) {
4789
+ B(w, t, E), f(t, r), f(r, n), f(n, s), f(s, i), f(r, o), f(o, a), f(a, h), f(t, u), f(t, c), f(c, p), m || (y = q(
4804
4790
  t,
4805
4791
  "click",
4806
4792
  /*click_handler*/
4807
- e[32]
4793
+ e[35]
4808
4794
  ), m = !0);
4809
4795
  },
4810
- p(b, E) {
4796
+ p(w, E) {
4811
4797
  E[0] & /*$_*/
4812
- 524288 && d !== (d = /*$_*/
4813
- b[19]("titleChangePassword") + "") && U(p, d);
4798
+ 1048576 && d !== (d = /*$_*/
4799
+ w[20]("titleChangePassword") + "") && G(p, d);
4814
4800
  },
4815
- d(b) {
4816
- b && B(t), m = !1, v();
4801
+ d(w) {
4802
+ w && S(t), m = !1, y();
4817
4803
  }
4818
4804
  };
4819
4805
  }
4820
- function Oi(e) {
4821
- let t, r, n, s, i, a, o, u, h, c;
4806
+ function zi(e) {
4807
+ let t, r, n, s, i, o, a, h, u, c;
4822
4808
  return {
4823
4809
  c() {
4824
- t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"), o = g("circle"), l(a, "class", "a"), l(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(a, "transform", "translate(0)"), l(o, "class", "a"), l(o, "cx", "2.779"), l(o, "cy", "2.779"), l(o, "r", "2.779"), l(o, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
4810
+ t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), a = g("circle"), l(o, "class", "a"), l(o, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(o, "transform", "translate(0)"), l(a, "class", "a"), l(a, "cx", "2.779"), l(a, "cy", "2.779"), l(a, "r", "2.779"), l(a, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", h = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
4825
4811
  (e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
4826
- (e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
4812
+ (e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
4827
4813
  },
4828
4814
  m(d, p) {
4829
- H(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), h || (c = z(
4815
+ B(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), u || (c = q(
4830
4816
  t,
4831
4817
  "click",
4832
4818
  /*click_handler_2*/
4833
- e[36]
4834
- ), h = !0);
4819
+ e[40]
4820
+ ), u = !0);
4835
4821
  },
4836
4822
  p(d, p) {
4837
4823
  p[0] & /*invalidCurrentPassword*/
4838
- 16 && u !== (u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
4824
+ 16 && h !== (h = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
4839
4825
  (d[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
4840
- (d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
4826
+ (d[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", h);
4841
4827
  },
4842
4828
  d(d) {
4843
- d && B(t), h = !1, c();
4829
+ d && S(t), u = !1, c();
4844
4830
  }
4845
4831
  };
4846
4832
  }
4847
- function Ri(e) {
4848
- let t, r, n, s, i, a, o, u, h, c, d, p, m, v, b, E;
4833
+ function Wi(e) {
4834
+ let t, r, n, s, i, o, a, h, u, c, d, p, m, y, w, E;
4849
4835
  return {
4850
4836
  c() {
4851
- t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"), o = g("g"), u = g("path"), h = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(a, "class", "a"), l(a, "cx", "0.05"), l(a, "cy", "0.05"), l(a, "r", "0.05"), l(a, "transform", "translate(121.017 31.148)"), l(u, "class", "a"), l(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(u, "transform", "translate(-142.164 -39.123)"), l(h, "class", "a"), l(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(h, "transform", "translate(-136.413 -42.068)"), l(o, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
4837
+ t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), a = g("g"), h = g("path"), u = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(o, "class", "a"), l(o, "cx", "0.05"), l(o, "cy", "0.05"), l(o, "r", "0.05"), l(o, "transform", "translate(121.017 31.148)"), l(h, "class", "a"), l(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(h, "transform", "translate(-142.164 -39.123)"), l(u, "class", "a"), l(u, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(u, "transform", "translate(-136.413 -42.068)"), l(a, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", y = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
4852
4838
  (e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
4853
- (e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
4839
+ (e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
4854
4840
  },
4855
- m(y, A) {
4856
- H(y, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), f(o, u), f(o, h), f(i, c), f(c, d), f(c, p), f(i, m), b || (E = z(
4841
+ m(_, A) {
4842
+ B(_, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), f(a, h), f(a, u), f(i, c), f(c, d), f(c, p), f(i, m), w || (E = q(
4857
4843
  t,
4858
4844
  "click",
4859
4845
  /*click_handler_1*/
4860
- e[35]
4861
- ), b = !0);
4846
+ e[39]
4847
+ ), w = !0);
4862
4848
  },
4863
- p(y, A) {
4849
+ p(_, A) {
4864
4850
  A[0] & /*invalidCurrentPassword*/
4865
- 16 && v !== (v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
4866
- (y[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
4867
- (y[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
4851
+ 16 && y !== (y = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
4852
+ (_[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
4853
+ (_[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", y);
4868
4854
  },
4869
- d(y) {
4870
- y && B(t), b = !1, E();
4855
+ d(_) {
4856
+ _ && S(t), w = !1, E();
4871
4857
  }
4872
4858
  };
4873
4859
  }
4874
- function fr(e) {
4860
+ function mr(e) {
4875
4861
  let t;
4876
- function r(i, a) {
4862
+ function r(i, o) {
4877
4863
  return (
4878
4864
  /*simplepasswordvalidation*/
4879
- i[0] == "true" ? Fi : Li
4865
+ i[0] == "true" ? Zi : Xi
4880
4866
  );
4881
4867
  }
4882
4868
  let n = r(e), s = n(e);
4883
4869
  return {
4884
4870
  c() {
4885
- s.c(), t = wr();
4871
+ s.c(), t = _r();
4886
4872
  },
4887
- m(i, a) {
4888
- s.m(i, a), H(i, t, a);
4873
+ m(i, o) {
4874
+ s.m(i, o), B(i, t, o);
4889
4875
  },
4890
- p(i, a) {
4891
- n === (n = r(i)) && s ? s.p(i, a) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
4876
+ p(i, o) {
4877
+ n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
4892
4878
  },
4893
4879
  d(i) {
4894
- i && B(t), s.d(i);
4880
+ i && S(t), s.d(i);
4895
4881
  }
4896
4882
  };
4897
4883
  }
4898
- function Li(e) {
4884
+ function Xi(e) {
4899
4885
  let t, r = (
4900
4886
  /*$_*/
4901
- e[19]("invalidPasswordRule") + ""
4887
+ e[20]("invalidPasswordRule") + ""
4902
4888
  ), n;
4903
4889
  return {
4904
4890
  c() {
4905
4891
  t = P("p"), n = I(r), l(t, "class", "InvalidInput");
4906
4892
  },
4907
4893
  m(s, i) {
4908
- H(s, t, i), f(t, n);
4894
+ B(s, t, i), f(t, n);
4909
4895
  },
4910
4896
  p(s, i) {
4911
4897
  i[0] & /*$_*/
4912
- 524288 && r !== (r = /*$_*/
4913
- s[19]("invalidPasswordRule") + "") && U(n, r);
4898
+ 1048576 && r !== (r = /*$_*/
4899
+ s[20]("invalidPasswordRule") + "") && G(n, r);
4914
4900
  },
4915
4901
  d(s) {
4916
- s && B(t);
4902
+ s && S(t);
4917
4903
  }
4918
4904
  };
4919
4905
  }
4920
- function Fi(e) {
4906
+ function Zi(e) {
4921
4907
  let t, r = (
4922
4908
  /*$_*/
4923
- e[19]("simplePasswordError") + ""
4909
+ e[20]("simplePasswordError") + ""
4924
4910
  ), n;
4925
4911
  return {
4926
4912
  c() {
4927
4913
  t = P("p"), n = I(r), l(t, "class", "InvalidInput");
4928
4914
  },
4929
4915
  m(s, i) {
4930
- H(s, t, i), f(t, n);
4916
+ B(s, t, i), f(t, n);
4931
4917
  },
4932
4918
  p(s, i) {
4933
4919
  i[0] & /*$_*/
4934
- 524288 && r !== (r = /*$_*/
4935
- s[19]("simplePasswordError") + "") && U(n, r);
4920
+ 1048576 && r !== (r = /*$_*/
4921
+ s[20]("simplePasswordError") + "") && G(n, r);
4936
4922
  },
4937
4923
  d(s) {
4938
- s && B(t);
4924
+ s && S(t);
4939
4925
  }
4940
4926
  };
4941
4927
  }
4942
- function ki(e) {
4943
- let t, r, n, s, i, a, o, u, h, c;
4928
+ function Yi(e) {
4929
+ let t, r, n, s, i, o, a, h, u, c;
4944
4930
  return {
4945
4931
  c() {
4946
- t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"), o = g("circle"), l(a, "class", "a"), l(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(a, "transform", "translate(0)"), l(o, "class", "a"), l(o, "cx", "2.779"), l(o, "cy", "2.779"), l(o, "r", "2.779"), l(o, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
4932
+ t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), a = g("circle"), l(o, "class", "a"), l(o, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(o, "transform", "translate(0)"), l(a, "class", "a"), l(a, "cx", "2.779"), l(a, "cy", "2.779"), l(a, "r", "2.779"), l(a, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", h = "TogglePasswordVisibility " + /*invalidNewPassword*/
4947
4933
  (e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
4948
- (e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
4934
+ (e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
4949
4935
  },
4950
4936
  m(d, p) {
4951
- H(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), h || (c = z(
4937
+ B(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), u || (c = q(
4952
4938
  t,
4953
4939
  "click",
4954
4940
  /*click_handler_4*/
4955
- e[40]
4956
- ), h = !0);
4941
+ e[45]
4942
+ ), u = !0);
4957
4943
  },
4958
4944
  p(d, p) {
4959
4945
  p[0] & /*invalidNewPassword*/
4960
- 32 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
4946
+ 32 && h !== (h = "TogglePasswordVisibility " + /*invalidNewPassword*/
4961
4947
  (d[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
4962
- (d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
4948
+ (d[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", h);
4963
4949
  },
4964
4950
  d(d) {
4965
- d && B(t), h = !1, c();
4951
+ d && S(t), u = !1, c();
4966
4952
  }
4967
4953
  };
4968
4954
  }
4969
- function Di(e) {
4970
- let t, r, n, s, i, a, o, u, h, c, d, p, m, v, b, E;
4955
+ function Qi(e) {
4956
+ let t, r, n, s, i, o, a, h, u, c, d, p, m, y, w, E;
4971
4957
  return {
4972
4958
  c() {
4973
- t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"), o = g("g"), u = g("path"), h = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(a, "class", "a"), l(a, "cx", "0.05"), l(a, "cy", "0.05"), l(a, "r", "0.05"), l(a, "transform", "translate(121.017 31.148)"), l(u, "class", "a"), l(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(u, "transform", "translate(-142.164 -39.123)"), l(h, "class", "a"), l(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(h, "transform", "translate(-136.413 -42.068)"), l(o, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidNewPassword*/
4959
+ t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), a = g("g"), h = g("path"), u = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(o, "class", "a"), l(o, "cx", "0.05"), l(o, "cy", "0.05"), l(o, "r", "0.05"), l(o, "transform", "translate(121.017 31.148)"), l(h, "class", "a"), l(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(h, "transform", "translate(-142.164 -39.123)"), l(u, "class", "a"), l(u, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(u, "transform", "translate(-136.413 -42.068)"), l(a, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", y = "TogglePasswordVisibility " + /*invalidNewPassword*/
4974
4960
  (e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
4975
- (e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
4961
+ (e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
4976
4962
  },
4977
- m(y, A) {
4978
- H(y, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), f(o, u), f(o, h), f(i, c), f(c, d), f(c, p), f(i, m), b || (E = z(
4963
+ m(_, A) {
4964
+ B(_, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), f(a, h), f(a, u), f(i, c), f(c, d), f(c, p), f(i, m), w || (E = q(
4979
4965
  t,
4980
4966
  "click",
4981
4967
  /*click_handler_3*/
4982
- e[39]
4983
- ), b = !0);
4968
+ e[44]
4969
+ ), w = !0);
4984
4970
  },
4985
- p(y, A) {
4971
+ p(_, A) {
4986
4972
  A[0] & /*invalidNewPassword*/
4987
- 32 && v !== (v = "TogglePasswordVisibility " + /*invalidNewPassword*/
4988
- (y[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
4989
- (y[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
4973
+ 32 && y !== (y = "TogglePasswordVisibility " + /*invalidNewPassword*/
4974
+ (_[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
4975
+ (_[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", y);
4990
4976
  },
4991
- d(y) {
4992
- y && B(t), b = !1, E();
4977
+ d(_) {
4978
+ _ && S(t), w = !1, E();
4993
4979
  }
4994
4980
  };
4995
4981
  }
4996
- function Ui(e) {
4982
+ function qi(e) {
4997
4983
  let t;
4998
- function r(i, a) {
4984
+ function r(i, o) {
4999
4985
  return (
5000
4986
  /*simplepasswordvalidation*/
5001
- i[0] == "true" ? ji : Gi
4987
+ i[0] == "true" && !/*registrationPasswordValidator*/
4988
+ i[19] ? eo : Ki
5002
4989
  );
5003
4990
  }
5004
4991
  let n = r(e), s = n(e);
5005
4992
  return {
5006
4993
  c() {
5007
- s.c(), t = wr();
4994
+ s.c(), t = _r();
5008
4995
  },
5009
- m(i, a) {
5010
- s.m(i, a), H(i, t, a);
4996
+ m(i, o) {
4997
+ s.m(i, o), B(i, t, o);
5011
4998
  },
5012
- p(i, a) {
5013
- n === (n = r(i)) && s ? s.p(i, a) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
4999
+ p(i, o) {
5000
+ n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
5014
5001
  },
5015
5002
  d(i) {
5016
- i && B(t), s.d(i);
5003
+ i && S(t), s.d(i);
5017
5004
  }
5018
5005
  };
5019
5006
  }
5020
- function $i(e) {
5007
+ function Ji(e) {
5021
5008
  let t, r = (
5022
5009
  /*$_*/
5023
- e[19]("invalidNewPassword") + ""
5010
+ e[20]("invalidNewPassword") + ""
5024
5011
  ), n;
5025
5012
  return {
5026
5013
  c() {
5027
5014
  t = P("p"), n = I(r), l(t, "class", "InvalidInputNew");
5028
5015
  },
5029
5016
  m(s, i) {
5030
- H(s, t, i), f(t, n);
5017
+ B(s, t, i), f(t, n);
5031
5018
  },
5032
5019
  p(s, i) {
5033
5020
  i[0] & /*$_*/
5034
- 524288 && r !== (r = /*$_*/
5035
- s[19]("invalidNewPassword") + "") && U(n, r);
5021
+ 1048576 && r !== (r = /*$_*/
5022
+ s[20]("invalidNewPassword") + "") && G(n, r);
5036
5023
  },
5037
5024
  d(s) {
5038
- s && B(t);
5025
+ s && S(t);
5039
5026
  }
5040
5027
  };
5041
5028
  }
5042
- function Gi(e) {
5029
+ function Ki(e) {
5043
5030
  let t, r = (
5044
5031
  /*$_*/
5045
- e[19]("invalidPasswordRule") + ""
5032
+ e[20]("invalidPasswordRule") + ""
5046
5033
  ), n;
5047
5034
  return {
5048
5035
  c() {
5049
5036
  t = P("p"), n = I(r), l(t, "class", "InvalidInput");
5050
5037
  },
5051
5038
  m(s, i) {
5052
- H(s, t, i), f(t, n);
5039
+ B(s, t, i), f(t, n);
5053
5040
  },
5054
5041
  p(s, i) {
5055
5042
  i[0] & /*$_*/
5056
- 524288 && r !== (r = /*$_*/
5057
- s[19]("invalidPasswordRule") + "") && U(n, r);
5043
+ 1048576 && r !== (r = /*$_*/
5044
+ s[20]("invalidPasswordRule") + "") && G(n, r);
5058
5045
  },
5059
5046
  d(s) {
5060
- s && B(t);
5047
+ s && S(t);
5061
5048
  }
5062
5049
  };
5063
5050
  }
5064
- function ji(e) {
5051
+ function eo(e) {
5065
5052
  let t, r = (
5066
5053
  /*$_*/
5067
- e[19]("simplePasswordError") + ""
5054
+ e[20]("simplePasswordError") + ""
5068
5055
  ), n;
5069
5056
  return {
5070
5057
  c() {
5071
5058
  t = P("p"), n = I(r), l(t, "class", "InvalidInput");
5072
5059
  },
5073
5060
  m(s, i) {
5074
- H(s, t, i), f(t, n);
5061
+ B(s, t, i), f(t, n);
5075
5062
  },
5076
5063
  p(s, i) {
5077
5064
  i[0] & /*$_*/
5078
- 524288 && r !== (r = /*$_*/
5079
- s[19]("simplePasswordError") + "") && U(n, r);
5065
+ 1048576 && r !== (r = /*$_*/
5066
+ s[20]("simplePasswordError") + "") && G(n, r);
5080
5067
  },
5081
5068
  d(s) {
5082
- s && B(t);
5069
+ s && S(t);
5083
5070
  }
5084
5071
  };
5085
5072
  }
5086
- function Vi(e) {
5087
- let t, r, n, s, i, a, o, u, h, c;
5073
+ function to(e) {
5074
+ let t, r, n, s, i, o, a, h, u, c;
5088
5075
  return {
5089
5076
  c() {
5090
- t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"), o = g("circle"), l(a, "class", "a"), l(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(a, "transform", "translate(0)"), l(o, "class", "a"), l(o, "cx", "2.779"), l(o, "cy", "2.779"), l(o, "r", "2.779"), l(o, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
5077
+ t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), a = g("circle"), l(o, "class", "a"), l(o, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(o, "transform", "translate(0)"), l(a, "class", "a"), l(a, "cx", "2.779"), l(a, "cy", "2.779"), l(a, "r", "2.779"), l(a, "transform", "translate(20.827 30.303)"), l(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", h = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
5091
5078
  (e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
5092
- (e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
5079
+ (e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
5093
5080
  },
5094
5081
  m(d, p) {
5095
- H(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), h || (c = z(
5082
+ B(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), u || (c = q(
5096
5083
  t,
5097
5084
  "click",
5098
5085
  /*click_handler_6*/
5099
- e[44]
5100
- ), h = !0);
5086
+ e[50]
5087
+ ), u = !0);
5101
5088
  },
5102
5089
  p(d, p) {
5103
5090
  p[0] & /*invalidConfirmPassword*/
5104
- 64 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
5091
+ 64 && h !== (h = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
5105
5092
  (d[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
5106
- (d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
5093
+ (d[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", h);
5107
5094
  },
5108
5095
  d(d) {
5109
- d && B(t), h = !1, c();
5096
+ d && S(t), u = !1, c();
5110
5097
  }
5111
5098
  };
5112
5099
  }
5113
- function zi(e) {
5114
- let t, r, n, s, i, a, o, u, h, c, d, p, m, v, b, E;
5100
+ function ro(e) {
5101
+ let t, r, n, s, i, o, a, h, u, c, d, p, m, y, w, E;
5115
5102
  return {
5116
5103
  c() {
5117
- t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"), o = g("g"), u = g("path"), h = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(a, "class", "a"), l(a, "cx", "0.05"), l(a, "cy", "0.05"), l(a, "r", "0.05"), l(a, "transform", "translate(121.017 31.148)"), l(u, "class", "a"), l(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(u, "transform", "translate(-142.164 -39.123)"), l(h, "class", "a"), l(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(h, "transform", "translate(-136.413 -42.068)"), l(o, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
5104
+ t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), a = g("g"), h = g("path"), u = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(o, "class", "a"), l(o, "cx", "0.05"), l(o, "cy", "0.05"), l(o, "r", "0.05"), l(o, "transform", "translate(121.017 31.148)"), l(h, "class", "a"), l(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(h, "transform", "translate(-142.164 -39.123)"), l(u, "class", "a"), l(u, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(u, "transform", "translate(-136.413 -42.068)"), l(a, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", y = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
5118
5105
  (e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
5119
- (e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
5106
+ (e[21] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
5120
5107
  },
5121
- m(y, A) {
5122
- H(y, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), f(o, u), f(o, h), f(i, c), f(c, d), f(c, p), f(i, m), b || (E = z(
5108
+ m(_, A) {
5109
+ B(_, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, o), f(i, a), f(a, h), f(a, u), f(i, c), f(c, d), f(c, p), f(i, m), w || (E = q(
5123
5110
  t,
5124
5111
  "click",
5125
5112
  /*click_handler_5*/
5126
- e[43]
5127
- ), b = !0);
5113
+ e[49]
5114
+ ), w = !0);
5128
5115
  },
5129
- p(y, A) {
5116
+ p(_, A) {
5130
5117
  A[0] & /*invalidConfirmPassword*/
5131
- 64 && v !== (v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
5132
- (y[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
5133
- (y[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
5118
+ 64 && y !== (y = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
5119
+ (_[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
5120
+ (_[21] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", y);
5134
5121
  },
5135
- d(y) {
5136
- y && B(t), b = !1, E();
5122
+ d(_) {
5123
+ _ && S(t), w = !1, E();
5137
5124
  }
5138
5125
  };
5139
5126
  }
5140
- function dr(e) {
5127
+ function gr(e) {
5141
5128
  let t, r = (
5142
5129
  /*$_*/
5143
- e[19]("confirmPasswordInvalid") + ""
5130
+ e[20]("confirmPasswordInvalid") + ""
5144
5131
  ), n;
5145
5132
  return {
5146
5133
  c() {
5147
5134
  t = P("p"), n = I(r), l(t, "class", "InvalidInput");
5148
5135
  },
5149
5136
  m(s, i) {
5150
- H(s, t, i), f(t, n);
5137
+ B(s, t, i), f(t, n);
5151
5138
  },
5152
5139
  p(s, i) {
5153
5140
  i[0] & /*$_*/
5154
- 524288 && r !== (r = /*$_*/
5155
- s[19]("confirmPasswordInvalid") + "") && U(n, r);
5141
+ 1048576 && r !== (r = /*$_*/
5142
+ s[20]("confirmPasswordInvalid") + "") && G(n, r);
5156
5143
  },
5157
5144
  d(s) {
5158
- s && B(t);
5145
+ s && S(t);
5159
5146
  }
5160
5147
  };
5161
5148
  }
5162
- function pr(e) {
5149
+ function br(e) {
5163
5150
  let t, r, n;
5164
5151
  return {
5165
5152
  c() {
@@ -5169,280 +5156,321 @@ function pr(e) {
5169
5156
  ), l(r, "class", "PasswordChangedError");
5170
5157
  },
5171
5158
  m(s, i) {
5172
- H(s, t, i), f(t, r), f(r, n);
5159
+ B(s, t, i), f(t, r), f(r, n);
5173
5160
  },
5174
5161
  p(s, i) {
5175
5162
  i[0] & /*errorPasswordChanged*/
5176
- 131072 && U(
5163
+ 131072 && G(
5177
5164
  n,
5178
5165
  /*errorPasswordChanged*/
5179
5166
  s[17]
5180
5167
  );
5181
5168
  },
5182
5169
  d(s) {
5183
- s && B(t);
5170
+ s && S(t);
5184
5171
  }
5185
5172
  };
5186
5173
  }
5187
- function Wi(e) {
5174
+ function no(e) {
5188
5175
  let t;
5189
- function r(i, a) {
5190
- return Ai;
5176
+ function r(i, o) {
5177
+ return Di;
5191
5178
  }
5192
5179
  let s = r()(e);
5193
5180
  return {
5194
5181
  c() {
5195
5182
  t = P("div"), s.c();
5196
5183
  },
5197
- m(i, a) {
5198
- H(i, t, a), s.m(t, null), e[48](t);
5184
+ m(i, o) {
5185
+ B(i, t, o), s.m(t, null), e[54](t);
5199
5186
  },
5200
- p(i, a) {
5201
- s.p(i, a);
5187
+ p(i, o) {
5188
+ s.p(i, o);
5202
5189
  },
5203
- i: ne,
5204
- o: ne,
5190
+ i: le,
5191
+ o: le,
5205
5192
  d(i) {
5206
- i && B(t), s.d(), e[48](null);
5193
+ i && S(t), s.d(), e[54](null);
5207
5194
  }
5208
5195
  };
5209
5196
  }
5210
- function Xi(e, t, r) {
5197
+ function so(e, t, r) {
5211
5198
  let n;
5212
- Jr(e, yi, (w) => r(19, n = w));
5213
- let { lang: s = "en" } = t, { simplepasswordvalidation: i = "false" } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, d, p, m = window.navigator.userAgent, v = _i(m) !== "PC", b = !1;
5199
+ ln(e, Hi, (v) => r(20, n = v));
5200
+ let { lang: s = "en" } = t, { simplepasswordvalidation: i = "false" } = t, { useregispasswordcheck: o = "false" } = t, { endpoint: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: d = "" } = t, { passwordregex: p = "" } = t, m, y, w = window.navigator.userAgent, E = Ii(w) !== "PC", _ = !1;
5214
5201
  window.matchMedia("(min-width: 768px)");
5215
- const E = {
5202
+ const A = {
5216
5203
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
5217
5204
  };
5218
- let y = !1, A = !1, O = !1, k, D, M, X = !1, ee = !1, $ = !1, R = !1, S = "", Z = "", Q = "", me = !1, ke = "", Y = !1;
5219
- const Ze = () => {
5220
- fetch(h).then((x) => x.json()).then((x) => {
5221
- Object.keys(x).forEach((_) => {
5222
- hr(_, x[_]);
5205
+ let O = !1, U = !1, F = !1, M, j, K, $ = !1, R = !1, H = !1, fe = !1, V = "", D = "", z = "", ee = !1, Ge = "", Pe = !1, ue = null, de = !1, he = 0;
5206
+ const ve = () => {
5207
+ fetch(d).then((oe) => oe.json()).then((oe) => {
5208
+ Object.keys(oe).forEach((ze) => {
5209
+ dr(ze, oe[ze]);
5223
5210
  });
5224
- }).catch((x) => {
5225
- console.log(x);
5211
+ }).catch((oe) => {
5212
+ console.log(oe);
5226
5213
  });
5227
5214
  };
5228
- Object.keys(cr).forEach((w) => {
5229
- hr(w, cr[w]);
5215
+ Object.keys(pr).forEach((v) => {
5216
+ dr(v, pr[v]);
5230
5217
  });
5231
- const te = (w) => {
5232
- switch (w) {
5218
+ const W = (v) => {
5219
+ switch (v) {
5233
5220
  case "userCurrentPassword":
5234
- r(10, X = !X), r(7, k.type = X ? "text" : "password", k);
5221
+ r(10, $ = !$), r(7, M.type = $ ? "text" : "password", M);
5235
5222
  break;
5236
5223
  case "userNewPassword":
5237
- r(11, ee = !ee), r(8, D.type = ee ? "text" : "password", D);
5224
+ r(11, R = !R), r(8, j.type = R ? "text" : "password", j);
5238
5225
  break;
5239
5226
  case "userConfirmPassword":
5240
- r(12, $ = !$), r(9, M.type = $ ? "text" : "password", M);
5227
+ r(12, H = !H), r(9, K.type = H ? "text" : "password", K);
5241
5228
  break;
5242
5229
  }
5243
5230
  }, ge = () => {
5244
- i == "true" && (E.password = /^(?!.* ).{8,20}$/);
5245
- }, De = (w, x, _) => {
5246
- _.id === "CurrentPassword" ? x.length > 1e3 ? r(4, y = !0) : r(4, y = !1) : _.id === "NewPassword" ? (r(5, A = !ie(x)), S && r(13, R = S === Z), Q && r(6, O = Z === Q ? !ie(x) : !0)) : r(6, O = Z === Q ? !ie(x) : !0), fe();
5247
- }, ie = (w) => !!E.password.test(w), fe = () => {
5248
- !y && !A && !O && !R && S && Z && Q ? r(3, b = !0) : r(3, b = !1);
5249
- }, re = (w) => {
5250
- w.preventDefault(), b && window.postMessage(
5231
+ D && r(5, U = !re(D)), z && r(6, F = D !== z || !re(z)), r(13, fe = !!V && V === D), ye();
5232
+ }, $e = async (v, oe) => {
5233
+ const ze = ++he;
5234
+ if (r(19, ue = null), de = v === "true", ye(), de) {
5235
+ try {
5236
+ const on = await Mi(oe);
5237
+ if (ze !== he)
5238
+ return;
5239
+ r(19, ue = on);
5240
+ } catch {
5241
+ if (ze !== he)
5242
+ return;
5243
+ }
5244
+ de = !1;
5245
+ }
5246
+ ge();
5247
+ }, pe = (v, oe) => {
5248
+ oe.id === "CurrentPassword" ? v.length > 1e3 ? r(4, O = !0) : r(4, O = !1) : oe.id === "NewPassword" ? (r(5, U = !re(v)), z && r(6, F = D === z ? !re(v) : !0)) : r(6, F = D === z ? !re(v) : !0), r(13, fe = !!V && V === D), ye();
5249
+ }, re = (v) => de ? !1 : ue ? ue(v) : A.password.test(v), ye = () => {
5250
+ !de && !O && !U && !F && !fe && V && V.length <= 1e3 && D && z && D === z && re(D) && re(z) ? r(3, _ = !0) : r(3, _ = !1);
5251
+ }, je = (v) => {
5252
+ v.preventDefault(), ge(), _ && window.postMessage(
5251
5253
  {
5252
5254
  type: "ChangePassword",
5253
- userCurrentPassword: S,
5254
- userNewPassword: Z
5255
+ userCurrentPassword: V,
5256
+ userNewPassword: D
5255
5257
  },
5256
5258
  window.location.href
5257
5259
  );
5258
- }, ue = () => {
5260
+ }, ie = () => {
5259
5261
  window.postMessage(
5260
5262
  {
5261
5263
  type: "PlayerAccountMenuActive",
5262
- isMobile: v
5264
+ isMobile: E
5263
5265
  },
5264
5266
  window.location.href
5265
5267
  );
5266
- }, be = () => {
5268
+ }, Ve = () => {
5267
5269
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
5268
- }, we = () => {
5269
- Pi(s);
5270
- }, de = (w) => {
5271
- if (w.data)
5272
- switch (w.data.type) {
5270
+ }, xe = () => {
5271
+ Ni(s);
5272
+ }, te = (v) => {
5273
+ if (v.data)
5274
+ switch (v.data.type) {
5273
5275
  case "PasswordChangedSuccessfully":
5274
- r(2, me = !0);
5276
+ r(2, ee = !0);
5275
5277
  break;
5276
5278
  case "ShowPasswordChangedError":
5277
- r(18, Y = w.data.showErrorPasswordChanged), r(17, ke = w.data.errorPasswordChanged);
5279
+ r(18, Pe = v.data.showErrorPasswordChanged), r(17, Ge = v.data.errorPasswordChanged);
5278
5280
  break;
5279
5281
  }
5280
5282
  };
5281
- sn(() => (window.addEventListener("message", de, !1), () => {
5282
- window.removeEventListener("message", de);
5283
+ mn(() => (window.addEventListener("message", te, !1), () => {
5284
+ he++, window.removeEventListener("message", te);
5283
5285
  }));
5284
- const Ue = () => ue();
5285
- function Ye() {
5286
- S = this.value, r(14, S);
5286
+ const X = () => ie();
5287
+ function Ke() {
5288
+ V = this.value, r(14, V);
5287
5289
  }
5288
- function ae(w) {
5289
- Se[w ? "unshift" : "push"](() => {
5290
- k = w, r(7, k);
5290
+ const Ee = () => pe(V, M);
5291
+ function ne(v) {
5292
+ Ie[v ? "unshift" : "push"](() => {
5293
+ M = v, r(7, M);
5291
5294
  });
5292
5295
  }
5293
- const Qe = () => te("userCurrentPassword"), ve = () => te("userCurrentPassword");
5294
- function J() {
5295
- Z = this.value, r(15, Z);
5296
+ const et = () => W("userCurrentPassword"), be = () => W("userCurrentPassword");
5297
+ function Z() {
5298
+ D = this.value, r(15, D);
5296
5299
  }
5297
- function G(w) {
5298
- Se[w ? "unshift" : "push"](() => {
5299
- D = w, r(8, D);
5300
+ const tt = () => pe(D, j);
5301
+ function Te(v) {
5302
+ Ie[v ? "unshift" : "push"](() => {
5303
+ j = v, r(8, j);
5300
5304
  });
5301
5305
  }
5302
- const Je = () => te("userNewPassword"), ye = () => te("userNewPassword");
5303
- function q() {
5304
- Q = this.value, r(16, Q);
5306
+ const se = () => W("userNewPassword"), Y = () => W("userNewPassword");
5307
+ function Q() {
5308
+ z = this.value, r(16, z);
5305
5309
  }
5306
- function qe(w) {
5307
- Se[w ? "unshift" : "push"](() => {
5308
- M = w, r(9, M);
5310
+ const b = () => pe(z, K);
5311
+ function x(v) {
5312
+ Ie[v ? "unshift" : "push"](() => {
5313
+ K = v, r(9, K);
5309
5314
  });
5310
5315
  }
5311
- const he = () => te("userConfirmPassword"), j = () => te("userConfirmPassword"), Ke = (w) => re(w), _e = () => ue(), K = () => be();
5312
- function V(w) {
5313
- Se[w ? "unshift" : "push"](() => {
5314
- d = w, r(1, d);
5316
+ const Kr = () => W("userConfirmPassword"), en = () => W("userConfirmPassword"), tn = (v) => je(v), rn = () => ie(), nn = () => Ve();
5317
+ function sn(v) {
5318
+ Ie[v ? "unshift" : "push"](() => {
5319
+ m = v, r(1, m);
5315
5320
  });
5316
5321
  }
5317
- return e.$$set = (w) => {
5318
- "lang" in w && r(26, s = w.lang), "simplepasswordvalidation" in w && r(0, i = w.simplepasswordvalidation), "clientstyling" in w && r(27, a = w.clientstyling), "clientstylingurl" in w && r(28, o = w.clientstylingurl), "mbsource" in w && r(29, u = w.mbsource), "translationurl" in w && r(30, h = w.translationurl), "passwordregex" in w && r(31, c = w.passwordregex);
5322
+ return e.$$set = (v) => {
5323
+ "lang" in v && r(27, s = v.lang), "simplepasswordvalidation" in v && r(0, i = v.simplepasswordvalidation), "useregispasswordcheck" in v && r(28, o = v.useregispasswordcheck), "endpoint" in v && r(29, a = v.endpoint), "clientstyling" in v && r(30, h = v.clientstyling), "clientstylingurl" in v && r(31, u = v.clientstylingurl), "mbsource" in v && r(32, c = v.mbsource), "translationurl" in v && r(33, d = v.translationurl), "passwordregex" in v && r(34, p = v.passwordregex);
5319
5324
  }, e.$$.update = () => {
5320
5325
  e.$$.dirty[0] & /*simplepasswordvalidation*/
5321
- 1 && i && ge(), e.$$.dirty[1] & /*passwordregex*/
5322
- 1 && c && (E.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
5323
- 67108864 && s && we(), e.$$.dirty[0] & /*passwordChanged*/
5326
+ 1 | e.$$.dirty[1] & /*passwordregex*/
5327
+ 8 && (A.password = p ? new RegExp(p) : i === "true" ? /^(?!.* ).{8,20}$/ : /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/, ge()), e.$$.dirty[0] & /*useregispasswordcheck, endpoint*/
5328
+ 805306368 && $e(o, a), e.$$.dirty[0] & /*lang*/
5329
+ 134217728 && s && xe(), e.$$.dirty[0] & /*passwordChanged*/
5324
5330
  4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5325
- 134217730 && a && d && Ei(d, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5326
- 268435458 && o && d && xi(d, o), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5327
- 536870914 && u && d && Ti(d, `${u}.Style`, p), e.$$.dirty[0] & /*translationurl*/
5328
- 1073741824 && h && Ze();
5331
+ 1073741826 && h && m && Oi(m, h), e.$$.dirty[0] & /*customStylingContainer*/
5332
+ 2 | e.$$.dirty[1] & /*clientstylingurl*/
5333
+ 1 && u && m && Ri(m, u), e.$$.dirty[0] & /*customStylingContainer*/
5334
+ 2 | e.$$.dirty[1] & /*mbsource*/
5335
+ 2 && c && m && Li(m, `${c}.Style`, y), e.$$.dirty[1] & /*translationurl*/
5336
+ 4 && d && ve();
5329
5337
  }, [
5330
5338
  i,
5331
- d,
5332
- me,
5333
- b,
5334
- y,
5335
- A,
5339
+ m,
5340
+ ee,
5341
+ _,
5336
5342
  O,
5337
- k,
5338
- D,
5343
+ U,
5344
+ F,
5339
5345
  M,
5340
- X,
5341
- ee,
5346
+ j,
5347
+ K,
5342
5348
  $,
5343
5349
  R,
5344
- S,
5345
- Z,
5346
- Q,
5347
- ke,
5348
- Y,
5349
- n,
5350
- v,
5351
- te,
5352
- De,
5353
- re,
5350
+ H,
5351
+ fe,
5352
+ V,
5353
+ D,
5354
+ z,
5355
+ Ge,
5356
+ Pe,
5354
5357
  ue,
5355
- be,
5358
+ n,
5359
+ E,
5360
+ W,
5361
+ pe,
5362
+ je,
5363
+ ie,
5364
+ Ve,
5356
5365
  s,
5357
- a,
5358
5366
  o,
5359
- u,
5367
+ a,
5360
5368
  h,
5369
+ u,
5361
5370
  c,
5362
- Ue,
5363
- Ye,
5364
- ae,
5365
- Qe,
5366
- ve,
5367
- J,
5368
- G,
5369
- Je,
5370
- ye,
5371
- q,
5372
- qe,
5373
- he,
5374
- j,
5371
+ d,
5372
+ p,
5373
+ X,
5375
5374
  Ke,
5376
- _e,
5377
- K,
5378
- V
5375
+ Ee,
5376
+ ne,
5377
+ et,
5378
+ be,
5379
+ Z,
5380
+ tt,
5381
+ Te,
5382
+ se,
5383
+ Y,
5384
+ Q,
5385
+ b,
5386
+ x,
5387
+ Kr,
5388
+ en,
5389
+ tn,
5390
+ rn,
5391
+ nn,
5392
+ sn
5379
5393
  ];
5380
5394
  }
5381
- class Zi extends bn {
5395
+ class io extends Sn {
5382
5396
  constructor(t) {
5383
- super(), mn(
5397
+ super(), Tn(
5384
5398
  this,
5385
5399
  t,
5386
- Xi,
5387
- Wi,
5388
- gr,
5400
+ so,
5401
+ no,
5402
+ vr,
5389
5403
  {
5390
- lang: 26,
5404
+ lang: 27,
5391
5405
  simplepasswordvalidation: 0,
5392
- clientstyling: 27,
5393
- clientstylingurl: 28,
5394
- mbsource: 29,
5395
- translationurl: 30,
5396
- passwordregex: 31
5406
+ useregispasswordcheck: 28,
5407
+ endpoint: 29,
5408
+ clientstyling: 30,
5409
+ clientstylingurl: 31,
5410
+ mbsource: 32,
5411
+ translationurl: 33,
5412
+ passwordregex: 34
5397
5413
  },
5398
- Bi,
5399
- [-1, -1]
5414
+ Ui,
5415
+ [-1, -1, -1]
5400
5416
  );
5401
5417
  }
5402
5418
  get lang() {
5403
- return this.$$.ctx[26];
5419
+ return this.$$.ctx[27];
5404
5420
  }
5405
5421
  set lang(t) {
5406
- this.$$set({ lang: t }), oe();
5422
+ this.$$set({ lang: t }), ae();
5407
5423
  }
5408
5424
  get simplepasswordvalidation() {
5409
5425
  return this.$$.ctx[0];
5410
5426
  }
5411
5427
  set simplepasswordvalidation(t) {
5412
- this.$$set({ simplepasswordvalidation: t }), oe();
5428
+ this.$$set({ simplepasswordvalidation: t }), ae();
5429
+ }
5430
+ get useregispasswordcheck() {
5431
+ return this.$$.ctx[28];
5432
+ }
5433
+ set useregispasswordcheck(t) {
5434
+ this.$$set({ useregispasswordcheck: t }), ae();
5435
+ }
5436
+ get endpoint() {
5437
+ return this.$$.ctx[29];
5438
+ }
5439
+ set endpoint(t) {
5440
+ this.$$set({ endpoint: t }), ae();
5413
5441
  }
5414
5442
  get clientstyling() {
5415
- return this.$$.ctx[27];
5443
+ return this.$$.ctx[30];
5416
5444
  }
5417
5445
  set clientstyling(t) {
5418
- this.$$set({ clientstyling: t }), oe();
5446
+ this.$$set({ clientstyling: t }), ae();
5419
5447
  }
5420
5448
  get clientstylingurl() {
5421
- return this.$$.ctx[28];
5449
+ return this.$$.ctx[31];
5422
5450
  }
5423
5451
  set clientstylingurl(t) {
5424
- this.$$set({ clientstylingurl: t }), oe();
5452
+ this.$$set({ clientstylingurl: t }), ae();
5425
5453
  }
5426
5454
  get mbsource() {
5427
- return this.$$.ctx[29];
5455
+ return this.$$.ctx[32];
5428
5456
  }
5429
5457
  set mbsource(t) {
5430
- this.$$set({ mbsource: t }), oe();
5458
+ this.$$set({ mbsource: t }), ae();
5431
5459
  }
5432
5460
  get translationurl() {
5433
- return this.$$.ctx[30];
5461
+ return this.$$.ctx[33];
5434
5462
  }
5435
5463
  set translationurl(t) {
5436
- this.$$set({ translationurl: t }), oe();
5464
+ this.$$set({ translationurl: t }), ae();
5437
5465
  }
5438
5466
  get passwordregex() {
5439
- return this.$$.ctx[31];
5467
+ return this.$$.ctx[34];
5440
5468
  }
5441
5469
  set passwordregex(t) {
5442
- this.$$set({ passwordregex: t }), oe();
5470
+ this.$$set({ passwordregex: t }), ae();
5443
5471
  }
5444
5472
  }
5445
- gn(Zi, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
5473
+ Cn(io, { lang: {}, simplepasswordvalidation: {}, useregispasswordcheck: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
5446
5474
  export {
5447
- Zi as P
5475
+ io as P
5448
5476
  };