@everymatrix/general-logout 1.77.18 → 1.77.20

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 dr = Object.defineProperty, mr = Object.defineProperties;
2
- var br = Object.getOwnPropertyDescriptors;
3
- var rt = Object.getOwnPropertySymbols;
4
- var gr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
1
+ var hr = Object.defineProperty, lr = Object.defineProperties;
2
+ var cr = Object.getOwnPropertyDescriptors;
3
+ var Ye = Object.getOwnPropertySymbols;
4
+ var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- gr.call(t, r) && Be(e, r, t[r]);
8
- if (rt)
9
- for (var r of rt(t))
10
- yr.call(t, r) && Be(e, r, t[r]);
7
+ fr.call(t, r) && Te(e, r, t[r]);
8
+ if (Ye)
9
+ for (var r of Ye(t))
10
+ pr.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, it = (e, t) => mr(e, br(t));
13
- var T = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ot = (e, t, r) => new Promise((n, i) => {
12
+ }, Ke = (e, t) => lr(e, cr(t));
13
+ var T = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var et = (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 ot = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function w() {
31
31
  }
32
- function It(e) {
32
+ function Bt(e) {
33
33
  return e();
34
34
  }
35
- function st() {
35
+ function tt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ie(e) {
39
- e.forEach(It);
38
+ function oe(e) {
39
+ e.forEach(Bt);
40
40
  }
41
- function Ke(e) {
41
+ function Ze(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Lt(e, t) {
44
+ function wt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function vr(e) {
47
+ function dr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Nt(e, ...t) {
50
+ function At(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Nt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function _r(e, t, r) {
60
- e.$$.on_destroy.push(Nt(t, r));
59
+ function mr(e, t, r) {
60
+ e.$$.on_destroy.push(At(t, r));
61
61
  }
62
62
  function S(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Er(e, t, r) {
66
- const n = xr(e);
65
+ function br(e, t, r) {
66
+ const n = gr(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = I("style");
69
- i.id = t, i.textContent = r, Sr(n, i);
68
+ const i = O("style");
69
+ i.id = t, i.textContent = r, yr(n, i);
70
70
  }
71
71
  }
72
- function xr(e) {
72
+ function gr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,48 +79,48 @@ function xr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function Sr(e, t) {
82
+ function yr(e, t) {
83
83
  return S(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function oe(e, t, r) {
89
+ function se(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function Z(e) {
92
+ function Q(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function I(e) {
95
+ function O(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function q(e) {
98
+ function K(e) {
99
99
  return document.createElementNS("http://www.w3.org/2000/svg", e);
100
100
  }
101
- function ye(e) {
101
+ function ge(e) {
102
102
  return document.createTextNode(e);
103
103
  }
104
- function Tr() {
105
- return ye(" ");
104
+ function vr() {
105
+ return ge(" ");
106
106
  }
107
- function Mt(e, t, r, n) {
107
+ function Pt(e, t, r, n) {
108
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
109
109
  }
110
110
  function H(e, t, r) {
111
111
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
112
  }
113
- function Hr(e) {
113
+ function _r(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
- function Ct(e, t) {
116
+ function Ot(e, t) {
117
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
118
  t);
119
119
  }
120
- function Br(e, t, r, n) {
120
+ function xr(e, t, r, n) {
121
121
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
122
122
  }
123
- function wr(e) {
123
+ function Er(e) {
124
124
  const t = {};
125
125
  return e.childNodes.forEach(
126
126
  /** @param {Element} node */
@@ -129,87 +129,87 @@ function wr(e) {
129
129
  }
130
130
  ), t;
131
131
  }
132
- let te;
133
- function ee(e) {
134
- te = e;
132
+ let re;
133
+ function te(e) {
134
+ re = e;
135
135
  }
136
- function Ar() {
137
- if (!te)
136
+ function Sr() {
137
+ if (!re)
138
138
  throw new Error("Function called outside component initialization");
139
- return te;
139
+ return re;
140
140
  }
141
- function Pr(e) {
142
- Ar().$$.on_mount.push(e);
141
+ function Tr(e) {
142
+ Sr().$$.on_mount.push(e);
143
143
  }
144
- const j = [], Ce = [];
144
+ const j = [], Le = [];
145
145
  let k = [];
146
- const at = [], Or = /* @__PURE__ */ Promise.resolve();
147
- let $e = !1;
148
- function Ir() {
149
- $e || ($e = !0, Or.then(A));
146
+ const rt = [], Hr = /* @__PURE__ */ Promise.resolve();
147
+ let Ne = !1;
148
+ function Br() {
149
+ Ne || (Ne = !0, Hr.then(A));
150
150
  }
151
- function Re(e) {
151
+ function Me(e) {
152
152
  k.push(e);
153
153
  }
154
- const we = /* @__PURE__ */ new Set();
154
+ const He = /* @__PURE__ */ new Set();
155
155
  let D = 0;
156
156
  function A() {
157
157
  if (D !== 0)
158
158
  return;
159
- const e = te;
159
+ const e = re;
160
160
  do {
161
161
  try {
162
162
  for (; D < j.length; ) {
163
163
  const t = j[D];
164
- D++, ee(t), Lr(t.$$);
164
+ D++, te(t), wr(t.$$);
165
165
  }
166
166
  } catch (t) {
167
167
  throw j.length = 0, D = 0, t;
168
168
  }
169
- for (ee(null), j.length = 0, D = 0; Ce.length; )
170
- Ce.pop()();
169
+ for (te(null), j.length = 0, D = 0; Le.length; )
170
+ Le.pop()();
171
171
  for (let t = 0; t < k.length; t += 1) {
172
172
  const r = k[t];
173
- we.has(r) || (we.add(r), r());
173
+ He.has(r) || (He.add(r), r());
174
174
  }
175
175
  k.length = 0;
176
176
  } while (j.length);
177
- for (; at.length; )
178
- at.pop()();
179
- $e = !1, we.clear(), ee(e);
177
+ for (; rt.length; )
178
+ rt.pop()();
179
+ Ne = !1, He.clear(), te(e);
180
180
  }
181
- function Lr(e) {
181
+ function wr(e) {
182
182
  if (e.fragment !== null) {
183
- e.update(), ie(e.before_update);
183
+ e.update(), oe(e.before_update);
184
184
  const t = e.dirty;
185
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
185
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
186
186
  }
187
187
  }
188
- function Nr(e) {
188
+ function Ar(e) {
189
189
  const t = [], r = [];
190
190
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
191
191
  }
192
- const Mr = /* @__PURE__ */ new Set();
193
- function Cr(e, t) {
194
- e && e.i && (Mr.delete(e), e.i(t));
192
+ const Pr = /* @__PURE__ */ new Set();
193
+ function Or(e, t) {
194
+ e && e.i && (Pr.delete(e), e.i(t));
195
195
  }
196
- function $r(e, t, r) {
196
+ function Ir(e, t, r) {
197
197
  const { fragment: n, after_update: i } = e.$$;
198
- n && n.m(t, r), Re(() => {
199
- const o = e.$$.on_mount.map(It).filter(Ke);
200
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
201
- }), i.forEach(Re);
198
+ n && n.m(t, r), Me(() => {
199
+ const o = e.$$.on_mount.map(Bt).filter(Ze);
200
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
201
+ }), i.forEach(Me);
202
202
  }
203
- function Rr(e, t) {
203
+ function Lr(e, t) {
204
204
  const r = e.$$;
205
- r.fragment !== null && (Nr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
+ 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 = []);
206
206
  }
207
- function Ur(e, t) {
208
- e.$$.dirty[0] === -1 && (j.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
+ function Nr(e, t) {
208
+ e.$$.dirty[0] === -1 && (j.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
209
209
  }
210
- function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
211
- const h = te;
212
- ee(e);
210
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
211
+ const h = re;
212
+ te(e);
213
213
  const u = e.$$ = {
214
214
  fragment: null,
215
215
  ctx: [],
@@ -217,7 +217,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  props: o,
218
218
  update: w,
219
219
  not_equal: i,
220
- bound: st(),
220
+ bound: tt(),
221
221
  // lifecycle
222
222
  on_mount: [],
223
223
  on_destroy: [],
@@ -226,7 +226,7 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
226
226
  after_update: [],
227
227
  context: new Map(t.context || (h ? h.$$.context : [])),
228
228
  // everything else
229
- callbacks: st(),
229
+ callbacks: tt(),
230
230
  dirty: a,
231
231
  skip_bound: !1,
232
232
  root: t.target || h.$$.root
@@ -235,19 +235,19 @@ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
235
235
  let l = !1;
236
236
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
237
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 && Ur(e, f)), c;
239
- }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
238
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Nr(e, f)), c;
239
+ }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
240
  if (t.hydrate) {
241
- const f = Hr(t.target);
242
- u.fragment && u.fragment.l(f), f.forEach(Z);
241
+ const f = _r(t.target);
242
+ u.fragment && u.fragment.l(f), f.forEach(Q);
243
243
  } else
244
244
  u.fragment && u.fragment.c();
245
- t.intro && Cr(e.$$.fragment), $r(e, t.target, t.anchor), A();
245
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), A();
246
246
  }
247
- ee(h);
247
+ te(h);
248
248
  }
249
- let $t;
250
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
249
+ let It;
250
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
251
251
  constructor(t, r, n) {
252
252
  super();
253
253
  /** The Svelte component constructor */
@@ -284,31 +284,31 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
284
284
  }
285
285
  }
286
286
  connectedCallback() {
287
- return ot(this, null, function* () {
287
+ return et(this, null, function* () {
288
288
  if (this.$$cn = !0, !this.$$c) {
289
289
  let t = function(o) {
290
290
  return () => {
291
291
  let s;
292
292
  return {
293
293
  c: function() {
294
- s = I("slot"), o !== "default" && H(s, "name", o);
294
+ s = O("slot"), o !== "default" && H(s, "name", o);
295
295
  },
296
296
  /**
297
297
  * @param {HTMLElement} target
298
298
  * @param {HTMLElement} [anchor]
299
299
  */
300
300
  m: function(u, l) {
301
- oe(u, s, l);
301
+ se(u, s, l);
302
302
  },
303
303
  d: function(u) {
304
- u && Z(s);
304
+ u && Q(s);
305
305
  }
306
306
  };
307
307
  };
308
308
  };
309
309
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
310
310
  return;
311
- const r = {}, n = wr(this);
311
+ const r = {}, n = Er(this);
312
312
  for (const o of this.$$s)
313
313
  o in n && (r[o] = [t(o)]);
314
314
  for (const o of this.attributes) {
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
319
319
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
320
320
  this.$$c = new this.$$ctor({
321
321
  target: this.shadowRoot || this,
322
- props: it(nt({}, this.$$d), {
322
+ props: Ke(qe({}, this.$$d), {
323
323
  $$slots: r,
324
324
  $$scope: {
325
325
  ctx: []
@@ -397,8 +397,8 @@ function ce(e, t, r, n) {
397
397
  return t;
398
398
  }
399
399
  }
400
- function Dr(e, t, r, n, i, o) {
401
- let s = class extends $t {
400
+ function Cr(e, t, r, n, i, o) {
401
+ let s = class extends It {
402
402
  constructor() {
403
403
  super(e, r, i), this.$$p_d = t;
404
404
  }
@@ -428,7 +428,7 @@ function Dr(e, t, r, n, i, o) {
428
428
  }), e.element = /** @type {any} */
429
429
  s, s;
430
430
  }
431
- class Fr {
431
+ class $r {
432
432
  constructor() {
433
433
  /**
434
434
  * ### PRIVATE API
@@ -449,7 +449,7 @@ class Fr {
449
449
  }
450
450
  /** @returns {void} */
451
451
  $destroy() {
452
- Rr(this, 1), this.$destroy = w;
452
+ Lr(this, 1), this.$destroy = w;
453
453
  }
454
454
  /**
455
455
  * @template {Extract<keyof Events, string>} K
@@ -458,7 +458,7 @@ class Fr {
458
458
  * @returns {() => void}
459
459
  */
460
460
  $on(t, r) {
461
- if (!Ke(r))
461
+ if (!Ze(r))
462
462
  return w;
463
463
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
464
464
  return n.push(r), () => {
@@ -471,11 +471,11 @@ class Fr {
471
471
  * @returns {void}
472
472
  */
473
473
  $set(t) {
474
- this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
474
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
475
  }
476
476
  }
477
- const jr = "4";
478
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
477
+ const Rr = "4";
478
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
479
479
  /*! *****************************************************************************
480
480
  Copyright (c) Microsoft Corporation.
481
481
 
@@ -490,24 +490,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
490
490
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
491
491
  PERFORMANCE OF THIS SOFTWARE.
492
492
  ***************************************************************************** */
493
- var Ue = function(e, t) {
494
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
493
+ var Ce = function(e, t) {
494
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
495
495
  r.__proto__ = n;
496
496
  } || function(r, n) {
497
497
  for (var i in n)
498
498
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
499
- }, Ue(e, t);
499
+ }, Ce(e, t);
500
500
  };
501
- function se(e, t) {
501
+ function L(e, t) {
502
502
  if (typeof t != "function" && t !== null)
503
503
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
504
- Ue(e, t);
504
+ Ce(e, t);
505
505
  function r() {
506
506
  this.constructor = e;
507
507
  }
508
508
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
509
509
  }
510
- function Ge(e) {
510
+ var g = function() {
511
+ return g = Object.assign || function(t) {
512
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
513
+ r = arguments[n];
514
+ for (var o in r)
515
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
516
+ }
517
+ return t;
518
+ }, g.apply(this, arguments);
519
+ };
520
+ function Ur(e, t) {
521
+ var r = {};
522
+ for (var n in e)
523
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
524
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
525
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
526
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
527
+ return r;
528
+ }
529
+ function $e(e) {
511
530
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
512
531
  if (r)
513
532
  return r.call(e);
@@ -519,7 +538,7 @@ function Ge(e) {
519
538
  };
520
539
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
521
540
  }
522
- function De(e, t) {
541
+ function Re(e, t) {
523
542
  var r = typeof Symbol == "function" && e[Symbol.iterator];
524
543
  if (!r)
525
544
  return e;
@@ -539,22 +558,22 @@ function De(e, t) {
539
558
  }
540
559
  return o;
541
560
  }
542
- function Fe(e, t, r) {
543
- if (arguments.length === 2)
561
+ function V(e, t, r) {
562
+ if (r || arguments.length === 2)
544
563
  for (var n = 0, i = t.length, o; n < i; n++)
545
564
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
546
565
  return e.concat(o || t);
547
566
  }
548
- function L(e) {
567
+ function I(e) {
549
568
  return typeof e == "function";
550
569
  }
551
- function Rt(e) {
570
+ function Lt(e) {
552
571
  var t = function(n) {
553
572
  Error.call(n), n.stack = new Error().stack;
554
573
  }, r = e(t);
555
574
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
556
575
  }
557
- var Ae = Rt(function(e) {
576
+ var Be = Lt(function(e) {
558
577
  return function(r) {
559
578
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
560
579
  ` + r.map(function(n, i) {
@@ -563,13 +582,13 @@ var Ae = Rt(function(e) {
563
582
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
564
583
  };
565
584
  });
566
- function je(e, t) {
585
+ function Ue(e, t) {
567
586
  if (e) {
568
587
  var r = e.indexOf(t);
569
588
  0 <= r && e.splice(r, 1);
570
589
  }
571
590
  }
572
- var ve = function() {
591
+ var ye = function() {
573
592
  function e(t) {
574
593
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
575
594
  }
@@ -581,12 +600,12 @@ var ve = function() {
581
600
  if (s)
582
601
  if (this._parentage = null, Array.isArray(s))
583
602
  try {
584
- for (var a = Ge(s), h = a.next(); !h.done; h = a.next()) {
603
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
585
604
  var u = h.value;
586
605
  u.remove(this);
587
606
  }
588
- } catch (y) {
589
- t = { error: y };
607
+ } catch (v) {
608
+ t = { error: v };
590
609
  } finally {
591
610
  try {
592
611
  h && !h.done && (r = a.return) && r.call(a);
@@ -598,26 +617,26 @@ var ve = function() {
598
617
  else
599
618
  s.remove(this);
600
619
  var l = this.initialTeardown;
601
- if (L(l))
620
+ if (I(l))
602
621
  try {
603
622
  l();
604
- } catch (y) {
605
- o = y instanceof Ae ? y.errors : [y];
623
+ } catch (v) {
624
+ o = v instanceof Be ? v.errors : [v];
606
625
  }
607
626
  var f = this._finalizers;
608
627
  if (f) {
609
628
  this._finalizers = null;
610
629
  try {
611
- for (var c = Ge(f), p = c.next(); !p.done; p = c.next()) {
630
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
612
631
  var d = p.value;
613
632
  try {
614
- ut(d);
615
- } catch (y) {
616
- o = o != null ? o : [], y instanceof Ae ? o = Fe(Fe([], De(o)), De(y.errors)) : o.push(y);
633
+ nt(d);
634
+ } catch (v) {
635
+ o = o != null ? o : [], v instanceof Be ? o = V(V([], Re(o)), Re(v.errors)) : o.push(v);
617
636
  }
618
637
  }
619
- } catch (y) {
620
- n = { error: y };
638
+ } catch (v) {
639
+ n = { error: v };
621
640
  } finally {
622
641
  try {
623
642
  p && !p.done && (i = c.return) && i.call(c);
@@ -628,13 +647,13 @@ var ve = function() {
628
647
  }
629
648
  }
630
649
  if (o)
631
- throw new Ae(o);
650
+ throw new Be(o);
632
651
  }
633
652
  }, e.prototype.add = function(t) {
634
653
  var r;
635
654
  if (t && t !== this)
636
655
  if (this.closed)
637
- ut(t);
656
+ nt(t);
638
657
  else {
639
658
  if (t instanceof e) {
640
659
  if (t.closed || t._hasParent(this))
@@ -651,52 +670,52 @@ var ve = function() {
651
670
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
652
671
  }, e.prototype._removeParent = function(t) {
653
672
  var r = this._parentage;
654
- r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
673
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
655
674
  }, e.prototype.remove = function(t) {
656
675
  var r = this._finalizers;
657
- r && je(r, t), t instanceof e && t._removeParent(this);
676
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
658
677
  }, e.EMPTY = function() {
659
678
  var t = new e();
660
679
  return t.closed = !0, t;
661
680
  }(), e;
662
- }(), Ut = ve.EMPTY;
663
- function Gt(e) {
664
- return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
681
+ }(), Nt = ye.EMPTY;
682
+ function Mt(e) {
683
+ return e instanceof ye || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
665
684
  }
666
- function ut(e) {
667
- L(e) ? e() : e.unsubscribe();
685
+ function nt(e) {
686
+ I(e) ? e() : e.unsubscribe();
668
687
  }
669
- var kr = {
688
+ var Gr = {
670
689
  Promise: void 0
671
- }, Vr = {
690
+ }, Dr = {
672
691
  setTimeout: function(e, t) {
673
692
  for (var r = [], n = 2; n < arguments.length; n++)
674
693
  r[n - 2] = arguments[n];
675
- return setTimeout.apply(void 0, Fe([e, t], De(r)));
694
+ return setTimeout.apply(void 0, V([e, t], Re(r)));
676
695
  },
677
696
  clearTimeout: function(e) {
678
697
  return clearTimeout(e);
679
698
  },
680
699
  delegate: void 0
681
700
  };
682
- function Xr(e) {
683
- Vr.setTimeout(function() {
701
+ function Fr(e) {
702
+ Dr.setTimeout(function() {
684
703
  throw e;
685
704
  });
686
705
  }
687
- function ht() {
706
+ function it() {
688
707
  }
689
708
  function fe(e) {
690
709
  e();
691
710
  }
692
- var Dt = function(e) {
693
- se(t, e);
711
+ var Ct = function(e) {
712
+ L(t, e);
694
713
  function t(r) {
695
714
  var n = e.call(this) || this;
696
- return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = Zr, n;
715
+ return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Vr, n;
697
716
  }
698
717
  return t.create = function(r, n, i) {
699
- return new ke(r, n, i);
718
+ return new Ge(r, n, i);
700
719
  }, t.prototype.next = function(r) {
701
720
  this.isStopped || this._next(r);
702
721
  }, t.prototype.error = function(r) {
@@ -720,7 +739,7 @@ var Dt = function(e) {
720
739
  this.unsubscribe();
721
740
  }
722
741
  }, t;
723
- }(ve), Wr = function() {
742
+ }(ye), jr = function() {
724
743
  function e(t) {
725
744
  this.partialObserver = t;
726
745
  }
@@ -751,43 +770,43 @@ var Dt = function(e) {
751
770
  he(r);
752
771
  }
753
772
  }, e;
754
- }(), ke = function(e) {
755
- se(t, e);
773
+ }(), Ge = function(e) {
774
+ L(t, e);
756
775
  function t(r, n, i) {
757
776
  var o = e.call(this) || this, s;
758
- return L(r) || !r ? s = {
777
+ return I(r) || !r ? s = {
759
778
  next: r != null ? r : void 0,
760
779
  error: n != null ? n : void 0,
761
780
  complete: i != null ? i : void 0
762
- } : s = r, o.destination = new Wr(s), o;
781
+ } : s = r, o.destination = new jr(s), o;
763
782
  }
764
783
  return t;
765
- }(Dt);
784
+ }(Ct);
766
785
  function he(e) {
767
- Xr(e);
786
+ Fr(e);
768
787
  }
769
- function zr(e) {
788
+ function kr(e) {
770
789
  throw e;
771
790
  }
772
- var Zr = {
791
+ var Vr = {
773
792
  closed: !0,
774
- next: ht,
775
- error: zr,
776
- complete: ht
777
- }, Qr = function() {
793
+ next: it,
794
+ error: kr,
795
+ complete: it
796
+ }, Xr = function() {
778
797
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
779
798
  }();
780
- function Jr(e) {
799
+ function Wr(e) {
781
800
  return e;
782
801
  }
783
- function Yr(e) {
784
- return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
802
+ function zr(e) {
803
+ return e.length === 0 ? Wr : e.length === 1 ? e[0] : function(r) {
785
804
  return e.reduce(function(n, i) {
786
805
  return i(n);
787
806
  }, r);
788
807
  };
789
808
  }
790
- var lt = function() {
809
+ var ot = function() {
791
810
  function e(t) {
792
811
  t && (this._subscribe = t);
793
812
  }
@@ -795,7 +814,7 @@ var lt = function() {
795
814
  var r = new e();
796
815
  return r.source = this, r.operator = t, r;
797
816
  }, e.prototype.subscribe = function(t, r, n) {
798
- var i = this, o = Kr(t) ? t : new ke(t, r, n);
817
+ var i = this, o = Qr(t) ? t : new Ge(t, r, n);
799
818
  return fe(function() {
800
819
  var s = i, a = s.operator, h = s.source;
801
820
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -808,8 +827,8 @@ var lt = function() {
808
827
  }
809
828
  }, e.prototype.forEach = function(t, r) {
810
829
  var n = this;
811
- return r = ct(r), new r(function(i, o) {
812
- var s = new ke({
830
+ return r = st(r), new r(function(i, o) {
831
+ var s = new Ge({
813
832
  next: function(a) {
814
833
  try {
815
834
  t(a);
@@ -825,15 +844,15 @@ var lt = function() {
825
844
  }, e.prototype._subscribe = function(t) {
826
845
  var r;
827
846
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
828
- }, e.prototype[Qr] = function() {
847
+ }, e.prototype[Xr] = function() {
829
848
  return this;
830
849
  }, e.prototype.pipe = function() {
831
850
  for (var t = [], r = 0; r < arguments.length; r++)
832
851
  t[r] = arguments[r];
833
- return Yr(t)(this);
852
+ return zr(t)(this);
834
853
  }, e.prototype.toPromise = function(t) {
835
854
  var r = this;
836
- return t = ct(t), new t(function(n, i) {
855
+ return t = st(t), new t(function(n, i) {
837
856
  var o;
838
857
  r.subscribe(function(s) {
839
858
  return o = s;
@@ -847,32 +866,32 @@ var lt = function() {
847
866
  return new e(t);
848
867
  }, e;
849
868
  }();
850
- function ct(e) {
869
+ function st(e) {
851
870
  var t;
852
- return (t = e != null ? e : kr.Promise) !== null && t !== void 0 ? t : Promise;
871
+ return (t = e != null ? e : Gr.Promise) !== null && t !== void 0 ? t : Promise;
853
872
  }
854
- function qr(e) {
855
- return e && L(e.next) && L(e.error) && L(e.complete);
873
+ function Zr(e) {
874
+ return e && I(e.next) && I(e.error) && I(e.complete);
856
875
  }
857
- function Kr(e) {
858
- return e && e instanceof Dt || qr(e) && Gt(e);
876
+ function Qr(e) {
877
+ return e && e instanceof Ct || Zr(e) && Mt(e);
859
878
  }
860
- var en = Rt(function(e) {
879
+ var Jr = Lt(function(e) {
861
880
  return function() {
862
881
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
863
882
  };
864
- }), Ft = function(e) {
865
- se(t, e);
883
+ }), $t = function(e) {
884
+ L(t, e);
866
885
  function t() {
867
886
  var r = e.call(this) || this;
868
887
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
869
888
  }
870
889
  return t.prototype.lift = function(r) {
871
- var n = new ft(this, this);
890
+ var n = new at(this, this);
872
891
  return n.operator = r, n;
873
892
  }, t.prototype._throwIfClosed = function() {
874
893
  if (this.closed)
875
- throw new en();
894
+ throw new Jr();
876
895
  }, t.prototype.next = function(r) {
877
896
  var n = this;
878
897
  fe(function() {
@@ -880,7 +899,7 @@ var en = Rt(function(e) {
880
899
  if (n._throwIfClosed(), !n.isStopped) {
881
900
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
882
901
  try {
883
- for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
902
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
884
903
  var h = a.value;
885
904
  h.next(r);
886
905
  }
@@ -929,20 +948,20 @@ var en = Rt(function(e) {
929
948
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
930
949
  }, t.prototype._innerSubscribe = function(r) {
931
950
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
932
- return o || s ? Ut : (this.currentObservers = null, a.push(r), new ve(function() {
933
- n.currentObservers = null, je(a, r);
951
+ return o || s ? Nt : (this.currentObservers = null, a.push(r), new ye(function() {
952
+ n.currentObservers = null, Ue(a, r);
934
953
  }));
935
954
  }, t.prototype._checkFinalizedStatuses = function(r) {
936
955
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
937
956
  i ? r.error(o) : s && r.complete();
938
957
  }, t.prototype.asObservable = function() {
939
- var r = new lt();
958
+ var r = new ot();
940
959
  return r.source = this, r;
941
960
  }, t.create = function(r, n) {
942
- return new ft(r, n);
961
+ return new at(r, n);
943
962
  }, t;
944
- }(lt), ft = function(e) {
945
- se(t, e);
963
+ }(ot), at = function(e) {
964
+ L(t, e);
946
965
  function t(r, n) {
947
966
  var i = e.call(this) || this;
948
967
  return i.destination = r, i.source = n, i;
@@ -958,17 +977,17 @@ var en = Rt(function(e) {
958
977
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
959
978
  }, t.prototype._subscribe = function(r) {
960
979
  var n, i;
961
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ut;
980
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
962
981
  }, t;
963
- }(Ft), jt = {
982
+ }($t), Rt = {
964
983
  now: function() {
965
- return (jt.delegate || Date).now();
984
+ return (Rt.delegate || Date).now();
966
985
  },
967
986
  delegate: void 0
968
- }, tn = function(e) {
969
- se(t, e);
987
+ }, Yr = function(e) {
988
+ L(t, e);
970
989
  function t(r, n, i) {
971
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
990
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
972
991
  var o = e.call(this) || this;
973
992
  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;
974
993
  }
@@ -988,24 +1007,24 @@ var en = Rt(function(e) {
988
1007
  u && o.splice(0, u + 1);
989
1008
  }
990
1009
  }, t;
991
- }(Ft);
992
- const pt = [], dt = {}, rn = (e, t = 0) => {
993
- if (pt.indexOf(e) == -1) {
994
- const r = new tn(t);
995
- dt[e] = r, pt.push(e);
1010
+ }($t);
1011
+ const ut = [], ht = {}, qr = (e, t = 0) => {
1012
+ if (ut.indexOf(e) == -1) {
1013
+ const r = new Yr(t);
1014
+ ht[e] = r, ut.push(e);
996
1015
  }
997
- return dt[e];
1016
+ return ht[e];
998
1017
  }, F = [];
999
- function nn(e, t) {
1018
+ function Kr(e, t) {
1000
1019
  return {
1001
- subscribe: _e(e, t).subscribe
1020
+ subscribe: ve(e, t).subscribe
1002
1021
  };
1003
1022
  }
1004
- function _e(e, t = w) {
1023
+ function ve(e, t = w) {
1005
1024
  let r;
1006
1025
  const n = /* @__PURE__ */ new Set();
1007
1026
  function i(a) {
1008
- if (Lt(e, a) && (e = a, r)) {
1027
+ if (wt(e, a) && (e = a, r)) {
1009
1028
  const h = !F.length;
1010
1029
  for (const u of n)
1011
1030
  u[1](), F.push(u, e);
@@ -1027,12 +1046,12 @@ function _e(e, t = w) {
1027
1046
  }
1028
1047
  return { set: i, update: o, subscribe: s };
1029
1048
  }
1030
- function Q(e, t, r) {
1049
+ function J(e, t, r) {
1031
1050
  const n = !Array.isArray(e), i = n ? [e] : e;
1032
1051
  if (!i.every(Boolean))
1033
1052
  throw new Error("derived() expects stores as input, got a falsy value");
1034
1053
  const o = t.length < 2;
1035
- return nn(r, (s, a) => {
1054
+ return Kr(r, (s, a) => {
1036
1055
  let h = !1;
1037
1056
  const u = [];
1038
1057
  let l = 0, f = w;
@@ -1041,170 +1060,128 @@ function Q(e, t, r) {
1041
1060
  return;
1042
1061
  f();
1043
1062
  const d = t(n ? u[0] : u, s, a);
1044
- o ? s(d) : f = Ke(d) ? d : w;
1063
+ o ? s(d) : f = Ze(d) ? d : w;
1045
1064
  }, p = i.map(
1046
- (d, y) => Nt(
1065
+ (d, v) => At(
1047
1066
  d,
1048
1067
  (B) => {
1049
- u[y] = B, l &= ~(1 << y), h && c();
1068
+ u[v] = B, l &= ~(1 << v), h && c();
1050
1069
  },
1051
1070
  () => {
1052
- l |= 1 << y;
1071
+ l |= 1 << v;
1053
1072
  }
1054
1073
  )
1055
1074
  );
1056
1075
  return h = !0, c(), function() {
1057
- ie(p), f(), h = !1;
1076
+ oe(p), f(), h = !1;
1058
1077
  };
1059
1078
  });
1060
1079
  }
1061
- function on(e) {
1080
+ function en(e) {
1062
1081
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1063
1082
  }
1064
- var sn = function(t) {
1065
- return an(t) && !un(t);
1083
+ var tn = function(t) {
1084
+ return rn(t) && !nn(t);
1066
1085
  };
1067
- function an(e) {
1086
+ function rn(e) {
1068
1087
  return !!e && typeof e == "object";
1069
1088
  }
1070
- function un(e) {
1089
+ function nn(e) {
1071
1090
  var t = Object.prototype.toString.call(e);
1072
- return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1091
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1073
1092
  }
1074
- var hn = typeof Symbol == "function" && Symbol.for, ln = hn ? Symbol.for("react.element") : 60103;
1075
- function cn(e) {
1076
- return e.$$typeof === ln;
1093
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1094
+ function an(e) {
1095
+ return e.$$typeof === sn;
1077
1096
  }
1078
- function fn(e) {
1097
+ function un(e) {
1079
1098
  return Array.isArray(e) ? [] : {};
1080
1099
  }
1081
- function re(e, t) {
1082
- return t.clone !== !1 && t.isMergeableObject(e) ? V(fn(e), e, t) : e;
1100
+ function ne(e, t) {
1101
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(un(e), e, t) : e;
1083
1102
  }
1084
- function pn(e, t, r) {
1103
+ function hn(e, t, r) {
1085
1104
  return e.concat(t).map(function(n) {
1086
- return re(n, r);
1105
+ return ne(n, r);
1087
1106
  });
1088
1107
  }
1089
- function dn(e, t) {
1108
+ function ln(e, t) {
1090
1109
  if (!t.customMerge)
1091
- return V;
1110
+ return X;
1092
1111
  var r = t.customMerge(e);
1093
- return typeof r == "function" ? r : V;
1112
+ return typeof r == "function" ? r : X;
1094
1113
  }
1095
- function mn(e) {
1114
+ function cn(e) {
1096
1115
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1097
1116
  return Object.propertyIsEnumerable.call(e, t);
1098
1117
  }) : [];
1099
1118
  }
1100
- function mt(e) {
1101
- return Object.keys(e).concat(mn(e));
1119
+ function lt(e) {
1120
+ return Object.keys(e).concat(cn(e));
1102
1121
  }
1103
- function kt(e, t) {
1122
+ function Ut(e, t) {
1104
1123
  try {
1105
1124
  return t in e;
1106
1125
  } catch (r) {
1107
1126
  return !1;
1108
1127
  }
1109
1128
  }
1110
- function bn(e, t) {
1111
- return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1129
+ function fn(e, t) {
1130
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1112
1131
  }
1113
- function gn(e, t, r) {
1132
+ function pn(e, t, r) {
1114
1133
  var n = {};
1115
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1116
- n[i] = re(e[i], r);
1117
- }), mt(t).forEach(function(i) {
1118
- bn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1134
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1135
+ n[i] = ne(e[i], r);
1136
+ }), lt(t).forEach(function(i) {
1137
+ fn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1119
1138
  }), n;
1120
1139
  }
1121
- function V(e, t, r) {
1122
- r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = re;
1140
+ function X(e, t, r) {
1141
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ne;
1123
1142
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1124
- return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : re(t, r);
1143
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ne(t, r);
1125
1144
  }
1126
- V.all = function(t, r) {
1145
+ X.all = function(t, r) {
1127
1146
  if (!Array.isArray(t))
1128
1147
  throw new Error("first argument should be an array");
1129
1148
  return t.reduce(function(n, i) {
1130
- return V(n, i, r);
1149
+ return X(n, i, r);
1131
1150
  }, {});
1132
1151
  };
1133
- var yn = V, vn = yn;
1134
- const _n = /* @__PURE__ */ on(vn);
1135
- var Ve = function(e, t) {
1136
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1137
- r.__proto__ = n;
1138
- } || function(r, n) {
1139
- for (var i in n)
1140
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1141
- }, Ve(e, t);
1142
- };
1143
- function Ee(e, t) {
1144
- if (typeof t != "function" && t !== null)
1145
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1146
- Ve(e, t);
1147
- function r() {
1148
- this.constructor = e;
1149
- }
1150
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1151
- }
1152
- var P = function() {
1153
- return P = Object.assign || function(t) {
1154
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1155
- r = arguments[n];
1156
- for (var o in r)
1157
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1158
- }
1159
- return t;
1160
- }, P.apply(this, arguments);
1161
- };
1162
- function En(e, t) {
1163
- var r = {};
1164
- for (var n in e)
1165
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1166
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1167
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1168
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1169
- return r;
1170
- }
1171
- function Pe(e, t, r) {
1172
- if (r || arguments.length === 2)
1173
- for (var n = 0, i = t.length, o; n < i; n++)
1174
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1175
- return e.concat(o || Array.prototype.slice.call(t));
1176
- }
1177
- function Oe(e, t) {
1178
- var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
1152
+ var dn = X, mn = dn;
1153
+ const bn = /* @__PURE__ */ en(mn);
1154
+ function we(e, t) {
1155
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
1179
1156
  return i(e, {
1180
1157
  cache: r,
1181
1158
  serializer: n
1182
1159
  });
1183
1160
  }
1184
- function xn(e) {
1161
+ function gn(e) {
1185
1162
  return e == null || typeof e == "number" || typeof e == "boolean";
1186
1163
  }
1187
- function Sn(e, t, r, n) {
1188
- var i = xn(n) ? n : r(n), o = t.get(i);
1164
+ function yn(e, t, r, n) {
1165
+ var i = gn(n) ? n : r(n), o = t.get(i);
1189
1166
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1190
1167
  }
1191
- function Vt(e, t, r) {
1168
+ function Gt(e, t, r) {
1192
1169
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1193
1170
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1194
1171
  }
1195
- function Xt(e, t, r, n, i) {
1172
+ function Dt(e, t, r, n, i) {
1196
1173
  return r.bind(t, e, n, i);
1197
1174
  }
1198
- function Tn(e, t) {
1199
- var r = e.length === 1 ? Sn : Vt;
1200
- return Xt(e, this, r, t.cache.create(), t.serializer);
1175
+ function vn(e, t) {
1176
+ var r = e.length === 1 ? yn : Gt;
1177
+ return Dt(e, this, r, t.cache.create(), t.serializer);
1201
1178
  }
1202
- function Hn(e, t) {
1203
- return Xt(e, this, Vt, t.cache.create(), t.serializer);
1179
+ function _n(e, t) {
1180
+ return Dt(e, this, Gt, t.cache.create(), t.serializer);
1204
1181
  }
1205
- var Bn = function() {
1182
+ var xn = function() {
1206
1183
  return JSON.stringify(arguments);
1207
- }, wn = (
1184
+ }, En = (
1208
1185
  /** @class */
1209
1186
  function() {
1210
1187
  function e() {
@@ -1216,71 +1193,61 @@ var Bn = function() {
1216
1193
  this.cache[t] = r;
1217
1194
  }, e;
1218
1195
  }()
1219
- ), An = {
1196
+ ), Sn = {
1220
1197
  create: function() {
1221
- return new wn();
1198
+ return new En();
1222
1199
  }
1223
- }, Ie = {
1224
- variadic: Hn
1225
- }, me = function() {
1226
- return me = Object.assign || function(t) {
1227
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1228
- r = arguments[n];
1229
- for (var o in r)
1230
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1231
- }
1232
- return t;
1233
- }, me.apply(this, arguments);
1234
- };
1235
- var m;
1200
+ }, Ae = {
1201
+ variadic: _n
1202
+ }, m;
1236
1203
  (function(e) {
1237
1204
  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";
1238
1205
  })(m || (m = {}));
1239
- var v;
1206
+ var _;
1240
1207
  (function(e) {
1241
1208
  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";
1242
- })(v || (v = {}));
1243
- var X;
1209
+ })(_ || (_ = {}));
1210
+ var W;
1244
1211
  (function(e) {
1245
1212
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1246
- })(X || (X = {}));
1247
- function bt(e) {
1248
- return e.type === v.literal;
1213
+ })(W || (W = {}));
1214
+ function ct(e) {
1215
+ return e.type === _.literal;
1249
1216
  }
1250
- function Pn(e) {
1251
- return e.type === v.argument;
1217
+ function Tn(e) {
1218
+ return e.type === _.argument;
1252
1219
  }
1253
- function Wt(e) {
1254
- return e.type === v.number;
1220
+ function Ft(e) {
1221
+ return e.type === _.number;
1255
1222
  }
1256
- function zt(e) {
1257
- return e.type === v.date;
1223
+ function jt(e) {
1224
+ return e.type === _.date;
1258
1225
  }
1259
- function Zt(e) {
1260
- return e.type === v.time;
1226
+ function kt(e) {
1227
+ return e.type === _.time;
1261
1228
  }
1262
- function Qt(e) {
1263
- return e.type === v.select;
1229
+ function Vt(e) {
1230
+ return e.type === _.select;
1264
1231
  }
1265
- function Jt(e) {
1266
- return e.type === v.plural;
1232
+ function Xt(e) {
1233
+ return e.type === _.plural;
1267
1234
  }
1268
- function On(e) {
1269
- return e.type === v.pound;
1235
+ function Hn(e) {
1236
+ return e.type === _.pound;
1270
1237
  }
1271
- function Yt(e) {
1272
- return e.type === v.tag;
1238
+ function Wt(e) {
1239
+ return e.type === _.tag;
1273
1240
  }
1274
- function qt(e) {
1275
- return !!(e && typeof e == "object" && e.type === X.number);
1241
+ function zt(e) {
1242
+ return !!(e && typeof e == "object" && e.type === W.number);
1276
1243
  }
1277
- function Xe(e) {
1278
- return !!(e && typeof e == "object" && e.type === X.dateTime);
1244
+ function De(e) {
1245
+ return !!(e && typeof e == "object" && e.type === W.dateTime);
1279
1246
  }
1280
- var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
1281
- function Ln(e) {
1247
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1248
+ function wn(e) {
1282
1249
  var t = {};
1283
- return e.replace(In, function(r) {
1250
+ return e.replace(Bn, function(r) {
1284
1251
  var n = r.length;
1285
1252
  switch (r[0]) {
1286
1253
  case "G":
@@ -1369,21 +1336,11 @@ function Ln(e) {
1369
1336
  return "";
1370
1337
  }), t;
1371
1338
  }
1372
- var _ = function() {
1373
- return _ = Object.assign || function(t) {
1374
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1375
- r = arguments[n];
1376
- for (var o in r)
1377
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1378
- }
1379
- return t;
1380
- }, _.apply(this, arguments);
1381
- };
1382
- var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1383
- function Mn(e) {
1339
+ var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1340
+ function Pn(e) {
1384
1341
  if (e.length === 0)
1385
1342
  throw new Error("Number skeleton cannot be empty");
1386
- for (var t = e.split(Nn).filter(function(c) {
1343
+ for (var t = e.split(An).filter(function(c) {
1387
1344
  return c.length > 0;
1388
1345
  }), r = [], n = 0, i = t; n < i.length; n++) {
1389
1346
  var o = i[n], s = o.split("/");
@@ -1398,17 +1355,17 @@ function Mn(e) {
1398
1355
  }
1399
1356
  return r;
1400
1357
  }
1401
- function Cn(e) {
1358
+ function On(e) {
1402
1359
  return e.replace(/^(.*?)-/, "");
1403
1360
  }
1404
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1405
- function yt(e) {
1361
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1362
+ function pt(e) {
1406
1363
  var t = {};
1407
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1364
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1408
1365
  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)), "";
1409
1366
  }), t;
1410
1367
  }
1411
- function rr(e) {
1368
+ function Yt(e) {
1412
1369
  switch (e) {
1413
1370
  case "sign-auto":
1414
1371
  return {
@@ -1448,7 +1405,7 @@ function rr(e) {
1448
1405
  };
1449
1406
  }
1450
1407
  }
1451
- function Rn(e) {
1408
+ function Ln(e) {
1452
1409
  var t;
1453
1410
  if (e[0] === "E" && e[1] === "E" ? (t = {
1454
1411
  notation: "engineering"
@@ -1456,17 +1413,17 @@ function Rn(e) {
1456
1413
  notation: "scientific"
1457
1414
  }, e = e.slice(1)), t) {
1458
1415
  var r = e.slice(0, 2);
1459
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1416
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1460
1417
  throw new Error("Malformed concise eng/scientific notation");
1461
1418
  t.minimumIntegerDigits = e.length;
1462
1419
  }
1463
1420
  return t;
1464
1421
  }
1465
- function vt(e) {
1466
- var t = {}, r = rr(e);
1422
+ function dt(e) {
1423
+ var t = {}, r = Yt(e);
1467
1424
  return r || t;
1468
1425
  }
1469
- function Un(e) {
1426
+ function Nn(e) {
1470
1427
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1471
1428
  var i = n[r];
1472
1429
  switch (i.stem) {
@@ -1490,7 +1447,7 @@ function Un(e) {
1490
1447
  continue;
1491
1448
  case "measure-unit":
1492
1449
  case "unit":
1493
- t.style = "unit", t.unit = Cn(i.options[0]);
1450
+ t.style = "unit", t.unit = On(i.options[0]);
1494
1451
  continue;
1495
1452
  case "compact-short":
1496
1453
  case "K":
@@ -1501,13 +1458,13 @@ function Un(e) {
1501
1458
  t.notation = "compact", t.compactDisplay = "long";
1502
1459
  continue;
1503
1460
  case "scientific":
1504
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1505
- return _(_({}, h), vt(u));
1461
+ t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1462
+ return g(g({}, h), dt(u));
1506
1463
  }, {}));
1507
1464
  continue;
1508
1465
  case "engineering":
1509
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1510
- return _(_({}, h), vt(u));
1466
+ t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1467
+ return g(g({}, h), dt(u));
1511
1468
  }, {}));
1512
1469
  continue;
1513
1470
  case "notation-simple":
@@ -1552,7 +1509,7 @@ function Un(e) {
1552
1509
  case "integer-width":
1553
1510
  if (i.options.length > 1)
1554
1511
  throw new RangeError("integer-width stems only accept a single optional option");
1555
- i.options[0].replace($n, function(h, u, l, f, c, p) {
1512
+ i.options[0].replace(In, function(h, u, l, f, c, p) {
1556
1513
  if (u)
1557
1514
  t.minimumIntegerDigits = l.length;
1558
1515
  else {
@@ -1565,28 +1522,28 @@ function Un(e) {
1565
1522
  });
1566
1523
  continue;
1567
1524
  }
1568
- if (tr.test(i.stem)) {
1525
+ if (Jt.test(i.stem)) {
1569
1526
  t.minimumIntegerDigits = i.stem.length;
1570
1527
  continue;
1571
1528
  }
1572
- if (gt.test(i.stem)) {
1529
+ if (ft.test(i.stem)) {
1573
1530
  if (i.options.length > 1)
1574
1531
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1575
- i.stem.replace(gt, function(h, u, l, f, c, p) {
1532
+ i.stem.replace(ft, function(h, u, l, f, c, p) {
1576
1533
  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), "";
1577
1534
  });
1578
1535
  var o = i.options[0];
1579
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1536
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), pt(o)));
1580
1537
  continue;
1581
1538
  }
1582
- if (er.test(i.stem)) {
1583
- t = _(_({}, t), yt(i.stem));
1539
+ if (Qt.test(i.stem)) {
1540
+ t = g(g({}, t), pt(i.stem));
1584
1541
  continue;
1585
1542
  }
1586
- var s = rr(i.stem);
1587
- s && (t = _(_({}, t), s));
1588
- var a = Rn(i.stem);
1589
- a && (t = _(_({}, t), a));
1543
+ var s = Yt(i.stem);
1544
+ s && (t = g(g({}, t), s));
1545
+ var a = Ln(i.stem);
1546
+ a && (t = g(g({}, t), a));
1590
1547
  }
1591
1548
  return t;
1592
1549
  }
@@ -3005,13 +2962,13 @@ var le = {
3005
2962
  "h"
3006
2963
  ]
3007
2964
  };
3008
- function Gn(e, t) {
2965
+ function Mn(e, t) {
3009
2966
  for (var r = "", n = 0; n < e.length; n++) {
3010
2967
  var i = e.charAt(n);
3011
2968
  if (i === "j") {
3012
2969
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3013
2970
  o++, n++;
3014
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Dn(t);
2971
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
3015
2972
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3016
2973
  r += h;
3017
2974
  for (; s-- > 0; )
@@ -3021,7 +2978,7 @@ function Gn(e, t) {
3021
2978
  }
3022
2979
  return r;
3023
2980
  }
3024
- function Dn(e) {
2981
+ function Cn(e) {
3025
2982
  var t = e.hourCycle;
3026
2983
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3027
2984
  e.hourCycles && // @ts-ignore
@@ -3043,20 +3000,20 @@ function Dn(e) {
3043
3000
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3044
3001
  return i[0];
3045
3002
  }
3046
- var Le, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3003
+ var Pe, $n = new RegExp("^".concat(Zt.source, "*")), Rn = new RegExp("".concat(Zt.source, "*$"));
3047
3004
  function b(e, t) {
3048
3005
  return { start: e, end: t };
3049
3006
  }
3050
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
3007
+ var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
3051
3008
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3052
- }, We = !0;
3009
+ }, Fe = !0;
3053
3010
  try {
3054
- var Yn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3055
- We = ((Le = Yn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
3011
+ var Wn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3012
+ Fe = ((Pe = Wn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3056
3013
  } catch (e) {
3057
- We = !1;
3014
+ Fe = !1;
3058
3015
  }
3059
- var _t = kn ? (
3016
+ var mt = Un ? (
3060
3017
  // Native
3061
3018
  function(t, r, n) {
3062
3019
  return t.startsWith(r, n);
@@ -3066,7 +3023,7 @@ var _t = kn ? (
3066
3023
  function(t, r, n) {
3067
3024
  return t.slice(n, n + r.length) === r;
3068
3025
  }
3069
- ), ze = Vn ? String.fromCodePoint : (
3026
+ ), je = Gn ? String.fromCodePoint : (
3070
3027
  // IE11
3071
3028
  function() {
3072
3029
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3078,9 +3035,9 @@ var _t = kn ? (
3078
3035
  }
3079
3036
  return n;
3080
3037
  }
3081
- ), Et = (
3038
+ ), bt = (
3082
3039
  // native
3083
- Xn ? Object.fromEntries : (
3040
+ Dn ? Object.fromEntries : (
3084
3041
  // Ponyfill
3085
3042
  function(t) {
3086
3043
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3090,7 +3047,7 @@ var _t = kn ? (
3090
3047
  return r;
3091
3048
  }
3092
3049
  )
3093
- ), nr = Wn ? (
3050
+ ), qt = Fn ? (
3094
3051
  // Native
3095
3052
  function(t, r) {
3096
3053
  return t.codePointAt(r);
@@ -3104,7 +3061,7 @@ var _t = kn ? (
3104
3061
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3105
3062
  }
3106
3063
  }
3107
- ), qn = zn ? (
3064
+ ), zn = jn ? (
3108
3065
  // Native
3109
3066
  function(t) {
3110
3067
  return t.trimStart();
@@ -3112,9 +3069,9 @@ var _t = kn ? (
3112
3069
  ) : (
3113
3070
  // Ponyfill
3114
3071
  function(t) {
3115
- return t.replace(Fn, "");
3072
+ return t.replace($n, "");
3116
3073
  }
3117
- ), Kn = Zn ? (
3074
+ ), Zn = kn ? (
3118
3075
  // Native
3119
3076
  function(t) {
3120
3077
  return t.trimEnd();
@@ -3122,32 +3079,32 @@ var _t = kn ? (
3122
3079
  ) : (
3123
3080
  // Ponyfill
3124
3081
  function(t) {
3125
- return t.replace(jn, "");
3082
+ return t.replace(Rn, "");
3126
3083
  }
3127
3084
  );
3128
- function ir(e, t) {
3085
+ function Kt(e, t) {
3129
3086
  return new RegExp(e, t);
3130
3087
  }
3131
- var Ze;
3132
- if (We) {
3133
- var xt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3134
- Ze = function(t, r) {
3088
+ var ke;
3089
+ if (Fe) {
3090
+ var gt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3091
+ ke = function(t, r) {
3135
3092
  var n;
3136
- xt.lastIndex = r;
3137
- var i = xt.exec(t);
3093
+ gt.lastIndex = r;
3094
+ var i = gt.exec(t);
3138
3095
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3139
3096
  };
3140
3097
  } else
3141
- Ze = function(t, r) {
3098
+ ke = function(t, r) {
3142
3099
  for (var n = []; ; ) {
3143
- var i = nr(t, r);
3144
- if (i === void 0 || or(i) || ni(i))
3100
+ var i = qt(t, r);
3101
+ if (i === void 0 || er(i) || qn(i))
3145
3102
  break;
3146
3103
  n.push(i), r += i >= 65536 ? 2 : 1;
3147
3104
  }
3148
- return ze.apply(void 0, n);
3105
+ return je.apply(void 0, n);
3149
3106
  };
3150
- var ei = (
3107
+ var Qn = (
3151
3108
  /** @class */
3152
3109
  function() {
3153
3110
  function e(t, r) {
@@ -3171,14 +3128,14 @@ var ei = (
3171
3128
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3172
3129
  var a = this.clonePosition();
3173
3130
  this.bump(), i.push({
3174
- type: v.pound,
3131
+ type: _.pound,
3175
3132
  location: b(a, this.clonePosition())
3176
3133
  });
3177
3134
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3178
3135
  if (n)
3179
3136
  break;
3180
3137
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3181
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3138
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3182
3139
  var s = this.parseTag(t, r);
3183
3140
  if (s.err)
3184
3141
  return s;
@@ -3199,7 +3156,7 @@ var ei = (
3199
3156
  if (this.bumpSpace(), this.bumpIf("/>"))
3200
3157
  return {
3201
3158
  val: {
3202
- type: v.literal,
3159
+ type: _.literal,
3203
3160
  value: "<".concat(i, "/>"),
3204
3161
  location: b(n, this.clonePosition())
3205
3162
  },
@@ -3211,12 +3168,12 @@ var ei = (
3211
3168
  return o;
3212
3169
  var s = o.val, a = this.clonePosition();
3213
3170
  if (this.bumpIf("</")) {
3214
- if (this.isEOF() || !Qe(this.char()))
3171
+ if (this.isEOF() || !Ve(this.char()))
3215
3172
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3216
3173
  var h = this.clonePosition(), u = this.parseTagName();
3217
3174
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3218
3175
  val: {
3219
- type: v.tag,
3176
+ type: _.tag,
3220
3177
  value: i,
3221
3178
  children: s,
3222
3179
  location: b(n, this.clonePosition())
@@ -3229,7 +3186,7 @@ var ei = (
3229
3186
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3230
3187
  }, e.prototype.parseTagName = function() {
3231
3188
  var t = this.offset();
3232
- for (this.bump(); !this.isEOF() && ri(this.char()); )
3189
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3233
3190
  this.bump();
3234
3191
  return this.message.slice(t, this.offset());
3235
3192
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3253,12 +3210,12 @@ var ei = (
3253
3210
  }
3254
3211
  var h = b(n, this.clonePosition());
3255
3212
  return {
3256
- val: { type: v.literal, value: i, location: h },
3213
+ val: { type: _.literal, value: i, location: h },
3257
3214
  err: null
3258
3215
  };
3259
3216
  }, e.prototype.tryParseLeftAngleBracket = function() {
3260
3217
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3261
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3218
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3262
3219
  }, e.prototype.tryParseQuote = function(t) {
3263
3220
  if (this.isEOF() || this.char() !== 39)
3264
3221
  return null;
@@ -3292,12 +3249,12 @@ var ei = (
3292
3249
  r.push(n);
3293
3250
  this.bump();
3294
3251
  }
3295
- return ze.apply(void 0, r);
3252
+ return je.apply(void 0, r);
3296
3253
  }, e.prototype.tryParseUnquoted = function(t, r) {
3297
3254
  if (this.isEOF())
3298
3255
  return null;
3299
3256
  var n = this.char();
3300
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3257
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3301
3258
  }, e.prototype.parseArgument = function(t, r) {
3302
3259
  var n = this.clonePosition();
3303
3260
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3313,7 +3270,7 @@ var ei = (
3313
3270
  case 125:
3314
3271
  return this.bump(), {
3315
3272
  val: {
3316
- type: v.argument,
3273
+ type: _.argument,
3317
3274
  // value does not include the opening and closing braces.
3318
3275
  value: i,
3319
3276
  location: b(n, this.clonePosition())
@@ -3326,7 +3283,7 @@ var ei = (
3326
3283
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3327
3284
  }
3328
3285
  }, e.prototype.parseIdentifierIfPossible = function() {
3329
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3286
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3330
3287
  this.bumpTo(i);
3331
3288
  var o = this.clonePosition(), s = b(t, o);
3332
3289
  return { value: n, location: s };
@@ -3345,7 +3302,7 @@ var ei = (
3345
3302
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3346
3303
  if (f.err)
3347
3304
  return f;
3348
- var c = Kn(f.val);
3305
+ var c = Zn(f.val);
3349
3306
  if (c.length === 0)
3350
3307
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3351
3308
  var p = b(l, this.clonePosition());
@@ -3354,37 +3311,37 @@ var ei = (
3354
3311
  var d = this.tryParseArgumentClose(i);
3355
3312
  if (d.err)
3356
3313
  return d;
3357
- var y = b(i, this.clonePosition());
3358
- if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3359
- var B = qn(u.style.slice(2));
3314
+ var v = b(i, this.clonePosition());
3315
+ if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
3316
+ var B = zn(u.style.slice(2));
3360
3317
  if (a === "number") {
3361
3318
  var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3362
3319
  return f.err ? f : {
3363
- val: { type: v.number, value: n, location: y, style: f.val },
3320
+ val: { type: _.number, value: n, location: v, style: f.val },
3364
3321
  err: null
3365
3322
  };
3366
3323
  } else {
3367
3324
  if (B.length === 0)
3368
- return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
3325
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3369
3326
  var $ = B;
3370
- this.locale && ($ = Gn(B, this.locale));
3327
+ this.locale && ($ = Mn(B, this.locale));
3371
3328
  var c = {
3372
- type: X.dateTime,
3329
+ type: W.dateTime,
3373
3330
  pattern: $,
3374
3331
  location: u.styleLocation,
3375
- parsedOptions: this.shouldParseSkeletons ? Ln($) : {}
3376
- }, N = a === "date" ? v.date : v.time;
3332
+ parsedOptions: this.shouldParseSkeletons ? wn($) : {}
3333
+ }, N = a === "date" ? _.date : _.time;
3377
3334
  return {
3378
- val: { type: N, value: n, location: y, style: c },
3335
+ val: { type: N, value: n, location: v, style: c },
3379
3336
  err: null
3380
3337
  };
3381
3338
  }
3382
3339
  }
3383
3340
  return {
3384
3341
  val: {
3385
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3342
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3386
3343
  value: n,
3387
- location: y,
3344
+ location: v,
3388
3345
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3389
3346
  },
3390
3347
  err: null
@@ -3393,11 +3350,11 @@ var ei = (
3393
3350
  case "plural":
3394
3351
  case "selectordinal":
3395
3352
  case "select": {
3396
- var x = this.clonePosition();
3353
+ var E = this.clonePosition();
3397
3354
  if (this.bumpSpace(), !this.bumpIf(","))
3398
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, me({}, x)));
3355
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(E, g({}, E)));
3399
3356
  this.bumpSpace();
3400
- var R = this.parseIdentifierIfPossible(), O = 0;
3357
+ var R = this.parseIdentifierIfPossible(), P = 0;
3401
3358
  if (a !== "select" && R.value === "offset") {
3402
3359
  if (!this.bumpIf(":"))
3403
3360
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3405,7 +3362,7 @@ var ei = (
3405
3362
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3406
3363
  if (f.err)
3407
3364
  return f;
3408
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = f.val;
3365
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = f.val;
3409
3366
  }
3410
3367
  var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
3411
3368
  if (G.err)
@@ -3416,18 +3373,18 @@ var ei = (
3416
3373
  var ue = b(i, this.clonePosition());
3417
3374
  return a === "select" ? {
3418
3375
  val: {
3419
- type: v.select,
3376
+ type: _.select,
3420
3377
  value: n,
3421
- options: Et(G.val),
3378
+ options: bt(G.val),
3422
3379
  location: ue
3423
3380
  },
3424
3381
  err: null
3425
3382
  } : {
3426
3383
  val: {
3427
- type: v.plural,
3384
+ type: _.plural,
3428
3385
  value: n,
3429
- options: Et(G.val),
3430
- offset: O,
3386
+ options: bt(G.val),
3387
+ offset: P,
3431
3388
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3432
3389
  location: ue
3433
3390
  },
@@ -3477,16 +3434,16 @@ var ei = (
3477
3434
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3478
3435
  var n = [];
3479
3436
  try {
3480
- n = Mn(t);
3437
+ n = Pn(t);
3481
3438
  } catch (i) {
3482
3439
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3483
3440
  }
3484
3441
  return {
3485
3442
  val: {
3486
- type: X.number,
3443
+ type: W.number,
3487
3444
  tokens: n,
3488
3445
  location: r,
3489
- parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3446
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3490
3447
  },
3491
3448
  err: null
3492
3449
  };
@@ -3511,9 +3468,9 @@ var ei = (
3511
3468
  var d = this.parseMessage(t + 1, r, n);
3512
3469
  if (d.err)
3513
3470
  return d;
3514
- var y = this.tryParseArgumentClose(p);
3515
- if (y.err)
3516
- return y;
3471
+ var v = this.tryParseArgumentClose(p);
3472
+ if (v.err)
3473
+ return v;
3517
3474
  a.push([
3518
3475
  u,
3519
3476
  {
@@ -3534,7 +3491,7 @@ var ei = (
3534
3491
  break;
3535
3492
  }
3536
3493
  var h = b(i, this.clonePosition());
3537
- return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3494
+ return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3538
3495
  }, e.prototype.offset = function() {
3539
3496
  return this.position.offset;
3540
3497
  }, e.prototype.isEOF = function() {
@@ -3549,7 +3506,7 @@ var ei = (
3549
3506
  var t = this.position.offset;
3550
3507
  if (t >= this.message.length)
3551
3508
  throw Error("out of bound");
3552
- var r = nr(this.message, t);
3509
+ var r = qt(this.message, t);
3553
3510
  if (r === void 0)
3554
3511
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3555
3512
  return r;
@@ -3568,7 +3525,7 @@ var ei = (
3568
3525
  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);
3569
3526
  }
3570
3527
  }, e.prototype.bumpIf = function(t) {
3571
- if (_t(this.message, t, this.offset())) {
3528
+ if (mt(this.message, t, this.offset())) {
3572
3529
  for (var r = 0; r < t.length; r++)
3573
3530
  this.bump();
3574
3531
  return !0;
@@ -3590,7 +3547,7 @@ var ei = (
3590
3547
  break;
3591
3548
  }
3592
3549
  }, e.prototype.bumpSpace = function() {
3593
- for (; !this.isEOF() && or(this.char()); )
3550
+ for (; !this.isEOF() && er(this.char()); )
3594
3551
  this.bump();
3595
3552
  }, e.prototype.peek = function() {
3596
3553
  if (this.isEOF())
@@ -3600,47 +3557,47 @@ var ei = (
3600
3557
  }, e;
3601
3558
  }()
3602
3559
  );
3603
- function Qe(e) {
3560
+ function Ve(e) {
3604
3561
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3605
3562
  }
3606
- function ti(e) {
3607
- return Qe(e) || e === 47;
3563
+ function Jn(e) {
3564
+ return Ve(e) || e === 47;
3608
3565
  }
3609
- function ri(e) {
3566
+ function Yn(e) {
3610
3567
  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;
3611
3568
  }
3612
- function or(e) {
3569
+ function er(e) {
3613
3570
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3614
3571
  }
3615
- function ni(e) {
3572
+ function qn(e) {
3616
3573
  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;
3617
3574
  }
3618
- function Je(e) {
3575
+ function Xe(e) {
3619
3576
  e.forEach(function(t) {
3620
- if (delete t.location, Qt(t) || Jt(t))
3577
+ if (delete t.location, Vt(t) || Xt(t))
3621
3578
  for (var r in t.options)
3622
- delete t.options[r].location, Je(t.options[r].value);
3579
+ delete t.options[r].location, Xe(t.options[r].value);
3623
3580
  else
3624
- Wt(t) && qt(t.style) || (zt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : Yt(t) && Je(t.children);
3581
+ Ft(t) && zt(t.style) || (jt(t) || kt(t)) && De(t.style) ? delete t.style.location : Wt(t) && Xe(t.children);
3625
3582
  });
3626
3583
  }
3627
- function ii(e, t) {
3628
- t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3629
- var r = new ei(e, t).parse();
3584
+ function Kn(e, t) {
3585
+ t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3586
+ var r = new Qn(e, t).parse();
3630
3587
  if (r.err) {
3631
3588
  var n = SyntaxError(m[r.err.kind]);
3632
3589
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3633
3590
  }
3634
- return t != null && t.captureLocation || Je(r.val), r.val;
3591
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3635
3592
  }
3636
- var W;
3593
+ var z;
3637
3594
  (function(e) {
3638
3595
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3639
- })(W || (W = {}));
3640
- var xe = (
3596
+ })(z || (z = {}));
3597
+ var _e = (
3641
3598
  /** @class */
3642
3599
  function(e) {
3643
- Ee(t, e);
3600
+ L(t, e);
3644
3601
  function t(r, n, i) {
3645
3602
  var o = e.call(this, r) || this;
3646
3603
  return o.code = n, o.originalMessage = i, o;
@@ -3649,155 +3606,155 @@ var xe = (
3649
3606
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3650
3607
  }, t;
3651
3608
  }(Error)
3652
- ), St = (
3609
+ ), yt = (
3653
3610
  /** @class */
3654
3611
  function(e) {
3655
- Ee(t, e);
3612
+ L(t, e);
3656
3613
  function t(r, n, i, o) {
3657
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3614
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3658
3615
  }
3659
3616
  return t;
3660
- }(xe)
3661
- ), oi = (
3617
+ }(_e)
3618
+ ), ei = (
3662
3619
  /** @class */
3663
3620
  function(e) {
3664
- Ee(t, e);
3621
+ L(t, e);
3665
3622
  function t(r, n, i) {
3666
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3623
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3667
3624
  }
3668
3625
  return t;
3669
- }(xe)
3670
- ), si = (
3626
+ }(_e)
3627
+ ), ti = (
3671
3628
  /** @class */
3672
3629
  function(e) {
3673
- Ee(t, e);
3630
+ L(t, e);
3674
3631
  function t(r, n) {
3675
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3632
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3676
3633
  }
3677
3634
  return t;
3678
- }(xe)
3679
- ), E;
3635
+ }(_e)
3636
+ ), x;
3680
3637
  (function(e) {
3681
3638
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3682
- })(E || (E = {}));
3683
- function ai(e) {
3639
+ })(x || (x = {}));
3640
+ function ri(e) {
3684
3641
  return e.length < 2 ? e : e.reduce(function(t, r) {
3685
3642
  var n = t[t.length - 1];
3686
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3643
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3687
3644
  }, []);
3688
3645
  }
3689
- function ui(e) {
3646
+ function ni(e) {
3690
3647
  return typeof e == "function";
3691
3648
  }
3692
3649
  function pe(e, t, r, n, i, o, s) {
3693
- if (e.length === 1 && bt(e[0]))
3650
+ if (e.length === 1 && ct(e[0]))
3694
3651
  return [
3695
3652
  {
3696
- type: E.literal,
3653
+ type: x.literal,
3697
3654
  value: e[0].value
3698
3655
  }
3699
3656
  ];
3700
3657
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3701
3658
  var l = u[h];
3702
- if (bt(l)) {
3659
+ if (ct(l)) {
3703
3660
  a.push({
3704
- type: E.literal,
3661
+ type: x.literal,
3705
3662
  value: l.value
3706
3663
  });
3707
3664
  continue;
3708
3665
  }
3709
- if (On(l)) {
3666
+ if (Hn(l)) {
3710
3667
  typeof o == "number" && a.push({
3711
- type: E.literal,
3668
+ type: x.literal,
3712
3669
  value: r.getNumberFormat(t).format(o)
3713
3670
  });
3714
3671
  continue;
3715
3672
  }
3716
3673
  var f = l.value;
3717
3674
  if (!(i && f in i))
3718
- throw new si(f, s);
3675
+ throw new ti(f, s);
3719
3676
  var c = i[f];
3720
- if (Pn(l)) {
3677
+ if (Tn(l)) {
3721
3678
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3722
- type: typeof c == "string" ? E.literal : E.object,
3679
+ type: typeof c == "string" ? x.literal : x.object,
3723
3680
  value: c
3724
3681
  });
3725
3682
  continue;
3726
3683
  }
3727
- if (zt(l)) {
3728
- var p = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3684
+ if (jt(l)) {
3685
+ var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3729
3686
  a.push({
3730
- type: E.literal,
3687
+ type: x.literal,
3731
3688
  value: r.getDateTimeFormat(t, p).format(c)
3732
3689
  });
3733
3690
  continue;
3734
3691
  }
3735
- if (Zt(l)) {
3736
- var p = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3692
+ if (kt(l)) {
3693
+ var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3737
3694
  a.push({
3738
- type: E.literal,
3695
+ type: x.literal,
3739
3696
  value: r.getDateTimeFormat(t, p).format(c)
3740
3697
  });
3741
3698
  continue;
3742
3699
  }
3743
- if (Wt(l)) {
3744
- var p = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3700
+ if (Ft(l)) {
3701
+ var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3745
3702
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3746
- type: E.literal,
3703
+ type: x.literal,
3747
3704
  value: r.getNumberFormat(t, p).format(c)
3748
3705
  });
3749
3706
  continue;
3750
3707
  }
3751
- if (Yt(l)) {
3752
- var d = l.children, y = l.value, B = i[y];
3753
- if (!ui(B))
3754
- throw new oi(y, "function", s);
3755
- var $ = pe(d, t, r, n, i, o), N = B($.map(function(O) {
3756
- return O.value;
3708
+ if (Wt(l)) {
3709
+ var d = l.children, v = l.value, B = i[v];
3710
+ if (!ni(B))
3711
+ throw new ei(v, "function", s);
3712
+ var $ = pe(d, t, r, n, i, o), N = B($.map(function(P) {
3713
+ return P.value;
3757
3714
  }));
3758
- Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(O) {
3715
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(P) {
3759
3716
  return {
3760
- type: typeof O == "string" ? E.literal : E.object,
3761
- value: O
3717
+ type: typeof P == "string" ? x.literal : x.object,
3718
+ value: P
3762
3719
  };
3763
3720
  }));
3764
3721
  }
3765
- if (Qt(l)) {
3766
- var x = l.options[c] || l.options.other;
3767
- if (!x)
3768
- throw new St(l.value, c, Object.keys(l.options), s);
3769
- a.push.apply(a, pe(x.value, t, r, n, i));
3722
+ if (Vt(l)) {
3723
+ var E = l.options[c] || l.options.other;
3724
+ if (!E)
3725
+ throw new yt(l.value, c, Object.keys(l.options), s);
3726
+ a.push.apply(a, pe(E.value, t, r, n, i));
3770
3727
  continue;
3771
3728
  }
3772
- if (Jt(l)) {
3773
- var x = l.options["=".concat(c)];
3774
- if (!x) {
3729
+ if (Xt(l)) {
3730
+ var E = l.options["=".concat(c)];
3731
+ if (!E) {
3775
3732
  if (!Intl.PluralRules)
3776
- throw new xe(`Intl.PluralRules is not available in this environment.
3733
+ throw new _e(`Intl.PluralRules is not available in this environment.
3777
3734
  Try polyfilling it using "@formatjs/intl-pluralrules"
3778
- `, W.MISSING_INTL_API, s);
3735
+ `, z.MISSING_INTL_API, s);
3779
3736
  var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3780
- x = l.options[R] || l.options.other;
3737
+ E = l.options[R] || l.options.other;
3781
3738
  }
3782
- if (!x)
3783
- throw new St(l.value, c, Object.keys(l.options), s);
3784
- a.push.apply(a, pe(x.value, t, r, n, i, c - (l.offset || 0)));
3739
+ if (!E)
3740
+ throw new yt(l.value, c, Object.keys(l.options), s);
3741
+ a.push.apply(a, pe(E.value, t, r, n, i, c - (l.offset || 0)));
3785
3742
  continue;
3786
3743
  }
3787
3744
  }
3788
- return ai(a);
3745
+ return ri(a);
3789
3746
  }
3790
- function hi(e, t) {
3791
- return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3792
- return r[n] = P(P({}, e[n]), t[n] || {}), r;
3747
+ function ii(e, t) {
3748
+ return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3749
+ return r[n] = g(g({}, e[n]), t[n] || {}), r;
3793
3750
  }, {})) : e;
3794
3751
  }
3795
- function li(e, t) {
3752
+ function oi(e, t) {
3796
3753
  return t ? Object.keys(e).reduce(function(r, n) {
3797
- return r[n] = hi(e[n], t[n]), r;
3798
- }, P({}, e)) : e;
3754
+ return r[n] = ii(e[n], t[n]), r;
3755
+ }, g({}, e)) : e;
3799
3756
  }
3800
- function Ne(e) {
3757
+ function Oe(e) {
3801
3758
  return {
3802
3759
  create: function() {
3803
3760
  return {
@@ -3811,39 +3768,39 @@ function Ne(e) {
3811
3768
  }
3812
3769
  };
3813
3770
  }
3814
- function ci(e) {
3771
+ function si(e) {
3815
3772
  return e === void 0 && (e = {
3816
3773
  number: {},
3817
3774
  dateTime: {},
3818
3775
  pluralRules: {}
3819
3776
  }), {
3820
- getNumberFormat: Oe(function() {
3777
+ getNumberFormat: we(function() {
3821
3778
  for (var t, r = [], n = 0; n < arguments.length; n++)
3822
3779
  r[n] = arguments[n];
3823
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3780
+ return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3824
3781
  }, {
3825
- cache: Ne(e.number),
3826
- strategy: Ie.variadic
3782
+ cache: Oe(e.number),
3783
+ strategy: Ae.variadic
3827
3784
  }),
3828
- getDateTimeFormat: Oe(function() {
3785
+ getDateTimeFormat: we(function() {
3829
3786
  for (var t, r = [], n = 0; n < arguments.length; n++)
3830
3787
  r[n] = arguments[n];
3831
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3788
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3832
3789
  }, {
3833
- cache: Ne(e.dateTime),
3834
- strategy: Ie.variadic
3790
+ cache: Oe(e.dateTime),
3791
+ strategy: Ae.variadic
3835
3792
  }),
3836
- getPluralRules: Oe(function() {
3793
+ getPluralRules: we(function() {
3837
3794
  for (var t, r = [], n = 0; n < arguments.length; n++)
3838
3795
  r[n] = arguments[n];
3839
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3796
+ return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3840
3797
  }, {
3841
- cache: Ne(e.pluralRules),
3842
- strategy: Ie.variadic
3798
+ cache: Oe(e.pluralRules),
3799
+ strategy: Ae.variadic
3843
3800
  })
3844
3801
  };
3845
3802
  }
3846
- var fi = (
3803
+ var ai = (
3847
3804
  /** @class */
3848
3805
  function() {
3849
3806
  function e(t, r, n, i) {
@@ -3858,7 +3815,7 @@ var fi = (
3858
3815
  if (u.length === 1)
3859
3816
  return u[0].value;
3860
3817
  var l = u.reduce(function(f, c) {
3861
- return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3818
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3862
3819
  }, []);
3863
3820
  return l.length <= 1 ? l[0] || "" : l;
3864
3821
  }, this.formatToParts = function(h) {
@@ -3875,13 +3832,13 @@ var fi = (
3875
3832
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3876
3833
  var s = i || {};
3877
3834
  s.formatters;
3878
- var a = En(s, ["formatters"]);
3879
- this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3835
+ var a = Ur(s, ["formatters"]);
3836
+ this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3880
3837
  } else
3881
3838
  this.ast = t;
3882
3839
  if (!Array.isArray(this.ast))
3883
3840
  throw new TypeError("A message must be provided as a String or AST.");
3884
- this.formats = li(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3841
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3885
3842
  }
3886
3843
  return Object.defineProperty(e, "defaultLocale", {
3887
3844
  get: function() {
@@ -3894,7 +3851,7 @@ var fi = (
3894
3851
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3895
3852
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3896
3853
  }
3897
- }, e.__parse = ii, e.formats = {
3854
+ }, e.__parse = Kn, e.formats = {
3898
3855
  number: {
3899
3856
  integer: {
3900
3857
  maximumFractionDigits: 0
@@ -3955,7 +3912,7 @@ var fi = (
3955
3912
  }, e;
3956
3913
  }()
3957
3914
  );
3958
- function pi(e, t) {
3915
+ function ui(e, t) {
3959
3916
  if (t == null)
3960
3917
  return;
3961
3918
  if (t in e)
@@ -3976,92 +3933,92 @@ function pi(e, t) {
3976
3933
  n = void 0;
3977
3934
  return n;
3978
3935
  }
3979
- const C = {}, di = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), sr = (e, t) => {
3936
+ const C = {}, hi = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), tr = (e, t) => {
3980
3937
  if (t == null)
3981
3938
  return;
3982
3939
  if (t in C && e in C[t])
3983
3940
  return C[t][e];
3984
- const r = Se(t);
3941
+ const r = xe(t);
3985
3942
  for (let n = 0; n < r.length; n++) {
3986
- const i = r[n], o = bi(i, e);
3943
+ const i = r[n], o = ci(i, e);
3987
3944
  if (o)
3988
- return di(e, t, o);
3945
+ return hi(e, t, o);
3989
3946
  }
3990
3947
  };
3991
- let et;
3992
- const ae = _e({});
3993
- function mi(e) {
3994
- return et[e] || null;
3948
+ let Qe;
3949
+ const ae = ve({});
3950
+ function li(e) {
3951
+ return Qe[e] || null;
3995
3952
  }
3996
- function ar(e) {
3997
- return e in et;
3953
+ function rr(e) {
3954
+ return e in Qe;
3998
3955
  }
3999
- function bi(e, t) {
4000
- if (!ar(e))
3956
+ function ci(e, t) {
3957
+ if (!rr(e))
4001
3958
  return null;
4002
- const r = mi(e);
4003
- return pi(r, t);
3959
+ const r = li(e);
3960
+ return ui(r, t);
4004
3961
  }
4005
- function gi(e) {
3962
+ function fi(e) {
4006
3963
  if (e == null)
4007
3964
  return;
4008
- const t = Se(e);
3965
+ const t = xe(e);
4009
3966
  for (let r = 0; r < t.length; r++) {
4010
3967
  const n = t[r];
4011
- if (ar(n))
3968
+ if (rr(n))
4012
3969
  return n;
4013
3970
  }
4014
3971
  }
4015
- function ur(e, ...t) {
4016
- delete C[e], ae.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3972
+ function nr(e, ...t) {
3973
+ delete C[e], ae.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
4017
3974
  }
4018
- Q(
3975
+ J(
4019
3976
  [ae],
4020
3977
  ([e]) => Object.keys(e)
4021
3978
  );
4022
- ae.subscribe((e) => et = e);
3979
+ ae.subscribe((e) => Qe = e);
4023
3980
  const de = {};
4024
- function yi(e, t) {
3981
+ function pi(e, t) {
4025
3982
  de[e].delete(t), de[e].size === 0 && delete de[e];
4026
3983
  }
4027
- function hr(e) {
3984
+ function ir(e) {
4028
3985
  return de[e];
4029
3986
  }
4030
- function vi(e) {
4031
- return Se(e).map((t) => {
4032
- const r = hr(t);
3987
+ function di(e) {
3988
+ return xe(e).map((t) => {
3989
+ const r = ir(t);
4033
3990
  return [t, r ? [...r] : []];
4034
3991
  }).filter(([, t]) => t.length > 0);
4035
3992
  }
4036
- function Ye(e) {
4037
- return e == null ? !1 : Se(e).some(
3993
+ function We(e) {
3994
+ return e == null ? !1 : xe(e).some(
4038
3995
  (t) => {
4039
3996
  var r;
4040
- return (r = hr(t)) == null ? void 0 : r.size;
3997
+ return (r = ir(t)) == null ? void 0 : r.size;
4041
3998
  }
4042
3999
  );
4043
4000
  }
4044
- function _i(e, t) {
4001
+ function mi(e, t) {
4045
4002
  return Promise.all(
4046
- t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4047
- ).then((n) => ur(e, ...n));
4048
- }
4049
- const K = {};
4050
- function lr(e) {
4051
- if (!Ye(e))
4052
- return e in K ? K[e] : Promise.resolve();
4053
- const t = vi(e);
4054
- return K[e] = Promise.all(
4003
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4004
+ ).then((n) => nr(e, ...n));
4005
+ }
4006
+ const ee = {};
4007
+ function or(e) {
4008
+ if (!We(e))
4009
+ return e in ee ? ee[e] : Promise.resolve();
4010
+ const t = di(e);
4011
+ return ee[e] = Promise.all(
4055
4012
  t.map(
4056
- ([r, n]) => _i(r, n)
4013
+ ([r, n]) => mi(r, n)
4057
4014
  )
4058
4015
  ).then(() => {
4059
- if (Ye(e))
4060
- return lr(e);
4061
- delete K[e];
4062
- }), K[e];
4016
+ if (We(e))
4017
+ return or(e);
4018
+ delete ee[e];
4019
+ }), ee[e];
4063
4020
  }
4064
- const Ei = {
4021
+ const bi = {
4065
4022
  number: {
4066
4023
  scientific: { notation: "scientific" },
4067
4024
  engineering: { notation: "engineering" },
@@ -4090,135 +4047,135 @@ const Ei = {
4090
4047
  timeZoneName: "short"
4091
4048
  }
4092
4049
  }
4093
- }, xi = {
4050
+ }, gi = {
4094
4051
  fallbackLocale: null,
4095
4052
  loadingDelay: 200,
4096
- formats: Ei,
4053
+ formats: bi,
4097
4054
  warnOnMissingMessages: !0,
4098
4055
  handleMissingMessage: void 0,
4099
4056
  ignoreTag: !0
4100
- }, Si = xi;
4101
- function z() {
4102
- return Si;
4057
+ }, yi = gi;
4058
+ function Z() {
4059
+ return yi;
4103
4060
  }
4104
- const Me = _e(!1);
4105
- var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
4061
+ const Ie = ve(!1);
4062
+ var vi = Object.defineProperty, _i = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4106
4063
  for (var r in t || (t = {}))
4107
- wi.call(t, r) && Ht(e, r, t[r]);
4108
- if (Tt)
4109
- for (var r of Tt(t))
4110
- Ai.call(t, r) && Ht(e, r, t[r]);
4064
+ Ei.call(t, r) && _t(e, r, t[r]);
4065
+ if (vt)
4066
+ for (var r of vt(t))
4067
+ Si.call(t, r) && _t(e, r, t[r]);
4111
4068
  return e;
4112
- }, Oi = (e, t) => Hi(e, Bi(t));
4113
- let qe;
4114
- const be = _e(null);
4115
- function Bt(e) {
4069
+ }, Hi = (e, t) => _i(e, xi(t));
4070
+ let ze;
4071
+ const me = ve(null);
4072
+ function xt(e) {
4116
4073
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4117
4074
  }
4118
- function Se(e, t = z().fallbackLocale) {
4119
- const r = Bt(e);
4120
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4075
+ function xe(e, t = Z().fallbackLocale) {
4076
+ const r = xt(e);
4077
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4121
4078
  }
4122
4079
  function U() {
4123
- return qe != null ? qe : void 0;
4080
+ return ze != null ? ze : void 0;
4124
4081
  }
4125
- be.subscribe((e) => {
4126
- qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4082
+ me.subscribe((e) => {
4083
+ ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4127
4084
  });
4128
- const Ii = (e) => {
4129
- if (e && gi(e) && Ye(e)) {
4130
- const { loadingDelay: t } = z();
4085
+ const Bi = (e) => {
4086
+ if (e && fi(e) && We(e)) {
4087
+ const { loadingDelay: t } = Z();
4131
4088
  let r;
4132
4089
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4133
- () => Me.set(!0),
4090
+ () => Ie.set(!0),
4134
4091
  t
4135
- ) : Me.set(!0), lr(e).then(() => {
4136
- be.set(e);
4092
+ ) : Ie.set(!0), or(e).then(() => {
4093
+ me.set(e);
4137
4094
  }).finally(() => {
4138
- clearTimeout(r), Me.set(!1);
4095
+ clearTimeout(r), Ie.set(!1);
4139
4096
  });
4140
4097
  }
4141
- return be.set(e);
4142
- }, J = Oi(Pi({}, be), {
4143
- set: Ii
4144
- }), Te = (e) => {
4098
+ return me.set(e);
4099
+ }, Y = Hi(Ti({}, me), {
4100
+ set: Bi
4101
+ }), Ee = (e) => {
4145
4102
  const t = /* @__PURE__ */ Object.create(null);
4146
4103
  return (n) => {
4147
4104
  const i = JSON.stringify(n);
4148
4105
  return i in t ? t[i] : t[i] = e(n);
4149
4106
  };
4150
4107
  };
4151
- var Li = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4108
+ var wi = Object.defineProperty, be = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4152
4109
  for (var r in t || (t = {}))
4153
- cr.call(t, r) && wt(e, r, t[r]);
4154
- if (ge)
4155
- for (var r of ge(t))
4156
- fr.call(t, r) && wt(e, r, t[r]);
4110
+ sr.call(t, r) && Et(e, r, t[r]);
4111
+ if (be)
4112
+ for (var r of be(t))
4113
+ ar.call(t, r) && Et(e, r, t[r]);
4157
4114
  return e;
4158
- }, Y = (e, t) => {
4115
+ }, q = (e, t) => {
4159
4116
  var r = {};
4160
4117
  for (var n in e)
4161
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4162
- if (e != null && ge)
4163
- for (var n of ge(e))
4164
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4118
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4119
+ if (e != null && be)
4120
+ for (var n of be(e))
4121
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4165
4122
  return r;
4166
4123
  };
4167
- const ne = (e, t) => {
4168
- const { formats: r } = z();
4124
+ const ie = (e, t) => {
4125
+ const { formats: r } = Z();
4169
4126
  if (e in r && t in r[e])
4170
4127
  return r[e][t];
4171
4128
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4172
- }, Ni = Te(
4129
+ }, Ai = Ee(
4173
4130
  (e) => {
4174
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4131
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4175
4132
  if (r == null)
4176
4133
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4177
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4134
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4178
4135
  }
4179
- ), Mi = Te(
4136
+ ), Pi = Ee(
4180
4137
  (e) => {
4181
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4138
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4182
4139
  if (r == null)
4183
4140
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4184
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4141
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4185
4142
  }
4186
- ), Ci = Te(
4143
+ ), Oi = Ee(
4187
4144
  (e) => {
4188
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4145
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4189
4146
  if (r == null)
4190
4147
  throw new Error(
4191
4148
  '[svelte-i18n] A "locale" must be set to format time values'
4192
4149
  );
4193
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4150
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4194
4151
  }
4195
- ), $i = (e = {}) => {
4152
+ ), Ii = (e = {}) => {
4196
4153
  var t = e, {
4197
4154
  locale: r = U()
4198
- } = t, n = Y(t, [
4155
+ } = t, n = q(t, [
4199
4156
  "locale"
4200
4157
  ]);
4201
- return Ni(tt({ locale: r }, n));
4202
- }, Ri = (e = {}) => {
4158
+ return Ai(Je({ locale: r }, n));
4159
+ }, Li = (e = {}) => {
4203
4160
  var t = e, {
4204
4161
  locale: r = U()
4205
- } = t, n = Y(t, [
4162
+ } = t, n = q(t, [
4206
4163
  "locale"
4207
4164
  ]);
4208
- return Mi(tt({ locale: r }, n));
4209
- }, Ui = (e = {}) => {
4165
+ return Pi(Je({ locale: r }, n));
4166
+ }, Ni = (e = {}) => {
4210
4167
  var t = e, {
4211
4168
  locale: r = U()
4212
- } = t, n = Y(t, [
4169
+ } = t, n = q(t, [
4213
4170
  "locale"
4214
4171
  ]);
4215
- return Ci(tt({ locale: r }, n));
4216
- }, Gi = Te(
4172
+ return Oi(Je({ locale: r }, n));
4173
+ }, Mi = Ee(
4217
4174
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4218
- (e, t = U()) => new fi(e, t, z().formats, {
4219
- ignoreTag: z().ignoreTag
4175
+ (e, t = U()) => new ai(e, t, Z().formats, {
4176
+ ignoreTag: Z().ignoreTag
4220
4177
  })
4221
- ), Di = (e, t = {}) => {
4178
+ ), Ci = (e, t = {}) => {
4222
4179
  var r, n, i, o;
4223
4180
  let s = t;
4224
4181
  typeof e == "object" && (s = e, e = s.id);
@@ -4231,9 +4188,9 @@ const ne = (e, t) => {
4231
4188
  throw new Error(
4232
4189
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4233
4190
  );
4234
- let l = sr(e, h);
4191
+ let l = tr(e, h);
4235
4192
  if (!l)
4236
- 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;
4193
+ 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;
4237
4194
  else if (typeof l != "string")
4238
4195
  return console.warn(
4239
4196
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4242,7 +4199,7 @@ const ne = (e, t) => {
4242
4199
  return l;
4243
4200
  let f = l;
4244
4201
  try {
4245
- f = Gi(l, h).format(a);
4202
+ f = Mi(l, h).format(a);
4246
4203
  } catch (c) {
4247
4204
  c instanceof Error && console.warn(
4248
4205
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4250,13 +4207,13 @@ const ne = (e, t) => {
4250
4207
  );
4251
4208
  }
4252
4209
  return f;
4253
- }, Fi = (e, t) => Ui(t).format(e), ji = (e, t) => Ri(t).format(e), ki = (e, t) => $i(t).format(e), Vi = (e, t = U()) => sr(e, t), Xi = Q([J, ae], () => Di);
4254
- Q([J], () => Fi);
4255
- Q([J], () => ji);
4256
- Q([J], () => ki);
4257
- Q([J, ae], () => Vi);
4258
- window.emWidgets = { topic: rn };
4259
- const Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", zi = (e, t = {}) => {
4210
+ }, $i = (e, t) => Ni(t).format(e), Ri = (e, t) => Li(t).format(e), Ui = (e, t) => Ii(t).format(e), Gi = (e, t = U()) => tr(e, t), Di = J([Y, ae], () => Ci);
4211
+ J([Y], () => $i);
4212
+ J([Y], () => Ri);
4213
+ J([Y], () => Ui);
4214
+ J([Y, ae], () => Gi);
4215
+ window.emWidgets = { topic: qr };
4216
+ const Fi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", ji = (e, t = {}) => {
4260
4217
  const r = new CustomEvent("track-custom-event", {
4261
4218
  detail: {
4262
4219
  type: e,
@@ -4267,13 +4224,13 @@ const Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase(
4267
4224
  });
4268
4225
  document.dispatchEvent(r);
4269
4226
  };
4270
- function At(e, t) {
4271
- ur(e, t);
4227
+ function St(e, t) {
4228
+ nr(e, t);
4272
4229
  }
4273
- function Zi(e) {
4274
- J.set(e);
4230
+ function ki(e) {
4231
+ Y.set(e);
4275
4232
  }
4276
- const Pt = {
4233
+ const Tt = {
4277
4234
  en: {
4278
4235
  logoutButton: "Logout"
4279
4236
  },
@@ -4308,13 +4265,13 @@ const Pt = {
4308
4265
  logoutButton: "Logout"
4309
4266
  }
4310
4267
  };
4311
- function Ot(e, t) {
4268
+ function Ht(e, t) {
4312
4269
  if (e) {
4313
4270
  const r = document.createElement("style");
4314
4271
  r.innerHTML = t, e.appendChild(r);
4315
4272
  }
4316
4273
  }
4317
- function Qi(e, t) {
4274
+ function Vi(e, t) {
4318
4275
  const r = new URL(t);
4319
4276
  fetch(r.href).then((n) => n.text()).then((n) => {
4320
4277
  const i = document.createElement("style");
@@ -4323,7 +4280,7 @@ function Qi(e, t) {
4323
4280
  console.error("There was an error while trying to load client styling from URL", n);
4324
4281
  });
4325
4282
  }
4326
- function Ji(e, t, r) {
4283
+ function Xi(e, t, r) {
4327
4284
  if (window.emMessageBus) {
4328
4285
  const n = document.createElement("style");
4329
4286
  window.emMessageBus.subscribe(t, (i) => {
@@ -4331,20 +4288,20 @@ function Ji(e, t, r) {
4331
4288
  });
4332
4289
  }
4333
4290
  }
4334
- function Yi(e) {
4335
- Er(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))}");
4291
+ function Wi(e) {
4292
+ br(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))}");
4336
4293
  }
4337
- function qi(e) {
4294
+ function zi(e) {
4338
4295
  let t, r, n, i = (
4339
4296
  /*$_*/
4340
4297
  e[2]("logoutButton") + ""
4341
4298
  ), o, s, a;
4342
4299
  return {
4343
4300
  c() {
4344
- t = I("div"), r = I("button"), n = I("span"), o = ye(i), H(t, "class", "GeneralLogout");
4301
+ t = O("div"), r = O("button"), n = O("span"), o = ge(i), H(t, "class", "GeneralLogout");
4345
4302
  },
4346
4303
  m(h, u) {
4347
- oe(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = Mt(
4304
+ se(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = Pt(
4348
4305
  r,
4349
4306
  "click",
4350
4307
  /*click_handler_1*/
@@ -4354,19 +4311,19 @@ function qi(e) {
4354
4311
  p(h, u) {
4355
4312
  u & /*$_*/
4356
4313
  4 && i !== (i = /*$_*/
4357
- h[2]("logoutButton") + "") && Ct(o, i);
4314
+ h[2]("logoutButton") + "") && Ot(o, i);
4358
4315
  },
4359
4316
  d(h) {
4360
- h && Z(t), s = !1, a();
4317
+ h && Q(t), s = !1, a();
4361
4318
  }
4362
4319
  };
4363
4320
  }
4364
- function Ki(e) {
4321
+ function Zi(e) {
4365
4322
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4366
- e[3] && eo(e);
4323
+ e[3] && Qi(e);
4367
4324
  return {
4368
4325
  c() {
4369
- t = I("p"), r = I("span"), n = q("svg"), i = q("defs"), o = q("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = q("path"), h = q("path"), u = Tr(), 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"), Br(r, "width", /*isMobile*/
4326
+ 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 = vr(), 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"), xr(r, "width", /*isMobile*/
4370
4327
  e[3] ? (
4371
4328
  /*mediaQuery*/
4372
4329
  e[4].matches ? "20px" : "24px"
@@ -4376,7 +4333,7 @@ function Ki(e) {
4376
4333
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4377
4334
  },
4378
4335
  m(p, d) {
4379
- oe(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 = Mt(
4336
+ 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 = Pt(
4380
4337
  t,
4381
4338
  "click",
4382
4339
  /*click_handler*/
@@ -4388,47 +4345,47 @@ function Ki(e) {
4388
4345
  p[3] || c.p(p, d);
4389
4346
  },
4390
4347
  d(p) {
4391
- p && Z(t), c && c.d(), l = !1, f();
4348
+ p && Q(t), c && c.d(), l = !1, f();
4392
4349
  }
4393
4350
  };
4394
4351
  }
4395
- function eo(e) {
4352
+ function Qi(e) {
4396
4353
  let t, r = (
4397
4354
  /*$_*/
4398
4355
  e[2]("logoutButton") + ""
4399
4356
  ), n;
4400
4357
  return {
4401
4358
  c() {
4402
- t = I("span"), n = ye(r), H(t, "class", "PlayerLogoutText");
4359
+ t = O("span"), n = ge(r), H(t, "class", "PlayerLogoutText");
4403
4360
  },
4404
4361
  m(i, o) {
4405
- oe(i, t, o), S(t, n);
4362
+ se(i, t, o), S(t, n);
4406
4363
  },
4407
4364
  p(i, o) {
4408
4365
  o & /*$_*/
4409
4366
  4 && r !== (r = /*$_*/
4410
- i[2]("logoutButton") + "") && Ct(n, r);
4367
+ i[2]("logoutButton") + "") && Ot(n, r);
4411
4368
  },
4412
4369
  d(i) {
4413
- i && Z(t);
4370
+ i && Q(t);
4414
4371
  }
4415
4372
  };
4416
4373
  }
4417
- function to(e) {
4374
+ function Ji(e) {
4418
4375
  let t;
4419
4376
  function r(o, s) {
4420
4377
  return (
4421
4378
  /*buttonlocation*/
4422
- o[0] === "PlayerAccountMenu" ? Ki : qi
4379
+ o[0] === "PlayerAccountMenu" ? Zi : zi
4423
4380
  );
4424
4381
  }
4425
4382
  let n = r(e), i = n(e);
4426
4383
  return {
4427
4384
  c() {
4428
- t = I("div"), i.c();
4385
+ t = O("div"), i.c();
4429
4386
  },
4430
4387
  m(o, s) {
4431
- oe(o, t, s), i.m(t, null), e[15](t);
4388
+ se(o, t, s), i.m(t, null), e[15](t);
4432
4389
  },
4433
4390
  p(o, [s]) {
4434
4391
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4436,54 +4393,54 @@ function to(e) {
4436
4393
  i: w,
4437
4394
  o: w,
4438
4395
  d(o) {
4439
- o && Z(t), i.d(), e[15](null);
4396
+ o && Q(t), i.d(), e[15](null);
4440
4397
  }
4441
4398
  };
4442
4399
  }
4443
- function ro(e, t, r) {
4400
+ function Yi(e, t, r) {
4444
4401
  let n;
4445
- _r(e, Xi, (g) => r(2, n = g));
4446
- 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, y = window.navigator.userAgent, B = Wi(y) !== "PC";
4402
+ mr(e, Di, (y) => r(2, n = y));
4403
+ 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 = Fi(v) !== "PC";
4447
4404
  const $ = window.matchMedia("(min-width: 768px)"), N = () => {
4448
4405
  fetch(f).then((M) => M.json()).then((M) => {
4449
- Object.keys(M).forEach((He) => {
4450
- At(He, M[He]);
4406
+ Object.keys(M).forEach((Se) => {
4407
+ St(Se, M[Se]);
4451
4408
  });
4452
4409
  }).catch((M) => {
4453
4410
  console.log(M);
4454
4411
  });
4455
4412
  };
4456
- Object.keys(Pt).forEach((g) => {
4457
- At(g, Pt[g]);
4413
+ Object.keys(Tt).forEach((y) => {
4414
+ St(y, Tt[y]);
4458
4415
  });
4459
- const x = () => {
4460
- let g = new Headers();
4461
- g.append("Content-type", "application/json"), g.append("X-SessionID", o);
4462
- let M = { method: "DELETE", headers: g };
4463
- fetch(`${i}/v1/player/session/player`, M).then((He) => {
4464
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), zi("logged_out", {});
4416
+ const E = () => {
4417
+ let y = new Headers();
4418
+ y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4419
+ let M = { method: "DELETE", headers: y };
4420
+ fetch(`${i}/v1/player/session/player`, M).then((Se) => {
4421
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), ji("logged_out", {});
4465
4422
  });
4466
- }, 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), O = () => {
4467
- Zi(a);
4423
+ }, 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 = () => {
4424
+ ki(a);
4468
4425
  };
4469
- Pr(() => () => {
4426
+ Tr(() => () => {
4470
4427
  });
4471
- const G = () => x(), ue = () => x();
4472
- function pr(g) {
4473
- Ce[g ? "unshift" : "push"](() => {
4474
- d = g, r(1, d);
4428
+ const G = () => E(), ue = () => E();
4429
+ function ur(y) {
4430
+ Le[y ? "unshift" : "push"](() => {
4431
+ d = y, r(1, d);
4475
4432
  });
4476
4433
  }
4477
- return e.$$set = (g) => {
4478
- "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, s = g.buttonlocation), "lang" in g && r(8, a = g.lang), "mbsource" in g && r(9, h = g.mbsource), "clientstyling" in g && r(10, u = g.clientstyling), "clientstylingurl" in g && r(11, l = g.clientstylingurl), "translationurl" in g && r(12, f = g.translationurl);
4434
+ return e.$$set = (y) => {
4435
+ "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
4479
4436
  }, e.$$.update = () => {
4480
4437
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4481
4438
  193 && i && o && s && R(), e.$$.dirty & /*lang*/
4482
- 256 && a && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4483
- 1026 && u && d && Ot(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4484
- 1026 && u && d && Ot(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4485
- 2050 && l && d && Qi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4486
- 514 && h && d && Ji(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4439
+ 256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4440
+ 1026 && u && d && Ht(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4441
+ 1026 && u && d && Ht(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4442
+ 2050 && l && d && Vi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4443
+ 514 && h && d && Xi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4487
4444
  4096 && f && N();
4488
4445
  }, [
4489
4446
  s,
@@ -4491,7 +4448,7 @@ function ro(e, t, r) {
4491
4448
  n,
4492
4449
  B,
4493
4450
  $,
4494
- x,
4451
+ E,
4495
4452
  i,
4496
4453
  o,
4497
4454
  a,
@@ -4501,17 +4458,17 @@ function ro(e, t, r) {
4501
4458
  f,
4502
4459
  G,
4503
4460
  ue,
4504
- pr
4461
+ ur
4505
4462
  ];
4506
4463
  }
4507
- class no extends Fr {
4464
+ class qi extends $r {
4508
4465
  constructor(t) {
4509
- super(), Gr(
4466
+ super(), Mr(
4510
4467
  this,
4511
4468
  t,
4512
- ro,
4513
- to,
4514
- Lt,
4469
+ Yi,
4470
+ Ji,
4471
+ wt,
4515
4472
  {
4516
4473
  endpoint: 6,
4517
4474
  session: 7,
@@ -4522,7 +4479,7 @@ class no extends Fr {
4522
4479
  clientstylingurl: 11,
4523
4480
  translationurl: 12
4524
4481
  },
4525
- Yi
4482
+ Wi
4526
4483
  );
4527
4484
  }
4528
4485
  get endpoint() {
@@ -4574,7 +4531,7 @@ class no extends Fr {
4574
4531
  this.$$set({ translationurl: t }), A();
4575
4532
  }
4576
4533
  }
4577
- Dr(no, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4534
+ Cr(qi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4578
4535
  export {
4579
- no as default
4536
+ qi as default
4580
4537
  };