@everymatrix/casino-tournaments-tab 1.74.10 → 1.75.1

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,26 +1,26 @@
1
- var hr = Object.defineProperty, lr = Object.defineProperties;
2
- var fr = Object.getOwnPropertyDescriptors;
1
+ var pr = Object.defineProperty, mr = Object.defineProperties;
2
+ var dr = Object.getOwnPropertyDescriptors;
3
3
  var se = Object.getOwnPropertySymbols;
4
- var Ye = Object.prototype.hasOwnProperty, qe = Object.prototype.propertyIsEnumerable;
5
- var _e = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Q = (e, t) => {
4
+ var tt = Object.prototype.hasOwnProperty, rt = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Z = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ye.call(t, r) && _e(e, r, t[r]);
7
+ tt.call(t, r) && xe(e, r, t[r]);
8
8
  if (se)
9
9
  for (var r of se(t))
10
- qe.call(t, r) && _e(e, r, t[r]);
10
+ rt.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
- }, Ee = (e, t) => lr(e, fr(t));
13
- var Ke = (e, t) => {
12
+ }, Se = (e, t) => mr(e, dr(t));
13
+ var nt = (e, t) => {
14
14
  var r = {};
15
15
  for (var n in e)
16
- Ye.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
16
+ tt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
17
17
  if (e != null && se)
18
18
  for (var n of se(e))
19
- t.indexOf(n) < 0 && qe.call(e, n) && (r[n] = e[n]);
19
+ t.indexOf(n) < 0 && rt.call(e, n) && (r[n] = e[n]);
20
20
  return r;
21
21
  };
