@everymatrix/casino-page 1.56.0 → 1.56.3

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 (71) hide show
  1. package/components/{CasinoCalendar-DwKH1vl3.js → CasinoCalendar-Beb-D9v5.js} +1182 -1157
  2. package/components/{CasinoCalendar-tMtCN0uW.js → CasinoCalendar-qVpbXj-D.js} +931 -906
  3. package/components/CasinoCalendar-zkVoyaEl.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-B1yNq5WP.cjs → CasinoCalendarDailyDetails-C6Lmn7pW.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-BP_ANGdX.js → CasinoCalendarDailyDetails-C6Shuvfx.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-CehhK4Vt.js → CasinoCalendarDailyDetails-CmmQq8VR.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-DE7Q_O2x.js → CasinoCalendarDailyItem-BLMalLZx.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-C08Z_td-.cjs → CasinoCalendarDailyItem-D7q0pxAo.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-Cf-elj80.js → CasinoCalendarDailyItem-DlHg6exr.js} +41 -41
  10. package/components/{CasinoCollectionsProviders-Yt2ApEP5.js → CasinoCollectionsProviders-BU9Vdk7f.js} +257 -267
  11. package/components/CasinoCollectionsProviders-CKeIv7Lm.cjs +1 -0
  12. package/components/{CasinoCollectionsProviders-DoRepmON.js → CasinoCollectionsProviders-KxO7bWw9.js} +260 -270
  13. package/components/{CasinoFavoritesSection-M3wz4Hsn.js → CasinoFavoritesSection-BLcFCYkL.js} +30 -30
  14. package/components/{CasinoFavoritesSection-eK-e7FeC.cjs → CasinoFavoritesSection-Bt1qroiI.cjs} +1 -1
  15. package/components/{CasinoFavoritesSection-UtUw8bHl.js → CasinoFavoritesSection-DfWNsUcD.js} +30 -30
  16. package/components/{CasinoFilter-Cb7FySTm.js → CasinoFilter-5P8W2ayY.js} +236 -233
  17. package/components/CasinoFilter-BLgXtVi-.cjs +1 -0
  18. package/components/{CasinoFilter-BbKgy4VX.js → CasinoFilter-EmKNpmwo.js} +247 -242
  19. package/components/{CasinoGameThumbnail-BokqjU_3.js → CasinoGameThumbnail-B-j-s0zl.js} +1288 -1337
  20. package/components/{CasinoGameThumbnail-BZ8OnqL9.js → CasinoGameThumbnail-DLV5eXt3.js} +1233 -1282
  21. package/components/CasinoGameThumbnail-kYpO7OYd.cjs +47 -0
  22. package/components/{CasinoGamesCategorySection-BtYQ_Cmz.cjs → CasinoGamesCategorySection-C7wNGeVf.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySection-mejOW_4O.js → CasinoGamesCategorySection-CGLL37Ll.js} +355 -348
  24. package/components/{CasinoGamesCategorySection-CeuGEQJP.js → CasinoGamesCategorySection-DxdFkiK0.js} +256 -249
  25. package/components/{CasinoJackpotBanner-BaqwOwIt.js → CasinoJackpotBanner-CJWjyexm.js} +81 -81
  26. package/components/{CasinoJackpotBanner-Dnu1YGvy.js → CasinoJackpotBanner-DquJdUya.js} +88 -88
  27. package/components/{CasinoJackpotBanner-DZZsX8IW.cjs → CasinoJackpotBanner-o_Mbn9dc.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSection-BSbuszLI.js → CasinoLastPlayedSection-C1fXqsNf.js} +35 -35
  29. package/components/{CasinoLastPlayedSection-1vrPgQaO.cjs → CasinoLastPlayedSection-D3rQ6OIZ.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-D1gqQwzF.js → CasinoLastPlayedSection-Mwvag7Ds.js} +35 -35
  31. package/components/{CasinoMostPlayedSection-CgUwp5nt.js → CasinoMostPlayedSection-BjERkNCF.js} +46 -46
  32. package/components/{CasinoMostPlayedSection-DtSDqrXG.cjs → CasinoMostPlayedSection-CbOy3yAA.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-jWqnrmjv.js → CasinoMostPlayedSection-T3x41wRX.js} +46 -46
  34. package/components/{CasinoMyGames-BRGZxXY6.js → CasinoMyGames-5bW8Sgi5.js} +51 -47
  35. package/components/{CasinoMyGames-CPWV0sSu.cjs → CasinoMyGames-C_M_zFT2.cjs} +1 -1
  36. package/components/{CasinoMyGames-DrnKvqrj.js → CasinoMyGames-DCFnCBZ5.js} +53 -49
  37. package/components/{CasinoPage-CP0TDj2s.js → CasinoPage-AJMpJvaQ.js} +120 -116
  38. package/components/{CasinoPage-BxqUNSyB.cjs → CasinoPage-DMaRihI_.cjs} +1 -1
  39. package/components/{CasinoPage-oah0JVVU.js → CasinoPage-YB6CY7ON.js} +122 -118
  40. package/components/{CasinoRandomGame-D9BEuIS2.js → CasinoRandomGame-B9Eg9Cv4.js} +77 -75
  41. package/components/{CasinoRandomGame-B2FGgsW1.cjs → CasinoRandomGame-CUHxVoyq.cjs} +1 -1
  42. package/components/{CasinoRandomGame-T1GVZYOt.js → CasinoRandomGame-DR6TctHg.js} +78 -76
  43. package/components/{CasinoSearch-BX1qMF6U.js → CasinoSearch-Bjfocy3y.js} +93 -90
  44. package/components/{CasinoSearch-Cfj0uLun.js → CasinoSearch-Bx4-nMU3.js} +91 -88
  45. package/components/{CasinoSearch-DvRie_tr.cjs → CasinoSearch-CpBhzpsK.cjs} +1 -1
  46. package/components/{CasinoSort-BmkqSaqQ.cjs → CasinoSort-5x4S3mG_.cjs} +1 -1
  47. package/components/{CasinoSort-DykEVPy1.js → CasinoSort-BygFei5r.js} +103 -103
  48. package/components/{CasinoSort-BwNRVsYT.js → CasinoSort-DvLkFtIz.js} +111 -109
  49. package/components/{CasinoWinners-Dn6mLcJT.js → CasinoWinners-BZEiqOuZ.js} +162 -160
  50. package/components/{CasinoWinners-4fX-Jkcx.cjs → CasinoWinners-DbQvZp-o.cjs} +1 -1
  51. package/components/{CasinoWinners-DbNw8Ecj.js → CasinoWinners-tsFI0Qkd.js} +160 -158
  52. package/components/{GeneralAnimationLoading-D4L1aOk8.cjs → GeneralAnimationLoading-BFfW6U-2.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-C3AulHDZ.js → GeneralAnimationLoading-Bfdh1dfh.js} +16 -16
  54. package/components/{GeneralAnimationLoading-CKfD84TR.js → GeneralAnimationLoading-g0jjajHE.js} +16 -16
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
  60. package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
  61. package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  62. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  63. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  64. package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
  65. package/components/CasinoCalendar-BUWW4Xzj.cjs +0 -6
  66. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +0 -1
  67. package/components/CasinoFilter-BYz1zKUs.cjs +0 -1
  68. package/components/CasinoGameThumbnail-10TTv4CH.cjs +0 -47
  69. package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
  70. package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
  71. package/stencil/index-29915e18-MPiqo7vY.js +0 -646
