@everymatrix/casino-tournaments-thumbnail-controller 1.74.6 → 1.74.8

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.
Files changed (21) hide show
  1. package/components/{CasinoTournamentsThumbnail-Fpn9STTw.js → CasinoTournamentsThumbnail-CNPgQvV0.js} +945 -906
  2. package/components/CasinoTournamentsThumbnail-CfBqkPCn.cjs +19 -0
  3. package/components/{CasinoTournamentsThumbnail-8tZUVwpW.js → CasinoTournamentsThumbnail-CnCLHIv_.js} +1075 -1036
  4. package/components/CasinoTournamentsThumbnailController-CQtJyHC1.cjs +3 -0
  5. package/components/{CasinoTournamentsThumbnailController-BdvLstu8.js → CasinoTournamentsThumbnailController-CZVPhqBH.js} +616 -627
  6. package/components/{CasinoTournamentsThumbnailController-_UnZLd20.js → CasinoTournamentsThumbnailController-Ct-VHs0N.js} +602 -571
  7. package/components/{CasinoTournamentsThumbnailDuration-QdA9AyQW.js → CasinoTournamentsThumbnailDuration-CS8jmM5s.js} +1 -1
  8. package/components/{CasinoTournamentsThumbnailDuration-D-S7Iwje.cjs → CasinoTournamentsThumbnailDuration-Kwk-wnvw.cjs} +1 -1
  9. package/components/{CasinoTournamentsThumbnailDuration-DYEIBge5.js → CasinoTournamentsThumbnailDuration-OpBrRPKX.js} +1 -1
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-B2HrXtpF.cjs → CasinoTournamentsThumbnailGamesSlider-BASDzqjf.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-BPAxOuRT.js → CasinoTournamentsThumbnailGamesSlider-BzUkX78G.js} +2 -2
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-BYsVs8RZ.js → CasinoTournamentsThumbnailGamesSlider-CDvugALy.js} +2 -2
  13. package/components/{CasinoTournamentsThumbnailPrizes-K8u53EX4.js → CasinoTournamentsThumbnailPrizes-2LDrpS8P.js} +1 -1
  14. package/components/{CasinoTournamentsThumbnailPrizes-ipmM8zIn.cjs → CasinoTournamentsThumbnailPrizes-CDP05-CJ.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailPrizes-BkMNU5um.js → CasinoTournamentsThumbnailPrizes-StP6a3CF.js} +1 -1
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoTournamentsThumbnail-BqmTEoM7.cjs +0 -19
  21. package/components/CasinoTournamentsThumbnailController-CjdKfspJ.cjs +0 -3
@@ -1,55 +1,55 @@
1
1
  import "../stencil/ui-skeleton-C73UqtBQ.js";
2
2
  import "../stencil/ui-image-CNrnXPP3.js";
