@everymatrix/casino-tournaments-page-controller 1.77.20 → 1.77.21

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 (54) hide show
  1. package/components/{CasinoTournamentsDetails-C30Jp2nv.js → CasinoTournamentsDetails-BhehF_iH.js} +805 -762
  2. package/components/CasinoTournamentsDetails-C0vnKkIF.cjs +18 -0
  3. package/components/{CasinoTournamentsDetails-m-BkMhTx.js → CasinoTournamentsDetails-CCZyFUZY.js} +803 -760
  4. package/components/{CasinoTournamentsPageController-BKC9dRBD.js → CasinoTournamentsPageController-BupvThyE.js} +8 -8
  5. package/components/{CasinoTournamentsPageController-Bc2CUCYy.cjs → CasinoTournamentsPageController-C9dXL8aq.cjs} +2 -2
  6. package/components/{CasinoTournamentsPageController-DZNqrVld.js → CasinoTournamentsPageController-D87wHVAn.js} +8 -8
  7. package/components/{CasinoTournamentsRank-DbC6aMso.js → CasinoTournamentsRank-BxiLigZq.js} +1 -1
  8. package/components/{CasinoTournamentsRank-DZT0ANzC.js → CasinoTournamentsRank-CXceAd_p.js} +1 -1
  9. package/components/{CasinoTournamentsRank-BYLwbonp.cjs → CasinoTournamentsRank-DBuxPj0S.cjs} +1 -1
  10. package/components/{CasinoTournamentsTab-Cm9CIQTY.cjs → CasinoTournamentsTab-B7bZ4XQ5.cjs} +1 -1
  11. package/components/{CasinoTournamentsTab-994q3iFo.js → CasinoTournamentsTab-CGNPCbDW.js} +1 -1
  12. package/components/{CasinoTournamentsTab-CLWI-UyL.js → CasinoTournamentsTab-CV3zK-ST.js} +1 -1
  13. package/components/{CasinoTournamentsTable-BwFItCC8.js → CasinoTournamentsTable-BuIo7Q48.js} +1 -1
  14. package/components/{CasinoTournamentsTable-D4bZdYmi.cjs → CasinoTournamentsTable-CXkuplUY.cjs} +1 -1
  15. package/components/{CasinoTournamentsTable-iEHeX8TQ.js → CasinoTournamentsTable-DpqajrzO.js} +1 -1
  16. package/components/{CasinoTournamentsThumbnail-CWZPKKOS.cjs → CasinoTournamentsThumbnail-BWeSr5Pm.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnail-CWx5ZIHJ.js → CasinoTournamentsThumbnail-Cx6G4iW9.js} +3 -3
  18. package/components/{CasinoTournamentsThumbnail-Cnk1yqun.js → CasinoTournamentsThumbnail-DQ32ROP1.js} +3 -3
  19. package/components/{CasinoTournamentsThumbnailController-CU7o2NRJ.js → CasinoTournamentsThumbnailController-BJORxhsT.js} +5 -5
  20. package/components/{CasinoTournamentsThumbnailController-65wR81H1.cjs → CasinoTournamentsThumbnailController-C6kMp_uB.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailController-HsZE8kR1.js → CasinoTournamentsThumbnailController-aZ94k3Xc.js} +5 -5
  22. package/components/{CasinoTournamentsThumbnailDuration-D8pvMtSP.js → CasinoTournamentsThumbnailDuration-BlIVTADc.js} +1 -1
  23. package/components/{CasinoTournamentsThumbnailDuration-ByXFYVel.js → CasinoTournamentsThumbnailDuration-DFP-nQmW.js} +1 -1
  24. package/components/{CasinoTournamentsThumbnailDuration-uWr7zsMR.cjs → CasinoTournamentsThumbnailDuration-DdgsYjkY.cjs} +1 -1
  25. package/components/{CasinoTournamentsThumbnailGames-U--WhgbL.cjs → CasinoTournamentsThumbnailGames-BcJ5YMme.cjs} +1 -1
  26. package/components/{CasinoTournamentsThumbnailGames-BL9MeF8M.js → CasinoTournamentsThumbnailGames-CMEl_dOL.js} +2 -2
  27. package/components/{CasinoTournamentsThumbnailGames-BRH8wFKB.js → CasinoTournamentsThumbnailGames-D87QSrRp.js} +2 -2
  28. package/components/{CasinoTournamentsThumbnailGamesSlider-CavmG3Uo.js → CasinoTournamentsThumbnailGamesSlider-DDw7qiWJ.js} +1 -1
  29. package/components/{CasinoTournamentsThumbnailGamesSlider-GAKYyJH1.js → CasinoTournamentsThumbnailGamesSlider-Ds--aYaY.js} +1 -1
  30. package/components/{CasinoTournamentsThumbnailGamesSlider-NaxB082j.cjs → CasinoTournamentsThumbnailGamesSlider-_5Ay7Yas.cjs} +1 -1
  31. package/components/{CasinoTournamentsThumbnailPrizes-JtKX_bVB.cjs → CasinoTournamentsThumbnailPrizes-Cpt9pMCc.cjs} +1 -1
  32. package/components/{CasinoTournamentsThumbnailPrizes-BTGjL3gs.js → CasinoTournamentsThumbnailPrizes-NcyluRLB.js} +1 -1
  33. package/components/{CasinoTournamentsThumbnailPrizes-CqfEqdOV.js → CasinoTournamentsThumbnailPrizes-l6dTOFOE.js} +1 -1
  34. package/components/{CasinoTournamentsThumbnailRule-Cw2Kwq4v.js → CasinoTournamentsThumbnailRule-Bkh7dp-L.js} +1 -1
  35. package/components/{CasinoTournamentsThumbnailRule-CPBuEw4F.js → CasinoTournamentsThumbnailRule-D9AkrYWg.js} +1 -1
  36. package/components/{CasinoTournamentsThumbnailRule-29RibKSC.cjs → CasinoTournamentsThumbnailRule-QS3MmPV3.cjs} +1 -1
  37. package/es2015/casino-tournaments-page-controller.cjs +1 -1
  38. package/es2015/casino-tournaments-page-controller.js +1 -1
  39. package/esnext/casino-tournaments-page-controller.js +1 -1
  40. package/package.json +1 -1
  41. package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
  42. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  43. package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
  44. package/stencil/{ui-image-BBrwf8a4.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  45. package/stencil/{ui-image-B374V2Sk.js → ui-image-CXqPvnQ2.js} +1 -1
  46. package/stencil/{ui-image-CQSJVNNX.js → ui-image-DgbODkuX.js} +1 -1
  47. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  48. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  49. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  50. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Bm97-wkj.js} +2 -2
  51. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  52. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-qO3reSlr.js} +2 -2
  53. package/components/CasinoTournamentsDetails-DwFG80l5.cjs +0 -18
  54. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