@@ -1,64 +1,65 @@
1
- var wr = Object.defineProperty, Sr = Object.defineProperties;
2
- var Tr = Object.getOwnPropertyDescriptors;
3
- var nt = Object.getOwnPropertySymbols;
4
- var Hr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable;
5
- var Oe = (e, t, r) => t in e ? wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
1
+ var Hr = Object.defineProperty, Br = Object.defineProperties;
2
+ var Pr = Object.getOwnPropertyDescriptors;
3
+ var ot = Object.getOwnPropertySymbols;
4
+ var Ar = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
5
+ var Oe = (e, t, r) => t in e ? Hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Hr.call(t, r) && Oe(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- Br.call(t, r) && Oe(e, r, t[r]);
7
+ Ar.call(t, r) && Oe(e, r, t[r]);
8
+ if (ot)
9
+ for (var r of ot(t))
10
+ Or.call(t, r) && Oe(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => Sr(e, Tr(t));
13
- var T = (e, t, r) => Oe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var st = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
12
+ }, ut = (e, t) => Br(e, Pr(t));
13
+ var T = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var lt = (e, t, r) => new Promise((n, i) => {
15
+ var s = (l) => {
16
16
  try {
17
- a(r.next(l));
17
+ o(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, s = (l) => {
21
+ }, a = (l) => {
22
22
  try {
23
- a(r.throw(l));
23
+ o(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
+ o((r = r.apply(e, t)).next());
29
29
  });
30
30
  function O() {
31
31
  }
32
- function Pr(e, t) {
33
- for (const r in t) e[r] = t[r];
32
+ function Ir(e, t) {
33
+ for (const r in t)
34
+ e[r] = t[r];
34
35
  return (
35
36
  /** @type {T & S} */
36
37
  e
37
38
  );
38
39
  }
39
- function Rt(e) {
40
+ function Dt(e) {
40
41
  return e();
41
42
  }
42
- function at() {
43
+ function ht() {
43
44
  return /* @__PURE__ */ Object.create(null);
44
45
  }
45
46
  function W(e) {
46
- e.forEach(Rt);
47
+ e.forEach(Dt);
47
48
  }
48
49
  function Se(e) {
49
50
  return typeof e == "function";
50
51
  }
51
- function $t(e, t) {
52
+ function Ut(e, t) {
52
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
54
  }
54
55
  let de;
55
- function fo(e, t) {
56
+ function ds(e, t) {
56
57
  return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
57
58
  }
58
- function Ar(e) {
59
+ function Cr(e) {
59
60
  return Object.keys(e).length === 0;
60
61
  }
61
- function Dt(e, ...t) {
62
+ function Gt(e, ...t) {
62
63
  if (e == null) {
63
64
  for (const n of t)
64
65
  n(void 0);
@@ -67,40 +68,40 @@ function Dt(e, ...t) {
67
68
  const r = e.subscribe(...t);
68
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
70
  }
70
- function Or(e, t, r) {
71
- e.$$.on_destroy.push(Dt(t, r));
71
+ function Lr(e, t, r) {
72
+ e.$$.on_destroy.push(Gt(t, r));
72
73
  }
73
- function po(e, t, r, n) {
74
+ function ps(e, t, r, n) {
74
75
  if (e) {
75
- const i = Ut(e, t, r, n);
76
+ const i = Ft(e, t, r, n);
76
77
  return e[0](i);
77
78
  }
78
79
  }
79
- function Ut(e, t, r, n) {
80
- return e[1] && n ? Pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function Ft(e, t, r, n) {
81
+ return e[1] && n ? Ir(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
82
  }
82
- function mo(e, t, r, n) {
83
+ function ms(e, t, r, n) {
83
84
  if (e[2] && n) {
84
85
  const i = e[2](n(r));
85
86
  if (t.dirty === void 0)
86
87
  return i;
87
88
  if (typeof i == "object") {
88
- const o = [], s = Math.max(t.dirty.length, i.length);
89
- for (let a = 0; a < s; a += 1)
90
- o[a] = t.dirty[a] | i[a];
91
- return o;
89
+ const s = [], a = Math.max(t.dirty.length, i.length);
90
+ for (let o = 0; o < a; o += 1)
91
+ s[o] = t.dirty[o] | i[o];
92
+ return s;
92
93
  }
93
94
  return t.dirty | i;
94
95
  }
95
96
  return t.dirty;
96
97
  }
97
- function bo(e, t, r, n, i, o) {
98
+ function bs(e, t, r, n, i, s) {
98
99
  if (i) {
99
- const s = Ut(t, r, n, o);
100
- e.p(s, i);
100
+ const a = Ft(t, r, n, s);
101
+ e.p(a, i);
101
102
  }
102
103
  }
103
- function yo(e) {
104
+ function ys(e) {
104
105
  if (e.ctx.length > 32) {
105
106
  const t = [], r = e.ctx.length / 32;
106
107
  for (let n = 0; n < r; n++)
@@ -109,21 +110,22 @@ function yo(e) {
109
110
  }
110
111
  return -1;
111
112
  }
112
- function go(e) {
113
+ function gs(e) {
113
114
  return e && Se(e.destroy) ? e.destroy : O;
114
115
  }
115
- function ce(e, t) {
116
+ function we(e, t) {
116
117
  e.appendChild(t);
117
118
  }
118
- function Ir(e, t, r) {
119
- const n = Cr(e);
119
+ function Mr(e, t, r) {
120
+ const n = Nr(e);
120
121
  if (!n.getElementById(t)) {
121
- const i = N("style");
122
- i.id = t, i.textContent = r, Lr(n, i);
122
+ const i = $("style");
123
+ i.id = t, i.textContent = r, Rr(n, i);
123
124
  }
124
125
  }
125
- function Cr(e) {
126
- if (!e) return document;
126
+ function Nr(e) {
127
+ if (!e)
128
+ return document;
127
129
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
128
130
  return t && /** @type {ShadowRoot} */
129
131
  t.host ? (
@@ -131,8 +133,8 @@ function Cr(e) {
131
133
  t
132
134
  ) : e.ownerDocument;
133
135
  }
134
- function Lr(e, t) {
135
- return ce(
136
+ function Rr(e, t) {
137
+ return we(
136
138
  /** @type {Document} */
137
139
  e.head || e,
138
140
  t
@@ -141,32 +143,32 @@ function Lr(e, t) {
141
143
  function V(e, t, r) {
142
144
  e.insertBefore(t, r || null);
143
145
  }
144
- function D(e) {
146
+ function U(e) {
145
147
  e.parentNode && e.parentNode.removeChild(e);
146
148
  }
147
- function Nr(e, t) {
149
+ function $r(e, t) {
148
150
  for (let r = 0; r < e.length; r += 1)
149
151
  e[r] && e[r].d(t);
150
152
  }
151
- function N(e) {
153
+ function $(e) {
152
154
  return document.createElement(e);
153
155
  }
154
- function Mr(e) {
156
+ function Dr(e) {
155
157
  return document.createElementNS("http://www.w3.org/2000/svg", e);
156
158
  }
157
- function et(e) {
159
+ function tt(e) {
158
160
  return document.createTextNode(e);
159
161
  }
160
- function Rr() {
161
- return et(" ");
162
+ function Ur() {
163
+ return tt(" ");
162
164
  }
163
- function vo() {
164
- return et("");
165
+ function vs() {
166
+ return tt("");
165
167
  }
166
- function ut(e, t, r, n) {
168
+ function _s(e, t, r, n) {
167
169
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
168
170
  }
169
- function _o(e) {
171
+ function Es(e) {
170
172
  return function(t) {
171
173
  return t.stopPropagation(), e.call(this, t);
172
174
  };
@@ -174,61 +176,27 @@ function _o(e) {
174
176
  function k(e, t, r) {
175
177
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
176
178
  }
177
- function p(e, t, r) {
179
+ function d(e, t, r) {
178
180
  const n = t.toLowerCase();
179
181
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
180
182
  }
181
- function $r(e) {
183
+ function Gr(e) {
182
184
  return Array.from(e.childNodes);
183
185
  }
184
- function Dr(e, t) {
186
+ function Fr(e, t) {
185
187
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
186
188
  t);
187
189
  }
188
- function Eo(e, t) {
190
+ function xs(e, t) {
189
191
  e.value = t == null ? "" : t;
190
192
  }
191
- function xo(e, t, r, n) {
193
+ function Ss(e, t, r, n) {
192
194
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
193
195
  }
194
- let pe;
195
- function Ur() {
196
- if (pe === void 0) {
197
- pe = !1;
198
- try {
199
- typeof window != "undefined" && window.parent && window.parent.document;
200
- } catch (e) {
201
- pe = !0;
202
- }
203
- }
204
- return pe;
205
- }
206
- function wo(e, t) {
207
- getComputedStyle(e).position === "static" && (e.style.position = "relative");
208
- const n = N("iframe");
209
- n.setAttribute(
210
- "style",
211
- "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
212
- ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
213
- const i = Ur();
214
- let o;
215
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ut(
216
- window,
217
- "message",
218
- /** @param {MessageEvent} event */
219
- (s) => {
220
- s.source === n.contentWindow && t();
221
- }
222
- )) : (n.src = "about:blank", n.onload = () => {
223
- o = ut(n.contentWindow, "resize", t), t();
224
- }), ce(e, n), () => {
225
- (i || o && n.contentWindow) && o(), D(n);
226
- };
227
- }
228
- function So(e, t, r) {
196
+ function ws(e, t, r) {
229
197
  e.classList.toggle(t, !!r);
230
198
  }
231
- class To {
199
+ class Ts {
232
200
  constructor(t = !1) {
233
201
  /**
234
202
  * @private
@@ -259,10 +227,10 @@ class To {
259
227
  * @returns {void}
260
228
  */
261
229
  m(t, r, n = null) {
262
- this.e || (this.is_svg ? this.e = Mr(
230
+ this.e || (this.is_svg ? this.e = Dr(
263
231
  /** @type {keyof SVGElementTagNameMap} */
264
232
  r.nodeName
265
- ) : this.e = N(
233
+ ) : this.e = $(
266
234
  /** @type {keyof HTMLElementTagNameMap} */
267
235
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
268
236
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -295,10 +263,10 @@ class To {
295
263
  /**
296
264
  * @returns {void} */
297
265
  d() {
298
- this.n.forEach(D);
266
+ this.n.forEach(U);
299
267
  }
300
268
  }
301
- function Gr(e) {
269
+ function jr(e) {
302
270
  const t = {};
303
271
  return e.childNodes.forEach(
304
272
  /** @param {Element} node */
@@ -307,73 +275,75 @@ function Gr(e) {
307
275
  }
308
276
  ), t;
309
277
  }
310
- let ue;
311
- function ae(e) {
312
- ue = e;
278
+ let le;
279
+ function ue(e) {
280
+ le = e;
313
281
  }
314
- function Gt() {
315
- if (!ue) throw new Error("Function called outside component initialization");
316
- return ue;
282
+ function jt() {
283
+ if (!le)
284
+ throw new Error("Function called outside component initialization");
285
+ return le;
317
286
  }
318
- function Fr(e) {
319
- Gt().$$.on_mount.push(e);
287
+ function kr(e) {
288
+ jt().$$.on_mount.push(e);
320
289
  }
321
- function Ho(e) {
322
- Gt().$$.on_destroy.push(e);
290
+ function Hs(e) {
291
+ jt().$$.on_destroy.push(e);
323
292
  }
324
- const J = [], De = [];
325
- let q = [];
326
- const lt = [], Ft = /* @__PURE__ */ Promise.resolve();
327
- let Ue = !1;
328
- function jt() {
329
- Ue || (Ue = !0, Ft.then($));
293
+ const q = [], Ue = [];
294
+ let Y = [];
295
+ const ct = [], kt = /* @__PURE__ */ Promise.resolve();
296
+ let Ge = !1;
297
+ function Vt() {
298
+ Ge || (Ge = !0, kt.then(R));
330
299
  }
331
- function Bo() {
332
- return jt(), Ft;
300
+ function Bs() {
301
+ return Vt(), kt;
333
302
  }
334
- function Ge(e) {
335
- q.push(e);
303
+ function Fe(e) {
304
+ Y.push(e);
336
305
  }
337
306
  const Ie = /* @__PURE__ */ new Set();
338
- let Z = 0;
339
- function $() {
340
- if (Z !== 0)
307
+ let Q = 0;
308
+ function R() {
309
+ if (Q !== 0)
341
310
  return;
342
- const e = ue;
311
+ const e = le;
343
312
  do {
344
313
  try {
345
- for (; Z < J.length; ) {
346
- const t = J[Z];
347
- Z++, ae(t), jr(t.$$);
314
+ for (; Q < q.length; ) {
315
+ const t = q[Q];
316
+ Q++, ue(t), Vr(t.$$);
348
317
  }
349
318
  } catch (t) {
350
- throw J.length = 0, Z = 0, t;
319
+ throw q.length = 0, Q = 0, t;
351
320
  }
352
- for (ae(null), J.length = 0, Z = 0; De.length; ) De.pop()();
353
- for (let t = 0; t < q.length; t += 1) {
354
- const r = q[t];
321
+ for (ue(null), q.length = 0, Q = 0; Ue.length; )
322
+ Ue.pop()();
323
+ for (let t = 0; t < Y.length; t += 1) {
324
+ const r = Y[t];
355
325
  Ie.has(r) || (Ie.add(r), r());
356
326
  }
357
- q.length = 0;
358
- } while (J.length);
359
- for (; lt.length; )
360
- lt.pop()();
361
- Ue = !1, Ie.clear(), ae(e);
327
+ Y.length = 0;
328
+ } while (q.length);
329
+ for (; ct.length; )
330
+ ct.pop()();
331
+ Ge = !1, Ie.clear(), ue(e);
362
332
  }
363
- function jr(e) {
333
+ function Vr(e) {
364
334
  if (e.fragment !== null) {
365
335
  e.update(), W(e.before_update);
366
336
  const t = e.dirty;
367
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
337
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
368
338
  }
369
339
  }
370
- function kr(e) {
340
+ function Xr(e) {
371
341
  const t = [], r = [];
372
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
342
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
373
343
  }
374
- const ye = /* @__PURE__ */ new Set();
344
+ const be = /* @__PURE__ */ new Set();
375
345
  let X;
376
- function Po() {
346
+ function Ps() {
377
347
  X = {
378
348
  r: 0,
379
349
  c: [],
@@ -381,76 +351,80 @@ function Po() {
381
351
  // parent group
382
352
  };
383
353
  }
384
- function Ao() {
354
+ function As() {
385
355
  X.r || W(X.c), X = X.p;
386
356
  }
387
- function kt(e, t) {
388
- e && e.i && (ye.delete(e), e.i(t));
357
+ function Xt(e, t) {
358
+ e && e.i && (be.delete(e), e.i(t));
389
359
  }
390
- function Oo(e, t, r, n) {
360
+ function Os(e, t, r, n) {
391
361
  if (e && e.o) {
392
- if (ye.has(e)) return;
393
- ye.add(e), X.c.push(() => {
394
- ye.delete(e), n && (r && e.d(1), n());
362
+ if (be.has(e))
363
+ return;
364
+ be.add(e), X.c.push(() => {
365
+ be.delete(e), n && (r && e.d(1), n());
395
366
  }), e.o(t);
396
- } else n && n();
367
+ } else
368
+ n && n();
397
369
  }
398
- function ht(e) {
370
+ function ft(e) {
399
371
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
400
372
  }
401
- function Io(e, t) {
373
+ function Is(e, t) {
402
374
  e.d(1), t.delete(e.key);
403
375
  }
404
- function Co(e, t, r, n, i, o, s, a, l, u, h, f) {
405
- let c = e.length, m = o.length, b = c;
376
+ function Cs(e, t, r, n, i, s, a, o, l, u, h, f) {
377
+ let c = e.length, p = s.length, b = c;
406
378
  const g = {};
407
- for (; b--; ) g[e[b].key] = b;
408
- const w = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), S = [];
409
- for (b = m; b--; ) {
410
- const x = f(i, o, b), A = r(x);
411
- let L = s.get(A);
412
- L ? S.push(() => L.p(x, t)) : (L = u(A, x), L.c()), I.set(A, w[b] = L), A in g && P.set(A, Math.abs(b - g[A]));
379
+ for (; b--; )
380
+ g[e[b].key] = b;
381
+ const S = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
382
+ for (b = p; b--; ) {
383
+ const x = f(i, s, b), L = r(x);
384
+ let A = a.get(L);
385
+ A ? w.push(() => A.p(x, t)) : (A = u(L, x), A.c()), I.set(L, S[b] = A), L in g && P.set(L, Math.abs(b - g[L]));
413
386
  }
414
387
  const M = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
415
- function R(x) {
416
- kt(x, 1), x.m(a, h), s.set(x.key, x), h = x.first, m--;
388
+ function N(x) {
389
+ Xt(x, 1), x.m(o, h), a.set(x.key, x), h = x.first, p--;
417
390
  }
418
- for (; c && m; ) {
419
- const x = w[m - 1], A = e[c - 1], L = x.key, d = A.key;
420
- x === A ? (h = x.first, c--, m--) : I.has(d) ? !s.has(L) || M.has(L) ? R(x) : C.has(d) ? c-- : P.get(L) > P.get(d) ? (C.add(L), R(x)) : (M.add(d), c--) : (l(A, s), c--);
391
+ for (; c && p; ) {
392
+ const x = S[p - 1], L = e[c - 1], A = x.key, Z = L.key;
393
+ x === L ? (h = x.first, c--, p--) : I.has(Z) ? !a.has(A) || M.has(A) ? N(x) : C.has(Z) ? c-- : P.get(A) > P.get(Z) ? (C.add(A), N(x)) : (M.add(Z), c--) : (l(L, a), c--);
421
394
  }
422
395
  for (; c--; ) {
423
396
  const x = e[c];
424
- I.has(x.key) || l(x, s);
397
+ I.has(x.key) || l(x, a);
425
398
  }
426
- for (; m; ) R(w[m - 1]);
427
- return W(S), w;
399
+ for (; p; )
400
+ N(S[p - 1]);
401
+ return W(w), S;
428
402
  }
429
- function Vr(e, t, r) {
403
+ function Wr(e, t, r) {
430
404
  const { fragment: n, after_update: i } = e.$$;
431
- n && n.m(t, r), Ge(() => {
432
- const o = e.$$.on_mount.map(Rt).filter(Se);
433
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
434
- }), i.forEach(Ge);
405
+ n && n.m(t, r), Fe(() => {
406
+ const s = e.$$.on_mount.map(Dt).filter(Se);
407
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
408
+ }), i.forEach(Fe);
435
409
  }
436
- function Xr(e, t) {
410
+ function zr(e, t) {
437
411
  const r = e.$$;
438
- r.fragment !== null && (kr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
412
+ r.fragment !== null && (Xr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
439
413
  }
440
- function Wr(e, t) {
441
- e.$$.dirty[0] === -1 && (J.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
414
+ function Zr(e, t) {
415
+ e.$$.dirty[0] === -1 && (q.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
442
416
  }
443
- function zr(e, t, r, n, i, o, s = null, a = [-1]) {
444
- const l = ue;
445
- ae(e);
417
+ function Qr(e, t, r, n, i, s, a = null, o = [-1]) {
418
+ const l = le;
419
+ ue(e);
446
420
  const u = e.$$ = {
447
421
  fragment: null,
448
422
  ctx: [],
449
423
  // state
450
- props: o,
424
+ props: s,
451
425
  update: O,
452
426
  not_equal: i,
453
- bound: at(),
427
+ bound: ht(),
454
428
  // lifecycle
455
429
  on_mount: [],
456
430
  on_destroy: [],
@@ -459,28 +433,28 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
459
433
  after_update: [],
460
434
  context: new Map(t.context || (l ? l.$$.context : [])),
461
435
  // everything else
462
- callbacks: at(),
463
- dirty: a,
436
+ callbacks: ht(),
437
+ dirty: o,
464
438
  skip_bound: !1,
465
439
  root: t.target || l.$$.root
466
440
  };
467
- s && s(u.root);
441
+ a && a(u.root);
468
442
  let h = !1;
469
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
470
- const b = m.length ? m[0] : c;
471
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Wr(e, f)), c;
443
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
444
+ const b = p.length ? p[0] : c;
445
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Zr(e, f)), c;
472
446
  }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
473
447
  if (t.hydrate) {
474
- const f = $r(t.target);
475
- u.fragment && u.fragment.l(f), f.forEach(D);
448
+ const f = Gr(t.target);
449
+ u.fragment && u.fragment.l(f), f.forEach(U);
476
450
  } else
477
451
  u.fragment && u.fragment.c();
478
- t.intro && kt(e.$$.fragment), Vr(e, t.target, t.anchor), $();
452
+ t.intro && Xt(e.$$.fragment), Wr(e, t.target, t.anchor), R();
479
453
  }
480
- ae(l);
454
+ ue(l);
481
455
  }
482
- let Vt;
483
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
456
+ let Wt;
457
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
484
458
  constructor(t, r, n) {
485
459
  super();
486
460
  /** The Svelte component constructor */
@@ -517,42 +491,42 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
517
491
  }
518
492
  }
519
493
  connectedCallback() {
520
- return st(this, null, function* () {
494
+ return lt(this, null, function* () {
521
495
  if (this.$$cn = !0, !this.$$c) {
522
- let t = function(o) {
496
+ let t = function(s) {
523
497
  return () => {
524
- let s;
498
+ let a;
525
499
  return {
526
500
  c: function() {
527
- s = N("slot"), o !== "default" && k(s, "name", o);
501
+ a = $("slot"), s !== "default" && k(a, "name", s);
528
502
  },
529
503
  /**
530
504
  * @param {HTMLElement} target
531
505
  * @param {HTMLElement} [anchor]
532
506
  */
533
507
  m: function(u, h) {
534
- V(u, s, h);
508
+ V(u, a, h);
535
509
  },
536
510
  d: function(u) {
537
- u && D(s);
511
+ u && U(a);
538
512
  }
539
513
  };
540
514
  };
541
515
  };
542
516
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
543
517
  return;
544
- const r = {}, n = Gr(this);
545
- for (const o of this.$$s)
546
- o in n && (r[o] = [t(o)]);
547
- for (const o of this.attributes) {
548
- const s = this.$$g_p(o.name);
549
- s in this.$$d || (this.$$d[s] = ge(s, o.value, this.$$p_d, "toProp"));
518
+ const r = {}, n = jr(this);
519
+ for (const s of this.$$s)
520
+ s in n && (r[s] = [t(s)]);
521
+ for (const s of this.attributes) {
522
+ const a = this.$$g_p(s.name);
523
+ a in this.$$d || (this.$$d[a] = ye(a, s.value, this.$$p_d, "toProp"));
550
524
  }
551
- for (const o in this.$$p_d)
552
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
525
+ for (const s in this.$$p_d)
526
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
553
527
  this.$$c = new this.$$ctor({
554
528
  target: this.shadowRoot || this,
555
- props: ot(it({}, this.$$d), {
529
+ props: ut(at({}, this.$$d), {
556
530
  $$slots: r,
557
531
  $$scope: {
558
532
  ctx: []
@@ -561,23 +535,23 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
561
535
  });
562
536
  const i = () => {
563
537
  this.$$r = !0;
564
- for (const o in this.$$p_d)
565
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
566
- const s = ge(
567
- o,
568
- this.$$d[o],
538
+ for (const s in this.$$p_d)
539
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
540
+ const a = ye(
541
+ s,
542
+ this.$$d[s],
569
543
  this.$$p_d,
570
544
  "toAttribute"
571
545
  );
572
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
546
+ a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
573
547
  }
574
548
  this.$$r = !1;
575
549
  };
576
550
  this.$$c.$$.after_update.push(i), i();
577
- for (const o in this.$$l)
578
- for (const s of this.$$l[o]) {
579
- const a = this.$$c.$on(o, s);
580
- this.$$l_u.set(s, a);
551
+ for (const s in this.$$l)
552
+ for (const a of this.$$l[s]) {
553
+ const o = this.$$c.$on(s, a);
554
+ this.$$l_u.set(a, o);
581
555
  }
582
556
  this.$$l = {};
583
557
  }
@@ -587,7 +561,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
587
561
  // and setting attributes through setAttribute etc, this is helpful
588
562
  attributeChangedCallback(t, r, n) {
589
563
  var i;
590
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
564
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
591
565
  }
592
566
  disconnectedCallback() {
593
567
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -600,9 +574,9 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
600
574
  ) || t;
601
575
  }
602
576
  });
603
- function ge(e, t, r, n) {
604
- var o;
605
- const i = (o = r[e]) == null ? void 0 : o.type;
577
+ function ye(e, t, r, n) {
578
+ var s;
579
+ const i = (s = r[e]) == null ? void 0 : s.type;
606
580
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
607
581
  return t;
608
582
  if (n === "toAttribute")
@@ -630,38 +604,38 @@ function ge(e, t, r, n) {
630
604
  return t;
631
605
  }
632
606
  }
633
- function Zr(e, t, r, n, i, o) {
634
- let s = class extends Vt {
607
+ function Jr(e, t, r, n, i, s) {
608
+ let a = class extends Wt {
635
609
  constructor() {
636
610
  super(e, r, i), this.$$p_d = t;
637
611
  }
638
612
  static get observedAttributes() {
639
613
  return Object.keys(t).map(
640
- (a) => (t[a].attribute || a).toLowerCase()
614
+ (o) => (t[o].attribute || o).toLowerCase()
641
615
  );
642
616
  }
643
617
  };
644
- return Object.keys(t).forEach((a) => {
645
- Object.defineProperty(s.prototype, a, {
618
+ return Object.keys(t).forEach((o) => {
619
+ Object.defineProperty(a.prototype, o, {
646
620
  get() {
647
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
621
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
648
622
  },
649
623
  set(l) {
650
624
  var u;
651
- l = ge(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
625
+ l = ye(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
652
626
  }
653
627
  });
654
- }), n.forEach((a) => {
655
- Object.defineProperty(s.prototype, a, {
628
+ }), n.forEach((o) => {
629
+ Object.defineProperty(a.prototype, o, {
656
630
  get() {
657
631
  var l;
658
- return (l = this.$$c) == null ? void 0 : l[a];
632
+ return (l = this.$$c) == null ? void 0 : l[o];
659
633
  }
660
634
  });
661
635
  }), e.element = /** @type {any} */
662
- s, s;
636
+ a, a;
663
637
  }
664
- class Qr {
638
+ class qr {
665
639
  constructor() {
666
640
  /**
667
641
  * ### PRIVATE API
@@ -682,7 +656,7 @@ class Qr {
682
656
  }
683
657
  /** @returns {void} */
684
658
  $destroy() {
685
- Xr(this, 1), this.$destroy = O;
659
+ zr(this, 1), this.$destroy = O;
686
660
  }
687
661
  /**
688
662
  * @template {Extract<keyof Events, string>} K
@@ -704,22 +678,37 @@ class Qr {
704
678
  * @returns {void}
705
679
  */
706
680
  $set(t) {
707
- this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
681
+ this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
708
682
  }
709
683
  }
710
- const Jr = "4";
711
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
712
- var Fe = function(e, t) {
713
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
684
+ const Yr = "4";
685
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
686
+ /*! *****************************************************************************
687
+ Copyright (c) Microsoft Corporation.
688
+
689
+ Permission to use, copy, modify, and/or distribute this software for any
690
+ purpose with or without fee is hereby granted.
691
+
692
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
693
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
694
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
695
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
696
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
697
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
698
+ PERFORMANCE OF THIS SOFTWARE.
699
+ ***************************************************************************** */
700
+ var je = function(e, t) {
701
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
714
702
  r.__proto__ = n;
715
703
  } || function(r, n) {
716
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
717
- }, Fe(e, t);
704
+ for (var i in n)
705
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
706
+ }, je(e, t);
718
707
  };
719
708
  function G(e, t) {
720
709
  if (typeof t != "function" && t !== null)
721
710
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
722
- Fe(e, t);
711
+ je(e, t);
723
712
  function r() {
724
713
  this.constructor = e;
725
714
  }
@@ -729,61 +718,69 @@ var _ = function() {
729
718
  return _ = Object.assign || function(t) {
730
719
  for (var r, n = 1, i = arguments.length; n < i; n++) {
731
720
  r = arguments[n];
732
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
721
+ for (var s in r)
722
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
733
723
  }
734
724
  return t;
735
725
  }, _.apply(this, arguments);
736
726
  };
737
- function qr(e, t) {
727
+ function Kr(e, t) {
738
728
  var r = {};
739
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
729
+ for (var n in e)
730
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
740
731
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
741
732
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
742
733
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
743
734
  return r;
744
735
  }
745
- function je(e) {
736
+ function ke(e) {
746
737
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
747
- if (r) return r.call(e);
748
- if (e && typeof e.length == "number") return {
749
- next: function() {
750
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
751
- }
752
- };
738
+ if (r)
739
+ return r.call(e);
740
+ if (e && typeof e.length == "number")
741
+ return {
742
+ next: function() {
743
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
744
+ }
745
+ };
753
746
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
754
747
  }
755
- function ke(e, t) {
748
+ function Ve(e, t) {
756
749
  var r = typeof Symbol == "function" && e[Symbol.iterator];
757
- if (!r) return e;
758
- var n = r.call(e), i, o = [], s;
750
+ if (!r)
751
+ return e;
752
+ var n = r.call(e), i, s = [], a;
759
753
  try {
760
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
761
- } catch (a) {
762
- s = { error: a };
754
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
755
+ s.push(i.value);
756
+ } catch (o) {
757
+ a = { error: o };
763
758
  } finally {
764
759
  try {
765
760
  i && !i.done && (r = n.return) && r.call(n);
766
761
  } finally {
767
- if (s) throw s.error;
762
+ if (a)
763
+ throw a.error;
768
764
  }
769
765
  }
770
- return o;
766
+ return s;
771
767
  }
772
- function Y(e, t, r) {
773
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
774
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
775
- return e.concat(o || Array.prototype.slice.call(t));
768
+ function K(e, t, r) {
769
+ if (r || arguments.length === 2)
770
+ for (var n = 0, i = t.length, s; n < i; n++)
771
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
772
+ return e.concat(s || t);
776
773
  }
777
- function U(e) {
774
+ function D(e) {
778
775
  return typeof e == "function";
779
776
  }
780
- function Xt(e) {
777
+ function zt(e) {
781
778
  var t = function(n) {
782
779
  Error.call(n), n.stack = new Error().stack;
783
780
  }, r = e(t);
784
781
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
785
782
  }
786
- var Ce = Xt(function(e) {
783
+ var Ce = zt(function(e) {
787
784
  return function(r) {
788
785
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
789
786
  ` + r.map(function(n, i) {
@@ -792,7 +789,7 @@ var Ce = Xt(function(e) {
792
789
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
793
790
  };
794
791
  });
795
- function Ve(e, t) {
792
+ function Xe(e, t) {
796
793
  if (e) {
797
794
  var r = e.indexOf(t);
798
795
  0 <= r && e.splice(r, 1);
@@ -803,14 +800,14 @@ var Te = function() {
803
800
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
804
801
  }
805
802
  return e.prototype.unsubscribe = function() {
806
- var t, r, n, i, o;
803
+ var t, r, n, i, s;
807
804
  if (!this.closed) {
808
805
  this.closed = !0;
809
- var s = this._parentage;
810
- if (s)
811
- if (this._parentage = null, Array.isArray(s))
806
+ var a = this._parentage;
807
+ if (a)
808
+ if (this._parentage = null, Array.isArray(a))
812
809
  try {
813
- for (var a = je(s), l = a.next(); !l.done; l = a.next()) {
810
+ for (var o = ke(a), l = o.next(); !l.done; l = o.next()) {
814
811
  var u = l.value;
815
812
  u.remove(this);
816
813
  }
@@ -818,50 +815,52 @@ var Te = function() {
818
815
  t = { error: g };
819
816
  } finally {
820
817
  try {
821
- l && !l.done && (r = a.return) && r.call(a);
818
+ l && !l.done && (r = o.return) && r.call(o);
822
819
  } finally {
823
- if (t) throw t.error;
820
+ if (t)
821
+ throw t.error;
824
822
  }
825
823
  }
826
824
  else
827
- s.remove(this);
825
+ a.remove(this);
828
826
  var h = this.initialTeardown;
829
- if (U(h))
827
+ if (D(h))
830
828
  try {
831
829
  h();
832
830
  } catch (g) {
833
- o = g instanceof Ce ? g.errors : [g];
831
+ s = g instanceof Ce ? g.errors : [g];
834
832
  }
835
833
  var f = this._finalizers;
836
834
  if (f) {
837
835
  this._finalizers = null;
838
836
  try {
839
- for (var c = je(f), m = c.next(); !m.done; m = c.next()) {
840
- var b = m.value;
837
+ for (var c = ke(f), p = c.next(); !p.done; p = c.next()) {
838
+ var b = p.value;
841
839
  try {
842
- ct(b);
840
+ dt(b);
843
841
  } catch (g) {
844
- o = o != null ? o : [], g instanceof Ce ? o = Y(Y([], ke(o)), ke(g.errors)) : o.push(g);
842
+ s = s != null ? s : [], g instanceof Ce ? s = K(K([], Ve(s)), Ve(g.errors)) : s.push(g);
845
843
  }
846
844
  }
847
845
  } catch (g) {
848
846
  n = { error: g };
849
847
  } finally {
850
848
  try {
851
- m && !m.done && (i = c.return) && i.call(c);
849
+ p && !p.done && (i = c.return) && i.call(c);
852
850
  } finally {
853
- if (n) throw n.error;
851
+ if (n)
852
+ throw n.error;
854
853
  }
855
854
  }
856
855
  }
857
- if (o)
858
- throw new Ce(o);
856
+ if (s)
857
+ throw new Ce(s);
859
858
  }
860
859
  }, e.prototype.add = function(t) {
861
860
  var r;
862
861
  if (t && t !== this)
863
862
  if (this.closed)
864
- ct(t);
863
+ dt(t);
865
864
  else {
866
865
  if (t instanceof e) {
867
866
  if (t.closed || t._hasParent(this))
@@ -878,52 +877,56 @@ var Te = function() {
878
877
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
879
878
  }, e.prototype._removeParent = function(t) {
880
879
  var r = this._parentage;
881
- r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
880
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
882
881
  }, e.prototype.remove = function(t) {
883
882
  var r = this._finalizers;
884
- r && Ve(r, t), t instanceof e && t._removeParent(this);
883
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
885
884
  }, e.EMPTY = function() {
886
885
  var t = new e();
887
886
  return t.closed = !0, t;
888
887
  }(), e;
889
- }(), Wt = Te.EMPTY;
890
- function zt(e) {
891
- return e instanceof Te || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
892
- }
893
- function ct(e) {
894
- U(e) ? e() : e.unsubscribe();
895
- }
896
- var Yr = {
897
- Promise: void 0
898
- }, Kr = {
888
+ }(), Zt = Te.EMPTY;
889
+ function Qt(e) {
890
+ return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
891
+ }
892
+ function dt(e) {
893
+ D(e) ? e() : e.unsubscribe();
894
+ }
895
+ var Jt = {
896
+ onUnhandledError: null,
897
+ onStoppedNotification: null,
898
+ Promise: void 0,
899
+ useDeprecatedSynchronousErrorHandling: !1,
900
+ useDeprecatedNextContext: !1
901
+ }, en = {
899
902
  setTimeout: function(e, t) {
900
903
  for (var r = [], n = 2; n < arguments.length; n++)
901
904
  r[n - 2] = arguments[n];
902
- return setTimeout.apply(void 0, Y([e, t], ke(r)));
905
+ return setTimeout.apply(void 0, K([e, t], Ve(r)));
903
906
  },
904
907
  clearTimeout: function(e) {
905
908
  return clearTimeout(e);
906
909
  },
907
910
  delegate: void 0
908
911
  };
909
- function en(e) {
910
- Kr.setTimeout(function() {
912
+ function tn(e) {
913
+ en.setTimeout(function() {
911
914
  throw e;
912
915
  });
913
916
  }
914
- function ft() {
917
+ function pt() {
915
918
  }
916
- function ve(e) {
919
+ function ge(e) {
917
920
  e();
918
921
  }
919
- var Zt = function(e) {
922
+ var qt = function(e) {
920
923
  G(t, e);
921
924
  function t(r) {
922
925
  var n = e.call(this) || this;
923
- return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = nn, n;
926
+ return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = on, n;
924
927
  }
925
928
  return t.create = function(r, n, i) {
926
- return new Xe(r, n, i);
929
+ return new We(r, n, i);
927
930
  }, t.prototype.next = function(r) {
928
931
  this.isStopped || this._next(r);
929
932
  }, t.prototype.error = function(r) {
@@ -947,7 +950,11 @@ var Zt = function(e) {
947
950
  this.unsubscribe();
948
951
  }
949
952
  }, t;
950
- }(Te), tn = function() {
953
+ }(Te), rn = Function.prototype.bind;
954
+ function Le(e, t) {
955
+ return rn.call(e, t);
956
+ }
957
+ var nn = function() {
951
958
  function e(t) {
952
959
  this.partialObserver = t;
953
960
  }
@@ -957,7 +964,7 @@ var Zt = function(e) {
957
964
  try {
958
965
  r.next(t);
959
966
  } catch (n) {
960
- me(n);
967
+ pe(n);
961
968
  }
962
969
  }, e.prototype.error = function(t) {
963
970
  var r = this.partialObserver;
@@ -965,56 +972,68 @@ var Zt = function(e) {
965
972
  try {
966
973
  r.error(t);
967
974
  } catch (n) {
968
- me(n);
975
+ pe(n);
969
976
  }
970
977
  else
971
- me(t);
978
+ pe(t);
972
979
  }, e.prototype.complete = function() {
973
980
  var t = this.partialObserver;
974
981
  if (t.complete)
975
982
  try {
976
983
  t.complete();
977
984
  } catch (r) {
978
- me(r);
985
+ pe(r);
979
986
  }
980
987
  }, e;
981
- }(), Xe = function(e) {
988
+ }(), We = function(e) {
982
989
  G(t, e);
983
990
  function t(r, n, i) {
984
- var o = e.call(this) || this, s;
985
- return U(r) || !r ? s = {
986
- next: r != null ? r : void 0,
987
- error: n != null ? n : void 0,
988
- complete: i != null ? i : void 0
989
- } : s = r, o.destination = new tn(s), o;
991
+ var s = e.call(this) || this, a;
992
+ if (D(r) || !r)
993
+ a = {
994
+ next: r != null ? r : void 0,
995
+ error: n != null ? n : void 0,
996
+ complete: i != null ? i : void 0
997
+ };
998
+ else {
999
+ var o;
1000
+ s && Jt.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
1001
+ return s.unsubscribe();
1002
+ }, a = {
1003
+ next: r.next && Le(r.next, o),
1004
+ error: r.error && Le(r.error, o),
1005
+ complete: r.complete && Le(r.complete, o)
1006
+ }) : a = r;
1007
+ }
1008
+ return s.destination = new nn(a), s;
990
1009
  }
991
1010
  return t;
992
- }(Zt);
993
- function me(e) {
994
- en(e);
1011
+ }(qt);
1012
+ function pe(e) {
1013
+ tn(e);
995
1014
  }
996
- function rn(e) {
1015
+ function sn(e) {
997
1016
  throw e;
998
1017
  }
999
- var nn = {
1018
+ var on = {
1000
1019
  closed: !0,
1001
- next: ft,
1002
- error: rn,
1003
- complete: ft
1004
- }, on = function() {
1020
+ next: pt,
1021
+ error: sn,
1022
+ complete: pt
1023
+ }, an = function() {
1005
1024
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1006
1025
  }();
1007
- function sn(e) {
1026
+ function un(e) {
1008
1027
  return e;
1009
1028
  }
1010
- function an(e) {
1011
- return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
1029
+ function ln(e) {
1030
+ return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
1012
1031
  return e.reduce(function(n, i) {
1013
1032
  return i(n);
1014
1033
  }, r);
1015
1034
  };
1016
1035
  }
1017
- var dt = function() {
1036
+ var mt = function() {
1018
1037
  function e(t) {
1019
1038
  t && (this._subscribe = t);
1020
1039
  }
@@ -1022,11 +1041,11 @@ var dt = function() {
1022
1041
  var r = new e();
1023
1042
  return r.source = this, r.operator = t, r;
1024
1043
  }, e.prototype.subscribe = function(t, r, n) {
1025
- var i = this, o = ln(t) ? t : new Xe(t, r, n);
1026
- return ve(function() {
1027
- var s = i, a = s.operator, l = s.source;
1028
- o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1029
- }), o;
1044
+ var i = this, s = cn(t) ? t : new We(t, r, n);
1045
+ return ge(function() {
1046
+ var a = i, o = a.operator, l = a.source;
1047
+ s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1048
+ }), s;
1030
1049
  }, e.prototype._trySubscribe = function(t) {
1031
1050
  try {
1032
1051
  return this._subscribe(t);
@@ -1035,96 +1054,97 @@ var dt = function() {
1035
1054
  }
1036
1055
  }, e.prototype.forEach = function(t, r) {
1037
1056
  var n = this;
1038
- return r = pt(r), new r(function(i, o) {
1039
- var s = new Xe({
1040
- next: function(a) {
1057
+ return r = bt(r), new r(function(i, s) {
1058
+ var a = new We({
1059
+ next: function(o) {
1041
1060
  try {
1042
- t(a);
1061
+ t(o);
1043
1062
  } catch (l) {
1044
- o(l), s.unsubscribe();
1063
+ s(l), a.unsubscribe();
1045
1064
  }
1046
1065
  },
1047
- error: o,
1066
+ error: s,
1048
1067
  complete: i
1049
1068
  });
1050
- n.subscribe(s);
1069
+ n.subscribe(a);
1051
1070
  });
1052
1071
  }, e.prototype._subscribe = function(t) {
1053
1072
  var r;
1054
1073
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1055
- }, e.prototype[on] = function() {
1074
+ }, e.prototype[an] = function() {
1056
1075
  return this;
1057
1076
  }, e.prototype.pipe = function() {
1058
1077
  for (var t = [], r = 0; r < arguments.length; r++)
1059
1078
  t[r] = arguments[r];
1060
- return an(t)(this);
1079
+ return ln(t)(this);
1061
1080
  }, e.prototype.toPromise = function(t) {
1062
1081
  var r = this;
1063
- return t = pt(t), new t(function(n, i) {
1064
- var o;
1065
- r.subscribe(function(s) {
1066
- return o = s;
1067
- }, function(s) {
1068
- return i(s);
1082
+ return t = bt(t), new t(function(n, i) {
1083
+ var s;
1084
+ r.subscribe(function(a) {
1085
+ return s = a;
1086
+ }, function(a) {
1087
+ return i(a);
1069
1088
  }, function() {
1070
- return n(o);
1089
+ return n(s);
1071
1090
  });
1072
1091
  });
1073
1092
  }, e.create = function(t) {
1074
1093
  return new e(t);
1075
1094
  }, e;
1076
1095
  }();
1077
- function pt(e) {
1096
+ function bt(e) {
1078
1097
  var t;
1079
- return (t = e != null ? e : Yr.Promise) !== null && t !== void 0 ? t : Promise;
1098
+ return (t = e != null ? e : Jt.Promise) !== null && t !== void 0 ? t : Promise;
1080
1099
  }
1081
- function un(e) {
1082
- return e && U(e.next) && U(e.error) && U(e.complete);
1100
+ function hn(e) {
1101
+ return e && D(e.next) && D(e.error) && D(e.complete);
1083
1102
  }
1084
- function ln(e) {
1085
- return e && e instanceof Zt || un(e) && zt(e);
1103
+ function cn(e) {
1104
+ return e && e instanceof qt || hn(e) && Qt(e);
1086
1105
  }
1087
- var hn = Xt(function(e) {
1106
+ var fn = zt(function(e) {
1088
1107
  return function() {
1089
1108
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1090
1109
  };
1091
- }), Qt = function(e) {
1110
+ }), Yt = function(e) {
1092
1111
  G(t, e);
1093
1112
  function t() {
1094
1113
  var r = e.call(this) || this;
1095
1114
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1096
1115
  }
1097
1116
  return t.prototype.lift = function(r) {
1098
- var n = new mt(this, this);
1117
+ var n = new yt(this, this);
1099
1118
  return n.operator = r, n;
1100
1119
  }, t.prototype._throwIfClosed = function() {
1101
1120
  if (this.closed)
1102
- throw new hn();
1121
+ throw new fn();
1103
1122
  }, t.prototype.next = function(r) {
1104
1123
  var n = this;
1105
- ve(function() {
1106
- var i, o;
1124
+ ge(function() {
1125
+ var i, s;
1107
1126
  if (n._throwIfClosed(), !n.isStopped) {
1108
1127
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1109
1128
  try {
1110
- for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1111
- var l = a.value;
1129
+ for (var a = ke(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1130
+ var l = o.value;
1112
1131
  l.next(r);
1113
1132
  }
1114
1133
  } catch (u) {
1115
1134
  i = { error: u };
1116
1135
  } finally {
1117
1136
  try {
1118
- a && !a.done && (o = s.return) && o.call(s);
1137
+ o && !o.done && (s = a.return) && s.call(a);
1119
1138
  } finally {
1120
- if (i) throw i.error;
1139
+ if (i)
1140
+ throw i.error;
1121
1141
  }
1122
1142
  }
1123
1143
  }
1124
1144
  });
1125
1145
  }, t.prototype.error = function(r) {
1126
1146
  var n = this;
1127
- ve(function() {
1147
+ ge(function() {
1128
1148
  if (n._throwIfClosed(), !n.isStopped) {
1129
1149
  n.hasError = n.isStopped = !0, n.thrownError = r;
1130
1150
  for (var i = n.observers; i.length; )
@@ -1133,7 +1153,7 @@ var hn = Xt(function(e) {
1133
1153
  });
1134
1154
  }, t.prototype.complete = function() {
1135
1155
  var r = this;
1136
- ve(function() {
1156
+ ge(function() {
1137
1157
  if (r._throwIfClosed(), !r.isStopped) {
1138
1158
  r.isStopped = !0;
1139
1159
  for (var n = r.observers; n.length; )
@@ -1154,20 +1174,20 @@ var hn = Xt(function(e) {
1154
1174
  }, t.prototype._subscribe = function(r) {
1155
1175
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1156
1176
  }, t.prototype._innerSubscribe = function(r) {
1157
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1158
- return o || s ? Wt : (this.currentObservers = null, a.push(r), new Te(function() {
1159
- n.currentObservers = null, Ve(a, r);
1177
+ var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1178
+ return s || a ? Zt : (this.currentObservers = null, o.push(r), new Te(function() {
1179
+ n.currentObservers = null, Xe(o, r);
1160
1180
  }));
1161
1181
  }, t.prototype._checkFinalizedStatuses = function(r) {
1162
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1163
- i ? r.error(o) : s && r.complete();
1182
+ var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
1183
+ i ? r.error(s) : a && r.complete();
1164
1184
  }, t.prototype.asObservable = function() {
1165
- var r = new dt();
1185
+ var r = new mt();
1166
1186
  return r.source = this, r;
1167
1187
  }, t.create = function(r, n) {
1168
- return new mt(r, n);
1188
+ return new yt(r, n);
1169
1189
  }, t;
1170
- }(dt), mt = function(e) {
1190
+ }(mt), yt = function(e) {
1171
1191
  G(t, e);
1172
1192
  function t(r, n) {
1173
1193
  var i = e.call(this) || this;
@@ -1184,45 +1204,45 @@ var hn = Xt(function(e) {
1184
1204
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1185
1205
  }, t.prototype._subscribe = function(r) {
1186
1206
  var n, i;
1187
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wt;
1207
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
1188
1208
  }, t;
1189
- }(Qt), Jt = {
1209
+ }(Yt), Kt = {
1190
1210
  now: function() {
1191
- return (Jt.delegate || Date).now();
1211
+ return (Kt.delegate || Date).now();
1192
1212
  },
1193
1213
  delegate: void 0
1194
- }, cn = function(e) {
1214
+ }, dn = function(e) {
1195
1215
  G(t, e);
1196
1216
  function t(r, n, i) {
1197
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1198
- var o = e.call(this) || this;
1199
- 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;
1217
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1218
+ var s = e.call(this) || this;
1219
+ return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1200
1220
  }
1201
1221
  return t.prototype.next = function(r) {
1202
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1203
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1222
+ var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, o = n._timestampProvider, l = n._windowTime;
1223
+ i || (s.push(r), !a && s.push(o.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1204
1224
  }, t.prototype._subscribe = function(r) {
1205
1225
  this._throwIfClosed(), this._trimBuffer();
1206
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1207
- r.next(a[l]);
1226
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer, o = a.slice(), l = 0; l < o.length && !r.closed; l += s ? 1 : 2)
1227
+ r.next(o[l]);
1208
1228
  return this._checkFinalizedStatuses(r), n;
1209
1229
  }, t.prototype._trimBuffer = function() {
1210
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1211
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1212
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1230
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * n;
1231
+ if (n < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
1232
+ for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1213
1233
  u = h;
1214
- u && o.splice(0, u + 1);
1234
+ u && s.splice(0, u + 1);
1215
1235
  }
1216
1236
  }, t;
1217
- }(Qt);
1218
- const bt = [], yt = {}, fn = (e, t = 0) => {
1219
- if (bt.indexOf(e) == -1) {
1220
- const r = new cn(t);
1221
- yt[e] = r, bt.push(e);
1237
+ }(Yt);
1238
+ const gt = [], vt = {}, pn = (e, t = 0) => {
1239
+ if (gt.indexOf(e) == -1) {
1240
+ const r = new dn(t);
1241
+ vt[e] = r, gt.push(e);
1222
1242
  }
1223
- return yt[e];
1224
- }, Q = [];
1225
- function dn(e, t) {
1243
+ return vt[e];
1244
+ }, J = [];
1245
+ function mn(e, t) {
1226
1246
  return {
1227
1247
  subscribe: He(e, t).subscribe
1228
1248
  };
@@ -1230,35 +1250,35 @@ function dn(e, t) {
1230
1250
  function He(e, t = O) {
1231
1251
  let r;
1232
1252
  const n = /* @__PURE__ */ new Set();
1233
- function i(a) {
1234
- if ($t(e, a) && (e = a, r)) {
1235
- const l = !Q.length;
1253
+ function i(o) {
1254
+ if (Ut(e, o) && (e = o, r)) {
1255
+ const l = !J.length;
1236
1256
  for (const u of n)
1237
- u[1](), Q.push(u, e);
1257
+ u[1](), J.push(u, e);
1238
1258
  if (l) {
1239
- for (let u = 0; u < Q.length; u += 2)
1240
- Q[u][0](Q[u + 1]);
1241
- Q.length = 0;
1259
+ for (let u = 0; u < J.length; u += 2)
1260
+ J[u][0](J[u + 1]);
1261
+ J.length = 0;
1242
1262
  }
1243
1263
  }
1244
1264
  }
1245
- function o(a) {
1246
- i(a(e));
1265
+ function s(o) {
1266
+ i(o(e));
1247
1267
  }
1248
- function s(a, l = O) {
1249
- const u = [a, l];
1250
- return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
1268
+ function a(o, l = O) {
1269
+ const u = [o, l];
1270
+ return n.add(u), n.size === 1 && (r = t(i, s) || O), o(e), () => {
1251
1271
  n.delete(u), n.size === 0 && r && (r(), r = null);
1252
1272
  };
1253
1273
  }
1254
- return { set: i, update: o, subscribe: s };
1274
+ return { set: i, update: s, subscribe: a };
1255
1275
  }
1256
- function ne(e, t, r) {
1276
+ function ie(e, t, r) {
1257
1277
  const n = !Array.isArray(e), i = n ? [e] : e;
1258
1278
  if (!i.every(Boolean))
1259
1279
  throw new Error("derived() expects stores as input, got a falsy value");
1260
- const o = t.length < 2;
1261
- return dn(r, (s, a) => {
1280
+ const s = t.length < 2;
1281
+ return mn(r, (a, o) => {
1262
1282
  let l = !1;
1263
1283
  const u = [];
1264
1284
  let h = 0, f = O;
@@ -1266,13 +1286,13 @@ function ne(e, t, r) {
1266
1286
  if (h)
1267
1287
  return;
1268
1288
  f();
1269
- const b = t(n ? u[0] : u, s, a);
1270
- o ? s(b) : f = Se(b) ? b : O;
1271
- }, m = i.map(
1272
- (b, g) => Dt(
1289
+ const b = t(n ? u[0] : u, a, o);
1290
+ s ? a(b) : f = Se(b) ? b : O;
1291
+ }, p = i.map(
1292
+ (b, g) => Gt(
1273
1293
  b,
1274
- (w) => {
1275
- u[g] = w, h &= ~(1 << g), l && c();
1294
+ (S) => {
1295
+ u[g] = S, h &= ~(1 << g), l && c();
1276
1296
  },
1277
1297
  () => {
1278
1298
  h |= 1 << g;
@@ -1280,132 +1300,134 @@ function ne(e, t, r) {
1280
1300
  )
1281
1301
  );
1282
1302
  return l = !0, c(), function() {
1283
- W(m), f(), l = !1;
1303
+ W(p), f(), l = !1;
1284
1304
  };
1285
1305
  });
1286
1306
  }
1287
- function pn(e) {
1307
+ function bn(e) {
1288
1308
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1289
1309
  }
1290
- var mn = function(t) {
1291
- return bn(t) && !yn(t);
1310
+ var yn = function(t) {
1311
+ return gn(t) && !vn(t);
1292
1312
  };
1293
- function bn(e) {
1313
+ function gn(e) {
1294
1314
  return !!e && typeof e == "object";
1295
1315
  }
1296
- function yn(e) {
1316
+ function vn(e) {
1297
1317
  var t = Object.prototype.toString.call(e);
1298
- return t === "[object RegExp]" || t === "[object Date]" || _n(e);
1318
+ return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1299
1319
  }
1300
- var gn = typeof Symbol == "function" && Symbol.for, vn = gn ? Symbol.for("react.element") : 60103;
1301
- function _n(e) {
1302
- return e.$$typeof === vn;
1320
+ var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
1321
+ function xn(e) {
1322
+ return e.$$typeof === En;
1303
1323
  }
1304
- function En(e) {
1324
+ function Sn(e) {
1305
1325
  return Array.isArray(e) ? [] : {};
1306
1326
  }
1307
- function le(e, t) {
1308
- return t.clone !== !1 && t.isMergeableObject(e) ? K(En(e), e, t) : e;
1327
+ function he(e, t) {
1328
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Sn(e), e, t) : e;
1309
1329
  }
1310
- function xn(e, t, r) {
1330
+ function wn(e, t, r) {
1311
1331
  return e.concat(t).map(function(n) {
1312
- return le(n, r);
1332
+ return he(n, r);
1313
1333
  });
1314
1334
  }
1315
- function wn(e, t) {
1335
+ function Tn(e, t) {
1316
1336
  if (!t.customMerge)
1317
- return K;
1337
+ return ee;
1318
1338
  var r = t.customMerge(e);
1319
- return typeof r == "function" ? r : K;
1339
+ return typeof r == "function" ? r : ee;
1320
1340
  }
1321
- function Sn(e) {
1341
+ function Hn(e) {
1322
1342
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1323
1343
  return Object.propertyIsEnumerable.call(e, t);
1324
1344
  }) : [];
1325
1345
  }
1326
- function gt(e) {
1327
- return Object.keys(e).concat(Sn(e));
1346
+ function _t(e) {
1347
+ return Object.keys(e).concat(Hn(e));
1328
1348
  }
1329
- function qt(e, t) {
1349
+ function er(e, t) {
1330
1350
  try {
1331
1351
  return t in e;
1332
1352
  } catch (r) {
1333
1353
  return !1;
1334
1354
  }
1335
1355
  }
1336
- function Tn(e, t) {
1337
- return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1356
+ function Bn(e, t) {
1357
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1338
1358
  }
1339
- function Hn(e, t, r) {
1359
+ function Pn(e, t, r) {
1340
1360
  var n = {};
1341
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1342
- n[i] = le(e[i], r);
1343
- }), gt(t).forEach(function(i) {
1344
- Tn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1361
+ return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1362
+ n[i] = he(e[i], r);
1363
+ }), _t(t).forEach(function(i) {
1364
+ Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1345
1365
  }), n;
1346
1366
  }
1347
- function K(e, t, r) {
1348
- r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = le;
1349
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1350
- return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : le(t, r);
1367
+ function ee(e, t, r) {
1368
+ r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = he;
1369
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1370
+ return s ? n ? r.arrayMerge(e, t, r) : Pn(e, t, r) : he(t, r);
1351
1371
  }
1352
- K.all = function(t, r) {
1372
+ ee.all = function(t, r) {
1353
1373
  if (!Array.isArray(t))
1354
1374
  throw new Error("first argument should be an array");
1355
1375
  return t.reduce(function(n, i) {
1356
- return K(n, i, r);
1376
+ return ee(n, i, r);
1357
1377
  }, {});
1358
1378
  };
1359
- var Bn = K, Pn = Bn;
1360
- const An = /* @__PURE__ */ pn(Pn);
1361
- function Le(e, t) {
1362
- var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Cn;
1379
+ var An = ee, On = An;
1380
+ const In = /* @__PURE__ */ bn(On);
1381
+ function Me(e, t) {
1382
+ var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Ln;
1363
1383
  return i(e, {
1364
1384
  cache: r,
1365
1385
  serializer: n
1366
1386
  });
1367
1387
  }
1368
- function On(e) {
1388
+ function Cn(e) {
1369
1389
  return e == null || typeof e == "number" || typeof e == "boolean";
1370
1390
  }
1371
- function In(e, t, r, n) {
1372
- var i = On(n) ? n : r(n), o = t.get(i);
1373
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1391
+ function tr(e, t, r, n) {
1392
+ var i = Cn(n) ? n : r(n), s = t.get(i);
1393
+ return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1374
1394
  }
1375
- function Yt(e, t, r) {
1376
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1377
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1395
+ function rr(e, t, r) {
1396
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1397
+ return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1378
1398
  }
1379
- function Kt(e, t, r, n, i) {
1399
+ function rt(e, t, r, n, i) {
1380
1400
  return r.bind(t, e, n, i);
1381
1401
  }
1382
- function Cn(e, t) {
1383
- var r = e.length === 1 ? In : Yt;
1384
- return Kt(e, this, r, t.cache.create(), t.serializer);
1385
- }
1386
1402
  function Ln(e, t) {
1387
- return Kt(e, this, Yt, t.cache.create(), t.serializer);
1403
+ var r = e.length === 1 ? tr : rr;
1404
+ return rt(e, this, r, t.cache.create(), t.serializer);
1405
+ }
1406
+ function Mn(e, t) {
1407
+ return rt(e, this, rr, t.cache.create(), t.serializer);
1388
1408
  }
1389
- var Nn = function() {
1409
+ function Nn(e, t) {
1410
+ return rt(e, this, tr, t.cache.create(), t.serializer);
1411
+ }
1412
+ var Rn = function() {
1390
1413
  return JSON.stringify(arguments);
1391
- }, Mn = (
1392
- /** @class */
1393
- function() {
1394
- function e() {
1395
- this.cache = /* @__PURE__ */ Object.create(null);
1396
- }
1397
- return e.prototype.get = function(t) {
1398
- return this.cache[t];
1399
- }, e.prototype.set = function(t, r) {
1400
- this.cache[t] = r;
1401
- }, e;
1402
- }()
1403
- ), Rn = {
1414
+ };
1415
+ function nt() {
1416
+ this.cache = /* @__PURE__ */ Object.create(null);
1417
+ }
1418
+ nt.prototype.get = function(e) {
1419
+ return this.cache[e];
1420
+ };
1421
+ nt.prototype.set = function(e, t) {
1422
+ this.cache[e] = t;
1423
+ };
1424
+ var $n = {
1404
1425
  create: function() {
1405
- return new Mn();
1426
+ return new nt();
1406
1427
  }
1407
1428
  }, Ne = {
1408
- variadic: Ln
1429
+ variadic: Mn,
1430
+ monadic: Nn
1409
1431
  }, y;
1410
1432
  (function(e) {
1411
1433
  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";
@@ -1414,47 +1436,47 @@ var E;
1414
1436
  (function(e) {
1415
1437
  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";
1416
1438
  })(E || (E = {}));
1417
- var ee;
1439
+ var te;
1418
1440
  (function(e) {
1419
1441
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1420
- })(ee || (ee = {}));
1421
- function vt(e) {
1442
+ })(te || (te = {}));
1443
+ function Et(e) {
1422
1444
  return e.type === E.literal;
1423
1445
  }
1424
- function $n(e) {
1446
+ function Dn(e) {
1425
1447
  return e.type === E.argument;
1426
1448
  }
1427
- function er(e) {
1449
+ function nr(e) {
1428
1450
  return e.type === E.number;
1429
1451
  }
1430
- function tr(e) {
1452
+ function ir(e) {
1431
1453
  return e.type === E.date;
1432
1454
  }
1433
- function rr(e) {
1455
+ function sr(e) {
1434
1456
  return e.type === E.time;
1435
1457
  }
1436
- function nr(e) {
1458
+ function or(e) {
1437
1459
  return e.type === E.select;
1438
1460
  }
1439
- function ir(e) {
1461
+ function ar(e) {
1440
1462
  return e.type === E.plural;
1441
1463
  }
1442
- function Dn(e) {
1464
+ function Un(e) {
1443
1465
  return e.type === E.pound;
1444
1466
  }
1445
- function or(e) {
1467
+ function ur(e) {
1446
1468
  return e.type === E.tag;
1447
1469
  }
1448
- function sr(e) {
1449
- return !!(e && typeof e == "object" && e.type === ee.number);
1470
+ function lr(e) {
1471
+ return !!(e && typeof e == "object" && e.type === te.number);
1450
1472
  }
1451
- function We(e) {
1452
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1473
+ function ze(e) {
1474
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
1453
1475
  }
1454
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
1455
- function Gn(e) {
1476
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1477
+ function Fn(e) {
1456
1478
  var t = {};
1457
- return e.replace(Un, function(r) {
1479
+ return e.replace(Gn, function(r) {
1458
1480
  var n = r.length;
1459
1481
  switch (r[0]) {
1460
1482
  case "G":
@@ -1543,36 +1565,36 @@ function Gn(e) {
1543
1565
  return "";
1544
1566
  }), t;
1545
1567
  }
1546
- var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1547
- function jn(e) {
1568
+ var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1569
+ function kn(e) {
1548
1570
  if (e.length === 0)
1549
1571
  throw new Error("Number skeleton cannot be empty");
1550
- for (var t = e.split(Fn).filter(function(c) {
1572
+ for (var t = e.split(jn).filter(function(c) {
1551
1573
  return c.length > 0;
1552
1574
  }), r = [], n = 0, i = t; n < i.length; n++) {
1553
- var o = i[n], s = o.split("/");
1554
- if (s.length === 0)
1575
+ var s = i[n], a = s.split("/");
1576
+ if (a.length === 0)
1555
1577
  throw new Error("Invalid number skeleton");
1556
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1578
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1557
1579
  var f = h[u];
1558
1580
  if (f.length === 0)
1559
1581
  throw new Error("Invalid number skeleton");
1560
1582
  }
1561
- r.push({ stem: a, options: l });
1583
+ r.push({ stem: o, options: l });
1562
1584
  }
1563
1585
  return r;
1564
1586
  }
1565
- function kn(e) {
1587
+ function Vn(e) {
1566
1588
  return e.replace(/^(.*?)-/, "");
1567
1589
  }
1568
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1569
- function Et(e) {
1590
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1591
+ function St(e) {
1570
1592
  var t = {};
1571
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1593
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1572
1594
  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)), "";
1573
1595
  }), t;
1574
1596
  }
1575
- function hr(e) {
1597
+ function dr(e) {
1576
1598
  switch (e) {
1577
1599
  case "sign-auto":
1578
1600
  return {
@@ -1612,7 +1634,7 @@ function hr(e) {
1612
1634
  };
1613
1635
  }
1614
1636
  }
1615
- function Xn(e) {
1637
+ function Wn(e) {
1616
1638
  var t;
1617
1639
  if (e[0] === "E" && e[1] === "E" ? (t = {
1618
1640
  notation: "engineering"
@@ -1620,17 +1642,17 @@ function Xn(e) {
1620
1642
  notation: "scientific"
1621
1643
  }, e = e.slice(1)), t) {
1622
1644
  var r = e.slice(0, 2);
1623
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1645
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1624
1646
  throw new Error("Malformed concise eng/scientific notation");
1625
1647
  t.minimumIntegerDigits = e.length;
1626
1648
  }
1627
1649
  return t;
1628
1650
  }
1629
- function xt(e) {
1630
- var t = {}, r = hr(e);
1651
+ function wt(e) {
1652
+ var t = {}, r = dr(e);
1631
1653
  return r || t;
1632
1654
  }
1633
- function Wn(e) {
1655
+ function zn(e) {
1634
1656
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1635
1657
  var i = n[r];
1636
1658
  switch (i.stem) {
@@ -1654,7 +1676,7 @@ function Wn(e) {
1654
1676
  continue;
1655
1677
  case "measure-unit":
1656
1678
  case "unit":
1657
- t.style = "unit", t.unit = kn(i.options[0]);
1679
+ t.style = "unit", t.unit = Vn(i.options[0]);
1658
1680
  continue;
1659
1681
  case "compact-short":
1660
1682
  case "K":
@@ -1666,12 +1688,12 @@ function Wn(e) {
1666
1688
  continue;
1667
1689
  case "scientific":
1668
1690
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1669
- return _(_({}, l), xt(u));
1691
+ return _(_({}, l), wt(u));
1670
1692
  }, {}));
1671
1693
  continue;
1672
1694
  case "engineering":
1673
1695
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1674
- return _(_({}, l), xt(u));
1696
+ return _(_({}, l), wt(u));
1675
1697
  }, {}));
1676
1698
  continue;
1677
1699
  case "notation-simple":
@@ -1716,45 +1738,45 @@ function Wn(e) {
1716
1738
  case "integer-width":
1717
1739
  if (i.options.length > 1)
1718
1740
  throw new RangeError("integer-width stems only accept a single optional option");
1719
- i.options[0].replace(Vn, function(l, u, h, f, c, m) {
1741
+ i.options[0].replace(Xn, function(l, u, h, f, c, p) {
1720
1742
  if (u)
1721
1743
  t.minimumIntegerDigits = h.length;
1722
1744
  else {
1723
1745
  if (f && c)
1724
1746
  throw new Error("We currently do not support maximum integer digits");
1725
- if (m)
1747
+ if (p)
1726
1748
  throw new Error("We currently do not support exact integer digits");
1727
1749
  }
1728
1750
  return "";
1729
1751
  });
1730
1752
  continue;
1731
1753
  }
1732
- if (lr.test(i.stem)) {
1754
+ if (fr.test(i.stem)) {
1733
1755
  t.minimumIntegerDigits = i.stem.length;
1734
1756
  continue;
1735
1757
  }
1736
- if (_t.test(i.stem)) {
1758
+ if (xt.test(i.stem)) {
1737
1759
  if (i.options.length > 1)
1738
1760
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1739
- i.stem.replace(_t, function(l, u, h, f, c, m) {
1740
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1761
+ i.stem.replace(xt, function(l, u, h, f, c, p) {
1762
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1741
1763
  });
1742
- var o = i.options[0];
1743
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Et(o)));
1764
+ var s = i.options[0];
1765
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), St(s)));
1744
1766
  continue;
1745
1767
  }
1746
- if (ur.test(i.stem)) {
1747
- t = _(_({}, t), Et(i.stem));
1768
+ if (cr.test(i.stem)) {
1769
+ t = _(_({}, t), St(i.stem));
1748
1770
  continue;
1749
1771
  }
1750
- var s = hr(i.stem);
1751
- s && (t = _(_({}, t), s));
1752
- var a = Xn(i.stem);
1772
+ var a = dr(i.stem);
1753
1773
  a && (t = _(_({}, t), a));
1774
+ var o = Wn(i.stem);
1775
+ o && (t = _(_({}, t), o));
1754
1776
  }
1755
1777
  return t;
1756
1778
  }
1757
- var be = {
1779
+ var me = {
1758
1780
  "001": [
1759
1781
  "H",
1760
1782
  "h"
@@ -3169,22 +3191,23 @@ var be = {
3169
3191
  "h"
3170
3192
  ]
3171
3193
  };
3172
- function zn(e, t) {
3194
+ function Zn(e, t) {
3173
3195
  for (var r = "", n = 0; n < e.length; n++) {
3174
3196
  var i = e.charAt(n);
3175
3197
  if (i === "j") {
3176
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3177
- o++, n++;
3178
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Zn(t);
3179
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3198
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3199
+ s++, n++;
3200
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Qn(t);
3201
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3180
3202
  r += l;
3181
- for (; s-- > 0; )
3203
+ for (; a-- > 0; )
3182
3204
  r = u + r;
3183
- } else i === "J" ? r += "H" : r += i;
3205
+ } else
3206
+ i === "J" ? r += "H" : r += i;
3184
3207
  }
3185
3208
  return r;
3186
3209
  }
3187
- function Zn(e) {
3210
+ function Qn(e) {
3188
3211
  var t = e.hourCycle;
3189
3212
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3190
3213
  e.hourCycles && // @ts-ignore
@@ -3203,23 +3226,23 @@ function Zn(e) {
3203
3226
  }
3204
3227
  var r = e.language, n;
3205
3228
  r !== "root" && (n = e.maximize().region);
3206
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3229
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3207
3230
  return i[0];
3208
3231
  }
3209
- var Me, Qn = new RegExp("^".concat(ar.source, "*")), Jn = new RegExp("".concat(ar.source, "*$"));
3232
+ var Re, Jn = new RegExp("^".concat(hr.source, "*")), qn = new RegExp("".concat(hr.source, "*$"));
3210
3233
  function v(e, t) {
3211
3234
  return { start: e, end: t };
3212
3235
  }
3213
- var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3236
+ var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, si = ii ? Number.isSafeInteger : function(e) {
3214
3237
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3215
- }, ze = !0;
3238
+ }, Ze = !0;
3216
3239
  try {
3217
- var oi = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3218
- ze = ((Me = oi.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3240
+ var oi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3241
+ Ze = ((Re = oi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3219
3242
  } catch (e) {
3220
- ze = !1;
3243
+ Ze = !1;
3221
3244
  }
3222
- var wt = qn ? (
3245
+ var Tt = Yn ? (
3223
3246
  // Native
3224
3247
  function(t, r, n) {
3225
3248
  return t.startsWith(r, n);
@@ -3229,31 +3252,31 @@ var wt = qn ? (
3229
3252
  function(t, r, n) {
3230
3253
  return t.slice(n, n + r.length) === r;
3231
3254
  }
3232
- ), Ze = Yn ? String.fromCodePoint : (
3255
+ ), Qe = Kn ? String.fromCodePoint : (
3233
3256
  // IE11
3234
3257
  function() {
3235
3258
  for (var t = [], r = 0; r < arguments.length; r++)
3236
3259
  t[r] = arguments[r];
3237
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3238
- if (s = t[o++], s > 1114111)
3239
- throw RangeError(s + " is not a valid code point");
3240
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3260
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
3261
+ if (a = t[s++], a > 1114111)
3262
+ throw RangeError(a + " is not a valid code point");
3263
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3241
3264
  }
3242
3265
  return n;
3243
3266
  }
3244
- ), St = (
3267
+ ), Ht = (
3245
3268
  // native
3246
- Kn ? Object.fromEntries : (
3269
+ ei ? Object.fromEntries : (
3247
3270
  // Ponyfill
3248
3271
  function(t) {
3249
3272
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3250
- var o = i[n], s = o[0], a = o[1];
3251
- r[s] = a;
3273
+ var s = i[n], a = s[0], o = s[1];
3274
+ r[a] = o;
3252
3275
  }
3253
3276
  return r;
3254
3277
  }
3255
3278
  )
3256
- ), cr = ei ? (
3279
+ ), pr = ti ? (
3257
3280
  // Native
3258
3281
  function(t, r) {
3259
3282
  return t.codePointAt(r);
@@ -3263,11 +3286,11 @@ var wt = qn ? (
3263
3286
  function(t, r) {
3264
3287
  var n = t.length;
3265
3288
  if (!(r < 0 || r >= n)) {
3266
- var i = t.charCodeAt(r), o;
3267
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3289
+ var i = t.charCodeAt(r), s;
3290
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3268
3291
  }
3269
3292
  }
3270
- ), si = ti ? (
3293
+ ), ai = ri ? (
3271
3294
  // Native
3272
3295
  function(t) {
3273
3296
  return t.trimStart();
@@ -3275,9 +3298,9 @@ var wt = qn ? (
3275
3298
  ) : (
3276
3299
  // Ponyfill
3277
3300
  function(t) {
3278
- return t.replace(Qn, "");
3301
+ return t.replace(Jn, "");
3279
3302
  }
3280
- ), ai = ri ? (
3303
+ ), ui = ni ? (
3281
3304
  // Native
3282
3305
  function(t) {
3283
3306
  return t.trimEnd();
@@ -3285,32 +3308,32 @@ var wt = qn ? (
3285
3308
  ) : (
3286
3309
  // Ponyfill
3287
3310
  function(t) {
3288
- return t.replace(Jn, "");
3311
+ return t.replace(qn, "");
3289
3312
  }
3290
3313
  );
3291
- function fr(e, t) {
3314
+ function mr(e, t) {
3292
3315
  return new RegExp(e, t);
3293
3316
  }
3294
- var Qe;
3295
- if (ze) {
3296
- var Tt = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3297
- Qe = function(t, r) {
3317
+ var Je;
3318
+ if (Ze) {
3319
+ var Bt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3320
+ Je = function(t, r) {
3298
3321
  var n;
3299
- Tt.lastIndex = r;
3300
- var i = Tt.exec(t);
3322
+ Bt.lastIndex = r;
3323
+ var i = Bt.exec(t);
3301
3324
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3302
3325
  };
3303
3326
  } else
3304
- Qe = function(t, r) {
3327
+ Je = function(t, r) {
3305
3328
  for (var n = []; ; ) {
3306
- var i = cr(t, r);
3307
- if (i === void 0 || dr(i) || ci(i))
3329
+ var i = pr(t, r);
3330
+ if (i === void 0 || br(i) || fi(i))
3308
3331
  break;
3309
3332
  n.push(i), r += i >= 65536 ? 2 : 1;
3310
3333
  }
3311
- return Ze.apply(void 0, n);
3334
+ return Qe.apply(void 0, n);
3312
3335
  };
3313
- var ui = (
3336
+ var li = (
3314
3337
  /** @class */
3315
3338
  function() {
3316
3339
  function e(t, r) {
@@ -3322,35 +3345,35 @@ var ui = (
3322
3345
  return this.parseMessage(0, "", !1);
3323
3346
  }, e.prototype.parseMessage = function(t, r, n) {
3324
3347
  for (var i = []; !this.isEOF(); ) {
3325
- var o = this.char();
3326
- if (o === 123) {
3327
- var s = this.parseArgument(t, n);
3328
- if (s.err)
3329
- return s;
3330
- i.push(s.val);
3348
+ var s = this.char();
3349
+ if (s === 123) {
3350
+ var a = this.parseArgument(t, n);
3351
+ if (a.err)
3352
+ return a;
3353
+ i.push(a.val);
3331
3354
  } else {
3332
- if (o === 125 && t > 0)
3355
+ if (s === 125 && t > 0)
3333
3356
  break;
3334
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3335
- var a = this.clonePosition();
3357
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3358
+ var o = this.clonePosition();
3336
3359
  this.bump(), i.push({
3337
3360
  type: E.pound,
3338
- location: v(a, this.clonePosition())
3361
+ location: v(o, this.clonePosition())
3339
3362
  });
3340
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3363
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3341
3364
  if (n)
3342
3365
  break;
3343
3366
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3344
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3345
- var s = this.parseTag(t, r);
3346
- if (s.err)
3347
- return s;
3348
- i.push(s.val);
3367
+ } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3368
+ var a = this.parseTag(t, r);
3369
+ if (a.err)
3370
+ return a;
3371
+ i.push(a.val);
3349
3372
  } else {
3350
- var s = this.parseLiteral(t, r);
3351
- if (s.err)
3352
- return s;
3353
- i.push(s.val);
3373
+ var a = this.parseLiteral(t, r);
3374
+ if (a.err)
3375
+ return a;
3376
+ i.push(a.val);
3354
3377
  }
3355
3378
  }
3356
3379
  }
@@ -3369,49 +3392,49 @@ var ui = (
3369
3392
  err: null
3370
3393
  };
3371
3394
  if (this.bumpIf(">")) {
3372
- var o = this.parseMessage(t + 1, r, !0);
3373
- if (o.err)
3374
- return o;
3375
- var s = o.val, a = this.clonePosition();
3395
+ var s = this.parseMessage(t + 1, r, !0);
3396
+ if (s.err)
3397
+ return s;
3398
+ var a = s.val, o = this.clonePosition();
3376
3399
  if (this.bumpIf("</")) {
3377
- if (this.isEOF() || !Je(this.char()))
3378
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3400
+ if (this.isEOF() || !qe(this.char()))
3401
+ return this.error(y.INVALID_TAG, v(o, this.clonePosition()));
3379
3402
  var l = this.clonePosition(), u = this.parseTagName();
3380
3403
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3381
3404
  val: {
3382
3405
  type: E.tag,
3383
3406
  value: i,
3384
- children: s,
3407
+ children: a,
3385
3408
  location: v(n, this.clonePosition())
3386
3409
  },
3387
3410
  err: null
3388
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3411
+ } : this.error(y.INVALID_TAG, v(o, this.clonePosition())));
3389
3412
  } else
3390
3413
  return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3391
3414
  } else
3392
3415
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3393
3416
  }, e.prototype.parseTagName = function() {
3394
3417
  var t = this.offset();
3395
- for (this.bump(); !this.isEOF() && hi(this.char()); )
3418
+ for (this.bump(); !this.isEOF() && ci(this.char()); )
3396
3419
  this.bump();
3397
3420
  return this.message.slice(t, this.offset());
3398
3421
  }, e.prototype.parseLiteral = function(t, r) {
3399
3422
  for (var n = this.clonePosition(), i = ""; ; ) {
3400
- var o = this.tryParseQuote(r);
3401
- if (o) {
3402
- i += o;
3403
- continue;
3404
- }
3405
- var s = this.tryParseUnquoted(t, r);
3423
+ var s = this.tryParseQuote(r);
3406
3424
  if (s) {
3407
3425
  i += s;
3408
3426
  continue;
3409
3427
  }
3410
- var a = this.tryParseLeftAngleBracket();
3428
+ var a = this.tryParseUnquoted(t, r);
3411
3429
  if (a) {
3412
3430
  i += a;
3413
3431
  continue;
3414
3432
  }
3433
+ var o = this.tryParseLeftAngleBracket();
3434
+ if (o) {
3435
+ i += o;
3436
+ continue;
3437
+ }
3415
3438
  break;
3416
3439
  }
3417
3440
  var l = v(n, this.clonePosition());
@@ -3421,7 +3444,7 @@ var ui = (
3421
3444
  };
3422
3445
  }, e.prototype.tryParseLeftAngleBracket = function() {
3423
3446
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3424
- !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3447
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3425
3448
  }, e.prototype.tryParseQuote = function(t) {
3426
3449
  if (this.isEOF() || this.char() !== 39)
3427
3450
  return null;
@@ -3455,12 +3478,12 @@ var ui = (
3455
3478
  r.push(n);
3456
3479
  this.bump();
3457
3480
  }
3458
- return Ze.apply(void 0, r);
3481
+ return Qe.apply(void 0, r);
3459
3482
  }, e.prototype.tryParseUnquoted = function(t, r) {
3460
3483
  if (this.isEOF())
3461
3484
  return null;
3462
3485
  var n = this.char();
3463
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3486
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3464
3487
  }, e.prototype.parseArgument = function(t, r) {
3465
3488
  var n = this.clonePosition();
3466
3489
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3489,15 +3512,15 @@ var ui = (
3489
3512
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3490
3513
  }
3491
3514
  }, e.prototype.parseIdentifierIfPossible = function() {
3492
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3515
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3493
3516
  this.bumpTo(i);
3494
- var o = this.clonePosition(), s = v(t, o);
3495
- return { value: n, location: s };
3517
+ var s = this.clonePosition(), a = v(t, s);
3518
+ return { value: n, location: a };
3496
3519
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3497
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3498
- switch (a) {
3520
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3521
+ switch (o) {
3499
3522
  case "":
3500
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
3523
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3501
3524
  case "number":
3502
3525
  case "date":
3503
3526
  case "time": {
@@ -3508,35 +3531,35 @@ var ui = (
3508
3531
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3509
3532
  if (f.err)
3510
3533
  return f;
3511
- var c = ai(f.val);
3534
+ var c = ui(f.val);
3512
3535
  if (c.length === 0)
3513
3536
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3514
- var m = v(h, this.clonePosition());
3515
- u = { style: c, styleLocation: m };
3537
+ var p = v(h, this.clonePosition());
3538
+ u = { style: c, styleLocation: p };
3516
3539
  }
3517
3540
  var b = this.tryParseArgumentClose(i);
3518
3541
  if (b.err)
3519
3542
  return b;
3520
3543
  var g = v(i, this.clonePosition());
3521
- if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3522
- var w = si(u.style.slice(2));
3523
- if (a === "number") {
3524
- var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3544
+ if (u && Tt(u == null ? void 0 : u.style, "::", 0)) {
3545
+ var S = ai(u.style.slice(2));
3546
+ if (o === "number") {
3547
+ var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3525
3548
  return f.err ? f : {
3526
3549
  val: { type: E.number, value: n, location: g, style: f.val },
3527
3550
  err: null
3528
3551
  };
3529
3552
  } else {
3530
- if (w.length === 0)
3553
+ if (S.length === 0)
3531
3554
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3532
- var I = w;
3533
- this.locale && (I = zn(w, this.locale));
3555
+ var I = S;
3556
+ this.locale && (I = Zn(S, this.locale));
3534
3557
  var c = {
3535
- type: ee.dateTime,
3558
+ type: te.dateTime,
3536
3559
  pattern: I,
3537
3560
  location: u.styleLocation,
3538
- parsedOptions: this.shouldParseSkeletons ? Gn(I) : {}
3539
- }, P = a === "date" ? E.date : E.time;
3561
+ parsedOptions: this.shouldParseSkeletons ? Fn(I) : {}
3562
+ }, P = o === "date" ? E.date : E.time;
3540
3563
  return {
3541
3564
  val: { type: P, value: n, location: g, style: c },
3542
3565
  err: null
@@ -3545,10 +3568,10 @@ var ui = (
3545
3568
  }
3546
3569
  return {
3547
3570
  val: {
3548
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3571
+ type: o === "number" ? E.number : o === "date" ? E.date : E.time,
3549
3572
  value: n,
3550
3573
  location: g,
3551
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3574
+ style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3552
3575
  },
3553
3576
  err: null
3554
3577
  };
@@ -3556,12 +3579,12 @@ var ui = (
3556
3579
  case "plural":
3557
3580
  case "selectordinal":
3558
3581
  case "select": {
3559
- var S = this.clonePosition();
3582
+ var w = this.clonePosition();
3560
3583
  if (this.bumpSpace(), !this.bumpIf(","))
3561
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
3584
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
3562
3585
  this.bumpSpace();
3563
3586
  var M = this.parseIdentifierIfPossible(), C = 0;
3564
- if (a !== "select" && M.value === "offset") {
3587
+ if (o !== "select" && M.value === "offset") {
3565
3588
  if (!this.bumpIf(":"))
3566
3589
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3567
3590
  this.bumpSpace();
@@ -3570,18 +3593,18 @@ var ui = (
3570
3593
  return f;
3571
3594
  this.bumpSpace(), M = this.parseIdentifierIfPossible(), C = f.val;
3572
3595
  }
3573
- var R = this.tryParsePluralOrSelectOptions(t, a, r, M);
3574
- if (R.err)
3575
- return R;
3596
+ var N = this.tryParsePluralOrSelectOptions(t, o, r, M);
3597
+ if (N.err)
3598
+ return N;
3576
3599
  var b = this.tryParseArgumentClose(i);
3577
3600
  if (b.err)
3578
3601
  return b;
3579
3602
  var x = v(i, this.clonePosition());
3580
- return a === "select" ? {
3603
+ return o === "select" ? {
3581
3604
  val: {
3582
3605
  type: E.select,
3583
3606
  value: n,
3584
- options: St(R.val),
3607
+ options: Ht(N.val),
3585
3608
  location: x
3586
3609
  },
3587
3610
  err: null
@@ -3589,16 +3612,16 @@ var ui = (
3589
3612
  val: {
3590
3613
  type: E.plural,
3591
3614
  value: n,
3592
- options: St(R.val),
3615
+ options: Ht(N.val),
3593
3616
  offset: C,
3594
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3617
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3595
3618
  location: x
3596
3619
  },
3597
3620
  err: null
3598
3621
  };
3599
3622
  }
3600
3623
  default:
3601
- return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
3624
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3602
3625
  }
3603
3626
  }, e.prototype.tryParseArgumentClose = function(t) {
3604
3627
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3640,21 +3663,21 @@ var ui = (
3640
3663
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3641
3664
  var n = [];
3642
3665
  try {
3643
- n = jn(t);
3666
+ n = kn(t);
3644
3667
  } catch (i) {
3645
3668
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3646
3669
  }
3647
3670
  return {
3648
3671
  val: {
3649
- type: ee.number,
3672
+ type: te.number,
3650
3673
  tokens: n,
3651
3674
  location: r,
3652
- parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3675
+ parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3653
3676
  },
3654
3677
  err: null
3655
3678
  };
3656
3679
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3657
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3680
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3658
3681
  if (u.length === 0) {
3659
3682
  var f = this.clonePosition();
3660
3683
  if (r !== "select" && this.bumpIf("=")) {
@@ -3667,37 +3690,37 @@ var ui = (
3667
3690
  }
3668
3691
  if (l.has(u))
3669
3692
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3670
- u === "other" && (s = !0), this.bumpSpace();
3671
- var m = this.clonePosition();
3693
+ u === "other" && (a = !0), this.bumpSpace();
3694
+ var p = this.clonePosition();
3672
3695
  if (!this.bumpIf("{"))
3673
3696
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3674
3697
  var b = this.parseMessage(t + 1, r, n);
3675
3698
  if (b.err)
3676
3699
  return b;
3677
- var g = this.tryParseArgumentClose(m);
3700
+ var g = this.tryParseArgumentClose(p);
3678
3701
  if (g.err)
3679
3702
  return g;
3680
- a.push([
3703
+ o.push([
3681
3704
  u,
3682
3705
  {
3683
3706
  value: b.val,
3684
- location: v(m, this.clonePosition())
3707
+ location: v(p, this.clonePosition())
3685
3708
  }
3686
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3709
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3687
3710
  }
3688
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3711
+ return o.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3689
3712
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3690
3713
  var n = 1, i = this.clonePosition();
3691
3714
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3692
- for (var o = !1, s = 0; !this.isEOF(); ) {
3693
- var a = this.char();
3694
- if (a >= 48 && a <= 57)
3695
- o = !0, s = s * 10 + (a - 48), this.bump();
3715
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3716
+ var o = this.char();
3717
+ if (o >= 48 && o <= 57)
3718
+ s = !0, a = a * 10 + (o - 48), this.bump();
3696
3719
  else
3697
3720
  break;
3698
3721
  }
3699
3722
  var l = v(i, this.clonePosition());
3700
- return o ? (s *= n, ii(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3723
+ return s ? (a *= n, si(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3701
3724
  }, e.prototype.offset = function() {
3702
3725
  return this.position.offset;
3703
3726
  }, e.prototype.isEOF = function() {
@@ -3712,7 +3735,7 @@ var ui = (
3712
3735
  var t = this.position.offset;
3713
3736
  if (t >= this.message.length)
3714
3737
  throw Error("out of bound");
3715
- var r = cr(this.message, t);
3738
+ var r = pr(this.message, t);
3716
3739
  if (r === void 0)
3717
3740
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3718
3741
  return r;
@@ -3731,7 +3754,7 @@ var ui = (
3731
3754
  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);
3732
3755
  }
3733
3756
  }, e.prototype.bumpIf = function(t) {
3734
- if (wt(this.message, t, this.offset())) {
3757
+ if (Tt(this.message, t, this.offset())) {
3735
3758
  for (var r = 0; r < t.length; r++)
3736
3759
  this.bump();
3737
3760
  return !0;
@@ -3753,7 +3776,7 @@ var ui = (
3753
3776
  break;
3754
3777
  }
3755
3778
  }, e.prototype.bumpSpace = function() {
3756
- for (; !this.isEOF() && dr(this.char()); )
3779
+ for (; !this.isEOF() && br(this.char()); )
3757
3780
  this.bump();
3758
3781
  }, e.prototype.peek = function() {
3759
3782
  if (this.isEOF())
@@ -3763,78 +3786,79 @@ var ui = (
3763
3786
  }, e;
3764
3787
  }()
3765
3788
  );
3766
- function Je(e) {
3789
+ function qe(e) {
3767
3790
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3768
3791
  }
3769
- function li(e) {
3770
- return Je(e) || e === 47;
3771
- }
3772
3792
  function hi(e) {
3793
+ return qe(e) || e === 47;
3794
+ }
3795
+ function ci(e) {
3773
3796
  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;
3774
3797
  }
3775
- function dr(e) {
3798
+ function br(e) {
3776
3799
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3777
3800
  }
3778
- function ci(e) {
3801
+ function fi(e) {
3779
3802
  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;
3780
3803
  }
3781
- function qe(e) {
3804
+ function Ye(e) {
3782
3805
  e.forEach(function(t) {
3783
- if (delete t.location, nr(t) || ir(t))
3806
+ if (delete t.location, or(t) || ar(t))
3784
3807
  for (var r in t.options)
3785
- delete t.options[r].location, qe(t.options[r].value);
3786
- else er(t) && sr(t.style) || (tr(t) || rr(t)) && We(t.style) ? delete t.style.location : or(t) && qe(t.children);
3808
+ delete t.options[r].location, Ye(t.options[r].value);
3809
+ else
3810
+ nr(t) && lr(t.style) || (ir(t) || sr(t)) && ze(t.style) ? delete t.style.location : ur(t) && Ye(t.children);
3787
3811
  });
3788
3812
  }
3789
- function fi(e, t) {
3813
+ function di(e, t) {
3790
3814
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3791
- var r = new ui(e, t).parse();
3815
+ var r = new li(e, t).parse();
3792
3816
  if (r.err) {
3793
3817
  var n = SyntaxError(y[r.err.kind]);
3794
3818
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3795
3819
  }
3796
- return t != null && t.captureLocation || qe(r.val), r.val;
3820
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3797
3821
  }
3798
- var te;
3822
+ var re;
3799
3823
  (function(e) {
3800
3824
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3801
- })(te || (te = {}));
3825
+ })(re || (re = {}));
3802
3826
  var Be = (
3803
3827
  /** @class */
3804
3828
  function(e) {
3805
3829
  G(t, e);
3806
3830
  function t(r, n, i) {
3807
- var o = e.call(this, r) || this;
3808
- return o.code = n, o.originalMessage = i, o;
3831
+ var s = e.call(this, r) || this;
3832
+ return s.code = n, s.originalMessage = i, s;
3809
3833
  }
3810
3834
  return t.prototype.toString = function() {
3811
3835
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3812
3836
  }, t;
3813
3837
  }(Error)
3814
- ), Ht = (
3838
+ ), Pt = (
3815
3839
  /** @class */
3816
3840
  function(e) {
3817
3841
  G(t, e);
3818
- function t(r, n, i, o) {
3819
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3842
+ function t(r, n, i, s) {
3843
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3820
3844
  }
3821
3845
  return t;
3822
3846
  }(Be)
3823
- ), di = (
3847
+ ), pi = (
3824
3848
  /** @class */
3825
3849
  function(e) {
3826
3850
  G(t, e);
3827
3851
  function t(r, n, i) {
3828
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3852
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3829
3853
  }
3830
3854
  return t;
3831
3855
  }(Be)
3832
- ), pi = (
3856
+ ), mi = (
3833
3857
  /** @class */
3834
3858
  function(e) {
3835
3859
  G(t, e);
3836
3860
  function t(r, n) {
3837
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3861
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3838
3862
  }
3839
3863
  return t;
3840
3864
  }(Be)
@@ -3842,124 +3866,124 @@ var Be = (
3842
3866
  (function(e) {
3843
3867
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3844
3868
  })(H || (H = {}));
3845
- function mi(e) {
3869
+ function bi(e) {
3846
3870
  return e.length < 2 ? e : e.reduce(function(t, r) {
3847
3871
  var n = t[t.length - 1];
3848
3872
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3849
3873
  }, []);
3850
3874
  }
3851
- function bi(e) {
3875
+ function yi(e) {
3852
3876
  return typeof e == "function";
3853
3877
  }
3854
- function _e(e, t, r, n, i, o, s) {
3855
- if (e.length === 1 && vt(e[0]))
3878
+ function ve(e, t, r, n, i, s, a) {
3879
+ if (e.length === 1 && Et(e[0]))
3856
3880
  return [
3857
3881
  {
3858
3882
  type: H.literal,
3859
3883
  value: e[0].value
3860
3884
  }
3861
3885
  ];
3862
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3886
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3863
3887
  var h = u[l];
3864
- if (vt(h)) {
3865
- a.push({
3888
+ if (Et(h)) {
3889
+ o.push({
3866
3890
  type: H.literal,
3867
3891
  value: h.value
3868
3892
  });
3869
3893
  continue;
3870
3894
  }
3871
- if (Dn(h)) {
3872
- typeof o == "number" && a.push({
3895
+ if (Un(h)) {
3896
+ typeof s == "number" && o.push({
3873
3897
  type: H.literal,
3874
- value: r.getNumberFormat(t).format(o)
3898
+ value: r.getNumberFormat(t).format(s)
3875
3899
  });
3876
3900
  continue;
3877
3901
  }
3878
3902
  var f = h.value;
3879
3903
  if (!(i && f in i))
3880
- throw new pi(f, s);
3904
+ throw new mi(f, a);
3881
3905
  var c = i[f];
3882
- if ($n(h)) {
3883
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3906
+ if (Dn(h)) {
3907
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3884
3908
  type: typeof c == "string" ? H.literal : H.object,
3885
3909
  value: c
3886
3910
  });
3887
3911
  continue;
3888
3912
  }
3889
- if (tr(h)) {
3890
- var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3891
- a.push({
3913
+ if (ir(h)) {
3914
+ var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3915
+ o.push({
3892
3916
  type: H.literal,
3893
- value: r.getDateTimeFormat(t, m).format(c)
3917
+ value: r.getDateTimeFormat(t, p).format(c)
3894
3918
  });
3895
3919
  continue;
3896
3920
  }
3897
- if (rr(h)) {
3898
- var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3899
- a.push({
3921
+ if (sr(h)) {
3922
+ var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3923
+ o.push({
3900
3924
  type: H.literal,
3901
- value: r.getDateTimeFormat(t, m).format(c)
3925
+ value: r.getDateTimeFormat(t, p).format(c)
3902
3926
  });
3903
3927
  continue;
3904
3928
  }
3905
- if (er(h)) {
3906
- var m = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3907
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3929
+ if (nr(h)) {
3930
+ var p = typeof h.style == "string" ? n.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3931
+ p && p.scale && (c = c * (p.scale || 1)), o.push({
3908
3932
  type: H.literal,
3909
- value: r.getNumberFormat(t, m).format(c)
3933
+ value: r.getNumberFormat(t, p).format(c)
3910
3934
  });
3911
3935
  continue;
3912
3936
  }
3913
- if (or(h)) {
3914
- var b = h.children, g = h.value, w = i[g];
3915
- if (!bi(w))
3916
- throw new di(g, "function", s);
3917
- var I = _e(b, t, r, n, i, o), P = w(I.map(function(C) {
3937
+ if (ur(h)) {
3938
+ var b = h.children, g = h.value, S = i[g];
3939
+ if (!yi(S))
3940
+ throw new pi(g, "function", a);
3941
+ var I = ve(b, t, r, n, i, s), P = S(I.map(function(C) {
3918
3942
  return C.value;
3919
3943
  }));
3920
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(C) {
3944
+ Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(C) {
3921
3945
  return {
3922
3946
  type: typeof C == "string" ? H.literal : H.object,
3923
3947
  value: C
3924
3948
  };
3925
3949
  }));
3926
3950
  }
3927
- if (nr(h)) {
3928
- var S = h.options[c] || h.options.other;
3929
- if (!S)
3930
- throw new Ht(h.value, c, Object.keys(h.options), s);
3931
- a.push.apply(a, _e(S.value, t, r, n, i));
3951
+ if (or(h)) {
3952
+ var w = h.options[c] || h.options.other;
3953
+ if (!w)
3954
+ throw new Pt(h.value, c, Object.keys(h.options), a);
3955
+ o.push.apply(o, ve(w.value, t, r, n, i));
3932
3956
  continue;
3933
3957
  }
3934
- if (ir(h)) {
3935
- var S = h.options["=".concat(c)];
3936
- if (!S) {
3958
+ if (ar(h)) {
3959
+ var w = h.options["=".concat(c)];
3960
+ if (!w) {
3937
3961
  if (!Intl.PluralRules)
3938
3962
  throw new Be(`Intl.PluralRules is not available in this environment.
3939
3963
  Try polyfilling it using "@formatjs/intl-pluralrules"
3940
- `, te.MISSING_INTL_API, s);
3964
+ `, re.MISSING_INTL_API, a);
3941
3965
  var M = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3942
- S = h.options[M] || h.options.other;
3966
+ w = h.options[M] || h.options.other;
3943
3967
  }
3944
- if (!S)
3945
- throw new Ht(h.value, c, Object.keys(h.options), s);
3946
- a.push.apply(a, _e(S.value, t, r, n, i, c - (h.offset || 0)));
3968
+ if (!w)
3969
+ throw new Pt(h.value, c, Object.keys(h.options), a);
3970
+ o.push.apply(o, ve(w.value, t, r, n, i, c - (h.offset || 0)));
3947
3971
  continue;
3948
3972
  }
3949
3973
  }
3950
- return mi(a);
3974
+ return bi(o);
3951
3975
  }
3952
- function yi(e, t) {
3976
+ function gi(e, t) {
3953
3977
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3954
3978
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3955
3979
  }, {})) : e;
3956
3980
  }
3957
- function gi(e, t) {
3981
+ function vi(e, t) {
3958
3982
  return t ? Object.keys(e).reduce(function(r, n) {
3959
- return r[n] = yi(e[n], t[n]), r;
3983
+ return r[n] = gi(e[n], t[n]), r;
3960
3984
  }, _({}, e)) : e;
3961
3985
  }
3962
- function Re(e) {
3986
+ function $e(e) {
3963
3987
  return {
3964
3988
  create: function() {
3965
3989
  return {
@@ -3973,50 +3997,50 @@ function Re(e) {
3973
3997
  }
3974
3998
  };
3975
3999
  }
3976
- function vi(e) {
4000
+ function _i(e) {
3977
4001
  return e === void 0 && (e = {
3978
4002
  number: {},
3979
4003
  dateTime: {},
3980
4004
  pluralRules: {}
3981
4005
  }), {
3982
- getNumberFormat: Le(function() {
4006
+ getNumberFormat: Me(function() {
3983
4007
  for (var t, r = [], n = 0; n < arguments.length; n++)
3984
4008
  r[n] = arguments[n];
3985
- return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
4009
+ return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
3986
4010
  }, {
3987
- cache: Re(e.number),
4011
+ cache: $e(e.number),
3988
4012
  strategy: Ne.variadic
3989
4013
  }),
3990
- getDateTimeFormat: Le(function() {
4014
+ getDateTimeFormat: Me(function() {
3991
4015
  for (var t, r = [], n = 0; n < arguments.length; n++)
3992
4016
  r[n] = arguments[n];
3993
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
4017
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
3994
4018
  }, {
3995
- cache: Re(e.dateTime),
4019
+ cache: $e(e.dateTime),
3996
4020
  strategy: Ne.variadic
3997
4021
  }),
3998
- getPluralRules: Le(function() {
4022
+ getPluralRules: Me(function() {
3999
4023
  for (var t, r = [], n = 0; n < arguments.length; n++)
4000
4024
  r[n] = arguments[n];
4001
- return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
4025
+ return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4002
4026
  }, {
4003
- cache: Re(e.pluralRules),
4027
+ cache: $e(e.pluralRules),
4004
4028
  strategy: Ne.variadic
4005
4029
  })
4006
4030
  };
4007
4031
  }
4008
- var _i = (
4032
+ var Ei = (
4009
4033
  /** @class */
4010
4034
  function() {
4011
4035
  function e(t, r, n, i) {
4012
4036
  r === void 0 && (r = e.defaultLocale);
4013
- var o = this;
4037
+ var s = this;
4014
4038
  if (this.formatterCache = {
4015
4039
  number: {},
4016
4040
  dateTime: {},
4017
4041
  pluralRules: {}
4018
4042
  }, this.format = function(l) {
4019
- var u = o.formatToParts(l);
4043
+ var u = s.formatToParts(l);
4020
4044
  if (u.length === 1)
4021
4045
  return u[0].value;
4022
4046
  var h = u.reduce(function(f, c) {
@@ -4024,26 +4048,26 @@ var _i = (
4024
4048
  }, []);
4025
4049
  return h.length <= 1 ? h[0] || "" : h;
4026
4050
  }, this.formatToParts = function(l) {
4027
- return _e(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4051
+ return ve(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4028
4052
  }, this.resolvedOptions = function() {
4029
4053
  var l;
4030
4054
  return {
4031
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4055
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4032
4056
  };
4033
4057
  }, this.getAst = function() {
4034
- return o.ast;
4058
+ return s.ast;
4035
4059
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4036
4060
  if (this.message = t, !e.__parse)
4037
4061
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4038
- var s = i || {};
4039
- s.formatters;
4040
- var a = qr(s, ["formatters"]);
4041
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
4062
+ var a = i || {};
4063
+ a.formatters;
4064
+ var o = Kr(a, ["formatters"]);
4065
+ this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
4042
4066
  } else
4043
4067
  this.ast = t;
4044
4068
  if (!Array.isArray(this.ast))
4045
4069
  throw new TypeError("A message must be provided as a String or AST.");
4046
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
4070
+ this.formats = vi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
4047
4071
  }
4048
4072
  return Object.defineProperty(e, "defaultLocale", {
4049
4073
  get: function() {
@@ -4056,7 +4080,7 @@ var _i = (
4056
4080
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4057
4081
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4058
4082
  }
4059
- }, e.__parse = fi, e.formats = {
4083
+ }, e.__parse = di, e.formats = {
4060
4084
  number: {
4061
4085
  integer: {
4062
4086
  maximumFractionDigits: 0
@@ -4117,7 +4141,7 @@ var _i = (
4117
4141
  }, e;
4118
4142
  }()
4119
4143
  );
4120
- function Ei(e, t) {
4144
+ function xi(e, t) {
4121
4145
  if (t == null)
4122
4146
  return;
4123
4147
  if (t in e)
@@ -4127,9 +4151,9 @@ function Ei(e, t) {
4127
4151
  for (let i = 0; i < r.length; i++)
4128
4152
  if (typeof n == "object") {
4129
4153
  if (i > 0) {
4130
- const o = r.slice(i, r.length).join(".");
4131
- if (o in n) {
4132
- n = n[o];
4154
+ const s = r.slice(i, r.length).join(".");
4155
+ if (s in n) {
4156
+ n = n[s];
4133
4157
  break;
4134
4158
  }
4135
4159
  }
@@ -4138,92 +4162,92 @@ function Ei(e, t) {
4138
4162
  n = void 0;
4139
4163
  return n;
4140
4164
  }
4141
- const j = {}, xi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), pr = (e, t) => {
4165
+ const j = {}, Si = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), yr = (e, t) => {
4142
4166
  if (t == null)
4143
4167
  return;
4144
4168
  if (t in j && e in j[t])
4145
4169
  return j[t][e];
4146
4170
  const r = Pe(t);
4147
4171
  for (let n = 0; n < r.length; n++) {
4148
- const i = r[n], o = Si(i, e);
4149
- if (o)
4150
- return xi(e, t, o);
4172
+ const i = r[n], s = Ti(i, e);
4173
+ if (s)
4174
+ return Si(e, t, s);
4151
4175
  }
4152
4176
  };
4153
- let tt;
4177
+ let it;
4154
4178
  const fe = He({});
4155
4179
  function wi(e) {
4156
- return tt[e] || null;
4180
+ return it[e] || null;
4157
4181
  }
4158
- function mr(e) {
4159
- return e in tt;
4182
+ function gr(e) {
4183
+ return e in it;
4160
4184
  }
4161
- function Si(e, t) {
4162
- if (!mr(e))
4185
+ function Ti(e, t) {
4186
+ if (!gr(e))
4163
4187
  return null;
4164
4188
  const r = wi(e);
4165
- return Ei(r, t);
4189
+ return xi(r, t);
4166
4190
  }
4167
- function Ti(e) {
4191
+ function Hi(e) {
4168
4192
  if (e == null)
4169
4193
  return;
4170
4194
  const t = Pe(e);
4171
4195
  for (let r = 0; r < t.length; r++) {
4172
4196
  const n = t[r];
4173
- if (mr(n))
4197
+ if (gr(n))
4174
4198
  return n;
4175
4199
  }
4176
4200
  }
4177
- function br(e, ...t) {
4178
- delete j[e], fe.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4201
+ function vr(e, ...t) {
4202
+ delete j[e], fe.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4179
4203
  }
4180
- ne(
4204
+ ie(
4181
4205
  [fe],
4182
4206
  ([e]) => Object.keys(e)
4183
4207
  );
4184
- fe.subscribe((e) => tt = e);
4185
- const Ee = {};
4186
- function Hi(e, t) {
4187
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4208
+ fe.subscribe((e) => it = e);
4209
+ const _e = {};
4210
+ function Bi(e, t) {
4211
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4188
4212
  }
4189
- function yr(e) {
4190
- return Ee[e];
4213
+ function _r(e) {
4214
+ return _e[e];
4191
4215
  }
4192
- function Bi(e) {
4216
+ function Pi(e) {
4193
4217
  return Pe(e).map((t) => {
4194
- const r = yr(t);
4218
+ const r = _r(t);
4195
4219
  return [t, r ? [...r] : []];
4196
4220
  }).filter(([, t]) => t.length > 0);
4197
4221
  }
4198
- function Ye(e) {
4222
+ function Ke(e) {
4199
4223
  return e == null ? !1 : Pe(e).some(
4200
4224
  (t) => {
4201
4225
  var r;
4202
- return (r = yr(t)) == null ? void 0 : r.size;
4226
+ return (r = _r(t)) == null ? void 0 : r.size;
4203
4227
  }
4204
4228
  );
4205
4229
  }
4206
- function Pi(e, t) {
4230
+ function Ai(e, t) {
4207
4231
  return Promise.all(
4208
- t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4209
- ).then((n) => br(e, ...n));
4210
- }
4211
- const se = {};
4212
- function gr(e) {
4213
- if (!Ye(e))
4214
- return e in se ? se[e] : Promise.resolve();
4215
- const t = Bi(e);
4216
- return se[e] = Promise.all(
4232
+ t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4233
+ ).then((n) => vr(e, ...n));
4234
+ }
4235
+ const ae = {};
4236
+ function Er(e) {
4237
+ if (!Ke(e))
4238
+ return e in ae ? ae[e] : Promise.resolve();
4239
+ const t = Pi(e);
4240
+ return ae[e] = Promise.all(
4217
4241
  t.map(
4218
- ([r, n]) => Pi(r, n)
4242
+ ([r, n]) => Ai(r, n)
4219
4243
  )
4220
4244
  ).then(() => {
4221
- if (Ye(e))
4222
- return gr(e);
4223
- delete se[e];
4224
- }), se[e];
4245
+ if (Ke(e))
4246
+ return Er(e);
4247
+ delete ae[e];
4248
+ }), ae[e];
4225
4249
  }
4226
- const Ai = {
4250
+ const Oi = {
4227
4251
  number: {
4228
4252
  scientific: { notation: "scientific" },
4229
4253
  engineering: { notation: "engineering" },
@@ -4252,57 +4276,57 @@ const Ai = {
4252
4276
  timeZoneName: "short"
4253
4277
  }
4254
4278
  }
4255
- }, Oi = {
4279
+ }, Ii = {
4256
4280
  fallbackLocale: null,
4257
4281
  loadingDelay: 200,
4258
- formats: Ai,
4282
+ formats: Oi,
4259
4283
  warnOnMissingMessages: !0,
4260
4284
  handleMissingMessage: void 0,
4261
4285
  ignoreTag: !0
4262
- }, Ii = Oi;
4263
- function re() {
4264
- return Ii;
4286
+ }, Ci = Ii;
4287
+ function ne() {
4288
+ return Ci;
4265
4289
  }
4266
- const $e = He(!1);
4267
- var Ci = Object.defineProperty, Li = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
4290
+ const De = He(!1);
4291
+ var Li = Object.defineProperty, Mi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4268
4292
  for (var r in t || (t = {}))
4269
- Mi.call(t, r) && Pt(e, r, t[r]);
4270
- if (Bt)
4271
- for (var r of Bt(t))
4272
- Ri.call(t, r) && Pt(e, r, t[r]);
4293
+ Ri.call(t, r) && Ot(e, r, t[r]);
4294
+ if (At)
4295
+ for (var r of At(t))
4296
+ $i.call(t, r) && Ot(e, r, t[r]);
4273
4297
  return e;
4274
- }, Di = (e, t) => Li(e, Ni(t));
4275
- let Ke;
4276
- const xe = He(null);
4277
- function At(e) {
4298
+ }, Ui = (e, t) => Mi(e, Ni(t));
4299
+ let et;
4300
+ const Ee = He(null);
4301
+ function It(e) {
4278
4302
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4279
4303
  }
4280
- function Pe(e, t = re().fallbackLocale) {
4281
- const r = At(e);
4282
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4304
+ function Pe(e, t = ne().fallbackLocale) {
4305
+ const r = It(e);
4306
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4283
4307
  }
4284
4308
  function z() {
4285
- return Ke != null ? Ke : void 0;
4309
+ return et != null ? et : void 0;
4286
4310
  }
4287
- xe.subscribe((e) => {
4288
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4311
+ Ee.subscribe((e) => {
4312
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4289
4313
  });
4290
- const Ui = (e) => {
4291
- if (e && Ti(e) && Ye(e)) {
4292
- const { loadingDelay: t } = re();
4314
+ const Gi = (e) => {
4315
+ if (e && Hi(e) && Ke(e)) {
4316
+ const { loadingDelay: t } = ne();
4293
4317
  let r;
4294
4318
  return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
4295
- () => $e.set(!0),
4319
+ () => De.set(!0),
4296
4320
  t
4297
- ) : $e.set(!0), gr(e).then(() => {
4298
- xe.set(e);
4321
+ ) : De.set(!0), Er(e).then(() => {
4322
+ Ee.set(e);
4299
4323
  }).finally(() => {
4300
- clearTimeout(r), $e.set(!1);
4324
+ clearTimeout(r), De.set(!1);
4301
4325
  });
4302
4326
  }
4303
- return xe.set(e);
4304
- }, ie = Di($i({}, xe), {
4305
- set: Ui
4327
+ return Ee.set(e);
4328
+ }, se = Ui(Di({}, Ee), {
4329
+ set: Gi
4306
4330
  }), Ae = (e) => {
4307
4331
  const t = /* @__PURE__ */ Object.create(null);
4308
4332
  return (n) => {
@@ -4310,101 +4334,101 @@ const Ui = (e) => {
4310
4334
  return i in t ? t[i] : t[i] = e(n);
4311
4335
  };
4312
4336
  };
4313
- var Gi = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4337
+ var Fi = Object.defineProperty, xe = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4314
4338
  for (var r in t || (t = {}))
4315
- vr.call(t, r) && Ot(e, r, t[r]);
4316
- if (we)
4317
- for (var r of we(t))
4318
- _r.call(t, r) && Ot(e, r, t[r]);
4339
+ xr.call(t, r) && Ct(e, r, t[r]);
4340
+ if (xe)
4341
+ for (var r of xe(t))
4342
+ Sr.call(t, r) && Ct(e, r, t[r]);
4319
4343
  return e;
4320
4344
  }, oe = (e, t) => {
4321
4345
  var r = {};
4322
4346
  for (var n in e)
4323
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4324
- if (e != null && we)
4325
- for (var n of we(e))
4326
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4347
+ xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4348
+ if (e != null && xe)
4349
+ for (var n of xe(e))
4350
+ t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4327
4351
  return r;
4328
4352
  };
4329
- const he = (e, t) => {
4330
- const { formats: r } = re();
4353
+ const ce = (e, t) => {
4354
+ const { formats: r } = ne();
4331
4355
  if (e in r && t in r[e])
4332
4356
  return r[e][t];
4333
4357
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4334
- }, Fi = Ae(
4358
+ }, ji = Ae(
4335
4359
  (e) => {
4336
4360
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4337
4361
  if (r == null)
4338
4362
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4339
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4363
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4340
4364
  }
4341
- ), ji = Ae(
4365
+ ), ki = Ae(
4342
4366
  (e) => {
4343
4367
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4344
4368
  if (r == null)
4345
4369
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4346
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4370
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4347
4371
  }
4348
- ), ki = Ae(
4372
+ ), Vi = Ae(
4349
4373
  (e) => {
4350
4374
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4351
4375
  if (r == null)
4352
4376
  throw new Error(
4353
4377
  '[svelte-i18n] A "locale" must be set to format time values'
4354
4378
  );
4355
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4379
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4356
4380
  }
4357
- ), Vi = (e = {}) => {
4381
+ ), Xi = (e = {}) => {
4358
4382
  var t = e, {
4359
4383
  locale: r = z()
4360
4384
  } = t, n = oe(t, [
4361
4385
  "locale"
4362
4386
  ]);
4363
- return Fi(rt({ locale: r }, n));
4364
- }, Xi = (e = {}) => {
4387
+ return ji(st({ locale: r }, n));
4388
+ }, Wi = (e = {}) => {
4365
4389
  var t = e, {
4366
4390
  locale: r = z()
4367
4391
  } = t, n = oe(t, [
4368
4392
  "locale"
4369
4393
  ]);
4370
- return ji(rt({ locale: r }, n));
4371
- }, Wi = (e = {}) => {
4394
+ return ki(st({ locale: r }, n));
4395
+ }, zi = (e = {}) => {
4372
4396
  var t = e, {
4373
4397
  locale: r = z()
4374
4398
  } = t, n = oe(t, [
4375
4399
  "locale"
4376
4400
  ]);
4377
- return ki(rt({ locale: r }, n));
4378
- }, zi = Ae(
4401
+ return Vi(st({ locale: r }, n));
4402
+ }, Zi = Ae(
4379
4403
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4380
- (e, t = z()) => new _i(e, t, re().formats, {
4381
- ignoreTag: re().ignoreTag
4404
+ (e, t = z()) => new Ei(e, t, ne().formats, {
4405
+ ignoreTag: ne().ignoreTag
4382
4406
  })
4383
- ), Zi = (e, t = {}) => {
4384
- var r, n, i, o;
4385
- let s = t;
4386
- typeof e == "object" && (s = e, e = s.id);
4407
+ ), Qi = (e, t = {}) => {
4408
+ var r, n, i, s;
4409
+ let a = t;
4410
+ typeof e == "object" && (a = e, e = a.id);
4387
4411
  const {
4388
- values: a,
4412
+ values: o,
4389
4413
  locale: l = z(),
4390
4414
  default: u
4391
- } = s;
4415
+ } = a;
4392
4416
  if (l == null)
4393
4417
  throw new Error(
4394
4418
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4395
4419
  );
4396
- let h = pr(e, l);
4420
+ let h = yr(e, l);
4397
4421
  if (!h)
4398
- h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4422
+ h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4399
4423
  else if (typeof h != "string")
4400
4424
  return console.warn(
4401
4425
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4402
4426
  ), h;
4403
- if (!a)
4427
+ if (!o)
4404
4428
  return h;
4405
4429
  let f = h;
4406
4430
  try {
4407
- f = zi(h, l).format(a);
4431
+ f = Zi(h, l).format(o);
4408
4432
  } catch (c) {
4409
4433
  c instanceof Error && console.warn(
4410
4434
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4412,16 +4436,16 @@ const he = (e, t) => {
4412
4436
  );
4413
4437
  }
4414
4438
  return f;
4415
- }, Qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), qi = (e, t) => Vi(t).format(e), Yi = (e, t = z()) => pr(e, t), Ki = ne([ie, fe], () => Zi);
4416
- ne([ie], () => Qi);
4417
- ne([ie], () => Ji);
4418
- ne([ie], () => qi);
4419
- ne([ie, fe], () => Yi);
4420
- window.emWidgets = { topic: fn };
4421
- const Er = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4422
- function Lo(e, t) {
4439
+ }, Ji = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = z()) => yr(e, t), es = ie([se, fe], () => Qi);
4440
+ ie([se], () => Ji);
4441
+ ie([se], () => qi);
4442
+ ie([se], () => Yi);
4443
+ ie([se, fe], () => Ki);
4444
+ window.emWidgets = { topic: pn };
4445
+ const wr = (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)), ts = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4446
+ function Ls(e, t) {
4423
4447
  const r = window.navigator.userAgent;
4424
- return Er(r) ? t = e.filter((n) => {
4448
+ return wr(r) ? t = e.filter((n) => {
4425
4449
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4426
4450
  return n;
4427
4451
  }) : t = e.filter((n) => {
@@ -4429,13 +4453,13 @@ function Lo(e, t) {
4429
4453
  return n;
4430
4454
  }), t;
4431
4455
  }
4432
- function to(e, t) {
4456
+ function rs(e, t) {
4433
4457
  if (e) {
4434
4458
  const r = document.createElement("style");
4435
4459
  r.innerHTML = t, e.appendChild(r);
4436
4460
  }
4437
4461
  }
4438
- function ro(e, t) {
4462
+ function ns(e, t) {
4439
4463
  const r = new URL(t);
4440
4464
  fetch(r.href).then((n) => n.text()).then((n) => {
4441
4465
  const i = document.createElement("style");
@@ -4444,7 +4468,7 @@ function ro(e, t) {
4444
4468
  console.error("There was an error while trying to load client styling from URL", n);
4445
4469
  });
4446
4470
  }
4447
- function no(e, t, r) {
4471
+ function is(e, t, r) {
4448
4472
  if (window.emMessageBus) {
4449
4473
  const n = document.createElement("style");
4450
4474
  window.emMessageBus.subscribe(t, (i) => {
@@ -4452,13 +4476,13 @@ function no(e, t, r) {
4452
4476
  });
4453
4477
  }
4454
4478
  }
4455
- function It(e, t) {
4456
- br(e, t);
4479
+ function Lt(e, t) {
4480
+ vr(e, t);
4457
4481
  }
4458
- function io(e) {
4459
- ie.set(e);
4482
+ function ss(e) {
4483
+ se.set(e);
4460
4484
  }
4461
- const Ct = {
4485
+ const Mt = {
4462
4486
  en: {
4463
4487
  error: "500 Error - Internal Server Error"
4464
4488
  },
@@ -4490,7 +4514,7 @@ if (typeof window != "undefined") {
4490
4514
  }
4491
4515
  };
4492
4516
  };
4493
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CehhK4Vt.js").then(({ default: t }) => {
4517
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-C6Shuvfx.js").then(({ default: t }) => {
4494
4518
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4495
4519
  });
4496
4520
  }
@@ -4506,255 +4530,255 @@ if (typeof window != "undefined") {
4506
4530
  }
4507
4531
  };
4508
4532
  };
4509
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-Cf-elj80.js").then(({ default: t }) => {
4533
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BLMalLZx.js").then(({ default: t }) => {
4510
4534
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4511
4535
  });
4512
4536
  }
4513
- function oo(e) {
4514
- Ir(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4537
+ function os(e) {
4538
+ Mr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4515
4539
  }.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4516
4540
  }
4517
- function Lt(e, t, r) {
4541
+ function Nt(e, t, r) {
4518
4542
  const n = e.slice();
4519
4543
  return n[25] = t[r], n[27] = r, n;
4520
4544
  }
4521
- function so(e) {
4522
- let t, r, n, i = ht(
4545
+ function as(e) {
4546
+ let t, r, n, i = ft(
4523
4547
  /*calendarCollections*/
4524
4548
  e[6]
4525
- ), o = [];
4526
- for (let a = 0; a < i.length; a += 1)
4527
- o[a] = Nt(Lt(e, i, a));
4528
- let s = (
4549
+ ), s = [];
4550
+ for (let o = 0; o < i.length; o += 1)
4551
+ s[o] = Rt(Nt(e, i, o));
4552
+ let a = (
4529
4553
  /*calendarModalOpened*/
4530
- e[11] == !0 && Mt(e)
4554
+ e[11] == !0 && $t(e)
4531
4555
  );
4532
4556
  return {
4533
4557
  c() {
4534
- t = N("div");
4535
- for (let a = 0; a < o.length; a += 1)
4536
- o[a].c();
4537
- r = Rr(), s && s.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4558
+ t = $("div");
4559
+ for (let o = 0; o < s.length; o += 1)
4560
+ s[o].c();
4561
+ r = Ur(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4538
4562
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4539
4563
  },
4540
- m(a, l) {
4541
- V(a, t, l);
4542
- for (let u = 0; u < o.length; u += 1)
4543
- o[u] && o[u].m(t, null);
4544
- ce(t, r), s && s.m(t, null);
4564
+ m(o, l) {
4565
+ V(o, t, l);
4566
+ for (let u = 0; u < s.length; u += 1)
4567
+ s[u] && s[u].m(t, null);
4568
+ we(t, r), a && a.m(t, null);
4545
4569
  },
4546
- p(a, l) {
4570
+ p(o, l) {
4547
4571
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4548
4572
  95) {
4549
- i = ht(
4573
+ i = ft(
4550
4574
  /*calendarCollections*/
4551
- a[6]
4575
+ o[6]
4552
4576
  );
4553
4577
  let u;
4554
4578
  for (u = 0; u < i.length; u += 1) {
4555
- const h = Lt(a, i, u);
4556
- o[u] ? o[u].p(h, l) : (o[u] = Nt(h), o[u].c(), o[u].m(t, r));
4579
+ const h = Nt(o, i, u);
4580
+ s[u] ? s[u].p(h, l) : (s[u] = Rt(h), s[u].c(), s[u].m(t, r));
4557
4581
  }
4558
- for (; u < o.length; u += 1)
4559
- o[u].d(1);
4560
- o.length = i.length;
4582
+ for (; u < s.length; u += 1)
4583
+ s[u].d(1);
4584
+ s.length = i.length;
4561
4585
  }
4562
4586
  /*calendarModalOpened*/
4563
- a[11] == !0 ? s ? s.p(a, l) : (s = Mt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), l & /*mobileView*/
4587
+ o[11] == !0 ? a ? a.p(o, l) : (a = $t(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4564
4588
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4565
- (a[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4589
+ (o[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4566
4590
  },
4567
- d(a) {
4568
- a && D(t), Nr(o, a), s && s.d();
4591
+ d(o) {
4592
+ o && U(t), $r(s, o), a && a.d();
4569
4593
  }
4570
4594
  };
4571
4595
  }
4572
- function ao(e) {
4596
+ function us(e) {
4573
4597
  let t;
4574
4598
  return {
4575
4599
  c() {
4576
- t = N("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4600
+ t = $("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4577
4601
  },
4578
4602
  m(r, n) {
4579
4603
  V(r, t, n);
4580
4604
  },
4581
4605
  p: O,
4582
4606
  d(r) {
4583
- r && D(t);
4607
+ r && U(t);
4584
4608
  }
4585
4609
  };
4586
4610
  }
4587
- function uo(e) {
4611
+ function ls(e) {
4588
4612
  let t, r = (
4589
4613
  /*$_*/
4590
4614
  e[12]("error") + ""
4591
4615
  ), n;
4592
4616
  return {
4593
4617
  c() {
4594
- t = N("p"), n = et(r), k(t, "class", "SearchLoading svelte-61avp5");
4618
+ t = $("p"), n = tt(r), k(t, "class", "SearchLoading svelte-61avp5");
4595
4619
  },
4596
- m(i, o) {
4597
- V(i, t, o), ce(t, n);
4620
+ m(i, s) {
4621
+ V(i, t, s), we(t, n);
4598
4622
  },
4599
- p(i, o) {
4600
- o & /*$_*/
4623
+ p(i, s) {
4624
+ s & /*$_*/
4601
4625
  4096 && r !== (r = /*$_*/
4602
- i[12]("error") + "") && Dr(n, r);
4626
+ i[12]("error") + "") && Fr(n, r);
4603
4627
  },
4604
4628
  d(i) {
4605
- i && D(t);
4629
+ i && U(t);
4606
4630
  }
4607
4631
  };
4608
4632
  }
4609
- function Nt(e) {
4610
- let t, r, n, i, o, s;
4633
+ function Rt(e) {
4634
+ let t, r, n, i, s, a;
4611
4635
  return {
4612
4636
  c() {
4613
- t = N("casino-calendar-daily-item"), p(t, "dailybackground", r = /*dailyCalendarData*/
4614
- e[25].dailyBackground), p(t, "dailyicon", n = /*dailyCalendarData*/
4615
- e[25].dailyIcon), p(t, "dailyday", i = /*dailyCalendarData*/
4616
- e[25].dailyDay), p(t, "dailydescription", o = /*dailyCalendarData*/
4617
- e[25].dailyDescription), p(t, "dailybuttontitle", s = /*dailyCalendarData*/
4618
- e[25].dailyButtonTitle), p(
4637
+ t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4638
+ e[25].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4639
+ e[25].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4640
+ e[25].dailyDay), d(t, "dailydescription", s = /*dailyCalendarData*/
4641
+ e[25].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
4642
+ e[25].dailyButtonTitle), d(
4619
4643
  t,
4620
4644
  "index",
4621
4645
  /*index*/
4622
4646
  e[27]
4623
- ), p(
4647
+ ), d(
4624
4648
  t,
4625
4649
  "lang",
4626
4650
  /*lang*/
4627
4651
  e[0]
4628
- ), p(
4652
+ ), d(
4629
4653
  t,
4630
4654
  "clientstyling",
4631
4655
  /*clientstyling*/
4632
4656
  e[1]
4633
- ), p(
4657
+ ), d(
4634
4658
  t,
4635
4659
  "clientstylingurl",
4636
4660
  /*clientstylingurl*/
4637
4661
  e[2]
4638
- ), p(
4662
+ ), d(
4639
4663
  t,
4640
4664
  "mbsource",
4641
4665
  /*mbsource*/
4642
4666
  e[4]
4643
- ), p(
4667
+ ), d(
4644
4668
  t,
4645
4669
  "translationurl",
4646
4670
  /*translationurl*/
4647
4671
  e[3]
4648
- ), p(t, "class", "svelte-61avp5");
4672
+ ), d(t, "class", "svelte-61avp5");
4649
4673
  },
4650
- m(a, l) {
4651
- V(a, t, l);
4674
+ m(o, l) {
4675
+ V(o, t, l);
4652
4676
  },
4653
- p(a, l) {
4677
+ p(o, l) {
4654
4678
  l & /*calendarCollections*/
4655
4679
  64 && r !== (r = /*dailyCalendarData*/
4656
- a[25].dailyBackground) && p(t, "dailybackground", r), l & /*calendarCollections*/
4680
+ o[25].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4657
4681
  64 && n !== (n = /*dailyCalendarData*/
4658
- a[25].dailyIcon) && p(t, "dailyicon", n), l & /*calendarCollections*/
4682
+ o[25].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4659
4683
  64 && i !== (i = /*dailyCalendarData*/
4660
- a[25].dailyDay) && p(t, "dailyday", i), l & /*calendarCollections*/
4661
- 64 && o !== (o = /*dailyCalendarData*/
4662
- a[25].dailyDescription) && p(t, "dailydescription", o), l & /*calendarCollections*/
4684
+ o[25].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4663
4685
  64 && s !== (s = /*dailyCalendarData*/
4664
- a[25].dailyButtonTitle) && p(t, "dailybuttontitle", s), l & /*lang*/
4665
- 1 && p(
4686
+ o[25].dailyDescription) && d(t, "dailydescription", s), l & /*calendarCollections*/
4687
+ 64 && a !== (a = /*dailyCalendarData*/
4688
+ o[25].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4689
+ 1 && d(
4666
4690
  t,
4667
4691
  "lang",
4668
4692
  /*lang*/
4669
- a[0]
4693
+ o[0]
4670
4694
  ), l & /*clientstyling*/
4671
- 2 && p(
4695
+ 2 && d(
4672
4696
  t,
4673
4697
  "clientstyling",
4674
4698
  /*clientstyling*/
4675
- a[1]
4699
+ o[1]
4676
4700
  ), l & /*clientstylingurl*/
4677
- 4 && p(
4701
+ 4 && d(
4678
4702
  t,
4679
4703
  "clientstylingurl",
4680
4704
  /*clientstylingurl*/
4681
- a[2]
4705
+ o[2]
4682
4706
  ), l & /*mbsource*/
4683
- 16 && p(
4707
+ 16 && d(
4684
4708
  t,
4685
4709
  "mbsource",
4686
4710
  /*mbsource*/
4687
- a[4]
4711
+ o[4]
4688
4712
  ), l & /*translationurl*/
4689
- 8 && p(
4713
+ 8 && d(
4690
4714
  t,
4691
4715
  "translationurl",
4692
4716
  /*translationurl*/
4693
- a[3]
4717
+ o[3]
4694
4718
  );
4695
4719
  },
4696
- d(a) {
4697
- a && D(t);
4720
+ d(o) {
4721
+ o && U(t);
4698
4722
  }
4699
4723
  };
4700
4724
  }
4701
- function Mt(e) {
4702
- let t, r, n, i, o, s, a, l;
4725
+ function $t(e) {
4726
+ let t, r, n, i, s, a, o, l;
4703
4727
  return {
4704
4728
  c() {
4705
- t = N("div"), r = N("casino-calendar-daily-details"), p(r, "dailybackground", n = /*calendarCollections*/
4729
+ t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4706
4730
  e[6][
4707
4731
  /*selectedIndex*/
4708
4732
  e[7]
4709
- ].dailyBackground), p(r, "dailybuttontitle", i = /*calendarCollections*/
4733
+ ].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
4710
4734
  e[6][
4711
4735
  /*selectedIndex*/
4712
4736
  e[7]
4713
- ].dailyButtonTitle), p(r, "dailyday", o = /*calendarCollections*/
4737
+ ].dailyButtonTitle), d(r, "dailyday", s = /*calendarCollections*/
4714
4738
  e[6][
4715
4739
  /*selectedIndex*/
4716
4740
  e[7]
4717
- ].dailyDay), p(r, "dailydescription", s = /*calendarCollections*/
4741
+ ].dailyDay), d(r, "dailydescription", a = /*calendarCollections*/
4718
4742
  e[6][
4719
4743
  /*selectedIndex*/
4720
4744
  e[7]
4721
- ].dailyDescription), p(r, "dailyicon", a = /*calendarCollections*/
4745
+ ].dailyDescription), d(r, "dailyicon", o = /*calendarCollections*/
4722
4746
  e[6][
4723
4747
  /*selectedIndex*/
4724
4748
  e[7]
4725
- ].dailyIcon), p(r, "dailytitle", l = /*calendarCollections*/
4749
+ ].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
4726
4750
  e[6][
4727
4751
  /*selectedIndex*/
4728
4752
  e[7]
4729
- ].dailyTitle), p(
4753
+ ].dailyTitle), d(
4730
4754
  r,
4731
4755
  "lang",
4732
4756
  /*lang*/
4733
4757
  e[0]
4734
- ), p(
4758
+ ), d(
4735
4759
  r,
4736
4760
  "clientstyling",
4737
4761
  /*clientstyling*/
4738
4762
  e[1]
4739
- ), p(
4763
+ ), d(
4740
4764
  r,
4741
4765
  "clientstylingurl",
4742
4766
  /*clientstylingurl*/
4743
4767
  e[2]
4744
- ), p(
4768
+ ), d(
4745
4769
  r,
4746
4770
  "mbsource",
4747
4771
  /*mbsource*/
4748
4772
  e[4]
4749
- ), p(
4773
+ ), d(
4750
4774
  r,
4751
4775
  "translationurl",
4752
4776
  /*translationurl*/
4753
4777
  e[3]
4754
- ), p(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4778
+ ), d(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4755
4779
  },
4756
4780
  m(u, h) {
4757
- V(u, t, h), ce(t, r);
4781
+ V(u, t, h), we(t, r);
4758
4782
  },
4759
4783
  p(u, h) {
4760
4784
  h & /*calendarCollections, selectedIndex*/
@@ -4762,57 +4786,57 @@ function Mt(e) {
4762
4786
  u[6][
4763
4787
  /*selectedIndex*/
4764
4788
  u[7]
4765
- ].dailyBackground) && p(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4789
+ ].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4766
4790
  192 && i !== (i = /*calendarCollections*/
4767
4791
  u[6][
4768
4792
  /*selectedIndex*/
4769
4793
  u[7]
4770
- ].dailyButtonTitle) && p(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4771
- 192 && o !== (o = /*calendarCollections*/
4794
+ ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4795
+ 192 && s !== (s = /*calendarCollections*/
4772
4796
  u[6][
4773
4797
  /*selectedIndex*/
4774
4798
  u[7]
4775
- ].dailyDay) && p(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4776
- 192 && s !== (s = /*calendarCollections*/
4799
+ ].dailyDay) && d(r, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4800
+ 192 && a !== (a = /*calendarCollections*/
4777
4801
  u[6][
4778
4802
  /*selectedIndex*/
4779
4803
  u[7]
4780
- ].dailyDescription) && p(r, "dailydescription", s), h & /*calendarCollections, selectedIndex*/
4781
- 192 && a !== (a = /*calendarCollections*/
4804
+ ].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4805
+ 192 && o !== (o = /*calendarCollections*/
4782
4806
  u[6][
4783
4807
  /*selectedIndex*/
4784
4808
  u[7]
4785
- ].dailyIcon) && p(r, "dailyicon", a), h & /*calendarCollections, selectedIndex*/
4809
+ ].dailyIcon) && d(r, "dailyicon", o), h & /*calendarCollections, selectedIndex*/
4786
4810
  192 && l !== (l = /*calendarCollections*/
4787
4811
  u[6][
4788
4812
  /*selectedIndex*/
4789
4813
  u[7]
4790
- ].dailyTitle) && p(r, "dailytitle", l), h & /*lang*/
4791
- 1 && p(
4814
+ ].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
4815
+ 1 && d(
4792
4816
  r,
4793
4817
  "lang",
4794
4818
  /*lang*/
4795
4819
  u[0]
4796
4820
  ), h & /*clientstyling*/
4797
- 2 && p(
4821
+ 2 && d(
4798
4822
  r,
4799
4823
  "clientstyling",
4800
4824
  /*clientstyling*/
4801
4825
  u[1]
4802
4826
  ), h & /*clientstylingurl*/
4803
- 4 && p(
4827
+ 4 && d(
4804
4828
  r,
4805
4829
  "clientstylingurl",
4806
4830
  /*clientstylingurl*/
4807
4831
  u[2]
4808
4832
  ), h & /*mbsource*/
4809
- 16 && p(
4833
+ 16 && d(
4810
4834
  r,
4811
4835
  "mbsource",
4812
4836
  /*mbsource*/
4813
4837
  u[4]
4814
4838
  ), h & /*translationurl*/
4815
- 8 && p(
4839
+ 8 && d(
4816
4840
  r,
4817
4841
  "translationurl",
4818
4842
  /*translationurl*/
@@ -4820,82 +4844,85 @@ function Mt(e) {
4820
4844
  );
4821
4845
  },
4822
4846
  d(u) {
4823
- u && D(t);
4847
+ u && U(t);
4824
4848
  }
4825
4849
  };
4826
4850
  }
4827
- function lo(e) {
4851
+ function hs(e) {
4828
4852
  let t;
4829
- function r(o, s) {
4830
- var a;
4853
+ function r(s, a) {
4854
+ var o;
4831
4855
  if (
4832
4856
  /*hasErrors*/
4833
- o[9]
4834
- ) return uo;
4857
+ s[9]
4858
+ )
4859
+ return ls;
4835
4860
  if (
4836
4861
  /*isLoading*/
4837
- o[8]
4838
- ) return ao;
4862
+ s[8]
4863
+ )
4864
+ return us;
4839
4865
  if (
4840
4866
  /*calendarCollections*/
4841
- (a = o[6]) != null && a.length
4842
- ) return so;
4867
+ (o = s[6]) != null && o.length
4868
+ )
4869
+ return as;
4843
4870
  }
4844
4871
  let n = r(e), i = n && n(e);
4845
4872
  return {
4846
4873
  c() {
4847
- t = N("div"), i && i.c(), k(t, "class", "svelte-61avp5");
4874
+ t = $("div"), i && i.c(), k(t, "class", "svelte-61avp5");
4848
4875
  },
4849
- m(o, s) {
4850
- V(o, t, s), i && i.m(t, null), e[16](t);
4876
+ m(s, a) {
4877
+ V(s, t, a), i && i.m(t, null), e[16](t);
4851
4878
  },
4852
- p(o, [s]) {
4853
- n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4879
+ p(s, [a]) {
4880
+ n === (n = r(s)) && i ? i.p(s, a) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(t, null)));
4854
4881
  },
4855
4882
  i: O,
4856
4883
  o: O,
4857
- d(o) {
4858
- o && D(t), i && i.d(), e[16](null);
4884
+ d(s) {
4885
+ s && U(t), i && i.d(), e[16](null);
4859
4886
  }
4860
4887
  };
4861
4888
  }
4862
- function ho(e, t, r) {
4889
+ function cs(e, t, r) {
4863
4890
  let n;
4864
- Or(e, Ki, (d) => r(12, n = d));
4865
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, w = !1, I = !1, P = window.navigator.userAgent, S = !1;
4866
- const M = () => {
4867
- io(a);
4891
+ Lr(e, es, (m) => r(12, n = m));
4892
+ let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, b = 0, g = !0, S = !1, I = !1, P = window.navigator.userAgent, w = !1, M;
4893
+ const C = () => {
4894
+ ss(o);
4868
4895
  };
4869
- Object.keys(Ct).forEach((d) => {
4870
- It(d, Ct[d]);
4896
+ Object.keys(Mt).forEach((m) => {
4897
+ Lt(m, Mt[m]);
4871
4898
  });
4872
- const C = () => {
4873
- let d = h;
4874
- if (d)
4875
- return fetch(d).then((B) => B.json()).then((B) => {
4899
+ const N = () => {
4900
+ let m = h;
4901
+ if (m)
4902
+ return fetch(m).then((B) => B.json()).then((B) => {
4876
4903
  Object.keys(B).forEach((F) => {
4877
- It(F, B[F]);
4904
+ Lt(F, B[F]);
4878
4905
  });
4879
4906
  }).catch((B) => {
4880
4907
  console.log(B);
4881
4908
  });
4882
- }, R = () => {
4909
+ }, x = () => {
4883
4910
  r(8, g = !0);
4884
- let d = new URL(`${i}/${a}/daily-calendar`);
4885
- d.searchParams.append("userRoles", s), d.searchParams.append("env", o);
4886
- let B = eo(P);
4887
- B && (B === "PC" ? d.searchParams.append("device", "dk") : B === "iPad" || B === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((F) => F.json()).then((F) => {
4888
- r(6, m = F);
4911
+ let m = new URL(`${i}/${o}/daily-calendar`);
4912
+ m.searchParams.append("userRoles", a), m.searchParams.append("env", s);
4913
+ let B = ts(P);
4914
+ B && (B === "PC" ? m.searchParams.append("device", "dk") : B === "iPad" || B === "iPhone" ? m.searchParams.append("device", "ios") : m.searchParams.append("device", "mtWeb")), fetch(m.href).then((F) => F.json()).then((F) => {
4915
+ r(6, p = F);
4889
4916
  }).catch((F) => {
4890
- console.log(F), r(9, w = !0);
4917
+ console.log(F), r(9, S = !0);
4891
4918
  }).finally(() => {
4892
4919
  r(8, g = !1);
4893
4920
  });
4894
- }, x = () => {
4895
- R();
4896
- }, A = (d) => {
4921
+ }, L = () => {
4922
+ x();
4923
+ }, A = (m) => {
4897
4924
  var B;
4898
- d.data && d.data.type == "OpenCalendar" && (r(7, b = d.data.index), r(11, S = !0), window.postMessage(
4925
+ m.data && m.data.type == "OpenCalendar" && (r(7, b = m.data.index), r(11, w = !0), window.postMessage(
4899
4926
  {
4900
4927
  type: "ShowModal",
4901
4928
  selectedIndex: b,
@@ -4904,55 +4931,55 @@ function ho(e, t, r) {
4904
4931
  window.location.href
4905
4932
  ), window.postMessage({
4906
4933
  type: "DailyEventsData",
4907
- data: (B = m[b]) == null ? void 0 : B.dailyEvents
4908
- })), d.data && d.data.type == "ModalClosed" && r(11, S = !1);
4934
+ data: (B = p[b]) == null ? void 0 : B.dailyEvents
4935
+ })), m.data && m.data.type == "ModalClosed" && r(11, w = !1);
4909
4936
  };
4910
- Fr(() => (window.addEventListener("message", A, !1), Er(P) && r(10, I = !0), () => {
4911
- window.removeEventListener("message", A);
4937
+ kr(() => (window.addEventListener("message", A, !1), wr(P) && r(10, I = !0), () => {
4938
+ window.emMessageBus && M && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", A);
4912
4939
  }));
4913
- function L(d) {
4914
- De[d ? "unshift" : "push"](() => {
4915
- c = d, r(5, c);
4940
+ function Z(m) {
4941
+ Ue[m ? "unshift" : "push"](() => {
4942
+ c = m, r(5, c);
4916
4943
  });
4917
4944
  }
4918
- return e.$$set = (d) => {
4919
- "cmsendpoint" in d && r(13, i = d.cmsendpoint), "env" in d && r(14, o = d.env), "userroles" in d && r(15, s = d.userroles), "lang" in d && r(0, a = d.lang), "clientstyling" in d && r(1, l = d.clientstyling), "clientstylingurl" in d && r(2, u = d.clientstylingurl), "translationurl" in d && r(3, h = d.translationurl), "mbsource" in d && r(4, f = d.mbsource);
4945
+ return e.$$set = (m) => {
4946
+ "cmsendpoint" in m && r(13, i = m.cmsendpoint), "env" in m && r(14, s = m.env), "userroles" in m && r(15, a = m.userroles), "lang" in m && r(0, o = m.lang), "clientstyling" in m && r(1, l = m.clientstyling), "clientstylingurl" in m && r(2, u = m.clientstylingurl), "translationurl" in m && r(3, h = m.translationurl), "mbsource" in m && r(4, f = m.mbsource);
4920
4947
  }, e.$$.update = () => {
4921
4948
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4922
- 57345 && i && a && o && s && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4923
- 34 && l && c && to(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4924
- 36 && u && c && ro(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4925
- 48 && c && no(c, `${f}.Style`), e.$$.dirty & /*lang*/
4926
- 1 && a && M(), e.$$.dirty & /*lang, translationurl*/
4927
- 9 && a && h && C();
4949
+ 57345 && i && o && s && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4950
+ 34 && l && c && rs(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4951
+ 36 && u && c && ns(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4952
+ 48 && c && is(c, `${f}.Style`), e.$$.dirty & /*lang*/
4953
+ 1 && o && C(), e.$$.dirty & /*lang, translationurl*/
4954
+ 9 && o && h && N();
4928
4955
  }, [
4929
- a,
4956
+ o,
4930
4957
  l,
4931
4958
  u,
4932
4959
  h,
4933
4960
  f,
4934
4961
  c,
4935
- m,
4962
+ p,
4936
4963
  b,
4937
4964
  g,
4938
- w,
4939
- I,
4940
4965
  S,
4966
+ I,
4967
+ w,
4941
4968
  n,
4942
4969
  i,
4943
- o,
4944
4970
  s,
4945
- L
4971
+ a,
4972
+ Z
4946
4973
  ];
4947
4974
  }
4948
- class xr extends Qr {
4975
+ class Tr extends qr {
4949
4976
  constructor(t) {
4950
- super(), zr(
4977
+ super(), Qr(
4951
4978
  this,
4952
4979
  t,
4953
- ho,
4954
- lo,
4955
- $t,
4980
+ cs,
4981
+ hs,
4982
+ Ut,
4956
4983
  {
4957
4984
  cmsendpoint: 13,
4958
4985
  env: 14,
@@ -4963,120 +4990,118 @@ class xr extends Qr {
4963
4990
  translationurl: 3,
4964
4991
  mbsource: 4
4965
4992
  },
4966
- oo
4993
+ os
4967
4994
  );
4968
4995
  }
4969
4996
  get cmsendpoint() {
4970
4997
  return this.$$.ctx[13];
4971
4998
  }
4972
4999
  set cmsendpoint(t) {
4973
- this.$$set({ cmsendpoint: t }), $();
5000
+ this.$$set({ cmsendpoint: t }), R();
4974
5001
  }
4975
5002
  get env() {
4976
5003
  return this.$$.ctx[14];
4977
5004
  }
4978
5005
  set env(t) {
4979
- this.$$set({ env: t }), $();
5006
+ this.$$set({ env: t }), R();
4980
5007
  }
4981
5008
  get userroles() {
4982
5009
  return this.$$.ctx[15];
4983
5010
  }
4984
5011
  set userroles(t) {
4985
- this.$$set({ userroles: t }), $();
5012
+ this.$$set({ userroles: t }), R();
4986
5013
  }
4987
5014
  get lang() {
4988
5015
  return this.$$.ctx[0];
4989
5016
  }
4990
5017
  set lang(t) {
4991
- this.$$set({ lang: t }), $();
5018
+ this.$$set({ lang: t }), R();
4992
5019
  }
4993
5020
  get clientstyling() {
4994
5021
  return this.$$.ctx[1];
4995
5022
  }
4996
5023
  set clientstyling(t) {
4997
- this.$$set({ clientstyling: t }), $();
5024
+ this.$$set({ clientstyling: t }), R();
4998
5025
  }
4999
5026
  get clientstylingurl() {
5000
5027
  return this.$$.ctx[2];
5001
5028
  }
5002
5029
  set clientstylingurl(t) {
5003
- this.$$set({ clientstylingurl: t }), $();
5030
+ this.$$set({ clientstylingurl: t }), R();
5004
5031
  }
5005
5032
  get translationurl() {
5006
5033
  return this.$$.ctx[3];
5007
5034
  }
5008
5035
  set translationurl(t) {
5009
- this.$$set({ translationurl: t }), $();
5036
+ this.$$set({ translationurl: t }), R();
5010
5037
  }
5011
5038
  get mbsource() {
5012
5039
  return this.$$.ctx[4];
5013
5040
  }
5014
5041
  set mbsource(t) {
5015
- this.$$set({ mbsource: t }), $();
5042
+ this.$$set({ mbsource: t }), R();
5016
5043
  }
5017
5044
  }
5018
- Zr(xr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5019
- const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5045
+ Jr(Tr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5046
+ const Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5020
5047
  __proto__: null,
5021
- default: xr
5048
+ default: Tr
5022
5049
  }, Symbol.toStringTag, { value: "Module" }));
5023
5050
  export {
5024
- ie as $,
5025
- ut as A,
5026
- Rr as B,
5027
- De as C,
5028
- fo as D,
5029
- Mr as E,
5030
- vo as F,
5031
- xo as G,
5032
- To as H,
5033
- to as I,
5034
- ro as J,
5035
- no as K,
5036
- Zr as L,
5037
- Ki as M,
5038
- wo as N,
5039
- Ge as O,
5040
- W as P,
5041
- _o as Q,
5042
- fe as R,
5043
- Qr as S,
5044
- p as T,
5045
- eo as U,
5046
- Eo as V,
5047
- So as W,
5048
- Bo as X,
5049
- Lo as Y,
5050
- Co as Z,
5051
- Io as _,
5052
- br as a,
5053
- Ho as a0,
5054
- go as a1,
5055
- Se as a2,
5056
- No as a3,
5057
- Ir as b,
5058
- kt as c,
5059
- D as d,
5060
- Ao as e,
5061
- $ as f,
5062
- Po as g,
5063
- V as h,
5064
- zr as i,
5065
- N as j,
5066
- Or as k,
5067
- Er as l,
5068
- Dr as m,
5069
- O as n,
5070
- Fr as o,
5071
- ce as p,
5072
- et as q,
5073
- k as r,
5074
- $t as s,
5075
- Oo as t,
5076
- po as u,
5077
- ht as v,
5078
- Nr as w,
5079
- bo as x,
5080
- yo as y,
5081
- mo as z
5051
+ se as $,
5052
+ _s as A,
5053
+ bs as B,
5054
+ ys as C,
5055
+ ms as D,
5056
+ Fr as E,
5057
+ $r as F,
5058
+ O as G,
5059
+ ds as H,
5060
+ es as I,
5061
+ Dr as J,
5062
+ vs as K,
5063
+ Ss as L,
5064
+ Ts as M,
5065
+ W as N,
5066
+ Es as O,
5067
+ fe as P,
5068
+ d as Q,
5069
+ ts as R,
5070
+ qr as S,
5071
+ xs as T,
5072
+ ws as U,
5073
+ Bs as V,
5074
+ Ls as W,
5075
+ Cs as X,
5076
+ Is as Y,
5077
+ Hs as Z,
5078
+ gs as _,
5079
+ vr as a,
5080
+ Se as a0,
5081
+ Ms as a1,
5082
+ Mr as b,
5083
+ Jr as c,
5084
+ V as d,
5085
+ $ as e,
5086
+ R as f,
5087
+ As as g,
5088
+ Xt as h,
5089
+ Qr as i,
5090
+ U as j,
5091
+ Lr as k,
5092
+ ns as l,
5093
+ is as m,
5094
+ Ps as n,
5095
+ kr as o,
5096
+ wr as p,
5097
+ Ue as q,
5098
+ rs as r,
5099
+ Ut as s,
5100
+ Os as t,
5101
+ ps as u,
5102
+ ft as v,
5103
+ Ur as w,
5104
+ tt as x,
5105
+ k as y,
5106
+ we as z
5082
5107
  };