@everymatrix/casino-tournaments-page-controller 1.77.24 → 1.77.26

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 (68) hide show
  1. package/components/{CasinoTournamentsDetails-CCZyFUZY.js → CasinoTournamentsDetails-Coua6SG2.js} +766 -787
  2. package/components/CasinoTournamentsDetails-O59Wdqtn.cjs +18 -0
  3. package/components/{CasinoTournamentsDetails-BhehF_iH.js → CasinoTournamentsDetails-cjEvi6GE.js} +758 -779
  4. package/components/{CasinoTournamentsPageController-C9dXL8aq.cjs → CasinoTournamentsPageController-CA4zJ8LB.cjs} +2 -2
  5. package/components/{CasinoTournamentsPageController-D87wHVAn.js → CasinoTournamentsPageController-CWaWaTD3.js} +62 -62
  6. package/components/{CasinoTournamentsPageController-BupvThyE.js → CasinoTournamentsPageController-XClmJMyt.js} +60 -60
  7. package/components/{CasinoTournamentsRank-DBuxPj0S.cjs → CasinoTournamentsRank-BNVk8u6f.cjs} +1 -1
  8. package/components/{CasinoTournamentsRank-CXceAd_p.js → CasinoTournamentsRank-CQz3oK1T.js} +40 -40
  9. package/components/{CasinoTournamentsRank-BxiLigZq.js → CasinoTournamentsRank-DVraviFP.js} +40 -40
  10. package/components/{CasinoTournamentsTab-CV3zK-ST.js → CasinoTournamentsTab-CjsWyuv2.js} +33 -33
  11. package/components/{CasinoTournamentsTab-CGNPCbDW.js → CasinoTournamentsTab-DKM5DEm-.js} +26 -26
  12. package/components/{CasinoTournamentsTab-B7bZ4XQ5.cjs → CasinoTournamentsTab-Dk7d55Hf.cjs} +1 -1
  13. package/components/{CasinoTournamentsTable-CXkuplUY.cjs → CasinoTournamentsTable-B7qYR1ZS.cjs} +1 -1
  14. package/components/{CasinoTournamentsTable-DpqajrzO.js → CasinoTournamentsTable-BALFpgPV.js} +81 -81
  15. package/components/{CasinoTournamentsTable-BuIo7Q48.js → CasinoTournamentsTable-BV5Iesf8.js} +81 -81
  16. package/components/{CasinoTournamentsThumbnail-BWeSr5Pm.cjs → CasinoTournamentsThumbnail-CF_MZq2o.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnail-Cx6G4iW9.js → CasinoTournamentsThumbnail-C_lX4VJy.js} +45 -45
  18. package/components/{CasinoTournamentsThumbnail-DQ32ROP1.js → CasinoTournamentsThumbnail-YjhyqeBX.js} +45 -45
  19. package/components/{CasinoTournamentsThumbnailController-BJORxhsT.js → CasinoTournamentsThumbnailController-18-LGFwt.js} +58 -58
  20. package/components/{CasinoTournamentsThumbnailController-aZ94k3Xc.js → CasinoTournamentsThumbnailController-BjLaQe_5.js} +57 -57
  21. package/components/{CasinoTournamentsThumbnailController-C6kMp_uB.cjs → CasinoTournamentsThumbnailController-DFZHXqDu.cjs} +1 -1
  22. package/components/{CasinoTournamentsThumbnailDuration-BlIVTADc.js → CasinoTournamentsThumbnailDuration-BVA9aMOv.js} +47 -47
  23. package/components/{CasinoTournamentsThumbnailDuration-DFP-nQmW.js → CasinoTournamentsThumbnailDuration-DpcMYLkx.js} +47 -47
  24. package/components/{CasinoTournamentsThumbnailDuration-DdgsYjkY.cjs → CasinoTournamentsThumbnailDuration-rwHDMqFC.cjs} +1 -1
  25. package/components/{CasinoTournamentsThumbnailGames-D87QSrRp.js → CasinoTournamentsThumbnailGames-B3wr-4H5.js} +54 -54
  26. package/components/{CasinoTournamentsThumbnailGames-CMEl_dOL.js → CasinoTournamentsThumbnailGames-CsnZ0H5D.js} +54 -54
  27. package/components/{CasinoTournamentsThumbnailGames-BcJ5YMme.cjs → CasinoTournamentsThumbnailGames-Hjsz2r2N.cjs} +1 -1
  28. package/components/{CasinoTournamentsThumbnailGamesSlider-_5Ay7Yas.cjs → CasinoTournamentsThumbnailGamesSlider-CtJeHSRC.cjs} +1 -1
  29. package/components/{CasinoTournamentsThumbnailGamesSlider-DDw7qiWJ.js → CasinoTournamentsThumbnailGamesSlider-DSoFv4kN.js} +46 -46
  30. package/components/{CasinoTournamentsThumbnailGamesSlider-Ds--aYaY.js → CasinoTournamentsThumbnailGamesSlider-DVPPJJxT.js} +46 -46
  31. package/components/{CasinoTournamentsThumbnailPrizes-l6dTOFOE.js → CasinoTournamentsThumbnailPrizes-BTdOLqjG.js} +99 -99
  32. package/components/{CasinoTournamentsThumbnailPrizes-NcyluRLB.js → CasinoTournamentsThumbnailPrizes-DXfBo4Os.js} +99 -99
  33. package/components/{CasinoTournamentsThumbnailPrizes-Cpt9pMCc.cjs → CasinoTournamentsThumbnailPrizes-x8x4lo7f.cjs} +1 -1
  34. package/components/{CasinoTournamentsThumbnailRule-QS3MmPV3.cjs → CasinoTournamentsThumbnailRule-BQWRJMYl.cjs} +1 -1
  35. package/components/{CasinoTournamentsThumbnailRule-D9AkrYWg.js → CasinoTournamentsThumbnailRule-CXlD_ic3.js} +34 -34
  36. package/components/{CasinoTournamentsThumbnailRule-Bkh7dp-L.js → CasinoTournamentsThumbnailRule-DICJOspT.js} +33 -33
  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-BD-QREJe.js +558 -0
  42. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  43. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  44. package/stencil/index-b2193545-CF9C6kiu.cjs +1 -0
  45. package/stencil/index-b2193545-OH6E7v51.js +519 -0
  46. package/stencil/index-b2193545-eoIiLcDl.js +503 -0
  47. package/stencil/{ui-image-Bk8cIvcH.cjs → ui-image-CDCn_LHy.cjs} +1 -1
  48. package/stencil/{ui-image-DgbODkuX.js → ui-image-CDGN3Ekj.js} +1 -1
  49. package/stencil/{ui-image-CXqPvnQ2.js → ui-image-CNrnXPP3.js} +1 -1
  50. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  51. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  52. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  53. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  54. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  55. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
  56. package/stencil/{ui-skeleton-DSebcnN1.js → ui-skeleton-C73UqtBQ.js} +2 -2
  57. package/stencil/{ui-skeleton-B0BB970e.cjs → ui-skeleton-Caiy-FEL.cjs} +1 -1
  58. package/stencil/{ui-skeleton-D8L-WY77.js → ui-skeleton-CzV3R1-p.js} +2 -2
  59. package/stencil/{ui-skeleton-ae35c6f2-DDiK5zGt.cjs → ui-skeleton-ae35c6f2-C9l5j8aK.cjs} +1 -1
  60. package/stencil/{ui-skeleton-ae35c6f2-CcPx4a2P.js → ui-skeleton-ae35c6f2-CLOd38Ia.js} +1 -1
  61. package/stencil/{ui-skeleton-ae35c6f2-BH4D8vHD.js → ui-skeleton-ae35c6f2-SCby2j53.js} +1 -1
  62. package/components/CasinoTournamentsDetails-C0vnKkIF.cjs +0 -18
  63. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  64. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  65. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
  66. package/stencil/index-b2193545-BS7xFIk4.js +0 -503
  67. package/stencil/index-b2193545-BTdVi7--.cjs +0 -1
  68. package/stencil/index-b2193545-rfNAj6ri.js +0 -519
@@ -1,17 +1,17 @@
1
- var cr = Object.defineProperty, pr = Object.defineProperties;
2
- var dr = Object.getOwnPropertyDescriptors;
3
- var rt = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
- var we = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
1
+ var fr = Object.defineProperty, cr = Object.defineProperties;
2
+ var pr = Object.getOwnPropertyDescriptors;
3
+ var et = Object.getOwnPropertySymbols;
4
+ var dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
5
+ var Ee = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- mr.call(t, r) && we(e, r, t[r]);
8
- if (rt)
9
- for (var r of rt(t))
10
- br.call(t, r) && we(e, r, t[r]);
7
+ dr.call(t, r) && Ee(e, r, t[r]);
8
+ if (et)
9
+ for (var r of et(t))
10
+ mr.call(t, r) && Ee(e, r, t[r]);
11
11
  return e;