3
- function k() {
3
+ function U() {
4
4
  }
5
- function Ct(e) {
5
+ function wt(e) {
6
6
  return e();
7
7
  }
8
- function nt() {
8
+ function it() {
9
9
  return /* @__PURE__ */ Object.create(null);
10
10
  }
11
- function ne(e) {
12
- e.forEach(Ct);
11
+ function V(e) {
12
+ e.forEach(wt);
13
13
  }
14
- function fe(e) {
14
+ function de(e) {
15
15
  return typeof e == "function";
16
16
  }
17
- function wt(e, t) {
17
+ function Bt(e, t) {
18
18
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
19
19
  }
20
- let de;
21
- function ke(e, t) {
22
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
20
+ let ge;
21
+ function Fe(e, t) {
22
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
23
23
  }
24
- function hr(e) {
24
+ function fr(e) {
25
25
  return Object.keys(e).length === 0;
26
26
  }
27
- function Bt(e, ...t) {
27
+ function It(e, ...t) {
28
28
  if (e == null) {
29
29
  for (const n of t)
30
30
  n(void 0);
31
- return k;
31
+ return U;
32
32
  }
33
33
  const r = e.subscribe(...t);
34
34
  return r.unsubscribe ? () => r.unsubscribe() : r;
35
35
  }
36
- function cr(e, t, r) {
37
- e.$$.on_destroy.push(Bt(t, r));
36
+ function mr(e, t, r) {
37
+ e.$$.on_destroy.push(It(t, r));
38
38
  }
39
- function me(e) {
40
- return e && fe(e.destroy) ? e.destroy : k;
39
+ function be(e) {
40
+ return e && de(e.destroy) ? e.destroy : U;
41
41
  }
42
- function S(e, t) {
42
+ function A(e, t) {
43
43
  e.appendChild(t);
44
44
  }
45
- function fr(e, t, r) {
46
- const n = mr(e);
45
+ function dr(e, t, r) {
46
+ const n = br(e);
47
47
  if (!n.getElementById(t)) {
48
- const i = A("style");
49
- i.id = t, i.textContent = r, dr(n, i);
48
+ const i = w("style");
49
+ i.id = t, i.textContent = r, gr(n, i);
50
50
  }
51
51
  }
52
- function mr(e) {
52
+ function br(e) {
53
53
  if (!e)
54
54
  return document;
55
55
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -59,8 +59,8 @@ function mr(e) {
59
59
  t
60
60
  ) : e.ownerDocument;
61
61
  }
62
- function dr(e, t) {
63
- return S(
62
+ function gr(e, t) {
63
+ return A(
64
64
  /** @type {Document} */
65
65
  e.head || e,
66
66
  t
@@ -69,17 +69,17 @@ function dr(e, t) {
69
69
  function O(e, t, r) {
70
70
  e.insertBefore(t, r || null);
71
71
  }
72
- function B(e) {
72
+ function I(e) {
73
73
  e.parentNode && e.parentNode.removeChild(e);
74
74
  }
75
- function Pi(e, t) {
75
+ function Ri(e, t) {
76
76
  for (let r = 0; r < e.length; r += 1)
77
77
  e[r] && e[r].d(t);
78
78
  }
79
- function A(e) {
79
+ function w(e) {
80
80
  return document.createElement(e);
81
81
  }
82
- function Li(e) {
82
+ function Di(e) {
83
83
  return document.createElementNS("http://www.w3.org/2000/svg", e);
84
84
  }
85
85
  function D(e) {
@@ -88,51 +88,51 @@ function D(e) {
88
88
  function G() {
89
89
  return D(" ");
90
90
  }
91
- function br() {
91
+ function pr() {
92
92
  return D("");
93
93
  }
94
- function Ue(e, t, r, n) {
94
+ function ee(e, t, r, n) {
95
95
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
96
96
  }
97
- function p(e, t, r) {
97
+ function b(e, t, r) {
98
98
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
99
99
  }
100
- function Q(e, t, r) {
100
+ function Y(e, t, r) {
101
101
  const n = t.toLowerCase();
102
- 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);
102
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
103
103
  }
104
- function gr(e) {
104
+ function yr(e) {
105
105
  return Array.from(e.childNodes);
106
106
  }
107
107
  function F(e, t) {
108
108
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
109
109
  t);
110
110
  }
111
- function Ri(e, t, r, n) {
111
+ function ki(e, t, r, n) {
112
112
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
113
113
  }
114
- let be;
115
- function pr() {
116
- if (be === void 0) {
117
- be = !1;
114
+ let pe;
115
+ function _r() {
116
+ if (pe === void 0) {
117
+ pe = !1;
118
118
  try {
119
119
  typeof window < "u" && window.parent && window.parent.document;
120
120
  } catch {
121
- be = !0;
121
+ pe = !0;
122
122
  }
123
123
  }
124
- return be;
124
+ return pe;
125
125
  }
126
- function Di(e, t) {
126
+ function Ui(e, t) {
127
127
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
128
- const n = A("iframe");
128
+ const n = w("iframe");
129
129
  n.setAttribute(
130
130
  "style",
131
131
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
132
132
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
133
- const i = pr();
133
+ const i = _r();
134
134
  let s;
135
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ue(
135
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = ee(
136
136
  window,
137
137
  "message",
138
138
  /** @param {MessageEvent} event */
@@ -140,15 +140,15 @@ function Di(e, t) {
140
140
  a.source === n.contentWindow && t();
141
141
  }
142
142
  )) : (n.src = "about:blank", n.onload = () => {
143
- s = Ue(n.contentWindow, "resize", t), t();
144
- }), S(e, n), () => {
145
- (i || s && n.contentWindow) && s(), B(n);
143
+ s = ee(n.contentWindow, "resize", t), t();
144
+ }), A(e, n), () => {
145
+ (i || s && n.contentWindow) && s(), I(n);
146
146
  };
147
147
  }
148
- function ki(e, t, r) {
148
+ function Fi(e, t, r) {
149
149
  e.classList.toggle(t, !!r);
150
150
  }
151
- function yr(e) {
151
+ function vr(e) {
152
152
  const t = {};
153
153
  return e.childNodes.forEach(
154
154
  /** @param {Element} node */
@@ -157,98 +157,98 @@ function yr(e) {
157
157
  }
158
158
  ), t;
159
159
  }
160
- let le;
161
- function ue(e) {
162
- le = e;
160
+ let ce;
161
+ function he(e) {
162
+ ce = e;
163
163
  }
164
- function _r() {
165
- if (!le)
164
+ function xr() {
165
+ if (!ce)
166
166
  throw new Error("Function called outside component initialization");
167
- return le;
167
+ return ce;
168
168
  }
169
- function vr(e) {
170
- _r().$$.on_mount.push(e);
171
- }
172
- const q = [], Fe = [];
173
- let Y = [];
174
- const it = [], xr = /* @__PURE__ */ Promise.resolve();
175
- let Ge = !1;
176
- function Er() {
177
- Ge || (Ge = !0, xr.then(w));
178
- }
179
- function $e(e) {
180
- Y.push(e);
181
- }
182
- const Ne = /* @__PURE__ */ new Set();
183
- let X = 0;
184
- function w() {
185
- if (X !== 0)
169
+ function Er(e) {
170
+ xr().$$.on_mount.push(e);
171
+ }
172
+ const Q = [], Ge = [];
173
+ let K = [];
174
+ const st = [], Sr = /* @__PURE__ */ Promise.resolve();
175
+ let $e = !1;
176
+ function Tr() {
177
+ $e || ($e = !0, Sr.then(C));
178
+ }
179
+ function je(e) {
180
+ K.push(e);
181
+ }
182
+ const Oe = /* @__PURE__ */ new Set();
183
+ let Z = 0;
184
+ function C() {
185
+ if (Z !== 0)
186
186
  return;
187
- const e = le;
187
+ const e = ce;
188
188
  do {
189
189
  try {
190
- for (; X < q.length; ) {
191
- const t = q[X];
192
- X++, ue(t), Sr(t.$$);
190
+ for (; Z < Q.length; ) {
191
+ const t = Q[Z];
192
+ Z++, he(t), Ar(t.$$);
193
193
  }
194
194
  } catch (t) {
195
- throw q.length = 0, X = 0, t;
195
+ throw Q.length = 0, Z = 0, t;
196
196
  }
197
- for (ue(null), q.length = 0, X = 0; Fe.length; )
198
- Fe.pop()();
199
- for (let t = 0; t < Y.length; t += 1) {
200
- const r = Y[t];
201
- Ne.has(r) || (Ne.add(r), r());
197
+ for (he(null), Q.length = 0, Z = 0; Ge.length; )
198
+ Ge.pop()();
199
+ for (let t = 0; t < K.length; t += 1) {
200
+ const r = K[t];
201
+ Oe.has(r) || (Oe.add(r), r());
202
202
  }
203
- Y.length = 0;
204
- } while (q.length);
205
- for (; it.length; )
206
- it.pop()();
207
- Ge = !1, Ne.clear(), ue(e);
203
+ K.length = 0;
204
+ } while (Q.length);
205
+ for (; st.length; )
206
+ st.pop()();
207
+ $e = !1, Oe.clear(), he(e);
208
208
  }
209
- function Sr(e) {
209
+ function Ar(e) {
210
210
  if (e.fragment !== null) {
211
- e.update(), ne(e.before_update);
211
+ e.update(), V(e.before_update);
212
212
  const t = e.dirty;
213
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
213
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
214
214
  }
215
215
  }
216
- function Tr(e) {
216
+ function Hr(e) {
217
217
  const t = [], r = [];
218
- Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
218
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
219
219
  }
220
- const Ar = /* @__PURE__ */ new Set();
221
- function Hr(e, t) {
222
- e && e.i && (Ar.delete(e), e.i(t));
220
+ const Cr = /* @__PURE__ */ new Set();
221
+ function wr(e, t) {
222
+ e && e.i && (Cr.delete(e), e.i(t));
223
223
  }
224
- function Ui(e) {
224
+ function Gi(e) {
225
225
  return e?.length !== void 0 ? e : Array.from(e);
226
226
  }
227
- function Cr(e, t, r) {
227
+ function Br(e, t, r) {
228
228
  const { fragment: n, after_update: i } = e.$$;
229
- n && n.m(t, r), $e(() => {
230
- const s = e.$$.on_mount.map(Ct).filter(fe);
231
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
232
- }), i.forEach($e);
229
+ n && n.m(t, r), je(() => {
230
+ const s = e.$$.on_mount.map(wt).filter(de);
231
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
232
+ }), i.forEach(je);
233
233
  }
234
- function wr(e, t) {
234
+ function Ir(e, t) {
235
235
  const r = e.$$;
236
- r.fragment !== null && (Tr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
236
+ r.fragment !== null && (Hr(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
237
237
  }
238
- function Br(e, t) {
239
- e.$$.dirty[0] === -1 && (q.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
+ function Nr(e, t) {
239
+ e.$$.dirty[0] === -1 && (Q.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
240
240
  }
241
- function Ir(e, t, r, n, i, s, a = null, o = [-1]) {
242
- const l = le;
243
- ue(e);
241
+ function Mr(e, t, r, n, i, s, a = null, o = [-1]) {
242
+ const l = ce;
243
+ he(e);
244
244
  const u = e.$$ = {
245
245
  fragment: null,
246
246
  ctx: [],
247
247
  // state
248
248
  props: s,
249
- update: k,
249
+ update: U,
250
250
  not_equal: i,
251
- bound: nt(),
251
+ bound: it(),
252
252
  // lifecycle
253
253
  on_mount: [],
254
254
  on_destroy: [],
@@ -257,28 +257,28 @@ function Ir(e, t, r, n, i, s, a = null, o = [-1]) {
257
257
  after_update: [],
258
258
  context: new Map(t.context || (l ? l.$$.context : [])),
259
259
  // everything else
260
- callbacks: nt(),
260
+ callbacks: it(),
261
261
  dirty: o,
262
262
  skip_bound: !1,
263
263
  root: t.target || l.$$.root
264
264
  };
265
265
  a && a(u.root);
266
266
  let h = !1;
267
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
268
- const b = g.length ? g[0] : c;
269
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Br(e, f)), c;
270
- }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
267
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...E) => {
268
+ const x = E.length ? E[0] : c;
269
+ return u.ctx && i(u.ctx[f], u.ctx[f] = x) && (!u.skip_bound && u.bound[f] && u.bound[f](x), h && Nr(e, f)), c;
270
+ }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
271
271
  if (t.hydrate) {
272
- const f = gr(t.target);
273
- u.fragment && u.fragment.l(f), f.forEach(B);
272
+ const f = yr(t.target);
273
+ u.fragment && u.fragment.l(f), f.forEach(I);
274
274
  } else
275
275
  u.fragment && u.fragment.c();
276
- t.intro && Hr(e.$$.fragment), Cr(e, t.target, t.anchor), w();
276
+ t.intro && wr(e.$$.fragment), Br(e, t.target, t.anchor), C();
277
277
  }
278
- ue(l);
278
+ he(l);
279
279
  }
280
- let It;
281
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
280
+ let Nt;
281
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
282
282
  /** The Svelte component constructor */
283
283
  $$ctor;
284
284
  /** Slots */
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
320
320
  let s;
321
321
  return {
322
322
  c: function() {
323
- s = A("slot"), i !== "default" && p(s, "name", i);
323
+ s = w("slot"), i !== "default" && b(s, "name", i);
324
324
  },
325
325
  /**
326
326
  * @param {HTMLElement} target
@@ -330,19 +330,19 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
330
330
  O(l, s, u);
331
331
  },
332
332
  d: function(l) {
333
- l && B(s);
333
+ l && I(s);
334
334
  }
335
335
  };
336
336
  };
337
337
  };
338
338
  if (await Promise.resolve(), !this.$$cn || this.$$c)
339
339
  return;
340
- const t = {}, r = yr(this);
340
+ const t = {}, r = vr(this);
341
341
  for (const i of this.$$s)
342
342
  i in r && (t[i] = [e(i)]);
343
343
  for (const i of this.attributes) {
344
344
  const s = this.$$g_p(i.name);
345
- s in this.$$d || (this.$$d[s] = pe(s, i.value, this.$$p_d, "toProp"));
345
+ s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
346
346
  }
347
347
  for (const i in this.$$p_d)
348
348
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -360,7 +360,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
360
360
  this.$$r = !0;
361
361
  for (const i in this.$$p_d)
362
362
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
363
- const s = pe(
363
+ const s = _e(
364
364
  i,
365
365
  this.$$d[i],
366
366
  this.$$p_d,
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
382
382
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
383
383
  // and setting attributes through setAttribute etc, this is helpful
384
384
  attributeChangedCallback(e, t, r) {
385
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
385
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
386
386
  }
387
387
  disconnectedCallback() {
388
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
395
395
  ) || e;
396
396
  }
397
397
  });
398
- function pe(e, t, r, n) {
398
+ function _e(e, t, r, n) {
399
399
  const i = r[e]?.type;
400
400
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
401
401
  return t;
@@ -424,8 +424,8 @@ function pe(e, t, r, n) {
424
424
  return t;
425
425
  }
426
426
  }
427
- function Nr(e, t, r, n, i, s) {
428
- let a = class extends It {
427
+ function Or(e, t, r, n, i, s) {
428
+ let a = class extends Nt {
429
429
  constructor() {
430
430
  super(e, r, i), this.$$p_d = t;
431
431
  }
@@ -441,7 +441,7 @@ function Nr(e, t, r, n, i, s) {
441
441
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
442
442
  },
443
443
  set(l) {
444
- l = pe(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
444
+ l = _e(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
445
445
  }
446
446
  });
447
447
  }), n.forEach((o) => {
@@ -453,7 +453,7 @@ function Nr(e, t, r, n, i, s) {
453
453
  }), e.element = /** @type {any} */
454
454
  a, a;
455
455
  }
456
- class Mr {
456
+ class Pr {
457
457
  /**
458
458
  * ### PRIVATE API
459
459
  *
@@ -472,7 +472,7 @@ class Mr {
472
472
  $$set = void 0;
473
473
  /** @returns {void} */
474
474
  $destroy() {
475
- wr(this, 1), this.$destroy = k;
475
+ Ir(this, 1), this.$destroy = U;
476
476
  }
477
477
  /**
478
478
  * @template {Extract<keyof Events, string>} K
@@ -481,8 +481,8 @@ class Mr {
481
481
  * @returns {() => void}
482
482
  */
483
483
  $on(t, r) {
484
- if (!fe(r))
485
- return k;
484
+ if (!de(r))
485
+ return U;
486
486
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
487
487
  return n.push(r), () => {
488
488
  const i = n.indexOf(r);
@@ -494,11 +494,11 @@ class Mr {
494
494
  * @returns {void}
495
495
  */
496
496
  $set(t) {
497
- this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
497
+ this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
498
498
  }
499
499
  }
500
- const Or = "4";
501
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
500
+ const Lr = "4";
501
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
502
502
  /*! *****************************************************************************
503
503
  Copyright (c) Microsoft Corporation.
504
504
 
@@ -513,34 +513,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
513
513
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
514
514
  PERFORMANCE OF THIS SOFTWARE.
515
515
  ***************************************************************************** */
516
- var je = function(e, t) {
517
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
516
+ var Ve = function(e, t) {
517
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
518
  r.__proto__ = n;
519
519
  } || function(r, n) {
520
520
  for (var i in n)
521
521
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
522
- }, je(e, t);
522
+ }, Ve(e, t);
523
523
  };
524
- function Ee(e, t) {
524
+ function Te(e, t) {
525
525
  if (typeof t != "function" && t !== null)
526
526
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
527
- je(e, t);
527
+ Ve(e, t);
528
528
  function r() {
529
529
  this.constructor = e;
530
530
  }
531
531
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
532
532
  }
533
- var x = function() {
534
- return x = Object.assign || function(t) {
533
+ var S = function() {
534
+ return S = Object.assign || function(t) {
535
535
  for (var r, n = 1, i = arguments.length; n < i; n++) {
536
536
  r = arguments[n];
537
537
  for (var s in r)
538
538
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
539
539
  }
540
540
  return t;
541
- }, x.apply(this, arguments);
541
+ }, S.apply(this, arguments);
542
542
  };
543
- function Pr(e, t) {
543
+ function Rr(e, t) {
544
544
  var r = {};
545
545
  for (var n in e)
546
546
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -549,7 +549,7 @@ function Pr(e, t) {
549
549
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
550
550
  return r;
551
551
  }
552
- function Fi(e) {
552
+ function $i(e) {
553
553
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
554
554
  if (r)
555
555
  return r.call(e);
@@ -561,7 +561,7 @@ function Fi(e) {
561
561
  };
562
562
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
563
563
  }
564
- function Gi(e, t) {
564
+ function ji(e, t) {
565
565
  var r = typeof Symbol == "function" && e[Symbol.iterator];
566
566
  if (!r)
567
567
  return e;
@@ -581,248 +581,248 @@ function Gi(e, t) {
581
581
  }
582
582
  return s;
583
583
  }
584
- function Me(e, t, r) {
584
+ function Pe(e, t, r) {
585
585
  if (r || arguments.length === 2)
586
586
  for (var n = 0, i = t.length, s; n < i; n++)
587
587
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
588
588
  return e.concat(s || t);
589
589
  }
590
- const Z = [];
591
- function Lr(e, t) {
590
+ const q = [];
591
+ function Dr(e, t) {
592
592
  return {
593
- subscribe: Se(e, t).subscribe
593
+ subscribe: Ae(e, t).subscribe
594
594
  };
595
595
  }
596
- function Se(e, t = k) {
596
+ function Ae(e, t = U) {
597
597
  let r;
598
598
  const n = /* @__PURE__ */ new Set();
599
599
  function i(o) {
600
- if (wt(e, o) && (e = o, r)) {
601
- const l = !Z.length;
600
+ if (Bt(e, o) && (e = o, r)) {
601
+ const l = !q.length;
602
602
  for (const u of n)
603
- u[1](), Z.push(u, e);
603
+ u[1](), q.push(u, e);
604
604
  if (l) {
605
- for (let u = 0; u < Z.length; u += 2)
606
- Z[u][0](Z[u + 1]);
607
- Z.length = 0;
605
+ for (let u = 0; u < q.length; u += 2)
606
+ q[u][0](q[u + 1]);
607
+ q.length = 0;
608
608
  }
609
609
  }
610
610
  }
611
611
  function s(o) {
612
612
  i(o(e));
613
613
  }
614
- function a(o, l = k) {
614
+ function a(o, l = U) {
615
615
  const u = [o, l];
616
- return n.add(u), n.size === 1 && (r = t(i, s) || k), o(e), () => {
616
+ return n.add(u), n.size === 1 && (r = t(i, s) || U), o(e), () => {
617
617
  n.delete(u), n.size === 0 && r && (r(), r = null);
618
618
  };
619
619
  }
620
620
  return { set: i, update: s, subscribe: a };
621
621
  }
622
- function ie(e, t, r) {
622
+ function se(e, t, r) {
623
623
  const n = !Array.isArray(e), i = n ? [e] : e;
624
624
  if (!i.every(Boolean))
625
625
  throw new Error("derived() expects stores as input, got a falsy value");
626
626
  const s = t.length < 2;
627
- return Lr(r, (a, o) => {
627
+ return Dr(r, (a, o) => {
628
628
  let l = !1;
629
629
  const u = [];
630
- let h = 0, f = k;
630
+ let h = 0, f = U;
631
631
  const c = () => {
632
632
  if (h)
633
633
  return;
634
634
  f();
635
- const b = t(n ? u[0] : u, a, o);
636
- s ? a(b) : f = fe(b) ? b : k;
637
- }, g = i.map(
638
- (b, y) => Bt(
639
- b,
640
- (d) => {
641
- u[y] = d, h &= ~(1 << y), l && c();
635
+ const x = t(n ? u[0] : u, a, o);
636
+ s ? a(x) : f = de(x) ? x : U;
637
+ }, E = i.map(
638
+ (x, g) => It(
639
+ x,
640
+ (y) => {
641
+ u[g] = y, h &= ~(1 << g), l && c();
642
642
  },
643
643
  () => {
644
- h |= 1 << y;
644
+ h |= 1 << g;
645
645
  }
646
646
  )
647
647
  );
648
648
  return l = !0, c(), function() {
649
- ne(g), f(), l = !1;
649
+ V(E), f(), l = !1;
650
650
  };
651
651
  });
652
652
  }
653
- function Rr(e) {
653
+ function kr(e) {
654
654
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
655
655
  }
656
- var Dr = function(t) {
657
- return kr(t) && !Ur(t);
656
+ var Ur = function(t) {
657
+ return Fr(t) && !Gr(t);
658
658
  };
659
- function kr(e) {
659
+ function Fr(e) {
660
660
  return !!e && typeof e == "object";
661
661
  }
662
- function Ur(e) {
662
+ function Gr(e) {
663
663
  var t = Object.prototype.toString.call(e);
664
- return t === "[object RegExp]" || t === "[object Date]" || $r(e);
664
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
665
665
  }
666
- var Fr = typeof Symbol == "function" && Symbol.for, Gr = Fr ? Symbol.for("react.element") : 60103;
667
- function $r(e) {
668
- return e.$$typeof === Gr;
666
+ var $r = typeof Symbol == "function" && Symbol.for, jr = $r ? Symbol.for("react.element") : 60103;
667
+ function Vr(e) {
668
+ return e.$$typeof === jr;
669
669
  }
670
- function jr(e) {
670
+ function zr(e) {
671
671
  return Array.isArray(e) ? [] : {};
672
672
  }
673
- function he(e, t) {
674
- return t.clone !== !1 && t.isMergeableObject(e) ? K(jr(e), e, t) : e;
673
+ function fe(e, t) {
674
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(zr(e), e, t) : e;
675
675
  }
676
- function Vr(e, t, r) {
676
+ function Jr(e, t, r) {
677
677
  return e.concat(t).map(function(n) {
678
- return he(n, r);
678
+ return fe(n, r);
679
679
  });
680
680
  }
681
- function zr(e, t) {
681
+ function Wr(e, t) {
682
682
  if (!t.customMerge)
683
- return K;
683
+ return te;
684
684
  var r = t.customMerge(e);
685
- return typeof r == "function" ? r : K;
685
+ return typeof r == "function" ? r : te;
686
686
  }
687
- function Jr(e) {
687
+ function Xr(e) {
688
688
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
689
689
  return Object.propertyIsEnumerable.call(e, t);
690
690
  }) : [];
691
691
  }
692
- function st(e) {
693
- return Object.keys(e).concat(Jr(e));
692
+ function at(e) {
693
+ return Object.keys(e).concat(Xr(e));
694
694
  }
695
- function Nt(e, t) {
695
+ function Mt(e, t) {
696
696
  try {
697
697
  return t in e;
698
698
  } catch {
699
699
  return !1;
700
700
  }
701
701
  }
702
- function Wr(e, t) {
703
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
702
+ function Zr(e, t) {
703
+ return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
704
704
  }
705
- function Xr(e, t, r) {
705
+ function qr(e, t, r) {
706
706
  var n = {};
707
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
708
- n[i] = he(e[i], r);
709
- }), st(t).forEach(function(i) {
710
- Wr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = zr(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
707
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
708
+ n[i] = fe(e[i], r);
709
+ }), at(t).forEach(function(i) {
710
+ Zr(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wr(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
711
711
  }), n;
712
712
  }
713
- function K(e, t, r) {
714
- r = r || {}, r.arrayMerge = r.arrayMerge || Vr, r.isMergeableObject = r.isMergeableObject || Dr, r.cloneUnlessOtherwiseSpecified = he;
713
+ function te(e, t, r) {
714
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = fe;
715
715
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
716
- return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : he(t, r);
716
+ return s ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : fe(t, r);
717
717
  }
718
- K.all = function(t, r) {
718
+ te.all = function(t, r) {
719
719
  if (!Array.isArray(t))
720
720
  throw new Error("first argument should be an array");
721
721
  return t.reduce(function(n, i) {
722
- return K(n, i, r);
722
+ return te(n, i, r);
723
723
  }, {});
724
724
  };
725
- var Zr = K, qr = Zr;
726
- const Qr = /* @__PURE__ */ Rr(qr);
727
- function Oe(e, t) {
728
- var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
725
+ var Qr = te, Yr = Qr;
726
+ const Kr = /* @__PURE__ */ kr(Yr);
727
+ function Le(e, t) {
728
+ var r = t && t.cache ? t.cache : an, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : tn;
729
729
  return i(e, {
730
730
  cache: r,
731
731
  serializer: n
732
732
  });
733
733
  }
734
- function Yr(e) {
734
+ function en(e) {
735
735
  return e == null || typeof e == "number" || typeof e == "boolean";
736
736
  }
737
- function Mt(e, t, r, n) {
738
- var i = Yr(n) ? n : r(n), s = t.get(i);
737
+ function Ot(e, t, r, n) {
738
+ var i = en(n) ? n : r(n), s = t.get(i);
739
739
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
740
740
  }
741
- function Ot(e, t, r) {
741
+ function Pt(e, t, r) {
742
742
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
743
743
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
744
744
  }
745
- function Ye(e, t, r, n, i) {
745
+ function Ke(e, t, r, n, i) {
746
746
  return r.bind(t, e, n, i);
747
747
  }
748
- function Kr(e, t) {
749
- var r = e.length === 1 ? Mt : Ot;
750
- return Ye(e, this, r, t.cache.create(), t.serializer);
748
+ function tn(e, t) {
749
+ var r = e.length === 1 ? Ot : Pt;
750
+ return Ke(e, this, r, t.cache.create(), t.serializer);
751
751
  }
752
- function en(e, t) {
753
- return Ye(e, this, Ot, t.cache.create(), t.serializer);
752
+ function rn(e, t) {
753
+ return Ke(e, this, Pt, t.cache.create(), t.serializer);
754
754
  }
755
- function tn(e, t) {
756
- return Ye(e, this, Mt, t.cache.create(), t.serializer);
755
+ function nn(e, t) {
756
+ return Ke(e, this, Ot, t.cache.create(), t.serializer);
757
757
  }
758
- var rn = function() {
758
+ var sn = function() {
759
759
  return JSON.stringify(arguments);
760
760
  };
761
- function Ke() {
761
+ function et() {
762
762
  this.cache = /* @__PURE__ */ Object.create(null);
763
763
  }
764
- Ke.prototype.get = function(e) {
764
+ et.prototype.get = function(e) {
765
765
  return this.cache[e];
766
766
  };
767
- Ke.prototype.set = function(e, t) {
767
+ et.prototype.set = function(e, t) {
768
768
  this.cache[e] = t;
769
769
  };
770
- var nn = {
770
+ var an = {
771
771
  create: function() {
772
- return new Ke();
772
+ return new et();
773
773
  }
774
- }, Pe = {
775
- variadic: en,
776
- monadic: tn
777
- }, _;
774
+ }, Re = {
775
+ variadic: rn,
776
+ monadic: nn
777
+ }, p;
778
778
  (function(e) {
779
779
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
780
- })(_ || (_ = {}));
781
- var T;
780
+ })(p || (p = {}));
781
+ var H;
782
782
  (function(e) {
783
783
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
784
- })(T || (T = {}));
785
- var ee;
784
+ })(H || (H = {}));
785
+ var re;
786
786
  (function(e) {
787
787
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
788
- })(ee || (ee = {}));
789
- function at(e) {
790
- return e.type === T.literal;
791
- }
792
- function sn(e) {
793
- return e.type === T.argument;
788
+ })(re || (re = {}));
789
+ function ot(e) {
790
+ return e.type === H.literal;
794
791
  }
795
- function Pt(e) {
796
- return e.type === T.number;
792
+ function on(e) {
793
+ return e.type === H.argument;
797
794
  }
798
795
  function Lt(e) {
799
- return e.type === T.date;
796
+ return e.type === H.number;
800
797
  }
801
798
  function Rt(e) {
802
- return e.type === T.time;
799
+ return e.type === H.date;
803
800
  }
804
801
  function Dt(e) {
805
- return e.type === T.select;
802
+ return e.type === H.time;
806
803
  }
807
804
  function kt(e) {
808
- return e.type === T.plural;
809
- }
810
- function an(e) {
811
- return e.type === T.pound;
805
+ return e.type === H.select;
812
806
  }
813
807
  function Ut(e) {
814
- return e.type === T.tag;
808
+ return e.type === H.plural;
809
+ }
810
+ function un(e) {
811
+ return e.type === H.pound;
815
812
  }
816
813
  function Ft(e) {
817
- return !!(e && typeof e == "object" && e.type === ee.number);
814
+ return e.type === H.tag;
818
815
  }
819
- function Ve(e) {
820
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
816
+ function Gt(e) {
817
+ return !!(e && typeof e == "object" && e.type === re.number);
821
818
  }
822
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
823
- function un(e) {
819
+ function ze(e) {
820
+ return !!(e && typeof e == "object" && e.type === re.dateTime);
821
+ }
822
+ var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ln = /(?:[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;
823
+ function hn(e) {
824
824
  var t = {};
825
- return e.replace(on, function(r) {
825
+ return e.replace(ln, function(r) {
826
826
  var n = r.length;
827
827
  switch (r[0]) {
828
828
  case "G":
@@ -911,11 +911,11 @@ function un(e) {
911
911
  return "";
912
912
  }), t;
913
913
  }
914
- var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
915
- function hn(e) {
914
+ var cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
915
+ function fn(e) {
916
916
  if (e.length === 0)
917
917
  throw new Error("Number skeleton cannot be empty");
918
- for (var t = e.split(ln).filter(function(c) {
918
+ for (var t = e.split(cn).filter(function(c) {
919
919
  return c.length > 0;
920
920
  }), r = [], n = 0, i = t; n < i.length; n++) {
921
921
  var s = i[n], a = s.split("/");
@@ -930,17 +930,17 @@ function hn(e) {
930
930
  }
931
931
  return r;
932
932
  }
933
- function cn(e) {
933
+ function mn(e) {
934
934
  return e.replace(/^(.*?)-/, "");
935
935
  }
936
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
937
- function ut(e) {
936
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
937
+ function lt(e) {
938
938
  var t = {};
939
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
939
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
940
940
  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)), "";
941
941
  }), t;
942
942
  }
943
- function Vt(e) {
943
+ function zt(e) {
944
944
  switch (e) {
945
945
  case "sign-auto":
946
946
  return {
@@ -980,7 +980,7 @@ function Vt(e) {
980
980
  };
981
981
  }
982
982
  }
983
- function mn(e) {
983
+ function bn(e) {
984
984
  var t;
985
985
  if (e[0] === "E" && e[1] === "E" ? (t = {
986
986
  notation: "engineering"
@@ -988,17 +988,17 @@ function mn(e) {
988
988
  notation: "scientific"
989
989
  }, e = e.slice(1)), t) {
990
990
  var r = e.slice(0, 2);
991
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
991
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
992
992
  throw new Error("Malformed concise eng/scientific notation");
993
993
  t.minimumIntegerDigits = e.length;
994
994
  }
995
995
  return t;
996
996
  }
997
- function lt(e) {
998
- var t = {}, r = Vt(e);
997
+ function ht(e) {
998
+ var t = {}, r = zt(e);
999
999
  return r || t;
1000
1000
  }
1001
- function dn(e) {
1001
+ function gn(e) {
1002
1002
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1003
1003
  var i = n[r];
1004
1004
  switch (i.stem) {
@@ -1022,7 +1022,7 @@ function dn(e) {
1022
1022
  continue;
1023
1023
  case "measure-unit":
1024
1024
  case "unit":
1025
- t.style = "unit", t.unit = cn(i.options[0]);
1025
+ t.style = "unit", t.unit = mn(i.options[0]);
1026
1026
  continue;
1027
1027
  case "compact-short":
1028
1028
  case "K":
@@ -1033,13 +1033,13 @@ function dn(e) {
1033
1033
  t.notation = "compact", t.compactDisplay = "long";
1034
1034
  continue;
1035
1035
  case "scientific":
1036
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1037
- return x(x({}, l), lt(u));
1036
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1037
+ return S(S({}, l), ht(u));
1038
1038
  }, {}));
1039
1039
  continue;
1040
1040
  case "engineering":
1041
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1042
- return x(x({}, l), lt(u));
1041
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1042
+ return S(S({}, l), ht(u));
1043
1043
  }, {}));
1044
1044
  continue;
1045
1045
  case "notation-simple":
@@ -1084,45 +1084,45 @@ function dn(e) {
1084
1084
  case "integer-width":
1085
1085
  if (i.options.length > 1)
1086
1086
  throw new RangeError("integer-width stems only accept a single optional option");
1087
- i.options[0].replace(fn, function(l, u, h, f, c, g) {
1087
+ i.options[0].replace(dn, function(l, u, h, f, c, E) {
1088
1088
  if (u)
1089
1089
  t.minimumIntegerDigits = h.length;
1090
1090
  else {
1091
1091
  if (f && c)
1092
1092
  throw new Error("We currently do not support maximum integer digits");
1093
- if (g)
1093
+ if (E)
1094
1094
  throw new Error("We currently do not support exact integer digits");
1095
1095
  }
1096
1096
  return "";
1097
1097
  });
1098
1098
  continue;
1099
1099
  }
1100
- if (jt.test(i.stem)) {
1100
+ if (Vt.test(i.stem)) {
1101
1101
  t.minimumIntegerDigits = i.stem.length;
1102
1102
  continue;
1103
1103
  }
1104
- if (ot.test(i.stem)) {
1104
+ if (ut.test(i.stem)) {
1105
1105
  if (i.options.length > 1)
1106
1106
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1107
- i.stem.replace(ot, function(l, u, h, f, c, g) {
1108
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1107
+ i.stem.replace(ut, function(l, u, h, f, c, E) {
1108
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && E ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1109
1109
  });
1110
1110
  var s = i.options[0];
1111
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ut(s)));
1111
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), lt(s)));
1112
1112
  continue;
1113
1113
  }
1114
- if ($t.test(i.stem)) {
1115
- t = x(x({}, t), ut(i.stem));
1114
+ if (jt.test(i.stem)) {
1115
+ t = S(S({}, t), lt(i.stem));
1116
1116
  continue;
1117
1117
  }
1118
- var a = Vt(i.stem);
1119
- a && (t = x(x({}, t), a));
1120
- var o = mn(i.stem);
1121
- o && (t = x(x({}, t), o));
1118
+ var a = zt(i.stem);
1119
+ a && (t = S(S({}, t), a));
1120
+ var o = bn(i.stem);
1121
+ o && (t = S(S({}, t), o));
1122
1122
  }
1123
1123
  return t;
1124
1124
  }
1125
- var ge = {
1125
+ var ye = {
1126
1126
  "001": [
1127
1127
  "H",
1128
1128
  "h"
@@ -2537,13 +2537,13 @@ var ge = {
2537
2537
  "h"
2538
2538
  ]
2539
2539
  };
2540
- function bn(e, t) {
2540
+ function pn(e, t) {
2541
2541
  for (var r = "", n = 0; n < e.length; n++) {
2542
2542
  var i = e.charAt(n);
2543
2543
  if (i === "j") {
2544
2544
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2545
2545
  s++, n++;
2546
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = gn(t);
2546
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = yn(t);
2547
2547
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2548
2548
  r += l;
2549
2549
  for (; a-- > 0; )
@@ -2553,7 +2553,7 @@ function bn(e, t) {
2553
2553
  }
2554
2554
  return r;
2555
2555
  }
2556
- function gn(e) {
2556
+ function yn(e) {
2557
2557
  var t = e.hourCycle;
2558
2558
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2559
2559
  e.hourCycles && // @ts-ignore
@@ -2572,23 +2572,23 @@ function gn(e) {
2572
2572
  }
2573
2573
  var r = e.language, n;
2574
2574
  r !== "root" && (n = e.maximize().region);
2575
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2575
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2576
2576
  return i[0];
2577
2577
  }
2578
- var Le, pn = new RegExp("^".concat(Gt.source, "*")), yn = new RegExp("".concat(Gt.source, "*$"));
2578
+ var De, _n = new RegExp("^".concat($t.source, "*")), vn = new RegExp("".concat($t.source, "*$"));
2579
2579
  function v(e, t) {
2580
2580
  return { start: e, end: t };
2581
2581
  }
2582
- var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), vn = !!String.fromCodePoint, xn = !!Object.fromEntries, En = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? Number.isSafeInteger : function(e) {
2582
+ var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, Sn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, wn = Cn ? Number.isSafeInteger : function(e) {
2583
2583
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2584
- }, ze = !0;
2584
+ }, Je = !0;
2585
2585
  try {
2586
- var Cn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
- ze = ((Le = Cn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2586
+ var Bn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
+ Je = ((De = Bn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2588
2588
  } catch {
2589
- ze = !1;
2589
+ Je = !1;
2590
2590
  }
2591
- var ht = _n ? (
2591
+ var ct = xn ? (
2592
2592
  // Native
2593
2593
  function(t, r, n) {
2594
2594
  return t.startsWith(r, n);
@@ -2598,7 +2598,7 @@ var ht = _n ? (
2598
2598
  function(t, r, n) {
2599
2599
  return t.slice(n, n + r.length) === r;
2600
2600
  }
2601
- ), Je = vn ? String.fromCodePoint : (
2601
+ ), We = En ? String.fromCodePoint : (
2602
2602
  // IE11
2603
2603
  function() {
2604
2604
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2610,9 +2610,9 @@ var ht = _n ? (
2610
2610
  }
2611
2611
  return n;
2612
2612
  }
2613
- ), ct = (
2613
+ ), ft = (
2614
2614
  // native
2615
- xn ? Object.fromEntries : (
2615
+ Sn ? Object.fromEntries : (
2616
2616
  // Ponyfill
2617
2617
  function(t) {
2618
2618
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2622,7 +2622,7 @@ var ht = _n ? (
2622
2622
  return r;
2623
2623
  }
2624
2624
  )
2625
- ), zt = En ? (
2625
+ ), Jt = Tn ? (
2626
2626
  // Native
2627
2627
  function(t, r) {
2628
2628
  return t.codePointAt(r);
@@ -2636,7 +2636,7 @@ var ht = _n ? (
2636
2636
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2637
2637
  }
2638
2638
  }
2639
- ), wn = Sn ? (
2639
+ ), In = An ? (
2640
2640
  // Native
2641
2641
  function(t) {
2642
2642
  return t.trimStart();
@@ -2644,9 +2644,9 @@ var ht = _n ? (
2644
2644
  ) : (
2645
2645
  // Ponyfill
2646
2646
  function(t) {
2647
- return t.replace(pn, "");
2647
+ return t.replace(_n, "");
2648
2648
  }
2649
- ), Bn = Tn ? (
2649
+ ), Nn = Hn ? (
2650
2650
  // Native
2651
2651
  function(t) {
2652
2652
  return t.trimEnd();
@@ -2654,32 +2654,32 @@ var ht = _n ? (
2654
2654
  ) : (
2655
2655
  // Ponyfill
2656
2656
  function(t) {
2657
- return t.replace(yn, "");
2657
+ return t.replace(vn, "");
2658
2658
  }
2659
2659
  );
2660
- function Jt(e, t) {
2660
+ function Wt(e, t) {
2661
2661
  return new RegExp(e, t);
2662
2662
  }
2663
- var We;
2664
- if (ze) {
2665
- var ft = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2666
- We = function(t, r) {
2663
+ var Xe;
2664
+ if (Je) {
2665
+ var mt = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2666
+ Xe = function(t, r) {
2667
2667
  var n;
2668
- ft.lastIndex = r;
2669
- var i = ft.exec(t);
2668
+ mt.lastIndex = r;
2669
+ var i = mt.exec(t);
2670
2670
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2671
2671
  };
2672
2672
  } else
2673
- We = function(t, r) {
2673
+ Xe = function(t, r) {
2674
2674
  for (var n = []; ; ) {
2675
- var i = zt(t, r);
2676
- if (i === void 0 || Wt(i) || On(i))
2675
+ var i = Jt(t, r);
2676
+ if (i === void 0 || Xt(i) || Ln(i))
2677
2677
  break;
2678
2678
  n.push(i), r += i >= 65536 ? 2 : 1;
2679
2679
  }
2680
- return Je.apply(void 0, n);
2680
+ return We.apply(void 0, n);
2681
2681
  };
2682
- var In = (
2682
+ var Mn = (
2683
2683
  /** @class */
2684
2684
  function() {
2685
2685
  function e(t, r) {
@@ -2703,14 +2703,14 @@ var In = (
2703
2703
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2704
2704
  var o = this.clonePosition();
2705
2705
  this.bump(), i.push({
2706
- type: T.pound,
2706
+ type: H.pound,
2707
2707
  location: v(o, this.clonePosition())
2708
2708
  });
2709
2709
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2710
2710
  if (n)
2711
2711
  break;
2712
- return this.error(_.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2713
- } else if (s === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
2712
+ return this.error(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2713
+ } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2714
2714
  var a = this.parseTag(t, r);
2715
2715
  if (a.err)
2716
2716
  return a;
@@ -2731,7 +2731,7 @@ var In = (
2731
2731
  if (this.bumpSpace(), this.bumpIf("/>"))
2732
2732
  return {
2733
2733
  val: {
2734
- type: T.literal,
2734
+ type: H.literal,
2735
2735
  value: "<".concat(i, "/>"),
2736
2736
  location: v(n, this.clonePosition())
2737
2737
  },
@@ -2743,25 +2743,25 @@ var In = (
2743
2743
  return s;
2744
2744
  var a = s.val, o = this.clonePosition();
2745
2745
  if (this.bumpIf("</")) {
2746
- if (this.isEOF() || !Xe(this.char()))
2747
- return this.error(_.INVALID_TAG, v(o, this.clonePosition()));
2746
+ if (this.isEOF() || !Ze(this.char()))
2747
+ return this.error(p.INVALID_TAG, v(o, this.clonePosition()));
2748
2748
  var l = this.clonePosition(), u = this.parseTagName();
2749
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2749
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2750
2750
  val: {
2751
- type: T.tag,
2751
+ type: H.tag,
2752
2752
  value: i,
2753
2753
  children: a,
2754
2754
  location: v(n, this.clonePosition())
2755
2755
  },
2756
2756
  err: null
2757
- } : this.error(_.INVALID_TAG, v(o, this.clonePosition())));
2757
+ } : this.error(p.INVALID_TAG, v(o, this.clonePosition())));
2758
2758
  } else
2759
- return this.error(_.UNCLOSED_TAG, v(n, this.clonePosition()));
2759
+ return this.error(p.UNCLOSED_TAG, v(n, this.clonePosition()));
2760
2760
  } else
2761
- return this.error(_.INVALID_TAG, v(n, this.clonePosition()));
2761
+ return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2762
2762
  }, e.prototype.parseTagName = function() {
2763
2763
  var t = this.offset();
2764
- for (this.bump(); !this.isEOF() && Mn(this.char()); )
2764
+ for (this.bump(); !this.isEOF() && Pn(this.char()); )
2765
2765
  this.bump();
2766
2766
  return this.message.slice(t, this.offset());
2767
2767
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2785,12 +2785,12 @@ var In = (
2785
2785
  }
2786
2786
  var l = v(n, this.clonePosition());
2787
2787
  return {
2788
- val: { type: T.literal, value: i, location: l },
2788
+ val: { type: H.literal, value: i, location: l },
2789
2789
  err: null
2790
2790
  };
2791
2791
  }, e.prototype.tryParseLeftAngleBracket = function() {
2792
2792
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2793
- !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2793
+ !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2794
2794
  }, e.prototype.tryParseQuote = function(t) {
2795
2795
  if (this.isEOF() || this.char() !== 39)
2796
2796
  return null;
@@ -2824,28 +2824,28 @@ var In = (
2824
2824
  r.push(n);
2825
2825
  this.bump();
2826
2826
  }
2827
- return Je.apply(void 0, r);
2827
+ return We.apply(void 0, r);
2828
2828
  }, e.prototype.tryParseUnquoted = function(t, r) {
2829
2829
  if (this.isEOF())
2830
2830
  return null;
2831
2831
  var n = this.char();
2832
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
2832
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2833
2833
  }, e.prototype.parseArgument = function(t, r) {
2834
2834
  var n = this.clonePosition();
2835
2835
  if (this.bump(), this.bumpSpace(), this.isEOF())
2836
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2836
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2837
2837
  if (this.char() === 125)
2838
- return this.bump(), this.error(_.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2838
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2839
2839
  var i = this.parseIdentifierIfPossible().value;
2840
2840
  if (!i)
2841
- return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2841
+ return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2842
2842
  if (this.bumpSpace(), this.isEOF())
2843
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2843
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2844
2844
  switch (this.char()) {
2845
2845
  case 125:
2846
2846
  return this.bump(), {
2847
2847
  val: {
2848
- type: T.argument,
2848
+ type: H.argument,
2849
2849
  // value does not include the opening and closing braces.
2850
2850
  value: i,
2851
2851
  location: v(n, this.clonePosition())
@@ -2853,12 +2853,12 @@ var In = (
2853
2853
  err: null
2854
2854
  };
2855
2855
  case 44:
2856
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2856
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2857
2857
  default:
2858
- return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2858
+ return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2859
2859
  }
2860
2860
  }, e.prototype.parseIdentifierIfPossible = function() {
2861
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
2861
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2862
2862
  this.bumpTo(i);
2863
2863
  var s = this.clonePosition(), a = v(t, s);
2864
2864
  return { value: n, location: a };
@@ -2866,7 +2866,7 @@ var In = (
2866
2866
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2867
2867
  switch (o) {
2868
2868
  case "":
2869
- return this.error(_.EXPECT_ARGUMENT_TYPE, v(a, l));
2869
+ return this.error(p.EXPECT_ARGUMENT_TYPE, v(a, l));
2870
2870
  case "number":
2871
2871
  case "date":
2872
2872
  case "time": {
@@ -2877,46 +2877,46 @@ var In = (
2877
2877
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2878
2878
  if (f.err)
2879
2879
  return f;
2880
- var c = Bn(f.val);
2880
+ var c = Nn(f.val);
2881
2881
  if (c.length === 0)
2882
- return this.error(_.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2883
- var g = v(h, this.clonePosition());
2884
- u = { style: c, styleLocation: g };
2882
+ return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2883
+ var E = v(h, this.clonePosition());
2884
+ u = { style: c, styleLocation: E };
2885
2885
  }
2886
- var b = this.tryParseArgumentClose(i);
2887
- if (b.err)
2888
- return b;
2889
- var y = v(i, this.clonePosition());
2890
- if (u && ht(u?.style, "::", 0)) {
2891
- var d = wn(u.style.slice(2));
2886
+ var x = this.tryParseArgumentClose(i);
2887
+ if (x.err)
2888
+ return x;
2889
+ var g = v(i, this.clonePosition());
2890
+ if (u && ct(u?.style, "::", 0)) {
2891
+ var y = In(u.style.slice(2));
2892
2892
  if (o === "number") {
2893
- var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
2893
+ var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
2894
2894
  return f.err ? f : {
2895
- val: { type: T.number, value: n, location: y, style: f.val },
2895
+ val: { type: H.number, value: n, location: g, style: f.val },
2896
2896
  err: null
2897
2897
  };
2898
2898
  } else {
2899
- if (d.length === 0)
2900
- return this.error(_.EXPECT_DATE_TIME_SKELETON, y);
2901
- var E = d;
2902
- this.locale && (E = bn(d, this.locale));
2899
+ if (y.length === 0)
2900
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2901
+ var T = y;
2902
+ this.locale && (T = pn(y, this.locale));
2903
2903
  var c = {
2904
- type: ee.dateTime,
2905
- pattern: E,
2904
+ type: re.dateTime,
2905
+ pattern: T,
2906
2906
  location: u.styleLocation,
2907
- parsedOptions: this.shouldParseSkeletons ? un(E) : {}
2908
- }, L = o === "date" ? T.date : T.time;
2907
+ parsedOptions: this.shouldParseSkeletons ? hn(T) : {}
2908
+ }, d = o === "date" ? H.date : H.time;
2909
2909
  return {
2910
- val: { type: L, value: n, location: y, style: c },
2910
+ val: { type: d, value: n, location: g, style: c },
2911
2911
  err: null
2912
2912
  };
2913
2913
  }
2914
2914
  }
2915
2915
  return {
2916
2916
  val: {
2917
- type: o === "number" ? T.number : o === "date" ? T.date : T.time,
2917
+ type: o === "number" ? H.number : o === "date" ? H.date : H.time,
2918
2918
  value: n,
2919
- location: y,
2919
+ location: g,
2920
2920
  style: (s = u?.style) !== null && s !== void 0 ? s : null
2921
2921
  },
2922
2922
  err: null
@@ -2925,52 +2925,52 @@ var In = (
2925
2925
  case "plural":
2926
2926
  case "selectordinal":
2927
2927
  case "select": {
2928
- var I = this.clonePosition();
2928
+ var _ = this.clonePosition();
2929
2929
  if (this.bumpSpace(), !this.bumpIf(","))
2930
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, v(I, x({}, I)));
2930
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, S({}, _)));
2931
2931
  this.bumpSpace();
2932
- var H = this.parseIdentifierIfPossible(), P = 0;
2933
- if (o !== "select" && H.value === "offset") {
2932
+ var B = this.parseIdentifierIfPossible(), P = 0;
2933
+ if (o !== "select" && B.value === "offset") {
2934
2934
  if (!this.bumpIf(":"))
2935
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2935
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2936
2936
  this.bumpSpace();
2937
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2937
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2938
2938
  if (f.err)
2939
2939
  return f;
2940
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), P = f.val;
2940
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), P = f.val;
2941
2941
  }
2942
- var N = this.tryParsePluralOrSelectOptions(t, o, r, H);
2943
- if (N.err)
2944
- return N;
2945
- var b = this.tryParseArgumentClose(i);
2946
- if (b.err)
2947
- return b;
2948
- var U = v(i, this.clonePosition());
2942
+ var k = this.tryParsePluralOrSelectOptions(t, o, r, B);
2943
+ if (k.err)
2944
+ return k;
2945
+ var x = this.tryParseArgumentClose(i);
2946
+ if (x.err)
2947
+ return x;
2948
+ var L = v(i, this.clonePosition());
2949
2949
  return o === "select" ? {
2950
2950
  val: {
2951
- type: T.select,
2951
+ type: H.select,
2952
2952
  value: n,
2953
- options: ct(N.val),
2954
- location: U
2953
+ options: ft(k.val),
2954
+ location: L
2955
2955
  },
2956
2956
  err: null
2957
2957
  } : {
2958
2958
  val: {
2959
- type: T.plural,
2959
+ type: H.plural,
2960
2960
  value: n,
2961
- options: ct(N.val),
2961
+ options: ft(k.val),
2962
2962
  offset: P,
2963
2963
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2964
- location: U
2964
+ location: L
2965
2965
  },
2966
2966
  err: null
2967
2967
  };
2968
2968
  }
2969
2969
  default:
2970
- return this.error(_.INVALID_ARGUMENT_TYPE, v(a, l));
2970
+ return this.error(p.INVALID_ARGUMENT_TYPE, v(a, l));
2971
2971
  }
2972
2972
  }, e.prototype.tryParseArgumentClose = function(t) {
2973
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2973
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2974
2974
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2975
2975
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2976
2976
  var n = this.char();
@@ -2979,7 +2979,7 @@ var In = (
2979
2979
  this.bump();
2980
2980
  var i = this.clonePosition();
2981
2981
  if (!this.bumpUntil("'"))
2982
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2982
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2983
2983
  this.bump();
2984
2984
  break;
2985
2985
  }
@@ -3009,16 +3009,16 @@ var In = (
3009
3009
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3010
3010
  var n = [];
3011
3011
  try {
3012
- n = hn(t);
3012
+ n = fn(t);
3013
3013
  } catch {
3014
- return this.error(_.INVALID_NUMBER_SKELETON, r);
3014
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
3015
3015
  }
3016
3016
  return {
3017
3017
  val: {
3018
- type: ee.number,
3018
+ type: re.number,
3019
3019
  tokens: n,
3020
3020
  location: r,
3021
- parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3021
+ parsedOptions: this.shouldParseSkeletons ? gn(n) : {}
3022
3022
  },
3023
3023
  err: null
3024
3024
  };
@@ -3027,7 +3027,7 @@ var In = (
3027
3027
  if (u.length === 0) {
3028
3028
  var f = this.clonePosition();
3029
3029
  if (r !== "select" && this.bumpIf("=")) {
3030
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3030
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3031
3031
  if (c.err)
3032
3032
  return c;
3033
3033
  h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
@@ -3035,26 +3035,26 @@ var In = (
3035
3035
  break;
3036
3036
  }
3037
3037
  if (l.has(u))
3038
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3038
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3039
3039
  u === "other" && (a = !0), this.bumpSpace();
3040
- var g = this.clonePosition();
3040
+ var E = this.clonePosition();
3041
3041
  if (!this.bumpIf("{"))
3042
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3043
- var b = this.parseMessage(t + 1, r, n);
3044
- if (b.err)
3045
- return b;
3046
- var y = this.tryParseArgumentClose(g);
3047
- if (y.err)
3048
- return y;
3042
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3043
+ var x = this.parseMessage(t + 1, r, n);
3044
+ if (x.err)
3045
+ return x;
3046
+ var g = this.tryParseArgumentClose(E);
3047
+ if (g.err)
3048
+ return g;
3049
3049
  o.push([
3050
3050
  u,
3051
3051
  {
3052
- value: b.val,
3053
- location: v(g, this.clonePosition())
3052
+ value: x.val,
3053
+ location: v(E, this.clonePosition())
3054
3054
  }
3055
3055
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3056
3056
  }
3057
- return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3057
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3058
3058
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3059
3059
  var n = 1, i = this.clonePosition();
3060
3060
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3066,7 +3066,7 @@ var In = (
3066
3066
  break;
3067
3067
  }
3068
3068
  var l = v(i, this.clonePosition());
3069
- return s ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3069
+ return s ? (a *= n, wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3070
3070
  }, e.prototype.offset = function() {
3071
3071
  return this.position.offset;
3072
3072
  }, e.prototype.isEOF = function() {
@@ -3081,7 +3081,7 @@ var In = (
3081
3081
  var t = this.position.offset;
3082
3082
  if (t >= this.message.length)
3083
3083
  throw Error("out of bound");
3084
- var r = zt(this.message, t);
3084
+ var r = Jt(this.message, t);
3085
3085
  if (r === void 0)
3086
3086
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3087
3087
  return r;
@@ -3100,7 +3100,7 @@ var In = (
3100
3100
  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);
3101
3101
  }
3102
3102
  }, e.prototype.bumpIf = function(t) {
3103
- if (ht(this.message, t, this.offset())) {
3103
+ if (ct(this.message, t, this.offset())) {
3104
3104
  for (var r = 0; r < t.length; r++)
3105
3105
  this.bump();
3106
3106
  return !0;
@@ -3122,7 +3122,7 @@ var In = (
3122
3122
  break;
3123
3123
  }
3124
3124
  }, e.prototype.bumpSpace = function() {
3125
- for (; !this.isEOF() && Wt(this.char()); )
3125
+ for (; !this.isEOF() && Xt(this.char()); )
3126
3126
  this.bump();
3127
3127
  }, e.prototype.peek = function() {
3128
3128
  if (this.isEOF())
@@ -3132,47 +3132,47 @@ var In = (
3132
3132
  }, e;
3133
3133
  }()
3134
3134
  );
3135
- function Xe(e) {
3135
+ function Ze(e) {
3136
3136
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3137
3137
  }
3138
- function Nn(e) {
3139
- return Xe(e) || e === 47;
3138
+ function On(e) {
3139
+ return Ze(e) || e === 47;
3140
3140
  }
3141
- function Mn(e) {
3141
+ function Pn(e) {
3142
3142
  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;
3143
3143
  }
3144
- function Wt(e) {
3144
+ function Xt(e) {
3145
3145
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3146
3146
  }
3147
- function On(e) {
3147
+ function Ln(e) {
3148
3148
  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;
3149
3149
  }
3150
- function Ze(e) {
3150
+ function qe(e) {
3151
3151
  e.forEach(function(t) {
3152
- if (delete t.location, Dt(t) || kt(t))
3152
+ if (delete t.location, kt(t) || Ut(t))
3153
3153
  for (var r in t.options)
3154
- delete t.options[r].location, Ze(t.options[r].value);
3154
+ delete t.options[r].location, qe(t.options[r].value);
3155
3155
  else
3156
- Pt(t) && Ft(t.style) || (Lt(t) || Rt(t)) && Ve(t.style) ? delete t.style.location : Ut(t) && Ze(t.children);
3156
+ Lt(t) && Gt(t.style) || (Rt(t) || Dt(t)) && ze(t.style) ? delete t.style.location : Ft(t) && qe(t.children);
3157
3157
  });
3158
3158
  }
3159
- function Pn(e, t) {
3160
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3161
- var r = new In(e, t).parse();
3159
+ function Rn(e, t) {
3160
+ t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3161
+ var r = new Mn(e, t).parse();
3162
3162
  if (r.err) {
3163
- var n = SyntaxError(_[r.err.kind]);
3163
+ var n = SyntaxError(p[r.err.kind]);
3164
3164
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3165
3165
  }
3166
- return t?.captureLocation || Ze(r.val), r.val;
3166
+ return t?.captureLocation || qe(r.val), r.val;
3167
3167
  }
3168
- var te;
3168
+ var ne;
3169
3169
  (function(e) {
3170
3170
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3171
- })(te || (te = {}));
3172
- var Te = (
3171
+ })(ne || (ne = {}));
3172
+ var He = (
3173
3173
  /** @class */
3174
3174
  function(e) {
3175
- Ee(t, e);
3175
+ Te(t, e);
3176
3176
  function t(r, n, i) {
3177
3177
  var s = e.call(this, r) || this;
3178
3178
  return s.code = n, s.originalMessage = i, s;
@@ -3181,48 +3181,48 @@ var Te = (
3181
3181
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3182
3182
  }, t;
3183
3183
  }(Error)
3184
- ), mt = (
3184
+ ), dt = (
3185
3185
  /** @class */
3186
3186
  function(e) {
3187
- Ee(t, e);
3187
+ Te(t, e);
3188
3188
  function t(r, n, i, s) {
3189
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3189
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
3190
3190
  }
3191
3191
  return t;
3192
- }(Te)
3193
- ), Ln = (
3192
+ }(He)
3193
+ ), Dn = (
3194
3194
  /** @class */
3195
3195
  function(e) {
3196
- Ee(t, e);
3196
+ Te(t, e);
3197
3197
  function t(r, n, i) {
3198
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3198
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3199
3199
  }
3200
3200
  return t;
3201
- }(Te)
3202
- ), Rn = (
3201
+ }(He)
3202
+ ), kn = (
3203
3203
  /** @class */
3204
3204
  function(e) {
3205
- Ee(t, e);
3205
+ Te(t, e);
3206
3206
  function t(r, n) {
3207
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3207
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3208
3208
  }
3209
3209
  return t;
3210
- }(Te)
3210
+ }(He)
3211
3211
  ), R;
3212
3212
  (function(e) {
3213
3213
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3214
3214
  })(R || (R = {}));
3215
- function Dn(e) {
3215
+ function Un(e) {
3216
3216
  return e.length < 2 ? e : e.reduce(function(t, r) {
3217
3217
  var n = t[t.length - 1];
3218
3218
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3219
3219
  }, []);
3220
3220
  }
3221
- function kn(e) {
3221
+ function Fn(e) {
3222
3222
  return typeof e == "function";
3223
3223
  }
3224
- function ye(e, t, r, n, i, s, a) {
3225
- if (e.length === 1 && at(e[0]))
3224
+ function ve(e, t, r, n, i, s, a) {
3225
+ if (e.length === 1 && ot(e[0]))
3226
3226
  return [
3227
3227
  {
3228
3228
  type: R.literal,
@@ -3231,14 +3231,14 @@ function ye(e, t, r, n, i, s, a) {
3231
3231
  ];
3232
3232
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3233
3233
  var h = u[l];
3234
- if (at(h)) {
3234
+ if (ot(h)) {
3235
3235
  o.push({
3236
3236
  type: R.literal,
3237
3237
  value: h.value
3238
3238
  });
3239
3239
  continue;
3240
3240
  }
3241
- if (an(h)) {
3241
+ if (un(h)) {
3242
3242
  typeof s == "number" && o.push({
3243
3243
  type: R.literal,
3244
3244
  value: r.getNumberFormat(t).format(s)
@@ -3247,89 +3247,89 @@ function ye(e, t, r, n, i, s, a) {
3247
3247
  }
3248
3248
  var f = h.value;
3249
3249
  if (!(i && f in i))
3250
- throw new Rn(f, a);
3250
+ throw new kn(f, a);
3251
3251
  var c = i[f];
3252
- if (sn(h)) {
3252
+ if (on(h)) {
3253
3253
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3254
3254
  type: typeof c == "string" ? R.literal : R.object,
3255
3255
  value: c
3256
3256
  });
3257
3257
  continue;
3258
3258
  }
3259
- if (Lt(h)) {
3260
- var g = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3259
+ if (Rt(h)) {
3260
+ var E = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3261
3261
  o.push({
3262
3262
  type: R.literal,
3263
- value: r.getDateTimeFormat(t, g).format(c)
3263
+ value: r.getDateTimeFormat(t, E).format(c)
3264
3264
  });
3265
3265
  continue;
3266
3266
  }
3267
- if (Rt(h)) {
3268
- var g = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3267
+ if (Dt(h)) {
3268
+ var E = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3269
3269
  o.push({
3270
3270
  type: R.literal,
3271
- value: r.getDateTimeFormat(t, g).format(c)
3271
+ value: r.getDateTimeFormat(t, E).format(c)
3272
3272
  });
3273
3273
  continue;
3274
3274
  }
3275
- if (Pt(h)) {
3276
- var g = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3277
- g && g.scale && (c = c * (g.scale || 1)), o.push({
3275
+ if (Lt(h)) {
3276
+ var E = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3277
+ E && E.scale && (c = c * (E.scale || 1)), o.push({
3278
3278
  type: R.literal,
3279
- value: r.getNumberFormat(t, g).format(c)
3279
+ value: r.getNumberFormat(t, E).format(c)
3280
3280
  });
3281
3281
  continue;
3282
3282
  }
3283
- if (Ut(h)) {
3284
- var b = h.children, y = h.value, d = i[y];
3285
- if (!kn(d))
3286
- throw new Ln(y, "function", a);
3287
- var E = ye(b, t, r, n, i, s), L = d(E.map(function(P) {
3283
+ if (Ft(h)) {
3284
+ var x = h.children, g = h.value, y = i[g];
3285
+ if (!Fn(y))
3286
+ throw new Dn(g, "function", a);
3287
+ var T = ve(x, t, r, n, i, s), d = y(T.map(function(P) {
3288
3288
  return P.value;
3289
3289
  }));
3290
- Array.isArray(L) || (L = [L]), o.push.apply(o, L.map(function(P) {
3290
+ Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(P) {
3291
3291
  return {
3292
3292
  type: typeof P == "string" ? R.literal : R.object,
3293
3293
  value: P
3294
3294
  };
3295
3295
  }));
3296
3296
  }
3297
- if (Dt(h)) {
3298
- var I = h.options[c] || h.options.other;
3299
- if (!I)
3300
- throw new mt(h.value, c, Object.keys(h.options), a);
3301
- o.push.apply(o, ye(I.value, t, r, n, i));
3297
+ if (kt(h)) {
3298
+ var _ = h.options[c] || h.options.other;
3299
+ if (!_)
3300
+ throw new dt(h.value, c, Object.keys(h.options), a);
3301
+ o.push.apply(o, ve(_.value, t, r, n, i));
3302
3302
  continue;
3303
3303
  }
3304
- if (kt(h)) {
3305
- var I = h.options["=".concat(c)];
3306
- if (!I) {
3304
+ if (Ut(h)) {
3305
+ var _ = h.options["=".concat(c)];
3306
+ if (!_) {
3307
3307
  if (!Intl.PluralRules)
3308
- throw new Te(`Intl.PluralRules is not available in this environment.
3308
+ throw new He(`Intl.PluralRules is not available in this environment.
3309
3309
  Try polyfilling it using "@formatjs/intl-pluralrules"
3310
- `, te.MISSING_INTL_API, a);
3311
- var H = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3312
- I = h.options[H] || h.options.other;
3310
+ `, ne.MISSING_INTL_API, a);
3311
+ var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3312
+ _ = h.options[B] || h.options.other;
3313
3313
  }
3314
- if (!I)
3315
- throw new mt(h.value, c, Object.keys(h.options), a);
3316
- o.push.apply(o, ye(I.value, t, r, n, i, c - (h.offset || 0)));
3314
+ if (!_)
3315
+ throw new dt(h.value, c, Object.keys(h.options), a);
3316
+ o.push.apply(o, ve(_.value, t, r, n, i, c - (h.offset || 0)));
3317
3317
  continue;
3318
3318
  }
3319
3319
  }
3320
- return Dn(o);
3320
+ return Un(o);
3321
3321
  }
3322
- function Un(e, t) {
3323
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3324
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3322
+ function Gn(e, t) {
3323
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3324
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3325
3325
  }, {})) : e;
3326
3326
  }
3327
- function Fn(e, t) {
3327
+ function $n(e, t) {
3328
3328
  return t ? Object.keys(e).reduce(function(r, n) {
3329
- return r[n] = Un(e[n], t[n]), r;
3330
- }, x({}, e)) : e;
3329
+ return r[n] = Gn(e[n], t[n]), r;
3330
+ }, S({}, e)) : e;
3331
3331
  }
3332
- function Re(e) {
3332
+ function ke(e) {
3333
3333
  return {
3334
3334
  create: function() {
3335
3335
  return {
@@ -3343,39 +3343,39 @@ function Re(e) {
3343
3343
  }
3344
3344
  };
3345
3345
  }
3346
- function Gn(e) {
3346
+ function jn(e) {
3347
3347
  return e === void 0 && (e = {
3348
3348
  number: {},
3349
3349
  dateTime: {},
3350
3350
  pluralRules: {}
3351
3351
  }), {
3352
- getNumberFormat: Oe(function() {
3352
+ getNumberFormat: Le(function() {
3353
3353
  for (var t, r = [], n = 0; n < arguments.length; n++)
3354
3354
  r[n] = arguments[n];
3355
- return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
3355
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3356
3356
  }, {
3357
- cache: Re(e.number),
3358
- strategy: Pe.variadic
3357
+ cache: ke(e.number),
3358
+ strategy: Re.variadic
3359
3359
  }),
3360
- getDateTimeFormat: Oe(function() {
3360
+ getDateTimeFormat: Le(function() {
3361
3361
  for (var t, r = [], n = 0; n < arguments.length; n++)
3362
3362
  r[n] = arguments[n];
3363
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
3363
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3364
3364
  }, {
3365
- cache: Re(e.dateTime),
3366
- strategy: Pe.variadic
3365
+ cache: ke(e.dateTime),
3366
+ strategy: Re.variadic
3367
3367
  }),
3368
- getPluralRules: Oe(function() {
3368
+ getPluralRules: Le(function() {
3369
3369
  for (var t, r = [], n = 0; n < arguments.length; n++)
3370
3370
  r[n] = arguments[n];
3371
- return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
3371
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3372
3372
  }, {
3373
- cache: Re(e.pluralRules),
3374
- strategy: Pe.variadic
3373
+ cache: ke(e.pluralRules),
3374
+ strategy: Re.variadic
3375
3375
  })
3376
3376
  };
3377
3377
  }
3378
- var $n = (
3378
+ var Vn = (
3379
3379
  /** @class */
3380
3380
  function() {
3381
3381
  function e(t, r, n, i) {
@@ -3394,7 +3394,7 @@ var $n = (
3394
3394
  }, []);
3395
3395
  return h.length <= 1 ? h[0] || "" : h;
3396
3396
  }, this.formatToParts = function(l) {
3397
- return ye(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3397
+ return ve(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3398
3398
  }, this.resolvedOptions = function() {
3399
3399
  var l;
3400
3400
  return {
@@ -3407,13 +3407,13 @@ var $n = (
3407
3407
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3408
3408
  var a = i || {};
3409
3409
  a.formatters;
3410
- var o = Pr(a, ["formatters"]);
3411
- this.ast = e.__parse(t, x(x({}, o), { locale: this.resolvedLocale }));
3410
+ var o = Rr(a, ["formatters"]);
3411
+ this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3412
3412
  } else
3413
3413
  this.ast = t;
3414
3414
  if (!Array.isArray(this.ast))
3415
3415
  throw new TypeError("A message must be provided as a String or AST.");
3416
- this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || Gn(this.formatterCache);
3416
+ this.formats = $n(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3417
3417
  }
3418
3418
  return Object.defineProperty(e, "defaultLocale", {
3419
3419
  get: function() {
@@ -3426,7 +3426,7 @@ var $n = (
3426
3426
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3427
3427
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3428
3428
  }
3429
- }, e.__parse = Pn, e.formats = {
3429
+ }, e.__parse = Rn, e.formats = {
3430
3430
  number: {
3431
3431
  integer: {
3432
3432
  maximumFractionDigits: 0
@@ -3487,7 +3487,7 @@ var $n = (
3487
3487
  }, e;
3488
3488
  }()
3489
3489
  );
3490
- function jn(e, t) {
3490
+ function zn(e, t) {
3491
3491
  if (t == null)
3492
3492
  return;
3493
3493
  if (t in e)
@@ -3508,92 +3508,92 @@ function jn(e, t) {
3508
3508
  n = void 0;
3509
3509
  return n;
3510
3510
  }
3511
- const j = {}, Vn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Xt = (e, t) => {
3511
+ const $ = {}, Jn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Zt = (e, t) => {
3512
3512
  if (t == null)
3513
3513
  return;
3514
- if (t in j && e in j[t])
3515
- return j[t][e];
3516
- const r = Ae(t);
3514
+ if (t in $ && e in $[t])
3515
+ return $[t][e];
3516
+ const r = Ce(t);
3517
3517
  for (let n = 0; n < r.length; n++) {
3518
- const i = r[n], s = Jn(i, e);
3518
+ const i = r[n], s = Xn(i, e);
3519
3519
  if (s)
3520
- return Vn(e, t, s);
3520
+ return Jn(e, t, s);
3521
3521
  }
3522
3522
  };
3523
- let et;
3524
- const se = Se({});
3525
- function zn(e) {
3526
- return et[e] || null;
3523
+ let tt;
3524
+ const ae = Ae({});
3525
+ function Wn(e) {
3526
+ return tt[e] || null;
3527
3527
  }
3528
- function Zt(e) {
3529
- return e in et;
3528
+ function qt(e) {
3529
+ return e in tt;
3530
3530
  }
3531
- function Jn(e, t) {
3532
- if (!Zt(e))
3531
+ function Xn(e, t) {
3532
+ if (!qt(e))
3533
3533
  return null;
3534
- const r = zn(e);
3535
- return jn(r, t);
3534
+ const r = Wn(e);
3535
+ return zn(r, t);
3536
3536
  }
3537
- function Wn(e) {
3537
+ function Zn(e) {
3538
3538
  if (e == null)
3539
3539
  return;
3540
- const t = Ae(e);
3540
+ const t = Ce(e);
3541
3541
  for (let r = 0; r < t.length; r++) {
3542
3542
  const n = t[r];
3543
- if (Zt(n))
3543
+ if (qt(n))
3544
3544
  return n;
3545
3545
  }
3546
3546
  }
3547
- function qt(e, ...t) {
3548
- delete j[e], se.update((r) => (r[e] = Qr.all([r[e] || {}, ...t]), r));
3547
+ function Qt(e, ...t) {
3548
+ delete $[e], ae.update((r) => (r[e] = Kr.all([r[e] || {}, ...t]), r));
3549
3549
  }
3550
- ie(
3551
- [se],
3550
+ se(
3551
+ [ae],
3552
3552
  ([e]) => Object.keys(e)
3553
3553
  );
3554
- se.subscribe((e) => et = e);
3555
- const _e = {};
3556
- function Xn(e, t) {
3557
- _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3554
+ ae.subscribe((e) => tt = e);
3555
+ const xe = {};
3556
+ function qn(e, t) {
3557
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3558
3558
  }
3559
- function Qt(e) {
3560
- return _e[e];
3559
+ function Yt(e) {
3560
+ return xe[e];
3561
3561
  }
3562
- function Zn(e) {
3563
- return Ae(e).map((t) => {
3564
- const r = Qt(t);
3562
+ function Qn(e) {
3563
+ return Ce(e).map((t) => {
3564
+ const r = Yt(t);
3565
3565
  return [t, r ? [...r] : []];
3566
3566
  }).filter(([, t]) => t.length > 0);
3567
3567
  }
3568
- function qe(e) {
3569
- return e == null ? !1 : Ae(e).some(
3568
+ function Qe(e) {
3569
+ return e == null ? !1 : Ce(e).some(
3570
3570
  (t) => {
3571
3571
  var r;
3572
- return (r = Qt(t)) == null ? void 0 : r.size;
3572
+ return (r = Yt(t)) == null ? void 0 : r.size;
3573
3573
  }
3574
3574
  );
3575
3575
  }
3576
- function qn(e, t) {
3576
+ function Yn(e, t) {
3577
3577
  return Promise.all(
3578
- t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
3579
- ).then((n) => qt(e, ...n));
3580
- }
3581
- const oe = {};
3582
- function Yt(e) {
3583
- if (!qe(e))
3584
- return e in oe ? oe[e] : Promise.resolve();
3585
- const t = Zn(e);
3586
- return oe[e] = Promise.all(
3578
+ t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
3579
+ ).then((n) => Qt(e, ...n));
3580
+ }
3581
+ const le = {};
3582
+ function Kt(e) {
3583
+ if (!Qe(e))
3584
+ return e in le ? le[e] : Promise.resolve();
3585
+ const t = Qn(e);
3586
+ return le[e] = Promise.all(
3587
3587
  t.map(
3588
- ([r, n]) => qn(r, n)
3588
+ ([r, n]) => Yn(r, n)
3589
3589
  )
3590
3590
  ).then(() => {
3591
- if (qe(e))
3592
- return Yt(e);
3593
- delete oe[e];
3594
- }), oe[e];
3591
+ if (Qe(e))
3592
+ return Kt(e);
3593
+ delete le[e];
3594
+ }), le[e];
3595
3595
  }
3596
- const Qn = {
3596
+ const Kn = {
3597
3597
  number: {
3598
3598
  scientific: { notation: "scientific" },
3599
3599
  engineering: { notation: "engineering" },
@@ -3622,135 +3622,135 @@ const Qn = {
3622
3622
  timeZoneName: "short"
3623
3623
  }
3624
3624
  }
3625
- }, Yn = {
3625
+ }, ei = {
3626
3626
  fallbackLocale: null,
3627
3627
  loadingDelay: 200,
3628
- formats: Qn,
3628
+ formats: Kn,
3629
3629
  warnOnMissingMessages: !0,
3630
3630
  handleMissingMessage: void 0,
3631
3631
  ignoreTag: !0
3632
- }, Kn = Yn;
3633
- function re() {
3634
- return Kn;
3632
+ }, ti = ei;
3633
+ function ie() {
3634
+ return ti;
3635
3635
  }
3636
- const De = Se(!1);
3637
- var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3636
+ const Ue = Ae(!1);
3637
+ var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oi = (e, t) => {
3638
3638
  for (var r in t || (t = {}))
3639
- ni.call(t, r) && bt(e, r, t[r]);
3640
- if (dt)
3641
- for (var r of dt(t))
3642
- ii.call(t, r) && bt(e, r, t[r]);
3639
+ si.call(t, r) && gt(e, r, t[r]);
3640
+ if (bt)
3641
+ for (var r of bt(t))
3642
+ ai.call(t, r) && gt(e, r, t[r]);
3643
3643
  return e;
3644
- }, ai = (e, t) => ti(e, ri(t));
3645
- let Qe;
3646
- const ve = Se(null);
3647
- function gt(e) {
3644
+ }, ui = (e, t) => ni(e, ii(t));
3645
+ let Ye;
3646
+ const Ee = Ae(null);
3647
+ function pt(e) {
3648
3648
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3649
3649
  }
3650
- function Ae(e, t = re().fallbackLocale) {
3651
- const r = gt(e);
3652
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3650
+ function Ce(e, t = ie().fallbackLocale) {
3651
+ const r = pt(e);
3652
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3653
3653
  }
3654
3654
  function J() {
3655
- return Qe ?? void 0;
3655
+ return Ye ?? void 0;
3656
3656
  }
3657
- ve.subscribe((e) => {
3658
- Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3657
+ Ee.subscribe((e) => {
3658
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3659
3659
  });
3660
- const oi = (e) => {
3661
- if (e && Wn(e) && qe(e)) {
3662
- const { loadingDelay: t } = re();
3660
+ const li = (e) => {
3661
+ if (e && Zn(e) && Qe(e)) {
3662
+ const { loadingDelay: t } = ie();
3663
3663
  let r;
3664
3664
  return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3665
- () => De.set(!0),
3665
+ () => Ue.set(!0),
3666
3666
  t
3667
- ) : De.set(!0), Yt(e).then(() => {
3668
- ve.set(e);
3667
+ ) : Ue.set(!0), Kt(e).then(() => {
3668
+ Ee.set(e);
3669
3669
  }).finally(() => {
3670
- clearTimeout(r), De.set(!1);
3670
+ clearTimeout(r), Ue.set(!1);
3671
3671
  });
3672
3672
  }
3673
- return ve.set(e);
3674
- }, V = ai(si({}, ve), {
3675
- set: oi
3676
- }), He = (e) => {
3673
+ return Ee.set(e);
3674
+ }, j = ui(oi({}, Ee), {
3675
+ set: li
3676
+ }), we = (e) => {
3677
3677
  const t = /* @__PURE__ */ Object.create(null);
3678
3678
  return (n) => {
3679
3679
  const i = JSON.stringify(n);
3680
3680
  return i in t ? t[i] : t[i] = e(n);
3681
3681
  };
3682
3682
  };
3683
- var ui = Object.defineProperty, xe = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
3683
+ var hi = Object.defineProperty, Se = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3684
3684
  for (var r in t || (t = {}))
3685
- Kt.call(t, r) && pt(e, r, t[r]);
3686
- if (xe)
3687
- for (var r of xe(t))
3688
- er.call(t, r) && pt(e, r, t[r]);
3685
+ er.call(t, r) && yt(e, r, t[r]);
3686
+ if (Se)
3687
+ for (var r of Se(t))
3688
+ tr.call(t, r) && yt(e, r, t[r]);
3689
3689
  return e;
3690
- }, ae = (e, t) => {
3690
+ }, oe = (e, t) => {
3691
3691
  var r = {};
3692
3692
  for (var n in e)
3693
- Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3694
- if (e != null && xe)
3695
- for (var n of xe(e))
3696
- t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3693
+ er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3694
+ if (e != null && Se)
3695
+ for (var n of Se(e))
3696
+ t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3697
3697
  return r;
3698
3698
  };
3699
- const ce = (e, t) => {
3700
- const { formats: r } = re();
3699
+ const me = (e, t) => {
3700
+ const { formats: r } = ie();
3701
3701
  if (e in r && t in r[e])
3702
3702
  return r[e][t];
3703
3703
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3704
- }, li = He(
3704
+ }, ci = we(
3705
3705
  (e) => {
3706
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3706
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3707
3707
  if (r == null)
3708
3708
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3709
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3709
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3710
3710
  }
3711
- ), hi = He(
3711
+ ), fi = we(
3712
3712
  (e) => {
3713
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3713
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3714
3714
  if (r == null)
3715
3715
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3716
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3716
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3717
3717
  }
3718
- ), ci = He(
3718
+ ), mi = we(
3719
3719
  (e) => {
3720
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3720
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3721
3721
  if (r == null)
3722
3722
  throw new Error(
3723
3723
  '[svelte-i18n] A "locale" must be set to format time values'
3724
3724
  );
3725
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3725
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3726
3726
  }
3727
- ), fi = (e = {}) => {
3727
+ ), di = (e = {}) => {
3728
3728
  var t = e, {
3729
3729
  locale: r = J()
3730
- } = t, n = ae(t, [
3730
+ } = t, n = oe(t, [
3731
3731
  "locale"
3732
3732
  ]);
3733
- return li(tt({ locale: r }, n));
3734
- }, mi = (e = {}) => {
3733
+ return ci(rt({ locale: r }, n));
3734
+ }, bi = (e = {}) => {
3735
3735
  var t = e, {
3736
3736
  locale: r = J()
3737
- } = t, n = ae(t, [
3737
+ } = t, n = oe(t, [
3738
3738
  "locale"
3739
3739
  ]);
3740
- return hi(tt({ locale: r }, n));
3741
- }, di = (e = {}) => {
3740
+ return fi(rt({ locale: r }, n));
3741
+ }, gi = (e = {}) => {
3742
3742
  var t = e, {
3743
3743
  locale: r = J()
3744
- } = t, n = ae(t, [
3744
+ } = t, n = oe(t, [
3745
3745
  "locale"
3746
3746
  ]);
3747
- return ci(tt({ locale: r }, n));
3748
- }, bi = He(
3747
+ return mi(rt({ locale: r }, n));
3748
+ }, pi = we(
3749
3749
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3750
- (e, t = J()) => new $n(e, t, re().formats, {
3751
- ignoreTag: re().ignoreTag
3750
+ (e, t = J()) => new Vn(e, t, ie().formats, {
3751
+ ignoreTag: ie().ignoreTag
3752
3752
  })
3753
- ), gi = (e, t = {}) => {
3753
+ ), yi = (e, t = {}) => {
3754
3754
  var r, n, i, s;
3755
3755
  let a = t;
3756
3756
  typeof e == "object" && (a = e, e = a.id);
@@ -3763,9 +3763,9 @@ const ce = (e, t) => {
3763
3763
  throw new Error(
3764
3764
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3765
3765
  );
3766
- let h = Xt(e, l);
3766
+ let h = Zt(e, l);
3767
3767
  if (!h)
3768
- h = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3768
+ h = (s = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3769
3769
  else if (typeof h != "string")
3770
3770
  return console.warn(
3771
3771
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3774,7 +3774,7 @@ const ce = (e, t) => {
3774
3774
  return h;
3775
3775
  let f = h;
3776
3776
  try {
3777
- f = bi(h, l).format(o);
3777
+ f = pi(h, l).format(o);
3778
3778
  } catch (c) {
3779
3779
  c instanceof Error && console.warn(
3780
3780
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3782,18 +3782,18 @@ const ce = (e, t) => {
3782
3782
  );
3783
3783
  }
3784
3784
  return f;
3785
- }, pi = (e, t) => di(t).format(e), yi = (e, t) => mi(t).format(e), _i = (e, t) => fi(t).format(e), vi = (e, t = J()) => Xt(e, t), xi = ie([V, se], () => gi);
3786
- ie([V], () => pi);
3787
- ie([V], () => yi);
3788
- ie([V], () => _i);
3789
- ie([V, se], () => vi);
3790
- function Ei(e, t) {
3785
+ }, _i = (e, t) => gi(t).format(e), vi = (e, t) => bi(t).format(e), xi = (e, t) => di(t).format(e), Ei = (e, t = J()) => Zt(e, t), Si = se([j, ae], () => yi);
3786
+ se([j], () => _i);
3787
+ se([j], () => vi);
3788
+ se([j], () => xi);
3789
+ se([j, ae], () => Ei);
3790
+ function Ti(e, t) {
3791
3791
  if (e) {
3792
3792
  const r = document.createElement("style");
3793
3793
  r.innerHTML = t, e.appendChild(r);
3794
3794
  }
3795
3795
  }
3796
- function Si(e, t) {
3796
+ function Ai(e, t) {
3797
3797
  const r = new URL(t);
3798
3798
  fetch(r.href).then((n) => n.text()).then((n) => {
3799
3799
  const i = document.createElement("style");
@@ -3802,7 +3802,7 @@ function Si(e, t) {
3802
3802
  console.error("There was an error while trying to load client styling from URL", n);
3803
3803
  });
3804
3804
  }
3805
- function Ti(e, t, r) {
3805
+ function Hi(e, t, r) {
3806
3806
  if (window.emMessageBus) {
3807
3807
  const n = document.createElement("style");
3808
3808
  window.emMessageBus.subscribe(t, (i) => {
@@ -3810,18 +3810,18 @@ function Ti(e, t, r) {
3810
3810
  });
3811
3811
  }
3812
3812
  }
3813
- function Ai({ withLocale: e, translations: t }) {
3814
- V.subscribe((r) => {
3815
- r == null && (se.set(t), V.set(e));
3813
+ function Ci({ withLocale: e, translations: t }) {
3814
+ j.subscribe((r) => {
3815
+ r == null && (ae.set(t), j.set(e));
3816
3816
  });
3817
3817
  }
3818
- function yt(e, t) {
3819
- qt(e, t);
3818
+ function _t(e, t) {
3819
+ Qt(e, t);
3820
3820
  }
3821
- function Hi(e) {
3822
- V.set(e);
3821
+ function wi(e) {
3822
+ j.set(e);
3823
3823
  }
3824
- const _t = {
3824
+ const vt = {
3825
3825
  en: {
3826
3826
  enrolled: "Enrolled",
3827
3827
  scoreCriteria: "Score Criteria",
@@ -4153,84 +4153,89 @@ const _t = {
4153
4153
  December: "December"
4154
4154
  }
4155
4155
  };
4156
- function Ci(e) {
4157
- fr(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}');
4156
+ function Bi(e) {
4157
+ dr(e, "svelte-52u9sp", ':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{cursor:pointer;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{cursor:pointer;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}');
4158
4158
  }
4159
- function vt(e) {
4159
+ function xt(e) {
4160
4160
  let t, r, n;
4161
4161
  return {
4162
4162
  c() {
4163
- t = A("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = G(), n = A("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");
4163
+ t = w("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = G(), n = w("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>', b(t, "class", "Skeleton CardImg"), b(n, "class", "Details"), b(n, "part", "Details");
4164
4164
  },
4165
4165
  m(i, s) {
4166
4166
  O(i, t, s), O(i, r, s), O(i, n, s);
4167
4167
  },
4168
4168
  d(i) {
4169
- i && (B(t), B(r), B(n));
4169
+ i && (I(t), I(r), I(n));
4170
4170
  }
4171
4171
  };
4172
4172
  }
4173
- function xt(e) {
4174
- let t, r, n, i, s, a, o, l, u = (
4173
+ function Et(e) {
4174
+ let t, r, n, i, s, a, o, l, u, h, f = (
4175
4175
  /*status*/
4176
- e[0] && Et(e)
4177
- ), h = (
4176
+ e[0] && St(e)
4177
+ ), c = (
4178
4178
  /*showenrolled*/
4179
- e[6] == "true" && St(e)
4179
+ e[6] == "true" && Tt(e)
4180
4180
  );
4181
- function f(d, E) {
4181
+ function E(d, _) {
4182
4182
  return (
4183
4183
  /*thumbnail*/
4184
- d[3] ? Bi : wi
4184
+ d[3] ? Ni : Ii
4185
4185
  );
4186
4186
  }
4187
- let c = f(e), g = c(e), b = (
4187
+ let x = E(e), g = x(e), y = (
4188
4188
  /*startdate*/
4189
- e[2] && At(e)
4190
- ), y = (
4189
+ e[2] && Ht(e)
4190
+ ), T = (
4191
4191
  /*isLoggedIn*/
4192
- e[11] && Ht(e)
4192
+ e[11] && Ct(e)
4193
4193
  );
4194
4194
  return {
4195
4195
  c() {
4196
- u && u.c(), t = G(), h && h.c(), r = G(), g.c(), n = G(), i = A("div"), s = A("div"), a = D(
4196
+ f && f.c(), t = G(), c && c.c(), r = G(), g.c(), n = G(), i = w("div"), s = w("div"), a = D(
4197
4197
  /*title*/
4198
4198
  e[1]
4199
- ), o = G(), b && b.c(), l = G(), y && y.c(), p(s, "class", "Title"), p(s, "part", "Title"), p(i, "class", "Details"), p(i, "part", "Details");
4199
+ ), o = G(), y && y.c(), l = G(), T && T.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4200
4200
  },
4201
- m(d, E) {
4202
- u && u.m(d, E), O(d, t, E), h && h.m(d, E), O(d, r, E), g.m(d, E), O(d, n, E), O(d, i, E), S(i, s), S(s, a), S(i, o), b && b.m(i, null), S(i, l), y && y.m(i, null);
4201
+ m(d, _) {
4202
+ f && f.m(d, _), O(d, t, _), c && c.m(d, _), O(d, r, _), g.m(d, _), O(d, n, _), O(d, i, _), A(i, s), A(s, a), A(i, o), y && y.m(i, null), A(i, l), T && T.m(i, null), u || (h = ee(
4203
+ s,
4204
+ "click",
4205
+ /*detailsAction*/
4206
+ e[20]
4207
+ ), u = !0);
4203
4208
  },
4204
- p(d, E) {
4209
+ p(d, _) {
4205
4210
  /*status*/
4206
- d[0] ? u ? u.p(d, E) : (u = Et(d), u.c(), u.m(t.parentNode, t)) : u && (u.d(1), u = null), /*showenrolled*/
4207
- d[6] == "true" ? h ? h.p(d, E) : (h = St(d), h.c(), h.m(r.parentNode, r)) : h && (h.d(1), h = null), c === (c = f(d)) && g ? g.p(d, E) : (g.d(1), g = c(d), g && (g.c(), g.m(n.parentNode, n))), E[0] & /*title*/
4211
+ d[0] ? f ? f.p(d, _) : (f = St(d), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), /*showenrolled*/
4212
+ d[6] == "true" ? c ? c.p(d, _) : (c = Tt(d), c.c(), c.m(r.parentNode, r)) : c && (c.d(1), c = null), x === (x = E(d)) && g ? g.p(d, _) : (g.d(1), g = x(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4208
4213
  2 && F(
4209
4214
  a,
4210
4215
  /*title*/
4211
4216
  d[1]
4212
4217
  ), /*startdate*/
4213
- d[2] ? b ? b.p(d, E) : (b = At(d), b.c(), b.m(i, l)) : b && (b.d(1), b = null), /*isLoggedIn*/
4214
- d[11] ? y ? y.p(d, E) : (y = Ht(d), y.c(), y.m(i, null)) : y && (y.d(1), y = null);
4218
+ d[2] ? y ? y.p(d, _) : (y = Ht(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4219
+ d[11] ? T ? T.p(d, _) : (T = Ct(d), T.c(), T.m(i, null)) : T && (T.d(1), T = null);
4215
4220
  },
4216
4221
  d(d) {
4217
- d && (B(t), B(r), B(n), B(i)), u && u.d(d), h && h.d(d), g.d(d), b && b.d(), y && y.d();
4222
+ d && (I(t), I(r), I(n), I(i)), f && f.d(d), c && c.d(d), g.d(d), y && y.d(), T && T.d(), u = !1, h();
4218
4223
  }
4219
4224
  };
4220
4225
  }
4221
- function Et(e) {
4226
+ function St(e) {
4222
4227
  let t, r, n, i, s, a;
4223
4228
  return {
4224
4229
  c() {
4225
- t = A("div"), r = D(
4230
+ t = w("div"), r = D(
4226
4231
  /*shownStatus*/
4227
4232
  e[12]
4228
- ), p(t, "class", n = "Status " + /*statusClass*/
4229
- e[14]), p(t, "part", i = "Status " + /*statusClass*/
4233
+ ), b(t, "class", n = "Status " + /*statusClass*/
4234
+ e[14]), b(t, "part", i = "Status " + /*statusClass*/
4230
4235
  e[14]);
4231
4236
  },
4232
4237
  m(o, l) {
4233
- O(o, t, l), S(t, r), s || (a = me(
4238
+ O(o, t, l), A(t, r), s || (a = be(
4234
4239
  /*matchStatus*/
4235
4240
  e[17].call(null, t)
4236
4241
  ), s = !0);
@@ -4243,47 +4248,47 @@ function Et(e) {
4243
4248
  o[12]
4244
4249
  ), l[0] & /*statusClass*/
4245
4250
  16384 && n !== (n = "Status " + /*statusClass*/
4246
- o[14]) && p(t, "class", n), l[0] & /*statusClass*/
4251
+ o[14]) && b(t, "class", n), l[0] & /*statusClass*/
4247
4252
  16384 && i !== (i = "Status " + /*statusClass*/
4248
- o[14]) && p(t, "part", i);
4253
+ o[14]) && b(t, "part", i);
4249
4254
  },
4250
4255
  d(o) {
4251
- o && B(t), s = !1, a();
4256
+ o && I(t), s = !1, a();
4252
4257
  }
4253
4258
  };
4254
4259
  }
4255
- function St(e) {
4260
+ function Tt(e) {
4256
4261
  let t, r = (
4257
4262
  /*userenrolled*/
4258
- e[4] && Tt(e)
4263
+ e[4] && At(e)
4259
4264
  );
4260
4265
  return {
4261
4266
  c() {
4262
- r && r.c(), t = br();
4267
+ r && r.c(), t = pr();
4263
4268
  },
4264
4269
  m(n, i) {
4265
4270
  r && r.m(n, i), O(n, t, i);
4266
4271
  },
4267
4272
  p(n, i) {
4268
4273
  /*userenrolled*/
4269
- n[4] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4274
+ n[4] ? r ? r.p(n, i) : (r = At(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4270
4275
  },
4271
4276
  d(n) {
4272
- n && B(t), r && r.d(n);
4277
+ n && I(t), r && r.d(n);
4273
4278
  }
4274
4279
  };
4275
4280
  }
4276
- function Tt(e) {
4281
+ function At(e) {
4277
4282
  let t, r = (
4278
4283
  /*$_*/
4279
4284
  e[15]("enrolled") + ""
4280
4285
  ), n;
4281
4286
  return {
4282
4287
  c() {
4283
- t = A("div"), n = D(r), p(t, "class", "Enrolled"), p(t, "part", "Enrolled");
4288
+ t = w("div"), n = D(r), b(t, "class", "Enrolled"), b(t, "part", "Enrolled");
4284
4289
  },
4285
4290
  m(i, s) {
4286
- O(i, t, s), S(t, n);
4291
+ O(i, t, s), A(t, n);
4287
4292
  },
4288
4293
  p(i, s) {
4289
4294
  s[0] & /*$_*/
@@ -4291,84 +4296,100 @@ function Tt(e) {
4291
4296
  i[15]("enrolled") + "") && F(n, r);
4292
4297
  },
4293
4298
  d(i) {
4294
- i && B(t);
4299
+ i && I(t);
4295
4300
  }
4296
4301
  };
4297
4302
  }
4298
- function wi(e) {
4303
+ function Ii(e) {
4299
4304
  let t, r, n, i, s, a, o;
4300
4305
  return {
4301
4306
  c() {
4302
- t = A("div"), r = A("ui-image"), ke(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Q(r, "src", n), Q(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4307
+ t = w("div"), r = w("ui-image"), Fe(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Y(r, "src", n), Y(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4303
4308
  (e[0] == "Closing" || /*status*/
4304
- e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4309
+ e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4305
4310
  (e[0] == "Closing" || /*status*/
4306
4311
  e[0] == "Closed" ? "CardImgFinished" : ""));
4307
4312
  },
4308
4313
  m(l, u) {
4309
- O(l, t, u), S(t, r), a || (o = me(
4310
- /*matchStatus*/
4311
- e[17].call(null, t)
4312
- ), a = !0);
4314
+ O(l, t, u), A(t, r), a || (o = [
4315
+ be(
4316
+ /*matchStatus*/
4317
+ e[17].call(null, t)
4318
+ ),
4319
+ ee(
4320
+ t,
4321
+ "click",
4322
+ /*detailsAction*/
4323
+ e[20]
4324
+ )
4325
+ ], a = !0);
4313
4326
  },
4314
4327
  p(l, u) {
4315
4328
  u[0] & /*status*/
4316
4329
  1 && i !== (i = "CardImg " + /*status*/
4317
4330
  (l[0] == "Closing" || /*status*/
4318
- l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "class", i), u[0] & /*status*/
4331
+ l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "class", i), u[0] & /*status*/
4319
4332
  1 && s !== (s = "CardImg " + /*status*/
4320
4333
  (l[0] == "Closing" || /*status*/
4321
- l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4334
+ l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4322
4335
  },
4323
4336
  d(l) {
4324
- l && B(t), a = !1, o();
4337
+ l && I(t), a = !1, V(o);
4325
4338
  }
4326
4339
  };
4327
4340
  }
4328
- function Bi(e) {
4341
+ function Ni(e) {
4329
4342
  let t, r, n, i, s, a, o;
4330
4343
  return {
4331
4344
  c() {
4332
- t = A("div"), r = A("ui-image"), Q(r, "class", "UIImage"), ke(r.src, n = /*thumbnail*/
4333
- e[3]) || Q(r, "src", n), Q(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4345
+ t = w("div"), r = w("ui-image"), Y(r, "class", "UIImage"), Fe(r.src, n = /*thumbnail*/
4346
+ e[3]) || Y(r, "src", n), Y(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4334
4347
  (e[0] == "Closing" || /*status*/
4335
- e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4348
+ e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4336
4349
  (e[0] == "Closing" || /*status*/
4337
4350
  e[0] == "Closed" ? "CardImgFinished" : ""));
4338
4351
  },
4339
4352
  m(l, u) {
4340
- O(l, t, u), S(t, r), a || (o = me(
4341
- /*matchStatus*/
4342
- e[17].call(null, t)
4343
- ), a = !0);
4353
+ O(l, t, u), A(t, r), a || (o = [
4354
+ be(
4355
+ /*matchStatus*/
4356
+ e[17].call(null, t)
4357
+ ),
4358
+ ee(
4359
+ t,
4360
+ "click",
4361
+ /*detailsAction*/
4362
+ e[20]
4363
+ )
4364
+ ], a = !0);
4344
4365
  },
4345
4366
  p(l, u) {
4346
4367
  u[0] & /*thumbnail*/
4347
- 8 && !ke(r.src, n = /*thumbnail*/
4348
- l[3]) && Q(r, "src", n), u[0] & /*status*/
4368
+ 8 && !Fe(r.src, n = /*thumbnail*/
4369
+ l[3]) && Y(r, "src", n), u[0] & /*status*/
4349
4370
  1 && i !== (i = "CardImg " + /*status*/
4350
4371
  (l[0] == "Closing" || /*status*/
4351
- l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "class", i), u[0] & /*status*/
4372
+ l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "class", i), u[0] & /*status*/
4352
4373
  1 && s !== (s = "CardImg " + /*status*/
4353
4374
  (l[0] == "Closing" || /*status*/
4354
- l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4375
+ l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4355
4376
  },
4356
4377
  d(l) {
4357
- l && B(t), a = !1, o();
4378
+ l && I(t), a = !1, V(o);
4358
4379
  }
4359
4380
  };
4360
4381
  }
4361
- function At(e) {
4382
+ function Ht(e) {
4362
4383
  let t, r, n, i, s;
4363
4384
  return {
4364
4385
  c() {
4365
- t = A("div"), r = D(
4386
+ t = w("div"), r = D(
4366
4387
  /*shownDate*/
4367
4388
  e[10]
4368
- ), p(t, "class", "Date"), p(t, "part", "Date");
4389
+ ), b(t, "class", "Date"), b(t, "part", "Date");
4369
4390
  },
4370
4391
  m(a, o) {
4371
- O(a, t, o), S(t, r), i || (s = me(n = /*formatDate*/
4392
+ O(a, t, o), A(t, r), i || (s = be(n = /*formatDate*/
4372
4393
  e[16].call(
4373
4394
  null,
4374
4395
  t,
@@ -4382,7 +4403,7 @@ function At(e) {
4382
4403
  r,
4383
4404
  /*shownDate*/
4384
4405
  a[10]
4385
- ), n && fe(n.update) && o[0] & /*startdate*/
4406
+ ), n && de(n.update) && o[0] & /*startdate*/
4386
4407
  4 && n.update.call(
4387
4408
  null,
4388
4409
  /*startdate*/
@@ -4390,404 +4411,422 @@ function At(e) {
4390
4411
  );
4391
4412
  },
4392
4413
  d(a) {
4393
- a && B(t), i = !1, s();
4414
+ a && I(t), i = !1, s();
4394
4415
  }
4395
4416
  };
4396
4417
  }
4397
- function Ht(e) {
4418
+ function Ct(e) {
4398
4419
  let t, r, n = (
4399
4420
  /*$_*/
4400
4421
  e[15]("scoreCriteria") + ""
4401
4422
  ), i, s, a, o, l, u = (
4402
4423
  /*$_*/
4403
4424
  e[15]("minbet") + ""
4404
- ), h, f, c, g, b, y, d, E = (
4425
+ ), h, f, c, E, x, g, y, T = (
4405
4426
  /*$_*/
4406
4427
  e[15]("seegames") + ""
4407
- ), L, I, H, P = (
4428
+ ), d, _, B, P = (
4408
4429
  /*$_*/
4409
4430
  e[15]("here") + ""
4410
- ), N, U, $, z;
4431
+ ), k, L, W, z;
4411
4432
  return {
4412
4433
  c() {
4413
- t = A("div"), r = A("p"), i = D(n), s = D(`:
4434
+ t = w("div"), r = w("p"), i = D(n), s = D(`:
4414
4435
 
4415
- `), a = A("span"), o = D(
4436
+ `), a = w("span"), o = D(
4416
4437
  /*showScoreCriteria*/
4417
4438
  e[13]
4418
4439
  ), l = D(`
4419
4440
  (`), h = D(u), f = G(), c = D(
4420
4441
  /*minbetcount*/
4421
4442
  e[5]
4422
- ), g = D(")"), b = G(), y = A("div"), d = A("p"), L = D(E), I = G(), H = A("a"), N = D(P), p(a, "part", "ScoreCriteriaSpan"), p(r, "part", "ScoreCriteriaP"), p(t, "class", "ScoreCriteria"), p(t, "part", "ScoreCriteria"), p(H, "part", "GamesAnchor"), p(
4423
- H,
4443
+ ), E = D(")"), x = G(), g = w("div"), y = w("p"), d = D(T), _ = G(), B = w("a"), k = D(P), b(a, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4444
+ B,
4424
4445
  "href",
4425
4446
  /*gameurl*/
4426
4447
  e[7]
4427
- ), p(H, "target", U = /*keepbrowsercontext*/
4428
- e[8] === "true" ? "_self" : "_blank"), p(d, "part", "GamesP"), p(y, "class", "Games"), p(y, "part", "Games");
4448
+ ), b(B, "target", L = /*keepbrowsercontext*/
4449
+ e[8] === "true" ? "_self" : "_blank"), b(y, "part", "GamesP"), b(g, "class", "Games"), b(g, "part", "Games");
4429
4450
  },
4430
- m(C, M) {
4431
- O(C, t, M), S(t, r), S(r, i), S(r, s), S(r, a), S(a, o), S(r, l), S(r, h), S(r, f), S(r, c), S(r, g), O(C, b, M), O(C, y, M), S(y, d), S(d, L), S(d, I), S(d, H), S(H, N), $ || (z = [
4432
- me(
4451
+ m(N, M) {
4452
+ O(N, t, M), A(t, r), A(r, i), A(r, s), A(r, a), A(a, o), A(r, l), A(r, h), A(r, f), A(r, c), A(r, E), O(N, x, M), O(N, g, M), A(g, y), A(y, d), A(y, _), A(y, B), A(B, k), W || (z = [
4453
+ be(
4433
4454
  /*matchScoreCriteria*/
4434
4455
  e[18].call(null, a)
4435
4456
  ),
4436
- Ue(
4437
- H,
4457
+ ee(
4458
+ B,
4438
4459
  "click",
4439
4460
  /*tournamentGamesClicked*/
4440
4461
  e[19]
4441
4462
  )
4442
- ], $ = !0);
4463
+ ], W = !0);
4443
4464
  },
4444
- p(C, M) {
4465
+ p(N, M) {
4445
4466
  M[0] & /*$_*/
4446
4467
  32768 && n !== (n = /*$_*/
4447
- C[15]("scoreCriteria") + "") && F(i, n), M[0] & /*showScoreCriteria*/
4468
+ N[15]("scoreCriteria") + "") && F(i, n), M[0] & /*showScoreCriteria*/
4448
4469
  8192 && F(
4449
4470
  o,
4450
4471
  /*showScoreCriteria*/
4451
- C[13]
4472
+ N[13]
4452
4473
  ), M[0] & /*$_*/
4453
4474
  32768 && u !== (u = /*$_*/
4454
- C[15]("minbet") + "") && F(h, u), M[0] & /*minbetcount*/
4475
+ N[15]("minbet") + "") && F(h, u), M[0] & /*minbetcount*/
4455
4476
  32 && F(
4456
4477
  c,
4457
4478
  /*minbetcount*/
4458
- C[5]
4479
+ N[5]
4459
4480
  ), M[0] & /*$_*/
4460
- 32768 && E !== (E = /*$_*/
4461
- C[15]("seegames") + "") && F(L, E), M[0] & /*$_*/
4481
+ 32768 && T !== (T = /*$_*/
4482
+ N[15]("seegames") + "") && F(d, T), M[0] & /*$_*/
4462
4483
  32768 && P !== (P = /*$_*/
4463
- C[15]("here") + "") && F(N, P), M[0] & /*gameurl*/
4464
- 128 && p(
4465
- H,
4484
+ N[15]("here") + "") && F(k, P), M[0] & /*gameurl*/
4485
+ 128 && b(
4486
+ B,
4466
4487
  "href",
4467
4488
  /*gameurl*/
4468
- C[7]
4489
+ N[7]
4469
4490
  ), M[0] & /*keepbrowsercontext*/
4470
- 256 && U !== (U = /*keepbrowsercontext*/
4471
- C[8] === "true" ? "_self" : "_blank") && p(H, "target", U);
4491
+ 256 && L !== (L = /*keepbrowsercontext*/
4492
+ N[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4472
4493
  },
4473
- d(C) {
4474
- C && (B(t), B(b), B(y)), $ = !1, ne(z);
4494
+ d(N) {
4495
+ N && (I(t), I(x), I(g)), W = !1, V(z);
4475
4496
  }
4476
4497
  };
4477
4498
  }
4478
- function Ii(e) {
4499
+ function Mi(e) {
4479
4500
  let t, r, n, i = (
4480
4501
  /*title*/
4481
- e[1] === "undefined" && vt()
4502
+ e[1] === "undefined" && xt()
4482
4503
  ), s = (
4483
4504
  /*title*/
4484
- e[1] !== "undefined" && xt(e)
4505
+ e[1] !== "undefined" && Et(e)
4485
4506
  );
4486
4507
  return {
4487
4508
  c() {
4488
- t = A("div"), i && i.c(), r = G(), s && s.c(), p(t, "class", n = `Thumbnail ${/*title*/
4489
- e[1] === "undefined" ? "Loading" : ""}`), p(t, "part", "Thumbnail");
4509
+ t = w("div"), i && i.c(), r = G(), s && s.c(), b(t, "class", n = `Thumbnail ${/*title*/
4510
+ e[1] === "undefined" ? "Loading" : ""}`), b(t, "part", "Thumbnail");
4490
4511
  },
4491
4512
  m(a, o) {
4492
- O(a, t, o), i && i.m(t, null), S(t, r), s && s.m(t, null), e[29](t);
4513
+ O(a, t, o), i && i.m(t, null), A(t, r), s && s.m(t, null), e[31](t);
4493
4514
  },
4494
4515
  p(a, o) {
4495
4516
  /*title*/
4496
- a[1] === "undefined" ? i || (i = vt(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4497
- a[1] !== "undefined" ? s ? s.p(a, o) : (s = xt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4517
+ a[1] === "undefined" ? i || (i = xt(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4518
+ a[1] !== "undefined" ? s ? s.p(a, o) : (s = Et(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4498
4519
  2 && n !== (n = `Thumbnail ${/*title*/
4499
- a[1] === "undefined" ? "Loading" : ""}`) && p(t, "class", n);
4520
+ a[1] === "undefined" ? "Loading" : ""}`) && b(t, "class", n);
4500
4521
  },
4501
- i: k,
4502
- o: k,
4522
+ i: U,
4523
+ o: U,
4503
4524
  d(a) {
4504
- a && B(t), i && i.d(), s && s.d(), e[29](null);
4525
+ a && I(t), i && i.d(), s && s.d(), e[31](null);
4505
4526
  }
4506
4527
  };
4507
4528
  }
4508
- function Ni(e, t, r) {
4529
+ function Oi(e, t, r) {
4509
4530
  let n;
4510
- cr(e, xi, (m) => r(15, n = m));
4511
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: g = "" } = t, { showenrolled: b = "false" } = t, { gameurl: y = "" } = t, { lang: d = "en" } = t, { keepbrowsercontext: E = "false" } = t, { clientstyling: L = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: H = "" } = t, { mbsource: P } = t, N, U = "", $ = !1, z = "", C = "", M = "";
4512
- Ai({ withLocale: "en", translations: {} });
4513
- const rr = () => {
4514
- fetch(H).then((m) => m.json()).then((m) => {
4515
- Object.keys(m).forEach((W) => {
4516
- yt(W, m[W]);
4517
- }), o && Ie();
4531
+ mr(e, Si, (m) => r(15, n = m));
4532
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: E = "" } = t, { showenrolled: x = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: T = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: P = "" } = t, { mbsource: k } = t, L, W = "", z = !1, N = "", M = "", ue = "";
4533
+ Ci({ withLocale: "en", translations: {} });
4534
+ const nr = () => {
4535
+ fetch(P).then((m) => m.json()).then((m) => {
4536
+ Object.keys(m).forEach((X) => {
4537
+ _t(X, m[X]);
4538
+ }), o && Me();
4518
4539
  }).catch((m) => {
4519
4540
  console.log(m);
4520
4541
  });
4521
4542
  };
4522
- Object.keys(_t).forEach((m) => {
4523
- yt(m, _t[m]);
4543
+ Object.keys(vt).forEach((m) => {
4544
+ _t(m, vt[m]);
4524
4545
  });
4525
- const rt = (m) => {
4526
- m.data && (m.data && m.data.type == "SessionID" && r(11, $ = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4527
- }, Ce = () => {
4546
+ const nt = (m) => {
4547
+ m.data && (m.data && m.data.type == "SessionID" && r(11, z = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4548
+ }, Be = () => {
4528
4549
  const m = { month: "long" };
4529
- let W = new Date(o), ar = new Intl.DateTimeFormat("en", m).format(W), or = W.getDate(), ur = W.toLocaleString("en-GB", {
4550
+ let X = new Date(o), ur = new Intl.DateTimeFormat("en", m).format(X), lr = X.getDate(), hr = X.toLocaleString("en-GB", {
4530
4551
  hour: "numeric",
4531
4552
  minute: "numeric",
4532
4553
  hour12: !1
4533
4554
  });
4534
- const lr = () => n(l === "Running" ? "startedAt" : "startingAt");
4535
- r(10, U = `${or} ` + n(`${ar}`) + ", " + lr() + ` ${ur}`);
4536
- }, we = () => {
4537
- l == "Unstarted" && (r(12, z = n("scheduled")), r(14, M = "StatusUnstarted")), l == "Running" && (r(12, z = n("ongoing")), r(14, M = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, z = n("finished")), l == "Closed" && r(14, M = "StatusClosed"), l == "Closing" && r(14, M = "StatusClosing");
4538
- }, Be = () => {
4539
- c == "BetCount" && r(13, C = n("betCount")), c == "MaxWinStakeRatio" && r(13, C = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(13, C = n("winStakeRatio")), c == "Stake" && r(13, C = n("stake"));
4540
- }, nr = () => {
4541
- window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4555
+ const cr = () => n(l === "Running" ? "startedAt" : "startingAt");
4556
+ r(10, W = `${lr} ` + n(`${ur}`) + ", " + cr() + ` ${hr}`);
4557
+ }, Ie = () => {
4558
+ l == "Unstarted" && (r(12, N = n("scheduled")), r(14, ue = "StatusUnstarted")), l == "Running" && (r(12, N = n("ongoing")), r(14, ue = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, N = n("finished")), l == "Closed" && r(14, ue = "StatusClosed"), l == "Closing" && r(14, ue = "StatusClosing");
4559
+ }, Ne = () => {
4560
+ c == "BetCount" && r(13, M = n("betCount")), c == "MaxWinStakeRatio" && r(13, M = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(13, M = n("winStakeRatio")), c == "Stake" && r(13, M = n("stake"));
4542
4561
  }, ir = () => {
4543
- i.length > 0 && i != "false" ? r(11, $ = !0) : r(11, $ = !1);
4562
+ window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4563
+ }, sr = () => {
4564
+ g && window.postMessage(
4565
+ {
4566
+ type: g,
4567
+ tournamentId: u,
4568
+ showLeaderboard: !0
4569
+ },
4570
+ window.location.href
4571
+ );
4572
+ }, ar = () => {
4573
+ i.length > 0 && i != "false" ? r(11, z = !0) : r(11, z = !1);
4544
4574
  };
4545
- vr(() => (setTimeout(() => Ie(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", rt, !1), () => {
4546
- window.removeEventListener("message", rt);
4575
+ Er(() => (setTimeout(() => Me(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", nt, !1), () => {
4576
+ window.removeEventListener("message", nt);
4547
4577
  }));
4548
- const Ie = () => {
4549
- Hi(d), Be(), we(), o && Ce();
4578
+ const Me = () => {
4579
+ wi(T), Ne(), Ie(), o && Be();
4550
4580
  };
4551
- function sr(m) {
4552
- Fe[m ? "unshift" : "push"](() => {
4553
- N = m, r(9, N);
4581
+ function or(m) {
4582
+ Ge[m ? "unshift" : "push"](() => {
4583
+ L = m, r(9, L);
4554
4584
  });
4555
4585
  }
4556
4586
  return e.$$set = (m) => {
4557
- "session" in m && r(20, i = m.session), "userid" in m && r(21, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(22, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, f = m.userenrolled), "scorecriteria" in m && r(23, c = m.scorecriteria), "minbetcount" in m && r(5, g = m.minbetcount), "showenrolled" in m && r(6, b = m.showenrolled), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(24, d = m.lang), "keepbrowsercontext" in m && r(8, E = m.keepbrowsercontext), "clientstyling" in m && r(25, L = m.clientstyling), "clientstylingurl" in m && r(26, I = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl), "mbsource" in m && r(28, P = m.mbsource);
4587
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, f = m.userenrolled), "scorecriteria" in m && r(24, c = m.scorecriteria), "minbetcount" in m && r(5, E = m.minbetcount), "showenrolled" in m && r(6, x = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, T = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, P = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4558
4588
  }, e.$$.update = () => {
4559
4589
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4560
- 33554944 && L && N && Ei(N, L), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4561
- 67109376 && I && N && Si(N, I), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4562
- 268435968 && P && N && Ti(N, `${P}.Style`), e.$$.dirty[0] & /*translationurl*/
4563
- 134217728 && H && rr(), e.$$.dirty[0] & /*session*/
4564
- 1048576 && i && ir(), e.$$.dirty[0] & /*status*/
4565
- 1 && l && we(), e.$$.dirty[0] & /*title, lang*/
4566
- 16777218 && a && d && Ie(), e.$$.dirty[0] & /*startdate*/
4567
- 4 && o && Ce(), e.$$.dirty[0] & /*scorecriteria*/
4568
- 8388608 && c && Be();
4590
+ 134218240 && _ && L && Ti(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4591
+ 268435968 && B && L && Ai(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4592
+ 1073742336 && k && L && Hi(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4593
+ 536870912 && P && nr(), e.$$.dirty[0] & /*session*/
4594
+ 2097152 && i && ar(), e.$$.dirty[0] & /*status*/
4595
+ 1 && l && Ie(), e.$$.dirty[0] & /*title, lang*/
4596
+ 67108866 && a && T && Me(), e.$$.dirty[0] & /*startdate*/
4597
+ 4 && o && Be(), e.$$.dirty[0] & /*scorecriteria*/
4598
+ 16777216 && c && Ne();
4569
4599
  }, [
4570
4600
  l,
4571
4601
  a,
4572
4602
  o,
4573
4603
  h,
4574
4604
  f,
4575
- g,
4576
- b,
4577
- y,
4578
4605
  E,
4579
- N,
4580
- U,
4581
- $,
4606
+ x,
4607
+ y,
4608
+ d,
4609
+ L,
4610
+ W,
4582
4611
  z,
4583
- C,
4612
+ N,
4584
4613
  M,
4614
+ ue,
4585
4615
  n,
4586
- Ce,
4587
- we,
4588
4616
  Be,
4589
- nr,
4617
+ Ie,
4618
+ Ne,
4619
+ ir,
4620
+ sr,
4590
4621
  i,
4591
4622
  s,
4592
4623
  u,
4593
4624
  c,
4594
- d,
4595
- L,
4596
- I,
4597
- H,
4625
+ g,
4626
+ T,
4627
+ _,
4628
+ B,
4598
4629
  P,
4599
- sr
4630
+ k,
4631
+ or
4600
4632
  ];
4601
4633
  }
4602
- class tr extends Mr {
4634
+ class rr extends Pr {
4603
4635
  constructor(t) {
4604
- super(), Ir(
4636
+ super(), Mr(
4605
4637
  this,
4606
4638
  t,
4607
- Ni,
4608
- Ii,
4609
- wt,
4639
+ Oi,
4640
+ Mi,
4641
+ Bt,
4610
4642
  {
4611
- session: 20,
4612
- userid: 21,
4643
+ session: 21,
4644
+ userid: 22,
4613
4645
  title: 1,
4614
4646
  startdate: 2,
4615
4647
  status: 0,
4616
- tourid: 22,
4648
+ tourid: 23,
4617
4649
  thumbnail: 3,
4618
4650
  userenrolled: 4,
4619
- scorecriteria: 23,
4651
+ scorecriteria: 24,
4620
4652
  minbetcount: 5,
4621
4653
  showenrolled: 6,
4654
+ detailsevent: 25,
4622
4655
  gameurl: 7,
4623
- lang: 24,
4656
+ lang: 26,
4624
4657
  keepbrowsercontext: 8,
4625
- clientstyling: 25,
4626
- clientstylingurl: 26,
4627
- translationurl: 27,
4628
- mbsource: 28
4658
+ clientstyling: 27,
4659
+ clientstylingurl: 28,
4660
+ translationurl: 29,
4661
+ mbsource: 30
4629
4662
  },
4630
- Ci,
4663
+ Bi,
4631
4664
  [-1, -1]
4632
4665
  );
4633
4666
  }
4634
4667
  get session() {
4635
- return this.$$.ctx[20];
4668
+ return this.$$.ctx[21];
4636
4669
  }
4637
4670
  set session(t) {
4638
- this.$$set({ session: t }), w();
4671
+ this.$$set({ session: t }), C();
4639
4672
  }
4640
4673
  get userid() {
4641
- return this.$$.ctx[21];
4674
+ return this.$$.ctx[22];
4642
4675
  }
4643
4676
  set userid(t) {
4644
- this.$$set({ userid: t }), w();
4677
+ this.$$set({ userid: t }), C();
4645
4678
  }
4646
4679
  get title() {
4647
4680
  return this.$$.ctx[1];
4648
4681
  }
4649
4682
  set title(t) {
4650
- this.$$set({ title: t }), w();
4683
+ this.$$set({ title: t }), C();
4651
4684
  }
4652
4685
  get startdate() {
4653
4686
  return this.$$.ctx[2];
4654
4687
  }
4655
4688
  set startdate(t) {
4656
- this.$$set({ startdate: t }), w();
4689
+ this.$$set({ startdate: t }), C();
4657
4690
  }
4658
4691
  get status() {
4659
4692
  return this.$$.ctx[0];
4660
4693
  }
4661
4694
  set status(t) {
4662
- this.$$set({ status: t }), w();
4695
+ this.$$set({ status: t }), C();
4663
4696
  }
4664
4697
  get tourid() {
4665
- return this.$$.ctx[22];
4698
+ return this.$$.ctx[23];
4666
4699
  }
4667
4700
  set tourid(t) {
4668
- this.$$set({ tourid: t }), w();
4701
+ this.$$set({ tourid: t }), C();
4669
4702
  }
4670
4703
  get thumbnail() {
4671
4704
  return this.$$.ctx[3];
4672
4705
  }
4673
4706
  set thumbnail(t) {
4674
- this.$$set({ thumbnail: t }), w();
4707
+ this.$$set({ thumbnail: t }), C();
4675
4708
  }
4676
4709
  get userenrolled() {
4677
4710
  return this.$$.ctx[4];
4678
4711
  }
4679
4712
  set userenrolled(t) {
4680
- this.$$set({ userenrolled: t }), w();
4713
+ this.$$set({ userenrolled: t }), C();
4681
4714
  }
4682
4715
  get scorecriteria() {
4683
- return this.$$.ctx[23];
4716
+ return this.$$.ctx[24];
4684
4717
  }
4685
4718
  set scorecriteria(t) {
4686
- this.$$set({ scorecriteria: t }), w();
4719
+ this.$$set({ scorecriteria: t }), C();
4687
4720
  }
4688
4721
  get minbetcount() {
4689
4722
  return this.$$.ctx[5];
4690
4723
  }
4691
4724
  set minbetcount(t) {
4692
- this.$$set({ minbetcount: t }), w();
4725
+ this.$$set({ minbetcount: t }), C();
4693
4726
  }
4694
4727
  get showenrolled() {
4695
4728
  return this.$$.ctx[6];
4696
4729
  }
4697
4730
  set showenrolled(t) {
4698
- this.$$set({ showenrolled: t }), w();
4731
+ this.$$set({ showenrolled: t }), C();
4732
+ }
4733
+ get detailsevent() {
4734
+ return this.$$.ctx[25];
4735
+ }
4736
+ set detailsevent(t) {
4737
+ this.$$set({ detailsevent: t }), C();
4699
4738
  }
4700
4739
  get gameurl() {
4701
4740
  return this.$$.ctx[7];
4702
4741
  }
4703
4742
  set gameurl(t) {
4704
- this.$$set({ gameurl: t }), w();
4743
+ this.$$set({ gameurl: t }), C();
4705
4744
  }
4706
4745
  get lang() {
4707
- return this.$$.ctx[24];
4746
+ return this.$$.ctx[26];
4708
4747
  }
4709
4748
  set lang(t) {
4710
- this.$$set({ lang: t }), w();
4749
+ this.$$set({ lang: t }), C();
4711
4750
  }
4712
4751
  get keepbrowsercontext() {
4713
4752
  return this.$$.ctx[8];
4714
4753
  }
4715
4754
  set keepbrowsercontext(t) {
4716
- this.$$set({ keepbrowsercontext: t }), w();
4755
+ this.$$set({ keepbrowsercontext: t }), C();
4717
4756
  }
4718
4757
  get clientstyling() {
4719
- return this.$$.ctx[25];
4758
+ return this.$$.ctx[27];
4720
4759
  }
4721
4760
  set clientstyling(t) {
4722
- this.$$set({ clientstyling: t }), w();
4761
+ this.$$set({ clientstyling: t }), C();
4723
4762
  }
4724
4763
  get clientstylingurl() {
4725
- return this.$$.ctx[26];
4764
+ return this.$$.ctx[28];
4726
4765
  }
4727
4766
  set clientstylingurl(t) {
4728
- this.$$set({ clientstylingurl: t }), w();
4767
+ this.$$set({ clientstylingurl: t }), C();
4729
4768
  }
4730
4769
  get translationurl() {
4731
- return this.$$.ctx[27];
4770
+ return this.$$.ctx[29];
4732
4771
  }
4733
4772
  set translationurl(t) {
4734
- this.$$set({ translationurl: t }), w();
4773
+ this.$$set({ translationurl: t }), C();
4735
4774
  }
4736
4775
  get mbsource() {
4737
- return this.$$.ctx[28];
4776
+ return this.$$.ctx[30];
4738
4777
  }
4739
4778
  set mbsource(t) {
4740
- this.$$set({ mbsource: t }), w();
4779
+ this.$$set({ mbsource: t }), C();
4741
4780
  }
4742
4781
  }
4743
- Nr(tr, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4744
- const $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4782
+ Or(rr, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4783
+ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4745
4784
  __proto__: null,
4746
- default: tr
4785
+ default: rr
4747
4786
  }, Symbol.toStringTag, { value: "Module" }));
4748
4787
  export {
4749
- V as $,
4750
- fe as A,
4788
+ j as $,
4789
+ de as A,
4751
4790
  D as B,
4752
4791
  F as C,
4753
- xi as D,
4754
- Ue as E,
4755
- ne as F,
4756
- Li as G,
4757
- Ri as H,
4758
- Ui as I,
4759
- ki as J,
4760
- $e as K,
4761
- Di as L,
4762
- Pi as M,
4763
- ke as N,
4764
- $i as O,
4765
- Mr as S,
4766
- Fi as _,
4767
- Me as a,
4768
- Gi as b,
4769
- Ee as c,
4770
- se as d,
4771
- qt as e,
4772
- Nr as f,
4773
- w as g,
4774
- fr as h,
4775
- Ir as i,
4776
- A as j,
4792
+ Si as D,
4793
+ ee as E,
4794
+ V as F,
4795
+ Di as G,
4796
+ ki as H,
4797
+ Gi as I,
4798
+ Fi as J,
4799
+ je as K,
4800
+ Ui as L,
4801
+ Ri as M,
4802
+ Fe as N,
4803
+ Vi as O,
4804
+ Pr as S,
4805
+ $i as _,
4806
+ Pe as a,
4807
+ ji as b,
4808
+ Te as c,
4809
+ ae as d,
4810
+ Qt as e,
4811
+ Or as f,
4812
+ C as g,
4813
+ dr as h,
4814
+ Mr as i,
4815
+ w as j,
4777
4816
  G as k,
4778
- Q as l,
4779
- p as m,
4817
+ Y as l,
4818
+ b as m,
4780
4819
  O as n,
4781
- S as o,
4782
- k as p,
4783
- B as q,
4784
- cr as r,
4785
- wt as s,
4786
- vr as t,
4787
- Si as u,
4788
- Ti as v,
4789
- Fe as w,
4790
- Ei as x,
4791
- br as y,
4792
- me as z
4820
+ A as o,
4821
+ U as p,
4822
+ I as q,
4823
+ mr as r,
4824
+ Bt as s,
4825
+ Er as t,
4826
+ Ai as u,
4827
+ Hi as v,
4828
+ Ge as w,
4829
+ Ti as x,
4830
+ pr as y,
4831
+ be as z
4793
4832
  };