@@ -1,53 +1,53 @@
1
- function T() {
1
+ function S() {
2
2
  }
3
- function vt(e) {
3
+ function wt(e) {
4
4
  return e();
5
5
  }
6
- function Qe() {
6
+ function et() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function te(e) {
10
- e.forEach(vt);
9
+ function ee(e) {
10
+ e.forEach(wt);
11
11
  }
12
- function re(e) {
12
+ function te(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function _t(e, t) {
15
+ function Tt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let se;
19
- function $i(e, t) {
19
+ function Fi(e, t) {
20
20
  return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
21
21
  }
22
- function tr(e) {
22
+ function sr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function xt(e, ...t) {
25
+ function Ht(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return T;
29
+ return S;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Ri(e, t, r) {
35
- e.$$.on_destroy.push(xt(t, r));
34
+ function ji(e, t, r) {
35
+ e.$$.on_destroy.push(Ht(t, r));
36
36
  }
37
- function rr(e) {
38
- return e && re(e.destroy) ? e.destroy : T;
37
+ function ar(e) {
38
+ return e && te(e.destroy) ? e.destroy : S;
39
39
  }
40
- function w(e, t) {
40
+ function H(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
- function nr(e, t, r) {
44
- const n = ir(e);
43
+ function ur(e, t, r) {
44
+ const n = hr(e);
45
45
  if (!n.getElementById(t)) {
46
- const i = H("style");
47
- i.id = t, i.textContent = r, or(n, i);
46
+ const i = A("style");
47
+ i.id = t, i.textContent = r, lr(n, i);
48
48
  }
49
49
  }
50
- function ir(e) {
50
+ function hr(e) {
51
51
  if (!e)
52
52
  return document;
53
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -57,8 +57,8 @@ function ir(e) {
57
57
  t
58
58
  ) : e.ownerDocument;
59
59
  }
60
- function or(e, t) {
61
- return w(
60
+ function lr(e, t) {
61
+ return H(
62
62
  /** @type {Document} */
63
63
  e.head || e,
64
64
  t
@@ -67,50 +67,50 @@ function or(e, t) {
67
67
  function N(e, t, r) {
68
68
  e.insertBefore(t, r || null);
69
69
  }
70
- function A(e) {
70
+ function P(e) {
71
71
  e.parentNode && e.parentNode.removeChild(e);
72
72
  }
73
- function Di(e, t) {
73
+ function ki(e, t) {
74
74
  for (let r = 0; r < e.length; r += 1)
75
75
  e[r] && e[r].d(t);
76
76
  }
77
- function H(e) {
77
+ function A(e) {
78
78
  return document.createElement(e);
79
79
  }
80
- function J(e) {
80
+ function q(e) {
81
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
82
82
  }
83
- function Xe(e) {
83
+ function qe(e) {
84
84
  return document.createTextNode(e);
85
85
  }
86
- function Et() {
87
- return Xe(" ");
86
+ function At() {
87
+ return qe(" ");
88
88
  }
89
- function Ui() {
90
- return Xe("");
89
+ function Vi() {
90
+ return qe("");
91
91
  }
92
- function Ae(e, t, r, n) {
92
+ function Ie(e, t, r, n) {
93
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
94
94
  }
95
- function y(e, t, r) {
95
+ function b(e, t, r) {
96
96
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
97
97
  }
98
- function Gi(e, t, r) {
98
+ function Xi(e, t, r) {
99
99
  const n = t.toLowerCase();
100
- 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);
100
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
101
101
  }
102
- function sr(e) {
102
+ function fr(e) {
103
103
  return Array.from(e.childNodes);
104
104
  }
105
- function ar(e, t) {
105
+ function cr(e, t) {
106
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
107
107
  t);
108
108
  }
109
- function Fi(e, t, r, n) {
109
+ function Wi(e, t, r, n) {
110
110
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
111
111
  }
112
112
  let ae;
113
- function ur() {
113
+ function pr() {
114
114
  if (ae === void 0) {
115
115
  ae = !1;
116
116
  try {
@@ -121,16 +121,16 @@ function ur() {
121
121
  }
122
122
  return ae;
123
123
  }
124
- function ji(e, t) {
124
+ function zi(e, t) {
125
125
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
126
- const n = H("iframe");
126
+ const n = A("iframe");
127
127
  n.setAttribute(
128
128
  "style",
129
129
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
130
130
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
131
- const i = ur();
131
+ const i = pr();
132
132
  let o;
133
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ae(
133
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ie(
134
134
  window,
135
135
  "message",
136
136
  /** @param {MessageEvent} event */
@@ -138,15 +138,15 @@ function ji(e, t) {
138
138
  s.source === n.contentWindow && t();
139
139
  }
140
140
  )) : (n.src = "about:blank", n.onload = () => {
141
- o = Ae(n.contentWindow, "resize", t), t();
142
- }), w(e, n), () => {
143
- (i || o && n.contentWindow) && o(), A(n);
141
+ o = Ie(n.contentWindow, "resize", t), t();
142
+ }), H(e, n), () => {
143
+ (i || o && n.contentWindow) && o(), P(n);
144
144
  };
145
145
  }
146
- function ki(e, t, r) {
146
+ function Zi(e, t, r) {
147
147
  e.classList.toggle(t, !!r);
148
148
  }
149
- class Vi {
149
+ class Qi {
150
150
  /**
151
151
  * @private
152
152
  * @default false
@@ -177,10 +177,10 @@ class Vi {
177
177
  * @returns {void}
178
178
  */
179
179
  m(t, r, n = null) {
180
- this.e || (this.is_svg ? this.e = J(
180
+ this.e || (this.is_svg ? this.e = q(
181
181
  /** @type {keyof SVGElementTagNameMap} */
182
182
  r.nodeName
183
- ) : this.e = H(
183
+ ) : this.e = A(
184
184
  /** @type {keyof HTMLElementTagNameMap} */
185
185
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
186
186
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -213,10 +213,10 @@ class Vi {
213
213
  /**
214
214
  * @returns {void} */
215
215
  d() {
216
- this.n.forEach(A);
216
+ this.n.forEach(P);
217
217
  }
218
218
  }
219
- function hr(e) {
219
+ function dr(e) {
220
220
  const t = {};
221
221
  return e.childNodes.forEach(
222
222
  /** @param {Element} node */
@@ -225,101 +225,101 @@ function hr(e) {
225
225
  }
226
226
  ), t;
227
227
  }
228
- let Y;
229
- function q(e) {
230
- Y = e;
228
+ let J;
229
+ function Q(e) {
230
+ J = e;
231
231
  }
232
- function Tt() {
233
- if (!Y)
232
+ function Bt() {
233
+ if (!J)
234
234
  throw new Error("Function called outside component initialization");
235
- return Y;
235
+ return J;
236
236
  }
237
- function lr(e) {
238
- Tt().$$.on_mount.push(e);
237
+ function mr(e) {
238
+ Bt().$$.on_mount.push(e);
239
239
  }
240
- function Xi(e) {
241
- Tt().$$.on_destroy.push(e);
240
+ function qi(e) {
241
+ Bt().$$.on_destroy.push(e);
242
242
  }
243
- const D = [], Pe = [];
243
+ const D = [], Ce = [];
244
244
  let U = [];
245
- const qe = [], fr = /* @__PURE__ */ Promise.resolve();
246
- let Oe = !1;
247
- function cr() {
248
- Oe || (Oe = !0, fr.then(C));
245
+ const tt = [], br = /* @__PURE__ */ Promise.resolve();
246
+ let Ne = !1;
247
+ function yr() {
248
+ Ne || (Ne = !0, br.then(C));
249
249
  }
250
- function Ie(e) {
250
+ function Le(e) {
251
251
  U.push(e);
252
252
  }
253
- const xe = /* @__PURE__ */ new Set();
253
+ const Se = /* @__PURE__ */ new Set();
254
254
  let $ = 0;
255
255
  function C() {
256
256
  if ($ !== 0)
257
257
  return;
258
- const e = Y;
258
+ const e = J;
259
259
  do {
260
260
  try {
261
261
  for (; $ < D.length; ) {
262
262
  const t = D[$];
263
- $++, q(t), pr(t.$$);
263
+ $++, Q(t), gr(t.$$);
264
264
  }
265
265
  } catch (t) {
266
266
  throw D.length = 0, $ = 0, t;
267
267
  }
268
- for (q(null), D.length = 0, $ = 0; Pe.length; )
269
- Pe.pop()();
268
+ for (Q(null), D.length = 0, $ = 0; Ce.length; )
269
+ Ce.pop()();
270
270
  for (let t = 0; t < U.length; t += 1) {
271
271
  const r = U[t];
272
- xe.has(r) || (xe.add(r), r());
272
+ Se.has(r) || (Se.add(r), r());
273
273
  }
274
274
  U.length = 0;
275
275
  } while (D.length);
276
- for (; qe.length; )
277
- qe.pop()();
278
- Oe = !1, xe.clear(), q(e);
276
+ for (; tt.length; )
277
+ tt.pop()();
278
+ Ne = !1, Se.clear(), Q(e);
279
279
  }
280
- function pr(e) {
280
+ function gr(e) {
281
281
  if (e.fragment !== null) {
282
- e.update(), te(e.before_update);
282
+ e.update(), ee(e.before_update);
283
283
  const t = e.dirty;
284
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
284
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
285
285
  }
286
286
  }
287
- function dr(e) {
287
+ function vr(e) {
288
288
  const t = [], r = [];
289
289
  U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
290
290
  }
291
- const mr = /* @__PURE__ */ new Set();
292
- function br(e, t) {
293
- e && e.i && (mr.delete(e), e.i(t));
291
+ const _r = /* @__PURE__ */ new Set();
292
+ function xr(e, t) {
293
+ e && e.i && (_r.delete(e), e.i(t));
294
294
  }
295
- function Wi(e) {
295
+ function Ji(e) {
296
296
  return e?.length !== void 0 ? e : Array.from(e);
297
297
  }
298
- function yr(e, t, r) {
298
+ function Er(e, t, r) {
299
299
  const { fragment: n, after_update: i } = e.$$;
300
- n && n.m(t, r), Ie(() => {
301
- const o = e.$$.on_mount.map(vt).filter(re);
302
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
303
- }), i.forEach(Ie);
300
+ n && n.m(t, r), Le(() => {
301
+ const o = e.$$.on_mount.map(wt).filter(te);
302
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
303
+ }), i.forEach(Le);
304
304
  }
305
- function gr(e, t) {
305
+ function Sr(e, t) {
306
306
  const r = e.$$;
307
- r.fragment !== null && (dr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
307
+ r.fragment !== null && (vr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
308
308
  }
309
- function vr(e, t) {
310
- e.$$.dirty[0] === -1 && (D.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
309
+ function wr(e, t) {
310
+ e.$$.dirty[0] === -1 && (D.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
311
311
  }
312
- function _r(e, t, r, n, i, o, s = null, a = [-1]) {
313
- const h = Y;
314
- q(e);
312
+ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
313
+ const h = J;
314
+ Q(e);
315
315
  const u = e.$$ = {
316
316
  fragment: null,
317
317
  ctx: [],
318
318
  // state
319
319
  props: o,
320
- update: T,
320
+ update: S,
321
321
  not_equal: i,
322
- bound: Qe(),
322
+ bound: et(),
323
323
  // lifecycle
324
324
  on_mount: [],
325
325
  on_destroy: [],
@@ -328,28 +328,28 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
328
328
  after_update: [],
329
329
  context: new Map(t.context || (h ? h.$$.context : [])),
330
330
  // everything else
331
- callbacks: Qe(),
331
+ callbacks: et(),
332
332
  dirty: a,
333
333
  skip_bound: !1,
334
334
  root: t.target || h.$$.root
335
335
  };
336
336
  s && s(u.root);
337
337
  let l = !1;
338
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
339
- const p = g.length ? g[0] : c;
340
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && vr(e, f)), c;
341
- }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
338
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
339
+ const p = y.length ? y[0] : c;
340
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && wr(e, f)), c;
341
+ }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
342
342
  if (t.hydrate) {
343
- const f = sr(t.target);
344
- u.fragment && u.fragment.l(f), f.forEach(A);
343
+ const f = fr(t.target);
344
+ u.fragment && u.fragment.l(f), f.forEach(P);
345
345
  } else
346
346
  u.fragment && u.fragment.c();
347
- t.intro && br(e.$$.fragment), yr(e, t.target, t.anchor), C();
347
+ t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), C();
348
348
  }
349
- q(h);
349
+ Q(h);
350
350
  }
351
- let St;
352
- typeof HTMLElement == "function" && (St = class extends HTMLElement {
351
+ let Pt;
352
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
353
353
  /** The Svelte component constructor */
354
354
  $$ctor;
355
355
  /** Slots */
@@ -391,7 +391,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
391
391
  let o;
392
392
  return {
393
393
  c: function() {
394
- o = H("slot"), i !== "default" && y(o, "name", i);
394
+ o = A("slot"), i !== "default" && b(o, "name", i);
395
395
  },
396
396
  /**
397
397
  * @param {HTMLElement} target
@@ -401,14 +401,14 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
401
401
  N(h, o, u);
402
402
  },
403
403
  d: function(h) {
404
- h && A(o);
404
+ h && P(o);
405
405
  }
406
406
  };
407
407
  };
408
408
  };
409
409
  if (await Promise.resolve(), !this.$$cn || this.$$c)
410
410
  return;
411
- const t = {}, r = hr(this);
411
+ const t = {}, r = dr(this);
412
412
  for (const i of this.$$s)
413
413
  i in r && (t[i] = [e(i)]);
414
414
  for (const i of this.attributes) {
@@ -495,8 +495,8 @@ function le(e, t, r, n) {
495
495
  return t;
496
496
  }
497
497
  }
498
- function xr(e, t, r, n, i, o) {
499
- let s = class extends St {
498
+ function Hr(e, t, r, n, i, o) {
499
+ let s = class extends Pt {
500
500
  constructor() {
501
501
  super(e, r, i), this.$$p_d = t;
502
502
  }
@@ -524,7 +524,7 @@ function xr(e, t, r, n, i, o) {
524
524
  }), e.element = /** @type {any} */
525
525
  s, s;
526
526
  }
527
- class Er {
527
+ class Ar {
528
528
  /**
529
529
  * ### PRIVATE API
530
530
  *
@@ -543,7 +543,7 @@ class Er {
543
543
  $$set = void 0;
544
544
  /** @returns {void} */
545
545
  $destroy() {
546
- gr(this, 1), this.$destroy = T;
546
+ Sr(this, 1), this.$destroy = S;
547
547
  }
548
548
  /**
549
549
  * @template {Extract<keyof Events, string>} K
@@ -552,8 +552,8 @@ class Er {
552
552
  * @returns {() => void}
553
553
  */
554
554
  $on(t, r) {
555
- if (!re(r))
556
- return T;
555
+ if (!te(r))
556
+ return S;
557
557
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
558
558
  return n.push(r), () => {
559
559
  const i = n.indexOf(r);
@@ -565,13 +565,13 @@ class Er {
565
565
  * @returns {void}
566
566
  */
567
567
  $set(t) {
568
- this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
568
+ this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
569
569
  }
570
570
  }
571
- const Tr = "4";
572
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
573
- var zi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
574
- function Sr(e) {
571
+ const Br = "4";
572
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
573
+ var Yi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
574
+ function Pr(e) {
575
575
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
576
576
  }
577
577
  /*! *****************************************************************************
@@ -588,43 +588,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
588
588
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
589
589
  PERFORMANCE OF THIS SOFTWARE.
590
590
  ***************************************************************************** */
591
- var Ce = function(e, t) {
592
- return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
591
+ var Me = function(e, t) {
592
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
593
593
  r.__proto__ = n;
594
594
  } || function(r, n) {
595
595
  for (var i in n)
596
596
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
597
- }, Ce(e, t);
597
+ }, Me(e, t);
598
598
  };
599
- function P(e, t) {
599
+ function re(e, t) {
600
600
  if (typeof t != "function" && t !== null)
601
601
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
602
- Ce(e, t);
602
+ Me(e, t);
603
603
  function r() {
604
604
  this.constructor = e;
605
605
  }
606
606
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
607
607
  }
608
- var b = function() {
609
- return b = Object.assign || function(t) {
610
- for (var r, n = 1, i = arguments.length; n < i; n++) {
611
- r = arguments[n];
612
- for (var o in r)
613
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
614
- }
615
- return t;
616
- }, b.apply(this, arguments);
617
- };
618
- function wr(e, t) {
619
- var r = {};
620
- for (var n in e)
621
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
622
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
623
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
624
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
625
- return r;
626
- }
627
- function Ne(e) {
608
+ function $e(e) {
628
609
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
629
610
  if (r)
630
611
  return r.call(e);
@@ -636,7 +617,7 @@ function Ne(e) {
636
617
  };
637
618
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
638
619
  }
639
- function Le(e, t) {
620
+ function Re(e, t) {
640
621
  var r = typeof Symbol == "function" && e[Symbol.iterator];
641
622
  if (!r)
642
623
  return e;
@@ -656,8 +637,8 @@ function Le(e, t) {
656
637
  }
657
638
  return o;
658
639
  }
659
- function G(e, t, r) {
660
- if (r || arguments.length === 2)
640
+ function De(e, t, r) {
641
+ if (arguments.length === 2)
661
642
  for (var n = 0, i = t.length, o; n < i; n++)
662
643
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
663
644
  return e.concat(o || t);
@@ -665,13 +646,13 @@ function G(e, t, r) {
665
646
  function B(e) {
666
647
  return typeof e == "function";
667
648
  }
668
- function wt(e) {
649
+ function Ot(e) {
669
650
  var t = function(n) {
670
651
  Error.call(n), n.stack = new Error().stack;
671
652
  }, r = e(t);
672
653
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
673
654
  }
674
- var Ee = wt(function(e) {
655
+ var we = Ot(function(e) {
675
656
  return function(r) {
676
657
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
677
658
  ` + r.map(function(n, i) {
@@ -680,13 +661,13 @@ var Ee = wt(function(e) {
680
661
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
681
662
  };
682
663
  });
683
- function Me(e, t) {
664
+ function Ue(e, t) {
684
665
  if (e) {
685
666
  var r = e.indexOf(t);
686
667
  0 <= r && e.splice(r, 1);
687
668
  }
688
669
  }
689
- var be = function() {
670
+ var ye = function() {
690
671
  function e(t) {
691
672
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
692
673
  }
@@ -698,12 +679,12 @@ var be = function() {
698
679
  if (s)
699
680
  if (this._parentage = null, Array.isArray(s))
700
681
  try {
701
- for (var a = Ne(s), h = a.next(); !h.done; h = a.next()) {
682
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
702
683
  var u = h.value;
703
684
  u.remove(this);
704
685
  }
705
- } catch (v) {
706
- t = { error: v };
686
+ } catch (g) {
687
+ t = { error: g };
707
688
  } finally {
708
689
  try {
709
690
  h && !h.done && (r = a.return) && r.call(a);
@@ -718,26 +699,26 @@ var be = function() {
718
699
  if (B(l))
719
700
  try {
720
701
  l();
721
- } catch (v) {
722
- o = v instanceof Ee ? v.errors : [v];
702
+ } catch (g) {
703
+ o = g instanceof we ? g.errors : [g];
723
704
  }
724
705
  var f = this._finalizers;
725
706
  if (f) {
726
707
  this._finalizers = null;
727
708
  try {
728
- for (var c = Ne(f), g = c.next(); !g.done; g = c.next()) {
729
- var p = g.value;
709
+ for (var c = $e(f), y = c.next(); !y.done; y = c.next()) {
710
+ var p = y.value;
730
711
  try {
731
- Je(p);
732
- } catch (v) {
733
- o = o ?? [], v instanceof Ee ? o = G(G([], Le(o)), Le(v.errors)) : o.push(v);
712
+ rt(p);
713
+ } catch (g) {
714
+ o = o ?? [], g instanceof we ? o = De(De([], Re(o)), Re(g.errors)) : o.push(g);
734
715
  }
735
716
  }
736
- } catch (v) {
737
- n = { error: v };
717
+ } catch (g) {
718
+ n = { error: g };
738
719
  } finally {
739
720
  try {
740
- g && !g.done && (i = c.return) && i.call(c);
721
+ y && !y.done && (i = c.return) && i.call(c);
741
722
  } finally {
742
723
  if (n)
743
724
  throw n.error;
@@ -745,13 +726,13 @@ var be = function() {
745
726
  }
746
727
  }
747
728
  if (o)
748
- throw new Ee(o);
729
+ throw new we(o);
749
730
  }
750
731
  }, e.prototype.add = function(t) {
751
732
  var r;
752
733
  if (t && t !== this)
753
734
  if (this.closed)
754
- Je(t);
735
+ rt(t);
755
736
  else {
756
737
  if (t instanceof e) {
757
738
  if (t.closed || t._hasParent(this))
@@ -768,52 +749,52 @@ var be = function() {
768
749
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
769
750
  }, e.prototype._removeParent = function(t) {
770
751
  var r = this._parentage;
771
- r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
752
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
772
753
  }, e.prototype.remove = function(t) {
773
754
  var r = this._finalizers;
774
- r && Me(r, t), t instanceof e && t._removeParent(this);
755
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
775
756
  }, e.EMPTY = function() {
776
757
  var t = new e();
777
758
  return t.closed = !0, t;
778
759
  }(), e;
779
- }(), Ht = be.EMPTY;
780
- function Bt(e) {
781
- return e instanceof be || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
760
+ }(), It = ye.EMPTY;
761
+ function Ct(e) {
762
+ return e instanceof ye || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
782
763
  }
783
- function Je(e) {
764
+ function rt(e) {
784
765
  B(e) ? e() : e.unsubscribe();
785
766
  }
786
- var Hr = {
767
+ var Or = {
787
768
  Promise: void 0
788
- }, Br = {
769
+ }, Ir = {
789
770
  setTimeout: function(e, t) {
790
771
  for (var r = [], n = 2; n < arguments.length; n++)
791
772
  r[n - 2] = arguments[n];
792
- return setTimeout.apply(void 0, G([e, t], Le(r)));
773
+ return setTimeout.apply(void 0, De([e, t], Re(r)));
793
774
  },
794
775
  clearTimeout: function(e) {
795
776
  return clearTimeout(e);
796
777
  },
797
778
  delegate: void 0
798
779
  };
799
- function Ar(e) {
800
- Br.setTimeout(function() {
780
+ function Cr(e) {
781
+ Ir.setTimeout(function() {
801
782
  throw e;
802
783
  });
803
784
  }
804
- function Ye() {
785
+ function nt() {
805
786
  }
806
787
  function fe(e) {
807
788
  e();
808
789
  }
809
- var At = function(e) {
810
- P(t, e);
790
+ var Nt = function(e) {
791
+ re(t, e);
811
792
  function t(r) {
812
793
  var n = e.call(this) || this;
813
- return n.isStopped = !1, r ? (n.destination = r, Bt(r) && r.add(n)) : n.destination = Ir, n;
794
+ return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = Mr, n;
814
795
  }
815
796
  return t.create = function(r, n, i) {
816
- return new $e(r, n, i);
797
+ return new Ge(r, n, i);
817
798
  }, t.prototype.next = function(r) {
818
799
  this.isStopped || this._next(r);
819
800
  }, t.prototype.error = function(r) {
@@ -837,7 +818,7 @@ var At = function(e) {
837
818
  this.unsubscribe();
838
819
  }
839
820
  }, t;
840
- }(be), Pr = function() {
821
+ }(ye), Nr = function() {
841
822
  function e(t) {
842
823
  this.partialObserver = t;
843
824
  }
@@ -868,43 +849,43 @@ var At = function(e) {
868
849
  ue(r);
869
850
  }
870
851
  }, e;
871
- }(), $e = function(e) {
872
- P(t, e);
852
+ }(), Ge = function(e) {
853
+ re(t, e);
873
854
  function t(r, n, i) {
874
855
  var o = e.call(this) || this, s;
875
856
  return B(r) || !r ? s = {
876
857
  next: r ?? void 0,
877
858
  error: n ?? void 0,
878
859
  complete: i ?? void 0
879
- } : s = r, o.destination = new Pr(s), o;
860
+ } : s = r, o.destination = new Nr(s), o;
880
861
  }
881
862
  return t;
882
- }(At);
863
+ }(Nt);
883
864
  function ue(e) {
884
- Ar(e);
865
+ Cr(e);
885
866
  }
886
- function Or(e) {
867
+ function Lr(e) {
887
868
  throw e;
888
869
  }
889
- var Ir = {
870
+ var Mr = {
890
871
  closed: !0,
891
- next: Ye,
892
- error: Or,
893
- complete: Ye
894
- }, Cr = function() {
872
+ next: nt,
873
+ error: Lr,
874
+ complete: nt
875
+ }, $r = function() {
895
876
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
896
877
  }();
897
- function Nr(e) {
878
+ function Rr(e) {
898
879
  return e;
899
880
  }
900
- function Lr(e) {
901
- return e.length === 0 ? Nr : e.length === 1 ? e[0] : function(r) {
881
+ function Dr(e) {
882
+ return e.length === 0 ? Rr : e.length === 1 ? e[0] : function(r) {
902
883
  return e.reduce(function(n, i) {
903
884
  return i(n);
904
885
  }, r);
905
886
  };
906
887
  }
907
- var Ke = function() {
888
+ var it = function() {
908
889
  function e(t) {
909
890
  t && (this._subscribe = t);
910
891
  }
@@ -912,7 +893,7 @@ var Ke = function() {
912
893
  var r = new e();
913
894
  return r.source = this, r.operator = t, r;
914
895
  }, e.prototype.subscribe = function(t, r, n) {
915
- var i = this, o = $r(t) ? t : new $e(t, r, n);
896
+ var i = this, o = Gr(t) ? t : new Ge(t, r, n);
916
897
  return fe(function() {
917
898
  var s = i, a = s.operator, h = s.source;
918
899
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -925,8 +906,8 @@ var Ke = function() {
925
906
  }
926
907
  }, e.prototype.forEach = function(t, r) {
927
908
  var n = this;
928
- return r = et(r), new r(function(i, o) {
929
- var s = new $e({
909
+ return r = ot(r), new r(function(i, o) {
910
+ var s = new Ge({
930
911
  next: function(a) {
931
912
  try {
932
913
  t(a);
@@ -942,15 +923,15 @@ var Ke = function() {
942
923
  }, e.prototype._subscribe = function(t) {
943
924
  var r;
944
925
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
945
- }, e.prototype[Cr] = function() {
926
+ }, e.prototype[$r] = function() {
946
927
  return this;
947
928
  }, e.prototype.pipe = function() {
948
929
  for (var t = [], r = 0; r < arguments.length; r++)
949
930
  t[r] = arguments[r];
950
- return Lr(t)(this);
931
+ return Dr(t)(this);
951
932
  }, e.prototype.toPromise = function(t) {
952
933
  var r = this;
953
- return t = et(t), new t(function(n, i) {
934
+ return t = ot(t), new t(function(n, i) {
954
935
  var o;
955
936
  r.subscribe(function(s) {
956
937
  return o = s;
@@ -964,32 +945,32 @@ var Ke = function() {
964
945
  return new e(t);
965
946
  }, e;
966
947
  }();
967
- function et(e) {
948
+ function ot(e) {
968
949
  var t;
969
- return (t = e ?? Hr.Promise) !== null && t !== void 0 ? t : Promise;
950
+ return (t = e ?? Or.Promise) !== null && t !== void 0 ? t : Promise;
970
951
  }
971
- function Mr(e) {
952
+ function Ur(e) {
972
953
  return e && B(e.next) && B(e.error) && B(e.complete);
973
954
  }
974
- function $r(e) {
975
- return e && e instanceof At || Mr(e) && Bt(e);
955
+ function Gr(e) {
956
+ return e && e instanceof Nt || Ur(e) && Ct(e);
976
957
  }
977
- var Rr = wt(function(e) {
958
+ var Fr = Ot(function(e) {
978
959
  return function() {
979
960
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
980
961
  };
981
- }), Pt = function(e) {
982
- P(t, e);
962
+ }), Lt = function(e) {
963
+ re(t, e);
983
964
  function t() {
984
965
  var r = e.call(this) || this;
985
966
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
986
967
  }
987
968
  return t.prototype.lift = function(r) {
988
- var n = new tt(this, this);
969
+ var n = new st(this, this);
989
970
  return n.operator = r, n;
990
971
  }, t.prototype._throwIfClosed = function() {
991
972
  if (this.closed)
992
- throw new Rr();
973
+ throw new Fr();
993
974
  }, t.prototype.next = function(r) {
994
975
  var n = this;
995
976
  fe(function() {
@@ -997,7 +978,7 @@ var Rr = wt(function(e) {
997
978
  if (n._throwIfClosed(), !n.isStopped) {
998
979
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
999
980
  try {
1000
- for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
981
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1001
982
  var h = a.value;
1002
983
  h.next(r);
1003
984
  }
@@ -1046,20 +1027,20 @@ var Rr = wt(function(e) {
1046
1027
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1047
1028
  }, t.prototype._innerSubscribe = function(r) {
1048
1029
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1049
- return o || s ? Ht : (this.currentObservers = null, a.push(r), new be(function() {
1050
- n.currentObservers = null, Me(a, r);
1030
+ return o || s ? It : (this.currentObservers = null, a.push(r), new ye(function() {
1031
+ n.currentObservers = null, Ue(a, r);
1051
1032
  }));
1052
1033
  }, t.prototype._checkFinalizedStatuses = function(r) {
1053
1034
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1054
1035
  i ? r.error(o) : s && r.complete();
1055
1036
  }, t.prototype.asObservable = function() {
1056
- var r = new Ke();
1037
+ var r = new it();
1057
1038
  return r.source = this, r;
1058
1039
  }, t.create = function(r, n) {
1059
- return new tt(r, n);
1040
+ return new st(r, n);
1060
1041
  }, t;
1061
- }(Ke), tt = function(e) {
1062
- P(t, e);
1042
+ }(it), st = function(e) {
1043
+ re(t, e);
1063
1044
  function t(r, n) {
1064
1045
  var i = e.call(this) || this;
1065
1046
  return i.destination = r, i.source = n, i;
@@ -1075,17 +1056,17 @@ var Rr = wt(function(e) {
1075
1056
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1076
1057
  }, t.prototype._subscribe = function(r) {
1077
1058
  var n, i;
1078
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ht;
1059
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
1079
1060
  }, t;
1080
- }(Pt), Ot = {
1061
+ }(Lt), Mt = {
1081
1062
  now: function() {
1082
- return (Ot.delegate || Date).now();
1063
+ return (Mt.delegate || Date).now();
1083
1064
  },
1084
1065
  delegate: void 0
1085
- }, Dr = function(e) {
1086
- P(t, e);
1066
+ }, jr = function(e) {
1067
+ re(t, e);
1087
1068
  function t(r, n, i) {
1088
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
1069
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mt);
1089
1070
  var o = e.call(this) || this;
1090
1071
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1091
1072
  }
@@ -1105,24 +1086,24 @@ var Rr = wt(function(e) {
1105
1086
  u && o.splice(0, u + 1);
1106
1087
  }
1107
1088
  }, t;
1108
- }(Pt);
1109
- const rt = [], nt = {}, Ur = (e, t = 0) => {
1110
- if (rt.indexOf(e) == -1) {
1111
- const r = new Dr(t);
1112
- nt[e] = r, rt.push(e);
1089
+ }(Lt);
1090
+ const at = [], ut = {}, kr = (e, t = 0) => {
1091
+ if (at.indexOf(e) == -1) {
1092
+ const r = new jr(t);
1093
+ ut[e] = r, at.push(e);
1113
1094
  }
1114
- return nt[e];
1095
+ return ut[e];
1115
1096
  }, R = [];
1116
- function Gr(e, t) {
1097
+ function Vr(e, t) {
1117
1098
  return {
1118
- subscribe: ye(e, t).subscribe
1099
+ subscribe: ge(e, t).subscribe
1119
1100
  };
1120
1101
  }
1121
- function ye(e, t = T) {
1102
+ function ge(e, t = S) {
1122
1103
  let r;
1123
1104
  const n = /* @__PURE__ */ new Set();
1124
1105
  function i(a) {
1125
- if (_t(e, a) && (e = a, r)) {
1106
+ if (Tt(e, a) && (e = a, r)) {
1126
1107
  const h = !R.length;
1127
1108
  for (const u of n)
1128
1109
  u[1](), R.push(u, e);
@@ -1136,147 +1117,189 @@ function ye(e, t = T) {
1136
1117
  function o(a) {
1137
1118
  i(a(e));
1138
1119
  }
1139
- function s(a, h = T) {
1120
+ function s(a, h = S) {
1140
1121
  const u = [a, h];
1141
- return n.add(u), n.size === 1 && (r = t(i, o) || T), a(e), () => {
1122
+ return n.add(u), n.size === 1 && (r = t(i, o) || S), a(e), () => {
1142
1123
  n.delete(u), n.size === 0 && r && (r(), r = null);
1143
1124
  };
1144
1125
  }
1145
1126
  return { set: i, update: o, subscribe: s };
1146
1127
  }
1147
- function X(e, t, r) {
1128
+ function V(e, t, r) {
1148
1129
  const n = !Array.isArray(e), i = n ? [e] : e;
1149
1130
  if (!i.every(Boolean))
1150
1131
  throw new Error("derived() expects stores as input, got a falsy value");
1151
1132
  const o = t.length < 2;
1152
- return Gr(r, (s, a) => {
1133
+ return Vr(r, (s, a) => {
1153
1134
  let h = !1;
1154
1135
  const u = [];
1155
- let l = 0, f = T;
1136
+ let l = 0, f = S;
1156
1137
  const c = () => {
1157
1138
  if (l)
1158
1139
  return;
1159
1140
  f();
1160
1141
  const p = t(n ? u[0] : u, s, a);
1161
- o ? s(p) : f = re(p) ? p : T;
1162
- }, g = i.map(
1163
- (p, v) => xt(
1142
+ o ? s(p) : f = te(p) ? p : S;
1143
+ }, y = i.map(
1144
+ (p, g) => Ht(
1164
1145
  p,
1165
1146
  (E) => {
1166
- u[v] = E, l &= ~(1 << v), h && c();
1147
+ u[g] = E, l &= ~(1 << g), h && c();
1167
1148
  },
1168
1149
  () => {
1169
- l |= 1 << v;
1150
+ l |= 1 << g;
1170
1151
  }
1171
1152
  )
1172
1153
  );
1173
1154
  return h = !0, c(), function() {
1174
- te(g), f(), h = !1;
1155
+ ee(y), f(), h = !1;
1175
1156
  };
1176
1157
  });
1177
1158
  }
1178
- var Fr = function(t) {
1179
- return jr(t) && !kr(t);
1159
+ var Xr = function(t) {
1160
+ return Wr(t) && !zr(t);
1180
1161
  };
1181
- function jr(e) {
1162
+ function Wr(e) {
1182
1163
  return !!e && typeof e == "object";
1183
1164
  }
1184
- function kr(e) {
1165
+ function zr(e) {
1185
1166
  var t = Object.prototype.toString.call(e);
1186
- return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
1167
+ return t === "[object RegExp]" || t === "[object Date]" || qr(e);
1187
1168
  }
1188
- var Vr = typeof Symbol == "function" && Symbol.for, Xr = Vr ? Symbol.for("react.element") : 60103;
1189
- function Wr(e) {
1190
- return e.$$typeof === Xr;
1169
+ var Zr = typeof Symbol == "function" && Symbol.for, Qr = Zr ? Symbol.for("react.element") : 60103;
1170
+ function qr(e) {
1171
+ return e.$$typeof === Qr;
1191
1172
  }
1192
- function zr(e) {
1173
+ function Jr(e) {
1193
1174
  return Array.isArray(e) ? [] : {};
1194
1175
  }
1195
- function K(e, t) {
1196
- return t.clone !== !1 && t.isMergeableObject(e) ? F(zr(e), e, t) : e;
1176
+ function Y(e, t) {
1177
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(Jr(e), e, t) : e;
1197
1178
  }
1198
- function Zr(e, t, r) {
1179
+ function Yr(e, t, r) {
1199
1180
  return e.concat(t).map(function(n) {
1200
- return K(n, r);
1181
+ return Y(n, r);
1201
1182
  });
1202
1183
  }
1203
- function Qr(e, t) {
1184
+ function Kr(e, t) {
1204
1185
  if (!t.customMerge)
1205
- return F;
1186
+ return G;
1206
1187
  var r = t.customMerge(e);
1207
- return typeof r == "function" ? r : F;
1188
+ return typeof r == "function" ? r : G;
1208
1189
  }
1209
- function qr(e) {
1190
+ function en(e) {
1210
1191
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1211
1192
  return Object.propertyIsEnumerable.call(e, t);
1212
1193
  }) : [];
1213
1194
  }
1214
- function it(e) {
1215
- return Object.keys(e).concat(qr(e));
1195
+ function ht(e) {
1196
+ return Object.keys(e).concat(en(e));
1216
1197
  }
1217
- function It(e, t) {
1198
+ function $t(e, t) {
1218
1199
  try {
1219
1200
  return t in e;
1220
1201
  } catch {
1221
1202
  return !1;
1222
1203
  }
1223
1204
  }
1224
- function Jr(e, t) {
1225
- return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1205
+ function tn(e, t) {
1206
+ return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1226
1207
  }
1227
- function Yr(e, t, r) {
1208
+ function rn(e, t, r) {
1228
1209
  var n = {};
1229
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
1230
- n[i] = K(e[i], r);
1231
- }), it(t).forEach(function(i) {
1232
- Jr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1210
+ return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1211
+ n[i] = Y(e[i], r);
1212
+ }), ht(t).forEach(function(i) {
1213
+ tn(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1233
1214
  }), n;
1234
1215
  }
1235
- function F(e, t, r) {
1236
- r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = K;
1216
+ function G(e, t, r) {
1217
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Xr, r.cloneUnlessOtherwiseSpecified = Y;
1237
1218
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1238
- return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : K(t, r);
1219
+ return o ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : Y(t, r);
1239
1220
  }
1240
- F.all = function(t, r) {
1221
+ G.all = function(t, r) {
1241
1222
  if (!Array.isArray(t))
1242
1223
  throw new Error("first argument should be an array");
1243
1224
  return t.reduce(function(n, i) {
1244
- return F(n, i, r);
1225
+ return G(n, i, r);
1245
1226
  }, {});
1246
1227
  };
1247
- var Kr = F, en = Kr;
1248
- const tn = /* @__PURE__ */ Sr(en);
1249
- function Te(e, t) {
1250
- var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : on;
1228
+ var nn = G, on = nn;
1229
+ const sn = /* @__PURE__ */ Pr(on);
1230
+ var Fe = function(e, t) {
1231
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1232
+ r.__proto__ = n;
1233
+ } || function(r, n) {
1234
+ for (var i in n)
1235
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1236
+ }, Fe(e, t);
1237
+ };
1238
+ function ve(e, t) {
1239
+ if (typeof t != "function" && t !== null)
1240
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1241
+ Fe(e, t);
1242
+ function r() {
1243
+ this.constructor = e;
1244
+ }
1245
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1246
+ }
1247
+ var T = function() {
1248
+ return T = Object.assign || function(t) {
1249
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1250
+ r = arguments[n];
1251
+ for (var o in r)
1252
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1253
+ }
1254
+ return t;
1255
+ }, T.apply(this, arguments);
1256
+ };
1257
+ function an(e, t) {
1258
+ var r = {};
1259
+ for (var n in e)
1260
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1261
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1262
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1263
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1264
+ return r;
1265
+ }
1266
+ function Te(e, t, r) {
1267
+ if (r || arguments.length === 2)
1268
+ for (var n = 0, i = t.length, o; n < i; n++)
1269
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1270
+ return e.concat(o || Array.prototype.slice.call(t));
1271
+ }
1272
+ function He(e, t) {
1273
+ var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : ln;
1251
1274
  return i(e, {
1252
1275
  cache: r,
1253
1276
  serializer: n
1254
1277
  });
1255
1278
  }
1256
- function rn(e) {
1279
+ function un(e) {
1257
1280
  return e == null || typeof e == "number" || typeof e == "boolean";
1258
1281
  }
1259
- function nn(e, t, r, n) {
1260
- var i = rn(n) ? n : r(n), o = t.get(i);
1282
+ function hn(e, t, r, n) {
1283
+ var i = un(n) ? n : r(n), o = t.get(i);
1261
1284
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1262
1285
  }
1263
- function Ct(e, t, r) {
1286
+ function Rt(e, t, r) {
1264
1287
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1265
1288
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1266
1289
  }
1267
- function Nt(e, t, r, n, i) {
1290
+ function Dt(e, t, r, n, i) {
1268
1291
  return r.bind(t, e, n, i);
1269
1292
  }
1270
- function on(e, t) {
1271
- var r = e.length === 1 ? nn : Ct;
1272
- return Nt(e, this, r, t.cache.create(), t.serializer);
1293
+ function ln(e, t) {
1294
+ var r = e.length === 1 ? hn : Rt;
1295
+ return Dt(e, this, r, t.cache.create(), t.serializer);
1273
1296
  }
1274
- function sn(e, t) {
1275
- return Nt(e, this, Ct, t.cache.create(), t.serializer);
1297
+ function fn(e, t) {
1298
+ return Dt(e, this, Rt, t.cache.create(), t.serializer);
1276
1299
  }
1277
- var an = function() {
1300
+ var cn = function() {
1278
1301
  return JSON.stringify(arguments);
1279
- }, un = (
1302
+ }, pn = (
1280
1303
  /** @class */
1281
1304
  function() {
1282
1305
  function e() {
@@ -1288,61 +1311,71 @@ var an = function() {
1288
1311
  this.cache[t] = r;
1289
1312
  }, e;
1290
1313
  }()
1291
- ), hn = {
1314
+ ), dn = {
1292
1315
  create: function() {
1293
- return new un();
1316
+ return new pn();
1294
1317
  }
1295
- }, Se = {
1296
- variadic: sn
1297
- }, d;
1318
+ }, Ae = {
1319
+ variadic: fn
1320
+ }, de = function() {
1321
+ return de = Object.assign || function(t) {
1322
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1323
+ r = arguments[n];
1324
+ for (var o in r)
1325
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1326
+ }
1327
+ return t;
1328
+ }, de.apply(this, arguments);
1329
+ };
1330
+ var d;
1298
1331
  (function(e) {
1299
1332
  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";
1300
1333
  })(d || (d = {}));
1301
- var _;
1334
+ var v;
1302
1335
  (function(e) {
1303
1336
  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";
1304
- })(_ || (_ = {}));
1305
- var j;
1337
+ })(v || (v = {}));
1338
+ var F;
1306
1339
  (function(e) {
1307
1340
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1308
- })(j || (j = {}));
1309
- function ot(e) {
1310
- return e.type === _.literal;
1341
+ })(F || (F = {}));
1342
+ function lt(e) {
1343
+ return e.type === v.literal;
1311
1344
  }
1312
- function ln(e) {
1313
- return e.type === _.argument;
1345
+ function mn(e) {
1346
+ return e.type === v.argument;
1314
1347
  }
1315
- function Lt(e) {
1316
- return e.type === _.number;
1348
+ function Ut(e) {
1349
+ return e.type === v.number;
1317
1350
  }
1318
- function Mt(e) {
1319
- return e.type === _.date;
1351
+ function Gt(e) {
1352
+ return e.type === v.date;
1320
1353
  }
1321
- function $t(e) {
1322
- return e.type === _.time;
1354
+ function Ft(e) {
1355
+ return e.type === v.time;
1323
1356
  }
1324
- function Rt(e) {
1325
- return e.type === _.select;
1357
+ function jt(e) {
1358
+ return e.type === v.select;
1326
1359
  }
1327
- function Dt(e) {
1328
- return e.type === _.plural;
1360
+ function kt(e) {
1361
+ return e.type === v.plural;
1329
1362
  }
1330
- function fn(e) {
1331
- return e.type === _.pound;
1363
+ function bn(e) {
1364
+ return e.type === v.pound;
1332
1365
  }
1333
- function Ut(e) {
1334
- return e.type === _.tag;
1366
+ function Vt(e) {
1367
+ return e.type === v.tag;
1335
1368
  }
1336
- function Gt(e) {
1337
- return !!(e && typeof e == "object" && e.type === j.number);
1369
+ function Xt(e) {
1370
+ return !!(e && typeof e == "object" && e.type === F.number);
1338
1371
  }
1339
- function Re(e) {
1340
- return !!(e && typeof e == "object" && e.type === j.dateTime);
1372
+ function je(e) {
1373
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
1341
1374
  }
1342
- var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
1343
- function pn(e) {
1375
+ var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1376
+ function gn(e) {
1344
1377
  var t = {};
1345
- return e.replace(cn, function(r) {
1378
+ return e.replace(yn, function(r) {
1346
1379
  var n = r.length;
1347
1380
  switch (r[0]) {
1348
1381
  case "G":
@@ -1431,11 +1464,21 @@ function pn(e) {
1431
1464
  return "";
1432
1465
  }), t;
1433
1466
  }
1434
- var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1435
- function mn(e) {
1467
+ var _ = function() {
1468
+ return _ = Object.assign || function(t) {
1469
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1470
+ r = arguments[n];
1471
+ for (var o in r)
1472
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1473
+ }
1474
+ return t;
1475
+ }, _.apply(this, arguments);
1476
+ };
1477
+ var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1478
+ function _n(e) {
1436
1479
  if (e.length === 0)
1437
1480
  throw new Error("Number skeleton cannot be empty");
1438
- for (var t = e.split(dn).filter(function(c) {
1481
+ for (var t = e.split(vn).filter(function(c) {
1439
1482
  return c.length > 0;
1440
1483
  }), r = [], n = 0, i = t; n < i.length; n++) {
1441
1484
  var o = i[n], s = o.split("/");
@@ -1450,17 +1493,17 @@ function mn(e) {
1450
1493
  }
1451
1494
  return r;
1452
1495
  }
1453
- function bn(e) {
1496
+ function xn(e) {
1454
1497
  return e.replace(/^(.*?)-/, "");
1455
1498
  }
1456
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1457
- function at(e) {
1499
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1500
+ function ct(e) {
1458
1501
  var t = {};
1459
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1502
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1460
1503
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1461
1504
  }), t;
1462
1505
  }
1463
- function Vt(e) {
1506
+ function Qt(e) {
1464
1507
  switch (e) {
1465
1508
  case "sign-auto":
1466
1509
  return {
@@ -1500,7 +1543,7 @@ function Vt(e) {
1500
1543
  };
1501
1544
  }
1502
1545
  }
1503
- function gn(e) {
1546
+ function Sn(e) {
1504
1547
  var t;
1505
1548
  if (e[0] === "E" && e[1] === "E" ? (t = {
1506
1549
  notation: "engineering"
@@ -1508,17 +1551,17 @@ function gn(e) {
1508
1551
  notation: "scientific"
1509
1552
  }, e = e.slice(1)), t) {
1510
1553
  var r = e.slice(0, 2);
1511
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1554
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1512
1555
  throw new Error("Malformed concise eng/scientific notation");
1513
1556
  t.minimumIntegerDigits = e.length;
1514
1557
  }
1515
1558
  return t;
1516
1559
  }
1517
- function ut(e) {
1518
- var t = {}, r = Vt(e);
1560
+ function pt(e) {
1561
+ var t = {}, r = Qt(e);
1519
1562
  return r || t;
1520
1563
  }
1521
- function vn(e) {
1564
+ function wn(e) {
1522
1565
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1523
1566
  var i = n[r];
1524
1567
  switch (i.stem) {
@@ -1542,7 +1585,7 @@ function vn(e) {
1542
1585
  continue;
1543
1586
  case "measure-unit":
1544
1587
  case "unit":
1545
- t.style = "unit", t.unit = bn(i.options[0]);
1588
+ t.style = "unit", t.unit = xn(i.options[0]);
1546
1589
  continue;
1547
1590
  case "compact-short":
1548
1591
  case "K":
@@ -1553,13 +1596,13 @@ function vn(e) {
1553
1596
  t.notation = "compact", t.compactDisplay = "long";
1554
1597
  continue;
1555
1598
  case "scientific":
1556
- t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1557
- return b(b({}, h), ut(u));
1599
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1600
+ return _(_({}, h), pt(u));
1558
1601
  }, {}));
1559
1602
  continue;
1560
1603
  case "engineering":
1561
- t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1562
- return b(b({}, h), ut(u));
1604
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1605
+ return _(_({}, h), pt(u));
1563
1606
  }, {}));
1564
1607
  continue;
1565
1608
  case "notation-simple":
@@ -1604,41 +1647,41 @@ function vn(e) {
1604
1647
  case "integer-width":
1605
1648
  if (i.options.length > 1)
1606
1649
  throw new RangeError("integer-width stems only accept a single optional option");
1607
- i.options[0].replace(yn, function(h, u, l, f, c, g) {
1650
+ i.options[0].replace(En, function(h, u, l, f, c, y) {
1608
1651
  if (u)
1609
1652
  t.minimumIntegerDigits = l.length;
1610
1653
  else {
1611
1654
  if (f && c)
1612
1655
  throw new Error("We currently do not support maximum integer digits");
1613
- if (g)
1656
+ if (y)
1614
1657
  throw new Error("We currently do not support exact integer digits");
1615
1658
  }
1616
1659
  return "";
1617
1660
  });
1618
1661
  continue;
1619
1662
  }
1620
- if (kt.test(i.stem)) {
1663
+ if (Zt.test(i.stem)) {
1621
1664
  t.minimumIntegerDigits = i.stem.length;
1622
1665
  continue;
1623
1666
  }
1624
- if (st.test(i.stem)) {
1667
+ if (ft.test(i.stem)) {
1625
1668
  if (i.options.length > 1)
1626
1669
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1627
- i.stem.replace(st, function(h, u, l, f, c, g) {
1628
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1670
+ i.stem.replace(ft, function(h, u, l, f, c, y) {
1671
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1629
1672
  });
1630
1673
  var o = i.options[0];
1631
- o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), at(o)));
1674
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ct(o)));
1632
1675
  continue;
1633
1676
  }
1634
- if (jt.test(i.stem)) {
1635
- t = b(b({}, t), at(i.stem));
1677
+ if (zt.test(i.stem)) {
1678
+ t = _(_({}, t), ct(i.stem));
1636
1679
  continue;
1637
1680
  }
1638
- var s = Vt(i.stem);
1639
- s && (t = b(b({}, t), s));
1640
- var a = gn(i.stem);
1641
- a && (t = b(b({}, t), a));
1681
+ var s = Qt(i.stem);
1682
+ s && (t = _(_({}, t), s));
1683
+ var a = Sn(i.stem);
1684
+ a && (t = _(_({}, t), a));
1642
1685
  }
1643
1686
  return t;
1644
1687
  }
@@ -3057,13 +3100,13 @@ var he = {
3057
3100
  "h"
3058
3101
  ]
3059
3102
  };
3060
- function _n(e, t) {
3103
+ function Tn(e, t) {
3061
3104
  for (var r = "", n = 0; n < e.length; n++) {
3062
3105
  var i = e.charAt(n);
3063
3106
  if (i === "j") {
3064
3107
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3065
3108
  o++, n++;
3066
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = xn(t);
3109
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Hn(t);
3067
3110
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3068
3111
  r += h;
3069
3112
  for (; s-- > 0; )
@@ -3073,7 +3116,7 @@ function _n(e, t) {
3073
3116
  }
3074
3117
  return r;
3075
3118
  }
3076
- function xn(e) {
3119
+ function Hn(e) {
3077
3120
  var t = e.hourCycle;
3078
3121
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3079
3122
  e.hourCycles && // @ts-ignore
@@ -3095,20 +3138,20 @@ function xn(e) {
3095
3138
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3096
3139
  return i[0];
3097
3140
  }
3098
- var we, En = new RegExp("^".concat(Ft.source, "*")), Tn = new RegExp("".concat(Ft.source, "*$"));
3141
+ var Be, An = new RegExp("^".concat(Wt.source, "*")), Bn = new RegExp("".concat(Wt.source, "*$"));
3099
3142
  function m(e, t) {
3100
3143
  return { start: e, end: t };
3101
3144
  }
3102
- var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Bn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Pn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
3145
+ var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, $n = Mn ? Number.isSafeInteger : function(e) {
3103
3146
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3104
- }, De = !0;
3147
+ }, ke = !0;
3105
3148
  try {
3106
- var Cn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3107
- De = ((we = Cn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
3149
+ var Rn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3150
+ ke = ((Be = Rn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3108
3151
  } catch {
3109
- De = !1;
3152
+ ke = !1;
3110
3153
  }
3111
- var ht = Sn ? (
3154
+ var dt = Pn ? (
3112
3155
  // Native
3113
3156
  function(t, r, n) {
3114
3157
  return t.startsWith(r, n);
@@ -3118,7 +3161,7 @@ var ht = Sn ? (
3118
3161
  function(t, r, n) {
3119
3162
  return t.slice(n, n + r.length) === r;
3120
3163
  }
3121
- ), Ue = wn ? String.fromCodePoint : (
3164
+ ), Ve = On ? String.fromCodePoint : (
3122
3165
  // IE11
3123
3166
  function() {
3124
3167
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3130,9 +3173,9 @@ var ht = Sn ? (
3130
3173
  }
3131
3174
  return n;
3132
3175
  }
3133
- ), lt = (
3176
+ ), mt = (
3134
3177
  // native
3135
- Hn ? Object.fromEntries : (
3178
+ In ? Object.fromEntries : (
3136
3179
  // Ponyfill
3137
3180
  function(t) {
3138
3181
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3142,7 +3185,7 @@ var ht = Sn ? (
3142
3185
  return r;
3143
3186
  }
3144
3187
  )
3145
- ), Xt = Bn ? (
3188
+ ), qt = Cn ? (
3146
3189
  // Native
3147
3190
  function(t, r) {
3148
3191
  return t.codePointAt(r);
@@ -3156,7 +3199,7 @@ var ht = Sn ? (
3156
3199
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3157
3200
  }
3158
3201
  }
3159
- ), Nn = An ? (
3202
+ ), Dn = Nn ? (
3160
3203
  // Native
3161
3204
  function(t) {
3162
3205
  return t.trimStart();
@@ -3164,9 +3207,9 @@ var ht = Sn ? (
3164
3207
  ) : (
3165
3208
  // Ponyfill
3166
3209
  function(t) {
3167
- return t.replace(En, "");
3210
+ return t.replace(An, "");
3168
3211
  }
3169
- ), Ln = Pn ? (
3212
+ ), Un = Ln ? (
3170
3213
  // Native
3171
3214
  function(t) {
3172
3215
  return t.trimEnd();
@@ -3174,32 +3217,32 @@ var ht = Sn ? (
3174
3217
  ) : (
3175
3218
  // Ponyfill
3176
3219
  function(t) {
3177
- return t.replace(Tn, "");
3220
+ return t.replace(Bn, "");
3178
3221
  }
3179
3222
  );
3180
- function Wt(e, t) {
3223
+ function Jt(e, t) {
3181
3224
  return new RegExp(e, t);
3182
3225
  }
3183
- var Ge;
3184
- if (De) {
3185
- var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3186
- Ge = function(t, r) {
3226
+ var Xe;
3227
+ if (ke) {
3228
+ var bt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3229
+ Xe = function(t, r) {
3187
3230
  var n;
3188
- ft.lastIndex = r;
3189
- var i = ft.exec(t);
3231
+ bt.lastIndex = r;
3232
+ var i = bt.exec(t);
3190
3233
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3191
3234
  };
3192
3235
  } else
3193
- Ge = function(t, r) {
3236
+ Xe = function(t, r) {
3194
3237
  for (var n = []; ; ) {
3195
- var i = Xt(t, r);
3196
- if (i === void 0 || zt(i) || Dn(i))
3238
+ var i = qt(t, r);
3239
+ if (i === void 0 || Yt(i) || kn(i))
3197
3240
  break;
3198
3241
  n.push(i), r += i >= 65536 ? 2 : 1;
3199
3242
  }
3200
- return Ue.apply(void 0, n);
3243
+ return Ve.apply(void 0, n);
3201
3244
  };
3202
- var Mn = (
3245
+ var Gn = (
3203
3246
  /** @class */
3204
3247
  function() {
3205
3248
  function e(t, r) {
@@ -3223,14 +3266,14 @@ var Mn = (
3223
3266
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3224
3267
  var a = this.clonePosition();
3225
3268
  this.bump(), i.push({
3226
- type: _.pound,
3269
+ type: v.pound,
3227
3270
  location: m(a, this.clonePosition())
3228
3271
  });
3229
3272
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3230
3273
  if (n)
3231
3274
  break;
3232
3275
  return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3233
- } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3276
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3234
3277
  var s = this.parseTag(t, r);
3235
3278
  if (s.err)
3236
3279
  return s;
@@ -3251,7 +3294,7 @@ var Mn = (
3251
3294
  if (this.bumpSpace(), this.bumpIf("/>"))
3252
3295
  return {
3253
3296
  val: {
3254
- type: _.literal,
3297
+ type: v.literal,
3255
3298
  value: "<".concat(i, "/>"),
3256
3299
  location: m(n, this.clonePosition())
3257
3300
  },
@@ -3263,12 +3306,12 @@ var Mn = (
3263
3306
  return o;
3264
3307
  var s = o.val, a = this.clonePosition();
3265
3308
  if (this.bumpIf("</")) {
3266
- if (this.isEOF() || !Fe(this.char()))
3309
+ if (this.isEOF() || !We(this.char()))
3267
3310
  return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3268
3311
  var h = this.clonePosition(), u = this.parseTagName();
3269
3312
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3270
3313
  val: {
3271
- type: _.tag,
3314
+ type: v.tag,
3272
3315
  value: i,
3273
3316
  children: s,
3274
3317
  location: m(n, this.clonePosition())
@@ -3281,7 +3324,7 @@ var Mn = (
3281
3324
  return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3282
3325
  }, e.prototype.parseTagName = function() {
3283
3326
  var t = this.offset();
3284
- for (this.bump(); !this.isEOF() && Rn(this.char()); )
3327
+ for (this.bump(); !this.isEOF() && jn(this.char()); )
3285
3328
  this.bump();
3286
3329
  return this.message.slice(t, this.offset());
3287
3330
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3305,12 +3348,12 @@ var Mn = (
3305
3348
  }
3306
3349
  var h = m(n, this.clonePosition());
3307
3350
  return {
3308
- val: { type: _.literal, value: i, location: h },
3351
+ val: { type: v.literal, value: i, location: h },
3309
3352
  err: null
3310
3353
  };
3311
3354
  }, e.prototype.tryParseLeftAngleBracket = function() {
3312
3355
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3313
- !$n(this.peek() || 0)) ? (this.bump(), "<") : null;
3356
+ !Fn(this.peek() || 0)) ? (this.bump(), "<") : null;
3314
3357
  }, e.prototype.tryParseQuote = function(t) {
3315
3358
  if (this.isEOF() || this.char() !== 39)
3316
3359
  return null;
@@ -3344,12 +3387,12 @@ var Mn = (
3344
3387
  r.push(n);
3345
3388
  this.bump();
3346
3389
  }
3347
- return Ue.apply(void 0, r);
3390
+ return Ve.apply(void 0, r);
3348
3391
  }, e.prototype.tryParseUnquoted = function(t, r) {
3349
3392
  if (this.isEOF())
3350
3393
  return null;
3351
3394
  var n = this.char();
3352
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
3395
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3353
3396
  }, e.prototype.parseArgument = function(t, r) {
3354
3397
  var n = this.clonePosition();
3355
3398
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3365,7 +3408,7 @@ var Mn = (
3365
3408
  case 125:
3366
3409
  return this.bump(), {
3367
3410
  val: {
3368
- type: _.argument,
3411
+ type: v.argument,
3369
3412
  // value does not include the opening and closing braces.
3370
3413
  value: i,
3371
3414
  location: m(n, this.clonePosition())
@@ -3378,7 +3421,7 @@ var Mn = (
3378
3421
  return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3379
3422
  }
3380
3423
  }, e.prototype.parseIdentifierIfPossible = function() {
3381
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3424
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3382
3425
  this.bumpTo(i);
3383
3426
  var o = this.clonePosition(), s = m(t, o);
3384
3427
  return { value: n, location: s };
@@ -3397,46 +3440,46 @@ var Mn = (
3397
3440
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3398
3441
  if (f.err)
3399
3442
  return f;
3400
- var c = Ln(f.val);
3443
+ var c = Un(f.val);
3401
3444
  if (c.length === 0)
3402
3445
  return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3403
- var g = m(l, this.clonePosition());
3404
- u = { style: c, styleLocation: g };
3446
+ var y = m(l, this.clonePosition());
3447
+ u = { style: c, styleLocation: y };
3405
3448
  }
3406
3449
  var p = this.tryParseArgumentClose(i);
3407
3450
  if (p.err)
3408
3451
  return p;
3409
- var v = m(i, this.clonePosition());
3410
- if (u && ht(u?.style, "::", 0)) {
3411
- var E = Nn(u.style.slice(2));
3452
+ var g = m(i, this.clonePosition());
3453
+ if (u && dt(u?.style, "::", 0)) {
3454
+ var E = Dn(u.style.slice(2));
3412
3455
  if (a === "number") {
3413
3456
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3414
3457
  return f.err ? f : {
3415
- val: { type: _.number, value: n, location: v, style: f.val },
3458
+ val: { type: v.number, value: n, location: g, style: f.val },
3416
3459
  err: null
3417
3460
  };
3418
3461
  } else {
3419
3462
  if (E.length === 0)
3420
- return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3421
- var z = E;
3422
- this.locale && (z = _n(E, this.locale));
3463
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3464
+ var W = E;
3465
+ this.locale && (W = Tn(E, this.locale));
3423
3466
  var c = {
3424
- type: j.dateTime,
3425
- pattern: z,
3467
+ type: F.dateTime,
3468
+ pattern: W,
3426
3469
  location: u.styleLocation,
3427
- parsedOptions: this.shouldParseSkeletons ? pn(z) : {}
3428
- }, M = a === "date" ? _.date : _.time;
3470
+ parsedOptions: this.shouldParseSkeletons ? gn(W) : {}
3471
+ }, M = a === "date" ? v.date : v.time;
3429
3472
  return {
3430
- val: { type: M, value: n, location: v, style: c },
3473
+ val: { type: M, value: n, location: g, style: c },
3431
3474
  err: null
3432
3475
  };
3433
3476
  }
3434
3477
  }
3435
3478
  return {
3436
3479
  val: {
3437
- type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3480
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3438
3481
  value: n,
3439
- location: v,
3482
+ location: g,
3440
3483
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3441
3484
  },
3442
3485
  err: null
@@ -3445,43 +3488,43 @@ var Mn = (
3445
3488
  case "plural":
3446
3489
  case "selectordinal":
3447
3490
  case "select": {
3448
- var S = this.clonePosition();
3491
+ var w = this.clonePosition();
3449
3492
  if (this.bumpSpace(), !this.bumpIf(","))
3450
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(S, b({}, S)));
3493
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(w, de({}, w)));
3451
3494
  this.bumpSpace();
3452
- var Z = this.parseIdentifierIfPossible(), I = 0;
3453
- if (a !== "select" && Z.value === "offset") {
3495
+ var z = this.parseIdentifierIfPossible(), I = 0;
3496
+ if (a !== "select" && z.value === "offset") {
3454
3497
  if (!this.bumpIf(":"))
3455
3498
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3456
3499
  this.bumpSpace();
3457
3500
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3458
3501
  if (f.err)
3459
3502
  return f;
3460
- this.bumpSpace(), Z = this.parseIdentifierIfPossible(), I = f.val;
3503
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = f.val;
3461
3504
  }
3462
- var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3505
+ var oe = this.tryParsePluralOrSelectOptions(t, a, r, z);
3463
3506
  if (oe.err)
3464
3507
  return oe;
3465
3508
  var p = this.tryParseArgumentClose(i);
3466
3509
  if (p.err)
3467
3510
  return p;
3468
- var Ze = m(i, this.clonePosition());
3511
+ var Ke = m(i, this.clonePosition());
3469
3512
  return a === "select" ? {
3470
3513
  val: {
3471
- type: _.select,
3514
+ type: v.select,
3472
3515
  value: n,
3473
- options: lt(oe.val),
3474
- location: Ze
3516
+ options: mt(oe.val),
3517
+ location: Ke
3475
3518
  },
3476
3519
  err: null
3477
3520
  } : {
3478
3521
  val: {
3479
- type: _.plural,
3522
+ type: v.plural,
3480
3523
  value: n,
3481
- options: lt(oe.val),
3524
+ options: mt(oe.val),
3482
3525
  offset: I,
3483
3526
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3484
- location: Ze
3527
+ location: Ke
3485
3528
  },
3486
3529
  err: null
3487
3530
  };
@@ -3529,16 +3572,16 @@ var Mn = (
3529
3572
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3530
3573
  var n = [];
3531
3574
  try {
3532
- n = mn(t);
3575
+ n = _n(t);
3533
3576
  } catch {
3534
3577
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3535
3578
  }
3536
3579
  return {
3537
3580
  val: {
3538
- type: j.number,
3581
+ type: F.number,
3539
3582
  tokens: n,
3540
3583
  location: r,
3541
- parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
3584
+ parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
3542
3585
  },
3543
3586
  err: null
3544
3587
  };
@@ -3557,20 +3600,20 @@ var Mn = (
3557
3600
  if (h.has(u))
3558
3601
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3559
3602
  u === "other" && (s = !0), this.bumpSpace();
3560
- var g = this.clonePosition();
3603
+ var y = this.clonePosition();
3561
3604
  if (!this.bumpIf("{"))
3562
3605
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3563
3606
  var p = this.parseMessage(t + 1, r, n);
3564
3607
  if (p.err)
3565
3608
  return p;
3566
- var v = this.tryParseArgumentClose(g);
3567
- if (v.err)
3568
- return v;
3609
+ var g = this.tryParseArgumentClose(y);
3610
+ if (g.err)
3611
+ return g;
3569
3612
  a.push([
3570
3613
  u,
3571
3614
  {
3572
3615
  value: p.val,
3573
- location: m(g, this.clonePosition())
3616
+ location: m(y, this.clonePosition())
3574
3617
  }
3575
3618
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3576
3619
  }
@@ -3586,7 +3629,7 @@ var Mn = (
3586
3629
  break;
3587
3630
  }
3588
3631
  var h = m(i, this.clonePosition());
3589
- return o ? (s *= n, In(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3632
+ return o ? (s *= n, $n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3590
3633
  }, e.prototype.offset = function() {
3591
3634
  return this.position.offset;
3592
3635
  }, e.prototype.isEOF = function() {
@@ -3601,7 +3644,7 @@ var Mn = (
3601
3644
  var t = this.position.offset;
3602
3645
  if (t >= this.message.length)
3603
3646
  throw Error("out of bound");
3604
- var r = Xt(this.message, t);
3647
+ var r = qt(this.message, t);
3605
3648
  if (r === void 0)
3606
3649
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3607
3650
  return r;
@@ -3620,7 +3663,7 @@ var Mn = (
3620
3663
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3621
3664
  }
3622
3665
  }, e.prototype.bumpIf = function(t) {
3623
- if (ht(this.message, t, this.offset())) {
3666
+ if (dt(this.message, t, this.offset())) {
3624
3667
  for (var r = 0; r < t.length; r++)
3625
3668
  this.bump();
3626
3669
  return !0;
@@ -3642,7 +3685,7 @@ var Mn = (
3642
3685
  break;
3643
3686
  }
3644
3687
  }, e.prototype.bumpSpace = function() {
3645
- for (; !this.isEOF() && zt(this.char()); )
3688
+ for (; !this.isEOF() && Yt(this.char()); )
3646
3689
  this.bump();
3647
3690
  }, e.prototype.peek = function() {
3648
3691
  if (this.isEOF())
@@ -3652,47 +3695,47 @@ var Mn = (
3652
3695
  }, e;
3653
3696
  }()
3654
3697
  );
3655
- function Fe(e) {
3698
+ function We(e) {
3656
3699
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3657
3700
  }
3658
- function $n(e) {
3659
- return Fe(e) || e === 47;
3701
+ function Fn(e) {
3702
+ return We(e) || e === 47;
3660
3703
  }
3661
- function Rn(e) {
3704
+ function jn(e) {
3662
3705
  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;
3663
3706
  }
3664
- function zt(e) {
3707
+ function Yt(e) {
3665
3708
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3666
3709
  }
3667
- function Dn(e) {
3710
+ function kn(e) {
3668
3711
  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;
3669
3712
  }
3670
- function je(e) {
3713
+ function ze(e) {
3671
3714
  e.forEach(function(t) {
3672
- if (delete t.location, Rt(t) || Dt(t))
3715
+ if (delete t.location, jt(t) || kt(t))
3673
3716
  for (var r in t.options)
3674
- delete t.options[r].location, je(t.options[r].value);
3717
+ delete t.options[r].location, ze(t.options[r].value);
3675
3718
  else
3676
- Lt(t) && Gt(t.style) || (Mt(t) || $t(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
3719
+ Ut(t) && Xt(t.style) || (Gt(t) || Ft(t)) && je(t.style) ? delete t.style.location : Vt(t) && ze(t.children);
3677
3720
  });
3678
3721
  }
3679
- function Un(e, t) {
3680
- t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3681
- var r = new Mn(e, t).parse();
3722
+ function Vn(e, t) {
3723
+ t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3724
+ var r = new Gn(e, t).parse();
3682
3725
  if (r.err) {
3683
3726
  var n = SyntaxError(d[r.err.kind]);
3684
3727
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3685
3728
  }
3686
- return t?.captureLocation || je(r.val), r.val;
3729
+ return t?.captureLocation || ze(r.val), r.val;
3687
3730
  }
3688
- var k;
3731
+ var j;
3689
3732
  (function(e) {
3690
3733
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3691
- })(k || (k = {}));
3692
- var ge = (
3734
+ })(j || (j = {}));
3735
+ var _e = (
3693
3736
  /** @class */
3694
3737
  function(e) {
3695
- P(t, e);
3738
+ ve(t, e);
3696
3739
  function t(r, n, i) {
3697
3740
  var o = e.call(this, r) || this;
3698
3741
  return o.code = n, o.originalMessage = i, o;
@@ -3701,48 +3744,48 @@ var ge = (
3701
3744
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3702
3745
  }, t;
3703
3746
  }(Error)
3704
- ), ct = (
3747
+ ), yt = (
3705
3748
  /** @class */
3706
3749
  function(e) {
3707
- P(t, e);
3750
+ ve(t, e);
3708
3751
  function t(r, n, i, o) {
3709
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3752
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3710
3753
  }
3711
3754
  return t;
3712
- }(ge)
3713
- ), Gn = (
3755
+ }(_e)
3756
+ ), Xn = (
3714
3757
  /** @class */
3715
3758
  function(e) {
3716
- P(t, e);
3759
+ ve(t, e);
3717
3760
  function t(r, n, i) {
3718
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3761
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3719
3762
  }
3720
3763
  return t;
3721
- }(ge)
3722
- ), Fn = (
3764
+ }(_e)
3765
+ ), Wn = (
3723
3766
  /** @class */
3724
3767
  function(e) {
3725
- P(t, e);
3768
+ ve(t, e);
3726
3769
  function t(r, n) {
3727
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3770
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3728
3771
  }
3729
3772
  return t;
3730
- }(ge)
3773
+ }(_e)
3731
3774
  ), x;
3732
3775
  (function(e) {
3733
3776
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3734
3777
  })(x || (x = {}));
3735
- function jn(e) {
3778
+ function zn(e) {
3736
3779
  return e.length < 2 ? e : e.reduce(function(t, r) {
3737
3780
  var n = t[t.length - 1];
3738
3781
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3739
3782
  }, []);
3740
3783
  }
3741
- function kn(e) {
3784
+ function Zn(e) {
3742
3785
  return typeof e == "function";
3743
3786
  }
3744
3787
  function ce(e, t, r, n, i, o, s) {
3745
- if (e.length === 1 && ot(e[0]))
3788
+ if (e.length === 1 && lt(e[0]))
3746
3789
  return [
3747
3790
  {
3748
3791
  type: x.literal,
@@ -3751,14 +3794,14 @@ function ce(e, t, r, n, i, o, s) {
3751
3794
  ];
3752
3795
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3753
3796
  var l = u[h];
3754
- if (ot(l)) {
3797
+ if (lt(l)) {
3755
3798
  a.push({
3756
3799
  type: x.literal,
3757
3800
  value: l.value
3758
3801
  });
3759
3802
  continue;
3760
3803
  }
3761
- if (fn(l)) {
3804
+ if (bn(l)) {
3762
3805
  typeof o == "number" && a.push({
3763
3806
  type: x.literal,
3764
3807
  value: r.getNumberFormat(t).format(o)
@@ -3767,44 +3810,44 @@ function ce(e, t, r, n, i, o, s) {
3767
3810
  }
3768
3811
  var f = l.value;
3769
3812
  if (!(i && f in i))
3770
- throw new Fn(f, s);
3813
+ throw new Wn(f, s);
3771
3814
  var c = i[f];
3772
- if (ln(l)) {
3815
+ if (mn(l)) {
3773
3816
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3774
3817
  type: typeof c == "string" ? x.literal : x.object,
3775
3818
  value: c
3776
3819
  });
3777
3820
  continue;
3778
3821
  }
3779
- if (Mt(l)) {
3780
- var g = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3822
+ if (Gt(l)) {
3823
+ var y = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3781
3824
  a.push({
3782
3825
  type: x.literal,
3783
- value: r.getDateTimeFormat(t, g).format(c)
3826
+ value: r.getDateTimeFormat(t, y).format(c)
3784
3827
  });
3785
3828
  continue;
3786
3829
  }
3787
- if ($t(l)) {
3788
- var g = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3830
+ if (Ft(l)) {
3831
+ var y = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3789
3832
  a.push({
3790
3833
  type: x.literal,
3791
- value: r.getDateTimeFormat(t, g).format(c)
3834
+ value: r.getDateTimeFormat(t, y).format(c)
3792
3835
  });
3793
3836
  continue;
3794
3837
  }
3795
- if (Lt(l)) {
3796
- var g = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
3797
- g && g.scale && (c = c * (g.scale || 1)), a.push({
3838
+ if (Ut(l)) {
3839
+ var y = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
3840
+ y && y.scale && (c = c * (y.scale || 1)), a.push({
3798
3841
  type: x.literal,
3799
- value: r.getNumberFormat(t, g).format(c)
3842
+ value: r.getNumberFormat(t, y).format(c)
3800
3843
  });
3801
3844
  continue;
3802
3845
  }
3803
- if (Ut(l)) {
3804
- var p = l.children, v = l.value, E = i[v];
3805
- if (!kn(E))
3806
- throw new Gn(v, "function", s);
3807
- var z = ce(p, t, r, n, i, o), M = E(z.map(function(I) {
3846
+ if (Vt(l)) {
3847
+ var p = l.children, g = l.value, E = i[g];
3848
+ if (!Zn(E))
3849
+ throw new Xn(g, "function", s);
3850
+ var W = ce(p, t, r, n, i, o), M = E(W.map(function(I) {
3808
3851
  return I.value;
3809
3852
  }));
3810
3853
  Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(I) {
@@ -3814,42 +3857,42 @@ function ce(e, t, r, n, i, o, s) {
3814
3857
  };
3815
3858
  }));
3816
3859
  }
3817
- if (Rt(l)) {
3818
- var S = l.options[c] || l.options.other;
3819
- if (!S)
3820
- throw new ct(l.value, c, Object.keys(l.options), s);
3821
- a.push.apply(a, ce(S.value, t, r, n, i));
3860
+ if (jt(l)) {
3861
+ var w = l.options[c] || l.options.other;
3862
+ if (!w)
3863
+ throw new yt(l.value, c, Object.keys(l.options), s);
3864
+ a.push.apply(a, ce(w.value, t, r, n, i));
3822
3865
  continue;
3823
3866
  }
3824
- if (Dt(l)) {
3825
- var S = l.options["=".concat(c)];
3826
- if (!S) {
3867
+ if (kt(l)) {
3868
+ var w = l.options["=".concat(c)];
3869
+ if (!w) {
3827
3870
  if (!Intl.PluralRules)
3828
- throw new ge(`Intl.PluralRules is not available in this environment.
3871
+ throw new _e(`Intl.PluralRules is not available in this environment.
3829
3872
  Try polyfilling it using "@formatjs/intl-pluralrules"
3830
- `, k.MISSING_INTL_API, s);
3831
- var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3832
- S = l.options[Z] || l.options.other;
3873
+ `, j.MISSING_INTL_API, s);
3874
+ var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3875
+ w = l.options[z] || l.options.other;
3833
3876
  }
3834
- if (!S)
3835
- throw new ct(l.value, c, Object.keys(l.options), s);
3836
- a.push.apply(a, ce(S.value, t, r, n, i, c - (l.offset || 0)));
3877
+ if (!w)
3878
+ throw new yt(l.value, c, Object.keys(l.options), s);
3879
+ a.push.apply(a, ce(w.value, t, r, n, i, c - (l.offset || 0)));
3837
3880
  continue;
3838
3881
  }
3839
3882
  }
3840
- return jn(a);
3883
+ return zn(a);
3841
3884
  }
3842
- function Vn(e, t) {
3843
- return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3844
- return r[n] = b(b({}, e[n]), t[n] || {}), r;
3885
+ function Qn(e, t) {
3886
+ return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3887
+ return r[n] = T(T({}, e[n]), t[n] || {}), r;
3845
3888
  }, {})) : e;
3846
3889
  }
3847
- function Xn(e, t) {
3890
+ function qn(e, t) {
3848
3891
  return t ? Object.keys(e).reduce(function(r, n) {
3849
- return r[n] = Vn(e[n], t[n]), r;
3850
- }, b({}, e)) : e;
3892
+ return r[n] = Qn(e[n], t[n]), r;
3893
+ }, T({}, e)) : e;
3851
3894
  }
3852
- function He(e) {
3895
+ function Pe(e) {
3853
3896
  return {
3854
3897
  create: function() {
3855
3898
  return {
@@ -3863,39 +3906,39 @@ function He(e) {
3863
3906
  }
3864
3907
  };
3865
3908
  }
3866
- function Wn(e) {
3909
+ function Jn(e) {
3867
3910
  return e === void 0 && (e = {
3868
3911
  number: {},
3869
3912
  dateTime: {},
3870
3913
  pluralRules: {}
3871
3914
  }), {
3872
- getNumberFormat: Te(function() {
3915
+ getNumberFormat: He(function() {
3873
3916
  for (var t, r = [], n = 0; n < arguments.length; n++)
3874
3917
  r[n] = arguments[n];
3875
- return new ((t = Intl.NumberFormat).bind.apply(t, G([void 0], r, !1)))();
3918
+ return new ((t = Intl.NumberFormat).bind.apply(t, Te([void 0], r, !1)))();
3876
3919
  }, {
3877
- cache: He(e.number),
3878
- strategy: Se.variadic
3920
+ cache: Pe(e.number),
3921
+ strategy: Ae.variadic
3879
3922
  }),
3880
- getDateTimeFormat: Te(function() {
3923
+ getDateTimeFormat: He(function() {
3881
3924
  for (var t, r = [], n = 0; n < arguments.length; n++)
3882
3925
  r[n] = arguments[n];
3883
- return new ((t = Intl.DateTimeFormat).bind.apply(t, G([void 0], r, !1)))();
3926
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Te([void 0], r, !1)))();
3884
3927
  }, {
3885
- cache: He(e.dateTime),
3886
- strategy: Se.variadic
3928
+ cache: Pe(e.dateTime),
3929
+ strategy: Ae.variadic
3887
3930
  }),
3888
- getPluralRules: Te(function() {
3931
+ getPluralRules: He(function() {
3889
3932
  for (var t, r = [], n = 0; n < arguments.length; n++)
3890
3933
  r[n] = arguments[n];
3891
- return new ((t = Intl.PluralRules).bind.apply(t, G([void 0], r, !1)))();
3934
+ return new ((t = Intl.PluralRules).bind.apply(t, Te([void 0], r, !1)))();
3892
3935
  }, {
3893
- cache: He(e.pluralRules),
3894
- strategy: Se.variadic
3936
+ cache: Pe(e.pluralRules),
3937
+ strategy: Ae.variadic
3895
3938
  })
3896
3939
  };
3897
3940
  }
3898
- var zn = (
3941
+ var Yn = (
3899
3942
  /** @class */
3900
3943
  function() {
3901
3944
  function e(t, r, n, i) {
@@ -3927,13 +3970,13 @@ var zn = (
3927
3970
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3928
3971
  var s = i || {};
3929
3972
  s.formatters;
3930
- var a = wr(s, ["formatters"]);
3931
- this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3973
+ var a = an(s, ["formatters"]);
3974
+ this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
3932
3975
  } else
3933
3976
  this.ast = t;
3934
3977
  if (!Array.isArray(this.ast))
3935
3978
  throw new TypeError("A message must be provided as a String or AST.");
3936
- this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || Wn(this.formatterCache);
3979
+ this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3937
3980
  }
3938
3981
  return Object.defineProperty(e, "defaultLocale", {
3939
3982
  get: function() {
@@ -3946,7 +3989,7 @@ var zn = (
3946
3989
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3947
3990
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3948
3991
  }
3949
- }, e.__parse = Un, e.formats = {
3992
+ }, e.__parse = Vn, e.formats = {
3950
3993
  number: {
3951
3994
  integer: {
3952
3995
  maximumFractionDigits: 0
@@ -4007,7 +4050,7 @@ var zn = (
4007
4050
  }, e;
4008
4051
  }()
4009
4052
  );
4010
- function Zn(e, t) {
4053
+ function Kn(e, t) {
4011
4054
  if (t == null)
4012
4055
  return;
4013
4056
  if (t in e)
@@ -4028,92 +4071,92 @@ function Zn(e, t) {
4028
4071
  n = void 0;
4029
4072
  return n;
4030
4073
  }
4031
- const O = {}, Qn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Zt = (e, t) => {
4074
+ const O = {}, ei = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Kt = (e, t) => {
4032
4075
  if (t == null)
4033
4076
  return;
4034
4077
  if (t in O && e in O[t])
4035
4078
  return O[t][e];
4036
- const r = ve(t);
4079
+ const r = xe(t);
4037
4080
  for (let n = 0; n < r.length; n++) {
4038
- const i = r[n], o = Jn(i, e);
4081
+ const i = r[n], o = ri(i, e);
4039
4082
  if (o)
4040
- return Qn(e, t, o);
4083
+ return ei(e, t, o);
4041
4084
  }
4042
4085
  };
4043
- let We;
4044
- const ne = ye({});
4045
- function qn(e) {
4046
- return We[e] || null;
4086
+ let Je;
4087
+ const ne = ge({});
4088
+ function ti(e) {
4089
+ return Je[e] || null;
4047
4090
  }
4048
- function Qt(e) {
4049
- return e in We;
4091
+ function er(e) {
4092
+ return e in Je;
4050
4093
  }
4051
- function Jn(e, t) {
4052
- if (!Qt(e))
4094
+ function ri(e, t) {
4095
+ if (!er(e))
4053
4096
  return null;
4054
- const r = qn(e);
4055
- return Zn(r, t);
4097
+ const r = ti(e);
4098
+ return Kn(r, t);
4056
4099
  }
4057
- function Yn(e) {
4100
+ function ni(e) {
4058
4101
  if (e == null)
4059
4102
  return;
4060
- const t = ve(e);
4103
+ const t = xe(e);
4061
4104
  for (let r = 0; r < t.length; r++) {
4062
4105
  const n = t[r];
4063
- if (Qt(n))
4106
+ if (er(n))
4064
4107
  return n;
4065
4108
  }
4066
4109
  }
4067
- function Kn(e, ...t) {
4068
- delete O[e], ne.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
4110
+ function ii(e, ...t) {
4111
+ delete O[e], ne.update((r) => (r[e] = sn.all([r[e] || {}, ...t]), r));
4069
4112
  }
4070
- X(
4113
+ V(
4071
4114
  [ne],
4072
4115
  ([e]) => Object.keys(e)
4073
4116
  );
4074
- ne.subscribe((e) => We = e);
4117
+ ne.subscribe((e) => Je = e);
4075
4118
  const pe = {};
4076
- function ei(e, t) {
4119
+ function oi(e, t) {
4077
4120
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4078
4121
  }
4079
- function qt(e) {
4122
+ function tr(e) {
4080
4123
  return pe[e];
4081
4124
  }
4082
- function ti(e) {
4083
- return ve(e).map((t) => {
4084
- const r = qt(t);
4125
+ function si(e) {
4126
+ return xe(e).map((t) => {
4127
+ const r = tr(t);
4085
4128
  return [t, r ? [...r] : []];
4086
4129
  }).filter(([, t]) => t.length > 0);
4087
4130
  }
4088
- function ke(e) {
4089
- return e == null ? !1 : ve(e).some(
4131
+ function Ze(e) {
4132
+ return e == null ? !1 : xe(e).some(
4090
4133
  (t) => {
4091
4134
  var r;
4092
- return (r = qt(t)) == null ? void 0 : r.size;
4135
+ return (r = tr(t)) == null ? void 0 : r.size;
4093
4136
  }
4094
4137
  );
4095
4138
  }
4096
- function ri(e, t) {
4139
+ function ai(e, t) {
4097
4140
  return Promise.all(
4098
- t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
4099
- ).then((n) => Kn(e, ...n));
4100
- }
4101
- const Q = {};
4102
- function Jt(e) {
4103
- if (!ke(e))
4104
- return e in Q ? Q[e] : Promise.resolve();
4105
- const t = ti(e);
4106
- return Q[e] = Promise.all(
4141
+ t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
4142
+ ).then((n) => ii(e, ...n));
4143
+ }
4144
+ const Z = {};
4145
+ function rr(e) {
4146
+ if (!Ze(e))
4147
+ return e in Z ? Z[e] : Promise.resolve();
4148
+ const t = si(e);
4149
+ return Z[e] = Promise.all(
4107
4150
  t.map(
4108
- ([r, n]) => ri(r, n)
4151
+ ([r, n]) => ai(r, n)
4109
4152
  )
4110
4153
  ).then(() => {
4111
- if (ke(e))
4112
- return Jt(e);
4113
- delete Q[e];
4114
- }), Q[e];
4154
+ if (Ze(e))
4155
+ return rr(e);
4156
+ delete Z[e];
4157
+ }), Z[e];
4115
4158
  }
4116
- const ni = {
4159
+ const ui = {
4117
4160
  number: {
4118
4161
  scientific: { notation: "scientific" },
4119
4162
  engineering: { notation: "engineering" },
@@ -4142,135 +4185,135 @@ const ni = {
4142
4185
  timeZoneName: "short"
4143
4186
  }
4144
4187
  }
4145
- }, ii = {
4188
+ }, hi = {
4146
4189
  fallbackLocale: null,
4147
4190
  loadingDelay: 200,
4148
- formats: ni,
4191
+ formats: ui,
4149
4192
  warnOnMissingMessages: !0,
4150
4193
  handleMissingMessage: void 0,
4151
4194
  ignoreTag: !0
4152
- }, oi = ii;
4153
- function V() {
4154
- return oi;
4195
+ }, li = hi;
4196
+ function k() {
4197
+ return li;
4155
4198
  }
4156
- const Be = ye(!1);
4157
- var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
4199
+ const Oe = ge(!1);
4200
+ var fi = Object.defineProperty, ci = Object.defineProperties, pi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, mi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bi = (e, t) => {
4158
4201
  for (var r in t || (t = {}))
4159
- hi.call(t, r) && dt(e, r, t[r]);
4160
- if (pt)
4161
- for (var r of pt(t))
4162
- li.call(t, r) && dt(e, r, t[r]);
4202
+ di.call(t, r) && vt(e, r, t[r]);
4203
+ if (gt)
4204
+ for (var r of gt(t))
4205
+ mi.call(t, r) && vt(e, r, t[r]);
4163
4206
  return e;
4164
- }, ci = (e, t) => ai(e, ui(t));
4165
- let Ve;
4166
- const de = ye(null);
4167
- function mt(e) {
4207
+ }, yi = (e, t) => ci(e, pi(t));
4208
+ let Qe;
4209
+ const me = ge(null);
4210
+ function _t(e) {
4168
4211
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4169
4212
  }
4170
- function ve(e, t = V().fallbackLocale) {
4171
- const r = mt(e);
4172
- return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
4213
+ function xe(e, t = k().fallbackLocale) {
4214
+ const r = _t(e);
4215
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4173
4216
  }
4174
4217
  function L() {
4175
- return Ve ?? void 0;
4218
+ return Qe ?? void 0;
4176
4219
  }
4177
- de.subscribe((e) => {
4178
- Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4220
+ me.subscribe((e) => {
4221
+ Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4179
4222
  });
4180
- const pi = (e) => {
4181
- if (e && Yn(e) && ke(e)) {
4182
- const { loadingDelay: t } = V();
4223
+ const gi = (e) => {
4224
+ if (e && ni(e) && Ze(e)) {
4225
+ const { loadingDelay: t } = k();
4183
4226
  let r;
4184
4227
  return typeof window < "u" && L() != null && t ? r = window.setTimeout(
4185
- () => Be.set(!0),
4228
+ () => Oe.set(!0),
4186
4229
  t
4187
- ) : Be.set(!0), Jt(e).then(() => {
4188
- de.set(e);
4230
+ ) : Oe.set(!0), rr(e).then(() => {
4231
+ me.set(e);
4189
4232
  }).finally(() => {
4190
- clearTimeout(r), Be.set(!1);
4233
+ clearTimeout(r), Oe.set(!1);
4191
4234
  });
4192
4235
  }
4193
- return de.set(e);
4194
- }, ie = ci(fi({}, de), {
4195
- set: pi
4196
- }), _e = (e) => {
4236
+ return me.set(e);
4237
+ }, ie = yi(bi({}, me), {
4238
+ set: gi
4239
+ }), Ee = (e) => {
4197
4240
  const t = /* @__PURE__ */ Object.create(null);
4198
4241
  return (n) => {
4199
4242
  const i = JSON.stringify(n);
4200
4243
  return i in t ? t[i] : t[i] = e(n);
4201
4244
  };
4202
4245
  };
4203
- var di = Object.defineProperty, me = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
4246
+ var vi = Object.defineProperty, be = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4204
4247
  for (var r in t || (t = {}))
4205
- Yt.call(t, r) && bt(e, r, t[r]);
4206
- if (me)
4207
- for (var r of me(t))
4208
- Kt.call(t, r) && bt(e, r, t[r]);
4248
+ nr.call(t, r) && xt(e, r, t[r]);
4249
+ if (be)
4250
+ for (var r of be(t))
4251
+ ir.call(t, r) && xt(e, r, t[r]);
4209
4252
  return e;
4210
- }, W = (e, t) => {
4253
+ }, X = (e, t) => {
4211
4254
  var r = {};
4212
4255
  for (var n in e)
4213
- Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4214
- if (e != null && me)
4215
- for (var n of me(e))
4216
- t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
4256
+ nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4257
+ if (e != null && be)
4258
+ for (var n of be(e))
4259
+ t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
4217
4260
  return r;
4218
4261
  };
4219
- const ee = (e, t) => {
4220
- const { formats: r } = V();
4262
+ const K = (e, t) => {
4263
+ const { formats: r } = k();
4221
4264
  if (e in r && t in r[e])
4222
4265
  return r[e][t];
4223
4266
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4224
- }, mi = _e(
4267
+ }, _i = Ee(
4225
4268
  (e) => {
4226
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4269
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4227
4270
  if (r == null)
4228
4271
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4229
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4272
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4230
4273
  }
4231
- ), bi = _e(
4274
+ ), xi = Ee(
4232
4275
  (e) => {
4233
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4276
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4234
4277
  if (r == null)
4235
4278
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4236
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4279
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4237
4280
  }
4238
- ), yi = _e(
4281
+ ), Ei = Ee(
4239
4282
  (e) => {
4240
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4283
+ var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4241
4284
  if (r == null)
4242
4285
  throw new Error(
4243
4286
  '[svelte-i18n] A "locale" must be set to format time values'
4244
4287
  );
4245
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4288
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4246
4289
  }
4247
- ), gi = (e = {}) => {
4290
+ ), Si = (e = {}) => {
4248
4291
  var t = e, {
4249
4292
  locale: r = L()
4250
- } = t, n = W(t, [
4293
+ } = t, n = X(t, [
4251
4294
  "locale"
4252
4295
  ]);
4253
- return mi(ze({ locale: r }, n));
4254
- }, vi = (e = {}) => {
4296
+ return _i(Ye({ locale: r }, n));
4297
+ }, wi = (e = {}) => {
4255
4298
  var t = e, {
4256
4299
  locale: r = L()
4257
- } = t, n = W(t, [
4300
+ } = t, n = X(t, [
4258
4301
  "locale"
4259
4302
  ]);
4260
- return bi(ze({ locale: r }, n));
4261
- }, _i = (e = {}) => {
4303
+ return xi(Ye({ locale: r }, n));
4304
+ }, Ti = (e = {}) => {
4262
4305
  var t = e, {
4263
4306
  locale: r = L()
4264
- } = t, n = W(t, [
4307
+ } = t, n = X(t, [
4265
4308
  "locale"
4266
4309
  ]);
4267
- return yi(ze({ locale: r }, n));
4268
- }, xi = _e(
4310
+ return Ei(Ye({ locale: r }, n));
4311
+ }, Hi = Ee(
4269
4312
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4270
- (e, t = L()) => new zn(e, t, V().formats, {
4271
- ignoreTag: V().ignoreTag
4313
+ (e, t = L()) => new Yn(e, t, k().formats, {
4314
+ ignoreTag: k().ignoreTag
4272
4315
  })
4273
- ), Ei = (e, t = {}) => {
4316
+ ), Ai = (e, t = {}) => {
4274
4317
  var r, n, i, o;
4275
4318
  let s = t;
4276
4319
  typeof e == "object" && (s = e, e = s.id);
@@ -4283,9 +4326,9 @@ const ee = (e, t) => {
4283
4326
  throw new Error(
4284
4327
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4285
4328
  );
4286
- let l = Zt(e, h);
4329
+ let l = Kt(e, h);
4287
4330
  if (!l)
4288
- l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4331
+ l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4289
4332
  else if (typeof l != "string")
4290
4333
  return console.warn(
4291
4334
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4294,7 +4337,7 @@ const ee = (e, t) => {
4294
4337
  return l;
4295
4338
  let f = l;
4296
4339
  try {
4297
- f = xi(l, h).format(a);
4340
+ f = Hi(l, h).format(a);
4298
4341
  } catch (c) {
4299
4342
  c instanceof Error && console.warn(
4300
4343
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4302,20 +4345,20 @@ const ee = (e, t) => {
4302
4345
  );
4303
4346
  }
4304
4347
  return f;
4305
- }, Ti = (e, t) => _i(t).format(e), Si = (e, t) => vi(t).format(e), wi = (e, t) => gi(t).format(e), Hi = (e, t = L()) => Zt(e, t), Zi = X([ie, ne], () => Ei);
4306
- X([ie], () => Ti);
4307
- X([ie], () => Si);
4308
- X([ie], () => wi);
4309
- X([ie, ne], () => Hi);
4310
- window.emWidgets = { topic: Ur };
4311
- const Bi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4312
- function Ai(e, t) {
4348
+ }, Bi = (e, t) => Ti(t).format(e), Pi = (e, t) => wi(t).format(e), Oi = (e, t) => Si(t).format(e), Ii = (e, t = L()) => Kt(e, t), Ki = V([ie, ne], () => Ai);
4349
+ V([ie], () => Bi);
4350
+ V([ie], () => Pi);
4351
+ V([ie], () => Oi);
4352
+ V([ie, ne], () => Ii);
4353
+ window.emWidgets = { topic: kr };
4354
+ const Ci = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4355
+ function Ni(e, t) {
4313
4356
  if (e) {
4314
4357
  const r = document.createElement("style");
4315
4358
  r.innerHTML = t, e.appendChild(r);
4316
4359
  }
4317
4360
  }
4318
- function Pi(e, t) {
4361
+ function Li(e, t) {
4319
4362
  const r = new URL(t);
4320
4363
  fetch(r.href).then((n) => n.text()).then((n) => {
4321
4364
  const i = document.createElement("style");
@@ -4324,7 +4367,7 @@ function Pi(e, t) {
4324
4367
  console.error("There was an error while trying to load client styling from URL", n);
4325
4368
  });
4326
4369
  }
4327
- function Oi(e, t, r) {
4370
+ function Mi(e, t, r) {
4328
4371
  if (window.emMessageBus) {
4329
4372
  const n = document.createElement("style");
4330
4373
  window.emMessageBus.subscribe(t, (i) => {
@@ -4332,27 +4375,27 @@ function Oi(e, t, r) {
4332
4375
  });
4333
4376
  }
4334
4377
  }
4335
- function Ii(e) {
4336
- nr(e, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
4378
+ function $i(e) {
4379
+ ur(e, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
4337
4380
  }
4338
- function yt(e) {
4381
+ function Et(e) {
4339
4382
  let t, r, n, i, o, s, a;
4340
4383
  function h(f, c) {
4341
4384
  return (
4342
4385
  /*collapsed*/
4343
- f[3] ? Ci : Ni
4386
+ f[3] ? Ri : Di
4344
4387
  );
4345
4388
  }
4346
4389
  let u = h(e), l = u(e);
4347
4390
  return {
4348
4391
  c() {
4349
- t = H("div"), r = H("p"), n = Xe(
4392
+ t = A("div"), r = A("p"), n = qe(
4350
4393
  /*title*/
4351
4394
  e[0]
4352
- ), i = Et(), o = H("div"), l.c(), y(r, "class", "Title"), y(r, "part", "Title"), y(o, "class", "CollapseButtonDetails"), y(o, "part", "CollapseButtonDetails"), y(t, "class", "DetailsTitle"), y(t, "part", "DetailsTitle");
4395
+ ), i = At(), o = A("div"), l.c(), b(r, "class", "Title"), b(r, "part", "Title"), b(o, "class", "CollapseButtonDetails"), b(o, "part", "CollapseButtonDetails"), b(t, "class", "DetailsTitle"), b(t, "part", "DetailsTitle");
4353
4396
  },
4354
4397
  m(f, c) {
4355
- N(f, t, c), w(t, r), w(r, n), w(t, i), w(t, o), l.m(o, null), s || (a = Ae(
4398
+ N(f, t, c), H(t, r), H(r, n), H(t, i), H(t, o), l.m(o, null), s || (a = Ie(
4356
4399
  t,
4357
4400
  "click",
4358
4401
  /*collapseText*/
@@ -4361,53 +4404,53 @@ function yt(e) {
4361
4404
  },
4362
4405
  p(f, c) {
4363
4406
  c & /*title*/
4364
- 1 && ar(
4407
+ 1 && cr(
4365
4408
  n,
4366
4409
  /*title*/
4367
4410
  f[0]
4368
4411
  ), u !== (u = h(f)) && (l.d(1), l = u(f), l && (l.c(), l.m(o, null)));
4369
4412
  },
4370
4413
  d(f) {
4371
- f && A(t), l.d(), s = !1, a();
4414
+ f && P(t), l.d(), s = !1, a();
4372
4415
  }
4373
4416
  };
4374
4417
  }
4375
- function Ci(e) {
4418
+ function Ri(e) {
4376
4419
  let t, r;
4377
4420
  return {
4378
4421
  c() {
4379
- t = J("svg"), r = J("path"), y(r, "d", "M6 9l6 6 6-6"), y(t, "xmlns", "http://www.w3.org/2000/svg"), y(t, "width", "24"), y(t, "height", "24"), y(t, "viewBox", "0 0 24 24"), y(t, "fill", "none"), y(t, "stroke", "#ffffff"), y(t, "stroke-width", "2"), y(t, "stroke-linecap", "round"), y(t, "stroke-linejoin", "round");
4422
+ t = q("svg"), r = q("path"), b(r, "d", "M6 9l6 6 6-6"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "width", "24"), b(t, "height", "24"), b(t, "viewBox", "0 0 24 24"), b(t, "fill", "none"), b(t, "stroke", "#ffffff"), b(t, "stroke-width", "2"), b(t, "stroke-linecap", "round"), b(t, "stroke-linejoin", "round");
4380
4423
  },
4381
4424
  m(n, i) {
4382
- N(n, t, i), w(t, r);
4425
+ N(n, t, i), H(t, r);
4383
4426
  },
4384
4427
  d(n) {
4385
- n && A(t);
4428
+ n && P(t);
4386
4429
  }
4387
4430
  };
4388
4431
  }
4389
- function Ni(e) {
4432
+ function Di(e) {
4390
4433
  let t, r;
4391
4434
  return {
4392
4435
  c() {
4393
- t = J("svg"), r = J("path"), y(r, "d", "M18 15l-6-6-6 6"), y(t, "xmlns", "http://www.w3.org/2000/svg"), y(t, "width", "24"), y(t, "height", "24"), y(t, "viewBox", "0 0 24 24"), y(t, "fill", "none"), y(t, "stroke", "#ffffff"), y(t, "stroke-width", "2"), y(t, "stroke-linecap", "round"), y(t, "stroke-linejoin", "round");
4436
+ t = q("svg"), r = q("path"), b(r, "d", "M18 15l-6-6-6 6"), b(t, "xmlns", "http://www.w3.org/2000/svg"), b(t, "width", "24"), b(t, "height", "24"), b(t, "viewBox", "0 0 24 24"), b(t, "fill", "none"), b(t, "stroke", "#ffffff"), b(t, "stroke-width", "2"), b(t, "stroke-linecap", "round"), b(t, "stroke-linejoin", "round");
4394
4437
  },
4395
4438
  m(n, i) {
4396
- N(n, t, i), w(t, r);
4439
+ N(n, t, i), H(t, r);
4397
4440
  },
4398
4441
  d(n) {
4399
- n && A(t);
4442
+ n && P(t);
4400
4443
  }
4401
4444
  };
4402
4445
  }
4403
- function gt(e) {
4446
+ function St(e) {
4404
4447
  let t, r, n, i;
4405
4448
  return {
4406
4449
  c() {
4407
- t = H("div"), t.innerHTML = "", y(t, "class", "DetailsContent sc"), y(t, "part", "DetailsContent");
4450
+ t = A("div"), t.innerHTML = "", b(t, "class", "DetailsContent sc"), b(t, "part", "DetailsContent");
4408
4451
  },
4409
4452
  m(o, s) {
4410
- N(o, t, s), n || (i = rr(r = /*setContent*/
4453
+ N(o, t, s), n || (i = ar(r = /*setContent*/
4411
4454
  e[6].call(
4412
4455
  null,
4413
4456
  t,
@@ -4416,7 +4459,7 @@ function gt(e) {
4416
4459
  )), n = !0);
4417
4460
  },
4418
4461
  p(o, s) {
4419
- r && re(r.update) && s & /*text*/
4462
+ r && te(r.update) && s & /*text*/
4420
4463
  2 && r.update.call(
4421
4464
  null,
4422
4465
  /*text*/
@@ -4424,54 +4467,54 @@ function gt(e) {
4424
4467
  );
4425
4468
  },
4426
4469
  d(o) {
4427
- o && A(t), n = !1, i();
4470
+ o && P(t), n = !1, i();
4428
4471
  }
4429
4472
  };
4430
4473
  }
4431
- function Li(e) {
4474
+ function Ui(e) {
4432
4475
  let t, r, n = (
4433
4476
  /*title*/
4434
- e[0] && yt(e)
4477
+ e[0] && Et(e)
4435
4478
  ), i = (
4436
4479
  /*text*/
4437
4480
  e[1] && !/*collapsed*/
4438
- e[3] && gt(e)
4481
+ e[3] && St(e)
4439
4482
  );
4440
4483
  return {
4441
4484
  c() {
4442
- t = H("div"), n && n.c(), r = Et(), i && i.c(), y(t, "class", "DetailsCard " + (Bi(
4485
+ t = A("div"), n && n.c(), r = At(), i && i.c(), b(t, "class", "DetailsCard " + (Ci(
4443
4486
  /*userAgent*/
4444
4487
  e[4]
4445
- ) ? "Mobile" : "")), y(t, "part", "DetailsCard");
4488
+ ) ? "Mobile" : "")), b(t, "part", "DetailsCard");
4446
4489
  },
4447
4490
  m(o, s) {
4448
- N(o, t, s), n && n.m(t, null), w(t, r), i && i.m(t, null), e[10](t);
4491
+ N(o, t, s), n && n.m(t, null), H(t, r), i && i.m(t, null), e[10](t);
4449
4492
  },
4450
4493
  p(o, [s]) {
4451
4494
  /*title*/
4452
- o[0] ? n ? n.p(o, s) : (n = yt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4495
+ o[0] ? n ? n.p(o, s) : (n = Et(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4453
4496
  o[1] && !/*collapsed*/
4454
- o[3] ? i ? i.p(o, s) : (i = gt(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4497
+ o[3] ? i ? i.p(o, s) : (i = St(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4455
4498
  },
4456
- i: T,
4457
- o: T,
4499
+ i: S,
4500
+ o: S,
4458
4501
  d(o) {
4459
- o && A(t), n && n.d(), i && i.d(), e[10](null);
4502
+ o && P(t), n && n.d(), i && i.d(), e[10](null);
4460
4503
  }
4461
4504
  };
4462
4505
  }
4463
- function Mi(e, t, r) {
4506
+ function Gi(e, t, r) {
4464
4507
  let { title: n = "" } = t, { text: i = "" } = t, { mbsource: o } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, h, u = !1, l = window.navigator.userAgent;
4465
4508
  const f = () => {
4466
4509
  r(3, u = !u);
4467
- }, c = (p, v) => {
4510
+ }, c = (p, g) => {
4468
4511
  let E = document.createElement("div");
4469
- E.innerHTML = v, p.append(E);
4512
+ E.innerHTML = g, p.append(E);
4470
4513
  };
4471
- lr(() => () => {
4514
+ mr(() => () => {
4472
4515
  });
4473
- function g(p) {
4474
- Pe[p ? "unshift" : "push"](() => {
4516
+ function y(p) {
4517
+ Ce[p ? "unshift" : "push"](() => {
4475
4518
  h = p, r(2, h);
4476
4519
  });
4477
4520
  }
@@ -4479,9 +4522,9 @@ function Mi(e, t, r) {
4479
4522
  "title" in p && r(0, n = p.title), "text" in p && r(1, i = p.text), "mbsource" in p && r(7, o = p.mbsource), "clientstyling" in p && r(8, s = p.clientstyling), "clientstylingurl" in p && r(9, a = p.clientstylingurl);
4480
4523
  }, e.$$.update = () => {
4481
4524
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4482
- 260 && s && h && Ai(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4483
- 516 && a && h && Pi(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4484
- 132 && o && h && Oi(h, `${o}.Style`);
4525
+ 260 && s && h && Ni(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4526
+ 516 && a && h && Li(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4527
+ 132 && o && h && Mi(h, `${o}.Style`);
4485
4528
  }, [
4486
4529
  n,
4487
4530
  i,
@@ -4493,17 +4536,17 @@ function Mi(e, t, r) {
4493
4536
  o,
4494
4537
  s,
4495
4538
  a,
4496
- g
4539
+ y
4497
4540
  ];
4498
4541
  }
4499
- class er extends Er {
4542
+ class or extends Ar {
4500
4543
  constructor(t) {
4501
- super(), _r(
4544
+ super(), Tr(
4502
4545
  this,
4503
4546
  t,
4504
- Mi,
4505
- Li,
4506
- _t,
4547
+ Gi,
4548
+ Ui,
4549
+ Tt,
4507
4550
  {
4508
4551
  title: 0,
4509
4552
  text: 1,
@@ -4511,7 +4554,7 @@ class er extends Er {
4511
4554
  clientstyling: 8,
4512
4555
  clientstylingurl: 9
4513
4556
  },
4514
- Ii
4557
+ $i
4515
4558
  );
4516
4559
  }
4517
4560
  get title() {
@@ -4545,55 +4588,55 @@ class er extends Er {
4545
4588
  this.$$set({ clientstylingurl: t }), C();
4546
4589
  }
4547
4590
  }
4548
- xr(er, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4549
- const qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4591
+ Hr(or, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4592
+ const to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4550
4593
  __proto__: null,
4551
- default: er
4594
+ default: or
4552
4595
  }, Symbol.toStringTag, { value: "Module" }));
4553
4596
  export {
4554
4597
  ie as $,
4555
- Qi as A,
4556
- Pe as B,
4557
- $i as C,
4558
- rr as D,
4559
- Zi as E,
4560
- Ai as F,
4561
- Pi as G,
4562
- Oi as H,
4563
- te as I,
4564
- re as J,
4565
- Fi as K,
4566
- Xi as L,
4567
- ki as M,
4568
- ji as N,
4569
- Ie as O,
4570
- Vi as P,
4571
- qi as Q,
4572
- Er as S,
4598
+ eo as A,
4599
+ Ce as B,
4600
+ Fi as C,
4601
+ ar as D,
4602
+ Ki as E,
4603
+ Ni as F,
4604
+ Li as G,
4605
+ Mi as H,
4606
+ ee as I,
4607
+ te as J,
4608
+ Wi as K,
4609
+ qi as L,
4610
+ Zi as M,
4611
+ zi as N,
4612
+ Le as O,
4613
+ Qi as P,
4614
+ to as Q,
4615
+ Ar as S,
4573
4616
  ne as a,
4574
- Kn as b,
4575
- zi as c,
4576
- xr as d,
4577
- nr as e,
4617
+ ii as b,
4618
+ Yi as c,
4619
+ Hr as d,
4620
+ ur as e,
4578
4621
  C as f,
4579
- A as g,
4580
- ar as h,
4581
- _r as i,
4582
- Gi as j,
4583
- y as k,
4622
+ P as g,
4623
+ cr as h,
4624
+ Tr as i,
4625
+ Xi as j,
4626
+ b as k,
4584
4627
  N as l,
4585
- w as m,
4586
- T as n,
4587
- Ae as o,
4588
- Et as p,
4589
- H as q,
4590
- J as r,
4591
- _t as s,
4592
- Xe as t,
4593
- Bi as u,
4594
- Ri as v,
4595
- lr as w,
4596
- Wi as x,
4597
- Di as y,
4598
- Ui as z
4628
+ H as m,
4629
+ S as n,
4630
+ Ie as o,
4631
+ At as p,
4632
+ A as q,
4633
+ q as r,
4634
+ Tt as s,
4635
+ qe as t,
4636
+ Ci as u,
4637
+ ji as v,
4638
+ mr as w,
4639
+ Ji as x,
4640
+ ki as y,
4641
+ Vi as z
4599
4642
  };