@everymatrix/casino-lobby 1.54.8 → 1.54.9

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 (83) hide show
  1. package/components/CasinoCalendar-BlfnJwZ-.cjs +9 -0
  2. package/components/{CasinoCalendar-B6zL0TaE.js → CasinoCalendar-CKCvu8d9.js} +1237 -1237
  3. package/components/{CasinoCalendar-yoWAbEkY.js → CasinoCalendar-D3cTwZsW.js} +998 -998
  4. package/components/{CasinoCalendarDailyDetails-D3u4HZe8.js → CasinoCalendarDailyDetails-B7hChP4v.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-CfDJdZRl.cjs → CasinoCalendarDailyDetails-C1T0xNcn.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CHjjPOPl.js → CasinoCalendarDailyDetails-CCIR8eIp.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-C0cqN7uc.js → CasinoCalendarDailyItem-1iPwEmjb.js} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DMCRSt77.js → CasinoCalendarDailyItem-BNNa1Jdv.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CUUQD6LO.cjs → CasinoCalendarDailyItem-Bp_PImhJ.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-ClyY2tVk.js → CasinoCategoriesSlider-06Zx2Iq-.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-BcJr5qw4.js → CasinoCategoriesSlider-Bjd1r5S5.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-Du23Vwbe.cjs → CasinoCategoriesSlider-DVgkuNtk.cjs} +1 -1
  13. package/components/{CasinoCollectionsProviders-DfPQERZb.js → CasinoCollectionsProviders-BQPjVzK8.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-okanqqGb.cjs → CasinoCollectionsProviders-CSISd5u6.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-D_RrWmcu.js → CasinoCollectionsProviders-CVDFBiI0.js} +1 -1
  16. package/components/{CasinoFavoritesSection-Bueg3sTp.js → CasinoFavoritesSection-BtAZ0obR.js} +2 -2
  17. package/components/{CasinoFavoritesSection-B73CXUAy.js → CasinoFavoritesSection-CeNe7gym.js} +2 -2
  18. package/components/{CasinoFavoritesSection-6Sdpq5gN.cjs → CasinoFavoritesSection-D7g9PfaJ.cjs} +1 -1
  19. package/components/{CasinoFilter-d5NvPsIU.cjs → CasinoFilter-C10Tgn3c.cjs} +1 -1
  20. package/components/{CasinoFilter-CLgilXuM.js → CasinoFilter-CT6gjm3V.js} +1 -1
  21. package/components/{CasinoFilter-Ck2-RKNG.js → CasinoFilter-ckjDwsuD.js} +1 -1
  22. package/components/{CasinoGamePage-BvAh0DGO.js → CasinoGamePage-BXEw8hFH.js} +1 -1
  23. package/components/{CasinoGamePage-B9T32UnC.js → CasinoGamePage-CtPmWXKS.js} +1 -1
  24. package/components/{CasinoGamePage-C99GYj8V.cjs → CasinoGamePage-DishJnnG.cjs} +1 -1
  25. package/components/{CasinoGameThumbnail-Bl2lRTS5.js → CasinoGameThumbnail-CPtgI_Ou.js} +2 -2
  26. package/components/{CasinoGameThumbnail-DFxPFhew.cjs → CasinoGameThumbnail-DEA-lJVL.cjs} +1 -1
  27. package/components/{CasinoGameThumbnail-Cnth3w2v.js → CasinoGameThumbnail-DlUjmcUF.js} +2 -2
  28. package/components/{CasinoGamesCategorySection-Cy8ehDrS.cjs → CasinoGamesCategorySection-C004qi0F.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-Vx-6j2_y.js → CasinoGamesCategorySection-DNDGzt_C.js} +5 -5
  30. package/components/{CasinoGamesCategorySection-DU23YHrX.js → CasinoGamesCategorySection-DeKVT6Qy.js} +5 -5
  31. package/components/{CasinoJackpotBanner-CwBo5Mul.js → CasinoJackpotBanner-D3s92J-3.js} +1 -1
  32. package/components/{CasinoJackpotBanner-D8mirkf9.js → CasinoJackpotBanner-q02RPv4N.js} +1 -1
  33. package/components/{CasinoJackpotBanner-pF19c3bB.cjs → CasinoJackpotBanner-uWVFzOiI.cjs} +1 -1
  34. package/components/{CasinoLastPlayedSection-D2i1KYd6.js → CasinoLastPlayedSection-CRSWVIu_.js} +2 -2
  35. package/components/{CasinoLastPlayedSection-CTeLaz5e.cjs → CasinoLastPlayedSection-tgXO-MUK.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-DeHKMRjb.js → CasinoLastPlayedSection-vWwXDUsk.js} +2 -2
  37. package/components/{CasinoLobby-DjqoKJ_Z.cjs → CasinoLobby-CzD2DAYm.cjs} +1 -1
  38. package/components/{CasinoLobby-DIuXNBMc.js → CasinoLobby-aK6BWuTG.js} +5 -5
  39. package/components/{CasinoLobby-Ds8nok67.js → CasinoLobby-cHs3HImA.js} +5 -5
  40. package/components/{CasinoModal-CdxckMSF.js → CasinoModal-C1oW3YF4.js} +1 -1
  41. package/components/{CasinoModal-Cj4CFSu2.cjs → CasinoModal-DRtZi6gR.cjs} +1 -1
  42. package/components/{CasinoModal-_ukjEJqy.js → CasinoModal-IbVlgg7Z.js} +1 -1
  43. package/components/{CasinoMostPlayedSection-BRG_Uq6C.cjs → CasinoMostPlayedSection-1h4sJVZB.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-BvIjl5pV.js → CasinoMostPlayedSection-CqCeL-T3.js} +2 -2
  45. package/components/{CasinoMostPlayedSection-C9ey8EVj.js → CasinoMostPlayedSection-GdgKELMj.js} +2 -2
  46. package/components/{CasinoMyGames-DNs8c3Rb.cjs → CasinoMyGames-B_NJlfMk.cjs} +1 -1
  47. package/components/{CasinoMyGames-CO15Aytm.js → CasinoMyGames-C96xDtTs.js} +4 -4
  48. package/components/{CasinoMyGames-BH19YGDz.js → CasinoMyGames-crupH86Y.js} +4 -4
  49. package/components/{CasinoPage-sSUBPWhS.cjs → CasinoPage-BP3C9X12.cjs} +1 -1
  50. package/components/{CasinoPage-DXue0b0t.js → CasinoPage-BmaJqL6b.js} +10 -10
  51. package/components/{CasinoPage-BEFfjziT.js → CasinoPage-LZWtHc8W.js} +10 -10
  52. package/components/{CasinoRandomGame-C57JuHHz.cjs → CasinoRandomGame-C6-dDxie.cjs} +1 -1
  53. package/components/{CasinoRandomGame-r6ZN573_.js → CasinoRandomGame-DXFHIw0O.js} +1 -1
  54. package/components/{CasinoRandomGame-z14CxLuC.js → CasinoRandomGame-Df62wtxc.js} +1 -1
  55. package/components/{CasinoSearch-C5_rhVBG.js → CasinoSearch-BcFA6QGN.js} +3 -3
  56. package/components/{CasinoSearch-D1uEkiG3.cjs → CasinoSearch-Dnm7_nuc.cjs} +1 -1
  57. package/components/{CasinoSearch-Cbyb3s0J.js → CasinoSearch-akpXIDh-.js} +3 -3
  58. package/components/{CasinoSlider-D1u-7DmV.cjs → CasinoSlider-BDjskQjI.cjs} +1 -1
  59. package/components/{CasinoSlider-C90aPXd2.js → CasinoSlider-BWEc4YT5.js} +1 -1
  60. package/components/{CasinoSlider-C7bHIIsP.js → CasinoSlider-BjpV4pLV.js} +1 -1
  61. package/components/{CasinoSort-5a6WYp-y.cjs → CasinoSort-CS53Uvnz.cjs} +1 -1
  62. package/components/{CasinoSort-DWu-WSlc.js → CasinoSort-DFdgT3Dt.js} +1 -1
  63. package/components/{CasinoSort-B9ucfWgD.js → CasinoSort-DFljh5Sg.js} +1 -1
  64. package/components/{CasinoWinners-fPZD2C86.js → CasinoWinners-6mr0X-kZ.js} +2 -2
  65. package/components/{CasinoWinners-BFkE1Nu3.js → CasinoWinners-CADOvOsd.js} +2 -2
  66. package/components/{CasinoWinners-D-KQ7v4o.cjs → CasinoWinners-DU3xFq2b.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-BtZxU34J.cjs → GeneralAnimationLoading-BG_QynCK.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-BCUksgAT.js → GeneralAnimationLoading-CX9baArf.js} +1 -1
  69. package/components/{GeneralAnimationLoading-DSCrLTeR.js → GeneralAnimationLoading-DVLCsjn0.js} +1 -1
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +2 -2
  74. package/stencil/{casino-play-random-game-pLVMnBV9.js → casino-play-random-game-CoygOtgn.js} +1 -1
  75. package/stencil/{casino-play-random-game-BKQH1Zx1.cjs → casino-play-random-game-DjMkr-Sg.cjs} +1 -1
  76. package/stencil/{casino-play-random-game-BqK1nKDT.js → casino-play-random-game-DkjQlTyE.js} +1 -1
  77. package/stencil/index-f923e8d1-D64rZ7vf.js +645 -0
  78. package/stencil/index-f923e8d1-D8EldEUs.js +629 -0
  79. package/stencil/index-f923e8d1-QzT30J3F.cjs +1 -0
  80. package/components/CasinoCalendar-BMfA7KN3.cjs +0 -9
  81. package/stencil/index-f923e8d1-BWfXmHlD.js +0 -645
  82. package/stencil/index-f923e8d1-DEpJEd5d.cjs +0 -1
  83. package/stencil/index-f923e8d1-DkIbJRWP.js +0 -629
@@ -1,8 +1,8 @@
1
1
  function B() {
2
2
  }
