@everymatrix/casino-lobby 1.62.3 → 1.63.0

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 (95) hide show
  1. package/components/{CasinoCalendar-zRo_9Za0.js → CasinoCalendar-CNMPPqgx.js} +1285 -1469
  2. package/components/{CasinoCalendar-CinFtvuW.js → CasinoCalendar-DF0Pr_uv.js} +1025 -1209
  3. package/components/CasinoCalendar-DoxssdOG.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-qkwXMyxI.js → CasinoCalendarDailyDetails-305OBzqh.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-Cn37GUIj.cjs → CasinoCalendarDailyDetails-DUp41baV.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-DL8uHwSN.js → CasinoCalendarDailyDetails-OB1lJeYE.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-Bo9evLEj.cjs → CasinoCalendarDailyItem-B-DrlkeE.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DoK3veTp.js → CasinoCalendarDailyItem-D51VouvS.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DcqDKyz5.js → CasinoCalendarDailyItem-O-Ka4MG6.js} +1 -1
  10. package/components/{CasinoCategoriesSlider-BBVXEukg.js → CasinoCategoriesSlider-BRS5bbYT.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-n2yKGzdi.cjs → CasinoCategoriesSlider-BiaZvSw4.cjs} +1 -1
  12. package/components/{CasinoCategoriesSlider-YxbN9BpC.js → CasinoCategoriesSlider-Bte1Sqxk.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-CPX65G1M.cjs → CasinoCollectionsProviders-CMAAQr-q.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-BvaxV9cb.js → CasinoCollectionsProviders-eQakUMn6.js} +1 -1
  15. package/components/{CasinoCollectionsProviders-Q0qcn7b_.js → CasinoCollectionsProviders-kaCgm3e1.js} +1 -1
  16. package/components/{CasinoFavoritesSection-DG1Vt4HX.js → CasinoFavoritesSection-B2bVaaP6.js} +2 -2
  17. package/components/{CasinoFavoritesSection-B1f0uSCY.cjs → CasinoFavoritesSection-CzigR-dL.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-CR--CUNF.js → CasinoFavoritesSection-hUEe-Tf0.js} +2 -2
  19. package/components/{CasinoFilter-DbcntrTg.js → CasinoFilter-CE3HGSQ0.js} +1 -1
  20. package/components/{CasinoFilter-DhiwjMr2.cjs → CasinoFilter-CaXIhjO3.cjs} +1 -1
  21. package/components/{CasinoFilter-ChsEa9Bx.js → CasinoFilter-g1NekVQ2.js} +1 -1
  22. package/components/CasinoGameThumbnail-DCRwj3vq.js +4360 -0
  23. package/components/CasinoGameThumbnail-DUG_Uqdj.js +4376 -0
  24. package/components/CasinoGameThumbnail-ODsH-VZ2.cjs +47 -0
  25. package/components/{CasinoGamesCategorySection-CujQbdKb.js → CasinoGamesCategorySection-CLNhR4hD.js} +238 -222
  26. package/components/CasinoGamesCategorySection-CsL3VdHS.cjs +1 -0
  27. package/components/{CasinoGamesCategorySection-DFNU_Gsz.js → CasinoGamesCategorySection-l-jRCUnZ.js} +510 -494
  28. package/components/CasinoJackpotBanner-BGP5NlAK.cjs +1 -0
  29. package/components/CasinoJackpotBanner-DiFabula.js +806 -0
  30. package/components/CasinoJackpotBanner-DnctL7sJ.js +810 -0
  31. package/components/{CasinoLastPlayedSection-CTorwEQu.js → CasinoLastPlayedSection-BO-V6sRP.js} +2 -2
  32. package/components/{CasinoLastPlayedSection-CE97lSQ6.js → CasinoLastPlayedSection-Ce3mzuku.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-U57Y5miR.cjs → CasinoLastPlayedSection-WTRz13SW.cjs} +1 -1
  34. package/components/CasinoLobby-CbK-afWM.cjs +1 -0
  35. package/components/CasinoLobby-CoHmXJCL.js +2001 -0
  36. package/components/CasinoLobby-zjNcK2iE.js +2001 -0
  37. package/components/{CasinoMostPlayedSection-CKuVf-En.js → CasinoMostPlayedSection-CJg1aY33.js} +2 -2
  38. package/components/{CasinoMostPlayedSection-oxfCPIeN.js → CasinoMostPlayedSection-Di8djDRq.js} +2 -2
  39. package/components/{CasinoMostPlayedSection-Cptq1E56.cjs → CasinoMostPlayedSection-fwCxYxEp.cjs} +1 -1
  40. package/components/{CasinoMyGames-DhHqogUJ.cjs → CasinoMyGames-5EDtkMnj.cjs} +1 -1
  41. package/components/{CasinoMyGames-sC9ouRW_.js → CasinoMyGames-C2kQ8Kej.js} +4 -4
  42. package/components/{CasinoMyGames-gq_8VbcF.js → CasinoMyGames-D5jH8lu_.js} +4 -4
  43. package/components/{CasinoPage-BCAEtuBw.js → CasinoPage-BgHbGm-g.js} +801 -769
  44. package/components/CasinoPage-DYbiUa8_.cjs +1 -0
  45. package/components/{CasinoPage-Bh2MrJ1P.js → CasinoPage-Dc9zsqhK.js} +781 -749
  46. package/components/{CasinoRandomGame-CbQvQHMi.js → CasinoRandomGame-BB4A3Me6.js} +1 -1
  47. package/components/{CasinoRandomGame-neIdOgUC.js → CasinoRandomGame-BalTtz4n.js} +1 -1
  48. package/components/{CasinoRandomGame-D4bGW7wH.cjs → CasinoRandomGame-qzNaZ__f.cjs} +1 -1
  49. package/components/CasinoSearch-DEbU_mnO.cjs +1 -0
  50. package/components/{CasinoSearch-B65DzQEn.js → CasinoSearch-KJl38A6K.js} +335 -306
  51. package/components/{CasinoSearch-d7Y-IpLr.js → CasinoSearch-_Q2V5zZj.js} +319 -290
  52. package/components/{CasinoSlider-TfFHBss2.js → CasinoSlider-CCs2pkhA.js} +15 -15
  53. package/components/{CasinoSlider-CotyciEv.cjs → CasinoSlider-Q3CLkzHo.cjs} +1 -1
  54. package/components/{CasinoSlider-DGETBGTm.js → CasinoSlider-VfpP1c2C.js} +15 -15
  55. package/components/{CasinoSort-B-2h6Htw.js → CasinoSort-BFlIPfWc.js} +1 -1
  56. package/components/{CasinoSort-Cmgp5JM5.js → CasinoSort-BRX2Xq-L.js} +1 -1
  57. package/components/{CasinoSort-X6V8pABW.cjs → CasinoSort-Ds5Gxm-O.cjs} +1 -1
  58. package/components/CasinoWinners-B_hz9jpe.cjs +1 -0
  59. package/components/CasinoWinners-DMV8Yt40.js +983 -0
  60. package/components/CasinoWinners-j5Ay-YXI.js +981 -0
  61. package/components/{GeneralAnimationLoading-B1-7gNLR.js → GeneralAnimationLoading-7OFxqSZ5.js} +1 -1
  62. package/components/{GeneralAnimationLoading-BV3DII71.js → GeneralAnimationLoading-BdfUf0_9.js} +1 -1
  63. package/components/{GeneralAnimationLoading-DasE8cAb.cjs → GeneralAnimationLoading-cgso8Mxu.cjs} +1 -1
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-BYqESYAt.js} +6 -1
  69. package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-QQFB7p9f.js} +6 -1
  70. package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-cxzdDqDs.cjs} +6 -1
  71. package/stencil/{index-ab3202d6-c7Vf1NJ1.cjs → index-ab3202d6-4wRb7_uS.cjs} +1 -1
  72. package/stencil/{index-ab3202d6-9zuW-dLG.js → index-ab3202d6-ClNgaMg-.js} +1 -1
  73. package/stencil/{index-ab3202d6-CGVciVSL.js → index-ab3202d6-CvVYHCZs.js} +1 -1
  74. package/components/CasinoCalendar-B4GcXKnc.cjs +0 -22
  75. package/components/CasinoGamePage-C7LOIY6s.js +0 -4240
  76. package/components/CasinoGamePage-CmF8v1Cv.cjs +0 -18
  77. package/components/CasinoGamePage-DccB7M76.js +0 -4219
  78. package/components/CasinoGameThumbnail-BtO5lRYS.cjs +0 -38
  79. package/components/CasinoGameThumbnail-CZYWQzTY.js +0 -1836
  80. package/components/CasinoGameThumbnail-DZFIn3jP.js +0 -1852
  81. package/components/CasinoGamesCategorySection-CQaK0CN3.cjs +0 -1
  82. package/components/CasinoJackpotBanner-BhgV3UvA.js +0 -698
  83. package/components/CasinoJackpotBanner-CkVmxLVH.js +0 -694
  84. package/components/CasinoJackpotBanner-D5DqHlAR.cjs +0 -1
  85. package/components/CasinoLobby-80EyIh80.js +0 -2445
  86. package/components/CasinoLobby-C1-TdZOS.cjs +0 -1
  87. package/components/CasinoLobby-hiqWHHHg.js +0 -2445
  88. package/components/CasinoModal-7GCtnm_K.cjs +0 -1
  89. package/components/CasinoModal-DRoX6zuP.js +0 -368
  90. package/components/CasinoModal-DTJpGGWW.js +0 -368
  91. package/components/CasinoPage-BzbZtzqt.cjs +0 -1
  92. package/components/CasinoSearch-BYuM1VFZ.cjs +0 -1
  93. package/components/CasinoWinners-BSQs3S54.js +0 -980
  94. package/components/CasinoWinners-CuaTZjz4.cjs +0 -1
  95. package/components/CasinoWinners-CyDC7j5x.js +0 -978
@@ -1,7 +1,6 @@
1
1
  function B() {
2
2
  }
