@everymatrix/general-logout 1.56.0 → 1.56.3

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