3
- const On = (e) => e;
4
- function In(e, t) {
5
- for (const n in t) e[n] = t[n];
3
+ const Br = (e) => e;
4
+ function Or(e, t) {
5
+ for (const r in t) e[r] = t[r];
6
6
  return (
7
7
  /** @type {T & S} */
8
8
  e
@@ -24,79 +24,79 @@ function Gt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let be;
27
- function gs(e, t) {
27
+ function _o(e, t) {
28
28
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
29
29
  }
30
- function Cn(e) {
30
+ function Ir(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
33
  function Ft(e, ...t) {
34
34
  if (e == null) {
35
- for (const r of t)
36
- r(void 0);
35
+ for (const n of t)
36
+ n(void 0);
37
37
  return B;
38
38
  }
39
- const n = e.subscribe(...t);
40
- return n.unsubscribe ? () => n.unsubscribe() : n;
39
+ const r = e.subscribe(...t);
40
+ return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function Ln(e, t, n) {
43
- e.$$.on_destroy.push(Ft(t, n));
42
+ function Cr(e, t, r) {
43
+ e.$$.on_destroy.push(Ft(t, r));
44
44
  }
45
- function _s(e, t, n, r) {
45
+ function vo(e, t, r, n) {
46
46
  if (e) {
47
- const i = jt(e, t, n, r);
47
+ const i = jt(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function jt(e, t, n, r) {
52
- return e[1] && r ? In(n.ctx.slice(), e[1](r(t))) : n.ctx;
51
+ function jt(e, t, r, n) {
52
+ return e[1] && n ? Or(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function vs(e, t, n, r) {
55
- if (e[2] && r) {
56
- const i = e[2](r(n));
54
+ function Eo(e, t, r, n) {
55
+ if (e[2] && n) {
56
+ const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
58
58
  return i;
59
59
  if (typeof i == "object") {
60
- const s = [], a = Math.max(t.dirty.length, i.length);
61
- for (let o = 0; o < a; o += 1)
62
- s[o] = t.dirty[o] | i[o];
63
- return s;
60
+ const o = [], a = Math.max(t.dirty.length, i.length);
61
+ for (let s = 0; s < a; s += 1)
62
+ o[s] = t.dirty[s] | i[s];
63
+ return o;
64
64
  }
65
65
  return t.dirty | i;
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function Es(e, t, n, r, i, s) {
69
+ function xo(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = jt(t, n, r, s);
71
+ const a = jt(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function xs(e) {
75
+ function wo(e) {
76
76
  if (e.ctx.length > 32) {
77
- const t = [], n = e.ctx.length / 32;
78
- for (let r = 0; r < n; r++)
79
- t[r] = -1;
77
+ const t = [], r = e.ctx.length / 32;
78
+ for (let n = 0; n < r; n++)
79
+ t[n] = -1;
80
80
  return t;
81
81
  }
82
82
  return -1;
83
83
  }
84
- function ws(e) {
84
+ function So(e) {
85
85
  return e && de(e.destroy) ? e.destroy : B;
86
86
  }
87
87
  const kt = typeof window < "u";
88
- let Nn = kt ? () => window.performance.now() : () => Date.now(), it = kt ? (e) => requestAnimationFrame(e) : B;
88
+ let Lr = kt ? () => window.performance.now() : () => Date.now(), it = kt ? (e) => requestAnimationFrame(e) : B;
89
89
  const J = /* @__PURE__ */ new Set();
90
90
  function Vt(e) {
91
91
  J.forEach((t) => {
92
92
  t.c(e) || (J.delete(t), t.f());
93
93
  }), J.size !== 0 && it(Vt);
94
94
  }
95
- function Mn(e) {
95
+ function Nr(e) {
96
96
  let t;
97
97
  return J.size === 0 && it(Vt), {
98
- promise: new Promise((n) => {
99
- J.add(t = { c: e, f: n });
98
+ promise: new Promise((r) => {
99
+ J.add(t = { c: e, f: r });
100
100
  }),
101
101
  abort() {
102
102
  J.delete(t);
@@ -106,14 +106,14 @@ function Mn(e) {
106
106
  function pe(e, t) {
107
107
  e.appendChild(t);
108
108
  }
109
- function Rn(e, t, n) {
110
- const r = st(e);
111
- if (!r.getElementById(t)) {
109
+ function Mr(e, t, r) {
110
+ const n = ot(e);
111
+ if (!n.getElementById(t)) {
112
112
  const i = R("style");
113
- i.id = t, i.textContent = n, Xt(r, i);
113
+ i.id = t, i.textContent = r, Xt(n, i);
114
114
  }
115
115
  }
116
- function st(e) {
116
+ function ot(e) {
117
117
  if (!e) return document;
118
118
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
119
119
  return t && /** @type {ShadowRoot} */
@@ -122,9 +122,9 @@ function st(e) {
122
122
  t
123
123
  ) : e.ownerDocument;
124
124
  }
125
- function $n(e) {
125
+ function Rr(e) {
126
126
  const t = R("style");
127
- return t.textContent = "/* empty */", Xt(st(e), t), t.sheet;
127
+ return t.textContent = "/* empty */", Xt(ot(e), t), t.sheet;
128
128
  }
129
129
  function Xt(e, t) {
130
130
  return pe(
@@ -133,61 +133,61 @@ function Xt(e, t) {
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function V(e, t, n) {
137
- e.insertBefore(t, n || null);
136
+ function V(e, t, r) {
137
+ e.insertBefore(t, r || null);
138
138
  }
139
139
  function $(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function Dn(e, t) {
143
- for (let n = 0; n < e.length; n += 1)
144
- e[n] && e[n].d(t);
142
+ function $r(e, t) {
143
+ for (let r = 0; r < e.length; r += 1)
144
+ e[r] && e[r].d(t);
145
145
  }
146
146
  function R(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function Un(e) {
149
+ function Dr(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function ot(e) {
152
+ function st(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
- function Gn() {
156
- return ot(" ");
155
+ function Ur() {
156
+ return st(" ");
157
157
  }
158
- function Ss() {
159
- return ot("");
158
+ function To() {
159
+ return st("");
160
160
  }
161
- function ht(e, t, n, r) {
162
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
161
+ function ht(e, t, r, n) {
162
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
163
163
  }
164
- function Ts(e) {
164
+ function Ho(e) {
165
165
  return function(t) {
166
166
  return t.stopPropagation(), e.call(this, t);
167
167
  };
168
168
  }
169
- function X(e, t, n) {
170
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
169
+ function X(e, t, r) {
170
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
171
171
  }
172
- function y(e, t, n) {
173
- const r = t.toLowerCase();
174
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : X(e, t, n);
172
+ function y(e, t, r) {
173
+ const n = t.toLowerCase();
174
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : X(e, t, r);
175
175
  }
176
- function Fn(e) {
176
+ function Gr(e) {
177
177
  return Array.from(e.childNodes);
178
178
  }
179
- function jn(e, t) {
179
+ function Fr(e, t) {
180
180
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
181
181
  t);
182
182
  }
183
- function Hs(e, t) {
183
+ function Po(e, t) {
184
184
  e.value = t ?? "";
185
185
  }
186
- function Ps(e, t, n, r) {
187
- n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
186
+ function Ao(e, t, r, n) {
187
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
188
188
  }
189
189
  let ye;
190
- function kn() {
190
+ function jr() {
191
191
  if (ye === void 0) {
192
192
  ye = !1;
193
193
  try {
@@ -198,35 +198,35 @@ function kn() {
198
198
  }
199
199
  return ye;
200
200
  }
201
- function As(e, t) {
201
+ function Bo(e, t) {
202
202
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
203
- const r = R("iframe");
204
- r.setAttribute(
203
+ const n = R("iframe");
204
+ n.setAttribute(
205
205
  "style",
206
206
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
207
- ), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
208
- const i = kn();
209
- let s;
210
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = ht(
207
+ ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
208
+ const i = jr();
209
+ let o;
210
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ht(
211
211
  window,
212
212
  "message",
213
213
  /** @param {MessageEvent} event */
214
214
  (a) => {
215
- a.source === r.contentWindow && t();
215
+ a.source === n.contentWindow && t();
216
216
  }
217
- )) : (r.src = "about:blank", r.onload = () => {
218
- s = ht(r.contentWindow, "resize", t), t();
219
- }), pe(e, r), () => {
220
- (i || s && r.contentWindow) && s(), $(r);
217
+ )) : (n.src = "about:blank", n.onload = () => {
218
+ o = ht(n.contentWindow, "resize", t), t();
219
+ }), pe(e, n), () => {
220
+ (i || o && n.contentWindow) && o(), $(n);
221
221
  };
222
222
  }
223
- function Bs(e, t, n) {
224
- e.classList.toggle(t, !!n);
223
+ function Oo(e, t, r) {
224
+ e.classList.toggle(t, !!r);
225
225
  }
226
- function Vn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
227
- return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
226
+ function kr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
227
+ return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
228
228
  }
229
- class Os {
229
+ class Io {
230
230
  /**
231
231
  * @private
232
232
  * @default false
@@ -256,17 +256,17 @@ class Os {
256
256
  * @param {HTMLElement | SVGElement} anchor
257
257
  * @returns {void}
258
258
  */
259
- m(t, n, r = null) {
260
- this.e || (this.is_svg ? this.e = Un(
259
+ m(t, r, n = null) {
260
+ this.e || (this.is_svg ? this.e = Dr(
261
261
  /** @type {keyof SVGElementTagNameMap} */
262
- n.nodeName
262
+ r.nodeName
263
263
  ) : this.e = R(
264
264
  /** @type {keyof HTMLElementTagNameMap} */
265
- n.nodeType === 11 ? "TEMPLATE" : n.nodeName
266
- ), this.t = n.tagName !== "TEMPLATE" ? n : (
265
+ r.nodeType === 11 ? "TEMPLATE" : r.nodeName
266
+ ), this.t = r.tagName !== "TEMPLATE" ? r : (
267
267
  /** @type {HTMLTemplateElement} */
268
- n.content
269
- ), this.c(t)), this.i(r);
268
+ r.content
269
+ ), this.c(t)), this.i(n);
270
270
  }
271
271
  /**
272
272
  * @param {string} html
@@ -280,8 +280,8 @@ class Os {
280
280
  /**
281
281
  * @returns {void} */
282
282
  i(t) {
283
- for (let n = 0; n < this.n.length; n += 1)
284
- V(this.t, this.n[n], t);
283
+ for (let r = 0; r < this.n.length; r += 1)
284
+ V(this.t, this.n[r], t);
285
285
  }
286
286
  /**
287
287
  * @param {string} html
@@ -296,49 +296,49 @@ class Os {
296
296
  this.n.forEach($);
297
297
  }
298
298
  }
299
- function Xn(e) {
299
+ function Vr(e) {
300
300
  const t = {};
301
301
  return e.childNodes.forEach(
302
302
  /** @param {Element} node */
303
- (n) => {
304
- t[n.slot || "default"] = !0;
303
+ (r) => {
304
+ t[r.slot || "default"] = !0;
305
305
  }
306
306
  ), t;
307
307
  }
308
308
  const Te = /* @__PURE__ */ new Map();
309
309
  let He = 0;
310
- function Wn(e) {
311
- let t = 5381, n = e.length;
312
- for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
310
+ function Xr(e) {
311
+ let t = 5381, r = e.length;
312
+ for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
313
313
  return t >>> 0;
314
314
  }
315
- function zn(e, t) {
316
- const n = { stylesheet: $n(t), rules: {} };
317
- return Te.set(e, n), n;
315
+ function Wr(e, t) {
316
+ const r = { stylesheet: Rr(t), rules: {} };
317
+ return Te.set(e, r), r;
318
318
  }
319
- function ft(e, t, n, r, i, s, a, o = 0) {
320
- const l = 16.666 / r;
319
+ function ct(e, t, r, n, i, o, a, s = 0) {
320
+ const l = 16.666 / n;
321
321
  let u = `{
322
322
  `;
323
323
  for (let E = 0; E <= 1; E += l) {
324
- const S = t + (n - t) * s(E);
324
+ const S = t + (r - t) * o(E);
325
325
  u += E * 100 + `%{${a(S, 1 - S)}}
326
326
  `;
327
327
  }
328
- const h = u + `100% {${a(n, 1 - n)}}
329
- }`, f = `__svelte_${Wn(h)}_${o}`, c = st(e), { stylesheet: p, rules: d } = Te.get(c) || zn(c, e);
330
- d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
328
+ const h = u + `100% {${a(r, 1 - r)}}
329
+ }`, c = `__svelte_${Xr(h)}_${s}`, f = ot(e), { stylesheet: p, rules: d } = Te.get(f) || Wr(f, e);
330
+ d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
331
331
  const m = e.style.animation || "";
332
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, He += 1, f;
332
+ return e.style.animation = `${m ? `${m}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, He += 1, c;
333
333
  }
334
- function qn(e, t) {
335
- const n = (e.style.animation || "").split(", "), r = n.filter(
336
- t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
334
+ function zr(e, t) {
335
+ const r = (e.style.animation || "").split(", "), n = r.filter(
336
+ t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
337
337
  // remove all Svelte animations
338
- ), i = n.length - r.length;
339
- i && (e.style.animation = r.join(", "), He -= i, He || Zn());
338
+ ), i = r.length - n.length;
339
+ i && (e.style.animation = n.join(", "), He -= i, He || qr());
340
340
  }
341
- function Zn() {
341
+ function qr() {
342
342
  it(() => {
343
343
  He || (Te.forEach((e) => {
344
344
  const { ownerNode: t } = e.stylesheet;
@@ -354,20 +354,20 @@ function Wt() {
354
354
  if (!he) throw new Error("Function called outside component initialization");
355
355
  return he;
356
356
  }
357
- function Is(e) {
357
+ function Co(e) {
358
358
  Wt().$$.before_update.push(e);
359
359
  }
360
- function Qn(e) {
360
+ function Zr(e) {
361
361
  Wt().$$.on_mount.push(e);
362
362
  }
363
363
  const Q = [], ke = [];
364
364
  let Y = [];
365
- const ct = [], zt = /* @__PURE__ */ Promise.resolve();
365
+ const ft = [], zt = /* @__PURE__ */ Promise.resolve();
366
366
  let Ve = !1;
367
367
  function qt() {
368
368
  Ve || (Ve = !0, zt.then(D));
369
369
  }
370
- function Cs() {
370
+ function Lo() {
371
371
  return qt(), zt;
372
372
  }
373
373
  function Pe(e) {
@@ -383,45 +383,45 @@ function D() {
383
383
  try {
384
384
  for (; q < Q.length; ) {
385
385
  const t = Q[q];
386
- q++, le(t), Jn(t.$$);
386
+ q++, le(t), Qr(t.$$);
387
387
  }
388
388
  } catch (t) {
389
389
  throw Q.length = 0, q = 0, t;
390
390
  }
391
391
  for (le(null), Q.length = 0, q = 0; ke.length; ) ke.pop()();
392
392
  for (let t = 0; t < Y.length; t += 1) {
393
- const n = Y[t];
394
- Me.has(n) || (Me.add(n), n());
393
+ const r = Y[t];
394
+ Me.has(r) || (Me.add(r), r());
395
395
  }
396
396
  Y.length = 0;
397
397
  } while (Q.length);
398
- for (; ct.length; )
399
- ct.pop()();
398
+ for (; ft.length; )
399
+ ft.pop()();
400
400
  Ve = !1, Me.clear(), le(e);
401
401
  }
402
- function Jn(e) {
402
+ function Qr(e) {
403
403
  if (e.fragment !== null) {
404
404
  e.update(), k(e.before_update);
405
405
  const t = e.dirty;
406
406
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
407
407
  }
408
408
  }
409
- function Yn(e) {
410
- const t = [], n = [];
411
- Y.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Y = t;
409
+ function Jr(e) {
410
+ const t = [], r = [];
411
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
412
412
  }
413
413
  let ae;
414
- function Kn() {
414
+ function Yr() {
415
415
  return ae || (ae = Promise.resolve(), ae.then(() => {
416
416
  ae = null;
417
417
  })), ae;
418
418
  }
419
- function Re(e, t, n) {
420
- e.dispatchEvent(Vn(`${t ? "intro" : "outro"}${n}`));
419
+ function Re(e, t, r) {
420
+ e.dispatchEvent(kr(`${t ? "intro" : "outro"}${r}`));
421
421
  }
422
422
  const ve = /* @__PURE__ */ new Set();
423
423
  let U;
424
- function Ls() {
424
+ function No() {
425
425
  U = {
426
426
  r: 0,
427
427
  c: [],
@@ -429,27 +429,27 @@ function Ls() {
429
429
  // parent group
430
430
  };
431
431
  }
432
- function Ns() {
432
+ function Mo() {
433
433
  U.r || k(U.c), U = U.p;
434
434
  }
435
435
  function Zt(e, t) {
436
436
  e && e.i && (ve.delete(e), e.i(t));
437
437
  }
438
- function Ms(e, t, n, r) {
438
+ function Ro(e, t, r, n) {
439
439
  if (e && e.o) {
440
440
  if (ve.has(e)) return;
441
441
  ve.add(e), U.c.push(() => {
442
- ve.delete(e), r && (n && e.d(1), r());
442
+ ve.delete(e), n && (r && e.d(1), n());
443
443
  }), e.o(t);
444
- } else r && r();
444
+ } else n && n();
445
445
  }
446
- const er = { duration: 0 };
447
- function Rs(e, t, n, r) {
448
- let s = t(e, n, { direction: "both" }), a = r ? 0 : 1, o = null, l = null, u = null, h;
449
- function f() {
450
- u && qn(e, u);
446
+ const Kr = { duration: 0 };
447
+ function $o(e, t, r, n) {
448
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
449
+ function c() {
450
+ u && zr(e, u);
451
451
  }
452
- function c(d, m) {
452
+ function f(d, m) {
453
453
  const E = (
454
454
  /** @type {Program['d']} */
455
455
  d.b - a
@@ -468,98 +468,98 @@ function Rs(e, t, n, r) {
468
468
  const {
469
469
  delay: m = 0,
470
470
  duration: E = 300,
471
- easing: S = On,
471
+ easing: S = Br,
472
472
  tick: H = B,
473
473
  css: T
474
- } = s || er, O = {
475
- start: Nn() + m,
474
+ } = o || Kr, O = {
475
+ start: Lr() + m,
476
476
  b: d
477
477
  };
478
478
  d || (O.group = U, U.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
479
- e.inert, e.inert = !0)), o || l ? l = O : (T && (f(), u = ft(e, a, d, E, m, S, T)), d && H(0, 1), o = c(O, E), Pe(() => Re(e, d, "start")), Mn((P) => {
480
- if (l && P > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), T && (f(), u = ft(
479
+ e.inert, e.inert = !0)), s || l ? l = O : (T && (c(), u = ct(e, a, d, E, m, S, T)), d && H(0, 1), s = f(O, E), Pe(() => Re(e, d, "start")), Nr((P) => {
480
+ if (l && P > l.start && (s = f(l, E), l = null, Re(e, s.b, "start"), T && (c(), u = ct(
481
481
  e,
482
482
  a,
483
- o.b,
484
- o.duration,
483
+ s.b,
484
+ s.duration,
485
485
  0,
486
486
  S,
487
- s.css
488
- ))), o) {
489
- if (P >= o.end)
490
- H(a = o.b, 1 - a), Re(e, o.b, "end"), l || (o.b ? f() : --o.group.r || k(o.group.c)), o = null;
491
- else if (P >= o.start) {
492
- const C = P - o.start;
493
- a = o.a + o.d * S(C / o.duration), H(a, 1 - a);
487
+ o.css
488
+ ))), s) {
489
+ if (P >= s.end)
490
+ H(a = s.b, 1 - a), Re(e, s.b, "end"), l || (s.b ? c() : --s.group.r || k(s.group.c)), s = null;
491
+ else if (P >= s.start) {
492
+ const C = P - s.start;
493
+ a = s.a + s.d * S(C / s.duration), H(a, 1 - a);
494
494
  }
495
495
  }
496
- return !!(o || l);
496
+ return !!(s || l);
497
497
  }));
498
498
  }
499
499
  return {
500
500
  run(d) {
501
- de(s) ? Kn().then(() => {
502
- s = s({ direction: d ? "in" : "out" }), p(d);
501
+ de(o) ? Yr().then(() => {
502
+ o = o({ direction: d ? "in" : "out" }), p(d);
503
503
  }) : p(d);
504
504
  },
505
505
  end() {
506
- f(), o = l = null;
506
+ c(), s = l = null;
507
507
  }
508
508
  };
509
509
  }
510
510
  function dt(e) {
511
511
  return e?.length !== void 0 ? e : Array.from(e);
512
512
  }
513
- function $s(e, t) {
513
+ function Do(e, t) {
514
514
  e.d(1), t.delete(e.key);
515
515
  }
516
- function Ds(e, t, n, r, i, s, a, o, l, u, h, f) {
517
- let c = e.length, p = s.length, d = c;
516
+ function Uo(e, t, r, n, i, o, a, s, l, u, h, c) {
517
+ let f = e.length, p = o.length, d = f;
518
518
  const m = {};
519
519
  for (; d--; ) m[e[d].key] = d;
520
520
  const E = [], S = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), T = [];
521
521
  for (d = p; d--; ) {
522
- const x = f(i, s, d), L = n(x);
522
+ const x = c(i, o, d), L = r(x);
523
523
  let N = a.get(L);
524
524
  N ? T.push(() => N.p(x, t)) : (N = u(L, x), N.c()), S.set(L, E[d] = N), L in m && H.set(L, Math.abs(d - m[L]));
525
525
  }
526
526
  const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
527
527
  function C(x) {
528
- Zt(x, 1), x.m(o, h), a.set(x.key, x), h = x.first, p--;
528
+ Zt(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, p--;
529
529
  }
530
- for (; c && p; ) {
531
- const x = E[p - 1], L = e[c - 1], N = x.key, z = L.key;
532
- x === L ? (h = x.first, c--, p--) : S.has(z) ? !a.has(N) || O.has(N) ? C(x) : P.has(z) ? c-- : H.get(N) > H.get(z) ? (P.add(N), C(x)) : (O.add(z), c--) : (l(L, a), c--);
530
+ for (; f && p; ) {
531
+ const x = E[p - 1], L = e[f - 1], N = x.key, z = L.key;
532
+ x === L ? (h = x.first, f--, p--) : S.has(z) ? !a.has(N) || O.has(N) ? C(x) : P.has(z) ? f-- : H.get(N) > H.get(z) ? (P.add(N), C(x)) : (O.add(z), f--) : (l(L, a), f--);
533
533
  }
534
- for (; c--; ) {
535
- const x = e[c];
534
+ for (; f--; ) {
535
+ const x = e[f];
536
536
  S.has(x.key) || l(x, a);
537
537
  }
538
538
  for (; p; ) C(E[p - 1]);
539
539
  return k(T), E;
540
540
  }
541
- function tr(e, t, n) {
542
- const { fragment: r, after_update: i } = e.$$;
543
- r && r.m(t, n), Pe(() => {
544
- const s = e.$$.on_mount.map(Ut).filter(de);
545
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : k(s), e.$$.on_mount = [];
541
+ function en(e, t, r) {
542
+ const { fragment: n, after_update: i } = e.$$;
543
+ n && n.m(t, r), Pe(() => {
544
+ const o = e.$$.on_mount.map(Ut).filter(de);
545
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : k(o), e.$$.on_mount = [];
546
546
  }), i.forEach(Pe);
547
547
  }
548
- function nr(e, t) {
549
- const n = e.$$;
550
- n.fragment !== null && (Yn(n.after_update), k(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
548
+ function tn(e, t) {
549
+ const r = e.$$;
550
+ r.fragment !== null && (Jr(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
551
551
  }
552
- function rr(e, t) {
552
+ function rn(e, t) {
553
553
  e.$$.dirty[0] === -1 && (Q.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
554
554
  }
555
- function ir(e, t, n, r, i, s, a = null, o = [-1]) {
555
+ function nn(e, t, r, n, i, o, a = null, s = [-1]) {
556
556
  const l = he;
557
557
  le(e);
558
558
  const u = e.$$ = {
559
559
  fragment: null,
560
560
  ctx: [],
561
561
  // state
562
- props: s,
562
+ props: o,
563
563
  update: B,
564
564
  not_equal: i,
565
565
  bound: lt(),
@@ -572,22 +572,22 @@ function ir(e, t, n, r, i, s, a = null, o = [-1]) {
572
572
  context: new Map(t.context || (l ? l.$$.context : [])),
573
573
  // everything else
574
574
  callbacks: lt(),
575
- dirty: o,
575
+ dirty: s,
576
576
  skip_bound: !1,
577
577
  root: t.target || l.$$.root
578
578
  };
579
579
  a && a(u.root);
580
580
  let h = !1;
581
- if (u.ctx = n ? n(e, t.props || {}, (f, c, ...p) => {
582
- const d = p.length ? p[0] : c;
583
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && rr(e, f)), c;
584
- }) : [], u.update(), h = !0, k(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
581
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
582
+ const d = p.length ? p[0] : f;
583
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && rn(e, c)), f;
584
+ }) : [], u.update(), h = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
585
585
  if (t.hydrate) {
586
- const f = Fn(t.target);
587
- u.fragment && u.fragment.l(f), f.forEach($);
586
+ const c = Gr(t.target);
587
+ u.fragment && u.fragment.l(c), c.forEach($);
588
588
  } else
589
589
  u.fragment && u.fragment.c();
590
- t.intro && Zt(e.$$.fragment), tr(e, t.target, t.anchor), D();
590
+ t.intro && Zt(e.$$.fragment), en(e, t.target, t.anchor), D();
591
591
  }
592
592
  le(l);
593
593
  }
@@ -611,52 +611,52 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
611
611
  $$l = {};
612
612
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
613
613
  $$l_u = /* @__PURE__ */ new Map();
614
- constructor(e, t, n) {
615
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
614
+ constructor(e, t, r) {
615
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
616
616
  }
617
- addEventListener(e, t, n) {
617
+ addEventListener(e, t, r) {
618
618
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
619
- const r = this.$$c.$on(e, t);
620
- this.$$l_u.set(t, r);
619
+ const n = this.$$c.$on(e, t);
620
+ this.$$l_u.set(t, n);
621
621
  }
622
- super.addEventListener(e, t, n);
622
+ super.addEventListener(e, t, r);
623
623
  }
624
- removeEventListener(e, t, n) {
625
- if (super.removeEventListener(e, t, n), this.$$c) {
626
- const r = this.$$l_u.get(t);
627
- r && (r(), this.$$l_u.delete(t));
624
+ removeEventListener(e, t, r) {
625
+ if (super.removeEventListener(e, t, r), this.$$c) {
626
+ const n = this.$$l_u.get(t);
627
+ n && (n(), this.$$l_u.delete(t));
628
628
  }
629
629
  }
630
630
  async connectedCallback() {
631
631
  if (this.$$cn = !0, !this.$$c) {
632
632
  let e = function(i) {
633
633
  return () => {
634
- let s;
634
+ let o;
635
635
  return {
636
636
  c: function() {
637
- s = R("slot"), i !== "default" && X(s, "name", i);
637
+ o = R("slot"), i !== "default" && X(o, "name", i);
638
638
  },
639
639
  /**
640
640
  * @param {HTMLElement} target
641
641
  * @param {HTMLElement} [anchor]
642
642
  */
643
643
  m: function(l, u) {
644
- V(l, s, u);
644
+ V(l, o, u);
645
645
  },
646
646
  d: function(l) {
647
- l && $(s);
647
+ l && $(o);
648
648
  }
649
649
  };
650
650
  };
651
651
  };
652
652
  if (await Promise.resolve(), !this.$$cn || this.$$c)
653
653
  return;
654
- const t = {}, n = Xn(this);
654
+ const t = {}, r = Vr(this);
655
655
  for (const i of this.$$s)
656
- i in n && (t[i] = [e(i)]);
656
+ i in r && (t[i] = [e(i)]);
657
657
  for (const i of this.attributes) {
658
- const s = this.$$g_p(i.name);
659
- s in this.$$d || (this.$$d[s] = Ee(s, i.value, this.$$p_d, "toProp"));
658
+ const o = this.$$g_p(i.name);
659
+ o in this.$$d || (this.$$d[o] = Ee(o, i.value, this.$$p_d, "toProp"));
660
660
  }
661
661
  for (const i in this.$$p_d)
662
662
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -670,33 +670,33 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
670
670
  }
671
671
  }
672
672
  });
673
- const r = () => {
673
+ const n = () => {
674
674
  this.$$r = !0;
675
675
  for (const i in this.$$p_d)
676
676
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
677
- const s = Ee(
677
+ const o = Ee(
678
678
  i,
679
679
  this.$$d[i],
680
680
  this.$$p_d,
681
681
  "toAttribute"
682
682
  );
683
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
683
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
684
684
  }
685
685
  this.$$r = !1;
686
686
  };
687
- this.$$c.$$.after_update.push(r), r();
687
+ this.$$c.$$.after_update.push(n), n();
688
688
  for (const i in this.$$l)
689
- for (const s of this.$$l[i]) {
690
- const a = this.$$c.$on(i, s);
691
- this.$$l_u.set(s, a);
689
+ for (const o of this.$$l[i]) {
690
+ const a = this.$$c.$on(i, o);
691
+ this.$$l_u.set(o, a);
692
692
  }
693
693
  this.$$l = {};
694
694
  }
695
695
  }
696
696
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
697
697
  // and setting attributes through setAttribute etc, this is helpful
698
- attributeChangedCallback(e, t, n) {
699
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
698
+ attributeChangedCallback(e, t, r) {
699
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
700
700
  }
701
701
  disconnectedCallback() {
702
702
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -709,11 +709,11 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
709
709
  ) || e;
710
710
  }
711
711
  });
712
- function Ee(e, t, n, r) {
713
- const i = n[e]?.type;
714
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
712
+ function Ee(e, t, r, n) {
713
+ const i = r[e]?.type;
714
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
715
715
  return t;
716
- if (r === "toAttribute")
716
+ if (n === "toAttribute")
717
717
  switch (i) {
718
718
  case "Object":
719
719
  case "Array":
@@ -738,36 +738,36 @@ function Ee(e, t, n, r) {
738
738
  return t;
739
739
  }
740
740
  }
741
- function sr(e, t, n, r, i, s) {
741
+ function on(e, t, r, n, i, o) {
742
742
  let a = class extends Qt {
743
743
  constructor() {
744
- super(e, n, i), this.$$p_d = t;
744
+ super(e, r, i), this.$$p_d = t;
745
745
  }
746
746
  static get observedAttributes() {
747
747
  return Object.keys(t).map(
748
- (o) => (t[o].attribute || o).toLowerCase()
748
+ (s) => (t[s].attribute || s).toLowerCase()
749
749
  );
750
750
  }
751
751
  };
752
- return Object.keys(t).forEach((o) => {
753
- Object.defineProperty(a.prototype, o, {
752
+ return Object.keys(t).forEach((s) => {
753
+ Object.defineProperty(a.prototype, s, {
754
754
  get() {
755
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
755
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
756
756
  },
757
757
  set(l) {
758
- l = Ee(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
758
+ l = Ee(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
759
759
  }
760
760
  });
761
- }), r.forEach((o) => {
762
- Object.defineProperty(a.prototype, o, {
761
+ }), n.forEach((s) => {
762
+ Object.defineProperty(a.prototype, s, {
763
763
  get() {
764
- return this.$$c?.[o];
764
+ return this.$$c?.[s];
765
765
  }
766
766
  });
767
767
  }), e.element = /** @type {any} */
768
768
  a, a;
769
769
  }
770
- class or {
770
+ class sn {
771
771
  /**
772
772
  * ### PRIVATE API
773
773
  *
@@ -786,7 +786,7 @@ class or {
786
786
  $$set = void 0;
787
787
  /** @returns {void} */
788
788
  $destroy() {
789
- nr(this, 1), this.$destroy = B;
789
+ tn(this, 1), this.$destroy = B;
790
790
  }
791
791
  /**
792
792
  * @template {Extract<keyof Events, string>} K
@@ -794,13 +794,13 @@ class or {
794
794
  * @param {((e: Events[K]) => void) | null | undefined} callback
795
795
  * @returns {() => void}
796
796
  */
797
- $on(t, n) {
798
- if (!de(n))
797
+ $on(t, r) {
798
+ if (!de(r))
799
799
  return B;
800
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
801
- return r.push(n), () => {
802
- const i = r.indexOf(n);
803
- i !== -1 && r.splice(i, 1);
800
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
801
+ return n.push(r), () => {
802
+ const i = n.indexOf(r);
803
+ i !== -1 && n.splice(i, 1);
804
804
  };
805
805
  }
806
806
  /**
@@ -808,98 +808,98 @@ class or {
808
808
  * @returns {void}
809
809
  */
810
810
  $set(t) {
811
- this.$$set && !Cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
811
+ this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
812
812
  }
813
813
  }
814
- const ar = "4";
815
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ar);
814
+ const an = "4";
815
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
816
816
  var Xe = function(e, t) {
817
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
818
- n.__proto__ = r;
819
- } || function(n, r) {
820
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
817
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
818
+ r.__proto__ = n;
819
+ } || function(r, n) {
820
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
821
821
  }, Xe(e, t);
822
822
  };
823
823
  function F(e, t) {
824
824
  if (typeof t != "function" && t !== null)
825
825
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
826
826
  Xe(e, t);
827
- function n() {
827
+ function r() {
828
828
  this.constructor = e;
829
829
  }
830
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
830
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
831
831
  }
832
832
  var v = function() {
833
833
  return v = Object.assign || function(t) {
834
- for (var n, r = 1, i = arguments.length; r < i; r++) {
835
- n = arguments[r];
836
- for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
834
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
835
+ r = arguments[n];
836
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
837
837
  }
838
838
  return t;
839
839
  }, v.apply(this, arguments);
840
840
  };
841
- function ur(e, t) {
842
- var n = {};
843
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
841
+ function un(e, t) {
842
+ var r = {};
843
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
844
844
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
845
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
846
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
847
- return n;
845
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
846
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
847
+ return r;
848
848
  }
849
849
  function We(e) {
850
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
851
- if (n) return n.call(e);
850
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
851
+ if (r) return r.call(e);
852
852
  if (e && typeof e.length == "number") return {
853
853
  next: function() {
854
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
854
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
855
855
  }
856
856
  };
857
857
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
858
858
  }
859
859
  function ze(e, t) {
860
- var n = typeof Symbol == "function" && e[Symbol.iterator];
861
- if (!n) return e;
862
- var r = n.call(e), i, s = [], a;
860
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
861
+ if (!r) return e;
862
+ var n = r.call(e), i, o = [], a;
863
863
  try {
864
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) s.push(i.value);
865
- } catch (o) {
866
- a = { error: o };
864
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
865
+ } catch (s) {
866
+ a = { error: s };
867
867
  } finally {
868
868
  try {
869
- i && !i.done && (n = r.return) && n.call(r);
869
+ i && !i.done && (r = n.return) && r.call(n);
870
870
  } finally {
871
871
  if (a) throw a.error;
872
872
  }
873
873
  }
874
- return s;
874
+ return o;
875
875
  }
876
- function K(e, t, n) {
877
- if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
878
- (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
879
- return e.concat(s || Array.prototype.slice.call(t));
876
+ function K(e, t, r) {
877
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
878
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
879
+ return e.concat(o || Array.prototype.slice.call(t));
880
880
  }
881
881
  function G(e) {
882
882
  return typeof e == "function";
883
883
  }
884
884
  function Jt(e) {
885
- var t = function(r) {
886
- Error.call(r), r.stack = new Error().stack;
887
- }, n = e(t);
888
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
885
+ var t = function(n) {
886
+ Error.call(n), n.stack = new Error().stack;
887
+ }, r = e(t);
888
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
889
889
  }
890
890
  var $e = Jt(function(e) {
891
- return function(n) {
892
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
893
- ` + n.map(function(r, i) {
894
- return i + 1 + ") " + r.toString();
891
+ return function(r) {
892
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
893
+ ` + r.map(function(n, i) {
894
+ return i + 1 + ") " + n.toString();
895
895
  }).join(`
896
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
896
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
897
897
  };
898
898
  });
899
899
  function qe(e, t) {
900
900
  if (e) {
901
- var n = e.indexOf(t);
902
- 0 <= n && e.splice(n, 1);
901
+ var r = e.indexOf(t);
902
+ 0 <= r && e.splice(r, 1);
903
903
  }
904
904
  }
905
905
  var Oe = function() {
@@ -907,14 +907,14 @@ var Oe = function() {
907
907
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
908
908
  }
909
909
  return e.prototype.unsubscribe = function() {
910
- var t, n, r, i, s;
910
+ var t, r, n, i, o;
911
911
  if (!this.closed) {
912
912
  this.closed = !0;
913
913
  var a = this._parentage;
914
914
  if (a)
915
915
  if (this._parentage = null, Array.isArray(a))
916
916
  try {
917
- for (var o = We(a), l = o.next(); !l.done; l = o.next()) {
917
+ for (var s = We(a), l = s.next(); !l.done; l = s.next()) {
918
918
  var u = l.value;
919
919
  u.remove(this);
920
920
  }
@@ -922,7 +922,7 @@ var Oe = function() {
922
922
  t = { error: m };
923
923
  } finally {
924
924
  try {
925
- l && !l.done && (n = o.return) && n.call(o);
925
+ l && !l.done && (r = s.return) && r.call(s);
926
926
  } finally {
927
927
  if (t) throw t.error;
928
928
  }
@@ -934,35 +934,35 @@ var Oe = function() {
934
934
  try {
935
935
  h();
936
936
  } catch (m) {
937
- s = m instanceof $e ? m.errors : [m];
937
+ o = m instanceof $e ? m.errors : [m];
938
938
  }
939
- var f = this._finalizers;
940
- if (f) {
939
+ var c = this._finalizers;
940
+ if (c) {
941
941
  this._finalizers = null;
942
942
  try {
943
- for (var c = We(f), p = c.next(); !p.done; p = c.next()) {
943
+ for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
944
944
  var d = p.value;
945
945
  try {
946
946
  pt(d);
947
947
  } catch (m) {
948
- s = s ?? [], m instanceof $e ? s = K(K([], ze(s)), ze(m.errors)) : s.push(m);
948
+ o = o ?? [], m instanceof $e ? o = K(K([], ze(o)), ze(m.errors)) : o.push(m);
949
949
  }
950
950
  }
951
951
  } catch (m) {
952
- r = { error: m };
952
+ n = { error: m };
953
953
  } finally {
954
954
  try {
955
- p && !p.done && (i = c.return) && i.call(c);
955
+ p && !p.done && (i = f.return) && i.call(f);
956
956
  } finally {
957
- if (r) throw r.error;
957
+ if (n) throw n.error;
958
958
  }
959
959
  }
960
960
  }
961
- if (s)
962
- throw new $e(s);
961
+ if (o)
962
+ throw new $e(o);
963
963
  }
964
964
  }, e.prototype.add = function(t) {
965
- var n;
965
+ var r;
966
966
  if (t && t !== this)
967
967
  if (this.closed)
968
968
  pt(t);
@@ -972,20 +972,20 @@ var Oe = function() {
972
972
  return;
973
973
  t._addParent(this);
974
974
  }
975
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
975
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
976
976
  }
977
977
  }, e.prototype._hasParent = function(t) {
978
- var n = this._parentage;
979
- return n === t || Array.isArray(n) && n.includes(t);
978
+ var r = this._parentage;
979
+ return r === t || Array.isArray(r) && r.includes(t);
980
980
  }, e.prototype._addParent = function(t) {
981
- var n = this._parentage;
982
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
981
+ var r = this._parentage;
982
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
983
983
  }, e.prototype._removeParent = function(t) {
984
- var n = this._parentage;
985
- n === t ? this._parentage = null : Array.isArray(n) && qe(n, t);
984
+ var r = this._parentage;
985
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
986
986
  }, e.prototype.remove = function(t) {
987
- var n = this._finalizers;
988
- n && qe(n, t), t instanceof e && t._removeParent(this);
987
+ var r = this._finalizers;
988
+ r && qe(r, t), t instanceof e && t._removeParent(this);
989
989
  }, e.EMPTY = function() {
990
990
  var t = new e();
991
991
  return t.closed = !0, t;
@@ -997,21 +997,21 @@ function Kt(e) {
997
997
  function pt(e) {
998
998
  G(e) ? e() : e.unsubscribe();
999
999
  }
1000
- var lr = {
1000
+ var ln = {
1001
1001
  Promise: void 0
1002
- }, hr = {
1002
+ }, hn = {
1003
1003
  setTimeout: function(e, t) {
1004
- for (var n = [], r = 2; r < arguments.length; r++)
1005
- n[r - 2] = arguments[r];
1006
- return setTimeout.apply(void 0, K([e, t], ze(n)));
1004
+ for (var r = [], n = 2; n < arguments.length; n++)
1005
+ r[n - 2] = arguments[n];
1006
+ return setTimeout.apply(void 0, K([e, t], ze(r)));
1007
1007
  },
1008
1008
  clearTimeout: function(e) {
1009
1009
  return clearTimeout(e);
1010
1010
  },
1011
1011
  delegate: void 0
1012
1012
  };
1013
- function fr(e) {
1014
- hr.setTimeout(function() {
1013
+ function cn(e) {
1014
+ hn.setTimeout(function() {
1015
1015
  throw e;
1016
1016
  });
1017
1017
  }
@@ -1020,27 +1020,27 @@ function mt() {
1020
1020
  function xe(e) {
1021
1021
  e();
1022
1022
  }
1023
- var en = function(e) {
1023
+ var er = function(e) {
1024
1024
  F(t, e);
1025
- function t(n) {
1026
- var r = e.call(this) || this;
1027
- return r.isStopped = !1, n ? (r.destination = n, Kt(n) && n.add(r)) : r.destination = pr, r;
1025
+ function t(r) {
1026
+ var n = e.call(this) || this;
1027
+ return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = pn, n;
1028
1028
  }
1029
- return t.create = function(n, r, i) {
1030
- return new Ze(n, r, i);
1031
- }, t.prototype.next = function(n) {
1032
- this.isStopped || this._next(n);
1033
- }, t.prototype.error = function(n) {
1034
- this.isStopped || (this.isStopped = !0, this._error(n));
1029
+ return t.create = function(r, n, i) {
1030
+ return new Ze(r, n, i);
1031
+ }, t.prototype.next = function(r) {
1032
+ this.isStopped || this._next(r);
1033
+ }, t.prototype.error = function(r) {
1034
+ this.isStopped || (this.isStopped = !0, this._error(r));
1035
1035
  }, t.prototype.complete = function() {
1036
1036
  this.isStopped || (this.isStopped = !0, this._complete());
1037
1037
  }, t.prototype.unsubscribe = function() {
1038
1038
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
1039
- }, t.prototype._next = function(n) {
1040
- this.destination.next(n);
1041
- }, t.prototype._error = function(n) {
1039
+ }, t.prototype._next = function(r) {
1040
+ this.destination.next(r);
1041
+ }, t.prototype._error = function(r) {
1042
1042
  try {
1043
- this.destination.error(n);
1043
+ this.destination.error(r);
1044
1044
  } finally {
1045
1045
  this.unsubscribe();
1046
1046
  }
@@ -1051,25 +1051,25 @@ var en = function(e) {
1051
1051
  this.unsubscribe();
1052
1052
  }
1053
1053
  }, t;
1054
- }(Oe), cr = function() {
1054
+ }(Oe), fn = function() {
1055
1055
  function e(t) {
1056
1056
  this.partialObserver = t;
1057
1057
  }
1058
1058
  return e.prototype.next = function(t) {
1059
- var n = this.partialObserver;
1060
- if (n.next)
1059
+ var r = this.partialObserver;
1060
+ if (r.next)
1061
1061
  try {
1062
- n.next(t);
1063
- } catch (r) {
1064
- ge(r);
1062
+ r.next(t);
1063
+ } catch (n) {
1064
+ ge(n);
1065
1065
  }
1066
1066
  }, e.prototype.error = function(t) {
1067
- var n = this.partialObserver;
1068
- if (n.error)
1067
+ var r = this.partialObserver;
1068
+ if (r.error)
1069
1069
  try {
1070
- n.error(t);
1071
- } catch (r) {
1072
- ge(r);
1070
+ r.error(t);
1071
+ } catch (n) {
1072
+ ge(n);
1073
1073
  }
1074
1074
  else
1075
1075
  ge(t);
@@ -1078,44 +1078,44 @@ var en = function(e) {
1078
1078
  if (t.complete)
1079
1079
  try {
1080
1080
  t.complete();
1081
- } catch (n) {
1082
- ge(n);
1081
+ } catch (r) {
1082
+ ge(r);
1083
1083
  }
1084
1084
  }, e;
1085
1085
  }(), Ze = function(e) {
1086
1086
  F(t, e);
1087
- function t(n, r, i) {
1088
- var s = e.call(this) || this, a;
1089
- return G(n) || !n ? a = {
1090
- next: n ?? void 0,
1091
- error: r ?? void 0,
1087
+ function t(r, n, i) {
1088
+ var o = e.call(this) || this, a;
1089
+ return G(r) || !r ? a = {
1090
+ next: r ?? void 0,
1091
+ error: n ?? void 0,
1092
1092
  complete: i ?? void 0
1093
- } : a = n, s.destination = new cr(a), s;
1093
+ } : a = r, o.destination = new fn(a), o;
1094
1094
  }
1095
1095
  return t;
1096
- }(en);
1096
+ }(er);
1097
1097
  function ge(e) {
1098
- fr(e);
1098
+ cn(e);
1099
1099
  }
1100
- function dr(e) {
1100
+ function dn(e) {
1101
1101
  throw e;
1102
1102
  }
1103
- var pr = {
1103
+ var pn = {
1104
1104
  closed: !0,
1105
1105
  next: mt,
1106
- error: dr,
1106
+ error: dn,
1107
1107
  complete: mt
1108
- }, mr = function() {
1108
+ }, mn = function() {
1109
1109
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1110
1110
  }();
1111
- function br(e) {
1111
+ function bn(e) {
1112
1112
  return e;
1113
1113
  }
1114
- function yr(e) {
1115
- return e.length === 0 ? br : e.length === 1 ? e[0] : function(n) {
1116
- return e.reduce(function(r, i) {
1117
- return i(r);
1118
- }, n);
1114
+ function yn(e) {
1115
+ return e.length === 0 ? bn : e.length === 1 ? e[0] : function(r) {
1116
+ return e.reduce(function(n, i) {
1117
+ return i(n);
1118
+ }, r);
1119
1119
  };
1120
1120
  }
1121
1121
  var bt = function() {
@@ -1123,55 +1123,55 @@ var bt = function() {
1123
1123
  t && (this._subscribe = t);
1124
1124
  }
1125
1125
  return e.prototype.lift = function(t) {
1126
- var n = new e();
1127
- return n.source = this, n.operator = t, n;
1128
- }, e.prototype.subscribe = function(t, n, r) {
1129
- var i = this, s = _r(t) ? t : new Ze(t, n, r);
1126
+ var r = new e();
1127
+ return r.source = this, r.operator = t, r;
1128
+ }, e.prototype.subscribe = function(t, r, n) {
1129
+ var i = this, o = _n(t) ? t : new Ze(t, r, n);
1130
1130
  return xe(function() {
1131
- var a = i, o = a.operator, l = a.source;
1132
- s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1133
- }), s;
1131
+ var a = i, s = a.operator, l = a.source;
1132
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1133
+ }), o;
1134
1134
  }, e.prototype._trySubscribe = function(t) {
1135
1135
  try {
1136
1136
  return this._subscribe(t);
1137
- } catch (n) {
1138
- t.error(n);
1137
+ } catch (r) {
1138
+ t.error(r);
1139
1139
  }
1140
- }, e.prototype.forEach = function(t, n) {
1141
- var r = this;
1142
- return n = yt(n), new n(function(i, s) {
1140
+ }, e.prototype.forEach = function(t, r) {
1141
+ var n = this;
1142
+ return r = yt(r), new r(function(i, o) {
1143
1143
  var a = new Ze({
1144
- next: function(o) {
1144
+ next: function(s) {
1145
1145
  try {
1146
- t(o);
1146
+ t(s);
1147
1147
  } catch (l) {
1148
- s(l), a.unsubscribe();
1148
+ o(l), a.unsubscribe();
1149
1149
  }
1150
1150
  },
1151
- error: s,
1151
+ error: o,
1152
1152
  complete: i
1153
1153
  });
1154
- r.subscribe(a);
1154
+ n.subscribe(a);
1155
1155
  });
1156
1156
  }, e.prototype._subscribe = function(t) {
1157
- var n;
1158
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1159
- }, e.prototype[mr] = function() {
1157
+ var r;
1158
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1159
+ }, e.prototype[mn] = function() {
1160
1160
  return this;
1161
1161
  }, e.prototype.pipe = function() {
1162
- for (var t = [], n = 0; n < arguments.length; n++)
1163
- t[n] = arguments[n];
1164
- return yr(t)(this);
1162
+ for (var t = [], r = 0; r < arguments.length; r++)
1163
+ t[r] = arguments[r];
1164
+ return yn(t)(this);
1165
1165
  }, e.prototype.toPromise = function(t) {
1166
- var n = this;
1167
- return t = yt(t), new t(function(r, i) {
1168
- var s;
1169
- n.subscribe(function(a) {
1170
- return s = a;
1166
+ var r = this;
1167
+ return t = yt(t), new t(function(n, i) {
1168
+ var o;
1169
+ r.subscribe(function(a) {
1170
+ return o = a;
1171
1171
  }, function(a) {
1172
1172
  return i(a);
1173
1173
  }, function() {
1174
- return r(s);
1174
+ return n(o);
1175
1175
  });
1176
1176
  });
1177
1177
  }, e.create = function(t) {
@@ -1180,164 +1180,164 @@ var bt = function() {
1180
1180
  }();
1181
1181
  function yt(e) {
1182
1182
  var t;
1183
- return (t = e ?? lr.Promise) !== null && t !== void 0 ? t : Promise;
1183
+ return (t = e ?? ln.Promise) !== null && t !== void 0 ? t : Promise;
1184
1184
  }
1185
- function gr(e) {
1185
+ function gn(e) {
1186
1186
  return e && G(e.next) && G(e.error) && G(e.complete);
1187
1187
  }
1188
- function _r(e) {
1189
- return e && e instanceof en || gr(e) && Kt(e);
1188
+ function _n(e) {
1189
+ return e && e instanceof er || gn(e) && Kt(e);
1190
1190
  }
1191
- var vr = Jt(function(e) {
1191
+ var vn = Jt(function(e) {
1192
1192
  return function() {
1193
1193
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1194
1194
  };
1195
- }), tn = function(e) {
1195
+ }), tr = function(e) {
1196
1196
  F(t, e);
1197
1197
  function t() {
1198
- var n = e.call(this) || this;
1199
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1198
+ var r = e.call(this) || this;
1199
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1200
1200
  }
1201
- return t.prototype.lift = function(n) {
1202
- var r = new gt(this, this);
1203
- return r.operator = n, r;
1201
+ return t.prototype.lift = function(r) {
1202
+ var n = new gt(this, this);
1203
+ return n.operator = r, n;
1204
1204
  }, t.prototype._throwIfClosed = function() {
1205
1205
  if (this.closed)
1206
- throw new vr();
1207
- }, t.prototype.next = function(n) {
1208
- var r = this;
1206
+ throw new vn();
1207
+ }, t.prototype.next = function(r) {
1208
+ var n = this;
1209
1209
  xe(function() {
1210
- var i, s;
1211
- if (r._throwIfClosed(), !r.isStopped) {
1212
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
1210
+ var i, o;
1211
+ if (n._throwIfClosed(), !n.isStopped) {
1212
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
1213
1213
  try {
1214
- for (var a = We(r.currentObservers), o = a.next(); !o.done; o = a.next()) {
1215
- var l = o.value;
1216
- l.next(n);
1214
+ for (var a = We(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1215
+ var l = s.value;
1216
+ l.next(r);
1217
1217
  }
1218
1218
  } catch (u) {
1219
1219
  i = { error: u };
1220
1220
  } finally {
1221
1221
  try {
1222
- o && !o.done && (s = a.return) && s.call(a);
1222
+ s && !s.done && (o = a.return) && o.call(a);
1223
1223
  } finally {
1224
1224
  if (i) throw i.error;
1225
1225
  }
1226
1226
  }
1227
1227
  }
1228
1228
  });
1229
- }, t.prototype.error = function(n) {
1230
- var r = this;
1229
+ }, t.prototype.error = function(r) {
1230
+ var n = this;
1231
1231
  xe(function() {
1232
- if (r._throwIfClosed(), !r.isStopped) {
1233
- r.hasError = r.isStopped = !0, r.thrownError = n;
1234
- for (var i = r.observers; i.length; )
1235
- i.shift().error(n);
1232
+ if (n._throwIfClosed(), !n.isStopped) {
1233
+ n.hasError = n.isStopped = !0, n.thrownError = r;
1234
+ for (var i = n.observers; i.length; )
1235
+ i.shift().error(r);
1236
1236
  }
1237
1237
  });
1238
1238
  }, t.prototype.complete = function() {
1239
- var n = this;
1239
+ var r = this;
1240
1240
  xe(function() {
1241
- if (n._throwIfClosed(), !n.isStopped) {
1242
- n.isStopped = !0;
1243
- for (var r = n.observers; r.length; )
1244
- r.shift().complete();
1241
+ if (r._throwIfClosed(), !r.isStopped) {
1242
+ r.isStopped = !0;
1243
+ for (var n = r.observers; n.length; )
1244
+ n.shift().complete();
1245
1245
  }
1246
1246
  });
1247
1247
  }, t.prototype.unsubscribe = function() {
1248
1248
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1249
1249
  }, Object.defineProperty(t.prototype, "observed", {
1250
1250
  get: function() {
1251
- var n;
1252
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1251
+ var r;
1252
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1253
1253
  },
1254
1254
  enumerable: !1,
1255
1255
  configurable: !0
1256
- }), t.prototype._trySubscribe = function(n) {
1257
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1258
- }, t.prototype._subscribe = function(n) {
1259
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1260
- }, t.prototype._innerSubscribe = function(n) {
1261
- var r = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1262
- return s || a ? Yt : (this.currentObservers = null, o.push(n), new Oe(function() {
1263
- r.currentObservers = null, qe(o, n);
1256
+ }), t.prototype._trySubscribe = function(r) {
1257
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1258
+ }, t.prototype._subscribe = function(r) {
1259
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1260
+ }, t.prototype._innerSubscribe = function(r) {
1261
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1262
+ return o || a ? Yt : (this.currentObservers = null, s.push(r), new Oe(function() {
1263
+ n.currentObservers = null, qe(s, r);
1264
1264
  }));
1265
- }, t.prototype._checkFinalizedStatuses = function(n) {
1266
- var r = this, i = r.hasError, s = r.thrownError, a = r.isStopped;
1267
- i ? n.error(s) : a && n.complete();
1265
+ }, t.prototype._checkFinalizedStatuses = function(r) {
1266
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1267
+ i ? r.error(o) : a && r.complete();
1268
1268
  }, t.prototype.asObservable = function() {
1269
- var n = new bt();
1270
- return n.source = this, n;
1271
- }, t.create = function(n, r) {
1272
- return new gt(n, r);
1269
+ var r = new bt();
1270
+ return r.source = this, r;
1271
+ }, t.create = function(r, n) {
1272
+ return new gt(r, n);
1273
1273
  }, t;
1274
1274
  }(bt), gt = function(e) {
1275
1275
  F(t, e);
1276
- function t(n, r) {
1276
+ function t(r, n) {
1277
1277
  var i = e.call(this) || this;
1278
- return i.destination = n, i.source = r, i;
1278
+ return i.destination = r, i.source = n, i;
1279
1279
  }
1280
- return t.prototype.next = function(n) {
1281
- var r, i;
1282
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1283
- }, t.prototype.error = function(n) {
1284
- var r, i;
1285
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1280
+ return t.prototype.next = function(r) {
1281
+ var n, i;
1282
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1283
+ }, t.prototype.error = function(r) {
1284
+ var n, i;
1285
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1286
1286
  }, t.prototype.complete = function() {
1287
- var n, r;
1288
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1289
- }, t.prototype._subscribe = function(n) {
1290
- var r, i;
1291
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Yt;
1287
+ var r, n;
1288
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1289
+ }, t.prototype._subscribe = function(r) {
1290
+ var n, i;
1291
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
1292
1292
  }, t;
1293
- }(tn), nn = {
1293
+ }(tr), rr = {
1294
1294
  now: function() {
1295
- return (nn.delegate || Date).now();
1295
+ return (rr.delegate || Date).now();
1296
1296
  },
1297
1297
  delegate: void 0
1298
- }, Er = function(e) {
1298
+ }, En = function(e) {
1299
1299
  F(t, e);
1300
- function t(n, r, i) {
1301
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = nn);
1302
- var s = e.call(this) || this;
1303
- return s._bufferSize = n, s._windowTime = r, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = r === 1 / 0, s._bufferSize = Math.max(1, n), s._windowTime = Math.max(1, r), s;
1300
+ function t(r, n, i) {
1301
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
1302
+ var o = e.call(this) || this;
1303
+ 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;
1304
1304
  }
1305
- return t.prototype.next = function(n) {
1306
- var r = this, i = r.isStopped, s = r._buffer, a = r._infiniteTimeWindow, o = r._timestampProvider, l = r._windowTime;
1307
- i || (s.push(n), !a && s.push(o.now() + l)), this._trimBuffer(), e.prototype.next.call(this, n);
1308
- }, t.prototype._subscribe = function(n) {
1305
+ return t.prototype.next = function(r) {
1306
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1307
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1308
+ }, t.prototype._subscribe = function(r) {
1309
1309
  this._throwIfClosed(), this._trimBuffer();
1310
- for (var r = this._innerSubscribe(n), i = this, s = i._infiniteTimeWindow, a = i._buffer, o = a.slice(), l = 0; l < o.length && !n.closed; l += s ? 1 : 2)
1311
- n.next(o[l]);
1312
- return this._checkFinalizedStatuses(n), r;
1310
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1311
+ r.next(s[l]);
1312
+ return this._checkFinalizedStatuses(r), n;
1313
1313
  }, t.prototype._trimBuffer = function() {
1314
- var n = this, r = n._bufferSize, i = n._timestampProvider, s = n._buffer, a = n._infiniteTimeWindow, o = (a ? 1 : 2) * r;
1315
- if (r < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
1316
- for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1314
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1315
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1316
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1317
1317
  u = h;
1318
- u && s.splice(0, u + 1);
1318
+ u && o.splice(0, u + 1);
1319
1319
  }
1320
1320
  }, t;
1321
- }(tn);
1322
- const _t = [], vt = {}, xr = (e, t = 0) => {
1321
+ }(tr);
1322
+ const _t = [], vt = {}, xn = (e, t = 0) => {
1323
1323
  if (_t.indexOf(e) == -1) {
1324
- const n = new Er(t);
1325
- vt[e] = n, _t.push(e);
1324
+ const r = new En(t);
1325
+ vt[e] = r, _t.push(e);
1326
1326
  }
1327
1327
  return vt[e];
1328
1328
  }, Z = [];
1329
- function wr(e, t) {
1329
+ function wn(e, t) {
1330
1330
  return {
1331
1331
  subscribe: Ie(e, t).subscribe
1332
1332
  };
1333
1333
  }
1334
1334
  function Ie(e, t = B) {
1335
- let n;
1336
- const r = /* @__PURE__ */ new Set();
1337
- function i(o) {
1338
- if (Gt(e, o) && (e = o, n)) {
1335
+ let r;
1336
+ const n = /* @__PURE__ */ new Set();
1337
+ function i(s) {
1338
+ if (Gt(e, s) && (e = s, r)) {
1339
1339
  const l = !Z.length;
1340
- for (const u of r)
1340
+ for (const u of n)
1341
1341
  u[1](), Z.push(u, e);
1342
1342
  if (l) {
1343
1343
  for (let u = 0; u < Z.length; u += 2)
@@ -1346,153 +1346,153 @@ function Ie(e, t = B) {
1346
1346
  }
1347
1347
  }
1348
1348
  }
1349
- function s(o) {
1350
- i(o(e));
1349
+ function o(s) {
1350
+ i(s(e));
1351
1351
  }
1352
- function a(o, l = B) {
1353
- const u = [o, l];
1354
- return r.add(u), r.size === 1 && (n = t(i, s) || B), o(e), () => {
1355
- r.delete(u), r.size === 0 && n && (n(), n = null);
1352
+ function a(s, l = B) {
1353
+ const u = [s, l];
1354
+ return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1355
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1356
1356
  };
1357
1357
  }
1358
- return { set: i, update: s, subscribe: a };
1358
+ return { set: i, update: o, subscribe: a };
1359
1359
  }
1360
- function ie(e, t, n) {
1361
- const r = !Array.isArray(e), i = r ? [e] : e;
1360
+ function ie(e, t, r) {
1361
+ const n = !Array.isArray(e), i = n ? [e] : e;
1362
1362
  if (!i.every(Boolean))
1363
1363
  throw new Error("derived() expects stores as input, got a falsy value");
1364
- const s = t.length < 2;
1365
- return wr(n, (a, o) => {
1364
+ const o = t.length < 2;
1365
+ return wn(r, (a, s) => {
1366
1366
  let l = !1;
1367
1367
  const u = [];
1368
- let h = 0, f = B;
1369
- const c = () => {
1368
+ let h = 0, c = B;
1369
+ const f = () => {
1370
1370
  if (h)
1371
1371
  return;
1372
- f();
1373
- const d = t(r ? u[0] : u, a, o);
1374
- s ? a(d) : f = de(d) ? d : B;
1372
+ c();
1373
+ const d = t(n ? u[0] : u, a, s);
1374
+ o ? a(d) : c = de(d) ? d : B;
1375
1375
  }, p = i.map(
1376
1376
  (d, m) => Ft(
1377
1377
  d,
1378
1378
  (E) => {
1379
- u[m] = E, h &= ~(1 << m), l && c();
1379
+ u[m] = E, h &= ~(1 << m), l && f();
1380
1380
  },
1381
1381
  () => {
1382
1382
  h |= 1 << m;
1383
1383
  }
1384
1384
  )
1385
1385
  );
1386
- return l = !0, c(), function() {
1387
- k(p), f(), l = !1;
1386
+ return l = !0, f(), function() {
1387
+ k(p), c(), l = !1;
1388
1388
  };
1389
1389
  });
1390
1390
  }
1391
- function Sr(e) {
1391
+ function Sn(e) {
1392
1392
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1393
1393
  }
1394
- var Tr = function(t) {
1395
- return Hr(t) && !Pr(t);
1394
+ var Tn = function(t) {
1395
+ return Hn(t) && !Pn(t);
1396
1396
  };
1397
- function Hr(e) {
1397
+ function Hn(e) {
1398
1398
  return !!e && typeof e == "object";
1399
1399
  }
1400
- function Pr(e) {
1400
+ function Pn(e) {
1401
1401
  var t = Object.prototype.toString.call(e);
1402
- return t === "[object RegExp]" || t === "[object Date]" || Or(e);
1402
+ return t === "[object RegExp]" || t === "[object Date]" || On(e);
1403
1403
  }
1404
- var Ar = typeof Symbol == "function" && Symbol.for, Br = Ar ? Symbol.for("react.element") : 60103;
1405
- function Or(e) {
1406
- return e.$$typeof === Br;
1404
+ var An = typeof Symbol == "function" && Symbol.for, Bn = An ? Symbol.for("react.element") : 60103;
1405
+ function On(e) {
1406
+ return e.$$typeof === Bn;
1407
1407
  }
1408
- function Ir(e) {
1408
+ function In(e) {
1409
1409
  return Array.isArray(e) ? [] : {};
1410
1410
  }
1411
- function fe(e, t) {
1412
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Ir(e), e, t) : e;
1411
+ function ce(e, t) {
1412
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(In(e), e, t) : e;
1413
1413
  }
1414
- function Cr(e, t, n) {
1415
- return e.concat(t).map(function(r) {
1416
- return fe(r, n);
1414
+ function Cn(e, t, r) {
1415
+ return e.concat(t).map(function(n) {
1416
+ return ce(n, r);
1417
1417
  });
1418
1418
  }
1419
- function Lr(e, t) {
1419
+ function Ln(e, t) {
1420
1420
  if (!t.customMerge)
1421
1421
  return ee;
1422
- var n = t.customMerge(e);
1423
- return typeof n == "function" ? n : ee;
1422
+ var r = t.customMerge(e);
1423
+ return typeof r == "function" ? r : ee;
1424
1424
  }
1425
- function Nr(e) {
1425
+ function Nn(e) {
1426
1426
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1427
1427
  return Object.propertyIsEnumerable.call(e, t);
1428
1428
  }) : [];
1429
1429
  }
1430
1430
  function Et(e) {
1431
- return Object.keys(e).concat(Nr(e));
1431
+ return Object.keys(e).concat(Nn(e));
1432
1432
  }
1433
- function rn(e, t) {
1433
+ function nr(e, t) {
1434
1434
  try {
1435
1435
  return t in e;
1436
1436
  } catch {
1437
1437
  return !1;
1438
1438
  }
1439
1439
  }
1440
- function Mr(e, t) {
1441
- return rn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1440
+ function Mn(e, t) {
1441
+ return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1442
1442
  }
1443
- function Rr(e, t, n) {
1444
- var r = {};
1445
- return n.isMergeableObject(e) && Et(e).forEach(function(i) {
1446
- r[i] = fe(e[i], n);
1443
+ function Rn(e, t, r) {
1444
+ var n = {};
1445
+ return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1446
+ n[i] = ce(e[i], r);
1447
1447
  }), Et(t).forEach(function(i) {
1448
- Mr(e, i) || (rn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Lr(i, n)(e[i], t[i], n) : r[i] = fe(t[i], n));
1449
- }), r;
1448
+ Mn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1449
+ }), n;
1450
1450
  }
1451
- function ee(e, t, n) {
1452
- n = n || {}, n.arrayMerge = n.arrayMerge || Cr, n.isMergeableObject = n.isMergeableObject || Tr, n.cloneUnlessOtherwiseSpecified = fe;
1453
- var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
1454
- return s ? r ? n.arrayMerge(e, t, n) : Rr(e, t, n) : fe(t, n);
1451
+ function ee(e, t, r) {
1452
+ r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = ce;
1453
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1454
+ return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : ce(t, r);
1455
1455
  }
1456
- ee.all = function(t, n) {
1456
+ ee.all = function(t, r) {
1457
1457
  if (!Array.isArray(t))
1458
1458
  throw new Error("first argument should be an array");
1459
- return t.reduce(function(r, i) {
1460
- return ee(r, i, n);
1459
+ return t.reduce(function(n, i) {
1460
+ return ee(n, i, r);
1461
1461
  }, {});
1462
1462
  };
1463
- var $r = ee, Dr = $r;
1464
- const Ur = /* @__PURE__ */ Sr(Dr);
1463
+ var $n = ee, Dn = $n;
1464
+ const Un = /* @__PURE__ */ Sn(Dn);
1465
1465
  function De(e, t) {
1466
- var n = t && t.cache ? t.cache : Wr, r = t && t.serializer ? t.serializer : Vr, i = t && t.strategy ? t.strategy : jr;
1466
+ var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
1467
1467
  return i(e, {
1468
- cache: n,
1469
- serializer: r
1468
+ cache: r,
1469
+ serializer: n
1470
1470
  });
1471
1471
  }
1472
- function Gr(e) {
1472
+ function Gn(e) {
1473
1473
  return e == null || typeof e == "number" || typeof e == "boolean";
1474
1474
  }
1475
- function Fr(e, t, n, r) {
1476
- var i = Gr(r) ? r : n(r), s = t.get(i);
1477
- return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
1475
+ function Fn(e, t, r, n) {
1476
+ var i = Gn(n) ? n : r(n), o = t.get(i);
1477
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1478
1478
  }
1479
- function sn(e, t, n) {
1480
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
1481
- return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
1479
+ function ir(e, t, r) {
1480
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1481
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1482
1482
  }
1483
- function on(e, t, n, r, i) {
1484
- return n.bind(t, e, r, i);
1483
+ function or(e, t, r, n, i) {
1484
+ return r.bind(t, e, n, i);
1485
1485
  }
1486
- function jr(e, t) {
1487
- var n = e.length === 1 ? Fr : sn;
1488
- return on(e, this, n, t.cache.create(), t.serializer);
1486
+ function jn(e, t) {
1487
+ var r = e.length === 1 ? Fn : ir;
1488
+ return or(e, this, r, t.cache.create(), t.serializer);
1489
1489
  }
1490
- function kr(e, t) {
1491
- return on(e, this, sn, t.cache.create(), t.serializer);
1490
+ function kn(e, t) {
1491
+ return or(e, this, ir, t.cache.create(), t.serializer);
1492
1492
  }
1493
- var Vr = function() {
1493
+ var Vn = function() {
1494
1494
  return JSON.stringify(arguments);
1495
- }, Xr = (
1495
+ }, Xn = (
1496
1496
  /** @class */
1497
1497
  function() {
1498
1498
  function e() {
@@ -1500,16 +1500,16 @@ var Vr = function() {
1500
1500
  }
1501
1501
  return e.prototype.get = function(t) {
1502
1502
  return this.cache[t];
1503
- }, e.prototype.set = function(t, n) {
1504
- this.cache[t] = n;
1503
+ }, e.prototype.set = function(t, r) {
1504
+ this.cache[t] = r;
1505
1505
  }, e;
1506
1506
  }()
1507
- ), Wr = {
1507
+ ), Wn = {
1508
1508
  create: function() {
1509
- return new Xr();
1509
+ return new Xn();
1510
1510
  }
1511
1511
  }, Ue = {
1512
- variadic: kr
1512
+ variadic: kn
1513
1513
  }, g;
1514
1514
  (function(e) {
1515
1515
  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";
@@ -1525,47 +1525,47 @@ var te;
1525
1525
  function xt(e) {
1526
1526
  return e.type === w.literal;
1527
1527
  }
1528
- function zr(e) {
1528
+ function zn(e) {
1529
1529
  return e.type === w.argument;
1530
1530
  }
1531
- function an(e) {
1531
+ function sr(e) {
1532
1532
  return e.type === w.number;
1533
1533
  }
1534
- function un(e) {
1534
+ function ar(e) {
1535
1535
  return e.type === w.date;
1536
1536
  }
1537
- function ln(e) {
1537
+ function ur(e) {
1538
1538
  return e.type === w.time;
1539
1539
  }
1540
- function hn(e) {
1540
+ function lr(e) {
1541
1541
  return e.type === w.select;
1542
1542
  }
1543
- function fn(e) {
1543
+ function hr(e) {
1544
1544
  return e.type === w.plural;
1545
1545
  }
1546
- function qr(e) {
1546
+ function qn(e) {
1547
1547
  return e.type === w.pound;
1548
1548
  }
1549
- function cn(e) {
1549
+ function cr(e) {
1550
1550
  return e.type === w.tag;
1551
1551
  }
1552
- function dn(e) {
1552
+ function fr(e) {
1553
1553
  return !!(e && typeof e == "object" && e.type === te.number);
1554
1554
  }
1555
1555
  function Qe(e) {
1556
1556
  return !!(e && typeof e == "object" && e.type === te.dateTime);
1557
1557
  }
1558
- var pn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
1559
- function Qr(e) {
1558
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zn = /(?:[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;
1559
+ function Qn(e) {
1560
1560
  var t = {};
1561
- return e.replace(Zr, function(n) {
1562
- var r = n.length;
1563
- switch (n[0]) {
1561
+ return e.replace(Zn, function(r) {
1562
+ var n = r.length;
1563
+ switch (r[0]) {
1564
1564
  case "G":
1565
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1565
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1566
1566
  break;
1567
1567
  case "y":
1568
- t.year = r === 2 ? "2-digit" : "numeric";
1568
+ t.year = n === 2 ? "2-digit" : "numeric";
1569
1569
  break;
1570
1570
  case "Y":
1571
1571
  case "u":
@@ -1577,30 +1577,30 @@ function Qr(e) {
1577
1577
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1578
1578
  case "M":
1579
1579
  case "L":
1580
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1580
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1581
1581
  break;
1582
1582
  case "w":
1583
1583
  case "W":
1584
1584
  throw new RangeError("`w/W` (week) patterns are not supported");
1585
1585
  case "d":
1586
- t.day = ["numeric", "2-digit"][r - 1];
1586
+ t.day = ["numeric", "2-digit"][n - 1];
1587
1587
  break;
1588
1588
  case "D":
1589
1589
  case "F":
1590
1590
  case "g":
1591
1591
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1592
1592
  case "E":
1593
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1593
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1594
1594
  break;
1595
1595
  case "e":
1596
- if (r < 4)
1596
+ if (n < 4)
1597
1597
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1598
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1598
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1599
1599
  break;
1600
1600
  case "c":
1601
- if (r < 4)
1601
+ if (n < 4)
1602
1602
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1603
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1603
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1604
1604
  break;
1605
1605
  case "a":
1606
1606
  t.hour12 = !0;
@@ -1609,32 +1609,32 @@ function Qr(e) {
1609
1609
  case "B":
1610
1610
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1611
1611
  case "h":
1612
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1612
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1613
1613
  break;
1614
1614
  case "H":
1615
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1615
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1616
1616
  break;
1617
1617
  case "K":
1618
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1618
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1619
1619
  break;
1620
1620
  case "k":
1621
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1621
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1622
1622
  break;
1623
1623
  case "j":
1624
1624
  case "J":
1625
1625
  case "C":
1626
1626
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1627
1627
  case "m":
1628
- t.minute = ["numeric", "2-digit"][r - 1];
1628
+ t.minute = ["numeric", "2-digit"][n - 1];
1629
1629
  break;
1630
1630
  case "s":
1631
- t.second = ["numeric", "2-digit"][r - 1];
1631
+ t.second = ["numeric", "2-digit"][n - 1];
1632
1632
  break;
1633
1633
  case "S":
1634
1634
  case "A":
1635
1635
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1636
1636
  case "z":
1637
- t.timeZoneName = r < 4 ? "short" : "long";
1637
+ t.timeZoneName = n < 4 ? "short" : "long";
1638
1638
  break;
1639
1639
  case "Z":
1640
1640
  case "O":
@@ -1647,36 +1647,36 @@ function Qr(e) {
1647
1647
  return "";
1648
1648
  }), t;
1649
1649
  }
1650
- var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1651
- function Yr(e) {
1650
+ var Jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1651
+ function Yn(e) {
1652
1652
  if (e.length === 0)
1653
1653
  throw new Error("Number skeleton cannot be empty");
1654
- for (var t = e.split(Jr).filter(function(c) {
1655
- return c.length > 0;
1656
- }), n = [], r = 0, i = t; r < i.length; r++) {
1657
- var s = i[r], a = s.split("/");
1654
+ for (var t = e.split(Jn).filter(function(f) {
1655
+ return f.length > 0;
1656
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1657
+ var o = i[n], a = o.split("/");
1658
1658
  if (a.length === 0)
1659
1659
  throw new Error("Invalid number skeleton");
1660
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1661
- var f = h[u];
1662
- if (f.length === 0)
1660
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1661
+ var c = h[u];
1662
+ if (c.length === 0)
1663
1663
  throw new Error("Invalid number skeleton");
1664
1664
  }
1665
- n.push({ stem: o, options: l });
1665
+ r.push({ stem: s, options: l });
1666
1666
  }
1667
- return n;
1667
+ return r;
1668
1668
  }
1669
- function Kr(e) {
1669
+ function Kn(e) {
1670
1670
  return e.replace(/^(.*?)-/, "");
1671
1671
  }
1672
- var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mn = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
1672
+ var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1673
1673
  function St(e) {
1674
1674
  var t = {};
1675
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mn, function(n, r, i) {
1676
- return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1675
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1676
+ 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)), "";
1677
1677
  }), t;
1678
1678
  }
1679
- function yn(e) {
1679
+ function br(e) {
1680
1680
  switch (e) {
1681
1681
  case "sign-auto":
1682
1682
  return {
@@ -1723,20 +1723,20 @@ function ti(e) {
1723
1723
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1724
1724
  notation: "scientific"
1725
1725
  }, e = e.slice(1)), t) {
1726
- var n = e.slice(0, 2);
1727
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !bn.test(e))
1726
+ var r = e.slice(0, 2);
1727
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1728
1728
  throw new Error("Malformed concise eng/scientific notation");
1729
1729
  t.minimumIntegerDigits = e.length;
1730
1730
  }
1731
1731
  return t;
1732
1732
  }
1733
1733
  function Tt(e) {
1734
- var t = {}, n = yn(e);
1735
- return n || t;
1734
+ var t = {}, r = br(e);
1735
+ return r || t;
1736
1736
  }
1737
- function ni(e) {
1738
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
1739
- var i = r[n];
1737
+ function ri(e) {
1738
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1739
+ var i = n[r];
1740
1740
  switch (i.stem) {
1741
1741
  case "percent":
1742
1742
  case "%":
@@ -1758,7 +1758,7 @@ function ni(e) {
1758
1758
  continue;
1759
1759
  case "measure-unit":
1760
1760
  case "unit":
1761
- t.style = "unit", t.unit = Kr(i.options[0]);
1761
+ t.style = "unit", t.unit = Kn(i.options[0]);
1762
1762
  continue;
1763
1763
  case "compact-short":
1764
1764
  case "K":
@@ -1820,11 +1820,11 @@ function ni(e) {
1820
1820
  case "integer-width":
1821
1821
  if (i.options.length > 1)
1822
1822
  throw new RangeError("integer-width stems only accept a single optional option");
1823
- i.options[0].replace(ei, function(l, u, h, f, c, p) {
1823
+ i.options[0].replace(ei, function(l, u, h, c, f, p) {
1824
1824
  if (u)
1825
1825
  t.minimumIntegerDigits = h.length;
1826
1826
  else {
1827
- if (f && c)
1827
+ if (c && f)
1828
1828
  throw new Error("We currently do not support maximum integer digits");
1829
1829
  if (p)
1830
1830
  throw new Error("We currently do not support exact integer digits");
@@ -1833,28 +1833,28 @@ function ni(e) {
1833
1833
  });
1834
1834
  continue;
1835
1835
  }
1836
- if (bn.test(i.stem)) {
1836
+ if (mr.test(i.stem)) {
1837
1837
  t.minimumIntegerDigits = i.stem.length;
1838
1838
  continue;
1839
1839
  }
1840
1840
  if (wt.test(i.stem)) {
1841
1841
  if (i.options.length > 1)
1842
1842
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1843
- i.stem.replace(wt, function(l, u, h, f, c, p) {
1844
- 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), "";
1843
+ i.stem.replace(wt, function(l, u, h, c, f, p) {
1844
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1845
1845
  });
1846
- var s = i.options[0];
1847
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), St(s)));
1846
+ var o = i.options[0];
1847
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), St(o)));
1848
1848
  continue;
1849
1849
  }
1850
- if (mn.test(i.stem)) {
1850
+ if (pr.test(i.stem)) {
1851
1851
  t = v(v({}, t), St(i.stem));
1852
1852
  continue;
1853
1853
  }
1854
- var a = yn(i.stem);
1854
+ var a = br(i.stem);
1855
1855
  a && (t = v(v({}, t), a));
1856
- var o = ti(i.stem);
1857
- o && (t = v(v({}, t), o));
1856
+ var s = ti(i.stem);
1857
+ s && (t = v(v({}, t), s));
1858
1858
  }
1859
1859
  return t;
1860
1860
  }
@@ -3273,20 +3273,20 @@ var _e = {
3273
3273
  "h"
3274
3274
  ]
3275
3275
  };
3276
- function ri(e, t) {
3277
- for (var n = "", r = 0; r < e.length; r++) {
3278
- var i = e.charAt(r);
3276
+ function ni(e, t) {
3277
+ for (var r = "", n = 0; n < e.length; n++) {
3278
+ var i = e.charAt(n);
3279
3279
  if (i === "j") {
3280
- for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3281
- s++, r++;
3282
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = ii(t);
3283
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3284
- n += l;
3280
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3281
+ o++, n++;
3282
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ii(t);
3283
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3284
+ r += l;
3285
3285
  for (; a-- > 0; )
3286
- n = u + n;
3287
- } else i === "J" ? n += "H" : n += i;
3286
+ r = u + r;
3287
+ } else i === "J" ? r += "H" : r += i;
3288
3288
  }
3289
- return n;
3289
+ return r;
3290
3290
  }
3291
3291
  function ii(e) {
3292
3292
  var t = e.hourCycle;
@@ -3305,73 +3305,73 @@ function ii(e) {
3305
3305
  default:
3306
3306
  throw new Error("Invalid hourCycle");
3307
3307
  }
3308
- var n = e.language, r;
3309
- n !== "root" && (r = e.maximize().region);
3310
- var i = _e[r || ""] || _e[n || ""] || _e["".concat(n, "-001")] || _e["001"];
3308
+ var r = e.language, n;
3309
+ r !== "root" && (n = e.maximize().region);
3310
+ var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3311
3311
  return i[0];
3312
3312
  }
3313
- var Ge, si = new RegExp("^".concat(pn.source, "*")), oi = new RegExp("".concat(pn.source, "*$"));
3313
+ var Ge, oi = new RegExp("^".concat(dr.source, "*")), si = new RegExp("".concat(dr.source, "*$"));
3314
3314
  function _(e, t) {
3315
3315
  return { start: e, end: t };
3316
3316
  }
3317
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, ci = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, pi = di ? Number.isSafeInteger : function(e) {
3317
+ var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, pi = di ? Number.isSafeInteger : function(e) {
3318
3318
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3319
3319
  }, Je = !0;
3320
3320
  try {
3321
- var mi = _n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3321
+ var mi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3322
3322
  Je = ((Ge = mi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3323
3323
  } catch {
3324
3324
  Je = !1;
3325
3325
  }
3326
3326
  var Ht = ai ? (
3327
3327
  // Native
3328
- function(t, n, r) {
3329
- return t.startsWith(n, r);
3328
+ function(t, r, n) {
3329
+ return t.startsWith(r, n);
3330
3330
  }
3331
3331
  ) : (
3332
3332
  // For IE11
3333
- function(t, n, r) {
3334
- return t.slice(r, r + n.length) === n;
3333
+ function(t, r, n) {
3334
+ return t.slice(n, n + r.length) === r;
3335
3335
  }
3336
3336
  ), Ye = ui ? String.fromCodePoint : (
3337
3337
  // IE11
3338
3338
  function() {
3339
- for (var t = [], n = 0; n < arguments.length; n++)
3340
- t[n] = arguments[n];
3341
- for (var r = "", i = t.length, s = 0, a; i > s; ) {
3342
- if (a = t[s++], a > 1114111)
3339
+ for (var t = [], r = 0; r < arguments.length; r++)
3340
+ t[r] = arguments[r];
3341
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3342
+ if (a = t[o++], a > 1114111)
3343
3343
  throw RangeError(a + " is not a valid code point");
3344
- r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3344
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3345
3345
  }
3346
- return r;
3346
+ return n;
3347
3347
  }
3348
3348
  ), Pt = (
3349
3349
  // native
3350
3350
  li ? Object.fromEntries : (
3351
3351
  // Ponyfill
3352
3352
  function(t) {
3353
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
3354
- var s = i[r], a = s[0], o = s[1];
3355
- n[a] = o;
3353
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3354
+ var o = i[n], a = o[0], s = o[1];
3355
+ r[a] = s;
3356
3356
  }
3357
- return n;
3357
+ return r;
3358
3358
  }
3359
3359
  )
3360
- ), gn = hi ? (
3360
+ ), yr = hi ? (
3361
3361
  // Native
3362
- function(t, n) {
3363
- return t.codePointAt(n);
3362
+ function(t, r) {
3363
+ return t.codePointAt(r);
3364
3364
  }
3365
3365
  ) : (
3366
3366
  // IE 11
3367
- function(t, n) {
3368
- var r = t.length;
3369
- if (!(n < 0 || n >= r)) {
3370
- var i = t.charCodeAt(n), s;
3371
- return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3367
+ function(t, r) {
3368
+ var n = t.length;
3369
+ if (!(r < 0 || r >= n)) {
3370
+ var i = t.charCodeAt(r), o;
3371
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3372
3372
  }
3373
3373
  }
3374
- ), bi = fi ? (
3374
+ ), bi = ci ? (
3375
3375
  // Native
3376
3376
  function(t) {
3377
3377
  return t.trimStart();
@@ -3379,9 +3379,9 @@ var Ht = ai ? (
3379
3379
  ) : (
3380
3380
  // Ponyfill
3381
3381
  function(t) {
3382
- return t.replace(si, "");
3382
+ return t.replace(oi, "");
3383
3383
  }
3384
- ), yi = ci ? (
3384
+ ), yi = fi ? (
3385
3385
  // Native
3386
3386
  function(t) {
3387
3387
  return t.trimEnd();
@@ -3389,69 +3389,69 @@ var Ht = ai ? (
3389
3389
  ) : (
3390
3390
  // Ponyfill
3391
3391
  function(t) {
3392
- return t.replace(oi, "");
3392
+ return t.replace(si, "");
3393
3393
  }
3394
3394
  );
3395
- function _n(e, t) {
3395
+ function gr(e, t) {
3396
3396
  return new RegExp(e, t);
3397
3397
  }
3398
3398
  var Ke;
3399
3399
  if (Je) {
3400
- var At = _n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3401
- Ke = function(t, n) {
3402
- var r;
3403
- At.lastIndex = n;
3400
+ var At = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3401
+ Ke = function(t, r) {
3402
+ var n;
3403
+ At.lastIndex = r;
3404
3404
  var i = At.exec(t);
3405
- return (r = i[1]) !== null && r !== void 0 ? r : "";
3405
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3406
3406
  };
3407
3407
  } else
3408
- Ke = function(t, n) {
3409
- for (var r = []; ; ) {
3410
- var i = gn(t, n);
3411
- if (i === void 0 || vn(i) || Ei(i))
3408
+ Ke = function(t, r) {
3409
+ for (var n = []; ; ) {
3410
+ var i = yr(t, r);
3411
+ if (i === void 0 || _r(i) || Ei(i))
3412
3412
  break;
3413
- r.push(i), n += i >= 65536 ? 2 : 1;
3413
+ n.push(i), r += i >= 65536 ? 2 : 1;
3414
3414
  }
3415
- return Ye.apply(void 0, r);
3415
+ return Ye.apply(void 0, n);
3416
3416
  };
3417
3417
  var gi = (
3418
3418
  /** @class */
3419
3419
  function() {
3420
- function e(t, n) {
3421
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
3420
+ function e(t, r) {
3421
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3422
3422
  }
3423
3423
  return e.prototype.parse = function() {
3424
3424
  if (this.offset() !== 0)
3425
3425
  throw Error("parser can only be used once");
3426
3426
  return this.parseMessage(0, "", !1);
3427
- }, e.prototype.parseMessage = function(t, n, r) {
3427
+ }, e.prototype.parseMessage = function(t, r, n) {
3428
3428
  for (var i = []; !this.isEOF(); ) {
3429
- var s = this.char();
3430
- if (s === 123) {
3431
- var a = this.parseArgument(t, r);
3429
+ var o = this.char();
3430
+ if (o === 123) {
3431
+ var a = this.parseArgument(t, n);
3432
3432
  if (a.err)
3433
3433
  return a;
3434
3434
  i.push(a.val);
3435
3435
  } else {
3436
- if (s === 125 && t > 0)
3436
+ if (o === 125 && t > 0)
3437
3437
  break;
3438
- if (s === 35 && (n === "plural" || n === "selectordinal")) {
3439
- var o = this.clonePosition();
3438
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3439
+ var s = this.clonePosition();
3440
3440
  this.bump(), i.push({
3441
3441
  type: w.pound,
3442
- location: _(o, this.clonePosition())
3442
+ location: _(s, this.clonePosition())
3443
3443
  });
3444
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3445
- if (r)
3444
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3445
+ if (n)
3446
3446
  break;
3447
3447
  return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3448
- } else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3449
- var a = this.parseTag(t, n);
3448
+ } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3449
+ var a = this.parseTag(t, r);
3450
3450
  if (a.err)
3451
3451
  return a;
3452
3452
  i.push(a.val);
3453
3453
  } else {
3454
- var a = this.parseLiteral(t, n);
3454
+ var a = this.parseLiteral(t, r);
3455
3455
  if (a.err)
3456
3456
  return a;
3457
3457
  i.push(a.val);
@@ -3459,8 +3459,8 @@ var gi = (
3459
3459
  }
3460
3460
  }
3461
3461
  return { val: i, err: null };
3462
- }, e.prototype.parseTag = function(t, n) {
3463
- var r = this.clonePosition();
3462
+ }, e.prototype.parseTag = function(t, r) {
3463
+ var n = this.clonePosition();
3464
3464
  this.bump();
3465
3465
  var i = this.parseTagName();
3466
3466
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3468,57 +3468,57 @@ var gi = (
3468
3468
  val: {
3469
3469
  type: w.literal,
3470
3470
  value: "<".concat(i, "/>"),
3471
- location: _(r, this.clonePosition())
3471
+ location: _(n, this.clonePosition())
3472
3472
  },
3473
3473
  err: null
3474
3474
  };
3475
3475
  if (this.bumpIf(">")) {
3476
- var s = this.parseMessage(t + 1, n, !0);
3477
- if (s.err)
3478
- return s;
3479
- var a = s.val, o = this.clonePosition();
3476
+ var o = this.parseMessage(t + 1, r, !0);
3477
+ if (o.err)
3478
+ return o;
3479
+ var a = o.val, s = this.clonePosition();
3480
3480
  if (this.bumpIf("</")) {
3481
3481
  if (this.isEOF() || !et(this.char()))
3482
- return this.error(g.INVALID_TAG, _(o, this.clonePosition()));
3482
+ return this.error(g.INVALID_TAG, _(s, this.clonePosition()));
3483
3483
  var l = this.clonePosition(), u = this.parseTagName();
3484
3484
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3485
3485
  val: {
3486
3486
  type: w.tag,
3487
3487
  value: i,
3488
3488
  children: a,
3489
- location: _(r, this.clonePosition())
3489
+ location: _(n, this.clonePosition())
3490
3490
  },
3491
3491
  err: null
3492
- } : this.error(g.INVALID_TAG, _(o, this.clonePosition())));
3492
+ } : this.error(g.INVALID_TAG, _(s, this.clonePosition())));
3493
3493
  } else
3494
- return this.error(g.UNCLOSED_TAG, _(r, this.clonePosition()));
3494
+ return this.error(g.UNCLOSED_TAG, _(n, this.clonePosition()));
3495
3495
  } else
3496
- return this.error(g.INVALID_TAG, _(r, this.clonePosition()));
3496
+ return this.error(g.INVALID_TAG, _(n, this.clonePosition()));
3497
3497
  }, e.prototype.parseTagName = function() {
3498
3498
  var t = this.offset();
3499
3499
  for (this.bump(); !this.isEOF() && vi(this.char()); )
3500
3500
  this.bump();
3501
3501
  return this.message.slice(t, this.offset());
3502
- }, e.prototype.parseLiteral = function(t, n) {
3503
- for (var r = this.clonePosition(), i = ""; ; ) {
3504
- var s = this.tryParseQuote(n);
3505
- if (s) {
3506
- i += s;
3502
+ }, e.prototype.parseLiteral = function(t, r) {
3503
+ for (var n = this.clonePosition(), i = ""; ; ) {
3504
+ var o = this.tryParseQuote(r);
3505
+ if (o) {
3506
+ i += o;
3507
3507
  continue;
3508
3508
  }
3509
- var a = this.tryParseUnquoted(t, n);
3509
+ var a = this.tryParseUnquoted(t, r);
3510
3510
  if (a) {
3511
3511
  i += a;
3512
3512
  continue;
3513
3513
  }
3514
- var o = this.tryParseLeftAngleBracket();
3515
- if (o) {
3516
- i += o;
3514
+ var s = this.tryParseLeftAngleBracket();
3515
+ if (s) {
3516
+ i += s;
3517
3517
  continue;
3518
3518
  }
3519
3519
  break;
3520
3520
  }
3521
- var l = _(r, this.clonePosition());
3521
+ var l = _(n, this.clonePosition());
3522
3522
  return {
3523
3523
  val: { type: w.literal, value: i, location: l },
3524
3524
  err: null
@@ -3545,37 +3545,37 @@ var gi = (
3545
3545
  return null;
3546
3546
  }
3547
3547
  this.bump();
3548
- var n = [this.char()];
3548
+ var r = [this.char()];
3549
3549
  for (this.bump(); !this.isEOF(); ) {
3550
- var r = this.char();
3551
- if (r === 39)
3550
+ var n = this.char();
3551
+ if (n === 39)
3552
3552
  if (this.peek() === 39)
3553
- n.push(39), this.bump();
3553
+ r.push(39), this.bump();
3554
3554
  else {
3555
3555
  this.bump();
3556
3556
  break;
3557
3557
  }
3558
3558
  else
3559
- n.push(r);
3559
+ r.push(n);
3560
3560
  this.bump();
3561
3561
  }
3562
- return Ye.apply(void 0, n);
3563
- }, e.prototype.tryParseUnquoted = function(t, n) {
3562
+ return Ye.apply(void 0, r);
3563
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3564
3564
  if (this.isEOF())
3565
3565
  return null;
3566
- var r = this.char();
3567
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Ye(r));
3568
- }, e.prototype.parseArgument = function(t, n) {
3569
- var r = this.clonePosition();
3566
+ var n = this.char();
3567
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3568
+ }, e.prototype.parseArgument = function(t, r) {
3569
+ var n = this.clonePosition();
3570
3570
  if (this.bump(), this.bumpSpace(), this.isEOF())
3571
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
3571
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3572
3572
  if (this.char() === 125)
3573
- return this.bump(), this.error(g.EMPTY_ARGUMENT, _(r, this.clonePosition()));
3573
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3574
3574
  var i = this.parseIdentifierIfPossible().value;
3575
3575
  if (!i)
3576
- return this.error(g.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
3576
+ return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3577
3577
  if (this.bumpSpace(), this.isEOF())
3578
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition()));
3578
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3579
3579
  switch (this.char()) {
3580
3580
  case 125:
3581
3581
  return this.bump(), {
@@ -3583,23 +3583,23 @@ var gi = (
3583
3583
  type: w.argument,
3584
3584
  // value does not include the opening and closing braces.
3585
3585
  value: i,
3586
- location: _(r, this.clonePosition())
3586
+ location: _(n, this.clonePosition())
3587
3587
  },
3588
3588
  err: null
3589
3589
  };
3590
3590
  case 44:
3591
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3591
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3592
3592
  default:
3593
- return this.error(g.MALFORMED_ARGUMENT, _(r, this.clonePosition()));
3593
+ return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3594
3594
  }
3595
3595
  }, e.prototype.parseIdentifierIfPossible = function() {
3596
- var t = this.clonePosition(), n = this.offset(), r = Ke(this.message, n), i = n + r.length;
3596
+ var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3597
3597
  this.bumpTo(i);
3598
- var s = this.clonePosition(), a = _(t, s);
3599
- return { value: r, location: a };
3600
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3601
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3602
- switch (o) {
3598
+ var o = this.clonePosition(), a = _(t, o);
3599
+ return { value: n, location: a };
3600
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3601
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3602
+ switch (s) {
3603
3603
  case "":
3604
3604
  return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, l));
3605
3605
  case "number":
@@ -3609,14 +3609,14 @@ var gi = (
3609
3609
  var u = null;
3610
3610
  if (this.bumpIf(",")) {
3611
3611
  this.bumpSpace();
3612
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3613
- if (f.err)
3614
- return f;
3615
- var c = yi(f.val);
3616
- if (c.length === 0)
3612
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3613
+ if (c.err)
3614
+ return c;
3615
+ var f = yi(c.val);
3616
+ if (f.length === 0)
3617
3617
  return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3618
3618
  var p = _(h, this.clonePosition());
3619
- u = { style: c, styleLocation: p };
3619
+ u = { style: f, styleLocation: p };
3620
3620
  }
3621
3621
  var d = this.tryParseArgumentClose(i);
3622
3622
  if (d.err)
@@ -3624,35 +3624,35 @@ var gi = (
3624
3624
  var m = _(i, this.clonePosition());
3625
3625
  if (u && Ht(u?.style, "::", 0)) {
3626
3626
  var E = bi(u.style.slice(2));
3627
- if (o === "number") {
3628
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3629
- return f.err ? f : {
3630
- val: { type: w.number, value: r, location: m, style: f.val },
3627
+ if (s === "number") {
3628
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3629
+ return c.err ? c : {
3630
+ val: { type: w.number, value: n, location: m, style: c.val },
3631
3631
  err: null
3632
3632
  };
3633
3633
  } else {
3634
3634
  if (E.length === 0)
3635
3635
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3636
3636
  var S = E;
3637
- this.locale && (S = ri(E, this.locale));
3638
- var c = {
3637
+ this.locale && (S = ni(E, this.locale));
3638
+ var f = {
3639
3639
  type: te.dateTime,
3640
3640
  pattern: S,
3641
3641
  location: u.styleLocation,
3642
- parsedOptions: this.shouldParseSkeletons ? Qr(S) : {}
3643
- }, H = o === "date" ? w.date : w.time;
3642
+ parsedOptions: this.shouldParseSkeletons ? Qn(S) : {}
3643
+ }, H = s === "date" ? w.date : w.time;
3644
3644
  return {
3645
- val: { type: H, value: r, location: m, style: c },
3645
+ val: { type: H, value: n, location: m, style: f },
3646
3646
  err: null
3647
3647
  };
3648
3648
  }
3649
3649
  }
3650
3650
  return {
3651
3651
  val: {
3652
- type: o === "number" ? w.number : o === "date" ? w.date : w.time,
3653
- value: r,
3652
+ type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3653
+ value: n,
3654
3654
  location: m,
3655
- style: (s = u?.style) !== null && s !== void 0 ? s : null
3655
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3656
3656
  },
3657
3657
  err: null
3658
3658
  };
@@ -3665,26 +3665,26 @@ var gi = (
3665
3665
  return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, v({}, T)));
3666
3666
  this.bumpSpace();
3667
3667
  var O = this.parseIdentifierIfPossible(), P = 0;
3668
- if (o !== "select" && O.value === "offset") {
3668
+ if (s !== "select" && O.value === "offset") {
3669
3669
  if (!this.bumpIf(":"))
3670
3670
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3671
3671
  this.bumpSpace();
3672
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3673
- if (f.err)
3674
- return f;
3675
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = f.val;
3672
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3673
+ if (c.err)
3674
+ return c;
3675
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
3676
3676
  }
3677
- var C = this.tryParsePluralOrSelectOptions(t, o, n, O);
3677
+ var C = this.tryParsePluralOrSelectOptions(t, s, r, O);
3678
3678
  if (C.err)
3679
3679
  return C;
3680
3680
  var d = this.tryParseArgumentClose(i);
3681
3681
  if (d.err)
3682
3682
  return d;
3683
3683
  var x = _(i, this.clonePosition());
3684
- return o === "select" ? {
3684
+ return s === "select" ? {
3685
3685
  val: {
3686
3686
  type: w.select,
3687
- value: r,
3687
+ value: n,
3688
3688
  options: Pt(C.val),
3689
3689
  location: x
3690
3690
  },
@@ -3692,10 +3692,10 @@ var gi = (
3692
3692
  } : {
3693
3693
  val: {
3694
3694
  type: w.plural,
3695
- value: r,
3695
+ value: n,
3696
3696
  options: Pt(C.val),
3697
3697
  offset: P,
3698
- pluralType: o === "plural" ? "cardinal" : "ordinal",
3698
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3699
3699
  location: x
3700
3700
  },
3701
3701
  err: null
@@ -3707,9 +3707,9 @@ var gi = (
3707
3707
  }, e.prototype.tryParseArgumentClose = function(t) {
3708
3708
  return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3709
3709
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3710
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3711
- var r = this.char();
3712
- switch (r) {
3710
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3711
+ var n = this.char();
3712
+ switch (n) {
3713
3713
  case 39: {
3714
3714
  this.bump();
3715
3715
  var i = this.clonePosition();
@@ -3727,7 +3727,7 @@ var gi = (
3727
3727
  t -= 1;
3728
3728
  else
3729
3729
  return {
3730
- val: this.message.slice(n.offset, this.offset()),
3730
+ val: this.message.slice(r.offset, this.offset()),
3731
3731
  err: null
3732
3732
  };
3733
3733
  break;
@@ -3738,70 +3738,70 @@ var gi = (
3738
3738
  }
3739
3739
  }
3740
3740
  return {
3741
- val: this.message.slice(n.offset, this.offset()),
3741
+ val: this.message.slice(r.offset, this.offset()),
3742
3742
  err: null
3743
3743
  };
3744
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3745
- var r = [];
3744
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3745
+ var n = [];
3746
3746
  try {
3747
- r = Yr(t);
3747
+ n = Yn(t);
3748
3748
  } catch {
3749
- return this.error(g.INVALID_NUMBER_SKELETON, n);
3749
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3750
3750
  }
3751
3751
  return {
3752
3752
  val: {
3753
3753
  type: te.number,
3754
- tokens: r,
3755
- location: n,
3756
- parsedOptions: this.shouldParseSkeletons ? ni(r) : {}
3754
+ tokens: n,
3755
+ location: r,
3756
+ parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3757
3757
  },
3758
3758
  err: null
3759
3759
  };
3760
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3761
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3760
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3761
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3762
3762
  if (u.length === 0) {
3763
- var f = this.clonePosition();
3764
- if (n !== "select" && this.bumpIf("=")) {
3765
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3766
- if (c.err)
3767
- return c;
3768
- h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3763
+ var c = this.clonePosition();
3764
+ if (r !== "select" && this.bumpIf("=")) {
3765
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3766
+ if (f.err)
3767
+ return f;
3768
+ h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3769
3769
  } else
3770
3770
  break;
3771
3771
  }
3772
3772
  if (l.has(u))
3773
- return this.error(n === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3773
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3774
3774
  u === "other" && (a = !0), this.bumpSpace();
3775
3775
  var p = this.clonePosition();
3776
3776
  if (!this.bumpIf("{"))
3777
- return this.error(n === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3778
- var d = this.parseMessage(t + 1, n, r);
3777
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3778
+ var d = this.parseMessage(t + 1, r, n);
3779
3779
  if (d.err)
3780
3780
  return d;
3781
3781
  var m = this.tryParseArgumentClose(p);
3782
3782
  if (m.err)
3783
3783
  return m;
3784
- o.push([
3784
+ s.push([
3785
3785
  u,
3786
3786
  {
3787
3787
  value: d.val,
3788
3788
  location: _(p, this.clonePosition())
3789
3789
  }
3790
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3790
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3791
3791
  }
3792
- return o.length === 0 ? this.error(n === "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: o, err: null };
3793
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3794
- var r = 1, i = this.clonePosition();
3795
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3796
- for (var s = !1, a = 0; !this.isEOF(); ) {
3797
- var o = this.char();
3798
- if (o >= 48 && o <= 57)
3799
- s = !0, a = a * 10 + (o - 48), this.bump();
3792
+ 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 };
3793
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3794
+ var n = 1, i = this.clonePosition();
3795
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3796
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3797
+ var s = this.char();
3798
+ if (s >= 48 && s <= 57)
3799
+ o = !0, a = a * 10 + (s - 48), this.bump();
3800
3800
  else
3801
3801
  break;
3802
3802
  }
3803
3803
  var l = _(i, this.clonePosition());
3804
- return s ? (a *= r, pi(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3804
+ return o ? (a *= n, pi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3805
3805
  }, e.prototype.offset = function() {
3806
3806
  return this.position.offset;
3807
3807
  }, e.prototype.isEOF = function() {
@@ -3816,17 +3816,17 @@ var gi = (
3816
3816
  var t = this.position.offset;
3817
3817
  if (t >= this.message.length)
3818
3818
  throw Error("out of bound");
3819
- var n = gn(this.message, t);
3820
- if (n === void 0)
3819
+ var r = yr(this.message, t);
3820
+ if (r === void 0)
3821
3821
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3822
- return n;
3823
- }, e.prototype.error = function(t, n) {
3822
+ return r;
3823
+ }, e.prototype.error = function(t, r) {
3824
3824
  return {
3825
3825
  val: null,
3826
3826
  err: {
3827
3827
  kind: t,
3828
3828
  message: this.message,
3829
- location: n
3829
+ location: r
3830
3830
  }
3831
3831
  };
3832
3832
  }, e.prototype.bump = function() {
@@ -3836,34 +3836,34 @@ var gi = (
3836
3836
  }
3837
3837
  }, e.prototype.bumpIf = function(t) {
3838
3838
  if (Ht(this.message, t, this.offset())) {
3839
- for (var n = 0; n < t.length; n++)
3839
+ for (var r = 0; r < t.length; r++)
3840
3840
  this.bump();
3841
3841
  return !0;
3842
3842
  }
3843
3843
  return !1;
3844
3844
  }, e.prototype.bumpUntil = function(t) {
3845
- var n = this.offset(), r = this.message.indexOf(t, n);
3846
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3845
+ var r = this.offset(), n = this.message.indexOf(t, r);
3846
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3847
3847
  }, e.prototype.bumpTo = function(t) {
3848
3848
  if (this.offset() > t)
3849
3849
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3850
3850
  for (t = Math.min(t, this.message.length); ; ) {
3851
- var n = this.offset();
3852
- if (n === t)
3851
+ var r = this.offset();
3852
+ if (r === t)
3853
3853
  break;
3854
- if (n > t)
3854
+ if (r > t)
3855
3855
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3856
3856
  if (this.bump(), this.isEOF())
3857
3857
  break;
3858
3858
  }
3859
3859
  }, e.prototype.bumpSpace = function() {
3860
- for (; !this.isEOF() && vn(this.char()); )
3860
+ for (; !this.isEOF() && _r(this.char()); )
3861
3861
  this.bump();
3862
3862
  }, e.prototype.peek = function() {
3863
3863
  if (this.isEOF())
3864
3864
  return null;
3865
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3866
- return r ?? null;
3865
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3866
+ return n ?? null;
3867
3867
  }, e;
3868
3868
  }()
3869
3869
  );
@@ -3876,7 +3876,7 @@ function _i(e) {
3876
3876
  function vi(e) {
3877
3877
  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;
3878
3878
  }
3879
- function vn(e) {
3879
+ function _r(e) {
3880
3880
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3881
3881
  }
3882
3882
  function Ei(e) {
@@ -3884,32 +3884,32 @@ function Ei(e) {
3884
3884
  }
3885
3885
  function tt(e) {
3886
3886
  e.forEach(function(t) {
3887
- if (delete t.location, hn(t) || fn(t))
3888
- for (var n in t.options)
3889
- delete t.options[n].location, tt(t.options[n].value);
3890
- else an(t) && dn(t.style) || (un(t) || ln(t)) && Qe(t.style) ? delete t.style.location : cn(t) && tt(t.children);
3887
+ if (delete t.location, lr(t) || hr(t))
3888
+ for (var r in t.options)
3889
+ delete t.options[r].location, tt(t.options[r].value);
3890
+ else sr(t) && fr(t.style) || (ar(t) || ur(t)) && Qe(t.style) ? delete t.style.location : cr(t) && tt(t.children);
3891
3891
  });
3892
3892
  }
3893
3893
  function xi(e, t) {
3894
3894
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3895
- var n = new gi(e, t).parse();
3896
- if (n.err) {
3897
- var r = SyntaxError(g[n.err.kind]);
3898
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3895
+ var r = new gi(e, t).parse();
3896
+ if (r.err) {
3897
+ var n = SyntaxError(g[r.err.kind]);
3898
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3899
3899
  }
3900
- return t?.captureLocation || tt(n.val), n.val;
3900
+ return t?.captureLocation || tt(r.val), r.val;
3901
3901
  }
3902
- var ne;
3902
+ var re;
3903
3903
  (function(e) {
3904
3904
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3905
- })(ne || (ne = {}));
3905
+ })(re || (re = {}));
3906
3906
  var Ce = (
3907
3907
  /** @class */
3908
3908
  function(e) {
3909
3909
  F(t, e);
3910
- function t(n, r, i) {
3911
- var s = e.call(this, n) || this;
3912
- return s.code = r, s.originalMessage = i, s;
3910
+ function t(r, n, i) {
3911
+ var o = e.call(this, r) || this;
3912
+ return o.code = n, o.originalMessage = i, o;
3913
3913
  }
3914
3914
  return t.prototype.toString = function() {
3915
3915
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3919,8 +3919,8 @@ var Ce = (
3919
3919
  /** @class */
3920
3920
  function(e) {
3921
3921
  F(t, e);
3922
- function t(n, r, i, s) {
3923
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
3922
+ function t(r, n, i, o) {
3923
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3924
3924
  }
3925
3925
  return t;
3926
3926
  }(Ce)
@@ -3928,8 +3928,8 @@ var Ce = (
3928
3928
  /** @class */
3929
3929
  function(e) {
3930
3930
  F(t, e);
3931
- function t(n, r, i) {
3932
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ne.INVALID_VALUE, i) || this;
3931
+ function t(r, n, i) {
3932
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3933
3933
  }
3934
3934
  return t;
3935
3935
  }(Ce)
@@ -3937,8 +3937,8 @@ var Ce = (
3937
3937
  /** @class */
3938
3938
  function(e) {
3939
3939
  F(t, e);
3940
- function t(n, r) {
3941
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ne.MISSING_VALUE, r) || this;
3940
+ function t(r, n) {
3941
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3942
3942
  }
3943
3943
  return t;
3944
3944
  }(Ce)
@@ -3947,15 +3947,15 @@ var Ce = (
3947
3947
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3948
3948
  })(A || (A = {}));
3949
3949
  function Ti(e) {
3950
- return e.length < 2 ? e : e.reduce(function(t, n) {
3951
- var r = t[t.length - 1];
3952
- return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
3950
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3951
+ var n = t[t.length - 1];
3952
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3953
3953
  }, []);
3954
3954
  }
3955
3955
  function Hi(e) {
3956
3956
  return typeof e == "function";
3957
3957
  }
3958
- function we(e, t, n, r, i, s, a) {
3958
+ function we(e, t, r, n, i, o, a) {
3959
3959
  if (e.length === 1 && xt(e[0]))
3960
3960
  return [
3961
3961
  {
@@ -3963,104 +3963,104 @@ function we(e, t, n, r, i, s, a) {
3963
3963
  value: e[0].value
3964
3964
  }
3965
3965
  ];
3966
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3966
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3967
3967
  var h = u[l];
3968
3968
  if (xt(h)) {
3969
- o.push({
3969
+ s.push({
3970
3970
  type: A.literal,
3971
3971
  value: h.value
3972
3972
  });
3973
3973
  continue;
3974
3974
  }
3975
- if (qr(h)) {
3976
- typeof s == "number" && o.push({
3975
+ if (qn(h)) {
3976
+ typeof o == "number" && s.push({
3977
3977
  type: A.literal,
3978
- value: n.getNumberFormat(t).format(s)
3978
+ value: r.getNumberFormat(t).format(o)
3979
3979
  });
3980
3980
  continue;
3981
3981
  }
3982
- var f = h.value;
3983
- if (!(i && f in i))
3984
- throw new Si(f, a);
3985
- var c = i[f];
3986
- if (zr(h)) {
3987
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3988
- type: typeof c == "string" ? A.literal : A.object,
3989
- value: c
3982
+ var c = h.value;
3983
+ if (!(i && c in i))
3984
+ throw new Si(c, a);
3985
+ var f = i[c];
3986
+ if (zn(h)) {
3987
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3988
+ type: typeof f == "string" ? A.literal : A.object,
3989
+ value: f
3990
3990
  });
3991
3991
  continue;
3992
3992
  }
3993
- if (un(h)) {
3994
- var p = typeof h.style == "string" ? r.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3995
- o.push({
3993
+ if (ar(h)) {
3994
+ var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3995
+ s.push({
3996
3996
  type: A.literal,
3997
- value: n.getDateTimeFormat(t, p).format(c)
3997
+ value: r.getDateTimeFormat(t, p).format(f)
3998
3998
  });
3999
3999
  continue;
4000
4000
  }
4001
- if (ln(h)) {
4002
- var p = typeof h.style == "string" ? r.time[h.style] : Qe(h.style) ? h.style.parsedOptions : r.time.medium;
4003
- o.push({
4001
+ if (ur(h)) {
4002
+ var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
4003
+ s.push({
4004
4004
  type: A.literal,
4005
- value: n.getDateTimeFormat(t, p).format(c)
4005
+ value: r.getDateTimeFormat(t, p).format(f)
4006
4006
  });
4007
4007
  continue;
4008
4008
  }
4009
- if (an(h)) {
4010
- var p = typeof h.style == "string" ? r.number[h.style] : dn(h.style) ? h.style.parsedOptions : void 0;
4011
- p && p.scale && (c = c * (p.scale || 1)), o.push({
4009
+ if (sr(h)) {
4010
+ var p = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
4011
+ p && p.scale && (f = f * (p.scale || 1)), s.push({
4012
4012
  type: A.literal,
4013
- value: n.getNumberFormat(t, p).format(c)
4013
+ value: r.getNumberFormat(t, p).format(f)
4014
4014
  });
4015
4015
  continue;
4016
4016
  }
4017
- if (cn(h)) {
4017
+ if (cr(h)) {
4018
4018
  var d = h.children, m = h.value, E = i[m];
4019
4019
  if (!Hi(E))
4020
4020
  throw new wi(m, "function", a);
4021
- var S = we(d, t, n, r, i, s), H = E(S.map(function(P) {
4021
+ var S = we(d, t, r, n, i, o), H = E(S.map(function(P) {
4022
4022
  return P.value;
4023
4023
  }));
4024
- Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(P) {
4024
+ Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(P) {
4025
4025
  return {
4026
4026
  type: typeof P == "string" ? A.literal : A.object,
4027
4027
  value: P
4028
4028
  };
4029
4029
  }));
4030
4030
  }
4031
- if (hn(h)) {
4032
- var T = h.options[c] || h.options.other;
4031
+ if (lr(h)) {
4032
+ var T = h.options[f] || h.options.other;
4033
4033
  if (!T)
4034
- throw new Bt(h.value, c, Object.keys(h.options), a);
4035
- o.push.apply(o, we(T.value, t, n, r, i));
4034
+ throw new Bt(h.value, f, Object.keys(h.options), a);
4035
+ s.push.apply(s, we(T.value, t, r, n, i));
4036
4036
  continue;
4037
4037
  }
4038
- if (fn(h)) {
4039
- var T = h.options["=".concat(c)];
4038
+ if (hr(h)) {
4039
+ var T = h.options["=".concat(f)];
4040
4040
  if (!T) {
4041
4041
  if (!Intl.PluralRules)
4042
4042
  throw new Ce(`Intl.PluralRules is not available in this environment.
4043
4043
  Try polyfilling it using "@formatjs/intl-pluralrules"
4044
- `, ne.MISSING_INTL_API, a);
4045
- var O = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4044
+ `, re.MISSING_INTL_API, a);
4045
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4046
4046
  T = h.options[O] || h.options.other;
4047
4047
  }
4048
4048
  if (!T)
4049
- throw new Bt(h.value, c, Object.keys(h.options), a);
4050
- o.push.apply(o, we(T.value, t, n, r, i, c - (h.offset || 0)));
4049
+ throw new Bt(h.value, f, Object.keys(h.options), a);
4050
+ s.push.apply(s, we(T.value, t, r, n, i, f - (h.offset || 0)));
4051
4051
  continue;
4052
4052
  }
4053
4053
  }
4054
- return Ti(o);
4054
+ return Ti(s);
4055
4055
  }
4056
4056
  function Pi(e, t) {
4057
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4058
- return n[r] = v(v({}, e[r]), t[r] || {}), n;
4057
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4058
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
4059
4059
  }, {})) : e;
4060
4060
  }
4061
4061
  function Ai(e, t) {
4062
- return t ? Object.keys(e).reduce(function(n, r) {
4063
- return n[r] = Pi(e[r], t[r]), n;
4062
+ return t ? Object.keys(e).reduce(function(r, n) {
4063
+ return r[n] = Pi(e[n], t[n]), r;
4064
4064
  }, v({}, e)) : e;
4065
4065
  }
4066
4066
  function Fe(e) {
@@ -4070,8 +4070,8 @@ function Fe(e) {
4070
4070
  get: function(t) {
4071
4071
  return e[t];
4072
4072
  },
4073
- set: function(t, n) {
4074
- e[t] = n;
4073
+ set: function(t, r) {
4074
+ e[t] = r;
4075
4075
  }
4076
4076
  };
4077
4077
  }
@@ -4084,25 +4084,25 @@ function Bi(e) {
4084
4084
  pluralRules: {}
4085
4085
  }), {
4086
4086
  getNumberFormat: De(function() {
4087
- for (var t, n = [], r = 0; r < arguments.length; r++)
4088
- n[r] = arguments[r];
4089
- return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], n, !1)))();
4087
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4088
+ r[n] = arguments[n];
4089
+ return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4090
4090
  }, {
4091
4091
  cache: Fe(e.number),
4092
4092
  strategy: Ue.variadic
4093
4093
  }),
4094
4094
  getDateTimeFormat: De(function() {
4095
- for (var t, n = [], r = 0; r < arguments.length; r++)
4096
- n[r] = arguments[r];
4097
- return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], n, !1)))();
4095
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4096
+ r[n] = arguments[n];
4097
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4098
4098
  }, {
4099
4099
  cache: Fe(e.dateTime),
4100
4100
  strategy: Ue.variadic
4101
4101
  }),
4102
4102
  getPluralRules: De(function() {
4103
- for (var t, n = [], r = 0; r < arguments.length; r++)
4104
- n[r] = arguments[r];
4105
- return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], n, !1)))();
4103
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4104
+ r[n] = arguments[n];
4105
+ return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4106
4106
  }, {
4107
4107
  cache: Fe(e.pluralRules),
4108
4108
  strategy: Ue.variadic
@@ -4112,42 +4112,42 @@ function Bi(e) {
4112
4112
  var Oi = (
4113
4113
  /** @class */
4114
4114
  function() {
4115
- function e(t, n, r, i) {
4116
- n === void 0 && (n = e.defaultLocale);
4117
- var s = this;
4115
+ function e(t, r, n, i) {
4116
+ r === void 0 && (r = e.defaultLocale);
4117
+ var o = this;
4118
4118
  if (this.formatterCache = {
4119
4119
  number: {},
4120
4120
  dateTime: {},
4121
4121
  pluralRules: {}
4122
4122
  }, this.format = function(l) {
4123
- var u = s.formatToParts(l);
4123
+ var u = o.formatToParts(l);
4124
4124
  if (u.length === 1)
4125
4125
  return u[0].value;
4126
- var h = u.reduce(function(f, c) {
4127
- return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4126
+ var h = u.reduce(function(c, f) {
4127
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4128
4128
  }, []);
4129
4129
  return h.length <= 1 ? h[0] || "" : h;
4130
4130
  }, this.formatToParts = function(l) {
4131
- return we(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4131
+ return we(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4132
4132
  }, this.resolvedOptions = function() {
4133
4133
  var l;
4134
4134
  return {
4135
- locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4135
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4136
4136
  };
4137
4137
  }, this.getAst = function() {
4138
- return s.ast;
4139
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4138
+ return o.ast;
4139
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4140
4140
  if (this.message = t, !e.__parse)
4141
4141
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4142
4142
  var a = i || {};
4143
4143
  a.formatters;
4144
- var o = ur(a, ["formatters"]);
4145
- this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
4144
+ var s = un(a, ["formatters"]);
4145
+ this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
4146
4146
  } else
4147
4147
  this.ast = t;
4148
4148
  if (!Array.isArray(this.ast))
4149
4149
  throw new TypeError("A message must be provided as a String or AST.");
4150
- this.formats = Ai(e.formats, r), this.formatters = i && i.formatters || Bi(this.formatterCache);
4150
+ this.formats = Ai(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
4151
4151
  }
4152
4152
  return Object.defineProperty(e, "defaultLocale", {
4153
4153
  get: function() {
@@ -4157,8 +4157,8 @@ var Oi = (
4157
4157
  configurable: !0
4158
4158
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4159
4159
  if (!(typeof Intl.Locale > "u")) {
4160
- var n = Intl.NumberFormat.supportedLocalesOf(t);
4161
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4160
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
4161
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4162
4162
  }
4163
4163
  }, e.__parse = xi, e.formats = {
4164
4164
  number: {
@@ -4226,32 +4226,32 @@ function Ii(e, t) {
4226
4226
  return;
4227
4227
  if (t in e)
4228
4228
  return e[t];
4229
- const n = t.split(".");
4230
- let r = e;
4231
- for (let i = 0; i < n.length; i++)
4232
- if (typeof r == "object") {
4229
+ const r = t.split(".");
4230
+ let n = e;
4231
+ for (let i = 0; i < r.length; i++)
4232
+ if (typeof n == "object") {
4233
4233
  if (i > 0) {
4234
- const s = n.slice(i, n.length).join(".");
4235
- if (s in r) {
4236
- r = r[s];
4234
+ const o = r.slice(i, r.length).join(".");
4235
+ if (o in n) {
4236
+ n = n[o];
4237
4237
  break;
4238
4238
  }
4239
4239
  }
4240
- r = r[n[i]];
4240
+ n = n[r[i]];
4241
4241
  } else
4242
- r = void 0;
4243
- return r;
4242
+ n = void 0;
4243
+ return n;
4244
4244
  }
4245
- const j = {}, Ci = (e, t, n) => n && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = n), n), En = (e, t) => {
4245
+ const j = {}, Ci = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
4246
4246
  if (t == null)
4247
4247
  return;
4248
4248
  if (t in j && e in j[t])
4249
4249
  return j[t][e];
4250
- const n = Le(t);
4251
- for (let r = 0; r < n.length; r++) {
4252
- const i = n[r], s = Ni(i, e);
4253
- if (s)
4254
- return Ci(e, t, s);
4250
+ const r = Le(t);
4251
+ for (let n = 0; n < r.length; n++) {
4252
+ const i = r[n], o = Ni(i, e);
4253
+ if (o)
4254
+ return Ci(e, t, o);
4255
4255
  }
4256
4256
  };
4257
4257
  let at;
@@ -4259,27 +4259,27 @@ const me = Ie({});
4259
4259
  function Li(e) {
4260
4260
  return at[e] || null;
4261
4261
  }
4262
- function xn(e) {
4262
+ function Er(e) {
4263
4263
  return e in at;
4264
4264
  }
4265
4265
  function Ni(e, t) {
4266
- if (!xn(e))
4266
+ if (!Er(e))
4267
4267
  return null;
4268
- const n = Li(e);
4269
- return Ii(n, t);
4268
+ const r = Li(e);
4269
+ return Ii(r, t);
4270
4270
  }
4271
4271
  function Mi(e) {
4272
4272
  if (e == null)
4273
4273
  return;
4274
4274
  const t = Le(e);
4275
- for (let n = 0; n < t.length; n++) {
4276
- const r = t[n];
4277
- if (xn(r))
4278
- return r;
4275
+ for (let r = 0; r < t.length; r++) {
4276
+ const n = t[r];
4277
+ if (Er(n))
4278
+ return n;
4279
4279
  }
4280
4280
  }
4281
- function wn(e, ...t) {
4282
- delete j[e], me.update((n) => (n[e] = Ur.all([n[e] || {}, ...t]), n));
4281
+ function xr(e, ...t) {
4282
+ delete j[e], me.update((r) => (r[e] = Un.all([r[e] || {}, ...t]), r));
4283
4283
  }
4284
4284
  ie(
4285
4285
  [me],
@@ -4290,40 +4290,40 @@ const Se = {};
4290
4290
  function Ri(e, t) {
4291
4291
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4292
4292
  }
4293
- function Sn(e) {
4293
+ function wr(e) {
4294
4294
  return Se[e];
4295
4295
  }
4296
4296
  function $i(e) {
4297
4297
  return Le(e).map((t) => {
4298
- const n = Sn(t);
4299
- return [t, n ? [...n] : []];
4298
+ const r = wr(t);
4299
+ return [t, r ? [...r] : []];
4300
4300
  }).filter(([, t]) => t.length > 0);
4301
4301
  }
4302
- function nt(e) {
4302
+ function rt(e) {
4303
4303
  return e == null ? !1 : Le(e).some(
4304
4304
  (t) => {
4305
- var n;
4306
- return (n = Sn(t)) == null ? void 0 : n.size;
4305
+ var r;
4306
+ return (r = wr(t)) == null ? void 0 : r.size;
4307
4307
  }
4308
4308
  );
4309
4309
  }
4310
4310
  function Di(e, t) {
4311
4311
  return Promise.all(
4312
- t.map((r) => (Ri(e, r), r().then((i) => i.default || i)))
4313
- ).then((r) => wn(e, ...r));
4312
+ t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4313
+ ).then((n) => xr(e, ...n));
4314
4314
  }
4315
4315
  const ue = {};
4316
- function Tn(e) {
4317
- if (!nt(e))
4316
+ function Sr(e) {
4317
+ if (!rt(e))
4318
4318
  return e in ue ? ue[e] : Promise.resolve();
4319
4319
  const t = $i(e);
4320
4320
  return ue[e] = Promise.all(
4321
4321
  t.map(
4322
- ([n, r]) => Di(n, r)
4322
+ ([r, n]) => Di(r, n)
4323
4323
  )
4324
4324
  ).then(() => {
4325
- if (nt(e))
4326
- return Tn(e);
4325
+ if (rt(e))
4326
+ return Sr(e);
4327
4327
  delete ue[e];
4328
4328
  }), ue[e];
4329
4329
  }
@@ -4364,132 +4364,132 @@ const Ui = {
4364
4364
  handleMissingMessage: void 0,
4365
4365
  ignoreTag: !0
4366
4366
  }, Fi = Gi;
4367
- function re() {
4367
+ function ne() {
4368
4368
  return Fi;
4369
4369
  }
4370
4370
  const je = Ie(!1);
4371
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, It = (e, t, n) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, zi = (e, t) => {
4372
- for (var n in t || (t = {}))
4373
- Xi.call(t, n) && It(e, n, t[n]);
4371
+ var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4372
+ for (var r in t || (t = {}))
4373
+ Xi.call(t, r) && It(e, r, t[r]);
4374
4374
  if (Ot)
4375
- for (var n of Ot(t))
4376
- Wi.call(t, n) && It(e, n, t[n]);
4375
+ for (var r of Ot(t))
4376
+ Wi.call(t, r) && It(e, r, t[r]);
4377
4377
  return e;
4378
4378
  }, qi = (e, t) => ki(e, Vi(t));
4379
- let rt;
4379
+ let nt;
4380
4380
  const Ae = Ie(null);
4381
4381
  function Ct(e) {
4382
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4382
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4383
4383
  }
4384
- function Le(e, t = re().fallbackLocale) {
4385
- const n = Ct(e);
4386
- return t ? [.../* @__PURE__ */ new Set([...n, ...Ct(t)])] : n;
4384
+ function Le(e, t = ne().fallbackLocale) {
4385
+ const r = Ct(e);
4386
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4387
4387
  }
4388
4388
  function W() {
4389
- return rt ?? void 0;
4389
+ return nt ?? void 0;
4390
4390
  }
4391
4391
  Ae.subscribe((e) => {
4392
- rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4392
+ nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4393
4393
  });
4394
4394
  const Zi = (e) => {
4395
- if (e && Mi(e) && nt(e)) {
4396
- const { loadingDelay: t } = re();
4397
- let n;
4398
- return typeof window < "u" && W() != null && t ? n = window.setTimeout(
4395
+ if (e && Mi(e) && rt(e)) {
4396
+ const { loadingDelay: t } = ne();
4397
+ let r;
4398
+ return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4399
4399
  () => je.set(!0),
4400
4400
  t
4401
- ) : je.set(!0), Tn(e).then(() => {
4401
+ ) : je.set(!0), Sr(e).then(() => {
4402
4402
  Ae.set(e);
4403
4403
  }).finally(() => {
4404
- clearTimeout(n), je.set(!1);
4404
+ clearTimeout(r), je.set(!1);
4405
4405
  });
4406
4406
  }
4407
4407
  return Ae.set(e);
4408
- }, se = qi(zi({}, Ae), {
4408
+ }, oe = qi(zi({}, Ae), {
4409
4409
  set: Zi
4410
4410
  }), Ne = (e) => {
4411
4411
  const t = /* @__PURE__ */ Object.create(null);
4412
- return (r) => {
4413
- const i = JSON.stringify(r);
4414
- return i in t ? t[i] : t[i] = e(r);
4412
+ return (n) => {
4413
+ const i = JSON.stringify(n);
4414
+ return i in t ? t[i] : t[i] = e(n);
4415
4415
  };
4416
4416
  };
4417
- var Qi = Object.defineProperty, Be = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Lt = (e, t, n) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ut = (e, t) => {
4418
- for (var n in t || (t = {}))
4419
- Hn.call(t, n) && Lt(e, n, t[n]);
4417
+ var Qi = Object.defineProperty, Be = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4418
+ for (var r in t || (t = {}))
4419
+ Tr.call(t, r) && Lt(e, r, t[r]);
4420
4420
  if (Be)
4421
- for (var n of Be(t))
4422
- Pn.call(t, n) && Lt(e, n, t[n]);
4421
+ for (var r of Be(t))
4422
+ Hr.call(t, r) && Lt(e, r, t[r]);
4423
4423
  return e;
4424
- }, oe = (e, t) => {
4425
- var n = {};
4426
- for (var r in e)
4427
- Hn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4424
+ }, se = (e, t) => {
4425
+ var r = {};
4426
+ for (var n in e)
4427
+ Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4428
4428
  if (e != null && Be)
4429
- for (var r of Be(e))
4430
- t.indexOf(r) < 0 && Pn.call(e, r) && (n[r] = e[r]);
4431
- return n;
4429
+ for (var n of Be(e))
4430
+ t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
4431
+ return r;
4432
4432
  };
4433
- const ce = (e, t) => {
4434
- const { formats: n } = re();
4435
- if (e in n && t in n[e])
4436
- return n[e][t];
4433
+ const fe = (e, t) => {
4434
+ const { formats: r } = ne();
4435
+ if (e in r && t in r[e])
4436
+ return r[e][t];
4437
4437
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4438
4438
  }, Ji = Ne(
4439
4439
  (e) => {
4440
- var t = e, { locale: n, format: r } = t, i = oe(t, ["locale", "format"]);
4441
- if (n == null)
4440
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4441
+ if (r == null)
4442
4442
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4443
- return r && (i = ce("number", r)), new Intl.NumberFormat(n, i);
4443
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4444
4444
  }
4445
4445
  ), Yi = Ne(
4446
4446
  (e) => {
4447
- var t = e, { locale: n, format: r } = t, i = oe(t, ["locale", "format"]);
4448
- if (n == null)
4447
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4448
+ if (r == null)
4449
4449
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4450
- return r ? i = ce("date", r) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(n, i);
4450
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4451
4451
  }
4452
4452
  ), Ki = Ne(
4453
4453
  (e) => {
4454
- var t = e, { locale: n, format: r } = t, i = oe(t, ["locale", "format"]);
4455
- if (n == null)
4454
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4455
+ if (r == null)
4456
4456
  throw new Error(
4457
4457
  '[svelte-i18n] A "locale" must be set to format time values'
4458
4458
  );
4459
- return r ? i = ce("time", r) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(n, i);
4459
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4460
4460
  }
4461
- ), es = (e = {}) => {
4461
+ ), eo = (e = {}) => {
4462
4462
  var t = e, {
4463
- locale: n = W()
4464
- } = t, r = oe(t, [
4463
+ locale: r = W()
4464
+ } = t, n = se(t, [
4465
4465
  "locale"
4466
4466
  ]);
4467
- return Ji(ut({ locale: n }, r));
4468
- }, ts = (e = {}) => {
4467
+ return Ji(ut({ locale: r }, n));
4468
+ }, to = (e = {}) => {
4469
4469
  var t = e, {
4470
- locale: n = W()
4471
- } = t, r = oe(t, [
4470
+ locale: r = W()
4471
+ } = t, n = se(t, [
4472
4472
  "locale"
4473
4473
  ]);
4474
- return Yi(ut({ locale: n }, r));
4475
- }, ns = (e = {}) => {
4474
+ return Yi(ut({ locale: r }, n));
4475
+ }, ro = (e = {}) => {
4476
4476
  var t = e, {
4477
- locale: n = W()
4478
- } = t, r = oe(t, [
4477
+ locale: r = W()
4478
+ } = t, n = se(t, [
4479
4479
  "locale"
4480
4480
  ]);
4481
- return Ki(ut({ locale: n }, r));
4482
- }, rs = Ne(
4481
+ return Ki(ut({ locale: r }, n));
4482
+ }, no = Ne(
4483
4483
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4484
- (e, t = W()) => new Oi(e, t, re().formats, {
4485
- ignoreTag: re().ignoreTag
4484
+ (e, t = W()) => new Oi(e, t, ne().formats, {
4485
+ ignoreTag: ne().ignoreTag
4486
4486
  })
4487
- ), is = (e, t = {}) => {
4488
- var n, r, i, s;
4487
+ ), io = (e, t = {}) => {
4488
+ var r, n, i, o;
4489
4489
  let a = t;
4490
4490
  typeof e == "object" && (a = e, e = a.id);
4491
4491
  const {
4492
- values: o,
4492
+ values: s,
4493
4493
  locale: l = W(),
4494
4494
  default: u
4495
4495
  } = a;
@@ -4497,58 +4497,58 @@ const ce = (e, t) => {
4497
4497
  throw new Error(
4498
4498
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4499
4499
  );
4500
- let h = En(e, l);
4500
+ let h = vr(e, l);
4501
4501
  if (!h)
4502
- h = (s = (i = (r = (n = re()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4502
+ h = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4503
4503
  else if (typeof h != "string")
4504
4504
  return console.warn(
4505
4505
  `[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.`
4506
4506
  ), h;
4507
- if (!o)
4507
+ if (!s)
4508
4508
  return h;
4509
- let f = h;
4509
+ let c = h;
4510
4510
  try {
4511
- f = rs(h, l).format(o);
4512
- } catch (c) {
4513
- c instanceof Error && console.warn(
4511
+ c = no(h, l).format(s);
4512
+ } catch (f) {
4513
+ f instanceof Error && console.warn(
4514
4514
  `[svelte-i18n] Message "${e}" has syntax error:`,
4515
- c.message
4515
+ f.message
4516
4516
  );
4517
4517
  }
4518
- return f;
4519
- }, ss = (e, t) => ns(t).format(e), os = (e, t) => ts(t).format(e), as = (e, t) => es(t).format(e), us = (e, t = W()) => En(e, t), ls = ie([se, me], () => is);
4520
- ie([se], () => ss);
4521
- ie([se], () => os);
4522
- ie([se], () => as);
4523
- ie([se, me], () => us);
4524
- window.emWidgets = { topic: xr };
4525
- const An = (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)), hs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4526
- function Us(e, t) {
4527
- const n = window.navigator.userAgent;
4528
- return An(n) ? t = e.filter((r) => {
4529
- if (r.gameModel && (r.gameModel.platform.includes("iPad") || r.gameModel.platform.includes("iPhone") || r.gameModel.platform.includes("Android")))
4530
- return r;
4531
- }) : t = e.filter((r) => {
4532
- if (r.gameModel && r.gameModel.platform.includes("PC"))
4533
- return r;
4518
+ return c;
4519
+ }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = W()) => vr(e, t), lo = ie([oe, me], () => io);
4520
+ ie([oe], () => oo);
4521
+ ie([oe], () => so);
4522
+ ie([oe], () => ao);
4523
+ ie([oe, me], () => uo);
4524
+ window.emWidgets = { topic: xn };
4525
+ const Pr = (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)), ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4526
+ function Go(e, t) {
4527
+ const r = window.navigator.userAgent;
4528
+ return Pr(r) ? t = e.filter((n) => {
4529
+ if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4530
+ return n;
4531
+ }) : t = e.filter((n) => {
4532
+ if (n.gameModel && n.gameModel.platform.includes("PC"))
4533
+ return n;
4534
4534
  }), t;
4535
4535
  }
4536
- function Gs(e, t) {
4537
- return new Promise((n, r) => {
4536
+ function Fo(e, t) {
4537
+ return new Promise((r, n) => {
4538
4538
  const i = new Headers();
4539
4539
  i.append("X-SessionID", t);
4540
- const s = {
4540
+ const o = {
4541
4541
  method: "GET",
4542
4542
  headers: i
4543
4543
  };
4544
- fetch(`${e}/v1/player/session/player`, s).then((a) => a.json()).then((a) => n(a)).catch((a) => r(a));
4544
+ fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4545
4545
  });
4546
4546
  }
4547
4547
  function Nt(e, t) {
4548
- wn(e, t);
4548
+ xr(e, t);
4549
4549
  }
4550
- function fs(e) {
4551
- se.set(e);
4550
+ function co(e) {
4551
+ oe.set(e);
4552
4552
  }
4553
4553
  const Mt = {
4554
4554
  en: {
@@ -4572,51 +4572,51 @@ const Mt = {
4572
4572
  };
4573
4573
  if (typeof window < "u") {
4574
4574
  let e = function(t) {
4575
- return function(...n) {
4575
+ return function(...r) {
4576
4576
  try {
4577
- return t.apply(this, n);
4578
- } catch (r) {
4579
- if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
4577
+ return t.apply(this, r);
4578
+ } catch (n) {
4579
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
4580
4580
  return !1;
4581
- throw r;
4581
+ throw n;
4582
4582
  }
4583
4583
  };
4584
4584
  };
4585
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-D3u4HZe8.js").then(({ default: t }) => {
4585
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-B7hChP4v.js").then(({ default: t }) => {
4586
4586
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4587
4587
  });
4588
4588
  }
4589
4589
  if (typeof window < "u") {
4590
4590
  let e = function(t) {
4591
- return function(...n) {
4591
+ return function(...r) {
4592
4592
  try {
4593
- return t.apply(this, n);
4594
- } catch (r) {
4595
- if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
4593
+ return t.apply(this, r);
4594
+ } catch (n) {
4595
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
4596
4596
  return !1;
4597
- throw r;
4597
+ throw n;
4598
4598
  }
4599
4599
  };
4600
4600
  };
4601
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-C0cqN7uc.js").then(({ default: t }) => {
4601
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BNNa1Jdv.js").then(({ default: t }) => {
4602
4602
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4603
4603
  });
4604
4604
  }
4605
- function cs(e) {
4606
- Rn(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{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-1bqenf9{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-1bqenf9{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-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4605
+ function fo(e) {
4606
+ Mr(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{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-1bqenf9{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-1bqenf9{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-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4607
4607
  }.LoadingSpinner.svelte-1bqenf9: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-1bqenf9-LoadingSpinner 1.2s linear infinite}@keyframes svelte-1bqenf9-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4608
4608
  }
4609
- function Rt(e, t, n) {
4610
- const r = e.slice();
4611
- return r[26] = t[n], r[28] = n, r;
4609
+ function Rt(e, t, r) {
4610
+ const n = e.slice();
4611
+ return n[26] = t[r], n[28] = r, n;
4612
4612
  }
4613
- function ds(e) {
4614
- let t, n, r, i = dt(
4613
+ function po(e) {
4614
+ let t, r, n, i = dt(
4615
4615
  /*calendarCollections*/
4616
4616
  e[5]
4617
- ), s = [];
4618
- for (let o = 0; o < i.length; o += 1)
4619
- s[o] = $t(Rt(e, i, o));
4617
+ ), o = [];
4618
+ for (let s = 0; s < i.length; s += 1)
4619
+ o[s] = $t(Rt(e, i, s));
4620
4620
  let a = (
4621
4621
  /*calendarModalOpened*/
4622
4622
  e[10] == !0 && Dt(e)
@@ -4624,74 +4624,74 @@ function ds(e) {
4624
4624
  return {
4625
4625
  c() {
4626
4626
  t = R("div");
4627
- for (let o = 0; o < s.length; o += 1)
4628
- s[o].c();
4629
- n = Gn(), a && a.c(), X(t, "class", r = "CasinoCalendarItem " + /*mobileView*/
4627
+ for (let s = 0; s < o.length; s += 1)
4628
+ o[s].c();
4629
+ r = Ur(), a && a.c(), X(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4630
4630
  (e[9] ? "Mobile" : "") + " svelte-1bqenf9");
4631
4631
  },
4632
- m(o, l) {
4633
- V(o, t, l);
4634
- for (let u = 0; u < s.length; u += 1)
4635
- s[u] && s[u].m(t, null);
4636
- pe(t, n), a && a.m(t, null);
4632
+ m(s, l) {
4633
+ V(s, t, l);
4634
+ for (let u = 0; u < o.length; u += 1)
4635
+ o[u] && o[u].m(t, null);
4636
+ pe(t, r), a && a.m(t, null);
4637
4637
  },
4638
- p(o, l) {
4638
+ p(s, l) {
4639
4639
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, translationurl*/
4640
4640
  47) {
4641
4641
  i = dt(
4642
4642
  /*calendarCollections*/
4643
- o[5]
4643
+ s[5]
4644
4644
  );
4645
4645
  let u;
4646
4646
  for (u = 0; u < i.length; u += 1) {
4647
- const h = Rt(o, i, u);
4648
- s[u] ? s[u].p(h, l) : (s[u] = $t(h), s[u].c(), s[u].m(t, n));
4647
+ const h = Rt(s, i, u);
4648
+ o[u] ? o[u].p(h, l) : (o[u] = $t(h), o[u].c(), o[u].m(t, r));
4649
4649
  }
4650
- for (; u < s.length; u += 1)
4651
- s[u].d(1);
4652
- s.length = i.length;
4650
+ for (; u < o.length; u += 1)
4651
+ o[u].d(1);
4652
+ o.length = i.length;
4653
4653
  }
4654
4654
  /*calendarModalOpened*/
4655
- o[10] == !0 ? a ? a.p(o, l) : (a = Dt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4656
- 512 && r !== (r = "CasinoCalendarItem " + /*mobileView*/
4657
- (o[9] ? "Mobile" : "") + " svelte-1bqenf9") && X(t, "class", r);
4655
+ s[10] == !0 ? a ? a.p(s, l) : (a = Dt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4656
+ 512 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4657
+ (s[9] ? "Mobile" : "") + " svelte-1bqenf9") && X(t, "class", n);
4658
4658
  },
4659
- d(o) {
4660
- o && $(t), Dn(s, o), a && a.d();
4659
+ d(s) {
4660
+ s && $(t), $r(o, s), a && a.d();
4661
4661
  }
4662
4662
  };
4663
4663
  }
4664
- function ps(e) {
4664
+ function mo(e) {
4665
4665
  let t;
4666
4666
  return {
4667
4667
  c() {
4668
4668
  t = R("div"), X(t, "class", "LoadingSpinner svelte-1bqenf9");
4669
4669
  },
4670
- m(n, r) {
4671
- V(n, t, r);
4670
+ m(r, n) {
4671
+ V(r, t, n);
4672
4672
  },
4673
4673
  p: B,
4674
- d(n) {
4675
- n && $(t);
4674
+ d(r) {
4675
+ r && $(t);
4676
4676
  }
4677
4677
  };
4678
4678
  }
4679
- function ms(e) {
4680
- let t, n = (
4679
+ function bo(e) {
4680
+ let t, r = (
4681
4681
  /*$_*/
4682
4682
  e[11]("error") + ""
4683
- ), r;
4683
+ ), n;
4684
4684
  return {
4685
4685
  c() {
4686
- t = R("p"), r = ot(n), X(t, "class", "SearchLoading");
4686
+ t = R("p"), n = st(r), X(t, "class", "SearchLoading");
4687
4687
  },
4688
- m(i, s) {
4689
- V(i, t, s), pe(t, r);
4688
+ m(i, o) {
4689
+ V(i, t, o), pe(t, n);
4690
4690
  },
4691
- p(i, s) {
4692
- s & /*$_*/
4693
- 2048 && n !== (n = /*$_*/
4694
- i[11]("error") + "") && jn(r, n);
4691
+ p(i, o) {
4692
+ o & /*$_*/
4693
+ 2048 && r !== (r = /*$_*/
4694
+ i[11]("error") + "") && Fr(n, r);
4695
4695
  },
4696
4696
  d(i) {
4697
4697
  i && $(t);
@@ -4699,13 +4699,13 @@ function ms(e) {
4699
4699
  };
4700
4700
  }
4701
4701
  function $t(e) {
4702
- let t, n, r, i, s, a;
4702
+ let t, r, n, i, o, a;
4703
4703
  return {
4704
4704
  c() {
4705
- t = R("casino-calendar-daily-item"), y(t, "dailybackground", n = /*dailyCalendarData*/
4706
- e[26].dailyBackground), y(t, "dailyicon", r = /*dailyCalendarData*/
4705
+ t = R("casino-calendar-daily-item"), y(t, "dailybackground", r = /*dailyCalendarData*/
4706
+ e[26].dailyBackground), y(t, "dailyicon", n = /*dailyCalendarData*/
4707
4707
  e[26].dailyIcon), y(t, "dailyday", i = /*dailyCalendarData*/
4708
- e[26].dailyDay), y(t, "dailydescription", s = /*dailyCalendarData*/
4708
+ e[26].dailyDay), y(t, "dailydescription", o = /*dailyCalendarData*/
4709
4709
  e[26].dailyDescription), y(t, "dailybuttontitle", a = /*dailyCalendarData*/
4710
4710
  e[26].dailyButtonTitle), y(
4711
4711
  t,
@@ -4734,156 +4734,156 @@ function $t(e) {
4734
4734
  e[3]
4735
4735
  );
4736
4736
  },
4737
- m(o, l) {
4738
- V(o, t, l);
4737
+ m(s, l) {
4738
+ V(s, t, l);
4739
4739
  },
4740
- p(o, l) {
4740
+ p(s, l) {
4741
4741
  l & /*calendarCollections*/
4742
- 32 && n !== (n = /*dailyCalendarData*/
4743
- o[26].dailyBackground) && y(t, "dailybackground", n), l & /*calendarCollections*/
4744
4742
  32 && r !== (r = /*dailyCalendarData*/
4745
- o[26].dailyIcon) && y(t, "dailyicon", r), l & /*calendarCollections*/
4743
+ s[26].dailyBackground) && y(t, "dailybackground", r), l & /*calendarCollections*/
4744
+ 32 && n !== (n = /*dailyCalendarData*/
4745
+ s[26].dailyIcon) && y(t, "dailyicon", n), l & /*calendarCollections*/
4746
4746
  32 && i !== (i = /*dailyCalendarData*/
4747
- o[26].dailyDay) && y(t, "dailyday", i), l & /*calendarCollections*/
4748
- 32 && s !== (s = /*dailyCalendarData*/
4749
- o[26].dailyDescription) && y(t, "dailydescription", s), l & /*calendarCollections*/
4747
+ s[26].dailyDay) && y(t, "dailyday", i), l & /*calendarCollections*/
4748
+ 32 && o !== (o = /*dailyCalendarData*/
4749
+ s[26].dailyDescription) && y(t, "dailydescription", o), l & /*calendarCollections*/
4750
4750
  32 && a !== (a = /*dailyCalendarData*/
4751
- o[26].dailyButtonTitle) && y(t, "dailybuttontitle", a), l & /*lang*/
4751
+ s[26].dailyButtonTitle) && y(t, "dailybuttontitle", a), l & /*lang*/
4752
4752
  1 && y(
4753
4753
  t,
4754
4754
  "lang",
4755
4755
  /*lang*/
4756
- o[0]
4756
+ s[0]
4757
4757
  ), l & /*clientstyling*/
4758
4758
  2 && y(
4759
4759
  t,
4760
4760
  "clientstyling",
4761
4761
  /*clientstyling*/
4762
- o[1]
4762
+ s[1]
4763
4763
  ), l & /*clientstylingurl*/
4764
4764
  4 && y(
4765
4765
  t,
4766
4766
  "clientstylingurl",
4767
4767
  /*clientstylingurl*/
4768
- o[2]
4768
+ s[2]
4769
4769
  ), l & /*translationurl*/
4770
4770
  8 && y(
4771
4771
  t,
4772
4772
  "translationurl",
4773
4773
  /*translationurl*/
4774
- o[3]
4774
+ s[3]
4775
4775
  );
4776
4776
  },
4777
- d(o) {
4778
- o && $(t);
4777
+ d(s) {
4778
+ s && $(t);
4779
4779
  }
4780
4780
  };
4781
4781
  }
4782
4782
  function Dt(e) {
4783
- let t, n, r, i, s, a, o, l;
4783
+ let t, r, n, i, o, a, s, l;
4784
4784
  return {
4785
4785
  c() {
4786
- t = R("div"), n = R("casino-calendar-daily-details"), y(n, "dailybackground", r = /*calendarCollections*/
4786
+ t = R("div"), r = R("casino-calendar-daily-details"), y(r, "dailybackground", n = /*calendarCollections*/
4787
4787
  e[5][
4788
4788
  /*selectedIndex*/
4789
4789
  e[6]
4790
- ].dailyBackground), y(n, "dailybuttontitle", i = /*calendarCollections*/
4790
+ ].dailyBackground), y(r, "dailybuttontitle", i = /*calendarCollections*/
4791
4791
  e[5][
4792
4792
  /*selectedIndex*/
4793
4793
  e[6]
4794
- ].dailyButtonTitle), y(n, "dailyday", s = /*calendarCollections*/
4794
+ ].dailyButtonTitle), y(r, "dailyday", o = /*calendarCollections*/
4795
4795
  e[5][
4796
4796
  /*selectedIndex*/
4797
4797
  e[6]
4798
- ].dailyDay), y(n, "dailydescription", a = /*calendarCollections*/
4798
+ ].dailyDay), y(r, "dailydescription", a = /*calendarCollections*/
4799
4799
  e[5][
4800
4800
  /*selectedIndex*/
4801
4801
  e[6]
4802
- ].dailyDescription), y(n, "dailyicon", o = /*calendarCollections*/
4802
+ ].dailyDescription), y(r, "dailyicon", s = /*calendarCollections*/
4803
4803
  e[5][
4804
4804
  /*selectedIndex*/
4805
4805
  e[6]
4806
- ].dailyIcon), y(n, "dailytitle", l = /*calendarCollections*/
4806
+ ].dailyIcon), y(r, "dailytitle", l = /*calendarCollections*/
4807
4807
  e[5][
4808
4808
  /*selectedIndex*/
4809
4809
  e[6]
4810
4810
  ].dailyTitle), y(
4811
- n,
4811
+ r,
4812
4812
  "lang",
4813
4813
  /*lang*/
4814
4814
  e[0]
4815
4815
  ), y(
4816
- n,
4816
+ r,
4817
4817
  "clientstyling",
4818
4818
  /*clientstyling*/
4819
4819
  e[1]
4820
4820
  ), y(
4821
- n,
4821
+ r,
4822
4822
  "clientstylingurl",
4823
4823
  /*clientstylingurl*/
4824
4824
  e[2]
4825
4825
  ), y(
4826
- n,
4826
+ r,
4827
4827
  "translationurl",
4828
4828
  /*translationurl*/
4829
4829
  e[3]
4830
4830
  ), X(t, "class", "CalendarDetailsWrapper svelte-1bqenf9");
4831
4831
  },
4832
4832
  m(u, h) {
4833
- V(u, t, h), pe(t, n);
4833
+ V(u, t, h), pe(t, r);
4834
4834
  },
4835
4835
  p(u, h) {
4836
4836
  h & /*calendarCollections, selectedIndex*/
4837
- 96 && r !== (r = /*calendarCollections*/
4837
+ 96 && n !== (n = /*calendarCollections*/
4838
4838
  u[5][
4839
4839
  /*selectedIndex*/
4840
4840
  u[6]
4841
- ].dailyBackground) && y(n, "dailybackground", r), h & /*calendarCollections, selectedIndex*/
4841
+ ].dailyBackground) && y(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4842
4842
  96 && i !== (i = /*calendarCollections*/
4843
4843
  u[5][
4844
4844
  /*selectedIndex*/
4845
4845
  u[6]
4846
- ].dailyButtonTitle) && y(n, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4847
- 96 && s !== (s = /*calendarCollections*/
4846
+ ].dailyButtonTitle) && y(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4847
+ 96 && o !== (o = /*calendarCollections*/
4848
4848
  u[5][
4849
4849
  /*selectedIndex*/
4850
4850
  u[6]
4851
- ].dailyDay) && y(n, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4851
+ ].dailyDay) && y(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4852
4852
  96 && a !== (a = /*calendarCollections*/
4853
4853
  u[5][
4854
4854
  /*selectedIndex*/
4855
4855
  u[6]
4856
- ].dailyDescription) && y(n, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4857
- 96 && o !== (o = /*calendarCollections*/
4856
+ ].dailyDescription) && y(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4857
+ 96 && s !== (s = /*calendarCollections*/
4858
4858
  u[5][
4859
4859
  /*selectedIndex*/
4860
4860
  u[6]
4861
- ].dailyIcon) && y(n, "dailyicon", o), h & /*calendarCollections, selectedIndex*/
4861
+ ].dailyIcon) && y(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4862
4862
  96 && l !== (l = /*calendarCollections*/
4863
4863
  u[5][
4864
4864
  /*selectedIndex*/
4865
4865
  u[6]
4866
- ].dailyTitle) && y(n, "dailytitle", l), h & /*lang*/
4866
+ ].dailyTitle) && y(r, "dailytitle", l), h & /*lang*/
4867
4867
  1 && y(
4868
- n,
4868
+ r,
4869
4869
  "lang",
4870
4870
  /*lang*/
4871
4871
  u[0]
4872
4872
  ), h & /*clientstyling*/
4873
4873
  2 && y(
4874
- n,
4874
+ r,
4875
4875
  "clientstyling",
4876
4876
  /*clientstyling*/
4877
4877
  u[1]
4878
4878
  ), h & /*clientstylingurl*/
4879
4879
  4 && y(
4880
- n,
4880
+ r,
4881
4881
  "clientstylingurl",
4882
4882
  /*clientstylingurl*/
4883
4883
  u[2]
4884
4884
  ), h & /*translationurl*/
4885
4885
  8 && y(
4886
- n,
4886
+ r,
4887
4887
  "translationurl",
4888
4888
  /*translationurl*/
4889
4889
  u[3]
@@ -4894,46 +4894,46 @@ function Dt(e) {
4894
4894
  }
4895
4895
  };
4896
4896
  }
4897
- function bs(e) {
4897
+ function yo(e) {
4898
4898
  let t;
4899
- function n(s, a) {
4899
+ function r(o, a) {
4900
4900
  if (
4901
4901
  /*hasErrors*/
4902
- s[8]
4903
- ) return ms;
4902
+ o[8]
4903
+ ) return bo;
4904
4904
  if (
4905
4905
  /*isLoading*/
4906
- s[7]
4907
- ) return ps;
4906
+ o[7]
4907
+ ) return mo;
4908
4908
  if (
4909
4909
  /*calendarCollections*/
4910
- s[5]?.length
4911
- ) return ds;
4910
+ o[5]?.length
4911
+ ) return po;
4912
4912
  }
4913
- let r = n(e), i = r && r(e);
4913
+ let n = r(e), i = n && n(e);
4914
4914
  return {
4915
4915
  c() {
4916
4916
  t = R("div"), i && i.c();
4917
4917
  },
4918
- m(s, a) {
4919
- V(s, t, a), i && i.m(t, null), e[15](t);
4918
+ m(o, a) {
4919
+ V(o, t, a), i && i.m(t, null), e[15](t);
4920
4920
  },
4921
- p(s, [a]) {
4922
- r === (r = n(s)) && i ? i.p(s, a) : (i && i.d(1), i = r && r(s), i && (i.c(), i.m(t, null)));
4921
+ p(o, [a]) {
4922
+ n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4923
4923
  },
4924
4924
  i: B,
4925
4925
  o: B,
4926
- d(s) {
4927
- s && $(t), i && i.d(), e[15](null);
4926
+ d(o) {
4927
+ o && $(t), i && i.d(), e[15](null);
4928
4928
  }
4929
4929
  };
4930
4930
  }
4931
- function ys(e, t, n) {
4932
- let r;
4933
- Ln(e, ls, (b) => n(11, r = b));
4934
- let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, f, c, p = 0, d = !0, m = !1, E = !1, S = window.navigator.userAgent, H = !1;
4931
+ function go(e, t, r) {
4932
+ let n;
4933
+ Cr(e, lo, (b) => r(11, n = b));
4934
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, c, f, p = 0, d = !0, m = !1, E = !1, S = window.navigator.userAgent, H = !1;
4935
4935
  const T = () => {
4936
- fs(o);
4936
+ co(s);
4937
4937
  };
4938
4938
  Object.keys(Mt).forEach((b) => {
4939
4939
  Nt(b, Mt[b]);
@@ -4949,21 +4949,21 @@ function ys(e, t, n) {
4949
4949
  console.log(I);
4950
4950
  });
4951
4951
  }, P = () => {
4952
- n(7, d = !0);
4953
- let b = new URL(`${i}/${o}/daily-calendar`);
4954
- b.searchParams.append("userRoles", a), b.searchParams.append("env", s);
4955
- let I = hs(S);
4952
+ r(7, d = !0);
4953
+ let b = new URL(`${i}/${s}/daily-calendar`);
4954
+ b.searchParams.append("userRoles", a), b.searchParams.append("env", o);
4955
+ let I = ho(S);
4956
4956
  I && (I === "PC" ? b.searchParams.append("device", "dk") : I === "iPad" || I === "iPhone" ? b.searchParams.append("device", "ios") : b.searchParams.append("device", "mtWeb")), fetch(b.href).then((M) => M.json()).then((M) => {
4957
- n(5, c = M);
4957
+ r(5, f = M);
4958
4958
  }).catch((M) => {
4959
- console.log(M), n(8, m = !0);
4959
+ console.log(M), r(8, m = !0);
4960
4960
  }).finally(() => {
4961
- n(7, d = !1);
4961
+ r(7, d = !1);
4962
4962
  });
4963
4963
  }, C = () => {
4964
4964
  P();
4965
4965
  }, x = (b) => {
4966
- b.data && b.data.type == "OpenCalendar" && (n(6, p = b.data.index), n(10, H = !0), window.postMessage(
4966
+ b.data && b.data.type == "OpenCalendar" && (r(6, p = b.data.index), r(10, H = !0), window.postMessage(
4967
4967
  {
4968
4968
  type: "ShowModal",
4969
4969
  selectedIndex: p,
@@ -4972,17 +4972,17 @@ function ys(e, t, n) {
4972
4972
  window.location.href
4973
4973
  ), window.postMessage({
4974
4974
  type: "DailyEventsData",
4975
- data: c[p]?.dailyEvents
4976
- })), b.data && b.data.type == "ModalClosed" && n(10, H = !1);
4975
+ data: f[p]?.dailyEvents
4976
+ })), b.data && b.data.type == "ModalClosed" && r(10, H = !1);
4977
4977
  }, L = () => {
4978
4978
  let b = document.createElement("style");
4979
- b.innerHTML = l, f.appendChild(b);
4979
+ b.innerHTML = l, c.appendChild(b);
4980
4980
  }, N = () => {
4981
4981
  let b = new URL(u), I = document.createElement("style");
4982
4982
  fetch(b.href).then((M) => M.text()).then((M) => {
4983
4983
  I.innerHTML = M, setTimeout(
4984
4984
  () => {
4985
- f.appendChild(I);
4985
+ c.appendChild(I);
4986
4986
  },
4987
4987
  1
4988
4988
  ), setTimeout(
@@ -4992,49 +4992,49 @@ function ys(e, t, n) {
4992
4992
  );
4993
4993
  });
4994
4994
  };
4995
- Qn(() => (window.addEventListener("message", x, !1), An(S) && n(9, E = !0), () => {
4995
+ Zr(() => (window.addEventListener("message", x, !1), Pr(S) && r(9, E = !0), () => {
4996
4996
  window.removeEventListener("message", x);
4997
4997
  }));
4998
4998
  function z(b) {
4999
4999
  ke[b ? "unshift" : "push"](() => {
5000
- f = b, n(4, f);
5000
+ c = b, r(4, c);
5001
5001
  });
5002
5002
  }
5003
5003
  return e.$$set = (b) => {
5004
- "cmsendpoint" in b && n(12, i = b.cmsendpoint), "env" in b && n(13, s = b.env), "userroles" in b && n(14, a = b.userroles), "lang" in b && n(0, o = b.lang), "clientstyling" in b && n(1, l = b.clientstyling), "clientstylingurl" in b && n(2, u = b.clientstylingurl), "translationurl" in b && n(3, h = b.translationurl);
5004
+ "cmsendpoint" in b && r(12, i = b.cmsendpoint), "env" in b && r(13, o = b.env), "userroles" in b && r(14, a = b.userroles), "lang" in b && r(0, s = b.lang), "clientstyling" in b && r(1, l = b.clientstyling), "clientstylingurl" in b && r(2, u = b.clientstylingurl), "translationurl" in b && r(3, h = b.translationurl);
5005
5005
  }, e.$$.update = () => {
5006
5006
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
5007
- 28673 && i && o && s && a && C(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5008
- 18 && l && f && L(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5009
- 20 && u && f && N(), e.$$.dirty & /*lang*/
5010
- 1 && o && T(), e.$$.dirty & /*lang, translationurl*/
5011
- 9 && o && h && O();
5007
+ 28673 && i && s && o && a && C(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5008
+ 18 && l && c && L(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5009
+ 20 && u && c && N(), e.$$.dirty & /*lang*/
5010
+ 1 && s && T(), e.$$.dirty & /*lang, translationurl*/
5011
+ 9 && s && h && O();
5012
5012
  }, [
5013
- o,
5013
+ s,
5014
5014
  l,
5015
5015
  u,
5016
5016
  h,
5017
- f,
5018
5017
  c,
5018
+ f,
5019
5019
  p,
5020
5020
  d,
5021
5021
  m,
5022
5022
  E,
5023
5023
  H,
5024
- r,
5024
+ n,
5025
5025
  i,
5026
- s,
5026
+ o,
5027
5027
  a,
5028
5028
  z
5029
5029
  ];
5030
5030
  }
5031
- class Bn extends or {
5031
+ class Ar extends sn {
5032
5032
  constructor(t) {
5033
- super(), ir(
5033
+ super(), nn(
5034
5034
  this,
5035
5035
  t,
5036
- ys,
5037
- bs,
5036
+ go,
5037
+ yo,
5038
5038
  Gt,
5039
5039
  {
5040
5040
  cmsendpoint: 12,
@@ -5045,7 +5045,7 @@ class Bn extends or {
5045
5045
  clientstylingurl: 2,
5046
5046
  translationurl: 3
5047
5047
  },
5048
- cs
5048
+ fo
5049
5049
  );
5050
5050
  }
5051
5051
  get cmsendpoint() {
@@ -5091,68 +5091,68 @@ class Bn extends or {
5091
5091
  this.$$set({ translationurl: t }), D();
5092
5092
  }
5093
5093
  }
5094
- sr(Bn, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5095
- const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5094
+ on(Ar, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5095
+ const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5096
5096
  __proto__: null,
5097
- default: Bn
5097
+ default: Ar
5098
5098
  }, Symbol.toStringTag, { value: "Module" }));
5099
5099
  export {
5100
- se as $,
5100
+ oe as $,
5101
5101
  ht as A,
5102
- Gn as B,
5102
+ Ur as B,
5103
5103
  ke as C,
5104
- gs as D,
5105
- Un as E,
5106
- Ss as F,
5107
- Ps as G,
5108
- Os as H,
5109
- sr as I,
5110
- ls as J,
5111
- hs as K,
5104
+ _o as D,
5105
+ Dr as E,
5106
+ To as F,
5107
+ Ao as G,
5108
+ Io as H,
5109
+ on as I,
5110
+ lo as J,
5111
+ ho as K,
5112
5112
  y as L,
5113
- ws as M,
5114
- Cs as N,
5115
- As as O,
5113
+ So as M,
5114
+ Lo as N,
5115
+ Bo as O,
5116
5116
  Pe as P,
5117
5117
  k as Q,
5118
- Ts as R,
5119
- or as S,
5118
+ Ho as R,
5119
+ sn as S,
5120
5120
  me as T,
5121
- Hs as U,
5122
- Is as V,
5123
- Gs as W,
5124
- Bs as X,
5125
- Us as Y,
5126
- Ds as Z,
5127
- $s as _,
5128
- wn as a,
5129
- On as a0,
5130
- Rs as a1,
5121
+ Po as U,
5122
+ Co as V,
5123
+ Fo as W,
5124
+ Oo as X,
5125
+ Go as Y,
5126
+ Uo as Z,
5127
+ Do as _,
5128
+ xr as a,
5129
+ Br as a0,
5130
+ $o as a1,
5131
5131
  de as a2,
5132
- Fs as a3,
5133
- Rn as b,
5132
+ jo as a3,
5133
+ Mr as b,
5134
5134
  Zt as c,
5135
5135
  $ as d,
5136
- Ns as e,
5136
+ Mo as e,
5137
5137
  D as f,
5138
- Ls as g,
5138
+ No as g,
5139
5139
  V as h,
5140
- ir as i,
5140
+ nn as i,
5141
5141
  R as j,
5142
- Ln as k,
5143
- An as l,
5144
- jn as m,
5142
+ Cr as k,
5143
+ Pr as l,
5144
+ Fr as m,
5145
5145
  B as n,
5146
- Qn as o,
5146
+ Zr as o,
5147
5147
  pe as p,
5148
- ot as q,
5148
+ st as q,
5149
5149
  X as r,
5150
5150
  Gt as s,
5151
- Ms as t,
5152
- _s as u,
5151
+ Ro as t,
5152
+ vo as u,
5153
5153
  dt as v,
5154
- Dn as w,
5155
- Es as x,
5156
- xs as y,
5157
- vs as z
5154
+ $r as w,
5155
+ xo as x,
5156
+ wo as y,
5157
+ Eo as z
5158
5158
  };