@everymatrix/casino-tournaments-thumbnail 1.67.0 → 1.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var br = Object.defineProperty, gr = Object.defineProperties;
2
- var pr = Object.getOwnPropertyDescriptors;
3
- var st = Object.getOwnPropertySymbols;
4
- var yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable;
5
- var Me = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
1
+ var dr = Object.defineProperty, br = Object.defineProperties;
2
+ var gr = Object.getOwnPropertyDescriptors;
3
+ var it = Object.getOwnPropertySymbols;
4
+ var pr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable;
5
+ var Pe = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- yr.call(t, r) && Me(e, r, t[r]);
8
- if (st)
9
- for (var r of st(t))
10
- _r.call(t, r) && Me(e, r, t[r]);
7
+ pr.call(t, r) && Pe(e, r, t[r]);
8
+ if (it)
9
+ for (var r of it(t))
10
+ yr.call(t, r) && Pe(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => gr(e, pr(t));
13
- var k = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
12
+ }, at = (e, t) => br(e, gr(t));
13
+ var k = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  u(r.next(l));
@@ -31,29 +31,29 @@ import "../stencil/ui-skeleton-CVBjRUvi.js";
31
31
  import "../stencil/ui-image-3hy4ZvUC.js";
32
32
  function U() {
33
33
  }
