@everymatrix/casino-tournaments-thumbnail-controller 1.62.0 → 1.62.2

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-BCrHaXfo.js → CasinoTournamentsThumbnail-AfVWsgC5.js} +672 -704
  2. package/components/{CasinoTournamentsThumbnail-fOREP6KA.js → CasinoTournamentsThumbnail-BlgiWoCG.js} +669 -701
  3. package/components/CasinoTournamentsThumbnail-PjnKaMOL.cjs +6 -0
  4. package/components/CasinoTournamentsThumbnailController-Bh6G4B3l.cjs +16 -0
  5. package/components/{CasinoTournamentsThumbnailController-Cv4ljsah.js → CasinoTournamentsThumbnailController-DNMVyAkC.js} +335 -286
  6. package/components/{CasinoTournamentsThumbnailController-KzW3zoOl.js → CasinoTournamentsThumbnailController-a_8vth08.js} +469 -420
  7. package/components/{CasinoTournamentsThumbnailDuration-BWdDfc4k.js → CasinoTournamentsThumbnailDuration-CWR9_xrM.js} +49 -49
  8. package/components/{CasinoTournamentsThumbnailDuration-BsL576C5.js → CasinoTournamentsThumbnailDuration-D7gF20LK.js} +49 -49
  9. package/components/{CasinoTournamentsThumbnailDuration-BPznOENB.cjs → CasinoTournamentsThumbnailDuration-lurr7pKH.cjs} +1 -1
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-hEnXNV-z.js → CasinoTournamentsThumbnailGamesSlider-Bpad1_dF.js} +57 -57
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-D0qJIv_U.js → CasinoTournamentsThumbnailGamesSlider-Cfa-2Emm.js} +57 -57
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-B9LIc43u.cjs → CasinoTournamentsThumbnailGamesSlider-c9efMupA.cjs} +1 -1
  13. package/components/{CasinoTournamentsThumbnailPrizes-2H-7sa9F.js → CasinoTournamentsThumbnailPrizes-C_cjtHr7.js} +50 -50
  14. package/components/{CasinoTournamentsThumbnailPrizes-CH-e3kKC.js → CasinoTournamentsThumbnailPrizes-NL5BpBv-.js} +50 -50
  15. package/components/{CasinoTournamentsThumbnailPrizes-Bv1TKLqU.cjs → CasinoTournamentsThumbnailPrizes-nDKLZI8p.cjs} +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-CDIgYEqC.cjs +0 -19
  21. package/components/CasinoTournamentsThumbnailController-B6brBs2l.cjs +0 -3
@@ -29,26 +29,26 @@ var lt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function U() {
31
31
  }
