@everymatrix/player-account-biometrics 1.56.0 → 1.56.2

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,17 +1,17 @@
1
- var ar = Object.defineProperty, ur = Object.defineProperties;
2
- var hr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
5
- var Se = (e, t, r) => t in e ? ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var cr = Object.defineProperty, fr = Object.defineProperties;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
+ var tt = Object.getOwnPropertySymbols;
4
+ var pr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var Se = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- lr.call(t, r) && Se(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- cr.call(t, r) && Se(e, r, t[r]);
7
+ pr.call(t, r) && Se(e, r, t[r]);
8
+ if (tt)
9
+ for (var r of tt(t))
10
+ br.call(t, r) && Se(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => ur(e, hr(t));
13
- var O = (e, t, r) => Se(e, typeof t != "symbol" ? t + "" : t, r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
12
+ }, nt = (e, t) => fr(e, mr(t));
13
+ var O = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var it = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function N() {
31
31
  }
32
- function wt(e) {
32
+ function Pt(e) {
33
33
  return e();
34
34
  }
35
- function rt() {
35
+ function ot() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ue(e) {
39
- e.forEach(wt);
39
+ e.forEach(Pt);
40
40
  }
41
- function Ze(e) {
41
+ function Ye(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ht(e, t) {
44
+ function Ot(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function fr(e) {
47
+ function dr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function At(e, ...t) {
50
+ function It(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,21 +56,22 @@ function At(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function pr(e, t, r) {
60
- e.$$.on_destroy.push(At(t, r));
59
+ function gr(e, t, r) {
60
+ e.$$.on_destroy.push(It(t, r));
61
61
  }
62
62
  function E(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function mr(e, t, r) {
66
- const n = br(e);
65
+ function yr(e, t, r) {
66
+ const n = vr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = I("style");
69
- i.id = t, i.textContent = r, dr(n, i);
69
+ i.id = t, i.textContent = r, Er(n, i);
70
70
  }
71
71
  }
72
- function br(e) {
73
- if (!e) return document;
72
+ function vr(e) {
73
+ if (!e)
74
+ return document;
74
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
76
  return t && /** @type {ShadowRoot} */
76
77
  t.host ? (
@@ -78,14 +79,14 @@ function br(e) {
78
79
  t
79
80
  ) : e.ownerDocument;
80
81
  }
81
- function dr(e, t) {
82
+ function Er(e, t) {
82
83
  return E(
83
84
  /** @type {Document} */
84
85
  e.head || e,
85
86
  t
86
87
  ), t.sheet;
87
88
  }
88
- function Ye(e, t, r) {
89
+ function Qe(e, t, r) {
89
90
  e.insertBefore(t, r || null);
90
91
  }
91
92
  function ye(e) {
@@ -103,20 +104,20 @@ function G(e) {
103
104
  function re() {
104
105
  return G(" ");
105
106
  }
106
- function Pt(e, t, r, n) {
107
+ function Nt(e, t, r, n) {
107
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
108
109
  }
109
110
  function B(e, t, r) {
110
111
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
111
112
  }
112
- function gr(e) {
113
+ function _r(e) {
113
114
  return Array.from(e.childNodes);
114
115
  }
115
116
  function ne(e, t) {
116
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
117
118
  t);
118
119
  }
119
- function yr(e) {
120
+ function xr(e) {
120
121
  const t = {};
121
122
  return e.childNodes.forEach(
122
123
  /** @param {Element} node */
@@ -129,19 +130,20 @@ let oe;
129
130
  function ie(e) {
130
131
  oe = e;
131
132
  }
132
- function vr() {
133
- if (!oe) throw new Error("Function called outside component initialization");
133
+ function Br() {
134
+ if (!oe)
135
+ throw new Error("Function called outside component initialization");
134
136
  return oe;
135
137
  }
136
- function Er(e) {
137
- vr().$$.on_mount.push(e);
138
+ function Sr(e) {
139
+ Br().$$.on_mount.push(e);
138
140
  }
139
- const X = [], Ne = [];
141
+ const X = [], Me = [];
140
142
  let W = [];
141
- const nt = [], _r = /* @__PURE__ */ Promise.resolve();
142
- let Me = !1;
143
- function xr() {
144
- Me || (Me = !0, _r.then(R));
143
+ const st = [], Tr = /* @__PURE__ */ Promise.resolve();
144
+ let Ce = !1;
145
+ function wr() {
146
+ Ce || (Ce = !0, Tr.then(R));
145
147
  }
146
148
  function Le(e) {
147
149
  W.push(e);
@@ -156,52 +158,53 @@ function R() {
156
158
  try {
157
159
  for (; k < X.length; ) {
158
160
  const t = X[k];
159
- k++, ie(t), Br(t.$$);
161
+ k++, ie(t), Hr(t.$$);
160
162
  }
161
163
  } catch (t) {
162
164
  throw X.length = 0, k = 0, t;
163
165
  }
164
- for (ie(null), X.length = 0, k = 0; Ne.length; ) Ne.pop()();
166
+ for (ie(null), X.length = 0, k = 0; Me.length; )
167
+ Me.pop()();
165
168
  for (let t = 0; t < W.length; t += 1) {
166
169
  const r = W[t];
167
170
  Te.has(r) || (Te.add(r), r());
168
171
  }
169
172
  W.length = 0;
170
173
  } while (X.length);
171
- for (; nt.length; )
172
- nt.pop()();
173
- Me = !1, Te.clear(), ie(e);
174
+ for (; st.length; )
175
+ st.pop()();
176
+ Ce = !1, Te.clear(), ie(e);
174
177
  }
175
- function Br(e) {
178
+ function Hr(e) {
176
179
  if (e.fragment !== null) {
177
180
  e.update(), ue(e.before_update);
178
181
  const t = e.dirty;
179
182
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
180
183
  }
181
184
  }
182
- function Sr(e) {
185
+ function Ar(e) {
183
186
  const t = [], r = [];
184
187
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
185
188
  }
186
- const Tr = /* @__PURE__ */ new Set();
187
- function wr(e, t) {
188
- e && e.i && (Tr.delete(e), e.i(t));
189
+ const Pr = /* @__PURE__ */ new Set();
190
+ function Or(e, t) {
191
+ e && e.i && (Pr.delete(e), e.i(t));
189
192
  }
190
- function Hr(e, t, r) {
193
+ function Ir(e, t, r) {
191
194
  const { fragment: n, after_update: i } = e.$$;
192
195
  n && n.m(t, r), Le(() => {
193
- const o = e.$$.on_mount.map(wt).filter(Ze);
196
+ const o = e.$$.on_mount.map(Pt).filter(Ye);
194
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
195
198
  }), i.forEach(Le);
196
199
  }
197
- function Ar(e, t) {
200
+ function Nr(e, t) {
198
201
  const r = e.$$;
199
- r.fragment !== null && (Sr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (Ar(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
200
203
  }
201
- function Pr(e, t) {
202
- e.$$.dirty[0] === -1 && (X.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Mr(e, t) {
205
+ e.$$.dirty[0] === -1 && (X.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
203
206
  }
204
- function Or(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
205
208
  const h = oe;
206
209
  ie(e);
207
210
  const u = e.$$ = {
@@ -211,7 +214,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
211
214
  props: o,
212
215
  update: N,
213
216
  not_equal: i,
214
- bound: rt(),
217
+ bound: ot(),
215
218
  // lifecycle
216
219
  on_mount: [],
217
220
  on_destroy: [],
@@ -220,28 +223,28 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
220
223
  after_update: [],
221
224
  context: new Map(t.context || (h ? h.$$.context : [])),
222
225
  // everything else
223
- callbacks: rt(),
226
+ callbacks: ot(),
224
227
  dirty: a,
225
228
  skip_bound: !1,
226
229
  root: t.target || h.$$.root
227
230
  };
228
231
  s && s(u.root);
229
232
  let l = !1;
230
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
231
- const g = p.length ? p[0] : f;
232
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && Pr(e, c)), f;
233
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
234
+ const g = m.length ? m[0] : f;
235
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && Mr(e, c)), f;
233
236
  }) : [], u.update(), l = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
234
237
  if (t.hydrate) {
235
- const c = gr(t.target);
238
+ const c = _r(t.target);
236
239
  u.fragment && u.fragment.l(c), c.forEach(ye);
237
240
  } else
238
241
  u.fragment && u.fragment.c();
239
- t.intro && wr(e.$$.fragment), Hr(e, t.target, t.anchor), R();
242
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), R();
240
243
  }
241
244
  ie(h);
242
245
  }
243
- let Ot;
244
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
246
+ let Mt;
247
+ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
245
248
  constructor(t, r, n) {
246
249
  super();
247
250
  /** The Svelte component constructor */
@@ -278,7 +281,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
278
281
  }
279
282
  }
280
283
  connectedCallback() {
281
- return tt(this, null, function* () {
284
+ return it(this, null, function* () {
282
285
  if (this.$$cn = !0, !this.$$c) {
283
286
  let t = function(o) {
284
287
  return () => {
@@ -292,7 +295,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
292
295
  * @param {HTMLElement} [anchor]
293
296
  */
294
297
  m: function(u, l) {
295
- Ye(u, s, l);
298
+ Qe(u, s, l);
296
299
  },
297
300
  d: function(u) {
298
301
  u && ye(s);
@@ -302,7 +305,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
302
305
  };
303
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
304
307
  return;
305
- const r = {}, n = yr(this);
308
+ const r = {}, n = xr(this);
306
309
  for (const o of this.$$s)
307
310
  o in n && (r[o] = [t(o)]);
308
311
  for (const o of this.attributes) {
@@ -313,7 +316,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
313
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
314
317
  this.$$c = new this.$$ctor({
315
318
  target: this.shadowRoot || this,
316
- props: et(Ke({}, this.$$d), {
319
+ props: nt(rt({}, this.$$d), {
317
320
  $$slots: r,
318
321
  $$scope: {
319
322
  ctx: []
@@ -391,8 +394,8 @@ function fe(e, t, r, n) {
391
394
  return t;
392
395
  }
393
396
  }
394
- function Ir(e, t, r, n, i, o) {
395
- let s = class extends Ot {
397
+ function Lr(e, t, r, n, i, o) {
398
+ let s = class extends Mt {
396
399
  constructor() {
397
400
  super(e, r, i), this.$$p_d = t;
398
401
  }
@@ -422,7 +425,7 @@ function Ir(e, t, r, n, i, o) {
422
425
  }), e.element = /** @type {any} */
423
426
  s, s;
424
427
  }
425
- class Nr {
428
+ class $r {
426
429
  constructor() {
427
430
  /**
428
431
  * ### PRIVATE API
@@ -443,7 +446,7 @@ class Nr {
443
446
  }
444
447
  /** @returns {void} */
445
448
  $destroy() {
446
- Ar(this, 1), this.$destroy = N;
449
+ Nr(this, 1), this.$destroy = N;
447
450
  }
448
451
  /**
449
452
  * @template {Extract<keyof Events, string>} K
@@ -452,7 +455,7 @@ class Nr {
452
455
  * @returns {() => void}
453
456
  */
454
457
  $on(t, r) {
455
- if (!Ze(r))
458
+ if (!Ye(r))
456
459
  return N;
457
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
458
461
  return n.push(r), () => {
@@ -465,22 +468,37 @@ class Nr {
465
468
  * @returns {void}
466
469
  */
467
470
  $set(t) {
468
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
469
472
  }
470
473
  }
471
- const Mr = "4";
472
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
473
- var Ce = function(e, t) {
474
- return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
474
+ const Rr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
476
+ /*! *****************************************************************************
477
+ Copyright (c) Microsoft Corporation.
478
+
479
+ Permission to use, copy, modify, and/or distribute this software for any
480
+ purpose with or without fee is hereby granted.
481
+
482
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
483
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
484
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
485
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
486
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
487
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
488
+ PERFORMANCE OF THIS SOFTWARE.
489
+ ***************************************************************************** */
490
+ var $e = function(e, t) {
491
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
475
492
  r.__proto__ = n;
476
493
  } || function(r, n) {
477
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
- }, Ce(e, t);
494
+ for (var i in n)
495
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
+ }, $e(e, t);
479
497
  };
480
498
  function $(e, t) {
481
499
  if (typeof t != "function" && t !== null)
482
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
- Ce(e, t);
501
+ $e(e, t);
484
502
  function r() {
485
503
  this.constructor = e;
486
504
  }
@@ -490,61 +508,69 @@ var y = function() {
490
508
  return y = Object.assign || function(t) {
491
509
  for (var r, n = 1, i = arguments.length; n < i; n++) {
492
510
  r = arguments[n];
493
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
511
+ for (var o in r)
512
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
494
513
  }
495
514
  return t;
496
515
  }, y.apply(this, arguments);
497
516
  };
498
- function Lr(e, t) {
517
+ function Dr(e, t) {
499
518
  var r = {};
500
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
519
+ for (var n in e)
520
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
501
521
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
502
522
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
503
523
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
504
524
  return r;
505
525
  }
506
- function $e(e) {
526
+ function Re(e) {
507
527
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
508
- if (r) return r.call(e);
509
- if (e && typeof e.length == "number") return {
510
- next: function() {
511
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
512
- }
513
- };
528
+ if (r)
529
+ return r.call(e);
530
+ if (e && typeof e.length == "number")
531
+ return {
532
+ next: function() {
533
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
534
+ }
535
+ };
514
536
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
515
537
  }
516
- function Re(e, t) {
538
+ function De(e, t) {
517
539
  var r = typeof Symbol == "function" && e[Symbol.iterator];
518
- if (!r) return e;
540
+ if (!r)
541
+ return e;
519
542
  var n = r.call(e), i, o = [], s;
520
543
  try {
521
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
544
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
545
+ o.push(i.value);
522
546
  } catch (a) {
523
547
  s = { error: a };
524
548
  } finally {
525
549
  try {
526
550
  i && !i.done && (r = n.return) && r.call(n);
527
551
  } finally {
528
- if (s) throw s.error;
552
+ if (s)
553
+ throw s.error;
529
554
  }
530
555
  }
531
556
  return o;
532
557
  }
533
558
  function z(e, t, r) {
534
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
535
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
536
- return e.concat(o || Array.prototype.slice.call(t));
559
+ if (r || arguments.length === 2)
560
+ for (var n = 0, i = t.length, o; n < i; n++)
561
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
562
+ return e.concat(o || t);
537
563
  }
538
- function C(e) {
564
+ function L(e) {
539
565
  return typeof e == "function";
540
566
  }
541
- function It(e) {
567
+ function Ct(e) {
542
568
  var t = function(n) {
543
569
  Error.call(n), n.stack = new Error().stack;
544
570
  }, r = e(t);
545
571
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
546
572
  }
547
- var we = It(function(e) {
573
+ var we = Ct(function(e) {
548
574
  return function(r) {
549
575
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
550
576
  ` + r.map(function(n, i) {
@@ -553,7 +579,7 @@ var we = It(function(e) {
553
579
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
554
580
  };
555
581
  });
556
- function De(e, t) {
582
+ function Ue(e, t) {
557
583
  if (e) {
558
584
  var r = e.indexOf(t);
559
585
  0 <= r && e.splice(r, 1);
@@ -571,47 +597,49 @@ var ve = function() {
571
597
  if (s)
572
598
  if (this._parentage = null, Array.isArray(s))
573
599
  try {
574
- for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
600
+ for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
575
601
  var u = h.value;
576
602
  u.remove(this);
577
603
  }
578
- } catch (m) {
579
- t = { error: m };
604
+ } catch (p) {
605
+ t = { error: p };
580
606
  } finally {
581
607
  try {
582
608
  h && !h.done && (r = a.return) && r.call(a);
583
609
  } finally {
584
- if (t) throw t.error;
610
+ if (t)
611
+ throw t.error;
585
612
  }
586
613
  }
587
614
  else
588
615
  s.remove(this);
589
616
  var l = this.initialTeardown;
590
- if (C(l))
617
+ if (L(l))
591
618
  try {
592
619
  l();
593
- } catch (m) {
594
- o = m instanceof we ? m.errors : [m];
620
+ } catch (p) {
621
+ o = p instanceof we ? p.errors : [p];
595
622
  }
596
623
  var c = this._finalizers;
597
624
  if (c) {
598
625
  this._finalizers = null;
599
626
  try {
600
- for (var f = $e(c), p = f.next(); !p.done; p = f.next()) {
601
- var g = p.value;
627
+ for (var f = Re(c), m = f.next(); !m.done; m = f.next()) {
628
+ var g = m.value;
602
629
  try {
603
- it(g);
604
- } catch (m) {
605
- o = o != null ? o : [], m instanceof we ? o = z(z([], Re(o)), Re(m.errors)) : o.push(m);
630
+ at(g);
631
+ } catch (p) {
632
+ o = o != null ? o : [], p instanceof we ? o = z(z([], De(o)), De(p.errors)) : o.push(p);
606
633
  }
607
634
  }
608
- } catch (m) {
609
- n = { error: m };
635
+ } catch (p) {
636
+ n = { error: p };
610
637
  } finally {
611
638
  try {
612
- p && !p.done && (i = f.return) && i.call(f);
639
+ m && !m.done && (i = f.return) && i.call(f);
613
640
  } finally {
614
- if (n) throw n.error;
641
+ if (n)
642
+ throw n.error;
615
643
  }
616
644
  }
617
645
  }
@@ -622,7 +650,7 @@ var ve = function() {
622
650
  var r;
623
651
  if (t && t !== this)
624
652
  if (this.closed)
625
- it(t);
653
+ at(t);
626
654
  else {
627
655
  if (t instanceof e) {
628
656
  if (t.closed || t._hasParent(this))
@@ -639,52 +667,56 @@ var ve = function() {
639
667
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
640
668
  }, e.prototype._removeParent = function(t) {
641
669
  var r = this._parentage;
642
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
670
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
643
671
  }, e.prototype.remove = function(t) {
644
672
  var r = this._finalizers;
645
- r && De(r, t), t instanceof e && t._removeParent(this);
673
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
646
674
  }, e.EMPTY = function() {
647
675
  var t = new e();
648
676
  return t.closed = !0, t;
649
677
  }(), e;
650
- }(), Nt = ve.EMPTY;
651
- function Mt(e) {
652
- return e instanceof ve || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
653
- }
654
- function it(e) {
655
- C(e) ? e() : e.unsubscribe();
678
+ }(), Lt = ve.EMPTY;
679
+ function $t(e) {
680
+ return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
656
681
  }
657
- var Cr = {
658
- Promise: void 0
659
- }, $r = {
682
+ function at(e) {
683
+ L(e) ? e() : e.unsubscribe();
684
+ }
685
+ var Rt = {
686
+ onUnhandledError: null,
687
+ onStoppedNotification: null,
688
+ Promise: void 0,
689
+ useDeprecatedSynchronousErrorHandling: !1,
690
+ useDeprecatedNextContext: !1
691
+ }, Ur = {
660
692
  setTimeout: function(e, t) {
661
693
  for (var r = [], n = 2; n < arguments.length; n++)
662
694
  r[n - 2] = arguments[n];
663
- return setTimeout.apply(void 0, z([e, t], Re(r)));
695
+ return setTimeout.apply(void 0, z([e, t], De(r)));
664
696
  },
665
697
  clearTimeout: function(e) {
666
698
  return clearTimeout(e);
667
699
  },
668
700
  delegate: void 0
669
701
  };
670
- function Rr(e) {
671
- $r.setTimeout(function() {
702
+ function Gr(e) {
703
+ Ur.setTimeout(function() {
672
704
  throw e;
673
705
  });
674
706
  }
675
- function ot() {
707
+ function ut() {
676
708
  }
677
- function pe(e) {
709
+ function me(e) {
678
710
  e();
679
711
  }
680
- var Lt = function(e) {
712
+ var Dt = function(e) {
681
713
  $(t, e);
682
714
  function t(r) {
683
715
  var n = e.call(this) || this;
684
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Gr, n;
716
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Vr, n;
685
717
  }
686
718
  return t.create = function(r, n, i) {
687
- return new Ue(r, n, i);
719
+ return new Ge(r, n, i);
688
720
  }, t.prototype.next = function(r) {
689
721
  this.isStopped || this._next(r);
690
722
  }, t.prototype.error = function(r) {
@@ -708,7 +740,11 @@ var Lt = function(e) {
708
740
  this.unsubscribe();
709
741
  }
710
742
  }, t;
711
- }(ve), Dr = function() {
743
+ }(ve), Fr = Function.prototype.bind;
744
+ function He(e, t) {
745
+ return Fr.call(e, t);
746
+ }
747
+ var jr = function() {
712
748
  function e(t) {
713
749
  this.partialObserver = t;
714
750
  }
@@ -739,43 +775,55 @@ var Lt = function(e) {
739
775
  le(r);
740
776
  }
741
777
  }, e;
742
- }(), Ue = function(e) {
778
+ }(), Ge = function(e) {
743
779
  $(t, e);
744
780
  function t(r, n, i) {
745
781
  var o = e.call(this) || this, s;
746
- return C(r) || !r ? s = {
747
- next: r != null ? r : void 0,
748
- error: n != null ? n : void 0,
749
- complete: i != null ? i : void 0
750
- } : s = r, o.destination = new Dr(s), o;
782
+ if (L(r) || !r)
783
+ s = {
784
+ next: r != null ? r : void 0,
785
+ error: n != null ? n : void 0,
786
+ complete: i != null ? i : void 0
787
+ };
788
+ else {
789
+ var a;
790
+ o && Rt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
791
+ return o.unsubscribe();
792
+ }, s = {
793
+ next: r.next && He(r.next, a),
794
+ error: r.error && He(r.error, a),
795
+ complete: r.complete && He(r.complete, a)
796
+ }) : s = r;
797
+ }
798
+ return o.destination = new jr(s), o;
751
799
  }
752
800
  return t;
753
- }(Lt);
801
+ }(Dt);
754
802
  function le(e) {
755
- Rr(e);
803
+ Gr(e);
756
804
  }
757
- function Ur(e) {
805
+ function kr(e) {
758
806
  throw e;
759
807
  }
760
- var Gr = {
808
+ var Vr = {
761
809
  closed: !0,
762
- next: ot,
763
- error: Ur,
764
- complete: ot
765
- }, Fr = function() {
810
+ next: ut,
811
+ error: kr,
812
+ complete: ut
813
+ }, Xr = function() {
766
814
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
767
815
  }();
768
- function jr(e) {
816
+ function Wr(e) {
769
817
  return e;
770
818
  }
771
- function kr(e) {
772
- return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
819
+ function zr(e) {
820
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
773
821
  return e.reduce(function(n, i) {
774
822
  return i(n);
775
823
  }, r);
776
824
  };
777
825
  }
778
- var st = function() {
826
+ var ht = function() {
779
827
  function e(t) {
780
828
  t && (this._subscribe = t);
781
829
  }
@@ -783,8 +831,8 @@ var st = function() {
783
831
  var r = new e();
784
832
  return r.source = this, r.operator = t, r;
785
833
  }, e.prototype.subscribe = function(t, r, n) {
786
- var i = this, o = Xr(t) ? t : new Ue(t, r, n);
787
- return pe(function() {
834
+ var i = this, o = Yr(t) ? t : new Ge(t, r, n);
835
+ return me(function() {
788
836
  var s = i, a = s.operator, h = s.source;
789
837
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
790
838
  }), o;
@@ -796,8 +844,8 @@ var st = function() {
796
844
  }
797
845
  }, e.prototype.forEach = function(t, r) {
798
846
  var n = this;
799
- return r = at(r), new r(function(i, o) {
800
- var s = new Ue({
847
+ return r = lt(r), new r(function(i, o) {
848
+ var s = new Ge({
801
849
  next: function(a) {
802
850
  try {
803
851
  t(a);
@@ -813,15 +861,15 @@ var st = function() {
813
861
  }, e.prototype._subscribe = function(t) {
814
862
  var r;
815
863
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
816
- }, e.prototype[Fr] = function() {
864
+ }, e.prototype[Xr] = function() {
817
865
  return this;
818
866
  }, e.prototype.pipe = function() {
819
867
  for (var t = [], r = 0; r < arguments.length; r++)
820
868
  t[r] = arguments[r];
821
- return kr(t)(this);
869
+ return zr(t)(this);
822
870
  }, e.prototype.toPromise = function(t) {
823
871
  var r = this;
824
- return t = at(t), new t(function(n, i) {
872
+ return t = lt(t), new t(function(n, i) {
825
873
  var o;
826
874
  r.subscribe(function(s) {
827
875
  return o = s;
@@ -835,40 +883,40 @@ var st = function() {
835
883
  return new e(t);
836
884
  }, e;
837
885
  }();
838
- function at(e) {
886
+ function lt(e) {
839
887
  var t;
840
- return (t = e != null ? e : Cr.Promise) !== null && t !== void 0 ? t : Promise;
888
+ return (t = e != null ? e : Rt.Promise) !== null && t !== void 0 ? t : Promise;
841
889
  }
842
- function Vr(e) {
843
- return e && C(e.next) && C(e.error) && C(e.complete);
890
+ function Zr(e) {
891
+ return e && L(e.next) && L(e.error) && L(e.complete);
844
892
  }
845
- function Xr(e) {
846
- return e && e instanceof Lt || Vr(e) && Mt(e);
893
+ function Yr(e) {
894
+ return e && e instanceof Dt || Zr(e) && $t(e);
847
895
  }
848
- var Wr = It(function(e) {
896
+ var Qr = Ct(function(e) {
849
897
  return function() {
850
898
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
851
899
  };
852
- }), Ct = function(e) {
900
+ }), Ut = function(e) {
853
901
  $(t, e);
854
902
  function t() {
855
903
  var r = e.call(this) || this;
856
904
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
857
905
  }
858
906
  return t.prototype.lift = function(r) {
859
- var n = new ut(this, this);
907
+ var n = new ct(this, this);
860
908
  return n.operator = r, n;
861
909
  }, t.prototype._throwIfClosed = function() {
862
910
  if (this.closed)
863
- throw new Wr();
911
+ throw new Qr();
864
912
  }, t.prototype.next = function(r) {
865
913
  var n = this;
866
- pe(function() {
914
+ me(function() {
867
915
  var i, o;
868
916
  if (n._throwIfClosed(), !n.isStopped) {
869
917
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
870
918
  try {
871
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
919
+ for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
872
920
  var h = a.value;
873
921
  h.next(r);
874
922
  }
@@ -878,14 +926,15 @@ var Wr = It(function(e) {
878
926
  try {
879
927
  a && !a.done && (o = s.return) && o.call(s);
880
928
  } finally {
881
- if (i) throw i.error;
929
+ if (i)
930
+ throw i.error;
882
931
  }
883
932
  }
884
933
  }
885
934
  });
886
935
  }, t.prototype.error = function(r) {
887
936
  var n = this;
888
- pe(function() {
937
+ me(function() {
889
938
  if (n._throwIfClosed(), !n.isStopped) {
890
939
  n.hasError = n.isStopped = !0, n.thrownError = r;
891
940
  for (var i = n.observers; i.length; )
@@ -894,7 +943,7 @@ var Wr = It(function(e) {
894
943
  });
895
944
  }, t.prototype.complete = function() {
896
945
  var r = this;
897
- pe(function() {
946
+ me(function() {
898
947
  if (r._throwIfClosed(), !r.isStopped) {
899
948
  r.isStopped = !0;
900
949
  for (var n = r.observers; n.length; )
@@ -916,19 +965,19 @@ var Wr = It(function(e) {
916
965
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
917
966
  }, t.prototype._innerSubscribe = function(r) {
918
967
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
919
- return o || s ? Nt : (this.currentObservers = null, a.push(r), new ve(function() {
920
- n.currentObservers = null, De(a, r);
968
+ return o || s ? Lt : (this.currentObservers = null, a.push(r), new ve(function() {
969
+ n.currentObservers = null, Ue(a, r);
921
970
  }));
922
971
  }, t.prototype._checkFinalizedStatuses = function(r) {
923
972
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
924
973
  i ? r.error(o) : s && r.complete();
925
974
  }, t.prototype.asObservable = function() {
926
- var r = new st();
975
+ var r = new ht();
927
976
  return r.source = this, r;
928
977
  }, t.create = function(r, n) {
929
- return new ut(r, n);
978
+ return new ct(r, n);
930
979
  }, t;
931
- }(st), ut = function(e) {
980
+ }(ht), ct = function(e) {
932
981
  $(t, e);
933
982
  function t(r, n) {
934
983
  var i = e.call(this) || this;
@@ -945,17 +994,17 @@ var Wr = It(function(e) {
945
994
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
946
995
  }, t.prototype._subscribe = function(r) {
947
996
  var n, i;
948
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
997
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
949
998
  }, t;
950
- }(Ct), $t = {
999
+ }(Ut), Gt = {
951
1000
  now: function() {
952
- return ($t.delegate || Date).now();
1001
+ return (Gt.delegate || Date).now();
953
1002
  },
954
1003
  delegate: void 0
955
- }, zr = function(e) {
1004
+ }, Jr = function(e) {
956
1005
  $(t, e);
957
1006
  function t(r, n, i) {
958
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
1007
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
959
1008
  var o = e.call(this) || this;
960
1009
  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;
961
1010
  }
@@ -975,15 +1024,15 @@ var Wr = It(function(e) {
975
1024
  u && o.splice(0, u + 1);
976
1025
  }
977
1026
  }, t;
978
- }(Ct);
979
- const ht = [], lt = {}, Zr = (e, t = 0) => {
980
- if (ht.indexOf(e) == -1) {
981
- const r = new zr(t);
982
- lt[e] = r, ht.push(e);
1027
+ }(Ut);
1028
+ const ft = [], mt = {}, qr = (e, t = 0) => {
1029
+ if (ft.indexOf(e) == -1) {
1030
+ const r = new Jr(t);
1031
+ mt[e] = r, ft.push(e);
983
1032
  }
984
- return lt[e];
1033
+ return mt[e];
985
1034
  }, V = [];
986
- function Yr(e, t) {
1035
+ function Kr(e, t) {
987
1036
  return {
988
1037
  subscribe: Ee(e, t).subscribe
989
1038
  };
@@ -992,7 +1041,7 @@ function Ee(e, t = N) {
992
1041
  let r;
993
1042
  const n = /* @__PURE__ */ new Set();
994
1043
  function i(a) {
995
- if (Ht(e, a) && (e = a, r)) {
1044
+ if (Ot(e, a) && (e = a, r)) {
996
1045
  const h = !V.length;
997
1046
  for (const u of n)
998
1047
  u[1](), V.push(u, e);
@@ -1019,7 +1068,7 @@ function q(e, t, r) {
1019
1068
  if (!i.every(Boolean))
1020
1069
  throw new Error("derived() expects stores as input, got a falsy value");
1021
1070
  const o = t.length < 2;
1022
- return Yr(r, (s, a) => {
1071
+ return Kr(r, (s, a) => {
1023
1072
  let h = !1;
1024
1073
  const u = [];
1025
1074
  let l = 0, c = N;
@@ -1028,87 +1077,87 @@ function q(e, t, r) {
1028
1077
  return;
1029
1078
  c();
1030
1079
  const g = t(n ? u[0] : u, s, a);
1031
- o ? s(g) : c = Ze(g) ? g : N;
1032
- }, p = i.map(
1033
- (g, m) => At(
1080
+ o ? s(g) : c = Ye(g) ? g : N;
1081
+ }, m = i.map(
1082
+ (g, p) => It(
1034
1083
  g,
1035
1084
  (x) => {
1036
- u[m] = x, l &= ~(1 << m), h && f();
1085
+ u[p] = x, l &= ~(1 << p), h && f();
1037
1086
  },
1038
1087
  () => {
1039
- l |= 1 << m;
1088
+ l |= 1 << p;
1040
1089
  }
1041
1090
  )
1042
1091
  );
1043
1092
  return h = !0, f(), function() {
1044
- ue(p), c(), h = !1;
1093
+ ue(m), c(), h = !1;
1045
1094
  };
1046
1095
  });
1047
1096
  }
1048
- function Qr(e) {
1097
+ function en(e) {
1049
1098
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1050
1099
  }
1051
- var Jr = function(t) {
1052
- return qr(t) && !Kr(t);
1100
+ var tn = function(t) {
1101
+ return rn(t) && !nn(t);
1053
1102
  };
1054
- function qr(e) {
1103
+ function rn(e) {
1055
1104
  return !!e && typeof e == "object";
1056
1105
  }
1057
- function Kr(e) {
1106
+ function nn(e) {
1058
1107
  var t = Object.prototype.toString.call(e);
1059
- return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1108
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1060
1109
  }
1061
- var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1062
- function rn(e) {
1063
- return e.$$typeof === tn;
1110
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1111
+ function an(e) {
1112
+ return e.$$typeof === sn;
1064
1113
  }
1065
- function nn(e) {
1114
+ function un(e) {
1066
1115
  return Array.isArray(e) ? [] : {};
1067
1116
  }
1068
1117
  function se(e, t) {
1069
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(nn(e), e, t) : e;
1118
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(un(e), e, t) : e;
1070
1119
  }
1071
- function on(e, t, r) {
1120
+ function hn(e, t, r) {
1072
1121
  return e.concat(t).map(function(n) {
1073
1122
  return se(n, r);
1074
1123
  });
1075
1124
  }
1076
- function sn(e, t) {
1125
+ function ln(e, t) {
1077
1126
  if (!t.customMerge)
1078
1127
  return Z;
1079
1128
  var r = t.customMerge(e);
1080
1129
  return typeof r == "function" ? r : Z;
1081
1130
  }
1082
- function an(e) {
1131
+ function cn(e) {
1083
1132
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1084
1133
  return Object.propertyIsEnumerable.call(e, t);
1085
1134
  }) : [];
1086
1135
  }
1087
- function ct(e) {
1088
- return Object.keys(e).concat(an(e));
1136
+ function pt(e) {
1137
+ return Object.keys(e).concat(cn(e));
1089
1138
  }
1090
- function Rt(e, t) {
1139
+ function Ft(e, t) {
1091
1140
  try {
1092
1141
  return t in e;
1093
1142
  } catch (r) {
1094
1143
  return !1;
1095
1144
  }
1096
1145
  }
1097
- function un(e, t) {
1098
- return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1146
+ function fn(e, t) {
1147
+ return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1099
1148
  }
1100
- function hn(e, t, r) {
1149
+ function mn(e, t, r) {
1101
1150
  var n = {};
1102
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1151
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1103
1152
  n[i] = se(e[i], r);
1104
- }), ct(t).forEach(function(i) {
1105
- un(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1153
+ }), pt(t).forEach(function(i) {
1154
+ fn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1106
1155
  }), n;
1107
1156
  }
1108
1157
  function Z(e, t, r) {
1109
- r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = se;
1158
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = se;
1110
1159
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1111
- return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : se(t, r);
1160
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : se(t, r);
1112
1161
  }
1113
1162
  Z.all = function(t, r) {
1114
1163
  if (!Array.isArray(t))
@@ -1117,56 +1166,58 @@ Z.all = function(t, r) {
1117
1166
  return Z(n, i, r);
1118
1167
  }, {});
1119
1168
  };
1120
- var ln = Z, cn = ln;
1121
- const fn = /* @__PURE__ */ Qr(cn);
1122
- function He(e, t) {
1123
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : bn;
1169
+ var pn = Z, bn = pn;
1170
+ const dn = /* @__PURE__ */ en(bn);
1171
+ function Ae(e, t) {
1172
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
1124
1173
  return i(e, {
1125
1174
  cache: r,
1126
1175
  serializer: n
1127
1176
  });
1128
1177
  }
1129
- function pn(e) {
1178
+ function gn(e) {
1130
1179
  return e == null || typeof e == "number" || typeof e == "boolean";
1131
1180
  }
1132
- function mn(e, t, r, n) {
1133
- var i = pn(n) ? n : r(n), o = t.get(i);
1181
+ function jt(e, t, r, n) {
1182
+ var i = gn(n) ? n : r(n), o = t.get(i);
1134
1183
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1135
1184
  }
1136
- function Dt(e, t, r) {
1185
+ function kt(e, t, r) {
1137
1186
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1138
1187
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1139
1188
  }
1140
- function Ut(e, t, r, n, i) {
1189
+ function Je(e, t, r, n, i) {
1141
1190
  return r.bind(t, e, n, i);
1142
1191
  }
1143
- function bn(e, t) {
1144
- var r = e.length === 1 ? mn : Dt;
1145
- return Ut(e, this, r, t.cache.create(), t.serializer);
1192
+ function yn(e, t) {
1193
+ var r = e.length === 1 ? jt : kt;
1194
+ return Je(e, this, r, t.cache.create(), t.serializer);
1195
+ }
1196
+ function vn(e, t) {
1197
+ return Je(e, this, kt, t.cache.create(), t.serializer);
1146
1198
  }
1147
- function dn(e, t) {
1148
- return Ut(e, this, Dt, t.cache.create(), t.serializer);
1199
+ function En(e, t) {
1200
+ return Je(e, this, jt, t.cache.create(), t.serializer);
1149
1201
  }
1150
- var gn = function() {
1202
+ var _n = function() {
1151
1203
  return JSON.stringify(arguments);
1152
- }, yn = (
1153
- /** @class */
1154
- function() {
1155
- function e() {
1156
- this.cache = /* @__PURE__ */ Object.create(null);
1157
- }
1158
- return e.prototype.get = function(t) {
1159
- return this.cache[t];
1160
- }, e.prototype.set = function(t, r) {
1161
- this.cache[t] = r;
1162
- }, e;
1163
- }()
1164
- ), vn = {
1204
+ };
1205
+ function qe() {
1206
+ this.cache = /* @__PURE__ */ Object.create(null);
1207
+ }
1208
+ qe.prototype.get = function(e) {
1209
+ return this.cache[e];
1210
+ };
1211
+ qe.prototype.set = function(e, t) {
1212
+ this.cache[e] = t;
1213
+ };
1214
+ var xn = {
1165
1215
  create: function() {
1166
- return new yn();
1216
+ return new qe();
1167
1217
  }
1168
- }, Ae = {
1169
- variadic: dn
1218
+ }, Pe = {
1219
+ variadic: vn,
1220
+ monadic: En
1170
1221
  }, b;
1171
1222
  (function(e) {
1172
1223
  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";
@@ -1179,43 +1230,43 @@ var Y;
1179
1230
  (function(e) {
1180
1231
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1181
1232
  })(Y || (Y = {}));
1182
- function ft(e) {
1233
+ function bt(e) {
1183
1234
  return e.type === _.literal;
1184
1235
  }
1185
- function En(e) {
1236
+ function Bn(e) {
1186
1237
  return e.type === _.argument;
1187
1238
  }
1188
- function Gt(e) {
1239
+ function Vt(e) {
1189
1240
  return e.type === _.number;
1190
1241
  }
1191
- function Ft(e) {
1242
+ function Xt(e) {
1192
1243
  return e.type === _.date;
1193
1244
  }
1194
- function jt(e) {
1245
+ function Wt(e) {
1195
1246
  return e.type === _.time;
1196
1247
  }
1197
- function kt(e) {
1248
+ function zt(e) {
1198
1249
  return e.type === _.select;
1199
1250
  }
1200
- function Vt(e) {
1251
+ function Zt(e) {
1201
1252
  return e.type === _.plural;
1202
1253
  }
1203
- function _n(e) {
1254
+ function Sn(e) {
1204
1255
  return e.type === _.pound;
1205
1256
  }
1206
- function Xt(e) {
1257
+ function Yt(e) {
1207
1258
  return e.type === _.tag;
1208
1259
  }
1209
- function Wt(e) {
1260
+ function Qt(e) {
1210
1261
  return !!(e && typeof e == "object" && e.type === Y.number);
1211
1262
  }
1212
- function Ge(e) {
1263
+ function Fe(e) {
1213
1264
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
1214
1265
  }
1215
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[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;
1216
- function Bn(e) {
1266
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1267
+ function wn(e) {
1217
1268
  var t = {};
1218
- return e.replace(xn, function(r) {
1269
+ return e.replace(Tn, function(r) {
1219
1270
  var n = r.length;
1220
1271
  switch (r[0]) {
1221
1272
  case "G":
@@ -1304,11 +1355,11 @@ function Bn(e) {
1304
1355
  return "";
1305
1356
  }), t;
1306
1357
  }
1307
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1308
- function Tn(e) {
1358
+ var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1359
+ function An(e) {
1309
1360
  if (e.length === 0)
1310
1361
  throw new Error("Number skeleton cannot be empty");
1311
- for (var t = e.split(Sn).filter(function(f) {
1362
+ for (var t = e.split(Hn).filter(function(f) {
1312
1363
  return f.length > 0;
1313
1364
  }), r = [], n = 0, i = t; n < i.length; n++) {
1314
1365
  var o = i[n], s = o.split("/");
@@ -1323,17 +1374,17 @@ function Tn(e) {
1323
1374
  }
1324
1375
  return r;
1325
1376
  }
1326
- function wn(e) {
1377
+ function Pn(e) {
1327
1378
  return e.replace(/^(.*?)-/, "");
1328
1379
  }
1329
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1330
- function mt(e) {
1380
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1381
+ function gt(e) {
1331
1382
  var t = {};
1332
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1383
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1333
1384
  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)), "";
1334
1385
  }), t;
1335
1386
  }
1336
- function Qt(e) {
1387
+ function er(e) {
1337
1388
  switch (e) {
1338
1389
  case "sign-auto":
1339
1390
  return {
@@ -1373,7 +1424,7 @@ function Qt(e) {
1373
1424
  };
1374
1425
  }
1375
1426
  }
1376
- function An(e) {
1427
+ function In(e) {
1377
1428
  var t;
1378
1429
  if (e[0] === "E" && e[1] === "E" ? (t = {
1379
1430
  notation: "engineering"
@@ -1381,17 +1432,17 @@ function An(e) {
1381
1432
  notation: "scientific"
1382
1433
  }, e = e.slice(1)), t) {
1383
1434
  var r = e.slice(0, 2);
1384
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1435
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
1385
1436
  throw new Error("Malformed concise eng/scientific notation");
1386
1437
  t.minimumIntegerDigits = e.length;
1387
1438
  }
1388
1439
  return t;
1389
1440
  }
1390
- function bt(e) {
1391
- var t = {}, r = Qt(e);
1441
+ function yt(e) {
1442
+ var t = {}, r = er(e);
1392
1443
  return r || t;
1393
1444
  }
1394
- function Pn(e) {
1445
+ function Nn(e) {
1395
1446
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1396
1447
  var i = n[r];
1397
1448
  switch (i.stem) {
@@ -1415,7 +1466,7 @@ function Pn(e) {
1415
1466
  continue;
1416
1467
  case "measure-unit":
1417
1468
  case "unit":
1418
- t.style = "unit", t.unit = wn(i.options[0]);
1469
+ t.style = "unit", t.unit = Pn(i.options[0]);
1419
1470
  continue;
1420
1471
  case "compact-short":
1421
1472
  case "K":
@@ -1427,12 +1478,12 @@ function Pn(e) {
1427
1478
  continue;
1428
1479
  case "scientific":
1429
1480
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1430
- return y(y({}, h), bt(u));
1481
+ return y(y({}, h), yt(u));
1431
1482
  }, {}));
1432
1483
  continue;
1433
1484
  case "engineering":
1434
1485
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1435
- return y(y({}, h), bt(u));
1486
+ return y(y({}, h), yt(u));
1436
1487
  }, {}));
1437
1488
  continue;
1438
1489
  case "notation-simple":
@@ -1477,40 +1528,40 @@ function Pn(e) {
1477
1528
  case "integer-width":
1478
1529
  if (i.options.length > 1)
1479
1530
  throw new RangeError("integer-width stems only accept a single optional option");
1480
- i.options[0].replace(Hn, function(h, u, l, c, f, p) {
1531
+ i.options[0].replace(On, function(h, u, l, c, f, m) {
1481
1532
  if (u)
1482
1533
  t.minimumIntegerDigits = l.length;
1483
1534
  else {
1484
1535
  if (c && f)
1485
1536
  throw new Error("We currently do not support maximum integer digits");
1486
- if (p)
1537
+ if (m)
1487
1538
  throw new Error("We currently do not support exact integer digits");
1488
1539
  }
1489
1540
  return "";
1490
1541
  });
1491
1542
  continue;
1492
1543
  }
1493
- if (Yt.test(i.stem)) {
1544
+ if (Kt.test(i.stem)) {
1494
1545
  t.minimumIntegerDigits = i.stem.length;
1495
1546
  continue;
1496
1547
  }
1497
- if (pt.test(i.stem)) {
1548
+ if (dt.test(i.stem)) {
1498
1549
  if (i.options.length > 1)
1499
1550
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1500
- i.stem.replace(pt, function(h, u, l, c, f, p) {
1501
- 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), "";
1551
+ i.stem.replace(dt, function(h, u, l, c, f, m) {
1552
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1502
1553
  });
1503
1554
  var o = i.options[0];
1504
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), mt(o)));
1555
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), gt(o)));
1505
1556
  continue;
1506
1557
  }
1507
- if (Zt.test(i.stem)) {
1508
- t = y(y({}, t), mt(i.stem));
1558
+ if (qt.test(i.stem)) {
1559
+ t = y(y({}, t), gt(i.stem));
1509
1560
  continue;
1510
1561
  }
1511
- var s = Qt(i.stem);
1562
+ var s = er(i.stem);
1512
1563
  s && (t = y(y({}, t), s));
1513
- var a = An(i.stem);
1564
+ var a = In(i.stem);
1514
1565
  a && (t = y(y({}, t), a));
1515
1566
  }
1516
1567
  return t;
@@ -2930,22 +2981,23 @@ var ce = {
2930
2981
  "h"
2931
2982
  ]
2932
2983
  };
2933
- function On(e, t) {
2984
+ function Mn(e, t) {
2934
2985
  for (var r = "", n = 0; n < e.length; n++) {
2935
2986
  var i = e.charAt(n);
2936
2987
  if (i === "j") {
2937
2988
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2938
2989
  o++, n++;
2939
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = In(t);
2990
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
2940
2991
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2941
2992
  r += h;
2942
2993
  for (; s-- > 0; )
2943
2994
  r = u + r;
2944
- } else i === "J" ? r += "H" : r += i;
2995
+ } else
2996
+ i === "J" ? r += "H" : r += i;
2945
2997
  }
2946
2998
  return r;
2947
2999
  }
2948
- function In(e) {
3000
+ function Cn(e) {
2949
3001
  var t = e.hourCycle;
2950
3002
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2951
3003
  e.hourCycles && // @ts-ignore
@@ -2967,20 +3019,20 @@ function In(e) {
2967
3019
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2968
3020
  return i[0];
2969
3021
  }
2970
- var Pe, Nn = new RegExp("^".concat(zt.source, "*")), Mn = new RegExp("".concat(zt.source, "*$"));
3022
+ var Oe, Ln = new RegExp("^".concat(Jt.source, "*")), $n = new RegExp("".concat(Jt.source, "*$"));
2971
3023
  function d(e, t) {
2972
3024
  return { start: e, end: t };
2973
3025
  }
2974
- var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Cn = !!String.fromCodePoint, $n = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, Fn = Gn ? Number.isSafeInteger : function(e) {
3026
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
2975
3027
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2976
- }, Fe = !0;
3028
+ }, je = !0;
2977
3029
  try {
2978
- var jn = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2979
- Fe = ((Pe = jn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3030
+ var Xn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3031
+ je = ((Oe = Xn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2980
3032
  } catch (e) {
2981
- Fe = !1;
3033
+ je = !1;
2982
3034
  }
2983
- var dt = Ln ? (
3035
+ var vt = Rn ? (
2984
3036
  // Native
2985
3037
  function(t, r, n) {
2986
3038
  return t.startsWith(r, n);
@@ -2990,7 +3042,7 @@ var dt = Ln ? (
2990
3042
  function(t, r, n) {
2991
3043
  return t.slice(n, n + r.length) === r;
2992
3044
  }
2993
- ), je = Cn ? String.fromCodePoint : (
3045
+ ), ke = Dn ? String.fromCodePoint : (
2994
3046
  // IE11
2995
3047
  function() {
2996
3048
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3002,9 +3054,9 @@ var dt = Ln ? (
3002
3054
  }
3003
3055
  return n;
3004
3056
  }
3005
- ), gt = (
3057
+ ), Et = (
3006
3058
  // native
3007
- $n ? Object.fromEntries : (
3059
+ Un ? Object.fromEntries : (
3008
3060
  // Ponyfill
3009
3061
  function(t) {
3010
3062
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3014,7 +3066,7 @@ var dt = Ln ? (
3014
3066
  return r;
3015
3067
  }
3016
3068
  )
3017
- ), Jt = Rn ? (
3069
+ ), tr = Gn ? (
3018
3070
  // Native
3019
3071
  function(t, r) {
3020
3072
  return t.codePointAt(r);
@@ -3028,7 +3080,7 @@ var dt = Ln ? (
3028
3080
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3029
3081
  }
3030
3082
  }
3031
- ), kn = Dn ? (
3083
+ ), Wn = Fn ? (
3032
3084
  // Native
3033
3085
  function(t) {
3034
3086
  return t.trimStart();
@@ -3036,9 +3088,9 @@ var dt = Ln ? (
3036
3088
  ) : (
3037
3089
  // Ponyfill
3038
3090
  function(t) {
3039
- return t.replace(Nn, "");
3091
+ return t.replace(Ln, "");
3040
3092
  }
3041
- ), Vn = Un ? (
3093
+ ), zn = jn ? (
3042
3094
  // Native
3043
3095
  function(t) {
3044
3096
  return t.trimEnd();
@@ -3046,32 +3098,32 @@ var dt = Ln ? (
3046
3098
  ) : (
3047
3099
  // Ponyfill
3048
3100
  function(t) {
3049
- return t.replace(Mn, "");
3101
+ return t.replace($n, "");
3050
3102
  }
3051
3103
  );
3052
- function qt(e, t) {
3104
+ function rr(e, t) {
3053
3105
  return new RegExp(e, t);
3054
3106
  }
3055
- var ke;
3056
- if (Fe) {
3057
- var yt = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
- ke = function(t, r) {
3107
+ var Ve;
3108
+ if (je) {
3109
+ var _t = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3110
+ Ve = function(t, r) {
3059
3111
  var n;
3060
- yt.lastIndex = r;
3061
- var i = yt.exec(t);
3112
+ _t.lastIndex = r;
3113
+ var i = _t.exec(t);
3062
3114
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3063
3115
  };
3064
3116
  } else
3065
- ke = function(t, r) {
3117
+ Ve = function(t, r) {
3066
3118
  for (var n = []; ; ) {
3067
- var i = Jt(t, r);
3068
- if (i === void 0 || Kt(i) || Zn(i))
3119
+ var i = tr(t, r);
3120
+ if (i === void 0 || nr(i) || Jn(i))
3069
3121
  break;
3070
3122
  n.push(i), r += i >= 65536 ? 2 : 1;
3071
3123
  }
3072
- return je.apply(void 0, n);
3124
+ return ke.apply(void 0, n);
3073
3125
  };
3074
- var Xn = (
3126
+ var Zn = (
3075
3127
  /** @class */
3076
3128
  function() {
3077
3129
  function e(t, r) {
@@ -3102,7 +3154,7 @@ var Xn = (
3102
3154
  if (n)
3103
3155
  break;
3104
3156
  return this.error(b.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3105
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3157
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3106
3158
  var s = this.parseTag(t, r);
3107
3159
  if (s.err)
3108
3160
  return s;
@@ -3135,7 +3187,7 @@ var Xn = (
3135
3187
  return o;
3136
3188
  var s = o.val, a = this.clonePosition();
3137
3189
  if (this.bumpIf("</")) {
3138
- if (this.isEOF() || !Ve(this.char()))
3190
+ if (this.isEOF() || !Xe(this.char()))
3139
3191
  return this.error(b.INVALID_TAG, d(a, this.clonePosition()));
3140
3192
  var h = this.clonePosition(), u = this.parseTagName();
3141
3193
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3153,7 +3205,7 @@ var Xn = (
3153
3205
  return this.error(b.INVALID_TAG, d(n, this.clonePosition()));
3154
3206
  }, e.prototype.parseTagName = function() {
3155
3207
  var t = this.offset();
3156
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3208
+ for (this.bump(); !this.isEOF() && Qn(this.char()); )
3157
3209
  this.bump();
3158
3210
  return this.message.slice(t, this.offset());
3159
3211
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3182,7 +3234,7 @@ var Xn = (
3182
3234
  };
3183
3235
  }, e.prototype.tryParseLeftAngleBracket = function() {
3184
3236
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3185
- !Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3237
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3186
3238
  }, e.prototype.tryParseQuote = function(t) {
3187
3239
  if (this.isEOF() || this.char() !== 39)
3188
3240
  return null;
@@ -3216,12 +3268,12 @@ var Xn = (
3216
3268
  r.push(n);
3217
3269
  this.bump();
3218
3270
  }
3219
- return je.apply(void 0, r);
3271
+ return ke.apply(void 0, r);
3220
3272
  }, e.prototype.tryParseUnquoted = function(t, r) {
3221
3273
  if (this.isEOF())
3222
3274
  return null;
3223
3275
  var n = this.char();
3224
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3276
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3225
3277
  }, e.prototype.parseArgument = function(t, r) {
3226
3278
  var n = this.clonePosition();
3227
3279
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3250,7 +3302,7 @@ var Xn = (
3250
3302
  return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3251
3303
  }
3252
3304
  }, e.prototype.parseIdentifierIfPossible = function() {
3253
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3305
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3254
3306
  this.bumpTo(i);
3255
3307
  var o = this.clonePosition(), s = d(t, o);
3256
3308
  return { value: n, location: s };
@@ -3269,37 +3321,37 @@ var Xn = (
3269
3321
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3270
3322
  if (c.err)
3271
3323
  return c;
3272
- var f = Vn(c.val);
3324
+ var f = zn(c.val);
3273
3325
  if (f.length === 0)
3274
3326
  return this.error(b.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3275
- var p = d(l, this.clonePosition());
3276
- u = { style: f, styleLocation: p };
3327
+ var m = d(l, this.clonePosition());
3328
+ u = { style: f, styleLocation: m };
3277
3329
  }
3278
3330
  var g = this.tryParseArgumentClose(i);
3279
3331
  if (g.err)
3280
3332
  return g;
3281
- var m = d(i, this.clonePosition());
3282
- if (u && dt(u == null ? void 0 : u.style, "::", 0)) {
3283
- var x = kn(u.style.slice(2));
3333
+ var p = d(i, this.clonePosition());
3334
+ if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3335
+ var x = Wn(u.style.slice(2));
3284
3336
  if (a === "number") {
3285
3337
  var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3286
3338
  return c.err ? c : {
3287
- val: { type: _.number, value: n, location: m, style: c.val },
3339
+ val: { type: _.number, value: n, location: p, style: c.val },
3288
3340
  err: null
3289
3341
  };
3290
3342
  } else {
3291
3343
  if (x.length === 0)
3292
- return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3344
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3293
3345
  var A = x;
3294
- this.locale && (A = On(x, this.locale));
3346
+ this.locale && (A = Mn(x, this.locale));
3295
3347
  var f = {
3296
3348
  type: Y.dateTime,
3297
3349
  pattern: A,
3298
3350
  location: u.styleLocation,
3299
- parsedOptions: this.shouldParseSkeletons ? Bn(A) : {}
3351
+ parsedOptions: this.shouldParseSkeletons ? wn(A) : {}
3300
3352
  }, H = a === "date" ? _.date : _.time;
3301
3353
  return {
3302
- val: { type: H, value: n, location: m, style: f },
3354
+ val: { type: H, value: n, location: p, style: f },
3303
3355
  err: null
3304
3356
  };
3305
3357
  }
@@ -3308,7 +3360,7 @@ var Xn = (
3308
3360
  val: {
3309
3361
  type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3310
3362
  value: n,
3311
- location: m,
3363
+ location: p,
3312
3364
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3313
3365
  },
3314
3366
  err: null
@@ -3337,23 +3389,23 @@ var Xn = (
3337
3389
  var g = this.tryParseArgumentClose(i);
3338
3390
  if (g.err)
3339
3391
  return g;
3340
- var L = d(i, this.clonePosition());
3392
+ var C = d(i, this.clonePosition());
3341
3393
  return a === "select" ? {
3342
3394
  val: {
3343
3395
  type: _.select,
3344
3396
  value: n,
3345
- options: gt(M.val),
3346
- location: L
3397
+ options: Et(M.val),
3398
+ location: C
3347
3399
  },
3348
3400
  err: null
3349
3401
  } : {
3350
3402
  val: {
3351
3403
  type: _.plural,
3352
3404
  value: n,
3353
- options: gt(M.val),
3405
+ options: Et(M.val),
3354
3406
  offset: S,
3355
3407
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3356
- location: L
3408
+ location: C
3357
3409
  },
3358
3410
  err: null
3359
3411
  };
@@ -3401,7 +3453,7 @@ var Xn = (
3401
3453
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3402
3454
  var n = [];
3403
3455
  try {
3404
- n = Tn(t);
3456
+ n = An(t);
3405
3457
  } catch (i) {
3406
3458
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3407
3459
  }
@@ -3410,7 +3462,7 @@ var Xn = (
3410
3462
  type: Y.number,
3411
3463
  tokens: n,
3412
3464
  location: r,
3413
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3465
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3414
3466
  },
3415
3467
  err: null
3416
3468
  };
@@ -3429,20 +3481,20 @@ var Xn = (
3429
3481
  if (h.has(u))
3430
3482
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3431
3483
  u === "other" && (s = !0), this.bumpSpace();
3432
- var p = this.clonePosition();
3484
+ var m = this.clonePosition();
3433
3485
  if (!this.bumpIf("{"))
3434
3486
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3435
3487
  var g = this.parseMessage(t + 1, r, n);
3436
3488
  if (g.err)
3437
3489
  return g;
3438
- var m = this.tryParseArgumentClose(p);
3439
- if (m.err)
3440
- return m;
3490
+ var p = this.tryParseArgumentClose(m);
3491
+ if (p.err)
3492
+ return p;
3441
3493
  a.push([
3442
3494
  u,
3443
3495
  {
3444
3496
  value: g.val,
3445
- location: d(p, this.clonePosition())
3497
+ location: d(m, this.clonePosition())
3446
3498
  }
3447
3499
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3448
3500
  }
@@ -3458,7 +3510,7 @@ var Xn = (
3458
3510
  break;
3459
3511
  }
3460
3512
  var h = d(i, this.clonePosition());
3461
- return o ? (s *= n, Fn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3513
+ return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3462
3514
  }, e.prototype.offset = function() {
3463
3515
  return this.position.offset;
3464
3516
  }, e.prototype.isEOF = function() {
@@ -3473,7 +3525,7 @@ var Xn = (
3473
3525
  var t = this.position.offset;
3474
3526
  if (t >= this.message.length)
3475
3527
  throw Error("out of bound");
3476
- var r = Jt(this.message, t);
3528
+ var r = tr(this.message, t);
3477
3529
  if (r === void 0)
3478
3530
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3479
3531
  return r;
@@ -3492,7 +3544,7 @@ var Xn = (
3492
3544
  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);
3493
3545
  }
3494
3546
  }, e.prototype.bumpIf = function(t) {
3495
- if (dt(this.message, t, this.offset())) {
3547
+ if (vt(this.message, t, this.offset())) {
3496
3548
  for (var r = 0; r < t.length; r++)
3497
3549
  this.bump();
3498
3550
  return !0;
@@ -3514,7 +3566,7 @@ var Xn = (
3514
3566
  break;
3515
3567
  }
3516
3568
  }, e.prototype.bumpSpace = function() {
3517
- for (; !this.isEOF() && Kt(this.char()); )
3569
+ for (; !this.isEOF() && nr(this.char()); )
3518
3570
  this.bump();
3519
3571
  }, e.prototype.peek = function() {
3520
3572
  if (this.isEOF())
@@ -3524,37 +3576,38 @@ var Xn = (
3524
3576
  }, e;
3525
3577
  }()
3526
3578
  );
3527
- function Ve(e) {
3579
+ function Xe(e) {
3528
3580
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3529
3581
  }
3530
- function Wn(e) {
3531
- return Ve(e) || e === 47;
3582
+ function Yn(e) {
3583
+ return Xe(e) || e === 47;
3532
3584
  }
3533
- function zn(e) {
3585
+ function Qn(e) {
3534
3586
  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;
3535
3587
  }
3536
- function Kt(e) {
3588
+ function nr(e) {
3537
3589
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3538
3590
  }
3539
- function Zn(e) {
3591
+ function Jn(e) {
3540
3592
  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;
3541
3593
  }
3542
- function Xe(e) {
3594
+ function We(e) {
3543
3595
  e.forEach(function(t) {
3544
- if (delete t.location, kt(t) || Vt(t))
3596
+ if (delete t.location, zt(t) || Zt(t))
3545
3597
  for (var r in t.options)
3546
- delete t.options[r].location, Xe(t.options[r].value);
3547
- else Gt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3598
+ delete t.options[r].location, We(t.options[r].value);
3599
+ else
3600
+ Vt(t) && Qt(t.style) || (Xt(t) || Wt(t)) && Fe(t.style) ? delete t.style.location : Yt(t) && We(t.children);
3548
3601
  });
3549
3602
  }
3550
- function Yn(e, t) {
3603
+ function qn(e, t) {
3551
3604
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3552
- var r = new Xn(e, t).parse();
3605
+ var r = new Zn(e, t).parse();
3553
3606
  if (r.err) {
3554
3607
  var n = SyntaxError(b[r.err.kind]);
3555
3608
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3556
3609
  }
3557
- return t != null && t.captureLocation || Xe(r.val), r.val;
3610
+ return t != null && t.captureLocation || We(r.val), r.val;
3558
3611
  }
3559
3612
  var Q;
3560
3613
  (function(e) {
@@ -3572,7 +3625,7 @@ var _e = (
3572
3625
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3573
3626
  }, t;
3574
3627
  }(Error)
3575
- ), vt = (
3628
+ ), xt = (
3576
3629
  /** @class */
3577
3630
  function(e) {
3578
3631
  $(t, e);
@@ -3581,7 +3634,7 @@ var _e = (
3581
3634
  }
3582
3635
  return t;
3583
3636
  }(_e)
3584
- ), Qn = (
3637
+ ), Kn = (
3585
3638
  /** @class */
3586
3639
  function(e) {
3587
3640
  $(t, e);
@@ -3590,7 +3643,7 @@ var _e = (
3590
3643
  }
3591
3644
  return t;
3592
3645
  }(_e)
3593
- ), Jn = (
3646
+ ), ei = (
3594
3647
  /** @class */
3595
3648
  function(e) {
3596
3649
  $(t, e);
@@ -3603,17 +3656,17 @@ var _e = (
3603
3656
  (function(e) {
3604
3657
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3605
3658
  })(w || (w = {}));
3606
- function qn(e) {
3659
+ function ti(e) {
3607
3660
  return e.length < 2 ? e : e.reduce(function(t, r) {
3608
3661
  var n = t[t.length - 1];
3609
3662
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3610
3663
  }, []);
3611
3664
  }
3612
- function Kn(e) {
3665
+ function ri(e) {
3613
3666
  return typeof e == "function";
3614
3667
  }
3615
- function me(e, t, r, n, i, o, s) {
3616
- if (e.length === 1 && ft(e[0]))
3668
+ function pe(e, t, r, n, i, o, s) {
3669
+ if (e.length === 1 && bt(e[0]))
3617
3670
  return [
3618
3671
  {
3619
3672
  type: w.literal,
@@ -3622,14 +3675,14 @@ function me(e, t, r, n, i, o, s) {
3622
3675
  ];
3623
3676
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3624
3677
  var l = u[h];
3625
- if (ft(l)) {
3678
+ if (bt(l)) {
3626
3679
  a.push({
3627
3680
  type: w.literal,
3628
3681
  value: l.value
3629
3682
  });
3630
3683
  continue;
3631
3684
  }
3632
- if (_n(l)) {
3685
+ if (Sn(l)) {
3633
3686
  typeof o == "number" && a.push({
3634
3687
  type: w.literal,
3635
3688
  value: r.getNumberFormat(t).format(o)
@@ -3638,44 +3691,44 @@ function me(e, t, r, n, i, o, s) {
3638
3691
  }
3639
3692
  var c = l.value;
3640
3693
  if (!(i && c in i))
3641
- throw new Jn(c, s);
3694
+ throw new ei(c, s);
3642
3695
  var f = i[c];
3643
- if (En(l)) {
3696
+ if (Bn(l)) {
3644
3697
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3645
3698
  type: typeof f == "string" ? w.literal : w.object,
3646
3699
  value: f
3647
3700
  });
3648
3701
  continue;
3649
3702
  }
3650
- if (Ft(l)) {
3651
- var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3703
+ if (Xt(l)) {
3704
+ var m = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3652
3705
  a.push({
3653
3706
  type: w.literal,
3654
- value: r.getDateTimeFormat(t, p).format(f)
3707
+ value: r.getDateTimeFormat(t, m).format(f)
3655
3708
  });
3656
3709
  continue;
3657
3710
  }
3658
- if (jt(l)) {
3659
- var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3711
+ if (Wt(l)) {
3712
+ var m = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3660
3713
  a.push({
3661
3714
  type: w.literal,
3662
- value: r.getDateTimeFormat(t, p).format(f)
3715
+ value: r.getDateTimeFormat(t, m).format(f)
3663
3716
  });
3664
3717
  continue;
3665
3718
  }
3666
- if (Gt(l)) {
3667
- var p = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3668
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3719
+ if (Vt(l)) {
3720
+ var m = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3721
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3669
3722
  type: w.literal,
3670
- value: r.getNumberFormat(t, p).format(f)
3723
+ value: r.getNumberFormat(t, m).format(f)
3671
3724
  });
3672
3725
  continue;
3673
3726
  }
3674
- if (Xt(l)) {
3675
- var g = l.children, m = l.value, x = i[m];
3676
- if (!Kn(x))
3677
- throw new Qn(m, "function", s);
3678
- var A = me(g, t, r, n, i, o), H = x(A.map(function(S) {
3727
+ if (Yt(l)) {
3728
+ var g = l.children, p = l.value, x = i[p];
3729
+ if (!ri(x))
3730
+ throw new Kn(p, "function", s);
3731
+ var A = pe(g, t, r, n, i, o), H = x(A.map(function(S) {
3679
3732
  return S.value;
3680
3733
  }));
3681
3734
  Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(S) {
@@ -3685,14 +3738,14 @@ function me(e, t, r, n, i, o, s) {
3685
3738
  };
3686
3739
  }));
3687
3740
  }
3688
- if (kt(l)) {
3741
+ if (zt(l)) {
3689
3742
  var T = l.options[f] || l.options.other;
3690
3743
  if (!T)
3691
- throw new vt(l.value, f, Object.keys(l.options), s);
3692
- a.push.apply(a, me(T.value, t, r, n, i));
3744
+ throw new xt(l.value, f, Object.keys(l.options), s);
3745
+ a.push.apply(a, pe(T.value, t, r, n, i));
3693
3746
  continue;
3694
3747
  }
3695
- if (Vt(l)) {
3748
+ if (Zt(l)) {
3696
3749
  var T = l.options["=".concat(f)];
3697
3750
  if (!T) {
3698
3751
  if (!Intl.PluralRules)
@@ -3703,24 +3756,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3703
3756
  T = l.options[v] || l.options.other;
3704
3757
  }
3705
3758
  if (!T)
3706
- throw new vt(l.value, f, Object.keys(l.options), s);
3707
- a.push.apply(a, me(T.value, t, r, n, i, f - (l.offset || 0)));
3759
+ throw new xt(l.value, f, Object.keys(l.options), s);
3760
+ a.push.apply(a, pe(T.value, t, r, n, i, f - (l.offset || 0)));
3708
3761
  continue;
3709
3762
  }
3710
3763
  }
3711
- return qn(a);
3764
+ return ti(a);
3712
3765
  }
3713
- function ei(e, t) {
3766
+ function ni(e, t) {
3714
3767
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3715
3768
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3716
3769
  }, {})) : e;
3717
3770
  }
3718
- function ti(e, t) {
3771
+ function ii(e, t) {
3719
3772
  return t ? Object.keys(e).reduce(function(r, n) {
3720
- return r[n] = ei(e[n], t[n]), r;
3773
+ return r[n] = ni(e[n], t[n]), r;
3721
3774
  }, y({}, e)) : e;
3722
3775
  }
3723
- function Oe(e) {
3776
+ function Ie(e) {
3724
3777
  return {
3725
3778
  create: function() {
3726
3779
  return {
@@ -3734,39 +3787,39 @@ function Oe(e) {
3734
3787
  }
3735
3788
  };
3736
3789
  }
3737
- function ri(e) {
3790
+ function oi(e) {
3738
3791
  return e === void 0 && (e = {
3739
3792
  number: {},
3740
3793
  dateTime: {},
3741
3794
  pluralRules: {}
3742
3795
  }), {
3743
- getNumberFormat: He(function() {
3796
+ getNumberFormat: Ae(function() {
3744
3797
  for (var t, r = [], n = 0; n < arguments.length; n++)
3745
3798
  r[n] = arguments[n];
3746
3799
  return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
3747
3800
  }, {
3748
- cache: Oe(e.number),
3749
- strategy: Ae.variadic
3801
+ cache: Ie(e.number),
3802
+ strategy: Pe.variadic
3750
3803
  }),
3751
- getDateTimeFormat: He(function() {
3804
+ getDateTimeFormat: Ae(function() {
3752
3805
  for (var t, r = [], n = 0; n < arguments.length; n++)
3753
3806
  r[n] = arguments[n];
3754
3807
  return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
3755
3808
  }, {
3756
- cache: Oe(e.dateTime),
3757
- strategy: Ae.variadic
3809
+ cache: Ie(e.dateTime),
3810
+ strategy: Pe.variadic
3758
3811
  }),
3759
- getPluralRules: He(function() {
3812
+ getPluralRules: Ae(function() {
3760
3813
  for (var t, r = [], n = 0; n < arguments.length; n++)
3761
3814
  r[n] = arguments[n];
3762
3815
  return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
3763
3816
  }, {
3764
- cache: Oe(e.pluralRules),
3765
- strategy: Ae.variadic
3817
+ cache: Ie(e.pluralRules),
3818
+ strategy: Pe.variadic
3766
3819
  })
3767
3820
  };
3768
3821
  }
3769
- var ni = (
3822
+ var si = (
3770
3823
  /** @class */
3771
3824
  function() {
3772
3825
  function e(t, r, n, i) {
@@ -3785,7 +3838,7 @@ var ni = (
3785
3838
  }, []);
3786
3839
  return l.length <= 1 ? l[0] || "" : l;
3787
3840
  }, this.formatToParts = function(h) {
3788
- return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3841
+ return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3789
3842
  }, this.resolvedOptions = function() {
3790
3843
  var h;
3791
3844
  return {
@@ -3798,13 +3851,13 @@ var ni = (
3798
3851
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3799
3852
  var s = i || {};
3800
3853
  s.formatters;
3801
- var a = Lr(s, ["formatters"]);
3854
+ var a = Dr(s, ["formatters"]);
3802
3855
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3803
3856
  } else
3804
3857
  this.ast = t;
3805
3858
  if (!Array.isArray(this.ast))
3806
3859
  throw new TypeError("A message must be provided as a String or AST.");
3807
- this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3860
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3808
3861
  }
3809
3862
  return Object.defineProperty(e, "defaultLocale", {
3810
3863
  get: function() {
@@ -3817,7 +3870,7 @@ var ni = (
3817
3870
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3818
3871
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3819
3872
  }
3820
- }, e.__parse = Yn, e.formats = {
3873
+ }, e.__parse = qn, e.formats = {
3821
3874
  number: {
3822
3875
  integer: {
3823
3876
  maximumFractionDigits: 0
@@ -3878,7 +3931,7 @@ var ni = (
3878
3931
  }, e;
3879
3932
  }()
3880
3933
  );
3881
- function ii(e, t) {
3934
+ function ai(e, t) {
3882
3935
  if (t == null)
3883
3936
  return;
3884
3937
  if (t in e)
@@ -3899,92 +3952,92 @@ function ii(e, t) {
3899
3952
  n = void 0;
3900
3953
  return n;
3901
3954
  }
3902
- const D = {}, oi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), er = (e, t) => {
3955
+ const D = {}, ui = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), ir = (e, t) => {
3903
3956
  if (t == null)
3904
3957
  return;
3905
3958
  if (t in D && e in D[t])
3906
3959
  return D[t][e];
3907
3960
  const r = xe(t);
3908
3961
  for (let n = 0; n < r.length; n++) {
3909
- const i = r[n], o = ai(i, e);
3962
+ const i = r[n], o = li(i, e);
3910
3963
  if (o)
3911
- return oi(e, t, o);
3964
+ return ui(e, t, o);
3912
3965
  }
3913
3966
  };
3914
- let Qe;
3967
+ let Ke;
3915
3968
  const he = Ee({});
3916
- function si(e) {
3917
- return Qe[e] || null;
3969
+ function hi(e) {
3970
+ return Ke[e] || null;
3918
3971
  }
3919
- function tr(e) {
3920
- return e in Qe;
3972
+ function or(e) {
3973
+ return e in Ke;
3921
3974
  }
3922
- function ai(e, t) {
3923
- if (!tr(e))
3975
+ function li(e, t) {
3976
+ if (!or(e))
3924
3977
  return null;
3925
- const r = si(e);
3926
- return ii(r, t);
3978
+ const r = hi(e);
3979
+ return ai(r, t);
3927
3980
  }
3928
- function ui(e) {
3981
+ function ci(e) {
3929
3982
  if (e == null)
3930
3983
  return;
3931
3984
  const t = xe(e);
3932
3985
  for (let r = 0; r < t.length; r++) {
3933
3986
  const n = t[r];
3934
- if (tr(n))
3987
+ if (or(n))
3935
3988
  return n;
3936
3989
  }
3937
3990
  }
3938
- function rr(e, ...t) {
3939
- delete D[e], he.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3991
+ function sr(e, ...t) {
3992
+ delete D[e], he.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3940
3993
  }
3941
3994
  q(
3942
3995
  [he],
3943
3996
  ([e]) => Object.keys(e)
3944
3997
  );
3945
- he.subscribe((e) => Qe = e);
3998
+ he.subscribe((e) => Ke = e);
3946
3999
  const be = {};
3947
- function hi(e, t) {
4000
+ function fi(e, t) {
3948
4001
  be[e].delete(t), be[e].size === 0 && delete be[e];
3949
4002
  }
3950
- function nr(e) {
4003
+ function ar(e) {
3951
4004
  return be[e];
3952
4005
  }
3953
- function li(e) {
4006
+ function mi(e) {
3954
4007
  return xe(e).map((t) => {
3955
- const r = nr(t);
4008
+ const r = ar(t);
3956
4009
  return [t, r ? [...r] : []];
3957
4010
  }).filter(([, t]) => t.length > 0);
3958
4011
  }
3959
- function We(e) {
4012
+ function ze(e) {
3960
4013
  return e == null ? !1 : xe(e).some(
3961
4014
  (t) => {
3962
4015
  var r;
3963
- return (r = nr(t)) == null ? void 0 : r.size;
4016
+ return (r = ar(t)) == null ? void 0 : r.size;
3964
4017
  }
3965
4018
  );
3966
4019
  }
3967
- function ci(e, t) {
4020
+ function pi(e, t) {
3968
4021
  return Promise.all(
3969
- t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
3970
- ).then((n) => rr(e, ...n));
4022
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4023
+ ).then((n) => sr(e, ...n));
3971
4024
  }
3972
4025
  const te = {};
3973
- function ir(e) {
3974
- if (!We(e))
4026
+ function ur(e) {
4027
+ if (!ze(e))
3975
4028
  return e in te ? te[e] : Promise.resolve();
3976
- const t = li(e);
4029
+ const t = mi(e);
3977
4030
  return te[e] = Promise.all(
3978
4031
  t.map(
3979
- ([r, n]) => ci(r, n)
4032
+ ([r, n]) => pi(r, n)
3980
4033
  )
3981
4034
  ).then(() => {
3982
- if (We(e))
3983
- return ir(e);
4035
+ if (ze(e))
4036
+ return ur(e);
3984
4037
  delete te[e];
3985
4038
  }), te[e];
3986
4039
  }
3987
- const fi = {
4040
+ const bi = {
3988
4041
  number: {
3989
4042
  scientific: { notation: "scientific" },
3990
4043
  engineering: { notation: "engineering" },
@@ -4013,57 +4066,57 @@ const fi = {
4013
4066
  timeZoneName: "short"
4014
4067
  }
4015
4068
  }
4016
- }, pi = {
4069
+ }, di = {
4017
4070
  fallbackLocale: null,
4018
4071
  loadingDelay: 200,
4019
- formats: fi,
4072
+ formats: bi,
4020
4073
  warnOnMissingMessages: !0,
4021
4074
  handleMissingMessage: void 0,
4022
4075
  ignoreTag: !0
4023
- }, mi = pi;
4076
+ }, gi = di;
4024
4077
  function J() {
4025
- return mi;
4078
+ return gi;
4026
4079
  }
4027
- const Ie = Ee(!1);
4028
- var bi = Object.defineProperty, di = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4080
+ const Ne = Ee(!1);
4081
+ var yi = Object.defineProperty, vi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4029
4082
  for (var r in t || (t = {}))
4030
- yi.call(t, r) && _t(e, r, t[r]);
4031
- if (Et)
4032
- for (var r of Et(t))
4033
- vi.call(t, r) && _t(e, r, t[r]);
4083
+ _i.call(t, r) && St(e, r, t[r]);
4084
+ if (Bt)
4085
+ for (var r of Bt(t))
4086
+ xi.call(t, r) && St(e, r, t[r]);
4034
4087
  return e;
4035
- }, _i = (e, t) => di(e, gi(t));
4036
- let ze;
4088
+ }, Si = (e, t) => vi(e, Ei(t));
4089
+ let Ze;
4037
4090
  const de = Ee(null);
4038
- function xt(e) {
4091
+ function Tt(e) {
4039
4092
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4040
4093
  }
4041
4094
  function xe(e, t = J().fallbackLocale) {
4042
- const r = xt(e);
4043
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4095
+ const r = Tt(e);
4096
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4044
4097
  }
4045
4098
  function F() {
4046
- return ze != null ? ze : void 0;
4099
+ return Ze != null ? Ze : void 0;
4047
4100
  }
4048
4101
  de.subscribe((e) => {
4049
- ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4102
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4050
4103
  });
4051
- const xi = (e) => {
4052
- if (e && ui(e) && We(e)) {
4104
+ const Ti = (e) => {
4105
+ if (e && ci(e) && ze(e)) {
4053
4106
  const { loadingDelay: t } = J();
4054
4107
  let r;
4055
4108
  return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
4056
- () => Ie.set(!0),
4109
+ () => Ne.set(!0),
4057
4110
  t
4058
- ) : Ie.set(!0), ir(e).then(() => {
4111
+ ) : Ne.set(!0), ur(e).then(() => {
4059
4112
  de.set(e);
4060
4113
  }).finally(() => {
4061
- clearTimeout(r), Ie.set(!1);
4114
+ clearTimeout(r), Ne.set(!1);
4062
4115
  });
4063
4116
  }
4064
4117
  return de.set(e);
4065
- }, K = _i(Ei({}, de), {
4066
- set: xi
4118
+ }, K = Si(Bi({}, de), {
4119
+ set: Ti
4067
4120
  }), Be = (e) => {
4068
4121
  const t = /* @__PURE__ */ Object.create(null);
4069
4122
  return (n) => {
@@ -4071,20 +4124,20 @@ const xi = (e) => {
4071
4124
  return i in t ? t[i] : t[i] = e(n);
4072
4125
  };
4073
4126
  };
4074
- var Bi = Object.defineProperty, ge = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4127
+ var wi = Object.defineProperty, ge = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4075
4128
  for (var r in t || (t = {}))
4076
- or.call(t, r) && Bt(e, r, t[r]);
4129
+ hr.call(t, r) && wt(e, r, t[r]);
4077
4130
  if (ge)
4078
4131
  for (var r of ge(t))
4079
- sr.call(t, r) && Bt(e, r, t[r]);
4132
+ lr.call(t, r) && wt(e, r, t[r]);
4080
4133
  return e;
4081
4134
  }, ee = (e, t) => {
4082
4135
  var r = {};
4083
4136
  for (var n in e)
4084
- or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4137
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4085
4138
  if (e != null && ge)
4086
4139
  for (var n of ge(e))
4087
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4140
+ t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4088
4141
  return r;
4089
4142
  };
4090
4143
  const ae = (e, t) => {
@@ -4092,21 +4145,21 @@ const ae = (e, t) => {
4092
4145
  if (e in r && t in r[e])
4093
4146
  return r[e][t];
4094
4147
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4095
- }, Si = Be(
4148
+ }, Hi = Be(
4096
4149
  (e) => {
4097
4150
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4098
4151
  if (r == null)
4099
4152
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4100
4153
  return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4101
4154
  }
4102
- ), Ti = Be(
4155
+ ), Ai = Be(
4103
4156
  (e) => {
4104
4157
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4105
4158
  if (r == null)
4106
4159
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4107
4160
  return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4108
4161
  }
4109
- ), wi = Be(
4162
+ ), Pi = Be(
4110
4163
  (e) => {
4111
4164
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4112
4165
  if (r == null)
@@ -4115,33 +4168,33 @@ const ae = (e, t) => {
4115
4168
  );
4116
4169
  return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4117
4170
  }
4118
- ), Hi = (e = {}) => {
4171
+ ), Oi = (e = {}) => {
4119
4172
  var t = e, {
4120
4173
  locale: r = F()
4121
4174
  } = t, n = ee(t, [
4122
4175
  "locale"
4123
4176
  ]);
4124
- return Si(Je({ locale: r }, n));
4125
- }, Ai = (e = {}) => {
4177
+ return Hi(et({ locale: r }, n));
4178
+ }, Ii = (e = {}) => {
4126
4179
  var t = e, {
4127
4180
  locale: r = F()
4128
4181
  } = t, n = ee(t, [
4129
4182
  "locale"
4130
4183
  ]);
4131
- return Ti(Je({ locale: r }, n));
4132
- }, Pi = (e = {}) => {
4184
+ return Ai(et({ locale: r }, n));
4185
+ }, Ni = (e = {}) => {
4133
4186
  var t = e, {
4134
4187
  locale: r = F()
4135
4188
  } = t, n = ee(t, [
4136
4189
  "locale"
4137
4190
  ]);
4138
- return wi(Je({ locale: r }, n));
4139
- }, Oi = Be(
4191
+ return Pi(et({ locale: r }, n));
4192
+ }, Mi = Be(
4140
4193
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4141
- (e, t = F()) => new ni(e, t, J().formats, {
4194
+ (e, t = F()) => new si(e, t, J().formats, {
4142
4195
  ignoreTag: J().ignoreTag
4143
4196
  })
4144
- ), Ii = (e, t = {}) => {
4197
+ ), Ci = (e, t = {}) => {
4145
4198
  var r, n, i, o;
4146
4199
  let s = t;
4147
4200
  typeof e == "object" && (s = e, e = s.id);
@@ -4154,7 +4207,7 @@ const ae = (e, t) => {
4154
4207
  throw new Error(
4155
4208
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4156
4209
  );
4157
- let l = er(e, h);
4210
+ let l = ir(e, h);
4158
4211
  if (!l)
4159
4212
  l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4160
4213
  else if (typeof l != "string")
@@ -4165,7 +4218,7 @@ const ae = (e, t) => {
4165
4218
  return l;
4166
4219
  let c = l;
4167
4220
  try {
4168
- c = Oi(l, h).format(a);
4221
+ c = Mi(l, h).format(a);
4169
4222
  } catch (f) {
4170
4223
  f instanceof Error && console.warn(
4171
4224
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4173,20 +4226,20 @@ const ae = (e, t) => {
4173
4226
  );
4174
4227
  }
4175
4228
  return c;
4176
- }, Ni = (e, t) => Pi(t).format(e), Mi = (e, t) => Ai(t).format(e), Li = (e, t) => Hi(t).format(e), Ci = (e, t = F()) => er(e, t), $i = q([K, he], () => Ii);
4177
- q([K], () => Ni);
4178
- q([K], () => Mi);
4229
+ }, Li = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Di = (e, t = F()) => ir(e, t), Ui = q([K, he], () => Ci);
4179
4230
  q([K], () => Li);
4180
- q([K, he], () => Ci);
4181
- window.emWidgets = { topic: Zr };
4182
- const Ri = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4183
- function St(e, t) {
4184
- rr(e, t);
4231
+ q([K], () => $i);
4232
+ q([K], () => Ri);
4233
+ q([K, he], () => Di);
4234
+ window.emWidgets = { topic: qr };
4235
+ const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4236
+ function Ht(e, t) {
4237
+ sr(e, t);
4185
4238
  }
4186
- function Di(e) {
4239
+ function Fi(e) {
4187
4240
  K.set(e);
4188
4241
  }
4189
- const Tt = {
4242
+ const At = {
4190
4243
  en: {
4191
4244
  titleBiometrics: "Biometrics Authentication",
4192
4245
  descriptionParagraph1: "Use biometric login with your fingerprint or face for faster and easier access to your account.",
@@ -4265,13 +4318,13 @@ const Tt = {
4265
4318
  btnDisableBiometrics: "Disable biometrics"
4266
4319
  }
4267
4320
  };
4268
- function Ui(e, t) {
4321
+ function ji(e, t) {
4269
4322
  if (e) {
4270
4323
  const r = document.createElement("style");
4271
4324
  r.innerHTML = t, e.appendChild(r);
4272
4325
  }
4273
4326
  }
4274
- function Gi(e, t) {
4327
+ function ki(e, t) {
4275
4328
  const r = new URL(t);
4276
4329
  fetch(r.href).then((n) => n.text()).then((n) => {
4277
4330
  const i = document.createElement("style");
@@ -4280,7 +4333,7 @@ function Gi(e, t) {
4280
4333
  console.error("There was an error while trying to load client styling from URL", n);
4281
4334
  });
4282
4335
  }
4283
- function Fi(e, t, r) {
4336
+ function Vi(e, t, r) {
4284
4337
  if (window.emMessageBus) {
4285
4338
  const n = document.createElement("style");
4286
4339
  window.emMessageBus.subscribe(t, (i) => {
@@ -4288,47 +4341,47 @@ function Fi(e, t, r) {
4288
4341
  });
4289
4342
  }
4290
4343
  }
4291
- function ji(e) {
4292
- mr(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}");
4344
+ function Xi(e) {
4345
+ yr(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}");
4293
4346
  }
4294
- function ki(e) {
4347
+ function Wi(e) {
4295
4348
  let t, r, n, i, o, s, a, h, u, l, c = (
4296
4349
  /*$_*/
4297
4350
  e[2]("titleBiometrics") + ""
4298
- ), f, p, g;
4351
+ ), f, m, g;
4299
4352
  return {
4300
4353
  c() {
4301
4354
  t = I("div"), r = j("svg"), n = j("defs"), i = j("style"), o = G(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = j("g"), a = j("g"), h = j("path"), u = re(), l = I("h2"), f = G(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");
4302
4355
  },
4303
- m(m, x) {
4304
- Ye(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 = Pt(
4356
+ m(p, x) {
4357
+ Qe(p, 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), m || (g = Nt(
4305
4358
  t,
4306
4359
  "click",
4307
4360
  /*click_handler*/
4308
4361
  e[11]
4309
- ), p = !0);
4362
+ ), m = !0);
4310
4363
  },
4311
- p(m, x) {
4364
+ p(p, x) {
4312
4365
  x & /*$_*/
4313
4366
  4 && c !== (c = /*$_*/
4314
- m[2]("titleBiometrics") + "") && ne(f, c);
4367
+ p[2]("titleBiometrics") + "") && ne(f, c);
4315
4368
  },
4316
- d(m) {
4317
- m && ye(t), p = !1, g();
4369
+ d(p) {
4370
+ p && ye(t), m = !1, g();
4318
4371
  }
4319
4372
  };
4320
4373
  }
4321
- function Vi(e) {
4374
+ function zi(e) {
4322
4375
  let t, r, n, i, o = (
4323
4376
  /*$_*/
4324
4377
  e[2]("titleBiometrics") + ""
4325
4378
  ), s, a, h, u, l = (
4326
4379
  /*$_*/
4327
4380
  e[2]("descriptionParagraph1") + ""
4328
- ), c, f, p, g = (
4381
+ ), c, f, m, g = (
4329
4382
  /*$_*/
4330
4383
  e[2]("descriptionParagraph2") + ""
4331
- ), m, x, A, H, T = (
4384
+ ), p, x, A, H, T = (
4332
4385
  /*biometricsenabled*/
4333
4386
  (e[0] === "true" ? (
4334
4387
  /*$_*/
@@ -4337,20 +4390,20 @@ function Vi(e) {
4337
4390
  /*$_*/
4338
4391
  e[2]("btnEnableBiometrics")
4339
4392
  )) + ""
4340
- ), v, S, M, L = (
4393
+ ), v, S, M, C = (
4341
4394
  /*isMobile*/
4342
- e[3] && ki(e)
4395
+ e[3] && Wi(e)
4343
4396
  );
4344
4397
  return {
4345
4398
  c() {
4346
- t = I("div"), r = I("div"), L && L.c(), n = re(), i = I("h2"), s = G(o), a = re(), h = I("div"), u = I("p"), c = G(l), f = re(), p = I("p"), m = G(g), x = re(), A = I("div"), H = I("button"), v = G(T), B(i, "class", "BiometricsTitle " + /*isMobile*/
4399
+ t = I("div"), r = I("div"), C && C.c(), n = re(), i = I("h2"), s = G(o), a = re(), h = I("div"), u = I("p"), c = G(l), f = re(), m = I("p"), p = G(g), x = re(), A = I("div"), H = I("button"), v = G(T), B(i, "class", "BiometricsTitle " + /*isMobile*/
4347
4400
  (e[3] ? "BiometricsTitleNone" : "")), B(h, "class", "BiometricsDescription " + /*isMobile*/
4348
4401
  (e[3] ? "BiometricsDescriptionMobile" : "")), B(H, "class", "BiometricsToggle"), B(A, "class", "BiometricsActionButtons " + /*isMobile*/
4349
4402
  (e[3] ? "BiometricsActionButtonsMobile" : "")), B(r, "class", "BiometricsWrapper " + /*isMobile*/
4350
4403
  (e[3] ? "BiometricsWrapperMobile" : ""));
4351
4404
  },
4352
4405
  m(P, U) {
4353
- Ye(P, t, U), E(t, r), L && L.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 || (M = Pt(
4406
+ Qe(P, t, U), E(t, r), C && C.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, m), E(m, p), E(r, x), E(r, A), E(A, H), E(H, v), e[13](t), S || (M = Nt(
4354
4407
  H,
4355
4408
  "click",
4356
4409
  /*click_handler_1*/
@@ -4359,13 +4412,13 @@ function Vi(e) {
4359
4412
  },
4360
4413
  p(P, [U]) {
4361
4414
  /*isMobile*/
4362
- P[3] && L.p(P, U), U & /*$_*/
4415
+ P[3] && C.p(P, U), U & /*$_*/
4363
4416
  4 && o !== (o = /*$_*/
4364
4417
  P[2]("titleBiometrics") + "") && ne(s, o), U & /*$_*/
4365
4418
  4 && l !== (l = /*$_*/
4366
4419
  P[2]("descriptionParagraph1") + "") && ne(c, l), U & /*$_*/
4367
4420
  4 && g !== (g = /*$_*/
4368
- P[2]("descriptionParagraph2") + "") && ne(m, g), U & /*biometricsenabled, $_*/
4421
+ P[2]("descriptionParagraph2") + "") && ne(p, g), U & /*biometricsenabled, $_*/
4369
4422
  5 && T !== (T = /*biometricsenabled*/
4370
4423
  (P[0] === "true" ? (
4371
4424
  /*$_*/
@@ -4378,29 +4431,29 @@ function Vi(e) {
4378
4431
  i: N,
4379
4432
  o: N,
4380
4433
  d(P) {
4381
- P && ye(t), L && L.d(), e[13](null), S = !1, M();
4434
+ P && ye(t), C && C.d(), e[13](null), S = !1, M();
4382
4435
  }
4383
4436
  };
4384
4437
  }
4385
- function Xi(e, t, r) {
4438
+ function Zi(e, t, r) {
4386
4439
  let n;
4387
- pr(e, $i, (v) => r(2, n = v));
4388
- 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 = Ri(c) !== "PC";
4389
- const p = () => {
4440
+ gr(e, Ui, (v) => r(2, n = v));
4441
+ 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 = Gi(c) !== "PC";
4442
+ const m = () => {
4390
4443
  fetch(u).then((S) => S.json()).then((S) => {
4391
4444
  Object.keys(S).forEach((M) => {
4392
- St(M, S[M]);
4445
+ Ht(M, S[M]);
4393
4446
  });
4394
4447
  }).catch((S) => {
4395
4448
  console.log(S);
4396
4449
  });
4397
4450
  };
4398
- Object.keys(Tt).forEach((v) => {
4399
- St(v, Tt[v]);
4451
+ Object.keys(At).forEach((v) => {
4452
+ Ht(v, At[v]);
4400
4453
  });
4401
4454
  const g = () => {
4402
- Di(o);
4403
- }, m = () => {
4455
+ Fi(o);
4456
+ }, p = () => {
4404
4457
  window.postMessage(
4405
4458
  {
4406
4459
  type: "PlayerAccountMenuActive",
@@ -4414,11 +4467,11 @@ function Xi(e, t, r) {
4414
4467
  data: i
4415
4468
  });
4416
4469
  };
4417
- Er(() => () => {
4470
+ Sr(() => () => {
4418
4471
  });
4419
- const A = () => m(), H = () => x();
4472
+ const A = () => p(), H = () => x();
4420
4473
  function T(v) {
4421
- Ne[v ? "unshift" : "push"](() => {
4474
+ Me[v ? "unshift" : "push"](() => {
4422
4475
  l = v, r(1, l);
4423
4476
  });
4424
4477
  }
@@ -4427,16 +4480,16 @@ function Xi(e, t, r) {
4427
4480
  }, e.$$.update = () => {
4428
4481
  e.$$.dirty & /*lang*/
4429
4482
  64 && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4430
- 130 && s && l && Ui(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4431
- 258 && a && l && Gi(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4432
- 514 && h && l && Fi(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
4433
- 1024 && u && p();
4483
+ 130 && s && l && ji(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4484
+ 258 && a && l && ki(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4485
+ 514 && h && l && Vi(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
4486
+ 1024 && u && m();
4434
4487
  }, [
4435
4488
  i,
4436
4489
  l,
4437
4490
  n,
4438
4491
  f,
4439
- m,
4492
+ p,
4440
4493
  x,
4441
4494
  o,
4442
4495
  s,
@@ -4448,14 +4501,14 @@ function Xi(e, t, r) {
4448
4501
  T
4449
4502
  ];
4450
4503
  }
4451
- class Wi extends Nr {
4504
+ class Yi extends $r {
4452
4505
  constructor(t) {
4453
- super(), Or(
4506
+ super(), Cr(
4454
4507
  this,
4455
4508
  t,
4456
- Xi,
4457
- Vi,
4458
- Ht,
4509
+ Zi,
4510
+ zi,
4511
+ Ot,
4459
4512
  {
4460
4513
  biometricsenabled: 0,
4461
4514
  lang: 6,
@@ -4464,7 +4517,7 @@ class Wi extends Nr {
4464
4517
  mbsource: 9,
4465
4518
  translationurl: 10
4466
4519
  },
4467
- ji
4520
+ Xi
4468
4521
  );
4469
4522
  }
4470
4523
  get biometricsenabled() {
@@ -4504,7 +4557,7 @@ class Wi extends Nr {
4504
4557
  this.$$set({ translationurl: t }), R();
4505
4558
  }
4506
4559
  }
4507
- Ir(Wi, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4560
+ Lr(Yi, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4508
4561
  export {
4509
- Wi as default
4562
+ Yi as default
4510
4563
  };