3
- const Nr = (e) => e;
4
- function Mr(e, t) {
3
+ function Er(e, t) {
5
4
  for (const r in t)
6
5
  e[r] = t[r];
7
6
  return (
@@ -9,29 +8,29 @@ function Mr(e, t) {
9
8
  e
10
9
  );
11
10
  }
12
- function Xt(e) {
11
+ function Nt(e) {
13
12
  return e();
14
13
  }
15
- function mt() {
14
+ function st() {
16
15
  return /* @__PURE__ */ Object.create(null);
17
16
  }
18
- function V(e) {
19
- e.forEach(Xt);
17
+ function X(e) {
18
+ e.forEach(Nt);
20
19
  }
21
- function fe(e) {
20
+ function Se(e) {
22
21
  return typeof e == "function";
23
22
  }
24
- function Wt(e, t) {
23
+ function Mt(e, t) {
25
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
25
  }
27
- let be;
28
- function Ao(e, t) {
29
- return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
26
+ let fe;
27
+ function io(e, t) {
28
+ return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
30
29
  }
31
- function $r(e) {
30
+ function xr(e) {
32
31
  return Object.keys(e).length === 0;
33
32
  }
34
- function zt(e, ...t) {
33
+ function Rt(e, ...t) {
35
34
  if (e == null) {
36
35
  for (const n of t)
37
36
  n(void 0);
@@ -40,19 +39,19 @@ function zt(e, ...t) {
40
39
  const r = e.subscribe(...t);
41
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
41
  }
43
- function Rr(e, t, r) {
44
- e.$$.on_destroy.push(zt(t, r));
42
+ function Sr(e, t, r) {
43
+ e.$$.on_destroy.push(Rt(t, r));
45
44
  }
46
- function Bo(e, t, r, n) {
45
+ function oo(e, t, r, n) {
47
46
  if (e) {
48
- const i = Zt(e, t, r, n);
47
+ const i = $t(e, t, r, n);
49
48
  return e[0](i);
50
49
  }
51
50
  }
52
- function Zt(e, t, r, n) {
53
- return e[1] && n ? Mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function $t(e, t, r, n) {
52
+ return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
53
  }
55
- function Oo(e, t, r, n) {
54
+ function so(e, t, r, n) {
56
55
  if (e[2] && n) {
57
56
  const i = e[2](n(r));
58
57
  if (t.dirty === void 0)
@@ -67,13 +66,13 @@ function Oo(e, t, r, n) {
67
66
  }
68
67
  return t.dirty;
69
68
  }
70
- function Io(e, t, r, n, i, o) {
69
+ function ao(e, t, r, n, i, o) {
71
70
  if (i) {
72
- const a = Zt(t, r, n, o);
71
+ const a = $t(t, r, n, o);
73
72
  e.p(a, i);
74
73
  }
75
74
  }
76
- function Co(e) {
75
+ function uo(e) {
77
76
  if (e.ctx.length > 32) {
78
77
  const t = [], r = e.ctx.length / 32;
79
78
  for (let n = 0; n < r; n++)
@@ -82,39 +81,20 @@ function Co(e) {
82
81
  }
83
82
  return -1;
84
83
  }
85
- function Lo(e) {
86
- return e && fe(e.destroy) ? e.destroy : B;
87
- }
88
- const Qt = typeof window < "u";
89
- let Dr = Qt ? () => window.performance.now() : () => Date.now(), lt = Qt ? (e) => requestAnimationFrame(e) : B;
90
- const J = /* @__PURE__ */ new Set();
91
- function qt(e) {
92
- J.forEach((t) => {
93
- t.c(e) || (J.delete(t), t.f());
94
- }), J.size !== 0 && lt(qt);
95
- }
96
- function Ur(e) {
97
- let t;
98
- return J.size === 0 && lt(qt), {
99
- promise: new Promise((r) => {
100
- J.add(t = { c: e, f: r });
101
- }),
102
- abort() {
103
- J.delete(t);
104
- }
105
- };
84
+ function lo(e) {
85
+ return e && Se(e.destroy) ? e.destroy : B;
106
86
  }
107
- function de(e, t) {
87
+ function we(e, t) {
108
88
  e.appendChild(t);
109
89
  }
110
- function Gr(e, t, r) {
111
- const n = ht(e);
90
+ function wr(e, t, r) {
91
+ const n = Tr(e);
112
92
  if (!n.getElementById(t)) {
113
- const i = N("style");
114
- i.id = t, i.textContent = r, Jt(n, i);
93
+ const i = $("style");
94
+ i.id = t, i.textContent = r, Hr(n, i);
115
95
  }
116
96
  }
117
- function ht(e) {
97
+ function Tr(e) {
118
98
  if (!e)
119
99
  return document;
120
100
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -124,111 +104,70 @@ function ht(e) {
124
104
  t
125
105
  ) : e.ownerDocument;
126
106
  }
127
- function Fr(e) {
128
- const t = N("style");
129
- return t.textContent = "/* empty */", Jt(ht(e), t), t.sheet;
130
- }
131
- function Jt(e, t) {
132
- return de(
107
+ function Hr(e, t) {
108
+ return we(
133
109
  /** @type {Document} */
134
110
  e.head || e,
135
111
  t
136
112
  ), t.sheet;
137
113
  }
138
- function X(e, t, r) {
114
+ function k(e, t, r) {
139
115
  e.insertBefore(t, r || null);
140
116
  }
141
- function $(e) {
117
+ function U(e) {
142
118
  e.parentNode && e.parentNode.removeChild(e);
143
119
  }
144
- function jr(e, t) {
120
+ function Pr(e, t) {
145
121
  for (let r = 0; r < e.length; r += 1)
146
122
  e[r] && e[r].d(t);
147
123
  }
148
- function N(e) {
124
+ function $(e) {
149
125
  return document.createElement(e);
150
126
  }
151
- function kr(e) {
127
+ function Br(e) {
152
128
  return document.createElementNS("http://www.w3.org/2000/svg", e);
153
129
  }
154
- function ct(e) {
130
+ function nt(e) {
155
131
  return document.createTextNode(e);
156
132
  }
157
- function Vr() {
158
- return ct(" ");
133
+ function Ar() {
134
+ return nt(" ");
159
135
  }
160
- function No() {
161
- return ct("");
136
+ function ho() {
137
+ return nt("");
162
138
  }
163
- function bt(e, t, r, n) {
139
+ function co(e, t, r, n) {
164
140
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
165
141
  }
166
- function Mo(e) {
142
+ function fo(e) {
167
143
  return function(t) {
168
144
  return t.stopPropagation(), e.call(this, t);
169
145
  };
170
146
  }
171
- function k(e, t, r) {
147
+ function j(e, t, r) {
172
148
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
173
149
  }
174
- function b(e, t, r) {
150
+ function d(e, t, r) {
175
151
  const n = t.toLowerCase();
176
- 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);
152
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
177
153
  }
178
- function Xr(e) {
154
+ function Or(e) {
179
155
  return Array.from(e.childNodes);
180
156
  }
181
- function Wr(e, t) {
157
+ function Ir(e, t) {
182
158
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
183
159
  t);
184
160
  }
185
- function $o(e, t) {
161
+ function po(e, t) {
186
162
  e.value = t ?? "";
187
163
  }
188
- function Ro(e, t, r, n) {
164
+ function mo(e, t, r, n) {
189
165
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
190
166
  }
191
- let ye;
192
- function zr() {
193
- if (ye === void 0) {
194
- ye = !1;
195
- try {
196
- typeof window < "u" && window.parent && window.parent.document;
197
- } catch {
198
- ye = !0;
199
- }
200
- }
201
- return ye;
202
- }
203
- function Do(e, t) {
204
- getComputedStyle(e).position === "static" && (e.style.position = "relative");
205
- const n = N("iframe");
206
- n.setAttribute(
207
- "style",
208
- "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
209
- ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
210
- const i = zr();
211
- let o;
212
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = bt(
213
- window,
214
- "message",
215
- /** @param {MessageEvent} event */
216
- (a) => {
217
- a.source === n.contentWindow && t();
218
- }
219
- )) : (n.src = "about:blank", n.onload = () => {
220
- o = bt(n.contentWindow, "resize", t), t();
221
- }), de(e, n), () => {
222
- (i || o && n.contentWindow) && o(), $(n);
223
- };
224
- }
225
- function Uo(e, t, r) {
167
+ function bo(e, t, r) {
226
168
  e.classList.toggle(t, !!r);
227
169
  }
228
- function Zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
229
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
230
- }
231
- class Go {
170
+ class yo {
232
171
  /**
233
172
  * @private
234
173
  * @default false
@@ -259,10 +198,10 @@ class Go {
259
198
  * @returns {void}
260
199
  */
261
200
  m(t, r, n = null) {
262
- this.e || (this.is_svg ? this.e = kr(
201
+ this.e || (this.is_svg ? this.e = Br(
263
202
  /** @type {keyof SVGElementTagNameMap} */
264
203
  r.nodeName
265
- ) : this.e = N(
204
+ ) : this.e = $(
266
205
  /** @type {keyof HTMLElementTagNameMap} */
267
206
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
268
207
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -283,7 +222,7 @@ class Go {
283
222
  * @returns {void} */
284
223
  i(t) {
285
224
  for (let r = 0; r < this.n.length; r += 1)
286
- X(this.t, this.n[r], t);
225
+ k(this.t, this.n[r], t);
287
226
  }
288
227
  /**
289
228
  * @param {string} html
@@ -295,10 +234,10 @@ class Go {
295
234
  /**
296
235
  * @returns {void} */
297
236
  d() {
298
- this.n.forEach($);
237
+ this.n.forEach(U);
299
238
  }
300
239
  }
301
- function Qr(e) {
240
+ function Cr(e) {
302
241
  const t = {};
303
242
  return e.childNodes.forEach(
304
243
  /** @param {Element} node */
@@ -307,271 +246,153 @@ function Qr(e) {
307
246
  }
308
247
  ), t;
309
248
  }
310
- const Te = /* @__PURE__ */ new Map();
311
- let He = 0;
312
- function qr(e) {
313
- let t = 5381, r = e.length;
314
- for (; r--; )
315
- t = (t << 5) - t ^ e.charCodeAt(r);
316
- return t >>> 0;
317
- }
318
- function Jr(e, t) {
319
- const r = { stylesheet: Fr(t), rules: {} };
320
- return Te.set(e, r), r;
321
- }
322
- function yt(e, t, r, n, i, o, a, s = 0) {
323
- const l = 16.666 / n;
324
- let u = `{
325
- `;
326
- for (let v = 0; v <= 1; v += l) {
327
- const T = t + (r - t) * o(v);
328
- u += v * 100 + `%{${a(T, 1 - T)}}
329
- `;
330
- }
331
- const h = u + `100% {${a(r, 1 - r)}}
332
- }`, f = `__svelte_${qr(h)}_${s}`, c = ht(e), { stylesheet: p, rules: d } = Te.get(c) || Jr(c, e);
333
- d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
334
- const m = e.style.animation || "";
335
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, He += 1, f;
336
- }
337
- function Yr(e, t) {
338
- const r = (e.style.animation || "").split(", "), n = r.filter(
339
- t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
340
- // remove all Svelte animations
341
- ), i = r.length - n.length;
342
- i && (e.style.animation = n.join(", "), He -= i, He || Kr());
343
- }
344
- function Kr() {
345
- lt(() => {
346
- He || (Te.forEach((e) => {
347
- const { ownerNode: t } = e.stylesheet;
348
- t && $(t);
349
- }), Te.clear());
350
- });
351
- }
352
- let le;
353
- function ue(e) {
354
- le = e;
249
+ let ae;
250
+ function se(e) {
251
+ ae = e;
355
252
  }
356
- function ft() {
357
- if (!le)
253
+ function Dt() {
254
+ if (!ae)
358
255
  throw new Error("Function called outside component initialization");
359
- return le;
256
+ return ae;
360
257
  }
361
- function Fo(e) {
362
- ft().$$.before_update.push(e);
258
+ function Lr(e) {
259
+ Dt().$$.on_mount.push(e);
363
260
  }
364
- function en(e) {
365
- ft().$$.on_mount.push(e);
366
- }
367
- function jo(e) {
368
- ft().$$.on_destroy.push(e);
261
+ function go(e) {
262
+ Dt().$$.on_destroy.push(e);
369
263
  }
370
- const q = [], We = [];
371
- let Y = [];
372
- const gt = [], Yt = /* @__PURE__ */ Promise.resolve();
373
- let ze = !1;
374
- function Kt() {
375
- ze || (ze = !0, Yt.then(R));
264
+ const q = [], Ue = [];
265
+ let J = [];
266
+ const at = [], Ut = /* @__PURE__ */ Promise.resolve();
267
+ let Ge = !1;
268
+ function Gt() {
269
+ Ge || (Ge = !0, Ut.then(M));
376
270
  }
377
- function ko() {
378
- return Kt(), Yt;
271
+ function vo() {
272
+ return Gt(), Ut;
379
273
  }
380
- function Pe(e) {
381
- Y.push(e);
274
+ function Fe(e) {
275
+ J.push(e);
382
276
  }
383
- const Re = /* @__PURE__ */ new Set();
277
+ const Ie = /* @__PURE__ */ new Set();
384
278
  let Z = 0;
385
- function R() {
279
+ function M() {
386
280
  if (Z !== 0)
387
281
  return;
388
- const e = le;
282
+ const e = ae;
389
283
  do {
390
284
  try {
391
285
  for (; Z < q.length; ) {
392
286
  const t = q[Z];
393
- Z++, ue(t), tn(t.$$);
287
+ Z++, se(t), Nr(t.$$);
394
288
  }
395
289
  } catch (t) {
396
290
  throw q.length = 0, Z = 0, t;
397
291
  }
398
- for (ue(null), q.length = 0, Z = 0; We.length; )
399
- We.pop()();
400
- for (let t = 0; t < Y.length; t += 1) {
401
- const r = Y[t];
402
- Re.has(r) || (Re.add(r), r());
292
+ for (se(null), q.length = 0, Z = 0; Ue.length; )
293
+ Ue.pop()();
294
+ for (let t = 0; t < J.length; t += 1) {
295
+ const r = J[t];
296
+ Ie.has(r) || (Ie.add(r), r());
403
297
  }
404
- Y.length = 0;
298
+ J.length = 0;
405
299
  } while (q.length);
406
- for (; gt.length; )
407
- gt.pop()();
408
- ze = !1, Re.clear(), ue(e);
300
+ for (; at.length; )
301
+ at.pop()();
302
+ Ge = !1, Ie.clear(), se(e);
409
303
  }
410
- function tn(e) {
304
+ function Nr(e) {
411
305
  if (e.fragment !== null) {
412
- e.update(), V(e.before_update);
306
+ e.update(), X(e.before_update);
413
307
  const t = e.dirty;
414
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
308
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
415
309
  }
416
310
  }
417
- function rn(e) {
311
+ function Mr(e) {
418
312
  const t = [], r = [];
419
- Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
420
- }
421
- let se;
422
- function nn() {
423
- return se || (se = Promise.resolve(), se.then(() => {
424
- se = null;
425
- })), se;
313
+ J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
426
314
  }
427
- function De(e, t, r) {
428
- e.dispatchEvent(Zr(`${t ? "intro" : "outro"}${r}`));
429
- }
430
- const ve = /* @__PURE__ */ new Set();
431
- let U;
432
- function Vo() {
433
- U = {
315
+ const me = /* @__PURE__ */ new Set();
316
+ let V;
317
+ function _o() {
318
+ V = {
434
319
  r: 0,
435
320
  c: [],
436
- p: U
321
+ p: V
437
322
  // parent group
438
323
  };
439
324
  }
440
- function Xo() {
441
- U.r || V(U.c), U = U.p;
325
+ function Eo() {
326
+ V.r || X(V.c), V = V.p;
442
327
  }
443
- function er(e, t) {
444
- e && e.i && (ve.delete(e), e.i(t));
328
+ function Ft(e, t) {
329
+ e && e.i && (me.delete(e), e.i(t));
445
330
  }
446
- function on(e, t, r, n) {
331
+ function Rr(e, t, r, n) {
447
332
  if (e && e.o) {
448
- if (ve.has(e))
333
+ if (me.has(e))
449
334
  return;
450
- ve.add(e), U.c.push(() => {
451
- ve.delete(e), n && (r && e.d(1), n());
335
+ me.add(e), V.c.push(() => {
336
+ me.delete(e), n && (r && e.d(1), n());
452
337
  }), e.o(t);
453
338
  } else
454
339
  n && n();
455
340
  }
456
- const sn = { duration: 0 };
457
- function Wo(e, t, r, n) {
458
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
459
- function f() {
460
- u && Yr(e, u);
461
- }
462
- function c(d, m) {
463
- const v = (
464
- /** @type {Program['d']} */
465
- d.b - a
466
- );
467
- return m *= Math.abs(v), {
468
- a,
469
- b: d.b,
470
- d: v,
471
- duration: m,
472
- start: d.start,
473
- end: d.start + m,
474
- group: d.group
475
- };
476
- }
477
- function p(d) {
478
- const {
479
- delay: m = 0,
480
- duration: v = 300,
481
- easing: T = Nr,
482
- tick: H = B,
483
- css: S
484
- } = o || sn, O = {
485
- start: Dr() + m,
486
- b: d
487
- };
488
- d || (O.group = U, U.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
489
- e.inert, e.inert = !0)), s || l ? l = O : (S && (f(), u = yt(e, a, d, v, m, T, S)), d && H(0, 1), s = c(O, v), Pe(() => De(e, d, "start")), Ur((P) => {
490
- if (l && P > l.start && (s = c(l, v), l = null, De(e, s.b, "start"), S && (f(), u = yt(
491
- e,
492
- a,
493
- s.b,
494
- s.duration,
495
- 0,
496
- T,
497
- o.css
498
- ))), s) {
499
- if (P >= s.end)
500
- H(a = s.b, 1 - a), De(e, s.b, "end"), l || (s.b ? f() : --s.group.r || V(s.group.c)), s = null;
501
- else if (P >= s.start) {
502
- const C = P - s.start;
503
- a = s.a + s.d * T(C / s.duration), H(a, 1 - a);
504
- }
505
- }
506
- return !!(s || l);
507
- }));
508
- }
509
- return {
510
- run(d) {
511
- fe(o) ? nn().then(() => {
512
- o = o({ direction: d ? "in" : "out" }), p(d);
513
- }) : p(d);
514
- },
515
- end() {
516
- f(), s = l = null;
517
- }
518
- };
519
- }
520
- function _t(e) {
341
+ function ut(e) {
521
342
  return e?.length !== void 0 ? e : Array.from(e);
522
343
  }
523
- function zo(e, t) {
344
+ function xo(e, t) {
524
345
  e.d(1), t.delete(e.key);
525
346
  }
526
- function Zo(e, t) {
527
- on(e, 1, 1, () => {
347
+ function So(e, t) {
348
+ Rr(e, 1, 1, () => {
528
349
  t.delete(e.key);
529
350
  });
530
351
  }
531
- function Qo(e, t, r, n, i, o, a, s, l, u, h, f) {
532
- let c = e.length, p = o.length, d = c;
533
- const m = {};
534
- for (; d--; )
535
- m[e[d].key] = d;
536
- const v = [], T = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), S = [];
537
- for (d = p; d--; ) {
538
- const x = f(i, o, d), L = r(x);
539
- let I = a.get(L);
540
- I ? S.push(() => I.p(x, t)) : (I = u(L, x), I.c()), T.set(L, v[d] = I), L in m && H.set(L, Math.abs(d - m[L]));
352
+ function wo(e, t, r, n, i, o, a, s, l, u, h, f) {
353
+ let c = e.length, m = o.length, b = c;
354
+ const g = {};
355
+ for (; b--; )
356
+ g[e[b].key] = b;
357
+ const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
358
+ for (b = m; b--; ) {
359
+ const E = f(i, o, b), I = r(E);
360
+ let P = a.get(I);
361
+ P ? w.push(() => P.p(E, t)) : (P = u(I, E), P.c()), A.set(I, S[b] = P), I in g && H.set(I, Math.abs(b - g[I]));
541
362
  }
542
- const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
543
- function C(x) {
544
- er(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, p--;
363
+ const L = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
364
+ function N(E) {
365
+ Ft(E, 1), E.m(s, h), a.set(E.key, E), h = E.first, m--;
545
366
  }
546
- for (; c && p; ) {
547
- const x = v[p - 1], L = e[c - 1], I = x.key, z = L.key;
548
- x === L ? (h = x.first, c--, p--) : T.has(z) ? !a.has(I) || O.has(I) ? C(x) : P.has(z) ? c-- : H.get(I) > H.get(z) ? (P.add(I), C(x)) : (O.add(z), c--) : (l(L, a), c--);
367
+ for (; c && m; ) {
368
+ const E = S[m - 1], I = e[c - 1], P = E.key, z = I.key;
369
+ E === I ? (h = E.first, c--, m--) : A.has(z) ? !a.has(P) || L.has(P) ? N(E) : O.has(z) ? c-- : H.get(P) > H.get(z) ? (O.add(P), N(E)) : (L.add(z), c--) : (l(I, a), c--);
549
370
  }
550
371
  for (; c--; ) {
551
- const x = e[c];
552
- T.has(x.key) || l(x, a);
372
+ const E = e[c];
373
+ A.has(E.key) || l(E, a);
553
374
  }
554
- for (; p; )
555
- C(v[p - 1]);
556
- return V(S), v;
375
+ for (; m; )
376
+ N(S[m - 1]);
377
+ return X(w), S;
557
378
  }
558
- function an(e, t, r) {
379
+ function $r(e, t, r) {
559
380
  const { fragment: n, after_update: i } = e.$$;
560
- n && n.m(t, r), Pe(() => {
561
- const o = e.$$.on_mount.map(Xt).filter(fe);
562
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : V(o), e.$$.on_mount = [];
563
- }), i.forEach(Pe);
381
+ n && n.m(t, r), Fe(() => {
382
+ const o = e.$$.on_mount.map(Nt).filter(Se);
383
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
384
+ }), i.forEach(Fe);
564
385
  }
565
- function un(e, t) {
386
+ function Dr(e, t) {
566
387
  const r = e.$$;
567
- r.fragment !== null && (rn(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
388
+ r.fragment !== null && (Mr(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
568
389
  }
569
- function ln(e, t) {
570
- e.$$.dirty[0] === -1 && (q.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
390
+ function Ur(e, t) {
391
+ e.$$.dirty[0] === -1 && (q.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
571
392
  }
572
- function hn(e, t, r, n, i, o, a = null, s = [-1]) {
573
- const l = le;
574
- ue(e);
393
+ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
394
+ const l = ae;
395
+ se(e);
575
396
  const u = e.$$ = {
576
397
  fragment: null,
577
398
  ctx: [],
@@ -579,7 +400,7 @@ function hn(e, t, r, n, i, o, a = null, s = [-1]) {
579
400
  props: o,
580
401
  update: B,
581
402
  not_equal: i,
582
- bound: mt(),
403
+ bound: st(),
583
404
  // lifecycle
584
405
  on_mount: [],
585
406
  on_destroy: [],
@@ -588,28 +409,28 @@ function hn(e, t, r, n, i, o, a = null, s = [-1]) {
588
409
  after_update: [],
589
410
  context: new Map(t.context || (l ? l.$$.context : [])),
590
411
  // everything else
591
- callbacks: mt(),
412
+ callbacks: st(),
592
413
  dirty: s,
593
414
  skip_bound: !1,
594
415
  root: t.target || l.$$.root
595
416
  };
596
417
  a && a(u.root);
597
418
  let h = !1;
598
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
599
- const d = p.length ? p[0] : c;
600
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && ln(e, f)), c;
601
- }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
419
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
420
+ const b = m.length ? m[0] : c;
421
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Ur(e, f)), c;
422
+ }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
602
423
  if (t.hydrate) {
603
- const f = Xr(t.target);
604
- u.fragment && u.fragment.l(f), f.forEach($);
424
+ const f = Or(t.target);
425
+ u.fragment && u.fragment.l(f), f.forEach(U);
605
426
  } else
606
427
  u.fragment && u.fragment.c();
607
- t.intro && er(e.$$.fragment), an(e, t.target, t.anchor), R();
428
+ t.intro && Ft(e.$$.fragment), $r(e, t.target, t.anchor), M();
608
429
  }
609
- ue(l);
430
+ se(l);
610
431
  }
611
- let tr;
612
- typeof HTMLElement == "function" && (tr = class extends HTMLElement {
432
+ let jt;
433
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
613
434
  /** The Svelte component constructor */
614
435
  $$ctor;
615
436
  /** Slots */
@@ -651,29 +472,29 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
651
472
  let o;
652
473
  return {
653
474
  c: function() {
654
- o = N("slot"), i !== "default" && k(o, "name", i);
475
+ o = $("slot"), i !== "default" && j(o, "name", i);
655
476
  },
656
477
  /**
657
478
  * @param {HTMLElement} target
658
479
  * @param {HTMLElement} [anchor]
659
480
  */
660
481
  m: function(l, u) {
661
- X(l, o, u);
482
+ k(l, o, u);
662
483
  },
663
484
  d: function(l) {
664
- l && $(o);
485
+ l && U(o);
665
486
  }
666
487
  };
667
488
  };
668
489
  };
669
490
  if (await Promise.resolve(), !this.$$cn || this.$$c)
670
491
  return;
671
- const t = {}, r = Qr(this);
492
+ const t = {}, r = Cr(this);
672
493
  for (const i of this.$$s)
673
494
  i in r && (t[i] = [e(i)]);
674
495
  for (const i of this.attributes) {
675
496
  const o = this.$$g_p(i.name);
676
- o in this.$$d || (this.$$d[o] = Ee(o, i.value, this.$$p_d, "toProp"));
497
+ o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
677
498
  }
678
499
  for (const i in this.$$p_d)
679
500
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -691,7 +512,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
691
512
  this.$$r = !0;
692
513
  for (const i in this.$$p_d)
693
514
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
694
- const o = Ee(
515
+ const o = be(
695
516
  i,
696
517
  this.$$d[i],
697
518
  this.$$p_d,
@@ -713,7 +534,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
713
534
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
714
535
  // and setting attributes through setAttribute etc, this is helpful
715
536
  attributeChangedCallback(e, t, r) {
716
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
537
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
717
538
  }
718
539
  disconnectedCallback() {
719
540
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -726,7 +547,7 @@ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
726
547
  ) || e;
727
548
  }
728
549
  });
729
- function Ee(e, t, r, n) {
550
+ function be(e, t, r, n) {
730
551
  const i = r[e]?.type;
731
552
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
732
553
  return t;
@@ -755,8 +576,8 @@ function Ee(e, t, r, n) {
755
576
  return t;
756
577
  }
757
578
  }
758
- function cn(e, t, r, n, i, o) {
759
- let a = class extends tr {
579
+ function Fr(e, t, r, n, i, o) {
580
+ let a = class extends jt {
760
581
  constructor() {
761
582
  super(e, r, i), this.$$p_d = t;
762
583
  }
@@ -772,7 +593,7 @@ function cn(e, t, r, n, i, o) {
772
593
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
773
594
  },
774
595
  set(l) {
775
- l = Ee(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
596
+ l = be(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
776
597
  }
777
598
  });
778
599
  }), n.forEach((s) => {
@@ -784,7 +605,7 @@ function cn(e, t, r, n, i, o) {
784
605
  }), e.element = /** @type {any} */
785
606
  a, a;
786
607
  }
787
- class fn {
608
+ class jr {
788
609
  /**
789
610
  * ### PRIVATE API
790
611
  *
@@ -803,7 +624,7 @@ class fn {
803
624
  $$set = void 0;
804
625
  /** @returns {void} */
805
626
  $destroy() {
806
- un(this, 1), this.$destroy = B;
627
+ Dr(this, 1), this.$destroy = B;
807
628
  }
808
629
  /**
809
630
  * @template {Extract<keyof Events, string>} K
@@ -812,7 +633,7 @@ class fn {
812
633
  * @returns {() => void}
813
634
  */
814
635
  $on(t, r) {
815
- if (!fe(r))
636
+ if (!Se(r))
816
637
  return B;
817
638
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
818
639
  return n.push(r), () => {
@@ -825,11 +646,11 @@ class fn {
825
646
  * @returns {void}
826
647
  */
827
648
  $set(t) {
828
- this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
649
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
829
650
  }
830
651
  }
831
- const dn = "4";
832
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
652
+ const kr = "4";
653
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
833
654
  /*! *****************************************************************************
834
655
  Copyright (c) Microsoft Corporation.
835
656
 
@@ -844,24 +665,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
844
665
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
845
666
  PERFORMANCE OF THIS SOFTWARE.
846
667
  ***************************************************************************** */
847
- var Ze = function(e, t) {
848
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
668
+ var je = function(e, t) {
669
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
849
670
  r.__proto__ = n;
850
671
  } || function(r, n) {
851
672
  for (var i in n)
852
673
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
853
- }, Ze(e, t);
674
+ }, je(e, t);
854
675
  };
855
- function pe(e, t) {
676
+ function he(e, t) {
856
677
  if (typeof t != "function" && t !== null)
857
678
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
858
- Ze(e, t);
679
+ je(e, t);
859
680
  function r() {
860
681
  this.constructor = e;
861
682
  }
862
683
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
863
684
  }
864
- function Qe(e) {
685
+ function ke(e) {
865
686
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
866
687
  if (r)
867
688
  return r.call(e);
@@ -873,7 +694,7 @@ function Qe(e) {
873
694
  };
874
695
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
875
696
  }
876
- function qe(e, t) {
697
+ function Ve(e, t) {
877
698
  var r = typeof Symbol == "function" && e[Symbol.iterator];
878
699
  if (!r)
879
700
  return e;
@@ -893,22 +714,22 @@ function qe(e, t) {
893
714
  }
894
715
  return o;
895
716
  }
896
- function Je(e, t, r) {
717
+ function Xe(e, t, r) {
897
718
  if (arguments.length === 2)
898
719
  for (var n = 0, i = t.length, o; n < i; n++)
899
720
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
900
721
  return e.concat(o || t);
901
722
  }
902
- function G(e) {
723
+ function D(e) {
903
724
  return typeof e == "function";
904
725
  }
905
- function rr(e) {
726
+ function kt(e) {
906
727
  var t = function(n) {
907
728
  Error.call(n), n.stack = new Error().stack;
908
729
  }, r = e(t);
909
730
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
910
731
  }
911
- var Ue = rr(function(e) {
732
+ var Ce = kt(function(e) {
912
733
  return function(r) {
913
734
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
914
735
  ` + r.map(function(n, i) {
@@ -917,13 +738,13 @@ var Ue = rr(function(e) {
917
738
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
918
739
  };
919
740
  });
920
- function Ye(e, t) {
741
+ function We(e, t) {
921
742
  if (e) {
922
743
  var r = e.indexOf(t);
923
744
  0 <= r && e.splice(r, 1);
924
745
  }
925
746
  }
926
- var Ie = function() {
747
+ var Te = function() {
927
748
  function e(t) {
928
749
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
929
750
  }
@@ -935,12 +756,12 @@ var Ie = function() {
935
756
  if (a)
936
757
  if (this._parentage = null, Array.isArray(a))
937
758
  try {
938
- for (var s = Qe(a), l = s.next(); !l.done; l = s.next()) {
759
+ for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
939
760
  var u = l.value;
940
761
  u.remove(this);
941
762
  }
942
- } catch (m) {
943
- t = { error: m };
763
+ } catch (g) {
764
+ t = { error: g };
944
765
  } finally {
945
766
  try {
946
767
  l && !l.done && (r = s.return) && r.call(s);
@@ -952,29 +773,29 @@ var Ie = function() {
952
773
  else
953
774
  a.remove(this);
954
775
  var h = this.initialTeardown;
955
- if (G(h))
776
+ if (D(h))
956
777
  try {
957
778
  h();
958
- } catch (m) {
959
- o = m instanceof Ue ? m.errors : [m];
779
+ } catch (g) {
780
+ o = g instanceof Ce ? g.errors : [g];
960
781
  }
961
782
  var f = this._finalizers;
962
783
  if (f) {
963
784
  this._finalizers = null;
964
785
  try {
965
- for (var c = Qe(f), p = c.next(); !p.done; p = c.next()) {
966
- var d = p.value;
786
+ for (var c = ke(f), m = c.next(); !m.done; m = c.next()) {
787
+ var b = m.value;
967
788
  try {
968
- vt(d);
969
- } catch (m) {
970
- o = o ?? [], m instanceof Ue ? o = Je(Je([], qe(o)), qe(m.errors)) : o.push(m);
789
+ lt(b);
790
+ } catch (g) {
791
+ o = o ?? [], g instanceof Ce ? o = Xe(Xe([], Ve(o)), Ve(g.errors)) : o.push(g);
971
792
  }
972
793
  }
973
- } catch (m) {
974
- n = { error: m };
794
+ } catch (g) {
795
+ n = { error: g };
975
796
  } finally {
976
797
  try {
977
- p && !p.done && (i = c.return) && i.call(c);
798
+ m && !m.done && (i = c.return) && i.call(c);
978
799
  } finally {
979
800
  if (n)
980
801
  throw n.error;
@@ -982,13 +803,13 @@ var Ie = function() {
982
803
  }
983
804
  }
984
805
  if (o)
985
- throw new Ue(o);
806
+ throw new Ce(o);
986
807
  }
987
808
  }, e.prototype.add = function(t) {
988
809
  var r;
989
810
  if (t && t !== this)
990
811
  if (this.closed)
991
- vt(t);
812
+ lt(t);
992
813
  else {
993
814
  if (t instanceof e) {
994
815
  if (t.closed || t._hasParent(this))
@@ -1005,52 +826,52 @@ var Ie = function() {
1005
826
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
1006
827
  }, e.prototype._removeParent = function(t) {
1007
828
  var r = this._parentage;
1008
- r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
829
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
1009
830
  }, e.prototype.remove = function(t) {
1010
831
  var r = this._finalizers;
1011
- r && Ye(r, t), t instanceof e && t._removeParent(this);
832
+ r && We(r, t), t instanceof e && t._removeParent(this);
1012
833
  }, e.EMPTY = function() {
1013
834
  var t = new e();
1014
835
  return t.closed = !0, t;
1015
836
  }(), e;
1016
- }(), nr = Ie.EMPTY;
1017
- function ir(e) {
1018
- return e instanceof Ie || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
837
+ }(), Vt = Te.EMPTY;
838
+ function Xt(e) {
839
+ return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
1019
840
  }
1020
- function vt(e) {
1021
- G(e) ? e() : e.unsubscribe();
841
+ function lt(e) {
842
+ D(e) ? e() : e.unsubscribe();
1022
843
  }
1023
- var pn = {
844
+ var Vr = {
1024
845
  Promise: void 0
1025
- }, mn = {
846
+ }, Xr = {
1026
847
  setTimeout: function(e, t) {
1027
848
  for (var r = [], n = 2; n < arguments.length; n++)
1028
849
  r[n - 2] = arguments[n];
1029
- return setTimeout.apply(void 0, Je([e, t], qe(r)));
850
+ return setTimeout.apply(void 0, Xe([e, t], Ve(r)));
1030
851
  },
1031
852
  clearTimeout: function(e) {
1032
853
  return clearTimeout(e);
1033
854
  },
1034
855
  delegate: void 0
1035
856
  };
1036
- function bn(e) {
1037
- mn.setTimeout(function() {
857
+ function Wr(e) {
858
+ Xr.setTimeout(function() {
1038
859
  throw e;
1039
860
  });
1040
861
  }
1041
- function Et() {
862
+ function ht() {
1042
863
  }
1043
- function xe(e) {
864
+ function ye(e) {
1044
865
  e();
1045
866
  }
1046
- var or = function(e) {
1047
- pe(t, e);
867
+ var Wt = function(e) {
868
+ he(t, e);
1048
869
  function t(r) {
1049
870
  var n = e.call(this) || this;
1050
- return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = _n, n;
871
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = Qr, n;
1051
872
  }
1052
873
  return t.create = function(r, n, i) {
1053
- return new Ke(r, n, i);
874
+ return new ze(r, n, i);
1054
875
  }, t.prototype.next = function(r) {
1055
876
  this.isStopped || this._next(r);
1056
877
  }, t.prototype.error = function(r) {
@@ -1074,7 +895,7 @@ var or = function(e) {
1074
895
  this.unsubscribe();
1075
896
  }
1076
897
  }, t;
1077
- }(Ie), yn = function() {
898
+ }(Te), zr = function() {
1078
899
  function e(t) {
1079
900
  this.partialObserver = t;
1080
901
  }
@@ -1084,7 +905,7 @@ var or = function(e) {
1084
905
  try {
1085
906
  r.next(t);
1086
907
  } catch (n) {
1087
- ge(n);
908
+ de(n);
1088
909
  }
1089
910
  }, e.prototype.error = function(t) {
1090
911
  var r = this.partialObserver;
@@ -1092,56 +913,56 @@ var or = function(e) {
1092
913
  try {
1093
914
  r.error(t);
1094
915
  } catch (n) {
1095
- ge(n);
916
+ de(n);
1096
917
  }
1097
918
  else
1098
- ge(t);
919
+ de(t);
1099
920
  }, e.prototype.complete = function() {
1100
921
  var t = this.partialObserver;
1101
922
  if (t.complete)
1102
923
  try {
1103
924
  t.complete();
1104
925
  } catch (r) {
1105
- ge(r);
926
+ de(r);
1106
927
  }
1107
928
  }, e;
1108
- }(), Ke = function(e) {
1109
- pe(t, e);
929
+ }(), ze = function(e) {
930
+ he(t, e);
1110
931
  function t(r, n, i) {
1111
932
  var o = e.call(this) || this, a;
1112
- return G(r) || !r ? a = {
933
+ return D(r) || !r ? a = {
1113
934
  next: r ?? void 0,
1114
935
  error: n ?? void 0,
1115
936
  complete: i ?? void 0
1116
- } : a = r, o.destination = new yn(a), o;
937
+ } : a = r, o.destination = new zr(a), o;
1117
938
  }
1118
939
  return t;
1119
- }(or);
1120
- function ge(e) {
1121
- bn(e);
940
+ }(Wt);
941
+ function de(e) {
942
+ Wr(e);
1122
943
  }
1123
- function gn(e) {
944
+ function Zr(e) {
1124
945
  throw e;
1125
946
  }
1126
- var _n = {
947
+ var Qr = {
1127
948
  closed: !0,
1128
- next: Et,
1129
- error: gn,
1130
- complete: Et
1131
- }, vn = function() {
949
+ next: ht,
950
+ error: Zr,
951
+ complete: ht
952
+ }, qr = function() {
1132
953
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1133
954
  }();
1134
- function En(e) {
955
+ function Jr(e) {
1135
956
  return e;
1136
957
  }
1137
- function xn(e) {
1138
- return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
958
+ function Yr(e) {
959
+ return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
1139
960
  return e.reduce(function(n, i) {
1140
961
  return i(n);
1141
962
  }, r);
1142
963
  };
1143
964
  }
1144
- var xt = function() {
965
+ var ct = function() {
1145
966
  function e(t) {
1146
967
  t && (this._subscribe = t);
1147
968
  }
@@ -1149,8 +970,8 @@ var xt = function() {
1149
970
  var r = new e();
1150
971
  return r.source = this, r.operator = t, r;
1151
972
  }, e.prototype.subscribe = function(t, r, n) {
1152
- var i = this, o = Sn(t) ? t : new Ke(t, r, n);
1153
- return xe(function() {
973
+ var i = this, o = en(t) ? t : new ze(t, r, n);
974
+ return ye(function() {
1154
975
  var a = i, s = a.operator, l = a.source;
1155
976
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1156
977
  }), o;
@@ -1162,8 +983,8 @@ var xt = function() {
1162
983
  }
1163
984
  }, e.prototype.forEach = function(t, r) {
1164
985
  var n = this;
1165
- return r = wt(r), new r(function(i, o) {
1166
- var a = new Ke({
986
+ return r = ft(r), new r(function(i, o) {
987
+ var a = new ze({
1167
988
  next: function(s) {
1168
989
  try {
1169
990
  t(s);
@@ -1179,15 +1000,15 @@ var xt = function() {
1179
1000
  }, e.prototype._subscribe = function(t) {
1180
1001
  var r;
1181
1002
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1182
- }, e.prototype[vn] = function() {
1003
+ }, e.prototype[qr] = function() {
1183
1004
  return this;
1184
1005
  }, e.prototype.pipe = function() {
1185
1006
  for (var t = [], r = 0; r < arguments.length; r++)
1186
1007
  t[r] = arguments[r];
1187
- return xn(t)(this);
1008
+ return Yr(t)(this);
1188
1009
  }, e.prototype.toPromise = function(t) {
1189
1010
  var r = this;
1190
- return t = wt(t), new t(function(n, i) {
1011
+ return t = ft(t), new t(function(n, i) {
1191
1012
  var o;
1192
1013
  r.subscribe(function(a) {
1193
1014
  return o = a;
@@ -1201,40 +1022,40 @@ var xt = function() {
1201
1022
  return new e(t);
1202
1023
  }, e;
1203
1024
  }();
1204
- function wt(e) {
1025
+ function ft(e) {
1205
1026
  var t;
1206
- return (t = e ?? pn.Promise) !== null && t !== void 0 ? t : Promise;
1027
+ return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
1207
1028
  }
1208
- function wn(e) {
1209
- return e && G(e.next) && G(e.error) && G(e.complete);
1029
+ function Kr(e) {
1030
+ return e && D(e.next) && D(e.error) && D(e.complete);
1210
1031
  }
1211
- function Sn(e) {
1212
- return e && e instanceof or || wn(e) && ir(e);
1032
+ function en(e) {
1033
+ return e && e instanceof Wt || Kr(e) && Xt(e);
1213
1034
  }
1214
- var Tn = rr(function(e) {
1035
+ var tn = kt(function(e) {
1215
1036
  return function() {
1216
1037
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1217
1038
  };
1218
- }), sr = function(e) {
1219
- pe(t, e);
1039
+ }), zt = function(e) {
1040
+ he(t, e);
1220
1041
  function t() {
1221
1042
  var r = e.call(this) || this;
1222
1043
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1223
1044
  }
1224
1045
  return t.prototype.lift = function(r) {
1225
- var n = new St(this, this);
1046
+ var n = new dt(this, this);
1226
1047
  return n.operator = r, n;
1227
1048
  }, t.prototype._throwIfClosed = function() {
1228
1049
  if (this.closed)
1229
- throw new Tn();
1050
+ throw new tn();
1230
1051
  }, t.prototype.next = function(r) {
1231
1052
  var n = this;
1232
- xe(function() {
1053
+ ye(function() {
1233
1054
  var i, o;
1234
1055
  if (n._throwIfClosed(), !n.isStopped) {
1235
1056
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1236
1057
  try {
1237
- for (var a = Qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1058
+ for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1238
1059
  var l = s.value;
1239
1060
  l.next(r);
1240
1061
  }
@@ -1252,7 +1073,7 @@ var Tn = rr(function(e) {
1252
1073
  });
1253
1074
  }, t.prototype.error = function(r) {
1254
1075
  var n = this;
1255
- xe(function() {
1076
+ ye(function() {
1256
1077
  if (n._throwIfClosed(), !n.isStopped) {
1257
1078
  n.hasError = n.isStopped = !0, n.thrownError = r;
1258
1079
  for (var i = n.observers; i.length; )
@@ -1261,7 +1082,7 @@ var Tn = rr(function(e) {
1261
1082
  });
1262
1083
  }, t.prototype.complete = function() {
1263
1084
  var r = this;
1264
- xe(function() {
1085
+ ye(function() {
1265
1086
  if (r._throwIfClosed(), !r.isStopped) {
1266
1087
  r.isStopped = !0;
1267
1088
  for (var n = r.observers; n.length; )
@@ -1283,20 +1104,20 @@ var Tn = rr(function(e) {
1283
1104
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1284
1105
  }, t.prototype._innerSubscribe = function(r) {
1285
1106
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1286
- return o || a ? nr : (this.currentObservers = null, s.push(r), new Ie(function() {
1287
- n.currentObservers = null, Ye(s, r);
1107
+ return o || a ? Vt : (this.currentObservers = null, s.push(r), new Te(function() {
1108
+ n.currentObservers = null, We(s, r);
1288
1109
  }));
1289
1110
  }, t.prototype._checkFinalizedStatuses = function(r) {
1290
1111
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1291
1112
  i ? r.error(o) : a && r.complete();
1292
1113
  }, t.prototype.asObservable = function() {
1293
- var r = new xt();
1114
+ var r = new ct();
1294
1115
  return r.source = this, r;
1295
1116
  }, t.create = function(r, n) {
1296
- return new St(r, n);
1117
+ return new dt(r, n);
1297
1118
  }, t;
1298
- }(xt), St = function(e) {
1299
- pe(t, e);
1119
+ }(ct), dt = function(e) {
1120
+ he(t, e);
1300
1121
  function t(r, n) {
1301
1122
  var i = e.call(this) || this;
1302
1123
  return i.destination = r, i.source = n, i;
@@ -1312,17 +1133,17 @@ var Tn = rr(function(e) {
1312
1133
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1313
1134
  }, t.prototype._subscribe = function(r) {
1314
1135
  var n, i;
1315
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : nr;
1136
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1316
1137
  }, t;
1317
- }(sr), ar = {
1138
+ }(zt), Zt = {
1318
1139
  now: function() {
1319
- return (ar.delegate || Date).now();
1140
+ return (Zt.delegate || Date).now();
1320
1141
  },
1321
1142
  delegate: void 0
1322
- }, Hn = function(e) {
1323
- pe(t, e);
1143
+ }, rn = function(e) {
1144
+ he(t, e);
1324
1145
  function t(r, n, i) {
1325
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ar);
1146
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1326
1147
  var o = e.call(this) || this;
1327
1148
  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;
1328
1149
  }
@@ -1342,24 +1163,24 @@ var Tn = rr(function(e) {
1342
1163
  u && o.splice(0, u + 1);
1343
1164
  }
1344
1165
  }, t;
1345
- }(sr);
1346
- const Tt = [], Ht = {}, Pn = (e, t = 0) => {
1347
- if (Tt.indexOf(e) == -1) {
1348
- const r = new Hn(t);
1349
- Ht[e] = r, Tt.push(e);
1166
+ }(zt);
1167
+ const pt = [], mt = {}, nn = (e, t = 0) => {
1168
+ if (pt.indexOf(e) == -1) {
1169
+ const r = new rn(t);
1170
+ mt[e] = r, pt.push(e);
1350
1171
  }
1351
- return Ht[e];
1172
+ return mt[e];
1352
1173
  }, Q = [];
1353
- function An(e, t) {
1174
+ function on(e, t) {
1354
1175
  return {
1355
- subscribe: Ce(e, t).subscribe
1176
+ subscribe: He(e, t).subscribe
1356
1177
  };
1357
1178
  }
1358
- function Ce(e, t = B) {
1179
+ function He(e, t = B) {
1359
1180
  let r;
1360
1181
  const n = /* @__PURE__ */ new Set();
1361
1182
  function i(s) {
1362
- if (Wt(e, s) && (e = s, r)) {
1183
+ if (Mt(e, s) && (e = s, r)) {
1363
1184
  const l = !Q.length;
1364
1185
  for (const u of n)
1365
1186
  u[1](), Q.push(u, e);
@@ -1381,12 +1202,12 @@ function Ce(e, t = B) {
1381
1202
  }
1382
1203
  return { set: i, update: o, subscribe: a };
1383
1204
  }
1384
- function ne(e, t, r) {
1205
+ function re(e, t, r) {
1385
1206
  const n = !Array.isArray(e), i = n ? [e] : e;
1386
1207
  if (!i.every(Boolean))
1387
1208
  throw new Error("derived() expects stores as input, got a falsy value");
1388
1209
  const o = t.length < 2;
1389
- return An(r, (a, s) => {
1210
+ return on(r, (a, s) => {
1390
1211
  let l = !1;
1391
1212
  const u = [];
1392
1213
  let h = 0, f = B;
@@ -1394,126 +1215,126 @@ function ne(e, t, r) {
1394
1215
  if (h)
1395
1216
  return;
1396
1217
  f();
1397
- const d = t(n ? u[0] : u, a, s);
1398
- o ? a(d) : f = fe(d) ? d : B;
1399
- }, p = i.map(
1400
- (d, m) => zt(
1401
- d,
1402
- (v) => {
1403
- u[m] = v, h &= ~(1 << m), l && c();
1218
+ const b = t(n ? u[0] : u, a, s);
1219
+ o ? a(b) : f = Se(b) ? b : B;
1220
+ }, m = i.map(
1221
+ (b, g) => Rt(
1222
+ b,
1223
+ (S) => {
1224
+ u[g] = S, h &= ~(1 << g), l && c();
1404
1225
  },
1405
1226
  () => {
1406
- h |= 1 << m;
1227
+ h |= 1 << g;
1407
1228
  }
1408
1229
  )
1409
1230
  );
1410
1231
  return l = !0, c(), function() {
1411
- V(p), f(), l = !1;
1232
+ X(m), f(), l = !1;
1412
1233
  };
1413
1234
  });
1414
1235
  }
1415
- function Bn(e) {
1236
+ function sn(e) {
1416
1237
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1417
1238
  }
1418
- var On = function(t) {
1419
- return In(t) && !Cn(t);
1239
+ var an = function(t) {
1240
+ return un(t) && !ln(t);
1420
1241
  };
1421
- function In(e) {
1242
+ function un(e) {
1422
1243
  return !!e && typeof e == "object";
1423
1244
  }
1424
- function Cn(e) {
1245
+ function ln(e) {
1425
1246
  var t = Object.prototype.toString.call(e);
1426
- return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1247
+ return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1427
1248
  }
1428
- var Ln = typeof Symbol == "function" && Symbol.for, Nn = Ln ? Symbol.for("react.element") : 60103;
1429
- function Mn(e) {
1430
- return e.$$typeof === Nn;
1249
+ var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
1250
+ function fn(e) {
1251
+ return e.$$typeof === cn;
1431
1252
  }
1432
- function $n(e) {
1253
+ function dn(e) {
1433
1254
  return Array.isArray(e) ? [] : {};
1434
1255
  }
1435
- function he(e, t) {
1436
- return t.clone !== !1 && t.isMergeableObject(e) ? K($n(e), e, t) : e;
1256
+ function ue(e, t) {
1257
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(dn(e), e, t) : e;
1437
1258
  }
1438
- function Rn(e, t, r) {
1259
+ function pn(e, t, r) {
1439
1260
  return e.concat(t).map(function(n) {
1440
- return he(n, r);
1261
+ return ue(n, r);
1441
1262
  });
1442
1263
  }
1443
- function Dn(e, t) {
1264
+ function mn(e, t) {
1444
1265
  if (!t.customMerge)
1445
- return K;
1266
+ return Y;
1446
1267
  var r = t.customMerge(e);
1447
- return typeof r == "function" ? r : K;
1268
+ return typeof r == "function" ? r : Y;
1448
1269
  }
1449
- function Un(e) {
1270
+ function bn(e) {
1450
1271
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1451
1272
  return Object.propertyIsEnumerable.call(e, t);
1452
1273
  }) : [];
1453
1274
  }
1454
- function Pt(e) {
1455
- return Object.keys(e).concat(Un(e));
1275
+ function bt(e) {
1276
+ return Object.keys(e).concat(bn(e));
1456
1277
  }
1457
- function ur(e, t) {
1278
+ function Qt(e, t) {
1458
1279
  try {
1459
1280
  return t in e;
1460
1281
  } catch {
1461
1282
  return !1;
1462
1283
  }
1463
1284
  }
1464
- function Gn(e, t) {
1465
- return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1285
+ function yn(e, t) {
1286
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1466
1287
  }
1467
- function Fn(e, t, r) {
1288
+ function gn(e, t, r) {
1468
1289
  var n = {};
1469
- return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
1470
- n[i] = he(e[i], r);
1471
- }), Pt(t).forEach(function(i) {
1472
- Gn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1290
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1291
+ n[i] = ue(e[i], r);
1292
+ }), bt(t).forEach(function(i) {
1293
+ yn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1473
1294
  }), n;
1474
1295
  }
1475
- function K(e, t, r) {
1476
- r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = he;
1296
+ function Y(e, t, r) {
1297
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = ue;
1477
1298
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1478
- return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : he(t, r);
1299
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
1479
1300
  }
1480
- K.all = function(t, r) {
1301
+ Y.all = function(t, r) {
1481
1302
  if (!Array.isArray(t))
1482
1303
  throw new Error("first argument should be an array");
1483
1304
  return t.reduce(function(n, i) {
1484
- return K(n, i, r);
1305
+ return Y(n, i, r);
1485
1306
  }, {});
1486
1307
  };
1487
- var jn = K, kn = jn;
1488
- const Vn = /* @__PURE__ */ Bn(kn);
1489
- var et = function(e, t) {
1490
- return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1308
+ var vn = Y, _n = vn;
1309
+ const En = /* @__PURE__ */ sn(_n);
1310
+ var Ze = function(e, t) {
1311
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1491
1312
  r.__proto__ = n;
1492
1313
  } || function(r, n) {
1493
1314
  for (var i in n)
1494
1315
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1495
- }, et(e, t);
1316
+ }, Ze(e, t);
1496
1317
  };
1497
- function Le(e, t) {
1318
+ function Pe(e, t) {
1498
1319
  if (typeof t != "function" && t !== null)
1499
1320
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1500
- et(e, t);
1321
+ Ze(e, t);
1501
1322
  function r() {
1502
1323
  this.constructor = e;
1503
1324
  }
1504
1325
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1505
1326
  }
1506
- var D = function() {
1507
- return D = Object.assign || function(t) {
1327
+ var R = function() {
1328
+ return R = Object.assign || function(t) {
1508
1329
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1509
1330
  r = arguments[n];
1510
1331
  for (var o in r)
1511
1332
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1512
1333
  }
1513
1334
  return t;
1514
- }, D.apply(this, arguments);
1335
+ }, R.apply(this, arguments);
1515
1336
  };
1516
- function Xn(e, t) {
1337
+ function xn(e, t) {
1517
1338
  var r = {};
1518
1339
  for (var n in e)
1519
1340
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1522,43 +1343,43 @@ function Xn(e, t) {
1522
1343
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1523
1344
  return r;
1524
1345
  }
1525
- function Ge(e, t, r) {
1346
+ function Le(e, t, r) {
1526
1347
  if (r || arguments.length === 2)
1527
1348
  for (var n = 0, i = t.length, o; n < i; n++)
1528
1349
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1529
1350
  return e.concat(o || Array.prototype.slice.call(t));
1530
1351
  }
1531
- function Fe(e, t) {
1532
- var r = t && t.cache ? t.cache : Yn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Zn;
1352
+ function Ne(e, t) {
1353
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : Tn;
1533
1354
  return i(e, {
1534
1355
  cache: r,
1535
1356
  serializer: n
1536
1357
  });
1537
1358
  }
1538
- function Wn(e) {
1359
+ function Sn(e) {
1539
1360
  return e == null || typeof e == "number" || typeof e == "boolean";
1540
1361
  }
1541
- function zn(e, t, r, n) {
1542
- var i = Wn(n) ? n : r(n), o = t.get(i);
1362
+ function wn(e, t, r, n) {
1363
+ var i = Sn(n) ? n : r(n), o = t.get(i);
1543
1364
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1544
1365
  }
1545
- function lr(e, t, r) {
1366
+ function qt(e, t, r) {
1546
1367
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1547
1368
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1548
1369
  }
1549
- function hr(e, t, r, n, i) {
1370
+ function Jt(e, t, r, n, i) {
1550
1371
  return r.bind(t, e, n, i);
1551
1372
  }
1552
- function Zn(e, t) {
1553
- var r = e.length === 1 ? zn : lr;
1554
- return hr(e, this, r, t.cache.create(), t.serializer);
1373
+ function Tn(e, t) {
1374
+ var r = e.length === 1 ? wn : qt;
1375
+ return Jt(e, this, r, t.cache.create(), t.serializer);
1555
1376
  }
1556
- function Qn(e, t) {
1557
- return hr(e, this, lr, t.cache.create(), t.serializer);
1377
+ function Hn(e, t) {
1378
+ return Jt(e, this, qt, t.cache.create(), t.serializer);
1558
1379
  }
1559
- var qn = function() {
1380
+ var Pn = function() {
1560
1381
  return JSON.stringify(arguments);
1561
- }, Jn = (
1382
+ }, Bn = (
1562
1383
  /** @class */
1563
1384
  function() {
1564
1385
  function e() {
@@ -1570,71 +1391,71 @@ var qn = function() {
1570
1391
  this.cache[t] = r;
1571
1392
  }, e;
1572
1393
  }()
1573
- ), Yn = {
1394
+ ), An = {
1574
1395
  create: function() {
1575
- return new Jn();
1396
+ return new Bn();
1576
1397
  }
1577
- }, je = {
1578
- variadic: Qn
1579
- }, Ae = function() {
1580
- return Ae = Object.assign || function(t) {
1398
+ }, Me = {
1399
+ variadic: Hn
1400
+ }, _e = function() {
1401
+ return _e = Object.assign || function(t) {
1581
1402
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1582
1403
  r = arguments[n];
1583
1404
  for (var o in r)
1584
1405
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1585
1406
  }
1586
1407
  return t;
1587
- }, Ae.apply(this, arguments);
1408
+ }, _e.apply(this, arguments);
1588
1409
  };
1589
- var g;
1410
+ var y;
1590
1411
  (function(e) {
1591
1412
  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";
1592
- })(g || (g = {}));
1593
- var E;
1413
+ })(y || (y = {}));
1414
+ var _;
1594
1415
  (function(e) {
1595
1416
  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";
1596
- })(E || (E = {}));
1597
- var ee;
1417
+ })(_ || (_ = {}));
1418
+ var K;
1598
1419
  (function(e) {
1599
1420
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1600
- })(ee || (ee = {}));
1601
- function At(e) {
1602
- return e.type === E.literal;
1421
+ })(K || (K = {}));
1422
+ function yt(e) {
1423
+ return e.type === _.literal;
1603
1424
  }
1604
- function Kn(e) {
1605
- return e.type === E.argument;
1425
+ function On(e) {
1426
+ return e.type === _.argument;
1606
1427
  }
1607
- function cr(e) {
1608
- return e.type === E.number;
1428
+ function Yt(e) {
1429
+ return e.type === _.number;
1609
1430
  }
1610
- function fr(e) {
1611
- return e.type === E.date;
1431
+ function Kt(e) {
1432
+ return e.type === _.date;
1612
1433
  }
1613
- function dr(e) {
1614
- return e.type === E.time;
1434
+ function er(e) {
1435
+ return e.type === _.time;
1615
1436
  }
1616
- function pr(e) {
1617
- return e.type === E.select;
1437
+ function tr(e) {
1438
+ return e.type === _.select;
1618
1439
  }
1619
- function mr(e) {
1620
- return e.type === E.plural;
1440
+ function rr(e) {
1441
+ return e.type === _.plural;
1621
1442
  }
1622
- function ei(e) {
1623
- return e.type === E.pound;
1443
+ function In(e) {
1444
+ return e.type === _.pound;
1624
1445
  }
1625
- function br(e) {
1626
- return e.type === E.tag;
1446
+ function nr(e) {
1447
+ return e.type === _.tag;
1627
1448
  }
1628
- function yr(e) {
1629
- return !!(e && typeof e == "object" && e.type === ee.number);
1449
+ function ir(e) {
1450
+ return !!(e && typeof e == "object" && e.type === K.number);
1630
1451
  }
1631
- function tt(e) {
1632
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1452
+ function Qe(e) {
1453
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1633
1454
  }
1634
- var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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;
1635
- function ri(e) {
1455
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1456
+ function Ln(e) {
1636
1457
  var t = {};
1637
- return e.replace(ti, function(r) {
1458
+ return e.replace(Cn, function(r) {
1638
1459
  var n = r.length;
1639
1460
  switch (r[0]) {
1640
1461
  case "G":
@@ -1723,21 +1544,21 @@ function ri(e) {
1723
1544
  return "";
1724
1545
  }), t;
1725
1546
  }
1726
- var w = function() {
1727
- return w = Object.assign || function(t) {
1547
+ var x = function() {
1548
+ return x = Object.assign || function(t) {
1728
1549
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1729
1550
  r = arguments[n];
1730
1551
  for (var o in r)
1731
1552
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1732
1553
  }
1733
1554
  return t;
1734
- }, w.apply(this, arguments);
1555
+ }, x.apply(this, arguments);
1735
1556
  };
1736
- var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1737
- function ii(e) {
1557
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1558
+ function Mn(e) {
1738
1559
  if (e.length === 0)
1739
1560
  throw new Error("Number skeleton cannot be empty");
1740
- for (var t = e.split(ni).filter(function(c) {
1561
+ for (var t = e.split(Nn).filter(function(c) {
1741
1562
  return c.length > 0;
1742
1563
  }), r = [], n = 0, i = t; n < i.length; n++) {
1743
1564
  var o = i[n], a = o.split("/");
@@ -1752,17 +1573,17 @@ function ii(e) {
1752
1573
  }
1753
1574
  return r;
1754
1575
  }
1755
- function oi(e) {
1576
+ function Rn(e) {
1756
1577
  return e.replace(/^(.*?)-/, "");
1757
1578
  }
1758
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1759
- function Ot(e) {
1579
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1580
+ function vt(e) {
1760
1581
  var t = {};
1761
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
1582
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1762
1583
  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)), "";
1763
1584
  }), t;
1764
1585
  }
1765
- function Er(e) {
1586
+ function ur(e) {
1766
1587
  switch (e) {
1767
1588
  case "sign-auto":
1768
1589
  return {
@@ -1802,7 +1623,7 @@ function Er(e) {
1802
1623
  };
1803
1624
  }
1804
1625
  }
1805
- function ai(e) {
1626
+ function Dn(e) {
1806
1627
  var t;
1807
1628
  if (e[0] === "E" && e[1] === "E" ? (t = {
1808
1629
  notation: "engineering"
@@ -1810,17 +1631,17 @@ function ai(e) {
1810
1631
  notation: "scientific"
1811
1632
  }, e = e.slice(1)), t) {
1812
1633
  var r = e.slice(0, 2);
1813
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1634
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1814
1635
  throw new Error("Malformed concise eng/scientific notation");
1815
1636
  t.minimumIntegerDigits = e.length;
1816
1637
  }
1817
1638
  return t;
1818
1639
  }
1819
- function It(e) {
1820
- var t = {}, r = Er(e);
1640
+ function _t(e) {
1641
+ var t = {}, r = ur(e);
1821
1642
  return r || t;
1822
1643
  }
1823
- function ui(e) {
1644
+ function Un(e) {
1824
1645
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1825
1646
  var i = n[r];
1826
1647
  switch (i.stem) {
@@ -1844,7 +1665,7 @@ function ui(e) {
1844
1665
  continue;
1845
1666
  case "measure-unit":
1846
1667
  case "unit":
1847
- t.style = "unit", t.unit = oi(i.options[0]);
1668
+ t.style = "unit", t.unit = Rn(i.options[0]);
1848
1669
  continue;
1849
1670
  case "compact-short":
1850
1671
  case "K":
@@ -1855,13 +1676,13 @@ function ui(e) {
1855
1676
  t.notation = "compact", t.compactDisplay = "long";
1856
1677
  continue;
1857
1678
  case "scientific":
1858
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1859
- return w(w({}, l), It(u));
1679
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1680
+ return x(x({}, l), _t(u));
1860
1681
  }, {}));
1861
1682
  continue;
1862
1683
  case "engineering":
1863
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1864
- return w(w({}, l), It(u));
1684
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1685
+ return x(x({}, l), _t(u));
1865
1686
  }, {}));
1866
1687
  continue;
1867
1688
  case "notation-simple":
@@ -1906,45 +1727,45 @@ function ui(e) {
1906
1727
  case "integer-width":
1907
1728
  if (i.options.length > 1)
1908
1729
  throw new RangeError("integer-width stems only accept a single optional option");
1909
- i.options[0].replace(si, function(l, u, h, f, c, p) {
1730
+ i.options[0].replace($n, function(l, u, h, f, c, m) {
1910
1731
  if (u)
1911
1732
  t.minimumIntegerDigits = h.length;
1912
1733
  else {
1913
1734
  if (f && c)
1914
1735
  throw new Error("We currently do not support maximum integer digits");
1915
- if (p)
1736
+ if (m)
1916
1737
  throw new Error("We currently do not support exact integer digits");
1917
1738
  }
1918
1739
  return "";
1919
1740
  });
1920
1741
  continue;
1921
1742
  }
1922
- if (vr.test(i.stem)) {
1743
+ if (ar.test(i.stem)) {
1923
1744
  t.minimumIntegerDigits = i.stem.length;
1924
1745
  continue;
1925
1746
  }
1926
- if (Bt.test(i.stem)) {
1747
+ if (gt.test(i.stem)) {
1927
1748
  if (i.options.length > 1)
1928
1749
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1929
- i.stem.replace(Bt, function(l, u, h, f, c, p) {
1930
- 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), "";
1750
+ i.stem.replace(gt, function(l, u, h, f, c, m) {
1751
+ 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), "";
1931
1752
  });
1932
1753
  var o = i.options[0];
1933
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ot(o)));
1754
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), vt(o)));
1934
1755
  continue;
1935
1756
  }
1936
- if (_r.test(i.stem)) {
1937
- t = w(w({}, t), Ot(i.stem));
1757
+ if (sr.test(i.stem)) {
1758
+ t = x(x({}, t), vt(i.stem));
1938
1759
  continue;
1939
1760
  }
1940
- var a = Er(i.stem);
1941
- a && (t = w(w({}, t), a));
1942
- var s = ai(i.stem);
1943
- s && (t = w(w({}, t), s));
1761
+ var a = ur(i.stem);
1762
+ a && (t = x(x({}, t), a));
1763
+ var s = Dn(i.stem);
1764
+ s && (t = x(x({}, t), s));
1944
1765
  }
1945
1766
  return t;
1946
1767
  }
1947
- var _e = {
1768
+ var pe = {
1948
1769
  "001": [
1949
1770
  "H",
1950
1771
  "h"
@@ -3359,13 +3180,13 @@ var _e = {
3359
3180
  "h"
3360
3181
  ]
3361
3182
  };
3362
- function li(e, t) {
3183
+ function Gn(e, t) {
3363
3184
  for (var r = "", n = 0; n < e.length; n++) {
3364
3185
  var i = e.charAt(n);
3365
3186
  if (i === "j") {
3366
3187
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3367
3188
  o++, n++;
3368
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = hi(t);
3189
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
3369
3190
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3370
3191
  r += l;
3371
3192
  for (; a-- > 0; )
@@ -3375,7 +3196,7 @@ function li(e, t) {
3375
3196
  }
3376
3197
  return r;
3377
3198
  }
3378
- function hi(e) {
3199
+ function Fn(e) {
3379
3200
  var t = e.hourCycle;
3380
3201
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3381
3202
  e.hourCycles && // @ts-ignore
@@ -3394,23 +3215,23 @@ function hi(e) {
3394
3215
  }
3395
3216
  var r = e.language, n;
3396
3217
  r !== "root" && (n = e.maximize().region);
3397
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3218
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3398
3219
  return i[0];
3399
3220
  }
3400
- var ke, ci = new RegExp("^".concat(gr.source, "*")), fi = new RegExp("".concat(gr.source, "*$"));
3401
- function _(e, t) {
3221
+ var Re, jn = new RegExp("^".concat(or.source, "*")), kn = new RegExp("".concat(or.source, "*$"));
3222
+ function v(e, t) {
3402
3223
  return { start: e, end: t };
3403
3224
  }
3404
- var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), pi = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, vi = _i ? Number.isSafeInteger : function(e) {
3225
+ var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, Wn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Jn = qn ? Number.isSafeInteger : function(e) {
3405
3226
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3406
- }, rt = !0;
3227
+ }, qe = !0;
3407
3228
  try {
3408
- var Ei = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3409
- rt = ((ke = Ei.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
3229
+ var Yn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3230
+ qe = ((Re = Yn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3410
3231
  } catch {
3411
- rt = !1;
3232
+ qe = !1;
3412
3233
  }
3413
- var Ct = di ? (
3234
+ var Et = Vn ? (
3414
3235
  // Native
3415
3236
  function(t, r, n) {
3416
3237
  return t.startsWith(r, n);
@@ -3420,7 +3241,7 @@ var Ct = di ? (
3420
3241
  function(t, r, n) {
3421
3242
  return t.slice(n, n + r.length) === r;
3422
3243
  }
3423
- ), nt = pi ? String.fromCodePoint : (
3244
+ ), Je = Xn ? String.fromCodePoint : (
3424
3245
  // IE11
3425
3246
  function() {
3426
3247
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3432,9 +3253,9 @@ var Ct = di ? (
3432
3253
  }
3433
3254
  return n;
3434
3255
  }
3435
- ), Lt = (
3256
+ ), xt = (
3436
3257
  // native
3437
- mi ? Object.fromEntries : (
3258
+ Wn ? Object.fromEntries : (
3438
3259
  // Ponyfill
3439
3260
  function(t) {
3440
3261
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3444,7 +3265,7 @@ var Ct = di ? (
3444
3265
  return r;
3445
3266
  }
3446
3267
  )
3447
- ), xr = bi ? (
3268
+ ), lr = zn ? (
3448
3269
  // Native
3449
3270
  function(t, r) {
3450
3271
  return t.codePointAt(r);
@@ -3458,7 +3279,7 @@ var Ct = di ? (
3458
3279
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3459
3280
  }
3460
3281
  }
3461
- ), xi = yi ? (
3282
+ ), Kn = Zn ? (
3462
3283
  // Native
3463
3284
  function(t) {
3464
3285
  return t.trimStart();
@@ -3466,9 +3287,9 @@ var Ct = di ? (
3466
3287
  ) : (
3467
3288
  // Ponyfill
3468
3289
  function(t) {
3469
- return t.replace(ci, "");
3290
+ return t.replace(jn, "");
3470
3291
  }
3471
- ), wi = gi ? (
3292
+ ), ei = Qn ? (
3472
3293
  // Native
3473
3294
  function(t) {
3474
3295
  return t.trimEnd();
@@ -3476,32 +3297,32 @@ var Ct = di ? (
3476
3297
  ) : (
3477
3298
  // Ponyfill
3478
3299
  function(t) {
3479
- return t.replace(fi, "");
3300
+ return t.replace(kn, "");
3480
3301
  }
3481
3302
  );
3482
- function wr(e, t) {
3303
+ function hr(e, t) {
3483
3304
  return new RegExp(e, t);
3484
3305
  }
3485
- var it;
3486
- if (rt) {
3487
- var Nt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3488
- it = function(t, r) {
3306
+ var Ye;
3307
+ if (qe) {
3308
+ var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3309
+ Ye = function(t, r) {
3489
3310
  var n;
3490
- Nt.lastIndex = r;
3491
- var i = Nt.exec(t);
3311
+ St.lastIndex = r;
3312
+ var i = St.exec(t);
3492
3313
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3493
3314
  };
3494
3315
  } else
3495
- it = function(t, r) {
3316
+ Ye = function(t, r) {
3496
3317
  for (var n = []; ; ) {
3497
- var i = xr(t, r);
3498
- if (i === void 0 || Sr(i) || Pi(i))
3318
+ var i = lr(t, r);
3319
+ if (i === void 0 || cr(i) || ii(i))
3499
3320
  break;
3500
3321
  n.push(i), r += i >= 65536 ? 2 : 1;
3501
3322
  }
3502
- return nt.apply(void 0, n);
3323
+ return Je.apply(void 0, n);
3503
3324
  };
3504
- var Si = (
3325
+ var ti = (
3505
3326
  /** @class */
3506
3327
  function() {
3507
3328
  function e(t, r) {
@@ -3525,14 +3346,14 @@ var Si = (
3525
3346
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3526
3347
  var s = this.clonePosition();
3527
3348
  this.bump(), i.push({
3528
- type: E.pound,
3529
- location: _(s, this.clonePosition())
3349
+ type: _.pound,
3350
+ location: v(s, this.clonePosition())
3530
3351
  });
3531
3352
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3532
3353
  if (n)
3533
3354
  break;
3534
- return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3535
- } else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
3355
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3356
+ } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3536
3357
  var a = this.parseTag(t, r);
3537
3358
  if (a.err)
3538
3359
  return a;
@@ -3553,9 +3374,9 @@ var Si = (
3553
3374
  if (this.bumpSpace(), this.bumpIf("/>"))
3554
3375
  return {
3555
3376
  val: {
3556
- type: E.literal,
3377
+ type: _.literal,
3557
3378
  value: "<".concat(i, "/>"),
3558
- location: _(n, this.clonePosition())
3379
+ location: v(n, this.clonePosition())
3559
3380
  },
3560
3381
  err: null
3561
3382
  };
@@ -3565,25 +3386,25 @@ var Si = (
3565
3386
  return o;
3566
3387
  var a = o.val, s = this.clonePosition();
3567
3388
  if (this.bumpIf("</")) {
3568
- if (this.isEOF() || !ot(this.char()))
3569
- return this.error(g.INVALID_TAG, _(s, this.clonePosition()));
3389
+ if (this.isEOF() || !Ke(this.char()))
3390
+ return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3570
3391
  var l = this.clonePosition(), u = this.parseTagName();
3571
- return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3392
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3572
3393
  val: {
3573
- type: E.tag,
3394
+ type: _.tag,
3574
3395
  value: i,
3575
3396
  children: a,
3576
- location: _(n, this.clonePosition())
3397
+ location: v(n, this.clonePosition())
3577
3398
  },
3578
3399
  err: null
3579
- } : this.error(g.INVALID_TAG, _(s, this.clonePosition())));
3400
+ } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3580
3401
  } else
3581
- return this.error(g.UNCLOSED_TAG, _(n, this.clonePosition()));
3402
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3582
3403
  } else
3583
- return this.error(g.INVALID_TAG, _(n, this.clonePosition()));
3404
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3584
3405
  }, e.prototype.parseTagName = function() {
3585
3406
  var t = this.offset();
3586
- for (this.bump(); !this.isEOF() && Hi(this.char()); )
3407
+ for (this.bump(); !this.isEOF() && ni(this.char()); )
3587
3408
  this.bump();
3588
3409
  return this.message.slice(t, this.offset());
3589
3410
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3605,14 +3426,14 @@ var Si = (
3605
3426
  }
3606
3427
  break;
3607
3428
  }
3608
- var l = _(n, this.clonePosition());
3429
+ var l = v(n, this.clonePosition());
3609
3430
  return {
3610
- val: { type: E.literal, value: i, location: l },
3431
+ val: { type: _.literal, value: i, location: l },
3611
3432
  err: null
3612
3433
  };
3613
3434
  }, e.prototype.tryParseLeftAngleBracket = function() {
3614
3435
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3615
- !Ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3436
+ !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3616
3437
  }, e.prototype.tryParseQuote = function(t) {
3617
3438
  if (this.isEOF() || this.char() !== 39)
3618
3439
  return null;
@@ -3646,49 +3467,49 @@ var Si = (
3646
3467
  r.push(n);
3647
3468
  this.bump();
3648
3469
  }
3649
- return nt.apply(void 0, r);
3470
+ return Je.apply(void 0, r);
3650
3471
  }, e.prototype.tryParseUnquoted = function(t, r) {
3651
3472
  if (this.isEOF())
3652
3473
  return null;
3653
3474
  var n = this.char();
3654
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
3475
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3655
3476
  }, e.prototype.parseArgument = function(t, r) {
3656
3477
  var n = this.clonePosition();
3657
3478
  if (this.bump(), this.bumpSpace(), this.isEOF())
3658
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3479
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3659
3480
  if (this.char() === 125)
3660
- return this.bump(), this.error(g.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3481
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3661
3482
  var i = this.parseIdentifierIfPossible().value;
3662
3483
  if (!i)
3663
- return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3484
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3664
3485
  if (this.bumpSpace(), this.isEOF())
3665
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3486
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3666
3487
  switch (this.char()) {
3667
3488
  case 125:
3668
3489
  return this.bump(), {
3669
3490
  val: {
3670
- type: E.argument,
3491
+ type: _.argument,
3671
3492
  // value does not include the opening and closing braces.
3672
3493
  value: i,
3673
- location: _(n, this.clonePosition())
3494
+ location: v(n, this.clonePosition())
3674
3495
  },
3675
3496
  err: null
3676
3497
  };
3677
3498
  case 44:
3678
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3499
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3679
3500
  default:
3680
- return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3501
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3681
3502
  }
3682
3503
  }, e.prototype.parseIdentifierIfPossible = function() {
3683
- var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
3504
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3684
3505
  this.bumpTo(i);
3685
- var o = this.clonePosition(), a = _(t, o);
3506
+ var o = this.clonePosition(), a = v(t, o);
3686
3507
  return { value: n, location: a };
3687
3508
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3688
3509
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3689
3510
  switch (s) {
3690
3511
  case "":
3691
- return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, l));
3512
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3692
3513
  case "number":
3693
3514
  case "date":
3694
3515
  case "time": {
@@ -3699,46 +3520,46 @@ var Si = (
3699
3520
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3700
3521
  if (f.err)
3701
3522
  return f;
3702
- var c = wi(f.val);
3523
+ var c = ei(f.val);
3703
3524
  if (c.length === 0)
3704
- return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3705
- var p = _(h, this.clonePosition());
3706
- u = { style: c, styleLocation: p };
3525
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3526
+ var m = v(h, this.clonePosition());
3527
+ u = { style: c, styleLocation: m };
3707
3528
  }
3708
- var d = this.tryParseArgumentClose(i);
3709
- if (d.err)
3710
- return d;
3711
- var m = _(i, this.clonePosition());
3712
- if (u && Ct(u?.style, "::", 0)) {
3713
- var v = xi(u.style.slice(2));
3529
+ var b = this.tryParseArgumentClose(i);
3530
+ if (b.err)
3531
+ return b;
3532
+ var g = v(i, this.clonePosition());
3533
+ if (u && Et(u?.style, "::", 0)) {
3534
+ var S = Kn(u.style.slice(2));
3714
3535
  if (s === "number") {
3715
- var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3536
+ var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3716
3537
  return f.err ? f : {
3717
- val: { type: E.number, value: n, location: m, style: f.val },
3538
+ val: { type: _.number, value: n, location: g, style: f.val },
3718
3539
  err: null
3719
3540
  };
3720
3541
  } else {
3721
- if (v.length === 0)
3722
- return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3723
- var T = v;
3724
- this.locale && (T = li(v, this.locale));
3542
+ if (S.length === 0)
3543
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3544
+ var A = S;
3545
+ this.locale && (A = Gn(S, this.locale));
3725
3546
  var c = {
3726
- type: ee.dateTime,
3727
- pattern: T,
3547
+ type: K.dateTime,
3548
+ pattern: A,
3728
3549
  location: u.styleLocation,
3729
- parsedOptions: this.shouldParseSkeletons ? ri(T) : {}
3730
- }, H = s === "date" ? E.date : E.time;
3550
+ parsedOptions: this.shouldParseSkeletons ? Ln(A) : {}
3551
+ }, H = s === "date" ? _.date : _.time;
3731
3552
  return {
3732
- val: { type: H, value: n, location: m, style: c },
3553
+ val: { type: H, value: n, location: g, style: c },
3733
3554
  err: null
3734
3555
  };
3735
3556
  }
3736
3557
  }
3737
3558
  return {
3738
3559
  val: {
3739
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3560
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3740
3561
  value: n,
3741
- location: m,
3562
+ location: g,
3742
3563
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3743
3564
  },
3744
3565
  err: null
@@ -3747,52 +3568,52 @@ var Si = (
3747
3568
  case "plural":
3748
3569
  case "selectordinal":
3749
3570
  case "select": {
3750
- var S = this.clonePosition();
3571
+ var w = this.clonePosition();
3751
3572
  if (this.bumpSpace(), !this.bumpIf(","))
3752
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Ae({}, S)));
3573
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _e({}, w)));
3753
3574
  this.bumpSpace();
3754
- var O = this.parseIdentifierIfPossible(), P = 0;
3755
- if (s !== "select" && O.value === "offset") {
3575
+ var L = this.parseIdentifierIfPossible(), O = 0;
3576
+ if (s !== "select" && L.value === "offset") {
3756
3577
  if (!this.bumpIf(":"))
3757
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3578
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3758
3579
  this.bumpSpace();
3759
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3580
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3760
3581
  if (f.err)
3761
3582
  return f;
3762
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = f.val;
3583
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), O = f.val;
3763
3584
  }
3764
- var C = this.tryParsePluralOrSelectOptions(t, s, r, O);
3765
- if (C.err)
3766
- return C;
3767
- var d = this.tryParseArgumentClose(i);
3768
- if (d.err)
3769
- return d;
3770
- var x = _(i, this.clonePosition());
3585
+ var N = this.tryParsePluralOrSelectOptions(t, s, r, L);
3586
+ if (N.err)
3587
+ return N;
3588
+ var b = this.tryParseArgumentClose(i);
3589
+ if (b.err)
3590
+ return b;
3591
+ var E = v(i, this.clonePosition());
3771
3592
  return s === "select" ? {
3772
3593
  val: {
3773
- type: E.select,
3594
+ type: _.select,
3774
3595
  value: n,
3775
- options: Lt(C.val),
3776
- location: x
3596
+ options: xt(N.val),
3597
+ location: E
3777
3598
  },
3778
3599
  err: null
3779
3600
  } : {
3780
3601
  val: {
3781
- type: E.plural,
3602
+ type: _.plural,
3782
3603
  value: n,
3783
- options: Lt(C.val),
3784
- offset: P,
3604
+ options: xt(N.val),
3605
+ offset: O,
3785
3606
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3786
- location: x
3607
+ location: E
3787
3608
  },
3788
3609
  err: null
3789
3610
  };
3790
3611
  }
3791
3612
  default:
3792
- return this.error(g.INVALID_ARGUMENT_TYPE, _(a, l));
3613
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3793
3614
  }
3794
3615
  }, e.prototype.tryParseArgumentClose = function(t) {
3795
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3616
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3796
3617
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3797
3618
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3798
3619
  var n = this.char();
@@ -3801,7 +3622,7 @@ var Si = (
3801
3622
  this.bump();
3802
3623
  var i = this.clonePosition();
3803
3624
  if (!this.bumpUntil("'"))
3804
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3625
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3805
3626
  this.bump();
3806
3627
  break;
3807
3628
  }
@@ -3831,16 +3652,16 @@ var Si = (
3831
3652
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3832
3653
  var n = [];
3833
3654
  try {
3834
- n = ii(t);
3655
+ n = Mn(t);
3835
3656
  } catch {
3836
- return this.error(g.INVALID_NUMBER_SKELETON, r);
3657
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3837
3658
  }
3838
3659
  return {
3839
3660
  val: {
3840
- type: ee.number,
3661
+ type: K.number,
3841
3662
  tokens: n,
3842
3663
  location: r,
3843
- parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
3664
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3844
3665
  },
3845
3666
  err: null
3846
3667
  };
@@ -3849,34 +3670,34 @@ var Si = (
3849
3670
  if (u.length === 0) {
3850
3671
  var f = this.clonePosition();
3851
3672
  if (r !== "select" && this.bumpIf("=")) {
3852
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3673
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3853
3674
  if (c.err)
3854
3675
  return c;
3855
- h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3676
+ h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3856
3677
  } else
3857
3678
  break;
3858
3679
  }
3859
3680
  if (l.has(u))
3860
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3681
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3861
3682
  u === "other" && (a = !0), this.bumpSpace();
3862
- var p = this.clonePosition();
3683
+ var m = this.clonePosition();
3863
3684
  if (!this.bumpIf("{"))
3864
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3865
- var d = this.parseMessage(t + 1, r, n);
3866
- if (d.err)
3867
- return d;
3868
- var m = this.tryParseArgumentClose(p);
3869
- if (m.err)
3870
- return m;
3685
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3686
+ var b = this.parseMessage(t + 1, r, n);
3687
+ if (b.err)
3688
+ return b;
3689
+ var g = this.tryParseArgumentClose(m);
3690
+ if (g.err)
3691
+ return g;
3871
3692
  s.push([
3872
3693
  u,
3873
3694
  {
3874
- value: d.val,
3875
- location: _(p, this.clonePosition())
3695
+ value: b.val,
3696
+ location: v(m, this.clonePosition())
3876
3697
  }
3877
3698
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3878
3699
  }
3879
- return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3700
+ return s.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: s, err: null };
3880
3701
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3881
3702
  var n = 1, i = this.clonePosition();
3882
3703
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3887,8 +3708,8 @@ var Si = (
3887
3708
  else
3888
3709
  break;
3889
3710
  }
3890
- var l = _(i, this.clonePosition());
3891
- return o ? (a *= n, vi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3711
+ var l = v(i, this.clonePosition());
3712
+ return o ? (a *= n, Jn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3892
3713
  }, e.prototype.offset = function() {
3893
3714
  return this.position.offset;
3894
3715
  }, e.prototype.isEOF = function() {
@@ -3903,7 +3724,7 @@ var Si = (
3903
3724
  var t = this.position.offset;
3904
3725
  if (t >= this.message.length)
3905
3726
  throw Error("out of bound");
3906
- var r = xr(this.message, t);
3727
+ var r = lr(this.message, t);
3907
3728
  if (r === void 0)
3908
3729
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3909
3730
  return r;
@@ -3922,7 +3743,7 @@ var Si = (
3922
3743
  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);
3923
3744
  }
3924
3745
  }, e.prototype.bumpIf = function(t) {
3925
- if (Ct(this.message, t, this.offset())) {
3746
+ if (Et(this.message, t, this.offset())) {
3926
3747
  for (var r = 0; r < t.length; r++)
3927
3748
  this.bump();
3928
3749
  return !0;
@@ -3944,7 +3765,7 @@ var Si = (
3944
3765
  break;
3945
3766
  }
3946
3767
  }, e.prototype.bumpSpace = function() {
3947
- for (; !this.isEOF() && Sr(this.char()); )
3768
+ for (; !this.isEOF() && cr(this.char()); )
3948
3769
  this.bump();
3949
3770
  }, e.prototype.peek = function() {
3950
3771
  if (this.isEOF())
@@ -3954,47 +3775,47 @@ var Si = (
3954
3775
  }, e;
3955
3776
  }()
3956
3777
  );
3957
- function ot(e) {
3778
+ function Ke(e) {
3958
3779
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3959
3780
  }
3960
- function Ti(e) {
3961
- return ot(e) || e === 47;
3781
+ function ri(e) {
3782
+ return Ke(e) || e === 47;
3962
3783
  }
3963
- function Hi(e) {
3784
+ function ni(e) {
3964
3785
  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;
3965
3786
  }
3966
- function Sr(e) {
3787
+ function cr(e) {
3967
3788
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3968
3789
  }
3969
- function Pi(e) {
3790
+ function ii(e) {
3970
3791
  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;
3971
3792
  }
3972
- function st(e) {
3793
+ function et(e) {
3973
3794
  e.forEach(function(t) {
3974
- if (delete t.location, pr(t) || mr(t))
3795
+ if (delete t.location, tr(t) || rr(t))
3975
3796
  for (var r in t.options)
3976
- delete t.options[r].location, st(t.options[r].value);
3797
+ delete t.options[r].location, et(t.options[r].value);
3977
3798
  else
3978
- cr(t) && yr(t.style) || (fr(t) || dr(t)) && tt(t.style) ? delete t.style.location : br(t) && st(t.children);
3799
+ Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
3979
3800
  });
3980
3801
  }
3981
- function Ai(e, t) {
3982
- t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3983
- var r = new Si(e, t).parse();
3802
+ function oi(e, t) {
3803
+ t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3804
+ var r = new ti(e, t).parse();
3984
3805
  if (r.err) {
3985
- var n = SyntaxError(g[r.err.kind]);
3806
+ var n = SyntaxError(y[r.err.kind]);
3986
3807
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3987
3808
  }
3988
- return t?.captureLocation || st(r.val), r.val;
3809
+ return t?.captureLocation || et(r.val), r.val;
3989
3810
  }
3990
- var te;
3811
+ var ee;
3991
3812
  (function(e) {
3992
3813
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3993
- })(te || (te = {}));
3994
- var Ne = (
3814
+ })(ee || (ee = {}));
3815
+ var Be = (
3995
3816
  /** @class */
3996
3817
  function(e) {
3997
- Le(t, e);
3818
+ Pe(t, e);
3998
3819
  function t(r, n, i) {
3999
3820
  var o = e.call(this, r) || this;
4000
3821
  return o.code = n, o.originalMessage = i, o;
@@ -4003,155 +3824,155 @@ var Ne = (
4003
3824
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
4004
3825
  }, t;
4005
3826
  }(Error)
4006
- ), Mt = (
3827
+ ), wt = (
4007
3828
  /** @class */
4008
3829
  function(e) {
4009
- Le(t, e);
3830
+ Pe(t, e);
4010
3831
  function t(r, n, i, o) {
4011
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3832
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
4012
3833
  }
4013
3834
  return t;
4014
- }(Ne)
4015
- ), Bi = (
3835
+ }(Be)
3836
+ ), si = (
4016
3837
  /** @class */
4017
3838
  function(e) {
4018
- Le(t, e);
3839
+ Pe(t, e);
4019
3840
  function t(r, n, i) {
4020
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3841
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
4021
3842
  }
4022
3843
  return t;
4023
- }(Ne)
4024
- ), Oi = (
3844
+ }(Be)
3845
+ ), ai = (
4025
3846
  /** @class */
4026
3847
  function(e) {
4027
- Le(t, e);
3848
+ Pe(t, e);
4028
3849
  function t(r, n) {
4029
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3850
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
4030
3851
  }
4031
3852
  return t;
4032
- }(Ne)
4033
- ), A;
3853
+ }(Be)
3854
+ ), T;
4034
3855
  (function(e) {
4035
3856
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
4036
- })(A || (A = {}));
4037
- function Ii(e) {
3857
+ })(T || (T = {}));
3858
+ function ui(e) {
4038
3859
  return e.length < 2 ? e : e.reduce(function(t, r) {
4039
3860
  var n = t[t.length - 1];
4040
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3861
+ return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
4041
3862
  }, []);
4042
3863
  }
4043
- function Ci(e) {
3864
+ function li(e) {
4044
3865
  return typeof e == "function";
4045
3866
  }
4046
- function we(e, t, r, n, i, o, a) {
4047
- if (e.length === 1 && At(e[0]))
3867
+ function ge(e, t, r, n, i, o, a) {
3868
+ if (e.length === 1 && yt(e[0]))
4048
3869
  return [
4049
3870
  {
4050
- type: A.literal,
3871
+ type: T.literal,
4051
3872
  value: e[0].value
4052
3873
  }
4053
3874
  ];
4054
3875
  for (var s = [], l = 0, u = e; l < u.length; l++) {
4055
3876
  var h = u[l];
4056
- if (At(h)) {
3877
+ if (yt(h)) {
4057
3878
  s.push({
4058
- type: A.literal,
3879
+ type: T.literal,
4059
3880
  value: h.value
4060
3881
  });
4061
3882
  continue;
4062
3883
  }
4063
- if (ei(h)) {
3884
+ if (In(h)) {
4064
3885
  typeof o == "number" && s.push({
4065
- type: A.literal,
3886
+ type: T.literal,
4066
3887
  value: r.getNumberFormat(t).format(o)
4067
3888
  });
4068
3889
  continue;
4069
3890
  }
4070
3891
  var f = h.value;
4071
3892
  if (!(i && f in i))
4072
- throw new Oi(f, a);
3893
+ throw new ai(f, a);
4073
3894
  var c = i[f];
4074
- if (Kn(h)) {
3895
+ if (On(h)) {
4075
3896
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
4076
- type: typeof c == "string" ? A.literal : A.object,
3897
+ type: typeof c == "string" ? T.literal : T.object,
4077
3898
  value: c
4078
3899
  });
4079
3900
  continue;
4080
3901
  }
4081
- if (fr(h)) {
4082
- var p = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
3902
+ if (Kt(h)) {
3903
+ var m = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
4083
3904
  s.push({
4084
- type: A.literal,
4085
- value: r.getDateTimeFormat(t, p).format(c)
3905
+ type: T.literal,
3906
+ value: r.getDateTimeFormat(t, m).format(c)
4086
3907
  });
4087
3908
  continue;
4088
3909
  }
4089
- if (dr(h)) {
4090
- var p = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
3910
+ if (er(h)) {
3911
+ var m = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
4091
3912
  s.push({
4092
- type: A.literal,
4093
- value: r.getDateTimeFormat(t, p).format(c)
3913
+ type: T.literal,
3914
+ value: r.getDateTimeFormat(t, m).format(c)
4094
3915
  });
4095
3916
  continue;
4096
3917
  }
4097
- if (cr(h)) {
4098
- var p = typeof h.style == "string" ? n.number[h.style] : yr(h.style) ? h.style.parsedOptions : void 0;
4099
- p && p.scale && (c = c * (p.scale || 1)), s.push({
4100
- type: A.literal,
4101
- value: r.getNumberFormat(t, p).format(c)
3918
+ if (Yt(h)) {
3919
+ var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3920
+ m && m.scale && (c = c * (m.scale || 1)), s.push({
3921
+ type: T.literal,
3922
+ value: r.getNumberFormat(t, m).format(c)
4102
3923
  });
4103
3924
  continue;
4104
3925
  }
4105
- if (br(h)) {
4106
- var d = h.children, m = h.value, v = i[m];
4107
- if (!Ci(v))
4108
- throw new Bi(m, "function", a);
4109
- var T = we(d, t, r, n, i, o), H = v(T.map(function(P) {
4110
- return P.value;
3926
+ if (nr(h)) {
3927
+ var b = h.children, g = h.value, S = i[g];
3928
+ if (!li(S))
3929
+ throw new si(g, "function", a);
3930
+ var A = ge(b, t, r, n, i, o), H = S(A.map(function(O) {
3931
+ return O.value;
4111
3932
  }));
4112
- Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(P) {
3933
+ Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(O) {
4113
3934
  return {
4114
- type: typeof P == "string" ? A.literal : A.object,
4115
- value: P
3935
+ type: typeof O == "string" ? T.literal : T.object,
3936
+ value: O
4116
3937
  };
4117
3938
  }));
4118
3939
  }
4119
- if (pr(h)) {
4120
- var S = h.options[c] || h.options.other;
4121
- if (!S)
4122
- throw new Mt(h.value, c, Object.keys(h.options), a);
4123
- s.push.apply(s, we(S.value, t, r, n, i));
3940
+ if (tr(h)) {
3941
+ var w = h.options[c] || h.options.other;
3942
+ if (!w)
3943
+ throw new wt(h.value, c, Object.keys(h.options), a);
3944
+ s.push.apply(s, ge(w.value, t, r, n, i));
4124
3945
  continue;
4125
3946
  }
4126
- if (mr(h)) {
4127
- var S = h.options["=".concat(c)];
4128
- if (!S) {
3947
+ if (rr(h)) {
3948
+ var w = h.options["=".concat(c)];
3949
+ if (!w) {
4129
3950
  if (!Intl.PluralRules)
4130
- throw new Ne(`Intl.PluralRules is not available in this environment.
3951
+ throw new Be(`Intl.PluralRules is not available in this environment.
4131
3952
  Try polyfilling it using "@formatjs/intl-pluralrules"
4132
- `, te.MISSING_INTL_API, a);
4133
- var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4134
- S = h.options[O] || h.options.other;
3953
+ `, ee.MISSING_INTL_API, a);
3954
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3955
+ w = h.options[L] || h.options.other;
4135
3956
  }
4136
- if (!S)
4137
- throw new Mt(h.value, c, Object.keys(h.options), a);
4138
- s.push.apply(s, we(S.value, t, r, n, i, c - (h.offset || 0)));
3957
+ if (!w)
3958
+ throw new wt(h.value, c, Object.keys(h.options), a);
3959
+ s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
4139
3960
  continue;
4140
3961
  }
4141
3962
  }
4142
- return Ii(s);
3963
+ return ui(s);
4143
3964
  }
4144
- function Li(e, t) {
4145
- return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4146
- return r[n] = D(D({}, e[n]), t[n] || {}), r;
3965
+ function hi(e, t) {
3966
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3967
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
4147
3968
  }, {})) : e;
4148
3969
  }
4149
- function Ni(e, t) {
3970
+ function ci(e, t) {
4150
3971
  return t ? Object.keys(e).reduce(function(r, n) {
4151
- return r[n] = Li(e[n], t[n]), r;
4152
- }, D({}, e)) : e;
3972
+ return r[n] = hi(e[n], t[n]), r;
3973
+ }, R({}, e)) : e;
4153
3974
  }
4154
- function Ve(e) {
3975
+ function $e(e) {
4155
3976
  return {
4156
3977
  create: function() {
4157
3978
  return {
@@ -4165,39 +3986,39 @@ function Ve(e) {
4165
3986
  }
4166
3987
  };
4167
3988
  }
4168
- function Mi(e) {
3989
+ function fi(e) {
4169
3990
  return e === void 0 && (e = {
4170
3991
  number: {},
4171
3992
  dateTime: {},
4172
3993
  pluralRules: {}
4173
3994
  }), {
4174
- getNumberFormat: Fe(function() {
3995
+ getNumberFormat: Ne(function() {
4175
3996
  for (var t, r = [], n = 0; n < arguments.length; n++)
4176
3997
  r[n] = arguments[n];
4177
- return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3998
+ return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
4178
3999
  }, {
4179
- cache: Ve(e.number),
4180
- strategy: je.variadic
4000
+ cache: $e(e.number),
4001
+ strategy: Me.variadic
4181
4002
  }),
4182
- getDateTimeFormat: Fe(function() {
4003
+ getDateTimeFormat: Ne(function() {
4183
4004
  for (var t, r = [], n = 0; n < arguments.length; n++)
4184
4005
  r[n] = arguments[n];
4185
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
4006
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
4186
4007
  }, {
4187
- cache: Ve(e.dateTime),
4188
- strategy: je.variadic
4008
+ cache: $e(e.dateTime),
4009
+ strategy: Me.variadic
4189
4010
  }),
4190
- getPluralRules: Fe(function() {
4011
+ getPluralRules: Ne(function() {
4191
4012
  for (var t, r = [], n = 0; n < arguments.length; n++)
4192
4013
  r[n] = arguments[n];
4193
- return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
4014
+ return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
4194
4015
  }, {
4195
- cache: Ve(e.pluralRules),
4196
- strategy: je.variadic
4016
+ cache: $e(e.pluralRules),
4017
+ strategy: Me.variadic
4197
4018
  })
4198
4019
  };
4199
4020
  }
4200
- var $i = (
4021
+ var di = (
4201
4022
  /** @class */
4202
4023
  function() {
4203
4024
  function e(t, r, n, i) {
@@ -4212,11 +4033,11 @@ var $i = (
4212
4033
  if (u.length === 1)
4213
4034
  return u[0].value;
4214
4035
  var h = u.reduce(function(f, c) {
4215
- return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4036
+ return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4216
4037
  }, []);
4217
4038
  return h.length <= 1 ? h[0] || "" : h;
4218
4039
  }, this.formatToParts = function(l) {
4219
- return we(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4040
+ return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4220
4041
  }, this.resolvedOptions = function() {
4221
4042
  var l;
4222
4043
  return {
@@ -4229,13 +4050,13 @@ var $i = (
4229
4050
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4230
4051
  var a = i || {};
4231
4052
  a.formatters;
4232
- var s = Xn(a, ["formatters"]);
4233
- this.ast = e.__parse(t, D(D({}, s), { locale: this.resolvedLocale }));
4053
+ var s = xn(a, ["formatters"]);
4054
+ this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
4234
4055
  } else
4235
4056
  this.ast = t;
4236
4057
  if (!Array.isArray(this.ast))
4237
4058
  throw new TypeError("A message must be provided as a String or AST.");
4238
- this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Mi(this.formatterCache);
4059
+ this.formats = ci(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
4239
4060
  }
4240
4061
  return Object.defineProperty(e, "defaultLocale", {
4241
4062
  get: function() {
@@ -4248,7 +4069,7 @@ var $i = (
4248
4069
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4249
4070
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4250
4071
  }
4251
- }, e.__parse = Ai, e.formats = {
4072
+ }, e.__parse = oi, e.formats = {
4252
4073
  number: {
4253
4074
  integer: {
4254
4075
  maximumFractionDigits: 0
@@ -4309,7 +4130,7 @@ var $i = (
4309
4130
  }, e;
4310
4131
  }()
4311
4132
  );
4312
- function Ri(e, t) {
4133
+ function pi(e, t) {
4313
4134
  if (t == null)
4314
4135
  return;
4315
4136
  if (t in e)
@@ -4330,92 +4151,92 @@ function Ri(e, t) {
4330
4151
  n = void 0;
4331
4152
  return n;
4332
4153
  }
4333
- const j = {}, Di = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Tr = (e, t) => {
4154
+ const F = {}, mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
4334
4155
  if (t == null)
4335
4156
  return;
4336
- if (t in j && e in j[t])
4337
- return j[t][e];
4338
- const r = Me(t);
4157
+ if (t in F && e in F[t])
4158
+ return F[t][e];
4159
+ const r = Ae(t);
4339
4160
  for (let n = 0; n < r.length; n++) {
4340
- const i = r[n], o = Gi(i, e);
4161
+ const i = r[n], o = yi(i, e);
4341
4162
  if (o)
4342
- return Di(e, t, o);
4163
+ return mi(e, t, o);
4343
4164
  }
4344
4165
  };
4345
- let dt;
4346
- const me = Ce({});
4347
- function Ui(e) {
4348
- return dt[e] || null;
4166
+ let it;
4167
+ const ce = He({});
4168
+ function bi(e) {
4169
+ return it[e] || null;
4349
4170
  }
4350
- function Hr(e) {
4351
- return e in dt;
4171
+ function dr(e) {
4172
+ return e in it;
4352
4173
  }
4353
- function Gi(e, t) {
4354
- if (!Hr(e))
4174
+ function yi(e, t) {
4175
+ if (!dr(e))
4355
4176
  return null;
4356
- const r = Ui(e);
4357
- return Ri(r, t);
4177
+ const r = bi(e);
4178
+ return pi(r, t);
4358
4179
  }
4359
- function Fi(e) {
4180
+ function gi(e) {
4360
4181
  if (e == null)
4361
4182
  return;
4362
- const t = Me(e);
4183
+ const t = Ae(e);
4363
4184
  for (let r = 0; r < t.length; r++) {
4364
4185
  const n = t[r];
4365
- if (Hr(n))
4186
+ if (dr(n))
4366
4187
  return n;
4367
4188
  }
4368
4189
  }
4369
- function Pr(e, ...t) {
4370
- delete j[e], me.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
4190
+ function pr(e, ...t) {
4191
+ delete F[e], ce.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
4371
4192
  }
4372
- ne(
4373
- [me],
4193
+ re(
4194
+ [ce],
4374
4195
  ([e]) => Object.keys(e)
4375
4196
  );
4376
- me.subscribe((e) => dt = e);
4377
- const Se = {};
4378
- function ji(e, t) {
4379
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4197
+ ce.subscribe((e) => it = e);
4198
+ const ve = {};
4199
+ function vi(e, t) {
4200
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4380
4201
  }
4381
- function Ar(e) {
4382
- return Se[e];
4202
+ function mr(e) {
4203
+ return ve[e];
4383
4204
  }
4384
- function ki(e) {
4385
- return Me(e).map((t) => {
4386
- const r = Ar(t);
4205
+ function _i(e) {
4206
+ return Ae(e).map((t) => {
4207
+ const r = mr(t);
4387
4208
  return [t, r ? [...r] : []];
4388
4209
  }).filter(([, t]) => t.length > 0);
4389
4210
  }
4390
- function at(e) {
4391
- return e == null ? !1 : Me(e).some(
4211
+ function tt(e) {
4212
+ return e == null ? !1 : Ae(e).some(
4392
4213
  (t) => {
4393
4214
  var r;
4394
- return (r = Ar(t)) == null ? void 0 : r.size;
4215
+ return (r = mr(t)) == null ? void 0 : r.size;
4395
4216
  }
4396
4217
  );
4397
4218
  }
4398
- function Vi(e, t) {
4219
+ function Ei(e, t) {
4399
4220
  return Promise.all(
4400
- t.map((n) => (ji(e, n), n().then((i) => i.default || i)))
4401
- ).then((n) => Pr(e, ...n));
4221
+ t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
4222
+ ).then((n) => pr(e, ...n));
4402
4223
  }
4403
- const ae = {};
4404
- function Br(e) {
4405
- if (!at(e))
4406
- return e in ae ? ae[e] : Promise.resolve();
4407
- const t = ki(e);
4408
- return ae[e] = Promise.all(
4224
+ const oe = {};
4225
+ function br(e) {
4226
+ if (!tt(e))
4227
+ return e in oe ? oe[e] : Promise.resolve();
4228
+ const t = _i(e);
4229
+ return oe[e] = Promise.all(
4409
4230
  t.map(
4410
- ([r, n]) => Vi(r, n)
4231
+ ([r, n]) => Ei(r, n)
4411
4232
  )
4412
4233
  ).then(() => {
4413
- if (at(e))
4414
- return Br(e);
4415
- delete ae[e];
4416
- }), ae[e];
4234
+ if (tt(e))
4235
+ return br(e);
4236
+ delete oe[e];
4237
+ }), oe[e];
4417
4238
  }
4418
- const Xi = {
4239
+ const xi = {
4419
4240
  number: {
4420
4241
  scientific: { notation: "scientific" },
4421
4242
  engineering: { notation: "engineering" },
@@ -4444,135 +4265,135 @@ const Xi = {
4444
4265
  timeZoneName: "short"
4445
4266
  }
4446
4267
  }
4447
- }, Wi = {
4268
+ }, Si = {
4448
4269
  fallbackLocale: null,
4449
4270
  loadingDelay: 200,
4450
- formats: Xi,
4271
+ formats: xi,
4451
4272
  warnOnMissingMessages: !0,
4452
4273
  handleMissingMessage: void 0,
4453
4274
  ignoreTag: !0
4454
- }, zi = Wi;
4455
- function re() {
4456
- return zi;
4275
+ }, wi = Si;
4276
+ function te() {
4277
+ return wi;
4457
4278
  }
4458
- const Xe = Ce(!1);
4459
- var Zi = Object.defineProperty, Qi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Ji = Object.prototype.hasOwnProperty, Yi = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
4279
+ const De = He(!1);
4280
+ var Ti = Object.defineProperty, Hi = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
4460
4281
  for (var r in t || (t = {}))
4461
- Ji.call(t, r) && Rt(e, r, t[r]);
4462
- if ($t)
4463
- for (var r of $t(t))
4464
- Yi.call(t, r) && Rt(e, r, t[r]);
4282
+ Bi.call(t, r) && Ht(e, r, t[r]);
4283
+ if (Tt)
4284
+ for (var r of Tt(t))
4285
+ Ai.call(t, r) && Ht(e, r, t[r]);
4465
4286
  return e;
4466
- }, eo = (e, t) => Qi(e, qi(t));
4467
- let ut;
4468
- const Be = Ce(null);
4469
- function Dt(e) {
4287
+ }, Ii = (e, t) => Hi(e, Pi(t));
4288
+ let rt;
4289
+ const Ee = He(null);
4290
+ function Pt(e) {
4470
4291
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4471
4292
  }
4472
- function Me(e, t = re().fallbackLocale) {
4473
- const r = Dt(e);
4474
- return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
4293
+ function Ae(e, t = te().fallbackLocale) {
4294
+ const r = Pt(e);
4295
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4475
4296
  }
4476
4297
  function W() {
4477
- return ut ?? void 0;
4298
+ return rt ?? void 0;
4478
4299
  }
4479
- Be.subscribe((e) => {
4480
- ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4300
+ Ee.subscribe((e) => {
4301
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4481
4302
  });
4482
- const to = (e) => {
4483
- if (e && Fi(e) && at(e)) {
4484
- const { loadingDelay: t } = re();
4303
+ const Ci = (e) => {
4304
+ if (e && gi(e) && tt(e)) {
4305
+ const { loadingDelay: t } = te();
4485
4306
  let r;
4486
4307
  return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4487
- () => Xe.set(!0),
4308
+ () => De.set(!0),
4488
4309
  t
4489
- ) : Xe.set(!0), Br(e).then(() => {
4490
- Be.set(e);
4310
+ ) : De.set(!0), br(e).then(() => {
4311
+ Ee.set(e);
4491
4312
  }).finally(() => {
4492
- clearTimeout(r), Xe.set(!1);
4313
+ clearTimeout(r), De.set(!1);
4493
4314
  });
4494
4315
  }
4495
- return Be.set(e);
4496
- }, ie = eo(Ki({}, Be), {
4497
- set: to
4498
- }), $e = (e) => {
4316
+ return Ee.set(e);
4317
+ }, ne = Ii(Oi({}, Ee), {
4318
+ set: Ci
4319
+ }), Oe = (e) => {
4499
4320
  const t = /* @__PURE__ */ Object.create(null);
4500
4321
  return (n) => {
4501
4322
  const i = JSON.stringify(n);
4502
4323
  return i in t ? t[i] : t[i] = e(n);
4503
4324
  };
4504
4325
  };
4505
- var ro = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4326
+ var Li = Object.defineProperty, xe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4506
4327
  for (var r in t || (t = {}))
4507
- Or.call(t, r) && Ut(e, r, t[r]);
4508
- if (Oe)
4509
- for (var r of Oe(t))
4510
- Ir.call(t, r) && Ut(e, r, t[r]);
4328
+ yr.call(t, r) && Bt(e, r, t[r]);
4329
+ if (xe)
4330
+ for (var r of xe(t))
4331
+ gr.call(t, r) && Bt(e, r, t[r]);
4511
4332
  return e;
4512
- }, oe = (e, t) => {
4333
+ }, ie = (e, t) => {
4513
4334
  var r = {};
4514
4335
  for (var n in e)
4515
- Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4516
- if (e != null && Oe)
4517
- for (var n of Oe(e))
4518
- t.indexOf(n) < 0 && Ir.call(e, n) && (r[n] = e[n]);
4336
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4337
+ if (e != null && xe)
4338
+ for (var n of xe(e))
4339
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4519
4340
  return r;
4520
4341
  };
4521
- const ce = (e, t) => {
4522
- const { formats: r } = re();
4342
+ const le = (e, t) => {
4343
+ const { formats: r } = te();
4523
4344
  if (e in r && t in r[e])
4524
4345
  return r[e][t];
4525
4346
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4526
- }, no = $e(
4347
+ }, Ni = Oe(
4527
4348
  (e) => {
4528
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4349
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4529
4350
  if (r == null)
4530
4351
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4531
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4352
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4532
4353
  }
4533
- ), io = $e(
4354
+ ), Mi = Oe(
4534
4355
  (e) => {
4535
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4356
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4536
4357
  if (r == null)
4537
4358
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4538
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4359
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4539
4360
  }
4540
- ), oo = $e(
4361
+ ), Ri = Oe(
4541
4362
  (e) => {
4542
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4363
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4543
4364
  if (r == null)
4544
4365
  throw new Error(
4545
4366
  '[svelte-i18n] A "locale" must be set to format time values'
4546
4367
  );
4547
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4368
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4548
4369
  }
4549
- ), so = (e = {}) => {
4370
+ ), $i = (e = {}) => {
4550
4371
  var t = e, {
4551
4372
  locale: r = W()
4552
- } = t, n = oe(t, [
4373
+ } = t, n = ie(t, [
4553
4374
  "locale"
4554
4375
  ]);
4555
- return no(pt({ locale: r }, n));
4556
- }, ao = (e = {}) => {
4376
+ return Ni(ot({ locale: r }, n));
4377
+ }, Di = (e = {}) => {
4557
4378
  var t = e, {
4558
4379
  locale: r = W()
4559
- } = t, n = oe(t, [
4380
+ } = t, n = ie(t, [
4560
4381
  "locale"
4561
4382
  ]);
4562
- return io(pt({ locale: r }, n));
4563
- }, uo = (e = {}) => {
4383
+ return Mi(ot({ locale: r }, n));
4384
+ }, Ui = (e = {}) => {
4564
4385
  var t = e, {
4565
4386
  locale: r = W()
4566
- } = t, n = oe(t, [
4387
+ } = t, n = ie(t, [
4567
4388
  "locale"
4568
4389
  ]);
4569
- return oo(pt({ locale: r }, n));
4570
- }, lo = $e(
4390
+ return Ri(ot({ locale: r }, n));
4391
+ }, Gi = Oe(
4571
4392
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4572
- (e, t = W()) => new $i(e, t, re().formats, {
4573
- ignoreTag: re().ignoreTag
4393
+ (e, t = W()) => new di(e, t, te().formats, {
4394
+ ignoreTag: te().ignoreTag
4574
4395
  })
4575
- ), ho = (e, t = {}) => {
4396
+ ), Fi = (e, t = {}) => {
4576
4397
  var r, n, i, o;
4577
4398
  let a = t;
4578
4399
  typeof e == "object" && (a = e, e = a.id);
@@ -4585,9 +4406,9 @@ const ce = (e, t) => {
4585
4406
  throw new Error(
4586
4407
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4587
4408
  );
4588
- let h = Tr(e, l);
4409
+ let h = fr(e, l);
4589
4410
  if (!h)
4590
- 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;
4411
+ h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4591
4412
  else if (typeof h != "string")
4592
4413
  return console.warn(
4593
4414
  `[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.`
@@ -4596,7 +4417,7 @@ const ce = (e, t) => {
4596
4417
  return h;
4597
4418
  let f = h;
4598
4419
  try {
4599
- f = lo(h, l).format(s);
4420
+ f = Gi(h, l).format(s);
4600
4421
  } catch (c) {
4601
4422
  c instanceof Error && console.warn(
4602
4423
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4604,16 +4425,16 @@ const ce = (e, t) => {
4604
4425
  );
4605
4426
  }
4606
4427
  return f;
4607
- }, co = (e, t) => uo(t).format(e), fo = (e, t) => ao(t).format(e), po = (e, t) => so(t).format(e), mo = (e, t = W()) => Tr(e, t), bo = ne([ie, me], () => ho);
4608
- ne([ie], () => co);
4609
- ne([ie], () => fo);
4610
- ne([ie], () => po);
4611
- ne([ie, me], () => mo);
4612
- window.emWidgets = { topic: Pn };
4613
- const Cr = (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)), yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4614
- function qo(e, t) {
4428
+ }, ji = (e, t) => Ui(t).format(e), ki = (e, t) => Di(t).format(e), Vi = (e, t) => $i(t).format(e), Xi = (e, t = W()) => fr(e, t), Wi = re([ne, ce], () => Fi);
4429
+ re([ne], () => ji);
4430
+ re([ne], () => ki);
4431
+ re([ne], () => Vi);
4432
+ re([ne, ce], () => Xi);
4433
+ window.emWidgets = { topic: nn };
4434
+ const vr = (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)), zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4435
+ function To(e, t) {
4615
4436
  const r = window.navigator.userAgent;
4616
- return Cr(r) ? t = e.filter((n) => {
4437
+ return vr(r) ? t = e.filter((n) => {
4617
4438
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4618
4439
  return n;
4619
4440
  }) : t = e.filter((n) => {
@@ -4621,7 +4442,7 @@ function qo(e, t) {
4621
4442
  return n;
4622
4443
  }), t;
4623
4444
  }
4624
- function Jo(e, t) {
4445
+ function Ho(e, t) {
4625
4446
  return new Promise((r, n) => {
4626
4447
  const i = new Headers();
4627
4448
  i.append("X-SessionID", t);
@@ -4632,13 +4453,13 @@ function Jo(e, t) {
4632
4453
  fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4633
4454
  });
4634
4455
  }
4635
- function go(e, t) {
4456
+ function Zi(e, t) {
4636
4457
  if (e) {
4637
4458
  const r = document.createElement("style");
4638
4459
  r.innerHTML = t, e.appendChild(r);
4639
4460
  }
4640
4461
  }
4641
- function _o(e, t) {
4462
+ function Qi(e, t) {
4642
4463
  const r = new URL(t);
4643
4464
  fetch(r.href).then((n) => n.text()).then((n) => {
4644
4465
  const i = document.createElement("style");
@@ -4647,7 +4468,7 @@ function _o(e, t) {
4647
4468
  console.error("There was an error while trying to load client styling from URL", n);
4648
4469
  });
4649
4470
  }
4650
- function vo(e, t, r) {
4471
+ function qi(e, t, r) {
4651
4472
  if (window.emMessageBus) {
4652
4473
  const n = document.createElement("style");
4653
4474
  window.emMessageBus.subscribe(t, (i) => {
@@ -4655,13 +4476,13 @@ function vo(e, t, r) {
4655
4476
  });
4656
4477
  }
4657
4478
  }
4658
- function Gt(e, t) {
4659
- Pr(e, t);
4479
+ function At(e, t) {
4480
+ pr(e, t);
4660
4481
  }
4661
- function Eo(e) {
4662
- ie.set(e);
4482
+ function Ji(e) {
4483
+ ne.set(e);
4663
4484
  }
4664
- const Ft = {
4485
+ const Ot = {
4665
4486
  en: {
4666
4487
  error: "500 Error - Internal Server Error"
4667
4488
  },
@@ -4693,7 +4514,7 @@ if (typeof window < "u") {
4693
4514
  }
4694
4515
  };
4695
4516
  };
4696
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-qkwXMyxI.js").then(({ default: t }) => {
4517
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-305OBzqh.js").then(({ default: t }) => {
4697
4518
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4698
4519
  });
4699
4520
  }
@@ -4709,187 +4530,187 @@ if (typeof window < "u") {
4709
4530
  }
4710
4531
  };
4711
4532
  };
4712
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DcqDKyz5.js").then(({ default: t }) => {
4533
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-O-Ka4MG6.js").then(({ default: t }) => {
4713
4534
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4714
4535
  });
4715
4536
  }
4716
- function xo(e) {
4717
- Gr(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 Yi(e) {
4538
+ wr(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
4718
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)}}`);
4719
4540
  }
4720
- function jt(e, t, r) {
4541
+ function It(e, t, r) {
4721
4542
  const n = e.slice();
4722
4543
  return n[26] = t[r], n[28] = r, n;
4723
4544
  }
4724
- function wo(e) {
4725
- let t, r, n, i = _t(
4545
+ function Ki(e) {
4546
+ let t, r, n, i = ut(
4726
4547
  /*calendarCollections*/
4727
4548
  e[6]
4728
4549
  ), o = [];
4729
4550
  for (let s = 0; s < i.length; s += 1)
4730
- o[s] = kt(jt(e, i, s));
4551
+ o[s] = Ct(It(e, i, s));
4731
4552
  let a = (
4732
4553
  /*calendarModalOpened*/
4733
- e[11] == !0 && Vt(e)
4554
+ e[11] == !0 && Lt(e)
4734
4555
  );
4735
4556
  return {
4736
4557
  c() {
4737
- t = N("div");
4558
+ t = $("div");
4738
4559
  for (let s = 0; s < o.length; s += 1)
4739
4560
  o[s].c();
4740
- r = Vr(), a && a.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4561
+ r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4741
4562
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4742
4563
  },
4743
4564
  m(s, l) {
4744
- X(s, t, l);
4565
+ k(s, t, l);
4745
4566
  for (let u = 0; u < o.length; u += 1)
4746
4567
  o[u] && o[u].m(t, null);
4747
- de(t, r), a && a.m(t, null);
4568
+ we(t, r), a && a.m(t, null);
4748
4569
  },
4749
4570
  p(s, l) {
4750
4571
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4751
4572
  95) {
4752
- i = _t(
4573
+ i = ut(
4753
4574
  /*calendarCollections*/
4754
4575
  s[6]
4755
4576
  );
4756
4577
  let u;
4757
4578
  for (u = 0; u < i.length; u += 1) {
4758
- const h = jt(s, i, u);
4759
- o[u] ? o[u].p(h, l) : (o[u] = kt(h), o[u].c(), o[u].m(t, r));
4579
+ const h = It(s, i, u);
4580
+ o[u] ? o[u].p(h, l) : (o[u] = Ct(h), o[u].c(), o[u].m(t, r));
4760
4581
  }
4761
4582
  for (; u < o.length; u += 1)
4762
4583
  o[u].d(1);
4763
4584
  o.length = i.length;
4764
4585
  }
4765
4586
  /*calendarModalOpened*/
4766
- s[11] == !0 ? a ? a.p(s, l) : (a = Vt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4587
+ s[11] == !0 ? a ? a.p(s, l) : (a = Lt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4767
4588
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4768
- (s[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4589
+ (s[10] ? "Mobile" : "") + " svelte-61avp5") && j(t, "class", n);
4769
4590
  },
4770
4591
  d(s) {
4771
- s && $(t), jr(o, s), a && a.d();
4592
+ s && U(t), Pr(o, s), a && a.d();
4772
4593
  }
4773
4594
  };
4774
4595
  }
4775
- function So(e) {
4596
+ function eo(e) {
4776
4597
  let t;
4777
4598
  return {
4778
4599
  c() {
4779
- t = N("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4600
+ t = $("div"), j(t, "class", "LoadingSpinner svelte-61avp5");
4780
4601
  },
4781
4602
  m(r, n) {
4782
- X(r, t, n);
4603
+ k(r, t, n);
4783
4604
  },
4784
4605
  p: B,
4785
4606
  d(r) {
4786
- r && $(t);
4607
+ r && U(t);
4787
4608
  }
4788
4609
  };
4789
4610
  }
4790
- function To(e) {
4611
+ function to(e) {
4791
4612
  let t, r = (
4792
4613
  /*$_*/
4793
4614
  e[12]("error") + ""
4794
4615
  ), n;
4795
4616
  return {
4796
4617
  c() {
4797
- t = N("p"), n = ct(r), k(t, "class", "SearchLoading svelte-61avp5");
4618
+ t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-61avp5");
4798
4619
  },
4799
4620
  m(i, o) {
4800
- X(i, t, o), de(t, n);
4621
+ k(i, t, o), we(t, n);
4801
4622
  },
4802
4623
  p(i, o) {
4803
4624
  o & /*$_*/
4804
4625
  4096 && r !== (r = /*$_*/
4805
- i[12]("error") + "") && Wr(n, r);
4626
+ i[12]("error") + "") && Ir(n, r);
4806
4627
  },
4807
4628
  d(i) {
4808
- i && $(t);
4629
+ i && U(t);
4809
4630
  }
4810
4631
  };
4811
4632
  }
4812
- function kt(e) {
4633
+ function Ct(e) {
4813
4634
  let t, r, n, i, o, a;
4814
4635
  return {
4815
4636
  c() {
4816
- t = N("casino-calendar-daily-item"), b(t, "dailybackground", r = /*dailyCalendarData*/
4817
- e[26].dailyBackground), b(t, "dailyicon", n = /*dailyCalendarData*/
4818
- e[26].dailyIcon), b(t, "dailyday", i = /*dailyCalendarData*/
4819
- e[26].dailyDay), b(t, "dailydescription", o = /*dailyCalendarData*/
4820
- e[26].dailyDescription), b(t, "dailybuttontitle", a = /*dailyCalendarData*/
4821
- e[26].dailyButtonTitle), b(
4637
+ t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4638
+ e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4639
+ e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4640
+ e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
4641
+ e[26].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
4642
+ e[26].dailyButtonTitle), d(
4822
4643
  t,
4823
4644
  "index",
4824
4645
  /*index*/
4825
4646
  e[28]
4826
- ), b(
4647
+ ), d(
4827
4648
  t,
4828
4649
  "lang",
4829
4650
  /*lang*/
4830
4651
  e[0]
4831
- ), b(
4652
+ ), d(
4832
4653
  t,
4833
4654
  "clientstyling",
4834
4655
  /*clientstyling*/
4835
4656
  e[1]
4836
- ), b(
4657
+ ), d(
4837
4658
  t,
4838
4659
  "clientstylingurl",
4839
4660
  /*clientstylingurl*/
4840
4661
  e[2]
4841
- ), b(
4662
+ ), d(
4842
4663
  t,
4843
4664
  "mbsource",
4844
4665
  /*mbsource*/
4845
4666
  e[4]
4846
- ), b(
4667
+ ), d(
4847
4668
  t,
4848
4669
  "translationurl",
4849
4670
  /*translationurl*/
4850
4671
  e[3]
4851
- ), b(t, "class", "svelte-61avp5");
4672
+ ), d(t, "class", "svelte-61avp5");
4852
4673
  },
4853
4674
  m(s, l) {
4854
- X(s, t, l);
4675
+ k(s, t, l);
4855
4676
  },
4856
4677
  p(s, l) {
4857
4678
  l & /*calendarCollections*/
4858
4679
  64 && r !== (r = /*dailyCalendarData*/
4859
- s[26].dailyBackground) && b(t, "dailybackground", r), l & /*calendarCollections*/
4680
+ s[26].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4860
4681
  64 && n !== (n = /*dailyCalendarData*/
4861
- s[26].dailyIcon) && b(t, "dailyicon", n), l & /*calendarCollections*/
4682
+ s[26].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4862
4683
  64 && i !== (i = /*dailyCalendarData*/
4863
- s[26].dailyDay) && b(t, "dailyday", i), l & /*calendarCollections*/
4684
+ s[26].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4864
4685
  64 && o !== (o = /*dailyCalendarData*/
4865
- s[26].dailyDescription) && b(t, "dailydescription", o), l & /*calendarCollections*/
4686
+ s[26].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
4866
4687
  64 && a !== (a = /*dailyCalendarData*/
4867
- s[26].dailyButtonTitle) && b(t, "dailybuttontitle", a), l & /*lang*/
4868
- 1 && b(
4688
+ s[26].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4689
+ 1 && d(
4869
4690
  t,
4870
4691
  "lang",
4871
4692
  /*lang*/
4872
4693
  s[0]
4873
4694
  ), l & /*clientstyling*/
4874
- 2 && b(
4695
+ 2 && d(
4875
4696
  t,
4876
4697
  "clientstyling",
4877
4698
  /*clientstyling*/
4878
4699
  s[1]
4879
4700
  ), l & /*clientstylingurl*/
4880
- 4 && b(
4701
+ 4 && d(
4881
4702
  t,
4882
4703
  "clientstylingurl",
4883
4704
  /*clientstylingurl*/
4884
4705
  s[2]
4885
4706
  ), l & /*mbsource*/
4886
- 16 && b(
4707
+ 16 && d(
4887
4708
  t,
4888
4709
  "mbsource",
4889
4710
  /*mbsource*/
4890
4711
  s[4]
4891
4712
  ), l & /*translationurl*/
4892
- 8 && b(
4713
+ 8 && d(
4893
4714
  t,
4894
4715
  "translationurl",
4895
4716
  /*translationurl*/
@@ -4897,67 +4718,67 @@ function kt(e) {
4897
4718
  );
4898
4719
  },
4899
4720
  d(s) {
4900
- s && $(t);
4721
+ s && U(t);
4901
4722
  }
4902
4723
  };
4903
4724
  }
4904
- function Vt(e) {
4725
+ function Lt(e) {
4905
4726
  let t, r, n, i, o, a, s, l;
4906
4727
  return {
4907
4728
  c() {
4908
- t = N("div"), r = N("casino-calendar-daily-details"), b(r, "dailybackground", n = /*calendarCollections*/
4729
+ t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4909
4730
  e[6][
4910
4731
  /*selectedIndex*/
4911
4732
  e[7]
4912
- ].dailyBackground), b(r, "dailybuttontitle", i = /*calendarCollections*/
4733
+ ].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
4913
4734
  e[6][
4914
4735
  /*selectedIndex*/
4915
4736
  e[7]
4916
- ].dailyButtonTitle), b(r, "dailyday", o = /*calendarCollections*/
4737
+ ].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
4917
4738
  e[6][
4918
4739
  /*selectedIndex*/
4919
4740
  e[7]
4920
- ].dailyDay), b(r, "dailydescription", a = /*calendarCollections*/
4741
+ ].dailyDay), d(r, "dailydescription", a = /*calendarCollections*/
4921
4742
  e[6][
4922
4743
  /*selectedIndex*/
4923
4744
  e[7]
4924
- ].dailyDescription), b(r, "dailyicon", s = /*calendarCollections*/
4745
+ ].dailyDescription), d(r, "dailyicon", s = /*calendarCollections*/
4925
4746
  e[6][
4926
4747
  /*selectedIndex*/
4927
4748
  e[7]
4928
- ].dailyIcon), b(r, "dailytitle", l = /*calendarCollections*/
4749
+ ].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
4929
4750
  e[6][
4930
4751
  /*selectedIndex*/
4931
4752
  e[7]
4932
- ].dailyTitle), b(
4753
+ ].dailyTitle), d(
4933
4754
  r,
4934
4755
  "lang",
4935
4756
  /*lang*/
4936
4757
  e[0]
4937
- ), b(
4758
+ ), d(
4938
4759
  r,
4939
4760
  "clientstyling",
4940
4761
  /*clientstyling*/
4941
4762
  e[1]
4942
- ), b(
4763
+ ), d(
4943
4764
  r,
4944
4765
  "clientstylingurl",
4945
4766
  /*clientstylingurl*/
4946
4767
  e[2]
4947
- ), b(
4768
+ ), d(
4948
4769
  r,
4949
4770
  "mbsource",
4950
4771
  /*mbsource*/
4951
4772
  e[4]
4952
- ), b(
4773
+ ), d(
4953
4774
  r,
4954
4775
  "translationurl",
4955
4776
  /*translationurl*/
4956
4777
  e[3]
4957
- ), b(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4778
+ ), d(r, "class", "svelte-61avp5"), j(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4958
4779
  },
4959
4780
  m(u, h) {
4960
- X(u, t, h), de(t, r);
4781
+ k(u, t, h), we(t, r);
4961
4782
  },
4962
4783
  p(u, h) {
4963
4784
  h & /*calendarCollections, selectedIndex*/
@@ -4965,57 +4786,57 @@ function Vt(e) {
4965
4786
  u[6][
4966
4787
  /*selectedIndex*/
4967
4788
  u[7]
4968
- ].dailyBackground) && b(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4789
+ ].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4969
4790
  192 && i !== (i = /*calendarCollections*/
4970
4791
  u[6][
4971
4792
  /*selectedIndex*/
4972
4793
  u[7]
4973
- ].dailyButtonTitle) && b(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4794
+ ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4974
4795
  192 && o !== (o = /*calendarCollections*/
4975
4796
  u[6][
4976
4797
  /*selectedIndex*/
4977
4798
  u[7]
4978
- ].dailyDay) && b(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4799
+ ].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4979
4800
  192 && a !== (a = /*calendarCollections*/
4980
4801
  u[6][
4981
4802
  /*selectedIndex*/
4982
4803
  u[7]
4983
- ].dailyDescription) && b(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4804
+ ].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4984
4805
  192 && s !== (s = /*calendarCollections*/
4985
4806
  u[6][
4986
4807
  /*selectedIndex*/
4987
4808
  u[7]
4988
- ].dailyIcon) && b(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4809
+ ].dailyIcon) && d(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4989
4810
  192 && l !== (l = /*calendarCollections*/
4990
4811
  u[6][
4991
4812
  /*selectedIndex*/
4992
4813
  u[7]
4993
- ].dailyTitle) && b(r, "dailytitle", l), h & /*lang*/
4994
- 1 && b(
4814
+ ].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
4815
+ 1 && d(
4995
4816
  r,
4996
4817
  "lang",
4997
4818
  /*lang*/
4998
4819
  u[0]
4999
4820
  ), h & /*clientstyling*/
5000
- 2 && b(
4821
+ 2 && d(
5001
4822
  r,
5002
4823
  "clientstyling",
5003
4824
  /*clientstyling*/
5004
4825
  u[1]
5005
4826
  ), h & /*clientstylingurl*/
5006
- 4 && b(
4827
+ 4 && d(
5007
4828
  r,
5008
4829
  "clientstylingurl",
5009
4830
  /*clientstylingurl*/
5010
4831
  u[2]
5011
4832
  ), h & /*mbsource*/
5012
- 16 && b(
4833
+ 16 && d(
5013
4834
  r,
5014
4835
  "mbsource",
5015
4836
  /*mbsource*/
5016
4837
  u[4]
5017
4838
  ), h & /*translationurl*/
5018
- 8 && b(
4839
+ 8 && d(
5019
4840
  r,
5020
4841
  "translationurl",
5021
4842
  /*translationurl*/
@@ -5023,36 +4844,36 @@ function Vt(e) {
5023
4844
  );
5024
4845
  },
5025
4846
  d(u) {
5026
- u && $(t);
4847
+ u && U(t);
5027
4848
  }
5028
4849
  };
5029
4850
  }
5030
- function Ho(e) {
4851
+ function ro(e) {
5031
4852
  let t;
5032
4853
  function r(o, a) {
5033
4854
  if (
5034
4855
  /*hasErrors*/
5035
4856
  o[9]
5036
4857
  )
5037
- return To;
4858
+ return to;
5038
4859
  if (
5039
4860
  /*isLoading*/
5040
4861
  o[8]
5041
4862
  )
5042
- return So;
4863
+ return eo;
5043
4864
  if (
5044
4865
  /*calendarCollections*/
5045
4866
  o[6]?.length
5046
4867
  )
5047
- return wo;
4868
+ return Ki;
5048
4869
  }
5049
4870
  let n = r(e), i = n && n(e);
5050
4871
  return {
5051
4872
  c() {
5052
- t = N("div"), i && i.c(), k(t, "class", "svelte-61avp5");
4873
+ t = $("div"), i && i.c(), j(t, "class", "svelte-61avp5");
5053
4874
  },
5054
4875
  m(o, a) {
5055
- X(o, t, a), i && i.m(t, null), e[16](t);
4876
+ k(o, t, a), i && i.m(t, null), e[16](t);
5056
4877
  },
5057
4878
  p(o, [a]) {
5058
4879
  n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
@@ -5060,78 +4881,78 @@ function Ho(e) {
5060
4881
  i: B,
5061
4882
  o: B,
5062
4883
  d(o) {
5063
- o && $(t), i && i.d(), e[16](null);
4884
+ o && U(t), i && i.d(), e[16](null);
5064
4885
  }
5065
4886
  };
5066
4887
  }
5067
- function Po(e, t, r) {
4888
+ function no(e, t, r) {
5068
4889
  let n;
5069
- Rr(e, bo, (y) => r(12, n = y));
5070
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, d = 0, m = !0, v = !1, T = !1, H = window.navigator.userAgent, S = !1;
5071
- const O = () => {
5072
- Eo(s);
4890
+ Sr(e, Wi, (p) => r(12, n = p));
4891
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1;
4892
+ const L = () => {
4893
+ Ji(s);
5073
4894
  };
5074
- Object.keys(Ft).forEach((y) => {
5075
- Gt(y, Ft[y]);
4895
+ Object.keys(Ot).forEach((p) => {
4896
+ At(p, Ot[p]);
5076
4897
  });
5077
- const P = () => {
5078
- let y = h;
5079
- if (y)
5080
- return fetch(y).then((M) => M.json()).then((M) => {
5081
- Object.keys(M).forEach((F) => {
5082
- Gt(F, M[F]);
4898
+ const O = () => {
4899
+ let p = h;
4900
+ if (p)
4901
+ return fetch(p).then((C) => C.json()).then((C) => {
4902
+ Object.keys(C).forEach((G) => {
4903
+ At(G, C[G]);
5083
4904
  });
5084
- }).catch((M) => {
5085
- console.log(M);
4905
+ }).catch((C) => {
4906
+ console.log(C);
5086
4907
  });
5087
- }, C = () => {
5088
- r(8, m = !0);
5089
- let y = new URL(`${i}/${s}/daily-calendar`);
5090
- y.searchParams.append("userRoles", a), y.searchParams.append("env", o);
5091
- let M = yo(H);
5092
- M && (M === "PC" ? y.searchParams.append("device", "dk") : M === "iPad" || M === "iPhone" ? y.searchParams.append("device", "ios") : y.searchParams.append("device", "mtWeb")), fetch(y.href).then((F) => F.json()).then((F) => {
5093
- r(6, p = F);
5094
- }).catch((F) => {
5095
- console.log(F), r(9, v = !0);
4908
+ }, N = () => {
4909
+ r(8, g = !0);
4910
+ let p = new URL(`${i}/${s}/daily-calendar`);
4911
+ p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4912
+ let C = zi(H);
4913
+ C && (C === "PC" ? p.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
4914
+ r(6, m = G);
4915
+ }).catch((G) => {
4916
+ console.log(G), r(9, S = !0);
5096
4917
  }).finally(() => {
5097
- x(), r(8, m = !1);
4918
+ E(), r(8, g = !1);
5098
4919
  });
5099
- }, x = () => {
5100
- const y = c.getRootNode().host;
5101
- y.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: y } }));
5102
- }, L = () => {
5103
- C();
5104
- }, I = (y) => {
5105
- y.data && y.data.type == "OpenCalendar" && (r(7, d = y.data.index), r(11, S = !0), window.postMessage(
4920
+ }, E = () => {
4921
+ const p = c.getRootNode().host;
4922
+ p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4923
+ }, I = () => {
4924
+ N();
4925
+ }, P = (p) => {
4926
+ p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
5106
4927
  {
5107
4928
  type: "ShowModal",
5108
- selectedIndex: d,
4929
+ selectedIndex: b,
5109
4930
  identifier: "Calendar"
5110
4931
  },
5111
4932
  window.location.href
5112
4933
  ), window.postMessage({
5113
4934
  type: "DailyEventsData",
5114
- data: p[d]?.dailyEvents
5115
- })), y.data && y.data.type == "ModalClosed" && r(11, S = !1);
4935
+ data: m[b]?.dailyEvents
4936
+ })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
5116
4937
  };
5117
- en(() => (window.addEventListener("message", I, !1), Cr(H) && r(10, T = !0), () => {
5118
- window.removeEventListener("message", I);
4938
+ Lr(() => (window.addEventListener("message", P, !1), vr(H) && r(10, A = !0), () => {
4939
+ window.removeEventListener("message", P);
5119
4940
  }));
5120
- function z(y) {
5121
- We[y ? "unshift" : "push"](() => {
5122
- c = y, r(5, c);
4941
+ function z(p) {
4942
+ Ue[p ? "unshift" : "push"](() => {
4943
+ c = p, r(5, c);
5123
4944
  });
5124
4945
  }
5125
- return e.$$set = (y) => {
5126
- "cmsendpoint" in y && r(13, i = y.cmsendpoint), "env" in y && r(14, o = y.env), "userroles" in y && r(15, a = y.userroles), "lang" in y && r(0, s = y.lang), "clientstyling" in y && r(1, l = y.clientstyling), "clientstylingurl" in y && r(2, u = y.clientstylingurl), "translationurl" in y && r(3, h = y.translationurl), "mbsource" in y && r(4, f = y.mbsource);
4946
+ return e.$$set = (p) => {
4947
+ "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, o = p.env), "userroles" in p && r(15, a = p.userroles), "lang" in p && r(0, s = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(4, f = p.mbsource);
5127
4948
  }, e.$$.update = () => {
5128
4949
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
5129
- 57345 && i && s && o && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5130
- 34 && l && c && go(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5131
- 36 && u && c && _o(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5132
- 48 && c && vo(c, `${f}.Style`), e.$$.dirty & /*lang*/
5133
- 1 && s && O(), e.$$.dirty & /*lang, translationurl*/
5134
- 9 && s && h && P();
4950
+ 57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4951
+ 34 && l && c && Zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4952
+ 36 && u && c && Qi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4953
+ 48 && c && qi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4954
+ 1 && s && L(), e.$$.dirty & /*lang, translationurl*/
4955
+ 9 && s && h && O();
5135
4956
  }, [
5136
4957
  s,
5137
4958
  l,
@@ -5139,12 +4960,12 @@ function Po(e, t, r) {
5139
4960
  h,
5140
4961
  f,
5141
4962
  c,
5142
- p,
5143
- d,
5144
4963
  m,
5145
- v,
5146
- T,
4964
+ b,
4965
+ g,
5147
4966
  S,
4967
+ A,
4968
+ w,
5148
4969
  n,
5149
4970
  i,
5150
4971
  o,
@@ -5152,14 +4973,14 @@ function Po(e, t, r) {
5152
4973
  z
5153
4974
  ];
5154
4975
  }
5155
- class Lr extends fn {
4976
+ class _r extends jr {
5156
4977
  constructor(t) {
5157
- super(), hn(
4978
+ super(), Gr(
5158
4979
  this,
5159
4980
  t,
5160
- Po,
5161
- Ho,
5162
- Wt,
4981
+ no,
4982
+ ro,
4983
+ Mt,
5163
4984
  {
5164
4985
  cmsendpoint: 13,
5165
4986
  env: 14,
@@ -5170,125 +4991,120 @@ class Lr extends fn {
5170
4991
  translationurl: 3,
5171
4992
  mbsource: 4
5172
4993
  },
5173
- xo
4994
+ Yi
5174
4995
  );
5175
4996
  }
5176
4997
  get cmsendpoint() {
5177
4998
  return this.$$.ctx[13];
5178
4999
  }
5179
5000
  set cmsendpoint(t) {
5180
- this.$$set({ cmsendpoint: t }), R();
5001
+ this.$$set({ cmsendpoint: t }), M();
5181
5002
  }
5182
5003
  get env() {
5183
5004
  return this.$$.ctx[14];
5184
5005
  }
5185
5006
  set env(t) {
5186
- this.$$set({ env: t }), R();
5007
+ this.$$set({ env: t }), M();
5187
5008
  }
5188
5009
  get userroles() {
5189
5010
  return this.$$.ctx[15];
5190
5011
  }
5191
5012
  set userroles(t) {
5192
- this.$$set({ userroles: t }), R();
5013
+ this.$$set({ userroles: t }), M();
5193
5014
  }
5194
5015
  get lang() {
5195
5016
  return this.$$.ctx[0];
5196
5017
  }
5197
5018
  set lang(t) {
5198
- this.$$set({ lang: t }), R();
5019
+ this.$$set({ lang: t }), M();
5199
5020
  }
5200
5021
  get clientstyling() {
5201
5022
  return this.$$.ctx[1];
5202
5023
  }
5203
5024
  set clientstyling(t) {
5204
- this.$$set({ clientstyling: t }), R();
5025
+ this.$$set({ clientstyling: t }), M();
5205
5026
  }
5206
5027
  get clientstylingurl() {
5207
5028
  return this.$$.ctx[2];
5208
5029
  }
5209
5030
  set clientstylingurl(t) {
5210
- this.$$set({ clientstylingurl: t }), R();
5031
+ this.$$set({ clientstylingurl: t }), M();
5211
5032
  }
5212
5033
  get translationurl() {
5213
5034
  return this.$$.ctx[3];
5214
5035
  }
5215
5036
  set translationurl(t) {
5216
- this.$$set({ translationurl: t }), R();
5037
+ this.$$set({ translationurl: t }), M();
5217
5038
  }
5218
5039
  get mbsource() {
5219
5040
  return this.$$.ctx[4];
5220
5041
  }
5221
5042
  set mbsource(t) {
5222
- this.$$set({ mbsource: t }), R();
5043
+ this.$$set({ mbsource: t }), M();
5223
5044
  }
5224
5045
  }
5225
- cn(Lr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5226
- const Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5046
+ Fr(_r, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5047
+ const Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5227
5048
  __proto__: null,
5228
- default: Lr
5049
+ default: _r
5229
5050
  }, Symbol.toStringTag, { value: "Module" }));
5230
5051
  export {
5231
- ie as $,
5232
- bt as A,
5233
- Vr as B,
5234
- We as C,
5235
- Ao as D,
5236
- b as E,
5237
- kr as F,
5238
- No as G,
5239
- Go as H,
5240
- Ro as I,
5241
- go as J,
5242
- _o as K,
5243
- vo as L,
5244
- cn as M,
5245
- bo as N,
5246
- yo as O,
5247
- Lo as P,
5248
- ko as Q,
5249
- V as R,
5250
- fn as S,
5251
- Mo as T,
5252
- me as U,
5253
- $o as V,
5254
- Fo as W,
5255
- Jo as X,
5256
- Uo as Y,
5257
- jo as Z,
5258
- qo as _,
5259
- Pr as a,
5260
- Qo as a0,
5261
- zo as a1,
5262
- Nr as a2,
5263
- Wo as a3,
5264
- Pe as a4,
5265
- Do as a5,
5266
- Zo as a6,
5267
- fe as a7,
5268
- Yo as a8,
5269
- Gr as b,
5270
- er as c,
5271
- $ as d,
5272
- Xo as e,
5273
- R as f,
5274
- Vo as g,
5275
- X as h,
5276
- hn as i,
5277
- N as j,
5278
- Rr as k,
5279
- Cr as l,
5280
- Wr as m,
5052
+ ne as $,
5053
+ co as A,
5054
+ Ar as B,
5055
+ Ue as C,
5056
+ io as D,
5057
+ d as E,
5058
+ Br as F,
5059
+ ho as G,
5060
+ yo as H,
5061
+ mo as I,
5062
+ Zi as J,
5063
+ Qi as K,
5064
+ qi as L,
5065
+ Fr as M,
5066
+ Wi as N,
5067
+ zi as O,
5068
+ lo as P,
5069
+ vo as Q,
5070
+ X as R,
5071
+ jr as S,
5072
+ fo as T,
5073
+ ce as U,
5074
+ po as V,
5075
+ bo as W,
5076
+ go as X,
5077
+ To as Y,
5078
+ wo as Z,
5079
+ xo as _,
5080
+ pr as a,
5081
+ Ho as a0,
5082
+ So as a1,
5083
+ Se as a2,
5084
+ Po as a3,
5085
+ wr as b,
5086
+ Ft as c,
5087
+ U as d,
5088
+ Eo as e,
5089
+ M as f,
5090
+ _o as g,
5091
+ k as h,
5092
+ Gr as i,
5093
+ $ as j,
5094
+ Sr as k,
5095
+ vr as l,
5096
+ Ir as m,
5281
5097
  B as n,
5282
- en as o,
5283
- de as p,
5284
- ct as q,
5285
- k as r,
5286
- Wt as s,
5287
- on as t,
5288
- Bo as u,
5289
- _t as v,
5290
- jr as w,
5291
- Io as x,
5292
- Co as y,
5293
- Oo as z
5098
+ Lr as o,
5099
+ we as p,
5100
+ nt as q,
5101
+ j as r,
5102
+ Mt as s,
5103
+ Rr as t,
5104
+ oo as u,
5105
+ ut as v,
5106
+ Pr as w,
5107
+ ao as x,
5108
+ uo as y,
5109
+ so as z
5294
5110
  };