@everymatrix/player-panic-button 1.74.2 → 1.74.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var hr = Object.defineProperty, lr = Object.defineProperties;
2
- var cr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var sr = Object.defineProperty, ar = Object.defineProperties;
2
+ var ur = Object.getOwnPropertyDescriptors;
3
+ var Je = Object.getOwnPropertySymbols;
4
+ var hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fr.call(t, r) && xe(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- pr.call(t, r) && xe(e, r, t[r]);
7
+ hr.call(t, r) && xe(e, r, t[r]);
8
+ if (Je)
9
+ for (var r of Je(t))
10
+ lr.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => lr(e, cr(t));
12
+ }, qe = (e, t) => ar(e, ur(t));
13
13
  var T = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
14
+ var Ke = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,25 +29,25 @@ var tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function B() {
31
31
  }
32
- function Ht(e) {
32
+ function wt(e) {
33
33
  return e();
34
34
  }
35
- function rt() {
35
+ function et() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function re(e) {
39
- e.forEach(Ht);
39
+ e.forEach(wt);
40
40
  }
41
- function ze(e) {
41
+ function Ve(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Pt(e, t) {
44
+ function Bt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function mr(e) {
47
+ function cr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function At(e, ...t) {
50
+ function Ht(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function At(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function dr(e, t, r) {
60
- e.$$.on_destroy.push(At(t, r));
59
+ function fr(e, t, r) {
60
+ e.$$.on_destroy.push(Ht(t, r));
61
61
  }
62
62
  function ue(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function br(e, t, r) {
66
- const n = gr(e);
65
+ function dr(e, t, r) {
66
+ const n = pr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = Y("style");
69
- i.id = t, i.textContent = r, yr(n, i);
69
+ i.id = t, i.textContent = r, mr(n, i);
70
70
  }
71
71
  }
72
- function gr(e) {
72
+ function pr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,39 +79,39 @@ function gr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function yr(e, t) {
82
+ function mr(e, t) {
83
83
  return ue(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function Ot(e, t, r) {
89
+ function Pt(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function Xe(e) {
92
+ function ze(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
95
  function Y(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function vr(e) {
98
+ function br(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
101
  function C(e, t, r) {
102
102
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
103
103
  }
104
- function Er(e) {
104
+ function gr(e) {
105
105
  return Array.from(e.childNodes);
106
106
  }
107
- function xr(e, t) {
107
+ function yr(e, t) {
108
108
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
109
109
  t);
110
110
  }
111
- function nt(e, t, r) {
111
+ function tt(e, t, r) {
112
112
  e.classList.toggle(t, !!r);
113
113
  }
114
- function _r(e) {
114
+ function vr(e) {
115
115
  const t = {};
116
116
  return e.childNodes.forEach(
117
117
  /** @param {Element} node */
@@ -124,23 +124,23 @@ let K;
124
124
  function q(e) {
125
125
  K = e;
126
126
  }
127
- function Sr() {
127
+ function Er() {
128
128
  if (!K)
129
129
  throw new Error("Function called outside component initialization");
130
130
  return K;
131
131
  }
132
- function Tr(e) {
133
- Sr().$$.on_mount.push(e);
132
+ function xr(e) {
133
+ Er().$$.on_mount.push(e);
134
134
  }
135
- const F = [], pe = [];
136
- let G = [];
137
- const it = [], wr = /* @__PURE__ */ Promise.resolve();
138
- let Oe = !1;
139
- function Br() {
140
- Oe || (Oe = !0, wr.then(P));
135
+ const G = [], de = [];
136
+ let F = [];
137
+ const rt = [], _r = /* @__PURE__ */ Promise.resolve();
138
+ let Ae = !1;
139
+ function Sr() {
140
+ Ae || (Ae = !0, _r.then(P));
141
141
  }
142
- function Ie(e) {
143
- G.push(e);
142
+ function Oe(e) {
143
+ F.push(e);
144
144
  }
145
145
  const _e = /* @__PURE__ */ new Set();
146
146
  let U = 0;
@@ -150,55 +150,55 @@ function P() {
150
150
  const e = K;
151
151
  do {
152
152
  try {
153
- for (; U < F.length; ) {
154
- const t = F[U];
155
- U++, q(t), Hr(t.$$);
153
+ for (; U < G.length; ) {
154
+ const t = G[U];
155
+ U++, q(t), Tr(t.$$);
156
156
  }
157
157
  } catch (t) {
158
- throw F.length = 0, U = 0, t;
158
+ throw G.length = 0, U = 0, t;
159
159
  }
160
- for (q(null), F.length = 0, U = 0; pe.length; )
161
- pe.pop()();
162
- for (let t = 0; t < G.length; t += 1) {
163
- const r = G[t];
160
+ for (q(null), G.length = 0, U = 0; de.length; )
161
+ de.pop()();
162
+ for (let t = 0; t < F.length; t += 1) {
163
+ const r = F[t];
164
164
  _e.has(r) || (_e.add(r), r());
165
165
  }
166
- G.length = 0;
167
- } while (F.length);
168
- for (; it.length; )
169
- it.pop()();
170
- Oe = !1, _e.clear(), q(e);
166
+ F.length = 0;
167
+ } while (G.length);
168
+ for (; rt.length; )
169
+ rt.pop()();
170
+ Ae = !1, _e.clear(), q(e);
171
171
  }
172
- function Hr(e) {
172
+ function Tr(e) {
173
173
  if (e.fragment !== null) {
174
174
  e.update(), re(e.before_update);
175
175
  const t = e.dirty;
176
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
176
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
177
177
  }
178
178
  }
179
- function Pr(e) {
179
+ function wr(e) {
180
180
  const t = [], r = [];
181
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
181
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
182
182
  }
183
- const Ar = /* @__PURE__ */ new Set();
184
- function Or(e, t) {
185
- e && e.i && (Ar.delete(e), e.i(t));
183
+ const Br = /* @__PURE__ */ new Set();
184
+ function Hr(e, t) {
185
+ e && e.i && (Br.delete(e), e.i(t));
186
186
  }
187
- function Ir(e, t, r) {
187
+ function Pr(e, t, r) {
188
188
  const { fragment: n, after_update: i } = e.$$;
189
- n && n.m(t, r), Ie(() => {
190
- const o = e.$$.on_mount.map(Ht).filter(ze);
189
+ n && n.m(t, r), Oe(() => {
190
+ const o = e.$$.on_mount.map(wt).filter(Ve);
191
191
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
192
- }), i.forEach(Ie);
192
+ }), i.forEach(Oe);
193
193
  }
194
- function Lr(e, t) {
194
+ function Ar(e, t) {
195
195
  const r = e.$$;
196
- r.fragment !== null && (Pr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
196
+ r.fragment !== null && (wr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
197
197
  }
198
- function Nr(e, t) {
199
- e.$$.dirty[0] === -1 && (F.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
+ function Or(e, t) {
199
+ e.$$.dirty[0] === -1 && (G.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
200
200
  }
201
- function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
201
+ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
202
202
  const u = K;
203
203
  q(e);
204
204
  const h = e.$$ = {
@@ -208,7 +208,7 @@ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  props: o,
209
209
  update: B,
210
210
  not_equal: i,
211
- bound: rt(),
211
+ bound: et(),
212
212
  // lifecycle
213
213
  on_mount: [],
214
214
  on_destroy: [],
@@ -217,28 +217,28 @@ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  after_update: [],
218
218
  context: new Map(t.context || (u ? u.$$.context : [])),
219
219
  // everything else
220
- callbacks: rt(),
220
+ callbacks: et(),
221
221
  dirty: a,
222
222
  skip_bound: !1,
223
223
  root: t.target || u.$$.root
224
224
  };
225
225
  s && s(h.root);
226
226
  let l = !1;
227
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
228
- const y = m.length ? m[0] : f;
229
- return h.ctx && i(h.ctx[c], h.ctx[c] = y) && (!h.skip_bound && h.bound[c] && h.bound[c](y), l && Nr(e, c)), f;
230
- }) : [], h.update(), l = !0, re(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
227
+ if (h.ctx = r(e, t.props || {}, (c, f, ...p) => {
228
+ const y = p.length ? p[0] : f;
229
+ return h.ctx && i(h.ctx[c], h.ctx[c] = y) && (!h.skip_bound && h.bound[c] && h.bound[c](y), l && Or(e, c)), f;
230
+ }), h.update(), l = !0, re(h.before_update), h.fragment = n(h.ctx), t.target) {
231
231
  if (t.hydrate) {
232
- const c = Er(t.target);
233
- h.fragment && h.fragment.l(c), c.forEach(Xe);
232
+ const c = gr(t.target);
233
+ h.fragment && h.fragment.l(c), c.forEach(ze);
234
234
  } else
235
235
  h.fragment && h.fragment.c();
236
- t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), P();
236
+ t.intro && Hr(e.$$.fragment), Pr(e, t.target, t.anchor), P();
237
237
  }
238
238
  q(u);
239
239
  }
240
- let It;
241
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
240
+ let At;
241
+ typeof HTMLElement == "function" && (At = class extends HTMLElement {
242
242
  constructor(t, r, n) {
243
243
  super();
244
244
  /** The Svelte component constructor */
@@ -275,7 +275,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
275
275
  }
276
276
  }
277
277
  connectedCallback() {
278
- return tt(this, null, function* () {
278
+ return Ke(this, null, function* () {
279
279
  if (this.$$cn = !0, !this.$$c) {
280
280
  let t = function(o) {
281
281
  return () => {
@@ -289,17 +289,17 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
289
289
  * @param {HTMLElement} [anchor]
290
290
  */
291
291
  m: function(h, l) {
292
- Ot(h, s, l);
292
+ Pt(h, s, l);
293
293
  },
294
294
  d: function(h) {
295
- h && Xe(s);
295
+ h && ze(s);
296
296
  }
297
297
  };
298
298
  };
299
299
  };
300
300
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
301
301
  return;
302
- const r = {}, n = _r(this);
302
+ const r = {}, n = vr(this);
303
303
  for (const o of this.$$s)
304
304
  o in n && (r[o] = [t(o)]);
305
305
  for (const o of this.attributes) {
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
310
310
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
311
311
  this.$$c = new this.$$ctor({
312
312
  target: this.shadowRoot || this,
313
- props: et(Ke({}, this.$$d), {
313
+ props: qe(Ye({}, this.$$d), {
314
314
  $$slots: r,
315
315
  $$scope: {
316
316
  ctx: []
@@ -388,8 +388,8 @@ function he(e, t, r, n) {
388
388
  return t;
389
389
  }
390
390
  }
391
- function Mr(e, t, r, n, i, o) {
392
- let s = class extends It {
391
+ function Nr(e, t, r, n, i, o) {
392
+ let s = class extends At {
393
393
  constructor() {
394
394
  super(e, r, i), this.$$p_d = t;
395
395
  }
@@ -419,7 +419,7 @@ function Mr(e, t, r, n, i, o) {
419
419
  }), e.element = /** @type {any} */
420
420
  s, s;
421
421
  }
422
- class $r {
422
+ class Lr {
423
423
  constructor() {
424
424
  /**
425
425
  * ### PRIVATE API
@@ -440,7 +440,7 @@ class $r {
440
440
  }
441
441
  /** @returns {void} */
442
442
  $destroy() {
443
- Lr(this, 1), this.$destroy = B;
443
+ Ar(this, 1), this.$destroy = B;
444
444
  }
445
445
  /**
446
446
  * @template {Extract<keyof Events, string>} K
@@ -449,7 +449,7 @@ class $r {
449
449
  * @returns {() => void}
450
450
  */
451
451
  $on(t, r) {
452
- if (!ze(r))
452
+ if (!Ve(r))
453
453
  return B;
454
454
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
455
455
  return n.push(r), () => {
@@ -462,18 +462,18 @@ class $r {
462
462
  * @returns {void}
463
463
  */
464
464
  $set(t) {
465
- this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
465
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
466
466
  }
467
467
  }
468
- const Rr = "4";
469
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
470
- function Ur(e, t) {
468
+ const Cr = "4";
469
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
470
+ function Mr(e, t) {
471
471
  if (e) {
472
472
  const r = document.createElement("style");
473
473
  r.innerHTML = t, e.appendChild(r);
474
474
  }
475
475
  }
476
- function Dr(e, t) {
476
+ function $r(e, t) {
477
477
  const r = new URL(t);
478
478
  fetch(r.href).then((n) => n.text()).then((n) => {
479
479
  const i = document.createElement("style");
@@ -482,7 +482,7 @@ function Dr(e, t) {
482
482
  console.error("There was an error while trying to load client styling from URL", n);
483
483
  });
484
484
  }
485
- function Fr(e, t, r) {
485
+ function Rr(e, t, r) {
486
486
  if (window.emMessageBus) {
487
487
  const n = document.createElement("style");
488
488
  window.emMessageBus.subscribe(t, (i) => {
@@ -504,18 +504,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
504
504
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
505
505
  PERFORMANCE OF THIS SOFTWARE.
506
506
  ***************************************************************************** */
507
- var Le = function(e, t) {
508
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
507
+ var Ie = function(e, t) {
508
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
509
509
  r.__proto__ = n;
510
510
  } || function(r, n) {
511
511
  for (var i in n)
512
512
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
513
- }, Le(e, t);
513
+ }, Ie(e, t);
514
514
  };
515
515
  function O(e, t) {
516
516
  if (typeof t != "function" && t !== null)
517
517
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
518
- Le(e, t);
518
+ Ie(e, t);
519
519
  function r() {
520
520
  this.constructor = e;
521
521
  }
@@ -531,7 +531,7 @@ var b = function() {
531
531
  return t;
532
532
  }, b.apply(this, arguments);
533
533
  };
534
- function Gr(e, t) {
534
+ function Ur(e, t) {
535
535
  var r = {};
536
536
  for (var n in e)
537
537
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -552,7 +552,7 @@ function Ne(e) {
552
552
  };
553
553
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
554
554
  }
555
- function Ce(e, t) {
555
+ function Le(e, t) {
556
556
  var r = typeof Symbol == "function" && e[Symbol.iterator];
557
557
  if (!r)
558
558
  return e;
@@ -581,13 +581,13 @@ function j(e, t, r) {
581
581
  function A(e) {
582
582
  return typeof e == "function";
583
583
  }
584
- function Lt(e) {
584
+ function Ot(e) {
585
585
  var t = function(n) {
586
586
  Error.call(n), n.stack = new Error().stack;
587
587
  }, r = e(t);
588
588
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
589
589
  }
590
- var Se = Lt(function(e) {
590
+ var Se = Ot(function(e) {
591
591
  return function(r) {
592
592
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
593
593
  ` + r.map(function(n, i) {
@@ -596,7 +596,7 @@ var Se = Lt(function(e) {
596
596
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
597
597
  };
598
598
  });
599
- function Me(e, t) {
599
+ function Ce(e, t) {
600
600
  if (e) {
601
601
  var r = e.indexOf(t);
602
602
  0 <= r && e.splice(r, 1);
@@ -641,19 +641,19 @@ var be = function() {
641
641
  if (c) {
642
642
  this._finalizers = null;
643
643
  try {
644
- for (var f = Ne(c), m = f.next(); !m.done; m = f.next()) {
645
- var y = m.value;
644
+ for (var f = Ne(c), p = f.next(); !p.done; p = f.next()) {
645
+ var y = p.value;
646
646
  try {
647
- ot(y);
647
+ nt(y);
648
648
  } catch (g) {
649
- o = o != null ? o : [], g instanceof Se ? o = j(j([], Ce(o)), Ce(g.errors)) : o.push(g);
649
+ o = o != null ? o : [], g instanceof Se ? o = j(j([], Le(o)), Le(g.errors)) : o.push(g);
650
650
  }
651
651
  }
652
652
  } catch (g) {
653
653
  n = { error: g };
654
654
  } finally {
655
655
  try {
656
- m && !m.done && (i = f.return) && i.call(f);
656
+ p && !p.done && (i = f.return) && i.call(f);
657
657
  } finally {
658
658
  if (n)
659
659
  throw n.error;
@@ -667,7 +667,7 @@ var be = function() {
667
667
  var r;
668
668
  if (t && t !== this)
669
669
  if (this.closed)
670
- ot(t);
670
+ nt(t);
671
671
  else {
672
672
  if (t instanceof e) {
673
673
  if (t.closed || t._hasParent(this))
@@ -684,56 +684,56 @@ var be = function() {
684
684
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
685
685
  }, e.prototype._removeParent = function(t) {
686
686
  var r = this._parentage;
687
- r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
687
+ r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
688
688
  }, e.prototype.remove = function(t) {
689
689
  var r = this._finalizers;
690
- r && Me(r, t), t instanceof e && t._removeParent(this);
690
+ r && Ce(r, t), t instanceof e && t._removeParent(this);
691
691
  }, e.EMPTY = function() {
692
692
  var t = new e();
693
693
  return t.closed = !0, t;
694
694
  }(), e;
695
- }(), Nt = be.EMPTY;
696
- function Ct(e) {
695
+ }(), It = be.EMPTY;
696
+ function Nt(e) {
697
697
  return e instanceof be || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
698
698
  }
699
- function ot(e) {
699
+ function nt(e) {
700
700
  A(e) ? e() : e.unsubscribe();
701
701
  }
702
- var Mt = {
702
+ var Dr = {
703
703
  onUnhandledError: null,
704
704
  onStoppedNotification: null,
705
705
  Promise: void 0,
706
706
  useDeprecatedSynchronousErrorHandling: !1,
707
707
  useDeprecatedNextContext: !1
708
- }, jr = {
708
+ }, Gr = {
709
709
  setTimeout: function(e, t) {
710
710
  for (var r = [], n = 2; n < arguments.length; n++)
711
711
  r[n - 2] = arguments[n];
712
- return setTimeout.apply(void 0, j([e, t], Ce(r)));
712
+ return setTimeout.apply(void 0, j([e, t], Le(r)));
713
713
  },
714
714
  clearTimeout: function(e) {
715
715
  return clearTimeout(e);
716
716
  },
717
717
  delegate: void 0
718
718
  };
719
- function kr(e) {
720
- jr.setTimeout(function() {
719
+ function Fr(e) {
720
+ Gr.setTimeout(function() {
721
721
  throw e;
722
722
  });
723
723
  }
724
- function st() {
724
+ function it() {
725
725
  }
726
726
  function le(e) {
727
727
  e();
728
728
  }
729
- var $t = function(e) {
729
+ var Lt = function(e) {
730
730
  O(t, e);
731
731
  function t(r) {
732
732
  var n = e.call(this) || this;
733
- return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = Wr, n;
733
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Vr, n;
734
734
  }
735
735
  return t.create = function(r, n, i) {
736
- return new $e(r, n, i);
736
+ return new Me(r, n, i);
737
737
  }, t.prototype.next = function(r) {
738
738
  this.isStopped || this._next(r);
739
739
  }, t.prototype.error = function(r) {
@@ -757,11 +757,7 @@ var $t = function(e) {
757
757
  this.unsubscribe();
758
758
  }
759
759
  }, t;
760
- }(be), Vr = Function.prototype.bind;
761
- function Te(e, t) {
762
- return Vr.call(e, t);
763
- }
764
- var zr = function() {
760
+ }(be), jr = function() {
765
761
  function e(t) {
766
762
  this.partialObserver = t;
767
763
  }
@@ -792,55 +788,43 @@ var zr = function() {
792
788
  oe(r);
793
789
  }
794
790
  }, e;
795
- }(), $e = function(e) {
791
+ }(), Me = function(e) {
796
792
  O(t, e);
797
793
  function t(r, n, i) {
798
794
  var o = e.call(this) || this, s;
799
- if (A(r) || !r)
800
- s = {
801
- next: r != null ? r : void 0,
802
- error: n != null ? n : void 0,
803
- complete: i != null ? i : void 0
804
- };
805
- else {
806
- var a;
807
- o && Mt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
808
- return o.unsubscribe();
809
- }, s = {
810
- next: r.next && Te(r.next, a),
811
- error: r.error && Te(r.error, a),
812
- complete: r.complete && Te(r.complete, a)
813
- }) : s = r;
814
- }
815
- return o.destination = new zr(s), o;
795
+ return A(r) || !r ? s = {
796
+ next: r != null ? r : void 0,
797
+ error: n != null ? n : void 0,
798
+ complete: i != null ? i : void 0
799
+ } : s = r, o.destination = new jr(s), o;
816
800
  }
817
801
  return t;
818
- }($t);
802
+ }(Lt);
819
803
  function oe(e) {
820
- kr(e);
804
+ Fr(e);
821
805
  }
822
- function Xr(e) {
806
+ function kr(e) {
823
807
  throw e;
824
808
  }
825
- var Wr = {
809
+ var Vr = {
826
810
  closed: !0,
827
- next: st,
828
- error: Xr,
829
- complete: st
830
- }, Zr = function() {
811
+ next: it,
812
+ error: kr,
813
+ complete: it
814
+ }, zr = function() {
831
815
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
832
816
  }();
833
- function Qr(e) {
817
+ function Xr(e) {
834
818
  return e;
835
819
  }
836
- function Jr(e) {
837
- return e.length === 0 ? Qr : e.length === 1 ? e[0] : function(r) {
820
+ function Wr(e) {
821
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
838
822
  return e.reduce(function(n, i) {
839
823
  return i(n);
840
824
  }, r);
841
825
  };
842
826
  }
843
- var at = function() {
827
+ var ot = function() {
844
828
  function e(t) {
845
829
  t && (this._subscribe = t);
846
830
  }
@@ -848,7 +832,7 @@ var at = function() {
848
832
  var r = new e();
849
833
  return r.source = this, r.operator = t, r;
850
834
  }, e.prototype.subscribe = function(t, r, n) {
851
- var i = this, o = qr(t) ? t : new $e(t, r, n);
835
+ var i = this, o = Qr(t) ? t : new Me(t, r, n);
852
836
  return le(function() {
853
837
  var s = i, a = s.operator, u = s.source;
854
838
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -861,8 +845,8 @@ var at = function() {
861
845
  }
862
846
  }, e.prototype.forEach = function(t, r) {
863
847
  var n = this;
864
- return r = ut(r), new r(function(i, o) {
865
- var s = new $e({
848
+ return r = st(r), new r(function(i, o) {
849
+ var s = new Me({
866
850
  next: function(a) {
867
851
  try {
868
852
  t(a);
@@ -878,15 +862,15 @@ var at = function() {
878
862
  }, e.prototype._subscribe = function(t) {
879
863
  var r;
880
864
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
881
- }, e.prototype[Zr] = function() {
865
+ }, e.prototype[zr] = function() {
882
866
  return this;
883
867
  }, e.prototype.pipe = function() {
884
868
  for (var t = [], r = 0; r < arguments.length; r++)
885
869
  t[r] = arguments[r];
886
- return Jr(t)(this);
870
+ return Wr(t)(this);
887
871
  }, e.prototype.toPromise = function(t) {
888
872
  var r = this;
889
- return t = ut(t), new t(function(n, i) {
873
+ return t = st(t), new t(function(n, i) {
890
874
  var o;
891
875
  r.subscribe(function(s) {
892
876
  return o = s;
@@ -900,32 +884,32 @@ var at = function() {
900
884
  return new e(t);
901
885
  }, e;
902
886
  }();
903
- function ut(e) {
887
+ function st(e) {
904
888
  var t;
905
- return (t = e != null ? e : Mt.Promise) !== null && t !== void 0 ? t : Promise;
889
+ return (t = e != null ? e : Dr.Promise) !== null && t !== void 0 ? t : Promise;
906
890
  }
907
- function Yr(e) {
891
+ function Zr(e) {
908
892
  return e && A(e.next) && A(e.error) && A(e.complete);
909
893
  }
910
- function qr(e) {
911
- return e && e instanceof $t || Yr(e) && Ct(e);
894
+ function Qr(e) {
895
+ return e && e instanceof Lt || Zr(e) && Nt(e);
912
896
  }
913
- var Kr = Lt(function(e) {
897
+ var Jr = Ot(function(e) {
914
898
  return function() {
915
899
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
916
900
  };
917
- }), Rt = function(e) {
901
+ }), Ct = function(e) {
918
902
  O(t, e);
919
903
  function t() {
920
904
  var r = e.call(this) || this;
921
905
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
922
906
  }
923
907
  return t.prototype.lift = function(r) {
924
- var n = new ht(this, this);
908
+ var n = new at(this, this);
925
909
  return n.operator = r, n;
926
910
  }, t.prototype._throwIfClosed = function() {
927
911
  if (this.closed)
928
- throw new Kr();
912
+ throw new Jr();
929
913
  }, t.prototype.next = function(r) {
930
914
  var n = this;
931
915
  le(function() {
@@ -982,19 +966,19 @@ var Kr = Lt(function(e) {
982
966
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
983
967
  }, t.prototype._innerSubscribe = function(r) {
984
968
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
985
- return o || s ? Nt : (this.currentObservers = null, a.push(r), new be(function() {
986
- n.currentObservers = null, Me(a, r);
969
+ return o || s ? It : (this.currentObservers = null, a.push(r), new be(function() {
970
+ n.currentObservers = null, Ce(a, r);
987
971
  }));
988
972
  }, t.prototype._checkFinalizedStatuses = function(r) {
989
973
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
990
974
  i ? r.error(o) : s && r.complete();
991
975
  }, t.prototype.asObservable = function() {
992
- var r = new at();
976
+ var r = new ot();
993
977
  return r.source = this, r;
994
978
  }, t.create = function(r, n) {
995
- return new ht(r, n);
979
+ return new at(r, n);
996
980
  }, t;
997
- }(at), ht = function(e) {
981
+ }(ot), at = function(e) {
998
982
  O(t, e);
999
983
  function t(r, n) {
1000
984
  var i = e.call(this) || this;
@@ -1011,17 +995,17 @@ var Kr = Lt(function(e) {
1011
995
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1012
996
  }, t.prototype._subscribe = function(r) {
1013
997
  var n, i;
1014
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
998
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
1015
999
  }, t;
1016
- }(Rt), Ut = {
1000
+ }(Ct), Mt = {
1017
1001
  now: function() {
1018
- return (Ut.delegate || Date).now();
1002
+ return (Mt.delegate || Date).now();
1019
1003
  },
1020
1004
  delegate: void 0
1021
- }, en = function(e) {
1005
+ }, Yr = function(e) {
1022
1006
  O(t, e);
1023
1007
  function t(r, n, i) {
1024
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
1008
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mt);
1025
1009
  var o = e.call(this) || this;
1026
1010
  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;
1027
1011
  }
@@ -1041,15 +1025,15 @@ var Kr = Lt(function(e) {
1041
1025
  h && o.splice(0, h + 1);
1042
1026
  }
1043
1027
  }, t;
1044
- }(Rt);
1045
- const lt = [], ct = {}, tn = (e, t = 0) => {
1046
- if (lt.indexOf(e) == -1) {
1047
- const r = new en(t);
1048
- ct[e] = r, lt.push(e);
1028
+ }(Ct);
1029
+ const ut = [], ht = {}, qr = (e, t = 0) => {
1030
+ if (ut.indexOf(e) == -1) {
1031
+ const r = new Yr(t);
1032
+ ht[e] = r, ut.push(e);
1049
1033
  }
1050
- return ct[e];
1034
+ return ht[e];
1051
1035
  }, D = [];
1052
- function rn(e, t) {
1036
+ function Kr(e, t) {
1053
1037
  return {
1054
1038
  subscribe: ge(e, t).subscribe
1055
1039
  };
@@ -1058,7 +1042,7 @@ function ge(e, t = B) {
1058
1042
  let r;
1059
1043
  const n = /* @__PURE__ */ new Set();
1060
1044
  function i(a) {
1061
- if (Pt(e, a) && (e = a, r)) {
1045
+ if (Bt(e, a) && (e = a, r)) {
1062
1046
  const u = !D.length;
1063
1047
  for (const h of n)
1064
1048
  h[1](), D.push(h, e);
@@ -1085,7 +1069,7 @@ function W(e, t, r) {
1085
1069
  if (!i.every(Boolean))
1086
1070
  throw new Error("derived() expects stores as input, got a falsy value");
1087
1071
  const o = t.length < 2;
1088
- return rn(r, (s, a) => {
1072
+ return Kr(r, (s, a) => {
1089
1073
  let u = !1;
1090
1074
  const h = [];
1091
1075
  let l = 0, c = B;
@@ -1094,9 +1078,9 @@ function W(e, t, r) {
1094
1078
  return;
1095
1079
  c();
1096
1080
  const y = t(n ? h[0] : h, s, a);
1097
- o ? s(y) : c = ze(y) ? y : B;
1098
- }, m = i.map(
1099
- (y, g) => At(
1081
+ o ? s(y) : c = Ve(y) ? y : B;
1082
+ }, p = i.map(
1083
+ (y, g) => Ht(
1100
1084
  y,
1101
1085
  (w) => {
1102
1086
  h[g] = w, l &= ~(1 << g), u && f();
@@ -1107,74 +1091,74 @@ function W(e, t, r) {
1107
1091
  )
1108
1092
  );
1109
1093
  return u = !0, f(), function() {
1110
- re(m), c(), u = !1;
1094
+ re(p), c(), u = !1;
1111
1095
  };
1112
1096
  });
1113
1097
  }
1114
- function nn(e) {
1115
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1098
+ function en(e) {
1099
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1116
1100
  }
1117
- var on = function(t) {
1118
- return sn(t) && !an(t);
1101
+ var tn = function(t) {
1102
+ return rn(t) && !nn(t);
1119
1103
  };
1120
- function sn(e) {
1104
+ function rn(e) {
1121
1105
  return !!e && typeof e == "object";
1122
1106
  }
1123
- function an(e) {
1107
+ function nn(e) {
1124
1108
  var t = Object.prototype.toString.call(e);
1125
- return t === "[object RegExp]" || t === "[object Date]" || ln(e);
1109
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1126
1110
  }
1127
- var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
1128
- function ln(e) {
1129
- return e.$$typeof === hn;
1111
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1112
+ function an(e) {
1113
+ return e.$$typeof === sn;
1130
1114
  }
1131
- function cn(e) {
1115
+ function un(e) {
1132
1116
  return Array.isArray(e) ? [] : {};
1133
1117
  }
1134
1118
  function ee(e, t) {
1135
- return t.clone !== !1 && t.isMergeableObject(e) ? k(cn(e), e, t) : e;
1119
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(un(e), e, t) : e;
1136
1120
  }
1137
- function fn(e, t, r) {
1121
+ function hn(e, t, r) {
1138
1122
  return e.concat(t).map(function(n) {
1139
1123
  return ee(n, r);
1140
1124
  });
1141
1125
  }
1142
- function pn(e, t) {
1126
+ function ln(e, t) {
1143
1127
  if (!t.customMerge)
1144
1128
  return k;
1145
1129
  var r = t.customMerge(e);
1146
1130
  return typeof r == "function" ? r : k;
1147
1131
  }
1148
- function mn(e) {
1132
+ function cn(e) {
1149
1133
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1150
1134
  return Object.propertyIsEnumerable.call(e, t);
1151
1135
  }) : [];
1152
1136
  }
1153
- function ft(e) {
1154
- return Object.keys(e).concat(mn(e));
1137
+ function lt(e) {
1138
+ return Object.keys(e).concat(cn(e));
1155
1139
  }
1156
- function Dt(e, t) {
1140
+ function $t(e, t) {
1157
1141
  try {
1158
1142
  return t in e;
1159
1143
  } catch (r) {
1160
1144
  return !1;
1161
1145
  }
1162
1146
  }
1163
- function dn(e, t) {
1164
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1147
+ function fn(e, t) {
1148
+ return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1165
1149
  }
1166
- function bn(e, t, r) {
1150
+ function dn(e, t, r) {
1167
1151
  var n = {};
1168
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1152
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1169
1153
  n[i] = ee(e[i], r);
1170
- }), ft(t).forEach(function(i) {
1171
- dn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1154
+ }), lt(t).forEach(function(i) {
1155
+ fn(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1172
1156
  }), n;
1173
1157
  }
1174
1158
  function k(e, t, r) {
1175
- r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ee;
1159
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ee;
1176
1160
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1177
- return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ee(t, r);
1161
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : ee(t, r);
1178
1162
  }
1179
1163
  k.all = function(t, r) {
1180
1164
  if (!Array.isArray(t))
@@ -1183,62 +1167,64 @@ k.all = function(t, r) {
1183
1167
  return k(n, i, r);
1184
1168
  }, {});
1185
1169
  };
1186
- var gn = k, yn = gn;
1187
- const vn = /* @__PURE__ */ nn(yn);
1188
- function we(e, t) {
1189
- var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : xn;
1170
+ var pn = k, mn = pn;
1171
+ const bn = /* @__PURE__ */ en(mn);
1172
+ function Te(e, t) {
1173
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : yn;
1190
1174
  return i(e, {
1191
1175
  cache: r,
1192
1176
  serializer: n
1193
1177
  });
1194
1178
  }
1195
- function En(e) {
1179
+ function gn(e) {
1196
1180
  return e == null || typeof e == "number" || typeof e == "boolean";
1197
1181
  }
1198
- function Ft(e, t, r, n) {
1199
- var i = En(n) ? n : r(n), o = t.get(i);
1182
+ function Rt(e, t, r, n) {
1183
+ var i = gn(n) ? n : r(n), o = t.get(i);
1200
1184
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1201
1185
  }
1202
- function Gt(e, t, r) {
1186
+ function Ut(e, t, r) {
1203
1187
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1204
1188
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1205
1189
  }
1206
- function We(e, t, r, n, i) {
1190
+ function Xe(e, t, r, n, i) {
1207
1191
  return r.bind(t, e, n, i);
1208
1192
  }
1209
- function xn(e, t) {
1210
- var r = e.length === 1 ? Ft : Gt;
1211
- return We(e, this, r, t.cache.create(), t.serializer);
1193
+ function yn(e, t) {
1194
+ var r = e.length === 1 ? Rt : Ut;
1195
+ return Xe(e, this, r, t.cache.create(), t.serializer);
1212
1196
  }
1213
- function _n(e, t) {
1214
- return We(e, this, Gt, t.cache.create(), t.serializer);
1197
+ function vn(e, t) {
1198
+ return Xe(e, this, Ut, t.cache.create(), t.serializer);
1215
1199
  }
1216
- function Sn(e, t) {
1217
- return We(e, this, Ft, t.cache.create(), t.serializer);
1200
+ function En(e, t) {
1201
+ return Xe(e, this, Rt, t.cache.create(), t.serializer);
1218
1202
  }
1219
- var Tn = function() {
1203
+ var xn = function() {
1220
1204
  return JSON.stringify(arguments);
1221
- };
1222
- function Ze() {
1223
- this.cache = /* @__PURE__ */ Object.create(null);
1224
- }
1225
- Ze.prototype.get = function(e) {
1226
- return this.cache[e];
1227
- };
1228
- Ze.prototype.set = function(e, t) {
1229
- this.cache[e] = t;
1230
- };
1231
- var wn = {
1205
+ }, _n = (
1206
+ /** @class */
1207
+ function() {
1208
+ function e() {
1209
+ this.cache = /* @__PURE__ */ Object.create(null);
1210
+ }
1211
+ return e.prototype.get = function(t) {
1212
+ return this.cache[t];
1213
+ }, e.prototype.set = function(t, r) {
1214
+ this.cache[t] = r;
1215
+ }, e;
1216
+ }()
1217
+ ), Sn = {
1232
1218
  create: function() {
1233
- return new Ze();
1219
+ return new _n();
1234
1220
  }
1235
- }, Be = {
1236
- variadic: _n,
1237
- monadic: Sn
1238
- }, p;
1221
+ }, we = {
1222
+ variadic: vn,
1223
+ monadic: En
1224
+ }, d;
1239
1225
  (function(e) {
1240
1226
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1241
- })(p || (p = {}));
1227
+ })(d || (d = {}));
1242
1228
  var E;
1243
1229
  (function(e) {
1244
1230
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
@@ -1247,43 +1233,43 @@ var V;
1247
1233
  (function(e) {
1248
1234
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1249
1235
  })(V || (V = {}));
1250
- function pt(e) {
1236
+ function ct(e) {
1251
1237
  return e.type === E.literal;
1252
1238
  }
1253
- function Bn(e) {
1239
+ function Tn(e) {
1254
1240
  return e.type === E.argument;
1255
1241
  }
1256
- function jt(e) {
1242
+ function Dt(e) {
1257
1243
  return e.type === E.number;
1258
1244
  }
1259
- function kt(e) {
1245
+ function Gt(e) {
1260
1246
  return e.type === E.date;
1261
1247
  }
1262
- function Vt(e) {
1248
+ function Ft(e) {
1263
1249
  return e.type === E.time;
1264
1250
  }
1265
- function zt(e) {
1251
+ function jt(e) {
1266
1252
  return e.type === E.select;
1267
1253
  }
1268
- function Xt(e) {
1254
+ function kt(e) {
1269
1255
  return e.type === E.plural;
1270
1256
  }
1271
- function Hn(e) {
1257
+ function wn(e) {
1272
1258
  return e.type === E.pound;
1273
1259
  }
1274
- function Wt(e) {
1260
+ function Vt(e) {
1275
1261
  return e.type === E.tag;
1276
1262
  }
1277
- function Zt(e) {
1263
+ function zt(e) {
1278
1264
  return !!(e && typeof e == "object" && e.type === V.number);
1279
1265
  }
1280
- function Re(e) {
1266
+ function $e(e) {
1281
1267
  return !!(e && typeof e == "object" && e.type === V.dateTime);
1282
1268
  }
1283
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1284
- function An(e) {
1269
+ var Xt = /[ \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;
1270
+ function Hn(e) {
1285
1271
  var t = {};
1286
- return e.replace(Pn, function(r) {
1272
+ return e.replace(Bn, function(r) {
1287
1273
  var n = r.length;
1288
1274
  switch (r[0]) {
1289
1275
  case "G":
@@ -1372,11 +1358,11 @@ function An(e) {
1372
1358
  return "";
1373
1359
  }), t;
1374
1360
  }
1375
- var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1376
- function In(e) {
1361
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1362
+ function An(e) {
1377
1363
  if (e.length === 0)
1378
1364
  throw new Error("Number skeleton cannot be empty");
1379
- for (var t = e.split(On).filter(function(f) {
1365
+ for (var t = e.split(Pn).filter(function(f) {
1380
1366
  return f.length > 0;
1381
1367
  }), r = [], n = 0, i = t; n < i.length; n++) {
1382
1368
  var o = i[n], s = o.split("/");
@@ -1391,17 +1377,17 @@ function In(e) {
1391
1377
  }
1392
1378
  return r;
1393
1379
  }
1394
- function Ln(e) {
1380
+ function On(e) {
1395
1381
  return e.replace(/^(.*?)-/, "");
1396
1382
  }
1397
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1383
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1398
1384
  function dt(e) {
1399
1385
  var t = {};
1400
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1386
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
1401
1387
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1402
1388
  }), t;
1403
1389
  }
1404
- function qt(e) {
1390
+ function Qt(e) {
1405
1391
  switch (e) {
1406
1392
  case "sign-auto":
1407
1393
  return {
@@ -1441,7 +1427,7 @@ function qt(e) {
1441
1427
  };
1442
1428
  }
1443
1429
  }
1444
- function Cn(e) {
1430
+ function Nn(e) {
1445
1431
  var t;
1446
1432
  if (e[0] === "E" && e[1] === "E" ? (t = {
1447
1433
  notation: "engineering"
@@ -1449,17 +1435,17 @@ function Cn(e) {
1449
1435
  notation: "scientific"
1450
1436
  }, e = e.slice(1)), t) {
1451
1437
  var r = e.slice(0, 2);
1452
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1438
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1453
1439
  throw new Error("Malformed concise eng/scientific notation");
1454
1440
  t.minimumIntegerDigits = e.length;
1455
1441
  }
1456
1442
  return t;
1457
1443
  }
1458
- function bt(e) {
1459
- var t = {}, r = qt(e);
1444
+ function pt(e) {
1445
+ var t = {}, r = Qt(e);
1460
1446
  return r || t;
1461
1447
  }
1462
- function Mn(e) {
1448
+ function Ln(e) {
1463
1449
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1464
1450
  var i = n[r];
1465
1451
  switch (i.stem) {
@@ -1483,7 +1469,7 @@ function Mn(e) {
1483
1469
  continue;
1484
1470
  case "measure-unit":
1485
1471
  case "unit":
1486
- t.style = "unit", t.unit = Ln(i.options[0]);
1472
+ t.style = "unit", t.unit = On(i.options[0]);
1487
1473
  continue;
1488
1474
  case "compact-short":
1489
1475
  case "K":
@@ -1495,12 +1481,12 @@ function Mn(e) {
1495
1481
  continue;
1496
1482
  case "scientific":
1497
1483
  t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1498
- return b(b({}, u), bt(h));
1484
+ return b(b({}, u), pt(h));
1499
1485
  }, {}));
1500
1486
  continue;
1501
1487
  case "engineering":
1502
1488
  t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1503
- return b(b({}, u), bt(h));
1489
+ return b(b({}, u), pt(h));
1504
1490
  }, {}));
1505
1491
  continue;
1506
1492
  case "notation-simple":
@@ -1545,40 +1531,40 @@ function Mn(e) {
1545
1531
  case "integer-width":
1546
1532
  if (i.options.length > 1)
1547
1533
  throw new RangeError("integer-width stems only accept a single optional option");
1548
- i.options[0].replace(Nn, function(u, h, l, c, f, m) {
1534
+ i.options[0].replace(In, function(u, h, l, c, f, p) {
1549
1535
  if (h)
1550
1536
  t.minimumIntegerDigits = l.length;
1551
1537
  else {
1552
1538
  if (c && f)
1553
1539
  throw new Error("We currently do not support maximum integer digits");
1554
- if (m)
1540
+ if (p)
1555
1541
  throw new Error("We currently do not support exact integer digits");
1556
1542
  }
1557
1543
  return "";
1558
1544
  });
1559
1545
  continue;
1560
1546
  }
1561
- if (Yt.test(i.stem)) {
1547
+ if (Zt.test(i.stem)) {
1562
1548
  t.minimumIntegerDigits = i.stem.length;
1563
1549
  continue;
1564
1550
  }
1565
- if (mt.test(i.stem)) {
1551
+ if (ft.test(i.stem)) {
1566
1552
  if (i.options.length > 1)
1567
1553
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1568
- i.stem.replace(mt, function(u, h, l, c, f, m) {
1569
- return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1554
+ i.stem.replace(ft, function(u, h, l, c, f, p) {
1555
+ return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1570
1556
  });
1571
1557
  var o = i.options[0];
1572
1558
  o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), dt(o)));
1573
1559
  continue;
1574
1560
  }
1575
- if (Jt.test(i.stem)) {
1561
+ if (Wt.test(i.stem)) {
1576
1562
  t = b(b({}, t), dt(i.stem));
1577
1563
  continue;
1578
1564
  }
1579
- var s = qt(i.stem);
1565
+ var s = Qt(i.stem);
1580
1566
  s && (t = b(b({}, t), s));
1581
- var a = Cn(i.stem);
1567
+ var a = Nn(i.stem);
1582
1568
  a && (t = b(b({}, t), a));
1583
1569
  }
1584
1570
  return t;
@@ -2998,13 +2984,13 @@ var se = {
2998
2984
  "h"
2999
2985
  ]
3000
2986
  };
3001
- function $n(e, t) {
2987
+ function Cn(e, t) {
3002
2988
  for (var r = "", n = 0; n < e.length; n++) {
3003
2989
  var i = e.charAt(n);
3004
2990
  if (i === "j") {
3005
2991
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3006
2992
  o++, n++;
3007
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Rn(t);
2993
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Mn(t);
3008
2994
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3009
2995
  r += u;
3010
2996
  for (; s-- > 0; )
@@ -3014,7 +3000,7 @@ function $n(e, t) {
3014
3000
  }
3015
3001
  return r;
3016
3002
  }
3017
- function Rn(e) {
3003
+ function Mn(e) {
3018
3004
  var t = e.hourCycle;
3019
3005
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3020
3006
  e.hourCycles && // @ts-ignore
@@ -3036,20 +3022,20 @@ function Rn(e) {
3036
3022
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
3037
3023
  return i[0];
3038
3024
  }
3039
- var He, Un = new RegExp("^".concat(Qt.source, "*")), Dn = new RegExp("".concat(Qt.source, "*$"));
3040
- function d(e, t) {
3025
+ var Be, $n = new RegExp("^".concat(Xt.source, "*")), Rn = new RegExp("".concat(Xt.source, "*$"));
3026
+ function m(e, t) {
3041
3027
  return { start: e, end: t };
3042
3028
  }
3043
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
3029
+ var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Gn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, zn = Vn ? Number.isSafeInteger : function(e) {
3044
3030
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3045
- }, Ue = !0;
3031
+ }, Re = !0;
3046
3032
  try {
3047
- var Zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3048
- Ue = ((He = Zn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3033
+ var Xn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
+ Re = ((Be = Xn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3049
3035
  } catch (e) {
3050
- Ue = !1;
3036
+ Re = !1;
3051
3037
  }
3052
- var gt = Fn ? (
3038
+ var mt = Un ? (
3053
3039
  // Native
3054
3040
  function(t, r, n) {
3055
3041
  return t.startsWith(r, n);
@@ -3059,7 +3045,7 @@ var gt = Fn ? (
3059
3045
  function(t, r, n) {
3060
3046
  return t.slice(n, n + r.length) === r;
3061
3047
  }
3062
- ), De = Gn ? String.fromCodePoint : (
3048
+ ), Ue = Dn ? String.fromCodePoint : (
3063
3049
  // IE11
3064
3050
  function() {
3065
3051
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3071,9 +3057,9 @@ var gt = Fn ? (
3071
3057
  }
3072
3058
  return n;
3073
3059
  }
3074
- ), yt = (
3060
+ ), bt = (
3075
3061
  // native
3076
- jn ? Object.fromEntries : (
3062
+ Gn ? Object.fromEntries : (
3077
3063
  // Ponyfill
3078
3064
  function(t) {
3079
3065
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3083,7 +3069,7 @@ var gt = Fn ? (
3083
3069
  return r;
3084
3070
  }
3085
3071
  )
3086
- ), Kt = kn ? (
3072
+ ), Jt = Fn ? (
3087
3073
  // Native
3088
3074
  function(t, r) {
3089
3075
  return t.codePointAt(r);
@@ -3097,7 +3083,7 @@ var gt = Fn ? (
3097
3083
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3098
3084
  }
3099
3085
  }
3100
- ), Qn = Vn ? (
3086
+ ), Wn = jn ? (
3101
3087
  // Native
3102
3088
  function(t) {
3103
3089
  return t.trimStart();
@@ -3105,9 +3091,9 @@ var gt = Fn ? (
3105
3091
  ) : (
3106
3092
  // Ponyfill
3107
3093
  function(t) {
3108
- return t.replace(Un, "");
3094
+ return t.replace($n, "");
3109
3095
  }
3110
- ), Jn = zn ? (
3096
+ ), Zn = kn ? (
3111
3097
  // Native
3112
3098
  function(t) {
3113
3099
  return t.trimEnd();
@@ -3115,32 +3101,32 @@ var gt = Fn ? (
3115
3101
  ) : (
3116
3102
  // Ponyfill
3117
3103
  function(t) {
3118
- return t.replace(Dn, "");
3104
+ return t.replace(Rn, "");
3119
3105
  }
3120
3106
  );
3121
- function er(e, t) {
3107
+ function Yt(e, t) {
3122
3108
  return new RegExp(e, t);
3123
3109
  }
3124
- var Fe;
3125
- if (Ue) {
3126
- var vt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3127
- Fe = function(t, r) {
3110
+ var De;
3111
+ if (Re) {
3112
+ var gt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
+ De = function(t, r) {
3128
3114
  var n;
3129
- vt.lastIndex = r;
3130
- var i = vt.exec(t);
3115
+ gt.lastIndex = r;
3116
+ var i = gt.exec(t);
3131
3117
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3132
3118
  };
3133
3119
  } else
3134
- Fe = function(t, r) {
3120
+ De = function(t, r) {
3135
3121
  for (var n = []; ; ) {
3136
- var i = Kt(t, r);
3137
- if (i === void 0 || tr(i) || ei(i))
3122
+ var i = Jt(t, r);
3123
+ if (i === void 0 || qt(i) || qn(i))
3138
3124
  break;
3139
3125
  n.push(i), r += i >= 65536 ? 2 : 1;
3140
3126
  }
3141
- return De.apply(void 0, n);
3127
+ return Ue.apply(void 0, n);
3142
3128
  };
3143
- var Yn = (
3129
+ var Qn = (
3144
3130
  /** @class */
3145
3131
  function() {
3146
3132
  function e(t, r) {
@@ -3165,12 +3151,12 @@ var Yn = (
3165
3151
  var a = this.clonePosition();
3166
3152
  this.bump(), i.push({
3167
3153
  type: E.pound,
3168
- location: d(a, this.clonePosition())
3154
+ location: m(a, this.clonePosition())
3169
3155
  });
3170
3156
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3171
3157
  if (n)
3172
3158
  break;
3173
- return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3159
+ return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3174
3160
  } else if (o === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
3175
3161
  var s = this.parseTag(t, r);
3176
3162
  if (s.err)
@@ -3194,7 +3180,7 @@ var Yn = (
3194
3180
  val: {
3195
3181
  type: E.literal,
3196
3182
  value: "<".concat(i, "/>"),
3197
- location: d(n, this.clonePosition())
3183
+ location: m(n, this.clonePosition())
3198
3184
  },
3199
3185
  err: null
3200
3186
  };
@@ -3205,24 +3191,24 @@ var Yn = (
3205
3191
  var s = o.val, a = this.clonePosition();
3206
3192
  if (this.bumpIf("</")) {
3207
3193
  if (this.isEOF() || !Ge(this.char()))
3208
- return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3194
+ return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3209
3195
  var u = this.clonePosition(), h = this.parseTagName();
3210
- return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, d(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3196
+ return i !== h ? this.error(d.UNMATCHED_CLOSING_TAG, m(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3211
3197
  val: {
3212
3198
  type: E.tag,
3213
3199
  value: i,
3214
3200
  children: s,
3215
- location: d(n, this.clonePosition())
3201
+ location: m(n, this.clonePosition())
3216
3202
  },
3217
3203
  err: null
3218
- } : this.error(p.INVALID_TAG, d(a, this.clonePosition())));
3204
+ } : this.error(d.INVALID_TAG, m(a, this.clonePosition())));
3219
3205
  } else
3220
- return this.error(p.UNCLOSED_TAG, d(n, this.clonePosition()));
3206
+ return this.error(d.UNCLOSED_TAG, m(n, this.clonePosition()));
3221
3207
  } else
3222
- return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3208
+ return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3223
3209
  }, e.prototype.parseTagName = function() {
3224
3210
  var t = this.offset();
3225
- for (this.bump(); !this.isEOF() && Kn(this.char()); )
3211
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3226
3212
  this.bump();
3227
3213
  return this.message.slice(t, this.offset());
3228
3214
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3244,14 +3230,14 @@ var Yn = (
3244
3230
  }
3245
3231
  break;
3246
3232
  }
3247
- var u = d(n, this.clonePosition());
3233
+ var u = m(n, this.clonePosition());
3248
3234
  return {
3249
3235
  val: { type: E.literal, value: i, location: u },
3250
3236
  err: null
3251
3237
  };
3252
3238
  }, e.prototype.tryParseLeftAngleBracket = function() {
3253
3239
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3254
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3240
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3255
3241
  }, e.prototype.tryParseQuote = function(t) {
3256
3242
  if (this.isEOF() || this.char() !== 39)
3257
3243
  return null;
@@ -3285,23 +3271,23 @@ var Yn = (
3285
3271
  r.push(n);
3286
3272
  this.bump();
3287
3273
  }
3288
- return De.apply(void 0, r);
3274
+ return Ue.apply(void 0, r);
3289
3275
  }, e.prototype.tryParseUnquoted = function(t, r) {
3290
3276
  if (this.isEOF())
3291
3277
  return null;
3292
3278
  var n = this.char();
3293
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3279
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
3294
3280
  }, e.prototype.parseArgument = function(t, r) {
3295
3281
  var n = this.clonePosition();
3296
3282
  if (this.bump(), this.bumpSpace(), this.isEOF())
3297
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3283
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3298
3284
  if (this.char() === 125)
3299
- return this.bump(), this.error(p.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3285
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, m(n, this.clonePosition()));
3300
3286
  var i = this.parseIdentifierIfPossible().value;
3301
3287
  if (!i)
3302
- return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3288
+ return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3303
3289
  if (this.bumpSpace(), this.isEOF())
3304
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3290
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3305
3291
  switch (this.char()) {
3306
3292
  case 125:
3307
3293
  return this.bump(), {
@@ -3309,25 +3295,25 @@ var Yn = (
3309
3295
  type: E.argument,
3310
3296
  // value does not include the opening and closing braces.
3311
3297
  value: i,
3312
- location: d(n, this.clonePosition())
3298
+ location: m(n, this.clonePosition())
3313
3299
  },
3314
3300
  err: null
3315
3301
  };
3316
3302
  case 44:
3317
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3303
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3318
3304
  default:
3319
- return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3305
+ return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3320
3306
  }
3321
3307
  }, e.prototype.parseIdentifierIfPossible = function() {
3322
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
3308
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3323
3309
  this.bumpTo(i);
3324
- var o = this.clonePosition(), s = d(t, o);
3310
+ var o = this.clonePosition(), s = m(t, o);
3325
3311
  return { value: n, location: s };
3326
3312
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3327
3313
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3328
3314
  switch (a) {
3329
3315
  case "":
3330
- return this.error(p.EXPECT_ARGUMENT_TYPE, d(s, u));
3316
+ return this.error(d.EXPECT_ARGUMENT_TYPE, m(s, u));
3331
3317
  case "number":
3332
3318
  case "date":
3333
3319
  case "time": {
@@ -3338,18 +3324,18 @@ var Yn = (
3338
3324
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3339
3325
  if (c.err)
3340
3326
  return c;
3341
- var f = Jn(c.val);
3327
+ var f = Zn(c.val);
3342
3328
  if (f.length === 0)
3343
- return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3344
- var m = d(l, this.clonePosition());
3345
- h = { style: f, styleLocation: m };
3329
+ return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3330
+ var p = m(l, this.clonePosition());
3331
+ h = { style: f, styleLocation: p };
3346
3332
  }
3347
3333
  var y = this.tryParseArgumentClose(i);
3348
3334
  if (y.err)
3349
3335
  return y;
3350
- var g = d(i, this.clonePosition());
3351
- if (h && gt(h == null ? void 0 : h.style, "::", 0)) {
3352
- var w = Qn(h.style.slice(2));
3336
+ var g = m(i, this.clonePosition());
3337
+ if (h && mt(h == null ? void 0 : h.style, "::", 0)) {
3338
+ var w = Wn(h.style.slice(2));
3353
3339
  if (a === "number") {
3354
3340
  var c = this.parseNumberSkeletonFromString(w, h.styleLocation);
3355
3341
  return c.err ? c : {
@@ -3358,14 +3344,14 @@ var Yn = (
3358
3344
  };
3359
3345
  } else {
3360
3346
  if (w.length === 0)
3361
- return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
3362
- var N = w;
3363
- this.locale && (N = $n(w, this.locale));
3347
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3348
+ var L = w;
3349
+ this.locale && (L = Cn(w, this.locale));
3364
3350
  var f = {
3365
3351
  type: V.dateTime,
3366
- pattern: N,
3352
+ pattern: L,
3367
3353
  location: h.styleLocation,
3368
- parsedOptions: this.shouldParseSkeletons ? An(N) : {}
3354
+ parsedOptions: this.shouldParseSkeletons ? Hn(L) : {}
3369
3355
  }, I = a === "date" ? E.date : E.time;
3370
3356
  return {
3371
3357
  val: { type: I, value: n, location: g, style: f },
@@ -3388,14 +3374,14 @@ var Yn = (
3388
3374
  case "select": {
3389
3375
  var _ = this.clonePosition();
3390
3376
  if (this.bumpSpace(), !this.bumpIf(","))
3391
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(_, b({}, _)));
3377
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(_, b({}, _)));
3392
3378
  this.bumpSpace();
3393
3379
  var H = this.parseIdentifierIfPossible(), S = 0;
3394
3380
  if (a !== "select" && H.value === "offset") {
3395
3381
  if (!this.bumpIf(":"))
3396
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3382
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3397
3383
  this.bumpSpace();
3398
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3384
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3399
3385
  if (c.err)
3400
3386
  return c;
3401
3387
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), S = c.val;
@@ -3406,12 +3392,12 @@ var Yn = (
3406
3392
  var y = this.tryParseArgumentClose(i);
3407
3393
  if (y.err)
3408
3394
  return y;
3409
- var ie = d(i, this.clonePosition());
3395
+ var ie = m(i, this.clonePosition());
3410
3396
  return a === "select" ? {
3411
3397
  val: {
3412
3398
  type: E.select,
3413
3399
  value: n,
3414
- options: yt($.val),
3400
+ options: bt($.val),
3415
3401
  location: ie
3416
3402
  },
3417
3403
  err: null
@@ -3419,7 +3405,7 @@ var Yn = (
3419
3405
  val: {
3420
3406
  type: E.plural,
3421
3407
  value: n,
3422
- options: yt($.val),
3408
+ options: bt($.val),
3423
3409
  offset: S,
3424
3410
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3425
3411
  location: ie
@@ -3428,10 +3414,10 @@ var Yn = (
3428
3414
  };
3429
3415
  }
3430
3416
  default:
3431
- return this.error(p.INVALID_ARGUMENT_TYPE, d(s, u));
3417
+ return this.error(d.INVALID_ARGUMENT_TYPE, m(s, u));
3432
3418
  }
3433
3419
  }, e.prototype.tryParseArgumentClose = function(t) {
3434
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3420
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3435
3421
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3436
3422
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3437
3423
  var n = this.char();
@@ -3440,7 +3426,7 @@ var Yn = (
3440
3426
  this.bump();
3441
3427
  var i = this.clonePosition();
3442
3428
  if (!this.bumpUntil("'"))
3443
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3429
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, m(i, this.clonePosition()));
3444
3430
  this.bump();
3445
3431
  break;
3446
3432
  }
@@ -3470,16 +3456,16 @@ var Yn = (
3470
3456
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3471
3457
  var n = [];
3472
3458
  try {
3473
- n = In(t);
3459
+ n = An(t);
3474
3460
  } catch (i) {
3475
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3461
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3476
3462
  }
3477
3463
  return {
3478
3464
  val: {
3479
3465
  type: V.number,
3480
3466
  tokens: n,
3481
3467
  location: r,
3482
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3468
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3483
3469
  },
3484
3470
  err: null
3485
3471
  };
@@ -3488,34 +3474,34 @@ var Yn = (
3488
3474
  if (h.length === 0) {
3489
3475
  var c = this.clonePosition();
3490
3476
  if (r !== "select" && this.bumpIf("=")) {
3491
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3477
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3492
3478
  if (f.err)
3493
3479
  return f;
3494
- l = d(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3480
+ l = m(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3495
3481
  } else
3496
3482
  break;
3497
3483
  }
3498
3484
  if (u.has(h))
3499
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3485
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3500
3486
  h === "other" && (s = !0), this.bumpSpace();
3501
- var m = this.clonePosition();
3487
+ var p = this.clonePosition();
3502
3488
  if (!this.bumpIf("{"))
3503
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3489
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3504
3490
  var y = this.parseMessage(t + 1, r, n);
3505
3491
  if (y.err)
3506
3492
  return y;
3507
- var g = this.tryParseArgumentClose(m);
3493
+ var g = this.tryParseArgumentClose(p);
3508
3494
  if (g.err)
3509
3495
  return g;
3510
3496
  a.push([
3511
3497
  h,
3512
3498
  {
3513
3499
  value: y.val,
3514
- location: d(m, this.clonePosition())
3500
+ location: m(p, this.clonePosition())
3515
3501
  }
3516
3502
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3517
3503
  }
3518
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3504
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, m(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, m(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3519
3505
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3520
3506
  var n = 1, i = this.clonePosition();
3521
3507
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3526,8 +3512,8 @@ var Yn = (
3526
3512
  else
3527
3513
  break;
3528
3514
  }
3529
- var u = d(i, this.clonePosition());
3530
- return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3515
+ var u = m(i, this.clonePosition());
3516
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3531
3517
  }, e.prototype.offset = function() {
3532
3518
  return this.position.offset;
3533
3519
  }, e.prototype.isEOF = function() {
@@ -3542,7 +3528,7 @@ var Yn = (
3542
3528
  var t = this.position.offset;
3543
3529
  if (t >= this.message.length)
3544
3530
  throw Error("out of bound");
3545
- var r = Kt(this.message, t);
3531
+ var r = Jt(this.message, t);
3546
3532
  if (r === void 0)
3547
3533
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3548
3534
  return r;
@@ -3561,7 +3547,7 @@ var Yn = (
3561
3547
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3562
3548
  }
3563
3549
  }, e.prototype.bumpIf = function(t) {
3564
- if (gt(this.message, t, this.offset())) {
3550
+ if (mt(this.message, t, this.offset())) {
3565
3551
  for (var r = 0; r < t.length; r++)
3566
3552
  this.bump();
3567
3553
  return !0;
@@ -3583,7 +3569,7 @@ var Yn = (
3583
3569
  break;
3584
3570
  }
3585
3571
  }, e.prototype.bumpSpace = function() {
3586
- for (; !this.isEOF() && tr(this.char()); )
3572
+ for (; !this.isEOF() && qt(this.char()); )
3587
3573
  this.bump();
3588
3574
  }, e.prototype.peek = function() {
3589
3575
  if (this.isEOF())
@@ -3596,35 +3582,35 @@ var Yn = (
3596
3582
  function Ge(e) {
3597
3583
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3598
3584
  }
3599
- function qn(e) {
3585
+ function Jn(e) {
3600
3586
  return Ge(e) || e === 47;
3601
3587
  }
3602
- function Kn(e) {
3588
+ function Yn(e) {
3603
3589
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3604
3590
  }
3605
- function tr(e) {
3591
+ function qt(e) {
3606
3592
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3607
3593
  }
3608
- function ei(e) {
3594
+ function qn(e) {
3609
3595
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3610
3596
  }
3611
- function je(e) {
3597
+ function Fe(e) {
3612
3598
  e.forEach(function(t) {
3613
- if (delete t.location, zt(t) || Xt(t))
3599
+ if (delete t.location, jt(t) || kt(t))
3614
3600
  for (var r in t.options)
3615
- delete t.options[r].location, je(t.options[r].value);
3601
+ delete t.options[r].location, Fe(t.options[r].value);
3616
3602
  else
3617
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && Re(t.style) ? delete t.style.location : Wt(t) && je(t.children);
3603
+ Dt(t) && zt(t.style) || (Gt(t) || Ft(t)) && $e(t.style) ? delete t.style.location : Vt(t) && Fe(t.children);
3618
3604
  });
3619
3605
  }
3620
- function ti(e, t) {
3606
+ function Kn(e, t) {
3621
3607
  t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3622
- var r = new Yn(e, t).parse();
3608
+ var r = new Qn(e, t).parse();
3623
3609
  if (r.err) {
3624
- var n = SyntaxError(p[r.err.kind]);
3610
+ var n = SyntaxError(d[r.err.kind]);
3625
3611
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3626
3612
  }
3627
- return t != null && t.captureLocation || je(r.val), r.val;
3613
+ return t != null && t.captureLocation || Fe(r.val), r.val;
3628
3614
  }
3629
3615
  var z;
3630
3616
  (function(e) {
@@ -3642,7 +3628,7 @@ var ye = (
3642
3628
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3643
3629
  }, t;
3644
3630
  }(Error)
3645
- ), Et = (
3631
+ ), yt = (
3646
3632
  /** @class */
3647
3633
  function(e) {
3648
3634
  O(t, e);
@@ -3651,7 +3637,7 @@ var ye = (
3651
3637
  }
3652
3638
  return t;
3653
3639
  }(ye)
3654
- ), ri = (
3640
+ ), ei = (
3655
3641
  /** @class */
3656
3642
  function(e) {
3657
3643
  O(t, e);
@@ -3660,7 +3646,7 @@ var ye = (
3660
3646
  }
3661
3647
  return t;
3662
3648
  }(ye)
3663
- ), ni = (
3649
+ ), ti = (
3664
3650
  /** @class */
3665
3651
  function(e) {
3666
3652
  O(t, e);
@@ -3673,17 +3659,17 @@ var ye = (
3673
3659
  (function(e) {
3674
3660
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3675
3661
  })(x || (x = {}));
3676
- function ii(e) {
3662
+ function ri(e) {
3677
3663
  return e.length < 2 ? e : e.reduce(function(t, r) {
3678
3664
  var n = t[t.length - 1];
3679
3665
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3680
3666
  }, []);
3681
3667
  }
3682
- function oi(e) {
3668
+ function ni(e) {
3683
3669
  return typeof e == "function";
3684
3670
  }
3685
3671
  function ce(e, t, r, n, i, o, s) {
3686
- if (e.length === 1 && pt(e[0]))
3672
+ if (e.length === 1 && ct(e[0]))
3687
3673
  return [
3688
3674
  {
3689
3675
  type: x.literal,
@@ -3692,14 +3678,14 @@ function ce(e, t, r, n, i, o, s) {
3692
3678
  ];
3693
3679
  for (var a = [], u = 0, h = e; u < h.length; u++) {
3694
3680
  var l = h[u];
3695
- if (pt(l)) {
3681
+ if (ct(l)) {
3696
3682
  a.push({
3697
3683
  type: x.literal,
3698
3684
  value: l.value
3699
3685
  });
3700
3686
  continue;
3701
3687
  }
3702
- if (Hn(l)) {
3688
+ if (wn(l)) {
3703
3689
  typeof o == "number" && a.push({
3704
3690
  type: x.literal,
3705
3691
  value: r.getNumberFormat(t).format(o)
@@ -3708,44 +3694,44 @@ function ce(e, t, r, n, i, o, s) {
3708
3694
  }
3709
3695
  var c = l.value;
3710
3696
  if (!(i && c in i))
3711
- throw new ni(c, s);
3697
+ throw new ti(c, s);
3712
3698
  var f = i[c];
3713
- if (Bn(l)) {
3699
+ if (Tn(l)) {
3714
3700
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3715
3701
  type: typeof f == "string" ? x.literal : x.object,
3716
3702
  value: f
3717
3703
  });
3718
3704
  continue;
3719
3705
  }
3720
- if (kt(l)) {
3721
- var m = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3706
+ if (Gt(l)) {
3707
+ var p = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3722
3708
  a.push({
3723
3709
  type: x.literal,
3724
- value: r.getDateTimeFormat(t, m).format(f)
3710
+ value: r.getDateTimeFormat(t, p).format(f)
3725
3711
  });
3726
3712
  continue;
3727
3713
  }
3728
- if (Vt(l)) {
3729
- var m = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3714
+ if (Ft(l)) {
3715
+ var p = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3730
3716
  a.push({
3731
3717
  type: x.literal,
3732
- value: r.getDateTimeFormat(t, m).format(f)
3718
+ value: r.getDateTimeFormat(t, p).format(f)
3733
3719
  });
3734
3720
  continue;
3735
3721
  }
3736
- if (jt(l)) {
3737
- var m = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
3738
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3722
+ if (Dt(l)) {
3723
+ var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3724
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3739
3725
  type: x.literal,
3740
- value: r.getNumberFormat(t, m).format(f)
3726
+ value: r.getNumberFormat(t, p).format(f)
3741
3727
  });
3742
3728
  continue;
3743
3729
  }
3744
- if (Wt(l)) {
3730
+ if (Vt(l)) {
3745
3731
  var y = l.children, g = l.value, w = i[g];
3746
- if (!oi(w))
3747
- throw new ri(g, "function", s);
3748
- var N = ce(y, t, r, n, i, o), I = w(N.map(function(S) {
3732
+ if (!ni(w))
3733
+ throw new ei(g, "function", s);
3734
+ var L = ce(y, t, r, n, i, o), I = w(L.map(function(S) {
3749
3735
  return S.value;
3750
3736
  }));
3751
3737
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(S) {
@@ -3755,14 +3741,14 @@ function ce(e, t, r, n, i, o, s) {
3755
3741
  };
3756
3742
  }));
3757
3743
  }
3758
- if (zt(l)) {
3744
+ if (jt(l)) {
3759
3745
  var _ = l.options[f] || l.options.other;
3760
3746
  if (!_)
3761
- throw new Et(l.value, f, Object.keys(l.options), s);
3747
+ throw new yt(l.value, f, Object.keys(l.options), s);
3762
3748
  a.push.apply(a, ce(_.value, t, r, n, i));
3763
3749
  continue;
3764
3750
  }
3765
- if (Xt(l)) {
3751
+ if (kt(l)) {
3766
3752
  var _ = l.options["=".concat(f)];
3767
3753
  if (!_) {
3768
3754
  if (!Intl.PluralRules)
@@ -3773,24 +3759,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3773
3759
  _ = l.options[H] || l.options.other;
3774
3760
  }
3775
3761
  if (!_)
3776
- throw new Et(l.value, f, Object.keys(l.options), s);
3762
+ throw new yt(l.value, f, Object.keys(l.options), s);
3777
3763
  a.push.apply(a, ce(_.value, t, r, n, i, f - (l.offset || 0)));
3778
3764
  continue;
3779
3765
  }
3780
3766
  }
3781
- return ii(a);
3767
+ return ri(a);
3782
3768
  }
3783
- function si(e, t) {
3769
+ function ii(e, t) {
3784
3770
  return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3785
3771
  return r[n] = b(b({}, e[n]), t[n] || {}), r;
3786
3772
  }, {})) : e;
3787
3773
  }
3788
- function ai(e, t) {
3774
+ function oi(e, t) {
3789
3775
  return t ? Object.keys(e).reduce(function(r, n) {
3790
- return r[n] = si(e[n], t[n]), r;
3776
+ return r[n] = ii(e[n], t[n]), r;
3791
3777
  }, b({}, e)) : e;
3792
3778
  }
3793
- function Pe(e) {
3779
+ function He(e) {
3794
3780
  return {
3795
3781
  create: function() {
3796
3782
  return {
@@ -3804,39 +3790,39 @@ function Pe(e) {
3804
3790
  }
3805
3791
  };
3806
3792
  }
3807
- function ui(e) {
3793
+ function si(e) {
3808
3794
  return e === void 0 && (e = {
3809
3795
  number: {},
3810
3796
  dateTime: {},
3811
3797
  pluralRules: {}
3812
3798
  }), {
3813
- getNumberFormat: we(function() {
3799
+ getNumberFormat: Te(function() {
3814
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3801
  r[n] = arguments[n];
3816
3802
  return new ((t = Intl.NumberFormat).bind.apply(t, j([void 0], r, !1)))();
3817
3803
  }, {
3818
- cache: Pe(e.number),
3819
- strategy: Be.variadic
3804
+ cache: He(e.number),
3805
+ strategy: we.variadic
3820
3806
  }),
3821
- getDateTimeFormat: we(function() {
3807
+ getDateTimeFormat: Te(function() {
3822
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3809
  r[n] = arguments[n];
3824
3810
  return new ((t = Intl.DateTimeFormat).bind.apply(t, j([void 0], r, !1)))();
3825
3811
  }, {
3826
- cache: Pe(e.dateTime),
3827
- strategy: Be.variadic
3812
+ cache: He(e.dateTime),
3813
+ strategy: we.variadic
3828
3814
  }),
3829
- getPluralRules: we(function() {
3815
+ getPluralRules: Te(function() {
3830
3816
  for (var t, r = [], n = 0; n < arguments.length; n++)
3831
3817
  r[n] = arguments[n];
3832
3818
  return new ((t = Intl.PluralRules).bind.apply(t, j([void 0], r, !1)))();
3833
3819
  }, {
3834
- cache: Pe(e.pluralRules),
3835
- strategy: Be.variadic
3820
+ cache: He(e.pluralRules),
3821
+ strategy: we.variadic
3836
3822
  })
3837
3823
  };
3838
3824
  }
3839
- var hi = (
3825
+ var ai = (
3840
3826
  /** @class */
3841
3827
  function() {
3842
3828
  function e(t, r, n, i) {
@@ -3868,13 +3854,13 @@ var hi = (
3868
3854
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3869
3855
  var s = i || {};
3870
3856
  s.formatters;
3871
- var a = Gr(s, ["formatters"]);
3857
+ var a = Ur(s, ["formatters"]);
3872
3858
  this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3873
3859
  } else
3874
3860
  this.ast = t;
3875
3861
  if (!Array.isArray(this.ast))
3876
3862
  throw new TypeError("A message must be provided as a String or AST.");
3877
- this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3863
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3878
3864
  }
3879
3865
  return Object.defineProperty(e, "defaultLocale", {
3880
3866
  get: function() {
@@ -3887,7 +3873,7 @@ var hi = (
3887
3873
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3888
3874
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3889
3875
  }
3890
- }, e.__parse = ti, e.formats = {
3876
+ }, e.__parse = Kn, e.formats = {
3891
3877
  number: {
3892
3878
  integer: {
3893
3879
  maximumFractionDigits: 0
@@ -3948,7 +3934,7 @@ var hi = (
3948
3934
  }, e;
3949
3935
  }()
3950
3936
  );
3951
- function li(e, t) {
3937
+ function ui(e, t) {
3952
3938
  if (t == null)
3953
3939
  return;
3954
3940
  if (t in e)
@@ -3969,92 +3955,92 @@ function li(e, t) {
3969
3955
  n = void 0;
3970
3956
  return n;
3971
3957
  }
3972
- const L = {}, ci = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), rr = (e, t) => {
3958
+ const N = {}, hi = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Kt = (e, t) => {
3973
3959
  if (t == null)
3974
3960
  return;
3975
- if (t in L && e in L[t])
3976
- return L[t][e];
3961
+ if (t in N && e in N[t])
3962
+ return N[t][e];
3977
3963
  const r = ve(t);
3978
3964
  for (let n = 0; n < r.length; n++) {
3979
- const i = r[n], o = pi(i, e);
3965
+ const i = r[n], o = ci(i, e);
3980
3966
  if (o)
3981
- return ci(e, t, o);
3967
+ return hi(e, t, o);
3982
3968
  }
3983
3969
  };
3984
- let Qe;
3970
+ let We;
3985
3971
  const ne = ge({});
3986
- function fi(e) {
3987
- return Qe[e] || null;
3972
+ function li(e) {
3973
+ return We[e] || null;
3988
3974
  }
3989
- function nr(e) {
3990
- return e in Qe;
3975
+ function er(e) {
3976
+ return e in We;
3991
3977
  }
3992
- function pi(e, t) {
3993
- if (!nr(e))
3978
+ function ci(e, t) {
3979
+ if (!er(e))
3994
3980
  return null;
3995
- const r = fi(e);
3996
- return li(r, t);
3981
+ const r = li(e);
3982
+ return ui(r, t);
3997
3983
  }
3998
- function mi(e) {
3984
+ function fi(e) {
3999
3985
  if (e == null)
4000
3986
  return;
4001
3987
  const t = ve(e);
4002
3988
  for (let r = 0; r < t.length; r++) {
4003
3989
  const n = t[r];
4004
- if (nr(n))
3990
+ if (er(n))
4005
3991
  return n;
4006
3992
  }
4007
3993
  }
4008
- function ir(e, ...t) {
4009
- delete L[e], ne.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3994
+ function tr(e, ...t) {
3995
+ delete N[e], ne.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
4010
3996
  }
4011
3997
  W(
4012
3998
  [ne],
4013
3999
  ([e]) => Object.keys(e)
4014
4000
  );
4015
- ne.subscribe((e) => Qe = e);
4001
+ ne.subscribe((e) => We = e);
4016
4002
  const fe = {};
4017
4003
  function di(e, t) {
4018
4004
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
4019
4005
  }
4020
- function or(e) {
4006
+ function rr(e) {
4021
4007
  return fe[e];
4022
4008
  }
4023
- function bi(e) {
4009
+ function pi(e) {
4024
4010
  return ve(e).map((t) => {
4025
- const r = or(t);
4011
+ const r = rr(t);
4026
4012
  return [t, r ? [...r] : []];
4027
4013
  }).filter(([, t]) => t.length > 0);
4028
4014
  }
4029
- function ke(e) {
4015
+ function je(e) {
4030
4016
  return e == null ? !1 : ve(e).some(
4031
4017
  (t) => {
4032
4018
  var r;
4033
- return (r = or(t)) == null ? void 0 : r.size;
4019
+ return (r = rr(t)) == null ? void 0 : r.size;
4034
4020
  }
4035
4021
  );
4036
4022
  }
4037
- function gi(e, t) {
4023
+ function mi(e, t) {
4038
4024
  return Promise.all(
4039
4025
  t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4040
- ).then((n) => ir(e, ...n));
4026
+ ).then((n) => tr(e, ...n));
4041
4027
  }
4042
4028
  const J = {};
4043
- function sr(e) {
4044
- if (!ke(e))
4029
+ function nr(e) {
4030
+ if (!je(e))
4045
4031
  return e in J ? J[e] : Promise.resolve();
4046
- const t = bi(e);
4032
+ const t = pi(e);
4047
4033
  return J[e] = Promise.all(
4048
4034
  t.map(
4049
- ([r, n]) => gi(r, n)
4035
+ ([r, n]) => mi(r, n)
4050
4036
  )
4051
4037
  ).then(() => {
4052
- if (ke(e))
4053
- return sr(e);
4038
+ if (je(e))
4039
+ return nr(e);
4054
4040
  delete J[e];
4055
4041
  }), J[e];
4056
4042
  }
4057
- const yi = {
4043
+ const bi = {
4058
4044
  number: {
4059
4045
  scientific: { notation: "scientific" },
4060
4046
  engineering: { notation: "engineering" },
@@ -4083,57 +4069,57 @@ const yi = {
4083
4069
  timeZoneName: "short"
4084
4070
  }
4085
4071
  }
4086
- }, vi = {
4072
+ }, gi = {
4087
4073
  fallbackLocale: null,
4088
4074
  loadingDelay: 200,
4089
- formats: yi,
4075
+ formats: bi,
4090
4076
  warnOnMissingMessages: !0,
4091
4077
  handleMissingMessage: void 0,
4092
4078
  ignoreTag: !0
4093
- }, Ei = vi;
4079
+ }, yi = gi;
4094
4080
  function X() {
4095
- return Ei;
4096
- }
4097
- const Ae = ge(!1);
4098
- var xi = Object.defineProperty, _i = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4099
- for (var r in t || (t = {}))
4100
- Ti.call(t, r) && _t(e, r, t[r]);
4101
- if (xt)
4102
- for (var r of xt(t))
4103
- wi.call(t, r) && _t(e, r, t[r]);
4081
+ return yi;
4082
+ }
4083
+ const Pe = ge(!1);
4084
+ var vi = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4085
+ for (var r in t)
4086
+ _i.call(t, r) && Et(e, r, t[r]);
4087
+ if (vt)
4088
+ for (var r of vt(t))
4089
+ Si.call(t, r) && Et(e, r, t[r]);
4104
4090
  return e;
4105
- }, Hi = (e, t) => _i(e, Si(t));
4106
- let Ve;
4107
- const me = ge(null);
4108
- function St(e) {
4091
+ }, wi = (e, t) => Ei(e, xi(t));
4092
+ let ke;
4093
+ const pe = ge(null);
4094
+ function xt(e) {
4109
4095
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4110
4096
  }
4111
4097
  function ve(e, t = X().fallbackLocale) {
4112
- const r = St(e);
4113
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4098
+ const r = xt(e);
4099
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4114
4100
  }
4115
4101
  function M() {
4116
- return Ve != null ? Ve : void 0;
4102
+ return ke != null ? ke : void 0;
4117
4103
  }
4118
- me.subscribe((e) => {
4119
- Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4104
+ pe.subscribe((e) => {
4105
+ ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4120
4106
  });
4121
- const Pi = (e) => {
4122
- if (e && mi(e) && ke(e)) {
4107
+ const Bi = (e) => {
4108
+ if (e && fi(e) && je(e)) {
4123
4109
  const { loadingDelay: t } = X();
4124
4110
  let r;
4125
4111
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4126
- () => Ae.set(!0),
4112
+ () => Pe.set(!0),
4127
4113
  t
4128
- ) : Ae.set(!0), sr(e).then(() => {
4129
- me.set(e);
4114
+ ) : Pe.set(!0), nr(e).then(() => {
4115
+ pe.set(e);
4130
4116
  }).finally(() => {
4131
- clearTimeout(r), Ae.set(!1);
4117
+ clearTimeout(r), Pe.set(!1);
4132
4118
  });
4133
4119
  }
4134
- return me.set(e);
4135
- }, Z = Hi(Bi({}, me), {
4136
- set: Pi
4120
+ return pe.set(e);
4121
+ }, Z = wi(Ti({}, pe), {
4122
+ set: Bi
4137
4123
  }), Ee = (e) => {
4138
4124
  const t = /* @__PURE__ */ Object.create(null);
4139
4125
  return (n) => {
@@ -4141,20 +4127,20 @@ const Pi = (e) => {
4141
4127
  return i in t ? t[i] : t[i] = e(n);
4142
4128
  };
4143
4129
  };
4144
- var Ai = Object.defineProperty, de = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4130
+ var Hi = Object.defineProperty, me = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4145
4131
  for (var r in t || (t = {}))
4146
- ar.call(t, r) && Tt(e, r, t[r]);
4147
- if (de)
4148
- for (var r of de(t))
4149
- ur.call(t, r) && Tt(e, r, t[r]);
4132
+ ir.call(t, r) && _t(e, r, t[r]);
4133
+ if (me)
4134
+ for (var r of me(t))
4135
+ or.call(t, r) && _t(e, r, t[r]);
4150
4136
  return e;
4151
4137
  }, Q = (e, t) => {
4152
4138
  var r = {};
4153
4139
  for (var n in e)
4154
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4155
- if (e != null && de)
4156
- for (var n of de(e))
4157
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4140
+ ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
+ if (e != null && me)
4142
+ for (var n of me(e))
4143
+ t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
4158
4144
  return r;
4159
4145
  };
4160
4146
  const te = (e, t) => {
@@ -4162,21 +4148,21 @@ const te = (e, t) => {
4162
4148
  if (e in r && t in r[e])
4163
4149
  return r[e][t];
4164
4150
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4165
- }, Oi = Ee(
4151
+ }, Pi = Ee(
4166
4152
  (e) => {
4167
4153
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4168
4154
  if (r == null)
4169
4155
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4170
4156
  return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
4171
4157
  }
4172
- ), Ii = Ee(
4158
+ ), Ai = Ee(
4173
4159
  (e) => {
4174
4160
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4175
4161
  if (r == null)
4176
4162
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4177
4163
  return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
4178
4164
  }
4179
- ), Li = Ee(
4165
+ ), Oi = Ee(
4180
4166
  (e) => {
4181
4167
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4182
4168
  if (r == null)
@@ -4185,33 +4171,33 @@ const te = (e, t) => {
4185
4171
  );
4186
4172
  return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
4187
4173
  }
4188
- ), Ni = (e = {}) => {
4174
+ ), Ii = (e = {}) => {
4189
4175
  var t = e, {
4190
4176
  locale: r = M()
4191
4177
  } = t, n = Q(t, [
4192
4178
  "locale"
4193
4179
  ]);
4194
- return Oi(Je({ locale: r }, n));
4195
- }, Ci = (e = {}) => {
4180
+ return Pi(Ze({ locale: r }, n));
4181
+ }, Ni = (e = {}) => {
4196
4182
  var t = e, {
4197
4183
  locale: r = M()
4198
4184
  } = t, n = Q(t, [
4199
4185
  "locale"
4200
4186
  ]);
4201
- return Ii(Je({ locale: r }, n));
4202
- }, Mi = (e = {}) => {
4187
+ return Ai(Ze({ locale: r }, n));
4188
+ }, Li = (e = {}) => {
4203
4189
  var t = e, {
4204
4190
  locale: r = M()
4205
4191
  } = t, n = Q(t, [
4206
4192
  "locale"
4207
4193
  ]);
4208
- return Li(Je({ locale: r }, n));
4209
- }, $i = Ee(
4194
+ return Oi(Ze({ locale: r }, n));
4195
+ }, Ci = Ee(
4210
4196
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4211
- (e, t = M()) => new hi(e, t, X().formats, {
4197
+ (e, t = M()) => new ai(e, t, X().formats, {
4212
4198
  ignoreTag: X().ignoreTag
4213
4199
  })
4214
- ), Ri = (e, t = {}) => {
4200
+ ), Mi = (e, t = {}) => {
4215
4201
  var r, n, i, o;
4216
4202
  let s = t;
4217
4203
  typeof e == "object" && (s = e, e = s.id);
@@ -4224,7 +4210,7 @@ const te = (e, t) => {
4224
4210
  throw new Error(
4225
4211
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4226
4212
  );
4227
- let l = rr(e, u);
4213
+ let l = Kt(e, u);
4228
4214
  if (!l)
4229
4215
  l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4230
4216
  else if (typeof l != "string")
@@ -4235,7 +4221,7 @@ const te = (e, t) => {
4235
4221
  return l;
4236
4222
  let c = l;
4237
4223
  try {
4238
- c = $i(l, u).format(a);
4224
+ c = Ci(l, u).format(a);
4239
4225
  } catch (f) {
4240
4226
  f instanceof Error && console.warn(
4241
4227
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4243,20 +4229,20 @@ const te = (e, t) => {
4243
4229
  );
4244
4230
  }
4245
4231
  return c;
4246
- }, Ui = (e, t) => Mi(t).format(e), Di = (e, t) => Ci(t).format(e), Fi = (e, t) => Ni(t).format(e), Gi = (e, t = M()) => rr(e, t), ji = W([Z, ne], () => Ri);
4232
+ }, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Ni(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = M()) => Kt(e, t), Gi = W([Z, ne], () => Mi);
4233
+ W([Z], () => $i);
4234
+ W([Z], () => Ri);
4247
4235
  W([Z], () => Ui);
4248
- W([Z], () => Di);
4249
- W([Z], () => Fi);
4250
- W([Z, ne], () => Gi);
4251
- window.emWidgets = { topic: tn };
4236
+ W([Z, ne], () => Di);
4237
+ window.emWidgets = { topic: qr };
4252
4238
  const ae = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4253
- function wt(e, t) {
4254
- ir(e, t);
4239
+ function St(e, t) {
4240
+ tr(e, t);
4255
4241
  }
4256
- function ki(e) {
4242
+ function Fi(e) {
4257
4243
  Z.set(e);
4258
4244
  }
4259
- const Bt = {
4245
+ const Tt = {
4260
4246
  en: {
4261
4247
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4262
4248
  },
@@ -4297,10 +4283,10 @@ const Bt = {
4297
4283
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4298
4284
  }
4299
4285
  };
4300
- function Vi(e) {
4301
- br(e, "svelte-1mifytr", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4286
+ function ji(e) {
4287
+ dr(e, "svelte-1mifytr", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4302
4288
  }
4303
- function zi(e) {
4289
+ function ki(e) {
4304
4290
  let t, r, n, i = (
4305
4291
  /*customtext*/
4306
4292
  (e[0] || /*$_*/
@@ -4308,13 +4294,13 @@ function zi(e) {
4308
4294
  ), o, s;
4309
4295
  return {
4310
4296
  c() {
4311
- t = Y("div"), r = Y("div"), n = Y("button"), o = vr(i), C(n, "class", "PanicButton " + (ae(
4297
+ t = Y("div"), r = Y("div"), n = Y("button"), o = br(i), C(n, "class", "PanicButton " + (ae(
4312
4298
  /*userAgent*/
4313
4299
  e[6]
4314
4300
  ) !== "PC" ? "PanicButtonMobile" : "")), C(n, "part", "PanicButton " + (ae(
4315
4301
  /*userAgent*/
4316
4302
  e[6]
4317
- ) !== "PC" ? "PanicButtonMobile" : "")), nt(
4303
+ ) !== "PC" ? "PanicButtonMobile" : "")), tt(
4318
4304
  n,
4319
4305
  "PanicButtonAnimation",
4320
4306
  /*panicLoading*/
@@ -4329,14 +4315,14 @@ function zi(e) {
4329
4315
  e[1] == "true" ? "PanicButtonV2" : "");
4330
4316
  },
4331
4317
  m(a, u) {
4332
- Ot(a, t, u), ue(t, r), ue(r, n), ue(n, o), e[12](n), e[13](t);
4318
+ Pt(a, t, u), ue(t, r), ue(r, n), ue(n, o), e[12](n), e[13](t);
4333
4319
  },
4334
4320
  p(a, [u]) {
4335
4321
  u & /*customtext, $_*/
4336
4322
  33 && i !== (i = /*customtext*/
4337
4323
  (a[0] || /*$_*/
4338
- a[5]("panicButtonString")) + "") && xr(o, i), u & /*panicLoading*/
4339
- 16 && nt(
4324
+ a[5]("panicButtonString")) + "") && yr(o, i), u & /*panicLoading*/
4325
+ 16 && tt(
4340
4326
  n,
4341
4327
  "PanicButtonAnimation",
4342
4328
  /*panicLoading*/
@@ -4348,50 +4334,50 @@ function zi(e) {
4348
4334
  i: B,
4349
4335
  o: B,
4350
4336
  d(a) {
4351
- a && Xe(t), e[12](null), e[13](null);
4337
+ a && ze(t), e[12](null), e[13](null);
4352
4338
  }
4353
4339
  };
4354
4340
  }
4355
- function Xi(e, t, r) {
4341
+ function Vi(e, t, r) {
4356
4342
  let n;
4357
- dr(e, ji, (v) => r(5, n = v));
4358
- let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, m = !1, y = 0, g, w = window.navigator.userAgent;
4359
- const N = () => {
4343
+ fr(e, Gi, (v) => r(5, n = v));
4344
+ let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, p = !1, y = 0, g, w = window.navigator.userAgent;
4345
+ const L = () => {
4360
4346
  fetch(l).then((R) => R.json()).then((R) => {
4361
- Object.keys(R).forEach((Ye) => {
4362
- wt(Ye, R[Ye]);
4347
+ Object.keys(R).forEach((Qe) => {
4348
+ St(Qe, R[Qe]);
4363
4349
  });
4364
4350
  }).catch((R) => {
4365
4351
  console.log(R);
4366
4352
  });
4367
4353
  };
4368
- Object.keys(Bt).forEach((v) => {
4369
- wt(v, Bt[v]);
4354
+ Object.keys(Tt).forEach((v) => {
4355
+ St(v, Tt[v]);
4370
4356
  });
4371
4357
  const I = () => {
4372
4358
  c == null || c.addEventListener("mousedown", H, !1), c == null || c.addEventListener("touchstart", H, !1), c == null || c.addEventListener("mouseup", S, !1), c == null || c.addEventListener("touchend", S, !1);
4373
4359
  }, _ = () => {
4374
- r(4, m = !1), c == null || c.removeEventListener("mousedown", H), c == null || c.removeEventListener("touchstart", H), c == null || c.removeEventListener("mouseup", S), c == null || c.removeEventListener("touchend", S);
4360
+ r(4, p = !1), c == null || c.removeEventListener("mousedown", H), c == null || c.removeEventListener("touchstart", H), c == null || c.removeEventListener("mouseup", S), c == null || c.removeEventListener("touchend", S);
4375
4361
  }, H = () => {
4376
- y = 0, r(4, m = !0), g = setInterval(
4362
+ y = 0, r(4, p = !0), g = setInterval(
4377
4363
  () => {
4378
4364
  y++, y >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(g), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4379
4365
  },
4380
4366
  1e3
4381
4367
  );
4382
4368
  }, S = () => {
4383
- r(4, m = !1), clearInterval(g);
4369
+ r(4, p = !1), clearInterval(g);
4384
4370
  };
4385
- Tr(() => () => {
4371
+ xr(() => () => {
4386
4372
  _();
4387
4373
  });
4388
4374
  function $(v) {
4389
- pe[v ? "unshift" : "push"](() => {
4375
+ de[v ? "unshift" : "push"](() => {
4390
4376
  c = v, r(2, c);
4391
4377
  });
4392
4378
  }
4393
4379
  function ie(v) {
4394
- pe[v ? "unshift" : "push"](() => {
4380
+ de[v ? "unshift" : "push"](() => {
4395
4381
  f = v, r(3, f);
4396
4382
  });
4397
4383
  }
@@ -4400,17 +4386,17 @@ function Xi(e, t, r) {
4400
4386
  }, e.$$.update = () => {
4401
4387
  e.$$.dirty & /*panicButton*/
4402
4388
  4 && c && I(), e.$$.dirty & /*lang*/
4403
- 128 && i && ki(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4404
- 264 && s && f && Ur(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4405
- 520 && a && f && Dr(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4406
- 1032 && u && f && Fr(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
4407
- 2048 && l && N();
4389
+ 128 && i && Fi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4390
+ 264 && s && f && Mr(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4391
+ 520 && a && f && $r(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4392
+ 1032 && u && f && Rr(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
4393
+ 2048 && l && L();
4408
4394
  }, [
4409
4395
  o,
4410
4396
  h,
4411
4397
  c,
4412
4398
  f,
4413
- m,
4399
+ p,
4414
4400
  n,
4415
4401
  w,
4416
4402
  i,
@@ -4422,14 +4408,14 @@ function Xi(e, t, r) {
4422
4408
  ie
4423
4409
  ];
4424
4410
  }
4425
- class Wi extends $r {
4411
+ class zi extends Lr {
4426
4412
  constructor(t) {
4427
- super(), Cr(
4413
+ super(), Ir(
4428
4414
  this,
4429
4415
  t,
4430
- Xi,
4431
- zi,
4432
- Pt,
4416
+ Vi,
4417
+ ki,
4418
+ Bt,
4433
4419
  {
4434
4420
  lang: 7,
4435
4421
  customtext: 0,
@@ -4439,7 +4425,7 @@ class Wi extends $r {
4439
4425
  alternativestyling: 1,
4440
4426
  translationurl: 11
4441
4427
  },
4442
- Vi
4428
+ ji
4443
4429
  );
4444
4430
  }
4445
4431
  get lang() {
@@ -4485,7 +4471,7 @@ class Wi extends $r {
4485
4471
  this.$$set({ translationurl: t }), P();
4486
4472
  }
4487
4473
  }
4488
- Mr(Wi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4474
+ Nr(zi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4489
4475
  export {
4490
- Wi as default
4476
+ zi as default
4491
4477
  };