34
- function Pt(e) {
34
+ function Ot(e) {
35
35
  return e();
36
36
  }
37
- function lt() {
37
+ function ut() {
38
38
  return /* @__PURE__ */ Object.create(null);
39
39
  }
40
40
  function se(e) {
41
- e.forEach(Pt);
41
+ e.forEach(Ot);
42
42
  }
43
- function be(e) {
43
+ function de(e) {
44
44
  return typeof e == "function";
45
45
  }
46
- function Mt(e, t) {
46
+ function Pt(e, t) {
47
47
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
48
48
  }
49
- let pe;
50
- function $e(e, t) {
51
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
49
+ let ge;
50
+ function Ge(e, t) {
51
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
52
52
  }
53
- function Er(e) {
53
+ function _r(e) {
54
54
  return Object.keys(e).length === 0;
55
55
  }
56
- function Lt(e, ...t) {
56
+ function Mt(e, ...t) {
57
57
  if (e == null) {
58
58
  for (const n of t)
59
59
  n(void 0);
@@ -62,23 +62,23 @@ function Lt(e, ...t) {
62
62
  const r = e.subscribe(...t);
63
63
  return r.unsubscribe ? () => r.unsubscribe() : r;
64
64
  }
65
- function vr(e, t, r) {
66
- e.$$.on_destroy.push(Lt(t, r));
65
+ function Er(e, t, r) {
66
+ e.$$.on_destroy.push(Mt(t, r));
67
67
  }
68
- function ge(e) {
69
- return e && be(e.destroy) ? e.destroy : U;
68
+ function be(e) {
69
+ return e && de(e.destroy) ? e.destroy : U;
70
70
  }
71
71
  function x(e, t) {
72
72
  e.appendChild(t);
73
73
  }
74
- function xr(e, t, r) {
75
- const n = Sr(e);
74
+ function vr(e, t, r) {
75
+ const n = xr(e);
76
76
  if (!n.getElementById(t)) {
77
77
  const i = B("style");
78
- i.id = t, i.textContent = r, Tr(n, i);
78
+ i.id = t, i.textContent = r, Sr(n, i);
79
79
  }
80
80
  }
81
- function Sr(e) {
81
+ function xr(e) {
82
82
  if (!e)
83
83
  return document;
84
84
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -88,32 +88,32 @@ function Sr(e) {
88
88
  t
89
89
  ) : e.ownerDocument;
90
90
  }
91
- function Tr(e, t) {
91
+ function Sr(e, t) {
92
92
  return x(
93
93
  /** @type {Document} */
94
94
  e.head || e,
95
95
  t
96
96
  ), t.sheet;
97
97
  }
98
- function O(e, t, r) {
98
+ function P(e, t, r) {
99
99
  e.insertBefore(t, r || null);
100
100
  }
101
- function I(e) {
101
+ function w(e) {
102
102
  e.parentNode && e.parentNode.removeChild(e);
103
103
  }
104
104
  function B(e) {
105
105
  return document.createElement(e);
106
106
  }
107
- function L(e) {
107
+ function D(e) {
108
108
  return document.createTextNode(e);
109
109
  }
110
- function j() {
111
- return L(" ");
110
+ function $() {
111
+ return D(" ");
112
112
  }
113
- function Ar() {
114
- return L("");
113
+ function Tr() {
114
+ return D("");
115
115
  }
116
- function Hr(e, t, r, n) {
116
+ function Ar(e, t, r, n) {
117
117
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
118
118
  }
119
119
  function p(e, t, r) {
@@ -123,14 +123,14 @@ function K(e, t, r) {
123
123
  const n = t.toLowerCase();
124
124
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : p(e, t, r);
125
125
  }
126
- function Cr(e) {
126
+ function Hr(e) {
127
127
  return Array.from(e.childNodes);
128
128
  }
129
- function $(e, t) {
129
+ function G(e, t) {
130
130
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
131
131
  t);
132
132
  }
133
- function Br(e) {
133
+ function Cr(e) {
134
134
  const t = {};
135
135
  return e.childNodes.forEach(
136
136
  /** @param {Element} node */
@@ -140,30 +140,30 @@ function Br(e) {
140
140
  ), t;
141
141
  }
142
142
  let ce;
143
- function fe(e) {
143
+ function he(e) {
144
144
  ce = e;
145
145
  }
146
- function wr() {
146
+ function Br() {
147
147
  if (!ce)
148
148
  throw new Error("Function called outside component initialization");
149
149
  return ce;
150
150
  }
151
- function Ir(e) {
152
- wr().$$.on_mount.push(e);
151
+ function wr(e) {
152
+ Br().$$.on_mount.push(e);
153
153
  }
154
- const Y = [], je = [];
154
+ const Y = [], $e = [];
155
155
  let ee = [];
156
- const ht = [], Nr = /* @__PURE__ */ Promise.resolve();
157
- let Ve = !1;
158
- function Or() {
159
- Ve || (Ve = !0, Nr.then(w));
156
+ const lt = [], Ir = /* @__PURE__ */ Promise.resolve();
157
+ let je = !1;
158
+ function Nr() {
159
+ je || (je = !0, Ir.then(C));
160
160
  }
161
- function Je(e) {
161
+ function Ve(e) {
162
162
  ee.push(e);
163
163
  }
164
- const Le = /* @__PURE__ */ new Set();
164
+ const Me = /* @__PURE__ */ new Set();
165
165
  let q = 0;
166
- function w() {
166
+ function C() {
167
167
  if (q !== 0)
168
168
  return;
169
169
  const e = ce;
@@ -171,55 +171,55 @@ function w() {
171
171
  try {
172
172
  for (; q < Y.length; ) {
173
173
  const t = Y[q];
174
- q++, fe(t), Pr(t.$$);
174
+ q++, he(t), Or(t.$$);
175
175
  }
176
176
  } catch (t) {
177
177
  throw Y.length = 0, q = 0, t;
178
178
  }
179
- for (fe(null), Y.length = 0, q = 0; je.length; )
180
- je.pop()();
179
+ for (he(null), Y.length = 0, q = 0; $e.length; )
180
+ $e.pop()();
181
181
  for (let t = 0; t < ee.length; t += 1) {
182
182
  const r = ee[t];
183
- Le.has(r) || (Le.add(r), r());
183
+ Me.has(r) || (Me.add(r), r());
184
184
  }
185
185
  ee.length = 0;
186
186
  } while (Y.length);
187
- for (; ht.length; )
188
- ht.pop()();
189
- Ve = !1, Le.clear(), fe(e);
187
+ for (; lt.length; )
188
+ lt.pop()();
189
+ je = !1, Me.clear(), he(e);
190
190
  }
191
- function Pr(e) {
191
+ function Or(e) {
192
192
  if (e.fragment !== null) {
193
193
  e.update(), se(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
196
196
  }
197
197
  }
198
- function Mr(e) {
198
+ function Pr(e) {
199
199
  const t = [], r = [];
200
200
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
201
201
  }
202
- const Lr = /* @__PURE__ */ new Set();
203
- function Rr(e, t) {
204
- e && e.i && (Lr.delete(e), e.i(t));
202
+ const Mr = /* @__PURE__ */ new Set();
203
+ function Lr(e, t) {
204
+ e && e.i && (Mr.delete(e), e.i(t));
205
205
  }
206
- function Dr(e, t, r) {
206
+ function Rr(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), Je(() => {
209
- const s = e.$$.on_mount.map(Pt).filter(be);
208
+ n && n.m(t, r), Ve(() => {
209
+ const s = e.$$.on_mount.map(Ot).filter(de);
210
210
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : se(s), e.$$.on_mount = [];
211
- }), i.forEach(Je);
211
+ }), i.forEach(Ve);
212
212
  }
213
- function kr(e, t) {
213
+ function Dr(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (Mr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (Pr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
216
  }
217
- function Ur(e, t) {
218
- e.$$.dirty[0] === -1 && (Y.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
+ function kr(e, t) {
218
+ e.$$.dirty[0] === -1 && (Y.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function Fr(e, t, r, n, i, s, a = null, u = [-1]) {
220
+ function Ur(e, t, r, n, i, s, a = null, u = [-1]) {
221
221
  const l = ce;
222
- fe(e);
222
+ he(e);
223
223
  const o = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
@@ -227,7 +227,7 @@ function Fr(e, t, r, n, i, s, a = null, u = [-1]) {
227
227
  props: s,
228
228
  update: U,
229
229
  not_equal: i,
230
- bound: lt(),
230
+ bound: ut(),
231
231
  // lifecycle
232
232
  on_mount: [],
233
233
  on_destroy: [],
@@ -236,28 +236,28 @@ function Fr(e, t, r, n, i, s, a = null, u = [-1]) {
236
236
  after_update: [],
237
237
  context: new Map(t.context || (l ? l.$$.context : [])),
238
238
  // everything else
239
- callbacks: lt(),
239
+ callbacks: ut(),
240
240
  dirty: u,
241
241
  skip_bound: !1,
242
242
  root: t.target || l.$$.root
243
243
  };
244
244
  a && a(o.root);
245
245
  let h = !1;
246
- if (o.ctx = r ? r(e, t.props || {}, (m, f, ...g) => {
247
- const b = g.length ? g[0] : f;
248
- return o.ctx && i(o.ctx[m], o.ctx[m] = b) && (!o.skip_bound && o.bound[m] && o.bound[m](b), h && Ur(e, m)), f;
246
+ if (o.ctx = r ? r(e, t.props || {}, (m, c, ...g) => {
247
+ const b = g.length ? g[0] : c;
248
+ return o.ctx && i(o.ctx[m], o.ctx[m] = b) && (!o.skip_bound && o.bound[m] && o.bound[m](b), h && kr(e, m)), c;
249
249
  }) : [], o.update(), h = !0, se(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
250
250
  if (t.hydrate) {
251
- const m = Cr(t.target);
252
- o.fragment && o.fragment.l(m), m.forEach(I);
251
+ const m = Hr(t.target);
252
+ o.fragment && o.fragment.l(m), m.forEach(w);
253
253
  } else
254
254
  o.fragment && o.fragment.c();
255
- t.intro && Rr(e.$$.fragment), Dr(e, t.target, t.anchor), w();
255
+ t.intro && Lr(e.$$.fragment), Rr(e, t.target, t.anchor), C();
256
256
  }
257
- fe(l);
257
+ he(l);
258
258
  }
259
- let Rt;
260
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
259
+ let Lt;
260
+ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
261
261
  constructor(t, r, n) {
262
262
  super();
263
263
  /** The Svelte component constructor */
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
294
294
  }
295
295
  }
296
296
  connectedCallback() {
297
- return ut(this, null, function* () {
297
+ return ot(this, null, function* () {
298
298
  if (this.$$cn = !0, !this.$$c) {
299
299
  let t = function(s) {
300
300
  return () => {
@@ -308,28 +308,28 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
308
308
  * @param {HTMLElement} [anchor]
309
309
  */
310
310
  m: function(o, h) {
311
- O(o, a, h);
311
+ P(o, a, h);
312
312
  },
313
313
  d: function(o) {
314
- o && I(a);
314
+ o && w(a);
315
315
  }
316
316
  };
317
317
  };
318
318
  };
319
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
320
320
  return;
321
- const r = {}, n = Br(this);
321
+ const r = {}, n = Cr(this);
322
322
  for (const s of this.$$s)
323
323
  s in n && (r[s] = [t(s)]);
324
324
  for (const s of this.attributes) {
325
325
  const a = this.$$g_p(s.name);
326
- a in this.$$d || (this.$$d[a] = _e(a, s.value, this.$$p_d, "toProp"));
326
+ a in this.$$d || (this.$$d[a] = ye(a, s.value, this.$$p_d, "toProp"));
327
327
  }
328
328
  for (const s in this.$$p_d)
329
329
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
330
330
  this.$$c = new this.$$ctor({
331
331
  target: this.shadowRoot || this,
332
- props: ot(at({}, this.$$d), {
332
+ props: at(st({}, this.$$d), {
333
333
  $$slots: r,
334
334
  $$scope: {
335
335
  ctx: []
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
340
340
  this.$$r = !0;
341
341
  for (const s in this.$$p_d)
342
342
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
343
- const a = _e(
343
+ const a = ye(
344
344
  s,
345
345
  this.$$d[s],
346
346
  this.$$p_d,
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
364
364
  // and setting attributes through setAttribute etc, this is helpful
365
365
  attributeChangedCallback(t, r, n) {
366
366
  var i;
367
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
367
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
368
368
  }
369
369
  disconnectedCallback() {
370
370
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -377,7 +377,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
377
377
  ) || t;
378
378
  }
379
379
  });
380
- function _e(e, t, r, n) {
380
+ function ye(e, t, r, n) {
381
381
  var s;
382
382
  const i = (s = r[e]) == null ? void 0 : s.type;
383
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -407,8 +407,8 @@ function _e(e, t, r, n) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function Gr(e, t, r, n, i, s) {
411
- let a = class extends Rt {
410
+ function Fr(e, t, r, n, i, s) {
411
+ let a = class extends Lt {
412
412
  constructor() {
413
413
  super(e, r, i), this.$$p_d = t;
414
414
  }
@@ -425,7 +425,7 @@ function Gr(e, t, r, n, i, s) {
425
425
  },
426
426
  set(l) {
427
427
  var o;
428
- l = _e(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
428
+ l = ye(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
429
429
  }
430
430
  });
431
431
  }), n.forEach((u) => {
@@ -438,7 +438,7 @@ function Gr(e, t, r, n, i, s) {
438
438
  }), e.element = /** @type {any} */
439
439
  a, a;
440
440
  }
441
- class $r {
441
+ class Gr {
442
442
  constructor() {
443
443
  /**
444
444
  * ### PRIVATE API
@@ -459,7 +459,7 @@ class $r {
459
459
  }
460
460
  /** @returns {void} */
461
461
  $destroy() {
462
- kr(this, 1), this.$destroy = U;
462
+ Dr(this, 1), this.$destroy = U;
463
463
  }
464
464
  /**
465
465
  * @template {Extract<keyof Events, string>} K
@@ -468,7 +468,7 @@ class $r {
468
468
  * @returns {() => void}
469
469
  */
470
470
  $on(t, r) {
471
- if (!be(r))
471
+ if (!de(r))
472
472
  return U;
473
473
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
474
474
  return n.push(r), () => {
@@ -481,22 +481,22 @@ class $r {
481
481
  * @returns {void}
482
482
  */
483
483
  $set(t) {
484
- this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !_r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
485
  }
486
486
  }
487
- const jr = "4";
488
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
487
+ const $r = "4";
488
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
489
489
  const Q = [];
490
- function Vr(e, t) {
490
+ function jr(e, t) {
491
491
  return {
492
- subscribe: Ae(e, t).subscribe
492
+ subscribe: Te(e, t).subscribe
493
493
  };
494
494
  }
495
- function Ae(e, t = U) {
495
+ function Te(e, t = U) {
496
496
  let r;
497
497
  const n = /* @__PURE__ */ new Set();
498
498
  function i(u) {
499
- if (Mt(e, u) && (e = u, r)) {
499
+ if (Pt(e, u) && (e = u, r)) {
500
500
  const l = !Q.length;
501
501
  for (const o of n)
502
502
  o[1](), Q.push(o, e);
@@ -523,96 +523,96 @@ function ae(e, t, r) {
523
523
  if (!i.every(Boolean))
524
524
  throw new Error("derived() expects stores as input, got a falsy value");
525
525
  const s = t.length < 2;
526
- return Vr(r, (a, u) => {
526
+ return jr(r, (a, u) => {
527
527
  let l = !1;
528
528
  const o = [];
529
529
  let h = 0, m = U;
530
- const f = () => {
530
+ const c = () => {
531
531
  if (h)
532
532
  return;
533
533
  m();
534
534
  const b = t(n ? o[0] : o, a, u);
535
- s ? a(b) : m = be(b) ? b : U;
535
+ s ? a(b) : m = de(b) ? b : U;
536
536
  }, g = i.map(
537
- (b, y) => Lt(
537
+ (b, y) => Mt(
538
538
  b,
539
539
  (d) => {
540
- o[y] = d, h &= ~(1 << y), l && f();
540
+ o[y] = d, h &= ~(1 << y), l && c();
541
541
  },
542
542
  () => {
543
543
  h |= 1 << y;
544
544
  }
545
545
  )
546
546
  );
547
- return l = !0, f(), function() {
547
+ return l = !0, c(), function() {
548
548
  se(g), m(), l = !1;
549
549
  };
550
550
  });
551
551
  }
552
- function Jr(e) {
552
+ function Vr(e) {
553
553
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
554
554
  }
555
- var zr = function(t) {
556
- return Wr(t) && !Xr(t);
555
+ var Jr = function(t) {
556
+ return zr(t) && !Wr(t);
557
557
  };
558
- function Wr(e) {
558
+ function zr(e) {
559
559
  return !!e && typeof e == "object";
560
560
  }
561
- function Xr(e) {
561
+ function Wr(e) {
562
562
  var t = Object.prototype.toString.call(e);
563
- return t === "[object RegExp]" || t === "[object Date]" || Qr(e);
563
+ return t === "[object RegExp]" || t === "[object Date]" || qr(e);
564
564
  }
565
- var Zr = typeof Symbol == "function" && Symbol.for, qr = Zr ? Symbol.for("react.element") : 60103;
566
- function Qr(e) {
567
- return e.$$typeof === qr;
565
+ var Xr = typeof Symbol == "function" && Symbol.for, Zr = Xr ? Symbol.for("react.element") : 60103;
566
+ function qr(e) {
567
+ return e.$$typeof === Zr;
568
568
  }
569
- function Yr(e) {
569
+ function Qr(e) {
570
570
  return Array.isArray(e) ? [] : {};
571
571
  }
572
- function me(e, t) {
573
- return t.clone !== !1 && t.isMergeableObject(e) ? te(Yr(e), e, t) : e;
572
+ function fe(e, t) {
573
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(Qr(e), e, t) : e;
574
574
  }
575
- function Kr(e, t, r) {
575
+ function Yr(e, t, r) {
576
576
  return e.concat(t).map(function(n) {
577
- return me(n, r);
577
+ return fe(n, r);
578
578
  });
579
579
  }
580
- function en(e, t) {
580
+ function Kr(e, t) {
581
581
  if (!t.customMerge)
582
582
  return te;
583
583
  var r = t.customMerge(e);
584
584
  return typeof r == "function" ? r : te;
585
585
  }
586
- function tn(e) {
586
+ function en(e) {
587
587
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
588
588
  return Object.propertyIsEnumerable.call(e, t);
589
589
  }) : [];
590
590
  }
591
- function ft(e) {
592
- return Object.keys(e).concat(tn(e));
591
+ function ht(e) {
592
+ return Object.keys(e).concat(en(e));
593
593
  }
594
- function Dt(e, t) {
594
+ function Rt(e, t) {
595
595
  try {
596
596
  return t in e;
597
597
  } catch (r) {
598
598
  return !1;
599
599
  }
600
600
  }
601
- function rn(e, t) {
602
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
601
+ function tn(e, t) {
602
+ return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
603
603
  }
604
- function nn(e, t, r) {
604
+ function rn(e, t, r) {
605
605
  var n = {};
606
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
607
- n[i] = me(e[i], r);
608
- }), ft(t).forEach(function(i) {
609
- rn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = en(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
606
+ return r.isMergeableObject(e) && ht(e).forEach(function(i) {
607
+ n[i] = fe(e[i], r);
608
+ }), ht(t).forEach(function(i) {
609
+ tn(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
610
610
  }), n;
611
611
  }
612
612
  function te(e, t, r) {
613
- r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = me;
613
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = fe;
614
614
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
615
- return s ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : me(t, r);
615
+ return s ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : fe(t, r);
616
616
  }
617
617
  te.all = function(t, r) {
618
618
  if (!Array.isArray(t))
@@ -621,36 +621,36 @@ te.all = function(t, r) {
621
621
  return te(n, i, r);
622
622
  }, {});
623
623
  };
624
- var sn = te, an = sn;
625
- const on = /* @__PURE__ */ Jr(an);
626
- var ze = function(e, t) {
627
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
624
+ var nn = te, sn = nn;
625
+ const an = /* @__PURE__ */ Vr(sn);
626
+ var Je = function(e, t) {
627
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
628
628
  r.__proto__ = n;
629
629
  } || function(r, n) {
630
630
  for (var i in n)
631
631
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
632
- }, ze(e, t);
632
+ }, Je(e, t);
633
633
  };
634
- function He(e, t) {
634
+ function Ae(e, t) {
635
635
  if (typeof t != "function" && t !== null)
636
636
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
637
- ze(e, t);
637
+ Je(e, t);
638
638
  function r() {
639
639
  this.constructor = e;
640
640
  }
641
641
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
642
642
  }
643
- var V = function() {
644
- return V = Object.assign || function(t) {
643
+ var j = function() {
644
+ return j = Object.assign || function(t) {
645
645
  for (var r, n = 1, i = arguments.length; n < i; n++) {
646
646
  r = arguments[n];
647
647
  for (var s in r)
648
648
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
649
649
  }
650
650
  return t;
651
- }, V.apply(this, arguments);
651
+ }, j.apply(this, arguments);
652
652
  };
653
- function un(e, t) {
653
+ function on(e, t) {
654
654
  var r = {};
655
655
  for (var n in e)
656
656
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -659,43 +659,43 @@ function un(e, t) {
659
659
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
660
660
  return r;
661
661
  }
662
- function Re(e, t, r) {
662
+ function Le(e, t, r) {
663
663
  if (r || arguments.length === 2)
664
664
  for (var n = 0, i = t.length, s; n < i; n++)
665
665
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
666
666
  return e.concat(s || Array.prototype.slice.call(t));
667
667
  }
668
- function De(e, t) {
669
- var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : fn;
668
+ function Re(e, t) {
669
+ var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : hn;
670
670
  return i(e, {
671
671
  cache: r,
672
672
  serializer: n
673
673
  });
674
674
  }
675
- function ln(e) {
675
+ function un(e) {
676
676
  return e == null || typeof e == "number" || typeof e == "boolean";
677
677
  }
678
- function hn(e, t, r, n) {
679
- var i = ln(n) ? n : r(n), s = t.get(i);
678
+ function ln(e, t, r, n) {
679
+ var i = un(n) ? n : r(n), s = t.get(i);
680
680
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
681
681
  }
682
- function kt(e, t, r) {
682
+ function Dt(e, t, r) {
683
683
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
684
684
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
685
685
  }
686
- function Ut(e, t, r, n, i) {
686
+ function kt(e, t, r, n, i) {
687
687
  return r.bind(t, e, n, i);
688
688
  }
689
- function fn(e, t) {
690
- var r = e.length === 1 ? hn : kt;
691
- return Ut(e, this, r, t.cache.create(), t.serializer);
689
+ function hn(e, t) {
690
+ var r = e.length === 1 ? ln : Dt;
691
+ return kt(e, this, r, t.cache.create(), t.serializer);
692
692
  }
693
693
  function cn(e, t) {
694
- return Ut(e, this, kt, t.cache.create(), t.serializer);
694
+ return kt(e, this, Dt, t.cache.create(), t.serializer);
695
695
  }
696
- var mn = function() {
696
+ var fn = function() {
697
697
  return JSON.stringify(arguments);
698
- }, dn = (
698
+ }, mn = (
699
699
  /** @class */
700
700
  function() {
701
701
  function e() {
@@ -707,21 +707,21 @@ var mn = function() {
707
707
  this.cache[t] = r;
708
708
  }, e;
709
709
  }()
710
- ), bn = {
710
+ ), dn = {
711
711
  create: function() {
712
- return new dn();
712
+ return new mn();
713
713
  }
714
- }, ke = {
714
+ }, De = {
715
715
  variadic: cn
716
- }, xe = function() {
717
- return xe = Object.assign || function(t) {
716
+ }, ve = function() {
717
+ return ve = Object.assign || function(t) {
718
718
  for (var r, n = 1, i = arguments.length; n < i; n++) {
719
719
  r = arguments[n];
720
720
  for (var s in r)
721
721
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
722
722
  }
723
723
  return t;
724
- }, xe.apply(this, arguments);
724
+ }, ve.apply(this, arguments);
725
725
  };
726
726
  var _;
727
727
  (function(e) {
@@ -738,40 +738,40 @@ var re;
738
738
  function ct(e) {
739
739
  return e.type === S.literal;
740
740
  }
741
- function gn(e) {
741
+ function bn(e) {
742
742
  return e.type === S.argument;
743
743
  }
744
- function Ft(e) {
744
+ function Ut(e) {
745
745
  return e.type === S.number;
746
746
  }
747
- function Gt(e) {
747
+ function Ft(e) {
748
748
  return e.type === S.date;
749
749
  }
750
- function $t(e) {
750
+ function Gt(e) {
751
751
  return e.type === S.time;
752
752
  }
753
- function jt(e) {
753
+ function $t(e) {
754
754
  return e.type === S.select;
755
755
  }
756
- function Vt(e) {
756
+ function jt(e) {
757
757
  return e.type === S.plural;
758
758
  }
759
- function pn(e) {
759
+ function gn(e) {
760
760
  return e.type === S.pound;
761
761
  }
762
- function Jt(e) {
762
+ function Vt(e) {
763
763
  return e.type === S.tag;
764
764
  }
765
- function zt(e) {
765
+ function Jt(e) {
766
766
  return !!(e && typeof e == "object" && e.type === re.number);
767
767
  }
768
- function We(e) {
768
+ function ze(e) {
769
769
  return !!(e && typeof e == "object" && e.type === re.dateTime);
770
770
  }
771
- var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[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;
772
- function _n(e) {
771
+ var zt = /[ \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;
772
+ function yn(e) {
773
773
  var t = {};
774
- return e.replace(yn, function(r) {
774
+ return e.replace(pn, function(r) {
775
775
  var n = r.length;
776
776
  switch (r[0]) {
777
777
  case "G":
@@ -870,12 +870,12 @@ var T = function() {
870
870
  return t;
871
871
  }, T.apply(this, arguments);
872
872
  };
873
- var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
874
- function vn(e) {
873
+ var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
874
+ function En(e) {
875
875
  if (e.length === 0)
876
876
  throw new Error("Number skeleton cannot be empty");
877
- for (var t = e.split(En).filter(function(f) {
878
- return f.length > 0;
877
+ for (var t = e.split(_n).filter(function(c) {
878
+ return c.length > 0;
879
879
  }), r = [], n = 0, i = t; n < i.length; n++) {
880
880
  var s = i[n], a = s.split("/");
881
881
  if (a.length === 0)
@@ -889,17 +889,17 @@ function vn(e) {
889
889
  }
890
890
  return r;
891
891
  }
892
- function xn(e) {
892
+ function vn(e) {
893
893
  return e.replace(/^(.*?)-/, "");
894
894
  }
895
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
896
- function dt(e) {
895
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
896
+ function mt(e) {
897
897
  var t = {};
898
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
898
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
899
899
  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)), "";
900
900
  }), t;
901
901
  }
902
- function qt(e) {
902
+ function Zt(e) {
903
903
  switch (e) {
904
904
  case "sign-auto":
905
905
  return {
@@ -939,7 +939,7 @@ function qt(e) {
939
939
  };
940
940
  }
941
941
  }
942
- function Tn(e) {
942
+ function Sn(e) {
943
943
  var t;
944
944
  if (e[0] === "E" && e[1] === "E" ? (t = {
945
945
  notation: "engineering"
@@ -947,17 +947,17 @@ function Tn(e) {
947
947
  notation: "scientific"
948
948
  }, e = e.slice(1)), t) {
949
949
  var r = e.slice(0, 2);
950
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
950
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
951
951
  throw new Error("Malformed concise eng/scientific notation");
952
952
  t.minimumIntegerDigits = e.length;
953
953
  }
954
954
  return t;
955
955
  }
956
- function bt(e) {
957
- var t = {}, r = qt(e);
956
+ function dt(e) {
957
+ var t = {}, r = Zt(e);
958
958
  return r || t;
959
959
  }
960
- function An(e) {
960
+ function Tn(e) {
961
961
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
962
962
  var i = n[r];
963
963
  switch (i.stem) {
@@ -981,7 +981,7 @@ function An(e) {
981
981
  continue;
982
982
  case "measure-unit":
983
983
  case "unit":
984
- t.style = "unit", t.unit = xn(i.options[0]);
984
+ t.style = "unit", t.unit = vn(i.options[0]);
985
985
  continue;
986
986
  case "compact-short":
987
987
  case "K":
@@ -993,12 +993,12 @@ function An(e) {
993
993
  continue;
994
994
  case "scientific":
995
995
  t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
996
- return T(T({}, l), bt(o));
996
+ return T(T({}, l), dt(o));
997
997
  }, {}));
998
998
  continue;
999
999
  case "engineering":
1000
1000
  t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
1001
- return T(T({}, l), bt(o));
1001
+ return T(T({}, l), dt(o));
1002
1002
  }, {}));
1003
1003
  continue;
1004
1004
  case "notation-simple":
@@ -1043,11 +1043,11 @@ function An(e) {
1043
1043
  case "integer-width":
1044
1044
  if (i.options.length > 1)
1045
1045
  throw new RangeError("integer-width stems only accept a single optional option");
1046
- i.options[0].replace(Sn, function(l, o, h, m, f, g) {
1046
+ i.options[0].replace(xn, function(l, o, h, m, c, g) {
1047
1047
  if (o)
1048
1048
  t.minimumIntegerDigits = h.length;
1049
1049
  else {
1050
- if (m && f)
1050
+ if (m && c)
1051
1051
  throw new Error("We currently do not support maximum integer digits");
1052
1052
  if (g)
1053
1053
  throw new Error("We currently do not support exact integer digits");
@@ -1056,32 +1056,32 @@ function An(e) {
1056
1056
  });
1057
1057
  continue;
1058
1058
  }
1059
- if (Zt.test(i.stem)) {
1059
+ if (Xt.test(i.stem)) {
1060
1060
  t.minimumIntegerDigits = i.stem.length;
1061
1061
  continue;
1062
1062
  }
1063
- if (mt.test(i.stem)) {
1063
+ if (ft.test(i.stem)) {
1064
1064
  if (i.options.length > 1)
1065
1065
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1066
- i.stem.replace(mt, function(l, o, h, m, f, g) {
1067
- return h === "*" ? t.minimumFractionDigits = o.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1066
+ i.stem.replace(ft, function(l, o, h, m, c, g) {
1067
+ return h === "*" ? t.minimumFractionDigits = o.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1068
1068
  });
1069
1069
  var s = i.options[0];
1070
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), dt(s)));
1070
+ s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), mt(s)));
1071
1071
  continue;
1072
1072
  }
1073
- if (Xt.test(i.stem)) {
1074
- t = T(T({}, t), dt(i.stem));
1073
+ if (Wt.test(i.stem)) {
1074
+ t = T(T({}, t), mt(i.stem));
1075
1075
  continue;
1076
1076
  }
1077
- var a = qt(i.stem);
1077
+ var a = Zt(i.stem);
1078
1078
  a && (t = T(T({}, t), a));
1079
- var u = Tn(i.stem);
1079
+ var u = Sn(i.stem);
1080
1080
  u && (t = T(T({}, t), u));
1081
1081
  }
1082
1082
  return t;
1083
1083
  }
1084
- var ye = {
1084
+ var pe = {
1085
1085
  "001": [
1086
1086
  "H",
1087
1087
  "h"
@@ -2496,13 +2496,13 @@ var ye = {
2496
2496
  "h"
2497
2497
  ]
2498
2498
  };
2499
- function Hn(e, t) {
2499
+ function An(e, t) {
2500
2500
  for (var r = "", n = 0; n < e.length; n++) {
2501
2501
  var i = e.charAt(n);
2502
2502
  if (i === "j") {
2503
2503
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2504
2504
  s++, n++;
2505
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Cn(t);
2505
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Hn(t);
2506
2506
  for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
2507
2507
  r += l;
2508
2508
  for (; a-- > 0; )
@@ -2512,7 +2512,7 @@ function Hn(e, t) {
2512
2512
  }
2513
2513
  return r;
2514
2514
  }
2515
- function Cn(e) {
2515
+ function Hn(e) {
2516
2516
  var t = e.hourCycle;
2517
2517
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2518
2518
  e.hourCycles && // @ts-ignore
@@ -2531,23 +2531,23 @@ function Cn(e) {
2531
2531
  }
2532
2532
  var r = e.language, n;
2533
2533
  r !== "root" && (n = e.maximize().region);
2534
- var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2534
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2535
2535
  return i[0];
2536
2536
  }
2537
- var Ue, Bn = new RegExp("^".concat(Wt.source, "*")), wn = new RegExp("".concat(Wt.source, "*$"));
2537
+ var ke, Cn = new RegExp("^".concat(zt.source, "*")), Bn = new RegExp("".concat(zt.source, "*$"));
2538
2538
  function E(e, t) {
2539
2539
  return { start: e, end: t };
2540
2540
  }
2541
- var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, On = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Dn = Rn ? Number.isSafeInteger : function(e) {
2541
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, On = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Rn = Ln ? Number.isSafeInteger : function(e) {
2542
2542
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2543
- }, Xe = !0;
2543
+ }, We = !0;
2544
2544
  try {
2545
- var kn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2546
- Xe = ((Ue = kn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2545
+ var Dn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2546
+ We = ((ke = Dn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2547
2547
  } catch (e) {
2548
- Xe = !1;
2548
+ We = !1;
2549
2549
  }
2550
- var gt = In ? (
2550
+ var bt = wn ? (
2551
2551
  // Native
2552
2552
  function(t, r, n) {
2553
2553
  return t.startsWith(r, n);
@@ -2557,7 +2557,7 @@ var gt = In ? (
2557
2557
  function(t, r, n) {
2558
2558
  return t.slice(n, n + r.length) === r;
2559
2559
  }
2560
- ), Ze = Nn ? String.fromCodePoint : (
2560
+ ), Xe = In ? String.fromCodePoint : (
2561
2561
  // IE11
2562
2562
  function() {
2563
2563
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2569,9 +2569,9 @@ var gt = In ? (
2569
2569
  }
2570
2570
  return n;
2571
2571
  }
2572
- ), pt = (
2572
+ ), gt = (
2573
2573
  // native
2574
- On ? Object.fromEntries : (
2574
+ Nn ? Object.fromEntries : (
2575
2575
  // Ponyfill
2576
2576
  function(t) {
2577
2577
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2581,7 +2581,7 @@ var gt = In ? (
2581
2581
  return r;
2582
2582
  }
2583
2583
  )
2584
- ), Qt = Pn ? (
2584
+ ), qt = On ? (
2585
2585
  // Native
2586
2586
  function(t, r) {
2587
2587
  return t.codePointAt(r);
@@ -2595,7 +2595,7 @@ var gt = In ? (
2595
2595
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2596
2596
  }
2597
2597
  }
2598
- ), Un = Mn ? (
2598
+ ), kn = Pn ? (
2599
2599
  // Native
2600
2600
  function(t) {
2601
2601
  return t.trimStart();
@@ -2603,9 +2603,9 @@ var gt = In ? (
2603
2603
  ) : (
2604
2604
  // Ponyfill
2605
2605
  function(t) {
2606
- return t.replace(Bn, "");
2606
+ return t.replace(Cn, "");
2607
2607
  }
2608
- ), Fn = Ln ? (
2608
+ ), Un = Mn ? (
2609
2609
  // Native
2610
2610
  function(t) {
2611
2611
  return t.trimEnd();
@@ -2613,32 +2613,32 @@ var gt = In ? (
2613
2613
  ) : (
2614
2614
  // Ponyfill
2615
2615
  function(t) {
2616
- return t.replace(wn, "");
2616
+ return t.replace(Bn, "");
2617
2617
  }
2618
2618
  );
2619
- function Yt(e, t) {
2619
+ function Qt(e, t) {
2620
2620
  return new RegExp(e, t);
2621
2621
  }
2622
- var qe;
2623
- if (Xe) {
2624
- var yt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2625
- qe = function(t, r) {
2622
+ var Ze;
2623
+ if (We) {
2624
+ var pt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2625
+ Ze = function(t, r) {
2626
2626
  var n;
2627
- yt.lastIndex = r;
2628
- var i = yt.exec(t);
2627
+ pt.lastIndex = r;
2628
+ var i = pt.exec(t);
2629
2629
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2630
2630
  };
2631
2631
  } else
2632
- qe = function(t, r) {
2632
+ Ze = function(t, r) {
2633
2633
  for (var n = []; ; ) {
2634
- var i = Qt(t, r);
2635
- if (i === void 0 || Kt(i) || Vn(i))
2634
+ var i = qt(t, r);
2635
+ if (i === void 0 || Yt(i) || jn(i))
2636
2636
  break;
2637
2637
  n.push(i), r += i >= 65536 ? 2 : 1;
2638
2638
  }
2639
- return Ze.apply(void 0, n);
2639
+ return Xe.apply(void 0, n);
2640
2640
  };
2641
- var Gn = (
2641
+ var Fn = (
2642
2642
  /** @class */
2643
2643
  function() {
2644
2644
  function e(t, r) {
@@ -2669,7 +2669,7 @@ var Gn = (
2669
2669
  if (n)
2670
2670
  break;
2671
2671
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2672
- } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2672
+ } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2673
2673
  var a = this.parseTag(t, r);
2674
2674
  if (a.err)
2675
2675
  return a;
@@ -2702,7 +2702,7 @@ var Gn = (
2702
2702
  return s;
2703
2703
  var a = s.val, u = this.clonePosition();
2704
2704
  if (this.bumpIf("</")) {
2705
- if (this.isEOF() || !Qe(this.char()))
2705
+ if (this.isEOF() || !qe(this.char()))
2706
2706
  return this.error(_.INVALID_TAG, E(u, this.clonePosition()));
2707
2707
  var l = this.clonePosition(), o = this.parseTagName();
2708
2708
  return i !== o ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2720,7 +2720,7 @@ var Gn = (
2720
2720
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
2721
2721
  }, e.prototype.parseTagName = function() {
2722
2722
  var t = this.offset();
2723
- for (this.bump(); !this.isEOF() && jn(this.char()); )
2723
+ for (this.bump(); !this.isEOF() && $n(this.char()); )
2724
2724
  this.bump();
2725
2725
  return this.message.slice(t, this.offset());
2726
2726
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2749,7 +2749,7 @@ var Gn = (
2749
2749
  };
2750
2750
  }, e.prototype.tryParseLeftAngleBracket = function() {
2751
2751
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2752
- !$n(this.peek() || 0)) ? (this.bump(), "<") : null;
2752
+ !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
2753
2753
  }, e.prototype.tryParseQuote = function(t) {
2754
2754
  if (this.isEOF() || this.char() !== 39)
2755
2755
  return null;
@@ -2783,12 +2783,12 @@ var Gn = (
2783
2783
  r.push(n);
2784
2784
  this.bump();
2785
2785
  }
2786
- return Ze.apply(void 0, r);
2786
+ return Xe.apply(void 0, r);
2787
2787
  }, e.prototype.tryParseUnquoted = function(t, r) {
2788
2788
  if (this.isEOF())
2789
2789
  return null;
2790
2790
  var n = this.char();
2791
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2791
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
2792
2792
  }, e.prototype.parseArgument = function(t, r) {
2793
2793
  var n = this.clonePosition();
2794
2794
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2817,7 +2817,7 @@ var Gn = (
2817
2817
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2818
2818
  }
2819
2819
  }, e.prototype.parseIdentifierIfPossible = function() {
2820
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2820
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2821
2821
  this.bumpTo(i);
2822
2822
  var s = this.clonePosition(), a = E(t, s);
2823
2823
  return { value: n, location: a };
@@ -2836,18 +2836,18 @@ var Gn = (
2836
2836
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2837
2837
  if (m.err)
2838
2838
  return m;
2839
- var f = Fn(m.val);
2840
- if (f.length === 0)
2839
+ var c = Un(m.val);
2840
+ if (c.length === 0)
2841
2841
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2842
2842
  var g = E(h, this.clonePosition());
2843
- o = { style: f, styleLocation: g };
2843
+ o = { style: c, styleLocation: g };
2844
2844
  }
2845
2845
  var b = this.tryParseArgumentClose(i);
2846
2846
  if (b.err)
2847
2847
  return b;
2848
2848
  var y = E(i, this.clonePosition());
2849
- if (o && gt(o == null ? void 0 : o.style, "::", 0)) {
2850
- var d = Un(o.style.slice(2));
2849
+ if (o && bt(o == null ? void 0 : o.style, "::", 0)) {
2850
+ var d = kn(o.style.slice(2));
2851
2851
  if (u === "number") {
2852
2852
  var m = this.parseNumberSkeletonFromString(d, o.styleLocation);
2853
2853
  return m.err ? m : {
@@ -2858,15 +2858,15 @@ var Gn = (
2858
2858
  if (d.length === 0)
2859
2859
  return this.error(_.EXPECT_DATE_TIME_SKELETON, y);
2860
2860
  var v = d;
2861
- this.locale && (v = Hn(d, this.locale));
2862
- var f = {
2861
+ this.locale && (v = An(d, this.locale));
2862
+ var c = {
2863
2863
  type: re.dateTime,
2864
2864
  pattern: v,
2865
2865
  location: o.styleLocation,
2866
- parsedOptions: this.shouldParseSkeletons ? _n(v) : {}
2867
- }, P = u === "date" ? S.date : S.time;
2866
+ parsedOptions: this.shouldParseSkeletons ? yn(v) : {}
2867
+ }, L = u === "date" ? S.date : S.time;
2868
2868
  return {
2869
- val: { type: P, value: n, location: y, style: f },
2869
+ val: { type: L, value: n, location: y, style: c },
2870
2870
  err: null
2871
2871
  };
2872
2872
  }
@@ -2884,11 +2884,11 @@ var Gn = (
2884
2884
  case "plural":
2885
2885
  case "selectordinal":
2886
2886
  case "select": {
2887
- var N = this.clonePosition();
2887
+ var I = this.clonePosition();
2888
2888
  if (this.bumpSpace(), !this.bumpIf(","))
2889
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(N, xe({}, N)));
2889
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(I, ve({}, I)));
2890
2890
  this.bumpSpace();
2891
- var A = this.parseIdentifierIfPossible(), H = 0;
2891
+ var A = this.parseIdentifierIfPossible(), M = 0;
2892
2892
  if (u !== "select" && A.value === "offset") {
2893
2893
  if (!this.bumpIf(":"))
2894
2894
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
@@ -2896,31 +2896,31 @@ var Gn = (
2896
2896
  var m = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2897
2897
  if (m.err)
2898
2898
  return m;
2899
- this.bumpSpace(), A = this.parseIdentifierIfPossible(), H = m.val;
2899
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), M = m.val;
2900
2900
  }
2901
- var F = this.tryParsePluralOrSelectOptions(t, u, r, A);
2902
- if (F.err)
2903
- return F;
2901
+ var N = this.tryParsePluralOrSelectOptions(t, u, r, A);
2902
+ if (N.err)
2903
+ return N;
2904
2904
  var b = this.tryParseArgumentClose(i);
2905
2905
  if (b.err)
2906
2906
  return b;
2907
- var D = E(i, this.clonePosition());
2907
+ var F = E(i, this.clonePosition());
2908
2908
  return u === "select" ? {
2909
2909
  val: {
2910
2910
  type: S.select,
2911
2911
  value: n,
2912
- options: pt(F.val),
2913
- location: D
2912
+ options: gt(N.val),
2913
+ location: F
2914
2914
  },
2915
2915
  err: null
2916
2916
  } : {
2917
2917
  val: {
2918
2918
  type: S.plural,
2919
2919
  value: n,
2920
- options: pt(F.val),
2921
- offset: H,
2920
+ options: gt(N.val),
2921
+ offset: M,
2922
2922
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2923
- location: D
2923
+ location: F
2924
2924
  },
2925
2925
  err: null
2926
2926
  };
@@ -2968,7 +2968,7 @@ var Gn = (
2968
2968
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2969
2969
  var n = [];
2970
2970
  try {
2971
- n = vn(t);
2971
+ n = En(t);
2972
2972
  } catch (i) {
2973
2973
  return this.error(_.INVALID_NUMBER_SKELETON, r);
2974
2974
  }
@@ -2977,7 +2977,7 @@ var Gn = (
2977
2977
  type: re.number,
2978
2978
  tokens: n,
2979
2979
  location: r,
2980
- parsedOptions: this.shouldParseSkeletons ? An(n) : {}
2980
+ parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
2981
2981
  },
2982
2982
  err: null
2983
2983
  };
@@ -2986,9 +2986,9 @@ var Gn = (
2986
2986
  if (o.length === 0) {
2987
2987
  var m = this.clonePosition();
2988
2988
  if (r !== "select" && this.bumpIf("=")) {
2989
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2990
- if (f.err)
2991
- return f;
2989
+ var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2990
+ if (c.err)
2991
+ return c;
2992
2992
  h = E(m, this.clonePosition()), o = this.message.slice(m.offset, this.offset());
2993
2993
  } else
2994
2994
  break;
@@ -3025,7 +3025,7 @@ var Gn = (
3025
3025
  break;
3026
3026
  }
3027
3027
  var l = E(i, this.clonePosition());
3028
- return s ? (a *= n, Dn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3028
+ return s ? (a *= n, Rn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3029
3029
  }, e.prototype.offset = function() {
3030
3030
  return this.position.offset;
3031
3031
  }, e.prototype.isEOF = function() {
@@ -3040,7 +3040,7 @@ var Gn = (
3040
3040
  var t = this.position.offset;
3041
3041
  if (t >= this.message.length)
3042
3042
  throw Error("out of bound");
3043
- var r = Qt(this.message, t);
3043
+ var r = qt(this.message, t);
3044
3044
  if (r === void 0)
3045
3045
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3046
3046
  return r;
@@ -3059,7 +3059,7 @@ var Gn = (
3059
3059
  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);
3060
3060
  }
3061
3061
  }, e.prototype.bumpIf = function(t) {
3062
- if (gt(this.message, t, this.offset())) {
3062
+ if (bt(this.message, t, this.offset())) {
3063
3063
  for (var r = 0; r < t.length; r++)
3064
3064
  this.bump();
3065
3065
  return !0;
@@ -3081,7 +3081,7 @@ var Gn = (
3081
3081
  break;
3082
3082
  }
3083
3083
  }, e.prototype.bumpSpace = function() {
3084
- for (; !this.isEOF() && Kt(this.char()); )
3084
+ for (; !this.isEOF() && Yt(this.char()); )
3085
3085
  this.bump();
3086
3086
  }, e.prototype.peek = function() {
3087
3087
  if (this.isEOF())
@@ -3091,47 +3091,47 @@ var Gn = (
3091
3091
  }, e;
3092
3092
  }()
3093
3093
  );
3094
- function Qe(e) {
3094
+ function qe(e) {
3095
3095
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3096
3096
  }
3097
- function $n(e) {
3098
- return Qe(e) || e === 47;
3097
+ function Gn(e) {
3098
+ return qe(e) || e === 47;
3099
3099
  }
3100
- function jn(e) {
3100
+ function $n(e) {
3101
3101
  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;
3102
3102
  }
3103
- function Kt(e) {
3103
+ function Yt(e) {
3104
3104
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3105
3105
  }
3106
- function Vn(e) {
3106
+ function jn(e) {
3107
3107
  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;
3108
3108
  }
3109
- function Ye(e) {
3109
+ function Qe(e) {
3110
3110
  e.forEach(function(t) {
3111
- if (delete t.location, jt(t) || Vt(t))
3111
+ if (delete t.location, $t(t) || jt(t))
3112
3112
  for (var r in t.options)
3113
- delete t.options[r].location, Ye(t.options[r].value);
3113
+ delete t.options[r].location, Qe(t.options[r].value);
3114
3114
  else
3115
- Ft(t) && zt(t.style) || (Gt(t) || $t(t)) && We(t.style) ? delete t.style.location : Jt(t) && Ye(t.children);
3115
+ Ut(t) && Jt(t.style) || (Ft(t) || Gt(t)) && ze(t.style) ? delete t.style.location : Vt(t) && Qe(t.children);
3116
3116
  });
3117
3117
  }
3118
- function Jn(e, t) {
3119
- t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3120
- var r = new Gn(e, t).parse();
3118
+ function Vn(e, t) {
3119
+ t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3120
+ var r = new Fn(e, t).parse();
3121
3121
  if (r.err) {
3122
3122
  var n = SyntaxError(_[r.err.kind]);
3123
3123
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3124
3124
  }
3125
- return t != null && t.captureLocation || Ye(r.val), r.val;
3125
+ return t != null && t.captureLocation || Qe(r.val), r.val;
3126
3126
  }
3127
3127
  var ne;
3128
3128
  (function(e) {
3129
3129
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3130
3130
  })(ne || (ne = {}));
3131
- var Ce = (
3131
+ var He = (
3132
3132
  /** @class */
3133
3133
  function(e) {
3134
- He(t, e);
3134
+ Ae(t, e);
3135
3135
  function t(r, n, i) {
3136
3136
  var s = e.call(this, r) || this;
3137
3137
  return s.code = n, s.originalMessage = i, s;
@@ -3140,51 +3140,51 @@ var Ce = (
3140
3140
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3141
3141
  }, t;
3142
3142
  }(Error)
3143
- ), _t = (
3143
+ ), yt = (
3144
3144
  /** @class */
3145
3145
  function(e) {
3146
- He(t, e);
3146
+ Ae(t, e);
3147
3147
  function t(r, n, i, s) {
3148
3148
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
3149
3149
  }
3150
3150
  return t;
3151
- }(Ce)
3152
- ), zn = (
3151
+ }(He)
3152
+ ), Jn = (
3153
3153
  /** @class */
3154
3154
  function(e) {
3155
- He(t, e);
3155
+ Ae(t, e);
3156
3156
  function t(r, n, i) {
3157
3157
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3158
3158
  }
3159
3159
  return t;
3160
- }(Ce)
3161
- ), Wn = (
3160
+ }(He)
3161
+ ), zn = (
3162
3162
  /** @class */
3163
3163
  function(e) {
3164
- He(t, e);
3164
+ Ae(t, e);
3165
3165
  function t(r, n) {
3166
3166
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3167
3167
  }
3168
3168
  return t;
3169
- }(Ce)
3170
- ), M;
3169
+ }(He)
3170
+ ), R;
3171
3171
  (function(e) {
3172
3172
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3173
- })(M || (M = {}));
3174
- function Xn(e) {
3173
+ })(R || (R = {}));
3174
+ function Wn(e) {
3175
3175
  return e.length < 2 ? e : e.reduce(function(t, r) {
3176
3176
  var n = t[t.length - 1];
3177
- return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3177
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3178
3178
  }, []);
3179
3179
  }
3180
- function Zn(e) {
3180
+ function Xn(e) {
3181
3181
  return typeof e == "function";
3182
3182
  }
3183
- function Ee(e, t, r, n, i, s, a) {
3183
+ function _e(e, t, r, n, i, s, a) {
3184
3184
  if (e.length === 1 && ct(e[0]))
3185
3185
  return [
3186
3186
  {
3187
- type: M.literal,
3187
+ type: R.literal,
3188
3188
  value: e[0].value
3189
3189
  }
3190
3190
  ];
@@ -3192,103 +3192,103 @@ function Ee(e, t, r, n, i, s, a) {
3192
3192
  var h = o[l];
3193
3193
  if (ct(h)) {
3194
3194
  u.push({
3195
- type: M.literal,
3195
+ type: R.literal,
3196
3196
  value: h.value
3197
3197
  });
3198
3198
  continue;
3199
3199
  }
3200
- if (pn(h)) {
3200
+ if (gn(h)) {
3201
3201
  typeof s == "number" && u.push({
3202
- type: M.literal,
3202
+ type: R.literal,
3203
3203
  value: r.getNumberFormat(t).format(s)
3204
3204
  });
3205
3205
  continue;
3206
3206
  }
3207
3207
  var m = h.value;
3208
3208
  if (!(i && m in i))
3209
- throw new Wn(m, a);
3210
- var f = i[m];
3211
- if (gn(h)) {
3212
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3213
- type: typeof f == "string" ? M.literal : M.object,
3214
- value: f
3209
+ throw new zn(m, a);
3210
+ var c = i[m];
3211
+ if (bn(h)) {
3212
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3213
+ type: typeof c == "string" ? R.literal : R.object,
3214
+ value: c
3215
3215
  });
3216
3216
  continue;
3217
3217
  }
3218
- if (Gt(h)) {
3219
- var g = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3218
+ if (Ft(h)) {
3219
+ var g = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3220
3220
  u.push({
3221
- type: M.literal,
3222
- value: r.getDateTimeFormat(t, g).format(f)
3221
+ type: R.literal,
3222
+ value: r.getDateTimeFormat(t, g).format(c)
3223
3223
  });
3224
3224
  continue;
3225
3225
  }
3226
- if ($t(h)) {
3227
- var g = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3226
+ if (Gt(h)) {
3227
+ var g = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3228
3228
  u.push({
3229
- type: M.literal,
3230
- value: r.getDateTimeFormat(t, g).format(f)
3229
+ type: R.literal,
3230
+ value: r.getDateTimeFormat(t, g).format(c)
3231
3231
  });
3232
3232
  continue;
3233
3233
  }
3234
- if (Ft(h)) {
3235
- var g = typeof h.style == "string" ? n.number[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
3236
- g && g.scale && (f = f * (g.scale || 1)), u.push({
3237
- type: M.literal,
3238
- value: r.getNumberFormat(t, g).format(f)
3234
+ if (Ut(h)) {
3235
+ var g = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3236
+ g && g.scale && (c = c * (g.scale || 1)), u.push({
3237
+ type: R.literal,
3238
+ value: r.getNumberFormat(t, g).format(c)
3239
3239
  });
3240
3240
  continue;
3241
3241
  }
3242
- if (Jt(h)) {
3242
+ if (Vt(h)) {
3243
3243
  var b = h.children, y = h.value, d = i[y];
3244
- if (!Zn(d))
3245
- throw new zn(y, "function", a);
3246
- var v = Ee(b, t, r, n, i, s), P = d(v.map(function(H) {
3247
- return H.value;
3244
+ if (!Xn(d))
3245
+ throw new Jn(y, "function", a);
3246
+ var v = _e(b, t, r, n, i, s), L = d(v.map(function(M) {
3247
+ return M.value;
3248
3248
  }));
3249
- Array.isArray(P) || (P = [P]), u.push.apply(u, P.map(function(H) {
3249
+ Array.isArray(L) || (L = [L]), u.push.apply(u, L.map(function(M) {
3250
3250
  return {
3251
- type: typeof H == "string" ? M.literal : M.object,
3252
- value: H
3251
+ type: typeof M == "string" ? R.literal : R.object,
3252
+ value: M
3253
3253
  };
3254
3254
  }));
3255
3255
  }
3256
- if (jt(h)) {
3257
- var N = h.options[f] || h.options.other;
3258
- if (!N)
3259
- throw new _t(h.value, f, Object.keys(h.options), a);
3260
- u.push.apply(u, Ee(N.value, t, r, n, i));
3256
+ if ($t(h)) {
3257
+ var I = h.options[c] || h.options.other;
3258
+ if (!I)
3259
+ throw new yt(h.value, c, Object.keys(h.options), a);
3260
+ u.push.apply(u, _e(I.value, t, r, n, i));
3261
3261
  continue;
3262
3262
  }
3263
- if (Vt(h)) {
3264
- var N = h.options["=".concat(f)];
3265
- if (!N) {
3263
+ if (jt(h)) {
3264
+ var I = h.options["=".concat(c)];
3265
+ if (!I) {
3266
3266
  if (!Intl.PluralRules)
3267
- throw new Ce(`Intl.PluralRules is not available in this environment.
3267
+ throw new He(`Intl.PluralRules is not available in this environment.
3268
3268
  Try polyfilling it using "@formatjs/intl-pluralrules"
3269
3269
  `, ne.MISSING_INTL_API, a);
3270
- var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3271
- N = h.options[A] || h.options.other;
3270
+ var A = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3271
+ I = h.options[A] || h.options.other;
3272
3272
  }
3273
- if (!N)
3274
- throw new _t(h.value, f, Object.keys(h.options), a);
3275
- u.push.apply(u, Ee(N.value, t, r, n, i, f - (h.offset || 0)));
3273
+ if (!I)
3274
+ throw new yt(h.value, c, Object.keys(h.options), a);
3275
+ u.push.apply(u, _e(I.value, t, r, n, i, c - (h.offset || 0)));
3276
3276
  continue;
3277
3277
  }
3278
3278
  }
3279
- return Xn(u);
3279
+ return Wn(u);
3280
3280
  }
3281
- function qn(e, t) {
3282
- return t ? V(V(V({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3283
- return r[n] = V(V({}, e[n]), t[n] || {}), r;
3281
+ function Zn(e, t) {
3282
+ return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3283
+ return r[n] = j(j({}, e[n]), t[n] || {}), r;
3284
3284
  }, {})) : e;
3285
3285
  }
3286
- function Qn(e, t) {
3286
+ function qn(e, t) {
3287
3287
  return t ? Object.keys(e).reduce(function(r, n) {
3288
- return r[n] = qn(e[n], t[n]), r;
3289
- }, V({}, e)) : e;
3288
+ return r[n] = Zn(e[n], t[n]), r;
3289
+ }, j({}, e)) : e;
3290
3290
  }
3291
- function Fe(e) {
3291
+ function Ue(e) {
3292
3292
  return {
3293
3293
  create: function() {
3294
3294
  return {
@@ -3302,39 +3302,39 @@ function Fe(e) {
3302
3302
  }
3303
3303
  };
3304
3304
  }
3305
- function Yn(e) {
3305
+ function Qn(e) {
3306
3306
  return e === void 0 && (e = {
3307
3307
  number: {},
3308
3308
  dateTime: {},
3309
3309
  pluralRules: {}
3310
3310
  }), {
3311
- getNumberFormat: De(function() {
3311
+ getNumberFormat: Re(function() {
3312
3312
  for (var t, r = [], n = 0; n < arguments.length; n++)
3313
3313
  r[n] = arguments[n];
3314
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3314
+ return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
3315
3315
  }, {
3316
- cache: Fe(e.number),
3317
- strategy: ke.variadic
3316
+ cache: Ue(e.number),
3317
+ strategy: De.variadic
3318
3318
  }),
3319
- getDateTimeFormat: De(function() {
3319
+ getDateTimeFormat: Re(function() {
3320
3320
  for (var t, r = [], n = 0; n < arguments.length; n++)
3321
3321
  r[n] = arguments[n];
3322
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3322
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
3323
3323
  }, {
3324
- cache: Fe(e.dateTime),
3325
- strategy: ke.variadic
3324
+ cache: Ue(e.dateTime),
3325
+ strategy: De.variadic
3326
3326
  }),
3327
- getPluralRules: De(function() {
3327
+ getPluralRules: Re(function() {
3328
3328
  for (var t, r = [], n = 0; n < arguments.length; n++)
3329
3329
  r[n] = arguments[n];
3330
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3330
+ return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
3331
3331
  }, {
3332
- cache: Fe(e.pluralRules),
3333
- strategy: ke.variadic
3332
+ cache: Ue(e.pluralRules),
3333
+ strategy: De.variadic
3334
3334
  })
3335
3335
  };
3336
3336
  }
3337
- var Kn = (
3337
+ var Yn = (
3338
3338
  /** @class */
3339
3339
  function() {
3340
3340
  function e(t, r, n, i) {
@@ -3348,12 +3348,12 @@ var Kn = (
3348
3348
  var o = s.formatToParts(l);
3349
3349
  if (o.length === 1)
3350
3350
  return o[0].value;
3351
- var h = o.reduce(function(m, f) {
3352
- return !m.length || f.type !== M.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3351
+ var h = o.reduce(function(m, c) {
3352
+ return !m.length || c.type !== R.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
3353
3353
  }, []);
3354
3354
  return h.length <= 1 ? h[0] || "" : h;
3355
3355
  }, this.formatToParts = function(l) {
3356
- return Ee(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3356
+ return _e(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3357
3357
  }, this.resolvedOptions = function() {
3358
3358
  var l;
3359
3359
  return {
@@ -3366,13 +3366,13 @@ var Kn = (
3366
3366
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3367
3367
  var a = i || {};
3368
3368
  a.formatters;
3369
- var u = un(a, ["formatters"]);
3370
- this.ast = e.__parse(t, V(V({}, u), { locale: this.resolvedLocale }));
3369
+ var u = on(a, ["formatters"]);
3370
+ this.ast = e.__parse(t, j(j({}, u), { locale: this.resolvedLocale }));
3371
3371
  } else
3372
3372
  this.ast = t;
3373
3373
  if (!Array.isArray(this.ast))
3374
3374
  throw new TypeError("A message must be provided as a String or AST.");
3375
- this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || Yn(this.formatterCache);
3375
+ this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Qn(this.formatterCache);
3376
3376
  }
3377
3377
  return Object.defineProperty(e, "defaultLocale", {
3378
3378
  get: function() {
@@ -3385,7 +3385,7 @@ var Kn = (
3385
3385
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3386
3386
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3387
3387
  }
3388
- }, e.__parse = Jn, e.formats = {
3388
+ }, e.__parse = Vn, e.formats = {
3389
3389
  number: {
3390
3390
  integer: {
3391
3391
  maximumFractionDigits: 0
@@ -3446,7 +3446,7 @@ var Kn = (
3446
3446
  }, e;
3447
3447
  }()
3448
3448
  );
3449
- function ei(e, t) {
3449
+ function Kn(e, t) {
3450
3450
  if (t == null)
3451
3451
  return;
3452
3452
  if (t in e)
@@ -3467,92 +3467,92 @@ function ei(e, t) {
3467
3467
  n = void 0;
3468
3468
  return n;
3469
3469
  }
3470
- const W = {}, ti = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), er = (e, t) => {
3470
+ const z = {}, ei = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Kt = (e, t) => {
3471
3471
  if (t == null)
3472
3472
  return;
3473
- if (t in W && e in W[t])
3474
- return W[t][e];
3475
- const r = Be(t);
3473
+ if (t in z && e in z[t])
3474
+ return z[t][e];
3475
+ const r = Ce(t);
3476
3476
  for (let n = 0; n < r.length; n++) {
3477
- const i = r[n], s = ni(i, e);
3477
+ const i = r[n], s = ri(i, e);
3478
3478
  if (s)
3479
- return ti(e, t, s);
3479
+ return ei(e, t, s);
3480
3480
  }
3481
3481
  };
3482
- let tt;
3483
- const oe = Ae({});
3484
- function ri(e) {
3485
- return tt[e] || null;
3482
+ let et;
3483
+ const oe = Te({});
3484
+ function ti(e) {
3485
+ return et[e] || null;
3486
3486
  }
3487
- function tr(e) {
3488
- return e in tt;
3487
+ function er(e) {
3488
+ return e in et;
3489
3489
  }
3490
- function ni(e, t) {
3491
- if (!tr(e))
3490
+ function ri(e, t) {
3491
+ if (!er(e))
3492
3492
  return null;
3493
- const r = ri(e);
3494
- return ei(r, t);
3493
+ const r = ti(e);
3494
+ return Kn(r, t);
3495
3495
  }
3496
- function ii(e) {
3496
+ function ni(e) {
3497
3497
  if (e == null)
3498
3498
  return;
3499
- const t = Be(e);
3499
+ const t = Ce(e);
3500
3500
  for (let r = 0; r < t.length; r++) {
3501
3501
  const n = t[r];
3502
- if (tr(n))
3502
+ if (er(n))
3503
3503
  return n;
3504
3504
  }
3505
3505
  }
3506
- function rr(e, ...t) {
3507
- delete W[e], oe.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
3506
+ function tr(e, ...t) {
3507
+ delete z[e], oe.update((r) => (r[e] = an.all([r[e] || {}, ...t]), r));
3508
3508
  }
3509
3509
  ae(
3510
3510
  [oe],
3511
3511
  ([e]) => Object.keys(e)
3512
3512
  );
3513
- oe.subscribe((e) => tt = e);
3514
- const ve = {};
3515
- function si(e, t) {
3516
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3513
+ oe.subscribe((e) => et = e);
3514
+ const Ee = {};
3515
+ function ii(e, t) {
3516
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3517
3517
  }
3518
- function nr(e) {
3519
- return ve[e];
3518
+ function rr(e) {
3519
+ return Ee[e];
3520
3520
  }
3521
- function ai(e) {
3522
- return Be(e).map((t) => {
3523
- const r = nr(t);
3521
+ function si(e) {
3522
+ return Ce(e).map((t) => {
3523
+ const r = rr(t);
3524
3524
  return [t, r ? [...r] : []];
3525
3525
  }).filter(([, t]) => t.length > 0);
3526
3526
  }
3527
- function Ke(e) {
3528
- return e == null ? !1 : Be(e).some(
3527
+ function Ye(e) {
3528
+ return e == null ? !1 : Ce(e).some(
3529
3529
  (t) => {
3530
3530
  var r;
3531
- return (r = nr(t)) == null ? void 0 : r.size;
3531
+ return (r = rr(t)) == null ? void 0 : r.size;
3532
3532
  }
3533
3533
  );
3534
3534
  }
3535
- function oi(e, t) {
3535
+ function ai(e, t) {
3536
3536
  return Promise.all(
3537
- t.map((n) => (si(e, n), n().then((i) => i.default || i)))
3538
- ).then((n) => rr(e, ...n));
3539
- }
3540
- const he = {};
3541
- function ir(e) {
3542
- if (!Ke(e))
3543
- return e in he ? he[e] : Promise.resolve();
3544
- const t = ai(e);
3545
- return he[e] = Promise.all(
3537
+ t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
3538
+ ).then((n) => tr(e, ...n));
3539
+ }
3540
+ const le = {};
3541
+ function nr(e) {
3542
+ if (!Ye(e))
3543
+ return e in le ? le[e] : Promise.resolve();
3544
+ const t = si(e);
3545
+ return le[e] = Promise.all(
3546
3546
  t.map(
3547
- ([r, n]) => oi(r, n)
3547
+ ([r, n]) => ai(r, n)
3548
3548
  )
3549
3549
  ).then(() => {
3550
- if (Ke(e))
3551
- return ir(e);
3552
- delete he[e];
3553
- }), he[e];
3550
+ if (Ye(e))
3551
+ return nr(e);
3552
+ delete le[e];
3553
+ }), le[e];
3554
3554
  }
3555
- const ui = {
3555
+ const oi = {
3556
3556
  number: {
3557
3557
  scientific: { notation: "scientific" },
3558
3558
  engineering: { notation: "engineering" },
@@ -3581,135 +3581,135 @@ const ui = {
3581
3581
  timeZoneName: "short"
3582
3582
  }
3583
3583
  }
3584
- }, li = {
3584
+ }, ui = {
3585
3585
  fallbackLocale: null,
3586
3586
  loadingDelay: 200,
3587
- formats: ui,
3587
+ formats: oi,
3588
3588
  warnOnMissingMessages: !0,
3589
3589
  handleMissingMessage: void 0,
3590
3590
  ignoreTag: !0
3591
- }, hi = li;
3591
+ }, li = ui;
3592
3592
  function ie() {
3593
- return hi;
3593
+ return li;
3594
3594
  }
3595
- const Ge = Ae(!1);
3596
- var fi = Object.defineProperty, ci = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
3595
+ const Fe = Te(!1);
3596
+ var hi = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bi = (e, t) => {
3597
3597
  for (var r in t || (t = {}))
3598
- di.call(t, r) && vt(e, r, t[r]);
3599
- if (Et)
3600
- for (var r of Et(t))
3601
- bi.call(t, r) && vt(e, r, t[r]);
3598
+ mi.call(t, r) && Et(e, r, t[r]);
3599
+ if (_t)
3600
+ for (var r of _t(t))
3601
+ di.call(t, r) && Et(e, r, t[r]);
3602
3602
  return e;
3603
- }, pi = (e, t) => ci(e, mi(t));
3604
- let et;
3605
- const Se = Ae(null);
3606
- function xt(e) {
3603
+ }, gi = (e, t) => ci(e, fi(t));
3604
+ let Ke;
3605
+ const xe = Te(null);
3606
+ function vt(e) {
3607
3607
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3608
3608
  }
3609
- function Be(e, t = ie().fallbackLocale) {
3610
- const r = xt(e);
3611
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
3609
+ function Ce(e, t = ie().fallbackLocale) {
3610
+ const r = vt(e);
3611
+ return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
3612
3612
  }
3613
3613
  function Z() {
3614
- return et != null ? et : void 0;
3614
+ return Ke != null ? Ke : void 0;
3615
3615
  }
3616
- Se.subscribe((e) => {
3617
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3616
+ xe.subscribe((e) => {
3617
+ Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3618
3618
  });
3619
- const yi = (e) => {
3620
- if (e && ii(e) && Ke(e)) {
3619
+ const pi = (e) => {
3620
+ if (e && ni(e) && Ye(e)) {
3621
3621
  const { loadingDelay: t } = ie();
3622
3622
  let r;
3623
3623
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
3624
- () => Ge.set(!0),
3624
+ () => Fe.set(!0),
3625
3625
  t
3626
- ) : Ge.set(!0), ir(e).then(() => {
3627
- Se.set(e);
3626
+ ) : Fe.set(!0), nr(e).then(() => {
3627
+ xe.set(e);
3628
3628
  }).finally(() => {
3629
- clearTimeout(r), Ge.set(!1);
3629
+ clearTimeout(r), Fe.set(!1);
3630
3630
  });
3631
3631
  }
3632
- return Se.set(e);
3633
- }, X = pi(gi({}, Se), {
3634
- set: yi
3635
- }), we = (e) => {
3632
+ return xe.set(e);
3633
+ }, W = gi(bi({}, xe), {
3634
+ set: pi
3635
+ }), Be = (e) => {
3636
3636
  const t = /* @__PURE__ */ Object.create(null);
3637
3637
  return (n) => {
3638
3638
  const i = JSON.stringify(n);
3639
3639
  return i in t ? t[i] : t[i] = e(n);
3640
3640
  };
3641
3641
  };
3642
- var _i = Object.defineProperty, Te = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3642
+ var yi = Object.defineProperty, Se = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
3643
3643
  for (var r in t || (t = {}))
3644
- sr.call(t, r) && St(e, r, t[r]);
3645
- if (Te)
3646
- for (var r of Te(t))
3647
- ar.call(t, r) && St(e, r, t[r]);
3644
+ ir.call(t, r) && xt(e, r, t[r]);
3645
+ if (Se)
3646
+ for (var r of Se(t))
3647
+ sr.call(t, r) && xt(e, r, t[r]);
3648
3648
  return e;
3649
3649
  }, ue = (e, t) => {
3650
3650
  var r = {};
3651
3651
  for (var n in e)
3652
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3653
- if (e != null && Te)
3654
- for (var n of Te(e))
3655
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
3652
+ ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3653
+ if (e != null && Se)
3654
+ for (var n of Se(e))
3655
+ t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
3656
3656
  return r;
3657
3657
  };
3658
- const de = (e, t) => {
3658
+ const me = (e, t) => {
3659
3659
  const { formats: r } = ie();
3660
3660
  if (e in r && t in r[e])
3661
3661
  return r[e][t];
3662
3662
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3663
- }, Ei = we(
3663
+ }, _i = Be(
3664
3664
  (e) => {
3665
3665
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3666
3666
  if (r == null)
3667
3667
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3668
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
3668
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3669
3669
  }
3670
- ), vi = we(
3670
+ ), Ei = Be(
3671
3671
  (e) => {
3672
3672
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3673
3673
  if (r == null)
3674
3674
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3675
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
3675
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3676
3676
  }
3677
- ), xi = we(
3677
+ ), vi = Be(
3678
3678
  (e) => {
3679
3679
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3680
3680
  if (r == null)
3681
3681
  throw new Error(
3682
3682
  '[svelte-i18n] A "locale" must be set to format time values'
3683
3683
  );
3684
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
3684
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3685
3685
  }
3686
- ), Si = (e = {}) => {
3686
+ ), xi = (e = {}) => {
3687
3687
  var t = e, {
3688
3688
  locale: r = Z()
3689
3689
  } = t, n = ue(t, [
3690
3690
  "locale"
3691
3691
  ]);
3692
- return Ei(rt({ locale: r }, n));
3693
- }, Ti = (e = {}) => {
3692
+ return _i(tt({ locale: r }, n));
3693
+ }, Si = (e = {}) => {
3694
3694
  var t = e, {
3695
3695
  locale: r = Z()
3696
3696
  } = t, n = ue(t, [
3697
3697
  "locale"
3698
3698
  ]);
3699
- return vi(rt({ locale: r }, n));
3700
- }, Ai = (e = {}) => {
3699
+ return Ei(tt({ locale: r }, n));
3700
+ }, Ti = (e = {}) => {
3701
3701
  var t = e, {
3702
3702
  locale: r = Z()
3703
3703
  } = t, n = ue(t, [
3704
3704
  "locale"
3705
3705
  ]);
3706
- return xi(rt({ locale: r }, n));
3707
- }, Hi = we(
3706
+ return vi(tt({ locale: r }, n));
3707
+ }, Ai = Be(
3708
3708
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3709
- (e, t = Z()) => new Kn(e, t, ie().formats, {
3709
+ (e, t = Z()) => new Yn(e, t, ie().formats, {
3710
3710
  ignoreTag: ie().ignoreTag
3711
3711
  })
3712
- ), Ci = (e, t = {}) => {
3712
+ ), Hi = (e, t = {}) => {
3713
3713
  var r, n, i, s;
3714
3714
  let a = t;
3715
3715
  typeof e == "object" && (a = e, e = a.id);
@@ -3722,7 +3722,7 @@ const de = (e, t) => {
3722
3722
  throw new Error(
3723
3723
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3724
3724
  );
3725
- let h = er(e, l);
3725
+ let h = Kt(e, l);
3726
3726
  if (!h)
3727
3727
  h = (s = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3728
3728
  else if (typeof h != "string")
@@ -3733,31 +3733,31 @@ const de = (e, t) => {
3733
3733
  return h;
3734
3734
  let m = h;
3735
3735
  try {
3736
- m = Hi(h, l).format(u);
3737
- } catch (f) {
3738
- f instanceof Error && console.warn(
3736
+ m = Ai(h, l).format(u);
3737
+ } catch (c) {
3738
+ c instanceof Error && console.warn(
3739
3739
  `[svelte-i18n] Message "${e}" has syntax error:`,
3740
- f.message
3740
+ c.message
3741
3741
  );
3742
3742
  }
3743
3743
  return m;
3744
- }, Bi = (e, t) => Ai(t).format(e), wi = (e, t) => Ti(t).format(e), Ii = (e, t) => Si(t).format(e), Ni = (e, t = Z()) => er(e, t), Oi = ae([X, oe], () => Ci);
3745
- ae([X], () => Bi);
3746
- ae([X], () => wi);
3747
- ae([X], () => Ii);
3748
- ae([X, oe], () => Ni);
3749
- function Pi({ withLocale: e, translations: t }) {
3750
- X.subscribe((r) => {
3751
- r == null && (oe.set(t), X.set(e));
3744
+ }, Ci = (e, t) => Ti(t).format(e), Bi = (e, t) => Si(t).format(e), wi = (e, t) => xi(t).format(e), Ii = (e, t = Z()) => Kt(e, t), Ni = ae([W, oe], () => Hi);
3745
+ ae([W], () => Ci);
3746
+ ae([W], () => Bi);
3747
+ ae([W], () => wi);
3748
+ ae([W, oe], () => Ii);
3749
+ function Oi({ withLocale: e, translations: t }) {
3750
+ W.subscribe((r) => {
3751
+ r == null && (oe.set(t), W.set(e));
3752
3752
  });
3753
3753
  }
3754
- function Tt(e, t) {
3755
- rr(e, t);
3754
+ function St(e, t) {
3755
+ tr(e, t);
3756
3756
  }
3757
- function Mi(e) {
3758
- X.set(e);
3757
+ function Pi(e) {
3758
+ W.set(e);
3759
3759
  }
3760
- const At = {
3760
+ const Tt = {
3761
3761
  en: {
3762
3762
  enrolled: "Enrolled",
3763
3763
  scoreCriteria: "Score Criteria",
@@ -4089,76 +4089,99 @@ const At = {
4089
4089
  December: "December"
4090
4090
  }
4091
4091
  };
4092
- function Li(e) {
4093
- xr(e, "svelte-1bncdcr", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4092
+ function Mi(e, t) {
4093
+ if (e) {
4094
+ const r = document.createElement("style");
4095
+ r.innerHTML = t, e.appendChild(r);
4096
+ }
4094
4097
  }
4095
- function Ht(e) {
4098
+ function Li(e, t) {
4099
+ const r = new URL(t);
4100
+ fetch(r.href).then((n) => n.text()).then((n) => {
4101
+ const i = document.createElement("style");
4102
+ i.innerHTML = n, e && e.appendChild(i);
4103
+ }).catch((n) => {
4104
+ console.error("There was an error while trying to load client styling from URL", n);
4105
+ });
4106
+ }
4107
+ function Ri(e, t, r) {
4108
+ if (window.emMessageBus) {
4109
+ const n = document.createElement("style");
4110
+ window.emMessageBus.subscribe(t, (i) => {
4111
+ n.innerHTML = i, e && e.appendChild(n);
4112
+ });
4113
+ }
4114
+ }
4115
+ function Di(e) {
4116
+ vr(e, "svelte-1bncdcr", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4117
+ }
4118
+ function At(e) {
4096
4119
  let t, r, n;
4097
4120
  return {
4098
4121
  c() {
4099
- t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = j(), n = B("div"), n.innerHTML = '<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>', p(t, "class", "Skeleton CardImg"), p(n, "class", "Details"), p(n, "part", "Details");
4122
+ t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = $(), n = B("div"), n.innerHTML = '<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>', p(t, "class", "Skeleton CardImg"), p(n, "class", "Details"), p(n, "part", "Details");
4100
4123
  },
4101
4124
  m(i, s) {
4102
- O(i, t, s), O(i, r, s), O(i, n, s);
4125
+ P(i, t, s), P(i, r, s), P(i, n, s);
4103
4126
  },
4104
4127
  d(i) {
4105
- i && (I(t), I(r), I(n));
4128
+ i && (w(t), w(r), w(n));
4106
4129
  }
4107
4130
  };
4108
4131
  }
4109
- function Ct(e) {
4132
+ function Ht(e) {
4110
4133
  let t, r, n, i, s, a, u, l, o = (
4111
4134
  /*status*/
4112
- e[0] && Bt(e)
4135
+ e[0] && Ct(e)
4113
4136
  ), h = (
4114
4137
  /*showenrolled*/
4115
- e[7] == "true" && wt(e)
4138
+ e[7] == "true" && Bt(e)
4116
4139
  );
4117
4140
  function m(d, v) {
4118
4141
  return (
4119
4142
  /*thumbnail*/
4120
- d[4] ? Di : Ri
4143
+ d[4] ? Ui : ki
4121
4144
  );
4122
4145
  }
4123
- let f = m(e), g = f(e), b = (
4146
+ let c = m(e), g = c(e), b = (
4124
4147
  /*startdate*/
4125
- e[2] && Nt(e)
4148
+ e[2] && It(e)
4126
4149
  ), y = (
4127
4150
  /*isLoggedIn*/
4128
- e[12] && Ot(e)
4151
+ e[12] && Nt(e)
4129
4152
  );
4130
4153
  return {
4131
4154
  c() {
4132
- o && o.c(), t = j(), h && h.c(), r = j(), g.c(), n = j(), i = B("div"), s = B("div"), a = L(
4155
+ o && o.c(), t = $(), h && h.c(), r = $(), g.c(), n = $(), i = B("div"), s = B("div"), a = D(
4133
4156
  /*title*/
4134
4157
  e[1]
4135
- ), u = j(), b && b.c(), l = j(), y && y.c(), p(s, "class", "Title"), p(s, "part", "Title"), p(i, "class", "Details"), p(i, "part", "Details");
4158
+ ), u = $(), b && b.c(), l = $(), y && y.c(), p(s, "class", "Title"), p(s, "part", "Title"), p(i, "class", "Details"), p(i, "part", "Details");
4136
4159
  },
4137
4160
  m(d, v) {
4138
- o && o.m(d, v), O(d, t, v), h && h.m(d, v), O(d, r, v), g.m(d, v), O(d, n, v), O(d, i, v), x(i, s), x(s, a), x(i, u), b && b.m(i, null), x(i, l), y && y.m(i, null);
4161
+ o && o.m(d, v), P(d, t, v), h && h.m(d, v), P(d, r, v), g.m(d, v), P(d, n, v), P(d, i, v), x(i, s), x(s, a), x(i, u), b && b.m(i, null), x(i, l), y && y.m(i, null);
4139
4162
  },
4140
4163
  p(d, v) {
4141
4164
  /*status*/
4142
- d[0] ? o ? o.p(d, v) : (o = Bt(d), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null), /*showenrolled*/
4143
- d[7] == "true" ? h ? h.p(d, v) : (h = wt(d), h.c(), h.m(r.parentNode, r)) : h && (h.d(1), h = null), f === (f = m(d)) && g ? g.p(d, v) : (g.d(1), g = f(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4144
- 2 && $(
4165
+ d[0] ? o ? o.p(d, v) : (o = Ct(d), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null), /*showenrolled*/
4166
+ d[7] == "true" ? h ? h.p(d, v) : (h = Bt(d), h.c(), h.m(r.parentNode, r)) : h && (h.d(1), h = null), c === (c = m(d)) && g ? g.p(d, v) : (g.d(1), g = c(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4167
+ 2 && G(
4145
4168
  a,
4146
4169
  /*title*/
4147
4170
  d[1]
4148
4171
  ), /*startdate*/
4149
- d[2] ? b ? b.p(d, v) : (b = Nt(d), b.c(), b.m(i, l)) : b && (b.d(1), b = null), /*isLoggedIn*/
4150
- d[12] ? y ? y.p(d, v) : (y = Ot(d), y.c(), y.m(i, null)) : y && (y.d(1), y = null);
4172
+ d[2] ? b ? b.p(d, v) : (b = It(d), b.c(), b.m(i, l)) : b && (b.d(1), b = null), /*isLoggedIn*/
4173
+ d[12] ? y ? y.p(d, v) : (y = Nt(d), y.c(), y.m(i, null)) : y && (y.d(1), y = null);
4151
4174
  },
4152
4175
  d(d) {
4153
- d && (I(t), I(r), I(n), I(i)), o && o.d(d), h && h.d(d), g.d(d), b && b.d(), y && y.d();
4176
+ d && (w(t), w(r), w(n), w(i)), o && o.d(d), h && h.d(d), g.d(d), b && b.d(), y && y.d();
4154
4177
  }
4155
4178
  };
4156
4179
  }
4157
- function Bt(e) {
4180
+ function Ct(e) {
4158
4181
  let t, r, n, i, s, a;
4159
4182
  return {
4160
4183
  c() {
4161
- t = B("div"), r = L(
4184
+ t = B("div"), r = D(
4162
4185
  /*shownStatus*/
4163
4186
  e[13]
4164
4187
  ), p(t, "class", n = "Status " + /*statusClass*/
@@ -4166,14 +4189,14 @@ function Bt(e) {
4166
4189
  e[15]);
4167
4190
  },
4168
4191
  m(u, l) {
4169
- O(u, t, l), x(t, r), s || (a = ge(
4192
+ P(u, t, l), x(t, r), s || (a = be(
4170
4193
  /*matchStatus*/
4171
4194
  e[18].call(null, t)
4172
4195
  ), s = !0);
4173
4196
  },
4174
4197
  p(u, l) {
4175
4198
  l[0] & /*shownStatus*/
4176
- 8192 && $(
4199
+ 8192 && G(
4177
4200
  r,
4178
4201
  /*shownStatus*/
4179
4202
  u[13]
@@ -4184,65 +4207,65 @@ function Bt(e) {
4184
4207
  u[15]) && p(t, "part", i);
4185
4208
  },
4186
4209
  d(u) {
4187
- u && I(t), s = !1, a();
4210
+ u && w(t), s = !1, a();
4188
4211
  }
4189
4212
  };
4190
4213
  }
4191
- function wt(e) {
4214
+ function Bt(e) {
4192
4215
  let t, r = (
4193
4216
  /*userenrolled*/
4194
- e[5] && It(e)
4217
+ e[5] && wt(e)
4195
4218
  );
4196
4219
  return {
4197
4220
  c() {
4198
- r && r.c(), t = Ar();
4221
+ r && r.c(), t = Tr();
4199
4222
  },
4200
4223
  m(n, i) {
4201
- r && r.m(n, i), O(n, t, i);
4224
+ r && r.m(n, i), P(n, t, i);
4202
4225
  },
4203
4226
  p(n, i) {
4204
4227
  /*userenrolled*/
4205
- n[5] ? r ? r.p(n, i) : (r = It(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4228
+ n[5] ? r ? r.p(n, i) : (r = wt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4206
4229
  },
4207
4230
  d(n) {
4208
- n && I(t), r && r.d(n);
4231
+ n && w(t), r && r.d(n);
4209
4232
  }
4210
4233
  };
4211
4234
  }
4212
- function It(e) {
4235
+ function wt(e) {
4213
4236
  let t, r = (
4214
4237
  /*$_*/
4215
4238
  e[16]("enrolled") + ""
4216
4239
  ), n;
4217
4240
  return {
4218
4241
  c() {
4219
- t = B("div"), n = L(r), p(t, "class", "Enrolled"), p(t, "part", "Enrolled");
4242
+ t = B("div"), n = D(r), p(t, "class", "Enrolled"), p(t, "part", "Enrolled");
4220
4243
  },
4221
4244
  m(i, s) {
4222
- O(i, t, s), x(t, n);
4245
+ P(i, t, s), x(t, n);
4223
4246
  },
4224
4247
  p(i, s) {
4225
4248
  s[0] & /*$_*/
4226
4249
  65536 && r !== (r = /*$_*/
4227
- i[16]("enrolled") + "") && $(n, r);
4250
+ i[16]("enrolled") + "") && G(n, r);
4228
4251
  },
4229
4252
  d(i) {
4230
- i && I(t);
4253
+ i && w(t);
4231
4254
  }
4232
4255
  };
4233
4256
  }
4234
- function Ri(e) {
4257
+ function ki(e) {
4235
4258
  let t, r, n, i, s, a, u;
4236
4259
  return {
4237
4260
  c() {
4238
- t = B("div"), r = B("ui-image"), $e(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || K(r, "src", n), K(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4261
+ t = B("div"), r = B("ui-image"), Ge(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || K(r, "src", n), K(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4239
4262
  (e[0] == "Closing" || /*status*/
4240
4263
  e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4241
4264
  (e[0] == "Closing" || /*status*/
4242
4265
  e[0] == "Closed" ? "CardImgFinished" : ""));
4243
4266
  },
4244
4267
  m(l, o) {
4245
- O(l, t, o), x(t, r), a || (u = ge(
4268
+ P(l, t, o), x(t, r), a || (u = be(
4246
4269
  /*matchStatus*/
4247
4270
  e[18].call(null, t)
4248
4271
  ), a = !0);
@@ -4257,15 +4280,15 @@ function Ri(e) {
4257
4280
  l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4258
4281
  },
4259
4282
  d(l) {
4260
- l && I(t), a = !1, u();
4283
+ l && w(t), a = !1, u();
4261
4284
  }
4262
4285
  };
4263
4286
  }
4264
- function Di(e) {
4287
+ function Ui(e) {
4265
4288
  let t, r, n, i, s, a, u;
4266
4289
  return {
4267
4290
  c() {
4268
- t = B("div"), r = B("ui-image"), K(r, "class", "UIImage"), $e(r.src, n = /*thumbnail*/
4291
+ t = B("div"), r = B("ui-image"), K(r, "class", "UIImage"), Ge(r.src, n = /*thumbnail*/
4269
4292
  e[4]) || K(r, "src", n), K(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4270
4293
  (e[0] == "Closing" || /*status*/
4271
4294
  e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
@@ -4273,14 +4296,14 @@ function Di(e) {
4273
4296
  e[0] == "Closed" ? "CardImgFinished" : ""));
4274
4297
  },
4275
4298
  m(l, o) {
4276
- O(l, t, o), x(t, r), a || (u = ge(
4299
+ P(l, t, o), x(t, r), a || (u = be(
4277
4300
  /*matchStatus*/
4278
4301
  e[18].call(null, t)
4279
4302
  ), a = !0);
4280
4303
  },
4281
4304
  p(l, o) {
4282
4305
  o[0] & /*thumbnail*/
4283
- 16 && !$e(r.src, n = /*thumbnail*/
4306
+ 16 && !Ge(r.src, n = /*thumbnail*/
4284
4307
  l[4]) && K(r, "src", n), o[0] & /*status*/
4285
4308
  1 && i !== (i = "CardImg " + /*status*/
4286
4309
  (l[0] == "Closing" || /*status*/
@@ -4290,21 +4313,21 @@ function Di(e) {
4290
4313
  l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4291
4314
  },
4292
4315
  d(l) {
4293
- l && I(t), a = !1, u();
4316
+ l && w(t), a = !1, u();
4294
4317
  }
4295
4318
  };
4296
4319
  }
4297
- function Nt(e) {
4320
+ function It(e) {
4298
4321
  let t, r, n, i, s;
4299
4322
  return {
4300
4323
  c() {
4301
- t = B("div"), r = L(
4324
+ t = B("div"), r = D(
4302
4325
  /*shownDate*/
4303
4326
  e[11]
4304
4327
  ), p(t, "class", "Date"), p(t, "part", "Date");
4305
4328
  },
4306
4329
  m(a, u) {
4307
- O(a, t, u), x(t, r), i || (s = ge(n = /*formatDate*/
4330
+ P(a, t, u), x(t, r), i || (s = be(n = /*formatDate*/
4308
4331
  e[17].call(
4309
4332
  null,
4310
4333
  t,
@@ -4314,11 +4337,11 @@ function Nt(e) {
4314
4337
  },
4315
4338
  p(a, u) {
4316
4339
  u[0] & /*shownDate*/
4317
- 2048 && $(
4340
+ 2048 && G(
4318
4341
  r,
4319
4342
  /*shownDate*/
4320
4343
  a[11]
4321
- ), n && be(n.update) && u[0] & /*startdate*/
4344
+ ), n && de(n.update) && u[0] & /*startdate*/
4322
4345
  4 && n.update.call(
4323
4346
  null,
4324
4347
  /*startdate*/
@@ -4326,198 +4349,182 @@ function Nt(e) {
4326
4349
  );
4327
4350
  },
4328
4351
  d(a) {
4329
- a && I(t), i = !1, s();
4352
+ a && w(t), i = !1, s();
4330
4353
  }
4331
4354
  };
4332
4355
  }
4333
- function Ot(e) {
4356
+ function Nt(e) {
4334
4357
  let t, r, n = (
4335
4358
  /*$_*/
4336
4359
  e[16]("scoreCriteria") + ""
4337
4360
  ), i, s, a, u, l, o = (
4338
4361
  /*$_*/
4339
4362
  e[16]("minbet") + ""
4340
- ), h, m, f, g, b, y, d, v = (
4363
+ ), h, m, c, g, b, y, d, v = (
4341
4364
  /*$_*/
4342
4365
  e[16]("seegames") + ""
4343
- ), P, N, A, H = (
4366
+ ), L, I, A, M = (
4344
4367
  /*$_*/
4345
4368
  e[16]("here") + ""
4346
- ), F, D, J, z;
4369
+ ), N, F, V, X;
4347
4370
  return {
4348
4371
  c() {
4349
- t = B("div"), r = B("p"), i = L(n), s = L(`:
4372
+ t = B("div"), r = B("p"), i = D(n), s = D(`:
4350
4373
 
4351
- `), a = B("span"), u = L(
4374
+ `), a = B("span"), u = D(
4352
4375
  /*showScoreCriteria*/
4353
4376
  e[14]
4354
- ), l = L(`
4355
- (`), h = L(o), m = j(), f = L(
4377
+ ), l = D(`
4378
+ (`), h = D(o), m = $(), c = D(
4356
4379
  /*minbetcount*/
4357
4380
  e[6]
4358
- ), g = L(")"), b = j(), y = B("div"), d = B("p"), P = L(v), N = j(), A = B("a"), F = L(H), p(a, "part", "ScoreCriteriaSpan"), p(r, "part", "ScoreCriteriaP"), p(t, "class", "ScoreCriteria"), p(t, "part", "ScoreCriteria"), p(A, "part", "GamesAnchor"), p(
4381
+ ), g = D(")"), b = $(), y = B("div"), d = B("p"), L = D(v), I = $(), A = B("a"), N = D(M), p(a, "part", "ScoreCriteriaSpan"), p(r, "part", "ScoreCriteriaP"), p(t, "class", "ScoreCriteria"), p(t, "part", "ScoreCriteria"), p(A, "part", "GamesAnchor"), p(
4359
4382
  A,
4360
4383
  "href",
4361
4384
  /*gameurl*/
4362
4385
  e[8]
4363
- ), p(A, "target", D = /*keepbrowsercontext*/
4386
+ ), p(A, "target", F = /*keepbrowsercontext*/
4364
4387
  e[9] === "true" ? "_self" : "_blank"), p(d, "part", "GamesP"), p(y, "class", "Games"), p(y, "part", "Games");
4365
4388
  },
4366
- m(C, R) {
4367
- O(C, t, R), x(t, r), x(r, i), x(r, s), x(r, a), x(a, u), x(r, l), x(r, h), x(r, m), x(r, f), x(r, g), O(C, b, R), O(C, y, R), x(y, d), x(d, P), x(d, N), x(d, A), x(A, F), J || (z = [
4368
- ge(
4389
+ m(H, O) {
4390
+ P(H, t, O), x(t, r), x(r, i), x(r, s), x(r, a), x(a, u), x(r, l), x(r, h), x(r, m), x(r, c), x(r, g), P(H, b, O), P(H, y, O), x(y, d), x(d, L), x(d, I), x(d, A), x(A, N), V || (X = [
4391
+ be(
4369
4392
  /*matchScoreCriteria*/
4370
4393
  e[19].call(null, a)
4371
4394
  ),
4372
- Hr(
4395
+ Ar(
4373
4396
  A,
4374
4397
  "click",
4375
4398
  /*click_handler*/
4376
- e[28]
4399
+ e[29]
4377
4400
  )
4378
- ], J = !0);
4401
+ ], V = !0);
4379
4402
  },
4380
- p(C, R) {
4381
- R[0] & /*$_*/
4403
+ p(H, O) {
4404
+ O[0] & /*$_*/
4382
4405
  65536 && n !== (n = /*$_*/
4383
- C[16]("scoreCriteria") + "") && $(i, n), R[0] & /*showScoreCriteria*/
4384
- 16384 && $(
4406
+ H[16]("scoreCriteria") + "") && G(i, n), O[0] & /*showScoreCriteria*/
4407
+ 16384 && G(
4385
4408
  u,
4386
4409
  /*showScoreCriteria*/
4387
- C[14]
4388
- ), R[0] & /*$_*/
4410
+ H[14]
4411
+ ), O[0] & /*$_*/
4389
4412
  65536 && o !== (o = /*$_*/
4390
- C[16]("minbet") + "") && $(h, o), R[0] & /*minbetcount*/
4391
- 64 && $(
4392
- f,
4413
+ H[16]("minbet") + "") && G(h, o), O[0] & /*minbetcount*/
4414
+ 64 && G(
4415
+ c,
4393
4416
  /*minbetcount*/
4394
- C[6]
4395
- ), R[0] & /*$_*/
4417
+ H[6]
4418
+ ), O[0] & /*$_*/
4396
4419
  65536 && v !== (v = /*$_*/
4397
- C[16]("seegames") + "") && $(P, v), R[0] & /*$_*/
4398
- 65536 && H !== (H = /*$_*/
4399
- C[16]("here") + "") && $(F, H), R[0] & /*gameurl*/
4420
+ H[16]("seegames") + "") && G(L, v), O[0] & /*$_*/
4421
+ 65536 && M !== (M = /*$_*/
4422
+ H[16]("here") + "") && G(N, M), O[0] & /*gameurl*/
4400
4423
  256 && p(
4401
4424
  A,
4402
4425
  "href",
4403
4426
  /*gameurl*/
4404
- C[8]
4405
- ), R[0] & /*keepbrowsercontext*/
4406
- 512 && D !== (D = /*keepbrowsercontext*/
4407
- C[9] === "true" ? "_self" : "_blank") && p(A, "target", D);
4427
+ H[8]
4428
+ ), O[0] & /*keepbrowsercontext*/
4429
+ 512 && F !== (F = /*keepbrowsercontext*/
4430
+ H[9] === "true" ? "_self" : "_blank") && p(A, "target", F);
4408
4431
  },
4409
- d(C) {
4410
- C && (I(t), I(b), I(y)), J = !1, se(z);
4432
+ d(H) {
4433
+ H && (w(t), w(b), w(y)), V = !1, se(X);
4411
4434
  }
4412
4435
  };
4413
4436
  }
4414
- function ki(e) {
4437
+ function Fi(e) {
4415
4438
  let t, r, n, i = (
4416
4439
  /*title*/
4417
- e[1] === "undefined" && Ht()
4440
+ e[1] === "undefined" && At()
4418
4441
  ), s = (
4419
4442
  /*title*/
4420
- e[1] !== "undefined" && Ct(e)
4443
+ e[1] !== "undefined" && Ht(e)
4421
4444
  );
4422
4445
  return {
4423
4446
  c() {
4424
- t = B("div"), i && i.c(), r = j(), s && s.c(), p(t, "class", n = `Thumbnail ${/*title*/
4447
+ t = B("div"), i && i.c(), r = $(), s && s.c(), p(t, "class", n = `Thumbnail ${/*title*/
4425
4448
  e[1] === "undefined" ? "Loading" : ""}`), p(t, "part", "Thumbnail");
4426
4449
  },
4427
4450
  m(a, u) {
4428
- O(a, t, u), i && i.m(t, null), x(t, r), s && s.m(t, null), e[29](t);
4451
+ P(a, t, u), i && i.m(t, null), x(t, r), s && s.m(t, null), e[30](t);
4429
4452
  },
4430
4453
  p(a, u) {
4431
4454
  /*title*/
4432
- a[1] === "undefined" ? i || (i = Ht(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4433
- a[1] !== "undefined" ? s ? s.p(a, u) : (s = Ct(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), u[0] & /*title*/
4455
+ a[1] === "undefined" ? i || (i = At(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4456
+ a[1] !== "undefined" ? s ? s.p(a, u) : (s = Ht(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), u[0] & /*title*/
4434
4457
  2 && n !== (n = `Thumbnail ${/*title*/
4435
4458
  a[1] === "undefined" ? "Loading" : ""}`) && p(t, "class", n);
4436
4459
  },
4437
4460
  i: U,
4438
4461
  o: U,
4439
4462
  d(a) {
4440
- a && I(t), i && i.d(), s && s.d(), e[29](null);
4463
+ a && w(t), i && i.d(), s && s.d(), e[30](null);
4441
4464
  }
4442
4465
  };
4443
4466
  }
4444
- function Ui(e, t, r) {
4467
+ function Gi(e, t, r) {
4445
4468
  let n;
4446
- vr(e, Oi, (c) => r(16, n = c));
4447
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: u = "" } = t, { status: l = "" } = t, { tourid: o = "" } = t, { thumbnail: h = "" } = t, { userenrolled: m = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: g = "" } = t, { showenrolled: b = "false" } = t, { gameurl: y = "" } = t, { lang: d = "en" } = t, { keepbrowsercontext: v = "false" } = t, { clientstyling: P = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: A = "" } = t, H, F = "", D = !1, J = "", z = "", C = "";
4448
- Pi({ withLocale: "en", translations: {} });
4449
- const R = () => {
4450
- fetch(A).then((c) => c.json()).then((c) => {
4451
- Object.keys(c).forEach((G) => {
4452
- Tt(G, c[G]);
4453
- }), u && Pe();
4454
- }).catch((c) => {
4455
- console.log(c);
4469
+ Er(e, Ni, (f) => r(16, n = f));
4470
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: u = "" } = t, { status: l = "" } = t, { tourid: o = "" } = t, { thumbnail: h = "" } = t, { userenrolled: m = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: g = "" } = t, { showenrolled: b = "false" } = t, { gameurl: y = "" } = t, { lang: d = "en" } = t, { keepbrowsercontext: v = "false" } = t, { clientstyling: L = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: A = "" } = t, { mbsource: M } = t, N, F = "", V = !1, X = "", H = "", O = "";
4471
+ Oi({ withLocale: "en", translations: {} });
4472
+ const ar = () => {
4473
+ fetch(A).then((f) => f.json()).then((f) => {
4474
+ Object.keys(f).forEach((J) => {
4475
+ St(J, f[J]);
4476
+ }), u && Oe();
4477
+ }).catch((f) => {
4478
+ console.log(f);
4456
4479
  });
4457
4480
  };
4458
- Object.keys(At).forEach((c) => {
4459
- Tt(c, At[c]);
4481
+ Object.keys(Tt).forEach((f) => {
4482
+ St(f, Tt[f]);
4460
4483
  });
4461
- const nt = (c) => {
4462
- c.data && (c.data && c.data.type == "SessionID" && r(12, D = !0), c.data.type == `TournamentStatus_${o}` && r(0, l = c.data.status));
4463
- }, Ie = () => {
4464
- const c = { month: "long" };
4465
- let G = new Date(u), le = new Intl.DateTimeFormat("en", c).format(G), cr = G.getDate(), mr = G.toLocaleString("en-GB", {
4484
+ const rt = (f) => {
4485
+ f.data && (f.data && f.data.type == "SessionID" && r(12, V = !0), f.data.type == `TournamentStatus_${o}` && r(0, l = f.data.status));
4486
+ }, we = () => {
4487
+ const f = { month: "long" };
4488
+ let J = new Date(u), hr = new Intl.DateTimeFormat("en", f).format(J), cr = J.getDate(), fr = J.toLocaleString("en-GB", {
4466
4489
  hour: "numeric",
4467
4490
  minute: "numeric",
4468
4491
  hour12: !1
4469
4492
  });
4470
- const dr = () => n(l === "Running" ? "startedAt" : "startingAt");
4471
- r(11, F = `${cr} ` + n(`${le}`) + ", " + dr() + ` ${mr}`);
4493
+ const mr = () => n(l === "Running" ? "startedAt" : "startingAt");
4494
+ r(11, F = `${cr} ` + n(`${hr}`) + ", " + mr() + ` ${fr}`);
4495
+ }, Ie = () => {
4496
+ l == "Unstarted" && (r(13, X = n("scheduled")), r(15, O = "StatusUnstarted")), l == "Running" && (r(13, X = n("ongoing")), r(15, O = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, X = n("finished")), l == "Closed" && r(15, O = "StatusClosed"), l == "Closing" && r(15, O = "StatusClosing");
4472
4497
  }, Ne = () => {
4473
- l == "Unstarted" && (r(13, J = n("scheduled")), r(15, C = "StatusUnstarted")), l == "Running" && (r(13, J = n("ongoing")), r(15, C = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, J = n("finished")), l == "Closed" && r(15, C = "StatusClosed"), l == "Closing" && r(15, C = "StatusClosing");
4474
- }, Oe = () => {
4475
- f == "BetCount" && r(14, z = n("betCount")), f == "MaxWinStakeRatio" && r(14, z = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(14, z = n("winStakeRatio")), f == "Stake" && r(14, z = n("stake"));
4476
- }, it = (c, G) => {
4477
- window.postMessage({ type: "tournamentGamesClicked", tourId: G }, window.location.href);
4498
+ c == "BetCount" && r(14, H = n("betCount")), c == "MaxWinStakeRatio" && r(14, H = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(14, H = n("winStakeRatio")), c == "Stake" && r(14, H = n("stake"));
4499
+ }, nt = (f, J) => {
4500
+ window.postMessage({ type: "tournamentGamesClicked", tourId: J }, window.location.href);
4478
4501
  }, or = () => {
4479
- i.length > 0 && i != "false" ? r(12, D = !0) : r(12, D = !1);
4480
- }, ur = () => {
4481
- let c = document.createElement("style");
4482
- c.innerHTML = P, H.appendChild(c);
4483
- }, lr = () => {
4484
- let c = new URL(N), G = document.createElement("style");
4485
- fetch(c.href).then((le) => le.text()).then((le) => {
4486
- G.innerHTML = le, setTimeout(
4487
- () => {
4488
- H.appendChild(G);
4489
- },
4490
- 1
4491
- ), setTimeout(
4492
- () => {
4493
- },
4494
- 500
4495
- );
4496
- });
4502
+ i.length > 0 && i != "false" ? r(12, V = !0) : r(12, V = !1);
4497
4503
  };
4498
- Ir(() => (setTimeout(() => Pe(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", nt, !1), () => {
4499
- window.removeEventListener("message", nt);
4504
+ wr(() => (setTimeout(() => Oe(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", rt, !1), () => {
4505
+ window.removeEventListener("message", rt);
4500
4506
  }));
4501
- const Pe = () => {
4502
- Mi(d), Oe(), Ne(), u && Ie();
4503
- }, hr = () => it();
4504
- function fr(c) {
4505
- je[c ? "unshift" : "push"](() => {
4506
- H = c, r(10, H);
4507
+ const Oe = () => {
4508
+ Pi(d), Ne(), Ie(), u && we();
4509
+ }, ur = () => nt();
4510
+ function lr(f) {
4511
+ $e[f ? "unshift" : "push"](() => {
4512
+ N = f, r(10, N);
4507
4513
  });
4508
4514
  }
4509
- return e.$$set = (c) => {
4510
- "session" in c && r(21, i = c.session), "userid" in c && r(22, s = c.userid), "title" in c && r(1, a = c.title), "startdate" in c && r(2, u = c.startdate), "status" in c && r(0, l = c.status), "tourid" in c && r(3, o = c.tourid), "thumbnail" in c && r(4, h = c.thumbnail), "userenrolled" in c && r(5, m = c.userenrolled), "scorecriteria" in c && r(23, f = c.scorecriteria), "minbetcount" in c && r(6, g = c.minbetcount), "showenrolled" in c && r(7, b = c.showenrolled), "gameurl" in c && r(8, y = c.gameurl), "lang" in c && r(24, d = c.lang), "keepbrowsercontext" in c && r(9, v = c.keepbrowsercontext), "clientstyling" in c && r(25, P = c.clientstyling), "clientstylingurl" in c && r(26, N = c.clientstylingurl), "translationurl" in c && r(27, A = c.translationurl);
4515
+ return e.$$set = (f) => {
4516
+ "session" in f && r(21, i = f.session), "userid" in f && r(22, s = f.userid), "title" in f && r(1, a = f.title), "startdate" in f && r(2, u = f.startdate), "status" in f && r(0, l = f.status), "tourid" in f && r(3, o = f.tourid), "thumbnail" in f && r(4, h = f.thumbnail), "userenrolled" in f && r(5, m = f.userenrolled), "scorecriteria" in f && r(23, c = f.scorecriteria), "minbetcount" in f && r(6, g = f.minbetcount), "showenrolled" in f && r(7, b = f.showenrolled), "gameurl" in f && r(8, y = f.gameurl), "lang" in f && r(24, d = f.lang), "keepbrowsercontext" in f && r(9, v = f.keepbrowsercontext), "clientstyling" in f && r(25, L = f.clientstyling), "clientstylingurl" in f && r(26, I = f.clientstylingurl), "translationurl" in f && r(27, A = f.translationurl), "mbsource" in f && r(28, M = f.mbsource);
4511
4517
  }, e.$$.update = () => {
4512
- e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4513
- 33555456 && H && P && ur(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4514
- 67109888 && H && N && lr(), e.$$.dirty[0] & /*translationurl*/
4515
- 134217728 && A && R(), e.$$.dirty[0] & /*session*/
4518
+ e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4519
+ 33555456 && L && N && Mi(N, L), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4520
+ 67109888 && I && N && Li(N, I), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4521
+ 268436480 && M && N && Ri(N, `${M}.Style`), e.$$.dirty[0] & /*translationurl*/
4522
+ 134217728 && A && ar(), e.$$.dirty[0] & /*session*/
4516
4523
  2097152 && i && or(), e.$$.dirty[0] & /*status*/
4517
- 1 && l && Ne(), e.$$.dirty[0] & /*title, lang*/
4518
- 16777218 && a && d && Pe(), e.$$.dirty[0] & /*startdate*/
4519
- 4 && u && Ie(), e.$$.dirty[0] & /*scorecriteria*/
4520
- 8388608 && f && Oe();
4524
+ 1 && l && Ie(), e.$$.dirty[0] & /*title, lang*/
4525
+ 16777218 && a && d && Oe(), e.$$.dirty[0] & /*startdate*/
4526
+ 4 && u && we(), e.$$.dirty[0] & /*scorecriteria*/
4527
+ 8388608 && c && Ne();
4521
4528
  }, [
4522
4529
  l,
4523
4530
  a,
@@ -4529,36 +4536,37 @@ function Ui(e, t, r) {
4529
4536
  b,
4530
4537
  y,
4531
4538
  v,
4532
- H,
4539
+ N,
4533
4540
  F,
4534
- D,
4535
- J,
4536
- z,
4537
- C,
4541
+ V,
4542
+ X,
4543
+ H,
4544
+ O,
4538
4545
  n,
4546
+ we,
4539
4547
  Ie,
4540
4548
  Ne,
4541
- Oe,
4542
- it,
4549
+ nt,
4543
4550
  i,
4544
4551
  s,
4545
- f,
4552
+ c,
4546
4553
  d,
4547
- P,
4548
- N,
4554
+ L,
4555
+ I,
4549
4556
  A,
4550
- hr,
4551
- fr
4557
+ M,
4558
+ ur,
4559
+ lr
4552
4560
  ];
4553
4561
  }
4554
- class Fi extends $r {
4562
+ class $i extends Gr {
4555
4563
  constructor(t) {
4556
- super(), Fr(
4564
+ super(), Ur(
4557
4565
  this,
4558
4566
  t,
4559
- Ui,
4560
- ki,
4561
- Mt,
4567
+ Gi,
4568
+ Fi,
4569
+ Pt,
4562
4570
  {
4563
4571
  session: 21,
4564
4572
  userid: 22,
@@ -4576,9 +4584,10 @@ class Fi extends $r {
4576
4584
  keepbrowsercontext: 9,
4577
4585
  clientstyling: 25,
4578
4586
  clientstylingurl: 26,
4579
- translationurl: 27
4587
+ translationurl: 27,
4588
+ mbsource: 28
4580
4589
  },
4581
- Li,
4590
+ Di,
4582
4591
  [-1, -1]
4583
4592
  );
4584
4593
  }
@@ -4586,106 +4595,112 @@ class Fi extends $r {
4586
4595
  return this.$$.ctx[21];
4587
4596
  }
4588
4597
  set session(t) {
4589
- this.$$set({ session: t }), w();
4598
+ this.$$set({ session: t }), C();
4590
4599
  }
4591
4600
  get userid() {
4592
4601
  return this.$$.ctx[22];
4593
4602
  }
4594
4603
  set userid(t) {
4595
- this.$$set({ userid: t }), w();
4604
+ this.$$set({ userid: t }), C();
4596
4605
  }
4597
4606
  get title() {
4598
4607
  return this.$$.ctx[1];
4599
4608
  }
4600
4609
  set title(t) {
4601
- this.$$set({ title: t }), w();
4610
+ this.$$set({ title: t }), C();
4602
4611
  }
4603
4612
  get startdate() {
4604
4613
  return this.$$.ctx[2];
4605
4614
  }
4606
4615
  set startdate(t) {
4607
- this.$$set({ startdate: t }), w();
4616
+ this.$$set({ startdate: t }), C();
4608
4617
  }
4609
4618
  get status() {
4610
4619
  return this.$$.ctx[0];
4611
4620
  }
4612
4621
  set status(t) {
4613
- this.$$set({ status: t }), w();
4622
+ this.$$set({ status: t }), C();
4614
4623
  }
4615
4624
  get tourid() {
4616
4625
  return this.$$.ctx[3];
4617
4626
  }
4618
4627
  set tourid(t) {
4619
- this.$$set({ tourid: t }), w();
4628
+ this.$$set({ tourid: t }), C();
4620
4629
  }
4621
4630
  get thumbnail() {
4622
4631
  return this.$$.ctx[4];
4623
4632
  }
4624
4633
  set thumbnail(t) {
4625
- this.$$set({ thumbnail: t }), w();
4634
+ this.$$set({ thumbnail: t }), C();
4626
4635
  }
4627
4636
  get userenrolled() {
4628
4637
  return this.$$.ctx[5];
4629
4638
  }
4630
4639
  set userenrolled(t) {
4631
- this.$$set({ userenrolled: t }), w();
4640
+ this.$$set({ userenrolled: t }), C();
4632
4641
  }
4633
4642
  get scorecriteria() {
4634
4643
  return this.$$.ctx[23];
4635
4644
  }
4636
4645
  set scorecriteria(t) {
4637
- this.$$set({ scorecriteria: t }), w();
4646
+ this.$$set({ scorecriteria: t }), C();
4638
4647
  }
4639
4648
  get minbetcount() {
4640
4649
  return this.$$.ctx[6];
4641
4650
  }
4642
4651
  set minbetcount(t) {
4643
- this.$$set({ minbetcount: t }), w();
4652
+ this.$$set({ minbetcount: t }), C();
4644
4653
  }
4645
4654
  get showenrolled() {
4646
4655
  return this.$$.ctx[7];
4647
4656
  }
4648
4657
  set showenrolled(t) {
4649
- this.$$set({ showenrolled: t }), w();
4658
+ this.$$set({ showenrolled: t }), C();
4650
4659
  }
4651
4660
  get gameurl() {
4652
4661
  return this.$$.ctx[8];
4653
4662
  }
4654
4663
  set gameurl(t) {
4655
- this.$$set({ gameurl: t }), w();
4664
+ this.$$set({ gameurl: t }), C();
4656
4665
  }
4657
4666
  get lang() {
4658
4667
  return this.$$.ctx[24];
4659
4668
  }
4660
4669
  set lang(t) {
4661
- this.$$set({ lang: t }), w();
4670
+ this.$$set({ lang: t }), C();
4662
4671
  }
4663
4672
  get keepbrowsercontext() {
4664
4673
  return this.$$.ctx[9];
4665
4674
  }
4666
4675
  set keepbrowsercontext(t) {
4667
- this.$$set({ keepbrowsercontext: t }), w();
4676
+ this.$$set({ keepbrowsercontext: t }), C();
4668
4677
  }
4669
4678
  get clientstyling() {
4670
4679
  return this.$$.ctx[25];
4671
4680
  }
4672
4681
  set clientstyling(t) {
4673
- this.$$set({ clientstyling: t }), w();
4682
+ this.$$set({ clientstyling: t }), C();
4674
4683
  }
4675
4684
  get clientstylingurl() {
4676
4685
  return this.$$.ctx[26];
4677
4686
  }
4678
4687
  set clientstylingurl(t) {
4679
- this.$$set({ clientstylingurl: t }), w();
4688
+ this.$$set({ clientstylingurl: t }), C();
4680
4689
  }
4681
4690
  get translationurl() {
4682
4691
  return this.$$.ctx[27];
4683
4692
  }
4684
4693
  set translationurl(t) {
4685
- this.$$set({ translationurl: t }), w();
4694
+ this.$$set({ translationurl: t }), C();
4695
+ }
4696
+ get mbsource() {
4697
+ return this.$$.ctx[28];
4698
+ }
4699
+ set mbsource(t) {
4700
+ this.$$set({ mbsource: t }), C();
4686
4701
  }
4687
4702
  }
4688
- Gr(Fi, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4703
+ Fr($i, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4689
4704
  export {
4690
- Fi as default
4705
+ $i as default
4691
4706
  };