22
- var x = (e, t, r) => (_e(e, typeof t != "symbol" ? t + "" : t, r), r);
23
- var et = (e, t, r) => new Promise((n, i) => {
22
+ var x = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
23
+ var it = (e, t, r) => new Promise((n, i) => {
24
24
  var o = (h) => {
25
25
  try {
26
26
  a(r.next(h));
@@ -38,25 +38,25 @@ var et = (e, t, r) => new Promise((n, i) => {
38
38
  });
39
39
  function w() {
40
40
  }
41
- function Pt(e) {
41
+ function Lt(e) {
42
42
  return e();
43
43
  }
44
- function tt() {
44
+ function ot() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function te(e) {
48
- e.forEach(Pt);
47
+ function ee(e) {
48
+ e.forEach(Lt);
49
49
  }
50
- function Xe(e) {
50
+ function Je(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Ot(e, t) {
53
+ function Ct(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function cr(e) {
56
+ function br(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function dr(e, ...t) {
59
+ function gr(e, ...t) {
60
60
  if (e == null) {
61
61
  for (const n of t)
62
62
  n(void 0);
@@ -68,14 +68,14 @@ function dr(e, ...t) {
68
68
  function C(e, t) {
69
69
  e.appendChild(t);
70
70
  }
71
- function pr(e, t, r) {
72
- const n = mr(e);
71
+ function vr(e, t, r) {
72
+ const n = yr(e);
73
73
  if (!n.getElementById(t)) {
74
74
  const i = I("style");
75
- i.id = t, i.textContent = r, br(n, i);
75
+ i.id = t, i.textContent = r, _r(n, i);
76
76
  }
77
77
  }
78
- function mr(e) {
78
+ function yr(e) {
79
79
  if (!e)
80
80
  return document;
81
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -85,46 +85,46 @@ function mr(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function br(e, t) {
88
+ function _r(e, t) {
89
89
  return C(
90
90
  /** @type {Document} */
91
91
  e.head || e,
92
92
  t
93
93
  ), t.sheet;
94
94
  }
95
- function re(e, t, r) {
95
+ function te(e, t, r) {
96
96
  e.insertBefore(t, r || null);
97
97
  }
98
- function X(e) {
98
+ function V(e) {
99
99
  e.parentNode && e.parentNode.removeChild(e);
100
100
  }
101
- function gr(e, t) {
101
+ function Er(e, t) {
102
102
  for (let r = 0; r < e.length; r += 1)
103
103
  e[r] && e[r].d(t);
104
104
  }
105
105
  function I(e) {
106
106
  return document.createElement(e);
107
107
  }
108
- function ze(e) {
108
+ function Ye(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function rt() {
112
- return ze(" ");
111
+ function st() {
112
+ return Ye(" ");
113
113
  }
114
- function yr(e, t, r, n) {
114
+ function xr(e, t, r, n) {
115
115
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
116
  }
117
- function S(e, t, r) {
117
+ function T(e, t, r) {
118
118
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
119
  }
120
- function vr(e) {
120
+ function Sr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
- function It(e, t) {
123
+ function Mt(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
127
- function _r(e) {
127
+ function Tr(e) {
128
128
  const t = {};
129
129
  return e.childNodes.forEach(
130
130
  /** @param {Element} node */
@@ -133,90 +133,90 @@ function _r(e) {
133
133
  }
134
134
  ), t;
135
135
  }
136
- let q;
137
- function Y(e) {
138
- q = e;
136
+ let Y;
137
+ function J(e) {
138
+ Y = e;
139
139
  }
140
- function Er() {
141
- if (!q)
140
+ function wr() {
141
+ if (!Y)
142
142
  throw new Error("Function called outside component initialization");
143
- return q;
143
+ return Y;
144
144
  }
145
- function Nt(e) {
146
- Er().$$.on_mount.push(e);
145
+ function $t(e) {
146
+ wr().$$.on_mount.push(e);
147
147
  }
148
- const U = [], Pe = [];
148
+ const U = [], Ne = [];
149
149
  let D = [];
150
- const nt = [], xr = /* @__PURE__ */ Promise.resolve();
151
- let Oe = !1;
152
- function Tr() {
153
- Oe || (Oe = !0, xr.then(P));
150
+ const at = [], Hr = /* @__PURE__ */ Promise.resolve();
151
+ let Le = !1;
152
+ function Br() {
153
+ Le || (Le = !0, Hr.then(P));
154
154
  }
155
- function Ie(e) {
155
+ function Ce(e) {
156
156
  D.push(e);
157
157
  }
158
- const xe = /* @__PURE__ */ new Set();
158
+ const Te = /* @__PURE__ */ new Set();
159
159
  let $ = 0;
160
160
  function P() {
161
161
  if ($ !== 0)
162
162
  return;
163
- const e = q;
163
+ const e = Y;
164
164
  do {
165
165
  try {
166
166
  for (; $ < U.length; ) {
167
167
  const t = U[$];
168
- $++, Y(t), Sr(t.$$);
168
+ $++, J(t), Ar(t.$$);
169
169
  }
170
170
  } catch (t) {
171
171
  throw U.length = 0, $ = 0, t;
172
172
  }
173
- for (Y(null), U.length = 0, $ = 0; Pe.length; )
174
- Pe.pop()();
173
+ for (J(null), U.length = 0, $ = 0; Ne.length; )
174
+ Ne.pop()();
175
175
  for (let t = 0; t < D.length; t += 1) {
176
176
  const r = D[t];
177
- xe.has(r) || (xe.add(r), r());
177
+ Te.has(r) || (Te.add(r), r());
178
178
  }
179
179
  D.length = 0;
180
180
  } while (U.length);
181
- for (; nt.length; )
182
- nt.pop()();
183
- Oe = !1, xe.clear(), Y(e);
181
+ for (; at.length; )
182
+ at.pop()();
183
+ Le = !1, Te.clear(), J(e);
184
184
  }
185
- function Sr(e) {
185
+ function Ar(e) {
186
186
  if (e.fragment !== null) {
187
- e.update(), te(e.before_update);
187
+ e.update(), ee(e.before_update);
188
188
  const t = e.dirty;
189
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
189
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
190
190
  }
191
191
  }
192
- function wr(e) {
192
+ function Pr(e) {
193
193
  const t = [], r = [];
194
194
  D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
195
195
  }
196
- const Hr = /* @__PURE__ */ new Set();
197
- function Br(e, t) {
198
- e && e.i && (Hr.delete(e), e.i(t));
196
+ const Or = /* @__PURE__ */ new Set();
197
+ function Ir(e, t) {
198
+ e && e.i && (Or.delete(e), e.i(t));
199
199
  }
200
- function it(e) {
200
+ function ut(e) {
201
201
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
202
202
  }
203
- function Ar(e, t, r) {
203
+ function Nr(e, t, r) {
204
204
  const { fragment: n, after_update: i } = e.$$;
205
- n && n.m(t, r), Ie(() => {
206
- const o = e.$$.on_mount.map(Pt).filter(Xe);
207
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
208
- }), i.forEach(Ie);
205
+ n && n.m(t, r), Ce(() => {
206
+ const o = e.$$.on_mount.map(Lt).filter(Je);
207
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
208
+ }), i.forEach(Ce);
209
209
  }
210
- function Pr(e, t) {
210
+ function Lr(e, t) {
211
211
  const r = e.$$;
212
- r.fragment !== null && (wr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
212
+ r.fragment !== null && (Pr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
213
213
  }
214
- function Or(e, t) {
215
- e.$$.dirty[0] === -1 && (U.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
+ function Cr(e, t) {
215
+ e.$$.dirty[0] === -1 && (U.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
216
216
  }
217
- function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
218
- const h = q;
219
- Y(e);
217
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
218
+ const h = Y;
219
+ J(e);
220
220
  const u = e.$$ = {
221
221
  fragment: null,
222
222
  ctx: [],
@@ -224,7 +224,7 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
224
224
  props: o,
225
225
  update: w,
226
226
  not_equal: i,
227
- bound: tt(),
227
+ bound: ot(),
228
228
  // lifecycle
229
229
  on_mount: [],
230
230
  on_destroy: [],
@@ -233,28 +233,28 @@ function Ir(e, t, r, n, i, o, s = null, a = [-1]) {
233
233
  after_update: [],
234
234
  context: new Map(t.context || (h ? h.$$.context : [])),
235
235
  // everything else
236
- callbacks: tt(),
236
+ callbacks: ot(),
237
237
  dirty: a,
238
238
  skip_bound: !1,
239
239
  root: t.target || h.$$.root
240
240
  };
241
241
  s && s(u.root);
242
242
  let l = !1;
243
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
244
- const m = d.length ? d[0] : c;
245
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && Or(e, f)), c;
246
- }), u.update(), l = !0, te(u.before_update), u.fragment = n(u.ctx), t.target) {
243
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
244
+ const d = p.length ? p[0] : c;
245
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Cr(e, f)), c;
246
+ }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
247
247
  if (t.hydrate) {
248
- const f = vr(t.target);
249
- u.fragment && u.fragment.l(f), f.forEach(X);
248
+ const f = Sr(t.target);
249
+ u.fragment && u.fragment.l(f), f.forEach(V);
250
250
  } else
251
251
  u.fragment && u.fragment.c();
252
- t.intro && Br(e.$$.fragment), Ar(e, t.target, t.anchor), P();
252
+ t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), P();
253
253
  }
254
- Y(h);
254
+ J(h);
255
255
  }
256
- let Lt;
257
- typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
256
+ let Rt;
257
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
258
258
  constructor(t, r, n) {
259
259
  super();
260
260
  /** The Svelte component constructor */
@@ -291,31 +291,31 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
291
291
  }
292
292
  }
293
293
  connectedCallback() {
294
- return et(this, null, function* () {
294
+ return it(this, null, function* () {
295
295
  if (this.$$cn = !0, !this.$$c) {
296
296
  let t = function(o) {
297
297
  return () => {
298
298
  let s;
299
299
  return {
300
300
  c: function() {
301
- s = I("slot"), o !== "default" && S(s, "name", o);
301
+ s = I("slot"), o !== "default" && T(s, "name", o);
302
302
  },
303
303
  /**
304
304
  * @param {HTMLElement} target
305
305
  * @param {HTMLElement} [anchor]
306
306
  */
307
307
  m: function(u, l) {
308
- re(u, s, l);
308
+ te(u, s, l);
309
309
  },
310
310
  d: function(u) {
311
- u && X(s);
311
+ u && V(s);
312
312
  }
313
313
  };
314
314
  };
315
315
  };
316
316
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
317
317
  return;
318
- const r = {}, n = _r(this);
318
+ const r = {}, n = Tr(this);
319
319
  for (const o of this.$$s)
320
320
  o in n && (r[o] = [t(o)]);
321
321
  for (const o of this.attributes) {
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
326
326
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
327
327
  this.$$c = new this.$$ctor({
328
328
  target: this.shadowRoot || this,
329
- props: Ee(Q({}, this.$$d), {
329
+ props: Se(Z({}, this.$$d), {
330
330
  $$slots: r,
331
331
  $$scope: {
332
332
  ctx: []
@@ -404,8 +404,8 @@ function he(e, t, r, n) {
404
404
  return t;
405
405
  }
406
406
  }
407
- function Nr(e, t, r, n, i, o) {
408
- let s = class extends Lt {
407
+ function $r(e, t, r, n, i, o) {
408
+ let s = class extends Rt {
409
409
  constructor() {
410
410
  super(e, r, i), this.$$p_d = t;
411
411
  }
@@ -435,7 +435,7 @@ function Nr(e, t, r, n, i, o) {
435
435
  }), e.element = /** @type {any} */
436
436
  s, s;
437
437
  }
438
- class Lr {
438
+ class Rr {
439
439
  constructor() {
440
440
  /**
441
441
  * ### PRIVATE API
@@ -456,7 +456,7 @@ class Lr {
456
456
  }
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- Pr(this, 1), this.$destroy = w;
459
+ Lr(this, 1), this.$destroy = w;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -465,7 +465,7 @@ class Lr {
465
465
  * @returns {() => void}
466
466
  */
467
467
  $on(t, r) {
468
- if (!Xe(r))
468
+ if (!Je(r))
469
469
  return w;
470
470
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return n.push(r), () => {
@@ -478,21 +478,21 @@ class Lr {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const Cr = "4";
485
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
486
- const Mr = (e) => (r) => {
484
+ const Ur = "4";
485
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
486
+ const Dr = (e) => (r) => {
487
487
  Object.keys(e).map((n) => {
488
488
  if (r.data && r.data.type == n) {
489
- const i = r.data, { type: o } = i, s = Ke(i, ["type"]);
489
+ const i = r.data, { type: o } = i, s = nt(i, ["type"]);
490
490
  e[n](s);
491
491
  }
492
492
  });
493
- }, $r = (e) => {
494
- const t = Mr(e);
495
- Nt(() => (window.addEventListener("message", t, !1), () => {
493
+ }, Gr = (e) => {
494
+ const t = Dr(e);
495
+ $t(() => (window.addEventListener("message", t, !1), () => {
496
496
  window.removeEventListener("message", t);
497
497
  }));
498
498
  };
@@ -510,43 +510,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
510
510
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
511
511
  PERFORMANCE OF THIS SOFTWARE.
512
512
  ***************************************************************************** */
513
- var Ne = function(e, t) {
514
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
513
+ var Me = function(e, t) {
514
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
515
515
  r.__proto__ = n;
516
516
  } || function(r, n) {
517
517
  for (var i in n)
518
518
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
519
- }, Ne(e, t);
519
+ }, Me(e, t);
520
520
  };
521
- function A(e, t) {
521
+ function re(e, t) {
522
522
  if (typeof t != "function" && t !== null)
523
523
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
524
- Ne(e, t);
524
+ Me(e, t);
525
525
  function r() {
526
526
  this.constructor = e;
527
527
  }
528
528
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
529
529
  }
530
- var g = function() {
531
- return g = Object.assign || function(t) {
532
- for (var r, n = 1, i = arguments.length; n < i; n++) {
533
- r = arguments[n];
534
- for (var o in r)
535
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
536
- }
537
- return t;
538
- }, g.apply(this, arguments);
539
- };
540
- function Rr(e, t) {
541
- var r = {};
542
- for (var n in e)
543
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
544
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
545
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
546
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
547
- return r;
548
- }
549
- function Le(e) {
530
+ function $e(e) {
550
531
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
551
532
  if (r)
552
533
  return r.call(e);
@@ -558,7 +539,7 @@ function Le(e) {
558
539
  };
559
540
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
560
541
  }
561
- function Ce(e, t) {
542
+ function Re(e, t) {
562
543
  var r = typeof Symbol == "function" && e[Symbol.iterator];
563
544
  if (!r)
564
545
  return e;
@@ -578,22 +559,22 @@ function Ce(e, t) {
578
559
  }
579
560
  return o;
580
561
  }
581
- function G(e, t, r) {
582
- if (r || arguments.length === 2)
562
+ function Ue(e, t, r) {
563
+ if (arguments.length === 2)
583
564
  for (var n = 0, i = t.length, o; n < i; n++)
584
565
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
585
566
  return e.concat(o || t);
586
567
  }
587
- function B(e) {
568
+ function A(e) {
588
569
  return typeof e == "function";
589
570
  }
590
- function Ct(e) {
571
+ function Ut(e) {
591
572
  var t = function(n) {
592
573
  Error.call(n), n.stack = new Error().stack;
593
574
  }, r = e(t);
594
575
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
595
576
  }
596
- var Te = Ct(function(e) {
577
+ var we = Ut(function(e) {
597
578
  return function(r) {
598
579
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
599
580
  ` + r.map(function(n, i) {
@@ -602,13 +583,13 @@ var Te = Ct(function(e) {
602
583
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
603
584
  };
604
585
  });
605
- function Me(e, t) {
586
+ function De(e, t) {
606
587
  if (e) {
607
588
  var r = e.indexOf(t);
608
589
  0 <= r && e.splice(r, 1);
609
590
  }
610
591
  }
611
- var me = function() {
592
+ var be = function() {
612
593
  function e(t) {
613
594
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
614
595
  }
@@ -620,12 +601,12 @@ var me = function() {
620
601
  if (s)
621
602
  if (this._parentage = null, Array.isArray(s))
622
603
  try {
623
- for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
604
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
624
605
  var u = h.value;
625
606
  u.remove(this);
626
607
  }
627
- } catch (y) {
628
- t = { error: y };
608
+ } catch (g) {
609
+ t = { error: g };
629
610
  } finally {
630
611
  try {
631
612
  h && !h.done && (r = a.return) && r.call(a);
@@ -637,29 +618,29 @@ var me = function() {
637
618
  else
638
619
  s.remove(this);
639
620
  var l = this.initialTeardown;
640
- if (B(l))
621
+ if (A(l))
641
622
  try {
642
623
  l();
643
- } catch (y) {
644
- o = y instanceof Te ? y.errors : [y];
624
+ } catch (g) {
625
+ o = g instanceof we ? g.errors : [g];
645
626
  }
646
627
  var f = this._finalizers;
647
628
  if (f) {
648
629
  this._finalizers = null;
649
630
  try {
650
- for (var c = Le(f), d = c.next(); !d.done; d = c.next()) {
651
- var m = d.value;
631
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
632
+ var d = p.value;
652
633
  try {
653
- ot(m);
654
- } catch (y) {
655
- o = o != null ? o : [], y instanceof Te ? o = G(G([], Ce(o)), Ce(y.errors)) : o.push(y);
634
+ ht(d);
635
+ } catch (g) {
636
+ o = o != null ? o : [], g instanceof we ? o = Ue(Ue([], Re(o)), Re(g.errors)) : o.push(g);
656
637
  }
657
638
  }
658
- } catch (y) {
659
- n = { error: y };
639
+ } catch (g) {
640
+ n = { error: g };
660
641
  } finally {
661
642
  try {
662
- d && !d.done && (i = c.return) && i.call(c);
643
+ p && !p.done && (i = c.return) && i.call(c);
663
644
  } finally {
664
645
  if (n)
665
646
  throw n.error;
@@ -667,13 +648,13 @@ var me = function() {
667
648
  }
668
649
  }
669
650
  if (o)
670
- throw new Te(o);
651
+ throw new we(o);
671
652
  }
672
653
  }, e.prototype.add = function(t) {
673
654
  var r;
674
655
  if (t && t !== this)
675
656
  if (this.closed)
676
- ot(t);
657
+ ht(t);
677
658
  else {
678
659
  if (t instanceof e) {
679
660
  if (t.closed || t._hasParent(this))
@@ -690,56 +671,52 @@ var me = function() {
690
671
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
691
672
  }, e.prototype._removeParent = function(t) {
692
673
  var r = this._parentage;
693
- r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
674
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
694
675
  }, e.prototype.remove = function(t) {
695
676
  var r = this._finalizers;
696
- r && Me(r, t), t instanceof e && t._removeParent(this);
677
+ r && De(r, t), t instanceof e && t._removeParent(this);
697
678
  }, e.EMPTY = function() {
698
679
  var t = new e();
699
680
  return t.closed = !0, t;
700
681
  }(), e;
701
- }(), Mt = me.EMPTY;
702
- function $t(e) {
703
- return e instanceof me || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
704
- }
705
- function ot(e) {
706
- B(e) ? e() : e.unsubscribe();
707
- }
708
- var Ur = {
709
- onUnhandledError: null,
710
- onStoppedNotification: null,
711
- Promise: void 0,
712
- useDeprecatedSynchronousErrorHandling: !1,
713
- useDeprecatedNextContext: !1
714
- }, Dr = {
682
+ }(), Dt = be.EMPTY;
683
+ function Gt(e) {
684
+ return e instanceof be || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
685
+ }
686
+ function ht(e) {
687
+ A(e) ? e() : e.unsubscribe();
688
+ }
689
+ var Fr = {
690
+ Promise: void 0
691
+ }, jr = {
715
692
  setTimeout: function(e, t) {
716
693
  for (var r = [], n = 2; n < arguments.length; n++)
717
694
  r[n - 2] = arguments[n];
718
- return setTimeout.apply(void 0, G([e, t], Ce(r)));
695
+ return setTimeout.apply(void 0, Ue([e, t], Re(r)));
719
696
  },
720
697
  clearTimeout: function(e) {
721
698
  return clearTimeout(e);
722
699
  },
723
700
  delegate: void 0
724
701
  };
725
- function Gr(e) {
726
- Dr.setTimeout(function() {
702
+ function kr(e) {
703
+ jr.setTimeout(function() {
727
704
  throw e;
728
705
  });
729
706
  }
730
- function st() {
707
+ function lt() {
731
708
  }
732
709
  function le(e) {
733
710
  e();
734
711
  }
735
- var Rt = function(e) {
736
- A(t, e);
712
+ var Ft = function(e) {
713
+ re(t, e);
737
714
  function t(r) {
738
715
  var n = e.call(this) || this;
739
- return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = kr, n;
716
+ return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = zr, n;
740
717
  }
741
718
  return t.create = function(r, n, i) {
742
- return new $e(r, n, i);
719
+ return new Ge(r, n, i);
743
720
  }, t.prototype.next = function(r) {
744
721
  this.isStopped || this._next(r);
745
722
  }, t.prototype.error = function(r) {
@@ -763,7 +740,7 @@ var Rt = function(e) {
763
740
  this.unsubscribe();
764
741
  }
765
742
  }, t;
766
- }(me), Fr = function() {
743
+ }(be), Vr = function() {
767
744
  function e(t) {
768
745
  this.partialObserver = t;
769
746
  }
@@ -794,43 +771,43 @@ var Rt = function(e) {
794
771
  ae(r);
795
772
  }
796
773
  }, e;
797
- }(), $e = function(e) {
798
- A(t, e);
774
+ }(), Ge = function(e) {
775
+ re(t, e);
799
776
  function t(r, n, i) {
800
777
  var o = e.call(this) || this, s;
801
- return B(r) || !r ? s = {
778
+ return A(r) || !r ? s = {
802
779
  next: r != null ? r : void 0,
803
780
  error: n != null ? n : void 0,
804
781
  complete: i != null ? i : void 0
805
- } : s = r, o.destination = new Fr(s), o;
782
+ } : s = r, o.destination = new Vr(s), o;
806
783
  }
807
784
  return t;
808
- }(Rt);
785
+ }(Ft);
809
786
  function ae(e) {
810
- Gr(e);
787
+ kr(e);
811
788
  }
812
- function jr(e) {
789
+ function Xr(e) {
813
790
  throw e;
814
791
  }
815
- var kr = {
792
+ var zr = {
816
793
  closed: !0,
817
- next: st,
818
- error: jr,
819
- complete: st
820
- }, Vr = function() {
794
+ next: lt,
795
+ error: Xr,
796
+ complete: lt
797
+ }, Wr = function() {
821
798
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
822
799
  }();
823
- function Xr(e) {
800
+ function Zr(e) {
824
801
  return e;
825
802
  }
826
- function zr(e) {
827
- return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
803
+ function Qr(e) {
804
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
828
805
  return e.reduce(function(n, i) {
829
806
  return i(n);
830
807
  }, r);
831
808
  };
832
809
  }
833
- var at = function() {
810
+ var ft = function() {
834
811
  function e(t) {
835
812
  t && (this._subscribe = t);
836
813
  }
@@ -838,7 +815,7 @@ var at = function() {
838
815
  var r = new e();
839
816
  return r.source = this, r.operator = t, r;
840
817
  }, e.prototype.subscribe = function(t, r, n) {
841
- var i = this, o = Zr(t) ? t : new $e(t, r, n);
818
+ var i = this, o = Yr(t) ? t : new Ge(t, r, n);
842
819
  return le(function() {
843
820
  var s = i, a = s.operator, h = s.source;
844
821
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -851,8 +828,8 @@ var at = function() {
851
828
  }
852
829
  }, e.prototype.forEach = function(t, r) {
853
830
  var n = this;
854
- return r = ut(r), new r(function(i, o) {
855
- var s = new $e({
831
+ return r = ct(r), new r(function(i, o) {
832
+ var s = new Ge({
856
833
  next: function(a) {
857
834
  try {
858
835
  t(a);
@@ -868,15 +845,15 @@ var at = function() {
868
845
  }, e.prototype._subscribe = function(t) {
869
846
  var r;
870
847
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
871
- }, e.prototype[Vr] = function() {
848
+ }, e.prototype[Wr] = function() {
872
849
  return this;
873
850
  }, e.prototype.pipe = function() {
874
851
  for (var t = [], r = 0; r < arguments.length; r++)
875
852
  t[r] = arguments[r];
876
- return zr(t)(this);
853
+ return Qr(t)(this);
877
854
  }, e.prototype.toPromise = function(t) {
878
855
  var r = this;
879
- return t = ut(t), new t(function(n, i) {
856
+ return t = ct(t), new t(function(n, i) {
880
857
  var o;
881
858
  r.subscribe(function(s) {
882
859
  return o = s;
@@ -890,32 +867,32 @@ var at = function() {
890
867
  return new e(t);
891
868
  }, e;
892
869
  }();
893
- function ut(e) {
870
+ function ct(e) {
894
871
  var t;
895
- return (t = e != null ? e : Ur.Promise) !== null && t !== void 0 ? t : Promise;
872
+ return (t = e != null ? e : Fr.Promise) !== null && t !== void 0 ? t : Promise;
896
873
  }
897
- function Wr(e) {
898
- return e && B(e.next) && B(e.error) && B(e.complete);
874
+ function Jr(e) {
875
+ return e && A(e.next) && A(e.error) && A(e.complete);
899
876
  }
900
- function Zr(e) {
901
- return e && e instanceof Rt || Wr(e) && $t(e);
877
+ function Yr(e) {
878
+ return e && e instanceof Ft || Jr(e) && Gt(e);
902
879
  }
903
- var Qr = Ct(function(e) {
880
+ var qr = Ut(function(e) {
904
881
  return function() {
905
882
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
906
883
  };
907
- }), Ut = function(e) {
908
- A(t, e);
884
+ }), jt = function(e) {
885
+ re(t, e);
909
886
  function t() {
910
887
  var r = e.call(this) || this;
911
888
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
912
889
  }
913
890
  return t.prototype.lift = function(r) {
914
- var n = new ht(this, this);
891
+ var n = new pt(this, this);
915
892
  return n.operator = r, n;
916
893
  }, t.prototype._throwIfClosed = function() {
917
894
  if (this.closed)
918
- throw new Qr();
895
+ throw new qr();
919
896
  }, t.prototype.next = function(r) {
920
897
  var n = this;
921
898
  le(function() {
@@ -923,7 +900,7 @@ var Qr = Ct(function(e) {
923
900
  if (n._throwIfClosed(), !n.isStopped) {
924
901
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
925
902
  try {
926
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
903
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
927
904
  var h = a.value;
928
905
  h.next(r);
929
906
  }
@@ -972,20 +949,20 @@ var Qr = Ct(function(e) {
972
949
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
973
950
  }, t.prototype._innerSubscribe = function(r) {
974
951
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
975
- return o || s ? Mt : (this.currentObservers = null, a.push(r), new me(function() {
976
- n.currentObservers = null, Me(a, r);
952
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new be(function() {
953
+ n.currentObservers = null, De(a, r);
977
954
  }));
978
955
  }, t.prototype._checkFinalizedStatuses = function(r) {
979
956
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
980
957
  i ? r.error(o) : s && r.complete();
981
958
  }, t.prototype.asObservable = function() {
982
- var r = new at();
959
+ var r = new ft();
983
960
  return r.source = this, r;
984
961
  }, t.create = function(r, n) {
985
- return new ht(r, n);
962
+ return new pt(r, n);
986
963
  }, t;
987
- }(at), ht = function(e) {
988
- A(t, e);
964
+ }(ft), pt = function(e) {
965
+ re(t, e);
989
966
  function t(r, n) {
990
967
  var i = e.call(this) || this;
991
968
  return i.destination = r, i.source = n, i;
@@ -1001,17 +978,17 @@ var Qr = Ct(function(e) {
1001
978
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1002
979
  }, t.prototype._subscribe = function(r) {
1003
980
  var n, i;
1004
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
981
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1005
982
  }, t;
1006
- }(Ut), Dt = {
983
+ }(jt), kt = {
1007
984
  now: function() {
1008
- return (Dt.delegate || Date).now();
985
+ return (kt.delegate || Date).now();
1009
986
  },
1010
987
  delegate: void 0
1011
- }, Jr = function(e) {
1012
- A(t, e);
988
+ }, Kr = function(e) {
989
+ re(t, e);
1013
990
  function t(r, n, i) {
1014
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
991
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1015
992
  var o = e.call(this) || this;
1016
993
  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;
1017
994
  }
@@ -1031,24 +1008,24 @@ var Qr = Ct(function(e) {
1031
1008
  u && o.splice(0, u + 1);
1032
1009
  }
1033
1010
  }, t;
1034
- }(Ut);
1035
- const lt = [], ft = {}, Yr = (e, t = 0) => {
1036
- if (lt.indexOf(e) == -1) {
1037
- const r = new Jr(t);
1038
- ft[e] = r, lt.push(e);
1011
+ }(jt);
1012
+ const mt = [], dt = {}, en = (e, t = 0) => {
1013
+ if (mt.indexOf(e) == -1) {
1014
+ const r = new Kr(t);
1015
+ dt[e] = r, mt.push(e);
1039
1016
  }
1040
- return ft[e];
1017
+ return dt[e];
1041
1018
  }, R = [];
1042
- function qr(e, t) {
1019
+ function tn(e, t) {
1043
1020
  return {
1044
- subscribe: be(e, t).subscribe
1021
+ subscribe: ge(e, t).subscribe
1045
1022
  };
1046
1023
  }
1047
- function be(e, t = w) {
1024
+ function ge(e, t = w) {
1048
1025
  let r;
1049
1026
  const n = /* @__PURE__ */ new Set();
1050
1027
  function i(a) {
1051
- if (Ot(e, a) && (e = a, r)) {
1028
+ if (Ct(e, a) && (e = a, r)) {
1052
1029
  const h = !R.length;
1053
1030
  for (const u of n)
1054
1031
  u[1](), R.push(u, e);
@@ -1070,12 +1047,12 @@ function be(e, t = w) {
1070
1047
  }
1071
1048
  return { set: i, update: o, subscribe: s };
1072
1049
  }
1073
- function z(e, t, r) {
1050
+ function X(e, t, r) {
1074
1051
  const n = !Array.isArray(e), i = n ? [e] : e;
1075
1052
  if (!i.every(Boolean))
1076
1053
  throw new Error("derived() expects stores as input, got a falsy value");
1077
1054
  const o = t.length < 2;
1078
- return qr(r, (s, a) => {
1055
+ return tn(r, (s, a) => {
1079
1056
  let h = !1;
1080
1057
  const u = [];
1081
1058
  let l = 0, f = w;
@@ -1083,132 +1060,171 @@ function z(e, t, r) {
1083
1060
  if (l)
1084
1061
  return;
1085
1062
  f();
1086
- const m = t(n ? u[0] : u, s, a);
1087
- o ? s(m) : f = Xe(m) ? m : w;
1088
- }, d = i.map(
1089
- (m, y) => dr(
1090
- m,
1091
- (T) => {
1092
- u[y] = T, l &= ~(1 << y), h && c();
1063
+ const d = t(n ? u[0] : u, s, a);
1064
+ o ? s(d) : f = Je(d) ? d : w;
1065
+ }, p = i.map(
1066
+ (d, g) => gr(
1067
+ d,
1068
+ (S) => {
1069
+ u[g] = S, l &= ~(1 << g), h && c();
1093
1070
  },
1094
1071
  () => {
1095
- l |= 1 << y;
1072
+ l |= 1 << g;
1096
1073
  }
1097
1074
  )
1098
1075
  );
1099
1076
  return h = !0, c(), function() {
1100
- te(d), f(), h = !1;
1077
+ ee(p), f(), h = !1;
1101
1078
  };
1102
1079
  });
1103
1080
  }
1104
- function Kr(e) {
1105
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1081
+ function rn(e) {
1082
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1106
1083
  }
1107
- var en = function(t) {
1108
- return tn(t) && !rn(t);
1084
+ var nn = function(t) {
1085
+ return on(t) && !sn(t);
1109
1086
  };
1110
- function tn(e) {
1087
+ function on(e) {
1111
1088
  return !!e && typeof e == "object";
1112
1089
  }
1113
- function rn(e) {
1090
+ function sn(e) {
1114
1091
  var t = Object.prototype.toString.call(e);
1115
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1092
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1116
1093
  }
1117
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1118
- function sn(e) {
1119
- return e.$$typeof === on;
1094
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1095
+ function hn(e) {
1096
+ return e.$$typeof === un;
1120
1097
  }
1121
- function an(e) {
1098
+ function ln(e) {
1122
1099
  return Array.isArray(e) ? [] : {};
1123
1100
  }
1124
- function K(e, t) {
1125
- return t.clone !== !1 && t.isMergeableObject(e) ? F(an(e), e, t) : e;
1101
+ function q(e, t) {
1102
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(ln(e), e, t) : e;
1126
1103
  }
1127
- function un(e, t, r) {
1104
+ function fn(e, t, r) {
1128
1105
  return e.concat(t).map(function(n) {
1129
- return K(n, r);
1106
+ return q(n, r);
1130
1107
  });
1131
1108
  }
1132
- function hn(e, t) {
1109
+ function cn(e, t) {
1133
1110
  if (!t.customMerge)
1134
- return F;
1111
+ return G;
1135
1112
  var r = t.customMerge(e);
1136
- return typeof r == "function" ? r : F;
1113
+ return typeof r == "function" ? r : G;
1137
1114
  }
1138
- function ln(e) {
1115
+ function pn(e) {
1139
1116
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1140
1117
  return Object.propertyIsEnumerable.call(e, t);
1141
1118
  }) : [];
1142
1119
  }
1143
- function ct(e) {
1144
- return Object.keys(e).concat(ln(e));
1120
+ function bt(e) {
1121
+ return Object.keys(e).concat(pn(e));
1145
1122
  }
1146
- function Gt(e, t) {
1123
+ function Vt(e, t) {
1147
1124
  try {
1148
1125
  return t in e;
1149
1126
  } catch (r) {
1150
1127
  return !1;
1151
1128
  }
1152
1129
  }
1153
- function fn(e, t) {
1154
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
+ function mn(e, t) {
1131
+ return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
1132
  }
1156
- function cn(e, t, r) {
1133
+ function dn(e, t, r) {
1157
1134
  var n = {};
1158
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1159
- n[i] = K(e[i], r);
1160
- }), ct(t).forEach(function(i) {
1161
- fn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1135
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1136
+ n[i] = q(e[i], r);
1137
+ }), bt(t).forEach(function(i) {
1138
+ mn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1162
1139
  }), n;
1163
1140
  }
1164
- function F(e, t, r) {
1165
- r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = K;
1141
+ function G(e, t, r) {
1142
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = q;
1166
1143
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1167
- return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : K(t, r);
1144
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : q(t, r);
1168
1145
  }
1169
- F.all = function(t, r) {
1146
+ G.all = function(t, r) {
1170
1147
  if (!Array.isArray(t))
1171
1148
  throw new Error("first argument should be an array");
1172
1149
  return t.reduce(function(n, i) {
1173
- return F(n, i, r);
1150
+ return G(n, i, r);
1174
1151
  }, {});
1175
1152
  };
1176
- var dn = F, pn = dn;
1177
- const mn = /* @__PURE__ */ Kr(pn);
1178
- function Se(e, t) {
1179
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
1153
+ var bn = G, gn = bn;
1154
+ const vn = /* @__PURE__ */ rn(gn);
1155
+ var Fe = function(e, t) {
1156
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1157
+ r.__proto__ = n;
1158
+ } || function(r, n) {
1159
+ for (var i in n)
1160
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1161
+ }, Fe(e, t);
1162
+ };
1163
+ function ve(e, t) {
1164
+ if (typeof t != "function" && t !== null)
1165
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1166
+ Fe(e, t);
1167
+ function r() {
1168
+ this.constructor = e;
1169
+ }
1170
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1171
+ }
1172
+ var B = function() {
1173
+ return B = Object.assign || function(t) {
1174
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1175
+ r = arguments[n];
1176
+ for (var o in r)
1177
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1178
+ }
1179
+ return t;
1180
+ }, B.apply(this, arguments);
1181
+ };
1182
+ function yn(e, t) {
1183
+ var r = {};
1184
+ for (var n in e)
1185
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1186
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1187
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1188
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1189
+ return r;
1190
+ }
1191
+ function He(e, t, r) {
1192
+ if (r || arguments.length === 2)
1193
+ for (var n = 0, i = t.length, o; n < i; n++)
1194
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1195
+ return e.concat(o || Array.prototype.slice.call(t));
1196
+ }
1197
+ function Be(e, t) {
1198
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : xn;
1180
1199
  return i(e, {
1181
1200
  cache: r,
1182
1201
  serializer: n
1183
1202
  });
1184
1203
  }
1185
- function bn(e) {
1204
+ function _n(e) {
1186
1205
  return e == null || typeof e == "number" || typeof e == "boolean";
1187
1206
  }
1188
- function Ft(e, t, r, n) {
1189
- var i = bn(n) ? n : r(n), o = t.get(i);
1207
+ function En(e, t, r, n) {
1208
+ var i = _n(n) ? n : r(n), o = t.get(i);
1190
1209
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1191
1210
  }
1192
- function jt(e, t, r) {
1211
+ function Xt(e, t, r) {
1193
1212
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1194
1213
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1195
1214
  }
1196
- function We(e, t, r, n, i) {
1215
+ function zt(e, t, r, n, i) {
1197
1216
  return r.bind(t, e, n, i);
1198
1217
  }
1199
- function gn(e, t) {
1200
- var r = e.length === 1 ? Ft : jt;
1201
- return We(e, this, r, t.cache.create(), t.serializer);
1202
- }
1203
- function yn(e, t) {
1204
- return We(e, this, jt, t.cache.create(), t.serializer);
1218
+ function xn(e, t) {
1219
+ var r = e.length === 1 ? En : Xt;
1220
+ return zt(e, this, r, t.cache.create(), t.serializer);
1205
1221
  }
1206
- function vn(e, t) {
1207
- return We(e, this, Ft, t.cache.create(), t.serializer);
1222
+ function Sn(e, t) {
1223
+ return zt(e, this, Xt, t.cache.create(), t.serializer);
1208
1224
  }
1209
- var _n = function() {
1225
+ var Tn = function() {
1210
1226
  return JSON.stringify(arguments);
1211
- }, En = (
1227
+ }, wn = (
1212
1228
  /** @class */
1213
1229
  function() {
1214
1230
  function e() {
@@ -1220,62 +1236,71 @@ var _n = function() {
1220
1236
  this.cache[t] = r;
1221
1237
  }, e;
1222
1238
  }()
1223
- ), xn = {
1239
+ ), Hn = {
1224
1240
  create: function() {
1225
- return new En();
1241
+ return new wn();
1226
1242
  }
1227
- }, we = {
1228
- variadic: yn,
1229
- monadic: vn
1230
- }, p;
1243
+ }, Ae = {
1244
+ variadic: Sn
1245
+ }, pe = function() {
1246
+ return pe = Object.assign || function(t) {
1247
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1248
+ r = arguments[n];
1249
+ for (var o in r)
1250
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1251
+ }
1252
+ return t;
1253
+ }, pe.apply(this, arguments);
1254
+ };
1255
+ var m;
1231
1256
  (function(e) {
1232
1257
  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";
1233
- })(p || (p = {}));
1234
- var _;
1258
+ })(m || (m = {}));
1259
+ var y;
1235
1260
  (function(e) {
1236
1261
  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";
1237
- })(_ || (_ = {}));
1238
- var j;
1262
+ })(y || (y = {}));
1263
+ var F;
1239
1264
  (function(e) {
1240
1265
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1241
- })(j || (j = {}));
1242
- function dt(e) {
1243
- return e.type === _.literal;
1266
+ })(F || (F = {}));
1267
+ function gt(e) {
1268
+ return e.type === y.literal;
1244
1269
  }
1245
- function Tn(e) {
1246
- return e.type === _.argument;
1270
+ function Bn(e) {
1271
+ return e.type === y.argument;
1247
1272
  }
1248
- function kt(e) {
1249
- return e.type === _.number;
1273
+ function Wt(e) {
1274
+ return e.type === y.number;
1250
1275
  }
1251
- function Vt(e) {
1252
- return e.type === _.date;
1276
+ function Zt(e) {
1277
+ return e.type === y.date;
1253
1278
  }
1254
- function Xt(e) {
1255
- return e.type === _.time;
1279
+ function Qt(e) {
1280
+ return e.type === y.time;
1256
1281
  }
1257
- function zt(e) {
1258
- return e.type === _.select;
1282
+ function Jt(e) {
1283
+ return e.type === y.select;
1259
1284
  }
1260
- function Wt(e) {
1261
- return e.type === _.plural;
1285
+ function Yt(e) {
1286
+ return e.type === y.plural;
1262
1287
  }
1263
- function Sn(e) {
1264
- return e.type === _.pound;
1288
+ function An(e) {
1289
+ return e.type === y.pound;
1265
1290
  }
1266
- function Zt(e) {
1267
- return e.type === _.tag;
1291
+ function qt(e) {
1292
+ return e.type === y.tag;
1268
1293
  }
1269
- function Qt(e) {
1270
- return !!(e && typeof e == "object" && e.type === j.number);
1294
+ function Kt(e) {
1295
+ return !!(e && typeof e == "object" && e.type === F.number);
1271
1296
  }
1272
- function Re(e) {
1273
- return !!(e && typeof e == "object" && e.type === j.dateTime);
1297
+ function je(e) {
1298
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
1274
1299
  }
1275
- var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1276
- function Hn(e) {
1300
+ var er = /[ \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;
1301
+ function On(e) {
1277
1302
  var t = {};
1278
- return e.replace(wn, function(r) {
1303
+ return e.replace(Pn, function(r) {
1279
1304
  var n = r.length;
1280
1305
  switch (r[0]) {
1281
1306
  case "G":
@@ -1364,11 +1389,21 @@ function Hn(e) {
1364
1389
  return "";
1365
1390
  }), t;
1366
1391
  }
1367
- var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1368
- function An(e) {
1392
+ var _ = function() {
1393
+ return _ = Object.assign || function(t) {
1394
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1395
+ r = arguments[n];
1396
+ for (var o in r)
1397
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1398
+ }
1399
+ return t;
1400
+ }, _.apply(this, arguments);
1401
+ };
1402
+ var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1403
+ function Nn(e) {
1369
1404
  if (e.length === 0)
1370
1405
  throw new Error("Number skeleton cannot be empty");
1371
- for (var t = e.split(Bn).filter(function(c) {
1406
+ for (var t = e.split(In).filter(function(c) {
1372
1407
  return c.length > 0;
1373
1408
  }), r = [], n = 0, i = t; n < i.length; n++) {
1374
1409
  var o = i[n], s = o.split("/");
@@ -1383,17 +1418,17 @@ function An(e) {
1383
1418
  }
1384
1419
  return r;
1385
1420
  }
1386
- function Pn(e) {
1421
+ function Ln(e) {
1387
1422
  return e.replace(/^(.*?)-/, "");
1388
1423
  }
1389
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1390
- function mt(e) {
1424
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1425
+ function yt(e) {
1391
1426
  var t = {};
1392
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1427
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1393
1428
  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)), "";
1394
1429
  }), t;
1395
1430
  }
1396
- function Kt(e) {
1431
+ function nr(e) {
1397
1432
  switch (e) {
1398
1433
  case "sign-auto":
1399
1434
  return {
@@ -1433,7 +1468,7 @@ function Kt(e) {
1433
1468
  };
1434
1469
  }
1435
1470
  }
1436
- function In(e) {
1471
+ function Mn(e) {
1437
1472
  var t;
1438
1473
  if (e[0] === "E" && e[1] === "E" ? (t = {
1439
1474
  notation: "engineering"
@@ -1441,17 +1476,17 @@ function In(e) {
1441
1476
  notation: "scientific"
1442
1477
  }, e = e.slice(1)), t) {
1443
1478
  var r = e.slice(0, 2);
1444
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1479
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1445
1480
  throw new Error("Malformed concise eng/scientific notation");
1446
1481
  t.minimumIntegerDigits = e.length;
1447
1482
  }
1448
1483
  return t;
1449
1484
  }
1450
- function bt(e) {
1451
- var t = {}, r = Kt(e);
1485
+ function _t(e) {
1486
+ var t = {}, r = nr(e);
1452
1487
  return r || t;
1453
1488
  }
1454
- function Nn(e) {
1489
+ function $n(e) {
1455
1490
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1456
1491
  var i = n[r];
1457
1492
  switch (i.stem) {
@@ -1475,7 +1510,7 @@ function Nn(e) {
1475
1510
  continue;
1476
1511
  case "measure-unit":
1477
1512
  case "unit":
1478
- t.style = "unit", t.unit = Pn(i.options[0]);
1513
+ t.style = "unit", t.unit = Ln(i.options[0]);
1479
1514
  continue;
1480
1515
  case "compact-short":
1481
1516
  case "K":
@@ -1486,13 +1521,13 @@ function Nn(e) {
1486
1521
  t.notation = "compact", t.compactDisplay = "long";
1487
1522
  continue;
1488
1523
  case "scientific":
1489
- t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1490
- return g(g({}, h), bt(u));
1524
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1525
+ return _(_({}, h), _t(u));
1491
1526
  }, {}));
1492
1527
  continue;
1493
1528
  case "engineering":
1494
- t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1495
- return g(g({}, h), bt(u));
1529
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1530
+ return _(_({}, h), _t(u));
1496
1531
  }, {}));
1497
1532
  continue;
1498
1533
  case "notation-simple":
@@ -1537,41 +1572,41 @@ function Nn(e) {
1537
1572
  case "integer-width":
1538
1573
  if (i.options.length > 1)
1539
1574
  throw new RangeError("integer-width stems only accept a single optional option");
1540
- i.options[0].replace(On, function(h, u, l, f, c, d) {
1575
+ i.options[0].replace(Cn, function(h, u, l, f, c, p) {
1541
1576
  if (u)
1542
1577
  t.minimumIntegerDigits = l.length;
1543
1578
  else {
1544
1579
  if (f && c)
1545
1580
  throw new Error("We currently do not support maximum integer digits");
1546
- if (d)
1581
+ if (p)
1547
1582
  throw new Error("We currently do not support exact integer digits");
1548
1583
  }
1549
1584
  return "";
1550
1585
  });
1551
1586
  continue;
1552
1587
  }
1553
- if (qt.test(i.stem)) {
1588
+ if (rr.test(i.stem)) {
1554
1589
  t.minimumIntegerDigits = i.stem.length;
1555
1590
  continue;
1556
1591
  }
1557
- if (pt.test(i.stem)) {
1592
+ if (vt.test(i.stem)) {
1558
1593
  if (i.options.length > 1)
1559
1594
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1560
- i.stem.replace(pt, function(h, u, l, f, c, d) {
1561
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1595
+ i.stem.replace(vt, function(h, u, l, f, c, p) {
1596
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1562
1597
  });
1563
1598
  var o = i.options[0];
1564
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), mt(o)));
1599
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1565
1600
  continue;
1566
1601
  }
1567
- if (Yt.test(i.stem)) {
1568
- t = g(g({}, t), mt(i.stem));
1602
+ if (tr.test(i.stem)) {
1603
+ t = _(_({}, t), yt(i.stem));
1569
1604
  continue;
1570
1605
  }
1571
- var s = Kt(i.stem);
1572
- s && (t = g(g({}, t), s));
1573
- var a = In(i.stem);
1574
- a && (t = g(g({}, t), a));
1606
+ var s = nr(i.stem);
1607
+ s && (t = _(_({}, t), s));
1608
+ var a = Mn(i.stem);
1609
+ a && (t = _(_({}, t), a));
1575
1610
  }
1576
1611
  return t;
1577
1612
  }
@@ -2990,13 +3025,13 @@ var ue = {
2990
3025
  "h"
2991
3026
  ]
2992
3027
  };
2993
- function Ln(e, t) {
3028
+ function Rn(e, t) {
2994
3029
  for (var r = "", n = 0; n < e.length; n++) {
2995
3030
  var i = e.charAt(n);
2996
3031
  if (i === "j") {
2997
3032
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2998
3033
  o++, n++;
2999
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
3034
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Un(t);
3000
3035
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3001
3036
  r += h;
3002
3037
  for (; s-- > 0; )
@@ -3006,7 +3041,7 @@ function Ln(e, t) {
3006
3041
  }
3007
3042
  return r;
3008
3043
  }
3009
- function Cn(e) {
3044
+ function Un(e) {
3010
3045
  var t = e.hourCycle;
3011
3046
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3012
3047
  e.hourCycles && // @ts-ignore
@@ -3028,20 +3063,20 @@ function Cn(e) {
3028
3063
  var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
3029
3064
  return i[0];
3030
3065
  }
3031
- var He, Mn = new RegExp("^".concat(Jt.source, "*")), $n = new RegExp("".concat(Jt.source, "*$"));
3066
+ var Pe, Dn = new RegExp("^".concat(er.source, "*")), Gn = new RegExp("".concat(er.source, "*$"));
3032
3067
  function b(e, t) {
3033
3068
  return { start: e, end: t };
3034
3069
  }
3035
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
3070
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Zn = Wn ? Number.isSafeInteger : function(e) {
3036
3071
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3037
- }, Ue = !0;
3072
+ }, ke = !0;
3038
3073
  try {
3039
- var Xn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3040
- Ue = ((He = Xn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3074
+ var Qn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3075
+ ke = ((Pe = Qn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3041
3076
  } catch (e) {
3042
- Ue = !1;
3077
+ ke = !1;
3043
3078
  }
3044
- var gt = Rn ? (
3079
+ var Et = Fn ? (
3045
3080
  // Native
3046
3081
  function(t, r, n) {
3047
3082
  return t.startsWith(r, n);
@@ -3051,7 +3086,7 @@ var gt = Rn ? (
3051
3086
  function(t, r, n) {
3052
3087
  return t.slice(n, n + r.length) === r;
3053
3088
  }
3054
- ), De = Un ? String.fromCodePoint : (
3089
+ ), Ve = jn ? String.fromCodePoint : (
3055
3090
  // IE11
3056
3091
  function() {
3057
3092
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3063,9 +3098,9 @@ var gt = Rn ? (
3063
3098
  }
3064
3099
  return n;
3065
3100
  }
3066
- ), yt = (
3101
+ ), xt = (
3067
3102
  // native
3068
- Dn ? Object.fromEntries : (
3103
+ kn ? Object.fromEntries : (
3069
3104
  // Ponyfill
3070
3105
  function(t) {
3071
3106
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3075,7 +3110,7 @@ var gt = Rn ? (
3075
3110
  return r;
3076
3111
  }
3077
3112
  )
3078
- ), er = Gn ? (
3113
+ ), ir = Vn ? (
3079
3114
  // Native
3080
3115
  function(t, r) {
3081
3116
  return t.codePointAt(r);
@@ -3089,7 +3124,7 @@ var gt = Rn ? (
3089
3124
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3090
3125
  }
3091
3126
  }
3092
- ), zn = Fn ? (
3127
+ ), Jn = Xn ? (
3093
3128
  // Native
3094
3129
  function(t) {
3095
3130
  return t.trimStart();
@@ -3097,9 +3132,9 @@ var gt = Rn ? (
3097
3132
  ) : (
3098
3133
  // Ponyfill
3099
3134
  function(t) {
3100
- return t.replace(Mn, "");
3135
+ return t.replace(Dn, "");
3101
3136
  }
3102
- ), Wn = jn ? (
3137
+ ), Yn = zn ? (
3103
3138
  // Native
3104
3139
  function(t) {
3105
3140
  return t.trimEnd();
@@ -3107,32 +3142,32 @@ var gt = Rn ? (
3107
3142
  ) : (
3108
3143
  // Ponyfill
3109
3144
  function(t) {
3110
- return t.replace($n, "");
3145
+ return t.replace(Gn, "");
3111
3146
  }
3112
3147
  );
3113
- function tr(e, t) {
3148
+ function or(e, t) {
3114
3149
  return new RegExp(e, t);
3115
3150
  }
3116
- var Ge;
3117
- if (Ue) {
3118
- var vt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3119
- Ge = function(t, r) {
3151
+ var Xe;
3152
+ if (ke) {
3153
+ var St = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3154
+ Xe = function(t, r) {
3120
3155
  var n;
3121
- vt.lastIndex = r;
3122
- var i = vt.exec(t);
3156
+ St.lastIndex = r;
3157
+ var i = St.exec(t);
3123
3158
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3124
3159
  };
3125
3160
  } else
3126
- Ge = function(t, r) {
3161
+ Xe = function(t, r) {
3127
3162
  for (var n = []; ; ) {
3128
- var i = er(t, r);
3129
- if (i === void 0 || rr(i) || Yn(i))
3163
+ var i = ir(t, r);
3164
+ if (i === void 0 || sr(i) || ti(i))
3130
3165
  break;
3131
3166
  n.push(i), r += i >= 65536 ? 2 : 1;
3132
3167
  }
3133
- return De.apply(void 0, n);
3168
+ return Ve.apply(void 0, n);
3134
3169
  };
3135
- var Zn = (
3170
+ var qn = (
3136
3171
  /** @class */
3137
3172
  function() {
3138
3173
  function e(t, r) {
@@ -3156,14 +3191,14 @@ var Zn = (
3156
3191
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3157
3192
  var a = this.clonePosition();
3158
3193
  this.bump(), i.push({
3159
- type: _.pound,
3194
+ type: y.pound,
3160
3195
  location: b(a, this.clonePosition())
3161
3196
  });
3162
3197
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3163
3198
  if (n)
3164
3199
  break;
3165
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3166
- } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3200
+ return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3201
+ } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3167
3202
  var s = this.parseTag(t, r);
3168
3203
  if (s.err)
3169
3204
  return s;
@@ -3184,7 +3219,7 @@ var Zn = (
3184
3219
  if (this.bumpSpace(), this.bumpIf("/>"))
3185
3220
  return {
3186
3221
  val: {
3187
- type: _.literal,
3222
+ type: y.literal,
3188
3223
  value: "<".concat(i, "/>"),
3189
3224
  location: b(n, this.clonePosition())
3190
3225
  },
@@ -3196,25 +3231,25 @@ var Zn = (
3196
3231
  return o;
3197
3232
  var s = o.val, a = this.clonePosition();
3198
3233
  if (this.bumpIf("</")) {
3199
- if (this.isEOF() || !Fe(this.char()))
3200
- return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
3234
+ if (this.isEOF() || !ze(this.char()))
3235
+ return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3201
3236
  var h = this.clonePosition(), u = this.parseTagName();
3202
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3237
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3203
3238
  val: {
3204
- type: _.tag,
3239
+ type: y.tag,
3205
3240
  value: i,
3206
3241
  children: s,
3207
3242
  location: b(n, this.clonePosition())
3208
3243
  },
3209
3244
  err: null
3210
- } : this.error(p.INVALID_TAG, b(a, this.clonePosition())));
3245
+ } : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
3211
3246
  } else
3212
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
3247
+ return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
3213
3248
  } else
3214
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3249
+ return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3215
3250
  }, e.prototype.parseTagName = function() {
3216
3251
  var t = this.offset();
3217
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3252
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
3218
3253
  this.bump();
3219
3254
  return this.message.slice(t, this.offset());
3220
3255
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3238,12 +3273,12 @@ var Zn = (
3238
3273
  }
3239
3274
  var h = b(n, this.clonePosition());
3240
3275
  return {
3241
- val: { type: _.literal, value: i, location: h },
3276
+ val: { type: y.literal, value: i, location: h },
3242
3277
  err: null
3243
3278
  };
3244
3279
  }, e.prototype.tryParseLeftAngleBracket = function() {
3245
3280
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3246
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3281
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3247
3282
  }, e.prototype.tryParseQuote = function(t) {
3248
3283
  if (this.isEOF() || this.char() !== 39)
3249
3284
  return null;
@@ -3277,28 +3312,28 @@ var Zn = (
3277
3312
  r.push(n);
3278
3313
  this.bump();
3279
3314
  }
3280
- return De.apply(void 0, r);
3315
+ return Ve.apply(void 0, r);
3281
3316
  }, e.prototype.tryParseUnquoted = function(t, r) {
3282
3317
  if (this.isEOF())
3283
3318
  return null;
3284
3319
  var n = this.char();
3285
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3320
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3286
3321
  }, e.prototype.parseArgument = function(t, r) {
3287
3322
  var n = this.clonePosition();
3288
3323
  if (this.bump(), this.bumpSpace(), this.isEOF())
3289
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3324
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3290
3325
  if (this.char() === 125)
3291
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3326
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3292
3327
  var i = this.parseIdentifierIfPossible().value;
3293
3328
  if (!i)
3294
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3329
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3295
3330
  if (this.bumpSpace(), this.isEOF())
3296
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3331
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3297
3332
  switch (this.char()) {
3298
3333
  case 125:
3299
3334
  return this.bump(), {
3300
3335
  val: {
3301
- type: _.argument,
3336
+ type: y.argument,
3302
3337
  // value does not include the opening and closing braces.
3303
3338
  value: i,
3304
3339
  location: b(n, this.clonePosition())
@@ -3306,12 +3341,12 @@ var Zn = (
3306
3341
  err: null
3307
3342
  };
3308
3343
  case 44:
3309
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3344
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3310
3345
  default:
3311
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3346
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3312
3347
  }
3313
3348
  }, e.prototype.parseIdentifierIfPossible = function() {
3314
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3349
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3315
3350
  this.bumpTo(i);
3316
3351
  var o = this.clonePosition(), s = b(t, o);
3317
3352
  return { value: n, location: s };
@@ -3319,7 +3354,7 @@ var Zn = (
3319
3354
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3320
3355
  switch (a) {
3321
3356
  case "":
3322
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(s, h));
3357
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(s, h));
3323
3358
  case "number":
3324
3359
  case "date":
3325
3360
  case "time": {
@@ -3330,46 +3365,46 @@ var Zn = (
3330
3365
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3331
3366
  if (f.err)
3332
3367
  return f;
3333
- var c = Wn(f.val);
3368
+ var c = Yn(f.val);
3334
3369
  if (c.length === 0)
3335
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3336
- var d = b(l, this.clonePosition());
3337
- u = { style: c, styleLocation: d };
3370
+ return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3371
+ var p = b(l, this.clonePosition());
3372
+ u = { style: c, styleLocation: p };
3338
3373
  }
3339
- var m = this.tryParseArgumentClose(i);
3340
- if (m.err)
3341
- return m;
3342
- var y = b(i, this.clonePosition());
3343
- if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
3344
- var T = zn(u.style.slice(2));
3374
+ var d = this.tryParseArgumentClose(i);
3375
+ if (d.err)
3376
+ return d;
3377
+ var g = b(i, this.clonePosition());
3378
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3379
+ var S = Jn(u.style.slice(2));
3345
3380
  if (a === "number") {
3346
- var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
3381
+ var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3347
3382
  return f.err ? f : {
3348
- val: { type: _.number, value: n, location: y, style: f.val },
3383
+ val: { type: y.number, value: n, location: g, style: f.val },
3349
3384
  err: null
3350
3385
  };
3351
3386
  } else {
3352
- if (T.length === 0)
3353
- return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3354
- var N = T;
3355
- this.locale && (N = Ln(T, this.locale));
3387
+ if (S.length === 0)
3388
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
3389
+ var N = S;
3390
+ this.locale && (N = Rn(S, this.locale));
3356
3391
  var c = {
3357
- type: j.dateTime,
3392
+ type: F.dateTime,
3358
3393
  pattern: N,
3359
3394
  location: u.styleLocation,
3360
- parsedOptions: this.shouldParseSkeletons ? Hn(N) : {}
3361
- }, v = a === "date" ? _.date : _.time;
3395
+ parsedOptions: this.shouldParseSkeletons ? On(N) : {}
3396
+ }, v = a === "date" ? y.date : y.time;
3362
3397
  return {
3363
- val: { type: v, value: n, location: y, style: c },
3398
+ val: { type: v, value: n, location: g, style: c },
3364
3399
  err: null
3365
3400
  };
3366
3401
  }
3367
3402
  }
3368
3403
  return {
3369
3404
  val: {
3370
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3405
+ type: a === "number" ? y.number : a === "date" ? y.date : y.time,
3371
3406
  value: n,
3372
- location: y,
3407
+ location: g,
3373
3408
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3374
3409
  },
3375
3410
  err: null
@@ -3380,50 +3415,50 @@ var Zn = (
3380
3415
  case "select": {
3381
3416
  var H = this.clonePosition();
3382
3417
  if (this.bumpSpace(), !this.bumpIf(","))
3383
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, g({}, H)));
3418
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, pe({}, H)));
3384
3419
  this.bumpSpace();
3385
- var Z = this.parseIdentifierIfPossible(), L = 0;
3386
- if (a !== "select" && Z.value === "offset") {
3420
+ var W = this.parseIdentifierIfPossible(), L = 0;
3421
+ if (a !== "select" && W.value === "offset") {
3387
3422
  if (!this.bumpIf(":"))
3388
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3423
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3389
3424
  this.bumpSpace();
3390
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3425
+ var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3391
3426
  if (f.err)
3392
3427
  return f;
3393
- this.bumpSpace(), Z = this.parseIdentifierIfPossible(), L = f.val;
3428
+ this.bumpSpace(), W = this.parseIdentifierIfPossible(), L = f.val;
3394
3429
  }
3395
- var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3430
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, W);
3396
3431
  if (oe.err)
3397
3432
  return oe;
3398
- var m = this.tryParseArgumentClose(i);
3399
- if (m.err)
3400
- return m;
3401
- var Je = b(i, this.clonePosition());
3433
+ var d = this.tryParseArgumentClose(i);
3434
+ if (d.err)
3435
+ return d;
3436
+ var et = b(i, this.clonePosition());
3402
3437
  return a === "select" ? {
3403
3438
  val: {
3404
- type: _.select,
3439
+ type: y.select,
3405
3440
  value: n,
3406
- options: yt(oe.val),
3407
- location: Je
3441
+ options: xt(oe.val),
3442
+ location: et
3408
3443
  },
3409
3444
  err: null
3410
3445
  } : {
3411
3446
  val: {
3412
- type: _.plural,
3447
+ type: y.plural,
3413
3448
  value: n,
3414
- options: yt(oe.val),
3449
+ options: xt(oe.val),
3415
3450
  offset: L,
3416
3451
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3417
- location: Je
3452
+ location: et
3418
3453
  },
3419
3454
  err: null
3420
3455
  };
3421
3456
  }
3422
3457
  default:
3423
- return this.error(p.INVALID_ARGUMENT_TYPE, b(s, h));
3458
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(s, h));
3424
3459
  }
3425
3460
  }, e.prototype.tryParseArgumentClose = function(t) {
3426
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3461
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3427
3462
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3428
3463
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3429
3464
  var n = this.char();
@@ -3432,7 +3467,7 @@ var Zn = (
3432
3467
  this.bump();
3433
3468
  var i = this.clonePosition();
3434
3469
  if (!this.bumpUntil("'"))
3435
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3470
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3436
3471
  this.bump();
3437
3472
  break;
3438
3473
  }
@@ -3462,16 +3497,16 @@ var Zn = (
3462
3497
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3463
3498
  var n = [];
3464
3499
  try {
3465
- n = An(t);
3500
+ n = Nn(t);
3466
3501
  } catch (i) {
3467
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3502
+ return this.error(m.INVALID_NUMBER_SKELETON, r);
3468
3503
  }
3469
3504
  return {
3470
3505
  val: {
3471
- type: j.number,
3506
+ type: F.number,
3472
3507
  tokens: n,
3473
3508
  location: r,
3474
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3509
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3475
3510
  },
3476
3511
  err: null
3477
3512
  };
@@ -3480,7 +3515,7 @@ var Zn = (
3480
3515
  if (u.length === 0) {
3481
3516
  var f = this.clonePosition();
3482
3517
  if (r !== "select" && this.bumpIf("=")) {
3483
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3518
+ var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3484
3519
  if (c.err)
3485
3520
  return c;
3486
3521
  l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
@@ -3488,26 +3523,26 @@ var Zn = (
3488
3523
  break;
3489
3524
  }
3490
3525
  if (h.has(u))
3491
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3526
+ return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3492
3527
  u === "other" && (s = !0), this.bumpSpace();
3493
- var d = this.clonePosition();
3528
+ var p = this.clonePosition();
3494
3529
  if (!this.bumpIf("{"))
3495
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3496
- var m = this.parseMessage(t + 1, r, n);
3497
- if (m.err)
3498
- return m;
3499
- var y = this.tryParseArgumentClose(d);
3500
- if (y.err)
3501
- return y;
3530
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3531
+ var d = this.parseMessage(t + 1, r, n);
3532
+ if (d.err)
3533
+ return d;
3534
+ var g = this.tryParseArgumentClose(p);
3535
+ if (g.err)
3536
+ return g;
3502
3537
  a.push([
3503
3538
  u,
3504
3539
  {
3505
- value: m.val,
3506
- location: b(d, this.clonePosition())
3540
+ value: d.val,
3541
+ location: b(p, this.clonePosition())
3507
3542
  }
3508
3543
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3509
3544
  }
3510
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3545
+ return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3511
3546
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3512
3547
  var n = 1, i = this.clonePosition();
3513
3548
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3519,7 +3554,7 @@ var Zn = (
3519
3554
  break;
3520
3555
  }
3521
3556
  var h = b(i, this.clonePosition());
3522
- return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3557
+ return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3523
3558
  }, e.prototype.offset = function() {
3524
3559
  return this.position.offset;
3525
3560
  }, e.prototype.isEOF = function() {
@@ -3534,7 +3569,7 @@ var Zn = (
3534
3569
  var t = this.position.offset;
3535
3570
  if (t >= this.message.length)
3536
3571
  throw Error("out of bound");
3537
- var r = er(this.message, t);
3572
+ var r = ir(this.message, t);
3538
3573
  if (r === void 0)
3539
3574
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3540
3575
  return r;
@@ -3553,7 +3588,7 @@ var Zn = (
3553
3588
  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);
3554
3589
  }
3555
3590
  }, e.prototype.bumpIf = function(t) {
3556
- if (gt(this.message, t, this.offset())) {
3591
+ if (Et(this.message, t, this.offset())) {
3557
3592
  for (var r = 0; r < t.length; r++)
3558
3593
  this.bump();
3559
3594
  return !0;
@@ -3575,7 +3610,7 @@ var Zn = (
3575
3610
  break;
3576
3611
  }
3577
3612
  }, e.prototype.bumpSpace = function() {
3578
- for (; !this.isEOF() && rr(this.char()); )
3613
+ for (; !this.isEOF() && sr(this.char()); )
3579
3614
  this.bump();
3580
3615
  }, e.prototype.peek = function() {
3581
3616
  if (this.isEOF())
@@ -3585,47 +3620,47 @@ var Zn = (
3585
3620
  }, e;
3586
3621
  }()
3587
3622
  );
3588
- function Fe(e) {
3623
+ function ze(e) {
3589
3624
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3590
3625
  }
3591
- function Qn(e) {
3592
- return Fe(e) || e === 47;
3626
+ function Kn(e) {
3627
+ return ze(e) || e === 47;
3593
3628
  }
3594
- function Jn(e) {
3629
+ function ei(e) {
3595
3630
  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;
3596
3631
  }
3597
- function rr(e) {
3632
+ function sr(e) {
3598
3633
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3599
3634
  }
3600
- function Yn(e) {
3635
+ function ti(e) {
3601
3636
  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;
3602
3637
  }
3603
- function je(e) {
3638
+ function We(e) {
3604
3639
  e.forEach(function(t) {
3605
- if (delete t.location, zt(t) || Wt(t))
3640
+ if (delete t.location, Jt(t) || Yt(t))
3606
3641
  for (var r in t.options)
3607
- delete t.options[r].location, je(t.options[r].value);
3642
+ delete t.options[r].location, We(t.options[r].value);
3608
3643
  else
3609
- kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Re(t.style) ? delete t.style.location : Zt(t) && je(t.children);
3644
+ Wt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && je(t.style) ? delete t.style.location : qt(t) && We(t.children);
3610
3645
  });
3611
3646
  }
3612
- function qn(e, t) {
3613
- t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3614
- var r = new Zn(e, t).parse();
3647
+ function ri(e, t) {
3648
+ t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3649
+ var r = new qn(e, t).parse();
3615
3650
  if (r.err) {
3616
- var n = SyntaxError(p[r.err.kind]);
3651
+ var n = SyntaxError(m[r.err.kind]);
3617
3652
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3618
3653
  }
3619
- return t != null && t.captureLocation || je(r.val), r.val;
3654
+ return t != null && t.captureLocation || We(r.val), r.val;
3620
3655
  }
3621
- var k;
3656
+ var j;
3622
3657
  (function(e) {
3623
3658
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3624
- })(k || (k = {}));
3625
- var ge = (
3659
+ })(j || (j = {}));
3660
+ var ye = (
3626
3661
  /** @class */
3627
3662
  function(e) {
3628
- A(t, e);
3663
+ ve(t, e);
3629
3664
  function t(r, n, i) {
3630
3665
  var o = e.call(this, r) || this;
3631
3666
  return o.code = n, o.originalMessage = i, o;
@@ -3634,48 +3669,48 @@ var ge = (
3634
3669
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3635
3670
  }, t;
3636
3671
  }(Error)
3637
- ), _t = (
3672
+ ), Tt = (
3638
3673
  /** @class */
3639
3674
  function(e) {
3640
- A(t, e);
3675
+ ve(t, e);
3641
3676
  function t(r, n, i, o) {
3642
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3677
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3643
3678
  }
3644
3679
  return t;
3645
- }(ge)
3646
- ), Kn = (
3680
+ }(ye)
3681
+ ), ni = (
3647
3682
  /** @class */
3648
3683
  function(e) {
3649
- A(t, e);
3684
+ ve(t, e);
3650
3685
  function t(r, n, i) {
3651
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3686
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3652
3687
  }
3653
3688
  return t;
3654
- }(ge)
3655
- ), ei = (
3689
+ }(ye)
3690
+ ), ii = (
3656
3691
  /** @class */
3657
3692
  function(e) {
3658
- A(t, e);
3693
+ ve(t, e);
3659
3694
  function t(r, n) {
3660
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3695
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3661
3696
  }
3662
3697
  return t;
3663
- }(ge)
3698
+ }(ye)
3664
3699
  ), E;
3665
3700
  (function(e) {
3666
3701
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3667
3702
  })(E || (E = {}));
3668
- function ti(e) {
3703
+ function oi(e) {
3669
3704
  return e.length < 2 ? e : e.reduce(function(t, r) {
3670
3705
  var n = t[t.length - 1];
3671
3706
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3672
3707
  }, []);
3673
3708
  }
3674
- function ri(e) {
3709
+ function si(e) {
3675
3710
  return typeof e == "function";
3676
3711
  }
3677
3712
  function fe(e, t, r, n, i, o, s) {
3678
- if (e.length === 1 && dt(e[0]))
3713
+ if (e.length === 1 && gt(e[0]))
3679
3714
  return [
3680
3715
  {
3681
3716
  type: E.literal,
@@ -3684,14 +3719,14 @@ function fe(e, t, r, n, i, o, s) {
3684
3719
  ];
3685
3720
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3686
3721
  var l = u[h];
3687
- if (dt(l)) {
3722
+ if (gt(l)) {
3688
3723
  a.push({
3689
3724
  type: E.literal,
3690
3725
  value: l.value
3691
3726
  });
3692
3727
  continue;
3693
3728
  }
3694
- if (Sn(l)) {
3729
+ if (An(l)) {
3695
3730
  typeof o == "number" && a.push({
3696
3731
  type: E.literal,
3697
3732
  value: r.getNumberFormat(t).format(o)
@@ -3700,44 +3735,44 @@ function fe(e, t, r, n, i, o, s) {
3700
3735
  }
3701
3736
  var f = l.value;
3702
3737
  if (!(i && f in i))
3703
- throw new ei(f, s);
3738
+ throw new ii(f, s);
3704
3739
  var c = i[f];
3705
- if (Tn(l)) {
3740
+ if (Bn(l)) {
3706
3741
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3707
3742
  type: typeof c == "string" ? E.literal : E.object,
3708
3743
  value: c
3709
3744
  });
3710
3745
  continue;
3711
3746
  }
3712
- if (Vt(l)) {
3713
- var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3747
+ if (Zt(l)) {
3748
+ var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3714
3749
  a.push({
3715
3750
  type: E.literal,
3716
- value: r.getDateTimeFormat(t, d).format(c)
3751
+ value: r.getDateTimeFormat(t, p).format(c)
3717
3752
  });
3718
3753
  continue;
3719
3754
  }
3720
- if (Xt(l)) {
3721
- var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3755
+ if (Qt(l)) {
3756
+ var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3722
3757
  a.push({
3723
3758
  type: E.literal,
3724
- value: r.getDateTimeFormat(t, d).format(c)
3759
+ value: r.getDateTimeFormat(t, p).format(c)
3725
3760
  });
3726
3761
  continue;
3727
3762
  }
3728
- if (kt(l)) {
3729
- var d = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3730
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3763
+ if (Wt(l)) {
3764
+ var p = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
3765
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3731
3766
  type: E.literal,
3732
- value: r.getNumberFormat(t, d).format(c)
3767
+ value: r.getNumberFormat(t, p).format(c)
3733
3768
  });
3734
3769
  continue;
3735
3770
  }
3736
- if (Zt(l)) {
3737
- var m = l.children, y = l.value, T = i[y];
3738
- if (!ri(T))
3739
- throw new Kn(y, "function", s);
3740
- var N = fe(m, t, r, n, i, o), v = T(N.map(function(L) {
3771
+ if (qt(l)) {
3772
+ var d = l.children, g = l.value, S = i[g];
3773
+ if (!si(S))
3774
+ throw new ni(g, "function", s);
3775
+ var N = fe(d, t, r, n, i, o), v = S(N.map(function(L) {
3741
3776
  return L.value;
3742
3777
  }));
3743
3778
  Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(L) {
@@ -3747,42 +3782,42 @@ function fe(e, t, r, n, i, o, s) {
3747
3782
  };
3748
3783
  }));
3749
3784
  }
3750
- if (zt(l)) {
3785
+ if (Jt(l)) {
3751
3786
  var H = l.options[c] || l.options.other;
3752
3787
  if (!H)
3753
- throw new _t(l.value, c, Object.keys(l.options), s);
3788
+ throw new Tt(l.value, c, Object.keys(l.options), s);
3754
3789
  a.push.apply(a, fe(H.value, t, r, n, i));
3755
3790
  continue;
3756
3791
  }
3757
- if (Wt(l)) {
3792
+ if (Yt(l)) {
3758
3793
  var H = l.options["=".concat(c)];
3759
3794
  if (!H) {
3760
3795
  if (!Intl.PluralRules)
3761
- throw new ge(`Intl.PluralRules is not available in this environment.
3796
+ throw new ye(`Intl.PluralRules is not available in this environment.
3762
3797
  Try polyfilling it using "@formatjs/intl-pluralrules"
3763
- `, k.MISSING_INTL_API, s);
3764
- var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3765
- H = l.options[Z] || l.options.other;
3798
+ `, j.MISSING_INTL_API, s);
3799
+ var W = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3800
+ H = l.options[W] || l.options.other;
3766
3801
  }
3767
3802
  if (!H)
3768
- throw new _t(l.value, c, Object.keys(l.options), s);
3803
+ throw new Tt(l.value, c, Object.keys(l.options), s);
3769
3804
  a.push.apply(a, fe(H.value, t, r, n, i, c - (l.offset || 0)));
3770
3805
  continue;
3771
3806
  }
3772
3807
  }
3773
- return ti(a);
3808
+ return oi(a);
3774
3809
  }
3775
- function ni(e, t) {
3776
- return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3777
- return r[n] = g(g({}, e[n]), t[n] || {}), r;
3810
+ function ai(e, t) {
3811
+ return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3812
+ return r[n] = B(B({}, e[n]), t[n] || {}), r;
3778
3813
  }, {})) : e;
3779
3814
  }
3780
- function ii(e, t) {
3815
+ function ui(e, t) {
3781
3816
  return t ? Object.keys(e).reduce(function(r, n) {
3782
- return r[n] = ni(e[n], t[n]), r;
3783
- }, g({}, e)) : e;
3817
+ return r[n] = ai(e[n], t[n]), r;
3818
+ }, B({}, e)) : e;
3784
3819
  }
3785
- function Be(e) {
3820
+ function Oe(e) {
3786
3821
  return {
3787
3822
  create: function() {
3788
3823
  return {
@@ -3796,39 +3831,39 @@ function Be(e) {
3796
3831
  }
3797
3832
  };
3798
3833
  }
3799
- function oi(e) {
3834
+ function hi(e) {
3800
3835
  return e === void 0 && (e = {
3801
3836
  number: {},
3802
3837
  dateTime: {},
3803
3838
  pluralRules: {}
3804
3839
  }), {
3805
- getNumberFormat: Se(function() {
3840
+ getNumberFormat: Be(function() {
3806
3841
  for (var t, r = [], n = 0; n < arguments.length; n++)
3807
3842
  r[n] = arguments[n];
3808
- return new ((t = Intl.NumberFormat).bind.apply(t, G([void 0], r, !1)))();
3843
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3809
3844
  }, {
3810
- cache: Be(e.number),
3811
- strategy: we.variadic
3845
+ cache: Oe(e.number),
3846
+ strategy: Ae.variadic
3812
3847
  }),
3813
- getDateTimeFormat: Se(function() {
3848
+ getDateTimeFormat: Be(function() {
3814
3849
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3850
  r[n] = arguments[n];
3816
- return new ((t = Intl.DateTimeFormat).bind.apply(t, G([void 0], r, !1)))();
3851
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3817
3852
  }, {
3818
- cache: Be(e.dateTime),
3819
- strategy: we.variadic
3853
+ cache: Oe(e.dateTime),
3854
+ strategy: Ae.variadic
3820
3855
  }),
3821
- getPluralRules: Se(function() {
3856
+ getPluralRules: Be(function() {
3822
3857
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3858
  r[n] = arguments[n];
3824
- return new ((t = Intl.PluralRules).bind.apply(t, G([void 0], r, !1)))();
3859
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3825
3860
  }, {
3826
- cache: Be(e.pluralRules),
3827
- strategy: we.variadic
3861
+ cache: Oe(e.pluralRules),
3862
+ strategy: Ae.variadic
3828
3863
  })
3829
3864
  };
3830
3865
  }
3831
- var si = (
3866
+ var li = (
3832
3867
  /** @class */
3833
3868
  function() {
3834
3869
  function e(t, r, n, i) {
@@ -3860,13 +3895,13 @@ var si = (
3860
3895
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3861
3896
  var s = i || {};
3862
3897
  s.formatters;
3863
- var a = Rr(s, ["formatters"]);
3864
- this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3898
+ var a = yn(s, ["formatters"]);
3899
+ this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
3865
3900
  } else
3866
3901
  this.ast = t;
3867
3902
  if (!Array.isArray(this.ast))
3868
3903
  throw new TypeError("A message must be provided as a String or AST.");
3869
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3904
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3870
3905
  }
3871
3906
  return Object.defineProperty(e, "defaultLocale", {
3872
3907
  get: function() {
@@ -3879,7 +3914,7 @@ var si = (
3879
3914
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3880
3915
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3881
3916
  }
3882
- }, e.__parse = qn, e.formats = {
3917
+ }, e.__parse = ri, e.formats = {
3883
3918
  number: {
3884
3919
  integer: {
3885
3920
  maximumFractionDigits: 0
@@ -3940,7 +3975,7 @@ var si = (
3940
3975
  }, e;
3941
3976
  }()
3942
3977
  );
3943
- function ai(e, t) {
3978
+ function fi(e, t) {
3944
3979
  if (t == null)
3945
3980
  return;
3946
3981
  if (t in e)
@@ -3961,92 +3996,92 @@ function ai(e, t) {
3961
3996
  n = void 0;
3962
3997
  return n;
3963
3998
  }
3964
- const O = {}, ui = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), nr = (e, t) => {
3999
+ const O = {}, ci = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), ar = (e, t) => {
3965
4000
  if (t == null)
3966
4001
  return;
3967
4002
  if (t in O && e in O[t])
3968
4003
  return O[t][e];
3969
- const r = ye(t);
4004
+ const r = _e(t);
3970
4005
  for (let n = 0; n < r.length; n++) {
3971
- const i = r[n], o = li(i, e);
4006
+ const i = r[n], o = mi(i, e);
3972
4007
  if (o)
3973
- return ui(e, t, o);
4008
+ return ci(e, t, o);
3974
4009
  }
3975
4010
  };
3976
- let Ze;
3977
- const ne = be({});
3978
- function hi(e) {
3979
- return Ze[e] || null;
4011
+ let qe;
4012
+ const ne = ge({});
4013
+ function pi(e) {
4014
+ return qe[e] || null;
3980
4015
  }
3981
- function ir(e) {
3982
- return e in Ze;
4016
+ function ur(e) {
4017
+ return e in qe;
3983
4018
  }
3984
- function li(e, t) {
3985
- if (!ir(e))
4019
+ function mi(e, t) {
4020
+ if (!ur(e))
3986
4021
  return null;
3987
- const r = hi(e);
3988
- return ai(r, t);
4022
+ const r = pi(e);
4023
+ return fi(r, t);
3989
4024
  }
3990
- function fi(e) {
4025
+ function di(e) {
3991
4026
  if (e == null)
3992
4027
  return;
3993
- const t = ye(e);
4028
+ const t = _e(e);
3994
4029
  for (let r = 0; r < t.length; r++) {
3995
4030
  const n = t[r];
3996
- if (ir(n))
4031
+ if (ur(n))
3997
4032
  return n;
3998
4033
  }
3999
4034
  }
4000
- function ci(e, ...t) {
4001
- delete O[e], ne.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
4035
+ function bi(e, ...t) {
4036
+ delete O[e], ne.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
4002
4037
  }
4003
- z(
4038
+ X(
4004
4039
  [ne],
4005
4040
  ([e]) => Object.keys(e)
4006
4041
  );
4007
- ne.subscribe((e) => Ze = e);
4042
+ ne.subscribe((e) => qe = e);
4008
4043
  const ce = {};
4009
- function di(e, t) {
4044
+ function gi(e, t) {
4010
4045
  ce[e].delete(t), ce[e].size === 0 && delete ce[e];
4011
4046
  }
4012
- function or(e) {
4047
+ function hr(e) {
4013
4048
  return ce[e];
4014
4049
  }
4015
- function pi(e) {
4016
- return ye(e).map((t) => {
4017
- const r = or(t);
4050
+ function vi(e) {
4051
+ return _e(e).map((t) => {
4052
+ const r = hr(t);
4018
4053
  return [t, r ? [...r] : []];
4019
4054
  }).filter(([, t]) => t.length > 0);
4020
4055
  }
4021
- function ke(e) {
4022
- return e == null ? !1 : ye(e).some(
4056
+ function Ze(e) {
4057
+ return e == null ? !1 : _e(e).some(
4023
4058
  (t) => {
4024
4059
  var r;
4025
- return (r = or(t)) == null ? void 0 : r.size;
4060
+ return (r = hr(t)) == null ? void 0 : r.size;
4026
4061
  }
4027
4062
  );
4028
4063
  }
4029
- function mi(e, t) {
4064
+ function yi(e, t) {
4030
4065
  return Promise.all(
4031
- t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4032
- ).then((n) => ci(e, ...n));
4033
- }
4034
- const J = {};
4035
- function sr(e) {
4036
- if (!ke(e))
4037
- return e in J ? J[e] : Promise.resolve();
4038
- const t = pi(e);
4039
- return J[e] = Promise.all(
4066
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4067
+ ).then((n) => bi(e, ...n));
4068
+ }
4069
+ const Q = {};
4070
+ function lr(e) {
4071
+ if (!Ze(e))
4072
+ return e in Q ? Q[e] : Promise.resolve();
4073
+ const t = vi(e);
4074
+ return Q[e] = Promise.all(
4040
4075
  t.map(
4041
- ([r, n]) => mi(r, n)
4076
+ ([r, n]) => yi(r, n)
4042
4077
  )
4043
4078
  ).then(() => {
4044
- if (ke(e))
4045
- return sr(e);
4046
- delete J[e];
4047
- }), J[e];
4079
+ if (Ze(e))
4080
+ return lr(e);
4081
+ delete Q[e];
4082
+ }), Q[e];
4048
4083
  }
4049
- const bi = {
4084
+ const _i = {
4050
4085
  number: {
4051
4086
  scientific: { notation: "scientific" },
4052
4087
  engineering: { notation: "engineering" },
@@ -4075,135 +4110,135 @@ const bi = {
4075
4110
  timeZoneName: "short"
4076
4111
  }
4077
4112
  }
4078
- }, gi = {
4113
+ }, Ei = {
4079
4114
  fallbackLocale: null,
4080
4115
  loadingDelay: 200,
4081
- formats: bi,
4116
+ formats: _i,
4082
4117
  warnOnMissingMessages: !0,
4083
4118
  handleMissingMessage: void 0,
4084
4119
  ignoreTag: !0
4085
- }, yi = gi;
4086
- function V() {
4087
- return yi;
4088
- }
4089
- const Ae = be(!1);
4090
- var vi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4091
- for (var r in t)
4092
- xi.call(t, r) && xt(e, r, t[r]);
4093
- if (Et)
4094
- for (var r of Et(t))
4095
- Ti.call(t, r) && xt(e, r, t[r]);
4120
+ }, xi = Ei;
4121
+ function k() {
4122
+ return xi;
4123
+ }
4124
+ const Ie = ge(!1);
4125
+ var Si = Object.defineProperty, Ti = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4126
+ for (var r in t || (t = {}))
4127
+ Hi.call(t, r) && Ht(e, r, t[r]);
4128
+ if (wt)
4129
+ for (var r of wt(t))
4130
+ Bi.call(t, r) && Ht(e, r, t[r]);
4096
4131
  return e;
4097
- }, wi = (e, t) => _i(e, Ei(t));
4098
- let Ve;
4099
- const de = be(null);
4100
- function Tt(e) {
4132
+ }, Pi = (e, t) => Ti(e, wi(t));
4133
+ let Qe;
4134
+ const me = ge(null);
4135
+ function Bt(e) {
4101
4136
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4102
4137
  }
4103
- function ye(e, t = V().fallbackLocale) {
4104
- const r = Tt(e);
4105
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4138
+ function _e(e, t = k().fallbackLocale) {
4139
+ const r = Bt(e);
4140
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4106
4141
  }
4107
4142
  function M() {
4108
- return Ve != null ? Ve : void 0;
4143
+ return Qe != null ? Qe : void 0;
4109
4144
  }
4110
- de.subscribe((e) => {
4111
- Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4145
+ me.subscribe((e) => {
4146
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4112
4147
  });
4113
- const Hi = (e) => {
4114
- if (e && fi(e) && ke(e)) {
4115
- const { loadingDelay: t } = V();
4148
+ const Oi = (e) => {
4149
+ if (e && di(e) && Ze(e)) {
4150
+ const { loadingDelay: t } = k();
4116
4151
  let r;
4117
4152
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4118
- () => Ae.set(!0),
4153
+ () => Ie.set(!0),
4119
4154
  t
4120
- ) : Ae.set(!0), sr(e).then(() => {
4121
- de.set(e);
4155
+ ) : Ie.set(!0), lr(e).then(() => {
4156
+ me.set(e);
4122
4157
  }).finally(() => {
4123
- clearTimeout(r), Ae.set(!1);
4158
+ clearTimeout(r), Ie.set(!1);
4124
4159
  });
4125
4160
  }
4126
- return de.set(e);
4127
- }, ie = wi(Si({}, de), {
4128
- set: Hi
4129
- }), ve = (e) => {
4161
+ return me.set(e);
4162
+ }, ie = Pi(Ai({}, me), {
4163
+ set: Oi
4164
+ }), Ee = (e) => {
4130
4165
  const t = /* @__PURE__ */ Object.create(null);
4131
4166
  return (n) => {
4132
4167
  const i = JSON.stringify(n);
4133
4168
  return i in t ? t[i] : t[i] = e(n);
4134
4169
  };
4135
4170
  };
4136
- var Bi = Object.defineProperty, pe = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4171
+ var Ii = Object.defineProperty, de = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4137
4172
  for (var r in t || (t = {}))
4138
- ar.call(t, r) && St(e, r, t[r]);
4139
- if (pe)
4140
- for (var r of pe(t))
4141
- ur.call(t, r) && St(e, r, t[r]);
4173
+ fr.call(t, r) && At(e, r, t[r]);
4174
+ if (de)
4175
+ for (var r of de(t))
4176
+ cr.call(t, r) && At(e, r, t[r]);
4142
4177
  return e;
4143
- }, W = (e, t) => {
4178
+ }, z = (e, t) => {
4144
4179
  var r = {};
4145
4180
  for (var n in e)
4146
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4147
- if (e != null && pe)
4148
- for (var n of pe(e))
4149
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4181
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4182
+ if (e != null && de)
4183
+ for (var n of de(e))
4184
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4150
4185
  return r;
4151
4186
  };
4152
- const ee = (e, t) => {
4153
- const { formats: r } = V();
4187
+ const K = (e, t) => {
4188
+ const { formats: r } = k();
4154
4189
  if (e in r && t in r[e])
4155
4190
  return r[e][t];
4156
4191
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4157
- }, Ai = ve(
4192
+ }, Ni = Ee(
4158
4193
  (e) => {
4159
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4194
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4160
4195
  if (r == null)
4161
4196
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4162
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4197
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4163
4198
  }
4164
- ), Pi = ve(
4199
+ ), Li = Ee(
4165
4200
  (e) => {
4166
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4201
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4167
4202
  if (r == null)
4168
4203
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4169
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4204
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4170
4205
  }
4171
- ), Oi = ve(
4206
+ ), Ci = Ee(
4172
4207
  (e) => {
4173
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4208
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4174
4209
  if (r == null)
4175
4210
  throw new Error(
4176
4211
  '[svelte-i18n] A "locale" must be set to format time values'
4177
4212
  );
4178
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4213
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4179
4214
  }
4180
- ), Ii = (e = {}) => {
4215
+ ), Mi = (e = {}) => {
4181
4216
  var t = e, {
4182
4217
  locale: r = M()
4183
- } = t, n = W(t, [
4218
+ } = t, n = z(t, [
4184
4219
  "locale"
4185
4220
  ]);
4186
- return Ai(Qe({ locale: r }, n));
4187
- }, Ni = (e = {}) => {
4221
+ return Ni(Ke({ locale: r }, n));
4222
+ }, $i = (e = {}) => {
4188
4223
  var t = e, {
4189
4224
  locale: r = M()
4190
- } = t, n = W(t, [
4225
+ } = t, n = z(t, [
4191
4226
  "locale"
4192
4227
  ]);
4193
- return Pi(Qe({ locale: r }, n));
4194
- }, Li = (e = {}) => {
4228
+ return Li(Ke({ locale: r }, n));
4229
+ }, Ri = (e = {}) => {
4195
4230
  var t = e, {
4196
4231
  locale: r = M()
4197
- } = t, n = W(t, [
4232
+ } = t, n = z(t, [
4198
4233
  "locale"
4199
4234
  ]);
4200
- return Oi(Qe({ locale: r }, n));
4201
- }, Ci = ve(
4235
+ return Ci(Ke({ locale: r }, n));
4236
+ }, Ui = Ee(
4202
4237
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4203
- (e, t = M()) => new si(e, t, V().formats, {
4204
- ignoreTag: V().ignoreTag
4238
+ (e, t = M()) => new li(e, t, k().formats, {
4239
+ ignoreTag: k().ignoreTag
4205
4240
  })
4206
- ), Mi = (e, t = {}) => {
4241
+ ), Di = (e, t = {}) => {
4207
4242
  var r, n, i, o;
4208
4243
  let s = t;
4209
4244
  typeof e == "object" && (s = e, e = s.id);
@@ -4216,9 +4251,9 @@ const ee = (e, t) => {
4216
4251
  throw new Error(
4217
4252
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4218
4253
  );
4219
- let l = nr(e, h);
4254
+ let l = ar(e, h);
4220
4255
  if (!l)
4221
- l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4256
+ l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4222
4257
  else if (typeof l != "string")
4223
4258
  return console.warn(
4224
4259
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4227,7 +4262,7 @@ const ee = (e, t) => {
4227
4262
  return l;
4228
4263
  let f = l;
4229
4264
  try {
4230
- f = Ci(l, h).format(a);
4265
+ f = Ui(l, h).format(a);
4231
4266
  } catch (c) {
4232
4267
  c instanceof Error && console.warn(
4233
4268
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4235,21 +4270,21 @@ const ee = (e, t) => {
4235
4270
  );
4236
4271
  }
4237
4272
  return f;
4238
- }, $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()) => nr(e, t);
4239
- z([ie, ne], () => Mi);
4240
- z([ie], () => $i);
4241
- z([ie], () => Ri);
4242
- z([ie], () => Ui);
4243
- z([ie, ne], () => Di);
4244
- window.emWidgets = { topic: Yr };
4245
- const Gi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4246
- function Fi(e, t) {
4273
+ }, Gi = (e, t) => Ri(t).format(e), Fi = (e, t) => $i(t).format(e), ji = (e, t) => Mi(t).format(e), ki = (e, t = M()) => ar(e, t);
4274
+ X([ie, ne], () => Di);
4275
+ X([ie], () => Gi);
4276
+ X([ie], () => Fi);
4277
+ X([ie], () => ji);
4278
+ X([ie, ne], () => ki);
4279
+ window.emWidgets = { topic: en };
4280
+ const Vi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4281
+ function Xi(e, t) {
4247
4282
  if (e) {
4248
4283
  const r = document.createElement("style");
4249
4284
  r.innerHTML = t, e.appendChild(r);
4250
4285
  }
4251
4286
  }
4252
- function ji(e, t) {
4287
+ function zi(e, t) {
4253
4288
  const r = new URL(t);
4254
4289
  fetch(r.href).then((n) => n.text()).then((n) => {
4255
4290
  const i = document.createElement("style");
@@ -4258,7 +4293,7 @@ function ji(e, t) {
4258
4293
  console.error("There was an error while trying to load client styling from URL", n);
4259
4294
  });
4260
4295
  }
4261
- function ki(e, t, r) {
4296
+ function Wi(e, t, r) {
4262
4297
  if (window.emMessageBus) {
4263
4298
  const n = document.createElement("style");
4264
4299
  window.emMessageBus.subscribe(t, (i) => {
@@ -4266,43 +4301,43 @@ function ki(e, t, r) {
4266
4301
  });
4267
4302
  }
4268
4303
  }
4269
- function Vi(e) {
4270
- pr(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
4304
+ function Zi(e) {
4305
+ vr(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
4271
4306
  }
4272
- function wt(e, t, r) {
4307
+ function Pt(e, t, r) {
4273
4308
  const n = e.slice();
4274
4309
  return n[16] = t[r], n;
4275
4310
  }
4276
- function Ht(e) {
4277
- let t, r = it(
4311
+ function Ot(e) {
4312
+ let t, r = ut(
4278
4313
  /*__tabs*/
4279
4314
  e[6]
4280
4315
  ), n = [];
4281
4316
  for (let i = 0; i < r.length; i += 1)
4282
- n[i] = At(wt(e, r, i));
4317
+ n[i] = Nt(Pt(e, r, i));
4283
4318
  return {
4284
4319
  c() {
4285
4320
  t = I("ul");
4286
4321
  for (let i = 0; i < n.length; i += 1)
4287
4322
  n[i].c();
4288
- S(t, "part", "ul");
4323
+ T(t, "part", "ul");
4289
4324
  },
4290
4325
  m(i, o) {
4291
- re(i, t, o);
4326
+ te(i, t, o);
4292
4327
  for (let s = 0; s < n.length; s += 1)
4293
4328
  n[s] && n[s].m(t, null);
4294
4329
  },
4295
4330
  p(i, o) {
4296
4331
  if (o & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
4297
4332
  121) {
4298
- r = it(
4333
+ r = ut(
4299
4334
  /*__tabs*/
4300
4335
  i[6]
4301
4336
  );
4302
4337
  let s;
4303
4338
  for (s = 0; s < r.length; s += 1) {
4304
- const a = wt(i, r, s);
4305
- n[s] ? n[s].p(a, o) : (n[s] = At(a), n[s].c(), n[s].m(t, null));
4339
+ const a = Pt(i, r, s);
4340
+ n[s] ? n[s].p(a, o) : (n[s] = Nt(a), n[s].c(), n[s].m(t, null));
4306
4341
  }
4307
4342
  for (; s < n.length; s += 1)
4308
4343
  n[s].d(1);
@@ -4310,11 +4345,11 @@ function Ht(e) {
4310
4345
  }
4311
4346
  },
4312
4347
  d(i) {
4313
- i && X(t), gr(n, i);
4348
+ i && V(t), Er(n, i);
4314
4349
  }
4315
4350
  };
4316
4351
  }
4317
- function Bt(e) {
4352
+ function It(e) {
4318
4353
  let t, r, n = (
4319
4354
  /*totalReceiver*/
4320
4355
  e[3][
@@ -4324,10 +4359,10 @@ function Bt(e) {
4324
4359
  ), i;
4325
4360
  return {
4326
4361
  c() {
4327
- t = I("sup"), r = I("span"), i = ze(n), S(r, "part", "SupText"), S(t, "part", "sup");
4362
+ t = I("sup"), r = I("span"), i = Ye(n), T(r, "part", "SupText"), T(t, "part", "sup");
4328
4363
  },
4329
4364
  m(o, s) {
4330
- re(o, t, s), C(t, r), C(r, i);
4365
+ te(o, t, s), C(t, r), C(r, i);
4331
4366
  },
4332
4367
  p(o, s) {
4333
4368
  s & /*totalReceiver, __tabs*/
@@ -4335,14 +4370,14 @@ function Bt(e) {
4335
4370
  o[3][
4336
4371
  /*_tab*/
4337
4372
  o[16]
4338
- ] + "") && It(i, n);
4373
+ ] + "") && Mt(i, n);
4339
4374
  },
4340
4375
  d(o) {
4341
- o && X(t);
4376
+ o && V(t);
4342
4377
  }
4343
4378
  };
4344
4379
  }
4345
- function At(e) {
4380
+ function Nt(e) {
4346
4381
  let t, r, n = (
4347
4382
  /*textReceiver*/
4348
4383
  e[4][
@@ -4354,7 +4389,7 @@ function At(e) {
4354
4389
  e[3][
4355
4390
  /*_tab*/
4356
4391
  e[16]
4357
- ] >= 0 && Bt(e)
4392
+ ] >= 0 && It(e)
4358
4393
  );
4359
4394
  function c() {
4360
4395
  return (
@@ -4367,80 +4402,80 @@ function At(e) {
4367
4402
  }
4368
4403
  return {
4369
4404
  c() {
4370
- t = I("li"), r = I("span"), i = ze(n), o = rt(), f && f.c(), s = rt(), S(r, "part", "LiText"), S(t, "class", a = /*__tab*/
4405
+ t = I("li"), r = I("span"), i = Ye(n), o = st(), f && f.c(), s = st(), T(r, "part", "LiText"), T(t, "class", a = /*__tab*/
4371
4406
  e[5] === /*_tab*/
4372
- e[16] ? "active" : ""), S(t, "part", h = `${/*_tab*/
4407
+ e[16] ? "active" : ""), T(t, "part", h = `${/*_tab*/
4373
4408
  e[16]} li ` + /*__tab*/
4374
4409
  (e[5] === /*_tab*/
4375
4410
  e[16] ? "active" : ""));
4376
4411
  },
4377
- m(d, m) {
4378
- re(d, t, m), C(t, r), C(r, i), C(t, o), f && f.m(t, null), C(t, s), u || (l = yr(t, "click", c), u = !0);
4412
+ m(p, d) {
4413
+ te(p, t, d), C(t, r), C(r, i), C(t, o), f && f.m(t, null), C(t, s), u || (l = xr(t, "click", c), u = !0);
4379
4414
  },
4380
- p(d, m) {
4381
- e = d, m & /*textReceiver, __tabs*/
4415
+ p(p, d) {
4416
+ e = p, d & /*textReceiver, __tabs*/
4382
4417
  80 && n !== (n = /*textReceiver*/
4383
4418
  e[4][
4384
4419
  /*_tab*/
4385
4420
  e[16]
4386
- ] + "") && It(i, n), /*totalReceiver*/
4421
+ ] + "") && Mt(i, n), /*totalReceiver*/
4387
4422
  e[3][
4388
4423
  /*_tab*/
4389
4424
  e[16]
4390
- ] >= 0 ? f ? f.p(e, m) : (f = Bt(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), m & /*__tab, __tabs*/
4425
+ ] >= 0 ? f ? f.p(e, d) : (f = It(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), d & /*__tab, __tabs*/
4391
4426
  96 && a !== (a = /*__tab*/
4392
4427
  e[5] === /*_tab*/
4393
- e[16] ? "active" : "") && S(t, "class", a), m & /*__tabs, __tab*/
4428
+ e[16] ? "active" : "") && T(t, "class", a), d & /*__tabs, __tab*/
4394
4429
  96 && h !== (h = `${/*_tab*/
4395
4430
  e[16]} li ` + /*__tab*/
4396
4431
  (e[5] === /*_tab*/
4397
- e[16] ? "active" : "")) && S(t, "part", h);
4432
+ e[16] ? "active" : "")) && T(t, "part", h);
4398
4433
  },
4399
- d(d) {
4400
- d && X(t), f && f.d(), u = !1, l();
4434
+ d(p) {
4435
+ p && V(t), f && f.d(), u = !1, l();
4401
4436
  }
4402
4437
  };
4403
4438
  }
4404
- function Xi(e) {
4439
+ function Qi(e) {
4405
4440
  let t, r = (
4406
4441
  /*isTitleInited*/
4407
- e[2] && Ht(e)
4442
+ e[2] && Ot(e)
4408
4443
  );
4409
4444
  return {
4410
4445
  c() {
4411
- t = I("div"), r && r.c(), S(t, "class", "casino-tournaments-tab " + (Gi(
4446
+ t = I("div"), r && r.c(), T(t, "class", "casino-tournaments-tab " + (Vi(
4412
4447
  /*userAgent*/
4413
4448
  e[7]
4414
- ) ? "TabMobile" : "TabDesktop")), S(t, "part", "CustomStylingContainer");
4449
+ ) ? "TabMobile" : "TabDesktop")), T(t, "part", "CustomStylingContainer");
4415
4450
  },
4416
4451
  m(n, i) {
4417
- re(n, t, i), r && r.m(t, null), e[14](t);
4452
+ te(n, t, i), r && r.m(t, null), e[14](t);
4418
4453
  },
4419
4454
  p(n, [i]) {
4420
4455
  /*isTitleInited*/
4421
- n[2] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4456
+ n[2] ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4422
4457
  },
4423
4458
  i: w,
4424
4459
  o: w,
4425
4460
  d(n) {
4426
- n && X(t), r && r.d(), e[14](null);
4461
+ n && V(t), r && r.d(), e[14](null);
4427
4462
  }
4428
4463
  };
4429
4464
  }
4430
- function zi(e, t, r) {
4465
+ function Ji(e, t, r) {
4431
4466
  let n, i, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { tid: l = "pageTab" } = t, f, c = !1;
4432
- const d = window.navigator.userAgent;
4433
- let m = {}, y = {};
4434
- $r({
4467
+ const p = window.navigator.userAgent;
4468
+ let d = {}, g = {};
4469
+ Gr({
4435
4470
  TournamentsTabTotalUpdate: (v) => {
4436
- r(3, m = Ee(Q({}, m), {
4471
+ r(3, d = Se(Z({}, d), {
4437
4472
  [v.state]: v.total
4438
4473
  }));
4439
4474
  },
4440
4475
  TournamentsTabsLocalize: (v) => {
4441
- r(2, c = !0), r(4, y = Q(Q({}, y), v.tabTitleTranslations));
4476
+ r(2, c = !0), r(4, g = Z(Z({}, g), v.tabTitleTranslations));
4442
4477
  }
4443
- }), Nt(() => (window.postMessage(
4478
+ }), $t(() => (window.postMessage(
4444
4479
  {
4445
4480
  type: "TournamentsTabListenerLoaded",
4446
4481
  tid: l
@@ -4448,7 +4483,7 @@ function zi(e, t, r) {
4448
4483
  window.location.href
4449
4484
  ), () => {
4450
4485
  }));
4451
- const T = (v) => {
4486
+ const S = (v) => {
4452
4487
  r(5, i = v), window.postMessage(
4453
4488
  {
4454
4489
  type: "TournamentsTabSwitch",
@@ -4459,7 +4494,7 @@ function zi(e, t, r) {
4459
4494
  );
4460
4495
  };
4461
4496
  function N(v) {
4462
- Pe[v ? "unshift" : "push"](() => {
4497
+ Ne[v ? "unshift" : "push"](() => {
4463
4498
  f = v, r(1, f);
4464
4499
  });
4465
4500
  }
@@ -4467,37 +4502,37 @@ function zi(e, t, r) {
4467
4502
  "tabs" in v && r(8, o = v.tabs), "tab" in v && r(9, s = v.tab), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "mbsource" in v && r(12, u = v.mbsource), "tid" in v && r(0, l = v.tid);
4468
4503
  }, e.$$.update = () => {
4469
4504
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4470
- 1026 && a && f && Fi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4471
- 2050 && h && f && ji(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4472
- 4098 && u && f && ki(f, `${u}.Style`), e.$$.dirty & /*tabs*/
4505
+ 1026 && a && f && Xi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4506
+ 2050 && h && f && zi(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4507
+ 4098 && u && f && Wi(f, `${u}.Style`), e.$$.dirty & /*tabs*/
4473
4508
  256 && r(6, n = o.split(",")), e.$$.dirty & /*tab*/
4474
4509
  512 && r(5, i = s);
4475
4510
  }, [
4476
4511
  l,
4477
4512
  f,
4478
4513
  c,
4479
- m,
4480
- y,
4514
+ d,
4515
+ g,
4481
4516
  i,
4482
4517
  n,
4483
- d,
4518
+ p,
4484
4519
  o,
4485
4520
  s,
4486
4521
  a,
4487
4522
  h,
4488
4523
  u,
4489
- T,
4524
+ S,
4490
4525
  N
4491
4526
  ];
4492
4527
  }
4493
- class Wi extends Lr {
4528
+ class Yi extends Rr {
4494
4529
  constructor(t) {
4495
- super(), Ir(
4530
+ super(), Mr(
4496
4531
  this,
4497
4532
  t,
4498
- zi,
4499
- Xi,
4500
- Ot,
4533
+ Ji,
4534
+ Qi,
4535
+ Ct,
4501
4536
  {
4502
4537
  tabs: 8,
4503
4538
  tab: 9,
@@ -4506,7 +4541,7 @@ class Wi extends Lr {
4506
4541
  mbsource: 12,
4507
4542
  tid: 0
4508
4543
  },
4509
- Vi
4544
+ Zi
4510
4545
  );
4511
4546
  }
4512
4547
  get tabs() {
@@ -4546,7 +4581,7 @@ class Wi extends Lr {
4546
4581
  this.$$set({ tid: t }), P();
4547
4582
  }
4548
4583
  }
4549
- Nr(Wi, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
4584
+ $r(Yi, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
4550
4585
  export {
4551
- Wi as default
4586
+ Yi as default
4552
4587
  };