32
- function Ot(e) {
32
+ function Nt(e) {
33
33
  return e();
34
34
  }
35
35
  function ht() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ne(e) {
39
- e.forEach(Ot);
38
+ function ie(e) {
39
+ e.forEach(Nt);
40
40
  }
41
- function fe(e) {
41
+ function me(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Pt(e, t) {
44
+ function It(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let be;
48
- function Ui(e, t) {
49
- return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
47
+ let ge;
48
+ function Fi(e, t) {
49
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
50
50
  }
51
- function vr(e) {
51
+ function Er(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
54
  function Mt(e, ...t) {
@@ -60,19 +60,19 @@ function Mt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Er(e, t, r) {
63
+ function vr(e, t, r) {
64
64
  e.$$.on_destroy.push(Mt(t, r));
65
65
  }
66
- function me(e) {
67
- return e && fe(e.destroy) ? e.destroy : U;
66
+ function de(e) {
67
+ return e && me(e.destroy) ? e.destroy : U;
68
68
  }
69
- function S(e, t) {
69
+ function x(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
72
  function xr(e, t, r) {
73
73
  const n = Sr(e);
74
74
  if (!n.getElementById(t)) {
75
- const i = I("style");
75
+ const i = P("style");
76
76
  i.id = t, i.textContent = r, Tr(n, i);
77
77
  }
78
78
  }
@@ -87,7 +87,7 @@ function Sr(e) {
87
87
  ) : e.ownerDocument;
88
88
  }
89
89
  function Tr(e, t) {
90
- return S(
90
+ return x(
91
91
  /** @type {Document} */
92
92
  e.head || e,
93
93
  t
@@ -99,32 +99,32 @@ function G(e, t, r) {
99
99
  function L(e) {
100
100
  e.parentNode && e.parentNode.removeChild(e);
101
101
  }
102
- function Fi(e, t) {
102
+ function Gi(e, t) {
103
103
  for (let r = 0; r < e.length; r += 1)
104
104
  e[r] && e[r].d(t);
105
105
  }
106
- function I(e) {
106
+ function P(e) {
107
107
  return document.createElement(e);
108
108
  }
109
- function Gi(e) {
109
+ function $i(e) {
110
110
  return document.createElementNS("http://www.w3.org/2000/svg", e);
111
111
  }
112
112
  function M(e) {
113
113
  return document.createTextNode(e);
114
114
  }
115
- function J() {
115
+ function W() {
116
116
  return M(" ");
117
117
  }
118
118
  function Ar() {
119
119
  return M("");
120
120
  }
121
- function Ue(e, t, r, n) {
121
+ function Ge(e, t, r, n) {
122
122
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
123
  }
124
124
  function y(e, t, r) {
125
125
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
126
126
  }
127
- function $i(e, t, r) {
127
+ function ji(e, t, r) {
128
128
  const n = t.toLowerCase();
129
129
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : y(e, t, r);
130
130
  }
@@ -135,31 +135,31 @@ function $(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function Fe(e, t, r, n) {
138
+ function $e(e, t, r, n) {
139
139
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
140
140
  }
141
- let ge;
141
+ let pe;
142
142
  function Cr() {
143
- if (ge === void 0) {
144
- ge = !1;
143
+ if (pe === void 0) {
144
+ pe = !1;
145
145
  try {
146
146
  typeof window != "undefined" && window.parent && window.parent.document;
147
147
  } catch (e) {
148
- ge = !0;
148
+ pe = !0;
149
149
  }
150
150
  }
151
- return ge;
151
+ return pe;
152
152
  }
153
- function ji(e, t) {
153
+ function Vi(e, t) {
154
154
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
155
- const n = I("iframe");
155
+ const n = P("iframe");
156
156
  n.setAttribute(
157
157
  "style",
158
158
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
159
159
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
160
160
  const i = Cr();
161
161
  let s;
162
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ue(
162
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ge(
163
163
  window,
164
164
  "message",
165
165
  /** @param {MessageEvent} event */
@@ -167,12 +167,12 @@ function ji(e, t) {
167
167
  a.source === n.contentWindow && t();
168
168
  }
169
169
  )) : (n.src = "about:blank", n.onload = () => {
170
- s = Ue(n.contentWindow, "resize", t), t();
171
- }), S(e, n), () => {
170
+ s = Ge(n.contentWindow, "resize", t), t();
171
+ }), x(e, n), () => {
172
172
  (i || s && n.contentWindow) && s(), L(n);
173
173
  };
174
174
  }
175
- function Vi(e, t, r) {
175
+ function zi(e, t, r) {
176
176
  e.classList.toggle(t, !!r);
177
177
  }
178
178
  function Br(e) {
@@ -184,90 +184,90 @@ function Br(e) {
184
184
  }
185
185
  ), t;
186
186
  }
187
- let le;
188
- function ue(e) {
189
- le = e;
187
+ let he;
188
+ function le(e) {
189
+ he = e;
190
190
  }
191
191
  function wr() {
192
- if (!le)
192
+ if (!he)
193
193
  throw new Error("Function called outside component initialization");
194
- return le;
194
+ return he;
195
195
  }
196
- function Nr(e) {
196
+ function Or(e) {
197
197
  wr().$$.on_mount.push(e);
198
198
  }
199
- const Q = [], Ge = [];
200
- let Y = [];
201
- const ct = [], Ir = /* @__PURE__ */ Promise.resolve();
202
- let $e = !1;
203
- function Or() {
204
- $e || ($e = !0, Ir.then(w));
199
+ const Y = [], je = [];
200
+ let K = [];
201
+ const ct = [], Pr = /* @__PURE__ */ Promise.resolve();
202
+ let Ve = !1;
203
+ function Nr() {
204
+ Ve || (Ve = !0, Pr.then(w));
205
205
  }
206
- function je(e) {
207
- Y.push(e);
206
+ function ze(e) {
207
+ K.push(e);
208
208
  }
209
- const Oe = /* @__PURE__ */ new Set();
210
- let Z = 0;
209
+ const Me = /* @__PURE__ */ new Set();
210
+ let q = 0;
211
211
  function w() {
212
- if (Z !== 0)
212
+ if (q !== 0)
213
213
  return;
214
- const e = le;
214
+ const e = he;
215
215
  do {
216
216
  try {
217
- for (; Z < Q.length; ) {
218
- const t = Q[Z];
219
- Z++, ue(t), Pr(t.$$);
217
+ for (; q < Y.length; ) {
218
+ const t = Y[q];
219
+ q++, le(t), Ir(t.$$);
220
220
  }
221
221
  } catch (t) {
222
- throw Q.length = 0, Z = 0, t;
222
+ throw Y.length = 0, q = 0, t;
223
223
  }
224
- for (ue(null), Q.length = 0, Z = 0; Ge.length; )
225
- Ge.pop()();
226
- for (let t = 0; t < Y.length; t += 1) {
227
- const r = Y[t];
228
- Oe.has(r) || (Oe.add(r), r());
224
+ for (le(null), Y.length = 0, q = 0; je.length; )
225
+ je.pop()();
226
+ for (let t = 0; t < K.length; t += 1) {
227
+ const r = K[t];
228
+ Me.has(r) || (Me.add(r), r());
229
229
  }
230
- Y.length = 0;
231
- } while (Q.length);
230
+ K.length = 0;
231
+ } while (Y.length);
232
232
  for (; ct.length; )
233
233
  ct.pop()();
234
- $e = !1, Oe.clear(), ue(e);
234
+ Ve = !1, Me.clear(), le(e);
235
235
  }
236
- function Pr(e) {
236
+ function Ir(e) {
237
237
  if (e.fragment !== null) {
238
- e.update(), ne(e.before_update);
238
+ e.update(), ie(e.before_update);
239
239
  const t = e.dirty;
240
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
240
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
241
241
  }
242
242
  }
243
243
  function Mr(e) {
244
244
  const t = [], r = [];
245
- Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
245
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
246
246
  }
247
247
  const Rr = /* @__PURE__ */ new Set();
248
248
  function Lr(e, t) {
249
249
  e && e.i && (Rr.delete(e), e.i(t));
250
250
  }
251
- function zi(e) {
251
+ function Ji(e) {
252
252
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
253
253
  }
254
254
  function Dr(e, t, r) {
255
255
  const { fragment: n, after_update: i } = e.$$;
256
- n && n.m(t, r), je(() => {
257
- const s = e.$$.on_mount.map(Ot).filter(fe);
258
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
259
- }), i.forEach(je);
256
+ n && n.m(t, r), ze(() => {
257
+ const s = e.$$.on_mount.map(Nt).filter(me);
258
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
259
+ }), i.forEach(ze);
260
260
  }
261
261
  function kr(e, t) {
262
262
  const r = e.$$;
263
- r.fragment !== null && (Mr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
263
+ r.fragment !== null && (Mr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
264
264
  }
265
265
  function Ur(e, t) {
266
- e.$$.dirty[0] === -1 && (Q.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
266
+ e.$$.dirty[0] === -1 && (Y.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
267
267
  }
268
268
  function Fr(e, t, r, n, i, s, a = null, o = [-1]) {
269
- const l = le;
270
- ue(e);
269
+ const l = he;
270
+ le(e);
271
271
  const u = e.$$ = {
272
272
  fragment: null,
273
273
  ctx: [],
@@ -291,10 +291,10 @@ function Fr(e, t, r, n, i, s, a = null, o = [-1]) {
291
291
  };
292
292
  a && a(u.root);
293
293
  let h = !1;
294
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...v) => {
295
- const d = v.length ? v[0] : f;
294
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...E) => {
295
+ const d = E.length ? E[0] : f;
296
296
  return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Ur(e, c)), f;
297
- }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
297
+ }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
298
298
  if (t.hydrate) {
299
299
  const c = Hr(t.target);
300
300
  u.fragment && u.fragment.l(c), c.forEach(L);
@@ -302,7 +302,7 @@ function Fr(e, t, r, n, i, s, a = null, o = [-1]) {
302
302
  u.fragment && u.fragment.c();
303
303
  t.intro && Lr(e.$$.fragment), Dr(e, t.target, t.anchor), w();
304
304
  }
305
- ue(l);
305
+ le(l);
306
306
  }
307
307
  let Rt;
308
308
  typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
@@ -349,7 +349,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
349
349
  let a;
350
350
  return {
351
351
  c: function() {
352
- a = I("slot"), s !== "default" && y(a, "name", s);
352
+ a = P("slot"), s !== "default" && y(a, "name", s);
353
353
  },
354
354
  /**
355
355
  * @param {HTMLElement} target
@@ -371,7 +371,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
371
371
  s in n && (r[s] = [t(s)]);
372
372
  for (const s of this.attributes) {
373
373
  const a = this.$$g_p(s.name);
374
- a in this.$$d || (this.$$d[a] = ye(a, s.value, this.$$p_d, "toProp"));
374
+ a in this.$$d || (this.$$d[a] = _e(a, s.value, this.$$p_d, "toProp"));
375
375
  }
376
376
  for (const s in this.$$p_d)
377
377
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
388
388
  this.$$r = !0;
389
389
  for (const s in this.$$p_d)
390
390
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
391
- const a = ye(
391
+ const a = _e(
392
392
  s,
393
393
  this.$$d[s],
394
394
  this.$$p_d,
@@ -412,7 +412,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
412
412
  // and setting attributes through setAttribute etc, this is helpful
413
413
  attributeChangedCallback(t, r, n) {
414
414
  var i;
415
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
415
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
416
416
  }
417
417
  disconnectedCallback() {
418
418
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -425,7 +425,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
425
425
  ) || t;
426
426
  }
427
427
  });
428
- function ye(e, t, r, n) {
428
+ function _e(e, t, r, n) {
429
429
  var s;
430
430
  const i = (s = r[e]) == null ? void 0 : s.type;
431
431
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -473,7 +473,7 @@ function Gr(e, t, r, n, i, s) {
473
473
  },
474
474
  set(l) {
475
475
  var u;
476
- l = ye(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
476
+ l = _e(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
477
477
  }
478
478
  });
479
479
  }), n.forEach((o) => {
@@ -516,7 +516,7 @@ class $r {
516
516
  * @returns {() => void}
517
517
  */
518
518
  $on(t, r) {
519
- if (!fe(r))
519
+ if (!me(r))
520
520
  return U;
521
521
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
522
522
  return n.push(r), () => {
@@ -529,117 +529,29 @@ class $r {
529
529
  * @returns {void}
530
530
  */
531
531
  $set(t) {
532
- this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
532
+ this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
533
533
  }
534
534
  }
535
535
  const jr = "4";
536
536
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
537
- /*! *****************************************************************************
538
- Copyright (c) Microsoft Corporation.
539
-
540
- Permission to use, copy, modify, and/or distribute this software for any
541
- purpose with or without fee is hereby granted.
542
-
543
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
544
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
545
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
546
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
547
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
548
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
549
- PERFORMANCE OF THIS SOFTWARE.
550
- ***************************************************************************** */
551
- var Ve = function(e, t) {
552
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
553
- r.__proto__ = n;
554
- } || function(r, n) {
555
- for (var i in n)
556
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
557
- }, Ve(e, t);
558
- };
559
- function Se(e, t) {
560
- if (typeof t != "function" && t !== null)
561
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
562
- Ve(e, t);
563
- function r() {
564
- this.constructor = e;
565
- }
566
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
567
- }
568
- var x = function() {
569
- return x = Object.assign || function(t) {
570
- for (var r, n = 1, i = arguments.length; n < i; n++) {
571
- r = arguments[n];
572
- for (var s in r)
573
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
574
- }
575
- return t;
576
- }, x.apply(this, arguments);
577
- };
537
+ const Q = [];
578
538
  function Vr(e, t) {
579
- var r = {};
580
- for (var n in e)
581
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
582
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
583
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
584
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
585
- return r;
586
- }
587
- function Ji(e) {
588
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
589
- if (r)
590
- return r.call(e);
591
- if (e && typeof e.length == "number")
592
- return {
593
- next: function() {
594
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
595
- }
596
- };
597
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
598
- }
599
- function Wi(e, t) {
600
- var r = typeof Symbol == "function" && e[Symbol.iterator];
601
- if (!r)
602
- return e;
603
- var n = r.call(e), i, s = [], a;
604
- try {
605
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
606
- s.push(i.value);
607
- } catch (o) {
608
- a = { error: o };
609
- } finally {
610
- try {
611
- i && !i.done && (r = n.return) && r.call(n);
612
- } finally {
613
- if (a)
614
- throw a.error;
615
- }
616
- }
617
- return s;
618
- }
619
- function Pe(e, t, r) {
620
- if (r || arguments.length === 2)
621
- for (var n = 0, i = t.length, s; n < i; n++)
622
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
623
- return e.concat(s || t);
624
- }
625
- const q = [];
626
- function zr(e, t) {
627
539
  return {
628
- subscribe: Te(e, t).subscribe
540
+ subscribe: Ae(e, t).subscribe
629
541
  };
630
542
  }
631
- function Te(e, t = U) {
543
+ function Ae(e, t = U) {
632
544
  let r;
633
545
  const n = /* @__PURE__ */ new Set();
634
546
  function i(o) {
635
- if (Pt(e, o) && (e = o, r)) {
636
- const l = !q.length;
547
+ if (It(e, o) && (e = o, r)) {
548
+ const l = !Q.length;
637
549
  for (const u of n)
638
- u[1](), q.push(u, e);
550
+ u[1](), Q.push(u, e);
639
551
  if (l) {
640
- for (let u = 0; u < q.length; u += 2)
641
- q[u][0](q[u + 1]);
642
- q.length = 0;
552
+ for (let u = 0; u < Q.length; u += 2)
553
+ Q[u][0](Q[u + 1]);
554
+ Q.length = 0;
643
555
  }
644
556
  }
645
557
  }
@@ -654,12 +566,12 @@ function Te(e, t = U) {
654
566
  }
655
567
  return { set: i, update: s, subscribe: a };
656
568
  }
657
- function ie(e, t, r) {
569
+ function se(e, t, r) {
658
570
  const n = !Array.isArray(e), i = n ? [e] : e;
659
571
  if (!i.every(Boolean))
660
572
  throw new Error("derived() expects stores as input, got a falsy value");
661
573
  const s = t.length < 2;
662
- return zr(r, (a, o) => {
574
+ return Vr(r, (a, o) => {
663
575
  let l = !1;
664
576
  const u = [];
665
577
  let h = 0, c = U;
@@ -668,8 +580,8 @@ function ie(e, t, r) {
668
580
  return;
669
581
  c();
670
582
  const d = t(n ? u[0] : u, a, o);
671
- s ? a(d) : c = fe(d) ? d : U;
672
- }, v = i.map(
583
+ s ? a(d) : c = me(d) ? d : U;
584
+ }, E = i.map(
673
585
  (d, b) => Mt(
674
586
  d,
675
587
  (g) => {
@@ -681,51 +593,51 @@ function ie(e, t, r) {
681
593
  )
682
594
  );
683
595
  return l = !0, f(), function() {
684
- ne(v), c(), l = !1;
596
+ ie(E), c(), l = !1;
685
597
  };
686
598
  });
687
599
  }
688
- function Jr(e) {
600
+ function zr(e) {
689
601
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
690
602
  }
691
- var Wr = function(t) {
692
- return Xr(t) && !Zr(t);
603
+ var Jr = function(t) {
604
+ return Wr(t) && !Xr(t);
693
605
  };
694
- function Xr(e) {
606
+ function Wr(e) {
695
607
  return !!e && typeof e == "object";
696
608
  }
697
- function Zr(e) {
609
+ function Xr(e) {
698
610
  var t = Object.prototype.toString.call(e);
699
- return t === "[object RegExp]" || t === "[object Date]" || Yr(e);
611
+ return t === "[object RegExp]" || t === "[object Date]" || Qr(e);
700
612
  }
701
- var qr = typeof Symbol == "function" && Symbol.for, Qr = qr ? Symbol.for("react.element") : 60103;
702
- function Yr(e) {
703
- return e.$$typeof === Qr;
613
+ var Zr = typeof Symbol == "function" && Symbol.for, qr = Zr ? Symbol.for("react.element") : 60103;
614
+ function Qr(e) {
615
+ return e.$$typeof === qr;
704
616
  }
705
- function Kr(e) {
617
+ function Yr(e) {
706
618
  return Array.isArray(e) ? [] : {};
707
619
  }
708
- function he(e, t) {
709
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Kr(e), e, t) : e;
620
+ function ce(e, t) {
621
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Yr(e), e, t) : e;
710
622
  }
711
- function en(e, t, r) {
623
+ function Kr(e, t, r) {
712
624
  return e.concat(t).map(function(n) {
713
- return he(n, r);
625
+ return ce(n, r);
714
626
  });
715
627
  }
716
- function tn(e, t) {
628
+ function en(e, t) {
717
629
  if (!t.customMerge)
718
- return K;
630
+ return ee;
719
631
  var r = t.customMerge(e);
720
- return typeof r == "function" ? r : K;
632
+ return typeof r == "function" ? r : ee;
721
633
  }
722
- function rn(e) {
634
+ function tn(e) {
723
635
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
724
636
  return Object.propertyIsEnumerable.call(e, t);
725
637
  }) : [];
726
638
  }
727
639
  function ft(e) {
728
- return Object.keys(e).concat(rn(e));
640
+ return Object.keys(e).concat(tn(e));
729
641
  }
730
642
  function Lt(e, t) {
731
643
  try {
@@ -734,33 +646,75 @@ function Lt(e, t) {
734
646
  return !1;
735
647
  }
736
648
  }
737
- function nn(e, t) {
649
+ function rn(e, t) {
738
650
  return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
739
651
  }
740
- function sn(e, t, r) {
652
+ function nn(e, t, r) {
741
653
  var n = {};
742
654
  return r.isMergeableObject(e) && ft(e).forEach(function(i) {
743
- n[i] = he(e[i], r);
655
+ n[i] = ce(e[i], r);
744
656
  }), ft(t).forEach(function(i) {
745
- nn(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
657
+ rn(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = en(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
746
658
  }), n;
747
659
  }
748
- function K(e, t, r) {
749
- r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = he;
660
+ function ee(e, t, r) {
661
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = ce;
750
662
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
751
- return s ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : he(t, r);
663
+ return s ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : ce(t, r);
752
664
  }
753
- K.all = function(t, r) {
665
+ ee.all = function(t, r) {
754
666
  if (!Array.isArray(t))
755
667
  throw new Error("first argument should be an array");
756
668
  return t.reduce(function(n, i) {
757
- return K(n, i, r);
669
+ return ee(n, i, r);
758
670
  }, {});
759
671
  };
760
- var an = K, on = an;
761
- const un = /* @__PURE__ */ Jr(on);
762
- function Me(e, t) {
763
- var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : hn;
672
+ var sn = ee, an = sn;
673
+ const on = /* @__PURE__ */ zr(an);
674
+ var Je = function(e, t) {
675
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
676
+ r.__proto__ = n;
677
+ } || function(r, n) {
678
+ for (var i in n)
679
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
680
+ }, Je(e, t);
681
+ };
682
+ function He(e, t) {
683
+ if (typeof t != "function" && t !== null)
684
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
685
+ Je(e, t);
686
+ function r() {
687
+ this.constructor = e;
688
+ }
689
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
690
+ }
691
+ var j = function() {
692
+ return j = Object.assign || function(t) {
693
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
694
+ r = arguments[n];
695
+ for (var s in r)
696
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
697
+ }
698
+ return t;
699
+ }, j.apply(this, arguments);
700
+ };
701
+ function un(e, t) {
702
+ var r = {};
703
+ for (var n in e)
704
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
705
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
706
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
707
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
708
+ return r;
709
+ }
710
+ function Re(e, t, r) {
711
+ if (r || arguments.length === 2)
712
+ for (var n = 0, i = t.length, s; n < i; n++)
713
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
714
+ return e.concat(s || Array.prototype.slice.call(t));
715
+ }
716
+ function Le(e, t) {
717
+ var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : cn;
764
718
  return i(e, {
765
719
  cache: r,
766
720
  serializer: n
@@ -769,95 +723,103 @@ function Me(e, t) {
769
723
  function ln(e) {
770
724
  return e == null || typeof e == "number" || typeof e == "boolean";
771
725
  }
772
- function Dt(e, t, r, n) {
726
+ function hn(e, t, r, n) {
773
727
  var i = ln(n) ? n : r(n), s = t.get(i);
774
728
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
775
729
  }
776
- function kt(e, t, r) {
730
+ function Dt(e, t, r) {
777
731
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
778
732
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
779
733
  }
780
- function Ke(e, t, r, n, i) {
734
+ function kt(e, t, r, n, i) {
781
735
  return r.bind(t, e, n, i);
782
736
  }
783
- function hn(e, t) {
784
- var r = e.length === 1 ? Dt : kt;
785
- return Ke(e, this, r, t.cache.create(), t.serializer);
786
- }
787
737
  function cn(e, t) {
788
- return Ke(e, this, kt, t.cache.create(), t.serializer);
738
+ var r = e.length === 1 ? hn : Dt;
739
+ return kt(e, this, r, t.cache.create(), t.serializer);
789
740
  }
790
741
  function fn(e, t) {
791
- return Ke(e, this, Dt, t.cache.create(), t.serializer);
742
+ return kt(e, this, Dt, t.cache.create(), t.serializer);
792
743
  }
793
744
  var mn = function() {
794
745
  return JSON.stringify(arguments);
795
- };
796
- function et() {
797
- this.cache = /* @__PURE__ */ Object.create(null);
798
- }
799
- et.prototype.get = function(e) {
800
- return this.cache[e];
801
- };
802
- et.prototype.set = function(e, t) {
803
- this.cache[e] = t;
804
- };
805
- var dn = {
746
+ }, dn = (
747
+ /** @class */
748
+ function() {
749
+ function e() {
750
+ this.cache = /* @__PURE__ */ Object.create(null);
751
+ }
752
+ return e.prototype.get = function(t) {
753
+ return this.cache[t];
754
+ }, e.prototype.set = function(t, r) {
755
+ this.cache[t] = r;
756
+ }, e;
757
+ }()
758
+ ), bn = {
806
759
  create: function() {
807
- return new et();
760
+ return new dn();
808
761
  }
809
- }, Re = {
810
- variadic: cn,
811
- monadic: fn
812
- }, _;
762
+ }, De = {
763
+ variadic: fn
764
+ }, xe = function() {
765
+ return xe = Object.assign || function(t) {
766
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
767
+ r = arguments[n];
768
+ for (var s in r)
769
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
770
+ }
771
+ return t;
772
+ }, xe.apply(this, arguments);
773
+ };
774
+ var _;
813
775
  (function(e) {
814
776
  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";
815
777
  })(_ || (_ = {}));
816
- var A;
778
+ var T;
817
779
  (function(e) {
818
780
  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";
819
- })(A || (A = {}));
820
- var ee;
781
+ })(T || (T = {}));
782
+ var te;
821
783
  (function(e) {
822
784
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
823
- })(ee || (ee = {}));
785
+ })(te || (te = {}));
824
786
  function mt(e) {
825
- return e.type === A.literal;
787
+ return e.type === T.literal;
826
788
  }
827
- function bn(e) {
828
- return e.type === A.argument;
789
+ function gn(e) {
790
+ return e.type === T.argument;
829
791
  }
830
792
  function Ut(e) {
831
- return e.type === A.number;
793
+ return e.type === T.number;
832
794
  }
833
795
  function Ft(e) {
834
- return e.type === A.date;
796
+ return e.type === T.date;
835
797
  }
836
798
  function Gt(e) {
837
- return e.type === A.time;
799
+ return e.type === T.time;
838
800
  }
839
801
  function $t(e) {
840
- return e.type === A.select;
802
+ return e.type === T.select;
841
803
  }
842
804
  function jt(e) {
843
- return e.type === A.plural;
805
+ return e.type === T.plural;
844
806
  }
845
- function gn(e) {
846
- return e.type === A.pound;
807
+ function pn(e) {
808
+ return e.type === T.pound;
847
809
  }
848
810
  function Vt(e) {
849
- return e.type === A.tag;
811
+ return e.type === T.tag;
850
812
  }
851
813
  function zt(e) {
852
- return !!(e && typeof e == "object" && e.type === ee.number);
814
+ return !!(e && typeof e == "object" && e.type === te.number);
853
815
  }
854
- function ze(e) {
855
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
816
+ function We(e) {
817
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
856
818
  }
857
- var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
858
- function yn(e) {
819
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
820
+ function _n(e) {
859
821
  var t = {};
860
- return e.replace(pn, function(r) {
822
+ return e.replace(yn, function(r) {
861
823
  var n = r.length;
862
824
  switch (r[0]) {
863
825
  case "G":
@@ -946,11 +908,21 @@ function yn(e) {
946
908
  return "";
947
909
  }), t;
948
910
  }
949
- var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
911
+ var A = function() {
912
+ return A = Object.assign || function(t) {
913
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
914
+ r = arguments[n];
915
+ for (var s in r)
916
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
917
+ }
918
+ return t;
919
+ }, A.apply(this, arguments);
920
+ };
921
+ var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
950
922
  function vn(e) {
951
923
  if (e.length === 0)
952
924
  throw new Error("Number skeleton cannot be empty");
953
- for (var t = e.split(_n).filter(function(f) {
925
+ for (var t = e.split(En).filter(function(f) {
954
926
  return f.length > 0;
955
927
  }), r = [], n = 0, i = t; n < i.length; n++) {
956
928
  var s = i[n], a = s.split("/");
@@ -965,10 +937,10 @@ function vn(e) {
965
937
  }
966
938
  return r;
967
939
  }
968
- function En(e) {
940
+ function xn(e) {
969
941
  return e.replace(/^(.*?)-/, "");
970
942
  }
971
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
943
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
972
944
  function bt(e) {
973
945
  var t = {};
974
946
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
@@ -1015,7 +987,7 @@ function Zt(e) {
1015
987
  };
1016
988
  }
1017
989
  }
1018
- function Sn(e) {
990
+ function Tn(e) {
1019
991
  var t;
1020
992
  if (e[0] === "E" && e[1] === "E" ? (t = {
1021
993
  notation: "engineering"
@@ -1033,7 +1005,7 @@ function gt(e) {
1033
1005
  var t = {}, r = Zt(e);
1034
1006
  return r || t;
1035
1007
  }
1036
- function Tn(e) {
1008
+ function An(e) {
1037
1009
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1038
1010
  var i = n[r];
1039
1011
  switch (i.stem) {
@@ -1057,7 +1029,7 @@ function Tn(e) {
1057
1029
  continue;
1058
1030
  case "measure-unit":
1059
1031
  case "unit":
1060
- t.style = "unit", t.unit = En(i.options[0]);
1032
+ t.style = "unit", t.unit = xn(i.options[0]);
1061
1033
  continue;
1062
1034
  case "compact-short":
1063
1035
  case "K":
@@ -1068,13 +1040,13 @@ function Tn(e) {
1068
1040
  t.notation = "compact", t.compactDisplay = "long";
1069
1041
  continue;
1070
1042
  case "scientific":
1071
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1072
- return x(x({}, l), gt(u));
1043
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1044
+ return A(A({}, l), gt(u));
1073
1045
  }, {}));
1074
1046
  continue;
1075
1047
  case "engineering":
1076
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1077
- return x(x({}, l), gt(u));
1048
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1049
+ return A(A({}, l), gt(u));
1078
1050
  }, {}));
1079
1051
  continue;
1080
1052
  case "notation-simple":
@@ -1119,13 +1091,13 @@ function Tn(e) {
1119
1091
  case "integer-width":
1120
1092
  if (i.options.length > 1)
1121
1093
  throw new RangeError("integer-width stems only accept a single optional option");
1122
- i.options[0].replace(xn, function(l, u, h, c, f, v) {
1094
+ i.options[0].replace(Sn, function(l, u, h, c, f, E) {
1123
1095
  if (u)
1124
1096
  t.minimumIntegerDigits = h.length;
1125
1097
  else {
1126
1098
  if (c && f)
1127
1099
  throw new Error("We currently do not support maximum integer digits");
1128
- if (v)
1100
+ if (E)
1129
1101
  throw new Error("We currently do not support exact integer digits");
1130
1102
  }
1131
1103
  return "";
@@ -1139,25 +1111,25 @@ function Tn(e) {
1139
1111
  if (dt.test(i.stem)) {
1140
1112
  if (i.options.length > 1)
1141
1113
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1142
- i.stem.replace(dt, function(l, u, h, c, f, v) {
1143
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1114
+ i.stem.replace(dt, function(l, u, h, c, f, E) {
1115
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && E ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1144
1116
  });
1145
1117
  var s = i.options[0];
1146
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), bt(s)));
1118
+ s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), bt(s)));
1147
1119
  continue;
1148
1120
  }
1149
1121
  if (Wt.test(i.stem)) {
1150
- t = x(x({}, t), bt(i.stem));
1122
+ t = A(A({}, t), bt(i.stem));
1151
1123
  continue;
1152
1124
  }
1153
1125
  var a = Zt(i.stem);
1154
- a && (t = x(x({}, t), a));
1155
- var o = Sn(i.stem);
1156
- o && (t = x(x({}, t), o));
1126
+ a && (t = A(A({}, t), a));
1127
+ var o = Tn(i.stem);
1128
+ o && (t = A(A({}, t), o));
1157
1129
  }
1158
1130
  return t;
1159
1131
  }
1160
- var pe = {
1132
+ var ye = {
1161
1133
  "001": [
1162
1134
  "H",
1163
1135
  "h"
@@ -2572,13 +2544,13 @@ var pe = {
2572
2544
  "h"
2573
2545
  ]
2574
2546
  };
2575
- function An(e, t) {
2547
+ function Hn(e, t) {
2576
2548
  for (var r = "", n = 0; n < e.length; n++) {
2577
2549
  var i = e.charAt(n);
2578
2550
  if (i === "j") {
2579
2551
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2580
2552
  s++, n++;
2581
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Hn(t);
2553
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Cn(t);
2582
2554
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2583
2555
  r += l;
2584
2556
  for (; a-- > 0; )
@@ -2588,7 +2560,7 @@ function An(e, t) {
2588
2560
  }
2589
2561
  return r;
2590
2562
  }
2591
- function Hn(e) {
2563
+ function Cn(e) {
2592
2564
  var t = e.hourCycle;
2593
2565
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2594
2566
  e.hourCycles && // @ts-ignore
@@ -2607,23 +2579,23 @@ function Hn(e) {
2607
2579
  }
2608
2580
  var r = e.language, n;
2609
2581
  r !== "root" && (n = e.maximize().region);
2610
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2582
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2611
2583
  return i[0];
2612
2584
  }
2613
- var Le, Cn = new RegExp("^".concat(Jt.source, "*")), Bn = new RegExp("".concat(Jt.source, "*$"));
2614
- function E(e, t) {
2585
+ var ke, Bn = new RegExp("^".concat(Jt.source, "*")), wn = new RegExp("".concat(Jt.source, "*$"));
2586
+ function v(e, t) {
2615
2587
  return { start: e, end: t };
2616
2588
  }
2617
- var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, In = !!Object.fromEntries, On = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Ln = Rn ? Number.isSafeInteger : function(e) {
2589
+ var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, Nn = !!Object.fromEntries, In = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Dn = Ln ? Number.isSafeInteger : function(e) {
2618
2590
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2619
- }, Je = !0;
2591
+ }, Xe = !0;
2620
2592
  try {
2621
- var Dn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2622
- Je = ((Le = Dn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2593
+ var kn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2594
+ Xe = ((ke = kn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2623
2595
  } catch (e) {
2624
- Je = !1;
2596
+ Xe = !1;
2625
2597
  }
2626
- var pt = wn ? (
2598
+ var pt = On ? (
2627
2599
  // Native
2628
2600
  function(t, r, n) {
2629
2601
  return t.startsWith(r, n);
@@ -2633,7 +2605,7 @@ var pt = wn ? (
2633
2605
  function(t, r, n) {
2634
2606
  return t.slice(n, n + r.length) === r;
2635
2607
  }
2636
- ), We = Nn ? String.fromCodePoint : (
2608
+ ), Ze = Pn ? String.fromCodePoint : (
2637
2609
  // IE11
2638
2610
  function() {
2639
2611
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2647,7 +2619,7 @@ var pt = wn ? (
2647
2619
  }
2648
2620
  ), yt = (
2649
2621
  // native
2650
- In ? Object.fromEntries : (
2622
+ Nn ? Object.fromEntries : (
2651
2623
  // Ponyfill
2652
2624
  function(t) {
2653
2625
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2657,7 +2629,7 @@ var pt = wn ? (
2657
2629
  return r;
2658
2630
  }
2659
2631
  )
2660
- ), qt = On ? (
2632
+ ), qt = In ? (
2661
2633
  // Native
2662
2634
  function(t, r) {
2663
2635
  return t.codePointAt(r);
@@ -2671,7 +2643,7 @@ var pt = wn ? (
2671
2643
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2672
2644
  }
2673
2645
  }
2674
- ), kn = Pn ? (
2646
+ ), Un = Mn ? (
2675
2647
  // Native
2676
2648
  function(t) {
2677
2649
  return t.trimStart();
@@ -2679,9 +2651,9 @@ var pt = wn ? (
2679
2651
  ) : (
2680
2652
  // Ponyfill
2681
2653
  function(t) {
2682
- return t.replace(Cn, "");
2654
+ return t.replace(Bn, "");
2683
2655
  }
2684
- ), Un = Mn ? (
2656
+ ), Fn = Rn ? (
2685
2657
  // Native
2686
2658
  function(t) {
2687
2659
  return t.trimEnd();
@@ -2689,32 +2661,32 @@ var pt = wn ? (
2689
2661
  ) : (
2690
2662
  // Ponyfill
2691
2663
  function(t) {
2692
- return t.replace(Bn, "");
2664
+ return t.replace(wn, "");
2693
2665
  }
2694
2666
  );
2695
2667
  function Qt(e, t) {
2696
2668
  return new RegExp(e, t);
2697
2669
  }
2698
- var Xe;
2699
- if (Je) {
2670
+ var qe;
2671
+ if (Xe) {
2700
2672
  var _t = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2701
- Xe = function(t, r) {
2673
+ qe = function(t, r) {
2702
2674
  var n;
2703
2675
  _t.lastIndex = r;
2704
2676
  var i = _t.exec(t);
2705
2677
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2706
2678
  };
2707
2679
  } else
2708
- Xe = function(t, r) {
2680
+ qe = function(t, r) {
2709
2681
  for (var n = []; ; ) {
2710
2682
  var i = qt(t, r);
2711
- if (i === void 0 || Yt(i) || jn(i))
2683
+ if (i === void 0 || Yt(i) || Vn(i))
2712
2684
  break;
2713
2685
  n.push(i), r += i >= 65536 ? 2 : 1;
2714
2686
  }
2715
- return We.apply(void 0, n);
2687
+ return Ze.apply(void 0, n);
2716
2688
  };
2717
- var Fn = (
2689
+ var Gn = (
2718
2690
  /** @class */
2719
2691
  function() {
2720
2692
  function e(t, r) {
@@ -2738,14 +2710,14 @@ var Fn = (
2738
2710
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2739
2711
  var o = this.clonePosition();
2740
2712
  this.bump(), i.push({
2741
- type: A.pound,
2742
- location: E(o, this.clonePosition())
2713
+ type: T.pound,
2714
+ location: v(o, this.clonePosition())
2743
2715
  });
2744
2716
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2745
2717
  if (n)
2746
2718
  break;
2747
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2748
- } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2719
+ return this.error(_.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2720
+ } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2749
2721
  var a = this.parseTag(t, r);
2750
2722
  if (a.err)
2751
2723
  return a;
@@ -2766,9 +2738,9 @@ var Fn = (
2766
2738
  if (this.bumpSpace(), this.bumpIf("/>"))
2767
2739
  return {
2768
2740
  val: {
2769
- type: A.literal,
2741
+ type: T.literal,
2770
2742
  value: "<".concat(i, "/>"),
2771
- location: E(n, this.clonePosition())
2743
+ location: v(n, this.clonePosition())
2772
2744
  },
2773
2745
  err: null
2774
2746
  };
@@ -2778,25 +2750,25 @@ var Fn = (
2778
2750
  return s;
2779
2751
  var a = s.val, o = this.clonePosition();
2780
2752
  if (this.bumpIf("</")) {
2781
- if (this.isEOF() || !Ze(this.char()))
2782
- return this.error(_.INVALID_TAG, E(o, this.clonePosition()));
2753
+ if (this.isEOF() || !Qe(this.char()))
2754
+ return this.error(_.INVALID_TAG, v(o, this.clonePosition()));
2783
2755
  var l = this.clonePosition(), u = this.parseTagName();
2784
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2756
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2785
2757
  val: {
2786
- type: A.tag,
2758
+ type: T.tag,
2787
2759
  value: i,
2788
2760
  children: a,
2789
- location: E(n, this.clonePosition())
2761
+ location: v(n, this.clonePosition())
2790
2762
  },
2791
2763
  err: null
2792
- } : this.error(_.INVALID_TAG, E(o, this.clonePosition())));
2764
+ } : this.error(_.INVALID_TAG, v(o, this.clonePosition())));
2793
2765
  } else
2794
- return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
2766
+ return this.error(_.UNCLOSED_TAG, v(n, this.clonePosition()));
2795
2767
  } else
2796
- return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
2768
+ return this.error(_.INVALID_TAG, v(n, this.clonePosition()));
2797
2769
  }, e.prototype.parseTagName = function() {
2798
2770
  var t = this.offset();
2799
- for (this.bump(); !this.isEOF() && $n(this.char()); )
2771
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
2800
2772
  this.bump();
2801
2773
  return this.message.slice(t, this.offset());
2802
2774
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2818,14 +2790,14 @@ var Fn = (
2818
2790
  }
2819
2791
  break;
2820
2792
  }
2821
- var l = E(n, this.clonePosition());
2793
+ var l = v(n, this.clonePosition());
2822
2794
  return {
2823
- val: { type: A.literal, value: i, location: l },
2795
+ val: { type: T.literal, value: i, location: l },
2824
2796
  err: null
2825
2797
  };
2826
2798
  }, e.prototype.tryParseLeftAngleBracket = function() {
2827
2799
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2828
- !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
2800
+ !$n(this.peek() || 0)) ? (this.bump(), "<") : null;
2829
2801
  }, e.prototype.tryParseQuote = function(t) {
2830
2802
  if (this.isEOF() || this.char() !== 39)
2831
2803
  return null;
@@ -2859,49 +2831,49 @@ var Fn = (
2859
2831
  r.push(n);
2860
2832
  this.bump();
2861
2833
  }
2862
- return We.apply(void 0, r);
2834
+ return Ze.apply(void 0, r);
2863
2835
  }, e.prototype.tryParseUnquoted = function(t, r) {
2864
2836
  if (this.isEOF())
2865
2837
  return null;
2866
2838
  var n = this.char();
2867
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2839
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2868
2840
  }, e.prototype.parseArgument = function(t, r) {
2869
2841
  var n = this.clonePosition();
2870
2842
  if (this.bump(), this.bumpSpace(), this.isEOF())
2871
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2843
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2872
2844
  if (this.char() === 125)
2873
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
2845
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2874
2846
  var i = this.parseIdentifierIfPossible().value;
2875
2847
  if (!i)
2876
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2848
+ return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2877
2849
  if (this.bumpSpace(), this.isEOF())
2878
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2850
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2879
2851
  switch (this.char()) {
2880
2852
  case 125:
2881
2853
  return this.bump(), {
2882
2854
  val: {
2883
- type: A.argument,
2855
+ type: T.argument,
2884
2856
  // value does not include the opening and closing braces.
2885
2857
  value: i,
2886
- location: E(n, this.clonePosition())
2858
+ location: v(n, this.clonePosition())
2887
2859
  },
2888
2860
  err: null
2889
2861
  };
2890
2862
  case 44:
2891
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2863
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2892
2864
  default:
2893
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2865
+ return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2894
2866
  }
2895
2867
  }, e.prototype.parseIdentifierIfPossible = function() {
2896
- var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2868
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2897
2869
  this.bumpTo(i);
2898
- var s = this.clonePosition(), a = E(t, s);
2870
+ var s = this.clonePosition(), a = v(t, s);
2899
2871
  return { value: n, location: a };
2900
2872
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2901
2873
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2902
2874
  switch (o) {
2903
2875
  case "":
2904
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
2876
+ return this.error(_.EXPECT_ARGUMENT_TYPE, v(a, l));
2905
2877
  case "number":
2906
2878
  case "date":
2907
2879
  case "time": {
@@ -2912,44 +2884,44 @@ var Fn = (
2912
2884
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2913
2885
  if (c.err)
2914
2886
  return c;
2915
- var f = Un(c.val);
2887
+ var f = Fn(c.val);
2916
2888
  if (f.length === 0)
2917
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2918
- var v = E(h, this.clonePosition());
2919
- u = { style: f, styleLocation: v };
2889
+ return this.error(_.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2890
+ var E = v(h, this.clonePosition());
2891
+ u = { style: f, styleLocation: E };
2920
2892
  }
2921
2893
  var d = this.tryParseArgumentClose(i);
2922
2894
  if (d.err)
2923
2895
  return d;
2924
- var b = E(i, this.clonePosition());
2896
+ var b = v(i, this.clonePosition());
2925
2897
  if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
2926
- var g = kn(u.style.slice(2));
2898
+ var g = Un(u.style.slice(2));
2927
2899
  if (o === "number") {
2928
2900
  var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
2929
2901
  return c.err ? c : {
2930
- val: { type: A.number, value: n, location: b, style: c.val },
2902
+ val: { type: T.number, value: n, location: b, style: c.val },
2931
2903
  err: null
2932
2904
  };
2933
2905
  } else {
2934
2906
  if (g.length === 0)
2935
2907
  return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
2936
2908
  var p = g;
2937
- this.locale && (p = An(g, this.locale));
2909
+ this.locale && (p = Hn(g, this.locale));
2938
2910
  var f = {
2939
- type: ee.dateTime,
2911
+ type: te.dateTime,
2940
2912
  pattern: p,
2941
2913
  location: u.styleLocation,
2942
- parsedOptions: this.shouldParseSkeletons ? yn(p) : {}
2943
- }, T = o === "date" ? A.date : A.time;
2914
+ parsedOptions: this.shouldParseSkeletons ? _n(p) : {}
2915
+ }, S = o === "date" ? T.date : T.time;
2944
2916
  return {
2945
- val: { type: T, value: n, location: b, style: f },
2917
+ val: { type: S, value: n, location: b, style: f },
2946
2918
  err: null
2947
2919
  };
2948
2920
  }
2949
2921
  }
2950
2922
  return {
2951
2923
  val: {
2952
- type: o === "number" ? A.number : o === "date" ? A.date : A.time,
2924
+ type: o === "number" ? T.number : o === "date" ? T.date : T.time,
2953
2925
  value: n,
2954
2926
  location: b,
2955
2927
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2960,14 +2932,14 @@ var Fn = (
2960
2932
  case "plural":
2961
2933
  case "selectordinal":
2962
2934
  case "select": {
2963
- var N = this.clonePosition();
2935
+ var O = this.clonePosition();
2964
2936
  if (this.bumpSpace(), !this.bumpIf(","))
2965
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(N, x({}, N)));
2937
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, v(O, xe({}, O)));
2966
2938
  this.bumpSpace();
2967
2939
  var H = this.parseIdentifierIfPossible(), C = 0;
2968
2940
  if (o !== "select" && H.value === "offset") {
2969
2941
  if (!this.bumpIf(":"))
2970
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2942
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2971
2943
  this.bumpSpace();
2972
2944
  var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2973
2945
  if (c.err)
@@ -2980,10 +2952,10 @@ var Fn = (
2980
2952
  var d = this.tryParseArgumentClose(i);
2981
2953
  if (d.err)
2982
2954
  return d;
2983
- var D = E(i, this.clonePosition());
2955
+ var D = v(i, this.clonePosition());
2984
2956
  return o === "select" ? {
2985
2957
  val: {
2986
- type: A.select,
2958
+ type: T.select,
2987
2959
  value: n,
2988
2960
  options: yt(F.val),
2989
2961
  location: D
@@ -2991,7 +2963,7 @@ var Fn = (
2991
2963
  err: null
2992
2964
  } : {
2993
2965
  val: {
2994
- type: A.plural,
2966
+ type: T.plural,
2995
2967
  value: n,
2996
2968
  options: yt(F.val),
2997
2969
  offset: C,
@@ -3002,10 +2974,10 @@ var Fn = (
3002
2974
  };
3003
2975
  }
3004
2976
  default:
3005
- return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
2977
+ return this.error(_.INVALID_ARGUMENT_TYPE, v(a, l));
3006
2978
  }
3007
2979
  }, e.prototype.tryParseArgumentClose = function(t) {
3008
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2980
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3009
2981
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3010
2982
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3011
2983
  var n = this.char();
@@ -3014,7 +2986,7 @@ var Fn = (
3014
2986
  this.bump();
3015
2987
  var i = this.clonePosition();
3016
2988
  if (!this.bumpUntil("'"))
3017
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
2989
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3018
2990
  this.bump();
3019
2991
  break;
3020
2992
  }
@@ -3050,10 +3022,10 @@ var Fn = (
3050
3022
  }
3051
3023
  return {
3052
3024
  val: {
3053
- type: ee.number,
3025
+ type: te.number,
3054
3026
  tokens: n,
3055
3027
  location: r,
3056
- parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3028
+ parsedOptions: this.shouldParseSkeletons ? An(n) : {}
3057
3029
  },
3058
3030
  err: null
3059
3031
  };
@@ -3065,31 +3037,31 @@ var Fn = (
3065
3037
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3066
3038
  if (f.err)
3067
3039
  return f;
3068
- h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3040
+ h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3069
3041
  } else
3070
3042
  break;
3071
3043
  }
3072
3044
  if (l.has(u))
3073
3045
  return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3074
3046
  u === "other" && (a = !0), this.bumpSpace();
3075
- var v = this.clonePosition();
3047
+ var E = this.clonePosition();
3076
3048
  if (!this.bumpIf("{"))
3077
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3049
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3078
3050
  var d = this.parseMessage(t + 1, r, n);
3079
3051
  if (d.err)
3080
3052
  return d;
3081
- var b = this.tryParseArgumentClose(v);
3053
+ var b = this.tryParseArgumentClose(E);
3082
3054
  if (b.err)
3083
3055
  return b;
3084
3056
  o.push([
3085
3057
  u,
3086
3058
  {
3087
3059
  value: d.val,
3088
- location: E(v, this.clonePosition())
3060
+ location: v(E, this.clonePosition())
3089
3061
  }
3090
3062
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3091
3063
  }
3092
- return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3064
+ 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 };
3093
3065
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3094
3066
  var n = 1, i = this.clonePosition();
3095
3067
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3100,8 +3072,8 @@ var Fn = (
3100
3072
  else
3101
3073
  break;
3102
3074
  }
3103
- var l = E(i, this.clonePosition());
3104
- return s ? (a *= n, Ln(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3075
+ var l = v(i, this.clonePosition());
3076
+ return s ? (a *= n, Dn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3105
3077
  }, e.prototype.offset = function() {
3106
3078
  return this.position.offset;
3107
3079
  }, e.prototype.isEOF = function() {
@@ -3167,47 +3139,47 @@ var Fn = (
3167
3139
  }, e;
3168
3140
  }()
3169
3141
  );
3170
- function Ze(e) {
3142
+ function Qe(e) {
3171
3143
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3172
3144
  }
3173
- function Gn(e) {
3174
- return Ze(e) || e === 47;
3175
- }
3176
3145
  function $n(e) {
3146
+ return Qe(e) || e === 47;
3147
+ }
3148
+ function jn(e) {
3177
3149
  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;
3178
3150
  }
3179
3151
  function Yt(e) {
3180
3152
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3181
3153
  }
3182
- function jn(e) {
3154
+ function Vn(e) {
3183
3155
  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;
3184
3156
  }
3185
- function qe(e) {
3157
+ function Ye(e) {
3186
3158
  e.forEach(function(t) {
3187
3159
  if (delete t.location, $t(t) || jt(t))
3188
3160
  for (var r in t.options)
3189
- delete t.options[r].location, qe(t.options[r].value);
3161
+ delete t.options[r].location, Ye(t.options[r].value);
3190
3162
  else
3191
- Ut(t) && zt(t.style) || (Ft(t) || Gt(t)) && ze(t.style) ? delete t.style.location : Vt(t) && qe(t.children);
3163
+ Ut(t) && zt(t.style) || (Ft(t) || Gt(t)) && We(t.style) ? delete t.style.location : Vt(t) && Ye(t.children);
3192
3164
  });
3193
3165
  }
3194
- function Vn(e, t) {
3195
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3196
- var r = new Fn(e, t).parse();
3166
+ function zn(e, t) {
3167
+ t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3168
+ var r = new Gn(e, t).parse();
3197
3169
  if (r.err) {
3198
3170
  var n = SyntaxError(_[r.err.kind]);
3199
3171
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3200
3172
  }
3201
- return t != null && t.captureLocation || qe(r.val), r.val;
3173
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3202
3174
  }
3203
- var te;
3175
+ var re;
3204
3176
  (function(e) {
3205
3177
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3206
- })(te || (te = {}));
3207
- var Ae = (
3178
+ })(re || (re = {}));
3179
+ var Ce = (
3208
3180
  /** @class */
3209
3181
  function(e) {
3210
- Se(t, e);
3182
+ He(t, e);
3211
3183
  function t(r, n, i) {
3212
3184
  var s = e.call(this, r) || this;
3213
3185
  return s.code = n, s.originalMessage = i, s;
@@ -3216,51 +3188,51 @@ var Ae = (
3216
3188
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3217
3189
  }, t;
3218
3190
  }(Error)
3219
- ), vt = (
3191
+ ), Et = (
3220
3192
  /** @class */
3221
3193
  function(e) {
3222
- Se(t, e);
3194
+ He(t, e);
3223
3195
  function t(r, n, i, s) {
3224
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3196
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3225
3197
  }
3226
3198
  return t;
3227
- }(Ae)
3228
- ), zn = (
3199
+ }(Ce)
3200
+ ), Jn = (
3229
3201
  /** @class */
3230
3202
  function(e) {
3231
- Se(t, e);
3203
+ He(t, e);
3232
3204
  function t(r, n, i) {
3233
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3205
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3234
3206
  }
3235
3207
  return t;
3236
- }(Ae)
3237
- ), Jn = (
3208
+ }(Ce)
3209
+ ), Wn = (
3238
3210
  /** @class */
3239
3211
  function(e) {
3240
- Se(t, e);
3212
+ He(t, e);
3241
3213
  function t(r, n) {
3242
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3214
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3243
3215
  }
3244
3216
  return t;
3245
- }(Ae)
3246
- ), P;
3217
+ }(Ce)
3218
+ ), I;
3247
3219
  (function(e) {
3248
3220
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3249
- })(P || (P = {}));
3250
- function Wn(e) {
3221
+ })(I || (I = {}));
3222
+ function Xn(e) {
3251
3223
  return e.length < 2 ? e : e.reduce(function(t, r) {
3252
3224
  var n = t[t.length - 1];
3253
- return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3225
+ return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3254
3226
  }, []);
3255
3227
  }
3256
- function Xn(e) {
3228
+ function Zn(e) {
3257
3229
  return typeof e == "function";
3258
3230
  }
3259
- function _e(e, t, r, n, i, s, a) {
3231
+ function Ee(e, t, r, n, i, s, a) {
3260
3232
  if (e.length === 1 && mt(e[0]))
3261
3233
  return [
3262
3234
  {
3263
- type: P.literal,
3235
+ type: I.literal,
3264
3236
  value: e[0].value
3265
3237
  }
3266
3238
  ];
@@ -3268,103 +3240,103 @@ function _e(e, t, r, n, i, s, a) {
3268
3240
  var h = u[l];
3269
3241
  if (mt(h)) {
3270
3242
  o.push({
3271
- type: P.literal,
3243
+ type: I.literal,
3272
3244
  value: h.value
3273
3245
  });
3274
3246
  continue;
3275
3247
  }
3276
- if (gn(h)) {
3248
+ if (pn(h)) {
3277
3249
  typeof s == "number" && o.push({
3278
- type: P.literal,
3250
+ type: I.literal,
3279
3251
  value: r.getNumberFormat(t).format(s)
3280
3252
  });
3281
3253
  continue;
3282
3254
  }
3283
3255
  var c = h.value;
3284
3256
  if (!(i && c in i))
3285
- throw new Jn(c, a);
3257
+ throw new Wn(c, a);
3286
3258
  var f = i[c];
3287
- if (bn(h)) {
3259
+ if (gn(h)) {
3288
3260
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3289
- type: typeof f == "string" ? P.literal : P.object,
3261
+ type: typeof f == "string" ? I.literal : I.object,
3290
3262
  value: f
3291
3263
  });
3292
3264
  continue;
3293
3265
  }
3294
3266
  if (Ft(h)) {
3295
- var v = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3267
+ var E = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3296
3268
  o.push({
3297
- type: P.literal,
3298
- value: r.getDateTimeFormat(t, v).format(f)
3269
+ type: I.literal,
3270
+ value: r.getDateTimeFormat(t, E).format(f)
3299
3271
  });
3300
3272
  continue;
3301
3273
  }
3302
3274
  if (Gt(h)) {
3303
- var v = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3275
+ var E = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3304
3276
  o.push({
3305
- type: P.literal,
3306
- value: r.getDateTimeFormat(t, v).format(f)
3277
+ type: I.literal,
3278
+ value: r.getDateTimeFormat(t, E).format(f)
3307
3279
  });
3308
3280
  continue;
3309
3281
  }
3310
3282
  if (Ut(h)) {
3311
- var v = typeof h.style == "string" ? n.number[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
3312
- v && v.scale && (f = f * (v.scale || 1)), o.push({
3313
- type: P.literal,
3314
- value: r.getNumberFormat(t, v).format(f)
3283
+ var E = typeof h.style == "string" ? n.number[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
3284
+ E && E.scale && (f = f * (E.scale || 1)), o.push({
3285
+ type: I.literal,
3286
+ value: r.getNumberFormat(t, E).format(f)
3315
3287
  });
3316
3288
  continue;
3317
3289
  }
3318
3290
  if (Vt(h)) {
3319
3291
  var d = h.children, b = h.value, g = i[b];
3320
- if (!Xn(g))
3321
- throw new zn(b, "function", a);
3322
- var p = _e(d, t, r, n, i, s), T = g(p.map(function(C) {
3292
+ if (!Zn(g))
3293
+ throw new Jn(b, "function", a);
3294
+ var p = Ee(d, t, r, n, i, s), S = g(p.map(function(C) {
3323
3295
  return C.value;
3324
3296
  }));
3325
- Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(C) {
3297
+ Array.isArray(S) || (S = [S]), o.push.apply(o, S.map(function(C) {
3326
3298
  return {
3327
- type: typeof C == "string" ? P.literal : P.object,
3299
+ type: typeof C == "string" ? I.literal : I.object,
3328
3300
  value: C
3329
3301
  };
3330
3302
  }));
3331
3303
  }
3332
3304
  if ($t(h)) {
3333
- var N = h.options[f] || h.options.other;
3334
- if (!N)
3335
- throw new vt(h.value, f, Object.keys(h.options), a);
3336
- o.push.apply(o, _e(N.value, t, r, n, i));
3305
+ var O = h.options[f] || h.options.other;
3306
+ if (!O)
3307
+ throw new Et(h.value, f, Object.keys(h.options), a);
3308
+ o.push.apply(o, Ee(O.value, t, r, n, i));
3337
3309
  continue;
3338
3310
  }
3339
3311
  if (jt(h)) {
3340
- var N = h.options["=".concat(f)];
3341
- if (!N) {
3312
+ var O = h.options["=".concat(f)];
3313
+ if (!O) {
3342
3314
  if (!Intl.PluralRules)
3343
- throw new Ae(`Intl.PluralRules is not available in this environment.
3315
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3344
3316
  Try polyfilling it using "@formatjs/intl-pluralrules"
3345
- `, te.MISSING_INTL_API, a);
3317
+ `, re.MISSING_INTL_API, a);
3346
3318
  var H = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3347
- N = h.options[H] || h.options.other;
3319
+ O = h.options[H] || h.options.other;
3348
3320
  }
3349
- if (!N)
3350
- throw new vt(h.value, f, Object.keys(h.options), a);
3351
- o.push.apply(o, _e(N.value, t, r, n, i, f - (h.offset || 0)));
3321
+ if (!O)
3322
+ throw new Et(h.value, f, Object.keys(h.options), a);
3323
+ o.push.apply(o, Ee(O.value, t, r, n, i, f - (h.offset || 0)));
3352
3324
  continue;
3353
3325
  }
3354
3326
  }
3355
- return Wn(o);
3327
+ return Xn(o);
3356
3328
  }
3357
- function Zn(e, t) {
3358
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3359
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3329
+ function qn(e, t) {
3330
+ return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3331
+ return r[n] = j(j({}, e[n]), t[n] || {}), r;
3360
3332
  }, {})) : e;
3361
3333
  }
3362
- function qn(e, t) {
3334
+ function Qn(e, t) {
3363
3335
  return t ? Object.keys(e).reduce(function(r, n) {
3364
- return r[n] = Zn(e[n], t[n]), r;
3365
- }, x({}, e)) : e;
3336
+ return r[n] = qn(e[n], t[n]), r;
3337
+ }, j({}, e)) : e;
3366
3338
  }
3367
- function De(e) {
3339
+ function Ue(e) {
3368
3340
  return {
3369
3341
  create: function() {
3370
3342
  return {
@@ -3378,39 +3350,39 @@ function De(e) {
3378
3350
  }
3379
3351
  };
3380
3352
  }
3381
- function Qn(e) {
3353
+ function Yn(e) {
3382
3354
  return e === void 0 && (e = {
3383
3355
  number: {},
3384
3356
  dateTime: {},
3385
3357
  pluralRules: {}
3386
3358
  }), {
3387
- getNumberFormat: Me(function() {
3359
+ getNumberFormat: Le(function() {
3388
3360
  for (var t, r = [], n = 0; n < arguments.length; n++)
3389
3361
  r[n] = arguments[n];
3390
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3362
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3391
3363
  }, {
3392
- cache: De(e.number),
3393
- strategy: Re.variadic
3364
+ cache: Ue(e.number),
3365
+ strategy: De.variadic
3394
3366
  }),
3395
- getDateTimeFormat: Me(function() {
3367
+ getDateTimeFormat: Le(function() {
3396
3368
  for (var t, r = [], n = 0; n < arguments.length; n++)
3397
3369
  r[n] = arguments[n];
3398
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3370
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3399
3371
  }, {
3400
- cache: De(e.dateTime),
3401
- strategy: Re.variadic
3372
+ cache: Ue(e.dateTime),
3373
+ strategy: De.variadic
3402
3374
  }),
3403
- getPluralRules: Me(function() {
3375
+ getPluralRules: Le(function() {
3404
3376
  for (var t, r = [], n = 0; n < arguments.length; n++)
3405
3377
  r[n] = arguments[n];
3406
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3378
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3407
3379
  }, {
3408
- cache: De(e.pluralRules),
3409
- strategy: Re.variadic
3380
+ cache: Ue(e.pluralRules),
3381
+ strategy: De.variadic
3410
3382
  })
3411
3383
  };
3412
3384
  }
3413
- var Yn = (
3385
+ var Kn = (
3414
3386
  /** @class */
3415
3387
  function() {
3416
3388
  function e(t, r, n, i) {
@@ -3425,11 +3397,11 @@ var Yn = (
3425
3397
  if (u.length === 1)
3426
3398
  return u[0].value;
3427
3399
  var h = u.reduce(function(c, f) {
3428
- return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3400
+ return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3429
3401
  }, []);
3430
3402
  return h.length <= 1 ? h[0] || "" : h;
3431
3403
  }, this.formatToParts = function(l) {
3432
- return _e(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3404
+ return Ee(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3433
3405
  }, this.resolvedOptions = function() {
3434
3406
  var l;
3435
3407
  return {
@@ -3442,13 +3414,13 @@ var Yn = (
3442
3414
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3443
3415
  var a = i || {};
3444
3416
  a.formatters;
3445
- var o = Vr(a, ["formatters"]);
3446
- this.ast = e.__parse(t, x(x({}, o), { locale: this.resolvedLocale }));
3417
+ var o = un(a, ["formatters"]);
3418
+ this.ast = e.__parse(t, j(j({}, o), { locale: this.resolvedLocale }));
3447
3419
  } else
3448
3420
  this.ast = t;
3449
3421
  if (!Array.isArray(this.ast))
3450
3422
  throw new TypeError("A message must be provided as a String or AST.");
3451
- this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Qn(this.formatterCache);
3423
+ this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || Yn(this.formatterCache);
3452
3424
  }
3453
3425
  return Object.defineProperty(e, "defaultLocale", {
3454
3426
  get: function() {
@@ -3461,7 +3433,7 @@ var Yn = (
3461
3433
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3462
3434
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3463
3435
  }
3464
- }, e.__parse = Vn, e.formats = {
3436
+ }, e.__parse = zn, e.formats = {
3465
3437
  number: {
3466
3438
  integer: {
3467
3439
  maximumFractionDigits: 0
@@ -3522,7 +3494,7 @@ var Yn = (
3522
3494
  }, e;
3523
3495
  }()
3524
3496
  );
3525
- function Kn(e, t) {
3497
+ function ei(e, t) {
3526
3498
  if (t == null)
3527
3499
  return;
3528
3500
  if (t in e)
@@ -3543,36 +3515,36 @@ function Kn(e, t) {
3543
3515
  n = void 0;
3544
3516
  return n;
3545
3517
  }
3546
- const W = {}, ei = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Kt = (e, t) => {
3518
+ const X = {}, ti = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), Kt = (e, t) => {
3547
3519
  if (t == null)
3548
3520
  return;
3549
- if (t in W && e in W[t])
3550
- return W[t][e];
3551
- const r = He(t);
3521
+ if (t in X && e in X[t])
3522
+ return X[t][e];
3523
+ const r = Be(t);
3552
3524
  for (let n = 0; n < r.length; n++) {
3553
- const i = r[n], s = ri(i, e);
3525
+ const i = r[n], s = ni(i, e);
3554
3526
  if (s)
3555
- return ei(e, t, s);
3527
+ return ti(e, t, s);
3556
3528
  }
3557
3529
  };
3558
3530
  let tt;
3559
- const de = Te({});
3560
- function ti(e) {
3531
+ const be = Ae({});
3532
+ function ri(e) {
3561
3533
  return tt[e] || null;
3562
3534
  }
3563
3535
  function er(e) {
3564
3536
  return e in tt;
3565
3537
  }
3566
- function ri(e, t) {
3538
+ function ni(e, t) {
3567
3539
  if (!er(e))
3568
3540
  return null;
3569
- const r = ti(e);
3570
- return Kn(r, t);
3541
+ const r = ri(e);
3542
+ return ei(r, t);
3571
3543
  }
3572
- function ni(e) {
3544
+ function ii(e) {
3573
3545
  if (e == null)
3574
3546
  return;
3575
- const t = He(e);
3547
+ const t = Be(e);
3576
3548
  for (let r = 0; r < t.length; r++) {
3577
3549
  const n = t[r];
3578
3550
  if (er(n))
@@ -3580,55 +3552,55 @@ function ni(e) {
3580
3552
  }
3581
3553
  }
3582
3554
  function tr(e, ...t) {
3583
- delete W[e], de.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
3555
+ delete X[e], be.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
3584
3556
  }
3585
- ie(
3586
- [de],
3557
+ se(
3558
+ [be],
3587
3559
  ([e]) => Object.keys(e)
3588
3560
  );
3589
- de.subscribe((e) => tt = e);
3561
+ be.subscribe((e) => tt = e);
3590
3562
  const ve = {};
3591
- function ii(e, t) {
3563
+ function si(e, t) {
3592
3564
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3593
3565
  }
3594
3566
  function rr(e) {
3595
3567
  return ve[e];
3596
3568
  }
3597
- function si(e) {
3598
- return He(e).map((t) => {
3569
+ function ai(e) {
3570
+ return Be(e).map((t) => {
3599
3571
  const r = rr(t);
3600
3572
  return [t, r ? [...r] : []];
3601
3573
  }).filter(([, t]) => t.length > 0);
3602
3574
  }
3603
- function Qe(e) {
3604
- return e == null ? !1 : He(e).some(
3575
+ function Ke(e) {
3576
+ return e == null ? !1 : Be(e).some(
3605
3577
  (t) => {
3606
3578
  var r;
3607
3579
  return (r = rr(t)) == null ? void 0 : r.size;
3608
3580
  }
3609
3581
  );
3610
3582
  }
3611
- function ai(e, t) {
3583
+ function oi(e, t) {
3612
3584
  return Promise.all(
3613
- t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
3585
+ t.map((n) => (si(e, n), n().then((i) => i.default || i)))
3614
3586
  ).then((n) => tr(e, ...n));
3615
3587
  }
3616
- const oe = {};
3588
+ const ue = {};
3617
3589
  function nr(e) {
3618
- if (!Qe(e))
3619
- return e in oe ? oe[e] : Promise.resolve();
3620
- const t = si(e);
3621
- return oe[e] = Promise.all(
3590
+ if (!Ke(e))
3591
+ return e in ue ? ue[e] : Promise.resolve();
3592
+ const t = ai(e);
3593
+ return ue[e] = Promise.all(
3622
3594
  t.map(
3623
- ([r, n]) => ai(r, n)
3595
+ ([r, n]) => oi(r, n)
3624
3596
  )
3625
3597
  ).then(() => {
3626
- if (Qe(e))
3598
+ if (Ke(e))
3627
3599
  return nr(e);
3628
- delete oe[e];
3629
- }), oe[e];
3600
+ delete ue[e];
3601
+ }), ue[e];
3630
3602
  }
3631
- const oi = {
3603
+ const ui = {
3632
3604
  number: {
3633
3605
  scientific: { notation: "scientific" },
3634
3606
  engineering: { notation: "engineering" },
@@ -3657,141 +3629,141 @@ const oi = {
3657
3629
  timeZoneName: "short"
3658
3630
  }
3659
3631
  }
3660
- }, ui = {
3632
+ }, li = {
3661
3633
  fallbackLocale: null,
3662
3634
  loadingDelay: 200,
3663
- formats: oi,
3635
+ formats: ui,
3664
3636
  warnOnMissingMessages: !0,
3665
3637
  handleMissingMessage: void 0,
3666
3638
  ignoreTag: !0
3667
- }, li = ui;
3668
- function re() {
3669
- return li;
3639
+ }, hi = li;
3640
+ function ne() {
3641
+ return hi;
3670
3642
  }
3671
- const ke = Te(!1);
3672
- var hi = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bi = (e, t) => {
3643
+ const Fe = Ae(!1);
3644
+ var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
3673
3645
  for (var r in t || (t = {}))
3674
- mi.call(t, r) && xt(e, r, t[r]);
3675
- if (Et)
3676
- for (var r of Et(t))
3677
- di.call(t, r) && xt(e, r, t[r]);
3646
+ di.call(t, r) && xt(e, r, t[r]);
3647
+ if (vt)
3648
+ for (var r of vt(t))
3649
+ bi.call(t, r) && xt(e, r, t[r]);
3678
3650
  return e;
3679
- }, gi = (e, t) => ci(e, fi(t));
3680
- let Ye;
3681
- const Ee = Te(null);
3651
+ }, pi = (e, t) => fi(e, mi(t));
3652
+ let et;
3653
+ const Se = Ae(null);
3682
3654
  function St(e) {
3683
3655
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3684
3656
  }
3685
- function He(e, t = re().fallbackLocale) {
3657
+ function Be(e, t = ne().fallbackLocale) {
3686
3658
  const r = St(e);
3687
3659
  return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3688
3660
  }
3689
- function X() {
3690
- return Ye != null ? Ye : void 0;
3661
+ function Z() {
3662
+ return et != null ? et : void 0;
3691
3663
  }
3692
- Ee.subscribe((e) => {
3693
- Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3664
+ Se.subscribe((e) => {
3665
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3694
3666
  });
3695
- const pi = (e) => {
3696
- if (e && ni(e) && Qe(e)) {
3697
- const { loadingDelay: t } = re();
3667
+ const yi = (e) => {
3668
+ if (e && ii(e) && Ke(e)) {
3669
+ const { loadingDelay: t } = ne();
3698
3670
  let r;
3699
- return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3700
- () => ke.set(!0),
3671
+ return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
3672
+ () => Fe.set(!0),
3701
3673
  t
3702
- ) : ke.set(!0), nr(e).then(() => {
3703
- Ee.set(e);
3674
+ ) : Fe.set(!0), nr(e).then(() => {
3675
+ Se.set(e);
3704
3676
  }).finally(() => {
3705
- clearTimeout(r), ke.set(!1);
3677
+ clearTimeout(r), Fe.set(!1);
3706
3678
  });
3707
3679
  }
3708
- return Ee.set(e);
3709
- }, se = gi(bi({}, Ee), {
3710
- set: pi
3711
- }), Ce = (e) => {
3680
+ return Se.set(e);
3681
+ }, ae = pi(gi({}, Se), {
3682
+ set: yi
3683
+ }), we = (e) => {
3712
3684
  const t = /* @__PURE__ */ Object.create(null);
3713
3685
  return (n) => {
3714
3686
  const i = JSON.stringify(n);
3715
3687
  return i in t ? t[i] : t[i] = e(n);
3716
3688
  };
3717
3689
  };
3718
- var yi = Object.defineProperty, xe = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3690
+ var _i = Object.defineProperty, Te = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3719
3691
  for (var r in t || (t = {}))
3720
3692
  ir.call(t, r) && Tt(e, r, t[r]);
3721
- if (xe)
3722
- for (var r of xe(t))
3693
+ if (Te)
3694
+ for (var r of Te(t))
3723
3695
  sr.call(t, r) && Tt(e, r, t[r]);
3724
3696
  return e;
3725
- }, ae = (e, t) => {
3697
+ }, oe = (e, t) => {
3726
3698
  var r = {};
3727
3699
  for (var n in e)
3728
3700
  ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3729
- if (e != null && xe)
3730
- for (var n of xe(e))
3701
+ if (e != null && Te)
3702
+ for (var n of Te(e))
3731
3703
  t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
3732
3704
  return r;
3733
3705
  };
3734
- const ce = (e, t) => {
3735
- const { formats: r } = re();
3706
+ const fe = (e, t) => {
3707
+ const { formats: r } = ne();
3736
3708
  if (e in r && t in r[e])
3737
3709
  return r[e][t];
3738
3710
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3739
- }, _i = Ce(
3711
+ }, Ei = we(
3740
3712
  (e) => {
3741
- 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"]);
3742
3714
  if (r == null)
3743
3715
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3744
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3716
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3745
3717
  }
3746
- ), vi = Ce(
3718
+ ), vi = we(
3747
3719
  (e) => {
3748
- 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"]);
3749
3721
  if (r == null)
3750
3722
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3751
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3723
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3752
3724
  }
3753
- ), Ei = Ce(
3725
+ ), xi = we(
3754
3726
  (e) => {
3755
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3727
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3756
3728
  if (r == null)
3757
3729
  throw new Error(
3758
3730
  '[svelte-i18n] A "locale" must be set to format time values'
3759
3731
  );
3760
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3732
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
3761
3733
  }
3762
- ), xi = (e = {}) => {
3734
+ ), Si = (e = {}) => {
3763
3735
  var t = e, {
3764
- locale: r = X()
3765
- } = t, n = ae(t, [
3736
+ locale: r = Z()
3737
+ } = t, n = oe(t, [
3766
3738
  "locale"
3767
3739
  ]);
3768
- return _i(rt({ locale: r }, n));
3769
- }, Si = (e = {}) => {
3740
+ return Ei(rt({ locale: r }, n));
3741
+ }, Ti = (e = {}) => {
3770
3742
  var t = e, {
3771
- locale: r = X()
3772
- } = t, n = ae(t, [
3743
+ locale: r = Z()
3744
+ } = t, n = oe(t, [
3773
3745
  "locale"
3774
3746
  ]);
3775
3747
  return vi(rt({ locale: r }, n));
3776
- }, Ti = (e = {}) => {
3748
+ }, Ai = (e = {}) => {
3777
3749
  var t = e, {
3778
- locale: r = X()
3779
- } = t, n = ae(t, [
3750
+ locale: r = Z()
3751
+ } = t, n = oe(t, [
3780
3752
  "locale"
3781
3753
  ]);
3782
- return Ei(rt({ locale: r }, n));
3783
- }, Ai = Ce(
3754
+ return xi(rt({ locale: r }, n));
3755
+ }, Hi = we(
3784
3756
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3785
- (e, t = X()) => new Yn(e, t, re().formats, {
3786
- ignoreTag: re().ignoreTag
3757
+ (e, t = Z()) => new Kn(e, t, ne().formats, {
3758
+ ignoreTag: ne().ignoreTag
3787
3759
  })
3788
- ), Hi = (e, t = {}) => {
3760
+ ), Ci = (e, t = {}) => {
3789
3761
  var r, n, i, s;
3790
3762
  let a = t;
3791
3763
  typeof e == "object" && (a = e, e = a.id);
3792
3764
  const {
3793
3765
  values: o,
3794
- locale: l = X(),
3766
+ locale: l = Z(),
3795
3767
  default: u
3796
3768
  } = a;
3797
3769
  if (l == null)
@@ -3800,7 +3772,7 @@ const ce = (e, t) => {
3800
3772
  );
3801
3773
  let h = Kt(e, l);
3802
3774
  if (!h)
3803
- 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;
3775
+ h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3804
3776
  else if (typeof h != "string")
3805
3777
  return console.warn(
3806
3778
  `[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.`
@@ -3809,7 +3781,7 @@ const ce = (e, t) => {
3809
3781
  return h;
3810
3782
  let c = h;
3811
3783
  try {
3812
- c = Ai(h, l).format(o);
3784
+ c = Hi(h, l).format(o);
3813
3785
  } catch (f) {
3814
3786
  f instanceof Error && console.warn(
3815
3787
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3817,16 +3789,16 @@ const ce = (e, t) => {
3817
3789
  );
3818
3790
  }
3819
3791
  return c;
3820
- }, Ci = (e, t) => Ti(t).format(e), Bi = (e, t) => Si(t).format(e), wi = (e, t) => xi(t).format(e), Ni = (e, t = X()) => Kt(e, t), Ii = ie([se, de], () => Hi);
3821
- ie([se], () => Ci);
3822
- ie([se], () => Bi);
3823
- ie([se], () => wi);
3824
- ie([se, de], () => Ni);
3792
+ }, Bi = (e, t) => Ai(t).format(e), wi = (e, t) => Ti(t).format(e), Oi = (e, t) => Si(t).format(e), Pi = (e, t = Z()) => Kt(e, t), Ni = se([ae, be], () => Ci);
3793
+ se([ae], () => Bi);
3794
+ se([ae], () => wi);
3795
+ se([ae], () => Oi);
3796
+ se([ae, be], () => Pi);
3825
3797
  function At(e, t) {
3826
3798
  tr(e, t);
3827
3799
  }
3828
- function Oi(e) {
3829
- se.set(e);
3800
+ function Ii(e) {
3801
+ ae.set(e);
3830
3802
  }
3831
3803
  const Ht = {
3832
3804
  en: {
@@ -4160,14 +4132,14 @@ const Ht = {
4160
4132
  December: "December"
4161
4133
  }
4162
4134
  };
4163
- function Pi(e) {
4135
+ function Mi(e) {
4164
4136
  xr(e, "svelte-1gxooas", ':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"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.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}.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}');
4165
4137
  }
4166
4138
  function Ct(e) {
4167
4139
  let t, r, n, i, s, a;
4168
4140
  return {
4169
4141
  c() {
4170
- t = I("div"), r = M(
4142
+ t = P("div"), r = M(
4171
4143
  /*shownStatus*/
4172
4144
  e[13]
4173
4145
  ), y(t, "class", n = "Status " + /*statusClass*/
@@ -4175,7 +4147,7 @@ function Ct(e) {
4175
4147
  e[15]);
4176
4148
  },
4177
4149
  m(o, l) {
4178
- G(o, t, l), S(t, r), s || (a = me(
4150
+ G(o, t, l), x(t, r), s || (a = de(
4179
4151
  /*matchStatus*/
4180
4152
  e[18].call(null, t)
4181
4153
  ), s = !0);
@@ -4225,10 +4197,10 @@ function wt(e) {
4225
4197
  ), n;
4226
4198
  return {
4227
4199
  c() {
4228
- t = I("div"), n = M(r), y(t, "class", "Enrolled"), y(t, "part", "Enrolled");
4200
+ t = P("div"), n = M(r), y(t, "class", "Enrolled"), y(t, "part", "Enrolled");
4229
4201
  },
4230
4202
  m(i, s) {
4231
- G(i, t, s), S(t, n);
4203
+ G(i, t, s), x(t, n);
4232
4204
  },
4233
4205
  p(i, s) {
4234
4206
  s[0] & /*$_*/
@@ -4240,18 +4212,18 @@ function wt(e) {
4240
4212
  }
4241
4213
  };
4242
4214
  }
4243
- function Mi(e) {
4215
+ function Ri(e) {
4244
4216
  let t, r, n, i, s;
4245
4217
  return {
4246
4218
  c() {
4247
- t = I("div"), y(t, "class", r = "CardImg " + /*status*/
4219
+ t = P("div"), y(t, "class", r = "CardImg " + /*status*/
4248
4220
  (e[0] == "Closing" || /*status*/
4249
4221
  e[0] == "Closed" ? "CardImgFinished" : "")), y(t, "part", n = "CardImg " + /*status*/
4250
4222
  (e[0] == "Closing" || /*status*/
4251
- e[0] == "Closed" ? "CardImgFinished" : "")), Fe(t, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
4223
+ e[0] == "Closed" ? "CardImgFinished" : "")), $e(t, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
4252
4224
  },
4253
4225
  m(a, o) {
4254
- G(a, t, o), i || (s = me(
4226
+ G(a, t, o), i || (s = de(
4255
4227
  /*matchStatus*/
4256
4228
  e[18].call(null, t)
4257
4229
  ), i = !0);
@@ -4270,19 +4242,19 @@ function Mi(e) {
4270
4242
  }
4271
4243
  };
4272
4244
  }
4273
- function Ri(e) {
4245
+ function Li(e) {
4274
4246
  let t, r, n, i, s;
4275
4247
  return {
4276
4248
  c() {
4277
- t = I("div"), y(t, "class", r = "CardImg " + /*status*/
4249
+ t = P("div"), y(t, "class", r = "CardImg " + /*status*/
4278
4250
  (e[0] == "Closing" || /*status*/
4279
4251
  e[0] == "Closed" ? "CardImgFinished" : "")), y(t, "part", n = "CardImg " + /*status*/
4280
4252
  (e[0] == "Closing" || /*status*/
4281
- e[0] == "Closed" ? "CardImgFinished" : "")), Fe(t, "background-image", "url('" + /*thumbnail*/
4253
+ e[0] == "Closed" ? "CardImgFinished" : "")), $e(t, "background-image", "url('" + /*thumbnail*/
4282
4254
  e[4] + "')");
4283
4255
  },
4284
4256
  m(a, o) {
4285
- G(a, t, o), i || (s = me(
4257
+ G(a, t, o), i || (s = de(
4286
4258
  /*matchStatus*/
4287
4259
  e[18].call(null, t)
4288
4260
  ), i = !0);
@@ -4295,7 +4267,7 @@ function Ri(e) {
4295
4267
  1 && n !== (n = "CardImg " + /*status*/
4296
4268
  (a[0] == "Closing" || /*status*/
4297
4269
  a[0] == "Closed" ? "CardImgFinished" : "")) && y(t, "part", n), o[0] & /*thumbnail*/
4298
- 16 && Fe(t, "background-image", "url('" + /*thumbnail*/
4270
+ 16 && $e(t, "background-image", "url('" + /*thumbnail*/
4299
4271
  a[4] + "')");
4300
4272
  },
4301
4273
  d(a) {
@@ -4303,17 +4275,17 @@ function Ri(e) {
4303
4275
  }
4304
4276
  };
4305
4277
  }
4306
- function Nt(e) {
4278
+ function Ot(e) {
4307
4279
  let t, r, n, i, s;
4308
4280
  return {
4309
4281
  c() {
4310
- t = I("div"), r = M(
4282
+ t = P("div"), r = M(
4311
4283
  /*shownDate*/
4312
4284
  e[11]
4313
4285
  ), y(t, "class", "Date"), y(t, "part", "Date");
4314
4286
  },
4315
4287
  m(a, o) {
4316
- G(a, t, o), S(t, r), i || (s = me(n = /*formatDate*/
4288
+ G(a, t, o), x(t, r), i || (s = de(n = /*formatDate*/
4317
4289
  e[17].call(
4318
4290
  null,
4319
4291
  t,
@@ -4327,7 +4299,7 @@ function Nt(e) {
4327
4299
  r,
4328
4300
  /*shownDate*/
4329
4301
  a[11]
4330
- ), n && fe(n.update) && o[0] & /*startdate*/
4302
+ ), n && me(n.update) && o[0] & /*startdate*/
4331
4303
  4 && n.update.call(
4332
4304
  null,
4333
4305
  /*startdate*/
@@ -4339,32 +4311,32 @@ function Nt(e) {
4339
4311
  }
4340
4312
  };
4341
4313
  }
4342
- function It(e) {
4314
+ function Pt(e) {
4343
4315
  let t, r, n = (
4344
4316
  /*$_*/
4345
4317
  e[16]("scoreCriteria") + ""
4346
4318
  ), i, s, a, o, l, u = (
4347
4319
  /*$_*/
4348
4320
  e[16]("minbet") + ""
4349
- ), h, c, f, v, d, b, g, p = (
4321
+ ), h, c, f, E, d, b, g, p = (
4350
4322
  /*$_*/
4351
4323
  e[16]("seegames") + ""
4352
- ), T, N, H, C = (
4324
+ ), S, O, H, C = (
4353
4325
  /*$_*/
4354
4326
  e[16]("here") + ""
4355
- ), F, D, j, V;
4327
+ ), F, D, V, z;
4356
4328
  return {
4357
4329
  c() {
4358
- t = I("div"), r = I("p"), i = M(n), s = M(`:
4330
+ t = P("div"), r = P("p"), i = M(n), s = M(`:
4359
4331
 
4360
- `), a = I("span"), o = M(
4332
+ `), a = P("span"), o = M(
4361
4333
  /*showScoreCriteria*/
4362
4334
  e[14]
4363
4335
  ), l = M(`
4364
- (`), h = M(u), c = J(), f = M(
4336
+ (`), h = M(u), c = W(), f = M(
4365
4337
  /*minbetcount*/
4366
4338
  e[6]
4367
- ), v = M(")"), d = J(), b = I("div"), g = I("p"), T = M(p), N = J(), H = I("a"), F = M(C), y(a, "part", "ScoreCriteriaSpan"), y(r, "part", "ScoreCriteriaP"), y(t, "class", "ScoreCriteria"), y(t, "part", "ScoreCriteria"), y(H, "part", "GamesAnchor"), y(
4339
+ ), E = M(")"), d = W(), b = P("div"), g = P("p"), S = M(p), O = W(), H = P("a"), F = M(C), y(a, "part", "ScoreCriteriaSpan"), y(r, "part", "ScoreCriteriaP"), y(t, "class", "ScoreCriteria"), y(t, "part", "ScoreCriteria"), y(H, "part", "GamesAnchor"), y(
4368
4340
  H,
4369
4341
  "href",
4370
4342
  /*gameurl*/
@@ -4373,18 +4345,18 @@ function It(e) {
4373
4345
  e[9] === "true" ? "_self" : "_blank"), y(g, "part", "GamesP"), y(b, "class", "Games"), y(b, "part", "Games");
4374
4346
  },
4375
4347
  m(B, R) {
4376
- G(B, t, R), S(t, r), S(r, i), S(r, s), S(r, a), S(a, o), S(r, l), S(r, h), S(r, c), S(r, f), S(r, v), G(B, d, R), G(B, b, R), S(b, g), S(g, T), S(g, N), S(g, H), S(H, F), j || (V = [
4377
- me(
4348
+ G(B, t, R), x(t, r), x(r, i), x(r, s), x(r, a), x(a, o), x(r, l), x(r, h), x(r, c), x(r, f), x(r, E), G(B, d, R), G(B, b, R), x(b, g), x(g, S), x(g, O), x(g, H), x(H, F), V || (z = [
4349
+ de(
4378
4350
  /*matchScoreCriteria*/
4379
4351
  e[19].call(null, a)
4380
4352
  ),
4381
- Ue(
4353
+ Ge(
4382
4354
  H,
4383
4355
  "click",
4384
4356
  /*click_handler*/
4385
4357
  e[28]
4386
4358
  )
4387
- ], j = !0);
4359
+ ], V = !0);
4388
4360
  },
4389
4361
  p(B, R) {
4390
4362
  R[0] & /*$_*/
@@ -4403,7 +4375,7 @@ function It(e) {
4403
4375
  B[6]
4404
4376
  ), R[0] & /*$_*/
4405
4377
  65536 && p !== (p = /*$_*/
4406
- B[16]("seegames") + "") && $(T, p), R[0] & /*$_*/
4378
+ B[16]("seegames") + "") && $(S, p), R[0] & /*$_*/
4407
4379
  65536 && C !== (C = /*$_*/
4408
4380
  B[16]("here") + "") && $(F, C), R[0] & /*gameurl*/
4409
4381
  256 && y(
@@ -4416,11 +4388,11 @@ function It(e) {
4416
4388
  B[9] === "true" ? "_self" : "_blank") && y(H, "target", D);
4417
4389
  },
4418
4390
  d(B) {
4419
- B && (L(t), L(d), L(b)), j = !1, ne(V);
4391
+ B && (L(t), L(d), L(b)), V = !1, ie(z);
4420
4392
  }
4421
4393
  };
4422
4394
  }
4423
- function Li(e) {
4395
+ function Di(e) {
4424
4396
  let t, r, n, i, s, a, o, l, u, h = (
4425
4397
  /*status*/
4426
4398
  e[0] && Ct(e)
@@ -4428,40 +4400,40 @@ function Li(e) {
4428
4400
  /*showenrolled*/
4429
4401
  e[7] == "true" && Bt(e)
4430
4402
  );
4431
- function f(p, T) {
4403
+ function f(p, S) {
4432
4404
  return (
4433
4405
  /*thumbnail*/
4434
- p[4] ? Ri : Mi
4406
+ p[4] ? Li : Ri
4435
4407
  );
4436
4408
  }
4437
- let v = f(e), d = v(e), b = (
4409
+ let E = f(e), d = E(e), b = (
4438
4410
  /*startdate*/
4439
- e[2] && Nt(e)
4411
+ e[2] && Ot(e)
4440
4412
  ), g = (
4441
4413
  /*isLoggedIn*/
4442
- e[12] && It(e)
4414
+ e[12] && Pt(e)
4443
4415
  );
4444
4416
  return {
4445
4417
  c() {
4446
- t = I("div"), h && h.c(), r = J(), c && c.c(), n = J(), d.c(), i = J(), s = I("div"), a = I("div"), o = M(
4418
+ t = P("div"), h && h.c(), r = W(), c && c.c(), n = W(), d.c(), i = W(), s = P("div"), a = P("div"), o = M(
4447
4419
  /*title*/
4448
4420
  e[1]
4449
- ), l = J(), b && b.c(), u = J(), g && g.c(), y(a, "class", "Title"), y(a, "part", "Title"), y(s, "class", "Details"), y(s, "part", "Details"), y(t, "class", "Thumbnail"), y(t, "part", "Thumbnail");
4421
+ ), l = W(), b && b.c(), u = W(), g && g.c(), y(a, "class", "Title"), y(a, "part", "Title"), y(s, "class", "Details"), y(s, "part", "Details"), y(t, "class", "Thumbnail"), y(t, "part", "Thumbnail");
4450
4422
  },
4451
- m(p, T) {
4452
- G(p, t, T), h && h.m(t, null), S(t, r), c && c.m(t, null), S(t, n), d.m(t, null), S(t, i), S(t, s), S(s, a), S(a, o), S(s, l), b && b.m(s, null), S(s, u), g && g.m(s, null), e[29](t);
4423
+ m(p, S) {
4424
+ G(p, t, S), h && h.m(t, null), x(t, r), c && c.m(t, null), x(t, n), d.m(t, null), x(t, i), x(t, s), x(s, a), x(a, o), x(s, l), b && b.m(s, null), x(s, u), g && g.m(s, null), e[29](t);
4453
4425
  },
4454
- p(p, T) {
4426
+ p(p, S) {
4455
4427
  /*status*/
4456
- p[0] ? h ? h.p(p, T) : (h = Ct(p), h.c(), h.m(t, r)) : h && (h.d(1), h = null), /*showenrolled*/
4457
- p[7] == "true" ? c ? c.p(p, T) : (c = Bt(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), v === (v = f(p)) && d ? d.p(p, T) : (d.d(1), d = v(p), d && (d.c(), d.m(t, i))), T[0] & /*title*/
4428
+ p[0] ? h ? h.p(p, S) : (h = Ct(p), h.c(), h.m(t, r)) : h && (h.d(1), h = null), /*showenrolled*/
4429
+ p[7] == "true" ? c ? c.p(p, S) : (c = Bt(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), E === (E = f(p)) && d ? d.p(p, S) : (d.d(1), d = E(p), d && (d.c(), d.m(t, i))), S[0] & /*title*/
4458
4430
  2 && $(
4459
4431
  o,
4460
4432
  /*title*/
4461
4433
  p[1]
4462
4434
  ), /*startdate*/
4463
- p[2] ? b ? b.p(p, T) : (b = Nt(p), b.c(), b.m(s, u)) : b && (b.d(1), b = null), /*isLoggedIn*/
4464
- p[12] ? g ? g.p(p, T) : (g = It(p), g.c(), g.m(s, null)) : g && (g.d(1), g = null);
4435
+ p[2] ? b ? b.p(p, S) : (b = Ot(p), b.c(), b.m(s, u)) : b && (b.d(1), b = null), /*isLoggedIn*/
4436
+ p[12] ? g ? g.p(p, S) : (g = Pt(p), g.c(), g.m(s, null)) : g && (g.d(1), g = null);
4465
4437
  },
4466
4438
  i: U,
4467
4439
  o: U,
@@ -4470,17 +4442,17 @@ function Li(e) {
4470
4442
  }
4471
4443
  };
4472
4444
  }
4473
- function Di(e, t, r) {
4445
+ function ki(e, t, r) {
4474
4446
  let n;
4475
- Er(e, Ii, (m) => r(16, n = m));
4476
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: v = "" } = t, { showenrolled: d = "false" } = t, { gameurl: b = "" } = t, { lang: g = "en" } = t, { keepbrowsercontext: p = "false" } = t, { clientstyling: T = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: H = "" } = t, C, F = "", D = !1, j = "", V = "", B = "";
4447
+ vr(e, Ni, (m) => r(16, n = m));
4448
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: E = "" } = t, { showenrolled: d = "false" } = t, { gameurl: b = "" } = t, { lang: g = "en" } = t, { keepbrowsercontext: p = "false" } = t, { clientstyling: S = "" } = t, { clientstylingurl: O = "" } = t, { translationurl: H = "" } = t, C, F = "", D = !1, V = "", z = "", B = "";
4477
4449
  const R = () => {
4478
- fetch(H).then((O) => O.json()).then((O) => {
4479
- Object.keys(O).forEach((z) => {
4480
- At(z, O[z]);
4450
+ fetch(H).then((N) => N.json()).then((N) => {
4451
+ Object.keys(N).forEach((J) => {
4452
+ At(J, N[J]);
4481
4453
  });
4482
- }).catch((O) => {
4483
- console.log(O);
4454
+ }).catch((N) => {
4455
+ console.log(N);
4484
4456
  });
4485
4457
  };
4486
4458
  Object.keys(Ht).forEach((m) => {
@@ -4488,32 +4460,32 @@ function Di(e, t, r) {
4488
4460
  });
4489
4461
  const nt = (m) => {
4490
4462
  m.data && (m.data && m.data.type == "SessionID" && r(12, D = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4491
- }, Be = () => {
4463
+ }, Oe = () => {
4492
4464
  const m = { month: "long" };
4493
- let O = new Date(o), z = new Intl.DateTimeFormat("en", m).format(O), fr = O.getDate(), mr = O.toLocaleString("en-GB", {
4465
+ let N = new Date(o), J = new Intl.DateTimeFormat("en", m).format(N), fr = N.getDate(), mr = N.toLocaleString("en-GB", {
4494
4466
  hour: "numeric",
4495
4467
  minute: "numeric",
4496
4468
  hour12: !1
4497
4469
  });
4498
4470
  const dr = () => n(l === "Running" ? "startedAt" : "startingAt");
4499
- r(11, F = `${fr} ` + n(`${z}`) + ", " + dr() + ` ${mr}`);
4500
- }, we = () => {
4501
- l == "Unstarted" && (r(13, j = n("scheduled")), r(15, B = "StatusUnstarted")), l == "Running" && (r(13, j = n("ongoing")), r(15, B = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, j = n("finished")), l == "Closed" && r(15, B = "StatusClosed"), l == "Closing" && r(15, B = "StatusClosing");
4471
+ r(11, F = `${fr} ` + n(`${J}`) + ", " + dr() + ` ${mr}`);
4472
+ }, Pe = () => {
4473
+ l == "Unstarted" && (r(13, V = n("scheduled")), r(15, B = "StatusUnstarted")), l == "Running" && (r(13, V = n("ongoing")), r(15, B = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, V = n("finished")), l == "Closed" && r(15, B = "StatusClosed"), l == "Closing" && r(15, B = "StatusClosing");
4502
4474
  }, Ne = () => {
4503
- f == "BetCount" && r(14, V = n("betCount")), f == "MaxWinStakeRatio" && r(14, V = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(14, V = n("winStakeRatio")), f == "Stake" && r(14, V = n("stake"));
4504
- }, it = (m, O) => {
4505
- window.postMessage({ type: "tournamentGamesClicked", tourId: O }, window.location.href);
4475
+ f == "BetCount" && r(14, z = n("betCount")), f == "MaxWinStakeRatio" && r(14, z = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(14, z = n("winStakeRatio")), f == "Stake" && r(14, z = n("stake"));
4476
+ }, it = (m, N) => {
4477
+ window.postMessage({ type: "tournamentGamesClicked", tourId: N }, window.location.href);
4506
4478
  }, or = () => {
4507
4479
  i.length > 0 && i != "false" ? r(12, D = !0) : r(12, D = !1);
4508
4480
  }, ur = () => {
4509
4481
  let m = document.createElement("style");
4510
- m.innerHTML = T, C.appendChild(m);
4482
+ m.innerHTML = S, C.appendChild(m);
4511
4483
  }, lr = () => {
4512
- let m = new URL(N), O = document.createElement("style");
4513
- fetch(m.href).then((z) => z.text()).then((z) => {
4514
- O.innerHTML = z, setTimeout(
4484
+ let m = new URL(O), N = document.createElement("style");
4485
+ fetch(m.href).then((J) => J.text()).then((J) => {
4486
+ N.innerHTML = J, setTimeout(
4515
4487
  () => {
4516
- C.appendChild(O);
4488
+ C.appendChild(N);
4517
4489
  },
4518
4490
  1
4519
4491
  ), setTimeout(
@@ -4523,28 +4495,28 @@ function Di(e, t, r) {
4523
4495
  );
4524
4496
  });
4525
4497
  };
4526
- Nr(() => (setTimeout(() => st(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", nt, !1), () => {
4498
+ Or(() => (setTimeout(() => st(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", nt, !1), () => {
4527
4499
  window.removeEventListener("message", nt);
4528
4500
  }));
4529
4501
  const st = () => {
4530
- Oi(g), Ne(), we(), o && Be();
4502
+ Ii(g), Ne(), Pe(), o && Oe();
4531
4503
  }, hr = () => it();
4532
4504
  function cr(m) {
4533
- Ge[m ? "unshift" : "push"](() => {
4505
+ je[m ? "unshift" : "push"](() => {
4534
4506
  C = m, r(10, C);
4535
4507
  });
4536
4508
  }
4537
4509
  return e.$$set = (m) => {
4538
- "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(3, u = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, c = m.userenrolled), "scorecriteria" in m && r(23, f = m.scorecriteria), "minbetcount" in m && r(6, v = m.minbetcount), "showenrolled" in m && r(7, d = m.showenrolled), "gameurl" in m && r(8, b = m.gameurl), "lang" in m && r(24, g = m.lang), "keepbrowsercontext" in m && r(9, p = m.keepbrowsercontext), "clientstyling" in m && r(25, T = m.clientstyling), "clientstylingurl" in m && r(26, N = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl);
4510
+ "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(3, u = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, c = m.userenrolled), "scorecriteria" in m && r(23, f = m.scorecriteria), "minbetcount" in m && r(6, E = m.minbetcount), "showenrolled" in m && r(7, d = m.showenrolled), "gameurl" in m && r(8, b = m.gameurl), "lang" in m && r(24, g = m.lang), "keepbrowsercontext" in m && r(9, p = m.keepbrowsercontext), "clientstyling" in m && r(25, S = m.clientstyling), "clientstylingurl" in m && r(26, O = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl);
4539
4511
  }, e.$$.update = () => {
4540
4512
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4541
- 33555456 && C && T && ur(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4542
- 67109888 && C && N && lr(), e.$$.dirty[0] & /*translationurl*/
4513
+ 33555456 && C && S && ur(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4514
+ 67109888 && C && O && lr(), e.$$.dirty[0] & /*translationurl*/
4543
4515
  134217728 && H && R(), e.$$.dirty[0] & /*session*/
4544
4516
  2097152 && i && or(), e.$$.dirty[0] & /*status*/
4545
- 1 && l && we(), e.$$.dirty[0] & /*title, lang*/
4517
+ 1 && l && Pe(), e.$$.dirty[0] & /*title, lang*/
4546
4518
  16777218 && a && g && st(), e.$$.dirty[0] & /*startdate*/
4547
- 4 && o && Be(), e.$$.dirty[0] & /*scorecriteria*/
4519
+ 4 && o && Oe(), e.$$.dirty[0] & /*scorecriteria*/
4548
4520
  8388608 && f && Ne();
4549
4521
  }, [
4550
4522
  l,
@@ -4553,27 +4525,27 @@ function Di(e, t, r) {
4553
4525
  u,
4554
4526
  h,
4555
4527
  c,
4556
- v,
4528
+ E,
4557
4529
  d,
4558
4530
  b,
4559
4531
  p,
4560
4532
  C,
4561
4533
  F,
4562
4534
  D,
4563
- j,
4564
4535
  V,
4536
+ z,
4565
4537
  B,
4566
4538
  n,
4567
- Be,
4568
- we,
4539
+ Oe,
4540
+ Pe,
4569
4541
  Ne,
4570
4542
  it,
4571
4543
  i,
4572
4544
  s,
4573
4545
  f,
4574
4546
  g,
4575
- T,
4576
- N,
4547
+ S,
4548
+ O,
4577
4549
  H,
4578
4550
  hr,
4579
4551
  cr
@@ -4584,9 +4556,9 @@ class ar extends $r {
4584
4556
  super(), Fr(
4585
4557
  this,
4586
4558
  t,
4559
+ ki,
4587
4560
  Di,
4588
- Li,
4589
- Pt,
4561
+ It,
4590
4562
  {
4591
4563
  session: 21,
4592
4564
  userid: 22,
@@ -4606,7 +4578,7 @@ class ar extends $r {
4606
4578
  clientstylingurl: 26,
4607
4579
  translationurl: 27
4608
4580
  },
4609
- Pi,
4581
+ Mi,
4610
4582
  [-1, -1]
4611
4583
  );
4612
4584
  }
@@ -4714,50 +4686,46 @@ class ar extends $r {
4714
4686
  }
4715
4687
  }
4716
4688
  Gr(ar, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4717
- const Xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4689
+ const Wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4718
4690
  __proto__: null,
4719
4691
  default: ar
4720
4692
  }, Symbol.toStringTag, { value: "Module" }));
4721
4693
  export {
4722
- se as $,
4723
- Ue as A,
4724
- Ar as B,
4725
- ne as C,
4694
+ ae as $,
4695
+ Ni as A,
4696
+ $e as B,
4697
+ Ji as C,
4726
4698
  Gi as D,
4727
- Fe as E,
4728
- zi as F,
4729
- Vi as G,
4730
- je as H,
4731
- ji as I,
4732
- Fi as J,
4733
- Ui as K,
4734
- Xi as L,
4699
+ zi as E,
4700
+ Vi as F,
4701
+ ze as G,
4702
+ Fi as H,
4703
+ Wi as I,
4735
4704
  $r as S,
4736
- Ji as _,
4737
- Pe as a,
4738
- Wi as b,
4739
- Se as c,
4740
- de as d,
4741
- tr as e,
4705
+ be as a,
4706
+ tr as b,
4707
+ Gr as c,
4708
+ xr as d,
4709
+ L as e,
4742
4710
  w as f,
4743
- Gr as g,
4744
- xr as h,
4711
+ G as g,
4712
+ P as h,
4745
4713
  Fr as i,
4746
- I as j,
4747
- G as k,
4748
- L as l,
4749
- Er as m,
4714
+ vr as j,
4715
+ je as k,
4716
+ y as l,
4717
+ x as m,
4750
4718
  U as n,
4751
- Nr as o,
4752
- Ge as p,
4753
- J as q,
4754
- $i as r,
4755
- Pt as s,
4756
- y as t,
4757
- S as u,
4758
- me as v,
4759
- fe as w,
4760
- M as x,
4761
- $ as y,
4762
- Ii as z
4719
+ Or as o,
4720
+ ji as p,
4721
+ W as q,
4722
+ $ as r,
4723
+ It as s,
4724
+ M as t,
4725
+ de as u,
4726
+ ie as v,
4727
+ Ge as w,
4728
+ Ar as x,
4729
+ $i as y,
4730
+ me as z
4763
4731
  };