12
- }, it = (e, t) => pr(e, dr(t));
13
- var x = (e, t, r) => (we(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ot = (e, t, r) => new Promise((n, i) => {
12
+ }, rt = (e, t) => cr(e, pr(t));
13
+ var x = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var nt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,56 +27,56 @@ var ot = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function w() {
30
+ function T() {
31
31
  }
32
- function Ot(e) {
32
+ function At(e) {
33
33
  return e();
34
34
  }
35
- function st() {
35
+ function it() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function te(e) {
39
- e.forEach(Ot);
40
- }
41
38
  function re(e) {
39
+ e.forEach(At);
40
+ }
41
+ function ne(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function It(e, t) {
44
+ function Pt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ae;
48
- function Ki(e, t) {
48
+ function Ji(e, t) {
49
49
  return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
50
50
  }
51
- function yr(e) {
51
+ function br(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ct(e, ...t) {
54
+ function Ot(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return w;
58
+ return T;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function eo(e, t, r) {
64
- e.$$.on_destroy.push(Ct(t, r));
63
+ function Yi(e, t, r) {
64
+ e.$$.on_destroy.push(Ot(t, r));
65
65
  }
66
66
  function gr(e) {
67
- return e && re(e.destroy) ? e.destroy : w;
67
+ return e && ne(e.destroy) ? e.destroy : T;
68
68
  }
69
- function A(e, t) {
69
+ function H(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function vr(e, t, r) {
73
- const n = _r(e);
72
+ function yr(e, t, r) {
73
+ const n = vr(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = B("style");
76
- i.id = t, i.textContent = r, xr(n, i);
76
+ i.id = t, i.textContent = r, _r(n, i);
77
77
  }
78
78
  }
79
- function _r(e) {
79
+ function vr(e) {
80
80
  if (!e)
81
81
  return document;
82
82
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -86,60 +86,60 @@ function _r(e) {
86
86
  t
87
87
  ) : e.ownerDocument;
88
88
  }
89
- function xr(e, t) {
90
- return A(
89
+ function _r(e, t) {
90
+ return H(
91
91
  /** @type {Document} */
92
92
  e.head || e,
93
93
  t
94
94
  ), t.sheet;
95
95
  }
96
- function L(e, t, r) {
96
+ function N(e, t, r) {
97
97
  e.insertBefore(t, r || null);
98
98
  }
99
- function O(e) {
99
+ function P(e) {
100
100
  e.parentNode && e.parentNode.removeChild(e);
101
101
  }
102
- function to(e, t) {
102
+ function Ki(e, t) {
103
103
  for (let r = 0; r < e.length; r += 1)
104
104
  e[r] && e[r].d(t);
105
105
  }
106
106
  function B(e) {
107
107
  return document.createElement(e);
108
108
  }
109
- function J(e) {
109
+ function Y(e) {
110
110
  return document.createElementNS("http://www.w3.org/2000/svg", e);
111
111
  }
112
- function Ye(e) {
112
+ function Ze(e) {
113
113
  return document.createTextNode(e);
114
114
  }
115
- function Nt() {
116
- return Ye(" ");
115
+ function It() {
116
+ return Ze(" ");
117
117
  }
118
- function ro() {
119
- return Ye("");
118
+ function eo() {
119
+ return Ze("");
120
120
  }
121
- function Ne(e, t, r, n) {
121
+ function Ie(e, t, r, n) {
122
122
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
123
  }
124
- function b(e, t, r) {
124
+ function g(e, t, r) {
125
125
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
126
126
  }
127
- function no(e, t, r) {
127
+ function to(e, t, r) {
128
128
  const n = t.toLowerCase();
129
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
129
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
130
130
  }
131
- function Er(e) {
131
+ function xr(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function Sr(e, t) {
134
+ function Er(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function io(e, t, r, n) {
138
+ function ro(e, t, r, n) {
139
139
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
140
140
  }
141
141
  let ue;
142
- function wr() {
142
+ function Sr() {
143
143
  if (ue === void 0) {
144
144
  ue = !1;
145
145
  try {
@@ -150,16 +150,16 @@ function wr() {
150
150
  }
151
151
  return ue;
152
152
  }
153
- function oo(e, t) {
153
+ function no(e, t) {
154
154
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
155
155
  const n = B("iframe");
156
156
  n.setAttribute(
157
157
  "style",
158
158
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
159
159
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
160
- const i = wr();
160
+ const i = Sr();
161
161
  let o;
162
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ne(
162
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ie(
163
163
  window,
164
164
  "message",
165
165
  /** @param {MessageEvent} event */
@@ -167,15 +167,15 @@ function oo(e, t) {
167
167
  s.source === n.contentWindow && t();
168
168
  }
169
169
  )) : (n.src = "about:blank", n.onload = () => {
170
- o = Ne(n.contentWindow, "resize", t), t();
171
- }), A(e, n), () => {
172
- (i || o && n.contentWindow) && o(), O(n);
170
+ o = Ie(n.contentWindow, "resize", t), t();
171
+ }), H(e, n), () => {
172
+ (i || o && n.contentWindow) && o(), P(n);
173
173
  };
174
174
  }
175
- function so(e, t, r) {
175
+ function io(e, t, r) {
176
176
  e.classList.toggle(t, !!r);
177
177
  }
178
- class ao {
178
+ class oo {
179
179
  constructor(t = !1) {
180
180
  /**
181
181
  * @private
@@ -206,7 +206,7 @@ class ao {
206
206
  * @returns {void}
207
207
  */
208
208
  m(t, r, n = null) {
209
- this.e || (this.is_svg ? this.e = J(
209
+ this.e || (this.is_svg ? this.e = Y(
210
210
  /** @type {keyof SVGElementTagNameMap} */
211
211
  r.nodeName
212
212
  ) : this.e = B(
@@ -230,7 +230,7 @@ class ao {
230
230
  * @returns {void} */
231
231
  i(t) {
232
232
  for (let r = 0; r < this.n.length; r += 1)
233
- L(this.t, this.n[r], t);
233
+ N(this.t, this.n[r], t);
234
234
  }
235
235
  /**
236
236
  * @param {string} html
@@ -242,7 +242,7 @@ class ao {
242
242
  /**
243
243
  * @returns {void} */
244
244
  d() {
245
- this.n.forEach(O);
245
+ this.n.forEach(P);
246
246
  }
247
247
  }
248
248
  function Tr(e) {
@@ -254,101 +254,101 @@ function Tr(e) {
254
254
  }
255
255
  ), t;
256
256
  }
257
- let Y;
258
- function q(e) {
259
- Y = e;
257
+ let K;
258
+ function J(e) {
259
+ K = e;
260
260
  }
261
- function Lt() {
262
- if (!Y)
261
+ function Ct() {
262
+ if (!K)
263
263
  throw new Error("Function called outside component initialization");
264
- return Y;
264
+ return K;
265
265
  }
266
- function Hr(e) {
267
- Lt().$$.on_mount.push(e);
266
+ function wr(e) {
267
+ Ct().$$.on_mount.push(e);
268
268
  }
269
- function uo(e) {
270
- Lt().$$.on_destroy.push(e);
269
+ function so(e) {
270
+ Ct().$$.on_destroy.push(e);
271
271
  }
272
- const U = [], Le = [];
272
+ const U = [], Ce = [];
273
273
  let G = [];
274
- const at = [], Ar = /* @__PURE__ */ Promise.resolve();
275
- let Me = !1;
274
+ const ot = [], Hr = /* @__PURE__ */ Promise.resolve();
275
+ let Le = !1;
276
276
  function Br() {
277
- Me || (Me = !0, Ar.then(N));
277
+ Le || (Le = !0, Hr.then(L));
278
278
  }
279
- function $e(e) {
279
+ function Ne(e) {
280
280
  G.push(e);
281
281
  }
282
- const Te = /* @__PURE__ */ new Set();
282
+ const Se = /* @__PURE__ */ new Set();
283
283
  let R = 0;
284
- function N() {
284
+ function L() {
285
285
  if (R !== 0)
286
286
  return;
287
- const e = Y;
287
+ const e = K;
288
288
  do {
289
289
  try {
290
290
  for (; R < U.length; ) {
291
291
  const t = U[R];
292
- R++, q(t), Pr(t.$$);
292
+ R++, J(t), Ar(t.$$);
293
293
  }
294
294
  } catch (t) {
295
295
  throw U.length = 0, R = 0, t;
296
296
  }
297
- for (q(null), U.length = 0, R = 0; Le.length; )
298
- Le.pop()();
297
+ for (J(null), U.length = 0, R = 0; Ce.length; )
298
+ Ce.pop()();
299
299
  for (let t = 0; t < G.length; t += 1) {
300
300
  const r = G[t];
301
- Te.has(r) || (Te.add(r), r());
301
+ Se.has(r) || (Se.add(r), r());
302
302
  }
303
303
  G.length = 0;
304
304
  } while (U.length);
305
- for (; at.length; )
306
- at.pop()();
307
- Me = !1, Te.clear(), q(e);
305
+ for (; ot.length; )
306
+ ot.pop()();
307
+ Le = !1, Se.clear(), J(e);
308
308
  }
309
- function Pr(e) {
309
+ function Ar(e) {
310
310
  if (e.fragment !== null) {
311
- e.update(), te(e.before_update);
311
+ e.update(), re(e.before_update);
312
312
  const t = e.dirty;
313
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
313
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
314
314
  }
315
315
  }
316
- function Or(e) {
316
+ function Pr(e) {
317
317
  const t = [], r = [];
318
318
  G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
319
319
  }
320
- const Ir = /* @__PURE__ */ new Set();
321
- function Cr(e, t) {
322
- e && e.i && (Ir.delete(e), e.i(t));
320
+ const Or = /* @__PURE__ */ new Set();
321
+ function Ir(e, t) {
322
+ e && e.i && (Or.delete(e), e.i(t));
323
323
  }
324
- function ho(e) {
324
+ function ao(e) {
325
325
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
326
326
  }
327
- function Nr(e, t, r) {
327
+ function Cr(e, t, r) {
328
328
  const { fragment: n, after_update: i } = e.$$;
329
- n && n.m(t, r), $e(() => {
330
- const o = e.$$.on_mount.map(Ot).filter(re);
331
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
332
- }), i.forEach($e);
329
+ n && n.m(t, r), Ne(() => {
330
+ const o = e.$$.on_mount.map(At).filter(ne);
331
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
332
+ }), i.forEach(Ne);
333
333
  }
334
334
  function Lr(e, t) {
335
335
  const r = e.$$;
336
- r.fragment !== null && (Or(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
336
+ r.fragment !== null && (Pr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
337
337
  }
338
- function Mr(e, t) {
338
+ function Nr(e, t) {
339
339
  e.$$.dirty[0] === -1 && (U.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
340
340
  }
341
- function $r(e, t, r, n, i, o, s = null, a = [-1]) {
342
- const h = Y;
343
- q(e);
341
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
342
+ const h = K;
343
+ J(e);
344
344
  const u = e.$$ = {
345
345
  fragment: null,
346
346
  ctx: [],
347
347
  // state
348
348
  props: o,
349
- update: w,
349
+ update: T,
350
350
  not_equal: i,
351
- bound: st(),
351
+ bound: it(),
352
352
  // lifecycle
353
353
  on_mount: [],
354
354
  on_destroy: [],
@@ -357,7 +357,7 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
357
357
  after_update: [],
358
358
  context: new Map(t.context || (h ? h.$$.context : [])),
359
359
  // everything else
360
- callbacks: st(),
360
+ callbacks: it(),
361
361
  dirty: a,
362
362
  skip_bound: !1,
363
363
  root: t.target || h.$$.root
@@ -366,19 +366,19 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
366
366
  let l = !1;
367
367
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
368
368
  const p = y.length ? y[0] : c;
369
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Mr(e, f)), c;
370
- }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
369
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Nr(e, f)), c;
370
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
371
371
  if (t.hydrate) {
372
- const f = Er(t.target);
373
- u.fragment && u.fragment.l(f), f.forEach(O);
372
+ const f = xr(t.target);
373
+ u.fragment && u.fragment.l(f), f.forEach(P);
374
374
  } else
375
375
  u.fragment && u.fragment.c();
376
- t.intro && Cr(e.$$.fragment), Nr(e, t.target, t.anchor), N();
376
+ t.intro && Ir(e.$$.fragment), Cr(e, t.target, t.anchor), L();
377
377
  }
378
- q(h);
378
+ J(h);
379
379
  }
380
- let Mt;
381
- typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
380
+ let Lt;
381
+ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
382
382
  constructor(t, r, n) {
383
383
  super();
384
384
  /** The Svelte component constructor */
@@ -415,24 +415,24 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
415
415
  }
416
416
  }
417
417
  connectedCallback() {
418
- return ot(this, null, function* () {
418
+ return nt(this, null, function* () {
419
419
  if (this.$$cn = !0, !this.$$c) {
420
420
  let t = function(o) {
421
421
  return () => {
422
422
  let s;
423
423
  return {
424
424
  c: function() {
425
- s = B("slot"), o !== "default" && b(s, "name", o);
425
+ s = B("slot"), o !== "default" && g(s, "name", o);
426
426
  },
427
427
  /**
428
428
  * @param {HTMLElement} target
429
429
  * @param {HTMLElement} [anchor]
430
430
  */
431
431
  m: function(u, l) {
432
- L(u, s, l);
432
+ N(u, s, l);
433
433
  },
434
434
  d: function(u) {
435
- u && O(s);
435
+ u && P(s);
436
436
  }
437
437
  };
438
438
  };
@@ -450,7 +450,7 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
450
450
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
451
451
  this.$$c = new this.$$ctor({
452
452
  target: this.shadowRoot || this,
453
- props: it(nt({}, this.$$d), {
453
+ props: rt(tt({}, this.$$d), {
454
454
  $$slots: r,
455
455
  $$scope: {
456
456
  ctx: []
@@ -528,8 +528,8 @@ function fe(e, t, r, n) {
528
528
  return t;
529
529
  }
530
530
  }
531
- function Rr(e, t, r, n, i, o) {
532
- let s = class extends Mt {
531
+ function $r(e, t, r, n, i, o) {
532
+ let s = class extends Lt {
533
533
  constructor() {
534
534
  super(e, r, i), this.$$p_d = t;
535
535
  }
@@ -559,7 +559,7 @@ function Rr(e, t, r, n, i, o) {
559
559
  }), e.element = /** @type {any} */
560
560
  s, s;
561
561
  }
562
- class Dr {
562
+ class Rr {
563
563
  constructor() {
564
564
  /**
565
565
  * ### PRIVATE API
@@ -580,7 +580,7 @@ class Dr {
580
580
  }
581
581
  /** @returns {void} */
582
582
  $destroy() {
583
- Lr(this, 1), this.$destroy = w;
583
+ Lr(this, 1), this.$destroy = T;
584
584
  }
585
585
  /**
586
586
  * @template {Extract<keyof Events, string>} K
@@ -589,8 +589,8 @@ class Dr {
589
589
  * @returns {() => void}
590
590
  */
591
591
  $on(t, r) {
592
- if (!re(r))
593
- return w;
592
+ if (!ne(r))
593
+ return T;
594
594
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
595
595
  return n.push(r), () => {
596
596
  const i = n.indexOf(r);
@@ -602,13 +602,13 @@ class Dr {
602
602
  * @returns {void}
603
603
  */
604
604
  $set(t) {
605
- this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
605
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
606
606
  }
607
607
  }
608
- const Ur = "4";
609
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
610
- var lo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
611
- function Gr(e) {
608
+ const Dr = "4";
609
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
610
+ var uo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
611
+ function Ur(e) {
612
612
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
613
613
  }
614
614
  /*! *****************************************************************************
@@ -625,24 +625,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
625
625
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
626
626
  PERFORMANCE OF THIS SOFTWARE.
627
627
  ***************************************************************************** */
628
- var Re = function(e, t) {
629
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
628
+ var Me = function(e, t) {
629
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
630
630
  r.__proto__ = n;
631
631
  } || function(r, n) {
632
632
  for (var i in n)
633
633
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
634
- }, Re(e, t);
634
+ }, Me(e, t);
635
635
  };
636
- function ne(e, t) {
636
+ function O(e, t) {
637
637
  if (typeof t != "function" && t !== null)
638
638
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
639
- Re(e, t);
639
+ Me(e, t);
640
640
  function r() {
641
641
  this.constructor = e;
642
642
  }
643
643
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
644
644
  }
645
- function De(e) {
645
+ var b = function() {
646
+ return b = Object.assign || function(t) {
647
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
648
+ r = arguments[n];
649
+ for (var o in r)
650
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
651
+ }
652
+ return t;
653
+ }, b.apply(this, arguments);
654
+ };
655
+ function Gr(e, t) {
656
+ var r = {};
657
+ for (var n in e)
658
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
659
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
660
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
661
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
662
+ return r;
663
+ }
664
+ function $e(e) {
646
665
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
647
666
  if (r)
648
667
  return r.call(e);
@@ -654,7 +673,7 @@ function De(e) {
654
673
  };
655
674
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
656
675
  }
657
- function Ue(e, t) {
676
+ function Re(e, t) {
658
677
  var r = typeof Symbol == "function" && e[Symbol.iterator];
659
678
  if (!r)
660
679
  return e;
@@ -674,22 +693,22 @@ function Ue(e, t) {
674
693
  }
675
694
  return o;
676
695
  }
677
- function Ge(e, t, r) {
678
- if (arguments.length === 2)
696
+ function F(e, t, r) {
697
+ if (r || arguments.length === 2)
679
698
  for (var n = 0, i = t.length, o; n < i; n++)
680
699
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
681
700
  return e.concat(o || t);
682
701
  }
683
- function P(e) {
702
+ function A(e) {
684
703
  return typeof e == "function";
685
704
  }
686
- function $t(e) {
705
+ function Nt(e) {
687
706
  var t = function(n) {
688
707
  Error.call(n), n.stack = new Error().stack;
689
708
  }, r = e(t);
690
709
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
691
710
  }
692
- var He = $t(function(e) {
711
+ var Te = Nt(function(e) {
693
712
  return function(r) {
694
713
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
695
714
  ` + r.map(function(n, i) {
@@ -698,7 +717,7 @@ var He = $t(function(e) {
698
717
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
699
718
  };
700
719
  });
701
- function Fe(e, t) {
720
+ function De(e, t) {
702
721
  if (e) {
703
722
  var r = e.indexOf(t);
704
723
  0 <= r && e.splice(r, 1);
@@ -716,12 +735,12 @@ var ge = function() {
716
735
  if (s)
717
736
  if (this._parentage = null, Array.isArray(s))
718
737
  try {
719
- for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
738
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
720
739
  var u = h.value;
721
740
  u.remove(this);
722
741
  }
723
- } catch (g) {
724
- t = { error: g };
742
+ } catch (v) {
743
+ t = { error: v };
725
744
  } finally {
726
745
  try {
727
746
  h && !h.done && (r = a.return) && r.call(a);
@@ -733,26 +752,26 @@ var ge = function() {
733
752
  else
734
753
  s.remove(this);
735
754
  var l = this.initialTeardown;
736
- if (P(l))
755
+ if (A(l))
737
756
  try {
738
757
  l();
739
- } catch (g) {
740
- o = g instanceof He ? g.errors : [g];
758
+ } catch (v) {
759
+ o = v instanceof Te ? v.errors : [v];
741
760
  }
742
761
  var f = this._finalizers;
743
762
  if (f) {
744
763
  this._finalizers = null;
745
764
  try {
746
- for (var c = De(f), y = c.next(); !y.done; y = c.next()) {
765
+ for (var c = $e(f), y = c.next(); !y.done; y = c.next()) {
747
766
  var p = y.value;
748
767
  try {
749
- ut(p);
750
- } catch (g) {
751
- o = o != null ? o : [], g instanceof He ? o = Ge(Ge([], Ue(o)), Ue(g.errors)) : o.push(g);
768
+ st(p);
769
+ } catch (v) {
770
+ o = o != null ? o : [], v instanceof Te ? o = F(F([], Re(o)), Re(v.errors)) : o.push(v);
752
771
  }
753
772
  }
754
- } catch (g) {
755
- n = { error: g };
773
+ } catch (v) {
774
+ n = { error: v };
756
775
  } finally {
757
776
  try {
758
777
  y && !y.done && (i = c.return) && i.call(c);
@@ -763,13 +782,13 @@ var ge = function() {
763
782
  }
764
783
  }
765
784
  if (o)
766
- throw new He(o);
785
+ throw new Te(o);
767
786
  }
768
787
  }, e.prototype.add = function(t) {
769
788
  var r;
770
789
  if (t && t !== this)
771
790
  if (this.closed)
772
- ut(t);
791
+ st(t);
773
792
  else {
774
793
  if (t instanceof e) {
775
794
  if (t.closed || t._hasParent(this))
@@ -786,52 +805,56 @@ var ge = function() {
786
805
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
787
806
  }, e.prototype._removeParent = function(t) {
788
807
  var r = this._parentage;
789
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
808
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
790
809
  }, e.prototype.remove = function(t) {
791
810
  var r = this._finalizers;
792
- r && Fe(r, t), t instanceof e && t._removeParent(this);
811
+ r && De(r, t), t instanceof e && t._removeParent(this);
793
812
  }, e.EMPTY = function() {
794
813
  var t = new e();
795
814
  return t.closed = !0, t;
796
815
  }(), e;
797
- }(), Rt = ge.EMPTY;
798
- function Dt(e) {
799
- return e instanceof ge || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
800
- }
801
- function ut(e) {
802
- P(e) ? e() : e.unsubscribe();
803
- }
804
- var Fr = {
805
- Promise: void 0
806
- }, jr = {
816
+ }(), Mt = ge.EMPTY;
817
+ function $t(e) {
818
+ return e instanceof ge || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
819
+ }
820
+ function st(e) {
821
+ A(e) ? e() : e.unsubscribe();
822
+ }
823
+ var Rt = {
824
+ onUnhandledError: null,
825
+ onStoppedNotification: null,
826
+ Promise: void 0,
827
+ useDeprecatedSynchronousErrorHandling: !1,
828
+ useDeprecatedNextContext: !1
829
+ }, Fr = {
807
830
  setTimeout: function(e, t) {
808
831
  for (var r = [], n = 2; n < arguments.length; n++)
809
832
  r[n - 2] = arguments[n];
810
- return setTimeout.apply(void 0, Ge([e, t], Ue(r)));
833
+ return setTimeout.apply(void 0, F([e, t], Re(r)));
811
834
  },
812
835
  clearTimeout: function(e) {
813
836
  return clearTimeout(e);
814
837
  },
815
838
  delegate: void 0
816
839
  };
817
- function kr(e) {
818
- jr.setTimeout(function() {
840
+ function jr(e) {
841
+ Fr.setTimeout(function() {
819
842
  throw e;
820
843
  });
821
844
  }
822
- function ht() {
845
+ function at() {
823
846
  }
824
847
  function ce(e) {
825
848
  e();
826
849
  }
827
- var Ut = function(e) {
828
- ne(t, e);
850
+ var Dt = function(e) {
851
+ O(t, e);
829
852
  function t(r) {
830
853
  var n = e.call(this) || this;
831
- return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = Wr, n;
854
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
832
855
  }
833
856
  return t.create = function(r, n, i) {
834
- return new je(r, n, i);
857
+ return new Ue(r, n, i);
835
858
  }, t.prototype.next = function(r) {
836
859
  this.isStopped || this._next(r);
837
860
  }, t.prototype.error = function(r) {
@@ -855,7 +878,11 @@ var Ut = function(e) {
855
878
  this.unsubscribe();
856
879
  }
857
880
  }, t;
858
- }(ge), Vr = function() {
881
+ }(ge), kr = Function.prototype.bind;
882
+ function we(e, t) {
883
+ return kr.call(e, t);
884
+ }
885
+ var Vr = function() {
859
886
  function e(t) {
860
887
  this.partialObserver = t;
861
888
  }
@@ -886,29 +913,41 @@ var Ut = function(e) {
886
913
  he(r);
887
914
  }
888
915
  }, e;
889
- }(), je = function(e) {
890
- ne(t, e);
916
+ }(), Ue = function(e) {
917
+ O(t, e);
891
918
  function t(r, n, i) {
892
919
  var o = e.call(this) || this, s;
893
- return P(r) || !r ? s = {
894
- next: r != null ? r : void 0,
895
- error: n != null ? n : void 0,
896
- complete: i != null ? i : void 0
897
- } : s = r, o.destination = new Vr(s), o;
920
+ if (A(r) || !r)
921
+ s = {
922
+ next: r != null ? r : void 0,
923
+ error: n != null ? n : void 0,
924
+ complete: i != null ? i : void 0
925
+ };
926
+ else {
927
+ var a;
928
+ o && Rt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
929
+ return o.unsubscribe();
930
+ }, s = {
931
+ next: r.next && we(r.next, a),
932
+ error: r.error && we(r.error, a),
933
+ complete: r.complete && we(r.complete, a)
934
+ }) : s = r;
935
+ }
936
+ return o.destination = new Vr(s), o;
898
937
  }
899
938
  return t;
900
- }(Ut);
939
+ }(Dt);
901
940
  function he(e) {
902
- kr(e);
941
+ jr(e);
903
942
  }
904
943
  function Xr(e) {
905
944
  throw e;
906
945
  }
907
946
  var Wr = {
908
947
  closed: !0,
909
- next: ht,
948
+ next: at,
910
949
  error: Xr,
911
- complete: ht
950
+ complete: at
912
951
  }, zr = function() {
913
952
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
914
953
  }();
@@ -922,7 +961,7 @@ function Qr(e) {
922
961
  }, r);
923
962
  };
924
963
  }
925
- var lt = function() {
964
+ var ut = function() {
926
965
  function e(t) {
927
966
  t && (this._subscribe = t);
928
967
  }
@@ -930,7 +969,7 @@ var lt = function() {
930
969
  var r = new e();
931
970
  return r.source = this, r.operator = t, r;
932
971
  }, e.prototype.subscribe = function(t, r, n) {
933
- var i = this, o = Jr(t) ? t : new je(t, r, n);
972
+ var i = this, o = Jr(t) ? t : new Ue(t, r, n);
934
973
  return ce(function() {
935
974
  var s = i, a = s.operator, h = s.source;
936
975
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -943,8 +982,8 @@ var lt = function() {
943
982
  }
944
983
  }, e.prototype.forEach = function(t, r) {
945
984
  var n = this;
946
- return r = ft(r), new r(function(i, o) {
947
- var s = new je({
985
+ return r = ht(r), new r(function(i, o) {
986
+ var s = new Ue({
948
987
  next: function(a) {
949
988
  try {
950
989
  t(a);
@@ -968,7 +1007,7 @@ var lt = function() {
968
1007
  return Qr(t)(this);
969
1008
  }, e.prototype.toPromise = function(t) {
970
1009
  var r = this;
971
- return t = ft(t), new t(function(n, i) {
1010
+ return t = ht(t), new t(function(n, i) {
972
1011
  var o;
973
1012
  r.subscribe(function(s) {
974
1013
  return o = s;
@@ -982,28 +1021,28 @@ var lt = function() {
982
1021
  return new e(t);
983
1022
  }, e;
984
1023
  }();
985
- function ft(e) {
1024
+ function ht(e) {
986
1025
  var t;
987
- return (t = e != null ? e : Fr.Promise) !== null && t !== void 0 ? t : Promise;
1026
+ return (t = e != null ? e : Rt.Promise) !== null && t !== void 0 ? t : Promise;
988
1027
  }
989
1028
  function qr(e) {
990
- return e && P(e.next) && P(e.error) && P(e.complete);
1029
+ return e && A(e.next) && A(e.error) && A(e.complete);
991
1030
  }
992
1031
  function Jr(e) {
993
- return e && e instanceof Ut || qr(e) && Dt(e);
1032
+ return e && e instanceof Dt || qr(e) && $t(e);
994
1033
  }
995
- var Yr = $t(function(e) {
1034
+ var Yr = Nt(function(e) {
996
1035
  return function() {
997
1036
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
998
1037
  };
999
- }), Gt = function(e) {
1000
- ne(t, e);
1038
+ }), Ut = function(e) {
1039
+ O(t, e);
1001
1040
  function t() {
1002
1041
  var r = e.call(this) || this;
1003
1042
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1004
1043
  }
1005
1044
  return t.prototype.lift = function(r) {
1006
- var n = new ct(this, this);
1045
+ var n = new lt(this, this);
1007
1046
  return n.operator = r, n;
1008
1047
  }, t.prototype._throwIfClosed = function() {
1009
1048
  if (this.closed)
@@ -1015,7 +1054,7 @@ var Yr = $t(function(e) {
1015
1054
  if (n._throwIfClosed(), !n.isStopped) {
1016
1055
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1017
1056
  try {
1018
- for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1057
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1019
1058
  var h = a.value;
1020
1059
  h.next(r);
1021
1060
  }
@@ -1064,20 +1103,20 @@ var Yr = $t(function(e) {
1064
1103
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1065
1104
  }, t.prototype._innerSubscribe = function(r) {
1066
1105
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1067
- return o || s ? Rt : (this.currentObservers = null, a.push(r), new ge(function() {
1068
- n.currentObservers = null, Fe(a, r);
1106
+ return o || s ? Mt : (this.currentObservers = null, a.push(r), new ge(function() {
1107
+ n.currentObservers = null, De(a, r);
1069
1108
  }));
1070
1109
  }, t.prototype._checkFinalizedStatuses = function(r) {
1071
1110
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1072
1111
  i ? r.error(o) : s && r.complete();
1073
1112
  }, t.prototype.asObservable = function() {
1074
- var r = new lt();
1113
+ var r = new ut();
1075
1114
  return r.source = this, r;
1076
1115
  }, t.create = function(r, n) {
1077
- return new ct(r, n);
1116
+ return new lt(r, n);
1078
1117
  }, t;
1079
- }(lt), ct = function(e) {
1080
- ne(t, e);
1118
+ }(ut), lt = function(e) {
1119
+ O(t, e);
1081
1120
  function t(r, n) {
1082
1121
  var i = e.call(this) || this;
1083
1122
  return i.destination = r, i.source = n, i;
@@ -1093,17 +1132,17 @@ var Yr = $t(function(e) {
1093
1132
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1094
1133
  }, t.prototype._subscribe = function(r) {
1095
1134
  var n, i;
1096
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1135
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
1097
1136
  }, t;
1098
- }(Gt), Ft = {
1137
+ }(Ut), Gt = {
1099
1138
  now: function() {
1100
- return (Ft.delegate || Date).now();
1139
+ return (Gt.delegate || Date).now();
1101
1140
  },
1102
1141
  delegate: void 0
1103
1142
  }, Kr = function(e) {
1104
- ne(t, e);
1143
+ O(t, e);
1105
1144
  function t(r, n, i) {
1106
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1145
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
1107
1146
  var o = e.call(this) || this;
1108
1147
  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;
1109
1148
  }
@@ -1123,24 +1162,24 @@ var Yr = $t(function(e) {
1123
1162
  u && o.splice(0, u + 1);
1124
1163
  }
1125
1164
  }, t;
1126
- }(Gt);
1127
- const pt = [], dt = {}, en = (e, t = 0) => {
1128
- if (pt.indexOf(e) == -1) {
1165
+ }(Ut);
1166
+ const ft = [], ct = {}, en = (e, t = 0) => {
1167
+ if (ft.indexOf(e) == -1) {
1129
1168
  const r = new Kr(t);
1130
- dt[e] = r, pt.push(e);
1169
+ ct[e] = r, ft.push(e);
1131
1170
  }
1132
- return dt[e];
1171
+ return ct[e];
1133
1172
  }, D = [];
1134
1173
  function tn(e, t) {
1135
1174
  return {
1136
- subscribe: ve(e, t).subscribe
1175
+ subscribe: ye(e, t).subscribe
1137
1176
  };
1138
1177
  }
1139
- function ve(e, t = w) {
1178
+ function ye(e, t = T) {
1140
1179
  let r;
1141
1180
  const n = /* @__PURE__ */ new Set();
1142
1181
  function i(a) {
1143
- if (It(e, a) && (e = a, r)) {
1182
+ if (Pt(e, a) && (e = a, r)) {
1144
1183
  const h = !D.length;
1145
1184
  for (const u of n)
1146
1185
  u[1](), D.push(u, e);
@@ -1154,15 +1193,15 @@ function ve(e, t = w) {
1154
1193
  function o(a) {
1155
1194
  i(a(e));
1156
1195
  }
1157
- function s(a, h = w) {
1196
+ function s(a, h = T) {
1158
1197
  const u = [a, h];
1159
- return n.add(u), n.size === 1 && (r = t(i, o) || w), a(e), () => {
1198
+ return n.add(u), n.size === 1 && (r = t(i, o) || T), a(e), () => {
1160
1199
  n.delete(u), n.size === 0 && r && (r(), r = null);
1161
1200
  };
1162
1201
  }
1163
1202
  return { set: i, update: o, subscribe: s };
1164
1203
  }
1165
- function X(e, t, r) {
1204
+ function W(e, t, r) {
1166
1205
  const n = !Array.isArray(e), i = n ? [e] : e;
1167
1206
  if (!i.every(Boolean))
1168
1207
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1170,26 +1209,26 @@ function X(e, t, r) {
1170
1209
  return tn(r, (s, a) => {
1171
1210
  let h = !1;
1172
1211
  const u = [];
1173
- let l = 0, f = w;
1212
+ let l = 0, f = T;
1174
1213
  const c = () => {
1175
1214
  if (l)
1176
1215
  return;
1177
1216
  f();
1178
1217
  const p = t(n ? u[0] : u, s, a);
1179
- o ? s(p) : f = re(p) ? p : w;
1218
+ o ? s(p) : f = ne(p) ? p : T;
1180
1219
  }, y = i.map(
1181
- (p, g) => Ct(
1220
+ (p, v) => Ot(
1182
1221
  p,
1183
1222
  (S) => {
1184
- u[g] = S, l &= ~(1 << g), h && c();
1223
+ u[v] = S, l &= ~(1 << v), h && c();
1185
1224
  },
1186
1225
  () => {
1187
- l |= 1 << g;
1226
+ l |= 1 << v;
1188
1227
  }
1189
1228
  )
1190
1229
  );
1191
1230
  return h = !0, c(), function() {
1192
- te(y), f(), h = !1;
1231
+ re(y), f(), h = !1;
1193
1232
  };
1194
1233
  });
1195
1234
  }
@@ -1210,29 +1249,29 @@ function un(e) {
1210
1249
  function hn(e) {
1211
1250
  return Array.isArray(e) ? [] : {};
1212
1251
  }
1213
- function K(e, t) {
1214
- return t.clone !== !1 && t.isMergeableObject(e) ? F(hn(e), e, t) : e;
1252
+ function ee(e, t) {
1253
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(hn(e), e, t) : e;
1215
1254
  }
1216
1255
  function ln(e, t, r) {
1217
1256
  return e.concat(t).map(function(n) {
1218
- return K(n, r);
1257
+ return ee(n, r);
1219
1258
  });
1220
1259
  }
1221
1260
  function fn(e, t) {
1222
1261
  if (!t.customMerge)
1223
- return F;
1262
+ return j;
1224
1263
  var r = t.customMerge(e);
1225
- return typeof r == "function" ? r : F;
1264
+ return typeof r == "function" ? r : j;
1226
1265
  }
1227
1266
  function cn(e) {
1228
1267
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1229
1268
  return Object.propertyIsEnumerable.call(e, t);
1230
1269
  }) : [];
1231
1270
  }
1232
- function mt(e) {
1271
+ function pt(e) {
1233
1272
  return Object.keys(e).concat(cn(e));
1234
1273
  }
1235
- function jt(e, t) {
1274
+ function Ft(e, t) {
1236
1275
  try {
1237
1276
  return t in e;
1238
1277
  } catch (r) {
@@ -1240,179 +1279,129 @@ function jt(e, t) {
1240
1279
  }
1241
1280
  }
1242
1281
  function pn(e, t) {
1243
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1282
+ return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1244
1283
  }
1245
1284
  function dn(e, t, r) {
1246
1285
  var n = {};
1247
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1248
- n[i] = K(e[i], r);
1249
- }), mt(t).forEach(function(i) {
1250
- pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1286
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1287
+ n[i] = ee(e[i], r);
1288
+ }), pt(t).forEach(function(i) {
1289
+ pn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1251
1290
  }), n;
1252
1291
  }
1253
- function F(e, t, r) {
1254
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = K;
1292
+ function j(e, t, r) {
1293
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ee;
1255
1294
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1256
- return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : K(t, r);
1295
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : ee(t, r);
1257
1296
  }
1258
- F.all = function(t, r) {
1297
+ j.all = function(t, r) {
1259
1298
  if (!Array.isArray(t))
1260
1299
  throw new Error("first argument should be an array");
1261
1300
  return t.reduce(function(n, i) {
1262
- return F(n, i, r);
1301
+ return j(n, i, r);
1263
1302
  }, {});
1264
1303
  };
1265
- var mn = F, bn = mn;
1266
- const yn = /* @__PURE__ */ Gr(bn);
1267
- var ke = function(e, t) {
1268
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1269
- r.__proto__ = n;
1270
- } || function(r, n) {
1271
- for (var i in n)
1272
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1273
- }, ke(e, t);
1274
- };
1275
- function _e(e, t) {
1276
- if (typeof t != "function" && t !== null)
1277
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1278
- ke(e, t);
1279
- function r() {
1280
- this.constructor = e;
1281
- }
1282
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1283
- }
1284
- var H = function() {
1285
- return H = Object.assign || function(t) {
1286
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1287
- r = arguments[n];
1288
- for (var o in r)
1289
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1290
- }
1291
- return t;
1292
- }, H.apply(this, arguments);
1293
- };
1294
- function gn(e, t) {
1295
- var r = {};
1296
- for (var n in e)
1297
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1298
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1299
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1300
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1301
- return r;
1302
- }
1303
- function Ae(e, t, r) {
1304
- if (r || arguments.length === 2)
1305
- for (var n = 0, i = t.length, o; n < i; n++)
1306
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1307
- return e.concat(o || Array.prototype.slice.call(t));
1308
- }
1309
- function Be(e, t) {
1310
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : xn;
1304
+ var mn = j, bn = mn;
1305
+ const gn = /* @__PURE__ */ Ur(bn);
1306
+ function He(e, t) {
1307
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
1311
1308
  return i(e, {
1312
1309
  cache: r,
1313
1310
  serializer: n
1314
1311
  });
1315
1312
  }
1316
- function vn(e) {
1313
+ function yn(e) {
1317
1314
  return e == null || typeof e == "number" || typeof e == "boolean";
1318
1315
  }
1319
- function _n(e, t, r, n) {
1320
- var i = vn(n) ? n : r(n), o = t.get(i);
1316
+ function jt(e, t, r, n) {
1317
+ var i = yn(n) ? n : r(n), o = t.get(i);
1321
1318
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1322
1319
  }
1323
1320
  function kt(e, t, r) {
1324
1321
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1325
1322
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1326
1323
  }
1327
- function Vt(e, t, r, n, i) {
1324
+ function Qe(e, t, r, n, i) {
1328
1325
  return r.bind(t, e, n, i);
1329
1326
  }
1330
- function xn(e, t) {
1331
- var r = e.length === 1 ? _n : kt;
1332
- return Vt(e, this, r, t.cache.create(), t.serializer);
1327
+ function vn(e, t) {
1328
+ var r = e.length === 1 ? jt : kt;
1329
+ return Qe(e, this, r, t.cache.create(), t.serializer);
1333
1330
  }
1334
- function En(e, t) {
1335
- return Vt(e, this, kt, t.cache.create(), t.serializer);
1331
+ function _n(e, t) {
1332
+ return Qe(e, this, kt, t.cache.create(), t.serializer);
1333
+ }
1334
+ function xn(e, t) {
1335
+ return Qe(e, this, jt, t.cache.create(), t.serializer);
1336
1336
  }
1337
- var Sn = function() {
1337
+ var En = function() {
1338
1338
  return JSON.stringify(arguments);
1339
- }, wn = (
1340
- /** @class */
1341
- function() {
1342
- function e() {
1343
- this.cache = /* @__PURE__ */ Object.create(null);
1344
- }
1345
- return e.prototype.get = function(t) {
1346
- return this.cache[t];
1347
- }, e.prototype.set = function(t, r) {
1348
- this.cache[t] = r;
1349
- }, e;
1350
- }()
1351
- ), Tn = {
1339
+ };
1340
+ function qe() {
1341
+ this.cache = /* @__PURE__ */ Object.create(null);
1342
+ }
1343
+ qe.prototype.get = function(e) {
1344
+ return this.cache[e];
1345
+ };
1346
+ qe.prototype.set = function(e, t) {
1347
+ this.cache[e] = t;
1348
+ };
1349
+ var Sn = {
1352
1350
  create: function() {
1353
- return new wn();
1351
+ return new qe();
1354
1352
  }
1355
- }, Pe = {
1356
- variadic: En
1357
- }, me = function() {
1358
- return me = Object.assign || function(t) {
1359
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1360
- r = arguments[n];
1361
- for (var o in r)
1362
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1363
- }
1364
- return t;
1365
- }, me.apply(this, arguments);
1366
- };
1367
- var d;
1353
+ }, Be = {
1354
+ variadic: _n,
1355
+ monadic: xn
1356
+ }, d;
1368
1357
  (function(e) {
1369
1358
  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";
1370
1359
  })(d || (d = {}));
1371
- var v;
1360
+ var _;
1372
1361
  (function(e) {
1373
1362
  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";
1374
- })(v || (v = {}));
1375
- var j;
1363
+ })(_ || (_ = {}));
1364
+ var k;
1376
1365
  (function(e) {
1377
1366
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1378
- })(j || (j = {}));
1379
- function bt(e) {
1380
- return e.type === v.literal;
1367
+ })(k || (k = {}));
1368
+ function dt(e) {
1369
+ return e.type === _.literal;
1381
1370
  }
1382
- function Hn(e) {
1383
- return e.type === v.argument;
1371
+ function Tn(e) {
1372
+ return e.type === _.argument;
1373
+ }
1374
+ function Vt(e) {
1375
+ return e.type === _.number;
1384
1376
  }
1385
1377
  function Xt(e) {
1386
- return e.type === v.number;
1378
+ return e.type === _.date;
1387
1379
  }
1388
1380
  function Wt(e) {
1389
- return e.type === v.date;
1381
+ return e.type === _.time;
1390
1382
  }
1391
1383
  function zt(e) {
1392
- return e.type === v.time;
1384
+ return e.type === _.select;
1393
1385
  }
1394
1386
  function Zt(e) {
1395
- return e.type === v.select;
1387
+ return e.type === _.plural;
1396
1388
  }
1397
- function Qt(e) {
1398
- return e.type === v.plural;
1389
+ function wn(e) {
1390
+ return e.type === _.pound;
1399
1391
  }
1400
- function An(e) {
1401
- return e.type === v.pound;
1392
+ function Qt(e) {
1393
+ return e.type === _.tag;
1402
1394
  }
1403
1395
  function qt(e) {
1404
- return e.type === v.tag;
1396
+ return !!(e && typeof e == "object" && e.type === k.number);
1405
1397
  }
1406
- function Jt(e) {
1407
- return !!(e && typeof e == "object" && e.type === j.number);
1408
- }
1409
- function Ve(e) {
1410
- return !!(e && typeof e == "object" && e.type === j.dateTime);
1398
+ function Ge(e) {
1399
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
1411
1400
  }
1412
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1413
- function Pn(e) {
1401
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1402
+ function Bn(e) {
1414
1403
  var t = {};
1415
- return e.replace(Bn, function(r) {
1404
+ return e.replace(Hn, function(r) {
1416
1405
  var n = r.length;
1417
1406
  switch (r[0]) {
1418
1407
  case "G":
@@ -1501,21 +1490,11 @@ function Pn(e) {
1501
1490
  return "";
1502
1491
  }), t;
1503
1492
  }
1504
- var _ = function() {
1505
- return _ = Object.assign || function(t) {
1506
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1507
- r = arguments[n];
1508
- for (var o in r)
1509
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1510
- }
1511
- return t;
1512
- }, _.apply(this, arguments);
1513
- };
1514
- var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1515
- function In(e) {
1493
+ var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1494
+ function Pn(e) {
1516
1495
  if (e.length === 0)
1517
1496
  throw new Error("Number skeleton cannot be empty");
1518
- for (var t = e.split(On).filter(function(c) {
1497
+ for (var t = e.split(An).filter(function(c) {
1519
1498
  return c.length > 0;
1520
1499
  }), r = [], n = 0, i = t; n < i.length; n++) {
1521
1500
  var o = i[n], s = o.split("/");
@@ -1530,17 +1509,17 @@ function In(e) {
1530
1509
  }
1531
1510
  return r;
1532
1511
  }
1533
- function Cn(e) {
1512
+ function On(e) {
1534
1513
  return e.replace(/^(.*?)-/, "");
1535
1514
  }
1536
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1537
- function gt(e) {
1515
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1516
+ function bt(e) {
1538
1517
  var t = {};
1539
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1518
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1540
1519
  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)), "";
1541
1520
  }), t;
1542
1521
  }
1543
- function tr(e) {
1522
+ function er(e) {
1544
1523
  switch (e) {
1545
1524
  case "sign-auto":
1546
1525
  return {
@@ -1580,7 +1559,7 @@ function tr(e) {
1580
1559
  };
1581
1560
  }
1582
1561
  }
1583
- function Ln(e) {
1562
+ function Cn(e) {
1584
1563
  var t;
1585
1564
  if (e[0] === "E" && e[1] === "E" ? (t = {
1586
1565
  notation: "engineering"
@@ -1588,17 +1567,17 @@ function Ln(e) {
1588
1567
  notation: "scientific"
1589
1568
  }, e = e.slice(1)), t) {
1590
1569
  var r = e.slice(0, 2);
1591
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1570
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
1592
1571
  throw new Error("Malformed concise eng/scientific notation");
1593
1572
  t.minimumIntegerDigits = e.length;
1594
1573
  }
1595
1574
  return t;
1596
1575
  }
1597
- function vt(e) {
1598
- var t = {}, r = tr(e);
1576
+ function gt(e) {
1577
+ var t = {}, r = er(e);
1599
1578
  return r || t;
1600
1579
  }
1601
- function Mn(e) {
1580
+ function Ln(e) {
1602
1581
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1603
1582
  var i = n[r];
1604
1583
  switch (i.stem) {
@@ -1622,7 +1601,7 @@ function Mn(e) {
1622
1601
  continue;
1623
1602
  case "measure-unit":
1624
1603
  case "unit":
1625
- t.style = "unit", t.unit = Cn(i.options[0]);
1604
+ t.style = "unit", t.unit = On(i.options[0]);
1626
1605
  continue;
1627
1606
  case "compact-short":
1628
1607
  case "K":
@@ -1633,13 +1612,13 @@ function Mn(e) {
1633
1612
  t.notation = "compact", t.compactDisplay = "long";
1634
1613
  continue;
1635
1614
  case "scientific":
1636
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1637
- return _(_({}, h), vt(u));
1615
+ t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1616
+ return b(b({}, h), gt(u));
1638
1617
  }, {}));
1639
1618
  continue;
1640
1619
  case "engineering":
1641
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1642
- return _(_({}, h), vt(u));
1620
+ t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1621
+ return b(b({}, h), gt(u));
1643
1622
  }, {}));
1644
1623
  continue;
1645
1624
  case "notation-simple":
@@ -1684,7 +1663,7 @@ function Mn(e) {
1684
1663
  case "integer-width":
1685
1664
  if (i.options.length > 1)
1686
1665
  throw new RangeError("integer-width stems only accept a single optional option");
1687
- i.options[0].replace(Nn, function(h, u, l, f, c, y) {
1666
+ i.options[0].replace(In, function(h, u, l, f, c, y) {
1688
1667
  if (u)
1689
1668
  t.minimumIntegerDigits = l.length;
1690
1669
  else {
@@ -1697,28 +1676,28 @@ function Mn(e) {
1697
1676
  });
1698
1677
  continue;
1699
1678
  }
1700
- if (er.test(i.stem)) {
1679
+ if (Kt.test(i.stem)) {
1701
1680
  t.minimumIntegerDigits = i.stem.length;
1702
1681
  continue;
1703
1682
  }
1704
- if (yt.test(i.stem)) {
1683
+ if (mt.test(i.stem)) {
1705
1684
  if (i.options.length > 1)
1706
1685
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1707
- i.stem.replace(yt, function(h, u, l, f, c, y) {
1686
+ i.stem.replace(mt, function(h, u, l, f, c, y) {
1708
1687
  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), "";
1709
1688
  });
1710
1689
  var o = i.options[0];
1711
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), gt(o)));
1690
+ o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), bt(o)));
1712
1691
  continue;
1713
1692
  }
1714
- if (Kt.test(i.stem)) {
1715
- t = _(_({}, t), gt(i.stem));
1693
+ if (Yt.test(i.stem)) {
1694
+ t = b(b({}, t), bt(i.stem));
1716
1695
  continue;
1717
1696
  }
1718
- var s = tr(i.stem);
1719
- s && (t = _(_({}, t), s));
1720
- var a = Ln(i.stem);
1721
- a && (t = _(_({}, t), a));
1697
+ var s = er(i.stem);
1698
+ s && (t = b(b({}, t), s));
1699
+ var a = Cn(i.stem);
1700
+ a && (t = b(b({}, t), a));
1722
1701
  }
1723
1702
  return t;
1724
1703
  }
@@ -3137,13 +3116,13 @@ var le = {
3137
3116
  "h"
3138
3117
  ]
3139
3118
  };
3140
- function $n(e, t) {
3119
+ function Nn(e, t) {
3141
3120
  for (var r = "", n = 0; n < e.length; n++) {
3142
3121
  var i = e.charAt(n);
3143
3122
  if (i === "j") {
3144
3123
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3145
3124
  o++, n++;
3146
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
3125
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Mn(t);
3147
3126
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3148
3127
  r += h;
3149
3128
  for (; s-- > 0; )
@@ -3153,7 +3132,7 @@ function $n(e, t) {
3153
3132
  }
3154
3133
  return r;
3155
3134
  }
3156
- function Rn(e) {
3135
+ function Mn(e) {
3157
3136
  var t = e.hourCycle;
3158
3137
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3159
3138
  e.hourCycles && // @ts-ignore
@@ -3175,20 +3154,20 @@ function Rn(e) {
3175
3154
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3176
3155
  return i[0];
3177
3156
  }
3178
- var Oe, Dn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
3157
+ var Ae, $n = new RegExp("^".concat(Jt.source, "*")), Rn = new RegExp("".concat(Jt.source, "*$"));
3179
3158
  function m(e, t) {
3180
3159
  return { start: e, end: t };
3181
3160
  }
3182
- var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
3161
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
3183
3162
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3184
- }, Xe = !0;
3163
+ }, Fe = !0;
3185
3164
  try {
3186
- var Zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3187
- Xe = ((Oe = Zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3165
+ var Wn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3166
+ Fe = ((Ae = Wn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3188
3167
  } catch (e) {
3189
- Xe = !1;
3168
+ Fe = !1;
3190
3169
  }
3191
- var _t = Gn ? (
3170
+ var yt = Dn ? (
3192
3171
  // Native
3193
3172
  function(t, r, n) {
3194
3173
  return t.startsWith(r, n);
@@ -3198,7 +3177,7 @@ var _t = Gn ? (
3198
3177
  function(t, r, n) {
3199
3178
  return t.slice(n, n + r.length) === r;
3200
3179
  }
3201
- ), We = Fn ? String.fromCodePoint : (
3180
+ ), je = Un ? String.fromCodePoint : (
3202
3181
  // IE11
3203
3182
  function() {
3204
3183
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3210,9 +3189,9 @@ var _t = Gn ? (
3210
3189
  }
3211
3190
  return n;
3212
3191
  }
3213
- ), xt = (
3192
+ ), vt = (
3214
3193
  // native
3215
- jn ? Object.fromEntries : (
3194
+ Gn ? Object.fromEntries : (
3216
3195
  // Ponyfill
3217
3196
  function(t) {
3218
3197
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3222,7 +3201,7 @@ var _t = Gn ? (
3222
3201
  return r;
3223
3202
  }
3224
3203
  )
3225
- ), rr = kn ? (
3204
+ ), tr = Fn ? (
3226
3205
  // Native
3227
3206
  function(t, r) {
3228
3207
  return t.codePointAt(r);
@@ -3236,7 +3215,7 @@ var _t = Gn ? (
3236
3215
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3237
3216
  }
3238
3217
  }
3239
- ), Qn = Vn ? (
3218
+ ), zn = jn ? (
3240
3219
  // Native
3241
3220
  function(t) {
3242
3221
  return t.trimStart();
@@ -3244,9 +3223,9 @@ var _t = Gn ? (
3244
3223
  ) : (
3245
3224
  // Ponyfill
3246
3225
  function(t) {
3247
- return t.replace(Dn, "");
3226
+ return t.replace($n, "");
3248
3227
  }
3249
- ), qn = Xn ? (
3228
+ ), Zn = kn ? (
3250
3229
  // Native
3251
3230
  function(t) {
3252
3231
  return t.trimEnd();
@@ -3254,32 +3233,32 @@ var _t = Gn ? (
3254
3233
  ) : (
3255
3234
  // Ponyfill
3256
3235
  function(t) {
3257
- return t.replace(Un, "");
3236
+ return t.replace(Rn, "");
3258
3237
  }
3259
3238
  );
3260
- function nr(e, t) {
3239
+ function rr(e, t) {
3261
3240
  return new RegExp(e, t);
3262
3241
  }
3263
- var ze;
3264
- if (Xe) {
3265
- var Et = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3266
- ze = function(t, r) {
3242
+ var ke;
3243
+ if (Fe) {
3244
+ var _t = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3245
+ ke = function(t, r) {
3267
3246
  var n;
3268
- Et.lastIndex = r;
3269
- var i = Et.exec(t);
3247
+ _t.lastIndex = r;
3248
+ var i = _t.exec(t);
3270
3249
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3271
3250
  };
3272
3251
  } else
3273
- ze = function(t, r) {
3252
+ ke = function(t, r) {
3274
3253
  for (var n = []; ; ) {
3275
- var i = rr(t, r);
3276
- if (i === void 0 || ir(i) || ei(i))
3254
+ var i = tr(t, r);
3255
+ if (i === void 0 || nr(i) || Yn(i))
3277
3256
  break;
3278
3257
  n.push(i), r += i >= 65536 ? 2 : 1;
3279
3258
  }
3280
- return We.apply(void 0, n);
3259
+ return je.apply(void 0, n);
3281
3260
  };
3282
- var Jn = (
3261
+ var Qn = (
3283
3262
  /** @class */
3284
3263
  function() {
3285
3264
  function e(t, r) {
@@ -3303,14 +3282,14 @@ var Jn = (
3303
3282
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3304
3283
  var a = this.clonePosition();
3305
3284
  this.bump(), i.push({
3306
- type: v.pound,
3285
+ type: _.pound,
3307
3286
  location: m(a, this.clonePosition())
3308
3287
  });
3309
3288
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3310
3289
  if (n)
3311
3290
  break;
3312
3291
  return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3313
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3292
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3314
3293
  var s = this.parseTag(t, r);
3315
3294
  if (s.err)
3316
3295
  return s;
@@ -3331,7 +3310,7 @@ var Jn = (
3331
3310
  if (this.bumpSpace(), this.bumpIf("/>"))
3332
3311
  return {
3333
3312
  val: {
3334
- type: v.literal,
3313
+ type: _.literal,
3335
3314
  value: "<".concat(i, "/>"),
3336
3315
  location: m(n, this.clonePosition())
3337
3316
  },
@@ -3343,12 +3322,12 @@ var Jn = (
3343
3322
  return o;
3344
3323
  var s = o.val, a = this.clonePosition();
3345
3324
  if (this.bumpIf("</")) {
3346
- if (this.isEOF() || !Ze(this.char()))
3325
+ if (this.isEOF() || !Ve(this.char()))
3347
3326
  return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3348
3327
  var h = this.clonePosition(), u = this.parseTagName();
3349
3328
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3350
3329
  val: {
3351
- type: v.tag,
3330
+ type: _.tag,
3352
3331
  value: i,
3353
3332
  children: s,
3354
3333
  location: m(n, this.clonePosition())
@@ -3361,7 +3340,7 @@ var Jn = (
3361
3340
  return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3362
3341
  }, e.prototype.parseTagName = function() {
3363
3342
  var t = this.offset();
3364
- for (this.bump(); !this.isEOF() && Kn(this.char()); )
3343
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3365
3344
  this.bump();
3366
3345
  return this.message.slice(t, this.offset());
3367
3346
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3385,12 +3364,12 @@ var Jn = (
3385
3364
  }
3386
3365
  var h = m(n, this.clonePosition());
3387
3366
  return {
3388
- val: { type: v.literal, value: i, location: h },
3367
+ val: { type: _.literal, value: i, location: h },
3389
3368
  err: null
3390
3369
  };
3391
3370
  }, e.prototype.tryParseLeftAngleBracket = function() {
3392
3371
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3393
- !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3372
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3394
3373
  }, e.prototype.tryParseQuote = function(t) {
3395
3374
  if (this.isEOF() || this.char() !== 39)
3396
3375
  return null;
@@ -3424,12 +3403,12 @@ var Jn = (
3424
3403
  r.push(n);
3425
3404
  this.bump();
3426
3405
  }
3427
- return We.apply(void 0, r);
3406
+ return je.apply(void 0, r);
3428
3407
  }, e.prototype.tryParseUnquoted = function(t, r) {
3429
3408
  if (this.isEOF())
3430
3409
  return null;
3431
3410
  var n = this.char();
3432
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3411
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3433
3412
  }, e.prototype.parseArgument = function(t, r) {
3434
3413
  var n = this.clonePosition();
3435
3414
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3445,7 +3424,7 @@ var Jn = (
3445
3424
  case 125:
3446
3425
  return this.bump(), {
3447
3426
  val: {
3448
- type: v.argument,
3427
+ type: _.argument,
3449
3428
  // value does not include the opening and closing braces.
3450
3429
  value: i,
3451
3430
  location: m(n, this.clonePosition())
@@ -3458,7 +3437,7 @@ var Jn = (
3458
3437
  return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3459
3438
  }
3460
3439
  }, e.prototype.parseIdentifierIfPossible = function() {
3461
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3440
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3462
3441
  this.bumpTo(i);
3463
3442
  var o = this.clonePosition(), s = m(t, o);
3464
3443
  return { value: n, location: s };
@@ -3477,7 +3456,7 @@ var Jn = (
3477
3456
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3478
3457
  if (f.err)
3479
3458
  return f;
3480
- var c = qn(f.val);
3459
+ var c = Zn(f.val);
3481
3460
  if (c.length === 0)
3482
3461
  return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3483
3462
  var y = m(l, this.clonePosition());
@@ -3486,37 +3465,37 @@ var Jn = (
3486
3465
  var p = this.tryParseArgumentClose(i);
3487
3466
  if (p.err)
3488
3467
  return p;
3489
- var g = m(i, this.clonePosition());
3490
- if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3491
- var S = Qn(u.style.slice(2));
3468
+ var v = m(i, this.clonePosition());
3469
+ if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3470
+ var S = zn(u.style.slice(2));
3492
3471
  if (a === "number") {
3493
3472
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3494
3473
  return f.err ? f : {
3495
- val: { type: v.number, value: n, location: g, style: f.val },
3474
+ val: { type: _.number, value: n, location: v, style: f.val },
3496
3475
  err: null
3497
3476
  };
3498
3477
  } else {
3499
3478
  if (S.length === 0)
3500
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3501
- var z = S;
3502
- this.locale && (z = $n(S, this.locale));
3479
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3480
+ var Z = S;
3481
+ this.locale && (Z = Nn(S, this.locale));
3503
3482
  var c = {
3504
- type: j.dateTime,
3505
- pattern: z,
3483
+ type: k.dateTime,
3484
+ pattern: Z,
3506
3485
  location: u.styleLocation,
3507
- parsedOptions: this.shouldParseSkeletons ? Pn(z) : {}
3508
- }, $ = a === "date" ? v.date : v.time;
3486
+ parsedOptions: this.shouldParseSkeletons ? Bn(Z) : {}
3487
+ }, $ = a === "date" ? _.date : _.time;
3509
3488
  return {
3510
- val: { type: $, value: n, location: g, style: c },
3489
+ val: { type: $, value: n, location: v, style: c },
3511
3490
  err: null
3512
3491
  };
3513
3492
  }
3514
3493
  }
3515
3494
  return {
3516
3495
  val: {
3517
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3496
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3518
3497
  value: n,
3519
- location: g,
3498
+ location: v,
3520
3499
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3521
3500
  },
3522
3501
  err: null
@@ -3525,43 +3504,43 @@ var Jn = (
3525
3504
  case "plural":
3526
3505
  case "selectordinal":
3527
3506
  case "select": {
3528
- var T = this.clonePosition();
3507
+ var w = this.clonePosition();
3529
3508
  if (this.bumpSpace(), !this.bumpIf(","))
3530
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(T, me({}, T)));
3509
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(w, b({}, w)));
3531
3510
  this.bumpSpace();
3532
- var Z = this.parseIdentifierIfPossible(), C = 0;
3533
- if (a !== "select" && Z.value === "offset") {
3511
+ var Q = this.parseIdentifierIfPossible(), C = 0;
3512
+ if (a !== "select" && Q.value === "offset") {
3534
3513
  if (!this.bumpIf(":"))
3535
3514
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3536
3515
  this.bumpSpace();
3537
3516
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3538
3517
  if (f.err)
3539
3518
  return f;
3540
- this.bumpSpace(), Z = this.parseIdentifierIfPossible(), C = f.val;
3519
+ this.bumpSpace(), Q = this.parseIdentifierIfPossible(), C = f.val;
3541
3520
  }
3542
- var se = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3521
+ var se = this.tryParsePluralOrSelectOptions(t, a, r, Q);
3543
3522
  if (se.err)
3544
3523
  return se;
3545
3524
  var p = this.tryParseArgumentClose(i);
3546
3525
  if (p.err)
3547
3526
  return p;
3548
- var tt = m(i, this.clonePosition());
3527
+ var Ke = m(i, this.clonePosition());
3549
3528
  return a === "select" ? {
3550
3529
  val: {
3551
- type: v.select,
3530
+ type: _.select,
3552
3531
  value: n,
3553
- options: xt(se.val),
3554
- location: tt
3532
+ options: vt(se.val),
3533
+ location: Ke
3555
3534
  },
3556
3535
  err: null
3557
3536
  } : {
3558
3537
  val: {
3559
- type: v.plural,
3538
+ type: _.plural,
3560
3539
  value: n,
3561
- options: xt(se.val),
3540
+ options: vt(se.val),
3562
3541
  offset: C,
3563
3542
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3564
- location: tt
3543
+ location: Ke
3565
3544
  },
3566
3545
  err: null
3567
3546
  };
@@ -3609,16 +3588,16 @@ var Jn = (
3609
3588
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3610
3589
  var n = [];
3611
3590
  try {
3612
- n = In(t);
3591
+ n = Pn(t);
3613
3592
  } catch (i) {
3614
3593
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3615
3594
  }
3616
3595
  return {
3617
3596
  val: {
3618
- type: j.number,
3597
+ type: k.number,
3619
3598
  tokens: n,
3620
3599
  location: r,
3621
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3600
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3622
3601
  },
3623
3602
  err: null
3624
3603
  };
@@ -3643,9 +3622,9 @@ var Jn = (
3643
3622
  var p = this.parseMessage(t + 1, r, n);
3644
3623
  if (p.err)
3645
3624
  return p;
3646
- var g = this.tryParseArgumentClose(y);
3647
- if (g.err)
3648
- return g;
3625
+ var v = this.tryParseArgumentClose(y);
3626
+ if (v.err)
3627
+ return v;
3649
3628
  a.push([
3650
3629
  u,
3651
3630
  {
@@ -3666,7 +3645,7 @@ var Jn = (
3666
3645
  break;
3667
3646
  }
3668
3647
  var h = m(i, this.clonePosition());
3669
- return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3648
+ return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3670
3649
  }, e.prototype.offset = function() {
3671
3650
  return this.position.offset;
3672
3651
  }, e.prototype.isEOF = function() {
@@ -3681,7 +3660,7 @@ var Jn = (
3681
3660
  var t = this.position.offset;
3682
3661
  if (t >= this.message.length)
3683
3662
  throw Error("out of bound");
3684
- var r = rr(this.message, t);
3663
+ var r = tr(this.message, t);
3685
3664
  if (r === void 0)
3686
3665
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3687
3666
  return r;
@@ -3700,7 +3679,7 @@ var Jn = (
3700
3679
  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);
3701
3680
  }
3702
3681
  }, e.prototype.bumpIf = function(t) {
3703
- if (_t(this.message, t, this.offset())) {
3682
+ if (yt(this.message, t, this.offset())) {
3704
3683
  for (var r = 0; r < t.length; r++)
3705
3684
  this.bump();
3706
3685
  return !0;
@@ -3722,7 +3701,7 @@ var Jn = (
3722
3701
  break;
3723
3702
  }
3724
3703
  }, e.prototype.bumpSpace = function() {
3725
- for (; !this.isEOF() && ir(this.char()); )
3704
+ for (; !this.isEOF() && nr(this.char()); )
3726
3705
  this.bump();
3727
3706
  }, e.prototype.peek = function() {
3728
3707
  if (this.isEOF())
@@ -3732,47 +3711,47 @@ var Jn = (
3732
3711
  }, e;
3733
3712
  }()
3734
3713
  );
3735
- function Ze(e) {
3714
+ function Ve(e) {
3736
3715
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3737
3716
  }
3738
- function Yn(e) {
3739
- return Ze(e) || e === 47;
3717
+ function qn(e) {
3718
+ return Ve(e) || e === 47;
3740
3719
  }
3741
- function Kn(e) {
3720
+ function Jn(e) {
3742
3721
  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;
3743
3722
  }
3744
- function ir(e) {
3723
+ function nr(e) {
3745
3724
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3746
3725
  }
3747
- function ei(e) {
3726
+ function Yn(e) {
3748
3727
  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;
3749
3728
  }
3750
- function Qe(e) {
3729
+ function Xe(e) {
3751
3730
  e.forEach(function(t) {
3752
- if (delete t.location, Zt(t) || Qt(t))
3731
+ if (delete t.location, zt(t) || Zt(t))
3753
3732
  for (var r in t.options)
3754
- delete t.options[r].location, Qe(t.options[r].value);
3733
+ delete t.options[r].location, Xe(t.options[r].value);
3755
3734
  else
3756
- Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && Ve(t.style) ? delete t.style.location : qt(t) && Qe(t.children);
3735
+ Vt(t) && qt(t.style) || (Xt(t) || Wt(t)) && Ge(t.style) ? delete t.style.location : Qt(t) && Xe(t.children);
3757
3736
  });
3758
3737
  }
3759
- function ti(e, t) {
3760
- t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3761
- var r = new Jn(e, t).parse();
3738
+ function Kn(e, t) {
3739
+ t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3740
+ var r = new Qn(e, t).parse();
3762
3741
  if (r.err) {
3763
3742
  var n = SyntaxError(d[r.err.kind]);
3764
3743
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3765
3744
  }
3766
- return t != null && t.captureLocation || Qe(r.val), r.val;
3745
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3767
3746
  }
3768
- var k;
3747
+ var V;
3769
3748
  (function(e) {
3770
3749
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3771
- })(k || (k = {}));
3772
- var xe = (
3750
+ })(V || (V = {}));
3751
+ var ve = (
3773
3752
  /** @class */
3774
3753
  function(e) {
3775
- _e(t, e);
3754
+ O(t, e);
3776
3755
  function t(r, n, i) {
3777
3756
  var o = e.call(this, r) || this;
3778
3757
  return o.code = n, o.originalMessage = i, o;
@@ -3781,48 +3760,48 @@ var xe = (
3781
3760
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3782
3761
  }, t;
3783
3762
  }(Error)
3784
- ), St = (
3763
+ ), xt = (
3785
3764
  /** @class */
3786
3765
  function(e) {
3787
- _e(t, e);
3766
+ O(t, e);
3788
3767
  function t(r, n, i, o) {
3789
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3768
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3790
3769
  }
3791
3770
  return t;
3792
- }(xe)
3793
- ), ri = (
3771
+ }(ve)
3772
+ ), ei = (
3794
3773
  /** @class */
3795
3774
  function(e) {
3796
- _e(t, e);
3775
+ O(t, e);
3797
3776
  function t(r, n, i) {
3798
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3777
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3799
3778
  }
3800
3779
  return t;
3801
- }(xe)
3802
- ), ni = (
3780
+ }(ve)
3781
+ ), ti = (
3803
3782
  /** @class */
3804
3783
  function(e) {
3805
- _e(t, e);
3784
+ O(t, e);
3806
3785
  function t(r, n) {
3807
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3786
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3808
3787
  }
3809
3788
  return t;
3810
- }(xe)
3789
+ }(ve)
3811
3790
  ), E;
3812
3791
  (function(e) {
3813
3792
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3814
3793
  })(E || (E = {}));
3815
- function ii(e) {
3794
+ function ri(e) {
3816
3795
  return e.length < 2 ? e : e.reduce(function(t, r) {
3817
3796
  var n = t[t.length - 1];
3818
3797
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3819
3798
  }, []);
3820
3799
  }
3821
- function oi(e) {
3800
+ function ni(e) {
3822
3801
  return typeof e == "function";
3823
3802
  }
3824
3803
  function pe(e, t, r, n, i, o, s) {
3825
- if (e.length === 1 && bt(e[0]))
3804
+ if (e.length === 1 && dt(e[0]))
3826
3805
  return [
3827
3806
  {
3828
3807
  type: E.literal,
@@ -3831,14 +3810,14 @@ function pe(e, t, r, n, i, o, s) {
3831
3810
  ];
3832
3811
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3833
3812
  var l = u[h];
3834
- if (bt(l)) {
3813
+ if (dt(l)) {
3835
3814
  a.push({
3836
3815
  type: E.literal,
3837
3816
  value: l.value
3838
3817
  });
3839
3818
  continue;
3840
3819
  }
3841
- if (An(l)) {
3820
+ if (wn(l)) {
3842
3821
  typeof o == "number" && a.push({
3843
3822
  type: E.literal,
3844
3823
  value: r.getNumberFormat(t).format(o)
@@ -3847,44 +3826,44 @@ function pe(e, t, r, n, i, o, s) {
3847
3826
  }
3848
3827
  var f = l.value;
3849
3828
  if (!(i && f in i))
3850
- throw new ni(f, s);
3829
+ throw new ti(f, s);
3851
3830
  var c = i[f];
3852
- if (Hn(l)) {
3831
+ if (Tn(l)) {
3853
3832
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3854
3833
  type: typeof c == "string" ? E.literal : E.object,
3855
3834
  value: c
3856
3835
  });
3857
3836
  continue;
3858
3837
  }
3859
- if (Wt(l)) {
3860
- var y = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3838
+ if (Xt(l)) {
3839
+ var y = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3861
3840
  a.push({
3862
3841
  type: E.literal,
3863
3842
  value: r.getDateTimeFormat(t, y).format(c)
3864
3843
  });
3865
3844
  continue;
3866
3845
  }
3867
- if (zt(l)) {
3868
- var y = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3846
+ if (Wt(l)) {
3847
+ var y = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3869
3848
  a.push({
3870
3849
  type: E.literal,
3871
3850
  value: r.getDateTimeFormat(t, y).format(c)
3872
3851
  });
3873
3852
  continue;
3874
3853
  }
3875
- if (Xt(l)) {
3876
- var y = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3854
+ if (Vt(l)) {
3855
+ var y = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3877
3856
  y && y.scale && (c = c * (y.scale || 1)), a.push({
3878
3857
  type: E.literal,
3879
3858
  value: r.getNumberFormat(t, y).format(c)
3880
3859
  });
3881
3860
  continue;
3882
3861
  }
3883
- if (qt(l)) {
3884
- var p = l.children, g = l.value, S = i[g];
3885
- if (!oi(S))
3886
- throw new ri(g, "function", s);
3887
- var z = pe(p, t, r, n, i, o), $ = S(z.map(function(C) {
3862
+ if (Qt(l)) {
3863
+ var p = l.children, v = l.value, S = i[v];
3864
+ if (!ni(S))
3865
+ throw new ei(v, "function", s);
3866
+ var Z = pe(p, t, r, n, i, o), $ = S(Z.map(function(C) {
3888
3867
  return C.value;
3889
3868
  }));
3890
3869
  Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(C) {
@@ -3894,42 +3873,42 @@ function pe(e, t, r, n, i, o, s) {
3894
3873
  };
3895
3874
  }));
3896
3875
  }
3897
- if (Zt(l)) {
3898
- var T = l.options[c] || l.options.other;
3899
- if (!T)
3900
- throw new St(l.value, c, Object.keys(l.options), s);
3901
- a.push.apply(a, pe(T.value, t, r, n, i));
3876
+ if (zt(l)) {
3877
+ var w = l.options[c] || l.options.other;
3878
+ if (!w)
3879
+ throw new xt(l.value, c, Object.keys(l.options), s);
3880
+ a.push.apply(a, pe(w.value, t, r, n, i));
3902
3881
  continue;
3903
3882
  }
3904
- if (Qt(l)) {
3905
- var T = l.options["=".concat(c)];
3906
- if (!T) {
3883
+ if (Zt(l)) {
3884
+ var w = l.options["=".concat(c)];
3885
+ if (!w) {
3907
3886
  if (!Intl.PluralRules)
3908
- throw new xe(`Intl.PluralRules is not available in this environment.
3887
+ throw new ve(`Intl.PluralRules is not available in this environment.
3909
3888
  Try polyfilling it using "@formatjs/intl-pluralrules"
3910
- `, k.MISSING_INTL_API, s);
3911
- var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3912
- T = l.options[Z] || l.options.other;
3889
+ `, V.MISSING_INTL_API, s);
3890
+ var Q = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3891
+ w = l.options[Q] || l.options.other;
3913
3892
  }
3914
- if (!T)
3915
- throw new St(l.value, c, Object.keys(l.options), s);
3916
- a.push.apply(a, pe(T.value, t, r, n, i, c - (l.offset || 0)));
3893
+ if (!w)
3894
+ throw new xt(l.value, c, Object.keys(l.options), s);
3895
+ a.push.apply(a, pe(w.value, t, r, n, i, c - (l.offset || 0)));
3917
3896
  continue;
3918
3897
  }
3919
3898
  }
3920
- return ii(a);
3899
+ return ri(a);
3921
3900
  }
3922
- function si(e, t) {
3923
- return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3924
- return r[n] = H(H({}, e[n]), t[n] || {}), r;
3901
+ function ii(e, t) {
3902
+ return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3903
+ return r[n] = b(b({}, e[n]), t[n] || {}), r;
3925
3904
  }, {})) : e;
3926
3905
  }
3927
- function ai(e, t) {
3906
+ function oi(e, t) {
3928
3907
  return t ? Object.keys(e).reduce(function(r, n) {
3929
- return r[n] = si(e[n], t[n]), r;
3930
- }, H({}, e)) : e;
3908
+ return r[n] = ii(e[n], t[n]), r;
3909
+ }, b({}, e)) : e;
3931
3910
  }
3932
- function Ie(e) {
3911
+ function Pe(e) {
3933
3912
  return {
3934
3913
  create: function() {
3935
3914
  return {
@@ -3943,39 +3922,39 @@ function Ie(e) {
3943
3922
  }
3944
3923
  };
3945
3924
  }
3946
- function ui(e) {
3925
+ function si(e) {
3947
3926
  return e === void 0 && (e = {
3948
3927
  number: {},
3949
3928
  dateTime: {},
3950
3929
  pluralRules: {}
3951
3930
  }), {
3952
- getNumberFormat: Be(function() {
3931
+ getNumberFormat: He(function() {
3953
3932
  for (var t, r = [], n = 0; n < arguments.length; n++)
3954
3933
  r[n] = arguments[n];
3955
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3934
+ return new ((t = Intl.NumberFormat).bind.apply(t, F([void 0], r, !1)))();
3956
3935
  }, {
3957
- cache: Ie(e.number),
3958
- strategy: Pe.variadic
3936
+ cache: Pe(e.number),
3937
+ strategy: Be.variadic
3959
3938
  }),
3960
- getDateTimeFormat: Be(function() {
3939
+ getDateTimeFormat: He(function() {
3961
3940
  for (var t, r = [], n = 0; n < arguments.length; n++)
3962
3941
  r[n] = arguments[n];
3963
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3942
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, F([void 0], r, !1)))();
3964
3943
  }, {
3965
- cache: Ie(e.dateTime),
3966
- strategy: Pe.variadic
3944
+ cache: Pe(e.dateTime),
3945
+ strategy: Be.variadic
3967
3946
  }),
3968
- getPluralRules: Be(function() {
3947
+ getPluralRules: He(function() {
3969
3948
  for (var t, r = [], n = 0; n < arguments.length; n++)
3970
3949
  r[n] = arguments[n];
3971
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3950
+ return new ((t = Intl.PluralRules).bind.apply(t, F([void 0], r, !1)))();
3972
3951
  }, {
3973
- cache: Ie(e.pluralRules),
3974
- strategy: Pe.variadic
3952
+ cache: Pe(e.pluralRules),
3953
+ strategy: Be.variadic
3975
3954
  })
3976
3955
  };
3977
3956
  }
3978
- var hi = (
3957
+ var ai = (
3979
3958
  /** @class */
3980
3959
  function() {
3981
3960
  function e(t, r, n, i) {
@@ -4007,13 +3986,13 @@ var hi = (
4007
3986
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4008
3987
  var s = i || {};
4009
3988
  s.formatters;
4010
- var a = gn(s, ["formatters"]);
4011
- this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
3989
+ var a = Gr(s, ["formatters"]);
3990
+ this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
4012
3991
  } else
4013
3992
  this.ast = t;
4014
3993
  if (!Array.isArray(this.ast))
4015
3994
  throw new TypeError("A message must be provided as a String or AST.");
4016
- this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3995
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
4017
3996
  }
4018
3997
  return Object.defineProperty(e, "defaultLocale", {
4019
3998
  get: function() {
@@ -4026,7 +4005,7 @@ var hi = (
4026
4005
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4027
4006
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4028
4007
  }
4029
- }, e.__parse = ti, e.formats = {
4008
+ }, e.__parse = Kn, e.formats = {
4030
4009
  number: {
4031
4010
  integer: {
4032
4011
  maximumFractionDigits: 0
@@ -4087,7 +4066,7 @@ var hi = (
4087
4066
  }, e;
4088
4067
  }()
4089
4068
  );
4090
- function li(e, t) {
4069
+ function ui(e, t) {
4091
4070
  if (t == null)
4092
4071
  return;
4093
4072
  if (t in e)
@@ -4108,92 +4087,92 @@ function li(e, t) {
4108
4087
  n = void 0;
4109
4088
  return n;
4110
4089
  }
4111
- const I = {}, fi = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), or = (e, t) => {
4090
+ const I = {}, hi = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), ir = (e, t) => {
4112
4091
  if (t == null)
4113
4092
  return;
4114
4093
  if (t in I && e in I[t])
4115
4094
  return I[t][e];
4116
- const r = Ee(t);
4095
+ const r = _e(t);
4117
4096
  for (let n = 0; n < r.length; n++) {
4118
- const i = r[n], o = pi(i, e);
4097
+ const i = r[n], o = fi(i, e);
4119
4098
  if (o)
4120
- return fi(e, t, o);
4099
+ return hi(e, t, o);
4121
4100
  }
4122
4101
  };
4123
- let Ke;
4124
- const ie = ve({});
4125
- function ci(e) {
4126
- return Ke[e] || null;
4102
+ let Je;
4103
+ const ie = ye({});
4104
+ function li(e) {
4105
+ return Je[e] || null;
4127
4106
  }
4128
- function sr(e) {
4129
- return e in Ke;
4107
+ function or(e) {
4108
+ return e in Je;
4130
4109
  }
4131
- function pi(e, t) {
4132
- if (!sr(e))
4110
+ function fi(e, t) {
4111
+ if (!or(e))
4133
4112
  return null;
4134
- const r = ci(e);
4135
- return li(r, t);
4113
+ const r = li(e);
4114
+ return ui(r, t);
4136
4115
  }
4137
- function di(e) {
4116
+ function ci(e) {
4138
4117
  if (e == null)
4139
4118
  return;
4140
- const t = Ee(e);
4119
+ const t = _e(e);
4141
4120
  for (let r = 0; r < t.length; r++) {
4142
4121
  const n = t[r];
4143
- if (sr(n))
4122
+ if (or(n))
4144
4123
  return n;
4145
4124
  }
4146
4125
  }
4147
- function mi(e, ...t) {
4148
- delete I[e], ie.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
4126
+ function pi(e, ...t) {
4127
+ delete I[e], ie.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
4149
4128
  }
4150
- X(
4129
+ W(
4151
4130
  [ie],
4152
4131
  ([e]) => Object.keys(e)
4153
4132
  );
4154
- ie.subscribe((e) => Ke = e);
4133
+ ie.subscribe((e) => Je = e);
4155
4134
  const de = {};
4156
- function bi(e, t) {
4135
+ function di(e, t) {
4157
4136
  de[e].delete(t), de[e].size === 0 && delete de[e];
4158
4137
  }
4159
- function ar(e) {
4138
+ function sr(e) {
4160
4139
  return de[e];
4161
4140
  }
4162
- function yi(e) {
4163
- return Ee(e).map((t) => {
4164
- const r = ar(t);
4141
+ function mi(e) {
4142
+ return _e(e).map((t) => {
4143
+ const r = sr(t);
4165
4144
  return [t, r ? [...r] : []];
4166
4145
  }).filter(([, t]) => t.length > 0);
4167
4146
  }
4168
- function qe(e) {
4169
- return e == null ? !1 : Ee(e).some(
4147
+ function We(e) {
4148
+ return e == null ? !1 : _e(e).some(
4170
4149
  (t) => {
4171
4150
  var r;
4172
- return (r = ar(t)) == null ? void 0 : r.size;
4151
+ return (r = sr(t)) == null ? void 0 : r.size;
4173
4152
  }
4174
4153
  );
4175
4154
  }
4176
- function gi(e, t) {
4155
+ function bi(e, t) {
4177
4156
  return Promise.all(
4178
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
4179
- ).then((n) => mi(e, ...n));
4180
- }
4181
- const Q = {};
4182
- function ur(e) {
4183
- if (!qe(e))
4184
- return e in Q ? Q[e] : Promise.resolve();
4185
- const t = yi(e);
4186
- return Q[e] = Promise.all(
4157
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4158
+ ).then((n) => pi(e, ...n));
4159
+ }
4160
+ const q = {};
4161
+ function ar(e) {
4162
+ if (!We(e))
4163
+ return e in q ? q[e] : Promise.resolve();
4164
+ const t = mi(e);
4165
+ return q[e] = Promise.all(
4187
4166
  t.map(
4188
- ([r, n]) => gi(r, n)
4167
+ ([r, n]) => bi(r, n)
4189
4168
  )
4190
4169
  ).then(() => {
4191
- if (qe(e))
4192
- return ur(e);
4193
- delete Q[e];
4194
- }), Q[e];
4170
+ if (We(e))
4171
+ return ar(e);
4172
+ delete q[e];
4173
+ }), q[e];
4195
4174
  }
4196
- const vi = {
4175
+ const gi = {
4197
4176
  number: {
4198
4177
  scientific: { notation: "scientific" },
4199
4178
  engineering: { notation: "engineering" },
@@ -4222,135 +4201,135 @@ const vi = {
4222
4201
  timeZoneName: "short"
4223
4202
  }
4224
4203
  }
4225
- }, _i = {
4204
+ }, yi = {
4226
4205
  fallbackLocale: null,
4227
4206
  loadingDelay: 200,
4228
- formats: vi,
4207
+ formats: gi,
4229
4208
  warnOnMissingMessages: !0,
4230
4209
  handleMissingMessage: void 0,
4231
4210
  ignoreTag: !0
4232
- }, xi = _i;
4233
- function V() {
4234
- return xi;
4211
+ }, vi = yi;
4212
+ function X() {
4213
+ return vi;
4235
4214
  }
4236
- const Ce = ve(!1);
4237
- var Ei = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4215
+ const Oe = ye(!1);
4216
+ var _i = Object.defineProperty, xi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4238
4217
  for (var r in t || (t = {}))
4239
- Ti.call(t, r) && Tt(e, r, t[r]);
4240
- if (wt)
4241
- for (var r of wt(t))
4242
- Hi.call(t, r) && Tt(e, r, t[r]);
4218
+ Si.call(t, r) && St(e, r, t[r]);
4219
+ if (Et)
4220
+ for (var r of Et(t))
4221
+ Ti.call(t, r) && St(e, r, t[r]);
4243
4222
  return e;
4244
- }, Bi = (e, t) => Si(e, wi(t));
4245
- let Je;
4246
- const be = ve(null);
4247
- function Ht(e) {
4223
+ }, Hi = (e, t) => xi(e, Ei(t));
4224
+ let ze;
4225
+ const me = ye(null);
4226
+ function Tt(e) {
4248
4227
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4249
4228
  }
4250
- function Ee(e, t = V().fallbackLocale) {
4251
- const r = Ht(e);
4252
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4229
+ function _e(e, t = X().fallbackLocale) {
4230
+ const r = Tt(e);
4231
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4253
4232
  }
4254
4233
  function M() {
4255
- return Je != null ? Je : void 0;
4234
+ return ze != null ? ze : void 0;
4256
4235
  }
4257
- be.subscribe((e) => {
4258
- Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4236
+ me.subscribe((e) => {
4237
+ ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4259
4238
  });
4260
- const Pi = (e) => {
4261
- if (e && di(e) && qe(e)) {
4262
- const { loadingDelay: t } = V();
4239
+ const Bi = (e) => {
4240
+ if (e && ci(e) && We(e)) {
4241
+ const { loadingDelay: t } = X();
4263
4242
  let r;
4264
4243
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4265
- () => Ce.set(!0),
4244
+ () => Oe.set(!0),
4266
4245
  t
4267
- ) : Ce.set(!0), ur(e).then(() => {
4268
- be.set(e);
4246
+ ) : Oe.set(!0), ar(e).then(() => {
4247
+ me.set(e);
4269
4248
  }).finally(() => {
4270
- clearTimeout(r), Ce.set(!1);
4249
+ clearTimeout(r), Oe.set(!1);
4271
4250
  });
4272
4251
  }
4273
- return be.set(e);
4274
- }, oe = Bi(Ai({}, be), {
4275
- set: Pi
4276
- }), Se = (e) => {
4252
+ return me.set(e);
4253
+ }, oe = Hi(wi({}, me), {
4254
+ set: Bi
4255
+ }), xe = (e) => {
4277
4256
  const t = /* @__PURE__ */ Object.create(null);
4278
4257
  return (n) => {
4279
4258
  const i = JSON.stringify(n);
4280
4259
  return i in t ? t[i] : t[i] = e(n);
4281
4260
  };
4282
4261
  };
4283
- var Oi = Object.defineProperty, ye = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4262
+ var Ai = Object.defineProperty, be = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4284
4263
  for (var r in t || (t = {}))
4285
- hr.call(t, r) && At(e, r, t[r]);
4286
- if (ye)
4287
- for (var r of ye(t))
4288
- lr.call(t, r) && At(e, r, t[r]);
4264
+ ur.call(t, r) && wt(e, r, t[r]);
4265
+ if (be)
4266
+ for (var r of be(t))
4267
+ hr.call(t, r) && wt(e, r, t[r]);
4289
4268
  return e;
4290
- }, W = (e, t) => {
4269
+ }, z = (e, t) => {
4291
4270
  var r = {};
4292
4271
  for (var n in e)
4293
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4294
- if (e != null && ye)
4295
- for (var n of ye(e))
4296
- t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4272
+ ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4273
+ if (e != null && be)
4274
+ for (var n of be(e))
4275
+ t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4297
4276
  return r;
4298
4277
  };
4299
- const ee = (e, t) => {
4300
- const { formats: r } = V();
4278
+ const te = (e, t) => {
4279
+ const { formats: r } = X();
4301
4280
  if (e in r && t in r[e])
4302
4281
  return r[e][t];
4303
4282
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4304
- }, Ii = Se(
4283
+ }, Pi = xe(
4305
4284
  (e) => {
4306
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4285
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4307
4286
  if (r == null)
4308
4287
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4309
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4288
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
4310
4289
  }
4311
- ), Ci = Se(
4290
+ ), Oi = xe(
4312
4291
  (e) => {
4313
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4292
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4314
4293
  if (r == null)
4315
4294
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4316
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4295
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
4317
4296
  }
4318
- ), Ni = Se(
4297
+ ), Ii = xe(
4319
4298
  (e) => {
4320
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4299
+ var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
4321
4300
  if (r == null)
4322
4301
  throw new Error(
4323
4302
  '[svelte-i18n] A "locale" must be set to format time values'
4324
4303
  );
4325
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4304
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
4326
4305
  }
4327
- ), Li = (e = {}) => {
4306
+ ), Ci = (e = {}) => {
4328
4307
  var t = e, {
4329
4308
  locale: r = M()
4330
- } = t, n = W(t, [
4309
+ } = t, n = z(t, [
4331
4310
  "locale"
4332
4311
  ]);
4333
- return Ii(et({ locale: r }, n));
4334
- }, Mi = (e = {}) => {
4312
+ return Pi(Ye({ locale: r }, n));
4313
+ }, Li = (e = {}) => {
4335
4314
  var t = e, {
4336
4315
  locale: r = M()
4337
- } = t, n = W(t, [
4316
+ } = t, n = z(t, [
4338
4317
  "locale"
4339
4318
  ]);
4340
- return Ci(et({ locale: r }, n));
4341
- }, $i = (e = {}) => {
4319
+ return Oi(Ye({ locale: r }, n));
4320
+ }, Ni = (e = {}) => {
4342
4321
  var t = e, {
4343
4322
  locale: r = M()
4344
- } = t, n = W(t, [
4323
+ } = t, n = z(t, [
4345
4324
  "locale"
4346
4325
  ]);
4347
- return Ni(et({ locale: r }, n));
4348
- }, Ri = Se(
4326
+ return Ii(Ye({ locale: r }, n));
4327
+ }, Mi = xe(
4349
4328
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4350
- (e, t = M()) => new hi(e, t, V().formats, {
4351
- ignoreTag: V().ignoreTag
4329
+ (e, t = M()) => new ai(e, t, X().formats, {
4330
+ ignoreTag: X().ignoreTag
4352
4331
  })
4353
- ), Di = (e, t = {}) => {
4332
+ ), $i = (e, t = {}) => {
4354
4333
  var r, n, i, o;
4355
4334
  let s = t;
4356
4335
  typeof e == "object" && (s = e, e = s.id);
@@ -4363,9 +4342,9 @@ const ee = (e, t) => {
4363
4342
  throw new Error(
4364
4343
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4365
4344
  );
4366
- let l = or(e, h);
4345
+ let l = ir(e, h);
4367
4346
  if (!l)
4368
- 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;
4347
+ l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4369
4348
  else if (typeof l != "string")
4370
4349
  return console.warn(
4371
4350
  `[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.`
@@ -4374,7 +4353,7 @@ const ee = (e, t) => {
4374
4353
  return l;
4375
4354
  let f = l;
4376
4355
  try {
4377
- f = Ri(l, h).format(a);
4356
+ f = Mi(l, h).format(a);
4378
4357
  } catch (c) {
4379
4358
  c instanceof Error && console.warn(
4380
4359
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4382,20 +4361,20 @@ const ee = (e, t) => {
4382
4361
  );
4383
4362
  }
4384
4363
  return f;
4385
- }, Ui = (e, t) => $i(t).format(e), Gi = (e, t) => Mi(t).format(e), Fi = (e, t) => Li(t).format(e), ji = (e, t = M()) => or(e, t), fo = X([oe, ie], () => Di);
4386
- X([oe], () => Ui);
4387
- X([oe], () => Gi);
4388
- X([oe], () => Fi);
4389
- X([oe, ie], () => ji);
4364
+ }, Ri = (e, t) => Ni(t).format(e), Di = (e, t) => Li(t).format(e), Ui = (e, t) => Ci(t).format(e), Gi = (e, t = M()) => ir(e, t), ho = W([oe, ie], () => $i);
4365
+ W([oe], () => Ri);
4366
+ W([oe], () => Di);
4367
+ W([oe], () => Ui);
4368
+ W([oe, ie], () => Gi);
4390
4369
  window.emWidgets = { topic: en };
4391
- const ki = (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)), co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4392
- function Vi(e, t) {
4370
+ const Fi = (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)), lo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4371
+ function ji(e, t) {
4393
4372
  if (e) {
4394
4373
  const r = document.createElement("style");
4395
4374
  r.innerHTML = t, e.appendChild(r);
4396
4375
  }
4397
4376
  }
4398
- function Xi(e, t) {
4377
+ function ki(e, t) {
4399
4378
  const r = new URL(t);
4400
4379
  fetch(r.href).then((n) => n.text()).then((n) => {
4401
4380
  const i = document.createElement("style");
@@ -4404,7 +4383,7 @@ function Xi(e, t) {
4404
4383
  console.error("There was an error while trying to load client styling from URL", n);
4405
4384
  });
4406
4385
  }
4407
- function Wi(e, t, r) {
4386
+ function Vi(e, t, r) {
4408
4387
  if (window.emMessageBus) {
4409
4388
  const n = document.createElement("style");
4410
4389
  window.emMessageBus.subscribe(t, (i) => {
@@ -4412,27 +4391,27 @@ function Wi(e, t, r) {
4412
4391
  });
4413
4392
  }
4414
4393
  }
4415
- function zi(e) {
4416
- vr(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)}");
4394
+ function Xi(e) {
4395
+ yr(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)}");
4417
4396
  }
4418
- function Bt(e) {
4397
+ function Ht(e) {
4419
4398
  let t, r, n, i, o, s, a;
4420
4399
  function h(f, c) {
4421
4400
  return (
4422
4401
  /*collapsed*/
4423
- f[3] ? Zi : Qi
4402
+ f[3] ? Wi : zi
4424
4403
  );
4425
4404
  }
4426
4405
  let u = h(e), l = u(e);
4427
4406
  return {
4428
4407
  c() {
4429
- t = B("div"), r = B("p"), n = Ye(
4408
+ t = B("div"), r = B("p"), n = Ze(
4430
4409
  /*title*/
4431
4410
  e[0]
4432
- ), i = Nt(), o = B("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");
4411
+ ), i = It(), o = B("div"), l.c(), g(r, "class", "Title"), g(r, "part", "Title"), g(o, "class", "CollapseButtonDetails"), g(o, "part", "CollapseButtonDetails"), g(t, "class", "DetailsTitle"), g(t, "part", "DetailsTitle");
4433
4412
  },
4434
4413
  m(f, c) {
4435
- L(f, t, c), A(t, r), A(r, n), A(t, i), A(t, o), l.m(o, null), s || (a = Ne(
4414
+ N(f, t, c), H(t, r), H(r, n), H(t, i), H(t, o), l.m(o, null), s || (a = Ie(
4436
4415
  t,
4437
4416
  "click",
4438
4417
  /*collapseText*/
@@ -4441,53 +4420,53 @@ function Bt(e) {
4441
4420
  },
4442
4421
  p(f, c) {
4443
4422
  c & /*title*/
4444
- 1 && Sr(
4423
+ 1 && Er(
4445
4424
  n,
4446
4425
  /*title*/
4447
4426
  f[0]
4448
4427
  ), u !== (u = h(f)) && (l.d(1), l = u(f), l && (l.c(), l.m(o, null)));
4449
4428
  },
4450
4429
  d(f) {
4451
- f && O(t), l.d(), s = !1, a();
4430
+ f && P(t), l.d(), s = !1, a();
4452
4431
  }
4453
4432
  };
4454
4433
  }
4455
- function Zi(e) {
4434
+ function Wi(e) {
4456
4435
  let t, r;
4457
4436
  return {
4458
4437
  c() {
4459
- t = J("svg"), r = J("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");
4438
+ t = Y("svg"), r = Y("path"), g(r, "d", "M6 9l6 6 6-6"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "24"), g(t, "height", "24"), g(t, "viewBox", "0 0 24 24"), g(t, "fill", "none"), g(t, "stroke", "#ffffff"), g(t, "stroke-width", "2"), g(t, "stroke-linecap", "round"), g(t, "stroke-linejoin", "round");
4460
4439
  },
4461
4440
  m(n, i) {
4462
- L(n, t, i), A(t, r);
4441
+ N(n, t, i), H(t, r);
4463
4442
  },
4464
4443
  d(n) {
4465
- n && O(t);
4444
+ n && P(t);
4466
4445
  }
4467
4446
  };
4468
4447
  }
4469
- function Qi(e) {
4448
+ function zi(e) {
4470
4449
  let t, r;
4471
4450
  return {
4472
4451
  c() {
4473
- t = J("svg"), r = J("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");
4452
+ t = Y("svg"), r = Y("path"), g(r, "d", "M18 15l-6-6-6 6"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "24"), g(t, "height", "24"), g(t, "viewBox", "0 0 24 24"), g(t, "fill", "none"), g(t, "stroke", "#ffffff"), g(t, "stroke-width", "2"), g(t, "stroke-linecap", "round"), g(t, "stroke-linejoin", "round");
4474
4453
  },
4475
4454
  m(n, i) {
4476
- L(n, t, i), A(t, r);
4455
+ N(n, t, i), H(t, r);
4477
4456
  },
4478
4457
  d(n) {
4479
- n && O(t);
4458
+ n && P(t);
4480
4459
  }
4481
4460
  };
4482
4461
  }
4483
- function Pt(e) {
4462
+ function Bt(e) {
4484
4463
  let t, r, n, i;
4485
4464
  return {
4486
4465
  c() {
4487
- t = B("div"), t.innerHTML = "", b(t, "class", "DetailsContent sc"), b(t, "part", "DetailsContent");
4466
+ t = B("div"), t.innerHTML = "", g(t, "class", "DetailsContent sc"), g(t, "part", "DetailsContent");
4488
4467
  },
4489
4468
  m(o, s) {
4490
- L(o, t, s), n || (i = gr(r = /*setContent*/
4469
+ N(o, t, s), n || (i = gr(r = /*setContent*/
4491
4470
  e[6].call(
4492
4471
  null,
4493
4472
  t,
@@ -4496,7 +4475,7 @@ function Pt(e) {
4496
4475
  )), n = !0);
4497
4476
  },
4498
4477
  p(o, s) {
4499
- r && re(r.update) && s & /*text*/
4478
+ r && ne(r.update) && s & /*text*/
4500
4479
  2 && r.update.call(
4501
4480
  null,
4502
4481
  /*text*/
@@ -4504,54 +4483,54 @@ function Pt(e) {
4504
4483
  );
4505
4484
  },
4506
4485
  d(o) {
4507
- o && O(t), n = !1, i();
4486
+ o && P(t), n = !1, i();
4508
4487
  }
4509
4488
  };
4510
4489
  }
4511
- function qi(e) {
4490
+ function Zi(e) {
4512
4491
  let t, r, n = (
4513
4492
  /*title*/
4514
- e[0] && Bt(e)
4493
+ e[0] && Ht(e)
4515
4494
  ), i = (
4516
4495
  /*text*/
4517
4496
  e[1] && !/*collapsed*/
4518
- e[3] && Pt(e)
4497
+ e[3] && Bt(e)
4519
4498
  );
4520
4499
  return {
4521
4500
  c() {
4522
- t = B("div"), n && n.c(), r = Nt(), i && i.c(), b(t, "class", "DetailsCard " + (ki(
4501
+ t = B("div"), n && n.c(), r = It(), i && i.c(), g(t, "class", "DetailsCard " + (Fi(
4523
4502
  /*userAgent*/
4524
4503
  e[4]
4525
- ) ? "Mobile" : "")), b(t, "part", "DetailsCard");
4504
+ ) ? "Mobile" : "")), g(t, "part", "DetailsCard");
4526
4505
  },
4527
4506
  m(o, s) {
4528
- L(o, t, s), n && n.m(t, null), A(t, r), i && i.m(t, null), e[10](t);
4507
+ N(o, t, s), n && n.m(t, null), H(t, r), i && i.m(t, null), e[10](t);
4529
4508
  },
4530
4509
  p(o, [s]) {
4531
4510
  /*title*/
4532
- o[0] ? n ? n.p(o, s) : (n = Bt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4511
+ o[0] ? n ? n.p(o, s) : (n = Ht(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4533
4512
  o[1] && !/*collapsed*/
4534
- o[3] ? i ? i.p(o, s) : (i = Pt(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4513
+ o[3] ? i ? i.p(o, s) : (i = Bt(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4535
4514
  },
4536
- i: w,
4537
- o: w,
4515
+ i: T,
4516
+ o: T,
4538
4517
  d(o) {
4539
- o && O(t), n && n.d(), i && i.d(), e[10](null);
4518
+ o && P(t), n && n.d(), i && i.d(), e[10](null);
4540
4519
  }
4541
4520
  };
4542
4521
  }
4543
- function Ji(e, t, r) {
4522
+ function Qi(e, t, r) {
4544
4523
  let { title: n = "" } = t, { text: i = "" } = t, { mbsource: o } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, h, u = !1, l = window.navigator.userAgent;
4545
4524
  const f = () => {
4546
4525
  r(3, u = !u);
4547
- }, c = (p, g) => {
4526
+ }, c = (p, v) => {
4548
4527
  let S = document.createElement("div");
4549
- S.innerHTML = g, p.append(S);
4528
+ S.innerHTML = v, p.append(S);
4550
4529
  };
4551
- Hr(() => () => {
4530
+ wr(() => () => {
4552
4531
  });
4553
4532
  function y(p) {
4554
- Le[p ? "unshift" : "push"](() => {
4533
+ Ce[p ? "unshift" : "push"](() => {
4555
4534
  h = p, r(2, h);
4556
4535
  });
4557
4536
  }
@@ -4559,9 +4538,9 @@ function Ji(e, t, r) {
4559
4538
  "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);
4560
4539
  }, e.$$.update = () => {
4561
4540
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4562
- 260 && s && h && Vi(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4563
- 516 && a && h && Xi(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4564
- 132 && o && h && Wi(h, `${o}.Style`);
4541
+ 260 && s && h && ji(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4542
+ 516 && a && h && ki(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4543
+ 132 && o && h && Vi(h, `${o}.Style`);
4565
4544
  }, [
4566
4545
  n,
4567
4546
  i,
@@ -4576,14 +4555,14 @@ function Ji(e, t, r) {
4576
4555
  y
4577
4556
  ];
4578
4557
  }
4579
- class fr extends Dr {
4558
+ class lr extends Rr {
4580
4559
  constructor(t) {
4581
- super(), $r(
4560
+ super(), Mr(
4582
4561
  this,
4583
4562
  t,
4584
- Ji,
4585
- qi,
4586
- It,
4563
+ Qi,
4564
+ Zi,
4565
+ Pt,
4587
4566
  {
4588
4567
  title: 0,
4589
4568
  text: 1,
@@ -4591,89 +4570,89 @@ class fr extends Dr {
4591
4570
  clientstyling: 8,
4592
4571
  clientstylingurl: 9
4593
4572
  },
4594
- zi
4573
+ Xi
4595
4574
  );
4596
4575
  }
4597
4576
  get title() {
4598
4577
  return this.$$.ctx[0];
4599
4578
  }
4600
4579
  set title(t) {
4601
- this.$$set({ title: t }), N();
4580
+ this.$$set({ title: t }), L();
4602
4581
  }
4603
4582
  get text() {
4604
4583
  return this.$$.ctx[1];
4605
4584
  }
4606
4585
  set text(t) {
4607
- this.$$set({ text: t }), N();
4586
+ this.$$set({ text: t }), L();
4608
4587
  }
4609
4588
  get mbsource() {
4610
4589
  return this.$$.ctx[7];
4611
4590
  }
4612
4591
  set mbsource(t) {
4613
- this.$$set({ mbsource: t }), N();
4592
+ this.$$set({ mbsource: t }), L();
4614
4593
  }
4615
4594
  get clientstyling() {
4616
4595
  return this.$$.ctx[8];
4617
4596
  }
4618
4597
  set clientstyling(t) {
4619
- this.$$set({ clientstyling: t }), N();
4598
+ this.$$set({ clientstyling: t }), L();
4620
4599
  }
4621
4600
  get clientstylingurl() {
4622
4601
  return this.$$.ctx[9];
4623
4602
  }
4624
4603
  set clientstylingurl(t) {
4625
- this.$$set({ clientstylingurl: t }), N();
4604
+ this.$$set({ clientstylingurl: t }), L();
4626
4605
  }
4627
4606
  }
4628
- Rr(fr, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4629
- const po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4607
+ $r(lr, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4608
+ const fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4630
4609
  __proto__: null,
4631
- default: fr
4610
+ default: lr
4632
4611
  }, Symbol.toStringTag, { value: "Module" }));
4633
4612
  export {
4634
4613
  oe as $,
4635
- co as A,
4636
- Le as B,
4637
- Ki as C,
4638
- gr as D,
4639
- fo as E,
4640
- Vi as F,
4641
- Xi as G,
4642
- Wi as H,
4643
- te as I,
4644
- re as J,
4645
- io as K,
4646
- uo as L,
4647
- so as M,
4648
- oo as N,
4649
- $e as O,
4650
- ao as P,
4651
- po as Q,
4652
- Dr as S,
4614
+ eo as A,
4615
+ Ki as B,
4616
+ lo as C,
4617
+ Ce as D,
4618
+ ji as E,
4619
+ ho as F,
4620
+ Ji as G,
4621
+ gr as H,
4622
+ re as I,
4623
+ ne as J,
4624
+ ro as K,
4625
+ so as L,
4626
+ io as M,
4627
+ Ne as N,
4628
+ no as O,
4629
+ oo as P,
4630
+ fo as Q,
4631
+ Rr as S,
4653
4632
  ie as a,
4654
- mi as b,
4655
- lo as c,
4656
- Rr as d,
4657
- vr as e,
4658
- N as f,
4659
- O as g,
4660
- Sr as h,
4661
- $r as i,
4662
- no as j,
4663
- b as k,
4664
- L as l,
4665
- A as m,
4666
- w as n,
4667
- Ne as o,
4668
- Nt as p,
4669
- B as q,
4670
- J as r,
4671
- It as s,
4672
- Ye as t,
4673
- ki as u,
4674
- eo as v,
4675
- Hr as w,
4676
- ho as x,
4677
- to as y,
4678
- ro as z
4633
+ pi as b,
4634
+ uo as c,
4635
+ $r as d,
4636
+ yr as e,
4637
+ L as f,
4638
+ It as g,
4639
+ B as h,
4640
+ Mr as i,
4641
+ Y as j,
4642
+ g as k,
4643
+ to as l,
4644
+ Fi as m,
4645
+ N as n,
4646
+ H as o,
4647
+ Ie as p,
4648
+ Er as q,
4649
+ T as r,
4650
+ Pt as s,
4651
+ Ze as t,
4652
+ P as u,
4653
+ Yi as v,
4654
+ wr as w,
4655
+ ki as x,
4656
+ Vi as y,
4657
+ ao as z
4679
4658
  };