@everymatrix/player-account-biometrics 1.55.0 → 1.56.0

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 C() {
1
+ function I() {
2
2
  }
3
- function Bt(e) {
3
+ function Et(e) {
4
4
  return e();
5
5
  }
6
- function Ke() {
6
+ function Qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Bt);
9
+ function ae(e) {
10
+ e.forEach(Et);
11
11
  }
12
12
  function We(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function St(e, t) {
15
+ function _t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function or(e) {
18
+ function tr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Tt(e, ...t) {
21
+ function xt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return C;
25
+ return I;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function sr(e, t, r) {
31
- e.$$.on_destroy.push(Tt(t, r));
30
+ function rr(e, t, r) {
31
+ e.$$.on_destroy.push(xt(t, r));
32
32
  }
33
33
  function E(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function ar(e, t, r) {
37
- const n = ur(e);
36
+ function nr(e, t, r) {
37
+ const n = ir(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = I("style");
40
- i.id = t, i.textContent = r, hr(n, i);
39
+ const i = O("style");
40
+ i.id = t, i.textContent = r, or(n, i);
41
41
  }
42
42
  }
43
- function ur(e) {
43
+ function ir(e) {
44
44
  if (!e) return document;
45
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return t && /** @type {ShadowRoot} */
@@ -49,7 +49,7 @@ function ur(e) {
49
49
  t
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function hr(e, t) {
52
+ function or(e, t) {
53
53
  return E(
54
54
  /** @type {Document} */
55
55
  e.head || e,
@@ -59,10 +59,10 @@ function hr(e, t) {
59
59
  function ze(e, t, r) {
60
60
  e.insertBefore(t, r || null);
61
61
  }
62
- function de(e) {
62
+ function ge(e) {
63
63
  e.parentNode && e.parentNode.removeChild(e);
64
64
  }
65
- function I(e) {
65
+ function O(e) {
66
66
  return document.createElement(e);
67
67
  }
68
68
  function F(e) {
@@ -74,20 +74,20 @@ function U(e) {
74
74
  function te() {
75
75
  return U(" ");
76
76
  }
77
- function Ht(e, t, r, n) {
77
+ function Bt(e, t, r, n) {
78
78
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
79
79
  }
80
80
  function B(e, t, r) {
81
81
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
82
82
  }
83
- function lr(e) {
83
+ function sr(e) {
84
84
  return Array.from(e.childNodes);
85
85
  }
86
86
  function re(e, t) {
87
87
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
88
88
  t);
89
89
  }
90
- function cr(e) {
90
+ function ar(e) {
91
91
  const t = {};
92
92
  return e.childNodes.forEach(
93
93
  /** @param {Element} node */
@@ -96,31 +96,38 @@ function cr(e) {
96
96
  }
97
97
  ), t;
98
98
  }
99
- let Ze;
99
+ let ie;
100
100
  function ne(e) {
101
- Ze = e;
101
+ ie = e;
102
+ }
103
+ function ur() {
104
+ if (!ie) throw new Error("Function called outside component initialization");
105
+ return ie;
106
+ }
107
+ function hr(e) {
108
+ ur().$$.on_mount.push(e);
102
109
  }
103
110
  const V = [], Oe = [];
104
111
  let X = [];
105
- const et = [], fr = /* @__PURE__ */ Promise.resolve();
112
+ const Je = [], lr = /* @__PURE__ */ Promise.resolve();
106
113
  let Ie = !1;
107
- function pr() {
108
- Ie || (Ie = !0, fr.then(D));
114
+ function cr() {
115
+ Ie || (Ie = !0, lr.then($));
109
116
  }
110
117
  function Ne(e) {
111
118
  X.push(e);
112
119
  }
113
- const xe = /* @__PURE__ */ new Set();
120
+ const Be = /* @__PURE__ */ new Set();
114
121
  let j = 0;
115
- function D() {
122
+ function $() {
116
123
  if (j !== 0)
117
124
  return;
118
- const e = Ze;
125
+ const e = ie;
119
126
  do {
120
127
  try {
121
128
  for (; j < V.length; ) {
122
129
  const t = V[j];
123
- j++, ne(t), mr(t.$$);
130
+ j++, ne(t), fr(t.$$);
124
131
  }
125
132
  } catch (t) {
126
133
  throw V.length = 0, j = 0, t;
@@ -128,54 +135,54 @@ function D() {
128
135
  for (ne(null), V.length = 0, j = 0; Oe.length; ) Oe.pop()();
129
136
  for (let t = 0; t < X.length; t += 1) {
130
137
  const r = X[t];
131
- xe.has(r) || (xe.add(r), r());
138
+ Be.has(r) || (Be.add(r), r());
132
139
  }
133
140
  X.length = 0;
134
141
  } while (V.length);
135
- for (; et.length; )
136
- et.pop()();
137
- Ie = !1, xe.clear(), ne(e);
142
+ for (; Je.length; )
143
+ Je.pop()();
144
+ Ie = !1, Be.clear(), ne(e);
138
145
  }
139
- function mr(e) {
146
+ function fr(e) {
140
147
  if (e.fragment !== null) {
141
- e.update(), se(e.before_update);
148
+ e.update(), ae(e.before_update);
142
149
  const t = e.dirty;
143
150
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
144
151
  }
145
152
  }
146
- function br(e) {
153
+ function pr(e) {
147
154
  const t = [], r = [];
148
155
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
149
156
  }
150
- const dr = /* @__PURE__ */ new Set();
151
- function gr(e, t) {
152
- e && e.i && (dr.delete(e), e.i(t));
157
+ const mr = /* @__PURE__ */ new Set();
158
+ function br(e, t) {
159
+ e && e.i && (mr.delete(e), e.i(t));
153
160
  }
154
- function yr(e, t, r) {
161
+ function dr(e, t, r) {
155
162
  const { fragment: n, after_update: i } = e.$$;
156
163
  n && n.m(t, r), Ne(() => {
157
- const o = e.$$.on_mount.map(Bt).filter(We);
158
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
164
+ const o = e.$$.on_mount.map(Et).filter(We);
165
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
159
166
  }), i.forEach(Ne);
160
167
  }
161
- function vr(e, t) {
168
+ function gr(e, t) {
162
169
  const r = e.$$;
163
- r.fragment !== null && (br(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
170
+ r.fragment !== null && (pr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
164
171
  }
165
- function Er(e, t) {
166
- e.$$.dirty[0] === -1 && (V.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
172
+ function yr(e, t) {
173
+ e.$$.dirty[0] === -1 && (V.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
167
174
  }
168
- function _r(e, t, r, n, i, o, s = null, a = [-1]) {
169
- const h = Ze;
175
+ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
176
+ const h = ie;
170
177
  ne(e);
171
178
  const u = e.$$ = {
172
179
  fragment: null,
173
180
  ctx: [],
174
181
  // state
175
182
  props: o,
176
- update: C,
183
+ update: I,
177
184
  not_equal: i,
178
- bound: Ke(),
185
+ bound: Qe(),
179
186
  // lifecycle
180
187
  on_mount: [],
181
188
  on_destroy: [],
@@ -184,7 +191,7 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
184
191
  after_update: [],
185
192
  context: new Map(t.context || (h ? h.$$.context : [])),
186
193
  // everything else
187
- callbacks: Ke(),
194
+ callbacks: Qe(),
188
195
  dirty: a,
189
196
  skip_bound: !1,
190
197
  root: t.target || h.$$.root
@@ -192,20 +199,20 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
192
199
  s && s(u.root);
193
200
  let l = !1;
194
201
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
195
- const y = p.length ? p[0] : f;
196
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Er(e, c)), f;
197
- }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
202
+ const g = p.length ? p[0] : f;
203
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && yr(e, c)), f;
204
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
198
205
  if (t.hydrate) {
199
- const c = lr(t.target);
200
- u.fragment && u.fragment.l(c), c.forEach(de);
206
+ const c = sr(t.target);
207
+ u.fragment && u.fragment.l(c), c.forEach(ge);
201
208
  } else
202
209
  u.fragment && u.fragment.c();
203
- t.intro && gr(e.$$.fragment), yr(e, t.target, t.anchor), D();
210
+ t.intro && br(e.$$.fragment), dr(e, t.target, t.anchor), $();
204
211
  }
205
212
  ne(h);
206
213
  }
207
- let wt;
208
- typeof HTMLElement == "function" && (wt = class extends HTMLElement {
214
+ let St;
215
+ typeof HTMLElement == "function" && (St = class extends HTMLElement {
209
216
  /** The Svelte component constructor */
210
217
  $$ctor;
211
218
  /** Slots */
@@ -247,7 +254,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
247
254
  let o;
248
255
  return {
249
256
  c: function() {
250
- o = I("slot"), i !== "default" && B(o, "name", i);
257
+ o = O("slot"), i !== "default" && B(o, "name", i);
251
258
  },
252
259
  /**
253
260
  * @param {HTMLElement} target
@@ -257,19 +264,19 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
257
264
  ze(h, o, u);
258
265
  },
259
266
  d: function(h) {
260
- h && de(o);
267
+ h && ge(o);
261
268
  }
262
269
  };
263
270
  };
264
271
  };
265
272
  if (await Promise.resolve(), !this.$$cn || this.$$c)
266
273
  return;
267
- const t = {}, r = cr(this);
274
+ const t = {}, r = ar(this);
268
275
  for (const i of this.$$s)
269
276
  i in r && (t[i] = [e(i)]);
270
277
  for (const i of this.attributes) {
271
278
  const o = this.$$g_p(i.name);
272
- o in this.$$d || (this.$$d[o] = le(o, i.value, this.$$p_d, "toProp"));
279
+ o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
273
280
  }
274
281
  for (const i in this.$$p_d)
275
282
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -287,7 +294,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
287
294
  this.$$r = !0;
288
295
  for (const i in this.$$p_d)
289
296
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
290
- const o = le(
297
+ const o = ce(
291
298
  i,
292
299
  this.$$d[i],
293
300
  this.$$p_d,
@@ -309,7 +316,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
309
316
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
310
317
  // and setting attributes through setAttribute etc, this is helpful
311
318
  attributeChangedCallback(e, t, r) {
312
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
319
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
313
320
  }
314
321
  disconnectedCallback() {
315
322
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -322,7 +329,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
322
329
  ) || e;
323
330
  }
324
331
  });
325
- function le(e, t, r, n) {
332
+ function ce(e, t, r, n) {
326
333
  const i = r[e]?.type;
327
334
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
328
335
  return t;
@@ -351,8 +358,8 @@ function le(e, t, r, n) {
351
358
  return t;
352
359
  }
353
360
  }
354
- function xr(e, t, r, n, i, o) {
355
- let s = class extends wt {
361
+ function Er(e, t, r, n, i, o) {
362
+ let s = class extends St {
356
363
  constructor() {
357
364
  super(e, r, i), this.$$p_d = t;
358
365
  }
@@ -368,7 +375,7 @@ function xr(e, t, r, n, i, o) {
368
375
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
369
376
  },
370
377
  set(h) {
371
- h = le(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
378
+ h = ce(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
372
379
  }
373
380
  });
374
381
  }), n.forEach((a) => {
@@ -380,7 +387,7 @@ function xr(e, t, r, n, i, o) {
380
387
  }), e.element = /** @type {any} */
381
388
  s, s;
382
389
  }
383
- class Br {
390
+ class _r {
384
391
  /**
385
392
  * ### PRIVATE API
386
393
  *
@@ -399,7 +406,7 @@ class Br {
399
406
  $$set = void 0;
400
407
  /** @returns {void} */
401
408
  $destroy() {
402
- vr(this, 1), this.$destroy = C;
409
+ gr(this, 1), this.$destroy = I;
403
410
  }
404
411
  /**
405
412
  * @template {Extract<keyof Events, string>} K
@@ -409,7 +416,7 @@ class Br {
409
416
  */
410
417
  $on(t, r) {
411
418
  if (!We(r))
412
- return C;
419
+ return I;
413
420
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
414
421
  return n.push(r), () => {
415
422
  const i = n.indexOf(r);
@@ -421,37 +428,37 @@ class Br {
421
428
  * @returns {void}
422
429
  */
423
430
  $set(t) {
424
- this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
431
+ this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
425
432
  }
426
433
  }
427
- const Sr = "4";
428
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
429
- var Ce = function(e, t) {
430
- return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
434
+ const xr = "4";
435
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
436
+ var Me = function(e, t) {
437
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
431
438
  r.__proto__ = n;
432
439
  } || function(r, n) {
433
440
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
434
- }, Ce(e, t);
441
+ }, Me(e, t);
435
442
  };
436
- function L(e, t) {
443
+ function C(e, t) {
437
444
  if (typeof t != "function" && t !== null)
438
445
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
439
- Ce(e, t);
446
+ Me(e, t);
440
447
  function r() {
441
448
  this.constructor = e;
442
449
  }
443
450
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
444
451
  }
445
- var v = function() {
446
- return v = Object.assign || function(t) {
452
+ var y = function() {
453
+ return y = Object.assign || function(t) {
447
454
  for (var r, n = 1, i = arguments.length; n < i; n++) {
448
455
  r = arguments[n];
449
456
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
450
457
  }
451
458
  return t;
452
- }, v.apply(this, arguments);
459
+ }, y.apply(this, arguments);
453
460
  };
454
- function Tr(e, t) {
461
+ function Br(e, t) {
455
462
  var r = {};
456
463
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
457
464
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -459,7 +466,7 @@ function Tr(e, t) {
459
466
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
460
467
  return r;
461
468
  }
462
- function Me(e) {
469
+ function Le(e) {
463
470
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
464
471
  if (r) return r.call(e);
465
472
  if (e && typeof e.length == "number") return {
@@ -469,7 +476,7 @@ function Me(e) {
469
476
  };
470
477
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
471
478
  }
472
- function Le(e, t) {
479
+ function Ce(e, t) {
473
480
  var r = typeof Symbol == "function" && e[Symbol.iterator];
474
481
  if (!r) return e;
475
482
  var n = r.call(e), i, o = [], s;
@@ -491,16 +498,16 @@ function W(e, t, r) {
491
498
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
492
499
  return e.concat(o || Array.prototype.slice.call(t));
493
500
  }
494
- function M(e) {
501
+ function L(e) {
495
502
  return typeof e == "function";
496
503
  }
497
- function At(e) {
504
+ function Tt(e) {
498
505
  var t = function(n) {
499
506
  Error.call(n), n.stack = new Error().stack;
500
507
  }, r = e(t);
501
508
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
502
509
  }
503
- var Be = At(function(e) {
510
+ var Se = Tt(function(e) {
504
511
  return function(r) {
505
512
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
506
513
  ` + r.map(function(n, i) {
@@ -515,7 +522,7 @@ function $e(e, t) {
515
522
  0 <= r && e.splice(r, 1);
516
523
  }
517
524
  }
518
- var ge = function() {
525
+ var ye = function() {
519
526
  function e(t) {
520
527
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
521
528
  }
@@ -527,7 +534,7 @@ var ge = function() {
527
534
  if (s)
528
535
  if (this._parentage = null, Array.isArray(s))
529
536
  try {
530
- for (var a = Me(s), h = a.next(); !h.done; h = a.next()) {
537
+ for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
531
538
  var u = h.value;
532
539
  u.remove(this);
533
540
  }
@@ -543,22 +550,22 @@ var ge = function() {
543
550
  else
544
551
  s.remove(this);
545
552
  var l = this.initialTeardown;
546
- if (M(l))
553
+ if (L(l))
547
554
  try {
548
555
  l();
549
556
  } catch (m) {
550
- o = m instanceof Be ? m.errors : [m];
557
+ o = m instanceof Se ? m.errors : [m];
551
558
  }
552
559
  var c = this._finalizers;
553
560
  if (c) {
554
561
  this._finalizers = null;
555
562
  try {
556
- for (var f = Me(c), p = f.next(); !p.done; p = f.next()) {
557
- var y = p.value;
563
+ for (var f = Le(c), p = f.next(); !p.done; p = f.next()) {
564
+ var g = p.value;
558
565
  try {
559
- tt(y);
566
+ qe(g);
560
567
  } catch (m) {
561
- o = o ?? [], m instanceof Be ? o = W(W([], Le(o)), Le(m.errors)) : o.push(m);
568
+ o = o ?? [], m instanceof Se ? o = W(W([], Ce(o)), Ce(m.errors)) : o.push(m);
562
569
  }
563
570
  }
564
571
  } catch (m) {
@@ -572,13 +579,13 @@ var ge = function() {
572
579
  }
573
580
  }
574
581
  if (o)
575
- throw new Be(o);
582
+ throw new Se(o);
576
583
  }
577
584
  }, e.prototype.add = function(t) {
578
585
  var r;
579
586
  if (t && t !== this)
580
587
  if (this.closed)
581
- tt(t);
588
+ qe(t);
582
589
  else {
583
590
  if (t instanceof e) {
584
591
  if (t.closed || t._hasParent(this))
@@ -603,24 +610,20 @@ var ge = function() {
603
610
  var t = new e();
604
611
  return t.closed = !0, t;
605
612
  }(), e;
606
- }(), Pt = ge.EMPTY;
607
- function Ot(e) {
608
- return e instanceof ge || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
613
+ }(), wt = ye.EMPTY;
614
+ function Ht(e) {
615
+ return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
609
616
  }
610
- function tt(e) {
611
- M(e) ? e() : e.unsubscribe();
612
- }
613
- var It = {
614
- onUnhandledError: null,
615
- onStoppedNotification: null,
616
- Promise: void 0,
617
- useDeprecatedSynchronousErrorHandling: !1,
618
- useDeprecatedNextContext: !1
619
- }, Hr = {
617
+ function qe(e) {
618
+ L(e) ? e() : e.unsubscribe();
619
+ }
620
+ var Sr = {
621
+ Promise: void 0
622
+ }, Tr = {
620
623
  setTimeout: function(e, t) {
621
624
  for (var r = [], n = 2; n < arguments.length; n++)
622
625
  r[n - 2] = arguments[n];
623
- return setTimeout.apply(void 0, W([e, t], Le(r)));
626
+ return setTimeout.apply(void 0, W([e, t], Ce(r)));
624
627
  },
625
628
  clearTimeout: function(e) {
626
629
  return clearTimeout(e);
@@ -628,20 +631,20 @@ var It = {
628
631
  delegate: void 0
629
632
  };
630
633
  function wr(e) {
631
- Hr.setTimeout(function() {
634
+ Tr.setTimeout(function() {
632
635
  throw e;
633
636
  });
634
637
  }
635
- function rt() {
638
+ function Ke() {
636
639
  }
637
- function ce(e) {
640
+ function fe(e) {
638
641
  e();
639
642
  }
640
- var Nt = function(e) {
641
- L(t, e);
643
+ var At = function(e) {
644
+ C(t, e);
642
645
  function t(r) {
643
646
  var n = e.call(this) || this;
644
- return n.isStopped = !1, r ? (n.destination = r, Ot(r) && r.add(n)) : n.destination = Ir, n;
647
+ return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Pr, n;
645
648
  }
646
649
  return t.create = function(r, n, i) {
647
650
  return new Re(r, n, i);
@@ -668,11 +671,7 @@ var Nt = function(e) {
668
671
  this.unsubscribe();
669
672
  }
670
673
  }, t;
671
- }(ge), Ar = Function.prototype.bind;
672
- function Se(e, t) {
673
- return Ar.call(e, t);
674
- }
675
- var Pr = function() {
674
+ }(ye), Hr = function() {
676
675
  function e(t) {
677
676
  this.partialObserver = t;
678
677
  }
@@ -682,7 +681,7 @@ var Pr = function() {
682
681
  try {
683
682
  r.next(t);
684
683
  } catch (n) {
685
- ue(n);
684
+ he(n);
686
685
  }
687
686
  }, e.prototype.error = function(t) {
688
687
  var r = this.partialObserver;
@@ -690,68 +689,56 @@ var Pr = function() {
690
689
  try {
691
690
  r.error(t);
692
691
  } catch (n) {
693
- ue(n);
692
+ he(n);
694
693
  }
695
694
  else
696
- ue(t);
695
+ he(t);
697
696
  }, e.prototype.complete = function() {
698
697
  var t = this.partialObserver;
699
698
  if (t.complete)
700
699
  try {
701
700
  t.complete();
702
701
  } catch (r) {
703
- ue(r);
702
+ he(r);
704
703
  }
705
704
  }, e;
706
705
  }(), Re = function(e) {
707
- L(t, e);
706
+ C(t, e);
708
707
  function t(r, n, i) {
709
708
  var o = e.call(this) || this, s;
710
- if (M(r) || !r)
711
- s = {
712
- next: r ?? void 0,
713
- error: n ?? void 0,
714
- complete: i ?? void 0
715
- };
716
- else {
717
- var a;
718
- o && It.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
719
- return o.unsubscribe();
720
- }, s = {
721
- next: r.next && Se(r.next, a),
722
- error: r.error && Se(r.error, a),
723
- complete: r.complete && Se(r.complete, a)
724
- }) : s = r;
725
- }
726
- return o.destination = new Pr(s), o;
709
+ return L(r) || !r ? s = {
710
+ next: r ?? void 0,
711
+ error: n ?? void 0,
712
+ complete: i ?? void 0
713
+ } : s = r, o.destination = new Hr(s), o;
727
714
  }
728
715
  return t;
729
- }(Nt);
730
- function ue(e) {
716
+ }(At);
717
+ function he(e) {
731
718
  wr(e);
732
719
  }
733
- function Or(e) {
720
+ function Ar(e) {
734
721
  throw e;
735
722
  }
736
- var Ir = {
723
+ var Pr = {
737
724
  closed: !0,
738
- next: rt,
739
- error: Or,
740
- complete: rt
741
- }, Nr = function() {
725
+ next: Ke,
726
+ error: Ar,
727
+ complete: Ke
728
+ }, Or = function() {
742
729
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
743
730
  }();
744
- function Cr(e) {
731
+ function Ir(e) {
745
732
  return e;
746
733
  }
747
- function Mr(e) {
748
- return e.length === 0 ? Cr : e.length === 1 ? e[0] : function(r) {
734
+ function Nr(e) {
735
+ return e.length === 0 ? Ir : e.length === 1 ? e[0] : function(r) {
749
736
  return e.reduce(function(n, i) {
750
737
  return i(n);
751
738
  }, r);
752
739
  };
753
740
  }
754
- var nt = function() {
741
+ var et = function() {
755
742
  function e(t) {
756
743
  t && (this._subscribe = t);
757
744
  }
@@ -759,8 +746,8 @@ var nt = function() {
759
746
  var r = new e();
760
747
  return r.source = this, r.operator = t, r;
761
748
  }, e.prototype.subscribe = function(t, r, n) {
762
- var i = this, o = $r(t) ? t : new Re(t, r, n);
763
- return ce(function() {
749
+ var i = this, o = Lr(t) ? t : new Re(t, r, n);
750
+ return fe(function() {
764
751
  var s = i, a = s.operator, h = s.source;
765
752
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
766
753
  }), o;
@@ -772,7 +759,7 @@ var nt = function() {
772
759
  }
773
760
  }, e.prototype.forEach = function(t, r) {
774
761
  var n = this;
775
- return r = it(r), new r(function(i, o) {
762
+ return r = tt(r), new r(function(i, o) {
776
763
  var s = new Re({
777
764
  next: function(a) {
778
765
  try {
@@ -789,15 +776,15 @@ var nt = function() {
789
776
  }, e.prototype._subscribe = function(t) {
790
777
  var r;
791
778
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
792
- }, e.prototype[Nr] = function() {
779
+ }, e.prototype[Or] = function() {
793
780
  return this;
794
781
  }, e.prototype.pipe = function() {
795
782
  for (var t = [], r = 0; r < arguments.length; r++)
796
783
  t[r] = arguments[r];
797
- return Mr(t)(this);
784
+ return Nr(t)(this);
798
785
  }, e.prototype.toPromise = function(t) {
799
786
  var r = this;
800
- return t = it(t), new t(function(n, i) {
787
+ return t = tt(t), new t(function(n, i) {
801
788
  var o;
802
789
  r.subscribe(function(s) {
803
790
  return o = s;
@@ -811,40 +798,40 @@ var nt = function() {
811
798
  return new e(t);
812
799
  }, e;
813
800
  }();
814
- function it(e) {
801
+ function tt(e) {
815
802
  var t;
816
- return (t = e ?? It.Promise) !== null && t !== void 0 ? t : Promise;
803
+ return (t = e ?? Sr.Promise) !== null && t !== void 0 ? t : Promise;
817
804
  }
818
- function Lr(e) {
819
- return e && M(e.next) && M(e.error) && M(e.complete);
805
+ function Mr(e) {
806
+ return e && L(e.next) && L(e.error) && L(e.complete);
820
807
  }
821
- function $r(e) {
822
- return e && e instanceof Nt || Lr(e) && Ot(e);
808
+ function Lr(e) {
809
+ return e && e instanceof At || Mr(e) && Ht(e);
823
810
  }
824
- var Rr = At(function(e) {
811
+ var Cr = Tt(function(e) {
825
812
  return function() {
826
813
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
827
814
  };
828
- }), Ct = function(e) {
829
- L(t, e);
815
+ }), Pt = function(e) {
816
+ C(t, e);
830
817
  function t() {
831
818
  var r = e.call(this) || this;
832
819
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
833
820
  }
834
821
  return t.prototype.lift = function(r) {
835
- var n = new ot(this, this);
822
+ var n = new rt(this, this);
836
823
  return n.operator = r, n;
837
824
  }, t.prototype._throwIfClosed = function() {
838
825
  if (this.closed)
839
- throw new Rr();
826
+ throw new Cr();
840
827
  }, t.prototype.next = function(r) {
841
828
  var n = this;
842
- ce(function() {
829
+ fe(function() {
843
830
  var i, o;
844
831
  if (n._throwIfClosed(), !n.isStopped) {
845
832
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
846
833
  try {
847
- for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
834
+ for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
848
835
  var h = a.value;
849
836
  h.next(r);
850
837
  }
@@ -861,7 +848,7 @@ var Rr = At(function(e) {
861
848
  });
862
849
  }, t.prototype.error = function(r) {
863
850
  var n = this;
864
- ce(function() {
851
+ fe(function() {
865
852
  if (n._throwIfClosed(), !n.isStopped) {
866
853
  n.hasError = n.isStopped = !0, n.thrownError = r;
867
854
  for (var i = n.observers; i.length; )
@@ -870,7 +857,7 @@ var Rr = At(function(e) {
870
857
  });
871
858
  }, t.prototype.complete = function() {
872
859
  var r = this;
873
- ce(function() {
860
+ fe(function() {
874
861
  if (r._throwIfClosed(), !r.isStopped) {
875
862
  r.isStopped = !0;
876
863
  for (var n = r.observers; n.length; )
@@ -892,20 +879,20 @@ var Rr = At(function(e) {
892
879
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
893
880
  }, t.prototype._innerSubscribe = function(r) {
894
881
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
895
- return o || s ? Pt : (this.currentObservers = null, a.push(r), new ge(function() {
882
+ return o || s ? wt : (this.currentObservers = null, a.push(r), new ye(function() {
896
883
  n.currentObservers = null, $e(a, r);
897
884
  }));
898
885
  }, t.prototype._checkFinalizedStatuses = function(r) {
899
886
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
900
887
  i ? r.error(o) : s && r.complete();
901
888
  }, t.prototype.asObservable = function() {
902
- var r = new nt();
889
+ var r = new et();
903
890
  return r.source = this, r;
904
891
  }, t.create = function(r, n) {
905
- return new ot(r, n);
892
+ return new rt(r, n);
906
893
  }, t;
907
- }(nt), ot = function(e) {
908
- L(t, e);
894
+ }(et), rt = function(e) {
895
+ C(t, e);
909
896
  function t(r, n) {
910
897
  var i = e.call(this) || this;
911
898
  return i.destination = r, i.source = n, i;
@@ -921,17 +908,17 @@ var Rr = At(function(e) {
921
908
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
922
909
  }, t.prototype._subscribe = function(r) {
923
910
  var n, i;
924
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pt;
911
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
925
912
  }, t;
926
- }(Ct), Mt = {
913
+ }(Pt), Ot = {
927
914
  now: function() {
928
- return (Mt.delegate || Date).now();
915
+ return (Ot.delegate || Date).now();
929
916
  },
930
917
  delegate: void 0
931
- }, Dr = function(e) {
932
- L(t, e);
918
+ }, $r = function(e) {
919
+ C(t, e);
933
920
  function t(r, n, i) {
934
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mt);
921
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
935
922
  var o = e.call(this) || this;
936
923
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
937
924
  }
@@ -951,24 +938,24 @@ var Rr = At(function(e) {
951
938
  u && o.splice(0, u + 1);
952
939
  }
953
940
  }, t;
954
- }(Ct);
955
- const st = [], at = {}, Ur = (e, t = 0) => {
956
- if (st.indexOf(e) == -1) {
957
- const r = new Dr(t);
958
- at[e] = r, st.push(e);
941
+ }(Pt);
942
+ const nt = [], it = {}, Rr = (e, t = 0) => {
943
+ if (nt.indexOf(e) == -1) {
944
+ const r = new $r(t);
945
+ it[e] = r, nt.push(e);
959
946
  }
960
- return at[e];
947
+ return it[e];
961
948
  }, k = [];
962
- function Gr(e, t) {
949
+ function Dr(e, t) {
963
950
  return {
964
- subscribe: ye(e, t).subscribe
951
+ subscribe: ve(e, t).subscribe
965
952
  };
966
953
  }
967
- function ye(e, t = C) {
954
+ function ve(e, t = I) {
968
955
  let r;
969
956
  const n = /* @__PURE__ */ new Set();
970
957
  function i(a) {
971
- if (St(e, a) && (e = a, r)) {
958
+ if (_t(e, a) && (e = a, r)) {
972
959
  const h = !k.length;
973
960
  for (const u of n)
974
961
  u[1](), k.push(u, e);
@@ -982,9 +969,9 @@ function ye(e, t = C) {
982
969
  function o(a) {
983
970
  i(a(e));
984
971
  }
985
- function s(a, h = C) {
972
+ function s(a, h = I) {
986
973
  const u = [a, h];
987
- return n.add(u), n.size === 1 && (r = t(i, o) || C), a(e), () => {
974
+ return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
988
975
  n.delete(u), n.size === 0 && r && (r(), r = null);
989
976
  };
990
977
  }
@@ -995,19 +982,19 @@ function J(e, t, r) {
995
982
  if (!i.every(Boolean))
996
983
  throw new Error("derived() expects stores as input, got a falsy value");
997
984
  const o = t.length < 2;
998
- return Gr(r, (s, a) => {
985
+ return Dr(r, (s, a) => {
999
986
  let h = !1;
1000
987
  const u = [];
1001
- let l = 0, c = C;
988
+ let l = 0, c = I;
1002
989
  const f = () => {
1003
990
  if (l)
1004
991
  return;
1005
992
  c();
1006
- const y = t(n ? u[0] : u, s, a);
1007
- o ? s(y) : c = We(y) ? y : C;
993
+ const g = t(n ? u[0] : u, s, a);
994
+ o ? s(g) : c = We(g) ? g : I;
1008
995
  }, p = i.map(
1009
- (y, m) => Tt(
1010
- y,
996
+ (g, m) => xt(
997
+ g,
1011
998
  (x) => {
1012
999
  u[m] = x, l &= ~(1 << m), h && f();
1013
1000
  },
@@ -1017,74 +1004,74 @@ function J(e, t, r) {
1017
1004
  )
1018
1005
  );
1019
1006
  return h = !0, f(), function() {
1020
- se(p), c(), h = !1;
1007
+ ae(p), c(), h = !1;
1021
1008
  };
1022
1009
  });
1023
1010
  }
1024
- function Fr(e) {
1011
+ function Ur(e) {
1025
1012
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1026
1013
  }
1027
- var jr = function(t) {
1028
- return kr(t) && !Vr(t);
1014
+ var Gr = function(t) {
1015
+ return Fr(t) && !jr(t);
1029
1016
  };
1030
- function kr(e) {
1017
+ function Fr(e) {
1031
1018
  return !!e && typeof e == "object";
1032
1019
  }
1033
- function Vr(e) {
1020
+ function jr(e) {
1034
1021
  var t = Object.prototype.toString.call(e);
1035
- return t === "[object RegExp]" || t === "[object Date]" || zr(e);
1022
+ return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
1036
1023
  }
1037
- var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
1038
- function zr(e) {
1039
- return e.$$typeof === Wr;
1024
+ var kr = typeof Symbol == "function" && Symbol.for, Vr = kr ? Symbol.for("react.element") : 60103;
1025
+ function Xr(e) {
1026
+ return e.$$typeof === Vr;
1040
1027
  }
1041
- function Zr(e) {
1028
+ function Wr(e) {
1042
1029
  return Array.isArray(e) ? [] : {};
1043
1030
  }
1044
- function ie(e, t) {
1045
- return t.clone !== !1 && t.isMergeableObject(e) ? z(Zr(e), e, t) : e;
1031
+ function oe(e, t) {
1032
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(Wr(e), e, t) : e;
1046
1033
  }
1047
- function Yr(e, t, r) {
1034
+ function zr(e, t, r) {
1048
1035
  return e.concat(t).map(function(n) {
1049
- return ie(n, r);
1036
+ return oe(n, r);
1050
1037
  });
1051
1038
  }
1052
- function Qr(e, t) {
1039
+ function Zr(e, t) {
1053
1040
  if (!t.customMerge)
1054
1041
  return z;
1055
1042
  var r = t.customMerge(e);
1056
1043
  return typeof r == "function" ? r : z;
1057
1044
  }
1058
- function Jr(e) {
1045
+ function Yr(e) {
1059
1046
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1060
1047
  return Object.propertyIsEnumerable.call(e, t);
1061
1048
  }) : [];
1062
1049
  }
1063
- function ut(e) {
1064
- return Object.keys(e).concat(Jr(e));
1050
+ function ot(e) {
1051
+ return Object.keys(e).concat(Yr(e));
1065
1052
  }
1066
- function Lt(e, t) {
1053
+ function It(e, t) {
1067
1054
  try {
1068
1055
  return t in e;
1069
1056
  } catch {
1070
1057
  return !1;
1071
1058
  }
1072
1059
  }
1073
- function qr(e, t) {
1074
- return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1060
+ function Qr(e, t) {
1061
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1075
1062
  }
1076
- function Kr(e, t, r) {
1063
+ function Jr(e, t, r) {
1077
1064
  var n = {};
1078
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1079
- n[i] = ie(e[i], r);
1080
- }), ut(t).forEach(function(i) {
1081
- qr(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1065
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1066
+ n[i] = oe(e[i], r);
1067
+ }), ot(t).forEach(function(i) {
1068
+ Qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1082
1069
  }), n;
1083
1070
  }
1084
1071
  function z(e, t, r) {
1085
- r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ie;
1072
+ r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = oe;
1086
1073
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1087
- return o ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : ie(t, r);
1074
+ return o ? n ? r.arrayMerge(e, t, r) : Jr(e, t, r) : oe(t, r);
1088
1075
  }
1089
1076
  z.all = function(t, r) {
1090
1077
  if (!Array.isArray(t))
@@ -1093,62 +1080,60 @@ z.all = function(t, r) {
1093
1080
  return z(n, i, r);
1094
1081
  }, {});
1095
1082
  };
1096
- var en = z, tn = en;
1097
- const rn = /* @__PURE__ */ Fr(tn);
1083
+ var qr = z, Kr = qr;
1084
+ const en = /* @__PURE__ */ Ur(Kr);
1098
1085
  function Te(e, t) {
1099
- var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : on;
1086
+ var r = t && t.cache ? t.cache : un, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : nn;
1100
1087
  return i(e, {
1101
1088
  cache: r,
1102
1089
  serializer: n
1103
1090
  });
1104
1091
  }
1105
- function nn(e) {
1092
+ function tn(e) {
1106
1093
  return e == null || typeof e == "number" || typeof e == "boolean";
1107
1094
  }
1108
- function $t(e, t, r, n) {
1109
- var i = nn(n) ? n : r(n), o = t.get(i);
1095
+ function rn(e, t, r, n) {
1096
+ var i = tn(n) ? n : r(n), o = t.get(i);
1110
1097
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1111
1098
  }
1112
- function Rt(e, t, r) {
1099
+ function Nt(e, t, r) {
1113
1100
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1114
1101
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1115
1102
  }
1116
- function Ye(e, t, r, n, i) {
1103
+ function Mt(e, t, r, n, i) {
1117
1104
  return r.bind(t, e, n, i);
1118
1105
  }
1119
- function on(e, t) {
1120
- var r = e.length === 1 ? $t : Rt;
1121
- return Ye(e, this, r, t.cache.create(), t.serializer);
1122
- }
1123
- function sn(e, t) {
1124
- return Ye(e, this, Rt, t.cache.create(), t.serializer);
1106
+ function nn(e, t) {
1107
+ var r = e.length === 1 ? rn : Nt;
1108
+ return Mt(e, this, r, t.cache.create(), t.serializer);
1125
1109
  }
1126
- function an(e, t) {
1127
- return Ye(e, this, $t, t.cache.create(), t.serializer);
1110
+ function on(e, t) {
1111
+ return Mt(e, this, Nt, t.cache.create(), t.serializer);
1128
1112
  }
1129
- var un = function() {
1113
+ var sn = function() {
1130
1114
  return JSON.stringify(arguments);
1131
- };
1132
- function Qe() {
1133
- this.cache = /* @__PURE__ */ Object.create(null);
1134
- }
1135
- Qe.prototype.get = function(e) {
1136
- return this.cache[e];
1137
- };
1138
- Qe.prototype.set = function(e, t) {
1139
- this.cache[e] = t;
1140
- };
1141
- var hn = {
1115
+ }, an = (
1116
+ /** @class */
1117
+ function() {
1118
+ function e() {
1119
+ this.cache = /* @__PURE__ */ Object.create(null);
1120
+ }
1121
+ return e.prototype.get = function(t) {
1122
+ return this.cache[t];
1123
+ }, e.prototype.set = function(t, r) {
1124
+ this.cache[t] = r;
1125
+ }, e;
1126
+ }()
1127
+ ), un = {
1142
1128
  create: function() {
1143
- return new Qe();
1129
+ return new an();
1144
1130
  }
1145
- }, He = {
1146
- variadic: sn,
1147
- monadic: an
1148
- }, d;
1131
+ }, we = {
1132
+ variadic: on
1133
+ }, b;
1149
1134
  (function(e) {
1150
1135
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1151
- })(d || (d = {}));
1136
+ })(b || (b = {}));
1152
1137
  var _;
1153
1138
  (function(e) {
1154
1139
  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";
@@ -1157,43 +1142,43 @@ var Z;
1157
1142
  (function(e) {
1158
1143
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1159
1144
  })(Z || (Z = {}));
1160
- function ht(e) {
1145
+ function st(e) {
1161
1146
  return e.type === _.literal;
1162
1147
  }
1163
- function ln(e) {
1148
+ function hn(e) {
1164
1149
  return e.type === _.argument;
1165
1150
  }
1166
- function Dt(e) {
1151
+ function Lt(e) {
1167
1152
  return e.type === _.number;
1168
1153
  }
1169
- function Ut(e) {
1154
+ function Ct(e) {
1170
1155
  return e.type === _.date;
1171
1156
  }
1172
- function Gt(e) {
1157
+ function $t(e) {
1173
1158
  return e.type === _.time;
1174
1159
  }
1175
- function Ft(e) {
1160
+ function Rt(e) {
1176
1161
  return e.type === _.select;
1177
1162
  }
1178
- function jt(e) {
1163
+ function Dt(e) {
1179
1164
  return e.type === _.plural;
1180
1165
  }
1181
- function cn(e) {
1166
+ function ln(e) {
1182
1167
  return e.type === _.pound;
1183
1168
  }
1184
- function kt(e) {
1169
+ function Ut(e) {
1185
1170
  return e.type === _.tag;
1186
1171
  }
1187
- function Vt(e) {
1172
+ function Gt(e) {
1188
1173
  return !!(e && typeof e == "object" && e.type === Z.number);
1189
1174
  }
1190
1175
  function De(e) {
1191
1176
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1192
1177
  }
1193
- var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[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;
1194
- function pn(e) {
1178
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
1179
+ function fn(e) {
1195
1180
  var t = {};
1196
- return e.replace(fn, function(r) {
1181
+ return e.replace(cn, function(r) {
1197
1182
  var n = r.length;
1198
1183
  switch (r[0]) {
1199
1184
  case "G":
@@ -1282,11 +1267,11 @@ function pn(e) {
1282
1267
  return "";
1283
1268
  }), t;
1284
1269
  }
1285
- var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1286
- function bn(e) {
1270
+ var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1271
+ function mn(e) {
1287
1272
  if (e.length === 0)
1288
1273
  throw new Error("Number skeleton cannot be empty");
1289
- for (var t = e.split(mn).filter(function(f) {
1274
+ for (var t = e.split(pn).filter(function(f) {
1290
1275
  return f.length > 0;
1291
1276
  }), r = [], n = 0, i = t; n < i.length; n++) {
1292
1277
  var o = i[n], s = o.split("/");
@@ -1301,17 +1286,17 @@ function bn(e) {
1301
1286
  }
1302
1287
  return r;
1303
1288
  }
1304
- function dn(e) {
1289
+ function bn(e) {
1305
1290
  return e.replace(/^(.*?)-/, "");
1306
1291
  }
1307
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
1308
- function ct(e) {
1292
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1293
+ function ut(e) {
1309
1294
  var t = {};
1310
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
1295
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1311
1296
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1312
1297
  }), t;
1313
1298
  }
1314
- function Zt(e) {
1299
+ function Vt(e) {
1315
1300
  switch (e) {
1316
1301
  case "sign-auto":
1317
1302
  return {
@@ -1351,7 +1336,7 @@ function Zt(e) {
1351
1336
  };
1352
1337
  }
1353
1338
  }
1354
- function yn(e) {
1339
+ function gn(e) {
1355
1340
  var t;
1356
1341
  if (e[0] === "E" && e[1] === "E" ? (t = {
1357
1342
  notation: "engineering"
@@ -1359,17 +1344,17 @@ function yn(e) {
1359
1344
  notation: "scientific"
1360
1345
  }, e = e.slice(1)), t) {
1361
1346
  var r = e.slice(0, 2);
1362
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1347
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1363
1348
  throw new Error("Malformed concise eng/scientific notation");
1364
1349
  t.minimumIntegerDigits = e.length;
1365
1350
  }
1366
1351
  return t;
1367
1352
  }
1368
- function ft(e) {
1369
- var t = {}, r = Zt(e);
1353
+ function ht(e) {
1354
+ var t = {}, r = Vt(e);
1370
1355
  return r || t;
1371
1356
  }
1372
- function vn(e) {
1357
+ function yn(e) {
1373
1358
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1374
1359
  var i = n[r];
1375
1360
  switch (i.stem) {
@@ -1393,7 +1378,7 @@ function vn(e) {
1393
1378
  continue;
1394
1379
  case "measure-unit":
1395
1380
  case "unit":
1396
- t.style = "unit", t.unit = dn(i.options[0]);
1381
+ t.style = "unit", t.unit = bn(i.options[0]);
1397
1382
  continue;
1398
1383
  case "compact-short":
1399
1384
  case "K":
@@ -1404,13 +1389,13 @@ function vn(e) {
1404
1389
  t.notation = "compact", t.compactDisplay = "long";
1405
1390
  continue;
1406
1391
  case "scientific":
1407
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1408
- return v(v({}, h), ft(u));
1392
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1393
+ return y(y({}, h), ht(u));
1409
1394
  }, {}));
1410
1395
  continue;
1411
1396
  case "engineering":
1412
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1413
- return v(v({}, h), ft(u));
1397
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1398
+ return y(y({}, h), ht(u));
1414
1399
  }, {}));
1415
1400
  continue;
1416
1401
  case "notation-simple":
@@ -1455,7 +1440,7 @@ function vn(e) {
1455
1440
  case "integer-width":
1456
1441
  if (i.options.length > 1)
1457
1442
  throw new RangeError("integer-width stems only accept a single optional option");
1458
- i.options[0].replace(gn, function(h, u, l, c, f, p) {
1443
+ i.options[0].replace(dn, function(h, u, l, c, f, p) {
1459
1444
  if (u)
1460
1445
  t.minimumIntegerDigits = l.length;
1461
1446
  else {
@@ -1468,32 +1453,32 @@ function vn(e) {
1468
1453
  });
1469
1454
  continue;
1470
1455
  }
1471
- if (zt.test(i.stem)) {
1456
+ if (kt.test(i.stem)) {
1472
1457
  t.minimumIntegerDigits = i.stem.length;
1473
1458
  continue;
1474
1459
  }
1475
- if (lt.test(i.stem)) {
1460
+ if (at.test(i.stem)) {
1476
1461
  if (i.options.length > 1)
1477
1462
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1478
- i.stem.replace(lt, function(h, u, l, c, f, p) {
1463
+ i.stem.replace(at, function(h, u, l, c, f, p) {
1479
1464
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1480
1465
  });
1481
1466
  var o = i.options[0];
1482
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ct(o)));
1467
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ut(o)));
1483
1468
  continue;
1484
1469
  }
1485
- if (Wt.test(i.stem)) {
1486
- t = v(v({}, t), ct(i.stem));
1470
+ if (jt.test(i.stem)) {
1471
+ t = y(y({}, t), ut(i.stem));
1487
1472
  continue;
1488
1473
  }
1489
- var s = Zt(i.stem);
1490
- s && (t = v(v({}, t), s));
1491
- var a = yn(i.stem);
1492
- a && (t = v(v({}, t), a));
1474
+ var s = Vt(i.stem);
1475
+ s && (t = y(y({}, t), s));
1476
+ var a = gn(i.stem);
1477
+ a && (t = y(y({}, t), a));
1493
1478
  }
1494
1479
  return t;
1495
1480
  }
1496
- var he = {
1481
+ var le = {
1497
1482
  "001": [
1498
1483
  "H",
1499
1484
  "h"
@@ -2908,13 +2893,13 @@ var he = {
2908
2893
  "h"
2909
2894
  ]
2910
2895
  };
2911
- function En(e, t) {
2896
+ function vn(e, t) {
2912
2897
  for (var r = "", n = 0; n < e.length; n++) {
2913
2898
  var i = e.charAt(n);
2914
2899
  if (i === "j") {
2915
2900
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2916
2901
  o++, n++;
2917
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = _n(t);
2902
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
2918
2903
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2919
2904
  r += h;
2920
2905
  for (; s-- > 0; )
@@ -2923,7 +2908,7 @@ function En(e, t) {
2923
2908
  }
2924
2909
  return r;
2925
2910
  }
2926
- function _n(e) {
2911
+ function En(e) {
2927
2912
  var t = e.hourCycle;
2928
2913
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2929
2914
  e.hourCycles && // @ts-ignore
@@ -2942,23 +2927,23 @@ function _n(e) {
2942
2927
  }
2943
2928
  var r = e.language, n;
2944
2929
  r !== "root" && (n = e.maximize().region);
2945
- var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2930
+ var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2946
2931
  return i[0];
2947
2932
  }
2948
- var we, xn = new RegExp("^".concat(Xt.source, "*")), Bn = new RegExp("".concat(Xt.source, "*$"));
2949
- function g(e, t) {
2933
+ var He, _n = new RegExp("^".concat(Ft.source, "*")), xn = new RegExp("".concat(Ft.source, "*$"));
2934
+ function d(e, t) {
2950
2935
  return { start: e, end: t };
2951
2936
  }
2952
- var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, Hn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Pn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
2937
+ var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Tn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, On = Pn ? Number.isSafeInteger : function(e) {
2953
2938
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2954
2939
  }, Ue = !0;
2955
2940
  try {
2956
- var Nn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2957
- Ue = ((we = Nn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2941
+ var In = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2942
+ Ue = ((He = In.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2958
2943
  } catch {
2959
2944
  Ue = !1;
2960
2945
  }
2961
- var pt = Sn ? (
2946
+ var lt = Bn ? (
2962
2947
  // Native
2963
2948
  function(t, r, n) {
2964
2949
  return t.startsWith(r, n);
@@ -2968,7 +2953,7 @@ var pt = Sn ? (
2968
2953
  function(t, r, n) {
2969
2954
  return t.slice(n, n + r.length) === r;
2970
2955
  }
2971
- ), Ge = Tn ? String.fromCodePoint : (
2956
+ ), Ge = Sn ? String.fromCodePoint : (
2972
2957
  // IE11
2973
2958
  function() {
2974
2959
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2980,9 +2965,9 @@ var pt = Sn ? (
2980
2965
  }
2981
2966
  return n;
2982
2967
  }
2983
- ), mt = (
2968
+ ), ct = (
2984
2969
  // native
2985
- Hn ? Object.fromEntries : (
2970
+ Tn ? Object.fromEntries : (
2986
2971
  // Ponyfill
2987
2972
  function(t) {
2988
2973
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2992,7 +2977,7 @@ var pt = Sn ? (
2992
2977
  return r;
2993
2978
  }
2994
2979
  )
2995
- ), Yt = wn ? (
2980
+ ), Xt = wn ? (
2996
2981
  // Native
2997
2982
  function(t, r) {
2998
2983
  return t.codePointAt(r);
@@ -3006,7 +2991,7 @@ var pt = Sn ? (
3006
2991
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3007
2992
  }
3008
2993
  }
3009
- ), Cn = An ? (
2994
+ ), Nn = Hn ? (
3010
2995
  // Native
3011
2996
  function(t) {
3012
2997
  return t.trimStart();
@@ -3014,9 +2999,9 @@ var pt = Sn ? (
3014
2999
  ) : (
3015
3000
  // Ponyfill
3016
3001
  function(t) {
3017
- return t.replace(xn, "");
3002
+ return t.replace(_n, "");
3018
3003
  }
3019
- ), Mn = Pn ? (
3004
+ ), Mn = An ? (
3020
3005
  // Native
3021
3006
  function(t) {
3022
3007
  return t.trimEnd();
@@ -3024,26 +3009,26 @@ var pt = Sn ? (
3024
3009
  ) : (
3025
3010
  // Ponyfill
3026
3011
  function(t) {
3027
- return t.replace(Bn, "");
3012
+ return t.replace(xn, "");
3028
3013
  }
3029
3014
  );
3030
- function Qt(e, t) {
3015
+ function Wt(e, t) {
3031
3016
  return new RegExp(e, t);
3032
3017
  }
3033
3018
  var Fe;
3034
3019
  if (Ue) {
3035
- var bt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3020
+ var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3036
3021
  Fe = function(t, r) {
3037
3022
  var n;
3038
- bt.lastIndex = r;
3039
- var i = bt.exec(t);
3023
+ ft.lastIndex = r;
3024
+ var i = ft.exec(t);
3040
3025
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3041
3026
  };
3042
3027
  } else
3043
3028
  Fe = function(t, r) {
3044
3029
  for (var n = []; ; ) {
3045
- var i = Yt(t, r);
3046
- if (i === void 0 || Jt(i) || Dn(i))
3030
+ var i = Xt(t, r);
3031
+ if (i === void 0 || zt(i) || Rn(i))
3047
3032
  break;
3048
3033
  n.push(i), r += i >= 65536 ? 2 : 1;
3049
3034
  }
@@ -3074,12 +3059,12 @@ var Ln = (
3074
3059
  var a = this.clonePosition();
3075
3060
  this.bump(), i.push({
3076
3061
  type: _.pound,
3077
- location: g(a, this.clonePosition())
3062
+ location: d(a, this.clonePosition())
3078
3063
  });
3079
3064
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3080
3065
  if (n)
3081
3066
  break;
3082
- return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3067
+ return this.error(b.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3083
3068
  } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
3084
3069
  var s = this.parseTag(t, r);
3085
3070
  if (s.err)
@@ -3103,7 +3088,7 @@ var Ln = (
3103
3088
  val: {
3104
3089
  type: _.literal,
3105
3090
  value: "<".concat(i, "/>"),
3106
- location: g(n, this.clonePosition())
3091
+ location: d(n, this.clonePosition())
3107
3092
  },
3108
3093
  err: null
3109
3094
  };
@@ -3114,24 +3099,24 @@ var Ln = (
3114
3099
  var s = o.val, a = this.clonePosition();
3115
3100
  if (this.bumpIf("</")) {
3116
3101
  if (this.isEOF() || !je(this.char()))
3117
- return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3102
+ return this.error(b.INVALID_TAG, d(a, this.clonePosition()));
3118
3103
  var h = this.clonePosition(), u = this.parseTagName();
3119
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3104
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3120
3105
  val: {
3121
3106
  type: _.tag,
3122
3107
  value: i,
3123
3108
  children: s,
3124
- location: g(n, this.clonePosition())
3109
+ location: d(n, this.clonePosition())
3125
3110
  },
3126
3111
  err: null
3127
- } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3112
+ } : this.error(b.INVALID_TAG, d(a, this.clonePosition())));
3128
3113
  } else
3129
- return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3114
+ return this.error(b.UNCLOSED_TAG, d(n, this.clonePosition()));
3130
3115
  } else
3131
- return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3116
+ return this.error(b.INVALID_TAG, d(n, this.clonePosition()));
3132
3117
  }, e.prototype.parseTagName = function() {
3133
3118
  var t = this.offset();
3134
- for (this.bump(); !this.isEOF() && Rn(this.char()); )
3119
+ for (this.bump(); !this.isEOF() && $n(this.char()); )
3135
3120
  this.bump();
3136
3121
  return this.message.slice(t, this.offset());
3137
3122
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3153,14 +3138,14 @@ var Ln = (
3153
3138
  }
3154
3139
  break;
3155
3140
  }
3156
- var h = g(n, this.clonePosition());
3141
+ var h = d(n, this.clonePosition());
3157
3142
  return {
3158
3143
  val: { type: _.literal, value: i, location: h },
3159
3144
  err: null
3160
3145
  };
3161
3146
  }, e.prototype.tryParseLeftAngleBracket = function() {
3162
3147
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3163
- !$n(this.peek() || 0)) ? (this.bump(), "<") : null;
3148
+ !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
3164
3149
  }, e.prototype.tryParseQuote = function(t) {
3165
3150
  if (this.isEOF() || this.char() !== 39)
3166
3151
  return null;
@@ -3203,14 +3188,14 @@ var Ln = (
3203
3188
  }, e.prototype.parseArgument = function(t, r) {
3204
3189
  var n = this.clonePosition();
3205
3190
  if (this.bump(), this.bumpSpace(), this.isEOF())
3206
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3191
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3207
3192
  if (this.char() === 125)
3208
- return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3193
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3209
3194
  var i = this.parseIdentifierIfPossible().value;
3210
3195
  if (!i)
3211
- return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3196
+ return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3212
3197
  if (this.bumpSpace(), this.isEOF())
3213
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3198
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3214
3199
  switch (this.char()) {
3215
3200
  case 125:
3216
3201
  return this.bump(), {
@@ -3218,25 +3203,25 @@ var Ln = (
3218
3203
  type: _.argument,
3219
3204
  // value does not include the opening and closing braces.
3220
3205
  value: i,
3221
- location: g(n, this.clonePosition())
3206
+ location: d(n, this.clonePosition())
3222
3207
  },
3223
3208
  err: null
3224
3209
  };
3225
3210
  case 44:
3226
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3211
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3227
3212
  default:
3228
- return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3213
+ return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3229
3214
  }
3230
3215
  }, e.prototype.parseIdentifierIfPossible = function() {
3231
3216
  var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
3232
3217
  this.bumpTo(i);
3233
- var o = this.clonePosition(), s = g(t, o);
3218
+ var o = this.clonePosition(), s = d(t, o);
3234
3219
  return { value: n, location: s };
3235
3220
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3236
3221
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3237
3222
  switch (a) {
3238
3223
  case "":
3239
- return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, h));
3224
+ return this.error(b.EXPECT_ARGUMENT_TYPE, d(s, h));
3240
3225
  case "number":
3241
3226
  case "date":
3242
3227
  case "time": {
@@ -3249,16 +3234,16 @@ var Ln = (
3249
3234
  return c;
3250
3235
  var f = Mn(c.val);
3251
3236
  if (f.length === 0)
3252
- return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3253
- var p = g(l, this.clonePosition());
3237
+ return this.error(b.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3238
+ var p = d(l, this.clonePosition());
3254
3239
  u = { style: f, styleLocation: p };
3255
3240
  }
3256
- var y = this.tryParseArgumentClose(i);
3257
- if (y.err)
3258
- return y;
3259
- var m = g(i, this.clonePosition());
3260
- if (u && pt(u?.style, "::", 0)) {
3261
- var x = Cn(u.style.slice(2));
3241
+ var g = this.tryParseArgumentClose(i);
3242
+ if (g.err)
3243
+ return g;
3244
+ var m = d(i, this.clonePosition());
3245
+ if (u && lt(u?.style, "::", 0)) {
3246
+ var x = Nn(u.style.slice(2));
3262
3247
  if (a === "number") {
3263
3248
  var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3264
3249
  return c.err ? c : {
@@ -3267,17 +3252,17 @@ var Ln = (
3267
3252
  };
3268
3253
  } else {
3269
3254
  if (x.length === 0)
3270
- return this.error(d.EXPECT_DATE_TIME_SKELETON, m);
3271
- var P = x;
3272
- this.locale && (P = En(x, this.locale));
3255
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3256
+ var A = x;
3257
+ this.locale && (A = vn(x, this.locale));
3273
3258
  var f = {
3274
3259
  type: Z.dateTime,
3275
- pattern: P,
3260
+ pattern: A,
3276
3261
  location: u.styleLocation,
3277
- parsedOptions: this.shouldParseSkeletons ? pn(P) : {}
3278
- }, A = a === "date" ? _.date : _.time;
3262
+ parsedOptions: this.shouldParseSkeletons ? fn(A) : {}
3263
+ }, H = a === "date" ? _.date : _.time;
3279
3264
  return {
3280
- val: { type: A, value: n, location: m, style: f },
3265
+ val: { type: H, value: n, location: m, style: f },
3281
3266
  err: null
3282
3267
  };
3283
3268
  }
@@ -3295,52 +3280,52 @@ var Ln = (
3295
3280
  case "plural":
3296
3281
  case "selectordinal":
3297
3282
  case "select": {
3298
- var S = this.clonePosition();
3283
+ var T = this.clonePosition();
3299
3284
  if (this.bumpSpace(), !this.bumpIf(","))
3300
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(S, v({}, S)));
3285
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, d(T, y({}, T)));
3301
3286
  this.bumpSpace();
3302
- var N = this.parseIdentifierIfPossible(), b = 0;
3303
- if (a !== "select" && N.value === "offset") {
3287
+ var v = this.parseIdentifierIfPossible(), S = 0;
3288
+ if (a !== "select" && v.value === "offset") {
3304
3289
  if (!this.bumpIf(":"))
3305
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3290
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3306
3291
  this.bumpSpace();
3307
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3292
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3308
3293
  if (c.err)
3309
3294
  return c;
3310
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), b = c.val;
3295
+ this.bumpSpace(), v = this.parseIdentifierIfPossible(), S = c.val;
3311
3296
  }
3312
- var T = this.tryParsePluralOrSelectOptions(t, a, r, N);
3313
- if (T.err)
3314
- return T;
3315
- var y = this.tryParseArgumentClose(i);
3316
- if (y.err)
3317
- return y;
3318
- var H = g(i, this.clonePosition());
3297
+ var N = this.tryParsePluralOrSelectOptions(t, a, r, v);
3298
+ if (N.err)
3299
+ return N;
3300
+ var g = this.tryParseArgumentClose(i);
3301
+ if (g.err)
3302
+ return g;
3303
+ var M = d(i, this.clonePosition());
3319
3304
  return a === "select" ? {
3320
3305
  val: {
3321
3306
  type: _.select,
3322
3307
  value: n,
3323
- options: mt(T.val),
3324
- location: H
3308
+ options: ct(N.val),
3309
+ location: M
3325
3310
  },
3326
3311
  err: null
3327
3312
  } : {
3328
3313
  val: {
3329
3314
  type: _.plural,
3330
3315
  value: n,
3331
- options: mt(T.val),
3332
- offset: b,
3316
+ options: ct(N.val),
3317
+ offset: S,
3333
3318
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3334
- location: H
3319
+ location: M
3335
3320
  },
3336
3321
  err: null
3337
3322
  };
3338
3323
  }
3339
3324
  default:
3340
- return this.error(d.INVALID_ARGUMENT_TYPE, g(s, h));
3325
+ return this.error(b.INVALID_ARGUMENT_TYPE, d(s, h));
3341
3326
  }
3342
3327
  }, e.prototype.tryParseArgumentClose = function(t) {
3343
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3328
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3344
3329
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3345
3330
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3346
3331
  var n = this.char();
@@ -3349,7 +3334,7 @@ var Ln = (
3349
3334
  this.bump();
3350
3335
  var i = this.clonePosition();
3351
3336
  if (!this.bumpUntil("'"))
3352
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3337
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3353
3338
  this.bump();
3354
3339
  break;
3355
3340
  }
@@ -3379,16 +3364,16 @@ var Ln = (
3379
3364
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3380
3365
  var n = [];
3381
3366
  try {
3382
- n = bn(t);
3367
+ n = mn(t);
3383
3368
  } catch {
3384
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3369
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3385
3370
  }
3386
3371
  return {
3387
3372
  val: {
3388
3373
  type: Z.number,
3389
3374
  tokens: n,
3390
3375
  location: r,
3391
- parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
3376
+ parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
3392
3377
  },
3393
3378
  err: null
3394
3379
  };
@@ -3397,34 +3382,34 @@ var Ln = (
3397
3382
  if (u.length === 0) {
3398
3383
  var c = this.clonePosition();
3399
3384
  if (r !== "select" && this.bumpIf("=")) {
3400
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3385
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3401
3386
  if (f.err)
3402
3387
  return f;
3403
- l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3388
+ l = d(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3404
3389
  } else
3405
3390
  break;
3406
3391
  }
3407
3392
  if (h.has(u))
3408
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3393
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3409
3394
  u === "other" && (s = !0), this.bumpSpace();
3410
3395
  var p = this.clonePosition();
3411
3396
  if (!this.bumpIf("{"))
3412
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3413
- var y = this.parseMessage(t + 1, r, n);
3414
- if (y.err)
3415
- return y;
3397
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3398
+ var g = this.parseMessage(t + 1, r, n);
3399
+ if (g.err)
3400
+ return g;
3416
3401
  var m = this.tryParseArgumentClose(p);
3417
3402
  if (m.err)
3418
3403
  return m;
3419
3404
  a.push([
3420
3405
  u,
3421
3406
  {
3422
- value: y.val,
3423
- location: g(p, this.clonePosition())
3407
+ value: g.val,
3408
+ location: d(p, this.clonePosition())
3424
3409
  }
3425
3410
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3426
3411
  }
3427
- return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3412
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3428
3413
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3429
3414
  var n = 1, i = this.clonePosition();
3430
3415
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3435,8 +3420,8 @@ var Ln = (
3435
3420
  else
3436
3421
  break;
3437
3422
  }
3438
- var h = g(i, this.clonePosition());
3439
- return o ? (s *= n, In(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3423
+ var h = d(i, this.clonePosition());
3424
+ return o ? (s *= n, On(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3440
3425
  }, e.prototype.offset = function() {
3441
3426
  return this.position.offset;
3442
3427
  }, e.prototype.isEOF = function() {
@@ -3451,7 +3436,7 @@ var Ln = (
3451
3436
  var t = this.position.offset;
3452
3437
  if (t >= this.message.length)
3453
3438
  throw Error("out of bound");
3454
- var r = Yt(this.message, t);
3439
+ var r = Xt(this.message, t);
3455
3440
  if (r === void 0)
3456
3441
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3457
3442
  return r;
@@ -3470,7 +3455,7 @@ var Ln = (
3470
3455
  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);
3471
3456
  }
3472
3457
  }, e.prototype.bumpIf = function(t) {
3473
- if (pt(this.message, t, this.offset())) {
3458
+ if (lt(this.message, t, this.offset())) {
3474
3459
  for (var r = 0; r < t.length; r++)
3475
3460
  this.bump();
3476
3461
  return !0;
@@ -3492,7 +3477,7 @@ var Ln = (
3492
3477
  break;
3493
3478
  }
3494
3479
  }, e.prototype.bumpSpace = function() {
3495
- for (; !this.isEOF() && Jt(this.char()); )
3480
+ for (; !this.isEOF() && zt(this.char()); )
3496
3481
  this.bump();
3497
3482
  }, e.prototype.peek = function() {
3498
3483
  if (this.isEOF())
@@ -3505,31 +3490,31 @@ var Ln = (
3505
3490
  function je(e) {
3506
3491
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3507
3492
  }
3508
- function $n(e) {
3493
+ function Cn(e) {
3509
3494
  return je(e) || e === 47;
3510
3495
  }
3511
- function Rn(e) {
3496
+ function $n(e) {
3512
3497
  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;
3513
3498
  }
3514
- function Jt(e) {
3499
+ function zt(e) {
3515
3500
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3516
3501
  }
3517
- function Dn(e) {
3502
+ function Rn(e) {
3518
3503
  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;
3519
3504
  }
3520
3505
  function ke(e) {
3521
3506
  e.forEach(function(t) {
3522
- if (delete t.location, Ft(t) || jt(t))
3507
+ if (delete t.location, Rt(t) || Dt(t))
3523
3508
  for (var r in t.options)
3524
3509
  delete t.options[r].location, ke(t.options[r].value);
3525
- else Dt(t) && Vt(t.style) || (Ut(t) || Gt(t)) && De(t.style) ? delete t.style.location : kt(t) && ke(t.children);
3510
+ else Lt(t) && Gt(t.style) || (Ct(t) || $t(t)) && De(t.style) ? delete t.style.location : Ut(t) && ke(t.children);
3526
3511
  });
3527
3512
  }
3528
- function Un(e, t) {
3529
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3513
+ function Dn(e, t) {
3514
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3530
3515
  var r = new Ln(e, t).parse();
3531
3516
  if (r.err) {
3532
- var n = SyntaxError(d[r.err.kind]);
3517
+ var n = SyntaxError(b[r.err.kind]);
3533
3518
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3534
3519
  }
3535
3520
  return t?.captureLocation || ke(r.val), r.val;
@@ -3538,10 +3523,10 @@ var Y;
3538
3523
  (function(e) {
3539
3524
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3540
3525
  })(Y || (Y = {}));
3541
- var ve = (
3526
+ var Ee = (
3542
3527
  /** @class */
3543
3528
  function(e) {
3544
- L(t, e);
3529
+ C(t, e);
3545
3530
  function t(r, n, i) {
3546
3531
  var o = e.call(this, r) || this;
3547
3532
  return o.code = n, o.originalMessage = i, o;
@@ -3550,48 +3535,48 @@ var ve = (
3550
3535
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3551
3536
  }, t;
3552
3537
  }(Error)
3553
- ), dt = (
3538
+ ), pt = (
3554
3539
  /** @class */
3555
3540
  function(e) {
3556
- L(t, e);
3541
+ C(t, e);
3557
3542
  function t(r, n, i, o) {
3558
3543
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3559
3544
  }
3560
3545
  return t;
3561
- }(ve)
3562
- ), Gn = (
3546
+ }(Ee)
3547
+ ), Un = (
3563
3548
  /** @class */
3564
3549
  function(e) {
3565
- L(t, e);
3550
+ C(t, e);
3566
3551
  function t(r, n, i) {
3567
3552
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3568
3553
  }
3569
3554
  return t;
3570
- }(ve)
3571
- ), Fn = (
3555
+ }(Ee)
3556
+ ), Gn = (
3572
3557
  /** @class */
3573
3558
  function(e) {
3574
- L(t, e);
3559
+ C(t, e);
3575
3560
  function t(r, n) {
3576
3561
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3577
3562
  }
3578
3563
  return t;
3579
- }(ve)
3564
+ }(Ee)
3580
3565
  ), w;
3581
3566
  (function(e) {
3582
3567
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3583
3568
  })(w || (w = {}));
3584
- function jn(e) {
3569
+ function Fn(e) {
3585
3570
  return e.length < 2 ? e : e.reduce(function(t, r) {
3586
3571
  var n = t[t.length - 1];
3587
3572
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3588
3573
  }, []);
3589
3574
  }
3590
- function kn(e) {
3575
+ function jn(e) {
3591
3576
  return typeof e == "function";
3592
3577
  }
3593
- function fe(e, t, r, n, i, o, s) {
3594
- if (e.length === 1 && ht(e[0]))
3578
+ function pe(e, t, r, n, i, o, s) {
3579
+ if (e.length === 1 && st(e[0]))
3595
3580
  return [
3596
3581
  {
3597
3582
  type: w.literal,
@@ -3600,14 +3585,14 @@ function fe(e, t, r, n, i, o, s) {
3600
3585
  ];
3601
3586
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3602
3587
  var l = u[h];
3603
- if (ht(l)) {
3588
+ if (st(l)) {
3604
3589
  a.push({
3605
3590
  type: w.literal,
3606
3591
  value: l.value
3607
3592
  });
3608
3593
  continue;
3609
3594
  }
3610
- if (cn(l)) {
3595
+ if (ln(l)) {
3611
3596
  typeof o == "number" && a.push({
3612
3597
  type: w.literal,
3613
3598
  value: r.getNumberFormat(t).format(o)
@@ -3616,16 +3601,16 @@ function fe(e, t, r, n, i, o, s) {
3616
3601
  }
3617
3602
  var c = l.value;
3618
3603
  if (!(i && c in i))
3619
- throw new Fn(c, s);
3604
+ throw new Gn(c, s);
3620
3605
  var f = i[c];
3621
- if (ln(l)) {
3606
+ if (hn(l)) {
3622
3607
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3623
3608
  type: typeof f == "string" ? w.literal : w.object,
3624
3609
  value: f
3625
3610
  });
3626
3611
  continue;
3627
3612
  }
3628
- if (Ut(l)) {
3613
+ if (Ct(l)) {
3629
3614
  var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3630
3615
  a.push({
3631
3616
  type: w.literal,
@@ -3633,7 +3618,7 @@ function fe(e, t, r, n, i, o, s) {
3633
3618
  });
3634
3619
  continue;
3635
3620
  }
3636
- if (Gt(l)) {
3621
+ if ($t(l)) {
3637
3622
  var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3638
3623
  a.push({
3639
3624
  type: w.literal,
@@ -3641,62 +3626,62 @@ function fe(e, t, r, n, i, o, s) {
3641
3626
  });
3642
3627
  continue;
3643
3628
  }
3644
- if (Dt(l)) {
3645
- var p = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
3629
+ if (Lt(l)) {
3630
+ var p = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
3646
3631
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3647
3632
  type: w.literal,
3648
3633
  value: r.getNumberFormat(t, p).format(f)
3649
3634
  });
3650
3635
  continue;
3651
3636
  }
3652
- if (kt(l)) {
3653
- var y = l.children, m = l.value, x = i[m];
3654
- if (!kn(x))
3655
- throw new Gn(m, "function", s);
3656
- var P = fe(y, t, r, n, i, o), A = x(P.map(function(b) {
3657
- return b.value;
3637
+ if (Ut(l)) {
3638
+ var g = l.children, m = l.value, x = i[m];
3639
+ if (!jn(x))
3640
+ throw new Un(m, "function", s);
3641
+ var A = pe(g, t, r, n, i, o), H = x(A.map(function(S) {
3642
+ return S.value;
3658
3643
  }));
3659
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(b) {
3644
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(S) {
3660
3645
  return {
3661
- type: typeof b == "string" ? w.literal : w.object,
3662
- value: b
3646
+ type: typeof S == "string" ? w.literal : w.object,
3647
+ value: S
3663
3648
  };
3664
3649
  }));
3665
3650
  }
3666
- if (Ft(l)) {
3667
- var S = l.options[f] || l.options.other;
3668
- if (!S)
3669
- throw new dt(l.value, f, Object.keys(l.options), s);
3670
- a.push.apply(a, fe(S.value, t, r, n, i));
3651
+ if (Rt(l)) {
3652
+ var T = l.options[f] || l.options.other;
3653
+ if (!T)
3654
+ throw new pt(l.value, f, Object.keys(l.options), s);
3655
+ a.push.apply(a, pe(T.value, t, r, n, i));
3671
3656
  continue;
3672
3657
  }
3673
- if (jt(l)) {
3674
- var S = l.options["=".concat(f)];
3675
- if (!S) {
3658
+ if (Dt(l)) {
3659
+ var T = l.options["=".concat(f)];
3660
+ if (!T) {
3676
3661
  if (!Intl.PluralRules)
3677
- throw new ve(`Intl.PluralRules is not available in this environment.
3662
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3678
3663
  Try polyfilling it using "@formatjs/intl-pluralrules"
3679
3664
  `, Y.MISSING_INTL_API, s);
3680
- var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3681
- S = l.options[N] || l.options.other;
3665
+ var v = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3666
+ T = l.options[v] || l.options.other;
3682
3667
  }
3683
- if (!S)
3684
- throw new dt(l.value, f, Object.keys(l.options), s);
3685
- a.push.apply(a, fe(S.value, t, r, n, i, f - (l.offset || 0)));
3668
+ if (!T)
3669
+ throw new pt(l.value, f, Object.keys(l.options), s);
3670
+ a.push.apply(a, pe(T.value, t, r, n, i, f - (l.offset || 0)));
3686
3671
  continue;
3687
3672
  }
3688
3673
  }
3689
- return jn(a);
3674
+ return Fn(a);
3690
3675
  }
3691
- function Vn(e, t) {
3692
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3693
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3676
+ function kn(e, t) {
3677
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3678
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3694
3679
  }, {})) : e;
3695
3680
  }
3696
- function Xn(e, t) {
3681
+ function Vn(e, t) {
3697
3682
  return t ? Object.keys(e).reduce(function(r, n) {
3698
- return r[n] = Vn(e[n], t[n]), r;
3699
- }, v({}, e)) : e;
3683
+ return r[n] = kn(e[n], t[n]), r;
3684
+ }, y({}, e)) : e;
3700
3685
  }
3701
3686
  function Ae(e) {
3702
3687
  return {
@@ -3712,7 +3697,7 @@ function Ae(e) {
3712
3697
  }
3713
3698
  };
3714
3699
  }
3715
- function Wn(e) {
3700
+ function Xn(e) {
3716
3701
  return e === void 0 && (e = {
3717
3702
  number: {},
3718
3703
  dateTime: {},
@@ -3724,7 +3709,7 @@ function Wn(e) {
3724
3709
  return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3725
3710
  }, {
3726
3711
  cache: Ae(e.number),
3727
- strategy: He.variadic
3712
+ strategy: we.variadic
3728
3713
  }),
3729
3714
  getDateTimeFormat: Te(function() {
3730
3715
  for (var t, r = [], n = 0; n < arguments.length; n++)
@@ -3732,7 +3717,7 @@ function Wn(e) {
3732
3717
  return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3733
3718
  }, {
3734
3719
  cache: Ae(e.dateTime),
3735
- strategy: He.variadic
3720
+ strategy: we.variadic
3736
3721
  }),
3737
3722
  getPluralRules: Te(function() {
3738
3723
  for (var t, r = [], n = 0; n < arguments.length; n++)
@@ -3740,11 +3725,11 @@ function Wn(e) {
3740
3725
  return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3741
3726
  }, {
3742
3727
  cache: Ae(e.pluralRules),
3743
- strategy: He.variadic
3728
+ strategy: we.variadic
3744
3729
  })
3745
3730
  };
3746
3731
  }
3747
- var zn = (
3732
+ var Wn = (
3748
3733
  /** @class */
3749
3734
  function() {
3750
3735
  function e(t, r, n, i) {
@@ -3763,7 +3748,7 @@ var zn = (
3763
3748
  }, []);
3764
3749
  return l.length <= 1 ? l[0] || "" : l;
3765
3750
  }, this.formatToParts = function(h) {
3766
- return fe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3751
+ return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3767
3752
  }, this.resolvedOptions = function() {
3768
3753
  var h;
3769
3754
  return {
@@ -3776,13 +3761,13 @@ var zn = (
3776
3761
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3777
3762
  var s = i || {};
3778
3763
  s.formatters;
3779
- var a = Tr(s, ["formatters"]);
3780
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3764
+ var a = Br(s, ["formatters"]);
3765
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3781
3766
  } else
3782
3767
  this.ast = t;
3783
3768
  if (!Array.isArray(this.ast))
3784
3769
  throw new TypeError("A message must be provided as a String or AST.");
3785
- this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || Wn(this.formatterCache);
3770
+ this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
3786
3771
  }
3787
3772
  return Object.defineProperty(e, "defaultLocale", {
3788
3773
  get: function() {
@@ -3795,7 +3780,7 @@ var zn = (
3795
3780
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3796
3781
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3797
3782
  }
3798
- }, e.__parse = Un, e.formats = {
3783
+ }, e.__parse = Dn, e.formats = {
3799
3784
  number: {
3800
3785
  integer: {
3801
3786
  maximumFractionDigits: 0
@@ -3856,7 +3841,7 @@ var zn = (
3856
3841
  }, e;
3857
3842
  }()
3858
3843
  );
3859
- function Zn(e, t) {
3844
+ function zn(e, t) {
3860
3845
  if (t == null)
3861
3846
  return;
3862
3847
  if (t in e)
@@ -3877,92 +3862,92 @@ function Zn(e, t) {
3877
3862
  n = void 0;
3878
3863
  return n;
3879
3864
  }
3880
- const $ = {}, Yn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), qt = (e, t) => {
3865
+ const R = {}, Zn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Zt = (e, t) => {
3881
3866
  if (t == null)
3882
3867
  return;
3883
- if (t in $ && e in $[t])
3884
- return $[t][e];
3885
- const r = Ee(t);
3868
+ if (t in R && e in R[t])
3869
+ return R[t][e];
3870
+ const r = _e(t);
3886
3871
  for (let n = 0; n < r.length; n++) {
3887
- const i = r[n], o = Jn(i, e);
3872
+ const i = r[n], o = Qn(i, e);
3888
3873
  if (o)
3889
- return Yn(e, t, o);
3874
+ return Zn(e, t, o);
3890
3875
  }
3891
3876
  };
3892
- let Je;
3893
- const ae = ye({});
3894
- function Qn(e) {
3895
- return Je[e] || null;
3877
+ let Ze;
3878
+ const ue = ve({});
3879
+ function Yn(e) {
3880
+ return Ze[e] || null;
3896
3881
  }
3897
- function Kt(e) {
3898
- return e in Je;
3882
+ function Yt(e) {
3883
+ return e in Ze;
3899
3884
  }
3900
- function Jn(e, t) {
3901
- if (!Kt(e))
3885
+ function Qn(e, t) {
3886
+ if (!Yt(e))
3902
3887
  return null;
3903
- const r = Qn(e);
3904
- return Zn(r, t);
3888
+ const r = Yn(e);
3889
+ return zn(r, t);
3905
3890
  }
3906
- function qn(e) {
3891
+ function Jn(e) {
3907
3892
  if (e == null)
3908
3893
  return;
3909
- const t = Ee(e);
3894
+ const t = _e(e);
3910
3895
  for (let r = 0; r < t.length; r++) {
3911
3896
  const n = t[r];
3912
- if (Kt(n))
3897
+ if (Yt(n))
3913
3898
  return n;
3914
3899
  }
3915
3900
  }
3916
- function er(e, ...t) {
3917
- delete $[e], ae.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
3901
+ function Qt(e, ...t) {
3902
+ delete R[e], ue.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
3918
3903
  }
3919
3904
  J(
3920
- [ae],
3905
+ [ue],
3921
3906
  ([e]) => Object.keys(e)
3922
3907
  );
3923
- ae.subscribe((e) => Je = e);
3924
- const pe = {};
3925
- function Kn(e, t) {
3926
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3908
+ ue.subscribe((e) => Ze = e);
3909
+ const me = {};
3910
+ function qn(e, t) {
3911
+ me[e].delete(t), me[e].size === 0 && delete me[e];
3927
3912
  }
3928
- function tr(e) {
3929
- return pe[e];
3913
+ function Jt(e) {
3914
+ return me[e];
3930
3915
  }
3931
- function ei(e) {
3932
- return Ee(e).map((t) => {
3933
- const r = tr(t);
3916
+ function Kn(e) {
3917
+ return _e(e).map((t) => {
3918
+ const r = Jt(t);
3934
3919
  return [t, r ? [...r] : []];
3935
3920
  }).filter(([, t]) => t.length > 0);
3936
3921
  }
3937
3922
  function Ve(e) {
3938
- return e == null ? !1 : Ee(e).some(
3923
+ return e == null ? !1 : _e(e).some(
3939
3924
  (t) => {
3940
3925
  var r;
3941
- return (r = tr(t)) == null ? void 0 : r.size;
3926
+ return (r = Jt(t)) == null ? void 0 : r.size;
3942
3927
  }
3943
3928
  );
3944
3929
  }
3945
- function ti(e, t) {
3930
+ function ei(e, t) {
3946
3931
  return Promise.all(
3947
- t.map((n) => (Kn(e, n), n().then((i) => i.default || i)))
3948
- ).then((n) => er(e, ...n));
3932
+ t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
3933
+ ).then((n) => Qt(e, ...n));
3949
3934
  }
3950
3935
  const ee = {};
3951
- function rr(e) {
3936
+ function qt(e) {
3952
3937
  if (!Ve(e))
3953
3938
  return e in ee ? ee[e] : Promise.resolve();
3954
- const t = ei(e);
3939
+ const t = Kn(e);
3955
3940
  return ee[e] = Promise.all(
3956
3941
  t.map(
3957
- ([r, n]) => ti(r, n)
3942
+ ([r, n]) => ei(r, n)
3958
3943
  )
3959
3944
  ).then(() => {
3960
3945
  if (Ve(e))
3961
- return rr(e);
3946
+ return qt(e);
3962
3947
  delete ee[e];
3963
3948
  }), ee[e];
3964
3949
  }
3965
- const ri = {
3950
+ const ti = {
3966
3951
  number: {
3967
3952
  scientific: { notation: "scientific" },
3968
3953
  engineering: { notation: "engineering" },
@@ -3991,135 +3976,135 @@ const ri = {
3991
3976
  timeZoneName: "short"
3992
3977
  }
3993
3978
  }
3994
- }, ni = {
3979
+ }, ri = {
3995
3980
  fallbackLocale: null,
3996
3981
  loadingDelay: 200,
3997
- formats: ri,
3982
+ formats: ti,
3998
3983
  warnOnMissingMessages: !0,
3999
3984
  handleMissingMessage: void 0,
4000
3985
  ignoreTag: !0
4001
- }, ii = ni;
3986
+ }, ni = ri;
4002
3987
  function Q() {
4003
- return ii;
3988
+ return ni;
4004
3989
  }
4005
- const Pe = ye(!1);
4006
- var oi = Object.defineProperty, si = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
3990
+ const Pe = ve(!1);
3991
+ var ii = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
4007
3992
  for (var r in t || (t = {}))
4008
- ui.call(t, r) && yt(e, r, t[r]);
4009
- if (gt)
4010
- for (var r of gt(t))
4011
- hi.call(t, r) && yt(e, r, t[r]);
3993
+ ai.call(t, r) && bt(e, r, t[r]);
3994
+ if (mt)
3995
+ for (var r of mt(t))
3996
+ ui.call(t, r) && bt(e, r, t[r]);
4012
3997
  return e;
4013
- }, ci = (e, t) => si(e, ai(t));
3998
+ }, li = (e, t) => oi(e, si(t));
4014
3999
  let Xe;
4015
- const me = ye(null);
4016
- function vt(e) {
4000
+ const be = ve(null);
4001
+ function dt(e) {
4017
4002
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4018
4003
  }
4019
- function Ee(e, t = Q().fallbackLocale) {
4020
- const r = vt(e);
4021
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4004
+ function _e(e, t = Q().fallbackLocale) {
4005
+ const r = dt(e);
4006
+ return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
4022
4007
  }
4023
4008
  function G() {
4024
4009
  return Xe ?? void 0;
4025
4010
  }
4026
- me.subscribe((e) => {
4011
+ be.subscribe((e) => {
4027
4012
  Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4028
4013
  });
4029
- const fi = (e) => {
4030
- if (e && qn(e) && Ve(e)) {
4014
+ const ci = (e) => {
4015
+ if (e && Jn(e) && Ve(e)) {
4031
4016
  const { loadingDelay: t } = Q();
4032
4017
  let r;
4033
4018
  return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4034
4019
  () => Pe.set(!0),
4035
4020
  t
4036
- ) : Pe.set(!0), rr(e).then(() => {
4037
- me.set(e);
4021
+ ) : Pe.set(!0), qt(e).then(() => {
4022
+ be.set(e);
4038
4023
  }).finally(() => {
4039
4024
  clearTimeout(r), Pe.set(!1);
4040
4025
  });
4041
4026
  }
4042
- return me.set(e);
4043
- }, q = ci(li({}, me), {
4044
- set: fi
4045
- }), _e = (e) => {
4027
+ return be.set(e);
4028
+ }, q = li(hi({}, be), {
4029
+ set: ci
4030
+ }), xe = (e) => {
4046
4031
  const t = /* @__PURE__ */ Object.create(null);
4047
4032
  return (n) => {
4048
4033
  const i = JSON.stringify(n);
4049
4034
  return i in t ? t[i] : t[i] = e(n);
4050
4035
  };
4051
4036
  };
4052
- var pi = Object.defineProperty, be = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4037
+ var fi = Object.defineProperty, de = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4053
4038
  for (var r in t || (t = {}))
4054
- nr.call(t, r) && Et(e, r, t[r]);
4055
- if (be)
4056
- for (var r of be(t))
4057
- ir.call(t, r) && Et(e, r, t[r]);
4039
+ Kt.call(t, r) && gt(e, r, t[r]);
4040
+ if (de)
4041
+ for (var r of de(t))
4042
+ er.call(t, r) && gt(e, r, t[r]);
4058
4043
  return e;
4059
4044
  }, K = (e, t) => {
4060
4045
  var r = {};
4061
4046
  for (var n in e)
4062
- nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4063
- if (e != null && be)
4064
- for (var n of be(e))
4065
- t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
4047
+ Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4048
+ if (e != null && de)
4049
+ for (var n of de(e))
4050
+ t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
4066
4051
  return r;
4067
4052
  };
4068
- const oe = (e, t) => {
4053
+ const se = (e, t) => {
4069
4054
  const { formats: r } = Q();
4070
4055
  if (e in r && t in r[e])
4071
4056
  return r[e][t];
4072
4057
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4073
- }, mi = _e(
4058
+ }, pi = xe(
4074
4059
  (e) => {
4075
4060
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4076
4061
  if (r == null)
4077
4062
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4078
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4063
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4079
4064
  }
4080
- ), bi = _e(
4065
+ ), mi = xe(
4081
4066
  (e) => {
4082
4067
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4083
4068
  if (r == null)
4084
4069
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4085
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4070
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4086
4071
  }
4087
- ), di = _e(
4072
+ ), bi = xe(
4088
4073
  (e) => {
4089
4074
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4090
4075
  if (r == null)
4091
4076
  throw new Error(
4092
4077
  '[svelte-i18n] A "locale" must be set to format time values'
4093
4078
  );
4094
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4079
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4095
4080
  }
4096
- ), gi = (e = {}) => {
4081
+ ), di = (e = {}) => {
4097
4082
  var t = e, {
4098
4083
  locale: r = G()
4099
4084
  } = t, n = K(t, [
4100
4085
  "locale"
4101
4086
  ]);
4102
- return mi(qe({ locale: r }, n));
4103
- }, yi = (e = {}) => {
4087
+ return pi(Ye({ locale: r }, n));
4088
+ }, gi = (e = {}) => {
4104
4089
  var t = e, {
4105
4090
  locale: r = G()
4106
4091
  } = t, n = K(t, [
4107
4092
  "locale"
4108
4093
  ]);
4109
- return bi(qe({ locale: r }, n));
4110
- }, vi = (e = {}) => {
4094
+ return mi(Ye({ locale: r }, n));
4095
+ }, yi = (e = {}) => {
4111
4096
  var t = e, {
4112
4097
  locale: r = G()
4113
4098
  } = t, n = K(t, [
4114
4099
  "locale"
4115
4100
  ]);
4116
- return di(qe({ locale: r }, n));
4117
- }, Ei = _e(
4101
+ return bi(Ye({ locale: r }, n));
4102
+ }, vi = xe(
4118
4103
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4119
- (e, t = G()) => new zn(e, t, Q().formats, {
4104
+ (e, t = G()) => new Wn(e, t, Q().formats, {
4120
4105
  ignoreTag: Q().ignoreTag
4121
4106
  })
4122
- ), _i = (e, t = {}) => {
4107
+ ), Ei = (e, t = {}) => {
4123
4108
  var r, n, i, o;
4124
4109
  let s = t;
4125
4110
  typeof e == "object" && (s = e, e = s.id);
@@ -4132,7 +4117,7 @@ const oe = (e, t) => {
4132
4117
  throw new Error(
4133
4118
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4134
4119
  );
4135
- let l = qt(e, h);
4120
+ let l = Zt(e, h);
4136
4121
  if (!l)
4137
4122
  l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4138
4123
  else if (typeof l != "string")
@@ -4143,7 +4128,7 @@ const oe = (e, t) => {
4143
4128
  return l;
4144
4129
  let c = l;
4145
4130
  try {
4146
- c = Ei(l, h).format(a);
4131
+ c = vi(l, h).format(a);
4147
4132
  } catch (f) {
4148
4133
  f instanceof Error && console.warn(
4149
4134
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4151,20 +4136,20 @@ const oe = (e, t) => {
4151
4136
  );
4152
4137
  }
4153
4138
  return c;
4154
- }, xi = (e, t) => vi(t).format(e), Bi = (e, t) => yi(t).format(e), Si = (e, t) => gi(t).format(e), Ti = (e, t = G()) => qt(e, t), Hi = J([q, ae], () => _i);
4139
+ }, _i = (e, t) => yi(t).format(e), xi = (e, t) => gi(t).format(e), Bi = (e, t) => di(t).format(e), Si = (e, t = G()) => Zt(e, t), Ti = J([q, ue], () => Ei);
4140
+ J([q], () => _i);
4155
4141
  J([q], () => xi);
4156
4142
  J([q], () => Bi);
4157
- J([q], () => Si);
4158
- J([q, ae], () => Ti);
4159
- window.emWidgets = { topic: Ur };
4143
+ J([q, ue], () => Si);
4144
+ window.emWidgets = { topic: Rr };
4160
4145
  const wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4161
- function _t(e, t) {
4162
- er(e, t);
4146
+ function yt(e, t) {
4147
+ Qt(e, t);
4163
4148
  }
4164
- function Ai(e) {
4149
+ function Hi(e) {
4165
4150
  q.set(e);
4166
4151
  }
4167
- const xt = {
4152
+ const vt = {
4168
4153
  en: {
4169
4154
  titleBiometrics: "Biometrics Authentication",
4170
4155
  descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
@@ -4243,24 +4228,47 @@ const xt = {
4243
4228
  btnDisableBiometrics: "Disable biometrics"
4244
4229
  }
4245
4230
  };
4246
- function Pi(e) {
4247
- ar(e, "svelte-1cpvxby", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
4231
+ function Ai(e, t) {
4232
+ if (e) {
4233
+ const r = document.createElement("style");
4234
+ r.innerHTML = t, e.appendChild(r);
4235
+ }
4236
+ }
4237
+ function Pi(e, t) {
4238
+ const r = new URL(t);
4239
+ fetch(r.href).then((n) => n.text()).then((n) => {
4240
+ const i = document.createElement("style");
4241
+ i.innerHTML = n, e && e.appendChild(i);
4242
+ }).catch((n) => {
4243
+ console.error("There was an error while trying to load client styling from URL", n);
4244
+ });
4245
+ }
4246
+ function Oi(e, t, r) {
4247
+ if (window.emMessageBus) {
4248
+ const n = document.createElement("style");
4249
+ window.emMessageBus.subscribe(t, (i) => {
4250
+ n.innerHTML = i, e && e.appendChild(n);
4251
+ });
4252
+ }
4253
+ }
4254
+ function Ii(e) {
4255
+ nr(e, "svelte-1cpvxby", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
4248
4256
  }
4249
- function Oi(e) {
4257
+ function Ni(e) {
4250
4258
  let t, r, n, i, o, s, a, h, u, l, c = (
4251
4259
  /*$_*/
4252
4260
  e[2]("titleBiometrics") + ""
4253
- ), f, p, y;
4261
+ ), f, p, g;
4254
4262
  return {
4255
4263
  c() {
4256
- t = I("div"), r = F("svg"), n = F("defs"), i = F("style"), o = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = F("g"), a = F("g"), h = F("path"), u = te(), l = I("h2"), f = U(c), B(h, "class", "aaa"), B(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(h, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "width", "15"), B(r, "height", "15"), B(r, "viewBox", "0 0 15 15"), B(l, "class", "BiometricsTitleMobile"), B(l, "part", "BiometricsTitleMobile"), B(t, "class", "MenuReturnButton"), B(t, "part", "MenuReturnButton");
4264
+ t = O("div"), r = F("svg"), n = F("defs"), i = F("style"), o = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = F("g"), a = F("g"), h = F("path"), u = te(), l = O("h2"), f = U(c), B(h, "class", "aaa"), B(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(h, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "width", "15"), B(r, "height", "15"), B(r, "viewBox", "0 0 15 15"), B(l, "class", "BiometricsTitleMobile"), B(l, "part", "BiometricsTitleMobile"), B(t, "class", "MenuReturnButton"), B(t, "part", "MenuReturnButton");
4257
4265
  },
4258
4266
  m(m, x) {
4259
- ze(m, t, x), E(t, r), E(r, n), E(n, i), E(i, o), E(r, s), E(s, a), E(a, h), E(t, u), E(t, l), E(l, f), p || (y = Ht(
4267
+ ze(m, t, x), E(t, r), E(r, n), E(n, i), E(i, o), E(r, s), E(s, a), E(a, h), E(t, u), E(t, l), E(l, f), p || (g = Bt(
4260
4268
  t,
4261
4269
  "click",
4262
4270
  /*click_handler*/
4263
- e[10]
4271
+ e[11]
4264
4272
  ), p = !0);
4265
4273
  },
4266
4274
  p(m, x) {
@@ -4269,21 +4277,21 @@ function Oi(e) {
4269
4277
  m[2]("titleBiometrics") + "") && re(f, c);
4270
4278
  },
4271
4279
  d(m) {
4272
- m && de(t), p = !1, y();
4280
+ m && ge(t), p = !1, g();
4273
4281
  }
4274
4282
  };
4275
4283
  }
4276
- function Ii(e) {
4284
+ function Mi(e) {
4277
4285
  let t, r, n, i, o = (
4278
4286
  /*$_*/
4279
4287
  e[2]("titleBiometrics") + ""
4280
4288
  ), s, a, h, u, l = (
4281
4289
  /*$_*/
4282
4290
  e[2]("descriptionParagraph1") + ""
4283
- ), c, f, p, y = (
4291
+ ), c, f, p, g = (
4284
4292
  /*$_*/
4285
4293
  e[2]("descriptionParagraph2") + ""
4286
- ), m, x, P, A, S = (
4294
+ ), m, x, A, H, T = (
4287
4295
  /*biometricsenabled*/
4288
4296
  (e[0] === "true" ? (
4289
4297
  /*$_*/
@@ -4292,175 +4300,174 @@ function Ii(e) {
4292
4300
  /*$_*/
4293
4301
  e[2]("btnEnableBiometrics")
4294
4302
  )) + ""
4295
- ), N, b, T, H = (
4303
+ ), v, S, N, M = (
4296
4304
  /*isMobile*/
4297
- e[3] && Oi(e)
4305
+ e[3] && Ni(e)
4298
4306
  );
4299
4307
  return {
4300
4308
  c() {
4301
- t = I("div"), r = I("div"), H && H.c(), n = te(), i = I("h2"), s = U(o), a = te(), h = I("div"), u = I("p"), c = U(l), f = te(), p = I("p"), m = U(y), x = te(), P = I("div"), A = I("button"), N = U(S), B(i, "class", "BiometricsTitle " + /*isMobile*/
4309
+ t = O("div"), r = O("div"), M && M.c(), n = te(), i = O("h2"), s = U(o), a = te(), h = O("div"), u = O("p"), c = U(l), f = te(), p = O("p"), m = U(g), x = te(), A = O("div"), H = O("button"), v = U(T), B(i, "class", "BiometricsTitle " + /*isMobile*/
4302
4310
  (e[3] ? "BiometricsTitleNone" : "")), B(h, "class", "BiometricsDescription " + /*isMobile*/
4303
- (e[3] ? "BiometricsDescriptionMobile" : "")), B(A, "class", "BiometricsToggle"), B(P, "class", "BiometricsActionButtons " + /*isMobile*/
4311
+ (e[3] ? "BiometricsDescriptionMobile" : "")), B(H, "class", "BiometricsToggle"), B(A, "class", "BiometricsActionButtons " + /*isMobile*/
4304
4312
  (e[3] ? "BiometricsActionButtonsMobile" : "")), B(r, "class", "BiometricsWrapper " + /*isMobile*/
4305
4313
  (e[3] ? "BiometricsWrapperMobile" : ""));
4306
4314
  },
4307
- m(O, R) {
4308
- ze(O, t, R), E(t, r), H && H.m(r, null), E(r, n), E(r, i), E(i, s), E(r, a), E(r, h), E(h, u), E(u, c), E(h, f), E(h, p), E(p, m), E(r, x), E(r, P), E(P, A), E(A, N), e[12](t), b || (T = Ht(
4309
- A,
4315
+ m(P, D) {
4316
+ ze(P, t, D), E(t, r), M && M.m(r, null), E(r, n), E(r, i), E(i, s), E(r, a), E(r, h), E(h, u), E(u, c), E(h, f), E(h, p), E(p, m), E(r, x), E(r, A), E(A, H), E(H, v), e[13](t), S || (N = Bt(
4317
+ H,
4310
4318
  "click",
4311
4319
  /*click_handler_1*/
4312
- e[11]
4313
- ), b = !0);
4320
+ e[12]
4321
+ ), S = !0);
4314
4322
  },
4315
- p(O, [R]) {
4323
+ p(P, [D]) {
4316
4324
  /*isMobile*/
4317
- O[3] && H.p(O, R), R & /*$_*/
4325
+ P[3] && M.p(P, D), D & /*$_*/
4318
4326
  4 && o !== (o = /*$_*/
4319
- O[2]("titleBiometrics") + "") && re(s, o), R & /*$_*/
4327
+ P[2]("titleBiometrics") + "") && re(s, o), D & /*$_*/
4320
4328
  4 && l !== (l = /*$_*/
4321
- O[2]("descriptionParagraph1") + "") && re(c, l), R & /*$_*/
4322
- 4 && y !== (y = /*$_*/
4323
- O[2]("descriptionParagraph2") + "") && re(m, y), R & /*biometricsenabled, $_*/
4324
- 5 && S !== (S = /*biometricsenabled*/
4325
- (O[0] === "true" ? (
4329
+ P[2]("descriptionParagraph1") + "") && re(c, l), D & /*$_*/
4330
+ 4 && g !== (g = /*$_*/
4331
+ P[2]("descriptionParagraph2") + "") && re(m, g), D & /*biometricsenabled, $_*/
4332
+ 5 && T !== (T = /*biometricsenabled*/
4333
+ (P[0] === "true" ? (
4326
4334
  /*$_*/
4327
- O[2]("btnDisableBiometrics")
4335
+ P[2]("btnDisableBiometrics")
4328
4336
  ) : (
4329
4337
  /*$_*/
4330
- O[2]("btnEnableBiometrics")
4331
- )) + "") && re(N, S);
4338
+ P[2]("btnEnableBiometrics")
4339
+ )) + "") && re(v, T);
4332
4340
  },
4333
- i: C,
4334
- o: C,
4335
- d(O) {
4336
- O && de(t), H && H.d(), e[12](null), b = !1, T();
4341
+ i: I,
4342
+ o: I,
4343
+ d(P) {
4344
+ P && ge(t), M && M.d(), e[13](null), S = !1, N();
4337
4345
  }
4338
4346
  };
4339
4347
  }
4340
- function Ni(e, t, r) {
4348
+ function Li(e, t, r) {
4341
4349
  let n;
4342
- sr(e, Hi, (b) => r(2, n = b));
4343
- let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: h = "" } = t, u, l = window.navigator.userAgent, c = wi(l) !== "PC";
4344
- const f = () => {
4345
- fetch(h).then((T) => T.json()).then((T) => {
4346
- Object.keys(T).forEach((H) => {
4347
- _t(H, T[H]);
4350
+ rr(e, Ti, (v) => r(2, n = v));
4351
+ let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: h } = t, { translationurl: u = "" } = t, l, c = window.navigator.userAgent, f = wi(c) !== "PC";
4352
+ const p = () => {
4353
+ fetch(u).then((S) => S.json()).then((S) => {
4354
+ Object.keys(S).forEach((N) => {
4355
+ yt(N, S[N]);
4348
4356
  });
4349
- }).catch((T) => {
4350
- console.log(T);
4357
+ }).catch((S) => {
4358
+ console.log(S);
4351
4359
  });
4352
4360
  };
4353
- Object.keys(xt).forEach((b) => {
4354
- _t(b, xt[b]);
4361
+ Object.keys(vt).forEach((v) => {
4362
+ yt(v, vt[v]);
4355
4363
  });
4356
- const p = () => {
4357
- let b = document.createElement("style");
4358
- b.innerHTML = s, u.appendChild(b);
4359
- }, y = () => {
4360
- let b = new URL(a), T = document.createElement("style");
4361
- fetch(b.href).then((H) => H.text()).then((H) => {
4362
- T.innerHTML = H, setTimeout(
4363
- () => {
4364
- u.appendChild(T);
4365
- },
4366
- 1
4367
- );
4368
- });
4364
+ const g = () => {
4365
+ Hi(o);
4369
4366
  }, m = () => {
4370
- Ai(o);
4371
- }, x = () => {
4372
4367
  window.postMessage(
4373
4368
  {
4374
4369
  type: "PlayerAccountMenuActive",
4375
- isMobile: c
4370
+ isMobile: f
4376
4371
  },
4377
4372
  window.location.href
4378
4373
  );
4379
- }, P = () => {
4374
+ }, x = () => {
4380
4375
  i === "true" ? r(0, i = "false") : i === "false" && r(0, i = "true"), window.postMessage({
4381
4376
  type: "ToggleBiometrics",
4382
4377
  data: i
4383
4378
  });
4384
- }, A = () => x(), S = () => P();
4385
- function N(b) {
4386
- Oe[b ? "unshift" : "push"](() => {
4387
- u = b, r(1, u);
4379
+ };
4380
+ hr(() => () => {
4381
+ });
4382
+ const A = () => m(), H = () => x();
4383
+ function T(v) {
4384
+ Oe[v ? "unshift" : "push"](() => {
4385
+ l = v, r(1, l);
4388
4386
  });
4389
4387
  }
4390
- return e.$$set = (b) => {
4391
- "biometricsenabled" in b && r(0, i = b.biometricsenabled), "lang" in b && r(6, o = b.lang), "clientstyling" in b && r(7, s = b.clientstyling), "clientstylingurl" in b && r(8, a = b.clientstylingurl), "translationurl" in b && r(9, h = b.translationurl);
4388
+ return e.$$set = (v) => {
4389
+ "biometricsenabled" in v && r(0, i = v.biometricsenabled), "lang" in v && r(6, o = v.lang), "clientstyling" in v && r(7, s = v.clientstyling), "clientstylingurl" in v && r(8, a = v.clientstylingurl), "mbsource" in v && r(9, h = v.mbsource), "translationurl" in v && r(10, u = v.translationurl);
4392
4390
  }, e.$$.update = () => {
4393
4391
  e.$$.dirty & /*lang*/
4394
- 64 && o && m(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4395
- 258 && a && u && y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4396
- 130 && s && u && p(), e.$$.dirty & /*translationurl*/
4397
- 512 && h && f();
4392
+ 64 && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4393
+ 130 && s && l && Ai(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4394
+ 258 && a && l && Pi(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4395
+ 514 && h && l && Oi(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
4396
+ 1024 && u && p();
4398
4397
  }, [
4399
4398
  i,
4400
- u,
4399
+ l,
4401
4400
  n,
4402
- c,
4401
+ f,
4402
+ m,
4403
4403
  x,
4404
- P,
4405
4404
  o,
4406
4405
  s,
4407
4406
  a,
4408
4407
  h,
4408
+ u,
4409
4409
  A,
4410
- S,
4411
- N
4410
+ H,
4411
+ T
4412
4412
  ];
4413
4413
  }
4414
- class Ci extends Br {
4414
+ class Ci extends _r {
4415
4415
  constructor(t) {
4416
- super(), _r(
4416
+ super(), vr(
4417
4417
  this,
4418
4418
  t,
4419
- Ni,
4420
- Ii,
4421
- St,
4419
+ Li,
4420
+ Mi,
4421
+ _t,
4422
4422
  {
4423
4423
  biometricsenabled: 0,
4424
4424
  lang: 6,
4425
4425
  clientstyling: 7,
4426
4426
  clientstylingurl: 8,
4427
- translationurl: 9
4427
+ mbsource: 9,
4428
+ translationurl: 10
4428
4429
  },
4429
- Pi
4430
+ Ii
4430
4431
  );
4431
4432
  }
4432
4433
  get biometricsenabled() {
4433
4434
  return this.$$.ctx[0];
4434
4435
  }
4435
4436
  set biometricsenabled(t) {
4436
- this.$$set({ biometricsenabled: t }), D();
4437
+ this.$$set({ biometricsenabled: t }), $();
4437
4438
  }
4438
4439
  get lang() {
4439
4440
  return this.$$.ctx[6];
4440
4441
  }
4441
4442
  set lang(t) {
4442
- this.$$set({ lang: t }), D();
4443
+ this.$$set({ lang: t }), $();
4443
4444
  }
4444
4445
  get clientstyling() {
4445
4446
  return this.$$.ctx[7];
4446
4447
  }
4447
4448
  set clientstyling(t) {
4448
- this.$$set({ clientstyling: t }), D();
4449
+ this.$$set({ clientstyling: t }), $();
4449
4450
  }
4450
4451
  get clientstylingurl() {
4451
4452
  return this.$$.ctx[8];
4452
4453
  }
4453
4454
  set clientstylingurl(t) {
4454
- this.$$set({ clientstylingurl: t }), D();
4455
+ this.$$set({ clientstylingurl: t }), $();
4455
4456
  }
4456
- get translationurl() {
4457
+ get mbsource() {
4457
4458
  return this.$$.ctx[9];
4458
4459
  }
4460
+ set mbsource(t) {
4461
+ this.$$set({ mbsource: t }), $();
4462
+ }
4463
+ get translationurl() {
4464
+ return this.$$.ctx[10];
4465
+ }
4459
4466
  set translationurl(t) {
4460
- this.$$set({ translationurl: t }), D();
4467
+ this.$$set({ translationurl: t }), $();
4461
4468
  }
4462
4469
  }
4463
- xr(Ci, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4470
+ Er(Ci, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4464
4471
  export {
4465
4472
  Ci as P
4466
4473
  };